/*
Theme Name: Provalinas
Theme URI: https://provalinas.fr
Author: Provalinas
Description: Theme bloc sur mesure pour Provalinas, climatisation dans les Alpes-Maritimes. Registre noir, blanc et vert boise, capitales espacees, angles droits.
Version: 1.0.1
Requires at least: 6.6
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: provalinas
Tags: block-theme, full-site-editing, business
*/
/* =========================================================
   Provalinas — maquette d'accueil
   Registre : réf. 3 (noir, capitales espacées, angles droits,
   filets 1 px). Vert boisé : demande du client.
   ========================================================= */

/* ---------- Police hébergée sur le site (aucun appel à Google) ---------- */

:root {
  --noir: #000000;
  --encre: #0d0d0d;
  --blanc: #ffffff;
  --filet: #262626;
  --gris: #8c8c8c;
  --gris-clair: #e6e6e6;
  --vert: #4a7c59;
  --vert-clair: #7fa88a;
  --vert-fonce: #3b6448;

  --rail: 72px;
  --barre: 72px;
  --police: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding-left: var(--rail);
  font-family: var(--police);
  font-size: 15px;
  line-height: 1.75;
  color: var(--encre);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; hyphens: none; text-wrap: balance; }
p { margin: 0; }

/* ---------- Nom : « Prov » en vert ---------- */
.vert { color: var(--vert); }
.insecable { white-space: nowrap; }

/* ---------- Surtitre ---------- */
.surtitre {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--gris);
  margin-bottom: 22px;
}
.surtitre-vert { color: var(--vert-clair); }
.surtitre-clair { color: rgba(255,255,255,.8); }

/* ---------- Boutons : angles droits ---------- */
.bouton {
  display: inline-block;
  padding: 17px 34px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  transition: background .2s, color .2s;
}
.bouton-vert { background: var(--vert); color: var(--blanc); }
.bouton-vert:hover { background: var(--blanc); color: var(--noir); }
.bouton-noir { background: var(--noir); color: var(--blanc); }
.bouton-noir:hover { background: var(--blanc); color: var(--noir); }

/* =========================================================
   Barre latérale
   ========================================================= */
.rail {
  position: fixed;
  z-index: 40;
  left: 0;
  top: var(--barre);
  bottom: 0;
  width: var(--rail);
  background: var(--noir);
  border-right: 1px solid var(--filet);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.rail-trait {
  display: block;
  width: 46px;
  height: 1px;
  background: var(--filet);
  margin-top: 0;
}
.rail-label {
  margin-top: 70px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--blanc);
  white-space: nowrap;
}
.rail-trait-bas { margin-top: 70px; }
.rail-icones {
  margin-top: auto;
  padding: 24px 0 30px;
  border-top: 1px solid var(--filet);
  width: 46px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.rail-icones svg { width: 15px; height: 15px; fill: var(--blanc); transition: fill .2s; }
.rail-icones a:hover svg { fill: var(--vert); }

/* =========================================================
   En-tête : barre noire qui s'arrête avant le bord droit
   ========================================================= */
.entete {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 80%;
  height: var(--barre);
  background: var(--noir);
  display: flex;
  align-items: center;
  padding: 0 46px 0 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-left: 46px;
  min-width: 290px;
}
.logo-marque {
  width: 58px;
  height: 36px;
  fill: none;
  stroke: var(--blanc);
  stroke-width: 1.6;
  stroke-linejoin: miter;
}
.logo-marque path:last-child { stroke: var(--vert); stroke-width: 2; }
.logo-texte { display: flex; flex-direction: column; line-height: 1; color: var(--blanc); }
.logo-texte b { font-size: 14px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; }
.logo-texte small { margin-top: 6px; font-size: 8px; font-weight: 500; letter-spacing: .52em; text-transform: uppercase; color: var(--gris); }

.menu {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-left: 30px;
}
.menu > a, .menu-deroulant > a {
  position: relative;
  display: block;
  padding: 26px 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blanc);
  transition: color .2s;
}
.menu > a::after, .menu-deroulant > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 18px;
  width: 0;
  height: 1px;
  background: var(--vert);
  transition: width .25s;
}
.menu > a:hover::after, .menu-deroulant:hover > a::after, .menu > a.actif::after, .menu-deroulant > a.actif::after { width: 100%; }
.menu > a.actif::after, .menu-deroulant > a.actif::after { background: var(--blanc); }

.menu-deroulant { position: relative; }
.sous-menu {
  position: absolute;
  top: 100%;
  left: -26px;
  min-width: 270px;
  background: var(--noir);
  border-top: 1px solid var(--filet);
  padding: 14px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.menu-deroulant:hover .sous-menu { opacity: 1; visibility: visible; transform: none; }
.sous-menu a {
  display: block;
  padding: 10px 26px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gris);
}
.sous-menu a:hover, .sous-menu a.actif { color: var(--blanc); }

.entete-bouton {
  margin-left: auto;
  width: 38px;
  height: 38px;
  border: 1px solid #444;
  display: grid;
  place-items: center;
  transition: border-color .2s, background .2s;
}
.entete-bouton svg { width: 14px; height: 14px; fill: var(--blanc); }
.entete-bouton:hover { border-color: var(--vert); background: var(--vert); }
.entete-bouton:hover svg { fill: var(--blanc); }

.burger { display: none; }

/* =========================================================
   Accueil plein écran
   ========================================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background: var(--noir);
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: saturate(.75) brightness(.62);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,.25) 100%);
}
.hero-pointilles {
  position: absolute;
  z-index: 2;
  left: 38px;
  top: 0;
  bottom: 0;
  border-left: 1px dashed rgba(255,255,255,.35);
}
.hero-texte {
  position: absolute;
  z-index: 3;
  left: 46%;
  top: 50%;
  transform: translate(-6%, -30%);
  text-align: center;
  color: var(--blanc);
}
.hero h1 {
  font-size: clamp(40px, 5.2vw, 84px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hero-sous {
  margin-top: 18px;
  font-size: clamp(14px, 1.6vw, 24px);
  font-weight: 400;
  letter-spacing: .62em;
  text-transform: uppercase;
  padding-left: .62em; /* recentre l'espacement final */
}
.hero-ligne {
  margin-top: 34px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
}
.hero-ligne::before {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  margin: 0 auto 30px;
  background: var(--vert);
}
.hero-suite {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 34px;
  width: 38px;
  height: 38px;
  margin-left: -19px;
  display: grid;
  place-items: center;
}
.hero-suite svg { width: 18px; height: 18px; fill: none; stroke: var(--blanc); stroke-width: 1.5; animation: flotte 2.2s ease-in-out infinite; }
@keyframes flotte { 50% { transform: translateY(6px); } }

/* =========================================================
   Métier — blanc, centré, aéré
   ========================================================= */
.metier {
  padding: 150px 8vw 130px;
  text-align: center;
}
.metier h2 {
  font-size: clamp(34px, 4vw, 60px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.metier-texte {
  max-width: 680px;
  margin: 38px auto 0;
  color: #4a4a4a;
}
.metier-faits {
  list-style: none;
  margin: 90px auto 0;
  padding: 0;
  max-width: 1100px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--gris-clair);
}
.metier-faits li {
  padding: 34px 20px 0;
  border-left: 1px solid var(--gris-clair);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.metier-faits li:first-child { border-left: 0; }
.metier-faits b { font-size: 12px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; }
.metier-faits span { font-size: 14px; color: var(--gris); }

/* =========================================================
   Services — trois panneaux plein cadre, noirs
   ========================================================= */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--filet);
}
.panneau {
  position: relative;
  height: 82vh;
  min-height: 560px;
  overflow: hidden;
  background: var(--noir);
  color: var(--blanc);
}
.panneau img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.35) brightness(.55);
  transition: transform .8s ease, filter .6s;
}
.panneau::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.85) 100%);
}
.panneau:hover img { transform: scale(1.04); filter: grayscale(0) brightness(.62); }
.panneau-texte {
  position: absolute;
  z-index: 2;
  left: 44px;
  right: 44px;
  bottom: 50px;
}
.panneau-num {
  display: block;
  font-size: 60px;
  font-weight: 800;
  line-height: 1;
  color: var(--vert);
  margin-bottom: 26px;
}
.panneau h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.panneau p {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,.72);
  max-width: 360px;
}
.panneau-lien {
  display: inline-block;
  margin-top: 28px;
  padding-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--vert);
}

/* =========================================================
   Fond fixe : technicien dans une pièce blanche, très éclairci, immobile au défilement
   ========================================================= */
.fond-fixe {
  background:
    linear-gradient(rgba(255,255,255,.8), rgba(255,255,255,.8)),
    url("img/fond-technicien.jpg") right center / cover fixed;
  background-color: var(--blanc);
}

/* =========================================================
   Zone d'intervention — séparation blanche + carte en pointillé
   ========================================================= */
.zone {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 130px 8vw 130px;
}
.zone-texte h2 {
  font-size: clamp(34px, 4vw, 60px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.zone-texte > p:not(.surtitre) { margin-top: 30px; max-width: 480px; color: #4a4a4a; }
.zone-bandes {
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
  max-width: 480px;
  border-top: 1px solid var(--gris-clair);
}
.zone-bandes li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--gris-clair);
}
.zone-bandes b { font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.zone-bandes span { font-size: 13px; color: var(--gris); text-align: right; }
.zone-carte { margin: 0; }
.zone-carte svg { display: block; width: 100%; max-width: 520px; height: auto; margin: 0 auto; overflow: visible; }
.c-contour {
  fill: rgba(74,124,89,.06);
  stroke: var(--encre);
  stroke-width: 1.6;
  stroke-dasharray: .1 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.c-cote {
  fill: none;
  stroke: var(--vert);
  stroke-width: 3.2;
  stroke-dasharray: 8 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: circule 1.6s linear infinite;
}
.c-point { fill: var(--vert); }
.c-halo { fill: none; stroke: var(--vert); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: halo 2.4s ease-out infinite; }
@keyframes halo { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.c-ville { font: 700 12px var(--police); letter-spacing: .2em; text-transform: uppercase; fill: var(--noir); }
.c-region { font: 700 11px var(--police); letter-spacing: .32em; text-transform: uppercase; fill: var(--vert); }
.c-pays { font: 600 9px var(--police); letter-spacing: .3em; text-transform: uppercase; fill: var(--gris); }

/* =========================================================
   VRV / VRF — bandeau photo plein cadre, titre hors d'échelle,
   schéma de réseau qui chevauche le bandeau
   ========================================================= */
.vrv { background: var(--noir); color: var(--blanc); }
.vrv-bandeau {
  position: relative;
  height: 78vh;
  min-height: 540px;
  overflow: hidden;
}
.vrv-bandeau img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  filter: saturate(.55) brightness(.5);
}
.vrv-bandeau::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.1) 40%, var(--noir) 100%);
}
.vrv-titre {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: 38%;
  transform: translateY(-50%);
  text-align: center;
}
.vrv-titre h2 {
  font-size: clamp(72px, 11vw, 180px);
  font-weight: 800;
  line-height: .9;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.vrv-accroche {
  margin-top: 30px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .42em;
  text-transform: uppercase;
  padding-left: .42em;
  color: rgba(255,255,255,.8);
}
.vrv-corps {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 90px;
  padding: 0 8vw 140px;
  align-items: start;
}
.vrv-schema {
  margin: -190px 0 0;
  padding: 50px 44px 40px;
  background: var(--encre);
  border: 1px solid var(--filet);
}
.vrv-schema svg { display: block; width: 100%; height: auto; overflow: visible; }
.s-trait { fill: none; stroke: var(--blanc); stroke-width: 1.4; }
.s-fin { stroke: #4d4d4d; stroke-width: 1; }
.s-reseau {
  fill: none;
  stroke: var(--vert);
  stroke-width: 2.4;
  stroke-dasharray: 10 6;
  animation: circule 1.6s linear infinite;
}
@keyframes circule { to { stroke-dashoffset: -32; } }
.s-noeud { fill: var(--vert); }
.s-titre { font: 700 10px var(--police); letter-spacing: .2em; text-transform: uppercase; fill: var(--blanc); }
.s-legende { font: 600 9px var(--police); letter-spacing: .14em; text-transform: uppercase; fill: var(--gris); }

.vrv-texte { padding-top: 70px; }
.vrv-texte h3 {
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.vrv-texte > p {
  margin-top: 24px;
  font-size: 14px;
  color: rgba(255,255,255,.7);
}
.vrv-atouts {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  border-top: 1px solid var(--filet);
}
.vrv-atouts li {
  display: flex;
  align-items: baseline;
  gap: 22px;
  padding: 15px 0;
  border-bottom: 1px solid var(--filet);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.vrv-atouts span { font-size: 11px; font-weight: 700; color: var(--vert-clair); letter-spacing: .1em; }
.vrv-cibles {
  margin: 34px 0 42px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--filet);
  border-left: 1px solid var(--filet);
}
.vrv-cibles span {
  padding: 16px 18px;
  border-right: 1px solid var(--filet);
  border-bottom: 1px solid var(--filet);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gris);
}

/* =========================================================
   Équipe — deux techniciens de dos, photos en quinconce
   ========================================================= */
.equipe {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 28px;
  padding: 140px 8vw 160px;
  align-items: start;
}
.equipe-texte { align-self: center; padding-right: 40px; }
.equipe-texte h2 {
  font-size: clamp(28px, 2.8vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.equipe-texte p:not(.surtitre) { margin-top: 26px; color: #4a4a4a; }
.equipe-texte h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  margin-top: 28px;
  background: var(--vert);
}
.equipe-photo { margin: 0; height: 600px; overflow: hidden; background: var(--noir); }
.equipe-photo img { width: 100%; height: 100%; object-fit: cover; }
.equipe-photo-a img { object-position: center 38%; }
.equipe-photo-b { margin-top: 140px; }
.equipe-photo-b img { object-position: center 42%; }

/* =========================================================
   Méthode — noir, quatre colonnes à filets
   ========================================================= */
.methode {
  background: var(--noir);
  color: var(--blanc);
  padding: 130px 8vw 140px;
}
.methode-tete { text-align: center; margin-bottom: 80px; }
.methode-tete h2 {
  font-size: clamp(26px, 2.6vw, 40px);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.etapes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--filet);
}
.etapes li {
  padding: 44px 34px 10px;
  border-left: 1px solid var(--filet);
}
.etapes li:first-child { border-left: 0; padding-left: 0; }
.etapes span {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--vert-clair);
  margin-bottom: 26px;
}
.etapes h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.etapes p { font-size: 14px; color: rgba(255,255,255,.62); }

/* =========================================================
   Réalisations — mosaïque
   ========================================================= */
.realisations {
  padding: 140px 6vw 130px;
  text-align: center;
}
.realisations-tete { margin-bottom: 70px; }
.realisations-tete h2 {
  font-size: clamp(30px, 3.4vw, 52px);
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.mosaique {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 300px 300px;
  gap: 8px;
  text-align: left;
}
.tuile { position: relative; margin: 0; overflow: hidden; background: var(--noir); }
.tuile-grande { grid-row: span 2; }
.tuile:nth-child(4) { grid-column: span 2; }
.tuile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.tuile:hover img { transform: scale(1.04); }
.tuile figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 18px 24px;
  background: var(--noir);
  color: var(--blanc);
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}
.tuile figcaption b { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.tuile figcaption span { font-size: 12px; color: var(--vert-clair); letter-spacing: .06em; }
.lien-fleche {
  display: inline-block;
  margin-top: 60px;
  padding-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--vert);
}

/* =========================================================
   Appel — champ vert
   ========================================================= */
.appel {
  background: var(--vert);
  color: var(--blanc);
  padding: 110px 8vw;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 60px;
}
.appel h2 {
  font-size: clamp(34px, 4.2vw, 64px);
  font-weight: 800;
  line-height: 1.04;
  text-transform: uppercase;
}
.appel-droite {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding-left: 60px;
  border-left: 1px solid rgba(255,255,255,.35);
}
.appel-tel { font-size: clamp(28px, 2.8vw, 42px); font-weight: 800; letter-spacing: .04em; line-height: 1.2; }
.appel-mail { font-size: 15px; font-weight: 600; margin-bottom: 26px; }

/* =========================================================
   Pied de page
   ========================================================= */
.pied {
  background: var(--noir);
  color: var(--blanc);
  padding: 100px 8vw 0;
}
.pied-grille {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 80px;
}
.pied .logo { padding-left: 0; min-width: 0; margin-bottom: 28px; }
.pied-marque p { font-size: 14px; color: var(--gris); max-width: 320px; }
.pied-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.pied-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.pied-col a, .pied-col span { color: var(--gris); transition: color .2s; }
.pied-col a:hover { color: var(--vert-clair); }
.pied .logo .logo-texte { color: var(--blanc); }
.pied .logo-texte small { color: var(--gris); }
.pied .logo .vert { color: var(--vert); }
.pied-bas {
  display: flex;
  justify-content: space-between;
  padding: 26px 0 30px;
  border-top: 1px solid var(--filet);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gris);
}

/* =========================================================
   Tablette / mobile
   ========================================================= */
@media (max-width: 1100px) {
  .entete { width: 100%; }
  .menu { gap: 26px; }
  .logo { min-width: 0; }
  .vrv-corps { grid-template-columns: 1fr; gap: 50px; }
  .vrv-schema { margin-top: -160px; }
  .vrv-texte { padding-top: 0; }
  .equipe { grid-template-columns: 1fr 1fr; }
  .equipe-texte { grid-column: 1 / -1; padding-right: 0; margin-bottom: 30px; max-width: 640px; }
  .etapes { grid-template-columns: repeat(2, 1fr); }
  .etapes li:nth-child(3) { border-left: 0; padding-left: 0; }
}

@media (max-width: 900px) {
  :root { --barre: 64px; }
  body { padding-left: 0; }
  .rail, .hero-pointilles { display: none; }
  .entete { padding-right: 20px; }
  .logo { padding-left: 20px; }
  .entete-bouton { margin-left: auto; }
  .burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    width: 38px;
    height: 38px;
    margin-left: 10px;
    padding: 0 9px;
    background: none;
    border: 1px solid #444;
    cursor: pointer;
  }
  .burger span { display: block; height: 1px; background: var(--blanc); }
  .menu {
    position: fixed;
    top: var(--barre);
    left: 0;
    right: 0;
    margin: 0;
    padding: 20px 20px 30px;
    background: var(--noir);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    display: none;
  }
  .entete.ouvert .menu { display: flex; }
  .menu > a, .menu-deroulant > a { padding: 14px 0; }
  .sous-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; padding: 0 0 6px; }
  .sous-menu a { padding: 8px 0 8px 16px; }

  .hero-texte { left: 0; right: 0; transform: translateY(-40%); padding: 0 20px; }
  .metier { padding: 100px 20px 90px; }
  .metier-faits { grid-template-columns: 1fr 1fr; margin-top: 60px; }
  .metier-faits li { padding: 26px 12px; }
  .metier-faits li:nth-child(3) { border-left: 0; }
  .services { grid-template-columns: 1fr; }
  .panneau { height: 520px; min-height: 0; }
  .panneau-texte { left: 24px; right: 24px; bottom: 36px; }
  .vrv-bandeau { min-height: 460px; height: 70vh; }
  .vrv-titre h2 { font-size: 13vw; white-space: nowrap; }
  .vrv-corps { padding: 0 16px 90px; }
  .zone { grid-template-columns: 1fr; gap: 50px; padding: 90px 20px; }
  .fond-fixe { background-attachment: scroll; }
  .vrv-schema { margin-top: -110px; padding: 26px 14px 20px; }
  .vrv-cibles { grid-template-columns: 1fr; }
  .equipe { padding: 90px 16px 100px; gap: 12px; }
  .equipe-photo { height: 380px; }
  .equipe-photo-b { margin-top: 60px; }
  .methode { padding: 100px 20px; }
  .etapes { grid-template-columns: 1fr; }
  .etapes li, .etapes li:nth-child(3) { border-left: 0; padding: 30px 0; border-bottom: 1px solid var(--filet); }
  .realisations { padding: 100px 16px; }
  .mosaique { grid-template-columns: 1fr; grid-template-rows: none; }
  .tuile, .tuile-grande, .tuile:nth-child(4) { grid-row: auto; grid-column: auto; height: 280px; }
  .appel { grid-template-columns: 1fr; padding: 80px 20px; gap: 30px; }
  .appel-droite { padding-left: 0; border-left: 0; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.35); }
  .pied { padding: 80px 20px 0; }
  .pied-grille { grid-template-columns: 1fr 1fr; }
  .pied-marque { grid-column: 1 / -1; }
  .pied-bas { flex-direction: column; gap: 6px; }
}

@media (max-width: 480px) {
  .entete-bouton { display: none; }
  .burger { margin-left: auto; }
  .logo-texte b { font-size: 12px; }
  .hero-sous { letter-spacing: .4em; padding-left: .4em; }
  .pied-grille { grid-template-columns: 1fr; }
}

/* =========================================================
   PAGES INTERNES
   ========================================================= */

/* ---------- Bandeau de page : même registre que l'accueil, plus court ---------- */
.page-hero {
  position: relative;
  height: 68vh;
  min-height: 480px;
  overflow: hidden;
  background: var(--noir);
  color: var(--blanc);
}
.page-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.7) brightness(.5);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,0) 45%, rgba(0,0,0,.45) 100%);
}
.page-hero-texte {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  top: 54%;
  transform: translateY(-50%);
  padding: 0 8vw;
  text-align: center;
}
.fil {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 26px;
}
.fil a:hover { color: var(--blanc); }
.fil span { margin: 0 10px; color: var(--vert-clair); }
.page-hero h1 {
  font-size: clamp(34px, 4.6vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.page-hero .hero-sous { font-size: clamp(12px, 1.2vw, 16px); }
.page-hero > img.cadre-bas { object-position: center 88%; }
.page-hero-ligne {
  width: 40px;
  height: 2px;
  margin: 30px auto 0;
  background: var(--vert);
}

/* ---------- Introduction : titre fort à gauche, texte à droite ---------- */
.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: start;
  padding: 130px 8vw 120px;
}
.intro h2 {
  font-size: clamp(30px, 3.4vw, 52px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.intro-texte p { color: #4a4a4a; }
.intro-texte p + p { margin-top: 18px; }
.intro-texte .bouton { margin-top: 36px; }

/* ---------- Cartes numérotées sur fond blanc, à filets ---------- */
.cartes { padding: 0 8vw 130px; }
.cartes-tete { text-align: center; margin-bottom: 64px; }
.cartes-tete h2 {
  font-size: clamp(26px, 2.6vw, 40px);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.cartes-grille {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--noir);
}
.cartes-grille.trois { grid-template-columns: repeat(3, 1fr); }
.cartes-grille li {
  padding: 40px 32px 34px;
  border-left: 1px solid var(--gris-clair);
}
.cartes-grille li:first-child { border-left: 0; padding-left: 0; }
.cartes-grille span {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--vert);
  margin-bottom: 24px;
}
.cartes-grille h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.cartes-grille p { font-size: 14px; color: #555; }

/* ---------- VRV seul (page professionnelle) : schéma sans bandeau ---------- */
.vrv-seul { padding-top: 130px; }
.vrv-seul .vrv-schema { margin-top: 0; }
.vrv-seul .vrv-texte { padding-top: 10px; }
.vrv-seul .vrv-texte .bouton { display: none; }

/* ---------- Duo : photo débordante + bloc noir en chevauchement ---------- */
.duo-haut { padding-top: 0; }
.duo {
  display: grid;
  grid-template-columns: 60% 1fr;
  align-items: start;
  padding: 0 0 140px;
}
.duo-photo { margin: 0; height: 620px; }
.duo-photo img { width: 100%; height: 100%; object-fit: cover; }
.duo-bloc {
  position: relative;
  z-index: 2;
  margin: 150px 8vw 0 -160px;
  padding: 60px 56px;
  background: var(--noir);
  color: var(--blanc);
}
.duo-inverse { grid-template-columns: 1fr 60%; }
.duo-inverse .duo-photo { order: 2; }
.duo-inverse .duo-bloc { order: 1; margin: 150px -160px 0 8vw; }
.duo-bloc h2 {
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.duo-bloc > p:not(.surtitre) { margin-top: 22px; font-size: 14px; color: rgba(255,255,255,.72); }
.liste {
  list-style: none;
  margin: 28px 0 36px;
  padding: 0;
  border-top: 1px solid var(--filet);
}
.liste li {
  position: relative;
  padding: 13px 0 13px 28px;
  border-bottom: 1px solid var(--filet);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.liste li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 1px;
  background: var(--vert);
}
.duo-bloc .liste:last-child { margin-bottom: 0; }

/* ---------- Bande noire : dépannage ---------- */
.depannage {
  background: var(--noir);
  color: var(--blanc);
  padding: 100px 8vw;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
}
.depannage h2 {
  font-size: clamp(30px, 3.6vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
}
.depannage p:not(.surtitre) { margin-top: 22px; max-width: 520px; color: rgba(255,255,255,.7); font-size: 14px; }
.depannage-tel {
  display: block;
  padding: 34px 0 34px 50px;
  border-left: 1px solid var(--filet);
}
.depannage-tel small {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--vert-clair);
  margin-bottom: 10px;
}
.depannage-tel b { font-size: clamp(28px, 2.8vw, 44px); font-weight: 800; letter-spacing: .04em; }
.depannage-clair { background: var(--blanc); color: var(--encre); border-top: 1px solid var(--gris-clair); }
.depannage-clair p:not(.surtitre) { color: #4a4a4a; }
.depannage-clair .depannage-tel { border-left-color: var(--gris-clair); }
.depannage-clair .depannage-tel small { color: var(--vert); }

/* ---------- Liste de contrôle (entretien) ---------- */
.controle { padding: 130px 8vw; }
.controle-grille {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 90px;
  align-items: start;
}
.controle h2 {
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 800;
  line-height: 1.08;
  text-transform: uppercase;
}
.controle-grille > div > p:not(.surtitre) { margin-top: 24px; color: #4a4a4a; }
.coches {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  border-top: 1px solid var(--noir);
}
.coches li {
  position: relative;
  padding: 18px 0 18px 34px;
  border-bottom: 1px solid var(--gris-clair);
  font-size: 14px;
}
.coches li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 22px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--vert);
  border-bottom: 2px solid var(--vert);
  transform: rotate(-45deg);
}

/* ---------- Formules (contrats) ---------- */
.formules { padding: 0 8vw 140px; }
.formules-grille {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--gris-clair);
  border: 1px solid var(--gris-clair);
}
.formule { background: var(--blanc); padding: 56px 50px; }
.formule-noire { background: var(--noir); color: var(--blanc); }
.formule h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--vert);
}
.formule-noire h3 { color: var(--vert-clair); }
.formule h4 {
  margin-top: 16px;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}
.formule p { margin-top: 18px; font-size: 14px; color: #555; }
.formule-noire p { color: rgba(255,255,255,.7); }
.formule .liste { border-top-color: var(--gris-clair); }
.formule .liste li { border-bottom-color: var(--gris-clair); }
.formule-noire .liste, .formule-noire .liste li { border-color: var(--filet); }

/* ---------- Secteurs (professionnels) ---------- */
.secteurs {
  padding: 130px 8vw;
  border-top: 1px solid var(--gris-clair);
}
.secteurs-tete { text-align: center; margin-bottom: 70px; }
.secteurs-tete h2 {
  font-size: clamp(26px, 2.6vw, 40px);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.secteurs-grille {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gris-clair);
  border: 1px solid var(--gris-clair);
}
.secteur { background: var(--blanc); padding: 44px 32px 40px; }
.secteur span { display: block; font-size: 40px; font-weight: 800; line-height: 1; color: var(--vert); margin-bottom: 26px; }
.secteur h3 { font-size: 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 12px; }
.secteur p { font-size: 14px; color: #555; }

/* ---------- Questions fréquentes ---------- */
.faq { padding: 130px 8vw; display: grid; grid-template-columns: 1fr 1.6fr; gap: 90px; align-items: start; }
.faq h2 {
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 800;
  line-height: 1.08;
  text-transform: uppercase;
}
.faq-liste { border-top: 1px solid var(--noir); }
.faq details { border-bottom: 1px solid var(--gris-clair); }
.faq summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 24px 50px 24px 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--vert);
}
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding: 0 50px 26px 0; color: #4a4a4a; font-size: 14px; }

/* ---------- Réalisations : filtres + galerie ---------- */
.galerie-zone { padding: 120px 6vw 130px; }
.filtres {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 56px;
}
.filtre {
  padding: 13px 24px;
  background: none;
  border: 1px solid var(--gris-clair);
  font: 700 11px var(--police);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--encre);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.filtre:hover { border-color: var(--noir); }
.filtre.actif { background: var(--noir); border-color: var(--noir); color: var(--blanc); }
.galerie {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 340px;
  grid-auto-flow: dense;
  gap: 8px;
}
.galerie .tuile.large { grid-column: span 2; }
.galerie .tuile.est-masque { display: none; }

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  align-items: stretch;
}
.coordonnees {
  background: var(--noir);
  color: var(--blanc);
  padding: 110px 8vw;
}
.coordonnees h2 {
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 800;
  line-height: 1.08;
  text-transform: uppercase;
}
.coordonnees > p:not(.surtitre) { margin-top: 24px; color: rgba(255,255,255,.7); font-size: 14px; }
.coord-liste { list-style: none; margin: 46px 0 0; padding: 0; border-top: 1px solid var(--filet); }
.coord-liste li { padding: 22px 0; border-bottom: 1px solid var(--filet); }
.coord-liste small {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--vert-clair);
  margin-bottom: 6px;
}
.coord-liste a, .coord-liste b { font-size: 18px; font-weight: 700; letter-spacing: .02em; }
.coord-liste a:hover { color: var(--vert-clair); }
.formulaire { padding: 110px 8vw 110px 6vw; }
.formulaire h2 {
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 40px;
}
.champs { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; }
.champ { display: flex; flex-direction: column; gap: 8px; }
.champ-large { grid-column: 1 / -1; }
.champ label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.champ input, .champ select, .champ textarea {
  width: 100%;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid #bdbdbd;
  border-radius: 0;
  background: transparent;
  font: 400 15px var(--police);
  color: var(--encre);
  outline: none;
  transition: border-color .2s;
}
.champ select {
  appearance: none;
  cursor: pointer;
  padding-right: 30px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%234a7c59' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 4px center / 16px;
}
.champ textarea { resize: vertical; min-height: 130px; }
.champ input:focus, .champ select:focus, .champ textarea:focus { border-bottom-color: var(--vert); }
.formulaire .bouton { margin-top: 40px; border: 0; cursor: pointer; font-family: var(--police); }
.formulaire-note { margin-top: 18px; font-size: 12px; color: var(--gris); }
.formulaire-merci { margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--vert); }

@media (max-width: 1100px) {
  .cartes-grille, .secteurs-grille { grid-template-columns: repeat(2, 1fr); }
  .cartes-grille li:nth-child(3) { border-left: 0; padding-left: 0; }
  .cartes-grille li { border-bottom: 1px solid var(--gris-clair); }
  .duo, .duo-inverse { grid-template-columns: 1fr; }
  .duo-inverse .duo-photo { order: 0; }
  .duo-bloc, .duo-inverse .duo-bloc { margin: -120px 6vw 0; }
  .duo-photo { height: 460px; }
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .page-hero { height: 60vh; min-height: 420px; }
  .page-hero-texte { padding: 0 20px; }
  .intro, .controle-grille, .faq { grid-template-columns: 1fr; gap: 36px; }
  .intro { padding: 90px 20px 80px; }
  .cartes { padding: 0 20px 90px; }
  .cartes-grille, .cartes-grille.trois, .secteurs-grille { grid-template-columns: 1fr; }
  .cartes-grille li, .cartes-grille li:nth-child(3) { border-left: 0; padding: 30px 0; }
  .duo { padding-bottom: 90px; }
  .duo-haut { padding-top: 0; }
  .vrv-seul { padding-top: 90px; }
  .duo-photo { height: 320px; }
  .duo-bloc, .duo-inverse .duo-bloc { margin: -70px 16px 0; padding: 40px 24px; }
  .depannage { grid-template-columns: 1fr; padding: 80px 20px; gap: 30px; }
  .depannage-tel { padding: 30px 0 0; border-left: 0; border-top: 1px solid var(--filet); }
  .controle, .faq { padding: 90px 20px; }
  .coches { grid-template-columns: 1fr; }
  .formules { padding: 0 20px 90px; }
  .formules-grille { grid-template-columns: 1fr; }
  .formule { padding: 40px 26px; }
  .secteurs { padding: 90px 20px; }
  .galerie-zone { padding: 80px 16px 90px; }
  .galerie { grid-template-columns: 1fr; grid-auto-rows: 280px; }
  .galerie .tuile.large { grid-column: auto; }
  .coordonnees { padding: 80px 20px; }
  .formulaire { padding: 70px 20px 90px; }
  .champs { grid-template-columns: 1fr; }
}

/* =========================================================
   Pied de page : liens légaux
   ========================================================= */
.pied-bas { align-items: center; gap: 20px; flex-wrap: wrap; }
.pied-legal { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.pied-legal a { color: var(--gris); transition: color .2s; }
.pied-legal a:hover, .pied-legal a.actif { color: var(--blanc); }

/* =========================================================
   Pages légales : bandeau court, sommaire fixe + texte
   ========================================================= */
.page-hero.court { height: 46vh; min-height: 360px; }
.legal {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 90px;
  align-items: start;
  padding: 110px 8vw 130px;
}
.legal-sommaire {
  position: sticky;
  top: calc(var(--barre) + 40px);
  border-top: 1px solid var(--noir);
}
.legal-sommaire p {
  padding: 18px 0 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gris);
}
.legal-sommaire a {
  display: block;
  padding: 9px 0;
  border-bottom: 1px solid var(--gris-clair);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  transition: color .2s;
}
.legal-sommaire a:hover { color: var(--vert); }
.legal-texte { max-width: 760px; min-width: 0; }
.legal-tableau td:first-child { overflow-wrap: anywhere; font-family: Consolas, monospace; font-size: 13px; }
.legal-maj {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gris);
  margin-bottom: 26px;
}
.legal-chapo { font-size: 17px; line-height: 1.7; color: var(--encre); }
.legal-texte h2 {
  scroll-margin-top: calc(var(--barre) + 30px);
  margin-top: 64px;
  padding-top: 26px;
  border-top: 1px solid var(--gris-clair);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.legal-texte h2 span { color: var(--vert); margin-right: 14px; }
.legal-texte p, .legal-texte li { font-size: 15px; color: #3d3d3d; }
.legal-texte p { margin-top: 16px; }
.legal-texte ul { margin: 14px 0 0; padding-left: 20px; }
.legal-texte li { margin-top: 6px; }
.legal-texte li::marker { color: var(--vert); }
.legal-texte a { color: var(--vert); text-decoration: underline; text-underline-offset: 3px; }
.legal-texte strong { color: var(--encre); }
.legal-tableau { width: 100%; margin-top: 20px; border-collapse: collapse; font-size: 14px; }
.legal-tableau th, .legal-tableau td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--gris-clair); text-align: left; vertical-align: top; }
.legal-tableau th { font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gris); border-bottom-color: var(--noir); }
.legal-tableau-cadre { overflow-x: auto; }
.a-completer { background: #fff3c4; padding: 1px 5px; font-weight: 600; color: #6b5300; }

@media (max-width: 900px) {
  .pied-bas { flex-direction: column; align-items: flex-start; }
  .legal { grid-template-columns: 1fr; gap: 40px; padding: 70px 20px 90px; }
  .legal-sommaire { position: static; }
}


/* =========================================================================
   ADAPTATIONS GUTENBERG
   Le CSS ci-dessus est celui de la maquette. Ce qui suit l'adapte au balisage
   des blocs natifs : les images sont dans des figure.wp-block-image, les
   conteneurs sont des div.wp-block-group, les menus viennent de core/navigation.
   Le CSS d'un bloc étant imprimé APRÈS cette feuille, chaque surcharge d'un
   style de bloc est écrite PLUS SPÉCIFIQUE (figure.x img, .wp-block-button.x …).
   ========================================================================= */

/* ---------- Socle ---------- */
img { height: auto; }
figure.wp-block-image { margin: 0; }
:where(.wp-block-group) > :where(*), :where(.wp-block-buttons) { margin-block: 0; }
.wp-site-blocks { padding: 0; }
.texte-masque {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
mark.has-inline-color { padding: 0; }
.has-vert-color { color: var(--vert) !important; }
.has-vert-clair-color { color: var(--vert-clair) !important; }
:where(a, button, input, select, textarea, [tabindex]):focus-visible { outline: 2px solid var(--vert); outline-offset: 3px; }

/* Barre d'administration WordPress : l'en-tête fixe descend d'autant. */
.admin-bar .entete { top: 32px; }
.admin-bar .rail { top: calc(var(--barre) + 32px); }
@media (max-width: 782px) { .admin-bar .entete { top: 46px; } }

/* ---------- Icônes : masques CSS sur des liens texte (le texte reste lu) ---------- */
.icone a {
  display: block;
  width: 15px;
  height: 15px;
  font-size: 0;
  color: transparent;
}
.icone a::before {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  background: var(--blanc);
  -webkit-mask: center / contain no-repeat;
  mask: center / contain no-repeat;
  transition: background .2s;
}
.icone a:hover::before { background: var(--vert-clair); }
.icone-tel a::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1l-2.3 2.2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1l-2.3 2.2z'/%3E%3C/svg%3E"); }
.icone-mail a::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18v14H3V5zm2 2v.5l7 4.5 7-4.5V7H5zm14 2.8-7 4.5-7-4.5V17h14V9.8z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18v14H3V5zm2 2v.5l7 4.5 7-4.5V7H5zm14 2.8-7 4.5-7-4.5V17h14V9.8z'/%3E%3C/svg%3E"); }
.icone-lieu a::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.3 7 13 7 13s7-7.7 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.3 7 13 7 13s7-7.7 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E"); }
.icone-chevron a::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }

/* ---------- Barre latérale ---------- */
.rail-haut {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 46px;
  padding: 70px 0;
  border-top: 1px solid var(--filet);
  border-bottom: 1px solid var(--filet);
}
.rail-haut .rail-label { margin-top: 0; }
.rail-icones .icone a { margin: 0; }

/* ---------- En-tête et logo ---------- */
.logo {
  position: relative;
  display: grid;
  grid-template-columns: 58px auto;
  grid-template-rows: 18px 18px;
  height: 36px;
  column-gap: 14px;
  align-items: center;
  align-content: center;
  line-height: 1;
}
.logo::before {
  content: "";
  grid-row: 1 / span 2;
  width: 58px;
  height: 36px;
  background: url("assets/img/logo-marque.svg") center / contain no-repeat;
}
.logo-nom { grid-column: 2; font-size: 14px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--blanc); line-height: 1; align-self: end; }
.logo-nom a { color: inherit; }
.logo-nom a::after { content: ""; position: absolute; inset: 0; }
.logo-sous { grid-column: 2; margin-top: 6px; font-size: 8px; font-weight: 500; letter-spacing: .52em; text-transform: uppercase; color: var(--gris); line-height: 1; align-self: start; }
.pied .logo { display: grid; }

/* Menu : core/navigation */
.entete .wp-block-navigation.menu { display: flex; margin-left: 30px; gap: 0; font-size: 11px; }
.entete .wp-block-navigation.menu .wp-block-navigation__container { gap: 40px; align-items: center; }
.entete .wp-block-navigation.menu .wp-block-navigation-item__content {
  position: relative;
  display: block;
  padding: 26px 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.75;
  text-transform: uppercase;
  color: var(--blanc);
}
.entete .wp-block-navigation.menu .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 18px;
  width: 0;
  height: 1px;
  background: var(--vert);
  transition: width .25s;
}
.entete .wp-block-navigation.menu .wp-block-navigation__container > .wp-block-navigation-item:hover > .wp-block-navigation-item__content::after { width: 100%; }
.entete .wp-block-navigation.menu .wp-block-navigation__container > .current-menu-item > .wp-block-navigation-item__content::after,
.entete .wp-block-navigation.menu .wp-block-navigation__container > .current-menu-ancestor > .wp-block-navigation-item__content::after { width: 100%; background: var(--blanc); }
.entete .wp-block-navigation.menu .wp-block-navigation__submenu-icon { display: none; }
.entete .wp-block-navigation.menu .wp-block-navigation__submenu-container {
  top: 100%;
  left: -26px;
  min-width: 270px;
  padding: 14px 0;
  background: var(--noir);
  color: var(--gris);
  border: 0;
  border-top: 1px solid var(--filet);
}
.entete .wp-block-navigation.menu .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  padding: 10px 26px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--gris);
}
.entete .wp-block-navigation.menu .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.entete .wp-block-navigation.menu .wp-block-navigation__submenu-container .current-menu-item > .wp-block-navigation-item__content { color: var(--blanc); }

/* Bouton carré du téléphone */
.entete-bouton.icone { margin-left: auto; width: 38px; height: 38px; border: 1px solid #444; display: grid; place-items: center; transition: border-color .2s, background .2s; }
.entete-bouton.icone a { width: 14px; height: 14px; }
.entete-bouton.icone a::before { width: 14px; height: 14px; }
.entete-bouton.icone a::after { content: ""; position: absolute; inset: 0; }
.entete-bouton.icone { position: relative; }
.entete-bouton.icone:hover { border-color: var(--vert); background: var(--vert); }
.entete-bouton.icone:hover a::before { background: var(--blanc); }

/* ---------- Photos de fond : figure + img au lieu d'une img nue ---------- */
figure.hero-photo, figure.page-hero-photo, figure.panneau-photo, figure.vrv-bandeau-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  filter: none;
}
figure.hero-photo img, figure.page-hero-photo img, figure.panneau-photo img, figure.vrv-bandeau-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
figure.hero-photo img { object-position: center 40%; filter: saturate(.75) brightness(.62); }
figure.page-hero-photo img { filter: saturate(.7) brightness(.5); }
figure.page-hero-photo.cadre-bas img { object-position: center 88%; }
figure.vrv-bandeau-photo img { object-position: center 60%; filter: saturate(.55) brightness(.5); }
figure.panneau-photo img { filter: grayscale(.35) brightness(.55); transition: transform .8s ease, filter .6s; }
.panneau:hover figure.panneau-photo img { transform: scale(1.04); filter: grayscale(0) brightness(.62); }

/* ---------- Accueil plein écran ---------- */
.hero::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: 38px;
  top: 0;
  bottom: 0;
  border-left: 1px dashed rgba(255,255,255,.35);
}
.hero-texte .hero-ligne { margin-top: 34px; }
.hero-suite.icone { position: absolute; z-index: 3; left: 50%; bottom: 34px; width: 38px; height: 38px; margin-left: -19px; display: grid; place-items: center; }
.hero-suite.icone a, .hero-suite.icone a::before { width: 18px; height: 18px; }
.hero-suite.icone a::before { animation: flotte 2.2s ease-in-out infinite; }

/* ---------- Fond fixe : image de la médiathèque, immobile, découpée par la section ---------- */
.fond-fixe {
  position: relative;
  isolation: isolate;
  clip-path: inset(0);
  background: var(--blanc);
}
.fond-fixe::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255,255,255,.8);
}
figure.fond-fixe-photo {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100vh;
  margin: 0;
}
figure.fond-fixe-photo img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }

/* ---------- Métier ---------- */
.metier-faits li { font-size: 14px; color: var(--gris); }
.metier-faits li strong { display: block; font-size: 12px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--encre); }

/* ---------- Panneaux de services ---------- */
.panneau .panneau-num { margin-top: 0; max-width: none; font-size: 60px; font-weight: 800; line-height: 1; color: var(--vert); margin-bottom: 26px; }
.panneau .panneau-lien { display: inline-block; margin-top: 28px; padding-bottom: 6px; max-width: none; font-size: 11px; font-weight: 700; line-height: 1.75; letter-spacing: .26em; text-transform: uppercase; color: var(--blanc); border-bottom: 1px solid var(--vert); }
.panneau .panneau-lien a::after { content: ""; position: absolute; inset: 0; z-index: 4; }
.panneau-texte { z-index: 2; }

/* ---------- Zone d'intervention ---------- */
.zone-bandes li { font-size: 13px; color: var(--gris); }
.zone-bandes li strong { font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--encre); }
.zone-carte {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  aspect-ratio: 420 / 440;
  background: url("assets/img/carte-alpes-maritimes.svg") center / contain no-repeat;
}

/* ---------- VRV / VRF ---------- */
.vrv-titre h2 mark { color: var(--vert); }
.vrv-schema { position: relative; }
/* WordPress annule la marge haute du premier enfant de chaque groupe
   (:root :where(.is-layout-flow) > :first-child, spécificité 0,2,0) :
   le chevauchement du schéma doit être écrit plus spécifique. */
.vrv-corps > .vrv-schema { margin-top: -190px; }
.vrv-seul .vrv-corps > .vrv-schema { margin-top: 0; }
.vrv-schema::before {
  content: "";
  display: block;
  width: 100%;
  aspect-ratio: 520 / 430;
  background: url("assets/img/schema-vrv.svg") center / contain no-repeat;
}
.vrv-texte > p { margin-top: 24px; }
.vrv-atouts li strong { font-size: 11px; font-weight: 700; color: var(--vert-clair); letter-spacing: .1em; }
.vrv-cibles { list-style: none; padding: 0; }
.vrv-cibles li {
  padding: 16px 18px;
  border-right: 1px solid var(--filet);
  border-bottom: 1px solid var(--filet);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gris);
}

/* ---------- Boutons : core/button ---------- */
.wp-block-buttons { display: flex; flex-wrap: wrap; }
.wp-block-button.bouton-vert, .wp-block-button.bouton-noir { display: inline-block; background: none; padding: 0; }
.wp-block-button.bouton-vert .wp-block-button__link, .wp-block-button.bouton-noir .wp-block-button__link {
  display: inline-block;
  padding: 17px 34px;
  border-radius: 0;
  font-family: var(--police);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.wp-block-button.bouton-vert .wp-block-button__link { background: var(--vert); color: var(--blanc); }
.wp-block-button.bouton-vert .wp-block-button__link:hover { background: var(--blanc); color: var(--noir); }
.wp-block-button.bouton-noir .wp-block-button__link { background: var(--noir); color: var(--blanc); }
.wp-block-button.bouton-noir .wp-block-button__link:hover { background: var(--blanc); color: var(--noir); }
.formule .wp-block-button.bouton-vert .wp-block-button__link:hover { background: var(--noir); color: var(--blanc); }
.formule-noire .wp-block-button.bouton-vert .wp-block-button__link:hover { background: var(--blanc); color: var(--noir); }

/* ---------- Méthode : étapes en groupes ---------- */
.etapes { list-style: none; }
.etape { padding: 44px 34px 10px; border-left: 1px solid var(--filet); }
.etape:first-child { border-left: 0; padding-left: 0; }
.etape .etape-num { display: block; font-size: 13px; font-weight: 700; letter-spacing: .2em; color: var(--vert-clair); margin-bottom: 26px; }
.etape h3 { font-size: 15px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.etape p:not(.etape-num) { font-size: 14px; color: rgba(255,255,255,.62); }

/* ---------- Équipe ---------- */
figure.equipe-photo { margin: 0; height: 600px; overflow: hidden; background: var(--noir); }
figure.equipe-photo img { width: 100%; height: 100%; object-fit: cover; }
figure.equipe-photo-a img { object-position: center 38%; }
figure.equipe-photo-b { margin-top: 140px; }
figure.equipe-photo-b img { object-position: center 42%; }

/* ---------- Tuiles (mosaïque + galerie) : légende de l'image ---------- */
figure.tuile { position: relative; margin: 0; overflow: hidden; background: var(--noir); }
figure.tuile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
figure.tuile:hover img { transform: scale(1.04); }
figure.tuile figcaption.wp-element-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  margin: 0;
  padding: 18px 24px;
  background: var(--noir);
  color: var(--vert-clair);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .06em;
  text-align: left;
}
figure.tuile figcaption.wp-element-caption strong { display: block; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--blanc); }
.lien-fleche { display: inline-block; }
.lien-fleche a { color: inherit; }

/* ---------- Appel ---------- */
.appel-droite .wp-block-buttons { margin-top: 0; }

/* ---------- Pied de page ---------- */
.pied-col p, .pied-col p a { color: var(--gris); transition: color .2s; }
.pied-col p a:hover { color: var(--vert-clair); }
.pied-col.pied-marque .pied-texte { font-size: 14px; color: var(--gris); max-width: 320px; }
.pied-bas p { margin: 0; }
.pied-legal { display: flex; flex-wrap: wrap; gap: 8px 28px; }

/* ---------- Bandeaux de page ---------- */
.page-hero::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: 38px;
  top: 0;
  bottom: 0;
  border-left: 1px dashed rgba(255,255,255,.35);
}
.fil a { color: inherit; }

/* ---------- Composants des pages internes en groupes ---------- */
.intro-texte .wp-block-buttons { margin-top: 36px; }
.carte { padding: 40px 32px 34px; border-left: 1px solid var(--gris-clair); }
.carte:first-child { border-left: 0; padding-left: 0; }
.carte .carte-num { font-size: 13px; font-weight: 700; letter-spacing: .2em; color: var(--vert); margin-bottom: 24px; }
.carte h3 { font-size: 15px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.carte p:not(.carte-num) { font-size: 14px; color: #555; }
figure.duo-photo { margin: 0; height: 620px; }
figure.duo-photo img { width: 100%; height: 100%; object-fit: cover; }
.depannage-tel { position: relative; }
.depannage-label { font-size: 10px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--vert-clair); margin-bottom: 10px; }
.depannage-clair .depannage-label { color: var(--vert); }
.depannage-numero { font-size: clamp(28px, 2.8vw, 44px); font-weight: 800; letter-spacing: .04em; line-height: 1.75; }
.depannage-numero a::after { content: ""; position: absolute; inset: 0; }
.depannage .depannage-tel p { margin-top: 0; max-width: none; color: inherit; }
.depannage .depannage-tel .depannage-label { color: var(--vert-clair); }
.depannage-clair .depannage-tel .depannage-label { color: var(--vert); }
.depannage-texte > p:not(.surtitre) { margin-top: 22px; max-width: 520px; font-size: 14px; color: rgba(255,255,255,.7); }
.depannage-clair .depannage-texte > p:not(.surtitre) { color: #4a4a4a; }
.formule .wp-block-buttons { margin-top: 0; }
.secteur .secteur-num { font-size: 40px; font-weight: 800; line-height: 1; color: var(--vert); margin-bottom: 26px; }
.secteur h3 { font-size: 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 12px; }
.secteur p:not(.secteur-num) { font-size: 14px; color: #555; }
.faq details.wp-block-details { border-bottom: 1px solid var(--gris-clair); }
.faq details.wp-block-details > p { padding: 0 50px 26px 0; color: #4a4a4a; font-size: 14px; }
.faq details.wp-block-details a { text-decoration: underline; }

/* Galerie : filtres en paragraphes (substitution n° 3) */
.filtres .filtre {
  padding: 13px 24px;
  border: 1px solid var(--gris-clair);
  font-size: 11px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--encre);
  cursor: pointer;
  user-select: none;
  transition: background .2s, color .2s, border-color .2s;
}
.filtres .filtre:hover { border-color: var(--noir); }
.filtres .filtre.est-actif { background: var(--noir); border-color: var(--noir); color: var(--blanc); }
.galerie figure.tuile { height: auto; }
.galerie figure.tuile.large { grid-column: span 2; }
.galerie figure.tuile.est-masque { display: none; }

/* Contact */
.coord-liste { margin: 46px 0 0; border-top: 1px solid var(--filet); }
.coord-item { padding: 22px 0; border-bottom: 1px solid var(--filet); }
.coord-label { font-size: 10px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--vert-clair); margin-bottom: 6px; }
.coord-valeur { font-size: 18px; font-weight: 700; letter-spacing: .02em; }
.coord-valeur a:hover { color: var(--vert-clair); }
.coordonnees > p:not(.surtitre) { margin-top: 24px; color: rgba(255,255,255,.7); font-size: 14px; }
.formulaire-note a { text-decoration: underline; }

/* Contact Form 7 : champs aux classes de la maquette */
.wpcf7 .wpcf7-form-control-wrap { display: block; }
.wpcf7 .champ input, .wpcf7 .champ select, .wpcf7 .champ textarea { display: block; }
.wpcf7 .champ textarea { height: auto; }
.wpcf7 form .wpcf7-submit.bouton { margin-top: 40px; border: 0; border-radius: 0; cursor: pointer; font-family: var(--police); }
.wpcf7 .bouton-vert:hover { background: var(--noir); color: var(--blanc); }
.wpcf7-spinner { display: none; }
.wpcf7-not-valid-tip { margin-top: 6px; font-size: 12px; color: #b3261e; }
.wpcf7 form .wpcf7-response-output { margin: 22px 0 0; padding: 14px 18px; border: 1px solid var(--vert); font-size: 14px; color: var(--encre); }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output { border-color: #b3261e; }

/* Pages légales */
.legal-sommaire p { margin: 0; }
.legal-sommaire .legal-sommaire-titre { padding: 18px 0 10px; font-size: 10px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--gris); }
.legal-sommaire p a { display: block; padding: 9px 0; border-bottom: 1px solid var(--gris-clair); font-size: 12px; font-weight: 600; letter-spacing: .06em; transition: color .2s; }
.legal-sommaire p a:hover { color: var(--vert); }
.legal-texte { counter-reset: section; }
.legal-texte h2 { counter-increment: section; }
.legal-texte h2::before { content: counter(section, decimal-leading-zero); color: var(--vert); margin-right: 14px; }
.legal-texte ul { margin: 14px 0 0; padding-left: 20px; }
.legal-texte mark { padding: 1px 5px; font-weight: 600; color: #6b5300; }
.legal-maj mark { text-transform: none; letter-spacing: .04em; }
figure.legal-tableau { margin: 20px 0 0; overflow-x: auto; }
figure.legal-tableau table { width: 100%; border-collapse: collapse; font-size: 14px; }
figure.legal-tableau th, figure.legal-tableau td { padding: 14px 16px 14px 0; border: 0; border-bottom: 1px solid var(--gris-clair); text-align: left; vertical-align: top; }
figure.legal-tableau th { font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gris); border-bottom-color: var(--noir); }
figure.legal-tableau td:first-child { overflow-wrap: anywhere; font-family: Consolas, monospace; font-size: 13px; }
figure.legal-tableau thead { border-bottom: 0; }

/* Pages simples (404, articles) */
.page-simple { padding: calc(var(--barre) + 120px) 8vw 140px; max-width: 900px; }
.page-simple h1 { font-size: clamp(32px, 4vw, 56px); font-weight: 800; line-height: 1.08; text-transform: uppercase; }
.page-simple p:not(.surtitre) { margin-top: 24px; color: #4a4a4a; }
.page-simple .wp-block-buttons { margin-top: 36px; }

/* =========================================================================
   Mobile : core/navigation remplace le burger de la maquette
   ========================================================================= */
@media (max-width: 1100px) {
  .vrv-corps > .vrv-schema { margin-top: -160px; }
  .vrv-seul .vrv-corps > .vrv-schema { margin-top: 0; }
  .etape:nth-child(3) { border-left: 0; padding-left: 0; }
  .entete .wp-block-navigation.menu .wp-block-navigation__container { gap: 26px; }
}
@media (max-width: 900px) {
  .entete .wp-block-navigation.menu {
    position: static;
    display: flex;
    margin: 0 0 0 auto;
    padding: 0;
    background: none;
    flex-direction: row;
  }
  .entete .wp-block-navigation.menu .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid #444;
    color: var(--blanc);
  }
  .entete .wp-block-navigation.menu .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none; }
  .entete .wp-block-navigation.menu .wp-block-navigation__responsive-container.is-menu-open {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 100000;
    padding: 90px 28px 40px;
    background-color: var(--noir) !important;
    color: var(--blanc) !important;
  }
  .entete .wp-block-navigation.menu .is-menu-open .wp-block-navigation__container { flex-direction: column; align-items: flex-start; gap: 0; }
  .entete .wp-block-navigation.menu .is-menu-open .wp-block-navigation-item__content { padding: 14px 0; font-size: 13px; }
  .entete .wp-block-navigation.menu .is-menu-open .wp-block-navigation__submenu-container { position: static; min-width: 0; padding: 0 0 6px 16px; border: 0; background: none; }
  .entete .wp-block-navigation.menu .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 8px 0; font-size: 11px; }
  .entete .wp-block-navigation.menu .wp-block-navigation__responsive-container-close { color: var(--blanc); }
  .entete-bouton.icone { margin-left: 10px; order: 2; }
  .entete .wp-block-navigation.menu { order: 3; margin-left: 10px; }
  .entete .logo { margin-right: auto; }
  .metier-faits li:nth-child(3) { border-left: 0; }
  .vrv-corps > .vrv-schema { margin-top: -110px; }
  .vrv-seul .vrv-corps > .vrv-schema { margin-top: 0; }
  .etape, .etape:nth-child(3) { border-left: 0; padding: 30px 0; border-bottom: 1px solid var(--filet); }
  figure.equipe-photo { height: 380px; }
  figure.equipe-photo-b { margin-top: 60px; }
  figure.tuile, .mosaique figure.tuile-grande, .mosaique figure.tuile:nth-child(4) { grid-row: auto; grid-column: auto; height: 280px; }
  .galerie figure.tuile.large { grid-column: auto; }
  .carte, .carte:nth-child(3) { border-left: 0; padding: 30px 0; border-bottom: 1px solid var(--gris-clair); }
  figure.duo-photo { height: 320px; }
  .page-simple { padding: calc(var(--barre) + 70px) 20px 90px; }
  .fond-fixe { background-attachment: scroll; }
}
@media (max-width: 1100px) and (min-width: 901px) {
  .carte:nth-child(3) { border-left: 0; padding-left: 0; }
  figure.duo-photo { height: 460px; }
}
@media (max-width: 480px) {
  .entete-bouton.icone { display: none; }
  .logo-nom { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- Ajustements issus de la porte 4 locale ---------- */
/* La marge haute du premier enfant est annulée par WordPress : on la rétablit. */
.legal-texte > .legal-maj { margin-top: 16px; }
/* Le titre « Sommaire » seul porte le style de surtitre de la maquette. */
.legal-sommaire p:not(.legal-sommaire-titre) { padding: 0; font-size: inherit; font-weight: inherit; letter-spacing: normal; text-transform: none; color: inherit; }
/* Contact Form 7 : la zone de message reste masquée tant qu'il n'y a rien à dire. */
.wpcf7 form.init .wpcf7-response-output,
.wpcf7 form.resetting .wpcf7-response-output,
.wpcf7 form.submitting .wpcf7-response-output { display: none; }
/* Dans .depannage, la règle de la maquette « .depannage p » (0,2,1) vise aussi le
   libellé et le numéro devenus paragraphes : on les qualifie davantage. */
.depannage .depannage-tel .depannage-label { font-size: 10px; line-height: 1.75; margin-bottom: 10px; }
.depannage .depannage-tel .depannage-numero { font-size: clamp(28px, 2.8vw, 44px); line-height: 1.75; }
/* Sans bouton, la grille des clients devient le dernier enfant : WordPress annule sa marge basse. */
.vrv-texte > .vrv-cibles { margin-bottom: 42px; }
/* Fil d'Ariane : la barre oblique prend la même place que le séparateur de la maquette. */
.fil mark { margin: 0 4px; }
/* La ligne pointillée des bandeaux disparaît sur mobile, comme dans la maquette. */
@media (max-width: 900px) { .hero::before, .page-hero::before { display: none; } }
