/* ==========================================================================
   OBATIS · maquette MAIATECH
   Palette : noir profond + orange #ff7f00 (couleur exacte du logo)
   Typo    : Archivo (titres) + Inter (textes)
   ========================================================================== */

/* Archivo et Inter restent chargées : certaines pages intérieures
   n'ont pas encore basculé, et le repli doit rester propre. */
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --noir:        #0f1012;
  --noir-2:      #17191c;
  --noir-3:      #202328;
  --noir-4:      #2a2e34;
  --ligne:       #30343a;
  --blanc:       #f5f3ef;   /* blanc chaud, pas bleuté */
  --gris:        #b9bec5;
  --gris-fonce:  #8b939d;

  --orange:      #ff7f00;
  --orange-vif:  #ff9326;
  --orange-sombre: #8a4500;  /* brun chaud, lisible sur fond clair */

  --clair:       #f2f1ee;   /* papier, légèrement chaud */
  --clair-2:     #e4e1da;
  --clair-ligne: #dcd9d2;
  --encre:       #141414;
  --encre-2:     #3f3c37;

  --pad:  clamp(1.15rem, 5vw, 5rem);
  --maxw: 1240px;
  --r:    2px;

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' seed='7'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23g)' opacity='0.25'/%3E%3C/svg%3E");

  /* Trame de chevrons reprise du symbole */
  --chevrons: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23ff7f00' stroke-width='2' opacity='0.16'%3E%3Cpath d='M0 30 L30 0 L60 30 L30 60 Z'/%3E%3Cpath d='M60 90 L90 60 L120 90 L90 120 Z'/%3E%3C/g%3E%3C/svg%3E");
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  background: var(--noir);
  color: var(--blanc);
  font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.68;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
@supports (overflow-x: clip) {
  body { overflow-x: clip; }
}

img, video { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: 'Familjen Grotesk', 'Archivo', sans-serif;
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.04;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6.6vw, 5.1rem); font-weight: 900; }
h2 { font-size: clamp(1.9rem, 4.1vw, 3.15rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); letter-spacing: -0.015em; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(4rem, 9vw, 8rem) 0; position: relative; }
.section-clair { background: var(--clair); color: var(--encre); }
.section-clair .lead { color: var(--encre-2); }
.section-noir-2 { background: var(--noir-2); }

.lead {
  font-size: clamp(1.06rem, 1.5vw, 1.25rem);
  color: var(--gris);
  line-height: 1.62;
  max-width: 64ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.15rem;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--orange);
  flex: none;
}
.section-clair .eyebrow { color: var(--orange-sombre); }
.section-clair .eyebrow::before { background: var(--orange-sombre); }

em.o { font-style: normal; color: var(--orange); }

/* ---------- Bandeau maquette ---------- */
.demo-bar {
  background: var(--orange);
  color: #1a0f00;
  font-size: .82rem;
  font-weight: 600;
  text-align: center;
  padding: .55rem 2.6rem .55rem 1rem;
  position: relative;
  line-height: 1.45;
}
.demo-bar button {
  position: absolute;
  right: .5rem; top: 50%;
  transform: translateY(-50%);
  background: none; border: 0;
  color: inherit;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  padding: .1rem .45rem;
}

/* ---------- Entête ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: transparent;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.solid {
  background: rgba(11, 12, 14, .93);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: rgba(255, 255, 255, .09);
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding-top: .85rem;
  padding-bottom: .85rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: .68rem;
  text-decoration: none;
  font-family: 'Familjen Grotesk', sans-serif;
  font-weight: 900;
  font-size: 1.32rem;
  letter-spacing: -.02em;
  margin-right: auto;
  flex: none;
}
.logo img { width: 34px; height: auto; }
.logo span { display: flex; flex-direction: column; line-height: 1; }
.logo small {
  font-family: 'Instrument Sans', sans-serif;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-top: .3rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-size: .93rem;
  font-weight: 500;
  color: #dfe3e8;
  position: relative;
  padding: .3rem 0;
  white-space: nowrap;
  transition: color .18s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width .24s ease;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.btn-header { flex: none; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 38px;
  background: none;
  border: 1px solid rgba(255,255,255,.22);
  cursor: pointer;
  padding: 0 9px;
  flex: none;
}
.burger span {
  display: block;
  height: 2px;
  background: #fff;
  transition: transform .25s, opacity .2s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-family: 'Familjen Grotesk', sans-serif;
  font-weight: 700;
  font-size: .93rem;
  letter-spacing: .01em;
  padding: .78rem 1.5rem;
  border: 2px solid transparent;
  border-radius: var(--r);
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, background .2s, color .2s, border-color .2s;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #14100a; border-color: var(--orange); }
.btn-primary:hover { background: var(--orange-vif); border-color: var(--orange-vif); }
.btn-ghost { border-color: rgba(255,255,255,.3); color: #fff; background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn-dark { background: var(--noir); color: #fff; border-color: var(--noir); }
.btn-dark:hover { background: var(--noir-3); border-color: var(--noir-3); }
.btn-lg { padding: 1rem 1.9rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- Héros ---------- */
.hero {
  position: relative;
  min-height: min(94vh, 880px);
  display: flex;
  align-items: flex-end;
  margin-top: -74px;
  padding-top: 74px;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 32%;
  will-change: transform;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(11,12,14,.97) 4%, rgba(11,12,14,.72) 38%, rgba(11,12,14,.35) 68%, rgba(11,12,14,.62) 100%),
    linear-gradient(to right, rgba(11,12,14,.82) 0%, rgba(11,12,14,.15) 62%);
}
.hero-inner {
  width: 100%;
  padding-top: clamp(5rem, 14vw, 9rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  position: relative;
}
.hero h1 { max-width: 15ch; margin-bottom: .45em; }
.hero .lead { max-width: 54ch; color: #ccd2da; }
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2.1rem;
  align-items: center;
}

/* Bandeau de métiers sous le héros */
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 2.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,.14);
}
.hero-tags span {
  font-size: .8rem;
  font-weight: 600;
  color: #c7cdd5;
  padding: .32rem .82rem;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 999px;
}
.hero-tags span.fort {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(255,127,0,.08);
}

/* Héros court des pages intérieures */
.hero-page {
  position: relative;
  min-height: min(62vh, 560px);
  display: flex;
  align-items: flex-end;
  margin-top: -74px;
  padding-top: 74px;
  overflow: hidden;
  isolation: isolate;
}
.hero-page .hero-media img { object-position: center 34%; }
.hero-page.cadrage-haut .hero-media img { object-position: center 18%; }
.hero-page::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(11,12,14,.96) 6%, rgba(11,12,14,.66) 46%, rgba(11,12,14,.5) 100%),
    linear-gradient(to right, rgba(11,12,14,.8) 0%, rgba(11,12,14,.2) 70%);
}
.hero-page .hero-inner { padding-top: clamp(4rem, 11vw, 7rem); }
.hero-page h1 { font-size: clamp(2.2rem, 5.2vw, 4.1rem); max-width: 18ch; }

/* Fil d'Ariane */
.fil {
  font-size: .82rem;
  color: var(--gris);
  margin-bottom: 1rem;
}
.fil a { text-decoration: none; color: var(--gris); }
.fil a:hover { color: var(--orange); }
.fil span { color: #fff; }

/* ---------- Barre de réassurance ---------- */
.bandeau {
  background: var(--noir-2);
  border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.bandeau .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.07);
  padding: 0;
  max-width: none;
}
.bandeau-item {
  background: var(--noir-2);
  padding: 1.9rem clamp(1rem, 2.4vw, 2.2rem);
  display: flex;
  gap: .95rem;
  align-items: flex-start;
}
.bandeau-item svg { flex: none; width: 26px; height: 26px; stroke: var(--orange); margin-top: 3px; }
.bandeau-item strong {
  display: block;
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: 1rem;
  letter-spacing: -.01em;
  margin-bottom: .15rem;
}
.bandeau-item p { font-size: .87rem; color: var(--gris); margin: 0; line-height: 1.5; }

/* ---------- Grille de prestations ---------- */
.grille-services {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.15rem;
  margin-top: 3rem;
}
.carte {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r);
  background: var(--noir-2);
  text-decoration: none;
  color: var(--blanc);
  display: flex;
  flex-direction: column;
  min-height: 300px;
  transition: border-color .25s, transform .25s;
  grid-column: span 4;
}
.carte:hover { border-color: rgba(255,127,0,.55); transform: translateY(-4px); }
.carte-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.carte-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform .7s cubic-bezier(.2,.7,.3,1);
  filter: saturate(.9);
}
.carte:hover .carte-media img { transform: scale(1.06); }
.carte-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,12,14,.97) 26%, rgba(11,12,14,.8) 58%, rgba(11,12,14,.4) 100%);
}
.carte-corps {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 1.5rem 1.45rem 1.35rem;
}
.carte h3 { margin-bottom: .35rem; color: #fff; }
.section-clair .carte h3 { color: #fff; }
.carte p { font-size: .91rem; color: #c2c8d0; margin: 0; }
.carte .fleche {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .9rem;
  font-family: 'Familjen Grotesk', sans-serif;
  font-weight: 700;
  font-size: .84rem;
  color: var(--orange);
  letter-spacing: .02em;
}
.carte .fleche svg { width: 15px; height: 15px; stroke: var(--orange); transition: transform .22s; }
.carte:hover .fleche svg { transform: translateX(4px); }

/* Quatre cartes de meme rang : deux par ligne */
.grille-4 .carte { grid-column: span 6; min-height: 340px; }

/* Carte mise en avant : la climatisation */
.carte-phare {
  grid-column: span 8;
  min-height: 430px;
}
.carte-phare h3 { font-size: clamp(1.55rem, 2.7vw, 2.15rem); }
.carte-phare p { font-size: 1rem; max-width: 52ch; }
.carte-phare .carte-corps { padding: 2rem 1.9rem 1.75rem; }
.badge-phare {
  position: absolute;
  top: 1.1rem; left: 1.1rem;
  z-index: 2;
  background: var(--orange);
  color: #14100a;
  font-family: 'Familjen Grotesk', sans-serif;
  font-weight: 800;
  font-size: .7rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  padding: .38rem .8rem;
  border-radius: var(--r);
}
.carte-haute { grid-column: span 4; min-height: 430px; }

/* ---------- Blocs texte + image ---------- */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.duo-inverse .duo-texte { order: 2; }
.duo-media { position: relative; }
.duo-media img {
  width: 100%;
  height: auto;            /* neutralise l'attribut height du HTML */
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 32%;
  border-radius: var(--r);
}
.duo-media .cadre {
  position: absolute;
  inset: auto -14px -14px auto;
  width: 62%;
  height: 62%;
  border: 2px solid var(--orange);
  border-radius: var(--r);
  z-index: -1;
}
.duo h2 { margin-bottom: .5em; }

/* ---------- Listes à puces orange ---------- */
.liste-check { list-style: none; margin: 1.6rem 0 0; padding: 0; }
.liste-check li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: .78rem;
  font-size: .97rem;
  color: #d3d8de;
}
.section-clair .liste-check li { color: #3e444c; }
.liste-check li::before {
  content: '';
  position: absolute;
  left: 0; top: .52em;
  width: 9px; height: 9px;
  background: var(--orange);
  transform: rotate(45deg);
}
.liste-check li strong { color: #fff; font-weight: 600; }
.section-clair .liste-check li strong { color: var(--noir); }

/* ---------- Étapes ---------- */
.etapes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
  margin-top: 3.2rem;
  counter-reset: etape;
}
.etape {
  border-top: 2px solid rgba(255,255,255,.13);
  padding-top: 1.4rem;
  position: relative;
}
.section-clair .etape { border-top-color: rgba(0,0,0,.14); }
.etape::before {
  counter-increment: etape;
  content: '0' counter(etape);
  display: block;
  font-family: 'Familjen Grotesk', sans-serif;
  font-weight: 900;
  font-size: 2.1rem;
  color: var(--orange);
  line-height: 1;
  margin-bottom: .7rem;
  letter-spacing: -.04em;
}
.etape h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.etape p { font-size: .9rem; color: var(--gris); margin: 0; }
.section-clair .etape p { color: #5a616a; }

/* ---------- Chiffres ---------- */
.chiffres {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2.6rem;
}
.chiffre {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r);
  padding: 1.6rem 1.4rem;
  background: rgba(255,255,255,.02);
}
.chiffre b {
  display: block;
  font-family: 'Familjen Grotesk', sans-serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  color: var(--orange);
  line-height: 1;
  letter-spacing: -.035em;
  margin-bottom: .45rem;
}
.chiffre span { font-size: .88rem; color: var(--gris); }

/* ---------- Bloc citation / signature ---------- */
.signature {
  border-left: 3px solid var(--orange);
  padding-left: clamp(1.2rem, 3vw, 2.2rem);
  max-width: 60ch;
}
.signature p {
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.35;
  margin-bottom: 1rem;
}
.signature cite {
  font-style: normal;
  font-size: .88rem;
  color: var(--gris);
  letter-spacing: .04em;
}
.signature cite b { color: #fff; font-weight: 600; display: block; letter-spacing: 0; font-size: .98rem; }

/* ---------- Zone d'intervention ---------- */
.villes {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1.8rem;
}
.villes span {
  font-size: .87rem;
  padding: .38rem .9rem;
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 999px;
  color: #4a5058;
  background: #fff;
}
.section-noir-2 .villes span,
.section:not(.section-clair) .villes span {
  border-color: rgba(255,255,255,.16);
  color: #c3c9d1;
  background: rgba(255,255,255,.03);
}

/* ---------- FAQ ---------- */
.faq { margin-top: 2.6rem; max-width: 850px; }
.faq details {
  border-bottom: 1px solid rgba(255,255,255,.12);
  padding: 1.15rem 0;
}
.section-clair .faq details { border-bottom-color: rgba(0,0,0,.12); }
.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: 'Familjen Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.03rem;
  letter-spacing: -.012em;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-right: .5rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  margin-left: auto;
  color: var(--orange);
  font-size: 1.45rem;
  line-height: 1;
  font-weight: 400;
  flex: none;
  transition: transform .22s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  margin: .85rem 0 0;
  color: var(--gris);
  font-size: .96rem;
  max-width: 72ch;
}
.section-clair .faq details p { color: #545b64; }

/* ---------- Tableau de repères ---------- */
.tableau { width: 100%; border-collapse: collapse; margin-top: 2rem; font-size: .93rem; }
.tableau th, .tableau td {
  text-align: left;
  padding: .95rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.11);
}
.section-clair .tableau th, .section-clair .tableau td { border-bottom-color: rgba(0,0,0,.11); }
.tableau th {
  font-family: 'Familjen Grotesk', sans-serif;
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
}
.tableau td:first-child { font-weight: 600; }
.tableau-scroll { overflow-x: auto; }

/* ---------- Appel à l'action ---------- */
.cta-final {
  position: relative;
  overflow: hidden;
  background: var(--noir-2);
  border-top: 1px solid rgba(255,255,255,.08);
}
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--chevrons);
  background-size: 120px 120px;
  opacity: .55;
  pointer-events: none;
}
.cta-final .wrap { position: relative; text-align: center; }
.cta-final h2 { max-width: 20ch; margin-inline: auto; }
.cta-final .lead { margin-inline: auto; }
.cta-final .hero-cta { justify-content: center; }

/* ---------- Formulaire ---------- */
.form-bloc {
  background: var(--noir-2);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: var(--r);
  padding: clamp(1.5rem, 3.4vw, 2.6rem);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.champ.full { grid-column: 1 / -1; }
.champ label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gris);
  margin-bottom: .42rem;
}
.champ input, .champ select, .champ textarea {
  width: 100%;
  background: var(--noir);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r);
  color: #fff;
  font-family: inherit;
  font-size: .96rem;
  padding: .78rem .9rem;
  transition: border-color .18s, box-shadow .18s;
}
.champ textarea { min-height: 140px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,127,0,.16);
}
.champ input::placeholder, .champ textarea::placeholder { color: #5c646e; }
.form-note { font-size: .83rem; color: var(--gris-fonce); margin-top: 1rem; }
.form-ok {
  display: none;
  margin-top: 1.2rem;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--orange);
  background: rgba(255,127,0,.08);
  font-size: .92rem;
  color: #e8ebee;
}
.form-ok.visible { display: block; }

/* ---------- Coordonnées ---------- */
.coords { list-style: none; margin: 0; padding: 0; }
.coords li {
  display: flex;
  gap: .95rem;
  align-items: flex-start;
  padding: 1.05rem 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.coords li:last-child { border-bottom: 0; }
.coords svg { width: 22px; height: 22px; stroke: var(--orange); flex: none; margin-top: 4px; }
.coords strong {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gris);
  margin-bottom: .1rem;
}
.coords a, .coords span { text-decoration: none; font-size: 1.04rem; font-weight: 500; }
.coords a:hover { color: var(--orange); }

/* ---------- Pied de page ---------- */
.site-footer {
  background: var(--noir);
  border-top: 1px solid rgba(255,255,255,.09);
  padding: clamp(3rem, 6vw, 4.6rem) 0 2rem;
  font-size: .92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.4rem;
}
.footer-grid h4 {
  font-size: .76rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
  font-weight: 800;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: .55rem; }
.footer-grid a { text-decoration: none; color: var(--gris); transition: color .18s; }
.footer-grid a:hover { color: var(--orange); }
.footer-logo { width: 168px; margin-bottom: 1.1rem; }
.footer-slogan { color: var(--gris); max-width: 34ch; font-size: .92rem; }
.footer-bas {
  margin-top: 3rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.6rem;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem;
  color: var(--gris-fonce);
}
.footer-bas a { color: var(--gris-fonce); text-decoration: none; }
.footer-bas a:hover { color: var(--orange); }

/* ---------- Barre d'appel mobile ---------- */
.barre-mobile {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  background: rgba(11,12,14,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,.12);
  padding: .6rem .7rem calc(.6rem + env(safe-area-inset-bottom));
  gap: .6rem;
}
.barre-mobile .btn { flex: 1; padding: .8rem .6rem; font-size: .9rem; }

/* ---------- Contenu légal ---------- */
.legal { max-width: 800px; }
.legal h2 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); margin-top: 2.6rem; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: var(--gris); font-size: .96rem; }
.legal strong { color: #fff; font-weight: 600; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .5rem; }

/* ---------- Apparitions ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1);
}
.reveal.vu { opacity: 1; transform: none; }
html:not(.js) .reveal { opacity: 1; transform: none; }

/* ---------- Écrans intermédiaires ---------- */
@media (max-width: 1080px) {
  .bandeau .wrap { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .etapes { grid-template-columns: repeat(2, 1fr); }

  /* L'entete horizontale ne tient plus : on passe au menu plein écran.
     Le bouton téléphone, lui, reste visible jusqu'à 780 px. */
  .nav { gap: .9rem; }
  .burger { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(11,12,14,.985);
    flex-direction: column;
    justify-content: safe center;
    gap: 1.4rem;
    padding: 5.5rem 1.5rem calc(88px + env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    z-index: 65;
  }
  .nav-links.open { transform: none; }
  .nav-links a {
    font-family: 'Familjen Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  /* BLOQUANT 2 : sans cela le panneau recouvre le burger et le menu ne se referme plus */
  .burger { position: relative; z-index: 66; }
}

@media (max-width: 900px) {
  .carte, .carte-phare, .carte-haute,
  .grille-4 .carte { grid-column: span 6; min-height: 300px; }
  .carte-phare { grid-column: 1 / -1; min-height: 360px; }
  .duo { grid-template-columns: 1fr; gap: 2.2rem; }
  .duo-inverse .duo-texte { order: 0; }
  .chiffres { grid-template-columns: 1fr; }
}

/* ---------- Mobile ---------- */
@media (max-width: 780px) {
  body { font-size: 16px; }

  .btn-header { display: none; }

  .hero { min-height: 88vh; }
  .hero-inner { padding-bottom: 3.2rem; }
  .hero h1 { max-width: 100%; }
  .hero-cta .btn { flex: 1 1 100%; }

  .carte, .carte-phare, .carte-haute,
  .grille-4 .carte { grid-column: 1 / -1; min-height: 280px; }
  .bandeau .wrap { grid-template-columns: 1fr; }
  .etapes { grid-template-columns: 1fr; gap: 1.6rem; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .barre-mobile { display: flex; }
  body { padding-bottom: 68px; }
  .site-footer { padding-bottom: 1.4rem; }
}

@media (max-width: 420px) {
  .logo { font-size: 1.14rem; }
  .logo img { width: 29px; }
}

/* ---------- Impression ---------- */
@media print {
  .demo-bar, .site-header, .barre-mobile, .hero-media, .cta-final { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------- Bloc marque unique ---------- */
.marque {
  position: relative;
  overflow: hidden;
  background: var(--noir);
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.marque::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--chevrons);
  background-size: 120px 120px;
  opacity: .4;
  pointer-events: none;
}
.marque .wrap { position: relative; }
.marque-nom {
  font-family: 'Familjen Grotesk', sans-serif;
  font-weight: 900;
  font-size: clamp(2.1rem, 6.2vw, 4.6rem);
  letter-spacing: -.04em;
  line-height: .96;
  margin: 0 0 1.1rem;
}
.marque-nom span { display: block; color: var(--orange); }
.marque-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2.8rem;
}
.marque-point {
  border-top: 2px solid var(--orange);
  padding-top: 1.2rem;
}
.marque-point h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.marque-point p { font-size: .9rem; color: var(--gris); margin: 0; }

@media (max-width: 900px) {
  .marque-grid { grid-template-columns: 1fr; gap: 1.6rem; }
}

/* ==========================================================================
   Estimateur de climatisation
   ========================================================================== */
.simu {
  background: var(--noir-2);
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  position: relative;
  overflow: hidden;
}
/* clip découpe sans créer de contexte de défilement, ce qui laisse
   fonctionner le position: sticky du récapitulatif mobile */
@supports (overflow: clip) {
  .simu { overflow: clip; }
}
.simu::before {
  content: '';
  position: absolute; inset: 0;
  background-image: var(--chevrons);
  background-size: 120px 120px;
  opacity: .35;
  pointer-events: none;
}
.simu .wrap { position: relative; }

.simu-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(1.6rem, 3.4vw, 3rem);
  margin-top: 2.8rem;
  align-items: start;
}

.simu-panneau {
  background: var(--noir);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r);
  padding: clamp(1.3rem, 2.6vw, 2rem);
}

.simu-champ { margin-bottom: 1.7rem; }
.simu-champ:last-child { margin-bottom: 0; }
.simu-champ > label,
.simu-legende {
  display: block;
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--gris);
  margin-bottom: .8rem;
}
.simu-legende { padding: 0; border: 0; }

/* Choix segmentés */
.simu-choix {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  border: 0;
  padding: 0;
  margin: 0;
}
.simu-choix input { position: absolute; opacity: 0; pointer-events: none; }
.simu-choix label {
  flex: 1 1 auto;
  min-width: 84px;
  text-align: center;
  padding: .62rem .8rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--r);
  font-size: .88rem;
  font-weight: 500;
  color: #cfd5dd;
  cursor: pointer;
  transition: border-color .18s, background .18s, color .18s;
  line-height: 1.3;
}
.simu-choix label small {
  display: block;
  font-size: .72rem;
  color: var(--gris-fonce);
  margin-top: .12rem;
}
.simu-choix label:hover { border-color: rgba(255,255,255,.4); }
.simu-choix input:checked + label {
  border-color: var(--orange);
  background: rgba(255,127,0,.12);
  color: #fff;
}
.simu-choix input:focus-visible + label {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

/* Curseur de surface */
.simu-surface-tete {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .5rem;
}
#sim-surface-val {
  font-family: 'Familjen Grotesk', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--orange);
  letter-spacing: -.02em;
}
.simu-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,.18);
  border-radius: 2px;
  outline: none;
  margin: .5rem 0 .3rem;
}
.simu-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--orange);
  cursor: pointer;
  border: 3px solid var(--noir);
  box-shadow: 0 0 0 1px var(--orange);
}
.simu-range::-moz-range-thumb {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--orange);
  cursor: pointer;
  border: 3px solid var(--noir);
  box-shadow: 0 0 0 1px var(--orange);
}
.simu-bornes {
  display: flex;
  justify-content: space-between;
  font-size: .76rem;
  color: var(--gris-fonce);
}

/* Résultat */
.simu-resultat {
  border: 1px solid rgba(255,127,0,.35);
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(255,127,0,.08), rgba(255,127,0,.02));
  padding: clamp(1.4rem, 2.8vw, 2.1rem);
}
.simu-resultat-tete {
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.2rem;
}
.simu-ligne {
  padding: .95rem 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.simu-ligne:last-of-type { border-bottom: 0; }
.simu-ligne dt {
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gris);
  margin-bottom: .25rem;
}
.simu-ligne dd {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 500;
  color: #fff;
}
.simu-ligne dd small {
  display: block;
  font-size: .86rem;
  font-weight: 400;
  color: var(--gris);
  margin-top: .3rem;
  line-height: 1.5;
}
#sim-kw, #sim-prix {
  font-family: 'Familjen Grotesk', sans-serif;
  font-weight: 900;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--orange);
  letter-spacing: -.03em;
  line-height: 1.1;
}
.simu-reserve {
  font-size: .8rem;
  color: var(--gris-fonce);
  line-height: 1.55;
  margin: 1.2rem 0 0;
}
.simu-resultat .btn { margin-top: 1.2rem; }

/* ==========================================================================
   Blocs ajoutés : terrain, gammes, saison
   ========================================================================== */

/* Bandeau de saison */
.saison {
  background: linear-gradient(90deg, rgba(255,127,0,.14), rgba(255,127,0,.04));
  border-top: 1px solid rgba(255,127,0,.28);
  border-bottom: 1px solid rgba(255,127,0,.28);
  padding: 1.1rem 0;
}
.saison .wrap {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}
.saison svg { width: 26px; height: 26px; stroke: var(--orange); flex: none; }
.saison p { margin: 0; font-size: .95rem; color: #e4e8ec; flex: 1 1 320px; }
.saison strong { color: #fff; }

/* Liste de contraintes de terrain */
.terrain {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2.8rem;
}
.terrain-item {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.1);
  border-left: 3px solid var(--orange);
  border-radius: var(--r);
  padding: 1.5rem 1.4rem;
}
.section-clair .terrain-item {
  background: #fff;
  border-color: rgba(0,0,0,.1);
  border-left-color: var(--orange);
}
.terrain-item h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.terrain-item p { font-size: .91rem; color: var(--gris); margin: 0; }
.section-clair .terrain-item p { color: #545b64; }

/* Gammes posées */
.gammes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2.6rem;
}
.gamme {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.3rem 1.3rem;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: var(--r);
  background: rgba(255,255,255,.02);
}
.gamme-ref {
  font-family: 'Familjen Grotesk', sans-serif;
  font-weight: 900;
  font-size: .84rem;
  letter-spacing: .02em;
  color: #14100a;
  background: var(--orange);
  padding: .3rem .55rem;
  border-radius: var(--r);
  flex: none;
  white-space: nowrap;
}
.gamme h3 { font-size: 1rem; margin-bottom: .25rem; }
.gamme p { font-size: .89rem; color: var(--gris); margin: 0; }

/* Encart honnêteté */
.encart {
  border: 1px solid rgba(255,127,0,.3);
  border-left: 3px solid var(--orange);
  background: rgba(255,127,0,.05);
  border-radius: var(--r);
  padding: clamp(1.3rem, 2.6vw, 2rem);
  margin-top: 2.6rem;
  max-width: 780px;
}
.encart h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.encart p { font-size: .96rem; color: #d5dae0; }
.encart p:last-child { margin-bottom: 0; }
.section-clair .encart { background: #fff; }
.section-clair .encart p { color: #4a5058; }

@media (max-width: 900px) {
  .simu-grid { grid-template-columns: 1fr; }
  .terrain { grid-template-columns: 1fr; }
  .gammes { grid-template-columns: 1fr; }
}

/* Liste des variables du devis */
.sim-variables {
  list-style: none;
  margin: .5rem 0 0;
  padding: 0;
}
.sim-variables li {
  position: relative;
  padding-left: 1.4rem;
  font-size: .89rem;
  font-weight: 400;
  color: var(--gris);
  margin-bottom: .45rem;
  line-height: 1.5;
}
.sim-variables li:last-child { margin-bottom: 0; }
.sim-variables li::before {
  content: '';
  position: absolute;
  left: 0; top: .55em;
  width: 7px; height: 7px;
  background: var(--orange);
  transform: rotate(45deg);
}

/* Demande de devis intégrée à l'estimateur */
.sim-devis {
  margin-top: 1.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,.14);
}
.sim-devis h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.sim-devis-recap {
  font-size: .86rem;
  color: var(--gris);
  margin-bottom: 1.1rem;
  line-height: 1.5;
}
.sim-devis-recap strong { color: var(--orange); font-weight: 600; }
.sim-devis .form-grid { gap: .8rem; }
.sim-devis .champ input { padding: .68rem .8rem; font-size: .93rem; }
.sim-devis .champ label { font-size: .74rem; margin-bottom: .3rem; }
.sim-devis .form-note { font-size: .8rem; margin-top: .8rem; }

@media (max-width: 560px) {
  .sim-devis .form-grid { grid-template-columns: 1fr; }
}

/* Valeur à confirmer avec le client, visible pendant la phase de maquette */
.a-completer {
  border-bottom: 2px dotted currentColor;
  padding-bottom: 1px;
  cursor: help;
  opacity: .9;
}

/* ==========================================================================
   Correctifs mobile, vérifiés au navigateur en 320 et 375 px
   ========================================================================== */

/* 1. Le curseur de surface doit s'attraper au doigt.
      La piste reste fine, mais la zone tactile fait 44 px de haut. */
.simu-range {
  height: 44px;
  background: transparent;
  margin: 0;
  cursor: pointer;
}
.simu-range::-webkit-slider-runnable-track {
  height: 4px;
  background: rgba(255,255,255,.18);
  border-radius: 2px;
}
.simu-range::-moz-range-track {
  height: 4px;
  background: rgba(255,255,255,.18);
  border-radius: 2px;
}
.simu-range::-webkit-slider-thumb { margin-top: -10px; }

/* 2. Récapitulatif collant : en mobile, le résultat est trop bas pour être vu
      pendant qu'on règle. Ce bandeau suit le défilement et se met à jour en direct. */
.simu-mini {
  display: none;
  position: sticky;
  top: 70px;
  z-index: 20;
  background: rgba(11,12,14,.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,127,0,.45);
  border-radius: var(--r);
  padding: .7rem .9rem;
  margin-bottom: 1rem;
  align-items: baseline;
  gap: .6rem;
  flex-wrap: wrap;
}
.simu-mini b {
  font-family: 'Familjen Grotesk', sans-serif;
  font-weight: 900;
  font-size: 1.45rem;
  color: var(--orange);
  letter-spacing: -.02em;
  line-height: 1;
}
.simu-mini span { font-size: .9rem; color: #d6dbe1; }
.simu-mini em {
  font-style: normal;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gris-fonce);
  flex-basis: 100%;
}

/* 3. Zones tactiles : viser 44 px sur tout ce qui se tape au doigt */
.faq summary {
  min-height: 44px;
  align-items: center;
  padding-top: .2rem;
  padding-bottom: .2rem;
}
.demo-bar button {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
  /* 4. Le cadre décoratif dépassait de 14 px à droite et créait un débordement */
  .duo-media .cadre { display: none; }

  /* Le récapitulatif collant n'a de sens qu'ici */
  .simu-mini { display: flex; }
}

@media (max-width: 780px) {
  /* Liens du pied de page : 18 px de haut, intenables au pouce */
  .footer-grid li { margin-bottom: .15rem; }
  .footer-grid a {
    display: flex;
    align-items: center;
    min-height: 42px;
  }
  .footer-bas a { padding: .3rem 0; display: inline-block; }
}

@media (max-width: 560px) {
  /* 5. Boutons segmentés : sans cela le dernier de chaque groupe s'étirait
        sur toute la largeur pendant que les autres restaient petits */
  .simu-choix { flex-wrap: nowrap; }
  .simu-choix .simu-legende { flex: 0 0 100%; }
  .simu-choix label {
    flex: 1 1 0;
    min-width: 0;
    padding-left: .35rem;
    padding-right: .35rem;
    font-size: .84rem;
    hyphens: auto;
  }
  .simu-choix label small { font-size: .68rem; }
}

/* Zones tactiles du menu et de l'estimateur portées à 44 px */
.burger { height: 44px; }
.simu-choix label { min-height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; }



/* ==========================================================================
   Second lot de correctifs mobile, issus de l'audit
   ========================================================================== */

/* Le bandeau collant est borné à la zone de réglages : il ne recouvre plus
   la carte de résultat ni le formulaire de devis. */
.simu-reglages { min-width: 0; }

/* Champs de saisie : sous 16 px, Safari iOS zoome la page à chaque prise de focus
   et le visiteur se retrouve décadré au moment de laisser ses coordonnées. */
.champ input, .champ select, .champ textarea,
.sim-devis .champ input { font-size: 16px; }

/* Le curseur avait perdu son anneau de focus au clavier */
.simu-range:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

/* Contrastes relevés au niveau AA */
:root {
  --gris-fonce: #8b939d;   /* était #6c747e, insuffisant sur fond noir */
  --orange-sombre: #a04e00; /* était #c25f00, insuffisant sur fond clair */
}
.champ input::placeholder,
.champ textarea::placeholder { color: #8b939d; }

@media (max-width: 900px) {
  /* La valeur en gros chiffres ne doit pas se casser en deux lignes */
  #sim-surface-val { white-space: nowrap; }
  .simu-surface-tete { gap: .5rem; }

  /* La référence de gamme poussait le texte à 147 px de large */
  .gamme { flex-direction: column; gap: .7rem; }
  .gamme-ref { align-self: flex-start; }
}

@media (max-width: 780px) {
  /* Le bandeau de saison renvoyait l'icône seule sur sa ligne */
  .saison .wrap { gap: .8rem; }
  .saison p { flex: 1 1 100%; }
  .saison svg { display: none; }

  /* Cibles tactiles : 44 px pleins */
  .footer-grid a { min-height: 44px; }
  .footer-bas a { min-height: 44px; display: inline-flex; align-items: center; }
  .fil { padding: .4rem 0; }
  .fil a { display: inline-block; padding: .35rem .1rem; }
  .burger { width: 48px; }
  .logo { padding: .3rem 0; }
}

@media (max-width: 360px) {
  /* iPhone SE : on resserre plutôt que de laisser casser */
  #sim-surface-val { font-size: 1.25rem; }
  .simu-choix label { font-size: .8rem; padding-left: .25rem; padding-right: .25rem; }
}

/* ==========================================================================
   Refonte inspirée de la maquette de référence
   Barre utilitaire, héros en deux colonnes, demande de visite en trois étapes
   ========================================================================== */

/* Barre utilitaire : zone, horaires, téléphone */
.barre-utile {
  background: var(--noir);
  border-bottom: 1px solid var(--ligne);
  font-size: .82rem;
  color: var(--gris);
}
.barre-utile .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: .55rem;
  padding-bottom: .55rem;
}
.barre-utile a { color: #fff; text-decoration: none; font-weight: 600; }
.barre-utile a:hover { color: var(--orange); }
.barre-utile-droite { display: flex; align-items: center; gap: 1.1rem; }

/* Héros à deux colonnes : discours à gauche, formulaire à droite */
.hero-duo {
  position: relative;
  background: var(--noir);
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.hero-duo::before {
  content: '';
  position: absolute; inset: 0;
  background-image: var(--chevrons);
  background-size: 140px 140px;
  opacity: .3;
  pointer-events: none;
}
.hero-duo .wrap { position: relative; }
.hero-duo-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(2rem, 4vw, 3.6rem);
  align-items: start;
}
.hero-duo h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: -.035em;
  margin-bottom: .55em;
}
.hero-duo .lead { max-width: 56ch; }

/* Trois preuves sous le discours */
.hero-preuves {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2rem;
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--ligne);
}
.hero-preuves div {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  font-size: .9rem;
  color: #d3d8de;
}
.hero-preuves div::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--orange);
  transform: rotate(45deg);
  flex: none;
}

/* La carte de demande */
.demande {
  background: var(--noir-2);
  border: 1px solid var(--ligne);
  border-radius: var(--r2, 6px);
  padding: clamp(1.2rem, 2.4vw, 1.8rem);
}
.demande-tete {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-size: .84rem;
  color: var(--gris);
  margin-bottom: .7rem;
}
.demande-tete strong { color: #fff; font-weight: 600; }
.demande-jauge {
  height: 3px;
  background: var(--noir-4);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 1.4rem;
}
.demande-jauge span {
  display: block;
  height: 100%;
  width: 33.33%;
  background: var(--orange);
  transition: width .35s cubic-bezier(.4,0,.2,1);
}
.demande h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.72rem);
  letter-spacing: -.022em;
  margin-bottom: 1.1rem;
}

.demande-etape { display: none; }
.demande-etape.active { display: block; }

/* Les choix de la première étape */
.choix-liste { display: grid; gap: .6rem; }
.choix {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  width: 100%;
  text-align: left;
  background: var(--noir);
  border: 1px solid var(--ligne);
  border-radius: var(--r);
  padding: .9rem 1rem;
  color: var(--blanc);
  font-family: inherit;
  font-size: .97rem;
  cursor: pointer;
  transition: border-color .18s, background .18s, transform .18s;
  min-height: 44px;
}
.choix:hover { border-color: var(--orange); background: rgba(255,127,0,.07); transform: translateX(2px); }
.choix.actif { border-color: var(--orange); background: rgba(255,127,0,.12); }
.choix svg { width: 22px; height: 22px; stroke: var(--orange); flex: none; margin-top: 2px; }
.choix b { display: block; font-weight: 600; line-height: 1.3; }
.choix small { display: block; color: var(--gris); font-size: .84rem; margin-top: .15rem; line-height: 1.4; }

.demande-note {
  font-size: .82rem;
  color: var(--gris-fonce);
  margin-top: 1rem;
  text-align: center;
}
.demande-pied {
  margin-top: 1.3rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--ligne);
  display: flex;
  flex-direction: column;
  gap: .5rem;
  font-size: .84rem;
  color: var(--gris);
}
.demande-pied div { display: flex; align-items: center; gap: .55rem; }
.demande-pied svg { width: 16px; height: 16px; stroke: var(--gris-fonce); flex: none; }

.demande-actions {
  display: flex;
  gap: .6rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}
.demande-actions .btn { flex: 1 1 auto; }
.lien-retour {
  background: none;
  border: 0;
  color: var(--gris);
  font-family: inherit;
  font-size: .88rem;
  cursor: pointer;
  padding: .6rem .4rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  min-height: 44px;
}
.lien-retour:hover { color: #fff; }

/* Confirmation */
.demande-ok { text-align: center; padding: 1.4rem 0 .6rem; }
.demande-ok svg { width: 48px; height: 48px; stroke: var(--orange); margin-bottom: 1rem; }
.demande-ok h2 { margin-bottom: .6rem; }
.demande-ok p { color: var(--gris); font-size: .95rem; }

/* Encart orange plein, pour la règle qui tranche */
.regle {
  background: var(--orange);
  color: #17120a;
  border-radius: var(--r);
  padding: 1.5rem 1.4rem;
}
.regle h3 { font-size: 1.05rem; margin-bottom: .5rem; color: #17120a; }
.regle p { font-size: .92rem; margin: 0; color: #2a2010; }

/* Colonnes de diagnostic : trois constats puis la règle */
.constats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 2.8rem;
  align-items: start;
}
.constat { border-top: 2px solid var(--ligne); padding-top: 1.2rem; }
.section-clair .constat { border-top-color: var(--clair-ligne); }
.constat h3 { font-size: 1.02rem; margin-bottom: .4rem; }
.constat p { font-size: .9rem; color: var(--gris); margin: 0; }
.section-clair .constat p { color: var(--encre-2); }

/* Zone d'intervention par département */
.departements {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.departement h3 {
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .9rem;
}
.departement ul { list-style: none; margin: 0; padding: 0; }
.departement li { font-size: .95rem; color: var(--gris); margin-bottom: .45rem; }
.section-clair .departement li { color: var(--encre-2); }

@media (max-width: 900px) {
  .hero-duo-grid { grid-template-columns: 1fr; }
  .constats { grid-template-columns: 1fr 1fr; }
  .departements { grid-template-columns: 1fr; gap: 1.8rem; }
}
@media (max-width: 780px) {
  .barre-utile { font-size: .76rem; }
  .barre-utile-gauche { display: none; }
  .barre-utile .wrap { justify-content: center; }
  .constats { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Sections reprises de la structure de référence
   ========================================================================== */

/* Cartes de configuration, avec badge de contexte */
.configs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-top: 2.8rem;
}
.config {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--ligne);
  border-radius: var(--r2, 6px);
  background: var(--noir-2);
  overflow: hidden;
  transition: border-color .22s, transform .22s;
}
.config:hover { border-color: rgba(255,127,0,.5); transform: translateY(-3px); }
.config-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.config-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.config-badge {
  position: absolute; top: .9rem; left: .9rem;
  background: var(--orange);
  color: #17120a;
  font-family: 'Familjen Grotesk', sans-serif;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: .32rem .7rem;
  border-radius: var(--r);
}
.config-corps { padding: 1.3rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.config-corps h3 { font-size: 1.22rem; margin-bottom: .5rem; }
.config-corps p { font-size: .94rem; color: var(--gris); margin-bottom: 1.1rem; }
.config-corps .btn { align-self: flex-start; margin-top: auto; }

/* Comparatif en deux colonnes */
.face-a-face {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 2.4rem;
}
.face {
  border: 1px solid var(--ligne);
  border-radius: var(--r2, 6px);
  padding: 1.5rem 1.4rem;
  background: rgba(255,255,255,.02);
}
.face.mieux { border-color: rgba(255,127,0,.55); background: rgba(255,127,0,.07); }
.face h3 { font-size: 1.08rem; margin-bottom: 1rem; }
.face ul { list-style: none; margin: 0; padding: 0; }
.face li {
  position: relative;
  padding-left: 1.5rem;
  font-size: .93rem;
  color: var(--gris);
  margin-bottom: .7rem;
  line-height: 1.5;
}
.face li:last-child { margin-bottom: 0; }
.face li::before {
  content: '';
  position: absolute; left: 0; top: .5em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gris-fonce);
}
.face.mieux li::before { background: var(--orange); }

/* Source chiffrée */
.source {
  margin-top: 2rem;
  padding: 1.3rem 1.4rem;
  border-left: 3px solid var(--orange);
  background: rgba(255,255,255,.03);
  border-radius: var(--r);
  font-size: .94rem;
  color: #d3d8de;
  line-height: 1.6;
  max-width: 78ch;
}
.source a { color: var(--orange); }
.source small { display: block; margin-top: .6rem; color: var(--gris-fonce); font-size: .84rem; }

/* Sur fond clair, l'encart de source doit rester lisible */
.section-clair .source {
  background: #fff;
  color: var(--encre-2);
  border-left-color: var(--orange);
}
.section-clair .source a { color: var(--orange-sombre); }
.section-clair .source small { color: #6b6760; }
.section-clair .face { background: #fff; border-color: var(--clair-ligne); }
.section-clair .face h3 { color: var(--encre); }
.section-clair .face li { color: var(--encre-2); }
.section-clair .face.mieux { background: rgba(255,127,0,.09); border-color: rgba(255,127,0,.45); }
.section-clair .face li::before { background: #b5b0a6; }
.section-clair .face.mieux li::before { background: var(--orange-sombre); }

/* Engagements */
.engagements { list-style: none; margin: 1.8rem 0 0; padding: 0; }
.engagements li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: .9rem;
  font-size: 1rem;
  color: #d8dde3;
}
.section-clair .engagements li { color: var(--encre-2); }
.engagements li::before {
  content: '';
  position: absolute; left: 0; top: .42em;
  width: 11px; height: 11px;
  background: var(--orange);
  transform: rotate(45deg);
}

/* Critères matériel, en quatre colonnes */
.criteres {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem 2rem;
  margin-top: 2.4rem;
}
.critere { border-top: 1px solid var(--ligne); padding-top: 1.1rem; }
.critere h3 { font-size: 1rem; margin-bottom: .35rem; }
.critere p { font-size: .91rem; color: var(--gris); margin: 0; }

/* Emplacements de photos de chantier, en attendant les vraies */
.chantiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2.6rem;
}
.chantier-vide {
  border: 1px dashed var(--clair-ligne);
  border-radius: var(--r2, 6px);
  background: rgba(0,0,0,.02);
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  min-height: 230px;
}
.section-clair .chantier-vide { border-color: #c9c5bc; }
.chantier-vide .marqueur {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange-sombre);
  margin-bottom: auto;
}
.chantier-vide .marqueur svg { width: 15px; height: 15px; stroke: var(--orange-sombre); }
.chantier-vide b { display: block; font-family: 'Familjen Grotesk', sans-serif; font-size: 1.02rem; margin-bottom: .3rem; }
.chantier-vide span { font-size: .89rem; color: var(--encre-2); }

@media (max-width: 900px) {
  .configs, .face-a-face, .criteres { grid-template-columns: 1fr; }
  .chantiers { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Ajustements demandés par le client
   ========================================================================== */

/* Cartes de configuration sans image : l'étiquette passe dans le corps */
.config-etiquette {
  display: inline-block;
  align-self: flex-start;
  background: rgba(255,127,0,.14);
  color: var(--orange);
  border: 1px solid rgba(255,127,0,.4);
  font-family: 'Familjen Grotesk', sans-serif;
  font-weight: 700;
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .26rem .6rem;
  border-radius: var(--r);
  margin-bottom: .9rem;
}
.config-corps { padding: 1.5rem 1.4rem 1.5rem; }
.config-corps h3 { font-size: 1.3rem; }

/* La note de source devient discrète : ce n'est plus un encart mis en avant */
.note-source {
  margin-top: 1.8rem;
  font-size: .82rem;
  line-height: 1.55;
  color: var(--gris-fonce);
  max-width: 74ch;
  border: 0;
  padding: 0;
  background: none;
}
.section-clair .note-source { color: #74706a; }
.note-source a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.note-source a:hover { color: var(--orange-sombre); }
.note-source small { display: block; margin-top: .4rem; font-size: .78rem; opacity: .85; }

/* Constats : titres plus affirmés, et la règle ne crie plus en orange */
.constat h3 { font-size: 1.22rem; letter-spacing: -.02em; margin-bottom: .55rem; }
.regle-sobre { border-top-color: var(--orange); }
.regle-sobre h3 { font-size: 1.22rem; }
.regle-sobre p { color: var(--gris); }
.section-clair .regle-sobre p { color: var(--encre-2); }

/* Emplacement du futur guide */
.guide-vide {
  border: 1px dashed #c9c5bc;
  border-radius: var(--r2, 6px);
  background: #fff;
  padding: 1.8rem 1.6rem;
}
.guide-vide .marqueur {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange-sombre);
  margin-bottom: 1rem;
}
.guide-vide .marqueur svg { width: 16px; height: 16px; stroke: var(--orange-sombre); }
.guide-vide b {
  display: block;
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: 1.25rem;
  letter-spacing: -.02em;
  margin-bottom: .6rem;
}
.guide-vide p { font-size: .94rem; color: var(--encre-2); margin-bottom: .9rem; }
.guide-vide .guide-note { font-size: .82rem; color: #8a857c; font-style: italic; }

/* Consentement au rappel : obligatoire depuis la loi du 30 juin 2025,
   case jamais pré-cochée, formulation explicite. */
.consentement {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  margin-top: 1.3rem;
  padding: .9rem 1rem;
  border: 1px solid var(--ligne);
  border-radius: var(--r);
  background: rgba(255,255,255,.02);
  cursor: pointer;
}
.consentement input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--orange);
  cursor: pointer;
}
.consentement span { font-size: .9rem; color: #d8dde3; line-height: 1.45; }
.consentement small {
  display: block;
  margin-top: .4rem;
  font-size: .8rem;
  color: var(--gris-fonce);
  line-height: 1.5;
}
.consentement:has(input:focus-visible) { outline: 2px solid var(--orange); outline-offset: 2px; }
.consentement.manquant { border-color: #e06c4f; background: rgba(224,108,79,.08); }
.erreur-consent {
  margin: .6rem 0 0;
  font-size: .86rem;
  color: #f0a08a;
}
.section-clair .consentement span { color: var(--encre); }
.section-clair .consentement { background: #fff; border-color: var(--clair-ligne); }
.section-clair .consentement small { color: #74706a; }

/* Avis Google */
.avis-liste {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 1.6rem;
}
.avis {
  border: 1px dashed #c9c5bc;
  border-radius: var(--r2, 6px);
  background: #fff;
  padding: 1.3rem 1.3rem 1.2rem;
}
.avis .etoiles {
  display: block;
  color: var(--orange);
  font-size: 1.05rem;
  letter-spacing: .12em;
  margin-bottom: .7rem;
}
.avis p { font-size: .94rem; color: var(--encre-2); margin-bottom: .8rem; font-style: italic; }
.avis cite {
  font-style: normal;
  font-size: .85rem;
  color: #8a857c;
}
@media (max-width: 900px) { .avis-liste { grid-template-columns: 1fr; } }

/* Zone d'intervention : les trois départements, sans liste de communes */
.zones { display: flex; flex-wrap: wrap; gap: .8rem; }
.zone-dep {
  display: inline-flex;
  align-items: baseline;
  gap: .5rem;
  font-family: 'Familjen Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  padding: .7rem 1.1rem;
  border: 1px solid var(--ligne);
  border-radius: var(--r);
  background: rgba(255,255,255,.03);
}
.section-clair .zone-dep { background: #fff; border-color: var(--clair-ligne); }
.zone-dep b { color: var(--orange); font-weight: 800; }

/* En-tête de FAQ : la question peut aussi se poser de vive voix */
.faq-tete {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.faq-tete .btn { flex: none; }
@media (max-width: 780px) {
  .faq-tete { align-items: flex-start; }
  .faq-tete .btn { width: 100%; justify-content: center; }
}

/* Appel final : discours à gauche, rappel à droite, sur le fond sombre du site */
.rappel-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 4vw, 3.4rem);
  align-items: start;
  text-align: left;
}
.cta-final .rappel-grid h2 { max-width: none; margin-inline: 0; }
.cta-final .rappel-grid .lead { margin-inline: 0; }
.cta-final .rappel-grid .hero-cta { justify-content: flex-start; }
.rappel-carte {
  background: var(--noir-2);
  border: 1px solid var(--ligne);
  border-radius: var(--r2, 6px);
  padding: clamp(1.3rem, 2.6vw, 1.9rem);
}
.rappel-carte h3 { font-size: 1.3rem; margin-bottom: 1.1rem; }
.rappel-carte .champ { margin-bottom: .9rem; }
@media (max-width: 900px) {
  .rappel-grid { grid-template-columns: 1fr; }
}
