/* ==========================================================================
   Bâti-Façade & Bâti-Rénov — feuille de style
   Couleurs reprises des logos : vert Bâti-Façade, bleu Bâti-Rénov.
   Mise en page : canevas blanc, filets 1px, aucun ombrage, rayon 4px,
   titres en graisse 300.
   ========================================================================== */

:root {
  /* Vert Bâti-Façade (logo) */
  --brand: #077836;
  --brand-dark: #05612b;
  --accent: #077836;
  --accent-hover: #05612b;
  --accent-soft: #6db77b;
  --accent-muted: #4a9a5e;
  --accent-border: #a9d3b6;
  --accent-border-soft: #cfe6d6;
  --accent-wash: #e7f3eb;
  --on-accent-soft: #a8e0b5;

  /* Neutres */
  --ink: #1d1f1e;
  --slate: #5d6963;
  --steel: #4a544e;
  --white: #ffffff;
  --mist: #f6f7f6;
  --frost: #e3e8e4;
  --charcoal: #3a3a3a;
  --error: #b3261e;

  /* Bleu Bâti-Rénov (logo) */
  --renov: #0060af;
  --renov-light: #00a8f5;

  --font: "Inter Tight", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --page: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --gap: 88px;
  --radius: 4px;
}

/* Pages Bâti-Rénov : l'accent passe au bleu du logo */
.theme-renov {
  --brand: #0060af;
  --brand-dark: #004a8a;
  --accent: #0060af;
  --accent-hover: #004a8a;
  --accent-soft: #00a8f5;
  --accent-muted: #2f8fd8;
  --accent-border: #9cc8ec;
  --accent-border-soft: #c5dff4;
  --accent-wash: #e3f1fc;
  --on-accent-soft: #8fd8ff;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink);
  background: var(--surface);
  font-feature-settings: "ss01" on, "tnum" on;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p, figure, ul, ol, blockquote, dl, dd { margin: 0; }
h1, h2, h3, h4 { font-weight: 300; text-wrap: balance; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-text); text-decoration: none; }
p a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
strong { font-weight: 400; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--page); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--surface); padding: 8px 12px; border: 1px solid var(--frost); border-radius: var(--radius); z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Typographie ---------- */
.display { font-size: clamp(38px, 4.6vw, 56px); line-height: 1.03; letter-spacing: -0.025em; }
.h-lg { font-size: clamp(30px, 3.8vw, 48px); line-height: 1.05; letter-spacing: -0.02em; }
.h { font-size: clamp(26px, 2.6vw, 32px); line-height: 1.1; letter-spacing: -0.02em; }
.h-sm { font-size: clamp(22px, 2vw, 26px); line-height: 1.12; }
.sub { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.3; color: var(--slate); }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.4; color: var(--slate); }
.label { font-size: 12px; line-height: 1.45; font-weight: 400; letter-spacing: 0.5px; text-transform: uppercase; color: var(--slate); }
.muted { color: var(--accent-muted); }
.small { font-size: 14px; line-height: 1.4; color: var(--steel); }

/* ---------- Boutons et liens ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 400 14px/1 var(--font); letter-spacing: -0.01em; white-space: nowrap;
  padding: 15.5px 24px; border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--accent-text); border-color: var(--accent-border); }
.btn-ghost:hover { background: var(--accent-wash); }
.btn-sm { padding: 11.5px 16px; }
.cta { display: flex; flex-wrap: wrap; gap: 8px; }
.link { font-weight: 400; color: var(--accent-text); }
.link::after { content: " ›"; }
.link:hover { color: var(--accent-hover); }

.icon { display: inline-flex; width: 24px; height: 24px; color: var(--accent-text); flex: none; }
.icon svg { width: 100%; height: 100%; }

.tag {
  display: inline-flex; align-items: center; gap: 6px; justify-self: start;
  padding: 4px 10px; border-radius: 9999px; background: var(--accent-wash); color: var(--accent-text);
  font-size: 12px; font-weight: 400; letter-spacing: 0;
}
.tag--renov { background: #e3f1fc; color: var(--renov); }

/* Logo déposé dans images/ : remplace l'étiquette texte dès que le fichier existe */
.logo-slot { display: inline-flex; justify-self: start; }
.logo-slot img { display: none; height: 56px; width: auto; border-radius: var(--radius); }
.logo-slot.has-logo img { display: block; }
.logo-slot.has-logo .tag { display: none; }

/* ---------- Bandeau supérieur et en-tête (vert Bâti-Façade) ---------- */
.topbar { background: var(--brand-dark); color: var(--white); font-size: 13px; font-weight: 400; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.topbar a { color: var(--white); }
.topbar a:hover { text-decoration: underline; text-underline-offset: 3px; }
.topbar-links { display: flex; gap: 24px; margin-left: auto; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--brand); color: var(--white); }
.nav { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 60px; width: auto; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { padding: 8px 10px; border-radius: var(--radius); color: var(--white); font-size: 14px; font-weight: 400; white-space: nowrap; transition: background-color .15s; }
.nav-links a:hover { background: rgba(255, 255, 255, .12); }
.nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent-soft); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.nav-links .only-mobile { display: none; }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.site-header .btn-primary { background: var(--surface); color: var(--brand); }
.site-header .btn-primary:hover { background: #e7f3eb; }
.site-header :focus-visible { outline-color: var(--white); }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0; border: 1px solid rgba(255, 255, 255, .45); border-radius: var(--radius); background: transparent; color: var(--white); cursor: pointer; }
.nav-toggle .icon { color: var(--white); width: 20px; height: 20px; }

@media (max-width: 1380px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; padding: 0 var(--gutter) 24px;
    background: var(--brand);
  }
  .site-header.is-open .nav-links { display: flex; }
  .nav-links a { padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .2); border-radius: 0; font-size: 16px; }
  .nav-links a:hover { background: transparent; }
  .nav-links .only-mobile { display: block; }
}
@media (max-width: 860px) { .topbar-note { display: none; } .topbar-links { margin-left: 0; width: 100%; justify-content: space-between; } }
@media (max-width: 480px) {
  .topbar-mail { display: none; }
  .topbar-links { justify-content: center; }
  .nav { gap: 12px; }
  .brand img { height: 46px; }
  .site-header .nav-actions .btn-primary { white-space: nowrap; padding: 11px 10px; font-size: 13px; }
}

/* ---------- Sections ---------- */
.hero { padding-block: 72px var(--gap); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; }
.hero-copy { display: grid; gap: 24px; justify-items: start; }
.hero-copy .sub { max-width: 34em; }
.hero--text .hero-copy { max-width: 920px; }
.hero--compact { padding-bottom: 56px; }
.hero-points { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; font-size: 14px; color: var(--steel); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { width: 16px; height: 16px; }
.rge { height: 30px; width: auto; }

.section { padding-bottom: var(--gap); }
.section > .container > .section-inner { border-top: 1px solid var(--frost); padding-top: var(--gap); }
.section-head { display: grid; gap: 16px; max-width: 860px; margin-bottom: 56px; }
.section-head .lead { margin-top: 8px; max-width: 40em; }
.section-foot { margin-top: 40px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.split .section-head { margin-bottom: 0; }
.split--center { align-items: center; }
.stack { display: grid; gap: 24px; align-content: start; justify-items: start; }
.stack > .photo, .stack > .ba, .stack > .checks, .stack > .link-list, .stack > .mini-steps, .stack > .contact-list { justify-self: stretch; }

/* ---------- Photos ---------- */
.photo {
  position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3;
  border: 1px solid var(--frost); border-radius: var(--radius); background: var(--mist);
}
.photo > img { width: 100%; height: 100%; object-fit: cover; }
.photo--hero { aspect-ratio: 5 / 4; }
.photo--wide { aspect-ratio: 16 / 10; }
.photo--square { aspect-ratio: 1; }
.photo.is-empty {
  display: grid; place-items: center;
  background-color: var(--mist);
  background-image: linear-gradient(var(--frost) 1px, transparent 1px), linear-gradient(90deg, var(--frost) 1px, transparent 1px);
  background-size: 32px 32px; background-position: -1px -1px;
}
.photo-empty { display: grid; gap: 8px; justify-items: center; padding: 16px; text-align: center; font-size: 12px; font-weight: 400; color: var(--slate); }
.photo-empty .icon { width: 28px; height: 28px; }
.photo-empty code { font: 11px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0; color: var(--steel); background: var(--surface); border: 1px solid var(--frost); border-radius: var(--radius); padding: 2px 6px; word-break: break-all; }
/* Emplacements Bâti-Rénov en attente de photo : aplat bleu du logo */
.photo--renov.is-empty { background: var(--renov); border-color: var(--renov); }
.photo--renov .photo-empty { color: var(--white); }
.photo--renov .photo-empty .icon { color: var(--renov-light); }
.photo--renov .photo-empty code { background: rgba(255, 255, 255, .14); border-color: transparent; color: var(--white); }

/* ---------- Chiffres ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--frost); }
.stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat-pre { display: block; min-height: 1.45em; font-size: 12px; font-weight: 400; letter-spacing: .5px; text-transform: uppercase; color: var(--slate); }
.stat-num { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.03; letter-spacing: -0.025em; white-space: nowrap; }
.stat-num small { font-size: .42em; letter-spacing: -0.01em; color: var(--slate); margin-left: 2px; }
.stat-label { margin-top: 8px; max-width: 26ch; color: var(--slate); }

/* ---------- Deux marques ---------- */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 32px; }
.duo-card { display: grid; gap: 24px; align-content: start; }
.duo-card .h { margin-top: -8px; }
.link-list { border-top: 1px solid var(--frost); }
.link-list a { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--frost); color: var(--ink); font-weight: 400; transition: color .15s; }
.link-list a::after { content: "›"; color: var(--accent-text); }
.link-list a:hover { color: var(--accent-text); }

/* ---------- Registre des prestations ---------- */
.ledger { border-top: 1px solid var(--frost); }
.ledger-row {
  display: grid; grid-template-columns: 24px minmax(0, 1fr) minmax(0, 1.5fr) 170px 16px; gap: 24px; align-items: center;
  padding: 24px 0; border-bottom: 1px solid var(--frost); color: var(--ink); transition: background-color .15s;
}
.ledger-row:hover { background: var(--mist); }
.ledger-name { font-size: 22px; line-height: 1.15; }
.ledger-desc { color: var(--steel); }
.ledger-price { text-align: right; font-size: 22px; white-space: nowrap; }
.ledger-price small { display: block; font-size: 12px; font-weight: 400; letter-spacing: .5px; text-transform: uppercase; color: var(--slate); }
.ledger-price.is-quote { font-size: 16px; color: var(--slate); }
.ledger-go { color: var(--accent-text); font-size: 20px; font-weight: 400; }

/* ---------- Grilles ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 24px; }
.feature { display: grid; gap: 12px; align-content: start; padding-top: 24px; border-top: 1px solid var(--frost); }
.feature h3 { font-size: 22px; line-height: 1.15; }
.feature p { color: var(--steel); }
.feature .photo { margin-bottom: 12px; }
.feature--plain { border-top: 0; padding-top: 0; }
.step-num { font-size: 14px; font-weight: 400; color: var(--accent-text); }

.checks { border-top: 1px solid var(--frost); }
.checks li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--frost); }
.checks strong { display: block; font-size: 18px; }
.checks span:not(.icon) { color: var(--steel); }

.mini-steps { border-top: 1px solid var(--frost); counter-reset: mini; }
.mini-steps li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--frost); }
.mini-steps li::before { counter-increment: mini; content: "0" counter(mini); font-size: 14px; font-weight: 400; color: var(--accent-text); padding-top: 2px; }
.mini-steps strong { margin-right: 6px; }

/* ---------- Avant / après ---------- */
.ba { --pos: 50%; position: relative; overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--frost); border-radius: var(--radius); background: var(--mist); }
.ba .photo { position: absolute; inset: 0; aspect-ratio: auto; border: 0; border-radius: 0; }
.ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-after.is-empty { background-color: var(--accent-wash); }
.ba-before .photo-empty { margin-right: 50%; }
.ba-after .photo-empty { margin-left: 50%; }
.ba-label { position: absolute; top: 12px; padding: 4px 10px; border-radius: 9999px; background: var(--surface); border: 1px solid var(--frost); font-size: 12px; font-weight: 400; pointer-events: none; }
.ba-label--before { left: 12px; }
.ba-label--after { right: 12px; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--surface); pointer-events: none; }
.ba-handle::after {
  content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 44px; height: 32px; border-radius: var(--radius);
  background: var(--accent); color: var(--white); font-size: 16px; font-weight: 400; letter-spacing: 2px;
}
.ba input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Témoignages ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.quote { display: grid; gap: 24px; align-content: space-between; padding-top: 24px; border-top: 1px solid var(--frost); }
.quote p { font-size: 22px; line-height: 1.25; }
.quote footer { font-size: 14px; color: var(--slate); }

/* ---------- Étiquettes de villes, produits ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 6px 12px; border: 1px solid var(--frost); border-radius: 9999px; font-size: 14px; }
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.products li { display: grid; gap: 4px; align-content: start; }
.product { display: grid; place-items: center; aspect-ratio: 4 / 3; margin-bottom: 12px; padding: 16px; overflow: hidden; border: 1px solid var(--frost); border-radius: var(--radius); background: var(--surface); }
.product img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.products strong { font-size: 18px; }
.products span { font-size: 14px; color: var(--slate); }

/* ---------- Bandeau devis (gris anthracite du site) ---------- */
.cta-panel { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: end; padding: clamp(32px, 5vw, 64px); border-radius: var(--radius); background: var(--charcoal); color: var(--white); }
.cta-panel .stack { gap: 16px; }
.cta-panel .label { color: rgba(255, 255, 255, .7); }
.cta-panel .lead { color: rgba(255, 255, 255, .82); max-width: 36em; }
.cta-panel .cta { justify-content: flex-end; }
.cta-panel .btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .5); }
.cta-panel .btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.cta-panel :focus-visible { outline-color: var(--white); }

/* ---------- Réalisations ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.chip { font: 400 14px/1 var(--font); letter-spacing: -0.01em; padding: 10px 16px; border: 1px solid var(--frost); border-radius: 9999px; background: var(--surface); color: var(--ink); cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.chip:hover { border-color: var(--accent-border); }
.chip[aria-pressed="true"] { background: var(--accent-wash); border-color: var(--accent-border); color: var(--accent-text); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 24px; }
.gallery-item { display: grid; gap: 4px; align-content: start; }
.gallery-item .photo { margin-bottom: 12px; }
.gallery-item a.photo:not(.is-empty) { cursor: zoom-in; }
.gallery-item h2 { font-size: 18px; font-weight: 400; }
.gallery-item p { font-size: 14px; color: var(--slate); }
.lightbox { max-width: min(94vw, 1280px); padding: 0; border: 0; background: transparent; }
.lightbox::backdrop { background: rgba(29, 31, 30, .88); }
.lightbox img { max-height: 88vh; width: auto; border-radius: var(--radius); }

/* ---------- Groupe ---------- */
.org { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.org-card { display: grid; gap: 16px; align-content: start; padding: 32px; border: 1px solid var(--frost); border-radius: var(--radius); }
.org-card--group { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) auto; align-items: end; background: var(--mist); }
.org-card--renov { border-top: 3px solid var(--renov); }
.org-card--facade { border-top: 3px solid var(--brand); }
.org-card--batisone { border-top: 3px solid #2b3f8f; }
.org-card--renov .link { color: var(--renov); }
.org-figures { display: flex; flex-wrap: wrap; gap: 8px 32px; }
.org-figures div { display: grid; }
.org-figures b { font-weight: 300; font-size: 32px; line-height: 1.1; letter-spacing: -0.02em; }
.org-figures span { font-size: 14px; color: var(--slate); }

/* ---------- Formulaires ---------- */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 400; }
.field label small { font-weight: 300; color: var(--slate); }
.field input, .field select, .field textarea {
  width: 100%; font: 300 16px/1.3 var(--font); letter-spacing: -0.01em; color: var(--ink);
  padding: 12px 14px; border: 1px solid #cfd6d1; border-radius: var(--radius); background: var(--surface);
  transition: border-color .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field .btn { justify-self: start; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--accent-border); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent-wash); outline-offset: 0; border-color: var(--accent); }
.form-note { font-size: 14px; color: var(--steel); }
.form-status { padding: 16px; border-radius: var(--radius); background: var(--accent-wash); font-size: 14px; }
.form-error { font-size: 14px; font-weight: 400; color: var(--error); }
.contact-list { border-top: 1px solid var(--frost); }
.contact-list li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--frost); }
.contact-list a { color: var(--ink); font-size: 20px; }
.contact-list a:hover { color: var(--accent-text); }
.contact-list small { display: block; font-size: 12px; font-weight: 400; letter-spacing: .5px; text-transform: uppercase; color: var(--slate); }
.contact-list address { font-style: normal; font-size: 20px; line-height: 1.3; }

/* ---------- Agenda de prise de rendez-vous ---------- */
.booking { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.booking-main { display: grid; gap: 56px; }
.booking-block { min-width: 0; margin: 0; padding: 32px 0 0; border: 0; border-top: 1px solid var(--frost); }
.booking-block legend { float: left; width: 100%; display: flex; align-items: baseline; gap: 12px; padding: 0; margin-bottom: 24px; font-size: 22px; line-height: 1.15; }
.booking-block legend + * { clear: both; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice-body { display: grid; gap: 4px; height: 100%; padding: 20px; border: 1px solid var(--frost); border-radius: var(--radius); transition: border-color .15s, background-color .15s; }
.choice-body strong { font-size: 18px; }
.choice-body span { font-size: 14px; color: var(--steel); }
.choice:hover .choice-body { border-color: var(--accent-border); }
.choice input:checked + .choice-body { border-color: var(--accent); background: var(--accent-wash); }
.choice input:focus-visible + .choice-body { outline: 2px solid var(--accent); outline-offset: 2px; }

.agenda-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.cal { padding: 20px; border: 1px solid var(--frost); border-radius: var(--radius); }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.cal-title { font-size: 18px; font-weight: 400; }
.cal-title::first-letter { text-transform: uppercase; }
.cal-nav { width: 40px; height: 40px; padding: 0; border: 1px solid var(--frost); border-radius: var(--radius); background: var(--surface); color: var(--ink); font: 400 20px/1 var(--font); cursor: pointer; }
.cal-nav:hover:not(:disabled) { border-color: var(--accent-border); color: var(--accent-text); }
.cal-nav:disabled { opacity: .35; cursor: default; }
.cal-week, .cal-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-week span { padding: 4px 0 8px; text-align: center; font-size: 12px; font-weight: 400; letter-spacing: .5px; text-transform: uppercase; color: var(--slate); }
.cal-day { aspect-ratio: 1; padding: 0; border: 1px solid transparent; border-radius: var(--radius); background: var(--accent-wash); color: var(--accent-text); font: 400 15px/1 var(--font); cursor: pointer; transition: background-color .15s, border-color .15s; }
.cal-day:hover:not(:disabled) { border-color: var(--accent); }
.cal-day:disabled { background: transparent; color: #b4bdb8; cursor: default; }
.cal-day.is-today { border-color: var(--frost); }
.cal-day[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--white); }
.cal-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; font-size: 12px; color: var(--slate); }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal-legend i { width: 12px; height: 12px; border-radius: 2px; background: var(--accent-wash); border: 1px solid var(--accent-border); }
.slots-title { margin-bottom: 16px; font-weight: 400; }
.slots-title::first-letter { text-transform: uppercase; }
.slots-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.slots-group { grid-column: 1 / -1; margin-top: 8px; font-size: 12px; font-weight: 400; letter-spacing: .5px; text-transform: uppercase; color: var(--slate); }
.slots-group:first-child { margin-top: 0; }
.slot { padding: 13px 12px; border: 1px solid var(--accent-border); border-radius: var(--radius); background: var(--surface); color: var(--accent-text); font: 400 15px/1 var(--font); cursor: pointer; transition: background-color .15s, border-color .15s; }
.slot:hover { background: var(--accent-wash); }
.slot[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--white); }

.booking-summary { position: sticky; top: 100px; display: grid; gap: 20px; padding: 32px; border: 1px solid var(--frost); border-radius: var(--radius); background: var(--mist); }
.summary-list div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--frost); }
.summary-list div:first-child { border-top: 1px solid var(--frost); }
.summary-list dt { font-size: 14px; color: var(--slate); }
.summary-list dd { font-weight: 400; }
.summary-list dd.is-missing { font-weight: 300; color: var(--slate); }
.summary-list dd::first-letter { text-transform: uppercase; }
.booking-embed { width: 100%; min-height: 760px; border: 1px solid var(--frost); border-radius: var(--radius); }

/* ---------- Pages de texte ---------- */
.legal { display: grid; gap: 40px; max-width: 760px; }
.legal section { display: grid; gap: 12px; padding-top: 32px; border-top: 1px solid var(--frost); }
.todo { background: var(--accent-wash); border-radius: var(--radius); padding: 1px 6px; }

/* ---------- Pied de page ---------- */
.site-footer { padding-block: 64px 32px; background: var(--mist); border-top: 1px solid var(--frost); font-size: 14px; line-height: 1.4; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.2fr); gap: 40px 32px; }
.footer-brand { display: grid; gap: 16px; align-content: start; justify-items: start; max-width: 32ch; color: var(--steel); }
.footer-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.footer-logos .footer-logo { height: 56px; width: auto; border-radius: var(--radius); }
.footer-logos .rge { height: 28px; }
.site-footer h4 { margin-bottom: 12px; font-size: 14px; font-weight: 400; }
.site-footer li a, .site-footer address a { display: inline-block; padding: 4px 0; color: var(--steel); transition: color .15s; }
.site-footer li a:hover, .site-footer address a:hover { color: var(--accent-text); }
.site-footer address { font-style: normal; color: var(--steel); display: grid; gap: 4px; justify-items: start; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--frost); font-size: 12px; color: var(--slate); }
.footer-bottom a { color: var(--slate); }
.footer-bottom a:hover { color: var(--accent-text); }

/* ---------- Adaptation aux écrans ---------- */
@media (max-width: 1024px) {
  .hero-grid, .split, .cta-panel, .booking { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { gap: 48px; }
  .split { gap: 40px; }
  .cta-panel { align-items: start; gap: 32px; }
  .cta-panel .cta { justify-content: flex-start; }
  .grid-4, .stats, .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .ledger-row { grid-template-columns: 24px minmax(0, 1fr) auto; gap: 8px 16px; align-items: start; }
  .ledger-desc { grid-column: 2 / -1; grid-row: 2; }
  .ledger-go { display: none; }
  .booking-summary { position: static; }
}
@media (max-width: 860px) {
  :root { --gap: 64px; }
  .hero { padding-top: 48px; }
  .duo, .org, .agenda-grid { grid-template-columns: minmax(0, 1fr); }
  .org-card--group { grid-template-columns: minmax(0, 1fr); }
  .grid-3, .gallery, .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head { margin-bottom: 40px; }
  .stats { margin-top: 56px; }
}
@media (max-width: 600px) {
  .grid-3, .grid-4, .gallery, .quotes, .form, .stats--3, .choice-grid { grid-template-columns: minmax(0, 1fr); }
  .ledger-row { grid-template-columns: 24px minmax(0, 1fr); }
  .ledger-price { grid-column: 2; text-align: left; }
  .ledger-price small { display: inline; margin-right: 6px; }
  .ledger-desc { grid-row: auto; }
  .btn { white-space: normal; text-align: center; line-height: 1.2; }
  .cta .btn { flex: 1 1 100%; }
  .nav-actions .btn-primary { padding-inline: 12px; }
  .booking-summary { padding: 24px; }
  .cal { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ==========================================================================
   Couleurs affirmées : héros, bandes et pied de page en couleur
   ========================================================================== */
.section { padding-block: var(--gap); }
.section > .container > .section-inner { border-top: 0; padding-top: 0; }
main > .section:nth-of-type(even) { background: var(--accent-wash); --frost: var(--accent-border-soft); }
main > .section.section--plain { background: var(--surface); --frost: #e3e8e4; }
main > .section.section--brand { background: linear-gradient(135deg, var(--accent) 0%, var(--brand-dark) 100%); }
main > .section.section--photo {
  background-color: var(--brand-dark);
  background-image: linear-gradient(rgba(5, 97, 43, .9), rgba(5, 97, 43, .84)), url("../images/realisation-polienas-2.jpg");
  background-size: cover; background-position: center; background-attachment: fixed;
}
.org-card, .cal, .choice-body { background: var(--surface); }
.org-card--group { background: var(--mist); }

/* Texte clair sur fond de couleur */
.hero, .section--brand, .section--photo { color: var(--white); --frost: rgba(255, 255, 255, .28); }
.hero :is(.label, .sub, .stat-pre, .stat-label, .hero-points), .hero .stat-num small,
:is(.section--brand, .section--photo) :is(.label, .lead, .stat-label, .step-num, .quote footer),
:is(.section--brand, .section--photo) .feature p { color: rgba(255, 255, 255, .84); }
.hero .muted { color: var(--on-accent-soft); }
:is(.hero, .section--brand, .section--photo) :is(.icon, .link) { color: var(--white); }
:is(.hero, .section--brand, .section--photo) p a { color: var(--white); }
:is(.hero, .section--brand, .section--photo, .cta-panel) .btn-primary { background: var(--surface); color: var(--accent-text); }
:is(.hero, .section--brand, .section--photo, .cta-panel) .btn-primary:hover { background: var(--accent-wash); }
:is(.hero, .section--brand, .section--photo, .cta-panel) .btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .55); }
:is(.hero, .section--brand, .section--photo, .cta-panel) .btn-ghost:hover { background: rgba(255, 255, 255, .14); }
:is(.hero, .section--brand, .section--photo) :focus-visible { outline-color: var(--white); }

.hero { position: relative; background: linear-gradient(135deg, var(--accent) 0%, var(--brand-dark) 100%); }
.hero .photo { border-color: rgba(255, 255, 255, .4); }
.hero .rge, .site-footer .rge { box-sizing: border-box; height: 42px; padding: 7px 10px; border-radius: var(--radius); background: var(--surface); }
.site-header { border-bottom: 1px solid rgba(255, 255, 255, .16); }
.theme-renov .brand img { height: 50px; border-radius: 2px; }

/* Accueil : photos de chantiers en fond, qui défilent */
.hero--photo { display: grid; min-height: min(88vh, 860px); padding-block: 0; overflow: hidden; background: var(--brand-dark); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease; animation: hero-zoom 20s ease-in-out infinite alternate; }
.hero-bg img.is-active { opacity: 1; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 97, 43, .96) 0%, rgba(7, 120, 54, .88) 36%, rgba(7, 120, 54, .38) 68%, rgba(5, 97, 43, .18) 100%); }
.hero--photo > .container { position: relative; display: grid; align-content: center; gap: 56px; padding-block: 72px 40px; }
.hero--photo .hero-copy { max-width: 660px; }
.hero--photo .stats { margin-top: 0; padding: 28px 32px; border: 1px solid rgba(255, 255, 255, .3); border-radius: var(--radius); background: rgba(5, 97, 43, .78); }
@keyframes hero-zoom { from { transform: scale(1.02); } to { transform: scale(1.12); } }

/* Bandeau devis et pied de page */
.cta-panel { background: linear-gradient(135deg, var(--accent) 0%, var(--brand-dark) 100%); }
.site-footer { background: var(--brand-dark); border-top: 0; color: rgba(255, 255, 255, .8); }
.site-footer h4 { color: var(--white); }
.site-footer li a, .site-footer address a, .site-footer address, .footer-brand, .footer-bottom, .footer-bottom a { color: rgba(255, 255, 255, .8); }
.site-footer li a:hover, .site-footer address a:hover, .footer-bottom a:hover { color: var(--white); }
.footer-bottom { border-top-color: rgba(255, 255, 255, .22); }
.footer-logos .footer-logo { border: 1px solid rgba(255, 255, 255, .35); }

/* Témoignage */
.testimonial { display: grid; gap: 24px; max-width: 880px; }
.testimonial .stars { font-size: 22px; letter-spacing: 6px; color: var(--on-accent-soft); }
.testimonial blockquote { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.12; letter-spacing: -0.02em; }
.testimonial p { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.45; color: rgba(255, 255, 255, .88); max-width: 46em; }
.testimonial footer { font-weight: 400; }

/* ==========================================================================
   Animations
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }
.hero-copy > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero-copy > :nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.photo > img { transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
a.photo:hover > img, .feature:hover .photo > img, .gallery-item:hover .photo > img, .hero .photo:hover > img { transform: scale(1.05); }
.btn { transition: background-color .15s, border-color .15s, color .15s, transform .15s; }
.btn:hover { transform: translateY(-2px); }
.ledger-go, .link-list a::after { display: inline-block; transition: transform .2s; }
.ledger-row:hover .ledger-go, .link-list a:hover::after { transform: translateX(5px); }
.product img { transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.products li:hover .product img { transform: scale(1.06); }

@media (max-width: 860px) {
  .hero-bg::after { background: linear-gradient(180deg, rgba(5, 97, 43, .9) 0%, rgba(7, 120, 54, .82) 100%); }
  .hero--photo .stats { padding: 20px; }
  main > .section.section--photo { background-attachment: scroll; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .hero-copy > *, .hero-bg img { animation: none; }
  main > .section.section--photo { background-attachment: scroll; }
}

/* Emplacement photo en attente, posé sur un fond de couleur */
.hero .photo.is-empty { background: rgba(255, 255, 255, .1); background-image: none; border: 1px dashed rgba(255, 255, 255, .6); }
.hero .photo.is-empty .photo-empty { color: var(--white); }
.hero .photo.is-empty .photo-empty code { background: rgba(255, 255, 255, .16); border-color: transparent; color: var(--white); }
@media (max-width: 480px) { .theme-renov .brand img { height: 36px; } }

/* ==========================================================================
   THÈME SOMBRE — fond anthracite, couleurs des marques, photos intégrées
   ========================================================================== */
:root {
  color-scheme: dark;
  --bg: #0e1210;
  --band: #141a17;
  --surface: #1a211d;
  --ink: #f3f6f4;
  --slate: rgba(255, 255, 255, .64);
  --steel: rgba(255, 255, 255, .76);
  --mist: #161c19;
  --frost: rgba(255, 255, 255, .14);
  --accent-text: #7fcf8e;
  --accent-muted: #7fcf8e;
  --accent-border: rgba(127, 207, 142, .45);
  --accent-border-soft: rgba(127, 207, 142, .22);
  --accent-wash: rgba(127, 207, 142, .12);
  --shade: 8, 12, 10;
}
.theme-renov {
  --bg: #0a111c;
  --band: #0f1929;
  --surface: #142033;
  --mist: #111b2c;
  --accent-text: #5cc4ff;
  --accent-muted: #5cc4ff;
  --accent-border: rgba(92, 196, 255, .45);
  --accent-border-soft: rgba(92, 196, 255, .22);
  --accent-wash: rgba(92, 196, 255, .12);
  --shade: 6, 11, 20;
}
body { background: var(--bg); color: var(--ink); }
main > .section:nth-of-type(even) { background: var(--band); --frost: rgba(255, 255, 255, .14); }
main > .section.section--plain { background: var(--bg); --frost: rgba(255, 255, 255, .14); }
main > .section.section--photo {
  background-image: linear-gradient(rgba(var(--shade), .82), rgba(var(--shade), .7)), url("../images/realisation-polienas-2.jpg");
}
:is(.hero, .section--brand, .section--photo, .cta-panel, .site-header, .figures) .btn-primary { background: #fff; color: var(--brand); }
:is(.hero, .section--brand, .section--photo, .cta-panel, .site-header, .figures) .btn-primary:hover { background: #e9f1ec; }
.btn-ghost:hover { background: var(--accent-wash); }
.tag--renov { background: rgba(92, 196, 255, .14); color: #7dd0ff; }
.org-card--renov .link { color: #7dd0ff; }
.org-card--group { background: var(--surface); }
.field input, .field select, .field textarea { border-color: rgba(255, 255, 255, .22); }
.cal-day:disabled { color: rgba(255, 255, 255, .22); }
.cal-day[aria-pressed="true"], .slot[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.product, .hero .rge, .site-footer .rge, .figures .rge, .skip { background: #fff; }
.skip { color: #111; }
.site-footer { background: #090c0b; border-top: 1px solid rgba(255, 255, 255, .1); }
.theme-renov .site-footer { background: #060b14; }
.lightbox::backdrop { background: rgba(0, 0, 0, .9); }

/* ---------- En-têtes de page : la photo devient le fond ---------- */
.hero { background: linear-gradient(135deg, var(--bg) 0%, var(--brand-dark) 160%); overflow: hidden; }
.hero:has(.hero-grid) { display: grid; align-items: end; min-height: min(80vh, 760px); }
.hero-grid { grid-template-columns: minmax(0, 1fr); }
.hero-grid > .photo { position: absolute; inset: 0; z-index: 0; aspect-ratio: auto; border: 0; border-radius: 0; opacity: 1; transform: none; }
.hero-grid > .photo > img { animation: hero-zoom 22s ease-in-out infinite alternate; }
.hero .photo:hover > img { transform: none; }
.hero-grid > .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--shade), .9) 0%, rgba(var(--shade), .62) 42%, rgba(var(--shade), .12) 100%), linear-gradient(0deg, rgba(var(--shade), .75) 0%, rgba(var(--shade), 0) 45%); }
.hero-grid > .hero-copy, .hero .stats { position: relative; z-index: 1; }
.hero-grid > .hero-copy { max-width: 680px; }

/* ---------- Accueil : photos plein écran, sans voile vert ---------- */
.hero--photo { min-height: calc(100vh - 113px); background: #000; }
.hero-bg { will-change: transform; }
.hero-bg::after { background: linear-gradient(180deg, rgba(var(--shade), .4) 0%, rgba(var(--shade), 0) 28%, rgba(var(--shade), .15) 55%, rgba(var(--shade), .86) 100%); }
.hero--photo > .container { align-content: end; gap: 32px; padding-block: 96px 56px; }
.hero--photo .hero-copy { max-width: 760px; }
.hero--photo .display { font-size: clamp(40px, 5.6vw, 76px); }
.hero-dots { display: flex; gap: 8px; }
.hero-dots button { width: 44px; height: 4px; padding: 0; border: 0; border-radius: 2px; background: rgba(255, 255, 255, .35); cursor: pointer; transition: background-color .3s, width .3s; }
.hero-dots button[aria-current="true"] { width: 72px; background: #fff; }

/* Bandeau de chiffres */
.figures { padding-block: 44px; background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%); color: #fff; --frost: rgba(255, 255, 255, .28); }
.figures .stats { margin: 0; padding: 0; border: 0; }
.figures :is(.stat-pre, .stat-label), .figures .stat-num small { color: rgba(255, 255, 255, .84); }

/* Choix entre les deux marques : deux moitiés qui s'ouvrent au survol */
.split-brands { display: flex; height: min(82vh, 760px); }
.brand-side { position: relative; flex: 1 1 0; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; color: #fff; transition: flex-grow .7s cubic-bezier(.2, .7, .2, 1); }
.brand-side:is(:hover, :focus-within) { flex-grow: 1.7; }
.brand-side-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.brand-side:is(:hover, :focus-within) .brand-side-bg { transform: scale(1.06); }
.brand-side::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5, 70, 32, .94) 0%, rgba(5, 70, 32, .5) 34%, rgba(8, 12, 10, .1) 70%); transition: opacity .5s; }
.brand-side--renov::before { background: linear-gradient(0deg, rgba(0, 62, 118, .94) 0%, rgba(0, 62, 118, .5) 34%, rgba(6, 11, 20, .1) 70%); }
.brand-side-body { display: grid; gap: 16px; justify-items: start; width: 100%; max-width: 560px; padding: clamp(24px, 4vw, 56px); }
.brand-side-logo { height: 64px; width: auto; border-radius: var(--radius); }
.brand-side p { font-size: clamp(17px, 1.5vw, 20px); color: rgba(255, 255, 255, .88); }
.pill-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-links a { position: relative; z-index: 1; padding: 10px 16px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 9999px; color: #fff; font-size: 14px; font-weight: 400; transition: background-color .2s, color .2s; }
.pill-links a:hover, .pill-links a.is-main { background: #fff; color: var(--brand); }
.brand-side--renov .pill-links a:hover, .brand-side--renov .pill-links a.is-main { color: #0060af; }
.pill-links a.is-main::after { content: " ›"; }
.pill-links a.is-main::before { content: ""; position: fixed; }
.brand-side > .stretched { position: absolute; inset: 0; z-index: 0; }

/* Bandeau défilant */

/* Prestations : tuiles photo */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; min-height: 480px; padding: 24px; overflow: hidden; isolation: isolate; border-radius: var(--radius); color: #fff; }
.tile > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(var(--shade), 0) 35%, rgba(var(--shade), .92) 100%); transition: background-color .4s; }
.tile:is(:hover, :focus-visible) > img { transform: scale(1.08); }
.tile:is(:hover, :focus-visible)::before { background-color: rgba(var(--shade), .35); }
.tile-price { align-self: flex-start; padding: 5px 10px; border-radius: 9999px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 400; }
.tile h3 { font-size: 26px; line-height: 1.1; }
.tile p { max-height: 0; overflow: hidden; opacity: 0; color: rgba(255, 255, 255, .86); transition: max-height .5s ease, opacity .4s ease; }
.tile:is(:hover, :focus-visible) p { max-height: 10em; opacity: 1; }
.tile-go { font-size: 14px; font-weight: 400; color: var(--accent-text); }

/* Étapes et prestations illustrées : le texte vient sur la photo */
.feature--plain:has(> .photo) { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; min-height: 460px; padding: 24px; overflow: hidden; isolation: isolate; border-radius: var(--radius); color: #fff; }
.feature--plain:has(> .photo) > .photo { position: absolute; inset: 0; z-index: -1; margin: 0; aspect-ratio: auto; border: 0; border-radius: 0; }
.feature--plain:has(> .photo) > .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--shade), 0) 30%, rgba(var(--shade), .92) 100%); transition: background-color .4s; }
.feature--plain:has(> .photo):hover > .photo::after { background-color: rgba(var(--shade), .4); }
.feature--plain:has(> .photo) :is(h2, h3) { font-size: 24px; }
.feature--plain:has(> .photo) p { max-height: 0; overflow: hidden; opacity: 0; color: rgba(255, 255, 255, .88); transition: max-height .6s ease, opacity .4s ease; }
.feature--plain:has(> .photo):is(:hover, :focus-within) p { max-height: 16em; opacity: 1; }
.feature--plain:has(> .photo) .icon { color: #fff; }

/* Galeries : légende sur la photo, première image en grand */
.gallery { gap: 16px; }
.gallery-item { position: relative; display: block; overflow: hidden; border-radius: var(--radius); }
.gallery-item .photo { margin: 0; border: 0; }
.gallery-item .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--shade), 0) 50%, rgba(var(--shade), .88) 100%); }
.gallery-item h2, .gallery-item p { position: absolute; left: 20px; right: 20px; pointer-events: none; color: #fff; }
.gallery-item h2 { bottom: 40px; font-size: 20px; }
.gallery-item p { bottom: 18px; color: rgba(255, 255, 255, .82); }
.grid-3:has(> a.photo) { gap: 12px; }
.grid-3 > a.photo { border: 0; }
.grid-3 > a.photo:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

@media (hover: none) {
  .tile p, .feature--plain:has(> .photo) p { max-height: none; opacity: 1; }
}
@media (max-width: 1024px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile { min-height: 380px; }
}
@media (max-width: 860px) {
  .split-brands { flex-direction: column; height: auto; }
  .brand-side { min-height: 62vh; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(var(--shade), .45) 0%, rgba(var(--shade), .2) 35%, rgba(var(--shade), .9) 100%); }
  .hero-grid > .photo::after { background: linear-gradient(0deg, rgba(var(--shade), .92) 0%, rgba(var(--shade), .55) 60%, rgba(var(--shade), .35) 100%); }
  .feature--plain:has(> .photo) { min-height: 400px; }
}
@media (max-width: 600px) {
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .grid-3 > a.photo:first-child { grid-column: auto; grid-row: auto; aspect-ratio: 1; }
  .hero--photo { min-height: calc(100vh - 150px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-grid > .photo > img { animation: none; }
}

.card-logo { height: 52px; width: auto; justify-self: start; border-radius: var(--radius); }
.stat-num .rge { display: block; height: 52px; margin-top: 4px; }

.org--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-logos { display: flex; flex-wrap: wrap; gap: 12px; }
.org-card .cta { gap: 8px 24px; }
@media (max-width: 860px) { .org--2 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Menu : police Outfit et soulignement animé ---------- */
:root { --font-nav: "Outfit", "Inter Tight", ui-sans-serif, system-ui, sans-serif; }
.nav-links a, .site-header .nav-actions .btn { font-family: var(--font-nav); letter-spacing: .01em; }
.nav-links a { --nav-pad: 8px; position: relative; font-size: 15px; font-weight: 400; padding: 10px var(--nav-pad); text-decoration: none; transition: color .2s; }
.nav-links a[aria-current="page"] { font-weight: 500; text-decoration: none; }
.site-header .nav-actions .btn { font-weight: 500; }
@media (min-width: 1381px) {
  .nav { gap: 20px; }
  .nav-links { gap: 0; }
  .nav-links a:hover { background: transparent; }
  .nav-links a::after {
    content: ""; position: absolute; left: var(--nav-pad); right: var(--nav-pad); bottom: 2px; height: 2px; border-radius: 2px;
    background: #fff; transform: scaleX(0); transform-origin: left center; transition: transform .28s cubic-bezier(.2, .7, .2, 1);
  }
  .nav-links a:hover::after, .nav-links a:focus-visible::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
  .nav-links a:not([aria-current="page"]) { color: rgba(255, 255, 255, .86); }
  .nav-links a:not([aria-current="page"]):hover { color: #fff; }
}
@media (min-width: 1560px) { .nav { gap: 24px; } .nav-links { gap: 4px; } .nav-links a { --nav-pad: 12px; font-size: 15.5px; } }
@media (max-width: 1380px) { .nav-links a { font-size: 17px; padding: 16px 0; } }
@media (prefers-reduced-motion: reduce) { .nav-links a::after { transition: none; } }

/* ---------- Page Syndics ---------- */
.tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hero--syndic .hero-grid > .photo img { object-position: center 35%; }
@media (max-width: 1080px) { .tiles--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tiles--3 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Instagram ---------- */
.site-footer address a.social-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; }
.social-link .icon { width: 20px; height: 20px; color: currentColor; }
.topbar-social { display: inline-flex; align-items: center; }
.topbar-social .icon { width: 17px; height: 17px; color: #fff; }
.topbar-social:hover { opacity: .8; }

/* ---------- Planning Google Agenda ---------- */
.booking-frame { overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6); }
.booking-frame iframe { display: block; width: 100%; height: 900px; border: 0; }
.booking-help { margin-top: 16px; font-size: 14px; color: var(--steel); }
.booking-help a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 720px) { .booking-frame iframe { height: 1100px; } }

/* ---------- Syndics : corps de métier et avant/après ---------- */
.trades { list-style: none; padding: 0; }
.ba--tall { aspect-ratio: 575 / 687; width: 100%; max-width: 520px; justify-self: center; }

/* ---------- Page Nos produits ---------- */
.products--catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; list-style: none; padding: 0; }
.products--catalog li { gap: 6px; }
.products--catalog p { font-size: 15px; color: var(--steel); }
.products--catalog .link { margin-top: 4px; justify-self: start; }
.product-brand { font-size: 12px !important; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-text) !important; }
.product--icon { background: var(--surface) !important; }
.product--icon .icon { width: 56px; height: 56px; color: var(--accent-text); }
.products-note { font-size: 13px; color: var(--slate); }
@media (max-width: 1080px) { .products--catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .products--catalog { grid-template-columns: minmax(0, 1fr); } }


/* ---------- Accueil : aperçu Nos produits ---------- */
.product-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.product-strip a { display: grid; place-items: center; aspect-ratio: 1; padding: 14px; border-radius: 14px; background: #fff; overflow: hidden; }
.product-strip img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.product-strip a:hover img { transform: scale(1.08); }
.produits-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; }
@media (max-width: 860px) { .product-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
#produits-apercu { border-top: 1px solid rgba(255, 255, 255, .08); }
