/* Boutique UV Studio.
   Identité : le bleu d'incrustation (fond bleu des plateaux de tournage), une seule famille de caractères
   (Bricolage Grotesque, variable : graisse, largeur, taille optique), la page lue comme une timeline. */
@font-face {
  font-family: "Bricolage";
  src: url("fonts/BricolageGrotesque.ttf") format("truetype");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}

:root {
  --blue: #1f3cff;        /* incrustation */
  --blue-deep: #1229c7;
  --ink: #0b1033;         /* encre bleu nuit */
  --paper: #f2f3f7;       /* papier froid */
  --rule: #c9cde0;        /* calque */
  --muted: #4a5175;
  --signal: #ffd23f;      /* jaune des mires */
  --white: #ffffff;
  --danger: #c8213d;
  --ok: #0a7a55;
  --radius-s: 6px;
  --radius-l: 18px;
  --gutter: clamp(16px, 4vw, 56px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Bricolage", "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-optical-sizing: auto;
  font-variation-settings: "wdth" 100;
}
img, video { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
main { max-width: 1120px; margin: 0 auto; padding: 32px var(--gutter) 64px; }
body.home main { max-width: none; padding: 0; }
h1, h2, h3 { line-height: 1.08; margin: 0 0 .5em; font-weight: 700; font-stretch: 85%; letter-spacing: -.01em; }
h1 { font-size: clamp(34px, 5vw, 56px); }
h2 { font-size: clamp(24px, 3vw, 32px); margin-top: 1.4em; }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
code { background: var(--white); border: 1px solid var(--rule); padding: 1px 5px; border-radius: 4px; font-size: 14px; }
.small { font-size: 14px; color: var(--muted); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; border-radius: 2px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--white); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* En-tête */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding: 16px var(--gutter); background: var(--paper); border-bottom: 1px solid var(--rule); }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 700; font-size: 19px; font-stretch: 85%; }
.brand img { border-radius: 7px; }
.brand small { color: var(--blue); font-weight: 600; font-size: 13px; }
.top nav { display: flex; gap: 6px 22px; flex-wrap: wrap; align-items: center; }
.top nav a { color: inherit; text-decoration: none; font-size: 15px; font-weight: 500; }
.top nav a:hover { text-decoration: underline; }
.top nav .nav-cta { background: var(--ink); color: var(--white); padding: 7px 14px; border-radius: 999px; }
.top nav .nav-cta:hover { text-decoration: none; background: var(--blue); }
body.home .top { background: var(--blue); color: var(--white); border-bottom: 0; }
body.home .top .nav-cta { background: var(--white); color: var(--blue); }
body.home .top .nav-cta:hover { background: var(--signal); color: var(--ink); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 22px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); text-decoration: none; font: inherit; font-weight: 600; font-size: 16px; cursor: pointer; transition: background-color .15s, color .15s; }
.btn:hover { background: var(--ink); color: var(--white); }
.btn.primary { background: var(--blue); border-color: var(--blue); color: var(--white); }
.btn.primary:hover { background: var(--ink); border-color: var(--ink); }
.btn.big { width: 100%; min-height: 56px; font-size: 18px; }
.btn.small { min-height: 0; padding: 4px 12px; font-size: 14px; color: var(--ink); }
.btn.danger { color: var(--danger); border-color: var(--danger); }
.btn.danger:hover { background: var(--danger); color: var(--white); }
.btn.on-blue { background: var(--white); border-color: var(--white); color: var(--blue); }
.btn.on-blue:hover { background: var(--signal); border-color: var(--signal); color: var(--ink); }
.btn.ghost-blue { border-color: rgba(255, 255, 255, .7); color: var(--white); }
.btn.ghost-blue:hover { background: var(--white); color: var(--blue); }

/* ---------- Accueil ---------- */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.display { font-size: clamp(34px, 5.4vw, 76px); font-weight: 750; font-stretch: 78%; line-height: .98; letter-spacing: -.02em; max-width: 15ch; margin: 0 0 .4em; }
.huge { font-size: clamp(52px, 11vw, 176px); font-weight: 800; font-stretch: 75%; line-height: .9; letter-spacing: -.03em; margin: 0 0 .5em; }
.intro { font-size: clamp(17px, 1.6vw, 20px); max-width: 60ch; color: var(--muted); }

/* Ouverture : fond bleu d'incrustation, titre monté « cut par cut », moniteur d'aperçu. */
.hero { background: var(--blue); color: var(--white); padding: clamp(24px, 5vw, 64px) var(--gutter) clamp(48px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0 clamp(24px, 4vw, 64px); align-items: end; max-width: 1600px; margin: 0 auto; box-shadow: 0 0 0 100vmax var(--blue); clip-path: inset(0 -100vmax); }
.hero-title { grid-column: 1 / -1; font-size: clamp(54px, 8.2vw, 150px); font-weight: 800; font-stretch: 75%; line-height: .86; letter-spacing: -.035em; margin: 0 0 .3em; }
.hero-side { grid-column: 1; padding-bottom: 40px; }
.hero-lead { font-size: clamp(17px, 1.5vw, 20px); max-width: 44ch; color: rgba(255, 255, 255, .88); }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin: 8px 0 14px; }
.hero-note { font-size: 14px; color: rgba(255, 255, 255, .7); margin: 0; }
.monitor { grid-column: 2; margin: 0; }
.monitor-screen { aspect-ratio: 16 / 9; background: var(--ink); outline: 1px solid rgba(255, 255, 255, .28); outline-offset: -1px; border-radius: var(--radius-l) var(--radius-l) 0 0; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(5, 10, 60, .55); }
.monitor-screen video { width: 100%; height: 100%; object-fit: cover; }
.monitor-bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 0 0 var(--radius-l) var(--radius-l); font-size: 14px; font-variant-numeric: tabular-nums; }
.monitor-bar .tc { color: var(--signal); font-weight: 600; letter-spacing: .02em; }
.monitor-bar .fmt { color: rgba(255, 255, 255, .6); }
.scrub { height: 4px; background: rgba(255, 255, 255, .18); border-radius: 2px; position: relative; overflow: hidden; }
.scrub i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--white); }
.monitor figcaption { font-size: 13px; color: rgba(255, 255, 255, .7); margin-top: 10px; }

/* Montage d'ouverture : les lignes du titre apparaissent en coupes franches, comme des plans. */
@media (prefers-reduced-motion: no-preference) {
  .hero-title span { opacity: 0; animation: cut 1ms steps(1) forwards; }
  .hero-title span:nth-child(1) { animation-delay: .12s; }
  .hero-title span:nth-child(2) { animation-delay: .32s; }
  .hero-title span:nth-child(3) { animation-delay: .52s; }
  .hero-title span:nth-child(4) { animation-delay: .72s; }
  .monitor { clip-path: inset(0 100% 0 0); animation: wipe .7s cubic-bezier(.7, 0, .2, 1) .9s forwards; }
}
@keyframes cut { to { opacity: 1; } }
@keyframes wipe { to { clip-path: inset(0 0 0 0); } }

/* Le logiciel : la fenêtre du studio pendant la lecture. */
.desk { padding: clamp(64px, 9vw, 128px) 0 clamp(48px, 7vw, 96px); }
.desk-shot { margin: 0 auto clamp(40px, 6vw, 72px); max-width: 1600px; padding: 0 var(--gutter); }
.desk-shot video { width: 100%; height: auto; aspect-ratio: 1600 / 826; border-radius: var(--radius-l); background: var(--ink); box-shadow: 0 50px 100px -50px rgba(11, 16, 51, .55); }

/* Modèles : le chiffre fait partie du titre. */
.models { padding: clamp(48px, 7vw, 96px) 0; background: var(--ink); color: var(--white); overflow: hidden; }
.models-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(24px, 4vw, 64px); align-items: center; }
.models .display { max-width: 14ch; }
.models-count { display: block; font-size: clamp(110px, 17vw, 260px); line-height: .8; color: var(--signal); letter-spacing: -.04em; }
.models-text p { color: rgba(255, 255, 255, .8); max-width: 46ch; }
.models-text .models-cats { color: rgba(255, 255, 255, .55); font-size: 15px; }
.models-shot { margin: 0; }
.models-shot img { width: 100%; height: auto; border-radius: var(--radius-l); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7); }
/* Fonctions présentées comme des pistes de timeline : en-tête de piste à gauche, plan à droite. */
.tracks { display: grid; gap: 6px; }
.track { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 6px; align-items: stretch; }
.track-name { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-s); padding: 14px 16px; font-weight: 650; font-stretch: 85%; }
.track-clip { margin: 0; padding: 14px 18px; border-radius: var(--radius-s); background: var(--blue); color: var(--white); }
.track:nth-child(2) .track-clip { margin-left: 8%; background: var(--ink); }
.track:nth-child(3) .track-clip { margin-left: 22%; background: var(--signal); color: var(--ink); }
.track:nth-child(4) .track-clip { margin-left: 4%; background: var(--white); color: var(--ink); border: 1.5px solid var(--ink); }

/* Voix */
.voices { padding: clamp(64px, 9vw, 128px) 0; background: var(--white); border-block: 1px solid var(--rule); }
.voices-lang { font-size: 15px; font-weight: 600; color: var(--muted); margin: 32px 0 10px; font-stretch: 100%; }
.voice-wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.voice { width: 100%; text-align: left; display: grid; gap: 2px; padding: 14px 16px 16px; border: 1.5px solid var(--rule); border-radius: var(--radius-s); background: var(--paper); color: var(--ink); font: inherit; cursor: pointer; position: relative; overflow: hidden; }
.voice:hover { border-color: var(--ink); }
.voice-name { font-size: clamp(22px, 2.4vw, 32px); font-weight: 700; font-stretch: 80%; line-height: 1.05; }
.voice-meta { font-size: 13px; color: var(--muted); }
.voice::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: var(--p, 0%); background: var(--blue); }
.voice[aria-pressed="true"] { border-color: var(--blue); background: var(--white); }
.voice[aria-pressed="true"] .voice-meta::before { content: "Lecture… "; color: var(--blue); }
.clone { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 8px 40px; padding: clamp(20px, 3vw, 36px); border-radius: var(--radius-l); background: var(--ink); color: var(--white); }
.clone-title { font-size: clamp(30px, 3.6vw, 48px); font-weight: 800; font-stretch: 75%; line-height: 1; margin: 0; color: var(--signal); }
.clone p:last-child { margin: 0; color: rgba(255, 255, 255, .85); max-width: 60ch; }

/* Local */
.local { padding: clamp(72px, 11vw, 160px) 0; }
.local .huge { max-width: 11ch; }
.local-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px clamp(20px, 3vw, 48px); border-top: 2px solid var(--ink); padding-top: 24px; }
.local-grid p { margin: 0; color: var(--muted); }
.local-grid b { display: block; color: var(--ink); font-size: 20px; font-stretch: 85%; margin-bottom: 4px; }

/* Gratuit / Pro */
.plans-home { padding: clamp(48px, 7vw, 96px) 0; }
.versus { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 16px; align-items: stretch; }
.tier { border: 1.5px solid var(--ink); border-radius: var(--radius-l); padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; }
.tier-name { font-weight: 650; margin: 0; }
.tier-price { font-size: clamp(38px, 5vw, 64px); font-weight: 800; font-stretch: 75%; line-height: 1; margin: 8px 0 8px; font-variant-numeric: tabular-nums; }
.tier-price s { display: block; font-size: 18px; font-weight: 500; font-stretch: 100%; opacity: .6; margin-bottom: 6px; }
.tier-sub { font-size: 15px; margin: 0 0 8px; }
.tier ul { list-style: none; margin: 12px 0 24px; padding: 0; flex: 1; }
.tier li { padding: 9px 0; border-top: 1px solid var(--rule); }
.tier-pro { background: var(--blue); border-color: var(--blue); color: var(--white); }
.tier-pro li { border-color: rgba(255, 255, 255, .25); }
.tier-pro .btn.primary { background: var(--white); border-color: var(--white); color: var(--blue); }
.tier-pro .btn.primary:hover { background: var(--signal); border-color: var(--signal); color: var(--ink); }
.tier .btn { align-self: flex-start; }

/* Questions */
.faq { padding: clamp(32px, 5vw, 72px) 0 clamp(72px, 9vw, 128px); }
.narrow-wrap { max-width: 860px; }
.faq details { border-top: 1px solid var(--ink); }
.faq details:last-child { border-bottom: 1px solid var(--ink); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-size: clamp(18px, 2vw, 22px); font-weight: 650; font-stretch: 88%; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 1.3em; line-height: .8; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--muted); max-width: 65ch; }

/* Tête de lecture : timecode de la page, proportionnel au défilement. */
.playhead { position: fixed; top: 96px; bottom: 24px; right: 14px; width: 1px; background: rgba(11, 16, 51, .12); pointer-events: none; z-index: 20; display: none; }
.playhead span { position: absolute; right: 6px; top: calc(var(--p, 0) * (100% - 28px)); white-space: nowrap; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; background: var(--ink); color: var(--white); padding: 3px 8px; border-radius: 4px; }
.playhead span::after { content: ""; position: absolute; right: -7px; top: 50%; width: 6px; height: 1px; background: var(--ink); }
@media (min-width: 1100px) { .js .playhead { display: block; } }

/* Pied de page */
.foot { background: var(--ink); color: rgba(255, 255, 255, .75); font-size: 15px; }
.foot-in { max-width: 1240px; margin: 0 auto; padding: 48px var(--gutter) 32px; display: grid; gap: 8px; }
.foot-brand { font-size: clamp(40px, 6vw, 80px); font-weight: 800; font-stretch: 75%; color: var(--white); line-height: 1; margin: 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 16px 0; }
.foot a { color: var(--white); text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot-copy { font-size: 13px; color: rgba(255, 255, 255, .5); margin: 0; }

/* ---------- Pages de la boutique ---------- */
.narrow { max-width: 680px; margin: 0 auto; }
.card { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-l); padding: 20px; margin-bottom: 14px; }
.alert { border-radius: var(--radius-s); padding: 12px 16px; margin: 14px 0; }
.alert.error { background: #fde8ec; border: 1px solid var(--danger); color: #6d0f20; }
.alert.info { background: #e6eaff; border: 1px solid var(--blue); color: var(--ink); }
.buy { max-width: 760px; margin: 0 auto; }
.buy h1 { font-size: clamp(44px, 7vw, 84px); font-weight: 800; font-stretch: 75%; line-height: .92; }
.seg { display: flex; gap: 4px; flex-wrap: wrap; background: var(--white); border: 1px solid var(--rule); border-radius: 999px; padding: 4px; margin-bottom: 18px; }
.seg a { flex: 1 1 180px; text-align: center; padding: 9px 12px; border-radius: 999px; color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.seg a:hover { color: var(--ink); }
.seg a.on { background: var(--ink); color: var(--white); }
/* Offres : colonnes verticales côte à côte (icône, nom, lignes, bandeau de prix en bas). */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 14px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; align-items: stretch; text-align: center; background: var(--white); border: 1.5px solid var(--rule); border-radius: var(--radius-l); padding: 26px 18px 0; overflow: hidden; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.plan:hover { border-color: var(--ink); }
.plan input { position: absolute; top: 14px; right: 14px; width: 20px; height: 20px; margin: 0; accent-color: var(--blue); }
.plan:has(input:checked) { border-color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); }
.plan { -webkit-tap-highlight-color: transparent; }
.plan input:focus { outline: none; }
.plan:has(input:focus-visible) { outline: 3px solid rgba(31, 60, 255, .45); outline-offset: 2px; }
.plan-tag { position: absolute; top: 12px; left: 14px; font-size: 12px; font-weight: 600; line-height: 1.5; background: var(--signal); color: var(--ink); border-radius: 999px; padding: 2px 9px; }
.plan-icon { display: block; color: var(--blue); margin: 10px auto 6px; line-height: 0; }
.plan-name { display: block; font-weight: 750; font-size: 21px; font-stretch: 88%; line-height: 1.2; padding-bottom: 12px; border-bottom: 1.5px solid var(--ink); }
.plan-desc { display: block; color: var(--muted); font-size: 14px; line-height: 1.45; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.plan-rows { display: flex; flex-direction: column; margin-bottom: 18px; }
.plan-rows span { padding: 9px 2px; font-size: 15px; line-height: 1.35; color: #2a3054; border-bottom: 1px solid var(--rule); }
.plan-price { margin: auto -18px 0; padding: 14px 12px 15px; background: var(--paper); border-top: 1px solid var(--rule); display: flex; flex-direction: column; align-items: center; gap: 2px; font-variant-numeric: tabular-nums; transition: background-color .15s, color .15s; }
.plan-amount { font-weight: 800; font-size: 24px; font-stretch: 85%; line-height: 1.15; }
.plan-price s { color: var(--muted); font-weight: 400; font-size: 14px; }
.plan-save { font-size: 13px; font-weight: 600; line-height: 1.3; }
.plan:has(input:checked) .plan-price { background: var(--blue); border-top-color: var(--blue); color: var(--white); }
.plan:has(input:checked) .plan-price small, .plan:has(input:checked) .plan-price s { color: rgba(255, 255, 255, .8); }
@media (max-width: 720px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.fields, .stack { display: grid; gap: 14px; margin: 20px 0; }
label { display: grid; gap: 5px; font-size: 15px; font-weight: 500; }
label.check { display: flex; gap: 10px; align-items: center; font-weight: 400; }
input, select, textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--white); border: 1.5px solid var(--rule); border-radius: var(--radius-s); padding: 11px 13px; width: 100%; }
input:hover, select:hover, textarea:hover { border-color: var(--muted); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 60, 255, .2); }
input[type=checkbox], input[type=radio] { width: auto; accent-color: var(--blue); }
.inline { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.inline input { flex: 1 1 220px; width: auto; }
.inline select { width: auto; }
textarea.key { font-family: Consolas, monospace; font-size: 12px; word-break: break-all; margin: 8px 0; }
.tag { display: inline-block; font-size: 13px; padding: 1px 9px; border-radius: 999px; background: var(--paper); border: 1px solid var(--rule); }
.tag.paid { color: var(--ok); border-color: var(--ok); }
.tag.failed, .tag.refunded { color: var(--danger); border-color: var(--danger); }
.tag.pending { color: #8a5a00; border-color: #c98a00; }
.legal h2 { font-size: 21px; }
.legal p, .legal li { color: #2a3054; }

/* Achat : pays, moyen de paiement, offre */
.buy-lead { color: var(--muted); font-size: 18px; margin-top: -8px; }
.buy-step { font-size: 15px; font-weight: 650; font-stretch: 100%; color: var(--muted); margin: 26px 0 10px; letter-spacing: 0; }
.pick { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; margin: 18px 0 4px; }
.pick label { flex: 1 1 260px; }
/* Moyens de paiement : la bannière du prestataire (logos des opérateurs) dans une carte sélectionnable.
   Toutes les bannières tiennent dans un cadre de même proportion : les cartes restent alignées quel que soit le format. */
.methods { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 10px; }
.method { position: relative; display: grid; gap: 8px; align-content: start; padding: 12px 12px 10px; border: 1.5px solid var(--rule); border-radius: var(--radius-l); background: var(--white); color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.method:hover { border-color: var(--ink); }
.method.on { border-color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue), 0 8px 24px -14px rgba(31, 60, 255, .55); }
.method.on::after { content: "✓"; position: absolute; top: -9px; right: -9px; width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: var(--white); font-size: 13px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 3px var(--paper); }
.method-banner { display: block; aspect-ratio: 3.4 / 1; }
.method-banner img { display: block; width: 100%; height: 100%; object-fit: contain; }
.method-name { font-size: 13px; font-weight: 600; color: var(--muted); text-align: center; }
.method.on .method-name { color: var(--blue); }
@media (max-width: 520px) {
  .methods { gap: 12px; }
  .method { padding: 14px 14px 10px; }
}
.plan-price small, .tier-price small { font-size: .55em; font-weight: 500; color: var(--muted); }
.tier-pro .tier-price small { color: rgba(255, 255, 255, .75); }
/* Code promo (page d'achat) */
.promo { margin: 18px 0 4px; max-width: 560px; }
.promo-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.promo-row input { flex: 1 1 180px; width: auto; text-transform: uppercase; letter-spacing: .04em; }
.promo .alert { margin: 8px 0 0; }
.promo p.small { margin: 6px 0 0; }
.renew-note { margin: 0; padding: 12px 14px; background: var(--white); border-left: 3px solid var(--blue); border-radius: 0 var(--radius-s) var(--radius-s) 0; font-size: 15px; color: #2a3054; }
label.check span { font-weight: 400; }
.card.sub { border-color: var(--blue); }

/* Pages légales : en-tête, sommaire navigable (colonne fixe sur ordinateur, repliable en haut sur mobile), texte */
article.legal { max-width: 820px; margin: 0 auto; }
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 0 48px; max-width: 1140px; margin: 0 auto; align-items: start; }
.legal-layout .legal-head { grid-column: 1 / -1; }
.legal-layout article.legal { margin: 0; max-width: 760px; }
.toc { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow: auto; font-size: 14px; }
.toc summary { font-weight: 700; font-stretch: 85%; font-size: 17px; cursor: pointer; padding: 4px 0 10px; list-style: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc li { margin: 0; }
.toc a { display: flex; gap: 8px; padding: 6px 10px; border-left: 2px solid var(--rule); color: var(--muted); text-decoration: none; line-height: 1.35; }
.toc a:hover { color: var(--ink); border-left-color: var(--ink); }
.toc a.on { color: var(--blue); border-left-color: var(--blue); font-weight: 600; }
.toc ol ol a { padding-left: 40px; font-size: 13px; }
.toc .num { min-width: 18px; font-size: 12px; }
.to-top { margin: 4px 0 0; font-size: 13px; }
.to-top a { color: var(--muted); }
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: minmax(0, 1fr); }
  .toc { top: 0; z-index: 10; max-height: 70vh; background: var(--paper); border-bottom: 1px solid var(--rule); margin: 0 calc(-1 * var(--gutter)) 16px; padding: 8px var(--gutter); }
  .toc summary { padding: 6px 0; }
  .toc summary::after { content: " +"; font-weight: 400; }
  .toc details[open] summary::after { content: " −"; }
}
.legal-head { border-bottom: 2px solid var(--ink); padding-bottom: 18px; margin-bottom: 28px; }
.legal-head h1 { font-size: clamp(36px, 6vw, 64px); font-weight: 800; font-stretch: 75%; line-height: .95; margin-bottom: 10px; }
.legal-date { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; }
.legal-nav span { font-weight: 650; }
article.legal section { padding: 6px 0 18px; }
article.legal [id] { scroll-margin-top: 64px; }
article.legal h2 { display: flex; align-items: baseline; gap: 12px; font-size: clamp(22px, 2.6vw, 28px); margin: 22px 0 12px; }
article.legal h3 { font-size: 17px; font-stretch: 92%; margin: 18px 0 6px; }
.num { font-size: 14px; font-weight: 600; color: var(--blue); font-variant-numeric: tabular-nums; font-stretch: 100%; min-width: 22px; }
article.legal ul { padding-left: 20px; }
article.legal li { margin: 4px 0; }
.callout { background: var(--white); border-left: 3px solid var(--signal); padding: 12px 14px; border-radius: 0 var(--radius-s) var(--radius-s) 0; }
.editor-card { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-l); padding: 20px; margin: 16px 0; }
.editor-head { display: flex; align-items: center; gap: 14px; }
.editor-logo { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--ink); color: var(--signal); font-weight: 800; font-size: 22px; }
.editor-name { font-size: 22px; font-weight: 800; font-stretch: 80%; margin: 0; }
.editor-tagline { margin: 0; font-size: 14px; color: var(--muted); }
.editor-desc { font-size: 15px; margin: 12px 0; }
.editor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px 20px; margin: 0; }
.editor-grid dt { font-size: 12px; color: var(--muted); }
.editor-grid dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.danger-zone { border: 1.5px solid var(--danger); border-radius: var(--radius-l); padding: 18px; background: #fff7f8; }

/* Administration */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.stat { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-l); padding: 16px; display: grid; gap: 2px; }
.stat span { color: var(--muted); font-size: 14px; }
.stat b { font-size: 28px; font-stretch: 80%; }
.stat small { color: var(--muted); }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: end; }
.row > label { flex: 1 1 200px; }
.price-box { flex: 1 1 200px; display: grid; gap: 6px; background: var(--paper); border-radius: var(--radius-s); padding: 10px; }
fieldset { border: 1px solid var(--rule); border-radius: var(--radius-s); }
legend { color: var(--muted); font-size: 14px; padding: 0 6px; }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--white); }
table.data th, table.data td { text-align: left; padding: 10px; border-bottom: 1px solid var(--rule); vertical-align: top; }
table.data th { font-weight: 650; }
table.data tr.revoked td { opacity: .55; }
td.actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: start; }
td.actions form { margin: 0; }
details summary.btn { list-style: none; }
.gateway-head { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-bottom: 8px; }
.region { border-top: 1px solid var(--rule); padding: 10px 0 4px; }
.region-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; }
.region-head b { margin-right: 6px; }
.country-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 4px 12px; }
.country-grid label { font-size: 14px; }
.country-grid small { color: var(--muted); }
.more-cur summary { cursor: pointer; font-size: 14px; color: var(--muted); margin: 10px 0; }

/* Mobile */
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-side, .monitor { grid-column: 1; }
  .hero-side { padding-bottom: 32px; }
  .voice-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clone, .versus, .local-grid { grid-template-columns: minmax(0, 1fr); }
  .track { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .track-name { padding: 8px 12px; border: 0; background: none; font-size: 14px; color: var(--muted); }
  .track:nth-child(n) .track-clip { margin-left: 0; }
  .models-in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  table.data { display: block; overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- Clé de licence à copier (page de la clé, page de retour) ---------- */
.key-card { background: var(--white); border: 1.5px solid var(--blue); border-radius: var(--radius-l); padding: 18px; margin: 18px 0 26px; }
.key-text { font-family: Consolas, monospace; font-size: 13px; line-height: 1.5; white-space: pre-wrap; word-break: break-all; background: #eef1ff; border-radius: var(--radius-s); padding: 12px 14px; margin: 0 0 14px; max-height: 12em; overflow: auto; }
.key-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.key-actions .btn { flex: 1 1 200px; justify-content: center; text-align: center; }
.key-card [data-copy-status] { margin: 10px 0 0; min-height: 1.4em; }
.key-page ol.steps { padding-left: 1.3em; }

/* Espace affilié */
.portal { max-width: 1040px; margin: 0 auto; }
.portal .card h2 { margin-top: 0; }
.portal h3 { margin: 18px 0 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border: 1.5px solid var(--rule); border-radius: 999px; background: var(--white); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; }
.chip small { color: var(--muted); font-weight: 400; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--blue); border-color: var(--blue); color: var(--white); }
.chip.on small { color: rgba(255, 255, 255, .8); }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 12px 0 16px; }
.stat { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-l); padding: 14px 16px; display: grid; gap: 4px; }
.stat b { font-size: 26px; font-stretch: 85%; line-height: 1.15; font-variant-numeric: tabular-nums; }
.stat b.stat-money { font-size: 18px; }
.stat span { font-size: 13px; color: var(--muted); line-height: 1.35; }
.copy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 8px 0; border-bottom: 1px solid var(--rule); }
.copy-row > span { min-width: 140px; font-size: 14px; font-weight: 600; }
.copy-row code { flex: 1 1 260px; font-size: 13px; overflow-wrap: anywhere; background: var(--paper); border-radius: var(--radius-s); padding: 6px 9px; }
.mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.table-wrap { overflow-x: auto; }
.portal table.data { min-width: 620px; }
.portal table.data td:first-child { white-space: nowrap; }
.tag.due { color: var(--blue); border-color: var(--blue); }
.chart-card { padding: 16px 18px 10px; }
.chart { width: 100%; height: auto; display: block; }
.chart .bar { fill: var(--blue); }
.chart .bar:hover { fill: var(--ink); }
.chart .axis { stroke: var(--rule); }
.chart .tick { fill: var(--muted); font-size: 10px; }
.chart .sale-dot { fill: var(--ok); stroke: var(--white); stroke-width: 2; }
.chart-empty { color: var(--muted); font-size: 14px; text-align: center; padding: 50px 0; margin: 0; }

/* ---------- Page de téléchargement ----------
   Ordinateur : bouton et offre à gauche, vidéo d'aide à droite, le tout visible sans défiler. Tablette et téléphone :
   l'un sous l'autre. Vidéo paysage (16:9) partout, sauf téléphone tenu droit : portrait (9:16). */
.dl { max-width: 680px; margin: 0 auto; }
.dl-intro > :last-child { margin-bottom: 0; }
.dl h1 { margin-bottom: .35em; }
.dl-lead { font-size: 18px; color: var(--muted); margin-bottom: 20px; }
.dl-meta { font-size: 14px; color: var(--muted); margin: 10px 0 0; overflow-wrap: anywhere; }
.dl-avert { font-size: 14px; line-height: 1.5; color: var(--danger); margin: 8px 0 0; max-width: 60ch; }
.dl-offre { margin-top: 22px; padding: 16px 18px; border-radius: var(--radius-l); background: var(--white); border: 1px solid var(--rule); border-left: 5px solid var(--signal); display: grid; gap: 12px; }
.dl-offre p { margin: 0; }
.dl-offre .btn { justify-self: start; }
.aide-video { margin: 28px 0 0; }
.aide-video figcaption { font-size: 15px; color: var(--muted); margin-bottom: 10px; }
.aide-video figcaption b { color: var(--ink); }
.aide-video video { height: auto; margin: 0 auto; border-radius: var(--radius-l); background: var(--ink); box-shadow: 0 30px 70px -40px rgba(11, 16, 51, .55); }
/* Toujours entière dans l'écran, même téléphone couché : largeur bornée par la hauteur visible. */
.aide-video .aide-video-paysage { aspect-ratio: 16 / 9; width: min(100%, calc(80svh * 16 / 9)); }
.aide-video .aide-video-portrait { display: none; aspect-ratio: 9 / 16; width: min(100%, calc(72svh * 9 / 16)); }
@media (orientation: portrait) and (max-width: 640px) {
  .aide-video .aide-video-paysage { display: none; }
  .aide-video .aide-video-portrait { display: block; }
}
@media (min-width: 1024px) {
  .dl.dl-avec-video { max-width: none; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
  .dl-avec-video .aide-video { margin: 0; }
}
.dl-verif { margin-top: 40px; }
.dl-verif:empty { display: none; }
.dl-verif h2 { margin-top: 0; }
.dl-mobile { margin-top: 40px; padding: 16px 18px; border-radius: var(--radius-l); background: var(--white); border: 1px solid var(--rule); border-left: 5px solid var(--blue); }
.dl-mobile p { margin: 0; }
.dl-mobile p + p { margin-top: 6px; color: var(--muted); }
.dl-stores { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 14px; }
.dl-stores a { display: block; border-radius: 9px; }
.dl-stores a:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.dl-stores img { display: block; height: 50px; width: auto; }

/* ---------- Menu des téléphones (bouton « hamburger ») ---------- */
.nav-toggle { display: none; }
@media (max-width: 640px) {
  .top { position: relative; flex-wrap: nowrap; }
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; padding: 0 11px; margin-right: -8px; border: 0; border-radius: 12px; background: transparent; color: inherit; cursor: pointer; }
  .nav-toggle span { display: block; height: 2.5px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
  .menu-ouvert .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .menu-ouvert .nav-toggle span:nth-child(2) { opacity: 0; }
  .menu-ouvert .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .top nav { display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 40; flex-direction: column; align-items: stretch; gap: 0; padding: 4px var(--gutter) 18px; background: var(--paper); border-bottom: 1px solid var(--rule); box-shadow: 0 24px 40px -24px rgba(11, 16, 51, .35); }
  .top.menu-ouvert nav { display: flex; }
  .top nav a { padding: 13px 2px; font-size: 18px; border-bottom: 1px solid var(--rule); }
  .top nav a:hover { text-decoration: none; }
  .top nav .nav-cta { margin-top: 14px; padding: 14px; border-bottom: 0; text-align: center; }
  body.home .top nav { background: var(--blue); border-color: rgba(255, 255, 255, .25); }
  body.home .top nav a { border-color: rgba(255, 255, 255, .25); }
}

/* ---------- Assistance (support.php) : raccourcis, thèmes, questions dépliables sans script ---------- */
.support { max-width: 920px; margin: 0 auto; }
.support-hero { padding: clamp(8px, 3vw, 32px) 0 8px; }
.support-kicker { display: inline-block; margin: 0 0 14px; padding: 4px 12px; border-radius: 999px; background: var(--signal); color: var(--ink); font-size: 14px; font-weight: 700; }
.support-hero h1 { max-width: 16ch; }
.support-lead { max-width: 60ch; font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); }
.support-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 28px 0 20px; }
.support-tile { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid var(--rule); border-radius: var(--radius-l); background: var(--white); color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.support-tile span { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.support-tile:hover, .support-tile:focus-visible { border-color: var(--blue); transform: translateY(-2px); }
.support-tile.is-mail { background: var(--blue); border-color: var(--blue); color: var(--white); }
.support-tile.is-mail span { color: rgba(255, 255, 255, .85); }
.support-tile.is-mail:hover, .support-tile.is-mail:focus-visible { background: var(--ink); border-color: var(--ink); }
.support-topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.support-topics a { padding: 8px 16px; border: 1px solid var(--rule); border-radius: 999px; background: var(--white); color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; }
.support-topics a:hover, .support-topics a:focus-visible { border-color: var(--blue); color: var(--blue); }
.support-group { scroll-margin-top: 90px; }
.support-group h2 { margin: 1.6em 0 .6em; }
.support-group details { margin: 0 0 10px; border: 1px solid var(--rule); border-radius: 14px; background: var(--white); transition: border-color .15s; }
.support-group details[open] { border-color: var(--blue); }
.support-group summary { position: relative; padding: 16px 52px 16px 20px; font-weight: 650; font-size: 17px; cursor: pointer; list-style: none; }
.support-group summary::-webkit-details-marker { display: none; }
.support-group summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--blue); transition: transform .2s; }
.support-group details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.support-group summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 14px; }
.support-group details > :not(summary) { margin: 0; padding: 0 20px 16px; color: var(--muted); max-width: 70ch; }
.support-group details ol { padding-left: 40px; }
.support-group details ol + p { padding-top: 0; }
.support-group code { font-size: .92em; overflow-wrap: anywhere; }
.support-contact { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 48px 0 8px; padding: clamp(20px, 4vw, 36px); border-radius: var(--radius-l); background: var(--blue); color: var(--white); }
.support-contact h2 { margin: 0 0 .4em; }
.support-contact p { margin: 0; color: rgba(255, 255, 255, .85); max-width: 52ch; }
.support-contact .btn { flex: none; }
@media (max-width: 900px) { .support-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .support-quick { grid-template-columns: minmax(0, 1fr); }
  .support-contact { flex-direction: column; align-items: stretch; }
  .support-contact .btn { white-space: normal; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .support-tile, .support-group summary::after { transition: none; } }
