/* OCP – Olivier Carrelage Provence
   Idée directrice : le calepinage. Les photos et blocs sont posés comme des carreaux,
   séparés par un « joint » régulier (fond couleur joint + gap). Laiton du logo en accent. */
:root {
  --pierre: #f1f0ec;      /* fond de page, pierre claire froide */
  --blanc: #ffffff;       /* surfaces */
  --encre: #1f201c;       /* texte principal */
  --gris: #5b5c55;        /* texte secondaire */
  --joint: #d6d3cb;       /* couleur des joints / filets */
  --anthracite: #23241f;  /* bandeaux sombres */
  --laiton: #8f6a24;      /* accent sur fond clair (contraste AA) */
  --laiton-clair: #d2ac62;/* accent sur fond sombre */
  --sur-sombre: #e9e6de;  /* texte sur anthracite */

  --f-titre: "Marcellus", "Times New Roman", Georgia, serif;
  --f-texte: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;

  --joint-l: 6px;         /* largeur de joint */
  --gouttiere: max(16px, 5vw);
  --largeur: 1200px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--f-texte);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--encre);
  background: var(--pierre);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-titre); font-weight: 400; line-height: 1.12; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.3rem; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--laiton-clair); outline-offset: 3px; border-radius: 2px; }

.enveloppe {
  width: 100%;
  max-width: calc(var(--largeur) + 2 * var(--gouttiere));
  margin-inline: auto;
  padding-left: max(var(--gouttiere), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gouttiere), env(safe-area-inset-right, 0px));
}
.saut { position: absolute; left: -9999px; }
.saut:focus { left: 1rem; top: 1rem; z-index: 100; background: var(--blanc); padding: .6rem 1rem; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.4rem;
  font: 600 1rem/1.2 var(--f-texte);
  text-decoration: none; border: 2px solid transparent; border-radius: 3px;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-laiton { background: var(--laiton-clair); color: var(--anthracite); }
.btn-laiton:hover { background: #e2bf7a; }
.btn-contour { border-color: currentColor; color: inherit; background: transparent; }
.btn-contour:hover { background: rgba(255,255,255,.08); }
.btn-sombre { background: var(--anthracite); color: var(--sur-sombre); }
.btn-sombre:hover { background: #3a3b34; }

/* ---------- En-tête ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--anthracite); z-index: 30; }
.entete {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--anthracite); color: var(--sur-sombre);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.entete .enveloppe { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.marque { display: flex; align-items: center; gap: .75rem; text-decoration: none; margin-right: auto; }
.marque img { width: 46px; height: auto; }
.marque span { font-family: var(--f-titre); font-size: 1.15rem; line-height: 1.1; }
.marque small { display: block; font-family: var(--f-texte); font-size: .8rem; color: var(--laiton-clair); letter-spacing: .02em; }
.nav { display: flex; gap: 1.6rem; }
.nav a { text-decoration: none; font-weight: 500; padding-block: .4rem; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--laiton-clair); }
.entete .tel { white-space: nowrap; }
.menu-btn { display: none; background: none; border: 0; color: inherit; padding: .5rem; cursor: pointer; }
.menu-btn svg { width: 28px; height: 28px; }

@media (max-width: 900px) {
  .entete .tel { display: none; }
  .menu-btn { display: block; }
  .nav {
    position: absolute; inset: 100% 0 auto; flex-direction: column; gap: 0;
    background: var(--anthracite); border-top: 1px solid rgba(255,255,255,.1);
    padding: .5rem var(--gouttiere) 1rem; display: none;
  }
  .nav.ouvert { display: flex; }
  .nav a { padding-block: .9rem; border-bottom: 1px solid rgba(255,255,255,.08); }
}

/* ---------- Héros ---------- */
.heros { background: var(--anthracite); color: var(--sur-sombre); padding-block: clamp(2.5rem, 6vw, 5rem); }
.heros .enveloppe { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.heros-texte { min-width: 0; }
.heros .lieu { color: var(--laiton-clair); font-weight: 600; margin-bottom: 1rem; }
.heros h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); margin-bottom: 1.25rem; }
.heros .intro { font-size: 1.15rem; color: #cdc9bf; max-width: 34em; }
.heros .actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.heros .reperes { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; margin: 2.25rem 0 0; padding: 1.25rem 0 0; list-style: none; border-top: 1px solid rgba(255,255,255,.14); color: #cdc9bf; font-size: .98rem; }
.heros .reperes strong { color: var(--sur-sombre); font-weight: 600; }

/* La mosaïque : un fond couleur joint et des photos posées comme des carreaux */
.mosaique {
  display: grid; gap: var(--joint-l); padding: var(--joint-l);
  background: #4a4a42;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(6, minmax(0, 1fr));
  aspect-ratio: 1 / 1.02; max-width: 100%;
}
.mosaique figure { margin: 0; overflow: hidden; background: #33342e; min-width: 0; }
.mosaique img { width: 100%; height: 100%; object-fit: cover; }
.mosaique figure:nth-child(1) { grid-column: 1 / 4; grid-row: 1 / 5; }
.mosaique figure:nth-child(2) { grid-column: 4 / 7; grid-row: 1 / 3; }
.mosaique figure:nth-child(3) { grid-column: 4 / 7; grid-row: 3 / 5; }
.mosaique figure:nth-child(4) { grid-column: 1 / 3; grid-row: 5 / 7; }
.mosaique figure:nth-child(5) { grid-column: 3 / 7; grid-row: 5 / 7; }
.mosaique figure { animation: pose .6s cubic-bezier(.2,.7,.2,1) both; }
.mosaique figure:nth-child(2) { animation-delay: .08s; }
.mosaique figure:nth-child(3) { animation-delay: .16s; }
.mosaique figure:nth-child(4) { animation-delay: .24s; }
.mosaique figure:nth-child(5) { animation-delay: .32s; }
@keyframes pose { from { transform: scale(.94); opacity: .4; } to { transform: none; opacity: 1; } }

@media (max-width: 860px) {
  .heros .enveloppe { grid-template-columns: minmax(0, 1fr); }
  .mosaique { aspect-ratio: 4 / 3; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section + .section { border-top: 1px solid var(--joint); }
.tete-section { display: grid; gap: .9rem; max-width: 40rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.tete-section p { color: var(--gris); font-size: 1.1rem; }

/* Grille « carrelée » : fond joint + gap, cellules pleines */
.calepin { display: grid; gap: 2px; background: var(--joint); border: 2px solid var(--joint); }
.calepin > * { background: var(--blanc); min-width: 0; }

/* Prestations */
.prestations { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.prestation { display: grid; grid-template-rows: auto 1fr; }
.prestation img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.prestation div { padding: 1.4rem 1.5rem 1.7rem; display: grid; gap: .5rem; align-content: start; }
.prestation p { color: var(--gris); }
@media (max-width: 900px) { .prestations { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .prestations { grid-template-columns: minmax(0, 1fr); } }

/* Aperçu des réalisations */
.galerie { display: grid; gap: var(--joint-l); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vignette { position: relative; margin: 0; background: var(--joint); overflow: hidden; }
.vignette button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.vignette img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .4s ease; }
.vignette button:hover img { transform: scale(1.04); }
.vignette figcaption { padding: .7rem .2rem 0; background: var(--pierre); }
.vignette figcaption strong { display: block; font-weight: 600; line-height: 1.3; }
.vignette figcaption span { display: block; color: var(--gris); font-size: .92rem; line-height: 1.45; margin-top: .2rem; }
.galerie .vignette { background: transparent; }
@media (max-width: 900px) { .galerie { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .6rem; } .vignette figcaption span { display: none; } }
.suite { margin-top: 2.5rem; display: flex; justify-content: flex-start; }

/* Déroulé d'un chantier (vraie séquence → numérotation justifiée) */
.etapes { list-style: none; margin: 0; padding: 0; counter-reset: etape; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.etapes li { padding: 1.5rem 1.3rem 1.7rem; counter-increment: etape; display: grid; gap: .45rem; align-content: start; }
.etapes li::before { content: counter(etape); font-family: var(--f-titre); font-size: 2.2rem; line-height: 1; color: var(--laiton); }
.etapes h3 { font-size: 1.15rem; }
.etapes p { color: var(--gris); font-size: .98rem; }
@media (max-width: 1000px) { .etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); } .etapes li:last-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .etapes { grid-template-columns: minmax(0, 1fr); } }

/* Artisan */
.artisan { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.artisan figure { margin: 0; border: var(--joint-l) solid var(--blanc); outline: 1px solid var(--joint); }
.artisan figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.artisan figcaption { font-size: .9rem; color: var(--gris); background: var(--blanc); padding-top: .5rem; }
.artisan .texte { display: grid; gap: 1.1rem; max-width: 36rem; min-width: 0; }
.artisan .texte p { color: #3d3e38; }
.chiffres { display: flex; flex-wrap: wrap; gap: 2.5rem; margin-top: .75rem; padding-top: 1.25rem; border-top: 1px solid var(--joint); }
.chiffres div { display: grid; }
.chiffres strong { font-family: var(--f-titre); font-weight: 400; font-size: 2.4rem; line-height: 1; color: var(--laiton); }
.chiffres span { color: var(--gris); font-size: .95rem; }
@media (max-width: 800px) { .artisan { grid-template-columns: minmax(0, 1fr); } .artisan figure { max-width: 420px; } }

/* Zone d'intervention */
.zone { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.zone .texte { display: grid; gap: 1rem; min-width: 0; }
.zone .texte p { color: var(--gris); }
.communes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.communes li { padding: .8rem 1rem; font-weight: 500; }
.communes li.centre { grid-column: 1 / -1; background: var(--anthracite); color: var(--sur-sombre); font-family: var(--f-titre); font-size: 1.25rem; font-weight: 400; }
.carte { margin: 0; background: var(--blanc); padding: var(--joint-l); border: 1px solid var(--joint); min-width: 0; }
.carte img { width: 100%; height: auto; }
.carte figcaption { font-size: .88rem; color: var(--gris); padding-top: .5rem; }
.lien-carte { color: var(--laiton); font-weight: 600; text-underline-offset: 3px; }
@media (max-width: 800px) { .zone { grid-template-columns: minmax(0, 1fr); } }

/* Questions fréquentes */
.faq { display: grid; gap: 2px; background: var(--joint); border: 2px solid var(--joint); max-width: 52rem; }
.faq details { background: var(--blanc); }
.faq summary { cursor: pointer; padding: 1.15rem 1.4rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-titre); font-size: 1.5rem; line-height: 1; color: var(--laiton); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 1.4rem 1.3rem; color: var(--gris); max-width: 44rem; }

/* Contact */
.contact { background: var(--anthracite); color: var(--sur-sombre); }
.contact .enveloppe { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); }
.contact .tete-section p { color: #cdc9bf; }
.coordonnees { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.coordonnees li { display: grid; gap: .1rem; }
.coordonnees .etiquette { color: var(--laiton-clair); font-size: .9rem; font-weight: 600; }
.coordonnees a, .coordonnees .valeur { font-size: 1.3rem; font-family: var(--f-titre); text-decoration: none; word-break: break-word; }
.coordonnees a:hover { text-decoration: underline; text-underline-offset: 4px; }

.formulaire { background: var(--blanc); color: var(--encre); padding: clamp(1.4rem, 3vw, 2.2rem); display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; }
.formulaire h3 { grid-column: 1 / -1; font-size: 1.5rem; }
.champ { display: grid; gap: .35rem; min-width: 0; }
.champ.large { grid-column: 1 / -1; }
.champ label { font-weight: 600; font-size: .95rem; }
.champ label span { color: var(--gris); font-weight: 400; }
.champ input, .champ select, .champ textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--encre);
  padding: .75rem .85rem; border: 1.5px solid var(--joint); border-radius: 3px; background: #fbfaf8;
}
.champ textarea { min-height: 130px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--laiton); box-shadow: 0 0 0 3px rgba(143,106,36,.18); }
.formulaire .btn { grid-column: 1 / -1; justify-self: start; }
.formulaire .note { grid-column: 1 / -1; font-size: .9rem; color: var(--gris); }
.formulaire .retour { grid-column: 1 / -1; padding: .8rem 1rem; background: #f4efe3; border-left: 4px solid var(--laiton); font-size: .95rem; }
@media (max-width: 900px) { .contact .enveloppe { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .formulaire { grid-template-columns: minmax(0, 1fr); } }

/* Pied de page */
.pied { background: #191a16; color: #b9b5aa; padding-block: 2.5rem; font-size: .95rem; }
.pied .enveloppe { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; align-items: center; justify-content: space-between; }
.pied nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.pied a { text-underline-offset: 3px; }

/* Barre d'appel fixe sur mobile */
.barre-mobile { display: none; }
@media (max-width: 700px) {
  .barre-mobile {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
    background: rgba(255,255,255,.15);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-shadow: 0 -6px 20px rgba(0,0,0,.18);
  }
  .barre-mobile a { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 56px; font-weight: 600; text-decoration: none; }
  .barre-mobile svg { width: 20px; height: 20px; }
  .barre-mobile .appel { background: var(--laiton-clair); color: var(--anthracite); }
  .barre-mobile .devis { background: var(--anthracite); color: var(--sur-sombre); }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Page Réalisations ---------- */
.bandeau { background: var(--anthracite); color: var(--sur-sombre); padding-block: clamp(2.5rem, 6vw, 4rem); }
.bandeau h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: .8rem; }
.bandeau p { color: #cdc9bf; max-width: 38rem; font-size: 1.1rem; }
.filtres { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filtres button {
  font: 600 .98rem var(--f-texte); min-height: 44px; padding: .55rem 1.1rem; cursor: pointer;
  background: var(--blanc); color: var(--encre); border: 1.5px solid var(--joint); border-radius: 3px;
}
.filtres button:hover { border-color: var(--laiton); }
.filtres button[aria-pressed="true"] { background: var(--anthracite); color: var(--sur-sombre); border-color: var(--anthracite); }
.filtres button span { font-weight: 400; opacity: .7; margin-left: .25rem; }
.galerie.complete { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem var(--joint-l); }
@media (max-width: 1000px) { .galerie.complete { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .galerie.complete { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem .6rem; } }

/* Visionneuse */
.visionneuse { position: fixed; inset: 0; z-index: 50; background: rgba(20,20,17,.96); color: var(--sur-sombre); display: grid; grid-template-rows: auto 1fr auto; }
.visionneuse[hidden] { display: none; }
.visionneuse .haut { display: flex; justify-content: space-between; align-items: center; padding: max(.75rem, env(safe-area-inset-top, 0px)) max(1rem, env(safe-area-inset-right, 0px)) .75rem max(1rem, env(safe-area-inset-left, 0px)); }
.visionneuse .compteur { font-variant-numeric: tabular-nums; color: #b9b5aa; }
.visionneuse .scene { display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 1rem; }
.visionneuse .scene img { max-width: 100%; max-height: 100%; object-fit: contain; }
.visionneuse .bas { display: flex; align-items: center; gap: 1rem; padding: 1rem max(1rem, env(safe-area-inset-left, 0px)) max(1.2rem, env(safe-area-inset-bottom, 0px)); }
.visionneuse .legende { flex: 1; min-width: 0; }
.visionneuse .legende strong { display: block; font-family: var(--f-titre); font-weight: 400; font-size: 1.3rem; }
.visionneuse .legende span { color: #b9b5aa; }
.visionneuse button { background: rgba(255,255,255,.1); color: inherit; border: 1px solid rgba(255,255,255,.25); width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.visionneuse button:hover { background: rgba(255,255,255,.2); }
.visionneuse button svg { width: 22px; height: 22px; }

/* ---------- Mentions légales ---------- */
.texte-legal { max-width: 46rem; display: grid; gap: 2.25rem; }
.texte-legal section { display: grid; gap: .6rem; }
.texte-legal h2 { font-size: 1.6rem; }
.texte-legal p, .texte-legal li { color: #3d3e38; }
.texte-legal ul { margin: 0; padding-left: 1.2rem; }
.a-completer { background: #fbf0cf; padding: 0 .3em; border-radius: 2px; }

/* Les ancres du menu ne passent pas sous l en-tete collant */
section[id] { scroll-margin-top: calc(76px + env(safe-area-inset-top, 0px)); }
.formulaire .retour.erreur { background: #f8e3df; border-left-color: #a8342a; }
.formulaire button:disabled { opacity: .6; cursor: wait; }
.btn.email { overflow-wrap: anywhere; text-align: left; }

/* ---------- Chantier à la une ---------- */
.a-la-une { background: var(--anthracite); color: var(--sur-sombre); }
.section.a-la-une + .section { border-top: 0; }
.a-la-une .tete-section p { color: #cdc9bf; }
.une-grille { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.une-video { margin: 0; position: relative; min-width: 0; }
.une-cadre { position: relative; width: 100%; padding-top: 56.25%; background: #33342e; outline: var(--joint-l) solid #4a4a42; outline-offset: 0; overflow: hidden; }
.une-cadre video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.une-video figcaption { padding-top: .8rem; color: #cdc9bf; }
.une-video figcaption strong { display: block; font-family: var(--f-titre); font-weight: 400; font-size: 1.3rem; color: var(--sur-sombre); }
.lecture {
  position: absolute; left: .75rem; bottom: .75rem; z-index: 1;
  display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .5rem .9rem .5rem .7rem;
  font: 600 .95rem var(--f-texte); color: var(--anthracite); background: var(--laiton-clair);
  border: 0; border-radius: 3px; cursor: pointer;
}
.lecture:hover { background: #e2bf7a; }
.lecture svg { width: 18px; height: 18px; }
.lecture .i-pause, .lecture[aria-pressed="true"] .i-lire { display: none; }
.lecture[aria-pressed="true"] .i-pause { display: block; }

.une-etapes { list-style: none; margin: 0; padding: 0; counter-reset: une; display: grid; gap: var(--joint-l); min-width: 0; }
.une-etapes li { counter-increment: une; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 1rem; align-items: center; padding: var(--joint-l); background: #2d2e28; }
.une-etapes button { position: relative; display: block; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; }
.une-etapes img { width: 112px; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .4s ease; }
.une-etapes button:hover img { transform: scale(1.05); }
.une-etapes button::after {
  content: counter(une); position: absolute; left: 0; top: 0; width: 32px; height: 32px;
  display: grid; place-items: center; background: var(--laiton-clair); color: var(--anthracite);
  font-family: var(--f-titre); font-size: 1.2rem;
}
.une-etapes h3 { font-size: 1.2rem; color: var(--sur-sombre); margin-bottom: .25rem; }
.une-etapes p { color: #cdc9bf; font-size: .96rem; line-height: 1.5; padding-right: .5rem; }
@media (max-width: 900px) { .une-grille { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .une-etapes li { grid-template-columns: 88px minmax(0, 1fr); } .une-etapes img { width: 88px; } }
.filtres { scroll-margin-top: calc(84px + env(safe-area-inset-top, 0px)); }

/* Chantier à la une sur téléphone : vidéo pleine largeur, étapes en 3 vignettes */
@media (max-width: 700px) {
  .a-la-une .enveloppe { padding-left: 0; padding-right: 0; }
  .a-la-une .tete-section, .une-video figcaption, .une-etapes { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .une-cadre { outline: 0; }
  .une-etapes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
  .une-etapes li { display: block; padding: 0; background: none; }
  .une-etapes button { width: 100%; }
  .une-etapes img { width: 100%; }
  .une-etapes h3 { font-size: .98rem; line-height: 1.25; margin-top: .5rem; }
  .une-etapes p { display: none; }
  .lecture { padding: .45rem .8rem .45rem .6rem; font-size: .9rem; }
}
@media (max-width: 420px) { .une-etapes li { grid-template-columns: none; } .une-etapes img { width: 100%; } }

/* Carte de la zone (dessinée) */
.carte-svg { display: block; width: 100%; height: auto; font-family: var(--f-texte); }
.c-terre { fill: #ecebe6; }
.c-mer { fill: #cdd9dc; }
.c-fleuve { fill: none; stroke: #8fb1ba; stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round; }
.c-riviere { fill: none; stroke: #9fbcc3; stroke-width: .8; stroke-linejoin: round; stroke-linecap: round; }
.c-eau { fill: #5f8792; font-size: 3.2px; font-style: italic; }
.c-eau-mer { fill: #5f8792; font-size: 3.6px; font-style: italic; letter-spacing: .3px; }
.c-zone { fill: rgba(210,172,98,.16); stroke: var(--laiton); stroke-width: .8; stroke-dasharray: 2.4 1.6; }
.c-dept { fill: #8d897d; font-size: 3.4px; font-style: italic; }
.c-point { fill: var(--encre); }
.c-ville { fill: var(--encre); font-size: 3.3px; }
.c-discret { fill: #6f6c63; }
.c-mont { fill: #b9b4a6; }
.c-orange { fill: var(--laiton); stroke: #fff; stroke-width: .9; }
.c-orange-txt { fill: var(--encre); font-family: var(--f-titre); font-size: 6px; }
.c-rayon { stroke: var(--laiton); stroke-width: .5; }
.c-rayon-txt { fill: var(--laiton); font-size: 3.4px; font-weight: 600; }
.c-echelle { stroke: var(--encre); stroke-width: .7; }

/* Avis Google */
.avis { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.5rem 2.5rem; align-items: center; background: var(--blanc); border: 1px solid var(--joint); padding: clamp(1.4rem, 3vw, 2.2rem); }
.avis-etoiles { display: flex; gap: 4px; }
.avis-etoiles svg { width: 26px; height: 26px; fill: var(--laiton-clair); }
.avis-texte { display: grid; gap: .5rem; min-width: 0; }
.avis-texte h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.avis-texte p { color: var(--gris); max-width: 40rem; }
.avis-actions { display: flex; flex-direction: column; gap: .6rem; }
.avis .btn-contour { color: var(--encre); }
@media (max-width: 900px) { .avis { grid-template-columns: minmax(0, 1fr); } .avis-actions { flex-direction: row; flex-wrap: wrap; } }
@media (max-width: 600px) {
  .carte { padding: 4px; }
  .c-mineur { display: none; }
  .c-ville { font-size: 5.2px; }
  .c-dept { font-size: 4.4px; }
  .c-orange-txt { font-size: 8px; }
  .c-rayon-txt { font-size: 4.8px; }
  .c-eau, .c-eau-mer { font-size: 4.4px; }
  .c-point { r: 1.5px; }
}

/* Refus de la mesure d'audience (page Confidentialité) */
.stats-refus label { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; cursor: pointer; }
.stats-refus input { width: 1.25rem; height: 1.25rem; accent-color: var(--anthracite); }
.stats-refus span { font-size: .95rem; opacity: .8; }
