/* Accueil */
.hero { position: relative; background: radial-gradient(ellipse at 20% 0%, #2b3a7a 0%, transparent 55%), radial-gradient(ellipse at 90% 30%, #5a2b6e66 0%, transparent 50%), linear-gradient(180deg, #14182b, #0b0e1c); color: #f3efe6; overflow: hidden; padding-bottom: 70px; }
#neige { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero .wrap { position: relative; }
.hero .logo { color: #fff; }
.hero .topnav a:not(.btn) { color: #c8c3d6; }
.hero .topnav a:not(.btn):hover { color: #fff; background: rgba(255,255,255,.08); }
.hero-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding-top: 40px; }
.badge { display: inline-flex; padding: 6px 14px; border-radius: 999px; background: rgba(243, 199, 105, .14); color: #f3c769; font-size: 13.5px; font-weight: 600; border: 1px solid rgba(243, 199, 105, .3); }
.hero h1 { font-size: clamp(42px, 6.4vw, 84px); line-height: 1; margin: 22px 0 22px; color: #fff; letter-spacing: -.025em; }
.hero h1 em { font-style: italic; color: #f3c769; font-weight: 400; }
.hero .lead { font-size: 19.5px; line-height: 1.6; color: #d4cfe0; max-width: 33em; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.ghost-l { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.ghost-l:hover { border-color: #fff; }
.mini { font-size: 14px; color: #a49eb2; margin-top: 16px; }
.hero-vis { position: relative; height: 560px; }
.tel { position: absolute; left: 50%; top: 20px; width: 290px; height: 520px; margin-left: -145px; border-radius: 42px; background: #0a0c16; padding: 12px; box-shadow: 0 50px 100px -30px rgba(0,0,0,.8), 0 0 0 2px #2b2f47; transform: rotate(-4deg); animation: flotte 7s ease-in-out infinite; }
@keyframes flotte { 50% { transform: rotate(-3deg) translateY(-10px); } }
.tel-ecran { height: 100%; border-radius: 32px; overflow: hidden; background: linear-gradient(180deg, #2c2c2a, #1d1d1b); padding: 18px 14px; display: grid; grid-template-rows: auto 1fr; gap: 14px; }
.tel-tete { font: 600 15px "Courier New", monospace; color: #f4eee0; display: flex; gap: 8px; align-items: center; }
.tel-tete span { width: 26px; height: 26px; background: #b3261e; display: grid; place-items: center; border-radius: 7px; }
.tel-grille { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 64px; gap: 7px; grid-auto-flow: dense; }
.tel-grille i { font: 700 26px "Courier New", monospace; font-style: normal; color: #222; background: linear-gradient(170deg, #ead9ac, #d9c38a); border-radius: 7px; padding: 6px 8px; position: relative; }
.tel-grille i.b { grid-column: span 2; grid-row: span 2; font-size: 60px; }
.tel-grille i.w { grid-column: span 2; }
.tel-grille i.o { background: linear-gradient(170deg, #f0c9b8, #d99a85); }
.tel-grille i.o::after { content: "✓"; position: absolute; right: 8px; bottom: 4px; color: #b3261e; font-size: 16px; }
.tel-grille i.n { animation: luitN 2.4s infinite; }
@keyframes luitN { 50% { box-shadow: 0 0 0 3px #f3c76999, 0 0 30px #f3c769aa; } }
.lettre-flot { position: absolute; left: -10px; top: 300px; width: 230px; padding: 26px 20px 20px; background: linear-gradient(160deg, #f6eedd, #e3d0aa); color: #3a2c1a; border-radius: 6px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); transform: rotate(-9deg); display: grid; gap: 4px; animation: flotte2 8s ease-in-out infinite; }
@keyframes flotte2 { 50% { transform: rotate(-7deg) translateY(8px); } }
.lettre-flot b { font: 600 26px var(--f-hand); }
.lettre-flot small { font-size: 12px; color: #7a6544; }
.sceau { position: absolute; right: 16px; top: -18px; width: 46px; height: 46px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #e0663f, #8e1f14 72%); color: #f3c769; display: grid; place-items: center; box-shadow: 0 4px 10px rgba(0,0,0,.4); }
.post-it { position: absolute; right: -6px; top: 60px; width: 190px; padding: 18px; background: #fff3b0; color: #6b2b1e; font-size: 21px; line-height: 1.25; transform: rotate(5deg); box-shadow: 0 20px 40px -14px rgba(0,0,0,.7); animation: flotte3 6s ease-in-out infinite; }
@keyframes flotte3 { 50% { transform: rotate(6.5deg) translateY(-8px); } }
.livre-flot { position: absolute; right: 10px; bottom: 10px; width: 130px; height: 160px; border-radius: 3px 10px 10px 3px; background: linear-gradient(150deg, #b3261e, #5a120d); box-shadow: 18px 22px 40px rgba(0,0,0,.6), inset 6px 0 0 rgba(0,0,0,.25); transform: rotate(8deg) perspective(600px) rotateY(-18deg); display: grid; place-items: center; padding: 14px; text-align: center; color: #f3c769; font: 600 16px var(--f-display); }

.bande { background: #f3c769; color: #2a1d05; font-weight: 600; font-size: 14.5px; overflow: hidden; }
.bande .wrap { display: flex; gap: 34px; padding-block: 14px; flex-wrap: wrap; justify-content: center; }

.sec { padding: 110px 0; }
.sec h2 { font-size: clamp(34px, 5vw, 60px); margin: 12px 0 18px; max-width: 18em; }
.sec .intro { font-size: 19px; color: var(--muted); max-width: 40em; }
.sombre { background: var(--night); color: #f1ebe0; }
.sombre .intro, .sombre p { color: #c9c3d6; }
.sombre .eyebrow { color: #f3c769; }
.etapes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 46px; counter-reset: e; }
.etapes article { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: grid; gap: 10px; align-content: start; box-shadow: var(--shadow); }
.etapes b { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font: 600 20px var(--f-display); }
.etapes h3 { font-size: 23px; }
.etapes p { color: var(--muted); font-size: 15.5px; }
.rituels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.rituels article { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 20px; padding: 26px; display: grid; gap: 8px; transition: transform .2s, background .2s; }
.rituels article:hover { transform: translateY(-4px); background: rgba(255,255,255,.08); }
.rituels span { font-size: 34px; }
.rituels h3 { font-size: 22px; color: #fff; }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.feats article { border-radius: 20px; padding: 26px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.feats h3 { font-size: 22px; }
.feats p { color: var(--muted); }
.f-big { grid-row: span 2; background: linear-gradient(160deg, #fff6e8, #fbe3cf) !important; position: relative; overflow: hidden; }
:root[data-theme="dark"] .f-big { background: linear-gradient(160deg, #2a2233, #3a2430) !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .f-big { background: linear-gradient(160deg, #2a2233, #3a2430) !important; } }
.mini-rituels { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.mini-rituels i { aspect-ratio: 1; border-radius: 18px; display: grid; place-items: center; font-style: normal; font-size: 40px; }
.r1 { background: radial-gradient(circle at 35% 30%, #e0663f, #8e1f14 70%); color: #f3c769; border-radius: 50% !important; }
.r2 { background: linear-gradient(135deg, #c9ccd3, #eef0f4 50%, #a9adb6); }
.r2::after { content: "Gratte"; font: 600 15px var(--f-ui); color: #666; }
.r3 { background: linear-gradient(160deg, #7a4a20, #3b2210); }
.r4 { background: linear-gradient(160deg, var(--accent), #7d1e14); position: relative; }
.r4::before, .r4::after { content: ""; position: absolute; background: #f3c769; }
.r4::before { left: 44%; width: 12%; top: 0; bottom: 0; } .r4::after { top: 44%; height: 12%; left: 0; right: 0; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.trio article { padding: 30px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.trio .emo { font-size: 42px; }
.trio h3 { font-size: 26px; }
.trio p { color: var(--muted); }
.livre-sec { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; }
.editions { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 30px 0 18px; }
.editions article { padding: 22px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); display: grid; gap: 6px; }
.editions b { font: 600 19px var(--f-display); color: #fff; }
.livre-3d { perspective: 1200px; display: grid; place-items: center; height: 440px; }
.l3-couv { width: 270px; height: 340px; border-radius: 4px 14px 14px 4px; background: linear-gradient(150deg, #7d1e1e, #3a0c0c); color: #f3c769; display: grid; place-content: center; justify-items: center; gap: 20px; text-align: center; padding: 24px; transform: rotateY(-28deg) rotateX(8deg); box-shadow: 30px 40px 60px rgba(0,0,0,.6), inset 10px 0 0 rgba(0,0,0,.3); animation: tourne 9s ease-in-out infinite; font-family: "Cormorant Garamond", var(--f-display); }
.l3-couv b { font-size: 32px; line-height: 1.05; }
.l3-couv i { font-style: normal; font-size: 34px; }
.l3-couv small { font: italic 15px var(--f-display); color: #f1d9a8; }
@keyframes tourne { 50% { transform: rotateY(-14deg) rotateX(4deg) translateY(-10px); } }
.demos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.demo { text-decoration: none; padding: 34px; border-radius: 26px; display: grid; gap: 12px; align-content: start; min-height: 280px; transition: transform .2s, box-shadow .2s; position: relative; overflow: hidden; }
.demo:hover { transform: translateY(-4px); box-shadow: var(--shadow-l); }
.demo h3 { font-size: 32px; }
.demo .btn { justify-self: start; margin-top: auto; }
.d-enfant { background: radial-gradient(circle at 80% 0%, #fff 0 10%, transparent 11%), linear-gradient(160deg, #e3f0fb, #bcd5ee); color: #1f3557; }
.d-enfant .eyebrow { color: #3d74b8; }
.d-adulte { background: linear-gradient(160deg, #e9d9b0, #c8b07a); color: #222; font-family: "Courier New", monospace; }
.d-adulte h3 { font-family: "Courier New", monospace; letter-spacing: -.02em; }
.d-adulte .eyebrow { color: #b3261e; }
.demo.bientot { opacity: .6; pointer-events: none; }
.demo.bientot .btn::after { content: " (en préparation)"; }
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font: 600 20px var(--f-display); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin-top: 10px; color: var(--muted); font-size: 16.5px; }
.fin-cta { text-align: center; background: radial-gradient(ellipse at 50% 100%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%); }
.fin-cta h2 { margin: 0 auto 26px; }
.soutien-ligne { margin-top: 26px; color: var(--muted); }
.lien { border: 0; background: none; color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; padding: 0; }
.footer a { color: inherit; }

@media (max-width: 980px) {
  .hero-in, .livre-sec { grid-template-columns: 1fr; }
  .hero-vis { height: 520px; }
  .etapes, .feats { grid-template-columns: 1fr 1fr; }
  .rituels, .trio { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .etapes, .feats, .rituels, .trio, .demos, .editions { grid-template-columns: 1fr; }
  .f-big { grid-row: auto; }
  .hero-vis { height: 470px; transform: scale(.85); transform-origin: top center; }
  .lettre-flot { left: 0; top: 330px; }
  .post-it { right: 0; }
  .sec { padding: 70px 0; }
  .bande .wrap { gap: 10px 20px; }
}
.demo-livres { margin-top: 18px; color: var(--muted); font-size: 16px; }
.demo-livres a { color: var(--accent); font-weight: 600; }
