/* Site de Sonatia — CSS écrit à la main, sans bibliothèque ; polices locales (fonts/). Les pages sont produites par outils/site/assembler.js depuis site-src/. Habillage = celui du logiciel (bleu nuit, turquoise, violet), avec des transitions au défilement (site.js). */
@import url('fonts/fonts.css');
:root {
  --night: #07151d; --night2: #0c2a3a; --navy: #1c3d5e; --teal: #19b5a5; --violet: #7c5cf0; --violet-d: #5d3fd0; --gold: #f4b85a;
  --cream: #fbf8f2; --paper: #ffffff; --ink: #12202a; --body: #33444f; --muted: #5d6e79; --line: #e6dfd2;
  --radius: 1.25rem; --shadow: 0 30px 80px -30px rgba(7, 21, 29, .55); --ease: cubic-bezier(.2, .7, .2, 1);
  --display: 'Poppins', system-ui, 'Segoe UI', sans-serif; --text: 'Lexend', system-ui, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.05rem/1.7 var(--text); color: var(--body); background: var(--cream); -webkit-font-smoothing: antialiased; animation: pageIn .6s var(--ease) both; overflow-x: hidden; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet-d); text-underline-offset: .18em; } a:hover { color: var(--violet); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.12; margin: 0; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -.01em; }
h4 { font-size: 1.08rem; font-weight: 600; letter-spacing: -.005em; }
p { margin: 0 0 1rem; text-wrap: pretty; }
ul, ol { margin: 0 0 1rem; padding-left: 1.3em; } li { margin-bottom: .35em; }
strong { color: var(--ink); font-weight: 600; }
.wrap { width: min(72rem, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(46rem, 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; color: #000; padding: .6rem 1rem; z-index: 99; } .skip:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* En-tête : transparent sur l'accueil, plein partout ailleurs et dès qu'on défile */
.site-head { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 1rem 0; transition: background .3s, box-shadow .3s, padding .3s; }
.site-head.stuck, .inner .site-head { background: rgba(7, 21, 29, .94); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); padding: .65rem 0; }
.site-head .wrap { display: flex; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; font: 700 1.35rem var(--display); color: #fff; text-decoration: none; letter-spacing: -.02em; } .brand:hover { color: #fff; }
.brand img { width: 2.2rem; height: 2.2rem; border-radius: .6rem; transition: transform .4s var(--ease); } .brand:hover img { transform: rotate(-8deg) scale(1.08); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 1.6rem; }
.nav a:not(.btn) { position: relative; color: rgba(255, 255, 255, .85); text-decoration: none; font-size: .95rem; padding: .3rem 0; }
.nav a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: -.1rem; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #6ee7d6, #b8a4ff); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:not(.btn):hover, .nav a[aria-current] { color: #fff; } .nav a:not(.btn):hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.menu-btn { display: none; margin-left: auto; font: 600 .95rem var(--display); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .3); border-radius: 2rem; padding: .5rem 1.1rem; color: #fff; cursor: pointer; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font: 600 1.02rem/1 var(--display); text-decoration: none; padding: 1rem 1.7rem; border-radius: 3rem; border: 2px solid var(--ink); color: var(--ink); background: transparent; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s, border-color .25s; position: relative; overflow: hidden; }
.btn:hover { transform: translateY(-3px); background: var(--ink); color: #fff; }
.btn-solid { background: linear-gradient(135deg, #8a6cff, var(--violet-d)); border-color: transparent; color: #fff; box-shadow: 0 14px 34px -12px rgba(124, 92, 240, .85); }
.btn-solid:hover { background: linear-gradient(135deg, #9a80ff, #6a4ae0); color: #fff; box-shadow: 0 22px 40px -12px rgba(124, 92, 240, .95); }
.btn-solid::before { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn-solid:hover::before { transform: translateX(120%); }
.btn-sm { padding: .65rem 1.2rem; font-size: .92rem; } .btn-lg { padding: 1.2rem 2.1rem; font-size: 1.12rem; }
.hero .btn:not(.btn-solid), .dark .btn:not(.btn-solid), .final .btn:not(.btn-solid), .page-head .btn:not(.btn-solid) { color: #fff; border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06); }
.hero .btn:not(.btn-solid):hover, .dark .btn:not(.btn-solid):hover, .final .btn:not(.btn-solid):hover, .page-head .btn:not(.btn-solid):hover { background: rgba(255, 255, 255, .18); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; margin-top: 1.8rem; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: .4rem; } .link-arrow::after { content: '→'; transition: transform .25s var(--ease); } .link-arrow:hover::after { transform: translateX(5px); }

/* Repères typographiques */
.label { display: inline-block; font: 600 .78rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--violet-d); background: rgba(124, 92, 240, .1); padding: .5rem .9rem; border-radius: 2rem; margin: 0 0 1.1rem; }
.dark .label, .page-head .label, .final .label { background: rgba(255, 255, 255, .12); color: #d9ccff; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40rem; }
.muted { color: var(--muted); } .small { font-size: .95rem; } .fine { font-size: .9rem; color: var(--muted); }
.sec-head { max-width: 42rem; margin-bottom: 3rem; } .sec-head h2 { margin-bottom: 1rem; } .sec-head p:last-child { margin-bottom: 0; }
.center { text-align: center; } .center .sec-head, .sec-head.center { margin-inline: auto; text-align: center; } .center .lead { margin-inline: auto; }
section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.band { background: var(--paper); border-block: 1px solid var(--line); }

/* Héros de l'accueil */
.hero { position: relative; overflow: hidden; color: #dbe9ef; padding: clamp(8rem, 14vw, 10rem) 0 clamp(3rem, 6vw, 5rem); text-align: center;
  background: radial-gradient(60rem 36rem at 15% -10%, rgba(25, 181, 165, .42), transparent 60%), radial-gradient(50rem 34rem at 95% 10%, rgba(124, 92, 240, .5), transparent 60%), linear-gradient(180deg, var(--night) 0%, var(--night2) 100%); }
.hero::before, .hero::after { content: ''; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; pointer-events: none; animation: drift 14s ease-in-out infinite alternate; }
.hero::before { width: 26rem; height: 26rem; background: #19b5a5; left: -8rem; top: 30%; } .hero::after { width: 24rem; height: 24rem; background: #7c5cf0; right: -6rem; top: 8%; animation-delay: -6s; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(3rem, -2.5rem) scale(1.18); } }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 17ch; margin-inline: auto; }
.hero h1 em { font-style: normal; white-space: nowrap; background: linear-gradient(90deg, #6ee7d6, #b8a4ff, #6ee7d6); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: -200% 0; } }
.hero .lead { color: #bcd2dc; font-size: clamp(1.1rem, 2vw, 1.35rem); margin: 1.6rem auto 0; max-width: 38rem; }
.hero .btn-row { justify-content: center; margin-top: 2.2rem; }
.ticks { list-style: none; padding: 0; margin: 1.8rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.6rem; font-size: .95rem; color: #a8c2cd; }
.ticks li { margin: 0; } .ticks li::before { content: '✓'; color: var(--teal); font-weight: 700; margin-right: .45rem; }
.hero-note { margin: 1.4rem auto 0; font-size: .95rem; color: #a8c2cd; max-width: 40rem; }
.hero-wrap { position: relative; margin-top: 3.5rem; perspective: 1400px; }
.hero .shot { margin: 0; transform: rotateX(calc(5deg - var(--p, 0) * 5deg)) translateY(calc(var(--p, 0) * -1.5rem)); transform-origin: center bottom; transition: transform .15s linear; }
.chip { position: absolute; z-index: 2; background: rgba(255, 255, 255, .96); color: var(--ink); font: 600 .9rem/1.2 var(--display); padding: .7rem 1rem; border-radius: 1rem; box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .55); display: flex; gap: .55rem; align-items: center; animation: float 6s ease-in-out infinite; }
.chip span { font-size: 1.25rem; } .chip.c1 { left: -1rem; top: 38%; } .chip.c2 { right: -.5rem; top: 14%; animation-delay: -2s; } .chip.c3 { right: 6%; bottom: 14%; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-.7rem); } }
figure { margin: 0; }
.shot { position: relative; border-radius: 1rem; overflow: hidden; background: #0b2230; box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, .12); }
.shot img { width: 100%; transition: transform .8s var(--ease); } .shot:hover img { transform: scale(1.03); }
figcaption { font-size: .88rem; color: var(--muted); padding: .7rem .2rem 0; } .hero figcaption { color: #a8c2cd; text-align: left; }
.hero .shot { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

/* Bandeau de chiffres */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.fact { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.2rem; text-align: center; transition: transform .3s var(--ease), box-shadow .3s; }
.fact:hover { transform: translateY(-5px); box-shadow: 0 24px 50px -28px rgba(18, 32, 42, .45); }
.fact b { display: block; font: 800 clamp(2.1rem, 4vw, 3rem)/1 var(--display); letter-spacing: -.03em; background: linear-gradient(135deg, var(--violet), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fact span { display: block; margin-top: .45rem; color: var(--muted); font-size: .93rem; line-height: 1.4; }

/* Colonnes et cartes */
.cols { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
.col, .card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; transition: transform .3s var(--ease), box-shadow .3s; overflow: hidden; }
.col::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--violet), var(--teal)); transform: scaleX(.25); transform-origin: left; transition: transform .5s var(--ease); }
.col:hover { transform: translateY(-5px); box-shadow: 0 24px 50px -28px rgba(18, 32, 42, .45); } .col:hover::before { transform: scaleX(1); }
.col h3 { margin-bottom: .6rem; } .col p { margin: 0; color: var(--muted); }
.dark .col { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); } .dark .col p { color: #bcd2dc; }

/* Étapes */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.6rem; grid-template-columns: 1fr; counter-reset: s; }
.steps li { position: relative; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem 1.6rem 1.6rem; margin: 0; counter-increment: s; transition: transform .3s var(--ease), box-shadow .3s; }
.steps li:hover { transform: translateY(-5px); box-shadow: 0 24px 50px -28px rgba(18, 32, 42, .45); }
.steps li::before { content: counter(s); position: absolute; top: -1.3rem; left: 1.4rem; width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; font: 700 1.2rem var(--display); color: #fff; background: linear-gradient(135deg, #8a6cff, var(--violet-d)); box-shadow: 0 10px 24px -8px rgba(124, 92, 240, .8); }
.steps h3 { margin-bottom: .5rem; } .steps p { margin: 0; color: var(--muted); }

/* Rubriques avec capture */
.feature { display: grid; gap: 2.2rem 3.5rem; grid-template-columns: minmax(0, 1fr); align-items: center; }
.feature + .feature { margin-top: clamp(4rem, 8vw, 7rem); }
.feature h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1rem; }
.feature .shot { box-shadow: 0 40px 90px -40px rgba(18, 32, 42, .6), 0 0 0 1px rgba(18, 32, 42, .1); }

/* Limites assumées */
.limits { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: 1fr; }
.limits li { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: .9rem; padding: 1.2rem 1.4rem; margin: 0; transition: transform .3s var(--ease), box-shadow .3s; }
.limits li:hover { transform: translateX(6px); box-shadow: 0 18px 40px -26px rgba(18, 32, 42, .45); }
.limits b { display: block; font: 600 1.08rem var(--display); color: var(--ink); margin-bottom: .2rem; } .limits span { color: var(--muted); }

/* Bloc sombre, mini-jeux */
.dark { position: relative; overflow: hidden; background: radial-gradient(50rem 30rem at 90% 0, rgba(124, 92, 240, .3), transparent 60%), linear-gradient(180deg, var(--night2), var(--night)); color: #bcd2dc; }
.dark h2, .dark h3, .dark strong { color: #fff; } .dark .lead { color: #a8c2cd; }
.games { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.game { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 1.1rem; padding: 1.3rem; transition: background .3s, transform .3s var(--ease), border-color .3s; }
.game:hover { background: rgba(255, 255, 255, .12); transform: translateY(-5px) rotate(-.4deg); border-color: rgba(184, 164, 255, .6); }
.game span { font-size: 1.8rem; display: block; margin-bottom: .5rem; transition: transform .4s var(--ease); } .game:hover span { transform: scale(1.25) rotate(8deg); }
.game b { display: block; font: 600 1.05rem var(--display); color: #fff; margin-bottom: .25rem; } .game p { margin: 0; font-size: .92rem; color: #a8c2cd; line-height: 1.5; }
.who { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.who .card { padding: 1.5rem; } .who .card:hover { transform: translateY(-5px); box-shadow: 0 24px 50px -28px rgba(18, 32, 42, .45); } .who h3 { font-size: 1.1rem; margin-bottom: .4rem; } .who p { margin: 0; color: var(--muted); }

/* Tarif */
.pricing { background: radial-gradient(50rem 30rem at 50% 0, rgba(124, 92, 240, .35), transparent 65%), linear-gradient(180deg, var(--night), var(--night2)); }
.plans { display: grid; gap: 1.4rem; grid-template-columns: 1fr; max-width: 56rem; margin: 0 auto; align-items: stretch; }
.plan { border-radius: 1.6rem; padding: 2.2rem 2rem; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); color: #bcd2dc; display: flex; flex-direction: column; transition: transform .4s var(--ease); } .plan:hover { transform: translateY(-6px); }
.plan.main { background: #fff; color: var(--body); border: 0; box-shadow: 0 40px 90px -30px rgba(124, 92, 240, .8); position: relative; }
.plan h3 { font-size: 1.25rem; margin-bottom: .3rem; color: #fff; } .plan.main h3 { color: var(--ink); }
.price { font: 800 3.6rem/1 var(--display); letter-spacing: -.04em; margin: 1rem 0 .2rem; color: #fff; } .plan.main .price { color: var(--ink); }
.price small { font: 500 1rem var(--text); letter-spacing: 0; opacity: .7; margin-left: .35rem; }
.plan ul { list-style: none; padding: 0; margin: 1.3rem 0 1.8rem; display: grid; gap: .65rem; flex: 1; } .plan li { padding-left: 1.7rem; position: relative; font-size: .98rem; margin: 0; }
.plan li::before { content: '✓'; position: absolute; left: 0; color: var(--teal); font-weight: 700; } .plan li.off { opacity: .55; } .plan li.off::before { content: '–'; color: currentColor; }
.plan .btn { width: 100%; } .plan:not(.main) .btn { color: #fff; border-color: rgba(255, 255, 255, .45); } .plan:not(.main) .btn:hover { background: rgba(255, 255, 255, .18); }
.plan .fine { text-align: center; margin: 1rem 0 0; color: inherit; opacity: .8; }
.pricing .sec-head h2 { color: #fff; } .pricing .lead, .pricing .sec-head p { color: #a8c2cd; } .pricing .small { color: #a8c2cd; } .pricing a { color: #cdbfff; }

/* Questions */
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 1rem; padding: 0 1.4rem; margin-bottom: .8rem; transition: box-shadow .3s, border-color .3s; }
.faq details:hover { border-color: #cdbfff; } .faq details[open] { box-shadow: 0 18px 40px -26px rgba(18, 32, 42, .5); border-color: var(--violet); }
.faq summary { cursor: pointer; padding: 1.2rem 0; font: 600 1.06rem var(--display); color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; } .faq summary::after { content: '+'; font-size: 1.6rem; color: var(--violet-d); line-height: 1; transition: transform .35s var(--ease); } .faq details[open] summary::after { transform: rotate(135deg); }
.faq details > :not(summary) { color: var(--muted); animation: faqIn .45s var(--ease) both; } .faq details > :last-child { margin-bottom: 1.2rem; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-.6rem); } to { opacity: 1; transform: none; } }
.faq h3 { margin: 2.6rem 0 1rem; font-size: 1.4rem; }

/* Appel final et pied */
.final { text-align: center; color: #cfe0e8; background: radial-gradient(50rem 24rem at 50% 100%, rgba(25, 181, 165, .4), transparent 65%), linear-gradient(180deg, var(--night2), var(--night)); }
.final h2 { color: #fff; font-size: clamp(2rem, 5vw, 3.4rem); max-width: 18ch; margin: 0 auto 1.2rem; } .final .lead { color: #a8c2cd; margin: 0 auto 2.2rem; } .final .btn-row { justify-content: center; }
.site-foot { background: var(--night); color: #7f98a4; font-size: .93rem; padding: 3.2rem 0 2.4rem; border-top: 1px solid rgba(255, 255, 255, .08); }
.site-foot a { color: #a8c2cd; text-decoration: none; } .site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; gap: 2rem 3rem; grid-template-columns: 1fr; }
.foot-grid h4 { color: #fff; margin-bottom: .7rem; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; } .foot-grid li { margin-bottom: .45rem; }
.foot-brand { font: 700 1.5rem var(--display); color: #fff; margin-bottom: .6rem; }
.foot-legal { margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; }
.mobile-cta { display: none; }

/* Pages intérieures : bandeau de titre sombre, texte lisible sur fond crème */
.page-head { position: relative; overflow: hidden; color: #cfe0e8; padding: 8.5rem 0 3.4rem; background: radial-gradient(48rem 24rem at 12% -20%, rgba(25, 181, 165, .4), transparent 60%), radial-gradient(40rem 22rem at 95% 0, rgba(124, 92, 240, .45), transparent 60%), linear-gradient(180deg, var(--night) 0%, var(--night2) 100%); }
.page-head h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.5rem); max-width: 20ch; }
.page-head .lead { color: #bcd2dc; margin: 1.2rem 0 0; }
.crumbs { font-size: .9rem; color: #a8c2cd; margin-bottom: 1.2rem; } .crumbs a { color: #a8c2cd; }
.prose { padding: 3rem 0 5rem; }
.prose h2 { font-size: clamp(1.55rem, 3vw, 2rem); margin: 2.8rem 0 .9rem; } .prose h3 { margin: 2rem 0 .6rem; font-size: 1.2rem; }
.prose > :first-child { margin-top: 0; }
.note { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--violet); border-radius: .8rem; padding: 1rem 1.3rem; margin: 1.6rem 0; } .note p:last-child { margin: 0; }
.tbl-wrap { overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
table.tbl { width: 100%; border-collapse: collapse; font-size: .98rem; min-width: 30rem; }
.tbl th, .tbl td { text-align: left; padding: .85rem 1.1rem; border-bottom: 1px solid var(--line); vertical-align: top; } .tbl tr:last-child td { border-bottom: 0; }
.tbl thead th { font: 600 .85rem var(--display); color: var(--muted); background: #faf6ee; }
.tbl tbody tr { transition: background .2s; } .tbl tbody tr:hover { background: rgba(124, 92, 240, .06); }
.tick { color: #12936f; font-weight: 700; } .nope { color: #9aa6ad; }
.guide-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: 1fr; }
.guide-list li { margin: 0; } .guide-list a { display: block; height: 100%; padding: 1.6rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--muted); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.guide-list a:hover { transform: translateY(-5px); box-shadow: 0 24px 50px -28px rgba(18, 32, 42, .45); border-color: var(--violet); }
.guide-list b { display: block; font: 600 1.25rem/1.25 var(--display); color: var(--ink); margin-bottom: .5rem; }
.toc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.5rem; margin: 0 0 2.2rem; } .toc h4 { margin-bottom: .5rem; } .toc ol { margin: 0; }
.next { margin-top: 3rem; padding: 1.8rem; border-radius: var(--radius); background: linear-gradient(135deg, rgba(124, 92, 240, .1), rgba(25, 181, 165, .12)); border: 1px solid var(--line); } .next p:last-child { margin: 0; }
.prose blockquote { margin: 1.6rem 0; padding: .2rem 0 .2rem 1.3rem; border-left: 3px solid var(--violet); color: var(--ink); font-size: 1.15rem; }

/* Programme */
.chap { display: grid; gap: .4rem 1.6rem; grid-template-columns: 3.4rem 1fr; padding: 1.6rem 0; position: relative; }
.chap::before { content: ''; position: absolute; left: 1.7rem; top: 4.4rem; bottom: -.2rem; width: 2px; background: linear-gradient(var(--violet), var(--teal)); opacity: .35; } .chap:last-of-type::before { display: none; }
.chap .num { grid-row: span 3; align-self: start; width: 3.4rem; height: 3.4rem; border-radius: 50%; display: grid; place-items: center; font: 700 1.3rem var(--display); color: #fff; background: linear-gradient(135deg, #8a6cff, var(--violet-d)); box-shadow: 0 10px 24px -8px rgba(124, 92, 240, .8); transition: transform .4s var(--ease); }
.chap:hover .num { transform: scale(1.12) rotate(-6deg); }
.chap h3 { margin-bottom: .3rem; } .chap .sub { color: var(--violet-d); font-weight: 500; margin-bottom: .6rem; } .chap p { margin-bottom: .5rem; }
.tagfree, .tagpaid { display: inline-block; font: 600 .7rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; padding: .32rem .6rem; border-radius: 2rem; vertical-align: .2em; margin-left: .6rem; }
.tagfree { background: #d5f1ec; color: #0b5e53; } .tagpaid { background: rgba(124, 92, 240, .12); color: var(--violet-d); }
.units { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.unit { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; transition: transform .3s var(--ease), box-shadow .3s; } .unit:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(18, 32, 42, .45); }
.unit h3 { font-size: 1.1rem; margin-bottom: .3rem; } .unit .sub { font-size: .92rem; color: var(--muted); margin-bottom: .5rem; } .unit ul { margin: 0; font-size: .96rem; } .unit li { margin-bottom: .15rem; }
.release { padding: 2rem 0; border-top: 1px solid var(--line); } .release h2 { margin-bottom: .3rem; } .release ul { list-style: none; padding: 0; margin: 1.2rem 0 0; } .release li { padding: .85rem 0; border-top: 1px dotted var(--line); margin: 0; } .release li b { color: var(--ink); }

/* Explorateur de fonctionnalités (catégories animées) */
.cat-bar { position: sticky; top: 3.9rem; z-index: 40; background: rgba(251, 248, 242, .93); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.cat-tabs { position: relative; display: flex; gap: .4rem; overflow-x: auto; padding: .8rem 0; scrollbar-width: none; } .cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .5rem; font: 600 .93rem var(--display); color: var(--muted); background: transparent; border: 0; border-radius: 3rem; padding: .7rem 1.15rem; cursor: pointer; position: relative; z-index: 1; transition: color .3s, transform .3s var(--ease); white-space: nowrap; }
.cat-tab:hover { color: var(--ink); transform: translateY(-2px); } .cat-tab[aria-selected="true"] { color: #fff; }
.cat-tab .ic { font-size: 1.15rem; transition: transform .4s var(--ease); } .cat-tab[aria-selected="true"] .ic { transform: scale(1.2) rotate(-8deg); }
.cat-ind { position: absolute; top: .8rem; left: 0; height: calc(100% - 1.6rem); width: 0; border-radius: 3rem; background: linear-gradient(135deg, #8a6cff, var(--violet-d)); box-shadow: 0 10px 26px -10px rgba(124, 92, 240, .9); transition: transform .5s var(--ease), width .5s var(--ease); z-index: 0; }
html:not(.js) .cat-bar { display: none; }
.cat-panel { padding: 3rem 0 4rem; }
.cat-panel + .cat-panel { border-top: 1px solid var(--line); }
html.js .cat-panel[hidden] { display: none; }
html.js .cat-panel.active { animation: panelIn .6s var(--ease) both; }
@keyframes panelIn { from { opacity: 0; transform: translateX(var(--dir, 2.5rem)) scale(.985); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.cat-head { display: grid; gap: 2rem 3rem; grid-template-columns: minmax(0, 1fr); align-items: center; margin-bottom: 2.6rem; }
.cat-num { font: 800 clamp(4rem, 10vw, 7rem)/.9 var(--display); letter-spacing: -.05em; background: linear-gradient(135deg, var(--violet), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; }
.cat-head h2 { margin: .3rem 0 .8rem; } .cat-head .lead { margin: 0; }
.fgrid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr)); }
.fcard { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.3rem; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.fcard::after { content: ''; position: absolute; inset: 0; background: radial-gradient(14rem 10rem at var(--mx, 50%) var(--my, 0%), rgba(124, 92, 240, .13), transparent 70%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.fcard:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -28px rgba(18, 32, 42, .5); border-color: #cdbfff; } .fcard:hover::after { opacity: 1; }
.fcard i { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: .9rem; font-style: normal; font-size: 1.5rem; background: linear-gradient(135deg, rgba(124, 92, 240, .16), rgba(25, 181, 165, .2)); margin-bottom: .9rem; transition: transform .45s var(--ease); }
.fcard:hover i { transform: scale(1.18) rotate(-8deg); }
.fcard h4 { margin-bottom: .35rem; } .fcard p { margin: 0; font-size: .96rem; color: var(--muted); line-height: 1.55; }
html.js .cat-panel.active .fcard { animation: cardIn .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 55ms + 120ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(1.6rem) scale(.96); } to { opacity: 1; transform: none; } }

.inner main > section:first-child:not(.cat-panel) { padding-top: 8.5rem; }
/* Pages légales et « merci » */
.legal { padding: 8rem 0 5rem; } .legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 1.5rem; } .legal h2 { font-size: 1.4rem; margin: 2rem 0 .6rem; }
.legal code { background: #efe9dc; padding: .1em .35em; border-radius: .25rem; }
#act { display: flex; gap: .7rem; flex-wrap: wrap; margin: 1.2rem 0; }
#act input { flex: 1 1 16rem; padding: .85rem 1.1rem; font: inherit; font-size: 1.1rem; letter-spacing: .06em; border: 1.5px solid var(--ink); border-radius: 3rem; background: #fff; color: var(--ink); }

/* Apparition douce au défilement (site.js ajoute .in) */
.reveal, .reveal-l, .reveal-r, .reveal-z { opacity: 0; transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0ms); filter: blur(5px); }
.reveal { transform: translateY(2.2rem); } .reveal-l { transform: translateX(-3rem); } .reveal-r { transform: translateX(3rem); } .reveal-z { transform: scale(.92); }
.in { opacity: 1 !important; transform: none !important; filter: none !important; }
html:not(.js) .reveal, html:not(.js) .reveal-l, html:not(.js) .reveal-r, html:not(.js) .reveal-z { opacity: 1; transform: none; filter: none; }
.progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; transform-origin: left; transform: scaleX(var(--sp, 0)); background: linear-gradient(90deg, #6ee7d6, #b8a4ff); z-index: 60; }
/* Préférence « réduire les animations » : on garde les transitions (apparitions, changements de catégorie) mais on coupe les mouvements en boucle, la parallaxe et l'inclinaison 3D */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hero::before, .hero::after, .chip { animation: none; } .hero h1 em { animation: none; background-position: 0 0; } .hero .shot { transform: none; } }

@media (min-width: 720px) {
  .facts { grid-template-columns: repeat(3, 1fr); } .cols { grid-template-columns: repeat(3, 1fr); } .steps { grid-template-columns: repeat(3, 1fr); }
  .plans { grid-template-columns: 1fr 1.15fr; } .limits { grid-template-columns: repeat(2, 1fr); } .units { grid-template-columns: repeat(2, 1fr); }
  .guide-list { grid-template-columns: repeat(2, 1fr); } .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}
@media (min-width: 980px) {
  .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); } .feature.flip { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); } .feature.flip .shot { order: -1; }
  .facts { grid-template-columns: repeat(6, 1fr); } .units { grid-template-columns: repeat(3, 1fr); }
  .cat-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } .cat-head.noimg { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .nav { display: none; } .menu-btn { display: block; }
  .site-head.open { background: rgba(7, 21, 29, .97); }
  .site-head.open .nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: absolute; top: 100%; left: 0; right: 0; background: rgba(7, 21, 29, .97); padding: .5rem 1.25rem 1.2rem; animation: faqIn .3s var(--ease); }
  .site-head.open .nav a:not(.btn) { padding: .85rem 0; border-bottom: 1px solid rgba(255, 255, 255, .12); } .site-head.open .nav .btn { margin-top: 1rem; }
  .chip { display: none; } .hero { padding-top: 7rem; }
  .cat-bar { top: 3.5rem; }
  .mobile-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom)); background: rgba(7, 21, 29, .95); backdrop-filter: blur(10px); border-top: 1px solid rgba(255, 255, 255, .12); }
  .mobile-cta .btn { width: 100%; padding: .95rem; } body { padding-bottom: 4.6rem; }
}
@media (max-width: 700px) { h2 br { display: none; } .hero h1 em { white-space: normal; } }
@media print { .site-head, .site-foot, .mobile-cta, .btn-row, .cat-bar, .progress { display: none; } body { background: #fff; } .reveal, .reveal-l, .reveal-r, .reveal-z { opacity: 1; transform: none; filter: none; } }

/* Transitions avancées : sortie en fondu, image balayée, titres mot à mot, cartes en 3D, diagonales entre sections, parallaxe */
html.js .cat-panel.leaving { animation: panelOut .34s var(--ease) both; }
@keyframes panelOut { to { opacity: 0; transform: translateX(calc(var(--dir, 2.5rem) * -1)) scale(.97); filter: blur(8px); } }
html.js .cat-panel.active .cat-head .shot { animation: wipe 1.05s var(--ease) .1s backwards; }
@keyframes wipe { from { clip-path: inset(0 100% 0 0 round 1rem); } to { clip-path: inset(0 0 0 0 round 1rem); } }
html.js .cat-panel.active .cat-head .shot img { animation: zoomOut 1.5s var(--ease) .1s backwards; }
@keyframes zoomOut { from { transform: scale(1.3); } to { transform: scale(1); } }
html.js .cat-panel.active .cat-num { animation: numIn .9s var(--ease) .05s backwards; }
@keyframes numIn { from { opacity: 0; transform: translateY(1.6rem) scale(.8); filter: blur(10px); } }
.cat-head h2 .w { display: inline-block; }
html.js .cat-panel.active .cat-head h2 .w { animation: wordIn .75s var(--ease) backwards; animation-delay: calc(var(--w, 0) * 70ms + 220ms); }
@keyframes wordIn { from { opacity: 0; transform: translateY(.9em) rotate(4deg); filter: blur(6px); } }
html.js .cat-panel.active .cat-head .lead { animation: faqIn .8s var(--ease) .6s backwards; }
html.js .cat-panel.active .fcard { animation: cardIn .7s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 60ms + 160ms); }
@keyframes cardIn { from { opacity: 0; transform: perspective(700px) rotateX(-30deg) translateY(2.2rem) scale(.94); } }
.fcard { transform-style: preserve-3d; will-change: transform; }
.fcard:hover { transform: perspective(700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px); transition: transform .12s linear, box-shadow .35s, border-color .35s; }
.cat-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.6rem; }
.cat-go { font: 600 1rem var(--display); color: var(--violet-d); background: var(--paper); border: 1px solid var(--line); border-radius: 3rem; padding: .9rem 1.5rem; cursor: pointer; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.cat-go:hover { transform: translateY(-3px); border-color: var(--violet); box-shadow: 0 16px 34px -20px rgba(124, 92, 240, .8); }
.cat-go span { display: inline-block; transition: transform .3s var(--ease); } .cat-go:hover span { transform: translateX(-5px); } .cat-go.next:hover span { transform: translateX(5px); }
html:not(.js) .cat-nav { display: none; }
/* captures : parallaxe douce et balayage à l'apparition */
.feature .shot img { transform: translateY(var(--py, 0px)) scale(1.1); transition: transform .25s ease-out; }
.feature .shot:hover img { transform: translateY(var(--py, 0px)) scale(1.16); }
.shot.reveal-l, .shot.reveal-r { clip-path: inset(0 100% 0 0 round 1rem); transition: clip-path 1.25s var(--ease), opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }
.shot.reveal-r { clip-path: inset(0 0 0 100% round 1rem); }
.shot.reveal-l.in, .shot.reveal-r.in { clip-path: inset(0 0 0 0 round 1rem) !important; }
html:not(.js) .shot.reveal-l, html:not(.js) .shot.reveal-r { clip-path: none; }
/* séparations en diagonale entre les grandes sections de l'accueil */
.hero { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 3.5vw), 0 100%); padding-bottom: calc(clamp(3rem, 6vw, 5rem) + 3.5vw); }
.dark, .pricing, .final { clip-path: polygon(0 3vw, 100% 0, 100% 100%, 0 100%); margin-top: -3vw; padding-top: calc(clamp(4rem, 8vw, 6.5rem) + 3vw); }
@media (prefers-reduced-motion: reduce) { .feature .shot img { transform: scale(1.04); transition: transform .4s; } .feature .shot:hover img { transform: scale(1.08); } .fcard:hover { transform: translateY(-5px); } }
@media print { .hero, .dark, .pricing, .final { clip-path: none; margin-top: 0; } }