/*
Theme Name: Dkarchitek
Theme URI: https://dkarchitek.notlimai.cloud
Author: Dkarchitek
Description: Thème bloc sur mesure de l'atelier Dkarchitek, architecte à Dunkerque. Tout le contenu est composé de blocs natifs, modifiables dans l'éditeur.
Version: 1.0.6
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: dkarchitek
Tags: block-theme, full-site-editing, one-column
*/

/* Remises à zéro placées AVANT le CSS de la maquette, pour que ses règles de composant l'emportent. */
.wp-block-image { margin: 0; }
:where(.wp-block-group) > :where(*), :where(.wp-block-buttons) { margin-block: 0; }

/* =========================================================
   Dkarchitek — maquette
   ========================================================= */
:root {
  --foret: #145445;
  --titre: #16493b;
  --menthe: #f1f8f4;
  --blanc: #ffffff;
  --noir: #000000;
  --etoile: #edb95e;
  --texte: #5f6663;
  --texte-doux: #9aa19e;

  --encart: 44px;      /* retrait des blocs arrondis dans la page */
  --interieur: max(90px, calc((100% - 1140px) / 2));   /* retrait du contenu courant, contenu plafonné à 1140 px */
  --r-bloc: 28px;
  --r-carte: 16px;
  --font: "Manrope", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--blanc);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--texte);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.035em; line-height: 1.12; hyphens: none; text-wrap: balance; }

.maquette-page {
  background: var(--blanc);
  padding-top: 20px;
  overflow: hidden;
}

.titre { font-size: 38px; color: var(--titre); }
.titre--center { text-align: center; }
.titre--blanc { color: var(--blanc); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 46px; padding: 0 24px;
  border-radius: 10px;
  font: 600 14px/1 var(--font);
  letter-spacing: -0.01em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn svg { width: 16px; height: 16px; }
.btn--green { background: var(--foret); color: var(--blanc); }
.btn--green:hover { background: #0f4034; }
.btn--ligne { background: var(--blanc); color: var(--titre); border-color: #b9ccc4; }
.btn--ligne:hover { border-color: var(--foret); }
.btn--sm { height: 42px; padding: 0 20px; font-size: 13px; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  margin: 0 var(--encart);
  height: 760px;
  border-radius: var(--r-bloc);
  overflow: hidden;
  color: var(--blanc);
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,30,24,.72) 0%, rgba(10,30,24,.45) 38%, rgba(10,30,24,0) 62%),
    linear-gradient(180deg, rgba(10,30,24,.4) 0%, rgba(10,30,24,0) 22%, rgba(10,30,24,0) 70%, rgba(10,30,24,.35) 100%);
}

.topbar {
  position: absolute; z-index: 5; top: 28px; left: 48px; right: 40px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 600; letter-spacing: -0.03em; }
.logo__mark { width: 30px; height: 25px; }
.topbar__right { position: relative; display: flex; align-items: center; gap: 20px; }
.topbar__tel { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.topbar__tel svg { width: 18px; height: 18px; }
.topbar__sep { width: 1px; height: 26px; background: rgba(255,255,255,.35); }
.menu-btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 24px;
  border: 0; border-radius: 999px;
  background: var(--foret); color: var(--blanc);
  font: 600 14px/1 var(--font); cursor: pointer;
}
.menu-btn svg { width: 18px; height: 18px; }
.menu-panel {
  position: absolute; top: calc(100% + 12px); right: 0;
  width: 240px; padding: 10px;
  background: var(--blanc); border-radius: var(--r-carte);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.45);
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.menu-panel a { padding: 11px 14px; border-radius: 10px; color: var(--titre); font-weight: 500; font-size: 15px; }
.menu-panel a:hover, .menu-panel a.is-current { background: var(--menthe); }
.topbar.is-open .menu-panel { opacity: 1; visibility: visible; transform: none; }

.hero__content { position: absolute; left: 48px; bottom: 132px; width: 620px; }
.hero h1 { font-size: 62px; line-height: 1.08; letter-spacing: -0.045em; }
.hero__content > p { margin-top: 18px; max-width: 470px; font-size: 16px; line-height: 1.55; color: rgba(255,255,255,.86); }

.finder {
  margin-top: 34px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 7px 7px 10px;
  background: var(--blanc); border-radius: 14px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.5);
}
.finder__field { position: relative; }
.finder__field + .finder__field::before { content: ""; position: absolute; left: -3px; top: 10px; bottom: 10px; width: 1px; background: #e3e8e6; }
.finder select {
  appearance: none; border: 0; background: transparent;
  height: 42px; padding: 0 38px 0 16px;
  font: 500 13px/1 var(--font); color: #7b8380;
  cursor: pointer; outline: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 10 5 5 5-5' fill='none' stroke='%239aa19e' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
}

/* =========================================================
   PROJETS — carrousel
   ========================================================= */
.projets { padding: 104px 0 110px; }
.carousel { position: relative; margin-top: 44px; height: 540px; }
.slide {
  position: absolute; top: 0; left: 50%;
  width: 620px; margin-left: -310px;
  opacity: 0; pointer-events: none;
  transition: transform .6s cubic-bezier(.3,.7,.2,1), opacity .5s, width .6s;
}
.slide img { width: 100%; height: 380px; object-fit: cover; border-radius: var(--r-carte); transition: height .6s; }
.slide__meta { display: flex; justify-content: space-between; gap: 30px; margin-top: 22px; }
.slide h3 { font-size: 26px; color: var(--titre); letter-spacing: -0.03em; }
.slide__meta p { margin-top: 10px; max-width: 360px; font-size: 13.5px; line-height: 1.55; }
.slide__chiffres { display: flex; flex-direction: column; align-items: flex-end; text-align: right; white-space: nowrap; }
.slide__chiffres strong { font-size: 26px; font-weight: 600; color: #2d3331; letter-spacing: -0.03em; line-height: 1.12; }
.slide__chiffres span { margin-top: 6px; font-size: 12.5px; color: var(--texte); }

.slide.is-active { opacity: 1; pointer-events: auto; z-index: 3; }
.slide.is-prev, .slide.is-next { opacity: .4; z-index: 2; width: 380px; top: 80px; cursor: pointer; }
.slide.is-prev { margin-left: calc(-310px - 48px - 380px); -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 75%); mask-image: linear-gradient(90deg, transparent 0%, #000 75%); }
.slide.is-next { margin-left: calc(310px + 48px); -webkit-mask-image: linear-gradient(270deg, transparent 0%, #000 75%); mask-image: linear-gradient(270deg, transparent 0%, #000 75%); }
.slide.is-prev img, .slide.is-next img { height: 240px; }
.slide.is-prev .slide__meta p, .slide.is-next .slide__meta p { display: none; }
.slide.is-prev h3, .slide.is-next h3, .slide.is-prev .slide__chiffres strong, .slide.is-next .slide__chiffres strong { font-size: 18px; }
.slide { transition: margin-left .6s cubic-bezier(.3,.7,.2,1), width .6s cubic-bezier(.3,.7,.2,1), top .6s cubic-bezier(.3,.7,.2,1), opacity .5s; }

.carousel__arrow {
  position: absolute; z-index: 4; top: 170px;
  width: 42px; height: 42px; border-radius: 50%;
  border: 0; background: #0b0d0c; color: var(--blanc);
  display: grid; place-items: center; cursor: pointer;
  transition: transform .2s;
}
.carousel__arrow:hover { transform: scale(1.08); }
.carousel__arrow svg { width: 18px; height: 18px; }
.carousel__arrow--prev { left: calc(50% - 331px); }
.carousel__arrow--next { left: calc(50% + 289px); }

/* =========================================================
   POURQUOI — mosaïque
   ========================================================= */
.pourquoi {
  margin: 0 var(--encart);
  padding: 72px max(50px, calc((100% - 1232px) / 2)) 70px;
  background: var(--foret);
  border-radius: var(--r-bloc);
}
.pourquoi .titre { font-size: 38px; }
.mosaique {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 334px 334px;
  gap: 6px;
}
.t1 { grid-area: 1 / 1; } .t2 { grid-area: 1 / 2; } .t3 { grid-area: 1 / 3; }
.t4 { grid-area: 2 / 2; } .t5 { grid-area: 2 / 4; }
.tuile { position: relative; margin: 0; border-radius: var(--r-carte); overflow: hidden; }
.tuile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.3,.7,.2,1); }
.tuile figcaption {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  padding: 16px 18px;
  background: var(--blanc); border-radius: 12px;
  font-size: 12.5px; line-height: 1.5; color: var(--texte);
  opacity: 0; transform: translateY(12px);
  transition: opacity .3s, transform .4s cubic-bezier(.3,.7,.2,1);
}
.tuile figcaption strong { display: block; margin-bottom: 4px; font-size: 15px; font-weight: 600; letter-spacing: -0.02em; color: var(--titre); }
.tuile:hover img { transform: scale(1.05); }
.tuile:hover figcaption { opacity: 1; transform: none; }

.tuile--carte {
  background: var(--blanc);
  padding: 22px 20px 16px;
  display: flex; flex-direction: column;
  border: 3px solid var(--blanc);
}
.tuile--carte h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.03em; color: var(--titre); }
.tuile--carte p { margin-top: 8px; font-size: 12px; line-height: 1.5; color: var(--texte-doux); }
.croquis { margin-top: auto; width: 100%; height: auto; }

/* =========================================================
   SERVICES
   ========================================================= */
.services { padding: 104px var(--interieur) 110px; }
.services__tete { display: flex; align-items: center; justify-content: space-between; }
.services .titre { font-size: 38px; }
.pill-link {
  display: inline-flex; align-items: center; gap: 12px;
  height: 40px; padding: 0 4px 0 20px;
  border-radius: 999px; background: var(--foret); color: var(--blanc);
  font-size: 13px; font-weight: 500;
}
.pill-link span { width: 32px; height: 32px; border-radius: 50%; background: var(--blanc); color: var(--foret); display: grid; place-items: center; transition: transform .25s; }
.pill-link span svg { width: 16px; height: 16px; }
.pill-link:hover span { transform: translateX(3px); }

.vedette {
  margin-top: 40px;
  display: grid; grid-template-columns: 48% 1fr;
  height: 480px;
  border-radius: var(--r-carte); overflow: hidden;
  background: var(--menthe);
}
.vedette { grid-template-rows: minmax(0, 1fr); }
.vedette > img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.vedette__corps { padding: 34px 44px 32px; display: flex; flex-direction: column; }
.tag { align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: var(--foret); color: var(--blanc); font-size: 11.5px; font-weight: 600; line-height: 1.3; }
.vedette h3 { margin-top: 20px; font-size: 36px; color: var(--titre); max-width: 460px; }
.vedette p { margin-top: 20px; max-width: 470px; font-size: 14px; line-height: 1.7; }
.auteur { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.auteur img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.auteur strong { display: block; font-size: 13px; font-weight: 600; color: #2d3331; }
.auteur span { display: block; font-size: 11.5px; color: var(--texte-doux); line-height: 1.3; }

.trio { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.carte img { width: 100%; height: 240px; object-fit: cover; border-radius: var(--r-carte); transition: filter .3s; }
.carte h3 { margin-top: 16px; font-size: 15px; font-weight: 500; letter-spacing: -0.02em; color: #2d3331; line-height: 1.4; max-width: 340px; }
.carte:hover img { filter: brightness(1.06) saturate(1.08); }
.carte:hover h3 { color: var(--foret); }

/* =========================================================
   TÉMOIGNAGES
   ========================================================= */
.temoignages { padding: 96px max(44px, calc((100% - 1232px) / 2)) 80px; background: var(--menthe); }
.avis-pages { display: grid; margin-top: 44px; }
.avis-page {
  grid-area: 1 / 1;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px;
  opacity: 0; visibility: hidden; transform: translateX(20px);
  transition: opacity .45s, transform .45s, visibility .45s;
}
.avis-page.is-active { opacity: 1; visibility: visible; transform: none; }
.avis { margin: 0; display: flex; flex-direction: column; background: rgba(255,255,255,.5); border-radius: var(--r-carte); }
.avis blockquote {
  flex: 1; margin: 0; padding: 22px 26px 30px;
  background: var(--blanc); border-radius: var(--r-carte);
  font-size: 14px; line-height: 1.6; color: #4a514e;
}
.avis blockquote b { font-weight: 700; color: #2d3331; }
.etoiles { margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid #eef2f0; color: var(--etoile); font-size: 15px; letter-spacing: 3px; }
.avis figcaption { display: flex; align-items: center; gap: 14px; padding: 16px 10px 14px; }
.avis figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.avis figcaption strong { display: block; font-size: 14px; font-weight: 600; color: var(--titre); line-height: 1.3; }
.avis figcaption span { display: block; font-size: 12px; color: var(--texte-doux); }
.points { margin-top: 30px; display: flex; justify-content: center; gap: 8px; }
.point { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: #c9d8d1; cursor: pointer; transition: background .2s; }
.point.is-active { background: var(--foret); }

/* =========================================================
   APPEL
   ========================================================= */
.appel {
  position: relative;
  margin: 70px var(--encart) 70px;
  height: 525px;
  border-radius: var(--r-bloc); overflow: hidden;
  display: flex; align-items: center;
}
.appel__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.appel__carte {
  position: relative;
  margin-left: 56px;
  width: 620px; padding: 58px 56px 56px;
  background: var(--blanc); border-radius: 26px;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.35);
}
.appel .titre { font-size: 46px; line-height: 1.1; }
.appel__carte p { margin-top: 20px; max-width: 420px; font-size: 14px; line-height: 1.65; }
.appel__btns { margin-top: 34px; display: flex; gap: 14px; }

/* =========================================================
   PIED
   ========================================================= */
.pied { background: var(--noir); color: var(--blanc); container-type: inline-size; }
.pied__haut {
  display: grid; grid-template-columns: 1.55fr .6fr .6fr .75fr; gap: 30px;
  padding: 80px var(--interieur) 0;
}
.pied__accroche { font-size: 30px; font-weight: 500; letter-spacing: -0.035em; line-height: 1.25; max-width: 440px; }
.pied__vignettes { margin-top: 38px; display: flex; gap: 14px; }
.pied__vignettes img { width: 84px; height: 84px; border-radius: 12px; object-fit: cover; }
.pied__col { list-style: none; margin: 0; padding: 4px 0 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; font-weight: 500; line-height: 1.4; }
.pied__col a { transition: opacity .2s; }
.pied__col a:hover { opacity: .6; }
.pied__col:last-child { color: rgba(255,255,255,.85); }

.pied__marque { position: relative; margin-top: 60px; height: 49cqw; }
.pied__img { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 39cqw; object-fit: cover; object-position: 50% 60%; }
.pied__marque::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 27cqw; height: 12cqw; z-index: 1;
  background: linear-gradient(180deg, #000 0%, rgba(0,0,0,0) 100%);
}
.pied__mot {
  position: absolute; z-index: 2; top: 0; left: 50%; transform: translateX(-50%);
  font-size: 22.75cqw; font-weight: 500; letter-spacing: -0.06em; line-height: .8;
  white-space: nowrap; color: #f3f4f3;
}
.pied__bas {
  position: absolute; z-index: 3; left: 38px; right: 44px; bottom: 16.5cqw;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; font-weight: 500; text-shadow: 0 1px 12px rgba(0,0,0,.4);
}
.pied__bas span:last-child { display: flex; gap: 28px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  :root { --encart: 20px; --interieur: 40px; }
  .hero { height: 680px; }
  .slide { width: 540px; margin-left: -270px; }
  .slide.is-prev { margin-left: calc(-270px - 32px - 380px); }
  .slide.is-next { margin-left: calc(270px + 32px); }
  .carousel__arrow--prev { left: calc(50% - 291px); }
  .carousel__arrow--next { left: calc(50% + 249px); }
  .pourquoi { padding: 56px 30px; }
  .mosaique { grid-template-rows: 280px 280px; }
  .pied__haut { grid-template-columns: 1fr 1fr 1fr; }
  .pied__gauche { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --encart: 12px; --interieur: 20px; --r-bloc: 22px; }
  body { font-size: 14px; }
  .maquette-page { padding-top: 12px; }
  .titre, .pourquoi .titre, .services .titre { font-size: 30px; }

  .hero { height: 720px; }
  .hero__img { object-position: 66% 50%; }
  .hero__veil { background: linear-gradient(180deg, rgba(8,26,22,.45) 0%, rgba(8,26,22,.1) 35%, rgba(8,26,22,.75) 100%); }
  .topbar { top: 16px; left: 18px; right: 14px; }
  .topbar__tel, .topbar__sep { display: none; }
  .menu-btn { height: 42px; padding: 0 18px; }
  .hero__content { left: 20px; right: 20px; bottom: 26px; width: auto; }
  .hero h1 { font-size: 31px; letter-spacing: -0.04em; }
  .hero__content > p { font-size: 14.5px; }
  .finder { display: flex; flex-wrap: wrap; width: 100%; padding: 8px; }
  .finder__field { flex: 1 1 40%; }
  .finder__field select { width: 100%; padding: 0 30px 0 12px; background-position: right 8px center; }
  .finder .btn { flex: 1 1 100%; justify-content: center; }

  .projets { padding: 70px 0 70px; }
  .carousel { margin-top: 30px; height: auto; padding: 0 var(--interieur); }
  .slide { position: relative; left: auto; margin: 0; width: 100%; display: none; transform: none !important; }
  .slide.is-active { display: block; }
  .slide img { height: 250px; }
  .slide__meta { flex-direction: column; gap: 12px; }
  .slide__chiffres { align-items: flex-start; text-align: left; flex-direction: row; gap: 14px; align-items: baseline; flex-wrap: wrap; }
  .slide__chiffres span { margin: 0; }
  .carousel__arrow { top: 104px; }
  .carousel__arrow--prev { left: calc(var(--interieur) + 10px); }
  .carousel__arrow--next { left: auto; right: calc(var(--interieur) + 10px); }

  .pourquoi { padding: 44px 16px 16px; }
  .mosaique { margin-top: 28px; grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 210px; }
  .t1, .t2, .t3, .t4, .t5 { grid-area: auto; }
  .t2 { grid-column: 1 / -1; order: -1; }
  .tuile figcaption { opacity: 1; transform: none; left: 8px; right: 8px; bottom: 8px; padding: 10px 12px; font-size: 11.5px; }
  .tuile figcaption strong { font-size: 13px; margin: 0; }
  .tuile figcaption { font-size: 0; }
  .tuile figcaption strong { font-size: 13px; }

  .services { padding: 70px var(--interieur); }
  .services__tete { gap: 16px; }
  .vedette { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; }
  .vedette > img { height: 240px; }
  .vedette__corps { padding: 26px 22px; }
  .vedette h3 { font-size: 28px; }
  .auteur { margin-top: 26px; }
  .trio { grid-template-columns: 1fr; gap: 26px; }
  .carte img { height: 210px; }

  .temoignages { padding: 70px var(--interieur) 60px; }
  .avis-page { grid-template-columns: 1fr; gap: 18px; }

  .appel { height: auto; min-height: 560px; align-items: flex-end; margin: 50px var(--encart); }
  .appel__carte { margin: 12px; width: auto; padding: 30px 24px; }
  .appel .titre { font-size: 32px; }
  .appel__btns { flex-direction: column; }
  .appel__btns .btn { justify-content: center; }

  .pied__haut { grid-template-columns: 1fr 1fr; padding-top: 56px; gap: 34px 20px; }
  .pied__col:last-child { grid-column: 1 / -1; }
  .pied__accroche { font-size: 24px; }
  .pied__marque { height: 360px; margin-top: 40px; }
  .pied__img { height: 320px; }
  .pied__marque::before { bottom: 240px; height: 80px; }
  .pied__bas { left: 20px; right: 20px; bottom: 20px; flex-direction: column; align-items: flex-start; gap: 8px; font-size: 12px; }
  .pied__bas span:last-child { gap: 18px; }
}

/* =========================================================
   PAGES INTERNES
   ========================================================= */

/* ---------- Bandeau de page ---------- */
.hero--page { height: 560px; }
.hero--page .hero__content { bottom: 72px; width: 760px; }
.hero--page h1 { font-size: 58px; }
.fil { display: flex; gap: 8px; align-items: center; margin-bottom: 20px; font-size: 13px; font-weight: 500; color: rgba(255,255,255,.75); }
.fil a:hover { color: var(--blanc); }
.fil span[aria-hidden] { opacity: .5; }

/* ---------- Introduction + chiffres ---------- */
.intro { padding: 104px var(--interieur) 96px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px 80px; }
.intro .titre { font-size: 42px; }
.intro__texte p { font-size: 15px; line-height: 1.75; }
.intro__texte p + p { margin-top: 16px; }
.chiffres { grid-column: 1 / -1; margin-top: 24px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #e3ebe7; }
.chiffre { padding: 30px 24px 0 0; }
.chiffre + .chiffre { padding-left: 28px; border-left: 1px solid #e3ebe7; }
.chiffre strong { display: block; font-size: 52px; font-weight: 500; letter-spacing: -0.045em; line-height: 1; color: var(--titre); }
.chiffre span { display: block; margin-top: 10px; font-size: 13.5px; }

/* ---------- Étapes (bloc vert) ---------- */
.etapes {
  margin: 0 var(--encart);
  padding: 72px max(50px, calc((100% - 1232px) / 2)) 70px;
  background: var(--foret); border-radius: var(--r-bloc);
}
.etapes__tete { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.etapes__tete p { max-width: 420px; font-size: 14px; color: rgba(255,255,255,.72); }
.etapes__grille { margin-top: 44px; display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 6px; }
.etape { background: var(--blanc); border-radius: var(--r-carte); padding: 26px 24px 30px; min-height: 280px; display: flex; flex-direction: column; }
.etape__num { align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: var(--menthe); color: var(--foret); font-size: 12px; font-weight: 700; line-height: 1.3; }
.etape h3 { margin-top: auto; font-size: 20px; font-weight: 600; letter-spacing: -0.03em; color: var(--titre); }
.etape p { margin-top: 10px; font-size: 13px; line-height: 1.6; }
.etape--photo { padding: 0; overflow: hidden; }
.etape--photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Équipe ---------- */
.equipe { padding: 104px var(--interieur) 110px; }
.equipe .titre { font-size: 38px; }
.equipe__grille { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.membre { margin: 0; }
.membre img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--r-carte); }
.membre figcaption { margin-top: 18px; }
.membre strong { display: block; font-size: 20px; font-weight: 600; letter-spacing: -0.03em; color: var(--titre); }
.membre span { display: block; margin-top: 2px; font-size: 13px; color: var(--texte-doux); }
.membre p { margin-top: 12px; font-size: 13.5px; line-height: 1.6; }

/* ---------- Engagements (bande menthe) ---------- */
.engagements__grille { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.engagement { background: var(--blanc); border-radius: var(--r-carte); padding: 28px 28px 32px; }
.engagement__icone { width: 46px; height: 46px; border-radius: 12px; background: var(--foret); color: var(--blanc); display: grid; place-items: center; }
.engagement__icone svg { width: 22px; height: 22px; }
.engagement h3 { margin-top: 22px; font-size: 20px; font-weight: 600; letter-spacing: -0.03em; color: var(--titre); }
.engagement p { margin-top: 10px; font-size: 14px; line-height: 1.6; }

/* ---------- Services détaillés ---------- */
.prestations { padding: 104px var(--interieur) 110px; display: flex; flex-direction: column; gap: 24px; }
.prestations .titre { font-size: 38px; }
.prestations > p { margin-top: -8px; margin-bottom: 20px; max-width: 560px; font-size: 15px; }
.vedette--inverse { grid-template-columns: 1fr 48%; }
.vedette--inverse > img { order: 2; }
.prestations .vedette { margin-top: 0; height: 480px; }
.inclus { list-style: none; margin: 24px 0 30px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.inclus li { position: relative; padding-left: 26px; font-size: 13.5px; font-weight: 500; color: #2d3331; line-height: 1.45; }
.inclus li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 17px; height: 17px; border-radius: 50%;
  background: var(--foret) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 12.5 3 3 7-7' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.vedette__pied { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid #dde9e3; }
.vedette__pied strong { display: block; font-size: 13px; font-weight: 600; color: #2d3331; }
.vedette__pied span { display: block; font-size: 12px; color: var(--texte-doux); }

/* ---------- Projets : filtres + grille ---------- */
.realisations { padding: 96px var(--interieur) 110px; }
.realisations__tete { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.realisations .titre { font-size: 38px; }
.filtres { display: flex; gap: 8px; flex-wrap: wrap; }
.filtre {
  height: 40px; padding: 0 18px; border-radius: 999px;
  border: 1.5px solid #d3e0da; background: var(--blanc); color: var(--titre);
  font: 500 13px/1 var(--font); cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.filtre:hover { border-color: var(--foret); }
.filtre.is-active { background: var(--foret); border-color: var(--foret); color: var(--blanc); }
.grille-projets { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 24px; }
.projet-carte.is-hidden { display: none; }
.prestations + .realisations { padding-top: 0; }
.projet-carte img { width: 100%; height: 300px; object-fit: cover; border-radius: var(--r-carte); transition: filter .3s; }
.projet-carte:hover img { filter: brightness(1.06) saturate(1.08); }
.projet-carte__meta { margin-top: 16px; display: flex; justify-content: space-between; gap: 16px; }
.projet-carte h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.03em; color: var(--titre); }
.projet-carte__meta p { margin-top: 4px; font-size: 12.5px; }
.projet-carte__meta strong { font-size: 20px; font-weight: 600; letter-spacing: -0.03em; color: #2d3331; white-space: nowrap; line-height: 1.12; }
.etiquette { display: inline-block; margin-top: 10px; padding: 4px 10px; border-radius: 999px; background: var(--menthe); color: var(--foret); font-size: 11.5px; font-weight: 600; }

/* ---------- Contact ---------- */
.contact { padding: 104px var(--interieur) 96px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: stretch; }
.coord { background: var(--menthe); border-radius: var(--r-carte); padding: 40px 40px 0; display: flex; flex-direction: column; overflow: hidden; }
.coord .titre { font-size: 36px; }
.coord > p { margin-top: 16px; font-size: 14px; line-height: 1.7; max-width: 420px; }
.coord__liste { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.coord__liste li { display: flex; gap: 14px; align-items: flex-start; }
.coord__icone { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--foret); color: var(--blanc); display: grid; place-items: center; }
.coord__icone svg { width: 18px; height: 18px; }
.coord__liste strong { display: block; font-size: 12px; font-weight: 600; color: var(--texte-doux); text-transform: none; }
.coord__liste div > a, .coord__liste div > span { display: block; font-size: 15px; font-weight: 500; color: var(--titre); }
.coord__img { flex: 1 1 240px; margin: 36px -40px 0; width: calc(100% + 80px); max-width: none; min-height: 240px; object-fit: cover; }

.formulaire { background: var(--blanc); border: 1px solid #e3ebe7; border-radius: var(--r-carte); padding: 40px; }
.formulaire h2 { font-size: 26px; color: var(--titre); }
.formulaire > p { margin-top: 8px; font-size: 13.5px; }
.champs { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.champ { display: flex; flex-direction: column; gap: 8px; }
.champ--large { grid-column: 1 / -1; }
.champ label { font-size: 12.5px; font-weight: 600; color: #2d3331; }
.champ input, .champ select, .champ textarea {
  width: 100%; height: 48px; padding: 0 16px;
  border: 1.5px solid #dfe7e3; border-radius: 10px; background: var(--blanc);
  font: 500 14px/1.4 var(--font); color: #2d3331; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.champ select { appearance: none; padding-right: 40px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 10 5 5 5-5' fill='none' stroke='%239aa19e' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") right 14px center / 16px no-repeat; }
.champ textarea { height: 150px; padding: 14px 16px; resize: vertical; }
.champ input::placeholder, .champ textarea::placeholder { color: #a9b0ad; }
.champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--foret); box-shadow: 0 0 0 4px rgba(20,84,69,.1); }
.formulaire__envoi { margin-top: 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.formulaire__envoi small { font-size: 12px; color: var(--texte-doux); max-width: 320px; }

/* ---------- FAQ ---------- */
.faq { padding: 96px max(44px, calc((100% - 1000px) / 2)) 96px; background: var(--menthe); }
.faq__liste { margin-top: 44px; display: flex; flex-direction: column; gap: 10px; }
.question { background: var(--blanc); border-radius: var(--r-carte); }
.question summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 26px; font-size: 16px; font-weight: 600; letter-spacing: -0.02em; color: var(--titre);
}
.question summary::-webkit-details-marker { display: none; }
.question summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--menthe) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' fill='none' stroke='%23145445' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .25s;
}
.question[open] summary::after { transform: rotate(45deg); }
.question p { padding: 0 26px 24px; max-width: 760px; font-size: 14px; line-height: 1.7; }

/* ---------- Responsive pages internes ---------- */
@media (max-width: 1100px) {
  .etapes { padding: 56px 30px; }
  .etapes__grille { grid-template-columns: repeat(2, 1fr); }
  .chiffres { grid-template-columns: repeat(2, 1fr); }
  .chiffre:nth-child(3) { padding-left: 0; border-left: 0; }
  .grille-projets { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hero--page { height: 520px; }
  .hero--page .hero__content { bottom: 28px; width: auto; }
  .hero--page h1 { font-size: 34px; }
  .fil { margin-bottom: 14px; }
  .intro { padding: 70px var(--interieur); grid-template-columns: 1fr; gap: 20px; }
  .intro .titre { font-size: 30px; }
  .chiffres { margin-top: 10px; grid-template-columns: 1fr; }
  .chiffre, .chiffre + .chiffre { padding: 20px 0; border-left: 0; border-bottom: 1px solid #e3ebe7; display: flex; align-items: baseline; gap: 14px; }
  .chiffre strong { font-size: 38px; flex: none; min-width: 120px; }
  .chiffre span { margin-top: 0; }
  .etapes { padding: 44px 16px 16px; }
  .etapes__tete { flex-direction: column; align-items: flex-start; gap: 14px; padding: 0 4px; }
  .etapes__grille { margin-top: 28px; grid-template-columns: 1fr; }
  .etape { min-height: 0; }
  .etape h3 { margin-top: 36px; }
  .etape--photo { height: 220px; }
  .equipe, .prestations, .realisations { padding: 70px var(--interieur); }
  .equipe .titre, .prestations .titre, .realisations .titre { font-size: 30px; }
  .equipe__grille, .engagements__grille { grid-template-columns: 1fr; gap: 28px; }
  .engagements__grille { gap: 16px; }
  .membre img { height: 360px; }
  .vedette--inverse { grid-template-columns: 1fr; }
  .vedette--inverse > img { order: 0; }
  .prestations .vedette { height: auto; }
  .inclus { grid-template-columns: 1fr; }
  .vedette__pied { flex-direction: column; align-items: flex-start; }
  .grille-projets { grid-template-columns: 1fr; gap: 34px; }
  .projet-carte img { height: 240px; }
  .contact { padding: 70px var(--interieur); }
  .coord { padding: 30px 22px 0; }
  .coord__img { flex: none; margin-left: -22px; margin-right: -22px; width: calc(100% + 44px); height: 200px; min-height: 0; }
  .formulaire { padding: 28px 20px; }
  .champs { grid-template-columns: 1fr; }
  .formulaire__envoi { flex-direction: column; align-items: stretch; }
  .formulaire__envoi .btn { justify-content: center; }
  .faq { padding: 70px var(--interieur); }
  .question summary { padding: 18px 18px; font-size: 15px; }
  .question p { padding: 0 18px 20px; }
}

/* =========================================================
   ADAPTATIONS WORDPRESS
   Le CSS ci-dessus est celui de la maquette, inchangé. Ce qui suit
   reproduit le même rendu sur le balisage des blocs natifs :
   - images enveloppées dans figure.wp-block-image (le CSS de bloc
     .wp-block-image img, imprimé APRÈS cette feuille, impose
     height:auto : chaque règle d'image est donc plus spécifique) ;
   - <span>/<strong> de la maquette devenus des paragraphes à classe ;
   - <button> devenus des paragraphes (le script ajoute role="button") ;
   - SVG inline devenus des masques CSS ;
   - calques décoratifs devenus des pseudo-éléments.
   ========================================================= */

/* ---------- Socle ---------- */
.wp-site-blocks { position: relative; background: var(--blanc); padding-top: 20px; overflow-x: clip; }
.wp-site-blocks > * { margin-block: 0; }
.wp-block-post-content, .entry-content { margin: 0; }
a { color: inherit; }
h1 a, h2 a, h3 a { text-decoration: none; }

/* Icônes : masques CSS remplis de la couleur du texte */
.logo::before, .topbar__tel::before, .menu-btn::before, .carousel__arrow::before,
.btn--crayon .wp-block-button__link::before, .engagement::after, .coord__item::after {
  content: ""; display: block; flex: none; background: currentColor;
  -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat;
}

/* Lien autour d'une image : bloc, sinon l'espace de ligne de base ajoute ~7 px */
.wp-block-image > a { display: block; }

/* Images qui remplissent leur boîte */
.wp-block-image.remplit img, .tuile.wp-block-image img {
  width: 100%; height: 100%; object-fit: cover; object-position: inherit;
}

/* ---------- En-tête (partie de gabarit posée au-dessus du bandeau) ---------- */
.wp-site-blocks > header { position: static; }
.topbar { top: 48px; left: calc(var(--encart) + 48px); right: calc(var(--encart) + 40px); z-index: 20; color: var(--blanc); }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo a { display: inline-flex; align-items: center; }
.logo::before {
  width: 30px; height: 25px;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 20'%3E%3Cpath d='M3 9.5 12 2l9 7.5V18H3z' fill='none' stroke='%23000' stroke-width='2.2' stroke-linejoin='round'/%3E%3Cpath d='M9.5 18v-6h5v6' fill='none' stroke='%23000' stroke-width='2.2' stroke-linejoin='round'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 20'%3E%3Cpath d='M3 9.5 12 2l9 7.5V18H3z' fill='none' stroke='%23000' stroke-width='2.2' stroke-linejoin='round'/%3E%3Cpath d='M9.5 18v-6h5v6' fill='none' stroke='%23000' stroke-width='2.2' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.topbar__tel { position: relative; margin-right: 21px; }
.topbar__tel::before {
  width: 18px; height: 18px;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3h3.5l1.8 4.6-2.3 1.5a11 11 0 0 0 6 6l1.5-2.3L20 14.5V18a2 2 0 0 1-2 2A16 16 0 0 1 3 5a2 2 0 0 1 2-2z' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3h3.5l1.8 4.6-2.3 1.5a11 11 0 0 0 6 6l1.5-2.3L20 14.5V18a2 2 0 0 1-2 2A16 16 0 0 1 3 5a2 2 0 0 1 2-2z' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.topbar__tel::after { content: ""; position: absolute; right: -21px; top: 50%; width: 1px; height: 26px; margin-top: -13px; background: rgba(255,255,255,.35); }
.menu-btn { user-select: none; }
.menu-btn::before {
  width: 18px; height: 18px;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}
.menu-panel .wp-block-navigation { display: block; color: var(--titre); font-size: 15px; }
.menu-panel .wp-block-navigation .wp-block-navigation__container { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
.menu-panel .wp-block-navigation .wp-block-navigation-item { display: block; width: 100%; }
.menu-panel .wp-block-navigation .wp-block-navigation-item__content { display: block; padding: 11px 14px; border-radius: 10px; color: var(--titre); font-weight: 500; font-size: 15px; line-height: 1.6; }
.menu-panel .wp-block-navigation .wp-block-navigation-item__content:hover,
.menu-panel .wp-block-navigation .wp-block-navigation-item__content.is-current { background: var(--menthe); }

/* ---------- Bandeau ---------- */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10,30,24,.72) 0%, rgba(10,30,24,.45) 38%, rgba(10,30,24,0) 62%),
    linear-gradient(180deg, rgba(10,30,24,.4) 0%, rgba(10,30,24,0) 22%, rgba(10,30,24,0) 70%, rgba(10,30,24,.35) 100%);
}
.hero__img { z-index: 0; margin: 0; }
.hero__content { z-index: 2; }
.hero__content > p.fil { margin-top: 0; max-width: none; font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.75); }
.fil { gap: 0; white-space: pre; }
.fil a { margin-right: 8px; }

/* Faux champs du bandeau d'accueil : paragraphes liés au contact */
.finder__field {
  height: 42px; padding: 0 38px 0 16px;
  font: 500 13px/42px var(--font); color: #7b8380; white-space: nowrap;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 10 5 5 5-5' fill='none' stroke='%239aa19e' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") right 12px center / 16px no-repeat;
}
.finder__field a { color: inherit; }
.finder__field--projet { width: 176px; }
.finder__field--budget { width: 140px; }
.finder .wp-block-buttons { display: block; }

/* ---------- Boutons (core/button : la classe est sur le conteneur) ---------- */
.wp-block-button.btn { display: inline-flex; height: auto; padding: 0; border: 0; background: none; border-radius: 0; }
.wp-block-button.btn > .wp-block-button__link {
  display: inline-flex; align-items: center; gap: 8px;
  height: 46px; padding: 0 24px; border-radius: 10px;
  font: 600 14px/1 var(--font); letter-spacing: -0.01em;
  border: 1.5px solid transparent; text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.wp-block-button.btn--green > .wp-block-button__link { background: var(--foret); color: var(--blanc); }
.wp-block-button.btn--green > .wp-block-button__link:hover { background: #0f4034; }
.wp-block-button.btn--ligne > .wp-block-button__link { background: var(--blanc); color: var(--titre); border-color: #b9ccc4; }
.wp-block-button.btn--ligne > .wp-block-button__link:hover { border-color: var(--foret); }
.wp-block-button.btn--sm > .wp-block-button__link { height: 42px; padding: 0 20px; font-size: 13px; }
.btn--crayon .wp-block-button__link::before {
  width: 16px; height: 16px;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 20h4L19 9l-4-4L4 16z M13.5 6.5l4 4' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 20h4L19 9l-4-4L4 16z M13.5 6.5l4 4' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.wp-block-buttons.appel__btns { gap: 14px; }

.wp-block-button.pill-link { display: inline-flex; height: auto; padding: 0; background: none; border-radius: 0; }
.wp-block-button.pill-link > .wp-block-button__link {
  display: inline-flex; align-items: center; gap: 12px;
  height: 40px; padding: 0 4px 0 20px;
  border-radius: 999px; background: var(--foret); color: var(--blanc);
  font: 500 13px/1 var(--font); text-decoration: none;
}
.wp-block-button.pill-link > .wp-block-button__link::after {
  content: ""; width: 32px; height: 32px; border-radius: 50%; transition: transform .25s;
  background: var(--blanc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14m-5-5 5 5-5 5' fill='none' stroke='%23145445' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.wp-block-button.pill-link > .wp-block-button__link:hover::after { transform: translateX(3px); }

/* ---------- Carrousel ---------- */
.slide.is-prev .slide__meta .slide__chiffres p, .slide.is-next .slide__meta .slide__chiffres p { display: block; }
.slide .wp-block-image { margin: 0; }
.slide .wp-block-image img { width: 100%; height: 380px; object-fit: cover; border-radius: var(--r-carte); transition: height .6s; }
.slide.is-prev .wp-block-image img, .slide.is-next .wp-block-image img { height: 240px; }
.slide__chiffres p { margin: 0; max-width: none; }
.slide__chiffres .slide__surface { font-size: 26px; font-weight: 600; color: #2d3331; letter-spacing: -0.03em; line-height: 1.12; }
.slide__chiffres .slide__info { margin-top: 6px; font-size: 12.5px; line-height: 1.6; color: var(--texte); }
.slide.is-prev .slide__surface, .slide.is-next .slide__surface { font-size: 18px; }
.carousel__arrow { font-size: 0; user-select: none; }
.carousel__arrow::before {
  width: 18px; height: 18px; color: var(--blanc);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m14 6-6 6 6 6' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m14 6-6 6 6 6' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.carousel__arrow--next::before { transform: scaleX(-1); }

/* ---------- Mosaïque ---------- */
.tuile.wp-block-image { margin: 0; }
.tuile.wp-block-image img { transition: transform .7s cubic-bezier(.3,.7,.2,1); }
.tuile.wp-block-image:hover img { transform: scale(1.05); }
.tuile figcaption.wp-element-caption { margin: 0; text-align: left; }
.tuile--carte::after {
  content: ""; display: block; margin-top: auto; width: 100%; aspect-ratio: 240 / 150;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 150'%3E%3Cg fill='none' stroke='%23145445' stroke-width='2.4' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M20 140h204'/%3E%3Cpath d='M36 140V78h96v62'/%3E%3Cpath d='M26 80 84 46l58 34'/%3E%3Cpath d='M132 140V62h78v78'/%3E%3Cpath d='M124 64h94'/%3E%3Cpath d='M146 76h50v36h-50zM171 76v36'/%3E%3Cpath d='M52 96h26v44H52zM94 96h26v22H94z'/%3E%3Cpath d='M146 124h50v16'/%3E%3Cpath d='M178 40v22M170 40h16'/%3E%3C/g%3E%3Cpath d='M132 124h78v16h-78z' fill='%23145445'/%3E%3Crect x='6' y='84' width='22' height='22' rx='3' transform='rotate(45 17 95)' fill='%23145445'/%3E%3Cpath d='m12 95 4 4 7-8' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Carte vedette, auteur, trio ---------- */
.vedette > .wp-block-image { margin: 0; min-height: 0; }
.vedette--inverse > .wp-block-image { order: 2; }
.vedette .tag { margin: 0; max-width: none; font-size: 11.5px; line-height: 1.3; }
.auteur .wp-block-image { margin: 0; flex: none; }
.auteur .wp-block-image img, .avis__auteur .wp-block-image img { border-radius: 50%; object-fit: cover; }
.auteur .wp-block-image img { width: 38px; height: 38px; }
.vedette .auteur p { margin: 0; max-width: none; line-height: 1.3; }
.auteur .auteur__nom { font-size: 13px; font-weight: 600; color: #2d3331; line-height: 1.6; }
.auteur .auteur__role { font-size: 11.5px; color: var(--texte-doux); line-height: 1.3; }
.carte .wp-block-image { margin: 0; }
.carte .wp-block-image img { width: 100%; height: 240px; object-fit: cover; border-radius: var(--r-carte); transition: filter .3s; }
.carte:hover .wp-block-image img { filter: brightness(1.06) saturate(1.08); }

/* ---------- Témoignages ---------- */
.avis blockquote.wp-block-quote { border: 0; }
.avis blockquote p { margin: 0; }
.avis blockquote .etoiles { margin-bottom: 22px; }
.avis blockquote strong { font-weight: 700; color: #2d3331; }
.avis__auteur { display: flex; align-items: center; gap: 14px; padding: 16px 10px 14px; }
.avis__auteur .wp-block-image { margin: 0; flex: none; }
.avis__auteur .wp-block-image img { width: 44px; height: 44px; }
.avis__auteur .avis__nom { font-size: 14px; font-weight: 600; color: var(--titre); line-height: 1.3; }
.avis__auteur .avis__role { font-size: 12px; color: var(--texte-doux); }
.point { font-size: 0; line-height: 0; }

/* ---------- Appel & pied ---------- */
.appel__img { margin: 0; }
.appel__carte { z-index: 1; }
/* WordPress annule la marge basse du dernier bloc d'un flux : la rétablir */
.wp-block-post-content > .appel:last-child { margin-bottom: 70px; }
.pied__vignettes .wp-block-image { margin: 0; }
.pied__vignettes .wp-block-image img { width: 84px; height: 84px; border-radius: 12px; object-fit: cover; }
.pied__col a { text-decoration: none; }
.pied__img { margin: 0; }
.pied__bas p:last-child { display: flex; gap: 28px; }
.pied__bas a { text-decoration: none; }

/* ---------- Pages internes ---------- */
.chiffre p { margin: 0; }
.chiffre .chiffre__nombre { font-size: 52px; font-weight: 500; letter-spacing: -0.045em; line-height: 1; color: var(--titre); }
.chiffre .chiffre__legende { margin-top: 10px; font-size: 13.5px; }
.etape .etape__num { margin-top: 0; font-size: 12px; line-height: 1.3; }
.membre .wp-block-image { margin: 0; }
.membre .wp-block-image img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--r-carte); }
.membre__legende { margin-top: 18px; }
.membre .membre__nom { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -0.03em; color: var(--titre); line-height: 1.6; }
.membre .membre__role { margin-top: 2px; font-size: 13px; color: var(--texte-doux); }

.engagement { position: relative; }
/* le titre est le premier bloc du groupe : WordPress lui retire sa marge haute */
.engagement > h3:first-child { margin-top: 22px; }
.engagement::before { content: ""; display: block; width: 46px; height: 46px; border-radius: 12px; background: var(--foret); }
.engagement::after { position: absolute; top: 40px; left: 40px; width: 22px; height: 22px; color: var(--blanc); }
.engagement--personne::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='4' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M4 21c1.5-4 4.5-6 8-6s6.5 2 8 6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='4' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M4 21c1.5-4 4.5-6 8-6s6.5 2 8 6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}
.engagement--budget::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 19h16M6 15l4-5 4 3 4-6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 19h16M6 15l4-5 4 3 4-6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.engagement--lieu::after, .coord__item--lieu::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7-5.5-7-11a7 7 0 0 1 14 0c0 5.5-7 11-7 11z' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='10' r='2.5' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7-5.5-7-11a7 7 0 0 1 14 0c0 5.5-7 11-7 11z' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='10' r='2.5' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E");
}

.vedette .inclus li { margin: 0; }
.vedette__pied p { margin: 0; max-width: none; line-height: 1.6; }
.vedette__pied .vedette__pied-titre { font-size: 13px; font-weight: 600; color: #2d3331; }
.vedette__pied .vedette__pied-texte { font-size: 12px; color: var(--texte-doux); }
.vedette__pied .wp-block-buttons { flex: none; }

.filtre { display: inline-flex; align-items: center; user-select: none; }
.projet-carte .wp-block-image { margin: 0; }
.projet-carte .wp-block-image img { width: 100%; height: 300px; object-fit: cover; border-radius: var(--r-carte); transition: filter .3s; }
.projet-carte:hover .wp-block-image img { filter: brightness(1.06) saturate(1.08); }
.projet-carte__meta .projet-carte__surface { margin-top: 0; font-size: 20px; font-weight: 600; letter-spacing: -0.03em; color: #2d3331; white-space: nowrap; line-height: 1.12; }
.projet-carte .etiquette { width: fit-content; }

.coord__item { position: relative; min-height: 40px; padding-left: 54px; }
.coord__item::before { content: ""; position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 12px; background: var(--foret); }
.coord__item::after { position: absolute; left: 11px; top: 11px; width: 18px; height: 18px; color: var(--blanc); }
.coord__item--tel::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3h3.5l1.8 4.6-2.3 1.5a11 11 0 0 0 6 6l1.5-2.3L20 14.5V18a2 2 0 0 1-2 2A16 16 0 0 1 3 5a2 2 0 0 1 2-2z' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3h3.5l1.8 4.6-2.3 1.5a11 11 0 0 0 6 6l1.5-2.3L20 14.5V18a2 2 0 0 1-2 2A16 16 0 0 1 3 5a2 2 0 0 1 2-2z' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.coord__item--mail::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='14' rx='2' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3Cpath d='m4 7 8 6 8-6' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='14' rx='2' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3Cpath d='m4 7 8 6 8-6' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.coord__item--horaire::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3Cpath d='M12 7v5l3 2' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3Cpath d='M12 7v5l3 2' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}
.coord__item--lieu::after { width: 18px; height: 18px; }
.coord__label { font-size: 12px; font-weight: 600; color: var(--texte-doux); line-height: 1.6; }
.coord__valeur { font-size: 15px; font-weight: 500; color: var(--titre); line-height: 1.6; }
.coord__valeur a { text-decoration: none; }
.coord .coord__liste { flex-direction: column; }
.coord__img.wp-block-image { display: block; }
.coord__img.wp-block-image img { min-height: 240px; }

/* Formulaire Contact Form 7 */
.formulaire .wpcf7 form { margin: 0; }
.formulaire .wpcf7-form-control-wrap { display: block; }
.formulaire .champ input, .formulaire .champ select, .formulaire .champ textarea { display: block; }
.formulaire .champ label { display: block; }
.formulaire .wpcf7-submit {
  display: inline-flex; align-items: center; height: 46px; padding: 0 24px;
  border: 1.5px solid transparent; border-radius: 10px; background: var(--foret); color: var(--blanc);
  font: 600 14px/1 var(--font); letter-spacing: -0.01em; cursor: pointer; transition: background .2s;
}
.formulaire .wpcf7-submit:hover { background: #0f4034; }
.formulaire .wpcf7-spinner { display: none; }
.formulaire .wpcf7-not-valid-tip { margin-top: 6px; font-size: 12px; color: #b3261e; }
.formulaire .wpcf7 form .wpcf7-response-output { margin: 20px 0 0; padding: 12px 16px; border: 1.5px solid #b9ccc4; border-radius: 10px; font-size: 13.5px; color: var(--titre); }
.formulaire .wpcf7 form.sent .wpcf7-response-output { border-color: var(--foret); background: var(--menthe); }
.formulaire .wpcf7 form.invalid .wpcf7-response-output, .formulaire .wpcf7 form.failed .wpcf7-response-output { border-color: #e0b4b0; }
.formulaire .screen-reader-response { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* FAQ : core/details */
.question.wp-block-details { padding: 0; }
.question.wp-block-details > p { margin: 0; }

/* ---------- Responsive des adaptations ---------- */
@media (max-width: 1100px) {
  .topbar { left: calc(var(--encart) + 48px); right: calc(var(--encart) + 40px); }
}
@media (max-width: 760px) {
  .wp-site-blocks { padding-top: 12px; }
  .topbar { top: 28px; left: calc(var(--encart) + 18px); right: calc(var(--encart) + 14px); }
  .topbar__tel { display: none; }
  .hero::before { background: linear-gradient(180deg, rgba(8,26,22,.45) 0%, rgba(8,26,22,.1) 35%, rgba(8,26,22,.75) 100%); }
  .finder__field { flex: 1 1 40%; min-width: 0; padding: 0 30px 0 12px; background-position: right 8px center; }
  .finder .wp-block-buttons { flex: 1 1 100%; }
  .finder .wp-block-button.btn, .finder .wp-block-button.btn > .wp-block-button__link { width: 100%; justify-content: center; }
  .slide .wp-block-image img { height: 250px; }
  .slide__chiffres .slide__info { margin: 0; }
  .tuile--carte::after { aspect-ratio: auto; height: 110px; }
  .finder__field { overflow: hidden; text-overflow: ellipsis; }
  .tuile figcaption.wp-element-caption { font-size: 0; }
  .tuile figcaption.wp-element-caption strong { font-size: 13px; margin: 0; }
  .vedette > .wp-block-image img { height: 240px; }
  .vedette--inverse > .wp-block-image { order: 0; }
  .carte .wp-block-image img { height: 210px; }
  .appel__btns .wp-block-button.btn, .appel__btns .wp-block-button.btn > .wp-block-button__link { width: 100%; justify-content: center; }
  .wp-block-buttons.appel__btns { flex-direction: column; }
  .wp-block-post-content > .appel:last-child { margin-bottom: 50px; }
  .pied__bas p:last-child { gap: 18px; }
  .chiffre .chiffre__nombre { font-size: 38px; flex: none; min-width: 120px; }
  .chiffre .chiffre__legende { margin-top: 0; }
  .membre .wp-block-image img { height: 360px; }
  .projet-carte .wp-block-image img { height: 240px; }
  .coord__img.wp-block-image img { min-height: 0; height: 200px; }
  .formulaire__envoi .wpcf7-submit { width: 100%; justify-content: center; }
}

/* Gabarits sans bandeau (404, liste d'articles) : bloc vert pour garder l'en-tête lisible */
.gabarit-simple {
  margin: 0 var(--encart) 80px; padding: 170px 48px 80px; min-height: 480px;
  background: var(--foret); border-radius: var(--r-bloc); color: rgba(255,255,255,.86);
}
.gabarit-simple h1, .gabarit-simple h2, .gabarit-simple .titre { color: var(--blanc); }
.gabarit-simple h1 { font-size: 46px; }
.gabarit-simple > p { margin-top: 16px; }
.gabarit-simple .appel__btns { margin-top: 30px; }
.gabarit-simple .wp-block-post-title { font-size: 26px; margin-top: 30px; }
@media (max-width: 760px) { .gabarit-simple { padding: 120px 20px 50px; } .gabarit-simple h1 { font-size: 32px; } }
