/* Prisma — site vitrine : la base commune (refonte, aperçu du 25/11/2026).
   Toutes les couleurs passent par les variables ci-dessous. */
/* Les polices, servies par le site et jamais par Google (décision du 26/11/2026) : Unbounded pour
   les titres, Manrope pour le texte. Fichiers variables « latin » (accents français compris), licence
   OFL, dans fonts/ (sur prismaphotos.com : /static/fonts/). */
@font-face {
  font-family: 'Unbounded';
  src: url('/static/fonts/unbounded-latin.woff2') format('woff2');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('/static/fonts/manrope-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --nuit: #0b1f2a;
  --nuit-2: #13303f;
  --vert: #29b690;
  --vert-texte: #0e7a5c; /* le vert du texte de la charte (CONTRATS §23) : 5,3 contre 1 sur du blanc */
  --vert-profond: #1b6457; /* « Émeraude profond » de l'identité : le signe des trois lignes seulement */
  --encre: #0b1f2a;
  --encre-2: #3d4f59;
  --brume: #c3d0d6;
  --gris-pied: #9fb1ba;
  --fond-clair: #f7f7f4; /* le fond clair du kit d'Hervé (CONTRATS §23) */
  --trait: #dfe6e9;
  --champ: #c9d3d8;
  --blanc: #ffffff;
  --erreur: #b3261e;
  --police-titre: 'Unbounded', system-ui, sans-serif;
  --police-texte: 'Manrope', system-ui, sans-serif;
  --courbe: cubic-bezier(.7, 0, .3, 1);
  --marge: 20px;
  --largeur: 1312px;
  --rayon: 16px;
}
@media (min-width: 900px) {
  :root { --marge: 64px; --rayon: 20px; }
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--blanc);
  color: var(--encre);
  font-family: var(--police-texte);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--vert); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 {
  margin: 0;
  font-family: var(--police-titre);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.cadre {
  width: 100%;
  max-width: var(--largeur);
  margin: 0 auto;
  padding-left: var(--marge);
  padding-right: var(--marge);
}

/* Le signe des trois lignes (identité de nov. 2026, 3-signe-lignes) : largeurs 2, 1 et 3,
   écart 1,5, hauteur 6, comptés en --u. Gélule émeraude, trait fin nuit (blanc sur fond
   sombre), gélule émeraude profond. Il accompagne le P, il ne le remplace jamais.
   En petit, devant chaque surtitre. */
.marque { --u: 2px; flex: none; display: inline-flex; gap: calc(var(--u) * 1.5); height: calc(var(--u) * 6); margin-right: 10px; color: var(--nuit); }
.marque i { display: block; border-radius: 99px; }
.marque i:nth-child(1) { width: calc(var(--u) * 2); background: var(--vert); }
.marque i:nth-child(2) { width: var(--u); border-radius: calc(var(--u) * .12); background: currentColor; }
.marque i:nth-child(3) { width: calc(var(--u) * 3); background: var(--vert-profond); }
.sombre .marque { color: var(--blanc); }
/* Pendant un chargement, les trois lignes battent l'une après l'autre */
.marque--attente { --u: 3px; }
.marque--attente i { animation: attente 1.1s var(--courbe) infinite both; }
.marque--attente i:nth-child(2) { animation-delay: .14s; }
.marque--attente i:nth-child(3) { animation-delay: .28s; }
@keyframes attente { 0%, 100% { transform: scaleY(.4); } 45% { transform: scaleY(1); } }
/* L'entrée de chapitre : quand un surtitre arrive à l'écran, ses trois lignes arrivent de la gauche,
   s'étirent puis se tassent, l'une après l'autre (esprit du logo « sport »). js/surtitres.js pose
   les classes ; sans lui, les lignes restent posées. */
.marques-a-venir .surtitre .marque i { opacity: 0; }
.marques-a-venir .surtitre .marque--vue i {
  transform-origin: 50% 100%;
  animation: marque-entre .62s var(--courbe) both;
}
.marques-a-venir .surtitre .marque--vue i:nth-child(2) { animation-delay: .07s; }
.marques-a-venir .surtitre .marque--vue i:nth-child(3) { animation-delay: .14s; }
@keyframes marque-entre {
  0%   { opacity: 0; transform: translateX(-18px) skewX(-16deg) scaleY(.3); }
  45%  { opacity: 1; transform: translateX(1px) scaleY(1.4); }
  70%  { transform: scaleY(.82); }
  100% { opacity: 1; transform: none; }
}

.surtitre {
  margin: 0;
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--vert-texte);
}
.sombre .surtitre { color: var(--vert); }

.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 14px;
  background: var(--vert);
  color: var(--nuit);
  text-decoration: none;
  text-align: center;
  font-family: var(--police-titre);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .03em;
  text-transform: uppercase;
  transition: background .2s;
}
.bouton:hover { background: color-mix(in srgb, var(--vert) 82%, var(--blanc)); }
.lien-fort {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--vert);
  text-underline-offset: 5px;
}

/* ---------- Le haut de page : les photos passent, le prisme les révèle ---------- */
.une {
  --depart: .5s; /* la première photo, ses barres et le logo partent une demi-seconde après l'affichage */
  position: relative;
  min-height: clamp(640px, 100svh, 880px);
  display: flex;
  flex-direction: column;
  background: var(--nuit);
  color: var(--blanc);
  overflow: hidden;
}
.une__photos { position: absolute; inset: 0; container-type: inline-size; isolation: isolate; }
.diapo {
  position: absolute;
  inset: 0;
  margin: 0;
  clip-path: inset(0 100% 0 0);
  animation: diapo 18s var(--courbe) var(--depart) infinite both;
}
.diapo img { width: 100%; height: 100%; object-fit: cover; }
.diapo--2 { animation-delay: calc(var(--depart) + 6s); }
.diapo--3 { animation-delay: calc(var(--depart) + 12s); }
/* Une photo toutes les 6 s : elle entre en 1,4 s par la gauche (7,78 % de 18 s), reste,
   puis la suivante passe dessus. */
@keyframes diapo {
  0%      { clip-path: inset(0 100% 0 0); z-index: 3; }
  7.78%   { clip-path: inset(0 0 0 0);    z-index: 3; }
  33.33%  { clip-path: inset(0 0 0 0);    z-index: 3; }
  33.34%  { clip-path: inset(0 0 0 0);    z-index: 2; }
  41.11%  { clip-path: inset(0 0 0 0);    z-index: 2; }
  41.12%  { clip-path: inset(0 100% 0 0); z-index: 1; }
  100%    { clip-path: inset(0 100% 0 0); z-index: 1; }
}
.une__photos::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--nuit) 62%, transparent) 0%,
    color-mix(in srgb, var(--nuit) 12%, transparent) 28%,
    color-mix(in srgb, var(--nuit) 28%, transparent) 52%,
    color-mix(in srgb, var(--nuit) 90%, transparent) 100%);
}
/* Le signe des trois lignes passe avec le bord de la photo qui entre (même durée, même courbe).
   Trois lignes, sans traîne ni halo (Hervé, 26/11/2026 : « n'en mettre que 3 vraiment, et les
   faire disparaître proprement ») : elles partent cachées à gauche de l'écran et sortent entières
   par la droite, sans fondu. En chemin, le bord de la photo glisse d'un bout à l'autre du signe
   (il le suit au début, il le précède à la fin) sans jamais s'en écarter de plus de 10 unités. */
.prisme {
  --u: 5px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  z-index: 5;
  pointer-events: none;
  animation: prisme 6s var(--courbe) var(--depart) infinite both;
}
.prisme i { position: absolute; top: 0; bottom: 0; border-radius: 99px; }
.prisme i:nth-child(1) { left: calc(var(--u) * .5); width: calc(var(--u) * 2); background: var(--vert); }
.prisme i:nth-child(2) { left: calc(var(--u) * 4); width: var(--u); border-radius: calc(var(--u) * .12); background: color-mix(in srgb, var(--blanc) 92%, transparent); }
.prisme i:nth-child(3) { left: calc(var(--u) * 6.5); width: calc(var(--u) * 3); background: var(--vert-profond); }
@keyframes prisme {
  0%           { transform: translateX(calc(var(--u) * -10)); }
  23.33%, 100% { transform: translateX(100cqw); }
}

.entete {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 18px;
}
/* Le monogramme P en haut de chaque page ; le logotype (« PRISMA » en Outfit, le I en gélule, kit du
   26/11/2026, 9 h 33) au-dessus du slogan de l'accueil, dans le pied de page, à la connexion et à
   l'inscription. Jamais l'un à côté de l'autre (Hervé : « c'est pas juste à côté »). */
.entete__logo,
.auth-top__logo { flex: none; display: block; }
.entete__logo { --h: 32px; }
.entete__logo img { height: var(--h); width: auto; }
/* L'accueil : l'entrée du logotype, au-dessus du slogan, en deux temps (Hervé, 26/11/2026 : « l'animation d'entrée du logo
   doit coïncider avec les barres de la première photo », puis « la gélule doit arriver grosse pour
   prendre sa place et faire trembler Prisma »).
   1. Les barres de la première photo découvrent « PR SMA », avec un trou à la place du I : la
      découpe du logo suit le bord de la photo qui entre (1,4 s, même départ et même courbe que
      .diapo et .prisme ; la découpe varie en ligne droite avec la position du bord, donc elle
      tombe exactement dessus). --gauche = place du logo depuis le bord gauche de l'écran.
   2. Le mot posé, la gélule du I arrive en grand devant lui, rétrécit en accélérant jusqu'au trou,
      s'y plante, s'écrase et fait trembler « PRISMA ».
   Le SVG est dans la page pour partager l'horloge de la photo. */
.une { container-type: inline-size; }
.logo-entree {
  --h: 32px;
  display: block;
  align-self: flex-start;
  margin-bottom: 26px; /* détaché du slogan (Hervé : « trop collé au texte ») */
  height: var(--h);
  aspect-ratio: 3935 / 745;
  width: auto;
  overflow: visible;
  --gauche: calc(max(0px, (100cqw - var(--largeur)) / 2) + var(--marge));
  /* Une ombre sombre très douce le détache de la partie claire de la photo (Hervé : « moins bien
     défini que le titre ») ; les animations ne gardent rien une fois finies (backwards, pas both) :
     le logo redevient un dessin ordinaire, net à 125 et 150 %. */
  filter: drop-shadow(0 1px 1.5px color-mix(in srgb, var(--nuit) 45%, transparent)) drop-shadow(0 2px 16px color-mix(in srgb, var(--nuit) 60%, transparent));
  animation: logo-decouvre 1.4s var(--courbe) var(--depart) backwards;
}
@keyframes logo-decouvre {
  from { clip-path: inset(-600% calc(100% + var(--gauche)) -600% -400%); }
  to   { clip-path: inset(-600% calc(100% + var(--gauche) - 100cqw) -600% -400%); }
}
.logo-entree__lettres { fill: var(--blanc); }
.logo-entree__gelule {
  fill: var(--vert);
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: logo-gelule .7s calc(var(--depart) + .85s) backwards;
}
.logo-entree__secousse { animation: logo-secousse .45s linear calc(var(--depart) + 1.28s) backwards; }
/* La gélule du I arrive de face, 5 fois sa taille, fond sur le trou en accélérant (choc à 61 %),
   s'écrase, rebondit et se pose. */
@keyframes logo-gelule {
  0%   { opacity: 0; transform: scale(5); animation-timing-function: linear; }
  10%  { opacity: 1; transform: scale(4.4); animation-timing-function: cubic-bezier(.6, 0, 1, .5); }
  61%  { transform: scale(1.5, .8); animation-timing-function: cubic-bezier(.2, .8, .3, 1); }
  76%  { transform: scale(.85, 1.07); animation-timing-function: ease-in-out; }
  88%  { transform: scale(1.06, .98); }
  100% { opacity: 1; transform: none; }
}
/* Le choc fait trembler le mot (déplacements comptés dans le dessin : 100 ≈ 7 px sur ordinateur) */
@keyframes logo-secousse {
  0%, 100% { transform: none; }
  10% { transform: translate(-100px, 55px); }
  24% { transform: translate(86px, -46px); }
  38% { transform: translate(-62px, 34px); }
  52% { transform: translate(40px, -22px); }
  68% { transform: translate(-20px, 11px); }
  84% { transform: translate(8px, -4px); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-entree, .logo-entree__gelule, .logo-entree__secousse { animation: none; }
}
.entete nav { display: flex; align-items: center; gap: 16px; }
.entete nav a { color: var(--blanc); text-decoration: none; font-weight: 600; font-size: 14px; }
.entete nav .pastille {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--vert);
  color: var(--nuit);
  font-family: var(--police-titre);
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.large { display: none; }
/* Retrouver mes photos, client connecté (auth-bundle.js du site) */
.entete__compte { display: inline-flex; align-items: baseline; gap: 10px; }
.entete__compte[hidden] { display: none; }
.entete__compte a { white-space: nowrap; }
.entete__courriel { display: none; color: var(--brume); font-size: 13px; font-weight: 400; }
@media (min-width: 1200px) { .entete__courriel { display: inline; } }

.une__texte {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 18px;
  padding-bottom: 32px;
}
.une h1 { font-size: clamp(30px, 8.6vw, 68px); line-height: 1.06; max-width: 15ch; text-wrap: balance; }
.une__sous-titre { margin: 0; max-width: 40ch; font-size: 16px; line-height: 1.5; color: color-mix(in srgb, var(--blanc) 88%, transparent); }
.portes { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.porte {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 17px 20px;
  border-radius: var(--rayon);
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.porte strong { font-family: var(--police-titre); font-weight: 600; font-size: 14px; letter-spacing: .03em; text-transform: uppercase; }
.porte span { font-size: 15px; font-weight: 500; }
.porte--client { background: var(--vert); color: var(--nuit); }
.porte--client:hover { background: color-mix(in srgb, var(--vert) 82%, var(--blanc)); }
.porte--photographe {
  border: 1.5px solid color-mix(in srgb, var(--blanc) 80%, transparent);
  background: color-mix(in srgb, var(--nuit) 30%, transparent);
  color: var(--blanc);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.porte--photographe:hover { background: color-mix(in srgb, var(--nuit) 55%, transparent); }

/* ---------- Pour les clients ---------- */
.clients { display: grid; gap: 48px; padding-top: 52px; padding-bottom: 60px; }
.clients__texte { display: flex; flex-direction: column; gap: 18px; }
.clients h2 { font-size: clamp(22px, 2.8vw, 38px); }
.clients .texte { margin: 0; max-width: 52ch; font-size: 16px; color: var(--encre-2); }
.champ { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.champ label { font-size: 13px; font-weight: 700; }
.champ input {
  height: 52px;
  padding: 0 16px;
  border: 1.5px solid var(--champ);
  border-radius: 12px;
  background: var(--blanc);
  color: var(--encre);
  font: inherit;
  font-size: 16px;
}
.champ input:focus { outline: none; border-color: var(--vert); box-shadow: 0 0 0 3px color-mix(in srgb, var(--vert) 30%, transparent); }
.agence {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: var(--rayon);
  background: var(--fond-clair);
  text-decoration: none;
  transition: background .2s;
}
.agence:hover { background: color-mix(in srgb, var(--vert) 12%, var(--fond-clair)); }
.agence img { flex: none; width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.agence__texte { display: flex; flex-direction: column; gap: 2px; }
.agence__nom { font-family: var(--police-titre); font-weight: 600; font-size: 13px; text-transform: uppercase; }
.agence__lien { font-size: 14px; color: var(--encre-2); }
.agence__fleche { margin-left: auto; padding-right: 6px; font-size: 20px; }
.clients__photo { display: none; margin: 0; }

/* ---------- Pour les photographes ---------- */
.photographes { background: var(--nuit); color: var(--blanc); }
.photographes .cadre {
  display: grid;
  gap: 28px;
  padding-top: 56px;
  padding-bottom: 60px;
  grid-template-areas: "tete" "photo" "atouts" "actions";
}
.photographes__tete { grid-area: tete; display: flex; flex-direction: column; gap: 18px; }
.photographes h2 { font-size: clamp(24px, 3.2vw, 42px); max-width: 20ch; }
.chapo { margin: 0; max-width: 56ch; font-size: 16px; color: var(--brume); }
.photographes__photo { grid-area: photo; position: relative; margin: 0; border-radius: var(--rayon); overflow: hidden; aspect-ratio: 16 / 10; }
.photographes__photo img { width: 100%; height: 100%; object-fit: cover; }
.atouts { grid-area: atouts; margin: 0; }
.atouts div { display: grid; gap: 6px; padding: 18px 0; border-top: 1px solid color-mix(in srgb, var(--blanc) 16%, transparent); }
.atouts dt { font-family: var(--police-titre); font-weight: 600; font-size: 14px; letter-spacing: .02em; text-transform: uppercase; }
.atouts dd { margin: 0; font-size: 15px; color: var(--brume); }
.actions { grid-area: actions; display: flex; flex-direction: column; gap: 8px; }
.actions .lien-discret { padding: 10px; text-align: center; color: var(--blanc); font-weight: 600; }

/* ---------- La bande de photos ---------- */
.defile { overflow: hidden; background: var(--nuit); padding-bottom: 24px; }
.defile__piste { display: flex; gap: 10px; width: max-content; padding-right: 10px; animation: defile 55s linear infinite; }
.defile__piste img { height: 170px; width: auto; border-radius: 12px; }
.defile:hover .defile__piste { animation-play-state: paused; }
@keyframes defile { to { transform: translateX(-50%); } }

/* ---------- Questions fréquentes ---------- */
.faq { display: grid; gap: 20px; padding-top: 52px; padding-bottom: 60px; }
.faq h2 { font-size: clamp(22px, 2.6vw, 34px); }
.faq__intro { margin: 10px 0 0; color: var(--encre-2); }
.faq details { padding: 16px 0; border-bottom: 1px solid var(--trait); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; font-size: 16px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
/* Le repère de chaque question : une gélule du P, pâle quand la réponse est fermée, vive quand elle est ouverte
   (une gélule vide se lisait comme un zéro) */
.faq summary::after { content: ""; flex: none; width: 10px; height: 16px; margin-top: 4px; border-radius: 99px; background: color-mix(in srgb, var(--vert-texte) 26%, transparent); transition: background .2s; }
.faq summary:hover::after { background: color-mix(in srgb, var(--vert-texte) 55%, transparent); }
.faq details[open] summary::after { background: var(--vert-texte); }
.faq details p { margin: 10px 0 0; max-width: 66ch; font-size: 15px; color: var(--encre-2); }
/* Deux listes : les clients, puis les photographes. Avec js/faq.js, deux onglets en pilule ; sans
   lui, les listes se suivent, chacune sous son petit titre. */
.faq__liste { scroll-margin-top: 84px; } /* un lien …/#faq-clients s'arrête avec les onglets à l'écran */
.faq__titre-liste { margin: 0 0 4px; font-size: 13px; letter-spacing: .04em; color: var(--vert-texte); }
.faq__liste + .faq__liste .faq__titre-liste { margin-top: 40px; }
.faq__listes--onglets .faq__titre-liste { display: none; }
.faq__onglets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.faq__onglets [role="tab"] {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--trait);
  border-radius: 999px;
  background: var(--blanc);
  color: var(--encre-2);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.faq__onglets [role="tab"]:hover { border-color: var(--encre-2); color: var(--encre); }
.faq__onglets [aria-selected="true"],
.faq__onglets [aria-selected="true"]:hover { background: var(--nuit); border-color: var(--nuit); color: var(--blanc); }

/* ---------- Pied de page ---------- */
.pied { background: var(--nuit); color: var(--blanc); }
.pied .cadre { display: flex; flex-direction: column; gap: 32px; padding-top: 48px; padding-bottom: 40px; }
.pied__haut { display: flex; flex-direction: column; gap: 32px; }
.pied__logo { height: 30px; width: auto; align-self: flex-start; }
.pied__colonnes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
.pied__colonne { display: flex; flex-direction: column; gap: 10px; }
.pied__titre { font-family: var(--police-titre); font-weight: 600; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--vert); }
.pied a { text-decoration: none; font-size: 15px; }
.pied a:hover { color: var(--vert); }
.pied__bas p { margin: 0; }
.pied__signe { --u: 4px; margin-right: 0; }
.pied__bas { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0; padding-top: 20px; border-top: 1px solid color-mix(in srgb, var(--blanc) 14%, transparent); font-size: 13px; color: var(--gris-pied); }

/* ---------- Ordinateur ---------- */
@media (min-width: 900px) {
  .large { display: inline; }
  .etroit { display: none; }
  .entete { padding-top: 28px; padding-bottom: 28px; }
  .entete__logo { --h: 40px; }
  .logo-entree { --h: 52px; margin-bottom: 44px; }
  .surtitre .marque { --u: 2.5px; }
  .entete nav { gap: 30px; }
  .entete nav a { font-size: 15px; }
  .entete nav .pastille { padding: 12px 18px; font-size: 12px; }

  .prisme { --u: 7px; }

  .une__texte { gap: 22px; padding-bottom: 72px; }
  .une__sous-titre { font-size: 19px; }
  .portes { flex-direction: row; gap: 16px; margin-top: 14px; }
  .porte { flex: 0 1 380px; padding: 22px 26px; gap: 6px; }
  .porte strong { font-size: 16px; }
  .porte span { font-size: 16px; }

  .clients { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; padding-top: 112px; padding-bottom: 112px; }
  .clients .texte { font-size: 18px; }
  .clients__photo { display: block; position: relative; min-height: 580px; height: 100%; border-radius: 24px; overflow: hidden; }
  .clients__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .agence { padding: 14px; }
  .agence img { width: 76px; height: 76px; }
  .agence__nom { font-size: 15px; }
  .agence__lien { font-size: 15px; }

  .photographes .cadre {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "tete actions" "photo photo" "atouts atouts";
    align-items: end;
    gap: 48px 40px;
    padding-top: 112px;
    padding-bottom: 112px;
  }
  .chapo { font-size: 18px; }
  .photographes__photo { aspect-ratio: 21 / 9; border-radius: 24px; }
  .atouts div { grid-template-columns: minmax(240px, 380px) minmax(0, 1fr); gap: 40px; padding: 28px 0; }
  .atouts dt { font-size: 18px; }
  .atouts dd { max-width: 60ch; font-size: 18px; }
  .actions { flex-direction: row; align-items: center; gap: 12px; }

  .defile { padding-bottom: 48px; }
  .defile__piste { gap: 14px; padding-right: 14px; animation-duration: 75s; }
  .defile__piste img { height: 260px; border-radius: 16px; }

  .faq { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; padding-top: 112px; padding-bottom: 112px; }
  .faq summary { font-size: 18px; }
  .faq details { padding: 20px 0; }
  .faq details p { font-size: 16px; }
  /* La colonne du titre (et son P) reste à l'écran pendant qu'on parcourt les questions */
  .faq__tete { position: sticky; top: 40px; align-self: start; }

  .pied .cadre { padding-top: 72px; padding-bottom: 44px; gap: 40px; }
  .pied__haut { flex-direction: row; justify-content: space-between; gap: 48px; }
  .pied__logo { height: 40px; }
  .pied__colonnes { display: flex; gap: 72px; }
  .pied a { font-size: 16px; }
}

/* Moins d'animations demandé : une seule photo, le prisme posé, la bande se fait défiler à la main */
@media (prefers-reduced-motion: reduce) {
  .diapo { animation: none; clip-path: none; }
  .diapo--2, .diapo--3 { display: none; }
  .prisme { animation: none; opacity: 1; transform: translateX(78cqw); }
  .defile { overflow-x: auto; }
  .defile__piste { animation: none; }
  .porte { transition: none; }
  .marque--attente i { animation: none; }
}

/* =====================================================================
   Pages intérieures : en-tête sur fond nuit, titre de page, barres posées
   ===================================================================== */
.haut-de-page { position: relative; background: var(--nuit); color: var(--blanc); }
/* Pages sans photo : sur ordinateur, le signe court contre le bord droit du bandeau sombre */
.barres--bord { display: none; }
@media (min-width: 900px) {
  .barres.barres--bord { display: block; --u: 6px; }
  .barres--bord i:nth-child(1) { box-shadow: 0 0 24px color-mix(in srgb, var(--vert) 60%, transparent); }
}
.entete nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--vert);
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}
.bouton--contour {
  background: transparent;
  color: var(--blanc);
  border: 1.5px solid color-mix(in srgb, var(--blanc) 80%, transparent);
}
.bouton--contour:hover { background: color-mix(in srgb, var(--blanc) 10%, transparent); }

/* Le signe des trois lignes, posé contre le bord gauche d'une photo, sur toute sa hauteur.
   Fin et sans halo : il souligne la photo sans la couper (Hervé : « pas assez subtiles »). */
.barres { --u: 2.5px; position: absolute; top: 0; bottom: 0; left: 0; width: 0; z-index: 2; pointer-events: none; }
.barres i { position: absolute; top: 0; bottom: 0; border-radius: 99px; }
.barres i:nth-child(1) { left: calc(var(--u) * 1.5); width: calc(var(--u) * 2); background: var(--vert); }
.barres i:nth-child(2) { left: calc(var(--u) * 5); width: var(--u); border-radius: calc(var(--u) * .12); background: color-mix(in srgb, var(--blanc) 92%, transparent); }
.barres i:nth-child(3) { left: calc(var(--u) * 7.5); width: calc(var(--u) * 3); background: var(--vert-profond); }
/* … ou contre son bord droit (même ordre de lecture : émeraude, trait, émeraude profond) */
.barres--droite { left: auto; right: 0; }
.barres--droite i:nth-child(1) { left: auto; right: calc(var(--u) * 7.5); }
.barres--droite i:nth-child(2) { left: auto; right: calc(var(--u) * 5); }
.barres--droite i:nth-child(3) { left: auto; right: calc(var(--u) * 1.5); }

.tete-de-page { display: grid; gap: 32px; padding-top: 20px; padding-bottom: 48px; }
.tete-de-page__texte { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.tete-de-page h1 { font-size: clamp(30px, 5vw, 60px); line-height: 1.06; }
.tete-de-page__intro { margin: 0; max-width: 46ch; font-size: 17px; color: var(--brume); }
.tete-de-page__photo { position: relative; margin: 0; border-radius: var(--rayon); overflow: hidden; aspect-ratio: 16 / 9; }
.tete-de-page__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Comment commander : le guide ---------- */
.guide { display: flex; flex-direction: column; padding-top: 16px; padding-bottom: 24px; }
.etape { display: grid; gap: 22px; padding: 40px 0; border-bottom: 1px solid var(--trait); }
.etape:last-child { border-bottom: 0; }
.etape h2 { font-size: clamp(20px, 2.4vw, 30px); max-width: 22ch; }
.etape__texte { display: flex; flex-direction: column; gap: 14px; }
.etape__texte p { margin: 0; max-width: 54ch; font-size: 16px; color: var(--encre-2); }
.etape__texte .etape__astuce { padding-left: 14px; border-left: 3px solid var(--vert); color: var(--encre); font-weight: 600; }

/* Petits écrans qui montrent ce que le client verra (des dessins, pas de vraies données) */
.ecran {
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border-radius: var(--rayon);
  background: var(--fond-clair);
}
.ecran__legende { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--encre-2); }
.ecran__ligne {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1.5px solid var(--trait);
  border-radius: 12px;
  background: var(--blanc);
  font-size: 15px;
  font-weight: 600;
}
.ecran__ligne img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
.ecran__ligne small { display: block; font-size: 13px; font-weight: 500; color: var(--encre-2); }
.ecran__ligne--choisie { border-color: var(--vert); box-shadow: 0 0 0 3px color-mix(in srgb, var(--vert) 22%, transparent); }
.ecran__fin { margin-left: auto; color: var(--encre-2); }
.ecran__coche { flex: none; margin-left: auto; width: 10px; height: 18px; border-radius: 99px; background: var(--trait); }
.ecran__ligne--choisie .ecran__coche { background: var(--vert); }
.ecran__recherche { color: var(--encre-2); font-weight: 500; }
.ecran__recherche::before { content: "⌕"; font-size: 20px; line-height: 1; color: var(--encre); }
.ecran__vignettes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ecran__vignette { position: relative; }
.ecran__vignette img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.ecran__coeur {
  position: absolute;
  right: 6px;
  top: 6px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blanc);
  color: var(--vert-texte);
  font-size: 14px;
}
.ecran__payer {
  display: flex;
  justify-content: center;
  padding: 14px;
  border-radius: 12px;
  background: var(--vert);
  color: var(--nuit);
  font-family: var(--police-titre);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.ecran__note { margin: 0; font-size: 13px; color: var(--encre-2); text-align: center; }

.cloture { padding-bottom: 64px; }
.cloture__boite {
  display: grid;
  gap: 28px;
  padding: 32px 24px;
  border-radius: 24px;
  background: var(--nuit);
  color: var(--blanc);
}
.cloture h2 { font-size: clamp(22px, 2.6vw, 32px); }
.cloture__appel { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.cloture__paiement { display: flex; flex-direction: column; gap: 10px; }
.cloture__paiement h3 { font-size: 14px; letter-spacing: .02em; color: var(--vert); }
.cloture__paiement p { margin: 0; font-size: 15px; color: var(--brume); }
.cloture__paiement a { color: var(--blanc); font-weight: 700; }

/* ---------- Connexion : les classes et identifiants restent ceux de la page actuelle ---------- */
.auth-layout { display: grid; min-height: 100svh; }
.auth-visual { display: none; }
.auth-form-panel { display: flex; flex-direction: column; min-height: 100svh; padding: 0 var(--marge); }
.auth-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.auth-top__logo img { height: 22px; width: auto; }
.auth-top__photos { font-size: 14px; font-weight: 700; text-decoration: underline; text-decoration-color: var(--vert); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.auth-form-center { flex: 1; display: flex; align-items: center; justify-content: center; padding: 20px 0 40px; }
.auth-box { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 20px; }
.auth-heading h1 { font-size: clamp(26px, 3vw, 34px); }
.auth-heading p { margin: 10px 0 0; color: var(--encre-2); }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: var(--fond-clair); }
.tabs button {
  min-height: 46px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--encre-2);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.tabs button.active { background: var(--blanc); color: var(--encre); box-shadow: 0 1px 4px color-mix(in srgb, var(--nuit) 16%, transparent); }
.auth-signup-cta { align-self: flex-start; font-weight: 700; color: var(--vert-texte); text-underline-offset: 4px; }
.panel { display: none; }
.panel.active { display: block; }
.panel form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 700; }
.field-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.field-row a { font-size: 13px; font-weight: 600; color: var(--vert-texte); }
.form-group input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1.5px solid var(--champ);
  border-radius: 12px;
  background: var(--blanc);
  color: var(--encre);
  font: inherit;
  font-size: 16px;
}
.form-group input:focus { outline: none; border-color: var(--vert); box-shadow: 0 0 0 3px color-mix(in srgb, var(--vert) 30%, transparent); }
.pass-wrap { position: relative; }
.pass-wrap input { padding-right: 96px; }
.pass-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--encre-2);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.pass-hint { margin: 2px 0 0; font-size: 13px; color: var(--encre-2); }
.panel form button[type="submit"] {
  min-height: 54px;
  margin-top: 4px;
  border: 0;
  border-radius: 14px;
  background: var(--vert);
  color: var(--nuit);
  font-family: var(--police-titre);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .03em;
  text-transform: uppercase;
  cursor: pointer;
}
.panel form button[type="submit"]:hover { background: color-mix(in srgb, var(--vert) 82%, var(--blanc)); }
.error {
  display: none;
  padding: 12px 14px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--erreur) 9%, var(--blanc));
  color: var(--erreur);
  font-size: 14px;
  font-weight: 600;
}
.error.show { display: block; }
.error.success { background: color-mix(in srgb, var(--vert) 12%, var(--blanc)); color: var(--vert-texte); }
.auth-switch { color: var(--encre-2); text-align: center; }
.auth-switch a { font-weight: 700; color: var(--vert-texte); }
.auth-footer { padding: 18px 0 24px; font-size: 13px; color: var(--encre-2); }
.auth-footer p { margin: 0; }
.auth-footer a { color: inherit; }

/* ---------- Page introuvable ---------- */
.introuvable { min-height: 100svh; display: flex; flex-direction: column; background: var(--nuit); color: var(--blanc); }
.introuvable__corps { flex: 1; display: grid; gap: 36px; align-content: center; padding-top: 24px; padding-bottom: 48px; }
.introuvable__texte { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.introuvable h1 { font-size: clamp(40px, 8vw, 96px); line-height: 1; }
.introuvable__texte p { margin: 0; max-width: 40ch; font-size: 17px; color: var(--brume); }
.introuvable__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.introuvable__photo { position: relative; margin: 0; border-radius: var(--rayon); overflow: hidden; aspect-ratio: 4 / 3; }
.introuvable__photo img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 900px) {
  .tete-de-page { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 72px; align-items: center; padding-top: 32px; padding-bottom: 96px; }
  .tete-de-page__intro { font-size: 19px; }
  .tete-de-page__photo { aspect-ratio: 5 / 4; border-radius: 24px; }
  .barres { --u: 3px; }

  .guide { padding-top: 40px; }
  .etape { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; padding: 64px 0; }
  .etape__texte p { font-size: 18px; }
  .ecran { width: 100%; max-width: 460px; justify-self: end; padding: 24px; }

  .cloture { padding-bottom: 112px; }
  .cloture__boite { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; padding: 56px; }

  .auth-layout { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .auth-visual { display: block; position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--nuit); color: var(--blanc); }
  .auth-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .auth-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, color-mix(in srgb, var(--nuit) 20%, transparent) 30%, color-mix(in srgb, var(--nuit) 88%, transparent) 100%);
  }
  .auth-visual .barres { z-index: 3; }
  .auth-visual__text { position: absolute; left: 56px; right: 72px; bottom: 56px; z-index: 3; display: flex; flex-direction: column; gap: 18px; }
  .auth-visual__slogan { margin: 0; font-family: var(--police-titre); font-weight: 600; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.06; text-transform: uppercase; }
  .auth-visual__text p:last-child { margin: 0; max-width: 36ch; font-size: 17px; color: var(--brume); }
  .auth-form-panel { padding: 0 56px; }
  .auth-top { padding: 28px 0; }
  .auth-top__logo img { height: 26px; }

  .introuvable__corps { grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); gap: 72px; align-items: center; }
  .introuvable__photo { aspect-ratio: 2 / 3; max-height: 70svh; border-radius: 24px; }
}

/* =====================================================================
   Les six autres pages : galeries, contact, inscription, textes légaux, Prisma Now
   ===================================================================== */
.tete-de-page--seule { grid-template-columns: minmax(0, 1fr); }
.tete-de-page--seule .tete-de-page__texte { max-width: 760px; }
.haut-de-page--court { padding-bottom: 8px; }

/* Un champ sur fond nuit */
.champ--sombre { width: 100%; max-width: 560px; }
.champ--sombre label { color: var(--blanc); }
.champ--sombre input { border-color: transparent; }

/* ---------- Retrouver mes photos : la liste des photographes ---------- */
.galeries-section { padding-top: 40px; padding-bottom: 64px; }
.galeries-loading { display: flex; align-items: center; padding: 24px 0; color: var(--encre-2); }
.galeries-menu { display: grid; gap: 14px; }
.galeries-menu__item-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border-radius: var(--rayon);
  background: var(--fond-clair);
  text-decoration: none;
  transition: background .2s;
}
.galeries-menu__item-link:hover { background: color-mix(in srgb, var(--vert) 12%, var(--fond-clair)); }
.galeries-menu__logo {
  flex: none;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background: var(--couleur-studio, var(--nuit));
  color: var(--blanc);
  font-family: var(--police-titre);
  font-weight: 700;
  font-size: 26px;
}
.galeries-menu__logo img { width: 80%; height: 80%; object-fit: contain; }
.galeries-menu__texte { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.galeries-menu__nom { font-family: var(--police-titre); font-weight: 600; font-size: 15px; text-transform: uppercase; overflow-wrap: anywhere; }
.galeries-menu__voir { font-size: 14px; color: var(--encre-2); }
.galeries-menu__fleche { margin-left: auto; padding-right: 6px; font-size: 20px; }
.galeries-empty { padding: 24px 0; color: var(--encre-2); }
.galeries-empty p { margin: 0; }
.galeries-aide { margin: 36px 0 0; max-width: 60ch; color: var(--encre-2); }

/* ---------- Contact ---------- */
.contact { display: grid; gap: 48px; padding-top: 48px; padding-bottom: 64px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form__row { display: flex; flex-direction: column; gap: 6px; }
.contact-form__label { font-size: 13px; font-weight: 700; }
.contact-form__input,
.contact-form__textarea {
  width: 100%;
  padding: 0 16px;
  border: 1.5px solid var(--champ);
  border-radius: 12px;
  background: var(--blanc);
  color: var(--encre);
  font: inherit;
  font-size: 16px;
}
.contact-form__input { height: 52px; }
.contact-form__textarea { min-height: 150px; padding-top: 14px; padding-bottom: 14px; resize: vertical; }
.contact-form__input:focus,
.contact-form__textarea:focus { outline: none; border-color: var(--vert); box-shadow: 0 0 0 3px color-mix(in srgb, var(--vert) 30%, transparent); }
.contact-form__submit { align-self: flex-start; border: 0; cursor: pointer; }
.contact-success { display: none; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--rayon); background: color-mix(in srgb, var(--vert) 12%, var(--blanc)); }
.contact-success__title { font-size: 20px; }
.contact-success__desc { margin: 0; color: var(--encre-2); }
.contact__liens { display: flex; flex-direction: column; gap: 12px; }
.contact__liens h2 { font-size: 16px; margin-bottom: 4px; }
.contact-link-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border-radius: var(--rayon);
  background: var(--fond-clair);
  text-decoration: none;
  transition: background .2s;
}
.contact-link-card:hover { background: color-mix(in srgb, var(--vert) 12%, var(--fond-clair)); }
.contact-link-card__title { font-family: var(--police-texte); font-size: 16px; font-weight: 800; text-transform: none; letter-spacing: 0; }
.contact-link-card__desc { margin: 0; font-size: 14px; color: var(--encre-2); }

/* ---------- Inscription : mêmes briques que la connexion ---------- */
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.form-group select {
  width: 100%;
  height: 52px;
  padding: 0 14px;
  border: 1.5px solid var(--champ);
  border-radius: 12px;
  background: var(--blanc);
  color: var(--encre);
  font: inherit;
  font-size: 16px;
}
.form-group select:focus { outline: none; border-color: var(--vert); box-shadow: 0 0 0 3px color-mix(in srgb, var(--vert) 30%, transparent); }
.terms-row { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--encre-2); }
.terms-row input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--vert); }
.terms-row label { font-size: 14px; font-weight: 500; }
.auth-box form#form-inscription-photo { display: flex; flex-direction: column; gap: 16px; }
.auth-box form#form-inscription-photo button[type="submit"] {
  min-height: 54px;
  margin-top: 4px;
  border: 0;
  border-radius: 14px;
  background: var(--vert);
  color: var(--nuit);
  font-family: var(--police-titre);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .03em;
  text-transform: uppercase;
  cursor: pointer;
}
.auth-visual__atouts { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.auth-visual__atouts li { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 600; }
.auth-visual__atouts li::before { content: ""; flex: none; width: 4px; height: 18px; border-radius: 99px; background: var(--vert); }

/* ---------- Textes légaux (le texte reste celui de Louis) ---------- */
.prose-wrap { max-width: 760px; padding-top: 48px; padding-bottom: 72px; }
.prose-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 18px; }
.prose-meta__tag { padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--vert) 15%, var(--blanc)); color: var(--vert-texte); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.prose-meta__date { font-size: 14px; color: var(--encre-2); }
.prose-wrap h1 { font-size: clamp(28px, 4.4vw, 48px); }
@media (max-width: 359px) { .prose-wrap h1 { font-size: 24px; } } /* « CONFIDENTIALITÉ » tient sur 320 px */
.prose-wrap .lead { margin: 18px 0 0; font-size: 18px; color: var(--encre-2); }
.prose-section { margin-top: 40px; }
.prose-section h2 { font-family: var(--police-texte); font-size: 21px; font-weight: 800; letter-spacing: 0; text-transform: none; }
.prose-section h3 { font-family: var(--police-texte); font-size: 17px; font-weight: 800; letter-spacing: 0; text-transform: none; margin-top: 18px; }
.prose-section p,
.prose-section li { font-size: 16px; color: var(--encre-2); }
.prose-section p { margin: 12px 0 0; }
.prose-section ul { margin: 12px 0 0; padding-left: 0; list-style: none; }
.prose-section li { position: relative; margin-top: 6px; padding-left: 18px; }
/* Puce : la gélule émeraude du signe */
.prose-section li::before { content: ""; position: absolute; left: 0; top: .42em; width: 4px; height: 12px; border-radius: 99px; background: var(--vert); }
.prose-section strong { color: var(--encre); }
.prose-section a { color: var(--vert-texte); font-weight: 700; }

/* ---------- Télécharger Prisma Now ---------- */
.telecharger { position: relative; min-height: 100svh; display: flex; flex-direction: column; background: var(--nuit); color: var(--blanc); }
.telecharger__corps { flex: 1; display: grid; gap: 36px; align-content: center; padding-top: 24px; padding-bottom: 56px; }
.telecharger__texte { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.telecharger h1 { font-size: clamp(34px, 6vw, 72px); line-height: 1.02; }
.telecharger__texte p { margin: 0; max-width: 44ch; font-size: 17px; color: var(--brume); }
.telecharger form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border-radius: 24px;
  background: var(--blanc);
  color: var(--encre);
}
.telecharger form label { margin-top: 8px; font-size: 13px; font-weight: 700; }
.telecharger form input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1.5px solid var(--champ);
  border-radius: 12px;
  font: inherit;
  font-size: 16px;
  color: var(--encre);
}
.telecharger form input:focus { outline: none; border-color: var(--vert); box-shadow: 0 0 0 3px color-mix(in srgb, var(--vert) 30%, transparent); }
.telecharger form button {
  min-height: 54px;
  margin-top: 14px;
  border: 0;
  border-radius: 14px;
  background: var(--vert);
  color: var(--nuit);
  font-family: var(--police-titre);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .03em;
  text-transform: uppercase;
  cursor: pointer;
}
.telecharger form button:disabled { opacity: .6; cursor: default; }
.telecharger .ok,
.telecharger .err { font-size: 14px; font-weight: 600; }
.telecharger .ok { color: var(--vert-texte); }
.telecharger .err { color: var(--erreur); }
.telecharger .ok:empty,
.telecharger .err:empty { display: none; }

@media (min-width: 900px) {
  .galeries-section { padding-top: 56px; padding-bottom: 112px; }
  .galeries-menu { grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 16px; }
  .galeries-menu__logo { width: 84px; height: 84px; }

  .contact { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 80px; padding-top: 72px; padding-bottom: 112px; align-items: start; }

  .prose-wrap { padding-top: 72px; padding-bottom: 112px; }

  .telecharger__corps { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 80px; align-items: center; }
  .telecharger form { padding: 36px; max-width: 460px; justify-self: end; width: 100%; }
}

@media (min-width: 900px) {
  .auth-layout--inverse { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
}

/* =====================================================================
   Les gélules du P en fond : quelques-unes montent très lentement, ton sur ton,
   dans les blocs sombres (Hervé, 26/11/2026 : « gélules dynamiques en fond »).
   Fût 12 × 60 et boucle 22 × 36, comme dans le P ; la boucle seule prend l'émeraude.
   Chaque gélule part sous le bloc et sort par le haut ; sans animation, elle reste à sa place.
   ===================================================================== */
.avec-gelules { position: relative; isolation: isolate; }
.gelules { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; container-type: size; }
.gelules i {
  --g: 3px; --x: 10%; --y: .5; --duree: 60s; --retard: 0s;
  position: absolute;
  left: var(--x);
  top: calc(var(--y) * 100%);
  width: calc(var(--g) * 22);
  height: calc(var(--g) * 36);
  border-radius: 999px;
  background: color-mix(in srgb, var(--vert) 11%, transparent);
  animation: gelule-monte var(--duree) linear calc(var(--retard) + var(--decale, 0s)) infinite;
}
/* D'un bloc à l'autre, elles ne sont ni au même endroit ni du même côté */
.pied .gelules { --decale: -17s; }
.pied .gelules i:nth-child(1) { --x: 40%; } /* l'émeraude ne passe pas à côté du P */
.haut-de-page .gelules,
.telecharger .gelules { --decale: -29s; transform: scaleX(-1); }
.introuvable .gelules { --decale: -41s; }
.gelules i:nth-child(even) { width: calc(var(--g) * 12); height: calc(var(--g) * 60); background: color-mix(in srgb, var(--blanc) 5%, transparent); }
.gelules i:nth-child(1) { --g: 3px; --x: 5%;  --y: .62; --duree: 48s; --retard: -10s; }
.gelules i:nth-child(2) { --g: 2px; --x: 33%; --y: .18; --duree: 62s; --retard: -34s; }
.gelules i:nth-child(3) { --g: 5px; --x: 66%; --y: .40; --duree: 70s; --retard: -50s; background: color-mix(in srgb, var(--blanc) 4%, transparent); }
.gelules i:nth-child(4) { --g: 3px; --x: 90%; --y: .78; --duree: 55s; --retard: -22s; }
@keyframes gelule-monte {
  from { transform: translateY(calc((1 - var(--y)) * 100cqh)); }
  to   { transform: translateY(calc(var(--y) * -100cqh - 100%)); }
}
@media (min-width: 900px) {
  .gelules i:nth-child(1) { --g: 4px; }
  .gelules i:nth-child(2) { --g: 3px; }
  .gelules i:nth-child(3) { --g: 7px; }
  .gelules i:nth-child(4) { --g: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .gelules i { animation: none; }
}

/* Le monogramme P en très grand, ton sur ton, coupé par le bord d'un bloc sombre : section
   photographes et page introuvable (choix d'Hervé, 26/11/2026). Les proportions sont celles du kit
   (fût 12 × 60, boucle 22 × 36 à 16 du bord) ; les gélules qui montent semblent s'en échapper. */
.filigrane-p { --p: 7px; position: absolute; width: calc(var(--p) * 38); height: calc(var(--p) * 60); }
.filigrane-p span { position: absolute; top: 0; border-radius: 999px; }
.filigrane-p span:nth-child(1) { left: 0; width: calc(var(--p) * 12); height: 100%; background: color-mix(in srgb, var(--blanc) 7%, transparent); }
.filigrane-p span:nth-child(2) { left: calc(var(--p) * 16); width: calc(var(--p) * 22); height: calc(var(--p) * 36); background: color-mix(in srgb, var(--vert) 17%, transparent); }
/* Sur fond clair (questions fréquentes) : le fût nuit, la boucle émeraude, comme le P « fond clair » du kit */
.filigrane-p--clair span:nth-child(1) { background: color-mix(in srgb, var(--nuit) 6%, transparent); }
.filigrane-p--clair span:nth-child(2) { background: color-mix(in srgb, var(--vert) 16%, transparent); }
/* Il se lit en entier : sous la photo, jamais caché par elle (Hervé : « je ne vois pas le monogramme ») */
.photographes .filigrane-p { --p: 5px; bottom: calc(var(--p) * 3); right: calc(var(--p) * -2); }
.faq .filigrane-p { display: none; }
.introuvable .filigrane-p { top: calc(var(--p) * 14); right: calc(var(--p) * -14); }
@media (min-width: 900px) {
  .filigrane-p { --p: 12px; }
  .photographes .filigrane-p { --p: 7px; bottom: 40px; right: 24px; }
  .faq .filigrane-p { display: block; position: relative; --p: 5px; margin-top: 56px; }
  .introuvable .filigrane-p { top: auto; right: auto; left: 30%; bottom: calc(var(--p) * -10); }
}
