/*
Theme Name: ModulBox
Theme URI: https://example.com/modulbox
Author: Votre agence
Author URI: https://example.com
Description: Thème sur-mesure pour une entreprise de construction modulaire et d'aménagement de containers 20' / 40' (shelters, cliniques, vestiaires, cuisines, bureaux...). Conçu pour mettre en valeur la photographie de chantier et de fabrication.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: modulbox
*/

/* ==========================================================================
   0. RESET
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: calc(var(--topbar-h) + var(--header-h) + var(--sp-3)); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
body { margin: 0; }
img, svg, video { max-width: 100%; display: block; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root {
  /* Couleurs — palette béton / acier / rouge industriel */
  --ink:        #17181B;
  --ink-soft:   #43464C;
  --paper:      #EFEFED;
  --paper-2:    #E4E3DF;
  --panel:      #FFFFFF;
  --line:       #D9D8D3;
  --steel:      #6B6E73;
  --accent:     #D7291A; /* peut être surchargé via le Customizer */
  --accent-deep:#9E1D12;
  --accent-ink: #FFFFFF;

  /* Typographie */
  --font-head: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --font-tag:  "Barlow", monospace;

  /* Échelle typographique */
  --fs-hero: clamp(2.5rem, 4.6vw, 4.25rem);
  --fs-h2:   clamp(1.9rem, 3.2vw, 2.75rem);
  --fs-h3:   1.375rem;
  --fs-lead: clamp(1.05rem, 1.4vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small:0.8125rem;

  /* Espacements */
  --sp-1: 0.5rem;
  --sp-2: 0.75rem;
  --sp-3: 1.25rem;
  --sp-4: 2rem;
  --sp-5: 3rem;
  --sp-6: 4.5rem;
  --sp-7: 7rem;

  --radius: 3px;
  --container: 1240px;
  --header-h: 84px;
  --topbar-h: 38px;
}

@media (max-width: 640px) {
  :root { --topbar-h: 0px; }
}

/* ==========================================================================
   2. BASE
   ========================================================================== */
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; }

p { max-width: 62ch; }
p.no-max { max-width: none; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-4);
}

.section { padding: var(--sp-7) 0; }
.section--tight { padding: var(--sp-6) 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-5);
  border-bottom: 1px solid var(--line);
  padding-bottom: var(--sp-3);
}
.section-head h2 { max-width: 20ch; }
.section-head .section-lead { max-width: 42ch; color: var(--steel); margin-top: var(--sp-1); }
.section-num {
  font-family: var(--font-tag);
  font-size: var(--fs-small);
  color: var(--steel);
  white-space: nowrap;
  padding-bottom: 0.35rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.9rem 1.6rem;
  min-height: 44px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .15s ease, box-shadow .2s ease;
}
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-deep); box-shadow: 0 8px 20px rgba(215,41,26,.28); transform: translateY(-1px); }
.btn--primary:active { transform: translateY(0) scale(.98); box-shadow: none; }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); transform: translateY(-1px); }
.btn--ghost:active { transform: translateY(0) scale(.98); }
.btn--ghost-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); }
.btn--sm { padding: 0.6rem 1.1rem; font-size: 0.875rem; min-height: 38px; }

.tag {
  display: inline-block;
  font-family: var(--font-tag);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: var(--accent-ink);
  background: var(--accent);
  padding: 0.3em 0.6em;
  border-radius: 2px;
}
.tag--outline {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--steel);
}

.chip-list { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip {
  font-size: 0.875rem;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.8rem 1.2rem;
  z-index: 999;
}
.skip-link:focus { left: var(--sp-2); top: var(--sp-2); }

/* ==========================================================================
   2bis. BARRE DE CONTACT (topbar)
   ========================================================================== */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--topbar-h);
  z-index: 501;
  background: var(--accent);
  color: rgba(255,255,255,.9);
  font-size: 0.8125rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.topbar .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); }
.topbar-contact { display: flex; gap: var(--sp-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-contact a:hover { color: #fff; }
.topbar-social { display: flex; gap: 0.6rem; flex-shrink: 0; }
.topbar-social a { color: rgba(255,255,255,.85); display: flex; align-items: center; }
.topbar-social a:hover { color: var(--ink); }
.topbar-social svg { width: 14px; height: 14px; }

@media (max-width: 640px) {
  .topbar { display: none; }
}

/* ==========================================================================
   3. HEADER / NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: var(--topbar-h);
  left: 0; right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  z-index: 500;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(0,0,0,0);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 4px 16px rgba(20,20,20,.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
}

.site-branding { display: flex; align-items: center; gap: 0.7rem; height: 52px; max-width: 60%; overflow: hidden; }
.site-branding img,
.site-branding .custom-logo { max-height: 100%; max-width: 220px; width: auto; height: auto; object-fit: contain; }
.site-branding .custom-logo-link { display: flex; align-items: center; height: 100%; }
.site-branding .site-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  border-left: 3px solid var(--accent);
  padding-left: 0.6rem;
}
.site-branding .site-title span { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.7rem; color: var(--steel); }

.main-nav { display: flex; align-items: center; gap: var(--sp-4); }
.main-nav ul { display: flex; align-items: center; gap: var(--sp-3); }
.main-nav a {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  padding: 0.5rem 0.1rem;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav a.is-active-section,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a { border-bottom-color: var(--accent); color: var(--accent-deep); }
.main-nav .btn--primary { color: #fff; border-bottom: none; }
.main-nav .btn--primary:hover { color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px; height: 44px;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease, top .2s ease;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -9px; }
.nav-toggle span::after { top: 9px; }
.site-header.is-open .nav-toggle span { background: transparent; }
.site-header.is-open .nav-toggle span::before { top: 0; transform: rotate(45deg); background: var(--ink); }
.site-header.is-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); background: var(--ink); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: calc(var(--topbar-h) + var(--header-h)) 0 0 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: var(--sp-5) var(--sp-4);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    overflow-y: auto;
  }
  .site-header.is-open .main-nav { opacity: 1; transform: translateY(0); visibility: visible; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: var(--sp-2); width: 100%; }
  .main-nav a { font-size: 1.4rem; color: var(--ink); }
  .main-nav .btn { margin-top: var(--sp-3); }
}

/* ==========================================================================
   4. HERO
   ========================================================================== */
.hero {
  position: relative;
  padding-top: calc(var(--topbar-h) + var(--header-h) + var(--sp-6));
  padding-bottom: var(--sp-6);
  background: var(--paper-2);
  color: var(--ink);
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--sp-6);
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-eyebrow-line { width: 46px; height: 3px; background: var(--accent); margin-bottom: var(--sp-3); }
.hero h1 { font-size: var(--fs-hero); color: var(--ink); max-width: 14ch; }
.hero .lead { font-size: var(--fs-lead); color: var(--ink-soft); max-width: 46ch; margin-top: var(--sp-3); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-4); }
.hero-stamp {
  margin-top: var(--sp-5);
  display: flex;
  gap: var(--sp-4);
  font-family: var(--font-tag);
  font-size: 0.8125rem;
  color: var(--steel);
  border-top: 1px solid var(--line);
  padding-top: var(--sp-2);
  flex-wrap: wrap;
}
.hero-stamp strong { color: var(--ink); font-weight: 600; }

.hero-mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: var(--sp-2);
  height: clamp(320px, 42vw, 520px);
}
.hero-mosaic a { position: relative; display: block; overflow: hidden; background: var(--paper-2); }
.hero-mosaic a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.55) 100%); }
.hero-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hero-mosaic a:hover img { transform: scale(1.06); }
.hero-mosaic .cell-1 { grid-column: 1; grid-row: 1 / 3; }
.hero-mosaic .cell-2 { grid-column: 2; grid-row: 1; }
.hero-mosaic .cell-3 { grid-column: 2; grid-row: 2; }
.hero-mosaic .cap {
  position: absolute; left: var(--sp-2); bottom: var(--sp-2); right: var(--sp-2);
  z-index: 2; color: #fff; font-size: 0.8125rem; font-family: var(--font-tag);
}

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-mosaic { order: -1; height: 320px; }
}

/* ==========================================================================
   5. À PROPOS / STATS / CAPACITÉS
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--sp-6);
  align-items: start;
}
.about-copy .entry-content > * + * { margin-top: var(--sp-3); }
.about-copy .entry-content p { color: var(--ink-soft); }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); margin-top: var(--sp-5); }
.stat {
  border-top: 3px solid var(--accent);
  padding-top: var(--sp-2);
}
.stat .num { font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; color: var(--ink); display: block; }
.stat .label { color: var(--steel); font-size: 0.875rem; }

.capacities { border: 1px solid var(--line); background: var(--panel); padding: var(--sp-4); }
.capacities h3 { margin-bottom: var(--sp-3); }
.capacities ul { display: flex; flex-direction: column; gap: 0; }
.capacities li {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-2);
  padding: var(--sp-2) 0; border-bottom: 1px solid var(--line);
}
.capacities li:last-child { border-bottom: 0; }
.capacities li .k { font-weight: 600; color: var(--ink); }
.capacities li .v { color: var(--steel); font-size: 0.875rem; text-align: right; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   6. PROCESSUS (étapes)
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}
.process-step { position: relative; padding-top: var(--sp-4); border-top: 1px solid var(--line); }
.process-step .step-no {
  font-family: var(--font-tag);
  font-size: 0.8125rem;
  color: var(--accent);
  display: block;
  margin-bottom: var(--sp-1);
}
.process-step h3 { margin-bottom: 0.4rem; }
.process-step p { color: var(--steel); font-size: 0.9375rem; }

@media (max-width: 900px) {
  .process-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .process-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   6bis. BANDEAU PHOTO (milieu de page, plein écran)
   ========================================================================== */
.photo-band {
  padding: var(--sp-2) 0 var(--sp-2);
  border-top: 3px solid var(--accent);
}
.photo-band-title {
  padding-top: var(--sp-4);
  margin-bottom: var(--sp-3);
}
.photo-band-grid {
  display: grid;
  gap: 2px;
  grid-template-columns: repeat(3, 1fr);
}
.photo-band-grid--1 { grid-template-columns: 1fr; }
.photo-band-grid--2 { grid-template-columns: repeat(2, 1fr); }
.photo-band-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--paper-2);
  aspect-ratio: 4 / 3;
}
.photo-band-grid--1 .photo-band-item { aspect-ratio: 21 / 9; }
.photo-band-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.photo-band-item:hover img { transform: scale(1.05); }
.photo-band-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: var(--sp-2);
  background: linear-gradient(180deg, rgba(23,24,27,0) 0%, rgba(23,24,27,.75) 100%);
  color: #fff;
  font-size: 0.875rem;
  font-family: var(--font-head);
}

@media (max-width: 700px) {
  .photo-band-grid,
  .photo-band-grid--2 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   7. RUBRIQUES (présentation en cascade, petites images)
   ========================================================================== */
.rubriques-cascade {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.rubrique-row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  max-width: 620px;
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: var(--sp-2);
  transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
}
.rubrique-row:hover { box-shadow: 0 10px 26px rgba(20,20,20,.08); transform: translateY(-2px); border-color: var(--line); }
.rubrique-row:nth-child(odd) { margin-right: auto; }
.rubrique-row:nth-child(even) { margin-left: auto; flex-direction: row-reverse; }

.rr-media {
  flex: 0 0 110px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  background: var(--paper-2);
}
.rr-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.rubrique-row:hover .rr-media img { transform: scale(1.08); }

.rr-copy { flex: 1; min-width: 0; }
.rr-count { display: block; font-family: var(--font-tag); font-size: 0.6875rem; color: var(--steel); }
.rr-copy h3 { font-size: 1rem; margin-top: 0.15rem; color: var(--ink); }
.rr-copy p { font-size: 0.8125rem; color: var(--steel); margin-top: 0.25rem; line-height: 1.45; }
.rr-cta { margin-top: var(--sp-2); }
.rubrique-row:nth-child(even) .rr-copy { text-align: right; }

@media (max-width: 640px) {
  .rubrique-row, .rubrique-row:nth-child(even) {
    max-width: 100%;
    margin-left: 0; margin-right: 0;
    flex-direction: row;
  }
  .rubrique-row:nth-child(even) .rr-copy { text-align: left; }
}

/* ==========================================================================
   8. RÉALISATIONS / GALERIE / FILTRES / LIGHTBOX
   ========================================================================== */
.filter-bar { display: flex; flex-wrap: wrap; gap: var(--sp-1) var(--sp-3); margin-bottom: var(--sp-4); border-bottom: 1px solid var(--line); }
.filter-btn {
  background: none; border: 0; padding: var(--sp-2) 0;
  font-family: var(--font-head); font-weight: 600; font-size: 0.9375rem;
  color: var(--steel); border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.filter-btn:hover { color: var(--ink); }
.filter-btn.is-active { color: var(--ink); border-bottom-color: var(--accent); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}
.gallery-item { position: relative; }
.gallery-item.is-hidden { display: none; }
.gallery-card { position: relative; display: block; overflow: hidden; background: var(--paper-2); aspect-ratio: 4 / 3; transition: box-shadow .3s ease, transform .3s ease; }
.gallery-card:hover { box-shadow: 0 14px 32px rgba(20,20,20,.12); transform: translateY(-3px); }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.16,.84,.44,1); }
.gallery-card:hover img { transform: scale(1.08); }
.gallery-card .gc-tag {
  position: absolute; top: var(--sp-1); left: var(--sp-1); z-index: 2;
  font-family: var(--font-tag); font-size: 0.6875rem; letter-spacing: .02em;
  background: var(--accent); color: #fff; padding: 0.25em 0.55em;
}
.gallery-card .gc-zoom {
  position: absolute; top: var(--sp-1); right: var(--sp-1); z-index: 2;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(23,24,27,.55); color: #fff;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(-4px);
  transition: opacity .2s ease, transform .2s ease;
}
.gallery-card:hover .gc-zoom { opacity: 1; transform: translateY(0); }
.gallery-card .gc-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(23,24,27,0) 55%, rgba(23,24,27,.85) 100%);
}
.gallery-card .gc-title {
  position: absolute; left: var(--sp-2); bottom: var(--sp-2); right: var(--sp-2); z-index: 2;
  color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1rem;
}

.gallery-more { text-align: center; margin-top: var(--sp-5); }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* Lightbox */
.mb-lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(17,18,20,.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .2s ease;
  padding: var(--sp-4);
}
.mb-lightbox.is-active { opacity: 1; visibility: visible; }
.mb-lightbox img { max-width: min(90vw, 1200px); max-height: 84vh; width: auto; margin: 0 auto; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.mb-lightbox figcaption { text-align: center; color: rgba(255,255,255,.75); margin-top: var(--sp-2); font-size: 0.875rem; }
.mb-lightbox .mb-close {
  position: absolute; top: var(--sp-3); right: var(--sp-3);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.1); color: #fff; border: 0; font-size: 1.4rem;
}
.mb-lightbox .mb-close:hover { background: rgba(255,255,255,.2); }

/* ==========================================================================
   9. CONTACT
   ========================================================================== */
.contact-section { background: var(--paper-2); color: var(--ink-soft); border-top: 1px solid var(--line); }
.contact-section h2 { color: var(--ink); }
.contact-section .section-head { border-bottom-color: var(--line); }
.contact-section .section-lead { color: var(--steel) !important; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--sp-6);
}
.contact-info dl { border-top: 1px solid var(--line); }
.contact-info dl div { display: flex; justify-content: space-between; gap: var(--sp-3); padding: var(--sp-2) 0; border-bottom: 1px solid var(--line); }
.contact-info dt { color: var(--steel); font-size: 0.8125rem; font-family: var(--font-tag); }
.contact-info dd { margin: 0; text-align: right; color: var(--ink); }
.contact-info dd a:hover { color: var(--accent); }

.social-links { display: flex; gap: var(--sp-2); margin-top: var(--sp-4); }
.social-links a {
  width: 40px; height: 40px; border: 1px solid var(--line); color: var(--ink-soft);
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
}
.social-links a:hover { border-color: var(--accent); background: var(--accent); color: #fff; }

.map-embed { border: 1px solid var(--line); background: var(--panel); min-height: 260px; }
.map-embed iframe { width: 100%; height: 100%; min-height: 260px; border: 0; display: block; }

/* Carte de présence */
.presence-map {
  position: relative;
  margin-top: var(--sp-4);
  min-height: 220px;
  border: 1px solid var(--line);
  background-color: var(--paper-2);
  background-image:
    repeating-linear-gradient(0deg, var(--line) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 32px);
  background-size: cover;
  background-position: center;
}
.map-pin { position: absolute; transform: translate(-50%, -50%); }
.map-pin-dot {
  position: relative;
  display: block;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.25);
}
.map-pin-dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: .55;
  animation: modulbox-pin-pulse 2.2s ease-out infinite;
}
.pin-label {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.6875rem;
  font-family: var(--font-tag);
  color: var(--ink-soft);
  background: rgba(255,255,255,.9);
  padding: 1px 5px;
  border: 1px solid var(--line);
}

@keyframes modulbox-pin-pulse {
  0% { transform: scale(0.6); opacity: .6; }
  100% { transform: scale(1.8); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .map-pin-dot::after { animation: none; display: none; }
}

.contact-form { margin-top: var(--sp-5); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 0.8125rem; color: var(--steel); margin-bottom: 0.35rem; }
.field input, .field select, .field textarea {
  width: 100%; background: #fff; border: 1px solid var(--line);
  color: var(--ink); padding: 0.75rem 0.9rem; border-radius: var(--radius);
}
.field input::placeholder, .field textarea::placeholder { color: #9a9da2; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.form-note { font-size: 0.8125rem; color: var(--steel); margin-top: var(--sp-2); }
.form-actions { margin-top: var(--sp-3); }
.form-alert { padding: var(--sp-2) var(--sp-3); margin-bottom: var(--sp-3); border-left: 3px solid var(--accent); background: #fff; font-size: 0.9375rem; color: var(--ink-soft); }
.form-alert.success { border-left-color: #2E8B47; }
.honeypot-field { position: absolute; left: -9999px; opacity: 0; height: 0; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   9bis. TÉMOIGNAGES
   ========================================================================== */
.testimonials-section { background: var(--panel); border-top: 1px solid var(--line); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}
.testimonial-card {
  position: relative;
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition: box-shadow .3s ease, transform .3s ease;
}
.testimonial-card:hover { box-shadow: 0 14px 32px rgba(20,20,20,.08); transform: translateY(-3px); }
.tc-mark {
  font-family: var(--font-head);
  font-size: 2.75rem;
  line-height: 1;
  color: var(--accent);
  opacity: .55;
}
.testimonial-card blockquote {
  margin: calc(-1 * var(--sp-3)) 0 0;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.65;
}
.testimonial-card blockquote p { margin: 0 0 0.6em; }
.testimonial-card blockquote p:last-child { margin-bottom: 0; }
.tc-author {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: auto;
  padding-top: var(--sp-2);
  border-top: 1px solid var(--line);
}
.tc-avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--paper-2); }
.tc-avatar img { width: 100%; height: 100%; object-fit: cover; }
.tc-id { display: flex; flex-direction: column; }
.tc-name { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 0.9375rem; }
.tc-role { color: var(--steel); font-size: 0.8125rem; }

@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   9ter. FAQ (accordéon natif)
   ========================================================================== */
.faq-list { max-width: 860px; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-3) 0;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
  transition: color .2s ease;
}
.faq-item summary:hover { color: var(--accent-deep); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { flex: 1; }
.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 22px; height: 22px;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--accent);
  transition: transform .2s ease;
}
.faq-icon::before { left: 4px; right: 4px; top: 50%; height: 2px; transform: translateY(-50%); }
.faq-icon::after { top: 4px; bottom: 4px; left: 50%; width: 2px; transform: translateX(-50%); }
.faq-item[open] .faq-icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-a { padding: 0 0 var(--sp-3); color: var(--ink-soft); max-width: 68ch; }
.faq-a > * + * { margin-top: 0.6em; }

/* ==========================================================================
   9quater. BOUTON WHATSAPP FLOTTANT
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  right: var(--sp-3);
  bottom: var(--sp-3);
  z-index: 400;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  transition: transform .15s ease, background-color .15s ease;
}
.whatsapp-float:hover { background: var(--accent-deep); transform: scale(1.06); }
.whatsapp-float svg { width: 24px; height: 24px; }

/* ==========================================================================
   10. PAGE SIMPLE / 404
   ========================================================================== */
.page-hero {
  background: var(--paper-2); color: var(--ink);
  padding-top: calc(var(--topbar-h) + var(--header-h) + var(--sp-5));
  padding-bottom: var(--sp-4);
  border-bottom: 3px solid var(--accent);
}
.page-hero h1 { color: var(--ink); }
.breadcrumb { font-family: var(--font-tag); font-size: 0.8125rem; color: var(--steel); margin-bottom: var(--sp-2); }
.breadcrumb a:hover { color: var(--accent); }
.archive-banner .breadcrumb,
.project-hero .breadcrumb { color: rgba(255,255,255,.6); }
.archive-banner .breadcrumb a:hover,
.project-hero .breadcrumb a:hover { color: #fff; }

.entry-content { max-width: 74ch; }
.entry-content > * + * { margin-top: var(--sp-3); }
.entry-content h2 { margin-top: var(--sp-5); }
.entry-content ul { list-style: disc; padding-left: 1.3em; }
.entry-content ul li { margin-top: 0.4rem; }
.entry-content figure.wp-block-gallery,
.entry-content .wp-block-image { max-width: none; }

.not-found { padding: calc(var(--header-h) + var(--sp-7)) 0 var(--sp-7); text-align: left; }
.not-found .code { font-family: var(--font-tag); color: var(--accent); font-size: 1rem; }

/* ==========================================================================
   11. SINGLE RÉALISATION
   ========================================================================== */
.project-hero {
  position: relative;
  margin-top: calc(var(--topbar-h) + var(--header-h));
  min-height: 380px;
  background-color: var(--ink);
  display: flex; align-items: flex-end;
}
.project-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.project-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,24,27,.1) 30%, rgba(23,24,27,.92) 100%); }
.project-hero .container { position: relative; z-index: 2; padding-bottom: var(--sp-5); color: #fff; }
.project-hero .tag-list { display: flex; gap: 0.5rem; margin-bottom: var(--sp-2); flex-wrap: wrap; }
.project-hero h1 { color: #fff; max-width: 26ch; }

.project-body { padding: var(--sp-6) 0; }
.project-meta {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: var(--sp-3) 0; margin-bottom: var(--sp-5);
}
.project-meta div dt { font-family: var(--font-tag); font-size: 0.75rem; color: var(--steel); }
.project-meta div dd { margin: 0.2rem 0 0; font-weight: 600; color: var(--ink); }

.entry-content .wp-block-gallery { margin-top: var(--sp-4); gap: var(--sp-1) !important; }
.entry-content figure img { width: 100%; }

.related-projects { margin-top: var(--sp-7); border-top: 1px solid var(--line); padding-top: var(--sp-5); }

/* ==========================================================================
   12. ARCHIVE RUBRIQUE
   ========================================================================== */
.archive-banner {
  margin-top: calc(var(--topbar-h) + var(--header-h));
  position: relative;
  padding: var(--sp-6) 0 var(--sp-5);
  background: var(--ink); color: #fff;
  overflow: hidden;
}
.archive-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .25; }
.archive-banner .container { position: relative; z-index: 2; }
.archive-banner h1 { color: #fff; }
.archive-banner .term-desc { color: rgba(255,255,255,.65); margin-top: var(--sp-2); max-width: 60ch; }

.pagination { display: flex; gap: var(--sp-1); justify-content: center; margin-top: var(--sp-6); }
.pagination a, .pagination span {
  min-width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); font-family: var(--font-tag); font-size: 0.875rem;
}
.pagination .current { background: var(--accent); color: #fff; border-color: var(--accent); }
.pagination a:hover { border-color: var(--accent); color: var(--accent-deep); }

.empty-state { text-align: center; padding: var(--sp-6) 0; color: var(--steel); }

/* ==========================================================================
   13. FOOTER
   ========================================================================== */
.site-footer { background: #fff; color: var(--ink-soft); border-top: 3px solid var(--accent); }
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: var(--sp-5);
  padding: var(--sp-6) 0 var(--sp-5);
  border-bottom: 1px solid var(--line);
}
.footer-brand .custom-logo-link { display: inline-flex; align-items: center; }
.footer-brand img,
.footer-brand .custom-logo { max-height: 40px; width: auto; display: block; }
.footer-brand .site-title { color: var(--ink); font-family: var(--font-head); font-size: 1.25rem; border-left: 3px solid var(--accent); padding-left: 0.6rem; }
.footer-brand p { margin-top: var(--sp-2); color: var(--steel); max-width: 34ch; }
.footer-col h4 { color: var(--ink); font-size: 0.9375rem; margin-bottom: var(--sp-2); }
.footer-col ul li { margin-top: 0.5rem; }
.footer-col a { color: var(--ink-soft); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: var(--sp-3) 0; font-size: 0.8125rem; color: var(--steel); flex-wrap: wrap; gap: var(--sp-1); }
.footer-bottom a { color: var(--steel); }
.footer-bottom a:hover { color: var(--accent); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   14. REVEAL ON SCROLL (une seule intention de mouvement)
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.16,.84,.44,1), transform .7s cubic-bezier(.16,.84,.44,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* Entrée de la page : le hero apparaît en douceur au chargement (une seule fois) */
@keyframes modulbox-hero-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-copy, .hero-mosaic {
  animation: modulbox-hero-in .8s cubic-bezier(.16,.84,.44,1) both;
}
.hero-mosaic { animation-delay: .12s; }
@media (prefers-reduced-motion: reduce) {
  .hero-copy, .hero-mosaic { animation: none; }
}

/* ==========================================================================
   15. RESPONSIVE — TITRAGE / GÉNÉRAL
   ========================================================================== */
@media (max-width: 560px) {
  .container { padding: 0 var(--sp-3); }
  .section { padding: var(--sp-6) 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .project-meta { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   16. REFONTE « PUNCH » (maquette Design : typo forte, bande rouge,
       bandeau défilant, mosaïque, ligne de progression, mobile)
   ========================================================================== */

/* Titres plus affirmés */
.hero h1 {
  font-weight: 800;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: -.01em;
  font-size: clamp(2.75rem, 7vw, 6.75rem);
  max-width: none;
}
.hero-accent { color: var(--accent); }
.section-head h2,
.contact-section h2 {
  text-transform: uppercase;
  font-weight: 800;
  line-height: .98;
  font-size: clamp(2.25rem, 4.6vw, 4.25rem);
  max-width: none;
}

/* Hero : visuel + badge */
.hero-visual { position: relative; }
.hero-badge {
  position: absolute; left: -14px; top: -14px; z-index: 3;
  background: var(--accent); color: #fff;
  padding: 12px 16px; display: flex; flex-direction: column; line-height: 1;
}
.hero-badge strong { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; }
.hero-badge span { font-size: .75rem; margin-top: 4px; }

/* Hero : illustration de repli (containers dessinés) */
.hero-art { position: relative; width: 100%; max-width: 600px; aspect-ratio: 600 / 440; margin: 0 auto; }
.ha-ground { position: absolute; left: 0; right: 0; bottom: 4%; height: 3px; background: var(--ink); }
.ha-box { position: absolute; background-image: repeating-linear-gradient(90deg, rgba(0,0,0,0) 0 8px, rgba(0,0,0,.22) 8px 11px); }
.ha-box--40 { left: 0; top: 4%; width: 90%; height: 50%; background-color: var(--accent); }
.ha-box--20 { left: 20%; top: 60%; width: 58%; height: 34%; background-color: #8D9197; }
.ha-rail { position: absolute; left: 0; right: 0; height: 7%; background: #2C2E32; }
.ha-rail--t { top: 0; } .ha-rail--b { bottom: 0; }
.ha-post { position: absolute; top: 0; width: 3.5%; height: 100%; background: #2C2E32; }
.ha-post--l { left: 0; } .ha-post--r { right: 0; }
.ha-window { position: absolute; left: 11%; top: 24%; width: 22%; height: 36%; background: #E7EAEE; border: 5px solid #2C2E32; box-sizing: border-box; }
.ha-window--sm { left: 14%; top: 28%; width: 26%; height: 38%; border-width: 4px; }
.ha-door { position: absolute; left: 40%; top: 22%; width: 12%; height: 68%; background: #F2F2F3; border: 5px solid #2C2E32; box-sizing: border-box; }
.ha-stencil { position: absolute; left: 60%; top: 30%; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: clamp(14px, 2.4vw, 26px); line-height: 1; letter-spacing: .04em; }
.ha-size { position: absolute; left: 60%; bottom: 14%; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: clamp(10px, 1.4vw, 15px); letter-spacing: .08em; }
.ha-size--sm { left: 50%; top: 30%; bottom: auto; font-size: clamp(12px, 1.8vw, 20px); font-weight: 800; }
.ha-tag { position: absolute; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); padding: 6px 12px; font-family: var(--font-head); font-weight: 600; font-size: .875rem; color: var(--ink); }
.ha-tag i { width: 8px; height: 8px; background: var(--accent); display: block; }
.ha-tag--1 { right: 0; top: 10%; } .ha-tag--2 { right: 2%; top: 62%; }
@media (max-width: 900px) { .hero-art { order: -1; } .hero-badge { left: 0; top: -10px; } }

/* Bande de chiffres rouge */
.stats-band { background: var(--accent); color: #fff; }
.stats-band-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.sb-item { padding: var(--sp-5) var(--sp-3); border-left: 1px solid rgba(255,255,255,.3); }
.sb-item:first-child { border-left: 0; padding-left: 0; }
.sb-num { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(2.75rem, 6vw, 5.5rem); line-height: 1; }
.sb-label { display: block; margin-top: .5rem; font-size: 1rem; }
@media (max-width: 700px) {
  .stats-band-inner { grid-template-columns: 1fr; }
  .sb-item { border-left: 0; border-top: 1px solid rgba(255,255,255,.3); padding: var(--sp-3) 0; }
  .sb-item:first-child { border-top: 0; }
}

/* Bandeau défilant des rubriques */
.marquee { background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; padding: var(--sp-3) 0; }
.marquee-track { display: flex; width: max-content; animation: modulbox-marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 1.5rem; padding-right: 1.5rem;
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem); color: var(--ink); white-space: nowrap;
}
.marquee-item i { font-style: normal; color: var(--accent); font-weight: 800; }
@keyframes modulbox-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* Processus : ligne qui se remplit au scroll */
.process-grid { position: relative; }
.process-grid::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--line); }
.process-grid::after { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--accent); transition: width 1.6s cubic-bezier(.16,.84,.44,1) .2s; }
.process-grid.is-visible::after { width: 100%; }
.process-step { border-top: 0; padding-top: var(--sp-4); }
.process-step .step-no { font-size: 2.6rem; font-weight: 800; line-height: 1; }
@media (prefers-reduced-motion: reduce) { .process-grid::after { transition: none; width: 100%; } }

/* Rubriques : escalier relié par un fil et des repères rouges */
.rubriques-cascade { position: relative; }
.rubriques-cascade::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--line); }
.rubrique-row { position: relative; max-width: min(560px, calc(50% - 36px)); }
.rubrique-row::after { content: ""; position: absolute; top: 50%; margin-top: -8px; width: 16px; height: 16px; background: var(--accent); border: 3px solid var(--paper); box-sizing: border-box; }
.rubrique-row:nth-child(odd)::after { right: -44px; }
.rubrique-row:nth-child(even)::after { left: -44px; }
@media (max-width: 900px) {
  .rubriques-cascade::before, .rubrique-row::after { display: none; }
  .rubrique-row, .rubrique-row:nth-child(even) { max-width: 100%; margin-left: 0; margin-right: 0; flex-direction: row; }
  .rubrique-row:nth-child(even) .rr-copy { text-align: left; }
}

/* Réalisations : mosaïque (première carte en grand) */
.gallery-grid--bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 230px; }
.gallery-grid--bento .gallery-item,
.gallery-grid--bento .gallery-card { height: 100%; }
.gallery-grid--bento .gallery-card { aspect-ratio: auto; }
.gallery-grid--bento .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-grid--bento.is-filtered .gallery-item:nth-child(1) { grid-column: auto; grid-row: auto; }
@media (max-width: 900px) {
  .gallery-grid--bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; }
  .gallery-grid--bento .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 560px) {
  .gallery-grid--bento { grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .gallery-grid--bento .gallery-item:nth-child(1) { grid-column: auto; }
}

/* Menu : soulignement qui se dessine */
.main-nav a:not(.btn) {
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat; background-position: 0 100%; background-size: 0 2px;
  transition: background-size .25s ease, color .2s ease;
}
.main-nav a:not(.btn):hover,
.main-nav a:not(.btn).is-active-section,
.main-nav .current-menu-item > a:not(.btn) { background-size: 100% 2px; border-bottom-color: transparent; }

/* Barre de progression de lecture */
.scroll-progress {
  position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none;
}

/* Barre d'actions mobile : Appeler / WhatsApp / Devis */
.mobile-actions { display: none; }
@media (max-width: 900px) {
  .mobile-actions {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 450;
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
    background: #fff; border-top: 1px solid var(--line);
  }
  .mobile-actions a {
    min-height: 48px; display: flex; align-items: center; justify-content: center;
    font-family: var(--font-head); font-weight: 700; font-size: 1rem;
    border: 2px solid var(--ink); color: var(--ink);
  }
  .mobile-actions a.is-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
  body { padding-bottom: 72px; }
  .whatsapp-float { display: none; }
}


/* ==========================================================================
   17. BANDEAU « PRÉVISUALISER MON CONTAINER » (accueil)
   ========================================================================== */
.cfg-cta { padding: var(--sp-6) 0; background: linear-gradient(180deg, #fff 0%, var(--paper) 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cfg-cta__in { display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--sp-5); align-items: center; }
.cfg-cta__tag { display: inline-block; padding: .25rem .7rem; border-radius: 999px; background: #fbe3e0; color: var(--accent-deep); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: var(--sp-2); }
.cfg-cta h2 { font-size: var(--fs-h2); margin-bottom: var(--sp-2); }
.cfg-cta p { color: var(--ink-soft); font-size: var(--fs-lead); max-width: 52ch; margin-bottom: var(--sp-3); }
.cfg-cta__art svg { width: 100%; max-width: 420px; margin-left: auto; filter: drop-shadow(0 24px 30px rgba(23,24,27,.12)); animation: cfg-float 6s ease-in-out infinite; }
@keyframes cfg-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 860px) { .cfg-cta__in { grid-template-columns: 1fr; } .cfg-cta__art { order: -1; } .cfg-cta__art svg { margin: 0 auto; max-width: 280px; } }
@media (prefers-reduced-motion: reduce) { .cfg-cta__art svg { animation: none; } }
