/* ═══════════════ ANNONCEXPRESS V2 — dark 3D edition ═══════════════ */
:root {
  --bg: #0b0f16;
  --bg-2: #101623;
  --panel: #141b2a;
  --panel-2: #1a2336;
  --line: rgba(255, 255, 255, 0.08);
  --text: #eef2f7;
  --muted: #93a0b4;
  --orange: #f97b26;
  --orange-2: #ffab52;
  --orange-glow: rgba(249, 123, 38, 0.35);
  --radius: 20px;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
::selection { background: var(--orange); color: #0b0f16; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -0.02em; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.accent { color: var(--orange); }
.stroke {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--orange);
}

/* ─────────── boutons ─────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.7rem 1.4rem; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn--solid {
  background: linear-gradient(135deg, var(--orange), #ff9a3c);
  color: #14100b;
  box-shadow: 0 8px 30px var(--orange-glow);
}
.btn--solid:hover { transform: translateY(-2px); box-shadow: 0 14px 40px var(--orange-glow); }
.btn--ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: var(--orange); color: var(--orange-2); transform: translateY(-2px); }
.btn--lg { padding: 0.95rem 2rem; font-size: 1.05rem; }

/* ─────────── navbar ─────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; gap: 2.5rem;
  padding: 1rem 4vw;
  transition: background 0.4s, border-color 0.4s, padding 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11, 15, 22, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  padding: 0.6rem 4vw;
}
.nav__brand {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
}
.nav__brand em { font-style: normal; color: var(--orange); }
.nav__logo { width: 34px; height: 34px; filter: drop-shadow(0 0 12px var(--orange-glow)); }
.nav__links { display: flex; gap: 1.8rem; margin-inline: auto; }
.nav__links a {
  font-size: 0.92rem; color: var(--muted);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--orange-2); }
.nav__actions { display: flex; gap: 0.7rem; }
.nav__burger { display: none; }

/* ─────────── hero ─────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 7rem 4vw 4rem;
}
#scene {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}
.no-webgl #scene { display: none; }
.hero__vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 68% 45%, transparent 40%, rgba(11, 15, 22, 0.55) 100%),
    linear-gradient(to bottom, rgba(11, 15, 22, 0.35), transparent 25%, transparent 70%, var(--bg) 98%);
}
.hero__content { position: relative; z-index: 2; max-width: 640px; }
.kicker {
  font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: 0.35em;
  font-size: 0.75rem; color: var(--orange);
  margin-bottom: 1.4rem;
}
.hero__title {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero__sub { color: var(--muted); font-size: 1.1rem; max-width: 480px; margin-bottom: 2.2rem; }
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__note { margin-top: 1.1rem; font-size: 0.85rem; color: var(--muted); }
.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-family: var(--font-display); font-size: 0.7rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--muted);
}
.hero__scroll span {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, transparent, var(--orange));
  animation: drip 2s ease-in-out infinite;
}
@keyframes drip { 0%, 100% { transform: scaleY(0.4); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }

/* ─────────── marquee ─────────── */
.marquee {
  overflow: hidden; white-space: nowrap;
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  padding: 1.1rem 0;
  position: relative; z-index: 2;
}
.marquee__track {
  display: inline-flex; align-items: center; gap: 3rem;
  padding-right: 3rem;
  animation: marquee 30s linear infinite;
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 500;
  color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em;
}
.marquee__track i { color: var(--orange); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ─────────── sections : grands encarts ─────────── */
.section {
  position: relative;
  max-width: 1320px;
  margin: 3.2rem auto;
  padding: 5.5rem clamp(2rem, 5vw, 5rem);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0) 32%),
    var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 32px;
  scroll-margin-top: 96px;
}
.section--narrow { max-width: 900px; }

/* animation des encarts à l'arrivée dans le viewport */
@media (prefers-reduced-motion: no-preference) {
  .section {
    opacity: 0;
    transform: perspective(1200px) translateY(90px) rotateX(6deg) scale(0.965);
    transition: opacity 0.9s ease, transform 1.05s cubic-bezier(0.2, 0.7, 0.2, 1);
    will-change: opacity, transform;
  }
  .section.in { opacity: 1; transform: none; will-change: auto; }
}
.section__head { text-align: center; max-width: 720px; margin: 0 auto 4rem; }
.section__head h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section__sub { color: var(--muted); font-size: 1.05rem; }

/* ─────────── cards 3D (tilt) ─────────── */
.tilt {
  transform-style: preserve-3d;
  will-change: transform;
  transition: box-shadow 0.3s;
}

/* ─────────── étapes ─────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; perspective: 1200px; }
.step {
  position: relative;
  background: linear-gradient(160deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.4rem 2rem 2rem;
  overflow: hidden;
}
.step:hover { box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(249, 123, 38, 0.25); }
.step__num {
  position: absolute; top: 0.6rem; right: 1.2rem;
  font-family: var(--font-display); font-size: 4.6rem; font-weight: 700;
  color: transparent; -webkit-text-stroke: 1px rgba(249, 123, 38, 0.35);
}
.step__icon { font-size: 2rem; margin-bottom: 1.2rem; transform: translateZ(40px); }
.step h3 { font-size: 1.35rem; margin-bottom: 0.7rem; transform: translateZ(30px); }
.step p { color: var(--muted); font-size: 0.95rem; transform: translateZ(20px); }

/* ─────────── fonctionnalités ─────────── */
.grid-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; perspective: 1200px; }
.feat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
}
.feat:hover { box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 24px rgba(249, 123, 38, 0.12); }
.feat h3 { font-size: 1.1rem; margin: 0.9rem 0 0.5rem; transform: translateZ(25px); }
.feat p { color: var(--muted); font-size: 0.9rem; transform: translateZ(15px); }
.tag {
  display: inline-block; padding: 0.2rem 0.7rem; border-radius: 999px;
  font-family: var(--font-display); font-size: 0.7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.tag--inc { background: rgba(110, 231, 183, 0.12); color: #6ee7b7; }
.tag--smart { background: rgba(125, 170, 255, 0.12); color: #7daaff; }
.tag--pro { background: rgba(249, 123, 38, 0.14); color: var(--orange-2); }

/* ─────────── avant / après ─────────── */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; perspective: 1400px; }
.vs {
  border-radius: var(--radius);
  padding: 2.2rem;
  border: 1px solid var(--line);
}
.vs--before { background: var(--bg-2); opacity: 0.92; }
.vs--after {
  background: linear-gradient(165deg, var(--panel-2), var(--panel));
  border-color: rgba(249, 123, 38, 0.4);
  box-shadow: 0 0 60px rgba(249, 123, 38, 0.1);
}
.vs__label {
  font-family: var(--font-display); font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.2em;
}
.vs--before .vs__label { color: var(--muted); }
.vs--after .vs__label { color: var(--orange); }
.vs__title { font-size: 1.25rem; margin: 1.1rem 0 0.6rem; }
.vs--before .vs__title { color: var(--muted); font-style: italic; }
.vs__desc { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.2rem; }
.vs__list { list-style: none; display: grid; gap: 0.5rem; font-size: 0.92rem; }
.vs__list--bad li::before { content: "✕  "; color: #e5484d; }
.vs__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.2rem; }
.vs__tags span {
  background: rgba(249, 123, 38, 0.1); color: var(--orange-2);
  border-radius: 999px; padding: 0.15rem 0.7rem; font-size: 0.8rem;
}
.vs__price { display: flex; align-items: baseline; gap: 0.8rem; margin-bottom: 1rem; }
.vs__price small { color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.7rem; }
.vs__price strong { font-family: var(--font-display); font-size: 2rem; color: var(--orange); }
.vs__result { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; }
.vs__result--bad { color: #e5484d; }
.vs__result--good { color: #6ee7b7; }

/* ─────────── comparer (analyse marché Pro) ─────────── */
.compare { position: relative; border-radius: 24px; }
.compare__panel {
  display: grid; grid-template-columns: 300px 1fr; gap: 1.4rem;
  transition: filter 0.6s ease, opacity 0.6s ease;
}
.compare.is-locked .compare__panel {
  filter: blur(14px) saturate(0.7);
  opacity: 0.55;
  pointer-events: none;
  user-select: none;
}
.compare__side { display: flex; flex-direction: column; gap: 1rem; }
.compare__product {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.3rem;
}
.compare__cat {
  font-family: var(--font-display); font-size: 0.68rem; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--orange);
}
.compare__product h3 { font-size: 1.15rem; margin: 0.5rem 0 0.3rem; }
.compare__product p { color: var(--muted); font-size: 0.85rem; }
.compare__chips { display: grid; gap: 0.7rem; }
.chip {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 1rem;
}
.chip small { color: var(--muted); font-size: 0.78rem; }
.chip strong { font-family: var(--font-display); font-size: 1.05rem; white-space: nowrap; }
.chip--down strong { color: #e5484d; }
.chip--best { border-color: rgba(249, 123, 38, 0.5); background: rgba(249, 123, 38, 0.08); }
.chip--best strong { color: var(--orange-2); }
.compare__chart {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem 1.4rem 0.8rem;
  min-width: 0;
}
.compare__legend {
  display: flex; flex-wrap: wrap; gap: 1.4rem;
  font-size: 0.8rem; color: var(--muted); margin-bottom: 0.8rem;
}
.compare__legend span { display: inline-flex; align-items: center; gap: 0.45rem; }
.compare__legend i {
  width: 10px; height: 10px; border-radius: 50%; display: inline-block;
}
.compare__legend .legend-dash {
  width: 18px; height: 0; border-radius: 0;
  border-top: 2px dashed var(--orange);
}
#priceChart { width: 100%; height: auto; display: block; }
.compare__lock {
  position: absolute; inset: 0; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  opacity: 1; transition: opacity 0.5s ease;
}
.compare:not(.is-locked) .compare__lock { opacity: 0; pointer-events: none; }
.compare__lock-card {
  text-align: center; max-width: 420px; padding: 2.4rem 2rem;
  background: rgba(16, 22, 35, 0.75);
  border: 1px solid rgba(249, 123, 38, 0.35);
  border-radius: 20px;
  backdrop-filter: blur(6px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 50px rgba(249, 123, 38, 0.12);
}
.lock-ico { width: 42px; height: 42px; color: var(--orange); margin-bottom: 0.8rem; }
.compare__lock-card h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.compare__lock-card p { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.4rem; }
.compare__lock-cta { display: flex; flex-direction: column; gap: 0.7rem; align-items: center; }

/* ─────────── stats ─────────── */
.section--stats {
  background:
    radial-gradient(ellipse 55% 90% at 50% 50%, rgba(249, 123, 38, 0.07), transparent),
    var(--bg-2);
}
.stats {
  max-width: 1280px; margin-inline: auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  text-align: center;
}
.stat__num {
  display: block;
  font-family: var(--font-display); font-size: clamp(3rem, 6vw, 4.6rem); font-weight: 700;
  color: var(--orange);
  text-shadow: 0 0 40px var(--orange-glow);
}
.stat__label {
  display: block; font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.85rem;
  margin: 0.6rem 0 0.4rem;
}
.stat p { color: var(--muted); font-size: 0.9rem; max-width: 260px; margin-inline: auto; }

/* ─────────── témoignages ─────────── */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; perspective: 1200px; }
.quote {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}
.quote:hover { box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); }
.quote img {
  width: 84px; height: 84px; border-radius: 50%;
  object-fit: cover; margin: 0 auto 1.2rem;
  border: 2px solid var(--orange);
  box-shadow: 0 0 24px var(--orange-glow);
  transform: translateZ(30px);
}
.quote blockquote { font-size: 1rem; margin-bottom: 1.2rem; transform: translateZ(20px); }
.quote figcaption strong { display: block; font-family: var(--font-display); }
.quote figcaption span { color: var(--muted); font-size: 0.85rem; }

/* ─────────── tarifs ─────────── */
.plans {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem;
  align-items: stretch; perspective: 1400px;
}
.plan {
  display: flex; flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem;
  position: relative;
}
.plan--hot {
  background: linear-gradient(170deg, #1d2537, var(--panel));
  border-color: rgba(249, 123, 38, 0.5);
  box-shadow: 0 0 70px rgba(249, 123, 38, 0.14);
  transform: scale(1.03);
}
.plan__badge {
  position: absolute; top: -0.9rem; left: 50%; translate: -50% 0;
  background: linear-gradient(135deg, var(--orange), #ff9a3c);
  color: #14100b; font-family: var(--font-display); font-weight: 600;
  font-size: 0.75rem; padding: 0.3rem 1rem; border-radius: 999px;
  white-space: nowrap;
}
.plan h3 { font-size: 1.2rem; }
.plan__price { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; margin: 0.8rem 0 1.4rem; }
.plan__price small { font-size: 0.9rem; color: var(--muted); font-weight: 400; margin-left: 0.3rem; }
.plan ul { list-style: none; display: grid; gap: 0.6rem; margin-bottom: 2rem; font-size: 0.92rem; color: var(--muted); }
.plan ul li::before { content: "⚡ "; font-size: 0.8rem; }
.plan .btn { margin-top: auto; }

/* ─────────── FAQ ─────────── */
.faq { display: grid; gap: 0.9rem; }
.faq details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq details[open] { border-color: rgba(249, 123, 38, 0.4); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 1.2rem 1.5rem;
  font-family: var(--font-display); font-weight: 600;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; color: var(--orange); font-size: 1.4rem;
  transition: rotate 0.3s;
}
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 1.5rem 1.3rem; color: var(--muted); font-size: 0.95rem; }

/* ─────────── CTA final ─────────── */
.cta-final {
  position: relative; text-align: center;
  padding: 9rem 4vw;
  overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
}
.cta-final__glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 55% 65% at 50% 100%, rgba(249, 123, 38, 0.18), transparent 70%);
}
.cta-final h2 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  position: relative;
}
.cta-final p { color: var(--muted); max-width: 520px; margin-bottom: 2.2rem; position: relative; }
.cta-final .hero__cta { justify-content: center; position: relative; }

/* ─────────── footer ─────────── */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 4rem 4vw 2rem; }
.footer__cols {
  max-width: 1280px; margin: 0 auto 3rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem;
}
.footer__brand p { color: var(--muted); font-size: 0.9rem; margin-top: 1rem; }
.footer nav { display: grid; gap: 0.55rem; align-content: start; }
.footer h4 {
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--orange); margin-bottom: 0.5rem;
}
.footer nav a { color: var(--muted); font-size: 0.92rem; transition: color 0.2s; }
.footer nav a:hover { color: var(--text); }
.footer__bottom {
  max-width: 1280px; margin-inline: auto;
  border-top: 1px solid var(--line); padding-top: 1.6rem;
  color: var(--muted); font-size: 0.85rem; text-align: center;
}

/* ─────────── marque .com + sélecteur de langue ─────────── */
.nav__tld { color: var(--muted); font-weight: 600; font-size: 0.82em; }
.lang-btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-family: var(--font-display); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.1em;
  padding: 0.5rem 0.8rem; border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}
.lang-btn:hover { color: var(--orange-2); border-color: var(--orange); transform: translateY(-1px); }

/* ─────────── dashboard abonnés ─────────── */
.dash-wrap { max-width: 1100px; margin: 0 auto; padding: 8.5rem 1.5rem 2rem; }
.dash-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.dash-head h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); text-transform: uppercase; }
.dash-head .kicker { margin-bottom: 0.6rem; }
.dash-plan {
  font-family: var(--font-display); font-weight: 600; font-size: 0.85rem;
  color: var(--orange-2);
  border: 1px solid rgba(249, 123, 38, 0.4);
  background: rgba(249, 123, 38, 0.08);
  padding: 0.4rem 1rem; border-radius: 999px;
}
.dash-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-bottom: 1.6rem; }
.kpi {
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px;
  padding: 1.3rem 1.4rem;
}
.kpi small { color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; font-family: var(--font-display); }
.kpi strong { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--orange); margin-top: 0.3rem; }
.kpi span { color: var(--muted); font-size: 0.8rem; }
.dash-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.4rem; align-items: start; }
.dash-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 20px;
  padding: 1.6rem;
}
.dash-card h2 { font-size: 1.05rem; margin-bottom: 1rem; }
.dash-list { list-style: none; display: grid; gap: 0.7rem; }
.dash-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px;
  padding: 0.75rem 1rem; font-size: 0.92rem;
}
.dash-list .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-list .p { font-family: var(--font-display); color: var(--orange-2); white-space: nowrap; }
.dash-list .d { color: var(--muted); font-size: 0.78rem; white-space: nowrap; }
.dash-empty { color: var(--muted); font-size: 0.9rem; text-align: center; padding: 2rem 0; }
.dash-actions { display: grid; gap: 0.8rem; }
.dash-steps { list-style: none; display: grid; gap: 0.8rem; margin-top: 0.4rem; }
.dash-steps li { display: flex; gap: 0.7rem; align-items: baseline; color: var(--muted); font-size: 0.9rem; }
.dash-steps li.done { color: var(--text); }
.dash-steps li.done::before { content: "✓"; color: #6ee7b7; font-weight: 700; }
.dash-steps li:not(.done)::before { content: "○"; color: var(--orange); }
#dashChart { width: 100%; height: auto; display: block; margin-top: 0.4rem; }
.dash-upsell { text-align: center; max-width: 480px; margin: 3rem auto 0; }
@media (max-width: 900px) { .dash-kpis { grid-template-columns: 1fr 1fr; } .dash-grid { grid-template-columns: 1fr; } }

/* ─────────── curseur animé + progression de scroll ─────────── */
.cursor-dot, .cursor-ring, .cursor-glow {
  position: fixed; top: 0; left: 0; z-index: 999;
  pointer-events: none; opacity: 0;
  transition: opacity 0.4s ease;
}
.cursor-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 12px var(--orange), 0 0 30px rgba(249, 123, 38, 0.5);
}
.cursor-ring {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid rgba(249, 123, 38, 0.55);
  transition: opacity 0.4s ease, width 0.25s, height 0.25s, border-color 0.25s, margin 0.25s;
}
.cursor-ring.is-hover {
  width: 58px; height: 58px; margin: -10px 0 0 -10px;
  border-color: rgba(255, 171, 82, 0.9);
  background: rgba(249, 123, 38, 0.06);
}
.cursor-ring.is-press { transform-origin: center; scale: 0.8; }
.cursor-glow {
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 123, 38, 0.14), transparent 65%);
  mix-blend-mode: screen;
}
.scroll-progress {
  position: fixed; top: 0; right: 0; bottom: 0; width: 3px;
  background: rgba(255, 255, 255, 0.05);
  z-index: 200; pointer-events: none;
}
.scroll-progress span {
  display: block; width: 100%; height: 0;
  background: linear-gradient(to bottom, var(--orange-2), var(--orange));
  box-shadow: 0 0 12px var(--orange-glow);
}

/* ─────────── pages secondaires (compte, générer) ─────────── */
.is-hidden { display: none !important; }
.page-sub { min-height: 100vh; display: flex; flex-direction: column; }
.page-sub main { flex: 1; position: relative; z-index: 2; }
.footer--slim { padding: 1.6rem 4vw; margin-top: 4rem; }
.footer--slim .footer__bottom { border: 0; padding: 0; }
.footer--slim a { color: var(--orange-2); }

.auth-wrap {
  max-width: 460px; margin: 0 auto;
  padding: 9rem 1.5rem 3rem;
}
.auth-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 2.6rem 2.4rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}
.auth-card h1 { font-size: 1.8rem; margin: 0.4rem 0 1.6rem; }
.auth-tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem;
  background: var(--bg-2); border-radius: 12px; padding: 0.35rem;
  margin-bottom: 1.6rem;
}
.auth-tab {
  border: 0; background: transparent; color: var(--muted);
  font-family: var(--font-display); font-weight: 600; font-size: 0.92rem;
  padding: 0.6rem; border-radius: 9px; cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
.auth-tab.is-active { background: var(--panel-2); color: var(--text); }
.auth-card form { display: grid; gap: 1.1rem; }
.auth-card label {
  display: grid; gap: 0.4rem;
  font-family: var(--font-display); font-size: 0.85rem; color: var(--muted);
}
.gen-hint { color: var(--muted); font-size: 0.8rem; margin-top: -0.5rem; }
.demo-warn {
  background: rgba(249, 123, 38, 0.12);
  border: 1px solid rgba(249, 123, 38, 0.55);
  color: var(--orange-2);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  line-height: 1.5;
}
.photo-tools { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; margin-top: -0.4rem; }
.photo-tools button, .photo-tools a {
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 600;
  color: var(--orange-2);
  background: none; border: 1px solid var(--line); border-radius: 999px;
  padding: 0.35rem 0.85rem; cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.photo-tools button:hover, .photo-tools a:hover { border-color: var(--orange); color: var(--orange); }
.gen-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.gen-fields:empty { display: none; }
@media (max-width: 640px) { .gen-fields { grid-template-columns: 1fr; } }
.gen-select textarea { resize: vertical; min-height: 74px; font-family: var(--font-body); }
.auth-card input, .gen-select select, .gen-select input, .gen-select textarea {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font-body); font-size: 1rem;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.auth-card input:focus, .gen-select select:focus, .gen-select input:focus, .gen-select textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249, 123, 38, 0.18);
}
.auth-msg { color: var(--orange-2); font-size: 0.88rem; min-height: 1.2em; }
.auth-note { color: var(--muted); font-size: 0.8rem; margin-top: 1.4rem; text-align: center; }
.account-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0;
}
.account-row small { color: var(--muted); }
.account-plans { margin: 1.6rem 0; }
.account-plans h3 { font-size: 1rem; margin-bottom: 0.9rem; }
.account-plan-btns { display: grid; gap: 0.7rem; }
#logoutBtn { width: 100%; margin-top: 0.6rem; }

/* ─────────── générateur ─────────── */
.gen-wrap { max-width: 1100px; margin: 0 auto; padding: 8.5rem 1.5rem 2rem; }
.gen-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.gen-head h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); text-transform: uppercase; margin: 0.5rem 0 1rem; }
.gen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; align-items: start; }
.gen-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.8rem;
  display: grid; gap: 1.2rem;
}
.dropzone {
  position: relative;
  border: 2px dashed rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  min-height: 260px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; overflow: hidden;
  transition: border-color 0.3s, background 0.3s;
}
.dropzone:hover, .dropzone.is-drag {
  border-color: var(--orange);
  background: rgba(249, 123, 38, 0.05);
}
.dropzone__idle { display: grid; justify-items: center; gap: 0.5rem; text-align: center; color: var(--muted); padding: 1.5rem; }
.dropzone__idle svg { width: 44px; height: 44px; color: var(--orange); }
.dropzone__idle strong { color: var(--text); font-family: var(--font-display); }
.dropzone__idle span { font-size: 0.85rem; }
.dropzone__preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gen-select { display: grid; gap: 0.4rem; font-family: var(--font-display); font-size: 0.85rem; color: var(--muted); }
.gen-btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.gen-steps { list-style: none; display: grid; gap: 0.55rem; }
.gen-steps li { color: var(--muted); font-size: 0.9rem; opacity: 0.45; transition: opacity 0.3s, color 0.3s; }
.gen-steps li::before { content: "○ "; color: var(--orange); }
.gen-steps li.is-active { opacity: 1; color: var(--text); }
.gen-steps li.is-active::before { content: "◐ "; }
.gen-steps li.is-done { opacity: 0.8; }
.gen-steps li.is-done::before { content: "● "; }
/* ── toast de remerciement post-abonnement ── */
.ae-toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 90;
  transform: translate(-50%, 20px); opacity: 0;
  background: rgba(17, 22, 32, 0.96); border: 1px solid rgba(249, 123, 38, 0.55);
  color: var(--text); font-size: 0.95rem; line-height: 1.5;
  padding: 0.9rem 1.4rem; border-radius: 999px; max-width: min(92vw, 560px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(249, 123, 38, 0.18);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.5s;
  text-align: center;
}
.ae-toast.is-in { transform: translate(-50%, 0); opacity: 1; }

/* ── Niches du moment (style classement) ── */
.niche-tabs { display: flex; flex-wrap: wrap; gap: 0.55rem; justify-content: center; margin-bottom: 1.1rem; }
.niche-tab {
  background: var(--bg-2); border: 1px solid var(--line); color: var(--muted);
  font: inherit; font-size: 0.88rem; padding: 0.5rem 1.05rem; border-radius: 999px;
  cursor: pointer; transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.niche-tab:hover { border-color: var(--orange); color: var(--text); }
.niche-tab.is-active { background: rgba(249, 123, 38, 0.14); border-color: var(--orange); color: #ffab52; }
.niche-search { display: flex; gap: 0.7rem; max-width: 640px; margin: 0 auto 0.6rem; }
.niche-search input {
  flex: 1; background: var(--bg-2); border: 1px solid var(--line); color: var(--text);
  font: inherit; font-size: 0.92rem; padding: 0.7rem 1rem; border-radius: 12px;
}
.niche-search input:focus { outline: none; border-color: var(--orange); }
.niche-grid {
  list-style: none; padding: 0; margin: 1.6rem 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
  counter-reset: niche;
}
.niche-grid.is-scanning { opacity: 0.35; filter: saturate(0.4); pointer-events: none; transition: opacity 0.3s; }
.niche-card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.25s, border-color 0.25s;
}
.niche-card:hover { transform: translateY(-4px); border-color: rgba(249, 123, 38, 0.5); }
.niche-card__media {
  position: relative; height: 150px; display: grid; place-items: center;
  background: radial-gradient(120% 120% at 30% 20%, rgba(249, 123, 38, 0.16), rgba(13, 17, 25, 0.9)), #0d1119;
}
.niche-card__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.35s;
}
.niche-card__media.has-img img { opacity: 1; }
.niche-card__emoji { font-size: 3.2rem; filter: drop-shadow(0 6px 18px rgba(249, 123, 38, 0.35)); }
.niche-card__rank {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: rgba(11, 15, 22, 0.82); border: 1px solid rgba(249, 123, 38, 0.6);
  color: #ffab52; font-family: var(--font-display); font-weight: 700; font-size: 0.82rem;
  padding: 0.2rem 0.6rem; border-radius: 999px;
}
.niche-card__body { display: grid; gap: 0.65rem; padding: 1rem 1.1rem 1.2rem; align-content: start; }
.niche-card__body h3 { font-size: 1.02rem; }
.niche-card__chips { display: flex; gap: 0.5rem; }
.niche-chip {
  flex: 1; display: grid; gap: 0.1rem; text-align: center;
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 0.4rem 0.3rem;
}
.niche-chip small { color: var(--muted); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.08em; }
.niche-chip strong { font-size: 0.92rem; }
.niche-chip.chip--best { border-color: rgba(249, 123, 38, 0.5); }
.niche-chip.chip--best strong { color: #ffab52; }
.niche-card__hot { font-size: 0.82rem; color: var(--text); }
.niche-card__desc { font-size: 0.85rem; color: var(--muted); }
.niche-card__body .est-badge { justify-self: start; }
@media (max-width: 1000px) { .niche-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) {
  .niche-grid { grid-template-columns: 1fr; }
  .niche-search { flex-direction: column; }
}

/* ── recherche du comparateur ── */
.compare__search { display: flex; gap: 0.6rem; margin-bottom: 1rem; }
.compare__search input {
  flex: 1; min-width: 0; background: var(--bg); border: 1px solid var(--line); color: var(--text);
  font: inherit; font-size: 0.9rem; padding: 0.6rem 0.9rem; border-radius: 12px;
}
.compare__search input:focus { outline: none; border-color: var(--orange); }
.compare__status { font-size: 0.8rem; color: var(--muted); min-height: 1.1em; margin-bottom: 0.6rem; }

.gen-photo { margin: 0; display: grid; gap: 0.6rem; }
.gen-photo img {
  width: 100%; max-height: 300px; object-fit: cover;
  border-radius: 14px; border: 1px solid var(--line);
  background: #0d1119;
}
.gen-photo figcaption { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; justify-content: space-between; }
.gen-photo__acts { display: flex; gap: 0.55rem; }
.gen-photo__acts button, .gen-photo__acts a {
  background: none; border: 1px solid var(--line); color: var(--muted);
  font: inherit; font-size: 0.78rem; padding: 0.3rem 0.7rem; border-radius: 999px;
  cursor: pointer; text-decoration: none; transition: border-color 0.2s, color 0.2s;
}
.gen-photo__acts button:hover, .gen-photo__acts a:hover { border-color: var(--orange); color: var(--orange); }
.gen-besttime {
  font-size: 0.88rem; color: var(--text);
  background: rgba(249, 123, 38, 0.08); border: 1px solid rgba(249, 123, 38, 0.25);
  border-radius: 12px; padding: 0.65rem 0.85rem;
}
.gen-result { min-height: 380px; }
.gen-result__empty {
  display: grid; place-items: center; gap: 0.6rem;
  min-height: 320px; color: var(--muted); text-align: center;
}
.gen-result__empty span { font-size: 2.4rem; }
.gen-result__body { display: grid; gap: 1rem; }
.gen-result__body h3 { font-size: 1.3rem; margin-top: 0.5rem; }
.gen-result__body > p { color: var(--muted); font-size: 0.95rem; white-space: pre-line; line-height: 1.7; }
.gen-range { color: var(--muted); font-size: 0.85rem; }
.gen-specs { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.gen-specs span {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 0.3rem 0.9rem;
  font-size: 0.8rem; color: var(--muted);
}
.gen-specs b { color: var(--text); font-weight: 600; }
.gen-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.gen-note { text-align: center; color: var(--muted); font-size: 0.82rem; margin-top: 2.2rem; }
.gen-publish { display: grid; gap: 0.6rem; border-top: 1px solid var(--line); padding-top: 1.1rem; }
.gen-publish small {
  color: var(--muted); font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem;
}
.gen-publish__btns { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pub-btn {
  font-family: var(--font-display); font-weight: 600; font-size: 0.85rem;
  color: var(--text); background: var(--bg-2);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 0.5rem 1rem; cursor: pointer;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.pub-btn:hover { border-color: var(--orange); color: var(--orange-2); transform: translateY(-1px); }
.pub-btn--main {
  background: linear-gradient(135deg, var(--orange), #ff9a3c);
  color: #14100b; border-color: transparent;
  box-shadow: 0 6px 22px var(--orange-glow);
}
.pub-btn--main:hover { color: #14100b; border-color: transparent; }
@media (max-width: 640px) { .pub-btn { flex: 1 1 45%; text-align: center; } }
@media (max-width: 860px) { .gen-grid { grid-template-columns: 1fr; } }

/* ─────────── estimation ─────────── */
.est-fields { display: grid; grid-template-columns: 2fr 1fr; gap: 1rem; }
.est-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.8rem 0 0.4rem; }
.est-updated {
  display: flex; align-items: center; gap: 0.55rem;
  color: var(--muted); font-size: 0.85rem; margin: 0.7rem 0 1.1rem;
}
.live-dot {
  width: 9px; height: 9px; border-radius: 50%; flex: none;
  background: #6ee7b7; box-shadow: 0 0 10px rgba(110, 231, 183, 0.8);
  animation: livepulse 1.6s infinite;
}
.live-dot--off { background: var(--orange); box-shadow: none; animation: none; }
@keyframes livepulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.est-list { list-style: none; display: grid; gap: 0.8rem; }
.est-list li {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 1rem 1.2rem;
  transition: border-color 0.25s;
}
.est-list li:hover { border-color: rgba(249, 123, 38, 0.4); }
.est-title { font-family: var(--font-display); font-weight: 600; }
a.est-title:hover { color: var(--orange-2); }
.est-meta { display: flex; flex-wrap: wrap; gap: 0.8rem; color: var(--muted); font-size: 0.8rem; margin-top: 0.35rem; align-items: center; }
.est-badge {
  background: rgba(249, 123, 38, 0.12); color: var(--orange-2);
  border-radius: 999px; padding: 0.15rem 0.7rem;
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 600;
}
.est-price { font-family: var(--font-display); font-size: 1.4rem; color: var(--orange); white-space: nowrap; }
#estAdviceCard { margin-top: 1.4rem; }

/* ─────────── menu mobile (burger) ─────────── */
.nav__burger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 42px; height: 42px; flex: none;
  border-radius: 12px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}
.nav__burger span {
  display: block; width: 18px; height: 2px; border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}
body.menu-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(11, 15, 22, 0.96);
  backdrop-filter: blur(18px);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1.3rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
}
body.menu-open .mobile-menu { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--font-display); font-size: 1.45rem; font-weight: 600;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), color 0.2s;
}
.mobile-menu a:hover { color: var(--orange-2); }
body.menu-open .mobile-menu a { opacity: 1; transform: none; }
.mobile-menu__actions { display: grid; gap: 0.9rem; margin-top: 1.6rem; width: min(78vw, 320px); }
.mobile-menu__actions .btn { width: 100%; font-size: 1rem; }
body.menu-open { overflow: hidden; }

/* ─────────── reveals ─────────── */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }
.reveal[data-delay="4"] { transition-delay: 0.48s; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ─────────── responsive ─────────── */
@media (max-width: 1020px) {
  .steps, .grid-feats, .quotes, .plans, .stats { grid-template-columns: 1fr 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .compare__panel { grid-template-columns: 1fr; }
  .compare__chips { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .steps, .grid-feats, .quotes, .plans, .stats, .versus, .footer__cols { grid-template-columns: 1fr; }
  .nav { padding: 0.7rem 4vw; gap: 0.8rem; }
  .nav.scrolled { padding: 0.55rem 4vw; }
  .nav__brand { font-size: 1rem; }
  .nav__logo { width: 28px; height: 28px; }
  .nav__actions { gap: 0.5rem; margin-left: auto; }
  .nav__actions .btn--ghost, .nav__actions .btn--solid { display: none; }
  .plan--hot { transform: none; }
  .section { padding: 3.5rem 1.4rem; margin: 1.6rem 0.8rem; border-radius: 20px; scroll-margin-top: 72px; }
  .hero { align-items: flex-end; padding: 6rem 6vw 4.5rem; }
  .hero__title { font-size: 2.3rem; }
  .hero__sub { font-size: 1rem; }
  .hero__cta .btn--lg { padding: 0.85rem 1.5rem; font-size: 0.98rem; }
  .hero__scroll { display: none; }
  .compare__chips { grid-template-columns: 1fr; }
  .compare__lock-card { margin: 0 1rem; padding: 1.8rem 1.3rem; }
  .cta-final { padding: 6rem 6vw; }
  .est-fields, .est-summary { grid-template-columns: 1fr; }
  .est-list li { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .dash-kpis { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .kpi { padding: 1rem 1.1rem; }
  .kpi strong { font-size: 1.5rem; }
  .dash-wrap, .gen-wrap, .auth-wrap { padding-top: 6.5rem; }
  .footer__cols { gap: 1.8rem; }
  /* nouveaux composants : niches, comparateur, photo résultat */
  .niche-tab { font-size: 0.8rem; padding: 0.42rem 0.85rem; }
  .niche-card__media { height: 170px; }
  .niche-card__chips { flex-wrap: wrap; }
  .gen-photo img { max-height: 220px; }
  .gen-photo figcaption { flex-direction: column; align-items: flex-start; }
  .compare__search { flex-wrap: wrap; }
  .compare__search input { flex: 1 1 100%; }
  .compare__search .btn { flex: 1; }
  .gen-besttime { font-size: 0.84rem; }
}
