/* Helios Pictures, v2 « cinéma clair » (28/10/2026).
   Fond blanc, encre, un seul accent rouge clap. Une seule famille, Archivo,
   dont la largeur variable sert de générique de film (étiquettes très larges)
   et de titres d'affiche (larges et serrés). Rien de commun avec les autres
   sites de la maison : ni police, ni couleur, ni gabarit. */

@font-face {
  font-family: "Archivo HP";
  src: url("/fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo HP";
  src: url("/fonts/archivo-italique.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: italic;
  font-display: swap;
}

:root {
  --blanc: #ffffff;
  --lait: #f4f3f0;
  --encre: #0e0e10;
  --gris: #66666d;
  --ligne: rgba(14, 14, 16, 0.12);
  --ligne-claire: rgba(255, 255, 255, 0.18);
  --accent: #ff3b14;
  --accent-fonce: #d42c08;
  --f: "Archivo HP", "Helvetica Neue", Arial, sans-serif;
  --gouttiere: clamp(18px, 4.5vw, 56px);
  --largeur: 1320px;
  --courbe: cubic-bezier(0.16, 1, 0.3, 1);
  --courbe-douce: cubic-bezier(0.65, 0, 0.35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0; background: var(--blanc); color: var(--encre);
  font-family: var(--f); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: #fff; }
.saut { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--encre); color: #fff; padding: 10px 14px; }
.saut:focus { top: 12px; }
.cadre { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 var(--gouttiere); }

/* ---------- Typographie ---------- */
h1, h2, h3 { font-family: var(--f); font-weight: 800; font-stretch: 112%; letter-spacing: -0.035em; line-height: 0.96; margin: 0 0 0.4em; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 8.4vw, 7.6rem); }
h2 { font-size: clamp(2.1rem, 5.4vw, 4.6rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); letter-spacing: -0.02em; line-height: 1.08; font-stretch: 105%; }
p { margin: 0 0 1em; text-wrap: pretty; }
.trait { font-style: italic; font-weight: 300; font-stretch: 100%; }

/* Générique : étiquettes très larges, comme un carton de film. */
.generique { display: block; font-size: 11px; font-weight: 600; font-stretch: 125%; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gris); margin-bottom: 20px; }
.nuit .generique, .heros .generique { color: rgba(255, 255, 255, 0.72); }
.chapeau { font-size: clamp(1.1rem, 1.7vw, 1.35rem); line-height: 1.5; color: var(--gris); max-width: 58ch; }
.nuit .chapeau, .heros .chapeau { color: rgba(255, 255, 255, 0.86); }
.accent { color: var(--accent); }

/* ---------- Boutons ---------- */
.bouton {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px;
  font-family: var(--f); font-size: 15px; font-weight: 700; font-stretch: 110%; letter-spacing: 0.02em; text-decoration: none;
  background: var(--encre); color: #fff; border: 1.5px solid var(--encre); cursor: pointer;
  transition: color 0.35s var(--courbe), border-color 0.35s, transform 0.2s;
}
.bouton::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent); transform: translateY(101%); transition: transform 0.45s var(--courbe); }
.bouton:hover::before, .bouton:focus-visible::before { transform: none; }
.bouton:hover { border-color: var(--accent); color: #fff; }
.bouton:active { transform: scale(0.97); }
.bouton[disabled] { opacity: 0.6; pointer-events: none; }
.bouton--clair { background: #fff; color: var(--encre); border-color: #fff; }
.bouton--ligne { background: transparent; color: inherit; border-color: currentColor; }
.boutons { display: flex; flex-wrap: wrap; gap: 12px; }
.lien-souligne { text-decoration: none; font-weight: 700; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; padding-bottom: 2px; transition: background-size 0.4s var(--courbe); }
.lien-souligne:hover { background-size: 0 1.5px; background-position: 100% 100%; }

/* ---------- En-tête ---------- */
.entete { position: fixed; inset: 0 0 auto; z-index: 60; color: #fff; transition: background 0.35s, color 0.35s, box-shadow 0.35s, transform 0.45s var(--courbe); }
.entete.est-plein, .page-claire .entete { background: rgba(255, 255, 255, 0.92); color: var(--encre); box-shadow: 0 1px 0 var(--ligne); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); }
.entete.est-cache { transform: translateY(-100%); }
.entete__barre { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; line-height: 1; position: relative; z-index: 2; }
.logo b { font-weight: 900; font-stretch: 125%; font-size: 17px; letter-spacing: 0.12em; }
.logo span { font-weight: 300; font-stretch: 125%; font-size: 17px; letter-spacing: 0.12em; }
.logo i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-size: 14px; font-weight: 600; opacity: 0.88; transition: opacity 0.2s; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; }
.nav .bouton { min-height: 44px; padding: 0 18px; font-size: 14px; opacity: 1; }
.entete:not(.est-plein) .nav .bouton { background: #fff; color: var(--encre); border-color: #fff; }
.page-claire .entete .nav .bouton, .entete.est-plein .nav .bouton { background: var(--encre); color: #fff; border-color: var(--encre); }
.entete .nav .bouton:hover { color: #fff; }
.burger { display: none; width: 46px; height: 46px; border: 0; background: transparent; color: inherit; cursor: pointer; padding: 0; position: relative; z-index: 2; }
.burger span, .burger span::before { position: absolute; left: 11px; width: 24px; height: 2px; background: currentColor; transition: transform 0.4s var(--courbe), top 0.4s var(--courbe); }
.burger span { top: 18px; }
.burger span::before { content: ""; left: 0; top: 8px; }
.menu-ouvert .burger span { top: 22px; transform: rotate(45deg); }
.menu-ouvert .burger span::before { top: 0; transform: rotate(-90deg); }
.nav__tel { display: none; }

@media (max-width: 980px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px;
    padding: 90px var(--gouttiere) 40px; overflow-y: auto;
    background: var(--encre); color: #fff;
    clip-path: circle(0% at calc(100% - 42px) 36px); visibility: hidden;
    transition: clip-path 0.7s var(--courbe-douce), visibility 0s 0.7s;
  }
  .menu-ouvert .nav { clip-path: circle(150% at calc(100% - 42px) 36px); visibility: visible; transition: clip-path 0.7s var(--courbe-douce); }
  .menu-ouvert .entete { color: #fff; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav a { font-size: clamp(2rem, 9vw, 3rem); font-weight: 800; font-stretch: 112%; letter-spacing: -0.03em; line-height: 1.18; opacity: 0; transform: translateY(24px); transition: opacity 0.4s, transform 0.5s var(--courbe); }
  .menu-ouvert .nav a { opacity: 1; transform: none; }
  .menu-ouvert .nav a:nth-child(2) { transition-delay: 0.05s; } .menu-ouvert .nav a:nth-child(3) { transition-delay: 0.1s; }
  .menu-ouvert .nav a:nth-child(4) { transition-delay: 0.15s; } .menu-ouvert .nav a:nth-child(5) { transition-delay: 0.2s; }
  .menu-ouvert .nav a:nth-child(6) { transition-delay: 0.25s; } .menu-ouvert .nav a:nth-child(7) { transition-delay: 0.3s; }
  .nav .bouton, .page-claire .entete .nav .bouton, .entete.est-plein .nav .bouton, .entete:not(.est-plein) .nav .bouton { margin-top: 26px; font-size: 16px; min-height: 56px; padding: 0 26px; letter-spacing: 0.02em; font-stretch: 110%; background: var(--accent); border-color: var(--accent); color: #fff; }
  .nav .nav__tel { display: block; margin-top: 18px; font-size: 16px; font-weight: 600; font-stretch: 110%; letter-spacing: 0.03em; }
  body.menu-ouvert { overflow: hidden; }
}

/* ---------- Héros façon stories ---------- */
.heros { position: relative; isolation: isolate; overflow: hidden; min-height: 100svh; display: flex; align-items: flex-end; padding: 130px 0 calc(72px + env(safe-area-inset-bottom)); background: #000; color: #fff; }
.heros__media { position: absolute; inset: 0; z-index: -2; }
.heros__media .plan { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s ease; }
.heros__media .plan.est-actif { opacity: 1; }
.heros__media picture, .heros__media img, .heros__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.heros__media .plan img { transform: scale(1.12); }
.heros__media .plan.est-actif img { animation: zoom 7s linear forwards; }
@keyframes zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.heros::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,.12) 52%, rgba(0,0,0,.8) 100%); }
.rideau { position: absolute; left: 0; right: 0; height: 51%; background: #000; z-index: 5; pointer-events: none; transition: transform 1.3s var(--courbe-douce) 0.15s; }
.rideau--haut { top: 0; } .rideau--bas { bottom: 0; }
.est-ouvert .rideau--haut { transform: translateY(-100%); }
.est-ouvert .rideau--bas { transform: translateY(100%); }
.stories { position: absolute; top: 82px; left: var(--gouttiere); right: var(--gouttiere); display: flex; gap: 6px; z-index: 3; }
.stories span { flex: 1; height: 3px; background: rgba(255,255,255,.3); border-radius: 3px; overflow: hidden; }
.stories span i { display: block; height: 100%; width: 0; background: #fff; }
.stories span.fini i { width: 100%; }
.stories__legende { position: absolute; top: 96px; left: var(--gouttiere); z-index: 3; font-size: 10px; font-weight: 700; font-stretch: 125%; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,.85); transition: opacity 0.4s; }
.heros__zones { position: absolute; inset: 0; z-index: 1; display: grid; grid-template-columns: 1fr 2fr; }
.heros__zones button { background: transparent; border: 0; cursor: pointer; -webkit-user-select: none; user-select: none; }
.heros .cadre { position: relative; z-index: 2; pointer-events: none; }
.heros .cadre a, .heros .cadre button { pointer-events: auto; }
.heros h1 { max-width: 13ch; }
.l { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.l > span { display: inline-block; }
.js .heros h1 .l > span { transform: translateY(108%); transition: transform 1.1s var(--courbe); }
.js .est-ouvert h1 .l > span { transform: none; }
.js .est-ouvert h1 .l:nth-child(2) > span { transition-delay: 0.1s; }
.js .est-ouvert h1 .l:nth-child(3) > span { transition-delay: 0.2s; }
.js .heros .apparait-heros { opacity: 0; transform: translateY(18px); transition: opacity 0.9s 0.55s, transform 0.9s var(--courbe) 0.55s; }
.js .est-ouvert .apparait-heros { opacity: 1; transform: none; }
.defiler { position: absolute; right: var(--gouttiere); bottom: calc(30px + env(safe-area-inset-bottom)); z-index: 3; width: 1.5px; height: 56px; background: rgba(255,255,255,.3); overflow: hidden; }
.defiler::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: #fff; animation: goutte 1.8s var(--courbe-douce) infinite; }
@keyframes goutte { to { top: 100%; } }

/* ---------- Rubans défilants ---------- */
.ruban { overflow: hidden; padding: clamp(16px, 2.6vw, 26px) 0; border-bottom: 1px solid var(--ligne); }
.ruban__piste { display: flex; width: max-content; animation: ruban 38s linear infinite; }
.ruban--inverse .ruban__piste { animation-direction: reverse; animation-duration: 46s; }
.ruban span { white-space: nowrap; font-size: clamp(1.5rem, 4.2vw, 3.4rem); font-weight: 800; font-stretch: 112%; letter-spacing: -0.03em; padding-right: 0.7em; line-height: 1.1; }
.ruban span::after { content: "✦"; color: var(--accent); font-size: 0.5em; vertical-align: 0.35em; margin-left: 0.7em; -webkit-text-stroke: 0; }
.ruban--creux span { color: transparent; -webkit-text-stroke: 1.2px var(--encre); }
@keyframes ruban { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.bloc { padding: clamp(80px, 11vw, 160px) 0; position: relative; }
.bloc--serre { padding-top: clamp(40px, 6vw, 80px); }
.bloc--lait { background: var(--lait); }
.nuit { background: var(--encre); color: #fff; }
.titre-bloc { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 80px); }
.titre-bloc h2 { margin: 0; }
@media (min-width: 900px) { .titre-bloc--deux { grid-template-columns: 1.15fr 1fr; align-items: end; gap: 80px; } .titre-bloc--deux .chapeau { margin: 0; } }

/* Compétences : grandes lignes ; image qui suit la souris sur ordinateur */
.competences { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ligne); }
.competences li { border-bottom: 1px solid var(--ligne); }
.competences a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding: clamp(20px, 2.6vw, 30px) 0; text-decoration: none; transition: padding 0.5s var(--courbe), color 0.3s; }
.competences h3 { margin: 0; font-size: clamp(1.55rem, 4.2vw, 3.3rem); letter-spacing: -0.035em; font-stretch: 112%; line-height: 1; }
.competences p { margin: 8px 0 0; color: var(--gris); font-size: 15px; max-width: 62ch; }
.competences .vignette { width: 72px; height: 72px; overflow: hidden; background: var(--lait); }
.competences .vignette img, .competences .vignette picture { width: 100%; height: 100%; object-fit: cover; }
.competences .vignette--vide { display: grid; place-items: center; background: var(--encre); color: var(--accent); font-size: 26px; }
.competences .fleche { display: none; }
@media (hover: hover) and (pointer: fine) {
  .competences .vignette { display: none; }
  .competences .fleche { display: block; width: 46px; height: 46px; border: 1.5px solid currentColor; border-radius: 50%; position: relative; transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.5s var(--courbe); }
  .competences .fleche::before { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: translate(-65%, -50%) rotate(45deg); }
  .competences a:hover { padding-left: 22px; color: var(--accent); }
  .competences a:hover .fleche { background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(-45deg); }
}
.suiveur { position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none; width: 300px; aspect-ratio: 4 / 5; overflow: hidden; opacity: 0; transition: opacity 0.35s; }
.suiveur.est-visible { opacity: 1; }
.suiveur img { width: 100%; height: 100%; object-fit: cover; }

/* Formats verticaux, façon réels */
.formats { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gouttiere) 24px; scroll-padding: 0 var(--gouttiere); scrollbar-width: none; overscroll-behavior-x: contain; }
.formats::-webkit-scrollbar { display: none; }
.format { position: relative; flex: 0 0 min(66vw, 270px); aspect-ratio: 9 / 16; overflow: hidden; scroll-snap-align: start; background: var(--encre); color: #fff; border-radius: 16px; }
.format picture, .format img, .format video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.format img { transition: transform 1.2s var(--courbe); }
.format:hover img { transform: scale(1.06); }
.format::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,0) 25%, rgba(0,0,0,0) 50%, rgba(0,0,0,.85) 100%); }
.format--texte { background: var(--accent); }
.format video { background: var(--encre); }
.format--texte::after { display: none; }
.format__haut { position: absolute; top: 12px; left: 12px; right: 12px; z-index: 1; display: flex; gap: 4px; }
.format__haut i { flex: 1; height: 2.5px; border-radius: 2px; background: rgba(255,255,255,.35); overflow: hidden; }
.format__haut i::after { content: ""; display: block; height: 100%; width: 0; background: #fff; }
.format.est-vu .format__haut i:first-child::after { animation: remplir 4s linear forwards; }
.format.est-vu .format__haut i:nth-child(2)::after { animation: remplir 4s linear 4s forwards; }
@keyframes remplir { to { width: 100%; } }
.format__pastille { position: absolute; top: 26px; left: 12px; z-index: 1; font-size: 10px; font-weight: 700; font-stretch: 125%; letter-spacing: 0.2em; text-transform: uppercase; background: rgba(0,0,0,.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; padding: 6px 9px; border-radius: 4px; }
.format__bas { position: absolute; left: 16px; right: 16px; bottom: 18px; z-index: 1; }
.format__bas strong { display: block; font-size: 1.3rem; font-weight: 800; font-stretch: 110%; letter-spacing: -0.02em; line-height: 1.08; margin-bottom: 8px; }
.format__bas span { font-size: 13px; color: rgba(255,255,255,.85); line-height: 1.45; display: block; }
.format--texte .format__bas strong { font-size: 1.7rem; }
.formats-tete { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.formats-nav { display: none; }
@media (min-width: 900px) { .format { flex-basis: 270px; } .formats-nav { display: flex; gap: 10px; flex: none; } }
.formats-nav button { width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--encre); background: transparent; cursor: pointer; font-size: 20px; color: var(--encre); transition: background 0.3s, color 0.3s; }
.formats-nav button:hover { background: var(--encre); color: #fff; }

/* Bandeau cinémascope avec parallaxe */
.scope { position: relative; overflow: hidden; aspect-ratio: 2.39 / 1; background: #000; color: #fff; }
@media (max-width: 760px) { .scope { aspect-ratio: auto; min-height: 112vw; } }
.scope__media { position: absolute; inset: -12% 0; will-change: transform; }
.scope__media picture, .scope__media img { width: 100%; height: 100%; object-fit: cover; }
.scope::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.78), rgba(0,0,0,0) 65%); }
.scope__texte { position: absolute; inset: auto 0 0 0; z-index: 1; padding: clamp(28px, 5vw, 72px) 0; }
.scope__texte h2 { max-width: 15ch; }
.scope__texte p { color: rgba(255,255,255,.86); max-width: 50ch; }

/* Duo texte + image */
.duo { display: grid; gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (min-width: 900px) { .duo { grid-template-columns: 1fr 1fr; } .duo--inverse > :first-child { order: 2; } }
.cadre-image { position: relative; overflow: hidden; margin: 0; background: var(--lait); }
.cadre-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.cadre-image--large img { aspect-ratio: 3 / 2; }
.cadre-image figcaption { position: absolute; left: 0; bottom: 0; background: #fff; color: var(--encre); font-size: 10px; font-weight: 700; font-stretch: 125%; letter-spacing: 0.2em; text-transform: uppercase; padding: 9px 12px; }

/* Listes */
.liste { list-style: none; margin: 0 0 1.4em; padding: 0; border-top: 1px solid var(--ligne); }
.liste li { padding: 14px 0 14px 32px; border-bottom: 1px solid var(--ligne); position: relative; }
.liste li::before { content: ""; position: absolute; left: 2px; top: 25px; width: 14px; height: 2px; background: var(--accent); }
.nuit .liste, .nuit .liste li { border-color: var(--ligne-claire); }

/* Étapes avec trait qui se remplit au défilement */
.etapes { position: relative; list-style: none; margin: 0; padding: 0 0 0 36px; display: grid; gap: 40px; }
.etapes::before, .etapes::after { content: ""; position: absolute; left: 7px; top: 8px; width: 2px; }
.etapes::before { bottom: 8px; background: var(--ligne); }
.etapes::after { height: calc((100% - 16px) * var(--progres, 0)); background: var(--accent); }
.etapes li { position: relative; }
.etapes li::before { content: ""; position: absolute; left: -36px; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid rgba(14,14,16,.25); transition: border-color 0.4s, background 0.4s; z-index: 1; }
.bloc--lait .etapes li::before { background: var(--lait); }
.etapes li.est-atteint::before { border-color: var(--accent); background: var(--accent); }
.etapes li > span { font-size: 11px; font-weight: 700; font-stretch: 125%; letter-spacing: 0.22em; color: var(--gris); text-transform: uppercase; }
.etapes h3 { margin: 6px 0 8px; }
.etapes p { margin: 0; color: var(--gris); max-width: 52ch; }
@media (min-width: 1000px) {
  .etapes { grid-template-columns: repeat(4, 1fr); padding: 36px 0 0; gap: 32px; }
  .etapes::before { left: 8px; right: 8px; top: 7px; bottom: auto; width: auto; height: 2px; }
  .etapes::after { left: 8px; top: 7px; height: 2px; width: calc((100% - 16px) * var(--progres, 0)); }
  .etapes li::before { left: 0; top: -36px; }
}

/* Chiffres */
.chiffres { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ligne-claire); }
@media (min-width: 900px) { .chiffres { grid-template-columns: repeat(4, 1fr); } }
.chiffre { padding: 30px 16px 30px 0; border-bottom: 1px solid var(--ligne-claire); }
.chiffre strong { display: block; font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; font-stretch: 112%; letter-spacing: -0.04em; line-height: 1; }
.chiffre span { display: block; margin-top: 10px; font-size: 14px; color: rgba(255,255,255,.72); max-width: 24ch; }

/* Mosaïque */
/* Bobine : deux rangs de plans qui défilent en sens contraire. */
.bobine-bloc .cadre { margin-bottom: clamp(20px, 3vw, 36px); }
.bobine { overflow: hidden; }
.bobine + .bobine { margin-top: clamp(8px, 1vw, 14px); }
.bobine__piste { display: flex; gap: clamp(8px, 1vw, 14px); width: max-content; animation: bobine 70s linear infinite; }
.bobine--inverse .bobine__piste { animation-direction: reverse; animation-duration: 82s; }
.bobine:hover .bobine__piste { animation-play-state: paused; }
.bobine figure { position: relative; margin: 0; flex: none; width: clamp(200px, 26vw, 320px); aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10px; background: var(--lait); }
.bobine img { width: 100%; height: 100%; object-fit: cover; }
.bobine figcaption { position: absolute; left: 10px; bottom: 10px; padding: 4px 9px; border-radius: 99px; background: rgba(0,0,0,.62); color: #fff; font-size: .78rem; font-weight: 600; letter-spacing: .02em; }
@keyframes bobine { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .bobine { overflow-x: auto; } .bobine__piste { animation: none; } }
.mosaique { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(8px, 1.2vw, 16px); }
.mosaique figure { margin: 0; overflow: hidden; background: var(--lait); }
.mosaique picture { display: block; height: 100%; }
.mosaique img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.mosaique .l { grid-column: span 2; }
.mosaique .l img { aspect-ratio: 16 / 10; }
@media (min-width: 900px) { .mosaique { grid-template-columns: repeat(3, 1fr); } .mosaique .l { grid-column: span 2; grid-row: span 2; } .mosaique .l img { aspect-ratio: auto; position: absolute; inset: 0; } .mosaique .l { position: relative; } }

/* Zones */
.zones { display: flex; flex-wrap: wrap; gap: 8px; }
.zones a, .zones span { text-decoration: none; padding: 11px 16px; border: 1.5px solid var(--ligne); font-size: 15px; font-weight: 600; transition: border-color 0.25s, background 0.25s, color 0.25s; }
.zones a:hover { border-color: var(--encre); background: var(--encre); color: #fff; }

/* Cartes */
.cartes { display: grid; gap: 1px; background: var(--ligne); border: 1px solid var(--ligne); }
@media (min-width: 700px) { .cartes { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .cartes--trois { grid-template-columns: repeat(3, 1fr); } }
.carte { background: #fff; padding: clamp(24px, 3vw, 36px); text-decoration: none; display: flex; flex-direction: column; gap: 10px; transition: background 0.35s; }
.bloc--lait .carte { background: var(--lait); }
a.carte:hover { background: var(--encre); color: #fff; }
a.carte:hover p { color: rgba(255,255,255,.75); }
.carte h3 { margin: 0; }
.carte p { margin: 0; color: var(--gris); transition: color 0.35s; }
.carte__prix { margin-top: auto; padding-top: 16px; font-weight: 700; font-stretch: 110%; color: var(--accent-fonce); }

/* FAQ */
.faq { border-top: 1px solid var(--ligne); }
.faq details { border-bottom: 1px solid var(--ligne); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: clamp(1.05rem, 1.8vw, 1.3rem); font-weight: 700; font-stretch: 105%; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat; transition: transform 0.4s var(--courbe), color 0.3s; }
.faq details[open] summary::after { transform: rotate(135deg); color: var(--accent); }
.faq .reponse { padding: 0 0 26px; color: var(--gris); max-width: 70ch; }
.faq .reponse a { color: var(--encre); font-weight: 700; }

/* Tarifs */
.tarifs { display: grid; gap: 1px; background: var(--ligne); border: 1px solid var(--ligne); }
@media (min-width: 760px) { .tarifs { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .tarifs { grid-template-columns: repeat(3, 1fr); } }
.tarif { background: #fff; padding: 32px 28px; display: flex; flex-direction: column; gap: 12px; }
.tarif h3 { margin: 0; }
.tarif__prix { font-size: clamp(2.6rem, 5vw, 3.4rem); font-weight: 800; font-stretch: 112%; letter-spacing: -0.04em; line-height: 1; }
.tarif__prix small { display: block; margin-top: 8px; font-size: 14px; font-weight: 500; letter-spacing: 0; font-stretch: 100%; color: var(--gris); }
.mention { font-size: 14px; color: var(--gris); }

/* Appel final */
.appel { background: var(--encre); color: #fff; padding: clamp(80px, 11vw, 150px) 0; overflow: hidden; }
.appel h2 { font-size: clamp(2.6rem, 8vw, 7rem); max-width: 12ch; }
.appel p { color: rgba(255,255,255,.78); max-width: 50ch; }
.appel .bouton { background: var(--accent); border-color: var(--accent); }
.appel .bouton::before { background: #fff; }
.appel .bouton:hover { color: var(--encre); border-color: #fff; }
.appel .bouton--ligne { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }

/* Pages intérieures */
.page-entete { padding: clamp(130px, 18vw, 200px) 0 clamp(40px, 6vw, 72px); }
.page-entete h1 { font-size: clamp(2.6rem, 7.6vw, 6.4rem); max-width: 15ch; }
.fil { font-size: 10px; font-weight: 700; font-stretch: 125%; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gris); margin-bottom: 28px; }
.fil a { text-decoration: none; } .fil a:hover { color: var(--encre); }
.page-image { overflow: hidden; margin: 0; background: var(--lait); }
.page-image img { width: 100%; aspect-ratio: 2.39 / 1; object-fit: cover; }
@media (max-width: 700px) { .page-image img { aspect-ratio: 4 / 3; } }
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin-top: 1.4em; }
.prose a { color: var(--encre); font-weight: 700; }

/* Formulaire */
.formulaire { display: grid; gap: 22px; }
.onglets { display: grid; grid-template-columns: 1fr 1fr; border: 1.5px solid var(--encre); }
.onglets button { min-height: 56px; border: 0; background: transparent; font: inherit; font-size: 15px; font-weight: 700; font-stretch: 108%; cursor: pointer; color: var(--encre); transition: background 0.3s, color 0.3s; padding: 0 10px; }
.onglets button[aria-selected="true"] { background: var(--encre); color: #fff; }
.rang { display: grid; gap: 22px; }
@media (min-width: 700px) { .rang { grid-template-columns: 1fr 1fr; } }
.champ { display: grid; gap: 8px; min-width: 0; }
.champ > label, .champ > legend { font-size: 14px; font-weight: 700; padding: 0; }
.champ small { font-weight: 500; color: var(--gris); }
fieldset.champ { border: 0; margin: 0; padding: 0; }
.champ input, .champ select, .champ textarea { width: 100%; font: inherit; font-size: 16px; color: var(--encre); background: var(--lait); border: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: 15px 16px; min-height: 54px; -webkit-appearance: none; appearance: none; transition: border-color 0.25s, background 0.25s; }
.champ textarea { min-height: 160px; resize: vertical; line-height: 1.5; }
.champ select { background-image: linear-gradient(45deg, transparent 50%, var(--encre) 50%), linear-gradient(135deg, var(--encre) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; background: #fff; border-bottom-color: var(--accent); box-shadow: inset 0 0 0 1px var(--ligne); }
.champ.en-erreur input, .champ.en-erreur textarea { border-bottom-color: var(--accent-fonce); }
.aide { font-size: 13px; color: var(--gris); }
.puces { display: flex; flex-wrap: wrap; gap: 8px; }
.puces label { position: relative; cursor: pointer; padding: 12px 16px; border: 1.5px solid var(--ligne); font-size: 15px; font-weight: 600; transition: border-color 0.2s, background 0.2s, color 0.2s; -webkit-user-select: none; user-select: none; }
.puces input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.puces label:has(input:checked) { background: var(--encre); border-color: var(--encre); color: #fff; }
.puces label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.formulaire__etat { min-height: 1.4em; font-weight: 600; margin: 0; }
.formulaire__etat.erreur { color: var(--accent-fonce); }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-grille { display: grid; gap: clamp(48px, 6vw, 96px); align-items: start; }
@media (min-width: 1000px) { .contact-grille { grid-template-columns: 1.55fr 1fr; } .contact-cote { position: sticky; top: 110px; } }
.contact-cote { display: grid; gap: 14px; padding: clamp(28px, 4vw, 44px); background: var(--encre); color: #fff; }
.contact-cote .tel { font-size: clamp(2rem, 4.4vw, 2.9rem); font-weight: 800; font-stretch: 112%; letter-spacing: -0.03em; text-decoration: none; line-height: 1; }
.contact-cote p { margin: 0; color: rgba(255,255,255,.78); }
.contact-cote .bouton { background: var(--accent); border-color: var(--accent); margin-top: 8px; }
.contact-cote .bouton::before { background: #fff; }
.contact-cote .bouton:hover { color: var(--encre); }
.merci { padding: clamp(32px, 5vw, 56px); background: var(--lait); }
.merci h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }

/* Barre d'action fixe sur téléphone */
.barre-mobile { display: none; }
@media (max-width: 980px) {
  .barre-mobile { display: grid; grid-template-columns: 1fr 1.35fr; gap: 8px; position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 55; transform: translateY(170%); transition: transform 0.6s var(--courbe); }
  .barre-mobile.est-visible { transform: none; }
  .barre-mobile a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; font-weight: 700; font-stretch: 108%; font-size: 15px; text-decoration: none; box-shadow: 0 12px 30px -12px rgba(0,0,0,.5); }
  .barre-mobile a:first-child { background: #fff; color: var(--encre); border: 1.5px solid var(--encre); }
  .barre-mobile a:last-child { background: var(--accent); color: #fff; }
  .pied { padding-bottom: calc(110px + env(safe-area-inset-bottom)) !important; }
}

/* Pied de page */
.pied { background: var(--encre); color: rgba(255,255,255,.72); padding: 80px 0 40px; font-size: 15px; overflow: hidden; }
.pied__signature { display: block; font-size: clamp(1.9rem, 8vw, 8.6rem); font-weight: 900; font-stretch: 125%; letter-spacing: -0.045em; line-height: 0.85; color: #fff; margin: 0 0 56px; white-space: nowrap; text-decoration: none; }
.pied__signature span { font-weight: 200; }
.pied__grille { display: grid; gap: 36px; }
@media (min-width: 700px) { .pied__grille { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .pied__grille { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.pied h2 { font-size: 10px; font-weight: 700; font-stretch: 125%; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 16px; line-height: 1.4; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.pied a { text-decoration: none; } .pied a:hover { color: #fff; }
.pied__bas { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--ligne-claire); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: rgba(255,255,255,.5); }

/* ---------- Apparitions au défilement ---------- */
.js .monte { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--courbe), transform 1.1s var(--courbe); }
.js .monte.est-vu { opacity: 1; transform: none; }
/* Le rideau se pose sur l'image et non sur le cadre : Chrome tient compte du
   clip-path de la cible dans IntersectionObserver, un cadre entièrement masqué
   ne serait jamais « vu » et resterait vide. */
.js .devoile picture { display: block; clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--courbe-douce); }
.js .devoile img { transform: scale(1.18); transition: transform 1.8s var(--courbe); }
.js .devoile.est-vu picture { clip-path: inset(0 0 0 0); }
.js .devoile.est-vu img { transform: none; }
.js .titre-l .l > span { transform: translateY(108%); transition: transform 1s var(--courbe); }
.js .titre-l.est-vu .l > span { transform: none; }
.js .titre-l.est-vu .l:nth-child(2) > span { transition-delay: 0.08s; }
.js .titre-l.est-vu .l:nth-child(3) > span { transition-delay: 0.16s; }
.js [data-d="1"] { transition-delay: 0.08s; } .js [data-d="2"] { transition-delay: 0.16s; } .js [data-d="3"] { transition-delay: 0.24s; }
.js .competences li { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--courbe), transform 0.9s var(--courbe); }
.js .competences li.est-vu { opacity: 1; transform: none; }

/* Curseur (souris seulement) */
.curseur { display: none; }
@media (hover: hover) and (pointer: fine) {
  .curseur { display: grid; place-items: center; position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--accent); transition: width 0.35s var(--courbe), height 0.35s var(--courbe), margin 0.35s var(--courbe), opacity 0.25s, background 0.3s; opacity: 0; color: #fff; font-size: 10px; font-weight: 700; font-stretch: 125%; letter-spacing: 0.15em; text-transform: uppercase; }
  .curseur.est-actif { opacity: 1; }
  .curseur span { opacity: 0; transition: opacity 0.2s; }
  .curseur.sur-lien { width: 46px; height: 46px; margin: -23px 0 0 -23px; background: rgba(255, 59, 20, 0.2); }
  .curseur.sur-image { width: 90px; height: 90px; margin: -45px 0 0 -45px; background: var(--accent); }
  .curseur.sur-image span { opacity: 1; }
  .curseur.sur-champ { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .monte, .js .competences li { opacity: 1; transform: none; }
  .js .devoile picture { clip-path: none; } .js .devoile img { transform: none; }
  .rideau { display: none; }
  .js .heros h1 .l > span, .js .titre-l .l > span, .js .heros .apparait-heros { transform: none; opacity: 1; }
  .ruban__piste { animation: none; }
}
