/* =========================================================
   Groupe M2DC — feuille de style principale
   Style inspiré de la page « Salle de bain » : noir, or,
   Cormorant Garamond pour les titres, Montserrat pour le texte.
   Modifiez les couleurs et polices ici (section :root).
   ========================================================= */

:root {
  --noir: #0d0d0d;           /* fond principal */
  --noir-2: #161616;         /* sections en alternance */
  --noir-3: #1f1f1f;         /* survol des cartes */
  --or: #b89556;             /* accent principal */
  --or-clair: #d4b07a;       /* mots en italique, chiffres */
  --or-pale: #e8d5a8;        /* texte des boutons contour */
  --creme: #f5f0e8;          /* titres */
  --texte: #c8c4bc;          /* paragraphes */
  --gris: #8a8a8a;           /* texte secondaire */
  --ligne: rgba(184,149,86,0.2);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", system-ui, sans-serif;
  --menu: "Poppins", system-ui, sans-serif;
  --largeur: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--noir);
  color: var(--creme);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 300; }

/* ---------- En-tête (commun à toutes les pages) ---------- */
.entete { background: #000; position: sticky; top: 0; z-index: 50; }
.entete .interieur {
  max-width: 1600px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 12px; min-height: 100px;
}
.logo, .badge-caa, .badge-gaf { flex-shrink: 0; overflow: hidden; }
.logo { max-width: 200px; }
.badge-caa { max-width: 60px; }
.badge-gaf { max-width: 70px; margin-left: -6px; }
.logo img { height: 70px; width: auto; }
.badge-caa img { height: 54px; width: auto; }
.badge-gaf img { height: 66px; width: auto; }
.menu { flex: 1; display: flex; justify-content: center; }
.menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; row-gap: 4px; }
.menu > ul > li { display: flex; align-items: center; }
.menu > ul > li + li::before { content: ""; width: 4px; height: 4px; background: var(--or); transform: rotate(45deg); margin: 0 3px; flex-shrink: 0; }
.menu a {
  display: block; padding: 8px 5px;
  font-family: var(--sans); font-size: .66rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--creme); text-decoration: none; white-space: nowrap;
}
.menu a:hover, .menu a.actif { color: var(--or-clair); }
.menu .deroulant { position: relative; }
.menu .sous-menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 210px;
  background: #000; border: 1px solid var(--ligne); padding: 8px 0; flex-direction: column; align-items: stretch;
}
.menu .sous-menu li::before { display: none; }
.menu .deroulant:hover .sous-menu, .menu .deroulant:focus-within .sous-menu { display: flex; }
.btn-entete {
  font-family: var(--sans); font-size: .68rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--noir); background: var(--or); text-decoration: none; padding: 1rem 1.6rem; white-space: nowrap; transition: background .3s;
}
.btn-entete:hover { background: var(--or-clair); }
.bouton-menu {
  display: none; margin-left: auto; background: none; color: #fff;
  border: 1px solid var(--ligne); padding: 8px 12px; font-size: 1.2rem; cursor: pointer;
}
@media (max-width: 1400px) {
  .bouton-menu { display: block; }
  .btn-entete { display: none; }
  .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #000; padding: 12px 24px 24px; border-top: 1px solid var(--ligne); }
  .menu.ouvert { display: block; }
  .menu ul { flex-direction: column; align-items: stretch; }
  .menu > ul > li { display: block; }
  .menu > ul > li + li::before { display: none; }
  .menu .sous-menu { display: flex; position: static; border: 0; padding: 0 0 0 16px; }
}
@media (max-width: 560px) {
  .entete .interieur { padding: 10px 16px; min-height: 76px; }
  .logo img { height: 52px; }
  .badge-caa img { height: 40px; }
  .badge-gaf img { height: 46px; }
}

/* ---------- Héros ---------- */
.hero-m2dc {
  min-height: calc(100vh - 100px);
  background: var(--noir);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 4rem 2rem; position: relative; overflow: hidden;
}
.hero-m2dc::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(184,149,86,0.15) 0%, transparent 65%);
}
.hero-court { min-height: 60vh; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .18; }
.hero-inner-wrap { position: relative; z-index: 1; max-width: 860px; }
.hero-eyebrow, .cta-eyebrow {
  font-family: var(--sans); font-size: .7rem; letter-spacing: .35em; text-transform: uppercase;
  color: var(--or); margin-bottom: 1.8rem;
  display: flex; align-items: center; justify-content: center; gap: 1rem;
}
.hero-eyebrow::before, .hero-eyebrow::after, .cta-eyebrow::before, .cta-eyebrow::after {
  content: ""; display: block; width: 40px; height: 1px; background: var(--or); opacity: .6; flex-shrink: 0;
}
.hero-m2dc h1 {
  font-family: var(--serif); font-size: clamp(3rem, 7vw, 6rem); font-weight: 300;
  color: var(--creme); line-height: 1.08; margin-bottom: 1rem;
}
.hero-m2dc.hero-court h1 { font-size: clamp(2.6rem, 5.5vw, 4.6rem); }
h1 em, h2 em, h3 em { font-style: italic; color: var(--or-clair); }
.hero-sub {
  font-family: var(--serif); font-size: 1.3rem; font-style: italic; color: var(--texte); margin-bottom: 2.8rem;
}
.hero-desc { font-size: .9rem; line-height: 1.85; color: var(--texte); max-width: 680px; margin: 0 auto 2.8rem; }
.hero-note { margin-top: 2rem; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gris); }
.hero-btns, .cta-row { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: var(--gris); font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; z-index: 1;
  text-decoration: none;
}
.hero-scroll-line { width: 1px; height: 50px; background: linear-gradient(to bottom, var(--or), transparent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%, 100% { opacity: .4; } 50% { opacity: 1; } }
@media (max-width: 700px), (max-height: 700px) { .hero-scroll { display: none; } }

/* Héros en deux colonnes (page Toiture) */
.hero-deux { text-align: left; }
.hero-deux .hero-inner-wrap { max-width: var(--largeur); width: 100%; display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; }
.hero-deux .hero-eyebrow { justify-content: flex-start; }
.hero-deux .hero-eyebrow::after { display: none; }
.hero-deux .hero-desc { margin-left: 0; }
.hero-deux .hero-btns { justify-content: flex-start; }
.hero-deux h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); }
@media (max-width: 900px) { .hero-deux .hero-inner-wrap { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ---------- Boutons ---------- */
.btn-or, .btn-ghost {
  font-family: var(--sans); font-size: .73rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  padding: 1.1rem 2.6rem; text-decoration: none; display: inline-block; cursor: pointer; border: none;
  transition: background .3s, border-color .3s, color .3s;
}
.btn-or { background: var(--or); color: var(--noir); }
.btn-or:hover { background: var(--or-clair); }
.btn-ghost { background: transparent; color: var(--or-pale); border: 1px solid rgba(184,149,86,0.5); }
.btn-ghost:hover { border-color: var(--or); color: var(--or); }

/* ---------- Séparateur doré ---------- */
.gold-divider { background: var(--noir); padding: 1.5rem 0; display: flex; align-items: center; justify-content: center; gap: 1.5rem; }
.gold-divider::before, .gold-divider::after {
  content: ""; flex: 1; max-width: 200px; height: 1px;
  background: linear-gradient(to right, transparent, var(--or), transparent);
}
.gold-diamond { width: 8px; height: 8px; background: var(--or); transform: rotate(45deg); flex-shrink: 0; }

/* ---------- Sections ---------- */
.section { padding: 6rem 2rem; background: var(--noir); }
.section.alt { background: var(--noir-2); }
.interieur-section { max-width: var(--largeur); margin: 0 auto; }
.entete-section { margin-bottom: 3.5rem; }
.entete-section.centre { text-align: center; }
.entete-section.centre p { margin-left: auto; margin-right: auto; }
.section-label { font-family: var(--sans); font-size: .65rem; letter-spacing: .35em; text-transform: uppercase; color: var(--or); margin-bottom: 1rem; display: block; }
.section-title { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 300; line-height: 1.15; color: var(--creme); }
.entete-section p, .texte p { color: var(--texte); line-height: 1.85; font-size: .88rem; margin-top: 1.2rem; max-width: 680px; }
.texte p + p { margin-top: 1.2rem; }

/* Deux colonnes (texte + encadré) */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.intro-grid.centre-v { align-items: center; }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; gap: 3rem; } }

/* Chiffres */
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--ligne); }
.stats-row.s2 { grid-template-columns: repeat(2, 1fr); }
.stats-row.s4 { grid-template-columns: repeat(4, 1fr); }
.stat-item { padding: 1.8rem 1rem; text-align: center; border-right: 1px solid var(--ligne); }
.stat-item:last-child { border-right: none; }
.stats-row.s2 .stat-item:nth-child(2n), .stats-row.s4 .stat-item:nth-child(4n) { border-right: none; }
.stats-row.s2 .stat-item:nth-child(n+3) { border-top: 1px solid var(--ligne); }
.stat-num { font-family: var(--serif); font-size: 2rem; color: var(--or-clair); line-height: 1; display: block; }
.stat-label { font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gris); margin-top: .5rem; display: block; }
@media (max-width: 768px) {
  .stats-row, .stats-row.s4 { grid-template-columns: 1fr; }
  .stat-item, .stats-row.s4 .stat-item:nth-child(4n) { border-right: none; border-bottom: 1px solid var(--ligne); }
  .stat-item:last-child { border-bottom: none; }
  .stats-row.s2 { grid-template-columns: 1fr 1fr; }
  .stats-row.s2 .stat-item { border-bottom: none; }
  .stats-row.s2 .stat-item:nth-child(odd) { border-right: 1px solid var(--ligne); }
}

/* Citation */
.quote-box {
  background: rgba(184,149,86,0.05); padding: 2rem; margin-top: 2px;
  border: 1px solid var(--ligne); border-top: none;
}
.quote-box.seule { border-top: 1px solid var(--ligne); margin-top: 0; }
.quote-box blockquote, .citation {
  font-family: var(--serif); font-size: 1.2rem; font-style: italic; color: var(--texte); line-height: 1.7; margin: 0;
}
.citation { font-size: clamp(1.4rem, 2.6vw, 2rem); text-align: center; max-width: 880px; margin: 0 auto; font-weight: 300; }
.quote-author { font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; color: var(--or); margin-top: 1.2rem; display: block; }
.citation + .quote-author { text-align: center; }

/* Encadré prix / promotion */
.encadre-or { border-left: 2px solid var(--or); padding: 1.4rem 1.6rem; background: rgba(184,149,86,0.06); }
.encadre-or .petit { font-size: .65rem; letter-spacing: .3em; text-transform: uppercase; color: var(--or); margin-bottom: .5rem; display: block; }
.encadre-or .gros { font-family: var(--serif); font-size: 2.2rem; color: var(--or-clair); line-height: 1.1; display: block; }
.encadre-or p { font-size: .82rem; color: var(--texte); line-height: 1.75; margin-top: .6rem; }
.encadres { display: grid; gap: 1.2rem; }
.encadres.g2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 760px) { .encadres.g2 { grid-template-columns: 1fr; } }

/* ---------- Galerie ---------- */
.realisations-header { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.realisations-header p.desc { max-width: 320px; font-size: .82rem; color: var(--gris); line-height: 1.75; text-align: right; }
@media (max-width: 768px) { .realisations-header p.desc { text-align: left; } }
.galerie { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.galerie.g3 { grid-template-columns: repeat(3, 1fr); }
.galerie.g2 { grid-template-columns: repeat(2, 1fr); }
.galerie a {
  display: block; aspect-ratio: 1 / 1; overflow: hidden;
  border-radius: 0 100% 100% 100%;   /* la forme signature : coin supérieur gauche carré */
  background: var(--noir-2);
}
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .6s ease; }
.galerie a:hover img { transform: scale(1.06); filter: brightness(1.08); }
@media (max-width: 900px) { .galerie, .galerie.g3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .galerie, .galerie.g3, .galerie.g2 { grid-template-columns: 1fr; } }
.galerie-pleine { padding: 0 10px 10px; background: var(--noir); }

.visionneuse { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.94); display: none; align-items: center; justify-content: center; padding: 30px; }
.visionneuse.ouverte { display: flex; }
.visionneuse img { max-height: 90vh; max-width: 95vw; }
.visionneuse button { position: absolute; top: 16px; right: 22px; background: none; border: 0; color: var(--or-clair); font-size: 2.4rem; cursor: pointer; }

/* ---------- Piliers (cartes) ---------- */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2px; background: rgba(184,149,86,0.15); }
.pillars.p2 { grid-template-columns: repeat(2, 1fr); }
.pillars.p3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .pillars.p3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .pillars.p3 { grid-template-columns: 1fr; } }
.pillars.p5 { grid-template-columns: repeat(6, 1fr); }
.pillars.p5 > :nth-child(-n+3) { grid-column: span 2; }
.pillars.p5 > :nth-child(n+4) { grid-column: span 3; }
@media (max-width: 900px) { .pillars.p5 { grid-template-columns: 1fr 1fr; } .pillars.p5 > * { grid-column: auto !important; } .pillars.p5 > :last-child { grid-column: 1 / -1 !important; } }
@media (max-width: 700px) { .pillars.p2, .pillars.p5 { grid-template-columns: 1fr; } }
.pillar { background: var(--noir-2); padding: 2.8rem 2.2rem; position: relative; transition: background .3s; text-decoration: none; display: block; }
.section:not(.alt) .pillar { background: var(--noir); }
.pillar:hover, .section:not(.alt) .pillar:hover { background: var(--noir-3); }
.pillar-icon { width: 44px; height: 44px; margin-bottom: 1.6rem; border: 1px solid rgba(184,149,86,0.4); display: flex; align-items: center; justify-content: center; color: var(--or); }
.pillar-icon svg { width: 20px; height: 20px; }
.pillar h3 { font-family: var(--serif); font-size: 1.25rem; font-weight: 400; margin-bottom: .9rem; color: var(--creme); }
.pillar p { font-size: .82rem; line-height: 1.8; color: var(--texte); }
.pillar-num { position: absolute; top: 1.5rem; right: 1.8rem; font-family: var(--serif); font-size: 3rem; font-weight: 300; color: rgba(184,149,86,0.08); line-height: 1; user-select: none; }
.pillar .lien { display: inline-block; margin-top: 1.4rem; font-size: .65rem; letter-spacing: .25em; text-transform: uppercase; color: var(--or); }
.pillar ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.pillar li { font-size: .85rem; color: var(--texte); padding-left: 1.4rem; position: relative; }
.pillar li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; background: var(--or); transform: rotate(45deg); }

/* ---------- Étapes ---------- */
.steps { margin-top: 3.5rem; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.steps.e3 { grid-template-columns: repeat(3, 1fr); }
.steps.e4 { grid-template-columns: repeat(4, 1fr); }
.steps::before {
  content: ""; position: absolute; top: 28px; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(to right, transparent, var(--or) 20%, var(--or) 80%, transparent); opacity: .3;
}
.step { padding: 0 1.2rem 2rem; text-align: center; }
.step-dot {
  width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--or);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem;
  font-family: var(--serif); font-size: 1.3rem; color: var(--or); background: var(--noir); position: relative; z-index: 1;
}
.section.alt .step-dot { background: var(--noir-2); }
.step h4 { font-family: var(--serif); font-size: 1.1rem; font-weight: 400; margin-bottom: .7rem; color: var(--creme); }
.step p { font-size: .78rem; color: var(--gris); line-height: 1.75; }
@media (max-width: 768px) {
  .steps, .steps.e4 { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
  .steps.e3 { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .steps:not(.e4):not(.e3) .step:last-child { grid-column: 1 / 3; }
}

/* Parcours en photos (page Construction) */
.parcours { display: grid; gap: 2px; background: rgba(184,149,86,0.15); }
.etape-parcours { display: grid; grid-template-columns: 1fr 1fr; background: var(--noir-2); }
.etape-parcours .texte-etape { padding: 3rem 2.6rem; display: flex; flex-direction: column; justify-content: center; position: relative; }
.etape-parcours:nth-child(even) .texte-etape { order: 2; }
.etape-parcours img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.etape-parcours.sans-photo { grid-template-columns: 1fr; }
.etape-parcours h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; color: var(--creme); margin-bottom: .9rem; }
.etape-parcours p { font-size: .85rem; line-height: 1.85; color: var(--texte); max-width: 560px; }
.etape-tag { font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--or); margin-bottom: .8rem; display: block; }
@media (max-width: 800px) {
  .etape-parcours { grid-template-columns: 1fr; }
  .etape-parcours:nth-child(even) .texte-etape { order: 0; }
}

/* Bandeau défilant */
.defilant { border-top: 1px solid var(--ligne); border-bottom: 1px solid var(--ligne); overflow: hidden; white-space: nowrap; padding: 1.2rem 0; background: var(--noir); }
.defilant div { display: inline-flex; align-items: center; gap: 2.5rem; animation: defile 40s linear infinite; padding-left: 2.5rem; }
.defilant span { font-family: var(--serif); font-size: 1.3rem; font-style: italic; color: var(--texte); }
.defilant i { width: 6px; height: 6px; background: var(--or); transform: rotate(45deg); display: inline-block; }
@keyframes defile { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .defilant div { animation: none; } }

/* ---------- Témoignages ---------- */
.note-google { margin-top: 1.2rem; color: var(--gris); font-size: .8rem; letter-spacing: .1em; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2px; background: rgba(184,149,86,0.12); }
.testimonial { background: var(--noir-2); padding: 2.5rem 2rem; display: flex; flex-direction: column; }
.section:not(.alt) .testimonial { background: var(--noir); }
.stars { color: var(--or); font-size: .9rem; letter-spacing: .15em; margin-bottom: 1.2rem; display: block; }
.testimonial blockquote { font-family: var(--serif); font-size: 1.05rem; font-style: italic; font-weight: 300; line-height: 1.7; color: var(--texte); margin: 0 0 1.4rem; flex: 1; }
.testimonial-author { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--or); border-top: 1px solid var(--ligne); padding-top: 1rem; display: block; }

/* ---------- Partenaires ---------- */
.partenaires { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 2px; background: rgba(184,149,86,0.15); }
.partenaire { background: var(--or-clair); display: flex; align-items: center; justify-content: center; padding: 1.6rem; min-height: 120px; }
.partenaire img { max-height: 70px; width: auto; object-fit: contain; }

/* Réseaux sociaux */
.reseaux { display: flex; gap: 14px; flex-wrap: wrap; }
.reseaux a {
  width: 48px; height: 48px; border: 1px solid rgba(184,149,86,0.4); display: flex; align-items: center; justify-content: center;
  color: var(--or); transition: background .3s, color .3s;
}
.reseaux a:hover { background: var(--or); color: var(--noir); }
.reseaux svg { width: 20px; height: 20px; }
.centre .reseaux { justify-content: center; }

/* Pastilles (villes) */
.pastilles { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pastilles li { border: 1px solid var(--ligne); padding: .7rem 1.3rem; font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: var(--texte); }

/* ---------- Garanties (toiture) ---------- */
.garantie { text-align: center; }
.garantie .badge { background: var(--creme); padding: 1.2rem; margin: 0 auto 1.6rem; width: 150px; height: 150px; display: flex; align-items: center; justify-content: center; }
.garantie .badge img { max-height: 110px; width: auto; }
.garantie dl { margin: 1.6rem 0 0; display: grid; gap: 2px; background: var(--ligne); text-align: center; }
.garantie dl div { background: inherit; padding: 1rem; }
.section.alt .garantie dl div { background: var(--noir-2); }
.section:not(.alt) .garantie dl div { background: var(--noir); }
.garantie dt { font-family: var(--serif); font-size: 1.8rem; color: var(--or-clair); line-height: 1.1; }
.garantie dd { margin: .3rem 0 0; font-size: .62rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gris); }
.badge-seul { background: var(--creme); padding: 2.5rem; display: flex; align-items: center; justify-content: center; }
.badge-seul img { max-height: 220px; width: auto; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 2px; background: rgba(184,149,86,0.15); max-width: 900px; margin: 0 auto; }
.faq details { background: var(--noir-2); padding: 0 2rem; }
.section:not(.alt) .faq details { background: var(--noir); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.5rem 0; display: flex; justify-content: space-between; gap: 1.5rem; align-items: center;
  font-family: var(--serif); font-size: 1.25rem; font-weight: 400; color: var(--creme);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--or); font-family: var(--sans); font-size: 1.2rem; flex-shrink: 0; }
.faq details[open] summary::after { content: "–"; }
.faq .reponse { padding-bottom: 1.6rem; color: var(--texte); font-size: .86rem; line-height: 1.85; }
.faq .reponse p + p, .faq .reponse ul + p, .faq .reponse p + ul { margin-top: .8rem; }
.faq .reponse ul { padding-left: 1.2rem; margin: 0; }
.faq .reponse li + li { margin-top: .4rem; }
.faq strong { color: var(--creme); font-weight: 500; }

/* ---------- Formulaires ---------- */
.boite-formulaire { border: 1px solid var(--ligne); background: rgba(184,149,86,0.05); padding: 2.4rem; text-align: left; }
.boite-formulaire h3 { font-family: var(--serif); font-size: 1.7rem; font-weight: 300; color: var(--creme); margin-bottom: .4rem; }
.boite-formulaire .sous { font-size: .78rem; color: var(--gris); margin-bottom: 1.6rem; }
.formulaire { display: grid; gap: 1.1rem; }
.formulaire label { font-size: .62rem; letter-spacing: .25em; text-transform: uppercase; color: var(--or); display: grid; gap: .5rem; }
.formulaire input, .formulaire textarea {
  font-family: var(--sans); font-size: .9rem; color: var(--creme); background: transparent;
  border: none; border-bottom: 1px solid rgba(184,149,86,0.35); padding: .7rem 0; width: 100%; letter-spacing: normal; text-transform: none;
}
.formulaire textarea { min-height: 120px; resize: vertical; border: 1px solid rgba(184,149,86,0.35); padding: .8rem; }
.formulaire input:focus, .formulaire textarea:focus { outline: none; border-color: var(--or-clair); }
.formulaire .btn-or { margin-top: .8rem; width: 100%; }
.mention { font-size: .72rem; color: var(--gris); margin-top: 1rem; line-height: 1.6; }
.mention a { color: var(--or); }

/* Coordonnées */
.coordonnees { display: grid; gap: 2px; background: rgba(184,149,86,0.15); }
.coordonnees div { background: var(--noir); padding: 1.8rem 2rem; }
.coordonnees .section-label { margin-bottom: .5rem; }
.coordonnees p, .coordonnees a { font-family: var(--serif); font-size: 1.4rem; color: var(--creme); text-decoration: none; line-height: 1.4; }
.coordonnees a:hover { color: var(--or-clair); }

/* ---------- Appel à l'action final ---------- */
.cta-section { background: var(--noir); padding: 8rem 2rem; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%, rgba(184,149,86,0.07) 0%, transparent 65%); }
.cta-inner { max-width: 700px; margin: 0 auto; position: relative; z-index: 1; }
.cta-eyebrow { margin-bottom: 1.5rem; }
.cta-eyebrow::before, .cta-eyebrow::after { width: 30px; }
.cta-section h2 { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 300; line-height: 1.2; margin-bottom: 1.2rem; color: var(--creme); }
.cta-desc { color: var(--texte); font-size: .88rem; line-height: 1.8; margin: 0 auto 3rem; }
.cta-note { margin-top: 2rem; font-size: .68rem; color: var(--gris); letter-spacing: .12em; }

/* ---------- Texte légal ---------- */
.texte-legal { max-width: 820px; margin: 0 auto; }
.texte-legal h2 { font-family: var(--serif); font-size: 1.8rem; font-weight: 400; color: var(--creme); margin: 3rem 0 1rem; }
.texte-legal h2:first-child { margin-top: 0; }
.texte-legal p, .texte-legal li { color: var(--texte); font-size: .9rem; line-height: 1.85; }
.texte-legal p + p { margin-top: 1rem; }
.texte-legal ul { margin: 1rem 0; padding-left: 1.2rem; }
.texte-legal strong { color: var(--creme); font-weight: 500; }
.texte-legal a { color: var(--or-clair); }

/* ---------- Pied de page ---------- */
.pied { background: #000; color: var(--texte); padding: 5rem 2rem 2rem; border-top: 1px solid var(--ligne); }
.pied .grille { max-width: var(--largeur); margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 3rem; }
@media (max-width: 800px) { .pied .grille { grid-template-columns: 1fr; } }
.pied .logo img { height: 80px; margin-bottom: 1.4rem; }
.pied h4 { font-size: .65rem; letter-spacing: .35em; text-transform: uppercase; color: var(--or); margin-bottom: 1.2rem; font-weight: 400; }
.pied p { font-size: .85rem; line-height: 1.9; }
.pied a { color: var(--creme); text-decoration: none; }
.pied a:hover { color: var(--or-clair); }
.pied .reseaux { margin-top: 1.4rem; }
.bas-de-page {
  max-width: var(--largeur); margin: 3.5rem auto 0; padding-top: 1.6rem; border-top: 1px solid var(--ligne);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: .68rem; letter-spacing: .12em; color: var(--gris);
}
.bas-de-page a { color: var(--gris); }

/* Nom M²DC : doré, en lettres droites comme dans le logo, avec le ² en exposant */
.m2dc { font-style: normal; font-weight: 400; letter-spacing: .04em; color: var(--or-clair); white-space: nowrap; }
.m2dc sup { color: var(--or-clair); font-size: .42em; vertical-align: top; position: relative; top: .35em; margin: 0 .04em; }

/* Emplacement de photo à venir (galerie en attente de photos) */
.tuile-vide {
  aspect-ratio: 1 / 1; border-radius: 0 100% 100% 100%;
  border: 1px dashed rgba(184,149,86,0.4); background: rgba(184,149,86,0.03);
  display: flex; align-items: center; justify-content: center;
}
.tuile-vide span { font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gris); }

/* Badge d'avis Google dans l'en-tête (5 étoiles) */
.badge-avis { display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; line-height: 1.1; padding: 0 4px; }
.badge-avis .etoiles-or { color: var(--or-clair); font-size: .95rem; letter-spacing: .14em; }
.badge-avis small { margin-top: 5px; font-size: .55rem; letter-spacing: .14em; text-transform: uppercase; color: var(--texte); white-space: nowrap; }
@media (max-width: 560px) { .badge-avis .etoiles-or { font-size: .75rem; } .badge-avis small { font-size: .48rem; } }
@media (max-width: 420px) { .badge-avis { display: none; } }

/* Onglet de menu non cliquable (ouvre seulement son menu déroulant) */
.menu .onglet {
  display: block; padding: 8px 5px; cursor: default; white-space: nowrap;
  font-family: var(--sans); font-size: .66rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--creme);
}
.menu .onglet:hover, .menu .onglet.actif, .menu .deroulant:focus-within > .onglet { color: var(--or-clair); }
.menu .onglet:focus { outline: none; }

/* « Isolation et calfeutrage » sur deux courtes lignes dans le menu d'ordinateur */
@media (min-width: 1401px) {
  .menu > ul > li > a[href="isolation.html"] { white-space: normal; max-width: 100px; text-align: center; line-height: 1.35; }
}

/* Photos d'étapes cliquables (agrandissement en grand) */
.photo-etape { display: block; height: 100%; }
.photo-etape img { cursor: zoom-in; }

/* ---------- Photo vedette (une seule grande réalisation) ---------- */
.vedette { position: relative; margin: 1rem 0 0; padding: 12px; border: 1px solid var(--or); box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.vedette a { position: relative; display: block; overflow: hidden; aspect-ratio: 1024 / 400; }
.vedette img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; display: block; transition: transform .8s ease; }
.vedette a:hover img { transform: scale(1.03); }
.vedette figcaption { position: absolute; z-index: 2; left: 12px; bottom: 12px; background: rgba(13,13,13,.88); border-top: 2px solid var(--or); padding: 1rem 1.5rem 1.1rem; max-width: 70%; }
.vedette figcaption .etape-tag { margin-bottom: .35rem; }
.vedette figcaption strong { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; color: var(--creme); }
@media (max-width: 700px) {
  .vedette { padding: 8px; }
  .vedette a { aspect-ratio: 16 / 9; }
  .vedette figcaption { position: relative; left: 0; bottom: 0; max-width: none; background: var(--noir-2); }
}

/* Champ piège anti-robots des formulaires (invisible) */
.formulaire .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
