/* =====================================================================
   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; } }

/* =====================================================================
   (02/12, Rudy : « la responsivité doit être parfaite, que sur téléphone ce soit trop bien aussi »)
   RESPONSIVE TÉLÉPHONE ET TABLETTE, 1re passe (audit en 360, 390, 430 et 820 px)
   ===================================================================== */
@media (max-width: 900px) {
  /* l'intro de chaque page : le texte, puis la photo en dessous (la règle « photo plus grande » du 02/12 écrasait la colonne unique) */
  .epure .ep-intro { grid-template-columns: 1fr; }
  .epure .ep-intro .ep-photo { transform: none !important; }
}
/* « Visiter le studio » sur une photo : toujours sur une ligne */
.visiter { white-space: nowrap; }
/* les questions : de la place pour le « + » à droite (la version épurée l'avait mangée) */
.epure .faq summary { padding-right: 44px; }
/* les prix ne se coupent jamais (« Dès 120 € ») */
.epure .ep-table td:last-child, .epure .ep-table th:last-child { white-space: nowrap; }
@media (max-width: 760px) {
  /* la tête de lecture du fond : sur téléphone elle passait au milieu des textes */
  .tete-lecture { display: none; }
  /* le sélecteur d'univers : une seule ligne, qui défile au doigt si besoin */
  .regie .univers-nav .filtres { display: flex; flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .regie .univers-nav .filtres::-webkit-scrollbar { display: none; }
  .regie .univers-nav .filtres button { flex: 0 0 auto; white-space: nowrap; padding: 13px 16px; }
  /* des liens assez grands pour le doigt (téléphones, mail, fil d'Ariane, Commander), sans changer la mise en page */
  .epure .ep-coord a, .epure .fil a, .epure .lien-sobre, .epure .ep-table a { display: inline-block; padding: 11px 0; margin: -11px 0; }
}
/* (02/12, responsive) très petits écrans (360 px et moins) : la barre du haut tient sur une ligne sans que « Studio » passe sous le bouton Son */
@media (max-width: 380px) {
  .barre .logo { gap: 8px; font-size: 12px; letter-spacing: .12em; }
  .barre .logo img { width: 24px; height: auto; }
  .barre .son-bascule { padding-left: 10px; padding-right: 10px; gap: 8px; }
  .barre .son-bascule canvas { width: 34px; }
}
/* (02/12, responsive) fenêtres du film et de la visite sur téléphone : un bandeau sombre sous « Fermer » et la timeline du haut,
   pour que le contenu qui défile ne passe pas dessous */
@media (max-width: 760px) {
  .panneau-ep.ouvert::after, .visite.ouvert::after { content: ''; position: fixed; top: 0; left: 0; right: 0; height: 66px; z-index: 3; pointer-events: none;
    background: linear-gradient(180deg, #050a18 72%, rgba(5, 10, 24, 0)); }
  .panneau-ep .panneau-fermer.ligne-btn, .panneau-ep .panneau-nav.regle-nav, .visite .visite-fermer.ligne-btn { z-index: 5; }
  .visite-cadre { padding-top: 76px; }
}
/* (02/12, responsive) le fond « Régie » (grand logo lumineux, faisceaux) dépasse volontairement de la page : on le coupe au bord
   de l'écran, sinon la page glisse de côté sur tablette (« clip » garde la tête de lecture qui descend, contrairement à « hidden ») */
.fond-regie { overflow: hidden; overflow: clip; }
/* (02/12, responsive) les fonds de brume des boîtes dépassent de 48 px autour d'elles : sur tablette, ils sortaient de l'écran
   et la page glissait de côté. Tout le contenu est coupé au bord de l'écran (« clip » ne gêne pas ce qui suit le défilement). */
.suite-page { overflow-x: clip; }
/* (02/12, responsive) sur tablette, la timeline des réalisations passe comme sur téléphone : une piste par ligne,
   des clips lisibles qui défilent au doigt (avant : dix clips minuscules aux noms coupés sur la piste Création sonore) */
@media (min-width: 761px) and (max-width: 1024px) {
  .lecteur .regle-temps, .lecteur .tete-session { display: none; }
  .lecteur .session-piste { grid-template-columns: 1fr; }
  .lecteur .session-nom { padding: 14px 14px 0; border-right: 0; }
  .lecteur .session-clips { height: 118px; padding: 10px 14px 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .lecteur .session-clips::-webkit-scrollbar { display: none; }
  .lecteur .clip { flex: 0 0 200px; max-width: none; scroll-snap-align: start; }
}

/* =====================================================================
   (02/12, Rudy : « sous Firefox, même bug : l'image passe de réduite à pleine ») FIREFOX
   Firefox dessine les masques sans la carte graphique : faire grandir le masque de brume ne lui laisse le temps d'afficher
   que deux ou trois images. Sous Firefox seulement (@supports -moz-appearance), la brume reste à sa taille finale et l'image
   en sort par un fondu et un léger zoom (opacité et transform, fluides partout) ; plus de respiration du masque.
   Chrome, Opera et Safari gardent l'animation du masque.
   ===================================================================== */
@supports (-moz-appearance: none) {
  .js .brume, .js .brume:not(.vu), .js .brume[data-brume]:not(.vu) { -webkit-mask-size: 100% 100% !important; mask-size: 100% 100% !important; }
  .js .brume { transition: opacity 1.1s ease, transform 1.5s cubic-bezier(.2, .7, .2, 1) !important; }
  .js .brume:not(.vu) { opacity: 0 !important; transform: scale(.965); }
  .js .brume.vu { animation: none !important; }
  .regie .boite::before, .regie .boite:not(.vu)::before, .regie .boite[data-brume]:not(.vu)::before { -webkit-mask-size: 100% 100% !important; mask-size: 100% 100% !important; }
  .regie .boite::before { transition: opacity 1.1s ease !important; }
  .regie .boite:not(.vu)::before { opacity: 0; }
  .js .vs-photo.brume:not(.vu) { opacity: 0 !important; }
}

/* =====================================================================
   (03/12, Valentin) PHOTOS DU STUDIO EN GRAND
   - Sur le site (intro des pages, fiches des studios, « Deux studios » de l'accueil) : même brume qu'avant,
     les photos prennent seulement plus de place.
   - Dans la visite, sur le plan : la photo passe en grand (moitié de la largeur) et la brume ne reste que sur
     le contour (assets/decor/masque-contour.webp, fait par _outils/fabriquer-images.py).
   ===================================================================== */
.epure .ep-intro { grid-template-columns: minmax(0, 4.5fr) minmax(0, 7.5fr); }
.epure .ep-intro .ep-photo img { aspect-ratio: 16 / 10; }
.epure .ep-fiche { grid-template-columns: minmax(0, 7.5fr) minmax(0, 4.5fr); }
.epure .ep-fiche .ep-photo img { aspect-ratio: 16 / 10; }
.epure .ep-studios { gap: calc(var(--ep-gout) * .6); }
.epure .ep-studio img { aspect-ratio: 4 / 3; }
@media (max-width: 900px) {
  .epure .ep-intro, .epure .ep-fiche { grid-template-columns: 1fr; }
  .epure .ep-intro .ep-photo img, .epure .ep-fiche .ep-photo img { aspect-ratio: 3 / 2; }
}

.visite.mode-plan .visite-plan { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 3vw, 40px); }
.visite.mode-plan .pl-svg { max-height: 64vh; }
.pl-photo { margin: 0 0 6px; }
.pl-photo img { aspect-ratio: 3 / 2; max-height: 62vh; }
.js .pl-photo.brume, .js .pl-photo.brume.vu {
  -webkit-mask-image: url(/assets/decor/masque-contour.webp); mask-image: url(/assets/decor/masque-contour.webp);
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%; animation: none; }
.js .pl-photo.brume:not(.vu) { opacity: .2; -webkit-mask-size: 88% 88%; mask-size: 88% 88%; }
@media (max-width: 900px) { .visite.mode-plan .visite-plan { grid-template-columns: 1fr; } .pl-photo img { aspect-ratio: 16 / 9; } }

/* (03/12, 14 h 33, Rudy : « le play reste au milieu » ) le bouton de lecture disparaît pendant la lecture (la règle display: grid l'emportait sur hidden) */
.panneau-jouer[hidden], .panneau-ep .panneau-jouer[hidden], .panneau-ep .panneau-image.lecture .panneau-jouer { display: none !important; }

/* =====================================================================
   (03/12, 14 h 45) RETOURS DU PDF : PLUS D'EFFET DE RECADRAGE
   - « Ce que nous faisons » : les métiers ne sont plus cliquables (ni lien, ni flèche, ni curseur) ; l'image qui se dévoile au survol reste.
   - « Deux studios » : la photo entière (15 h 10, Rudy : la brume, le « nuage », revient : « crop » voulait dire coupé, pas la brume).
   - Visite : toutes les photos entières, sans zoom lent ; la photo du plan garde son contour en brume.
   - Musiques de films : les jaquettes entières, avec leur brume.
   ===================================================================== */
.ep-metier { cursor: default; }
.ep-metier::after { display: none !important; }   /* (14 h 51, Rudy) l'image en transparence au survol revient (::before) : seul le côté « lien » reste retiré */
.ep-metiers .ep-metier:hover .ep-metier-nom { transform: none; color: inherit; }
.epure .ep-studio img { aspect-ratio: auto; height: auto; object-fit: contain; padding: 10px; border: 1px solid rgba(141, 188, 242, .28); background: rgba(7, 13, 30, .45); -webkit-mask: none !important; mask: none !important; }   /* (15 h 25, Rudy) les deux studios : photo entière, SANS nuage, dans un cadre fin */
.visite-photo { object-fit: contain; }
.visite.focus .visite-focus-img { animation: none !important; }
.pl-photo img { object-fit: contain; }
.vs-musique .vs-photo img { object-fit: contain; }

/* (03/12, 14 h 47, Rudy) LA VISITE GARDE TOUJOURS LA MÊME TAILLE : une boîte 16:9, quelle que soit la photo (régie, cabine en
   hauteur, console…). Chaque photo y rentre en entier (contain) ; le calque des points prend la forme de la photo (--ratio-photo,
   pages.js) et se centre dans la boîte, pour que les points restent sur les bons objets. */
.visite:not(.mode-plan) .visite-scene { aspect-ratio: 16 / 9 !important; height: min(64vh, calc((100vw - 2 * var(--marge)) * 9 / 16)) !important; width: auto; max-width: 100%; }
.visite-points { inset: auto; left: 50%; top: 50%; translate: -50% -50%; height: 100%; width: auto; aspect-ratio: var(--ratio-photo, 16 / 9); max-width: 100%; }
@media (max-width: 760px) { .visite:not(.mode-plan) .visite-scene { width: 100%; height: auto !important; } }

/* (03/12, 14 h 47 ; 15 h 35, Rudy : « chelou ») tarifs de location : le nom de la ville au-dessus de chaque tableau,
   en repère MMS Glacier comme les titres de section, devant le fond brumeux du tableau (il passait dessous, presque invisible) */
.ep-tarif-ville { position: relative; z-index: 2; margin: 0 0 18px; font-family: var(--titre); font-weight: 400; font-size: 15px; letter-spacing: .22em; text-transform: uppercase; color: var(--neige); display: flex; align-items: center; gap: 14px; }
.ep-tarif-ville::before { content: ''; width: 3px; height: 16px; background: var(--glacier); }
.ep-tarif-ville ~ .ep-tarif-ville { margin-top: 56px; }

/* (03/12, 15 h, Rudy : « la disparition de la map n'est pas bossée, on dirait un PNG qui se détache ») LA SORTIE DE LA VISITE :
   les textes s'effacent d'abord (0,3 s), la scène se dissout dans la brume (flou, léger recul, 0,6 s), le fond suit un peu après. */
.visite.ferme .visite-tete, .visite.ferme .visite-pied, .visite.ferme .visite-fermer { opacity: 0 !important; transition: opacity .3s cubic-bezier(.4, 0, .2, 1) !important; }
.visite.ferme .visite-scene { opacity: 0; filter: blur(14px); transform: scale(.965) !important;
  transition: opacity .6s cubic-bezier(.4, 0, .2, 1) .05s, filter .6s cubic-bezier(.4, 0, .2, 1) .05s, transform .7s cubic-bezier(.4, 0, .2, 1) !important; }
.visite.ferme .visite-fond { transition: opacity .6s cubic-bezier(.4, 0, .2, 1) .16s; }
@media (prefers-reduced-motion: reduce) { .visite.ferme * { transition: none !important; } }

/* (03/12, 15 h 26, Rudy) « CE QUE NOUS FAISONS » SUR LA VUE D'ENSEMBLE : plus petit, une autre présentation.
   Quatre colonnes séparées par des filets fins ; dans chacune le numéro, un court trait Glacier, le nom, la phrase.
   L'image se dévoile en transparence sur toute la colonne au survol. Les pages Cinéma et Publicité gardent les grandes lignes. */
.ep-metiers.ep-metiers-compacts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ep-filet); border-bottom: 1px solid var(--ep-filet); }
.ep-metiers-compacts > li { display: flex; }
.ep-metiers-compacts > li + li { border-left: 1px solid var(--ep-filet); }
.ep-metiers-compacts .ep-metier { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; width: 100%; padding: 30px 26px 34px; border-bottom: 0; }
.ep-metiers-compacts .ep-metier::before { top: 0; bottom: 0; left: 0; right: 0; }
.ep-metiers-compacts .ep-metier-num { order: 0; }
.ep-metiers-compacts .ep-metier-num::after { content: ''; display: block; width: 22px; height: 1px; margin-top: 14px; background: var(--glacier); }
.ep-metiers-compacts .ep-metier-nom { font-size: clamp(21px, 1.7vw, 26px); line-height: 1.2; }
.ep-metiers-compacts .ep-metier-txt { font-size: 16px; line-height: 1.6; }
@media (max-width: 1000px) {
  .ep-metiers.ep-metiers-compacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ep-metiers-compacts > li:nth-child(3) { border-left: 0; }
  .ep-metiers-compacts > li:nth-child(n + 3) { border-top: 1px solid var(--ep-filet); }
}
@media (max-width: 600px) {
  .ep-metiers.ep-metiers-compacts { grid-template-columns: 1fr; }
  .ep-metiers-compacts > li + li { border-left: 0; border-top: 1px solid var(--ep-filet); }
  .ep-metiers-compacts .ep-metier { padding: 22px 4px 26px; }
}

/* (03/12, 15 h 40) les images abstraites des métiers sont sombres : plus présentes au survol que les anciennes photos */
.ep-metier:hover::before, .ep-metier:focus-visible::before { opacity: .6; }
.ep-metiers-compacts .ep-metier:hover::before, .ep-metiers-compacts .ep-metier:focus-visible::before { opacity: .75; }

/* (03/12, 15 h 54, Rudy) LA VISITE TIENT TOUJOURS DANS L'ÉCRAN : pas de défilement ; titre, nom et texte sur une ligne chacun
   (hauteur constante) ; la scène prend la hauteur qui reste (--h-scene, calculée par caler() dans pages.js), 16:9 sauf le plan. */
.visite-cadre { height: 100%; overflow: hidden !important; align-content: center; }
.visite:not(.mode-plan) .visite-scene { height: var(--h-scene, 56vh) !important; width: var(--l-scene, auto) !important; max-width: 100%; aspect-ratio: 16 / 9 !important; }
.visite.mode-plan .visite-scene { height: var(--h-scene, 56vh) !important; width: var(--l-scene, min(100%, 1100px)) !important; }
.visite.mode-plan .visite-plan { height: 100%; align-items: center; }
.visite.mode-plan .pl-svg { max-height: var(--h-scene, 56vh) !important; }
.pl-photo img { max-height: calc(var(--h-scene, 56vh) - 150px) !important; width: 100%; }
.visite-titre, .visite-nom, .visite-desc, .pl-titre, .pl-tag { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.visite-texte { min-width: 0; }
.visite-desc { max-width: none; }
/* la zone de texte garde la même hauteur en gros plan et en vue d'ensemble : chaque ligne réserve sa place, même vide */
.visite-compte, .visite-nom, .visite-desc { display: block; min-height: 1.3em; }
.visite-desc { min-height: 1.65em; }
.visite-actions { min-height: 40px; }
/* le plan dans le même cadre que les photos : le schéma et la photo se partagent la largeur, à la hauteur du cadre */
.visite.mode-plan .visite-plan { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) !important; gap: clamp(14px, 2vw, 28px) !important; }
@media (max-width: 760px) {
  .visite.mode-plan .visite-plan { grid-template-columns: 1fr !important; grid-template-rows: minmax(0, 1fr) auto; }
  .visite.mode-plan .pl-svg { max-height: calc(var(--h-scene, 56vh) - 120px) !important; margin: 0 auto; display: block; }
  .visite.mode-plan .pl-photo { display: none; }   /* sur téléphone : le plan et le nom de l'élément ; la photo s'ouvre au toucher (gros plan) */
}

/* ===== TÉLÉPHONE, 2E PASSE (04/12/2026, Valentin : « pas ouf sur téléphone ») ===== */
@media (max-width: 760px) {
  /* le sélecteur d'univers : on voit qu'il continue (fondu à droite) et le dernier onglet peut venir en entier */
  .regie .univers-nav .filtres { -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); padding-right: 48px; }
  .regie .univers-nav .filtres.au-bout { -webkit-mask-image: none; mask-image: none; }
  /* les logos clients : trois par ligne, tous à la même taille visuelle (avant : Tefal et Longchamp énormes, Auto Plus minuscule) */
  .epure .clients { display: grid; grid-template-columns: repeat(3, 1fr); justify-items: center; align-items: center; gap: 26px 18px; }
  .epure .clients img { height: auto; max-height: min(var(--h, 30px), 26px); max-width: 84px; width: auto; }
  /* tarifs de location : une ligne par formule (nom et prix en haut, ce qui est compris dessous), plus de mots coupés */
  .epure .ep-tarif-ville + .ep-table thead { display: none; }
  .epure .ep-tarif-ville + .ep-table tr { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--ep-filet); }
  .epure .ep-tarif-ville + .ep-table tr > * { padding: 0 !important; border: 0 !important; }
  .epure .ep-tarif-ville + .ep-table tr > th { grid-column: 1; grid-row: 1; }
  .epure .ep-tarif-ville + .ep-table tr > td:last-child { grid-column: 2; grid-row: 1; text-align: right; }
  .epure .ep-tarif-ville + .ep-table tr > td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; margin-top: 4px; font-size: 15px; color: var(--brume-2, #C3CDE0); }
}
@media (max-width: 760px) {
  /* des cibles assez grandes pour le doigt (44 px), sans changer ce qu'on voit */
  .pied li a, .pied-contact a { display: inline-block; padding: 10px 0; margin: -10px 0; }
  .pied li { margin-bottom: 6px; }
  .barre .son-bascule { min-height: 40px; }
  .vers-accueil { min-width: 44px; min-height: 44px; display: grid; place-items: center; }
  .epure .visiter { min-height: 44px; }
  /* les noms des projets et « Visiter le studio » : 13 px au moins */
  .clip-nom { font-size: 13px; }
  .epure .visiter span { font-size: 13px; }
}
@media (max-width: 760px) {
  /* fenêtre du film : la petite timeline des projets passait sous « Fermer » ; sur téléphone elle va en bas de l'écran */
  .panneau-ep .panneau-nav.regle-nav { top: auto !important; bottom: 0; left: 0 !important; right: 0 !important; justify-content: center !important; padding: 14px var(--marge) calc(16px + env(safe-area-inset-bottom)) !important; background: linear-gradient(transparent, rgba(6, 11, 28, .92) 40%) !important; }
  .panneau-ep .panneau-corps, .panneau-ep .panneau-fiche { padding-bottom: 72px; }
  /* visite, vue du plan : le plan prend la place (le nom du studio et de l'élément sont déjà écrits dessous) */
  .visite.mode-plan .pl-tag, .visite.mode-plan .pl-titre { display: none; }
  .visite.mode-plan .pl-moniteur { gap: 0; justify-items: center; }
  .visite.mode-plan .pl-svg { max-height: calc(var(--h-scene, 56vh) - 52px) !important; width: 100%; }
}

/* ===== TÉLÉPHONE, 3E PASSE (04/12/2026, Valentin : « garder le côté poétique, mais vraiment adapté au téléphone ») ===== */
@media (max-width: 760px) {
  /* --- les logos clients (sous « Visiter le studio ») : une seule ligne qui dérive lentement, fondue sur les bords --- */
  .epure .clients-bloc { overflow: hidden; margin-left: calc(-1 * var(--marge)); margin-right: calc(-1 * var(--marge)); }
  .epure .clients { display: flex !important; flex-wrap: nowrap; gap: 0; width: max-content; align-items: center;
    -webkit-mask-image: none; animation: clients-derive 46s linear infinite; }
  .epure .clients-bloc { -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
  .epure .clients img { flex: none; height: auto; max-height: min(var(--h, 30px), 24px); max-width: 96px; margin: 0 22px; opacity: .5; }
  @keyframes clients-derive { from { transform: translateX(0); } to { transform: translateX(-50%); } }

  /* --- la timeline des réalisations : une piste = une rangée qui glisse au doigt, des images plus grandes,
         le nom sous l'image ; on devine le projet suivant à droite --- */
  .lecteur .session-piste { display: block; border-top: 1px solid rgba(141, 188, 242, .12); }
  .lecteur .session-nom { padding: 18px 0 10px !important; font-size: 12px; }
  .lecteur .session-clips { height: auto !important; padding: 0 0 18px !important; gap: 12px !important; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 0;
    -webkit-mask-image: linear-gradient(90deg, #000 80%, transparent); mask-image: linear-gradient(90deg, #000 80%, transparent); }
  .lecteur .session-clips.au-bout { -webkit-mask-image: none; mask-image: none; }
  .lecteur .clip { flex: 0 0 64% !important; max-width: none !important; height: auto; aspect-ratio: auto; display: flex; flex-direction: column-reverse; gap: 8px;
    border: 0 !important; background: none !important; overflow: visible; scroll-snap-align: start; text-align: left; }
  .lecteur .clip img { position: static !important; width: 100% !important; height: auto !important; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid rgba(141, 188, 242, .18); opacity: .7; }
  .lecteur .clip-nom { position: static !important; height: auto !important; padding: 0 !important; background: none !important; font-size: 15px !important; line-height: 1.35 !important; color: var(--brume-2, #C3CDE0); white-space: normal; }
  .lecteur .clip[aria-pressed="true"] img { opacity: 1; border-color: var(--glacier); }
  .lecteur .clip[aria-pressed="true"] .clip-nom { background: none !important; color: var(--neige); }
  .lecteur .clip[aria-pressed="true"] .clip-nom::before { content: ''; display: inline-block; width: 2px; height: .9em; margin-right: 8px; vertical-align: -1px; background: var(--glacier); }

  /* --- les avis : un avis par écran, qu'on fait glisser ; de petits traits disent où on en est --- */
  .epure .ep-avis-liste { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 18px; scrollbar-width: none; margin-left: calc(-1 * var(--marge)); margin-right: calc(-1 * var(--marge)); padding: 0 var(--marge); scroll-padding: 0 var(--marge); }
  .epure .ep-avis-liste::-webkit-scrollbar { display: none; }
  .epure .ep-avis-liste > li { flex: 0 0 86%; scroll-snap-align: start; border-top: 0 !important; padding-top: 0 !important; }
  .ep-avis-traits { display: flex; gap: 8px; margin-top: 22px; }
  .ep-avis-traits i { display: block; width: 18px; height: 2px; background: rgba(141, 188, 242, .25); transition: background .4s, width .4s; }
  .ep-avis-traits i.actif { width: 34px; background: var(--glacier); }

  /* --- le pied de page : plus serré, deux colonnes, les adresses en dessous --- */
  .pied { padding: 56px 0 28px; }
  .pied-grille { grid-template-columns: 1fr 1fr !important; gap: 30px 20px !important; }
  .pied-logo { grid-column: 1 / -1; }
  .pied-logo img { width: 112px; }
  .pied-logo p { margin-top: 12px; font-size: 14px; }
  .pied-grille > div:nth-child(3) { grid-column: 1 / -1; order: 5; }
  .pied h2 { margin-bottom: 12px; }
  .pied-bas { flex-direction: column; gap: 8px; margin-top: 34px; font-size: 13px; }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) { .epure .clients { animation: none; flex-wrap: wrap !important; width: auto; justify-content: center; } }

/* ===== LE BOUTON SON S'OUVRE (04/12, Valentin) : comportement dans pages.js ===== */
.son-invite { position: fixed; z-index: 90; visibility: hidden; display: flex; align-items: center; gap: 14px; min-height: var(--bh, 36px); box-sizing: border-box;
  padding: 0 18px; border: 1px solid rgba(141, 188, 242, .55); border-radius: 0; background: rgba(14, 34, 86, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--neige); font-family: var(--titre); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; cursor: pointer;
  /* fermé : seule la place du bouton Son est découverte (coin haut droit) */
  clip-path: inset(0 0 calc(100% - var(--bh, 36px)) calc(100% - var(--bw, 96px)));
  transition: clip-path .95s cubic-bezier(.2, .8, .2, 1), border-color .3s; }
.son-invite.ouvert { clip-path: inset(0 0 0 0); }
.son-invite.ferme { transition-delay: .35s; }
.son-invite .si-txt { opacity: 0; transform: translateX(10px); transition: opacity .5s, transform .7s cubic-bezier(.2, .8, .2, 1); }
.son-invite.ouvert .si-txt { opacity: 1; transform: none; transition-delay: .4s; }
.son-invite:hover { border-color: var(--glacier); }
.si-barres { display: flex; align-items: center; gap: 3px; height: 18px; flex: none; }
.si-barres i { display: block; width: 2px; height: 100%; background: var(--glacier); transform-origin: center; animation: si-barre 1.6s ease-in-out infinite; }
.si-barres i:nth-child(1), .si-barres i:nth-child(7) { animation-delay: -.2s; height: 40%; }
.si-barres i:nth-child(2), .si-barres i:nth-child(6) { animation-delay: -.6s; height: 70%; }
.si-barres i:nth-child(3), .si-barres i:nth-child(5) { animation-delay: -1s; height: 55%; }
.si-barres i:nth-child(4) { animation-delay: -1.3s; }
@keyframes si-barre { 0%, 100% { transform: scaleY(.45); } 50% { transform: scaleY(1); } }
@media (max-width: 760px) {
  /* sur téléphone : il s'ouvre vers la gauche et vers le bas, le texte sur deux lignes */
  .son-invite { white-space: normal; max-width: calc(100vw - 2 * var(--marge, 20px)); width: 300px; padding: 14px 16px; align-items: flex-start; line-height: 1.6; font-size: 11px; letter-spacing: .14em; }
  .si-barres { margin-top: 2px; }
}
@media (prefers-reduced-motion: reduce) { .son-invite { display: none; } }
/* (9 h 18) sur ordinateur : la ligne « —— SON » du centre s'ouvre elle-même, sans boîte */
.son-ligne .son-ligne-txt { display: inline-block; max-width: 6em; overflow: hidden; white-space: nowrap; vertical-align: middle; transition: max-width .8s cubic-bezier(.2, .8, .2, 1) .5s, opacity .5s .5s; }
.son-ligne .sl-invite { display: inline-block; max-width: 0; overflow: hidden; white-space: nowrap; vertical-align: middle; opacity: 0; color: rgba(245, 247, 251, .78);
  transition: max-width 1.4s cubic-bezier(.2, .8, .2, 1), opacity .7s; }
.son-ligne.invite .son-ligne-txt { max-width: 0; opacity: 0; transition: max-width .7s cubic-bezier(.2, .8, .2, 1), opacity .3s; }
.son-ligne.invite .sl-invite { max-width: 46em; opacity: 1; transition: max-width 1.6s cubic-bezier(.2, .8, .2, 1) .25s, opacity .9s .55s; }
/* téléphone : la boîte qui sort du bouton Son, plus transparente et plus discrète */
@media (max-width: 760px) { .son-invite { background: rgba(7, 13, 30, .55); border-color: rgba(141, 188, 242, .28); color: rgba(245, 247, 251, .85); } }
/* (04/12) téléphone : l'image du métier se dévoile quand il passe au milieu de l'écran (pages.js, classe .revele) */
@media (hover: none) {
  .ep-metier::before { display: block; left: 0; opacity: 0; clip-path: inset(0 100% 0 0); transition: opacity 1.2s ease, clip-path 1.4s cubic-bezier(.2, .8, .2, 1); }
  .ep-metier.revele::before { opacity: .32; clip-path: inset(0 0 0 0); }
  .ep-metier.revele .ep-metier-nom { color: var(--neige); }
  .ep-metier.revele .ep-metier-txt { color: var(--neige); text-shadow: 0 1px 12px rgba(7, 13, 30, .9); }
}
/* (04/12, Valentin : « Une journée à cinquante balles, ça bug ») téléphone : le nom d'un projet sur deux lignes ne décale plus son image :
   toutes les images en haut, à la même hauteur, le nom dessous */
@media (max-width: 760px) {
  .lecteur .clip { flex-direction: column !important; justify-content: flex-start; align-self: flex-start; }
  .lecteur .clip img { order: -1; }
  .lecteur .session-clips { align-items: flex-start; }
}
/* (04/12, Valentin : « un scroll interne aux avis, ça bloque le scroll du site sur téléphone ») les bandes qui défilent au doigt
   (avis, pistes de la timeline, onglets d'univers) ne défilent QU'À L'HORIZONTALE : jamais de défilement vertical à elles,
   un geste vertical fait toujours défiler la page */
@media (max-width: 760px) {
  .epure .ep-avis-liste, .lecteur .session-clips, .regie .univers-nav .filtres {
    overflow-y: hidden !important; overscroll-behavior-x: contain; overscroll-behavior-y: auto; touch-action: pan-x pan-y; }
  .epure .ep-avis-liste { padding-top: 6px; padding-bottom: 14px; }   /* la place des apparitions (elles glissent de quelques pixels) */
}
