/* Nature Photo · Thomas Pieuchot
   Sobre et élégant : noir, vert, bleus pastel (choix de Tom dans le questionnaire).
   Idée forte : l’appareil photo. Diaphragme, mise au point, collimateur, réglages réels de chaque photo,
   et sur l’accueil un mur de photos en perspective où le collimateur se promène. */

@font-face { font-family: "Cormorant Garamond"; src: url("assets/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("assets/fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("assets/fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("assets/fonts/figtree-latin-wght-normal.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }

:root {
  --nuit: #0F1412;
  --nuit-2: #171E1B;
  --nuit-3: #0A0E0C;
  --brume: #EDF1EF;
  --papier: #F7F8F5;
  --encre: #121816;
  --encre-douce: #46524D;
  --sapin: #2C4A3E;
  --sapin-2: #3A5F50;
  --sauge: #A9C5B4;
  --glacier: #B5D0E1;
  --glacier-vif: #D2E4EF;
  --clair: #EEF2F0;
  --clair-doux: #BCC7C2;
  --af: #9BE0B0;
  --ligne-clair: rgba(18, 24, 22, .14);
  --ligne-sombre: rgba(238, 242, 240, .16);

  --f-titre: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --f-texte: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --conteneur: 77.5rem;
  --gouttiere: 16px;
  --entete-h: 64px;
  --mobile-barre: 62px;

  /* Les quatre coins du viseur, en un seul fond réutilisable */
  --c: rgba(255, 255, 255, .85);
  --l: 22px;
  --e: 1.5px;
  --coins:
    linear-gradient(var(--c), var(--c)) top left / var(--l) var(--e),
    linear-gradient(var(--c), var(--c)) top left / var(--e) var(--l),
    linear-gradient(var(--c), var(--c)) top right / var(--l) var(--e),
    linear-gradient(var(--c), var(--c)) top right / var(--e) var(--l),
    linear-gradient(var(--c), var(--c)) bottom left / var(--l) var(--e),
    linear-gradient(var(--c), var(--c)) bottom left / var(--e) var(--l),
    linear-gradient(var(--c), var(--c)) bottom right / var(--l) var(--e),
    linear-gradient(var(--c), var(--c)) bottom right / var(--e) var(--l);
}
@media (min-width: 600px) { :root { --gouttiere: 28px; } }
@media (min-width: 1100px) { :root { --gouttiere: 2.5rem; --entete-h: 4.75rem; } }
/* Très grands écrans : tout grandit avec la fenêtre (mêmes proportions qu'à 1920 px) */
@media (min-width: 1921px) { html { font-size: calc(100% + (100vw - 1920px) * .008333); } }

/* ------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--entete-h) + 16px); overflow-x: clip; background: var(--nuit); }
html.motion { scroll-behavior: smooth; }
body {
  margin: 0; overflow-x: clip;
  font: 400 1.0625rem/1.65 var(--f-texte); color: var(--encre);
  background: var(--brume);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--mobile-barre) + env(safe-area-inset-bottom));
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
h1, h2, h3 { margin: 0; font-family: var(--f-titre); font-weight: 500; line-height: 1.05; text-wrap: balance; letter-spacing: -.005em; }
h1 { font-size: clamp(2.7rem, 7vw, 5.4rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h3 { font-size: clamp(1.5rem, 2.2vw, 1.85rem); font-weight: 600; line-height: 1.15; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--sapin); outline-offset: 3px; }
.sombre :focus-visible, .entete :focus-visible, .pied :focus-visible, .mur :focus-visible, .traversee :focus-visible, .bandeau :focus-visible, .visionneuse :focus-visible, .barre-mobile :focus-visible { outline-color: var(--glacier); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lien-evitement { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--glacier); color: var(--nuit); padding: 10px 16px; font-weight: 600; }
.lien-evitement:focus { top: 12px; }
.conteneur { width: min(100% - 2 * var(--gouttiere), var(--conteneur)); margin-inline: auto; }
.etroit { max-width: 820px; }
.centre { text-align: center; margin-top: clamp(32px, 4vw, 48px); }
.insecable { white-space: nowrap; }
mark.a-faire { background: #FFE45C; color: var(--encre); padding: 0 .25em; }

/* ------------------------------------------------------------ sections */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--collee { padding-top: 8px; }
.clair { background: var(--brume); color: var(--encre); }
.papier { background: var(--papier); color: var(--encre); }
.sombre { background: var(--nuit); color: var(--clair); }
.tete-section { margin-bottom: clamp(32px, 5vw, 56px); max-width: 760px; }
.tete-section--deux { max-width: none; display: grid; gap: 16px 48px; align-items: end; }
.tete-section--deux > p { color: var(--clair-doux); max-width: 520px; }
@media (min-width: 900px) { .tete-section--deux { grid-template-columns: 1fr 1fr; } }
.surtitre {
  margin: 0 0 14px; font: 600 .75rem/1.3 var(--f-texte); letter-spacing: .2em; text-transform: uppercase; color: var(--sapin);
}
.sombre .surtitre, .mur .surtitre, .traversee .surtitre, .bandeau .surtitre { color: var(--sauge); }
.chapo { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); line-height: 1.55; max-width: 620px; margin-top: 18px; }

/* ------------------------------------------------------------ boutons et liens */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.actions--centre { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border: 1px solid transparent; border-radius: 0;
  font: 600 .8125rem/1.2 var(--f-texte); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-clair { background: var(--glacier); color: var(--nuit); }
.btn-clair:hover { background: var(--glacier-vif); }
.btn-contour { border-color: rgba(238, 242, 240, .6); color: var(--clair); }
.btn-contour:hover { background: rgba(238, 242, 240, .1); border-color: var(--clair); }
.btn-sombre { background: var(--nuit); color: var(--clair); }
.btn-sombre:hover { background: var(--sapin); }
.lien-fleche {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font: 600 .8125rem/1.2 var(--f-texte); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.lien-fleche::after { content: "→"; letter-spacing: 0; transition: transform .2s; }
.lien-fleche:hover::after { transform: translateX(4px); }

/* ------------------------------------------------------------ bandeau « maquette » (mode vitrine seulement) */
.bandeau-maquette {
  margin: 0; padding: 7px var(--gouttiere); background: var(--sauge); color: var(--nuit); text-align: center;
  font: 600 .75rem/1.3 var(--f-texte); letter-spacing: .12em; text-transform: uppercase;
}

/* ------------------------------------------------------------ en-tête */
.entete {
  position: sticky; top: 0; z-index: 50; height: var(--entete-h);
  background: rgba(15, 20, 18, .94); color: var(--clair);
  border-bottom: 1px solid var(--ligne-sombre);
}
@supports (backdrop-filter: blur(8px)) { .entete { background: rgba(15, 20, 18, .82); backdrop-filter: blur(10px); } }
.entete-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.marque { white-space: nowrap; display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; padding-block: 6px; }
.marque-nom { font: 600 1.3rem/1 var(--f-titre); letter-spacing: .24em; text-transform: uppercase; }
.marque-sous { margin-top: 6px; font: 500 .75rem/1 var(--f-texte); letter-spacing: .2em; text-transform: uppercase; color: var(--sauge); }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu a:not(.btn) { text-decoration: none; }
.menu-bouton {
  display: inline-grid; place-items: center; flex: none; width: 48px; height: 48px; margin-right: -10px;
  background: none; border: 0; cursor: pointer;
}
.menu-barres, .menu-barres::before, .menu-barres::after { display: block; width: 24px; height: 1.5px; background: currentColor; transition: transform .25s, opacity .25s; }
.menu-barres { position: relative; }
.menu-barres::before, .menu-barres::after { content: ""; position: absolute; left: 0; }
.menu-barres::before { top: -7px; }
.menu-barres::after { top: 7px; }
.menu-bouton[aria-expanded="true"] .menu-barres { background: transparent; }
.menu-bouton[aria-expanded="true"] .menu-barres::before { transform: translateY(7px) rotate(45deg); }
.menu-bouton[aria-expanded="true"] .menu-barres::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1179.98px) {
  /* Le flou d'arrière-plan ferait du menu fixe un enfant de l'en-tête (hauteur nulle) : pas de flou sur téléphone */
  .entete { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(15, 20, 18, .97); }
  .menu {
    position: fixed; left: 0; right: 0; top: var(--menu-haut, var(--entete-h)); bottom: 0; z-index: 49;
    background: var(--nuit); padding: 24px var(--gouttiere) 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; clip-path: inset(0 0 100% 0); transition: opacity .25s, clip-path .35s, visibility 0s .35s;
  }
  .menu.is-ouvert { opacity: 1; visibility: visible; clip-path: inset(0 0 0 0); transition: opacity .25s, clip-path .35s; }
  .menu li:not(.nav-cta-li) a { display: block; padding: 14px 0; font: 500 2rem/1.1 var(--f-titre); border-bottom: 1px solid var(--ligne-sombre); }
  .menu a[aria-current="page"]:not(.btn) { color: var(--glacier); }
  .nav-cta-li { margin-top: 28px; }
  .nav-cta { width: 100%; }
  html:not(.js) .menu { position: static; opacity: 1; visibility: visible; clip-path: none; padding: 0; }
  html:not(.js) .menu-bouton { display: none; }
}
@media (min-width: 1180px) {
  .menu-bouton { display: none; }
  .menu ul { display: flex; align-items: center; gap: clamp(16px, 1.7vw, 30px); }
  .menu li:not(.nav-cta-li) a {
    position: relative; display: inline-block; padding-block: 12px;
    font: 500 .8125rem/1 var(--f-texte); letter-spacing: .16em; text-transform: uppercase; color: var(--clair-doux);
  }
  .menu li:not(.nav-cta-li) a:hover, .menu li:not(.nav-cta-li) a[aria-current="page"] { color: var(--clair); }
  .menu li:not(.nav-cta-li) a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--sauge); }
  .nav-cta { min-height: 44px; padding: 0 20px; margin-left: 6px; }
}

/* ------------------------------------------------------------ cadre du viseur (réutilisé) */
.cadre { position: absolute; inset: clamp(12px, 2vw, 22px); pointer-events: none; background: var(--coins); background-repeat: no-repeat; }

/* ------------------------------------------------------------ preuve (avis Google) */
.preuve { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 26px; min-height: 44px; font-size: .9375rem; color: var(--clair-doux); text-decoration: none; }
.preuve:hover span:not(.etoiles) { text-decoration: underline; }
.etoiles { display: inline-flex; gap: 2px; color: var(--sauge); }
.etoiles svg { width: 16px; height: 16px; flex: none; }

/* ------------------------------------------------------------ accueil : le mur de photos */
.mur { position: relative; background: #050605; color: var(--clair); }
.mur-scene {
  position: relative; height: calc(100svh - var(--entete-h)); min-height: 36rem; max-height: 68.75rem; overflow: hidden;
  perspective: 1500px; perspective-origin: 60% 40%;
}
@media (max-width: 899.98px) { .mur-scene { height: calc(100svh - var(--entete-h) - var(--mobile-barre)); min-height: 34rem; } }
.mur-plan {
  --g: clamp(10px, 1.1vw, 18px);
  position: absolute; left: 50%; top: 50%; display: flex; gap: var(--g); width: 150vw; height: 230vh;
  transform: translate(-50%, -50%) rotateX(var(--rx, 26deg)) rotateY(var(--ry, 0deg)) rotateZ(-12deg) scale(1.08);
  transform-style: preserve-3d; transition: transform 1.4s cubic-bezier(.2, .7, .2, 1);
}
.mur-col { flex: 1 1 0; min-width: 0; height: 100%; overflow: hidden; }
.mur-piste { will-change: transform; }
.mur-photo { position: relative; margin: 0 0 var(--g); overflow: hidden; background: #121614; border-radius: 2px; }
.mur-photo img { display: block; width: 100%; height: auto; }
.motion .mur-piste { animation: mur-defile var(--duree, 90s) linear infinite; }
.motion .mur-col--2 .mur-piste, .motion .mur-col--4 .mur-piste { animation-direction: reverse; }
.mur.is-hors .mur-piste { animation-play-state: paused; }
@keyframes mur-defile { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@media (max-width: 699.98px) {
  .mur-plan { width: 170vw; }
  .mur-col--4, .mur-col--5 { display: none; }
}
@media (min-width: 700px) and (max-width: 1099.98px) { .mur-col--5 { display: none; } }

.mur-voile {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to top, rgba(5, 6, 5, .96) 0%, rgba(5, 6, 5, .82) 38%, rgba(5, 6, 5, .2) 70%, rgba(5, 6, 5, .45) 100%);
}
@media (min-width: 900px) {
  /* V4 : le mur en WebGL prend le relais du mur en CSS une fois ses photos chargées */
.mur-gl { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s ease; }
.mur--gl .mur-gl { opacity: 1; }
.mur--gl .mur-plan { opacity: 0; transition: opacity 1s ease; }
.mur--gl .mur-piste { animation-play-state: paused; }

.mur-voile {
    background:
      linear-gradient(90deg, rgba(5, 6, 5, .95) 0%, rgba(5, 6, 5, .86) 28%, rgba(5, 6, 5, .35) 52%, rgba(5, 6, 5, .06) 72%, rgba(5, 6, 5, .2) 100%),
      linear-gradient(to top, rgba(5, 6, 5, .7), rgba(5, 6, 5, 0) 30%),
      linear-gradient(to bottom, rgba(5, 6, 5, .45), rgba(5, 6, 5, 0) 22%);
  }
}

.mur-texte { position: absolute; inset: 0; z-index: 3; display: flex; align-items: flex-end; padding-bottom: clamp(24px, 5vh, 56px); pointer-events: none; }
.mur-texte .conteneur > * { pointer-events: auto; max-width: 600px; }
.mur-texte .chapo { color: var(--clair-doux); }
@media (min-width: 900px) {
  .mur-texte { align-items: center; padding-bottom: 0; }
  .mur-texte h1 { font-size: clamp(3.4rem, 6.2vw, 6.4rem); }
  .mur-texte .chapo { color: var(--clair); }
}

/* Téléphone : le mur en haut, le texte en bas, rien ne se chevauche */
@media (max-width: 699.98px) {
  .mur-voile { background: linear-gradient(to top, rgba(5, 6, 5, .97) 0%, rgba(5, 6, 5, .9) 45%, rgba(5, 6, 5, .35) 70%, rgba(5, 6, 5, .25) 100%); }
  .mur-texte { padding-bottom: 22px; }
  .mur-texte .surtitre { margin-bottom: 10px; }
  .mur-texte h1 { font-size: clamp(2.15rem, 9.4vw, 2.6rem); }
  .mur-texte .chapo { margin-top: 12px; font-size: 1rem; line-height: 1.5; }
  .mur-texte .actions { margin-top: 20px; gap: 10px; }
  .mur-texte .btn { min-height: 46px; padding: 0 18px; letter-spacing: .12em; }
  .mur-texte .preuve { margin-top: 12px; }
}

/* Arrivée : le mur se pose, le texte monte */
.motion .mur-plan { animation: mur-entree 2.2s cubic-bezier(.16, .8, .2, 1) backwards; }
@keyframes mur-entree {
  from { transform: translate(-50%, -50%) rotateX(58deg) rotateY(0deg) rotateZ(-24deg) scale(1.6); opacity: 0; }
  30% { opacity: 1; }
}
.motion .mur-texte .conteneur > * { animation: monte 1s cubic-bezier(.2, .7, .2, 1) backwards; }
.motion .mur-texte .conteneur > :nth-child(1) { animation-delay: .7s; }
.motion .mur-texte .conteneur > :nth-child(2) { animation-delay: .82s; }
.motion .mur-texte .conteneur > :nth-child(3) { animation-delay: .96s; }
.motion .mur-texte .conteneur > :nth-child(4) { animation-delay: 1.1s; }
.motion .mur-texte .conteneur > :nth-child(5) { animation-delay: 1.24s; }
@keyframes monte { from { opacity: 0; transform: translateY(24px); } }

/* Le collimateur qui se promène sur le mur */
.mur-af { display: none; }
.motion .mur-af { display: block; position: absolute; left: 0; top: 0; z-index: 2; width: 0; height: 0; pointer-events: none; opacity: 0; transition: opacity .5s; }
.mur.is-vise .mur-af { opacity: 1; }
.mur-af i { position: absolute; left: -42px; top: -31px; width: 84px; height: 62px; border: 1.5px solid rgba(255, 255, 255, .95); box-shadow: 0 0 0 1px rgba(0, 0, 0, .3), 0 0 24px rgba(0, 0, 0, .35); transition: border-color .15s; }
.mur-af i::before, .mur-af i::after { content: ""; position: absolute; left: 50%; top: 50%; background: rgba(255, 255, 255, .9); }
.mur-af i::before { width: 10px; height: 1.5px; margin: -.75px 0 0 -5px; }
.mur-af i::after { width: 1.5px; height: 10px; margin: -5px 0 0 -.75px; }
.mur-af.is-net i { border-color: var(--af); animation: verrou .42s ease-out; }
.mur-af.is-net i::before, .mur-af.is-net i::after { background: var(--af); }
@keyframes verrou { 0% { transform: scale(1.25); } 45% { transform: scale(.88); } 100% { transform: scale(1); } }

.mur-visee { display: none; }
.motion .mur-visee {
  display: grid; position: absolute; z-index: 3; right: var(--gouttiere); top: 18px; margin: 0; gap: 3px; justify-items: end; text-align: right;
  max-width: min(420px, 70vw); opacity: 0; transform: translateY(-6px); transition: opacity .45s, transform .45s;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .8);
}
.mur.is-net .mur-visee { opacity: 1; transform: none; }
.mur-visee-cat { font: 600 .75rem/1 var(--f-texte); letter-spacing: .22em; text-transform: uppercase; color: var(--sauge); }
.mur-visee strong { font: 500 clamp(1.25rem, 2vw, 1.7rem)/1.15 var(--f-titre); }
.mur-visee small { font: 500 .8125rem/1.3 var(--f-texte); letter-spacing: .05em; color: var(--clair-doux); font-variant-numeric: tabular-nums; }
@media (min-width: 900px) { .motion .mur-visee { top: auto; bottom: 28px; } }

.mur-suite { display: none; }
@media (min-width: 900px) {
  .mur-suite {
    display: grid; justify-items: center; gap: 10px; position: absolute; left: 50%; bottom: 18px; z-index: 3; transform: translateX(-50%);
    min-height: 44px; font: 600 .75rem/1 var(--f-texte); letter-spacing: .24em; text-transform: uppercase; color: var(--clair-doux); text-decoration: none;
  }
  .mur-suite:hover { color: var(--clair); }
  .mur-suite i { display: block; width: 1px; height: 40px; background: linear-gradient(var(--clair), rgba(238, 242, 240, 0)); transform-origin: top; }
  .motion .mur-suite i { animation: indice 1.9s ease-in-out infinite; }
}
@keyframes indice { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ------------------------------------------------------------ accueil V4 : la traversée 3D (WebGL, traversee.js) */
.traversee { position: relative; background: #040504; color: var(--clair); }
.trav-scene { position: relative; height: calc(100svh - var(--entete-h)); min-height: 34rem; overflow: hidden; }
.trav-statique { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.trav-scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.trav-af, .trav-indice, .trav-passer, .trav-legende, .trav-bague, .trav-fin { display: none; }
.trav-intro {
  position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end; padding-bottom: clamp(32px, 6vh, 72px);
  background: linear-gradient(to top, rgba(4, 5, 4, .94) 0%, rgba(4, 5, 4, .62) 40%, rgba(4, 5, 4, 0) 72%);
}
.trav-intro .conteneur > * { max-width: 600px; }
.trav-intro .chapo { color: var(--clair-doux); }
@media (min-width: 900px) {
  .trav-statique { object-position: 80% 34% !important; }
  .trav-intro { align-items: center; padding-bottom: 0; background: linear-gradient(to right, rgba(4, 5, 4, .9) 0%, rgba(4, 5, 4, .5) 34%, rgba(4, 5, 4, 0) 58%); }
  .trav-intro h1 { font-size: clamp(3.4rem, 6.2vw, 6.4rem); }
}

/* Mode 3D (WebGL disponible, animations acceptées) */
.traversee.is-3d { height: calc(100svh - var(--entete-h) - var(--barre-bas, 0px) + 280vh); }
@media (max-width: 899.98px) {
  .traversee { --barre-bas: var(--mobile-barre); }
  .trav-scene { height: calc(100svh - var(--entete-h) - var(--mobile-barre)); }
  .trav-num { font-size: 2rem; }
  .is-3d .trav-legende { gap: 12px; bottom: 18px; }
  .trav-legende p { padding-left: 12px; }
}
.is-3d .trav-scene { position: sticky; top: var(--entete-h); }
.is-3d .trav-statique { display: none; }
.is-3d canvas { display: block; }
.is-3d .trav-scene::after { content: ""; position: absolute; inset: auto 0 0 0; height: 38%; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgba(4, 5, 4, .78), rgba(4, 5, 4, 0)); }
.is-3d .trav-intro { pointer-events: none; }
.is-3d .trav-intro .conteneur > * { pointer-events: auto; opacity: 0; transform: translateY(22px); transition: opacity 1s ease, transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.is-3d.is-pret .trav-intro .conteneur > * { opacity: 1; transform: none; }
/* Filet de sécurité : le texte apparaît de toute façon, même si l'animation 3D ne démarre pas */
.is-3d .trav-intro .conteneur > * { animation: apparition .8s ease 3.4s forwards; }
@keyframes apparition { to { opacity: 1; transform: none; } }
.is-3d.is-pret .trav-intro .conteneur > :nth-child(2) { transition-delay: .1s; }
.is-3d.is-pret .trav-intro .conteneur > :nth-child(3) { transition-delay: .22s; }
.is-3d.is-pret .trav-intro .conteneur > :nth-child(4) { transition-delay: .34s; }
.is-3d.is-pret .trav-intro .conteneur > :nth-child(5) { transition-delay: .46s; }

.is-3d .trav-af { display: block; position: absolute; left: 0; top: 0; z-index: 1; width: 0; height: 0; pointer-events: none; opacity: 0; transition: opacity .3s; }
.trav-af i { position: absolute; left: -38px; top: -28px; width: 76px; height: 56px; border: 1.5px solid rgba(255, 255, 255, .92); box-shadow: 0 0 0 1px rgba(0, 0, 0, .25); opacity: 0; transform: scale(1.9); transition: transform .55s cubic-bezier(.2, .7, .2, 1), opacity .3s, border-color .12s; }
.trav-af.is-vu i { opacity: 1; transform: scale(1); }
.trav-af.is-net i { border-color: var(--af); animation: verrou-trav .42s ease-out; }
@keyframes verrou-trav { 0% { transform: scale(1); } 45% { transform: scale(.86); } 100% { transform: scale(1); } }

.is-3d .trav-indice {
  display: grid; position: absolute; left: 50%; bottom: 20px; z-index: 2; transform: translateX(-50%); margin: 0; justify-items: center; gap: 10px;
  font: 600 .75rem/1 var(--f-texte); letter-spacing: .26em; text-transform: uppercase; color: var(--clair-doux); opacity: 0; transition: opacity .5s;
}
.trav-indice i { display: block; width: 1px; height: 46px; background: linear-gradient(var(--clair), rgba(238, 242, 240, 0)); transform-origin: top; animation: indice 1.9s ease-in-out infinite; }
@media (max-width: 899.98px) { .is-3d .trav-indice { display: none; } }

.is-3d .trav-passer {
  display: inline-flex; align-items: center; position: absolute; right: var(--gouttiere); top: 14px; z-index: 3; min-height: 44px; padding: 0 4px;
  font: 600 .75rem/1 var(--f-texte); letter-spacing: .2em; text-transform: uppercase; color: var(--clair-doux); text-decoration: none;
  opacity: 0; pointer-events: none; transition: opacity .4s;
}
.trav-passer.is-visible, .trav-passer:focus-visible { opacity: 1; pointer-events: auto; }
.trav-passer:hover { color: var(--clair); }

.is-3d .trav-legende {
  display: flex; align-items: flex-end; gap: 18px; position: absolute; z-index: 2;
  left: max(var(--gouttiere), (100vw - var(--conteneur)) / 2); bottom: clamp(24px, 6vh, 64px); max-width: min(560px, 80vw);
  opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .6s cubic-bezier(.2, .7, .2, 1);
}
.trav-legende.is-visible { opacity: 1; transform: none; }
.trav-num { font: italic 500 clamp(2.4rem, 4vw, 3.6rem)/.8 var(--f-titre); color: var(--clair); font-variant-numeric: lining-nums; white-space: nowrap; }
.trav-legende p { display: grid; gap: 4px; margin: 0; padding-left: 18px; border-left: 1px solid var(--ligne-sombre); }
.trav-cat { font: 600 .75rem/1 var(--f-texte); letter-spacing: .22em; text-transform: uppercase; color: var(--sauge); }
.trav-legende strong { font: 500 clamp(1.4rem, 2.4vw, 2rem)/1.1 var(--f-titre); }
.trav-legende small { font: 500 .8125rem/1.3 var(--f-texte); letter-spacing: .06em; color: var(--clair-doux); font-variant-numeric: tabular-nums; }
.trav-legende.is-nouveau p { animation: legende .55s ease-out; }
@keyframes legende { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }

.is-3d .trav-bague {
  display: block; position: absolute; z-index: 2; right: clamp(14px, 2.4vw, 36px); top: 50%; width: 48px; height: 44vh; transform: translateY(-50%);
  overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent);
}
.trav-bague-echelle { position: absolute; left: 0; right: 0; top: 50%; will-change: transform; }
.trav-bague-echelle span {
  display: block; height: 5.5vh; padding-right: 22px; margin-top: -.6em; text-align: right;
  font: 500 .8125rem/1.2 var(--f-texte); color: var(--clair-doux); font-variant-numeric: tabular-nums;
  background: linear-gradient(var(--clair-doux), var(--clair-doux)) right .6em / 12px 1px no-repeat;
}
.trav-bague-repere { position: absolute; right: 0; top: 50%; width: 20px; height: 2px; margin-top: -1px; background: var(--af); }
.trav-bague-unite { position: absolute; right: 0; bottom: 0; font: 600 .75rem/1 var(--f-texte); color: var(--clair-doux); }
@media (max-width: 699.98px) { .is-3d .trav-bague { display: none; } }

.is-3d .trav-fin {
  display: block; position: absolute; z-index: 3; left: 50%; bottom: clamp(28px, 7vh, 88px); width: min(100% - 2 * var(--gouttiere), 640px);
  transform: translate(-50%, 16px); text-align: center; opacity: 0; transition: opacity .6s, transform .7s cubic-bezier(.2, .7, .2, 1);
}
.trav-fin.is-visible { opacity: 1; transform: translate(-50%, 0); }
.trav-fin-titre { margin: 0; font: 500 clamp(1.8rem, 3.4vw, 2.8rem)/1.1 var(--f-titre); text-wrap: balance; }
.trav-fin .actions { margin-top: 22px; }

/* ------------------------------------------------------------ accueil : les trois offres */
.portes { padding-top: clamp(64px, 9vw, 120px); }
.portes-tete { margin-bottom: clamp(28px, 4vw, 48px); }
.portes-rang { display: grid; gap: 2px; }
.porte { position: relative; display: flex; align-items: flex-end; min-height: 34rem; overflow: hidden; background: var(--nuit-2); isolation: isolate; }
.porte-photo {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.8) brightness(.78); transition: transform 1.4s cubic-bezier(.2, .7, .2, 1), filter .6s;
}
.porte::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(6, 8, 7, .94) 0%, rgba(6, 8, 7, .6) 48%, rgba(6, 8, 7, .08) 100%); }
.porte::after { content: ""; position: absolute; inset: 18px; z-index: 0; background: var(--coins); background-repeat: no-repeat; opacity: 0; transition: opacity .35s, inset .35s; pointer-events: none; }
.porte-contenu { position: relative; width: 100%; padding: clamp(26px, 3vw, 46px); padding-top: 0; }
.porte-num {
  position: absolute; z-index: 1; left: clamp(22px, 2.6vw, 40px); top: clamp(14px, 2vw, 28px); margin: 0;
  font: italic 500 clamp(4.5rem, 7vw, 7.5rem)/1 var(--f-titre); color: transparent;
  -webkit-text-stroke: .0625rem rgba(238, 242, 240, .55); pointer-events: none; transition: -webkit-text-stroke-color .4s, color .4s;
}
.porte:hover .porte-num, .porte:focus-within .porte-num { color: rgba(238, 242, 240, .08); -webkit-text-stroke-color: var(--sauge); }

/* Le collimateur se pose sur le sujet au survol */
.porte-af {
  position: absolute; z-index: 1; width: 64px; aspect-ratio: 4 / 3; transform: translate(-50%, -50%) scale(1.6);
  border: 1.5px solid rgba(255, 255, 255, .9); box-shadow: 0 0 0 1px rgba(0, 0, 0, .3); opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .45s cubic-bezier(.2, .7, .2, 1), border-color .2s .45s;
}
.porte:hover .porte-af, .porte:focus-within .porte-af { opacity: 1; transform: translate(-50%, -50%) scale(1); border-color: var(--af); }
@media (hover: none) { .porte-af { display: none; } }

/* La photo de fond vit très lentement */
.motion .porte-photo { animation: respiration 22s ease-in-out infinite alternate; }
.porte:nth-child(2) .porte-photo { animation-delay: -7s; }
.porte:nth-child(3) .porte-photo { animation-delay: -14s; }
@keyframes respiration { from { scale: 1; } to { scale: 1.07; } }
.porte h3 { font-size: clamp(2.1rem, 3.3vw, 3.1rem); font-weight: 500; line-height: 1.02; }
.porte-lien { text-decoration: none; }
.porte-lien::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.porte-lien:focus-visible { outline: none; }
.porte:focus-within { outline: 2px solid var(--glacier); outline-offset: -4px; }
.porte-accroche { margin: 12px 0 0; color: var(--clair); }
.porte-points { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 6px; font-size: .9375rem; color: var(--clair-doux); }
.porte-points li { position: relative; padding-left: 22px; }
.porte-points li::before { content: ""; position: absolute; left: 0; top: .78em; width: 12px; height: 1px; background: var(--sauge); }
.porte-prix { margin: 18px 0 0; font: 500 1.55rem/1.2 var(--f-titre); }
.porte-btn { margin-top: 20px; }
.porte-btn .fleche { display: inline-block; transition: transform .3s; }
.porte:hover .porte-photo, .porte:focus-within .porte-photo { transform: scale(1.06); filter: saturate(1) brightness(.88); }
.porte:hover::after, .porte:focus-within::after { opacity: 1; inset: 26px; }
.porte:hover .porte-btn { background: var(--glacier-vif); }
.porte:hover .porte-btn .fleche { transform: translateX(5px); }
@media (max-width: 899.98px) {
  .porte::before { background: linear-gradient(to top, rgba(6, 8, 7, .95) 0%, rgba(6, 8, 7, .72) 52%, rgba(6, 8, 7, .05) 82%); }
  .porte-photo { filter: saturate(.9) brightness(.9); }
}
@media (min-width: 900px) {
  .portes-rang { display: flex; height: min(86vh, 50rem); min-height: 40rem; }
  .porte { flex: 1 1 0; min-height: 0; transition: flex-grow .8s cubic-bezier(.2, .7, .2, 1); }
  .porte:hover, .porte:focus-within { flex-grow: 1.45; }
}

/* ------------------------------------------------------------ pages intérieures : mise au point à l'arrivée */
.af-fixe { position: absolute; width: clamp(48px, 4.6vw, 68px); aspect-ratio: 4 / 3; transform: translate(-50%, -50%); border: 1.5px solid rgba(255, 255, 255, .92); box-shadow: 0 0 0 1px rgba(0, 0, 0, .25); pointer-events: none; opacity: 0; }
.motion .bandeau-photo img { animation: mise-au-point-photo 1.3s cubic-bezier(.3, .6, .2, 1) .2s both; }
@keyframes mise-au-point-photo { from { filter: blur(20px) brightness(.75); transform: scale(1.06); } to { filter: none; transform: none; } }
.motion .af-fixe { animation: af-arrivee 2.6s ease-out .25s both; }
@keyframes af-arrivee {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(1.9); }
  25% { opacity: 1; transform: translate(-50%, -50%) scale(1); border-color: rgba(255, 255, 255, .92); }
  45% { border-color: var(--af); transform: translate(-50%, -50%) scale(.88); }
  55% { transform: translate(-50%, -50%) scale(1); border-color: var(--af); }
  80% { opacity: 1; border-color: var(--af); }
  100% { opacity: 0; border-color: var(--af); transform: translate(-50%, -50%) scale(1); }
}

/* ------------------------------------------------------------ transition entre les pages : le diaphragme */
.iris { display: none; }
.motion .iris { display: block; position: fixed; inset: 0; z-index: 300; pointer-events: none; overflow: hidden; }
.motion .iris::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 170vmax; height: 170vmax; transform: translate(-50%, -50%);
  border-radius: 50%; box-shadow: 0 0 0 200vmax #040504; animation: iris-ouvre .6s cubic-bezier(.6, 0, .2, 1) both;
}
.motion.sortie .iris::before { animation: iris-ferme .32s cubic-bezier(.55, 0, .8, .2) both; }
@keyframes iris-ouvre { from { width: 0; height: 0; } to { width: 170vmax; height: 170vmax; } }
@keyframes iris-ferme { from { width: 170vmax; height: 170vmax; } to { width: 0; height: 0; } }

/* ------------------------------------------------------------ page FAQ */
.faq-recherche { margin-top: 30px; max-width: 580px; }
.faq-recherche[hidden] { display: none; }
.faq-recherche input {
  width: 100%; min-height: 56px; padding: 0 18px 0 50px; border: 1px solid rgba(238, 242, 240, .3); border-radius: 0;
  background: rgba(255, 255, 255, .06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5' fill='none' stroke='%23BCC7C2' stroke-width='1.7'/%3E%3Cpath d='m15.5 15.5 5 5' stroke='%23BCC7C2' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 16px center / 22px;
  font: 400 1.0625rem/1 var(--f-texte); color: var(--clair); -webkit-appearance: none; appearance: none;
}
.faq-recherche input::placeholder { color: var(--clair-doux); }
.faq-recherche input:focus { outline: 2px solid var(--glacier); outline-offset: 0; }
.faq-page { display: grid; gap: 40px; }
.faq-sommaire ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.faq-sommaire a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--ligne-clair); font-weight: 600; font-size: .9375rem; text-decoration: none;
}
.faq-sommaire a:hover { background: #fff; }
.faq-compte { font: italic 500 1.15rem/1 var(--f-titre); color: var(--sapin); }
@media (min-width: 960px) {
  .faq-page { grid-template-columns: 250px 1fr; gap: 80px; align-items: start; }
  .faq-sommaire { position: sticky; top: calc(var(--entete-h) + 32px); }
  .faq-sommaire ul { display: grid; gap: 0; border-top: 1px solid var(--ligne-clair); }
  .faq-sommaire a { border-width: 0 0 1px; padding: 0 4px; min-height: 52px; }
}
.faq-groupe { scroll-margin-top: calc(var(--entete-h) + 24px); }
.faq-groupe + .faq-groupe { margin-top: clamp(48px, 6vw, 72px); }
.faq-groupe h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-bottom: 18px; }
.faq-groupe[hidden], .faq-q[hidden] { display: none; }
.faq-vide { margin-top: 0; padding: 24px; background: #fff; }
.faq-vide[hidden] { display: none; }
.faq-plus { margin-top: 28px; }

/* ------------------------------------------------------------ bandeau des pages intérieures */
.bandeau { position: relative; background: var(--nuit); color: var(--clair); }
.bandeau-photo { position: relative; width: 100%; aspect-ratio: 4 / 3; max-height: 60svh; overflow: hidden; }
.bandeau-photo img { width: 100%; height: 100%; object-fit: cover; }
.bandeau-texte { padding: 32px 0 48px; }
.bandeau-texte .chapo { color: var(--clair-doux); }
@media (min-width: 900px) {
  /* Même principe que l'accueil : texte à gauche, photo à droite, jamais recouverte */
  .bandeau { display: grid; grid-template-columns: minmax(400px, 40%) 1fr; height: clamp(32.5rem, 72svh, 53.75rem); }
  .bandeau-photo { grid-column: 2; grid-row: 1; aspect-ratio: auto; max-height: none; height: 100%; }
  .bandeau-texte {
    grid-column: 1; grid-row: 1; align-self: center; width: auto; margin: 0;
    padding: 40px clamp(32px, 4vw, 64px) 40px max(var(--gouttiere), (100vw - var(--conteneur)) / 2);
  }
  .bandeau-texte h1 { font-size: clamp(2.8rem, 4.6vw, 4.8rem); }
}

.tete-page { padding: clamp(56px, 8vw, 104px) 0 clamp(36px, 5vw, 56px); }
.tete-page .chapo { color: var(--clair-doux); }

/* ------------------------------------------------------------ accueil : drone */
.drone-bande { position: relative; }
.drone-photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.drone-photo img { width: 100%; height: 100%; object-fit: cover; }
.drone-texte { padding: 36px 0 56px; }
.drone-texte p { color: var(--clair-doux); max-width: 560px; margin-top: 16px; }
@media (min-width: 900px) {
  .drone-bande { min-height: clamp(520px, 70vh, 760px); display: grid; align-items: end; }
  .drone-photo { position: absolute; inset: 0; aspect-ratio: auto; }
  .drone-texte { position: relative; z-index: 1; padding: 0 0 clamp(48px, 6vw, 80px); }
  .drone-texte > * { max-width: 560px; }
  .drone-bande::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(10, 14, 12, .8), rgba(10, 14, 12, .25) 60%, rgba(10, 14, 12, 0)); }
  .drone-texte p { color: var(--clair); }
}

/* ------------------------------------------------------------ galeries */
.galerie { --gap: clamp(8px, 1.2vw, 14px); }
.tuile { position: relative; display: block; overflow: hidden; background: var(--nuit-2); color: var(--clair); text-decoration: none; }
.tuile img { width: 100%; transition: scale .8s cubic-bezier(.2, .7, .2, 1), opacity .3s; }
.tuile::before { content: ""; position: absolute; inset: 12px; z-index: 1; --l: 16px; background: var(--coins); background-repeat: no-repeat; opacity: 0; transition: opacity .25s, inset .25s; pointer-events: none; }
.tuile-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: grid; gap: 2px; padding: 40px 18px 16px; background: linear-gradient(to top, rgba(10, 14, 12, .85), rgba(10, 14, 12, 0)); opacity: 0; transition: opacity .25s; }
.tuile-info span { font: 500 1.15rem/1.2 var(--f-titre); }
.tuile-info small { font: 500 .75rem/1.3 var(--f-texte); letter-spacing: .06em; color: var(--clair-doux); font-variant-numeric: tabular-nums; }
@media (hover: hover) {
  .tuile:hover::before, .tuile:focus-visible::before { opacity: 1; inset: 16px; }
  .tuile:hover .tuile-info, .tuile:focus-visible .tuile-info { opacity: 1; }
  .tuile:hover img { scale: 1.03; }
}
.tuile:focus-visible { outline-offset: 2px; }

.galerie--colonnes { columns: 2 150px; column-gap: var(--gap); }
.galerie--colonnes .tuile { margin-bottom: var(--gap); break-inside: avoid; }
.galerie--colonnes .tuile img { min-height: 72px; object-fit: cover; }
@media (min-width: 700px) { .galerie--colonnes { columns: 3 220px; } }
@media (min-width: 1200px) { .galerie--toutes { columns: 4 240px; } }
.galerie--colonnes .tuile[hidden] { display: none; }

.galerie--mosaique { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(150px, 42vw, 240px); grid-auto-flow: dense; gap: var(--gap); }
.galerie--mosaique .tuile img { height: 100%; object-fit: cover; }
.galerie--mosaique .tuile:first-child, .galerie--mosaique .tuile:last-child:nth-child(even) { grid-column: span 2; }
@media (min-width: 700px) {
  .galerie--mosaique { grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(120px, 12vw, 200px); }
  .galerie--mosaique .tuile, .galerie--mosaique .tuile:last-child:nth-child(even) { grid-column: span 2; grid-row: span 2; }
  .galerie--mosaique .tuile:nth-child(6n+1) { grid-column: span 4; grid-row: span 2; }
  .galerie--mosaique .tuile:nth-child(6n+2), .galerie--mosaique .tuile:nth-child(6n+3) { grid-column: span 2; grid-row: span 1; }
  .galerie--mosaique .tuile:nth-child(6n+4):last-child { grid-column: span 6; }
  .galerie--mosaique .tuile:nth-child(6n+5):last-child { grid-column: span 4; }
}

.filtres { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.filtres[hidden] { display: none; }
.filtre {
  min-height: 44px; padding: 0 18px; border: 1px solid var(--ligne-sombre); background: transparent; cursor: pointer;
  font: 500 .8125rem/1 var(--f-texte); letter-spacing: .1em; text-transform: uppercase; color: var(--clair-doux);
}
.filtre:hover { border-color: var(--clair-doux); color: var(--clair); }
.filtre[aria-pressed="true"] { background: var(--clair); border-color: var(--clair); color: var(--nuit); }

/* ------------------------------------------------------------ page Galeries : thèmes, barre de filtres, rangées justifiées */
.conteneur--large { width: min(100% - 2 * var(--gouttiere), 100rem); margin-inline: auto; }
.galeries-tete { padding-bottom: clamp(28px, 4vw, 48px); }
.themes {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 58%); gap: 10px; margin-top: 32px;
  overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; contain: paint; scrollbar-width: thin;
}
.themes[hidden] { display: none; }
@media (min-width: 700px) { .themes { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; contain: none; } }
.theme {
  position: relative; display: grid; align-content: end; gap: 4px; aspect-ratio: 4 / 3; padding: 14px 16px; border: 0; border-radius: 0;
  background: var(--nuit-2); color: var(--clair); text-align: left; cursor: pointer; overflow: hidden; isolation: isolate; scroll-snap-align: start;
}
.theme-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: brightness(.6) saturate(.9); transition: scale .9s cubic-bezier(.2, .7, .2, 1), filter .4s; }
.theme::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(5, 6, 5, .85), rgba(5, 6, 5, 0) 60%); }
.theme::after { content: ""; position: absolute; inset: 10px; --l: 16px; background: var(--coins); background-repeat: no-repeat; opacity: 0; transition: opacity .3s, inset .3s; }
.theme-nom { font: 500 clamp(1.25rem, 1.8vw, 1.55rem)/1.1 var(--f-titre); }
.theme-compte { font: 600 .75rem/1 var(--f-texte); letter-spacing: .16em; text-transform: uppercase; color: var(--sauge); }
.theme:hover .theme-photo, .theme:focus-visible .theme-photo { scale: 1.06; filter: brightness(.78) saturate(1); }
.theme:hover::after, .theme:focus-visible::after, .theme[aria-pressed="true"]::after { opacity: 1; inset: 14px; }
.theme[aria-pressed="true"] .theme-photo { filter: brightness(.85) saturate(1); }
.theme[aria-pressed="true"]::after { --c: var(--af); }

.filtres-barre {
  position: sticky; top: var(--entete-h); z-index: 20; background: rgba(15, 20, 18, .94); border-bottom: 1px solid var(--ligne-sombre);
}
@supports (backdrop-filter: blur(8px)) { .filtres-barre { background: rgba(15, 20, 18, .8); backdrop-filter: blur(10px); } }
.filtres-barre[hidden] { display: none; }
.filtres-barre .filtres { margin: 0; padding-block: 10px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; contain: paint; }
.filtres-barre .filtres::-webkit-scrollbar { display: none; }
.filtre { flex: none; white-space: nowrap; }
.filtre span { margin-left: 4px; opacity: .6; font-variant-numeric: tabular-nums; }

.galerie--justifiee { --rang: 140px; display: flex; flex-wrap: wrap; gap: var(--gap); }
@media (min-width: 700px) { .galerie--justifiee { --rang: 210px; } }
@media (min-width: 1200px) { .galerie--justifiee { --rang: 260px; } }
.galerie--justifiee::after { content: ""; flex-grow: 999999; }
.galerie--justifiee .tuile { flex: calc(var(--r) * 100) 1 calc(var(--r) * var(--rang)); }
.galerie--justifiee .tuile img { width: 100%; height: 100%; aspect-ratio: var(--r); object-fit: cover; }
.galerie--justifiee .tuile[hidden] { display: none; }
.section--collee { padding-top: clamp(16px, 2vw, 28px); }

/* Les photos « se développent » en entrant dans l'écran (seulement là où le navigateur sait le faire sans script) */
@supports (animation-timeline: view()) {
  .motion .galerie .tuile img { animation: developpe linear both; animation-timeline: view(); animation-range: entry 0% entry 90%; }
  @keyframes developpe { from { filter: grayscale(1) brightness(.35) contrast(1.15); transform: scale(1.08); } to { filter: none; transform: none; } }
}

/* ------------------------------------------------------------ visionneuse plein écran */
.visionneuse {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: #050605; color: var(--clair); overflow: hidden;
}
.visionneuse::backdrop { background: #050605; }
.visionneuse[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.motion .visionneuse[open] { animation: vis-ouvre .35s ease both; }
@keyframes vis-ouvre { from { opacity: 0; } }
.vis-haut { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 6px var(--gouttiere); }
.vis-compteur { margin: 0; font: 600 .75rem/1 var(--f-texte); letter-spacing: .2em; color: var(--clair-doux); font-variant-numeric: tabular-nums; }
.vis-outils { display: flex; gap: 2px; }
.vis-outil {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 0 12px;
  border: 1px solid transparent; background: transparent; color: var(--clair); cursor: pointer;
  font: 600 .75rem/1 var(--f-texte); letter-spacing: .14em; text-transform: uppercase;
}
.vis-outil:hover { background: rgba(255, 255, 255, .08); }
.vis-outil[aria-pressed="true"] { border-color: var(--ligne-sombre); color: var(--glacier); }
.vis-outil svg { width: 20px; height: 20px; flex: none; }
.vis-outil .txt { display: none; }
@media (min-width: 760px) { .vis-outil .txt { display: inline; } }
.vis-scene { position: relative; display: grid; place-items: center; min-height: 0; overflow: hidden; touch-action: pan-y; }
.visionneuse.is-zoom .vis-scene { touch-action: none; }
.vis-cadre { position: relative; display: grid; place-items: center; transition: opacity .2s, transform .25s; }
.vis-cadre.is-part { opacity: 0; transform: translateX(calc(var(--sens, 1) * -24px)); }
.vis-cadre.is-arrive { opacity: 0; transform: translateX(calc(var(--sens, 1) * 24px)); transition: none; }
.vis-cadre img { grid-area: 1 / 1; display: block; max-width: none; }
.vis-flou { position: relative; z-index: 0; filter: blur(14px); transform: scale(1.01); }
.vis-net { position: relative; z-index: 1; opacity: 0; transition: opacity .45s, transform .35s cubic-bezier(.2, .7, .2, 1); cursor: zoom-in; transform-origin: var(--ox, 50%) var(--oy, 50%); }
.vis-net.is-charge { opacity: 1; }
.visionneuse.is-zoom .vis-net { transform: scale(2.4); cursor: zoom-out; }
.visionneuse.is-zoom .vis-flou { opacity: 0; }
.vis-fleche {
  position: absolute; z-index: 2; top: 50%; display: grid; place-items: center; width: 52px; height: 52px; margin-top: -26px;
  border: 0; background: rgba(5, 6, 5, .55); color: var(--clair); cursor: pointer; transition: background-color .2s, opacity .4s;
}
.vis-fleche:hover { background: rgba(255, 255, 255, .14); }
.vis-fleche svg { width: 24px; height: 24px; }
.vis-prec { left: clamp(4px, 1.5vw, 24px); }
.vis-suiv { right: clamp(4px, 1.5vw, 24px); }
.visionneuse.is-zoom .vis-fleche { opacity: 0; pointer-events: none; }
.vis-bas { position: relative; z-index: 3; display: grid; gap: 12px; padding: 10px var(--gouttiere) calc(12px + env(safe-area-inset-bottom)); }
.vis-progres { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--glacier); transform: scaleX(0); transform-origin: left; }
.visionneuse.is-diapo .vis-progres.is-court { animation: progres var(--diapo, 4.5s) linear forwards; }
@keyframes progres { to { transform: scaleX(1); } }
.vis-legende { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 28px; }
.vis-cat { margin: 0 0 4px; font: 600 .75rem/1 var(--f-texte); letter-spacing: .2em; text-transform: uppercase; color: var(--sauge); }
.vis-titre { margin: 0; font: 500 clamp(1.35rem, 2.4vw, 1.9rem)/1.15 var(--f-titre); }
.vis-fiche { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 10px 0 0; }
.vis-fiche div { display: grid; gap: 2px; }
.vis-fiche dt { font: 600 .75rem/1 var(--f-texte); letter-spacing: .14em; text-transform: uppercase; color: var(--clair-doux); }
.vis-fiche dd { margin: 0; font: 500 .9375rem/1.3 var(--f-texte); font-variant-numeric: tabular-nums; }
.visionneuse:not(.avec-infos) .vis-fiche { display: none; }
@media (max-width: 699.98px) { .vis-fiche .f-boitier, .vis-fiche .f-objectif { display: none; } .vis-fiche { gap: 6px 14px; } }
.vis-tirage { white-space: nowrap; }
.vis-pellicule { position: relative; display: flex; gap: 6px; overflow-x: auto; padding: 2px; scrollbar-width: none; contain: paint; }
.vis-pellicule::-webkit-scrollbar { display: none; }
.vis-pellicule button { flex: none; width: 66px; height: 48px; padding: 0; border: 1px solid transparent; background: #121614; opacity: .42; cursor: pointer; transition: opacity .2s; }
.vis-pellicule button:hover { opacity: .85; }
.vis-pellicule button[aria-current="true"] { opacity: 1; border-color: var(--glacier); }
.vis-pellicule img { display: block; width: 100%; height: 100%; object-fit: cover; }
.visionneuse.is-calme .vis-haut, .visionneuse.is-calme .vis-bas, .visionneuse.is-calme .vis-fleche { opacity: 0; transition: opacity .6s; }
.visionneuse.is-calme .vis-scene { cursor: none; }
.vis-haut, .vis-bas { transition: opacity .3s; }

/* ------------------------------------------------------------ avis, à propos, appel */
.avis-in { text-align: center; max-width: 760px; margin-inline: auto; display: grid; justify-items: center; gap: 20px; }
.avis .etoiles { color: var(--sapin); }
.avis .etoiles svg { width: 22px; height: 22px; }
.avis-nombre { display: block; font-size: clamp(4.5rem, 12vw, 8rem); line-height: .9; font-style: italic; color: var(--sapin); }
.avis p { color: var(--encre-douce); max-width: 520px; }

.a-propos-in { display: grid; gap: clamp(28px, 4vw, 48px); }
.a-propos-photo { margin: 0; aspect-ratio: 3 / 1; overflow: hidden; background: var(--nuit-2); }
.a-propos-photo img { width: 100%; height: 100%; object-fit: cover; }
.a-propos-texte { display: grid; gap: 4px 56px; }
.a-propos-texte p:not(.surtitre) { color: var(--encre-douce); max-width: 560px; }
@media (min-width: 900px) {
  .a-propos-texte { grid-template-columns: 1fr 1fr; align-items: start; }
  .a-propos-texte .surtitre, .a-propos-texte h2 { grid-column: 1; }
  .a-propos-texte p:not(.surtitre) { grid-column: 2; }
  .a-propos-texte h2 { grid-row: 2 / span 3; }
  .a-propos-texte p:not(.surtitre):first-of-type { grid-row: 2; }
}

.appel { text-align: center; }
.appel-in { max-width: 760px; }
.appel p { color: var(--clair-doux); margin-top: 18px; }

/* ------------------------------------------------------------ étapes, formules, séances, FAQ */
.etapes { list-style: none; margin: 0; padding: 0; display: grid; gap: 36px; counter-reset: etape; }
.etapes li { position: relative; padding-top: 26px; border-top: 1px solid var(--ligne-clair); }
.etape-num { display: block; margin-bottom: 10px; font: italic 500 2.6rem/1 var(--f-titre); color: var(--sapin); }
.etapes p { margin-top: 10px; color: var(--encre-douce); }
@media (min-width: 900px) { .etapes { grid-template-columns: repeat(3, 1fr); gap: 48px; } }

.formules { display: grid; gap: 20px; }
.formule { padding: 32px 28px; background: #fff; border-top: 2px solid var(--sapin); }
.formule-prix { margin: 12px 0 14px; font: 500 2.6rem/1 var(--f-titre); }
.formule-prix span { display: block; margin-bottom: 6px; font: 600 .75rem/1 var(--f-texte); letter-spacing: .16em; text-transform: uppercase; color: var(--encre-douce); }
.formule p:last-child { color: var(--encre-douce); }
.formule--inclus { background: transparent; border-top-color: var(--ligne-clair); }
@media (min-width: 900px) { .formules { grid-template-columns: repeat(3, 1fr); } }
.liste-traits { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.liste-traits li { position: relative; padding-left: 26px; color: var(--encre-douce); }
.liste-traits li::before { content: ""; position: absolute; left: 0; top: .78em; width: 14px; height: 1px; background: var(--sapin); }

.seances { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px clamp(14px, 2vw, 28px); }
.seance figure { margin: 0 0 16px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--nuit-2); }
.seance figure img { width: 100%; height: 100%; object-fit: cover; }
.seance h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.seance p { margin-top: 8px; color: var(--encre-douce); font-size: 1rem; }
@media (min-width: 900px) { .seances { grid-template-columns: repeat(4, 1fr); } }
.prix-ligne { margin-top: clamp(40px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--ligne-clair); font-size: 1.125rem; max-width: 780px; }
.prix-ligne strong { font: 500 1.6rem/1 var(--f-titre); }

.faq { border-top: 1px solid var(--ligne-clair); }
.faq-q { border-bottom: 1px solid var(--ligne-clair); }
.faq-q summary {
  position: relative; display: block; min-height: 44px; padding: 22px 48px 22px 0; cursor: pointer; list-style: none;
  font: 600 1.35rem/1.25 var(--f-titre);
}
.faq-q summary::-webkit-details-marker { display: none; }
.faq-q summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: 300 1.8rem/1 var(--f-texte); color: var(--sapin); }
.faq-q[open] summary::after { content: "−"; }
.faq-q p { padding: 0 48px 24px 0; color: var(--encre-douce); }

/* ------------------------------------------------------------ drone */
.drone-grille { display: grid; gap: 48px; }
@media (min-width: 900px) { .drone-grille { grid-template-columns: 1.6fr 1fr; gap: 72px; align-items: start; } }
.drone-grille h2 { margin-bottom: 28px; }
.tableau-defile { overflow-x: auto; contain: paint; }
.tarifs { width: 100%; border-collapse: collapse; font-size: 1rem; }
.tarifs th, .tarifs td { padding: 16px 12px 16px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--ligne-clair); }
.tarifs thead th { padding-top: 0; font: 600 .75rem/1.3 var(--f-texte); letter-spacing: .14em; text-transform: uppercase; color: var(--encre-douce); }
.tarifs tbody th { font-weight: 500; }
.tarifs td { color: var(--encre-douce); white-space: nowrap; }
.tarifs .num { text-align: right; padding-right: 0; }
.tarifs td.num { font: 500 1.35rem/1.1 var(--f-titre); color: var(--encre); }
.note { margin-top: 18px; font-size: .9375rem; color: var(--encre-douce); }
.garanties { padding: 32px 28px; background: #fff; border-top: 2px solid var(--sapin); }
.garanties h2 { font-size: 1.85rem; margin-bottom: 0; }

/* ------------------------------------------------------------ contact */
.contact-grille { display: grid; gap: 40px; }
@media (min-width: 960px) { .contact-grille { grid-template-columns: 1.45fr 1fr; gap: 64px; align-items: start; } }
.formulaire, .form-merci { background: #fff; padding: clamp(24px, 4vw, 44px); }
.formulaire h2, .carte-contact h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin-bottom: 24px; }
.champ { display: grid; gap: 6px; margin-bottom: 18px; }
.champs-ligne { display: grid; gap: 0 18px; }
@media (min-width: 640px) { .champs-ligne { grid-template-columns: 1fr 1fr; } }
.champ label { font-weight: 600; font-size: .9375rem; }
.facultatif { font-weight: 400; color: var(--encre-douce); }
.champ input, .champ select, .champ textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #9AA6A1; border-radius: 0; background: var(--papier);
  font: 400 1rem/1.4 var(--f-texte); color: var(--encre);
}
.champ textarea { resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: 2px solid var(--sapin); outline-offset: 0; border-color: var(--sapin); }
.champ [aria-invalid="true"] { border-color: #A3352B; }
.pot-de-miel { position: absolute; left: -9999px; }
.mention-form { font-size: .875rem; color: var(--encre-douce); }
.form-statut { margin-top: 14px; font-weight: 600; }
.form-statut.is-erreur { color: #A3352B; }
.form-merci { text-align: center; display: grid; justify-items: center; gap: 12px; color: var(--sapin); }
.form-merci h3 { font-size: 2.2rem; color: var(--encre); }
.form-merci p { color: var(--encre-douce); max-width: 460px; }
.form-merci .btn { margin-top: 8px; }
.carte-contact p { color: var(--encre-douce); }
.liste-contact { list-style: none; margin: 0 0 24px; padding: 0; border-top: 1px solid var(--ligne-clair); }
.liste-contact a { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 10px 0; border-bottom: 1px solid var(--ligne-clair); text-decoration: none; overflow-wrap: anywhere; }
.liste-contact a:hover span { text-decoration: underline; }
.liste-contact svg { width: 22px; height: 22px; flex: none; color: var(--sapin); }
.delai { font-weight: 600; }

/* ------------------------------------------------------------ mentions */
.texte-legal h2 { font-size: 1.9rem; margin: 40px 0 12px; }
.texte-legal h2:first-child { margin-top: 0; }
.texte-legal p { color: var(--encre-douce); }

/* ------------------------------------------------------------ pied de page */
.pied { background: var(--nuit-3); color: var(--clair-doux); padding: 64px 0 28px; font-size: .9375rem; }
.pied .marque { color: var(--clair); margin-bottom: 18px; }
.pied-grille { display: grid; gap: 36px; }
@media (min-width: 700px) { .pied-grille { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .pied-grille { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.pied-marque p { max-width: 340px; }
.pied-titre { margin: 0 0 12px; font: 600 .75rem/1.3 var(--f-texte); letter-spacing: .18em; text-transform: uppercase; color: var(--sauge); }
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied-col a { display: inline-block; min-width: 44px; padding-block: 10px; text-decoration: none; overflow-wrap: anywhere; }
.pied a:hover { color: var(--clair); text-decoration: underline; }
.reseaux { display: flex; gap: 6px; margin-top: 18px !important; }
.reseaux a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--ligne-sombre); }
.reseaux svg { width: 20px; height: 20px; }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--ligne-sombre); font-size: .8125rem; }
.pied-bas a { display: inline-block; padding-block: 12px; margin-block: -12px; }

/* ------------------------------------------------------------ barre mobile */
.barre-mobile {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1fr 1.2fr; height: calc(var(--mobile-barre) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom); background: var(--nuit); border-top: 1px solid var(--ligne-sombre);
}
.barre-mobile a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--clair); text-decoration: none; font: 600 .75rem/1 var(--f-texte); letter-spacing: .08em; text-transform: uppercase; }
.barre-mobile svg { width: 20px; height: 20px; }
.barre-mobile .barre-cta { background: var(--glacier); color: var(--nuit); }
@media (min-width: 900px) { .barre-mobile { display: none; } }

/* ------------------------------------------------------------ 404 */
.page-404 { min-height: 60svh; display: grid; align-content: center; }

/* ------------------------------------------------------------ animations réduites */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
