/* ==========================================================================
   Bat Bi Menuiseries : feuille de style
   Monde visuel : bleu nuit, trait de dessin technique couleur bronze champagne,
   grands titres Libre Caslon Display, texte Albert Sans. Polices auto-hébergées.
   ========================================================================== */

@font-face { font-family: "Libre Caslon Display"; src: url(../fonts/libre-caslon-display.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Albert Sans"; src: url(../fonts/albert-sans.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
/* Replis métriquement proches pour limiter le décalage au chargement */
@font-face { font-family: "Caslon repli"; src: local("Georgia"), local("Times New Roman"); size-adjust: 92%; ascent-override: 92%; }
@font-face { font-family: "Albert repli"; src: local("Arial"), local("Helvetica"); size-adjust: 101%; }

:root {
  --nuit: #0B121D;
  --nuit-2: #101A28;
  --nuit-3: #162234;
  --pied: #070C14;
  --filet: #223047;
  --filet-2: #33435E;
  --texte: #ECE6DA;
  --texte-2: #B0B8C5;
  --texte-3: #8D98AA;
  --or: #C9A47E;
  --or-c: #DFC3A2;
  --or-f: #9C7B58;
  --acier: #7F8CA2;
  --lumiere: #E8B57A;
  --ok: #8CC7A1;
  --err: #F0A08C;

  --display: "Libre Caslon Display", "Caslon repli", Georgia, serif;
  --sans: "Albert Sans", "Albert repli", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r: 2px;
  --tete-h: 76px;
  --fond-dessin: var(--nuit);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--tete-h) + 16px); color-scheme: dark; }
body {
  margin: 0; background: var(--nuit); color: var(--texte);
  font: 400 1.0625rem/1.68 var(--sans); letter-spacing: .006em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  caret-color: var(--or);
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--or-c); text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--texte); }
::selection { background: var(--or); color: var(--nuit); }
:focus-visible { outline: 2px solid var(--or-c); outline-offset: 3px; border-radius: 1px; }
html { scrollbar-color: var(--filet-2) var(--nuit); }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--nuit); }
::-webkit-scrollbar-thumb { background: var(--filet-2); border: 3px solid var(--nuit); border-radius: 8px; }

h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.012em; text-wrap: balance; margin: 0 0 .45em; color: var(--texte); }
h1 { font-size: clamp(2.45rem, 1.5rem + 3.7vw, 4.6rem); line-height: 1.04; }
h2 { font-size: clamp(1.9rem, 1.35rem + 1.9vw, 2.85rem); line-height: 1.1; }
h3 { font: 600 1.14rem/1.35 var(--sans); letter-spacing: .005em; margin: 0 0 .5em; color: var(--texte); }
p { margin: 0 0 1em; }
strong { font-weight: 650; color: var(--texte); }
small { font-size: .82em; }
.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.22rem); line-height: 1.6; color: var(--texte-2); max-width: 58ch; }
.nw { white-space: nowrap; }

.wrap { width: 100%; max-width: 1220px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }
.etroit { max-width: 820px; }

.saut { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--or); color: var(--nuit); padding: 10px 16px; font-weight: 600; text-decoration: none; }
.saut:focus { top: 12px; }

.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .78em 1.25em; border: 1px solid transparent; border-radius: var(--r);
  font: 600 .98rem/1.2 var(--sans); letter-spacing: .015em; text-decoration: none; cursor: pointer;
  transition: background-color .25s, border-color .25s, color .25s, transform .25s cubic-bezier(.16,1,.3,1);
}
.btn .ico { width: 1.05em; height: 1.05em; }
.btn--lg { padding: 1em 1.55em; font-size: 1.02rem; }
.btn--or { background: var(--or); color: var(--nuit); }
.btn--or:hover { background: var(--or-c); color: var(--nuit); }
.btn--or .ico { transition: transform .3s cubic-bezier(.16,1,.3,1); }
.btn--or:hover .ico:last-child { transform: translateX(3px); }
.btn--trait { border-color: var(--filet-2); color: var(--texte); background: transparent; }
.btn--trait:hover { border-color: var(--or); color: var(--or-c); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .55; cursor: progress; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 0; }

.lien-fleche { display: inline; font-weight: 600; text-decoration: none; color: var(--or-c); }
.lien-fleche .ico { display: inline-block; vertical-align: -.2em; margin-inline: .3em; }
.lien-fleche .ico { transition: transform .3s cubic-bezier(.16,1,.3,1); }
.lien-fleche:hover { color: var(--texte); }
.lien-fleche:hover .ico { transform: translateX(4px); }

/* ---------- En-tête ---------- */
.tete { position: sticky; top: 0; z-index: 50; height: var(--tete-h); border-bottom: 1px solid var(--filet); }
/* Le flou est porté par un pseudo-élément : sur l'en-tête lui-même, il piégerait le menu mobile en position fixe */
.tete::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(11, 18, 29, .9);
  -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2);
}
.tete__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--texte); flex: none; }
.logo__mark { width: 34px; height: 34px; color: var(--or); }
.logo__mot { display: flex; flex-direction: column; line-height: 1; }
.logo__nom { font-family: var(--display); font-size: 1.55rem; letter-spacing: .005em; }
.logo__sous { font-size: .6rem; font-weight: 600; letter-spacing: .36em; text-transform: uppercase; color: var(--texte-2); margin-top: 5px; }
.logo:hover { color: var(--texte); }

.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav ul a { display: block; padding: 8px 10px; color: var(--texte-2); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav ul a:hover { color: var(--texte); }
.nav ul a[aria-current="page"] { color: var(--or-c); text-decoration: underline; text-decoration-color: var(--or); text-underline-offset: 10px; }
.nav__extra { display: none; }

.tete__actions { display: flex; align-items: center; gap: 14px; }
.tete__tel { display: inline-flex; align-items: center; gap: 8px; color: var(--texte); text-decoration: none; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.tete__tel .ico { color: var(--or); }
.tete__tel:hover { color: var(--or-c); }
.tete__devis { padding: .62em 1.1em; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--filet-2); background: transparent; border-radius: var(--r); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--texte); transition: transform .3s cubic-bezier(.16,1,.3,1), top .3s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1180px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: var(--tete-h) 0 0 0; z-index: 49; margin: 0; padding: 24px clamp(20px, 4vw, 40px) 40px;
    background: var(--nuit); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .3s, transform .4s cubic-bezier(.16,1,.3,1), visibility 0s .4s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .4s cubic-bezier(.16,1,.3,1); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { font-family: var(--display); font-size: 1.85rem; color: var(--texte); padding: 12px 0; border-bottom: 1px solid var(--filet); }
  .nav ul a[aria-current="page"] { text-decoration: none; color: var(--or-c); }
  .nav__extra { display: grid; gap: 12px; margin-top: 28px; max-width: 420px; }
  .nav__info { color: var(--texte-3); font-size: .9rem; margin: 4px 0 0; }
  body.nav-ouverte { overflow: hidden; }
  body.nav-ouverte .mbar { display: none; }
}
@media (max-width: 760px) {
  :root { --tete-h: 66px; }
  .tete__tel span { display: none; }
  .tete__tel { width: 44px; height: 44px; justify-content: center; border: 1px solid var(--filet-2); border-radius: var(--r); }
  .tete__devis { display: none; }
  .logo__mark { width: 30px; height: 30px; }
  .logo__nom { font-size: 1.38rem; }
}

/* ---------- Fil d'Ariane ---------- */
.fil { padding-top: 22px; }
.fil ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .86rem; color: var(--texte-3); }
.fil li + li::before { content: "/"; margin-right: 6px; color: var(--filet-2); }
.fil a { color: var(--texte-2); text-decoration: none; }
.fil a:hover { color: var(--or-c); }

/* ---------- Fond « plan » (grille fine) ---------- */
.hero, .phero {
  position: relative;
  background:
    radial-gradient(ellipse 60% 70% at 78% 50%, rgba(232, 181, 122, .08), transparent 70%),
    linear-gradient(rgba(127, 140, 162, .055) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(127, 140, 162, .055) 1px, transparent 1px) 0 0 / 28px 28px,
    var(--nuit);
}

/* ---------- Accueil : hero ---------- */
.hero { padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 8vw, 110px); border-bottom: 1px solid var(--filet); }
.hero__in { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.45rem, 1.4rem + 3.1vw, 4.15rem); }
.hero__dessin, .phero__dessin { margin: 0; }
.hero__dessin figcaption, .phero__dessin figcaption {
  display: flex; align-items: center; gap: 12px; margin-top: 16px;
  font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--texte-3);
}
.hero__dessin figcaption::before, .phero__dessin figcaption::before { content: ""; width: 32px; height: 1px; background: var(--or-f); }
.note--hero { margin-top: 28px; }

@media (max-width: 900px) {
  .hero__in { grid-template-columns: 1fr; }
  .hero h1 { max-width: 16ch; }
  .hero__dessin { max-width: 440px; }
}

/* ---------- Dessins techniques ---------- */
.dessin { width: 100%; height: auto; overflow: visible; }
.d-trait { fill: none; stroke: var(--or); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.d-plein { fill: var(--fond-dessin); }
.d-fin { fill: none; stroke: var(--acier); stroke-width: 1; vector-effect: non-scaling-stroke; }
.d-fin--pale { opacity: .4; }
.d-verre { fill: rgba(127, 140, 162, .1); stroke: none; }
.d-verre--fort { fill: rgba(170, 190, 215, .32); }
.d-ouv { fill: none; stroke: var(--or-c); stroke-width: 1; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.d-cote { fill: none; stroke: var(--acier); stroke-width: .9; vector-effect: non-scaling-stroke; }
.d-txt { font: 600 9px var(--sans); fill: var(--texte-2); text-anchor: middle; letter-spacing: .1em; }
.d-lumiere { opacity: .08; }
.d-chaud { fill: none; stroke: var(--lumiere); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.d-froid { fill: none; stroke: #8FB2D6; stroke-width: 1.4; vector-effect: non-scaling-stroke; }

/* Le moment animé du site : la baie s'ouvre et laisse passer la lumière */
.dessin--anime .vantail--b { animation: coulisse 2.2s cubic-bezier(.16, 1, .3, 1) .6s both; }
.dessin--anime .d-lumiere { animation: lumiere 2.4s cubic-bezier(.16, 1, .3, 1) .7s both; }
@keyframes coulisse { from { transform: translateX(0); } to { transform: translateX(-80px); } }
@keyframes lumiere { from { opacity: .08; } to { opacity: .42; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dessin--anime .vantail--b { animation: none; transform: translateX(-80px); }
  .dessin--anime .d-lumiere { animation: none; opacity: .42; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ---------- Note Google ---------- */
.note { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--texte-2); text-decoration: none; font-size: .93rem; }
.note:hover { color: var(--texte); }
.note__etoiles { display: inline-flex; gap: 2px; color: var(--or); }
.note__etoiles .ico { width: 15px; height: 15px; }
.note small { color: var(--texte-3); }

/* ---------- Réassurance ---------- */
.rea { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: .92rem; color: var(--texte-2); }
.rea li { display: inline-flex; align-items: center; gap: 8px; }
.rea .ico { color: var(--or); width: 17px; height: 17px; }

/* ---------- Cartouche (bloc d'identité façon plan d'architecte) ---------- */
.cartouche-wrap { border-bottom: 1px solid var(--filet); background: var(--nuit-2); }
.cartouche { margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-left: 1px solid var(--filet); }
.cartouche > div { padding: 20px 20px 22px; border-right: 1px solid var(--filet); }
.cartouche dt { font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--texte-3); margin-bottom: 6px; }
.cartouche dd { margin: 0; font-size: .98rem; color: var(--texte); line-height: 1.4; }
@media (max-width: 980px) {
  .cartouche { grid-template-columns: repeat(2, 1fr); border-left: 0; }
  .cartouche > div { border-right: 0; border-bottom: 1px solid var(--filet); padding-inline: 0; }
  .cartouche > div:nth-child(odd) { padding-right: 16px; }
  .cartouche > div:last-child { grid-column: 1 / -1; border-bottom: 0; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 7.5vw, 104px) 0; }
.section--releve { background: var(--nuit-2); --fond-dessin: var(--nuit-2); }
.section__tete { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.section__tete p { color: var(--texte-2); max-width: 62ch; }

/* ---------- Liste des menuiseries ---------- */
.gammes__liste { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--filet); }
.gammes__liste a {
  display: grid; grid-template-columns: 112px minmax(0, 1fr) minmax(0, 1.1fr) 32px; align-items: center; gap: clamp(16px, 3vw, 40px);
  padding: 20px 8px; border-top: 1px solid var(--filet); text-decoration: none; color: var(--texte);
  transition: background-color .35s;
}
.gammes__dessin .dessin { width: 112px; }
.gammes__dessin .d-txt, .gammes__dessin .d-cote { display: none; }
.gammes__nom { font-family: var(--display); font-size: clamp(1.55rem, 1.2rem + 1vw, 2.15rem); line-height: 1.12; transition: color .3s; }
.gammes__ligne { color: var(--texte-2); }
.gammes__fleche { width: 24px; height: 24px; color: var(--or); transition: transform .35s cubic-bezier(.16,1,.3,1); }
.gammes__liste a:hover { background: var(--nuit-2); --fond-dessin: var(--nuit-2); }
.gammes__liste a:hover .gammes__nom { color: var(--or-c); }
.gammes__liste a:hover .gammes__fleche { transform: translateX(6px); }
@media (max-width: 760px) {
  .gammes__liste a { grid-template-columns: 76px minmax(0, 1fr) 24px; grid-template-areas: "d n f" "d l f"; gap: 2px 18px; padding: 18px 0; }
  .gammes__dessin { grid-area: d; }
  .gammes__dessin .dessin { width: 76px; }
  .gammes__nom { grid-area: n; }
  .gammes__ligne { grid-area: l; font-size: .94rem; line-height: 1.45; }
  .gammes__fleche { grid-area: f; width: 20px; }
}

/* ---------- Duo texte + points ---------- */
.duo { background: var(--nuit-2); --fond-dessin: var(--nuit-2); }
.duo__in { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.duo__txt p { color: var(--texte-2); max-width: 62ch; }
.duo__points { list-style: none; margin: 0; padding: 0; }
.duo__points li { display: flex; gap: 16px; padding: 22px 0; border-top: 1px solid var(--filet); }
.duo__points li:last-child { border-bottom: 1px solid var(--filet); }
.duo__points .ico { width: 26px; height: 26px; color: var(--or); margin-top: 2px; }
.duo__points strong { display: block; font-size: 1.06rem; }
.duo__points span { color: var(--texte-2); font-size: .96rem; }
@media (max-width: 900px) { .duo__in { grid-template-columns: 1fr; } }

/* ---------- RGE ---------- */
.rge__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.rge__dessin { border: 1px solid var(--filet-2); padding: clamp(20px, 3vw, 40px); background: var(--nuit-2); --fond-dessin: var(--nuit-2); position: relative; }
.rge__dessin::after { content: "Coupe de principe"; position: absolute; left: 16px; bottom: 10px; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--texte-3); }
.rge p { color: var(--texte-2); max-width: 64ch; }
@media (max-width: 900px) { .rge__in { grid-template-columns: 1fr; } .rge__dessin { max-width: 420px; } }

/* ---------- À compléter ---------- */
.a-completer {
  border: 1px dashed var(--or-f); background: rgba(201, 164, 126, .06);
  padding: .75em 1em; margin: 1.4em 0; font-size: .9rem; line-height: 1.5; color: var(--texte-2); border-radius: var(--r);
}
.a-completer__lib { display: inline-block; margin-right: .5em; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--or); }

/* ---------- Réalisations (emplacements) ---------- */
.reals { border-top: 1px solid var(--filet); }
.reals__grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.reals__vide {
  margin: 0; aspect-ratio: 4 / 3; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 14px; text-align: center;
  border: 1px dashed var(--or-f); background: rgba(201, 164, 126, .04); padding: 24px; color: var(--texte-2); font-size: .9rem; line-height: 1.5;
}
.reals__vide .ico { width: 30px; height: 30px; color: var(--or-f); }
@media (max-width: 860px) { .reals__grille { grid-template-columns: 1fr; } .reals__vide { aspect-ratio: auto; min-height: 150px; } }

/* ---------- Communes ---------- */
.communes { background: var(--nuit-2); }
.communes__liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.communes__liste li > a, .communes__liste li > span {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 18px 20px;
  border: 1px solid var(--filet-2); text-decoration: none; color: var(--texte); height: 100%;
  transition: border-color .3s, background-color .3s;
}
.communes__liste li > a:hover { border-color: var(--or); background: var(--nuit-3); }
.communes__liste li > a .communes__nom { color: var(--or-c); }
.communes__nom { font-family: var(--display); font-size: 1.4rem; line-height: 1.15; }
.communes__temps { display: inline-flex; align-items: center; gap: 6px; color: var(--texte-2); font-size: .9rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.communes__temps .ico { width: 16px; height: 16px; color: var(--acier); }

/* ---------- Guide (accroche) ---------- */
.guide-teaser__in { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 48px); align-items: start; max-width: 900px; }
.guide-teaser__ico { width: 54px; height: 54px; color: var(--or); stroke-width: 1.1; }
.guide-teaser p { color: var(--texte-2); max-width: 62ch; }

/* ---------- FAQ ---------- */
.faq { background: var(--nuit-2); }
.faq__in { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq__in > h2 { position: sticky; top: calc(var(--tete-h) + 32px); }
.faq__liste { border-top: 1px solid var(--filet-2); }
.faq details { border-bottom: 1px solid var(--filet-2); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-weight: 600; font-size: 1.07rem; line-height: 1.4; color: var(--texte);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 1.5px; background: var(--or); transition: transform .35s cubic-bezier(.16,1,.3,1); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq summary:hover { color: var(--or-c); }
.faq__rep { padding: 0 0 22px; color: var(--texte-2); max-width: 66ch; }
.faq__rep p:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .faq__in { grid-template-columns: 1fr; } .faq__in > h2 { position: static; } }

/* ---------- Bande finale (métal brossé) ---------- */
.cta {
  background: linear-gradient(100deg, #BD9772 0%, #D6B893 48%, #C9A47E 100%);
  color: var(--nuit); padding: clamp(52px, 7vw, 88px) 0;
}
.cta__in { display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px 64px; align-items: center; }
.cta h2 { color: var(--nuit); margin-bottom: .3em; }
.cta p { color: #2A2620; max-width: 56ch; margin: 0; }
.cta .btn--or { background: var(--nuit); color: var(--texte); }
.cta .btn--or:hover { background: var(--nuit-3); color: #fff; }
.cta :focus-visible { outline-color: var(--nuit); }
.cta__tel { margin-top: 16px !important; font-size: .98rem; line-height: 1.5; }
.cta__tel a { color: var(--nuit); font-weight: 700; font-variant-numeric: tabular-nums; }
.cta__tel small { color: #3A342B; }
@media (max-width: 860px) { .cta__in { grid-template-columns: 1fr; } }

/* ---------- Pages intérieures : en-tête ---------- */
.phero { padding: clamp(36px, 5vw, 64px) 0 clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--filet); margin-top: -1px; }
.phero__in { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.phero h1 { font-size: clamp(2.3rem, 1.5rem + 3vw, 4rem); max-width: 16ch; }
.phero__dessin { border: 1px solid var(--filet-2); padding: clamp(18px, 3vw, 36px); background: rgba(11, 18, 29, .7); }
@media (max-width: 900px) {
  .phero__in { grid-template-columns: 1fr; }
  .phero__dessin { max-width: 300px; padding: 16px; }
  .phero__dessin figcaption { margin-top: 10px; }
}

/* ---------- Contenu éditorial ---------- */
.contenu__in { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 6vw, 96px); align-items: start; }
.prose { max-width: 68ch; }
.prose > h2 { margin-top: 1.6em; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); }
.prose > h2:first-child { margin-top: 0; }
.prose > h3 { margin-top: 1.8em; }
.prose p, .prose li { color: var(--texte-2); }
.prose strong { color: var(--texte); }
.prose ul:not(.coches) { padding-left: 1.2em; }
.prose ul:not(.coches) li::marker { color: var(--or); }
.prose li { margin-bottom: .45em; }

.coches { list-style: none; margin: 0 0 1.2em; padding: 0; }
.coches li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: .6em; color: var(--texte-2); }
.coches .ico { color: var(--or); margin-top: .3em; width: 18px; height: 18px; }

.def { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 1.6em 0 2em; border-top: 1px solid var(--filet-2); }
.def > div { padding: 20px 0; border-bottom: 1px solid var(--filet-2); }
.def h3 { font-family: var(--display); font-weight: 400; font-size: 1.45rem; letter-spacing: 0; margin-bottom: .35em; }
.def p { margin: 0; font-size: .97rem; }
@media (max-width: 640px) { .def { grid-template-columns: 1fr; } }

.encart {
  position: sticky; top: calc(var(--tete-h) + 28px);
  border: 1px solid var(--filet-2); background: var(--nuit-2); padding: 28px;
}
.encart h2 { font-size: 1.65rem; margin-bottom: .4em; }
.encart p { color: var(--texte-2); font-size: .95rem; }
.encart .btn { width: 100%; margin-top: 6px; }
.encart .rea { flex-direction: column; gap: 10px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--filet); }
@media (max-width: 960px) {
  .contenu__in { grid-template-columns: 1fr; }
  .encart { position: static; }
}

/* ---------- Contact / formulaire ---------- */
.contact__in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form .plein { grid-column: 1 / -1; }
.champ { display: flex; flex-direction: column; gap: 7px; }
.champ label, .champ .lib { font-size: .9rem; font-weight: 600; color: var(--texte); }
.champ .opt { font-weight: 400; color: var(--texte-3); }
.champ input, .champ select, .champ textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--texte); background: var(--nuit);
  border: 1px solid var(--filet-2); border-radius: var(--r); padding: 13px 14px; min-height: 50px;
  transition: border-color .2s, box-shadow .2s;
}
.champ textarea { min-height: 130px; resize: vertical; line-height: 1.55; }
.champ select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--or) 50%), linear-gradient(135deg, var(--or) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.champ input::placeholder, .champ textarea::placeholder { color: var(--texte-3); }
.champ input:hover, .champ select:hover, .champ textarea:hover { border-color: var(--acier); }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--or); box-shadow: 0 0 0 3px rgba(201, 164, 126, .22); }
.champ input:user-invalid { border-color: var(--err); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--texte-2); line-height: 1.5; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--or); flex: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__envoi { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.form__note { font-size: .86rem; color: var(--texte-3); margin: 0; }
.form__msg { grid-column: 1 / -1; margin: 0; padding: 14px 16px; border: 1px solid; border-radius: var(--r); font-size: .95rem; }
.form__msg[hidden] { display: none; }
.form__msg.is-ok { border-color: var(--ok); color: var(--ok); background: rgba(140, 199, 161, .08); }
.form__msg.is-err { border-color: var(--err); color: var(--err); background: rgba(240, 160, 140, .08); }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

.coord { border: 1px solid var(--filet-2); background: var(--nuit-2); padding: 28px; }
.coord h2 { font-size: 1.6rem; }
.coord dl { margin: 0; }
.coord dt { font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--texte-3); margin-top: 18px; }
.coord dd { margin: 4px 0 0; color: var(--texte); }
.coord dd a { color: var(--texte); text-decoration-color: var(--or-f); }
.coord dd a:hover { color: var(--or-c); }
.coord__tel { font-family: var(--display); font-size: 1.9rem; text-decoration: none !important; font-variant-numeric: lining-nums; }
@media (max-width: 960px) { .contact__in { grid-template-columns: 1fr; } }

/* ---------- Plan du site, mentions ---------- */
.plan { columns: 2 280px; column-gap: 48px; padding: 0; list-style: none; }
.plan li { break-inside: avoid; padding: 10px 0; border-bottom: 1px solid var(--filet); }
.legal h2 { font-size: 1.6rem; margin-top: 1.6em; }
.legal p, .legal li { color: var(--texte-2); }

/* ---------- Pied de page ---------- */
.pied { background: var(--pied); border-top: 1px solid var(--filet); padding: 72px 0 0; font-size: .95rem; }
.pied__grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.pied__marque p { color: var(--texte-2); max-width: 36ch; margin-top: 18px; }
.pied__h { font: 600 .7rem/1.2 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--texte-3); margin: 6px 0 18px; }
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li { margin-bottom: 9px; }
.pied a { color: var(--texte-2); text-decoration: none; }
.pied a:hover { color: var(--or-c); }
.pied address { font-style: normal; color: var(--texte-2); line-height: 1.75; }
.pied__horaires { display: flex; gap: 8px; align-items: flex-start; color: var(--texte-2); margin-top: 14px; }
.pied__horaires .ico { color: var(--or); margin-top: .25em; }
.note--pied { font-size: .88rem; }
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 56px; padding: 24px clamp(20px, 4vw, 40px); border-top: 1px solid var(--filet); font-size: .85rem; color: var(--texte-3); }
.pied__bas p { margin: 0; }
.pied__liens { display: flex; flex-wrap: wrap; gap: 20px; }
@media (max-width: 960px) { .pied__grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pied__grille { grid-template-columns: 1fr; } }

/* ---------- Barre d'appel mobile ---------- */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(7, 12, 20, .96); border-top: 1px solid var(--filet-2);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    transition: transform .3s cubic-bezier(.16,1,.3,1);
  }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: var(--r); font-weight: 600; text-decoration: none; }
  .mbar__tel { border: 1px solid var(--filet-2); color: var(--texte); }
  .mbar__tel .ico { color: var(--or); }
  .mbar__devis { background: var(--or); color: var(--nuit); }
  .mbar.is-cachee { transform: translateY(110%); }
  body { padding-bottom: 74px; }
}

/* ---------- Impression ---------- */
@media print {
  .tete, .mbar, .cta, .nav, .pied__liens { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
}

/* Étapes numérotées (la séquence porte une information : l'ordre compte) */
.etapes { list-style: none; counter-reset: e; padding: 0; margin: 1.2em 0 1.6em; }
.etapes li { counter-increment: e; position: relative; padding: 0 0 18px 56px; margin: 0 0 18px; border-bottom: 1px solid var(--filet); color: var(--texte-2); }
.etapes li::before { content: counter(e); position: absolute; left: 0; top: -4px; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--or); color: var(--or-c); font-family: var(--display); font-size: 1.15rem; }
.etapes li:last-child { border-bottom: 0; }

/* Secteur */
.zones { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 0 48px; }
.zones li { padding: 28px 0; border-top: 1px solid var(--filet-2); }
.zones__tete { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.zones h2 { font-size: 1.9rem; margin-bottom: .3em; }
.zones p { color: var(--texte-2); }
.note-src { font-size: .86rem; color: var(--texte-3); margin-top: 24px; }
.phero > .wrap > h1 { max-width: 18ch; }

/* Contact */
.phero--contact { padding-bottom: clamp(36px, 5vw, 56px); }
.section--contact { padding-top: clamp(40px, 5vw, 64px); }
.coord .note { font-size: .9rem; }
.coord .lien-fleche { margin-top: 4px; }
