:root {
  /* The Creative Forges : noir profond + vert du logo */
  --bg: #070b09;
  --bg-2: #0d1511;
  --bg-3: #131d18;
  --line: rgba(255, 255, 255, .09);
  --text: #f2f5f3;
  --muted: rgba(242, 245, 243, .66);
  --accent: #34d873;
  --accent-hover: #5ee693;
  --accent-ink: #04140a;
  --glow: rgba(52, 216, 115, .28);
  --radius: 16px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* Page du livre : on reprend l'orange de la couverture */
.theme-livre {
  --accent: #f39a1e;
  --accent-hover: #ffb042;
  --accent-ink: #1a0f00;
  --glow: rgba(243, 154, 30, .26);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
html, body { overflow-x: clip; }
.hero__inner > *, .split > *, .author > *, .authors > *, .feature > * { min-width: 0; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; }
.muted { color: var(--muted); }
.narrow { max-width: 22em; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .9em 1.5em; border-radius: 999px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font: 600 1rem var(--sans); transition: transform .15s, background .15s, border-color .15s; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: .6em 1.15em; font-size: .9rem; }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost { border-color: rgba(255,255,255,.28); color: var(--text); }
.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }

/* En-tête */
.header { position: sticky; top: 0; z-index: 50; background: rgba(7,11,9,.82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; gap: 28px; height: 70px; }
.logo { position: relative; flex-shrink: 0; }
.logo::before { content: ""; position: absolute; inset: -14px -24px; background: radial-gradient(closest-side, rgba(52,216,115,.35), transparent); z-index: -1; }
.logo img { height: 40px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-size: .95rem; color: var(--muted); transition: color .15s; }
.nav a:hover { color: var(--text); }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; transition: transform .2s; }

/* Hero */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(55% 65% at 78% 45%, var(--glow), transparent 70%),
  radial-gradient(40% 50% at 5% 0%, rgba(255,255,255,.05), transparent 70%),
  var(--bg); }
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding: 84px 0 92px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); padding: 6px 14px; border-radius: 999px; margin-bottom: 20px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--glow); } 70% { box-shadow: 0 0 0 10px transparent; } }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); }
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__note { font-size: .85rem; color: var(--muted); margin-top: 14px; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--text); }
.hero__book { justify-self: center; perspective: 1200px; }
.hero__book img { width: min(360px, 100%); border-radius: 6px 14px 14px 6px; box-shadow: 0 40px 80px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08); transform: rotateY(-12deg) rotateX(3deg); transition: transform .5s; }
.hero__book img:hover { transform: none; }

/* Carte « À la une » */
.feature { display: grid; grid-template-columns: 170px 1fr; gap: 22px; align-items: center; background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid var(--line); border-radius: 22px; padding: 22px; position: relative; backdrop-filter: blur(6px); }
.feature__tag { position: absolute; top: -12px; left: 22px; background: var(--accent); color: var(--accent-ink); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 4px 12px; border-radius: 999px; }
.feature__cover img { border-radius: 4px 10px 10px 4px; box-shadow: 0 20px 40px -12px rgba(0,0,0,.7); }
.feature__author { color: var(--accent); font-weight: 600; font-size: .9rem; margin-bottom: .4em; }
.feature__title { font-size: 1.3rem; }
.feature__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Chiffres */
.figures { background: var(--bg-2); border-block: 1px solid var(--line); }
.figures__grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 26px 0; }
.figures__grid div { text-align: center; padding: 6px; border-left: 1px solid var(--line); }
.figures__grid div:first-child { border-left: 0; }
.figures strong { display: block; font-family: var(--serif); font-size: 2.1rem; color: var(--accent); line-height: 1.15; }
.figures span { font-size: .88rem; color: var(--muted); }

/* Catalogue */
.catalog { padding: 72px 0 40px; }
.catalog__intro { color: var(--muted); margin-bottom: 36px; }
.shelf { margin-bottom: 44px; }
.shelf__head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 18px; }
.shelf__head h2 { margin: 0; font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
.shelf__nav { display: flex; gap: 8px; }
.shelf__nav[hidden] { display: none; }
.arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg-3); color: var(--text); font-size: 1rem; cursor: pointer; transition: background .15s, color .15s; }
.arrow:hover { background: var(--accent); color: var(--accent-ink); }
.rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(16px, (100% - 1200px) / 2); padding: 4px max(16px, (100% - 1200px) / 2) 16px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }

/* Tuiles */
.tile { flex: 0 0 auto; scroll-snap-align: start; text-decoration: none; color: inherit; background: none; border: 0; padding: 0; font: inherit; text-align: left; cursor: pointer; display: block; }
.tile__media { position: relative; display: grid; place-items: center; overflow: hidden; border-radius: 12px; background: var(--bg-3); border: 1px solid var(--line); margin-bottom: 10px; transition: transform .2s, border-color .2s; }
.tile:hover .tile__media { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.tile__media img { width: 100%; height: 100%; object-fit: cover; }
.tile__title { font-weight: 600; font-size: .95rem; line-height: 1.35; margin: 0 0 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile__author { font-size: .85rem; color: var(--muted); margin: 0; }
.tile__badge { position: absolute; top: 10px; left: 10px; background: var(--accent); color: var(--accent-ink); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 3px 9px; border-radius: 999px; }

.tile--poster { width: 190px; }
.tile--poster .tile__media { aspect-ratio: 2 / 3; }
.tile--video { width: 300px; }
.tile--video .tile__media { aspect-ratio: 16 / 9; }
.tile__play { position: absolute; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.55); color: #fff; font-size: 1.1rem; padding-left: 3px; backdrop-filter: blur(4px); transition: background .2s; }
.tile--video:hover .tile__play { background: var(--accent); color: var(--accent-ink); }
.tile--audio { width: 220px; }
.tile--audio .tile__media { aspect-ratio: 1; background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--accent) 45%, transparent), var(--bg-3) 70%); }
.tile__wave { display: flex; gap: 5px; align-items: center; height: 50px; }
.tile__wave i { width: 6px; border-radius: 3px; background: var(--text); opacity: .85; }
.tile__wave i:nth-child(1) { height: 40%; } .tile__wave i:nth-child(2) { height: 85%; } .tile__wave i:nth-child(3) { height: 60%; } .tile__wave i:nth-child(4) { height: 100%; } .tile__wave i:nth-child(5) { height: 45%; }
.tile__dur { position: absolute; bottom: 10px; right: 10px; font-size: .75rem; background: rgba(0,0,0,.55); padding: 2px 8px; border-radius: 999px; }
.tile--article { width: 300px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 20px; min-height: 190px; display: flex; flex-direction: column; transition: border-color .2s; }
.tile--article:hover { border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.tile__kicker { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin-bottom: 10px; }
.tile__summary { font-size: .9rem; color: var(--muted); flex: 1; }
.tile__icon { font-size: 1.8rem; opacity: .6; }

/* Annonce « Bientôt disponible » (rubrique vide) */
.teaser { flex: 0 0 auto; width: min(760px, calc(100vw - 32px)); scroll-snap-align: start; display: grid; grid-template-columns: 300px 1fr; background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.teaser__visual { position: relative; min-height: 220px; display: grid; place-items: center; background:
  radial-gradient(60% 60% at 50% 45%, rgba(52,216,115,.55), transparent 70%),
  linear-gradient(160deg, #0f2a1b, #070b09); }
.teaser__photo { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; object-position: center 15%; border: 3px solid var(--accent); box-shadow: 0 0 0 8px rgba(52,216,115,.15), 0 20px 40px -10px rgba(0,0,0,.6); }
.teaser__icon { position: absolute; top: calc(50% + 30px); left: calc(50% + 34px); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-size: 1rem; box-shadow: 0 6px 16px -4px rgba(0,0,0,.5); }
.teaser__logo { position: absolute; left: 16px; bottom: 14px; width: 92px; opacity: .9; }
.teaser__body { padding: 28px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.teaser__body .pill { margin-bottom: 12px; }
.teaser__body h3 { font-size: 1.4rem; margin-bottom: .4em; }
.teaser__body p { color: var(--muted); }
@media (max-width: 640px) {
  .teaser { grid-template-columns: 1fr; }
  .teaser__visual { min-height: 190px; }
  .teaser__body { padding: 22px; }
}

/* Sections */
.section { padding: 92px 0; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.kicker { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: .8em; }
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.prose { font-size: 1.06rem; color: var(--muted); }
.prose strong { color: var(--text); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 24px 0 0; }
.tags li { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-3); font-size: .88rem; color: var(--text); }

/* Auteurs */
.authors { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; margin-top: 36px; }
.founder { display: grid; grid-template-columns: 220px 1fr; gap: 28px; background: var(--bg-3); border: 1px solid var(--line); border-radius: 22px; padding: 22px; align-items: center; }
.founder img { border-radius: 14px; aspect-ratio: 440 / 620; object-fit: cover; }
.founder__role { color: var(--accent); font-weight: 600; font-size: .92rem; }
.founder__body p:not(.founder__role) { color: var(--muted); }
.founder__links { display: flex; flex-wrap: wrap; gap: 8px; }
.founder__links a { text-decoration: none; font-size: .88rem; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); transition: border-color .15s; }
.founder__links a:hover { border-color: var(--accent); }
.pill { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 4px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); margin-bottom: 14px; }
.pill--muted { background: rgba(255,255,255,.1); color: var(--text); }
.soon { border: 1.5px dashed rgba(255,255,255,.18); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.soon p { color: var(--muted); }

/* Avantages */
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.perks article { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.perks p { color: var(--muted); margin: 0; }
.perk__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 15%, transparent); color: var(--accent); font-size: 1.2rem; margin-bottom: 18px; }

/* Offres */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 36px; max-width: 900px; }
.plan { position: relative; background: var(--bg-3); border: 1px solid var(--line); border-radius: 22px; padding: 32px 28px; display: flex; flex-direction: column; }
.plan--featured { border-color: color-mix(in srgb, var(--accent) 55%, transparent); background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 14%, var(--bg-3)), var(--bg-3)); }
.plan__price { color: var(--muted); margin-bottom: 20px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.plan li { padding-left: 28px; position: relative; }
.plan li i { position: absolute; left: 0; top: .2em; color: var(--accent); font-size: 1.15rem; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.badge { position: absolute; top: -12px; right: 24px; background: var(--accent); color: var(--accent-ink); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 4px 12px; border-radius: 999px; }

/* Page livre : chapitres, notions, extrait, questions, autrice */
.chapter { flex: 0 0 290px; scroll-snap-align: start; background: linear-gradient(160deg, var(--bg-3), var(--bg)); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; min-height: 290px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.chapter::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(var(--glow), transparent 70%); }
.chapter__num { font-family: var(--serif); font-size: 2.5rem; color: var(--accent); line-height: 1; margin-bottom: 18px; }
.chapter p { color: var(--muted); font-size: .93rem; margin: auto 0 0; }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.pillar { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.pillar--accent { border-color: color-mix(in srgb, var(--accent) 55%, transparent); background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 14%, var(--bg-2)), var(--bg-2)); }
.pillar h3 { font-size: 1.45rem; }
.pillar--accent h3 { color: var(--accent); }
.pillar__def { color: var(--muted); }
.pillar dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0 0 20px; font-size: .95rem; }
.pillar dt { font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; padding-top: 3px; color: var(--accent); }
.pillar dd { margin: 0; }
.pillar__q { margin: auto 0 0; padding-top: 16px; border-top: 1px dashed var(--line); font-family: var(--serif); font-style: italic; }

.excerpt { max-width: 800px; }
.excerpt blockquote { margin: 0 0 32px; font-family: var(--serif); font-size: clamp(1.12rem, 2vw, 1.35rem); line-height: 1.6; color: var(--muted); border-left: 3px solid var(--accent); padding-left: 28px; }
.excerpt__more { color: var(--accent); font-weight: 700; }

.questions { list-style: none; counter-reset: q; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.questions li { counter-increment: q; display: flex; align-items: center; gap: 20px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; font-size: 1.12rem; font-weight: 500; }
.questions li::before { content: counter(q); flex: 0 0 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-family: var(--serif); font-weight: 700; font-size: 1.25rem; }

.author { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: center; }
.author__photo { width: 100%; aspect-ratio: 440 / 620; object-fit: cover; border-radius: var(--radius); box-shadow: 16px 16px 0 var(--accent); }
.author h2 { margin-bottom: .2em; }
.author__role { color: var(--accent); font-weight: 600; margin-bottom: 1.4em; }
.signature { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--text); border-left: 3px solid var(--accent); padding-left: 18px; margin: 1.5em 0 2em; }

.cta-final { text-align: center; background: radial-gradient(50% 80% at 50% 100%, var(--glow), transparent 70%); }
.cta-final .hero__ctas { justify-content: center; }

/* Contact */
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.socials a { text-decoration: none; font-size: .9rem; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); }
.socials a:hover { border-color: var(--accent); }
.form { display: grid; gap: 16px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--muted); }
.form input, .form select, .form textarea { font: 1rem var(--sans); padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.form .btn { justify-self: start; }

/* Lecteur */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.8); display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__box { position: relative; width: min(900px, 100%); background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; padding: 56px 20px 20px; }
.modal__close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--accent); color: var(--accent-ink); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.modal__video { aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; }
.modal__video iframe, .modal__video video { width: 100%; height: 100%; border: 0; display: block; }
.modal__video--vertical { aspect-ratio: 9 / 16; max-height: 72vh; width: auto; margin: 0 auto; }
.modal__embed iframe { width: 100%; height: 232px; border: 0; border-radius: 12px; display: block; }
.modal__title { font-weight: 600; margin: 14px 0 4px; }
.modal__desc { color: var(--muted); font-size: .95rem; margin: 10px 0 0; }
.modal__error { color: var(--muted); padding: 30px 0; text-align: center; }
.modal audio { width: 100%; margin-top: 14px; }
.modal__box { max-height: calc(100vh - 32px); overflow-y: auto; }
.form__status { margin: 0; font-size: .92rem; }
.form__status.is-ok { color: var(--accent); }
.form__status.is-error { color: #ff8a7a; }
.form .btn:disabled { opacity: .6; cursor: wait; }

/* Pied de page */
.footer { background: #040705; border-top: 1px solid var(--line); padding: 56px 0 28px; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer__brand img { height: 46px; width: auto; margin-bottom: 14px; }
.footer nav { display: flex; flex-direction: column; gap: 8px; }
.footer h4 { font-family: var(--sans); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 6px; }
.footer nav a { text-decoration: none; font-size: .95rem; }
.footer nav a:hover { color: var(--accent); }
.footer__credit { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; margin: 0; font-size: .85rem; color: var(--muted); }

a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Icônes (Phosphor) */
i[class*="ph-"] { line-height: 1; }
.btn i[class*="ph-"] { font-size: 1.15em; }
.arrow { display: grid; place-items: center; font-size: 1.15rem; }
.modal__close { display: grid; place-items: center; font-size: 1.1rem; }
.perk__icon { font-size: 1.5rem; }
.tile__icon { font-size: 2.4rem; color: var(--accent); opacity: .8; }
.tile__play { font-size: 1.2rem; padding-left: 2px; }
.teaser__icon { font-size: 1.1rem; }
.socials a { display: inline-flex; align-items: center; gap: 6px; }
.hero__note a { display: inline-flex; align-items: center; gap: 4px; }

/* Compte visiteur */
.account { display: inline-flex; align-items: center; gap: 8px; margin-left: 4px; padding: 7px 14px 7px 10px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--text); font: 600 .88rem var(--sans); cursor: pointer; max-width: 180px; transition: border-color .15s, background .15s; }
.account:hover { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.08); }
.account i { font-size: 1.35rem; color: var(--accent); }
.account span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account.is-in { border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.login [hidden] { display: none !important; }
.login__box { width: min(420px, 100%); padding: 40px 28px 28px; text-align: center; }
.login__logo { width: 120px; margin: 0 auto 18px; }
.login__box h2 { font-size: 1.5rem; margin-bottom: .3em; }
.login__box .muted { font-size: .92rem; }
.btn--light { background: #fff; color: #1f1f1f; width: 100%; }
.btn--light:hover { background: #f1f1f1; }
.login__box { max-height: calc(100vh - 32px); overflow-y: auto; }
.login__box .modal__close { background: rgba(255,255,255,.06); border: 1px solid var(--line); color: var(--text); }
.login__box .modal__close:hover { background: rgba(255,255,255,.14); }
.login__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 18px 0; border-radius: 999px; background: rgba(255,255,255,.06); }
.login__tabs button { padding: 9px 8px; border: 0; border-radius: 999px; background: none; color: var(--muted); font: 600 .9rem var(--sans); cursor: pointer; }
.login__tabs button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.login__google-slot { display: flex; justify-content: center; min-height: 44px; }
.login__g { flex: none; }
.login__input { position: relative; display: block; }
.login__input > i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); font-size: 1.25rem; color: var(--accent); pointer-events: none; }
.login__form .login__input input { width: 100%; padding-left: 42px; }
.login__input input[name="password"] { padding-right: 46px; }
.login__eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; background: none; color: var(--muted); font-size: 1.25rem; cursor: pointer; }
.login__eye:hover { color: var(--text); }
.login__forgot { justify-self: end; margin-top: -4px; }
.login__form .btn i { font-size: 1.1em; }
.login__sep { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .82rem; margin: 20px 0; }
.login__sep::before, .login__sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.login__form { display: grid; gap: 12px; text-align: left; }
.login__form h2, .login__form .muted { text-align: center; }
.login__form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--muted); }
.login__form input { font: 1rem var(--sans); padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); }
.login__form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.login__form .btn { width: 100%; }
.login__code { text-align: center; font-size: 1.6rem !important; letter-spacing: .5em; }
.login__link { background: none; border: 0; color: var(--muted); font: 500 .88rem var(--sans); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 4px; }
.login__link:hover { color: var(--text); }
.login__msg { margin: 14px 0 0; font-size: .9rem; color: var(--accent); min-height: 1.2em; }
.login__msg.is-error { color: #ff8a7a; }
@media (max-width: 760px) {
  .account { margin-left: auto; padding: 7px; }
  .account span { display: none; }
  .account:not([hidden]) ~ .burger { margin-left: 0; }
}
.account[hidden] { display: none; }

/* Lecteur PDF intégré */
.reader-page { background: #1a1f1c; }
.reader-bar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 16px; background: #0b0f0d; border-bottom: 1px solid var(--line); }
.reader-bar__back { text-decoration: none; font-size: 1.2rem; width: 36px; height: 36px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; }
.reader-bar__back:hover { background: rgba(255,255,255,.1); }
.reader-bar__title { margin: 0; font-weight: 600; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; }
.reader-bar__pages { font-size: .85rem; color: var(--muted); white-space: nowrap; }
.reader-bar__tools { display: flex; gap: 6px; align-items: center; }
.reader-bar__btn { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg-3); color: var(--text); font-size: 1.1rem; cursor: pointer; display: grid; place-items: center; }
.reader-bar__dl { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: .85rem; padding: 8px 14px; border-radius: 999px; }
.reader { --zoom: 1; padding: 24px 12px 60px; display: grid; gap: 16px; justify-items: safe center; overflow-x: auto; }
.reader__page { width: min(calc(820px * var(--zoom)), calc((100vw - 24px) * var(--zoom))); background: #fff; box-shadow: 0 10px 30px -10px rgba(0,0,0,.6); }
.reader__page canvas { width: 100%; height: 100%; display: block; }
.reader__msg { text-align: center; color: var(--muted); padding: 80px 16px; }
.reader__msg a { color: var(--accent); }
@media (max-width: 600px) { .reader-bar__pages { display: none; } }

/* Article */
.post { padding: 56px 0 80px; }
.post__msg { text-align: center; color: var(--muted); padding: 80px 16px; }
.post__msg a { color: var(--accent); }
.post__head { max-width: 760px; }
.post__head h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.post__meta { color: var(--muted); font-size: .9rem; }
.post__cover { width: min(1000px, 100% - 32px); margin: 32px auto; border-radius: var(--radius); aspect-ratio: 16 / 9; object-fit: cover; }
.post__body { width: min(700px, 100% - 32px); margin: 32px auto 0; font-family: "Literata", Georgia, serif; font-size: 1.12rem; line-height: 1.8; color: rgba(242,245,243,.88); }
.post__body h2, .post__body h3 { color: var(--text); margin-top: 1.6em; }
.post__body a { color: var(--accent); }
.post__body blockquote { margin: 1.5em 0; padding-left: 1em; border-left: 3px solid var(--accent); font-style: italic; }
.post__body img { border-radius: 12px; margin: 1.5em 0; }
.post__back { width: min(700px, 100% - 32px); margin: 48px auto 0; }

/* Responsive */
@media (max-width: 980px) {
  .hero__inner, .split, .author, .authors { grid-template-columns: 1fr; }
  .hero__inner { padding: 56px 0 64px; gap: 44px; }
  .hero__book img { width: min(260px, 70vw); transform: none; }
  .trio, .perks { grid-template-columns: 1fr; }
  .author__photo { max-width: 300px; }
}
@media (max-width: 760px) {
  .nav { position: fixed; inset: 70px 0 auto 0; flex-direction: column; gap: 0; background: var(--bg); padding: 8px 16px 20px; transform: translateY(-130%); transition: transform .25s; border-bottom: 1px solid var(--line); }
  .nav.open { transform: none; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--text); }
  .burger { display: block; margin-left: auto; }
  .header__cta { display: none; }
  .logo img { height: 34px; }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .feature { grid-template-columns: 1fr; text-align: left; }
  .feature__cover { max-width: 160px; }
  .figures__grid { grid-template-columns: repeat(2, 1fr); gap: 14px 0; }
  .figures__grid div:nth-child(3) { border-left: 0; }
  .section { padding: 64px 0; }
  .shelf__nav { display: none; }
  .tile--poster { width: 150px; }
  .tile--video, .tile--article { width: 78vw; }
  .tile--audio { width: 170px; }
  .chapter { flex-basis: 78vw; }
  .founder { grid-template-columns: 1fr; }
  .founder img { max-width: 220px; }
  .plans { grid-template-columns: 1fr; }
  .questions li { font-size: 1rem; padding: 16px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
