/* =====================================================================
   MonteMix · DA « Régie » (01/12/2026) : la suite de l'accueil
   Chargée après accueil.css et pages.css, seulement sur l'accueil (index.html).
   La page se lit comme une session de montage son :
   - le fond (.fond-regie) : le logo géant se déroule en faisceaux de lumière tout le long de la page
     et se referme en logo derrière le contact ; le point du logo devient la tête de lecture.
     Tout est statique (dégradés et un SVG dessiné une fois) : rien ne tourne pendant le défilement ;
   - le contenu est posé dans des panneaux sombres (.panneau-regie), angles droits, filets fins ;
   - réalisations en timeline + moniteur, services en pistes, tarifs en barres.
   Le HTML vient de _outils/fabriquer-site.py.
   ===================================================================== */

/* ---------- le fond continu ---------- */
.suite-page.regie {
  background-color: #070D1E;
  background-image:
    radial-gradient(1500px 1000px at 70% 480px, #0F2152 0%, rgba(15, 33, 82, 0) 70%),
    radial-gradient(1400px 900px at 50% calc(100% - 420px), #0F2152 0%, rgba(15, 33, 82, 0) 70%),
    linear-gradient(180deg, #070D1E 0%, #0A1736 35%, #081127 60%, #0A1736 80%, #070D1E 100%);
}
.fond-regie { --k: 1; position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; overflow: clip; }
.logo-haut, .logo-bas { position: absolute; left: 50%; width: 1800px; height: 1150px; max-width: none; margin-left: -900px; transform: scale(var(--k)); }
.logo-haut { top: 0; transform-origin: 50% 0; }        /* (01/12) logo centré et entier : rien n'est coupé, ni en haut ni sur les côtés */
.logo-bas { bottom: 0; transform-origin: 50% 100%; }
/* les faisceaux partent du centre de chaque barre du logo du haut et finissent au centre de celles du bas */
.faisceau, .piste-lecture {
  position: absolute; top: calc(var(--k) * 575px); bottom: calc(var(--k) * 575px);
  left: calc(50% + (var(--x) - 36.4) * var(--k) * 1px); width: calc(72.8px * var(--k));
}
.faisceau {
  background: linear-gradient(90deg, rgba(59, 120, 216, 0), rgba(59, 120, 216, .13) 50%, rgba(59, 120, 216, 0));
  -webkit-mask-image: repeating-linear-gradient(180deg, rgba(0, 0, 0, .25) 0, #000 calc(var(--p) / 2), rgba(0, 0, 0, .25) var(--p));
          mask-image: repeating-linear-gradient(180deg, rgba(0, 0, 0, .25) 0, #000 calc(var(--p) / 2), rgba(0, 0, 0, .25) var(--p));
  -webkit-mask-position: 0 var(--d); mask-position: 0 var(--d);
}
.faisceau::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px;
  background: linear-gradient(180deg, rgba(141, 188, 242, .5), rgba(141, 188, 242, .16) 12%, rgba(141, 188, 242, .22) 50%, rgba(141, 188, 242, .16) 88%, rgba(141, 188, 242, .5));
}
/* la tête de lecture : le point du logo descend le long du faisceau central pendant le défilement (position: sticky, sans JavaScript) */
.piste-lecture { padding: calc(var(--k) * 360px) 0; box-sizing: border-box; }
.tete-lecture {
  position: sticky; top: 58vh; display: block; height: calc(93.6px * var(--k)); border-radius: 999px;
  background: linear-gradient(180deg, rgba(141, 188, 242, .55), rgba(141, 188, 242, .25));
  box-shadow: 0 0 60px 20px rgba(59, 120, 216, .3);
}
/* la graduation de timecode, le long du bord gauche */
.graduation {
  position: absolute; left: 0; top: 0; bottom: 0; width: 40px; border-right: 1px solid rgba(141, 188, 242, .14);
  background: repeating-linear-gradient(180deg, rgba(141, 188, 242, .26) 0 1px, transparent 1px 16px) right top / 8px 100% repeat-y;
}
@media (max-width: 1180px) { .graduation { display: none; } }
/* le logo suit la largeur de l'écran, par paliers */
@media (max-width: 1280px) { .fond-regie { --k: .85; } }
@media (max-width: 1024px) { .fond-regie { --k: .7; } }
@media (max-width: 760px) { .fond-regie { --k: .45; } }

/* (01/12, optimisation) la barre du haut, dans la suite : un fond plein plutôt qu'un flou recalculé à chaque défilement */
.barre.pleine { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(7, 13, 30, .94); }

/* ---------- panneaux et rythme ---------- */
.regie .panneau-regie { background: rgba(7, 13, 30, .84); border: 1px solid rgba(141, 188, 242, .18); }
.regie .section { padding: clamp(64px, 8vw, 120px) 0; }
.regie .section-tete { margin-bottom: clamp(28px, 3.4vw, 44px); }
.regie .chapo { color: #C3CDE0; }
.regie button.bouton { font-family: var(--titre); cursor: pointer; }

/* sélecteur d'univers : comme les boutons d'une barre de transport */
.regie .univers-nav { position: relative; padding-top: 104px; }   /* sous la barre du haut, même quand on arrive par Cinéma, Publicité… */
@media (max-width: 760px) { .regie .univers-nav { padding-top: 84px; } }
.regie .univers-nav .filtres { display: inline-flex; flex-wrap: wrap; gap: 0; margin: 0; border: 1px solid rgba(141, 188, 242, .2); background: rgba(7, 13, 30, .8); }
.regie .univers-nav .filtres button { border: 0; border-right: 1px solid rgba(141, 188, 242, .2); border-radius: 0; padding: 12px 20px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #C3CDE0; background: none; }
.regie .univers-nav .filtres button:last-child { border-right: 0; }
.regie .univers-nav .filtres button:hover { color: var(--neige); background: rgba(24, 58, 140, .35); }
.regie .univers-nav .filtres button[aria-pressed="true"] { color: var(--neige); background: var(--belledonne); }

/* ---------- le studio ---------- */
.regie-intro { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.regie-intro .h2.grand { font-size: clamp(36px, 4.6vw, 66px); line-height: 1.03; }
.regie-intro .texte { margin-top: 28px; max-width: 540px; color: #C3CDE0; }
.regie-intro .appel-liens { margin-top: 32px; }
.moniteur-studio { margin: clamp(0px, 11vw, 190px) 0 0; padding: 10px; }
.moniteur-studio figcaption, .moniteur-tc { font-family: var(--titre); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.moniteur-studio figcaption { display: flex; justify-content: space-between; padding: 2px 4px 10px; color: var(--glacier); }
.moniteur-studio img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.regie .clients-bloc { margin-top: clamp(56px, 8vw, 100px); padding-top: 28px; border-top: 1px solid rgba(141, 188, 242, .16); }
.regie .clients img { opacity: .5; }
@media (max-width: 900px) { .regie-intro { grid-template-columns: 1fr; } .moniteur-studio { margin-top: 0; } }

/* ---------- réalisations : la session ---------- */
.session { position: relative; }
.regle-temps { display: grid; grid-template-columns: 150px 1fr; }
.regle-temps div { display: flex; justify-content: space-between; padding: 12px 16px; font-family: var(--titre); font-size: 11px; letter-spacing: .12em; color: #7181A5; }
.session-piste { display: grid; grid-template-columns: 150px minmax(0, 1fr); border-top: 1px solid rgba(141, 188, 242, .14); }
.session-nom { display: flex; align-items: center; padding: 0 18px; border-right: 1px solid rgba(141, 188, 242, .14); font-family: var(--titre); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--glacier); }
.session-clips { display: flex; gap: 10px; height: 150px; box-sizing: border-box; padding: 10px 10px 10px calc(10px + var(--dec, 0%)); }
.clip { flex: var(--poids, 1) 1 0; min-width: 0; position: relative; padding: 0; overflow: hidden; border: 1px solid rgba(141, 188, 242, .3); background: #070D1E; color: var(--neige); font: inherit; text-align: left; cursor: pointer; transition: border-color .3s; }
.clip img { position: absolute; top: 24px; left: 0; width: 100%; height: calc(100% - 24px); object-fit: cover; opacity: .62; transition: opacity .4s; }
.clip-nom { position: absolute; top: 0; left: 0; right: 0; height: 24px; padding: 0 10px; background: var(--belledonne); font-size: 12px; line-height: 24px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background .3s; }
.clip:hover img, .clip:focus-visible img, .clip[aria-pressed="true"] img { opacity: 1; }
.clip:hover, .clip:focus-visible { border-color: rgba(141, 188, 242, .6); }
.clip[aria-pressed="true"] { border-color: var(--glacier); }
.clip[aria-pressed="true"] .clip-nom { background: var(--isere); }
.clip:focus-visible { outline: 2px solid var(--glacier); outline-offset: 2px; }
.clip .infos { display: none; }
.tete-session { position: absolute; top: 0; bottom: 0; left: var(--tete, 36%); width: 2px; margin-left: -1px; background: var(--neige); box-shadow: 0 0 12px var(--glacier); pointer-events: none; transition: left .7s var(--doux); }

/* le moniteur */
.moniteur { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; margin-top: 24px; }
.moniteur-image { position: relative; padding: 10px; }
.moniteur-image img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: opacity .3s; }
.moniteur-image video { position: absolute; top: 10px; left: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: cover; opacity: 0; transition: opacity .6s; }
.moniteur-image.joue video { opacity: 1; }
.moniteur-tc { position: absolute; right: 22px; bottom: 22px; padding: 5px 9px; background: rgba(7, 13, 30, .72); color: var(--neige); }
.moniteur-cartel { display: flex; flex-direction: column; padding: clamp(24px, 3vw, 36px); }
.moniteur-cartel > * { transition: opacity .25s; }
.moniteur.change .moniteur-cartel > *, .moniteur.change .moniteur-image img { opacity: 0; }
.moniteur-type { font-family: var(--titre); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--glacier); }
.moniteur-nom { margin: 14px 0 12px; font-family: var(--titre); font-weight: 400; font-size: clamp(28px, 3vw, 44px); line-height: 1.08; color: var(--neige); }
.moniteur-desc { margin: 0; font-size: 15px; line-height: 1.7; color: #C3CDE0; }
.moniteur-presta { margin: 16px 0 0; font-size: 14px; line-height: 1.6; color: var(--glacier); }
.moniteur-liens { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 26px; }
@media (max-width: 900px) { .moniteur { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .regle-temps, .tete-session { display: none; }
  .session-piste { grid-template-columns: 1fr; }
  .session-nom { padding: 14px 14px 0; border-right: 0; }
  .session-clips { height: 140px; padding: 10px 14px 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .session-clips::-webkit-scrollbar { display: none; }
  .clip { flex: 0 0 210px; scroll-snap-align: start; }
}

/* ---------- services : des pistes ---------- */
.services-pistes { list-style: none; margin: 0; padding: 0; }
.service-piste { display: grid; grid-template-columns: 200px minmax(0, 220px) minmax(0, 1fr) minmax(0, 300px); gap: 32px; align-items: center; padding: 22px 26px; border-top: 1px solid rgba(141, 188, 242, .14); }
.service-piste:first-child { border-top: 0; }
.service-piste img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.service-piste .h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.12; }
.onde { display: block; width: 100%; height: 64px; fill: var(--glacier); opacity: .8; }
.service-piste p { margin: 0; font-size: 15px; line-height: 1.6; color: #C3CDE0; }
.service-piste .lien-sobre { display: inline-block; margin-top: 10px; }
@media (max-width: 1100px) {
  .service-piste { grid-template-columns: 180px minmax(0, 1fr); gap: 10px 28px; }
  .service-piste img { grid-row: span 2; }
  .service-piste .onde { display: none; }
}
@media (max-width: 560px) {
  .service-piste { grid-template-columns: 1fr; padding: 20px; }
  .service-piste img { grid-row: auto; }
}

/* ---------- deux studios ---------- */
.studios-regie { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.studio-carte { display: grid; padding: 10px; color: var(--neige); text-decoration: none; transition: border-color .3s; }
.studio-carte img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.studio-ville { padding: 20px 12px 4px; font-family: var(--titre); font-size: clamp(24px, 2.4vw, 32px); }
.studio-quoi { padding: 0 12px 12px; font-size: 14px; color: #C3CDE0; }
.regie .studio-carte:hover { border-color: var(--glacier); }
@media (max-width: 760px) { .studios-regie { grid-template-columns: 1fr; } }

/* ---------- tarifs : des barres ---------- */
.tarifs-barres { list-style: none; margin: 0 0 32px; padding: clamp(14px, 2vw, 24px) clamp(18px, 2.4vw, 32px); }
.tarifs-barres li { display: grid; grid-template-columns: 90px minmax(0, 1fr) 230px; gap: 24px; align-items: center; padding: 10px 0; }
.tarif-duree { font-family: var(--titre); font-size: 22px; color: var(--glacier); }
.tarif-barre { display: flex; align-items: center; justify-content: flex-end; box-sizing: border-box; width: var(--l); min-width: 170px; height: 64px; padding: 0 22px; background: linear-gradient(90deg, var(--belledonne), var(--isere)); border-left: 3px solid var(--glacier); }
.tarif-barre strong { font-family: var(--titre); font-weight: 400; font-size: clamp(20px, 2.2vw, 30px); white-space: nowrap; color: var(--neige); }
.tarif-voix { font-size: 15px; color: #C3CDE0; }
@media (max-width: 760px) {
  .tarifs-barres li { grid-template-columns: 54px minmax(0, 1fr); gap: 6px 14px; }
  .tarif-duree { font-size: 16px; }
  .tarif-barre { height: 52px; min-width: 140px; padding: 0 14px; }
  .tarif-voix { grid-column: 2; font-size: 13px; }
}

/* ---------- avis, questions, équipe, contact : dans des panneaux ---------- */
.regie .avis-grand, .regie .avis-petits { padding: clamp(24px, 3vw, 40px); background: rgba(7, 13, 30, .84); border: 1px solid rgba(141, 188, 242, .18); }
.regie .avis-grand { border-left: 3px solid var(--glacier); }
.regie .faq { padding: 0 clamp(20px, 2.4vw, 32px); background: rgba(7, 13, 30, .84); border: 1px solid rgba(141, 188, 242, .18); }
.regie .faq details:last-child { border-bottom: 0; }
.regie .membre { background: rgba(7, 13, 30, .84); border: 1px solid rgba(141, 188, 242, .18); }
.regie .appel { max-width: 860px; margin: 0 auto; padding: clamp(32px, 5vw, 64px); background: rgba(7, 13, 30, .84); border: 1px solid rgba(141, 188, 242, .18); border-left: 3px solid var(--glacier); }
.regie .cartes .carte { border: 1px solid rgba(141, 188, 242, .2); }
.regie .grille { background: rgba(7, 13, 30, .84); }

/* =====================================================================
   (01/12/2026, 2e passe) Une seule échelle de texte, et les images qui sortent de la brume
   ===================================================================== */

/* ---------- une seule échelle de texte : titres en MMS, texte courant en Poppins, repères en petites capitales Glacier ---------- */
.regie .h2, .regie .appel .h2 { font-size: clamp(30px, 3.2vw, 46px); line-height: 1.1; }
.regie .regie-intro .h2.grand { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.04; }
.regie .h3 { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.15; }
.regie .chapo, .regie .texte, .regie .texte p { max-width: 56ch; font-size: 16px; line-height: 1.65; color: #C3CDE0; }
.regie .texte p { margin: 0; }
.regie .service-piste p, .regie .moniteur-desc, .regie .studio-quoi, .regie .tarif-voix, .regie .tarifs-notes p,
.regie .avis-petits blockquote, .regie .membre p, .regie .faq details > div { font-size: 15px; line-height: 1.6; color: #C3CDE0; }
.regie .avis-grand blockquote { font-family: var(--texte); font-weight: 300; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.5; color: var(--neige); }
.regie .avis figcaption, .regie .note-google, .regie .appel-coord, .regie .appel-coord a, .regie .clients-titre, .regie .membre-contact a { font-family: var(--texte); font-size: 14px; letter-spacing: 0; color: #8E9BB8; }
.regie .membre-role, .regie .moniteur-type { font-family: var(--titre); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--glacier); }
.regie .faq summary { font-size: 17px; }
.regie .tarifs-notes { display: block; margin: 0 0 28px; }
.regie .tarifs-notes p { max-width: 90ch; padding: 0; border: 0; }
.regie .membre-texte { padding: clamp(20px, 2.4vw, 32px); }
.regie .avis-petits { gap: 24px; }

/* ---------- les images sortent de la brume (piste B) ----------
   Un masque en image (assets/decor/masque-brume.webp, 11 Ko) : à l'arrivée à l'écran, il passe de 30 % à 100 %
   de la taille de l'image, une seule fois (classe .vu posée par pages.js), puis plus rien ne bouge.
   Sans JavaScript, pas de masque : l'image reste entière. */
.js .brume {
  -webkit-mask: url(/assets/decor/masque-brume.webp) center / 100% 100% no-repeat;
          mask: url(/assets/decor/masque-brume.webp) center / 100% 100% no-repeat;
  transition: -webkit-mask-size 1.6s cubic-bezier(.2, .7, .2, 1), mask-size 1.6s cubic-bezier(.2, .7, .2, 1);
}
.js .brume:not(.vu) { -webkit-mask-size: 30% 30%; mask-size: 30% 30%; }
@media (prefers-reduced-motion: reduce) { .js .brume { transition: none; } }

/* le moniteur, les studios : plus de cadre, l'image se fond dans le fond */
.moniteur-image { padding: 0; align-self: center; }
.moniteur-image img { aspect-ratio: 16 / 9; }
.moniteur-image video { top: 0; left: 0; width: 100%; height: 100%; }
.moniteur-tc { right: 9%; bottom: 12%; }
.studio-carte { padding: 0; }
.studio-ville { padding: 18px 0 4px; }
.studio-quoi { padding: 0; }
.studio-carte:hover .studio-ville { color: var(--glacier); }
.service-piste img.brume { aspect-ratio: 4 / 3; }
@media (max-width: 560px) {
  .regie .membre { grid-template-columns: 1fr; }
  .regie .membre img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 25%; margin: 0; }
}

/* ---------- les boîtes sortent aussi de la brume (01/12, 3e passe, demande de Rudy) ----------
   Le fond sombre d'une boîte passe dans un pseudo-élément un peu plus grand qu'elle (le bord organique tombe
   autour du texte), avec le même masque que les images : plus de rectangles ni de filets. Le texte n'est pas masqué.
   pages.js pose la classe .boite (seulement avec JavaScript ; sans, les boîtes gardent leur fond simple).
   Le moniteur du studio, en haut, garde son cadre (validé tel quel). */
.regie .boite { position: relative; isolation: isolate; overflow: visible; background: none !important; border: 0 !important; }
.regie .boite::before {
  content: ''; position: absolute; inset: -34px -40px; z-index: -1; pointer-events: none; background: rgba(7, 13, 30, .86);
  -webkit-mask: url(/assets/decor/masque-brume.webp) center / 100% 100% no-repeat;
          mask: url(/assets/decor/masque-brume.webp) center / 100% 100% no-repeat;
  transition: -webkit-mask-size 1.6s cubic-bezier(.2, .7, .2, 1), mask-size 1.6s cubic-bezier(.2, .7, .2, 1);
}
.regie .boite:not(.vu)::before { -webkit-mask-size: 30% 30%; mask-size: 30% 30%; }
@media (max-width: 760px) { .regie .boite::before { inset: -22px -18px; } }
@media (prefers-reduced-motion: reduce) { .regie .boite::before { transition: none; } }

/* (01/12) pas de texte superflu : la légende des logos clients reste pour Google et les lecteurs d'écran, sans s'afficher */
.regie .clients-titre { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.regie .section-tete:has(> .h2:only-child) { margin-bottom: clamp(24px, 3vw, 36px); }

/* =====================================================================
   (01/12, 4e passe) Tailles unifiées : une seule échelle pour toute la suite
   Titres : 64 (le studio, en haut) · 44 (sections) · 26 (noms, sous-titres)
   Texte  : 17 (phrases sous les titres) · 15 (texte courant) · 13 (légendes, coordonnées) · 12 (repères en capitales)
   Mêmes boutons partout, mêmes espacements, tout aligné à gauche.
   ===================================================================== */
.regie { --t64: clamp(36px, 4.6vw, 64px); --t44: clamp(28px, 3.1vw, 44px); --t26: clamp(20px, 1.9vw, 26px); }
.regie .regie-intro .h2.grand { font-size: var(--t64); line-height: 1.04; }
.regie .h2, .regie .appel .h2 { font-size: var(--t44); line-height: 1.1; }
.regie .h3, .regie .studio-ville, .regie .moniteur-nom, .regie .membre .h3 { font-family: var(--titre); font-weight: 400; font-size: var(--t26); line-height: 1.15; }
.regie .tarif-barre strong { font-size: var(--t26); }
.regie .avis-grand blockquote { font-size: var(--t26); line-height: 1.45; }

.regie .chapo, .regie .texte, .regie .texte p, .regie .appel .chapo, .regie .faq summary { font-size: 17px; line-height: 1.6; }
.regie .service-piste p, .regie .moniteur-desc, .regie .studio-quoi, .regie .tarif-voix, .regie .tarifs-notes p,
.regie .avis-petits blockquote, .regie .membre p, .regie .faq details > div, .regie .faq details > div p { font-size: 15px; line-height: 1.6; }
.regie .avis figcaption, .regie .note-google, .regie .appel-coord, .regie .appel-coord a, .regie .appel-coord span,
.regie .membre-contact a, .regie .moniteur-presta, .regie .lien-sobre { font-size: 13px; }
.regie .membre-role, .regie .moniteur-type, .regie .session-nom, .regie .moniteur-studio figcaption, .regie .moniteur-tc,
.regie .regle-temps div, .regie .univers-nav .filtres button { font-size: 12px; }
.regie .tarif-duree { font-size: 17px; }

/* les boutons : une seule taille */
.regie .bouton { padding: 14px 22px; font-size: 14px; letter-spacing: .02em; text-transform: none; }

/* les espacements : les mêmes pour toutes les sections */
.regie .section { padding: clamp(56px, 7vw, 104px) 0; }
.regie .section-tete, .regie .section-tete:has(> .h2:only-child) { margin-bottom: clamp(28px, 3vw, 40px); gap: 14px; }
.regie .appel-liens { margin-top: 28px; }

/* tout aligné à gauche, y compris le contact */
.regie .appel { max-width: none; margin: 0; text-align: left; }
.regie .appel .chapo { margin: 16px 0 0; }
.regie .appel-liens, .regie .appel-coord { justify-content: flex-start; }
.regie .appel-coord { margin-top: 28px; }

/* =====================================================================
   (01/12, 5e passe) Le calculateur de tarif, la grille, et de l'air dans les boîtes
   ===================================================================== */

/* les boîtes : un bord plus fin (masque-boite.webp) et un fond qui dépasse davantage : le texte n'approche jamais le bord */
.regie .boite::before {
  inset: -44px -48px;
  -webkit-mask-image: url(/assets/decor/masque-boite.webp); mask-image: url(/assets/decor/masque-boite.webp);
}
@media (max-width: 760px) { .regie .boite::before { inset: -24px -18px; } }
.regie .faq { padding: 8px clamp(20px, 2.4vw, 32px); }
.regie .membre-texte { padding: clamp(24px, 2.6vw, 36px); }

/* ---------- le calculateur ---------- */
.calcul { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(28px, 3.4vw, 48px); margin: 0 0 clamp(72px, 8vw, 104px); }
.calcul-ligne { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.calcul-label { font-family: var(--titre); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--glacier); }
.calcul-valeur { font-family: var(--titre); font-size: var(--t26); color: var(--neige); font-variant-numeric: tabular-nums; }
.calcul-curseur { --p: 0%; -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 44px; margin: 10px 0 0; background: transparent; cursor: pointer; }
.calcul-curseur::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--glacier) 0 var(--p), rgba(141, 188, 242, .22) var(--p) 100%); }
.calcul-curseur::-moz-range-track { height: 2px; background: rgba(141, 188, 242, .22); }
.calcul-curseur::-moz-range-progress { height: 2px; background: var(--glacier); }
.calcul-curseur::-webkit-slider-thumb { -webkit-appearance: none; width: 4px; height: 32px; margin-top: -15px; border: 0; border-radius: 2px; background: var(--neige); box-shadow: 0 0 14px var(--glacier); }
.calcul-curseur::-moz-range-thumb { width: 4px; height: 32px; border: 0; border-radius: 2px; background: var(--neige); box-shadow: 0 0 14px var(--glacier); }
.calcul-curseur:focus-visible { outline: none; }
.calcul-curseur:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px rgba(141, 188, 242, .5), 0 0 14px var(--glacier); }
.calcul-graduations { position: relative; height: 18px; margin-bottom: 36px; font-family: var(--titre); font-size: 12px; letter-spacing: .08em; color: #8E9BB8; }
.calcul-graduations span { position: absolute; top: 0; transform: translateX(-50%); }
.calcul-graduations span:first-child { transform: none; }
.calcul-graduations span:last-child { transform: translateX(-100%); }
.calcul-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 32px; }
.calcul-option { position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; border: 1px solid rgba(141, 188, 242, .22); cursor: pointer; transition: border-color .3s, background .3s; }
.calcul-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.calcul-case { flex: none; display: grid; place-items: center; width: 18px; height: 18px; margin-top: 3px; border: 1px solid rgba(141, 188, 242, .6); }
.calcul-case::after { content: ''; width: 10px; height: 10px; background: var(--glacier); transform: scale(0); transition: transform .2s; }
.calcul-option input:checked + .calcul-case::after { transform: scale(1); }
.calcul-option:has(input:checked) { border-color: rgba(141, 188, 242, .6); background: rgba(24, 58, 140, .28); }
.calcul-option input:focus-visible + .calcul-case { outline: 2px solid var(--glacier); outline-offset: 2px; }
.calcul-option strong { display: block; font-family: var(--titre); font-weight: 400; font-size: 17px; color: var(--neige); }
.calcul-option small { display: block; margin-top: 4px; font-size: 13px; line-height: 1.5; color: #C3CDE0; }
.calcul-pas { display: inline-flex; align-items: stretch; border: 1px solid rgba(141, 188, 242, .3); }
.calcul-pas button { width: 44px; height: 44px; border: 0; background: none; color: var(--neige); font-size: 18px; line-height: 1; cursor: pointer; transition: background .3s; }
.calcul-pas button:hover:not(:disabled) { background: rgba(24, 58, 140, .45); }
.calcul-pas button:disabled { opacity: .3; cursor: default; }
.calcul-pas output { min-width: 44px; border-left: 1px solid rgba(141, 188, 242, .3); border-right: 1px solid rgba(141, 188, 242, .3); font-family: var(--titre); font-size: 17px; line-height: 44px; text-align: center; color: var(--neige); }
.calcul-resultat { display: grid; justify-items: start; gap: 10px; padding-left: clamp(24px, 3vw, 48px); border-left: 1px solid rgba(141, 188, 242, .18); }
.calcul-prix { font-family: var(--titre); font-size: clamp(40px, 4.4vw, 60px); line-height: 1; color: var(--neige); font-variant-numeric: tabular-nums; white-space: nowrap; }
.calcul-detail { margin: 0 0 16px; font-size: 13px; color: #8E9BB8; }
@media (max-width: 900px) { .calcul { grid-template-columns: 1fr; } .calcul-resultat { padding: 28px 0 0; border-left: 0; border-top: 1px solid rgba(141, 188, 242, .18); } }
@media (max-width: 560px) { .calcul-options { grid-template-columns: 1fr; } }

/* ---------- les tableaux : sans grille ni fond, des lignes fines, les nombres alignés ---------- */
.grille-tarifs { padding: clamp(20px, 2.6vw, 36px) clamp(24px, 3vw, 44px); }
.grille-tarifs table, .regie table.grille { width: 100%; border-collapse: collapse; background: none; border: 0; }
.grille-tarifs th, .grille-tarifs td, .regie table.grille th, .regie table.grille td { padding: 16px 12px; border: 0; border-bottom: 1px solid rgba(141, 188, 242, .12); background: none; text-align: right; vertical-align: middle; font-variant-numeric: tabular-nums; }
.grille-tarifs th:first-child, .grille-tarifs td:first-child, .regie table.grille th:first-child, .regie table.grille td:first-child { padding-left: 0; text-align: left; }
.grille-tarifs th:last-child, .grille-tarifs td:last-child, .regie table.grille th:last-child, .regie table.grille td:last-child { padding-right: 0; }
.grille-tarifs thead th, .regie table.grille thead th { padding-top: 0; font-family: var(--titre); font-weight: 400; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--glacier); }
.grille-tarifs tbody th, .regie table.grille tbody th { font-family: var(--texte); font-weight: 400; font-size: 15px; color: var(--neige); }
.grille-tarifs td { font-family: var(--titre); font-size: 17px; color: var(--neige); }
.regie table.grille td { font-size: 15px; color: #C3CDE0; }
.grille-tarifs tbody tr:last-child > *, .regie table.grille tbody tr:last-child > * { border-bottom: 0; }
.grille-tarifs .tarifs-notes { margin: 20px 0 0; font-size: 13px; color: #8E9BB8; }
@media (max-width: 600px) {
  .grille-tarifs thead th, .regie table.grille thead th { font-size: 10px; letter-spacing: .06em; }
  .grille-tarifs th, .grille-tarifs td, .regie table.grille th, .regie table.grille td { padding: 12px 6px; font-size: 14px; }
}

/* (01/12, 5e passe) la fin : le contact n'est plus dans une boîte, le logo du bas brille librement derrière lui, comme celui du haut ;
   il est un peu plus petit pour tenir entier dans la section du contact */
.regie .appel { padding: 0; background: none; border: 0; }
.regie #contact { padding: clamp(96px, 10vw, 160px) 0 clamp(140px, 14vw, 220px); }
.logo-bas { transform: scale(calc(var(--k) * .72)); }
.faisceau, .piste-lecture { bottom: calc(var(--k) * 414px); }
/* la tête de lecture : plus discrète, elle passe derrière le contenu */
.tete-lecture { opacity: .55; box-shadow: 0 0 40px 10px rgba(59, 120, 216, .22); }

/* =====================================================================
   (01/12, 6e passe) Des apparitions variées, toujours par la brume (demande de Rudy)
   Chaque élément sort de son côté : le masque part d'un point d'ancrage (data-brume, posé par pages.js)
   et s'étend jusqu'à l'image entière. Une seule fois, puis plus rien ne bouge.
   centre : s'ouvre depuis le milieu · gauche / droite : se déroule comme une lecture · bas / haut : monte ou descend ·
   ouverture : s'ouvre depuis une ligne, comme un vumètre. --d : décalage dans un groupe.
   ===================================================================== */
.js .brume[data-brume], .regie .boite[data-brume]::before { transition-delay: var(--d, 0s); }
.js .brume[data-brume="centre"], .regie .boite[data-brume="centre"]::before { -webkit-mask-position: center; mask-position: center; transition-duration: 1.6s; transition-timing-function: cubic-bezier(.2, .7, .2, 1); }
.js .brume[data-brume="centre"]:not(.vu), .regie .boite[data-brume="centre"]:not(.vu)::before { -webkit-mask-size: 30% 30%; mask-size: 30% 30%; }
.js .brume[data-brume="gauche"], .regie .boite[data-brume="gauche"]::before { -webkit-mask-position: left center; mask-position: left center; transition-duration: 1.5s; transition-timing-function: cubic-bezier(.25, .8, .25, 1); }
.js .brume[data-brume="gauche"]:not(.vu), .regie .boite[data-brume="gauche"]:not(.vu)::before { -webkit-mask-size: 0% 100%; mask-size: 0% 100%; }
.js .brume[data-brume="droite"], .regie .boite[data-brume="droite"]::before { -webkit-mask-position: right center; mask-position: right center; transition-duration: 1.5s; transition-timing-function: cubic-bezier(.25, .8, .25, 1); }
.js .brume[data-brume="droite"]:not(.vu), .regie .boite[data-brume="droite"]:not(.vu)::before { -webkit-mask-size: 0% 100%; mask-size: 0% 100%; }
.js .brume[data-brume="bas"], .regie .boite[data-brume="bas"]::before { -webkit-mask-position: center bottom; mask-position: center bottom; transition-duration: 1.3s; transition-timing-function: cubic-bezier(.3, .75, .25, 1); }
.js .brume[data-brume="bas"]:not(.vu), .regie .boite[data-brume="bas"]:not(.vu)::before { -webkit-mask-size: 100% 0%; mask-size: 100% 0%; }
.js .brume[data-brume="haut"], .regie .boite[data-brume="haut"]::before { -webkit-mask-position: center top; mask-position: center top; transition-duration: 1.3s; transition-timing-function: cubic-bezier(.3, .75, .25, 1); }
.js .brume[data-brume="haut"]:not(.vu), .regie .boite[data-brume="haut"]:not(.vu)::before { -webkit-mask-size: 100% 0%; mask-size: 100% 0%; }
.js .brume[data-brume="ouverture"], .regie .boite[data-brume="ouverture"]::before { -webkit-mask-position: center; mask-position: center; transition-duration: 1.2s; transition-timing-function: cubic-bezier(.4, .0, .2, 1); }
.js .brume[data-brume="ouverture"]:not(.vu), .regie .boite[data-brume="ouverture"]:not(.vu)::before { -webkit-mask-size: 100% 8%; mask-size: 100% 8%; }
/* le moniteur et les studios : l'image se pose aussi, en se resserrant légèrement */
.js .regie .moniteur-image, .js .regie .studio-carte img.brume { transition-property: -webkit-mask-size, mask-size, scale; transition-duration: 1.6s, 1.6s, 2.4s; }
.js .regie .moniteur-image:not(.vu), .js .regie .studio-carte img.brume:not(.vu) { scale: 1.06; }
@media (prefers-reduced-motion: reduce) { .js .brume[data-brume], .regie .boite[data-brume]::before { transition: none; } .js .regie .moniteur-image, .js .regie .studio-carte img.brume { scale: 1; } }

/* (01/12/2026, Rudy) corps de texte plus grands, dans la suite aussi : 18-21 / 17 / 15, repères 13 */
.regie .chapo, .regie .texte, .regie .texte p, .regie .appel .chapo, .regie .faq summary { font-size: clamp(18px, 1.35vw, 21px); }
.regie .service-piste p, .regie .moniteur-desc, .regie .studio-quoi, .regie .tarif-voix, .regie .avis-petits blockquote, .regie .membre p,
.regie .faq details > div, .regie .faq details > div p, .calcul-option strong { font-size: 17px; }
.regie .avis figcaption, .regie .note-google, .regie .appel-coord, .regie .appel-coord a, .regie .appel-coord span, .regie .membre-contact a,
.regie .moniteur-presta, .regie .lien-sobre, .regie .tarifs-notes p, .grille-tarifs .tarifs-notes, .calcul-option small, .calcul-detail { font-size: 15px; }
.grille-tarifs tbody th, .regie table.grille tbody th, .regie table.grille td { font-size: 17px !important; }
.grille-tarifs td { font-size: 19px; }
.grille-tarifs thead th, .regie table.grille thead th { font-size: 13px !important; }
.regie .membre-role, .regie .moniteur-type, .calcul-label, .calcul-graduations, .regie .session-nom, .regie .univers-nav .filtres button { font-size: 13px; }
.regie .bouton { font-size: 15px; }
.service-piste { grid-template-columns: 200px minmax(0, 220px) minmax(0, 1fr) minmax(0, 340px); }
@media (max-width: 1100px) { .service-piste { grid-template-columns: 180px minmax(0, 1fr); } }
@media (max-width: 560px) { .service-piste { grid-template-columns: 1fr; } }

/* =====================================================================
   (01/12, 7e passe) Les comédiens voix-off, les avis qui défilent, les musiques de films
   ===================================================================== */

/* ---------- les comédiens : une piste chacun (photo, nom, profil, forme d'onde, lecture) ---------- */
.regie .filtres-voix { display: inline-flex; flex-wrap: wrap; gap: 0; margin: 0 0 36px; border: 1px solid rgba(141, 188, 242, .2); background: rgba(7, 13, 30, .7); }
.regie .filtres-voix button { padding: 12px 20px; border: 0; border-right: 1px solid rgba(141, 188, 242, .2); border-radius: 0; background: none; font-family: var(--titre); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #C3CDE0; cursor: pointer; }
.regie .filtres-voix button:last-child { border-right: 0; }
.regie .filtres-voix button:hover { color: var(--neige); background: rgba(24, 58, 140, .35); }
.regie .filtres-voix button[aria-pressed="true"] { color: var(--neige); background: var(--belledonne); }
.regie .voix-regie { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 4vw, 64px); margin: 0; padding: clamp(12px, 2vw, 24px) clamp(18px, 2.6vw, 36px); list-style: none; }
.regie .voix-regie li { border-bottom: 1px solid rgba(141, 188, 242, .12); }
.regie .voix-regie li[hidden] { display: none; }
.regie .voix-regie .voix-carte { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 120px) 44px; align-items: center; gap: 18px; padding: 18px 0; border: 0; border-radius: 0; background: none; }
.regie .voix-photo { display: block; width: 64px; height: 64px; border-radius: 0; object-fit: cover; filter: saturate(.9); }
.regie .voix-infos { display: grid; gap: 4px; min-width: 0; }
.regie .voix-regie .voix-nom { font-family: var(--titre); font-size: 20px; line-height: 1.2; color: var(--neige); }
.regie .voix-regie .voix-profil { font-size: 15px; line-height: 1.45; color: #C3CDE0; }
.regie .voix-onde { position: relative; height: 40px; }
.regie .voix-onde .onde { height: 40px; opacity: .35; transition: opacity .3s; }
.regie .voix-regie .voix-progres { position: absolute; top: 0; bottom: 0; left: 0; width: 0; height: auto; border-right: 2px solid transparent; background: rgba(141, 188, 242, .18); pointer-events: none; transition: width .25s linear; }
.regie .voix-regie .voix-carte.joue .voix-progres { border-right-color: var(--neige); }
.regie .voix-regie .voix-carte.joue .onde, .regie .voix-regie .voix-carte:hover .onde { opacity: .9; }
.regie .voix-regie .voix-lire { position: relative; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(141, 188, 242, .45); border-radius: 0; background: none; cursor: pointer; transition: background .3s, border-color .3s; }
.regie .voix-regie .voix-lire::after, .regie .voix-regie .voix-lire span { display: none; }
.regie .voix-regie .voix-lire::before { content: ''; position: absolute; left: 50%; top: 50%; width: 0; height: 0; margin: -7px 0 0 -4px; border-left: 12px solid var(--neige); border-top: 7px solid transparent; border-bottom: 7px solid transparent; background: none; }
.regie .voix-regie .voix-carte.joue .voix-lire::before { width: 12px; height: 14px; margin: -7px 0 0 -6px; box-sizing: border-box; border: 0; border-left: 4px solid var(--neige); border-right: 4px solid var(--neige); }
.regie .voix-regie .voix-lire:hover, .regie .voix-regie .voix-carte.joue .voix-lire { border-color: var(--glacier); background: var(--belledonne); }
.regie .voix-regie .voix-lire:focus-visible { outline: 2px solid var(--glacier); outline-offset: 2px; }
@media (max-width: 900px) { .regie .voix-regie { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .regie .voix-regie .voix-carte { grid-template-columns: 56px minmax(0, 1fr) 44px; gap: 10px 14px; }
  .regie .voix-photo { width: 56px; height: 56px; }
  .regie .voix-onde { grid-column: 1 / -1; height: 28px; }
  .regie .voix-onde .onde { height: 28px; }
}

/* ---------- les avis : tous, qui défilent ---------- */
.regie .avis-tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 24px; max-width: none; }
.avis-defile { position: relative; }
.avis-piste { display: flex; gap: 104px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 56px; scrollbar-width: none; margin: -56px -56px 0; padding: 56px; }
.avis-piste::-webkit-scrollbar { display: none; }
.avis-piste:focus-visible { outline: 2px solid var(--glacier); outline-offset: -8px; }
.regie .avis-carte { flex: 0 0 min(520px, 80vw); display: grid; align-content: space-between; gap: 22px; margin: 0; padding: clamp(24px, 3vw, 40px); scroll-snap-align: start; }
.regie .avis-carte blockquote { margin: 0; font-size: 17px; line-height: 1.65; color: var(--neige); }
.regie .avis-carte figcaption { font-size: 15px; color: #8E9BB8; }
.avis-nav { display: inline-flex; margin-top: 4px; border: 1px solid rgba(141, 188, 242, .3); }
.avis-nav button { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; background: none; cursor: pointer; transition: background .3s; }
.avis-nav button + button { border-left: 1px solid rgba(141, 188, 242, .3); }
.avis-nav button:hover { background: rgba(24, 58, 140, .45); }
.avis-nav svg { width: 14px; height: 14px; fill: none; stroke: var(--neige); stroke-width: 1.5; }
@media (max-width: 760px) { .avis-piste { gap: 44px; margin: -28px -24px 0; padding: 28px 24px; scroll-padding-left: 24px; } }

/* ---------- les musiques de films ---------- */
.regie .pistes.panneau-regie { padding: clamp(12px, 2vw, 24px) clamp(18px, 2.6vw, 36px); }
@media (max-width: 560px) { .regie .voix-regie .voix-onde { order: 1; } }
/* la piste des avis ne déborde jamais de l'écran : elle s'étend au plus jusqu'aux marges de la page */
.avis-piste { margin-inline: calc(-1 * min(56px, var(--marge, 24px))); padding-inline: min(56px, var(--marge, 24px)); scroll-padding-left: min(56px, var(--marge, 24px)); }

/* =====================================================================
   (02/12, Rudy) Le lecteur comme un logiciel de montage : le moniteur en haut, la timeline juste dessous,
   le tout tient dans un écran pour naviguer dans les projets en gardant la vidéo sous les yeux.
   ===================================================================== */
.lecteur .moniteur { grid-template-columns: min(64%, calc((100svh - 430px) * 16 / 9)) minmax(0, 1fr); margin: 0 0 14px; }
.lecteur .moniteur-cartel { padding: clamp(20px, 2.4vw, 30px); }
.lecteur .moniteur-nom { margin: 10px 0 10px; font-size: clamp(26px, 2.6vw, 38px); }
/* la timeline, plus basse */
.lecteur .regle-temps div { padding: 8px 16px; }
.lecteur .session-clips { height: 84px; gap: 8px; padding: 8px 8px 8px calc(8px + var(--dec, 0%)); }
.lecteur .clip-nom { height: 22px; line-height: 22px; }
.lecteur .clip img { top: 22px; height: calc(100% - 22px); }
/* un clip seul sur sa piste n'occupe plus toute la largeur : chaque clip a sa durée */
.lecteur .clip { max-width: calc(var(--poids, 1) * 22%); }
@media (max-width: 900px) { .lecteur .moniteur { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .lecteur .session-clips { height: 104px; padding: 8px 14px 12px; }
  .lecteur .clip { flex: 0 0 170px; max-width: none; }
}
/* (02/12, Rudy : « un truc qui gêne dans la compo avec les boîtes ») le lecteur est UNE seule boîte :
   la vidéo, le projet et la timeline sont posés dedans, séparés par un filet, sans boîtes empilées */
.regie .lecteur { padding: clamp(14px, 1.8vw, 26px); }
.regie .lecteur .panneau-regie { background: none; border: 0; }
.regie .lecteur .moniteur-cartel { padding: clamp(8px, 1.4vw, 20px) clamp(4px, 1vw, 12px) clamp(8px, 1.4vw, 20px) 0; }
.regie .lecteur .moniteur-image { padding: 0; }
.regie .lecteur .moniteur-image video { top: 0; left: 0; width: 100%; height: 100%; }
.regie .lecteur .moniteur-tc { right: 12px; bottom: 12px; }
.regie .lecteur .session { border-top: 1px solid rgba(141, 188, 242, .16); }
.regie .lecteur .moniteur { margin-bottom: 0; padding-bottom: clamp(14px, 1.8vw, 22px); }
.lecteur:not(.boite) { background: rgba(7, 13, 30, .84); border: 1px solid rgba(141, 188, 242, .18); }   /* sans JavaScript */
