/* Peak Films · page de vente motion design (v2, condensée)
   Mise en page : une suite de « plans » plein cadre qui alternent nuit / brume, comme le film ; le défilement fait office de tête de lecture. */

@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url(../fonts/archivo-100_900-normal-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url(../fonts/archivo-100_900-normal-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-style: italic; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url(../fonts/archivo-100_900-italic-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: italic; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url(../fonts/archivo-100_900-italic-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/ibm-plex-mono-400-normal-latin.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/ibm-plex-mono-500-normal-latin.woff2) format("woff2"); }

:root {
  color-scheme: dark;
  interpolate-size: allow-keywords;
  /* Couleurs du film */
  --nuit: #0B1124;
  --abysse: #060B18;
  --encre: #F4F1EA;
  --encre-2: rgba(244, 241, 234, .74);
  --encre-3: rgba(244, 241, 234, .55);
  --ambre: #E2A23A;
  --ambre-vif: #F2BE5C;
  --ambre-fonce: #8F5A0C;
  --marine: #1F3163;
  --marine-2: rgba(31, 49, 99, .76);
  --brume: #F3F1EE;
  --lavande: #E5E1F5;
  --peche: #F6E2CC;
  --filet: rgba(244, 241, 234, .12);
  --filet-clair: rgba(31, 49, 99, .14);
  /* Typo */
  --display: "Archivo", "Arial Black", sans-serif;
  --texte: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --t-hero: clamp(2.35rem, .9rem + 5vw, 5.6rem);
  --t-h2: clamp(1.9rem, 1rem + 2.8vw, 3.7rem);
  --t-h3: clamp(1.2rem, 1.05rem + .5vw, 1.45rem);
  --t-chapo: clamp(1.05rem, .98rem + .3vw, 1.22rem);
  --t-mono: .74rem;
  /* Espace */
  --gouttiere: clamp(16px, 4.2vw, 56px);
  --plan: clamp(64px, 2.4rem + 3.6vw, 120px);
  --rayon: 22px;
  --sortie: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; scrollbar-color: rgba(226, 162, 58, .55) var(--abysse); scrollbar-width: thin; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--nuit);
  color: var(--encre);
  font-family: var(--texte);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  caret-color: var(--ambre);
}
img, video, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--ambre); color: var(--nuit); }
:focus-visible { outline: 2px solid var(--ambre); outline-offset: 3px; border-radius: 6px; }

/* Grain du film */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(4) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-1%, -2%); } 100% { transform: translate(0, 0); } }

.evitement { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ambre); color: var(--nuit); padding: .7em 1.1em; border-radius: 999px; font-weight: 700; text-decoration: none; }
.evitement:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.enveloppe { width: 100%; max-width: 1340px; margin-inline: auto; padding-inline: var(--gouttiere); }

/* Plans : les sols du film */
.scene { position: relative; isolation: isolate; }
.scene--nuit {
  background:
    radial-gradient(60% 55% at 12% 0%, rgba(58, 160, 255, .14), transparent 70%),
    radial-gradient(45% 50% at 92% 100%, rgba(226, 162, 58, .06), transparent 70%),
    var(--nuit);
  color: var(--encre);
}
.scene--brume {
  color-scheme: light;
  background:
    radial-gradient(55% 60% at 8% 0%, var(--lavande), transparent 70%),
    radial-gradient(50% 55% at 96% 100%, var(--peche), transparent 72%),
    var(--brume);
  color: var(--marine);
  --filet: var(--filet-clair);
}
.scene--brume ::selection { background: var(--marine); color: var(--brume); }
.scene--ambre {
  color-scheme: light;
  background: radial-gradient(60% 90% at 88% 0%, #F6C66B, transparent 70%), radial-gradient(50% 80% at 0% 100%, #C9861F, transparent 70%), var(--ambre);
  color: var(--nuit);
}
.scene--ambre ::selection { background: var(--nuit); color: var(--ambre); }

/* Typographie */
.titre { font-family: var(--display); font-weight: 800; font-stretch: 125%; font-size: var(--t-h2); line-height: 1; letter-spacing: -.035em; text-wrap: balance; }
.titre em, .hero-titre em {
  font-style: italic; font-weight: 300; font-stretch: 100%; letter-spacing: -.02em; color: var(--ambre); padding-right: .04em;
}
.scene--brume .titre em { color: var(--ambre-fonce); }
.scene--ambre .titre em { color: var(--nuit); }
.chapo { font-size: var(--t-chapo); line-height: 1.5; max-width: 58ch; color: var(--encre-2); text-wrap: pretty; }
.scene--brume .chapo { color: var(--marine-2); }
.mono { font-family: var(--mono); font-size: var(--t-mono); letter-spacing: .12em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.entete { display: grid; gap: clamp(14px, 1.6vw, 22px); margin-bottom: clamp(28px, 3.2vw, 48px); }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; gap: .65em;
  min-height: 52px; padding: .85em 1.45em; border-radius: 999px;
  font-family: var(--texte); font-weight: 650; font-stretch: 112%; font-size: 1rem; letter-spacing: -.005em;
  text-decoration: none; white-space: nowrap;
  transition: transform .5s var(--sortie), background-color .3s, box-shadow .5s var(--sortie), color .3s, border-color .3s;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; transition: translate .4s var(--sortie); }
.btn:hover svg { translate: 3px 0; }
.btn--ambre { background: var(--ambre); color: var(--nuit); box-shadow: 0 10px 24px -12px rgba(4, 7, 16, .55); }
.btn--ambre:hover { background: var(--ambre-vif); transform: translateY(-2px); box-shadow: 0 16px 32px -14px rgba(4, 7, 16, .6); }
.btn--ligne { border: 1px solid rgba(31, 49, 99, .3); color: var(--marine); min-height: 46px; padding: .7em 1.2em; font-size: .95rem; }
.btn--ligne:hover { background: var(--marine); color: var(--brume); border-color: var(--marine); }
.btn--petit { min-height: 42px; padding: .6em 1.1em; font-size: .9rem; }

/* Navigation */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 110; padding-top: env(safe-area-inset-top, 0px); transition: background-color .4s, border-color .4s; border-bottom: 1px solid transparent; }
.nav.est-compacte { background: rgba(6, 11, 24, .74); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); border-bottom-color: rgba(244, 241, 234, .08); }
.nav-int { display: flex; align-items: center; gap: clamp(14px, 2vw, 32px); height: 70px; }
.nav-logo { display: block; flex: none; margin-right: auto; transition: opacity .3s; }
.nav-logo:hover { opacity: .8; }
.nav-logo img { height: 42px; width: auto; }
.nav-liens { display: none; gap: clamp(16px, 2vw, 30px); font-size: .93rem; font-weight: 500; }
.nav-liens a { text-decoration: none; color: var(--encre-2); transition: color .25s; }
.nav-liens a:hover { color: var(--encre); }
@media (min-width: 900px) { .nav-liens { display: flex; } }

/* ============ Héros ============ */
.js .intro { opacity: 0; animation: secours 0s 2.8s forwards; }
@keyframes secours { to { opacity: 1; } }
.hero { padding-top: calc(118px + env(safe-area-inset-top, 0px)); padding-bottom: clamp(48px, 5vw, 88px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -10% -10% auto -10%; height: 90%; z-index: -1; pointer-events: none;
  background:
    conic-gradient(from 200deg at 18% -10%, transparent 0deg, rgba(90, 150, 255, .16) 18deg, transparent 40deg, rgba(90, 150, 255, .09) 62deg, transparent 90deg),
    radial-gradient(40% 40% at 78% 30%, rgba(226, 162, 58, .1), transparent 70%);
  filter: blur(6px);
}
.hero-texte { display: grid; gap: clamp(20px, 2.2vw, 30px); justify-items: start; }
.hero-titre { font-family: var(--display); font-weight: 800; font-stretch: 118%; font-size: var(--t-hero); line-height: .98; letter-spacing: -.04em; max-width: 15.5em; text-wrap: balance; }
.hero-titre .l { display: block; }
.hero-sous { font-size: var(--t-chapo); line-height: 1.5; color: var(--encre-2); max-width: 52ch; text-wrap: pretty; }
.hero-scene { margin-top: clamp(36px, 4.5vw, 64px); perspective: 1600px; perspective-origin: 50% 0%; }
.lecteur {
  position: relative; width: min(100%, 1240px); margin-inline: auto; aspect-ratio: 16 / 9; max-width: 100%;
  border-radius: clamp(14px, 1.8vw, var(--rayon)); overflow: hidden; background: var(--abysse) url(../media/film-affiche.jpg?v=12) center / cover;
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(244, 241, 234, .12);
  transform-origin: 50% 0%; will-change: transform; cursor: pointer;
}
.lecteur-video { width: 100%; height: 100%; object-fit: cover; }
.lecteur::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(6, 11, 24, 0) 60%, rgba(6, 11, 24, .45)); transition: opacity .5s; }
.lecteur-son { position: absolute; left: 50%; top: 50%; z-index: 2; translate: -50% -50%; display: grid; justify-items: center; gap: 12px; transition: opacity .4s; }
.lecteur-son .rond {
  width: clamp(72px, 7.5vw, 108px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: rgba(11, 17, 36, .4); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(244, 241, 234, .3), 0 20px 50px -20px rgba(0, 0, 0, .7);
  transition: transform .6s var(--sortie), background-color .3s;
}
.lecteur-son .rond svg { width: 40%; height: 40%; translate: 6% 0; color: var(--ambre); }
.lecteur-son .etiquette { font-family: var(--mono); font-size: var(--t-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--encre); background: rgba(6, 11, 24, .55); padding: .45em .9em; border-radius: 999px; }
.lecteur:hover .rond { transform: scale(1.07); background: rgba(11, 17, 36, .55); }
.lecteur.en-lecture { cursor: auto; }
.lecteur.en-lecture .lecteur-son, .lecteur.en-lecture::after { opacity: 0; pointer-events: none; }
@media (max-width: 560px) { .lecteur-son .etiquette { display: none; } }

/* ============ Formules ============ */
.formules { padding-block: var(--plan); }
.offres.defile-piste { padding-block: 16px 24px; }
.offre {
  position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; flex: 0 0 min(310px, 82vw); scroll-snap-align: start;
  padding: 26px 24px 24px; border-radius: var(--rayon);
  background: rgba(255, 255, 255, .62);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .85), 0 18px 40px -30px rgba(31, 49, 99, .35);
}
.offre h3 { font-family: var(--display); font-weight: 800; font-stretch: 118%; font-size: var(--t-h3); letter-spacing: -.03em; line-height: 1.05; }
.offre-pour { color: var(--marine-2); font-size: .95rem; }
.prix { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--filet-clair); font-weight: 700; font-stretch: 110%; font-size: clamp(1.25rem, 1.1rem + .45vw, 1.5rem); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.prix span { font-size: .9rem; font-weight: 500; letter-spacing: 0; color: var(--marine-2); white-space: nowrap; }
.offre-inclus { display: grid; gap: 8px; font-size: .95rem; margin-bottom: 10px; }
.offre-inclus li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; }
.offre-inclus svg { width: 18px; height: 18px; margin-top: 3px; color: var(--ambre-fonce); }
.offre .btn { margin-top: auto; align-self: flex-start; }
.offre-badge { position: absolute; top: -11px; left: 24px; padding: .35em .85em; border-radius: 999px; background: var(--ambre); color: var(--nuit); font-family: var(--mono); font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 6px 14px -6px rgba(4, 7, 16, .5); }
.offre--phare {
  color-scheme: dark; color: var(--encre);
  background: radial-gradient(90% 70% at 0% 0%, rgba(58, 160, 255, .22), transparent 60%), radial-gradient(80% 60% at 100% 100%, rgba(226, 162, 58, .18), transparent 60%), var(--nuit);
  box-shadow: 0 40px 80px -36px rgba(11, 17, 36, .7), 0 0 0 1px rgba(226, 162, 58, .35);
}
.offre--phare .offre-pour, .offre--phare .prix span { color: var(--encre-2); }
.offre--phare .prix { border-top-color: rgba(244, 241, 234, .14); }
.offre--phare .offre-inclus svg { color: var(--ambre); }
.offre--phare .btn--ligne { border-color: transparent; background: var(--ambre); color: var(--nuit); }
.offre--phare .btn--ligne:hover { background: var(--ambre-vif); }

/* ============ Chiffres (bande ambre à jauges) ============ */
.chiffres { padding-block: clamp(40px, 4.5vw, 64px); }
.chiffres-grille { display: grid; gap: 22px; }
@media (min-width: 960px) { .chiffres-grille { grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr); gap: 48px; align-items: center; } }
.chiffres .titre { font-size: clamp(1.6rem, 1rem + 1.6vw, 2.5rem); }
.source { margin-top: 12px; font-size: .8rem; color: rgba(11, 17, 36, .78); max-width: 40ch; }
.source a { color: var(--nuit); }
.mesures { display: grid; gap: 14px 28px; }
.mesures li { display: grid; grid-template-columns: minmax(4.2rem, auto) minmax(0, 1fr); gap: 6px 16px; align-items: center; }
.mesures b { grid-row: span 2; font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: clamp(1.7rem, 1.25rem + 1.3vw, 2.5rem); letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.jauge { display: block; height: 6px; border-radius: 3px; background: rgba(11, 17, 36, .14); overflow: hidden; }
.jauge i { display: block; height: 100%; width: calc(var(--v) * 100%); border-radius: 3px; background: var(--nuit); transform-origin: 0 50%; }
.mesures p { font-size: .88rem; line-height: 1.35; color: rgba(11, 17, 36, .82); }
@media (min-width: 700px) {
  .mesures { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mesures li { grid-template-columns: none; align-content: start; }
  .mesures b { grid-row: auto; }
}

/* ============ Besoins ============ */
.besoins { padding-block: var(--plan); }
.onglets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.onglet { min-height: 46px; padding: .7em 1.2em; border-radius: 999px; font-weight: 600; font-stretch: 110%; font-size: .95rem; color: var(--encre-2); box-shadow: inset 0 0 0 1px rgba(244, 241, 234, .22); transition: background-color .3s, color .3s, box-shadow .3s; }
.onglet:hover { color: var(--encre); box-shadow: inset 0 0 0 1px rgba(244, 241, 234, .45); }
.onglet[aria-selected="true"] { background: var(--encre); color: var(--nuit); box-shadow: none; }
.panneau { display: grid; gap: 1px; border-radius: var(--rayon); overflow: hidden; background: rgba(244, 241, 234, .1); box-shadow: 0 0 0 1px rgba(244, 241, 234, .1), 0 40px 90px -50px rgba(0, 0, 0, .8); }
.panneau > div { display: grid; gap: 12px; align-content: start; padding: clamp(22px, 2.4vw, 32px); background: rgba(11, 17, 36, .94); min-width: 0; }
.panneau h3 { color: var(--encre-3); }
.panneau p { font-size: clamp(1.03rem, .98rem + .25vw, 1.18rem); line-height: 1.45; text-wrap: pretty; }
.panneau .conseil { background: linear-gradient(150deg, rgba(226, 162, 58, .22), rgba(11, 17, 36, .94) 70%); }
.panneau .conseil a { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-stretch: 118%; font-size: clamp(1.35rem, 1.1rem + .9vw, 1.8rem); letter-spacing: -.03em; line-height: 1.05; text-decoration: none; color: var(--ambre); }
.panneau .conseil a svg { width: 22px; height: 22px; flex: none; transition: translate .4s var(--sortie); }
.panneau .conseil a:hover svg { translate: 4px 0; }
.panneau .conseil small { color: var(--encre-2); font-size: .92rem; }
@media (min-width: 900px) { .panneau { grid-template-columns: 1fr 1fr .9fr; } }

/* ============ Réalisations : défilement ============ */
.realisations { padding-block: var(--plan); overflow: hidden; }
.realisations-tete { margin-bottom: clamp(26px, 3vw, 42px); }
.defile-bas { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.defile-pause { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--marine-2); box-shadow: inset 0 0 0 1px rgba(31, 49, 99, .22); transition: color .3s, box-shadow .3s; }
.defile-pause:hover { color: var(--marine); box-shadow: inset 0 0 0 1px var(--marine); }
.defile-pause svg { width: 12px; height: 12px; }
.defile-pause .ic-lecture, .defile-pause[aria-pressed="true"] .ic-pause { display: none; }
.defile-pause[aria-pressed="true"] .ic-lecture { display: block; }
.defile { --marge: max(var(--gouttiere), calc((100vw - 1340px) / 2 + var(--gouttiere))); --h: clamp(340px, 16vw + 170px, 400px); }
.defile-piste { position: relative; display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--marge); padding-inline: var(--marge); padding-block: 4px 8px; scrollbar-width: none; overscroll-behavior-x: contain; }
.defile-piste::-webkit-scrollbar { display: none; }
.diapo { --hh: min(var(--h), calc(86vw / var(--r, 1.7778))); flex: 0 0 calc(var(--hh) * var(--r, 1.7778)); scroll-snap-align: start; display: grid; gap: 12px; align-content: start; }
.diapo-image { position: relative; display: block; width: 100%; height: var(--hh); border-radius: 18px; overflow: hidden; background: var(--nuit); text-decoration: none; color: var(--encre); box-shadow: 0 30px 70px -36px rgba(11, 17, 36, .7); transition: opacity .6s var(--sortie), scale .8s var(--sortie); }
.js .diapo:not(.actif) .diapo-image { opacity: .72; scale: .97; }
.diapo-image video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--sortie); }
.diapo-image:hover video { scale: 1.04; }
.diapo-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(6, 11, 24, .7)); pointer-events: none; }
.diapo-lire { position: absolute; left: 18px; bottom: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-stretch: 110%; }
.diapo-lire i { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--ambre); color: var(--nuit); box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .6); transition: scale .5s var(--sortie); }
.diapo-lire i svg { width: 16px; height: 16px; translate: 1px 0; }
.diapo-image:hover .diapo-lire i { scale: 1.1; }
.diapo-texte { display: grid; gap: 2px; padding-inline: 4px; }
.diapo-texte .mono { color: var(--ambre-fonce); }
.diapo-texte h3 { font-family: var(--display); font-weight: 800; font-stretch: 118%; font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem); letter-spacing: -.03em; line-height: 1.15; }
.diapo-texte p { color: var(--marine-2); max-width: 56ch; }
.defile-reperes { display: flex; gap: 6px; }
.repere { position: relative; width: 56px; height: 28px; }
.repere::before, .repere i { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 2px; }
.repere::before { background: rgba(31, 49, 99, .18); }
.repere i { background: var(--marine); transform-origin: 0 50%; transform: scaleX(0); }

/* ============ Références ============ */
.references { padding-block: var(--plan); overflow: hidden; }
.references-tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 40px; margin-bottom: clamp(22px, 2.4vw, 36px); }
.note-avis { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--encre-2); font-size: .95rem; }
.note-avis b { font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: 2.3rem; letter-spacing: -.04em; line-height: 1; color: var(--ambre); }
.note-avis span { border-bottom: 1px solid rgba(244, 241, 234, .3); padding-bottom: 1px; transition: border-color .3s, color .3s; }
.note-avis:hover span { color: var(--encre); border-color: var(--ambre); }
.defilant { position: relative; padding-block: 10px; -webkit-mask: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.defilant-piste { display: flex; width: max-content; animation: defilant 75s linear infinite; }
.defilant:hover .defilant-piste, .defilant.en-pause .defilant-piste { animation-play-state: paused; }
.defilant { cursor: pointer; }
.defilant ul { display: flex; align-items: center; gap: clamp(34px, 3.6vw, 56px); padding-right: clamp(34px, 3.6vw, 56px); }
.defilant img { width: auto; max-width: 120px; object-fit: contain; opacity: .72; transition: opacity .3s; }
.defilant li:hover img { opacity: 1; }
@keyframes defilant { to { transform: translateX(-50%); } }
.avis { display: grid; gap: 14px; margin-top: clamp(28px, 3vw, 44px); }
@media (min-width: 960px) { .avis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.avis-carte { display: grid; gap: 16px; align-content: space-between; padding: clamp(20px, 2vw, 28px); border-radius: var(--rayon); background: linear-gradient(160deg, rgba(244, 241, 234, .07), rgba(244, 241, 234, .02)); box-shadow: inset 0 0 0 1px rgba(244, 241, 234, .1); }
.avis-carte p { font-size: .95rem; line-height: 1.5; text-wrap: pretty; }
.avis-carte--une { background: radial-gradient(90% 70% at 0% 0%, rgba(226, 162, 58, .16), transparent 60%), linear-gradient(160deg, rgba(244, 241, 234, .07), rgba(244, 241, 234, .02)); }
.avis-carte blockquote::before { content: "«"; display: block; font-family: var(--display); font-weight: 800; font-size: 2.6rem; line-height: .7; color: var(--ambre); margin-bottom: 8px; }
.avis-carte figcaption { display: grid; gap: 2px; }
.avis-carte figcaption b { font-weight: 700; font-stretch: 110%; }
.avis-carte figcaption span { color: var(--encre-2); font-size: .92rem; }

/* ============ Contact ============ */
.contact { padding-block: var(--plan); }
.contact-grille { display: grid; gap: 24px; }
@media (min-width: 1000px) { .contact-grille { grid-template-columns: minmax(0, 1.5fr) minmax(0, .7fr); gap: 28px; align-items: start; } .direct { position: sticky; top: 96px; } }
.brief { display: grid; gap: 26px; padding: clamp(22px, 3vw, 38px); border-radius: 26px; background: rgba(255, 255, 255, .74); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px #fff, 0 40px 90px -50px rgba(31, 49, 99, .55); }
.brief fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; min-width: 0; }
.brief legend { padding: 0; margin-bottom: 12px; font-weight: 700; font-stretch: 110%; font-size: 1.05rem; }
.puces { display: flex; flex-wrap: wrap; gap: 8px; }
.puce { position: relative; }
.puce input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.puce span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: .55em 1.05em; border-radius: 999px; font-size: .95rem; font-weight: 500; box-shadow: inset 0 0 0 1px rgba(31, 49, 99, .22); background: rgba(255, 255, 255, .6); transition: background-color .25s, color .25s, box-shadow .25s; }
.puce:hover span { box-shadow: inset 0 0 0 1px rgba(31, 49, 99, .5); }
.puce input:checked + span { background: var(--marine); color: var(--brume); box-shadow: none; }
.puce input:checked + span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ambre); }
.puce input:focus-visible + span { outline: 2px solid var(--ambre); outline-offset: 2px; }
.champs { display: grid; gap: 14px; }
@media (min-width: 640px) { .champs { grid-template-columns: 1fr 1fr; } .champ--large { grid-column: 1 / -1; } }
.champ { display: grid; gap: 6px; min-width: 0; }
.champ label { font-size: .88rem; font-weight: 600; }
.champ label small { font-weight: 400; color: var(--marine-2); }
.champ input, .champ textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--marine); padding: .8em 1em; border-radius: 12px; border: 0; background: #fff; box-shadow: inset 0 0 0 1px rgba(31, 49, 99, .2); transition: box-shadow .25s; }
.champ textarea { min-height: 110px; resize: vertical; }
.champ input::placeholder, .champ textarea::placeholder { color: rgba(31, 49, 99, .55); }
.champ input:focus, .champ textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--marine), 0 0 0 4px rgba(226, 162, 58, .35); }
.champ input:user-invalid { box-shadow: inset 0 0 0 2px #B3261E; }
.envoi { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; }
.envoi .btn--ambre { min-height: 56px; }
.envoi .btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.envoi p { font-size: .88rem; color: var(--marine-2); max-width: 40ch; }
.etat-envoi { border-radius: 14px; padding: 16px 18px; font-weight: 500; }
.etat-envoi--ok { background: rgba(31, 49, 99, .08); color: var(--marine); box-shadow: inset 0 0 0 1px rgba(31, 49, 99, .18); }
.etat-envoi--erreur { background: rgba(179, 38, 30, .08); color: #8C1D18; box-shadow: inset 0 0 0 1px rgba(179, 38, 30, .3); }
.direct { display: grid; gap: 18px; padding: clamp(22px, 3vw, 32px); border-radius: 26px; background: var(--nuit); color: var(--encre); box-shadow: 0 40px 90px -50px rgba(11, 17, 36, .8); }
.direct h3 { font-family: var(--display); font-weight: 800; font-stretch: 118%; font-size: 1.35rem; letter-spacing: -.02em; }
.direct p { color: var(--encre-2); }
.direct ul { display: grid; gap: 14px; }
.direct li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.direct li svg { width: 20px; height: 20px; margin-top: 3px; color: var(--ambre); }
.direct a { font-weight: 600; text-decoration: none; user-select: all; }
.direct a:hover { color: var(--ambre-vif); }
.direct .mono { color: var(--encre-3); display: block; margin-bottom: 2px; }

/* ============ Questions ============ */
.questions { padding-block: var(--plan); }
.questions-grille { display: grid; gap: 28px; }
@media (min-width: 980px) { .questions-grille { grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); gap: 56px; align-items: start; } }
.faq { border-top: 1px solid var(--filet); }
.faq details { border-bottom: 1px solid var(--filet); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 0; cursor: pointer; font-weight: 650; font-stretch: 110%; font-size: clamp(1.02rem, .96rem + .3vw, 1.18rem); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 34px; height: 34px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(244, 241, 234, .3); transition: background-color .3s, color .3s, rotate .5s var(--sortie); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; translate: -50% -50%; background: currentColor; }
.faq summary i::after { rotate: 90deg; transition: rotate .4s var(--sortie); }
.faq summary:hover i { box-shadow: inset 0 0 0 1px var(--ambre); }
.faq details[open] summary i { background: var(--ambre); color: var(--nuit); box-shadow: none; rotate: 180deg; }
.faq details[open] summary i::after { rotate: 0deg; }
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size .55s var(--sortie), content-visibility .55s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq .reponse { padding: 0 52px 24px 0; color: var(--encre-2); max-width: 66ch; }

/* ============ Pied ============ */
.pied { padding-block: 48px calc(36px + env(safe-area-inset-bottom, 0px)); background: var(--abysse); color: var(--encre-2); font-size: .92rem; }
.pied-int { display: grid; gap: 24px; }
@media (min-width: 800px) { .pied-int { grid-template-columns: auto 1fr auto; align-items: center; gap: 40px; } }
.pied img { height: 46px; width: auto; transition: opacity .3s; }
.pied a:hover img { opacity: .8; }
.pied nav ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.pied a { text-decoration: none; }
.pied a:hover { color: var(--encre); }

/* Visionneuse */
.visionneuse { --r: 1.7778; width: min(94vw, calc((100svh - 120px) * var(--r)), 1280px); max-width: none; padding: 0; border: 0; border-radius: 18px; background: var(--abysse); color: var(--encre); overflow: hidden; box-shadow: 0 60px 140px -30px rgba(0, 0, 0, .9); }
.visionneuse::backdrop { background: rgba(4, 7, 16, .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.visionneuse video { display: block; width: 100%; aspect-ratio: var(--r); background: #000; }
.visionneuse-barre { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px 12px 20px; }
.visionneuse-barre .mono { color: var(--encre-2); }
.fermer { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(244, 241, 234, .25); }
.fermer:hover { background: rgba(244, 241, 234, .1); }
.fermer svg { width: 18px; height: 18px; }

/* Curseur « Lecture » au-dessus des vidéos */
.curseur { position: fixed; left: 0; top: 0; z-index: 130; pointer-events: none; display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 0 14px; padding: .55em 1em; border-radius: 999px; background: var(--ambre); color: var(--nuit); font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; scale: 0; opacity: 0; transition: scale .35s var(--sortie), opacity .25s; }
.curseur.actif { scale: 1; opacity: 1; }
.curseur svg { width: 10px; height: 10px; }
@media (hover: none), (pointer: coarse) { .curseur { display: none; } }

/* Téléphone : les rangées longues se font glisser au lieu de s'empiler */
@media (max-width: 699px) {
  .avis { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gouttiere)); padding: 14px var(--gouttiere) 8px; scroll-padding-inline: var(--gouttiere); scrollbar-width: none; overscroll-behavior-x: contain; }
  .avis::-webkit-scrollbar { display: none; }
  .avis-carte { flex: 0 0 84%; scroll-snap-align: start; }
  .diapo-lire { font-size: 0; gap: 0; }
  p.glisser { display: block; }
}
.glisser { display: none; margin-top: 10px; font-size: .82rem; color: var(--marine-2); }
.references .glisser { color: var(--encre-3); }

@media (prefers-reduced-motion: reduce) {
  body::after { animation: none; }
  .defilant-piste { animation: none; width: auto; }
  .defilant ul { flex-wrap: wrap; justify-content: center; row-gap: 28px; padding-inline: var(--gouttiere); }
  .defilant ul + ul { display: none; }
  .defilant { -webkit-mask: none; mask: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
