/* D.C Couverture — v6 (23/09/2026)
   Inspiré de la mise en page d'ED Ouest (cartes nettes, bandeaux sombres,
   pastilles de prestations), en plus épuré : peu de texte, photos entières
   (format portrait des photos de chantier, jamais recadrées serré).
   Couleurs de la carte de visite : anthracite, rouge, blanc. */

:root {
  --encre: #1d2025;
  --sombre: #202328;
  --sombre-2: #2a2e34;
  --rouge: #c62828;
  --rouge-fonce: #a51f1f;
  --gris: #666b73;
  --gris-clair: #f3f4f5;
  --trait: #e3e5e8;
  --blanc: #fff;
  --rayon: 14px;
  --ombre: 0 1px 2px rgba(20, 24, 30, .05), 0 10px 30px rgba(20, 24, 30, .07);
  --env: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--blanc); color: var(--encre);
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem; line-height: 1.6;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .6rem; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(1.8rem, 3vw, 2.45rem); }
h2 { font-size: clamp(1.45rem, 2.2vw, 1.85rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
.env { width: 100%; max-width: var(--env); margin: 0 auto; padding: 0 24px; }
.etroit { max-width: 780px; }
section { padding: 4.5rem 0; }
@media (max-width: 760px) { section { padding: 3rem 0; } .env { padding: 0 16px; } }
.gris { color: var(--gris); }
.rubrique { display: inline-flex; align-items: center; gap: .4rem; margin: 0 0 .7rem; font-size: .78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em; color: var(--rouge); }
.titre-souligne::after { content: ""; display: block; width: 44px; height: 3px; background: var(--rouge); margin-top: .8rem; border-radius: 2px; }
.fond-gris { background: var(--gris-clair); }

/* Boutons */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .72rem 1.25rem;
  border-radius: 10px; border: 1.5px solid var(--rouge); background: var(--rouge); color: #fff; text-decoration: none;
  font: inherit; font-weight: 600; font-size: .98rem; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.bouton:hover { background: var(--rouge-fonce); border-color: var(--rouge-fonce); }
.bouton.sombre { background: var(--encre); border-color: var(--encre); }
.bouton.sombre:hover { background: #000; border-color: #000; }
.bouton.creux { background: transparent; color: var(--encre); border-color: var(--trait); }
.bouton.creux:hover { border-color: var(--encre); background: transparent; }
.bouton.blanc-creux { color: #fff; border-color: rgba(255,255,255,.45); background: transparent; }
.bouton.blanc-creux:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.bouton.gros { padding: .85rem 1.4rem; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }
.lien-fleche { display: inline-flex; align-items: center; gap: .4rem; color: var(--rouge); font-weight: 600; text-decoration: none; }
.lien-fleche:hover { text-decoration: underline; }

/* Pré-site */
.presite { background: #fff6dc; color: #6b5200; text-align: center; font-size: .8rem; padding: .35rem 16px; }

/* En-tête */
header.site { background: #fff; position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--trait); }
.entete { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.marque img { height: 54px; width: auto; }
nav.principal { display: flex; align-items: center; gap: 1.6rem; margin-left: auto; }
nav.principal > a { text-decoration: none; font-weight: 500; padding: .3rem 0; border-bottom: 2px solid transparent; }
nav.principal > a:hover, nav.principal > a[aria-current=page] { border-bottom-color: var(--rouge); }
.menu-prestas { display: none; }
.entete-actions { display: flex; gap: .5rem; }
.entete-actions .bouton { padding: .6rem 1rem; font-size: .92rem; }
.burger { display: none; margin-left: auto; background: none; border: 0; padding: .4rem; cursor: pointer; color: var(--encre); }

/* Pastilles des prestations, sous le menu (ED Ouest) */
.pastilles { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; padding: .7rem 0 .9rem; }
.pastilles a { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .95rem; border-radius: 999px;
  background: var(--gris-clair); text-decoration: none; font-size: .9rem; font-weight: 500; transition: background .2s, color .2s; }
.pastilles a svg { color: var(--rouge); }
.pastilles a:hover { background: #e9eaec; }
.pastilles a[aria-current=page] { background: var(--encre); color: #fff; }
.pastilles a[aria-current=page] svg { color: #fff; }

@media (max-width: 980px) {
  .entete-actions .devis-entete { display: none; }
  nav.principal { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column;
    align-items: stretch; gap: 0; padding: .5rem 16px 1rem; box-shadow: 0 12px 24px rgba(0,0,0,.08); }
  nav.principal.ouvert { display: flex; }
  nav.principal > a { padding: .8rem 0; border-bottom: 1px solid var(--trait); }
  .menu-prestas { display: block; padding: .6rem 0 0; }
  .menu-prestas p { margin: .4rem 0; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gris); }
  .menu-prestas a { display: flex; align-items: center; gap: .6rem; padding: .55rem 0; text-decoration: none; }
  .menu-prestas a svg { color: var(--rouge); }
  .burger { display: block; margin-left: 0; }
  .entete { gap: .8rem; }
  .entete-actions { margin-left: auto; }
  .pastilles { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: .55rem 0 .7rem; }
  .pastilles::-webkit-scrollbar { display: none; }
  .pastilles a { flex: none; }
  .pastilles { scroll-behavior: smooth; scroll-padding: 0 44px; }
  /* Défilement visible : fondu + flèche du côté où il reste des prestations */
  .pastilles-cadre::before, .pastilles-cadre::after { content: ""; position: absolute; top: 0; bottom: 0; width: 56px; pointer-events: none; z-index: 1; transition: opacity .2s; }
  .pastilles-cadre::before { left: 0; background: linear-gradient(90deg, #fff 35%, rgba(255,255,255,0)); }
  .pastilles-cadre::after { right: 0; background: linear-gradient(270deg, #fff 35%, rgba(255,255,255,0)); }
  .pastilles-cadre .pastilles-fleche { display: flex; }
  .pastilles-cadre.debut::before, .pastilles-cadre.debut .gauche,
  .pastilles-cadre.fin::after, .pastilles-cadre.fin .droite { opacity: 0; pointer-events: none; }
}
@media (max-width: 520px) { .entete-actions .tel-entete .texte { display: none; } .marque img { height: 46px; } }

/* Carte de haut de page : bloc sombre + photo (pages intérieures et accueil) */
.page-tete { padding: 1.6rem 0 1rem; }
.fil { font-size: .85rem; color: var(--gris); margin-bottom: 1rem; }
.fil a { text-decoration: none; }
.fil a:hover { text-decoration: underline; }
.tete-carte { display: grid; grid-template-columns: 1.1fr 1fr; border-radius: 18px; overflow: hidden; background: var(--sombre); color: #fff; min-height: 420px; }
.tete-texte { padding: clamp(1.8rem, 4vw, 3.4rem); display: flex; flex-direction: column; justify-content: center; }
.tete-texte .rubrique { color: #ff8a80; }
.tete-texte .chapeau { color: rgba(255,255,255,.78); font-size: 1.05rem; max-width: 34rem; margin: 0; }
.tete-texte h1 { color: #fff; }
.tete-texte h1::after { content: ""; display: block; width: 44px; height: 3px; background: var(--rouge); margin-top: 1rem; border-radius: 2px; }
.tete-texte .bouton.creux { color: #fff; border-color: rgba(255,255,255,.45); }
.tete-texte .bouton.creux:hover { border-color: #fff; }
.tete-photo { position: relative; }
.tete-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tete-atouts { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; list-style: none; padding: 0; margin: 1.6rem 0 0; font-size: .9rem; color: rgba(255,255,255,.8); }
.tete-atouts li { display: inline-flex; align-items: center; gap: .4rem; }
.tete-atouts svg { color: #ff8a80; }
@media (max-width: 860px) {
  .tete-carte { grid-template-columns: 1fr; min-height: 0; }
  .tete-photo { order: -1; aspect-ratio: 4 / 3; }
}

/* Intro deux colonnes (ED Ouest) */
.intro-2col { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; }
.intro-2col p { color: var(--gris); }
.intro-2col p strong { color: var(--encre); }
@media (max-width: 860px) { .intro-2col { grid-template-columns: 1fr; gap: 1rem; } }

/* Cartes de prestations (photo, titre, barre « En savoir plus », texte) */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4rem 1.6rem; margin-top: 2.2rem; }
.service { text-decoration: none; display: block; }
.service-photo { border-radius: var(--rayon); overflow: hidden; aspect-ratio: 4 / 3; background: var(--gris-clair); }
.service-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service:hover .service-photo img { transform: scale(1.04); }
.service h3 { margin: 1rem 0 .7rem; font-size: 1.2rem; }
.service-barre { display: grid; grid-template-columns: 64px 1fr; border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); }
.service-barre span { display: flex; align-items: center; padding: .55rem 0; }
.service-barre span:first-child { justify-content: center; border-right: 1px solid var(--trait); color: var(--rouge); }
.service-barre span:last-child { padding-left: 1rem; font-weight: 500; gap: .4rem; }
.service:hover .service-barre span:last-child { color: var(--rouge); }
.service p { color: var(--gris); margin: .8rem 0 0; font-size: .96rem; }
@media (max-width: 980px) { .services { grid-template-columns: repeat(2, 1fr); } }
/* Téléphone : cartes en ligne (vignette à gauche) pour ne pas empiler six grandes photos. */
@media (max-width: 600px) {
  .services { grid-template-columns: 1fr; gap: 0; margin-top: 1.4rem; border-top: 1px solid var(--trait); }
  .service { display: grid; grid-template-columns: 104px 1fr; grid-template-rows: auto auto; column-gap: 1rem; align-items: center;
    padding: .9rem 0; border-bottom: 1px solid var(--trait); }
  .service-photo { grid-row: 1 / 3; aspect-ratio: 1; border-radius: 10px; }
  .service h3 { margin: 0 0 .2rem; font-size: 1.02rem; align-self: end; }
  .service-barre { display: none; }
  .service p { margin: 0; font-size: .88rem; line-height: 1.45; align-self: start; }
}

/* Bandeau sombre : avant / après + chiffres */
.bandeau-sombre { background: var(--sombre); color: #fff; }
.bandeau-sombre .gris { color: rgba(255,255,255,.7); }
.aa-zone { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.aa-choix { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.4rem 0 0; }
.aa-choix button { font: inherit; font-size: .9rem; padding: .45rem .95rem; border-radius: 999px; cursor: pointer;
  background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.3); }
.aa-choix button[aria-pressed=true] { background: #fff; color: var(--encre); border-color: #fff; }
.chiffres { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem 2rem; margin-top: 2.4rem; }
.chiffre strong { display: block; font-size: 1.9rem; font-weight: 600; line-height: 1.1; }
.chiffre span { color: rgba(255,255,255,.7); font-size: .92rem; }
.chiffre::after { content: ""; display: block; width: 34px; height: 3px; background: var(--rouge); margin-top: .6rem; border-radius: 2px; }
@media (max-width: 860px) { .aa-zone { grid-template-columns: 1fr; gap: 2rem; } }

/* Comparateur avant / après (glisser) */
.aa { position: relative; aspect-ratio: 3 / 4; max-width: 460px; width: 100%; margin: 0 auto; border-radius: var(--rayon);
  overflow: hidden; background: #111; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; --pos: 50%; }
.aa img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.aa .aa-avant { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.aa-ligne { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.aa-poignee { position: absolute; top: 50%; left: var(--pos); width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  background: #fff; color: var(--encre); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.3); pointer-events: none; }
.aa-etiq { position: absolute; top: 12px; padding: .25rem .6rem; border-radius: 6px; background: rgba(0,0,0,.55); color: #fff; font-size: .78rem; font-weight: 600; pointer-events: none; }
.aa-etiq.avant { left: 12px; } .aa-etiq.apres { right: 12px; }
.aa input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.aa:focus-within { outline: 3px solid #ff8a80; outline-offset: 3px; }
.aa-legende { text-align: center; font-size: .9rem; margin: .8rem 0 0; }
.aa-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.aa-grille .aa { max-width: none; }
@media (max-width: 860px) { .aa-grille { grid-template-columns: 1fr; } .aa-grille .aa { max-width: 460px; } }

/* Pourquoi choisir (accordéon) */
.pourquoi { display: grid; grid-template-columns: 1.3fr .7fr; gap: 3rem; align-items: start; }
.pourquoi .titre { order: 2; }
@media (max-width: 860px) { .pourquoi { grid-template-columns: 1fr; gap: 1rem; } .pourquoi .titre { order: 0; } }
.accordeon details { border-bottom: 1px solid var(--encre); }
.accordeon details:first-child { border-top: 1px solid var(--encre); }
.accordeon summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .9rem; padding: 1.05rem .3rem; font-weight: 500; font-size: 1.02rem; }
.accordeon summary::-webkit-details-marker { display: none; }
.accordeon summary svg { color: var(--rouge); flex: none; }
.accordeon summary::after { content: "+"; margin-left: auto; font-size: 1.3rem; line-height: 1; color: var(--encre); }
.accordeon details[open] summary::after { content: "–"; }
.accordeon details p { margin: 0; padding: 0 .3rem 1.1rem; color: var(--gris); }

/* Galeries : photos entières (format portrait), jamais recadrées serré */
.galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1rem; margin-top: 1.4rem; }
.galerie figure { margin: 0; }
.galerie img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; cursor: zoom-in; background: var(--gris-clair); transition: transform .35s ease, box-shadow .35s ease; }
.galerie img:hover { transform: translateY(-3px); box-shadow: var(--ombre); }
.galerie figcaption { font-size: .84rem; color: var(--gris); margin-top: .45rem; line-height: 1.4; }
/* Accueil : une rangée de vignettes (6 sur ordinateur, 3 sur tablette, 2 sur téléphone). */
.galerie-6 .galerie { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 980px) { .galerie-6 .galerie { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .galerie, .galerie-6 .galerie { grid-template-columns: repeat(2, 1fr); gap: .7rem; } }
.blog-tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.blog-tete h2 { margin: 0; }

/* Apparition au défilement */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--rv-delai, 0s); }
.js .rv.vu { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } .service-photo img, .galerie img { transition: none; } }

/* Pages prestations */
.presta-intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: start; }
@media (max-width: 860px) { .presta-intro { grid-template-columns: 1fr; gap: 1.6rem; } }
.coches { list-style: none; padding: 0; margin: 0; }
.coches li { position: relative; padding: .8rem 0 .8rem 2rem; border-bottom: 1px solid var(--trait); }
.coches li::before { content: ""; position: absolute; left: .2rem; top: 1.1rem; width: .75rem; height: .42rem; border-left: 2.5px solid var(--rouge); border-bottom: 2.5px solid var(--rouge); transform: rotate(-45deg); }
.garanties { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.garanties li { display: flex; align-items: center; gap: .8rem; padding: .85rem 1rem; border: 1px solid var(--trait); border-radius: 12px; font-weight: 500; }
.garanties svg { color: var(--rouge); flex: none; }
.service-bas { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 860px) { .service-bas { grid-template-columns: 1fr; } }
.tel-geant { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.6rem; font-size: 1.5rem; font-weight: 600; text-decoration: none; }
.tel-geant svg { color: var(--rouge); }
.autres-grille { display: grid; grid-template-columns: repeat(5, 1fr); gap: .8rem; margin-top: 1.2rem; }
.autres-grille a { display: flex; flex-direction: column; align-items: center; gap: .5rem; padding: 1.1rem .6rem; border: 1px solid var(--trait); border-radius: 12px; text-decoration: none; text-align: center; font-size: .9rem; font-weight: 500; transition: border-color .2s, transform .2s; }
.autres-grille a svg { color: var(--rouge); }
.autres-grille a:hover { border-color: var(--encre); transform: translateY(-2px); }
@media (max-width: 860px) { .autres-grille { grid-template-columns: repeat(2, 1fr); } }

/* Formulaire */
.carte-form { background: #fff; border: 1px solid var(--trait); border-radius: 16px; padding: clamp(1.3rem, 3vw, 2rem); box-shadow: var(--ombre); }
.carte-form h2 { font-size: 1.35rem; }
.formulaire { display: grid; gap: .9rem; margin-top: 1rem; }
.formulaire .ligne { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
@media (max-width: 560px) { .formulaire .ligne { grid-template-columns: 1fr; } }
.formulaire label { display: grid; gap: .3rem; font-size: .9rem; font-weight: 500; }
.formulaire input, .formulaire select, .formulaire textarea { font: inherit; font-size: 1rem; padding: .7rem .85rem; border: 1px solid #cfd3d8; border-radius: 10px; background: #fff; width: 100%; color: var(--encre); }
.formulaire input:focus, .formulaire select:focus, .formulaire textarea:focus { outline: 2px solid var(--rouge); outline-offset: 1px; border-color: transparent; }
.formulaire textarea { min-height: 110px; resize: vertical; }
.note-form { font-size: .8rem; color: var(--gris); margin: 0; }

/* Contact */
.contact-cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.contact-carte { display: flex; flex-direction: column; gap: .3rem; padding: 1.5rem; border: 1px solid var(--trait); border-radius: 14px; text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s; }
.contact-carte:hover { border-color: var(--encre); transform: translateY(-3px); box-shadow: var(--ombre); }
.contact-icone { width: 48px; height: 48px; border-radius: 12px; background: #fdecec; color: var(--rouge); display: flex; align-items: center; justify-content: center; margin-bottom: .6rem; }
.contact-carte span:last-child { color: var(--gris); font-size: .92rem; overflow-wrap: anywhere; }
@media (max-width: 760px) { .contact-cartes { grid-template-columns: 1fr; } }
.contact-grille { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.4rem; align-items: start; }
@media (max-width: 860px) { .contact-grille { grid-template-columns: 1fr; } }
.contact-cote img { width: 100%; height: auto; aspect-ratio: 3 / 4; max-height: 520px; object-fit: cover; border-radius: 14px; }
.contact-zone { margin-top: 1rem; padding: 1.3rem; border: 1px solid var(--trait); border-radius: 14px; background: #fff; }
.contact-zone-titre { display: flex; align-items: center; gap: .5rem; font-weight: 600; margin-bottom: .4rem; }
.contact-zone-titre svg, .contact-garanties svg { color: var(--rouge); }
.contact-garanties { display: flex; align-items: center; gap: .5rem; font-weight: 600; margin: .6rem 0 0; }

/* Zone (une ligne) */
.zone-ligne { padding: 1.4rem 0; background: var(--gris-clair); }
.zone-ligne .env { display: flex; align-items: center; gap: .8rem; }
.zone-ligne svg { color: var(--rouge); flex: none; }
.zone-ligne p { margin: 0; color: var(--gris); }

/* Avis */
.avis-grille { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: start; }
@media (max-width: 860px) { .avis-grille { grid-template-columns: 1fr; gap: 1.4rem; } }
.note-globale { display: flex; align-items: center; gap: .8rem; margin: .6rem 0 1.2rem; }
.note-globale strong { font-size: 2.2rem; }
.etoiles { color: #f5b301; letter-spacing: .08em; }
.liste-avis { display: grid; gap: 1rem; }
.avis-carte { background: #fff; border-radius: 14px; padding: 1.3rem; box-shadow: var(--ombre); }
.avis-tete { display: flex; align-items: center; gap: .8rem; margin-bottom: .5rem; }
.avis-tete small { display: block; color: var(--gris); }
.pastille { width: 42px; height: 42px; border-radius: 50%; background: var(--encre) center / cover; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; }
.avis-carte p { margin: .5rem 0 0; }
.avis-vide { background: #fff; border-radius: 14px; padding: 2rem; text-align: center; border: 1px dashed #cfd3d8; }
.avis-vide .etoiles { color: #d3d6da; font-size: 1.3rem; }
.avis-vide h3 { margin: .4rem 0 0; font-size: 1rem; }

/* Bandeau d'appel final (ED Ouest : photo + bloc sombre) */
.appel { padding: 3rem 0 4rem; }
.appel-carte { display: grid; grid-template-columns: .9fr 1.1fr; border-radius: 18px; overflow: hidden; background: var(--sombre); color: #fff; }
.appel-photo { position: relative; min-height: 220px; }
.appel-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.appel-texte { padding: clamp(1.6rem, 4vw, 2.8rem); display: flex; flex-direction: column; justify-content: center; }
.appel-texte h2 { color: #fff; }
.appel-texte p { color: rgba(255,255,255,.75); margin: 0; }
@media (max-width: 760px) { .appel-carte { grid-template-columns: 1fr; } .appel-photo { min-height: 200px; } }

/* Pied de page */
footer.site { background: #16181c; color: rgba(255,255,255,.78); padding: 3.2rem 0 1.4rem; font-size: .93rem; }
footer.site .colonnes { display: grid; grid-template-columns: 1.4fr 1.1fr .9fr 1.2fr 1fr; gap: 2rem; }
@media (max-width: 1000px) { footer.site .colonnes { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 640px) { footer.site .colonnes { grid-template-columns: 1fr 1fr; } footer.site .colonnes > div:first-child, footer.site .colonnes > div:nth-child(5) { grid-column: 1 / -1; } }
footer.site h4 { color: #fff; font-size: 1rem; margin-bottom: .9rem; }
footer.site ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
footer.site a { text-decoration: none; }
footer.site a:hover { color: #fff; }
.pied-marque img { height: 52px; width: auto; background: #fff; border-radius: 10px; padding: 6px 10px; margin-bottom: 1rem; }
.pied-garanties { display: flex; align-items: center; gap: .45rem; color: #fff; font-weight: 500; }
.pied-garanties svg, .pied-contact svg { color: #ff8a80; flex: none; }
.pied-contact li { display: flex; align-items: center; gap: .55rem; }
.pied-communes { color: rgba(255,255,255,.55); font-size: .88rem; }
.social { display: flex; gap: .5rem; margin-top: 1rem; }
.social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; }
.social a.cms-desactive { display: none; }
.mentions { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.4rem; padding-top: 1.2rem; font-size: .82rem; color: rgba(255,255,255,.5); }

/* Pied révélé (ordinateur, si le pied tient dans l'écran) */
body.reveal-on .reveal-above { position: relative; z-index: 2; background: #fff; margin-bottom: var(--footer-h); box-shadow: 0 20px 40px rgba(0,0,0,.18); }
body.reveal-on .reveal-footer { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1; }

/* Bouton haut de page, badge note */
.badge-note { display: none; }
.badge-note.visible { display: flex; position: fixed; left: 18px; bottom: 18px; z-index: 40; flex-direction: column; align-items: center; padding: .6rem .9rem; border-radius: 14px; background: var(--sombre); color: #fff; text-decoration: none; font-size: .8rem; box-shadow: var(--ombre); }
.badge-note strong { font-size: 1.3rem; }

/* Visionneuse */
.visionneuse { position: fixed; inset: 0; z-index: 100; background: rgba(10,12,15,.92); display: none; align-items: center; justify-content: center; padding: 3rem 4rem; }
.visionneuse.ouverte { display: flex; }
.visionneuse figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.visionneuse img { max-height: calc(100vh - 8rem); max-width: 100%; border-radius: 8px; }
.visionneuse figcaption { color: #fff; margin-top: .8rem; font-size: .95rem; text-align: center; }
.visionneuse button { position: absolute; background: rgba(255,255,255,.12); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.vis-fermer { top: 16px; right: 16px; } .vis-prec { left: 16px; top: 50%; margin-top: -24px; } .vis-suiv { right: 16px; top: 50%; margin-top: -24px; }
.vis-compte { position: absolute; top: 24px; left: 24px; color: rgba(255,255,255,.7); font-size: .9rem; }
body.sans-defilement { overflow: hidden; }
@media (max-width: 640px) { .visionneuse { padding: 3.5rem .5rem; } .vis-prec, .vis-suiv { top: auto; bottom: 16px; } }

/* Blog */
.articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 1.6rem; }
@media (max-width: 900px) { .articles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .articles { grid-template-columns: 1fr; } }
.article-carte { display: block; text-decoration: none; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--trait); transition: transform .2s, box-shadow .2s; }
.article-carte:hover { transform: translateY(-3px); box-shadow: var(--ombre); }
.article-carte img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.article-carte div { padding: 1.1rem 1.2rem 1.3rem; }
.article-carte h3 { font-size: 1.05rem; }
.article-carte span { display: inline-flex; align-items: center; gap: .35rem; color: var(--rouge); font-weight: 600; font-size: .92rem; }
.article-tete { padding: 2.4rem 0 1rem; }
.article-meta { color: var(--gris); font-size: .92rem; }
.article-photo { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; margin: 1rem 0 1.6rem; }
.article-intro { font-size: 1.1rem; }
.article-page h2 { margin-top: 2rem; font-size: 1.4rem; }
.article-page .env.etroit > p { color: #33373d; }
.encadre { margin: 2rem 0; padding: 1.5rem; border-radius: 14px; background: var(--gris-clair); border-left: 4px solid var(--rouge); }
.encadre-titre { font-weight: 600; font-size: 1.1rem; }
.article-pilier { display: flex; gap: .5rem; align-items: flex-start; padding: 1rem; border: 1px solid var(--trait); border-radius: 12px; margin-top: 2rem; }
.article-pilier svg { color: var(--rouge); flex: none; }

.hidden { display: none !important; }

/* Zone d'intervention : trois départements (accueil) et pages départements. */
.zones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2rem; }
.zones-2 { grid-template-columns: repeat(2, 1fr); }
.zone-carte { position: relative; display: block; padding: 1.6rem 1.6rem 1.4rem; border: 1px solid var(--trait); border-radius: var(--rayon);
  text-decoration: none; background: #fff; transition: border-color .2s, transform .2s; overflow: hidden; }
.zone-carte:hover { border-color: var(--encre); transform: translateY(-2px); }
.zone-num { position: absolute; right: 1.2rem; top: .6rem; font-size: 3.2rem; font-weight: 700; color: #e6e8eb; line-height: 1; letter-spacing: -.03em; }
.zone-carte h3 { position: relative; margin: 0 0 .4rem; }
.zone-carte p { position: relative; color: var(--gris); font-size: .92rem; margin: 0 0 1rem; }
.zone-carte .lien-fleche { font-size: .92rem; }
.zone-intro { display: grid; grid-template-columns: 1.3fr .7fr; gap: 3.5rem; align-items: start; }
.zone-intro p { color: var(--gris); }
.zone-intro .aa { max-width: 360px; margin-left: auto; }
.zone-intro .aa-legende { max-width: 360px; margin-left: auto; text-align: center; }
.garanties-ligne { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.garanties-ligne li { flex: none; padding: .55rem .9rem; font-size: .92rem; }
.communes { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.communes li { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .9rem; background: #fff; border: 1px solid var(--trait); border-radius: 999px; font-size: .92rem; }
.communes li svg { color: var(--rouge); }
footer.site .colonnes ul + ul, footer.site p + ul { margin-top: .6rem; }
@media (max-width: 860px) {
  .zones, .zones-2 { grid-template-columns: 1fr; }
  .zone-intro { grid-template-columns: 1fr; gap: 2rem; }
  .zone-intro .aa, .zone-intro .aa-legende { margin: 0 auto; }
}

/* Blocs propres à chaque prestation */
.reflexes { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.reflexes li { background: var(--sombre-2); border-radius: var(--rayon); padding: 1.6rem; }
.reflexes h3 { color: #fff; margin: .8rem 0 .4rem; }
.reflexes p { color: rgba(255,255,255,.72); margin: 0; font-size: .95rem; }
.reflexe-num { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--rouge); color: #fff; font-weight: 700; }
.icones-grille { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin: 1.8rem 0 1.6rem; }
.icones-grille > div { display: flex; flex-direction: column; gap: .35rem; padding: 1.3rem 1.1rem; border: 1px solid var(--trait); border-radius: var(--rayon); }
.icones-grille svg { color: var(--rouge); margin-bottom: .4rem; }
.icones-grille span { color: var(--gris); font-size: .9rem; line-height: 1.45; }
.deroule { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; counter-reset: none; position: relative; }
.deroule::before { content: ""; position: absolute; left: 20px; right: 20px; top: 20px; height: 2px; background: var(--trait); }
.deroule li { position: relative; }
.deroule li > span { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--encre); color: #fff; font-weight: 600; margin-bottom: 1rem; }
.deroule strong { display: block; margin-bottom: .25rem; }
.deroule p { color: var(--gris); font-size: .92rem; margin: 0; }
.quand { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.8rem; }
.quand div { border-left: 3px solid var(--rouge); padding-left: .9rem; }
.quand strong { display: block; color: #fff; }
.quand span { color: rgba(255,255,255,.7); font-size: .92rem; }
.materiaux, .pieces { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 2rem; }
.materiau figure, .piece figure { margin: 0 0 1rem; }
.materiau img, .piece img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--rayon); cursor: zoom-in; }
.materiau figcaption, .piece figcaption { font-size: .8rem; color: var(--gris); margin-top: .4rem; }
.materiau h3, .piece h3 { margin: 0 0 .3rem; }
.materiau p, .piece p { color: var(--gris); margin: 0; font-size: .95rem; }
.frise { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.frise li { position: relative; }
.frise figure { margin: 0; }
.frise img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; cursor: zoom-in; }
.frise figcaption { font-size: .82rem; color: var(--gris); margin-top: .45rem; line-height: 1.4; }
.frise-num { position: absolute; top: .5rem; left: .5rem; z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--rouge); color: #fff; font-weight: 700; font-size: .9rem; }
.piece-texte { display: flex; gap: 1rem; align-items: flex-start; margin-top: 2rem; padding: 1.3rem 1.4rem; background: var(--gris-clair); border-radius: var(--rayon); }
.piece-texte svg { color: var(--rouge); flex: none; }
.piece-texte p { margin: .2rem 0 0; color: var(--gris); }
.mini-etapes { margin: 1.6rem 0 0; padding-left: 1.2rem; color: rgba(255,255,255,.85); }
.mini-etapes li { margin: .4rem 0; }
.mini-etapes li::marker { color: #ff8a80; font-weight: 700; }
.cas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 1.8rem; }
.cas > div { padding: 1.6rem; border: 1px solid var(--trait); border-radius: var(--rayon); }
.cas svg { color: var(--rouge); }
.cas h3 { margin: .8rem 0 .3rem; }
.cas p { color: var(--gris); margin: 0; font-size: .95rem; }
.petits { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3.5rem; align-items: center; }
.petits-photo { margin: 0; }
.petits-photo img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 18px; max-height: 560px; cursor: zoom-in; }
.petits-photo figcaption { font-size: .85rem; color: var(--gris); margin-top: .5rem; }
.exemples { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.exemples li { display: flex; align-items: center; gap: .9rem; padding: .9rem 0; border-bottom: 1px solid var(--trait); font-weight: 500; }
.exemples svg { color: var(--rouge); flex: none; }
.grand-chiffre { margin-top: 1.8rem; display: flex; align-items: baseline; gap: .9rem; flex-wrap: wrap; }
.grand-chiffre strong { font-size: 2.4rem; font-weight: 700; color: var(--rouge); line-height: 1; }
.grand-chiffre span { color: var(--gris); }
@media (max-width: 980px) {
  .icones-grille { grid-template-columns: repeat(2, 1fr); }
  .frise { grid-template-columns: repeat(3, 1fr); }
  .deroule { grid-template-columns: 1fr; gap: 0; }
  .deroule::before { left: 19px; right: auto; top: 20px; bottom: 20px; width: 2px; height: auto; }
  .deroule li { display: grid; grid-template-columns: 40px 1fr; column-gap: 1rem; padding-bottom: 1.2rem; }
  .deroule li > span { grid-row: 1 / 3; margin: 0; }
}
@media (max-width: 760px) {
  .reflexes, .materiaux, .pieces, .cas { grid-template-columns: 1fr; }
  .petits { grid-template-columns: 1fr; gap: 2rem; }
  .quand { grid-template-columns: 1fr; }
  .frise { grid-template-columns: repeat(2, 1fr); }
}
.petits-carte { background: var(--sombre); color: #fff; border-radius: 18px; padding: clamp(1.8rem, 4vw, 3rem); }
.petits-carte strong { display: block; font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 700; color: #ff8a80; line-height: 1; letter-spacing: -.02em; }
.petits-carte p { color: rgba(255,255,255,.78); margin: 1rem 0 1.6rem; }

/* Bulle d'appel : apparaît quand on descend dans la page (à la place de « haut de page »). */
.appel-flottant { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; align-items: center; gap: .5rem; height: 56px; padding: 0 1.2rem 0 1.05rem;
  border-radius: 999px; background: var(--rouge); color: #fff; text-decoration: none; font-weight: 600; box-shadow: 0 10px 26px rgba(198, 40, 40, .35);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s, background .2s; }
.appel-flottant.visible { opacity: 1; transform: none; pointer-events: auto; }
.appel-flottant:hover { background: var(--rouge-fonce); }
.appel-flottant svg { animation: sonne 2.8s ease-in-out infinite; }
@keyframes sonne { 0%, 80%, 100% { transform: rotate(0); } 84% { transform: rotate(-14deg); } 88% { transform: rotate(12deg); } 92% { transform: rotate(-8deg); } 96% { transform: rotate(5deg); } }
@media (max-width: 520px) { .appel-flottant { width: 56px; padding: 0; justify-content: center; } .appel-flottant span { display: none; } }
@media (prefers-reduced-motion: reduce) { .appel-flottant svg { animation: none; } }
/* En bas de page, la bulle devient une flèche « remonter en haut » */
.appel-flottant .icone-haut { display: none; animation: none; }
.appel-flottant.haut { width: 56px; padding: 0; justify-content: center; }
.appel-flottant.haut:hover { background: var(--rouge-fonce); }
.appel-flottant.haut > svg:not(.icone-haut), .appel-flottant.haut span { display: none; }
.appel-flottant.haut .icone-haut { display: block; }
.facultatif { font-weight: 400; color: var(--gris); font-size: .8rem; }
.piege { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formulaire { position: relative; }
.form-merci { padding: 1.4rem 1.2rem; border-radius: 12px; background: #eef7ef; color: #1f5130; }
.form-merci strong { display: block; font-size: 1.1rem; margin-bottom: .3rem; }
.note-form.erreur { color: var(--rouge); font-weight: 500; }

/* Portrait de David : garder le visage dans le cadre, quel que soit le recadrage */
img[src*="david-clodic-portrait"] { object-position: 35% 0; }

/* Accueil : le portrait de David, avec son nom, pour savoir à qui on a affaire */
.tete-portrait { min-height: 460px; }
.portrait-nom { position: absolute; left: 1rem; bottom: 1rem; margin: 0; padding: .7rem 1rem; border-radius: 12px; background: rgba(20, 20, 22, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #fff; line-height: 1.25; }
.portrait-nom strong { display: block; font-size: 1.1rem; }
.portrait-nom span { font-size: .85rem; color: rgba(255,255,255,.8); }
@media (max-width: 860px) { .tete-portrait { min-height: 0; aspect-ratio: 4 / 4.2; } }
@media (min-width: 600px) and (max-width: 860px) { .tete-portrait { aspect-ratio: 16 / 10; } }

/* Rangée des prestations : cadre des flèches (flèches visibles seulement sur téléphone/tablette) */
.pastilles-cadre { position: relative; }
.pastilles-fleche { display: none; position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 0;
  background: var(--rouge); color: #fff; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,.18); cursor: pointer; transition: opacity .2s; }
.pastilles-fleche.gauche { left: -4px; }
.pastilles-fleche.droite { right: -4px; }
.pastilles-cadre.sans-debord::before, .pastilles-cadre.sans-debord::after, .pastilles-cadre.sans-debord .pastilles-fleche { display: none; }
@keyframes pastilles-invite { 0%, 100% { transform: translateX(0); } 40% { transform: translateX(-46px); } }
.pastilles.invite a { animation: pastilles-invite 1.1s ease-in-out .5s 1; }
@media (prefers-reduced-motion: reduce) { .pastilles.invite a { animation: none; } }
