/* Polices auto-hébergées : aucune requête vers un service extérieur.
   Bricolage Grotesque et Archivo, sous licence SIL Open Font License 1.1.
   Voir site/assets/fonts/LICENCES.txt. */

@font-face { font-family: "Bricolage"; src: url("/assets/fonts/bricolage-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url("/assets/fonts/bricolage-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url("/assets/fonts/bricolage-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Belleza"; src: url("/assets/fonts/belleza-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("/assets/fonts/cormorant-italique-500.woff2") format("woff2");
  font-style: italic; font-weight: 400 500; font-display: swap; }
/* Anton : seulement pour le -30 % de l'offre, comme sur l'affiche de la boutique. */
@font-face { font-family: "Anton"; src: url("/assets/fonts/anton-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap; }

/* Vivaldi Optique — feuille de styles du site.
   Conçue à 390 px puis élargie. Aucune police distante, aucune dépendance.
   Les couleurs viennent de config/projet.json > design.proposal_tokens :
   ce sont des propositions de travail, pas une charte officielle validée. */

:root {
  --encre: #151515;
  --papier: #f7f5f1;
  --mineral: #d9d7d2;
  --texte-second: #575650;
  --blanc: #ffffff;

  --fond: var(--papier);
  --texte: var(--encre);
  --survol: #2e2e2e;
  /* Filet de séparation, purement décoratif : il ne porte aucune information
     et n'est jamais le seul moyen de distinguer deux cibles. */
  --filet: #c7c4bc;
  /* Texte secondaire sur fond encre : precisions, jours de fermeture.
     Verifie par outils/verifier_contrastes.py, seuil AA texte courant. */
  --mineral-doux: #a4a19a;
  /* Filet decoratif sur fond encre : separe, ne delimite aucune cible. */
  --filet-encre: #3a3a3a;
  /* Contour d'une cible cliquable sur fond encre. Soumis au seuil 3:1 de
     WCAG 1.4.11 : c'est lui qui dit ou commence et ou finit le bouton. */
  --bordure-encre: #6e6e6e;
  /* Son equivalent sur fond papier. */
  --bordure: #8a8781;

  /* Bleu pétrole relevé sur la façade de la boutique : boutons, bande de
     chiffres, sections sombres, sur-titres. Le pied reste noir. Le bois clair
     des chiffres a été retiré à la demande de la boutique (01/10/2026).
     Propositions, pas une charte validée. */
  --petrole: #1b3d42;
  --petrole-survol: #255258;
  /* Pétrole lisible en texte courant sur papier (6,6:1). */
  --petrole-texte: #2a5f65;

  --gouttiere: 22px;
  --largeur-max: 1200px;

  /* Titres en Belleza depuis le 09/10/2026 : equivalent libre d'Optima,
     la police de Grand Optical. Une seule graisse : les titres sont en 400. */
  --titre: "Belleza", Optima, "Candara", "Helvetica Neue", Arial, sans-serif;
  /* Citations seulement : une garalde italique, « a l'ancienne ». */
  --citation: "Cormorant", "Garamond", Georgia, serif;
  --courant: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;

  --t-courant: 1.0625rem;   /* 17px */
  --t-petit: 0.9375rem;     /* 15px */
  --t-mention: 0.8125rem;   /* 13px */
  --t-h1: clamp(2.5rem, 1.75rem + 3.6vw, 4.5rem);
  --t-h2: clamp(1.75rem, 1.35rem + 1.9vw, 2.75rem);
  --t-h3: clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem);

  /* Hauteur de contrôle visée : 48 px, objectif de confort du projet. */
  --controle: 48px;
  --rayon: 2px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: var(--courant);
  font-size: var(--t-courant);
  line-height: 1.62;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

h1, h2 {
  margin: 0;
  font-family: var(--titre);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
}
/* Belleza n'a qu'une graisse : pas de faux gras calculé par le navigateur. */
html { font-synthesis-weight: none; }

/* Les intertitres restent en grotesque : ils servent de repères de lecture,
   pas d'effets. */
h3 {
  margin: 0;
  font-family: var(--courant);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.005em;
  font-size: var(--t-h3);
}

h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

address { font-style: normal; }

/* ---------- Structure ---------- */

.enveloppe {
  width: 100%;
  max-width: var(--largeur-max);
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}
.enveloppe--etroite { max-width: 760px; }

.section { padding-block: clamp(46px, 7vw, 84px); }
.section--serree { padding-block: clamp(32px, 5vw, 56px); }
.section--encre {
  background: var(--petrole);
  color: var(--papier);
  /* Sur pétrole, le gris des contours tombait sous 3:1. */
  --bordure-encre: #87a3a6;
  --filet-encre: #33575c;
}
.section--encre .sur-titre,
.section--encre .infos__etiquette { color: var(--mineral); }
.section--encre .chapo { color: var(--mineral); }
.section--encre .infos__note { color: var(--mineral); }
.section--encre .horaires__jour { border-bottom-color: var(--filet-encre); }
.section--encre .horaires__jour--ferme .horaires__libelle,
.section--encre .horaires__jour--ferme .horaires__creneaux { color: var(--mineral-doux); }

.sur-titre {
  margin: 0 0 14px;
  font-size: var(--t-mention);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--petrole-texte);
}

/* Sujet de la page, placé dans le h1 pour qu'il dise de quoi parle la page
   et où ; affiché comme un sur-titre, au-dessus de la phrase d'accroche. */
.h1__sujet {
  display: block;
  margin-bottom: 14px;
  font-family: var(--courant);
  font-size: var(--t-mention);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--petrole-texte);
}
/* Lu par les lecteurs d'écran, invisible à l'écran. */
.masque {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.chapo {
  max-width: 58ch;
  margin-top: 14px;
  color: var(--texte-second);
}
.chapo--large { max-width: 44ch; font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem); }
.marques-liste {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  list-style: none;
}
.marques-liste li {
  padding: 10px 16px;
  border: 1px solid var(--bordure, #d9d7d2);
  font-size: var(--t-petit);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.fiche-faits { display: grid; gap: 0; margin: 0; }
.fiche-faits > div {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-top: 1px solid var(--filet);
}
.fiche-faits > div:last-child { border-bottom: 1px solid var(--filet); }
.fiche-faits dt {
  font-size: var(--t-petit);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--texte-second);
}
.fiche-faits dd { margin: 0; }
.fiche-faits dd::first-letter { text-transform: uppercase; }
@media (min-width: 768px) {
  .fiche-faits > div { grid-template-columns: 200px minmax(0, 1fr); gap: 24px; }
}
.article__date { margin: 14px 0 18px; font-size: var(--t-petit); color: var(--texte-second); }

.filet { border: 0; border-top: 1px solid var(--filet); margin: 0; }

.apres-grille { margin-top: 28px; }

/* Paliers d'espacement. Des classes plutôt que des styles en ligne : la
   politique de sécurité du site peut ainsi interdire les styles inline. */
.espace-s { margin-top: 16px; }
.espace-m { margin-top: 26px; }
.espace-l { margin-top: 30px; }

/* ---------- Évitement et focus ---------- */

.evitement {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--encre);
  color: var(--papier);
  padding: 12px 18px;
  z-index: 100;
}
.evitement:focus { left: 0; }

:where(a, button, summary, details, [tabindex]):focus-visible {
  outline: 3px solid var(--encre);
  outline-offset: 3px;
}
.section--encre :where(a, button, summary):focus-visible,
.pied :where(a, button, summary):focus-visible { outline-color: var(--papier); }
.barre-actions a:focus-visible { outline: 3px solid var(--papier); outline-offset: -5px; }

/* ---------- En-tête ---------- */

.en-tete {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 245, 241, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--filet);
}

.en-tete__barre {
  display: flex;
  flex-wrap: wrap;      /* au zoom fort, la barre se replie au lieu de déborder */
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding-block: 8px;
}
.en-tete__barre > * { min-width: 0; }

.en-tete__logo { display: flex; align-items: center; text-decoration: none; }
.en-tete__logo img { width: 120px; height: auto; }

.en-tete__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }

.bouton-menu {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: var(--controle);
  padding: 0 14px;
  background: transparent;
  border: 1px solid var(--encre);
  border-radius: var(--rayon);
  color: var(--encre);
  font: inherit;
  font-size: var(--t-petit);
  cursor: pointer;
}
/* Sous 480 px, le libellé du bouton est masqué visuellement mais reste lu
   par les technologies d'assistance : la barre tient alors sur une ligne. */
@media (max-width: 479px) {
  .en-tete__logo img { width: 110px; }
  .bouton-menu { padding: 0 13px; }
  .bouton-menu__texte {
    position: absolute;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

.bouton-menu__traits { display: block; width: 18px; height: 10px; position: relative; }
.bouton-menu__traits::before,
.bouton-menu__traits::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
}
.bouton-menu__traits::before { top: 0; }
.bouton-menu__traits::after { bottom: 0; }

/* La navigation vit dans la barre. Sous 1024 px elle occupe toute la largeur
   et se replie sous le logo ; au-delà elle s'aligne entre le logo et le bouton. */
.navigation {
  flex: 0 0 100%;
  order: 3;
  border-top: 1px solid var(--filet);
  margin-top: 4px;
}
.navigation[hidden] { display: none; }
.navigation__liste { margin: 0; padding: 6px 0 10px; list-style: none; }
.navigation__liste a {
  display: block;
  min-height: var(--controle);
  padding: 13px 0;
  text-decoration: none;
  border-bottom: 1px solid var(--filet);
}
.navigation__liste li:last-child a { border-bottom: 0; }

/* Déroulants des marques (Lunettes de vue, Solaires). Mobile : le bouton
   chevron déplie la liste sous le lien, en retrait. */
.navigation__groupe { display: flex; flex-wrap: wrap; align-items: stretch; border-bottom: 1px solid var(--filet); }
.navigation__groupe > a { flex: 1 1 auto; border-bottom: 0; }
.navigation__deplier {
  flex: 0 0 var(--controle);
  min-height: var(--controle);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--encre);
  cursor: pointer;
  position: relative;
}
.navigation__deplier::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 7px; height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translate(-50%, -70%) rotate(45deg);
}
.navigation__groupe.est-ouvert .navigation__deplier::before { transform: translate(-50%, -30%) rotate(-135deg); }
.navigation__deplier:focus-visible { outline: 3px solid var(--petrole-texte); outline-offset: -3px; }
.navigation__marques { display: none; flex: 0 0 100%; margin: 0; padding: 0 0 8px 16px; list-style: none; }
.navigation__groupe.est-ouvert .navigation__marques { display: block; }
.navigation__liste .navigation__marques a {
  min-height: 0;
  padding: 10px 0;
  border-bottom: 0;
  font-size: var(--t-petit);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- Boutons ---------- */

.actions { display: flex; flex-wrap: wrap; gap: 10px; }

.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--controle);
  padding: 0 22px;
  border: 1px solid var(--petrole);
  border-radius: var(--rayon);
  background: var(--petrole);
  color: var(--papier);
  font-size: var(--t-petit);
  letter-spacing: 0.02em;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.bouton:hover { border-color: var(--petrole-survol); }
.bouton--compact { padding: 0 14px; font-size: var(--t-mention); }

.bouton--second { background: transparent; color: var(--petrole); }
.bouton--second:hover { border-color: var(--encre); }

.section--encre .bouton { background: var(--papier); color: var(--petrole); border-color: var(--papier); }
.section--encre .bouton:hover { border-color: var(--brume); }
.section--encre .bouton--second { background: transparent; color: var(--papier); border-color: var(--papier); }


.lien-texte {
  display: inline-block;
  padding-block: 13px;
  line-height: 1.4;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  font-size: var(--t-petit);
  letter-spacing: 0.02em;
}

/* ---------- Premier écran ---------- */

.premier-ecran__media {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--mineral);
  overflow: hidden;
}
.premier-ecran__media img,
.premier-ecran__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Premier écran vidéo : tout le texte est posé sur la vidéo, en bas
   (demandes du 01 et du 02/10/2026). À toutes les tailles, la vidéo occupe la
   hauteur de l'écran sous l'en-tête et se rogne pour la remplir ; si le texte
   demande plus de place (téléphone en paysage), le bloc s'allonge.
   65 px : en-tête ; 56 px : barre d'actions fixe, présente sous 1024 px. */
.premier-ecran--video .premier-ecran__media {
  display: flex;
  align-items: flex-end;
  aspect-ratio: auto;
  min-height: calc(100vh - 65px - 56px);
  min-height: calc(100svh - 65px - 56px);
  background: var(--encre);
}
.premier-ecran--video .premier-ecran__media video { position: absolute; inset: 0; }
/* Voile en dégradé : le texte reste lisible quelle que soit l'image. */
.premier-ecran__voile {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 18, 20, 0.9) 0%, rgba(10, 18, 20, 0.62) 45%,
              rgba(10, 18, 20, 0.15) 80%, rgba(10, 18, 20, 0));
  pointer-events: none;
}
.premier-ecran--video .premier-ecran__texte {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: 56px 68px;
  color: var(--papier);
}
.premier-ecran--video .h1__sujet { color: var(--papier); }
.premier-ecran--video .premier-ecran__chapo { color: rgba(247, 245, 241, 0.9); }
.premier-ecran--video .premier-ecran__pratique { color: rgba(247, 245, 241, 0.88); }
.premier-ecran--video .bouton { background: var(--papier); color: var(--petrole); border-color: var(--papier); }
.premier-ecran--video .bouton:hover { border-color: var(--brume); }
.premier-ecran--video .bouton--second { background: transparent; color: var(--papier); border-color: var(--papier); }

.premier-ecran--video :where(a, button):focus-visible { outline-color: var(--papier); }
.premier-ecran--video .ouverture--ouvert .ouverture__pastille { background: #4fbd86; }
.premier-ecran--video .ouverture--bientot .ouverture__pastille { background: #d9a93c; }
.premier-ecran--video .ouverture__pastille { background: var(--mineral); }

.premier-ecran__texte { padding-block: 30px 10px; }
.premier-ecran__texte h1 { margin-bottom: 16px; }
.premier-ecran__lieu {
  margin: 0 0 20px;
  font-size: var(--t-petit);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--texte-second);
}
.premier-ecran__chapo { max-width: 46ch; color: var(--texte-second); margin-bottom: 26px; }
/* Adresse et état d'ouverture, juste sous les actions. */
.premier-ecran__pratique {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  margin-top: 18px;
  font-size: var(--t-petit);
  color: var(--texte-second);
}
.premier-ecran__pratique p { margin: 0; }
/* Téléphone en paysage : écran très bas, texte resserré pour tenir. Les deux
   boutons sont déjà dans la barre d'actions fixe, juste en dessous. */
@media (orientation: landscape) and (max-height: 500px) and (max-width: 1023px) {
  .premier-ecran--video .premier-ecran__media .premier-ecran__texte { padding-block: 24px 20px; }
  .premier-ecran--video h1 { font-size: clamp(1.75rem, 6vh + 0.75rem, 2.5rem); }
  .premier-ecran--video .premier-ecran__chapo { margin-bottom: 12px; }
  .premier-ecran--video .actions { display: none; }
  .citation--hero .citation__texte p { font-size: 1.05rem; line-height: 1.25; }
  .citation--hero .citation__source { margin-top: 6px; }
}

/* ---------- Présentation du magasin (page Le magasin) ---------- */

/* Texte repris de l'ancien site Squarespace, avec ses polices : Helvetica
   Neue (poids 500) pour les titres, Arial pour le texte. Polices système :
   rien à télécharger ; sous Windows, Helvetica Neue retombe sur Arial. */
.apropos { font-family: Arial, Helvetica, sans-serif; }
.apropos__grille { display: grid; gap: 32px; }
.apropos__titre {
  margin: 0 0 18px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: 0;
}
.apropos__accroche {
  margin: 0;
  max-width: 34em;
  font-size: clamp(1.125rem, 1rem + 0.55vw, 1.4rem);
  line-height: 1.55;
}
.apropos__invitation {
  margin: 24px 0 0;
  padding-left: 16px;
  border-left: 3px solid var(--petrole-texte);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.45;
}
.apropos__valeurs {
  padding: 26px 24px;
  background: var(--blanc);
  border: 1px solid var(--filet);
}
/* Grande photo de l'opticien a gauche, les deux textes a droite. */
.apropos__photo {
  width: 100%;
  height: auto;
  max-height: 75vh;
  object-fit: cover;
  object-position: 50% 15%;
}
.apropos__valeurs p { color: var(--texte-second); margin-bottom: 0.9em; }
.apropos__valeurs p:last-child { margin-bottom: 0; }
.apropos__reperes {
  display: grid;
  gap: 14px;
  margin: 0 0 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--filet);
}
.apropos__reperes dt {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1.25;
}
.apropos__reperes dd {
  margin: 2px 0 0;
  font-size: var(--t-mention);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--texte-second);
}
@media (min-width: 860px) {
  .apropos__grille {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    grid-template-areas: "photo marque" "photo valeurs";
    gap: 40px 56px;
    align-items: start;
  }
  /* En portrait, sans s'etirer ; elle accompagne la lecture du texte. */
  .apropos__photo {
    grid-area: photo;
    position: sticky;
    top: 100px;
    aspect-ratio: 4 / 5;
    height: auto;
    max-height: calc(100vh - 120px);
  }
  .apropos__marque { grid-area: marque; }
  .apropos__valeurs { grid-area: valeurs; }
  .apropos__valeurs { padding: 32px 30px; }
}

/* ---------- Bande média pleine largeur ---------- */

.bande-media img { width: 100%; max-height: 62vh; object-fit: cover; }

/* ---------- Grilles ---------- */

.grille { display: grid; gap: 18px; }
.grille--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.carte { display: flex; flex-direction: column; gap: 10px; margin: 0; text-decoration: none; }
.carte__media {
  /* Rapport natif des packshots : on ne recadre pas un produit. */
  aspect-ratio: 2 / 3;
  background: var(--mineral);
  overflow: hidden;
}
.carte__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
a.carte:hover .carte__media img { transform: scale(1.03); }
.carte figcaption { display: flex; flex-direction: column; gap: 3px; }
.carte__titre { font-size: var(--t-petit); font-weight: 600; }
.carte__detail { font-size: var(--t-mention); color: var(--texte-second); }

/* Bloc texte + image */
.duo { display: grid; gap: 28px; }
.duo__media img { width: 100%; }

/* Listes */
.liste-liens { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--filet); }
.liste-liens li { border-bottom: 1px solid var(--filet); }
.liste-liens a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 62px;
  padding: 12px 0;
  text-decoration: none;
}
.liste-liens a > span:first-child { min-width: 0; }
.fleche { color: var(--texte-second); }

.liste-points { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 28px; }
.liste-points h3 { margin-bottom: 6px; }
.liste-points p { color: var(--texte-second); max-width: 52ch; }

.etapes { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 30px; }
.etapes li { display: grid; gap: 7px; }
.etapes__rang {
  font-size: var(--t-mention);
  letter-spacing: 0.16em;
  color: var(--texte-second);
}
.etapes p { color: var(--texte-second); max-width: 52ch; }
.section--encre .etapes p,
.section--encre .liste-points p { color: var(--mineral); }

/* Articles de conseil : du texte long, une seule colonne lisible. */
.texte-long { max-width: 68ch; }
.texte-long h2 {
  margin-top: clamp(30px, 4vw, 46px);
  margin-bottom: 12px;
}
.texte-long h2:first-child { margin-top: 0; }
.texte-long p { margin: 0 0 16px; }
.liste-simple { margin: 0 0 16px; padding-left: 1.15em; }
.liste-simple li { margin-bottom: 8px; }
.etapes--simples { counter-reset: none; }
.etapes--simples h3 { margin: 0 0 4px; }
.etapes--simples p { margin: 0; }

/* Sommaire de l'espace conseils */
.articles { display: grid; gap: 0; }
.article-carte { padding-block: 26px; border-top: 1px solid var(--filet); }
.article-carte:last-child { border-bottom: 1px solid var(--filet); }
.article-carte :where(h2, h3) { margin: 0 0 10px; font-size: var(--t-h3); }
.article-carte :where(h2, h3) a { text-decoration: none; }
.article-carte :where(h2, h3) a:hover { text-decoration: underline; text-underline-offset: 4px; }
.article-carte p { margin: 0 0 8px; max-width: 64ch; }
.article-carte__meta {
  font-size: var(--t-mention);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--texte-second);
}

/* Liste de services : des blocs separes par un filet, pas des cartes.
   L'elevation ne dirait rien ici : aucun service n'est au-dessus d'un autre. */
.services { display: grid; gap: 0; }
.service {
  padding-block: 26px;
  border-top: 1px solid var(--filet);
}
.service:last-child { border-bottom: 1px solid var(--filet); }
.service h3 { margin: 0 0 8px; }
.service p { margin: 0 0 10px; max-width: 62ch; }
.service p:last-child { margin-bottom: 0; }

@media (min-width: 860px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
  .services .service:nth-child(2) { border-top: 1px solid var(--filet); }
  .service:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--filet); }
}

/* Bande de chiffres. Chacun correspond a un fait verifiable, releve dans
   config/projet.json : rien n'est arrondi a la hausse ni invente. */
.bande-chiffres {
  background: var(--petrole);
  color: var(--papier);
  padding-block: clamp(30px, 4.5vw, 52px);
}
.chiffres {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 20px;
  margin: 0;
}
.chiffre { display: grid; gap: 4px; }
.chiffre__valeur {
  margin: 0;
  font-family: var(--titre);
  font-size: clamp(2.2rem, 1.5rem + 3vw, 3.4rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--papier);
}
.chiffre__unite { font-size: 0.42em; font-weight: 500; letter-spacing: 0.02em; }
.chiffre__libelle {
  margin: 0;
  font-size: var(--t-petit);
  line-height: 1.45;
  color: var(--mineral);
}
.chiffre__precision { color: var(--mineral-doux); }

/* Trois chiffres : une seule ligne, dès le mobile. */
.chiffres--trois { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 14px; }

@media (min-width: 720px) {
  .chiffres { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
  .chiffres--trois { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
}

/* Avis Google : le resume, puis les extraits en cartes.
   Les logos de marque ne servent qu'a identifier la source. */
.symboles { position: absolute; width: 0; height: 0; overflow: hidden; }

.avis-resume {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 18px;
}
.avis-resume__logo { width: 26px; height: 26px; flex: none; margin-top: 2px; }
.avis-resume__texte { margin: 0; max-width: 46ch; color: var(--texte-second); }

.etoiles { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; }
.etoiles__dessin { display: inline-flex; gap: 2px; }
.etoile { width: 16px; height: 16px; color: #fbbc05; }

/* Bandeau Google : couleurs de la marque Google, pour identifier la source. */
.avis-google {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding: 20px 24px;
  background: var(--blanc);
  border: 1px solid var(--filet);
  border-radius: var(--rayon);
  width: 100%;
  max-width: 460px;
}
.avis-google__logo { width: 44px; height: 44px; flex: none; }
.avis-google__corps { display: grid; gap: 4px; }
.avis-google__source,
.avis-google__note,
.avis-google__nombre { margin: 0; }
.avis-google__source { font-size: var(--t-petit); color: var(--texte-second); }
.google-mot { font-weight: 600; letter-spacing: -0.01em; font-family: Arial, Helvetica, sans-serif; }
.google-mot__0, .google-mot__3 { color: #4285f4; }
.google-mot__1, .google-mot__5 { color: #ea4335; }
.google-mot__2 { color: #fbbc05; }
.google-mot__4 { color: #34a853; }
.avis-google__note { display: flex; align-items: center; gap: 10px; }
.avis-google__chiffre { font-size: 2rem; font-weight: 600; line-height: 1; color: var(--encre); }
.avis-google__etoiles { display: inline-flex; gap: 2px; }
.etoile--google { width: 22px; height: 22px; }
.avis-google__nombre { font-size: var(--t-petit); color: var(--texte-second); }
.avis__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.lien-avis { color: #1967d2; font-weight: 600; text-underline-offset: 3px; }
.lien-avis:hover { color: #174ea6; }
/* La note reste lisible sans voir les pictogrammes. */
.etoiles__texte {
  font-size: var(--t-mention);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--texte-second);
}

.avis-cartes {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}
.avis-carte {
  margin: 0;
  padding: 22px;
  background: var(--blanc);
  border: 1px solid var(--filet);
  border-radius: var(--rayon);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.avis-carte__texte { margin: 0; }
.avis-carte__texte p { margin: 0; }
.avis-carte__signature {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--filet);
}
.avis-carte__auteur { font-weight: 600; }
.avis-carte__date { font-size: var(--t-petit); color: var(--texte-second); }
.avis__mention {
  margin-top: 20px;
  max-width: 62ch;
  font-size: var(--t-petit);
  color: var(--texte-second);
}

@media (min-width: 720px) {
  .avis-cartes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
}

/* Liens vers les comptes de la boutique. */
.reseaux-liens {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.reseaux-liens li { max-width: 100%; }
.reseau {
  display: inline-flex;
  flex-wrap: wrap;
  max-width: 100%;
  align-items: center;
  gap: 10px;
  min-height: var(--controle);
  padding: 0 16px;
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  text-decoration: none;
}
.reseau:hover { border-color: var(--encre); }
.reseau__icone { width: 20px; height: 20px; flex: none; }
.reseau__nom { font-weight: 500; }
.reseau__compte { font-size: var(--t-petit); color: var(--texte-second); }

.pied .reseaux-liens { margin-top: 18px; }
.pied .reseau { border-color: var(--bordure-encre); color: var(--papier); }
.pied .reseau:hover { border-color: var(--papier); }
.pied .reseau__compte { color: var(--mineral-doux); }

/* Informations pratiques */
.infos { display: grid; gap: 22px; margin-top: 24px; }
.infos__bloc { display: grid; gap: 5px; }
.infos__etiquette {
  font-size: var(--t-mention);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--texte-second);
}
.infos__valeur { margin: 0; max-width: 46ch; }
.infos__note {
  margin: 2px 0 0;
  max-width: 46ch;
  font-size: var(--t-petit);
  color: var(--texte-second);
}

/* Horaires, jour par jour. Un seul rendu, genere a la construction depuis
   config/projet.json : la pause de midi et le vendredi matin ferme ne se
   resument pas en une ligne sans mentir. */
.horaires { display: grid; gap: 2px; max-width: 34ch; }
.horaires__jour {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  padding-block: 5px;
  border-bottom: 1px solid var(--filet);
  line-height: 1.45;
}
.horaires__jour:last-child { border-bottom: 0; }
.horaires__libelle { font-weight: 500; }
.horaires__creneaux { font-variant-numeric: tabular-nums; text-align: right; }
.horaires__jour--ferme .horaires__libelle,
.horaires__jour--ferme .horaires__creneaux { color: var(--texte-second); }

/* Cartes d'action de la page contact */
.cartes-action { display: grid; gap: 14px; }
.carte-action {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-height: 92px;
  padding: 18px 22px;
  border: 1px solid var(--encre);
  border-radius: var(--rayon);
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.carte-action:hover { background: var(--encre); color: var(--papier); }
/* Accueil : les quatre volets de l'offre, deux par ligne puis quatre. */
@media (min-width: 600px) {
  .cartes-action.cartes-action--quatre { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .cartes-action.cartes-action--quatre { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.carte-action__titre { font-size: 1.125rem; font-weight: 600; }
.carte-action__detail { font-size: var(--t-mention); color: var(--texte-second); }
.carte-action:hover .carte-action__detail { color: var(--mineral); }

/* ---------- Pied de page ---------- */

.pied { background: var(--encre); color: var(--papier); padding-block: 54px 30px; }
.pied a { text-decoration: none; }
.pied a:hover { text-decoration: underline; }
.pied__haut { margin-bottom: 34px; }
.pied__logo { width: 150px; margin-bottom: 12px; }
.pied__accroche {
  margin: 0;
  font-size: var(--t-mention);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mineral);
}
.pied__colonnes { display: grid; gap: 30px; }
.pied__colonnes > * { min-width: 0; }
.pied__titre {
  font-size: var(--t-mention);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mineral);
  margin: 0 0 12px;
}
.pied__liste { margin: 0; padding: 0; list-style: none; }
.pied__liste a {
  display: inline-block;
  padding-block: 9px;   /* cible d'au moins 40 px sans bloquer le retour à la ligne */
  line-height: 1.4;
}
.pied__adresse, .pied__horaires { margin: 0 0 6px; color: var(--mineral); line-height: 1.6; }
.pied .horaires { margin-top: 10px; font-size: var(--t-petit); }
.pied .horaires__jour { border-bottom-color: var(--filet-encre); }
.pied .horaires__libelle, .pied .horaires__creneaux { color: var(--mineral); }
.pied .horaires__jour--ferme .horaires__libelle,
.pied .horaires__jour--ferme .horaires__creneaux { color: var(--mineral-doux); }
.pied__bas {
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid var(--filet-encre);
  font-size: var(--t-mention);
  color: var(--mineral);
  max-width: 62ch;
}

/* ---------- Mouvement réduit ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  a.carte:hover .carte__media img { transform: none; }
}

/* ---------- Écrans plus larges ---------- */

@media (min-width: 768px) {
  :root { --gouttiere: 32px; }

  .en-tete__logo img { width: 148px; }
  .bouton--compact { padding: 0 20px; font-size: var(--t-petit); }

  .grille { gap: 24px; }
  .grille--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  /* Le premier écran disponible est une photo verticale. Plutôt que de la
     rogner en bandeau large, on passe en deux colonnes. */
  .premier-ecran {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: center;
    max-width: var(--largeur-max);
    margin-inline: auto;
  }
  .premier-ecran__media { aspect-ratio: 3 / 4; max-height: 82vh; }
  /* Vidéo en bande pleine largeur, texte dessous : le titre à gauche,
     le chapeau et les actions à droite. */
  .premier-ecran--video { display: block; max-width: none; }
  .premier-ecran--video .premier-ecran__media { max-height: none; }
  /* Le titre à gauche, le chapeau, les actions et l'adresse à droite. */
  .premier-ecran--video .premier-ecran__texte {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    column-gap: clamp(32px, 5vw, 80px);
    align-items: end;
    max-width: var(--largeur-max);
    margin-inline: auto;
    padding-block: 120px 72px;
    padding-inline: var(--gouttiere);
  }
  .premier-ecran--video h1 { grid-row: 1 / span 3; margin-bottom: 0; }
  /* Dans la grille, la colonne texte ne doit pas se recentrer comme une
     enveloppe autonome : elle suit simplement sa colonne. */
  .premier-ecran__texte {
    max-width: none;
    margin-inline: 0;
    padding-block: 0;
    padding-inline: clamp(32px, 4.5vw, 72px);
  }

  .duo { grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); gap: 44px; align-items: center; }
  .duo--inverse .duo__texte { order: 2; }
  .duo--inverse .duo__media { order: 1; }

  .infos--deux { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
  .cartes-action { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pied__colonnes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  /* En-tête de 78 px, pas de barre d'actions. */
  .premier-ecran--video .premier-ecran__media {
    min-height: calc(100vh - 78px);
    min-height: calc(100svh - 78px);
  }
  .premier-ecran--video .premier-ecran__texte { padding-block: 48px 64px; }
  .en-tete__barre { min-height: 78px; gap: 32px; flex-wrap: nowrap; }
  .bouton-menu { display: none; }
  .navigation {
    flex: 1 1 auto;
    order: 0;
    border-top: 0;
    margin-top: 0;
  }
  .navigation[hidden] { display: block; }
  .navigation__liste { display: flex; gap: clamp(8px, 3vw - 21px, 18px); padding: 0; justify-content: flex-end; }
  .navigation__liste a { white-space: nowrap; }
  .en-tete__actions { order: 1; flex: 0 0 auto; }
  .navigation__liste a { border-bottom: 0; min-height: 44px; padding: 10px 0; font-size: var(--t-petit); }
  .navigation__liste a:hover { text-decoration: underline; text-underline-offset: 5px; }
  /* Ordinateur : la liste des marques s'ouvre sous le lien, au survol ou
     par le chevron. */
  .navigation__groupe { position: relative; flex-wrap: nowrap; align-items: center; border-bottom: 0; padding-right: 13px; }
  .navigation__deplier { position: absolute; top: 0; right: 0; bottom: 0; width: 13px; min-height: 0; }
  .navigation__deplier::before { width: 5px; height: 5px; }
  .navigation__marques {
    position: absolute;
    top: 100%;
    left: -16px;
    z-index: 50;
    min-width: 220px;
    padding: 10px 16px;
    background: var(--papier);
    border: 1px solid var(--filet);
    box-shadow: 0 10px 24px rgba(17, 17, 17, 0.08);
  }
  .navigation__groupe:hover .navigation__marques { display: block; }
  .navigation__liste .navigation__marques a { padding: 8px 0; min-height: 0; }

  .grille--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .duo { gap: 64px; }
}

/* ---------- Vidéo ---------- */

/* Les vidéos sont verticales : on borne leur largeur pour qu'elles ne mangent
   pas la page sur grand écran. Aucune ne se charge avant un geste du visiteur :
   `preload="none"` et l'affiche fixe suffisent à comprendre le contenu. */
.video { margin: 0; display: grid; gap: 12px; }
.video__cadre {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 9 / 16;
  background: var(--encre);
  overflow: hidden;
}
.video__cadre video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video figcaption { max-width: 42ch; font-size: var(--t-petit); color: var(--texte-second); }
.section--encre .video figcaption { color: var(--mineral); }
.section--encre 
.videos { display: grid; gap: 30px; margin-top: 26px; }
/* Les conseils en video : trois formats verticaux cote a cote ; sur mobile,
   une rangee qu'on fait glisser. */
.videos-grille {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 72%);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.videos-grille::-webkit-scrollbar { display: none; }
.videos-grille__item { scroll-snap-align: start; }
.videos-grille .video__cadre { max-width: none; }
@media (min-width: 768px) {
  .videos-grille { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; max-width: 900px; }
}
.article__video { margin-top: 28px; }
.lire-aussi { border-top: 1px solid var(--filet); }
.lire-aussi__liste { display: grid; gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
.lire-aussi__liste a { font-size: var(--t-h3); font-weight: 600; color: var(--encre); text-underline-offset: 4px; }

/* Boucle décorative : muette, sans son possible, avec une commande d'arrêt. */
.boucle { position: relative; max-width: 300px; }
.boucle video { width: 100%; height: 100%; object-fit: cover; display: block; }
.bouton-pause {
  position: absolute;
  right: 10px;
  bottom: 10px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--papier);
  border-radius: var(--rayon);
  background: rgba(21, 21, 21, 0.72);
  color: var(--papier);
  font: inherit;
  font-size: var(--t-mention);
  cursor: pointer;
}
.bouton-pause:hover { background: rgba(21, 21, 21, 0.9); }

/* Variante discrète : un rond avec l'icône seule. Le texte « Pause » ou
   « Lire » reste le nom du bouton pour les lecteurs d'écran. */
.bouton-pause--discret {
  width: 40px;
  min-height: 40px;
  padding: 0;
  border-color: rgba(247, 245, 241, 0.7);
  border-radius: 50%;
  background: rgba(21, 21, 21, 0.35);
  font-size: 0;
  opacity: 0.75;
  transition: opacity 0.18s ease, background-color 0.18s ease;
}
.bouton-pause--discret:hover,
.bouton-pause--discret:focus-visible { opacity: 1; background: rgba(21, 21, 21, 0.7); }
.bouton-pause--discret::before {
  content: "";
  display: block;
  margin: auto;
  width: 10px;
  height: 12px;
  border-left: 3px solid var(--papier);
  border-right: 3px solid var(--papier);
}
.bouton-pause--discret[aria-pressed="true"]::before {
  width: 0;
  height: 0;
  margin-left: 15px;
  border: 0;
  border-left: 11px solid var(--papier);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}

/* ---------- Plan ---------- */

.plan { margin: 0; display: grid; gap: 10px; }
.plan__image {
  display: block;
  border: 1px solid var(--filet);
  background: var(--mineral);
}
.plan__image img { width: 100%; height: auto; display: block; }
.plan__mentions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: baseline;
  font-size: var(--t-mention);
  color: var(--texte-second);
}
.section--encre .plan__mentions { color: var(--mineral); }
.plan__mentions a { color: inherit; }

@media (min-width: 768px) {
  .videos--deux { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
  /* Une vidéo verticale reste bornée : sinon elle occupe toute la hauteur de
     l'écran sur un grand moniteur et écrase le texte qu'elle accompagne. */
  .video__cadre { max-width: 360px; }
  .videos--deux .video__cadre { max-width: 320px; }
  .boucle { max-width: 320px; }
}

/* ---------- Numéros mis en avant ---------- */

/* Les trois temps du conseil : le chiffre devient un repère visuel. */
.etapes { counter-reset: etape; }
.etapes li {
  position: relative;
  padding-left: 0;
}
.etapes__rang {
  display: block;
  font-family: var(--titre);
  font-size: clamp(2.25rem, 1.8rem + 2.1vw, 3.5rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: var(--filet);
  margin-bottom: 2px;
}
.section--encre .etapes__rang { color: rgba(247, 245, 241, 0.22); }
/* Accueil, « Trois temps » : numéros dans le vert pétrole des sur-titres (demande du 02/10/2026). */
.etapes--vert .etapes__rang { color: var(--petrole-texte); }

/* Le téléphone, en évidence et confortable à toucher. */
.telephone {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  min-height: var(--controle);
  padding: 6px 0;
  font-family: var(--titre);
  font-size: clamp(1.625rem, 1.3rem + 1.5vw, 2.25rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-decoration: none;
  border-bottom: 2px solid currentColor;
}
.telephone:hover { color: var(--texte-second); }
.section--encre .telephone:hover { color: var(--mineral); }

/* Le numéro de rue, repère de façade sur la page Contact. */
.repere-numero {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 0 0 6px;
}
.repere-numero__chiffre {
  font-family: var(--titre);
  font-size: clamp(3.25rem, 2.4rem + 3.7vw, 5.5rem);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.05em;
}
.repere-numero__rue { font-size: var(--t-petit); line-height: 1.4; }

/* ---------- Repère animé sur le plan ---------- */

.plan__image { position: relative; }

.radar {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  background: var(--encre);
  box-shadow: 0 0 0 3px var(--papier), 0 2px 8px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}
/* Deux ondes décalées, comme un balayage radar. */
.radar::before,
.radar::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--encre);
  opacity: 0;
  animation: onde 2.8s cubic-bezier(0.2, 0.6, 0.3, 1) infinite;
}
.radar::after { animation-delay: 1.4s; }

@keyframes onde {
  0%   { transform: scale(0.6); opacity: 0.75; }
  70%  { opacity: 0.12; }
  100% { transform: scale(4.6); opacity: 0; }
}

.plan__etiquette {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -100%);
  margin-top: -22px;
  padding: 7px 12px;
  background: var(--encre);
  color: var(--papier);
  font-size: var(--t-mention);
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
  border-radius: var(--rayon);
  pointer-events: none;
}
.plan__etiquette::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  background: var(--encre);
  transform: rotate(45deg);
}

/* ---------- Apparition au défilement ---------- */

/* Discret : une translation courte, une seule fois, jamais de rebond.

   Le contenu est VISIBLE par défaut. Seul le script peut le masquer, et
   seulement pour les blocs encore sous la ligne de flottaison, en posant
   .a-poser. Conséquence : si le script ne s'exécute pas — erreur, blocage,
   extension — rien ne disparaît. L'inverse, masquer en CSS et compter sur le
   script pour révéler, laissait des sections entières invisibles. */
[data-apparait].a-poser {
  opacity: 0;
  transform: translateY(18px);
}
[data-apparait].visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.7, 0.3, 1);
}

/* Titre d'ouverture : les deux lignes se posent l'une après l'autre. */
.titre-anime > span {
  display: block;
  opacity: 0;
  transform: translateY(0.35em);
  animation: poser 0.9s cubic-bezier(0.22, 0.7, 0.3, 1) forwards;
}
.titre-anime > span:nth-child(2) { animation-delay: 0.14s; }
.titre-anime > span:nth-child(3) { animation-delay: 0.28s; }

@keyframes poser {
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  [data-apparait],
  [data-apparait].a-poser { opacity: 1; transform: none; transition: none; }
  .titre-anime > span { opacity: 1; transform: none; animation: none; }
  .radar::before, .radar::after { animation: none; opacity: 0.25; }
}

/* ---------- Citations (demande du 03/10/2026) ----------
   Un seul composant, partout : le texte en italique a l'ancienne, l'auteur et
   l'oeuvre en petites capitales dessous. */
.citation { margin: 0 auto; max-width: 40rem; text-align: center; }
.citation__texte { margin: 0; }
/* Des vers : chaque vers sur sa ligne quand la largeur le permet. */
.citation--vers { max-width: 52rem; }
.citation__texte p {
  margin: 0;
  font-family: var(--citation);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.3rem);
  line-height: 1.22;
  letter-spacing: 0;
  color: var(--encre);
}
.citation__source {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  font-size: var(--t-mention);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--texte-second);
}
.citation__source cite { font-style: italic; text-transform: none; letter-spacing: 0.02em; }
/* Dans le premier ecran : alignee a gauche, en clair sur la video. */
.citation--hero { margin: 0; text-align: left; max-width: 34rem; }
.citation--hero .citation__texte p { color: var(--papier); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); }
.citation--hero .citation__source { color: rgba(247, 245, 241, 0.82); }

/* ---------- WhatsApp, visible partout (demande du 03/10/2026) ----------
   Sous 1024 px : dans la barre d'actions fixe. Au-dessus : bouton flottant.
   Vert de la marque WhatsApp pour etre reconnu d'un coup d'oeil. */
.icone-whatsapp { width: 20px; height: 20px; flex: none; }
.barre-actions a.barre-actions__whatsapp { background: #187a42; color: #ffffff; }
.bouton--whatsapp { gap: 8px; }
.lien-whatsapp { display: inline-flex; align-items: center; gap: 8px; }
/* Doctolib : calendrier devant chaque lien de rendez-vous, bleu de la marque. */
.icone-doctolib { width: 18px; height: 18px; flex: none; margin-right: 8px; vertical-align: -3px; }
.bouton .icone-doctolib, .barre-actions .icone-doctolib { margin-right: 8px; }

/* En-tete : WhatsApp en icone, a cote du bouton de rendez-vous. */
.en-tete__whatsapp {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #187a42;
  color: #ffffff;
}
.en-tete__whatsapp .icone-whatsapp { width: 22px; height: 22px; }
.en-tete__whatsapp:focus-visible { outline: 3px solid var(--encre); outline-offset: 2px; }
/* Sous 1280 px, WhatsApp est deja dans la barre du bas ou le bouton flottant. */
@media (max-width: 1279px) { .en-tete__whatsapp { display: none; } }
@media (min-width: 1024px) and (max-width: 1179px) {
  .en-tete .bouton .icone-doctolib { display: none; }
  .en-tete__logo img { width: 128px; }
  .en-tete__barre { gap: 20px; }
}
/* Barre d'actions : icone au-dessus du libelle, pour tenir a 320 px. */
.barre-actions a { flex-direction: column; gap: 3px; line-height: 1.1; }
.barre-actions .icone-whatsapp, .barre-actions .icone-doctolib, .barre-actions .icone-telephone { width: 18px; height: 18px; margin: 0; }
/* Les ancres ne passent pas sous l'en-tete fixe. */
html { scroll-padding-top: 96px; }

/* Ordinateur : Doctolib et WhatsApp flottants, en bas a droite. */
.contacts-flottants { display: none; }
@media (min-width: 1024px) {
  .contacts-flottants {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 60;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
  }
}
.contact-flottant {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px 0 16px;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contact-flottant .icone-whatsapp, .contact-flottant .icone-doctolib { width: 24px; height: 24px; margin: 0; }
.contact-flottant--whatsapp { background: #187a42; }
.contact-flottant--doctolib { background: #0e6db5; }
.contact-flottant:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22); }
.contact-flottant:focus-visible { outline: 3px solid var(--encre); outline-offset: 3px; }

/* Accueil : deux grandes cartes, WhatsApp et Doctolib. */
.contacts-cartes { display: grid; gap: 14px; }
@media (min-width: 768px) { .contacts-cartes { grid-template-columns: 1fr 1fr; } }
.contact-carte {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  row-gap: 4px;
  align-items: center;
  padding: 24px 26px;
  color: #ffffff;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.contact-carte .icone-whatsapp, .contact-carte .icone-doctolib { grid-row: 1 / span 2; width: 40px; height: 40px; margin: 0; }
.contact-carte__titre { font-family: var(--titre); font-size: var(--t-h3); font-weight: 600; }
.contact-carte__texte { color: rgba(255, 255, 255, 0.9); }
.contact-carte--whatsapp { background: #187a42; }
.contact-carte--doctolib { background: #0e6db5; }
.contact-carte:hover { transform: translateY(-2px); }
.contact-carte:focus-visible { outline: 3px solid var(--encre); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .contact-flottant, .contact-carte { transition: none; }
  .contact-flottant:hover, .contact-carte:hover { transform: none; }
}

/* ---------- Vitrine des montures : face, puis trois quarts ---------- */

/* Grille serree de cases blanches separees par un filet, sans cadre autour
   de chaque monture ; regroupee par marque (demande du 03/10/2026). */
.vitrine-marque + .vitrine-marque { margin-top: 48px; }
h4.vitrine-marque__nom,
.vitrine-marque__nom {
  margin: 0 0 14px;
  font-size: var(--t-petit);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.vitrine-grille {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  /* Chaque case porte son filet ; les filets voisins se superposent. */
  padding: 1px 0 0 1px;
}
@media (min-width: 768px) { .vitrine-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .vitrine-grille { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.vitrine-grille { grid-auto-flow: dense; }
/* Grande photo de marque : deux colonnes sur deux rangees, intercalee
   dans les montures. Sur mobile, toute la largeur. */
.vitrine-visuel {
  position: relative;
  grid-column: span 2;
  margin: -1px 0 0 -1px;
  min-height: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--encre);
  border: 1px solid var(--filet);
}
@media (min-width: 768px) {
  .vitrine-visuel { grid-row: span 2; aspect-ratio: auto; }
}
.vitrine-visuel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vitrine-visuel figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 48px 20px 18px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0));
  color: #ffffff;
  font-size: var(--t-h3);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.vitrine-visuel figcaption span {
  font-size: var(--t-mention);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
}
.vitrine-carte {
  margin: 0;
  display: flex;
  flex-direction: column;
  padding: 14px 10px 20px;
  background: #ffffff;
  border: 1px solid var(--filet);
  margin: -1px 0 0 -1px;
}
/* Les deux vues cote a cote, une seule visible : on glisse de l'une a l'autre. */
.vitrine-carte__vues {
  display: flex;
  aspect-ratio: 3 / 2;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.vitrine-carte__vues::-webkit-scrollbar { display: none; }
.vitrine-carte__vues:focus-visible { outline: 3px solid var(--petrole-texte); outline-offset: 3px; }
.vitrine-carte__vues img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  scroll-snap-align: start;
}
.vitrine-carte__points { display: flex; justify-content: center; gap: 2px; margin-top: 2px; }
.vitrine-carte__points--vide { min-height: 28px; }
.vitrine-carte__points button {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.vitrine-carte__points button::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--filet);
  transition: background 0.2s ease, transform 0.2s ease;
}
.vitrine-carte__points button[aria-pressed="true"]::before { background: var(--encre); transform: scale(1.2); }
.vitrine-carte__points button:focus-visible { outline: 2px solid var(--petrole-texte); outline-offset: 2px; }
.vitrine-carte figcaption { display: flex; flex-direction: column; align-items: center; gap: 3px; margin-top: 6px; text-align: center; }
.vitrine-carte__marque { font-size: var(--t-mention); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.vitrine-carte__modele { font-size: var(--t-petit); color: var(--texte-second); }
.vitrine-carte__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 14px;
  margin-top: 10px;
}
.vitrine-carte__action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  font-size: var(--t-mention);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--petrole-texte);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.vitrine-carte__action--whatsapp { color: #187a42; }
.vitrine-carte__action .icone-whatsapp { width: 16px; height: 16px; }
/* Filtres par marque, au-dessus de la grille. */
.vitrine-filtres { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.vitrine-filtres button {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--filet);
  background: #ffffff;
  font: inherit;
  font-size: var(--t-petit);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--encre);
  cursor: pointer;
}
/* Sur mobile, les filtres tiennent sur une ligne qu'on fait glisser. */
@media (max-width: 767px) {
  .vitrine-filtres {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin-inline: -16px;
    padding-inline: 16px;
    margin-bottom: 20px;
  }
  .vitrine-filtres::-webkit-scrollbar { display: none; }
  .vitrine-filtres button { flex: none; white-space: nowrap; }
  .vitrine-onglets { margin-bottom: 16px; }
  .vitrine-carte__plus { display: none; }
}
/* Page catalogue : la vitrine suit directement le titre. */
.selections-entete { padding-bottom: 8px; }
.selections-entete + .vitrine { padding-top: 16px; }
.selections-autres { margin: 0; color: var(--texte-second); }
.vitrine-filtres button[aria-pressed="true"] { background: var(--encre); border-color: var(--encre); color: var(--papier); }
.vitrine-filtres button:focus-visible { outline: 3px solid var(--petrole-texte); outline-offset: 2px; }
/* Onglets Optique / Solaire de la page Selections. */
.vitrine-onglets { display: flex; gap: 6px; margin-bottom: 28px; border-bottom: 1px solid var(--filet); }
.vitrine-onglets button {
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  background: transparent;
  font: inherit;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--texte-second);
  cursor: pointer;
}
.vitrine-onglets button[aria-selected="true"] { color: var(--encre); border-bottom-color: var(--encre); }
.vitrine-onglets button:focus-visible { outline: 3px solid var(--petrole-texte); outline-offset: -3px; }
.vitrine-panneau + .vitrine-panneau { margin-top: 56px; }
.vitrine-panneau__titre { margin: 0 0 18px; font-size: var(--t-h3); }
.vitrine--onglets .vitrine-panneau__titre { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.vitrine--onglets .vitrine-panneau + .vitrine-panneau { margin-top: 0; }
@media (prefers-reduced-motion: reduce) {
  .vitrine-carte__vues { scroll-behavior: auto; }
}

/* ---------- Fiche d'une monture (sur le modele d'une fiche produit) ---------- */

.fiche-monture__grille { display: grid; gap: 32px; }
@media (min-width: 900px) {
  .fiche-monture__grille { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; }
  .fiche-monture__infos { position: sticky; top: 110px; }
}
.fiche-monture__galerie { display: grid; gap: 12px; }
.fiche-monture__galerie img {
  width: 100%;
  height: auto;
  background: #ffffff;
  border: 1px solid var(--filet);
}
.fiche-monture__marque {
  font-size: var(--t-petit);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.fiche-monture__nom {
  margin: 10px 0 8px;
  font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem);
  line-height: 1.05;
}
.fiche-monture__type { margin: 0; color: var(--texte-second); }
.fiche-monture__actions {
  display: grid;
  gap: 10px;
  margin-top: 26px;
  padding: 22px 0;
  border-top: 1px solid var(--filet);
  border-bottom: 1px solid var(--filet);
}
.fiche-monture__actions .bouton { width: 100%; }
.fiche-monture__actions .bouton--whatsapp { color: #187a42; border-color: #187a42; }
.fiche-monture__appel { justify-self: center; font-size: var(--t-petit); }
.fiche-monture__services { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.fiche-monture__services li { position: relative; padding-left: 26px; }
.fiche-monture__services li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.45em;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--petrole-texte);
  border-bottom: 2px solid var(--petrole-texte);
  transform: rotate(-45deg);
}
.fiche-monture__details { display: grid; margin: 26px 0 0; }
.fiche-monture__details > div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--filet);
}
.fiche-monture__details dt { font-size: var(--t-petit); letter-spacing: 0.06em; text-transform: uppercase; color: var(--texte-second); }
.fiche-monture__details dd { margin: 0; }
.fiche-monture__precision { font-size: var(--t-petit); color: var(--texte-second); }
.fiche-monture__autres-titre { font-size: var(--t-h3); }
/* Dans la vitrine, le nom du modele mene a sa fiche ; toute la case aussi. */
.vitrine-carte { position: relative; }
.vitrine-carte__lien { display: flex; flex-direction: column; align-items: center; gap: 3px; text-decoration: none; color: inherit; }
.vitrine-carte__lien:hover .vitrine-carte__modele { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Durees de validite (article ordonnance) ---------- */

.durees { display: grid; gap: 12px; }
@media (min-width: 560px) { .durees { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.duree {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 22px 22px;
  background: var(--blanc);
  border: 1px solid var(--filet);
}
.duree__cas {
  font-size: var(--t-petit);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--texte-second);
}
.duree__valeur {
  font-family: var(--titre);
  font-size: clamp(2.6rem, 2rem + 2vw, 3.4rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}
.duree__valeur small { font-size: 0.42em; font-weight: 500; letter-spacing: 0; }
.duree__detail { color: var(--texte-second); }
.durees + .note-encadree { margin-top: 28px; }
.duree--premiere { background: var(--petrole); border-color: var(--petrole); color: var(--papier); }
.duree--premiere .duree__cas,
.duree--premiere .duree__detail { color: rgba(247, 245, 241, 0.82); }

/* ---------- Index des conseils : cartes illustrees ---------- */

.conseils-grille { display: grid; gap: 28px 24px; }
@media (min-width: 640px) { .conseils-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .conseils-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; } }

/* Toute la carte est cliquable : le lien du titre s'etend sur elle. */
.conseil-carte { position: relative; display: flex; flex-direction: column; }
.conseil-carte__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--mineral);
}
.conseil-carte__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  transition: transform 0.6s cubic-bezier(0.22, 0.7, 0.3, 1), filter 0.6s ease;
}
.conseil-carte__corps { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; }
.conseil-carte__categorie {
  font-size: var(--t-petit);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--petrole-texte);
}
.conseil-carte__titre { margin: 0; font-size: var(--t-h3); line-height: 1.25; }
.conseil-carte__titre a { text-decoration: none; }
.conseil-carte__titre a::after { content: ""; position: absolute; inset: 0; }
.conseil-carte__texte { color: var(--texte-second); }
.conseil-carte:hover .conseil-carte__media img,
.conseil-carte:focus-within .conseil-carte__media img { transform: scale(1.06); filter: saturate(1.1); }
.conseil-carte:hover .conseil-carte__titre a,
.conseil-carte:focus-within .conseil-carte__titre a { text-decoration: underline; text-underline-offset: 4px; }
.conseil-carte__titre a:focus-visible { outline: none; }
.conseil-carte:focus-within { outline: 3px solid var(--petrole-texte); outline-offset: 6px; }
/* Les cartes se posent l'une apres l'autre, une seule fois. */
.conseils-grille .conseil-carte.visible:nth-child(3n+2) { transition-delay: 0.1s; }
.conseils-grille .conseil-carte.visible:nth-child(3n) { transition-delay: 0.2s; }
@media (prefers-reduced-motion: reduce) {
  .conseil-carte__media img { transition: none; }
  .conseil-carte:hover .conseil-carte__media img,
  .conseil-carte:focus-within .conseil-carte__media img { transform: none; }
}

/* ---------- Avis et réseaux ---------- */

.avis { display: grid; gap: 22px; justify-items: start; }
.avis__intro { max-width: 46ch; }

.reseaux { display: grid; gap: 16px; }
.reseaux__grille {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.reseaux__grille a { display: block; overflow: hidden; background: var(--mineral); }
.reseaux__grille img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.22, 0.7, 0.3, 1);
}
.reseaux__grille a:hover img { transform: scale(1.05); }

@media (min-width: 768px) {
  .reseaux__grille { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
}

/* ---------- Vitrine de l'accueil ---------- */

/* Quatre pièces, mais pas quatre cases identiques : une vedette, trois brèves.
   La grille régulière est réservée à la page Sélections, où le visiteur compare. */
.selection-vitrine { display: grid; gap: 14px; }
.selection-vitrine .carte--vedette .carte__media { aspect-ratio: 4 / 5; }

@media (min-width: 768px) {
  .selection-vitrine {
    grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
  }
  .selection-vitrine .carte--vedette { grid-row: span 1; }
  .selection-vitrine .carte--vedette .carte__media { aspect-ratio: 3 / 4; }
  .selection-vitrine .carte:not(.carte--vedette) { padding-top: 34px; }
  .selection-vitrine .carte:nth-child(3) { padding-top: 68px; }
  .selection-vitrine .carte:nth-child(4) { padding-top: 102px; }
}

/* ---------- Questions fréquentes ---------- */

/* Des questions dépliables : la page reste lisible d'un coup d'œil, et chaque
   réponse est là dans le HTML, donc lisible par un moteur même repliée. */
.questions { border-top: 1px solid var(--filet); }
.question { border-bottom: 1px solid var(--filet); }
.question summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
}
.question summary::-webkit-details-marker { display: none; }
.question summary :is(h2, h3) {
  font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  max-width: 48ch;
}
.question summary::after {
  content: "";
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-top: 6px;
  border-right: 2px solid var(--texte-second);
  border-bottom: 2px solid var(--texte-second);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}
.question[open] summary::after { transform: rotate(-135deg); }
.question summary:hover :is(h2, h3) { color: var(--texte-second); }
.question__reponse { padding: 0 0 24px; max-width: 62ch; color: var(--texte-second); }
.question__reponse p + p { margin-top: 0.8em; }

/* ---------- Catégories de filtre solaire ---------- */

.categories { display: grid; gap: 2px; background: var(--filet); border: 1px solid var(--filet); }
.categorie { background: var(--papier); padding: 22px; display: grid; gap: 6px; }
.categorie__rang {
  font-family: var(--titre);
  font-weight: 700;
  font-size: 2.25rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--texte-second);
}
.categorie p { color: var(--texte-second); max-width: 44ch; }

.note-encadree {
  border-left: 3px solid var(--encre);
  padding: 4px 0 4px 18px;
  max-width: 62ch;
  color: var(--texte-second);
}

@media (min-width: 768px) {
  .categories { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .categorie { padding: 26px 20px; }
}

/* ---------- Pages de texte ---------- */

.page-legale h2 { margin-top: 0; }
.page-legale p { max-width: 68ch; color: var(--texte-second); }
.page-legale .espace-l { margin-top: 44px; }

/* ---------- Page en cours dans la navigation ---------- */

/* Savoir où l'on est : la seule information que la navigation ne donnait pas. */
.navigation__liste a[aria-current="page"] { color: var(--texte-second); }

@media (min-width: 1024px) {
  .navigation__liste a { position: relative; }
  .navigation__liste a[aria-current="page"] { color: inherit; }
  .navigation__liste a[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 1.5px;
    background: currentColor;
  }
}

/* ---------- Fil d'Ariane ---------- */

.fil { padding-block: 16px 0; }
.fil ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--t-mention);
  color: var(--texte-second);
}
.fil li { display: flex; align-items: center; gap: 8px; }
.fil li + li::before { content: "/"; color: var(--filet); }
.fil a { text-decoration: none; }
.fil a:hover { text-decoration: underline; }
.fil [aria-current="page"] { color: var(--encre); }

/* ---------- État d'ouverture ---------- */

/* Rempli par le script, en heure de Paris. Sans JavaScript, rien ne s'affiche :
   mieux vaut ne rien dire que d'annoncer un horaire faux. */
.ouverture {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: var(--t-petit);
  font-weight: 500;
}
.ouverture[hidden] { display: none; }
.ouverture__pastille {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--texte-second);
  flex: 0 0 auto;
}
.ouverture--ouvert .ouverture__pastille { background: #1f7a4d; }
.ouverture--bientot .ouverture__pastille { background: #9a6b12; }
.section--encre .ouverture--ouvert .ouverture__pastille { background: #4fbd86; }
.section--encre .ouverture--bientot .ouverture__pastille { background: #d9a93c; }

/* ---------- Barre d'actions mobile ---------- */

/* Deux actions, jamais plus. Elle ne couvre pas le contenu : le corps de page
   reserve la hauteur correspondante en bas. */
.barre-actions {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--encre);
  padding-bottom: env(safe-area-inset-bottom, 0);
  border-top: 1px solid var(--encre);
}
.barre-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 0 14px;
  background: var(--encre);
  color: var(--papier);
  font-size: var(--t-petit);
  font-weight: 500;
  text-decoration: none;
}
.barre-actions a + a { background: var(--papier); color: var(--encre); }
.barre-actions a:active { opacity: 0.85; }
@media (max-width: 379px) {
  .barre-actions a { padding: 0 4px; white-space: nowrap; }
  .en-tete__logo img { width: 96px; }
  .en-tete .bouton .icone-doctolib { display: none; }
  .en-tete .bouton { padding-left: 14px; padding-right: 14px; }
  .en-tete__barre { gap: 8px; }
  .en-tete .enveloppe { padding-inline: 16px; }
}

body { padding-bottom: 0; }

@media (max-width: 1023px) {
  body.avec-barre { padding-bottom: 56px; }
}
@media (min-width: 1024px) {
  .barre-actions { display: none; }
}


/* ---------- Trois points d'une section ---------- */

.trois-points { display: grid; gap: 26px; }
.trois-points h3 { margin-bottom: 6px; }
.trois-points p { color: var(--texte-second); max-width: 42ch; }
.section--encre .trois-points p { color: var(--mineral); }

@media (min-width: 768px) {
  .trois-points { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; }
}

/* ---------- Liste de liens enrichie ---------- */

.liste-liens__titre { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; }
.liste-liens__detail {
  display: block;
  margin-top: 3px;
  font-size: var(--t-petit);
  color: var(--texte-second);
  font-weight: 400;
}
.liste-liens a { align-items: center; }
.liste-liens a > span:first-child { flex: 1 1 auto; }

@media (min-width: 768px) {
  .liste-liens a {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr) auto;
    align-items: baseline;
    gap: 24px;
  }
  .liste-liens__detail { margin-top: 0; }
}

/* ---------- Intro de l'accueil : logo animé (07/10/2026) ---------- */

/* Voile noir plein écran, logo blanc au centre (demande du 07/10/2026).
   Voile en noir pur, comme le fond de la vidéo : Chrome n'applique pas
   toujours mix-blend-mode à une vidéo, et l'encre (#151515) faisait alors
   apparaître le cadre de la vidéo. */
.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  transition: opacity 0.5s ease;
}
.intro[hidden] { display: none; }
.intro { overflow: hidden; }
/* Bords fondus : le noir d'une vidéo n'est pas rendu partout exactement comme
   celui de la page ; sans fondu, son cadre se voyait. Le logo occupe 73 % de
   la largeur de la vidéo, loin des bords. */
.intro__video {
  flex: none;
  width: min(118vw, 870px);
  height: auto;
  /* Logo entre 11 et 85 % de la largeur, 18 et 82 % de la hauteur : le fondu
     reste dans les 9 % du bord. */
  -webkit-mask-image:
    linear-gradient(to right, transparent, #000 9%, #000 91%, transparent),
    linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent, #000 9%, #000 91%, transparent),
    linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent);
  mask-composite: intersect;
}
.intro--sortie { opacity: 0; pointer-events: none; }
.intro-active, .intro-active body { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
}

/* ---------- Couleur, structure et mouvement (demande du 09/10/2026) ----------
   « Plus de couleurs a des endroits, mieux structurer les textes, des
   animations. » Tout reste dans la famille petrole de la facade : une brume
   petrole pour les sections claires, une eau claire pour les reperes sur fond
   sombre. Pas de jaune : retire a la demande de la boutique le 01/10/2026.
   Les mouvements ne jouent qu'une fois, a l'entree dans l'ecran, et
   disparaissent avec « limiter les animations ». */

:root {
  /* Brume petrole : fond des sections claires en alternance. */
  --brume: #e5eeed;
  /* Eau claire : reperes et filets sur petrole. */
  --eau: #8cc7c0;
  --courbe: cubic-bezier(0.22, 0.7, 0.3, 1);
}

.section--brume { background: var(--brume); }
.section--brume .carte-action,
.section--brume .avis-carte,
.section--brume .avis-google,
.section--brume .vitrine-carte { background: var(--blanc); }

/* En-tete des pages interieures : fil d'Ariane et premier bloc sur brume. */
.fil { background: var(--brume); }
main > .section:first-child { background: var(--brume); padding-bottom: clamp(40px, 6vw, 72px); }
main > .section:first-child + .filet { display: none; }

/* Sans tiret decoratif devant les sur-titres ni sous les titres (demande du
   10/10/2026 : « trop de tirets partout »). */
.section--encre .sur-titre { color: var(--eau); }

.chapo { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); line-height: 1.55; }

/* Intertitres : la police des titres, plus grande, en petrole. */
h3 {
  font-family: var(--titre);
  font-weight: 400;
  letter-spacing: 0;
  font-size: clamp(1.3rem, 1.15rem + 0.5vw, 1.55rem);
}
.service h3,
.liste-points h3,
.etapes h3 { color: var(--petrole-texte); }
.section--encre .etapes h3,
.section--encre .liste-points h3 { color: var(--papier); }

/* Services : le filet du haut passe au petrole au survol. */
.service { position: relative; }
.service::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 100%; height: 2px;
  background: var(--petrole-texte);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.5s var(--courbe);
}
.service:hover::before,
.service:focus-within::before { transform: none; }

/* Etapes : grands numeros dans la police des titres. */
.etapes__rang {
  font-family: var(--titre);
  font-size: clamp(2.4rem, 2rem + 1.5vw, 3.2rem);
  line-height: 1;
  letter-spacing: 0;
  color: var(--petrole-texte);
}
.section--encre .etapes__rang { color: var(--eau); }
.etapes li { padding-top: 18px; border-top: 1px solid var(--filet); }
.section--encre .etapes li { border-top-color: var(--filet-encre); }

/* Cartes de l'offre : remplissage petrole qui monte au survol. Sans fleche
   (retiree le 10/10/2026 a la demande de Jeremy). */
.carte-action {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-color: var(--petrole);
  transition: color 0.35s ease;
}
.carte-action::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--petrole);
  transform: translateY(101%);
  transition: transform 0.45s var(--courbe);
}
.carte-action:hover { background: var(--blanc); color: var(--papier); }
.carte-action:hover::before { transform: none; }
.carte-action__titre { font-family: var(--titre); font-weight: 400; font-size: 1.3rem; line-height: 1.25; }
.contact-carte__titre { font-weight: 400; line-height: 1.25; }

/* Boutons : un fond qui glisse de gauche a droite au survol. */
.bouton {
  background-image: linear-gradient(var(--petrole-survol), var(--petrole-survol));
  background-repeat: no-repeat;
  background-size: 0% 100%;
  transition: background-size 0.35s var(--courbe), color 0.18s ease, border-color 0.18s ease;
}
.bouton:hover { background-size: 100% 100%; }
.bouton--second { background-image: linear-gradient(var(--brume), var(--brume)); }
.bouton--second:hover { background-color: transparent; border-color: var(--petrole); }
.section--brume .bouton--second,
main > .section:first-child .bouton--second { background-image: linear-gradient(var(--blanc), var(--blanc)); }
.section--encre .bouton,
.premier-ecran--video .bouton { background-image: linear-gradient(var(--brume), var(--brume)); }
.section--encre .bouton--second,
.premier-ecran--video .bouton--second {
  background-image: linear-gradient(rgba(247, 245, 241, 0.16), rgba(247, 245, 241, 0.16));
}

/* Liens de texte : le soulignement se retire puis se retrace au survol. */
.lien-texte {
  border-bottom: 0;
  color: var(--petrole-texte);
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 calc(100% - 12px);
  background-size: 100% 1px;
  transition: background-size 0.4s var(--courbe);
}
.lien-texte:hover { background-position: 100% calc(100% - 12px); background-size: 0% 1px; }
.section--encre .lien-texte,
.pied .lien-texte { color: var(--papier); }

/* Navigation : soulignement qui se trace au survol. */
@media (min-width: 1024px) {
  .navigation__liste > li > a,
  .navigation__groupe > a {
    background-image: linear-gradient(var(--petrole-texte), var(--petrole-texte));
    background-repeat: no-repeat;
    background-position: 0 calc(100% - 6px);
    background-size: 0% 2px;
    transition: background-size 0.35s var(--courbe);
  }
  .navigation__liste > li > a:hover,
  .navigation__groupe > a:hover { text-decoration: none; background-size: 100% 2px; }
}

/* Chiffres : la police des titres, sans graisse simulee. */
.chiffre__valeur { letter-spacing: 0; }

/* Apparition en cascade : les elements d'une grille arrivent l'un apres
   l'autre quand leur bloc entre dans l'ecran. */
[data-apparait].a-poser :is(.cartes-action, .contacts-cartes, .services, .etapes, .avis-cartes, .grille, .vitrine-grille, .liste-points) > * {
  opacity: 0;
  transform: translateY(26px);
}
[data-apparait].visible :is(.cartes-action, .contacts-cartes, .services, .etapes, .avis-cartes, .grille, .vitrine-grille, .liste-points) > * {
  animation: poser 0.8s var(--courbe) both;
}
[data-apparait].visible :is(.cartes-action, .contacts-cartes, .services, .etapes, .avis-cartes, .grille, .vitrine-grille, .liste-points) > :nth-child(2) { animation-delay: 0.1s; }
[data-apparait].visible :is(.cartes-action, .contacts-cartes, .services, .etapes, .avis-cartes, .grille, .vitrine-grille, .liste-points) > :nth-child(3) { animation-delay: 0.2s; }
[data-apparait].visible :is(.cartes-action, .contacts-cartes, .services, .etapes, .avis-cartes, .grille, .vitrine-grille, .liste-points) > :nth-child(4) { animation-delay: 0.3s; }
[data-apparait].visible :is(.cartes-action, .contacts-cartes, .services, .etapes, .avis-cartes, .grille, .vitrine-grille, .liste-points) > :nth-child(5) { animation-delay: 0.4s; }
[data-apparait].visible :is(.cartes-action, .contacts-cartes, .services, .etapes, .avis-cartes, .grille, .vitrine-grille, .liste-points) > :nth-child(n+6) { animation-delay: 0.5s; }

/* Photos des blocs texte + image : devoilees de bas en haut, avec un leger
   recul de l'image. */
.duo__media { overflow: hidden; }
[data-apparait].a-poser .duo__media > img { clip-path: inset(100% 0 0 0); transform: scale(1.12); }
[data-apparait].visible .duo__media > img {
  clip-path: inset(0 0 0 0);
  transform: none;
  transition: clip-path 1.1s var(--courbe) 0.15s, transform 1.6s var(--courbe) 0.15s;
}

/* Premier ecran : la citation puis l'adresse arrivent apres le titre. */
.premier-ecran--video .premier-ecran__chapo { animation: poser-depuis 1s var(--courbe) 0.45s both; }
.premier-ecran--video .premier-ecran__pratique { animation: poser-depuis 1s var(--courbe) 0.6s both; }
@keyframes poser-depuis {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Carte Google Maps, page Nous trouver (09/10/2026) ----------
   Grande, sur toute la largeur. Elle ne se charge qu'au clic : avant, aucune
   requete ne part vers Google (voir la page Confidentialite). */
.carte-google { margin: 0; }
.carte-google__cadre {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 78vh;
  width: 100%;
  overflow: hidden;
  background: var(--brume);
  border: 1px solid var(--filet);
}
.carte-google__fond {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(0.9) brightness(1.04);
  opacity: 0.55;
}
.carte-google__invitation {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(92%, 380px);
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 26px 22px 20px;
  background: var(--papier);
  border-top: 3px solid var(--petrole-texte);
  box-shadow: 0 18px 40px rgba(15, 42, 46, 0.16);
  text-align: center;
}
.carte-google__adresse {
  margin: 0 0 6px;
  font-family: var(--titre);
  font-size: 1.5rem;
  line-height: 1.2;
}
.carte-google__mention { margin: 4px 0 0; font-size: var(--t-mention); color: var(--texte-second); }
.carte-google__credit {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 4px 8px;
  background: rgba(247, 245, 241, 0.92);
  font-size: var(--t-mention);
  color: var(--texte-second);
}
.carte-google__credit a { color: inherit; }
.carte-google iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (min-width: 768px) {
  .carte-google__cadre { aspect-ratio: 16 / 9; max-height: 640px; }
  .infos--trois { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 40px; }
}

/* ---------- Page Nous trouver, version interactive (09/10/2026) ---------- */

/* Horaires et moyens de nous joindre, cote a cote. */
.essentiel { display: grid; gap: 48px; }
@media (min-width: 900px) {
  .essentiel { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 64px; }
}
.ouverture--grande { font-size: 1.0625rem; font-weight: 500; }
/* Carte WhatsApp des actions : le vert de la marque au survol. */
.carte-action--whatsapp .icone-whatsapp { color: #187a42; fill: currentColor; }
.carte-action--whatsapp::before { background: #187a42; }
.carte-action--whatsapp:hover .icone-whatsapp { color: var(--papier); }

/* Frise des horaires : une ligne par jour, le jour en cours mis en avant,
   l'heure de Paris marquee d'un trait. */
.frise__jours { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.frise__jour {
  display: grid;
  grid-template-columns: 6.2em minmax(0, 1fr);
  grid-template-areas: "libelle piste" ". creneaux";
  align-items: center;
  column-gap: 14px;
  padding: 8px 10px;
  border-radius: var(--rayon);
  transition: background-color 0.3s ease;
}
.frise__libelle { grid-area: libelle; font-weight: 500; }
.frise__piste {
  grid-area: piste;
  width: 100%;
  height: 12px;
  overflow: visible;
  background: var(--mineral);
  border-radius: 2px;
}
.frise__piste rect { fill: var(--petrole-texte); }
.frise__creneaux { grid-area: creneaux; font-size: var(--t-mention); color: var(--texte-second); font-variant-numeric: tabular-nums; }
.frise__jour--ferme .frise__libelle { color: var(--texte-second); }
.frise__jour--ferme .frise__piste { background: repeating-linear-gradient(-45deg, var(--mineral) 0 4px, var(--papier) 4px 8px); }
.frise__jour.est-aujourdhui { background: var(--brume); }
.frise__jour.est-aujourdhui .frise__libelle::after {
  content: "aujourd'hui";
  display: block;
  font-size: var(--t-mention);
  font-weight: 400;
  color: var(--petrole-texte);
}
.frise__maintenant { stroke: #c2410c; stroke-width: 3; vector-effect: non-scaling-stroke; }
.frise__maintenant[hidden] { display: none; }
/* Les onglets defilent dans leur colonne au lieu de l'elargir. */
.duo > * { min-width: 0; }
/* Nous trouver : les horaires sont deja dans la page, le pied ne les repete pas. */
.page-contact .pied .horaires,
.page-contact .pied .ouverture { display: none; }
.frise__echelle {
  display: grid;
  grid-template-columns: repeat(19, minmax(0, 1fr));
  margin: 6px 10px 0 calc(6.2em + 24px);
  font-size: var(--t-mention);
  color: var(--texte-second);
}
.frise__echelle span:nth-child(1) { grid-column: 1; }
.frise__echelle span:nth-child(2) { grid-column: 5; }
.frise__echelle span:nth-child(3) { grid-column: 9; }
.frise__echelle span:nth-child(4) { grid-column: 13; }
.frise__echelle span:nth-child(5) { grid-column: 17; }
.frise__echelle span { transform: translateX(-30%); white-space: nowrap; }

/* Nous joindre : trois grandes cibles. */
.joindre { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.joindre__lien {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-areas: "icone type" "icone valeur";
  align-items: center;
  column-gap: 16px;
  min-height: 72px;
  padding: 12px 18px;
  border: 1px solid var(--filet);
  border-radius: var(--rayon);
  background: var(--blanc);
  text-decoration: none;
  transition: border-color 0.25s ease, transform 0.25s var(--courbe), box-shadow 0.25s ease;
}
.joindre__lien:hover { border-color: var(--petrole); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(15, 42, 46, 0.08); }
.joindre__icone {
  grid-area: icone;
  width: 44px;
  height: 44px;
  padding: 11px;
  border-radius: 50%;
  background: var(--petrole);
  color: var(--papier);
  fill: currentColor;
}
.joindre__icone--texte { display: grid; place-items: center; padding: 0; font-family: var(--titre); font-size: 1.25rem; }
.joindre__lien--whatsapp .joindre__icone { background: #187a42; }
.joindre__type { grid-area: type; font-size: var(--t-mention); letter-spacing: 0.08em; text-transform: uppercase; color: var(--texte-second); }
.joindre__valeur { grid-area: valeur; font-family: var(--titre); font-size: 1.3rem; line-height: 1.25; overflow-wrap: anywhere; }

.pastilles { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.pastilles li {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--brume);
  color: var(--petrole);
  font-size: var(--t-petit);
}

/* Onglets « Comment venir ». Sans script, tous les panneaux restent visibles. */
.onglets__liste { display: none; }
.onglets.est-actif .onglets__liste {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.onglets__bouton {
  flex: none;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--bordure);
  border-radius: 999px;
  background: var(--blanc);
  color: var(--encre);
  font: inherit;
  font-size: var(--t-petit);
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.onglets__bouton:hover { border-color: var(--petrole); }
.onglets__bouton[aria-selected="true"] { background: var(--petrole); border-color: var(--petrole); color: var(--papier); }
.onglets__panneau { padding: 22px 0 4px; }
.onglets__panneau + .onglets__panneau { border-top: 1px solid var(--filet); }
.onglets.est-actif .onglets__panneau { border-top: 0; padding: 22px 24px; margin-top: 12px; background: var(--blanc); border-radius: var(--rayon); }
.onglets.est-actif .onglets__panneau[hidden] { display: none; }
.onglets.est-actif .onglets__panneau:not([hidden]) { animation: poser-depuis 0.45s var(--courbe) both; }
.onglets__titre { margin-bottom: 8px; }
.onglets:not(.est-actif) #panneau-metro::before { content: "Métro"; display: block; margin-bottom: 10px; font-family: var(--titre); font-size: var(--t-h3); color: var(--petrole-texte); }

.stations { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.station {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--filet);
}
.station:last-child { border-bottom: 0; }
.station__lignes { display: flex; gap: 4px; }
.station__nom { font-family: var(--titre); font-size: 1.25rem; }
.station__distance { font-size: var(--t-petit); color: var(--texte-second); font-variant-numeric: tabular-nums; white-space: nowrap; }
/* Pastilles de ligne aux couleurs du reseau, pour reconnaitre la ligne. */
.ligne {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  color: #151515;
}
.ligne--6 { background: #6eca97; }
.ligne--8 { background: #ceadd2; }

.perdu { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; font-family: var(--titre); font-size: 1.3rem; }

/* Avant de venir : une liste a cocher, pour soi. Rien n'est enregistre. */
.liste-cocher { display: grid; gap: 12px; }
@media (min-width: 900px) { .liste-cocher { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.a-cocher {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 20px;
  border: 1px solid var(--filet);
  border-radius: var(--rayon);
  background: var(--blanc);
  cursor: pointer;
  transition: border-color 0.25s ease, background-color 0.3s ease;
}
.a-cocher:hover { border-color: var(--petrole); }
.a-cocher input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.a-cocher__case {
  width: 30px;
  height: 30px;
  border: 2px solid var(--bordure);
  border-radius: 50%;
  position: relative;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
.a-cocher__case::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 4px;
  width: 7px;
  height: 14px;
  border-right: 2.5px solid var(--papier);
  border-bottom: 2.5px solid var(--papier);
  transform: rotate(45deg) scale(0);
  transition: transform 0.3s var(--courbe);
}
.a-cocher input:checked ~ .a-cocher__case { background: var(--petrole); border-color: var(--petrole); }
.a-cocher input:checked ~ .a-cocher__case::after { transform: rotate(45deg) scale(1); }
.a-cocher input:checked ~ .a-cocher__texte .a-cocher__titre { color: var(--petrole-texte); }
.a-cocher:has(input:checked) { background: var(--brume); border-color: var(--petrole-texte); }
.a-cocher input:focus-visible ~ .a-cocher__case { outline: 3px solid var(--encre); outline-offset: 3px; }
.a-cocher__texte { display: grid; gap: 4px; }
.a-cocher__titre { font-family: var(--titre); font-size: 1.3rem; line-height: 1.25; }
.a-cocher__detail { font-size: var(--t-petit); color: var(--texte-second); }
.liste-cocher__bilan { font-weight: 500; color: var(--petrole-texte); }

/* Passer ou reserver : deux choix face a face. */
.choix { display: grid; gap: 16px; }
@media (min-width: 768px) { .choix { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
.choix__carte {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 30px 28px;
  border: 1px solid var(--filet-encre);
  border-radius: var(--rayon);
  transition: transform 0.3s var(--courbe), border-color 0.3s ease;
}
.choix__carte:hover { transform: translateY(-4px); border-color: var(--eau); }
.choix__carte--accent { background: rgba(140, 199, 192, 0.12); }
.choix__carte h3 { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); color: var(--papier); }
.choix__carte p { margin: 0; color: var(--mineral); }
.choix__etiquette { font-size: var(--t-mention); letter-spacing: 0.14em; text-transform: uppercase; color: var(--eau) !important; }
.choix__astuce { padding-left: 14px; border-left: 2px solid var(--eau); }
.choix__carte .bouton { margin-top: auto; }

/* Galerie : une grande photo, deux petites ; un clic agrandit. */
.galerie { display: grid; gap: 12px; }
@media (min-width: 768px) {
  .galerie { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); }
  .galerie__vignette--grande { grid-row: 1 / span 2; }
}
.galerie__vignette {
  display: block;
  padding: 0;
  border: 0;
  background: var(--mineral);
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 3 / 2;
}
@media (min-width: 768px) { .galerie__vignette--grande { aspect-ratio: auto; } }
.galerie__vignette img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--courbe); }
.galerie__vignette:hover img { transform: scale(1.04); }
.visionneuse {
  max-width: min(94vw, 1400px);
  max-height: 92vh;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
.visionneuse::backdrop { background: rgba(10, 18, 20, 0.88); }
.visionneuse[open] { animation: poser-depuis 0.35s var(--courbe) both; }
.visionneuse__image { max-width: 100%; max-height: 84vh; width: auto; height: auto; margin: 0 auto; }
.visionneuse__fermer {
  display: block;
  margin: 12px auto 0;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid var(--papier);
  border-radius: 999px;
  background: transparent;
  color: var(--papier);
  font: inherit;
  cursor: pointer;
}
.visionneuse__fermer:focus-visible { outline: 3px solid var(--papier); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .onglets.est-actif .onglets__panneau:not([hidden]),
  .visionneuse[open] { animation: none; }
  .joindre__lien:hover, .choix__carte:hover { transform: none; }
}

/* Frise animee : les jauges se remplissent jour apres jour quand la frise
   entre a l'ecran ; le trait de l'heure pulse quelques fois. Le script ne pose
   .frise--a-animer que si l'animation va avoir lieu. */
.frise rect { transform-box: fill-box; transform-origin: left center; }
.frise--a-animer rect { transform: scaleX(0); }
.frise--a-animer .frise__creneaux,
.frise--a-animer .frise__libelle { opacity: 0; transform: translateX(-8px); }
.frise--animee rect { transform: none; transition: transform 0.9s var(--courbe); }
.frise--animee .frise__creneaux,
.frise--animee .frise__libelle { opacity: 1; transform: none; transition: opacity 0.5s ease, transform 0.5s var(--courbe); }
.frise--animee .frise__jour:nth-child(2) :is(rect, .frise__creneaux, .frise__libelle) { transition-delay: 0.08s; }
.frise--animee .frise__jour:nth-child(3) :is(rect, .frise__creneaux, .frise__libelle) { transition-delay: 0.16s; }
.frise--animee .frise__jour:nth-child(4) :is(rect, .frise__creneaux, .frise__libelle) { transition-delay: 0.24s; }
.frise--animee .frise__jour:nth-child(5) :is(rect, .frise__creneaux, .frise__libelle) { transition-delay: 0.32s; }
.frise--animee .frise__jour:nth-child(6) :is(rect, .frise__creneaux, .frise__libelle) { transition-delay: 0.4s; }
.frise--animee .frise__jour:nth-child(7) :is(rect, .frise__creneaux, .frise__libelle) { transition-delay: 0.48s; }
.frise--animee .frise__maintenant { animation: battre 1.4s ease-in-out 1s 4; }
@keyframes battre {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}
/* Pastille d'ouverture : un halo qui s'eteint apres quelques battements. */
.ouverture--grande .ouverture__pastille { position: relative; }
.ouverture--grande.ouverture--ouvert .ouverture__pastille::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid currentColor;
  color: #2f9e6a;
  opacity: 0;
  animation: halo 1.8s ease-out 0.6s 4;
}
@keyframes halo {
  from { transform: scale(0.5); opacity: 0.8; }
  to { transform: scale(1.6); opacity: 0; }
}

/* Suivez-nous : une tuile par reseau, aux couleurs de la marque. */
.suivre { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
@media (min-width: 600px) { .suivre { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1024px) { .suivre { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.suivre__tuile {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  grid-template-areas: "logo nom" "logo compte";
  align-items: center;
  column-gap: 18px;
  min-height: 104px;
  padding: 22px 24px;
  border-radius: 6px;
  color: #ffffff;
  text-decoration: none;
  transition: transform 0.3s var(--courbe), box-shadow 0.3s ease;
}
.suivre__tuile:hover { transform: translateY(-4px) rotate(-0.6deg); box-shadow: 0 16px 30px rgba(15, 42, 46, 0.18); }
.suivre__tuile:focus-visible { outline: 3px solid var(--encre); outline-offset: 3px; }
.suivre__logo { grid-area: logo; width: 56px; height: 56px; fill: currentColor; transition: transform 0.4s var(--courbe); }
.suivre__tuile:hover .suivre__logo { transform: scale(1.1) rotate(-6deg); }
.suivre__nom { grid-area: nom; font-family: var(--titre); font-size: 1.5rem; line-height: 1.2; }
.suivre__compte { grid-area: compte; font-size: var(--t-petit); opacity: 0.92; }
/* Degrade Instagram, le cote sombre sous le texte (blanc lisible). */
.suivre__tuile--instagram { background: linear-gradient(45deg, #833ab4 0%, #c13584 45%, #e1306c 75%, #f77737 100%); }
.suivre__tuile--tiktok { background: #010101; box-shadow: inset 4px 0 0 #25f4ee, inset -4px 0 0 #fe2c55; }
.suivre__tuile--tiktok:hover { box-shadow: inset 4px 0 0 #25f4ee, inset -4px 0 0 #fe2c55, 0 16px 30px rgba(15, 42, 46, 0.18); }
.suivre__tuile--snapchat { background: #fffc00; color: #000000; }
.suivre__tuile--facebook { background: #0866ff; }
/* Fantome blanc cerne de noir, comme le logo Snapchat. */
.suivre__tuile--snapchat .suivre__logo {
  color: #ffffff;
  stroke: #000000;
  stroke-width: 1.1px;
  stroke-linejoin: round;
  paint-order: stroke;
}

@media (prefers-reduced-motion: reduce) {
  .frise--animee .frise__maintenant,
  .ouverture--grande.ouverture--ouvert .ouverture__pastille::after { animation: none; }
  .suivre__tuile:hover, .suivre__tuile:hover .suivre__logo { transform: none; }
}

/* ---------- Selection de l'accueil (11/10/2026) ----------
   Onglets Vue / Soleil ; dans chacun, une grande photo de marque et quatre
   montures. Sur mobile, les montures defilent a l'horizontale. */
.une__entete {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
}
.une.est-actif .une__onglets { margin-top: 4px; }
.une__onglets .onglets__bouton { min-width: 96px; font-size: 1rem; }
.une__titre-panneau { margin: 0 0 14px; }
.une.est-actif .une__titre-panneau {
  position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.une__panneau { display: grid; gap: 16px; padding-top: 18px; }
.une.est-actif .une__panneau { padding: 0; margin-top: 18px; background: transparent; }
@media (min-width: 900px) {
  .une__panneau { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; align-items: stretch; }
}

/* Grande photo de marque, cliquable. */
.une__visuel {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  color: var(--papier);
  text-decoration: none;
  background: var(--encre);
}
@media (min-width: 900px) { .une__visuel { aspect-ratio: auto; min-height: 100%; } }
.une__visuel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--courbe);
}
.une__visuel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 18, 20, 0.78), rgba(10, 18, 20, 0) 55%);
}
.une__visuel:hover img { transform: scale(1.06); }
.une__visuel-texte {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 1;
  display: grid;
  gap: 6px;
}
.une__visuel-marque { font-family: var(--titre); font-size: clamp(2rem, 1.5rem + 2vw, 3rem); line-height: 1.05; }
.une__visuel-lien {
  justify-self: start;
  font-size: var(--t-petit);
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 1px;
  padding-bottom: 2px;
  transition: background-size 0.4s var(--courbe);
}
.une__visuel:hover .une__visuel-lien { background-position: 100% 100%; background-size: 0% 1px; }
.une__visuel:focus-visible { outline: 3px solid var(--encre); outline-offset: 3px; }

/* Quatre montures : deux sur deux a cote de la photo ; sur mobile, une rangee
   qui defile, la monture suivante depassant pour inviter au geste. */
.une__grille {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 72%;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.une__grille::-webkit-scrollbar { display: none; }
.une__grille .vitrine-carte {
  margin: 0;
  scroll-snap-align: start;
  border-radius: 4px;
  transition: transform 0.35s var(--courbe), box-shadow 0.35s ease, border-color 0.35s ease;
}
.une__grille .vitrine-carte:hover { transform: translateY(-4px); border-color: var(--petrole-texte); box-shadow: 0 14px 28px rgba(15, 42, 46, 0.1); }
@media (min-width: 600px) { .une__grille { grid-auto-columns: 44%; } }
@media (min-width: 900px) {
  .une__grille {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-columns: auto;
    overflow: visible;
    gap: 14px;
  }
}

/* Les marques en pastilles. */
.une__marques {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.une__marques a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--bordure);
  border-radius: 999px;
  background: var(--blanc);
  font-size: var(--t-petit);
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.une__marques a:hover { background: var(--petrole); border-color: var(--petrole); color: var(--papier); }

@media (prefers-reduced-motion: reduce) {
  .une__visuel img, .une__grille .vitrine-carte { transition: none; }
  .une__visuel:hover img, .une__grille .vitrine-carte:hover { transform: none; }
}

/* ---------- Avis de l'accueil (11/10/2026) ----------
   A gauche la note en grand ; a droite les trois avis recopies tels quels. */
.avis--vitrine { display: grid; gap: 32px; }
@media (min-width: 1024px) {
  .avis--vitrine { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: start; }
  .avis__resume { position: sticky; top: 110px; }
}
.avis-note { margin-top: 22px; }
.avis-note__chiffre {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--titre);
  font-size: clamp(4.5rem, 3.5rem + 4vw, 7rem);
  line-height: 0.9;
  color: var(--petrole);
  font-variant-numeric: tabular-nums;
}
.avis-note__sur { font-size: 0.32em; color: var(--texte-second); }
.avis-note__etoiles { display: flex; gap: 4px; margin: 14px 0 0; }
.avis-note__etoiles .etoile { width: 30px; height: 30px; }
.avis-note__source { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; font-size: var(--t-petit); color: var(--texte-second); }
.avis-note__logo { width: 22px; height: 22px; flex: none; }
.avis-note__source .google-mot { font-size: 1.05rem; }

/* Etoiles qui s'allument une a une quand le bloc entre a l'ecran. */
[data-apparait].a-poser .avis-note__etoiles .etoile { opacity: 0.15; transform: scale(0.6); }
[data-apparait].visible .avis-note__etoiles .etoile { animation: allumer 0.5s var(--courbe) both; }
[data-apparait].visible .avis-note__etoiles .etoile:nth-child(2) { animation-delay: 0.12s; }
[data-apparait].visible .avis-note__etoiles .etoile:nth-child(3) { animation-delay: 0.24s; }
[data-apparait].visible .avis-note__etoiles .etoile:nth-child(4) { animation-delay: 0.36s; }
[data-apparait].visible .avis-note__etoiles .etoile:nth-child(5) { animation-delay: 0.48s; }
@keyframes allumer {
  from { opacity: 0.15; transform: scale(0.6) rotate(-20deg); }
  70% { transform: scale(1.15) rotate(4deg); }
  to { opacity: 1; transform: none; }
}

.avis--vitrine .avis__actions { margin-top: 26px; }

/* Cartes : guillemet en filigrane, logo Google en source, initiale en pastille.
   Sur ordinateur, la carte du milieu est decalee pour rompre l'alignement. */
.avis--vitrine .avis-cartes { margin-top: 0; }
@media (min-width: 720px) and (max-width: 1023px) {
  .avis--vitrine .avis-cartes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .avis--vitrine .avis-cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .avis--vitrine .avis-carte--2 { transform: translateY(48px); }
  .avis--vitrine .avis-carte--3 { grid-column: 1 / span 1; }
}
.avis--vitrine .avis-carte {
  position: relative;
  overflow: hidden;
  padding: 28px 26px 22px;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(15, 42, 46, 0.06), 0 12px 30px rgba(15, 42, 46, 0.07);
  transition: box-shadow 0.35s ease, translate 0.35s var(--courbe);
}
.avis--vitrine .avis-carte:hover { translate: 0 -4px; box-shadow: 0 1px 2px rgba(15, 42, 46, 0.06), 0 18px 40px rgba(15, 42, 46, 0.12); }
.avis--vitrine .avis-carte::before {
  content: "\201C";
  position: absolute;
  top: -18px;
  right: 18px;
  font-family: var(--citation);
  font-size: 9rem;
  line-height: 1;
  color: var(--brume);
  pointer-events: none;
}
.avis-carte__google { position: absolute; top: 24px; right: 24px; width: 20px; height: 20px; }
.avis--vitrine .avis-carte__texte { position: relative; font-size: 1.0625rem; line-height: 1.6; }
.avis--vitrine .avis-carte__signature { align-items: center; flex-wrap: nowrap; gap: 12px; }
.avis-carte__initiale {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--petrole);
  color: var(--papier);
  font-family: var(--titre);
  font-size: 1.2rem;
}
.avis-carte--2 .avis-carte__initiale { background: var(--petrole-texte); }
.avis-carte--3 .avis-carte__initiale { background: #3f7f78; }
.avis-carte__qui { display: grid; gap: 1px; }

@media (prefers-reduced-motion: reduce) {
  [data-apparait].a-poser .avis-note__etoiles .etoile,
  [data-apparait].visible .avis-note__etoiles .etoile { opacity: 1; transform: none; animation: none; }
  .avis--vitrine .avis-carte:hover { translate: none; }
}

/* En-tete : « Lunettes de soleil » en toutes lettres (12/10/2026). Le menu
   s'allonge ; sur les ecrans moyens, police et espaces se resserrent pour ne
   jamais passer sous le logo. */
@media (min-width: 1024px) {
  .navigation { min-width: 0; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .en-tete__barre { gap: 16px; }
  .en-tete__logo img { width: 116px; }
  .navigation__liste { gap: 10px; }
  .navigation__liste a { font-size: 0.8125rem; }
}
/* Au-dela, la barre garde la largeur maximale du site : meme reglage. */
@media (min-width: 1280px) {
  .en-tete__barre { gap: 20px; }
  .en-tete__logo img { width: 132px; }
  .navigation__liste { gap: 14px; }
  .navigation__liste a { font-size: 0.875rem; }
}

/* Accueil, bloc opticien (12/10/2026) : sa photo, puis WhatsApp et Doctolib
   l'un sous l'autre, a cote de lui. */
.opticien-une__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.contacts-cartes--empilees { grid-template-columns: 1fr; max-width: 520px; }
@media (min-width: 768px) {
  .contacts-cartes.contacts-cartes--empilees { grid-template-columns: 1fr; }
  .duo.opticien-une { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .duo.opticien-une .duo__media { max-width: 440px; }
}

/* ---------- Logos des reseaux aux couleurs des marques (13/10/2026) ----------
   Instagram (degrade) et TikTok (reflets) : couleurs dans le symbole.
   Facebook : « f » blanc dans le rond bleu. WhatsApp : combine blanc sur pastille
   verte. Snapchat : fantome blanc cerne de noir sur carre jaune. */
.reseau__icone { width: 22px; height: 22px; }
.reseau--facebook .reseau__icone { color: #0866ff; background: radial-gradient(circle, #ffffff 0 66%, transparent 68%); border-radius: 50%; }
.reseau--whatsapp .reseau__icone { color: #ffffff; background: radial-gradient(circle, #25d366 0 64%, transparent 66%); border-radius: 50%; }
.reseau--snapchat .reseau__icone {
  color: #ffffff;
  stroke: #000000;
  stroke-width: 1.2px;
  paint-order: stroke;
  background: #fffc00;
  border-radius: 6px;
  padding: 2px;
}
.reseau--tiktok .reseau__icone { color: #ffffff; }
.reseaux-liens:not(.pied .reseaux-liens) .reseau--tiktok .reseau__icone { color: #000000; }

/* ---------- Revue mobile du 12/10/2026 ---------- */
.sans-coupure { white-space: nowrap; }
@media (max-width: 767px) {
  /* Trois photos dans une grille a deux colonnes : trois colonnes plutot
     qu'une photo seule sur sa ligne. */
  .grille--2.grille--3:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .grille--2.grille--3:has(> :nth-child(3):last-child) .carte__titre { font-size: var(--t-mention); line-height: 1.35; }
  /* Selection de l'accueil : la photo de marque laisse voir les montures. */
  .une__visuel { aspect-ratio: 4 / 3; }
  /* Pied de page plus court : pages sur deux colonnes, reseaux en grille,
     sans le nom du compte. */
  .pied__colonnes > :first-child .pied__liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .pied .reseaux-liens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pied .reseau { width: 100%; }
  .pied .reseau__compte { display: none; }
}
/* Nous trouver : les quatre actions du haut en deux sur deux. */
@media (min-width: 340px) and (max-width: 599px) {
  .page-contact .cartes-action--quatre { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .page-contact .carte-action { min-height: 84px; padding: 14px 14px; }
  .page-contact .carte-action__titre { font-size: 1.1rem; }
}

/* Vignette dont le sujet est dans le haut de la photo. */
.conseil-carte__media img.vignette-haut { object-position: 50% 30%; }

/* Photo verticale a cote d'un texte : recadree en 4:5 pour ne pas s'etirer. */
.photo-verticale { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 62%; }

/* Plaque de l'allee : photo verticale, montree entiere a cote du texte. */
.photo-plaque { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 45% 55%; }
@media (max-width: 767px) {
  .photo-plaque { aspect-ratio: 4 / 5; max-height: 70vh; }
}
@media (min-width: 768px) {
  .duo--plaque { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); align-items: start; }
  .duo--plaque .duo__media { position: sticky; top: 110px; }
  .duo--plaque .infos--deux { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* En-tete : une ombre legere une fois la page defilee (classe posee par le script). */
.en-tete { transition: box-shadow 0.3s ease; }
.en-tete.est-defile { box-shadow: 0 8px 24px rgba(15, 42, 46, 0.08); }

@media (prefers-reduced-motion: reduce) {
  [data-apparait].a-poser :is(.cartes-action, .contacts-cartes, .services, .etapes, .avis-cartes, .grille, .vitrine-grille, .liste-points) > *,
  [data-apparait].visible :is(.cartes-action, .contacts-cartes, .services, .etapes, .avis-cartes, .grille, .vitrine-grille, .liste-points) > * {
    opacity: 1; transform: none; animation: none;
  }
  [data-apparait].a-poser .duo__media > img { clip-path: none; transform: none; }
  .premier-ecran--video .premier-ecran__chapo,
  .premier-ecran--video .premier-ecran__pratique { animation: none; }
}

/* ---------- Mesure d'audience : bandeau de consentement (18/10/2026) ----------
   Affiché par scripts/mesure.js seulement si un identifiant GA4 est renseigné.
   « Refuser » et « Accepter » ont exactement le même style : aucun choix n'est
   mis en avant. Au-dessus de la barre d'actions mobile, sous l'intro du logo. */
.consentement[hidden], [data-gerer-cookies-ligne][hidden] { display: none !important; }
.consentement {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  display: grid;
  gap: 14px;
  padding: 18px 16px calc(18px + env(safe-area-inset-bottom, 0px));
  background: var(--papier);
  color: var(--encre);
  border-top: 2px solid var(--encre);
  box-shadow: 0 -10px 30px rgba(17, 17, 17, 0.12);
  animation: consentement-entree 0.3s ease-out both;
}
.consentement__titre {
  margin: 0 0 6px;
  font-family: var(--titre);
  font-size: 1.25rem;
}
.consentement__titre:focus { outline: none; }
.consentement__titre:focus-visible { outline: 3px solid var(--encre); outline-offset: 3px; }
.consentement__texte { margin: 0; font-size: var(--t-petit); line-height: 1.5; color: var(--texte); }
.consentement__texte a { color: var(--petrole-texte); text-decoration: underline; text-underline-offset: 3px; }
.consentement__choix { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consentement__bouton {
  min-height: var(--controle);
  padding: 0 16px;
  border: 1px solid var(--encre);
  border-radius: var(--rayon);
  background: var(--blanc);
  color: var(--encre);
  font: inherit;
  font-size: var(--t-petit);
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
}
.consentement__bouton:hover { background: var(--mineral); }
.consentement__bouton:focus-visible { outline: 3px solid var(--encre); outline-offset: 2px; }
@media (min-width: 768px) {
  .consentement {
    left: 24px;
    right: auto;
    bottom: 24px;
    max-width: 520px;
    padding: 22px 24px;
    border: 2px solid var(--encre);
    border-radius: var(--rayon);
  }
}
@keyframes consentement-entree {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .consentement { animation: none; }
}

/* Pied de page : « Gérer les cookies » est un bouton qui a l'air d'un lien. */
.pied__cookies {
  display: inline-block;
  padding: 9px 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
}
.pied__cookies:hover { text-decoration: underline; }

/* Offre saisonnière (config/offre.json) : bandeau en haut de toutes les pages,
   bloc sur l'accueil. Or repris de l'affiche de la boutique, sur fond encre. */
:root {
  --or: #d9ad55;
  --or-clair: #f3d68a;
  --or-fonce: #b9863a;
}
.bandeau-offre { background: var(--encre); color: var(--papier); font-size: var(--t-petit); }
.bandeau-offre[hidden] { display: none; }
.bandeau-offre__ligne { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.bandeau-offre__lien {
  flex: 1; color: inherit; text-decoration: none; padding: 10px 0; line-height: 1.35;
  text-align: center;
}
.bandeau-offre__lien:hover .bandeau-offre__texte,
.bandeau-offre__lien:focus-visible .bandeau-offre__texte { text-decoration: underline; text-underline-offset: 3px; }
.bandeau-offre__etiquette { color: var(--or); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: var(--t-mention); }
.bandeau-offre__remise { color: var(--or-clair); font-weight: 600; white-space: nowrap; }
.bandeau-offre__fermer {
  flex: none; width: 44px; height: 44px; margin-right: -12px; border: 0; background: transparent;
  color: var(--papier); cursor: pointer; position: relative;
}
.bandeau-offre__fermer::before, .bandeau-offre__fermer::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 1.5px;
  background: currentColor; transform: translate(-50%, -50%) rotate(45deg);
}
.bandeau-offre__fermer::after { transform: translate(-50%, -50%) rotate(-45deg); }
.bandeau-offre__fermer:focus-visible { outline: 2px solid var(--or); outline-offset: -4px; }

.offre .sur-titre { color: var(--or); }
.offre__grille { display: grid; gap: 32px; align-items: center; }
.offre__titre { margin: 0; line-height: 1; }
.offre__remise {
  display: block; font-family: "Anton", var(--courant); font-weight: 400; font-style: normal;
  font-size: clamp(5rem, 26vw, 9.5rem); letter-spacing: -0.01em; line-height: 1;
  word-spacing: -0.2em; /* « % » collé au chiffre, comme sur l'affiche */
  color: var(--or);
  background: linear-gradient(180deg, var(--or-clair) 0%, var(--or) 55%, var(--or-fonce) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.offre__sur { display: block; margin-top: 8px; font-size: clamp(1.5rem, 6vw, 2.25rem); color: var(--papier); }
.offre__detail { margin-top: 16px; font-size: 1.1875rem; color: var(--papier); max-width: 32em; }
.offre__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.bouton--or { background: var(--or); border-color: var(--or); color: var(--encre); }
.bouton--or:hover, .bouton--or:focus-visible { background: var(--or-clair); border-color: var(--or-clair); color: var(--encre); }
.offre__bon {
  display: block; justify-self: center; max-width: 300px; color: var(--papier); text-decoration: none;
  perspective: 900px;
}
.offre__bon:focus-visible { outline: none; }
.offre__bon:focus-visible .offre__carte { outline: 2px solid var(--or-clair); outline-offset: 6px; }
.offre__bon-legende { display: block; margin-top: 16px; text-align: center; font-size: var(--t-petit); text-decoration: underline; text-underline-offset: 3px; }
.offre__bon:hover .offre__bon-legende { color: var(--or-clair); }

/* Affiche en carte : suit le pointeur (variables posées par interface.js),
   reflet doré sous le curseur, et un balayage de lumière à l'entrée à l'écran. */
.offre__carte {
  position: relative; display: block; overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .6s var(--courbe), box-shadow .6s var(--courbe);
}
.offre__carte img { display: block; width: 100%; height: auto; }
.offre__carte.est-suivie {
  transition: transform .1s linear, box-shadow .3s var(--courbe);
  box-shadow: 0 28px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(243, 214, 138, .35);
}
.offre__reflet {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%),
    rgba(255, 244, 214, .5) 0%, rgba(243, 214, 138, .18) 30%, rgba(243, 214, 138, 0) 60%);
}
.offre__carte.est-suivie .offre__reflet { opacity: 1; }
.offre__carte::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 246, 220, 0) 38%, rgba(255, 246, 220, .7) 50%, rgba(255, 246, 220, 0) 62%);
  background-size: 300% 100%; background-position: 0 0; background-repeat: no-repeat;
}
.offre__carte.est-balayee::after { animation: offre-balayage 1.4s .35s var(--courbe) both; }
@keyframes offre-balayage { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* Reflet d'or qui traverse le -30 % une fois le compte arrivé. */
.offre__remise {
  font-variant-numeric: tabular-nums;
  background-image:
    linear-gradient(105deg, rgba(255, 250, 235, 0) 40%, rgba(255, 250, 235, .95) 50%, rgba(255, 250, 235, 0) 60%),
    linear-gradient(180deg, var(--or-clair) 0%, var(--or) 55%, var(--or-fonce) 100%);
  background-size: 300% 100%, 100% 100%;
  background-position: 0 0, 0 0;
  background-repeat: no-repeat;
}
.offre__remise.est-brillant { animation: offre-reflet-or 1.3s var(--courbe) both; }
@keyframes offre-reflet-or { from { background-position: 100% 0, 0 0; } to { background-position: 0 0, 0 0; } }

/* Pour moi / pour un proche : change le message WhatsApp pré-rempli. */
.offre__pour { border: 0; margin: 26px 0 0; padding: 0; min-width: 0; }
.offre__pour[hidden] { display: none; }
.offre__pour-titre {
  float: left; margin: 0 14px 0 0; padding: 0; line-height: 44px;
  font-size: var(--t-petit); color: var(--mineral);
}
.offre__pour-choix { position: relative; display: inline-block; margin: 0 8px 0 0; }
.offre__pour-choix input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.offre__pour-choix span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px;
  border: 1px solid rgba(243, 214, 138, .4); border-radius: 999px; color: var(--papier);
  transition: background-color .25s, border-color .25s, color .25s;
}
.offre__pour-choix input:hover + span { border-color: var(--or); }
.offre__pour-choix input:checked + span { background: rgba(217, 173, 85, .16); border-color: var(--or); color: var(--or-clair); }
.offre__pour-choix input:focus-visible + span { outline: 2px solid var(--or-clair); outline-offset: 3px; }
.offre__pour + .offre__actions { margin-top: 16px; }

@media (prefers-reduced-motion: reduce) {
  .offre__carte, .offre__carte.est-suivie { transform: none; transition: none; }
  .offre__carte.est-balayee::after, .offre__remise.est-brillant { animation: none; }
}
@media (min-width: 768px) {
  .offre__grille { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; }
  .offre__bon { max-width: 340px; }
}
/* Bloc d'offre : fond encre (pas le pétrole des sections sombres), bouton or. */
.section--encre.offre { background: var(--encre); }
.offre .bouton--or { background: var(--or); border-color: var(--or); color: var(--encre); }
.offre .bouton--or:hover, .offre .bouton--or:focus-visible { background: var(--or-clair); border-color: var(--or-clair); color: var(--encre); }
.offre .bouton--second { color: var(--papier); border-color: var(--papier); background: transparent; }
/* Accroche de la phase en cours (Black Friday, fêtes) au-dessus du -30 %. */
.offre__accroche {
  margin: 4px 0 18px; font-family: var(--titre); color: var(--papier);
  font-size: clamp(1.5rem, 5.5vw, 2.25rem); line-height: 1.15; max-width: 18em;
}
.bandeau-offre__etiquette { text-transform: none; letter-spacing: 0; font-size: inherit; }
