/* ==========================================================
   FINARBOR — Direction artistique « Nuit & Or »
   Fond sombre chaud, accents or du logo, touches beige
   ========================================================== */

@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

:root {
  color-scheme: dark;

  /* Couleurs */
  --bg:        #0B0A09;
  --bg-2:      #100F0D;
  --bg-3:      #16140F;
  --surface:   rgba(255, 244, 222, .035);
  --surface-2: rgba(255, 244, 222, .06);
  --border:    rgba(255, 244, 222, .09);
  --border-2:  rgba(255, 244, 222, .16);
  --text:      #EFE9DD;           /* beige clair (charte) */
  --text-2:    #BDB5A6;
  --muted:     #8E877B;
  --beige:     #E8DCC4;
  --gold:      #E3C67B;           /* or du logo */
  --gold-2:    #C9A55C;
  --gold-3:    #9C7A35;
  --gold-grad: linear-gradient(120deg, #F6E3AE 0%, #E3C67B 38%, #C19A4B 72%, #F0D896 100%);

  /* Typographie */
  /* une seule famille, la même que le logotype Finarbor */
  --display: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --sans:    var(--display);
  --serif:   var(--display);
  --brand:   var(--display);

  /* Mise en page */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(96px, 12vw, 168px);
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 32px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; background: var(--bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* grain photographique très léger */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 999; pointer-events: none; opacity: .05;
  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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--gold); color: var(--bg); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--gold); color: var(--bg); padding: 10px 16px; border-radius: 999px;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* barre de progression de lecture */
.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 150; transform-origin: 0 50%; transform: scaleX(0);
  background: var(--gold-grad); box-shadow: 0 0 12px rgba(227, 198, 123, .6);
}

/* ---------- Logo ---------- */
.mark-body { fill: var(--mark-fill, var(--text)); }
.mark-gold { fill: var(--mark-gold, var(--gold)); }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 22px; height: 31px; }
.brand-name { font-family: var(--brand); font-weight: 600; font-size: 22px; letter-spacing: -.01em; line-height: 1; }

/* ---------- Typo ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold);
  padding: 7px 14px 7px 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface);
  margin-bottom: 28px;
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 10px var(--gold); animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .35; } }
.eyebrow.center { display: flex; width: fit-content; margin-left: auto; margin-right: auto; }

.display, .title { font-family: var(--display); font-weight: 500; letter-spacing: -.02em; line-height: 1.02; color: var(--text); }
.display { font-size: clamp(44px, 5.4vw, 76px); margin-bottom: 28px; }
.title   { font-size: clamp(38px, 5vw, 68px); margin-bottom: 26px; }

.display em, .title em, .manifesto em, .constat-answer .gold-underline, .inline-cta em {
  font-weight: inherit; font-style: normal; letter-spacing: inherit;
  background: var(--gold-grad); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}
@keyframes sheen { 50% { background-position: 100% 0; } }

.lead { font-size: clamp(17px, 1.35vw, 19px); color: var(--text-2); max-width: 34em; }

.section { padding: var(--section-y) 0; position: relative; }
.section-head { max-width: 780px; margin-bottom: clamp(52px, 7vw, 88px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-intro { color: var(--text-2); font-size: 17.5px; max-width: 38em; }
.section-head.center .section-intro { margin-left: auto; margin-right: auto; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; min-height: 52px;
  font-family: var(--sans); font-size: 15px; font-weight: 500; letter-spacing: -.005em;
  border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .3s, border-color .3s, color .3s;
}
.btn span[aria-hidden] { transition: transform .5s var(--ease); }
.btn:hover span[aria-hidden] { transform: translateX(4px); }
.btn:active { transform: scale(.98); }

/* bouton principal : or */
.btn-dark, .btn-gold {
  background: var(--gold-grad); background-size: 160% 100%; color: #15120B;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 8px 24px -10px rgba(227, 198, 123, .5);
}
.btn-dark::after, .btn-gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn-dark:hover, .btn-gold:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 14px 40px -10px rgba(227, 198, 123, .7); transform: translateY(-2px); }
.btn-dark:hover::after, .btn-gold:hover::after { transform: translateX(120%); }

.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border-2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(227, 198, 123, .45); transform: translateY(-2px); }

.btn-sm { padding: 10px 18px; min-height: 40px; font-size: 14px; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; gap: 8px; align-items: center;
  font-size: 15px; font-weight: 500; color: var(--gold);
  transition: gap .4s var(--ease), color .3s;
}
.link-arrow:hover { gap: 14px; color: var(--beige); }

/* ---------- En-tête flottant ---------- */
.site-header { position: fixed; inset: 16px 0 auto 0; z-index: 100; pointer-events: none; }
.header-inner {
  pointer-events: auto; position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: calc(var(--container) - 2 * var(--gutter) + 32px);
  padding: 10px 10px 10px 22px; border-radius: 999px;
}
/* fond vitré sur pseudo-élément : un backdrop-filter sur le conteneur
   piégerait le menu mobile (position: fixed) dans ses dimensions */
.header-inner::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: rgba(16, 15, 13, .55); border: 1px solid var(--border);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  opacity: 0; transition: opacity .5s var(--ease);
}
.site-header.scrolled .header-inner::before { opacity: 1; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav ul a {
  display: block; font-size: 14.5px; font-weight: 400; color: var(--text-2);
  padding: 8px 14px; border-radius: 999px; transition: color .3s, background .3s;
}
.main-nav ul a:hover { color: var(--text); background: var(--surface-2); }
.main-nav ul a.active { color: var(--text); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border); }

.nav-toggle { display: none; width: 44px; height: 44px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 50%; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); transition: transform .45s var(--ease), top .45s var(--ease); }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child  { top: 24px; }
.nav-open .nav-toggle span:first-child { top: 20.5px; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child  { top: 20.5px; transform: rotate(-45deg); }

@media (max-width: 1020px) {
  .site-header { inset: 12px 0 auto 0; }
  .header-inner { margin: 0 12px; padding: 8px 8px 8px 18px; }
  .nav-toggle { display: block; z-index: 2; }
  .main-nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; gap: 40px;
    background: radial-gradient(600px 400px at 50% 0%, rgba(227, 198, 123, .12), transparent 70%), var(--bg);
    opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
  }
  .main-nav ul { flex-direction: column; align-items: center; gap: 6px; }
  .main-nav ul a { font-family: var(--display); font-size: 34px; font-weight: 500; letter-spacing: -.015em; color: var(--text); padding: 6px 18px; }
  .main-nav ul li { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .nav-open .main-nav { opacity: 1; visibility: visible; }
  .nav-open .main-nav ul li { opacity: 1; transform: none; }
  .nav-open .main-nav ul li:nth-child(2) { transition-delay: .05s; }
  .nav-open .main-nav ul li:nth-child(3) { transition-delay: .1s; }
  .nav-open .main-nav ul li:nth-child(4) { transition-delay: .15s; }
  .nav-open .main-nav ul li:nth-child(5) { transition-delay: .2s; }
  .nav-open { overflow: hidden; }
  .brand { position: relative; z-index: 2; }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh; display: flex; align-items: center; position: relative; overflow: hidden; isolation: isolate;
  padding: 150px 0 110px;
}
/* halos lumineux */
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; z-index: -1;
}
.hero::before {
  width: 780px; height: 780px; right: -200px; top: -260px;
  background: radial-gradient(circle, rgba(227, 198, 123, .22), transparent 65%);
  animation: drift 18s ease-in-out infinite alternate;
}
.hero::after {
  width: 620px; height: 620px; left: -260px; bottom: -300px;
  background: radial-gradient(circle, rgba(232, 220, 196, .10), transparent 65%);
  animation: drift 22s ease-in-out infinite alternate-reverse;
}
@keyframes drift { to { transform: translate(-80px, 60px) scale(1.1); } }

/* trame géométrique en fond */
.hero .container { position: relative; }
.hero .container::before {
  content: ""; position: absolute; inset: -150px -40vw -110px; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 45% 55% at 62% 45%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 45% 55% at 62% 45%, #000 10%, transparent 75%);
  opacity: .55;
}
.hero-grid { display: grid; grid-template-columns: 1.8fr 1fr; gap: clamp(40px, 5vw, 80px); align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 38px 0 0; }

/* titre mot à mot */
.display .w { display: inline-block; opacity: 0; filter: blur(12px); transform: translateY(.35em); transition: opacity 1.1s var(--ease), filter 1.1s var(--ease), transform 1.1s var(--ease); }
.display.words-in .w { opacity: 1; filter: blur(0); transform: none; }
.js .display.reveal { opacity: 1; transform: none; filter: none; }


/* logo Finarbor en relief 3D */
.hero-visual { display: flex; justify-content: center; translate: -7% 0; }
.logo3d {
  --rx: 0deg; --ry: 0deg;
  position: relative; width: min(100%, 400px); aspect-ratio: 1;
  display: grid; place-items: center; perspective: 1100px;
}
.logo3d-glow {
  position: absolute; inset: 8%; border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 198, 123, .32), transparent 62%);
  filter: blur(40px); animation: breathe 6s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: scale(1.12); opacity: .65; } }
.logo3d-obj {
  position: relative; width: 58%; aspect-ratio: 5 / 7;
  transform-style: preserve-3d;
  /* axe de rotation placé sur la barre verticale : la pointe gauche balaie davantage */
  transform-origin: 72% 50%;
  will-change: transform; /* animé image par image dans main.js */
}
@keyframes float { 50% { translate: 0 -10px; } }
.logo3d-obj svg { position: absolute; inset: 0; width: 100%; height: 100%; backface-visibility: visible; }
/* face avant : dégradés beige et or */
.logo3d-face { --mark-fill: url(#face-body); --mark-gold: url(#face-gold); transform: translateZ(1px); filter: drop-shadow(0 0 1px rgba(255, 255, 255, .25)); }
/* tranches (générées en JS) : de plus en plus sombres vers l'arrière */
.logo3d-layer { --mark-fill: var(--edge); --mark-gold: var(--edge-gold); }
.logo3d-shadow {
  position: absolute; bottom: 4%; left: 28%; width: 44%; height: 26px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .75), transparent);
  filter: blur(6px); will-change: transform, opacity;
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; translate: -50% 0; width: 24px; height: 38px;
  border: 1px solid var(--border-2); border-radius: 999px;
}
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--gold); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

@media (max-width: 900px) {
  .hero { min-height: auto; padding: 120px 0 28px; }
  .constat { padding-top: 48px; }
  .hero-grid { grid-template-columns: 1fr; }
  .logo3d { width: min(70vw, 300px); }
  .hero-visual { translate: none; }
  .scroll-cue { display: none; }
  .br-desk { display: none; }
}
@media (max-width: 560px) {
  .hero-actions .btn { width: 100%; }
}

/* ---------- Constat ---------- */
.constat { border-top: 1px solid var(--border); }
.manifesto {
  margin: 0 auto clamp(56px, 8vw, 96px); max-width: 18em; text-align: center;
  font-family: var(--display); font-size: clamp(34px, 4.8vw, 64px); line-height: 1.08; font-weight: 500; letter-spacing: -.02em;
}
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pain {
  position: relative; overflow: hidden;
  padding: 34px 32px 26px; border-radius: var(--r); border: 1px solid var(--border); background: var(--surface);
  transition: border-color .5s var(--ease), transform .6s var(--ease);
}
.pain:hover { border-color: var(--border-2); transform: translateY(-4px); }
.pain-num {
  display: inline-grid; place-items: center; min-width: 36px; height: 36px; padding: 0 10px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--gold);
  border: 1px solid rgba(227, 198, 123, .3); background: rgba(227, 198, 123, .06); margin-bottom: 26px;
}
.pain h3 { font-family: var(--display); font-size: 23px; letter-spacing: -.014em; margin-bottom: 10px; }
.pain p { color: var(--text-2); font-size: 15.5px; }
.constat-answer {
  text-align: center; font-family: var(--display); font-weight: 400; font-size: clamp(21px, 2.2vw, 28px); line-height: 1.4; letter-spacing: -.014em;
  max-width: 30em; margin: clamp(52px, 7vw, 84px) auto 0; color: var(--text-2);
}
.constat-answer .gold-underline { font-size: 1.12em; }

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

/* ---------- Méthode ARBOR ---------- */
.arbor { display: grid; grid-template-columns: minmax(280px, 5fr) 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.tree-panel { align-self: stretch; }
@media (min-width: 901px) {
  /* pas d'espace après l'appel : l'arbre (sticky) s'arrête pile au bas de l'encadré,
     puis les deux remontent ensemble */
  .stages-col { padding-bottom: 0; }
  .stages-col .inline-cta { margin-top: 96px; flex-direction: column; align-items: flex-start; }
}
.tree-sticky {
  position: sticky; top: 108px;
  border-radius: var(--r-lg); border: 1px solid var(--border);
  background:
    radial-gradient(90% 60% at 50% 35%, rgba(227, 198, 123, .10), transparent 70%),
    linear-gradient(180deg, #13120F, #0D0C0A);
  padding: 30px 26px 22px; overflow: hidden;
}
.tree-sticky::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 244, 222, .09) 1px, transparent 1px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.tree { width: 100%; height: auto; overflow: visible; position: relative; }
.tree .ln, .tree .ring { fill: none; stroke: var(--beige); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease); }
.tree .ln.thin { stroke-width: 1.2; stroke: var(--text-2); }
.tree .ln.br { stroke-width: 3.2; }
.tree .ln.dash { stroke-width: 1; opacity: .4; }
.tree .canopy { stroke: var(--gold); stroke-width: 1.2; filter: drop-shadow(0 0 6px rgba(227, 198, 123, .45)); }
.tree .ring { stroke: var(--gold); stroke-width: 2.4; }
.tree .trunk { fill: var(--beige); transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); transition: transform 1.3s var(--ease); }
.tree .dot, .tree .seed, .tree .leaf, .tree .fruit { opacity: 0; transform-box: fill-box; transform-origin: center; scale: .2; transition: opacity .9s var(--ease), scale .9s var(--ease); }
.tree .dot { fill: var(--muted); }
.tree .seed { fill: var(--gold); filter: drop-shadow(0 0 6px var(--gold)); }
.tree .leaf { fill: rgba(227, 198, 123, .26); }
.tree .fruit { fill: #F2D993; filter: drop-shadow(0 0 7px rgba(227, 198, 123, .95)); }

/* stade N : les groupes 1..N apparaissent */
.tree[data-stage="1"] .tg-1 :is(.ln, .ring),
.tree[data-stage="2"] :is(.tg-1, .tg-2) :is(.ln, .ring),
.tree[data-stage="3"] :is(.tg-1, .tg-2, .tg-3) :is(.ln, .ring),
.tree[data-stage="4"] :is(.tg-1, .tg-2, .tg-3, .tg-4) :is(.ln, .ring),
.tree[data-stage="5"] :is(.ln, .ring) { stroke-dashoffset: 0; }

.tree[data-stage="1"] .tg-1 :is(.dot, .seed, .leaf, .fruit),
.tree[data-stage="2"] :is(.tg-1, .tg-2) :is(.dot, .seed, .leaf, .fruit),
.tree[data-stage="3"] :is(.tg-1, .tg-2, .tg-3) :is(.dot, .seed, .leaf, .fruit),
.tree[data-stage="4"] :is(.tg-1, .tg-2, .tg-3, .tg-4) :is(.dot, .seed, .leaf, .fruit),
.tree[data-stage="5"] :is(.dot, .seed, .leaf, .fruit) { opacity: 1; scale: 1; }

.tree:is([data-stage="3"], [data-stage="4"], [data-stage="5"]) .trunk { transform: scaleY(1); }
.tree:is([data-stage="3"], [data-stage="4"], [data-stage="5"]) .seed { opacity: 0; }

.tree .tg-2 .ln { transition-delay: .15s; }
.tree .tg-3 .ring { transition-delay: .7s; }
.tree .tg-3 .ring:nth-of-type(3) { transition-delay: .85s; }
.tree .tg-3 .ring:nth-of-type(4) { transition-delay: 1s; }
.tree .tg-4 .ln.thin { transition-delay: .5s; }
.tree .tg-4 .canopy { transition-duration: 2.2s; transition-delay: .5s; }
.tree .leaf { transition-delay: .9s; }
.tree .leaf:nth-of-type(3n) { transition-delay: 1.1s; }
.tree .leaf:nth-of-type(3n+1) { transition-delay: 1.3s; }

/* stade 1 : analyse du sol (loupe + faisceau qui balaie les couches) */
.tree .scan { opacity: 0; transition: opacity .8s var(--ease); }
.tree[data-stage="1"] .scan { opacity: 1; transition-delay: .9s; }
.tree .scan-move { animation: scan 3.6s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes scan {
  0%   { transform: translateX(60px); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateX(360px); opacity: 0; }
}
.tree .scan-beam { fill: url(#beam); }
.tree .loupe-glass { fill: rgba(227, 198, 123, .10); stroke: var(--gold); stroke-width: 2; }
.tree .loupe-glint { fill: none; stroke: rgba(255, 251, 242, .7); stroke-width: 1.6; stroke-linecap: round; }
.tree .loupe-handle { fill: none; stroke: var(--gold); stroke-width: 4; stroke-linecap: round; }
.tree[data-stage="1"] .tg-1 .dot { animation: dotPing 3.6s ease-out infinite; animation-delay: calc(var(--d, 0s) + .9s); }
@keyframes dotPing {
  0%, 22%, 100% { fill: var(--muted); scale: 1; filter: none; }
  6%            { fill: #F6E3AE; scale: 2.2; filter: drop-shadow(0 0 5px var(--gold)); }
}

/* stade 5 : les fruits apparaissent un à un puis scintillent doucement */
.tree .fruit { transition-duration: 1.1s; transition-delay: calc(.3s + var(--i, 0) * 110ms); }
.tree[data-stage="5"] .fruit { animation: fruitGlow 3.2s ease-in-out infinite; animation-delay: calc(1.8s + var(--i, 0) * 180ms); }
@keyframes fruitGlow {
  50% { filter: drop-shadow(0 0 12px rgba(246, 227, 174, 1)); scale: 1.12; }
}

.tree-status { position: relative; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); padding-top: 16px; margin-top: 10px; gap: 12px; }
.tree-count { font-family: var(--display); font-size: 13px; letter-spacing: .08em; color: var(--muted); font-variant-numeric: tabular-nums; }
.tree-count b { font-weight: 500; color: var(--gold); }
.tree-label { font-size: 18px; font-weight: 500; color: var(--text); }

.stage {
  padding: 0 0 72px; margin-bottom: 72px; border-bottom: 1px solid var(--border);
  opacity: .32; filter: saturate(.4); transition: opacity .7s var(--ease), filter .7s var(--ease);
}
.stage:last-child { margin-bottom: 0; border-bottom: 0; padding-bottom: 0; }
.stage.is-active, .stage.is-past { opacity: 1; filter: none; }

/* titre d'étape : le mot de la méthode (initiale dorée, les initiales forment A-R-B-O-R),
   puis ce que l'on fait concrètement, en sous-titre */
.stage-title { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; font-family: var(--display); font-weight: 500; }
.st-word { font-size: clamp(40px, 4.4vw, 58px); line-height: 1; letter-spacing: -.02em; color: var(--text); }
.st-word b { font-weight: 500; color: var(--gold); }
.stage.is-active .st-word b {
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 16px rgba(227, 198, 123, .4));
}
.st-sub {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: clamp(17px, 1.5vw, 20px); font-weight: 400; color: var(--text-2); letter-spacing: 0; line-height: 1.3;
}
.st-sub::before { content: ""; width: 28px; height: 1px; background: var(--gold); opacity: .7; }
.stage-body > p { color: var(--text-2); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 6px; }
.chips li { font-size: 13.5px; padding: 7px 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text-2); }

.stage-detail { margin-top: 18px; }
.stage-detail summary {
  cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 10px;
  font-size: 14.5px; font-weight: 500; color: var(--text);
  padding: 8px 8px 8px 18px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  transition: border-color .3s, background .3s;
}
.stage-detail summary:hover { border-color: rgba(227, 198, 123, .4); background: var(--surface-2); }
.stage-detail summary::-webkit-details-marker { display: none; }
.stage-detail summary::after {
  content: "+"; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--gold); color: var(--bg); font-size: 17px; font-weight: 500; line-height: 1;
  transition: transform .4s var(--ease);
}
.stage-detail[open] summary::after { transform: rotate(45deg); }
.detail-cols {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-top: 16px;
  animation: fadeUp .6s var(--ease);
}
.detail-cols > div { padding: 20px; border-radius: var(--r); border: 1px solid var(--border); background: var(--surface); }
.detail-cols h4 { font-family: var(--display); font-size: 16px; letter-spacing: -.01em; margin-bottom: 10px; color: var(--gold); }
.detail-cols li { font-size: 14px; color: var(--text-2); padding: 4px 0 4px 16px; position: relative; line-height: 1.5; }
.detail-cols li::before { content: ""; position: absolute; left: 0; top: 12px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-3); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); filter: blur(6px); } }

.branches { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 16px; animation: fadeUp .6s var(--ease); }
.branch {
  position: relative; overflow: hidden;
  padding: 18px 20px; border-radius: var(--r); border: 1px solid var(--border); background: var(--surface);
  display: flex; flex-direction: column; gap: 3px;
  transition: border-color .4s, transform .5s var(--ease);
}
.branch:hover { border-color: rgba(227, 198, 123, .35); transform: translateY(-3px); }
.branch span { font-family: var(--display); font-size: 18px; font-weight: 500; letter-spacing: -.014em; }
.branch small { font-size: 13px; color: var(--muted); line-height: 1.45; }

.inline-cta {
  position: relative; overflow: hidden;
  margin-top: clamp(64px, 9vw, 112px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 36px 40px; border-radius: var(--r-lg); border: 1px solid var(--border);
  background: radial-gradient(80% 140% at 100% 50%, rgba(227, 198, 123, .16), transparent 60%), var(--bg-3);
}
.inline-cta p { margin: 0; font-family: var(--display); font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.015em; line-height: 1.2; }

@media (max-width: 900px) {
  .arbor { grid-template-columns: 1fr; gap: 0; }
  .tree-panel { position: sticky; top: 76px; z-index: 5; margin: 0 0 36px; }
  .tree-sticky {
    position: static; display: flex; align-items: center; gap: 14px;
    padding: 6px 20px 6px 8px; border-radius: 999px;
    background: rgba(19, 18, 15, .85); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .7);
  }
  .tree-sticky::before { display: none; }
  .tree { width: 40px; flex: none; }
  .tree-status { flex: 1; border: 0; padding: 0; margin: 0; }
  .tree-label { font-size: 19px; }
  .stage { padding-bottom: 56px; margin-bottom: 56px; }
  .branches { grid-template-columns: 1fr; }
  .inline-cta { padding: 28px 24px; }
  .inline-cta .btn { width: 100%; }
}

/* ---------- Panneau / Accompagnement ---------- */
.dark {
  margin: 0 12px; border-radius: var(--r-lg);
  background:
    radial-gradient(60% 50% at 85% 0%, rgba(227, 198, 123, .14), transparent 70%),
    linear-gradient(180deg, #17150F, #0F0E0B);
  border: 1px solid var(--border);
  overflow: hidden;
}


.included {
  margin-top: 14px; display: flex; flex-direction: column; gap: 28px;
  padding: clamp(28px, 4vw, 44px); border-radius: var(--r); border: 1px solid var(--border); background: rgba(0, 0, 0, .25);
}
/* titre centré, liste, puis note et bouton centrés en dessous */
.included-title { font-family: var(--display); font-size: 30px; letter-spacing: -.015em; line-height: 1.1; text-align: center; }
.included-foot { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; padding-top: 6px; }
.included-foot p { margin: 0; max-width: 34em; font-size: 15.5px; line-height: 1.55; color: var(--text-2); }
.included-list { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 10px; }
.included-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--border); font-size: 15px; line-height: 1.35;
}
.included-list li::before {
  content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='%230B0A09' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}

@media (max-width: 900px) {
  .dark { margin: 0 8px; border-radius: 24px; }
  .included { gap: 22px; }
  .included-list { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .included-foot .btn { width: 100%; }
}

/* ---------- Badge Qualiopi & encart certification ---------- */
.check li::before, .insc-points li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  border: 1px solid rgba(227, 198, 123, .5);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='%23E3C67B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.q-badge {
  flex: none; display: inline-block; font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px; line-height: 1; color: var(--bg); background: var(--gold);
}

/* ---------- Déroulé ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.process li {
  position: relative; overflow: hidden; padding: 28px 26px 24px; border-radius: var(--r); border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 244, 222, .05), rgba(255, 244, 222, .015));
  transition: transform .6s var(--ease), border-color .4s;
}
.process li:hover { transform: translateY(-4px); border-color: var(--border-2); }
.p-num {
  display: block; width: fit-content; font-family: var(--display); font-size: 48px; font-weight: 500; letter-spacing: -.04em; line-height: 1; margin-bottom: 30px;
  background: linear-gradient(180deg, #F6E3AE, rgba(193, 154, 75, .2)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.process h3 { font-family: var(--display); font-size: 20px; letter-spacing: -.014em; margin-bottom: 8px; }
.process p { color: var(--text-2); font-size: 15px; margin: 0; }

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

/* ---------- À propos ---------- */
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 112px); align-items: center; }
.portrait { position: relative; }
.portrait-frame, .portrait img { aspect-ratio: 4 / 5; width: 100%; border-radius: var(--r-lg); object-fit: cover; }
.portrait-frame {
  position: relative; overflow: hidden; border: 1px solid var(--border);
  background: radial-gradient(70% 55% at 50% 45%, rgba(227, 198, 123, .22), transparent 70%), linear-gradient(180deg, #1A1813, #0E0D0B);
  display: grid; place-items: center;
}
.portrait-frame::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 40px 40px; opacity: .6;
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000, transparent 70%); mask-image: radial-gradient(circle at 50% 45%, #000, transparent 70%);
}
.portrait-mark { position: relative; width: 32%; aspect-ratio: 5 / 7; height: auto; animation: float 7s ease-in-out infinite; }
.about-copy > p:not(.eyebrow) { color: var(--text-2); font-size: 17.5px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.values > div { padding: 22px 20px; border-radius: var(--r); border: 1px solid var(--border); background: var(--surface); }
.values h4 { font-family: var(--display); font-size: 19px; letter-spacing: -.014em; margin-bottom: 6px; color: var(--gold); }
.values p { font-size: 14.5px; color: var(--text-2); line-height: 1.55; margin: 0; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 440px; }
}
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--border); }
.faq-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 112px); align-items: start; }
.faq .section-head { position: sticky; top: 120px; margin-bottom: 0; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border-radius: var(--r); border: 1px solid var(--border); background: var(--surface); transition: border-color .4s, background .4s; }
.faq-list details[open] { border-color: rgba(227, 198, 123, .3); background: var(--surface-2); }
.faq-list summary {
  cursor: pointer; list-style: none; padding: 22px 68px 22px 24px; position: relative;
  font-family: var(--display); font-size: clamp(17px, 1.6vw, 19px); font-weight: 500; letter-spacing: -.015em; line-height: 1.35;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list summary::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%;
}
.faq-list summary::before { border: 1px solid var(--border-2); transition: background .3s, border-color .3s; }
.faq-list summary::after {
  content: "+"; display: grid; place-items: center; font-family: var(--sans); font-weight: 300; font-size: 21px; line-height: 1; color: var(--gold);
  transition: transform .45s var(--ease), color .3s;
}
.faq-list details[open] summary::before { background: var(--gold); border-color: var(--gold); }
.faq-list details[open] summary::after { transform: rotate(45deg); color: var(--bg); }
.faq-list details p { color: var(--text-2); padding: 0 68px 22px 24px; margin: 0; animation: fadeUp .5s var(--ease); }

@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq .section-head { position: static; }
  .faq-list details p { padding-right: 24px; }
}

/* ---------- Inscription ---------- */
.inscription {
  margin: 0 12px 12px; border-radius: var(--r-lg); border: 1px solid var(--border); overflow: hidden;
  background:
    radial-gradient(50% 60% at 0% 100%, rgba(227, 198, 123, .12), transparent 70%),
    radial-gradient(50% 60% at 100% 0%, rgba(227, 198, 123, .10), transparent 70%),
    linear-gradient(180deg, #15130F, #0E0D0B);
}
.insc-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 112px); align-items: start; }
.insc-copy > p:not(.eyebrow) { color: var(--text-2); font-size: 17.5px; }
.insc-points { margin-top: 30px; display: grid; gap: 12px; }
.insc-points li { display: flex; align-items: flex-start; gap: 12px; }

.insc-form {
  position: relative; overflow: hidden;
  padding: clamp(26px, 4vw, 44px); border-radius: var(--r-lg);
  background: rgba(11, 10, 9, .55); border: 1px solid var(--border-2);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.field { display: flex; flex-direction: column; margin: 0 0 18px; border: 0; padding: 0; min-width: 0; position: relative; }
.field label, .field legend { font-size: 13px; font-weight: 500; margin-bottom: 8px; padding: 0; color: var(--text-2); }
.opt { font-weight: 300; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--text);
  background-color: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm);
  padding: 13px 15px; width: 100%;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
  -webkit-appearance: none; appearance: none;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--border-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: rgba(227, 198, 123, .6); background-color: var(--surface-2);
  box-shadow: 0 0 0 4px rgba(227, 198, 123, .12);
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%23BDB5A6' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 36px; cursor: pointer;
}
.field select option { background: #15130F; color: var(--text); }
.field textarea { resize: vertical; min-height: 88px; }
.field input.invalid, .field select.invalid, .field textarea.invalid { border-color: #D9795F; box-shadow: 0 0 0 4px rgba(217, 121, 95, .12); }

.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.segmented label { position: relative; margin: 0; cursor: pointer; font-weight: 400; font-size: 14.5px; color: var(--text-2); }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span { display: block; text-align: center; padding: 10px; border-radius: 10px; line-height: 1.3; transition: background .35s var(--ease), color .35s; }
.segmented label:hover span { color: var(--text); }
.segmented input:checked + span { background: var(--gold-grad); color: #15120B; font-weight: 500; box-shadow: 0 6px 16px -8px rgba(227, 198, 123, .6); }
.segmented input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--muted); line-height: 1.5; margin: 4px 0 24px; cursor: pointer; }
.consent input { accent-color: var(--gold); width: 17px; height: 17px; margin-top: 2px; flex: none; }
.consent.invalid span { color: #D9795F; }

/* agenda intégré sous le formulaire */
.insc-cal {
  position: relative; margin-top: clamp(32px, 4vw, 48px); border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border-2); background: rgba(11, 10, 9, .55); min-height: 300px;
}
.cal-embed { min-height: 700px; }
.cal-embed .calendly-inline-widget { width: 100%; height: auto !important; min-height: 700px; }
.cal-embed iframe { display: block; width: 100%; min-height: 700px; border: 0; }
.insc-cal.is-locked { min-height: 300px; }
.insc-cal.is-locked .cal-embed { min-height: 0; }
.cal-lock {
  display: none; padding: clamp(40px, 6vw, 72px) 24px; text-align: center; color: var(--text-2);
  background: repeating-linear-gradient(135deg, rgba(255, 244, 222, .02) 0 12px, transparent 12px 24px);
}
.insc-cal.is-locked .cal-lock { display: block; }
.cal-lock svg { width: 40px; height: 40px; fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; margin-bottom: 14px; }
.cal-lock h3 { font-size: 20px; font-weight: 500; color: var(--text); margin: 0 0 8px; }
.cal-lock p { max-width: 46ch; margin: 0 auto; font-size: 15px; }
.cal-fallback { padding: 40px 24px; text-align: center; color: var(--text-2); }
@media (max-width: 760px) { .cal-embed, .cal-embed iframe { min-height: 1000px; } }

.form-msg { margin: 14px 0 0; font-size: 14px; min-height: 1.4em; text-align: center; color: var(--text-2); }
.form-msg.error { color: #D9795F; }

@media (max-width: 900px) {
  .inscription { margin: 0 8px 8px; border-radius: 24px; }
  .insc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .segmented { grid-template-columns: 1fr; }
}

/* ---------- Pied de page ---------- */
.site-footer { position: relative; overflow: hidden; isolation: isolate; padding: clamp(80px, 9vw, 120px) 0 32px; }
.site-footer p { color: var(--muted); }
/* grand logotype en filigrane */
.site-footer::after {
  content: "Finarbor"; position: absolute; left: 50%; bottom: -0.2em; translate: -50% 0; z-index: -1;
  font-family: var(--brand); font-weight: 600; font-size: clamp(90px, 22vw, 330px); letter-spacing: -.04em; line-height: 1; white-space: nowrap;
  background: linear-gradient(180deg, rgba(227, 198, 123, .12), transparent 85%); -webkit-background-clip: text; background-clip: text; color: transparent;
  pointer-events: none;
}
.footer-top { display: grid; grid-template-columns: 5fr 3fr 4fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--border); }
.footer-brand p { max-width: 24em; margin-top: 20px; font-size: 15px; }
.site-footer h4 { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-nav { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a { font-size: 15px; color: var(--text-2); transition: color .3s, translate .4s var(--ease); width: fit-content; }
.footer-nav a:hover { color: var(--text); translate: 4px 0; }
.footer-cta p { font-family: var(--display); font-size: 22px; letter-spacing: -.014em; line-height: 1.3; color: var(--text); }

.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface);
  display: grid; place-items: center; transition: border-color .3s, background .3s, transform .5s var(--ease);
}
.socials a:hover { border-color: var(--gold); background: rgba(227, 198, 123, .1); transform: translateY(-3px); }
.socials svg { width: 19px; height: 19px; fill: none; stroke: var(--text); stroke-width: 1.4; }
.socials svg .fill { fill: var(--text); stroke: none; }

.footer-legal { padding-top: 30px; font-size: 13px; padding-bottom: clamp(60px, 13vw, 190px); }
.footer-legal p { font-size: 13px; line-height: 1.6; margin-bottom: 12px; max-width: 70em; }
.qualiopi-legal { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.q-foot { width: 120px; height: auto; padding: 6px 9px; background: #fff; border-radius: 8px; }
.legal-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 18px; color: var(--muted); }
.legal-row a { text-decoration: underline; text-decoration-color: var(--border-2); text-underline-offset: 3px; }
.legal-row a:hover { color: var(--gold); }

@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Halo qui suit la souris sur les cartes ---------- */
.spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(227, 198, 123, .13), transparent 45%);
  transition: opacity .4s;
}
.spot:hover::after { opacity: 1; }

/* ---------- Bouton flottant mobile ---------- */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta {
    display: flex; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90;
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .8), 0 8px 24px -10px rgba(227, 198, 123, .5);
    transform: translateY(160%); transition: transform .6s var(--ease);
  }
  .mobile-cta.show { transform: none; }
}

/* ---------- Apparitions au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); filter: blur(8px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal, .display .w { opacity: 1; transform: none; filter: none; }
}

/* ---------- Ordinateur : la section « Le constat » tient dans un seul écran ---------- */
@media (min-width: 901px) {
  .constat {
    padding: 100px 0 64px;          /* le haut laisse juste la place au menu flottant */
    scroll-margin-top: 0;           /* le lien « faire défiler » cadre la section pile dans l'écran */
  }
  /* enchaînement plus court vers la méthode, pour inviter à continuer */
  .methode { padding-top: 88px; }
  .constat .manifesto { max-width: 22em; font-size: clamp(34px, 3.6vw, 52px); margin-bottom: clamp(32px, 5vh, 56px); }
  .constat .pain { padding: 28px 28px 20px; }
  .constat .pain p { margin-bottom: 0; }
  .constat .constat-answer { margin-top: clamp(28px, 4.5vh, 48px); }
}

/* titre de l'accompagnement sur toute la largeur (2 lignes au lieu de 4) */
.accompagnement .section-head { max-width: none; }
.accompagnement .section-intro { max-width: 44em; }

/* ---------- À propos : présentation en cases ---------- */
.about-cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 8px; }
.acard {
  grid-column: span 2; position: relative; overflow: hidden;
  padding: 22px 20px; border-radius: var(--r); border: 1px solid var(--border); background: var(--surface);
  transition: border-color .4s, transform .6s var(--ease);
}
.acard:hover { border-color: var(--border-2); transform: translateY(-3px); }
.acard h4 { font-size: 19px; font-weight: 500; letter-spacing: -.01em; margin-bottom: 6px; color: var(--gold); }
.acard p { margin: 0; font-size: 14.5px; color: var(--text-2); line-height: 1.55; }

.acard-stat { grid-column: span 2; display: flex; flex-direction: column; gap: 6px; padding: 26px 24px; }
.acard-stat strong {
  font-size: clamp(34px, 3.4vw, 46px); font-weight: 500; letter-spacing: -.03em; line-height: 1; width: fit-content;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.acard-stat span { font-size: 14.5px; color: var(--text-2); line-height: 1.45; }

.acard-qualiopi {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 22px; padding: 22px 24px;
  background: radial-gradient(80% 140% at 0% 50%, rgba(227, 198, 123, .12), transparent 60%), var(--bg-3);
  border-color: rgba(227, 198, 123, .25);
}
.acard-qualiopi h3 { font-size: 19px; font-weight: 500; letter-spacing: -.01em; margin-bottom: 4px; }
/* le logo officiel est sur fond blanc : on le pose sur une pastille claire */
.q-logo { flex: none; display: grid; place-items: center; }
.q-logo img { display: none; width: 150px; height: auto; padding: 10px 14px; background: #fff; border-radius: 12px; }
.q-logo.has-img img { display: block; }
.q-logo.has-img .q-badge { display: none; }

.about-grid { align-items: start; }
.portrait { position: sticky; top: 120px; }

@media (max-width: 900px) { .portrait { position: relative; top: auto; } }
@media (max-width: 560px) {
  .about-cards { grid-template-columns: 1fr; }
  .acard, .acard-stat { grid-column: 1 / -1; }
  .acard-qualiopi { flex-direction: column; align-items: flex-start; }
}

.acard-expert {
  grid-column: 1 / -1; display: flex; gap: 18px; align-items: flex-start; padding: 26px 24px;
  background: linear-gradient(160deg, rgba(227, 198, 123, .10), transparent 55%), var(--surface);
}
.expert-icon {
  flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: rgba(227, 198, 123, .12); border: 1px solid rgba(227, 198, 123, .3);
}
.expert-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.acard-expert h3 { font-size: 20px; font-weight: 500; letter-spacing: -.01em; line-height: 1.25; margin-bottom: 8px; }
.acard-expert p { font-size: 14.5px; }
@media (max-width: 560px) { .acard-expert { grid-column: 1 / -1; flex-direction: column; } }

@media (min-width: 901px) and (max-width: 1180px) { .included-list { grid-template-columns: repeat(2, 1fr); } }

/* moins d'espace entre l'accompagnement et « À propos » */
.accompagnement { padding-bottom: clamp(20px, 3.6vw, 52px); }
.about { padding-top: clamp(72px, 8vw, 104px); }

/* téléphone / tablette : logo de « À propos » plus compact */
@media (max-width: 900px) {
  .portrait { max-width: 220px; margin: 0 auto; }
  .portrait-frame { aspect-ratio: 1; border-radius: 24px; }
  .portrait-mark { width: 38%; }
}

/* case chiffres clés : deux indicateurs empilés, séparés par un filet doré */
.acard-figures {
  grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; padding: 0;
  background: linear-gradient(90deg, rgba(227, 198, 123, .09), transparent 70%), var(--surface);
}
.fig { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 24px 20px; }
.fig + .fig { border-left: 1px solid rgba(227, 198, 123, .22); }
.fig strong {
  flex: none; white-space: nowrap; font-size: clamp(28px, 2.6vw, 36px); font-weight: 500; letter-spacing: -.02em; line-height: 1; width: fit-content;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.fig span { font-size: 14px; color: var(--text-2); line-height: 1.4; }
@media (max-width: 560px) {
  .acard-figures { grid-template-columns: 1fr; }
  .fig { flex-direction: column; gap: 4px; padding: 18px 20px; }
  .fig + .fig { border-left: 0; border-top: 1px solid rgba(227, 198, 123, .22); }
}

/* dernière section (formulaire) : moins d'espace en haut et en bas */
.inscription { padding: clamp(48px, 6vw, 88px) 0; }

/* FAQ : sur téléphone, la relance « d'autres questions ? » passe après la liste */
.faq-more-mobile { display: none; }
@media (max-width: 900px) {
  .faq-more-desk { display: none; }
  .faq .section-head .title { margin-bottom: 0; }
  .faq-more-mobile {
    display: block; text-align: center; margin-top: 8px;
    padding: 28px 22px; border-radius: var(--r); border: 1px solid rgba(227, 198, 123, .25);
    background: radial-gradient(90% 120% at 50% 0%, rgba(227, 198, 123, .12), transparent 70%), var(--bg-3);
  }
  .faq-more-mobile h3 { font-size: 22px; font-weight: 500; letter-spacing: -.015em; margin-bottom: 6px; }
  .faq-more-mobile p { color: var(--text-2); font-size: 15px; margin: 0 0 18px; }
}

/* ordinateur : le grand « Finarbor » en filigrane passe derrière les textes du pied de page */
@media (min-width: 901px) {
  .site-footer::after { top: 50%; bottom: auto; translate: -50% -50%; opacity: .8; }
  .footer-legal { padding-bottom: 0; }
}

/* ---------- Bouton Connexion ---------- */
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-login svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
@media (max-width: 1020px) {
  /* téléphone : dans le menu, en bas, sous « Réserver un appel » */
  .nav-actions { flex-direction: column; gap: 12px; width: min(280px, 80vw); }
  .nav-actions .btn { width: 100%; min-height: 50px; font-size: 15px; }
  .nav-actions .nav-login { order: 2; }
}

/* téléphone : moins d'espace entre « À propos » et la FAQ */
@media (max-width: 900px) {
  .about { padding-bottom: 40px; }
  .faq { padding-top: 48px; }
}
