/* ============================================================
   AUDREY homepage — layout, glass, sections, motion-ready states
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  position: relative;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; padding: 0; }

:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
[hidden] { display: none !important; }

.visually-hidden, .skip-link {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 12px; left: 12px; width: auto; height: auto;
  clip: auto; z-index: 1000; background: var(--coral-deep); color: #fff;
  padding: 10px 16px; border-radius: 10px;
}

/* ---------------- Aurora background layers ---------------- */
#aurora {
  position: fixed; inset: 0; width: 100vw; height: 100svh;
  z-index: -2; display: block; pointer-events: none;
}
#aurora-fallback {
  position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(60vw 50vh at 18% 12%, var(--fb-1), transparent 60%),
    radial-gradient(55vw 50vh at 82% 22%, var(--fb-3), transparent 62%),
    radial-gradient(60vw 60vh at 70% 78%, var(--fb-2), transparent 60%),
    radial-gradient(50vw 50vh at 22% 82%, var(--fb-4), transparent 60%),
    var(--bg);
}
/* show fallback when no webgl / reduced motion / static tier */
.tier-static #aurora { display: none; }
.tier-static #aurora-fallback { z-index: -2; }
.tier-full #aurora-fallback, .tier-calm #aurora-fallback { opacity: 0; }

#grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: 0.05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-reduced-motion: reduce) { #grain { display: none; } }

/* ---------------- Reusable atoms ---------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.kicker {
  font-family: var(--mono); font-size: var(--fs-mono);
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--coral-deep); font-weight: 500; margin-bottom: 1.1rem;
}
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-soft); max-width: 56ch; font-weight: 400; }
.mono { font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: 0.04em; }
.illus { color: var(--ink-muted); font-style: normal; }

.section-title {
  font-size: var(--fs-title); font-weight: 760; line-height: 1.04;
  letter-spacing: -0.03em; color: var(--ink); max-width: 18ch; margin-bottom: 1.4rem;
  font-variation-settings: "wght" 760;
}

.dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: #16a34a; box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5);
  animation: pulse 2.4s var(--ease-out) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.45); }
  70% { box-shadow: 0 0 0 7px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

/* ---------------- Glass ---------------- */
.glass {
  background: var(--glass-flat);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow), var(--glass-inset);
}
html.is-frosted .glass {
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  padding: 0.72em 1.3em; min-height: 44px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 0.98rem; letter-spacing: -0.01em;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.3s, color 0.3s;
  white-space: nowrap;
}
.btn:hover, [data-magnetic] { will-change: transform; }
.btn--lg { padding: 0.92em 1.6em; font-size: 1.05rem; }
.btn--primary {
  background: var(--coral-deep); color: #fff;
  box-shadow: 0 8px 22px -8px rgba(194, 65, 12, 0.55);
}
.btn--primary:hover { background: #a8380a; transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(194, 65, 12, 0.6); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.5); color: var(--ink);
  border: 1px solid var(--hairline-strong);
}
html.is-frosted .btn--ghost { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--coral-deep); color: var(--coral-deep); }

/* ---------------- Chips & bubbles ---------------- */
.chip {
  display: inline-flex; align-items: center; gap: 0.4em;
  padding: 0.4em 0.85em; border-radius: var(--radius-pill);
  font-size: 0.82rem; font-weight: 500; line-height: 1;
}
.chip--ok { background: rgba(22, 163, 74, 0.12); color: #15803d; }
.chip--mail { background: rgba(194, 65, 12, 0.1); color: var(--coral-deep); }

.bubble {
  display: inline-block; max-width: 88%; padding: 0.7em 1em;
  border-radius: 18px; font-size: 0.96rem; line-height: 1.42;
  box-shadow: 0 2px 10px -4px rgba(124, 45, 18, 0.18);
}
.bubble--in {
  background: #fff; color: var(--ink); border-bottom-left-radius: 6px;
  align-self: flex-start; border: 1px solid var(--hairline);
}
.bubble--out {
  background: linear-gradient(135deg, #C2410C, #9A3412); color: #fff;
  border-bottom-right-radius: 6px; align-self: flex-end;
}
.bubble--typing {
  align-self: flex-start; background: #fff; border: 1px solid var(--hairline);
  display: inline-flex; gap: 5px; padding: 0.85em 1em; border-bottom-left-radius: 6px;
}
.bubble--typing i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--ink-muted);
  animation: typing 1.3s ease-in-out infinite;
}
.bubble--typing i:nth-child(2) { animation-delay: 0.18s; }
.bubble--typing i:nth-child(3) { animation-delay: 0.36s; }
@keyframes typing { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

/* ---------------- SMS card ---------------- */
.sms {
  width: min(380px, 100%); border-radius: var(--radius-lg);
  background: var(--glass-flat); border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), var(--glass-inset);
  padding: 1.1rem 1.1rem 1.3rem; display: flex; flex-direction: column;
}
html.is-frosted .sms { background: rgba(255, 253, 250, 0.7); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
.sms__head { display: flex; align-items: center; gap: 0.7rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--hairline); margin-bottom: 1rem; }
.sms__avatar {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--coral), #EA580C); color: #fff;
  font-weight: 700; font-size: 1.2rem; box-shadow: 0 4px 12px -4px rgba(249, 115, 22, 0.6);
}
.sms__id { display: flex; flex-direction: column; line-height: 1.2; }
.sms__name { font-size: 1.02rem; font-weight: 650; }
.sms__sub { display: inline-flex; align-items: center; gap: 0.4em; font-size: 0.78rem; color: var(--ink-muted); }
.sms__body { display: flex; flex-direction: column; gap: 0.6rem; min-height: 230px; }
.sms__meta { font-family: var(--mono); font-size: 0.68rem; color: var(--ink-muted); align-self: flex-end; margin-top: -0.2rem; }
.sms .chip--ok { align-self: flex-end; margin-top: 0.3rem; }

/* ============================================================
   NAV
   ============================================================ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 16px var(--gutter); transition: padding 0.4s var(--ease-out), transform 0.45s var(--ease-out); isolation: isolate; }
.nav__inner {
  max-width: var(--maxw); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.55rem 0.7rem 0.55rem 1rem; border-radius: var(--radius-pill);
  background: var(--glass-flat); border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow); transition: box-shadow 0.4s, background 0.4s, padding 0.4s var(--ease-out);
}
html.is-frosted .nav__inner { background: var(--glass); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
/* Scrolled: the pill condenses and turns SOLID (no translucent glass riding
   over the text underneath). */
.nav.is-scrolled { padding-top: 9px; padding-bottom: 9px; }
.nav.is-scrolled .nav__logo { height: 26px; }
.nav.is-scrolled .nav__inner {
  padding: 0.4rem 0.6rem 0.4rem 0.9rem;
  background: #FDFAF6; border-color: var(--hairline-strong);
  box-shadow: 0 12px 34px -18px rgba(124, 45, 18, 0.30);
}
html.is-frosted .nav.is-scrolled .nav__inner { -webkit-backdrop-filter: none; backdrop-filter: none; background: #FDFAF6; }
/* Auto-hide while reading: JS adds .is-hidden on scroll-down, removes it on
   scroll-up. Never hidden when the mobile menu is open. */
.nav.is-hidden { transform: translateY(-130%); }
.nav.is-open.is-hidden { transform: none; }
.nav__brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.nav__logo { height: 30px; width: auto; transition: height 0.35s var(--ease-out); }
.nav__status { display: inline-flex; align-items: center; gap: 0.4em; font-size: 0.72rem; color: var(--ink-muted); }
@media (max-width: 920px) { .nav__status { display: none; } }
.nav__links { display: flex; gap: 1.5rem; font-size: 0.92rem; font-weight: 500; }
.nav__links a { color: var(--ink-soft); position: relative; padding: 4px 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--coral-deep); transform: scaleX(0); transform-origin: left; transition: transform 0.32s var(--ease-out);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 0.7rem; }

.lang-toggle {
  position: relative; display: inline-flex; padding: 3px;
  background: rgba(124, 45, 18, 0.07); border-radius: var(--radius-pill); font-size: 0.78rem; font-weight: 600;
}
.lang-toggle button { padding: 0.42em 0.78em; min-height: 32px; border-radius: var(--radius-pill); color: var(--ink-muted); position: relative; z-index: 1; transition: color 0.3s; }
.lang-toggle button.is-active { color: #fff; }
.lang-toggle__pill {
  position: absolute; top: 3px; left: 3px; height: calc(100% - 6px); width: calc(50% - 3px);
  background: var(--coral-deep); border-radius: var(--radius-pill); transition: transform 0.4s var(--ease-spring); z-index: 0;
}
.lang-toggle[data-active="en"] .lang-toggle__pill { transform: translateX(100%); }

.nav__burger { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 11px; min-width: 44px; min-height: 44px; }
.nav__burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.nav.is-open .nav__burger span:first-child { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__burger span:last-child { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  margin: 10px auto 0; max-width: var(--maxw); display: flex; flex-direction: column; gap: 0.4rem;
  padding: 1rem 1.2rem; border-radius: var(--radius); background: var(--glass-flat);
  border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow);
}
.nav__mobile a { padding: 0.7rem 0.5rem; color: var(--ink-soft); border-bottom: 1px solid var(--hairline); }
.nav__mobile a:last-child { border: none; margin-top: 0.5rem; }

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__cta, .nav__login { display: none; }
  .nav__burger { display: flex; }
}
@media (min-width: 861px) { .nav__mobile { display: none !important; } }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; }
.hero__pin { min-height: 100svh; display: flex; align-items: center; padding: 5.5rem var(--gutter) 3.5rem; }
.hero__grid {
  max-width: var(--maxw); margin-inline: auto; width: 100%;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero__title {
  font-size: var(--fs-hero); font-weight: 800; line-height: 1.04; letter-spacing: -0.035em;
  margin: 0.2rem 0 1.25rem; display: flex; flex-direction: column;
}
.hero__title .line { display: block; font-variation-settings: "wght" 800; text-wrap: balance; }
.hero__title .line--accent { color: var(--coral-deep); }
.hero__lead { margin-bottom: 1.5rem; }
.hero__cta { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.hero__demo { display: flex; justify-content: center; }
.hero__scrollcue {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-family: var(--mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--ink-muted);
}
.hero__scrollcue i { width: 1px; height: 34px; background: linear-gradient(var(--coral-deep), transparent); animation: cue 2s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: scaleY(0.5); opacity: 0.4; transform-origin: top; } 50% { transform: scaleY(1); opacity: 1; } }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__pin { padding-top: 6rem; align-items: flex-start; }
  .hero__demo { order: 2; }
  .hero__scrollcue { display: none; }
}

/* ============================================================
   INTERSTITIAL
   ============================================================ */
.interstice { min-height: 42vh; display: grid; place-items: center; padding: 4rem var(--gutter); text-align: center; }
.interstice__line { font-size: clamp(1.3rem, 3vw, 2.1rem); font-weight: 400; color: var(--ink-soft); max-width: 24ch; line-height: 1.4; letter-spacing: -0.01em; }

/* ============================================================
   PROBLÈME (ghost leads)
   ============================================================ */
.probleme { padding: 4rem 0 6rem; text-align: center; }
.probleme .wrap { display: flex; flex-direction: column; align-items: center; }
.ghosts { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin: 1.5rem 0 3rem; min-height: 120px; }
.ghost {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem;
  padding: 1.1rem 1.3rem; border-radius: var(--radius); min-width: 210px;
  background: rgba(255, 255, 255, 0.55); border: 1px solid var(--hairline); text-align: left;
  box-shadow: 0 8px 24px -14px rgba(80, 80, 100, 0.35); color: var(--ink-soft);
}
.ghost__icon { font-size: 1.2rem; color: var(--ink-muted); }
.ghost strong { font-weight: 600; color: var(--ink); font-size: 0.98rem; }
.ghost .mono { color: var(--ink-muted); }
.probleme__title { text-align: center; max-width: 20ch; }
.probleme__text { text-align: center; margin-inline: auto; }

/* ============================================================
   COMMENT ÇA MARCHE
   ============================================================ */
.comment { padding: 5rem 0; }
.comment .kicker, .comment .section-title { text-align: center; margin-inline: auto; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin: 3rem 0 2.5rem; }
.step { position: relative; padding: 2rem 1.6rem; overflow: hidden; }
.step__num { color: var(--coral-deep); font-weight: 500; }
.step__watermark { position: absolute; right: 0.3rem; bottom: -1.5rem; font-size: var(--fs-watermark); font-weight: 800; color: rgba(249, 115, 22, 0.06); line-height: 1; font-family: var(--mono); pointer-events: none; }
.step h3 { font-size: 1.25rem; font-weight: 650; margin: 0.8rem 0 0.5rem; letter-spacing: -0.02em; }
.step p { color: var(--ink-soft); position: relative; z-index: 1; }
.step__thread { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 1.1rem; }
.mini-bubble { font-size: 0.82rem; padding: 0.5em 0.8em; border-radius: 12px; max-width: 92%; }
.mini-in { background: #fff; border: 1px solid var(--hairline); align-self: flex-start; border-bottom-left-radius: 4px; }
.mini-out { background: linear-gradient(135deg, #C2410C, #9A3412); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.step__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.1rem; }
.comment__cta { text-align: center; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ============================================================
   CAPACITÉS (bento)
   ============================================================ */
.capacites { padding: 5rem 0; }
.capacites .kicker, .capacites .section-title { text-align: center; margin-inline: auto; }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 3rem; }
.tile { padding: 1.8rem 1.6rem; display: flex; flex-direction: column; gap: 0.5rem; position: relative; overflow: hidden; transition: transform 0.5s var(--ease-out), box-shadow 0.5s; }
.tile h3 { font-size: 1.18rem; font-weight: 640; letter-spacing: -0.02em; }
.tile p { color: var(--ink-soft); font-size: 0.98rem; }
/* Full-width accent rule pinned to the top edge of every tile — replaces the
   old emoji eyebrow. Clipped to the tile's rounded corners by `overflow:hidden`.
   Identity coral (graphics-only); brightens on hover. */
.tile::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--coral), var(--w-2));
  opacity: 0.5; transition: opacity 0.45s var(--ease-out);
}
@media (hover: hover) { .tile:hover::before { opacity: 1; } }
.tile--hero { grid-column: span 1; grid-row: span 2; justify-content: space-between; background: linear-gradient(160deg, rgba(255,253,250,0.92), rgba(253,201,136,0.22)); }
html.is-frosted .tile--hero { background: linear-gradient(160deg, rgba(255,253,250,0.6), rgba(253,201,136,0.25)); }
.tile--hero h3 { font-size: 1.5rem; }
.tile__chrono { position: relative; width: 92px; height: 92px; display: grid; place-items: center; }
.chrono__ring { position: absolute; inset: 0; border-radius: 50%; border: 3px solid rgba(249, 115, 22, 0.18); border-top-color: var(--coral); animation: spin 3.5s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.chrono__num { font-size: 2rem; font-weight: 700; color: var(--coral-deep); }
.chrono__num small { font-size: 1rem; }
@media (hover: hover) {
  .tile:hover { transform: translateY(-5px); }
  html.is-frosted .tile:hover { -webkit-backdrop-filter: blur(34px) saturate(160%); backdrop-filter: blur(34px) saturate(160%); }
}
@media (max-width: 920px) { .bento { grid-template-columns: repeat(2, 1fr); } .tile--hero { grid-row: span 1; grid-column: span 2; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .tile--hero { grid-column: span 1; } }

/* ============================================================
   MÉTIERS / PERSONAS
   ============================================================ */
.metiers { padding: 5rem 0; }
.metiers .kicker, .metiers .section-title, .metiers__lead { text-align: center; margin-inline: auto; }
.metiers__any { text-align: center; max-width: 46ch; margin: 2.6rem auto 0; color: var(--ink-muted); font-size: 1.02rem; }
.tablist { position: relative; display: flex; gap: 0.3rem; flex-wrap: wrap; justify-content: center; margin: 2.5rem auto; padding: 5px; border-radius: var(--radius-pill); background: rgba(124, 45, 18, 0.06); width: fit-content; max-width: 100%; }
.tab { display: inline-flex; align-items: center; min-height: 40px; padding: 0.5em 1.05em; border-radius: var(--radius-pill); font-size: 0.9rem; font-weight: 550; color: var(--ink-soft); transition: color 0.3s; white-space: nowrap; }
.tab.is-active { color: #fff; }
.tablist__pill { position: absolute; top: 5px; left: 5px; height: calc(100% - 10px); background: var(--coral-deep); border-radius: var(--radius-pill); transition: transform 0.45s var(--ease-spring), width 0.45s var(--ease-spring); z-index: 0; }
.tab { position: relative; z-index: 1; }
.metiers__scene { display: grid; grid-template-columns: minmax(min(320px, 100%), 380px) 1fr; gap: 2.5rem; align-items: center; max-width: 920px; margin-inline: auto; }
.metiers__note { padding: 1.8rem; }
.metiers__note p { color: var(--ink-soft); font-size: 1.05rem; }
#persona-name { transition: opacity 0.25s; }
@media (max-width: 900px) { .metiers__scene { grid-template-columns: 1fr; } .sms--persona { margin-inline: auto; } }

/* ============================================================
   CONFIANCE
   ============================================================ */
.confiance { padding: 5rem 0; background: linear-gradient(var(--bg-milk), transparent); }
.confiance__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.trust-list { display: flex; flex-direction: column; gap: 1rem; margin: 1.8rem 0; }
.trust-list li { display: flex; align-items: center; gap: 0.8rem; font-size: 1.1rem; color: var(--ink); }
.trust-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(22, 163, 74, 0.13); color: #15803d; font-size: 0.9rem; flex-shrink: 0; }
.badge-qc { display: inline-flex; align-items: center; gap: 0.5em; padding: 0.55em 1.1em; border-radius: var(--radius-pill); background: rgba(249, 115, 22, 0.1); color: var(--coral-deep); font-weight: 600; font-size: 0.92rem; }
.confiance__right { padding: 2rem; }
.bilingue__label { color: var(--coral-deep); text-transform: uppercase; margin-bottom: 1.3rem; }
.bilingue { display: flex; flex-direction: column; gap: 1.2rem; }
.bilingue__col { display: flex; align-items: center; gap: 0.8rem; }
.flag { width: 34px; flex-shrink: 0; color: var(--ink-muted); font-weight: 500; }
.bilingue .bubble { align-self: auto; }
@media (max-width: 820px) { .confiance__grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ============================================================
   CRÉDIBILITÉ
   ============================================================ */
.credibilite { padding: 6rem 0; text-align: center; }
.principle { font-size: clamp(1.7rem, 4vw, 3rem); font-weight: 720; line-height: 1.15; letter-spacing: -0.03em; max-width: 20ch; margin: 0 auto 3rem; }
.cred-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; max-width: 900px; margin: 0 auto; }
.cred-card { padding: 1.8rem 1.4rem; border-radius: var(--radius); border: 1px solid var(--hairline); background: rgba(255,255,255,0.4); }
.cred-card__n { display: block; font-size: 1.4rem; color: var(--coral); margin-bottom: 0.6rem; }
.cred-card p { color: var(--ink); font-size: 1.05rem; font-weight: 500; }
@media (max-width: 720px) { .cred-cards { grid-template-columns: 1fr; } }

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final { min-height: 92svh; display: grid; place-items: center; padding: 5rem var(--gutter); position: relative; }
.cta-final__panel { max-width: 600px; width: 100%; padding: clamp(2.2rem, 5vw, 3.5rem); text-align: center; }
.cta-final__title { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 760; letter-spacing: -0.03em; margin-bottom: 1.8rem; line-height: 1.05; }
.cta-final__form { display: flex; gap: 0.7rem; flex-wrap: wrap; justify-content: center; }
.cta-final__form input {
  flex: 1 1 240px; padding: 0.92em 1.2em; border-radius: var(--radius-pill);
  border: 1px solid var(--hairline-strong); background: rgba(255, 255, 255, 0.7); font-size: 1rem; color: var(--ink);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.cta-final__form input::placeholder { color: var(--ink-muted); }
.cta-final__form input:focus { outline: none; border-color: var(--coral-deep); box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.5); }
.cta-final__note { margin-top: 1.2rem; font-size: 0.85rem; color: var(--ink-muted); font-family: var(--mono); letter-spacing: 0.03em; }
.cta-final__success { margin-top: 1.5rem; display: flex; justify-content: center; }
.cta-final__success .bubble { font-size: 1.05rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { position: relative; background: var(--dark); color: var(--dark-text); padding: 4rem 0 2rem; margin-top: 3rem; overflow: hidden; }
.footer__hairline { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--coral), var(--w-3), var(--w-4), transparent); background-size: 200% 100%; animation: flow 8s linear infinite; }
@keyframes flow { to { background-position: 200% 0; } }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer__logo { height: 34px; width: auto; margin-bottom: 1rem; }
.footer__baseline { color: var(--dark-soft); max-width: 26ch; margin-bottom: 1rem; }
.footer__status { display: inline-flex; align-items: center; gap: 0.5em; font-size: 0.82rem; color: var(--dark-soft); }
.footer__email { display: block; margin-top: 0.85rem; color: var(--coral-bright); font-weight: 500; }
.footer__email:hover { text-decoration: underline; }
.footer__col h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--coral-bright); margin-bottom: 1rem; font-weight: 600; }
.footer__col a { display: block; color: var(--dark-soft); padding: 0.35rem 0; transition: color 0.25s; }
.footer__col a:hover { color: var(--dark-text); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; font-size: 0.82rem; color: var(--dark-soft); flex-wrap: wrap; gap: 1rem; }
.footer__lang button { color: var(--dark-soft); transition: color 0.25s; }
.footer__lang button:hover { color: var(--coral-bright); }
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; } .footer__brand { grid-column: span 2; } }
@media (max-width: 540px) { .footer__grid { grid-template-columns: 1fr; } .footer__brand { grid-column: auto; } }
@media (max-width: 600px) { .cta-final__form input, .cta-final__form .btn { width: 100%; flex: none; } }

/* ============================================================
   MOTION-READY STATES — only applied when JS enables animation.
   Content is fully visible by default (no-JS / reduced-motion safe).
   ============================================================ */
html.js-anim .reveal { opacity: 0; transform: translateY(26px); }
html.js-anim .section-title .split-line,
html.js-anim [data-split] .split-line { will-change: transform, opacity; }
html.js-anim #hero-sms [data-phase] { opacity: 0; }
html.js-anim .ghost { opacity: 0; transform: translateY(20px); }
html.js-anim .hero__title .line { opacity: 0; }
html.js-anim .hero__demo .sms { opacity: 0; }

/* When the variable font is unavailable, weight stays static (handled in JS). */

/* FR/EN cross-fade */
main, .nav__inner, .footer__grid { transition: opacity 0.18s var(--ease-out), filter 0.18s var(--ease-out); }
body.lang-fade main, body.lang-fade .nav__inner, body.lang-fade .footer__grid { opacity: 0.35; filter: blur(3px); }

/* ============================================================
   REDUCED MOTION — kill all movement, keep everything legible
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .dot, .chrono__ring, .footer__hairline, .bubble--typing i, .hero__scrollcue i { animation: none !important; }
  html.js-anim .reveal, html.js-anim #hero-sms [data-phase], html.js-anim .ghost,
  html.js-anim .hero__title .line, html.js-anim .hero__demo .sms { opacity: 1; transform: none; }
}
