/* Memoria – toute la page est un seul ciel :
   nuit étoilée > aube rose > plein jour > coucher de soleil > nuit.
   Mobile d'abord, puis tablette (700 px) et ordinateur (960 px). */

:root {
  --nuit: #080C3F;
  --royal: #1B2FA0;
  --azur: #4C7DF0;
  --ciel: #BFE2FF;
  --ciel-clair: #EAF5FF;
  --rose: #FFB8D2;
  --rose-clair: #FFE6F0;
  --corail: #FF8FA3;
  --or: #FFC83D;
  --or-clair: #FFE38A;
  --encre: #10164F;         /* texte sur fond clair */
  --blanc: #FFFFFF;

  --titre: "Baloo 2", "Trebuchet MS", sans-serif;
  --texte: "Figtree", "Segoe UI", sans-serif;
  --marque: "Borel", "Baloo 2", cursive;
  --ombre: 0 24px 50px -18px rgba(8, 12, 63, .5);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header-h: 64px;
  --cta-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; overflow-x: clip;
  font: 400 1.0625rem/1.65 var(--texte);
  color: var(--encre); background: var(--ciel-clair);
  padding-bottom: calc(var(--cta-h) + env(safe-area-inset-bottom));
}
img { display: block; max-width: 100%; height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
h1, h2, h3 { font-family: var(--titre); font-weight: 800; line-height: 1.05; margin: 0 0 .6em; text-wrap: balance; letter-spacing: -.015em; }
h1 { font-size: clamp(2.3rem, 9.2vw, 5rem); }
h2 { font-size: clamp(2.05rem, 7.4vw, 3.9rem); }
h3 { font-size: 1.35rem; line-height: 1.15; margin-bottom: .3em; letter-spacing: 0; }
.lead { font-size: 1.15rem; max-width: 36em; text-wrap: pretty; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 22px; }
.section { position: relative; padding-block: 76px; overflow-x: clip; margin-top: -1px; }
.night { color: var(--blanc); isolation: isolate; }
.stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.photo { width: 100%; border-radius: 22px; box-shadow: var(--ombre); object-fit: cover; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; left: 12px; top: -70px; z-index: 100; background: var(--blanc); color: var(--encre); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--royal); outline-offset: 3px; border-radius: 6px; }
.night :focus-visible, .site-footer :focus-visible, .tale :focus-visible, .moment :focus-visible { outline-color: var(--or); }

/* ---------- Bouton doré ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: .7em 1.6em; border-radius: 16px;
  font: 800 1.08rem/1.2 var(--texte); text-decoration: none; color: var(--encre);
  background: linear-gradient(180deg, var(--or-clair), var(--or) 60%);
  box-shadow: 0 5px 0 #D9922A, 0 18px 30px -12px rgba(8, 12, 63, .55);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .75) 50%, transparent 65%); transform: translateX(-110%); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #D9922A, 0 24px 36px -12px rgba(8, 12, 63, .6); }
.btn:hover::after { transform: translateX(110%); transition: transform .7s; }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 #D9922A; }
.btn-large { min-height: 60px; font-size: 1.18rem; padding-inline: 2em; }
.btn { gap: .55em; }
.wa { width: 1.25em; height: 1.25em; flex: none; }
.btn-wa { white-space: nowrap; padding-inline: 1.1em; background: linear-gradient(180deg, #5BEA90, #25D366 60%); color: #062B16; box-shadow: 0 5px 0 #12893E, 0 18px 30px -12px rgba(8, 12, 63, .55); }
.btn-wa:hover { box-shadow: 0 7px 0 #12893E, 0 24px 36px -12px rgba(8, 12, 63, .6); }
.btn-wa:active { box-shadow: 0 1px 0 #12893E; }
.wa-float { display: none; }
.btn-small { min-height: 46px; font-size: 1rem; border-radius: 13px; }

/* ---------- Menu ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); color: var(--blanc); transition: background-color .3s; }
.site-header.is-scrolled, .site-header.menu-open { background: rgba(8, 12, 63, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: var(--marque); font-size: 1.75rem; line-height: 1; text-decoration: none; color: var(--or-clair); margin: 0; }
.logo span { display: inline-block; transform: translateY(.2em); }
.menu-toggle { width: 48px; height: 48px; margin-right: -10px; border: 0; background: none; color: inherit; display: grid; place-items: center; cursor: pointer; }
.menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after { display: block; width: 24px; height: 3px; border-radius: 3px; background: currentColor; position: relative; transition: transform .25s var(--ease); }
.menu-toggle-bars::before, .menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle-bars::before { top: -8px; }
.menu-toggle-bars::after { top: 8px; }
.menu-open .menu-toggle-bars { background: transparent; }
.menu-open .menu-toggle-bars::before { transform: translateY(8px) rotate(45deg); background: var(--blanc); }
.menu-open .menu-toggle-bars::after { transform: translateY(-8px) rotate(-45deg); background: var(--blanc); }
.main-nav { position: fixed; top: var(--header-h); inset-inline: 0; padding: 8px 22px 28px; background: var(--nuit); display: grid; gap: 20px; visibility: hidden; opacity: 0; transform: translateY(-10px); transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
.menu-open .main-nav { visibility: visible; opacity: 1; transform: none; }
.main-nav li a { display: block; padding: 13px 0; font-weight: 700; font-size: 1.15rem; text-decoration: none; }

/* ---------- 1. Nuit étoilée > aube ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-start;
  padding-top: calc(var(--header-h) + 20px);
  background:
    radial-gradient(80% 20% at 50% 84%, rgba(255, 227, 138, .75), transparent 75%),
    linear-gradient(180deg, var(--nuit) 0%, #111A6B 34%, #2F49C4 58%, #9A82E0 78%, var(--rose) 100%);
}
.hero-text { text-align: center; }
.hero h1 { max-width: 15em; margin-inline: auto; margin-bottom: .4em; }
.hero .lead { margin: 0 auto 1.4em; font-size: 1.08rem; line-height: 1.5; }
.fan { --w: min(54vw, 29svh); position: relative; height: calc(var(--w) * 1.5); margin-top: 34px; margin-bottom: calc(var(--cta-h) + 24px); }
.fan .bk { position: absolute; left: 50%; top: 0; margin-left: calc(var(--w) / -2); transform: translateY(calc(var(--s, 0) * var(--k) * 1px)) translate(var(--x), var(--y)) rotate(var(--r)); }
.fan .bk-in { animation: arrive 1s var(--ease) backwards; animation-delay: var(--d); }
.b3 { --ry: -26deg; --x: 0%; --y: 0%; --r: -2deg; --d: .1s; --k: .02; z-index: 3; }
.b2 { --ry: 34deg; --x: -58%; --y: 10%; --r: -11deg; --d: .22s; --k: .07; z-index: 2; }
.b4 { --ry: -34deg; --x: 58%; --y: 10%; --r: 9deg; --d: .22s; --k: .07; z-index: 2; }
.b1 { --ry: 40deg; --x: -112%; --y: 26%; --r: -19deg; --d: .34s; --k: .12; z-index: 1; }
.b5 { --ry: -40deg; --x: 112%; --y: 26%; --r: 18deg; --d: .34s; --k: .12; z-index: 1; }
@keyframes arrive { from { opacity: 0; transform: translateY(60%) rotateY(70deg); } }

/* ---------- Livre relié en 3D (couverture, dos, tranche) ---------- */
.bk { --t: calc(var(--w) * .19); position: relative; display: block; flex: none; width: var(--w); aspect-ratio: 1414 / 2000; perspective: calc(var(--w) * 5); }
.bk::before { content: ""; position: absolute; left: -2%; right: -8%; bottom: -5%; height: 9%; border-radius: 50%; background: rgba(5, 8, 41, .6); filter: blur(10px); }
.bk-in { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(-3deg) rotateY(var(--ry, -35deg)); transition: transform .6s var(--ease); }
.bk-in > * { position: absolute; display: block; }
.bk-front, .bk-back { inset: 0; background: var(--sc); }
.bk-front { transform: translateZ(calc(var(--t) / 2)); border-radius: 2px 4px 4px 2px; overflow: hidden; }
.bk-front img { width: 100%; height: 100%; object-fit: cover; }
.bk-front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, .28) 0, rgba(0, 0, 0, .05) 2.4%, rgba(0, 0, 0, .38) 4.4%, rgba(255, 255, 255, .26) 6%, transparent 9%), linear-gradient(115deg, rgba(255, 255, 255, .2), transparent 38%); }
.bk-back { transform: translateZ(calc(var(--t) / -2)); border-radius: 2px 4px 4px 2px; }
.bk-spine { left: 0; top: 0; bottom: 0; width: var(--t); transform: translateX(-50%) rotateY(-90deg); background: linear-gradient(90deg, rgba(0, 0, 0, .3), transparent 30% 70%, rgba(0, 0, 0, .3)), var(--sc); }
.bk-spine b { position: absolute; inset: 5% 0; writing-mode: vertical-rl; display: flex; align-items: center; justify-content: center; color: var(--tc); font: 700 calc(var(--w) * .045)/1 var(--titre); white-space: nowrap; overflow: hidden; }
.bk-pages { right: 2%; top: 1.2%; bottom: 1.2%; width: calc(var(--t) * .9); transform: translateX(50%) rotateY(90deg); background: linear-gradient(0deg, rgba(8, 12, 63, .2), transparent 30%), repeating-linear-gradient(90deg, #fbfbff 0 1.5px, #dfe2ee 2.5px 3px), #f3f4fa; }
.tale:hover .bk-in, .step-pic:hover .bk-in { transform: rotateX(-2deg) rotateY(-24deg); }

/* ---------- 2. Aube ---------- */
.why { background: linear-gradient(180deg, var(--rose) 0%, var(--rose-clair) 45%, var(--ciel-clair) 100%); }
.why-grid { display: grid; gap: 34px; }
.why-text { font-size: 1.12rem; }
.why h2 { max-width: 15em; margin-inline: auto; }
.why .photo { border: 6px solid var(--blanc); }
.why-text .strong { font: 700 1.4rem/1.32 var(--titre); margin: 0 0 .9em; color: #A3165C; }
.why-text .strong:last-child { margin: 1em 0 0; }

/* ---------- 3. Matin ---------- */
.unique { background: linear-gradient(180deg, var(--ciel-clair), var(--ciel)); }
.unique h2 { max-width: 17em; margin-inline: auto; }
.unique-grid { display: grid; gap: 44px; }
.ba-wrap { width: 100%; max-width: 520px; margin-inline: auto; }
.ba { --pos: 61%; position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 26px; border: 6px solid var(--blanc); box-shadow: var(--ombre); background: var(--ciel); touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before-clip { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-line { position: absolute; inset-block: 0; left: var(--pos); width: 4px; margin-left: -2px; background: var(--or); box-shadow: 0 0 22px 4px rgba(255, 200, 61, .8); }
.ba-handle { position: absolute; top: 80%; left: var(--pos); width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; background: var(--or); color: var(--encre); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(8, 12, 63, .45); }
.ba-handle svg { width: 28px; }
.ba-tag { position: absolute; top: 14px; padding: 5px 13px; border-radius: 9px; font-weight: 700; font-size: .9rem; background: var(--nuit); color: var(--blanc); }
.ba-tag-before { left: 14px; }
.ba-tag-after { right: 14px; background: var(--or); color: var(--encre); }
.ba.is-hint .ba-line, .ba.is-hint .ba-handle, .ba.is-hint .ba-before-clip { transition: left .9s var(--ease), clip-path .9s var(--ease); }
.points { display: grid; gap: 34px; }
.points img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; margin-bottom: 14px; }
.points p { margin: 0; }

/* ---------- Plein jour : les histoires ---------- */
.catalog { background: linear-gradient(180deg, var(--ciel), #8FC6FF); padding-inline: 0; }
.tales-note { margin: -.4em auto 1.6em; font-weight: 600; }
.catalog h2 { margin-bottom: .5em; }
.thumbs { display: flex; justify-content: center; gap: 10px; padding: 0 16px; margin-bottom: 26px; }
.thumbs button { flex: 0 1 92px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 8px; opacity: .72; transition: transform .25s var(--ease), opacity .25s; }
.thumbs img { width: 100%; border-radius: 3px 7px 7px 3px; box-shadow: 0 8px 16px -6px rgba(8, 12, 63, .55); }
.thumbs button:hover { transform: translateY(-4px); opacity: 1; }
.thumbs button[aria-current="true"] { opacity: 1; transform: translateY(-6px); outline: 3px solid var(--encre); outline-offset: 3px; }
html:not(.js) .thumbs { display: none; }
.tales { --sw: 88vw; position: relative; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px calc((100% - var(--sw)) / 2) 20px; scrollbar-width: none; }
.tales::-webkit-scrollbar { display: none; }
.tale { flex: 0 0 var(--sw); scroll-snap-align: center; display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; color: var(--blanc); background: var(--c); }
.tale-book { --w: min(52vw, 250px); flex: none; display: grid; justify-items: center; padding: 34px 0 22px; }
.tale-body { flex: 1; display: flex; flex-direction: column; padding: 26px 24px 30px; }
.tale-body h3 { font-size: 1.75rem; }
.tale-body p { margin-bottom: .8em; line-height: 1.6; }
.tale-body .btn { margin-top: auto; }
#chevalier-des-plumes { --c: linear-gradient(160deg, #0A2A86, #1F63BE); }
#douze-collines { --c: linear-gradient(160deg, #24145F, #6A2E9E); }
#baobab { --c: linear-gradient(160deg, #8C1D63, #C2355F); }
#gomme { --c: linear-gradient(160deg, #0B4552, #10707A); }
#pays-pareil { --c: linear-gradient(160deg, #2A3C9A, #4A5FC0); }

/* ---------- Livre à feuilleter ---------- */
.flip { --pw: min(76vw, 360px); background: linear-gradient(180deg, #8FC6FF, #F3E6FF 42%, #FFE9C2 72%, #FFD27A); }
.flip .lead { font-weight: 600; }
.flip-view { width: var(--pw); margin: 30px auto 0; touch-action: pan-y; cursor: pointer; }
.flip-book { position: relative; width: calc(var(--pw) * 2); aspect-ratio: 1414 / 1000; perspective: 2400px; transform: translateX(var(--shift, calc(var(--pw) * -1))); transition: transform .9s var(--ease); }
.leaf { position: absolute; left: 50%; top: 0; width: 50%; height: 100%; transform-origin: left; transform-style: preserve-3d; transition: transform .9s var(--ease); }
.leaf.is-flipped { transform: rotateY(-180deg); }
.face { position: absolute; inset: 0; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 1px 6px 6px 1px; background: #fff; }
.face img { width: 100%; height: 100%; object-fit: cover; }
.face::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 12, 63, .42), rgba(8, 12, 63, .1) 5%, rgba(255, 255, 255, .22) 9%, transparent 18%); }
.face.back { transform: rotateY(180deg); border-radius: 6px 1px 1px 6px; }
.face.back::after { transform: scaleX(-1); }
.flip-book::before, .flip-book::after { content: ""; position: absolute; transition: left .9s var(--ease); left: 50%; }
.flip-book.is-open::before, .flip-book.is-open::after { left: 0; }
.flip-book::before { inset-block: -1.6%; right: -1.6%; border-radius: 8px; background: linear-gradient(90deg, #8E2149, #C23B6B 50%, #8E2149); box-shadow: 0 34px 50px -18px rgba(8, 12, 63, .65); }
.flip-book.is-open::before { left: -1.6%; }
.flip-book::after { inset-block: -.3% -.7%; right: -.9%; border-radius: 5px; background: linear-gradient(90deg, #cdd3e6, #fff 2%, #fff 98%, #cdd3e6); }
.flip-book.is-open::after { left: -.9%; }
.leaf { z-index: 2; }
.flip-controls { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 34px; font-weight: 800; }
.flip-controls p { margin: 0; min-width: 4em; text-align: center; font-variant-numeric: tabular-nums; }
.round { width: 54px; height: 54px; border: 0; border-radius: 50%; background: var(--encre); color: var(--blanc); display: grid; place-items: center; cursor: pointer; transition: transform .2s var(--ease); }
.round svg { width: 24px; }
.round:hover { transform: scale(1.1); }
.round:disabled { opacity: .35; transform: none; cursor: default; }

/* ---------- 4. Fin d'après-midi ---------- */
.steps { background: linear-gradient(180deg, #FFD27A, #FFB08A 45%, #FF96AE); }
.steps-list { display: grid; gap: 46px; margin: 20px 0 54px; }
.step-pic { height: 230px; display: flex; align-items: center; justify-content: center; }
.step-photo img { box-shadow: var(--ombre); }
.step-covers .bk { --w: 108px; }
.step-covers .bk:nth-child(1) { --ry: 30deg; margin-right: -14px; }
.step-covers .bk:nth-child(2) { --w: 130px; --ry: -14deg; z-index: 1; }
.step-covers .bk:nth-child(3) { --ry: -32deg; margin-left: -10px; }
.step-photo img { width: 168px; padding: 10px 10px 40px; background: var(--blanc); transform: rotate(-4deg); }
.step-book .bk { --w: 150px; --ry: -32deg; }
.steps-list p { display: flex; gap: 16px; align-items: center; margin: 14px 0 0; font-weight: 600; font-size: 1.18rem; line-height: 1.4; }
.num { font: 800 5.2rem/.8 var(--titre); color: var(--blanc); text-shadow: 0 4px 0 #D9487B; flex: none; padding-top: .12em; }

/* ---------- 5. Crépuscule ---------- */
.moment { color: var(--blanc); padding-top: 190px; background: linear-gradient(180deg, #FF96AE 0, #B457A8 90px, #5A2F9C 180px, #2A1E7E 62%, var(--nuit) 100%); }
.moment-grid { display: grid; gap: 34px; }
.moment .photo { border: 6px solid var(--blanc); }
.moment .lead { font-size: 1.28rem; line-height: 1.6; }

/* ---------- 7. Nuit ---------- */
.final { padding-block: 90px 110px; background: var(--nuit); }
.final h2 { max-width: 13em; margin-inline: auto; }
.final .lead { margin-bottom: 1.6em; }
.site-footer { background: #050829; color: #D5DBFF; padding: 54px 0 24px; }
.footer-grid { display: grid; gap: 34px; }
.footer-privacy { max-width: 28em; margin: 18px 0 0; }
.site-footer h2 { font: 700 1.1rem/1.2 var(--titre); color: var(--or-clair); margin-bottom: 8px; letter-spacing: 0; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.site-footer li a:hover { color: var(--or-clair); text-decoration: underline; }
.footer-bottom { margin: 34px auto 0; font-size: .92rem; }

.mobile-cta { position: fixed; inset: auto 0 0; z-index: 40; padding: 10px 16px calc(14px + env(safe-area-inset-bottom)); background: rgba(8, 12, 63, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.mobile-cta .btn { width: 100%; }

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Badge affiché par Netlify (offre gratuite) : on remonte nos boutons au-dessus de lui */
body:has(#nl-badge-frame) { --cta-h: 138px; }
body:has(#nl-badge-frame) .mobile-cta { padding-bottom: 68px; background: linear-gradient(180deg, transparent, rgba(8, 12, 63, .92) 45%); -webkit-backdrop-filter: none; backdrop-filter: none; pointer-events: none; }
body:has(#nl-badge-frame) .mobile-cta .btn { pointer-events: auto; }
body:has(#nl-badge-frame) .wa-float { bottom: 78px; }

/* ---------- Pages simples ---------- */
.simple { padding: 40px 0 80px; }
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 6vw, 3rem); }
.legal h2 { font-size: 1.5rem; margin-top: 1.6em; }
.todo { background: var(--or-clair); padding: 0 .3em; border-radius: 4px; }

@media (min-width: 700px) {
  .container { padding-inline: 36px; }
  .section { padding-block: 104px; }
  .points { grid-template-columns: 1fr 1fr; }
  .steps-list { grid-template-columns: repeat(3, 1fr); gap: 30px; }
  .tales { --sw: min(86vw, 1040px); gap: 26px; }
  .tale { flex-direction: row; align-items: center; }
  .tale-book { --w: 27vw; padding: 44px 10px 44px 50px; }
  .tale-body { padding: 40px; }
  .tale-body .btn { margin-top: 12px; align-self: flex-start; }
  .thumbs { gap: 18px; }
  .step-covers .bk { --w: 74px; } .step-covers .bk:nth-child(2) { --w: 92px; }
  .flip { --pw: min(42vw, 420px); }
  .flip-view { width: calc(var(--pw) * 2); }
  .flip-book { transform: translateX(var(--shift, calc(var(--pw) * -.5))); }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .moment { padding-top: 220px; }
  .fan { --w: min(34vw, 32svh); }
}

@media (min-width: 960px) {
  :root { --header-h: 78px; }
  body { padding-bottom: 0; }
  .mobile-cta, .menu-toggle { display: none; }
  .logo { font-size: 2.1rem; }
  .wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 14px 30px -8px rgba(8, 12, 63, .6); transition: transform .2s var(--ease); }
  .wa-float .wa { width: 34px; height: 34px; }
  .wa-float:hover { transform: scale(1.08); }
  .main-nav { position: static; display: flex; align-items: center; gap: 30px; padding: 0; background: none; visibility: visible; opacity: 1; transform: none; }
  .main-nav ul { display: flex; gap: 30px; }
  .main-nav li a { padding: 10px 0; font-size: 1.02rem; background: linear-gradient(var(--or), var(--or)) 0 88% / 0 3px no-repeat; transition: background-size .3s var(--ease); }
  .main-nav li a:hover { background-size: 100% 3px; }
  .hero h1 { font-size: clamp(2.6rem, min(4.5vw, 7.4svh), 5rem); }
  .hero { padding-top: calc(var(--header-h) + 14px); }
  .hero .lead { font-size: 1.2rem; margin-bottom: 1em; }
  .fan { --w: min(16vw, 25.5svh); margin-top: auto; margin-bottom: 0; padding-top: 34px; box-sizing: content-box; height: calc(var(--w) * 1.56); }
  .fan .bk { top: 34px; }
  .b2 { --x: -92%; --y: 9%; --r: -8deg; }
  .b4 { --x: 92%; --y: 9%; --r: 7deg; }
  .b1 { --x: -182%; --y: 26%; --r: -15deg; }
  .b5 { --x: 182%; --y: 26%; --r: 14deg; }
  .why-grid { grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
  .why-text { font-size: 1.18rem; }
  .why-text .strong { font-size: 1.55rem; }
  .unique-grid { grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
  .ba-wrap { position: sticky; top: calc(var(--header-h) + 24px); }
  .ba { max-height: calc(100vh - 140px); margin-inline: auto; }
  .tale-body { padding: 50px 56px 50px 50px; }
  .tale-body h3 { font-size: 2.4rem; }
  .tale-book { --w: 300px; padding: 56px 20px 56px 64px; }
  .step-pic { height: 290px; }
  .step-covers .bk { --w: 118px; } .step-covers .bk:nth-child(2) { --w: 148px; }
  .step-photo img { width: 205px; } .step-book .bk { --w: 182px; }
  .moment-grid { grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
  .moment .lead { font-size: 1.5rem; }
  .final { padding-block: 130px 160px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
