/* ============================================================
   IMOLEXA — éditorial luxe : ivoire, charbon, champagne
   ============================================================ */

:root {
  --bg: #faf8f4;
  --bg-warm: #f2eee6;
  --bg-card: #ffffff;
  --ink: #1a1917;
  --ink-soft: #3d3a35;
  --muted: #726d64;
  --accent: #a9895a;
  --accent-deep: #8c6f45;
  --line: rgba(26, 25, 23, 0.12);
  --line-soft: rgba(26, 25, 23, 0.07);
  --shadow: 0 24px 60px -24px rgba(26, 25, 23, 0.22);
  --max: 1160px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #fff; }

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--sans); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* ---------- Typo utilitaires ---------- */

.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 22px;
}

.kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--accent);
}

h1, h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.06;
}

h2 { font-size: clamp(34px, 4.6vw, 56px); max-width: 20ch; }

h2 em, h1 em {
  font-style: italic;
  color: var(--accent-deep);
}

.lede {
  margin-top: 20px;
  font-size: 17.5px;
  color: var(--muted);
  max-width: 60ch;
}

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px rgba(140, 111, 69, 0.55);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover { border-color: var(--accent); color: var(--accent-deep); transform: translateY(-2px); }

.btn .arr { transition: transform 0.3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

/* La barre s'efface en descendant, revient en remontant */
.nav.hidden { transform: translateY(-100%); }

.nav.scrolled {
  background: rgba(250, 248, 244, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 10px 40px -20px rgba(26, 25, 23, 0.15);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 13px; }

.logo { width: 30px; height: 30px; flex: none; }

.logo .ring { stroke: var(--accent-deep); }
.logo .tri { fill: var(--ink); stroke: var(--ink); }

.wordmark {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.34em;
}

.wordmark span { color: var(--accent-deep); }

.nav-links { display: flex; gap: 34px; }

.nav-links a {
  position: relative;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 6px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-cta { display: flex; align-items: center; gap: 22px; }

.lang { font-size: 12.5px; color: var(--muted); letter-spacing: 0.08em; white-space: nowrap; }
.lang a:hover, .lang a.active { color: var(--ink); font-weight: 500; }
.lang span { margin: 0 5px; color: var(--line); }

.nav .btn { padding: 11px 24px; font-size: 13px; }

/* Burger + menu mobile */

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-burger span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 78px 0 0 0;
  z-index: 90;
  background: rgba(250, 248, 244, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 34px 28px 40px;
  display: none;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a.m-link {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  color: var(--ink);
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
  opacity: 0;
  transform: translateY(14px);
  animation: menuIn 0.45s var(--ease) forwards;
}

.mobile-menu.open a.m-link:nth-child(1) { animation-delay: 0.03s; }
.mobile-menu.open a.m-link:nth-child(2) { animation-delay: 0.08s; }
.mobile-menu.open a.m-link:nth-child(3) { animation-delay: 0.13s; }
.mobile-menu.open a.m-link:nth-child(4) { animation-delay: 0.18s; }
.mobile-menu.open a.m-link:nth-child(5) { animation-delay: 0.23s; }

@keyframes menuIn { to { opacity: 1; transform: none; } }

.mobile-menu .m-cta {
  margin-top: 28px;
  opacity: 0;
  animation: menuIn 0.45s var(--ease) 0.3s forwards;
}

.mobile-menu .m-cta .btn { width: 100%; justify-content: center; }

.mobile-menu .lang { margin-top: 22px; text-align: center; opacity: 0; animation: menuIn 0.45s var(--ease) 0.36s forwards; }

body.no-scroll { overflow: hidden; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 175px 0 90px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -18%;
  width: 62vw;
  height: 62vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(169, 137, 90, 0.13) 0%, transparent 62%);
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(46px, 5.6vw, 78px);
  max-width: 15ch;
}

.hero .lede { font-size: 18.5px; }

.cta-row { margin-top: 38px; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

.hero-badges {
  margin-top: 46px;
  display: flex;
  gap: 0;
  border-top: 1px solid var(--line-soft);
  max-width: 760px;
}

.hero-badges .badge {
  flex: 1;
  padding: 20px 26px 0 0;
}

.hero-badges .badge + .badge { padding-left: 26px; border-left: 1px solid var(--line-soft); }

.badge b {
  display: block;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  color: var(--ink);
}

.badge small { font-size: 12.5px; color: var(--muted); letter-spacing: 0.04em; }

/* Carte film — panoramique sur desktop, verticale sur mobile */

.hero-visual { position: relative; margin-top: 72px; }

.film-card {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

@media (max-width: 700px) {
  .film-card { aspect-ratio: 9 / 16; max-height: 78svh; margin: 0 auto; }
}

.film-card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.film-placeholder {
  position: absolute;
  inset: -12%;
  background:
    radial-gradient(90% 65% at 68% 22%, rgba(233, 220, 199, 0.9), transparent 58%),
    radial-gradient(80% 60% at 20% 85%, rgba(169, 137, 90, 0.35), transparent 60%),
    linear-gradient(155deg, #2c2a26 0%, #4a453c 45%, #241f1a 100%);
  animation: slowpan 22s ease-in-out infinite alternate;
}

@keyframes slowpan {
  from { transform: scale(1); }
  to   { transform: scale(1.09) translate(-1.6%, 1.2%); }
}

.film-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.9 0 0 0 0 0.85 0 0 0 0 0.75 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

.film-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 34%;
  background: linear-gradient(to top, rgba(15, 12, 8, 0.55), transparent);
  pointer-events: none;
}

.film-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.22);
  z-index: 2;
}

.film-progress i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--accent);
  transition: width 0.2s linear;
}

.film-card .caption {
  z-index: 2;
}

.film-card .corner { z-index: 2; }

.film-card .caption {
  position: absolute;
  left: 22px;
  bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.film-card .corner {
  position: absolute;
  top: 20px;
  right: 22px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 7px 13px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
}

.hero-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.03em;
}

/* Barre d'action flottante (mobile) */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: none;
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-soft);
  transform: translateY(105%);
  transition: transform 0.35s var(--ease);
}

.sticky-cta.show { transform: translateY(0); }

.sticky-cta .btn { width: 100%; justify-content: center; }

@media (max-width: 1000px) {
  .sticky-cta { display: block; }
}

/* CTA après le film */
.reel-cta { margin-top: 34px; text-align: center; }

/* ---------- Marquee ---------- */

.marquee {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 22px 0;
  overflow: hidden;
  background: var(--bg);
}

.marquee-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.marquee span {
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
  color: var(--muted);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 64px;
}

.marquee span::after { content: "·"; color: var(--accent); font-style: normal; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Survol : vidéo pilotée par le défilement ---------- */

.scrub-wrap { position: relative; height: 320vh; }

.scrub-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background: var(--ink);
}

.scrub-sticky canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.scrub-sticky {
  background-image: url("assets/aerial-poster.jpg");
  background-size: cover;
  background-position: center;
}

.scrub-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(to top, rgba(26, 25, 23, 0.66) 0%, transparent 42%);
}

.scrub-copy { width: 100%; padding-bottom: 72px; }

.scrub-copy .kicker { color: var(--accent); }
.scrub-copy .kicker::before { background: var(--accent); }

.scrub-copy h2 { color: #fff; }

.scrub-copy .scrub-sub {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.scrub-copy .scrub-sub::after {
  content: "↓";
  animation: nudge 1.8s ease-in-out infinite;
}

@keyframes nudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ---------- Sections ---------- */

section { padding: 128px 0; }

section.warm { background: var(--bg-warm); }

.sec-head { max-width: 720px; }

/* ---------- Avant / Après (slider) ---------- */

.ba-wrap {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 64px;
  align-items: center;
}

.ba-slider {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: ew-resize;
  user-select: none;
  touch-action: none;
}

.ba-layer { position: absolute; inset: 0; }

/* Même image, deux traitements : la démonstration de l'étalonnage */
.ba-before {
  background: url("assets/compare.jpg") center / cover no-repeat;
  filter: saturate(0.55) contrast(0.88) brightness(1.08);
}

.ba-after {
  background: url("assets/compare.jpg") center / cover no-repeat;
  filter: saturate(1.18) contrast(1.1) brightness(0.97) sepia(0.08);
  clip-path: inset(0 0 0 var(--cut, 50%));
}

.ba-after::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(20, 16, 10, 0.34) 100%);
}

.ba-label {
  position: absolute;
  bottom: 18px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 100px;
  backdrop-filter: blur(6px);
}

.ba-label.before { left: 18px; background: rgba(250, 248, 244, 0.85); color: var(--ink); }
.ba-label.after  { right: 18px; background: rgba(26, 25, 23, 0.65); color: #fff; }

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--cut, 50%);
  width: 2px;
  background: #fff;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.4);
}

.ba-handle::after {
  content: "⟷";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 17px;
  box-shadow: 0 10px 30px -8px rgba(26, 25, 23, 0.45);
}

.ba-copy h3 {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 500;
  line-height: 1.2;
}

.ba-copy p { margin-top: 16px; color: var(--muted); font-size: 15.5px; }

.ba-copy .note {
  margin-top: 26px;
  font-size: 13px;
  color: var(--accent-deep);
  letter-spacing: 0.06em;
}

/* ---------- Pourquoi nous ---------- */

.why-grid {
  margin-top: 68px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 42px 40px 46px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(169, 137, 90, 0.4);
}

.why-card .idx {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--accent-deep);
}

.why-card h3 {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
}

.why-card p { margin-top: 12px; color: var(--muted); font-size: 15px; }

/* ---------- Méthode ---------- */

.method-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: start;
}

.method-side { position: sticky; top: 130px; }

.method-side p { margin-top: 18px; color: var(--muted); font-size: 15.5px; max-width: 38ch; }

.method-side .btn { margin-top: 30px; }

.timeline { position: relative; }

.timeline::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: var(--line);
}

.t-step {
  position: relative;
  padding: 0 0 52px 84px;
}

.t-step:last-child { padding-bottom: 0; }

.timeline::before, .timeline::after { z-index: 0; }

.t-step .dot {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--accent-deep);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}

.t-step:hover .dot { background: var(--ink); color: #fff; border-color: var(--ink); }

.t-step h3 { font-family: var(--serif); font-size: 24px; font-weight: 500; padding-top: 10px; }

.t-step p { margin-top: 10px; color: var(--muted); font-size: 15px; max-width: 52ch; }

/* ---------- Bande citation ---------- */

.band {
  background: var(--ink);
  color: #f5f1ea;
  padding: 120px 0;
  text-align: center;
}

.band blockquote {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.25;
  max-width: 26ch;
  margin: 0 auto;
}

.band .who {
  margin-top: 28px;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------- Formules ---------- */

.plans {
  margin-top: 68px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.plan {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 50px 46px 54px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.plan.featured { border-color: rgba(169, 137, 90, 0.55); }

.plan .flag {
  position: absolute;
  top: -13px;
  left: 44px;
  background: var(--accent-deep);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
}

.plan .name {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

.plan .price {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
}

.plan .price small { font-size: 15px; font-family: var(--sans); color: var(--muted); font-weight: 400; }

.plan ul { margin-top: 30px; list-style: none; }

.plan li {
  display: flex;
  gap: 14px;
  padding: 13px 0;
  font-size: 15px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line-soft);
}

.plan li::before { content: "—"; color: var(--accent); flex: none; }

.plan .btn { margin-top: 34px; width: 100%; justify-content: center; }

.plans-note { margin-top: 30px; font-size: 14px; color: var(--muted); }

/* ---------- Le film complet ---------- */

.reel-card {
  margin-top: 64px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #0c0b09;
}

.reel-card video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
}

.reel-note {
  margin-top: 20px;
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
}

/* ---------- Chiffres du marché ---------- */

.stats-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  overflow: hidden;
}

.stat {
  background: var(--bg-card);
  padding: 50px 42px 46px;
}

.stat .num {
  font-family: var(--serif);
  font-size: clamp(46px, 5vw, 66px);
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
}

.stat .num em { font-style: normal; color: var(--accent-deep); }

.stat p { margin-top: 14px; color: var(--muted); font-size: 14.5px; max-width: 30ch; }

.stats-note { margin-top: 34px; font-size: 15.5px; color: var(--ink-soft); max-width: 62ch; }

.stats-src { margin-top: 14px; font-size: 12px; color: var(--muted); }

/* ---------- La gamme ---------- */

.soon-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  overflow: hidden;
}

.soon {
  background: var(--bg);
  padding: 40px 38px 44px;
}

.soon .tag {
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.soon .tag.now {
  background: var(--ink);
  color: #fff;
  padding: 6px 14px;
  border-radius: 100px;
}

.soon h3 { margin-top: 14px; font-family: var(--serif); font-size: 21px; font-weight: 500; }

.soon p { margin-top: 8px; font-size: 14px; color: var(--muted); }

/* ---------- FAQ ---------- */

.faq-list { margin-top: 56px; max-width: 780px; }

.faq-item { border-bottom: 1px solid var(--line); }

.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 4px;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.3s var(--ease);
}

.faq-q:hover { color: var(--accent-deep); }

.faq-q .plus {
  flex: none;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}

.faq-item.open .plus { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}

.faq-a p {
  padding: 0 4px 28px;
  color: var(--muted);
  font-size: 15.5px;
  max-width: 62ch;
}

/* ---------- Demande de devis (carte claire, épurée) ---------- */

.quote-card {
  margin: 64px auto 0;
  max-width: 860px;
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  padding: 58px 60px 54px;
  box-shadow: 0 30px 70px -40px rgba(26, 25, 23, 0.25);
}

.q-step {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}

.q-step + * { margin-top: 0; }

.q-num {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--accent-deep);
}

.q-step h3 {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
  color: var(--ink);
}

.q-step p { font-size: 13.5px; color: var(--muted); margin-top: 1px; }

.q-block { margin-bottom: 46px; }

.quote-card input,
.quote-card textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 11px 2px 13px;
  font-size: 16.5px;
  font-family: var(--sans);
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s var(--ease);
}

.quote-card input::placeholder { color: #b3ada2; }

.quote-card input:focus,
.quote-card textarea:focus { border-color: var(--accent-deep); }

.link-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.link-item input { flex: 1; }

.link-remove {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: none;
  color: var(--muted);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.link-remove:hover { border-color: var(--accent-deep); color: var(--accent-deep); }

.add-link {
  background: none;
  border: 1px dashed var(--line);
  color: var(--muted);
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 13.5px;
  font-family: var(--sans);
  cursor: pointer;
  margin-top: 4px;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.add-link:hover { border-style: solid; border-color: var(--accent-deep); color: var(--accent-deep); }

.q-grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.q-grid3 label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}

.chip-group { margin-bottom: 26px; }

.chip-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.chips { display: flex; flex-wrap: wrap; gap: 10px; }

.chip { position: relative; }

.chip input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  margin: 0;
}

.chip span {
  display: inline-block;
  padding: 9px 19px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 13.5px;
  color: var(--ink-soft);
  background: transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.chip:hover span { border-color: var(--accent-deep); color: var(--accent-deep); }

.chip input:checked + span {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.q-mode { margin-bottom: 24px; }

.q-pane { display: none; }

.q-pane.active { display: block; animation: itemIn 0.35s var(--ease); }

.pane-hint {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.q-msg-toggle {
  background: none;
  border: none;
  padding: 0;
  margin-top: 26px;
  font-size: 13.5px;
  font-family: var(--sans);
  color: var(--muted);
  cursor: pointer;
  border-bottom: 1px solid var(--line);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.q-msg-toggle:hover { color: var(--accent-deep); border-color: var(--accent-deep); }

.q-msg { display: none; margin-top: 20px; }
.q-msg.open { display: block; }

.quote-card textarea { resize: vertical; min-height: 72px; line-height: 1.5; }

.q-actions {
  margin-top: 44px;
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.q-note { font-size: 13px; color: var(--muted); line-height: 1.7; }

.q-note a { color: var(--accent-deep); border-bottom: 1px solid transparent; }
.q-note a:hover { border-color: var(--accent-deep); }

/* ---------- Footer ---------- */

footer { background: var(--ink); border-top: 1px solid rgba(245, 241, 234, 0.1); padding: 40px 0 48px; }

.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(245, 241, 234, 0.45);
}

.foot .lang a { color: rgba(245, 241, 234, 0.55); }
.foot .lang a.active, .foot .lang a:hover { color: #fff; }

.foot .brand { gap: 11px; }
.foot .logo { width: 24px; height: 24px; }
.foot .logo .ring { stroke: var(--accent); }
.foot .logo .tri { fill: #f5f1ea; stroke: #f5f1ea; }
.foot .wordmark { font-size: 13px; color: #f5f1ea; }

/* ---------- Animations d'apparition ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}

.reveal.in { opacity: 1; transform: none; }

/* Hero : apparition cinématique, du flou au net */
.hero .reveal {
  transform: translateY(34px);
  filter: blur(10px);
  transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease);
  transition-delay: var(--d, 0s);
}

.hero .reveal.in { filter: blur(0); }

/* Pastille sélectionnée : petit rebond */
@keyframes chipPop {
  0% { transform: scale(1); }
  45% { transform: scale(1.07); }
  100% { transform: scale(1); }
}

.chip input:checked + span { animation: chipPop 0.28s var(--ease); }

/* Poignée du slider : invitation au glissement */
@keyframes handleHint {
  0%, 100% { transform: translateX(0); }
  30% { transform: translateX(-14px); }
  70% { transform: translateX(14px); }
}

.ba-slider.in .ba-handle { animation: handleHint 1.6s var(--ease) 0.9s 1; }

/* Timeline : fil doré qui progresse avec le défilement */
.timeline::after {
  content: "";
  position: absolute;
  left: 27px;
  top: 10px;
  width: 1px;
  height: var(--tprog, 0%);
  max-height: calc(100% - 20px);
  background: var(--accent);
  transition: height 0.25s linear;
}

/* Nouvelle annonce : glissement d'entrée */
@keyframes itemIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

.link-item { animation: itemIn 0.35s var(--ease); }

/* Champs en erreur */
.quote-card input.error,
.quote-card textarea.error { border-bottom-color: #b4574a; }

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-3px); }
}

.quote-card input.error { animation: shake 0.35s var(--ease); }

/* Confirmation d'envoi */
.q-success {
  display: none;
  margin-top: 22px;
  padding: 16px 20px;
  border: 1px solid rgba(140, 111, 69, 0.35);
  border-radius: 12px;
  background: rgba(169, 137, 90, 0.07);
  font-size: 14px;
  color: var(--accent-deep);
}

.q-success.show { display: block; animation: itemIn 0.4s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; filter: none !important; }
  .film-placeholder, .film-card, .marquee-track, .ba-handle, .chip input:checked + span, .link-item { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .hero { padding-top: 130px; }
  .hero-visual { margin-top: 52px; }
  .hero h1 { font-size: clamp(40px, 11vw, 58px); }
  .hero .lede { font-size: 16.5px; }
  .cta-row .btn { width: 100%; justify-content: center; }
  .marquee span { font-size: 16px; gap: 40px; }
  .marquee-track { gap: 40px; }
  h2 { font-size: clamp(30px, 7.4vw, 44px); }
  .why-card { padding: 32px 26px 36px; }
  .t-step { padding-left: 72px; padding-bottom: 42px; }
  .plan { padding: 40px 28px 44px; }
  .soon { padding: 30px 24px 34px; }
  .stat { padding: 36px 28px 34px; }
  .band { padding: 90px 0; }
  .scrub-copy { padding-bottom: 56px; }
  .q-actions { flex-direction: column; align-items: stretch; text-align: center; }
  .q-actions .btn { justify-content: center; }
  .faq-q { font-size: 18px; padding: 22px 4px; }
  .foot { flex-direction: column; gap: 18px; text-align: center; }
  .ba-wrap { grid-template-columns: 1fr; gap: 44px; }
  .method-grid { grid-template-columns: 1fr; gap: 48px; }
  .method-side { position: static; }
  .why-grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .soon-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .quote-card { padding: 40px 26px 42px; border-radius: 18px; }
  .q-grid3 { grid-template-columns: 1fr; gap: 22px; }
  section { padding: 96px 0; }
  .hero-badges { flex-direction: column; border-top: none; }
  .hero-badges .badge { padding: 14px 0; border-top: 1px solid var(--line-soft); }
  .hero-badges .badge + .badge { padding-left: 0; border-left: none; }
}
