/* Signeault Électrique inc., maquette du 22 septembre 2026
   Jetons tirés du logo : anthracite #4E4D4D, jaune #F2E721, le fil qui finit en fiche.
   Le jaune ne sert jamais de texte sur fond clair (contraste insuffisant) : il remplit, il souligne. */

:root {
  --nuit: #1f1e1e;
  --anthracite: #262525;
  --anthracite-2: #323030;
  --plaque: #4e4d4d;        /* le gris du logo */
  --ligne: #403e3e;
  --jaune: #f2e721;
  --jaune-fonce: #d8cd0f;
  --papier: #f6f5f0;
  --beton: #eae8e0;
  --encre: #1c1b1b;
  --gris: #5b5957;
  --gris-clair: #a9a6a1;
  --blanc: #ffffff;

  --f-titre: "Saira Condensed", "Arial Narrow", sans-serif;
  --f-texte: "Source Sans 3", system-ui, sans-serif;
  --f-etiquette: "Source Sans 3", system-ui, sans-serif;   /* petites étiquettes : même famille que le texte */

  --largeur: 80rem;         /* suit la taille du texte : plus large sur les grands écrans */
  --gouttiere: clamp(16px, 4.5vw, 5rem);
  --bloc: clamp(4.5rem, 9vw, 9.5rem);   /* respiration verticale des sections */
  --rayon: 10px;            /* repris des coins arrondis de la plaque du logo */
}

*, *::before, *::after { box-sizing: border-box; }
/* Échelle fluide : 16 px sur téléphone et portable, jusqu'à 21 px sur un grand écran.
   Tout ce qui est en rem grandit avec, pour que la page garde ses proportions partout. */
html { font-size: clamp(16px, .5vw + 9.6px, 21px); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font: 400 1.0625rem/1.65 var(--f-texte);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--encre); text-decoration-color: var(--jaune-fonce); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--gris); }
:focus-visible { outline: 3px solid var(--jaune); outline-offset: 3px; }

.conteneur { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 var(--gouttiere); }
.evitement { position: absolute; left: -999px; top: 8px; background: var(--jaune); color: var(--encre); padding: 8px 14px; z-index: 100; }
.evitement:focus { left: 8px; }

/* ── Titres ─────────────────────────────────────────── */
h1, h2, h3 {
  font-family: var(--f-titre);
  font-weight: 800;
  text-transform: uppercase;
  line-height: .96;
  letter-spacing: .01em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.1vw, 3.3rem); }
h3 { font-size: 1.55rem; line-height: 1.02; }
p { margin: 0 0 1em; }

.surtitre {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 .83rem/1.2 var(--f-etiquette);
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--gris); margin-bottom: 18px;
}
.surtitre::before { content: ""; width: 26px; height: 4px; border-radius: 2px; background: var(--jaune-fonce); }
.sombre .surtitre { color: var(--gris-clair); }
.sombre .surtitre::before { background: var(--jaune); }

.etoiles { color: var(--jaune-fonce); letter-spacing: .08em; font-size: 1rem; line-height: 1; }
.sombre .etoiles { color: var(--jaune); }

/* ── Boutons ────────────────────────────────────────── */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: var(--rayon);
  font: 700 1.1rem/1 var(--f-titre); text-transform: uppercase; letter-spacing: .07em;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.bouton-plein { background: var(--jaune); color: var(--encre); }
.bouton-plein:hover { background: var(--blanc); color: var(--encre); }
.clair .bouton-plein:hover, .bloc .bouton-plein:hover, .formulaire .bouton-plein:hover { background: var(--encre); color: var(--jaune); }
.bouton-contour { border-color: currentColor; color: var(--blanc); background: transparent; }
.bouton-contour:hover { background: var(--blanc); color: var(--encre); border-color: var(--blanc); }
.clair .bouton-contour { color: var(--encre); }
.clair .bouton-contour:hover { background: var(--encre); color: var(--blanc); border-color: var(--encre); }
.bouton-sombre { background: var(--encre); color: var(--jaune); }
.bouton-sombre:hover { background: var(--blanc); color: var(--encre); }

/* ── Bandeau supérieur et en-tête ───────────────────── */
.bandeau { background: var(--nuit); color: var(--gris-clair); font: 500 .86rem/1 var(--f-texte); letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.bandeau .conteneur { display: flex; justify-content: space-between; gap: 20px; padding-top: 10px; padding-bottom: 10px; }
.bandeau a { color: #dcd9d3; text-decoration: none; }
.bandeau a:hover { color: var(--jaune); }
.bandeau span + span::before { content: "·"; margin: 0 10px; color: #6b6865; }

.entete { position: sticky; top: 0; z-index: 50; background: var(--anthracite); border-bottom: 1px solid var(--ligne); }
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.9rem; }
.marque { display: block; flex: none; }
.marque img { width: 11rem; height: auto; border-radius: 8px; }

.nav { display: flex; align-items: center; gap: clamp(1rem, 1.5vw, 1.5rem); }
.nav a { white-space: nowrap; }
.nav a {
  color: #d3d0ca; text-decoration: none;
  font: 600 1.02rem/1 var(--f-titre); text-transform: uppercase; letter-spacing: .06em;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--blanc); }
.nav a[aria-current="page"] { box-shadow: 0 3px 0 var(--jaune); padding-bottom: 4px; }
.nav .bouton { color: var(--encre); min-height: 46px; padding: 0 20px; }
.nav .bouton:hover { color: var(--encre); }
/* Bascule de langue, toujours visible, y compris sur mobile à côté du menu */
.langue {
  flex: none; display: grid; place-items: center; min-width: 2.8rem; height: 2.6rem; padding: 0 .6rem;
  border: 1px solid var(--ligne); border-radius: 8px; color: #d3d0ca; text-decoration: none;
  font: 500 .89rem/1 var(--f-etiquette); letter-spacing: .08em;
}
.langue:hover { color: var(--encre); background: var(--jaune); border-color: var(--jaune); }
.entete .conteneur > .nav { margin-left: auto; }
.menu-bouton { display: none; background: none; border: 1px solid var(--ligne); border-radius: var(--rayon); color: var(--blanc); width: 48px; height: 48px; cursor: pointer; }
.menu-bouton svg { margin: auto; }

@media (max-width: 1320px) {
  .bandeau .masque-mobile { display: none; }
  .langue { margin-left: auto; }
  .menu-bouton { display: grid; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--anthracite); border-bottom: 1px solid var(--ligne);
    padding: 8px var(--gouttiere) 20px;
  }
  .nav.ouvert { display: flex; }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--ligne); }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--jaune); }
  .nav .bouton { margin-top: 16px; border-bottom: 0; }
}

/* ── Ouverture (accueil) ────────────────────────────── */
.sombre { background: var(--anthracite); color: #e7e5e0; }
/* Premier écran : l'ouverture remplit la fenêtre et la bande jaune se pose au bas.
   --tete (bandeau + en-tête) est mesurée par site.js ; 7rem en attendant. */
.ecran-accueil { min-height: calc(100svh - var(--tete, 7rem)); display: flex; flex-direction: column; }
.ecran-accueil .ouverture { flex: 1; display: flex; align-items: center; }
.ecran-accueil .ouverture > .conteneur { width: 100%; }
.ouverture { padding: clamp(1.75rem, 4.5vh, 4.5rem) 0; position: relative; overflow: hidden; }
/* Le titre suit la largeur ET la hauteur de la fenêtre : un portable court ne le laisse pas déborder */
.ouverture h1 { font-size: clamp(2.5rem, min(5.6vw, 8vh), 5.2rem); }
.ouverture .conteneur { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 7rem); align-items: center; }
.ouverture h1 { color: var(--blanc); }
.ouverture h1 em { font-style: normal; color: var(--jaune); }

/* Téléphone et tablette à la verticale : le premier écran porte le texte et la bande jaune,
   le panneau arrive au défilement. display: contents libère les enfants de .ouverture pour
   les ordonner dans .ecran-accueil. --faits et --bas (barre fixe d'appel) sont mesurés par site.js. */
@media (max-width: 860px) {
  .bandeau { display: none; }
  .ecran-accueil { min-height: 0; background: var(--anthracite); }
  .ecran-accueil .ouverture, .ecran-accueil .ouverture > .conteneur { display: contents; }
  .ouverture-texte {
    order: 1; display: flex; flex-direction: column; justify-content: center;
    min-height: calc(100svh - var(--tete, 5rem) - var(--faits, 8rem) - var(--bas, 0px));
    padding: 2.5rem var(--gouttiere);
  }
  .ecran-accueil .faits { order: 2; }
  .ecran-accueil .panneau { order: 3; padding: 3.5rem var(--gouttiere) 4rem; }
}
@media (max-width: 760px) {
  .ouverture-texte { padding: clamp(1.25rem, 4vh, 2.5rem) var(--gouttiere); }
  .ouverture-texte .surtitre { margin-bottom: clamp(.6rem, 2vh, 1.1rem); }
  .ouverture h1 { font-size: clamp(2rem, min(10.5vw, 5.4vh), 3.2rem); }
  .ouverture .chapeau { font-size: 1.02rem; line-height: 1.55; margin-bottom: clamp(1rem, 2.6vh, 1.6rem); }
  .ouverture-texte .bouton-contour { display: none; }          /* « Appeler » est déjà dans la barre fixe */
  .ecran-accueil .faits li { padding: .75rem 0; gap: .5rem; }
  .ecran-accueil .faits b { font-size: 1.45rem; }
  .ecran-accueil .faits span { font-size: .84rem; }
}
/* Téléphones courts (iPhone SE et semblables) */
@media (max-width: 760px) and (max-height: 720px) {
  .ouverture-texte { padding-top: 1rem; padding-bottom: 1rem; }
  .ouverture h1 { font-size: clamp(1.8rem, 5vh, 2.4rem); margin-bottom: .6rem; }
  .ouverture .chapeau { font-size: .93rem; line-height: 1.5; margin-bottom: .9rem; }
  .ecran-accueil .faits li { padding: .55rem 0; }
  .ecran-accueil .faits b { font-size: 1.25rem; }
  .ecran-accueil .faits span { font-size: .78rem; }
}
.ouverture .chapeau { font-size: 1.15rem; color: #c3c0ba; max-width: 34em; margin-bottom: clamp(1.4rem, 3.4vh, 2.6rem); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

.tampon {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 2.6rem;
  padding: 12px 18px; border: 1px solid var(--ligne); border-radius: var(--rayon);
  font: 500 .87rem/1.2 var(--f-etiquette); color: var(--gris-clair); text-transform: uppercase; letter-spacing: .06em;
  text-decoration: none;
}
.tampon b { font: 800 1.9rem/1 var(--f-titre); color: var(--blanc); }
.tampon:hover { border-color: var(--jaune); color: var(--blanc); }

/* ── Signature : le panneau de distribution ─────────── */
.panneau { margin: 0; }
.panneau-boite {
  background: linear-gradient(180deg, #5a5959, var(--plaque) 30%, #454444);
  border-radius: 14px; padding: 1.5rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 60px rgba(0, 0, 0, .35);
}
.panneau-principal, .disjoncteur {
  display: grid; grid-template-columns: 2.4rem 1fr; grid-template-rows: auto auto; column-gap: .9rem;
  align-items: center; background: var(--nuit); border-radius: 8px; padding: clamp(.5rem, 1.2vh, .85rem) .95rem;
  color: var(--blanc); text-decoration: none;
}
.panneau-principal { margin-bottom: .9rem; border: 1px solid #585656; }
.panneau-circuits { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.levier {
  grid-row: 1 / 3; width: 2.4rem; height: clamp(2.3rem, 4.6vh, 3.2rem); border-radius: 6px; background: #121111; position: relative;
  box-shadow: inset 0 0 0 1px #3a3838;
}
.levier::after {
  content: ""; position: absolute; left: 18%; right: 18%; top: 12%; height: 40%; border-radius: 4px;
  background: #6f6d6a; transition: top .22s cubic-bezier(.5, 0, .2, 1.4), background-color .22s;
}
.panneau-principal .levier::after { background: var(--jaune); }
.disjoncteur:hover .levier::after, .disjoncteur:focus-visible .levier::after, .disjoncteur.allume .levier::after { top: 48%; background: var(--jaune); }
.calibre { font: 500 .81rem/1.2 var(--f-etiquette); color: var(--gris-clair); letter-spacing: .06em; }
.circuit { font: 700 1.05rem/1.05 var(--f-titre); text-transform: uppercase; letter-spacing: .03em; }
.disjoncteur { transition: background-color .15s; }
.disjoncteur:hover, .disjoncteur:focus-visible { background: #0f0f0f; }
.disjoncteur:hover .calibre, .disjoncteur.allume .calibre { color: var(--jaune); }
.panneau figcaption {
  margin-top: 12px; white-space: nowrap;
  font: 500 .85rem/1.4 var(--f-etiquette); color: var(--gris-clair);
}
@media (max-width: 420px) { .panneau-circuits { grid-template-columns: 1fr; } }

/* ── Faits ──────────────────────────────────────────── */
.faits { background: var(--jaune); color: var(--encre); }
.faits ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.faits li { display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; padding: clamp(.9rem, 2.2vh, 1.7rem) 1.6rem; border-left: 1px solid rgba(0, 0, 0, .16); }
.faits li:first-child { border-left: 0; padding-left: 0; }
.faits b { display: block; font: 800 clamp(1.7rem, 3.6vh, 2.2rem)/1 var(--f-titre); text-transform: uppercase; }
.faits span { font-size: .94rem; color: #3c3a2a; }
@media (max-width: 860px) {
  .faits ul { grid-template-columns: 1fr 1fr; }
  .faits li { border-left: 0; padding-left: 0; border-top: 1px solid rgba(0, 0, 0, .16); }
  .faits li:nth-child(-n+2) { border-top: 0; }
}

/* ── Sections ───────────────────────────────────────── */
.bloc { padding: var(--bloc) 0; }
.bloc.clair { background: var(--beton); }
.bloc-tete { display: flex; justify-content: space-between; align-items: end; gap: 2rem 4rem; margin-bottom: clamp(2.5rem, 4vw, 4rem); flex-wrap: wrap; }
.bloc-tete p { max-width: 36em; color: var(--gris); margin: 0; }
.bloc-tete h2 { margin: 0; }

/* Services : des cartes sans photo, le calibre en tête */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 1.6vw, 1.6rem); }
.carte {
  background: var(--blanc); border-radius: var(--rayon); padding: 1.8rem 1.7rem 2rem;
  display: flex; flex-direction: column; text-decoration: none; color: var(--encre);
  border: 1px solid #dedbd2; transition: border-color .2s, transform .2s;
}
.carte:hover { color: var(--encre); border-color: var(--encre); transform: translateY(-2px); }
.carte-tete { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 22px; }
.carte-calibre {
  align-self: flex-start; padding: 6px 10px; border-radius: 6px;
  background: var(--anthracite); color: var(--jaune); font: 500 .87rem/1 var(--f-etiquette); letter-spacing: .06em;
}
.carte p { color: var(--gris); font-size: .98rem; flex: 1; }
.carte .lien { font: 700 1rem/1 var(--f-titre); text-transform: uppercase; letter-spacing: .07em; box-shadow: inset 0 -3px 0 var(--jaune); align-self: flex-start; padding-bottom: 3px; }
.carte-commercial { background: var(--anthracite); color: var(--blanc); border-color: var(--anthracite); }
.carte-commercial:hover { color: var(--blanc); border-color: var(--jaune); }
.carte-commercial p { color: #c3c0ba; }
.carte-commercial .carte-calibre { background: var(--jaune); color: var(--encre); }
.aussi { margin-top: 2.2rem; font-size: .98rem; color: var(--gris); }
.aussi b { color: var(--encre); font-weight: 600; }
@media (min-width: 1001px) { .services > .carte-commercial:nth-child(3n+2) { grid-column: span 2; } }
@media (max-width: 1000px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }

/* Énergie et technologies : la section sombre de l'accueil */
.bloc.technologies { background: var(--nuit); }
.technologies .bloc-tete p { color: #c3c0ba; }
.technologies h2 { color: var(--blanc); }
.services-techno .carte { background: var(--anthracite-2); border-color: var(--ligne); color: var(--blanc); }
.services-techno .carte:hover { border-color: var(--jaune); color: var(--blanc); }
.services-techno .carte p { color: #c3c0ba; }
.services-techno .carte-calibre { background: var(--jaune); color: var(--encre); }
.carte-aide {
  padding: 6px 10px; border-radius: 6px; border: 1px solid currentColor;
  font: 500 .83rem/1 var(--f-etiquette); letter-spacing: .04em; color: var(--jaune); white-space: nowrap;
}
.aides { list-style: none; margin: 36px 0 0; padding: 22px 0 0; border-top: 1px solid var(--ligne); display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: baseline; }
.aides li { display: flex; align-items: baseline; gap: 12px; }
.aides b { font: 800 2rem/1 var(--f-titre); color: var(--jaune); }
.aides span { color: #d3d0ca; font-size: .95rem; }
.aides .aides-note { font: 500 .85rem/1.4 var(--f-etiquette); color: var(--gris-clair); flex-basis: 100%; }

/* Encadré subvention des pages de service */
.subvention { display: grid; grid-template-columns: 1fr; border-radius: var(--rayon); overflow: hidden; margin-bottom: 48px; background: var(--blanc); border: 1px solid #dedbd2; }
.subvention-montant { background: var(--jaune); padding: 18px 26px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.subvention-montant span { font: 500 .79rem/1.2 var(--f-etiquette); text-transform: uppercase; letter-spacing: .1em; color: #3c3a2a; }
.subvention-montant b { font: 800 clamp(2.2rem, 4vw, 3rem)/1 var(--f-titre); order: -1; }
.subvention-montant small { font-size: .85rem; color: #3c3a2a; }
.subvention-corps { padding: 24px 26px; }
.corps-service .texte .subvention-corps h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin: 0 0 .4em; }
.subvention-corps ul { margin: 14px 0; }
.subvention-corps li { font-size: .96rem; }
.subvention-source { font: 500 .83rem/1.5 var(--f-etiquette); color: var(--gris); margin: 0; }

/* Bloc entrepreneurs de la page construction neuve */
.entrepreneurs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.entrepreneurs h2 { margin: 0; }
.entrepreneurs p { color: #c3c0ba; font-size: 1.08rem; }
@media (max-width: 860px) { .entrepreneurs { grid-template-columns: 1fr; } }

.disjoncteur.techno .calibre { color: var(--jaune); }

/* Avis */
.avis-tete { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; margin: -16px 0 36px; }
.lien-avis {
  font: 700 1.05rem/1 var(--f-titre); text-transform: uppercase; letter-spacing: .07em; text-decoration: none;
  color: var(--encre); padding-bottom: 4px; box-shadow: inset 0 -3px 0 var(--jaune-fonce);
}
.lien-avis:hover { color: var(--encre); box-shadow: inset 0 -1.4em 0 var(--jaune); }
.lien-avis span { display: inline-block; transition: transform .15s; }
.lien-avis:hover span { transform: translateX(4px); }
.note { display: flex; align-items: center; gap: 12px; }
.note b { font: 800 3.2rem/1 var(--f-titre); }
.note .etoiles { font-size: 1.3rem; }
.note span:last-child { font: 500 .87rem/1.2 var(--f-etiquette); color: var(--gris); text-transform: uppercase; letter-spacing: .06em; }
.avis { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 1.6vw, 1.6rem); align-items: start; }
.avis-carte { margin: 0; background: var(--blanc); border-radius: var(--rayon); padding: 1.6rem; border-top: 4px solid var(--jaune); }
.avis-carte blockquote { margin: 12px 0 18px; }
.avis-carte blockquote p { margin: 0; font-size: .98rem; }
.avis-carte figcaption b { display: block; font-weight: 600; }
.avis-carte figcaption span { font: 500 .85rem/1.4 var(--f-etiquette); color: var(--gris); }
.avis-carte figcaption .traduit { display: block; margin-top: .3rem; font-style: italic; }
@media (max-width: 1000px) { .avis { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .avis { grid-template-columns: 1fr; } }

/* Méthode : une vraie séquence, donc numérotée */
.etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: etape; }
.etapes li { counter-increment: etape; padding: 28px 26px 8px 0; border-top: 3px solid var(--encre); margin-right: 22px; }
.etapes li::before {
  content: "0" counter(etape); display: inline-block; margin-bottom: 14px; padding: 4px 8px; border-radius: 6px;
  font: 500 .97rem/1 var(--f-etiquette); background: var(--jaune); color: var(--encre);
}
.etapes h3 { font-size: 1.45rem; }
.etapes p { color: var(--gris); font-size: .98rem; }
@media (max-width: 860px) { .etapes { grid-template-columns: 1fr 1fr; row-gap: 20px; } }
@media (max-width: 520px) { .etapes { grid-template-columns: 1fr; } .etapes li { margin-right: 0; } }

/* À propos */
.apropos { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.realisations-vide {
  border: 2px dashed #b8b4aa; border-radius: var(--rayon); aspect-ratio: 4 / 5;
  display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 4vw, 44px);
  color: var(--gris); text-align: center;
}
.realisations-vide b { display: block; font: 800 1.7rem/1 var(--f-titre); text-transform: uppercase; color: var(--encre); margin-bottom: 12px; }
.realisation { margin: 0; }
.realisation img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--rayon); }
.realisation figcaption {
  display: flex; justify-content: space-between; gap: 1rem; margin-top: .8rem;
  font: 500 .87rem/1.4 var(--f-etiquette); color: var(--gris);
}
.realisation figcaption span:first-child { color: var(--encre); font-weight: 500; }
.engagements { list-style: none; padding: 0; margin: 24px 0 32px; }
.engagements li { padding: 14px 0 14px 34px; border-top: 1px solid #cfccc3; position: relative; }
.engagements li::before {
  content: ""; position: absolute; left: 0; top: 21px; width: 16px; height: 9px;
  border-left: 3px solid var(--encre); border-bottom: 3px solid var(--encre); transform: rotate(-45deg);
}
@media (max-width: 860px) { .apropos { grid-template-columns: 1fr; } .realisations-vide { aspect-ratio: auto; min-height: 220px; } .realisation img { aspect-ratio: 4 / 3; } }

/* Zones */
.zones { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.zones li { padding: 10px 16px; background: var(--blanc); border: 1px solid #dedbd2; border-radius: 999px; font-weight: 500; font-size: .96rem; }
.zones li.base { background: var(--jaune); border-color: var(--jaune); font-weight: 700; }
.zones li.large { background: var(--anthracite); border-color: var(--anthracite); color: var(--blanc); }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid #cfccc3; }
.faq details:last-child { border-bottom: 1px solid #cfccc3; }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font-weight: 600; font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 18px; width: 30px; height: 30px; border-radius: 6px;
  display: grid; place-items: center; background: var(--anthracite); color: var(--jaune);
  font: 700 1.3rem/1 var(--f-etiquette);
}
.faq details[open] summary::after { content: "−"; background: var(--jaune); color: var(--encre); }
.faq details p { padding: 0 0 22px; margin: 0; color: var(--gris); max-width: 48em; }

/* Appel à l'action final : le fil du logo finit dans la fiche */
.appel { background: var(--jaune); color: var(--encre); padding: clamp(3.5rem, 7vw, 7rem) 0; overflow: hidden; }
.appel .conteneur { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.appel h2 { margin: 0 0 10px; }
.appel p { margin: 0; color: #3c3a2a; max-width: 34em; }
.appel-actions { min-width: 230px; }
.appel .tel { font: 800 clamp(1.9rem, 3.4vw, 2.7rem)/1 var(--f-titre); color: var(--encre); text-decoration: none; display: block; margin-bottom: 14px; }
.fil-fiche { display: block; width: 100%; height: 26px; margin-bottom: 18px; color: var(--encre); }

/* Pied de page */
.pied { background: var(--nuit); color: var(--gris-clair); padding: clamp(4rem, 6vw, 6rem) 0 clamp(7rem, 8vw, 7.5rem); font-size: .95rem; }
.pied .grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.pied-logo { width: 11rem; height: auto; border-radius: 8px; margin-bottom: 18px; }
.pied h3 { font-size: 1.15rem; color: var(--blanc); margin-bottom: 14px; }
.pied ul { list-style: none; padding: 0; margin: 0; }
.pied li { margin-bottom: 8px; }
.pied a { color: #d3d0ca; text-decoration: none; }
.pied a:hover { color: var(--jaune); text-decoration: underline; }
.pied address { font-style: normal; }
.pied .mono { font-family: var(--f-etiquette); font-size: .8rem; }
.pied .bas { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--ligne); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; }
@media (max-width: 860px) { .pied .grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pied .grille { grid-template-columns: 1fr; } }

/* Barre d'appel mobile */
.barre-mobile { display: none; }
@media (max-width: 760px) {
  .barre-mobile {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, .25);
  }
  .barre-mobile a { min-height: 58px; display: grid; place-items: center; font: 700 1.08rem/1 var(--f-titre); text-transform: uppercase; letter-spacing: .07em; text-decoration: none; }
  .barre-mobile .b1 { background: var(--anthracite); color: var(--blanc); }
  .barre-mobile .b2 { background: var(--jaune); color: var(--encre); }
}

/* ── Pages de service ───────────────────────────────── */
.fil { font: 500 .85rem/1.4 var(--f-etiquette); color: var(--gris-clair); margin-bottom: 22px; }
.fil a { color: #d3d0ca; text-decoration: none; }
.fil a:hover { color: var(--jaune); text-decoration: underline; }
.tete-service { padding: clamp(3rem, 7vw, 7rem) 0; }
.tete-service .conteneur { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 6vw, 7rem); align-items: center; }
.tete-service h1 { color: var(--blanc); font-size: clamp(2.4rem, 5.2vw, 4.4rem); }
.tete-service .chapeau { color: #c3c0ba; font-size: 1.12rem; margin-bottom: 28px; }
@media (max-width: 860px) { .tete-service .conteneur, .ouverture .conteneur { grid-template-columns: 1fr; } }

/* La plaque signalétique du service */
.plaque { background: var(--plaque); border-radius: 14px; padding: 1.5rem 1.6rem; box-shadow: 0 24px 50px rgba(0, 0, 0, .3); }
.plaque-tete { display: flex; justify-content: space-between; align-items: end; padding-bottom: 14px; border-bottom: 2px solid var(--jaune); }
.plaque-tete span { font: 500 .83rem/1 var(--f-etiquette); text-transform: uppercase; letter-spacing: .12em; color: #d3d0ca; }
.plaque-tete b { font: 800 clamp(2.4rem, 4.4vw, 3.6rem)/.9 var(--f-titre); color: var(--jaune); text-align: right; }
.plaque dl { margin: 6px 0 14px; display: grid; grid-template-columns: auto 1fr; }
.plaque dt, .plaque dd { padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); margin: 0; }
.plaque dt { font: 500 .81rem/1.4 var(--f-etiquette); text-transform: uppercase; letter-spacing: .08em; color: #d3d0ca; padding-right: 18px; }
.plaque dd { font-weight: 600; color: var(--blanc); text-align: right; }
.plaque-pied { display: flex; justify-content: space-between; font: 500 .81rem/1 var(--f-etiquette); color: #d3d0ca; }

.corps-service { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.corps-service .texte h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-top: 1.4em; }
.corps-service .texte h2:first-child { margin-top: 0; }
.corps-service .texte ul { padding-left: 0; list-style: none; }
.corps-service .texte li { margin-bottom: 8px; padding-left: 22px; position: relative; }
.corps-service .texte li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 10px; border-radius: 3px; background: var(--jaune-fonce); }
.avis-seul { margin: 40px 0 0; padding: 24px 26px; background: var(--beton); border-radius: var(--rayon); border-left: 4px solid var(--jaune-fonce); }
.avis-seul blockquote { margin: 10px 0 12px; font-size: 1.08rem; }
.avis-seul blockquote p { margin: 0; }
.avis-seul figcaption { font: 500 .87rem/1.4 var(--f-etiquette); color: var(--gris); }
.en-bref { background: var(--blanc); padding: 1.8rem; border-radius: var(--rayon); border-top: 4px solid var(--jaune); position: sticky; top: 100px; box-shadow: 0 1px 0 #dedbd2; }
.clair .en-bref { box-shadow: none; }
.en-bref h2 { font-size: 1.5rem; }
.en-bref dl { margin: 0 0 24px; }
.en-bref dt { font: 500 .79rem/1.3 var(--f-etiquette); text-transform: uppercase; letter-spacing: .1em; color: var(--gris); margin-top: 14px; }
.en-bref dd { margin: 4px 0 0; font-weight: 500; }
.en-bref .bouton { width: 100%; }
@media (max-width: 900px) { .corps-service { grid-template-columns: 1fr; } .en-bref { position: static; } }

.autres { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.autres a {
  background: var(--blanc); padding: 20px 22px; border-radius: var(--rayon); border: 1px solid #dedbd2;
  text-decoration: none; color: var(--encre); font: 800 1.3rem/1.05 var(--f-titre); text-transform: uppercase;
}
.autres a span { display: block; font: 500 .83rem/1 var(--f-etiquette); color: var(--gris); margin-bottom: 12px; }
.autres a:hover { background: var(--anthracite); color: var(--blanc); border-color: var(--anthracite); }
.autres a:hover span { color: var(--jaune); }
@media (max-width: 900px) { .autres { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .autres { grid-template-columns: 1fr; } }

/* ── Formulaire de devis ────────────────────────────── */
.formulaire { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; background: var(--blanc); padding: clamp(22px, 4vw, 44px); border-radius: var(--rayon); }
.formulaire .plein { grid-column: 1 / -1; }
.formulaire label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.formulaire .aide { font-weight: 400; color: var(--gris); font-size: .86rem; }
.formulaire input, .formulaire select, .formulaire textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--encre);
  background: var(--papier); border: 1px solid #bdb9b0; border-radius: 8px;
}
.formulaire textarea { min-height: 140px; resize: vertical; }
.formulaire input:focus, .formulaire select:focus, .formulaire textarea:focus { outline: 3px solid var(--jaune); outline-offset: 0; border-color: var(--encre); }
.formulaire .consentement { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: .92rem; color: var(--gris); }
.formulaire .consentement input { width: 22px; min-height: 22px; height: 22px; flex: none; margin-top: 2px; accent-color: var(--encre); }
.formulaire .bouton { width: 100%; }
.formulaire .piege { position: absolute; left: -9999px; }
.message-envoi { grid-column: 1 / -1; padding: 16px 18px; background: #fbf8c9; border-left: 4px solid var(--jaune-fonce); border-radius: 6px; margin: 0; }
.message-envoi[hidden] { display: none; }
@media (max-width: 640px) { .formulaire { grid-template-columns: 1fr; } }

.soumission-grille { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .soumission-grille { grid-template-columns: 1fr; } }

/* Texte long (confidentialité) */
.texte-long { max-width: 760px; }
.texte-long h2 { font-size: 1.9rem; margin-top: 1.6em; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Mise en ligne (Signeault) : erreurs du formulaire, envoi en cours, avis Google */
.message-erreur { grid-column: 1 / -1; padding: 14px 18px; background: #fde8e8; border-left: 4px solid #b42318; border-radius: 6px; margin: 0; color: #7a1a12; }
.message-erreur[hidden] { display: none; }
.formulaire .bouton[disabled] { opacity: .6; cursor: progress; }
.formulaire .progres { grid-column: 1 / -1; margin: 0; color: var(--gris); font-size: .92rem; }
.formulaire.envoye > div, .formulaire.envoye > .progres { display: none; }
.avis-carte .avis-date { display: block; font: 500 .8rem/1.4 var(--f-etiquette); color: var(--gris); margin-top: .2rem; }
.avis-source { margin: 1rem 0 0; font-size: .85rem; color: var(--gris); }

/* ---------------------------------------------------------------- nos réalisations */
.real-intro { margin: .6rem 0 0; color: var(--gris-clair); max-width: 40rem; }
.real-filtres { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.real-filtres[hidden], .real-filtre[hidden], [data-real-accueil][hidden], .real-vide[hidden] { display: none; }
.real-filtre { font: 600 .95rem var(--f-texte); border: 1px solid var(--beton); background: var(--blanc); color: var(--encre); border-radius: 999px; padding: .45rem 1rem; cursor: pointer; }
.real-filtre.actif { background: var(--anthracite); border-color: var(--anthracite); color: var(--jaune); }
.real-liste { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.real-attente, .real-vide { color: var(--gris); }
.real-carte { background: var(--blanc); border-radius: var(--rayon); overflow: hidden; border-top: 4px solid var(--jaune); display: flex; flex-direction: column; box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.real-photo { position: relative; display: block; padding: 0; border: 0; background: var(--beton); cursor: zoom-in; }
.real-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; height: auto; transition: transform .3s; }
.real-photo:hover img, .real-photo:focus-visible img { transform: scale(1.03); }
.real-photo { overflow: hidden; }
.real-nb { position: absolute; right: .6rem; bottom: .6rem; background: rgba(31,30,30,.82); color: var(--blanc); font: 600 .8rem var(--f-texte); border-radius: 999px; padding: .2rem .6rem; }
.real-texte { padding: 1.1rem 1.3rem 1.4rem; }
.real-texte h3 { margin: 0 0 .25rem; font-family: var(--f-titre); font-size: 1.35rem; line-height: 1.15; }
.real-texte p { margin: .4rem 0 0; color: var(--gris); }
.real-texte .real-meta { margin: 0; font-size: .9rem; color: var(--gris); text-transform: capitalize; }
.real-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem; }
.real-cta h2 { margin: 0 0 .3rem; }
.real-cta p { margin: 0; color: var(--gris); }
#realisations .bloc-tete { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; }
.real-vue { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; display: none; }
.real-vue[open] { display: flex; align-items: center; justify-content: center; }
.real-vue::backdrop { background: rgba(15,15,15,.92); }
.real-vue figure { margin: 0; max-width: min(92vw, 1400px); text-align: center; }
.real-vue img { max-width: 100%; max-height: 82vh; border-radius: 6px; display: block; margin: 0 auto; }
.real-vue figcaption { color: var(--blanc); margin-top: .7rem; font-size: 1rem; }
.real-vue button { position: absolute; background: rgba(255,255,255,.12); color: var(--blanc); border: 0; border-radius: 999px; width: 3rem; height: 3rem; font-size: 2rem; line-height: 1; cursor: pointer; }
.real-vue button:hover { background: rgba(255,255,255,.25); }
.real-vue button[hidden] { display: none; }
.real-fermer { top: 1rem; right: 1rem; }
.real-prec { left: 1rem; top: 50%; transform: translateY(-50%); }
.real-suiv { right: 1rem; top: 50%; transform: translateY(-50%); }
