/* =========================================================
   RankUs Studio — Design system
   Mode clair par défaut (crème + émeraude foncé + or sourd)
   Mode sombre via [data-theme="dark"]
   ========================================================= */

:root,
[data-theme="light"] {
  --bg:           #FBF8F2;
  --bg-soft:      #F4F0E6;
  --surface:      #FFFFFF;
  --surface-2:    #F8F5EC;
  --border:       #E5DFD0;
  --border-soft:  #EFEAD8;

  --text:         #1A1F1B;
  --text-mid:     #3F4842;
  --muted:        #6B746E;
  --faint:        #A2A99E;

  --emerald:      #1B7849;
  --emerald-2:    #2EAD6F;
  --emerald-deep: #0E5C36;
  --gold:         #B58A2B;
  --gold-2:       #8E6918;

  --grad-em:      linear-gradient(135deg, #2EAD6F 0%, #1B7849 60%, #0E5C36 100%);
  --grad-gold:    linear-gradient(135deg, #C9A14A 0%, #8E6918 100%);
  --grad-mix:     linear-gradient(135deg, #2EAD6F 0%, #1B7849 50%, #B58A2B 100%);

  --hero-glow-em:    rgba(46, 173, 111, 0.10);
  --hero-glow-gold:  rgba(181, 138, 43, 0.06);

  --shadow-soft:  0 1px 0 rgba(0,0,0,0.02), 0 8px 24px rgba(20, 30, 25, 0.06);
  --shadow-card:  0 1px 2px rgba(20, 30, 25, 0.04), 0 4px 12px rgba(20, 30, 25, 0.05);

  --grain-blend: multiply;
  --grain-opacity: 0.35;
  --nav-bg: rgba(251, 248, 242, 0.82);
}

[data-theme="dark"] {
  --bg:           #0A0E0C;
  --bg-soft:      #0F1513;
  --surface:      #11171A;
  --surface-2:    #161D20;
  --border:       #1F2A24;
  --border-soft:  #19221E;

  --text:         #E8EFE8;
  --text-mid:     #B8C2BC;
  --muted:        #7E8A82;
  --faint:        #5A6660;

  --emerald:      #2EAD6F;
  --emerald-2:    #5BD49A;
  --emerald-deep: #1B7849;
  --gold:         #C9A14A;
  --gold-2:       #E6C97A;

  --grad-em:      linear-gradient(135deg, #5BD49A 0%, #2EAD6F 60%, #1B7849 100%);
  --grad-gold:    linear-gradient(135deg, #E6C97A 0%, #C9A14A 100%);
  --grad-mix:     linear-gradient(135deg, #5BD49A 0%, #2EAD6F 50%, #C9A14A 100%);

  --hero-glow-em:    rgba(46, 173, 111, 0.10);
  --hero-glow-gold:  rgba(201, 161, 74, 0.05);

  --shadow-soft:  0 1px 0 rgba(255,255,255,0.03), 0 8px 24px rgba(0,0,0,0.35);
  --shadow-card:  0 1px 2px rgba(0,0,0,0.4), 0 8px 24px rgba(0,0,0,0.3);

  --grain-blend: overlay;
  --grain-opacity: 0.5;
  --nav-bg: rgba(10, 14, 12, 0.78);
}

:root {
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "Menlo", monospace;

  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;

  --max-w:        1180px;
  --max-w-narrow: 780px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  /* Le background est désormais porté par .bg-fx (container fixed
     qui contient orbs + poussière + grain). Body est transparent
     pour qu'on voie ces effets en arrière-plan. */
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: color 0.3s ease;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

::selection { background: var(--emerald); color: var(--bg); }

/* ----------- Layout ----------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
.container-narrow { max-width: var(--max-w-narrow); }

.section { padding: 120px 0; position: relative; }
.section + .section { border-top: 1px solid var(--border-soft); }

/* ----------- Typo headings ----------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--emerald);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 22px;
  padding: 4px 12px;
  border: 1px solid rgba(46, 173, 111, 0.30);
  border-radius: 999px;
  background: rgba(46, 173, 111, 0.06);
}
.eyebrow-gold {
  color: var(--gold-2);
  border-color: rgba(181, 138, 43, 0.30);
  background: rgba(181, 138, 43, 0.06);
}
[data-theme="dark"] .eyebrow { color: var(--emerald-2); }
[data-theme="dark"] .eyebrow-gold { color: var(--gold-2); border-color: rgba(230, 201, 122, 0.25); background: rgba(201, 161, 74, 0.06); }

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  max-width: 22ch;
  /* Évite les orphelins : équilibre les lignes pour qu'aucun mot
     ne tombe seul sur la dernière. Supporté Chrome 114+ / Firefox
     121+ / Safari 17.5+, fallback gracieux sur les anciens. */
  text-wrap: balance;
}
.section-title em {
  font-style: italic;
  background: var(--grad-em);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 0 0.1em 0.06em 0;
  display: inline-block;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--text-mid);
  text-wrap: pretty;
  max-width: 60ch;
  margin: 0 0 56px;
}

/* ----------- Header / Nav ----------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 32px;
  border-bottom: 1px solid var(--border-soft);
  background: var(--nav-bg);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}
.brand em { font-style: italic; color: var(--emerald); font-weight: 400; }
[data-theme="dark"] .brand em { color: var(--emerald-2); }
.brand-mark { display: inline-flex; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-links a {
  color: var(--text-mid);
  font-size: 0.94rem;
  transition: color 0.18s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--text);
  color: var(--bg) !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.18s ease;
}
.nav-cta:hover {
  background: var(--emerald-2);
  color: var(--bg) !important;
}

.theme-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-mid);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
  padding: 0;
}
.theme-toggle:hover {
  border-color: var(--emerald);
  color: var(--emerald);
}
.theme-icon-sun, .theme-icon-moon { display: none; }
[data-theme="light"] .theme-icon-moon { display: block; }
[data-theme="dark"]  .theme-icon-sun  { display: block; }

@media (max-width: 760px) {
  .nav-links a:not(.nav-cta):not(.theme-toggle) { display: none; }
  .nav-links { gap: 12px; }
  /* CTA un peu plus compact pour tenir sur une seule ligne au mobile */
  .nav-cta { padding: 8px 14px; font-size: 0.88rem; }
}
@media (max-width: 420px) {
  /* Sur les très petits écrans, on raccourcit le libellé du CTA :
     le texte "Configurer" passe via ::before, "mon site" est masqué. */
  .nav-cta { font-size: 0.84rem; padding: 8px 12px; }
}

/* ----------- Buttons ----------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  font-family: inherit;
  text-align: center;
}
.btn-primary {
  background: var(--text);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--emerald-2);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  /* Bordure assez contrastée pour rester visible sur fond clair ET
     sur fond sombre (le hero notamment). */
  border-color: var(--text-mid);
}
.btn-ghost:hover {
  border-color: var(--emerald);
  color: var(--emerald);
}
.btn-secondary {
  background: rgba(181, 138, 43, 0.08);
  color: var(--gold-2);
  border-color: rgba(181, 138, 43, 0.35);
}
[data-theme="dark"] .btn-secondary {
  background: rgba(201, 161, 74, 0.08);
  border-color: rgba(201, 161, 74, 0.35);
}
.btn-secondary:hover {
  background: rgba(181, 138, 43, 0.16);
  border-color: var(--gold);
}
[data-theme="dark"] .btn-secondary:hover {
  background: rgba(201, 161, 74, 0.16);
}
.btn-block { width: 100%; }

/* ----------- Status pill ----------- */
.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(46, 173, 111, 0.10);
  border: 1px solid rgba(46, 173, 111, 0.30);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--emerald);
  letter-spacing: 0.04em;
  margin-bottom: 32px;
}
[data-theme="dark"] .status {
  background: rgba(46, 173, 111, 0.08);
  border-color: rgba(46, 173, 111, 0.25);
  color: var(--emerald-2);
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald-2);
  box-shadow: 0 0 10px rgba(46, 173, 111, 0.55);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.45; }
}

/* ----------- HERO ----------- */
.hero {
  position: relative;
  padding: 88px 0 120px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 50% at 70% 0%, var(--hero-glow-em), transparent 70%),
    radial-gradient(ellipse 55% 40% at 10% 30%, var(--hero-glow-gold), transparent 80%);
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 6.5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  max-width: 22ch;
  padding-right: 0.15em;
  text-wrap: balance;
}
.hero-title em {
  font-style: italic;
  font-weight: 500;
  background: var(--grad-em);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}
.hero-sub {
  font-size: 1.18rem;
  color: var(--text-mid);
  max-width: 56ch;
  margin: 0 0 40px;
  line-height: 1.55;
  /* Sur des paragraphes plus longs, `pretty` est plus adapté que
     `balance` : il optimise le dernier saut de ligne sans
     déséquilibrer les premières lignes. */
  text-wrap: pretty;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 72px; }
.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 36px;
  border-top: 1px solid var(--border-soft);
  max-width: 720px;
}
.hero-meta-item { display: flex; flex-direction: column; gap: 4px; }
.meta-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.8rem;
  color: var(--emerald);
  letter-spacing: -0.01em;
}
[data-theme="dark"] .meta-num { color: var(--emerald-2); }
.meta-label {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.4;
}
/* ==============================================================
   Animation de fond GLOBALE — container fixed qui couvre tout le
   viewport, derrière tout le contenu. L'effet (orbs + poussière +
   grain) est donc visible en permanence pendant le scroll, pas
   seulement sur le hero.
   ============================================================== */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  /* Le bg-fx prend la couleur de fond globale (le body devient
     transparent — cf. body { background: transparent } plus haut). */
  background: var(--bg);
}
/* Tous les éléments de premier niveau du body (header, main,
   footer, sticky CTAs) doivent être au-dessus du bg-fx. */
body > header,
body > main,
body > footer,
body > .sticky-cta,
body > nav { position: relative; z-index: 1; }

.bg-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.07 0'/></filter><rect width='120' height='120' filter='url(%23n)'/></svg>");
  opacity: var(--grain-opacity);
  mix-blend-mode: var(--grain-blend);
  animation: heroGrainBreath 14s ease-in-out infinite;
}
@keyframes heroGrainBreath {
  0%, 100% { opacity: var(--grain-opacity); }
  50%      { opacity: calc(var(--grain-opacity) * 1.12); }
}

/* Orbs flottants en tons RankUs (vert sapin, or doux, vert mousse).
   Blur massif + opacités fortes + drift+pulse désynchronisés pour
   un effet vivant mais haut de gamme. */
.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  opacity: 0.95;
  mix-blend-mode: darken;
  will-change: transform, opacity;
}
.bg-orb--sap {
  width: 780px; height: 780px;
  top: -220px; right: -140px;
  background: radial-gradient(circle, rgba(27, 120, 73, 0.62), transparent 65%);
  animation: rankusOrbDrift 28s ease-in-out infinite, rankusOrbBreath 12s ease-in-out infinite;
}
.bg-orb--gold {
  width: 600px; height: 600px;
  bottom: -130px; left: -80px;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.55), transparent 65%);
  animation: rankusOrbDrift 34s ease-in-out infinite reverse 3s, rankusOrbBreath 16s ease-in-out infinite 2s;
}
.bg-orb--moss {
  width: 480px; height: 480px;
  top: 28%; left: 38%;
  background: radial-gradient(circle, rgba(95, 160, 95, 0.42), transparent 70%);
  animation: rankusOrbDrift 31s ease-in-out infinite 6s, rankusOrbBreath 14s ease-in-out infinite 5s;
}
@keyframes rankusOrbDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(28px, -36px) scale(1.05); }
}
@keyframes rankusOrbBreath {
  0%, 100% { opacity: 0.95; }
  50%      { opacity: 0.78; }
}

/* En dark mode, on bascule en screen + couleurs un cran plus saturées */
[data-theme="dark"] .bg-orb {
  mix-blend-mode: screen;
  opacity: 0.85;
}
[data-theme="dark"] .bg-orb--sap  { background: radial-gradient(circle, rgba(95, 200, 140, 0.30), transparent 65%); }
[data-theme="dark"] .bg-orb--gold { background: radial-gradient(circle, rgba(232, 180, 50, 0.24), transparent 65%); }
[data-theme="dark"] .bg-orb--moss { background: radial-gradient(circle, rgba(120, 200, 130, 0.20), transparent 70%); }

@media (prefers-reduced-motion: reduce) {
  .bg-orb, .bg-grain { animation: none; }
}

/* Particules dorées en suspension — effet « poussière de lumière » */
.bg-dust {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.dust {
  position: absolute;
  left: var(--x, 50%);
  bottom: -10px;
  width: var(--s, 4px);
  height: var(--s, 4px);
  border-radius: 50%;
  background: rgba(212, 160, 23, 0.65);
  box-shadow: 0 0 8px rgba(212, 160, 23, 0.45);
  opacity: 0;
  filter: blur(0.4px);
  animation: dustFloat var(--d, 20s) ease-in-out var(--dl, 0s) infinite;
  will-change: transform, opacity;
}
.dust--green {
  background: rgba(95, 160, 95, 0.55);
  box-shadow: 0 0 9px rgba(95, 160, 95, 0.35);
}
.dust--bright {
  background: rgba(255, 215, 130, 0.85);
  box-shadow: 0 0 12px rgba(255, 215, 130, 0.55);
}
@keyframes dustFloat {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }
  10% { opacity: 0.9; }
  25% { transform: translate(8px, -14vh); }
  50% { transform: translate(-6px, -32vh); opacity: 0.85; }
  75% { transform: translate(10px, -55vh); opacity: 0.7; }
  90% { opacity: 0.4; }
  100% {
    /* Sortie en haut avec un dernier wobble horizontal pour casser la
       trajectoire rectiligne (effet vivant, jamais robotique). */
    transform: translate(-4px, -110vh);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dust { animation: none; opacity: 0; }
}

/* En dark mode, on assouplit le mix-blend-mode (multiply ne fonctionne
   pas pareil sur fond sombre) et on remonte légèrement les opacités. */
[data-theme="dark"] .hero-orb {
  mix-blend-mode: screen;
}
[data-theme="dark"] .hero-orb--sap  { background: radial-gradient(circle, rgba(95, 200, 140, 0.20), transparent 65%); }
[data-theme="dark"] .hero-orb--gold { background: radial-gradient(circle, rgba(232, 180, 50, 0.16), transparent 65%); }
[data-theme="dark"] .hero-orb--moss { background: radial-gradient(circle, rgba(120, 200, 130, 0.12), transparent 70%); }

@media (prefers-reduced-motion: reduce) {
  .hero-orb,
  .hero-grain {
    animation: none;
  }
}
@media (max-width: 600px) {
  .hero-meta { grid-template-columns: 1fr; gap: 18px; }
}

/* ----------- Manifeste ----------- */
.section-manifeste { background: var(--bg-soft); }
.grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.card-flat {
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow-card);
}
.card-flat:hover {
  border-color: rgba(46, 173, 111, 0.40);
  transform: translateY(-2px);
}
.card-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--emerald);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
[data-theme="dark"] .card-num { color: var(--emerald-2); }
.card-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.card-body { color: var(--text-mid); margin: 0; line-height: 1.55; }

@media (max-width: 800px) {
  .grid-4 { grid-template-columns: 1fr; }
}

/* ----------- Méthode / Piliers ----------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.pillar {
  padding: 36px 32px;
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow-card);
}
.pillar:hover { border-color: rgba(46, 173, 111, 0.45); }
.pillar-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.pillar-glyph {
  font-size: 1.4rem;
  color: var(--emerald);
}
[data-theme="dark"] .pillar-glyph { color: var(--emerald-2); }
.pillar-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.pillar p {
  color: var(--text-mid);
  margin: 0 0 20px;
  line-height: 1.6;
}
.pillar-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.pillar-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.94rem;
  color: var(--text-mid);
}
.pillar-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--emerald);
}

@media (max-width: 800px) {
  .pillars { grid-template-columns: 1fr; }
}

/* ----------- Contrainte ----------- */
.section-contrainte {
  background:
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(181, 138, 43, 0.06), transparent 70%),
    var(--bg);
}
[data-theme="dark"] .section-contrainte {
  background:
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(201, 161, 74, 0.06), transparent 70%),
    var(--bg);
}
.contrainte-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 64px;
  align-items: start;
}
.contrainte-lede {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--gold-2);
  margin: 0 0 32px;
  line-height: 1.4;
}
.contrainte-paragraphs p {
  color: var(--text-mid);
  margin: 0 0 18px;
  line-height: 1.7;
  font-size: 1.02rem;
}
.contrainte-cta { margin-top: 36px; }
.contrainte-note {
  margin: 14px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.contrainte-aside { position: sticky; top: 100px; }
.diagram {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  gap: 20px;
  box-shadow: var(--shadow-card);
}
.diagram-layer {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-soft);
}
.diagram-layer-1 { opacity: 0.7; }
.diagram-layer-2 {
  border-color: rgba(46, 173, 111, 0.40);
  background:
    linear-gradient(135deg, rgba(46, 173, 111, 0.10) 0%, rgba(181, 138, 43, 0.05) 100%),
    var(--bg-soft);
}
[data-theme="dark"] .diagram-layer-2 {
  background:
    linear-gradient(135deg, rgba(46, 173, 111, 0.10) 0%, rgba(201, 161, 74, 0.05) 100%),
    var(--bg-soft);
}
.diagram-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.diagram-metric {
  display: block;
  font-size: 0.82rem;
  color: var(--text-mid);
  margin-bottom: 4px;
  line-height: 1.3;
}
.diagram-pct {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}
.diagram-layer-1 .diagram-pct { color: var(--text-mid); }
.diagram-layer-2 .diagram-pct {
  background: var(--grad-em);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.diagram-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.diagram-vs {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--faint);
}

@media (max-width: 900px) {
  .contrainte-grid { grid-template-columns: 1fr; gap: 40px; }
  .contrainte-aside { position: static; }
}

/* ----------- Offre / Parcours ----------- */
.section-offre { background: var(--bg-soft); }
.parcours {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 20px;
}
.parcours-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  align-items: start;
  box-shadow: var(--shadow-card);
}
.parcours-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 3rem;
  line-height: 1;
  background: var(--grad-em);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
  padding-right: 0.12em;
}
.parcours-step h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.parcours-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gold-2);
  letter-spacing: 0.04em;
  margin: 0 0 16px;
}
.parcours-step p:last-child {
  color: var(--text-mid);
  margin: 0;
  line-height: 1.6;
}
@media (max-width: 700px) {
  .parcours-step { grid-template-columns: 1fr; gap: 14px; }
  .parcours-num { font-size: 2.2rem; }
}

/* ----------- Tarifs ----------- */
.section-tarifs { background: var(--bg); }
.tarifs-reasons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.reason {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  padding: 24px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  align-items: start;
  box-shadow: var(--shadow-card);
}
.reason-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 0.9;
  color: var(--emerald);
  font-weight: 600;
}
[data-theme="dark"] .reason-num { color: var(--emerald-2); }
.reason h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.reason p {
  margin: 0;
  color: var(--text-mid);
  font-size: 0.94rem;
  line-height: 1.55;
}

/* Encart au-dessus des cartes : rappelle que le SEO va avec un site. */
.tarifs-pack-notice {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 22px;
  margin: 0 0 24px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-left: 3px solid var(--emerald);
  border-radius: var(--radius);
}
.tarifs-pack-icon {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--emerald);
  margin-top: 2px;
}
[data-theme="dark"] .tarifs-pack-icon { color: var(--emerald-2); }
.tarifs-pack-notice p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-mid);
}
.tarifs-pack-notice strong { color: var(--text); }

.tarifs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.tarif-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  box-shadow: var(--shadow-card);
}
.tarif-card-feat {
  border-color: rgba(46, 173, 111, 0.45);
  background:
    linear-gradient(160deg, rgba(46, 173, 111, 0.06) 0%, rgba(181, 138, 43, 0.04) 100%),
    var(--surface);
}
[data-theme="dark"] .tarif-card-feat {
  background:
    linear-gradient(160deg, rgba(46, 173, 111, 0.06) 0%, rgba(201, 161, 74, 0.04) 100%),
    var(--surface);
}
.tarif-card-feat::before {
  content: "Recommandé";
  position: absolute;
  top: -10px;
  right: 24px;
  background: var(--grad-em);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 600;
}
.tarif-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--emerald);
  padding: 4px 10px;
  border: 1px solid rgba(46, 173, 111, 0.30);
  border-radius: 999px;
  align-self: flex-start;
  background: rgba(46, 173, 111, 0.05);
}
[data-theme="dark"] .tarif-tag { color: var(--emerald-2); }

.tarif-price {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.tarif-from {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tarif-amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text);
}
.tarif-period {
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--muted);
}

.tarif-desc {
  margin: 0;
  color: var(--text-mid);
  font-size: 0.96rem;
  line-height: 1.55;
}

.tarif-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  flex-grow: 1;
}
.tarif-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-mid);
  font-size: 0.94rem;
}
.tarif-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--emerald);
  font-weight: 700;
}
[data-theme="dark"] .tarif-list li::before { color: var(--emerald-2); }

.tarifs-foot {
  margin: 40px 0 0;
  text-align: center;
  color: var(--text-mid);
  font-size: 0.96rem;
  line-height: 1.6;
}
.tarifs-foot strong { color: var(--text); }

@media (max-width: 900px) {
  .tarifs-reasons { grid-template-columns: 1fr; }
  .tarifs-grid { grid-template-columns: 1fr; }
}

/* ----------- Disponibilité ----------- */
.section-dispo { background: var(--bg-soft); }
.dispo-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: start;
}
.dispo-lede {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-mid);
  margin: 0 0 28px;
}
.dispo-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}
.dispo-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text-mid);
  line-height: 1.55;
}
.dispo-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--emerald);
  font-weight: 600;
}
[data-theme="dark"] .dispo-list li::before { color: var(--emerald-2); }
.dispo-list strong { color: var(--text); font-weight: 600; }

.dispo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.dispo-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-mix);
}
.dispo-card-head {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.dispo-card-time {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 500;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.dispo-card-msg {
  color: var(--text-mid);
  margin: 0 0 28px;
  font-size: 0.96rem;
}

@media (max-width: 800px) {
  .dispo-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ----------- FAQ ----------- */
.section-faq { background: var(--bg); }
.faq { display: grid; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow-card);
}
.faq-item[open] { border-color: rgba(46, 173, 111, 0.40); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 26px;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--emerald);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
[data-theme="dark"] .faq-item summary::after { color: var(--emerald-2); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body {
  padding: 0 26px 24px;
  color: var(--text-mid);
}
.faq-body p { margin: 0 0 12px; line-height: 1.65; }
.faq-body p:last-child { margin: 0; }

/* ----------- Contact form ----------- */
.section-contact {
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(46, 173, 111, 0.06), transparent 70%),
    var(--bg-soft);
}
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-top: 32px;
  box-shadow: var(--shadow-card);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.contact-form label {
  display: block;
  margin-bottom: 16px;
}
.contact-form label > span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: inherit;
  font-size: 0.98rem;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--emerald);
  background: var(--surface-2);
}
.contact-form textarea { resize: vertical; min-height: 110px; font-family: inherit; }
.form-note {
  margin: 18px 0 0;
  font-size: 0.86rem;
  color: var(--muted);
  text-align: center;
}
.form-note a { color: var(--emerald); }
[data-theme="dark"] .form-note a { color: var(--emerald-2); }
.form-note a:hover { color: var(--gold-2); }
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 26px 22px; }
}

/* ----------- Footer ----------- */
.footer {
  background: var(--bg-soft);
  padding: 64px 0 24px;
  border-top: 1px solid var(--border-soft);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 4px;
}
.footer-brand em { font-style: italic; color: var(--emerald); font-weight: 400; }
[data-theme="dark"] .footer-brand em { color: var(--emerald-2); }
.footer-tag {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--text-mid);
  font-size: 0.92rem;
  transition: color 0.18s ease;
}
.footer-nav a:hover { color: var(--emerald); }
[data-theme="dark"] .footer-nav a:hover { color: var(--emerald-2); }
.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding-top: 20px;
}
.footer-bottom p {
  margin: 0;
  color: var(--faint);
  font-size: 0.82rem;
}
.footer-bottom a {
  color: var(--muted);
  transition: color 0.18s ease;
}
.footer-bottom a:hover { color: var(--emerald); }
[data-theme="dark"] .footer-bottom a:hover { color: var(--emerald-2); }

/* ----------- Hero micro-trust inline ----------- */
.hero-microtrust {
  list-style: none;
  padding: 0;
  margin: 0 0 56px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  font-size: 0.92rem;
  color: var(--text-mid);
}
.hero-microtrust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-microtrust .check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(46, 173, 111, 0.18);
  color: var(--emerald);
  font-size: 0.78rem;
  font-weight: 700;
}
[data-theme="dark"] .hero-microtrust .check { color: var(--emerald-2); }

/* ----------- Trust bar (sous hero) ----------- */
.trustbar {
  background: var(--bg-soft);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 28px 0;
}
.trustbar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
}
.trust-item .trust-icon {
  font-size: 1.8rem;
  color: var(--emerald);
  font-family: var(--font-mono);
  line-height: 1;
  margin-top: 0;
}
[data-theme="dark"] .trust-icon { color: var(--emerald-2); }
.trust-item strong {
  display: block;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--text);
  margin-bottom: 2px;
}
.trust-item span {
  font-size: 0.84rem;
  color: var(--muted);
}
@media (max-width: 800px) {
  .trustbar-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .trustbar-grid { grid-template-columns: 1fr; }
}

/* ----------- La Forge du Web — CTA création ----------- */
.section-forge {
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--bg) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-top: 88px;
  padding-bottom: 88px;
}
.forge-eyebrow {
  background: var(--accent, #1B7849);
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 700;
}
.forge-lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-mid);
  max-width: 640px;
  margin: 0 0 36px;
  text-wrap: pretty;
}
.section-forge .section-title { text-wrap: balance; }

.forge-unique {
  margin: 0 0 36px;
  padding: 22px 26px;
  background: var(--surface-soft, rgba(27, 120, 73, 0.05));
  border-left: 4px solid var(--accent, #1B7849);
  border-radius: 0 10px 10px 0;
}
.forge-unique-title {
  display: block;
  font-size: 19px;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.forge-unique-title em {
  font-style: italic;
  color: var(--accent, #1B7849);
}
.forge-unique-body {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-mid);
  text-wrap: pretty;
}
.forge-unique-body strong {
  color: var(--text);
}
@media (max-width: 720px) {
  .forge-unique { padding: 18px 18px; }
  .forge-unique-title { font-size: 17px; }
  .forge-unique-body { font-size: 14.5px; }
}

.forge-process {
  list-style: none;
  margin: 0 0 36px;
  padding: 24px 20px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.forge-process li {
  display: grid;
  gap: 4px;
  padding: 0 12px;
  border-left: 2px solid var(--border-soft);
}
.forge-process li:first-child { border-left: none; }
.forge-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent, #1B7849);
  color: #fff;
  font-weight: 700;
  margin-bottom: 6px;
}
.forge-process strong {
  font-size: 15px;
  color: var(--text);
}
.forge-process span:not(.forge-step-num) {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.45;
}
@media (max-width: 1080px) {
  /* Tablette : 5 cartes étroites passent mal — on prend 3 colonnes
     et la dernière ligne est plus aérée (3 + 2). */
  .forge-process { grid-template-columns: repeat(3, 1fr); }
  .forge-process li:nth-child(3n + 1) {
    border-left: none;
  }
}
@media (max-width: 720px) {
  /* Mobile : empilement vertical, séparateur horizontal léger. */
  .forge-process { grid-template-columns: 1fr; }
  .forge-process li {
    border-left: none;
    border-top: 1px solid var(--border-soft);
    padding: 12px 0 0;
  }
  .forge-process li:first-child {
    border-top: none;
    padding-top: 0;
  }
}
.forge-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.btn-forge {
  font-size: 16px;
  padding: 16px 28px;
  font-weight: 700;
}

/* ----------- Audit section ----------- */
.section-audit { background: var(--bg); }
.audit-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 56px;
  align-items: start;
}
.audit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
  counter-reset: audit;
}
.audit-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  align-items: start;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.audit-list li:hover {
  border-color: rgba(46, 173, 111, 0.40);
  transform: translateY(-1px);
}
.audit-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.8rem;
  line-height: 1;
  background: var(--grad-em);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.01em;
  padding-right: 0.1em;
}
.audit-list h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}
.audit-list p {
  margin: 0;
  color: var(--text-mid);
  font-size: 0.96rem;
  line-height: 1.55;
}

.audit-cta-card {
  position: sticky;
  top: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  text-align: center;
}
.audit-cta-card::before {
  content: "";
  display: block;
  height: 2px;
  background: var(--grad-mix);
  margin: -32px -32px 28px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.audit-cta-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
  margin: 0 0 8px;
}
.audit-cta-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0 0 16px;
  background: var(--grad-em);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.audit-cta-msg {
  margin: 0 0 22px;
  color: var(--text-mid);
  font-size: 0.92rem;
  line-height: 1.55;
}
.audit-cta-msg strong { color: var(--text); }
.audit-cta-foot {
  margin: 14px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .audit-grid { grid-template-columns: 1fr; gap: 36px; }
  .audit-cta-card { position: static; }
}

/* ----------- Engagements ----------- */
.section-engagements { background: var(--bg-soft); }
.engagements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.engagement {
  display: grid;
  grid-template-columns: 28px 1fr;
  column-gap: 16px;
  row-gap: 6px;
  padding: 26px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  align-items: start;
  box-shadow: var(--shadow-card);
}
.engagement h3 { grid-column: 2; }
.engagement p { grid-column: 1 / -1; }
.engagement-mark {
  grid-column: 1;
  grid-row: 1 / span 2;
  font-size: 1.1rem;
  color: var(--emerald);
  margin-top: 2px;
}
[data-theme="dark"] .engagement-mark { color: var(--emerald-2); }
.engagement h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
  text-wrap: balance;
}
.engagement p {
  margin: 0;
  color: var(--text-mid);
  font-size: 0.94rem;
  line-height: 1.55;
}
.engagements-honest {
  margin-top: 28px;
  padding: 22px 24px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: transparent;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}
.honest-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-2);
  border: 1px solid rgba(181, 138, 43, 0.30);
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(181, 138, 43, 0.06);
  white-space: nowrap;
}
[data-theme="dark"] .honest-tag { border-color: rgba(230, 201, 122, 0.25); background: rgba(201, 161, 74, 0.06); }
.engagements-honest p {
  margin: 0;
  color: var(--text-mid);
  font-size: 0.94rem;
  line-height: 1.6;
}
@media (max-width: 1000px) {
  .engagements-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .engagements-grid { grid-template-columns: 1fr; }
  .engagements-honest { grid-template-columns: 1fr; }
}

/* ----------- CTA final ----------- */
.section-final {
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(46, 173, 111, 0.06), transparent 70%),
    var(--bg-soft);
}
.final-inner { text-align: center; }
.final-inner .section-title { margin-left: auto; margin-right: auto; }
.final-inner .section-lead { margin-left: auto; margin-right: auto; }
.final-ctas {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.final-trust {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin: 0;
}

/* ----------- Drawer ----------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  visibility: hidden;
}
.drawer[aria-hidden="false"] {
  visibility: visible;
  pointer-events: auto;
}
.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 12, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
}
[data-theme="light"] .drawer-backdrop { background: rgba(20, 30, 25, 0.45); }
[data-theme="dark"] .drawer-backdrop { background: rgba(0, 0, 0, 0.6); }
.drawer[aria-hidden="false"] .drawer-backdrop { opacity: 1; }

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(480px, 100%);
  background: var(--bg);
  border-left: 1px solid var(--border);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.20);
  padding: 28px 32px 32px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
}
.drawer[aria-hidden="false"] .drawer-panel { transform: translateX(0); }

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}
.drawer-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 8px;
}
[data-theme="dark"] .drawer-eyebrow { color: var(--emerald-2); }
.drawer-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.drawer-close {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-mid);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.18s ease, color 0.18s ease;
  font-family: inherit;
}
.drawer-close:hover {
  border-color: var(--text);
  color: var(--text);
}

.drawer-form { display: flex; flex-direction: column; gap: 14px; }
.drawer-form label { display: block; }
.drawer-form label > span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.drawer-form input,
.drawer-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: inherit;
  font-size: 0.96rem;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.drawer-form input:focus,
.drawer-form textarea:focus {
  outline: none;
  border-color: var(--emerald);
  background: var(--surface-2);
}
.drawer-form textarea { resize: vertical; min-height: 90px; }
.drawer-form input[aria-invalid="true"],
.drawer-form textarea[aria-invalid="true"] {
  border-color: #C0392B;
  background: rgba(192, 57, 43, 0.06);
}
.drawer-error {
  margin: 0;
  font-size: 0.86rem;
  color: #C0392B;
}
.drawer-foot {
  margin: 8px 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}
.drawer-foot a { color: var(--emerald); text-decoration: underline; text-underline-offset: 2px; }
[data-theme="dark"] .drawer-foot a { color: var(--emerald-2); }

.drawer-success {
  text-align: center;
  padding: 32px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.drawer-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--grad-em);
  color: var(--bg);
  font-size: 1.6rem;
  font-weight: 700;
}
.drawer-success h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.02em;
}
.drawer-success p {
  margin: 0;
  color: var(--text-mid);
  line-height: 1.6;
}
.drawer-success a { color: var(--emerald); }
[data-theme="dark"] .drawer-success a { color: var(--emerald-2); }

@media (max-width: 520px) {
  .drawer-panel { padding: 22px 20px 28px; }
}

/* ----------- Sticky CTA ----------- */
.sticky-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid var(--emerald);
  background: var(--text);
  color: var(--bg);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.96rem;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.18s ease;
}
.sticky-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.sticky-cta:hover {
  background: var(--emerald-2);
}
.sticky-cta-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-2);
  box-shadow: 0 0 10px var(--emerald-2);
  animation: pulse 2s ease-in-out infinite;
}
.sticky-cta:hover .sticky-cta-dot { background: var(--bg); box-shadow: none; }
@media (max-width: 520px) {
  .sticky-cta {
    right: 16px;
    bottom: 16px;
    padding: 12px 18px;
    font-size: 0.9rem;
  }
}

/* ----------- Pages "doc" (mentions, politique) ----------- */
.doc-page { padding: 80px 0 120px; }
.doc-page .container { max-width: var(--max-w-narrow); }
.doc-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 36px;
  font-size: 0.94rem;
  color: var(--muted);
  transition: color 0.18s ease;
}
.doc-back:hover { color: var(--emerald); }
.doc-page h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 12px;
}
.doc-page .doc-updated {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 40px;
}
.doc-page h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 48px 0 12px;
}
.doc-page h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 28px 0 8px;
}
.doc-page p,
.doc-page li {
  color: var(--text-mid);
  line-height: 1.7;
  font-size: 1.02rem;
}
.doc-page p { margin: 0 0 14px; }
.doc-page ul,
.doc-page ol { padding-left: 22px; margin: 0 0 18px; }
.doc-page li { margin-bottom: 6px; }
.doc-page strong { color: var(--text); }
.doc-page a {
  color: var(--emerald);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
[data-theme="dark"] .doc-page a { color: var(--emerald-2); }
.doc-page a:hover { color: var(--gold-2); }
.doc-page .doc-tofill {
  background: rgba(181, 138, 43, 0.10);
  border: 1px dashed rgba(181, 138, 43, 0.4);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.88em;
  color: var(--gold-2);
}

/* ----------- Reveal on scroll ----------- */
.section-title,
.section-lead,
.card-flat,
.pillar,
.parcours-step,
.faq-item,
.dispo-card,
.reason,
.tarif-card,
.audit-list li,
.audit-cta-card,
.engagement,
.engagements-honest,
.trust-item {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.section-title.is-in,
.section-lead.is-in,
.card-flat.is-in,
.pillar.is-in,
.parcours-step.is-in,
.faq-item.is-in,
.dispo-card.is-in,
.reason.is-in,
.tarif-card.is-in,
.audit-list li.is-in,
.audit-cta-card.is-in,
.engagement.is-in,
.engagements-honest.is-in,
.trust-item.is-in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .section-title, .section-lead, .card-flat, .pillar, .parcours-step,
  .faq-item, .dispo-card, .reason, .tarif-card,
  .audit-list li, .audit-cta-card, .engagement, .engagements-honest, .trust-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .status-dot, .sticky-cta-dot { animation: none; }
  .drawer-panel { transition: none; }
}
