/* ============================================================
   SITE OBM — SABRINA
   Feuille de styles principale
   Police unique : Syne · Palette burgundy / blanc soie
   ============================================================ */

/* ---------- 1. VARIABLES ---------- */
:root {
  /* Palette principale — cream chaud / rose / rouge burgundy */
  --color-background: #FFFFFF;     /* Blanc pur (texte clair sur burgundy, cards crisp) */
  --color-page: #F1EBE5;           /* Cream chaud : fond de base + footer */
  --color-bg-light: #FFFFFF;       /* Blanc pur : sections claires */
  --color-accent: #3B0510;         /* Burgundy profond, accent principal */
  --color-text-primary: #1A1A1A;   /* Noir adouci, texte principal */
  --color-text-secondary: #4A3438; /* Burgundy désaturé, texte secondaire */

  /* Palette secondaire — rose pâle & doux (frais, non grisé) */
  --color-surface-subtle: #F9E7EC; /* Rose pâle, tags & surfaces */
  --color-surface-soft: #FCEFF2;   /* Rose très pâle, fond de cards douces */
  --color-tint: #FBEEF1;           /* Rose très pâle, fond de section alterné */
  --color-accent-soft: #D592A4;    /* Rose tendre soutenu, numéros & accents */
  --color-pink: #F3D2DC;           /* Rose doux, touches d'accent */
  --color-surface-card: #FFFFFF;   /* Blanc pur, cards qui se détachent */

  /* Typographie : Syne (titres) + DM Sans (corps) */
  --font-display: 'Syne', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;

  /* Espacements (multiples de 8) */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-7: 56px;
  --space-10: 80px;

  /* Mise en page */
  --max-width: 1280px;
  --section-px: 80px;  /* padding horizontal section desktop */
  --header-h: 76px;

  /* Transitions */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- 2. RESET / BASE ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background-color: var(--color-page);
  color: var(--color-text-primary);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Titres & repères en Syne (police d'affichage) */
h1, h2, h3,
.logo,
.hero-title,
.section-title,
.bullet-title,
.bullet-num,
.check-num,
.acc-num,
.step-num,
.cta-title,
.key-figure-num,
.section-tag {
  font-family: var(--font-display);
}

h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

/* ---------- 3. ÉLÉMENTS RÉUTILISABLES ---------- */

/* Sur-titre étiquette (uppercase, espacé, burgundy) */
.overline {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0;
}
.overline-rule {
  display: inline-block;
  width: 48px;
  height: 1px;
  background-color: var(--color-accent);
}

/* Étiquette verticale de section "/ 01" */
.section-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Boutons — coins droits, pas de bombé.
   Fill sweep au hover (le fond se remplit du bas vers le haut). */
.btn {
  position: relative;
  display: inline-block;
  overflow: hidden;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 15px 28px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out-expo);
}
.btn .btn-label { position: relative; z-index: 2; transition: color 0.3s var(--ease); }
.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-surface-card);
}
/* Couche de remplissage qui monte au survol */
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #260308;
  transform: translateY(101%);
  transition: transform 0.45s var(--ease-out-expo);
  z-index: 1;
}
.btn-primary:hover::before { transform: translateY(0); }

/* Lien souligné animé */
.link-underline {
  position: relative;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-accent);
  padding-bottom: 2px;
}
.link-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-accent);
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}
.link-underline:hover::after {
  transform: scaleX(0);
  transform-origin: right;
}
.link-underline::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease) 0.05s;
}
.link-underline:hover::before {
  transform: scaleX(1);
}

/* ---------- 4. HEADER ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  /* Par défaut : transparent, au-dessus du Hero burgundy (texte clair) */
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
/* État « solide » : une fois le Hero dépassé, fond blanc + texte foncé */
.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: rgba(26, 26, 26, 0.08);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 var(--section-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.logo {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--color-background); /* clair sur le Hero */
  transition: color 0.3s var(--ease);
}
.nav { margin-left: auto; } /* groupe la nav à droite, près du CTA */
.nav-list {
  display: flex;
  gap: var(--space-4);
}
.nav-list a {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-background); /* clair sur le Hero */
  transition: color 0.2s var(--ease);
}
.nav-list a:hover { color: var(--color-accent-soft); } /* survol : couleur seule, sans trait */
.header-cta { padding: 11px 20px; }

/* CTA du header par défaut : inversé (crème) pour ressortir sur le burgundy */
.header-cta.btn-primary { background-color: var(--color-background); color: var(--color-accent); }
.header-cta.btn-primary::before { background-color: var(--color-surface-subtle); }

/* --- Header solide (scrollé) : bascule en texte foncé / CTA burgundy --- */
.site-header.scrolled .logo { color: var(--color-text-primary); }
.site-header.scrolled .nav-list a { color: var(--color-text-primary); }
.site-header.scrolled .nav-list a:hover { color: var(--color-accent-soft); }
.site-header.scrolled .header-cta.btn-primary { background-color: var(--color-accent); color: var(--color-surface-card); }
.site-header.scrolled .header-cta.btn-primary::before { background-color: var(--color-surface-subtle); }
/* Au survol : remplissage clair + texte burgundy */
.header-cta.btn-primary:hover .btn-label { color: var(--color-accent); }
.site-header.scrolled .nav-toggle span { background-color: var(--color-text-primary); }

/* Hamburger (caché desktop) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background-color: var(--color-background); /* clair sur le Hero */
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), background-color 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Menu mobile (déroulant) */
.mobile-nav {
  display: none;
  background-color: var(--color-background);
  border-top: 1px solid rgba(26, 26, 26, 0.08);
  padding: var(--space-2) var(--section-px) var(--space-4);
}
.mobile-nav.open { display: block; }
.mobile-nav ul { display: flex; flex-direction: column; gap: var(--space-3); padding-top: var(--space-3); }
.mobile-nav a { font-size: 16px; font-weight: 500; }
.mobile-nav .btn { align-self: flex-start; }

/* ---------- 5. SECTION 1 — HERO (plein écran centré) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 32px) var(--section-px) 96px;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 2; /* au-dessus de l'animation de fond */
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 920px;
}

/* Sur-titre centré, avec trait fin au-dessus.
   Agrandi pour un meilleur rapport d'échelle avec le grand titre. */
.overline--center {
  flex-direction: column;
  gap: var(--space-2);
  font-size: 13px;
  letter-spacing: 3px;
}
.overline--center .overline-rule { width: 64px; }
.overline > span:last-child { display: inline-block; }

/* Titre — très grand, centré, reveal ligne par ligne */
.hero-title {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -2.5px;
  color: var(--color-text-primary);
  margin: clamp(32px, 4vw, 48px) 0 0;
}
.hero-title em { color: var(--color-accent); font-style: italic; }

/* Masque par ligne : le texte glisse depuis le bas */
.line-mask {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em; /* évite de couper les jambages */
}
.line-inner {
  display: block;
  transform: translateY(110%);
  transition: transform 0.9s var(--ease-out-expo);
  transition-delay: calc(var(--i) * 0.09s + 0.15s);
}
body.loaded .line-inner { transform: translateY(0); }

.hero-subtitle {
  font-size: 19px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-text-secondary);
  max-width: 620px;
  margin-top: 32px;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-top: clamp(56px, 6vw, 64px);
  flex-wrap: wrap;
}

/* Apparition au chargement (stagger) pour les éléments hors titre */
.hero-stagger {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
  transition-delay: calc(var(--i) * 0.08s + 0.1s);
}
body.loaded .hero-stagger { opacity: 1; transform: translateY(0); }

/* Flèche d'invitation au scroll, bas-centre */
.scroll-arrow {
  position: absolute;
  z-index: 2; /* au-dessus de l'animation de fond */
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--color-accent);
}
.scroll-arrow svg { width: 22px; height: 22px; animation: scroll-bounce 2s ease-in-out infinite; }
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* ====== HERO — fond burgundy plein, texte clair ====== */
.hero { background-color: var(--color-accent); }
.hero .hero-title { color: var(--color-background); }
.hero .hero-title em { color: var(--color-accent-soft); }
.hero .overline { color: #E8C4C4; }
.hero .overline-rule { background-color: #E8C4C4; }
.hero .hero-subtitle { color: var(--color-surface-subtle); }
.hero .scroll-arrow { color: var(--color-accent-soft); }
/* CTA du Hero : fond rose (comme « obligée »), texte blanc ;
   au survol, remplissage burgundy (le texte blanc reste lisible) */
.hero .btn-primary { background-color: var(--color-accent-soft); color: #FFFFFF; }
.hero .btn-primary::before { background-color: var(--color-accent); }
.hero .link-underline { color: var(--color-background); }
.hero .link-underline::after,
.hero .link-underline::before { background-color: var(--color-background); }

/* ============================================================
   UTILITAIRES DE SECTION (réutilisés par toutes les sections)
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-px);
}
.section {
  padding: clamp(72px, 9vw, 120px) 0;
  background-color: var(--color-bg-light); /* blanc cassé chaud par défaut */
}
/* Alternance : sections teintées, aplat rose très pâle */
.section--tint { background-color: var(--color-tint); }
/* Sur fond teinté, les cards passent en blanc pour se détacher
   (sauf la card mise en avant, qui garde son fond burgundy) */
.section--tint .bullet,
.section--tint .step:not(.step--highlight) { background-color: var(--color-surface-card); }

/* En-tête de section : overline + titre (gauche) / sous-titre (droite) */
.section-head { margin-bottom: clamp(48px, 6vw, 72px); }
.section-head-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-5);
  align-items: end;
}
.section-title {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--color-text-primary);
}
.section-title em { color: var(--color-accent); font-style: italic; }
.section--methode .section-title em,
.section--quotidien .section-title em,
.section--perimetre .section-title em { color: var(--color-accent-soft); } /* titres clés en rose */
.section-subtitle {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-secondary);
  max-width: 42ch;
  padding-bottom: 4px;
}

/* ---------- SECTION 2 — TA PLACE DE CEO (cards contour, pastille en haut) ---------- */
/* Fond blanc pur (plus blanc que les autres sections claires) */
.section--ceo { background-color: #FFFFFF; }

/* Sous-titre empilé sous le titre (à gauche) */
.section-head--stack .section-subtitle { margin-top: var(--space-3); }
/* Section 5 : sous-titre sur une seule ligne */
.section--perimetre .section-subtitle { max-width: none; }
/* Astérisque de renvoi (titre ↔ sous-titre) */
.aster { color: var(--color-accent-soft); font-weight: 700; }

/* En-tête empilé : titre (2 lignes, gauche) + sous-titre centré + flèche */
.section--ceo .section-head { margin-bottom: clamp(36px, 4vw, 56px); }
.section-head--stack { text-align: left; }
.section--ceo .section-title em { color: var(--color-accent-soft); } /* « ton temps et ton énergie » en rose */
.section-lead-sub {
  margin-top: var(--space-3);
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.1vw, 24px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.3px;
  color: var(--color-accent);
}

/* Flèche éditoriale manuscrite : du titre vers les cards */
.ceo-arrow {
  display: flex;
  justify-content: center;
  margin-top: var(--space-3);
  color: var(--color-accent);
}
.ceo-arrow svg {
  width: clamp(54px, 6vw, 76px);
  height: auto;
}

/* Sous-titre sous les cards, dans un encadré à angles droits, avec « = » */
.ceo-equals {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: clamp(48px, 6vw, 72px) auto 0;
  padding: 12px 22px;
  border: 1.5px solid var(--color-accent-soft);
  border-radius: 0;
  background-color: var(--color-surface-soft);
  font-size: clamp(13px, 1.4vw, 15px);
  font-weight: 500;
}
.ceo-eq { color: var(--color-accent-soft); font-weight: 700; }

.bullet-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 1.6vw, 22px);
  padding-top: 18px; /* place pour la pastille qui chevauche */
}
.bullet {
  position: relative;
  text-align: center;
  padding: clamp(36px, 3vw, 46px) clamp(18px, 1.6vw, 26px) clamp(28px, 3vw, 36px);
  background-color: var(--color-surface-card);
  border: 1px solid rgba(59, 5, 16, 0.18);
  border-radius: 20px;
  cursor: default;
  transition: transform 0.4s var(--ease-out-expo),
              border-color 0.35s var(--ease),
              box-shadow 0.4s var(--ease-out-expo);
}
.bullet:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent);
  box-shadow: 0 20px 44px -22px rgba(59, 5, 16, 0.28);
}

/* Titre dans une pastille burgundy chevauchant le haut de la card */
.bullet-pill {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  white-space: nowrap;
  padding: 10px 20px;
  background-color: var(--color-accent);
  color: var(--color-background);
  font-family: var(--font-display);
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.2px;
  border-radius: 100px;
  box-shadow: 0 8px 20px -10px rgba(59, 5, 16, 0.5);
  transition: transform 0.4s var(--ease-out-expo);
}
.bullet:hover .bullet-pill { transform: translate(-50%, -50%) scale(1.05); }

.bullet-desc {
  margin: 0 auto;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-secondary);
  max-width: 30ch;
}

/* Texte d'introduction (lead) — réutilisé S4 & S7 */
.lead {
  max-width: 760px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.lead p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text-secondary);
}
.lead p + p { margin-top: var(--space-3); }

/* Sections 4 & 7 : intro plus large (marge droite réduite) */
.section--methode .lead,
.section--role .lead { max-width: 1040px; }
/* Section 7 : intro un peu plus proche du titre */
.section--methode .section-head { margin-bottom: clamp(30px, 4vw, 46px); }
/* Section 7 : dernier paragraphe en évidence */
.section--methode .lead p:last-child {
  margin-top: clamp(38px, 4.5vw, 52px);
  font-family: var(--font-display);
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.3px;
  color: var(--color-text-primary);
}
/* Section 4 : 1re phrase en évidence ; texte placé sous les cards */
.section--role .lead p:first-child {
  margin-bottom: var(--space-3);
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.3px;
  color: var(--color-text-primary);
}
.lead--after { margin: clamp(40px, 5vw, 64px) 0 0; }

/* Liste à puces fléchées (intro Section 7) */
.arrow-intro {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-3);
}
.arrow-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-left: clamp(20px, 2.5vw, 36px);
}
.arrow-list li {
  position: relative;
  padding-left: 32px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-secondary);
}
/* Flèche fine (trait léger) */
.arrow-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 20px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B0510' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='3' y1='12' x2='20' y2='12'/%3E%3Cpolyline points='14 6 20 12 14 18'/%3E%3C/svg%3E") no-repeat center / contain;
}
/* Bulle inline « un véritable bras droit dans ton business » */
.lead-bubble {
  display: inline-block;
  vertical-align: middle;
  margin: 4px 0 4px 4px;
  padding: 7px 16px;
  background-color: var(--color-accent);
  color: #FFFFFF;
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: clamp(14px, 1.4vw, 17px);
  font-weight: 600;
  line-height: 1.3;
}

/* Phrase clé précédée d'une flèche (sans cadre) */
.lead .lead-box {
  position: relative;
  margin-top: 58px;
  padding-left: 34px;
  font-family: var(--font-display);
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.2px;
  color: var(--color-accent);
}
.lead .lead-box::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.38em;
  width: 22px;
  height: 15px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B0510' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='3' y1='12' x2='20' y2='12'/%3E%3Cpolyline points='14 6 20 12 14 18'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ---------- SECTION 3 — TON QUOTIDIEN (encadrés angles droits) ---------- */
.checklist {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.4vw, 18px);
}
.check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
  padding: clamp(24px, 2.8vw, 34px) clamp(24px, 3vw, 38px);
  background-color: var(--color-surface-card);
  border: 1px solid rgba(59, 5, 16, 0.12);
  border-radius: 0;
  box-shadow: 0 12px 28px -20px rgba(59, 5, 16, 0.2);
}
.check-num {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -1.5px;
  color: var(--color-accent-soft);
}
.check-title {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.3px;
  color: var(--color-text-primary);
}
.check-desc {
  margin-top: var(--space-2);
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  max-width: 72ch;
}

/* Bloc de bascule — bande burgundy pleine largeur, bloc à part entière */
.bascule {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 6vw, 72px) 0;
  background-color: var(--color-accent);
}
.bascule::before {
  content: "“";
  position: absolute;
  top: -0.24em;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(150px, 18vw, 240px);
  line-height: 1;
  color: rgba(254, 254, 254, 0.06);
  pointer-events: none;
}
.bascule-quote {
  position: relative;
  margin: 0 auto;
  max-width: 62ch;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(15px, 1.8vw, 21px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.4px;
  color: var(--color-background);
}

/* ---------- SECTION 4 — MON RÔLE (cartes inclinées) ---------- */
.role-cards {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: clamp(16px, 1.6vw, 24px);
  padding: clamp(16px, 2.5vw, 32px) 0;
}
.role-card {
  flex: none;
  width: clamp(270px, 25vw, 340px);
  padding: clamp(30px, 2.6vw, 42px);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 50px -32px rgba(40, 20, 24, 0.42);
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo);
  cursor: default;
}

/* Au survol : la carte monte légèrement */
.role-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 40px 70px -32px rgba(40, 20, 24, 0.5);
}

/* Carte du milieu mise en avant par défaut */
.role-card--accent { z-index: 3; }
.role-card--dark { z-index: 2; }
.role-card--cream { z-index: 1; }

/* Variantes de teinte */
.role-card--cream { background-color: var(--color-surface-soft); }
.role-card--cream .role-card-title { color: var(--color-accent); }
.role-card--cream .role-card-text { color: var(--color-text-secondary); }

.role-card--accent { background-color: var(--color-accent); }
.role-card--accent .role-card-title { color: var(--color-background); }
.role-card--accent .role-card-text { color: var(--color-surface-subtle); }

.role-card--dark { background-color: #271B1E; }
.role-card--dark .role-card-title { color: var(--color-accent-soft); }
.role-card--dark .role-card-text { color: #D8CFCF; }

.role-card-title {
  font-size: clamp(24px, 2.1vw, 30px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.8px;
  white-space: nowrap;
  margin-bottom: clamp(14px, 1.6vw, 18px);
}
/* Bulle de résumé sous le titre */
.role-card-bubble {
  align-self: flex-start;
  max-width: 100%;
  margin: 0 0 clamp(16px, 2vw, 22px);
  padding: 10px 16px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}
.role-card--cream .role-card-bubble { background-color: var(--color-accent); color: #FFFFFF; }
.role-card--accent .role-card-bubble {
  background-color: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #FFFFFF;
}
.role-card--dark .role-card-bubble {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-accent-soft);
}
.role-card-text {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
}

/* ---------- SECTION 5 — PÉRIMÈTRE (cards modernes, statiques) ---------- */
.scope-grid {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.4vw, 18px);
  margin-bottom: clamp(48px, 6vw, 80px);
}
/* Cards en ligne : icône+label | texte | tags */
.scope-card {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  padding: clamp(22px, 2.2vw, 30px) clamp(26px, 2.6vw, 36px);
  background-color: var(--color-surface-card);
  border: 1px solid rgba(59, 5, 16, 0.12);
  border-radius: 16px;
  box-shadow: 0 14px 34px -24px rgba(59, 5, 16, 0.25);
  transition: transform 0.4s var(--ease-out-expo),
              box-shadow 0.4s var(--ease-out-expo),
              border-color 0.35s var(--ease);
}
.scope-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 5, 16, 0.22);
  box-shadow: 0 26px 50px -26px rgba(59, 5, 16, 0.3);
}

/* Rangée pictogramme + nom de la card (colonne de gauche) */
.scope-head-row {
  flex: 0 0 auto;
  width: clamp(190px, 19vw, 250px);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0;
}
.scope-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background-color: var(--color-surface-subtle);
  color: var(--color-accent);
}
.scope-icon svg { width: 20px; height: 20px; }
.scope-overline {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-accent);
}
.scope-title {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.2px;
  color: var(--color-text-primary);
  margin-bottom: var(--space-3);
}
/* Titre placé dans la rangée de l'icône (card sans label) */
.scope-title--head { margin-bottom: 0; }
.scope-desc {
  flex: 1;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: 0;
}
.tags {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--space-1);
  margin-top: 0;
  max-width: 250px;
}
.tag {
  font-size: 11px;
  font-weight: 500;
  color: var(--color-accent);
  background-color: var(--color-surface-subtle);
  padding: 5px 12px;
  border-radius: 100px;
}

/* Ce qui sort de mon périmètre */
.exclude { padding-top: var(--space-4); }
.exclude .overline { margin-bottom: var(--space-5); }
.exclude-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px);
}
.exclude-item { padding-top: var(--space-3); border-top: 2px solid var(--color-accent); }
.exclude-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-text-primary);
}
.exclude-desc {
  margin-top: var(--space-2);
  font-size: 13px;
  line-height: 1.65;
  color: var(--color-text-secondary);
}

/* ---------- SECTION 6 — QUI JE SUIS ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.about-photo {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  margin: 0;
  aspect-ratio: 1 / 1.15;
  border-radius: 20px;
  overflow: hidden;
  background-color: var(--color-surface-soft);
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top; /* cadrage haut : visage + buste, pieds coupés */
  display: block;
}
.about-text p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-secondary);
}
.about-text p + p { margin-top: var(--space-4); }
/* 1re phrase de chaque paragraphe : bulle rose (opacité réduite, angles droits) */
.about-lead {
  display: inline-block;
  margin: 0 8px 6px 0;
  padding: 6px 15px;
  background-color: rgba(243, 210, 220, 0.55);
  color: var(--color-accent);
  border-radius: 0;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.2px;
}

/* ---------- SECTION 7 — COMMENT ON TRAVAILLE ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.8vw, 24px);
  margin-bottom: var(--space-3);
}
/* Note « Sur devis » sous les cards */
.steps-note {
  margin: 0 0 clamp(40px, 5vw, 64px);
  text-align: right;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-accent-soft);
}
/* Empilement : chaque card passe au-dessus de la suivante,
   pour que la flèche (sur la card précédente) reste au premier plan */
.step:nth-child(1) { z-index: 3; }
.step:nth-child(2) { z-index: 2; }
.step:nth-child(3) { z-index: 1; }
.step {
  position: relative;
  padding: clamp(28px, 3vw, 40px);
  background-color: var(--color-surface-soft);
  border: 1px solid transparent;
  border-radius: 16px;
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
}
.step:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(59, 5, 16, 0.22); }

/* Flèche de continuité entre les cards (desktop : pointe à droite) */
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 20;
  top: 50%;
  right: -33px;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background-color: var(--color-pink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B0510' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='4' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='13 6 19 12 13 18'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px;
  border: 1px solid rgba(59, 5, 16, 0.12);
  border-radius: 50%;
  box-shadow: 0 10px 24px -10px rgba(59, 5, 16, 0.4);
}
.step-num {
  display: block;
  font-size: clamp(36px, 3.6vw, 48px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -2px;
  color: var(--color-accent-soft);
  margin-bottom: var(--space-3);
}
.step-title {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.3px;
  color: var(--color-text-primary);
  min-height: 50px; /* aligne les descriptions des 3 cards */
}
.step-meta {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-accent-soft);
}
.step-desc {
  margin-top: var(--space-3);
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-secondary);
}
/* Étape mise en avant : long terme */
.step--highlight {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}
.step--highlight:hover { box-shadow: 0 22px 50px -22px rgba(59, 5, 16, 0.5); }
.step--highlight .step-num { color: var(--color-accent-soft); }
.step--highlight .step-title { color: var(--color-background); }
.step--highlight .step-desc { color: var(--color-surface-subtle); }
.step-badge {
  position: absolute;
  top: clamp(22px, 2.4vw, 30px);
  right: clamp(22px, 2.4vw, 30px);
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-accent);
  background-color: var(--color-background);
  padding: 5px 12px;
  border-radius: 100px;
}

/* Bloc d'ancrage + CTA */
.anchor-block {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(32px, 4vw, 48px) 0 0;
}
.anchor-text {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.4px;
  color: var(--color-text-primary);
}
.anchor-text em { color: var(--color-accent); font-style: italic; }
/* Badge de rareté */
.anchor-availability {
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
  padding: 7px 16px;
  background-color: var(--color-accent-soft);
  color: #FFFFFF;
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.anchor-sub {
  margin-top: var(--space-2);
  font-size: 15px;
  color: var(--color-text-secondary);
}
.anchor-block .btn { margin-top: var(--space-7); }

/* ---------- SECTION 8 — TÉMOIGNAGES ---------- */
.testimonials {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(20px, 2.4vw, 32px);
  align-items: stretch;
}
.testi {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: clamp(20px, 2.4vw, 28px);
  background-color: var(--color-surface-soft);
  border-radius: 16px;
}
/* Témoignage avec vidéo portrait : vidéo à gauche, infos à droite */
.testi--video { flex-direction: row; align-items: stretch; gap: clamp(20px, 2.4vw, 28px); }
.testi-video {
  flex: none;
  width: 44%;
  max-width: 280px;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  overflow: hidden;
  background-color: #260308;
}
.testi-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.testi-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.testi-caption {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-text-primary);
}
.testi-mission-label {
  margin-top: var(--space-3);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-accent);
}
.testi-mission-text {
  margin-top: 3px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-text-primary);
}
.testi-quote {
  margin-top: var(--space-2);
  font-size: 14px;
  font-style: italic;
  color: var(--color-accent-soft);
}
.testi--soon {
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: transparent;
  border: 1.5px dashed rgba(59, 5, 16, 0.22);
}
.testi-soon-text {
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-accent-soft);
  max-width: 22ch;
}

/* ---------- SECTION 9 — PROCHAINE ÉTAPE (CTA burgundy) ---------- */
.cta-section {
  background-color: var(--color-accent);
  padding: clamp(80px, 11vw, 140px) 0;
  text-align: center;
}
.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-section .overline { color: #E8C4C4; }
.cta-section .overline-rule { background-color: #E8C4C4; }
.cta-title {
  margin-top: var(--space-4);
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--color-background);
  max-width: 16ch;
}
.cta-title em { color: var(--color-accent-soft); font-style: italic; }
.cta-text {
  margin-top: var(--space-4);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-surface-subtle);
  max-width: 52ch;
}
.cta-section .reveal { margin-top: var(--space-5); }
/* CTA inversé sur fond burgundy */
.cta-section .btn-primary { background-color: var(--color-background); color: var(--color-accent); }
.cta-section .btn-primary::before { background-color: var(--color-surface-subtle); }
.cta-btn { padding: 17px 34px; font-size: 14px; }

/* ---------- FOOTER ---------- */
.site-footer {
  padding: clamp(40px, 5vw, 56px) 0;
  background-color: var(--color-page);
  border-top: 1px solid var(--color-surface-subtle);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.footer-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-primary);
}
.footer-meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-size: 13px;
  color: var(--color-text-secondary);
}
.footer-legal {
  color: var(--color-text-secondary);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.footer-legal:hover { color: var(--color-accent); border-bottom-color: var(--color-accent); }

/* ---------- 6. ANIMATIONS AU SCROLL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: calc(var(--i, 0) * 0.08s);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-stagger,
  body.loaded .hero-stagger { opacity: 1; transform: none; transition: none; }
  .line-inner,
  body.loaded .line-inner { transform: none; transition: none; }
  .scroll-arrow svg { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 7. RESPONSIVE ---------- */

/* Tablette */
@media (max-width: 1024px) {
  :root { --section-px: 48px; }
  .section-head-grid { grid-template-columns: 1fr; gap: var(--space-3); align-items: start; }
  .bullet-grid { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .scope-head-row { width: clamp(150px, 22vw, 210px); }
  .steps { grid-template-columns: 1fr; }
  /* Cards empilées : la flèche pointe vers le bas */
  .step:not(:last-child)::after {
    top: auto;
    bottom: -33px;
    right: auto;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
  }
  .exclude-list { grid-template-columns: 1fr; gap: var(--space-4); }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { position: relative; top: 0; max-width: 360px; }
}

/* Mobile */
@media (max-width: 768px) {
  :root { --section-px: 24px; }

  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .hero {
    padding: calc(var(--header-h) + 32px) var(--section-px) 88px;
  }
  .hero-title {
    font-size: clamp(40px, 13vw, 64px);
    letter-spacing: -1.4px;
  }
  .hero-subtitle { font-size: 17px; }
  .hero-actions { gap: var(--space-3); width: 100%; flex-direction: column; }
  .hero-actions .btn { width: auto; text-align: center; }
  .hero-actions .link-underline { margin: 0 auto; }

  /* Grilles en colonne unique sur mobile */
  .bullet-grid { grid-template-columns: 1fr; row-gap: 34px; }
  /* Cards périmètre : intérieur empilé sur mobile */
  .scope-card { flex-direction: column; align-items: flex-start; gap: var(--space-3); }
  .scope-head-row { width: auto; }
  .tags { justify-content: flex-start; max-width: none; }
  .testimonials { grid-template-columns: 1fr; }
  .testi--video { flex-direction: column; }
  .testi--video .testi-video { width: 100%; max-width: 260px; }

  /* Section 4 : cartes redressées et empilées */
  .role-cards { flex-direction: column; align-items: stretch; gap: var(--space-3); padding: var(--space-3) 0; }
  .role-card {
    width: 100%;
    min-height: 0;
    margin-left: 0;
    transform: none;
    box-shadow: 0 16px 36px -24px rgba(40, 20, 24, 0.4);
  }
  .role-card:not(:first-child) { margin-left: 0; }
  .check { grid-template-columns: 1fr; gap: var(--space-2); }
  .anchor-block .btn { width: auto; text-align: center; }
}
