/* VBM Concept · feuille de styles
   Identité reprise du site VBM actuel : bordeaux, noir, blanc, fonds gris, Raleway pour les titres, Lato pour le texte. */

@font-face {
  font-family: "Raleway";
  src: url("fonts/raleway.woff2") format("woff2-variations"), url("fonts/raleway.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("fonts/lato-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("fonts/lato-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --noir: #000000;
  --bordeaux: #9b1c20;
  --bordeaux-fonce: #7c1518;
  --corail: #fc6e51;
  --gris-section: #f2f2f2;
  --gris-pied: #f0f0f0;
  --titre: #4d4d4d;
  --texte: #4d4d4d;
  --texte-2: #737373;
  --trait: #dcdcdc;
  --blanc: #ffffff;

  --titres: "Raleway", "Helvetica Neue", Arial, sans-serif;
  --corps: "Lato", "Helvetica Neue", Arial, sans-serif;

  --rayon: 4px;
  --large: 1200px;
  --gouttiere: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 116px);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--corps);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--texte);
  background: var(--blanc);
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--bordeaux); outline-offset: 3px; border-radius: 2px; }
.section-noire :focus-visible, .entete :focus-visible { outline-color: var(--corail); }

.saut {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--noir); color: var(--blanc); padding: 10px 16px; border-radius: var(--rayon);
}
.saut:focus { top: 12px; }

.cadre { width: 100%; max-width: var(--large); margin-inline: auto; padding-inline: var(--gouttiere); }

/* ---------- Titres ---------- */
h1, h2, h3 { margin: 0; color: var(--titre); font-family: var(--titres); font-variant-numeric: lining-nums; }
.entete-tel, .devis-coord .gros, .etapes li::before, .zone-carte svg { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
h1 {
  font-weight: 800;
  font-size: clamp(2.3rem, 5.2vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -.025em;
}
h2 {
  font-weight: 800;
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -.02em;
}
h3 {
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.25;
  letter-spacing: -.01em;
}
p { margin: 0 0 1em; }
.chapeau { font-size: clamp(1.1rem, 1.5vw, 1.22rem); color: var(--texte-2); max-width: 36em; }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 22px;
  border-radius: var(--rayon); border: 2px solid transparent;
  font-family: var(--corps); font-weight: 700; font-size: 1.02rem; line-height: 1.1;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.bouton svg { width: 20px; height: 20px; flex: none; }
.bouton-plein { background: var(--bordeaux); color: var(--blanc); }
.bouton-plein:hover { background: var(--bordeaux-fonce); }
.bouton-contour { border-color: var(--noir); color: var(--noir); background: transparent; }
.bouton-contour:hover { background: var(--noir); color: var(--blanc); }
.bouton-clair { background: var(--blanc); color: var(--noir); }
.bouton-clair:hover { background: var(--gris-section); }
.bouton-contour-clair { border-color: rgba(255,255,255,.7); color: var(--blanc); }
.bouton-contour-clair:hover { background: rgba(255,255,255,.12); }
.bouton-corail { background: var(--corail); color: var(--noir); }
.bouton-corail:hover { background: #e95d40; }

/* ---------- En-tête (bandeau noir, comme le site actuel) ---------- */
.entete {
  position: sticky; top: 0; z-index: 50;
  background: var(--noir); color: var(--blanc);
}
.entete .cadre { display: flex; align-items: center; gap: 12px; min-height: 68px; }
.marque { display: inline-flex; align-items: center; text-decoration: none; flex: none; color: inherit; }
.marque img { height: 38px; width: auto; }
.nav { display: none; margin-left: auto; gap: 28px; }
.nav a { text-decoration: none; font-weight: 700; font-size: .95rem; color: #d6d6d6; }
.nav a:hover { color: var(--blanc); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; text-decoration-color: var(--corail); }
.entete-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.entete-tel { display: none; font-family: var(--titres); font-weight: 800; font-size: 1.15rem; text-decoration: none; color: var(--blanc); white-space: nowrap; }
.entete-tel:hover { color: var(--corail); }
.entete .bouton { min-height: 44px; padding: 8px 16px; font-size: .95rem; white-space: nowrap; }
.entete .bouton-contour { border-color: rgba(255,255,255,.75); color: var(--blanc); }
.entete .bouton-tel-mobile { padding: 8px 12px; }
.entete-devis { display: none !important; }

@media (min-width: 420px) { .marque img { height: 42px; } }
@media (min-width: 720px) { .marque img { height: 46px; } }
@media (min-width: 720px) {
  .entete .cadre { gap: 24px; min-height: 74px; }
  .entete-actions { gap: 16px; }
  .entete-tel { display: inline-block; }
  .entete .bouton-tel-mobile { display: none; }
  .entete-devis { display: inline-flex !important; }
}
@media (min-width: 1080px) {
  .nav { display: flex; }
  .nav + .entete-actions { margin-left: 32px; }
}

/* ---------- Héros : photo réelle qui passe de l'avant à l'après ---------- */
.heros {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: calc(100svh - 68px - 72px);
  background: #0b0b0b; color: #e6e6e6;
}
.heros-scene {
  position: relative; margin: 0; z-index: -1;
  flex: 1 0 clamp(260px, 38svh, 560px);
  background: #1a1a1a;
}
.heros-scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.heros-apres {
  --p: calc(var(--pos) * 1.16% - 8%);
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 calc(var(--p) - 8%), transparent calc(var(--p) + 8%));
          mask-image: linear-gradient(180deg, #000 0, #000 calc(var(--p) - 8%), transparent calc(var(--p) + 8%));
}
.heros-milieu { display: none; }
.heros-scene.fondu .heros-milieu { display: block; opacity: var(--o1, 0); }
.heros-scene.fondu .heros-apres { -webkit-mask-image: none; mask-image: none; opacity: var(--o2, 0); }
.heros-front {
  position: absolute; left: 0; right: 0; height: 2px; top: calc(var(--pos) * 1.16% - 8%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55) 20%, rgba(255,255,255,.55) 80%, transparent);
  box-shadow: 0 0 22px 6px rgba(252,110,81,.28);
  opacity: var(--front, 0); transition: opacity .3s ease; pointer-events: none;
}
.heros-scene::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(11,11,11,0) 38%, rgba(11,11,11,.8) 70%, #0b0b0b 100%);
}
.heros-photo-legende[hidden] { display: none; }
.heros-photo-legende {
  position: absolute; right: 10px; top: 10px; z-index: 1;
  padding: 3px 9px; border-radius: 3px; background: rgba(0,0,0,.55);
  font-size: .75rem; font-weight: 700; color: rgba(255,255,255,.88);
}
.heros-contenu { position: relative; margin-top: -92px; padding-bottom: 30px; }
.heros-sur-titre {
  margin: 0 0 10px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--corail);
}
.heros-titre { color: var(--blanc); max-width: 15em; text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.heros-titre span { display: block; }
.heros-chapeau { margin: 16px 0 0; max-width: 34em; font-size: clamp(1.02rem, 1.4vw, 1.15rem); line-height: 1.55; color: #cfcfcf; }
.heros-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.heros .note-google { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); color: var(--blanc); }

/* Curseur avant / après */
.transfo {
  margin-top: 24px; padding: 14px 16px 12px; max-width: 34rem;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 10px;
}
.transfo-etats { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 10px; font-size: .82rem; color: #9a9a9a; }
.transfo-etats strong { text-align: center; font-size: .95rem; color: var(--blanc); }
.transfo-curseur {
  --v: 0%;
  display: block; width: 100%; height: 36px; margin: 2px 0 0; background: transparent; cursor: pointer;
  -webkit-appearance: none; appearance: none; touch-action: pan-y;
}
.transfo-curseur::-webkit-slider-runnable-track {
  height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--corail) var(--v), rgba(255,255,255,.22) var(--v));
}
.transfo-curseur::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(255,255,255,.22); }
.transfo-curseur::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--corail); }
.transfo-curseur::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 26px; height: 26px; margin-top: -11px;
  border-radius: 50%; background: var(--blanc); border: 0; box-shadow: 0 0 0 5px rgba(252,110,81,.28), 0 2px 8px rgba(0,0,0,.4);
}
.transfo-curseur::-moz-range-thumb {
  width: 26px; height: 26px; border-radius: 50%; background: var(--blanc); border: 0;
  box-shadow: 0 0 0 5px rgba(252,110,81,.28), 0 2px 8px rgba(0,0,0,.4);
}
.transfo-curseur:focus-visible { outline: 3px solid var(--corail); outline-offset: 4px; }
.transfo-legende { margin: 4px 0 0; font-size: .9rem; line-height: 1.45; color: #a8a8a8; }
.transfo-legende strong { color: #e6e6e6; }
.transfo-choix { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.transfo-choix button {
  flex: none; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 4px 12px 4px 4px;
  border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: transparent; color: #cfcfcf;
  font-size: .86rem; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.transfo-choix img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.transfo-choix button:hover { border-color: rgba(255,255,255,.5); color: var(--blanc); }
.transfo-choix button[aria-selected="true"] { border-color: var(--corail); color: var(--blanc); background: rgba(252,110,81,.12); }

@media (min-width: 720px) { .heros { min-height: calc(100svh - 74px - 72px); } }
@media (min-width: 900px) { .heros { min-height: calc(100svh - 74px); } }
@media (min-width: 1000px) {
  .heros { min-height: clamp(640px, calc(100vh - 74px), 880px); justify-content: center; }
  .heros-scene { position: absolute; top: 0; right: 0; bottom: 0; width: 53%; }
  .heros-scene::after { background: linear-gradient(90deg, #0b0b0b 0, rgba(11,11,11,.55) 16%, rgba(11,11,11,0) 42%), linear-gradient(0deg, rgba(11,11,11,.35) 0, rgba(11,11,11,0) 25%); }
  .heros-photo-legende { top: auto; bottom: 14px; right: 14px; }
  .heros-contenu { margin-top: 0; padding-block: 56px; }
  .heros-contenu > * { max-width: 34rem; }
  .heros-titre { font-size: clamp(2.6rem, 4.2vw, 3.9rem); }
}

/* Bandeau des garanties, juste sous le héros */
.garanties-bande { background: var(--gris-section); }
.garanties { list-style: none; margin: 0; padding-block: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.garanties li { display: flex; gap: 10px; align-items: baseline; font-weight: 700; font-size: .93rem; line-height: 1.35; color: var(--titre); }
.garanties li::before {
  content: ""; flex: none; width: 9px; height: 9px; transform: translateY(-1px) rotate(45deg);
  border-top: 3px solid var(--bordeaux); border-left: 3px solid var(--bordeaux);
}
@media (min-width: 900px) { .garanties { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 22px; font-size: 1rem; } }

/* Réalisations : chantiers supplémentaires repliés */
.chantiers.replie .chantier-plus { display: none; }
.chantiers-suite { margin: 28px 0 0; text-align: center; }
.chantiers-suite .bouton[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) { .heros-front { transition: none; } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-grise { background: var(--gris-section); --texte-2: #5c5c5c; }
.section-noire { background: var(--noir); color: #d9d9d9; }
.section-noire h2, .section-noire h3 { color: var(--blanc); }
.tete-section { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.tete-section p { margin-top: 18px; }

/* ---------- Prestations ---------- */
.prestations { display: grid; gap: clamp(56px, 8vw, 100px); }
.prestation { display: grid; gap: clamp(20px, 3vw, 48px); align-items: center; }
.prestation figure { margin: 0; }
.prestation figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--rayon); }
.prestation .duo { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.prestation .duo img { aspect-ratio: 3 / 4; object-position: 50% 15%; }
.prestation .duo-photo { position: relative; }
.prestation figure svg.schema { display: block; width: 100%; height: auto; border-radius: var(--rayon); }
.prestation figcaption { margin-top: 10px; font-size: .9rem; color: var(--texte-2); }
.prestation h3 { font-size: clamp(1.6rem, 2.7vw, 2.1rem); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; margin-bottom: 16px; }
.prestation .etiquette-priorite {
  display: inline-block; margin-bottom: 12px; padding: 3px 10px; border-radius: 3px;
  background: var(--bordeaux); color: var(--blanc); font-size: .85rem; font-weight: 700;
}
.prestation ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.prestation li { padding-left: 22px; position: relative; }
.prestation li::before { content: ""; position: absolute; left: 0; top: .78em; width: 10px; height: 2px; background: var(--bordeaux); }

@media (min-width: 900px) {
  .prestation { grid-template-columns: 7fr 5fr; }
  .prestation:nth-child(even) { grid-template-columns: 5fr 7fr; }
  .prestation:nth-child(even) figure { order: 2; }
}

/* ---------- Bandeau photo / SMS ---------- */
.bandeau .cadre { display: grid; gap: 28px; align-items: center; }
.bandeau h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); max-width: 16em; }
.bandeau p { color: #c7c7c7; max-width: 34em; margin-top: 14px; }
.bandeau-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .bandeau .cadre { grid-template-columns: 1fr auto; } }

/* ---------- Réalisations : un chantier par carte, avant / après ---------- */
.chantiers { display: grid; gap: 20px; }
@media (min-width: 760px) { .chantiers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
.chantier { display: flex; flex-direction: column; background: var(--blanc); border-radius: var(--rayon); overflow: hidden; box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.chantier-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: var(--noir); }
.chantier-photo { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: #222; cursor: zoom-in; }
.chantier-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.chantier-photo:hover img { transform: scale(1.03); }
.chantier-photo:focus-visible { outline-offset: -3px; outline-color: var(--corail); }
.etat {
  position: absolute; left: 10px; top: 10px; padding: 3px 9px; border-radius: 3px;
  font-size: .82rem; font-weight: 700; line-height: 1.4; pointer-events: none;
}
.etat-avant { background: rgba(0,0,0,.78); color: var(--blanc); }
.etat-apres { background: var(--bordeaux); color: var(--blanc); }
.etat-pendant { background: var(--corail); color: var(--noir); }
.chantier-texte { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 14px; }
.chantier-texte h3 { font-size: 1.18rem; margin-bottom: 8px; }
.chantier-texte p { margin: 0 0 6px; font-size: .97rem; line-height: 1.55; color: var(--texte); }
.chantier-texte p strong { display: inline-block; min-width: 4.6em; color: var(--titre); }
.chantier-texte p + .lien-fleche { margin-top: auto; }
.chantier-texte p:last-of-type { margin-bottom: 10px; }
.chantier-texte .lien-fleche { margin-top: auto; align-self: flex-start; font-size: .95rem; }
@media (prefers-reduced-motion: reduce) { .chantier-photo img { transition: none; } }

.visionneuse {
  width: min(96vw, 1400px); max-height: 94vh; padding: 0; border: 0; border-radius: var(--rayon);
  background: #111; color: var(--blanc);
}
.visionneuse::backdrop { background: rgba(0,0,0,.86); }
.visionneuse img { width: 100%; max-height: 80vh; object-fit: contain; }
.visionneuse-barre { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.visionneuse-barre p { margin: 0 auto 0 4px; font-size: .95rem; color: #c7c7c7; }
.visionneuse button {
  min-width: 44px; min-height: 44px; border: 1px solid rgba(255,255,255,.3); border-radius: var(--rayon);
  background: transparent; color: var(--blanc); cursor: pointer; display: grid; place-items: center;
}
.visionneuse button:hover { background: rgba(255,255,255,.1); }
.visionneuse button[hidden] { display: none; }
.visionneuse button svg { width: 22px; height: 22px; }

/* ---------- Avis ---------- */
.avis-liste { display: grid; gap: 16px; }
.avis-carte { margin: 0; padding: 24px; border: 1px solid var(--trait); border-radius: var(--rayon); background: var(--blanc); }
.avis-etoiles { margin: 0 0 10px; color: #b7791f; letter-spacing: 2px; font-size: 1.1rem; }
.avis-carte blockquote { margin: 0 0 14px; color: var(--texte); }
.avis-carte figcaption { font-weight: 700; color: var(--titre); }
.avis-lien { margin: 28px 0 0; }
@media (min-width: 900px) { .avis-liste { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Déroulé ---------- */
.etapes { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px; counter-reset: etape; }
.etapes li { position: relative; padding-left: 60px; counter-increment: etape; }
.etapes li::before {
  content: counter(etape);
  position: absolute; left: 0; top: -6px;
  font-family: var(--titres); font-weight: 800; font-size: 2.8rem; line-height: 1; color: var(--bordeaux);
}
.etapes h3 { margin-bottom: 8px; }
.etapes p { color: var(--texte-2); margin: 0; }
@media (min-width: 900px) {
  .etapes { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .etapes li { padding: 64px 0 0; border-top: 2px solid var(--noir); }
  .etapes li::before { top: 14px; }
}

/* ---------- Zone ---------- */
.zone { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
.zone-carte { margin: 0; }
.zone-carte svg { width: 100%; height: auto; max-width: 560px; margin-inline: auto; display: block; }
.zone-carte figcaption { text-align: center; font-size: .9rem; color: var(--texte-2); margin-top: 8px; }
.communes { display: grid; gap: 20px; margin-top: 26px; }
.communes h3 { font-size: 1.02rem; margin-bottom: 4px; }
.communes p { margin: 0; color: var(--texte-2); }
@media (min-width: 900px) { .zone { grid-template-columns: 6fr 5fr; } }

/* ---------- Questions ---------- */
.questions { max-width: 860px; }
.questions details { border-top: 1px solid var(--trait); }
.questions details:last-child { border-bottom: 1px solid var(--trait); }
.questions summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font-family: var(--titres); font-weight: 700; font-size: 1.15rem; line-height: 1.35; color: var(--titre);
}
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -9px;
  border-right: 3px solid var(--corail); border-bottom: 3px solid var(--corail); transform: rotate(45deg);
  transition: transform .2s ease;
}
.questions details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.questions details > div { padding: 0 0 22px; color: var(--texte); max-width: 44em; }
@media (prefers-reduced-motion: reduce) { .questions summary::after { transition: none; } }

/* ---------- Devis ---------- */
.devis .cadre { display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; }
.devis-coord { display: grid; gap: 18px; margin-top: 30px; }
.devis-coord a { text-decoration: none; }
.devis-coord .gros { font-family: var(--titres); font-weight: 800; font-size: clamp(2rem, 4.2vw, 2.7rem); line-height: 1; color: var(--corail); letter-spacing: -.01em; }
.devis-coord .gros:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.devis-coord p { margin: 0; color: #c7c7c7; }
.devis-coord strong { color: var(--blanc); }

.formulaire { background: var(--blanc); color: var(--texte); border-radius: var(--rayon); padding: clamp(20px, 3.5vw, 36px); }
.section-noire .formulaire h3 { margin-bottom: 6px; color: var(--titre); }
.formulaire .note { color: var(--texte-2); font-size: .95rem; margin-bottom: 20px; }
.champs { display: grid; gap: 16px; }
.champ label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--titre); }
.champ label small { font-weight: 400; color: var(--texte-2); }
.champ input, .champ select, .champ textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid #a6a6a6; border-radius: var(--rayon); background: var(--blanc);
  font-size: 1rem;
}
.champ textarea { min-height: 110px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--noir); outline: 3px solid rgba(155,28,32,.25); outline-offset: 0; }
.consentement { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--texte-2); line-height: 1.45; }
.consentement input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--bordeaux); }
.formulaire .bouton { width: 100%; margin-top: 4px; }
.formulaire-erreur { display: none; margin: 0; padding: 12px 14px; border-radius: var(--rayon); background: #f8e5e5; color: #7c1518; font-weight: 700; }
.formulaire-erreur.visible { display: block; }
.cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (min-width: 640px) { .champs { grid-template-columns: 1fr 1fr; } .champs .entier { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .devis .cadre { grid-template-columns: 5fr 6fr; } }

/* ---------- Pied de page (gris clair, comme le site actuel) ---------- */
.pied { background: var(--gris-pied); color: var(--texte); padding-block: 56px 40px; font-size: .95rem; }
.pied .cadre { display: grid; gap: 32px; }
.pied a { color: var(--titre); text-decoration: none; }
.pied a:hover { text-decoration: underline; color: var(--bordeaux); }
.pied h2 { font-size: 1rem; color: var(--titre); margin-bottom: 10px; letter-spacing: 0; }
.pied ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.pied-bas a { text-decoration: underline; text-underline-offset: 3px; }
.pied-bas { border-top: 1px solid #d4d4d4; margin-top: 8px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .88rem; color: #5c5c5c; }
.pied .marque { color: var(--noir); }
.pied .marque img { height: 50px; }
.lien-cookies { background: none; border: 0; padding: 0; color: var(--titre); cursor: pointer; text-decoration: underline; font-size: inherit; }
@media (min-width: 900px) { .pied .cadre { grid-template-columns: 1.3fr 1fr 1fr 1fr; } .pied-bas { grid-column: 1 / -1; } }

/* ---------- Barre mobile ---------- */
.barre-mobile {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: var(--blanc); border-top: 1px solid var(--trait);
  box-shadow: 0 -4px 16px rgba(0,0,0,.08);
}
.barre-mobile .bouton { min-height: 48px; padding: 8px 10px; }
body { padding-bottom: 72px; }
@media (min-width: 900px) { .barre-mobile { display: none; } body { padding-bottom: 0; } }

/* ---------- Bandeau cookies ---------- */
.cookies {
  position: fixed; left: 12px; right: 12px; bottom: 84px; z-index: 70;
  max-width: 560px; margin-inline: auto;
  background: var(--noir); color: #d9d9d9; border-radius: var(--rayon); padding: 18px;
  box-shadow: 0 8px 30px rgba(0,0,0,.3);
}
.cookies[hidden] { display: none; }
.cookies p { margin: 0 0 14px; font-size: .95rem; }
.cookies a { color: var(--blanc); }
.cookies div { display: flex; gap: 10px; flex-wrap: wrap; }
.cookies .bouton { min-height: 44px; flex: 1; }
@media (min-width: 900px) { .cookies { bottom: 20px; } }

/* ---------- Pages simples (légal, merci) ---------- */
.page-simple { padding-block: clamp(40px, 7vw, 88px); min-height: calc(100vh - 74px - 120px); }
.page-simple .cadre { max-width: 820px; }
.page-simple h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 18px; }
.page-simple h2 { font-size: 1.45rem; margin: 40px 0 12px; }
.page-simple p, .page-simple li { color: var(--texte); }
.etapes-merci { margin-top: 8px; }
@media (min-width: 900px) { .etapes-merci { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.page-simple .etapes h3 { margin: 0 0 8px; font-size: 1.15rem; }
.page-simple .a-completer { background: #fff3c4; color: #5c4400; padding: 0 4px; border-radius: 3px; }

/* ---------- Note Google (héros, s'affiche quand la note est renseignée) ---------- */
.note-google {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; min-height: 44px; padding: 8px 16px;
  border: 1px solid var(--trait); border-radius: 999px; background: var(--blanc);
  text-decoration: none; font-weight: 700; font-size: .97rem; color: var(--titre);
}
.note-google[hidden] { display: none; }
.note-google:hover { border-color: var(--titre); }
.note-google-etoiles { color: #b7791f; letter-spacing: 1px; }

/* ---------- Liens d'action dans les prestations ---------- */
.prestation-actions { display: flex; flex-wrap: wrap; gap: 4px 26px; margin: 22px 0 0; }
.lien-fleche {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0;
  border: 0; background: none; cursor: pointer; font: inherit; font-weight: 700; color: var(--bordeaux);
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.lien-fleche::after {
  content: ""; flex: none; width: 8px; height: 8px; margin-left: 2px;
  border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg);
}
.lien-fleche:hover { color: var(--bordeaux-fonce); text-decoration-thickness: 3px; }
.lien-fleche[hidden] { display: none; }

/* ---------- Incolore ou coloré ---------- */
.choix-teinte { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-top: 24px; }
.choix-teinte > div { padding: 16px 18px; border: 1px solid var(--trait); border-top: 3px solid #b3b3b3; border-radius: var(--rayon); }
.choix-teinte .choix-colore { border-top-color: var(--bordeaux); }
.choix-teinte h4 { margin: 0 0 6px; font-family: var(--titres); font-weight: 800; font-size: 1.05rem; color: var(--titre); }
.choix-teinte p { margin: 0; font-size: .97rem; line-height: 1.55; }
.choix-teinte .teintes { display: flex; gap: 8px; margin-top: 12px; }
.teintes span { width: 26px; height: 26px; border-radius: 50%; background: var(--t); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }

/* ---------- Signes qui doivent alerter ---------- */
.signes { display: grid; gap: clamp(28px, 4vw, 48px); }
.signes .tete-section { margin-bottom: 0; }
.signes-photo { margin: 0; }
.signes-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 40%; border-radius: var(--rayon); }
.signes-photo figcaption { margin-top: 10px; font-size: .9rem; color: var(--texte-2); }
.signes-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.signes-liste li { display: flex; flex-direction: column; padding: 20px 22px; background: var(--blanc); border-radius: var(--rayon); border-top: 3px solid var(--bordeaux); }
.signes-liste h3 { font-size: 1.12rem; margin-bottom: 6px; }
.signes-liste p { margin: 0 0 12px; font-size: .98rem; line-height: 1.55; }
.signes-liste a { margin-top: auto; font-weight: 700; font-size: .95rem; color: var(--bordeaux); text-underline-offset: 3px; }
.signes-liste a:hover { color: var(--bordeaux-fonce); }
@media (min-width: 700px) { .signes-liste { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) {
  .signes { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: start; }
  .signes .tete-section { grid-column: 1 / -1; }
  .signes-photo { position: sticky; top: 100px; }
  .signes-photo img { aspect-ratio: 4 / 5; }
}

@media (max-width: 520px) {
  .heros-actions .bouton, .bandeau-actions .bouton { flex: 1 1 100%; }
  /* Sur téléphone, « Devis gratuit » est déjà dans la barre du bas : on garde l'appel seul ici. */
  .heros-actions .bouton-contour-clair { display: none; }
}

@media print {
  .entete, .barre-mobile, .cookies, .bandeau, .transfo { display: none !important; }
  body { padding: 0; }
}
