/* =========================================================
   GT Fermetures — feuille de style principale
   Sommaire :
   1. Polices et variables (charte)   2. Bases
   3. Boutons                         4. En-tête et menu
   5. Premier écran                   6. Étapes
   7. Prestations                     8. Atouts
   9. Zone d'intervention            10. Qui sommes-nous
   11. FAQ                           12. Devis (formulaire)
   13. Pied de page et barre mobile  14. Pages simples (légal, 404)
   ========================================================= */

/* ---------- 1. Polices et variables ---------- */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Couleurs de GT Fermetures (logo et ancien site) */
  --orange: #E97328;        /* couleur de marque : fonds de boutons, accents */
  --orange-fonce: #B9500F;  /* orange lisible pour du texte sur fond clair */
  --orange-pale: #FDF0E7;
  --anthracite: #192730;    /* texte principal et sections sombres */
  --anthracite-2: #22343F;
  --gris: #5E666B;          /* gris du logo, textes secondaires */
  --gris-clair: #F4F5F6;
  --bord: #E2E5E8;
  --blanc: #FFFFFF;
  --vert: #1E7F45;
  --rouge: #C0392B;

  --titre: "Manrope", system-ui, sans-serif;
  --texte: "Inter", system-ui, sans-serif;
  --rayon: 14px;
  --ombre: 0 18px 40px -22px rgba(25, 39, 48, .35);
  --largeur: 1300px;
  --entete: 76px;
}

/* ---------- 2. Bases ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--entete) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--texte);
  font-size: 1.125rem;            /* 18 px : confortable pour tous les publics */
  line-height: 1.6;
  color: var(--anthracite);
  background: var(--blanc);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-fonce); text-underline-offset: 3px; }
a:hover { color: var(--anthracite); }
h1, h2, h3 { font-family: var(--titre); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 32px, var(--largeur)); margin-inline: auto; }
/* Sécurité anti-débordement : un élément de grille peut rétrécir sous la largeur de son contenu
   (sinon une image ou un mot long peut élargir la page sur mobile) */
.etapes > *, .galerie > *, .atouts > *, .zone-grid > *, .faq-grid > *, .devis > *,
.champs > *, .footer-in > *, .barre-mobile > * { min-width: 0; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-alt { background: var(--gris-clair); }
.section-dark { background: var(--anthracite); color: #E8ECEF; }
.section-dark h2, .section-dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--titre); font-weight: 700; font-size: .95rem;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--orange-fonce); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--orange); }
.section-dark .eyebrow { color: var(--orange); }
.intro { max-width: 720px; margin-bottom: 44px; }
.intro p { color: var(--gris); font-size: 1.2rem; }
.section-dark .intro p { color: #BFC8CF; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--anthracite); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Icônes (SVG en ligne, style contour) */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 3. Boutons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 14px 26px;
  border-radius: 999px; border: 2px solid transparent;
  font-family: var(--titre); font-weight: 800; font-size: 1.1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
}
/* Orange + texte blanc (choix de JD). Contraste 3:1 : accepté pour du texte gros et gras
   (boutons ≥ 18,7 px en 800). Ne pas réduire la taille du texte des boutons orange.
   Au survol, l'orange fonce (au lieu de s'éclaircir) pour garder le texte lisible. */
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: #D9621A; color: #fff; }
.btn-ligne { border-color: currentColor; color: var(--anthracite); background: transparent; }
.btn-ligne:hover { background: var(--anthracite); color: #fff; border-color: var(--anthracite); }
.section-dark .btn-ligne, .hero .btn-ligne { color: #fff; }
.section-dark .btn-ligne:hover, .hero .btn-ligne:hover { background: #fff; color: var(--anthracite); border-color: #fff; }
.btn-group { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 4. En-tête et menu ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--orange); transform-origin: 0 50%; transform: scaleX(0); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { border-bottom-color: var(--bord); box-shadow: 0 8px 24px -18px rgba(25, 39, 48, .5); }
.header-in { display: flex; align-items: center; gap: 24px; min-height: var(--entete); }
.logo img { width: 112px; height: auto; }
.navlinks { display: flex; gap: 34px; margin-left: auto; margin-right: 12px; list-style: none; }
.navlinks a { position: relative; color: var(--anthracite); font-weight: 600; text-decoration: none; font-size: 1.02rem; padding: 6px 0; }
.navlinks a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; }
.navlinks a:hover::after, .navlinks a.is-current::after { transform: scaleX(1); }
.header-tel { min-height: 48px; padding: 10px 20px; font-size: 1.05rem; }
.menu-toggle {
  display: none; margin-left: auto; width: 52px; height: 52px; border-radius: 12px;
  border: 1px solid var(--bord); background: #fff; color: var(--anthracite); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle .i { width: 26px; height: 26px; }
.menu-mobile { border-top: 1px solid var(--bord); background: #fff; padding: 8px 16px 20px; }
.menu-mobile ul { list-style: none; }
.menu-mobile a { display: block; padding: 14px 4px; font-size: 1.2rem; font-weight: 700; color: var(--anthracite); text-decoration: none; border-bottom: 1px solid var(--bord); }

@media (max-width: 960px) {
  .navlinks { display: none; }
  .menu-toggle:not([hidden]) { display: inline-flex; }
  .header-tel { display: none; }
}
@media (min-width: 961px) { .menu-mobile { display: none; } }
/* Écrans moyens (petits portables) : menu un peu plus compact pour ne pas être serré */
@media (min-width: 961px) and (max-width: 1240px) {
  .navlinks { gap: 20px; margin-right: 4px; }
  .navlinks a { font-size: .97rem; }
}

/* ---------- 5. Premier écran ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  color: #fff; background: var(--anthracite);
  padding: clamp(56px, 9vw, 120px) 0 clamp(64px, 9vw, 120px);
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
/* Voile sombre pour garantir la lisibilité du texte sur la photo */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(25, 39, 48, .96) 0%, rgba(25, 39, 48, .88) 45%, rgba(25, 39, 48, .45) 100%);
}
.hero-copy { max-width: 720px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero-lead { font-size: clamp(1.15rem, 2vw, 1.35rem); color: #DCE3E8; max-width: 620px; margin-bottom: 30px; }
.hero .btn-group { margin-bottom: 34px; }
.hero-tel-num { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.atouts-rapides { display: flex; flex-wrap: wrap; gap: 12px 26px; list-style: none; }
.atouts-rapides li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: #fff; }
.atouts-rapides .i { color: var(--orange); width: 1.4em; height: 1.4em; }
/* Note Google (vraie note, lien vers la fiche) */
.note-google {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin-top: 22px;
  padding: 10px 18px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
  color: #fff; text-decoration: none; font-size: 1.05rem;
}
.note-google:hover { color: #fff; background: rgba(255, 255, 255, .18); }
.note-google strong { font-family: var(--titre); font-weight: 800; }
.etoiles { display: inline-flex; gap: 2px; color: #F5B301; }
.etoiles .i { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.etoiles .i:last-child { opacity: .45; } /* note 4,6 : la 5e étoile n'est pas pleine */

/* ---------- 6. Étapes « Comment ça se passe » ---------- */
/* Frise horizontale : repère rond + trait vers l'étape suivante. Sur mobile, frise verticale. */
.etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; list-style: none; }
.etape { position: relative; }
.etape-repere {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%;
  background: #fff; color: var(--orange-fonce); border: 2px solid var(--orange);
  box-shadow: 0 0 0 8px var(--gris-clair), var(--ombre); margin-bottom: 22px;
}
.etape-repere .i { width: 28px; height: 28px; }
/* Trait pointillé qui relie un repère au suivant */
.etape:not(:last-child)::after {
  content: ""; position: absolute; top: 34px; left: 84px; right: -24px;
  border-top: 2px dashed rgba(233, 115, 40, .55);
}
.etape-num {
  margin: 0 0 6px; font-family: var(--titre); font-weight: 800; font-size: .9rem;
  text-transform: uppercase; letter-spacing: .1em; color: var(--orange-fonce);
}
.etape h3 { font-size: 1.4rem; margin-bottom: 10px; }
.etape-texte > p:last-child { color: var(--gris); margin: 0; }
.etapes-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px;
  margin-top: 52px; padding: 22px 22px 22px 30px; background: #fff;
  border: 1px solid var(--bord); border-radius: 20px;
}
.etapes-cta p { margin: 0; font-size: 1.15rem; }
@media (max-width: 860px) {
  .etapes { grid-template-columns: 1fr; gap: 0; }
  .etape { display: grid; grid-template-columns: 68px 1fr; gap: 20px; padding-bottom: 34px; }
  .etape:last-child { padding-bottom: 0; }
  .etape-repere { margin: 0; }
  .etape:not(:last-child)::after { top: 84px; bottom: 12px; left: 33px; right: auto; border-top: 0; border-left: 2px dashed rgba(233, 115, 40, .55); }
  .etapes-cta { margin-top: 36px; padding: 22px; }
  .etapes-cta .btn { width: 100%; }
}

/* ---------- 7. Prestations ---------- */
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; list-style: none; }
.service {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--bord); border-radius: var(--rayon);
}
.service:hover { border-color: var(--orange); }
.service-media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--gris-clair); }
.service-media img { width: 100%; height: 100%; object-fit: cover; }
.service-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.service h3 { margin-bottom: 10px; }
.service ul { list-style: none; margin-bottom: 18px; }
.service li { position: relative; padding-left: 26px; color: var(--gris); font-size: 1.02rem; margin-bottom: 6px; }
.service li::before {
  content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px;
  border-left: 2.5px solid var(--orange); border-bottom: 2.5px solid var(--orange); transform: rotate(-45deg);
}
.service-link {
  margin-top: auto; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--titre); font-weight: 800; color: var(--orange-fonce); text-decoration: none;
  min-height: 44px;
}
.service-link:hover { color: var(--anthracite); }
.services-note { margin-top: 30px; text-align: center; color: var(--gris); }

/* ---------- 7 bis. Galerie de chantiers (carrousel) ---------- */
.galerie { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: 56px; align-items: center; }
.galerie-texte p { color: var(--gris); font-size: 1.15rem; }
.galerie-texte .galerie-note { font-size: .98rem; font-style: italic; }
.galerie-nav { display: flex; align-items: center; gap: 12px; margin-top: 26px; }
.galerie-nav[hidden], .galerie-points[hidden] { display: none; }
.galerie-btn {
  display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  border: 2px solid var(--anthracite); background: #fff; color: var(--anthracite); cursor: pointer;
}
.galerie-btn:hover { background: var(--anthracite); color: #fff; }
.galerie-btn .i { width: 24px; height: 24px; }
.i-retour { transform: scaleX(-1); }
.galerie-compteur { margin-left: 8px; font-family: var(--titre); font-weight: 800; font-size: 1.1rem; }

.carrousel { position: relative; }
.slides {
  display: flex; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory;
  border-radius: 20px; box-shadow: var(--ombre); scrollbar-width: none;
}
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; }
.slide figure { position: relative; margin: 0; }
.slide img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.slide figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 22px 18px;
  background: linear-gradient(transparent, rgba(25, 39, 48, .85));
  color: #fff; font-family: var(--titre); font-weight: 700; font-size: 1.1rem;
}
.badge-ia {
  position: absolute; top: 14px; right: 14px; padding: 5px 12px; border-radius: 999px;
  background: rgba(25, 39, 48, .78); color: #fff; font-size: .85rem; font-weight: 600;
}
.galerie-points { display: flex; justify-content: center; gap: 4px; margin-top: 10px; }
/* Zone cliquable de 32 px, point visible de 12 px */
.galerie-point { width: 32px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.galerie-point::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: #C5CBD0; }
.galerie-point[aria-current="true"]::before { background: var(--orange); width: 28px; border-radius: 6px; }
@media (max-width: 960px) {
  .galerie { grid-template-columns: 1fr; gap: 28px; }
  .galerie-nav { margin-top: 18px; }
}
@media (max-width: 560px) { .slide figcaption { font-size: 1rem; padding: 40px 16px 14px; } }

/* ---------- 8. Atouts ---------- */
.atouts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; list-style: none; }
.atout { background: var(--anthracite-2); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--rayon); padding: 28px 24px; }
.atout-icone {
  display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 14px;
  background: rgba(233, 115, 40, .14); color: var(--orange); margin-bottom: 18px;
}
.atout-icone .i { width: 28px; height: 28px; }
.atout p { color: #BFC8CF; margin: 0; }
.encart-terrain {
  margin-top: 30px; display: flex; gap: 20px; align-items: center;
  border: 1px dashed rgba(233, 115, 40, .5); border-radius: var(--rayon); padding: 24px 26px;
}
.encart-terrain .i { width: 40px; height: 40px; color: var(--orange); }
.encart-terrain p { margin: 0; color: #DCE3E8; }
.encart-terrain strong { color: #fff; }
@media (max-width: 1000px) { .atouts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .atouts { grid-template-columns: 1fr; } .encart-terrain { flex-direction: column; align-items: flex-start; } }

/* ---------- 9. Zone d'intervention ---------- */
/* Les deux colonnes ont la même hauteur : liste compacte à gauche, carte « Basés à Levens » étirée à droite */
.zone-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: stretch; }
.zone-liste { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.zone-groupe h3 { display: flex; align-items: center; gap: 10px; font-size: 1.12rem; margin-bottom: 10px; }
.zone-groupe h3 .i { color: var(--orange-fonce); width: 1.15em; height: 1.15em; }
.puces { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.puces li { background: #fff; border: 1px solid var(--bord); border-radius: 999px; padding: 5px 13px; font-weight: 600; font-size: .92rem; }
.zone-carte {
  background: var(--anthracite); color: #fff; border-radius: 20px; padding: 32px 30px;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start;
}
.zone-carte .btn:last-child { margin-top: auto; }
.zone-carte::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%;
  border: 30px solid rgba(233, 115, 40, .16);
}
.zone-carte h3 { color: #fff; }
.zone-carte p { color: #DCE3E8; }
.zone-carte .adresse { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: #fff; }
.zone-carte .adresse .i { color: var(--orange); margin-top: 3px; }
/* Adresse et horaires côte à côte (l'un sous l'autre sur petit écran) */
.zone-infos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; width: 100%; }
@media (max-width: 1100px) { .zone-infos { grid-template-columns: 1fr; } }
.zone-carte .btn { margin-top: 10px; position: relative; z-index: 1; }
@media (max-width: 860px) { .zone-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- 10. Qui sommes-nous ---------- */
.equipe { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.equipe-photo { position: relative; margin: 0; } /* margin 0 : annule la marge par défaut de <figure> */
.equipe-photo::before {
  content: ""; position: absolute; inset: 12% 4% 0 4%; z-index: -1;
  background: var(--orange-pale); border-radius: 28px;
}
.equipe-photo { isolation: isolate; }
.equipe-photo img { margin-inline: auto; }
.equipe-photo figcaption { text-align: center; color: var(--gris); font-size: .98rem; margin-top: 10px; }
.chiffres { display: flex; flex-wrap: wrap; gap: 18px; margin: 26px 0 30px; list-style: none; }
.chiffres li { flex: 1 1 150px; border-left: 4px solid var(--orange); padding: 4px 0 4px 16px; }
.chiffres strong { display: block; font-family: var(--titre); font-size: 2rem; font-weight: 800; line-height: 1.1; }
.chiffres span { color: var(--gris); font-size: 1rem; }
/* Sur mobile : photo limitée à 420 px mais jamais plus large que l'écran (sinon la page glisse de côté) */
@media (max-width: 860px) { .equipe { grid-template-columns: minmax(0, 1fr); gap: 30px; } .equipe-photo img { width: 100%; max-width: min(420px, 100%); } }

/* ---------- 11. FAQ ---------- */
/* 50 / 50 : questions à gauche, photo à droite, toujours à la même hauteur que la colonne de gauche */
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: stretch; }
.faq-grid .intro { margin-bottom: 32px; }
.faq-relance { margin: 22px 0 0; color: var(--gris); }
.faq-relance a { font-weight: 700; }
.faq-photo { position: relative; margin: 0; min-height: 420px; }
.faq-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%;
  border-radius: 24px; box-shadow: var(--ombre);
}
.faq-photo .badge-ia { z-index: 1; }
/* Sur mobile, la photo est décorative : on la retire pour ne pas allonger la page */
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq-photo { display: none; } }
.faq details { border: 1px solid var(--bord); border-radius: var(--rayon); background: #fff; margin-bottom: 14px; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; font-family: var(--titre); font-weight: 700; font-size: 1.15rem; min-height: 64px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--orange-fonce); transition: transform .25s ease; }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq details > div { padding: 0 24px 20px; color: var(--gris); }
.faq details > div p:last-child { margin: 0; }

/* ---------- 12. Devis (formulaire) ---------- */
.devis { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.contact-direct { position: sticky; top: calc(var(--entete) + 24px); }
.contact-direct p { color: #BFC8CF; }
.gros-tel {
  display: flex; align-items: center; gap: 14px; margin: 22px 0 10px;
  font-family: var(--titre); font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.3rem); color: #fff; text-decoration: none;
}
.gros-tel .i { width: 1em; height: 1em; color: var(--orange); }
.gros-tel:hover { color: var(--orange); }
.coord { list-style: none; margin-top: 22px; }
.coord li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; color: #DCE3E8; }
.coord .i { color: var(--orange); margin-top: 4px; }
.coord a { color: #fff; }
.coord a:hover { color: var(--orange); }

.form-card { background: #fff; color: var(--anthracite); border-radius: 20px; padding: clamp(24px, 4vw, 40px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.form-card h3 { color: var(--anthracite); font-size: 1.5rem; }
.form-card .sous { color: var(--gris); margin-bottom: 24px; }
.champs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.champ { display: flex; flex-direction: column; gap: 6px; }
.champ.large { grid-column: 1 / -1; }
.champ label { font-weight: 700; font-size: 1.05rem; }
.champ label small { font-weight: 400; color: var(--gris); font-size: .95rem; }
.champ input, .champ select, .champ textarea {
  width: 100%; font: inherit; font-size: 1.1rem; color: var(--anthracite);
  min-height: 56px; padding: 12px 16px; border: 2px solid #CDD3D8; border-radius: 12px; background: #fff;
}
.champ textarea { min-height: 130px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--orange); outline: 3px solid rgba(233, 115, 40, .25); outline-offset: 0; }
.champ [aria-invalid="true"] { border-color: var(--rouge); }
.champ input[type="file"] { padding: 12px; min-height: auto; font-size: 1rem; }
.aide { color: var(--gris); font-size: .95rem; }
.erreur { color: var(--rouge); font-weight: 600; font-size: .98rem; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-bas { margin-top: 24px; }
.form-bas .btn { width: 100%; }
.rgpd { margin-top: 16px; color: var(--gris); font-size: .92rem; }
.statut { margin-top: 18px; padding: 16px 18px; border-radius: 12px; font-weight: 600; background: #E6F4EC; color: var(--vert); }
.statut.is-error { background: #FBEAEA; color: var(--rouge); }
@media (max-width: 960px) { .devis { grid-template-columns: 1fr; } .contact-direct { position: static; } }
@media (max-width: 560px) { .champs { grid-template-columns: 1fr; } }

/* ---------- 13. Pied de page et barre mobile ---------- */
.site-footer { background: #111C23; color: #AAB5BD; padding: 48px 0 28px; font-size: 1rem; }
.footer-in { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.footer-logo { background: #fff; display: inline-block; padding: 10px 14px; border-radius: 12px; margin-bottom: 14px; }
.footer-logo img { width: 96px; }
.site-footer h2 { font-size: 1.05rem; color: #fff; margin-bottom: 12px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #DCE3E8; }
.site-footer a:hover { color: var(--orange); }
.footer-bas { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 32px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .92rem; }
@media (max-width: 760px) { .footer-in { grid-template-columns: 1fr; } }

/* Barre fixe en bas de l'écran sur téléphone : appeler ou demander un devis en un geste */
.barre-mobile { display: none; }
@media (max-width: 760px) {
  .barre-mobile {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97); border-top: 1px solid var(--bord);
    box-shadow: 0 -10px 24px -16px rgba(25, 39, 48, .5);
  }
  .barre-mobile .btn { min-height: 54px; padding: 10px 12px; font-size: 1.05rem; }
  .barre-mobile .btn-ligne { color: var(--anthracite); }
  body { padding-bottom: 84px; }
}

/* ---------- 14. Pages simples (mentions légales, confidentialité, 404, réponse du formulaire) ---------- */
.page-simple { max-width: 820px; margin: 0 auto; padding: 56px 0 80px; }
.page-simple h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.page-simple h2 { font-size: 1.4rem; margin-top: 1.8em; }
.page-simple ul { padding-left: 1.2em; margin-bottom: 1em; }
.page-simple .btn { margin-top: 12px; }
.retour { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; font-weight: 700; }

/* Texte à compléter avant la mise en ligne (pages légales) */
.todo { background: #FFF3C4; padding: 0 4px; border-radius: 4px; font-weight: 600; }
.entete-simple .header-in { justify-content: space-between; }
