/* =====================================================================
   MonteMix Studio : version épurée (2 décembre 2026)
   Rudy : « moins chargé, plus minimaliste… beau, mais pas fluide à la lecture ».

   Les règles de la composition :
   - un seul bord gauche (celui du conteneur) pour tous les titres, textes, tableaux et listes ;
   - une seule échelle d'espaces (variables --ep-*, plus bas) : rien n'est réglé « à l'œil » ailleurs ;
   - chaque section commence par un repère de timeline : le titre en petites capitales (comme le logo),
     un trait qui se tire jusqu'au bord, et le timecode du repère ;
   - une seule « boîte » de brume par page : le lecteur (et le calculateur dans Publicité) ; le reste est posé à plat ;
   - une seule façon d'apparaître (pages.js) : à l'entrée à l'écran, et rejouée à chaque retour ;
   - les photos à côté d'un texte descendent avec le défilement jusqu'au bas du texte (pages.js, data-descend).
   Chargée après regie.css, seulement quand le générateur est en version épurée (EPURE = True).
   ===================================================================== */

.epure {
  --ep-section: clamp(96px, 10vw, 152px);   /* entre deux sections */
  --ep-tete: clamp(36px, 3.6vw, 52px);      /* sous un repère de section */
  --ep-bloc: clamp(48px, 6vw, 88px);        /* entre deux blocs d'une même section */
  --ep-gout: clamp(24px, 3vw, 48px);        /* entre deux colonnes */
  --ep-texte: 24px;                         /* entre un titre et sa phrase */
  --ep-bouton: 36px;                        /* avant les boutons */
  --ep-filet: rgba(141, 188, 242, .14);
  --ep-doux: cubic-bezier(.22, .7, .2, 1);
  counter-reset: repere;
}
.epure .univers { counter-reset: repere; }

/* ---------- le fond : plus calme ---------- */
.epure .faisceau { opacity: .55; }
.epure .graduation { display: none; }

/* ---------- le rythme ---------- */
.epure .section { padding: var(--ep-section) 0 0; border: 0; }
.epure #contact { padding-bottom: var(--ep-section); }
.epure .univers-nav + .univers > .section:first-child { padding-top: var(--ep-bloc); }
.epure .ep-page-tete { padding-top: clamp(128px, 14vw, 196px); }

/* ---------- les repères de section : titre, trait, timecode ---------- */
.epure .ep-tete-section { display: flex; align-items: center; gap: 18px; margin: 0 0 var(--ep-tete); counter-increment: repere; }
.epure .ep-tete-section .h2 { flex: none; display: flex; align-items: center; gap: 14px; margin: 0; font-family: var(--titre); font-size: 15px; font-weight: 400; line-height: 1; letter-spacing: .3em; text-transform: uppercase; color: var(--neige); }
.epure .ep-tete-section .h2::before { content: ''; flex: none; width: 7px; height: 7px; background: var(--glacier); box-shadow: 0 0 12px rgba(141, 188, 242, .6); }
.ep-trait { flex: 1 1 auto; height: 1px; min-width: 24px; background: linear-gradient(90deg, rgba(141, 188, 242, .45), var(--ep-filet) 40%); transform-origin: left center; }
.ep-tc { flex: none; font-family: var(--titre); font-size: 11px; letter-spacing: .14em; color: #6F7FA3; font-variant-numeric: tabular-nums; }
.ep-tc::before { content: '00:0' counter(repere) ':00:00'; }
.epure .ep-tete-section .ep-note { flex: none; margin: 0; font-size: 14px; color: #8E9BB8; }

/* les grands titres (intro, contact) : la police du logo, à sa taille */
.epure .h2.grand { margin: 0; font-size: clamp(38px, 4.4vw, 64px); line-height: 1.05; letter-spacing: -.005em; }
.epure .ep-lead { margin: var(--ep-texte) 0 0; max-width: 34em; font-size: clamp(18px, 1.35vw, 20px); line-height: 1.6; color: #C3CDE0; }
.epure .appel-liens { margin-top: var(--ep-bouton); }
.epure .fil { margin: 0 0 var(--ep-texte); }
.epure .ep-plus { margin: var(--ep-texte) 0 0; }
.epure .ep-note { margin: 0; font-size: 14px; line-height: 1.6; color: #8E9BB8; }
.epure .ep-table + .ep-note { margin-top: 16px; max-width: 60ch; }

/* ---------- une seule façon d'apparaître (rejouée à chaque retour) ---------- */
.js .ep-anim { opacity: 0; transform: translate3d(0, 22px, 0); filter: blur(6px); transition: opacity .9s var(--ep-doux) var(--d, 0ms), transform 1.1s var(--ep-doux) var(--d, 0ms), filter .9s var(--ep-doux) var(--d, 0ms); }
.js .ep-anim.vu { opacity: 1; transform: none; filter: none; }
.js .ep-tete-section.ep-anim { transform: none; filter: none; }
.js .ep-tete-section.ep-anim .ep-trait { transform: scaleX(0); transition: transform 1.4s var(--ep-doux) .15s; }
.js .ep-tete-section.ep-anim.vu .ep-trait { transform: none; }
.js .ep-tete-section.ep-anim .h2 { opacity: 0; transform: translate3d(-10px, 0, 0); transition: opacity .8s var(--ep-doux), transform 1s var(--ep-doux); }
.js .ep-tete-section.ep-anim.vu .h2 { opacity: 1; transform: none; }
.js .ep-tete-section.ep-anim .ep-tc, .js .ep-tete-section.ep-anim .ep-note { opacity: 0; transition: opacity .8s var(--ep-doux) .9s; }
.js .ep-tete-section.ep-anim.vu .ep-tc, .js .ep-tete-section.ep-anim.vu .ep-note { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .js .ep-anim, .js .ep-anim * { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
}

/* ---------- texte + photo ---------- */
.ep-duo { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--ep-gout) calc(var(--ep-gout) * 1.6); align-items: start; }
.ep-photo { margin: 0; will-change: transform; }
.ep-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.ep-texte { min-width: 0; }
.ep-fiche { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.ep-fiche + .ep-fiche { margin-top: var(--ep-bloc); }
.ep-fiche .h2 { margin: 0; font-size: clamp(26px, 2.4vw, 34px); }
.ep-fiche .ep-lead { margin-top: 14px; }
.ep-specs { margin: var(--ep-texte) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ep-filet); }
.ep-specs li { padding: 12px 0; border-bottom: 1px solid var(--ep-filet); font-size: 16px; color: #C3CDE0; }
.ep-prix { margin: var(--ep-texte) 0 0; font-family: var(--titre); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--glacier); }
@media (max-width: 900px) {
  .ep-duo, .ep-fiche { grid-template-columns: 1fr; }
  .ep-fiche .ep-photo { order: -1; }
  .ep-photo { will-change: auto; }
}

/* ---------- l'intro : les logos en une ligne calme ---------- */
.epure .clients-bloc { margin-top: var(--ep-bloc); padding-top: 32px; border-top: 1px solid var(--ep-filet); }
.epure .clients { justify-content: space-between; gap: 24px 40px; }
.epure .clients img { opacity: .42; }

/* ---------- le lecteur : épuré (type, nom, prestations, Voir le film) ---------- */
.epure .moniteur-desc, .epure .moniteur-suivant { display: none; }
.epure .moniteur-presta { margin-top: 12px; }
.epure .moniteur-liens { padding-top: var(--ep-texte); }

/* ---------- Ce que nous faisons : une ligne par métier, l'image apparaît au survol ---------- */
.epure .section:has(.ep-metiers) .conteneur { position: relative; }
.ep-metiers { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ep-filet); }
.ep-metier { display: grid; grid-template-columns: 56px minmax(0, 5fr) minmax(0, 5fr) 24px; gap: var(--ep-gout); align-items: center; padding: clamp(22px, 2.6vw, 34px) 0; border-bottom: 1px solid var(--ep-filet); color: inherit; text-decoration: none; position: relative; }
.ep-metier::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--glacier); transform: scaleX(0); transform-origin: left center; transition: transform .8s var(--ep-doux); }
.ep-metier-num { font-family: var(--titre); font-size: 12px; letter-spacing: .14em; color: #6F7FA3; font-variant-numeric: tabular-nums; }
.ep-metier-nom { margin: 0; font-family: var(--titre); font-weight: 400; font-size: clamp(26px, 3vw, 44px); line-height: 1.1; color: var(--neige); transition: transform .6s var(--ep-doux), color .4s; }
.ep-metier-txt { margin: 0; font-size: 16px; line-height: 1.6; color: #8E9BB8; transition: color .4s; }
.ep-metier-fleche svg { width: 18px; height: 18px; fill: none; stroke: var(--neige); stroke-width: 1.3; opacity: 0; transform: translateX(-8px); transition: opacity .4s, transform .6s var(--ep-doux); }
.ep-metiers.survol .ep-metier-nom { color: #7181A5; }
.ep-metiers .ep-metier:hover .ep-metier-nom, .ep-metier:focus-visible .ep-metier-nom { color: var(--neige); transform: translateX(14px); }
.ep-metier:hover .ep-metier-txt, .ep-metier:focus-visible .ep-metier-txt { color: #C3CDE0; }
.ep-metier:hover::after, .ep-metier:focus-visible::after { transform: none; }
.ep-metier:hover .ep-metier-fleche svg, .ep-metier:focus-visible .ep-metier-fleche svg { opacity: 1; transform: none; }
.ep-metier:focus-visible { outline: 2px solid var(--glacier); outline-offset: 4px; }
/* l'image qui suit le curseur */
.ep-apercu { position: absolute; left: 0; top: 0; z-index: 3; width: clamp(220px, 22vw, 320px); pointer-events: none; }
.ep-apercu img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  -webkit-mask: url('../decor/masque-brume.webp') center / 300% 300% no-repeat; mask: url('../decor/masque-brume.webp') center / 300% 300% no-repeat;
  opacity: 0; transition: opacity .35s, -webkit-mask-size .9s var(--ep-doux), mask-size .9s var(--ep-doux); }
.ep-apercu:not(.vu) img { -webkit-mask-size: 30% 30%; mask-size: 30% 30%; }
.ep-apercu.vu img { opacity: 1; -webkit-mask-size: 150% 150%; mask-size: 150% 150%; }
@media (hover: none), (max-width: 760px) { .ep-apercu { display: none; } }
@media (max-width: 760px) {
  .ep-metier { grid-template-columns: 36px minmax(0, 1fr); row-gap: 8px; }
  .ep-metier-txt { grid-column: 2; }
  .ep-metier-fleche { display: none; }
}

/* ---------- les deux studios ---------- */
.ep-studios { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ep-gout); }
.ep-studio { display: grid; color: var(--neige); text-decoration: none; }
.ep-studio img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.ep-studio-ville { margin-top: 18px; font-family: var(--titre); font-size: clamp(22px, 2vw, 28px); transition: color .3s; }
.ep-studio-quoi { margin-top: 4px; font-size: 16px; color: #C3CDE0; }
.ep-studio:hover .ep-studio-ville { color: var(--glacier); }
@media (max-width: 760px) { .ep-studios { grid-template-columns: 1fr; } }

/* ---------- les avis : un seul à la fois, en grand ---------- */
.epure .avis-piste { gap: 64px; margin: 0; padding: 0; scroll-padding-left: 0; }
.epure .avis-carte { flex: 0 0 100%; padding: 0; background: none; border: 0; }
.epure .avis-carte blockquote { max-width: 30em; font-family: var(--titre); font-size: clamp(21px, 2vw, 28px); line-height: 1.45; color: var(--neige); }
.epure .avis-carte figcaption { font-size: 15px; color: #8E9BB8; }
.epure .avis-nav { margin-top: var(--ep-bouton); }

/* ---------- l'équipe : deux portraits, deux noms ---------- */
.ep-equipe { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ep-gout); margin: 0; padding: 0; list-style: none; }
.ep-membre { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; align-items: center; }
.ep-membre img { display: block; width: 120px; height: 120px; object-fit: cover; object-position: 50% 25%; }
.ep-membre .h3 { margin: 0; font-size: clamp(20px, 1.7vw, 24px); }
.ep-role { margin: 8px 0 0; font-family: var(--titre); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--glacier); }
.ep-coord { margin: 10px 0 0; font-size: 15px; color: #8E9BB8; }
.ep-coord a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(141, 188, 242, .25); }
.ep-coord a:hover { color: var(--neige); }
@media (max-width: 760px) { .ep-equipe { grid-template-columns: 1fr; } .ep-membre { grid-template-columns: 88px minmax(0, 1fr); } .ep-membre img { width: 88px; height: 88px; } }

/* ---------- le contact ---------- */
.ep-contact .ep-coord { margin-top: var(--ep-texte); }

/* ---------- les tableaux : sobres ---------- */
.ep-table { width: 100%; border-collapse: collapse; }
.ep-table th, .ep-table td { padding: 16px 16px 16px 0; text-align: left; vertical-align: baseline; border-bottom: 1px solid var(--ep-filet); font-size: 17px; font-weight: 400; color: #C3CDE0; }
.ep-table thead th { padding-top: 0; font-family: var(--titre); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #8E9BB8; }
.ep-table tbody th { font-family: var(--titre); color: var(--neige); }
.ep-table td:last-child, .ep-table th:last-child { padding-right: 0; text-align: right; }
@media (max-width: 560px) { .ep-table th, .ep-table td { font-size: 15px; padding-right: 10px; } }
/* le calculateur garde sa boîte ; sa grille de tarifs passe à plat */
.epure .grille-tarifs { margin-top: var(--ep-bloc); padding: 0; background: none; border: 0; }

/* ---------- musiques de films et questions : des listes à plat ---------- */
.epure .pistes, .epure .faq { background: none !important; border: 0 !important; padding: 0 !important; }
.ep-pistes { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ep-filet); }
.ep-pistes li { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--ep-filet); }
.ep-pistes img { width: 56px; height: 56px; object-fit: cover; }
.ep-piste-nom { font-family: var(--titre); font-size: 18px; color: var(--neige); }
.ep-piste-info { font-size: 15px; color: #8E9BB8; }
.ep-pistes button, .ep-pistes a { justify-self: end; padding: 8px 0; border: 0; border-bottom: 1px solid rgba(141, 188, 242, .35); background: none; font-family: var(--titre); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--neige); text-decoration: none; cursor: pointer; }
@media (max-width: 640px) { .ep-pistes li { grid-template-columns: 48px minmax(0, 1fr) auto; } .ep-piste-info { display: none; } .ep-pistes img { width: 48px; height: 48px; } }
.epure .faq { border-top: 1px solid var(--ep-filet) !important; }
.epure .faq details { border-bottom: 1px solid var(--ep-filet); }
.epure .faq summary { padding: 20px 0; font-size: 17px; }
.epure .faq details > div p { max-width: 62ch; }

/* ---------- les voix : le moniteur à gauche, la liste à droite ---------- */
.voix-studio { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.vs-moniteur { will-change: transform; }
.vs-photo { margin: 0; }
.vs-photo img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 20%; }
.vs-infos { margin-top: var(--ep-texte); transition: opacity .2s; }
.voix-studio.change .vs-infos { opacity: 0; }
.vs-index { font-family: var(--titre); font-size: 12px; letter-spacing: .16em; color: #6F7FA3; font-variant-numeric: tabular-nums; }
.vs-nom { margin: 10px 0 0; font-family: var(--titre); font-weight: 400; font-size: clamp(32px, 3.2vw, 48px); line-height: 1.05; color: var(--neige); }
.vs-profil { margin: 12px 0 0; font-size: 16px; line-height: 1.6; color: #C3CDE0; }
.vs-lecture { display: grid; grid-template-columns: 52px minmax(0, 1fr) 40px 40px; gap: 14px; align-items: center; margin-top: var(--ep-texte); }
.vs-lire { position: relative; width: 52px; height: 52px; padding: 0; border: 1px solid rgba(141, 188, 242, .5); border-radius: 0; background: none; cursor: pointer; transition: background .3s, border-color .3s; }
.vs-lire::before { content: ''; position: absolute; left: 50%; top: 50%; margin: -8px 0 0 -5px; border-left: 14px solid var(--neige); border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.voix-studio.joue .vs-lire::before { width: 13px; height: 16px; margin: -8px 0 0 -6.5px; box-sizing: border-box; border: 0; border-left: 4px solid var(--neige); border-right: 4px solid var(--neige); }
.vs-lire:hover, .voix-studio.joue .vs-lire { background: var(--belledonne); border-color: var(--glacier); }
.vs-onde { position: relative; height: 44px; }
.vs-onde .onde { display: block; width: 100%; height: 44px; fill: #8DBCF2; opacity: .3; }
.vs-progres { position: absolute; top: 0; bottom: 0; left: 0; width: 0; background: rgba(141, 188, 242, .2); border-right: 2px solid transparent; transition: width .25s linear; pointer-events: none; }
.voix-studio.joue .vs-progres { border-right-color: var(--neige); }
.voix-studio.joue .vs-onde .onde { opacity: .85; }
.vs-prec, .vs-suiv { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid rgba(141, 188, 242, .3); border-radius: 0; background: none; cursor: pointer; transition: background .3s; }
.vs-prec:hover, .vs-suiv:hover { background: rgba(24, 58, 140, .45); }
.vs-prec svg, .vs-suiv svg { width: 14px; height: 14px; fill: none; stroke: var(--neige); stroke-width: 1.5; }
.vs-liste .filtres-voix { margin: 0 0 var(--ep-texte); }
.vs-voix { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ep-filet); }
.vs-voix li[hidden] { display: none; }
.vs-choix { display: grid; grid-template-columns: 40px minmax(0, 4fr) minmax(0, 5fr) 20px; gap: 18px; align-items: center; width: 100%; padding: 16px 0; border: 0; border-bottom: 1px solid var(--ep-filet); border-radius: 0; background: none; text-align: left; color: inherit; font: inherit; cursor: pointer; position: relative; }
.vs-choix::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--glacier); transform: scaleX(0); transform-origin: left center; transition: transform .7s var(--ep-doux); }
.vs-num { font-family: var(--titre); font-size: 12px; letter-spacing: .14em; color: #6F7FA3; font-variant-numeric: tabular-nums; }
.vs-nom-liste { font-family: var(--titre); font-size: clamp(19px, 1.6vw, 23px); color: #A9B6D2; transition: color .3s, transform .5s var(--ep-doux); }
.vs-profil-liste { font-size: 15px; color: #8E9BB8; }
.vs-icone { width: 0; height: 0; border-left: 9px solid #6F7FA3; border-top: 5px solid transparent; border-bottom: 5px solid transparent; justify-self: end; transition: border-color .3s; }
.vs-choix:hover .vs-nom-liste, .vs-choix[aria-pressed="true"] .vs-nom-liste { color: var(--neige); transform: translateX(8px); }
.vs-choix[aria-pressed="true"]::after, .vs-choix:hover::after { transform: none; }
.vs-choix[aria-pressed="true"] .vs-num, .vs-choix[aria-pressed="true"] .vs-icone { color: var(--glacier); border-left-color: var(--glacier); }
.vs-choix.joue .vs-icone { width: 9px; height: 10px; border: 0; border-left: 3px solid var(--glacier); border-right: 3px solid var(--glacier); box-sizing: border-box; }
.vs-choix:focus-visible { outline: 2px solid var(--glacier); outline-offset: 2px; }
@media (max-width: 900px) {
  .voix-studio { grid-template-columns: 1fr; }
  .vs-moniteur { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 8px 20px; align-items: center; position: sticky; top: 64px; z-index: 2; padding: 12px 0; background: rgba(7, 13, 30, .94); }
  .vs-photo img { width: 120px; }
  .vs-infos { margin: 0; }
  .vs-nom { font-size: 26px; margin-top: 4px; }
  .vs-profil { font-size: 14px; margin-top: 4px; }
  .vs-lecture { grid-column: 1 / -1; margin-top: 4px; }
}
@media (max-width: 560px) { .vs-choix { grid-template-columns: 32px minmax(0, 1fr) 16px; } .vs-profil-liste { display: none; } }

/* ---------- pages d'article (Nos expertises, CGV) : une colonne de lecture sur le même bord gauche ---------- */
.epure .etroit { width: min(1240px, 100% - 2 * var(--marge)); max-width: none; margin: 0 auto; }
.epure .etroit.article > * { max-width: 68ch; }
.epure .article h2 { margin: 2.2em 0 .6em; font-size: clamp(24px, 2.2vw, 30px); }

/* les repères de section sur petit écran : le titre passe à la ligne, le timecode s'efface */
.epure .ep-tete-section .h2 { flex: 0 1 auto; min-width: 0; line-height: 1.45; }
@media (max-width: 760px) {
  .epure .ep-tete-section { gap: 14px; }
  .epure .ep-tete-section .h2 { font-size: 13px; letter-spacing: .22em; }
  .ep-tc { display: none; }
}
.vs-photo img { height: auto; }

/* =====================================================================
   (02/12, 3e passe) titre de l'intro, photos, visite des studios, ouverture des films
   ===================================================================== */

/* ---------- les grands titres : « post-production » ne se coupe plus, les lignes s'équilibrent ---------- */
.insecable { white-space: nowrap; }
.epure .h2.grand { font-size: clamp(34px, 3.8vw, 56px); text-wrap: balance; }
.epure .ep-intro { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }

/* ---------- les photos : la brume d'origine (Rudy, 02/12 : « reviens au style nuageux qu'on avait »), la photo de l'intro reste plus grande ---------- */

/* ---------- « Visiter le studio » sur les photos des studios ---------- */
.a-visiter { position: relative; }
.ep-studio.a-visiter { display: grid; }
.visiter { position: absolute; left: 7%; bottom: 14%; z-index: 2; display: inline-flex; align-items: center; gap: 12px; padding: 11px 16px; border: 1px solid rgba(141, 188, 242, .45); background: rgba(7, 13, 30, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--neige); font-family: var(--titre); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ep-doux), transform .6s var(--ep-doux), background .3s, border-color .3s; }
.visiter i { width: 8px; height: 8px; background: var(--glacier); box-shadow: 0 0 10px rgba(141, 188, 242, .8); }
.a-visiter:hover .visiter, .a-visiter:focus-within .visiter, .visiter:focus-visible { opacity: 1; transform: none; }
.visiter:hover { background: var(--belledonne); border-color: var(--glacier); }
.ep-studio .visiter { bottom: auto; top: calc(var(--h, 0px) + 12px); }
.ep-studio.a-visiter .visiter { top: auto; bottom: 30%; }
@media (hover: none) { .visiter { opacity: 1; transform: none; } }

/* ---------- les films : la vidéo s'ouvre en grand depuis le moniteur, au même format (16/9) ---------- */
.panneau-scene { display: contents; }
.panneau-ep .panneau-fond { background: rgba(5, 10, 24, .94); }
.panneau-ep .panneau-cadre { clip-path: none !important; background: transparent; padding: clamp(64px, 8vh, 88px) var(--marge) clamp(72px, 10vh, 110px); }
.panneau-ep .panneau-scene { display: block; width: min(100%, max(min(100%, 640px), calc((100vh - 300px) * 16 / 9))); margin: 0 auto; }
.panneau-ep .panneau-image { aspect-ratio: 16 / 9; max-height: none; width: 100%; background: #050a18; overflow: hidden; transform-origin: 0 0;
  transition: transform .8s cubic-bezier(.22, .7, .2, 1), -webkit-mask-size .9s cubic-bezier(.22, .7, .2, 1), mask-size .9s cubic-bezier(.22, .7, .2, 1);
  -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; }
.panneau-ep.visible .panneau-image { -webkit-mask-size: 400% 400%; mask-size: 400% 400%; }
.panneau-ep .panneau-image::after { display: none; }
.panneau-ep .panneau-image img { filter: none; transform: none; transition: opacity .3s; }
.panneau-ep .panneau-corps { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--ep-gout, 40px); max-width: none; margin: 0; padding: clamp(24px, 3vw, 36px) 0 0; border-top: 0; opacity: 0; transform: translateY(14px); transition: opacity .7s cubic-bezier(.22, .7, .2, 1) .35s, transform .8s cubic-bezier(.22, .7, .2, 1) .35s; }
.panneau-ep.visible .panneau-corps { opacity: 1; transform: none; }
.panneau-ep .label { font-family: var(--titre); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--glacier); }
.panneau-ep .panneau-titre { margin: 12px 0 14px; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.08; }
.panneau-ep .panneau-desc { font-size: 17px; line-height: 1.7; color: #C3CDE0; max-width: 40em; }
.panneau-ep .fiche { margin: 0; border-top: 1px solid rgba(141, 188, 242, .14); }
.panneau-ep .fiche > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(141, 188, 242, .14); }
.panneau-ep .fiche dt { font-family: var(--titre); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #8E9BB8; }
.panneau-ep .fiche dd { margin: 0; font-size: 15px; color: var(--neige); }
.panneau-ep .panneau-jouer { border-radius: 0; background: rgba(7, 13, 30, .7); border: 1px solid rgba(141, 188, 242, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.panneau-ep .panneau-fermer, .panneau-ep .panneau-nav button { border-radius: 0; background: rgba(7, 13, 30, .7); }
@media (max-width: 760px) {
  .panneau-ep .panneau-cadre { padding: 72px 0 96px; }
  .panneau-ep .panneau-scene { width: 100%; }
  .panneau-ep .panneau-corps { grid-template-columns: 1fr; padding: 22px var(--marge) 0; }
}

/* ---------- la visite des studios, en grand ---------- */
.visite { position: fixed; inset: 0; z-index: 85; display: none; }
.visite.ouvert { display: block; }
.visite-fond { position: absolute; inset: 0; background: rgba(5, 10, 24, .95); opacity: 0; transition: opacity .6s cubic-bezier(.22, .7, .2, 1); }
.visite.visible .visite-fond { opacity: 1; }
.visite-cadre { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; display: grid; justify-items: center; align-content: start; gap: 18px; padding: clamp(60px, 8vh, 84px) var(--marge) 64px; }
.visite-tete { width: min(100%, 1100px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; opacity: 0; transition: opacity .6s .3s; }
.visite.visible .visite-tete, .visite.visible .visite-pied { opacity: 1; }
.visite-titre { display: flex; align-items: center; gap: 14px; font-family: var(--titre); font-size: 15px; letter-spacing: .3em; text-transform: uppercase; color: var(--neige); }
.visite-titre::before { content: ''; width: 7px; height: 7px; background: var(--glacier); box-shadow: 0 0 12px rgba(141, 188, 242, .6); }
.visite-vues { display: inline-flex; border: 1px solid rgba(141, 188, 242, .25); }
.visite-vues:empty { display: none; }
.visite-vues button { padding: 10px 16px; border: 0; border-right: 1px solid rgba(141, 188, 242, .25); background: none; font-family: var(--titre); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #A9B6D2; cursor: pointer; }
.visite-vues button:last-child { border-right: 0; }
.visite-vues button[aria-pressed="true"] { background: var(--belledonne); color: var(--neige); }
.visite-scene { position: relative; width: auto; height: min(68vh, calc((100vw - 2 * var(--marge)) / (var(--ratio, 1.5)))); max-width: 100%; aspect-ratio: 1600 / 1067; overflow: hidden; background: #050a18; transform-origin: 0 0; transition: transform .75s cubic-bezier(.22, .7, .2, 1), aspect-ratio .5s; }
.visite-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: filter .6s, transform .6s; }
.visite.focus .visite-photo { filter: blur(8px) brightness(.45); transform: scale(1.05); }
.visite-points { position: absolute; inset: 0; transition: opacity .4s; }
.visite.focus .visite-points { opacity: 0; pointer-events: none; }
.visite-point { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 10px; padding: 6px; border: 0; background: none; cursor: pointer; opacity: 0; animation: visite-point .6s var(--d, 0ms) both; }
.visite-point i { position: relative; width: 12px; height: 12px; background: var(--glacier); box-shadow: 0 0 0 4px rgba(141, 188, 242, .18), 0 0 16px rgba(141, 188, 242, .7); }
.visite-point i::after { content: ''; position: absolute; inset: -1px; border: 1px solid var(--glacier); animation: visite-pouls 2.4s ease-out infinite; }
.visite-point span { white-space: nowrap; padding: 6px 10px; background: rgba(7, 13, 30, .78); border: 1px solid rgba(141, 188, 242, .3); font-family: var(--titre); font-size: 12px; letter-spacing: .08em; color: var(--neige); opacity: .85; transition: opacity .3s, border-color .3s; }
.visite-point.a-gauche { flex-direction: row-reverse; }
.visite-point:hover span, .visite-point:focus-visible span { opacity: 1; border-color: var(--glacier); }
@keyframes visite-point { from { opacity: 0; } to { opacity: 1; } }
@keyframes visite-pouls { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(2.8); opacity: 0; } }
.visite-focus { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .5s; }
.visite.focus .visite-focus { opacity: 1; }
.visite-focus-img { position: absolute; inset: 0; background: center / cover no-repeat; }
.visite.focus .visite-focus-img { animation: visite-ken 9s ease-out forwards; }
@keyframes visite-ken { from { transform: scale(1.02); } to { transform: scale(1.14); } }
.visite-nav { position: absolute; top: 50%; z-index: 3; display: grid; place-items: center; width: 46px; height: 46px; margin-top: -23px; border: 1px solid rgba(141, 188, 242, .4); background: rgba(7, 13, 30, .6); cursor: pointer; transition: background .3s; }
.visite-nav:hover { background: var(--belledonne); }
.visite-nav svg, .visite-fermer svg { width: 14px; height: 14px; fill: none; stroke: var(--neige); stroke-width: 1.5; }
.visite-prec { left: 14px; } .visite-suiv { right: 14px; }
.visite:not(.focus):not(.sans-points) .visite-nav { opacity: 0; pointer-events: none; }
.visite-pied { width: min(100%, 1100px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 32px; align-items: start; opacity: 0; transition: opacity .6s .35s; }
.visite-compte { font-family: var(--titre); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--glacier); }
.visite-nom { margin: 10px 0 0; font-family: var(--titre); font-weight: 400; font-size: clamp(24px, 2.4vw, 34px); color: var(--neige); }
.visite-desc { margin: 10px 0 0; max-width: 44em; font-size: 16px; line-height: 1.65; color: #C3CDE0; }
.visite.texte-in .visite-texte { animation: visite-texte .5s cubic-bezier(.22, .7, .2, 1) both; }
@keyframes visite-texte { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.visite-actions { display: flex; gap: 10px; }
.visite-auto, .visite-retour { display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border: 1px solid rgba(141, 188, 242, .35); background: none; font-family: var(--titre); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--neige); cursor: pointer; transition: background .3s; }
.visite-auto i { width: 0; height: 0; border-left: 8px solid var(--glacier); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.visite-auto[aria-pressed="true"] { background: var(--belledonne); }
.visite-auto[aria-pressed="true"] i { width: 8px; height: 10px; border: 0; border-left: 3px solid var(--neige); border-right: 3px solid var(--neige); box-sizing: border-box; }
.visite-auto:hover, .visite-retour:hover { background: rgba(24, 58, 140, .5); }
.visite:not(.focus) .visite-retour { display: none; }
.visite.sans-points .visite-auto { display: inline-flex; }
.visite-fermer { position: fixed; top: 18px; right: 18px; z-index: 4; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(141, 188, 242, .4); background: rgba(7, 13, 30, .7); cursor: pointer; }
.visite-fermer:hover { background: var(--belledonne); }
@media (max-width: 760px) {
  .visite-cadre { padding: 72px 0 56px; }
  .visite-tete, .visite-pied { padding: 0 var(--marge); }
  .visite-scene { width: 100%; height: auto; }
  .visite-point span { display: none; }
  .visite-pied { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .visite *, .panneau-ep * { animation: none !important; transition: none !important; } }
/* le point lui-même est sur l'équipement ; l'étiquette part à droite (ou à gauche près du bord droit) */
.visite-point { transform: translate(-12px, -50%); }
.visite-point.a-gauche { transform: translate(calc(-100% + 12px), -50%); }

/* ---------- (02/12, Rudy : « pas de photo qui suit la souris ») Ce que nous faisons : l'image se dévoile dans la ligne ----------
   Au survol, l'image du métier apparaît derrière le texte, sur la droite de la ligne, de gauche à droite comme une lecture,
   fondue dans la nuit à gauche ; le texte reste au-dessus, lisible. Rien ne suit la souris. */
.ep-apercu { display: none !important; }
.ep-metier > * { position: relative; z-index: 1; }
.ep-metier::before { content: ''; position: absolute; top: 6px; bottom: 6px; left: 34%; right: 0; z-index: 0; background: var(--img) center / cover no-repeat; opacity: 0;
  -webkit-mask: linear-gradient(90deg, transparent 0%, #000 45%, #000 85%, transparent 100%); mask: linear-gradient(90deg, transparent 0%, #000 45%, #000 85%, transparent 100%);
  clip-path: inset(0 100% 0 0); transition: opacity .7s var(--ep-doux), clip-path 1.1s var(--ep-doux); pointer-events: none; }
.ep-metier:hover::before, .ep-metier:focus-visible::before { opacity: .38; clip-path: inset(0 0 0 0); }
.ep-metier:hover .ep-metier-txt, .ep-metier:focus-visible .ep-metier-txt { color: var(--neige); text-shadow: 0 1px 12px rgba(7, 13, 30, .9); }
.ep-metiers:hover .ep-metier:not(:hover) .ep-metier-nom { color: #7181A5; }
@media (hover: none) { .ep-metier::before { display: none; } }

/* ---------- (02/12, Rudy) des rappels de la brume, sans en mettre partout ----------
   En plus du lecteur et du calculateur : les avis, les tableaux de tarifs et les questions sont posés dans une boîte de brume (pages.js). */
.epure .avis-defile.boite, .epure .ep-faq.boite { padding: clamp(8px, 1.4vw, 16px) 0; }
.epure .ep-table.boite { border-collapse: separate; border-spacing: 0; }
.epure .avis-defile.boite::before { inset: -48px -56px; }
/* de l'air autour des boîtes : la brume ne mord ni sur le repère du dessus ni sur ce qui suit */
.epure .ep-tete-section + .boite, .epure .ep-tete-section + .avis-defile { margin-top: 28px; }
.epure .boite + .appel-liens, .epure .boite + .ep-note, .epure .boite + .ep-plus { margin-top: 64px; }

/* =====================================================================
   (02/12, Rudy : « les textes de corps sont encore trop petits ») UNE SEULE ÉCHELLE DE TEXTE
   Quatre tailles, et rien d'autre dans la version épurée :
   - la phrase d'accroche  : 19 à 22 px
   - le texte              : 18 px (tout ce qui se lit : listes, tableaux, réponses, profils, fiches)
   - la légende            : 16 px (signatures, notes, coordonnées, pied de page)
   - le repère             : 13 px en capitales espacées (types, numéros, timecodes, étiquettes)
   ===================================================================== */
.epure, .panneau-ep, .visite { --t-lead: clamp(19px, 1.45vw, 22px); --t-corps: 18px; --t-legende: 16px; --t-repere: 13px; }
.epure .ep-lead { font-size: var(--t-lead); }
/* le texte */
.epure .ep-metier-txt, .epure .ep-specs li, .epure .ep-studio-quoi, .epure .ep-table th, .epure .ep-table td,
.epure .faq details > div, .epure .faq details > div p, .epure .vs-profil, .epure .ep-piste-info, .epure .moniteur-presta,
.epure .moniteur-desc, .epure .calcul-option strong, .epure .etroit.article p, .epure .etroit.article li,
.panneau-ep .panneau-desc, .panneau-ep .fiche dd, .visite .visite-desc { font-size: var(--t-corps); line-height: 1.65; }
.epure .faq summary { font-size: clamp(19px, 1.5vw, 22px); }
.epure .vs-profil-liste { font-size: var(--t-legende); }
/* la légende */
.epure .avis-carte figcaption, .epure .ep-note, .epure .ep-coord, .epure .ep-coord a, .epure .ep-tete-section .ep-note,
.epure .calcul-option small, .epure .calcul-detail, .epure .lien-sobre, .epure .ep-plus a, .epure .fil, .epure .fil a,
.pied li, .pied a, .pied-logo p { font-size: var(--t-legende); }
.pied-bas, .pied-bas a { font-size: 14px; }
/* le repère */
.epure .ep-role, .epure .moniteur-type, .epure .ep-prix, .epure .vs-index, .epure .ep-metier-num, .epure .vs-num, .epure .ep-tc,
.epure .calcul-label, .epure .calcul-graduations, .epure .session-nom, .epure .filtres button, .epure .ep-table thead th,
.epure .ep-pistes button, .epure .ep-pistes a, .panneau-ep .label, .panneau-ep .fiche dt, .visite .visite-compte, .pied h2 { font-size: var(--t-repere); }
/* les noms dans les listes, un cran au-dessus du texte */
.epure .vs-nom-liste, .epure .ep-piste-nom { font-size: clamp(20px, 1.7vw, 24px); }
.epure .ep-studio-ville { font-size: clamp(24px, 2.2vw, 30px); }
.epure .ep-membre .h3 { font-size: clamp(22px, 1.9vw, 26px); }
@media (max-width: 560px) { .epure { --t-corps: 17px; --t-legende: 15px; } }

/* =====================================================================
   (02/12, Rudy) LES NUAGES BOUGENT LÉGÈREMENT
   Une fois apparus, les bords de brume respirent très lentement, comme un nuage qui dérive.
   - Boîtes (lecteur, calculateur, avis, tarifs, questions) : le fond masqué (::before) dérive et se gonfle à peine.
     On anime seulement « transform » : la carte graphique s'en charge, rien n'est redessiné.
   - Photos en brume (.brume) : le masque lui-même grandit et glisse de quelques pour cent. Ça démarre une fois
     l'apparition finie (délai), pour ne pas la gêner.
   Ça ne tourne que sur ce qui est à l'écran (la classe .vu est retirée hors écran par pages.js),
   et rien ne bouge si le visiteur a demandé moins d'animations.
   ===================================================================== */
@keyframes nuage-boite-a {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1, 1); }
  33%      { transform: translate3d(-0.4%, 0.3%, 0) scale(1.012, 0.994); }
  66%      { transform: translate3d(0.3%, -0.3%, 0) scale(0.995, 1.012); }
}
@keyframes nuage-boite-b {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1, 1); }
  40%      { transform: translate3d(0.3%, 0.4%, 0) scale(0.994, 1.01); }
  75%      { transform: translate3d(-0.3%, -0.2%, 0) scale(1.012, 0.996); }
}
@keyframes nuage-photo-a {
  0%, 100% { -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-position: 50% 50%; mask-position: 50% 50%; }
  35%      { -webkit-mask-size: 104% 102%; mask-size: 104% 102%; -webkit-mask-position: 48% 51%; mask-position: 48% 51%; }
  70%      { -webkit-mask-size: 102% 104%; mask-size: 102% 104%; -webkit-mask-position: 52% 49%; mask-position: 52% 49%; }
}
@keyframes nuage-photo-b {
  0%, 100% { -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-position: 50% 50%; mask-position: 50% 50%; }
  45%      { -webkit-mask-size: 103% 104%; mask-size: 103% 104%; -webkit-mask-position: 51% 52%; mask-position: 51% 52%; }
  80%      { -webkit-mask-size: 104% 101%; mask-size: 104% 101%; -webkit-mask-position: 49% 49%; mask-position: 49% 49%; }
}
@media (prefers-reduced-motion: no-preference) {
  .regie .boite.vu::before { will-change: transform; animation: nuage-boite-a 19s ease-in-out calc(var(--d, 0s) + 1.6s) infinite; }
  .regie .boite.vu:nth-of-type(even)::before { animation-name: nuage-boite-b; animation-duration: 23s; }
  .js .brume.vu { animation: nuage-photo-a 21s ease-in-out calc(var(--d, 0s) + 1.8s) infinite; }
  .js .brume.vu:nth-of-type(even) { animation-name: nuage-photo-b; animation-duration: 26s; }
  .js .vs-photo.brume.vu { animation-delay: 2.4s; }   /* le portrait de voix-off s'ouvre plus lentement : on attend la fin */
}

/* =====================================================================
   (02/12, Rudy : « ça ne fait pas vraiment avis ») LES AVIS CLIENTS
   À gauche, la note Google en grand (chiffre MMS, étoiles Glacier, lien vers la fiche).
   À droite, tous les avis visibles en même temps, deux par ligne : étoiles, texte, puis le nom
   (police MMS, précédé de la barre verticale Glacier de la marque) et la société en repère.
   Angles droits, filets fins, pas de cartes pleines : le tout est posé dans une seule boîte de brume.
   ===================================================================== */
.epure .ep-avis { display: grid; grid-template-columns: minmax(180px, 3fr) minmax(0, 9fr); gap: var(--ep-gout, 40px) clamp(40px, 5vw, 80px); align-items: start; padding: clamp(8px, 1.4vw, 16px) 0; }
.epure .ep-avis.boite::before { inset: -48px -56px; }
.epure .ep-avis-note { display: grid; justify-items: start; gap: 14px; }
.epure .ep-avis-chiffre { margin: 0; font-family: var(--titre); font-size: clamp(64px, 6.4vw, 96px); line-height: .9; color: var(--neige); }
.epure .ep-etoiles { display: inline-flex; gap: 3px; color: var(--glacier); }
.epure .ep-etoiles svg { width: 15px; height: 15px; fill: currentColor; }
.epure .ep-etoiles-grandes { gap: 5px; }
.epure .ep-etoiles-grandes svg { width: 24px; height: 24px; filter: drop-shadow(0 0 8px rgba(141, 188, 242, .35)); }
.epure .ep-avis-source { margin: 0; font-family: var(--titre); font-size: var(--t-repere, 13px); letter-spacing: .16em; text-transform: uppercase; color: #8E9BB8; }
.epure .ep-avis-lien { margin-top: 10px; padding: 12px 0 6px; border-bottom: 1px solid rgba(141, 188, 242, .45); color: var(--neige); font-family: var(--titre); font-size: var(--t-repere, 13px); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; transition: color .3s, border-color .3s; }
.epure .ep-avis-lien::after { content: ' \2197'; color: var(--glacier); }
.epure .ep-avis-lien:hover, .epure .ep-avis-lien:focus-visible { color: var(--glacier); border-color: var(--glacier); }
.epure .ep-avis-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(32px, 4vw, 64px); }
.epure .ep-avis-carte figure { margin: 0; display: grid; gap: 16px; padding-top: 20px; border-top: 1px solid rgba(141, 188, 242, .18); height: 100%; grid-template-rows: auto 1fr auto; }
.epure .ep-avis-carte blockquote { margin: 0; font-size: var(--t-corps, 18px); line-height: 1.65; color: #C3CDE0; }
.epure .ep-avis-carte figcaption { display: grid; gap: 4px; padding-left: 14px; border-left: 2px solid var(--glacier); }
.epure .ep-avis-nom { font-family: var(--titre); font-size: clamp(20px, 1.7vw, 24px); line-height: 1.15; color: var(--neige); }
.epure .ep-avis-societe { font-family: var(--titre); font-size: var(--t-repere, 13px); letter-spacing: .16em; text-transform: uppercase; color: var(--glacier); }
@media (max-width: 900px) {
  .epure .ep-avis { grid-template-columns: 1fr; }
  .epure .ep-avis-note { grid-template-columns: auto auto; align-items: center; column-gap: 20px; }
  .epure .ep-avis-chiffre { grid-row: span 2; }
  .epure .ep-avis-lien { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 640px) { .epure .ep-avis-liste { grid-template-columns: 1fr; } .epure .ep-avis.boite::before { inset: -28px -18px; } }

/* (02/12, Rudy : « un peu trop brutal quand elle arrive », voix-off) le portrait de la voix arrive en douceur :
   il part de plus près (la brume s'ouvre de 65 % au lieu de 30 %), plus lentement, avec un fondu ;
   au changement de voix il s'efface d'abord (.change, 0,4 s), puis la nouvelle photo ressort (pages.js). */
.js .vs-photo.brume { transition: opacity .9s ease, -webkit-mask-size 2.2s cubic-bezier(.25, .6, .25, 1), mask-size 2.2s cubic-bezier(.25, .6, .25, 1); }
.js .vs-photo.brume:not(.vu) { opacity: 0 !important; -webkit-mask-size: 65% 65%; mask-size: 65% 65%; }
.js .voix-studio.change .vs-photo.brume { opacity: 0 !important; transition: opacity .4s ease; }
.voix-studio .vs-infos { transition: opacity .4s ease; }
@media (prefers-reduced-motion: reduce) { .js .vs-photo.brume { transition: none; } }

/* (02/12, Rudy : « le petit bouton Visiter le studio est moche, pas dans l'esthétique du site »)
   Même écriture que la ligne « —— Son » du header : pas de boîte, pas de flou, pas de carré lumineux.
   Un trait fin puis « Visiter le studio » en capitales MMS ; au survol le trait s'allonge et passe en Glacier. */
.visiter { gap: 14px; padding: 8px 2px; border: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  color: var(--neige); font-size: 12px; letter-spacing: .2em; text-shadow: 0 1px 14px rgba(5, 10, 24, .9), 0 0 2px rgba(5, 10, 24, .6); }
.visiter i { width: 36px; height: 1px; background: currentColor; box-shadow: none; opacity: .8; transition: width .5s var(--ep-doux), background .3s; }
.visiter:hover, .a-visiter:hover .visiter { background: none; border: 0; }
.a-visiter:hover .visiter i, .visiter:focus-visible i { width: 60px; background: var(--glacier); opacity: 1; }
.visiter:focus-visible { outline: 1px solid var(--glacier); outline-offset: 6px; }

/* =====================================================================
   (02/12, Rudy : « la visite et les films ouverts ne sont pas dans l'esthétique du site »)
   LES FENÊTRES (film, visite) DANS L'ÉCRITURE DU SITE
   - Plus aucune boîte : les commandes s'écrivent comme « —— Son » (un trait fin + des capitales MMS).
   - L'image sort de la brume et respire, comme sur la page ; en lecture du film, la brume s'ouvre.
   - En bas, une petite timeline : un trait par projet (ou par équipement), celui en cours en Glacier.
   - Pas de phrase d'explication.
   ===================================================================== */
.ligne-btn { display: inline-flex; align-items: center; gap: 14px; padding: 10px 2px; border: 0 !important; border-radius: 0 !important; background: none !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important; box-shadow: none !important;
  font-family: var(--titre); font-size: 12px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: #A9B6D2; cursor: pointer; transition: color .3s; }
.ligne-btn i { display: block; width: 28px; height: 1px; border: 0 !important; background: currentColor !important; opacity: .7; transition: width .45s var(--ep-doux, ease), opacity .3s; }
.ligne-btn:hover, .ligne-btn:focus-visible { color: var(--neige); }
.ligne-btn:hover i, .ligne-btn:focus-visible i { width: 46px; opacity: 1; }
.ligne-btn:focus-visible { outline: 1px solid var(--glacier); outline-offset: 6px; }
.ligne-btn svg { display: none; }

/* la petite timeline du bas */
.regle-nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); }
.regle { display: flex; align-items: flex-end; gap: 0; height: 22px; border-bottom: 1px solid rgba(141, 188, 242, .2); }
.regle button { position: relative; width: clamp(22px, 2.6vw, 34px); height: 22px; padding: 0; border: 0; background: none; cursor: pointer; }
.regle button::before { content: ''; position: absolute; left: 50%; bottom: 0; width: 1px; height: 9px; background: rgba(141, 188, 242, .45); transition: height .35s var(--ep-doux, ease), background .3s; }
.regle button:hover::before { height: 14px; background: var(--neige); }
.regle button.actif::before { width: 2px; margin-left: -.5px; height: 20px; background: var(--glacier); box-shadow: 0 0 10px rgba(141, 188, 242, .55); }
.regle button:focus-visible { outline: 1px solid var(--glacier); outline-offset: 2px; }

/* ---------- le film ---------- */
.panneau-ep .panneau-fond { background: rgba(5, 10, 24, .97); }
.panneau-ep .panneau-fermer.ligne-btn { position: fixed; top: 18px; right: var(--marge); left: auto; bottom: auto; width: auto; height: auto; z-index: 4; display: inline-flex; color: var(--neige); }
.panneau-ep .panneau-nav.regle-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 4; justify-content: center; padding: 18px var(--marge) 22px;
  background: linear-gradient(to top, rgba(5, 10, 24, .96) 40%, rgba(5, 10, 24, 0)); opacity: 0; transition: opacity .5s .3s; }
.panneau-ep.visible .panneau-nav.regle-nav { opacity: 1; }
.panneau-ep .panneau-nav.regle-nav button.ligne-btn { position: static; width: auto; height: auto; opacity: 1; }
.panneau-ep.seul .panneau-nav.regle-nav { display: none; }
.panneau-ep .panneau-cadre { padding-bottom: clamp(110px, 14vh, 140px); }
/* l'image : bord de brume, qui respire ; ouverte en grand pendant la lecture */
.panneau-ep.visible .panneau-image { -webkit-mask-size: 100% 100%; mask-size: 100% 100%; background: transparent; }
.panneau-ep .panneau-image.a-lire { cursor: pointer; }
.panneau-ep.visible .panneau-image.lecture { -webkit-mask-size: 400% 400%; mask-size: 400% 400%; animation: none; background: #050a18; }
@media (prefers-reduced-motion: no-preference) {
  .panneau-ep.visible .panneau-image:not(.lecture) { animation: nuage-photo-a 21s ease-in-out 1.2s infinite; }
}
/* « —— Lire le film », au bord bas de l'image, plus de bouton au milieu */
.panneau-ep .panneau-jouer { left: 7%; top: auto; bottom: 12%; transform: none; padding: 10px 2px; gap: 14px; border: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  font-family: var(--titre); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--neige); text-shadow: 0 1px 14px rgba(5, 10, 24, .9); }
.panneau-ep .panneau-jouer i { width: 36px; height: 1px; border-radius: 0; background: currentColor; opacity: .8; transition: width .45s var(--ep-doux, ease); }
.panneau-ep .panneau-jouer i::before { display: none; }
.panneau-ep .panneau-jouer:hover, .panneau-ep .panneau-image:hover .panneau-jouer { background: none; color: var(--neige); }
.panneau-ep .panneau-image:hover .panneau-jouer i { width: 60px; background: var(--glacier); opacity: 1; }
/* le texte : type, titre, une phrase, puis client et prestations */
.panneau-ep .panneau-desc { max-width: 40em; }
.panneau-ep .fiche > div { border-top: 1px solid rgba(141, 188, 242, .14); }

/* ---------- la visite ---------- */
.visite-fond { background: rgba(5, 10, 24, .97); }
.visite .visite-fermer.ligne-btn { position: fixed; top: 18px; right: var(--marge); width: auto; height: auto; display: inline-flex; color: var(--neige); }
.visite-titre { font-size: 13px; letter-spacing: .24em; }
.visite-titre::before { width: 2px; height: 18px; box-shadow: 0 0 10px rgba(141, 188, 242, .5); }
/* les vues (la régie, la cabine) : des mots, soulignés quand ils sont choisis */
.visite-vues { gap: 28px; border: 0; }
.visite-vues button { position: relative; padding: 10px 0; border: 0 !important; background: none !important; font-size: 12px; letter-spacing: .2em; color: #8E9BB8; transition: color .3s; }
.visite-vues button::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--glacier); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ep-doux, ease); }
.visite-vues button:hover { color: var(--neige); }
.visite-vues button[aria-pressed="true"] { color: var(--neige); }
.visite-vues button[aria-pressed="true"]::after { transform: scaleX(1); }
/* la photo et le gros plan sortent de la brume, et respirent */
.visite-scene { overflow: visible; background: none; }
.visite-photo, .visite-focus-img { -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; }
@media (prefers-reduced-motion: no-preference) {
  .visite.visible .visite-photo { animation: nuage-photo-a 21s ease-in-out 1s infinite; }
  .visite.focus .visite-focus { animation: nuage-photo-b 26s ease-in-out 1s infinite; -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; }
}
/* les points : la barre verticale Glacier de la marque, le nom n'apparaît qu'au survol */
.visite-point { gap: 12px; padding: 8px; }
.visite-point i { width: 2px; height: 22px; background: var(--glacier); box-shadow: 0 0 12px rgba(141, 188, 242, .75); }
.visite-point i::after { inset: auto; left: 50%; top: 50%; width: 1px; height: 22px; margin: -11px 0 0 -.5px; border: 0; background: var(--glacier); animation: visite-souffle 3.2s ease-in-out infinite; }
@keyframes visite-souffle { 0%, 100% { transform: scaleY(1); opacity: .6; } 50% { transform: scaleY(1.9); opacity: 0; } }
.visite-point span { padding: 0; border: 0; background: none; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; text-shadow: 0 1px 12px rgba(5, 10, 24, .95), 0 0 2px rgba(5, 10, 24, .8);
  opacity: 0; transform: translateX(-6px); transition: opacity .35s, transform .45s var(--ep-doux, ease); }
.visite-point.a-gauche span { transform: translateX(6px); }
.visite-point:hover span, .visite-point:focus-visible span { opacity: 1; transform: none; }
@media (hover: none) { .visite-point span { opacity: .9; transform: none; } }
/* plus de flèches encadrées sur la photo : la timeline du bas les remplace (les flèches du clavier marchent toujours) */
.visite .visite-nav { display: none; }
.visite-actions { gap: 28px; }
.visite-auto i, .visite-auto[aria-pressed="true"] i { width: 28px; height: 1px; border: 0; background: currentColor; }
.visite-auto[aria-pressed="true"] { color: var(--neige); }
.visite-auto[aria-pressed="true"] i { animation: visite-defile 5s linear infinite; transform-origin: left center; background: var(--glacier); }
@keyframes visite-defile { from { transform: scaleX(.15); } to { transform: scaleX(1.6); } }
.visite-regle { width: min(100%, 1100px); justify-content: center; opacity: 0; transition: opacity .6s .35s; }
.visite.visible .visite-regle { opacity: 1; }
@media (max-width: 640px) {
  .regle-nav .ligne-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .regle button { width: 20px; }
}

/* (02/12) retouches après essai : fond plein, pas de cadre de focus qui fait « boîte »,
   pour le film la timeline passe en haut (elle ne recouvre plus le texte), « Lire le film » plus à l'intérieur de la brume */
.visite-fond, .panneau-ep .panneau-fond { background: #050a18; }
.ligne-btn:focus-visible { outline: 0; color: var(--neige); }
.ligne-btn:focus-visible i { width: 46px; opacity: 1; background: var(--glacier) !important; }
.regle-nav .ligne-btn { display: inline-flex !important; flex-direction: row; place-items: initial; width: auto !important; height: auto !important; }
.panneau-ep .panneau-nav.regle-nav { top: 18px; bottom: auto; left: var(--marge); right: auto; justify-content: flex-start; padding: 0; background: none; }
.panneau-ep .panneau-cadre { padding-bottom: clamp(64px, 8vh, 88px); }
.panneau-ep .panneau-jouer { left: 11%; bottom: 20%; }
@media (max-width: 640px) { .panneau-ep .panneau-nav.regle-nav { gap: 10px; } .panneau-ep .regle button { width: 16px; } }
/* (02/12) la timeline : une ligne fine au milieu, les traits centrés dessus, alignée avec Précédent / Suivant */
.regle-nav { align-items: center; }
.regle { align-items: center; align-self: center; height: 24px; margin: 0; border: 0; background: linear-gradient(rgba(141, 188, 242, .2), rgba(141, 188, 242, .2)) center / 100% 1px no-repeat; }
.regle button { height: 24px; }
.regle button::before { top: 50%; bottom: auto; transform: translateY(-50%); }
.visite-scene { height: min(58vh, calc((100vw - 2 * var(--marge)) / (var(--ratio, 1.5)))); }
.visite-cadre { gap: 14px; }
@media (max-width: 640px) {
  .panneau-ep .panneau-nav .ligne-btn { display: none !important; }
  .panneau-ep .panneau-jouer { left: 8%; bottom: 14%; }
}
/* les traits de la timeline du film n'héritent plus du style des anciennes flèches (fixées, encadrées) */
.panneau-ep .regle button { position: relative; inset: auto; display: block; width: clamp(22px, 2.6vw, 34px); height: 24px; padding: 0; border: 0; border-radius: 0; background: none; opacity: 1; }
.panneau-ep .regle button:hover { background: none; }
.panneau-ep .panneau-nav .ligne-btn { align-items: center !important; line-height: 1; }
@media (max-width: 640px) { .panneau-ep .regle button { width: 16px; } }
.panneau-ep .panneau-nav.regle-nav { top: 21px; }

/* =====================================================================
   (02/12, 12 h 45, Rudy) DANS LES FENÊTRES : PAS DE NUAGE AUTOUR DES IMAGES
   L'image du film et les photos de la visite restent nettes, entières ; une petite séparation
   (un filet fin, avec un court segment Glacier) les sépare du texte. Le film garde un vrai bouton lecture, au centre.
   ===================================================================== */
.panneau-ep .panneau-image, .panneau-ep.visible .panneau-image, .panneau-ep.visible .panneau-image:not(.lecture) {
  -webkit-mask: none !important; mask: none !important; animation: none !important; background: #050a18; }
.panneau-ep .panneau-corps { margin-top: clamp(22px, 2.6vw, 32px); padding-top: clamp(22px, 2.6vw, 32px);
  border-top: 1px solid rgba(141, 188, 242, .2); background: linear-gradient(var(--glacier), var(--glacier)) 0 -1px / 56px 1px no-repeat; }
/* le bouton lecture : un carré à angles droits, un filet Glacier, le triangle ; au survol il passe en Belledonne */
.panneau-ep .panneau-jouer { left: 50%; top: 50%; bottom: auto; transform: translate(-50%, -50%); display: grid; place-items: center; gap: 0;
  width: clamp(64px, 6vw, 84px); height: clamp(64px, 6vw, 84px); padding: 0; border: 1px solid rgba(141, 188, 242, .55); background: rgba(7, 13, 30, .55);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); text-shadow: none; transition: background .3s, border-color .3s, transform .4s var(--ep-doux, ease); }
.panneau-ep .panneau-jouer span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.panneau-ep .panneau-jouer i { width: 0; height: 0; margin-left: 4px; background: none !important; opacity: 1; border-left: 16px solid var(--neige); border-top: 10px solid transparent; border-bottom: 10px solid transparent; transition: none; }
.panneau-ep .panneau-jouer:hover, .panneau-ep .panneau-image:hover .panneau-jouer { background: var(--belledonne); border-color: var(--glacier); }
.panneau-ep .panneau-image:hover .panneau-jouer i { width: 0; background: none; }
.panneau-ep .panneau-jouer:focus-visible { outline: 1px solid var(--glacier); outline-offset: 4px; }
/* la visite : photos nettes, la même petite séparation entre la photo et le texte */
.visite-photo, .visite-focus-img, .visite.visible .visite-photo, .visite.focus .visite-focus { -webkit-mask: none !important; mask: none !important; animation: none !important; }
.visite-scene { overflow: hidden; background: #050a18; }
.visite-pied { padding-top: clamp(18px, 2vw, 26px); border-top: 1px solid rgba(141, 188, 242, .2); background: linear-gradient(var(--glacier), var(--glacier)) 0 -1px / 56px 1px no-repeat; }
.regle-nav .ligne-btn { align-items: center !important; line-height: 1; }

/* =====================================================================
   (02/12, Rudy) LE PLAN DE LA RÉGIE (première vue de la visite de Grenoble)
   Un plan vu de dessus en filets fins, angles droits ; les enceintes sont des barres verticales Glacier, comme le logo.
   À droite, un moniteur : la photo de l'élément survolé sort de la brume. Rien à lire : on survole, on clique.
   ===================================================================== */
.visite-plan { display: none; }
.visite.mode-plan .visite-scene { aspect-ratio: auto !important; height: auto; width: min(100%, 1100px); overflow: visible; background: none; }
.visite.mode-plan .visite-photo, .visite.mode-plan .visite-points, .visite.mode-plan .visite-focus { display: none; }
.visite.mode-plan .visite-plan { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.pl-svg { display: block; width: 100%; height: auto; max-height: 60vh; overflow: visible; }
.pl-mur { fill: none; stroke: rgba(141, 188, 242, .55); stroke-width: 2; }
.pl-mur-fin, .pl-fin { stroke: rgba(141, 188, 242, .3); stroke-width: 1; }
.pl-meuble { fill: rgba(141, 188, 242, .04); stroke: rgba(141, 188, 242, .35); stroke-width: 1; }
.pl-console { fill: rgba(141, 188, 242, .08); stroke: rgba(141, 188, 242, .5); stroke-width: 1; }
.pl-panneau { fill: rgba(141, 188, 242, .28); }
.pl-ecran { stroke: var(--neige); stroke-width: 3; opacity: .55; }
.pl-vitre { fill: rgba(141, 188, 242, .12); stroke: var(--glacier); stroke-width: 1; }
.pl-croix { stroke: var(--neige); stroke-width: 1.2; opacity: .7; }
.pl-barre { fill: var(--glacier); filter: drop-shadow(0 0 6px rgba(141, 188, 242, .6)); transition: fill .3s; }
.pl-zone { fill: transparent; }
.pl-nom { font-family: var(--titre); font-size: 13px; letter-spacing: .24em; fill: #8E9BB8; }
.pl-cible { cursor: pointer; outline: none; }
.pl-cible > :not(.pl-zone) { transition: opacity .3s, stroke .3s, fill .3s; }
.pl-carte:hover .pl-cible:not(:hover):not(.actif) > :not(.pl-zone) { opacity: .45; }
.pl-cible:hover .pl-meuble, .pl-cible.actif .pl-meuble, .pl-cible:focus-visible .pl-meuble { stroke: var(--glacier); fill: rgba(141, 188, 242, .1); }
.pl-cible:hover .pl-panneau, .pl-cible.actif .pl-panneau, .pl-cible:hover .pl-croix, .pl-cible.actif .pl-croix { fill: var(--glacier); stroke: var(--glacier); opacity: 1; }
.pl-cible:hover .pl-barre, .pl-cible.actif .pl-barre, .pl-cible:focus-visible .pl-barre { fill: var(--neige); }
/* une enceinte qui sonne : la barre s'allume puis retombe */
.pl-hp.sonne .pl-barre { fill: var(--neige); animation: pl-sonne .5s ease-out; transform-box: fill-box; transform-origin: center; }
@keyframes pl-sonne { 0% { transform: scale(1.8); } 100% { transform: scale(1); } }
/* le moniteur */
.pl-moniteur { display: grid; gap: 10px; align-content: center; }
.pl-photo { margin: 0 0 8px; }
.pl-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.js .pl-photo.brume { transition: opacity .6s ease, -webkit-mask-size 1.4s cubic-bezier(.25, .6, .25, 1), mask-size 1.4s cubic-bezier(.25, .6, .25, 1); }
.js .pl-photo.brume:not(.vu) { opacity: .2; -webkit-mask-size: 60% 60%; mask-size: 60% 60%; }
.pl-tag { margin: 0; font-family: var(--titre); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--glacier); }
.pl-titre { margin: 0; font-family: var(--titre); font-size: clamp(22px, 2vw, 28px); line-height: 1.15; color: var(--neige); }
.pl-tour { justify-self: start; margin-top: 8px; }
@media (max-width: 760px) {
  .visite.mode-plan .visite-plan { grid-template-columns: 1fr; }
  .pl-photo img { aspect-ratio: 16 / 9; }
}
@media (prefers-reduced-motion: reduce) { .pl-hp.sonne .pl-barre { animation: none; } }
/* (02/12) retouches du plan : noms des pièces lisibles, marges sur téléphone (la visite y est pleine largeur) */
.pl-nom { font-size: 19px; }
@media (max-width: 760px) { .visite.mode-plan .visite-plan, .visite-regle { padding: 0 var(--marge); box-sizing: border-box; } .pl-nom { font-size: 24px; } }

/* (02/12, Rudy) le moniteur des voix ne change plus de hauteur d'une voix à l'autre :
   les profils tiennent sur une ligne (générateur, VOIX) ; sur téléphone, où la colonne est étroite, on réserve deux lignes */
@media (max-width: 760px) { .epure .vs-profil { min-height: calc(2 * 1.65em); } }

/* (02/12, Rudy) le lecteur des voix sert aussi aux musiques de films (Cinéma) ;
   une musique sans fichier sur le site : l'onde et le bouton lecture laissent la place à « —— Écouter sur Spotify » */
.vs-ailleurs { display: none; text-decoration: none; }
.voix-studio.sans-audio .vs-lire, .voix-studio.sans-audio .vs-onde { display: none; }
.voix-studio.sans-audio .vs-ailleurs { display: inline-flex; grid-column: 1 / 3; justify-self: start; color: var(--neige); }
.vs-musique .vs-photo img { object-position: 50% 50%; }
/* (02/12) les titres de musique sont plus longs que les prénoms : un cran plus petits, sur une seule ligne,
   et la ligne d'écoute garde sa hauteur quand il n'y a que le lien Spotify (rien ne bouge d'une musique à l'autre) */
.vs-musique .vs-nom { font-size: clamp(26px, 2.6vw, 38px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vs-musique .vs-nom-liste { font-size: clamp(17px, 1.35vw, 21px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.voix-studio .vs-lecture { min-height: 52px; }
@media (max-width: 760px) { .vs-musique .vs-nom { font-size: 20px; } }
/* sur téléphone, la colonne est étroite : le titre de la musique peut aller sur deux lignes, la place est réservée */
@media (max-width: 760px) { .vs-musique .vs-nom { white-space: normal; overflow: visible; line-height: 1.15; min-height: calc(2 * 1.15em); } }
@media (max-width: 760px) { .vs-ailleurs { white-space: nowrap; letter-spacing: .12em; gap: 10px; } .vs-ailleurs i { width: 20px; } }

/* (02/12, Rudy) le header de l'accueil est sur toutes les pages : le haut des pages dédiées n'a plus à laisser la place de la barre */
.avec-header .epure .ep-page-tete { padding-top: clamp(64px, 8vw, 112px); }

/* (02/12, Rudy) le film YouTube tourne directement dans le moniteur, comme une boucle : sans commandes, pas cliquable
   (le clic reste sur « Voir le film »), légèrement agrandi pour cacher les bords de YouTube */
.moniteur-image .moniteur-yt { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; pointer-events: none; transform: scale(1.04); transition: opacity .9s ease; }
.moniteur-image.joue-yt .moniteur-yt { opacity: 1; }
.moniteur.change .moniteur-yt { opacity: 0; }
/* (02/12, Rudy) on n'affiche pas le nombre de voix : pas de numéros dans la liste des voix (les musiques gardent les leurs) */
.vs-voix .vs-num { display: none; }
.vs-voix .vs-choix { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) 16px; }
@media (max-width: 560px) { .vs-voix .vs-choix { grid-template-columns: minmax(0, 1fr) 16px; } }
