/*
Theme Name: Binca
Author: Binca
Description: Thème bloc sur mesure pour Binca — propriétés d'exception. Généré depuis la maquette HTML.
Version: 1.0.3
Requires at least: 6.6
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: binca
*/
/* Binca — palette prélevée sur la référence */
:root {
  --noir: #0b0b0b;
  --anthracite: #141414;
  --creme: #feeecb;
  --sable: #e8d5aa;
  --pierre: #8a8a85;
  --blanc: #ffffff;
  --sans: "Inter Tight", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --r: 18px;
  --gut: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; overflow-x: clip; }
body { background: var(--noir); color: var(--blanc); font: 300 15px/1.55 var(--sans); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, select, input, textarea { font: inherit; color: inherit; }

h1, h2, h3 { font-weight: 400; letter-spacing: -0.035em; line-height: 1.02; hyphens: none; text-wrap: balance; }
h1 em, h2 em, .wordmark em, .hero-since em, .footer-top em {
  font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em;
}
h2 { font-size: clamp(34px, 4.2vw, 60px); }
.center { text-align: center; }

.eyebrow { font-size: 12px; letter-spacing: 0.02em; color: rgba(255,255,255,.6); margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.eyebrow.center { justify-content: center; }
.eyebrow.dark { color: rgba(0,0,0,.55); }
.dot { width: 14px; height: 14px; border: 1px solid currentColor; border-radius: 50%; display: inline-block; }
.muted { color: #5c5c58; }
.muted-light { color: rgba(255,255,255,.55); font-size: 14px; }

/* Boutons */
.btn .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 24px; border-radius: 999px; font-size: 14px; font-weight: 400; border: 0; cursor: pointer; white-space: nowrap; transition: transform .2s, background .2s; }
.btn .wp-block-button__link:hover { transform: translateY(-1px); }
.btn-sm .wp-block-button__link { height: 38px; padding: 0 18px; font-size: 13px; }
.btn-white .wp-block-button__link { background: var(--blanc); color: var(--noir); }
.btn-black .wp-block-button__link { background: var(--noir); color: var(--blanc); }
.btn-dark .wp-block-button__link { background: var(--anthracite); color: var(--blanc); border: 1px solid rgba(255,255,255,.08); }
.btn-glass .wp-block-button__link { background: rgba(255,255,255,.12); color: var(--blanc); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.15); }
.link .wp-block-button__link { font-size: 14px; color: #3a3a38; }
.link-dark .wp-block-button__link { font-size: 13px; color: var(--noir); border-bottom: 1px solid currentColor; }

/* HERO */
.hero { position: relative; margin: var(--gut); border-radius: var(--r); overflow: hidden; min-height: min(calc(100vh - 2 * var(--gut)), 900px); display: flex; flex-direction: column; padding: 22px 28px 28px; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; z-index: -2; filter: brightness(.6) saturate(.7) contrast(1.05); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,14,34,.75) 0%, rgba(8,16,36,.35) 45%, rgba(0,0,0,.75) 100%); }

.hero::before, .cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #16305f 0%, #0e1f44 55%, transparent 85%); mix-blend-mode: color; opacity: .85; pointer-events: none; }
.nav { display: flex; justify-content: space-between; align-items: center; }
.nav-links { display: flex; gap: 30px; font-size: 13px; }
.nav-links a { opacity: .85; }
.nav-links a[aria-current] { opacity: 1; border-bottom: 1px solid currentColor; }
.nav-logo { font-size: 26px; letter-spacing: -0.06em; line-height: 1; margin-right: 40px; }
.nav-logo em { font-family: var(--serif); font-style: italic; letter-spacing: -0.02em; }
.page-accueil .nav-logo { display: none; }
.nav { gap: 24px; }
.nav-links { margin-right: auto; }
.nav-burger { display: none; background: none; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; height: 40px; padding: 0 18px; font-size: 13px; cursor: pointer; }
.nav-links a:hover { opacity: 1; }
.nav-actions { display: flex; align-items: center; gap: 22px; font-size: 13px; }
.nav-actions .btn { height: 40px; }

.wordmark { font-weight: 400; font-size: clamp(90px, 26vw, 400px); letter-spacing: -0.075em; line-height: .8; text-align: center; margin-top: clamp(40px, 7vh, 90px); margin-left: -0.03em; }
.wordmark em { letter-spacing: -0.03em; }
.hero-since { position: absolute; right: 28px; top: 44%; text-align: right; font-size: 14px; line-height: 1.1; opacity: .9; }
.hero-since em { font-size: 26px; }

.hero-bottom { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.hero-left h1 { font-size: clamp(34px, 3.8vw, 58px); margin-bottom: 26px; }
.hero-thumb { position: relative; display: block; width: 230px; aspect-ratio: 16/10; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.25); }
.hero-thumb img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.7); }
.play { position: absolute; top: 42%; left: 50%; transform: translate(-50%,-50%); width: 38px; height: 38px; border-radius: 50%; background: var(--blanc); color: var(--noir); display: grid; place-items: center; }
.hero-thumb-cap { position: absolute; left: 10px; bottom: 8px; font-size: 11px; }
.hero-right { max-width: 560px; display: flex; flex-direction: column; align-items: flex-end; gap: 22px; }
.hero-right > p { max-width: 280px; font-size: 13px; text-align: right; opacity: .85; }
.search { display: flex; gap: 8px; align-items: flex-end; }
.search-field { display: flex; flex-direction: column; gap: 5px; font-size: 11px; opacity: .95; }
.search-field .select { appearance: none; height: 42px; min-width: 128px; padding: 0 16px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(10px); font-size: 13px; cursor: pointer; }
.search-field .select option { color: var(--noir); }
.search .btn { height: 42px; }

/* PARTENAIRES */
.partners { padding: 70px 0 40px; }
.partner-row { display: grid; grid-template-columns: 0.4fr repeat(5, 1fr) 0.4fr; gap: 12px; }
.partner-row::before, .partner-row::after { content: ""; background: var(--anthracite); border-radius: 12px; }
.partner-row li { background: var(--anthracite); border-radius: 12px; height: 96px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; font-weight: 500; letter-spacing: -0.02em; }
.partner-row li:last-child { display: none; }

/* INTRO */
.intro { padding: 110px 6vw 150px; }
.intro-head { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: start; margin-bottom: 90px; }
.intro-text { padding-top: 34px; max-width: 470px; justify-self: end; }
.intro-text p { font-size: 14px; color: rgba(255,255,255,.8); margin-bottom: 22px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6vw; max-width: 1180px; margin: 0 auto; }
.stat { background: var(--creme); color: var(--noir); border-radius: 0 0 16px 16px; clip-path: polygon(50% 0, 100% 24%, 100% 100%, 0 100%, 0 24%); padding: 38% 22px 26px; display: flex; flex-direction: column; min-height: 330px; }
.stat.low { transform: translateY(70px); }
.stat .num { font: 400 clamp(46px, 4.6vw, 70px)/1 var(--serif); letter-spacing: -0.03em; text-align: center; margin-bottom: auto; }
.stat-label { font-size: 14px; font-weight: 500; margin-top: 30px; }
.stat-sub { font-size: 12px; color: #6b6558; }

/* À LA UNE */
.feature { display: grid; grid-template-columns: 1fr 1fr; margin: 40px var(--gut) 0; min-height: 560px; }
.feature-media { position: relative; overflow: hidden; }
.feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.7)); }
.feature-cap { position: absolute; left: 34px; bottom: 34px; z-index: 1; }
.feature-cap h3 { font-size: clamp(30px, 3vw, 44px); margin-bottom: 6px; }
.feature-price { font-size: 18px; margin-bottom: 20px; opacity: .9; }
.dots { position: absolute; right: 34px; bottom: 44px; z-index: 1; display: flex; gap: 6px; }
.dots span { width: 18px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.4); }
.dots span.on { width: 40px; background: var(--blanc); }
.feature-panel { background: var(--blanc); color: var(--noir); padding: 56px 5vw; display: flex; flex-direction: column; justify-content: center; }
.feature-panel h2 { margin-bottom: 22px; }
.feature-panel .muted { font-size: 14px; max-width: 460px; margin-bottom: 28px; }
.checks { display: grid; gap: 12px; margin-bottom: 44px; font-size: 14px; }
.checks li { display: flex; gap: 12px; align-items: center; }
.checks li::before { content: "✓"; font-size: 12px; }
.feature-actions { display: flex; align-items: center; gap: 28px; }

/* CATALOGUE */
.catalog { padding: 150px 4vw 120px; }
.catalog h2 { margin-bottom: 18px; }
.tabs { display: flex; width: max-content; max-width: 100%; margin: 38px auto 44px; padding: 4px; border-radius: 999px; background: #d9d9d9; overflow-x: auto; }
.tab { border: 0; background: none; color: #555; height: 36px; padding: 0 22px; border-radius: 999px; font-size: 13px; cursor: pointer; white-space: nowrap; }
.tab.is-active { background: var(--blanc); color: var(--noir); box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1240px; margin: 0 auto; }
.card { background: var(--blanc); color: var(--noir); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.is-hidden { display: none !important; }
.card-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 14px; left: 14px; background: var(--blanc); border-radius: 999px; padding: 4px 12px; font-size: 11px; }
.fav { position: absolute; top: 10px; right: 14px; color: var(--blanc); font-size: 20px; }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 20px; letter-spacing: -0.02em; margin-bottom: 8px; }
.card-desc { font-size: 13px; color: #6a6a66; margin-bottom: 16px; }
.feats { display: flex; gap: 18px; font-size: 12px; color: #6a6a66; padding-bottom: 18px; border-bottom: 1px solid #ececec; margin-bottom: 18px; }
.feats li::before { content: ""; display: inline-block; width: 7px; height: 7px; border: 1px solid currentColor; border-radius: 2px; margin-right: 6px; }
.card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
.price { font: 400 30px/1 var(--serif); letter-spacing: -0.02em; }
.catalog-more { text-align: center; margin-top: 60px; display: flex; flex-direction: column; align-items: center; gap: 16px; }

/* GALERIE */
.gallery { padding: 60px 0 140px; }
.gallery h2 { margin-bottom: 60px; }
.mosaic { display: grid; grid-template-columns: 0.12fr 1fr 1fr 1fr 0.12fr; gap: 10px; height: clamp(520px, 52vw, 800px); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; filter: saturate(.75) brightness(.9); }
.edge { overflow: hidden; }
.col { display: grid; gap: 10px; min-height: 0; }
.col:nth-child(2) { grid-template-rows: 0.8fr 1.2fr; }
.col:nth-child(3) { grid-template-rows: 1.25fr 0.75fr; }
.col:nth-child(4) { grid-template-rows: 1fr 1fr; }
.col img { min-height: 0; }

/* CTA */
.cta { position: relative; margin: 0 var(--gut); border-radius: var(--r); overflow: hidden; min-height: 620px; display: grid; place-items: center; text-align: center; isolation: isolate; }
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: brightness(.55) saturate(.7); }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(6,12,28,.35), rgba(4,8,18,.7)); }
.cta-inner { max-width: 760px; padding: 40px 24px; }
.cta h2 { font-size: clamp(38px, 4.8vw, 68px); margin-bottom: 20px; }
.cta p { font-size: 14px; opacity: .85; max-width: 440px; margin: 0 auto 32px; }
.cta-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* FOOTER */
.footer { margin: 80px var(--gut) var(--gut); background: var(--anthracite); border-radius: var(--r); padding: 60px 4vw 26px; overflow: hidden; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 70px; }
.footer-top h2 { font-size: clamp(30px, 3.4vw, 48px); }
.newsletter { display: flex; gap: 6px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 999px; padding: 5px 5px 5px 20px; width: min(440px, 100%); }
.newsletter input { flex: 1; background: none; border: 0; outline: 0; font-size: 13px; min-width: 0; }
.footer-mid { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.house-line { width: 220px; color: rgba(255,255,255,.55); }
.footer-cols { display: grid; grid-template-columns: repeat(3, auto); gap: 70px; font-size: 13px; }
.footer-cols li { margin-bottom: 9px; color: rgba(255,255,255,.65); }
.footer-cols .h { color: var(--blanc); margin-bottom: 14px; }
.footer-cols a:hover { color: var(--blanc); }
.footer-mark { font-weight: 400; font-size: clamp(90px, 21vw, 330px); letter-spacing: -0.075em; line-height: .78; text-align: right; margin: 40px -0.04em 30px 0; }
.footer-legal { display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,.45); border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; }

/* ===== PAGES INTERNES ===== */

/* En-tête de page */
.hero-page { min-height: 560px; }
.hero-short { min-height: 440px; }
.hero-page .hero-left h1 { font-size: clamp(52px, 6.4vw, 104px); line-height: .95; margin-bottom: 0; }
.crumb { font-size: 12px; opacity: .7; margin-bottom: 18px; }
.crumb a:hover { text-decoration: underline; }
.hero-page .hero-right > p { max-width: 320px; }
.hero-price { font: 400 44px/1 var(--serif) !important; letter-spacing: -0.02em; opacity: 1 !important; max-width: none !important; }

/* Catalogue complet */
.catalog-full { padding-top: 70px; }
.filters { max-width: 1240px; margin: 0 auto 36px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.filters .tabs { margin: 0; }
.search-dark .search-field .select { background: var(--anthracite); border-color: rgba(255,255,255,.1); backdrop-filter: none; }
.pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 56px; font-size: 13px; }
.pager > a:not(.btn), .pager span { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: rgba(255,255,255,.6); }
.pager a.is-current { background: var(--blanc); color: var(--noir); }
.pager .btn { margin-left: 12px; }

/* Fiche bien */
.intro-bien { padding: 90px 6vw 150px; }
.bien-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 280px 280px; gap: 10px; margin: 0 var(--gut); }
.bien-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.bien-gallery .big { grid-row: span 2; }
.bien-body { display: grid; grid-template-columns: 1fr 380px; gap: 6vw; padding: 110px 6vw 60px; align-items: start; max-width: 1400px; margin: 0 auto; }
.prose h2 { margin-bottom: 30px; }
.prose > p:not(.eyebrow) { color: rgba(255,255,255,.78); font-size: 15px; max-width: 640px; margin-bottom: 18px; }
.prose h3 { font-size: 22px; margin: 44px 0 20px; }
.checks-2 { grid-template-columns: 1fr 1fr; max-width: 640px; color: rgba(255,255,255,.85); }
.agent { position: sticky; top: 24px; background: var(--blanc); color: var(--noir); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.agent-head { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.agent-head img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.agent-name { font-weight: 500; font-size: 16px; }
.agent-role { font-size: 12px; color: #6a6a66; }
.agent-text { font-size: 13px; color: #5c5c58; margin-bottom: 10px; }
.btn-line .wp-block-button__link { background: none; color: var(--noir); border: 1px solid #d9d9d9; }
.catalog-similar { padding-top: 90px; }
.catalog-similar h2 { margin-bottom: 44px; }

/* Équipe */
.team { padding: 140px 4vw 140px; }
.team h2 { margin-bottom: 56px; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 1240px; margin: 0 auto; }
.team-grid img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 16px; margin-bottom: 16px; filter: saturate(.85); }
.team-name { font-size: 17px; font-weight: 400; letter-spacing: -0.02em; }
.team-role { font-size: 12px; color: rgba(255,255,255,.55); }

/* Services */
.services { padding: 110px 6vw 60px; }
.services .intro-head { margin-bottom: 70px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 1240px; margin: 0 auto; }
.tile { background: var(--anthracite); border-radius: 16px; padding: 40px 40px 44px; display: flex; flex-direction: column; }
.tile-num { font: 400 64px/1 var(--serif); color: var(--creme); margin-bottom: 40px; }
.tile h3 { font-size: 30px; margin-bottom: 14px; }
.tile h3 em { font-family: var(--serif); font-style: italic; }
.tile > p { font-size: 14px; color: rgba(255,255,255,.7); max-width: 440px; margin-bottom: 26px; }
.tile .checks { margin: 0; color: rgba(255,255,255,.85); font-size: 13px; }
.steps-wrap { padding: 120px 6vw 140px; }
.steps-wrap h2 { margin-bottom: 70px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6vw; max-width: 1180px; margin: 0 auto; }
.steps .li { background: var(--creme); color: var(--noir); clip-path: polygon(50% 0, 100% 24%, 100% 100%, 0 100%, 0 24%); border-radius: 0 0 16px 16px; padding: 38% 22px 28px; min-height: 300px; display: flex; flex-direction: column; }
.steps .li:nth-child(even) { transform: translateY(70px); }
.steps .num { font: 400 64px/1 var(--serif); text-align: center; margin-bottom: auto; }
.steps h3 { font-size: 16px; font-weight: 500; letter-spacing: -0.01em; margin-top: 26px; }
.steps p { font-size: 12px; color: #6b6558; }

/* Galerie complète */
.gallery-full { padding: 70px var(--gut) 120px; }
.gallery-full .tabs { margin: 0 auto 36px; }
.masonry { columns: 3 320px; column-gap: 10px; }
.shot { position: relative; break-inside: avoid; margin: 0 0 10px; border-radius: 10px; overflow: hidden; }
.shot img { width: 100%; filter: saturate(.8) brightness(.92); transition: transform .5s; }
.shot:hover img { transform: scale(1.03); }
.shot figcaption { position: absolute; left: 14px; bottom: 12px; font-size: 12px; background: rgba(0,0,0,.45); backdrop-filter: blur(8px); padding: 5px 12px; border-radius: 999px; }
.shot:nth-child(3n+1) img { aspect-ratio: 4/5; object-fit: cover; }
.shot:nth-child(3n+2) img { aspect-ratio: 4/3; object-fit: cover; }
.shot:nth-child(3n) img { aspect-ratio: 1/1; object-fit: cover; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 6vw; padding: 100px 6vw 60px; max-width: 1400px; margin: 0 auto; align-items: start; }
.contact-info h2 { margin-bottom: 26px; }
.contact-info > p:not(.eyebrow) { font-size: 15px; color: rgba(255,255,255,.78); max-width: 460px; margin-bottom: 44px; }
.contact-steps { list-style: none; display: grid; gap: 14px; }
.contact-steps .li { display: flex; align-items: center; gap: 16px; font-size: 14px; }
.contact-steps .num { width: 44px; height: 44px; border-radius: 50%; background: var(--creme); color: var(--noir); display: grid; place-items: center; font: 400 22px/1 var(--serif); }
.contact-form { background: var(--blanc); color: var(--noir); border-radius: 16px; padding: 36px; display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; font-size: 12px; color: #5c5c58; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #d9d9d9; border-radius: 12px; padding: 12px 14px; font-size: 14px; color: var(--noir); background: var(--blanc); outline: none; resize: vertical; }
.field input, .field select { height: 46px; padding-top: 0; padding-bottom: 0; }
.field :focus { border-color: var(--noir); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; color: #5c5c58; }
.consent input { margin-top: 3px; accent-color: var(--noir); }
.contact-form .btn { justify-self: start; }

/* RESPONSIVE */
@media (max-width: 900px) {
  :root { --gut: 8px; }
  .nav-links { display: none; }
  .hero { padding: 18px; min-height: 760px; }
  .hero-since { display: none; }
  .hero-bottom { flex-direction: column; align-items: stretch; }
  .hero-right { align-items: stretch; }
  .hero-right > p { text-align: left; }
  .search { flex-wrap: wrap; }
  .search-field { flex: 1 1 40%; }
  .search-field .select { min-width: 0; width: 100%; }
  .search .btn { flex: 1 1 100%; }
  .partner-row { grid-template-columns: repeat(2, 1fr); margin: 0 16px; }
  .partner-row::before, .partner-row::after { display: none; }
  .partner-row li:nth-child(n+5) { display: none; }
  .intro { padding: 70px 20px 110px; }
  .intro-head { grid-template-columns: 1fr; gap: 10px; margin-bottom: 50px; }
  .intro-text { justify-self: start; padding-top: 10px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { min-height: 250px; padding: 30% 16px 20px; }
  .stat.low { transform: translateY(40px); }
  .feature { grid-template-columns: 1fr; }
  .feature-media { min-height: 420px; }
  .feature-panel { padding: 44px 24px; }
  .feature-actions { flex-wrap: wrap; gap: 16px; }
  .catalog { padding: 100px 12px 80px; }
  .tabs { justify-content: flex-start; }
  .cards { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; height: auto; padding: 0 8px; }
  .edge, .col:nth-child(4) { display: none; }
  .col { grid-template-rows: 180px 260px !important; }
  .cta { min-height: 540px; }
  .footer { padding: 44px 20px 20px; }
  .footer-top, .footer-mid { flex-direction: column; align-items: flex-start; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px 40px; }
  .footer-legal { flex-direction: column; gap: 6px; }
  .nav-burger { display: inline-flex; align-items: center; }
  .nav-logo { margin-right: 0; }
  .nav.is-open .nav-links { display: flex; flex-direction: column; gap: 18px; position: absolute; top: 76px; left: 12px; right: 12px; z-index: 5; background: rgba(11,11,11,.96); border-radius: 14px; padding: 24px; font-size: 22px; }
  .hero-page { min-height: 520px; }
  .hero-short { min-height: 400px; }
  .hero-page .hero-right { align-items: flex-start; }
  .filters { flex-direction: column; align-items: stretch; }
  .bien-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 140px 140px; }
  .bien-gallery .big { grid-column: span 2; grid-row: auto; }
  .bien-gallery img:last-child { display: none; }
  .bien-body, .contact { grid-template-columns: 1fr; padding: 70px 20px 40px; gap: 48px; }
  .checks-2 { grid-template-columns: 1fr; }
  .team { padding: 90px 12px; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .services { padding: 70px 20px 40px; }
  .tiles { grid-template-columns: 1fr; }
  .tile { padding: 30px 24px; }
  .steps-wrap { padding: 90px 20px 110px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 12px; }
  .steps .li { min-height: 240px; padding: 30% 16px 20px; }
  .steps .li:nth-child(even) { transform: translateY(40px); }
  .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
}


/* =====================================================================
   ADAPTATIONS WORDPRESS — le DOM des blocs natifs diffère de la maquette.
   Le CSS des blocs est imprimé APRÈS cette feuille : toute surcharge
   d'un style de bloc doit être plus spécifique (blocs-gutenberg.md).
   ===================================================================== */

/* Filets de sécurité à spécificité nulle (blockGap coupé dans theme.json) */
:where(.wp-block-group) > :where(*), :where(.wp-block-buttons) { margin-block: 0; }
figure.wp-block-image { margin: 0; }
img { height: auto; }
.wp-site-blocks { position: relative; }
.wp-element-caption { margin: 0; }

/* ---- En-tête : posé au-dessus du héros de chaque page ---- */
.site-header { position: absolute; top: var(--gut); left: var(--gut); right: var(--gut); z-index: 20; padding: 22px 28px 0; }
.hero { padding-top: 62px; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav .nav-logo a { color: var(--blanc); }
.nav .nav-links { font-size: 13px; margin-right: auto; color: var(--blanc); }
.nav .nav-links .wp-block-navigation__container { gap: 30px; }
.nav .nav-links .wp-block-navigation-item__content { opacity: .85; padding: 0; }
.nav .nav-links .wp-block-navigation-item__content:hover,
.nav .nav-links .current-menu-item > .wp-block-navigation-item__content { opacity: 1; }
.nav .nav-links .current-menu-item > .wp-block-navigation-item__content { border-bottom: 1px solid currentColor; }
.nav .nav-actions .wp-block-button__link { height: 40px; }
.nav .nav-links .wp-block-navigation__responsive-container-open { border: 1px solid rgba(255,255,255,.3); border-radius: 999px; height: 40px; width: 40px; justify-content: center; align-items: center; color: var(--blanc); }
.wp-block-navigation.nav-links .wp-block-navigation__responsive-container.is-menu-open {
  background-color: rgba(11,11,11,.97) !important; color: var(--blanc) !important; padding: 28px;
}
.wp-block-navigation.nav-links .is-menu-open .wp-block-navigation__container { gap: 18px; font-size: 26px; }
.home .nav-logo { display: none; }

/* ---- Boutons : la classe est sur le conteneur, le style sur le lien ---- */
.wp-block-button.btn, .wp-block-button.link, .wp-block-button.link-dark { display: inline-block; background: none; border: 0; padding: 0; height: auto; }
.wp-block-button.link .wp-block-button__link, .wp-block-button.link-dark .wp-block-button__link { background: none; padding: 0; border-radius: 0; height: auto; display: inline; }
.btn .wp-block-button__link { text-decoration: none; }
.search .wp-block-button__link { height: 42px; }
.pager .wp-block-buttons { margin-left: 12px; }

/* ---- Puce cerclée des surtitres (ancien <span class="dot">) ---- */
.has-dot::before { content: ""; width: 14px; height: 14px; border: 1px solid currentColor; border-radius: 50%; display: inline-block; flex: none; }

/* ---- Images de fond : la figure prend la place, l'img la remplit ---- */
.hero > .hero-bg, .cta > .wp-block-image, .feature-media > .wp-block-image, .card-img > .wp-block-image { position: absolute; inset: 0; }
.hero > .hero-bg { z-index: -2; filter: none; width: auto; height: auto; }
.cta > .wp-block-image { z-index: -2; }
.hero .hero-bg img, .cta .wp-block-image img, .feature-media .wp-block-image img, .card-img .wp-block-image img,
.hero-thumb .wp-block-image img, .mosaic .wp-block-image img, .bien-gallery .wp-block-image img, .agent-head .wp-block-image img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero .hero-bg img { object-position: 50% 60%; filter: brightness(.6) saturate(.7) contrast(1.05); }
.cta .wp-block-image img { filter: brightness(.55) saturate(.7); }
.card-img .wp-block-image img { position: absolute; inset: 0; }
.feature-cap { z-index: 1; }

/* Vignette vidéo du héros */
.hero-thumb .wp-block-image, .hero-thumb .wp-block-image a { display: block; height: 100%; }
.hero-thumb .wp-block-image img { filter: brightness(.7); }
.hero-thumb::after { content: ""; position: absolute; top: 42%; left: 50%; transform: translate(-50%,-50%); width: 38px; height: 38px; border-radius: 50%;
  background: var(--blanc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%230b0b0b'/%3E%3C/svg%3E") center / 14px no-repeat; pointer-events: none; }

/* Barre de recherche (visuelle : le bouton mène au catalogue) */
.search-field .select { appearance: none; height: 42px; min-width: 128px; padding: 0 16px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(10px); font-size: 13px; display: flex; align-items: center; position: relative; }
.search-dark .search-field .select { background: var(--anthracite); border-color: rgba(255,255,255,.1); backdrop-filter: none; }

/* Pictogrammes partenaires (anciens SVG inline) */
.partner-row li::before { content: ""; width: 14px; height: 14px; background: currentColor; flex: none; }
.partner-row li:nth-child(1)::before { clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.partner-row li:nth-child(2)::before { border-radius: 3px; }
.partner-row li:nth-child(3)::before { clip-path: polygon(0 0, 100% 0, 100% 30%, 30% 30%, 30% 100%, 0 100%); }
.partner-row li:nth-child(4)::before { background: none; border: 3px solid currentColor; border-radius: 50%; }
.partner-row li:nth-child(5)::before { clip-path: polygon(50% 0, 63% 35%, 100% 38%, 70% 60%, 80% 100%, 50% 78%, 20% 100%, 30% 60%, 0 38%, 37% 35%); }

/* Indicateur du carrousel « à la une » (ancien .dots) */
.feature-media::before { content: ""; position: absolute; right: 34px; bottom: 44px; z-index: 1; width: 88px; height: 3px;
  background: linear-gradient(90deg, #fff 0 40px, transparent 40px 46px, rgba(255,255,255,.4) 46px 64px, transparent 64px 70px, rgba(255,255,255,.4) 70px 88px); }

/* Galerie mosaïque */
.mosaic .wp-block-image { height: 100%; min-height: 0; }
.mosaic .wp-block-image img { border-radius: 6px; filter: saturate(.75) brightness(.9); }

/* Fiche bien, équipe, galerie complète */
.bien-gallery > .wp-block-image { height: 100%; }
.bien-gallery .wp-block-image img { border-radius: 12px; }
.agent-head .wp-block-image { width: 60px; height: 60px; flex: none; }
.agent-head .wp-block-image img { border-radius: 50%; object-position: 50% 20%; }
.team-grid .wp-block-image { margin-bottom: 16px; }
.team-grid .wp-block-image img { margin-bottom: 0; }
.shot figcaption.wp-element-caption { color: var(--blanc); text-align: left; }

/* Pagination */
.pager > p > a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: rgba(255,255,255,.6); }
.pager > p:not(:has(a)) { width: 38px; text-align: center; color: rgba(255,255,255,.6); }
.pager > p.is-current > a { background: var(--blanc); color: var(--noir); }

/* Onglets (paragraphes éditables, rôle bouton posé par le script) */
.tabs .tab { cursor: pointer; display: flex; align-items: center; }

/* ---- Pied de page ---- */
.footer-mid::before { content: ""; width: 220px; height: 150px; flex: none; opacity: .55;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 150'%3E%3Cpath d='M10 145V70L110 8l100 62v75M10 145h200M40 145V88h40v57M110 8v137M130 88h55v30h-55zM157 88v30' fill='none' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.footer-col .wp-block-list li { margin-bottom: 9px; color: rgba(255,255,255,.65); }
.footer-col .h { color: var(--blanc); margin-bottom: 14px; font-size: 13px; }
.footer-cols { font-size: 13px; }
.footer-cols a:hover { color: var(--blanc); }
.footer-top .wpcf7 { width: min(440px, 100%); }

/* ---- Contact Form 7 ---- */
.wpcf7-form-control-wrap { display: block; }
.wpcf7-spinner { display: none; }
.wpcf7 .wpcf7-not-valid-tip { font-size: 12px; color: #c0392b; margin-top: 4px; }
.wpcf7 form .wpcf7-response-output { margin: 12px 0 0; padding: 10px 14px; border-radius: 12px; font-size: 13px; border: 1px solid currentColor; }
.wpcf7 input[type="submit"] { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 24px; border-radius: 999px; font-size: 14px; border: 0; cursor: pointer; background: var(--noir); color: var(--blanc); justify-self: start; }
.newsletter { display: flex; gap: 6px; align-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 999px; padding: 5px 5px 5px 20px; }
.newsletter .wpcf7-form-control-wrap { flex: 1; min-width: 0; }
.newsletter input[type="email"] { width: 100%; background: none; border: 0; outline: 0; font-size: 13px; color: var(--blanc); }
.newsletter input[type="submit"] { flex: none; width: auto; height: 38px; padding: 0 18px; font-size: 13px; background: var(--blanc); color: var(--noir); }
.contact-form .consent .wpcf7-list-item { margin: 0; }
.contact-form .consent label { display: flex; gap: 10px; align-items: flex-start; }

/* ---- 404 ---- */
.page-404 { min-height: 70vh; padding: 200px 6vw 120px; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.page-404 h1 { font-size: clamp(44px, 6vw, 90px); }

/* ---- Responsive propre aux blocs ---- */
@media (min-width: 600px) and (max-width: 900px) {
  .nav .nav-links .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
  .nav .nav-links .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
@media (max-width: 900px) {
  .nav .nav-links { display: flex; }
  .site-header { padding: 18px 18px 0; }
  .hero { padding-top: 58px; }
  .nav .nav-links { order: 3; margin-right: 0; }
  .nav .nav-logo { margin-right: auto; }
  .search .wp-block-buttons { flex: 1 1 100%; }
  .search .wp-block-button, .search .wp-block-button__link { width: 100%; }

}

/* Collisions de sélecteurs apparues avec les paragraphes de blocs */
.tile > p.tile-num { font-size: 64px; margin-bottom: 40px; color: var(--creme); max-width: none; }
.masonry > .shot.wp-block-image { margin: 0 0 10px; }

/* Porte 4 — derniers écarts mesurés */
.hero .search-field:nth-child(2) .select { min-width: 146px; }
.field textarea { display: block; }
.consent .wpcf7-form-control-wrap, .consent .wpcf7-form-control, .consent .wpcf7-list-item { display: block; }
.wpcf7 input[type="submit"] { font-weight: 400; }
.agent .wp-block-buttons { flex-direction: column; align-items: stretch; gap: 12px; }
.agent .wp-block-button, .agent .wp-block-button__link { width: 100%; }
