/*
Theme Name: Batipro Ecobat Group
Theme URI: https://batiproecobatgroup.com/
Author: dakar.dev
Author URI: https://dakar.dev/
Description: Theme de batiproecobatgroup.com, repris de la vitrine statique (hosting/vitrines/batiproecobatgroup.com). En-tete et pied de page en PHP selon la langue Polylang ; le contenu des pages est fait de blocs standard que le client modifie lui-meme.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.1
License: Proprietaire
Text Domain: batipro
*/

/* Les classes posees sur les blocs (champ « Classe(s) CSS additionnelle(s) » de
   l'editeur) portent la mise en page : ne pas les retirer en modifiant une page.
   slide, slide-equipe..., hero-titre, eyebrow, section, wrap, metiers, metier,
   galerie, mosaique, partenaires-liste, contact-carte, zone, coordonnees... */

:root {
  --sable: #F6F1E8;
  --sable-2: #EDE4D4;
  --papier: #FFFDF9;
  --encre: #1D2320;
  --encre-2: #4A524D;
  --ligne: #DCD1BE;
  --laterite: #B4502A;
  --laterite-fonce: #8E3B1C;
  --vert: #2E5A47;
  --wa: #1FA855;
  --rayon: 14px;
  --ombre: 0 18px 40px -22px rgba(29, 35, 32, .45);
  --titre: "Archivo", "Arial Narrow", Arial, sans-serif;
  --texte: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--sable);
  color: var(--encre);
  font: 400 17px/1.65 var(--texte);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--titre); line-height: 1.08; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.wp-block-columns.wrap { margin-block: 0; }
/* Les sections se touchent : pas d'espace de bloc entre elles. */
.wp-block-post-content > * { margin-block: 0; }
figure { margin: 0; }

/* ----------------------------------------------------------------- boutons */
.btn, .wp-block-button__link {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .85em 1.35em; border-radius: 999px; border: 2px solid transparent;
  font: 700 15px/1 var(--texte); text-decoration: none; cursor: pointer;
  background: var(--laterite); color: #fff;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover, .wp-block-button__link:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-wa, .btn-wa > .wp-block-button__link { background: var(--wa); color: #fff; }
.btn-wa:hover, .btn-wa > .wp-block-button__link:hover { background: #178C46; }
.btn-wa > .wp-block-button__link::before {
  content: ""; width: 18px; height: 18px; flex: none; background: currentColor;
  -webkit-mask: url(assets/img/icones/whatsapp.svg) center / contain no-repeat;
  mask: url(assets/img/icones/whatsapp.svg) center / contain no-repeat;
}
.btn-ghost > .wp-block-button__link { background: transparent; border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-ghost > .wp-block-button__link:hover { background: rgba(255, 255, 255, .12); }
.btn-dark > .wp-block-button__link { background: var(--encre); color: var(--sable); }
.btn-dark > .wp-block-button__link:hover { background: #000; }
.btn-primaire > .wp-block-button__link:hover { background: var(--laterite-fonce); }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* ------------------------------------------------------------------ en-tete */
.header {
  position: fixed; inset: 0 0 auto; z-index: 20;
  transition: background-color .2s ease, box-shadow .2s ease;
}
.admin-bar .header { top: 32px; }
@media (max-width: 782px) { .admin-bar .header { top: 46px; } }
.header .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.header.scrolled { background: rgba(246, 241, 232, .96); box-shadow: 0 1px 0 var(--ligne); backdrop-filter: blur(8px); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; line-height: 1; }
.logo img { width: 48px; height: 48px; flex: none; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .3)); }
.logo-texte { display: flex; flex-direction: column; }
.logo b { font: 800 22px/1 var(--titre); letter-spacing: .04em; }
.logo-texte span { font: 600 11px/1.4 var(--texte); letter-spacing: .28em; text-transform: uppercase; opacity: .85; margin-top: 3px; }
.header.scrolled .logo { color: var(--encre); }
.header.scrolled .logo-texte span { color: var(--laterite); opacity: 1; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; opacity: .9; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.header.scrolled .nav a { color: var(--encre); }
.header .btn { padding: .7em 1.1em; font-size: 14px; }
.menu-btn {
  display: none; width: 42px; height: 42px; border-radius: 10px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: #fff;
}
.menu-btn svg { width: 22px; height: 22px; }

/* Choix de la langue : <details> natif, drapeau et code de la langue courante. */
.langues { position: relative; }
.langues summary {
  list-style: none; display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 11px;
  border-radius: 10px; border: 1px solid rgba(255, 255, 255, .35); color: #fff;
  font: 700 14px/1 var(--texte); cursor: pointer;
}
.langues summary::-webkit-details-marker { display: none; }
.langues summary::after {
  content: ""; width: 6px; height: 6px; margin: -3px 0 0 1px;
  border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); opacity: .75;
}
.langues[open] summary::after { margin-top: 3px; transform: rotate(-135deg); }
.langues img { width: 21px; height: 14px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .14); }
.header.scrolled .langues summary, .header.menu-ouvert .langues summary { color: var(--encre); border-color: var(--ligne); }
.langues ul {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 172px; margin: 0; padding: 6px; list-style: none;
  background: var(--papier); border: 1px solid var(--ligne); border-radius: 12px; box-shadow: var(--ombre);
}
.langues li a {
  display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 8px;
  color: var(--encre); text-decoration: none; font-weight: 600; font-size: 15px;
}
.langues li a:hover { background: var(--sable); }
.langues li a[aria-current] { background: var(--sable-2); }
.langues summary:focus-visible, .langues a:focus-visible { outline: 2px solid var(--laterite); outline-offset: 2px; }

@media (max-width: 1100px) {
  .nav { display: none; }
  .langues { margin-left: auto; }
  .menu-btn { display: inline-grid; place-items: center; }
  .header.scrolled .menu-btn, .header.menu-ouvert .menu-btn { color: var(--encre); border-color: var(--ligne); }
  .header.menu-ouvert { background: var(--sable); box-shadow: 0 1px 0 var(--ligne); }
  .header.menu-ouvert .logo { color: var(--encre); }
  .header.menu-ouvert .logo-texte span { color: var(--laterite); opacity: 1; }
  .header.menu-ouvert .nav {
    display: flex; flex-direction: column; gap: 0; margin: 0;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--sable); padding: 4px 16px 16px; box-shadow: 0 18px 30px -20px rgba(29, 35, 32, .5);
  }
  .header.menu-ouvert .nav a { color: var(--encre); padding: 14px 4px; border-bottom: 1px solid var(--ligne); font-size: 16px; }
}
@media (max-width: 600px) { .header .wrap { gap: 10px; } }
@media (max-width: 420px) {
  .header .btn span { display: none; }
  .header .btn { padding: .7em; }
  .langues summary { padding: 0 9px; gap: 6px; }
}
@media (max-width: 400px) { .logo-texte { display: none; } }

/* ----------------------------------------------------------------- surtitre */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; color: var(--laterite);
  font: 700 13px/1 var(--texte); letter-spacing: .2em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; flex: none; background: var(--laterite); }

/* ------------------------------------------------------- hero : carrousel */
/* Les bandeaux (groupes .slide) se superposent seulement quand le script a
   prepare le carrousel (.est-pret) : dans l'editeur, ils restent empiles et
   chacun se modifie normalement. */
.hero { color: #fff; }
.carrousel { position: relative; overflow: hidden; isolation: isolate; background: var(--encre); }
.carrousel.est-pret { display: grid; }
.carrousel .slide { display: grid; align-items: center; padding: 118px 0 104px; margin: 0; }
.carrousel.est-pret .slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s .3s; }
.carrousel.est-pret .slide.est-actif { opacity: 1; visibility: visible; transition: opacity .55s ease .2s, visibility 0s; }
.slide-equipe { background-image: linear-gradient(115deg, #1D2320 0%, #262b27 55%, #4a2c1c 100%); }
.slide-genie-civil { background-image: linear-gradient(115deg, #1D2320 0%, #3a2a20 52%, #8E3B1C 100%); }
.slide-eco { background-image: linear-gradient(115deg, #142a22 0%, #2E5A47 55%, #557a52 100%); }
.slide-infra { background-image: linear-gradient(115deg, #22180f 0%, #5a3a24 55%, #B4502A 100%); }
.slide-zone { background-image: linear-gradient(115deg, #1D2320 0%, #22313a 55%, #2E5A47 100%); }
.hero .wrap {
  width: min(1180px, 100% - 132px);
  display: grid; grid-template-columns: 1fr 1.12fr; gap: clamp(28px, 5vw, 64px); align-items: center;
}
.hero .slide-texte > * { margin: 0; }
.hero .eyebrow { color: #fff; }
.hero .eyebrow::before { background: #F0A47F; }
.hero .hero-titre { font-size: clamp(36px, 5vw, 62px); font-weight: 800; margin: 18px 0 20px; }
.hero .slide-texte > p:not(.eyebrow) { font-size: clamp(17px, 1.6vw, 19px); max-width: 50ch; color: rgba(246, 241, 232, .85); }
.hero .hero-cta { margin-top: 30px; }
.hero-img { margin: 0; }
.hero-img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.hero-img-bas img { object-position: center 70%; }

.carrousel.est-pret .slide.est-actif .slide-texte > *, .carrousel.est-pret .slide.est-actif .hero-img { animation: monte .55s cubic-bezier(.22, .8, .3, 1) backwards; }
.carrousel.est-pret .slide.est-actif .slide-texte > :nth-child(2) { animation-delay: .06s; }
.carrousel.est-pret .slide.est-actif .slide-texte > :nth-child(3) { animation-delay: .12s; }
.carrousel.est-pret .slide.est-actif .slide-texte > :nth-child(4) { animation-delay: .18s; }
.carrousel.est-pret .slide.est-actif .hero-img { animation-delay: .08s; }
@keyframes monte { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Controles crees par assets/site.js. */
.carrousel-fleches {
  grid-area: 1 / 1; z-index: 2; align-self: center;
  display: flex; justify-content: space-between; padding: 64px 12px 0; pointer-events: none;
}
.carrousel-fleche {
  pointer-events: auto; width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; color: #fff;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3);
  transition: background-color .18s, transform .18s;
}
.carrousel-fleche svg { width: 18px; height: 18px; }
.carrousel-fleche:hover { background: rgba(255, 255, 255, .26); transform: scale(1.06); }
.carrousel-points {
  grid-area: 1 / 1; z-index: 2; align-self: end; justify-self: center;
  display: flex; align-items: center; gap: 10px; margin-bottom: 40px;
}
.carrousel-point {
  width: 11px; height: 11px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, .42); transition: width .25s, background-color .25s;
}
.carrousel-point.est-actif { width: 28px; background: #fff; }
.carrousel-pause {
  margin-left: 6px; width: 28px; height: 28px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: transparent; color: rgba(255, 255, 255, .85); cursor: pointer;
}
.carrousel-pause svg { width: 14px; height: 14px; }
.carrousel-pause .icone-lecture, .carrousel-pause.en-pause .icone-pause { display: none; }
.carrousel-pause.en-pause .icone-lecture { display: block; }
.carrousel button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

@media (max-width: 900px) {
  .carrousel .slide { padding: 100px 0 88px; align-items: start; }
  .hero .wrap { grid-template-columns: 1fr; gap: 26px; }
  .hero-img img { aspect-ratio: 16 / 10; }
  .carrousel-points { margin-bottom: 32px; }
}
@media (max-width: 600px) {
  .carrousel-fleches { display: none; }
  .hero .wrap { width: min(1180px, 100% - 32px); }
}
@media (prefers-reduced-motion: reduce) {
  .carrousel *, .carrousel .slide { animation: none !important; transition: none !important; }
}

/* --------------------------------------------------------------- sections */
.section { padding: clamp(64px, 9vw, 110px) 0; margin: 0; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head > * { margin: 0; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 50px); font-weight: 800; margin: 14px 0; }
.section-head > p:not(.eyebrow) { color: var(--encre-2); font-size: 18px; }

/* ---------------------------------------------------------------- metiers */
.metiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.metiers > * { margin: 0; }
.metier {
  background: var(--papier); border: 1px solid var(--ligne); border-radius: var(--rayon);
  padding: 30px 28px 32px; display: flex; flex-direction: column; gap: 12px;
}
.metier > * { margin: 0; }
.metier::before {
  content: ""; width: 52px; height: 52px; border-radius: 12px; margin-bottom: 6px;
  background: var(--sable-2) var(--icone) center / 28px no-repeat;
}
.metier-gc { --icone: url(assets/img/icones/metier-gc.svg); }
.metier-eco { --icone: url(assets/img/icones/metier-eco.svg); }
.metier-infra { --icone: url(assets/img/icones/metier-infra.svg); }
.metier h3 { font-size: 23px; font-weight: 700; }
.metier p { color: var(--encre-2); font-size: 16px; }
.metier ul { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.metier li { margin: 0; font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--sable); border: 1px solid var(--ligne); }
.metier.eco { background: var(--vert); border-color: var(--vert); color: #fff; }
.metier.eco p { color: rgba(255, 255, 255, .86); }
.metier.eco::before { background-color: rgba(255, 255, 255, .12); }
.metier.eco li { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); }
@media (max-width: 900px) { .metiers { grid-template-columns: 1fr; } }

/* ------------------------------------------------------- equipes (galerie) */
.equipes { padding-top: 0; }
.wp-block-gallery.has-nested-images.galerie { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 250px; gap: 14px; margin: 0; }
.wp-block-gallery.has-nested-images.galerie figure.wp-block-image:not(#individual-image) { width: auto; margin: 0; border-radius: 12px; overflow: hidden; background: var(--sable-2); }
.wp-block-gallery.has-nested-images.galerie figure.wp-block-image:first-child { grid-column: span 2; grid-row: span 2; }
.wp-block-gallery.has-nested-images.galerie figure.wp-block-image img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .wp-block-gallery.has-nested-images.galerie { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
}
.lien-suite { margin-top: 22px; }
.lien-suite a { color: var(--laterite); font-weight: 700; text-decoration: none; }
.lien-suite a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------------------------------------------------------- eco-construction */
.eco-bloc { background: var(--encre); color: var(--sable); }
.eco-bloc .eyebrow { color: #F0A47F; }
.eco-bloc .eyebrow::before { background: #F0A47F; }
.wp-block-columns.eco-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.eco-photo { position: relative; }
.eco-photo > * { margin: 0; }
.eco-photo img { display: block; width: 100%; border-radius: var(--rayon); aspect-ratio: 4 / 3; object-fit: cover; }
.eco-photo > .wp-block-image + .wp-block-image {
  position: absolute; width: 46%; right: -18px; bottom: -34px;
}
.eco-photo > .wp-block-image + .wp-block-image img { border: 6px solid var(--encre); box-shadow: var(--ombre); }
.eco-texte > * { margin: 0; }
.eco-texte h2 { font-size: clamp(32px, 4.2vw, 48px); font-weight: 800; margin: 14px 0 18px; }
.eco-texte > p:not(.eyebrow) { color: rgba(246, 241, 232, .82); font-size: 18px; }
.atouts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; counter-reset: atout; }
.atouts li { position: relative; margin: 0; padding-left: 48px; min-height: 34px; color: rgba(246, 241, 232, .72); font-size: 15.5px; counter-increment: atout; }
.atouts li::before {
  content: counter(atout); position: absolute; left: 0; top: 0;
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(240, 164, 127, .14); color: #F0A47F; font-weight: 800; font-size: 14px;
}
.atouts strong { display: block; font-size: 17px; color: var(--sable); }
@media (max-width: 900px) {
  .wp-block-columns.eco-grid { grid-template-columns: 1fr; }
  .eco-photo { margin-bottom: 30px; }
  .eco-photo > .wp-block-image + .wp-block-image { right: 10px; bottom: -26px; }
}

/* ------------------------------------------------------------ partenaires */
/* Noms seuls, a la demande du client : une puce de liste = un partenaire. */
.partenaires-liste {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}
.partenaires-liste li {
  --c: var(--laterite);
  display: grid; place-items: center; min-height: 112px; margin: 0; padding: 22px 16px; text-align: center;
  background: var(--papier); border: 1px solid var(--ligne); border-top: 5px solid var(--c);
  border-radius: var(--rayon);
  font: 800 17px/1.2 var(--titre); letter-spacing: .05em; text-transform: uppercase;
}
.partenaires-liste li:nth-child(5n+1) { --c: #0C6A8C; }
.partenaires-liste li:nth-child(5n+3) { --c: var(--vert); }
.partenaires-liste li:nth-child(5n+4) { --c: #A8661C; }
.partenaires-liste li:nth-child(5n+5) { --c: #22313A; }
@media (max-width: 600px) {
  .partenaires-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .partenaires-liste li { min-height: 88px; padding: 16px 8px; font-size: 14.5px; }
  .partenaires-liste li:last-child:nth-child(odd) { grid-column: span 2; }
}

/* ---------------------------------------------------------------- contact */
.contact { background: var(--sable-2); }
.wp-block-columns.contact-carte {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; overflow: hidden;
  background: var(--papier); border-radius: 22px; box-shadow: var(--ombre);
}
.contact-texte { padding: clamp(30px, 5vw, 56px); }
.contact-texte > * { margin: 0; }
.contact-texte h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; margin: 14px 0; }
.contact-texte > p:not(.eyebrow):not(.contact-ou) { color: var(--encre-2); font-size: 17px; max-width: 46ch; }
.contact-actions { margin-top: 12px; }
.contact-ou { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--ligne); font-weight: 700; }

/* Formulaire (bloc HTML personnalise, envoye par l'API dakar.dev, voir assets/site.js) */
.formulaire { display: grid; gap: 14px; margin-top: 24px; }
.champs-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.champ { display: grid; gap: 6px; }
.champ span { font-size: 14px; font-weight: 700; }
.champ em { color: var(--laterite); font-style: normal; }
.champ input, .champ textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--ligne); border-radius: 10px;
  background: #fff; color: var(--encre); font: 400 16px/1.4 var(--texte);
}
.champ textarea { resize: vertical; min-height: 120px; }
.champ input:focus, .champ textarea:focus { outline: 2px solid var(--laterite); outline-offset: 1px; border-color: transparent; }
.piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-aide { font-size: 13.5px; color: var(--encre-2); }
.formulaire .btn { justify-self: start; }
.form-statut { font-weight: 600; font-size: 15px; }
.form-statut:empty { display: none; }
.form-statut.ok { color: var(--vert); }
.form-statut.erreur { color: var(--laterite-fonce); }
@media (max-width: 520px) { .champs-2 { grid-template-columns: 1fr; } }

.coordonnees { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.coordonnees li { display: flex; gap: 12px; align-items: center; margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.coordonnees li::before { content: ""; width: 20px; height: 20px; flex: none; background: url(assets/img/icones/tel.svg) center / contain no-repeat; }
.coordonnees li.mail::before { background-image: url(assets/img/icones/mail.svg); }
.coordonnees li.facebook::before { background-image: url(assets/img/icones/facebook.svg); }
.coordonnees a { text-decoration: none; }
.coordonnees a:hover { text-decoration: underline; }
.coordonnees em { font-style: normal; font-weight: 600; font-size: 13px; color: var(--encre-2); }
.coordonnees a[href^="tel:"] { white-space: nowrap; }
@media (max-width: 520px) {
  .coordonnees li.tel { flex-wrap: wrap; row-gap: 0; }
  .coordonnees em { flex-basis: 100%; padding-left: 32px; }
}
@media (max-width: 420px) { .coordonnees li { font-size: 14.5px; } }
@media (max-width: 400px) {
  .contact-texte { padding: 26px 22px; }
  .coordonnees li { font-size: 14px; }
}

.zone { background: var(--vert); color: #fff; padding: clamp(30px, 5vw, 56px); display: flex; flex-direction: column; gap: 16px; }
.zone > * { margin: 0; }
.zone .eyebrow { color: #CFE3D7; }
.zone .eyebrow::before { background: #CFE3D7; }
/* Paragraphe « <strong>Pays</strong>Adresse » : le pays au-dessus de l'adresse. */
.zone-siege { display: grid; grid-template-columns: 26px 1fr; column-gap: 14px; align-items: center; padding: 16px 18px; border-radius: 12px; background: rgba(255, 255, 255, .1); font-size: 15px; }
.zone-siege::before { content: ""; grid-row: span 2; width: 26px; height: 26px; background: url(assets/img/icones/lieu.svg) center / contain no-repeat; }
.zone-siege strong { display: block; font: 800 22px/1.1 var(--titre); }
.zone p { color: rgba(255, 255, 255, .86); font-size: 16px; }
.pays { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pays li { margin: 0; padding: 7px 13px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28); font-weight: 600; font-size: 14.5px; }
.zone .zone-note { font-size: 14.5px; opacity: .8; }
@media (max-width: 900px) { .wp-block-columns.contact-carte { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------- pied */
.footer { background: var(--encre); color: rgba(246, 241, 232, .7); padding: 34px 0; font-size: 14px; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; }
.footer b { color: var(--sable); font-family: var(--titre); letter-spacing: .04em; }
.footer-facebook { display: inline-flex; align-items: center; gap: 8px; color: var(--sable); font-weight: 600; text-decoration: none; }
.footer-facebook svg { width: 18px; height: 18px; flex: none; }
.footer-facebook:hover { text-decoration: underline; text-underline-offset: 4px; }
.made-by { background: #101412; color: rgba(246, 241, 232, .75); padding: 22px 0; font-size: 14px; border-top: 1px solid rgba(255, 255, 255, .06); }
.made-by .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.made-by strong { color: var(--sable); }
.made-by a { color: #F0A47F; font-weight: 700; text-decoration: none; }
.made-by a:hover { text-decoration: underline; }

/* --------------------------------------------------- page « Nos chantiers » */
.page-titre { background: var(--encre); color: #fff; padding: 132px 0 clamp(48px, 7vw, 76px); }
.page-titre .wrap > * { margin: 0; }
.page-titre .eyebrow { color: #F0A47F; }
.page-titre .eyebrow::before { background: #F0A47F; }
.page-titre h1 { font-size: clamp(38px, 5.6vw, 64px); font-weight: 800; margin: 16px 0 14px; }
.page-titre .wrap > p:not(.eyebrow) { color: rgba(246, 241, 232, .82); font-size: 18px; max-width: 56ch; }
.sommaire { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sommaire li { margin: 0; }
.sommaire a {
  display: inline-block; color: #fff; text-decoration: none; font-size: 14px; font-weight: 600;
  padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3);
}
.sommaire a:hover { background: rgba(255, 255, 255, .12); }
.groupe { scroll-margin-top: 90px; }
.groupe > * { margin: 0; }
.groupe + .groupe { margin-top: clamp(48px, 7vw, 80px); }
.groupe h2 { font-size: clamp(26px, 3.2vw, 34px); font-weight: 800; margin-bottom: 8px; }
.groupe > p { color: var(--encre-2); margin-bottom: 22px; max-width: 75ch; }
.wp-block-gallery.has-nested-images.mosaique { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; margin: 0; }
.wp-block-gallery.has-nested-images.mosaique figure.wp-block-image:not(#individual-image) { width: auto; margin: 0; border-radius: 12px; overflow: hidden; background: var(--sable-2); }
.wp-block-gallery.has-nested-images.mosaique figure.wp-block-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption { font-size: 14px; font-weight: 600; text-align: left; padding: 26px 12px 10px; }
@media (max-width: 600px) {
  .wp-block-gallery.has-nested-images.mosaique { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .wp-block-gallery.has-nested-images figure.wp-block-image figcaption { font-size: 12.5px; padding: 20px 8px 8px; line-height: 1.35; }
}
.appel {
  margin-top: clamp(56px, 8vw, 90px); background: var(--vert); color: #fff; border-radius: 18px;
  padding: clamp(28px, 5vw, 48px); display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between;
}
.appel > * { margin: 0; }
.appel h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
.appel p { color: rgba(255, 255, 255, .85); margin-top: 6px; }

/* ---------------------------------------------------------- pages simples */
.page-simple { padding: 132px 0 80px; }
.page-simple h1 { font-size: clamp(32px, 4.4vw, 50px); font-weight: 800; margin-bottom: 24px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .wp-block-button__link { transition: none; }
}
