/* Filmea : le « verre liquide » de Bib2 (ciel animé, surfaces en verre dépoli, accent turquoise), version de nuit. */
:root {
  --texte: #f1f4fb; --doux: #b9c2d6; --tres-doux: #8590a8;
  --accent: #34d3bd; --accent-fort: #6ae6d4; --accent-rgb: 52, 211, 189; --sur-accent: #052a24;
  --verre: linear-gradient(140deg, #2a3557a6 0%, #161d3478 55%, #1f294a94 100%);
  --verre-fort: linear-gradient(140deg, #252f4ef2 0%, #171e36ee 100%);
  --verre-flou: blur(26px) saturate(1.3);
  --ligne: #ffffff24; --ligne-forte: #ffffff3d; --champ: #0c122480;
  --ombre: inset 0 1px 0 #ffffff21, 0 24px 60px -24px #000000d9;
  --rayon: 22px; --rayon-petit: 14px;
  --police: -apple-system, "SF Pro Display", "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --courbe: cubic-bezier(.165, .84, .44, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
/* Le fond sombre est sur html seulement : un fond sur body se peindrait par-dessus le ciel (z-index négatif) */
html { background: #151830; }
html, body { margin: 0; min-height: 100%; color: var(--texte); font-family: var(--police); -webkit-font-smoothing: antialiased; }
body { background: transparent; }
body { font-size: 16px; line-height: 1.5; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
img, video { display: block; max-width: 100%; }
svg { display: block; }

/* Le ciel, fixe derrière tout, et un voile qui garde les textes lisibles */
.ciel { position: fixed; inset: 0; z-index: -2; background: radial-gradient(120% 90% at 78% 70%, #c26d8a 0%, #4a3a72 38%, #151830 75%); }
.ciel-toile { position: absolute; inset: 0; width: 100%; height: 100%; }
.ciel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #10142a59 0%, #10142a14 40%, #10142a40 100%); }

/* Verre */
.verre { background: var(--verre); -webkit-backdrop-filter: var(--verre-flou); backdrop-filter: var(--verre-flou); border: 1px solid var(--ligne); border-radius: var(--rayon); box-shadow: var(--ombre); }

/* Boutons */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--ligne-forte);
  background: #ffffff14; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-weight: 600; font-size: 15.5px; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform 160ms var(--courbe), filter 160ms, background 160ms; }
.bouton:hover { background: #ffffff21; }
.bouton:active { transform: scale(.98); }
.bouton svg { width: 18px; height: 18px; }
.bouton.principal { background: linear-gradient(180deg, #5fe3cf, var(--accent)); color: var(--sur-accent); border-color: transparent; box-shadow: inset 0 1px 0 #ffffff66, 0 14px 30px -12px rgba(var(--accent-rgb), .75); }
.bouton.principal:hover { filter: brightness(1.06); }
.bouton.discret { background: transparent; border-color: transparent; color: var(--doux); }
.bouton.discret:hover { color: var(--texte); background: #ffffff0d; }
.bouton.petit { height: 38px; padding: 0 16px; font-size: 14px; }
.bouton[disabled] { opacity: .45; cursor: not-allowed; }
.lien { background: none; border: 0; padding: 0; color: var(--doux); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 14.5px; }
.lien:hover { color: var(--texte); }

/* Barre du site */
.barre { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 24px; padding: 18px max(16px, calc((100vw - 1180px) / 2)); }
.barre.voilee { background: #12162c99; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-bottom: 1px solid var(--ligne); }
.marque { display: inline-flex; align-items: center; gap: 9px; font-weight: 750; font-size: 21px; letter-spacing: -0.02em; text-decoration: none; }
.marque svg { width: 28px; height: 28px; color: var(--accent); }
/* Le logo Filmea (kit du 25/10/2026, « Image déployée ») : le symbole et le mot en tracés, sa marge comprise */
.marque .logo-marque { display: block; height: 42px; width: auto; margin: -6px -4px -6px -8px; }
.barre nav { display: flex; gap: 6px; margin-left: auto; align-items: center; }
.barre nav a.navlien { color: var(--doux); text-decoration: none; font-weight: 550; font-size: 15px; padding: 8px 12px; border-radius: 10px; white-space: nowrap; }
.barre nav a.navlien:hover { color: var(--texte); background: #ffffff0f; }

.page { width: min(1180px, 100% - 32px); margin: 0 auto; }

/* Accueil */
.heros { min-height: calc(100svh - 84px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 0 80px; }
.pastille { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: #ffffff12; border: 1px solid var(--ligne); color: var(--doux); font-size: 14px; font-weight: 550; margin-bottom: 26px; }
.pastille svg { width: 16px; height: 16px; color: var(--accent); }
.heros h1 { font-size: clamp(40px, 6.6vw, 82px); line-height: 1.02; letter-spacing: -0.035em; margin: 0; font-weight: 750; max-width: 15ch; }
.heros h1 em { font-style: normal; background: linear-gradient(90deg, #7ff0de, var(--accent) 45%, #a7c4ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.heros p.sous { font-size: clamp(17px, 2vw, 21px); color: var(--doux); max-width: 40ch; margin: 22px 0 34px; }
.heros .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.heros .note a { color: var(--texte); text-decoration: underline; text-underline-offset: 3px; }
.heros .note { margin-top: 16px; color: var(--doux); font-size: 14px; text-shadow: 0 1px 14px #10142acc; }

.section { padding: 80px 0; }
.section h2 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -0.03em; line-height: 1.08; margin: 0 0 12px; text-align: center; font-weight: 720; }
.section .chapo { text-align: center; color: var(--doux); font-size: 18px; margin: 0 auto 44px; max-width: 46ch; }

/* Trois films de même hauteur : les deux verticaux fixent la hauteur, le film horizontal la remplit (recadré au centre) */

.etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: etape; }
.etape { padding: 28px; }
.etape .rond { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(var(--accent-rgb), .16); color: var(--accent); margin-bottom: 18px; }
.etape .rond svg { width: 24px; height: 24px; }
.etape h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -0.01em; }
.etape p { margin: 0; color: var(--doux); }

.formules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.formule { padding: 30px 28px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.formule.conseillee { border-color: rgba(var(--accent-rgb), .7); box-shadow: var(--ombre), 0 0 0 1px rgba(var(--accent-rgb), .35), 0 30px 80px -30px rgba(var(--accent-rgb), .45); }
.formule .badge { position: absolute; top: -13px; left: 28px; background: var(--accent); color: var(--sur-accent); font-size: 12.5px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.formule h3 { margin: 0; font-size: 22px; }
.formule .prix { font-size: 36px; font-weight: 750; letter-spacing: -0.03em; line-height: 1; }
.formule .prix small { font-size: 16px; color: var(--doux); font-weight: 500; letter-spacing: 0; }
.formule ul { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 9px; color: var(--doux); }
.formule li { display: flex; gap: 10px; align-items: flex-start; }
.formule li b { color: var(--texte); font-weight: 650; }
.formule li svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 3px; }
.formule .bouton { margin-top: auto; }
.formules.deux { grid-template-columns: repeat(2, 1fr); max-width: 860px; margin: 0 auto; }
/* Quatre offres (26/10/2026, la vidéo 3D) : une rangée sur un grand écran, deux par deux sinon ; le bandeau dessous prend
   toute la largeur de la rangée, ses trois mentions réparties d'un bord à l'autre (Axel : « le bandeau aligné ») */
.formules.quatre { grid-template-columns: repeat(4, 1fr); gap: 16px; }
/* les titres, les prix, les listes et les boutons des quatre cartes sur les mêmes lignes */
.formules.quatre .formule { padding: 26px 22px; display: grid; grid-row: span 6; grid-template-rows: subgrid; gap: 12px; }
/* l'exemple du type de vidéo, en 16:9 au ras du haut de la carte */
.formule .apercu { aspect-ratio: 16 / 9; margin: -26px -22px 6px; overflow: hidden; border-radius: var(--rayon) var(--rayon) 0 0; background: #0b0f1f; }
.formule .apercu video { width: 100%; height: 100%; object-fit: cover; display: block; }
.formules.quatre .formule h3 { font-size: 20px; }
.formules.quatre .formule .prix { font-size: 32px; }
/* « À partir de » : les options s'ajoutent au prix (03/11/2026, Axel) */
.formule .prix .des { display: block; margin: 8px 0 6px; font-size: 13.5px; font-weight: 550; letter-spacing: 0; color: var(--doux); }
.formules.quatre + .regle { max-width: none; margin-top: 18px; justify-content: space-around; }
@media (max-width: 1180px) { .formules.quatre { grid-template-columns: repeat(2, 1fr); } }
.formule h3 { display: flex; align-items: center; gap: 10px; }
.formule h3 svg { width: 22px; height: 22px; color: var(--accent); }
.formule .pour { margin: -6px 0 0; color: var(--doux); }
.regle span:has(svg) { display: inline-flex; align-items: center; gap: 7px; }
.regle svg { width: 17px; height: 17px; color: var(--accent); flex: none; }
/* L'écran de paiement (21/10) : le film choisi à gauche, la commande à droite ; l'un sous l'autre sur téléphone */
.commande { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 22px; align-items: stretch; margin-top: 8px; }
.commande.paysage { grid-template-columns: minmax(0, 460px) minmax(0, 1fr); }
.commande .affiche .defile { position: relative; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: #0b0f1f; box-shadow: var(--ombre); border: 1px solid var(--ligne); }
.commande.paysage .affiche .defile { aspect-ratio: 16 / 10; }
.recap { padding: 26px; display: flex; flex-direction: column; gap: 16px; text-align: left; }
.recap .pastilles { display: flex; flex-wrap: wrap; gap: 8px; }
.recap .pastille-type { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: rgba(var(--accent-rgb), .14); color: var(--accent-fort); font-size: 13.5px; font-weight: 650; }
.recap .pastille-type.doux { background: #ffffff12; color: var(--doux); }
.recap .pastille-type svg { width: 15px; height: 15px; }
.recap .titre-commande { display: flex; gap: 14px; align-items: center; }
.recap .titre-commande img { display: none; flex: none; width: 64px; aspect-ratio: 9 / 14; object-fit: cover; border-radius: 10px; border: 1px solid var(--ligne); }
.commande.paysage .recap .titre-commande img { width: 96px; aspect-ratio: 16 / 10; }
.recap h2 { margin: 0; font-size: 24px; line-height: 1.2; letter-spacing: -0.015em; }
.recap .montant { display: flex; align-items: baseline; gap: 10px; padding: 14px 0; border-top: 1px solid var(--ligne); border-bottom: 1px solid var(--ligne); }
.recap .montant b { font-size: 44px; letter-spacing: -0.03em; line-height: 1; }
.recap .montant span { color: var(--doux); font-size: 15px; }
.recap ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: var(--doux); font-size: 15.5px; }
.recap li { display: flex; gap: 10px; align-items: flex-start; }
.recap li svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 3px; }
.recap .avoir { margin: 0; display: flex; gap: 8px; align-items: center; color: var(--accent-fort); font-size: 14.5px; }
.recap .avoir svg { width: 17px; height: 17px; }
.recap #payer { width: 100%; margin-top: 4px; }
.recap .securite { margin: -4px 0 0; display: flex; justify-content: center; align-items: center; gap: 7px; color: var(--tres-doux); font-size: 13.5px; }
.recap .securite svg { width: 15px; height: 15px; }
.recap #payer-demo { align-self: center; font-size: 14px; }
.prix-ligne { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--ligne); }
.prix-ligne span { display: inline-flex; align-items: center; gap: 9px; }
.prix-ligne svg { width: 18px; height: 18px; color: var(--accent); }
.formules.deux + .regle { max-width: 860px; }
.regle { margin: 26px auto 0; padding: 20px 26px; display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; color: var(--doux); font-size: 15px; max-width: 980px; }
.regle b { color: var(--texte); }

.pied { padding: 50px 0 60px; display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: space-between; color: var(--texte); font-size: 14px; border-top: 1px solid var(--ligne); margin-top: 40px; }
.pied a { color: var(--texte); }

/* Le parcours : une question par écran */
.parcours { min-height: 100svh; display: flex; flex-direction: column; }
.parcours-haut { display: flex; align-items: center; gap: 14px; padding: 18px max(16px, calc((100vw - 1180px) / 2)); }
.retour { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #ffffff12; border: 1px solid var(--ligne); cursor: pointer; }
.retour svg { width: 20px; height: 20px; }
.retour[hidden] { display: grid; visibility: hidden; }
.progression { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: #ffffff14; z-index: 20; }
.progression span { display: block; height: 100%; background: linear-gradient(90deg, #7ff0de, var(--accent)); transition: width 500ms var(--courbe); border-radius: 0 3px 3px 0; }
.question { flex: 1; display: flex; flex-direction: column; justify-content: center; width: min(760px, 100% - 32px); margin: 0 auto; padding: 20px 0 80px; animation: monte 420ms var(--courbe); }
.question.large { width: min(1180px, 100% - 32px); } /* aligné sur le bouton retour (Axel, 30/10) */
@keyframes monte { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.question .numero { color: var(--accent); font-weight: 650; font-size: 15px; display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.question .numero svg { width: 15px; height: 15px; }
.question h1 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 10px; font-weight: 720; }
.question .aide { color: var(--doux); font-size: 17.5px; margin: 0 0 30px; max-width: 52ch; }
.saisie { width: 100%; background: transparent; border: 0; border-bottom: 2px solid #ffffff40; padding: 10px 2px; font-size: clamp(22px, 3vw, 30px); outline: none; transition: border-color 160ms; border-radius: 0; }
.saisie:focus { border-color: var(--accent); }
.saisie::placeholder { color: #ffffff4d; }
textarea.saisie { resize: none; min-height: 110px; line-height: 1.35; }
.saisie.code { letter-spacing: 0.4em; font-variant-numeric: tabular-nums; max-width: 340px; }
.pied-question { display: flex; align-items: center; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.pied-question .astuce { color: var(--tres-doux); font-size: 14px; }
.pied-question .astuce b { color: var(--doux); }
.erreur { color: #ffb3b8; background: #ff4d6a1f; border: 1px solid #ff6b7d40; padding: 10px 14px; border-radius: 12px; margin-top: 18px; font-size: 15px; }
.demo { color: #ffe9a8; background: #ffcc3d1a; border: 1px solid #ffcc3d40; padding: 10px 14px; border-radius: 12px; margin-top: 18px; font-size: 14.5px; }

.tuiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tuiles.trois { grid-template-columns: repeat(3, 1fr); }
.tuiles.quatre { grid-template-columns: repeat(4, 1fr); } /* côte à côte, sans prix (Axel, 30/10) */
@media (max-width: 1100px) { .tuiles.quatre { grid-template-columns: repeat(2, 1fr); } }
.tuile { text-align: left; padding: 26px; cursor: pointer; display: flex; flex-direction: column; gap: 10px; transition: transform 200ms var(--courbe), border-color 160ms, background 160ms; }
.tuile:hover { transform: translateY(-2px); border-color: var(--ligne-forte); }
.tuile.choisie { border-color: var(--accent); background: linear-gradient(140deg, rgba(var(--accent-rgb), .24), #161d3478); }
.tuile .picto { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: #ffffff14; color: var(--accent); }
.tuile.choisie .picto { background: var(--accent); color: var(--sur-accent); }
.tuile .picto svg { width: 26px; height: 26px; }
.tuile h3 { margin: 4px 0 0; font-size: 21px; letter-spacing: -0.01em; }
.tuile p { margin: 0; color: var(--doux); }
.tuile .cout { margin-top: 6px; font-size: 14px; font-weight: 650; color: var(--accent-fort); display: flex; align-items: center; gap: 7px; }
.tuile .cout svg { width: 16px; height: 16px; }
.tuile.avec-apercu { padding: 0; overflow: hidden; gap: 0; }
.tuile .apercu { position: relative; aspect-ratio: 16 / 9; background: #0b0f1f; overflow: hidden; }
.tuile .apercu video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 600ms var(--courbe); }
.tuile:hover .apercu video { transform: scale(1.04); }
.tuile.avec-apercu .corps { padding: 20px 24px 22px; display: flex; flex-direction: column; gap: 8px; }
.tuile .prix-tuile { margin-top: 4px; display: inline-flex; align-self: flex-start; gap: 6px; align-items: baseline; padding: 5px 12px; border-radius: 999px; background: rgba(var(--accent-rgb), .14); color: var(--accent-fort); font-weight: 700; font-size: 15px; }
.tuile .prix-tuile small { font-weight: 550; font-size: 12.5px; color: var(--doux); }

.idees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.idee { display: flex; flex-direction: column; text-align: left; padding: 12px; cursor: pointer; transition: transform 200ms var(--courbe), border-color 160ms, background 160ms; }
.idee:hover { transform: translateY(-3px); border-color: var(--ligne-forte); }
.idee.choisie { border-color: var(--accent); background: linear-gradient(140deg, rgba(var(--accent-rgb), .22), #161d3478); }
.idee .defile { position: relative; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; background: #0b0f1f; }
.idee.paysage .defile { aspect-ratio: 16 / 10; }
.defile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 700ms var(--courbe), transform 3600ms linear; }
.defile img.vue { opacity: 1; transform: scale(1); }
.defile .segments { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; gap: 4px; }
.defile .segments span { flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .32); transition: background 300ms; }
.defile .segments span.vue { background: #fff; }
.defile .legende { position: absolute; left: 0; right: 0; bottom: 0; min-height: 34%; background: linear-gradient(transparent, rgba(8, 11, 24, .82)); }
.defile .legende span { position: absolute; left: 14px; right: 14px; bottom: 12px; font-size: 14px; line-height: 1.3; font-weight: 600; color: #fff; opacity: 0; transition: opacity 250ms; }
.defile .legende span.vue { opacity: 1; transition-delay: 250ms; }
.idee h3 { margin: 12px 6px 4px; font-size: 18px; letter-spacing: -0.01em; display: flex; align-items: center; gap: 8px; }
.idee h3 .coche { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--ligne-forte); display: grid; place-items: center; flex: none; }
.idee.choisie h3 .coche { background: var(--accent); border-color: var(--accent); color: var(--sur-accent); }
.idee h3 .coche svg { width: 14px; height: 14px; }
.idee p { margin: 0 6px 6px; color: var(--doux); font-size: 15px; }

/* L'attente : une phrase au centre, les nuages couvrent tout */
.attente { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; }
/* Les nuages couvrent l'écran pendant l'attente : la phrase se pose sur un verre sombre pour rester lisible */
.attente .bulle { display: flex; flex-direction: column; align-items: center; padding: 36px 48px 34px; border-radius: 32px; background: linear-gradient(140deg, #1b2240b8, #121831a6); -webkit-backdrop-filter: blur(22px) saturate(1.2); backdrop-filter: blur(22px) saturate(1.2); border: 1px solid #ffffff26; box-shadow: 0 30px 80px -30px #0b0f1fcc; max-width: min(760px, 100%); }
.attente .phrase { font-size: clamp(22px, 3vw, 32px); font-weight: 680; letter-spacing: -0.02em; max-width: 100%; white-space: nowrap; overflow: hidden; color: #fff;
  background: linear-gradient(100deg, #fff 0%, #fff 38%, var(--accent-fort) 50%, #fff 62%, #fff 100%) 0 0 / 200% 100% repeat-x; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: reflet 3.6s linear infinite; }
/* Le reflet glisse d'une largeur de motif entière : le dernier instant rejoint le premier, sans saut */
@keyframes reflet { to { background-position: -200% 0; } }
/* Le chargeur : le viseur d'une caméra (app.js, VISEUR). La scène glisse en aller-retour (aucun saut), les coins se
   resserrent comme une mise au point puis se détendent, le point d'enregistrement respire. Toutes les boucles finissent
   dans l'état où elles commencent. */
.chargeur { position: relative; width: 132px; height: 96px; margin-bottom: 24px; display: grid; place-items: center; }
.chargeur.large { width: 272px; height: 124px; }
.duo { position: relative; width: 272px; height: 124px; display: flex; align-items: center; justify-content: space-between; }
.duo img { width: 116px; height: 116px; object-fit: contain; filter: drop-shadow(0 12px 18px #0b0f1f40); }
.duo-a { animation: duo-flotte 4.8s ease-in-out infinite; }
.duo-b { animation: duo-allume 4.8s cubic-bezier(.3, 0, .2, 1) infinite; }
.duo-trait { position: relative; flex: 1; height: 40px; margin: 0 -6px; }
@keyframes duo-flotte { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-6px) rotate(2deg); } }
@keyframes duo-allume { 0%, 48% { transform: scale(.95); opacity: .88; filter: drop-shadow(0 12px 18px #0b0f1f40) saturate(.9); } 58% { transform: scale(1.07); opacity: 1; filter: drop-shadow(0 0 22px rgba(var(--accent-rgb), .7)) saturate(1.1); } 70%, 92% { transform: scale(1); opacity: 1; filter: drop-shadow(0 12px 18px #0b0f1f40) saturate(1); } 100% { transform: scale(.95); opacity: .88; filter: drop-shadow(0 12px 18px #0b0f1f40) saturate(.9); } }
@media (max-width: 420px) { .attente { padding: 16px; } .attente .bulle { padding: 28px 16px 26px; } .chargeur.large, .duo { width: 220px; height: 100px; } .duo img { width: 88px; height: 88px; } }
@media (prefers-reduced-motion: reduce) { .duo-a, .duo-b { animation: none; } }
.viseur { position: relative; width: 132px; height: 96px; }
.viseur .scene { position: absolute; inset: 10px; border-radius: 14px; overflow: hidden; background: linear-gradient(115deg, #1b2450, #2a3f7a 30%, rgba(var(--accent-rgb), .55) 55%, #b06a9a 78%, #1b2450) 0 50% / 260% 100%; box-shadow: inset 0 0 0 1px #ffffff1f, 0 14px 30px -14px #0b0f1fcc; animation: scene-glisse 7s ease-in-out infinite alternate; }
.viseur .scene::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 120%, #0b0f1f99, transparent 60%); }
.viseur .coin { position: absolute; width: 18px; height: 18px; border: 2.5px solid #fff; opacity: .9; animation: mise-au-point 2.6s cubic-bezier(.5, 0, .3, 1) infinite; }
.viseur .hg { left: 0; top: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 7px; --x: 5px; --y: 5px; }
.viseur .hd { right: 0; top: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 7px; --x: -5px; --y: 5px; }
.viseur .bg { left: 0; bottom: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 7px; --x: 5px; --y: -5px; }
.viseur .bd { right: 0; bottom: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 7px; --x: -5px; --y: -5px; }
.viseur .rec { position: absolute; left: 22px; top: 21px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-fort); box-shadow: 0 0 10px var(--accent); animation: rec 1.6s ease-in-out infinite; }
.viseur .mire { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; border: 1.5px solid #ffffffb3; animation: mire 2.6s cubic-bezier(.5, 0, .3, 1) infinite; }
.viseur .mire::after { content: ""; position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px 0 0 -2px; border-radius: 50%; background: #fff; }
@keyframes scene-glisse { from { background-position: 0 50%; } to { background-position: 100% 50%; } }
@keyframes mise-au-point { 0%, 100% { transform: translate(0, 0); } 35%, 55% { transform: translate(var(--x), var(--y)); } }
@keyframes mire { 0%, 100% { transform: scale(1.25); opacity: .35; } 35%, 55% { transform: scale(1); opacity: 1; } }
@keyframes rec { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.attente .fil { position: relative; height: 24px; margin-top: 14px; width: min(560px, 100%); }
.attente .fil span { position: absolute; inset: 0; white-space: nowrap; overflow: hidden; color: var(--doux); font-size: 16px; opacity: 0; transform: translateY(6px); transition: opacity 500ms, transform 500ms var(--courbe); }
.attente .fil span.vu { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .viseur .scene, .viseur .coin, .viseur .rec, .viseur .mire, .attente .phrase { animation: none; } }
@keyframes respire { 0%, 100% { opacity: 1; } 50% { opacity: .62; } }
.attente .sous { color: var(--doux); margin-top: 14px; font-size: 16px; text-shadow: 0 2px 18px #0b0f1f99; }
.attente ol { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 8px; text-align: left; }
.attente li { display: flex; align-items: center; gap: 10px; color: var(--doux); font-size: 15px; text-shadow: 0 1px 12px #0b0f1f99; }
.attente li .point { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #ffffff59; display: grid; place-items: center; flex: none; }
.attente li.fait { color: var(--texte); }
.attente li.fait .point { background: var(--accent); border-color: var(--accent); color: var(--sur-accent); }
.attente li .point svg { width: 12px; height: 12px; }
/* le détail de chaque étape (05/11/2026) : ce qu'elle a donné, et les scènes pendant l'animation */
.attente li { align-items: flex-start; }
.attente li .point { margin-top: 1px; }
.ph-corps { display: grid; gap: 3px; min-width: 0; }
.ph-resume { color: var(--tres-doux); font-size: 13px; }
.attente li.en-cours .ph-resume { color: var(--accent-fort); }
.sc-liste { display: grid; gap: 8px; margin: 10px 0 4px; }
.sc { display: flex; gap: 11px; align-items: center; padding: 7px; border-radius: 14px; background: #ffffff0a; border: 1px solid var(--ligne); }
.sc-img { position: relative; flex: none; width: 42px; height: 56px; border-radius: 9px; background: #0b0f20 center / cover no-repeat; overflow: hidden; }
.sc.a_venir .sc-img { opacity: .5; }
.sc-etat { position: absolute; inset: 0; display: grid; place-items: center; }
.sc.fait .sc-etat { background: #05282399; color: var(--accent); }
.sc.fait .sc-etat svg { width: 20px; height: 20px; }
.sc.en_cours .sc-etat { background: #0b0f2066; }
.sc-tourne { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid #ffffff40; border-top-color: var(--accent); animation: sc-tourne 0.9s linear infinite; }
@keyframes sc-tourne { to { transform: rotate(360deg); } }
.sc-txt { display: grid; gap: 2px; min-width: 0; text-align: left; }
.sc-txt b { font-size: 13px; color: var(--texte); font-weight: 700; }
.sc.fait .sc-txt b { color: var(--accent-fort); }
.sc-txt small { font-size: 12.5px; color: var(--doux); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.attente li.en-cours { color: var(--texte); }
.attente li.en-cours .point { border-color: var(--accent); box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .55); animation: point-en-cours 1.6s ease-out infinite; }
@keyframes point-en-cours { 0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .55); } 100% { box-shadow: 0 0 0 8px rgba(var(--accent-rgb), 0); } }
.attente .detail-etape { margin-top: 14px; color: var(--accent-fort); font-size: 14.5px; font-weight: 600; }
.attente .fin-annonce { margin-top: 22px; color: var(--tres-doux); font-size: 14px; }

/* La vidéo */
.video-page { padding: 24px 0 70px; }
/* Le lecteur et le panneau ont la même hauteur (21/10, Axel : « les 2 blocs même hauteur ») : le plus grand donne la
   hauteur, la vidéo ou le contenu du panneau se centre dans l'autre */
.video-grille { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 22px; align-items: stretch; }
.video-grille.vertical { grid-template-columns: 420px minmax(0, 1fr); }
.lecteur { padding: 12px; display: flex; align-items: center; justify-content: center; }
.lecteur video { width: 100%; border-radius: 14px; background: #0b0f1f; }
/* (05/11/2026, Axel : « pourquoi il y a des marges ? ») : la largeur suit la hauteur permise, la vidéo remplit son cadre */
.vertical .lecteur video { aspect-ratio: 9 / 16; object-fit: cover; width: min(100%, calc(76vh * 9 / 16)); display: block; margin: 0 auto; }
.panneau { padding: 26px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.panneau h1 { margin: 0; font-size: 28px; letter-spacing: -0.02em; line-height: 1.15; }
.etiquettes { display: flex; flex-wrap: wrap; gap: 8px; }
.etiquette { font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: #ffffff14; border: 1px solid var(--ligne); color: var(--doux); display: inline-flex; align-items: center; gap: 6px; }
.etiquette.accent { background: rgba(var(--accent-rgb), .16); border-color: rgba(var(--accent-rgb), .4); color: var(--accent-fort); }
.etiquette svg { width: 14px; height: 14px; }
.panneau p { margin: 0; color: var(--doux); }
.panneau .boutons { display: grid; gap: 10px; }
.panneau .boutons .bouton { width: 100%; }
.plans { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.plans.paysage { grid-template-columns: repeat(3, 1fr); }
.plan { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: none; position: relative; }
.plan img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.plans.paysage .plan img { aspect-ratio: 16 / 9; }
.plan.choisi { border-color: var(--accent); }
.plan span { position: absolute; left: 4px; bottom: 4px; font-size: 11px; font-weight: 700; background: #0b0f1fcc; padding: 2px 6px; border-radius: 6px; }
.champ-texte { width: 100%; background: var(--champ); border: 1px solid var(--ligne); border-radius: 14px; padding: 12px 14px; outline: none; resize: vertical; min-height: 84px; }
.champ-texte:focus { border-color: var(--accent); }
.encart { padding: 20px 22px; border-radius: 18px; background: linear-gradient(140deg, rgba(var(--accent-rgb), .2), #161d3466); border: 1px solid rgba(var(--accent-rgb), .45); }
.encart h3 { margin: 0 0 6px; font-size: 18px; }
.encart p { margin: 0 0 14px; color: var(--doux); }

/* L'espace client */
.espace { padding: 30px 0 70px; display: grid; gap: 22px; }
.espace-haut { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; }
.solde { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.solde .nombre { font-size: 64px; font-weight: 760; letter-spacing: -0.04em; line-height: 1; display: flex; align-items: baseline; gap: 12px; }
.solde .nombre small { font-size: 18px; color: var(--doux); font-weight: 550; letter-spacing: 0; }
.solde .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.mes-videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.carte-video { padding: 10px; text-decoration: none; display: flex; flex-direction: column; gap: 8px; }
.carte-video .vignette { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; background: #0b0f1f; }
.carte-video b { font-size: 15.5px; padding: 0 4px; }
.carte-video .etiquettes { padding: 0 4px 4px; }
.titre-section { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.titre-section h2 { margin: 0; font-size: 24px; letter-spacing: -0.02em; }
.mouvements { padding: 8px 22px; }
.mouvements div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--ligne); font-size: 15px; color: var(--doux); }
.mouvements div:last-child { border-bottom: 0; }
.mouvements b.plus { color: var(--accent-fort); } .mouvements b.moins { color: var(--texte); }
.vide { padding: 34px; text-align: center; color: var(--doux); }
.vide .bouton { margin-top: 14px; }

/* Bandeau d'information (paiement bientôt, démo) */
.bandeau { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 50; max-width: min(560px, calc(100% - 32px)); padding: 14px 18px; border-radius: 16px; background: var(--verre-fort); border: 1px solid var(--ligne-forte); box-shadow: var(--ombre); font-size: 15px; animation: monte 300ms var(--courbe); }

@media (max-width: 900px) {
  .etapes, .formules, .formules.deux, .formules.quatre, .idees { grid-template-columns: 1fr; }
  .video-grille, .video-grille.vertical { grid-template-columns: minmax(0, 1fr); }
  .paiement-apercu .bouton { white-space: normal; text-align: center; }
  .vertical .lecteur { max-width: 420px; margin: 0 auto; width: 100%; }
  /* Sur téléphone, le film laisse voir le titre et les boutons sans défiler */
  .vertical .lecteur video { width: min(100%, calc(56svh * 9 / 16)); }
  .video-page { padding-top: 8px; }
  .espace-haut { grid-template-columns: 1fr; }
  .barre nav a.navlien.optionnel { display: none; }
}
@media (max-width: 600px) {
  .barre { gap: 12px; padding-top: 14px; padding-bottom: 14px; }
  .barre .bouton { height: 40px; padding: 0 15px; font-size: 14px; }
  .barre nav a.navlien { padding: 8px 6px; font-size: 14px; }
  .barre nav a.navlien.optionnel-mobile { display: none; }
  .barre nav { gap: 2px; }
  .marque { font-size: 19px; } .marque svg { width: 25px; height: 25px; } .marque .logo-marque { height: 36px; }
  .heros { min-height: calc(100svh - 72px); padding-top: 24px; }
  .heros .actions .bouton { width: 100%; }
  .section { padding: 56px 0; }
  .tuiles, .tuiles.trois, .tuiles.quatre { grid-template-columns: 1fr; }
  .tuile { padding: 20px; flex-direction: row; align-items: flex-start; gap: 16px; }
  .tuile .picto { flex: none; }
  .tuile.avec-apercu { flex-direction: column; padding: 0; gap: 0; }
  .question { padding-bottom: 40px; justify-content: flex-start; padding-top: 8vh; }
  .question .aide { font-size: 16.5px; margin-bottom: 24px; }
  .pied-question .bouton { flex: 1; }
  .pied-question .astuce { display: none; }
  /* Sur téléphone, l'image à gauche et le texte à droite : les trois idées tiennent presque dans l'écran */
  .idee { flex-direction: row; gap: 14px; padding: 10px; align-items: center; }
  .idee .defile { flex: none; width: 112px; aspect-ratio: 9 / 14; border-radius: 11px; }
  .idee.paysage .defile { width: 150px; aspect-ratio: 16 / 11; }
  .idee .legende, .idee .segments { display: none; }
  /* Sur téléphone, le film choisi devient une vignette entière à côté du titre */
  .commande, .commande.paysage { grid-template-columns: minmax(0, 1fr); }
  .recap #payer { white-space: normal; text-align: center; }
  .commande .affiche { display: none; }
  .recap .titre-commande img { display: block; }
  .recap { padding: 20px; }
  .recap .montant b { font-size: 38px; }
  .idee .texte { min-width: 0; }
  .idee h3 { margin: 0 0 4px; font-size: 17px; align-items: flex-start; }
  .idee p { margin: 0; font-size: 14px; }
  .solde .nombre { font-size: 54px; }
  .plans { grid-template-columns: repeat(5, 1fr); }
}

/* Accueil studio (20/10/2026, Axel : l'adresse du site tout de suite, des vidéos qui tournent en boucle) */
.heros-studio { position: relative; min-height: calc(100svh - 84px); }
.heros-texte { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; max-width: 620px; }
.heros-studio h1 { max-width: none; font-size: clamp(34px, 3.6vw, 50px); }
/* le titre sur deux lignes : « Vos vidéos pro, » puis « sans tournage ni montage. » (Axel, 03/11) */
/* (la place des jambages : le dégradé découpé au texte s'arrête à la boîte de la ligne, le g de « montage » était coupé) */
.heros-studio h1 em { padding-bottom: .14em; margin-bottom: -.14em; }
/* le titre tient sur une ligne (03/11/2026, Axel : « Filmez sans caméra. ») */
@media (min-width: 761px) { .heros-studio h1 { white-space: nowrap; font-size: clamp(40px, 4.4vw, 62px); } .heros-studio .heros-texte { max-width: 720px; } }
.heros-studio p.sous { font-size: 17px; margin: 14px 0 0; max-width: none; }
@media (min-width: 761px) { .heros-studio p.sous { white-space: nowrap; } }
/* le switch du départ : décrire sa vidéo (par défaut) ou donner son site */
.bascule-depart { position: relative; display: inline-flex; padding: 4px; margin: 22px 0 10px; border-radius: 999px; background: #ffffff8c; border: 1px solid #ffffffcc; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 10px 30px -18px #2a3d7a66; }
.bascule-depart button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 7px; border: 0; background: transparent; padding: 8px 15px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 600; color: var(--doux); cursor: pointer; transition: color 250ms; }
.bascule-depart button svg { width: 15px; height: 15px; }
.bascule-depart button.on { color: var(--texte); }
.bascule-depart .curseur { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: #fff; box-shadow: 0 4px 14px -6px #2a3d7a59; transition: transform 380ms var(--courbe), width 380ms var(--courbe); }
[data-theme="dark"] .bascule-depart { background: #ffffff14; border-color: #ffffff22; }
[data-theme="dark"] .bascule-depart .curseur { background: #ffffff26; }
.champ-site { display: flex; align-items: center; gap: 10px; width: min(620px, 100%); padding: 8px 8px 8px 20px; border-radius: 999px; margin-top: 4px;
  box-shadow: 0 30px 70px -30px #05081acc, inset 0 1px 0 #ffffff33; }
.champ-site > svg, .champ-site .champ-icone svg { width: 20px; height: 20px; color: var(--accent); flex: none; display: block; }
/* l'icône suit ce qui est tapé : le globe pour une adresse, le crayon pour une vidéo décrite */
.champ-site .champ-icone { display: grid; place-items: center; flex: none; transition: transform 300ms var(--courbe); }
.champ-site .champ-icone.idee { transform: rotate(-8deg) scale(1.08); }
/* la grande zone de description, à la ChatGPT : le texte en haut, l'icône en bas à gauche, le bouton en bas à droite */
.champ-site.mode-idee { flex-wrap: wrap; align-items: center; border-radius: 28px; padding: 18px 12px 12px 22px; width: min(690px, 100%); }
.champ-site textarea { order: 0; flex: 1 1 100%; min-width: 0; min-height: 56px; max-height: 220px; resize: none; background: transparent; border: 0; outline: 0; color: var(--texte); font: inherit; font-size: 17.5px; line-height: 1.5; padding: 0 8px 6px 0; }
/* un bloc de texte plus bas (04/11/2026, Axel : « réduis la hauteur du bloc texte partout ») ; il grandit avec le texte */
.champ-site textarea::placeholder { color: var(--tres-doux); }
.exemples-depart { order: 1; flex: 1 1 0; display: flex; flex-wrap: nowrap; gap: 6px; margin: 0 10px 0 0; min-width: 0; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 94%, transparent); mask-image: linear-gradient(90deg, #000 94%, transparent); }
.exemples-depart::-webkit-scrollbar { display: none; }
.exemples-depart button { flex: none; white-space: nowrap; }
.exemples-depart button { border: 1px solid var(--ligne); background: #ffffff8c; color: var(--doux); border-radius: 999px; padding: 6px 11px; font: inherit; font-size: 12.5px; font-weight: 550; cursor: pointer; transition: color 200ms, border-color 200ms, background 200ms; }
.exemples-depart button:hover { color: var(--texte); border-color: rgba(var(--accent-rgb), .6); background: #fff; }
[data-theme="dark"] .exemples-depart button { background: #ffffff10; }
@media (max-width: 760px) { .exemples-depart { flex: 1 1 100%; margin-right: 0; } }
.champ-site.mode-idee .bouton { order: 3; margin-left: 0; }
/* joindre des documents, des images ou des vidéos à la description (03/11/2026) : deux icônes rondes à côté du bouton,
   les fichiers choisis en pastilles sous le texte */
.ajouts-depart { order: 2; display: flex; gap: 4px; margin-right: 6px; }
.ajouts-depart .ajout { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--ligne); background: #ffffff8c; color: var(--doux); cursor: pointer; transition: color 200ms, border-color 200ms, background 200ms; }
.ajouts-depart .ajout svg { width: 18px; height: 18px; }
.ajouts-depart .ajout:hover { color: var(--accent); border-color: rgba(var(--accent-rgb), .6); background: #fff; }
[data-theme="dark"] .ajouts-depart .ajout { background: #ffffff10; }
.pieces-depart { order: 0; flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 10px; padding: 0; }
.pieces-depart li { display: flex; align-items: center; gap: 7px; max-width: 240px; padding: 4px 4px 4px 4px; border-radius: 12px; background: #ffffffb3; border: 1px solid var(--ligne); font-size: 12.5px; animation: piece-arrive 260ms var(--courbe); }
.pieces-depart img, .pieces-depart .picto { width: 30px; height: 30px; flex: none; border-radius: 8px; object-fit: cover; }
.pieces-depart .picto { display: grid; place-items: center; background: rgba(var(--accent-rgb), .14); color: var(--accent); }
.pieces-depart .picto svg { width: 16px; height: 16px; }
.pieces-depart .nom { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 550; color: var(--texte); }
.pieces-depart small { flex: none; color: var(--tres-doux); }
.pieces-depart button { flex: none; width: 24px; height: 24px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--doux); cursor: pointer; }
.pieces-depart button:hover { background: #0000000f; color: var(--texte); }
.pieces-depart button svg { width: 14px; height: 14px; }
[data-theme="dark"] .pieces-depart li { background: #ffffff12; }
@keyframes piece-arrive { from { opacity: 0; transform: translateY(4px) scale(.96); } }
/* au téléphone, la description garde sa forme : le texte en haut, les exemples, puis les ajouts et le bouton */
@media (max-width: 900px) {
  .champ-site.mode-idee { flex-direction: row; flex-wrap: wrap; align-items: center; padding: 16px 12px 12px 18px; border-radius: 24px; }
  .champ-site.mode-idee textarea { flex: 1 1 100%; text-align: left; font-size: 16.5px; min-height: 56px; }
  .champ-site.mode-idee .exemples-depart { flex: 1 1 100%; margin: 0 0 10px; }
  .champ-site.mode-idee .bouton { width: auto; flex: 1 1 auto; justify-content: center; }
}
.champ-site.survol { border-color: rgba(var(--accent-rgb), .9); box-shadow: 0 0 0 5px rgba(var(--accent-rgb), .22), 0 30px 70px -30px #05081acc; }
.champ-site [hidden] { display: none !important; }
.champ-site input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--texte); font: inherit; font-size: 19px; padding: 10px 4px; }
.champ-site input::placeholder { color: var(--tres-doux); }
.champ-site:focus-within { border-color: rgba(var(--accent-rgb), .7); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .18), 0 30px 70px -30px #05081acc; }
/* le bouton à la hauteur des pastilles d'exemples, en description comme en site web (Axel, 03/11) */
.champ-site .bouton { height: 36px; flex: none; padding: 0 16px; font-size: 14.5px; gap: 7px; }
.champ-site .bouton svg { width: 16px; height: 16px; }
/* la barre du site, à la hauteur de son bouton : une ligne fine (Axel, 03/11) */
.champ-site:not(.mode-idee) { padding: 6px 6px 6px 18px; }
.champ-site:not(.mode-idee) input { font-size: 16.5px; padding: 4px; }
.ecrans { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
/* (03/11/2026, Axel : « un peu plus espacé encore ») : les vidéos se placent sur toute la largeur de la fenêtre (1600 px
   au plus), plus seulement dans la colonne du texte */
@media (min-width: 901px) { .heros-studio .ecrans { left: 50%; right: auto; width: min(100vw - 28px, 1600px); transform: translateX(-50%); } }
.ecran { position: absolute; margin: 0; padding: 7px; border-radius: 26px; background: #ffffff14; border: 1px solid #ffffff2e;
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 40px 80px -30px #04061acc; }
.ecran video { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 20px; background: #0b0f1f; }
.ecran figcaption { position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: #141a33cc; border: 1px solid var(--ligne); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.ecran figcaption svg { width: 15px; height: 15px; color: var(--accent); }
.ecran.e1 { width: 190px; aspect-ratio: 9 / 16; left: 2.5%; top: 18%; --r: -7deg; animation: flotte 9s ease-in-out infinite; }
.ecran.e2 { width: 175px; aspect-ratio: 9 / 16; right: 3%; top: 8%; --r: 6deg; animation: flotte 11s ease-in-out -3s infinite; }
.ecran.e3 { width: 270px; aspect-ratio: 16 / 9; right: 3.5%; bottom: 5%; --r: -3deg; animation: flotte 10s ease-in-out -6s infinite; }
@keyframes flotte { 0%, 100% { transform: translateY(0) rotate(var(--r)); } 50% { transform: translateY(-14px) rotate(calc(var(--r) * .7)); } }
@media (prefers-reduced-motion: reduce) { .ecran { animation: none; transform: rotate(var(--r)); } }
@media (max-width: 1340px) { .ecran.e3 { width: 220px; right: 2%; bottom: 2%; } .heros-studio .champ-site { width: min(560px, 100%); } }
@media (max-width: 1180px) { .ecran.e1 { width: 150px; left: 1%; } .ecran.e2 { width: 140px; right: 1%; } .ecran.e3 { width: 210px; right: 1.5%; } .heros-texte { max-width: 560px; } }
@media (max-width: 900px) {
  .heros-studio { min-height: auto; padding-top: 18px; }
  .ecrans { position: relative; inset: auto; order: 2; display: flex; gap: 12px; justify-content: center; align-items: flex-end; margin-top: 34px; height: 300px; }
  .heros-studio { display: flex; flex-direction: column; }
  .heros-texte { order: 1; }
  .ecran { position: relative; left: auto; right: auto; top: auto; bottom: auto; }
  .ecran.e1 { width: 128px; } .ecran.e2 { width: 128px; margin-bottom: 26px; } .ecran.e3 { display: none; }
  .ecrans { height: 270px; margin-top: 26px; }
  /* (03/11/2026, Axel : « sur téléphone tu peux virer ») : le mur des vidéos est juste en dessous */
  .heros-studio .ecrans { display: none; }
  .champ-site { flex-direction: column; border-radius: 26px; padding: 10px; gap: 8px; }
  .champ-site > svg { display: none; }
  .champ-site input { width: 100%; text-align: center; font-size: 18px; }
  .champ-site .bouton { width: 100%; }
}

/* Le mur des petits films : neuf colonnes de portraits, un paysage en prend trois */
.section-mur { padding-top: 24px; scroll-margin-top: 76px; }
.mur { display: grid; grid-template-columns: repeat(9, 1fr); gap: 12px; }
.carte-mur { position: relative; margin: 0; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; background: #0b0f1f; border: 1px solid var(--ligne);
  box-shadow: 0 22px 44px -26px #04061acc; transition: transform 260ms var(--courbe), border-color 260ms; }
.carte-mur.large { grid-column: span 3; aspect-ratio: auto; }
.carte-mur:hover { transform: translateY(-4px); border-color: var(--ligne-forte); }
.carte-mur video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.carte-mur figcaption { position: absolute; left: 7px; bottom: 7px; max-width: calc(100% - 14px); display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px 4px 7px;
  border-radius: 999px; font-size: 11.5px; font-weight: 600; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: #10142acc; border: 1px solid #ffffff1f; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
/* le métier coupé proprement si la carte est étroite, jamais en dehors */
.carte-mur figcaption span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.carte-mur figcaption svg { width: 13px; height: 13px; flex: none; color: var(--accent); }
.legende-mur { display: flex; justify-content: center; gap: 22px; margin: 22px 0 0; color: var(--doux); font-size: 14px; }
.legende-mur span { display: inline-flex; align-items: center; gap: 7px; }
.legende-mur svg { width: 16px; height: 16px; color: var(--accent); }
@media (max-width: 900px) {
  .mur { grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; gap: 10px; }
  .carte-mur.large { aspect-ratio: 16 / 9; }
  .section-mur { padding-top: 40px; }
}

/* Les petits écrans du haut de page (galerie) et l'invitation à descendre */
.ecran.cache { visibility: hidden; }
.ecran.petit { padding: 5px; border-radius: 18px; aspect-ratio: 9 / 16; }
.ecran.petit video { border-radius: 14px; }
/* (03/11/2026, Axel : « espace les vidéos d'exemples autour, faut pas que ça fasse trop chargé ») : cinq vidéos au plus,
   en diagonale de part et d'autre du texte, chacune avec de l'air autour */
.heros-studio .ecran.e1 { left: 3%; top: 30%; }
.ecran.e2 { right: 4%; top: 11%; }
.ecran.e3 { width: 250px; right: 4%; bottom: 8%; }
.ecran.e4 { width: 92px; left: 17%; top: 8%; --r: 5deg; animation: flotte 12s ease-in-out -2s infinite; }
.ecran.e5 { display: none; }
.ecran.e6 { display: none; }
.ecran.e7 { width: 86px; left: 16%; bottom: 5%; --r: 8deg; animation: flotte 9s ease-in-out -4s infinite; }
.descendre { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 16px;
  border-radius: 999px; background: #ffffff14; border: 1px solid var(--ligne-forte); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: var(--texte); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background 160ms; }
.descendre svg { width: 18px; height: 18px; color: var(--accent); animation: descend 1.8s ease-in-out infinite; }
.descendre:hover { background: #ffffff21; }
@keyframes descend { 0%, 100% { transform: translateY(0); opacity: .55; } 50% { transform: translateY(4px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .descendre svg { animation: none; } }
@media (max-width: 1340px) { .ecran.e4, .ecran.e7 { display: none; } .ecran.e3 { width: 210px; right: 2.5%; bottom: 4%; } .ecran.e2 { right: 2.5%; } .heros-studio .ecran.e1 { left: 2%; } }
@media (max-height: 820px) { .ecran.e7 { display: none; } .ecran.e4 { top: 5%; } }
@media (max-width: 900px) { .ecran.petit { display: none; } .descendre { position: relative; left: auto; bottom: auto; transform: none; order: 3; margin: 22px auto 0; } }

/* La prospection (22/10/2026) : la page où Axel valide les vidéos que Truffe enverra sur Instagram */
.prospection .titre-page { margin: 0 0 6px; font-size: clamp(30px, 4vw, 42px); letter-spacing: -0.03em; }
.prospection .chapo-page { margin: 0 0 14px; color: var(--doux); max-width: 70ch; }
.prospection .etiquettes { display: flex; flex-wrap: wrap; gap: 8px; }
.pr-carte textarea { width: 100%; font: inherit; font-size: 15px; color: var(--texte); background: #0b0f1f80; border: 1px solid var(--ligne); border-radius: 14px; padding: 12px 14px; resize: vertical; }
.pr-carte textarea:focus { outline: none; border-color: var(--accent); }
.pr-cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(520px, 1fr)); gap: 16px; }
.pr-carte { padding: 14px; display: grid; grid-template-columns: 200px 1fr; gap: 16px; align-items: start; }
.pr-carte video { width: 200px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 14px; background: #0b0f1f; }
.pr-corps { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pr-marque { font-size: 19px; }
.pr-liens, .pr-ligne span { color: var(--doux); font-size: 14px; overflow-wrap: anywhere; }
.pr-liens a, .pr-ligne a { color: inherit; }
.pr-idee { margin: 0; color: var(--texte); font-size: 15px; }
.pr-corps label { display: grid; gap: 6px; color: var(--tres-doux); font-size: 13px; }
.pr-boutons { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pr-liste { padding: 6px 18px; }
.pr-ligne { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--ligne); }
.pr-ligne:last-child { border-bottom: 0; }
.pr-ligne > div:first-child { display: grid; gap: 2px; min-width: 0; }
.pr-droite { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.pr-etape { color: var(--tres-doux); font-size: 13.5px; max-width: 360px; }
/* Le choix du type (25/10/2026) : une carte sans vidéo, l'avis de l'agent, les quatre types */
.pr-carte.pr-choix { grid-template-columns: 1fr; }
.pr-iphone { padding: 16px 18px; display: grid; gap: 12px; }
.pr-iphone p { margin: 0; color: var(--doux); font-size: 14.5px; max-width: 70ch; }
.pr-code { color: var(--doux); font-size: 15px; }
.pr-code b { color: var(--accent-fort); font-size: 22px; letter-spacing: .12em; margin: 0 4px; }
@media (max-width: 600px) {
  .pr-cartes { grid-template-columns: 1fr; }
  .pr-carte { grid-template-columns: 1fr; }
  .pr-carte video { width: 100%; max-height: 62svh; }
  .pr-ligne { flex-direction: column; align-items: flex-start; }
  .pr-droite { justify-content: flex-start; }
  .pr-boutons .bouton.principal { width: 100%; }
}

/* L'aperçu à payer (22/10/2026) : le prix, ce que le paiement débloque, le bouton qui lance la HD */
.paiement-apercu { display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: 18px; background: #ffffff0a; border: 1px solid var(--ligne); }
.paiement-apercu .montant { display: flex; align-items: baseline; gap: 10px; }
.paiement-apercu .montant b { font-size: 40px; letter-spacing: -0.03em; line-height: 1; }
.paiement-apercu .montant span { color: var(--doux); font-size: 14.5px; }
.paiement-apercu ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; color: var(--doux); font-size: 15px; }
.paiement-apercu li { display: flex; gap: 10px; align-items: flex-start; }
.paiement-apercu li svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 2px; }
.paiement-apercu #payer-hd { width: 100%; }
.paiement-apercu .securite { margin: -4px 0 0; display: flex; justify-content: center; align-items: center; gap: 7px; color: var(--tres-doux); font-size: 13.5px; }
.paiement-apercu .securite svg { width: 15px; height: 15px; }
.paiement-apercu #payer-demo { align-self: center; font-size: 14px; }
.pr-canal { margin-top: 8px; width: fit-content; }
.pr-droite .pr-canal { margin-top: 0; }
.pr-verif { margin: 0; padding: 10px 12px; border-radius: 12px; background: rgba(var(--accent-rgb), .1); border: 1px solid rgba(var(--accent-rgb), .3); font-size: 14px; line-height: 1.45; color: var(--doux); }
.pr-verif b { display: block; color: var(--accent-fort); font-size: 13px; margin-bottom: 2px; }
.pr-verif.alerte { background: #ff8a5c1a; border-color: #ff8a5c66; }
.pr-verif.alerte b { color: #ffb08f; }

/* Le site en clair (26/10/2026, Axel : « le ciel en background, plutôt clair, que ça fasse plus joyeux ») : un ciel de jour
   (ui/ciel.js, data-ciel sur <html>), le texte bleu nuit, le verre blanc dépoli. Les vidéos, les légendes posées sur une
   image et la bulle d'attente restent sombres. */
:root[data-theme="light"] {
  --texte: #14203d; --doux: #3f4d6b; --tres-doux: #66718c;
  --accent: #12b8a0; --accent-fort: #0a917e; --accent-rgb: 18, 184, 160; --sur-accent: #052a24;
  --verre: linear-gradient(140deg, #ffffffc4 0%, #ffffff94 55%, #ffffffb0 100%);
  --verre-fort: linear-gradient(140deg, #fffffff5 0%, #f6f9fff0 100%);
  --ligne: #14203d1c; --ligne-forte: #14203d33; --champ: #ffffffb8;
  --ombre: inset 0 1px 0 #ffffffe6, 0 24px 60px -26px #2a3d7a59;
  color-scheme: light;
}
html[data-theme="light"] { background: #cfe6fa; }
[data-theme="light"] .ciel { background: linear-gradient(180deg, #5f9fe8 0%, #a9d3fa 45%, #fff0dc 100%); }
[data-theme="light"] .ciel::after { background: linear-gradient(180deg, #ffffff00 0%, #ffffff10 45%, #ffffff47 100%); }
[data-theme="light"] .bouton:not(.principal):not(.discret), [data-theme="light"] .descendre { background: #ffffffa6; }
[data-theme="light"] .bouton:not(.principal):not(.discret):hover, [data-theme="light"] .descendre:hover { background: #ffffffd9; }
[data-theme="light"] .barre.voilee { background: #ffffffb3; border-bottom-color: #14203d14; }
[data-theme="light"] .bouton.discret:hover, [data-theme="light"] .barre nav a.navlien:hover { background: #14203d0d; }
[data-theme="light"] .pastille, [data-theme="light"] .recap .pastille-type.doux, [data-theme="light"] .retour,
[data-theme="light"] .etiquette, [data-theme="light"] .tuile .picto, [data-theme="light"] .paiement-apercu { background: #ffffffa8; }
[data-theme="light"] .progression { background: #14203d14; }
[data-theme="light"] .heros h1 em { background: linear-gradient(90deg, #0fb39b, #12a6c4 50%, #5b7cf0); -webkit-background-clip: text; background-clip: text; }
[data-theme="light"] .heros .note { text-shadow: none; }
[data-theme="light"] .tuile.choisie, [data-theme="light"] .idee.choisie { background: linear-gradient(140deg, rgba(var(--accent-rgb), .2), #ffffffb0); }
[data-theme="light"] .encart { background: linear-gradient(140deg, rgba(var(--accent-rgb), .16), #ffffffa0); }
[data-theme="light"] .champ-site { box-shadow: 0 30px 70px -30px #2a3d7a66, inset 0 1px 0 #ffffffe6; }
[data-theme="light"] .champ-site:focus-within { box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .18), 0 30px 70px -30px #2a3d7a66; }
[data-theme="light"] .ecran { background: #ffffff8c; border-color: #ffffffcc; box-shadow: 0 40px 80px -30px #2a3d7a80; }
[data-theme="light"] .carte-mur { box-shadow: 0 22px 44px -26px #2a3d7a80; }
[data-theme="light"] .ecran figcaption, [data-theme="light"] .carte-mur figcaption, [data-theme="light"] .plan span { color: #fff; }
[data-theme="light"] .ecran figcaption svg, [data-theme="light"] .carte-mur figcaption svg { color: #6ae6d4; }
[data-theme="light"] .pr-carte textarea { background: #ffffffc2; }
[data-theme="light"] .attente .sous, [data-theme="light"] .attente li { text-shadow: 0 1px 12px #ffffffcc; }
[data-theme="light"] .saisie::placeholder { color: #14203d4d; }
[data-theme="light"] .saisie { border-bottom-color: #14203d33; }

/* Les documents du client (26/10/2026) : la zone où l'on glisse fichiers et dossiers, la liste de ce qui part */
.depot { margin-top: 26px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 34px 24px 28px; border-radius: var(--rayon);
  border: 2px dashed var(--ligne-forte); background: var(--champ); transition: border-color 200ms, background 200ms, transform 200ms var(--courbe); outline: none; }
.depot.survol, .depot:focus-visible { border-color: var(--accent); background: rgba(var(--accent-rgb), .1); transform: scale(1.01); }
.depot-icone { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: rgba(var(--accent-rgb), .14); color: var(--accent); margin-bottom: 8px; }
.depot-icone svg { width: 30px; height: 30px; }
.depot b { font-size: 18px; } .depot > span { color: var(--doux); font-size: 14.5px; }
.depot-boutons { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 14px; }
.envois { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; max-height: 210px; overflow: auto; }
.envois li { --avance: 0%; position: relative; display: flex; justify-content: space-between; gap: 12px; padding: 9px 14px; border-radius: 12px; font-size: 14px; overflow: hidden;
  background: var(--champ); border: 1px solid var(--ligne); }
.envois li::before { content: ""; position: absolute; inset: 0; width: var(--avance); background: rgba(var(--accent-rgb), .16); transition: width 200ms; }
.envois li > * { position: relative; } .envois li span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.envois li small { color: var(--tres-doux); flex: none; } .envois li.fait small::after { content: " · reçu"; color: var(--accent-fort); }
.envois li.rate { border-color: #ff6b7d66; } .envois li.rate small { color: #d6455a; }
.depot-boutons .bouton svg { width: 17px; height: 17px; margin-right: 7px; color: var(--accent-fort); }
/* 30/10/2026 (Axel : « ça se voit pas, faudrait que l'écran soit en 2 colonnes ») : à gauche ce qu'on ajoute, à droite
   ce qui est ajouté, toujours visible, avec Continuer */
.question .aide.large, .question.large .aide { max-width: none; } /* sur les écrans larges, le sous-titre prend la largeur (05/11/2026) */
.apports-colonnes { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; margin-top: 4px; }
.apports-gauche .depot { margin-top: 0; }
.apports-droite { position: sticky; top: 20px; padding: 20px; display: flex; flex-direction: column; max-height: calc(100vh - 40px); }
.apports-droite .titre-apport { justify-content: space-between; margin-bottom: 10px; }
.compte-apports { min-width: 26px; height: 26px; padding: 0 8px; border-radius: 999px; background: rgba(var(--accent-rgb), .16); color: var(--accent-fort); font-size: 13.5px; display: grid; place-items: center; }
.compte-apports:empty { display: none; }
.vide-apports { margin: 6px 0 4px; color: var(--tres-doux); font-size: 14px; }
.vide-apports[hidden] { display: none; }
.apports-droite .envois { margin: 0; max-height: none; flex: 1; min-height: 0; overflow: auto; }
.envois li span svg { width: 16px; height: 16px; flex: none; color: var(--accent-fort); }
.envois li > span { display: flex; align-items: center; gap: 8px; }
.pied-apports { display: flex; flex-direction: column; align-items: stretch; gap: 12px; margin-top: 18px; }
.pied-apports .bouton { justify-content: center; }
.pied-apports .lien { align-self: center; }
@media (max-width: 980px) {
  .apports-colonnes { grid-template-columns: 1fr; }
  .apports-droite { position: static; max-height: none; }
}
/* 30/10/2026 : le vocal enregistré sur place, les outils reliés par un lien de partage, les mots du client */
.enregistrement { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 14px; padding: 10px 12px 10px 18px; border-radius: 999px; background: #ff4d6a14; border: 1px solid #ff4d6a40; max-width: 100%; }
.enregistrement[hidden], .depot-boutons [hidden] { display: none; }
.enregistrement .rec { width: 12px; height: 12px; border-radius: 50%; background: #ff4d6a; animation: rec 1.2s ease-in-out infinite; flex: none; }
.enregistrement b { font-variant-numeric: tabular-nums; font-size: 16px; }
.enregistrement > span:not(.rec) { color: var(--doux); font-size: 13.5px; max-width: 34ch; text-align: left; }
@keyframes rec { 50% { opacity: .35; transform: scale(.8); } }
.bloc-apport { margin-top: 26px; }
.titre-apport { display: flex; align-items: center; gap: 8px; font-weight: 650; font-size: 15px; margin-bottom: 12px; }
.titre-apport svg { width: 26px; height: 26px; padding: 5px; border-radius: 8px; background: #ffffffd9; color: var(--accent-fort); box-shadow: 0 2px 8px -4px #2a3d7a40; }
.outils { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.outil { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; padding: 16px 8px 13px; border-radius: 16px; background: var(--champ); border: 1px solid var(--ligne);
  color: var(--texte); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: transform 160ms var(--courbe), border-color 160ms, background 160ms; }
.outil:hover { transform: translateY(-2px); border-color: var(--ligne-forte); }
.outil.choisi { border-color: var(--accent); background: rgba(var(--accent-rgb), .12); }
.logo-outil { display: inline-grid; place-items: center; width: 30px; height: 30px; flex: none; color: var(--texte); }
.logo-outil svg { width: 100%; height: 100%; }
.logo-outil.drive svg { width: 92%; } .logo-outil.lien { color: var(--accent); }
.coller { margin-top: 12px; padding: 12px; border-radius: 16px; background: var(--champ); border: 1px solid var(--ligne); }
.coller[hidden] { display: none; }
.coller-ligne { display: flex; align-items: center; gap: 10px; }
.coller-ligne .logo-outil { width: 24px; height: 24px; margin-left: 4px; }
.champ-lien { flex: 1; min-width: 0; height: 40px; border: 0; background: transparent; outline: none; font: inherit; font-size: 15.5px; color: var(--texte); }
.champ-lien::placeholder { color: var(--tres-doux); }
.coller small { display: block; color: var(--tres-doux); font-size: 13px; margin: 6px 0 0 38px; }
textarea.note { width: 100%; min-height: 110px; resize: none; padding: 14px 16px; border-radius: 16px; background: var(--champ); border: 1px solid var(--ligne); color: var(--texte);
  font: inherit; font-size: 15.5px; line-height: 1.45; outline: none; transition: border-color 160ms; }
textarea.note:focus { border-color: var(--accent); }
textarea.note::placeholder { color: var(--tres-doux); }
.envois li .logo-outil { width: 18px; height: 18px; }
.envois li.encours small { color: var(--accent-fort); }
@media (max-width: 640px) {
  .outils { grid-template-columns: repeat(3, 1fr); }
  .outil { padding: 13px 6px 11px; font-size: 12.5px; }
  .coller small { margin-left: 0; }
  .enregistrement { border-radius: 18px; padding: 12px 14px; }
  .envois li { flex-direction: column; gap: 2px; } .envois li small { white-space: normal; }
}

/* L'atelier (26/10/2026) : le chargeur des attentes (app.js, VISEUR). Une page lue par un rayon, ce qu'elle donne
   s'envole en arc vers une pellicule qui défile et s'allume image par image. Boucle de 4 s, sans saut. */
.chargeur:has(.atelier) { width: auto; height: auto; margin-bottom: 26px; }
.atelier { --t: 4s; position: relative; width: 380px; height: 150px; }
.page-lue { position: absolute; left: 0; top: 14px; width: 118px; height: 122px; border-radius: 14px; overflow: hidden; background: #fff;
  box-shadow: 0 18px 40px -18px #2a3d7a80, 0 0 0 1px #14203d14; animation: flotte 4s ease-in-out infinite; }
.pl-barre { display: flex; gap: 4px; padding: 7px 8px; background: #eef3fb; } .pl-barre i { width: 6px; height: 6px; border-radius: 50%; background: #c8d3e6; }
.pl-une { margin: 7px 8px 6px; height: 30px; border-radius: 7px; background: linear-gradient(120deg, #12b8a0, #5b7cf0); }
.page-lue b { display: block; height: 6px; margin: 5px 8px 0; border-radius: 4px; background: #d7deea; } .pl-l2 { width: 60%; }
.pl-photos { display: flex; gap: 5px; margin: 8px 8px 0; } .pl-photos span { flex: 1; height: 24px; border-radius: 5px; background: linear-gradient(135deg, #ffb08f, #ff7a9c); }
.pl-photos span:nth-child(2) { background: linear-gradient(135deg, #ffe08a, #ffb84d); } .pl-photos span:nth-child(3) { background: linear-gradient(135deg, #9ad8ff, #7a8cff); }
.rayon { position: absolute; left: 0; right: 0; top: 0; height: 26px; background: linear-gradient(180deg, transparent, rgba(var(--accent-rgb), .35) 70%, rgba(var(--accent-rgb), .9) 96%, transparent);
  animation: lit var(--t) cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes lit { 0% { transform: translateY(-26px); } 100% { transform: translateY(122px); } }
@keyframes flotte { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-5px) rotate(-1deg); } }
/* L'envol : l'axe horizontal file droit, l'axe vertical monte puis redescend, ensemble ils dessinent un arc */
.trajet { position: absolute; left: 96px; top: 64px; animation: file-x var(--t) linear infinite; opacity: 0; }
.saut { display: block; animation: saute var(--t) infinite; }
.t2 { animation-delay: calc(var(--t) * -0.75); } .t2 .saut { animation-delay: calc(var(--t) * -0.75); }
.t3 { animation-delay: calc(var(--t) * -0.5); } .t3 .saut { animation-delay: calc(var(--t) * -0.5); }
.t4 { animation-delay: calc(var(--t) * -0.25); } .t4 .saut { animation-delay: calc(var(--t) * -0.25); }
@keyframes file-x { 0% { transform: translateX(0) scale(.6); opacity: 0; } 8% { opacity: 1; } 30% { transform: translateX(150px) scale(1); opacity: 1; } 36%, 100% { transform: translateX(170px) scale(.4); opacity: 0; } }
@keyframes saute { 0% { transform: translateY(0); animation-timing-function: cubic-bezier(.2, .7, .4, 1); } 15% { transform: translateY(-46px); animation-timing-function: cubic-bezier(.6, 0, .8, .3); } 33%, 100% { transform: translateY(0); } }
.morceau { display: block; box-shadow: 0 8px 18px -8px #2a3d7a99; }
.morceau.couleur { width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffd1c0, #ff6f61); }
.morceau.titre { width: 30px; height: 10px; border-radius: 5px; background: #14203d; }
.morceau.photo { width: 24px; height: 20px; border-radius: 5px; background: linear-gradient(135deg, #9ad8ff, #7a8cff); border: 2px solid #fff; }
.morceau.idee { width: 20px; height: 20px; border-radius: 6px; transform: rotate(45deg); background: linear-gradient(135deg, #ffe08a, #ffb84d); }
/* La pellicule : elle défile sans fin (huit images, deux fois les mêmes quatre), chaque image s'allume quand son morceau arrive */
.pellicule { position: absolute; right: 0; top: 34px; width: 150px; height: 84px; border-radius: 12px; overflow: hidden; background: #14203d;
  box-shadow: 0 18px 40px -16px #14203daa; }
.pellicule::before, .pellicule::after { content: ""; position: absolute; left: 0; right: 0; height: 9px; z-index: 2;
  background: repeating-linear-gradient(90deg, transparent 0 5px, #ffffffb0 5px 10px, transparent 10px 15px) 0 50% / 15px 5px repeat-x; animation: defile var(--t) linear infinite; }
.pellicule::before { top: 3px; } .pellicule::after { bottom: 3px; }
.ruban { position: absolute; left: 0; top: 15px; bottom: 15px; display: flex; gap: 5px; padding-left: 5px; animation: ruban var(--t) linear infinite; }
.image { flex: none; width: 70px; border-radius: 4px; background: #2a3657; position: relative; overflow: hidden; }
.image::after { content: ""; position: absolute; inset: 0; opacity: 0; animation: allume var(--t) infinite; }
.i1::after { background: radial-gradient(circle at 70% 30%, #ffd1c0, #ff6f61 60%, #c2416a); animation-delay: calc(var(--t) * -0.7); }
.i2::after { background: linear-gradient(160deg, #5b7cf0, #12b8a0); animation-delay: calc(var(--t) * -0.45); }
.i3::after { background: linear-gradient(135deg, #9ad8ff, #7a8cff 55%, #3a3f9e); animation-delay: calc(var(--t) * -0.2); }
.i4::after { background: radial-gradient(circle at 30% 70%, #fff3c4, #ffb84d 60%, #ff7a3d); animation-delay: calc(var(--t) * -0.95); }
@keyframes allume { 0%, 100% { opacity: 1; } 55% { opacity: 1; } 70%, 92% { opacity: 0; } }
@keyframes ruban { to { transform: translateX(-300px); } }
@keyframes defile { to { background-position: -15px 50%; } }
@media (max-width: 480px) { .atelier { transform: scale(.82); margin: -12px -34px; } }
@media (prefers-reduced-motion: reduce) { .atelier *, .atelier *::before, .atelier *::after { animation: none !important; } .trajet { opacity: 0; } .image::after { opacity: 1; } }

/* L'attente en clair : la bulle en verre blanc, la phrase en bleu nuit avec un reflet turquoise */
[data-theme="light"] .attente .bulle { background: linear-gradient(140deg, #ffffffe0, #f4f8ffcc); border-color: #ffffffcc; box-shadow: 0 30px 80px -30px #2a3d7a66, inset 0 1px 0 #fff; }
[data-theme="light"] .attente .phrase { color: var(--texte); background: linear-gradient(100deg, #14203d 0%, #14203d 38%, #12b8a0 50%, #14203d 62%, #14203d 100%) 0 0 / 200% 100% repeat-x; -webkit-background-clip: text; background-clip: text; }
[data-theme="light"] .attente .fil span, [data-theme="light"] .attente .sous, [data-theme="light"] .attente li { text-shadow: none; color: var(--doux); }
[data-theme="light"] .attente li.fait { color: var(--texte); }
[data-theme="light"] .attente li .point { border-color: #14203d40; }
[data-theme="light"] .erreur { color: #b42340; background: #fff1f3e6; border-color: #e5485f55; }
.apports-droite .envois li { flex-direction: column; gap: 2px; }
.apports-droite .envois li small { white-space: normal; }
.envois li:has(.retirer) { padding-right: 40px; }
.envois li .retirer { position: absolute; top: 50%; right: 8px; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 8px; border: 0; background: transparent; color: var(--tres-doux); cursor: pointer; display: grid; place-items: center; padding: 0; }
.envois li .retirer:hover { background: #ff4d6a1a; color: #d6455a; }
.envois li .retirer svg { width: 15px; height: 15px; }
/* Le choix dans un outil connecté (dépôts GitHub à cocher) */
.choix-outil { margin-top: 12px; padding: 14px; border-radius: 16px; background: var(--verre-fort); border: 1px solid var(--ligne); }
.choix-outil[hidden] { display: none; }
.choix-tete { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.choix-tete .logo-outil { width: 22px; height: 22px; }
.choix-tete .lien { margin-left: auto; font-size: 13.5px; }
.choix-liste { display: grid; gap: 6px; max-height: 260px; overflow: auto; }
.choix-ligne { display: flex; gap: 10px; align-items: flex-start; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--ligne); background: var(--champ); cursor: pointer; }
.choix-ligne:has(input:checked) { border-color: var(--accent); background: rgba(var(--accent-rgb), .1); }
.choix-ligne input { margin-top: 3px; accent-color: var(--accent); }
.choix-ligne span { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; font-size: 14px; }
.choix-ligne small { flex-basis: 100%; color: var(--tres-doux); font-size: 13px; }
.etiquette-prive { font-style: normal; font-size: 11.5px; padding: 1px 7px; border-radius: 999px; background: #ffffff80; border: 1px solid var(--ligne-forte); color: var(--doux); }
.choix-vide { margin: 4px 0; color: var(--tres-doux); font-size: 14px; }
.choix-pied { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
/* Les pages légales (30/10/2026) */
.legal { max-width: 820px; margin: 30px auto 0; padding: clamp(24px, 4vw, 48px); line-height: 1.6; font-size: 15.5px; }
.legal h1 { font-size: clamp(28px, 4vw, 38px); letter-spacing: -0.02em; margin: 0 0 6px; }
.legal .maj { color: var(--tres-doux); font-size: 14px; margin: 0 0 26px; }
.legal h2 { font-size: 19px; margin: 30px 0 8px; }
.legal p, .legal li { color: var(--doux); }
.legal b { color: var(--texte); }
.legal ul { padding-left: 20px; display: grid; gap: 6px; }
.legal a { color: var(--accent-fort); }
.liens-legaux { display: flex; gap: 18px; flex-wrap: wrap; }
.liens-legaux a { color: var(--doux); text-decoration: none; }
.liens-legaux a:hover { color: var(--texte); text-decoration: underline; }
/* Le numéro de l'étape, lisible sur le ciel bleu (Axel, 30/10 : « on voit rien ») */
[data-theme="light"] .question .numero { align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: #ffffffd9; color: var(--accent-fort); box-shadow: 0 2px 8px -4px #2a3d7a40; }
/* Le type conseillé au client (30/10/2026) */
.tuile.conseillee { position: relative; overflow: visible; }
.tuile.conseillee .apercu { border-radius: var(--rayon) var(--rayon) 0 0; }
.tuiles.quatre { padding-bottom: 18px; }
.badge-conseil { position: absolute; bottom: 0; left: 50%; transform: translate(-50%, 50%); white-space: nowrap; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; box-shadow: 0 6px 16px -6px #0006; }
.badge-conseil svg { width: 14px; height: 14px; }
/* Les options de la vidéo et le prix en temps réel (30/10/2026) */
.options-colonnes { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.options-gauche { display: grid; gap: 22px; }
.opt-titre { font-weight: 650; font-size: 15px; margin-bottom: 10px; }
.opt-choix { display: grid; gap: 10px; grid-template-columns: repeat(4, 1fr); }
.opt-choix.n2 { grid-template-columns: repeat(2, 1fr); } .opt-choix.n3 { grid-template-columns: repeat(3, 1fr); }
.opt { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-align: left; padding: 13px 14px; border-radius: 14px; background: var(--champ); border: 1px solid var(--ligne);
  color: var(--texte); font: inherit; cursor: pointer; transition: border-color 160ms, background 160ms, transform 160ms var(--courbe); }
.opt:hover { border-color: var(--ligne-forte); transform: translateY(-1px); }
.opt.on { border-color: var(--accent); background: rgba(var(--accent-rgb), .12); box-shadow: 0 0 0 1px var(--accent); }
.opt b { font-size: 14.5px; } .opt small { color: var(--doux); font-size: 12.5px; line-height: 1.3; }
.opt > svg { width: 20px; height: 20px; color: var(--accent-fort); margin-bottom: 2px; }
.opt em, .opt-case em { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--accent-fort); margin-top: 2px; }
.opt-section { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; margin-top: 6px; }
.opt-section svg { width: 26px; height: 26px; padding: 5px; border-radius: 8px; background: #ffffffd9; color: var(--accent-fort); }
.opt-case { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border-radius: 14px; background: var(--champ); border: 1px solid var(--ligne); cursor: pointer; }
.opt-case.on { border-color: var(--accent); background: rgba(var(--accent-rgb), .1); }
.opt-case input { position: absolute; opacity: 0; pointer-events: none; }
.interrupteur { flex: none; width: 40px; height: 24px; border-radius: 999px; background: var(--ligne-forte); position: relative; transition: background 160ms; }
.interrupteur::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px #0003; transition: transform 200ms var(--courbe); }
.opt-case.on .interrupteur { background: var(--accent); } .opt-case.on .interrupteur::after { transform: translateX(16px); }
.opt-texte { flex: 1; display: flex; flex-direction: column; gap: 2px; } .opt-texte b { font-size: 14.5px; } .opt-texte small { color: var(--doux); font-size: 12.5px; }
.opt-case em.inclus { color: var(--tres-doux); font-weight: 600; }
.options-droite { position: sticky; top: 20px; overflow: hidden; padding: 0; }
.options-droite .apercu { aspect-ratio: 16 / 9; }
.options-droite .apercu video { width: 100%; height: 100%; object-fit: cover; display: block; }
.recap-corps { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 12px; }
.recap-type { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; } .recap-type svg { width: 20px; height: 20px; color: var(--accent-fort); }
.recap-lignes { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 14px; color: var(--doux); }
.recap-lignes li { display: flex; justify-content: space-between; gap: 12px; } .recap-lignes b { color: var(--texte); font-weight: 600; white-space: nowrap; }
.recap-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; border-top: 1px solid var(--ligne); font-weight: 650; }
.recap-total b { font-size: 30px; letter-spacing: -0.02em; } .recap-total b.bouge { animation: bouge 320ms var(--courbe); }
@keyframes bouge { 40% { transform: scale(1.08); color: var(--accent-fort); } }
.recap-note { margin: 0; color: var(--tres-doux); font-size: 12.5px; line-height: 1.4; }
.options-droite .bouton { justify-content: center; }
@media (max-width: 980px) { .options-colonnes { grid-template-columns: 1fr; } .options-droite { position: static; } .opt-choix { grid-template-columns: repeat(2, 1fr); } }
/* Les options conseillées pour le projet (30/10/2026) */
.opt-conseil { display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-size: 11.5px; font-weight: 700; color: #fff; background: var(--accent); padding: 2px 8px; border-radius: 999px; }
.opt-conseil svg { width: 11px; height: 11px; }
.opt > .opt-conseil { position: absolute; top: -9px; right: 10px; }
.opt-texte b { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* Le storyboard (02/11/2026) : le téléphone fixe à gauche montre le plan qui passe au milieu de l'écran, la liste des
   vrais plans à droite (image, moment, ce qu'on voit, voix off) */
.storyboard { display: grid; grid-template-columns: 330px 1fr; gap: 34px; align-items: start; margin-top: 26px; }
.sb-colle { position: sticky; top: max(24px, calc(50vh - 330px)); display: flex; flex-direction: column; align-items: center; gap: 16px; }
.sb-tel { width: 300px; aspect-ratio: 9 / 19.5; border-radius: 46px; background: #0c1020; padding: 12px; box-shadow: 0 40px 80px -30px #0b1024aa; }
.storyboard.paysage .sb-tel { width: 320px; aspect-ratio: 16 / 10; border-radius: 26px; }
.sb-ecran { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #000; }
.storyboard.paysage .sb-ecran { border-radius: 16px; }
.sb-ecran > img, .sb-ecran > .sb-vide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 700ms; transform-origin: 50% 40%; }
.sb-ecran > .sb-vide { display: grid; place-items: center; padding: 24px; color: #fff; text-align: center; font-weight: 600; background: linear-gradient(160deg, #1b2450, #2a3f7a); }
.sb-ecran > .vu { opacity: 1; animation: sb-zoom 7s linear forwards; }
@keyframes sb-zoom { from { transform: scale(1.02); } to { transform: scale(1.12); } }
.sb-st { position: absolute; left: 14px; right: 14px; bottom: 64px; text-align: center; color: #fff; font-weight: 700; font-size: 14.5px; line-height: 1.35; text-shadow: 0 2px 10px #000b; }
.sb-barres { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; gap: 4px; }
.sb-barres i { flex: 1; height: 3px; border-radius: 3px; background: #ffffff55; overflow: hidden; }
.sb-barres b { display: block; height: 100%; width: 0; background: #fff; }
.sb-lire { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--ligne); background: var(--champ); color: var(--texte); border-radius: 999px; padding: 10px 18px; font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; }
.sb-lire svg { width: 14px; height: 14px; color: var(--accent); }
.sb-liste { padding: 14px; border-radius: 26px; display: grid; gap: 4px; }
.sb-tete { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 12px 6px; flex-wrap: wrap; }
.sb-tete h3 { margin: 0; font-size: 20px; letter-spacing: -0.01em; }
.sb-tete span { color: var(--doux); font-size: 14px; }
.sb-plan { min-height: 46vh; display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: center; padding: 12px; border-radius: 18px; opacity: .45; cursor: pointer; transition: opacity 400ms, background 400ms, box-shadow 400ms; }
.storyboard.paysage .sb-plan { grid-template-columns: 170px 1fr; }
.sb-plan.actif { opacity: 1; background: rgba(var(--accent-rgb), .12); box-shadow: inset 0 0 0 1.5px rgba(var(--accent-rgb), .7); }
.sb-plan img, .sb-img-vide { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 12px; display: block; background: var(--champ); }
.storyboard.paysage .sb-plan img, .storyboard.paysage .sb-img-vide { aspect-ratio: 16 / 9; }
.sb-temps { color: var(--accent-fort); font-weight: 700; font-size: 13px; font-variant-numeric: tabular-nums; }
[data-theme="light"] .sb-temps { color: #0f8a78; }
.sb-plan h4 { margin: 6px 0 8px; font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; }
.sb-voix { margin: 0; color: var(--doux); font-style: italic; line-height: 1.5; font-size: 15.5px; }
@media (max-width: 860px) {
  .storyboard { grid-template-columns: 1fr; gap: 18px; }
  .sb-colle { position: sticky; top: 8px; z-index: 2; }
  .sb-tel { width: 168px; border-radius: 28px; padding: 7px; }
  .sb-ecran { border-radius: 22px; }
  .sb-st { font-size: 11px; bottom: 26px; left: 8px; right: 8px; }
  .sb-lire { display: none; }
  .sb-plan { min-height: 38vh; grid-template-columns: 72px 1fr; gap: 14px; }
  .sb-plan h4 { font-size: 16.5px; }
}
@media (prefers-reduced-motion: reduce) { .sb-ecran > .vu { animation: none; } }

/* Les versions livrées en plus (anglais, autre format), sous les boutons de la vidéo principale */
.version-en-plus { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--ligne); }
.version-en-plus h3 { margin: 0 0 10px; font-size: 16px; }
.version-en-plus p { margin: 0; color: var(--doux); font-size: 14px; }

/* La planche de la marque (02/11/2026) : l'animation seule quelques secondes, puis elle part en zoom et s'efface ; une
   mosaïque pleine largeur, en colonnes, prend tout l'écran ; chaque case à la hauteur de son contenu (photos entières) */
.attente.en-planche { justify-content: flex-start; padding: 16px; width: 100%; box-sizing: border-box; overflow-x: clip; }
/* (05/11/2026, Axel : « bug ») le fil des étapes, fixé en haut, recouvrait la barre de la lecture du site : la planche
   descend sous le fil */
.fil-attente ~ .attente.en-planche { padding-top: 74px; }
@media (max-width: 600px) { .fil-attente ~ .attente.en-planche { padding-top: 62px; } }
/* les autres attentes (idées, tournage) : leur carte ne remonte jamais sous le fil */
.fil-attente ~ .attente:not(.en-planche) { padding-top: 92px; }
@media (max-width: 600px) { .fil-attente ~ .attente:not(.en-planche) { padding-top: 72px; } }
.attente.en-planche .bulle, .planche { box-sizing: border-box; max-width: 100%; }
/* la bulle devient une bande fine, toute la largeur, en haut : l'illustration à gauche, la phrase, ce qui se passe à droite */
.attente.en-planche .bulle { flex: none; width: 100%; max-width: none; flex-direction: row; align-items: center; gap: 16px; padding: 6px 22px 6px 10px; margin: 0 0 12px; border-radius: 18px; }
.attente.en-planche .chargeur, .attente.en-planche .chargeur.large { width: 104px; height: 48px; margin: 0; flex: none; }
.attente.en-planche .duo { width: 104px; height: 48px; }
.attente.en-planche .duo img { width: 46px; height: 46px; }
.attente.en-planche .phrase { font-size: 19px !important; text-align: left; flex: 1; min-width: 0; }
.attente.en-planche .fil { margin: 0; width: min(380px, 34vw); flex: none; height: 22px; }
.attente.en-planche .fil span { text-align: right; font-size: 13.5px; }
.attente.en-planche .sous, .attente.en-planche .suivi { display: none; }
@media (max-width: 760px) { .attente.en-planche .fil { display: none; } .attente.en-planche .phrase { font-size: 16px !important; } .attente.en-planche .chargeur, .attente.en-planche .chargeur.large, .attente.en-planche .duo { width: 84px; height: 40px; } .attente.en-planche .duo img { width: 38px; height: 38px; } }
/* la bulle se dissout dans les nuages qui montent (app.js : FilmeaCiel.vers(1.4) puis 0.15) */
body:has(.attente.en-planche) .progression { opacity: 0; }
/* la barre de chargement, toute la largeur, qui avance à chaque case */
.pl-barre { position: fixed; top: 0; left: 0; right: 0; height: 4px !important; min-height: 0; padding: 0; margin: 0; line-height: 0; z-index: 40; background: #14203d1a; transition: opacity 600ms; }
.pl-barre i { position: absolute; left: 0; top: 0; display: block; height: 4px; width: 3%; overflow: hidden; background: linear-gradient(90deg, var(--accent), var(--accent-fort)); box-shadow: 0 0 12px rgba(var(--accent-rgb), .6); transition: width 900ms var(--courbe); border-radius: 0 3px 3px 0; }
.pl-barre i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, #ffffffb0, transparent); transform: translateX(-100%); animation: pl-barre 1.5s linear infinite; }
@keyframes pl-barre { to { transform: translateX(100%); } }
.pl-barre.finie { opacity: 0; }
.planche { --marque: #1b2a4a; --sur-marque: #fff; width: 100%; display: flex; gap: 10px; align-items: flex-start; }
.pl-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.pl-case { position: relative; overflow: hidden; border-radius: 18px; background: #ffffffe6; border: 1px solid #ffffffcc; box-shadow: 0 18px 40px -30px #2a3d7a66; text-align: left; color: #14203d; }
/* la case qui arrive : un rideau qui se lève ; la photo se développe, les lignes de texte montent une à une */
.pl-case.arrive { animation: pl-rideau 950ms cubic-bezier(.65, 0, .25, 1) both; }
@keyframes pl-rideau { from { clip-path: inset(100% 0 0 0 round 18px); transform: translateY(18px); } to { clip-path: inset(0 0 0 0 round 18px); transform: none; } }
.pl-case.arrive .pl-photo { animation: pl-developpe 1700ms cubic-bezier(.3, 0, .2, 1) both; }
@keyframes pl-developpe { from { filter: blur(14px) saturate(0) brightness(1.18); transform: scale(1.12); } to { filter: none; transform: none; } }
.pl-case.arrive :is(h3, h4, p, .pl-puces span, .pl-coul > div, .pl-typo > *) { animation: pl-ligne 700ms cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(260ms + var(--k, 0) * 70ms); }
@keyframes pl-ligne { from { opacity: 0; transform: translateY(12px); } }
.pl-case.arrive .pl-logo img { animation: pl-ligne 900ms 300ms cubic-bezier(.2, .8, .2, 1) both; }
.pl-photo { width: 100%; height: auto; display: block; }
.pl-source { position: absolute; left: 10px; bottom: 10px; padding: 4px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 650; color: #fff; background: #0b1024a6; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pl-logo { display: grid; place-items: center; min-height: 190px; padding: 30px; background: #fff; }
.pl-logo.sombre { background: #14203d; }
.pl-logo img { max-width: 80%; max-height: 120px; object-fit: contain; }
.pl-logo b { font-size: 34px; font-weight: 800; }
.pl-acc { display: flex; flex-direction: column; min-height: 250px; padding: 24px 26px; background: var(--marque); color: var(--sur-marque); }
.pl-acc small { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; opacity: .8; font-weight: 650; }
.pl-acc h3 { margin: auto 0 0; padding-top: 28px; font-size: clamp(24px, 2.2vw, 36px); line-height: 1.08; letter-spacing: -0.02em; font-weight: 750; }
.pl-acc span { margin-top: 14px; font-size: 13px; opacity: .75; }
.pl-coul { display: flex; gap: 8px; padding: 14px; height: 120px; }
.pl-coul div { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pl-coul div span { flex: 1; border-radius: 10px; box-shadow: inset 0 0 0 1px #14203d14; }
.pl-coul i { font-style: normal; font-size: 10.5px; letter-spacing: .04em; color: #5a6680; text-align: center; white-space: nowrap; overflow: hidden; }
.pl-texte, .pl-chiffre { padding: 18px 20px; display: flex; flex-direction: column; }
.pl-texte h4, .pl-chiffre h4 { margin: 0 0 8px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #8a93a8; font-weight: 700; }
.pl-texte p { margin: 0; font-size: 14.5px; line-height: 1.5; color: #2a3550; }
.pl-texte .pl-cite { font-style: italic; }
.pl-texte .pl-mots { font-size: 22px; line-height: 1.15; font-weight: 700; color: #14203d; text-transform: capitalize; }
.pl-puces { display: flex; flex-wrap: wrap; gap: 6px; }
.pl-puces span { padding: 6px 11px; border-radius: 999px; font-size: 12.5px; border: 1px solid #14203d22; color: #14203d; }
.pl-puces span:first-child { background: var(--marque); color: var(--sur-marque); border-color: transparent; }
.pl-typo { display: flex; flex-direction: column; justify-content: center; padding: 20px; min-height: 140px; }
.pl-typo b { font-size: 56px; line-height: 1; font-weight: 600; color: #14203d; }
.pl-typo span { margin-top: 10px; font-size: 14px; font-weight: 650; }
.pl-typo small { font-size: 12px; color: #8a93a8; }
.pl-chiffre p { margin: 2px 0 0; font-size: 13px; color: #2a3550; }
.pl-chiffre p b { font-size: 22px; font-weight: 750; color: #14203d; margin-right: 4px; }
.pl-chiffre .pl-grand { font-size: 42px; font-weight: 750; color: #14203d; line-height: 1; }
.pl-chiffre .pl-grand small { font-size: 15px; color: #8a93a8; font-weight: 600; }
@media (max-width: 760px) { .attente.en-planche { padding: 10px; } .planche, .pl-col { gap: 8px; } .pl-acc { min-height: 210px; } .pl-acc h3 { font-size: 22px; } }
@media (prefers-reduced-motion: reduce) { .attente.en-planche .bulle { animation: none; display: none; } .pl-case.arrive, .pl-case.arrive * { animation: none !important; } }

/* la sortie de la planche : les cases s'envolent une à une, puis l'écran suivant entre en douceur */
.planche.pl-depart .pl-case { opacity: 0; transform: translateY(-26px) scale(.94); transition: opacity 520ms var(--courbe), transform 620ms var(--courbe); }
.apres-planche { animation: apres-planche 700ms var(--courbe) both; }
@keyframes apres-planche { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { .planche.pl-depart .pl-case { transition: opacity 200ms; transform: none; } .apres-planche { animation: none; } }
/* sur une fenêtre de portable, deux exemples seulement : le troisième était coupé à côté des ajouts */
@media (min-width: 901px) and (max-width: 1340px) { .exemples-depart button:nth-child(n+3) { display: none; } }

/* L'attente des idées (03/11/2026, Axel : « un jeu qui occupe, avec un vrai pourcentage RÉEL ») : la jauge de l'avancement
   donné par le moteur, les titres des idées dès qu'ils sont écrits, et un memory des illustrations de Filmea */
.attente-jeu { justify-content: flex-start; gap: 18px; padding-top: max(40px, 8svh); }
.attente-jeu .bulle { width: min(620px, 100%); padding: 28px 34px 26px; }
.jauge { width: 100%; height: 10px; margin-top: 18px; border-radius: 999px; background: #ffffff1f; overflow: hidden; box-shadow: inset 0 1px 2px #0000001a; }
.jauge span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #7ff0de, var(--accent)); transition: width 900ms var(--courbe); position: relative; overflow: hidden; }
.jauge span::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, #ffffff73, transparent); transform: translateX(-100%); animation: jauge-reflet 1.8s ease-in-out infinite; }
@keyframes jauge-reflet { to { transform: translateX(100%); } }
.jauge-texte { width: 100%; min-height: 38px; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; font-size: 14.5px; color: var(--doux); }
.jauge-texte .pc { font-size: 17px; font-weight: 700; color: var(--texte); font-variant-numeric: tabular-nums; }
.titres-idees { list-style: none; margin: 0; padding: 0; width: min(620px, 100%); display: flex; flex-direction: column; gap: 6px; text-align: left; }
.titres-idees:empty { display: none; }
.titres-idees li { display: flex; align-items: center; gap: 9px; padding: 10px 14px; border-radius: 14px; background: #ffffff14; border: 1px solid #ffffff1f; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); font-size: 14.5px; font-weight: 600; animation: piece-arrive 420ms var(--courbe); }
.titres-idees li svg { width: 17px; height: 17px; flex: none; color: var(--accent); }
.attente-jeu .voir-idees { height: 38px; padding: 0 16px; font-size: 14.5px; flex: none; animation: piece-arrive 420ms var(--courbe); }
.memory { width: min(620px, 100%); padding: 18px 20px 20px; border-radius: 28px; }
.memory-tete { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.memory-tete h2 { margin: 0; font-size: 17px; letter-spacing: -0.01em; }
.memory-tete .coups { font-size: 14px; color: var(--doux); font-variant-numeric: tabular-nums; }
.memory-tete .rejouer { margin-left: 8px; font-size: 14px; }
.memory-grille { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.carte-memory { position: relative; aspect-ratio: 1; padding: 0; border: 0; background: none; cursor: pointer; perspective: 600px; -webkit-tap-highlight-color: transparent; }
.carte-memory .face { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 16px; backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: transform 460ms var(--courbe), box-shadow 300ms; }
.carte-memory .dos { background: linear-gradient(140deg, #7ff0de, var(--accent)); box-shadow: 0 10px 22px -12px #0b2a2acc, inset 0 1px 0 #ffffff80; }
.carte-memory .dos svg { width: 46%; height: auto; filter: brightness(0) invert(1); opacity: .9; }
.carte-memory .devant { background: #fff; border: 1px solid var(--ligne); transform: rotateY(180deg); box-shadow: 0 10px 22px -14px #2a3d7a66; }
.carte-memory .devant img { width: 82%; height: 82%; object-fit: contain; pointer-events: none; }
.carte-memory.retournee .dos { transform: rotateY(-180deg); }
.carte-memory.retournee .devant { transform: rotateY(0); }
.carte-memory:hover:not(.retournee) .dos { transform: translateY(-3px); }
.carte-memory.trouvee .devant { border-color: rgba(var(--accent-rgb), .8); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .25); animation: trouvee 500ms var(--courbe); }
@keyframes trouvee { 50% { transform: scale(1.08); } }
@media (max-width: 560px) { .memory-grille { grid-template-columns: repeat(4, 1fr); gap: 8px; } .attente-jeu .bulle { padding: 22px 18px 20px; } }
@media (prefers-reduced-motion: reduce) { .jauge span::after { animation: none; } .carte-memory .face { transition: none; } }
[data-theme="light"] .jauge { background: #e6edf7; }
[data-theme="light"] .titres-idees li { background: #ffffffd9; border-color: var(--ligne); color: var(--texte); text-shadow: none; }

/* Les trois idées (03/11/2026, maquette A et téléphone de la maquette B) : des onglets, le téléphone qui joue l'idée à
   gauche, son histoire et ses plans à droite */
.onglets-idees { display: flex; gap: 10px; margin: 22px 0 18px; overflow-x: auto; scrollbar-width: none; padding: 3px; }
.onglets-idees::-webkit-scrollbar { display: none; }
.onglet-idee { flex: none; display: flex; align-items: center; gap: 10px; max-width: 300px; padding: 7px 14px 7px 7px; border-radius: 16px; border: 1px solid var(--ligne); background: var(--champ); color: var(--doux); font: inherit; font-size: 15px; font-weight: 600; text-align: left; cursor: pointer; transition: background 200ms, color 200ms, box-shadow 200ms; }
.onglet-idee img { width: 34px; height: 46px; object-fit: cover; border-radius: 8px; flex: none; }
.onglet-idee span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.onglet-idee:hover { color: var(--texte); }
.onglet-idee.choisi { background: #fff; color: var(--texte); box-shadow: 0 0 0 2px var(--accent), 0 10px 24px -14px #2a3d7a66; }
[data-theme="dark"] .onglet-idee.choisi { background: #ffffff1f; }
.idee-vue { display: grid; grid-template-columns: 330px 1fr; gap: 34px; align-items: start; }
.idee-vue.paysage { grid-template-columns: 350px 1fr; }
.idee-vue.paysage .sb-tel { width: 340px; aspect-ratio: 16 / 10; border-radius: 26px; }
.idee-vue.paysage .sb-ecran { border-radius: 16px; }
.idee-detail { padding: 26px 26px 22px; border-radius: 26px; }
.idee-detail h2 { margin: 0 0 10px; font-size: 27px; line-height: 1.15; letter-spacing: -0.02em; }
.idee-histoire { margin: 0; color: var(--doux); line-height: 1.55; font-size: 16px; }
.idee-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 14px 0 18px; color: var(--doux); font-size: 14.5px; }
.idee-meta b { color: var(--texte); }
.idee-plans { display: grid; gap: 8px; }
.idee-plan { display: grid; grid-template-columns: 74px 1fr; gap: 16px; align-items: center; padding: 8px; border: 0; border-radius: 16px; background: #ffffff8c; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: background 300ms, box-shadow 300ms; }
.idee-vue.paysage .idee-plan { grid-template-columns: 124px 1fr; }
.idee-plan img, .idee-plan .sb-img-vide { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 11px; display: block; }
.idee-vue.paysage .idee-plan img, .idee-vue.paysage .idee-plan .sb-img-vide { aspect-ratio: 16 / 9; }
.idee-plan.actif { background: rgba(var(--accent-rgb), .12); box-shadow: inset 0 0 0 1.5px rgba(var(--accent-rgb), .7); }
.idee-plan-texte { display: block; margin-top: 4px; font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--texte); }
[data-theme="dark"] .idee-plan { background: #ffffff0d; }
.idee-detail .pied-question { margin-top: 22px; }
@media (max-width: 900px) {
  .idee-vue, .idee-vue.paysage { grid-template-columns: 1fr; gap: 16px; }
  .idee-vue .sb-colle { position: static; }
  .idee-vue .sb-tel { width: 200px; border-radius: 32px; padding: 8px; }
  .idee-vue .sb-ecran { border-radius: 25px; }
  .idee-vue .sb-st { font-size: 12px; bottom: 30px; left: 10px; right: 10px; }
  .idee-vue .sb-lire { display: inline-flex; }
  .idee-vue.paysage .sb-tel { width: 100%; }
  .idee-detail { padding: 20px 16px 18px; }
  .idee-detail h2 { font-size: 22px; }
  .idee-plan { grid-template-columns: 56px 1fr; gap: 12px; }
  .idee-plan-texte { font-size: 15px; }
}
/* le message d'un retour à la zone de départ (erreur de lecture, vitrine), juste sous elle */
.depart-erreur { width: min(690px, 100%); margin: 12px auto 0; text-align: left; }
[data-theme="light"] .depart-erreur { color: #b4233a; background: #fff1f3e6; border-color: #f3b6c0; }
.champ-site:not(.mode-idee) + .depart-erreur { width: min(620px, 100%); }
/* un contour plus fin autour des vidéos de l'accueil (03/11/2026, Axel) : 3 px de verre au lieu de 7 */
.heros-studio .ecran { padding: 3px; border-radius: 22px; }
.heros-studio .ecran video { border-radius: 19px; }
.heros-studio .ecran.petit { padding: 2.5px; border-radius: 16px; }
.heros-studio .ecran.petit video { border-radius: 13.5px; }

/* Les petits jeux de l'attente (03/11/2026) : une zone de taille fixe, quatre jeux */
.memory-tete .autre-jeu { font-size: 14px; }
.jeu-zone { min-height: 196px; display: grid; place-items: center; }
.jeu-zone > * { width: 100%; }
.memory .coups { min-height: 22px; margin-top: 12px; font-size: 14px; color: var(--doux); text-align: center; font-variant-numeric: tabular-nums; }
.memory .coups b { color: var(--texte); }
.memory .coups .lien { font-size: 14px; margin-left: 6px; }
/* attrapez les idées */
.attrape-grille { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.trou { aspect-ratio: 1; padding: 0; border: 0; border-radius: 16px; background: radial-gradient(ellipse at 50% 80%, #dfe7f3, #eef3fa 70%); box-shadow: inset 0 3px 8px #2a3d7a26; overflow: hidden; cursor: pointer; display: grid; place-items: center; -webkit-tap-highlight-color: transparent; }
.trou img { width: 78%; height: 78%; object-fit: contain; transform: translateY(70%) scale(.6); opacity: 0; transition: transform 200ms var(--courbe), opacity 160ms; pointer-events: none; }
.trou.sorti img { transform: none; opacity: 1; }
.trou.touche img { transform: scale(1.25); opacity: 0; transition: transform 240ms, opacity 240ms; }
.trou.touche { box-shadow: inset 0 0 0 3px rgba(var(--accent-rgb), .7); }
[data-theme="dark"] .trou { background: #ffffff10; }
/* remettez l'image d'aplomb */
.aplomb { display: flex; align-items: center; justify-content: center; gap: 26px; }
.aplomb-grille { display: grid; grid-template-columns: repeat(3, 62px); gap: 4px; padding: 4px; border-radius: 16px; background: #ffffffa6; transition: gap 400ms var(--courbe); }
.aplomb-grille.entiere { gap: 0; }
.morceau { width: 62px; height: 62px; padding: 0; border: 0; border-radius: 8px; background-size: 300% 300%; cursor: pointer; transition: transform 260ms var(--courbe), border-radius 400ms; box-shadow: 0 2px 6px -3px #2a3d7a55; }
.morceau.fixe { cursor: default; }
.aplomb-grille.entiere .morceau { border-radius: 0; box-shadow: none; }
.aplomb-modele { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12.5px; color: var(--doux); }
.aplomb-modele img { width: 84px; height: 84px; object-fit: contain; border-radius: 14px; background: linear-gradient(135deg, #c8f3ea, #fdf1dc 55%, #e7ddff); }
/* trouvez l'intrus */
.intrus-grille { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.intrus { aspect-ratio: 1; padding: 6px; border: 1px solid var(--ligne); border-radius: 16px; background: #fff; cursor: pointer; display: grid; place-items: center; transition: transform 200ms, box-shadow 200ms; animation: piece-arrive 300ms var(--courbe); }
.intrus img { width: 86%; height: 86%; object-fit: contain; pointer-events: none; }
.intrus:hover { transform: translateY(-2px); }
.intrus.rate { animation: secoue 380ms; box-shadow: 0 0 0 3px #ff6b7d55; }
.intrus.trouve { box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .8); transform: scale(1.08); }
@keyframes secoue { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
[data-theme="dark"] .intrus { background: #ffffff14; }
@media (max-width: 560px) {
  .jeu-zone { min-height: 262px; }
  .attrape-grille, .intrus-grille { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .aplomb { gap: 16px; } .aplomb-grille { grid-template-columns: repeat(3, 58px); } .morceau { width: 58px; height: 58px; } .aplomb-modele img { width: 64px; height: 64px; }
}
/* les images du téléphone tiennent dans le cadre (03/11/2026, Axel) : entières, sur elles-mêmes floutées, et le léger
   zoom ne fait plus sortir le sujet de l'écran */
.sb-ecran > .sb-diapo { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity 700ms; }
.sb-ecran > .sb-diapo.vu { opacity: 1; }
.sb-diapo .fond { position: absolute; inset: -8%; width: 116%; height: 116%; object-fit: cover; filter: blur(22px) saturate(1.1) brightness(.85); }
.sb-diapo .net { position: absolute; top: 0; left: 3%; width: 94%; height: 100%; object-fit: contain; transform-origin: 50% 50%; }
.sb-ecran > .sb-diapo.vu .net { animation: sb-souffle 7s ease-out forwards; }
@keyframes sb-souffle { from { transform: scale(1); } to { transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .sb-ecran > .sb-diapo.vu .net { animation: none; } }
/* Modifier un plan d'une idée (03/11/2026) : un lien sous le texte, quelques mots, le plan refait sur place */
.idee-plan { cursor: pointer; }
.idee-plan-img { position: relative; display: block; }
.idee-plan-corps { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.modifier-plan { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 5px 11px 5px 9px; border: 1px solid var(--ligne); border-radius: 999px; background: #ffffffb3; color: var(--doux); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; opacity: 0; transition: opacity 200ms, color 200ms, border-color 200ms; }
.modifier-plan svg { width: 14px; height: 14px; }
.idee-plan:hover .modifier-plan, .idee-plan.actif .modifier-plan, .modifier-plan:focus-visible { opacity: 1; }
.modifier-plan:hover { color: var(--texte); border-color: rgba(var(--accent-rgb), .6); }
@media (hover: none) { .modifier-plan { opacity: 1; } }
.form-plan { width: 100%; margin-top: 10px; display: flex; flex-direction: column; gap: 8px; cursor: default; }
.form-plan textarea { width: 100%; resize: none; font: inherit; font-size: 14.5px; line-height: 1.45; color: var(--texte); background: #fff; border: 1px solid var(--ligne); border-radius: 12px; padding: 9px 12px; outline: 0; }
.form-plan textarea:focus { border-color: rgba(var(--accent-rgb), .8); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .18); }
.form-plan-pied { display: flex; align-items: center; gap: 12px; }
.form-plan .bouton.petit { height: 34px; padding: 0 14px; font-size: 14px; }
.form-plan .lien { font-size: 14px; }
[data-theme="dark"] .form-plan textarea, [data-theme="dark"] .modifier-plan { background: #ffffff12; }
.refait-voile { position: absolute; inset: 0; display: none; place-items: center; border-radius: 11px; background: #ffffffa6; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.idee-plan.refait .refait-voile { display: grid; }
.idee-plan.refait .idee-plan-texte { color: var(--doux); font-style: italic; }
.rond-charge { width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid rgba(var(--accent-rgb), .25); border-top-color: var(--accent); animation: tourne 900ms linear infinite; }
@keyframes tourne { to { transform: rotate(360deg); } }
.idee-plan-erreur { margin-top: 6px; font-size: 13px; color: #c0354a; }
.form-plan[hidden], .modifier-plan[hidden] { display: none; }
/* Plus de téléphone (03/11/2026, Axel : « un rendu réel et pas en contain », « si c'est une demande en format paysage ça
   va bug ») : un lecteur au format exact de la vidéo (9:16 ou 16:9), bordé d'un fin liseré de verre, et l'image le
   remplit comme dans le film */
.sb-tel { width: 300px; aspect-ratio: 9 / 16; padding: 4px; border-radius: 26px; background: #ffffff8c; border: 1px solid #ffffffcc; box-shadow: 0 40px 80px -34px #2a3d7a99; }
.sb-ecran { border-radius: 21px; }
.storyboard.paysage .sb-tel, .idee-vue.paysage .sb-tel { width: 100%; aspect-ratio: 16 / 9; border-radius: 22px; }
.storyboard.paysage .sb-ecran, .idee-vue.paysage .sb-ecran { border-radius: 17px; }
.sb-diapo .fond { display: none; }
.sb-diapo .net { left: 0; width: 100%; object-fit: cover; }
.sb-st { bottom: 34px; }
.idee-vue.paysage, .storyboard.paysage { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
[data-theme="dark"] .sb-tel { background: #ffffff14; border-color: #ffffff2e; }
@media (max-width: 900px) {
  .idee-vue .sb-tel, .storyboard .sb-tel { width: 210px; border-radius: 22px; padding: 3px; }
  .idee-vue .sb-ecran, .storyboard .sb-ecran { border-radius: 18px; }
  .idee-vue.paysage .sb-tel, .storyboard.paysage .sb-tel { width: 100%; }
  .idee-vue.paysage, .storyboard.paysage { grid-template-columns: 1fr; }
  .sb-st { bottom: 20px; }
}
.badge-conseil.arrive { animation: badge-arrive 520ms var(--courbe); }
@keyframes badge-arrive { from { opacity: 0; transform: translate(-50%, 80%) scale(.9); } }

/* Le bandeau pour passer la page des éléments (03/11/2026, Axel : « en haut un bandeau avec un bouton pour passer cette
   étape rapidement ») */
.bandeau-passer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 10px 10px 18px; border-radius: 18px; margin: 0 0 22px; }
.bandeau-passer .bp-texte { display: inline-flex; align-items: center; gap: 10px; color: var(--doux); font-size: 15px; font-weight: 550; }
.bandeau-passer .bp-texte svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.bandeau-passer .bouton.petit { height: 38px; padding: 0 16px; font-size: 14.5px; flex: none; }
@media (max-width: 600px) { .bandeau-passer { flex-direction: column; align-items: stretch; text-align: left; } }
/* le site, facultatif, dans son propre champ au-dessus de la description (03/11/2026, Axel : « séparer les deux ») */
.site-depart { display: flex; align-items: center; gap: 10px; width: min(690px, 100%); min-height: 50px; margin: 0 0 6px; padding: 4px 14px 4px 20px; border-radius: 999px; cursor: text; transition: border-color 200ms, box-shadow 200ms; }
.site-depart[hidden] { display: none; }
.site-depart:focus-within { border-color: rgba(var(--accent-rgb), .55); }
.site-depart > svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.site-depart input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16.5px; color: var(--texte); padding: 4px; }
.site-depart input::placeholder { color: var(--tres-doux); }
.site-depart .site-ok { width: 20px; height: 20px; display: grid; place-items: center; flex: none; border-radius: 50%; background: var(--accent); color: #fff; animation: piece-arrive 260ms var(--courbe); }
.site-depart .site-ok[hidden] { display: none; }
.site-depart .site-ok svg { width: 12px; height: 12px; }
.site-depart.faux { border-color: #f3a2ae; animation: secoue 380ms; }
@media (max-width: 600px) { .site-depart { min-height: 46px; padding: 3px 12px 3px 16px; } .site-depart input { text-align: left; font-size: 16px; } }
/* en mode « Mon site web », la ligne du site et les pièces jointes de la description ne s'affichent pas (03/11/2026, bug :
   la ligne restée ouverte écrasait le champ du site) */
.champ-site:not(.mode-idee) .site-depart, .champ-site:not(.mode-idee) .pieces-depart { display: none !important; }
/* les attentes de la vidéo avec leurs jeux (03/11/2026) : la phrase et les étapes, puis le jeu */
/* la liste des étapes et l'annonce alignées à gauche sur toute la largeur du bloc, sous le titre centré (Axel, 03/11 :
   « les points centrés dans le bloc, ça fait bizarre ») */
.attente-suivi .suivi { align-self: stretch; text-align: left; }
.attente-suivi .suivi ol { margin-top: 24px; }
.attente-suivi .fin-annonce { text-align: left; }
.attente-suivi .fin-annonce .voir-idees { margin-top: 2px; }
/* Suivez la séquence */
.sequence-grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 470px; margin: 0 auto; }
.seq { aspect-ratio: 1; padding: 0; border: 1px solid var(--ligne); border-radius: 20px; background: #fff; cursor: pointer; display: grid; place-items: center; opacity: .72; transition: transform 160ms var(--courbe), box-shadow 160ms, opacity 160ms, background 160ms; -webkit-tap-highlight-color: transparent; }
.seq img { width: 78%; height: 78%; object-fit: contain; pointer-events: none; }
.seq.allume { opacity: 1; transform: scale(1.07); background: #f2fffc; box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .55), 0 14px 26px -12px rgba(var(--accent-rgb), .8); }
.seq.rate { animation: secoue 380ms; box-shadow: 0 0 0 3px #ff6b7d66; }
[data-theme="dark"] .seq { background: #ffffff14; }
/* Le taquin */
.taquin { --t: 62px; position: relative; width: calc(3 * var(--t) + 16px); height: calc(3 * var(--t) + 16px); padding: 4px; border-radius: 16px; background: #dfe7f3; box-shadow: inset 0 3px 8px #2a3d7a26; box-sizing: border-box; transition: background 400ms; }
.taquin.entiere { background: transparent; box-shadow: none; }
.tq-morceau { position: absolute; left: 4px; top: 4px; width: var(--t); height: var(--t); padding: 0; border: 0; border-radius: 8px; background-size: 300% 300%; cursor: pointer; box-shadow: 0 2px 6px -3px #2a3d7a55; transform: translate(calc(var(--x) * (var(--t) + 4px)), calc(var(--y) * (var(--t) + 4px))); transition: transform 180ms var(--courbe), border-radius 400ms; }
.taquin.entiere .tq-morceau { border-radius: 0; box-shadow: none; }
/* Coupez au bon moment */
.coupe { display: flex; flex-direction: column; align-items: center; gap: 22px; max-width: 520px; margin: 0 auto; }
.piste { position: relative; width: 100%; height: 64px; border-radius: 14px; background: repeating-linear-gradient(90deg, #1b2747 0 34px, #24335a 34px 68px); box-shadow: inset 0 0 0 1px #ffffff14, 0 12px 26px -16px #14203dcc; cursor: pointer; overflow: hidden; touch-action: manipulation; }
.piste::before, .piste::after { content: ""; position: absolute; left: 0; right: 0; height: 8px; background: repeating-linear-gradient(90deg, transparent 0 8px, #ffffff59 8px 14px); }
.piste::before { top: 4px; } .piste::after { bottom: 4px; }
.cible { position: absolute; top: 14px; bottom: 14px; border-radius: 7px; background: rgba(var(--accent-rgb), .55); box-shadow: 0 0 0 2px rgba(var(--accent-rgb), .9); transition: left 300ms var(--courbe), width 300ms var(--courbe); }
.cible.touche { background: rgba(var(--accent-rgb), .95); }
.cible.rate { background: #ff6b7d88; box-shadow: 0 0 0 2px #ff6b7d; }
.tete { position: absolute; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 10px #fff; }
.tete::before { content: ""; position: absolute; top: -1px; left: -6px; border: 7px solid transparent; border-top: 9px solid #fff; border-bottom: 0; }
.piste.coupe-ok { animation: trouvee 400ms var(--courbe); }
.piste.coupe-rate { animation: secoue 380ms; }
.coupe .couper { height: 46px; padding: 0 26px; }
/* Moteur… Action ! */
.plateau { width: 100%; max-width: 520px; height: 186px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--ligne); border-radius: 22px; background: #fff; cursor: pointer; font: inherit; font-size: 16px; font-weight: 650; color: var(--texte); transition: background 140ms, box-shadow 140ms; touch-action: manipulation; -webkit-tap-highlight-color: transparent; user-select: none; }
.plateau img { width: 84px; height: 84px; object-fit: contain; pointer-events: none; transition: transform 160ms var(--courbe); }
.plateau.attend { background: #fff7ec; }
.plateau.attend img { transform: rotate(-14deg); }
.plateau.go { background: #e3fbf5; box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .55); }
.plateau.go img { transform: scale(1.15); }
.plateau.trop-tot { background: #fff0f2; animation: secoue 380ms; }
[data-theme="dark"] .plateau { background: #ffffff14; }
@media (max-width: 560px) {
  .sequence-grille { grid-template-columns: repeat(2, 104px); justify-content: center; gap: 10px; }
  .taquin { --t: 58px; }
  .plateau { height: 230px; }
}
.tq-morceau.derniere { animation: piece-arrive 300ms var(--courbe); cursor: default; }
/* La voix du client (03/11/2026) : un cinquième choix de voix, son état, et la fenêtre d'enregistrement */
.opt-choix.n5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1180px) { .opt-choix.n5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 980px) { .opt-choix.n5 { grid-template-columns: repeat(2, 1fr); } }
.voix-etat { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; padding: 10px 14px; border-radius: 14px; background: rgba(var(--accent-rgb), .1); font-size: 14px; animation: piece-arrive 260ms var(--courbe); }
.voix-etat span { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--texte); margin-right: auto; }
.voix-etat svg { width: 16px; height: 16px; color: var(--accent-fort); }
.voix-etat .lien { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; }
body.sans-defilement { overflow: hidden; }
.voile-voix { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: #0b122680; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: voile-arrive 220ms ease-out; overflow-y: auto; }
@keyframes voile-arrive { from { opacity: 0; } }
.fenetre-voix { position: relative; width: min(640px, 100%); padding: 30px 32px 26px; border-radius: 28px; background: linear-gradient(140deg, #ffffffef, #f4f8ffe6); animation: piece-arrive 300ms var(--courbe); }
[data-theme="dark"] .fenetre-voix { background: linear-gradient(140deg, #1b2240f2, #121831ee); }
.fenetre-voix h2 { display: flex; align-items: center; gap: 10px; margin: 0 40px 8px 0; font-size: 22px; letter-spacing: -0.02em; }
.fenetre-voix h2 svg { width: 22px; height: 22px; color: var(--accent-fort); flex: none; }
.fermer-voix { position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #0000000d; color: var(--doux); cursor: pointer; }
.fermer-voix:hover { background: #0000001a; color: var(--texte); }
.fermer-voix svg { width: 16px; height: 16px; }
.vx-aide { margin: 0 0 18px; color: var(--doux); font-size: 15px; line-height: 1.5; }
.vx-pas { display: flex; gap: 8px; margin-bottom: 12px; }
.vx-pas button { flex: 1; height: 34px; display: grid; place-items: center; border: 1px solid var(--ligne); border-radius: 10px; background: #ffffffa6; color: var(--doux); font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; transition: background 200ms, border-color 200ms, color 200ms; }
.vx-pas button svg { width: 15px; height: 15px; }
.vx-pas button.fait { background: rgba(var(--accent-rgb), .14); border-color: rgba(var(--accent-rgb), .4); color: var(--accent-fort); }
.vx-pas button.ici { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .2); color: var(--texte); }
.vx-texte { margin: 0 0 16px; padding: 18px 20px; min-height: 118px; border-radius: 18px; background: #fff; border: 1px solid var(--ligne); font-size: 18px; line-height: 1.55; color: var(--texte); font-weight: 500; }
[data-theme="dark"] .vx-texte, [data-theme="dark"] .vx-pas button { background: #ffffff10; }
.vx-commandes { display: flex; align-items: center; gap: 14px; }
.vx-rec { flex: none; height: 46px; padding: 0 20px; }
.vx-rec svg { width: 18px; height: 18px; }
.vx-rec.en-cours { background: linear-gradient(135deg, #ff8a9a, #ff5d73); color: #fff; box-shadow: 0 10px 24px -12px #ff5d73; }
.vx-rec.en-cours svg { animation: battre 1s ease-in-out infinite; }
@keyframes battre { 50% { transform: scale(1.18); } }
.vx-niveau { flex: 1; height: 34px; display: flex; align-items: center; gap: 3px; min-width: 0; }
.vx-niveau i { flex: 1; height: 100%; border-radius: 3px; background: linear-gradient(180deg, #7ff0de, var(--accent)); transform: scaleY(.12); transition: transform 80ms linear; }
.vx-chrono { flex: none; min-width: 42px; text-align: right; font-variant-numeric: tabular-nums; color: var(--doux); }
.vx-prise { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.vx-prise[hidden] { display: none; }
.vx-prise audio, .vx-prete audio { flex: 1; min-width: 0; height: 40px; }
.vx-prise .lien { flex: none; font-size: 14px; }
.vx-accord { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--doux); cursor: pointer; }
.vx-accord input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }
.vx-bas { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; }
.vx-total { font-size: 14px; color: var(--doux); font-variant-numeric: tabular-nums; }
.vx-creer .rond-charge, .vx-creer .rond-charge { width: 16px; height: 16px; border-width: 2px; margin-right: 8px; }
.vx-erreur { margin-top: 14px; }
.vx-erreur[hidden], .vx-prete[hidden], .vx-enregistrer[hidden] { display: none; }
.vx-prete audio { width: 100%; display: block; }
@media (max-width: 560px) {
  .fenetre-voix { padding: 24px 18px 20px; border-radius: 24px; }
  .fenetre-voix h2 { font-size: 19px; }
  .vx-texte { font-size: 16.5px; padding: 14px 16px; }
  .vx-rec { padding: 0 16px; }
  .vx-bas { flex-direction: column-reverse; align-items: stretch; text-align: center; }
}
/* la jauge des fabrications de vidéo (03/11/2026) : sous le titre, avant les étapes */
.attente-suivi .jauge-video { margin-top: 20px; }
.attente-suivi .jauge-video-texte { min-height: 0; margin-top: 8px; }
.attente-suivi .suivi ol { margin-top: 18px; }
/* La course de la caméra */
.course { position: relative; width: 100%; height: 196px; border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, #eaf6ff, #fdf6ec); border: 1px solid var(--ligne); cursor: pointer; touch-action: manipulation; user-select: none; -webkit-tap-highlight-color: transparent; }
.course canvas { display: block; }
.course-aide { position: absolute; top: 14px; left: 0; right: 0; text-align: center; font-size: 14px; font-weight: 600; color: var(--doux); pointer-events: none; }
.course-aide[hidden] { display: none; }
.course.perdu { animation: secoue 380ms; }
[data-theme="dark"] .course { background: linear-gradient(180deg, #ffffff10, #ffffff06); }
@media (max-width: 560px) { .course { height: 240px; } }
/* le pourcentage réel de la lecture, à droite du bandeau (03/11/2026) */
.pc-lecture { display: none; }
.attente.en-planche .pc-lecture { display: block; flex: none; min-width: 52px; text-align: right; font-size: 17px; font-weight: 750; color: var(--texte); font-variant-numeric: tabular-nums; }

/* Accueil : la vidéo de fond en haut (03/11/2026, Axel : « une vidéo en fond en haut, l'effet WHOUA, et le reste en liquid
   glass au-dessus ») : plein écran, titre au centre, verre fumé (maquette A choisie par Axel le 03/11, la vidéo
   encadrée et le panneau de verre à gauche écartés). */
.heros-video { --haut: 84px; isolation: auto; }
.fond-video { position: absolute; z-index: 0; left: 50%; top: calc(-1 * var(--haut)); bottom: 0; width: 100vw; transform: translateX(-50%); overflow: hidden; background: #0b0e1c; pointer-events: none; }
.fond-video video { width: 100%; height: 100%; object-fit: cover; }
.voile-fond { position: absolute; inset: 0; }
.heros-video .heros-texte { z-index: 2; }
.heros-video h1 { color: #fff; text-shadow: 0 2px 30px #0008; }
.heros-video h1 em, [data-theme="light"] .heros-video h1 em { background: linear-gradient(90deg, #8ff5e4, #4fe0cb 45%, #b9ceff); -webkit-background-clip: text; background-clip: text; text-shadow: none; filter: drop-shadow(0 2px 22px #0006); }
.heros-video p.sous { color: #ffffffe0; text-shadow: 0 1px 18px #000a; }
.heros-video .pastille { background: #ffffff1f; border-color: #ffffff38; color: #fff; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.heros-video .descendre { background: #0b0f2073 !important; border-color: #ffffff38; color: #fff; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
body:has(.heros-video) .barre:not(.voilee) .navlien { color: #ffffffd9; }
body:has(.heros-video) .barre:not(.voilee) .navlien:hover { color: #fff; background: #ffffff1a; }
body:has(.heros-video) .barre:not(.voilee) .logo-marque { content: url("/img/logo/filmea-sombre.svg"); }

/* le verre fumé : les couleurs du thème sombre, posées sur la vidéo */
.heros-video .heros-texte {
  --texte: #f4f6fc; --doux: #d3d9e8; --tres-doux: #a3adc4; --accent: #34d3bd; --accent-fort: #6ae6d4; --accent-rgb: 52, 211, 189;
  --verre: linear-gradient(140deg, #141a33a6 0%, #0b0f2185 55%, #121833a0 100%); --ligne: #ffffff2b; --ligne-forte: #ffffff45;
  --ombre: inset 0 1px 0 #ffffff26, 0 30px 70px -30px #000c; color: var(--texte); }
.heros-video .champ-site, .heros-video .site-depart { -webkit-backdrop-filter: blur(24px) saturate(1.5); backdrop-filter: blur(24px) saturate(1.5); box-shadow: var(--ombre) !important; }
.heros-video .exemples-depart button, .heros-video .ajouts-depart .ajout { background: #ffffff12; }
.heros-video .exemples-depart button:hover, .heros-video .ajouts-depart .ajout:hover { background: #ffffff26; color: #fff; }
.heros-video .bascule-depart { background: #0b0f2059; border-color: #ffffff2e; }
.heros-video .bascule-depart .curseur { background: #ffffff2e; box-shadow: inset 0 1px 0 #ffffff33; }
.heros-video .bascule-depart button.on { color: #fff; }

/* la vidéo prend tout l'écran, sans fondu en bas (Axel, 03/11) */
/* (06/11/2026, Axel : « l'éclaircir un peu, l'overlay est un peu noir ») : le voile allégé, seulement derrière le texte et sous la barre */
.heros-video .voile-fond { background: radial-gradient(55% 45% at 50% 50%, #070a1a4d, transparent 75%), linear-gradient(180deg, #070a1a6b 0%, #070a1a0d 24%, transparent 60%, #070a1a40 100%); }
/* la page de départ seule (#/commencer) : la zone de départ au milieu, sur le ciel */
.heros-seul { display: flex; flex-direction: column; justify-content: center; min-height: calc(100svh - 84px); padding-bottom: 6vh; }

@media (max-width: 760px) {
  .heros-video { --haut: 72px; min-height: calc(100svh - 72px); justify-content: center; padding-bottom: 70px; }
  .heros-video .descendre { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); margin: 0; }
}
@media (min-width: 761px) and (max-width: 900px) { .heros-video { min-height: calc(100svh - 84px); justify-content: center; padding-bottom: 80px; } }

/* Sous la vidéo, plus de nuages (03/11/2026, Axel : « quand on scrolle, dark mode, plus de nuages ») : un fond uni avec
   deux lueurs douces derrière le verre ; sombre par défaut, clair au choix */
body:has(.heros-video) .ciel { display: none; }
html:has(.heros-video) { background: radial-gradient(55% 35% at 12% 62%, #34d3bd14, transparent 70%), radial-gradient(50% 35% at 88% 88%, #7a6cff17, transparent 70%), #080b16; background-attachment: fixed; }
html[data-theme="light"]:has(.heros-video) { background: radial-gradient(55% 35% at 12% 62%, #12b8a01c, transparent 70%), radial-gradient(50% 35% at 88% 88%, #6c7cff1a, transparent 70%), #f3f5fa; background-attachment: fixed; }
/* le bouton clair / sombre de la barre du haut */
.bascule-theme { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--ligne); background: #ffffff10; color: var(--texte); cursor: pointer; transition: background 200ms, transform 160ms var(--courbe); }
.bascule-theme:hover { background: #ffffff21; }
.bascule-theme:active { transform: scale(.94); }
.bascule-theme svg { width: 19px; height: 19px; }
[data-theme="light"] .bascule-theme { background: #ffffffa6; }
body:has(.heros-video) .barre:not(.voilee) .bascule-theme { background: #ffffff1a; border-color: #ffffff38; color: #fff; }
@media (max-width: 760px) { .bascule-theme { width: 36px; height: 36px; } .bascule-theme svg { width: 17px; height: 17px; } }

/* sur téléphone, plus d'exemples de vidéo (« Un tutoriel », « Une appli »...) sous la description (Axel, 04/11) */
@media (max-width: 760px) { .champ-site.mode-idee .exemples-depart { display: none; } }

/* La timeline de la vidéo (04/11/2026, Axel : « toutes les images de la vidéo, une timeline en haut, un curseur qu'on fait
   passer, demander des modifications là où on veut exactement, et voir les plans ») */
.timeline-video { padding: 14px 18px 16px; margin: 6px 0 18px; }
.tl-haut { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 10px; color: var(--doux); font-size: 13.5px; }
.tl-commandes, .tl-droite { display: flex; align-items: center; gap: 10px; min-width: 0; }
.tl-droite { flex: none; }
.tl-modele { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--ligne); background: #ffffff0d; color: var(--doux); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.tl-modele svg { width: 15px; height: 15px; color: var(--accent); }
.lien.danger { color: #ff8a8a; }
.tl-modele-tel { display: none; }
.demo-carte { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; }
.demo-carte .saisie { font-size: 15px; padding: 10px 14px; }
.tl-aide { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-lecture { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--accent); color: var(--sur-accent); cursor: pointer; box-shadow: 0 8px 22px -10px rgba(var(--accent-rgb), .9); }
.tl-lecture svg { width: 20px; height: 20px; }
.tl-son, .tl-plein { flex: none; height: 42px; min-width: 42px; border-radius: 999px; border: 1px solid var(--ligne); background: #ffffff10; color: var(--texte); display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 11px; font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.tl-son svg, .tl-plein svg { width: 19px; height: 19px; }
.tl-son.muet { border-color: rgba(var(--accent-rgb), .7); background: rgba(var(--accent-rgb), .14); }
.tl-son.muet svg { color: var(--accent); }
.tl-son:hover, .tl-plein:hover { background: #ffffff1c; }
.tl-st { flex: none; height: 42px; border-radius: 999px; border: 1px solid var(--ligne); background: #ffffff10; color: var(--doux); display: inline-flex; align-items: center; gap: 7px; padding: 0 12px; font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.tl-st svg { width: 19px; height: 19px; }
.tl-st.on { color: var(--texte); border-color: rgba(var(--accent-rgb), .55); }
.tl-st.on svg { color: var(--accent); }
.timeline-video.reduite .tl-st { height: 32px; padding: 0 9px; font-size: 12.5px; }
.timeline-video.reduite .tl-st svg { width: 16px; height: 16px; }
@media (max-width: 760px) { .tl-st span { display: none; } .tl-st { padding: 0; width: 42px; justify-content: center; } .tl-droite > span:not(.tl-modele) { display: none; } .tl-commandes { gap: 8px; } }
[data-theme="light"] .tl-son, [data-theme="light"] .tl-plein { background: #ffffffb0; }
.lecteur-cadre.sans-barre video { cursor: pointer; }
/* le plein écran du cadre (05/11/2026) : la vidéo entière sur fond noir, nos trois boutons, jamais la barre du navigateur */
.plein-commandes { display: none; }
.lecteur-cadre:fullscreen { background: #000; display: grid; place-items: center; }
.lecteur-cadre:fullscreen video { width: 100%; height: 100%; max-height: 100vh; object-fit: contain; border-radius: 0; }
.lecteur-cadre:fullscreen .plein-commandes { display: flex; gap: 10px; position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); padding: 8px; border-radius: 999px; background: #0b0f20b3; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.plein-commandes button { width: 46px; height: 46px; border-radius: 50%; border: 0; display: grid; place-items: center; background: #ffffff1a; color: #fff; cursor: pointer; }
.plein-commandes button:first-child { background: var(--accent); color: var(--sur-accent); }
.plein-commandes svg { width: 21px; height: 21px; }
.tl-haut b { color: var(--texte); font-variant-numeric: tabular-nums; }
.tl-defile { padding-top: 24px; }
/* pendant une retouche, la timeline reste en haut de l'écran */
.timeline-video.collante { position: sticky; top: 10px; z-index: 6; transition: padding 200ms; }
.video-haut { padding-top: 14px; padding-bottom: 6px; }
.video-page { padding-top: 6px; }
/* réduite en défilant (05/11/2026) : une fine bande, sans les noms des plans ni l'aide */
.timeline-video.reduite { padding: 7px 12px 6px; }
.timeline-video.reduite .tl-haut { margin-bottom: 6px; font-size: 12.5px; }
.timeline-video.reduite .tl-aide, .timeline-video.reduite .tl-modele, .timeline-video.reduite .tl-plans, .timeline-video.reduite .tl-curseur span, .timeline-video.reduite .tl-modele-tel { display: none; }
.timeline-video.reduite .tl-lecture, .timeline-video.reduite .tl-son, .timeline-video.reduite .tl-plein { height: 32px; min-width: 32px; }
.timeline-video.reduite .tl-lecture { width: 32px; }
.timeline-video.reduite .tl-son { padding: 0 9px; font-size: 12.5px; }
.timeline-video.reduite .tl-lecture svg, .timeline-video.reduite .tl-son svg, .timeline-video.reduite .tl-plein svg { width: 16px; height: 16px; }
.timeline-video.reduite .tl-defile { padding-top: 0; }
.timeline-video.reduite .tl-piste { padding-bottom: 2px; }
.timeline-video.reduite .tl-images { height: 34px; border-radius: 8px; background-size: 100% auto; background-position: center; }
.timeline-video.reduite .tl-coupe { top: 0; height: 34px; }
.timeline-video.reduite .tl-curseur { top: -3px; height: 40px; }
.timeline-video.reduite .tl-repere { top: 24px; width: 16px; height: 16px; margin-left: -8px; font-size: 9px; }
.tl-piste { position: relative; user-select: none; touch-action: none; cursor: pointer; padding-bottom: 14px; }
.tl-plans { position: relative; height: 26px; margin-bottom: 6px; }
.tl-plan { position: absolute; top: 0; height: 26px; border-radius: 8px; display: flex; align-items: center; padding: 0 10px; font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; color: #06231f; opacity: .78; transition: opacity 150ms; }
.tl-plan.on { opacity: 1; box-shadow: 0 0 0 2px #fff inset; }
.tl-plan.c0 { background: #6ae6d4; } .tl-plan.c1 { background: #9cc3ff; } .tl-plan.c2 { background: #ffd28a; } .tl-plan.c3 { background: #f3a2c4; } .tl-plan.c4 { background: #b9a6ff; } .tl-plan.c5 { background: #a8e6a1; }
.tl-images { height: 92px; border-radius: 12px; background-color: #000; background-size: 100% 100%; background-repeat: no-repeat; }
.tl-coupe { position: absolute; top: 32px; height: 92px; width: 2px; margin-left: -1px; background: #ffffffd9; pointer-events: none; }
.tl-curseur { position: absolute; top: -6px; height: 136px; width: 0; pointer-events: none; }
.tl-curseur::before { content: ""; position: absolute; left: -1.5px; top: 0; bottom: 0; width: 3px; border-radius: 3px; background: var(--accent); box-shadow: 0 0 14px rgba(var(--accent-rgb), .9); }
.tl-curseur span { position: absolute; top: -24px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--sur-accent); font-size: 12px; font-weight: 800; padding: 3px 8px; border-radius: 999px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tl-repere { position: absolute; top: 116px; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; border: 0; padding: 0; background: #fff; color: #0b1020; font: inherit; font-size: 11px; font-weight: 800; box-shadow: 0 6px 16px -6px #000; cursor: pointer; }
.tl-demande .petit { color: var(--doux); font-size: 14px; margin: 4px 0 12px; }
.tl-reste { color: var(--doux); font-size: 13.5px; margin: 14px 0 0; text-align: center; }
/* (05/11/2026, Axel : « trop collé texte et bouton ») : de l'air autour du bouton de la retouche */
.tl-demande .tl-portee { margin-bottom: 20px; }
.tl-demande { margin-bottom: 26px; }
.tl-demande + .paiement-apercu { margin-top: 18px; }
.tl-contexte { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 16px; background: #ffffff0a; border: 1px solid var(--ligne); margin-bottom: 10px; }
.tl-vue { flex: none; width: 54px; height: 96px; border-radius: 10px; background-color: #000; background-repeat: no-repeat; }
.video-grille:not(.vertical) ~ * .tl-vue, .tl-vue.paysage { width: 120px; height: 68px; }
.tl-contexte b { display: block; font-size: 14px; } .tl-contexte small { color: var(--doux); font-size: 13px; line-height: 1.35; display: block; }
.tl-portee { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 12px; }
.tl-portee button { border: 1px solid var(--ligne); background: #ffffff0d; color: var(--doux); border-radius: 999px; padding: 7px 12px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.tl-portee button.on { background: rgba(var(--accent-rgb), .18); border-color: rgba(var(--accent-rgb), .6); color: var(--texte); }
.tl-liste { list-style: none; margin: 14px 0 6px; padding: 0; display: grid; gap: 8px; }
.tl-lancer #lancer-retouche[hidden] { display: none; }
.tl-lancer:has(#lancer-retouche[hidden]):not(:has(#annuler)) { display: none; }
.tl-liste:empty { display: none; }
.tl-liste li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; background: #ffffff08; border: 1px solid var(--ligne); font-size: 14px; }
.tl-liste li > div { flex: 1; }
.tl-liste .n { flex: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; color: #0b1020; display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.tl-liste small { color: var(--doux); display: block; }
.tl-liste button { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--doux); cursor: pointer; }
.tl-liste button svg { width: 14px; height: 14px; }
[data-theme="light"] .tl-images { background-color: #14203d; }
[data-theme="light"] .tl-portee button, [data-theme="light"] .tl-contexte, [data-theme="light"] .tl-liste li { background: #ffffffa6; }
@media (max-width: 760px) {
  .timeline-video { padding: 12px 12px 14px; }
  .tl-defile { overflow-x: auto; scrollbar-width: none; }
  .tl-defile::-webkit-scrollbar { display: none; }
  .tl-piste { width: 880px; }
  .tl-images { height: 76px; } .tl-coupe { height: 76px; } .tl-curseur { height: 120px; } .tl-repere { top: 100px; }
  .tl-haut { font-size: 12.5px; }
  .tl-aide { display: none; }
  .tl-modele { display: none; }
  .tl-modele-tel { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; color: var(--doux); font-size: 12.5px; font-weight: 700; }
  .tl-modele-tel svg { width: 15px; height: 15px; color: var(--accent); }
}
@media (max-width: 760px) { .timeline-video.collante { top: 6px; } }
/* le lecteur prend la hauteur de sa vidéo, sans grand vide au-dessus quand le panneau d'à côté est long (Axel, 04/11) */
.video-grille > .lecteur { align-self: start; }

/* Le mode sombre par défaut (03/11/2026) sur les éléments dessinés pour le thème clair, à fond blanc fixe (05/11/2026,
   Axel : « les icônes, on voit rien ») : ils prennent les surfaces sombres et l'accent lisible */
[data-theme="dark"] .titre-apport svg, [data-theme="dark"] .opt-section svg { background: rgba(var(--accent-rgb), .16); color: var(--accent); box-shadow: none; }
[data-theme="dark"] .pieces-depart li, [data-theme="dark"] .idee-plan, [data-theme="dark"] .modifier-plan, [data-theme="dark"] .vx-pas button,
[data-theme="dark"] .aplomb-grille, [data-theme="dark"] .etiquette-prive, [data-theme="dark"] .sb-tel { background: #ffffff10; border-color: var(--ligne); }
[data-theme="dark"] .modifier-plan:hover, [data-theme="dark"] .idee-plan:hover { background: #ffffff1c; }
[data-theme="dark"] .onglet-idee.choisi { background: #ffffff1f; color: var(--texte); }
[data-theme="dark"] .form-plan textarea, [data-theme="dark"] .vx-texte { background: #0c1224b3; color: var(--texte); border-color: var(--ligne); }
[data-theme="dark"] .seq, [data-theme="dark"] .intrus, [data-theme="dark"] .carte-memory .devant { background: #ffffff14; }
[data-theme="dark"] .refait-voile { background: #0b0f2099; }

/* Le fil des étapes en haut du parcours et de la page vidéo (05/11/2026) */
.fil-etapes { flex: 1; display: flex; justify-content: center; min-width: 0; }
.fil-etapes ol { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.fil-etapes li { display: flex; align-items: center; gap: 7px; color: var(--tres-doux); font-size: 13px; font-weight: 600; white-space: nowrap; }
.fil-etapes li + li::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--ligne-forte); margin-right: 1px; }
.fil-etapes li.fait + li::before, .fil-etapes li.fait + li.en-cours::before { background: rgba(var(--accent-rgb), .7); }
.fil-etapes .point { width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--ligne-forte); font-size: 11px; font-weight: 800; }
.fil-etapes .point svg { width: 12px; height: 12px; }
.fil-etapes li.fait { color: var(--doux); }
.fil-etapes li.fait .point { background: rgba(var(--accent-rgb), .18); border-color: rgba(var(--accent-rgb), .7); color: var(--accent); }
.fil-etapes li.en-cours { color: var(--texte); }
.fil-etapes li.en-cours .point { background: var(--accent); border-color: var(--accent); color: var(--sur-accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .2); }
.fil-court { display: none; }
main > .fil-etapes { margin: 6px 0 18px; }
@media (max-width: 1100px) { .fil-etapes li:not(.en-cours) .nom { display: none; } .fil-etapes li + li::before { width: 14px; } }
@media (max-width: 600px) {
  .fil-etapes ol { display: none; }
  .fil-court { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; background: #ffffff10; border: 1px solid var(--ligne); color: var(--doux); font-size: 12.5px; font-weight: 600; }
  .parcours-haut .fil-etapes { justify-content: flex-end; }
}
/* le fil des étapes en haut des écrans d'attente */
.fil-attente { position: fixed; top: 16px; left: 0; right: 0; z-index: 8; display: flex; justify-content: center; padding: 0 16px; pointer-events: none; }
.fil-attente .fil-etapes { flex: none; padding: 8px 14px; border-radius: 999px; background: #0b0f2066; border: 1px solid var(--ligne); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
@media (max-width: 600px) { .fil-attente .fil-etapes { padding: 0; background: none; border: 0; } }
/* le bouton « Activer le son » posé sur la vidéo tant qu'elle est muette */
.lecteur-cadre { position: relative; width: 100%; }
.activer-son { position: absolute; top: 12px; left: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px 8px 11px; border-radius: 999px; border: 1px solid #ffffff40; background: #0b0f20b3; color: #fff; font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 8px 24px -10px #000; }
.activer-son[hidden] { display: none; }
.activer-son svg { width: 17px; height: 17px; color: var(--accent); }
.activer-son:hover { background: #0b0f20e0; }
.activer-son[hidden] { display: none; }

/* ── L'espace du client (05/11/2026) : une colonne d'onglets à gauche, le contenu à droite ── */
.espace2 { display: grid; grid-template-columns: 252px minmax(0, 1fr); gap: 24px; align-items: start; padding: 26px 0 60px; }
.es-cote { position: sticky; top: 92px; padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.es-moi { display: flex; align-items: center; gap: 11px; padding: 4px 4px 2px; min-width: 0; }
.es-avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), #7a6cff); color: var(--sur-accent); font-weight: 800; font-size: 17px; }
.es-moi > span:last-child { display: grid; min-width: 0; }
.es-moi b { font-size: 15px; text-transform: capitalize; }
.es-moi small { color: var(--tres-doux); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.es-nouvelle { width: 100%; justify-content: center; }
.es-nav { display: grid; gap: 4px; }
.es-nav a, .es-sortir { display: flex; align-items: center; gap: 11px; padding: 11px 12px; border-radius: 13px; color: var(--doux); text-decoration: none; font-weight: 650; font-size: 15px; border: 1px solid transparent; background: none; font-family: inherit; cursor: pointer; text-align: left; }
.es-nav a svg, .es-sortir svg { width: 19px; height: 19px; flex: none; }
.es-nav a:hover, .es-sortir:hover { background: #ffffff0d; color: var(--texte); }
.es-nav a.on { background: rgba(var(--accent-rgb), .13); border-color: rgba(var(--accent-rgb), .35); color: var(--texte); }
.es-nav a.on svg { color: var(--accent); }
.es-nav em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 800; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center; background: var(--accent); color: var(--sur-accent); }
.es-nav .court { display: none; }
.es-sortir { margin-top: 6px; border-top: 1px solid var(--ligne); border-radius: 0 0 13px 13px; padding-top: 14px; color: var(--tres-doux); }
.es-contenu { display: grid; gap: 22px; min-width: 0; }
.es-tete h1 { margin: 0; font-size: 30px; letter-spacing: -.02em; }
.es-tete p { margin: 4px 0 0; color: var(--doux); }
.es-chiffres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.es-chiffres > div { padding: 16px 18px; display: grid; gap: 6px; }
.es-chiffres span { display: flex; align-items: center; gap: 8px; color: var(--doux); font-size: 13.5px; font-weight: 650; }
.es-chiffres svg { width: 17px; height: 17px; color: var(--accent); }
.es-chiffres b { font-size: 28px; letter-spacing: -.02em; }
.es-bloc { display: grid; gap: 12px; }
.es-bloc-tete { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.es-bloc-tete h2 { margin: 0; font-size: 19px; }
.es-une { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; padding: 14px; text-decoration: none; color: inherit; align-items: center; }
.es-une .ev-vignette { aspect-ratio: 16 / 10; }
.es-une .ev-vignette.vert { aspect-ratio: 9 / 13; }
.es-une-corps { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.es-une-corps b { font-size: 20px; letter-spacing: -.01em; }
.es-une-corps small { color: var(--doux); font-size: 14px; }
.es-une-corps .bouton { margin-top: 4px; }
.es-une .ev-pastille { position: static; }
.es-jauge { width: min(320px, 100%); height: 6px; border-radius: 99px; background: #ffffff14; overflow: hidden; }
.es-jauge i { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.ev-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.ev-grille > [hidden] { display: none; }
/* (05/11/2026, Axel : « les blocs de vidéos doivent avoir la même hauteur ») : toutes les rangées à la hauteur de la plus
   haute carte, chaque carte remplit sa case */
.ev-grille { grid-auto-rows: 1fr; }
.ev-grille > div { display: flex; }
.ev-grille > div > .ev-carte, .ev-grille > .ev-carte { flex: 1; height: 100%; box-sizing: border-box; }
.ev-carte { display: flex; flex-direction: column; gap: 10px; padding: 10px; border-radius: 20px; border: 1px solid var(--ligne); background: linear-gradient(140deg, #1a2140b3, #0f142899); text-decoration: none; color: inherit; transition: transform 160ms, border-color 160ms; }
.ev-carte:hover { transform: translateY(-2px); border-color: rgba(var(--accent-rgb), .45); }
.ev-vignette { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: 13px; overflow: hidden; background: #0b0f1f; }
.ev-vignette img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ev-vide { position: absolute; inset: 0; display: grid; place-items: center; color: var(--tres-doux); }
.ev-vide svg { width: 30px; height: 30px; }
.ev-pastille { position: absolute; top: 8px; left: 8px; padding: 4px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; background: #0b0f20cc; color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ev-pastille.t-action { background: var(--accent); color: var(--sur-accent); }
.ev-pastille.t-cours { background: #7a6cffd9; }
.ev-pastille.t-fait { background: #0b0f20cc; color: var(--accent); }
.ev-pastille.t-erreur { background: #b8434fd9; }
.ev-pastille.t-eteint { background: #3a3f55d9; color: #c9cede; }
.ev-corps { display: grid; gap: 3px; padding: 0 4px 4px; }
.ev-corps b { font-size: 15px; line-height: 1.3; }
.ev-corps small { color: var(--tres-doux); font-size: 12.5px; }
.ev-detail.t-action { color: var(--accent); font-weight: 700; }
.es-filtres { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.es-filtres button { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--ligne); background: var(--champ); color: var(--doux); font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; }
.es-filtres button span { font-size: 12px; color: var(--tres-doux); }
.es-filtres button.on { background: rgba(var(--accent-rgb), .14); border-color: rgba(var(--accent-rgb), .5); color: var(--texte); }
.es-table { padding: 6px 8px; display: grid; }
.es-ligne { display: grid; grid-template-columns: 110px minmax(0, 1fr) minmax(0, 1.2fr) 90px; gap: 14px; align-items: center; padding: 14px 10px; border-bottom: 1px solid var(--ligne); text-decoration: none; color: inherit; }
.es-ligne:last-child { border-bottom: 0; }
a.es-ligne:hover { background: #ffffff08; border-radius: 12px; }
.es-date { color: var(--tres-doux); font-size: 13.5px; }
.es-quoi { display: grid; min-width: 0; }
.es-quoi b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.es-quoi small { color: var(--tres-doux); font-size: 12.5px; }
.es-statut { font-size: 13px; color: var(--doux); }
.es-statut.t-fait { color: var(--accent); font-weight: 700; }
.es-statut.t-attente { color: #c3b8ff; }
.es-statut.t-avoir { color: var(--accent); }
.es-montant { text-align: right; font-size: 16px; }
.es-encart { display: flex; gap: 14px; align-items: center; padding: 16px 18px; }
.es-encart svg { width: 24px; height: 24px; color: var(--accent); flex: none; }
.es-encart p { margin: 2px 0 0; color: var(--doux); font-size: 14px; }
.es-reglages { display: grid; gap: 14px; }
.es-reglages section { padding: 18px 20px; display: grid; gap: 12px; }
.es-reglages h2 { margin: 0; font-size: 17px; }
.es-reglages p { margin: 0; color: var(--doux); font-size: 14.5px; line-height: 1.5; }
.es-reglages a { color: var(--accent); }
.es-reglages .bouton { justify-self: start; }
.es-champ { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 14px; align-items: center; padding-top: 12px; border-top: 1px solid var(--ligne); }
.es-champ span { color: var(--tres-doux); font-size: 14px; }
.es-champ b { font-weight: 650; overflow-wrap: anywhere; }
.es-choix { display: inline-flex; gap: 6px; padding: 4px; border-radius: 999px; border: 1px solid var(--ligne); background: var(--champ); justify-self: start; }
.es-choix button { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; border: 0; background: none; color: var(--doux); font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; }
.es-choix button svg { width: 16px; height: 16px; }
.es-choix button.on { background: var(--accent); color: var(--sur-accent); }
.es-vide { padding: 34px 22px; display: grid; justify-items: center; gap: 8px; text-align: center; }
.es-vide > svg { width: 36px; height: 36px; color: var(--accent); }
.es-vide p { margin: 0 0 8px; color: var(--doux); }
[data-theme="light"] .ev-carte { background: #ffffffb8; }
[data-theme="light"] .es-nav a:hover, [data-theme="light"] .es-sortir:hover { background: #0000000a; }
/* téléphone : les onglets en barre défilante en haut, le bouton toujours là */
@media (max-width: 900px) {
  .espace2 { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-top: 14px; }
  .es-cote { position: static; padding: 12px; gap: 10px; }
  .es-moi { display: none; }
  .es-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
  .es-nav a { position: relative; flex-direction: column; gap: 4px; padding: 9px 2px 8px; font-size: 12.5px; text-align: center; justify-content: center; }
  .es-nav .long { display: none; }
  .es-nav .court { display: inline; }
  .es-nav em { position: absolute; top: 4px; right: 12%; margin: 0; min-width: 18px; height: 18px; font-size: 11px; }
  .es-nav a[href="#/prospection"] { display: none; }
  .es-sortir { display: none; }
  .es-chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .es-une { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; }
  .es-une-corps b { font-size: 17px; }
  .ev-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .es-ligne { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; }
  .es-ligne .es-date { grid-column: 1; grid-row: 2; }
  .es-ligne .es-quoi { grid-column: 1; grid-row: 1; }
  .es-ligne .es-statut { grid-column: 1 / -1; grid-row: 3; }
  .es-ligne .es-montant { grid-column: 2; grid-row: 1; }
  .es-champ { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .es-tete h1 { font-size: 26px; }
}

/* la durée fixée par le mode cinéma du film produit (05/11/2026) */
.opt-groupe.fige .opt { pointer-events: none; opacity: .55; }
.opt-groupe.fige .opt.on { opacity: 1; }
.opt-fige { margin: 8px 0 0; color: var(--doux); font-size: 13.5px; }

/* deux boutons côte à côte dans le panneau de la vidéo (05/11/2026, Axel) */
.panneau .boutons.cote { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.panneau .boutons.cote .bouton { width: 100%; justify-content: center; white-space: nowrap; }
@media (max-width: 420px) { .panneau .boutons.cote .bouton { font-size: 14px; padding-left: 8px; padding-right: 8px; white-space: normal; line-height: 1.2; text-align: center; } .panneau .boutons.cote .bouton svg { display: none; } }

/* (05/11/2026, Axel : « le bloc de droite doit prendre la hauteur de la vidéo ») : le récapitulatif a la hauteur de
   l'aperçu, plus serré, son contenu réparti sur toute la hauteur */
.commande .recap { padding: 22px 24px; gap: 12px; justify-content: space-between; }
.commande .recap .montant { padding: 10px 0; }
.commande .recap ul { gap: 8px; }
@media (min-width: 901px) { .commande .recap { min-height: 100%; box-sizing: border-box; } .commande .affiche { display: flex; } .commande .affiche .defile { width: 100%; align-self: start; } }

/* ── Maquette du mur de vidéos de l'accueil (05/11/2026) : toute la largeur de l'écran, sous la vidéo du haut, des colonnes
   qui défilent chacune à sa vitesse ── */
.section-mur { position: relative; width: 100vw; margin-left: calc(50% - 50vw); padding: 0 10px; overflow: hidden; }
.mur-video { display: flex; gap: 10px; align-items: flex-start; padding: 14px 0 40px; }
/* un titre simple au-dessus du mur, sans aucune animation au défilement (05/11/2026, Axel) */
.section-mur h2 { font-size: clamp(28px, 4vw, 46px); letter-spacing: -0.03em; line-height: 1.08; margin: 64px 0 18px; padding: 0 16px; text-align: center; font-weight: 720; text-wrap: balance; }
.mv-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.mv { position: relative; margin: 0; border-radius: 16px; overflow: hidden; background: #0b0f1f; box-shadow: 0 18px 40px -22px #000c;
  }
.mv video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.mv.h video { aspect-ratio: 16 / 9; }
.mv figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 12px 11px; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  background: linear-gradient(180deg, transparent, #05081499); opacity: 0; transition: opacity 250ms; }
.mv:hover figcaption { opacity: 1; }
.mv-type { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; background: #0b0f20cc; color: #fff; font-size: 12px; font-weight: 800; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.mv-type svg { width: 14px; height: 14px; color: var(--accent); }
.mv-secteur { color: #fff; font-size: 13px; font-weight: 700; text-shadow: 0 1px 8px #000a; }
.heros-video .fond-video { transform-origin: 50% 0; will-change: transform; }
@media (max-width: 760px) { .mur-video { gap: 8px; } .mv-col { gap: 8px; } .mv { border-radius: 12px; } .mv figcaption { opacity: 1; padding: 22px 8px 8px; } .mv-secteur { display: none; } .section-mur { padding: 0 8px; } }

/* le carrousel du téléphone (05/11/2026) */
@media (max-width: 699px) {
  .mur-video.carrousel { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 14px 19vw 36px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .mur-video.carrousel::-webkit-scrollbar { display: none; }
  .mur-video.carrousel .mv { flex: none; width: 62vw; scroll-snap-align: center; opacity: 1; transform: none; transition: none; }
  .mur-video.carrousel .mv:not(.vu) { opacity: .55; }
  .mur-video.carrousel .mv video { aspect-ratio: 9 / 16; }
  .section-mur:has(.carrousel) { padding: 0; }
}

/* la vidéo modèle de style, à l'étape des fichiers (05/11/2026) */
.envois li .style-modele { flex: none; align-self: stretch; order: 5; margin-top: 8px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 7px 12px; border-radius: 999px; border: 1px dashed rgba(var(--accent-rgb), .55); background: transparent; color: var(--accent-fort); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.envois li .style-modele svg { width: 15px; height: 15px; }
.envois li .style-modele.on { border-style: solid; background: rgba(var(--accent-rgb), .16); color: var(--texte); }
.envois li .style-modele.on svg { color: var(--accent); }
/* les factures de l'onglet Paiements (06/11/2026) */
.es-sous { font-size: 18px; letter-spacing: -.01em; margin: 26px 0 10px; }
.es-pdf { display: inline-flex; align-items: center; gap: 6px; }
.es-pdf svg { width: 15px; height: 15px; flex: none; }
.es-montant { white-space: nowrap; }
/* le suivi en direct (06/11/2026) */
.sv-point { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #6b7088; margin-right: 8px; vertical-align: 1px; }
.sv-point.on { background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: sv-pouls 1.6s infinite; }
@keyframes sv-pouls { 70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
/* la promotion de lancement (06/11/2026) */
.pastille.promo { background: linear-gradient(90deg, rgba(52, 211, 153, .22), rgba(124, 156, 255, .22)); border-color: rgba(52, 211, 153, .55); color: #fff; text-decoration: none; }
.prix-avant { font-size: .55em; font-weight: 600; color: var(--doux); margin-right: 8px; text-decoration-thickness: 2px; }
.formule { position: relative; }
.badge-promo { position: absolute; top: 12px; right: 12px; z-index: 2; padding: 5px 10px; border-radius: 999px; background: #34d399; color: #062b22; font-weight: 800; font-size: 13px; box-shadow: 0 6px 18px rgba(52, 211, 153, .35); }
.bandeau-promo { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 auto 14px; padding: 10px 16px; max-width: 640px; border-radius: 14px; background: rgba(52, 211, 153, .14); border: 1px solid rgba(52, 211, 153, .45); text-align: center; }
.bandeau-promo svg { width: 16px; height: 16px; flex: none; color: #34d399; }
.promo-carte { display: flex; align-items: center; gap: 7px; font-weight: 700; color: #34d399; font-size: 14px; margin-bottom: 4px; }
.promo-carte svg { width: 15px; height: 15px; }
.promo-carte s { color: var(--doux); font-weight: 500; }
#recap-lignes li.promo, #recap-lignes li.promo b { color: #34d399; font-weight: 700; }
#recap-total .prix-avant { font-size: .6em; }
/* (06/11/2026, Axel : « sur une ligne ») : le bandeau prend la largeur de son texte, sur une ligne ; il ne revient à la ligne que sur téléphone */
.bandeau-promo { width: fit-content; max-width: calc(100% - 32px); white-space: nowrap; }
@media (max-width: 760px) { .bandeau-promo { white-space: normal; } }
/* le code promo sur l'écran de la carte (06/11/2026) */
.promo-carte.code { flex-wrap: wrap; }
.promo-carte.code span { flex: 1; }
.promo-carte.code .lien { font-size: 13px; font-weight: 500; }
.code-promo { margin-top: -6px; }
.code-promo .lien { font-size: 14px; }
.code-champ { display: flex; gap: 8px; }
.code-champ input, .recap .champ-email { flex: 1; min-width: 0; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--ligne); background: var(--champ); color: var(--texte); font: inherit; font-size: 15px; }
.code-champ input { text-transform: uppercase; letter-spacing: .04em; }
.code-champ input::placeholder { text-transform: none; letter-spacing: 0; }
.code-champ input:focus, .recap .champ-email:focus { outline: none; border-color: rgba(var(--accent-rgb), .7); }

/* le suivi en direct, refait (06/11/2026) */
.sv-page { max-width: 1240px; }
.sv-tete { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 18px; }
.sv-tete h1 { margin: 0; font-size: 30px; letter-spacing: -.02em; }
.sv-tete p { margin: 4px 0 0; color: var(--doux); font-size: 14px; }
.sv-outils { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sv-live { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--ligne); background: var(--champ); font-size: 14px; color: var(--doux); }
.sv-live b { color: var(--texte); margin-right: 5px; }
.sv-live.on { border-color: rgba(52, 211, 153, .5); background: rgba(52, 211, 153, .1); }
.sv-seg { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--ligne); background: var(--champ); }
.sv-seg button { border: 0; background: none; color: var(--doux); font: inherit; font-size: 13.5px; font-weight: 600; padding: 6px 13px; border-radius: 999px; cursor: pointer; }
.sv-seg button.choisi { background: var(--accent); color: #05231f; }
.sv-bascule { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--doux); cursor: pointer; user-select: none; }
.sv-bascule input { position: absolute; opacity: 0; pointer-events: none; }
.sv-bascule i { width: 34px; height: 20px; border-radius: 999px; background: var(--ligne); position: relative; transition: background .2s; }
.sv-bascule i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .2s; }
.sv-bascule input:checked + i { background: var(--accent); }
.sv-bascule input:checked + i::after { transform: translateX(14px); }
.sv-tuiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.sv-tuile { padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sv-tuile .sv-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(var(--accent-rgb), .14); color: var(--accent-fort); margin-bottom: 8px; }
.sv-tuile .sv-ic svg { width: 16px; height: 16px; }
.sv-tuile small { color: var(--doux); font-size: 13px; }
.sv-tuile b { font-size: 30px; letter-spacing: -.02em; line-height: 1.15; white-space: nowrap; }
.sv-tuile em { font-style: normal; color: var(--tres-doux); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sv-grille { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 12px; margin-bottom: 12px; }
.sv-grille.trois { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sv-carte { padding: 18px 20px; min-width: 0; display: flex; flex-direction: column; }
.sv-carte > .sv-courbe { flex: 1; }
.sv-titre { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.sv-titre h2 { margin: 0; font-size: 16px; }
.sv-titre small { color: var(--tres-doux); font-size: 12.5px; }
.sv-rien { color: var(--tres-doux); font-size: 14px; margin: 6px 0; }
.sv-courbe { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 2px; min-height: 170px; align-items: end; border-bottom: 1px solid var(--ligne); background: linear-gradient(var(--ligne) 1px, transparent 1px) 0 0 / 100% 50%; }
.sv-col { height: 100%; display: flex; align-items: flex-end; cursor: default; }
.sv-col i { display: block; width: 100%; border-radius: 4px 4px 0 0; background: var(--accent); opacity: .85; transition: opacity .15s; }
.sv-col:hover i { opacity: 1; }
.sv-col:hover { background: rgba(255, 255, 255, .04); }
.sv-axe { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 2px; margin-top: 6px; }
.sv-axe span { font-size: 11.5px; color: var(--tres-doux); white-space: nowrap; overflow: visible; }
.sv-bulle { position: fixed; z-index: 50; transform: translate(-50%, calc(-100% - 8px)); padding: 6px 10px; border-radius: 8px; background: #0b0f1f; color: #fff; font-size: 12.5px; white-space: nowrap; pointer-events: none; box-shadow: 0 6px 20px rgba(0, 0, 0, .35); }
.sv-entonnoir { display: grid; gap: 9px; }
.sv-marche, .sv-rep { display: grid; grid-template-columns: minmax(120px, 190px) minmax(0, 1fr) 34px 44px; align-items: center; gap: 10px; font-size: 13.5px; }
.sv-rep { grid-template-columns: minmax(80px, 120px) minmax(0, 1fr) 28px 42px; padding: 4px 0; }
.sv-marche i, .sv-rep i { display: block; height: 8px; border-radius: 999px; background: var(--ligne); overflow: hidden; }
.sv-marche u, .sv-rep u { display: block; height: 100%; border-radius: 999px; background: var(--accent); }
.sv-marche b, .sv-rep b { text-align: right; }
.sv-marche small, .sv-rep small { color: var(--tres-doux); font-size: 12px; text-align: right; }
.sv-rep span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sv-enligne { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sv-enligne li { display: flex; align-items: center; gap: 4px; min-width: 0; }
.sv-enligne li div { min-width: 0; }
.sv-enligne b, .sv-enligne small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sv-enligne small { color: var(--doux); font-size: 12.5px; }
.sv-visites { padding-bottom: 8px; }
.sv-v { border-top: 1px solid var(--ligne); }
.sv-vl { display: grid; grid-template-columns: 38px minmax(0, 1.4fr) auto minmax(0, 1fr) 18px; align-items: center; gap: 14px; padding: 12px 4px; cursor: pointer; }
.sv-vl:hover { background: rgba(255, 255, 255, .03); }
.sv-av { position: relative; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(var(--accent-rgb), .16); color: var(--accent-fort); font-weight: 800; }
.sv-av .sv-point { position: absolute; right: -2px; bottom: -1px; margin: 0; border: 2px solid var(--fond, #14172b); width: 11px; height: 11px; }
.sv-qui { min-width: 0; }
.sv-qui b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sv-puces { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.sv-puces em { font-style: normal; font-size: 11.5px; padding: 2px 8px; border-radius: 999px; background: var(--champ); border: 1px solid var(--ligne); color: var(--doux); }
.sv-prog { display: flex; gap: 4px; }
.sv-prog i { width: 18px; height: 6px; border-radius: 999px; background: var(--ligne); }
.sv-prog i.fait { background: var(--accent); }
.sv-ou { text-align: right; min-width: 0; }
.sv-ou b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.sv-ou small { color: var(--tres-doux); font-size: 12.5px; }
.sv-fleche { color: var(--tres-doux); transition: transform .2s; }
.sv-fleche svg { width: 16px; height: 16px; }
.sv-v.ouverte .sv-fleche { transform: rotate(180deg); }
.sv-fil { list-style: none; margin: 0 0 12px 56px; padding: 4px 0 4px 18px; border-left: 2px solid var(--ligne); display: grid; gap: 8px; font-size: 13.5px; }
.sv-fil li { position: relative; display: flex; gap: 12px; }
.sv-fil li::before { content: ""; position: absolute; left: -24px; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--ligne); }
.sv-fil li.q-evenement::before { background: var(--accent); }
.sv-fil li.q-evenement p { color: var(--accent-fort); font-weight: 700; }
.sv-fil li span { flex: none; width: 44px; color: var(--tres-doux); }
.sv-fil li p { margin: 0; }
@media (max-width: 1100px) { .sv-tuiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sv-grille, .sv-grille.trois { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) {
  .sv-tuiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sv-tuile b { font-size: 24px; }
  .sv-marche { grid-template-columns: minmax(0, 1fr) 70px 28px; } .sv-marche small { display: none; }
  .sv-vl { grid-template-columns: 38px minmax(0, 1fr) 18px; } .sv-prog { display: none; } .sv-ou { grid-column: 2; text-align: left; grid-row: 2; }
  .sv-fil { margin-left: 18px; }
}

/* le style de chaque idée (06/11/2026) */
.onglet-idee span small { display: block; font-size: 11.5px; font-weight: 600; color: var(--accent-fort); margin-top: 1px; overflow: hidden; text-overflow: ellipsis; }
.onglet-idee.choisi span small { color: #13897d; }
.idee-meta .idee-rendu { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-fort); font-weight: 650; }
.idee-meta .idee-rendu svg { width: 15px; height: 15px; }
.code-champ[hidden] { display: none; }

/* être prévenu par e-mail à la fin d'une attente (06/11/2026) */
.avis-mail { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--ligne); display: flex; align-items: flex-start; justify-content: center; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--doux); text-align: left; }
.avis-mail > svg { width: 17px; height: 17px; flex: none; margin-top: 1px; color: var(--accent-fort); }
.avis-mail b { color: var(--texte); font-weight: 650; overflow-wrap: anywhere; }
.avis-mail > span { flex: 1; min-width: 0; }
.avis-mail .avis-ouvrir { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; }
.avis-mail .avis-ouvrir svg { width: 16px; height: 16px; }
.avis-form { display: flex; gap: 8px; width: 100%; max-width: 440px; }
.avis-form input { flex: 1; min-width: 0; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--ligne); background: var(--champ); color: var(--texte); font: inherit; font-size: 15px; }
.avis-form input:focus { outline: none; border-color: rgba(var(--accent-rgb), .7); }
.avis-mail small { width: 100%; text-align: center; color: var(--tres-doux); font-size: 12.5px; }

/* la vidéo préparée pour un prospect (06/11/2026) */
.page.offre { max-width: 1060px; margin: 0 auto; padding: 40px 24px 60px; }
.offre-grille { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 28px; align-items: center; }
.offre-video video { width: 100%; aspect-ratio: 9 / 16; border-radius: 24px; background: #0b0f1f; box-shadow: var(--ombre); border: 1px solid var(--ligne); display: block; }
.offre-texte { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.offre-texte h1 { margin: 0; font-size: 34px; line-height: 1.12; letter-spacing: -.02em; }
.offre-texte .aide { margin: 0; }
.offre-texte .pastille-type { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: rgba(var(--accent-rgb), .14); color: var(--accent-fort); font-size: 13.5px; font-weight: 650; }
.offre-texte .pastille-type svg { width: 15px; height: 15px; }
.offre-texte ul { list-style: none; margin: 4px 0; padding: 0; display: grid; gap: 10px; }
.offre-texte li { display: flex; gap: 10px; align-items: flex-start; color: var(--doux); font-size: 15px; }
.offre-texte li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--accent-fort); }
.offre-texte .montant { display: flex; align-items: baseline; gap: 10px; padding: 12px 0; border-top: 1px solid var(--ligne); border-bottom: 1px solid var(--ligne); }
.offre-texte .montant b { font-size: 42px; letter-spacing: -.03em; line-height: 1; }
.offre-texte .montant span { color: var(--doux); font-size: 14px; }
.offre-texte .lien { align-self: center; font-size: 14px; }
.offre-vide { max-width: 520px; margin: 40px auto; padding: 32px; text-align: center; display: grid; gap: 14px; }
@media (max-width: 760px) { .offre-grille { grid-template-columns: minmax(0, 1fr); } .offre-video { max-width: 300px; margin: 0 auto; width: 100%; } .page.offre { padding: 20px 16px 40px; } .offre-texte { padding: 20px; } .offre-texte h1 { font-size: 27px; } }

/* une nouvelle vidéo pour le même projet (06/11/2026) */
.ev-bloc { display: flex; flex-direction: column; gap: 8px; min-width: 0; height: 100%; }
.ev-bloc > .ev-carte { flex: 1; }
.ev-nouvelle { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-size: 13.5px; padding: 2px 4px; }
.ev-nouvelle svg { width: 14px; height: 14px; }
/* sur la vidéo éclaircie (06/11/2026) : la pastille de l'offre garde un fond sombre pour rester lisible */
.heros-video .pastille.promo { background: linear-gradient(90deg, rgba(7, 10, 26, .55), rgba(7, 10, 26, .45)); }
/* la page de départ seule (06/11/2026) : l'en-tête des étapes (retour et logo) sans barre ni pied, et le type choisi */
.parcours:has(+ main .heros-seul) { min-height: 0; position: absolute; inset: 0 0 auto 0; z-index: 3; }
.heros-seul { min-height: 100svh; padding-top: 70px; }
.type-voulu { display: inline-flex; align-items: center; gap: 10px; margin: 16px auto 0; padding: 7px 8px 7px 14px; border-radius: 999px; background: #ffffff14; border: 1px solid var(--ligne); font-weight: 600; font-size: 15px; }
.type-voulu svg { width: 18px; height: 18px; color: var(--accent); }
.type-voulu .lien { font-size: 13px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: none; border: 0; color: var(--texte-doux, #ffffffb3); cursor: pointer; text-decoration: underline; }
/* le choix de la langue (06/11/2026) */
.choix-langue { position: relative; flex: none; }
.bascule-langue { height: 40px; display: inline-flex; align-items: center; gap: 6px; padding: 0 12px 0 10px; border-radius: 999px; border: 1px solid var(--ligne); background: #ffffff10; color: var(--texte); font: 600 13px/1 inherit; letter-spacing: .04em; cursor: pointer; }
.bascule-langue svg { width: 17px; height: 17px; }
.bascule-langue:hover { background: #ffffff21; }
[data-theme="light"] .bascule-langue { background: #ffffffa6; }
body:has(.heros-video) .barre:not(.voilee) .bascule-langue { background: #ffffff1a; border-color: #ffffff38; color: #fff; }
.menu-langues { position: absolute; top: calc(100% + 8px); right: 0; z-index: 50; min-width: 160px; padding: 6px; border-radius: 16px; display: grid; gap: 2px; }
.menu-langues[hidden] { display: none; }
.menu-langues button { text-align: left; padding: 9px 12px; border-radius: 10px; border: 0; background: none; color: var(--texte); font: 500 14px/1.2 inherit; cursor: pointer; }
.menu-langues button:hover { background: #ffffff14; }
.menu-langues button.on { background: #ffffff1f; font-weight: 700; }
.note-langue { font-size: 13px; color: var(--texte-doux, #ffffffb3); border-left: 3px solid var(--accent); padding: 6px 12px; margin: 0 0 18px; }
@media (max-width: 760px) { .bascule-langue { height: 36px; padding: 0 9px 0 8px; } .bascule-langue span { display: none; } }

/* Les rangées de la section « Des vidéos faites avec Filmea » (09/11/2026) : chaque film garde son format, tous ont la
   même hauteur dans une rangée (la largeur suit le format : flex-grow = rapport largeur / hauteur) */
.ms-mur { display: flex; flex-direction: column; gap: 10px; padding: 14px 0 40px; }
.ms-rang { display: flex; gap: 10px; }
.ms { position: relative; margin: 0; flex: var(--r) 1 0; min-width: 0; aspect-ratio: var(--r); border-radius: 16px; overflow: hidden; background: #0b0f1f; box-shadow: 0 18px 40px -22px #000c; opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; transition-delay: calc(var(--k) % 4 * 70ms); }
.ms.vu { opacity: 1; transform: none; }
.ms video { display: block; width: 100%; height: 100%; object-fit: cover; }
.ms figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 12px 11px; display: flex; align-items: center; justify-content: space-between; gap: 8px; background: linear-gradient(180deg, transparent, #000a); opacity: 0; transition: opacity .3s; }
.ms:hover figcaption { opacity: 1; }
@media (max-width: 760px) {
  /* sur téléphone, chaque rangée défile au doigt, à hauteur fixe */
  .ms-mur { gap: 8px; }
  .ms-rang { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 0 8px; }
  .ms-rang::-webkit-scrollbar { display: none; }
  .ms { flex: none; height: 50vw; width: calc(50vw * var(--r)); aspect-ratio: auto; scroll-snap-align: start; border-radius: 12px; }
  .ms figcaption { opacity: 1; padding: 22px 8px 8px; }
}

/* ── Nouvelle accueil (maquette du 09/11/2026) : la vidéo plein écran, le titre, un bouton, le bloc de demande en bas ── */
.h2-page { padding-top: 0; }
.h2-heros { --haut: 84px; position: relative; min-height: calc(100svh - 78px); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 16px 200px; isolation: isolate; }
.h2-heros .fond-video { z-index: -2; top: calc(-1 * var(--haut, 78px)); }
.h2-heros .fond-video video { width: 100%; height: 100%; object-fit: cover; }
.h2-voile { position: absolute; left: 50%; width: 100vw; transform: translateX(-50%); bottom: 0; top: calc(-1 * var(--haut, 78px)); z-index: -1; background: radial-gradient(60% 45% at 50% 45%, #0b0f211f 0%, transparent 80%), linear-gradient(180deg, #0b0f2140 0%, transparent 18%, transparent 66%, #0b0f2185 100%); } /* voile allégé (10/11/2026, Axel : « que l'overlay soit moins fort ») */
.h2-centre { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; max-width: 900px; }
.h2-titre { margin: 6px 0 0; font-size: clamp(46px, 8vw, 104px); line-height: 1; letter-spacing: -0.045em; font-weight: 780; text-shadow: 0 4px 30px #000a, 0 1px 6px #0006; }
.h2-titre em { font-style: normal; background: linear-gradient(100deg, #8ff3e3, var(--accent) 60%, #b6f7ec); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h2-sous { margin: 0; max-width: 640px; font-size: clamp(16px, 1.6vw, 20px); color: #eef2fa; text-shadow: 0 2px 18px #000c, 0 1px 4px #0008; }
.h2-cta { margin-top: 8px; height: 54px; padding: 0 28px; font-size: 16.5px; }
.h2-demande { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); width: min(980px, calc(100% - 32px)); display: flex; align-items: stretch; gap: 14px; padding: 14px; border-radius: 26px; background: linear-gradient(140deg, #1d2440d9, #131a30cc); }
.h2-medias { flex: none; width: 74px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border-radius: 16px; border: 1px dashed var(--ligne-forte); background: #ffffff0a; color: var(--doux); font-size: 12.5px; cursor: pointer; }
.h2-medias:hover { color: var(--texte); background: #ffffff14; }
.h2-medias svg { width: 22px; height: 22px; }
.h2-champ { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.h2-champ textarea { width: 100%; resize: none; border: 0; outline: 0; background: transparent; font-size: 16px; line-height: 1.45; color: var(--texte); padding: 4px 2px; }
.h2-champ textarea::placeholder { color: var(--tres-doux); }
.h2-reglages { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.h2-puce { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--ligne); background: #ffffff0d; font-size: 13.5px; color: var(--doux); }
.h2-puce svg { width: 15px; height: 15px; }
.h2-puce select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; color: var(--texte); font: inherit; font-weight: 600; cursor: pointer; padding-right: 2px; outline: 0; }
.h2-puce select option { color: #111; }
.h2-prix { margin-left: auto; font-size: 13.5px; color: var(--doux); }
.h2-prix s { color: var(--tres-doux); }
.h2-go { align-self: flex-end; height: 50px; }
@media (max-width: 760px) {
  /* (09/11/2026, Axel : « sur mobile c'est beaucoup trop gros, il faut réduire le bloc Prompt ») */
  .h2-heros { --haut: 72px; min-height: calc(100svh - 70px); padding: 12px 16px 230px; justify-content: center; }
  .h2-centre { gap: 12px; }
  .h2-heros .pastille { font-size: 12.5px; padding: 5px 11px; margin-bottom: 4px; white-space: nowrap; }
  .h2-sauf-tel { display: none; }
  .h2-titre { font-size: 44px; }
  .h2-sous { font-size: 15px; line-height: 1.4; max-width: 330px; }
  .h2-cta { display: none; }
  .h2-demande { flex-wrap: wrap; bottom: 34px; padding: 10px; gap: 8px; border-radius: 18px; width: calc(100vw - 20px); }
  .h2-medias { width: 38px; height: 38px; border-radius: 10px; font-size: 0; gap: 0; }
  .h2-medias svg { width: 18px; height: 18px; }
  .h2-champ { flex-basis: calc(100% - 46px); gap: 8px; }
  .h2-champ textarea { font-size: 15px; height: 44px; line-height: 1.35; padding: 1px 2px; }
  .h2-reglages { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -46px; gap: 6px; }
  .h2-reglages::-webkit-scrollbar { display: none; }
  .h2-puce { flex: none; height: 30px; padding: 0 9px; font-size: 12.5px; border-radius: 9px; }
  .h2-puce svg { width: 13px; height: 13px; }
  .h2-prix { display: none; }
  .h2-go { width: 100%; height: 42px; font-size: 15px; }
}

/* ── Le studio (maquette du 09/11/2026) : personnalisation à gauche, résultats à droite ── */
.st-page { display: grid; grid-template-columns: 400px 1fr; gap: 14px; padding: 6px 16px 16px; height: calc(100svh - 78px); }
.st-gauche, .st-droite { display: flex; flex-direction: column; min-height: 0; border-radius: 22px; overflow: hidden; }
.st-onglets { display: flex; gap: 4px; padding: 12px 14px 0; }
.st-onglets > * { padding: 8px 12px; border-radius: 10px; border: 0; background: transparent; color: var(--doux); font-weight: 600; font-size: 14.5px; text-decoration: none; cursor: pointer; }
.st-onglets > .on { color: var(--accent-fort); background: #ffffff0f; }
.st-defile { flex: 1; overflow-y: auto; padding: 8px 14px 14px; display: flex; flex-direction: column; gap: 14px; scrollbar-width: thin; }
.st-bloc { display: flex; flex-direction: column; gap: 8px; }
.st-titre { font-size: 12.5px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--tres-doux); }
.st-types { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.st-type { display: grid; grid-template-columns: 26px 1fr; grid-template-rows: auto auto; column-gap: 8px; align-items: center; text-align: left; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--ligne); background: #ffffff08; cursor: pointer; }
.st-type svg { grid-row: span 2; width: 22px; height: 22px; color: var(--doux); }
.st-type b { font-size: 14px; }
.st-type small { font-size: 12px; color: var(--tres-doux); }
.st-type.on { border-color: rgba(var(--accent-rgb), .75); background: rgba(var(--accent-rgb), .12); }
.st-type.on svg { color: var(--accent-fort); }
.st-champ { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--ligne); background: var(--champ); }
.st-champ svg { width: 17px; height: 17px; color: var(--tres-doux); }
.st-champ input { flex: 1; border: 0; outline: 0; background: transparent; }
.st-texte { width: 100%; resize: vertical; min-height: 96px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--ligne); background: var(--champ); outline: 0; line-height: 1.45; }
.st-texte:focus, .st-champ:focus-within { border-color: rgba(var(--accent-rgb), .6); }
.st-depot { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 12px; border-radius: 14px; border: 1px dashed var(--ligne-forte); background: #ffffff06; cursor: pointer; text-align: center; }
.st-depot svg { width: 22px; height: 22px; color: var(--doux); }
.st-depot b { font-size: 14px; font-weight: 600; }
.st-depot small { font-size: 12.5px; color: var(--tres-doux); }
.st-depot:hover { background: #ffffff0f; }
/* (12/11/2026, Axel : « mets plutôt en slider qu'on glisse, et jamais sous 2 lignes, pour tout ») : chaque groupe de
   pastilles tient sur une ligne et défile de côté (doigt, molette ou glisser à la souris) ; un fondu montre qu'il y a la suite */
.st-puces { display: flex; flex-wrap: nowrap; gap: 6px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; padding: 1px 0; }
.st-puces::-webkit-scrollbar { display: none; }
.st-puces > .st-puce { flex: 0 0 auto; white-space: nowrap; scroll-snap-align: start; }
.st-puces.suite-d { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); }
.st-puces.suite-g { -webkit-mask-image: linear-gradient(90deg, transparent, #000 36px); mask-image: linear-gradient(90deg, transparent, #000 36px); }
.st-puces.suite-g.suite-d { -webkit-mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent); }
.st-puces.glisse { cursor: grabbing; scroll-snap-type: none; }
.st-puces.glisse .st-puce { pointer-events: none; }
.st-puce { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 12px; border-radius: 10px; border: 1px solid var(--ligne); background: #ffffff08; cursor: pointer; font-size: 13.5px; }
.st-puce svg { width: 15px; height: 15px; }
.st-puce small { color: var(--tres-doux); font-size: 12px; }
.st-puce.on { border-color: rgba(var(--accent-rgb), .75); background: rgba(var(--accent-rgb), .14); color: var(--accent-fort); }
.st-puce[disabled] { opacity: .45; cursor: not-allowed; }
.st-grille2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.st-pied { padding: 12px 14px 14px; border-top: 1px solid var(--ligne); background: #0d12259c; }
.st-generer { width: 100%; height: 52px; font-size: 16px; }
.st-pied-note { margin: 8px 0 0; font-size: 12.5px; color: var(--tres-doux); text-align: center; }
.st-pied-note b { color: var(--doux); }
.st-pied-note s { color: var(--tres-doux); font-weight: 400; }
.st-onglets-d { padding-bottom: 6px; border-bottom: 1px solid var(--ligne); }
.st-contenu { flex: 1; overflow-y: auto; padding: 22px; }
.st-vide { max-width: 1040px; margin: 4vh auto 0; text-align: center; }
.st-vide h2, .st-res-tete h2 { margin: 0 0 6px; font-size: 30px; letter-spacing: -0.02em; }
.st-vide > p, .st-res-tete p { margin: 0 0 26px; color: var(--doux); }
.st-etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; text-align: left; }
.st-etape-img { aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: #0b0f1f; border: 1px solid var(--ligne); display: flex; gap: 6px; padding: 0; }
.st-etape-img img { width: 100%; height: 100%; object-fit: cover; }
.st-etape-img.trio { padding: 18px 12px; align-items: center; background: #0d1226; }
.st-etape-img.trio img { flex: 1; height: 78%; border-radius: 10px; }
.st-etape b { display: block; margin: 12px 0 4px; font-size: 16px; }
.st-etape p { margin: 0; color: var(--doux); font-size: 14px; }
.st-res-tete { max-width: 900px; }
.st-idees { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.st-idee { border-radius: 18px; overflow: hidden; }
.st-idee-video { position: relative; aspect-ratio: 9 / 16; max-height: 46vh; width: 100%; background: #000; }
.st-idee-video.h { aspect-ratio: 16 / 9; }
.st-idee-video video { width: 100%; height: 100%; object-fit: cover; }
.st-badge { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: #000000a6; font-size: 12.5px; font-weight: 600; }
.st-badge svg { width: 13px; height: 13px; color: var(--accent-fort); }
.st-idee-corps { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.st-idee-num { font-size: 12.5px; color: var(--accent-fort); font-weight: 600; }
.st-idee h3 { margin: 0; font-size: 18px; letter-spacing: -0.01em; }
.st-idee p { margin: 0; font-size: 14px; color: var(--doux); }
.st-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 4px 0 6px; }
.st-plans figure { position: relative; margin: 0; aspect-ratio: 9 / 16; border-radius: 8px; overflow: hidden; background: #0b0f1f; }
.st-plans img { width: 100%; height: 100%; object-fit: cover; }
.st-plans figcaption { position: absolute; left: 5px; bottom: 4px; font-size: 11px; font-weight: 700; text-shadow: 0 1px 4px #000; }
.st-choisir { width: 100%; }
.st-tournage { max-width: 640px; padding: 22px; border-radius: 18px; }
.st-modele { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: #ffffff0a; border: 1px solid var(--ligne); font-size: 14px; color: var(--doux); }
.st-modele svg { width: 17px; height: 17px; color: var(--accent-fort); }
.st-modele b { margin-left: auto; color: var(--texte); }
.st-fil { list-style: none; margin: 18px 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.st-fil li { padding-left: 26px; position: relative; color: var(--tres-doux); }
.st-fil li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--ligne-forte); }
.st-fil li.fait { color: var(--doux); }
.st-fil li.fait::before { background: var(--accent); border-color: var(--accent); }
.st-fil li.en-cours { color: var(--texte); font-weight: 600; }
.st-fil li.en-cours::before { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .2); }
.st-fil li i { font-style: normal; color: var(--accent-fort); font-weight: 500; margin-left: 6px; }
.st-barre { height: 6px; border-radius: 6px; background: #ffffff14; overflow: hidden; }
.st-barre span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), #8ff3e3); }
@media (max-width: 1100px) { .st-idees { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) {
  .st-page { grid-template-columns: 1fr; height: auto; padding: 4px 10px 16px; }
  .st-gauche { max-height: none; }
  .st-defile { overflow: visible; }
  .st-pied { position: sticky; bottom: 0; z-index: 5; }
  .st-etapes, .st-idees { grid-template-columns: 1fr; }
  .st-contenu { padding: 16px; }
  .st-page.a-resultats .st-droite { order: -1; }
}
/* le studio branché (09/11/2026) : connexion, attente, paiement, options à cocher */
.st-carte { max-width: 560px; margin: 4vh auto 0; padding: 26px; border-radius: 20px; display: flex; flex-direction: column; gap: 14px; }
.st-carte h2 { margin: 0; font-size: 26px; letter-spacing: -0.02em; }
.st-carte > p { margin: 0; color: var(--doux); }
.st-carte .saisie { width: 100%; height: 52px; font-size: 18px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--ligne-forte); background: var(--champ); outline: 0; text-align: left; letter-spacing: normal; }
.st-carte .saisie.code { letter-spacing: .35em; font-size: 24px; text-align: center; }
.st-carte .saisie:focus { border-color: rgba(var(--accent-rgb), .7); }
.st-carte .bouton.principal { align-self: flex-start; }
.st-carte .demo { padding: 10px 12px; border-radius: 10px; background: #f5c54222; border: 1px solid #f5c54255; font-size: 14px; }
.st-carte .erreur, .st-erreur { padding: 10px 12px; border-radius: 10px; background: #ff6b6b1f; border: 1px solid #ff6b6b55; color: #ffd0d0; font-size: 14px; }
.st-erreur { max-width: 1040px; margin: 0 auto 16px; }
.st-carte .lien { align-self: center; }
.st-attente { max-width: 560px; margin: 10vh auto 0; padding: 26px; border-radius: 20px; display: flex; flex-direction: column; gap: 12px; }
.st-attente-titre { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.st-attente-detail { display: flex; justify-content: space-between; gap: 12px; color: var(--doux); font-size: 14px; }
.st-attente-detail b { color: var(--accent-fort); }
.st-attente-note { margin: 4px 0 0; font-size: 13px; color: var(--tres-doux); }
.st-attente .st-barre span { transition: width .8s var(--courbe); }
.st-idees.deux { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 980px; }
.st-idees.deux .st-idee-video { max-height: 52vh; }
.st-idee-video img { width: 100%; height: 100%; object-fit: cover; }
.st-badge.tourne svg { animation: tourne 1.6s linear infinite; }
@keyframes tourne { to { transform: rotate(360deg); } }
.st-payer .st-generer { width: 100%; }
.st-recap { list-style: none; margin: 4px 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.st-recap li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--ligne); font-size: 15px; }
.st-recap li span { color: var(--doux); }
.st-recap s { color: var(--tres-doux); font-weight: 400; margin-right: 4px; }
.st-code input { min-width: 0; }
.st-code .lien { flex: none; }
.st-sous { font-size: 13px; color: var(--doux); margin-top: 4px; }
.st-case { display: flex; align-items: flex-start; gap: 10px; text-align: left; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--ligne); background: #ffffff06; cursor: pointer; }
.st-case b { font-size: 14px; font-weight: 600; }
.st-case em { font-style: normal; margin-left: 6px; color: var(--accent-fort); font-size: 13px; }
.st-case small { display: block; font-size: 12.5px; color: var(--tres-doux); margin-top: 2px; }
.st-case .interrupteur { flex: none; width: 34px; height: 20px; border-radius: 20px; background: #ffffff24; position: relative; margin-top: 1px; transition: background .2s; }
.st-case .interrupteur::after { content: ""; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .2s var(--courbe); }
.st-case.on { border-color: rgba(var(--accent-rgb), .6); background: rgba(var(--accent-rgb), .08); }
.st-case.on .interrupteur { background: var(--accent); }
.st-case.on .interrupteur::after { transform: translateX(14px); }
@media (max-width: 860px) { .st-idees.deux { grid-template-columns: 1fr; } .st-carte, .st-attente { margin-top: 0; padding: 18px; } }
.st-carte .saisie.code { max-width: none; }
.st-carte .erreur, .st-carte .demo { margin-top: 0; }

/* Accueil façon verre liquide (10/11/2026, Axel : « mettre en blanc ou liquid glass pour que ça se voie vraiment bien la vidéo ») :
   presque plus de voile, bouton du milieu en verre clair, bloc de demande en verre gris neutre, « Générer » blanc. */
.h2-heros .h2-voile { background: linear-gradient(180deg, #0b0f2138 0%, transparent 16%, transparent 78%, #0b0f2159 100%); }
.h2-heros .h2-titre { color: #fff; text-shadow: 0 4px 28px #0009, 0 1px 4px #0005; }
.h2-heros .h2-sous { color: #fff; }
.h2-heros .pastille { background: #ffffff24; border-color: #ffffff4d; color: #fff; -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); }
.h2-heros .bouton.principal.h2-cta { background: linear-gradient(180deg, #ffffff40, #ffffff1a); color: #fff; border: 1px solid #ffffff66; box-shadow: inset 0 1px 0 #ffffff80, inset 0 -1px 0 #ffffff1f, 0 10px 30px -10px #0006; -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%); text-shadow: 0 1px 8px #0005; }
.h2-heros .bouton.principal.h2-cta:hover { background: linear-gradient(180deg, #ffffff55, #ffffff26); filter: none; }
.h2-heros .h2-demande.verre { background: #26272bb8; border: 1px solid #ffffff26; box-shadow: inset 0 1px 0 #ffffff1f, 0 20px 50px -20px #0009; -webkit-backdrop-filter: blur(26px) saturate(150%); backdrop-filter: blur(26px) saturate(150%); }
.h2-heros .h2-champ textarea { color: #fff; }
.h2-heros .h2-champ textarea::placeholder { color: #ffffffb3; }
.h2-heros .h2-medias { border: 0; background: #ffffff14; color: #ffffffb3; }
.h2-heros .h2-medias:hover { background: #ffffff24; color: #fff; }
.h2-heros .h2-puce { border-color: #ffffff2e; background: #ffffff0f; color: #ffffffb3; }
.h2-heros .h2-puce select { color: #fff; }
.h2-heros .h2-prix { color: #ffffffb3; }
.h2-heros .h2-prix s { color: #ffffff73; }
.h2-heros .bouton.principal.h2-go { background: #fff; color: #111318; border-color: transparent; box-shadow: 0 8px 24px -10px #0008; }
.h2-heros .bouton.principal.h2-go:hover { background: #f1f3f6; filter: none; }
.h2-heros .h2-titre em { text-shadow: none; filter: drop-shadow(0 3px 18px #0007); background-image: linear-gradient(100deg, #c9fff6, #7ff0dd 55%, #d4fbf4); }

/* Bloc de demande plus étroit, sans prix, et menus en verre façon shadcn/ui (10/11/2026, Axel) */
.h2-heros .h2-demande { width: min(820px, calc(100% - 32px)); }
.h2-choix { cursor: pointer; font: inherit; font-size: 13.5px; transition: background .15s, border-color .15s; }
.h2-choix b { font-weight: 600; color: #fff; }
.h2-choix svg:last-child { width: 14px; height: 14px; opacity: .6; margin-left: 2px; transition: transform .15s; }
.h2-choix[aria-expanded="true"] svg:last-child { transform: rotate(180deg); }
.h2-heros .h2-choix:hover, .h2-heros .h2-choix[aria-expanded="true"] { background: #ffffff1f; border-color: #ffffff47; }
.h2-choix:focus-visible { outline: 2px solid #ffffff80; outline-offset: 2px; }
.menu-verre { position: fixed; z-index: 1000; padding: 5px; border-radius: 14px; background: #1c1d21eb; border: 1px solid #ffffff1f; box-shadow: inset 0 1px 0 #ffffff14, 0 24px 60px -16px #000c, 0 4px 14px -6px #0008; -webkit-backdrop-filter: blur(28px) saturate(170%); backdrop-filter: blur(28px) saturate(170%); transform-origin: 50% 0; animation: menu-verre-in .14s cubic-bezier(.2, .8, .2, 1); }
.menu-verre.haut { transform-origin: 50% 100%; }
.menu-verre.sortie { animation: menu-verre-out .12s ease-in forwards; }
.menu-verre button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 36px; padding: 0 10px; border: 0; border-radius: 9px; background: transparent; color: #ffffffcc; font: inherit; font-size: 14px; font-weight: 500; text-align: left; cursor: pointer; white-space: nowrap; outline: 0; }
.menu-verre button span { flex: 1; }
.menu-verre button svg { width: 16px; height: 16px; flex: none; opacity: .75; }
.menu-verre button svg:last-child { opacity: 0; color: var(--accent); }
.menu-verre button.on { color: #fff; }
.menu-verre button.on svg:last-child { opacity: 1; }
.menu-verre button:hover, .menu-verre button:focus-visible { background: #ffffff17; color: #fff; }
@keyframes menu-verre-in { from { opacity: 0; transform: translateY(4px) scale(.97); } }
.menu-verre:not(.haut) { animation-name: menu-verre-in-bas; }
@keyframes menu-verre-in-bas { from { opacity: 0; transform: translateY(-4px) scale(.97); } }
@keyframes menu-verre-out { to { opacity: 0; transform: scale(.97); } }
@media (max-width: 760px) {
  .h2-heros .h2-demande { width: calc(100vw - 20px); }
  .h2-choix { font-size: 12.5px; }
  .menu-verre button { min-height: 40px; font-size: 15px; }
}
.menu-verre.sortie:not(.x) { animation: menu-verre-out .12s ease-in forwards; }

/* Plus de ciel animé (10/11/2026, Axel : « retirer le background des nuages et mettre juste dark mode et light mode
   classique ») : un fond uni, sombre neutre ou clair, et des surfaces neutres au lieu du verre bleuté. */
:root {
  --doux: #b4bac6; --tres-doux: #818897;
  --verre: linear-gradient(140deg, #1d2028f2 0%, #16181ef5 100%);
  --verre-fort: linear-gradient(140deg, #1d2028fc 0%, #17191ffc 100%);
  --verre-flou: blur(20px) saturate(1.2);
  --ligne: #ffffff1a; --ligne-forte: #ffffff33; --champ: #0f1116;
  --ombre: inset 0 1px 0 #ffffff10, 0 18px 50px -26px #000000d9;
}
html { background: #0c0e13; }
:root[data-theme="light"] {
  --texte: #111827; --doux: #4b5563; --tres-doux: #6b7280;
  --verre: #ffffff; --verre-fort: #ffffff;
  --ligne: #0f172a17; --ligne-forte: #0f172a2e; --champ: #ffffff;
  --ombre: 0 1px 2px #0f172a0d, 0 14px 36px -18px #0f172a2e;
}
html[data-theme="light"] { background: #f5f6f8; }
.ciel { display: none; }
.st-pied { background: #16181ef2; }
[data-theme="light"] .st-pied { background: #fffffff2; }
[data-theme="light"] .st-etape-img.trio { background: #eef0f4; }

/* La barre du haut prend la largeur du contenu de la page (10/11/2026, Axel : « le header doit prendre la même largeur
   que en dessous, idem partout ») : 1180 px par défaut comme .page, toute la largeur dans le studio, 1012 px sur l'offre. */
.barre { padding-left: max(16px, calc((100vw - var(--largeur-barre, 1180px)) / 2)); padding-right: max(16px, calc((100vw - var(--largeur-barre, 1180px)) / 2)); }
body:has(.st-page) { --largeur-barre: 100vw; }
body:has(.page.offre) { --largeur-barre: 1012px; }

/* Barre posée sur la vidéo de l'accueil : liens, boutons et logo en blanc, dans les deux thèmes (10/11/2026, Axel : « on
   voit rien, peut-être mettre blanc ») ; une fois la page défilée, la barre voilée reprend les couleurs du thème. */
body:has(.h2-heros) .barre:not(.voilee) .navlien { color: #fff; font-weight: 600; text-shadow: 0 1px 12px #000a, 0 0 2px #0006; }
body:has(.h2-heros) .barre:not(.voilee) .navlien:hover { background: #ffffff24; }
body:has(.h2-heros) .barre:not(.voilee) .bascule-theme, body:has(.h2-heros) .barre:not(.voilee) .bascule-langue { background: #ffffff24; border-color: #ffffff4d; color: #fff; -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); }
body:has(.h2-heros) .barre:not(.voilee) .logo-marque { content: url("/img/logo/filmea-sombre.svg"); filter: drop-shadow(0 1px 8px #0008); }
.barre.voilee { background: #0c0e13c7; }
.barre nav .choix-langue { margin: 0 8px 0 4px; } /* (10/11/2026, Axel : « trop collé ») */
/* légende des tuiles : le secteur ne déborde plus (10/11/2026, Axel : « bug ») ; dans un film vertical, sous le type */
.ms figcaption .mv-type { flex: none; }
.ms figcaption .mv-secteur { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ms.p figcaption { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 6px; }
.ms.p figcaption .mv-secteur { max-width: 100%; }

/* Studio sans onglets « Créer / Mes vidéos » (10/11/2026, Axel : « ça faut le mettre autre part ») :
   « Mon espace » de la barre mène déjà aux vidéos, « Nouveau projet » passe sous le bouton Générer */
.st-defile { padding-top: 16px; }
.st-nouveau { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-top: 8px; padding: 6px; border: 0; background: transparent; color: var(--doux); font-size: 13.5px; font-weight: 600; cursor: pointer; border-radius: 10px; }
.st-nouveau svg { width: 15px; height: 15px; }
.st-nouveau:hover { color: var(--texte); background: #ffffff0d; }
html[data-theme="light"] .st-nouveau:hover { background: #0000000a; }

/* Panneau du studio plus compact (10/11/2026, Axel : « tout doit être réduit, un peu plus petit pour avoir un max d'infos ») */
@media (min-width: 761px) {
  .st-page { grid-template-columns: 360px 1fr; }
  .st-defile { padding: 12px 12px 12px; gap: 11px; }
  .st-bloc { gap: 6px; }
  .st-titre { font-size: 11px; }
  .st-types { gap: 6px; }
  .st-type { grid-template-columns: 20px 1fr; column-gap: 8px; padding: 7px 10px; border-radius: 11px; }
  .st-type svg { width: 17px; height: 17px; }
  .st-type b { font-size: 13px; }
  .st-type small { font-size: 11px; }
  .st-champ { height: 36px; padding: 0 10px; border-radius: 10px; font-size: 13.5px; }
  .st-champ svg { width: 15px; height: 15px; }
  .st-champ input { font-size: 13.5px; }
  .st-texte { min-height: 72px; padding: 8px 10px; border-radius: 10px; font-size: 13.5px; }
  .st-depot { flex-direction: row; justify-content: center; gap: 8px; padding: 10px; border-radius: 11px; flex-wrap: wrap; }
  .st-depot svg { width: 16px; height: 16px; }
  .st-depot b { font-size: 12.5px; }
  .st-depot small { flex-basis: 100%; font-size: 11px; }
  .st-puces { gap: 5px; }
  .st-puce { min-height: 30px; padding: 4px 10px; border-radius: 8px; font-size: 12.5px; gap: 5px; }
  .st-puce svg { width: 13px; height: 13px; }
  .st-puce small { font-size: 11px; }
  .st-grille2 { gap: 10px; }
  .st-case { padding: 7px 10px; gap: 8px; border-radius: 10px; }
  .st-case b { font-size: 12.5px; }
  .st-case em { font-size: 12px; }
  .st-case small { font-size: 11px; }
  .st-case .interrupteur { width: 30px; height: 18px; }
  .st-case .interrupteur::after { width: 12px; height: 12px; }
  .st-case.on .interrupteur::after { transform: translateX(12px); }
  .st-pied { padding: 10px 12px 11px; }
  .st-generer { height: 42px; font-size: 14.5px; }
  .st-pied-note { margin-top: 6px; font-size: 11px; }
  .st-nouveau { margin-top: 4px; padding: 4px; font-size: 12.5px; }
}

/* Curseur de la durée (10/11/2026, Axel : « un cursor ça serait mieux ») */
.st-duree .st-titre { display: flex; justify-content: space-between; align-items: baseline; }
.st-duree .st-titre b { text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 650; color: var(--accent-fort); }
.st-duree input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; margin: 0; background: transparent; cursor: pointer; }
.st-duree input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--accent) 0 var(--p), #ffffff1f var(--p) 100%); }
.st-duree input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--accent) 0 var(--p), #ffffff1f var(--p) 100%); }
.st-duree input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -6px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 1px 6px #0006, 0 0 0 4px rgba(var(--accent-rgb), .25); transition: transform .15s; }
.st-duree input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 1px 6px #0006, 0 0 0 4px rgba(var(--accent-rgb), .25); }
.st-duree input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
.st-duree input[type="range"]:focus-visible { outline: none; }
.st-duree input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .55); }
.st-crans { display: flex; justify-content: space-between; margin: -2px 2px 0; font-size: 11.5px; color: var(--tres-doux); }
.st-crans span.on { color: var(--texte); font-weight: 600; }
html[data-theme="light"] .st-duree input[type="range"]::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--accent) 0 var(--p), #0000001a var(--p) 100%); }
html[data-theme="light"] .st-duree input[type="range"]::-moz-range-track { background: linear-gradient(90deg, var(--accent) 0 var(--p), #0000001a var(--p) 100%); }
html[data-theme="light"] .st-duree input[type="range"]::-webkit-slider-thumb { box-shadow: 0 1px 4px #0004, 0 0 0 4px rgba(var(--accent-rgb), .25); }
.st-crans { position: relative; display: block; height: 15px; margin: -2px 0 0; }
.st-crans span { position: absolute; top: 0; left: calc(9px + (100% - 18px) * var(--k)); transform: translateX(-50%); white-space: nowrap; }
.st-crans span:first-child { left: 0; transform: none; }
.st-crans span:last-child { left: auto; right: 0; transform: none; }

/* Langues du studio (10/11/2026, Axel : « un select pour choisir autant de langues qu'on veut ») */
.st-titre-note { text-transform: none; letter-spacing: 0; font-size: 11.5px; font-weight: 500; color: var(--tres-doux); margin-left: 6px; }
.st-langues { display: flex; flex-wrap: wrap; gap: 5px; }
.st-lg { display: inline-flex; align-items: center; gap: 4px; min-height: 30px; padding: 3px 4px 3px 10px; border-radius: 8px; border: 1px solid rgba(var(--accent-rgb), .55); background: rgba(var(--accent-rgb), .12); color: var(--accent-fort); font-size: 12.5px; font-weight: 600; }
.st-lg.fixe { padding-right: 10px; border-color: var(--ligne); background: #ffffff08; color: var(--texte); }
.st-lg small { margin-left: 4px; font-size: 11px; font-weight: 500; color: var(--tres-doux); }
.st-lg button { display: grid; place-items: center; width: 20px; height: 20px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: inherit; cursor: pointer; opacity: .75; }
.st-lg button:hover { opacity: 1; background: #ffffff14; }
.st-lg button svg { width: 12px; height: 12px; }
.st-lg-ajout { display: inline-flex; align-items: center; gap: 5px; min-height: 30px; padding: 3px 10px; border-radius: 8px; border: 1px dashed var(--ligne-forte); background: transparent; color: var(--doux); font-size: 12.5px; font-weight: 600; cursor: pointer; }
.st-lg-ajout svg { width: 13px; height: 13px; }
.st-lg-ajout:hover, .st-lg-ajout[aria-expanded="true"] { color: var(--texte); border-style: solid; background: #ffffff0a; }
.st-lg-menu { margin-top: 2px; padding: 6px; border-radius: 12px; border: 1px solid var(--ligne); background: #16181ef5; box-shadow: 0 18px 40px -18px #000a; animation: menu-verre-in .14s cubic-bezier(.2, .8, .2, 1); }
.st-lg-cherche { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 9px; margin-bottom: 4px; border-radius: 8px; border: 1px solid var(--ligne); background: var(--champ); }
.st-lg-cherche svg { width: 14px; height: 14px; color: var(--tres-doux); }
.st-lg-cherche input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 13px; }
.st-lg-cherche:focus-within { border-color: rgba(var(--accent-rgb), .6); }
.st-lg-liste { max-height: 220px; overflow-y: auto; scrollbar-width: thin; }
.st-lg-liste button { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 32px; padding: 0 8px; border: 0; border-radius: 7px; background: transparent; color: var(--texte); font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.st-lg-liste button:hover { background: #ffffff0d; }
.st-lg-liste button b { font-weight: 500; }
.st-lg-liste button small { margin-left: auto; color: var(--tres-doux); font-size: 11.5px; }
.st-lg-case { display: grid; place-items: center; flex: none; width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid var(--ligne-forte); }
.st-lg-case svg { width: 11px; height: 11px; opacity: 0; color: #0b0f14; }
.st-lg-liste button.on .st-lg-case { background: var(--accent); border-color: var(--accent); }
.st-lg-liste button.on .st-lg-case svg { opacity: 1; }
.st-lg-liste button.on b { font-weight: 650; }
.st-lg-rien { margin: 8px; font-size: 12.5px; color: var(--tres-doux); }
html[data-theme="light"] .st-lg-menu { background: #fff; box-shadow: 0 18px 40px -18px #0003; }
html[data-theme="light"] .st-lg.fixe { background: #0000000a; }
html[data-theme="light"] .st-lg-liste button:hover { background: #0000000a; }
/* le détail des options sur l'écran de paiement (10/11/2026) */
.st-recap li.st-recap-option { padding: 4px 0 8px; font-size: 13.5px; }
.st-recap li.st-recap-option span { color: var(--tres-doux); }
.st-recap li.st-recap-total { border-bottom: 0; font-weight: 650; }
.st-recap li.st-recap-total span { color: var(--texte); }

/* Options adaptées au projet (10/11/2026) */
.st-adapte { display: inline-flex; align-items: center; gap: 4px; color: var(--accent-fort); }
.st-adapte svg { width: 12px; height: 12px; }
.st-adapte.en-cours { color: var(--tres-doux); animation: st-adapte-pulse 1.2s ease-in-out infinite; }
@keyframes st-adapte-pulse { 50% { opacity: .45; } }
.st-conseil { margin-left: 6px; padding: 1px 6px; border-radius: 6px; background: rgba(var(--accent-rgb), .14); color: var(--accent-fort); font-style: normal; font-size: 10.5px; font-weight: 650; vertical-align: 1px; }

/* Interrupteur des options centré sur la première ligne du titre (10/11/2026, Axel : « pas aligné ») */
.st-case > span:last-child { line-height: 22px; }
.st-case .interrupteur { margin-top: 1px; }
.st-case small { line-height: 1.4; }
@media (min-width: 761px) {
  .st-case > span:last-child { line-height: 20px; }
  .st-case .interrupteur { margin-top: 2px; }
}

/* L'attente en détail et le jeu de saut (10/11/2026) */
.st-attente { max-width: 640px; margin-top: 5vh; }
.st-etapes-attente { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.st-etapes-attente li { display: flex; gap: 10px; align-items: flex-start; color: var(--tres-doux); }
.st-etapes-attente li > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.st-etapes-attente b { font-size: 14px; font-weight: 600; line-height: 22px; }
.st-etapes-attente small { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--doux); }
.st-etapes-attente small svg { width: 13px; height: 13px; color: var(--accent-fort); flex: none; }
.st-etapes-attente small.ok { color: var(--texte); }
.st-etapes-attente li.en-cours, .st-etapes-attente li.fait { color: var(--texte); }
.st-puce-etape { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--ligne-forte); font-size: 11.5px; font-weight: 700; }
.st-puce-etape svg { width: 13px; height: 13px; }
li.fait .st-puce-etape { background: var(--accent); border-color: var(--accent); color: #0b0f14; }
li.en-cours .st-puce-etape { border-color: var(--accent); color: var(--accent-fort); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .15); animation: st-adapte-pulse 1.4s ease-in-out infinite; }
.st-tourne-pt { flex: none; width: 7px; height: 7px; margin: 0 3px; border-radius: 50%; background: var(--accent); animation: st-adapte-pulse 1s ease-in-out infinite; }
.st-jeu { margin-top: 6px; border-radius: 14px; border: 1px solid var(--ligne); overflow: hidden; background: #ffffff05; }
.st-jeu canvas { display: block; cursor: pointer; touch-action: manipulation; outline: none; background: transparent; }
html[data-theme="light"] .st-jeu { background: #00000005; }
/* les plans suivants au format de la vidéo (10/11/2026, Axel : « j'ai demandé en paysage mais les images en dessous des 2 idées sont en mode portrait ») */
.st-plans.h { grid-template-columns: repeat(var(--n, 3), 1fr); }
.st-plans.h figure { aspect-ratio: 16 / 9; }

/* L'attente du tournage au style du studio (10/11/2026) */
.vid-attente { padding-top: 10px; }
.vid-attente .st-attente { margin: 3vh auto 40px; }
.va-sous { margin: -6px 0 0; color: var(--doux); font-size: 15px; }
.va-detail-etape { margin: 0; font-size: 12.5px; color: var(--tres-doux); }
.vid-attente .sc-liste { margin-top: 6px; }
.vid-attente .avis-mail { margin-top: 2px; }
.vid-attente #va-note .bouton { margin-top: 4px; }

/* La vidéo dans l'écran du studio (10/11/2026, Axel : « toujours le même écran du début ») */
.st-video .st-contenu { padding: 18px; }
.st-video .st-attente { margin: 2vh auto 0; }
.vr-projet { display: flex; flex-direction: column; gap: 4px; }
.vr-projet b { font-size: 15px; }
.vr-projet p { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--tres-doux); }
.vr-type { cursor: default; }
.vr-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.vr-liste li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--ligne); font-size: 12.5px; }
.vr-liste li:last-child { border-bottom: 0; }
.vr-liste span { color: var(--tres-doux); flex: none; }
.vr-liste b { font-weight: 600; text-align: right; }
.vr-attente { margin: 0; font-size: 13px; color: var(--doux); }
.st-video .st-pied .st-generer { display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.st-video .st-pied .st-generer svg { width: 18px; height: 18px; }
.st-video .st-pied a.st-nouveau { text-decoration: none; }
.video-page.dans-studio { padding: 0; margin: 0; max-width: none; }
.video-page.dans-studio .video-grille { margin: 0; }
.video-page.dans-studio .timeline-video.collante { position: static; }
/* les boutons du panneau de la vidéo : le texte reste dans le bouton (Axel, 10/11/2026 : « bug sur ta maquette là le texte ») */
.panneau .boutons .bouton { white-space: normal; text-align: center; line-height: 1.2; min-height: 44px; height: auto; padding-top: 10px; padding-bottom: 10px; }
.panneau .boutons.cote .bouton { white-space: normal; text-align: center; line-height: 1.2; padding-left: 10px; padding-right: 10px; gap: 6px; font-size: 14.5px; }

/* Le panneau de la vidéo à gauche, la vidéo seule à droite (10/11/2026, Axel : « ce bloc-là je l'aurais mis à gauche ») */
.video-grille.seule { grid-template-columns: minmax(0, 1fr); }
.video-grille.seule.vertical { grid-template-columns: minmax(0, 440px); justify-content: center; }
.vr-panneau { gap: 14px; }
.vr-panneau .panneau { padding: 4px 2px 0; justify-content: flex-start; gap: 12px; background: none; border: 0; box-shadow: none; }
.vr-panneau .panneau h1 { font-size: 21px; }
.vr-panneau .panneau p { font-size: 13.5px; }
.vr-panneau .panneau .boutons.cote { grid-template-columns: 1fr 1fr; }
.vr-panneau .panneau .bouton { min-height: 40px; font-size: 13.5px; }
.vr-panneau .etiquettes { display: flex; flex-wrap: wrap; gap: 6px; }
.vr-modif { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 14px; border: 1px solid var(--ligne); background: #ffffff06; }
.vr-modif b { font-size: 14px; }
.vr-modif textarea { width: 100%; resize: vertical; min-height: 76px; padding: 9px 11px; border-radius: 10px; border: 1px solid var(--ligne); background: var(--champ); outline: 0; font: inherit; font-size: 13.5px; line-height: 1.45; }
.vr-modif textarea:focus { border-color: rgba(var(--accent-rgb), .6); }
.vr-modif .tl-reste { margin: 0; font-size: 12px; color: var(--tres-doux); }
.vr-modif .lien { font-size: 12px; }
.vr-details { border-top: 1px solid var(--ligne); padding-top: 10px; }
.vr-details summary { display: flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; font-size: 12.5px; font-weight: 650; color: var(--doux); text-transform: uppercase; letter-spacing: .04em; }
.vr-details summary::-webkit-details-marker { display: none; }
.vr-details summary svg { width: 14px; height: 14px; transition: transform .2s; transform: rotate(-90deg); }
.vr-details[open] summary svg { transform: none; }
.vr-details > .st-bloc { margin-top: 12px; }
html[data-theme="light"] .vr-modif { background: #0000000a; }

/* Page de la vidéo dans le studio, compacte comme le panneau du début (10/11/2026, Axel : « plus petit comme le début ») */
@media (min-width: 761px) {
  .vr-panneau { padding: 12px 12px; gap: 11px; }
  .vr-panneau .panneau { gap: 10px; }
  .vr-panneau .etiquettes { gap: 5px; }
  .vr-panneau .etiquette { font-size: 11.5px; padding: 3px 9px; gap: 5px; }
  .vr-panneau .etiquette svg { width: 12px; height: 12px; }
  .vr-panneau .panneau h1 { font-size: 17px; line-height: 1.25; }
  .vr-panneau .panneau p, .vr-panneau .panneau .petit { font-size: 12.5px; line-height: 1.45; }
  .vr-panneau .panneau .bouton { min-height: 36px; font-size: 12.5px; padding: 6px 10px; gap: 6px; }
  .vr-panneau .panneau .bouton svg { width: 15px; height: 15px; }
  .vr-panneau .panneau .bouton.principal { min-height: 40px; font-size: 13.5px; }
  .vr-panneau .panneau .lien { font-size: 12px; }
  .vr-panneau .tl-demande { display: flex; flex-direction: column; gap: 8px; }
  .vr-panneau .tl-demande > b { font-size: 13.5px; }
  .vr-panneau .tl-contexte { padding: 7px; gap: 9px; border-radius: 11px; }
  .vr-panneau .tl-vue { zoom: .72; }
  .vr-panneau .tl-portee { margin: 2px 0 4px; }
  .vr-panneau .tl-contexte b { font-size: 13px; }
  .vr-panneau .tl-contexte small, .vr-panneau .tl-contexte span { font-size: 12px; }
  .vr-panneau textarea, .vr-panneau .champ-texte { font-size: 13px !important; min-height: 64px; padding: 8px 10px; border-radius: 10px; }
  .vr-panneau .tl-portee { gap: 5px; }
  .vr-panneau .tl-portee button { min-height: 28px; padding: 3px 10px; font-size: 12px; border-radius: 8px; }
  .vr-panneau .tl-reste { font-size: 11.5px; margin: 0; }
  .vr-panneau .version-en-plus h3 { font-size: 13px; margin: 0 0 6px; }
  /* la timeline à droite */
  .st-video .timeline-video { padding: 10px 12px 12px; margin: 0 0 12px; }
  .st-video .tl-lecture { width: 34px; height: 34px; }
  .st-video .tl-lecture svg { width: 16px; height: 16px; }
  .st-video .tl-son, .st-video .tl-plein, .st-video .tl-st { height: 34px; min-width: 34px; font-size: 12.5px; padding: 0 11px; }
  .st-video .tl-son svg, .st-video .tl-plein svg, .st-video .tl-st svg { width: 16px; height: 16px; }
  .st-video .tl-haut { font-size: 12.5px; margin-bottom: 8px; }
  .st-video .tl-plan { font-size: 11.5px; }
}
@media (min-width: 761px) {
  .vr-panneau .panneau .boutons.cote .bouton { font-size: 12.5px; min-height: 36px; padding: 6px 10px; }
  /* la vidéo tient dans l'écran avec sa timeline au-dessus */
  /* (10/11/2026, Axel : « tu peux laisser la largeur du card ») : la carte garde toute la largeur, la vidéo y tient en hauteur */
  .video-grille.seule .lecteur video { height: calc(100svh - 440px); min-height: 240px; width: 100%; object-fit: contain; background: #000; }
  .video-grille.seule.vertical .lecteur video { aspect-ratio: auto; width: 100%; }
}
/* (10/11/2026, Axel : « sur une ligne toujours ») : les boutons du bas tiennent sur une ligne */
.panneau .boutons.cote .bouton { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vr-panneau .panneau .boutons.cote .bouton { padding-left: 8px; padding-right: 8px; }
.vr-panneau .panneau .boutons.cote .bouton svg { display: none; }

/* Arrêter la génération (10/11/2026) */
.st-attente-pied { display: flex; align-items: center; gap: 14px; }
.st-attente-pied .st-attente-note { flex: 1; margin: 0; }
.st-arreter { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--ligne-forte); background: transparent; color: var(--doux); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.st-arreter svg { width: 14px; height: 14px; }
.st-arreter:hover { color: var(--texte); border-color: #ff8a8a99; background: #ff6b6b14; }
@media (max-width: 760px) { .st-attente-pied { flex-direction: column; align-items: stretch; } }

/* ── Les modèles vidéo choisis par le client (maquette du 11/11/2026, ui/modeles.js) ── */
/* la barre défilante tout en haut de la page, pleine largeur (Axel : « une barre tout en haut, full largeur, qui défile ») */
.bm { position: relative; z-index: 11; width: 100%; height: 34px; overflow: hidden; display: flex; align-items: center; background: linear-gradient(90deg, #07343a, #0d1530 50%, #07343a); border-bottom: 1px solid #34d3bd40; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.bm-defile { display: inline-flex; align-items: center; gap: 22px; white-space: nowrap; animation: bm-defile 50s linear infinite; padding-left: 22px; }
.bm:hover .bm-defile, .bm:focus-within .bm-defile { animation-play-state: paused; }
@keyframes bm-defile { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .bm-defile { animation: none; } }
.bm-item { display: inline-flex; align-items: center; gap: 8px; color: var(--texte); text-decoration: none; font-size: 13.5px; }
.bm-item b { font-weight: 650; }
.bm-item small { color: var(--doux); font-size: 12.5px; }
.bm-item:hover b { color: var(--accent-fort); }
.bm-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); opacity: .6; flex: none; }
.bm-neuf { display: inline-block; padding: 2px 7px; border-radius: 999px; background: var(--accent); color: var(--sur-accent); font-size: 10.5px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; line-height: 1.3; }
/* l'accueil et le studio sous la barre : la vidéo du haut et les deux panneaux gardent toute leur hauteur */
.bm + .barre { top: 0; }
.st-page.avec-bandeau { height: calc(100svh - 112px); }
/* le réglage « Modèles » de l'accueil et son menu à cases */
.mm { padding: 6px; max-height: min(460px, 70vh); overflow: auto; }
.mm-tete { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px 10px; font-size: 12.5px; color: var(--tres-doux); }
.mm-note { color: var(--accent-fort); white-space: nowrap; }
.mm button, .st-modele { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; }
.mm-case, .menu-verre .mm-case { flex: 0 0 20px; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--ligne-forte); display: grid; place-items: center; color: transparent; }
.mm-case svg { width: 13px; height: 13px; }
.mm button.on .mm-case, .st-modele.on .mm-case { background: var(--accent); border-color: var(--accent); color: var(--sur-accent); }
.mm-nom { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; text-align: left; }
.menu-verre.mm button { min-height: 48px; padding: 6px 10px; }
.menu-verre.mm button span.bm-neuf { flex: none; }
.menu-verre.mm button .mm-case svg { opacity: 1; color: inherit; width: 13px; height: 13px; }
.menu-verre.mm button:not(.on) .mm-case svg, .st-modele:not(.on) .mm-case svg { opacity: 0; }
.mm-tete { align-items: flex-start; }
.mm-nom b { font-size: 14px; font-weight: 620; }
.mm-nom small { color: var(--tres-doux); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* le bloc « Modèles vidéo » du studio */
.st-aide-modeles { margin: -2px 0 10px; color: var(--tres-doux); font-size: 13px; line-height: 1.4; }
.st-modeles { display: flex; flex-direction: column; gap: 6px; }
.st-modele { padding: 9px 10px; border-radius: 12px; border: 1px solid var(--ligne); background: #ffffff08; color: var(--texte); cursor: pointer; font: inherit; }
.st-modele:hover { border-color: var(--ligne-forte); }
.st-modele.on { border-color: #34d3bd99; background: #34d3bd14; }
/* la comparaison dans la carte de l'idée : le premier plan de chaque modèle côte à côte */
.st-num-haut { padding: 12px 14px 0; }
.st-compare { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); align-items: start; gap: 6px; padding: 10px; }
.st-compare-plan { position: relative; display: block; width: 100%; min-height: 0; aspect-ratio: 9 / 16; max-height: 44vh; border-radius: 12px; overflow: hidden; border: 2px solid transparent; padding: 0; background: #000; cursor: pointer; }
.st-compare-plan video, .st-compare-plan img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.st-compare-plan.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.st-compare-nom { position: absolute; left: 6px; right: 6px; bottom: 6px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 5px 6px; border-radius: 999px; background: #000b; color: #fff; font-size: 12px; }
.st-compare-nom svg { width: 13px; height: 13px; color: var(--accent-fort); }
.st-compare-plan.on .st-compare-nom { background: var(--accent); color: var(--sur-accent); }
.st-compare-plan.on .st-compare-nom svg { color: var(--sur-accent); }
.st-compare.attente .st-compare-plan { cursor: default; }
.st-compare.attente img { filter: brightness(.55) saturate(.6); }
.st-compare-nom.tourne svg { animation: tourne 1.6s linear infinite; }
@keyframes tourne { to { transform: rotate(360deg); } }
@media (max-width: 900px) { .st-page.avec-bandeau { height: auto; } }
@media (max-width: 640px) {
  .bm { height: 30px; }
  .bm-item { font-size: 12.5px; }
  .bm-item small { display: none; }
  .st-compare { gap: 4px; padding: 8px; }
  .st-compare-nom { font-size: 11px; padding: 4px; }
}
.st-modeles .st-modele { justify-content: flex-start; text-align: left; }
.st-modeles .st-modele .mm-nom { align-items: flex-start; text-align: left; overflow: hidden; }
.st-modeles .st-modele .mm-nom b, .st-modeles .st-modele .mm-nom small { width: 100%; text-align: left; }
.st-modeles .st-modele .bm-neuf { flex: none; }
.mm-tete.mm-seul { padding: 10px 12px; font-size: 13.5px; color: var(--doux); line-height: 1.4; }
/* le modèle vidéo du studio, comme une liste déroulante (11/11/2026, Axel : « faut que ça soit un select ») */
.st-select-modeles { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--ligne); background: var(--champ); color: var(--texte); font: inherit; text-align: left; cursor: pointer; }
.st-select-modeles:hover { border-color: var(--ligne-forte); }
.st-select-modeles[aria-expanded="true"] { border-color: var(--accent); }
.st-select-modeles > svg:first-child { width: 18px; height: 18px; color: var(--accent-fort); flex: none; }
.st-select-modeles > svg:last-child { width: 16px; height: 16px; color: var(--tres-doux); flex: none; margin-left: auto; }
.st-select-modeles b { font-weight: 620; font-size: 14.5px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-select-modeles small { color: var(--tres-doux); font-size: 12.5px; white-space: nowrap; }
/* un projet vide au moment de générer : le champ s'éclaire au lieu d'un message (11/11/2026, Axel) */
.st-texte.manque { border-color: var(--accent) !important; box-shadow: 0 0 0 3px #34d3bd33; animation: manque .35s ease 2; }
@keyframes manque { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.mm .mm-nom { overflow: hidden; }
.mm-nom b svg { width: 14px; height: 14px; color: var(--accent-fort); vertical-align: -2px; margin-right: 5px; }
.mm .mm-nom b, .st-modele .mm-nom b { display: flex; align-items: center; gap: 0; }
.mm .mm-nom b svg { opacity: 1 !important; flex: none; }

/* Les liens du pied de page vers les pages publiques (14/11/2026, référencement, src/pages.js) : une ligne à part, sous le reste */
.pied .liens-pages { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 8px 18px; padding-top: 14px; border-top: 1px solid var(--ligne); }
.pied .liens-pages a { color: var(--doux); text-decoration: none; }
.pied .liens-pages a:hover { color: var(--texte); text-decoration: underline; }

/* Le bloc de demande de l'accueil décollé du bas (16/11/2026, Axel : « le bloc en bas doit être décollé un peu du bas ») :
   la vidéo du haut ne comptait pas la barre des modèles (34 px, 30 sur téléphone), le bas de l'accueil passait sous l'écran
   et le bloc touchait le bord ; elle prend maintenant la fenêtre moins les deux barres, et le bloc garde 32 px sous lui
   (18 px sur téléphone, plus la zone sûre du bas). */
.bm ~ .h2-page .h2-heros { min-height: calc(100svh - 110px); }
.h2-heros .h2-demande { bottom: 32px; }
@media (max-width: 760px) {
  .bm ~ .h2-page .h2-heros { min-height: calc(100svh - 102px); }
  .h2-heros .h2-demande { bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 640px) { .bm ~ .h2-page .h2-heros { min-height: calc(100svh - 98px); } }

/* « Générer » de la même forme que les menus « Motion design » et « Modèle adapté », sur leur ligne, à droite, et rempli de
   blanc pour rester l'action principale (16/11/2026, Axel) ; le menu des modèles se cache pour un type sans modèle à choisir */
.h2-reglages .h2-go { align-self: auto; flex: none; margin-left: auto; height: 34px; padding: 0 10px; gap: 6px; border-radius: 10px; border: 1px solid transparent; font-size: 13.5px; font-weight: 600; }
.h2-reglages .h2-go svg { width: 15px; height: 15px; }
.h2-heros .h2-reglages .bouton.principal.h2-go:focus-visible { outline: 2px solid #ffffff80; outline-offset: 2px; }
.h2-heros .h2-reglages .bouton.principal.h2-go[disabled] { opacity: .45; cursor: not-allowed; }
.h2-modeles[hidden] { display: none; }
@media (max-width: 760px) {
  .h2-reglages { flex-wrap: wrap; overflow-x: visible; }
  .h2-reglages .h2-go { width: auto; height: 30px; padding: 0 9px; border-radius: 9px; font-size: 12.5px; }
  .h2-reglages .h2-go svg { width: 13px; height: 13px; }
}

/* ── « Se faire accompagner » (18/11/2026) : le bouton à côté de « Créer ma vidéo » et sa fenêtre de demande ── */
.h2-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 8px; }
.h2-actions .h2-cta { margin-top: 0; }
.h2-heros .bouton.h2-accomp { height: 54px; padding: 0 24px; font-size: 16.5px; background: #0b0f2152; color: #fff; border: 1px solid #ffffff4d; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); text-shadow: 0 1px 8px #0005; }
.h2-heros .bouton.h2-accomp:hover { background: #0b0f2175; }
@media (max-width: 760px) {
  .h2-actions { margin-top: 2px; }
  .h2-heros .bouton.h2-accomp { height: 40px; padding: 0 16px; font-size: 14.5px; }
}
.fenetre-accomp { width: min(620px, 100%); }
.ac-form { display: flex; flex-direction: column; gap: 14px; }
.ac-form[hidden], .ac-merci[hidden], .ac-erreur[hidden] { display: none; }
.ac-form .vx-aide { margin-bottom: 4px; }
.ac-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ac-champ { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ac-champ > span { font-size: 13.5px; font-weight: 650; color: var(--texte); }
.ac-champ > span small { font-weight: 450; color: var(--tres-doux); margin-left: 4px; }
.ac-champ input, .ac-champ textarea { width: 100%; border: 1px solid var(--ligne-forte); border-radius: 12px; background: #ffffff8c; color: var(--texte); font: inherit; font-size: 15px; padding: 11px 13px; outline: 0; resize: vertical; }
[data-theme="dark"] .ac-champ input, [data-theme="dark"] .ac-champ textarea { background: #ffffff0d; }
.ac-champ input:focus, .ac-champ textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .22); }
.ac-volumes { display: flex; flex-wrap: wrap; gap: 8px; }
.ac-volumes label { cursor: pointer; }
.ac-volumes input { position: absolute; opacity: 0; pointer-events: none; }
.ac-volumes b { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--ligne-forte); font-size: 14px; font-weight: 550; color: var(--doux); transition: background 160ms, border-color 160ms, color 160ms; }
.ac-volumes input:checked + b { background: rgba(var(--accent-rgb), .16); border-color: var(--accent); color: var(--texte); }
.ac-volumes input:focus-visible + b { box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .3); }
.ac-piege { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ac-erreur { margin: 0; color: #e5484d; font-size: 14px; }
.ac-envoyer { align-self: flex-start; }
.ac-merci h2 svg { color: var(--accent-fort); }
@media (max-width: 560px) { .ac-grille { grid-template-columns: 1fr; } .ac-envoyer { align-self: stretch; } }

/* ── Les styles du motion avec leur aperçu (18/11/2026) : une bande de vignettes animées 9:16 dans le panneau de gauche ── */
.st-styles { gap: 8px; padding-bottom: 2px; }
.st-puces > .st-puce.st-style { flex: 0 0 96px; display: flex; flex-direction: column; align-items: stretch; gap: 6px; padding: 5px 5px 7px; border-radius: 14px; min-height: 0; white-space: normal; }
.st-style-vue { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: 10px; overflow: hidden; background: #0b0f1f; }
.st-style-vue video { display: block; width: 100%; height: 100%; object-fit: cover; }
.st-style-auto { position: absolute; inset: 0; display: grid; place-items: center; background: conic-gradient(from 210deg at 50% 50%, #61c7bc55, #6991cc55, #ff5a1f40, #f6c32b45, #e0a6a055, #61c7bc55); }
.st-style-auto svg { width: 30px; height: 30px; color: #fff; filter: drop-shadow(0 2px 8px #0006); }
.st-style-coche { position: absolute; top: 5px; right: 5px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--sur-accent); }
.st-style-coche svg { width: 12px; height: 12px; }
.st-style b { font-size: 12.5px; font-weight: 600; text-align: center; line-height: 1.2; }
.st-puce.st-style.on { border-color: rgba(var(--accent-rgb), .75); background: rgba(var(--accent-rgb), .12); }
.st-style-detail { margin: 0; font-size: 13px; line-height: 1.45; color: var(--doux); }
.st-style-detail > b { color: var(--texte); margin-right: 4px; }
.st-style-condition { display: block; margin-top: 2px; color: var(--tres-doux); font-size: 12.5px; }
.st-style-grand { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; padding: 0; border: 0; background: none; color: var(--accent-fort); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.st-style-grand svg { width: 14px; height: 14px; }
.fenetre-style { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; animation: piece-arrive 300ms var(--courbe); }
.fenetre-style video { display: block; height: min(78svh, 720px); aspect-ratio: 9 / 16; border-radius: 22px; background: #0b0f1f; box-shadow: 0 30px 80px -20px #000c; }
.fenetre-style p { margin: 0; max-width: 420px; text-align: center; color: #eef2fa; font-size: 14px; line-height: 1.45; text-shadow: 0 1px 8px #0008; }
.fenetre-style p b { margin-right: 4px; }
.fenetre-style .fermer-voix { top: 10px; right: 10px; z-index: 1; background: #0008; color: #fff; }
@media (max-width: 760px) { .st-puces > .st-puce.st-style { flex-basis: 84px; } .fenetre-style video { height: min(70svh, 640px); } }
