/* =================================================================
   OBJECTIFS CARRIÈRES — design system
   Accompagnement des carrières, spécialité sanitaire & social.
   Élégance chaleureuse & féminine : aubergine profond + vieux-rose,
   or rosé, ivoire rosé. Tout est piloté par des tokens.
   ================================================================= */

:root {
  /* — Palette — */
  --paper:      #FBF6F1;   /* fond principal, ivoire rosé */
  --paper-2:    #F5EAE3;   /* panneaux, alternance */
  --paper-3:    #EEDDD4;   /* encarts */
  --ink:        #2D2230;   /* prune-charbon, titres & texte fort */
  --ink-2:      #4C3D49;   /* texte courant */
  --muted:      #8A7882;   /* texte secondaire, mauve grisé */
  --plum:       #3B2140;   /* aubergine profond, sections sombres */
  --plum-2:     #57315A;   /* aubergine clair, cartes sur sombre */
  --gold:       #C2996F;   /* or rosé / champagne cuivré, accent prestige */
  --gold-soft:  #D6B189;
  --gold-wash:  #F1E4D5;
  --bordeaux:   #A8466A;   /* VIEUX-ROSE — accent principal, CTA, filets */
  --bordeaux-2: #C25E80;   /* vieux-rose clair, survols */
  --bordeaux-wash: #F7E2EA; /* rose très clair, encarts, focus */
  --rose:       #E6A9BD;   /* rose clair sur fonds sombres */
  --saumon:     #E6917A;   /* saumon, touche chaude secondaire */
  --blue:       #8C6E94;   /* mauve / parme, secondaire */
  --line:       #E9D8D1;   /* filets */
  --line-soft:  #F2E7E0;
  --pencil:     #4A3340;   /* graphite des tracés */
  --white:      #FFFFFF;

  /* — Typo — */
  --font-display: "Cormorant Garamond", "Hoefler Text", Georgia, serif;
  --font-sans: "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* — Mesures — */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 4px;
  --shadow-soft: 0 24px 60px -32px rgba(59, 33, 64, .34);
  --shadow-card: 0 18px 44px -28px rgba(59, 33, 64, .28);

  /* — Animation — */
  --ease: cubic-bezier(.22, .68, .18, 1);
  --slow: 1.1s;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Grain de papier très subtil */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.06;
  margin: 0;
  letter-spacing: -0.005em;
}

p { margin: 0 0 1.1em; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

/* — Utilitaires de mise en page — */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

.section { padding-block: clamp(72px, 10vw, 132px); position: relative; }
.section--paper2 { background: var(--paper-2); }
.section--ink {
  background: var(--plum);
  color: #E7D7DE;
}
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--paper); }

/* — Eyebrow (sur-titre) — */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--bordeaux);
  display: inline-flex;
  align-items: center;
  gap: .7em;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--bordeaux);
  display: inline-block;
}
.section--ink .eyebrow { color: var(--rose); }
.section--ink .eyebrow::before { background: var(--rose); }

/* — Titres de section — */
.display {
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 600;
}
.display em { font-style: italic; color: var(--bordeaux); font-weight: 500; }
.section--ink .display em { color: var(--rose); }
.h-section {
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 600;
}
.lead {
  font-size: clamp(1.12rem, 1.6vw, 1.32rem);
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 60ch;
}
.section--ink .lead { color: #D8C5CE; }

.rule {
  height: 1px; width: 0;
  background: linear-gradient(90deg, var(--bordeaux), transparent);
  margin: 0;
  transition: width 1.2s var(--ease);
}

/* =========================== HEADER =========================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  height: 96px;
  background: rgba(251, 246, 241, .94);
  backdrop-filter: blur(12px) saturate(1.1);
  box-shadow: 0 1px 0 var(--line);
  transition: background .5s var(--ease), box-shadow .5s var(--ease), height .4s var(--ease);
}
.site-header.solid {
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -26px rgba(59,33,64,.5);
  height: 82px;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.brand { display: flex; align-items: center; gap: 13px; }
.brand__mark {
  flex: none;
  display: grid; place-items: center;
}
.brand__mark img { height: 62px; width: auto; display: block; }
.brand__mark svg { width: 100%; height: 100%; }
.brand__name {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--ink);
  line-height: 1;
}
.brand__name b { color: var(--bordeaux); font-weight: 600; }
.brand__sub {
  display: block;
  font-family: var(--font-sans);
  font-size: 9.5px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .01em;
  position: relative;
  padding-block: 6px;
}
.nav a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1.5px; background: var(--bordeaux);
  transition: width .4s var(--ease);
}
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a.active { color: var(--bordeaux); }

/* — Bouton — */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 13px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: #221a26; transform: translateY(-2px); box-shadow: 0 14px 30px -16px rgba(59,33,64,.6); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn--gold:hover { background: #ad8458; border-color: #ad8458; }
.btn--bordeaux { background: var(--bordeaux); border-color: var(--bordeaux); color: #fff; }
.btn--bordeaux:hover { background: #8d3457; border-color: #8d3457; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--lg { padding: 16px 30px; font-size: 15px; }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.nav-toggle { display: none; }

/* =========================== HERO =========================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 96px;
  overflow: hidden;
}
.hero__sky {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 72% 8%, #FFFDFA 0%, var(--paper) 44%, var(--paper-2) 100%);
  z-index: 0;
}
.hero .wrap { position: relative; z-index: 3; width: 100%; }
.hero__inner { max-width: 640px; }
.hero h1 {
  font-size: clamp(3rem, 7vw, 6.2rem);
  line-height: .98;
  margin: 22px 0 0;
  letter-spacing: -0.01em;
}
.hero h1 em {
  font-style: italic;
  color: var(--bordeaux);
  font-weight: 500;
}
.hero__lead {
  margin-top: 26px;
  font-size: clamp(1.1rem, 1.6vw, 1.34rem);
  color: var(--ink-2);
  max-width: 46ch;
}
.hero__cta { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, var(--paper) 0%, rgba(251,246,241,.82) 34%, rgba(251,246,241,.2) 56%, transparent 72%);
  pointer-events: none;
}

/* Bandeau d'agréments sous le hero */
.trust {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 4;
  border-top: 1px solid var(--line);
  background: rgba(251,246,241,.72);
  backdrop-filter: blur(6px);
}
.trust .wrap { display: flex; align-items: center; gap: clamp(18px,4vw,54px); flex-wrap: wrap; padding-block: 16px; }
.trust__label { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.trust__items { display: flex; gap: clamp(18px,3vw,42px); align-items: center; flex-wrap: wrap; }
.trust__item { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 700; color: var(--ink); letter-spacing: .01em; }
.trust__item .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--bordeaux); flex: none; }

/* =========================== REVEAL =========================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }

/* =========================== GRILLE / CARTES =========================== */
.section-head { max-width: 760px; }
.section-head .h-section { margin-top: 18px; }
.section-head .lead { margin-top: 20px; }

.grid { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Carte */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px 30px;
  position: relative;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute; left: 0; top: 0; height: 100%; width: 3px;
  background: var(--bordeaux);
  transform: scaleY(0); transform-origin: top;
  transition: transform .5s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: var(--bordeaux-2); }
.card:hover::after { transform: scaleY(1); }
.card__no {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--bordeaux);
  letter-spacing: .12em;
}
.card__icon { margin: 4px 0 20px; color: var(--ink); }
.card__icon svg { width: 40px; height: 40px; }
.card h3 { font-size: 1.6rem; margin-bottom: 12px; color: var(--ink); }
.card p { font-size: 15.5px; color: var(--ink-2); margin-bottom: 18px; }
.card__meta { display: flex; gap: 16px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line-soft); padding-top: 16px; flex-wrap: wrap; }
.card__meta b { color: var(--ink); font-weight: 700; }
.card__link { font-weight: 700; font-size: 14px; color: var(--bordeaux); display: inline-flex; align-items: center; gap: .5em; }
.card__link .arr { transition: transform .3s var(--ease); }
.card:hover .card__link .arr { transform: translateX(5px); }

/* Statistiques */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px,3vw,48px); }
.stat__num { font-family: var(--font-display); font-size: clamp(3rem, 5vw, 4.4rem); font-weight: 600; line-height: 1; color: var(--ink); }
.section--ink .stat__num { color: var(--paper); }
.stat__num .u { color: var(--bordeaux); }
.section--ink .stat__num .u { color: var(--rose); }
.stat__label { font-size: 14px; color: var(--muted); margin-top: 10px; letter-spacing: .01em; }
.section--ink .stat__label { color: #C0A6B2; }

/* Citation */
.quote { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.28; color: var(--ink); font-weight: 500; }
.section--ink .quote { color: var(--paper); }
.quote em { color: var(--bordeaux); font-style: italic; }
.section--ink .quote em { color: var(--rose); }

/* Placeholder image */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(135deg, var(--paper-3) 0 11px, var(--paper-2) 11px 22px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid; place-items: center;
  color: var(--muted);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  letter-spacing: .06em;
  text-align: center;
  min-height: 220px;
}
.ph span { background: var(--paper); padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; }

/* Pied de page */
.site-footer { background: var(--plum); color: #CBB6C1; padding-block: 72px 36px; }
.site-footer h4 { color: var(--paper); font-size: 1.05rem; margin-bottom: 16px; font-family: var(--font-sans); font-weight: 700; letter-spacing: .02em; }
.site-footer a { color: #CBB6C1; }
.site-footer a:hover { color: var(--rose); }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.footer-brand .brand__name { color: var(--paper); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 54px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: #A98E9B; }
.footer-bottom a { color: #A98E9B; }

/* Bandeau CTA */
.cta-band { text-align: center; }
.cta-band .h-section { margin: 18px auto 0; max-width: 20ch; }
.cta-band .lead { margin: 22px auto 32px; }

/* Page header (pages internes) */
.page-hero { padding-top: 150px; padding-bottom: clamp(40px,6vw,76px); position: relative; }
.page-hero .display { font-size: clamp(2.6rem, 5.5vw, 4.6rem); margin-top: 16px; }
.page-hero .lead { margin-top: 22px; }

/* Liste process / étapes */
.steps { display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 92px 1fr; gap: 28px; padding: 34px 0; border-top: 1px solid var(--line); align-items: start; }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__no { font-family: var(--font-display); font-size: 2.6rem; color: var(--bordeaux); line-height: 1; }
.step h3 { font-size: 1.6rem; margin-bottom: 10px; }
.step p { color: var(--ink-2); margin: 0; max-width: 60ch; }

/* Formulaire */
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field label { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.field input, .field textarea, .field select {
  font-family: var(--font-sans); font-size: 16px; color: var(--ink);
  padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--bordeaux); box-shadow: 0 0 0 3px var(--bordeaux-wash);
}
.field--invalid input, .field--invalid textarea { border-color: #B4502E; }
.field__err { font-size: 12.5px; color: #B4502E; display: none; }
.field--invalid .field__err { display: block; }

/* =================================================================
   DIAGRAMME DE PARCOURS « vivant » (signature)
   Expérience → Diagnostic → Bilan / VAE → Voie validée.
   Connecteurs animés (dashes qui circulent) + nœuds qui pulsent.
   ================================================================= */
.flow { display: grid; justify-items: center; gap: 0; width: 100%; max-width: 480px; margin-inline: auto; }
.flow__row { display: flex; justify-content: center; width: 100%; }
.flow__row--two { gap: 18px; align-items: stretch; }
.flow__node {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
  min-width: 0;
  flex: 1 1 0;
  position: relative;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.flow__row--two .flow__node { max-width: 230px; }
.flow__node:hover { transform: translateY(-3px); }
.flow__node b { display: block; font-family: var(--font-sans); font-weight: 800; font-size: 15px; color: var(--ink); letter-spacing: .01em; }
.flow__node span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 5px; line-height: 1.4; }
.flow__node .flow__tag { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--bordeaux); margin-bottom: 6px; }
.flow__node--head {
  border-color: var(--bordeaux);
  background: linear-gradient(180deg, #fff, var(--bordeaux-wash));
  box-shadow: 0 0 0 4px rgba(168,70,106,.08), var(--shadow-card);
}
.flow__node--start, .flow__node--end {
  background: var(--plum);
  border-color: var(--plum);
}
.flow__node--start b, .flow__node--end b { color: var(--paper); }
.flow__node--start span, .flow__node--end span { color: var(--rose); }
.flow__node--end { background: linear-gradient(180deg, var(--plum-2), var(--plum)); }

/* Connecteurs (fils) — gradient pointillé qui circule */
.flow__pipe { width: 2px; height: 30px; }
.flow__pipe, .flow__fork .stem, .flow__fork .legL, .flow__fork .legR {
  background-image: repeating-linear-gradient(180deg, var(--bordeaux) 0 6px, transparent 6px 13px);
  background-size: 100% 26px;
}
.flow__fork { position: relative; width: 100%; height: 40px; }
.flow__fork .stem { position: absolute; left: 50%; top: 0; width: 2px; height: 20px; transform: translateX(-50%); }
.flow__fork .bar { position: absolute; left: calc(25% - 1px); right: calc(25% - 1px); top: 19px; height: 2px;
  background-image: repeating-linear-gradient(90deg, var(--bordeaux) 0 6px, transparent 6px 13px); background-size: 26px 100%; }
.flow__fork .legL { position: absolute; left: 25%; top: 19px; width: 2px; height: 21px; }
.flow__fork .legR { position: absolute; right: 25%; top: 19px; width: 2px; height: 21px; }
.flow__fork--up .stem { top: 20px; }
.flow__fork--up .bar { top: 19px; }
.flow__fork--up .legL, .flow__fork--up .legR { top: 0; }

@media (prefers-reduced-motion: no-preference) {
  .flow__pipe, .flow__fork .stem, .flow__fork .legL, .flow__fork .legR { animation: flowDown 1.1s linear infinite; }
  .flow__fork .bar { animation: flowRight 1.1s linear infinite; }
  .flow__node--head { animation: headGlow 3.2s ease-in-out infinite; }
}
@keyframes flowDown { to { background-position: 0 26px; } }
@keyframes flowRight { to { background-position: 26px 0; } }
@keyframes headGlow {
  0%,100% { box-shadow: 0 0 0 4px rgba(168,70,106,.08), var(--shadow-card); }
  50% { box-shadow: 0 0 0 7px rgba(168,70,106,.14), var(--shadow-card); }
}
@media (max-width: 560px) {
  .flow__row--two { flex-direction: column; gap: 0; }
  .flow__row--two .flow__node { max-width: 100%; }
  .flow__fork { height: 22px; }
  .flow__fork .bar, .flow__fork .legL, .flow__fork .legR { display: none; }
  .flow__fork .stem { top: 0; height: 22px; }
  .flow__between { width: 2px; height: 22px; background-image: repeating-linear-gradient(180deg, var(--bordeaux) 0 6px, transparent 6px 13px); background-size: 100% 26px; }
}
.flow__between { display: none; }

/* =========================== RESPONSIVE =========================== */
@media (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero__scrim { background: linear-gradient(180deg, var(--paper) 30%, rgba(251,246,241,.55) 70%, transparent); }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: fixed; inset: 66px 0 auto 0; background: var(--paper);
    padding: 24px var(--gutter) 32px; gap: 18px; box-shadow: var(--shadow-soft);
    border-bottom: 1px solid var(--line);
  }
  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 5px; background: none; border: none;
    cursor: pointer; padding: 8px;
  }
  .nav-toggle span { width: 24px; height: 2px; background: var(--ink); transition: .3s var(--ease); }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .step { grid-template-columns: 56px 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .header-cta { display: none; }
}

/* Réduction de mouvement */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
  .cloud, .facade-sheen { display: none !important; }
}

/* =================================================================
   VIE PERMANENTE — états statiques + boucles.
   ================================================================= */
.facade-sheen { position: absolute; inset: 0; pointer-events: none; z-index: 2; overflow: hidden; }
.facade-sheen::before {
  content: ""; position: absolute; top: -20%; left: -45%; width: 32%; height: 140%;
  background: linear-gradient(100deg, transparent, rgba(255,253,250,.5), transparent);
  transform: skewX(-14deg);
}
.cloud {
  position: absolute; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,255,255,.95), rgba(255,255,255,0));
  border-radius: 50%; filter: blur(3px); opacity: .6; will-change: transform;
}
.dust-layer, .dust { display: none !important; }

.thread-svg { mix-blend-mode: normal; }
.thread-flow { opacity: 0; }
.thread-node { transform-box: fill-box; transform-origin: center; opacity: .55; }

.sketch-ul { display: block; margin-top: 14px; overflow: visible; }
.sketch-ul path { stroke: var(--bordeaux); stroke-width: 2.2; fill: none; stroke-linecap: round; opacity: .7; }
.section--ink .sketch-ul path { stroke: var(--rose); }

.net-svg { will-change: opacity; }
.net-edge { stroke: rgba(168,70,106,.5); stroke-width: 1; opacity: .2; }
.net-node { fill: var(--bordeaux-2); transform-box: fill-box; transform-origin: center; }

@media (prefers-reduced-motion: no-preference) {
  .facade-sheen::before { animation: sheen 9s ease-in-out infinite; }
  .cloud { animation: cloudDrift linear infinite; }
  .thread-flow { opacity: .95; stroke-dasharray: 2 13; animation: threadFlow 2.4s linear infinite; }
  .thread-node { animation: nodePulse 3.2s ease-in-out infinite; }
  .sketch-ul path { stroke-dasharray: 3 9; animation: threadFlow 3s linear infinite; }
  .net-edge { animation: edgePulse ease-in-out infinite; }
  .net-node { animation: nodePulse 3s ease-in-out infinite; }
  .rule { background: linear-gradient(90deg, var(--bordeaux), var(--bordeaux-2) 40%, transparent); background-size: 220% 100%; animation: ruleFlow 4.5s linear infinite; }
}

@keyframes sheen { 0% { left: -45%; } 55%,100% { left: 135%; } }
@keyframes cloudDrift { from { transform: translateX(-16vw); } to { transform: translateX(88vw); } }
@keyframes threadFlow { to { stroke-dashoffset: -60; } }
@keyframes nodePulse { 0%,100% { transform: scale(.7); opacity: .45; } 50% { transform: scale(1.3); opacity: 1; } }
@keyframes edgePulse { 0%,100% { opacity: .07; } 50% { opacity: .5; } }
@keyframes ruleFlow { to { background-position: -220% 0; } }

/* =================================================================
   MOTIFS DE SECTION (crayon qui se dessine) — cf. motifs.js
   ================================================================= */
.motif { position: absolute; top: clamp(34px, 5vw, 72px); right: var(--gutter); width: clamp(102px, 11vw, 156px); z-index: 1; pointer-events: none; }
.motif svg { width: 100%; height: auto; overflow: visible; display: block; }
.motif .mstk { fill: none; stroke: var(--pencil); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.section--ink .motif .mstk { stroke: rgba(233, 219, 224, .72); }
.motif .mfl { opacity: 0; }
@media (max-width: 940px) { .motif { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .motif .mstk { stroke-dashoffset: 0 !important; }
  .motif .mfl { opacity: 1 !important; }
}

/* =================================================================
   VISUALISATIONS DE SECTION (canvas vivant) — cf. section-viz.js
   ================================================================= */
.sviz { position: absolute; top: clamp(40px, 5vw, 76px); right: var(--gutter); width: clamp(160px, 18vw, 248px); aspect-ratio: 1 / 1; z-index: 1; pointer-events: none; }
.sviz canvas { width: 100%; height: 100%; display: block; }
.cta-band .sviz { top: clamp(28px, 3vw, 44px); }
@media (max-width: 940px) { .sviz { display: none; } }
.sviz--wide { position: relative; top: auto; right: auto; width: 100%; max-width: 460px; aspect-ratio: 16 / 7; margin-top: 28px; z-index: 1; }
@media (max-width: 940px) { .sviz--wide { display: block; max-width: 100%; } }

/* =================================================================
   ANTI-BLOCAGE DES CLICS — sécurité absolue.
   Aucune couche purement décorative/animée (canvas, SVG, motifs,
   particules, lueurs…) ne doit JAMAIS capter un clic, quel que soit
   le navigateur. Sans ça, un calque qui s'affiche différemment ailleurs
   (rendu canvas/SVG) peut passer au-dessus du contenu et empêcher de
   cliquer sur les cartes/boutons. Correctif valable sur toutes les pages.
   ================================================================= */
.sviz, .sviz canvas, [data-viz], [data-scene], [data-scene] canvas,
.motif, .motif svg, .net-svg, .thread-svg, .dust-layer, .dust, .cloud,
.facade-sheen, .hero__scene, .hero__sky, .hero__facade, .hero__scrim,
.sketch-ul, .live-scene canvas {
  pointer-events: none !important;
}
/* Les tuiles cliquables restent au-dessus de tout décor de même contexte. */
.bento__tile { position: relative; z-index: 1; }
.sviz--fill { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; top: 0; right: 0; }

/* Scènes de page (canvas hero) — cf. live-scenes.js */
.hero--page { min-height: 78svh; }
.hero--page .hero__inner { max-width: 620px; }
.hero--page h1 { font-size: clamp(2.6rem, 5.2vw, 4.4rem); margin-top: 18px; }
.hero--page .hero__lead { margin-top: 20px; }
.hero__scene { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: min(52vw, 660px); aspect-ratio: 800 / 560; z-index: 1; pointer-events: none; }
.hero__scene canvas { width: 100%; height: 100%; display: block; }

/* Accueil : hero en deux colonnes (texte | diagramme) */
.hero--split .hero__grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(28px, 4vw, 72px); align-items: center; width: 100%; }
.hero--split .hero__inner h1 { font-size: clamp(2.5rem, 4.8vw, 4.5rem); }
.hero--split .hero__panel { position: relative; width: 100%; max-width: 540px; z-index: 2; margin-left: auto; }
.hero--split .hero__scene--panel { position: relative; right: auto; top: auto; transform: none; width: 100%; max-width: 600px; aspect-ratio: 5 / 4; z-index: 2; margin-left: auto; }
@media (max-width: 1024px) { .hero--split .hero__grid { grid-template-columns: 1fr; } .hero--split .hero__panel { margin: 8px auto 0; } }
@media (max-width: 980px) { .hero__scene { width: 96vw; right: -8%; opacity: .8; } }

/* =================================================================
   MENU DÉROULANT, GRILLE 5 DOMAINES, TÉMOIGNAGES
   ================================================================= */
.nav .has-sub { position: relative; display: inline-flex; align-items: center; }
.nav .has-sub > a { display: inline-flex; align-items: center; gap: 6px; }
.nav .caret { font-size: 10px; color: var(--muted); transition: transform .3s var(--ease); }
.nav .has-sub:hover .caret, .nav .has-sub:focus-within .caret { transform: rotate(180deg); color: var(--bordeaux); }
.nav .sub {
  position: absolute; top: 100%; left: -14px; min-width: 286px;
  background: rgba(251, 246, 241, .98); backdrop-filter: blur(12px) saturate(1.1);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-soft);
  padding: 10px; display: grid; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s; z-index: 60;
}
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.nav .sub a { display: block; padding: 9px 12px; font-size: 14px; font-weight: 600; color: var(--ink); border-radius: var(--radius); }
.nav .sub a::after { display: none; }
.nav .sub a:hover { background: var(--paper-2); color: var(--bordeaux); }
.nav .sub__all { margin-top: 4px; border-top: 1px solid var(--line-soft); padding-top: 12px !important; color: var(--bordeaux) !important; }

.grid--5 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .grid--5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .grid--5 { grid-template-columns: 1fr; } }

/* Témoignages — colonnes maçonnées (hauteurs naturelles, variées) */
.tmoins { columns: 3; column-gap: clamp(20px, 2.4vw, 28px); margin-top: 52px; }
.tmoin { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; position: relative; break-inside: avoid; margin-bottom: clamp(20px, 2.4vw, 28px); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease); }
.tmoin:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--bordeaux-2); }
.tmoin__stars { color: var(--gold); letter-spacing: 3px; font-size: 13px; margin-bottom: 14px; }
.tmoin__stars--4::after { content: "☆"; }
.tmoin__quote { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.24rem; line-height: 1.44; color: var(--ink); margin: 0 0 16px; }
.tmoin__quote--sm { font-size: 1.08rem; }
.tmoin__quote--lg { font-size: 1.4rem; }
.tmoin__who { margin-top: 8px; border-top: 1px solid var(--line-soft); padding-top: 13px; font-size: 13.5px; line-height: 1.4; }
.tmoin__name { font-weight: 800; color: var(--ink); }
.tmoin__role { color: var(--muted); }
@media (max-width: 980px) { .tmoins { columns: 2; } }
@media (max-width: 680px) { .tmoins { columns: 1; } }

/* Sous-menus mobile en accordéon statique */
@media (max-width: 720px) {
  .nav .has-sub { display: block; width: 100%; }
  .nav .sub {
    position: static; opacity: 1; visibility: visible; transform: none;
    background: none; border: none; box-shadow: none; backdrop-filter: none;
    padding: 4px 0 4px 14px; margin-top: 6px; border-left: 1px solid var(--line);
  }
  .nav .caret { display: none; }
}

/* =================================================================
   PAGES DE CONTENU / ENCARTS / FAQ / MÉTIERS
   ================================================================= */
.prose { font-size: 16.5px; color: var(--ink-2); max-width: 820px; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 44px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin: 26px 0 8px; font-family: var(--font-sans); font-weight: 700; color: var(--ink); letter-spacing: .01em; }
.prose p { margin: 0 0 1em; }
.prose ul { margin: 0 0 1.2em; padding-left: 1.1em; }
.prose li { margin-bottom: .5em; }
.prose a { color: var(--bordeaux); text-decoration: underline; text-underline-offset: 2px; }
.prose strong, .prose b { color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--font-sans); font-weight: 700; color: var(--ink); }
.prose .meta-line { color: var(--muted); font-size: 14px; margin-bottom: 30px; }
.notice { background: var(--bordeaux-wash); border-left: 3px solid var(--bordeaux); padding: 15px 18px; border-radius: var(--radius); font-size: 14.5px; margin: 0 0 26px; color: var(--ink-2); }
.notice--gold { background: var(--gold-wash); border-left-color: var(--gold); }

/* Liste à puces losange (signature éditoriale) */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 9px; height: 9px; background: var(--bordeaux); transform: rotate(45deg); }
.ticks strong, .ticks b { color: var(--ink); }
.section--ink .ticks li { color: #E0CDD5; }
.section--ink .ticks li::before { background: var(--rose); }

/* Encart latéral (financement, à-côté) */
.aside-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 28px 26px; }
.aside-card h3 { font-size: 1.45rem; }
.aside-card .price { font-family: var(--font-display); font-size: 2.6rem; color: var(--bordeaux); line-height: 1; margin: 6px 0 2px; }
.aside-card .price small { font-size: .9rem; color: var(--muted); font-family: var(--font-sans); }

/* Grille diplômes / métiers (pastilles) */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600; color: var(--ink); transition: border-color .3s var(--ease), transform .3s var(--ease); }
.chip:hover { border-color: var(--bordeaux-2); transform: translateY(-2px); }
.chip b { color: var(--bordeaux); font-weight: 800; }
.section--ink .chip { background: var(--plum-2); border-color: rgba(255,255,255,.14); color: var(--paper); }
.section--ink .chip b { color: var(--rose); }

/* Diplôme cartes (sanitaire & social) */
.dipl { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px,2vw,24px); }
.dipl__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); }
.dipl__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--bordeaux-2); }
.dipl__abbr { font-family: var(--font-display); font-size: 1.7rem; color: var(--bordeaux); font-weight: 600; }
.dipl__item h3 { font-size: 1.04rem; font-family: var(--font-sans); font-weight: 700; margin: 4px 0 8px; }
.dipl__item p { font-size: 14px; color: var(--muted); margin: 0; }
@media (max-width: 880px) { .dipl { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .dipl { grid-template-columns: 1fr; } }

/* FAQ (accordéon natif <details>) */
.faq { max-width: 860px; margin-top: 30px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 2px; font-family: var(--font-display); font-size: 1.32rem; color: var(--ink); position: relative; transition: color .3s var(--ease); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--bordeaux); font-family: var(--font-sans); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover { color: var(--bordeaux); }
.faq__a { padding: 0 2px 24px; color: var(--ink-2); font-size: 16px; max-width: 760px; }
.faq__a p { margin: 0 0 .8em; }

/* Bandeau logos / agréments */
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(20px, 4vw, 54px); }
.logos__item { font-family: var(--font-display); font-size: clamp(1.1rem, 1.8vw, 1.5rem); letter-spacing: .02em; color: var(--ink); opacity: .58; font-weight: 600; transition: opacity .3s var(--ease); white-space: nowrap; }
.logos__item:hover { opacity: 1; }

/* Portrait (dirigeante / consultants) */
.portrait-mat { padding: 9px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.portrait-mat::after { content: ""; display: block; height: 2px; margin-top: 9px; background: linear-gradient(90deg, var(--gold), transparent 70%); }
.portrait { display: block; width: 100%; height: auto; border-radius: 1px; }
.portrait-ph { aspect-ratio: 4/5; background: linear-gradient(150deg, var(--paper-3), var(--paper-2)); display: grid; place-items: center; color: var(--muted); font-size: 13px; text-align: center; border-radius: 1px; }
.portrait-ph svg { width: 84px; height: 84px; opacity: .5; }

/* Équipe (consultants) */
.team { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(20px,2.4vw,30px); }
.team__card { text-align: center; }
.team__photo { aspect-ratio: 1; border-radius: 50%; max-width: 150px; margin: 0 auto 16px; background: linear-gradient(150deg, var(--paper-3), var(--bordeaux-wash)); display: grid; place-items: center; color: var(--bordeaux); }
.team__photo svg { width: 54px; height: 54px; }
.team__card h3 { font-size: 1.3rem; }
.team__role { color: var(--bordeaux); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-top: 4px; }
.team__card p { font-size: 14.5px; color: var(--ink-2); margin-top: 10px; }
@media (max-width: 820px) { .team { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; } }

/* =================================================================
   FINITIONS MOBILE
   ================================================================= */
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

@media (max-width: 720px) {
  .hero { min-height: auto; padding-top: 116px; padding-bottom: 0; flex-direction: column; align-items: stretch; }
  .trust { position: static; margin-top: 26px; background: transparent; backdrop-filter: none; }
  .trust .wrap { padding-block: 16px 0; }
  .hero__cta { gap: 12px; }
  .hero__cta .btn { flex: 1 1 100%; justify-content: center; }
  .portrait-mat { margin-inline: auto; max-width: 360px; }
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
}

/* =================================================================
   CORRECTIFS & ACCESSIBILITÉ
   ================================================================= */
.nav a.btn { color: #fff; }
.nav a.btn:hover { color: #fff; }
.nav a.btn::after { display: none; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--ink); color: var(--paper); padding: 12px 18px; font-weight: 700; font-size: 14px; border-radius: 0 0 var(--radius) 0; }
.skip-link:focus { left: 0; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible, .nav-toggle:focus-visible { outline: 2px solid var(--bordeaux); outline-offset: 3px; border-radius: 2px; }

.cta-float { position: fixed; right: 16px; bottom: 16px; z-index: 90; display: none; align-items: center; gap: .5em; background: var(--bordeaux); color: #fff; font-family: var(--font-sans); font-weight: 700; font-size: 14.5px; letter-spacing: .02em; padding: 13px 20px; border-radius: 999px; box-shadow: 0 12px 28px -8px rgba(59, 33, 64, .55); transition: transform .25s var(--ease), background .25s var(--ease); }
.cta-float:hover { background: #8d3457; color: #fff; }
.cta-float:active { transform: scale(.97); }
@media (max-width: 720px) { .cta-float { display: inline-flex; } }
@media (prefers-reduced-motion: reduce) { .cta-float { transition: none; } }

/* Consentement / mesure d'audience */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 120; max-width: 660px; margin: 0 auto; background: var(--plum); color: #E3D2DB; border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: 15px 18px; display: flex; gap: 14px 18px; align-items: center; flex-wrap: wrap; opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.consent.in { opacity: 1; transform: none; }
.consent p { margin: 0; font-size: 13.5px; flex: 1 1 280px; line-height: 1.5; }
.consent a { color: var(--rose); text-decoration: underline; text-underline-offset: 2px; }
.consent__btns { display: flex; gap: 10px; margin-left: auto; }
.consent button { font-family: var(--font-sans); font-weight: 700; font-size: 13px; letter-spacing: .02em; padding: 9px 16px; border-radius: var(--radius); cursor: pointer; border: 1px solid transparent; transition: background .25s var(--ease), color .25s var(--ease); }
.consent__no { background: transparent; color: #C9B4C0; border-color: rgba(255,255,255,.25); }
.consent__no:hover { color: #fff; border-color: rgba(255,255,255,.5); }
.consent__ok { background: var(--gold); color: var(--ink); }
.consent__ok:hover { background: var(--gold-soft); }
@media (max-width: 720px) { .consent { bottom: 84px; } .consent__btns { margin-left: 0; } }

@media (max-width: 720px) { .brand__mark img { height: 50px; } .brand__name { font-size: 1.7rem; } }

/* =================================================================
   IDENTITÉ PROPRE À OBJECTIFS CARRIÈRES — modules originaux
   Orienteur · Comparateur · Explorateur · Frise · Spotlight · Ticker.
   (Volontairement différents du style « institutionnel » classique.)
   ================================================================= */

/* — Bandeau de réassurance défilant (sous le hero, optionnel) — */
.assure { border-block: 1px solid var(--line); background: var(--white); }
.assure .wrap { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 5vw, 64px); flex-wrap: wrap; padding-block: 18px; }
.assure span { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 700; color: var(--ink); }
.assure b { color: var(--bordeaux); }

/* — ORIENTEUR : 3 grandes portes d'entrée — */
.orient { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.orient__card { position: relative; overflow: hidden; border-radius: 16px; padding: 30px 28px 26px; min-height: 240px; display: flex; flex-direction: column; justify-content: flex-end; color: var(--paper); box-shadow: var(--shadow-card); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.orient__card:hover { transform: translateY(-7px); box-shadow: 0 34px 64px -30px rgba(59,33,64,.5); }
.orient__card--plum { background: linear-gradient(160deg, var(--plum-2), var(--plum)); }
.orient__card--rose { background: linear-gradient(160deg, var(--bordeaux-2), var(--bordeaux)); }
.orient__card--gold { background: linear-gradient(160deg, #C9A079, #B07F4F); }
.orient__num { position: absolute; top: 14px; right: 22px; font-family: var(--font-display); font-size: 3.4rem; line-height: 1; opacity: .26; }
.orient__card .k { font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; opacity: .9; }
.orient__card h3 { color: var(--paper); font-size: 1.65rem; margin: 8px 0; line-height: 1.1; }
.orient__card p { font-size: 14.5px; opacity: .92; margin: 0 0 14px; }
.orient__card .go { font-weight: 800; font-size: 13.5px; letter-spacing: .02em; display: inline-flex; align-items: center; gap: .5em; }
.orient__card .go .arr { transition: transform .3s var(--ease); }
.orient__card:hover .go .arr { transform: translateX(5px); }
@media (max-width: 880px) { .orient { grid-template-columns: 1fr; } .orient__card { min-height: 0; } }

/* — COMPARATEUR : 3 plans côte à côte — */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); align-items: stretch; margin-top: 18px; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 32px 26px 28px; display: flex; flex-direction: column; position: relative; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.plan--feature { border-color: var(--bordeaux); box-shadow: 0 0 0 4px var(--bordeaux-wash); }
.plan__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--bordeaux); color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-size: 1.7rem; }
.plan__tag { color: var(--bordeaux); font-weight: 700; font-size: 13.5px; margin: 4px 0 18px; }
.plan__rows { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 0; }
.plan__rows li { display: grid; grid-template-columns: 92px 1fr; gap: 12px; font-size: 14.5px; color: var(--ink-2); border-top: 1px solid var(--line-soft); padding: 12px 0; align-items: baseline; }
.plan__rows li i { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.plan__rows b { color: var(--ink); }
.plan .btn { margin-top: auto; justify-content: center; }
@media (max-width: 880px) { .plans { grid-template-columns: 1fr; } }

/* — FRISE horizontale animée — */
.frise { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; padding-top: 6px; }
.frise::before { content: ""; position: absolute; top: 18px; left: 7%; right: 7%; height: 3px; border-radius: 2px; background-image: repeating-linear-gradient(90deg, var(--bordeaux) 0 8px, transparent 8px 16px); background-size: 32px 100%; }
.frise__step { text-align: center; position: relative; padding: 0 6px; }
.frise__dot { width: 40px; height: 40px; border-radius: 50%; background: var(--white); border: 2px solid var(--bordeaux); color: var(--bordeaux); font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; display: grid; place-items: center; margin: 0 auto 16px; position: relative; z-index: 1; box-shadow: 0 0 0 7px var(--paper); }
.section--paper2 .frise__dot { box-shadow: 0 0 0 7px var(--paper-2); }
.frise__step h3, .frise__step h4 { font-size: 1.05rem; font-family: var(--font-sans); font-weight: 700; margin: 0 0 5px; color: var(--ink); line-height: 1.2; }
.frise__step p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.45; }
@media (prefers-reduced-motion: no-preference) { .frise::before { animation: flowRight 1.2s linear infinite; } }
@media (max-width: 760px) {
  .frise { grid-auto-flow: row; grid-auto-columns: auto; padding-top: 0; padding-left: 8px; }
  .frise::before { top: 6px; bottom: 6px; left: 27px; right: auto; width: 3px; height: auto; background-image: repeating-linear-gradient(180deg, var(--bordeaux) 0 8px, transparent 8px 16px); background-size: 100% 32px; }
  .frise__step { text-align: left; display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 0 0 28px; align-items: start; }
  .frise__dot { margin: 0; box-shadow: 0 0 0 6px var(--paper); }
  @media (prefers-reduced-motion: no-preference) { .frise::before { animation: flowDown 1.2s linear infinite; } }
}

/* — EXPLORATEUR de diplômes (onglets interactifs) — */
.explorer__tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 32px; }
.explorer__tab { font-family: var(--font-sans); font-weight: 700; font-size: 14px; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.explorer__tab:hover { border-color: var(--bordeaux-2); color: var(--bordeaux); }
.explorer__tab.active { background: var(--bordeaux); border-color: var(--bordeaux); color: #fff; }
.explorer__panel { display: none; }
.explorer__panel.active { display: block; animation: fadeUp .45s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* — SPOTLIGHT CléA — */
.spot { background: linear-gradient(150deg, var(--plum), #29162E); border-radius: 22px; padding: clamp(30px, 5vw, 60px); color: var(--paper); position: relative; overflow: hidden; }
.spot__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 56px); align-items: center; position: relative; z-index: 1; }
.spot h2 { color: var(--paper); }
.spot .lead { color: #E7D7DE; }
.spot .eyebrow { color: var(--rose); }
.spot .eyebrow::before { background: var(--rose); }
.spot__domains { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.spot__d { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.13); border-radius: 11px; padding: 13px 15px; font-size: 13.5px; font-weight: 600; color: var(--paper); }
.spot__d b { color: var(--rose); display: block; font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 3px; font-weight: 800; }
.spot .sviz { opacity: .5; }
@media (max-width: 860px) { .spot__grid { grid-template-columns: 1fr; } }

/* — TICKER témoignages (marquee) — */
.ticker { overflow: hidden; margin-top: 8px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.ticker__track { display: flex; gap: 20px; width: max-content; }
.ticker .tmoin { width: 330px; flex: none; margin: 0; }
@media (prefers-reduced-motion: no-preference) { .ticker__track { animation: marquee 52s linear infinite; } .ticker:hover .ticker__track { animation-play-state: paused; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* — Citation mise en avant + grand nombre éditorial — */
.feature-quote { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(1.7rem, 3.2vw, 2.7rem); line-height: 1.3; color: var(--ink); }
.feature-quote em { color: var(--bordeaux); font-style: italic; }
.bignum { font-family: var(--font-display); font-weight: 600; font-size: clamp(4.2rem, 13vw, 9.5rem); line-height: .86; color: var(--bordeaux); letter-spacing: -.02em; }
.bignum + .bignum-label { font-size: 1.05rem; color: var(--ink-2); max-width: 26ch; }

/* — Pastilles de financement — */
.fin-pills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.fin-pill { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; font-size: 14px; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 10px; transition: border-color .3s var(--ease), transform .3s var(--ease); }
.fin-pill:hover { border-color: var(--bordeaux-2); transform: translateY(-2px); }
.fin-pill .tick { width: 22px; height: 22px; border-radius: 50%; background: var(--bordeaux-wash); color: var(--bordeaux); display: grid; place-items: center; font-size: 12px; font-weight: 900; flex: none; }

/* — Bloc « grand chiffre + différenciateurs » — */
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 880px) { .why-grid { grid-template-columns: 1fr; } }
.diffs { display: grid; gap: 16px; }
.diff { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; }
.diff__ico { width: 46px; height: 46px; border-radius: 12px; background: var(--bordeaux-wash); color: var(--bordeaux); display: grid; place-items: center; }
.diff__ico svg { width: 24px; height: 24px; }
.diff h4 { font-size: 1.15rem; font-family: var(--font-sans); font-weight: 700; margin: 2px 0 4px; }
.diff p { font-size: 14.5px; color: var(--ink-2); margin: 0; }

/* =================================================================
   v2 — REFONTE RADICALE : pleine largeur (bord à bord), bento,
   typographie XXL, bandes de couleur, scroll horizontal.
   Mêmes couleurs ; rupture totale avec la mise en page centrée.
   ================================================================= */
.head--wide .wrap { max-width: none; }

/* Conteneur pleine largeur (remplace .wrap : on occupe tout l'écran) */
.bleed { width: 100%; padding-inline: clamp(18px, 4.2vw, 76px); }

/* Bandes pleine largeur */
.band { padding-block: clamp(58px, 7vw, 116px); position: relative; overflow: hidden; }
.band--cream2 { background: var(--paper-2); }
.band--plum { background: var(--plum); color: #E9DCE2; }
.band--ink { background: var(--ink); color: #E9DCE2; }
.band--rose { background: linear-gradient(130deg, var(--bordeaux), #8a3354); color: #fff; }
.band--plum .kicker, .band--ink .kicker, .band--rose .kicker { color: var(--rose); }

/* Typographie XXL */
.kicker { display: inline-block; font-family: var(--font-sans); font-weight: 800; letter-spacing: .2em; text-transform: uppercase; font-size: 12px; color: var(--bordeaux); margin-bottom: 16px; }
.mega { font-family: var(--font-sans); font-weight: 800; font-size: clamp(2.5rem, 6.2vw, 5.6rem); line-height: .98; letter-spacing: -.025em; color: var(--ink); margin: 0; }
.band--plum .mega, .band--ink .mega, .band--rose .mega { color: #fff; }
.mega em { font-family: var(--font-display); font-style: italic; font-weight: 500; color: var(--bordeaux); letter-spacing: 0; }
.band--plum .mega em, .band--ink .mega em, .band--rose .mega em { color: var(--rose); }
.maxi { font-family: var(--font-sans); font-weight: 800; font-size: clamp(3.6rem, 15vw, 14rem); line-height: .82; letter-spacing: -.04em; }
/* Exposants (« finançable », « * », « er »…) : ne pas hériter du letter-spacing négatif
   du grand chiffre, sinon les lettres se chevauchent et deviennent illisibles. */
.maxi span, .bento__big span { letter-spacing: normal; }
.sub { font-size: clamp(1.05rem, 1.4vw, 1.28rem); color: var(--ink-2); max-width: 60ch; line-height: 1.6; }
.band--plum .sub, .band--ink .sub, .band--rose .sub { color: rgba(255,255,255,.82); }

/* HERO pleine largeur (split bord à bord) */
.xhero { display: grid; grid-template-columns: 1.06fr .94fr; min-height: 100svh; }
.xhero__left { display: flex; flex-direction: column; justify-content: center; padding: 120px clamp(20px, 4.6vw, 84px) 64px; }
.xhero__left .mega { margin: 18px 0 0; }
.xhero__right { position: relative; background: linear-gradient(165deg, #4c2b57, var(--plum) 58%, #2a1530); display: grid; place-items: center; padding: 116px clamp(20px, 4vw, 64px) 64px; }
.xhero__right .sviz { position: absolute; inset: 0; left: 0; top: 0; right: 0; bottom: 0; transform: none; width: 100%; height: 100%; aspect-ratio: auto; opacity: .5; }
.hero-panel { position: relative; z-index: 2; width: 100%; max-width: 480px; display: flex; flex-direction: column; align-items: center; gap: clamp(15px, 2.1vw, 24px); }
.hero-panel-tag { color: var(--rose); font-size: 11.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.flow-card { position: relative; z-index: 2; width: 100%; max-width: 470px; background: rgba(255, 255, 255, .97); border-radius: 22px; padding: 26px 26px 28px; box-shadow: 0 44px 90px -34px rgba(0, 0, 0, .6); }
.flow-card .flow { max-width: none; }
.hero-panel-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.hero-panel-chips span { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: #fff; font-size: 12.5px; font-weight: 700; padding: 6px 13px; border-radius: 999px; }
.hero-panel-note { color: var(--rose); font-size: 13px; text-align: center; max-width: 36ch; margin: 0; line-height: 1.4; }
@media (max-width: 940px) { .xhero { grid-template-columns: 1fr; min-height: 0; } .xhero__left { padding-top: 116px; padding-bottom: 44px; } .xhero__right { padding-block: 48px; } }

/* Bandeau défilant (marquee) pleine largeur */
.tape { background: var(--ink); color: var(--paper); overflow: hidden; padding-block: 15px; }
.tape__track { display: flex; gap: 38px; width: max-content; align-items: center; }
.tape__track span { font-family: var(--font-display); font-style: italic; font-size: 1.42rem; white-space: nowrap; opacity: .9; }
.tape__track i { color: var(--rose); font-style: normal; font-weight: 700; }
@media (prefers-reduced-motion: no-preference) { .tape__track { animation: marquee 36s linear infinite; } }

/* Grille BENTO pleine largeur */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(200px, auto); gap: 14px; }
.bento__tile { border-radius: 20px; padding: 26px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; color: var(--ink); background: var(--white); border: 1px solid var(--line); text-decoration: none; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
a.bento__tile:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(59, 33, 64, .4); }
.bento__tile.t-2w { grid-column: span 2; }
.bento__tile.t-2h { grid-row: span 2; }
.bento__tile.t-2x { grid-column: span 2; grid-row: span 2; }
.bento__tile--plum { background: linear-gradient(155deg, var(--plum-2), var(--plum)); color: #fff; border-color: transparent; }
.bento__tile--rose { background: linear-gradient(155deg, var(--bordeaux-2), var(--bordeaux)); color: #fff; border-color: transparent; }
.bento__tile--gold { background: linear-gradient(155deg, #C9A079, #B07F4F); color: #fff; border-color: transparent; }
.bento__k { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; opacity: .82; }
.bento__tile h3 { font-family: var(--font-sans); font-weight: 800; font-size: clamp(1.3rem, 2vw, 2.05rem); margin: 8px 0 0; line-height: 1.04; color: inherit; }
.bento__tile p { font-size: 14px; margin: 8px 0 0; opacity: .9; }
.bento__tile .go { margin-top: 14px; font-weight: 800; font-size: 13px; display: inline-flex; gap: .5em; align-items: center; }
a.bento__tile:hover .go .arr { transform: translateX(4px); }
.bento__num { position: absolute; top: 16px; right: 22px; font-family: var(--font-sans); font-weight: 800; font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1; opacity: .15; }
.bento__big { font-family: var(--font-sans); font-weight: 800; font-size: clamp(2.8rem, 5.5vw, 5rem); line-height: .9; letter-spacing: -.03em; color: var(--bordeaux); }
.bento__tile--plum .bento__big, .bento__tile--rose .bento__big, .bento__tile--gold .bento__big { color: #fff; }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(190px, auto); } .bento__tile.t-2x { grid-row: span 2; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .bento__tile, .bento__tile.t-2w, .bento__tile.t-2h, .bento__tile.t-2x { grid-column: auto; grid-row: auto; min-height: 168px; } }

/* Détail des domaines CléA (page /clea-domaines) */
.domaines { display: flex; flex-direction: column; gap: clamp(30px, 4vw, 54px); }
.domaine { display: grid; grid-template-columns: auto 1fr; gap: clamp(18px, 3vw, 42px); align-items: start; padding-bottom: clamp(28px, 3.5vw, 48px); border-bottom: 1px solid var(--line); }
.domaine:last-child { border-bottom: 0; padding-bottom: 0; }
.domaine__no { font-family: var(--font-sans); font-weight: 800; font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1; color: var(--bordeaux); }
.domaine__body h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.7rem, 3vw, 2.6rem); margin: 6px 0 12px; color: var(--ink); line-height: 1.05; }
.domaine__body p { color: var(--ink-2); max-width: 70ch; }
@media (max-width: 620px) { .domaine { grid-template-columns: 1fr; gap: 6px; } }

/* Scroll horizontal (déborde volontairement à droite) */
.hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(290px, 23vw); gap: 16px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; padding: 4px 0 18px; }
.hscroll > * { scroll-snap-align: start; }
.hcard { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.band--cream2 .hcard { background: var(--white); }
.hcard .dipl__abbr { font-family: var(--font-display); font-size: 2rem; color: var(--bordeaux); font-weight: 600; }
.hcard h3 { font-family: var(--font-sans); font-weight: 700; font-size: 1.1rem; margin: 6px 0 8px; }
.hcard p { font-size: 14px; color: var(--muted); margin: 0; }

/* Split pleine hauteur (photo dirigeante bord à bord) */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.split__img { background-size: cover; background-position: center 18%; min-height: 420px; }
.split__txt { display: flex; flex-direction: column; justify-content: center; padding: clamp(44px, 6vw, 104px); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split__img { min-height: 340px; } }

/* En-tête de bande (titre large, non centré) */
.band__head { max-width: 1100px; }
.band__head .mega { margin-top: 10px; }
.band__head .sub { margin-top: 18px; }

/* Duo 2 colonnes qui s'empile en mobile */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 820px) { .duo { grid-template-columns: 1fr; } }

/* =================================================================
   DESKTOP — chaque bande occupe un écran complet (contenu centré
   sous l'en-tête fixe). Défilement libre et normal, mais aucune
   section n'est plus haute que l'écran : on la voit en entier d'un
   seul coup, sans avoir à scroller dans la section. Mobile non concerné.
   ================================================================= */
@media (min-width: 1025px) {
  .band { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: clamp(98px, 11vh, 124px); padding-bottom: clamp(36px, 5vh, 68px); }
  .band > .bleed { width: 100%; }
  .split { min-height: 100svh; }
  /* titres de section plus compacts (le titre du hero reste grand) */
  .band__head .mega { font-size: clamp(1.9rem, 3.4vw, 3.1rem); line-height: 1.06; }
  .band__head { margin-bottom: 4px; }
  /* grilles : hauteur mini compacte mais qui s'étend pour ne JAMAIS rogner le texte */
  .bento { grid-auto-rows: minmax(180px, auto); }
  /* hero compacté pour tenir sur un écran */
  .xhero h1.mega { font-size: clamp(2.2rem, 4.3vw, 4rem); }
  .xhero__left { padding-top: 92px; padding-bottom: 26px; }
  .xhero__left .sub { margin-top: 13px !important; }
  .xhero__left .hero__cta { margin-top: 18px !important; }
  .xhero__left > div:last-child { margin-top: 10px !important; }
  .hero-rotate-line { margin-top: 10px; min-height: 2em; }
  .hero-stats { margin-top: 13px; }
  .hero-stat-num { font-size: clamp(1.8rem, 2.8vw, 2.4rem); }
  .hero-feats { margin-top: 13px; gap: 9px 30px; }
}

/* — Hero : métier qui défile — */
.hero-rotate-line { font-family: var(--font-sans); font-weight: 800; font-size: clamp(1.3rem, 2.7vw, 2.3rem); line-height: 1.15; margin: 16px 0 0; color: var(--ink); letter-spacing: -.01em; min-height: 2.4em; }
.hero-rotate { color: var(--bordeaux); display: inline-block; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.hero-rotate.is-out { opacity: 0; transform: translateY(-12px); }
.hero-caret { display: inline-block; width: 3px; height: 1.05em; background: var(--bordeaux); margin-left: 5px; vertical-align: -3px; border-radius: 2px; }
@media (prefers-reduced-motion: no-preference) { .hero-caret { animation: caretBlink 1.05s step-end infinite; } }
@keyframes caretBlink { 50% { opacity: 0; } }

/* — Hero : rangée de chiffres-preuve — */
.hero-stats { display: flex; gap: clamp(18px, 3vw, 44px); flex-wrap: wrap; margin-top: 32px; }
.hero-stats > div { display: flex; flex-direction: column; }
.hero-stat-num { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.1rem, 3.4vw, 2.9rem); color: var(--bordeaux); line-height: 1; }
.hero-stat-num small { font-size: .52em; font-weight: 600; }
.hero-stat-lbl { font-size: 12.5px; color: var(--ink-2); margin-top: 5px; max-width: 17ch; line-height: 1.32; }

/* — Hero : atouts (sous-titres sur 2 colonnes, occupent l'espace à droite) — */
.hero-feats { list-style: none; padding: 0; margin: 26px 0 2px; display: grid; grid-template-columns: 1fr 1fr; gap: 13px 30px; max-width: 660px; }
.hero-feats li { position: relative; padding-left: 24px; font-size: 14px; color: var(--ink-2); line-height: 1.35; }
.hero-feats li::before { content: ""; position: absolute; left: 3px; top: 7px; width: 8px; height: 8px; background: var(--bordeaux); transform: rotate(45deg); }
.hero-feats b { color: var(--ink); font-weight: 700; }
@media (max-width: 560px) { .hero-feats { grid-template-columns: 1fr; gap: 11px; } }

/* Pastilles financement sur fond sombre */
.band--ink .fin-pill, .band--plum .fin-pill { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); color: #fff; }
.band--ink .fin-pill .tick, .band--plum .fin-pill .tick { background: var(--bordeaux); color: #fff; }

/* — Lisibilité des composants posés directement sur une bande sombre — */
.band--plum .ticks li, .band--ink .ticks li { color: #E7D7DE; }
.band--rose .ticks li { color: #fff; }
.band--plum .ticks li strong, .band--plum .ticks li b,
.band--ink .ticks li strong, .band--ink .ticks li b,
.band--rose .ticks li strong, .band--rose .ticks li b { color: #fff; }
.band--plum .ticks li::before, .band--ink .ticks li::before { background: var(--rose); }
.band--rose .ticks li::before { background: #fff; }
