/* =================================================================
   Libération Émotionnelle — Design System
   Palette : sable chaud + accent vert sauge unique (logo)
   Typo : Fraunces (display) + Outfit (texte)
   ================================================================= */

:root {
  /* Neutres chauds */
  --paper:      #F6F3EC;
  --paper-2:    #EFEAE0;
  --surface:    #FFFFFF;
  --line:       #E4DED2;
  --line-soft:  #EDE8DD;

  /* Encre (jamais de noir pur) */
  --ink:        #1E2A23;
  --ink-soft:   #4C584F;
  --ink-mute:   #687168;

  /* Accent unique : vert sauge (issu du logo), désaturé */
  --sage:       #6E8C7B;
  --sage-deep:  #3E5A4B;
  --sage-dark:  #2C4337;
  --sage-soft:  #DCE6DD;
  --sage-tint:  #EAF0EA;
  --sage-pale:  #CFE6D5;

  /* Rayons & ombres (teintées sur le fond) */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --r-xl: 44px;
  --shadow-soft: 0 18px 40px -22px rgba(46, 67, 55, 0.30);
  --shadow-lift: 0 28px 60px -28px rgba(46, 67, 55, 0.38);

  --maxw: 1240px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* Plans (z-index) */
  --z-nav-mobile: 99;
  --z-header: 100;
  --z-modal: 200;
  --z-grain: 9999;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; color-scheme: light; }
body {
  font-family: "Outfit", system-ui, -apple-system, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }
a, button, summary, input, textarea { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
[id] { scroll-margin-top: 6rem; }

/* Focus clavier visible partout (anneau sauge, blanc sur fond sombre) */
:focus-visible { outline: 2px solid var(--sage-deep); outline-offset: 3px; }
.cta-band :focus-visible, .site-footer :focus-visible, .cell-feature :focus-visible, .offer.featured :focus-visible { outline-color: #fff; }

/* Lien d'évitement (visible au clavier seulement) */
.skip-link { position: absolute; top: 0.75rem; left: 0.75rem; z-index: calc(var(--z-header) + 1); padding: 0.7rem 1.1rem; border-radius: 999px; background: var(--sage-deep); color: #fff; font-weight: 600; transform: translateY(-200%); transition: transform 0.25s var(--ease); }
.skip-link:focus { transform: none; outline-color: #fff; }

/* Grain léger, fixe, hors flux (perf) */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: var(--z-grain);
  pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Typographie ---------- */
.display, h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 480;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-optical-sizing: auto;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.15; letter-spacing: -0.01em; }
p { color: var(--ink-soft); max-width: 65ch; text-wrap: pretty; }
em { font-style: italic; }

.eyebrow {
  font-family: "Outfit", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: var(--sage); display: inline-block;
}
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-soft); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 3rem); }
.section { padding-block: clamp(4.5rem, 9vw, 8.5rem); }
.section-sm { padding-block: clamp(3rem, 6vw, 5rem); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-weight: 600; font-size: 0.98rem;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease), color 0.35s var(--ease);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--sage-deep); color: #fff; box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: var(--sage-dark); transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-primary:active { transform: translateY(0) scale(0.98); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--sage); color: var(--sage-deep); transform: translateY(-2px); }
.btn-ghost:active { transform: translateY(0) scale(0.98); }
.btn-text { color: var(--sage-deep); font-weight: 600; display: inline-flex; align-items: center; gap: 0.4rem; }
.btn-text svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.btn-text:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(246, 243, 236, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding-block: 1rem; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; font-family: "Fraunces", serif; font-size: 1.12rem; letter-spacing: -0.01em; color: var(--ink); }
.brand img { width: 40px; height: 40px; }
.brand small { display: block; font-family: "Outfit", sans-serif; font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-weight: 500; font-size: 0.98rem; color: var(--ink-soft); position: relative; transition: color 0.3s var(--ease); }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -5px; width: 0; height: 2px; background: var(--sage); transition: width 0.35s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 0.75rem; }
.nav-mobile { display: none; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero (asymétrique, split) ---------- */
.hero { position: relative; padding-top: clamp(2rem, 4vw, 3.5rem); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-copy { max-width: 36rem; }
.hero h1 { margin: 1.4rem 0 1.3rem; }
.hero h1 .accent { color: var(--sage-deep); font-style: italic; }
.hero .lead { margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.hero-meta { margin-top: 2.6rem; display: flex; gap: 1.4rem 2.2rem; flex-wrap: wrap; }
.hero-meta .stat { display: flex; flex-direction: column; }
.hero-meta .stat b { font-family: "Fraunces", serif; font-size: 1.8rem; color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.hero-meta .stat span { font-size: 0.85rem; color: var(--ink-mute); max-width: 16ch; }

.hero-visual { position: relative; }
.hero-visual .frame { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lift); aspect-ratio: 4 / 5; }
.hero-visual .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: -28px; bottom: 40px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 1rem 1.2rem;
  box-shadow: var(--shadow-soft); max-width: 230px;
  display: flex; gap: 0.8rem; align-items: center;
}
.hero-badge .dot { width: 38px; height: 38px; border-radius: 50%; background: var(--sage-tint); display: grid; place-items: center; flex-shrink: 0; color: var(--sage-deep); }
.hero-badge .dot svg { width: 20px; height: 20px; }
.hero-badge p { font-size: 0.85rem; color: var(--ink-soft); margin: 0; line-height: 1.4; }
.hero-badge b { color: var(--ink); }

/* Bandeau marquee */
.marquee { border-block: 1px solid var(--line); background: var(--paper-2); overflow: hidden; }
.marquee-track { display: flex; gap: 3rem; white-space: nowrap; padding-block: 1rem; animation: marquee 32s linear infinite; }
.marquee-track span { font-family: "Fraunces", serif; font-style: italic; font-size: 1.15rem; color: var(--sage-deep); display: inline-flex; align-items: center; gap: 3rem; }
.marquee-track span::after { content: "·"; color: var(--sage); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Section header ---------- */
.section-head { max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin: 1rem 0 1.1rem; }

/* ---------- "Pour qui" / problèmes (bento asymétrique) ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.1rem; }
.bento .cell {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--r-lg); padding: clamp(1.4rem, 2.5vw, 2.1rem);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  position: relative; overflow: hidden;
}
.bento .cell:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: var(--sage-soft); }
.bento .cell h3 { margin-bottom: 0.5rem; }
.bento .cell p { font-size: 0.96rem; }
.bento .ico { width: 46px; height: 46px; border-radius: 14px; background: var(--sage-tint); color: var(--sage-deep); display: grid; place-items: center; margin-bottom: 1.1rem; }
.bento .ico svg { width: 24px; height: 24px; }
.cell-wide { grid-column: span 4; }
.cell-tall { grid-column: span 2; }
.cell-half { grid-column: span 3; }
.cell-third { grid-column: span 2; }
.cell-feature { grid-column: span 4; }
.bento .cell-feature { background: var(--sage-deep); color: #fff; }
.bento .cell-feature h3 { color: #fff; }
.bento .cell-feature p { color: rgba(255,255,255,0.82); }
.bento .cell-feature .ico { background: rgba(255,255,255,0.14); color: #fff; }
.cell-img { grid-column: span 2; }
.bento .cell-img { padding: 0; min-height: 220px; }
.cell-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Méthode : étapes ---------- */
.steps { display: grid; gap: 0; counter-reset: step; }
.step { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.2rem, 3vw, 2.4rem); padding-block: clamp(1.6rem, 3vw, 2.4rem); border-top: 1px solid var(--line); align-items: start; }
.step:last-child { border-bottom: 1px solid var(--line); }
.step .num { font-family: "Fraunces", serif; font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--sage); width: clamp(2.5rem, 6vw, 4rem); }
.step h3 { margin-bottom: 0.5rem; }
.step p { font-size: 0.98rem; }

/* ---------- Zig-zag (méthode / différenciation) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.reverse .split-media { order: -1; }
.split-media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-soft); aspect-ratio: 4/3; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media.portrait { aspect-ratio: 3/4; }
.split-copy h2 { margin-bottom: 1.2rem; }
.tick-list { margin-top: 1.6rem; display: grid; gap: 0.9rem; }
.tick-list li { display: flex; gap: 0.8rem; align-items: flex-start; color: var(--ink-soft); }
.tick-list li svg { width: 22px; height: 22px; color: var(--sage-deep); flex-shrink: 0; margin-top: 2px; }

/* ---------- Offres (lignes éditoriales empilées) ---------- */
.offers { display: grid; gap: 1.4rem; }
.offer {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  padding: clamp(1.8rem, 3vw, 2.8rem);
  display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.offer:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: var(--sage-soft); }
.offer.featured { background: var(--sage-deep); color: #fff; border-color: var(--sage-deep); }
.offer.featured h3, .offer.featured .offer-price b { color: #fff; }
.offer.featured p, .offer.featured .offer-meta { color: rgba(255,255,255,0.82); }
.offer.featured .offer-tag { background: rgba(255,255,255,0.16); color: #fff; }
.offer.featured .tick-list li { color: rgba(255,255,255,0.9); }
.offer.featured .tick-list li svg { color: #fff; }
.offer-tag { display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage-deep); background: var(--sage-tint); padding: 0.3rem 0.7rem; border-radius: 999px; margin-bottom: 0.9rem; }
.offer h3 { margin-bottom: 0.6rem; }
.offer-meta { font-size: 0.9rem; color: var(--ink-mute); margin-bottom: 0.8rem; }
.offer .tick-list { margin-top: 1rem; }
.offer-side { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 1rem; min-width: 180px; }
.offer-price b { font-family: "Fraunces", serif; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 500; color: var(--ink); display: block; font-variant-numeric: tabular-nums; }
.offer-price span { font-size: 0.85rem; color: var(--ink-mute); }

/* ---------- Sessions / dates ---------- */
.sessions { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.2rem; }
.session-card {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  padding: clamp(1.4rem, 2.5vw, 1.9rem); display: flex; flex-direction: column; gap: 0.9rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.session-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: var(--sage-soft); }
.session-top { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; }
.session-tag { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage-deep); }
.badge { font-size: 0.72rem; font-weight: 600; padding: 0.28rem 0.66rem; border-radius: 999px; white-space: nowrap; }
.badge.open { background: var(--sage-tint); color: var(--sage-deep); }
.badge.soon { background: var(--paper-2); color: var(--ink-mute); }
.badge.full { background: #F4E3DB; color: #975739; }
.session-date { font-family: "Fraunces", serif; font-size: 1.5rem; line-height: 1.15; color: var(--ink); letter-spacing: -0.01em; }
.session-meta { display: grid; gap: 0.5rem; margin-top: 0.2rem; }
.session-meta li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.92rem; color: var(--ink-soft); }
.session-meta svg { width: 18px; height: 18px; color: var(--sage); flex-shrink: 0; }
.session-card .btn { margin-top: auto; justify-content: center; }
.session-pay { display: flex; align-items: center; justify-content: center; gap: 0.4rem; margin: 0.6rem 0 0; font-size: 0.8rem; color: var(--ink-mute); }
.session-pay svg { width: 14px; height: 14px; color: var(--sage-deep); }

/* ---------- FAQ (accordéon) ---------- */
.faq { max-width: 760px; }
.faq details { border-top: 1px solid var(--line); padding: 1.15rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: "Fraunces", serif; font-size: 1.15rem; letter-spacing: -0.01em; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--sage-deep); font-family: "Outfit", sans-serif; font-size: 1.5rem; line-height: 1; transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0.8rem 0 0; font-size: 0.98rem; }

/* Bandeau prix sticky (pages offre) */
.price-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 1.4rem 1.8rem; box-shadow: var(--shadow-soft); }
.price-bar .pb-price { display: flex; flex-direction: column; }
.price-bar .pb-price b { font-family: "Fraunces", serif; font-size: 2rem; font-weight: 500; color: var(--ink); line-height: 1; }
.price-bar .pb-price span { font-size: 0.85rem; color: var(--ink-mute); margin-top: 0.2rem; }
.price-bar .pb-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-left: auto; align-items: center; }
.price-bar .pb-note { display: flex; align-items: center; gap: 0.45rem; font-size: 0.82rem; color: var(--ink-mute); }
.price-bar .pb-note svg { width: 14px; height: 14px; color: var(--sage-deep); }

/* Cursus en modules (pages offre) */
.modules { display: grid; gap: 1.2rem; }
.module { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.3rem); }
.module.is-cert { border-color: var(--sage-soft); background: var(--sage-tint); }
.module-head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.8rem 1.5rem; flex-wrap: wrap; }
.module-head .m-num { font-family: "Outfit", sans-serif; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage-deep); }
.module-head .m-dur { font-size: 0.85rem; color: var(--ink-mute); }
.module h3 { margin: 0.5rem 0 0.7rem; }
.module > p { font-size: 0.98rem; }
.module .m-part { border-top: 1px solid var(--line); margin-top: 1.1rem; padding-top: 1.1rem; }
.module .m-part b { display: block; margin-bottom: 0.3rem; color: var(--ink); }
.module .m-part p { font-size: 0.96rem; margin: 0; }
.module .m-tag { display: inline-block; margin-top: 1rem; font-size: 0.78rem; font-weight: 600; color: var(--sage-deep); background: var(--surface); border: 1px solid var(--sage-soft); padding: 0.3rem 0.8rem; border-radius: 999px; }
.btn[disabled] { opacity: 0.5; pointer-events: none; }

/* États (chargement / vide / erreur) */
.sessions-state { text-align: center; padding: clamp(2rem, 5vw, 3.5rem) 1rem; color: var(--ink-mute); }
.sessions-state h3 { color: var(--ink); margin-bottom: 0.6rem; }
.sessions-state p { margin-inline: auto; }
.skeleton { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: clamp(1.4rem,2.5vw,1.9rem); }
.skeleton .bar { height: 14px; border-radius: 7px; background: linear-gradient(90deg, var(--paper-2) 25%, var(--line-soft) 37%, var(--paper-2) 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; margin-bottom: 0.9rem; }
.skeleton .bar.lg { height: 26px; width: 70%; }
.skeleton .bar.sm { width: 50%; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .skeleton .bar { animation: none; } }

/* ---------- Modale d'inscription ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: var(--z-modal); display: none;
  align-items: center; justify-content: center; padding: 1.2rem;
  background: rgba(30, 42, 35, 0.45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--surface); border-radius: var(--r-lg); width: 100%; max-width: 460px;
  padding: clamp(1.6rem, 4vw, 2.4rem); box-shadow: var(--shadow-lift); position: relative;
  max-height: 90dvh; overflow-y: auto; overscroll-behavior: contain;
  animation: modal-in 0.35s var(--ease);
}
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .modal { animation: none; } }
.modal-close { position: absolute; top: 0.9rem; right: 0.9rem; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-mute); transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.modal-close:hover { background: var(--paper-2); color: var(--ink); }
.modal-close svg { width: 18px; height: 18px; }
.modal .eyebrow { margin-bottom: 0.6rem; }
.modal h3 { margin-bottom: 0.4rem; }
.modal .modal-sub { font-size: 0.92rem; color: var(--ink-mute); margin-bottom: 1.4rem; }
.modal-form { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-size: 0.85rem; font-weight: 500; color: var(--ink); }
.field input, .field textarea {
  padding: 0.8rem 1rem; border-radius: var(--r-sm); border: 1px solid var(--line);
  background: var(--paper); color: var(--ink); font: inherit; font-size: 0.95rem;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field input:focus, .field textarea:focus { border-color: var(--sage); background: var(--surface); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--sage); outline-offset: 2px; }
.field textarea { resize: vertical; min-height: 80px; }
.field .session-recap { font-size: 0.9rem; color: var(--sage-deep); background: var(--sage-tint); border-radius: var(--r-sm); padding: 0.7rem 0.9rem; }
.modal-form .btn { justify-content: center; margin-top: 0.3rem; }
.modal .form-msg { margin: 0; min-height: 0; }
.modal .form-msg.error { color: #975739; }
.modal .form-msg.success { color: var(--sage-deep); }

/* ---------- Citation ---------- */
.quote { text-align: center; max-width: 50ch; margin-inline: auto; }
.quote blockquote { font-family: "Fraunces", serif; font-size: clamp(1.5rem, 3.4vw, 2.4rem); line-height: 1.28; color: var(--ink); font-weight: 420; letter-spacing: -0.01em; }
.quote .mark { font-size: 3rem; color: var(--sage); line-height: 0.5; font-family: "Fraunces", serif; }
.quote cite { display: block; margin-top: 1.6rem; font-style: normal; font-size: 0.92rem; color: var(--ink-mute); letter-spacing: 0.04em; }

/* ---------- À propos / signature ---------- */
.profile-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: clamp(1.6rem,3vw,2.4rem); display: flex; gap: 1.4rem; align-items: center; box-shadow: var(--shadow-soft); }
.profile-card img { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.profile-card b { font-family: "Fraunces", serif; font-size: 1.3rem; display: block; }
.profile-card span { font-size: 0.9rem; color: var(--ink-mute); }
.timeline { display: grid; gap: 1.1rem; margin-top: 2rem; }
.timeline li { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: baseline; }
.timeline .yr { font-family: "Fraunces", serif; color: var(--sage-deep); font-size: 1.1rem; min-width: 3.2rem; }

/* ---------- Newsletter / CTA band ---------- */
.cta-band { background: var(--sage-dark); color: #fff; border-radius: var(--r-xl); padding: clamp(2.5rem, 5vw, 4.5rem); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.10), transparent 70%); }
.cta-band h2, .cta-band p { color: #fff; }
.cta-band h2 { margin: 1rem 0 1rem; }
.cta-band .eyebrow { color: var(--sage-pale); }
.cta-band .btn-primary { background: #fff; color: var(--sage-dark); }
.cta-band .btn-primary:hover { background: var(--paper); }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.3); }
.cta-band .btn-ghost:hover { border-color: #fff; color: #fff; }
.cta-actions { display: flex; flex-direction: column; gap: 0.8rem; align-items: flex-start; }
.cta-band p { color: rgba(255,255,255,0.82); max-width: 48ch; }
.cta-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; align-items: center; position: relative; z-index: 1; }
.cta-grid > * { min-width: 0; }
.newsletter-form { display: flex; flex-direction: column; gap: 0.6rem; }
.newsletter-form label { font-size: 0.8rem; color: rgba(255,255,255,0.7); font-weight: 500; letter-spacing: 0.04em; }
.field-row { display: flex; gap: 0.6rem; }
.field-row input { min-width: 0; }
.newsletter-form input {
  flex: 1; padding: 0.95rem 1.2rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.08); color: #fff; font: inherit; font-size: 0.95rem;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.62); }
.newsletter-form input:focus { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.12); }
.newsletter-form input:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.newsletter-form .btn-primary { background: #fff; color: var(--sage-dark); }
.newsletter-form .btn-primary:hover { background: var(--paper); }
.form-help { font-size: 0.78rem; color: rgba(255,255,255,0.72); }
.form-help a { color: rgba(255,255,255,0.8); text-decoration: underline; text-underline-offset: 2px; transition: color 0.3s var(--ease); }
.form-help a:hover { color: #fff; }
.form-msg { font-size: 0.9rem; margin-top: 0.4rem; min-height: 1.2rem; }
.form-msg.error { color: #F4C7B6; }
.form-msg.success { color: var(--sage-pale); }

/* ---------- Disclaimer / garde-fou ---------- */
.note { background: var(--sage-tint); border: 1px solid var(--sage-soft); border-radius: var(--r-md); padding: 1.4rem 1.6rem; display: flex; gap: 1rem; align-items: flex-start; }
.note svg { width: 22px; height: 22px; color: var(--sage-deep); flex-shrink: 0; margin-top: 2px; }
.note p { font-size: 0.92rem; color: var(--sage-dark); margin: 0; }

/* ---------- Chips (exemples / pourquoi consulter) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
.chip { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 0.5rem 1.05rem; font-size: 0.92rem; color: var(--ink-soft); transition: border-color 0.3s var(--ease), transform 0.3s var(--ease); }
.chip:hover { border-color: var(--sage-soft); transform: translateY(-2px); }
.chip span { width: 6px; height: 6px; border-radius: 50%; background: var(--sage); flex-shrink: 0; }
.offer-solo { border-color: var(--sage-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.7); padding-block: clamp(3rem, 6vw, 5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.15fr 1fr; gap: 2rem; }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: rgba(255,255,255,0.64); }
.footer-col h3 { font-family: "Outfit", sans-serif; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.64); margin-bottom: 1.1rem; font-weight: 600; }
.footer-col a { display: block; padding-block: 0.35rem; color: rgba(255,255,255,0.72); transition: color 0.3s var(--ease); font-size: 0.95rem; }
.footer-col a:hover { color: #fff; }
.footer-intro p { color: rgba(255,255,255,0.6); font-size: 0.92rem; margin-top: 1rem; max-width: 34ch; }
.socials { display: flex; gap: 0.6rem; margin-top: 1.4rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); display: grid; place-items: center; color: rgba(255,255,255,0.8); transition: background 0.3s var(--ease), transform 0.3s var(--ease); }
.socials a:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,0.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.82rem; color: rgba(255,255,255,0.64); }
.footer-bottom a { color: rgba(255,255,255,0.72); }
.footer-bottom a:hover { color: #fff; }

/* ---------- Reveal on scroll ---------- */
/* Masqué uniquement si le JS est actif (classe .js sur <html>).
   Sans JS, le contenu reste visible : pas de page blanche possible. */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Page intro (sous-pages) ---------- */
.page-hero { padding-top: clamp(3rem, 6vw, 5rem); }
.page-hero .lead { margin-top: 1.2rem; }
.breadcrumb { font-size: 0.85rem; color: var(--ink-mute); margin-bottom: 1.2rem; }
.breadcrumb a:hover { color: var(--sage-deep); }

/* ---------- Pages légales (prose) ---------- */
.legal-body { max-width: 760px; }
.legal-body h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 2.8rem 0 1rem; }
.legal-body h3 { font-size: 1.15rem; margin: 1.8rem 0 0.5rem; }
.legal-body p { margin-bottom: 1rem; }
.legal-body ul { list-style: disc; padding-left: 1.3rem; margin: 0.8rem 0 1.3rem; display: grid; gap: 0.45rem; }
.legal-body li { color: var(--ink-soft); padding-left: 0.2rem; }
.legal-body a { color: var(--sage-deep); text-decoration: underline; text-underline-offset: 3px; }
.legal-body a:hover { color: var(--sage-dark); }
.legal-body dl { display: grid; grid-template-columns: max-content 1fr; gap: 0.45rem 1.4rem; margin: 1rem 0 1.4rem; }
.legal-body dt { font-weight: 600; color: var(--ink); }
.legal-body dd { color: var(--ink-soft); margin: 0; }
.legal-updated { font-size: 0.85rem; color: var(--ink-mute); margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.todo { background: #FBE8C8; color: #7A5A12; padding: 0.05em 0.35em; border-radius: 4px; font-weight: 600; font-size: 0.92em; }
@media (max-width: 600px) { .legal-body dl { grid-template-columns: 1fr; gap: 0.1rem 0; } .legal-body dt { margin-top: 0.6rem; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; }
  .hero-badge { left: auto; right: 12px; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .cta-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cell-wide, .cell-feature, .cell-half, .cell-tall, .cell-third, .cell-img { grid-column: span 3; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta .btn-ghost, .nav-cta .btn-primary { display: none; }
  .nav-toggle { display: flex; }
  .brand small { font-size: 0.6rem; }
  .nav-mobile { position: fixed; inset: 64px 0 auto 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 1.5rem; display: none; flex-direction: column; gap: 0.4rem; z-index: var(--z-nav-mobile); box-shadow: var(--shadow-soft); }
  body.nav-open .nav-mobile { display: flex; }
  .nav-mobile a { padding: 0.85rem 0.5rem; font-size: 1.05rem; border-bottom: 1px solid var(--line-soft); }
  .nav-mobile .btn { margin-top: 0.8rem; justify-content: center; }
  .bento { grid-template-columns: 1fr; }
  .cell-wide, .cell-feature, .cell-half, .cell-tall, .cell-third, .cell-img { grid-column: span 1; }
  .cell-img { min-height: 200px; }
  .offer { grid-template-columns: 1fr; }
  .offer-side { text-align: left; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .step { grid-template-columns: 1fr; gap: 0.4rem; }
  .step .num { width: auto; }
  .field-row { flex-direction: column; }
  .field-row .btn { justify-content: center; }
  .cta-actions { align-items: stretch; }
  .cta-actions .btn { justify-content: center; }
}
