/* ==========================================================================
   Expaba Sécurité : univers technique et carré.
   Base claire acier, filets visibles, rouge incendie en accent, Barlow Condensed.
   ========================================================================== */

@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-style: normal; font-display: swap; src: url(/fonts/barlow-condensed-600.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-style: normal; font-display: swap; src: url(/fonts/barlow-condensed-700.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/barlow-400.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 400; font-style: italic; font-display: swap; src: url(/fonts/barlow-400-italic.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 500; font-style: normal; font-display: swap; src: url(/fonts/barlow-500.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 600; font-style: normal; font-display: swap; src: url(/fonts/barlow-600.woff2) format('woff2'); }

:root {
  --papier: #F1F4F6;
  --blanc: #FFFFFF;
  --encre: #141B22;
  --texte: #26323D;
  --gris: #4A5968;
  --acier: #24394C;
  --acier-2: #34506A;
  --acier-nuit: #18283A;
  --filet: #C5D0D9;
  --filet-doux: #DCE3E9;
  --trame: rgba(36, 57, 76, .075);
  --rouge: #C62117;
  --rouge-fonce: #A3190F;
  --rouge-pale: #FBE9E7;

  --f-titre: 'Barlow Condensed', 'Arial Narrow', sans-serif-condensed, sans-serif;
  --f-texte: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --wrap: 1240px;
  --gout: clamp(20px, 4vw, 40px);
  --head-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--papier); color: var(--texte);
  font: 400 1.0625rem/1.6 var(--f-texte); font-variant-numeric: lining-nums;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--acier); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--rouge); }
::selection { background: var(--rouge); color: #fff; }
:focus-visible { outline: 2px solid var(--rouge); outline-offset: 3px; }
html { scrollbar-color: var(--acier-2) var(--papier); }
::-webkit-scrollbar { width: 12px; } ::-webkit-scrollbar-track { background: var(--papier); }
::-webkit-scrollbar-thumb { background: var(--acier-2); border: 3px solid var(--papier); }

h1, h2, h3 { font-family: var(--f-titre); font-weight: 700; color: var(--encre); line-height: 1.02; letter-spacing: -.005em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.45rem; line-height: 1.1; }
p { margin: 0 0 var(--s4); }
strong { font-weight: 600; color: var(--encre); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--encre); color: #fff; padding: 10px 16px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gout); }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }

/* Trame millimétrée */
.trame { background-color: var(--papier);
  background-image: linear-gradient(var(--trame) 1px, transparent 1px), linear-gradient(90deg, var(--trame) 1px, transparent 1px),
                    linear-gradient(rgba(36,57,76,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(36,57,76,.035) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px; background-position: -1px -1px; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 20px;
  font: 600 1.15rem/1 var(--f-titre); letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  border: 1.5px solid transparent; border-radius: 0; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s; }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 1.25rem; }
.btn--rouge { background: var(--rouge); color: #fff; box-shadow: 0 6px 16px -8px rgba(198,33,23,.7); }
.btn--rouge:hover { background: var(--rouge-fonce); color: #fff; }
.btn--ligne { border-color: var(--acier); color: var(--acier); background: transparent; }
.btn--ligne:hover { background: var(--acier); color: #fff; }
.btn--blanc { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--blanc:hover { background: #fff; color: var(--acier); }
.lien-fl { display: inline-flex; align-items: center; gap: 8px; font: 600 1.1rem/1.2 var(--f-titre); letter-spacing: .03em; text-transform: uppercase; text-decoration: none; color: var(--acier); }
.lien-fl .ico { transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.lien-fl:hover .ico { transform: translateX(4px); }

/* ---------- Barre haute + en-tête ---------- */
.barre { background: var(--acier-nuit); color: #C9D6E2; font-size: .875rem; }
.barre__in { display: flex; gap: var(--s5); align-items: center; min-height: 36px; }
.barre__in > * { display: inline-flex; align-items: center; gap: 6px; }
.barre a { color: #C9D6E2; text-decoration: none; margin-left: auto; }
.barre a:hover { color: #fff; }
.head { position: sticky; top: 0; z-index: 40; background: var(--blanc); border-bottom: 1px solid var(--filet); }
.head__in { display: flex; align-items: center; gap: var(--s5); min-height: var(--head-h); }
.logo img { width: 190px; height: auto; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; }
.nav a { display: block; white-space: nowrap; padding: 10px 12px; font: 600 1.12rem/1 var(--f-titre); letter-spacing: .03em; text-transform: uppercase; color: var(--encre); text-decoration: none; position: relative; }
.nav a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--rouge); transform: scaleX(0); transform-origin: left; transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.nav a:hover { color: var(--encre); }
.nav__extra { display: none; }
.head__act { display: flex; align-items: center; gap: var(--s4); }
.head__tel { display: inline-flex; align-items: center; gap: 8px; font: 700 1.3rem/1 var(--f-titre); color: var(--encre); text-decoration: none; letter-spacing: .02em; white-space: nowrap; }
.head__tel .ico { color: var(--rouge); }
.burger { display: none; width: 46px; height: 46px; border: 1.5px solid var(--acier); background: none; padding: 0 11px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.burger span { display: block; height: 2px; background: var(--acier); transition: transform .25s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1180px) {
  .nav a { padding: 10px 9px; font-size: 1.05rem; }
  .logo img { width: 160px; }
}
@media (max-width: 1120px) {
  .burger { display: flex; }
  .nav { position: fixed; inset: calc(var(--head-h) + 36px) 0 0 0; background: var(--blanc); padding: var(--s5) var(--gout) 120px; overflow-y: auto;
    transform: translateX(100%); visibility: hidden; transition: transform .35s cubic-bezier(.2,.8,.2,1), visibility 0s .35s; border-top: 1px solid var(--filet); }
  .nav.ouvert { transform: none; visibility: visible; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
  .nav ul { flex-direction: column; border-top: 1px solid var(--filet-doux); }
  .nav li { border-bottom: 1px solid var(--filet-doux); }
  .nav a { padding: 18px 0; font-size: 1.5rem; }
  .nav a::after { display: none; }
  .nav a[aria-current] { color: var(--rouge); }
  .nav__extra { display: grid; gap: var(--s3); margin-top: var(--s6); }
  body.menu-ouvert { overflow: hidden; }
}
@media (max-width: 640px) {
  :root { --head-h: 64px; }
  .barre { display: none; }
  .nav { inset: var(--head-h) 0 0 0; }
  .logo img { width: 132px; }
  .head__tel span { display: none; }
  .head__tel { width: 46px; height: 46px; justify-content: center; border: 1.5px solid var(--filet); }
  .head__devis { display: none; }
}

/* ---------- Fil d'Ariane ---------- */
.fil { border-bottom: 1px solid var(--filet-doux); background: var(--blanc); font-size: .875rem; }
.fil ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; padding-top: 10px; padding-bottom: 10px; margin: 0 auto; }
.fil li:not(:last-child)::after { content: '/'; margin: 0 10px; color: var(--filet); }
.fil a { color: var(--gris); text-decoration: none; }
.fil a:hover { color: var(--rouge); text-decoration: underline; }
.fil span { color: var(--encre); font-weight: 500; }

/* ---------- Héros accueil ---------- */
.hero { border-bottom: 1px solid var(--filet); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: var(--s8); padding-top: var(--s8); padding-bottom: var(--s8); align-items: start; }
.hero h1 { font-size: clamp(2.7rem, 5.4vw, 4.7rem); line-height: .96; max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--rouge); }
.hero__lead { font-size: 1.2rem; line-height: 1.55; max-width: 34em; margin: var(--s5) 0 var(--s6); color: var(--texte); }
.hero__btns { display: flex; flex-wrap: wrap; gap: var(--s3); margin-bottom: var(--s5); }
.hero__aside { display: grid; gap: 0; border: 1px solid var(--acier); background: var(--blanc); box-shadow: 0 18px 40px -28px rgba(20,27,34,.45); }
.hero__aside .fiche { border: 0; }
.hero__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.note { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; text-decoration: none; color: var(--texte); font-size: .95rem; }
.note b { font: 700 1.2rem/1 var(--f-titre); color: var(--encre); }
.note span { color: var(--gris); }
.note .ico-star { color: #E3A008; width: 1.1em; height: 1.1em; }
.note:hover span { text-decoration: underline; }
.note--clair, .note--clair b { color: #fff; }
.note--clair span { color: #B9C7D4; }

/* Fiche technique / cartouche */
.fiche { border: 1px solid var(--acier); background: var(--blanc); }
.fiche__t { margin: 0; padding: 10px 16px; background: var(--acier); color: #fff; font: 600 1.05rem/1.2 var(--f-titre); letter-spacing: .08em; text-transform: uppercase; }
.fiche dl { margin: 0; }
.fiche dl > div { display: grid; grid-template-columns: 9.5em 1fr; border-top: 1px solid var(--filet-doux); }
.fiche dl > div:first-child { border-top: 0; }
.fiche dt { padding: 10px 16px; font: 600 .95rem/1.35 var(--f-titre); letter-spacing: .06em; text-transform: uppercase; color: var(--gris); border-right: 1px solid var(--filet-doux); }
.fiche dd { margin: 0; padding: 10px 16px; font-size: .97rem; line-height: 1.4; color: var(--encre); }

/* Bandeau photo pleine largeur avec repères */
.bandeau { position: relative; background: var(--acier-nuit); border-bottom: 1px solid var(--filet); }
.bandeau img { width: 100%; height: clamp(180px, 26vw, 380px); object-fit: cover; opacity: .96; }
.bandeau::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(90deg, rgba(255,255,255,.22) 1px, transparent 1px); background-size: calc(100% / 6) 100%; }
.bandeau figcaption { position: absolute; right: var(--gout); bottom: 12px; color: #fff; font: 600 .9rem/1 var(--f-titre); letter-spacing: .08em; text-transform: uppercase; background: rgba(24,40,58,.8); padding: 7px 10px; }

/* ---------- Sections ---------- */
.section { padding: var(--s9) 0; }
.section--blanc { background: var(--blanc); }
.section--filet { border-top: 1px solid var(--filet); }
.tete { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s6); align-items: end; margin-bottom: var(--s7); }
.tete p { margin: 0; color: var(--gris); font-size: 1.1rem; max-width: 36em; }
@media (max-width: 860px) { .tete { grid-template-columns: 1fr; gap: var(--s4); } }

/* Grille de services à filets partagés */
.grille { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--filet); border-left: 1px solid var(--filet); background: var(--blanc); }
.grille li { border-right: 1px solid var(--filet); border-bottom: 1px solid var(--filet); }
.grille a { position: relative; display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto 1fr; column-gap: var(--s4); row-gap: 6px; height: 100%; padding: var(--s5) var(--s5) var(--s6); text-decoration: none; color: var(--texte); transition: background-color .2s; }
.grille a:hover { background: var(--papier); color: var(--texte); }
.grille__ico { grid-row: 1 / 3; width: 44px; height: 44px; padding: 9px; border: 1px solid var(--filet); color: var(--rouge); background: var(--blanc); transition: background-color .2s, color .2s, border-color .2s; }
.grille a:hover .grille__ico { background: var(--rouge); color: #fff; border-color: var(--rouge); }
.grille__nom { font: 700 1.45rem/1.05 var(--f-titre); color: var(--encre); }
.grille__txt { font-size: .97rem; line-height: 1.5; color: var(--gris); }
.grille__fl { position: absolute; right: var(--s5); top: var(--s5); color: var(--filet); transition: color .2s, transform .25s cubic-bezier(.2,.8,.2,1); }
.grille a:hover .grille__fl { color: var(--rouge); transform: translateX(3px); }
.grille .grille__nom { padding-right: 28px; }
@media (max-width: 980px) { .grille { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grille { grid-template-columns: 1fr; } .grille a { padding: var(--s4) var(--s4) var(--s5); } }

/* Bloc deux colonnes */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s8); align-items: center; }
.duo--haut { align-items: start; }
.duo__img { position: relative; }
.duo__img img { width: 100%; border: 1px solid var(--filet); }
.duo__img figcaption { margin-top: 8px; font-size: .85rem; color: var(--gris); }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; gap: var(--s6); } }

.coches { list-style: none; margin: var(--s5) 0; padding: 0; border-top: 1px solid var(--filet); }
.coches li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--filet); }
.coches .ico { color: var(--rouge); margin-top: 3px; }

/* Engagements contractuels (issus des CGV) */
.regles { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--encre); }
.regles > div { padding: var(--s5) var(--s5) var(--s5) 0; border-right: 1px solid var(--filet); }
.regles > div + div { padding-left: var(--s5); }
.regles > div:last-child { border-right: 0; }
.regles b { display: block; font: 700 2.4rem/1 var(--f-titre); color: var(--rouge); margin-bottom: 10px; }
.regles p { margin: 0; font-size: .98rem; color: var(--texte); }
@media (max-width: 900px) { .regles { grid-template-columns: 1fr 1fr; } .regles > div:nth-child(2) { border-right: 0; } .regles > div:nth-child(3) { padding-left: 0; } .regles > div:nth-child(n+3) { border-top: 1px solid var(--filet); } }
@media (max-width: 520px) { .regles { grid-template-columns: 1fr; } .regles > div { border-right: 0; padding-left: 0 !important; } .regles > div + div { border-top: 1px solid var(--filet); } }

.duo .regles { grid-template-columns: 1fr 1fr; }
.duo .regles > div:nth-child(2) { border-right: 0; }
.duo .regles > div:nth-child(3) { padding-left: 0; }
.duo .regles > div:nth-child(n+3) { border-top: 1px solid var(--filet); }
.grille__plus a { background: var(--acier); color: #DCE6EF; }
.grille__plus a:hover { background: var(--acier-2); color: #fff; }
.grille__plus .grille__nom { color: #fff; }
.grille__plus .grille__txt { color: #C9D6E2; }
.grille__plus .grille__ico { background: var(--rouge); color: #fff; border-color: var(--rouge); }
.grille__plus .grille__fl { color: #fff; }

/* Agréments */
.agrements { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--s7); align-items: center; }
.agrements__doc { background: var(--blanc); border: 1px solid var(--filet); padding: var(--s5); }
@media (max-width: 900px) { .agrements { grid-template-columns: 1fr; } }

/* Zone : départements */
.depts { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--filet); background: var(--blanc); margin: var(--s6) 0; }
.depts a, .depts span { display: block; padding: var(--s4); border-right: 1px solid var(--filet); text-decoration: none; color: var(--encre); }
.depts > :last-child { border-right: 0; }
.depts b { display: block; font: 700 2.6rem/1 var(--f-titre); color: var(--acier); }
.depts small { font-size: .9rem; color: var(--gris); }
.depts a:hover { background: var(--papier); }
.depts a:hover b { color: var(--rouge); }
@media (max-width: 760px) { .depts { grid-template-columns: repeat(2, 1fr); } .depts > * { border-bottom: 1px solid var(--filet); } .depts > :nth-child(2n) { border-right: 0; } }

/* ---------- Pages intérieures ---------- */
.ph { border-bottom: 1px solid var(--filet); }
.ph__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--s8); padding-top: var(--s8); padding-bottom: var(--s8); align-items: center; }
.ph h1 { font-size: clamp(2.4rem, 4.8vw, 3.9rem); }
.ph__lead { font-size: 1.18rem; margin: var(--s5) 0 var(--s6); max-width: 36em; }
.ph__btns { display: flex; flex-wrap: wrap; gap: var(--s3); margin-bottom: var(--s5); }
.ph__img { position: relative; }
.ph__img img { width: 100%; aspect-ratio: 11 / 8; object-fit: cover; border: 1px solid var(--acier); box-shadow: 0 18px 40px -28px rgba(20,27,34,.45); }
.ph__img::before { content: ''; position: absolute; inset: -10px 10px 10px -10px; border: 1px solid var(--filet); z-index: -1; }
.ph--court .ph__in { grid-template-columns: 1fr; padding-top: var(--s7); padding-bottom: var(--s7); }
@media (max-width: 900px) { .ph__in { grid-template-columns: 1fr; gap: var(--s6); padding-top: var(--s6); padding-bottom: var(--s7); } .ph__img::before { display: none; } }

.corps { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--s8); align-items: start; }
.corps__aside { position: sticky; top: calc(var(--head-h) + 24px); display: grid; gap: var(--s5); }
@media (max-width: 980px) { .corps { grid-template-columns: 1fr; } .corps__aside { position: static; } }

.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.75rem, 2.8vw, 2.25rem); margin: var(--s7) 0 var(--s4); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: var(--s6) 0 var(--s3); }
.prose ul.liste, .prose ul:not([class]) { padding-left: 1.2em; margin: 0 0 var(--s4); }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--rouge); }
.prose figure { margin: var(--s6) 0; }
.prose figure img { border: 1px solid var(--filet); }
.prose figcaption { font-size: .88rem; color: var(--gris); margin-top: 8px; }
.etapes { list-style: none; counter-reset: e; margin: 0 0 var(--s5); padding: 0; border-top: 1px solid var(--filet); }
.etapes li { counter-increment: e; display: grid; grid-template-columns: 3.2em 1fr; padding: 12px 0; border-bottom: 1px solid var(--filet); margin: 0; }
.etapes li::before { content: counter(e, decimal-leading-zero); font: 700 1.25rem/1.3 var(--f-titre); color: var(--rouge); font-variant-numeric: tabular-nums; }

table.tech { width: 100%; border-collapse: collapse; margin: var(--s4) 0 var(--s5); background: var(--blanc); border: 1px solid var(--filet); font-size: .98rem; }
.tech th, .tech td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--filet-doux); vertical-align: top; }
.tech thead th { background: var(--acier); color: #fff; font: 600 1rem/1.2 var(--f-titre); letter-spacing: .06em; text-transform: uppercase; border-bottom: 0; }
.tech tbody th { font-weight: 600; color: var(--encre); }
.tech td + td, .tech th + td { border-left: 1px solid var(--filet-doux); }
.tech small { color: var(--gris); margin-left: 4px; }
.tech tbody tr:hover { background: #F7F9FA; }
.trajets td { font-variant-numeric: tabular-nums; white-space: nowrap; }
.source { font-size: .85rem; color: var(--gris); }

.encadre { border: 1px solid var(--acier); background: var(--blanc); }
.encadre__t { margin: 0; padding: 10px 16px; background: var(--acier); color: #fff; font: 600 1.05rem/1.2 var(--f-titre); letter-spacing: .08em; text-transform: uppercase; }
.encadre ul { list-style: none; margin: 0; padding: 0; }
.encadre li { padding: 12px 16px; border-top: 1px solid var(--filet-doux); font-size: .97rem; line-height: 1.5; }
.encadre li:first-child { border-top: 0; }
.encadre .encadre__corps { padding: 16px; }
.encadre .encadre__corps p:last-child { margin: 0; }
.encadre--rouge { border-color: var(--rouge); }
.encadre--rouge .encadre__t { background: var(--rouge); }

.aside-cta { display: grid; gap: 10px; }
.aside-cta .btn { width: 100%; }
.aside-cta p { margin: 0; font-size: .92rem; color: var(--gris); }

.liens-svc { list-style: none; margin: 0; padding: 0; }
.liens-svc a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--filet-doux); text-decoration: none; color: var(--encre); font-weight: 500; }
.liens-svc li:first-child a { border-top: 0; }
.liens-svc a:hover { background: var(--papier); color: var(--rouge); }

.galerie { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); margin: var(--s6) 0; }
.galerie img { width: 100%; aspect-ratio: 11 / 8; object-fit: cover; border: 1px solid var(--filet); }
.galerie figure { margin: 0; }
.galerie figcaption { font-size: .85rem; color: var(--gris); margin-top: 6px; }

/* À compléter (visible tant que l'entreprise n'a pas fourni l'information) */
.a-completer { border: 1.5px dashed #B26A00; background: #FFF6E0; color: #5C3A00; padding: 10px 14px; font-size: .95rem; }
.a-completer::before { content: '✎ '; }

/* ---------- FAQ ---------- */
.faq { background: var(--blanc); border-top: 1px solid var(--filet); }
.faq__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--s8); }
.faq__liste { border-top: 2px solid var(--encre); }
.faq details { border-bottom: 1px solid var(--filet); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--s4); padding: 18px 0; font: 600 1.32rem/1.2 var(--f-titre); color: var(--encre); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--rouge); }
.faq__ico { color: var(--rouge); transform: rotate(90deg); transition: transform .25s cubic-bezier(.2,.8,.2,1); margin-top: 2px; }
.faq details[open] .faq__ico { transform: rotate(-90deg); }
.faq__r { padding: 0 0 18px; max-width: 64ch; }
.faq__r p { margin: 0; }
@media (max-width: 900px) { .faq__in { grid-template-columns: 1fr; gap: var(--s5); } }

/* ---------- Appel à l'action ---------- */
.cta { background: var(--acier); color: #DCE6EF; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 48px 48px; }
.cta__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: var(--s7); align-items: center; padding-top: var(--s8); padding-bottom: var(--s8); }
.cta h2 { color: #fff; margin-bottom: var(--s4); }
.cta p { margin: 0; font-size: 1.1rem; max-width: 34em; }
.cta__act { display: grid; gap: var(--s3); justify-items: start; }
.cta__tel { display: inline-flex; align-items: center; gap: 10px; color: #fff; font: 700 2rem/1 var(--f-titre); text-decoration: none; letter-spacing: .02em; }
.cta__tel:hover { color: #fff; text-decoration: underline; }
.cta .cta__h { font-size: .92rem; color: #B9C7D4; }
@media (max-width: 860px) { .cta__in { grid-template-columns: 1fr; } }

/* ---------- Particuliers : fiches produits ---------- */
.produits { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--filet); border-left: 1px solid var(--filet); background: var(--blanc); margin-bottom: var(--s7); }
.produit { border-right: 1px solid var(--filet); border-bottom: 1px solid var(--filet); padding: var(--s5); display: grid; grid-template-rows: auto auto 1fr; gap: var(--s3); }
.produit img { width: 100%; max-width: 220px; aspect-ratio: 1; object-fit: contain; margin: 0 auto; }
.produit h3 { font-size: 1.35rem; }
.produit ul { list-style: none; margin: 0; padding: 0; font-size: .93rem; }
.produit li { padding: 5px 0; border-top: 1px solid var(--filet-doux); }
.produit .ref { font-variant-numeric: tabular-nums; color: var(--gris); }
@media (max-width: 900px) { .produits { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .produits { grid-template-columns: 1fr; } }
.famille { margin: var(--s7) 0 var(--s4); display: flex; align-items: baseline; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; }

/* ---------- Formulaire ---------- */
.form { background: var(--blanc); border: 1px solid var(--acier); padding: var(--s6); display: grid; gap: var(--s4); }
.form__2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.form label { display: block; font: 600 .98rem/1.2 var(--f-titre); letter-spacing: .06em; text-transform: uppercase; color: var(--encre); margin-bottom: 6px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--encre); background: var(--papier); border: 1px solid var(--filet); border-bottom: 2px solid var(--acier-2); border-radius: 0; padding: 12px 14px; caret-color: var(--rouge); }
.form input::placeholder, .form textarea::placeholder { color: #66737F; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-bottom-color: var(--rouge); background: #fff; box-shadow: 0 0 0 3px rgba(198,33,23,.15); }
.form textarea { min-height: 140px; resize: vertical; }
.form .rgpd { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--gris); }
.form .rgpd input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--rouge); }
.form .pot { position: absolute; left: -9999px; }
.form__msg { margin: 0; padding: 12px 14px; font-weight: 500; }
.form__msg.ok { background: #E7F4EA; color: #1C5B2C; border: 1px solid #9BCBA8; }
.form__msg.err { background: var(--rouge-pale); color: var(--rouge-fonce); border: 1px solid #EBB3AD; }
.form button[disabled] { opacity: .6; cursor: progress; }
@media (max-width: 600px) { .form { padding: var(--s5) var(--s4); } .form__2 { grid-template-columns: 1fr; } }

.contact { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--s8); align-items: start; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }

/* Plan du site, guides */
.plan { columns: 2; column-gap: var(--s8); }
.plan h2 { font-size: 1.6rem; margin: 0 0 var(--s3); break-after: avoid; }
.plan ul { margin: 0 0 var(--s6); padding-left: 1.1em; break-inside: avoid; }
@media (max-width: 700px) { .plan { columns: 1; } }
.guides { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--encre); }
.guides a { display: grid; grid-template-columns: 1fr auto; gap: 6px var(--s5); padding: var(--s5) 0; border-bottom: 1px solid var(--filet); text-decoration: none; color: var(--texte); }
.guides b { font: 700 1.6rem/1.1 var(--f-titre); color: var(--encre); }
.guides span { grid-column: 1; color: var(--gris); }
.guides .ico { grid-row: 1 / 3; grid-column: 2; align-self: center; color: var(--rouge); width: 1.6em; height: 1.6em; }
.guides a:hover b { color: var(--rouge); }

/* ---------- Pied de page ---------- */
.foot { background: var(--acier-nuit); color: #B9C7D4; padding: var(--s8) 0 0; font-size: .97rem; }
.foot a { color: #DCE6EF; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: var(--s7); padding-bottom: var(--s7); }
.foot__brand > img { width: 190px; background: #fff; padding: 10px 12px; margin-bottom: var(--s4); }
.foot__brand p { max-width: 30em; }
.foot__agr img { background: #fff; padding: 6px; margin-top: var(--s4); }
.foot__h { font: 600 1.05rem/1 var(--f-titre); letter-spacing: .1em; text-transform: uppercase; color: #fff; margin: 0 0 var(--s4); }
.foot__h + ul + .foot__h { margin-top: var(--s5); }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { padding: 4px 0; }
.cartouche { width: 100%; border-collapse: collapse; border: 1px solid #3C5269; font-size: .93rem; }
.cartouche th, .cartouche td { border: 1px solid #3C5269; padding: 10px 14px; text-align: left; vertical-align: top; }
.cartouche th { font: 600 .9rem/1.3 var(--f-titre); letter-spacing: .08em; text-transform: uppercase; color: #8FA4B8; width: 11em; font-weight: 600; }
.cartouche td { color: #DCE6EF; }
.foot__bas { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s4); padding-top: var(--s5); padding-bottom: var(--s5); font-size: .9rem; }
.foot__bas p { margin: 0; }
.foot__liens { display: flex; flex-wrap: wrap; gap: var(--s5); align-items: center; }
@media (max-width: 900px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }
@media (max-width: 700px) {
  .cartouche, .cartouche tbody, .cartouche tr, .cartouche th, .cartouche td { display: block; width: auto; }
  .cartouche tr { border-bottom: 1px solid #3C5269; }
  .cartouche th, .cartouche td { border: 0; }
  .cartouche th { padding-bottom: 0; }
}
@media (max-width: 520px) { .foot__grid { grid-template-columns: 1fr; } }

/* ---------- Barre d'appel mobile ---------- */
.mbar { display: none; }
@media (max-width: 860px) {
  .mbar { display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: var(--blanc); border-top: 1px solid var(--acier); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -8px 24px -16px rgba(20,27,34,.5); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 58px; font: 600 1.15rem/1 var(--f-titre); letter-spacing: .05em; text-transform: uppercase; text-decoration: none; }
  .mbar__tel { color: var(--acier); }
  .mbar__devis { background: var(--rouge); color: #fff; }
  .mbar__devis:hover { color: #fff; }
  body { padding-bottom: 58px; }
}

/* ---------- Divers ---------- */
.err404 { padding: var(--s9) 0; }
.err404 h1 { font-size: clamp(3rem, 8vw, 6rem); }
@media (max-width: 900px) {
  .hero__in { grid-template-columns: 1fr; gap: var(--s6); padding-top: var(--s6); padding-bottom: var(--s7); }
  .section { padding: var(--s8) 0; }
}
@media (max-width: 520px) {
  body { font-size: 1rem; }
  .fiche dl > div { grid-template-columns: 1fr; }
  .fiche dt { border-right: 0; padding-bottom: 0; }
  .fiche dd { padding-top: 4px; }
  .btn--lg { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* Correctifs après relecture des captures */
.ph__img, .hero__photo, .duo__img, .agrements__doc, .bandeau { margin: 0; }
.encadre .liens-svc li { padding: 0; border-top: 0; }
.liens-svc li + li a { border-top: 1px solid var(--filet-doux); }
.ph__img img.contain { object-fit: contain; background: #fff; padding: 24px; }
.form label.rgpd { display: flex; font: 400 .92rem/1.45 var(--f-texte); letter-spacing: 0; text-transform: none; color: var(--gris); margin: 0; }
@media (max-width: 560px) { .produit img { max-width: 150px; } }
