/* Gros Œuvre Garonne : style « Chantier brutaliste ». Béton clair, noir, jaune de chantier (--accent) TOUJOURS en aplat avec du texte noir dessus,
   jamais en texte sur fond clair. Angles droits partout (aucun arrondi), filets épais, ombres dures décalées sans flou, numéros de section énormes.
   Signature : un mur de blocs en SVG dont les rangées se posent une à une au défilement (voir site.js).
   Polices : --police-titre (Anton) et --police-texte (Barlow) viennent de donnees.json (css/polices.css). */
:root {
  --beton: #dcdad5;
  --beton-clair: #eceae5;
  --beton-fonce: #c9c6bf;
  --noir: #111111;
  --papier: #f2f0ea;
  --encre-douce: #36352f;
  --gris-sur-noir: #b4b1a8;
  --etiquette: 2rem;
  --haut-photo: min(70svh, 600px);
  --ombre: 5px 5px 0 var(--noir);
}
body {
  background: var(--beton);
  color: var(--noir);
  font-family: var(--police-texte);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
}
strong, b { font-weight: 700; }
h1, h2, h3 { font-family: var(--police-titre); font-weight: 400; text-transform: uppercase; line-height: 1; letter-spacing: .005em; margin: 0 0 .45em; }
h2 { font-size: clamp(3rem, 1rem + 7vw, 8rem); line-height: .98; letter-spacing: -.005em; }
h3 { font-size: clamp(1.5rem, 1.2rem + .6vw, 1.85rem); line-height: 1; letter-spacing: .02em; }
p { margin: 0 0 1em; }
a { color: inherit; }
.intro { font-size: 1.1875rem; color: var(--encre-douce); max-width: 56ch; }

.etiquette-demo { height: var(--etiquette); line-height: var(--etiquette); padding-block: 0; background: var(--accent); color: var(--noir); font-weight: 700; letter-spacing: .04em; border-bottom: 3px solid var(--noir); }

/* ---------- en-tête : barre noire, posée sur l'ouverture puis collée en haut ---------- */
.entete { position: fixed; top: var(--etiquette); left: 0; right: 0; z-index: 70; background: var(--noir); color: var(--papier); border-bottom: 4px solid var(--accent); }
html.defile .entete { top: 0; }
.entete-interieur { display: flex; align-items: center; justify-content: space-between; min-height: 4rem; gap: 1rem; }
.marque { display: inline-flex; align-items: center; gap: .6rem; min-height: 2.75rem; font-family: var(--police-titre); font-size: clamp(1.2rem, .9rem + 1.1vw, 1.55rem); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; text-decoration: none; line-height: 1; }
.marque-bloc { width: 1.7rem; height: auto; flex: none; fill: var(--accent); }
.menu ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.menu a { text-decoration: none; }
.menu li a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .875rem; }
.menu li a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.menu-telephone { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1.1rem; background: var(--accent); color: var(--noir); font-family: var(--police-titre); font-size: 1.3rem; letter-spacing: .05em; }
.menu-bouton { display: inline-flex; align-items: center; gap: .65rem; min-height: 2.75rem; padding: 0 .9rem; background: transparent; color: inherit; border: 3px solid currentColor; border-radius: 0; font: inherit; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .875rem; }
.menu-bouton-barres { width: 1.1rem; height: 3px; background: currentColor; position: relative; }
.menu-bouton-barres::before, .menu-bouton-barres::after { content: ""; position: absolute; left: 0; width: 100%; height: 3px; background: currentColor; }
.menu-bouton-barres::before { top: -7px; }
.menu-bouton-barres::after { top: 7px; }
@media (min-width: 900px) { .menu { display: flex; align-items: center; gap: 2rem; } }
@media (max-width: 899px) {
  .menu { position: absolute; top: 100%; left: 0; right: 0; padding: .75rem var(--gouttiere) 1.25rem; background: var(--noir); color: var(--papier); border-bottom: 4px solid var(--accent); }
  .menu ul { flex-direction: column; gap: 0; }
  .menu li a { display: flex; min-height: 3rem; border-bottom: 1px solid #3a3935; }
  .menu-telephone { display: flex; justify-content: center; min-height: 3.25rem; margin-top: 1rem; }
}

/* ---------- boutons : aplat jaune, texte noir, bordure épaisse, ombre dure ---------- */
.bouton { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: 0 1.7rem; background: var(--accent); color: var(--noir); border: 3px solid var(--noir); border-radius: 0; box-shadow: var(--ombre); font-family: var(--police-titre); font-weight: 400; font-size: 1.4rem; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: transform .12s, box-shadow .12s; }
.bouton:hover { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--noir); }
.bouton:active { transform: translate(5px, 5px); box-shadow: 0 0 0 var(--noir); }
.bouton-clair { background: var(--beton-clair); }
.actions { display: flex; flex-wrap: wrap; gap: 1.1rem 1.25rem; margin: 2rem 0 0; }

/* ---------- filet noir et jaune oblique ---------- */
.hachures { height: 22px; background: repeating-linear-gradient(-45deg, var(--noir) 0 14px, var(--accent) 14px 28px); border-block: 3px solid var(--noir); }

/* ---------- ouverture : béton banché sous un voile de béton, titre géant coupé net ---------- */
.ouverture { position: relative; min-height: calc(100svh - var(--etiquette)); display: flex; flex-direction: column; background: var(--beton); color: var(--noir); isolation: isolate; overflow: hidden; }
.ouverture-photo { position: absolute; inset: 0; z-index: -1; background: var(--beton); }
.ouverture-img { width: 100%; height: 100%; object-fit: cover; }
/* le voile fait partie du décor (photo et voile sont mesurés ensemble par le contrôle de contraste) */
.ouverture-photo::after { content: ""; position: absolute; inset: 0; background: rgba(220, 218, 213, .74); }
.ouverture-texte { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding-block: 7.5rem 2.5rem; }
.surtitre { display: flex; align-items: center; gap: .9rem; margin: 0 0 1rem; font-size: .875rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; line-height: 1.3; }
.surtitre-barre { flex: none; width: 3rem; height: 12px; background: var(--accent); border: 3px solid var(--noir); }
.ouverture h1 { font-size: 15vw; line-height: .9; letter-spacing: .003em; margin: 0 0 .22em; }
@media (min-width: 900px) { .ouverture h1 { font-size: min(11.5vw, 10rem); } }
.ligne { display: block; overflow: hidden; padding-block: .035em .06em; }
.ligne-texte { display: inline-block; }
.ligne:last-child .ligne-texte { background: var(--accent); padding: 0 .16em; }
.hero-bas { display: flex; flex-direction: column; align-items: flex-start; }
@media (min-width: 900px) { .hero-bas { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 3rem; width: 100%; } .hero-bas .actions { margin: 0; flex: none; } }
.chapo { font-size: clamp(1.0625rem, 1rem + .5vw, 1.3125rem); max-width: 54ch; color: var(--noir); font-weight: 700; margin: 0; }
.ouverture .hachures { margin-top: 0; }

/* ---------- sections : numéro énorme sur aplat jaune, titre géant ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.tete-section { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 900px) { .tete-section { flex-direction: row; align-items: flex-start; gap: 2.5rem; } }
.numero { margin: 0; padding: .02em .13em .0em; background: var(--accent); color: var(--noir); font-family: var(--police-titre); font-size: clamp(4.5rem, 2rem + 8vw, 9.5rem); line-height: .86; border: 4px solid var(--noir); box-shadow: 8px 8px 0 var(--noir); flex: none; }
.tete-texte { min-width: 0; }
.etiquette-section { margin: 0 0 .9rem; font-size: .875rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
.tete-texte h2 { margin-bottom: .3em; }

/* ---------- prestations ---------- */
.s-prestations { background: var(--beton); }
.presta-grille { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .presta-grille { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 3rem; align-items: stretch; } }
.presta-figure { margin: 0; display: flex; flex-direction: column; }
.presta-figure .revele { flex: 1; display: flex; min-height: 0; border: 4px solid var(--noir); background: var(--noir); }
.presta-photo { width: 100%; aspect-ratio: 4 / 3; max-height: var(--haut-photo); object-fit: cover; object-position: 55% 55%; }
@media (min-width: 900px) { .presta-photo { aspect-ratio: auto; height: 100%; max-height: 640px; } }
figcaption { margin-top: .9rem; padding-left: .9rem; border-left: 6px solid var(--accent); font-size: .9375rem; color: var(--encre-douce); font-weight: 700; }
.prestations-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 4px solid var(--noir); }
.prestation { display: grid; grid-template-columns: 3.75rem minmax(0, 1fr); column-gap: 1.1rem; padding-block: 1.05rem; border-bottom: 4px solid var(--noir); }
.prestation-num { grid-row: span 2; font-family: var(--police-titre); font-size: 3.4rem; line-height: .85; }
.prestation h3 { margin: 0 0 .3rem; }
.prestation p { margin: 0; color: var(--encre-douce); font-size: 1rem; line-height: 1.5; }
@media (min-width: 900px) { .prestation { padding-block: .8rem; } .prestation p { font-size: .96875rem; } }

/* ---------- matières ---------- */
.s-matieres { background: var(--beton-fonce); border-block: 4px solid var(--noir); }
.matieres { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.5rem 2rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .matieres { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
@media (min-width: 900px) { .matieres { gap: 2.5rem; } }
.matiere { display: flex; flex-direction: column; }
.matiere-photo { margin: 0; border: 4px solid var(--noir); background: var(--noir); box-shadow: 8px 8px 0 var(--noir); }
.matiere-photo img { width: 100%; aspect-ratio: 4 / 5; max-height: var(--haut-photo); object-fit: cover; }
@media (max-width: 599px) { .matiere-photo img { aspect-ratio: 4 / 3; } }
.matiere-texte { padding-top: 1.6rem; }
.matiere-texte h3 { font-size: clamp(1.9rem, 1.4rem + 1vw, 2.5rem); margin-bottom: .4rem; }
.matiere-texte p { margin: 0; color: var(--encre-douce); }

/* ---------- chantier : le mur (signature) ---------- */
.s-chantier { background: var(--noir); color: var(--papier); }
.s-chantier .intro { color: var(--gris-sur-noir); }
.s-chantier .numero { border-color: var(--papier); box-shadow: 8px 8px 0 var(--papier); }
.chantier-grille { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) { .chantier-grille { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 4rem; } }
.mur-colonne { position: sticky; top: 4.9rem; z-index: 5; background: var(--noir); padding-block: .5rem; }
@media (min-width: 900px) { .mur-colonne { top: 6.75rem; } }
.mur { display: block; width: 100%; height: auto; max-height: 36svh; overflow: hidden; }
@media (min-width: 900px) { .mur { max-height: none; } }
.mur-sol { fill: #262522; }
.mur-sol-filet { stroke: var(--accent); stroke-width: 8; }
.bloc { stroke: var(--noir); stroke-width: 4; }
.t0 { fill: #cfccc4; } .t1 { fill: #c0bdb5; } .t2 { fill: #dad7d0; } .t3 { fill: #b5b2aa; } .t4 { fill: #c8c5bd; }
.bloc-jaune { fill: var(--accent); }
.bloc-num { font-family: var(--police-titre); font-size: 40px; fill: var(--noir); }
.niveau-corps { fill: var(--accent); stroke: var(--noir); stroke-width: 4; }
.niveau-fiole { fill: #f6f2df; stroke: var(--noir); stroke-width: 3; }
.niveau-trait { stroke: var(--noir); stroke-width: 3; }
.niveau-bulle { fill: #fff3a8; stroke: var(--noir); stroke-width: 3; }
.mur-legende { margin: .35rem 0 0; font-size: .8125rem; font-weight: 700; letter-spacing: .06em; color: var(--gris-sur-noir); }
@media (max-width: 899px) { .mur-legende { display: none; } }
.etapes { list-style: none; margin: 0; padding: 0; counter-reset: etape; }
.etape { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 1rem; align-content: start; min-height: 46svh; padding-block: 1.75rem 1rem; border-top: 4px solid var(--papier); transition: color .3s, border-color .3s; }
.etape:last-child { min-height: 40svh; }
@media (min-width: 900px) { .etape { min-height: 54svh; grid-template-columns: 6rem minmax(0, 1fr); } .etape:last-child { min-height: 46svh; } }
.etape-num { font-family: var(--police-titre); font-size: 5.5rem; line-height: .85; color: var(--accent); transition: color .3s; }
.etape h3 { color: inherit; font-size: clamp(1.9rem, 1.4rem + 1.2vw, 2.6rem); margin-bottom: .5rem; }
.etape p { max-width: 44ch; margin: 0; color: var(--gris-sur-noir); }
.etape[data-attente] { color: #8d8a82; border-top-color: #4a4944; }
.etape[data-attente] .etape-num { color: #8d8a82; }
.etape[data-attente] p { color: #8d8a82; }

/* ---------- zone ---------- */
.s-zone { background: var(--beton); }
.zone-grille { display: grid; gap: 2.25rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .zone-grille { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 3.5rem; align-items: stretch; } }
.zone-liste { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.zone-liste li { padding: .5rem 1rem; background: var(--beton-clair); border: 3px solid var(--noir); font-weight: 700; letter-spacing: .02em; }
.zone-liste .zone-siege { background: var(--accent); }
.carte { margin: 1.75rem 0 0; max-width: 430px; }
.carte-svg { display: block; width: 100%; height: auto; overflow: visible; }
.carte-fleuve { fill: none; stroke: var(--noir); stroke-width: 16; stroke-linecap: butt; opacity: .22; }
.carte-lien { stroke: var(--noir); stroke-width: 3; stroke-dasharray: 2 8; opacity: .6; }
.carte-noeud rect { fill: var(--beton-clair); stroke: var(--noir); stroke-width: 4; }
.carte-siege rect { fill: var(--accent); }
.carte-noeud text { font-family: var(--police-texte); font-weight: 700; font-size: 19px; fill: var(--noir); }
.carte-siege text { font-size: 22px; }
.carte figcaption { font-size: .875rem; }
.zone-figure { margin: 0; display: flex; flex-direction: column; }
.zone-figure .revele { flex: 1; display: flex; min-height: 0; border: 4px solid var(--noir); background: var(--noir); box-shadow: 8px 8px 0 var(--noir); }
.zone-photo { width: 100%; aspect-ratio: 4 / 3; max-height: var(--haut-photo); object-fit: cover; object-position: 42% 50%; }
@media (min-width: 900px) { .zone-photo { aspect-ratio: auto; height: 100%; max-height: 600px; } }
.avis { margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: 1.25rem 1.5rem; border: 3px dashed var(--noir); font-weight: 700; text-align: center; background: var(--beton-clair); }

/* ---------- contact ---------- */
.s-contact { background: var(--noir); color: var(--papier); padding-block: 0 clamp(3.5rem, 8vw, 6rem); }
.bande-photo .revele { border-bottom: 0; background: var(--noir); }
.bande-img { width: 100%; aspect-ratio: 16 / 5; min-height: 7rem; max-height: var(--haut-photo); object-fit: cover; }
.s-contact .hachures { border-top: 0; }
.contact-corps { padding-top: clamp(3rem, 6vw, 5rem); }
.s-contact .numero { border-color: var(--papier); box-shadow: 8px 8px 0 var(--papier); }
.contact-interieur { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) { .contact-interieur { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 4rem; } }
.contact-ligne { margin: 0 0 1rem; }
.contact-tel { display: inline-flex; align-items: center; padding: .04em .3em; background: var(--accent); color: var(--noir); font-family: var(--police-titre); font-size: clamp(2.4rem, 1.5rem + 2.8vw, 3.6rem); line-height: 1.5; letter-spacing: .03em; text-decoration: none; }
address { font-style: normal; margin-bottom: 1.25rem; font-size: 1.125rem; }
.horaires { display: grid; grid-template-columns: auto 1fr; gap: .25rem 1.25rem; margin: 0; }
.horaires dt { font-weight: 700; }
.horaires dd { margin: 0; }
.formulaire { display: grid; gap: 1.1rem; padding: clamp(1.25rem, 3vw, 2rem); background: var(--beton); color: var(--noir); border: 4px solid var(--noir); box-shadow: 10px 10px 0 var(--accent); }
.champ label { display: block; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .875rem; margin-bottom: .4rem; }
.champ-requis { color: var(--noir); }
.champ input, .champ textarea { width: 100%; min-height: 3rem; padding: .7rem .9rem; background: #fff; color: var(--noir); border: 3px solid var(--noir); border-radius: 0; font: inherit; }
.champ textarea { min-height: 8rem; resize: vertical; }
.formulaire .bouton { justify-self: start; }
.formulaire-statut { margin: 0; padding: .9rem 1rem; background: var(--accent); color: var(--noir); border: 3px solid var(--noir); font-weight: 700; }

/* ---------- pied ---------- */
.pied { background: var(--noir); color: var(--papier); border-top: 4px solid var(--accent); }
.pied-interieur { padding-block: 2.5rem 1rem; }
.pied-nom { font-family: var(--police-titre); font-size: 2rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .5rem; }
.mention-pied { border-top: 1px solid #3a3935; color: var(--gris-sur-noir); }

/* ---------- barre d'appel (téléphone) ---------- */
.barre-appel a { background: var(--accent); color: var(--noir); font-weight: 700; font-size: 1.125rem; border-top: 4px solid var(--noir); letter-spacing: .04em; }
.barre-appel-numero { font-family: var(--police-titre); font-size: 1.4rem; letter-spacing: .05em; }

/* ---------- photos qui se découvrent de haut en bas (clip-path animé par site.js, jamais laissé en place) ---------- */
.revele { overflow: hidden; }
@media (max-width: 599px) { h2 { font-size: clamp(3rem, 15vw, 4.2rem); } }
