/* Dante OS — le site. Même langage que l'appli : fond nuit, accent orangé, étiquettes « DANTE / … » espacées,
   filets fins, rien qui clignote sans raison. Aucune police, aucun script, aucun traqueur chargé d'ailleurs. */
:root {
  --bg: #07080c;
  --bg-2: #0d0f16;
  --bg-3: #141722;
  --ink: #ece8df;
  --ink-2: #b6b1a6;
  --ink-3: #7d7a73;
  --line: rgba(236, 232, 223, 0.10);
  --line-2: rgba(236, 232, 223, 0.18);
  --accent: #f2a24b;
  --accent-ink: #ffcf96;
  --accent-soft: rgba(242, 162, 75, 0.12);
  --violet: #9a8cff;
  --violet-soft: rgba(154, 140, 255, 0.13);
  --root: #ff7a6b;
  --root-soft: rgba(255, 122, 107, 0.12);
  --ok: #7fd1a8;
  --radius: 14px;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Ubuntu Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 var(--sans);
  overflow-x: hidden;
}
#stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img, video { max-width: 100%; display: block; }
code, kbd { font-family: var(--mono); font-size: 0.88em; background: var(--bg-3); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; word-break: break-all; }
pre { font-family: var(--mono); font-size: 13px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; overflow-x: auto; }
pre code { background: none; border: 0; padding: 0; word-break: normal; }
h1, h2, h3 { line-height: 1.2; font-weight: 650; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h1 { font-size: clamp(30px, 5.4vw, 54px); letter-spacing: -0.025em; }
h2 { font-size: clamp(22px, 3vw, 30px); }
h3 { font-size: 18px; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 32px); margin: 0 auto; }

/* Étiquette façon Dante : « DANTE / INFOS » */
.tag { font: 600 11px/1 var(--mono); letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); display: inline-flex; gap: 8px; align-items: center; }
.tag b { color: var(--accent); font-weight: 700; }
.tag::before { content: ""; width: 18px; height: 2px; background: var(--accent); display: inline-block; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 20; background: rgba(7, 8, 12, 0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 18px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; letter-spacing: 0.02em; white-space: nowrap; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand:hover { text-decoration: none; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { color: var(--ink-2); font-size: 14px; padding: 8px 11px; border-radius: 9px; }
.nav a:hover { color: var(--ink); background: var(--bg-3); text-decoration: none; }
.nav a.on { color: var(--ink); background: var(--bg-3); }
.nav .lang { font: 600 12px var(--mono); letter-spacing: 0.08em; border: 1px solid var(--line-2); margin-left: 6px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line-2); color: var(--ink); border-radius: 9px; padding: 7px 10px; font: inherit; font-size: 14px; }
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 60px; flex-direction: column; align-items: stretch; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 8px 16px 14px; }
  .nav.open { display: flex; }
  .nav .lang { margin: 6px 0 0; text-align: center; }
}

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 12px 18px; border-radius: 12px; font-weight: 600; font-size: 15px; border: 1px solid var(--line-2); color: var(--ink); background: var(--bg-3); }
.btn:hover { text-decoration: none; border-color: var(--accent); }
.btn.main { background: var(--accent); color: #1b1206; border-color: var(--accent); }
.btn.main:hover { background: var(--accent-ink); }
.btn svg { width: 18px; height: 18px; }

/* Accueil */
.hero { position: relative; padding: clamp(40px, 8vw, 96px) 0 48px; }
.hero .hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { font-size: clamp(17px, 1.7vw, 20px); color: var(--ink-2); max-width: 34em; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 18px; }
.hero .small { font-size: 13px; color: var(--ink-3); }
.planet { position: relative; aspect-ratio: 1; width: min(100%, 520px); justify-self: center; }
.planet svg { width: 100%; height: 100%; overflow: visible; }
.planet .ring { animation: ringdrift 6s linear infinite; }
@keyframes ringdrift { to { stroke-dashoffset: -110; } }
@media (prefers-reduced-motion: reduce) { .planet .ring { animation: none; } }
@media (max-width: 860px) {
  .hero .hero-grid { grid-template-columns: 1fr; }
  .planet { width: min(80%, 360px); order: -1; }
}

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 10px; }
.facts div { padding: 16px 18px; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts strong { display: block; font-size: 26px; line-height: 1.1; }
.facts span { font-size: 13px; color: var(--ink-3); }
@media (max-width: 640px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div:nth-child(2) { border-right: 0; }
  .facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

.band { padding: 64px 0; border-top: 1px solid var(--line); }
.band > .wrap > .tag { margin-bottom: 14px; }
.band h2 { max-width: 24em; }
.band .intro { color: var(--ink-2); max-width: 44em; }

/* Les familles : une liste dense, pas des cartes décoratives */
.families { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; margin-top: 26px; }
.families a { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--ink); }
.families a:hover { text-decoration: none; background: linear-gradient(90deg, var(--accent-soft), transparent 70%); }
.families .n { font: 600 12px var(--mono); color: var(--accent); }
.families .t { font-weight: 600; }
.families .d { display: block; font-size: 14px; color: var(--ink-3); font-weight: 400; }
.families .c { font: 12px var(--mono); color: var(--ink-3); white-space: nowrap; }
@media (max-width: 760px) { .families { grid-template-columns: 1fr; } }

.shots { display: flex; gap: 14px; overflow-x: auto; padding: 6px 2px 14px; scroll-snap-type: x mandatory; margin-top: 24px; }
.shots figure { margin: 0; flex: 0 0 auto; width: 210px; scroll-snap-align: start; }
.shots img { border-radius: 18px; border: 1px solid var(--line-2); aspect-ratio: 9 / 19.5; object-fit: cover; width: 100%; }
.shots figcaption { font-size: 13px; color: var(--ink-3); margin-top: 8px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.split video { width: min(100%, 300px); border-radius: 22px; border: 1px solid var(--line-2); margin: 0 auto; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

.check { list-style: none; padding: 0; margin: 0 0 1em; }
.check li { padding: 7px 0 7px 28px; position: relative; border-bottom: 1px solid var(--line); }
.check li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* Encyclopédie */
.ency { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 40px; padding: 34px 0 80px; }
.side { position: sticky; top: 80px; align-self: start; max-height: calc(100vh - 100px); overflow-y: auto; padding-right: 6px; }
.side .s-title { font: 600 11px var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin: 18px 0 6px; }
.side a { display: block; font-size: 14px; color: var(--ink-2); padding: 4px 10px; border-left: 2px solid transparent; }
.side a:hover { color: var(--ink); text-decoration: none; }
.side a.on { color: var(--ink); border-left-color: var(--accent); background: var(--accent-soft); }
.side details summary { cursor: pointer; list-style: none; font-size: 14px; color: var(--ink); padding: 6px 4px; font-weight: 600; }
.side details summary::-webkit-details-marker { display: none; }
.side details summary::before { content: "›"; display: inline-block; width: 14px; color: var(--accent); transition: transform 0.15s; }
.side details[open] summary::before { transform: rotate(90deg); }
.side details a { margin-left: 14px; }
.search { position: relative; }
.search input { width: 100%; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 11px; color: var(--ink); font: inherit; font-size: 15px; padding: 11px 14px 11px 38px; }
.search input:focus { outline: none; border-color: var(--accent); }
.search svg { position: absolute; left: 12px; top: 50%; translate: 0 -50%; width: 17px; height: 17px; color: var(--ink-3); }
.results { margin-top: 8px; }
.results a { display: block; padding: 8px 10px; border-radius: 9px; color: var(--ink); font-size: 14px; }
.results a:hover, .results a.hl { background: var(--bg-3); text-decoration: none; }
.results small { display: block; color: var(--ink-3); font-size: 12px; }
.results .none { font-size: 13px; color: var(--ink-3); padding: 8px 10px; }
@media (max-width: 900px) {
  .ency { grid-template-columns: 1fr; gap: 18px; }
  .side { position: static; max-height: none; overflow: visible; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
  .side .tree { display: none; }
  .side.open .tree { display: block; }
  .side .tree-btn { display: block; }
}
.tree-btn { display: none; width: 100%; margin-top: 10px; background: var(--bg-3); border: 1px solid var(--line-2); color: var(--ink); border-radius: 10px; padding: 9px; font: inherit; font-size: 14px; }

.crumbs { font: 12px var(--mono); color: var(--ink-3); letter-spacing: 0.04em; margin-bottom: 14px; }
.crumbs a { color: var(--ink-3); }
.badges { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 14px; }
.badge { font: 600 11px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 9px; border-radius: 7px; border: 1px solid var(--line-2); color: var(--ink-2); }
.badge.root { color: var(--root); border-color: rgba(255, 122, 107, 0.4); background: var(--root-soft); }
.badge.free { color: var(--ok); border-color: rgba(127, 209, 168, 0.35); }
.badge.full { color: var(--violet); border-color: rgba(154, 140, 255, 0.4); background: var(--violet-soft); }
.fiche h1 { font-size: clamp(28px, 4vw, 40px); }
.fiche .summary { font-size: 19px; color: var(--ink-2); max-width: 36em; }
.fiche .cols { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 34px; margin-top: 26px; }
.fiche .cols.noshot { grid-template-columns: minmax(0, 1fr); max-width: 46em; }
.fiche h3 { margin-top: 26px; font-size: 13px; font: 600 12px var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.fiche ol { padding-left: 0; list-style: none; counter-reset: st; }
.fiche ol li { counter-increment: st; position: relative; padding: 8px 0 8px 40px; border-bottom: 1px solid var(--line); }
.fiche ol li::before { content: counter(st, decimal-leading-zero); position: absolute; left: 0; top: 9px; font: 600 12px var(--mono); color: var(--accent); }
.fiche .tips { border-left: 2px solid var(--accent); background: var(--accent-soft); padding: 12px 16px; border-radius: 0 10px 10px 0; }
.fiche .tips p:last-child { margin: 0; }
.fiche .shot img { border-radius: 18px; border: 1px solid var(--line-2); }
.fiche .see { margin-top: 34px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
.fiche .see a { margin-right: 14px; }
.pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; }
.pager a { flex: 1; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; color: var(--ink); font-size: 14px; }
.pager a:hover { border-color: var(--accent); text-decoration: none; }
.pager small { display: block; color: var(--ink-3); font: 11px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }
.pager .next { text-align: right; }
@media (max-width: 760px) { .fiche .cols { grid-template-columns: 1fr; } .fiche .shot { max-width: 260px; } }

.sec-list { margin: 20px 0 40px; }
.sec-list > a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; padding: 12px 6px; border-bottom: 1px solid var(--line); color: var(--ink); }
.sec-list > a:hover { text-decoration: none; background: var(--bg-2); }
.sec-list .s { display: block; color: var(--ink-3); font-size: 14px; }
.sec-list .b { display: flex; gap: 6px; align-items: center; }

/* Pages simples */
.page { padding: 44px 0 80px; }
.page .narrow { max-width: 760px; }
.page h2 { margin-top: 40px; }
.page h3 { margin-top: 28px; }
.page ul { padding-left: 20px; }
.page li { margin: 4px 0; }
.panel { border: 1px solid var(--line-2); border-radius: var(--radius); padding: 22px; background: var(--bg-2); position: relative; overflow: hidden; }
.panel::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); }
.dl-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 22px; margin: 26px 0; }
@media (max-width: 760px) { .dl-grid { grid-template-columns: 1fr; } }
.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 16px; font-size: 14px; }
.kv dt { color: var(--ink-3); }
.kv dd { margin: 0; }
table.cmp { width: 100%; border-collapse: collapse; font-size: 15px; margin: 18px 0; }
table.cmp th, table.cmp td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.cmp th { font: 600 11px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
table.cmp td:not(:first-child), table.cmp th:not(:first-child) { text-align: center; width: 120px; }
.yes { color: var(--ok); font-weight: 700; }
.no { color: var(--ink-3); }
.price { font-size: 48px; font-weight: 700; line-height: 1; }
.price small { font-size: 16px; color: var(--ink-3); font-weight: 400; }
.track { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; align-items: center; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 18px; background: var(--bg-2); margin: 18px 0; }
.track .cover { aspect-ratio: 1; border-radius: 12px; background: radial-gradient(circle at 40% 45%, #f6c983 0 18%, #b9773a 19% 22%, transparent 23%), radial-gradient(ellipse 48% 12% at 50% 50%, transparent 60%, rgba(242,162,75,0.7) 62% 68%, transparent 70%), #0d0f16; }
.track audio { width: 100%; margin-top: 8px; }
@media (max-width: 560px) { .track { grid-template-columns: 1fr; } .track .cover { width: 120px; } }

/* Pied de page */
.foot { border-top: 1px solid var(--line); padding: 34px 0 44px; color: var(--ink-3); font-size: 14px; }
.foot .wrap { display: flex; gap: 24px; flex-wrap: wrap; justify-content: space-between; }
.foot nav { display: flex; gap: 16px; flex-wrap: wrap; }
.foot a { color: var(--ink-2); }

/* Médias partout : rails, grilles, vidéos qui jouent seules quand elles sont à l'écran */
.shots figure video, .grid-media video, .fiche .shot video { width: 100%; aspect-ratio: 9 / 19.5; object-fit: cover; border-radius: 18px; border: 1px solid var(--line-2); background: var(--bg-2); }
.shots.rail figure { width: 200px; }
.shots figure a img, .grid-tel img { transition: transform 0.2s, border-color 0.2s; }
.shots figure a:hover img, .grid-tel a:hover img { transform: translateY(-3px); border-color: var(--accent); }
.grid-tel, .grid-media { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; margin-top: 24px; }
.grid-tel figure, .grid-media figure { margin: 0; }
.grid-tel img, .grid-media img { width: 100%; aspect-ratio: 9 / 19.8; object-fit: cover; object-position: top; border-radius: 16px; border: 1px solid var(--line-2); }
.grid-tel figcaption, .grid-media figcaption, .fiche .shot figcaption { font-size: 13px; color: var(--ink-3); margin-top: 7px; }
.page .grid-media { margin-bottom: 20px; }
video.tall { width: min(100%, 300px); aspect-ratio: 9 / 19.5; border-radius: 22px; border: 1px solid var(--line-2); background: var(--bg-2); margin: 0 auto; }
.fiche .shot { display: flex; flex-direction: column; gap: 18px; }
.fiche .shot figure { margin: 0; }
@media (max-width: 760px) {
  .fiche .shot { flex-direction: row; overflow-x: auto; max-width: none; scroll-snap-type: x mandatory; }
  .fiche .shot figure { flex: 0 0 210px; scroll-snap-align: start; }
}
.album { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 30px; align-items: center; margin: 26px 0; }
.album .cover { width: 100%; border-radius: 16px; border: 1px solid var(--line-2); }
@media (max-width: 700px) { .album { grid-template-columns: 1fr; } .album .cover { width: min(100%, 320px); } }
.tracks { list-style: none; padding: 0; margin: 10px 0 30px; border-top: 1px solid var(--line); }
.tracks li { display: grid; grid-template-columns: 34px minmax(0, 1fr) 50px minmax(0, 300px); gap: 12px; align-items: center; padding: 10px 4px; border-bottom: 1px solid var(--line); }
.tracks .tn { font: 600 12px var(--mono); color: var(--accent); }
.tracks .tt { font-weight: 600; }
.tracks .td { font: 12px var(--mono); color: var(--ink-3); }
.tracks audio { width: 100%; height: 36px; }
@media (max-width: 700px) { .tracks li { grid-template-columns: 30px minmax(0, 1fr) 44px; } .tracks audio { grid-column: 1 / -1; } }
.shots.rail figure.w { width: 300px; }
figure.w video, .shots figure.w video, .grid-media figure.w video, .fiche .shot figure.w video { aspect-ratio: 540 / 780; }
.grid-media figure.w { grid-column: span 2; }
.wide-img { margin: 24px 0 6px; }
.wide-img img { width: 100%; border-radius: 16px; border: 1px solid var(--line-2); }
.wide-img figcaption { font-size: 13px; color: var(--ink-3); margin-top: 8px; }

/* Accessibilité : lien d'évitement, focus visible, texte discret plus lisible (contraste ≥ 4,5:1) */
:root { --ink-3: #928e86; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--accent); color: #1b1206; padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.faq { margin-top: 22px; border-top: 1px solid var(--line); max-width: 52em; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 14px 32px 14px 4px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 10px; font: 400 22px var(--mono); color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--ink-2); padding: 0 4px 12px; margin: 0; }
.dl-bar { display: none; }
@media (max-width: 760px) {
  .dl-bar { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 30; align-items: center; gap: 10px; padding: 13px 16px; border-radius: 14px; background: var(--accent); color: #1b1206; font-weight: 700; transform: translateY(140%); transition: transform 0.25s ease; }
  .dl-bar.show { transform: none; }
  .dl-bar:hover { text-decoration: none; }
  .dl-bar svg { width: 18px; height: 18px; }
  .dl-bar small { margin-left: auto; font-weight: 500; opacity: 0.75; }
  .foot { padding-bottom: 90px; }
}
@media (prefers-reduced-motion: reduce) { .dl-bar { transition: none; } }

/* ===================================================================== Majestueux (18/11/2026) */
@font-face { font-family: "Space Grotesk"; src: url("fonts/space-grotesk-medium.woff2") format("woff2"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("fonts/space-grotesk-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
:root { --display: "Space Grotesk", var(--sans); }
h1, h2, .mega, .price, .facts strong { font-family: var(--display); }
h2 { font-weight: 700; letter-spacing: -0.02em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Générique : la galaxie Andromède (rendu Blender d'Anthony) derrière, un vrai téléphone devant */
.hero2 { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 96px 0 40px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: #05060a url("img/hero-andromede.webp") center / cover no-repeat; }
.hero-bg video { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hero-bg video.on { opacity: 1; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background:
  radial-gradient(120% 90% at 75% 40%, transparent 0%, rgba(7, 8, 12, 0.35) 55%, rgba(7, 8, 12, 0.92) 100%),
  linear-gradient(180deg, rgba(7, 8, 12, 0.2) 0%, rgba(7, 8, 12, 0) 40%, rgba(7, 8, 12, 0.95) 100%),
  linear-gradient(90deg, rgba(7, 8, 12, 0.85) 0%, rgba(7, 8, 12, 0.25) 55%, rgba(7, 8, 12, 0) 100%); }
@media (max-width: 860px) { .hero-bg { background-image: url("img/hero-andromede-tel.webp"); } }
.hero2-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 40px; align-items: center; }
.mega { font-size: clamp(64px, 12vw, 168px); line-height: 0.9; letter-spacing: -0.045em; font-weight: 700; margin: 18px 0 12px;
  background: linear-gradient(180deg, #fff8ec 0%, #ffd9a6 55%, #f2a24b 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 10px 40px rgba(242, 162, 75, 0.25)); }
.mega span:not(.sr) { -webkit-text-stroke: 1.5px rgba(255, 217, 166, 0.85); color: transparent; background: none; }
.hero-line { font-family: var(--display); font-size: clamp(22px, 2.6vw, 32px); font-weight: 600; margin: 0 0 14px; color: var(--ink); letter-spacing: -0.01em; }
.hero2 .lead { font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-2); max-width: 32em; }
.hero2 .cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 16px; }
.btn.big { padding: 15px 22px; font-size: 16px; border-radius: 14px; }
.btn.main { box-shadow: 0 10px 40px -10px rgba(242, 162, 75, 0.7); }
.btn.ghost { background: rgba(13, 15, 22, 0.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero2 .small { font-size: 13px; color: var(--ink-3); }
.hero2-device { display: flex; justify-content: center; }
.hero2 .facts { margin-top: 48px; background: rgba(7, 8, 12, 0.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.scroll-cue { position: absolute; left: 50%; bottom: 18px; translate: -50% 0; width: 26px; height: 42px; border: 2px solid rgba(236, 232, 223, 0.35); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--accent); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 860px) {
  .hero2 { padding-top: 84px; }
  .hero2-grid { grid-template-columns: 1fr; text-align: left; }
  .hero2-device { order: 2; }
  .scroll-cue { display: none; }
}

/* Le téléphone */
.phone { position: relative; width: min(100%, 320px); aspect-ratio: 9 / 19.6; border-radius: 48px; padding: 11px;
  background: linear-gradient(150deg, #3a3e4a 0%, #15171d 35%, #0b0c10 70%, #2a2d36 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.10) inset, 0 0 0 1px rgba(0, 0, 0, 0.6), 0 50px 120px -40px rgba(242, 162, 75, 0.45), 0 40px 80px -20px rgba(0, 0, 0, 0.8); }
.phone::before { content: ""; position: absolute; top: 22px; left: 50%; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%; background: #05060a; box-shadow: 0 0 0 2px #1d2027; z-index: 2; }
.phone::after { content: ""; position: absolute; right: -3px; top: 22%; width: 3px; height: 70px; border-radius: 0 3px 3px 0; background: #2a2d36; }
.phone .screen { width: 100%; height: 100%; border-radius: 38px; overflow: hidden; background: #000; }
.phone .screen video, .phone .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; border: 0; border-radius: 0; }
.phone.hero-phone { width: min(100%, 340px); transform: perspective(1400px) rotateY(-14deg) rotateX(4deg); transition: transform 0.6s ease; }
.phone.hero-phone:hover { transform: perspective(1400px) rotateY(-4deg) rotateX(2deg); }
.phone.big { width: min(100%, 360px); margin: 26px auto 0; }
@media (max-width: 860px) { .phone.hero-phone { width: min(78%, 300px); transform: none; } }

/* Les rails et grilles prennent aussi un air de téléphone */
.shots figure img, .shots figure video, .grid-tel img, .grid-media img, .grid-media video, .fiche .shot img, .fiche .shot video {
  border: 4px solid #15171e !important; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 18px 40px -18px rgba(0, 0, 0, 0.9); border-radius: 26px; }
.shots figure.w video, .grid-media figure.w video { border-radius: 18px; }

/* Le bandeau qui défile */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: linear-gradient(90deg, rgba(242, 162, 75, 0.06), rgba(154, 140, 255, 0.06)); padding: 16px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.mq-track { display: flex; gap: 34px; width: max-content; animation: mq 60s linear infinite; }
.mq-track span { font-family: var(--display); font-size: 18px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.mq-track span::before { content: "✦"; color: var(--accent); margin-right: 34px; font-size: 13px; vertical-align: 2px; }
@keyframes mq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .mq-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .scroll-cue span { animation: none; } }

/* Les chapitres */
.chapter { padding: clamp(70px, 10vw, 130px) 0 60px; border-top: 1px solid var(--line); position: relative; }
.chapter::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 80% 30%, rgba(242, 162, 75, 0.07), transparent 70%); }
.chapter.flip::before { background: radial-gradient(60% 50% at 20% 30%, rgba(154, 140, 255, 0.08), transparent 70%); }
.chap-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(30px, 6vw, 80px); align-items: center; }
.chapter.flip .chap-text { order: 2; }
.chap-text { position: relative; }
.chap-num { position: absolute; top: -0.55em; left: -0.08em; z-index: -1; font-family: var(--display); font-weight: 700; font-size: clamp(110px, 16vw, 220px); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(242, 162, 75, 0.22); pointer-events: none; }
.chapter h2 { font-size: clamp(30px, 4.6vw, 56px); line-height: 1.02; margin: 16px 0 16px; letter-spacing: -0.03em; }
.chapter .intro { font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-2); max-width: 34em; }
.chapter .check { max-width: 34em; margin-top: 18px; }
.more { display: inline-flex; gap: 8px; margin-top: 18px; font-weight: 600; color: var(--accent-ink); }
.more span { transition: transform 0.2s; }
.more:hover span { transform: translateX(4px); }
.chap-device { display: flex; justify-content: center; }
.chapter .shots.rail { margin-top: 48px; }
.chapter .wide-img { margin-top: 48px; }
.credit { color: var(--ink-3); font-size: 12px; margin-top: 8px; }
@media (max-width: 860px) {
  .chap-grid { grid-template-columns: 1fr; }
  .chapter.flip .chap-text { order: 0; }
  .chap-device .phone { width: min(72%, 300px); }
}

/* Bande-annonce et final */
.trailer { text-align: center; }
.trailer .intro { margin-inline: auto; }
.finale { padding: clamp(90px, 12vw, 160px) 0; position: relative; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); }
.finale::before { content: ""; position: absolute; inset: -10%; z-index: -1; background: url("img/pochette-saturne.webp") center / cover no-repeat; opacity: 0.55; filter: saturate(1.1); }
.finale::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 70% at 50% 50%, rgba(7, 8, 12, 0.35), rgba(7, 8, 12, 0.95)); }
.finale-inner { text-align: center; max-width: 760px; margin: 0 auto; }
.finale h2 { font-size: clamp(36px, 6vw, 72px); line-height: 1; letter-spacing: -0.035em; margin: 18px 0; }
.finale .intro { margin: 0 auto; color: var(--ink-2); font-size: 18px; }
.finale .cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin: 30px 0 18px; }

/* Apparition en douceur au défilement : seulement là où le navigateur sait le faire tout seul (aucun script) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
    @keyframes rise { from { opacity: 0; transform: translateY(46px) scale(0.985); } to { opacity: 1; transform: none; } }
  }
}

/* Dans le Guide de l'appli : pas de barre « Télécharger » (on est déjà dans Dante), un bouton pour ouvrir le module. */
.in-app .dl-bar { display: none !important; }
.app-open { display: inline-flex; margin: 4px 0 18px; }
/* Web seulement (télécharger, installer) / appli seulement : choisis par la classe in-app (static/app.js). */
[data-app] { display: none !important; }
.in-app [data-web] { display: none !important; }
.in-app [data-app] { display: revert !important; }
