/* Landing page Triskell Lanceur */

:root {
  --bg: #0d0f12;
  --bg-2: #14171c;
  --bg-3: #1b1f26;
  --bg-card: #161a20;
  --border: #262b34;
  --border-strong: #353c48;
  --text: #e9e6df;
  --text-dim: #9aa0ab;
  --text-muted: #6b7280;
  --accent: #c9a961;
  --accent-hot: #e0bd6f;
  --accent-shadow: rgba(201, 169, 97, 0.2);
  --green: #6db285;
  --radius: 14px;
  --radius-sm: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hot); }

.muted { color: var(--text-muted); }
.muted.small { font-size: 13px; }
.accent { color: var(--accent); }

/* ============== NAV ============== */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}
.brand:hover { color: var(--text); }
.brand-logo {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 0 6px var(--accent-shadow));
}
.brand-name { font-weight: 700; letter-spacing: 0.3px; }
.brand-sub  { color: var(--accent); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; }

.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: var(--text-dim);
  font-size: 14px;
}
.nav-links a:hover { color: var(--text); }

/* ============== HERO ============== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px 100px;
}

.badge {
  display: inline-block;
  padding: 5px 12px;
  background: var(--accent-shadow);
  color: var(--accent);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 52px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.lede {
  font-size: 18px;
  color: var(--text-dim);
  margin-bottom: 32px;
  max-width: 540px;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 18px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #1a1408;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 6px 20px rgba(201, 169, 97, 0.25);
}
.btn-primary:hover {
  background: var(--accent-hot);
  color: #1a1408;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(201, 169, 97, 0.35);
}
.dl-icon { font-size: 18px; }
.dl-meta { font-size: 11px; color: rgba(26, 20, 8, 0.7); margin-left: 6px; font-weight: 500; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-dim);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.15s;
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.reassurance {
  font-size: 13px;
}

/* Capture d'écran (placeholder si pas d'image) */
.hero-screenshot {
  position: relative;
}

.screen-frame {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  position: relative;
}

.screen-bar {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  background: #0a0c10;
  border-bottom: 1px solid var(--border);
}
.screen-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #2a2f38;
}

.screen-frame img {
  width: 100%;
  display: block;
}

.screen-fallback {
  padding: 40px 24px 28px;
  display: none;
}
.screen-frame.no-screen .screen-fallback { display: block; }

.screen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}
.screen-tile {
  aspect-ratio: 1.6;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent);
  font-size: 22px;
  letter-spacing: 1px;
}
.screen-tile.dim { color: var(--text-muted); border-style: dashed; }

.screen-caption {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ============== SECTIONS ============== */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px;
}

.section-alt {
  background: var(--bg-2);
  max-width: none;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-alt > * { max-width: 1200px; margin-left: auto; margin-right: auto; }

.section h2 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.section-sub {
  font-size: 16px;
  margin-bottom: 40px;
}

/* ============== OUTILS ============== */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.2s;
}
.tool-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.tool-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1f242c, #161a20);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent);
  font-size: 18px;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.tool-card h3 {
  font-size: 17px;
  margin-bottom: 6px;
  letter-spacing: 0.2px;
}

.tool-card p {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 14px;
  line-height: 1.5;
}

.tool-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.tag-available { background: rgba(109, 178, 133, 0.15); color: var(--green); }
.tag-soon      { background: rgba(255, 255, 255, 0.06); color: var(--text-dim); }

.tool-card-dim { opacity: 0.65; border-style: dashed; }

/* ============== COMMENT ÇA MARCHE ============== */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.steps li {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-shadow);
  border: 1px solid var(--accent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 16px;
}

.steps h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.steps p {
  color: var(--text-dim);
  font-size: 14px;
}

/* ============== CTA FINAL ============== */
.section-cta {
  text-align: center;
  padding: 100px 32px;
}
.section-cta h2 { margin-bottom: 28px; }
.section-cta .btn-primary { padding: 16px 36px; font-size: 16px; }
.section-cta p { margin-top: 18px; }

/* ============== FOOTER ============== */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  padding: 28px 32px;
}

.footer-row {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 22px;
}
.footer-links a { color: var(--text-dim); }
.footer-links a:hover { color: var(--accent); }

/* ============== RESPONSIVE ============== */
@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; padding: 60px 24px 70px; }
  .hero h1 { font-size: 38px; }
  .lede { font-size: 16px; }
  .nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .section { padding: 60px 24px; }
  .section h2 { font-size: 26px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 30px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-ghost { justify-content: center; }
}

/* ============== SECTION SMARTSCREEN ============== */
.smartscreen-hint {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}
.smartscreen-hint a {
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-color: rgba(154, 160, 171, 0.3);
  text-underline-offset: 3px;
}
.smartscreen-hint a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.section-smartscreen {
  background: linear-gradient(180deg,
    rgba(201, 169, 97, 0.05) 0%,
    transparent 60%);
  border-top: 1px solid rgba(201, 169, 97, 0.22);
  border-bottom: 1px solid rgba(201, 169, 97, 0.22);
}

.badge-warn {
  background: rgba(201, 169, 97, 0.18);
  color: var(--accent);
  border: 1px solid rgba(201, 169, 97, 0.40);
}

.ss-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: start;
  margin-bottom: 30px;
}

.ss-text h2 {
  font-size: 28px;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.ss-lede {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 14px;
}
.ss-lede strong { color: var(--text); }

.ss-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ss-steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.ss-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-shadow);
  border: 1px solid var(--accent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.ss-steps li strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
  color: var(--text);
}

.ss-trust {
  text-align: center;
  font-size: 13px;
  color: var(--text-dim);
  margin: 0;
}
.ss-trust a {
  color: var(--accent);
}

@media (max-width: 920px) {
  .ss-grid { grid-template-columns: 1fr; gap: 24px; }
  .ss-text h2 { font-size: 22px; }
}
