/* ==========================================================================
   PROVENCE FAC — feuille de style commune
   Deux univers côte à côte : la sauge pour le laser, la noisette pour le
   développement personnel. Colonnes larges alignées à gauche, bandes pleine
   largeur qui alternent papier, sauge, lin et nuit.
   Titres : Bricolage Grotesque (étroit) — Texte : Figtree
   ========================================================================== */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal; font-display: swap; font-weight: 200 800; font-stretch: 75% 100%;
  src: url(../fonts/bricolage-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal; font-display: swap; font-weight: 200 800; font-stretch: 75% 100%;
  src: url(../fonts/bricolage-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree";
  font-style: normal; font-display: swap; font-weight: 300 900;
  src: url(../fonts/figtree-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  font-style: normal; font-display: swap; font-weight: 300 900;
  src: url(../fonts/figtree-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree";
  font-style: italic; font-display: swap; font-weight: 300 900;
  src: url(../fonts/figtree-latin-italic.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC;
}

@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

:root {
  /* Couleurs de la charte */
  --sauge: #A3BE9A;          /* vert pastel */
  --sauge-vive: #6F9A68;
  --sauge-pro: #3D6140;      /* boutons et liens : contraste AA avec le blanc */
  --noisette: #D3B69C;       /* marron pastel */
  --noisette-vive: #B4836A;
  --cacao: #694C39;          /* marron profond : boutons du développement personnel */
  --sable: #E4C47F;          /* ocre doux, soleil */

  --paper: #FCFCF8;
  --mist: #EEF3E9;           /* lavis de sauge */
  --mist-2: #E1EADA;
  --lin: #F6EFE6;            /* lavis de noisette */
  --lin-2: #EDE0D2;
  --line: #DCE2D3;
  --ink: #2E352E;
  --ink-strong: #1B221C;
  --muted: #586157;

  --night: #1C231D;
  --night-2: #263026;
  --on-night: #E6ECE1;
  --on-night-muted: #AFBDA9;

  /* Longueurs d'onde : une couleur de la charte par laser */
  --wl-755: #6F9A68;
  --wl-810: #B4836A;
  --wl-1064: #D9AE55;

  --f-display: "Bricolage Grotesque", "Avenir Next Condensed", "Arial Narrow", system-ui, sans-serif;
  --f-text: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --r-s: 12px;
  --r-m: 20px;
  --r-l: 32px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header-h: 72px;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, canvas { max-width: 100%; }
img { height: auto; }
a { color: var(--sauge-pro); text-underline-offset: 3px; text-decoration-thickness: 1px; }
p { margin: 0; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--f-display);
  color: var(--ink-strong);
  text-wrap: balance;
}
h1 { font-size: clamp(2.8rem, 7vw, 5.9rem); font-weight: 620; font-stretch: 82%; line-height: .96; letter-spacing: -.024em; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); font-weight: 600; font-stretch: 85%; line-height: 1.02; letter-spacing: -.02em; }
h3 { font-size: clamp(1.22rem, 1.6vw, 1.45rem); font-weight: 600; font-stretch: 90%; line-height: 1.18; letter-spacing: -.012em; }
strong { font-weight: 650; color: var(--ink-strong); }
:focus-visible { outline: 2.5px solid var(--sauge-pro); outline-offset: 3px; border-radius: 8px; }
::selection { background: color-mix(in srgb, var(--sauge) 55%, #fff); color: var(--ink-strong); }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--ink-strong); color: #fff; text-decoration: none; }
.skip:focus { top: 12px; }
.nowrap { white-space: nowrap; }

.lede { font-size: clamp(1.08rem, 1.4vw, 1.24rem); line-height: 1.56; color: var(--muted); max-width: 56ch; }
.muted { color: var(--muted); }
.fine { font-size: .88rem; color: var(--muted); }

/* ---------- Barre de progression de lecture ---------- */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 70;
  transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--sauge-vive), var(--noisette-vive) 60%, var(--sable));
  pointer-events: none;
}
@supports (animation-timeline: scroll()) {
  .progress { animation: grow-x linear both; animation-timeline: scroll(root); }
}
@keyframes grow-x { to { transform: scaleX(1); } }

/* ---------- Boutons ---------- */
.btn {
  --b: var(--sauge-pro);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 1.5px solid transparent; border-radius: 999px;
  font: 600 1rem/1.1 var(--f-text); letter-spacing: .005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), background-color .3s, color .3s, border-color .3s, box-shadow .35s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--b); color: #fff; box-shadow: 0 12px 26px -14px var(--b); }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.26) 50%, transparent 70%);
  transform: translateX(-110%); transition: transform .8s var(--ease);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -14px var(--b); }
.btn--primary:hover::after { transform: translateX(110%); }
.btn--brun { --b: var(--cacao); }
.btn--ghost { background: transparent; color: var(--ink-strong); border-color: color-mix(in srgb, var(--ink) 26%, transparent); }
.btn--ghost:hover { border-color: var(--ink-strong); background: color-mix(in srgb, #fff 55%, transparent); }
.btn--light { background: #fff; color: var(--ink-strong); }
.btn--light:hover { transform: translateY(-2px); }
.btn--small { min-height: 42px; padding: 0 18px; font-size: .95rem; }
.on-night .btn--ghost, .band--night .btn--ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.on-night .btn--ghost:hover, .band--night .btn--ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 30px; padding: 4px 12px; border-radius: 999px;
  background: color-mix(in srgb, var(--sauge) 30%, #fff); color: var(--ink-strong);
  font-size: .86rem; font-weight: 550; line-height: 1.2;
}
.chip--lin { background: color-mix(in srgb, var(--noisette) 34%, #fff); }
.chip--night { background: rgba(255,255,255,.08); color: var(--on-night); border: 1px solid rgba(255,255,255,.12); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  transition: background-color .35s, box-shadow .35s;
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--paper) 80%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--line) 90%, transparent);
}
.nav { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand {
  display: inline-flex; align-items: center; gap: 10px; margin-right: auto;
  font-family: var(--f-display); font-size: 1.28rem; font-weight: 560; font-stretch: 86%; letter-spacing: -.015em;
  color: var(--ink-strong); text-decoration: none; white-space: nowrap;
}
.brand svg { width: 36px; height: 36px; flex: none; }
.brand b { font-weight: 780; font-stretch: 100%; letter-spacing: .02em; color: var(--sauge-pro); margin-left: .18em; }
.nav-links { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav-links a {
  display: block; padding: 9px 14px; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 520; font-size: .97rem;
  transition: background-color .25s, color .25s;
}
.nav-links a:hover { background: color-mix(in srgb, var(--sauge) 24%, transparent); color: var(--ink-strong); }
.nav-links a[aria-current="page"] { background: color-mix(in srgb, var(--sauge) 38%, transparent); color: var(--ink-strong); }
.nav-links .only-mobile { display: none; }
.nav-toggle {
  display: none; position: relative; width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: color-mix(in srgb, var(--sauge) 26%, transparent); cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; margin-left: -9px; border-radius: 2px;
  background: var(--ink-strong); transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span { margin-top: -1px; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; left: 0; margin-left: 0; }
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after { transform: translateY(6px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .nav-links {
    position: absolute; left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); top: calc(var(--header-h) - 4px);
    flex-direction: column; align-items: stretch; gap: 2px; padding: 10px;
    border-radius: var(--r-m); background: var(--paper);
    box-shadow: 0 24px 48px -20px rgba(27,34,28,.35), 0 0 0 1px var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .3s var(--ease), visibility .25s;
  }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 13px 16px; border-radius: 12px; font-size: 1.04rem; }
  .nav-links .only-mobile { display: block; }
}

/* ---------- Bandes ---------- */
.band { position: relative; padding-block: clamp(84px, 10vw, 140px); }
.band--tight { padding-block: clamp(64px, 7vw, 96px); }
.band--mist { background: var(--mist); }
.band--lin { background: var(--lin); }
.band--night { background: var(--night); color: var(--on-night); }
.band--night h2, .band--night h3, .band--night strong { color: #fff; }
.band--night .lede, .band--night .muted, .band--night .fine { color: var(--on-night-muted); }
.band--night a:not(.btn) { color: var(--sauge); }
.band-head { display: grid; gap: 20px; max-width: 800px; margin-bottom: clamp(44px, 5vw, 68px); }
.band-head--split { max-width: none; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; gap: 24px 56px; }
@media (max-width: 860px) { .band-head--split { grid-template-columns: 1fr; } }

/* Grain discret sur les grandes surfaces */
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: .5; mix-blend-mode: multiply;
  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='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .3 0 0 0 0 .25 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Héros de l'accueil ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: calc(-1 * var(--header-h));
  padding-top: calc(var(--header-h) + clamp(48px, 7vw, 104px));
  padding-bottom: clamp(140px, 14vw, 200px);
  background: var(--paper);
}
.hero-field { position: absolute; inset: 0; z-index: -1; }
.hero-field canvas { display: block; width: 100%; height: 100%; }
.hero-field::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--paper) 0%, color-mix(in srgb, var(--paper) 92%, transparent) 30%, color-mix(in srgb, var(--paper) 0%, transparent) 64%),
    linear-gradient(0deg, var(--paper) 0%, color-mix(in srgb, var(--paper) 0%, transparent) 22%);
}
.hero-copy { position: relative; display: grid; gap: 26px; max-width: 800px; }
.hero-copy .lede { max-width: 52ch; }
.hero h1 { display: grid; }
.hero h1 .l1 { color: var(--sauge-pro); }
.hero h1 .l2 { color: var(--cacao); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero h1 .line > span { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .hero h1 .line > span { animation: rise 1s var(--ease) both; }
  .hero h1 .line:nth-child(2) > span { animation-delay: .14s; }
  .hero .lede, .hero .actions, .hero-facts { animation: fade-up .9s var(--ease) .3s both; }
}
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 6px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .95rem; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 18px; height: 18px; color: var(--sauge-vive); flex: none; }

@media (max-width: 820px) {
  .hero { padding-top: 0; padding-bottom: 8px; }
  .hero-field { position: relative; inset: auto; z-index: 0; height: calc(var(--header-h) + clamp(220px, 58vw, 340px)); }
  .hero-field::after { background: linear-gradient(180deg, color-mix(in srgb, var(--paper) 70%, transparent) 0%, color-mix(in srgb, var(--paper) 0%, transparent) 26%, color-mix(in srgb, var(--paper) 0%, transparent) 74%, var(--paper) 100%); }
  .hero-copy { margin-top: -8px; }
}

/* ---------- Deux univers ---------- */
.duo-band { padding-top: 0; padding-bottom: clamp(72px, 8vw, 112px); margin-top: clamp(-110px, -8vw, -60px); z-index: 1; }
@media (max-width: 820px) { .duo-band { margin-top: 0; padding-top: 24px; } }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; transition: grid-template-columns .7s var(--ease); }
@media (hover: hover) and (min-width: 861px) {
  .duo:has(.uni--laser:hover) { grid-template-columns: 1.32fr 1fr; }
  .duo:has(.uni--perso:hover) { grid-template-columns: 1fr 1.32fr; }
}
.uni {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-rows: auto 1fr; gap: 26px; min-width: 0;
  padding: clamp(24px, 3vw, 40px); border-radius: var(--r-l);
  color: var(--ink); text-decoration: none;
  box-shadow: 0 30px 60px -36px rgba(27,34,28,.45);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.uni--laser { background: linear-gradient(165deg, #E4EEDF 0%, #C4D7BC 100%); }
.uni--perso { background: linear-gradient(165deg, #F5EBE0 0%, #E2CCB6 100%); }
.uni:hover { transform: translateY(-4px); box-shadow: 0 40px 70px -36px rgba(27,34,28,.5); }
.uni-visual { height: clamp(190px, 20vw, 240px); border-radius: var(--r-m); overflow: hidden; background: rgba(255,255,255,.45); }
.uni-visual svg { display: block; width: 100%; height: 100%; }
.uni--laser .uni-visual { background: #F8FBF5; }
.uni--perso .uni-visual { background: #FBF7F2; }
.uni-copy { display: grid; gap: 14px; align-content: start; }
.uni h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-stretch: 82%; letter-spacing: -.025em; }
.uni p { max-width: 46ch; color: color-mix(in srgb, var(--ink) 88%, transparent); }
.uni-go { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; font-weight: 650; color: var(--sauge-pro); }
.uni--perso .uni-go { color: var(--cacao); }
.uni-go i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: currentColor; transition: transform .45s var(--ease); }
.uni-go i svg { width: 18px; height: 18px; color: #fff; }
.uni:hover .uni-go i { transform: translateX(6px) rotate(-45deg); }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }

/* Rayons du panneau laser */
.beam-pulse { stroke-dasharray: 6 18; animation: pulse-down 1.6s linear infinite; }
.uni:hover .beam-pulse { animation-duration: .7s; }
.beam-glow { transition: opacity .5s; opacity: .55; }
.uni:hover .beam-glow { opacity: 1; }
@keyframes pulse-down { to { stroke-dashoffset: -48; } }

/* Anneau des 24 heures du panneau développement personnel */
.ring-seg { transition: stroke-dasharray .9s var(--ease), stroke-dashoffset .9s var(--ease); }
.uni--perso:hover .ring-work { stroke-dasharray: var(--w2) 999; }
.uni--perso:hover .ring-self { stroke-dasharray: var(--s2) 999; stroke-dashoffset: var(--so2); }
.uni--perso:hover .ring-life { stroke-dashoffset: var(--lo2); }
.ring-hand { transform-origin: 140px 120px; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .beam-pulse, .ring-hand { animation: none; }
}

/* ---------- Blocs « feature » ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.feature--flip > :first-child { order: 2; }
.feature-copy { display: grid; gap: 22px; align-content: start; min-width: 0; }
.feature-copy .actions { margin-top: 8px; }
.feature-visual { margin: 0; min-width: 0; }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature--flip > :first-child { order: 0; }
}

.ticks { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 20px; height: 20px; border-radius: 50%;
  background: color-mix(in srgb, var(--sauge) 45%, #fff) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233D6140' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.ticks--brun li::before {
  background: color-mix(in srgb, var(--noisette) 50%, #fff) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23694C39' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.band--night .ticks li::before {
  background: rgba(163,190,154,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A3BE9A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ---------- Coupe de peau et longueurs d'onde ---------- */
.skin-card {
  position: relative; padding: clamp(14px, 2vw, 22px); border-radius: var(--r-l);
  background: linear-gradient(170deg, #FFFFFF 0%, var(--mist) 100%);
  box-shadow: 0 30px 60px -38px rgba(27,34,28,.4), 0 0 0 1px var(--line);
}
.skin { display: block; width: 100%; height: auto; border-radius: 22px; }
.skin .wl { transition: opacity .45s var(--ease); }
.skin.has-active .wl:not(.is-active) { opacity: .16; }
.skin .wl-label { font: 650 15px var(--f-text); fill: var(--ink-strong); }
.skin .wl-name { font: 500 12.5px var(--f-text); fill: var(--muted); }
.skin .layer-label { font: 600 12px var(--f-text); fill: var(--cacao); opacity: .75; letter-spacing: .02em; }
.skin .beam-flow { stroke-dasharray: 4 14; animation: pulse-down 1.4s linear infinite; }
.skin--auto .wl { animation: wl-cycle 7.5s var(--ease) infinite; }
.skin--auto .wl[data-wl="810"] { animation-delay: 2.5s; }
.skin--auto .wl[data-wl="1064"] { animation-delay: 5s; }
@keyframes wl-cycle { 0%, 100% { opacity: .28; } 8%, 30% { opacity: 1; } 40% { opacity: .28; } }
@media (prefers-reduced-motion: reduce) { .skin .beam-flow, .skin--auto .wl { animation: none; opacity: 1; } }
.wl-controls { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.wl-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px;
  border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-strong);
  font: 600 .95rem var(--f-text); cursor: pointer; transition: border-color .25s, background-color .25s, transform .25s var(--ease);
}
.wl-btn i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 22%, transparent); }
.wl-btn:hover { transform: translateY(-1px); border-color: var(--c); }
.wl-btn[aria-pressed="true"] { border-color: var(--c); background: color-mix(in srgb, var(--c) 14%, #fff); }
.wl-caption { min-height: 3.2em; margin-top: 14px; color: var(--muted); font-size: .98rem; max-width: 60ch; }

/* ---------- Maquette de l'espace stagiaire ---------- */
.mock {
  position: relative; border-radius: var(--r-l); overflow: hidden;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 50px 90px -40px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.08);
  transform: perspective(1400px) rotateY(-7deg) rotateX(3deg);
  transition: transform .9s var(--ease);
}
.mock:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
@media (max-width: 900px), (prefers-reduced-motion: reduce) { .mock, .mock:hover { transform: none; } }
.mock-bar { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--line); background: #fff; font-size: .9rem; }
.mock-bar .brand-mini { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 600; font-stretch: 86%; color: var(--ink-strong); }
.mock-bar .brand-mini svg { width: 22px; height: 22px; }
.mock-bar .lock { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .82rem; }
.mock-bar .lock svg { width: 14px; height: 14px; }
.mock-body { display: grid; gap: 16px; padding: 22px; }
.mock-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.mock-head h3, .band--night .mock-head h3 { font-size: 1.5rem; color: var(--ink-strong); }
.mock-meter { display: grid; gap: 6px; font-size: .85rem; color: var(--muted); }
.meter-track { height: 8px; border-radius: 99px; background: var(--mist-2); overflow: hidden; }
.meter-track i { display: block; height: 100%; width: var(--v, 0%); border-radius: inherit; background: linear-gradient(90deg, var(--sauge-vive), var(--sauge-pro)); }
.mock-steps { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: mstep; }
.mock-step {
  display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line);
}
.mock-step::before {
  counter-increment: mstep; content: counter(mstep);
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--mist); color: var(--sauge-pro); font-weight: 700; font-size: .9rem;
}
.mock-step.is-done::before { content: "✓"; background: var(--sauge-pro); color: #fff; }
.mock-step b { display: block; color: var(--ink-strong); font-weight: 650; }
.mock-step span { display: block; color: var(--muted); font-size: .86rem; line-height: 1.4; }
.mock-step .meter-track { margin-top: 8px; height: 6px; }
.badge { display: inline-flex; align-items: center; min-height: 26px; padding: 2px 10px; border-radius: 999px; font-size: .78rem; font-weight: 650; white-space: nowrap; }
.badge--fait { background: color-mix(in srgb, var(--sauge) 40%, #fff); color: var(--sauge-pro); }
.badge--cours { background: color-mix(in srgb, var(--sable) 45%, #fff); color: #6A4F12; }
.badge--afaire { background: var(--lin); color: var(--cacao); }
.mock-foot { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: var(--mist); font-size: .88rem; color: var(--ink); }
.mock-foot svg { width: 18px; height: 18px; color: var(--sauge-pro); flex: none; }
.mock-note { margin-top: 14px; font-size: .86rem; color: var(--on-night-muted); }

/* ---------- Thèmes (liste) ---------- */
.themes { margin: 0; padding: 0; list-style: none; border-top: 1px solid color-mix(in srgb, var(--cacao) 22%, transparent); }
.themes li { border-bottom: 1px solid color-mix(in srgb, var(--cacao) 22%, transparent); }
.theme-row {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 64px minmax(0, .9fr) minmax(0, 1.3fr) 48px; align-items: center; gap: 20px 32px;
  padding: 26px 8px; color: var(--ink); text-decoration: none;
}
.theme-row::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 18px;
  background: color-mix(in srgb, var(--noisette) 34%, transparent);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease);
}
.theme-row:hover::before, .theme-row:focus-visible::before { transform: none; }
.theme-ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: #fff; color: var(--cacao); box-shadow: 0 0 0 1px color-mix(in srgb, var(--cacao) 16%, transparent); transition: transform .5s var(--ease); }
.theme-ico svg { width: 34px; height: 34px; }
.theme-row:hover .theme-ico { transform: rotate(-6deg) scale(1.04); }
.theme-row h3 { font-size: clamp(1.45rem, 2.4vw, 2rem); font-stretch: 82%; letter-spacing: -.02em; }
.theme-row p { color: var(--muted); }
.theme-go { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--cacao) 35%, transparent); color: var(--cacao); transition: background-color .3s, color .3s, transform .45s var(--ease); }
.theme-go svg { width: 18px; height: 18px; }
.theme-row:hover .theme-go { background: var(--cacao); color: #fff; transform: rotate(-45deg); }
@media (max-width: 760px) {
  .theme-row { grid-template-columns: 52px minmax(0, 1fr); padding: 22px 4px; }
  .theme-ico { width: 52px; height: 52px; border-radius: 16px; }
  .theme-row p { grid-column: 1 / -1; }
  .theme-go { display: none; }
}

/* ---------- Matrice des formats ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--r-l); box-shadow: 0 0 0 1px var(--line); background: #fff; }
.matrix { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; font-size: 1rem; }
.matrix th, .matrix td { padding: 22px 26px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.matrix tr:last-child th, .matrix tr:last-child td { border-bottom: 0; }
.matrix thead th { font-family: var(--f-display); font-weight: 600; font-stretch: 88%; font-size: 1.25rem; color: var(--ink-strong); }
.matrix thead th:nth-child(2) { background: var(--mist); }
.matrix thead th:nth-child(3) { background: var(--lin); }
.matrix thead th:first-child { width: 24%; }
.matrix tbody th { font-weight: 650; color: var(--ink-strong); }
.matrix tbody th span { display: flex; align-items: center; gap: 12px; }
.matrix tbody th svg { width: 26px; height: 26px; color: var(--sauge-vive); flex: none; }
.matrix td { color: var(--ink); }
.matrix td:nth-child(2) { background: color-mix(in srgb, var(--mist) 45%, #fff); }
.matrix td:nth-child(3) { background: color-mix(in srgb, var(--lin) 45%, #fff); }
.matrix .dot { display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 50%; vertical-align: .05em; }

/* ---------- Faits / engagements ---------- */
.why { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.why > div:first-child { display: grid; gap: 22px; position: sticky; top: calc(var(--header-h) + 32px); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; }
.facts > div { padding: 28px 28px 30px 0; border-top: 1px solid color-mix(in srgb, var(--sauge-pro) 22%, transparent); }
.facts > div:nth-child(odd) { padding-right: 32px; }
.facts dt { font-family: var(--f-display); font-size: 1.32rem; font-weight: 600; font-stretch: 88%; color: var(--ink-strong); margin-bottom: 8px; letter-spacing: -.01em; }
.facts dd { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; } .why > div:first-child { position: static; } }
@media (max-width: 600px) { .facts { grid-template-columns: 1fr; } .facts > div, .facts > div:nth-child(odd) { padding-right: 0; } }

/* ---------- Appel à l'action ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(84px, 10vw, 132px); background: var(--sauge-pro); color: #fff; }
.cta--brun { background: var(--cacao); }
.cta::before {
  content: ""; position: absolute; z-index: -1; right: -10%; top: -60%; width: 70vw; max-width: 900px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--sable) 55%, transparent) 0%, transparent 62%);
  opacity: .55;
}
.cta-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px 64px; align-items: end; }
.cta h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 4rem); }
.cta .lede { color: rgba(255,255,255,.82); margin-top: 18px; }
.cta-side { display: grid; gap: 18px; justify-items: start; }
.mail-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.mail-addr { font: 600 1.15rem var(--f-text); color: #fff; user-select: all; }
.copy-btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; font: 600 .86rem var(--f-text); cursor: pointer;
}
.copy-btn:hover { background: rgba(255,255,255,.12); }
.copy-btn svg { width: 15px; height: 15px; }
.cta .btn--light { color: var(--sauge-pro); }
.cta--brun .btn--light { color: var(--cacao); }
.cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.cta .btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
@media (max-width: 860px) { .cta-inner { grid-template-columns: 1fr; } }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--night); color: var(--on-night-muted); padding-top: 76px; padding-bottom: calc(36px + env(safe-area-inset-bottom, 0px)); font-size: .96rem; }
.site-footer .brand { color: #fff; }
.site-footer .brand b { color: var(--sauge); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); gap: 40px; }
.footer-grid > div:first-child { display: grid; gap: 18px; align-content: start; max-width: 40ch; }
.footer-col h2 { font-family: var(--f-text); font-size: .95rem; font-weight: 650; letter-spacing: .01em; color: #fff; margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.site-footer a { color: var(--on-night-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .88rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

/* ==========================================================================
   Pages intérieures
   ========================================================================== */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: calc(-1 * var(--header-h));
  padding-top: calc(var(--header-h) + clamp(40px, 6vw, 84px));
  padding-bottom: clamp(64px, 8vw, 112px);
}
.page-hero--laser { background: linear-gradient(175deg, var(--paper) 0%, var(--mist) 100%); }
.page-hero--perso { background: linear-gradient(175deg, var(--paper) 0%, var(--lin) 100%); }
.page-hero--plain { background: linear-gradient(175deg, var(--paper) 0%, var(--mist) 100%); padding-bottom: clamp(40px, 5vw, 64px); }
.page-hero::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: -30%; width: 120vw; height: 90%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 70% 40%, color-mix(in srgb, var(--sable) 32%, transparent) 0%, transparent 55%);
}
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.page-hero-copy { display: grid; gap: 24px; align-content: start; }
@media (max-width: 920px) { .page-hero-grid { grid-template-columns: 1fr; } }
.page-hero h1 { font-size: clamp(2.8rem, 6.6vw, 5.4rem); }
.page-hero--laser h1 { color: var(--sauge-pro); }
.page-hero--perso h1 { color: var(--cacao); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: .9rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink-strong); text-decoration: underline; }

/* Onglets segmentés */
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; margin-bottom: 36px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); max-width: 100%; }
.seg [role="tab"] {
  min-height: 46px; padding: 0 22px; border: 0; border-radius: 999px; background: transparent;
  font: 600 1rem var(--f-text); color: var(--muted); cursor: pointer; transition: background-color .3s, color .3s;
}
.seg [role="tab"]:hover { color: var(--ink-strong); }
.seg [role="tab"][aria-selected="true"] { background: var(--sauge-pro); color: #fff; }
.seg--brun [role="tab"][aria-selected="true"] { background: var(--cacao); }
.tab-panel { animation: fade-up .5s var(--ease); }
@media (prefers-reduced-motion: reduce) { .tab-panel { animation: none; } }
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.col { display: grid; gap: 14px; align-content: start; padding: 28px; border-radius: var(--r-m); background: #fff; box-shadow: 0 0 0 1px var(--line); }
.col h3 { font-size: 1.2rem; }
.col p + p { margin-top: 0; }
@media (max-width: 900px) { .cols-3 { grid-template-columns: 1fr; } }

/* Parcours en étapes */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.step { position: relative; display: grid; gap: 10px; align-content: start; padding: 30px 28px 34px 0; border-top: 2px solid var(--line); counter-increment: step; }
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--f-display); font-size: 2.6rem; font-weight: 300; font-stretch: 78%; line-height: 1; color: var(--sauge-vive);
  margin-bottom: 6px;
}
.step::after { content: ""; position: absolute; left: 0; top: -2px; width: 0; height: 2px; background: var(--sauge-pro); transition: width .8s var(--ease); }
.step:hover::after { width: 100%; }
.step--online { }
.step .chip { justify-self: start; }
.step p { color: var(--muted); }
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps--brun .step::before { color: var(--noisette-vive); }
.steps--brun .step::after { background: var(--cacao); }
@media (max-width: 960px) { .steps, .steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps, .steps--4 { grid-template-columns: 1fr; } .step { padding-right: 0; } }

/* Infos pratiques */
.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; border-radius: var(--r-l); overflow: hidden; box-shadow: 0 0 0 1px var(--line); background: #fff; }
.info-grid > div { padding: 26px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.info-grid > div:nth-child(3n) { border-right: 0; }
.info-grid > div:nth-last-child(-n + 3) { border-bottom: 0; }
.info-grid dt { font-size: .88rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.info-grid dd { margin: 0; font-family: var(--f-display); font-size: 1.28rem; font-weight: 560; font-stretch: 90%; color: var(--ink-strong); line-height: 1.25; }
@media (max-width: 760px) {
  .info-grid { grid-template-columns: 1fr 1fr; }
  .info-grid > div { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line) !important; }
  .info-grid > div:nth-child(2n) { border-right: 0 !important; }
  .info-grid > div:nth-last-child(-n + 2) { border-bottom: 0 !important; }
}

/* Livre */
.book { overflow: hidden; }
.book .feature { grid-template-columns: minmax(0, .7fr) minmax(0, 1.2fr); }
.book-cover { position: relative; margin: 0; justify-self: center; max-width: 340px; }
.book-cover::before { content: ""; position: absolute; inset: 10% -20% -6% -20%; z-index: 0; border-radius: 50%; background: radial-gradient(circle, rgba(163,190,154,.35), transparent 65%); }
.book-cover a { position: relative; z-index: 1; display: block; border-radius: 6px; transform: rotate(-3deg); transition: transform .7s var(--ease); box-shadow: 0 40px 70px -30px rgba(0,0,0,.7); }
.book-cover a:hover { transform: rotate(0) translateY(-6px); }
.book-cover img { display: block; width: 100%; border-radius: 6px; }
.book-meta { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 900px) { .book .feature { grid-template-columns: 1fr; } }

/* Questions fréquentes */
.faq { display: grid; gap: 10px; max-width: 880px; }
.faq details { border-radius: var(--r-m); background: #fff; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .3s; }
.faq details[open] { box-shadow: 0 0 0 1.5px var(--sauge-vive), 0 18px 34px -24px rgba(27,34,28,.35); }
.faq--brun details[open] { box-shadow: 0 0 0 1.5px var(--noisette-vive), 0 18px 34px -24px rgba(27,34,28,.35); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 26px; cursor: pointer; list-style: none;
  font-family: var(--f-display); font-size: 1.2rem; font-weight: 580; font-stretch: 90%; color: var(--ink-strong);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233D6140' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .35s var(--ease);
}
.faq--brun summary::after { background-color: var(--lin); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23694C39' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E"); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { display: grid; gap: 12px; padding: 0 26px 24px; color: var(--muted); max-width: 72ch; }

/* ---------- Développement personnel ---------- */
.week {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px 28px; align-items: center;
  padding: clamp(20px, 3vw, 32px); border-radius: var(--r-l);
  background: linear-gradient(170deg, #fff 0%, color-mix(in srgb, var(--lin) 70%, #fff) 100%);
  box-shadow: 0 30px 60px -38px rgba(27,34,28,.4), 0 0 0 1px color-mix(in srgb, var(--noisette) 45%, transparent);
}
.week h2 { font-size: 1.5rem; font-stretch: 88%; grid-column: 1 / -1; }
.week-ring { position: relative; width: 100%; max-width: 280px; justify-self: center; aspect-ratio: 1; }
.week-ring svg { width: 100%; height: 100%; display: block; transform: rotate(-90deg); }
.week-ring circle { fill: none; stroke-width: 21; transition: stroke-dasharray .6s var(--ease), stroke-dashoffset .6s var(--ease); }
.week-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 2px; }
.week-center b { font-family: var(--f-display); font-size: clamp(2.4rem, 4.4vw, 3.2rem); font-weight: 650; font-stretch: 78%; line-height: 1; color: var(--cacao); font-variant-numeric: tabular-nums; }
.week-center span { font-size: .82rem; line-height: 1.3; color: var(--muted); max-width: 14ch; margin-inline: auto; }
.week-center span + span { margin-top: 4px; color: var(--cacao); font-weight: 600; }
.week-controls { display: grid; gap: 16px; min-width: 0; }
.week-field { display: grid; gap: 6px; }
.week-field label { display: flex; justify-content: space-between; gap: 10px; font-size: .92rem; font-weight: 600; color: var(--ink-strong); }
.week-field output { font-variant-numeric: tabular-nums; color: var(--cacao); }
.week-field input[type="range"] { width: 100%; accent-color: var(--cacao); height: 28px; }
.week-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; margin: 0; padding: 0; list-style: none; font-size: .85rem; color: var(--muted); grid-column: 1 / -1; }
.week-legend li { display: flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.week-legend i { width: 12px; height: 12px; border-radius: 4px; background: var(--c); flex: none; }
.week-legend b { margin-left: auto; color: var(--ink-strong); font-weight: 650; }
.week-legend .is-free { grid-column: 1 / -1; padding: 6px 10px; margin-top: 2px; border-radius: 10px; background: color-mix(in srgb, var(--sable) 26%, #fff); color: var(--ink-strong); font-weight: 600; }
.week-note { grid-column: 1 / -1; font-size: .82rem; color: var(--muted); }
@media (max-width: 520px) { .week { grid-template-columns: 1fr; } .week-legend { grid-template-columns: 1fr; } }

.theme-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; padding-block: clamp(48px, 6vw, 80px); border-top: 1px solid color-mix(in srgb, var(--cacao) 18%, transparent); }
.theme-block:first-of-type { border-top: 0; padding-top: 0; }
.theme-block:nth-of-type(even) > .theme-copy { order: 2; }
.theme-copy { display: grid; gap: 20px; align-content: start; min-width: 0; }
.theme-copy h3 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-stretch: 80%; letter-spacing: -.028em; color: var(--cacao); }
.theme-copy .h-small { font-family: var(--f-text); font-size: .95rem; font-weight: 650; color: var(--ink-strong); margin-top: 4px; }
.theme-visual { margin: 0; min-width: 0; padding: clamp(18px, 2.4vw, 28px); border-radius: var(--r-l); background: #fff; box-shadow: 0 0 0 1px color-mix(in srgb, var(--noisette) 40%, transparent), 0 26px 50px -36px rgba(27,34,28,.4); }
.theme-visual svg { display: block; width: 100%; height: auto; }
.theme-visual figcaption { margin-top: 12px; font-size: .84rem; color: var(--muted); }
.theme-visual text { font-family: var(--f-text); }
.note { padding: 14px 18px; border-radius: 14px; background: color-mix(in srgb, var(--sable) 22%, #fff); color: var(--ink); font-size: .95rem; }
@media (max-width: 900px) { .theme-block { grid-template-columns: 1fr; } .theme-block:nth-of-type(even) > .theme-copy { order: 0; } }

.formats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.format { position: relative; overflow: hidden; display: grid; gap: 14px; align-content: start; padding: 30px; border-radius: var(--r-l); background: #fff; box-shadow: 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.format:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), 0 30px 50px -34px rgba(27,34,28,.45); }
.format-ico { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 18px; background: var(--lin); color: var(--cacao); }
.format-ico svg { width: 30px; height: 30px; }
.format h3 { font-size: 1.45rem; }
.format p { color: var(--muted); }
.format--main { background: linear-gradient(165deg, #F5EBE0, #E9D7C5); box-shadow: none; }
.format--main .format-ico { background: #fff; }
@media (max-width: 900px) { .formats { grid-template-columns: 1fr; } }

/* ---------- Pages légales ---------- */
.legal { display: grid; gap: 16px; justify-items: start; }
.legal > * { max-width: 760px; }
.legal h2 { font-size: 1.6rem; font-stretch: 88%; margin-top: 28px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.15rem; margin-top: 8px; }
.legal address { font-style: normal; line-height: 1.75; }
.legal ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.legal mark { background: color-mix(in srgb, var(--sable) 45%, #fff); color: var(--ink-strong); padding: 0 4px; border-radius: 4px; }
.legal .updated { margin-top: 24px; font-size: .9rem; color: var(--muted); }

/* Encart du livre (page Formations laser) */
.book-teaser {
  display: flex; align-items: center; gap: 16px; max-width: 520px; margin-top: 4px;
  padding: 12px 18px 12px 14px; border-radius: 20px;
  background: color-mix(in srgb, #fff 78%, transparent); box-shadow: 0 0 0 1px var(--line);
  color: var(--ink); text-decoration: none;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.book-teaser:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--sauge), 0 20px 34px -22px rgba(27,34,28,.45); }
.book-teaser img { flex: none; width: 58px; height: auto; border-radius: 3px; box-shadow: 0 10px 18px -8px rgba(0,0,0,.45); transform: rotate(-4deg); transition: transform .45s var(--ease); }
.book-teaser:hover img { transform: rotate(0) scale(1.04); }
.book-teaser > span { display: grid; gap: 3px; min-width: 0; }
.book-teaser strong { font-family: var(--f-display); font-size: 1.15rem; font-weight: 600; font-stretch: 88%; color: var(--ink-strong); }
.book-teaser small { color: var(--muted); font-size: .9rem; line-height: 1.4; }
.book-teaser .go { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; color: var(--sauge-pro); font-weight: 650; font-size: .92rem; }
.book-teaser .go svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.book-teaser:hover .go svg { transform: translateX(3px); }
