/* ============================================================
   LES DEUX DOSSIERS MATERNELLE — autonomies.lesprepasdemathilde.com
   Charte habituelle des landings LPDM : Fraunces + Manrope, pastels,
   ombres douces, bordures fines, jamais de contour noir.
   Une seule entorse, volontaire : la police manuscrite des documents de
   Mathilde (--marker) sert UNIQUEMENT aux mots forts, en capitales
   (CONSOLER, RITUALISER, les axes, les chiffres clés).
   ============================================================ */

/* Marykate : la police des titres de Mathilde. Deposer le fichier dans
   fonts/Marykate.woff2 et les mots forts basculent dessus automatiquement.
   Tant qu'il est absent, on descend sur Grandstander. */
@font-face {
  font-family: "Marykate";
  src: url("../fonts/Marykate.woff2") format("woff2"),
       url("../fonts/Marykate.ttf") format("truetype");
  font-weight: 400; font-display: swap;
}
@font-face { font-family: "Belle Allure Script"; src: url("../fonts/BelleAllureScript.woff2") format("woff2"); font-display: swap; }

:root {
  --rose: #F4A5B8; --rose-deep: #E07A93; --rose-light: #FDF2F4;
  --coral: #FF7A59; --coral-deep: #ED5C3B; --coral-light: #FFEDE7;
  --mint: #7DD3B3; --mint-deep: #5BB594; --mint-light: #E8F7F0;
  --sky: #7AB8E0; --sky-deep: #5499C4; --sky-light: #E5F1F9;
  --lemon: #F5E07A; --lemon-deep: #C9B144; --lemon-light: #FBF5DA;
  --lavender: #C4A8E0; --lavender-deep: #9F7FC4; --lavender-light: #F1EAF8;
  --peach: #F5B895; --peach-deep: #D07E4E; --peach-light: #FCEDE2;

  /* L'accent vient du beige de la page de garde des Autonomies (#F5C6AC).
     Trop clair pour du texte (1,55:1 sur blanc), on en tire donc une famille :
     le sable pour les fonds et le trait de pinceau, la terracotta de la meme
     teinte (21 deg) pour tout ce qui doit se lire. */
  --sand: #F5C6AC; --sand-light: #FBEDE5;
  --terra: #C06A39; --terra-deep: #9E562E;   /* 4,0:1 et 5,5:1 sur blanc */
  --accent: var(--terra); --accent-deep: var(--terra-deep);
  --accent-soft: var(--sand); --accent-light: var(--sand-light);

  --bg: #FAFAF8; --surface: #FFFFFF; --ink: #2E2A27; --ink-2: #6D645E; --ink-3: #9E9690;
  --line: #EBE4DB; --line-soft: #F2EDE6;

  --display: "Fraunces", Georgia, serif;
  --body: "Manrope", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --marker: "Marykate", "Grandstander", "Comic Sans MS", cursive;
  --hand: "Belle Allure Script", cursive;

  --r-sm: 12px; --r-md: 18px; --r-lg: 26px; --r-xl: 34px; --pill: 100px;
  --sh-1: 0 4px 20px -8px rgba(46,42,39,.10), 0 2px 6px -2px rgba(46,42,39,.05);
  --sh-2: 0 8px 32px -12px rgba(46,42,39,.14), 0 4px 12px -4px rgba(46,42,39,.07);
  --sh-3: 0 24px 60px -20px rgba(46,42,39,.20);

  --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 72px; --s7: 104px;
  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 78px; }
body {
  font-family: var(--body); color: var(--ink); line-height: 1.7; font-size: 17px;
  background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(closest-side at 8% 4%, rgba(245,198,172,.45), transparent),
    radial-gradient(closest-side at 92% 14%, rgba(122,184,224,.20), transparent),
    radial-gradient(closest-side at 76% 86%, rgba(125,211,179,.18), transparent),
    radial-gradient(closest-side at 20% 72%, rgba(245,224,122,.20), transparent),
    radial-gradient(closest-side at 50% 45%, rgba(196,168,224,.13), transparent);
}
h1, h2, h3, blockquote { font-family: var(--display); font-weight: 600; line-height: 1.14; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
em { font-style: italic; color: var(--accent-deep); }
p { color: var(--ink-2); }
strong { color: var(--ink); font-weight: 700; }
a { color: var(--accent-deep); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* Les mots forts : la police manuscrite de Mathilde, toujours en capitales */
.marker { font-family: var(--marker); font-weight: 700; text-transform: uppercase; letter-spacing: .005em; line-height: 1.05; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--s3); }
.section { padding-block: var(--s6); position: relative; }
.center { text-align: center; }
.eyebrow { display: inline-block; font-weight: 800; font-size: 12.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--accent-deep); background: var(--accent-light); padding: 7px 16px; border-radius: var(--pill); }
.h-xl { font-size: clamp(38px, 8vw, 60px); font-weight: 600; }
.h-lg { font-size: clamp(28px, 4.6vw, 46px); }
.lead { font-size: clamp(17px, 2.1vw, 20px); color: var(--ink-2); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--body); font-weight: 800; font-size: 17px; padding: 17px 32px; border: 0; border-radius: var(--pill); cursor: pointer; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; text-align: center; }
.btn--primary { background: linear-gradient(135deg, var(--terra), var(--terra-deep)); color: #fff; box-shadow: 0 10px 30px -8px rgba(158,86,46,.5); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px -8px rgba(158,86,46,.6); }
.btn--dark { background: var(--ink); color: #fff; box-shadow: var(--sh-2); }
.btn--dark:hover { transform: translateY(-3px); }
.btn--ghost { background: var(--surface); color: var(--ink); border: 1.5px solid var(--line); box-shadow: var(--sh-1); }
.btn--ghost:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.btn--lg { padding: 19px 36px; font-size: 18px; }
.btn--wide { width: 100%; white-space: normal; }
.btn .arw { transition: transform .15s ease; flex: 0 0 auto; }
.btn:hover .arw { transform: translateX(4px); }
.microtrust { font-size: 13.5px; color: var(--ink-3); margin-top: 14px; }

.scrollbar { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 70; background: linear-gradient(90deg, var(--sand), var(--terra-deep)); transition: width .1s linear; }
.announce { background: var(--ink); color: #fff; text-align: center; font-size: 13px; font-weight: 600; padding: 9px 14px; line-height: 1.45; }
.announce b { color: var(--lemon); }

.nav { position: sticky; top: 0; z-index: 60; background: rgba(250,250,248,.9); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.nav.scrolled { border-color: var(--line-soft); box-shadow: var(--sh-1); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-block: 11px; }
.nav__brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 17px; line-height: 1.15; }
.nav__brand img { width: 34px; height: 34px; object-fit: contain; flex: 0 0 auto; }
.nav__brand span { display: none; font-family: var(--body); font-size: 11.5px; font-weight: 700; color: var(--ink-3); }
.nav .btn { padding: 11px 20px; font-size: 14.5px; white-space: nowrap; }

/* ===================== HERO ===================== */
.hero { position: relative; overflow: hidden;
  background: radial-gradient(80% 70% at 88% -6%, rgba(245,224,122,.55), transparent 60%),
              radial-gradient(70% 60% at 6% 104%, rgba(125,211,179,.35), transparent 60%),
              linear-gradient(165deg, #FFFBF5 6%, var(--sand-light) 46%, var(--sky-light) 96%); }
.hero__grid {
  display: grid; gap: 4px 50px; padding-block: var(--s5) var(--s6);
  grid-template-columns: 1fr; justify-items: center; text-align: center;
  grid-template-areas: "eyebrow" "title" "lead" "scene" "gestes" "ssfc" "cta" "price";
}
.ha-eyebrow { grid-area: eyebrow; }
.ha-title { grid-area: title; margin-top: 14px; }
.ha-gestes { grid-area: gestes; }
.ha-ssfc { grid-area: ssfc; }
.ha-lead { grid-area: lead; }
.ha-scene { grid-area: scene; }
.ha-feat { grid-area: feat; }
.ha-cta { grid-area: cta; }
.ha-price { grid-area: price; }
.hero .h-xl em { display: inline-block; position: relative; z-index: 0; color: var(--ink); padding-inline: 8px; }
.hero .h-xl em::after { content: ""; position: absolute; inset: 4px -4px 2px; z-index: -1;
  border-radius: 44% 56% 48% 52% / 62% 38% 62% 38%;
  background: var(--sand); transform: scaleX(0); transform-origin: left;
  animation: drawLine .8s cubic-bezier(.2,.8,.2,1) .45s forwards; }
@keyframes drawLine { to { transform: scaleX(1); } }
/* Les 4 gestes du dossier, avec les pictos de la page de garde */
.hero__pictos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 20px;
  width: 100%; max-width: 430px; }
.hero__pictos figure { text-align: center; }
.hero__pictos img { width: 100%; max-width: 76px; margin-inline: auto; }
.hero__pictos b { display: block; margin-top: 7px; font-family: var(--marker); font-weight: 700;
  text-transform: uppercase; font-size: clamp(.72rem, 1.9vw, .92rem); line-height: 1.1; color: var(--ink); }
.hero__lead { max-width: 34rem; margin: 16px auto 0; color: var(--ink); font-weight: 500; }
.gestes--hero { grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: var(--s4); width: 100%; max-width: 520px; }
.gestes--hero .geste__blob { box-shadow: var(--sh-1); }
.gestes--hero .geste__w { margin-top: 9px; font-size: clamp(.78rem, 2.1vw, 1rem); }
/* La ligne S/SF/C : le pont entre les gestes et le referentiel */
.hero__ssfc { margin-top: var(--s3); font-weight: 800; font-size: clamp(15px, 2.1vw, 18px); color: var(--accent-deep); line-height: 1.35; }
.hero__ssfc span { display: block; font-weight: 600; font-size: 13.5px; color: var(--ink-3); margin-top: 2px; }
.hero__link { font-weight: 800; font-size: 16px; color: var(--ink); border-bottom: 2px solid var(--accent); padding-bottom: 3px; white-space: nowrap; }
.hero__link:hover { color: var(--accent-deep); }
/* Bouton principal + lien secondaire */
.hero__cta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 22px; margin: var(--s4) auto 0; }
.hero__cta .btn { padding: 16px 28px; font-size: 16.5px; line-height: 1.2; }
.hero__price { font-family: var(--display); font-size: 1.05rem; color: var(--ink-2); margin-top: 18px; }
.hero__price .old { text-decoration: line-through; color: var(--ink-3); font-size: 1rem; }
.hero__price .new { color: var(--accent-deep); font-weight: 700; font-size: 1.6rem; }
.hero__com { display: inline-block; margin-top: 8px; font-family: var(--body); font-weight: 600; font-size: 13px; color: var(--ink-3); }

/* Les deux couvertures et leur role, reliees par une fleche */
.hero__books { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3);
  width: 100%; max-width: 560px; margin: var(--s4) auto var(--s2); padding-top: 74px; }
.hero__arrow { position: absolute; z-index: 3; top: 0; left: 24%; width: 52%; color: var(--terra); pointer-events: none; }
.book { text-align: center; }
.book__cover { border-radius: 8px; overflow: hidden; box-shadow: var(--sh-3); border: 1px solid var(--line);
  background: #fff; transform: rotate(var(--bt, 0deg)); transition: transform .25s ease; }
.book--1 .book__cover { --bt: -2deg; }
.book--2 .book__cover { --bt: 2deg; }
.book:hover .book__cover { transform: rotate(0deg) translateY(-4px); }
.book__n { position: relative; margin-top: 32px; font-size: 13.5px; font-weight: 800; color: var(--accent-deep); line-height: 1.3; }
.book__n::before { content: ""; position: absolute; top: -24px; left: 50%; width: 2px; height: 16px;
  background: repeating-linear-gradient(var(--sand) 0 3px, transparent 3px 6px); }
.book__n b { font-family: var(--display); font-weight: 600; font-size: 1.05rem; }
.book__t { font-family: var(--display); font-weight: 600; font-size: clamp(15px, 1.9vw, 18px); margin-top: 6px; line-height: 1.2; }
.book__d { font-size: 13.5px; margin-top: 8px; line-height: 1.5; }
.book__x { display: none; font-size: 12px; color: var(--ink-3); margin-top: 8px; line-height: 1.5; }

/* Les pictos de la page de garde flottent aussi en decor du hero */
.doodle { position: absolute; pointer-events: none; z-index: 0; opacity: 0;
  animation: doodleIn .55s cubic-bezier(.3,1.3,.5,1) forwards, floatSoft 7s ease-in-out infinite; }
@keyframes doodleIn { from { opacity: 0; transform: scale(.4) rotate(var(--dr,0deg)); } to { opacity: .55; transform: scale(1) rotate(var(--dr,0deg)); } }
@keyframes floatSoft { 0%,100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.doodle--1 { --dr: -10deg; top: 13%;   left: 1.5%;  width: 52px; animation-delay: .9s, 1.5s; }
.doodle--2 { --dr:  12deg; top: 6%;    right: 2.5%; width: 40px; animation-delay: 1s, 1.9s; }
.doodle--3, .doodle--4 { display: none; }
@media (min-width: 800px) {
  .doodle--3 { display: block; --dr: -8deg; bottom: 16%; left: 3%; width: 44px; animation-delay: 1.05s, 2.3s; }
  .doodle--4 { display: block; --dr: 10deg; bottom: 7%; right: 2%; width: 48px; animation-delay: 1.1s, 2.7s; }
}

.feat3 { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: var(--s3); width: 100%; max-width: 520px; }
.feat { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--sh-1);
  padding: 13px 14px; font-size: 13.5px; font-weight: 700; color: var(--ink); text-align: left;
  display: flex; align-items: center; gap: 11px; line-height: 1.25; }
.feat__i { font-size: 20px; flex: 0 0 auto; }

.marquee { background: var(--surface); color: var(--ink); overflow: hidden; padding: 14px 0; border-block: 1px solid var(--line); }
.marquee__row { display: flex; width: max-content; animation: mq 30s linear infinite; }
.marquee__row > span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; }
.marquee em { font-family: var(--display); font-weight: 600; font-style: italic; font-size: 1.35rem; white-space: nowrap; color: var(--ink); }
.marquee .st { color: var(--accent-deep); font-style: normal; }
.marquee:hover .marquee__row { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.vis { opacity: 1; transform: none; }

.flip { font-family: var(--display); font-size: clamp(1.3rem, 2.8vw, 1.75rem); line-height: 1.35; color: var(--ink); margin-top: var(--s3); }
.flip--long { font-size: clamp(1.1rem, 2vw, 1.4rem); line-height: 1.5; }

/* ===================== Les deux dossiers ===================== */
.pack2 { display: grid; gap: var(--s4); margin-top: var(--s5); }
.pk { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: var(--sh-1);
  display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; }
.pk:hover { transform: translateY(-5px); box-shadow: var(--sh-2); }
.pk__media { aspect-ratio: 4/3; overflow: hidden; position: relative; background: var(--bg); padding: 14px; border-bottom: 1px solid var(--line); }
.pk__media img { width: 100%; height: 100%; object-fit: contain; }
.pk__b { padding: var(--s3); display: flex; flex-direction: column; flex: 1; }
.pk__b h3 { font-size: 1.5rem; }
.pk__b p { font-size: 15px; margin-top: 8px; }
.pk__b > p:first-of-type { flex: 1; }
.pk__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.pk__tag, .pk__role { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .07em;
  text-transform: uppercase; padding: 5px 12px; border-radius: var(--pill); }
.pk__tag { background: var(--line-soft); color: var(--ink-2); }
.pk--inv .pk__role { background: var(--lemon-light); color: var(--lemon-deep); }
.pk--aut .pk__role { background: var(--sand-light); color: var(--terra-deep); }
.pk__why { flex: 0 0 auto; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: 14.5px; font-weight: 700; color: var(--accent-deep); }
.pk__go { margin-top: 16px; font-weight: 800; font-size: 15px; color: var(--accent-deep); align-self: flex-start; }

.band--inv { background: linear-gradient(180deg, var(--lemon-light), var(--bg)); }
.band--aut { background: linear-gradient(180deg, var(--sand-light), var(--bg)); }
.band--anat { background: linear-gradient(180deg, var(--sky-light), var(--bg)); }
.band--pillars { background: linear-gradient(180deg, var(--lavender-light), var(--bg)); }

.split { display: grid; gap: var(--s4); align-items: center; margin-top: var(--s4); }
.frame { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-2); background: #fff; position: relative; }
.frame img { width: 100%; height: auto; }
/* Une page = une feuille A4 entiere, jamais rognee */
.frame--page { aspect-ratio: 210/297; background: #fff; }
.frame--page img { width: 100%; height: 100%; object-fit: contain; }
.frame__zoom { position: absolute; right: 10px; bottom: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.95); border: 1px solid var(--line); border-radius: var(--pill); padding: 6px 13px;
  font-size: 12.5px; font-weight: 800; color: var(--ink-2); box-shadow: var(--sh-1); pointer-events: none; }
.zoomwrap { position: relative; }
[data-lightbox] { cursor: zoom-in; }
.feats { list-style: none; display: grid; gap: 12px; margin-top: var(--s3); }
.feats li { display: flex; gap: 12px; font-size: 15.5px; }
.feats .ok { color: var(--mint-deep); font-weight: 900; flex: 0 0 auto; }

/* Les 4 gestes : pastilles organiques + le mot fort en police manuscrite */
.gestes { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s3); }
.geste { text-align: center; }
.geste__blob { position: relative; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden;
  box-shadow: var(--sh-2); transform: rotate(var(--tilt, 0deg)); transition: transform .3s ease; }
.geste:hover .geste__blob { transform: rotate(0deg) translateY(-5px); }
.geste__blob img { width: 78%; height: auto; }
.geste__w { display: block; margin-top: 14px; font-family: var(--marker); font-weight: 700;
  text-transform: uppercase; letter-spacing: -.005em; line-height: 1;
  font-size: clamp(1.3rem, 2.6vw, 1.95rem); color: var(--ink); }
.geste--1 .geste__blob { background: var(--rose-light);   border-radius: 66% 34% 52% 48% / 40% 62% 38% 60%; --tilt: -3deg; }
.geste--2 .geste__blob { background: var(--sky-light);    border-radius: 35% 65% 68% 32% / 64% 36% 64% 36%; --tilt: 2.5deg; }
.geste--3 .geste__blob { background: var(--peach-light);  border-radius: 58% 42% 30% 70% / 35% 65% 35% 65%; --tilt: 3deg; }
.geste--4 .geste__blob { background: var(--mint-light);   border-radius: 30% 70% 60% 40% / 68% 30% 70% 32%; --tilt: -2.5deg; }

/* Les 4 axes en eventail : chaque page decalee laisse voir son bandeau de
   couleur, et les quatre portent le meme titre. Chacune est agrandissable. */
.fanaxes { position: relative; width: 100%; max-width: 430px; margin: 0 auto; aspect-ratio: 1 / 1.62; }
.fanaxes figure { position: absolute; width: 88%; aspect-ratio: 1000/1414; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: 7px;
  box-shadow: 0 16px 28px -14px rgba(46,42,39,.42), 0 2px 6px -2px rgba(46,42,39,.18);
  transform: rotate(var(--r, 0deg)); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease; }
.fanaxes figure img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.fanaxes figure:nth-child(1) { left: 0;    top: 0;     --r: -3.6deg; z-index: 1; }
.fanaxes figure:nth-child(2) { left: 4%;   top: 7.4%;  --r: -1.2deg; z-index: 2; }
.fanaxes figure:nth-child(3) { left: 8%;   top: 14.8%; --r:  1.2deg; z-index: 3; }
.fanaxes figure:nth-child(4) { left: 12%;  top: 22.2%; --r:  3.6deg; z-index: 4; }
.fanaxes figure:hover { transform: rotate(0deg) translateY(-8px); z-index: 5;
  box-shadow: 0 26px 44px -16px rgba(46,42,39,.5); }
.axes { display: grid; gap: var(--s3); margin-top: var(--s4); }
.axe { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s3); box-shadow: var(--sh-1); transition: transform .18s ease, box-shadow .18s ease; }
.axe__pic { width: 54px; height: 54px; margin-bottom: 12px; }
.axe:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.axe__n { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; border-radius: var(--pill); padding: 5px 12px; }
.axe h3 { font-family: var(--marker); font-weight: 700; text-transform: uppercase; letter-spacing: .005em;
  font-size: 1.5rem; margin-top: 12px; line-height: 1.08; }
.axe p { font-size: 14.5px; margin-top: 8px; }
.axe--1 .axe__n { background: var(--sand-light); color: var(--terra-deep); }
.axe--2 .axe__n { background: var(--sky-light); color: var(--sky-deep); }
.axe--3 .axe__n { background: var(--lemon-light); color: var(--lemon-deep); }
.axe--4 .axe__n { background: var(--mint-light); color: var(--mint-deep); }


.niveaux { max-width: 47rem; margin: var(--s5) auto 0; }
.niveaux__bar { display: flex; flex-wrap: wrap; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 6px; box-shadow: var(--sh-1); }
.niveaux__btn { flex: 1 1 30%; font-family: var(--body); font-weight: 800; font-size: 13.5px; border: 0; background: none;
  color: var(--ink-2); padding: 11px 8px; border-radius: var(--pill); cursor: pointer; transition: background .2s, color .2s; }
.niveaux__btn.on { color: #fff; background: var(--mint-deep); }
.niveaux__panels { margin-top: 20px; }
.nivpanel { display: none; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-2); padding: var(--s4) var(--s3); }
.nivpanel.on { display: block; animation: nivIn .4s cubic-bezier(.2,.8,.2,1); }
@keyframes nivIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.nivpanel__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.nivpanel__badge { background: var(--mint-light); color: var(--mint-deep); font-weight: 800; font-size: 12.5px; letter-spacing: .08em;
  text-transform: uppercase; border-radius: var(--pill); padding: 6px 14px; }
.nivpanel__head h3 { font-size: 1.5rem; }
.nivpanel > p { margin-top: 12px; font-size: 15.5px; }
.nivpanel__acts { list-style: none; display: grid; gap: 10px; margin-top: 16px; }
.nivpanel__acts li { background: var(--bg); border: 1px solid var(--line-soft); border-radius: var(--r-sm); padding: 11px 15px; font-size: 14.5px; color: var(--ink); display: flex; gap: 11px; align-items: baseline; }
.nivpanel__acts b { font-weight: 800; font-size: 12.5px; color: var(--accent-deep); flex: 0 0 auto; }
.nivpanel__ssfc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ssfc { font-size: 12px; font-weight: 800; border-radius: var(--pill); padding: 6px 13px; }
.ssfc--s { background: var(--sky-light); color: var(--sky-deep); }
.ssfc--sf { background: var(--lavender-light); color: var(--lavender-deep); }
.ssfc--c { background: var(--peach-light); color: var(--peach-deep); }

.bonus { margin-top: var(--s4); background: #fff; border: 1px dashed var(--accent-deep); border-radius: var(--r-lg);
  padding: var(--s4) var(--s3); max-width: 47rem; margin-inline: auto; text-align: center; box-shadow: var(--sh-1); }
.bonus h3 { font-size: 1.45rem; margin-top: 12px; }
.bonus p { font-size: 15px; margin-top: 10px; }

.anat { display: grid; gap: var(--s4); margin-top: var(--s5); align-items: start; }
.anat__doc { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-3); background: #fff; }
.anat__list { list-style: none; display: grid; gap: 12px; counter-reset: anat; }
.anat__it { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--sh-1); padding: 15px 17px 15px 56px; position: relative; counter-increment: anat; }
.anat__it::before { content: counter(anat); position: absolute; left: 14px; top: 15px; width: 30px; height: 30px;
  border-radius: 50%; background: var(--accent-light); color: var(--accent-deep); display: grid; place-items: center;
  font-family: var(--display); font-weight: 600; font-size: 1rem; }
.anat__q { font-family: var(--display); font-weight: 600; font-size: 1.08rem; color: var(--ink); }
.anat__a { display: flex; gap: 10px; align-items: baseline; margin-top: 6px; font-size: 14.5px; color: var(--ink-2); }
.anat__a .arr { color: var(--accent-deep); font-weight: 900; flex: 0 0 auto; }
.anat__more { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s3); justify-content: center; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: var(--pill); padding: 8px 15px; font-size: 13px; font-weight: 600; color: var(--ink-2); box-shadow: var(--sh-1); }
/* Bande de pages : une feuille par ligne sur mobile, deux ensuite */
.pages4 { display: grid; grid-template-columns: 1fr; gap: var(--s3); margin-top: var(--s3); }

.lifelines { max-width: 42rem; margin: var(--s4) auto 0; display: grid; gap: 11px; }
.lifelines li { list-style: none; font-size: 1.02rem; color: var(--ink); padding-left: 28px; position: relative; text-align: left; }
.lifelines li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--mint-deep); font-weight: 900; }
.lifelines__end { margin-top: var(--s4); font-family: var(--display); font-size: clamp(1.3rem, 2.8vw, 1.75rem); line-height: 1.35; color: var(--ink); text-align: center; }


.value { background: linear-gradient(160deg, #322C28, #241F1C); color: #fff; }
.value h2 { color: #fff; } .value em { color: var(--lemon); }
.value .eyebrow { background: rgba(255,255,255,.1); color: var(--lemon); }
.value .microtrust { color: rgba(255,255,255,.55); }
/* La planche S/SF/C, rapatriee de l'ancienne section conformite */
.value__poster { position: relative; max-width: 220px; margin: var(--s4) auto 0; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-2); }
.value__poster img { width: 100%; }
.value__poster .frame__zoom { top: 9px; bottom: auto; }
.value__grid { display: grid; gap: var(--s3); margin-top: var(--s4); }
.vcard { border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-md); padding: var(--s3); background: rgba(255,255,255,.03); }
.vcard .big { font-family: var(--marker); font-weight: 700; text-transform: uppercase; font-size: 2.2rem; line-height: 1.05; }
.vcard--1 .big { color: var(--lemon); } .vcard--2 .big { color: var(--mint); } .vcard--3 .big { color: var(--sand); }
.vcard p { color: rgba(255,255,255,.75); font-size: 15px; margin-top: 8px; }

.word { max-width: 44rem; margin-inline: auto; text-align: center; }
.word blockquote { font-family: var(--hand); font-size: clamp(1.3rem, 2.7vw, 1.7rem); line-height: 1.6; color: var(--ink); margin-top: 16px; }
.word cite { display: block; margin-top: 18px; font-style: normal; font-family: var(--body); font-weight: 800; font-size: 14px; color: var(--accent-deep); }

.offer { background: linear-gradient(180deg, var(--accent-light), var(--bg)); }
.fmt__note { font-size: 13.5px; color: var(--ink-3); margin-top: var(--s4); display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; }

.fmt-badge { display: inline-flex; align-items: center; gap: 7px; font-family: var(--body); font-weight: 800; font-size: 13.5px; line-height: 1; color: #fff; padding: 7px 14px 7px 7px; border-radius: var(--pill); white-space: nowrap; box-shadow: var(--sh-1); }
.fmt-badge__ic { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 7px; background: rgba(255,255,255,.28); font-size: 12px; font-weight: 900; font-family: var(--body); }
.fmt-badge--pdf { background: #D9342B; }
.fmt-badge--word { background: #1D5FD6; }
.fmt-badge--sm { font-size: 12px; padding: 4px 10px 4px 4px; gap: 5px; }
.fmt-badge--sm .fmt-badge__ic { width: 17px; height: 17px; font-size: 10px; border-radius: 5px; }

.plans { display: grid; gap: var(--s4); margin-top: var(--s5); align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: var(--s4) var(--s3);
  text-align: center; display: flex; flex-direction: column; box-shadow: var(--sh-1); position: relative; }
.plan--feat { border: 1.5px solid var(--sand); box-shadow: var(--sh-3); }
.plan__rb { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--lemon), var(--sand));
  color: var(--ink); font-weight: 800; font-size: 13px; padding: 7px 18px; border-radius: var(--pill); white-space: nowrap; box-shadow: var(--sh-1); }
.plan__cover { display: block; width: calc(100% + var(--s3) * 2); margin: calc(var(--s4) * -1) calc(var(--s3) * -1) var(--s4); aspect-ratio: 4 / 3; object-fit: cover; object-position: top; border-radius: var(--r-xl) var(--r-xl) 0 0; }
.plan__covers { display: flex; width: calc(100% + var(--s3) * 2); margin: calc(var(--s4) * -1) calc(var(--s3) * -1) var(--s4); border-radius: var(--r-xl) var(--r-xl) 0 0; overflow: hidden; }
.plan__covers img { flex: 1 1 50%; width: 50%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; display: block; }
.plan__lvl { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.plan__nm { font-family: var(--display); font-weight: 600; font-size: 1.4rem; margin-top: 4px; line-height: 1.15; }
.plan__pr { margin: 12px 0 6px; }
.plan__pr .old { text-decoration: line-through; color: var(--ink-3); font-family: var(--display); font-size: 1.1rem; margin-right: 6px; }
.plan__pr .new { font-family: var(--display); font-weight: 700; font-size: 2.8rem; }
.plan__save { display: inline-block; align-self: center; background: var(--mint-light); color: var(--mint-deep); font-weight: 800; font-size: 13px; border-radius: var(--pill); padding: 5px 14px; }
.plan__format { display: inline-flex; align-self: center; align-items: center; gap: 7px; color: var(--ink-2); font-weight: 700; font-size: 13.5px; }
.plan__ls { list-style: none; text-align: left; margin: 18px 0; display: grid; gap: 10px; }
.plan__ls li { display: flex; gap: 10px; font-size: 14.5px; }
.plan__ls .ok { color: var(--mint-deep); font-weight: 900; flex: 0 0 auto; }
.plan .btn { margin-top: auto; }
.plan__note { font-size: 12.5px; color: var(--ink-2); margin-top: 12px; }
.offer__legal { max-width: 40rem; margin: var(--s5) auto 0; text-align: center; font-size: 13.5px; color: var(--ink-3); }

.faq { max-width: 46rem; margin: var(--s4) auto 0; display: grid; gap: 12px; }
.faq__it { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-1); }
.faq__q { width: 100%; text-align: left; text-wrap: balance; background: none; border: 0; padding: 17px 20px;
  font-family: var(--body); font-weight: 700; font-size: 16px; cursor: pointer; display: flex; justify-content: space-between; gap: 14px; align-items: center; color: var(--ink); }
.faq__q .pl { color: var(--accent-deep); font-size: 24px; transition: transform .2s; flex: 0 0 auto; }
.faq__it.open .pl { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a p { padding: 0 20px 18px; font-size: 15px; }

.final { background: linear-gradient(135deg, var(--sand-light), var(--lemon-light) 50%, var(--mint-light)); text-align: center; }
.foot { background: var(--ink); color: rgba(255,255,255,.6); padding-block: var(--s5); text-align: center; font-size: 13px; }
.foot img { width: 72px; margin: 0 auto 14px; }
.foot a { color: rgba(255,255,255,.6); text-decoration: underline; }
.foot__l { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }

.sticky { position: fixed; inset-inline: 0; bottom: 0; z-index: 55; transform: translateY(130%); transition: transform .3s ease;
  padding: 10px var(--s3) calc(10px + env(safe-area-inset-bottom)); background: rgba(250,250,248,.95); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
.sticky.show { transform: none; }

.lb { position: fixed; inset: 0; z-index: 100; background: rgba(46,42,39,.9); display: none; align-items: center; justify-content: center; padding: 20px; }
.lb.open { display: flex; }
.lb img { max-width: 94vw; max-height: 88vh; border-radius: var(--r-sm); box-shadow: var(--sh-3); }
.lb__x { position: absolute; top: 16px; right: 18px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; font-size: 22px; cursor: pointer; }

.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 430px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--sh-2);
  padding: 18px 20px; transform: translateY(160%); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.cookie-banner--visible { transform: none; }
.cookie-banner__title { font-family: var(--display); font-weight: 600; font-size: 1.05rem; }
.cookie-banner__desc { font-size: 13px; color: var(--ink-2); margin-top: 6px; line-height: 1.5; }
.cookie-banner__accept { margin-top: 14px; font-family: var(--body); font-weight: 800; font-size: 15px;
  background: linear-gradient(135deg, var(--terra), var(--terra-deep)); color: #fff; border: 0; border-radius: var(--pill); padding: 11px 24px; cursor: pointer; }
.cookie-banner__refuse { display: block; margin-top: 10px; background: none; border: 0; color: var(--ink-3);
  font-size: 12.5px; text-decoration: underline; cursor: pointer; padding: 0; font-family: var(--body); }

@media (min-width: 560px) {
  .announce { font-size: 14px; padding: 10px 16px; }
  .nav__brand span { display: block; }
  .feat3 { grid-template-columns: repeat(3, 1fr); }
  .feat { font-size: 12.5px; }
    .gestes { grid-template-columns: repeat(4, 1fr); }
  .pages4 { grid-template-columns: repeat(2, 1fr); }
  .cookie-banner { right: auto; }
}
@media (min-width: 800px) {
  .section { padding-block: var(--s7); }
    .pack2 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: var(--s5); }
  .axes { grid-template-columns: repeat(2, 1fr); }
    .anat { grid-template-columns: .95fr 1.05fr; gap: var(--s5); }
      .value__grid { grid-template-columns: repeat(3, 1fr); }
  .plans { grid-template-columns: repeat(3, 1fr); }
  .plan--feat { transform: scale(1.03); }
  .feat { font-size: 14px; padding: 15px 16px; }
  .sticky { display: none; }
}
@media (min-width: 860px) {
  .hero__grid {
    grid-template-columns: 1fr 1.04fr; column-gap: 44px; padding-block: var(--s5) var(--s6);
    justify-items: start; text-align: left; align-items: center;
    grid-template-areas:
      "eyebrow scene" "title scene" "lead scene" "gestes scene" "ssfc scene" "cta scene" "price scene";
  }
  .hero .h-xl { font-size: clamp(40px, 3.6vw, 52px); }
  .hero__lead { margin-inline: 0; }
  .hero__pictos { margin-inline: 0; }
  .hero__books { margin: 0; max-width: 560px; }
  .book__x { display: block; }
  .feat3 { max-width: none; }
  .hero__cta { justify-content: flex-start; }
  .hero__price { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .doc { opacity: 1; transform: rotate(var(--rr,0deg)); }
  .doodle { opacity: .55; }
  .hero .h-xl em::after { transform: scaleX(1); }
}
