/* 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; }
/* Même taille de bouton en français et en anglais (« Try it free » est bien plus court que « Tester gratuitement »). */
.btn { justify-content: center; }
.hero .actions .btn-big { min-width: 210px; }
.hero .actions .btn-ghost { min-width: 170px; }
.nav-cta { min-width: 232px; }
/* Barre du haut : chaque libellé garde la largeur du plus long des deux langues, rien ne bouge quand on change de langue.
   Police mono : un caractère = 1ch + l'interlettrage. */
.login { min-width: calc(9 * (1ch + .1em)); text-align: center; } /* Connexion / Log in */
.nav a[href="#analyses"] { min-width: calc(9 * (1ch + .1em)); } /* Analyses / Analytics */
.nav a[href="#studio"] { min-width: calc(10 * (1ch + .1em)); } /* Mon studio / My studio */
.nav a[href="#tarifs"] { min-width: calc(7 * (1ch + .1em)); } /* Tarifs / Pricing */
.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; }
.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; }
/* Vidéo de démo du hero : grande, à droite du titre, sans bordure (bords fondus dans le fond). Derrière, une lueur d'ambiance
   reprend en direct les couleurs de la vidéo (canvas flouté, comme l'éclairage ambiant de YouTube) : la vidéo
   éclaire la page au lieu d'être posée dessus. Le lien dessous active le son (et reprend la vidéo au début). */
.hero { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
.hero .hero-visual { max-width: none; width: 100%; justify-self: stretch; }
.hero .hero-visual::before, .hero .hero-visual::after { display: none; }
.hero-film { position: relative; margin: 0; aspect-ratio: 16 / 9; }
.hero-film video { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; background: transparent;
  /* Sans bordure : les quatre bords se dissolvent dans le fond (8 % sur les côtés, 10 % en haut et en bas). */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent), linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent), linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
          mask-composite: intersect; }
.hero-glow { position: absolute; left: -9%; top: -13%; width: 118%; height: 126%; z-index: 0; pointer-events: none;
  filter: blur(64px) saturate(1.6) brightness(1.2); opacity: 0; transition: opacity 1.2s ease; }
.hero-glow.on { opacity: .55; }
.sound { align-self: flex-end; display: inline-flex; align-items: center; gap: 8px; padding: 6px 2px; border: 0; background: none;
  color: var(--ink3); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: color .2s; }
.sound:hover, .sound[aria-pressed="true"] { color: var(--ink); }
.sound:focus-visible { outline: 2px solid var(--sig); outline-offset: 4px; }
.sound-ico { width: 14px; height: 14px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 5 6 9H2v6h4l5 4V5Z'/%3E%3Cpath d='m23 9-6 6M17 9l6 6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 5 6 9H2v6h4l5 4V5Z'/%3E%3Cpath d='m23 9-6 6M17 9l6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.sound[aria-pressed="true"] .sound-ico {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 5 6 9H2v6h4l5 4V5Z'/%3E%3Cpath d='M15.5 8.5a5 5 0 0 1 0 7M19 5a10 10 0 0 1 0 14'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 5 6 9H2v6h4l5 4V5Z'/%3E%3Cpath d='M15.5 8.5a5 5 0 0 1 0 7M19 5a10 10 0 0 1 0 14'/%3E%3C/svg%3E"); }
.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; }
.before-after { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 18px; align-items: center; }
.before-after .raw { position: relative; margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line); }
.before-after .raw img { width: 100%; height: 100%; object-fit: cover; }
.before-after .raw .mono { position: absolute; left: 8px; top: 8px; font-size: 11px; letter-spacing: .12em; padding: 5px 7px; background: rgba(10,10,9,.75); color: var(--ink); }
.before-after .monitor { overflow: visible; }
.before-after .monitor video { overflow: hidden; }
.ba-arrow { position: absolute; left: -9px; top: 50%; translate: -50% -50%; z-index: 2; color: var(--sig); font-size: 22px; line-height: 1; }
@media (max-width: 760px) { .before-after { grid-template-columns: 1fr; gap: 12px; } .ba-arrow { display: none; } }
.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; }
  .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, .9fr) minmax(0, 1.1fr); }
  .hero h1 .disp { font-size: min(104px, 12.4cqi); }
  .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); }
}

/* 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; } }

/* Landing sur téléphone : une idée par écran. Titre, une phrase et le visuel ; listes et visuels secondaires masqués,
   tarifs à faire glisser, bouton d'essai fixe en bas une fois le hero passé. L'ordinateur ne change pas. */
@media (max-width: 760px) {
  .hero { gap: 26px; padding-top: 18px; padding-bottom: 36px; }
  .hero-text { gap: 16px; }
  .hero h1 .disp { font-size: 11.3vw !important; }
  .hero h1 .serif { font-size: 8.2vw; }
  .hero .lead { font-size: 16.5px; }
  .hero .actions .btn-ghost, .hero-text > .mono { display: none; }
  .hero .actions .btn { width: 100%; justify-content: center; }
  .hero-visual { margin: 0 calc(-1 * var(--pad)); width: calc(100% + 2 * var(--pad)) !important; }
  .hero-film { aspect-ratio: 4 / 5; }
  .hero-film video { -webkit-mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent); -webkit-mask-composite: source-over; mask-composite: add; }
  .sound { align-self: center; }
  .points, #bibliotheque .keys, #tarifs > .mono.small { display: none !important; }
  .channel-grid figure:nth-child(n+5) { display: none; }
  .lib figure:nth-of-type(n+6) { display: none; }
  .pack .day:nth-child(n+5), .month-wrap { display: none; }
  .plans { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(-1 * var(--pad)); padding: 14px var(--pad) 18px; scrollbar-width: none; }
  .plans::-webkit-scrollbar { display: none; }
  .plan { flex: 0 0 84%; scroll-snap-align: center; }
  .m-cta { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; display: flex; justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,.5); transform: translateY(140%); transition: transform .35s ease; }
  .m-cta-on .m-cta { transform: none; }
}
@media (min-width: 761px) { .m-cta { display: none; } }

/* ---------- Landing du 14 oct. 2026 : hero V6, Créé avec Sonro (régie), Pack, « Va plus loin : lis ta chaîne », Mon studio,
   tarifs et FAQ revus. Règles ajoutées au-dessus de la base ci-dessus (même palette, mêmes polices et marges). ---------- */

/* Pas de masquage des débordements sur la page : seul main coupe ses halos (overflow-x: clip, dans accueil.css). */
body { overflow-x: visible; }
/* « Voir la démo » est un bouton (pas un lien) : pas de fond par défaut du navigateur. */
button.btn-ghost { background: none; }

/* Hero : deux lignes en capitales + la chute en italique orange (signature de la V1). */
.hero h1 .disp { font-size: min(74px, 11cqi); }
.hero h1 .serif { font-size: clamp(34px, 3.6vw, 54px); line-height: .95; }
.hero h1 .serif em { color: var(--sig); }
@media (min-width: 1600px) { .hero h1 .disp { font-size: min(96px, 11cqi); } .hero h1 .serif { font-size: 64px; } }
.hero-ctl { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; }
.hero-btns { display: flex; gap: 32px; width: 100%; justify-content: center; }
.hero-btns .sound { min-height: 44px; }
.pause-ico { width: 12px; height: 12px; position: relative; }
.pause-ico::before, .pause-ico::after { content: ''; position: absolute; top: 1px; bottom: 1px; width: 3px; background: currentColor; }
.pause-ico::before { left: 2px; } .pause-ico::after { right: 2px; }
.paused .pause-ico::before { left: 2px; top: 0; bottom: auto; width: 0; height: 0; background: none; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.paused .pause-ico::after { display: none; }

/* Créé avec Sonro : un écran de régie (même cadre que le montage de la V1) qui lit la réalisation choisie en boucle, muette,
   et trois vignettes dessous pour en changer. Pas de lecteur : ni bouton play, ni barre, ni contrôles du navigateur. */
#cree { gap: 32px; padding-top: 40px; }
/* Hero centré dans le premier écran, un peu moins haut que l'écran (24 px) pour que « Créé avec Sonro » ne soit pas
   repoussé trop loin ; l'indice « Défiler » reste en bas. Écrans bas ou étroits : hauteur du contenu. */
.hero { min-height: calc(100svh - var(--top-h, 110px) - 24px); align-content: center; padding-top: 48px; padding-bottom: 48px; }
@media (max-width: 1100px), (max-height: 700px) { .hero { min-height: 0; padding-top: 32px; padding-bottom: 56px; } }
.regie { width: 100%; max-width: min(760px, calc((100svh - 330px) * 16 / 9)); align-self: center; display: flex; flex-direction: column; gap: 14px; position: relative; isolation: isolate; }
/* Lueur tirée de la vidéo affichée (mix.js), mêmes proportions que celle du hero : derrière l'écran, qui fait 16:9. */
.regie-glow { position: absolute; z-index: -1; left: -38.5%; top: 0; margin-top: -27%; width: 177%; aspect-ratio: 177 / 110.25; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; }
.regie-glow.on { opacity: .5; }
.regie::after { content: ''; position: absolute; inset: -25% -20%; z-index: -1; pointer-events: none; background: var(--grain); opacity: .2;
  -webkit-mask-image: radial-gradient(ellipse closest-side at 45% 40%, #000 0%, rgba(0,0,0,.5) 45%, transparent 100%); mask-image: radial-gradient(ellipse closest-side at 45% 40%, #000 0%, rgba(0,0,0,.5) 45%, transparent 100%); }
.regie-screen video { transition: opacity .35s ease; }
.regie-screen.swap video { opacity: 0; }
/* Vignettes : image à gauche (plus grande qu'avant), titre seul ; la vignette active s'allume dans la couleur de sa vidéo (--acc). */
.regie-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.regie-item { display: grid; grid-template-columns: 48% minmax(0, 1fr); align-items: center; gap: 12px; padding: 7px; text-align: left; background: var(--panel); border: 1px solid var(--line); min-height: 44px; transition: border-color .3s, background-color .3s, box-shadow .3s; }
.regie-item img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; opacity: .75; transition: opacity .3s; }
.regie-item strong { font-size: 15px; line-height: 1.15; padding: 0; color: var(--ink2); transition: color .3s; }
.regie-item:hover { border-color: var(--line2); }
.regie-item:hover img { opacity: 1; }
.regie-item[aria-pressed="true"] { border-color: var(--acc); background: color-mix(in srgb, var(--acc) 9%, var(--panel)); box-shadow: 0 0 32px -8px color-mix(in srgb, var(--acc) 45%, transparent); }
.regie-item[aria-pressed="true"] img { opacity: 1; }
.regie-item[aria-pressed="true"] strong { color: var(--ink); }
/* Description technique sur l'écran, à côté du nom. */
.regie-look { margin-left: 6px; color: rgba(255,255,255,.55); }
.regie-look::before { content: '· '; }

.reels-note { margin: 0; text-align: center; font-size: 14px; color: var(--ink2); }

/* Pack : la phrase sur la publication programmée, visible aussi sur téléphone. */
#pack .h2 { max-width: 22ch; }
.pack-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; padding: 18px 20px; border: 1px solid var(--line2); background: var(--panel); }
.pack-foot p { margin: 0; max-width: 70ch; color: var(--ink2); line-height: 1.5; }
.pack-foot b { color: var(--ink); }
.pack-foot .mono { color: var(--sig); }

/* Mon studio : section normale (hors de la pile), texte et pièce centrés l'un face à l'autre, pièce de hauteur fixe. */
#studio.s-studio { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 32px; align-items: center; }
@media (min-width: 1101px) { #studio .h2 { font-size: min(40px, 2.8vw); } }
@media (max-width: 1100px) { #studio.s-studio { grid-template-columns: 1fr; } }
/* Mon studio : une carte de la pile, comme 01 et 02. Texte et repères à gauche ; à droite la pièce de l'app, sans cadre,
   recadrée sur la pièce et fondue dans le fond (halo chaud et grain des visuels de la V1). */
.st-progress { display: flex; flex-direction: column; gap: 12px; max-width: 440px; }
.st-rooms { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.st-rooms li { height: 4px; background: var(--line2); transition: background .4s, box-shadow .4s; }
.st-rooms li.on { background: var(--sig); box-shadow: 0 0 10px rgba(255,74,43,.6); }
.st-rooms li.lock { background: repeating-linear-gradient(90deg, var(--line2) 0 4px, transparent 4px 7px); }
.st-now { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.st-now b { font-size: 18px; }
.st-now .mono { font-size: 11px; letter-spacing: .1em; color: var(--ink2); }
.st-pub { align-self: flex-start; min-height: 52px; }
.st-pub:disabled { opacity: .75; cursor: default; }
.studio-scene { position: relative; width: 100%; max-width: 860px; height: 640px; justify-self: center; isolation: isolate;
  /* Fond transparent (pièce de l'app sans son fond) ; bords fondus sur les quatre côtés : aucun cadre visible. */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent), linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent), linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent); mask-composite: intersect; }
.studio-scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transform: scale(1.38); display: block; transition: filter .55s cubic-bezier(.22,1,.36,1); }
.studio-scene.dim canvas { filter: brightness(.35) saturate(.8); }
#stCv { cursor: pointer; }
#stPrev { pointer-events: none; opacity: 0; transition: opacity var(--fade, .5s) ease; }
#stPrev.show { opacity: 1; transition: none; }
.s-studio::after { content: ''; position: absolute; right: 0; top: 50%; width: 60%; height: 90%; translate: 0 -50%; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse closest-side at 50% 50%, rgba(255,140,60,.09), transparent 100%); }
.s-studio > * { position: relative; z-index: 1; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Mon studio : les trois points (visibles aussi sur téléphone, contrairement aux .points de la V1). */
.st-points { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; max-width: 460px; }
.st-points li { position: relative; padding-left: 26px; font-size: 15.5px; line-height: 1.45; color: var(--ink2); }
.st-points li::before { content: '→'; position: absolute; left: 0; top: 3px; font-family: var(--mono); font-size: 12px; color: var(--sig); }
.st-points b { color: var(--ink); font-weight: 600; }

/* Sonro te dit quoi sortir ensuite : trois cartes dessinées (données d'exemple), même grammaire que le Pack. */
#analyses { gap: 32px; }
.ana { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, .55fr); gap: 16px; position: relative; isolation: isolate; }
.ana::before { content: ''; position: absolute; inset: -20% -10%; z-index: -1; pointer-events: none; background: radial-gradient(ellipse closest-side at 50% 45%, rgba(255,74,43,.06), transparent 100%); }
.ana-card { display: flex; flex-direction: column; gap: 18px; padding: 22px; background: var(--panel); border: 1px solid var(--line); min-width: 0; }
.ana-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ana-bars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 6px; gap: 6px 12px; align-items: center; }
.ana-bars li span { font-size: 14.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ana-bars li i { grid-column: 1 / -1; grid-row: 2; height: 6px; background: linear-gradient(90deg, var(--sig) var(--w), var(--line2) var(--w)); }
.ana-bars li i.dn { background: linear-gradient(90deg, var(--ink3) var(--w), var(--line2) var(--w)); }
.ana-bars b { font-family: var(--mono); font-size: 13px; font-weight: 500; }
.ana-bars b.up { color: var(--sig); } .ana-bars b.dn { color: var(--ink3); }
.ana-why { margin: auto 0 0; font-size: 10px; letter-spacing: .08em; color: var(--ink3); line-height: 1.5; }
.ana-kpi { display: flex; align-items: flex-end; gap: 14px; }
.ana-kpi strong { font-size: 52px; line-height: .85; }
.ana-kpi > span { font-size: 14px; line-height: 1.35; }
.ana-spark { display: flex; align-items: flex-end; gap: 5px; height: 56px; }
.ana-spark i { flex: 1; height: var(--h); background: linear-gradient(var(--sig), rgba(255,74,43,.35)); }
.ana-alert { margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink2); }
.ana-alert b { color: var(--ink); }
.ana-alert .mono { display: block; margin-top: 6px; font-size: 10.5px; letter-spacing: .08em; color: var(--sig); }
.ana-niches { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ana-niches li { display: flex; flex-direction: column; gap: 5px; padding-left: 12px; border-left: 2px solid var(--sig); }
.ana-niches strong { font-size: 14.5px; }
.ana-niches .mono { font-size: 9.5px; letter-spacing: .08em; color: var(--ink2); }
.ana-note { margin: 0; text-align: center; }
@media (max-width: 1100px) { .ana { grid-template-columns: 1fr; max-width: 560px; align-self: center; width: 100%; } }

/* « Et bien plus » : petite carte à côté des trois analyses. */
.ana-more { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; padding: 22px 18px; border: 1px dashed var(--line2); text-decoration: none; color: var(--ink); transition: border-color .3s cubic-bezier(.22,1,.36,1); }
.ana-more strong { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 24px; line-height: 1.05; color: var(--sig); }
.ana-more .mono { font-size: 10.5px; letter-spacing: .1em; line-height: 1.5; color: var(--ink2); }
.ana-list { display: flex; flex-direction: column; gap: 9px; }
@media (max-width: 1100px) { .ana-list { flex-direction: row; flex-wrap: wrap; gap: 4px 16px; } }
.ana-arrow { font-size: 22px; color: var(--sig); }
.ana-more:hover { border-color: var(--sig); }

/* Tarifs : une phrase par offre, notes alignées. */
.plan .pitch { margin: -4px 0 0; font-size: 16px; font-weight: 600; line-height: 1.35; min-height: 2.7em; }
.plan-note { min-height: 2.6em; line-height: 1.4; }
.price-foot { display: flex; flex-direction: column; gap: 8px; }


@media (max-width: 760px) {
  .hero h1 .disp { font-size: 10.6vw !important; }
  .hero h1 .serif { font-size: 10vw; }
  .hero-ctl { justify-content: center; }
  .hero-ctl > .mono { display: none; }
  .hero-btns { justify-content: center; gap: 28px; }
  .regie-list { gap: 6px; }
  .regie-item { grid-template-columns: 1fr; padding: 5px 5px 8px; gap: 6px; }
  .regie-item strong { font-size: 12.5px; padding: 0 2px; }
  .regie-look { display: none; }
  .st-pub { width: 100%; justify-content: center; }
  .studio-scene canvas { transform: scale(1.1); }
  .studio-scene { order: -1; max-width: none; height: auto; aspect-ratio: 960 / 600; margin: 0 calc(-1 * var(--pad)); width: calc(100% + 2 * var(--pad)); }
  /* Langue : le choix reste dans l'en-tête sur téléphone. */
  .top .langs { display: inline-flex; }
  .langs button { min-width: 36px; min-height: 36px; }
  .top { gap: 8px; }
  .top .btn { min-width: 0; padding: 10px; font-size: 12.5px; }
  .top .btn .pip { display: none; }
  .top-end { gap: 8px; }
  .plan .pitch, .plan-note { min-height: 0; }
  html { scroll-padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  main { padding-bottom: 0; }
  .foot { padding-bottom: calc(28px + 72px + env(safe-area-inset-bottom)); }
}
@media (max-width: 400px) {
  .top .btn { min-width: 0; }
  .btn { white-space: normal; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  #stPrev, .st-rooms li, .regie-screen video, .regie-item img { transition: none; }
}
/* Pack sur un très petit écran : « PROGRAMMÉ » tient dans sa colonne. */
@media (max-width: 360px) { .day > .mono:last-child { font-size: 9px; letter-spacing: 0; } }

/* Apparitions : une seule grammaire pour toute la page (hors pile de cartes, qui a son propre mouvement).
   Titre puis texte montent de 24 px en apparaissant ; le visuel suit 120 ms plus tard, de 96 % à 100 %. Même courbe partout. */
:root { --ease-apple: cubic-bezier(.22, 1, .36, 1); }
.js-reveal .rv { opacity: 0; translate: 0 24px; transition: opacity .8s var(--ease-apple), translate .8s var(--ease-apple), scale .8s var(--ease-apple); transition-delay: var(--d, 0s); }
.js-reveal .rv.rv-v { translate: 0 0; scale: .96; }
.js-reveal .rv.in { opacity: 1; translate: 0 0; scale: 1; }
.regie-screen video { transition-timing-function: cubic-bezier(.22, 1, .36, 1); transition-duration: .55s; }
@media (prefers-reduced-motion: reduce) { .js-reveal .rv { opacity: 1; translate: none; scale: none; transition: none; } }

/* Bouton d'en-tête : libellé court sur téléphone. */
.top .l-short { display: none; }
@media (max-width: 640px) {
  .top .l-long { display: none; } .top .l-short { display: inline; }
  .top .nav-cta { min-width: 9.5em; } /* Créer ma vidéo / Create my video : même largeur, le choix de langue ne bouge pas */
}

/* Fluidité (14 oct.) : la couche graphique des cartes empilées n'est posée par mix.js que pendant le recouvrement ;
   lueur du hero floutée dans son petit canevas (marge de 8 × 5 px sur 32 × 18), donc sans filtre CSS ici ;
   tête de lecture du montage déplacée en transform depuis la gauche. */
.stack-on .stack > section > * { will-change: auto; }
.hero-glow { filter: none; left: -38.5%; top: -48%; width: 177%; height: 196%; }
.tl-wave .playhead { left: 0 !important; }
/* Indice « Défiler » : le point glisse en transform (plus de recalcul de page à chaque image) et s'arrête une fois effacé. */
@keyframes cue-t { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(40px); opacity: 0; } }
.scroll-cue i::after { animation-name: cue-t; }
.scrolled .scroll-cue i::after { animation: none; }
/* Le titre passe au-dessus de la lueur de la régie (qui déborde vers le haut). */
#cree .gallery-heading, #cree .reels-note { position: relative; z-index: 1; }
/* Sur un écran large mais bas, la régie rétrécit pour que titre, écran et vignettes tiennent en une fois (environ 330 px hors écran). */

/* Carte « Niches proches » : Niche Explorer arrive après l'audit de YouTube (badge « Bientôt »). */
.ana-eyebrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ana-soon { padding: 3px 8px; border: 1px solid var(--sig); color: var(--sig); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }


/* ---------- Landing V2.1 (15 oct. 2026, maquette design/maquettes/landing-v2.1.html validée) ---------- */
/* Rythme : un peu moins d'espace entre les sections, sans tasser. */
:root { --section-space: 64px; }
.block { gap: 34px; }
#cree { padding-top: 32px; }
@media (max-width: 760px) { :root { --section-space: 44px; } .block { gap: 28px; } }

/* Hero : accroche discrète au-dessus du titre ; flèche du bouton principal. */
.kicker { font-size: 11px; letter-spacing: .16em; color: var(--ink2); display: inline-flex; align-items: center; gap: 10px; margin-bottom: -6px; }
.kicker::before { content: ''; width: 18px; height: 1px; background: var(--sig); }
.hero .lead { max-width: 46ch; }
.btn .arw { font-family: var(--mono); font-weight: 500; margin-left: 2px; transition: transform .3s var(--ease-apple, ease); }
.btn:hover .arw { transform: translateX(3px); }
.hero .actions .btn-big, .hero .actions .btn-ghost { min-width: 0; }
.hero .actions { flex-wrap: nowrap; }
@media (max-width: 1240px) and (min-width: 761px) { .hero .actions { flex-wrap: wrap; } }

/* Vidéo du hero : les titres des séquences commencent à 4,7 % du haut (46 px sur 1080) ; le fondu du bord haut (10 %)
   effaçait le haut des lettres. Fondu ramené à 3 % en haut (4 % sur téléphone, titre à 9 %), autres bords inchangés. */
.hero-film video {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent), linear-gradient(to bottom, transparent, #000 3%, #000 90%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent), linear-gradient(to bottom, transparent, #000 3%, #000 90%, transparent); }

/* Créé avec Sonro : écran à gauche (62 %), « Un beat, trois étapes » et le bouton à droite (38 %). */
.cree-grid { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 22px; }
@media (min-width: 1101px) {
  .cree-grid { display: grid; grid-template-columns: minmax(0, 62fr) minmax(0, 38fr); align-items: center; gap: 44px; max-width: 1200px; }
  .cree-grid .regie { max-width: none; width: 100%; }
}
.cree-steps { display: flex; flex-direction: column; gap: 22px; width: 100%; max-width: 480px; }
.cree-steps-title { margin: 0 0 -10px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.cree-steps-title .disp { font-size: 26px; line-height: 1; }
.cree-steps-title .serif { font-size: 30px; line-height: 1; }
.cree-steps-title em { color: var(--sig); }
.cree-steps ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.cree-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cs-n { color: var(--sig); font-size: 11px; }
.cs-txt { display: flex; flex-direction: column; gap: 4px; }
.cs-txt strong { font-family: var(--disp); font-stretch: 112%; font-weight: 800; font-size: 14.5px; letter-spacing: -0.01em; }
.cs-d { color: var(--ink2); font-size: 14px; line-height: 1.45; }
.cree-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
/* Vignettes plus discrètes : la vidéo reste le point focal. */
.regie-list { gap: 8px; }
.regie-item { grid-template-columns: 38% minmax(0, 1fr); gap: 10px; padding: 5px; min-height: 0; border-color: transparent; background: rgba(18,18,16,.55); }
.regie-item img { opacity: .72; }
.regie-item strong { font-size: 13px; font-weight: 600; color: var(--ink2); }
.regie-item:hover { border-color: var(--line); }
.regie-item[aria-pressed="true"] { border-color: color-mix(in srgb, var(--acc) 55%, transparent); background: color-mix(in srgb, var(--acc) 6%, var(--panel)); box-shadow: none; }
.regie-item[aria-pressed="true"] strong { color: var(--ink); }

/* Bouton après une démonstration (Pack) : caché sur téléphone, où le bouton fixe suffit. */
.sec-cta { display: flex; align-items: center; justify-content: center; gap: 12px 20px; flex-wrap: wrap; }
#pack .sec-cta { margin-top: -6px; }

@media (max-width: 760px) {
  .hero-film video { -webkit-mask-image: linear-gradient(to bottom, transparent, #000 4%, #000 92%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 4%, #000 92%, transparent); }
  .hero-text > .kicker { display: inline-flex; font-size: 10px; letter-spacing: .12em; margin-bottom: -4px; }
  .sec-cta, .cree-cta { display: none; }
  .cree-grid { gap: 18px; }
  .cree-steps-title .disp { font-size: 20px; } .cree-steps-title .serif { font-size: 24px; }
  .cree-steps li { padding: 10px 0; }
  .cs-d { font-size: 13px; }
  .regie-item { grid-template-columns: 1fr; padding: 4px 4px 6px; }
  /* Libellés sur une ligne : les trois vignettes gardent la même hauteur (« Bibliothèque Sonro », « Beat-synced clips »). */
  .regie-item strong { font-size: 10.5px; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 380px) { .regie-item strong { font-size: 10px; letter-spacing: -0.02em; } }
@media (max-width: 1100px) and (min-width: 761px) { .cree-steps { max-width: 560px; } }

/* ---------- Téléphone, 22 oct. 2026 : page courte (≈ 4 écrans au lieu de 10) pour la rétention et le clic ----------
   Premier écran : titre, une phrase et la vidéo qui ouvre sur le résultat (hero7) ; le bouton d'essai est fixe en bas dès
   l'arrivée (accueil.js). Restent : les trois façons de créer, la semaine programmée, une rangée de visuels, une ligne
   « Et aussi », Gratuit et Beatmaker, trois questions. Plus d'apparition en fondu : rien de noir pendant le défilement. */
.m-lead, .m-also { display: none; }
@media (max-width: 760px) {
  .hero { gap: 14px; padding-top: 14px; padding-bottom: 20px; }
  .hero-text { gap: 12px; }
  .hero .kicker, .hero .lead:not(.m-lead), .hero .actions, .scroll-cue { display: none !important; }
  .hero h1 .disp { font-size: 10.2vw !important; }
  .hero h1 .serif { font-size: 7.6vw; }
  .hero .m-lead { display: block; font-size: 16px; }
  .hero-text > .mono:not(.kicker) { display: block !important; }
  .hero-ctl { margin-top: -6px; }
  .cree-steps, .reels-note, #pack .sec-cta, .lib-bar, .s-crt, #analyses, #studio, .price-switch, .plans .plan:last-child, .price-foot { display: none !important; }
  #cree, #pack, #bibliotheque, #tarifs, #faq { padding-top: 44px; padding-bottom: 8px; }
  .lib { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin: 0 calc(-1 * var(--pad)); padding: 4px var(--pad) 14px; scrollbar-width: none; }
  .lib::-webkit-scrollbar { display: none; }
  .lib figure, .lib figure:nth-of-type(n+6), .lib .lib-cta { display: block; flex: 0 0 46%; scroll-snap-align: start; }
  .lib .lib-cta { display: flex; }
  .faq .qa:nth-of-type(3), .faq .qa:nth-of-type(5), .faq .qa:nth-of-type(6) { display: none; }
  .m-also { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; margin: 40px var(--pad) 0; padding: 18px 20px; border: 1px dashed var(--line, rgba(255,255,255,.18)); color: var(--ink2); text-decoration: none; font-size: 15px; line-height: 1.5; }
  .m-also .mono { grid-column: 1 / -1; font-size: 11px; letter-spacing: .12em; color: var(--sig); }
  .m-also strong { color: var(--ink); font-weight: 600; }
  .m-also-arw { color: var(--sig); font-size: 22px; }
  .outro { padding-bottom: 110px; }
  .js-reveal .rv, .js-reveal .rv.rv-v { opacity: 1; translate: none; scale: none; transition: none; }
}

/* ---------- Extension Chrome (28 oct. 2026) : lien de l'étape 03, FAQ, petit rond ▶ de la bibliothèque et fenêtre du tuto ---------- */
.cs-ext, .qa-link { color: var(--sig); font-weight: 600; text-decoration: none; white-space: nowrap; }
.cs-ext:hover, .qa-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.nw { white-space: nowrap; }
.tuto-pill { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-left: 6px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 74, 43, .16); color: var(--sig);
  vertical-align: 1px; cursor: pointer; transition: background-color .2s, color .2s, scale .3s cubic-bezier(.24, 1.34, .38, 1); }
.tuto-pill svg { width: 8px; height: 8px; margin-left: 1px; fill: currentColor; }
.tuto-pill:hover { background: var(--sig); color: var(--dark); scale: 1.12; }
.tuto-pill:active { scale: .92; }
.tuto-dlg { width: min(520px, calc(100vw - 32px)); padding: 24px; border: 1px solid var(--line2); border-radius: 20px; background: var(--panel); color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.tuto-dlg[open] { animation: tuto-in .42s cubic-bezier(.24, 1.34, .38, 1) both; }
@keyframes tuto-in { 0% { opacity: 0; translate: 0 14px; scale: .96; } }
.tuto-dlg::backdrop { background: rgba(6, 6, 5, .72); backdrop-filter: blur(4px); }
.tuto-dlg h3 { margin: 8px 0 16px; font-size: 26px; line-height: 1.05; }
.tuto-dlg .disp { font-size: 22px; }
.tuto-x { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border: 0; border-radius: 10px; background: transparent; color: var(--ink2); font-size: 22px; line-height: 1; cursor: pointer; }
.tuto-x:hover { background: var(--panel2); color: var(--ink); }
.tuto-steps { display: flex; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; counter-reset: s; }
.tuto-steps li { flex: 1; display: flex; gap: 8px; font-size: 13px; line-height: 1.35; color: var(--ink2); transition: color .25s; counter-increment: s; }
.tuto-steps li::before { content: counter(s); flex: 0 0 auto; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--panel2); font: 600 11px var(--mono); transition: background-color .25s, color .25s; }
.tuto-steps li.on { color: var(--ink); }
.tuto-steps li.on::before { background: var(--sig); color: var(--dark); }
.tuto-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 20px; }
@media (max-width: 520px) { .tuto-steps { flex-direction: column; } .tuto-dlg { padding: 20px 16px; } }
@media (prefers-reduced-motion: reduce) { .tuto-dlg[open], .tuto-pill { animation: none; transition: none; } }

/* ---------- Toggle liquide (29 oct. 2026, liquid.js) : tarifs (1 / 3 / 6 / 12 mois) et FR / EN ---------- */
.seg.liquid, .langs.liquid { position: relative; isolation: isolate; }
.seg.liquid > button, .langs.liquid > button { position: relative; z-index: 1; transition: color .25s; }
.seg.liquid > button[aria-pressed="true"], .langs.liquid > button[aria-pressed="true"] { background: transparent; }
.liquid-drop { position: absolute; z-index: 0; left: 0; top: 0; background: var(--ink); pointer-events: none; transform-origin: center; }

/* ---------- Formes arrondies et petits détails de motion (29 oct. 2026, maquette design/landing/maquette-arrondi.html) ----------
   Comme dans l'app : pastilles pour les boutons, cartes et images arrondies. Animations en transform / opacity ;
   ce qui attend une animation n'est caché que si le script tourne (html.motion). */
:root { --smooth: cubic-bezier(.22, 1, .36, 1); }
.btn, .chips button, .langs, .langs button, .seg, .seg button, .mon-br, .before-after .raw .mono, .scroll-cue, .liquid-drop, .ribbon { border-radius: 999px; }
.seg, .langs { padding: 3px; }
.ribbon { padding-inline: 10px; }
.tl-field, .access input[type="email"] { border-radius: 14px; }
.plan, .qa, .qa-cta, .ana-card, .access, .timeline, .month, .pack-foot { border-radius: 24px; }
.qa { overflow: hidden; }
.day, .regie-item { border-radius: 16px; }
.month-grid span { border-radius: 7px; }
.monitor, .hero-film, .before-after .raw, .lib figure, .lib .lib-cta { border-radius: 18px; overflow: hidden; }
.hero-film video { border-radius: 18px; }
.day img, .channel-grid img, .regie-item img { border-radius: 12px; }
.ana-kpi, .ana-alert, .ana-more { border-radius: 18px; }
/* boutons : contour fin sans fond, transitions douces, appui qui s'enfonce */
.btn, .chips button { transition: transform .45s var(--smooth), background-color .35s var(--smooth), border-color .35s var(--smooth), color .35s var(--smooth), box-shadow .35s var(--smooth), filter .35s var(--smooth); }
.chips button, .btn-ghost, .langs, .seg { background-color: transparent; border: 1px solid var(--line2); }
.chips button:hover, .btn-ghost:hover { border-color: var(--ink2); color: var(--ink); }
.langs > button, .seg > button { background: transparent; border: 0; }
.btn:active, .chips button:active { transform: scale(.97); transition-duration: .12s; }
.btn:focus-visible, .chips button:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(255, 74, 43, .35); }
/* filtres de la bibliothèque : la pastille liquide (liquid.js) glisse d'une catégorie à l'autre */
#bibliotheque .chips.liquid { position: relative; isolation: isolate; }
#bibliotheque .chips.liquid > button { position: relative; z-index: 1; }
#bibliotheque .chips.liquid > button[aria-pressed="true"] { background: transparent; border-color: transparent; }
/* catégorie choisie : ses 11 images s'affichent, même sur tablette (où la grille s'arrête à 5) */
.lib.lib-cat figure:not([hidden]) { display: block; }
/* écarts : 34 px entre les blocs partout */
#bibliotheque .lib { margin-top: 0; }
#pack .sec-cta { margin-top: 0; }
/* barre du haut : capsule discrète qui reste en haut ; plus nette en défilant, cachée en descendant */
.top { position: sticky; top: 10px; z-index: 50; margin: 14px auto 0; width: min(calc(100% - 28px), 1360px); padding: 10px 12px 10px 24px; border-radius: 999px;
  background: rgba(255, 255, 255, .018); border: 1px solid rgba(255, 255, 255, .05); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  transition: transform .5s var(--smooth), padding .4s var(--smooth), background-color .4s, border-color .4s; }
.scrolled .top { padding: 8px 10px 8px 22px; background: rgba(14, 13, 12, .62); border-color: rgba(255, 255, 255, .07); }
.top-hide .top { transform: translateY(calc(-100% - 20px)); }
/* haut de page : les deux traits orange se tracent à l'ouverture */
.motion .lead .hl { text-decoration: none; background: linear-gradient(var(--sig), var(--sig)) 0 100% / 0% 2px no-repeat; padding-bottom: 4px; transition: background-size 1s var(--smooth) .5s; }
.motion .lead .hl ~ .hl { transition-delay: .8s; }
.motion-ready .lead .hl { background-size: 100% 2px; }
/* 4 points clés : traits neutres ; un trait orange les parcourt une fois puis reste sur « Libres d'usage commercial » */
.motion .keys strong { position: relative; border-top-color: var(--line2); }
.motion .keys strong::before { content: ''; position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: var(--sig); transform: scaleX(0); transform-origin: left; }
.motion .keys.mo-in strong::before { animation: mo-key 1.1s var(--smooth) both; animation-delay: calc(.2s + var(--i) * .35s); }
.motion .keys.mo-in strong.hot::before { animation-name: mo-key-stay; }
@keyframes mo-key { 0% { transform: scaleX(0); opacity: 1; } 45% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes mo-key-stay { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* calendrier : les jours programmés s'allument l'un après l'autre */
.motion .week:not(.mo-in) .day, .motion .month-grid:not(.mo-in) span.busy { opacity: 0; }
.motion .week.mo-in .day { animation: mo-up .7s var(--smooth) both; animation-delay: calc(var(--i) * 70ms); }
.motion .month-grid.mo-in span.busy { animation: mo-pop .5s var(--smooth) both; animation-delay: calc(.3s + var(--i) * 45ms); }
@keyframes mo-up { from { opacity: 0; transform: translateY(12px); } }
@keyframes mo-pop { from { opacity: 0; transform: scale(.6); } }
/* analyses : barres qui se remplissent, courbe qui monte, chiffres qui roulent */
.ana-bars li i { position: relative; overflow: hidden; background: var(--line2); border-radius: 999px; }
.ana-bars li i::before { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--sig); border-radius: inherit; }
.ana-bars li i.dn::before { background: var(--ink3); }
.motion .ana-bars li i::before { transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--smooth); transition-delay: calc(.2s + var(--i) * 120ms); }
.motion .ana-bars.mo-in li i::before { transform: scaleX(1); }
.ana-spark i { border-radius: 4px 4px 0 0; }
.motion .ana-spark i { transform: scaleY(0); transform-origin: bottom; transition: transform .8s var(--smooth); transition-delay: calc(.25s + var(--i) * 50ms); }
.motion .ana-spark.mo-in i { transform: scaleY(1); }
.mo-d { display: inline-block; vertical-align: top; height: var(--L); line-height: var(--L); overflow: hidden; overflow: visible clip; }
.mo-d > span { display: block; }
.mo-d > span > span { display: block; height: var(--L); }
.mo-c { display: inline-block; vertical-align: top; height: var(--L); line-height: var(--L); white-space: pre; }
/* FAQ : le + tourne en ×, la réponse glisse */
.qa summary::after { display: inline-block; transition: transform .45s var(--smooth), color .3s; }
.qa[open] summary::after { content: '+'; transform: rotate(45deg); color: var(--sig); }
.qa.mo-opening p { animation: mo-ans .5s var(--smooth) both; }
@keyframes mo-ans { from { opacity: 0; transform: translateY(-6px); } }
/* flèches : même petit glissement partout */
.arw, .lib-cta .serif, .ana-arrow, .m-also-arw, .qa-cta .mono, .cs-ext, .qa-link { display: inline-block; transition: transform .45s var(--smooth); }
.btn:hover .arw, .lib-cta:hover .serif, a:hover .ana-arrow, .m-also:hover .m-also-arw, .qa-cta:hover .mono, .cs-ext:hover, .qa-link:hover { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) {
  .motion .week .day, .motion .month-grid span.busy, .qa.mo-opening p { animation: none !important; opacity: 1 !important; }
  .motion .ana-bars li i::before, .motion .ana-spark i { transform: none !important; transition: none; }
  .motion .keys strong::before { animation: none !important; } .motion .keys strong.hot::before { transform: none; }
  .motion .lead .hl { transition: none; background-size: 100% 2px; }
  .top { transition: none; } .top-hide .top { transform: none; }
  .btn:active, .chips button:active { transform: none; }
}
