/* Page d'accueil, direction A « Le grain » : fond presque noir, voyant orange, grain argentique. */
:root {
  --page-bg: #0B0B0A; --bg: var(--page-bg); --rail: #060605; --panel: #121210; --panel2: #1A1917;
  --line: #262420; --line2: #3A3832;
  --ink: #EDEBE6; --ink2: #8F8B83; --ink3: #848078; /* gris discret, contraste ≈ 4,6:1 sur les fonds de la page */
  --sig: #FF4A2B; --amber: #E8A13C; --dark: #120806;
  --mono: 'Geist Mono', ui-monospace, monospace;
  --disp: 'Archivo', 'Arial Black', sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --pad: max(56px, calc((100% - 1120px) / 2));
  --section-space: 80px; --section-title: 44px; --section-subtitle: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'Instrument Sans', system-ui, sans-serif; font-size: 16px; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--sig); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 60; background: var(--sig); color: var(--dark); padding: 8px 12px; }
.skip:focus { left: 8px; }

/* Typographies */
.disp { font-family: var(--disp); font-stretch: 118%; font-weight: 800; letter-spacing: -0.03em; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; }
.mono { font-family: var(--mono); }
.small { font-size: 11px; letter-spacing: 0.1em; }
.dim { color: var(--ink3); }
.ink2 { color: var(--ink2); }
.amber { color: var(--amber); }
.eyebrow { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink2); display: inline-flex; gap: 10px; }
.eyebrow b { color: var(--sig); font-weight: 400; }

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 15px; padding: 12px 18px; white-space: nowrap; border: 0; }
.btn-big { font-size: 15.5px; padding: 15px 22px; }
.btn-sig { background: var(--sig); color: var(--dark); }
.btn-ghost { border: 1px solid var(--line2); color: var(--ink); font-weight: 600; padding: 15px 20px; }
.btn-dark { background: var(--dark); color: var(--ink); font-size: 15.5px; padding: 15px 22px; }
.btn .pip { width: 8px; height: 8px; border-radius: 50%; background: var(--dark); }
.btn-dark .pip { background: var(--sig); }
.btn-sig:hover { filter: brightness(1.08); }
.btn-ghost:hover { border-color: var(--ink2); }

/* Bandeau qui défile */
.band { background: var(--sig); color: var(--dark); height: 34px; overflow: hidden; display: flex; align-items: center; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; }
.band-track { display: inline-flex; animation: band 40s linear infinite; }
.band-track span { padding: 0 16px; display: inline-flex; align-items: center; gap: 16px; }
@keyframes band { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .band-track { animation: none; } }

/* En-tête */
.top { display: flex; align-items: center; gap: 28px; padding: 16px var(--pad); }
.logo { font-family: var(--disp); font-stretch: 118%; font-weight: 800; font-size: 24px; letter-spacing: -0.04em; text-decoration: none; display: inline-flex; align-items: baseline; }
.logo .dot { width: .3em; height: .3em; border-radius: 50%; background: var(--sig); margin-left: .04em; }
.nav { display: flex; gap: 24px; margin-left: 24px; }
.nav a, .login { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink2); text-decoration: none; padding: 12px 0; }
.nav a:hover, .login:hover { color: var(--ink); }
.top-end { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.login { color: var(--ink); }
.langs { display: inline-flex; border: 1px solid var(--line2); }
.langs button { background: none; border: 0; font-family: var(--mono); font-size: 11px; padding: 6px 8px; color: var(--ink3); }
.langs button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

/* Moniteur (image ou vidéo dans un cadre de régie) */
.monitor { position: relative; margin: 0; aspect-ratio: 16 / 9; background: #000; overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,.6); }
.monitor img, .monitor video { width: 100%; height: 100%; object-fit: cover; }
.crop { position: absolute; inset: 14px; pointer-events: none;
  background: linear-gradient(var(--sig), var(--sig)) 0 0 / 22px 2px no-repeat, linear-gradient(var(--sig), var(--sig)) 0 0 / 2px 22px no-repeat,
    linear-gradient(var(--sig), var(--sig)) 100% 0 / 22px 2px no-repeat, linear-gradient(var(--sig), var(--sig)) 100% 0 / 2px 22px no-repeat,
    linear-gradient(var(--sig), var(--sig)) 0 100% / 22px 2px no-repeat, linear-gradient(var(--sig), var(--sig)) 0 100% / 2px 22px no-repeat,
    linear-gradient(var(--sig), var(--sig)) 100% 100% / 22px 2px no-repeat, linear-gradient(var(--sig), var(--sig)) 100% 100% / 2px 22px no-repeat; }
.mon-tl, .mon-tr, .mon-bl, .mon-br { position: absolute; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: rgba(255,255,255,.8); z-index: 2; }
.mon-tl { top: 19px; left: 46px; color: #fff; display: flex; align-items: center; gap: 7px; }
.mon-tr { top: 19px; right: 46px; }
.mon-bl { bottom: 18px; left: 46px; }
.mon-br { bottom: 14px; right: 40px; background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.35); padding: 6px 9px; }
.mon-br[aria-pressed="true"] { border-color: var(--sig); color: var(--sig); }
.rec { width: 8px; height: 8px; border-radius: 50%; background: var(--sig); box-shadow: 0 0 10px var(--sig); }

/* Accroche */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; padding: 32px var(--pad) 60px; align-items: center; }
.hero-text { display: flex; flex-direction: column; gap: 22px; min-width: 0; container-type: inline-size; }
.hero h1 { margin: 0; display: flex; flex-direction: column; gap: 8px; }
/* Taille calée sur la colonne : « TA CHAÎNE. » comme « YOUR CHANNEL. » tiennent sur une ligne. */
.hero h1 .disp { font-size: min(78px, 12.4cqi); line-height: .9; letter-spacing: -0.035em; white-space: nowrap; }
html[lang="en"] .hero h1 .disp { font-size: min(78px, 9.6cqi); }
.hero h1 .serif { font-size: clamp(26px, 2.9vw, 42px); line-height: 1; }
.hero h1 em { color: var(--sig); font-style: italic; }
.lead { margin: 0; font-size: 18px; line-height: 1.5; color: var(--ink2); max-width: 44ch; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.looks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.looks button { background: none; border: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; text-align: left; }
.looks img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; box-shadow: 0 0 0 1px var(--line2); }
.looks span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink3); }
.looks button[aria-pressed="true"] img { box-shadow: 0 0 0 2px var(--sig); }
.looks button[aria-pressed="true"] span { color: var(--ink); }
.note { font-size: 19px; color: var(--ink2); }

/* Sections */
.block, .split { padding: var(--section-space) var(--pad); border-top: 0; }
.block { display: flex; flex-direction: column; gap: 40px; }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.split-center { align-items: center; }
.split-text { display: flex; flex-direction: column; gap: 24px; max-width: 560px; }
.h2 { margin: 0; font-family: var(--disp); font-stretch: 118%; font-weight: 800; font-size: var(--section-title); line-height: .92; letter-spacing: -0.03em; }
.quote { margin: 0; font-family: var(--serif); font-style: italic; font-size: var(--section-subtitle); line-height: 1.15; color: var(--ink2); }
/* Mise en valeur : un seul groupe de mots en orange par section (dans l'italique), soulignés orange dans le texte du hero */
:is(.quote, .note, .big-title .serif) em { font-style: italic; color: var(--sig); }
.lead .hl { color: var(--ink); text-decoration: underline; text-decoration-color: var(--sig); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.points { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; max-width: 520px; }
.points li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.45; }
.points li::before { content: '→'; position: absolute; left: 0; top: 4px; font-family: var(--mono); font-size: 12px; color: var(--sig); }
.big-title { margin: 0; display: flex; align-items: baseline; gap: 10px 22px; flex-wrap: wrap; }
.big-title .disp { font-size: var(--section-title); line-height: .85; letter-spacing: -0.04em; }
/* Titre de la bibliothèque plus long que les autres : un peu plus petit */
#bibliotheque .big-title .disp { font-size: calc(var(--section-title) * .8); }
.big-title .serif { font-size: var(--section-subtitle); line-height: 1; color: var(--ink2); }
.h-section { margin: 0; font-size: var(--section-title); }


/* 01 Chaîne */
.channel { display: flex; flex-direction: column; gap: 14px; }
.channel-head { display: flex; align-items: center; gap: 12px; }
.channel-head > span:last-child { display: flex; flex-direction: column; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #3a2a20, #1a1714); border: 1px solid var(--line2); }
.channel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 14px; }
.channel-grid figure { margin: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.channel-grid img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; box-shadow: 0 0 0 1px var(--line); }
.channel-grid figcaption { display: flex; flex-direction: column; gap: 2px; }
.channel-grid figcaption span:first-child { font-size: 14px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.channel-grid .mono { font-size: 10.5px; letter-spacing: 0.06em; color: var(--ink3); }

/* Bibliothèque : même cadre pour les titres, filtres et images. */
.s-paper { gap: 24px; }
.s-paper > * { width: 100%; max-width: 924px; align-self: center; }
.gallery-heading { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.gallery-heading .big-title, .gallery-section .big-title { flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.gallery-section > * { width: 100%; max-width: 924px; align-self: center; }
.s-paper .lib { margin-top: 16px; }
.keys { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.keys strong { padding-top: 12px; border-top: 2px solid var(--line2); font-size: 15.5px; }
.keys .hot { border-top-color: var(--sig); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; padding: 4px; }
.chips button { min-height: 44px; flex-shrink: 0; background: none; border: 1px solid var(--line2); color: var(--ink2); padding: 8px 12px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.chips button:hover { border-color: var(--ink2); color: var(--ink); }
.chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.lib { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; width: 100%; max-width: 924px; align-self: center; }
.lib figure { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line); }
.lib figure[hidden] { display: none; }
.lib img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.lib figure:hover img { transform: scale(1.04); }
.lib figcaption { position: absolute; left: 8px; bottom: 8px; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: rgba(0,0,0,.55); padding: 3px 6px; }
.lib-cta { aspect-ratio: 4 / 5; display: flex; flex-direction: column; justify-content: space-between; padding: 16px; background: var(--sig); color: var(--dark); text-decoration: none; }
.lib-cta .mono { font-size: 10.5px; letter-spacing: 0.08em; }
.lib-cta > span:last-child { display: flex; flex-direction: column; gap: 6px; }
.lib-cta strong { font-family: var(--disp); font-stretch: 118%; font-weight: 800; font-size: 30px; line-height: .9; letter-spacing: -0.03em; }
.lib-cta .serif { font-size: 22px; line-height: 1.05; }

/* 02 Montage */
.montage { display: flex; flex-direction: column; gap: 16px; min-width: 0; width: 100%; max-width: 580px; justify-self: center; }
.hero-visual, .channel { width: 100%; max-width: 580px; justify-self: center; }
.timeline { display: flex; flex-direction: column; gap: 8px; padding: 18px; background: var(--panel); border: 1px solid var(--line); }
.tl-foot { display: flex; justify-content: space-between; gap: 12px; font-size: 10.5px; letter-spacing: .06em; color: var(--ink3); flex-wrap: wrap; }
/* Recherche Pexels (illustration de l'interface) : champ + 3 résultats */
.tl-search { display: flex; align-items: center; gap: 10px; }
.tl-field { flex: 1; display: flex; align-items: center; gap: 8px; min-width: 0; padding: 8px 10px; border: 1px solid var(--line2); color: var(--ink); font-size: 13px; }
.tl-field svg { color: var(--ink3); flex-shrink: 0; }
.tl-results { display: flex; gap: 4px; }
.tl-results img { width: 52px; height: 32px; object-fit: cover; box-shadow: 0 0 0 1px var(--line); }
.tl-wave { position: relative; height: 64px; }
.tl-wave .bars { position: absolute; inset: 4px 0 0; display: flex; align-items: center; gap: 2px; }
.tl-wave .bars i { flex: 1; border-radius: 1px; background: var(--ink2); }
.tl-wave .bars i.loud { background: var(--ink); }
.tl-wave .bar-mark { position: absolute; top: 0; bottom: 0; border-left: 1px solid var(--sig); opacity: .8; }
.tl-wave .playhead { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--sig); box-shadow: 0 0 8px var(--sig); }
.tl-cuts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); height: 56px; }
.tl-cuts img { width: 100%; height: 100%; object-fit: cover; border-right: 2px solid var(--bg); }

/* 03 Pack et calendrier */
.split-head { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.split-head .split-text { max-width: 720px; align-items: center; }
.split-head .h2 { max-width: 20ch; text-wrap: balance; }
.split-head .points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; max-width: none; gap: 24px; text-align: left; }
.split-head .points li { min-width: 0; padding: 16px 0 0; border-top: 1px solid var(--line2); }
.split-head .points li::before { display: none; }
.pack { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 16px; }
.row-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.day { display: flex; flex-direction: column; gap: 8px; padding: 10px; background: var(--panel); border: 1px solid var(--line); min-width: 0; }
.day > .mono:first-child { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink2); }
.day > .mono:first-child b { color: var(--ink); font-weight: 400; }
.day img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.day strong { font-size: 12.5px; overflow-wrap: anywhere; }
.day > .mono:last-child { font-size: 10px; }
.day.free { border: 1px dashed var(--line2); }
.slot { aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--ink3); }
.month { display: flex; flex-direction: column; gap: 6px; padding: 12px; background: var(--panel); border: 1px solid var(--line); }
.month-days, .month-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.month-days { font-size: 9px; color: var(--ink3); text-align: center; }
.month-grid span { aspect-ratio: 1; display: flex; align-items: flex-start; justify-content: flex-end; padding: 3px 4px; font-family: var(--mono); font-size: 9.5px; color: var(--ink3); border: 1px dashed var(--line2); }
.month-grid span.busy { background: var(--amber); border: 1px solid var(--amber); color: var(--bg); }
.month-grid span.out { border: 0; }
.legend { font-size: 9.5px; color: var(--ink3); display: flex; gap: 12px; }
.sq { display: inline-block; width: 8px; height: 8px; background: var(--amber); }
.sq.empty { background: none; border: 1px dashed var(--line2); }

/* Exemples */

/* Tarifs */
.price-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.price-switch { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.seg { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line2); }
.seg button { background: none; border: 0; padding: 9px 14px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink2); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.save { font-size: 22px; letter-spacing: -0.02em; color: var(--sig); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 24px; background: var(--panel); border: 1px solid var(--line); }
.plan.hot { background: #1a0f0c; border: 2px solid var(--sig); }
.plan.hot .eyebrow { color: var(--sig); }
.ribbon { position: absolute; top: -13px; right: 20px; background: var(--sig); color: var(--dark); font-size: 11px; letter-spacing: 0.1em; padding: 6px 10px; font-weight: 600; }
.ribbon[hidden] { display: none; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price strong { font-size: 40px; }
.price .mono { font-size: 12px; color: var(--ink2); }
.plan-note { min-height: 14px; margin-top: -10px; }
.plan ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.plan li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.45; }
.plan li::before { content: '●'; position: absolute; left: 0; color: var(--ink3); }
.plan.hot li::before { color: var(--sig); }
.plan .btn { margin-top: auto; align-self: flex-start; }

/* FAQ : chaque réponse est fermée par défaut, quel que soit l’écran. */
.row { align-items: baseline; }
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.qa { padding: 20px 22px; background: var(--panel); border: 1px solid var(--line); }
.qa summary { display: grid; grid-template-columns: 28px 1fr 16px; gap: 10px; align-items: start; cursor: pointer; list-style: none; min-height: 44px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; color: var(--ink2); font-size: 20px; line-height: 1; }
.qa[open] summary::after { content: '−'; }
.qa summary:hover h3 { color: var(--sig); }
.qa summary .mono { font-size: 12px; color: var(--sig); padding-top: 4px; }
.qa h3 { margin: 0; font-size: 16px; line-height: 1.4; }
.qa p { margin: 8px 0 0 38px; font-size: 16px; line-height: 1.5; color: var(--ink2); }
.qa-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; background: none; border-color: var(--sig); text-decoration: none; }
.qa-cta > span:first-child { display: flex; flex-direction: column; gap: 6px; }
.qa-cta strong { font-size: 16px; }
.qa-cta > span:first-child span { font-size: 16px; color: var(--ink2); }
.qa-cta .mono { font-size: 12px; letter-spacing: 0.08em; color: var(--sig); white-space: nowrap; }

/* Fin */
.outro { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 52px var(--pad); background: var(--sig); color: var(--dark); flex-wrap: wrap; }
.outro h2 { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.outro .disp { font-size: clamp(36px, 4.2vw, 60px); line-height: .9; letter-spacing: -0.035em; }
.outro .serif { font-size: clamp(21px, 2.1vw, 30px); }
.foot { display: flex; align-items: center; gap: 24px; padding: 28px var(--pad); font-size: 11px; letter-spacing: 0.08em; color: var(--ink3); }
.small-logo { font-size: 20px; color: var(--ink); }
.foot-end { margin-left: auto; }

/* Tablette */
@media (max-width: 1100px) {
  :root { --pad: 32px; }
  .nav { display: none; }
  .hero, .split, .split-head { grid-template-columns: 1fr; gap: 40px; }
  .pack { grid-template-columns: 1fr; }
  .month-wrap { max-width: 360px; }
  .s-paper > * { max-width: 612px; }
  .lib { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 612px; }
  .plans { grid-template-columns: 1fr; max-width: 560px; }
}
/* Téléphone */
@media (max-width: 640px) {
  :root { --pad: 16px; --section-space: 48px; --section-title: 32px; --section-subtitle: 22px; }
  .top { gap: 12px; padding: 14px var(--pad); }
  .login, .langs { display: none; }
  .top .btn { font-size: 13px; padding: 10px 12px; }
  .hero { padding: 24px var(--pad) 48px; }
  .looks { gap: 6px; }
  .looks span { font-size: 10px; letter-spacing: 0; }
  .mon-tl, .mon-tr, .mon-bl { font-size: 10px; }
  .hero .mon-tr { display: none; }
  .mon-tl, .mon-bl { left: 30px; }
  .mon-tr { right: 30px; }
  .mon-bl { display: none; }
  .channel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .keys { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-paper > * { max-width: 300px; }
  .chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding-bottom: 10px; scrollbar-width: thin; scrollbar-color: var(--line2) var(--bg); }
  .chips::-webkit-scrollbar { height: 5px; }
  .chips::-webkit-scrollbar-thumb { background: var(--line2); }
  .chips::-webkit-scrollbar-track { background: var(--bg); }
  .split-head .points { grid-template-columns: 1fr; gap: 16px; }
  .split-head .points li { min-width: 0; }
  .qa { padding: 16px; }
  .qa-cta { flex-wrap: wrap; }
  .channel::before, .montage::before, .pack::before, .lib::before { inset: -16px; }
  .lib { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 300px; }
  .week { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .faq { grid-template-columns: 1fr; }
  .seg { width: 100%; }
  .seg button { flex: 1; padding: 12px 4px; min-height: 42px; }
  .price-switch { width: 100%; }
  .mon-br { min-height: 36px; bottom: 10px; right: 24px; }
  .logo { padding: 6px 0; }
  .lib figcaption, .month-grid span, .legend, .month-days, .day > .mono:last-child { font-size: 10px; }
  .week { gap: 6px; }
  .day { padding: 8px; }
  .foot { flex-wrap: wrap; }
  .foot-end { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lib img { transition: none; }
}

main section { border-top: 0; }


/* Accroche plein écran (hauteur de l'écran moins le bandeau et le menu, calculée dans accueil.js) */
/* Accroche plein écran ; le bas garde juste la place de l'indicateur « Défiler ». */
.hero { position: relative; min-height: calc(100svh - var(--top-h, 110px)); padding-top: 24px; padding-bottom: 88px; align-content: center; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink3); }
.scroll-cue i { width: 1px; height: 34px; background: linear-gradient(var(--sig), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ''; position: absolute; left: -2px; top: -6px; width: 5px; height: 5px; border-radius: 50%; background: var(--sig); box-shadow: 0 0 8px var(--sig); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { top: -6px; opacity: 0; } 30% { opacity: 1; } 100% { top: 34px; opacity: 0; } }
.scroll-cue:hover { color: var(--ink); }
/* Disparaît dès qu'on commence à défiler (classe posée par accueil.js) */
.scroll-cue { transition: opacity .3s, visibility .3s; }
.scrolled .scroll-cue { opacity: 0; visibility: hidden; }
@media (max-height: 700px), (max-width: 1100px) { .hero { min-height: 0; padding-bottom: 60px; } .scroll-cue { display: none; } }
@media (prefers-reduced-motion: reduce) { .scroll-cue i::after { animation: none; top: 14px; } }

/* Grands écrans : contenu plus large et accroche plus grande */
@media (min-width: 1600px) {
  :root { --pad: max(64px, calc((100% - 1360px) / 2)); }
  .hero { gap: 72px; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .hero .hero-visual { max-width: 640px; }
  .hero h1 .disp { font-size: min(104px, 12.4cqi); }
  html[lang="en"] .hero h1 .disp { font-size: min(104px, 9.6cqi); }
  .hero h1 .serif { font-size: 52px; }
  .lead { font-size: 20px; }
  .btn-big { font-size: 17px; padding: 17px 26px; }
  .note { font-size: 21px; }
}
@media (min-width: 2200px) {
  :root { --pad: calc((100% - 1520px) / 2); }
  .hero .hero-visual { max-width: 720px; }
}

/* Fond : un seul fond continu (dégradé très lent, sans palier), lumière venant d'en haut à gauche.
   Le grain n'existe que dans un halo chaud derrière chaque visuel, identique d'une section à l'autre. */
:root { --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
main { position: relative; overflow-x: clip; /* les halos débordent : pas de défilement horizontal */
  background: linear-gradient(180deg, #0B0B0A 0%, #131210 14%, #0D0D0C 30%, #151412 47%, #0C0C0B 63%, #141311 80%, #0B0B0A 92%, #121110 100%); }
:is(.hero-visual, .channel, .montage, .lib, .pack) { position: relative; isolation: isolate; }
:is(.hero-visual, .channel, .montage, .lib, .pack)::before,
:is(.hero-visual, .channel, .montage, .lib, .pack)::after {
  content: ''; position: absolute; inset: -28% -30%; z-index: -1; pointer-events: none; }
/* Lueur chaude très diffuse, centre décalé vers le haut à gauche */
:is(.hero-visual, .channel, .montage, .lib, .pack)::before {
  background: radial-gradient(ellipse closest-side at 42% 40%, rgba(255,74,43,.07), transparent 100%); }
/* Grain : fort au cœur du halo, nul aux bords */
:is(.hero-visual, .channel, .montage, .lib, .pack)::after {
  background: var(--grain); opacity: .22;
  -webkit-mask-image: radial-gradient(ellipse closest-side at 42% 40%, #000 0%, rgba(0,0,0,.55) 45%, transparent 100%);
  mask-image: radial-gradient(ellipse closest-side at 42% 40%, #000 0%, rgba(0,0,0,.55) 45%, transparent 100%); }

/* Repère de partie : court trait orange aligné à gauche du contenu, seulement entre les grandes parties
   (fonctionnalités, Pack et calendrier, tarifs). */
main :is(#fonctionnalites, .s-grid, #tarifs) { position: relative; }
main :is(#fonctionnalites, .s-grid, #tarifs)::before { content: ''; position: absolute; top: -1px; left: var(--pad); width: 48px; height: 2px;
  background: var(--sig); box-shadow: 0 0 12px rgba(255,74,43,.6); pointer-events: none; }

/* Passages 01 -> bibliothèque -> 02 façon Apple : chaque section reste en place (collée dès que son bas touche
   le bas de l'écran, décalage posé par accueil.js) et s'efface un peu, la suivante monte par-dessus comme une carte.
   Actif sur écran large et sans réduction des animations (classe posée par accueil.js). */
.stack-on .stack > section { position: sticky; }
/* Le repère de partie met 01 en position relative : on rétablit le collage */
.stack-on .stack > #fonctionnalites { position: sticky; }
.stack-on .stack > section > * { transform-origin: 50% 0; will-change: transform, opacity; }
.stack-on .stack > section + section { border-radius: 28px 28px 0 0;
  box-shadow: 0 -1px 0 rgba(237,235,230,.08), 0 -40px 80px rgba(0,0,0,.6); }
.stack-on .stack > section:nth-child(2) { z-index: 1; background: #0F0E0D; }
.stack-on .stack > section:nth-child(3) { z-index: 2; background: #11100F; }
.stack-on .stack > section:nth-child(4) { z-index: 3; background: #131210; }

/* 01 juste après l'accroche : marge du haut réduite, titre aligné sur le haut de la grille « Ta chaîne » */
#fonctionnalites { padding-top: 56px; align-items: start; }
@media (max-width: 760px) { #fonctionnalites { padding-top: var(--section-space); } }

/* 02 : colonnes égales pour que « monté sur ton instru » tienne sur une ligne */
.s-crt.split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 1100px) { .s-crt.split { grid-template-columns: 1fr; } }
/* Forme d'onde sur petit écran : barres collées pour qu'elles restent visibles */
@media (max-width: 640px) { .tl-wave .bars { gap: 0; } }

/* Fenêtre d'accès (sonro.io, tant que l'app n'est pas en ligne) : même grammaire que la page,
   panneau charbon, angles droits, un seul bouton orange. */
.access { width: min(480px, calc(100% - 32px)); max-height: calc(100svh - 32px); padding: 40px 36px 32px; border: 1px solid var(--line2);
  background: var(--panel); color: var(--ink); box-shadow: 0 40px 120px rgba(0,0,0,.7); overflow: auto; }
.access::backdrop { background: rgba(5,5,5,.72); backdrop-filter: blur(6px); }
.access[open] { animation: access-in .22s cubic-bezier(.2,.7,.2,1); }
@keyframes access-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .access[open] { animation: none; } }
.access-form, .access-done { display: flex; flex-direction: column; gap: 14px; }
.access-form[hidden], .access-done[hidden] { display: none; }
.access .btn-ghost { background: transparent; justify-content: center; }
.access h2 { margin: 0 0 4px; display: flex; flex-direction: column; gap: 2px; line-height: 1; }
.access h2 .disp { font-size: 30px; }
.access h2 .serif { font-size: 26px; color: var(--ink2); }
.access p { margin: 0; line-height: 1.5; }
.access #accessPlan:empty { display: none; }
.access label.mono { margin-top: 6px; color: var(--ink2); }
.access input[type="email"] { min-height: 48px; padding: 12px 14px; background: var(--bg); border: 1px solid var(--line2); color: var(--ink);
  font: inherit; font-size: 16px; border-radius: 0; }
.access input[type="email"]:focus { outline: none; border-color: var(--ink2); }
.access input[type="email"]:focus-visible { outline: 2px solid var(--sig); outline-offset: 2px; }
.access input[aria-invalid="true"] { border-color: var(--sig); }
.access .check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; color: var(--ink2); cursor: pointer; }
.access .check input { width: 18px; height: 18px; margin: 0; accent-color: var(--sig); }
.access .btn { justify-content: center; }
.access .btn[aria-busy="true"] { opacity: .6; pointer-events: none; }
.access-err { color: var(--sig); font-size: 14px; }
.access-err:empty { display: none; }
.access .small a { color: var(--ink2); }
.access .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.access-x { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; color: var(--ink2); }
.access-x:hover { color: var(--ink); }
.access-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
@media (max-width: 480px) { .access { padding: 36px 20px 24px; } .access h2 .disp { font-size: 26px; } .access h2 .serif { font-size: 22px; } }
