/* Oneul — site oneul.fr. Design system aligné sur l'app (docs/design.md) : hanji, Pretendard, grandes cartes arrondies, une couleur par type de carte. */
:root {
  --bg: #F5F3EE; --surface: #FFFFFF; --ink: #15151C; --muted: #5E5D6A; --soft: #9B99A7; --line: rgba(21,21,28,.09);
  --blue: #3F4DF0; --blue-t: #E9EBFF; --violet: #7446F5; --violet-t: #F0EAFF; --amber: #F2AE1C; --amber-d: #A86F00; --amber-t: #FFF3D6;
  --teal: #0E8F86; --teal-t: #DDF3F0; --rose: #DB3F76; --rose-t: #FCE6EF; --jade: #12A870; --jade-t: #E0F5EB; --streak: #FF7A2F; --red: #E9483A;
  --grad: linear-gradient(140deg, #5866FF 0%, #3F4DF0 52%, #7446F5 100%);
  --r-xl: 32px; --r-lg: 24px; --r-md: 18px; --r-sm: 12px;
  --shadow: 0 18px 50px -18px rgba(35,35,90,.28), 0 4px 12px rgba(35,35,90,.06);
  --shadow-sm: 0 6px 18px -8px rgba(35,35,90,.25);
  --max: 1180px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0D0E13; --surface: #17191F; --ink: #F2F1ED; --muted: #AAA9B6; --soft: #73727E; --line: rgba(255,255,255,.09);
    --blue: #6E7BFF; --blue-t: #191D3C; --violet: #A07BFF; --violet-t: #22193D; --amber: #FFC23D; --amber-d: #FFC23D; --amber-t: #2E240C;
    --teal: #3CC7BB; --teal-t: #0E2826; --rose: #FF6B9C; --rose-t: #331423; --jade: #2FD08F; --jade-t: #0E281D;
    --shadow: 0 18px 50px -18px rgba(0,0,0,.6), 0 4px 12px rgba(0,0,0,.3);
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", system-ui, sans-serif;
  font-size: 17px; line-height: 1.55; word-break: keep-all; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
[lang="ko"] { word-break: keep-all; }
.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* ---------- NAV ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background .3s, box-shadow .3s; }
.nav.scrolled { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 22px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 850; font-size: 20px; letter-spacing: -.01em; text-decoration: none; }
.logo img { width: 34px; height: 34px; border-radius: 10px; box-shadow: var(--shadow-sm); }
.nav ul { list-style: none; display: flex; gap: 22px; margin: 0 0 0 auto; padding: 0; }
.nav ul a { text-decoration: none; font-weight: 600; font-size: 15.5px; color: var(--muted); transition: color .2s; }
.nav ul a:hover, .nav ul a[aria-current] { color: var(--ink); }
.nav .cta { margin-left: 4px; }
.burger { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; border-radius: 12px; color: var(--ink); cursor: pointer; }
@media (max-width: 860px) {
  .nav ul { position: fixed; inset: 68px 12px auto; flex-direction: column; gap: 4px; background: var(--surface); border-radius: var(--r-lg); padding: 12px; box-shadow: var(--shadow); transform: translateY(-10px); opacity: 0; pointer-events: none; transition: .25s; }
  .nav.open ul { transform: none; opacity: 1; pointer-events: auto; }
  .nav ul a { display: block; padding: 12px 14px; font-size: 17px; color: var(--ink); }
  .nav .cta { display: none; }
  .burger { display: grid; place-items: center; }
}

/* ---------- BOUTONS ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; padding: 13px 22px; font-weight: 750; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px var(--blue); }
.btn-ghost { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-sm { padding: 9px 16px; font-size: 14.5px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 12px; background: #15151C; color: #fff; border-radius: 16px; padding: 10px 20px 10px 16px; text-decoration: none; min-width: 200px; transition: transform .2s, box-shadow .2s; box-shadow: 0 12px 28px -14px rgba(0,0,0,.6); }
.store:hover { transform: translateY(-3px); box-shadow: 0 18px 32px -14px rgba(0,0,0,.6); }
.store svg { width: 28px; height: 28px; flex: none; }
.store small { display: block; font-size: 11.5px; opacity: .8; line-height: 1.1; }
.store b { display: block; font-size: 18px; line-height: 1.15; font-weight: 700; }
@media (prefers-color-scheme: dark) { .store { background: #fff; color: #15151C; } .store svg path.mono { fill: #15151C; } }

/* ---------- SECTIONS ---------- */
section { position: relative; }
.sec { padding: 96px 0; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
h1, h2, h3 { letter-spacing: -.02em; line-height: 1.08; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 850; }
h3 { font-size: 24px; font-weight: 800; }
.lead { font-size: clamp(18px, 1.9vw, 21px); color: var(--muted); max-width: 640px; margin: 18px 0 0; }
.center { text-align: center; } .center .lead { margin-inline: auto; }
.grad-text { background: linear-gradient(100deg, var(--blue), var(--violet) 60%, var(--rose)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- HERO ---------- */
.hero { padding: 40px 0 70px; }
.hero .wrap { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(44px, 7vw, 82px); font-weight: 900; margin-top: 16px; }
.hero h1 .ko { display: block; font-size: .42em; font-weight: 800; color: var(--amber-d); letter-spacing: .02em; margin-bottom: 10px; }
.hero .lead { margin-top: 22px; }
.hero .stores { margin-top: 32px; }
.hero .meta { margin-top: 18px; font-size: 14.5px; color: var(--soft); display: flex; flex-wrap: wrap; gap: 6px 16px; }
.hero .meta span::before { content: "✓"; color: var(--jade); font-weight: 900; margin-right: 6px; }
.stage { position: relative; aspect-ratio: 1 / 1.02; }
.sunrise { position: absolute; inset: 0 17% 11% 0; border-radius: 44px; background: var(--grad); overflow: hidden; box-shadow: var(--shadow); }
.sunrise::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 35% 62%, rgba(255,190,60,.45), transparent 46%); }
.sunrise svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.sun { transform-origin: 50% 50%; animation: rise 2.4s cubic-bezier(.2,.8,.2,1) both .2s; }
.sun-glow { animation: glow 4s ease-in-out infinite 2.6s; transform-origin: 362px 434px; }
.rays { transform-origin: 362px 434px; animation: spin 60s linear infinite; }
@keyframes rise { from { transform: translateY(240px); } to { transform: none; } }
@keyframes glow { 50% { transform: scale(1.08); opacity: .85; } }
@keyframes spin { to { transform: rotate(360deg); } }
.glyph { animation: fadeUp 1s ease both 1.1s; }
.phone { position: absolute; right: 0; bottom: 0; width: 38%; aspect-ratio: 590 / 1280; border-radius: 38px; padding: 9px; background: #111218; box-shadow: 0 30px 60px -20px rgba(20,20,60,.55), inset 0 0 0 2px #2b2d36; animation: floatY 7s ease-in-out infinite; }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 30px; }
.phone::before { content: ""; position: absolute; top: 15px; left: 50%; width: 30%; height: 20px; transform: translateX(-50%); background: #111218; border-radius: 20px; z-index: 2; }
.chip-float { position: absolute; display: flex; align-items: center; gap: 10px; background: var(--surface); border-radius: 18px; padding: 10px 14px; box-shadow: var(--shadow); font-size: 14px; animation: floatY 6s ease-in-out infinite; }
.chip-float b { font-size: 18px; }
.chip-float .ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.chip-a { left: -5%; top: 73%; animation-delay: -2s; }
.chip-b { left: 30%; top: -3%; animation-delay: -4s; }
.chip-c { left: 4%; bottom: -2%; animation-delay: -1s; }
@keyframes floatY { 50% { transform: translateY(-12px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.jamo { position: absolute; font-weight: 800; color: var(--violet); opacity: .16; pointer-events: none; animation: drift 14s ease-in-out infinite; }
@keyframes drift { 50% { transform: translate(10px, -22px) rotate(8deg); } }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .stage { max-width: 520px; width: 100%; margin-inline: auto; }
}

/* ---------- BANDEAU ---------- */
.ribbon { padding: 18px 0; overflow: hidden; border-block: 1px solid var(--line); background: var(--surface); }
.ribbon .track { display: flex; gap: 46px; width: max-content; animation: marquee 38s linear infinite; font-weight: 700; color: var(--muted); }
.ribbon .track span { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; }
.ribbon .track i { font-style: normal; font-size: 22px; color: var(--violet); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- FONCTIONS (grandes cartes du Feed) ---------- */
.feats { display: grid; gap: 26px; margin-top: 54px; }
.feat { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 30px; border-radius: var(--r-xl); padding: 46px 52px 0; background: var(--t); overflow: hidden; position: relative; }
.feat:nth-child(even) { grid-template-columns: .95fr 1.05fr; }
.feat:nth-child(even) .txt { order: 2; }
.feat .txt { padding-bottom: 46px; }
.feat .tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; color: var(--c); background: var(--surface); border-radius: 999px; padding: 6px 13px; }
.feat h3 { font-size: clamp(28px, 3.4vw, 40px); margin-top: 16px; font-weight: 850; }
.feat p { color: var(--muted); font-size: 18px; margin: 14px 0 0; max-width: 470px; }
.feat ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.feat li { display: flex; gap: 10px; font-weight: 600; }
.feat li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--c) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.feat .shot { align-self: end; display: flex; justify-content: center; gap: 18px; position: relative; }
.mini-phone { width: min(290px, 70%); aspect-ratio: 590 / 1280; border-radius: 36px 36px 0 0; padding: 9px 9px 0; background: #111218; box-shadow: 0 -10px 40px -10px rgba(20,20,60,.35); transform: translateY(18px); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.mini-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 28px 28px 0 0; }
.feat:hover .mini-phone { transform: translateY(6px); }
.mini-phone.second { width: min(240px, 46%); margin-top: 60px; }
.feat .blob { position: absolute; width: 380px; height: 380px; border-radius: 50%; right: -120px; top: -140px; background: radial-gradient(circle, color-mix(in srgb, var(--c) 30%, transparent), transparent 70%); pointer-events: none; }
@media (max-width: 860px) {
  .feat, .feat:nth-child(even) { grid-template-columns: 1fr; padding: 34px 24px 0; gap: 10px; }
  .feat:nth-child(even) .txt { order: 0; }
  .feat .txt { padding-bottom: 10px; }
  .mini-phone.second { display: none; }
  .mini-phone { width: min(270px, 78%); }
}

/* ---------- PETITES CARTES ---------- */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.card { background: var(--surface); border-radius: var(--r-lg); padding: 30px 28px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .num { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; font-weight: 900; font-size: 20px; color: #fff; background: var(--c, var(--blue)); }
.card h3 { margin-top: 18px; font-size: 22px; }
.card p { color: var(--muted); margin: 10px 0 0; font-size: 16.5px; }
@media (max-width: 860px) { .cards3 { grid-template-columns: 1fr; } }

/* ---------- LIVRES ---------- */
.books { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 50px; }
.book { display: grid; grid-template-columns: 170px 1fr; gap: 26px; align-items: center; background: var(--surface); border-radius: var(--r-xl); padding: 28px; box-shadow: var(--shadow-sm); transition: transform .35s, box-shadow .35s; text-decoration: none; }
.book:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.cover { border-radius: 6px 14px 14px 6px; box-shadow: -6px 0 0 -2px rgba(0,0,0,.18) inset, 0 20px 36px -14px rgba(20,20,60,.5); transform: perspective(900px) rotateY(-12deg); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.book:hover .cover { transform: perspective(900px) rotateY(0deg) scale(1.03); }
.book .badge { display: inline-block; font-size: 12px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; background: var(--amber-t); color: var(--amber-d); }
.book h3 { margin-top: 12px; font-size: 23px; }
.book p { color: var(--muted); font-size: 16px; margin: 8px 0 14px; }
.book .more { font-weight: 750; color: var(--blue); }
@media (max-width: 900px) { .books { grid-template-columns: 1fr; } .book { grid-template-columns: 120px 1fr; padding: 22px; gap: 20px; } }

/* ---------- HANOK / BANDEAU HANGEUL ---------- */
.hanbox { margin-top: 30px; border-radius: var(--r-xl); background: var(--amber-t); padding: 52px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; overflow: hidden; position: relative; }
.hanbox h2 { font-size: clamp(30px, 4vw, 44px); }
.hanbox .letters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.hanbox .letters span { aspect-ratio: 1; display: grid; place-items: center; border-radius: 20px; background: var(--surface); font-size: clamp(30px, 4vw, 46px); font-weight: 800; box-shadow: var(--shadow-sm); animation: pop 4s ease-in-out infinite; }
.hanbox .letters span:nth-child(odd) { animation-delay: -2s; }
.hanbox .letters span:nth-child(3n) { color: var(--violet); }
.hanbox .letters span:nth-child(4n+1) { color: var(--blue); }
.hanbox .letters span:nth-child(5n) { color: var(--rose); }
@keyframes pop { 50% { transform: translateY(-6px); } }
@media (max-width: 860px) { .hanbox { grid-template-columns: 1fr; padding: 34px 24px; } }

/* ---------- GRATUIT / PREMIUM ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 46px; }
.plan { border-radius: var(--r-xl); padding: 36px; background: var(--surface); box-shadow: var(--shadow-sm); }
.plan.pro { background: var(--rose-t); }
.plan h3 { font-size: 26px; }
.plan .sub { color: var(--muted); margin-top: 6px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.plan li { display: flex; gap: 12px; }
.plan li::before { content: "✓"; color: var(--jade); font-weight: 900; }
.plan.pro li::before { color: var(--rose); }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 46px auto 0; display: grid; gap: 12px; }
.faq details { background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow-sm); padding: 0 24px; transition: background .2s; }
.faq summary { list-style: none; cursor: pointer; padding: 21px 0; font-weight: 750; font-size: 18px; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; line-height: 1; color: var(--blue); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--muted); }

/* ---------- CTA FINAL ---------- */
.final { border-radius: 40px; background: var(--grad); color: #fff; padding: 64px 56px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; overflow: hidden; position: relative; }
.final::before { content: ""; position: absolute; width: 520px; height: 520px; left: -160px; bottom: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(255,194,61,.55), transparent 65%); }
.final h2 { color: #fff; position: relative; }
.final p { opacity: .9; font-size: 19px; margin: 16px 0 28px; position: relative; }
.final .stores { position: relative; }
.final .store { background: #fff; color: #15151C; }
.final .store svg path.mono { fill: #15151C; }
.qrcard { justify-self: end; background: #fff; color: #15151C; border-radius: 26px; padding: 22px; text-align: center; width: 230px; position: relative; box-shadow: 0 20px 40px -18px rgba(0,0,0,.5); }
.qrcard img { width: 100%; }
.qrcard p { font-size: 14px; margin: 12px 0 0; opacity: 1; color: #5E5D6A; }
@media (max-width: 860px) { .final { grid-template-columns: 1fr; padding: 44px 26px; border-radius: 30px; } .qrcard { display: none; } }

/* ---------- FOOTER ---------- */
footer { margin-top: 90px; padding: 0 0 40px; color: var(--muted); font-size: 15px; }
footer .skyline { width: 100%; height: 80px; color: var(--line); }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; padding-top: 28px; border-top: 1px solid var(--line); }
footer h4 { margin: 0 0 12px; color: var(--ink); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
footer a { text-decoration: none; } footer a:hover { color: var(--ink); }
footer .copy { margin-top: 32px; font-size: 13.5px; color: var(--soft); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 760px) { footer .cols { grid-template-columns: 1fr 1fr; } footer .cols > div:first-child { grid-column: 1 / -1; } }

/* ---------- PAGES INTÉRIEURES ---------- */
.page-hero { padding: 40px 0 30px; }
.page-hero h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 900; margin-top: 14px; }
.crumbs { font-size: 14px; color: var(--soft); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; color: var(--muted); } .crumbs a:hover { color: var(--ink); }
.pill { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 8px 15px; font-weight: 750; font-size: 14.5px; background: var(--jade-t); color: var(--jade); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pill.b { background: var(--blue-t); color: var(--blue); } .pill.a { background: var(--amber-t); color: var(--amber-d); } .pill.v { background: var(--violet-t); color: var(--violet); }
.days { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; margin-top: 30px; }
.day { display: flex; gap: 16px; align-items: center; background: var(--surface); border-radius: var(--r-lg); padding: 18px 20px; text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.day:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.day .n { width: 52px; height: 52px; flex: none; border-radius: 16px; display: grid; place-items: center; font-weight: 900; font-size: 20px; color: #fff; background: var(--c, var(--blue)); }
.day b { display: block; font-size: 16.5px; line-height: 1.25; }
.day small { color: var(--muted); font-size: 14px; }
.day .soon { display: block; margin-top: 3px; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
.day small { display: block; }
.panel { background: var(--surface); border-radius: var(--r-xl); padding: 34px; box-shadow: var(--shadow-sm); margin-top: 26px; }
.panel h2 { font-size: clamp(26px, 3.2vw, 34px); }
.panel .muted { color: var(--muted); }
.empty { border: 2px dashed var(--line); border-radius: var(--r-lg); padding: 30px; text-align: center; color: var(--muted); margin-top: 18px; }
.empty b { display: block; color: var(--ink); font-size: 19px; margin-bottom: 6px; }
.split { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; }
@media (max-width: 600px) { .panel { padding: 24px 20px; border-radius: var(--r-lg); } .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split .cover { max-width: 220px; } }
.prose { max-width: 760px; }
.prose h2 { font-size: 26px; margin: 34px 0 10px; }
.prose p, .prose li { color: var(--muted); }
.todo { background: var(--amber-t); color: var(--amber-d); font-weight: 750; border-radius: 6px; padding: 1px 6px; }

/* ---------- AUDIO / CORRIGÉS (pages jour) ---------- */
.audio-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; }
.seg { display: inline-flex; background: var(--bg); border-radius: 999px; padding: 4px; }
.seg button { border: 0; background: none; color: var(--muted); font: inherit; font-weight: 700; font-size: 14.5px; padding: 8px 15px; border-radius: 999px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px; margin-top: 20px; }
.tile { display: flex; flex-direction: column; align-items: center; gap: 4px; border: 0; cursor: pointer; background: var(--violet-t); border-radius: var(--r-md); padding: 18px 10px 14px; font: inherit; color: var(--ink); transition: transform .15s, background .2s; position: relative; }
.tile:hover { transform: translateY(-2px); }
.tile:active { transform: scale(.97); }
.tile .ko { font-size: 34px; font-weight: 800; line-height: 1.1; }
.tile .fr { font-size: 13.5px; color: var(--muted); }
.tile .spk { position: absolute; top: 9px; right: 10px; width: 18px; height: 18px; color: var(--violet); }
.tile.playing { background: var(--violet); color: #fff; } .tile.playing .fr, .tile.playing .spk { color: #fff; }
.tile.w { background: var(--blue-t); } .tile.w .spk { color: var(--blue); } .tile.w.playing { background: var(--blue); }
.voice-warn { display: none; margin-top: 16px; background: var(--amber-t); color: var(--ink); border-radius: var(--r-md); padding: 14px 18px; font-size: 15px; }
.voice-warn.show { display: block; }
.ex { border-top: 1px solid var(--line); padding: 20px 0; }
.ex:first-of-type { border-top: 0; }
.ex-h { display: flex; align-items: center; gap: 12px; }
.ex-h .L { width: 36px; height: 36px; flex: none; border-radius: 11px; display: grid; place-items: center; color: #fff; background: var(--blue); font-weight: 900; }
.ex-h b { font-size: 18px; }
.ex .listen { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ex .listen button { border: 0; cursor: pointer; font: inherit; font-weight: 700; background: var(--teal-t); color: var(--teal); border-radius: 999px; padding: 8px 14px; display: inline-flex; gap: 6px; align-items: center; }
.ex .listen button svg { width: 16px; height: 16px; }
.ex details { margin-top: 12px; }
.ex summary { cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-weight: 750; color: var(--blue); list-style: none; padding: 6px 0; }
.ex summary::-webkit-details-marker { display: none; }
.ex summary::before { content: "▸"; transition: transform .2s; }
.ex details[open] summary::before { transform: rotate(90deg); }
.ex .ans { margin-top: 8px; background: var(--jade-t); border-radius: var(--r-sm); padding: 14px 16px; font-size: 17px; }
.ex .noans { color: var(--muted); font-size: 15.5px; margin-top: 8px; }
.daynav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.app-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-radius: var(--r-xl); padding: 28px 32px; background: var(--grad); color: #fff; margin-top: 26px; }
.app-cta h3 { color: #fff; font-size: 24px; }
.app-cta p { margin: 6px 0 0; opacity: .9; }
.app-cta .btn { background: #fff; color: var(--blue); }

/* ---------- APPARITION AU DÉFILEMENT ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }
.shot .reveal { opacity: 1; transform: none; transition: none; }
.shot *, .shot *::before, .shot *::after { animation: none !important; }

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

/* ---------- COUVERTURE DU CAHIER (CSS) ---------- */
.bookcover { container-type: inline-size; aspect-ratio: 8.5 / 11; width: 100%; background: linear-gradient(150deg, #5866FF 0%, #3F4DF0 50%, #7446F5 100%); color: #fff; overflow: hidden; position: relative; }
.bookcover::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 32% 62%, rgba(255,190,60,.4), transparent 45%); pointer-events: none; }
.bc-in { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; padding: 9cqw 8cqw 7cqw; }
.bc-top { font-size: 4.2cqw; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .9; }
.bookcover b { margin-top: 6cqw; font-size: 12cqw; line-height: 1; font-weight: 900; letter-spacing: -.02em; }
.bookcover b em { display: block; font-style: normal; color: #FFC23D; font-size: .82em; margin-top: 1.5cqw; }
.bc-cells { position: relative; margin: auto 0 0; display: flex; justify-content: center; }
.bc-cells i { font-style: normal; width: 31cqw; aspect-ratio: 1; display: grid; place-items: center; border: .8cqw solid rgba(255,255,255,.85); font-size: 22cqw; font-weight: 800; line-height: 1; position: relative; z-index: 1; background: rgba(255,255,255,.07); }
.bc-cells i + i { margin-left: -.8cqw; }
.bc-cells i.t { color: transparent; -webkit-text-stroke: .7cqw #fff; }
.bc-sun { position: absolute; width: 22cqw; height: 22cqw; border-radius: 50%; left: 14cqw; top: -9cqw; background: radial-gradient(circle at 38% 35%, #FFD65E, #FFAE1F); box-shadow: 0 0 12cqw 4cqw rgba(255,200,70,.45); }
.bc-badge { margin-top: 6cqw; align-self: center; background: #FFC23D; color: #15151C; font-weight: 850; font-size: 4.3cqw; border-radius: 99px; padding: 1.6cqw 4cqw; white-space: nowrap; }
.bc-brand { margin-top: 4cqw; text-align: center; font-size: 4.4cqw; font-weight: 750; opacity: .92; }

/* ---------- HUB : Jour 1 / Jour 2 ---------- */
.dayhead { display: flex; align-items: center; gap: 14px; margin: 34px 0 0; color: var(--muted); font-weight: 650; }
.dayhead .dnum { flex: none; white-space: nowrap; background: var(--ink); color: var(--bg); border-radius: 999px; padding: 6px 14px; font-weight: 850; font-size: 15px; }
.day .lbl { display: block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--c, var(--blue)); }

/* ---------- BOUTIQUE ---------- */
.shop { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.product { background: var(--surface); border-radius: var(--r-xl); padding: 30px; box-shadow: var(--shadow-sm); display: grid; grid-template-columns: 180px 1fr; gap: 26px; align-items: start; }
.product .cover { transform: none; }
.product h2 { font-size: 26px; margin-top: 12px; }
.product .muted { color: var(--muted); margin: 10px 0 0; }
.badge-s { display: inline-block; font-size: 12px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; background: var(--jade-t); color: var(--jade); }
.badge-s.v { background: var(--violet-t); color: var(--violet); }
.checks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; font-size: 15.5px; }
.checks li { display: flex; gap: 9px; } .checks li::before { content: "✓"; color: var(--jade); font-weight: 900; }
.buy { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.price { font-size: 30px; font-weight: 900; letter-spacing: -.02em; }
.muted-price { color: var(--soft); font-size: 22px; }
.secure { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font-size: 14.5px; color: var(--muted); }
.thanks-ic { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 26px; display: grid; place-items: center; background: var(--jade); color: #fff; box-shadow: 0 16px 34px -14px var(--jade); }
@media (max-width: 960px) { .shop { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .product { grid-template-columns: 1fr; padding: 24px 20px; } .product .cover { max-width: 200px; } }

.btn.is-off { opacity: .55; cursor: default; pointer-events: none; transform: none; box-shadow: none; }

/* séances : groupes de cartes, mots longs, lectures, numéro de page */
.tiles-h { font-size: 17px; margin: 26px 0 -6px; color: var(--muted); font-weight: 800; }
.tile.long .ko { font-size: 22px; }
.ex-h .pg { margin-left: auto; color: var(--soft); font-weight: 700; font-size: 13.5px; white-space: nowrap; }
.reads { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.reads button { border: 0; cursor: pointer; font: inherit; background: var(--violet-t); color: var(--ink); border-radius: 14px; padding: 9px 14px; display: inline-flex; align-items: center; gap: 8px; text-align: left; }
.reads button svg { width: 16px; height: 16px; color: var(--violet); flex: none; }
.reads button span { font-weight: 750; font-size: 17px; }
.reads button small { color: var(--muted); font-size: 13.5px; }

/* ---------- ALPHABET ---------- */
.alpha-tools { margin-top: 26px; }
.jfam { margin-top: 34px; }
.jfam-h { display: flex; align-items: center; gap: 12px; }
.jfam-h h2 { font-size: clamp(24px, 3vw, 30px); }
.jcount { min-width: 34px; height: 34px; padding: 0 10px; border-radius: 999px; display: grid; place-items: center; background: var(--c); color: #fff; font-weight: 850; font-size: 15px; }
.jnote { color: var(--muted); margin: 8px 0 0; font-size: 16px; }
.jgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 16px; }
.jcard { position: relative; background: var(--surface); border-radius: 22px; box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.jcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.jmain { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%; padding: 18px 12px 14px; gap: 2px; }
.jmain:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; border-radius: 22px; }
.jl { font-size: 52px; font-weight: 800; line-height: 1.05; color: var(--c); transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.jsay { font-size: 15px; font-weight: 750; color: var(--ink); background: var(--t); border-radius: 999px; padding: 2px 12px; margin-top: 4px; }
.jsound { font-size: 13.5px; color: var(--muted); line-height: 1.3; margin-top: 6px; }
.jex { font-size: 13px; color: var(--soft); margin-top: 4px; }
.jex b { color: var(--ink); font-weight: 700; }
.jname { all: unset; box-sizing: border-box; cursor: pointer; display: block; width: 100%; text-align: center; padding: 8px 6px 10px; border-top: 1px dashed var(--line); font-size: 13.5px; font-weight: 700; color: var(--c); }
.jname:hover { background: var(--t); }
.jname:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
.jname span::after { content: " · nom"; color: var(--soft); font-weight: 600; }
.jcard.playing { box-shadow: 0 0 0 3px var(--c), var(--shadow); transform: translateY(-3px) scale(1.02); }
.jcard.playing .jl { transform: scale(1.15); }
.jcard:active { transform: scale(.97); }
@media (max-width: 600px) { .jgrid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .jl { font-size: 46px; } }
.alpha-banner { display: flex; align-items: center; gap: 18px; text-decoration: none; background: var(--grad); color: #fff; border-radius: var(--r-xl); padding: 20px 26px; box-shadow: var(--shadow); transition: transform .25s; }
.alpha-banner:hover { transform: translateY(-3px); }
.alpha-banner b { display: block; font-size: 20px; }
.alpha-banner small { display: block; opacity: .9; font-size: 15px; margin-top: 2px; }
.ab-letters { display: flex; gap: 6px; flex: none; }
.ab-letters i { font-style: normal; width: 44px; height: 44px; border-radius: 14px; background: rgba(255,255,255,.18); display: grid; place-items: center; font-weight: 800; font-size: 22px; }
.ab-go { margin-left: auto; font-size: 26px; font-weight: 800; }
@media (max-width: 600px) { .ab-letters i:nth-child(n+2) { display: none; } .alpha-banner { padding: 18px 20px; gap: 14px; } }


/* Lead Dev 11/11 (CEO) : téléphones secondaires non rognés + soleil d'arrivée qui tombe et rebondit sur 오늘 */
.shot { align-items: flex-end; }
.mini-phone.second { margin-top: 0; }
.sun { transform-origin: 362px 434px; animation: sun-drop 1.9s both .15s; }
@keyframes sun-drop {
  0%   { transform: translateY(-640px) scale(2.6); animation-timing-function: cubic-bezier(.55,0,1,.45); }
  42%  { transform: translateY(0) scale(1.35, 1.05); animation-timing-function: cubic-bezier(0,.55,.45,1); }
  58%  { transform: translateY(-110px) scale(1.12); animation-timing-function: cubic-bezier(.55,0,1,.45); }
  72%  { transform: translateY(0) scale(1.14, .94); animation-timing-function: cubic-bezier(0,.55,.45,1); }
  83%  { transform: translateY(-34px) scale(1.03); animation-timing-function: cubic-bezier(.55,0,1,.45); }
  92%  { transform: translateY(0) scale(1.04, .97); }
  100% { transform: none; }
}
