/* ============================================================
   MAISON HAUSSMANN — feuille de style unique (mobile d'abord)
   ============================================================ */

:root {
  --bg: #F8F6F2;
  --surface: #FFFFFF;
  --ink: #1A1917;
  --ink-2: #4A4842;
  --muted: #6A6860;
  --line: #E6E1D9;
  --line-strong: #D6CFC3;
  --accent: #A0784A;        /* décoratif */
  --accent-ink: #7E5A31;    /* texte accentué (contraste AA) */
  --btn: #855F38;           /* fond des boutons (contraste AA avec le blanc) */
  --btn-hover: #6B4B2A;
  --accent-tint: #F3ECE2;
  --dark: #1A1917;
  --success: #1F6B3A;
  --error: #B42318;
  --radius: 12px;
  --radius-sm: 8px;
  --gutter: 16px;
  --header-h: 64px;
  --shadow: 0 12px 32px rgba(26, 25, 23, 0.08);
  --font: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
@media (min-width: 640px) { :root { --gutter: 32px; } }
@media (min-width: 1100px) { :root { --gutter: 48px; --header-h: 76px; } }

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.6;
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
code { font-size: .9em; background: var(--accent-tint); padding: 1px 6px; border-radius: 4px; }
:focus-visible { outline: 2px solid var(--btn); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(1240px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.mt-md { margin-top: 20px; }
.mt-lg { margin-top: 40px; }

/* ── Typographie ── */
.h1 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.35rem); line-height: 1.08; letter-spacing: -0.032em; font-weight: 600; }
.h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.35rem); letter-spacing: -0.028em; }
.h3 { font-size: 1.35rem; }
.h4 { font-size: 1.08rem; letter-spacing: -0.01em; }
.lead { font-size: clamp(1.02rem, .95rem + .3vw, 1.15rem); color: var(--ink-2); max-width: 60ch; }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 12px; }
.prose { max-width: 68ch; color: var(--ink-2); }

/* ── Sections ── */
.section { padding-block: clamp(56px, 7vw, 104px); }
.section--tight { padding-block: clamp(36px, 4.5vw, 64px); }
.section--flush-top { padding-top: 8px; }
.section--white { background: var(--surface); }
.section-head { margin-bottom: clamp(28px, 3.5vw, 44px); max-width: 720px; }
.section-head .h2 + .lead { margin-top: 14px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 32px; margin-bottom: clamp(28px, 3.5vw, 44px); }
.section-head-row .section-head { margin-bottom: 0; }
.center-actions { display: flex; justify-content: center; margin-top: 40px; }
.two-col { display: grid; gap: 28px; }
@media (min-width: 900px) { .two-col { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; } }

/* ── Boutons & liens ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 10px; border: 1px solid transparent;
  font: inherit; font-size: .97rem; font-weight: 600; line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--btn); color: #fff; }
.btn-primary:hover { background: var(--btn-hover); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { background: var(--surface); border-color: var(--ink); }
.btn-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-light:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .88rem; }
.btn-lg { min-height: 54px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent-ink); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ── Placeholders (prévisualisation) ── */
.draft-bar { background: #FFF3C4; color: #5C4400; font-size: .85rem; text-align: center; padding: 8px var(--gutter); border-bottom: 1px solid #F0D98A; }
.draft-bar a { font-weight: 600; margin-left: 6px; }
.ph {
  display: inline-block; background: #FFF3C4; color: #5C4400; border: 1px dashed #C99A00;
  border-radius: 6px; padding: 2px 8px; font-size: .8rem; font-weight: 500; line-height: 1.4;
  letter-spacing: 0; text-transform: none; vertical-align: middle;
}
.ph-sm { font-size: .72rem; padding: 1px 6px; }
.ph-block {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-height: 200px; height: 100%; padding: 24px; text-align: center; border-radius: var(--radius);
  border: 1.5px dashed #C99A00; color: #5C4400;
  background: repeating-linear-gradient(-45deg, #FFF8DC, #FFF8DC 12px, #FFF3C4 12px, #FFF3C4 24px);
}
.ph-block small { max-width: 34ch; font-size: .82rem; }
.ph-block--video { aspect-ratio: 16 / 9; min-height: 0; }

/* ── En-tête ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 246, 242, .94); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { flex-shrink: 0; display: block; }
.brand img { height: 40px; width: auto; }
@media (min-width: 1100px) { .brand img { height: 48px; } }
.main-nav { display: none; margin-inline: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link { display: block; padding: 10px 12px; font-size: .95rem; font-weight: 500; text-decoration: none; color: var(--ink-2); border-radius: 8px; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--ink); }
.nav-link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.has-sub { position: relative; display: flex; align-items: center; }
.has-sub .nav-link { padding-right: 4px; }
.sub-toggle { background: none; border: 0; padding: 8px 6px; color: var(--ink-2); cursor: pointer; border-radius: 6px; }
.sub-toggle .icon { transition: transform .2s; }
.has-sub.open .sub-toggle .icon { transform: rotate(180deg); }
.sub-menu {
  position: absolute; top: calc(100% + 8px); left: -12px; z-index: 10;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; min-width: 470px;
  padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu, .has-sub.open .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-col { display: flex; flex-direction: column; }
.sub-title { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.sub-col a { padding: 7px 0; text-decoration: none; color: var(--ink); font-size: .95rem; }
.sub-col a:hover { color: var(--accent-ink); }
.header-actions { display: none; align-items: center; gap: 16px; margin-left: auto; }
.header-phone { display: none; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap; }
.header-phone:hover { color: var(--accent-ink); }
@media (min-width: 640px) { .header-actions { display: flex; } }
@media (min-width: 1100px) {
  .main-nav { display: block; }
  .header-actions { margin-left: 0; }
  .header-phone { display: inline-flex; }
  .menu-toggle, .mobile-nav { display: none !important; }
}
.menu-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; margin-left: auto; padding: 0 11px; background: none; border: 0; cursor: pointer;
}
@media (min-width: 640px) { .menu-toggle { margin-left: 0; } }
.menu-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { border-top: 1px solid var(--line); background: var(--bg); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; padding-block: 8px 24px; }
.mobile-link, .mobile-group summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.08rem; font-weight: 500; text-decoration: none; cursor: pointer; list-style: none; }
.mobile-group summary::-webkit-details-marker { display: none; }
.mobile-group[open] summary .icon { transform: rotate(180deg); }
.mobile-group a { display: block; padding: 10px 0 10px 14px; color: var(--ink-2); text-decoration: none; }
.mobile-group[open] { padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.mobile-group[open] summary { border-bottom: 0; }
.mobile-nav-actions { display: grid; gap: 10px; margin-top: 20px; }

/* ── Barre de contact mobile ── */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(26,25,23,.06);
}
.mobile-bar-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 10px; border: 1px solid var(--line-strong); font-weight: 600; text-decoration: none; }
.mobile-bar-btn--primary { background: var(--btn); border-color: var(--btn); color: #fff; }
body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { .mobile-bar { display: none; } body { padding-bottom: 0; } }
@media (max-width: 899px) { .mh-consent { bottom: calc(80px + env(safe-area-inset-bottom)) !important; } }

/* ── Hero ── */
.hero { padding-block: 0 clamp(40px, 6vw, 80px); }
.hero-grid { display: grid; gap: 22px; }
.hero-media { order: -1; margin: 0 calc(-1 * var(--gutter)); position: relative; }
.hero-media img { width: 100%; aspect-ratio: 16 / 10; max-height: 30vh; min-height: 200px; object-fit: cover; object-position: center 55%; }
.hero-media .caption-title { display: none; }
@media (min-width: 640px) { .hero-media .caption-title { display: inline; } }
.hero-media figcaption { position: absolute; left: 12px; bottom: 12px; }
.hero-media figcaption a {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  background: rgba(26,25,23,.72); color: #fff; font-size: .8rem; text-decoration: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero-text .lead { margin-top: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-actions .btn { flex: 1 1 auto; }
@media (min-width: 480px) { .hero-actions .btn { flex: 0 0 auto; } }
.hero-actions--center { justify-content: center; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; color: var(--ink-2); font-size: .92rem; }
.hero-proof li { display: inline-flex; align-items: center; gap: 6px; }
.hero-proof a { text-decoration: none; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.hero-proof-inline { margin-top: 20px; }
@media (min-width: 900px) {
  .hero { padding-top: clamp(32px, 4vw, 56px); }
  .hero-grid { grid-template-columns: 1.08fr .92fr; gap: clamp(40px, 5vw, 80px); align-items: center; }
  .hero-media { order: 0; margin: 0; }
  .hero-media img { aspect-ratio: 4 / 5; max-height: min(78vh, 680px); border-radius: 16px; object-position: center; }
  .hero-media figcaption { left: 16px; bottom: 16px; }
}

/* Note Google */
.g-rating { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--ink); font-size: .92rem; }
.g-rating span:last-child { color: var(--muted); }
.g-stars { color: #E9A100; letter-spacing: 1px; }
.g-rating--lg { font-size: 1.02rem; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); }

/* ── Chiffres clés ── */
.figures { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 16px; padding-bottom: clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .figures { grid-template-columns: repeat(4, 1fr); } }
.figure { display: flex; flex-direction: column; gap: 4px; }
.figure-value { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.figure-value small { font-size: .5em; font-weight: 500; color: var(--muted); }
.figure-label { color: var(--muted); font-size: .92rem; }
.figure--ph .figure-value { color: #C9B98F; }
.figure .ph { align-self: flex-start; margin-top: 4px; }

/* ── Preuves de confiance ── */
.trust-grid { display: grid; gap: 22px; margin-top: clamp(28px, 4vw, 44px); }
@media (min-width: 640px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .trust-grid { grid-template-columns: repeat(4, 1fr); gap: 32px; } }
.page-hero-split .trust-grid { margin-top: 0; grid-template-columns: 1fr; gap: 18px; align-content: center; }
@media (min-width: 640px) and (max-width: 899px) { .page-hero-split .trust-grid { grid-template-columns: repeat(2, 1fr); } }
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.trust-icon { flex-shrink: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent-tint); color: var(--accent-ink); }
.trust-title { font-size: 1.02rem; margin-bottom: 4px; letter-spacing: -0.01em; }
.trust-item p { color: var(--muted); font-size: .92rem; line-height: 1.5; }

/* ── Labels ── */
.certs { margin-top: clamp(28px, 4vw, 44px); padding-top: 24px; border-top: 1px solid var(--line); }
.certs-title { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.certs-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px 24px; }
.cert { display: flex; align-items: center; gap: 12px; }
.cert img { height: 36px; width: 64px; object-fit: contain; flex-shrink: 0; }
.cert span { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; font-size: .9rem; line-height: 1.3; }
.cert small { color: var(--muted); font-size: .8rem; }

/* ── Cartes réalisations ── */
.project-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .project-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.project-card[hidden] { display: none; }
.project-card-link { display: block; height: 100%; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.project-card-link:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.project-card-media { position: relative; aspect-ratio: 4 / 4.4; overflow: hidden; background: var(--line); }
.project-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.project-card-link:hover .project-card-media img { transform: scale(1.03); }
.tag { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.92); font-size: .78rem; font-weight: 600; }
.project-card-body { padding: 16px 18px 18px; }
.project-card-title { font-size: 1.08rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.project-card-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 8px 0 0; color: var(--muted); font-size: .85rem; }
.project-card-meta span { display: inline-flex; align-items: center; gap: 4px; }
.project-card-body .ph { margin-top: 10px; }

/* ── Cartes prestations ── */
.service-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .service-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.service-card { display: grid; grid-template-columns: 112px 1fr; gap: 0; text-decoration: none; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, box-shadow .25s; }
.section:not(.section--white) .service-card { background: var(--surface); }
.service-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.service-card-media { background: var(--accent-tint); }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; }
.service-card-fallback { height: 100%; min-height: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 10px; color: var(--accent); text-align: center; }
.service-card-fallback small { color: #5C4400; font-size: .7rem; line-height: 1.3; }
.service-card-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.service-card-title { font-size: 1.1rem; }
.service-card-body p { color: var(--muted); font-size: .9rem; line-height: 1.5; flex: 1; }
.service-card-body .link-arrow { font-size: .88rem; }
@media (min-width: 1000px) {
  .service-card { grid-template-columns: 1fr; }
  .service-card-media { aspect-ratio: 16 / 10; overflow: hidden; }
  .service-card-body { padding: 20px 22px 22px; }
}

/* ── Étapes ── */
.steps { display: grid; gap: 0; counter-reset: step; }
.step { position: relative; padding: 0 0 28px 64px; }
.step::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 4px; width: 2px; background: var(--line); }
.step:last-child::before { display: none; }
.step-num { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 600; }
.step-title { font-size: 1.12rem; margin: 9px 0 6px; }
.step p { color: var(--muted); font-size: .95rem; line-height: 1.55; }
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 28px; }
  .steps--4 { grid-template-columns: repeat(4, 1fr); }
  .step { padding: 64px 0 0; }
  .step::before { left: 52px; right: -24px; top: 21px; bottom: auto; width: auto; height: 2px; }
  .step-title { margin-top: 0; }
}

/* ── Avis ── */
.reviews-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 32px; }
.carousel { position: relative; }
.carousel-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 18px; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; align-items: flex-start; }
.carousel-track:focus-visible { outline-offset: 0; }
.review { flex: 0 0 86%; scroll-snap-align: start; margin: 0; padding: 22px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
@media (min-width: 640px) { .review { flex-basis: calc((100% - 16px) / 2); } }
@media (min-width: 1000px) { .carousel-track { gap: 24px; } .review { flex-basis: calc((100% - 48px) / 3); padding: 28px; } }
.review-top { display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--accent); color: #fff; font-weight: 600; flex-shrink: 0; }
.review figcaption { display: flex; flex-direction: column; line-height: 1.3; }
.review figcaption a, .review figcaption span { font-weight: 600; text-decoration: none; }
.review figcaption small { color: var(--muted); font-size: .8rem; }
.review-stars { color: #E9A100; margin: 12px 0 8px; letter-spacing: 1px; }
.review-text { margin: 0; font-size: .95rem; color: var(--ink-2); line-height: 1.6; white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.review-text.expanded { display: block; }
.review-more { margin-top: 8px; background: none; border: 0; padding: 0; font: inherit; font-size: .88rem; font-weight: 600; color: var(--accent-ink); cursor: pointer; }
.carousel-nav { display: none; position: absolute; top: 45%; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); cursor: pointer; place-items: center; }
.carousel-nav.prev { left: -20px; }
.carousel-nav.next { right: -20px; }
.carousel-nav[disabled] { opacity: 0; pointer-events: none; }
@media (min-width: 1000px) { .carousel-nav { display: grid; } }
.reviews-foot { margin-top: 20px; }

/* ── Bandeaux ── */
.cta-band { background: var(--dark); color: #fff; padding-block: clamp(48px, 6vw, 80px); }
.cta-band-inner { display: grid; gap: 24px; align-items: center; }
.cta-band p { color: rgba(255,255,255,.72); margin-top: 10px; max-width: 52ch; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .cta-band-inner { grid-template-columns: 1.2fr 1fr; } .cta-band-actions { justify-content: flex-end; } }
.pro-band { display: grid; gap: 20px; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
@media (min-width: 900px) { .pro-band { grid-template-columns: 1fr 1.3fr; align-items: center; gap: 40px; } }
.pro-links { display: grid; gap: 12px; }
@media (min-width: 640px) { .pro-links { grid-template-columns: 1fr 1fr; } }
.pro-link { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .2s, background-color .2s; }
.pro-link:hover { border-color: var(--ink); background: var(--bg); }
.pro-link > .icon:first-child { color: var(--accent-ink); flex-shrink: 0; }
.pro-link span { display: flex; flex-direction: column; flex: 1; line-height: 1.35; }
.pro-link small { color: var(--muted); }

/* ── Équipe & vidéo ── */
.team-video { display: grid; gap: 24px; }
.team-video > .video, .team-video > .ph-block--video { width: 100%; max-width: 860px; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--dark); }
.video iframe, .video video, .video-play img { width: 100%; height: 100%; border: 0; object-fit: cover; }
.video-play { position: absolute; inset: 0; padding: 0; border: 0; cursor: pointer; background: none; }
.video-play-icon { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); }
.team-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.team-member { display: flex; flex-direction: column; gap: 2px; }
.team-member img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); margin-bottom: 10px; }
.team-member span { color: var(--muted); font-size: .9rem; }
.team-member .ph-block { min-height: 220px; }

/* ── En-têtes de pages ── */
.page-hero { padding-block: 24px clamp(40px, 5vw, 72px); }
.page-hero .lead { margin-top: 16px; }
.page-hero-split { display: grid; gap: 32px; }
@media (min-width: 900px) { .page-hero-split { grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 5vw, 80px); align-items: center; } }
.page-hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
@media (min-width: 900px) { .page-hero-media img { aspect-ratio: 4 / 4.4; max-height: 560px; } }
.page-hero--project { padding-bottom: 24px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px; font-size: .85rem; color: var(--muted); margin-bottom: 24px; }
.breadcrumb li + li::before { content: "/"; margin-right: 4px; color: var(--line-strong); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }

/* ── Listes, cartes de valeurs, fiches ── */
.check-list { display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon { color: var(--accent-ink); flex-shrink: 0; margin-top: 3px; }
.check-list--lg { font-size: 1.05rem; gap: 14px; }
.check-list--lg li { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.check-list--card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px 26px; }
.check-list--card li:last-child { border-bottom: 0; padding-bottom: 0; }
.value-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.value-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.section:not(.section--white) .value-card { background: var(--surface); }
.value-card p { color: var(--muted); margin-top: 8px; font-size: .95rem; }
.guarantee-list { display: grid; gap: 0; max-width: 820px; }
.guarantee-list li { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.guarantee-list p { color: var(--muted); margin-top: 6px; }
.spec { margin: 0; display: grid; }
.spec > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec dt { color: var(--muted); font-size: .9rem; }
.spec dd { margin: 0; font-weight: 500; text-align: right; }
.spec--card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 8px 24px; }
.spec--card > div:last-child { border-bottom: 0; }
.spec--compact { margin-top: 16px; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.info-card .h4 { margin-bottom: 12px; }
.info-card--quiet { background: transparent; display: flex; flex-direction: column; gap: 8px; }
.info-card--quiet p { margin: 0; color: var(--muted); }
.link-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.link-pills a { display: inline-block; padding: 10px 16px; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; font-weight: 500; }
.link-pills a:hover { border-color: var(--ink); background: var(--surface); }
.todo-list { display: grid; gap: 6px; margin-top: 10px; }
.todo-list li { padding: 10px 14px; background: #FFF8DC; border: 1px dashed #C99A00; border-radius: 8px; color: #5C4400; font-size: .92rem; }

/* ── Fiche réalisation ── */
.project-layout { display: grid; gap: 36px; }
@media (min-width: 1000px) { .project-layout { grid-template-columns: 1fr 340px; gap: 56px; align-items: start; } .project-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.gallery-item { display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius-sm); background: var(--line); cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item--main { grid-column: span 2; aspect-ratio: 4 / 3.4; border-radius: var(--radius); }
@media (min-width: 700px) {
  .gallery { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .gallery-item--main { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
}
.gallery--single { grid-template-columns: 1fr; max-width: 560px; }
.gallery--single .gallery-item--main { grid-column: auto; grid-row: auto; aspect-ratio: 3 / 4; }
.project-aside { display: grid; gap: 24px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.spec-title { font-weight: 600; margin-bottom: 10px; }
.aside-cta { display: grid; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.aside-cta p { margin: 0; }
.project-review { margin: 28px 0 0; padding: 24px 28px; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; }
.project-review p { font-size: 1.1rem; }
.project-review footer { color: var(--muted); margin-top: 8px; }
.before-after { position: relative; margin-top: 16px; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; --pos: 50%; }
.before-after > img, .before-after-before img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.before-after-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.before-after::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; box-shadow: 0 0 8px rgba(0,0,0,.4); pointer-events: none; }
.before-after input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-label { position: absolute; top: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(26,25,23,.7); color: #fff; font-size: .78rem; pointer-events: none; }
.ba-label--before { left: 12px; }
.ba-label--after { right: 12px; }

/* Filtres */
.filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 24px; scrollbar-width: none; }
.chip { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); font: inherit; font-size: .92rem; font-weight: 500; cursor: pointer; }
.chip span { color: var(--muted); font-size: .8rem; }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.is-active span { color: rgba(255,255,255,.7); }

/* Lightbox */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(15,14,13,.94); color: #fff; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(15,14,13,.94); }
.lightbox img { max-width: 92vw; max-height: 84dvh; object-fit: contain; border-radius: 6px; }
.lightbox button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.22); }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-nav.prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox-count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; font-size: .9rem; opacity: .8; }

/* ── Formulaires ── */
.form-section { background: var(--surface); }
.form-layout { display: grid; gap: 32px; }
@media (min-width: 1000px) { .form-layout { grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; } }
.form-intro p { color: var(--ink-2); margin-top: 14px; }
.form-intro .contact-list { margin-top: 24px; }
.form-card { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
@media (min-width: 640px) { .form-card { padding: 32px; } }
.contact-section { padding-top: clamp(24px, 4vw, 56px); }
@media (min-width: 1000px) { .form-layout--contact { grid-template-columns: 1.35fr .65fr; gap: 48px; } }
.form-card--main { background: var(--surface); }
.form-lead { color: var(--ink-2); margin-top: 10px; }
.contact-aside { display: grid; gap: 16px; }
.contact-list { display: grid; gap: 12px; }
.contact-list a, .contact-list span { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; }
.contact-list a:hover { color: var(--accent-ink); }
.contact-list .icon { color: var(--accent-ink); }
.mini-steps { display: grid; gap: 12px; counter-reset: mini; }
.mini-steps li { position: relative; padding-left: 36px; color: var(--muted); font-size: .94rem; line-height: 1.5; counter-increment: mini; }
.mini-steps li::before { content: counter(mini); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--accent-tint); color: var(--accent-ink); font-size: .8rem; font-weight: 600; display: grid; place-items: center; }
.mini-steps strong { color: var(--ink); display: block; }

.form { display: grid; gap: 18px; margin-top: 24px; }
.fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 18px; }
.fieldset + .fieldset { padding-top: 22px; border-top: 1px solid var(--line); }
.fieldset legend { padding: 0; margin-bottom: 14px; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.form-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label, .field .label { font-weight: 500; font-size: .94rem; }
.req { color: var(--error); }
.opt { color: var(--muted); font-weight: 400; font-size: .85rem; }
.input {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); font: inherit; font-size: 16px; line-height: 1.4; transition: border-color .15s, box-shadow .15s;
}
textarea.input { resize: vertical; min-height: 120px; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236A6860' stroke-width='2'%3E%3Cpath d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.input:focus { outline: none; border-color: var(--btn); box-shadow: 0 0 0 3px rgba(133, 95, 56, .18); }
.input::placeholder { color: #9A968C; }
.field--error .input { border-color: var(--error); }
.hint { color: var(--muted); font-size: .83rem; }
.error { color: var(--error); font-size: .85rem; font-weight: 500; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 640px) { .choice-grid { grid-template-columns: repeat(4, 1fr); } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; justify-content: center; min-height: 48px; height: 100%; padding: 8px 10px; text-align: center; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; font-size: .92rem; font-weight: 500; line-height: 1.25; transition: border-color .15s, background-color .15s; }
.choice input:hover + span { border-color: var(--ink); }
.choice input:checked + span { border-color: var(--btn); background: var(--accent-tint); color: var(--accent-ink); box-shadow: inset 0 0 0 1px var(--btn); }
.choice input:focus-visible + span { outline: 2px solid var(--btn); outline-offset: 2px; }
.dropzone { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1.5px dashed var(--line-strong); border-radius: var(--radius); background: #fff; cursor: pointer; transition: border-color .15s, background-color .15s; }
.dropzone:hover, .dropzone.is-over { border-color: var(--btn); background: var(--accent-tint); }
.dropzone .icon { color: var(--accent-ink); flex-shrink: 0; }
.dropzone span { display: flex; flex-direction: column; }
.dropzone small { color: var(--muted); font-size: .85rem; }
.photo-previews { display: flex; flex-wrap: wrap; gap: 8px; }
.photo-previews:empty { display: none; }
.photo-previews li { position: relative; width: 72px; height: 72px; border-radius: 8px; overflow: hidden; background: var(--line); }
.photo-previews img { width: 100%; height: 100%; object-fit: cover; }
.photo-previews button { position: absolute; top: 3px; right: 3px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(26,25,23,.75); color: #fff; font-size: 14px; line-height: 1; cursor: pointer; }
.input-file { font: inherit; font-size: .92rem; padding: 12px; border: 1.5px dashed var(--line-strong); border-radius: var(--radius-sm); background: #fff; width: 100%; }
.form-note { color: var(--muted); font-size: .83rem; margin: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.flash { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); margin-top: 20px; }
.flash p { margin: 4px 0 0; }
.flash--success { background: #EAF5EE; color: var(--success); border: 1px solid #BFE0CB; }
.flash--error { background: #FDECEA; color: var(--error); border: 1px solid #F5C2BC; }
.flash--error a { font-weight: 600; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* ── Pied de page ── */
.site-footer { background: var(--dark); color: rgba(255,255,255,.72); padding-block: 56px 24px; font-size: .94rem; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; } }
.footer-brand img { height: 44px; width: auto; filter: brightness(0) invert(1); opacity: .9; margin-bottom: 18px; }
.footer-brand p { max-width: 40ch; }
.footer-contact { display: grid; gap: 10px; margin-top: 20px; }
.footer-contact a, .footer-contact span { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.footer-contact a:hover, .footer-col a:hover { color: #fff; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { text-decoration: none; }
.footer-title { color: #fff; font-weight: 600; margin-bottom: 4px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; color: rgba(255,255,255,.5); }
.site-footer .mh-consent-link { color: rgba(255,255,255,.6); }

/* ── Animations discrètes ── */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
