/*
Theme Name: Toiture En Ligne
Theme URI: https://toiture-en-ligne.be
Author: Toiture En Ligne
Description: Thème bloc sur mesure de Toiture En Ligne — rénovation de toiture à Bruxelles, en Brabant wallon, en Hainaut et en Flandre. Trilingue FR / NL / EN avec Polylang.
Version: 1.1.1
Requires at least: 6.6
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: toiture-en-ligne
*/

/* Toiture En Ligne — maquette (phase 2)
   Registre relevé sur la référence : une sans-serif géométrique, un seul accent bleu,
   blanc froid + ciel pâle, bandes bord à bord, rayons 14–18 px, boutons pilule. */

:root {
  --bleu: #1767e6;
  --bleu-fonce: #0f55c4;
  --bleu-pale: #dbe9fb;
  --nuit: #161f31;
  --nuit-carte: #202b40;
  --nuit-trait: #2c3851;
  --ciel: #bcd7f3;
  --ciel-clair: #e8f2fc;
  --encre: #111827;
  --gris: #5a6476;
  --gris-clair: #9aa5b8;
  --blanc: #ffffff;
  --trait: #e6ebf2;
  --rayon: 16px;
  --rayon-s: 12px;
  --largeur: 1200px;
  --police: "Plus Jakarta Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--police);
  font-size: 15px;
  line-height: 1.65;
  color: var(--gris);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  margin: 0;
  color: var(--encre);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  hyphens: none;
  text-wrap: balance;
}
p { margin: 0; }

.enveloppe { width: min(var(--largeur), 100% - 48px); margin-inline: auto; }

.surtitre {
  display: block;
  color: var(--bleu);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 14px;
}
.titre-section { font-size: clamp(30px, 3.4vw, 44px); }
.titre-section .accent { color: var(--bleu); display: block; }

.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--bleu); color: var(--blanc);
  font-weight: 600; font-size: 15px; line-height: 1;
  padding: 18px 30px; border-radius: 999px;
  box-shadow: 0 10px 24px -10px rgba(23, 103, 230, .7);
  transition: background .2s, transform .2s;
}
.bouton:hover { background: var(--bleu-fonce); transform: translateY(-1px); }
.bouton--petit { padding: 12px 22px; font-size: 14px; }
.bouton--contour {
  background: transparent; color: var(--bleu); box-shadow: none;
  border: 1.5px solid var(--bleu);
}
.bouton--contour:hover { background: var(--bleu); color: var(--blanc); }

/* ── En-tête ─────────────────────────────────────────── */
.entete {
  position: absolute; inset: 0 0 auto; z-index: 20;
  padding-top: 28px;
}
.entete .enveloppe { display: flex; align-items: center; gap: 32px; }
.logo { display: flex; align-items: flex-end; gap: 4px; font-size: 21px; font-weight: 600; color: var(--encre); letter-spacing: -0.02em; line-height: 1; }
.logo svg { width: 34px; height: 26px; flex: none; margin-bottom: 1px; }
.logo b { color: var(--bleu); font-weight: 600; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 34px; }
.nav a { color: var(--encre); font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--bleu); }
.nav .bouton { color: var(--blanc); margin-left: 6px; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--blanc); box-shadow: 0 6px 20px -8px rgba(17,24,39,.3); cursor: pointer; }
.burger span { display: block; width: 18px; height: 2px; background: var(--encre); margin: 4px auto; border-radius: 2px; }

/* ── Héros ───────────────────────────────────────────── */
.heros {
  position: relative;
  min-height: 1000px;
  background: linear-gradient(180deg, var(--ciel) 0%, #cfe2f7 30%, var(--ciel-clair) 55%, #f2f7fd 100%);
  overflow: hidden;
  isolation: isolate;
}
.heros-photo {
  position: absolute; inset: 500px 0 0 0;
  z-index: -1;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.6) 9%, #000 22%);
          mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.6) 9%, #000 22%);
}
.heros-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.heros .enveloppe { position: relative; padding-top: 160px; min-height: 1000px; }
.heros-texte { max-width: 640px; }
.heros h1 { font-size: clamp(48px, 6.6vw, 92px); line-height: 1.02; letter-spacing: -0.04em; }
.heros-texte p { margin-top: 26px; max-width: 470px; font-size: 16px; color: #3d4659; }
.heros-texte .bouton { margin-top: 36px; }

.verre {
  background: rgba(255,255,255,.55);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
          backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid rgba(255,255,255,.75);
  border-radius: var(--rayon);
  box-shadow: 0 20px 40px -24px rgba(22, 31, 49, .35);
}
.heros-cartes { position: absolute; top: 150px; right: 0; display: flex; gap: 14px; }
.carte-flottante { width: 200px; padding: 26px 24px; color: var(--encre); font-size: 15px; font-weight: 600; line-height: 1.35; }
.carte-flottante svg.bouclier { width: 40px; height: 46px; margin-bottom: 22px; }
.avatars { display: flex; align-items: center; margin-bottom: 14px; }
.avatars img, .avatars span {
  width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--blanc);
  object-fit: cover; margin-right: -10px;
}
.avatars span { display: grid; place-items: center; background: var(--blanc); color: var(--encre); font-size: 20px; font-weight: 400; }
.etoiles { color: #f5a524; letter-spacing: 2px; font-size: 13px; margin-bottom: 6px; }

.heros-chiffres {
  position: absolute; right: 0; bottom: 64px;
  display: flex; padding: 24px 30px; gap: 30px;
  background: rgba(17, 24, 39, .55);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--rayon);
  color: var(--blanc);
}
.heros-chiffres div + div { border-left: 1px solid rgba(255,255,255,.2); padding-left: 30px; }
.heros-chiffres strong { display: block; font-size: 40px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.heros-chiffres strong small { font-size: 24px; color: #f5a524; }
.heros-chiffres span { display: block; margin-top: 8px; font-size: 13px; color: rgba(255,255,255,.75); }

/* ── Bandes sombres ──────────────────────────────────── */
.bande-nuit { background: var(--nuit); color: var(--gris-clair); }
.bande-nuit h2, .bande-nuit h3 { color: var(--blanc); }

.services { padding: 100px 0 110px; }
.services-tete { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.services-tete p { margin-top: 20px; font-size: 16px; }
.grille-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.carte-service {
  display: flex; flex-direction: column;
  min-height: 300px; padding: 34px 30px;
  background: var(--nuit-carte);
  border: 1px solid var(--nuit-trait);
  border-radius: var(--rayon);
  transition: transform .25s, border-color .25s;
}
.carte-service:hover { transform: translateY(-4px); border-color: #3b4a68; }
.carte-service h3 { font-size: 24px; margin: 34px 0 18px; line-height: 1.2; }
.carte-service p { font-size: 14px; line-height: 1.7; }
.carte-service .lien { margin-top: auto; padding-top: 20px; color: var(--blanc); font-size: 14px; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.carte-service--action { background: var(--bleu); border-color: var(--bleu); color: rgba(255,255,255,.85); }
.carte-service--action h3 { font-size: 27px; }
.carte-service--action .pastille { background: transparent; width: auto; height: auto; }
.carte-service--action .pastille svg { width: 44px; height: 44px; }
.carte-service--action:hover { border-color: var(--bleu); background: var(--bleu-fonce); }

.pastille {
  width: 52px; height: 52px; border-radius: 10px; flex: none;
  display: grid; place-items: center;
  background: var(--bleu); color: var(--blanc);
}
.pastille svg { width: 26px; height: 26px; }

.tous-services { margin-top: 44px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.tous-services a {
  padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--nuit-trait); color: #c9d1de; font-size: 14px; font-weight: 500;
  transition: border-color .2s, color .2s;
}
.tous-services a:hover { border-color: var(--bleu); color: var(--blanc); }

/* ── À propos ────────────────────────────────────────── */
.apropos { padding: 120px 0 70px; }
.apropos .enveloppe { display: grid; grid-template-columns: 1fr 1.08fr; gap: 72px; align-items: center; }
.apropos-texte p { margin-top: 22px; font-size: 15px; }
.apropos-texte p:first-of-type { margin-top: 28px; }
.apropos-texte .bouton { margin-top: 34px; }
.apropos-photo { position: relative; }
.apropos-photo img { width: 100%; aspect-ratio: 1.45; object-fit: cover; border-radius: var(--rayon); box-shadow: 0 30px 60px -30px rgba(22,31,49,.45); }

/* ── Mission ─────────────────────────────────────────── */
.mission { padding: 70px 0 120px; }
.mission .enveloppe { display: grid; grid-template-columns: 0.9fr 1.3fr 0.9fr; gap: 30px; align-items: stretch; }
.mission-photo { border-radius: var(--rayon); overflow: hidden; box-shadow: 0 24px 50px -30px rgba(22,31,49,.5); }
.mission-photo img { width: 100%; height: 100%; object-fit: cover; }
.mission-photo--haute { min-height: 420px; }
.mission-pile { display: grid; grid-template-rows: 1fr 1fr; gap: 20px; }
.mission-centre { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px 16px; }
.mission-centre .pastille { width: 44px; height: 44px; border-radius: 8px; margin-bottom: 26px; }
.mission-centre .pastille svg { width: 22px; height: 22px; }
.mission-centre h2 { font-size: clamp(30px, 3vw, 40px); margin-bottom: 22px; }
.mission-centre p { color: var(--encre); font-size: 15.5px; line-height: 1.75; max-width: 420px; }

/* ── Avantages ───────────────────────────────────────── */
.avantages { padding: 96px 0 100px; }
.tete-scindee { display: flex; justify-content: space-between; align-items: flex-end; gap: 60px; margin-bottom: 56px; }
.tete-scindee .titre-section { max-width: 560px; }
.tete-scindee > p { max-width: 380px; font-size: 14px; }
.carte-avantage {
  padding: 34px 30px 38px;
  background: var(--nuit-carte);
  border: 1px solid var(--nuit-trait);
  border-radius: var(--rayon);
}
.carte-avantage .pastille { width: 46px; height: 46px; border-radius: 9px; }
.carte-avantage .pastille svg { width: 24px; height: 24px; }
.carte-avantage h3 { font-size: 21px; margin: 30px 0 14px; line-height: 1.25; }
.carte-avantage p { font-size: 14px; line-height: 1.7; }

/* ── Réalisations ────────────────────────────────────── */
.realisations { padding: 110px 0 120px; }
.realisations .tete-scindee { margin-bottom: 48px; }
.diaporama { position: relative; }
.diapo { display: none; }
.diapo.est-active { display: block; animation: apparition .6s ease; }
@keyframes apparition { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.diapo-photo { border-radius: 18px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(22,31,49,.55); }
.diapo-photo img { width: 100%; aspect-ratio: 2.25; object-fit: cover; }
.diapo-legende { display: flex; align-items: center; gap: 26px; margin-top: 30px; }
.diapo-numero {
  font-size: 64px; font-weight: 600; line-height: .8; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1.5px #b9d0f2;
}
.diapo-legende h3 { font-size: 20px; }
.diapo-legende p { font-size: 14px; margin-top: 4px; max-width: 460px; }
.diapo-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.fleche {
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
  border: 1.5px solid var(--trait); background: var(--blanc); color: var(--encre);
  transition: border-color .2s, color .2s, background .2s;
}
.fleche:hover { border-color: var(--bleu); color: var(--bleu); }
.fleche--suivante { border-color: var(--bleu); color: var(--bleu); }
.fleche svg { width: 18px; height: 18px; }

/* ── Pied de page ────────────────────────────────────── */
.pied { padding: 0 0 36px; }
.pied-appel {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding: 64px 0 60px; border-bottom: 1px solid var(--nuit-trait);
}
.pied-appel h2 { font-size: clamp(28px, 3vw, 40px); max-width: 640px; }
.pied-appel h2 .accent { color: #5b9bff; }
.pied-colonnes { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding: 60px 0 50px; }
.pied .logo { color: var(--blanc); }
.pied .logo b { color: #5b9bff; }
.pied-colonnes > div > p { margin-top: 20px; font-size: 14px; max-width: 300px; }
.pied h4 { color: var(--blanc); font-size: 15px; margin-bottom: 18px; letter-spacing: -0.01em; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.pied ul a:hover { color: var(--blanc); }
.pied-bas { display: flex; justify-content: space-between; gap: 20px; padding-top: 26px; border-top: 1px solid var(--nuit-trait); font-size: 13px; }

/* ── Mobile ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .heros-cartes { display: none; }
  .grille-4 { grid-template-columns: repeat(2, 1fr); }
  .pied-colonnes { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: block; }
  .nav.est-ouverte {
    display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
    position: absolute; top: 84px; left: 24px; right: 24px;
    padding: 26px; background: var(--blanc); border-radius: var(--rayon);
    box-shadow: 0 30px 60px -20px rgba(22,31,49,.35);
  }
  .nav.est-ouverte .bouton { margin: 6px 0 0; }
  .apropos .enveloppe { grid-template-columns: 1fr; gap: 44px; }
  .mission .enveloppe { grid-template-columns: 1fr 1fr; }
  .mission-centre { grid-column: 1 / -1; order: -1; padding-bottom: 20px; }
  .mission-photo--haute { min-height: 360px; }
  .tete-scindee { flex-direction: column; align-items: flex-start; gap: 18px; }
  .pied-appel { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .enveloppe { width: calc(100% - 32px); }
  .entete { padding-top: 18px; }
  .heros, .heros .enveloppe { min-height: 780px; }
  .heros .enveloppe { padding-top: 120px; }
  .heros-photo { height: 58%; }
  .heros-chiffres { left: 0; right: auto; bottom: 28px; padding: 18px 22px; gap: 20px; }
  .heros-chiffres div + div { padding-left: 20px; }
  .heros-chiffres strong { font-size: 30px; }
  .services, .avantages { padding: 72px 0; }
  .grille-4 { grid-template-columns: 1fr; }
  .carte-service { min-height: 0; }
  .apropos { padding: 80px 0 40px; }
  .mission .enveloppe { grid-template-columns: 1fr; }
  .mission-pile { grid-template-rows: none; grid-template-columns: 1fr 1fr; gap: 14px; }
  .mission-pile .mission-photo { aspect-ratio: 1; }
  .realisations { padding: 80px 0; }
  .diapo-photo img { aspect-ratio: 1.3; }
  .diapo-legende { flex-wrap: wrap; gap: 16px; }
  .diapo-numero { font-size: 48px; }
  .diapo-actions { margin-left: 0; width: 100%; }
  .pied-colonnes { grid-template-columns: 1fr; }
  .pied-bas { flex-direction: column; }
}

/* ── Tour de justesse 1 ─────────────────────────────── */
.carte-flottante svg.bouclier { display: block; }
.services-tete { max-width: 820px; }
.services-tete p { max-width: 600px; margin-inline: auto; }
.diapo-legende { padding-right: 260px; min-height: 52px; }
.diapo-actions { position: absolute; right: 0; bottom: 0; }
.pied .logo b, .pied-appel h2 .accent { color: var(--bleu); }
.pied .logo svg path[stroke="#5b9bff"] { stroke: var(--bleu); }
@media (max-width: 600px) {
  .diapo-legende { padding-right: 0; }
  .diapo-actions { position: static; margin-top: 18px; }
}
@media (max-width: 600px) {
  .heros, .heros .enveloppe { min-height: 880px; }
  .heros-photo { inset: 590px 0 0 0; }
}

/* ── Tour de design : échelle recalée sur la référence (page 856 px → 1440 px, ×1,68) ── */
body { font-size: 16px; }
.heros h1 { font-size: clamp(48px, 5.6vw, 80px); }
.titre-section { font-size: clamp(32px, 3.6vw, 52px); }
.carte-service h3 { font-size: clamp(22px, 2vw, 29px); }
.carte-service--action h3 { font-size: clamp(24px, 2.2vw, 31px); }
.carte-service p, .carte-avantage p { font-size: 15px; }
.carte-avantage h3 { font-size: 23px; }

/* ── Retours client 05/10 : héros élargi, plus de détails ── */
.heros, .heros .enveloppe { min-height: 1180px; }
.heros-photo { inset: 700px 0 0 0; }
.heros .enveloppe { padding-top: 150px; }
.heros-texte { max-width: 980px; }
.heros h1 { font-size: clamp(48px, 6.2vw, 92px); }
.heros-texte p.heros-intro { max-width: 860px; font-size: 19px; line-height: 1.6; color: #2b3447; margin-top: 28px; }
.heros-points {
  list-style: none; margin: 30px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 36px;
  max-width: 900px;
}
.heros-points li { position: relative; padding-left: 32px; color: var(--encre); font-size: 16px; font-weight: 500; line-height: 1.5; }
.heros-points li::before {
  content: ""; position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 50%; background: var(--bleu)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.heros-boutons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.heros-texte .heros-boutons .bouton { margin-top: 0; }
.bouton--clair { background: var(--blanc); color: var(--encre); box-shadow: 0 10px 24px -14px rgba(17,24,39,.45); }
.bouton--clair:hover { background: var(--blanc); color: var(--bleu); }
.nav a[aria-current="page"] { color: var(--bleu); }
.nav { gap: 30px; }
@media (max-width: 600px) {
  .heros, .heros .enveloppe { min-height: 1240px; }
  .heros-photo { inset: 930px 0 0 0; }
  .heros .enveloppe { padding-top: 110px; }
  .heros-texte p.heros-intro { font-size: 16px; }
  .heros-points { grid-template-columns: 1fr; gap: 10px; }
  .heros-points li { font-size: 15px; }
  .heros-boutons .bouton { width: 100%; }
}

/* ── Retours client 05/10 (2) : héros pleine largeur, aperçu du blog ── */
.heros-texte { max-width: none; }
.heros-texte p.heros-intro { max-width: none; }
.heros-points { max-width: none; grid-template-columns: repeat(3, minmax(0, 1fr)); }

.blog-apercu { padding: 20px 0 120px; }
.blog-apercu .tete-scindee { margin-bottom: 48px; }
.grille-blog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.carte-article { display: flex; flex-direction: column; }
.carte-article-photo { border-radius: var(--rayon); overflow: hidden; box-shadow: 0 24px 50px -30px rgba(22,31,49,.5); }
.carte-article-photo img { width: 100%; aspect-ratio: 1.45; object-fit: cover; transition: transform .5s ease; }
.carte-article:hover .carte-article-photo img { transform: scale(1.04); }
.carte-article-categorie { margin-top: 24px; color: var(--bleu); font-size: 14px; font-weight: 500; }
.carte-article h3 { font-size: 22px; line-height: 1.3; margin-top: 10px; transition: color .2s; }
.carte-article:hover h3 { color: var(--bleu); }
.carte-article p { margin-top: 12px; font-size: 15px; }
.lien-article { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; color: var(--encre); font-size: 14px; font-weight: 600; }
.blog-apercu-pied { margin-top: 52px; text-align: center; }
@media (max-width: 1100px) { .heros-points { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .grille-blog { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .heros-points { grid-template-columns: 1fr; }
  .grille-blog { grid-template-columns: 1fr; gap: 44px; }
  .blog-apercu { padding: 0 0 80px; }
}
@media (min-width: 1101px) {
  .heros, .heros .enveloppe { min-height: 1120px; }
  .heros-photo { inset: 640px 0 0 0; }
}

/* ══ Pages intérieures (phase 3) ═════════════════════════ */
.page-tete {
  background: linear-gradient(180deg, var(--ciel) 0%, #d3e5f8 45%, var(--ciel-clair) 100%);
  padding: 150px 0 90px;
}
.page-tete-grille { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.page-tete h1 { font-size: clamp(38px, 4.6vw, 64px); line-height: 1.05; letter-spacing: -0.035em; }
.page-intro { margin-top: 22px; font-size: 18px; line-height: 1.65; color: #2b3447; max-width: 640px; }
.page-tete .heros-boutons { margin-top: 32px; }
.page-tete-photo img { width: 100%; aspect-ratio: 1.25; object-fit: cover; border-radius: 18px; box-shadow: 0 40px 70px -40px rgba(22,31,49,.6); }
.fil { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--gris); margin-bottom: 26px; }
.fil a:hover { color: var(--bleu); }
.fil span:last-child { color: var(--encre); font-weight: 500; }
.fil-sep { color: var(--gris-clair); }
.page-infos { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: 14px; color: var(--gris); }
.page-infos span + span::before { content: "·"; margin-right: 18px; color: var(--gris-clair); }

.page-corps { padding: 90px 0 40px; }
.page-corps-grille { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; align-items: start; }

.contenu { color: #3d4659; font-size: 17px; line-height: 1.8; max-width: 760px; }
.contenu > * + * { margin-top: 22px; }
.contenu h2 { font-size: clamp(26px, 2.4vw, 34px); margin-top: 56px; line-height: 1.2; }
.contenu h3 { font-size: 22px; margin-top: 36px; line-height: 1.3; }
.contenu h2 + *, .contenu h3 + * { margin-top: 16px; }
.contenu > :first-child { margin-top: 0; }
.contenu a { color: var(--bleu); text-decoration: underline; text-underline-offset: 3px; }
.contenu strong { color: var(--encre); font-weight: 600; }
.contenu ul, .contenu ol { padding-left: 0; list-style: none; }
.contenu ul li, .contenu ol li { position: relative; padding-left: 34px; }
.contenu li + li { margin-top: 10px; }
.contenu ul li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 20px; height: 20px; border-radius: 50%; background: var(--bleu)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.contenu ol { counter-reset: etape; }
.contenu ol li { counter-increment: etape; }
.contenu ol li::before {
  content: counter(etape); position: absolute; left: 0; top: 4px;
  width: 24px; height: 24px; border-radius: 7px; background: var(--bleu); color: var(--blanc);
  font-size: 13px; font-weight: 600; display: grid; place-items: center; line-height: 1;
}
.contenu table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; line-height: 1.5; border: 1px solid var(--trait); border-radius: var(--rayon-s); overflow: hidden; }
.contenu th, .contenu td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--trait); }
.contenu th { background: var(--nuit); color: var(--blanc); font-weight: 600; }
.contenu tr:last-child td { border-bottom: 0; }
.contenu tr:nth-child(even) td { background: #f6f9fd; }
.table-defile { overflow-x: auto; }
.encart {
  padding: 26px 28px; border-radius: var(--rayon); background: var(--ciel-clair);
  border-left: 4px solid var(--bleu); color: var(--encre); font-size: 16px; line-height: 1.7;
}
.encart strong { display: block; margin-bottom: 6px; }
.encart--nuit { background: var(--nuit); color: #c9d1de; border-left-color: var(--bleu); }
.encart--nuit strong { color: var(--blanc); }
.contenu figure { margin: 36px 0; }
.contenu figure img { width: 100%; border-radius: var(--rayon); }

.faq-item { border: 1px solid var(--trait); border-radius: var(--rayon-s); background: var(--blanc); }
.contenu .faq-item + .faq-item { margin-top: 12px; }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; position: relative; color: var(--encre); font-weight: 600; font-size: 17px; line-height: 1.45; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--bleu-pale); color: var(--bleu); display: grid; place-items: center; font-size: 20px; font-weight: 500; }
.faq-item[open] summary::after { content: "–"; background: var(--bleu); color: var(--blanc); }
.faq-item > p, .faq-item > ul { padding: 0 24px 22px; margin: 0; }
.faq-item > ul { padding-left: 24px; }

.colonne { position: sticky; top: 30px; display: grid; gap: 20px; }
.carte-devis { padding: 32px 28px; border-radius: var(--rayon); background: var(--bleu); color: rgba(255,255,255,.88); font-size: 15px; }
.carte-devis .pastille { background: transparent; width: auto; height: auto; justify-content: start; }
.carte-devis .pastille svg { width: 40px; height: 40px; }
.carte-devis h2 { color: var(--blanc); font-size: 24px; margin: 20px 0 12px; line-height: 1.2; }
.carte-devis .bouton { margin-top: 22px; width: 100%; }
.carte-devis-mail { display: block; margin-top: 14px; text-align: center; color: var(--blanc); font-size: 14px; font-weight: 500; }
.carte-liens { padding: 28px; border-radius: var(--rayon); background: var(--nuit); }
.carte-liens h2 { color: var(--blanc); font-size: 19px; margin-bottom: 14px; }
.carte-liens ul { list-style: none; margin: 0; padding: 0; }
.carte-liens li a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; color: #c9d1de; font-size: 14.5px; border-bottom: 1px solid var(--nuit-trait); }
.carte-liens li:last-child a { border-bottom: 0; }
.carte-liens li a::after { content: "→"; color: var(--gris-clair); }
.carte-liens li a:hover, .carte-liens li a[aria-current="page"] { color: var(--blanc); }
.carte-liens li a[aria-current="page"]::after { color: var(--bleu); }

.blog-apercu--lie { padding: 70px 0 110px; }

/* Index : services en cartes photo, blog complet */
.page-tete--simple .page-tete-grille { grid-template-columns: 1fr; }
.page-tete--simple .page-tete-texte { max-width: 900px; }
.page-liste { padding: 90px 0 110px; }
.grille-services-photo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.carte-service-photo { display: flex; flex-direction: column; border-radius: var(--rayon); overflow: hidden; background: var(--nuit-carte); border: 1px solid var(--nuit-trait); transition: transform .25s; }
.carte-service-photo:hover { transform: translateY(-4px); }
.carte-service-photo-img img { width: 100%; aspect-ratio: 1.6; object-fit: cover; }
.carte-service-photo-texte { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; color: var(--gris-clair); font-size: 15px; }
.carte-service-photo-texte h3 { color: var(--blanc); font-size: 22px; margin-bottom: 12px; line-height: 1.25; }
.carte-service-photo-texte .lien-article { color: var(--blanc); margin-top: auto; padding-top: 18px; }
.grille-blog--complet { row-gap: 56px; }
.grille-primes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.carte-prime { display: flex; flex-direction: column; padding: 30px 28px; border-radius: var(--rayon); background: var(--nuit); color: #c9d1de; font-size: 15px; line-height: 1.6; text-decoration: none !important; }
.carte-prime strong { color: var(--blanc); font-size: 21px; margin-bottom: 10px; display: block; }
.carte-prime .lien-article { color: var(--blanc); margin-top: auto; padding-top: 16px; }

@media (max-width: 1100px) {
  .page-corps-grille { grid-template-columns: 1fr; gap: 56px; }
  .colonne { position: static; grid-template-columns: 1fr 1fr; }
  .grille-services-photo { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .page-tete-grille { grid-template-columns: 1fr; gap: 40px; }
  .grille-primes { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .page-tete { padding: 110px 0 60px; }
  .page-intro { font-size: 16px; }
  .page-corps { padding: 56px 0 20px; }
  .contenu { font-size: 16px; }
  .colonne { grid-template-columns: 1fr; }
  .grille-services-photo { grid-template-columns: 1fr; }
  .page-tete .heros-boutons .bouton { width: 100%; }
}

/* ══ Demande de devis ═══════════════════════════════════ */
.carte-devis-tel { display: block; margin-top: 14px; text-align: center; color: var(--blanc); font-size: 14px; font-weight: 600; }
.devis { padding: 80px 0 110px; }
.devis-grille { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.formulaire-devis { display: grid; gap: 24px; }
.bloc-form {
  margin: 0; padding: 36px 36px 32px; border: 1px solid var(--trait); border-radius: var(--rayon);
  background: var(--blanc); box-shadow: 0 30px 60px -45px rgba(22,31,49,.45);
  display: grid; gap: 20px; min-width: 0;
}
.bloc-form legend { float: left; width: 100%; padding: 0; margin-bottom: 4px; display: flex; align-items: center; gap: 14px; font-size: 24px; font-weight: 600; color: var(--encre); letter-spacing: -0.02em; }
.bloc-form legend + * { clear: both; }
.etape-num { width: 34px; height: 34px; border-radius: 9px; background: var(--bleu); color: var(--blanc); display: grid; place-items: center; font-size: 16px; flex: none; }
.aide { font-size: 14px; color: var(--gris); margin: 0; }
.aide b, .champ b, .consentement b { color: var(--bleu); font-weight: 600; }

.champs-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.champ { display: grid; gap: 8px; min-width: 0; }
.champ > span { font-size: 14.5px; font-weight: 600; color: var(--encre); }
.champ em, .champ-fichier em { font-style: normal; font-weight: 400; color: var(--gris); }
.champ input, .champ select, .champ textarea {
  width: 100%; font: inherit; font-size: 15.5px; color: var(--encre);
  padding: 14px 16px; border: 1.5px solid #d9e1ec; border-radius: var(--rayon-s); background: #f8fafd;
  transition: border-color .2s, background .2s, box-shadow .2s; appearance: none;
}
.champ select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6476' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px;
}
.champ textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--bleu); background: var(--blanc); box-shadow: 0 0 0 4px rgba(23,103,230,.12); }

.puces { display: flex; flex-wrap: wrap; gap: 10px; }
.puce { position: relative; cursor: pointer; }
.puce input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.puce span {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  border: 1.5px solid #d9e1ec; background: #f8fafd; color: var(--encre); font-size: 14px; font-weight: 500; line-height: 1.2;
  transition: background .2s, border-color .2s, color .2s;
}
.puce:hover span { border-color: var(--bleu); }
.puce input:checked + span { background: var(--bleu); border-color: var(--bleu); color: var(--blanc); }
.puce input:checked + span::before { content: "✓"; font-weight: 700; }
.puce input:focus-visible + span { box-shadow: 0 0 0 4px rgba(23,103,230,.2); }
.puce--urgent input:checked + span { background: var(--nuit); border-color: var(--nuit); }

.champ-fichier { position: relative; display: block; cursor: pointer; }
.champ-fichier input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.champ-fichier-zone {
  display: flex; align-items: center; gap: 16px; padding: 20px 22px; border: 1.5px dashed #c3d2e6; border-radius: var(--rayon-s);
  background: var(--ciel-clair); color: var(--bleu); font-size: 15px;
}
.champ-fichier-zone strong { color: var(--encre); }
.champ-fichier-zone small { color: var(--gris); font-size: 13px; }
.champ-fichier:hover .champ-fichier-zone { border-color: var(--bleu); }

.consentement { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.6; color: var(--gris); cursor: pointer; }
.consentement input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--bleu); flex: none; }

.erreur { display: none; color: #c4302b; font-size: 13px; margin: 0; }
.champ.est-invalide input, .champ.est-invalide select { border-color: #c4302b; background: #fff6f5; }
.champ.est-invalide .erreur, .erreur.est-visible { display: block; }

.formulaire-pied { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
.formulaire-pied .bouton { border: 0; cursor: pointer; font-family: inherit; padding: 20px 36px; font-size: 16px; }
.formulaire-merci { padding: 48px 40px; border-radius: var(--rayon); background: var(--nuit); color: #c9d1de; text-align: center; }
.formulaire-merci .pastille { margin: 0 auto 22px; width: 56px; height: 56px; border-radius: 50%; }
.formulaire-merci h2 { color: var(--blanc); font-size: 28px; margin-bottom: 12px; }
.formulaire-merci a { color: var(--blanc); font-weight: 600; }
.formulaire-devis.est-envoye > :not(.formulaire-merci) { display: none; }

.devis-colonne { position: sticky; top: 30px; display: grid; gap: 20px; }
.etapes-devis { list-style: none; margin: 0; padding: 0; counter-reset: e; display: grid; gap: 16px; }
.etapes-devis li { counter-increment: e; position: relative; padding-left: 42px; color: #c9d1de; font-size: 14px; line-height: 1.55; }
.etapes-devis li::before { content: counter(e); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 8px; background: var(--bleu); color: var(--blanc); display: grid; place-items: center; font-size: 13px; font-weight: 600; }
.etapes-devis strong { display: block; color: var(--blanc); font-size: 15px; }
.devis-zones { padding: 22px 26px; border-radius: var(--rayon); background: var(--ciel-clair); color: var(--gris); font-size: 14px; line-height: 1.6; }
.devis-zones strong { display: block; color: var(--encre); margin-bottom: 4px; }

@media (max-width: 1100px) {
  .devis-grille { grid-template-columns: 1fr; }
  .devis-colonne { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .devis { padding: 48px 0 80px; }
  .bloc-form { padding: 26px 20px 24px; }
  .bloc-form legend { font-size: 21px; }
  .champs-2 { grid-template-columns: 1fr; }
  .devis-colonne { grid-template-columns: 1fr; }
  .formulaire-pied .bouton { width: 100%; }
}

/* ── Sélecteur de langue ─────────────────────────────────── */
.langues { display: flex; gap: 2px; margin-left: 14px; }
.langues a { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--gris); padding: 7px 9px; border-radius: 8px; line-height: 1; }
.langues a:hover { color: var(--bleu); }
.langues a[aria-current] { color: var(--bleu); background: rgba(255,255,255,.7); }
@media (max-width: 900px) {
  .langues { margin-left: auto; }
  .burger { margin-left: 10px; }
}

/* Navigation multilingue : libellés NL/EN plus longs, jamais sur deux lignes */
.nav a { white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1180px) {
  .entete .enveloppe { gap: 20px; }
  .nav { gap: 18px; }
  .nav a { font-size: 14px; }
}
@media (max-width: 520px) {
  .entete .enveloppe { gap: 10px; }
  .logo { font-size: 18px; }
  .logo svg { width: 28px; height: 22px; }
  .langues { gap: 0; }
  .langues a { padding: 6px 6px; font-size: 12px; }
}


/* ══════════════════════════════════════════════════════════════
   ADAPTATIONS GUTENBERG
   Le CSS ci-dessus est celui de la maquette, inchangé. Ce qui suit
   l'adapte au DOM produit par les blocs natifs (figure.wp-block-image,
   ul.wp-block-list, .wp-block-button__link, boucles de requête, CF7).
   Règle : le CSS des blocs est imprimé APRÈS cette feuille ; toute
   surcharge d'un style de bloc doit donc être PLUS spécifique.
   ══════════════════════════════════════════════════════════════ */

/* ── Socle ─────────────────────────────────────────────────── */
img { height: auto; }
:where(.wp-block-group) > :where(*), :where(.wp-block-buttons) { margin-block: 0; }
figure.wp-block-image, .wp-block-post-featured-image { margin: 0; }
.wp-site-blocks { padding: 0; }
:where(a, button, input, select, textarea, [tabindex]):focus-visible { outline: 3px solid var(--bleu); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Icônes : SVG en arrière-plan de pseudo-éléments (aucun SVG dans le contenu). */
:root {
  --ico-maison: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11 12 4l9 7'/%3E%3Cpath d='M5 9.5V20h14V9.5'/%3E%3Crect x='9.5' y='12' width='5' height='5' rx='1'/%3E%3C/svg%3E");
  --ico-isolation: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10 12 3l9 7'/%3E%3Cpath d='M6 13c2-1.5 4 1.5 6 0s4 1.5 6 0'/%3E%3Cpath d='M6 17c2-1.5 4 1.5 6 0s4 1.5 6 0'/%3E%3Cpath d='M5 21h14'/%3E%3C/svg%3E");
  --ico-goutte: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3s6 6.4 6 11a6 6 0 0 1-12 0c0-4.6 6-11 6-11z'/%3E%3Cpath d='m10 13 2.5 1.5L11 18'/%3E%3C/svg%3E");
  --ico-calendrier: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='10' width='34' height='31' rx='5'/%3E%3Cpath d='M7 19h34M16 6v8M32 6v8'/%3E%3Cpath d='m17 30 5 5 9-10'/%3E%3C/svg%3E");
  --ico-drapeau: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 21V4'/%3E%3Cpath d='M5 4h11l-2 4 2 4H5'/%3E%3C/svg%3E");
  --ico-bouclier: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 20 6v6c0 5-3.4 8.4-8 9.5C7.4 20.4 4 17 4 12V6z'/%3E%3Cpath d='m8.5 12 2.5 2.5 4.5-5'/%3E%3C/svg%3E");
  --ico-feuille: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19c0-8 5-13 15-14-1 10-6 15-14 15'/%3E%3Cpath d='M5 19 13 11'/%3E%3C/svg%3E");
  --ico-horloge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E");
  --ico-document: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h7l5 5v13H7z'/%3E%3Cpath d='M14 3v5h5'/%3E%3Cpath d='M10 13h6M10 17h4'/%3E%3C/svg%3E");
  --ico-coche: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E");
  --ico-tel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E");
  --ico-fleche-g: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 6l-6 6 6 6'/%3E%3C/svg%3E");
  --ico-fleche-d: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --logo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 26' fill='none' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 14 13 3l11 11' stroke='%23111827'/%3E%3Cpath d='M13 3h7l12 12M26 3v5' stroke='%231767e6'/%3E%3C/svg%3E");
  --logo-clair: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 26' fill='none' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 14 13 3l11 11' stroke='%23fff'/%3E%3Cpath d='M13 3h7l12 12M26 3v5' stroke='%231767e6'/%3E%3C/svg%3E");
}

/* ── Boutons : core/button ─────────────────────────────────── */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.wp-block-button .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--bleu); color: var(--blanc); border: 0;
  font-weight: 600; font-size: 15px; line-height: 1; padding: 18px 30px; border-radius: 999px;
  box-shadow: 0 10px 24px -10px rgba(23, 103, 230, .7);
  transition: background .2s, transform .2s, color .2s;
}
.wp-block-button .wp-block-button__link:hover { background: var(--bleu-fonce); color: var(--blanc); transform: translateY(-1px); }
.wp-block-button.b-petit .wp-block-button__link { padding: 12px 22px; font-size: 14px; }
.wp-block-button.b-clair .wp-block-button__link { background: var(--blanc); color: var(--encre); box-shadow: 0 10px 24px -14px rgba(17,24,39,.45); }
.wp-block-button.b-clair .wp-block-button__link:hover { background: var(--blanc); color: var(--bleu); }
.wp-block-button.b-contour .wp-block-button__link { background: transparent; color: var(--bleu); border: 1.5px solid var(--bleu); box-shadow: none; }
.wp-block-button.b-contour .wp-block-button__link:hover { background: var(--bleu); color: var(--blanc); }
.wp-block-button.b-tel .wp-block-button__link::before { content: ""; width: 18px; height: 18px; background: var(--ico-tel) center / contain no-repeat; }

/* ── En-tête ───────────────────────────────────────────────── */
.admin-bar .entete { top: 32px; }
.entete-rangee { display: flex; align-items: center; gap: 32px; }
.logo { margin: 0; font-size: 21px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.logo a { display: inline-flex; align-items: flex-end; gap: 4px; color: var(--encre); }
.logo a::before { content: ""; width: 34px; height: 26px; flex: none; margin-bottom: 1px; background: var(--logo) center / contain no-repeat; }
.logo strong { color: var(--bleu); font-weight: 600; }
.pied .logo a { color: var(--blanc); }
.pied .logo a::before { background-image: var(--logo-clair); }

.wp-block-navigation.nav { margin-left: auto; display: flex; gap: 30px; font-size: 15px; }
.wp-block-navigation.nav .wp-block-navigation__container { gap: 30px; }
.wp-block-navigation.nav .wp-block-navigation-item__content { color: var(--encre); font-weight: 500; }
.wp-block-navigation.nav .wp-block-navigation-item__content:hover,
.wp-block-navigation.nav .est-actif > .wp-block-navigation-item__content { color: var(--bleu); }
.wp-block-navigation.nav .nav-devis { display: none; }
.entete-cta { margin-left: 6px; }
.wp-block-navigation.nav .wp-block-navigation__responsive-container-open {
  width: 46px; height: 46px; border-radius: 50%; background: var(--blanc); color: var(--encre);
  box-shadow: 0 6px 20px -8px rgba(17,24,39,.3); align-items: center; justify-content: center;
}
.wp-block-navigation.nav .wp-block-navigation__responsive-container.is-menu-open {
  background-color: var(--blanc) !important; color: var(--encre) !important; padding: 32px 24px;
}
.wp-block-navigation.nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 22px; }
.wp-block-navigation.nav .wp-block-navigation__responsive-container.is-menu-open { --navigation-layout-justification-setting: flex-start; --navigation-layout-justify: flex-start; }
.wp-block-navigation.nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container .wp-block-navigation-item .wp-block-navigation-item__content { font-size: 22px; font-weight: 600; }
.wp-block-navigation.nav .wp-block-navigation__responsive-container.is-menu-open .nav-devis { display: block; }
.wp-block-navigation.nav .is-menu-open .nav-devis .wp-block-navigation-item__content { color: var(--bleu); }
@media (max-width: 900px) {
  .wp-block-navigation.nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
  .wp-block-navigation.nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
  /* core : .wp-block-buttons.is-layout-flex { display:flex } (0,2,0), imprimé après cette feuille */
  .entete .wp-block-buttons.entete-cta { display: none; }
}
@media (max-width: 782px) { .admin-bar .entete { top: 46px; } }

/* ── Héros ─────────────────────────────────────────────────── */
.heros .heros-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.heros-chiffres .chiffre { display: block; font-size: 40px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--blanc); }
.heros-chiffres .chiffre-legende { display: block; margin-top: 8px; font-size: 13px; color: rgba(255,255,255,.75); }
@media (max-width: 600px) { .heros-chiffres .chiffre { font-size: 30px; } }

/* ── Titres de section : accent en <em> nu (format natif, éditable) ── */
.titre-section em, .pied-appel-titre em { font-style: normal; color: var(--bleu); }
.titre-section em { display: block; }
.wp-block-group p.surtitre { display: block; color: var(--bleu); font-size: 14px; font-weight: 500; margin: 0 0 14px; }
.apropos-texte p:nth-of-type(2) { margin-top: 28px; }
.apropos-texte .wp-block-buttons { margin-top: 34px; }

/* ── Cartes à icône : la pastille est un ::before ─────────── */
.carte-service, .carte-avantage { position: relative; }
.carte-service::before, .carte-avantage::before, .mission-centre::before {
  content: ""; display: block; flex: none; width: 52px; height: 52px; border-radius: 10px;
  background: var(--bleu) var(--ico) center / 26px no-repeat;
}
.carte-avantage::before { width: 46px; height: 46px; border-radius: 9px; background-size: 24px; }
.mission-centre::before { width: 44px; height: 44px; border-radius: 8px; background-size: 22px; margin-bottom: 26px; --ico: var(--ico-drapeau); }
.carte-service--action::before { width: 44px; height: 44px; background-color: transparent; background-size: 44px; }
.ico-maison { --ico: var(--ico-maison); }
.ico-isolation { --ico: var(--ico-isolation); }
.ico-goutte { --ico: var(--ico-goutte); }
.ico-calendrier { --ico: var(--ico-calendrier); }
.ico-bouclier { --ico: var(--ico-bouclier); }
.ico-feuille { --ico: var(--ico-feuille); }
.ico-horloge { --ico: var(--ico-horloge); }
.ico-document { --ico: var(--ico-document); }
/* WordPress annule la marge haute du premier enfant d'un groupe (:root :where(.is-layout-flow) > :first-child,
   spécificité 0,2,0) : le titre de carte, premier enfant depuis que la pastille est un ::before, doit la dépasser. */
.carte-service.carte-service > h3 { margin-top: 34px; }
.carte-avantage.carte-avantage > h3 { margin-top: 30px; }
.logo a { gap: 0; }
.logo a::before { margin-right: 4px; }
.carte-service h3 a { color: inherit; }
.carte-service h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.carte-service p.lien { margin-top: auto; padding-top: 20px; color: var(--blanc); font-size: 14px; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.carte-service p.lien::after { content: "→"; }

ul.tous-services { list-style: none; padding: 0; margin: 44px 0 0; }
ul.tous-services li { margin: 0; }
ul.tous-services a { display: inline-block; }

/* ── Mission ───────────────────────────────────────────────── */
.mission .mission-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ── Réalisations ──────────────────────────────────────────── */
.diapo-legende p.diapo-numero { font-size: 64px; margin: 0; max-width: none; line-height: .8; }
.diapo-actions .wp-block-buttons { display: inline-flex; }
p.fleche { margin: 0; font-size: 0; user-select: none; }
p.fleche::before { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.fleche--precedente { --m: var(--ico-fleche-g); }
.fleche--suivante { --m: var(--ico-fleche-d); }

/* ── Boucles d'articles (query) ────────────────────────────── */
ul.wp-block-post-template.grille-blog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; list-style: none; padding: 0; margin: 0; }
ul.wp-block-post-template.grille-blog--complet { row-gap: 56px; }
.grille-blog > li { display: flex; flex-direction: column; position: relative; margin: 0; }
.grille-blog .carte-article-photo { border-radius: var(--rayon); overflow: hidden; box-shadow: 0 24px 50px -30px rgba(22,31,49,.5); }
.grille-blog .carte-article-photo a { display: block; }
.grille-blog .carte-article-photo img { width: 100%; height: auto; aspect-ratio: 1.45; object-fit: cover; transition: transform .5s ease; }
.grille-blog > li:hover .carte-article-photo img { transform: scale(1.04); }
.grille-blog .carte-article-categorie { margin-top: 24px; font-size: 14px; font-weight: 500; }
.grille-blog .carte-article-categorie a { color: var(--bleu); position: relative; z-index: 1; }
.grille-blog .wp-block-post-title { font-size: 22px; line-height: 1.3; margin-top: 10px; }
.grille-blog .wp-block-post-title a { color: var(--encre); transition: color .2s; }
.grille-blog .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; }
.grille-blog > li:hover .wp-block-post-title a { color: var(--bleu); }
.grille-blog .wp-block-post-excerpt { margin-top: 12px; font-size: 15px; }
.grille-blog .wp-block-post-excerpt__excerpt { margin: 0; }
.wp-block-read-more.lien-article { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; color: var(--encre); font-size: 14px; font-weight: 600; width: fit-content; }
.wp-block-read-more.lien-article::after { content: "→"; }
.blog-apercu-pied .wp-block-buttons { justify-content: center; }
.pagination { margin-top: 56px; display: flex; justify-content: center; gap: 12px; font-weight: 600; }

/* Index des services : cartes photo */
ul.wp-block-post-template.grille-services-photo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; list-style: none; padding: 0; margin: 0; }
.grille-services-photo > li {
  display: flex; flex-direction: column; margin: 0; position: relative; border-radius: var(--rayon); overflow: hidden;
  background: var(--nuit-carte); border: 1px solid var(--nuit-trait); transition: transform .25s;
}
.grille-services-photo > li:hover { transform: translateY(-4px); }
.grille-services-photo .carte-service-photo-img img { width: 100%; height: auto; aspect-ratio: 1.6; object-fit: cover; }
.grille-services-photo .carte-service-photo-texte { flex: 1; }
.grille-services-photo .wp-block-post-title { color: var(--blanc); font-size: 22px; margin-bottom: 12px; line-height: 1.25; }
.grille-services-photo .wp-block-post-title a { color: inherit; }
.grille-services-photo .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; }
.grille-services-photo .wp-block-post-excerpt__excerpt { margin: 0; color: var(--gris-clair); font-size: 15px; }
.grille-services-photo .wp-block-read-more.lien-article { color: var(--blanc); margin-top: auto; padding-top: 18px; }

/* ── Pages intérieures (gabarits) ──────────────────────────── */
.fil .fil-liens, .fil .fil-actuel { margin: 0; font-size: 13px; }
.fil .fil-liens a:hover { color: var(--bleu); }
.fil .fil-actuel { color: var(--encre); font-weight: 500; letter-spacing: normal; }
.page-intro .wp-block-post-excerpt__excerpt { margin: 0; }
.page-infos { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: 14px; color: var(--gris); }
.page-infos > * + *::before { content: "·"; margin-right: 18px; color: var(--gris-clair); }
.page-infos a { color: var(--bleu); }
.page-tete .page-tete-photo img { width: 100%; height: auto; aspect-ratio: 1.25; object-fit: cover; border-radius: 18px; box-shadow: 0 40px 70px -40px rgba(22,31,49,.6); }

.contenu.contenu > * + * { margin-top: 22px; }
.contenu.contenu > h2 { margin-top: 56px; }
.contenu.contenu > h3 { margin-top: 36px; }
.contenu.contenu > h2 + *, .contenu.contenu > h3 + * { margin-top: 16px; }
.contenu.contenu > :first-child { margin-top: 0; }
.contenu.contenu > .faq-item + .faq-item { margin-top: 12px; }
.contenu.contenu > figure.wp-block-image { margin-top: 36px; }
.contenu ul.wp-block-list, .contenu ol.wp-block-list { padding-left: 0; margin-bottom: 0; }
.contenu .wp-block-table { margin-left: 0; margin-right: 0; margin-bottom: 0; overflow-x: auto; }
.contenu .wp-block-table table { table-layout: auto; border-collapse: separate; border-spacing: 0; border: 1px solid var(--trait); border-radius: var(--rayon-s); overflow: hidden; }
.contenu .wp-block-table th, .contenu .wp-block-table td { border: 0; border-bottom: 1px solid var(--trait); padding: 14px 16px; }
.contenu .wp-block-table th { background: var(--nuit); color: var(--blanc); }
.contenu .wp-block-table .has-fixed-layout td, .contenu .wp-block-table .has-fixed-layout th { word-break: normal; overflow-wrap: normal; }
.contenu .wp-block-table tr:last-child td { border-bottom: 0; }
.encart > p + p { margin-top: 0; }
.encart .encart-titre { font-weight: 600; color: var(--encre); margin-bottom: 6px; }
.encart--nuit .encart-titre { color: var(--blanc); }
.faq-item > p { padding: 0 24px 22px; }
.grille-primes .carte-prime { position: relative; }
.grille-primes .carte-prime h3 { color: var(--blanc); font-size: 21px; margin-bottom: 10px; }
.grille-primes .carte-prime h3 a { color: inherit; text-decoration: none; }
.grille-primes .carte-prime h3 a::after { content: ""; position: absolute; inset: 0; }
.grille-primes .carte-prime p.lien-article { color: var(--blanc); margin-top: auto; padding-top: 16px; font-weight: 600; font-size: 14px; }

/* Colonne latérale */
.carte-devis::before { content: ""; display: block; width: 40px; height: 40px; background: var(--ico-calendrier) center / contain no-repeat; }
.carte-devis h2 { color: var(--blanc); }
.carte-devis.carte-devis > h2 { margin-top: 20px; }
.carte-devis .wp-block-buttons { margin-top: 22px; }
.carte-devis .wp-block-button, .carte-devis .wp-block-button .wp-block-button__link { width: 100%; }
.carte-devis p.carte-devis-tel, .carte-devis p.carte-devis-mail { margin-top: 14px; text-align: center; font-size: 14px; }
.carte-devis p.carte-devis-tel a { color: var(--blanc); font-weight: 600; }
.carte-devis p.carte-devis-mail a { color: var(--blanc); font-weight: 500; }
.carte-liens .liste-liens { list-style: none; margin: 0; padding: 0; }
.carte-liens .liste-liens li { margin: 0; }
.carte-liens .wp-block-post-title { font-size: inherit; margin: 0; }
.carte-liens li.est-actif a { color: var(--blanc); }
.carte-liens li.est-actif a::after { color: var(--bleu); }

/* ── Demande de devis : Contact Form 7 ─────────────────────── */
.devis-formulaire .wpcf7 { margin: 0; }
.formulaire-devis { display: grid; gap: 24px; }
.puces .wpcf7-form-control { display: flex; flex-wrap: wrap; gap: 10px; }
.puces .wpcf7-list-item { margin: 0; }
.puces .wpcf7-list-item label { position: relative; display: block; cursor: pointer; }
.puces .wpcf7-list-item input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.puces .wpcf7-list-item-label {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  border: 1.5px solid #d9e1ec; background: #f8fafd; color: var(--encre); font-size: 14px; font-weight: 500; line-height: 1.2;
  transition: background .2s, border-color .2s, color .2s;
}
.puces label:hover .wpcf7-list-item-label { border-color: var(--bleu); }
.puces input:checked + .wpcf7-list-item-label { background: var(--bleu); border-color: var(--bleu); color: var(--blanc); }
/* CF7 ajoute content:" " autour de chaque libellé : neutralisé (sinon +16 px par pastille). */
.puces .wpcf7-list-item-label::before, .puces .wpcf7-list-item-label::after,
.consentement .wpcf7-list-item-label::before, .consentement .wpcf7-list-item-label::after { content: none; }
.puces input:checked + .wpcf7-list-item-label::before { content: "✓"; font-weight: 700; }
.puces input:focus-visible + .wpcf7-list-item-label { box-shadow: 0 0 0 4px rgba(23,103,230,.2); }
.puces--radio .wpcf7-list-item.first input:checked + .wpcf7-list-item-label { background: var(--nuit); border-color: var(--nuit); }
.champ > .wpcf7-form-control-wrap { display: block; font-weight: 400; }
.champ .wpcf7-form-control-wrap input, .champ .wpcf7-form-control-wrap select, .champ .wpcf7-form-control-wrap textarea { display: block; }
.fichiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.fichiers .wpcf7-form-control-wrap { display: block; }
.fichiers input[type="file"] {
  width: 100%; font: inherit; font-size: 13px; color: var(--gris); padding: 14px 12px; cursor: pointer;
  border: 1.5px dashed #c3d2e6; border-radius: var(--rayon-s); background: var(--ciel-clair);
}
.consentement .wpcf7-list-item { margin: 0; }
.consentement label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.consentement input[type="checkbox"] { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--bleu); flex: none; }
.formulaire-pied input.wpcf7-submit {
  border: 0; cursor: pointer; font: inherit; font-weight: 600; font-size: 16px; line-height: 1;
  padding: 20px 36px; border-radius: 999px; background: var(--bleu); color: var(--blanc);
  box-shadow: 0 10px 24px -10px rgba(23, 103, 230, .7); transition: background .2s;
}
.formulaire-pied input.wpcf7-submit:hover { background: var(--bleu-fonce); }
.wpcf7-spinner { display: none; }
.wpcf7-not-valid-tip { display: block; color: #c4302b; font-size: 13px; margin-top: 6px; }
.champ .wpcf7-not-valid { border-color: #c4302b; background: #fff6f5; }
.wpcf7 form .wpcf7-response-output { margin: 0; padding: 16px 20px; border-radius: var(--rayon-s); border: 0; background: #fff6f5; color: #c4302b; font-size: 14px; }
.wpcf7 form.sent .wpcf7-response-output { display: none; }
.formulaire-merci { display: none; }
.wpcf7-form.sent .formulaire-merci { display: block; }
.wpcf7-form.sent .bloc-form, .wpcf7-form.sent .formulaire-pied { display: none; }
.formulaire-merci::before { content: ""; display: block; margin: 0 auto 22px; width: 56px; height: 56px; border-radius: 50%; background: var(--bleu) var(--ico-coche) center / 24px no-repeat; }
.devis-colonne ol.etapes-devis { padding: 0; margin: 0; }
.devis-colonne .carte-devis::before { display: none; }
.devis-zones .devis-zones-titre { color: var(--encre); font-weight: 700; margin-bottom: 4px; }

/* ── Pied de page ──────────────────────────────────────────── */
.pied-appel .pied-appel-titre { font-size: clamp(28px, 3vw, 40px); max-width: 640px; }
.pied-colonnes .pied-texte { margin-top: 20px; font-size: 14px; max-width: 300px; }
.pied ul.wp-block-list li { margin: 0; }
.pied-bas p { margin: 0; }

/* ── Responsive des blocs ──────────────────────────────────── */
@media (max-width: 1100px) {
  ul.wp-block-post-template.grille-services-photo { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  ul.wp-block-post-template.grille-blog { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  ul.wp-block-post-template.grille-blog, ul.wp-block-post-template.grille-services-photo { grid-template-columns: 1fr; gap: 44px; }
  .fichiers { grid-template-columns: 1fr; }
  .formulaire-pied input.wpcf7-submit { width: 100%; }
  .page-tete .heros-boutons .wp-block-button, .page-tete .heros-boutons .wp-block-button__link,
  .heros .heros-boutons .wp-block-button, .heros .heros-boutons .wp-block-button__link { width: 100%; }
}

/* Sélecteur de langue (paragraphe « langues » rendu par functions.php avec Polylang) */
.entete-rangee p.langues { margin: 0; flex: none; }
@media (max-width: 900px) {
  .entete-rangee p.langues { order: 2; margin-left: auto; }
  .entete-rangee .wp-block-navigation.nav { order: 3; margin-left: 0; }
}

/* Libellés NL / EN plus longs : jamais sur deux lignes, menu resserré entre 901 et 1180 px */
.wp-block-navigation.nav .wp-block-navigation-item__content,
.entete-cta .wp-block-button__link { white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1180px) {
  .entete-rangee { gap: 18px; }
  .wp-block-navigation.nav,
  .wp-block-navigation.nav .wp-block-navigation__container { gap: 18px; font-size: 14px; }
}
