/* =====================================================================
   Obberg Immo – design du site n°4.
   Tout est rangé sous .ob3 (classe posée sur #wrapwrap du site n°4 seulement),
   pour ne jamais toucher les autres sites ni entrer en conflit avec le style d'Odoo.
   Couleurs Obberg : rouge #E52427, encre #1E1F21, rose poudré #F9F4F2.
   ===================================================================== */
.ob3 {
  --ob-bg: #f9f4f2;
  --ob-surface: #ffffff;
  --ob-ink: #1e1f21;
  --ob-muted: #62656a;
  --ob-line: #e9e2df;
  --ob-field-line: #948b87;
  --ob-accent: #e52427;
  --ob-accent-hover: #c41a1d;
  --ob-accent-text: #c8191c;
  --ob-accent-soft: #fde9e9;
  --ob-band: #1e1f21;
  --ob-band-ink: #f4f1ee;
  --ob-band-muted: #b9b6b3;
  --ob-on-band-accent: #ff5c5f;
  --ob-shadow: 0 1px 2px rgba(30, 31, 33, .06), 0 8px 24px rgba(30, 31, 33, .09);
  --ob-f-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --ob-f-body: "Public Sans", "Segoe UI", system-ui, sans-serif;
  --ob-f-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --ob-r: 10px;
  /* Couleurs Bootstrap/Odoo reprises par les pages natives (fiche de bien, rendez-vous, formulaires) */
  --bs-primary: #e52427;
  --bs-primary-rgb: 229, 36, 39;
  --bs-link-color: #c8191c;
  --bs-link-color-rgb: 200, 25, 28;
  --bs-link-hover-color: #9e1316;
  --bs-body-font-family: var(--ob-f-body);
  font-family: var(--ob-f-body);
  color: var(--ob-ink);
  background: var(--ob-surface);
  -webkit-font-smoothing: antialiased;
}
.ob3 h1, .ob3 h2, .ob3 h3, .ob3 .h1, .ob3 .h2, .ob3 .h3 { font-family: var(--ob-f-display); letter-spacing: -.015em; text-wrap: balance; }
.ob3 a { color: var(--ob-accent-text); }
.ob3 :focus-visible { outline: 2px solid var(--ob-accent); outline-offset: 2px; }
.ob3 .ob-wrap { max-width: 1180px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.ob3 .ob-ico { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ob3 .ob-num { font-family: var(--ob-f-mono); font-variant-numeric: tabular-nums; }
.ob3 .ob-eyebrow { display: block; font: 500 .75rem/1.3 var(--ob-f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ob-muted); margin: 0 0 6px; }
.ob3 .ob-h2 { font: 800 clamp(1.7rem, 3.2vw, 2.5rem)/1.08 var(--ob-f-display); margin: 0; color: var(--ob-ink); }
.ob3 .ob-lead { color: var(--ob-muted); max-width: 62ch; margin: 12px 0 0; font-size: 1.02rem; }
.ob3 .ob-note { font-size: .82rem; color: var(--ob-muted); margin: 0; }

/* ---------- Boutons ---------- */
.ob3 .ob-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 8px; background: var(--ob-accent); color: #fff; font: 600 .95rem/1.2 var(--ob-f-body); padding: 11px 18px; cursor: pointer; min-height: 44px; white-space: nowrap; text-decoration: none; transition: background .15s, color .15s; }
.ob3 .ob-btn:hover { background: var(--ob-accent-hover); color: #fff; }
.ob3 .ob-btn-line { background: transparent; color: var(--ob-accent-text); border: 1.5px solid var(--ob-accent); }
.ob3 .ob-btn-line:hover { background: var(--ob-accent); color: #fff; }
.ob3 .ob-btn-white { background: #fff; color: #c41a1d; }
.ob3 .ob-btn-white:hover { background: var(--ob-accent-soft); color: #c41a1d; }
/* Boutons Odoo (formulaires, rendez-vous…) aux couleurs Obberg */
.ob3 .btn-primary, .ob3 .s_website_form_send { --bs-btn-bg: #e52427; --bs-btn-border-color: #e52427; --bs-btn-hover-bg: #c41a1d; --bs-btn-hover-border-color: #c41a1d; --bs-btn-active-bg: #b0171a; --bs-btn-active-border-color: #b0171a; --bs-btn-color: #fff; --bs-btn-hover-color: #fff; border-radius: 8px; font-weight: 600; }
.ob3 .s_website_form_send { background: #e52427; color: #fff; border: 0; padding: .75rem 2rem; text-transform: uppercase; letter-spacing: .04em; }
.ob3 .s_website_form_send:hover { background: #c41a1d; color: #fff; }

/* ---------- En-tête ---------- */
.ob3 .ob-header { position: sticky; top: 0; z-index: 1030; background: var(--ob-band); color: var(--ob-band-ink); }
.ob3 .ob-header-in { display: flex; align-items: center; gap: 18px; padding-top: 12px; padding-bottom: 12px; position: relative; }
.ob3 .ob-logo { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; flex: none; }
.ob3 .ob-logo svg { width: 40px; height: 40px; flex: none; }
.ob3 .ob-logo b { display: block; font: 800 1.3rem/1 var(--ob-f-display); letter-spacing: .02em; color: inherit; }
.ob3 .ob-logo small { display: block; font: 500 .66rem/1.2 var(--ob-f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ob-band-muted); margin-top: 3px; }
.ob3 .ob-footer .ob-logo small { color: var(--ob-band-muted); }
.ob3 .ob-nav { display: flex; gap: 18px; margin-left: 10px; flex-wrap: wrap; }
.ob3 .ob-nav a { color: var(--ob-band-ink); text-decoration: none; font-size: .92rem; opacity: .88; white-space: nowrap; }
.ob3 .ob-nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--ob-on-band-accent); }
.ob3 .ob-tools { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.ob3 .ob-tel { display: inline-flex; align-items: center; gap: 8px; color: var(--ob-band-ink); text-decoration: none; font: 500 .9rem var(--ob-f-mono); white-space: nowrap; }
.ob3 .ob-tel .ob-ico { font-size: 16px; color: var(--ob-on-band-accent); }
.ob3 .ob-burger { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: var(--ob-band-ink); cursor: pointer; place-items: center; padding: 0; }
.ob3 .ob-burger .ob-ico { font-size: 20px; }
@media (max-width: 1200px) {
  .ob3 .ob-tel span { display: none; }
  .ob3 .ob-tel { width: 42px; height: 42px; justify-content: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); }
}
@media (max-width: 1060px) {
  .ob3 .ob-burger { display: grid; }
  .ob3 .ob-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0; flex-direction: column; gap: 0; background: var(--ob-band); padding: 4px 16px 14px; box-shadow: 0 16px 30px rgba(0, 0, 0, .25); max-height: calc(100vh - 68px); overflow-y: auto; }
  .ob3 .ob-nav.ob-open { display: flex; }
  .ob3 .ob-nav a { padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
}
@media (max-width: 480px) { .ob3 .ob-header .ob-btn { display: none; } .ob3 .ob-header .ob-ipi { display: none; } }

/* ---------- Pied de page ---------- */
.ob3 .ob-footer { background: var(--ob-band); color: var(--ob-band-ink); }
.ob3 .ob-foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-top: 48px; padding-bottom: 32px; }
.ob3 .ob-foot-addr { color: var(--ob-band-muted); font-size: .92rem; margin: 14px 0 0; line-height: 1.6; }
.ob3 .ob-foot h2 { font: 500 .72rem/1 var(--ob-f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ob-band-muted); margin: 0 0 14px; }
.ob3 .ob-foot nav { display: grid; gap: 10px; align-content: start; }
.ob3 .ob-footer a { color: var(--ob-band-ink); text-decoration: none; font-size: .94rem; }
.ob3 .ob-footer a:hover { color: var(--ob-on-band-accent); }
.ob3 .ob-legal-line { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 20px; padding-bottom: 26px; display: flex; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; font-size: .84rem; color: var(--ob-band-muted); }
.ob3 .ob-legal-line a { font-size: .84rem; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .ob3 .ob-foot { grid-template-columns: 1fr 1fr; } .ob3 .ob-foot > div:first-child { grid-column: 1 / -1; } }

/* ---------- Sections des pages ---------- */
.ob3 .ob-sec { padding: 72px 0; background: var(--ob-surface); }
.ob3 .ob-sec.ob-alt { background: var(--ob-bg); }
.ob3 .ob-sec-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }

/* Bandeau d'accueil */
.ob3 .ob-hero { background: var(--ob-band); color: var(--ob-band-ink); overflow: hidden; padding: 0; }
.ob3 .ob-hero-in { padding-top: 48px; display: grid; gap: 20px; }
.ob3 .ob-hero .ob-eyebrow { color: var(--ob-band-muted); }
.ob3 .ob-hero h1 { font: 800 clamp(2.3rem, 6.2vw, 4.6rem)/1.05 var(--ob-f-display); letter-spacing: -.035em; max-width: 15ch; margin: 0; color: var(--ob-band-ink); }
.ob3 .ob-hero h1 em { font-style: normal; color: var(--ob-on-band-accent); }
.ob3 .ob-hero p { max-width: 56ch; opacity: .88; font-size: 1.05rem; margin: 0; color: var(--ob-band-ink); }
.ob3 .ob-skyline { display: block; width: 100%; height: auto; min-height: 60px; margin-top: 18px; }
.ob3 .ob-skyline svg { display: block; width: 100%; height: auto; }
@media (max-width: 600px) { .ob3 .ob-skyline svg { height: 150px; } }

/* Recherche */
.ob3 .ob-search-wrap { background: var(--ob-bg); padding-bottom: 8px; }
.ob3 .ob-search { position: relative; z-index: 2; margin-top: -34px; background: var(--ob-surface); border: 1px solid var(--ob-line); border-radius: 14px; box-shadow: var(--ob-shadow); padding: 14px; display: grid; grid-template-columns: auto repeat(3, minmax(0, 1fr)) auto; gap: 10px; align-items: end; }
.ob3 .ob-seg { display: inline-flex; background: var(--ob-bg); border: 1px solid var(--ob-line); border-radius: 999px; padding: 3px; align-self: end; }
.ob3 .ob-seg label { margin: 0; }
.ob3 .ob-seg input { position: absolute; opacity: 0; pointer-events: none; }
.ob3 .ob-seg span { display: block; padding: 9px 16px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .92rem; color: var(--ob-muted); }
.ob3 .ob-seg input:checked + span { background: var(--ob-accent); color: #fff; }
.ob3 .ob-seg input:focus-visible + span { outline: 2px solid var(--ob-accent); outline-offset: 2px; }
.ob3 .ob-field { display: grid; gap: 5px; min-width: 0; align-content: start; }
.ob3 .ob-field label { font: 500 .7rem/1.2 var(--ob-f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ob-muted); margin: 0; }
.ob3 .ob-field input, .ob3 .ob-field select { width: 100%; padding: 10px 12px; border: 1px solid var(--ob-field-line); border-radius: 8px; background: var(--ob-surface); min-height: 44px; font: inherit; color: var(--ob-ink); }
.ob3 .ob-field input[type="range"] { accent-color: var(--ob-accent); padding: 0; border: 0; min-height: 0; }
@media (max-width: 1100px) { .ob3 .ob-search { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ob3 .ob-search .ob-seg { grid-column: 1 / -1; justify-self: start; } .ob3 .ob-search .ob-btn { grid-column: 1 / -1; } }
@media (max-width: 700px) { .ob3 .ob-search { grid-template-columns: 1fr 1fr; } }
@media (max-width: 380px) { .ob3 .ob-search { grid-template-columns: 1fr; } }

/* Onglets ventes / locations */
.ob3 .ob-tabs { display: inline-flex; background: var(--ob-surface); border: 1px solid var(--ob-line); border-radius: 999px; padding: 3px; }
.ob3 .ob-tabs button { border: 0; background: none; padding: 8px 16px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--ob-muted); }
.ob3 .ob-tabs button[aria-pressed="true"] { background: var(--ob-ink); color: #fff; }

/* Grille de biens */
.ob3 .ob-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.ob3 .ob-cards { display: contents; }
@media (max-width: 1035px) { .ob3 .ob-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 693px) { .ob3 .ob-grid { grid-template-columns: 1fr; } }
.ob3 .ob-card { background: var(--ob-surface); border: 1px solid var(--ob-line); border-radius: var(--ob-r); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--ob-ink); transition: transform .2s, box-shadow .2s; min-width: 0; }
.ob3 .ob-card:hover { transform: translateY(-3px); box-shadow: var(--ob-shadow); color: var(--ob-ink); }
.ob3 .ob-card-img { position: relative; aspect-ratio: 16 / 10; background: #d8e2e8; overflow: hidden; }
.ob3 .ob-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s; }
.ob3 .ob-card:hover .ob-card-img img { transform: scale(1.04); }
.ob3 .ob-badge { position: absolute; left: 12px; top: 12px; background: var(--ob-accent); color: #fff; font: 600 .68rem/1 var(--ob-f-mono); letter-spacing: .08em; text-transform: uppercase; padding: 6px 9px; border-radius: 4px; }
.ob3 .ob-card-body { padding: 16px 18px 18px; display: grid; gap: 6px; }
.ob3 .ob-price { font: 800 1.4rem/1.1 var(--ob-f-display); color: var(--ob-ink); }
.ob3 .ob-price small { font: 500 .85rem var(--ob-f-body); color: var(--ob-muted); }
.ob3 .ob-price .ob-price-ask { font: 700 1.05rem/1.3 var(--ob-f-body); color: var(--ob-ink); }
.ob3 .ob-card-title { font: 600 1.05rem/1.3 var(--ob-f-body); margin: 0; color: var(--ob-ink); }
.ob3 .ob-loc { color: var(--ob-muted); font-size: .9rem; }
.ob3 .ob-specs { display: flex; gap: 8px 14px; flex-wrap: wrap; font-size: .86rem; color: var(--ob-muted); border-top: 1px solid var(--ob-line); padding-top: 10px; margin-top: 6px; }
.ob3 .ob-specs span { display: inline-flex; align-items: center; gap: 5px; }
.ob3 .ob-specs b { color: var(--ob-ink); font-weight: 600; }
.ob3 .ob-empty, .ob3 .ob-loading { grid-column: 1 / -1; border: 1px dashed var(--ob-field-line); border-radius: var(--ob-r); padding: 32px 24px; color: var(--ob-muted); background: var(--ob-surface); }
.ob3 .ob-empty strong { display: block; color: var(--ob-ink); font-size: 1.05rem; margin-bottom: 6px; }
.ob3 .ob-more-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

/* Services */
.ob3 .ob-svc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 32px; }
.ob3 .ob-svc article { background: var(--ob-bg); border: 1px solid var(--ob-line); border-radius: var(--ob-r); padding: 26px 24px; display: grid; gap: 12px; grid-template-rows: auto auto 1fr auto; }
.ob3 .ob-ic { width: 48px; height: 48px; border-radius: 12px; background: var(--ob-accent-soft); color: var(--ob-accent-text); display: grid; place-items: center; font-size: 24px; }
.ob3 .ob-svc h3 { font: 800 1.3rem/1.15 var(--ob-f-display); color: var(--ob-accent-text); margin: 0; }
.ob3 .ob-svc p { color: var(--ob-muted); font-size: .95rem; margin: 0; }
.ob3 .ob-more { justify-self: start; font-weight: 600; font-size: .92rem; color: var(--ob-accent-text); text-decoration: none; }
.ob3 .ob-more:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 960px) { .ob3 .ob-svc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ob3 .ob-svc { grid-template-columns: 1fr; } }

/* Offres */
.ob3 .ob-packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 32px; }
.ob3 .ob-pack { background: var(--ob-surface); border: 1.5px solid var(--ob-accent); border-radius: var(--ob-r); padding: 36px 28px 28px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; position: relative; }
.ob3 .ob-pack h3 { font: 800 2rem/1.1 var(--ob-f-display); margin: 0; color: var(--ob-ink); }
.ob3 .ob-rate { color: var(--ob-accent-text); font: 600 1.15rem var(--ob-f-mono); }
.ob3 .ob-ttc { font-size: .8rem; color: var(--ob-muted); }
.ob3 .ob-pack ul { list-style: none; padding: 0; margin: 14px 0 26px; display: grid; gap: 10px; color: var(--ob-muted); font-size: .95rem; }
.ob3 .ob-pack .ob-btn { margin-top: auto; }
.ob3 .ob-pack-hot { background: var(--ob-accent); color: #fff; box-shadow: var(--ob-shadow); }
.ob3 .ob-pack-hot h3, .ob3 .ob-pack-hot .ob-rate, .ob3 .ob-pack-hot .ob-ttc, .ob3 .ob-pack-hot ul { color: #fff; }
.ob3 .ob-pack-hot :focus-visible { outline-color: #fff; }
.ob3 .ob-reco { position: absolute; top: 12px; right: 14px; font: 600 .7rem/1 var(--ob-f-mono); letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 860px) { .ob3 .ob-packs { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; } }

/* Certificats */
.ob3 .ob-certs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.ob3 .ob-cert { background: var(--ob-surface); border: 1px solid var(--ob-line); border-radius: var(--ob-r); padding: 20px 20px 18px; display: grid; grid-template-rows: auto 1fr auto; gap: 8px; }
.ob3 .ob-cert h3 { font: 700 1.05rem/1.3 var(--ob-f-body); margin: 0; color: var(--ob-ink); }
.ob3 .ob-cert p { color: var(--ob-muted); font-size: .9rem; margin: 0; }
.ob3 .ob-cert-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid var(--ob-line); padding-top: 12px; margin-top: 6px; }
.ob3 .ob-cert-foot strong { font: 600 1.15rem var(--ob-f-mono); }
.ob3 .ob-cert-foot .ob-btn { min-height: 38px; padding: 8px 14px; font-size: .88rem; }
@media (max-width: 960px) { .ob3 .ob-certs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ob3 .ob-cert:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 600px) { .ob3 .ob-certs { grid-template-columns: 1fr; } }

/* Simulateur */
.ob3 .ob-sim-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; margin-top: 28px; }
.ob3 .ob-sim-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ob3 .ob-sim-form .ob-full { grid-column: 1 / -1; }
.ob3 .ob-sim-out { background: var(--ob-bg); border: 1px solid var(--ob-line); border-radius: 14px; padding: 24px; display: grid; gap: 18px; }
.ob3 .ob-big { font: 800 clamp(2.4rem, 5vw, 3.4rem)/1 var(--ob-f-display); letter-spacing: -.03em; color: var(--ob-accent-text); margin-top: 6px; }
.ob3 .ob-rows { display: grid; gap: 8px; }
.ob3 .ob-rows div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--ob-line); padding-bottom: 8px; font-size: .94rem; }
.ob3 .ob-rows div span:first-child { color: var(--ob-muted); }
.ob3 .ob-bar { display: flex; height: 12px; border-radius: 99px; overflow: hidden; background: var(--ob-line); }
.ob3 .ob-bar span { display: block; height: 100%; }
.ob3 .ob-legend { display: flex; gap: 16px; font-size: .82rem; color: var(--ob-muted); flex-wrap: wrap; margin-top: 8px; }
.ob3 .ob-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
@media (max-width: 820px) { .ob3 .ob-sim-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .ob3 .ob-sim-form { grid-template-columns: 1fr; } }

/* Étapes */
.ob3 .ob-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 30px; border-top: 2px solid var(--ob-accent); }
.ob3 .ob-step { padding: 18px 18px 0 0; display: grid; gap: 8px; align-content: start; }
.ob3 .ob-step .ob-n { font: 500 .8rem/1 var(--ob-f-mono); color: var(--ob-accent-text); }
.ob3 .ob-step h3 { font: 600 1.2rem/1.2 var(--ob-f-display); margin: 0; }
.ob3 .ob-step p { color: var(--ob-muted); font-size: .94rem; margin: 0; }
@media (max-width: 820px) { .ob3 .ob-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; } }
@media (max-width: 480px) { .ob3 .ob-steps { grid-template-columns: 1fr; } }

/* Bandeau contact */
.ob3 .ob-band { background: var(--ob-band); color: var(--ob-band-ink); padding: 56px 0; }
.ob3 .ob-band-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.ob3 .ob-band h2 { font: 800 clamp(1.6rem, 3vw, 2.2rem)/1.1 var(--ob-f-display); margin: 0; color: var(--ob-band-ink); }
.ob3 .ob-band p { margin: 10px 0 0; color: var(--ob-band-muted); }
.ob3 .ob-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* En-tête de page (À vendre, Estimation…) */
.ob3 .ob-page-head { background: var(--ob-bg); padding: 48px 0 40px; }
.ob3 .ob-page-head h1 { font: 800 clamp(2rem, 4.4vw, 3rem)/1.08 var(--ob-f-display); color: var(--ob-accent-text); margin: 0; }
.ob3 .ob-page-head p { margin: 12px 0 0; color: var(--ob-muted); max-width: 62ch; }

/* Filtres de la liste des biens */
.ob3 .ob-filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 12px; align-items: end; margin-top: 26px; background: var(--ob-surface); border: 1px solid var(--ob-line); border-radius: 14px; padding: 14px; box-shadow: var(--ob-shadow); }
/* Région : visible seulement quand au moins un bien a une région (classe posée par le script) */
.ob3 .ob-filters:not(.ob-with-region) .ob-f-region { display: none; }
.ob3 .ob-filters.ob-with-region { grid-template-columns: repeat(5, minmax(0, 1fr)) auto; }
.ob3 .ob-list-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.ob3 .ob-count { font-weight: 600; }
.ob3 .ob-switch { color: var(--ob-accent-text); font-weight: 600; text-decoration: none; }
@media (max-width: 1100px) { .ob3 .ob-filters.ob-with-region { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ob3 .ob-filters.ob-with-region .ob-btn { grid-column: auto / span 1; } }
@media (max-width: 960px) { .ob3 .ob-filters, .ob3 .ob-filters.ob-with-region { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ob3 .ob-filters .ob-btn, .ob3 .ob-filters.ob-with-region .ob-btn { grid-column: 1 / -1; } }
@media (max-width: 380px) { .ob3 .ob-filters, .ob3 .ob-filters.ob-with-region { grid-template-columns: 1fr; } }

/* Formulaires Odoo (contact, estimation, fiche de bien) */
.ob3 .s_website_form .form-control, .ob3 .s_website_form .form-select { border: 1px solid var(--ob-field-line); border-radius: 8px; min-height: 44px; font-family: var(--ob-f-body); }
.ob3 .s_website_form textarea.form-control { min-height: 120px; }
.ob3 .s_website_form .form-control:focus, .ob3 .s_website_form .form-select:focus { border-color: var(--ob-accent); box-shadow: 0 0 0 3px var(--ob-accent-soft); }
.ob3 .s_website_form .s_website_form_label, .ob3 .s_website_form .form-label { font: 600 .72rem/1.3 var(--ob-f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ob-ink); }
.ob3 .s_website_form .s_website_form_mark { color: var(--ob-accent-text); }
.ob3 .ob-form-card { background: var(--ob-surface); border: 1px solid var(--ob-line); border-radius: 14px; padding: 24px; }

/* Contact et estimation : deux colonnes */
.ob3 .ob-two { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 44px; align-items: start; }
@media (max-width: 880px) { .ob3 .ob-two { grid-template-columns: 1fr; } }
.ob3 .ob-info { display: grid; gap: 18px; margin: 0; }
.ob3 .ob-info dt { font: 500 .72rem/1 var(--ob-f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ob-muted); margin-bottom: 5px; }
.ob3 .ob-info dd { margin: 0; font-weight: 500; }
.ob3 .ob-info a { color: var(--ob-ink); text-decoration-color: var(--ob-accent); text-underline-offset: 3px; }
.ob3 .ob-side-steps { list-style: none; padding: 0; margin: 18px 0 0; display: grid; }
.ob3 .ob-side-steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 14px; padding: 16px 0; border-bottom: 1px solid var(--ob-line); }
.ob3 .ob-side-steps li:first-child { border-top: 1px solid var(--ob-line); }
.ob3 .ob-side-steps .ob-n { grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; background: var(--ob-accent); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .9rem; }
.ob3 .ob-side-steps h3 { font: 700 1rem/1.3 var(--ob-f-body); margin: 0; }
.ob3 .ob-side-steps p { color: var(--ob-muted); font-size: .92rem; margin: 0; }

/* Mentions légales */
.ob3 .ob-legal { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: 10px 28px; margin: 0; max-width: 980px; }
.ob3 .ob-legal dt { font-weight: 700; }
.ob3 .ob-legal dd { margin: 0 0 8px; color: var(--ob-muted); }
@media (max-width: 700px) { .ob3 .ob-legal { grid-template-columns: 1fr; gap: 2px; } }

/* Fiche d'un bien (page native Odoo Immobilier) : simple habillage */
.ob3 .property-image-gallery img { border-radius: var(--ob-r) !important; }
.ob3 #propertyTabs .nav-link { font-family: var(--ob-f-body); }
.ob3 #propertyTabs .nav-link.active { color: var(--ob-ink) !important; border-bottom-color: var(--ob-surface); }
.ob3 #contactFormContainer { border-radius: 14px; }

/* Mode édition d'Odoo : les zones remplies automatiquement sont signalées */
.ob3 .o_editable .ob-auto:empty::before, .editor_enable .ob3 .ob-auto:empty::before { content: "Zone remplie automatiquement (biens, illustration…)"; display: block; padding: 18px; border: 1px dashed var(--ob-field-line); border-radius: var(--ob-r); color: var(--ob-muted); font: 500 .8rem var(--ob-f-mono); }
