/* ==========================================================================
   forms.contentwatch.io · Feuille de style
   Design System : Thibaut Loubère V1 (repris fidèlement de slides.contentwatch.io)
   Le récapitulatif complet de la charte figure en tête de index.html.
   Aucune valeur en dur dans les composants : tout passe par les tokens.
   ========================================================================== */

/* ---------- 1. TOKENS ---------------------------------------------------- */
:root {
  /* Surfaces */
  --tl-teal:          #0F3B40;
  --tl-teal-deep:     #0B2E32;
  --tl-cream:         #F5F1E8;
  --tl-cream-bright:  #FFFDF7;
  --tl-white:         #FFFFFF;

  /* Accents acidulés */
  --tl-lime:          #D9F16A;
  --tl-mint:          #3CDFB4;
  --tl-pink:          #F5B5CC;
  --tl-pink-strong:   #F58FB0;

  /* Encre / texte */
  --tl-ink:           #0F3B40;
  --tl-ink-soft:      #46585A;

  /* Alias sémantiques */
  --surface-dark:        var(--tl-teal);
  --surface-dark-deep:   var(--tl-teal-deep);
  --surface-cream:       var(--tl-cream);
  --surface-cream-bright:var(--tl-cream-bright);
  --surface-card:        var(--tl-white);

  --text-strong:   var(--tl-ink);
  --text-body:     var(--tl-ink);
  --text-soft:     var(--tl-ink-soft);
  --text-on-dark:  var(--tl-cream);
  --text-on-dark-soft: rgba(245, 241, 232, 0.72);

  --accent-primary:   var(--tl-mint);
  --accent-hover:     var(--tl-lime);
  --accent-highlight: var(--tl-lime);
  --accent-scribble:  var(--tl-pink-strong);

  /* Typographie */
  --font-title: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --font-body:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spacing (base 4px) */
  --space-1: 4px;   --space-2: 8px;   --space-3: 12px;  --space-4: 16px;
  --space-5: 20px;  --space-6: 24px;  --space-8: 32px;  --space-10: 40px;
  --space-12: 48px; --space-16: 64px; --space-20: 80px;
  --space-section: clamp(72px, 11vw, 132px);

  /* Layout */
  --max-width:        1200px;
  --max-width-narrow: 780px;
  --gutter:           clamp(20px, 4vw, 40px);

  /* Rayons */
  --radius-sm: 14px;
  --radius:    16px;
  --radius-lg: 24px;
  --pill:      999px;

  /* Effets */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition:      250ms;
  --transition-slow: 400ms;

  --shadow-soft: 0 4px 16px rgba(11, 46, 50, 0.06);
  --shadow-card: 0 18px 44px rgba(11, 46, 50, 0.12);
  --shadow-mint: 0 12px 30px rgba(60, 223, 180, 0.34);

  /* Z-index */
  --z-nav: 100;
  --z-skip: 300;
}

/* ---------- 2. RESET ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-body);
  background: var(--surface-cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }
:focus-visible {
  outline: 3px solid var(--accent-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 3. TYPOGRAPHIE ---------------------------------------------- */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-highlight);
}
.eyebrow--on-dark { color: var(--text-on-dark-soft); }
.eyebrow--on-dark::before { background: var(--accent-highlight); }

h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--text-strong);
  text-wrap: balance;
}
.hero__title {
  color: var(--text-on-dark);
  font-weight: 800;
  font-size: clamp(2.5rem, 7.6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.section__title {
  font-size: clamp(1.9rem, 5vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
h3 {
  font-size: clamp(1.2rem, 2.6vw, 1.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.lead {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 500;
  line-height: 1.55;
  color: var(--text-soft);
}
.on-dark .lead, .lead--on-dark { color: var(--text-on-dark-soft); }

/* ---------- 4. LAYOUT ---------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--max-width-narrow); }
.section { padding-block: var(--space-section); }
.section--dark {
  background: var(--surface-dark);
  color: var(--text-on-dark);
}
.section--dark .section__title { color: var(--text-on-dark); }
.section--dark-deep {
  background: var(--surface-dark-deep);
  color: var(--text-on-dark);
}
.section--dark-deep .section__title { color: var(--text-on-dark); }

.section-header { max-width: 680px; margin-bottom: var(--space-12); }
.section-header .eyebrow { margin-bottom: var(--space-4); }
.section-header .lead { margin-top: var(--space-5); }

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -120px;
  z-index: var(--z-skip);
  background: var(--accent-primary);
  color: var(--tl-ink);
  font-weight: 600;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--pill);
  transition: top var(--transition) var(--ease-out);
}
.skip-link:focus { top: var(--space-4); }

/* ---------- 5. NAV ------------------------------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-nav);
  background: rgba(15, 59, 64, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(245, 241, 232, 0.10);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  height: 64px;
}
.nav__brand {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--text-on-dark);
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
}
.nav__brand .dot { color: var(--accent-scribble); }
.nav__links {
  display: none;
  align-items: center;
  gap: var(--space-6);
}
.nav__links a {
  color: var(--text-on-dark-soft);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition) var(--ease-out);
}
.nav__links a:hover { color: var(--text-on-dark); }
.nav .nav__cta { display: none; }
@media (min-width: 980px) {
  .nav__links { display: flex; }
  .nav .nav__cta { display: inline-flex; }
}

/* ---------- 6. BUTTONS --------------------------------------------------- */
.btn {
  --btn-bg: var(--accent-primary);
  --btn-fg: var(--tl-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 0 var(--space-6);
  border-radius: var(--pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  box-shadow: var(--shadow-mint);
  transition: background var(--transition) var(--ease-out),
              box-shadow var(--transition) var(--ease-out),
              transform var(--transition) var(--ease-out);
}
.btn:hover { background: var(--accent-hover); }
.btn .arrow { transition: transform var(--transition) var(--ease-spring); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--secondary {
  --btn-bg: transparent;
  --btn-fg: var(--text-on-dark);
  box-shadow: inset 0 0 0 1.5px rgba(245, 241, 232, 0.34);
}
.btn--secondary:hover {
  --btn-bg: rgba(245, 241, 232, 0.08);
  box-shadow: inset 0 0 0 1.5px rgba(245, 241, 232, 0.6);
}
.btn--on-cream.btn--secondary {
  --btn-fg: var(--tl-ink);
  box-shadow: inset 0 0 0 1.5px rgba(15, 59, 64, 0.22);
}
.btn--on-cream.btn--secondary:hover {
  --btn-bg: rgba(15, 59, 64, 0.05);
  box-shadow: inset 0 0 0 1.5px rgba(15, 59, 64, 0.4);
}
.btn--sm {
  min-height: 44px;
  padding: 0 var(--space-4);
  font-size: 0.92rem;
  box-shadow: 0 6px 16px rgba(60, 223, 180, 0.28);
}
.nav__cta.btn--sm { box-shadow: 0 6px 16px rgba(60, 223, 180, 0.22); }

.arrow { width: 18px; height: 18px; flex: none; }

/* ---------- 7. PILLS ----------------------------------------------------- */
.pill {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.85rem;
  line-height: 1;
  padding: 7px 14px;
  border-radius: var(--pill);
  color: var(--tl-ink);
}
.pill--lime { background: var(--tl-lime); }
.pill--mint { background: var(--tl-mint); }
.pill--pink { background: var(--tl-pink); }
.pill--soft {
  background: rgba(15, 59, 64, 0.07);
  color: var(--text-soft);
}
.on-dark .pill--soft {
  background: rgba(245, 241, 232, 0.12);
  color: var(--text-on-dark-soft);
}
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}
.pill-row .pill { margin-top: 0; }

/* ---------- 8. SCRIBBLE -------------------------------------------------- */
.scribble {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.scribble > svg {
  position: absolute;
  left: -2%;
  bottom: -0.32em;
  width: 104%;
  height: 0.42em;
  overflow: visible;
  pointer-events: none;
}
.scribble path {
  fill: none;
  stroke: var(--accent-scribble);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
}
.scribble.is-drawn path {
  animation: scribble-draw 900ms var(--ease-out) forwards;
}
@keyframes scribble-draw { to { stroke-dashoffset: 0; } }

/* ---------- 9. HERO ------------------------------------------------------ */
.hero {
  position: relative;
  background: var(--surface-dark);
  color: var(--text-on-dark);
  padding-top: calc(64px + var(--space-16));
  padding-bottom: var(--space-section);
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero__glow span {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}
.hero__glow .g-mint { width: 46vw; height: 46vw; background: var(--tl-mint);  top: -8%;  left: -6%; }
.hero__glow .g-lime { width: 38vw; height: 38vw; background: var(--tl-lime);  bottom: -14%; right: 6%; opacity: 0.4; }
.hero__glow .g-pink { width: 34vw; height: 34vw; background: var(--tl-pink-strong); top: 22%; right: -10%; opacity: 0.35; }
.hero .container { position: relative; z-index: 1; }
.hero__grid {
  display: grid;
  gap: var(--space-12);
  align-items: center;
}
.hero__title { margin-bottom: var(--space-6); }
.hero__sub {
  font-size: clamp(1.05rem, 2.4vw, 1.28rem);
  line-height: 1.55;
  color: var(--text-on-dark-soft);
  max-width: 42ch;
  margin-bottom: var(--space-8);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.hero__note {
  margin-top: var(--space-6);
  font-size: 0.92rem;
  color: var(--text-on-dark-soft);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.hero__note svg { width: 18px; height: 18px; color: var(--accent-primary); flex: none; }
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; }
}

/* Bascule des variantes de hero (A / B), pilotée par [data-hero] sur <body>. */
.hero__variant { display: none; }
body[data-hero="a"] .hero__variant--a { display: revert; }
body[data-hero="b"] .hero__variant--b { display: revert; }

/* Schéma avant / après (Google Form générique → formulaire charté) */
.beforeafter {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-3);
}
.ba-card {
  position: relative;
  overflow: hidden;
  background: rgba(245, 241, 232, 0.06);
  border: 1px solid rgba(245, 241, 232, 0.14);
  border-radius: var(--radius);
  padding: var(--space-4);
  text-align: center;
}
.ba-card__label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-on-dark-soft);
  margin-bottom: var(--space-3);
  font-weight: 600;
}
.ba-card svg { width: 100%; height: auto; }
.ba-card--after { border-color: rgba(60, 223, 180, 0.5); }
.ba-card--before { transform: scale(0.94); }
.ba-arrow {
  width: 30px; height: 30px;
  color: var(--accent-primary);
  flex: none;
}

/* ---------- 10. MARQUEE -------------------------------------------------- */
.marquee {
  position: relative;
  z-index: 3;
  background: var(--accent-highlight);
  transform: rotate(-0.8deg);
  margin-top: clamp(-36px, -3vw, -20px);
  margin-bottom: var(--space-10);
  padding-block: var(--space-3);
  overflow: hidden;
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  will-change: transform;
  animation: marquee 30s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--tl-ink);
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
}
.marquee span::after {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--tl-ink);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 11. PROBLÈME / LISTES --------------------------------------- */
.problem-note {
  margin-bottom: var(--space-10);
  padding: var(--space-5) var(--space-5) var(--space-5) var(--space-6);
  background: rgba(60, 223, 180, 0.08);
  border-left: 3px solid var(--accent-primary);
  border-radius: var(--radius);
}
.problem-note__kicker {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-highlight);
  margin-bottom: var(--space-2);
}
.problem-note__text {
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--text-on-dark);
}
.problem-note__text strong { color: var(--accent-highlight); font-weight: 600; }

.pain-list {
  display: grid;
  gap: var(--space-3);
}
.pain {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  background: rgba(245, 241, 232, 0.05);
  border: 1px solid rgba(245, 241, 232, 0.12);
  border-radius: var(--radius);
  padding: var(--space-5);
}
.pain__icon {
  flex: none;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(245, 143, 176, 0.16);
  color: var(--tl-pink-strong);
}
.pain__icon svg { width: 20px; height: 20px; }
.pain p { color: var(--text-on-dark-soft); font-size: 0.98rem; }
.pain strong { color: var(--text-on-dark); font-weight: 600; }
@media (min-width: 760px) { .pain-list { grid-template-columns: 1fr 1fr; } }

/* Variante claire de la section « Le problème » (fond crème) */
#probleme .problem-note__kicker { color: var(--text-soft); }
#probleme .problem-note__text { color: var(--text-body); }
#probleme .problem-note__text strong { color: var(--tl-teal); }
#probleme .pain {
  background: var(--surface-card);
  border-color: rgba(15, 59, 64, 0.07);
  box-shadow: var(--shadow-soft);
}
#probleme .pain p { color: var(--text-soft); }
#probleme .pain strong { color: var(--text-strong); }

/* ---------- 12. PROMESSE / TIMELINE ------------------------------------- */
.promise {
  display: grid;
  gap: var(--space-10);
  align-items: center;
}
.promise__points { display: grid; gap: var(--space-5); margin-top: var(--space-8); }
.promise__point { display: flex; gap: var(--space-4); align-items: flex-start; }
.promise__point .tick {
  flex: none; width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent-primary);
  color: var(--tl-ink);
}
.promise__point .tick svg { width: 16px; height: 16px; }
.promise__point p { color: var(--text-on-dark-soft); }
.promise__point strong { color: var(--text-on-dark); }

.timeline-card {
  background: rgba(245, 241, 232, 0.06);
  border: 1px solid rgba(245, 241, 232, 0.14);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}
.timeline-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding-block: var(--space-4);
  border-bottom: 1px dashed rgba(245, 241, 232, 0.16);
}
.timeline-row:last-child { border-bottom: none; }
.timeline-day {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--accent-highlight);
  flex: none;
  width: 28px;
  text-align: center;
}
.timeline-row p { color: var(--text-on-dark-soft); font-size: 0.95rem; }
.timeline-row.is-final .timeline-day { color: var(--accent-primary); }
@media (min-width: 880px) {
  .promise { grid-template-columns: 1fr 1fr; }
}

/* ---------- 13. ÉTAPES (COMMENT ÇA MARCHE) ------------------------------ */
.steps {
  display: grid;
  gap: var(--space-5);
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6) var(--space-6);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: var(--space-3); right: var(--space-4);
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 3.4rem;
  line-height: 1;
  color: rgba(15, 59, 64, 0.06);
}
.step__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(60, 223, 180, 0.16);
  color: var(--tl-teal);
  margin-bottom: var(--space-5);
}
.step__icon svg { width: 24px; height: 24px; }
.step h3 { margin-bottom: var(--space-3); }
.step p { color: var(--text-soft); font-size: 0.96rem; }
@media (min-width: 680px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* ---------- 14. ATOUTS (CARDS) ------------------------------------------ */
.cards-grid {
  display: grid;
  gap: var(--space-5);
}
.feature {
  background: var(--surface-card);
  border: 1px solid rgba(15, 59, 64, 0.06);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition) var(--ease-out),
              box-shadow var(--transition) var(--ease-out);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.feature__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--tl-teal);
  color: var(--accent-highlight);
  margin-bottom: var(--space-5);
}
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { margin-bottom: var(--space-2); }
.feature p { color: var(--text-soft); font-size: 0.96rem; }
/* Les cartes restent claires même en section sombre : on neutralise le style on-dark des pills soft. */
.feature .pill--soft {
  background: rgba(15, 59, 64, 0.08);
  color: var(--text-soft);
}
@media (min-width: 640px) { .cards-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cards-grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* Note "héberger vous-même" / écosystème sous les atouts */
.self-host {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  max-width: 760px;
  margin: var(--space-12) auto 0;
  padding: var(--space-5) var(--space-6);
  background: rgba(60, 223, 180, 0.10);
  border: 1px solid rgba(60, 223, 180, 0.30);
  border-radius: var(--radius);
  color: var(--text-on-dark);
  font-size: 1rem;
}
.self-host__icon {
  flex: none;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(60, 223, 180, 0.16);
  color: var(--accent-primary);
}
.self-host__icon svg { width: 22px; height: 22px; }
.self-host strong { font-weight: 600; color: var(--accent-highlight); }

/* ---------- 15. CAS D'USAGE (DÉTAILLÉS) --------------------------------- */
.cases {
  display: grid;
  gap: var(--space-5);
}
.case {
  display: flex;
  flex-direction: column;
  background: var(--surface-cream-bright);
  border: 1px solid rgba(15, 59, 64, 0.07);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition) var(--ease-out),
              box-shadow var(--transition) var(--ease-out);
}
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
/* Croquis schématique (wireframe anonymisé) en tête de carte */
.case__sketch {
  width: 100%;
  aspect-ratio: 7 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: var(--space-5);
  background: var(--tl-teal-deep);
  border: 1px solid rgba(15, 59, 64, 0.10);
}
.case__sketch svg { width: 100%; height: 100%; display: block; }
.case__tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: var(--space-2);
}
.case h3 { margin-bottom: var(--space-3); }
.case > p { color: var(--text-soft); font-size: 0.96rem; }
.case__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-5);
}
.chip {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--tl-teal);
  background: rgba(15, 59, 64, 0.06);
  border-radius: var(--pill);
  padding: 5px 12px;
}
.case__logic {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  margin-top: var(--space-5);
  padding: var(--space-4);
  background: rgba(245, 143, 176, 0.12);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-soft);
}
.case__logic svg { width: 20px; height: 20px; flex: none; color: var(--tl-pink-strong); margin-top: 2px; }
.case__logic strong { color: var(--tl-teal); font-weight: 600; }
.case__pipe {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  margin-top: auto;
  padding-top: var(--space-5);
}
.case__pipe-icon {
  flex: none;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 9px;
  background: var(--tl-teal);
  color: var(--accent-highlight);
}
.case__pipe-icon svg { width: 18px; height: 18px; }
.case__pipe span { font-size: 0.88rem; color: var(--text-soft); }
.case__pipe strong { color: var(--text-strong); font-weight: 600; display: block; font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; }
@media (min-width: 720px) { .cases { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .cases { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 16. SUR DEVIS (remplace la grille tarifaire) ---------------- */
.quote {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  background: var(--surface-dark-deep);
  color: var(--text-on-dark);
  border: 1px solid rgba(60, 223, 180, 0.28);
  border-radius: var(--radius-lg);
  padding: clamp(var(--space-8), 5vw, var(--space-16));
}
.quote .eyebrow { justify-content: center; margin-bottom: var(--space-4); }
.quote h2 { color: var(--text-on-dark); margin-bottom: var(--space-4); }
.quote p {
  color: var(--text-on-dark-soft);
  max-width: 48ch;
  margin: 0 auto var(--space-8);
}
.quote .btn { margin-inline: auto; }
.quote__note {
  margin-top: var(--space-5);
  font-size: 0.86rem;
  color: var(--text-on-dark-soft);
}

/* ---------- 17. FAQ ------------------------------------------------------ */
.faq { display: grid; gap: var(--space-3); }
.faq__item {
  background: var(--surface-card);
  border: 1px solid rgba(15, 59, 64, 0.07);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5);
  text-align: left;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-strong);
  min-height: 56px;
}
.faq__q .chev {
  flex: none; width: 20px; height: 20px;
  color: var(--tl-teal);
  transition: transform var(--transition) var(--ease-out);
}
.faq__item.is-open .chev { transform: rotate(180deg); }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--transition-slow) var(--ease-out);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p {
  padding: 0 var(--space-5) var(--space-5);
  color: var(--text-soft);
  font-size: 0.96rem;
}

/* ---------- 18. FOOTER --------------------------------------------------- */
.footer {
  background: var(--surface-dark-deep);
  color: var(--text-on-dark);
  padding-block: var(--space-16) var(--space-10);
}
.footer__grid {
  display: grid;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}
.footer__brand .nav__brand { font-size: 1.4rem; margin-bottom: var(--space-3); }
.footer__brand p { color: var(--text-on-dark-soft); font-size: 0.95rem; max-width: 34ch; }
.footer__col h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-on-dark-soft);
  margin-bottom: var(--space-4);
}
.footer__col a, .footer__col li {
  display: block;
  color: var(--text-on-dark-soft);
  font-size: 0.95rem;
  padding-block: 10px;
  transition: color var(--transition) var(--ease-out);
}
.footer__col a:hover { color: var(--accent-highlight); }
.footer__eco {
  margin-bottom: var(--space-8);
  padding: var(--space-5) var(--space-6);
  background: rgba(245, 241, 232, 0.05);
  border: 1px solid rgba(245, 241, 232, 0.12);
  border-radius: var(--radius);
  color: var(--text-on-dark-soft);
  font-size: 0.95rem;
  max-width: 70ch;
}
.footer__eco a {
  color: var(--accent-highlight);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  transition: color var(--transition) var(--ease-out);
}
.footer__eco a:hover { color: var(--accent-primary); }
.footer__signature {
  margin-bottom: var(--space-6);
  color: var(--text-on-dark-soft);
  font-size: 0.98rem;
  max-width: 60ch;
}
.footer__signature a {
  color: var(--accent-highlight);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  transition: color var(--transition) var(--ease-out);
}
.footer__signature a:hover { color: var(--accent-primary); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-6);
  border-top: 1px solid rgba(245, 241, 232, 0.12);
  color: var(--text-on-dark-soft);
  font-size: 0.86rem;
}
@media (min-width: 760px) {
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr; }
}

/* ---------- 19. UTILITAIRES & REVEAL ------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--transition-slow) var(--ease-out),
              transform var(--transition-slow) var(--ease-out);
}
.reveal.is-in { opacity: 1; transform: none; }
.stack-gap > * + * { margin-top: var(--space-4); }
.center { text-align: center; }

/* ---------- 20. POP-IN CALENDLY (croix rattachée) ----------------------- */
/* Par défaut, Calendly place sa croix dans le coin de l'écran. Sur grand
   écran, la pop-in est centrée (max-width 1000px), donc la croix « flotte »
   loin d'elle. On la ramène sur le coin de la pop-in. */
.calendly-overlay .calendly-popup-close {
  /* Rond sombre pour rester lisible sur le blanc de la pop-in */
  width: 36px !important;
  height: 36px !important;
  background-color: var(--surface-dark) !important;
  background-size: 14px 14px !important;
  background-position: center !important;
  border-radius: 50% !important;
  box-shadow: 0 4px 14px rgba(11, 46, 50, 0.35) !important;
  top: 16px !important;
  right: 16px !important;
}
@media (min-width: 1032px) {
  /* La pop-in fait 1000px de large, centrée : on cale la croix sur son coin. */
  .calendly-overlay .calendly-popup-close {
    top: calc(2.5% + 14px) !important;
    right: calc((100vw - 1000px) / 2 + 14px) !important;
  }
}

/* ---------- 21. REDUCED MOTION ------------------------------------------ */
@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;
  }
  .marquee__track { animation: none; }
  .reveal { opacity: 1; transform: none; }
  .scribble path { stroke-dashoffset: 0; }
}
