/* Cabinet Natur&#39;eau — Philippine de Forville, Poitiers */

:root {
  --bg: #F5F1E6;
  --surface: #FFFFFF;
  --surface-2: #ECE4D2;
  --ink: #262A33;
  --muted: #6D717A;
  --line: #DED2B8;
  --deep: #0D1422;
  --deep-2: #31353D;
  --deep-ink: #F0EDE0;
  --accent: #9D7965;
  --accent-gold: #BE9682;
  --accent-ink: #FFFFFF;
  --eye-blue: #6E8499;
  --ok: #4C7A5A;
  --shadow: 0 24px 60px -30px rgba(12,24,38, 0.4);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Work Sans", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: "Fraunces", serif; font-weight: 700; text-wrap: balance; margin: 0; color: var(--deep-2); }
img { max-width: 100%; }
a { color: var(--deep); }
.wrap { width: min(calc(100% - 40px), 1080px); margin: 0 auto; }

/* Accessibilité (2026-09-20, inspiré des critères Webby Awards "Accessible
   Technology") : lien "Aller au contenu", invisible tant qu'il n'a pas le
   focus clavier — pattern standard, jamais visible autrement. */
.sfts-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  background: var(--deep, #111);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
  font-weight: 600;
  text-decoration: none;
}
.sfts-skip-link:focus {
  left: 0;
}

/* Nav */
header.site-header {
  background: var(--deep);
  color: var(--deep-ink);
  padding: 16px 0;
  /* position+z-index nécessaires pour que le menu déroulant "Nos
     savoir-faire" (position: absolute, voir .nav-dropdown-menu) reste
     au-dessus du hero — trouvé le 2026-09-20 : .hero--photo (position:
     relative) avalait sinon le menu déroulant dans son propre empilement,
     invisible bien que présent dans le DOM avec un texte parfaitement
     lisible (vérifié via document.elementFromPoint, pas juste supposé). */
  position: relative;
  z-index: 50;
}
header.site-header .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: nowrap; }
.brand { font-family: "Fraunces", serif; font-weight: 600; font-size: 1.25rem; color: var(--deep-ink); text-decoration: none; flex-shrink: 0; }
.brand-logo { display: flex; align-items: center; }
/* Bandeau réorganisé le 2026-09-20 (moins pro avec le logo à 96px : un nom de
   praticien un peu long ou une charte au ratio large faisait passer le menu
   sur une seconde ligne, coupant visuellement le bandeau en deux blocs
   empilés). 64px→72px le 2026-09-21 (logo pas assez visible signalé par
   Benoit) : vérifié réellement dans Chrome (nav.main-nav, mesure du "top"
   de chaque lien) que 72px ne fait jamais passer le menu sur 2 lignes
   jusqu'à 820px de large — au-delà, seul un vrai écran mobile change de mise
   en page (voir la media query juste en dessous). Entre 700 et ~820px, le
   menu passait déjà sur 2 lignes AVANT ce changement (bug préexistant, pas
   aggravé ici) — à traiter séparément si besoin. Jamais remonté à 96px : le
   risque de repasser sur 2 lignes à largeur normale reste réel au-delà. */
.brand-logo-img { height: 72px; width: auto; display: block; }
@media (max-width: 700px) { .brand-logo-img { height: 44px; } }
.brand span { color: var(--accent-gold); font-style: italic; }
.brand .brand-first { color: inherit; font-style: normal; }
nav.main-nav { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: flex-end; }
nav.main-nav a { color: rgba(240,237,224,0.82); text-decoration: none; font-size: 0.92rem; font-weight: 500; white-space: nowrap; }
nav.main-nav a:hover { color: var(--accent-gold); }
.nav-cta { background: var(--accent); color: #fff !important; padding: 9px 18px; border-radius: 999px; font-weight: 600; }
/* Regroupement des prestations sous un seul menu déroulant dès qu'il y en a
   plus de 3 — évite un bandeau à rallonge avec chaque nom de prestation en
   entrée de menu séparée (le vrai problème derrière le bandeau "pas pro" du
   2026-09-20 : 4 noms de prestations complets + Galerie + À propos + CTA ne
   tenaient jamais sur une ligne). CSS pur (hover/focus), sans JS, générique
   pour tout futur client à plusieurs prestations. */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { background: none; border: none; font: inherit; color: rgba(240,237,224,0.82); cursor: pointer; padding: 0; display: flex; align-items: center; gap: 5px; font-size: 0.92rem; font-weight: 500; }
.nav-dropdown-toggle::after { content: "▾"; font-size: 0.7em; }
.nav-dropdown:hover .nav-dropdown-toggle, .nav-dropdown:focus-within .nav-dropdown-toggle { color: var(--accent-gold); }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  margin-top: 14px; padding: 10px; background: var(--surface); border-radius: 10px; box-shadow: var(--shadow);
  min-width: 240px; display: flex; flex-direction: column; gap: 2px;
  opacity: 0; pointer-events: none; transition: opacity 0.15s ease;
}
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu { opacity: 1; pointer-events: auto; }
.nav-dropdown-menu a { color: var(--ink) !important; padding: 9px 12px; border-radius: 6px; white-space: normal; }
.nav-dropdown-menu a:hover { background: var(--surface-2); color: var(--ink) !important; }
@media (max-width: 900px) { .nav-dropdown-menu { left: 0; transform: none; } }

/* Menu plein écran — demandé le 2026-09-21 par Vincent Trayer (MT Univers)
   pour se rapprocher visuellement de yana-k-design.fr (icône hamburger +
   panneau plein écran couleur de marque), en gardant les couleurs déjà
   choisies pour ce site (jamais la palette blanc/noir/framboise du site de
   référence — décision explicite de Benoit). Opt-in (field_nav_style_overlay),
   n'affecte aucun autre client. */
.nav-overlay-toggle {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 6px; width: 40px; height: 40px; background: none; border: none; cursor: pointer;
  padding: 0; flex-shrink: 0;
}
.nav-overlay-toggle span {
  display: block; width: 26px; height: 2px; background: var(--deep-ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-overlay-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-overlay-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-overlay-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.site-header--overlay-nav .main-nav--overlay {
  position: fixed; inset: 0; z-index: 200;
  background: linear-gradient(160deg, var(--deep) 0%, var(--deep-2) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 28px;
  opacity: 0; pointer-events: none; transform: translateY(-12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.site-header--overlay-nav .main-nav--overlay.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.site-header--overlay-nav .main-nav--overlay a {
  font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.16em;
  font-weight: 500; color: var(--deep-ink);
}
.site-header--overlay-nav .main-nav--overlay a:hover { color: var(--accent-gold); }
.site-header--overlay-nav .main-nav--overlay .nav-cta { padding: 12px 30px; }
.site-header--overlay-nav .main-nav--overlay .nav-dropdown { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.site-header--overlay-nav .main-nav--overlay .nav-dropdown-toggle { font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.16em; font-weight: 500; }
.site-header--overlay-nav .main-nav--overlay .nav-dropdown-menu {
  position: static; opacity: 1; pointer-events: auto; transform: none; box-shadow: none;
  background: none; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0;
}
.site-header--overlay-nav .main-nav--overlay .nav-dropdown-menu a {
  font-size: 1rem; text-transform: none; letter-spacing: normal; color: rgba(240,237,224,0.75) !important;
}
html.sfts-nav-overlay-active { overflow: hidden; }

/* Hero */
.hero { background: linear-gradient(160deg, var(--deep) 0%, var(--deep-2) 100%); color: var(--deep-ink); padding: 64px 0 72px; }
/* Variante "photo plein cadre" — inspirée d'une revue réelle de 7 sites BTP de
   référence (Legendre, Ciméo, Baldeschi, Suffolk, Turner, Eiffage, Pradeau
   Morin, 2026-09-14) : le pattern n°1 qui revient chez presque tous est une
   vraie photo de chantier/réalisation en plein cadre, jamais un aplat de
   couleur uni, avec un dégradé sombre localisé en bas de l'image (pas toute
   la photo assombrie) pour la lisibilité du texte blanc. Activée seulement
   si une vraie photo est fournie (jamais une photo de banque générique) —
   sinon le hero garde son dégradé de couleur par défaut ci-dessus.
   2026-09-20 : la photo était posée en background-image inline (voir
   index.njk) — remplacée par une vraie balise <img> (voir front-page.php)
   après avoir mesuré au Lighthouse qu'une image de fond CSS reste
   difficile à prioriser pour le LCP même avec un <link rel="preload">
   (Compagnons restait à 4,7s de LCP ; passé sous les 2s avec une vraie
   balise <img fetchpriority="high">). Le rendu visuel reste identique —
   seul le mécanisme change. */
.hero--photo { position: relative; }
.hero--photo-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero--photo::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  /* Renforcé le 2026-09-15 (0.05→0.28 en haut) après avoir vu, sur une vraie
     photo claire (mur enduit), le texte perdre en lisibilité en haut du
     hero — l'ancien dégradé supposait une photo plutôt sombre en haut
     (ciel, toiture). Un minimum d'assombrissement partout, jamais nul,
     reste nécessaire quelle que soit la photo choisie par un futur client. */
  background: linear-gradient(to top, rgba(6,10,16,0.82) 0%, rgba(6,10,16,0.5) 45%, rgba(6,10,16,0.28) 100%);
}
.hero--photo .hero-grid, .hero--photo .wrap { position: relative; z-index: 2; }
/* Pas de portrait en vis-à-vis quand une photo de fond est active (voir
   front-page.php) — la photo plein cadre remplace le portrait, comme chez
   Legendre/Baldeschi/Turner (texte simplement posé sur l'image, jamais une
   grille à deux colonnes qui laisserait un vide). */
.hero--photo .hero-grid { grid-template-columns: 1fr; max-width: 680px; }
.hero .eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.72rem; font-weight: 700; color: var(--accent-gold); margin-bottom: 16px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.08; margin-bottom: 18px; color: var(--deep-ink); }
.hero p.lead { font-size: 1.08rem; color: rgba(240,237,224,0.85); max-width: 640px; margin-bottom: 28px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }
@media (max-width: 800px) { .hero-grid { grid-template-columns: 1fr; } .hero-portrait-wrap, .hero-showcase-wrap { order: -1; display: flex; justify-content: center; } }
.hero-portrait-wrap { display: flex; justify-content: center; }
.hero-portrait { width: 280px; height: 280px; border-radius: 50%; object-fit: cover; border: 4px solid var(--accent-gold); box-shadow: 0 0 0 3px var(--eye-blue), 0 24px 60px -20px rgba(0,0,0,0.45); }

/* Hero "immersif" — demandé le 2026-09-21 par Vincent Trayer (MT Univers),
   qui veut se rapprocher visuellement de yana-k-design.fr (architecture
   d'intérieur) : plein écran, texte centré, très aéré — en gardant les
   couleurs de marque déjà choisies (jamais la palette blanc/noir/framboise
   de ce site de référence, décision explicite de Benoit). Réutilise le
   mécanisme .hero--photo existant (vraie balise <img>, dégradé sombre pour
   la lisibilité) — .hero--immersive ne fait qu'agrandir/recentrer. */
.hero--immersive { min-height: 92vh; display: flex; align-items: center; padding: 120px 0; }
.hero--immersive .hero-grid { max-width: 760px; margin: 0 auto; text-align: center; }
.hero--immersive .eyebrow { letter-spacing: 0.22em; }
.hero--immersive h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.hero--immersive p.lead { margin-left: auto; margin-right: auto; }
.hero--immersive div[style*="display:flex"] { justify-content: center; }
.hero--immersive .trust-row { justify-content: center; display: flex; }
/* Repère de défilement discret, inspiré du même site de référence — CSS pur,
   aucun JS nécessaire, disparaît proprement sur un écran bas (max-height). */
.hero--immersive::after {
  content: ""; position: absolute; left: 50%; bottom: 36px; z-index: 2;
  width: 1px; height: 46px; background: rgba(240,237,224,0.5);
  transform: translateX(-50%);
}
@media (max-height: 700px) { .hero--immersive::after { display: none; } }
@media (max-width: 700px) { .hero--immersive { min-height: 80vh; padding: 80px 0; } }

/* Hero "vitrine" — demandé le 2026-09-20 pour MT Univers : "elle reflète le
   niveau de travail de Vincent, cela doit sauter aux yeux". Le hero
   --photo en plein cadre (dégradé sombre pour la lisibilité du texte,
   pensé pour des photos de chantier BTP atmosphériques) assombrissait
   jusqu'à 82% une pièce colorée dont l'intérêt EST la couleur — le
   contraire de "sauter aux yeux". Variante réservée aux clients dont la
   photo est une pièce/réalisation à admirer pour elle-même (mobilier,
   pièce d'art, produit) plutôt qu'une scène large : texte et photo
   redeviennent deux colonnes séparées (comme le portrait par défaut),
   la photo affichée en pleine clarté, jamais assombrie, dans un cadre net
   avec ombre portée — jamais un remplacement du hero--photo existant
   (toujours le bon choix pour une scène de chantier), une option en plus,
   activée uniquement si demandée explicitement (hero_photo_showcase). */
.hero-showcase-wrap { display: flex; justify-content: center; }
.hero-showcase-img {
  /* height: auto ajouté le 2026-09-21 : bug réel trouvé en creusant le
     signalement de Benoit sur le bandeau "dirigeants" — sans elle, un <img>
     qui porte des attributs HTML width/height (ajoutés cet été pour le CLS,
     voir sfts_img_dims_attr()) garde sa hauteur BRUTE (celle de l'attribut),
     `aspect-ratio` n'ayant alors plus de dimension "auto" à calculer. Ici,
     mesuré en vrai dans Chrome : la photo de hero (mode vitrine) rendait à
     un ratio de 1,04 au lieu du 4/3 voulu — un bug déjà présent avant ce
     signalement, juste moins visible avec cette photo précise. */
  width: 100%; max-width: 620px; aspect-ratio: 4/3; height: auto; object-fit: cover;
  border-radius: 20px; box-shadow: 0 30px 70px -25px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.14);
}

/* Photo principale d'une page prestation (single-service.php). Convertie le
   2026-09-21 d'un style inline `max-height:520px` (qui recadrait un peu
   différemment selon le ratio naturel de la photo, sans jamais garantir un
   rendu prévisible) vers un `aspect-ratio` fixe — même famille de correctif
   que `.hero-showcase-img` juste au-dessus, `height: auto` obligatoire pour
   la même raison. Les 4 photos de prestation réelles aujourd'hui sont toutes
   paysage (ratio 1,3 à 1,55) et le rendu ne change pas visuellement — mais
   sans ce correctif, une future photo de prestation portrait aurait été
   recadrée de façon imprévisible et potentiellement très agressive par
   l'ancien `max-height` fixe. Ratio 2/1 choisi pour rester visuellement
   proche du rendu actuel (1080×520 ≈ 2,08/1). */
.svc-hero-photo { width: 100%; aspect-ratio: 2/1; height: auto; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow); display: block; }

/* La photo doit dominer, pas seulement occuper sa moitié de grille (demande
   du 2026-09-20 : "doit mettre la photo plus en valeur moins de texte").
   Colonne texte réduite à 0.85fr, photo à 1.15fr — inverse du ratio par
   défaut (1.2fr/0.8fr, pensé pour un portrait plus petit). */
.hero--showcase .hero-grid { grid-template-columns: 0.85fr 1.15fr; }
@media (max-width: 800px) { .hero--showcase .hero-grid { grid-template-columns: 1fr; } }
.trust-row { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 30px; }
.trust-chip { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: rgba(240,237,224,0.9); }
.trust-chip b { color: var(--accent-gold); font-family: "Fraunces", serif; font-size: 1.1rem; }

/* Bande chiffres clés — reprend les données déjà réelles (trust_chips + avis),
   présentées en grand format juste sous le hero plutôt qu'en petites puces. */
.stats-band { padding: 44px 0; background: var(--surface); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 28px; text-align: center; }
.stat-item b { display: block; font-family: "Fraunces", serif; font-size: clamp(2rem, 4.4vw, 2.9rem); line-height: 1; color: var(--deep); }
.stat-item span { display: block; margin-top: 8px; font-size: 0.85rem; color: var(--muted); }

/* Vitrine "Nos chantiers" en page d'accueil — mêmes données réelles que la
   page "Nos chantiers" et la galerie, présentées en grand format photo. */
.showcase-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; margin-top: 32px; }
.showcase-card { position: relative; display: block; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/5; color: inherit; text-decoration: none; }
.showcase-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.showcase-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 20px; background: linear-gradient(0deg, rgba(6,10,16,0.86) 0%, rgba(6,10,16,0.35) 65%, transparent 100%); }
.showcase-caption .showcase-city { display: block; font-family: "Fraunces", serif; font-style: italic; color: var(--accent-gold); font-size: 0.82rem; margin-bottom: 4px; }
.showcase-caption h3 { color: #fff; font-size: 1.1rem; margin-bottom: 6px; }
.showcase-caption p { color: rgba(255,255,255,0.85); font-size: 0.84rem; margin: 0; line-height: 1.4; }

/* Portrait + citation dirigeant renforcés (bande "Notre histoire") */
.portrait-row--large .portrait { width: 150px; height: 150px; }
.pull-quote { font-family: "Fraunces", serif; font-style: italic; font-size: clamp(1.2rem, 2.6vw, 1.6rem); line-height: 1.5; margin: 22px 0 10px; }
.pull-quote-author { font-size: 0.85rem; color: var(--accent-gold); font-weight: 600; }

/* Buttons */
/* Transition à easing personnalisé (pas un simple ease-in-out) — trouvé chez
   Eiffage Construction ET Pradeau Morin (cubic-bezier(0.19,1,0.22,1) sur
   tous leurs boutons) : un des rares détails de micro-interaction qui
   revient chez plusieurs sites BTP premium du panel étudié le 2026-09-14.
   Peu coûteux à reproduire, signal de finition perceptible. */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 999px; font-weight: 600; text-decoration: none; font-size: 0.95rem; border: 2px solid transparent; transition: filter 0.35s cubic-bezier(0.19,1,0.22,1), transform 0.35s cubic-bezier(0.19,1,0.22,1), border-color 0.35s cubic-bezier(0.19,1,0.22,1), color 0.35s cubic-bezier(0.19,1,0.22,1); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { filter: brightness(0.9); transform: translateY(-2px); }
.btn-secondary { border-color: rgba(240,237,224,0.4); color: var(--deep-ink); }
.btn-secondary:hover { border-color: var(--accent-gold); color: var(--accent-gold); transform: translateY(-2px); }

/* Sections */
section { padding: 56px 0; }
.section-label { font-family: "Fraunces", serif; font-style: italic; color: var(--accent); font-size: 0.95rem; margin-bottom: 8px; }
.section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin-bottom: 14px; }
.section-head p { color: var(--muted); max-width: 620px; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin-top: 32px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 26px; box-shadow: var(--shadow); }
.card--photo picture, .card--photo > img { display: block; margin: -26px -26px 0; }
.card--photo picture img, .card--photo > img { display: block; width: calc(100% + 52px); height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 16px 16px 0 0; }
.card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.92rem; margin: 0 0 14px; }
.card a.card-link { font-size: 0.88rem; font-weight: 600; color: var(--deep); text-decoration: none; }

.two-col { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }

.portrait { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; border: 3px solid var(--accent); display: block; }
.portrait-row { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.portrait-row .portrait-name { font-family: "Fraunces", serif; font-size: 1.05rem; color: var(--deep-2); }
.portrait-row .portrait-role { font-size: 0.85rem; color: var(--muted); margin-top: 2px; }
.band-dark .portrait { border-color: var(--accent-gold); }
.band-dark .portrait-row .portrait-name { color: var(--deep-ink); }
.band-dark .portrait-row .portrait-role { color: rgba(240,237,224,0.75); }

.info-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.info-list li { display: flex; gap: 14px; align-items: baseline; font-size: 0.95rem; }
.info-list .k { font-family: "Fraunces", serif; font-style: italic; color: var(--muted); min-width: 110px; flex-shrink: 0; }

.band-dark {
  background-color: var(--deep);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Ccircle cx='18' cy='24' r='2.2' fill='%23BE9682' opacity='0.45'/%3E%3Ccircle cx='76' cy='58' r='1.6' fill='%23F0EDE0' opacity='0.3'/%3E%3Ccircle cx='108' cy='18' r='1.8' fill='%236E8499' opacity='0.4'/%3E%3Ccircle cx='42' cy='92' r='1.7' fill='%23BE9682' opacity='0.35'/%3E%3Ccircle cx='112' cy='104' r='1.4' fill='%23F0EDE0' opacity='0.25'/%3E%3Ccircle cx='64' cy='16' r='1.3' fill='%236E8499' opacity='0.3'/%3E%3C/svg%3E");
  color: var(--deep-ink);
}
.band-dark h2 { color: var(--deep-ink); }

/* Process en étapes (optionnel — n'apparaît que si site.processSteps existe) */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; margin-top: 32px; }
.process-number {
  width: 44px; height: 44px; border-radius: 50%; background: var(--accent);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: "Fraunces", serif; font-weight: 700; font-size: 1.1rem; margin-bottom: 16px;
}
.process-step h3 { color: var(--deep-ink); font-size: 1.1rem; margin-bottom: 10px; }
.process-step p { color: rgba(240,237,224,0.8); font-size: 0.92rem; margin: 0; }
body[data-theme="atelier"] .process-number { border-radius: 4px; }
body[data-theme="lumiere"] .process-number { border-radius: 14px; }

/* Nos engagements — inspiré de la structure "engagements" des grands sites
   BTP de référence (Groupe Legendre entre autres), avec le vrai contenu déjà
   écrit pour ce client (bio_sections), jamais un texte composé pour l'occasion. */
.engagements-band { background: var(--surface); }
.engagements-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; margin-top: 36px; }
.engagements-grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 56px; }
.engagement-number { font-family: "Fraunces", serif; font-size: 2.4rem; font-weight: 700; color: var(--line); line-height: 1; margin-bottom: 12px; }
.engagement-item h3 { font-size: 1.15rem; margin-bottom: 12px; }
.engagement-item div:last-child { color: var(--muted); font-size: 0.93rem; line-height: 1.6; }

/* "Notre histoire" éditorial — grande photo + texte, respiration importante,
   pour raconter le "pourquoi" plutôt que l'énumérer dans une bande de chiffres. */
.histoire-editorial { padding: 88px 0; }
.histoire-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
@media (max-width: 800px) { .histoire-grid { grid-template-columns: 1fr; } }
.histoire-photo { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.histoire-photo img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; display: block; }
.histoire-text { margin: 18px 0 20px; color: var(--ink); font-size: 1.02rem; line-height: 1.7; }

/* "Les femmes et les hommes" — portrait éditorial (rectangle, pas la vignette
   ronde du hero) pour distinguer visuellement cette bande, dans le même
   band-dark que le reste des sections à fort contraste.
   2026-09-21 : signalé par Benoit comme "mal organisé, la photo trop
   grande" — la colonne photo partageait le ratio générique de `.two-col`
   (1.1fr/0.9fr, pensé pour du texte face à du texte), donnant à la photo
   presque autant de place qu'au texte alors que ce dernier est court (nom,
   métier, une citation). Ratio resserré ICI SEULEMENT (jamais sur la règle
   partagée `.two-col`, utilisée aussi par À propos/Contact/Communes/
   Prestations) + portrait réduit à 260px pour rendre le texte dominant.
   Erreur faite puis corrigée dans la foulée en vérifiant réellement dans
   Chrome : `.leadership-portrait-col` est le 1er enfant du grid (voir
   front-page.php), donc un 1er `grid-template-columns: 1.5fr 0.5fr` donnait
   la voie LARGE à la photo (pas au texte) — un vide énorme apparaissait
   autour d'une image plafonnée à 260px dans une colonne bien plus large.
   Ordre corrigé : 0.5fr en 1er (colonne photo), 1.5fr en 2nd (texte). */
.leadership-band .two-col { align-items: center; grid-template-columns: 0.5fr 1.5fr; }
.leadership-portrait-col { display: flex; justify-content: center; }
/* height: auto obligatoire ici (bug réel, voir .hero-showcase-img plus haut
   pour l'explication complète) : sans elle, la photo gardait la hauteur
   BRUTE de son attribut HTML height (1020px pour armoire-bois-noyer.webp)
   alors que sa largeur était bien plafonnée à 260px — un rectangle
   258×1020 au lieu de 258×322, la vraie cause du "mal proportionné"
   remonté par Benoit après le 1er correctif (qui n'avait touché que le
   ratio de grille, pas ce bug de fond). */
.leadership-portrait { width: 100%; max-width: 260px; aspect-ratio: 4/5; height: auto; object-fit: cover; border-radius: 20px; border: 3px solid var(--accent-gold); box-shadow: 0 24px 60px -20px rgba(0,0,0,0.5); display: block; }

.faq-item { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq-item h3 { font-size: 1rem; margin-bottom: 8px; }
.faq-item p { color: var(--muted); margin: 0; font-size: 0.92rem; }

.map-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px; box-shadow: var(--shadow); margin-top: 28px; }
#carte-cabinet { height: 420px; width: 100%; border-radius: 14px; font-family: "Work Sans", sans-serif; }
.map-card .leaflet-container img { max-width: none !important; }
.map-card .leaflet-popup-content a { color: var(--deep); font-weight: 600; }
.map-caption { text-align: center; color: var(--muted); font-size: 0.82rem; margin-top: 16px; }

/* Intro "portail coulissant" — voir header.php / base.njk pour le
   marquage/JS. Netteté impitoyable exigée le 2026-09-20 : la version
   précédente affichait le logo à 100vw de large (~2280px de rendu réel sur
   écran retina), très flou depuis un fichier logo natif bien plus petit.
   --sfts-gate-logo-natural-w est injectée depuis la vraie largeur du fichier
   logo ; min() garantit qu'on ne l'agrandit JAMAIS au-delà de sa résolution
   réelle (seulement réduite sur petit écran, ce qui reste toujours net). Les
   deux panneaux affichent la MÊME image à la MÊME position (centrée sur tout
   le viewport, pas seulement sur leur propre moitié) : calc(50vw - moitié)
   pour le panneau gauche, calc(-moitié) pour le droit — ensemble ils
   reconstruisent un seul logo centré et net, jamais une image doublée en
   largeur. */
.sfts-gate-intro {
  position: fixed; inset: 0; z-index: 999;
  --sfts-gate-logo-w: min(var(--sfts-gate-logo-natural-w, 640px), 92vw);
}
.sfts-gate-panel {
  position: fixed; top: 0; bottom: 0; width: 50%;
  background-color: var(--deep);
  background-repeat: no-repeat;
  background-size: var(--sfts-gate-logo-w) auto;
  transition: transform 1.1s cubic-bezier(.76,0,.24,1);
}
.sfts-gate-panel--left { left: 0; background-position: calc(50vw - (var(--sfts-gate-logo-w) / 2)) center; }
.sfts-gate-panel--right { right: 0; background-position: calc(var(--sfts-gate-logo-w) / -2) center; }
.sfts-gate-intro.sfts-gate-open .sfts-gate-panel--left { transform: translateX(-100%); }
.sfts-gate-intro.sfts-gate-open .sfts-gate-panel--right { transform: translateX(100%); }
.sfts-gate-intro.sfts-gate-hidden { display: none; }
html.sfts-gate-active { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .sfts-gate-intro { display: none !important; } }

/* Lightbox galerie — zoom vanille, sans librairie, sur toute grille .photo-grid
   (page Galerie en priorité, mais générique pour tout futur client). */
.photo-grid figure { cursor: zoom-in; }
.sfts-lightbox {
  position: fixed; inset: 0; z-index: 1000; background: rgba(10,14,20,0.92);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}
.sfts-lightbox.is-open { opacity: 1; pointer-events: auto; }
.sfts-lightbox-inner { display: flex; flex-direction: column; align-items: center; max-width: 100%; }
.sfts-lightbox img { max-width: min(92vw, 1100px); max-height: 78vh; object-fit: contain; border-radius: 8px; box-shadow: 0 30px 80px -30px rgba(0,0,0,0.6); display: block; }
.sfts-lightbox figcaption { color: #fff; text-align: center; margin-top: 16px; font-size: 0.92rem; max-width: 700px; opacity: 0.9; }
.sfts-lightbox-close, .sfts-lightbox-prev, .sfts-lightbox-next {
  position: fixed; background: rgba(255,255,255,0.12); border: none; color: #fff; cursor: pointer;
  border-radius: 50%; width: 44px; height: 44px; font-size: 1.3rem; line-height: 1;
  display: flex; align-items: center; justify-content: center; transition: background 0.15s ease;
}
.sfts-lightbox-close:hover, .sfts-lightbox-prev:hover, .sfts-lightbox-next:hover { background: rgba(255,255,255,0.24); }
.sfts-lightbox-close { top: 20px; right: 20px; }
.sfts-lightbox-prev { top: 50%; left: 20px; transform: translateY(-50%); }
.sfts-lightbox-next { top: 50%; right: 20px; transform: translateY(-50%); }
@media (max-width: 700px) { .sfts-lightbox-prev, .sfts-lightbox-next { display: none; } }

/* Motif "fil ondulé" — repris du logo réel du client quand sa charte graphique
   le montre (ex. MT Univers : le fil qui traverse les lettres du logo et la
   silhouette en vague de ses portails bois). Purement décoratif, inactif tant
   qu'aucune page ne pose la classe .wave-divider. */
.wave-divider {
  height: 28px;
  margin: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 28' width='60' height='28'%3E%3Cpath d='M0 14 Q 15 -6 30 14 T 60 14' fill='none' stroke='%23BE9682' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 60px 28px;
  background-position: center;
}

/* Révélation au scroll — vanille (IntersectionObserver, voir base.njk) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Photo gallery — légende incrustée sur la photo (fond dégradé), inspirée des
   grilles de portfolio des agences d'agencement haut de gamme étudiées le
   2026-09-19 (arkal.fr/realisations) plutôt qu'une légende à part sous la photo. */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-top: 28px; }
.photo-grid figure { position: relative; margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--surface); }
.photo-grid img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; transition: transform 0.5s ease; }
.photo-grid figure:hover img { transform: scale(1.045); }
.photo-grid figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 34px 16px 14px; font-size: 0.82rem; line-height: 1.35; color: #fff;
  background: linear-gradient(to top, rgba(10,14,20,0.82) 0%, rgba(10,14,20,0.38) 60%, rgba(10,14,20,0) 100%);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.photo-grid figcaption strong { color: #fff; }

/* Bug réel trouvé le 2026-09-21 (audit visuel demandé par Benoit après le bug
   du bandeau "dirigeants") : le vrai bloc Galerie natif WordPress
   (`.wp-block-gallery`, injecté par sfts_build_gallery_block() dans les
   pages de réalisation) utilise en interne un layout flex dont la hauteur de
   chaque rangée est fixée par sa plus grande image — un mélange de photos
   portrait et paysage (courant : les projets récents mêlent souvent une
   photo d'ensemble large et des détails en hauteur) laisse un vide énorme
   sous chaque photo plus courte que sa rangée.
   1er essai (colonnes CSS `column-count`, sans recadrage) abandonné : en le
   testant dans Chrome, les 6 photos de la galerie semblaient ne jamais se
   charger (outil de suivi réseau à 0 requête, `naturalWidth` à 0) — signal
   assez inquiétant pour changer d'approche par prudence, même si le même
   symptôme s'est ensuite révélé peu fiable comme diagnostic (il réapparaissait
   aussi avec la grille CSS classique ci-dessous, pourtant confirmée
   fonctionner parfaitement par une vraie capture d'écran). Le vrai motif de
   garder la grille plutôt que les colonnes CSS : la grille est le mécanisme
   déjà éprouvé ailleurs sur ce thème (`.photo-grid`), pas une nouveauté à
   surveiller.
   Solution retenue : la même recette déjà éprouvée que `.photo-grid`
   (grille CSS classique + `aspect-ratio` + `object-fit: cover` +
   `height: auto`) — un recadrage uniforme, pas un masonry sans recadrage,
   mais qui ne casse rien et qui est exactement ce que font les vraies
   galeries de portfolio d'agence (voir arkal.fr, déjà la référence de
   `.photo-grid`). Ratio 3/4 (portrait) choisi plutôt que 4/3 : la majorité
   des photos réelles de chantier sont déjà portrait, un ratio paysage les
   aurait bien plus recadrées que l'inverse ne recadre les quelques photos
   larges. Scopé à `.realisation-gallery` uniquement (voir
   single-realisation.php) — jamais à la page Galerie du cabinet, où le
   rendu actuel (rangées à hauteur variable, jamais recadré) a déjà été
   vérifié correct et n'a pas ce problème de chargement paresseux. */
.realisation-gallery .wp-block-gallery {
  display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
@media (max-width: 900px) { .realisation-gallery .wp-block-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .realisation-gallery .wp-block-gallery { grid-template-columns: 1fr; } }
.realisation-gallery .wp-block-gallery .wp-block-image {
  width: 100% !important; margin: 0 !important; flex: none !important;
  border-radius: 10px; overflow: hidden;
}
.realisation-gallery .wp-block-gallery .wp-block-image img {
  /* !important nécessaire : la classe "is-cropped" posée par WordPress core
     sur ce bloc applique elle-même `object-fit: cover; height: 100%` avec
     une spécificité qui gagne sur une règle sans !important, même chargée
     après — vérifié en direct (Chrome computed style). Ici on garde
     volontairement le même object-fit:cover que WordPress, seul le ratio
     change (3/4 au lieu du carré par défaut) et height:auto remplace
     height:100% (bug de fond déjà documenté plus haut, voir
     .leadership-portrait). */
  width: 100% !important; height: auto !important; aspect-ratio: 3/4 !important; object-fit: cover !important; display: block;
}

.figure-inline { float: right; margin: 4px 0 16px 24px; width: 180px; }
.figure-inline img { width: 100%; height: auto; aspect-ratio: 3/4; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); display: block; }
.figure-inline figcaption { font-size: 0.78rem; color: var(--muted); text-align: center; margin-top: 8px; }
@media (max-width: 700px) { .figure-inline { float: none; width: 100%; max-width: 240px; margin: 16px auto; } }

/* "Nos chantiers les plus proches" (page commune) — 2026-09-21 : remplace
   l'ancien figure-inline unique (une seule photo, souvent répétée sur
   plusieurs communes voisines faute de chantier réel plus proche) par une
   petite grille de 3 cartes. aspect-ratio + height: auto explicite car les
   <img> portent des attributs HTML width/height (sfts_img_dims_attr) — voir
   le bug documenté sur .leadership-portrait plus haut dans ce fichier. */
.nearest-realisations-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; clear: both; }
@media (max-width: 700px) { .nearest-realisations-grid { grid-template-columns: 1fr; } }
.nearest-realisation-card { display: block; text-decoration: none; color: inherit; }
.nearest-realisation-card img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); display: block; transition: transform 0.2s ease; }
.nearest-realisation-card:hover img { transform: scale(1.02); }
.nearest-realisation-caption { display: block; font-size: 0.78rem; color: var(--muted); margin-top: 8px; }

/* Reviews marquee */
.reviews-band { background: var(--surface-2); overflow: hidden; padding: 52px 0; }
.reviews-track-wrap {
  overflow: hidden;
  margin-top: 28px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.reviews-track { display: flex; gap: 20px; width: max-content; animation: reviews-scroll 46s linear infinite; }
.reviews-track:hover { animation-play-state: paused; }
.review-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; width: 300px; flex-shrink: 0; box-shadow: var(--shadow); }
.review-card .source { display: block; font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 8px; }
.review-card .stars { color: var(--accent); letter-spacing: 2px; font-size: 0.95rem; margin-bottom: 10px; }
.review-card p { color: var(--ink); font-size: 0.93rem; margin: 0 0 16px; font-style: italic; }
.review-card .who { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.8rem; color: var(--muted); }
.review-card .who b { color: var(--deep-2); font-family: "Fraunces", serif; font-style: normal; }
.reviews-source { margin-top: 24px; font-size: 0.85rem; color: var(--muted); text-align: center; }
.reviews-source a { color: var(--deep); font-weight: 600; text-decoration: none; }
@keyframes reviews-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .reviews-track { animation: none; flex-wrap: wrap; width: auto; }
  .reviews-track-wrap { -webkit-mask-image: none; mask-image: none; }
}
.reviews-band--compact { padding: 40px 0; }
.reviews-band--compact .reviews-track { animation-duration: 30s; }
.reviews-band--compact .review-card { width: 260px; padding: 18px; }

footer.site-footer { background: var(--deep-2); color: rgba(240,237,224,0.7); padding: 40px 0; font-size: 0.86rem; }
footer.site-footer a { color: rgba(240,237,224,0.85); }
footer.site-footer .foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; }
@media (max-width: 700px) { footer.site-footer .foot-grid { grid-template-columns: 1fr; } nav.main-nav { display: none; } }
footer.site-footer h4 { font-family: "Fraunces", serif; color: var(--deep-ink); font-size: 0.95rem; margin-bottom: 12px; }
footer.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.legal-note { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(240,237,224,0.15); font-size: 0.78rem; opacity: 0.7; }

/* Recherche (Pagefind) */
.search-trigger { background: none; border: none; color: var(--deep-ink); font-size: 1.1rem; cursor: pointer; padding: 6px 10px; border-radius: 8px; flex-shrink: 0; }
.search-trigger:hover { background: rgba(240,237,224,0.12); }
.search-modal { position: fixed; inset: 0; background: rgba(12,24,38,0.55); z-index: 200; display: flex; align-items: flex-start; justify-content: center; padding: 8vh 20px; }
.search-modal-inner { background: var(--surface); border-radius: 16px; box-shadow: var(--shadow); width: min(100%, 640px); max-height: 78vh; overflow-y: auto; padding: 24px; position: relative; }
.search-modal-close { position: absolute; top: 14px; right: 14px; background: var(--surface-2); border: none; border-radius: 50%; width: 32px; height: 32px; cursor: pointer; color: var(--ink); font-size: 0.95rem; }
.search-modal-close:hover { background: var(--line); }
#search .pagefind-ui { --pagefind-ui-primary: var(--deep); --pagefind-ui-text: var(--ink); --pagefind-ui-background: var(--surface); --pagefind-ui-border: var(--line); --pagefind-ui-font: "Work Sans", system-ui, sans-serif; }

/* ==========================================================================
   THÈMES — 3 directions de design réutilisables (site.theme), pas de simple
   changement de couleur : typographie, forme, texture des photos et esprit
   des sections diffèrent réellement d'un thème à l'autre. "foyer" (défaut)
   reprend l'habillage d'origine, pensé pour Philippine de Forville — rond,
   doux, portrait circulaire. Les deux autres blocs ci-dessous le réécrivent.
   ========================================================================== */

/* ---- Atelier : artisanal, bâtiment, métiers manuels ---- */
body[data-theme="atelier"] .card,
body[data-theme="atelier"] .btn,
body[data-theme="atelier"] .photo-grid figure,
body[data-theme="atelier"] .hero-portrait,
body[data-theme="atelier"] .portrait,
body[data-theme="atelier"] .figure-inline img,
body[data-theme="atelier"] .review-card,
body[data-theme="atelier"] .map-card { border-radius: 6px; }
body[data-theme="atelier"] .hero-portrait { width: 300px; height: 340px; object-fit: cover; border-width: 6px; }
body[data-theme="atelier"] .portrait { border-radius: 4px; border-width: 4px; }
body[data-theme="atelier"] .card { border-width: 2px; }
body[data-theme="atelier"] .section-label {
  font-style: normal; text-transform: uppercase; letter-spacing: 0.12em;
  font-weight: 700; font-family: "Work Sans", sans-serif; font-size: 0.8rem;
}
body[data-theme="atelier"] .hero h1 { letter-spacing: -0.01em; }
body[data-theme="atelier"] .hero { border-bottom: 6px solid var(--accent); }
body[data-theme="atelier"] .photo-grid img,
body[data-theme="atelier"] .hero-portrait,
body[data-theme="atelier"] .portrait,
body[data-theme="atelier"] .figure-inline img { filter: sepia(0.14) saturate(1.2) contrast(1.05); }
body[data-theme="atelier"] .btn-primary { border-radius: 6px; }
body[data-theme="atelier"] .btn-secondary { border-radius: 6px; border-width: 2px; }
body[data-theme="atelier"] .nav-cta { border-radius: 6px; }
body[data-theme="atelier"] .trust-chip b { font-family: "Fraunces", serif; font-weight: 700; }

/* ---- Lumière : moderne épuré, services, professions libérales ---- */
body[data-theme="lumiere"] .card,
body[data-theme="lumiere"] .review-card,
body[data-theme="lumiere"] .map-card { border: none; box-shadow: 0 24px 60px -32px rgba(20,30,40,0.22); border-radius: 22px; }
body[data-theme="lumiere"] .photo-grid figure { border: none; border-radius: 22px; }
body[data-theme="lumiere"] .hero-portrait { border-radius: 32px; width: 300px; height: 300px; object-fit: cover; border-width: 0; box-shadow: 0 30px 70px -30px rgba(20,30,40,0.35); }
body[data-theme="lumiere"] .portrait { border-radius: 18px; width: 128px; height: 128px; }
body[data-theme="lumiere"] .figure-inline img { border: none; border-radius: 18px; }
body[data-theme="lumiere"] .section-label { font-style: normal; font-weight: 600; letter-spacing: 0.02em; }
body[data-theme="lumiere"] .hero { padding: 84px 0 96px; }
body[data-theme="lumiere"] section { padding: 68px 0; }
body[data-theme="lumiere"] .info-list li { border-bottom: 1px solid var(--line); padding-bottom: 12px; }
body[data-theme="lumiere"] .info-list li:last-child { border-bottom: none; }
body[data-theme="lumiere"] .photo-grid img,
body[data-theme="lumiere"] .hero-portrait,
body[data-theme="lumiere"] .portrait,
body[data-theme="lumiere"] .figure-inline img { filter: saturate(1.04); }
body[data-theme="lumiere"] .band-dark { background-image: none; }

/* Barre de contact flottante mobile (2026-09-20, inspiree d'un laureat Webby
   2026, louispaquet.com) : le devis/telephone reste accessible en 1 geste
   meme apres avoir scrolle passe le hero, sur mobile uniquement. */
.sfts-sticky-cta { display: none; }
@media (max-width: 700px) {
  .sfts-sticky-cta {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 999;
    background: var(--deep);
    box-shadow: 0 -2px 14px rgba(0,0,0,0.18);
  }
  .sfts-sticky-cta a {
    flex: 1;
    text-align: center;
    padding: 14px 8px;
    font-weight: 600;
    font-size: 0.92rem;
    color: #fff !important;
    text-decoration: none;
  }
  .sfts-sticky-cta-call { background: rgba(255,255,255,0.08); }
  .sfts-sticky-cta-devis { background: var(--accent-gold, var(--accent)); color: var(--accent-ink, #fff) !important; }
  body { padding-bottom: 58px; }
}

/* En-tete de section avec lien "Voir tout" a cote du titre, jamais apres
   avoir fait defiler toutes les cartes (2026-09-20, inspire d'un laureat
   Webby 2026, foundationtheatres.com.au). */
.section-head-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.section-head-row h2 { margin: 0; }
.section-head-link { white-space: nowrap; font-size: 0.92rem; }

/* Style optionnel "photos epinglees" (field_gallery_pinned_style, Reglages
   du site -> Cabinet -> Photos), inspire d'un laureat Webby 2026,
   pennrosefarms.com : renforce "vrai travail, pas des photos de banque".
   Jamais actif par defaut -- reglable par client. */
.photo-grid--pinned figure {
  --sfts-pin-rot: -2deg;
  position: relative;
  transform: rotate(var(--sfts-pin-rot));
  box-shadow: 0 10px 22px rgba(0,0,0,0.2);
}
.photo-grid--pinned figure:nth-child(2n) { --sfts-pin-rot: 2deg; }
.photo-grid--pinned figure:nth-child(3n) { --sfts-pin-rot: -3deg; }
.photo-grid--pinned figure:nth-child(5n) { --sfts-pin-rot: 3deg; }
.photo-grid--pinned figure::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  width: 48px;
  height: 20px;
  transform: translateX(-50%) rotate(-4deg);
  background: rgba(255, 241, 179, 0.85);
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
  z-index: 2;
}
