/* London Biopsicossocial — site institucional. CSS puro, sem dependências. */

@font-face {
  font-family: "Literata";
  src: url("../fonts/literata-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("../fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ice: #f1f8f8;
  --ice-2: #e3f0f0;
  --white: #ffffff;
  --teal: #009d96;
  --teal-ink: #00716c;
  --deep: #0b3b3a;
  --red: #e13237;
  --red-btn: #c9262c;
  --red-btn-hover: #a91d23;
  --ink: #212428;
  --ink-2: #3f4f4e;
  --line: #c9dfde;
  --serif: "Literata", Georgia, "Times New Roman", serif;
  --sans: "Atkinson Hyperlegible Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 88rem;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 5.5rem; scroll-padding-bottom: 9rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ice);
  caret-color: var(--teal);
  text-rendering: optimizeLegibility;
}

::selection { background: var(--teal-ink); color: #fff; }
* { scrollbar-color: var(--teal-ink) var(--ice-2); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--ice-2); }
::-webkit-scrollbar-thumb { background: var(--teal-ink); border-radius: 8px; border: 3px solid var(--ice-2); }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-ink); text-underline-offset: 0.2em; text-decoration-thickness: 0.1em; }
a:hover { color: var(--deep); }

:focus-visible { outline: 3px solid var(--teal-ink); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .hero :focus-visible, .site-footer :focus-visible, .page-head :focus-visible { outline-color: #fff; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2.5rem); padding-left: 1.25rem; padding-right: 1.25rem; margin-left: auto; margin-right: auto; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; color: var(--deep); padding: 0.75rem 1rem; z-index: 100; }
.skip:focus { left: 0.5rem; top: 0.5rem; }

h1, h2, h3 { font-family: var(--serif); color: var(--deep); text-wrap: balance; font-weight: 600; margin: 0; }
h1 { font-size: clamp(2.1rem, 6.4vw, 3.7rem); line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.65rem, 4.2vw, 2.45rem); line-height: 1.2; letter-spacing: -0.015em; margin-top: 0; }
h3 { font-size: 1.3rem; line-height: 1.25; }
p { margin: 0 0 1.1em; max-width: 68ch; text-wrap: pretty; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3.5rem; padding: 0.7rem 1.6rem; border-radius: 0.9rem; border: 2px solid transparent;
  font: 700 1.1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn svg { flex: none; }
.btn--primary { background: var(--red-btn); color: #fff; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.5), 0 2px 4px rgba(0, 0, 0, 0.22); }
.btn--primary:hover { background: var(--red-btn-hover); color: #fff; transform: translateY(-2px); }
.btn--outline { border-color: var(--teal-ink); color: var(--teal-ink); background: transparent; }
.btn--outline:hover { background: var(--teal-ink); color: #fff; }
.btn--light { background: #fff; color: var(--deep); }
.btn--light:hover { background: var(--ice-2); color: var(--deep); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

.ico { width: 1.35em; height: 1.35em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.site-header__bar { display: flex; align-items: center; gap: 0.75rem; min-height: 4.25rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--deep); margin-right: auto; }
.brand img { height: 3rem; width: auto; }
.brand__text { display: none; font-family: var(--serif); font-weight: 600; font-size: 1.05rem; line-height: 1.3; }
.brand__text small { display: block; font-family: var(--sans); font-weight: 500; font-size: 0.78rem; color: var(--ink-2); letter-spacing: 0; }
.header-wa { min-height: 2.9rem; padding: 0.45rem 1rem; font-size: 1rem; }
.header-wa.btn--outline { background: #fff; border-color: var(--teal-ink); color: var(--teal-ink); box-shadow: none; }
.header-wa.btn--outline:hover { background: var(--teal-ink); color: #fff; transform: none; }
.menu-btn { min-width: 3rem; height: 3rem; padding: 0 0.9rem; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font: 700 1rem/1 var(--sans); border: 2px solid #6a8d8c; border-radius: 0.8rem; background: #fff; color: var(--deep); cursor: pointer; }
.menu-btn[aria-expanded="true"] { background: var(--deep); color: #fff; border-color: var(--deep); }
.nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 14px 24px -12px rgba(11, 59, 58, 0.25); }
.nav.is-open { display: block; max-height: calc(100vh - 4.5rem); max-height: calc(100dvh - 4.5rem); overflow-y: auto; overscroll-behavior: contain; }

.nav ul { list-style: none; margin: 0; padding: 0.5rem 0 1rem; }
.nav a { display: block; padding: 0.8rem 0; min-height: 2.75rem; font-weight: 600; color: var(--deep); text-decoration: none; border-bottom: 1px solid var(--ice-2); }
.nav a[aria-current="page"] { color: var(--teal-ink); }

@media (min-width: 75rem) {
  .brand__text { display: block; }
  .menu-btn { display: none; }
  .nav { display: block; position: static; border: 0; background: none; box-shadow: none; order: 2; max-height: none; overflow: visible; }
  .nav .wrap { width: auto; max-width: none; margin: 0; padding: 0; }
  .site-header__bar { gap: 1.25rem; }
  .brand { margin-right: auto; }
  .header-wa { order: 3; }
  .nav ul { display: flex; gap: 1.2rem; padding: 0; }
  .nav a { border: 0; padding: 0.65rem 0; font-size: 1rem; white-space: nowrap; display: inline-flex; align-items: center; }
  .brand__text { white-space: nowrap; }
  .brand__text small { display: none; }
  .nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 0.12em; text-underline-offset: 0.35em; text-decoration-color: var(--red); }
  .nav-wrap { margin-right: 0; }
}

/* ---------- Abertura ---------- */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--deep); overflow: hidden; }
.hero__media { position: relative; height: 28svh; min-height: 12rem; max-height: 26rem; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 82% 62%; animation: hero-settle 1.8s var(--ease) both; }
.hero__light { position: absolute; inset: 0; background: radial-gradient(60% 45% at 12% 8%, rgba(255, 232, 170, 0.45), rgba(255, 232, 170, 0) 70%); animation: hero-light 2.4s var(--ease) both; pointer-events: none; }
.hero__veil { position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(to top, var(--deep) 0%, rgba(11, 59, 58, 0) 100%); }
.hero__content { padding-top: 1.25rem; padding-bottom: 2.5rem; }
.hero h1 { color: #fff; max-width: 19ch; margin-bottom: 0.9rem; font-size: clamp(1.95rem, 8vw, 3.7rem); }
.hero__lead { font-size: 1.05rem; line-height: 1.55; max-width: 36rem; color: #eaf6f5; margin-bottom: 1.1rem; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.6rem; }
.hero__actions .btn { width: 100%; margin-bottom: 0.4rem; }
.hero__link { color: #fff; font-weight: 600; text-underline-offset: 0.3em; display: inline-flex; align-items: center; min-height: 2.75rem; }
.hero__link:hover { color: #fff; text-decoration-thickness: 0.18em; }
.hero__facts { margin: 1.2rem 0 0; font-size: 0.95rem; color: #cfe8e6; max-width: 36rem; }

@keyframes hero-settle { from { transform: scale(1.05); opacity: 0.85; } to { transform: scale(1); opacity: 1; } }
@keyframes hero-light { from { opacity: 0; transform: translate(-6%, -4%); } to { opacity: 1; transform: translate(0, 0); } }
@media (prefers-reduced-motion: reduce) { .hero__img, .hero__light { animation: none; } }

@media (min-width: 40rem) { .hero__actions .btn { width: auto; margin-bottom: 0; } }

@media (min-width: 62rem) {
  .hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: stretch; min-height: 40rem; }
  .hero__media { grid-column: 2; grid-row: 1; height: auto; min-height: 0; max-height: none; }
  .hero__veil { display: none; }
  .hero__content { grid-column: 1; grid-row: 1; background: var(--deep); width: 100%; max-width: none; margin: 0; padding-top: 4rem; padding-bottom: 4rem; padding-right: 3rem; padding-left: 2.5rem; display: flex; flex-direction: column; justify-content: center; }
  .hero__content > * { max-width: 32rem; }
  .hero__img { object-position: 72% 55%; }
  .hero h1 { max-width: 15ch; font-size: clamp(2.6rem, 4.4vw, 3.7rem); }
  .hero__lead { font-size: 1.2rem; margin-bottom: 1.6rem; }
}
@media (min-width: 80rem) { .hero__content { padding-left: max(2.5rem, calc((100vw - var(--wrap)) / 2)); } }

.strip { background: var(--ice-2); border-bottom: 1px solid var(--line); font-size: 0.95rem; color: var(--ink-2); }
.strip ul { list-style: none; margin: 0; padding: 0.9rem 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.6rem; }
.strip strong { color: var(--deep); font-weight: 700; }

/* ---------- Seções ---------- */
.section { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.section--white { background: #fff; }
.section--ice2 { background: var(--ice-2); }
.section--band { background: var(--teal-ink); color: #fff; }
.section--band h2 { color: #fff; }
.section--band a:not(.btn) { color: #fff; }
.section__head { margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.section__head p { color: var(--ink-2); font-size: 1.15rem; margin-top: 0.9rem; }
.section--band .section__head p { color: #e2f4f2; }

.split { display: grid; gap: 2rem; }
@media (min-width: 62rem) { .split { grid-template-columns: 5fr 7fr; gap: 4.5rem; align-items: start; } .split--even { grid-template-columns: 1fr 1fr; } }
@media (min-width: 90rem) { .split { gap: 6rem; } }

.heartbeat { display: block; width: min(15rem, 60%); height: 1.6rem; margin-bottom: 1.4rem; }
.heartbeat path { fill: none; stroke: var(--teal); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.heartbeat circle { fill: var(--red); }

/* lista de ofertas (sem cartões) */
.offer { margin: 0; padding: 0; display: grid; gap: 0; }
.offer div { padding: 1.4rem 0; border-top: 1px solid var(--line); }
.offer div:last-child { border-bottom: 1px solid var(--line); }
.offer dt { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: var(--deep); margin-bottom: 0.4rem; }
.offer dd { margin: 0; color: var(--ink-2); max-width: 62ch; }
@media (min-width: 62rem) {
  .offer { grid-template-columns: 1fr 1fr; column-gap: 4rem; }
  .offer div:nth-last-child(2) { border-bottom: 1px solid var(--line); }
}

/* passo a passo em linha contínua */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 2rem; position: relative; }
.steps::before { content: ""; position: absolute; left: 1.35rem; top: 1.5rem; bottom: 1.5rem; width: 2px; background: rgba(255, 255, 255, 0.55); }
.steps li { position: relative; padding-left: 4.2rem; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: #fff; color: var(--teal-ink); display: grid; place-items: center; font: 700 1.2rem/1 var(--serif); }
.steps h3 { color: #fff; margin-bottom: 0.4rem; }
.steps p { margin: 0; color: #e8f6f4; }
@media (min-width: 62rem) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .steps::before { left: 1.4rem; right: calc(25% - 2.9rem); top: 1.37rem; bottom: auto; width: auto; height: 2px; }
  .steps li { padding: 4rem 0 0; }
}

/* fotos com legenda */
.house { display: grid; gap: 1.5rem; }
.house figure { margin: 0; }
.house img { display: block; width: 100%; height: auto; object-fit: cover; border-radius: 1.1rem; aspect-ratio: 4 / 3; background: var(--ice-2); }
.house figcaption, .gallery figcaption { margin-top: 0.6rem; font-size: 0.95rem; color: var(--ink-2); }
@media (min-width: 52rem) {
  .house { grid-template-columns: repeat(12, 1fr); }
  .house .house__a { grid-column: 1 / span 7; grid-row: 1 / span 2; }
  .house .house__b, .house .house__c { grid-column: 8 / span 5; }
}

.gallery { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 1.1rem; }
@media (min-width: 40rem) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (min-width: 62rem) { .gallery { grid-template-columns: repeat(3, 1fr); } }

/* perguntas */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1.2rem 2.5rem 1.2rem 0; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--deep); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 0.4rem; top: 50%; width: 0.7rem; height: 0.7rem; border-right: 2.5px solid var(--teal-ink); border-bottom: 2.5px solid var(--teal-ink); transform: translateY(-70%) rotate(45deg); transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq .faq__body { padding: 0 0 1.4rem; color: var(--ink-2); }
.faq .faq__body p:last-child { margin-bottom: 0; }

/* contato */
.contact-list { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact-list .ico { margin-top: 0.2rem; color: var(--teal-ink); }
.contact-list a { font-weight: 600; display: inline-flex; align-items: center; min-height: 2.75rem; }
.form { background: #fff; border-radius: 1.2rem; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); }
.form label { display: block; font-weight: 700; margin-bottom: 0.35rem; color: var(--deep); }
.form .field { margin-bottom: 1.1rem; }
.form input[type="text"], .form input[type="tel"], .form textarea { width: 100%; font: inherit; padding: 0.8rem 0.9rem; border: 2px solid #5f8584; border-radius: 0.7rem; background: #fff; color: var(--ink); }
.form textarea { min-height: 7.5rem; resize: vertical; }
.form input:hover, .form textarea:hover { border-color: var(--teal-ink); }
.form input:focus, .form textarea:focus { border-color: var(--teal-ink); outline: 3px solid var(--teal-ink); outline-offset: 1px; }
.form [aria-invalid="true"] { border-color: #9b1c20; }
.form .check { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.98rem; font-weight: 400; }
.form .check input { width: 1.75rem; height: 1.75rem; margin-top: 0.15rem; accent-color: var(--teal-ink); flex: none; }
.form .note { font-size: 0.95rem; color: var(--ink-2); margin: 0.9rem 0 0; }
.form .error { color: #9b1c20; font-weight: 600; margin: 0.5rem 0 0; display: none; }
.form .error.is-on { display: block; }
.map-box { margin-top: 1.5rem; border-radius: 1.2rem; overflow: hidden; border: 1px solid var(--line); background: var(--ice-2); min-height: 16rem; display: grid; place-items: center; text-align: center; padding: 1.5rem; }
.map-box iframe { width: 100%; height: 20rem; border: 0; display: block; }

/* páginas internas */
.page-head { background: var(--deep) radial-gradient(60% 120% at 8% 0%, rgba(255, 232, 170, 0.16), rgba(255, 232, 170, 0) 70%); color: #fff; padding-top: 2.5rem; padding-bottom: 2.5rem; }
@media (min-width: 52rem) { .section { padding-top: 5rem; padding-bottom: 5rem; } .page-head { padding-top: 3.5rem; padding-bottom: 3.5rem; } }
@media (min-width: 80rem) { .section { padding-top: 6.5rem; padding-bottom: 6.5rem; } .page-head { padding-top: 4.5rem; padding-bottom: 4.5rem; } }
.page-head h1 { color: #fff; max-width: 20ch; }
.page-head p { color: #dcefee; font-size: 1.2rem; margin: 1rem 0 0; max-width: 40rem; }
.crumbs { font-size: 0.95rem; margin-bottom: 1.2rem; color: #bfe0de; }
.crumbs a { color: #fff; }
.prose h2 { margin-top: 2.6rem; margin-bottom: 0.9rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8rem; margin-bottom: 0.5rem; }
.prose ul { padding-left: 1.2rem; max-width: 64ch; }
.prose li { margin-bottom: 0.45rem; }
.aside-box { border-top: 3px solid var(--teal); background: #fff; padding: 1.2rem 1.4rem; margin: 1.6rem 0; max-width: 40rem; }
.aside-box p:last-child { margin-bottom: 0; }
.pendente { background: #fff4c2; color: var(--ink); outline: 1px dashed #b08900; padding: 0 0.25em; border-radius: 3px; }

/* rodapé */
@media (min-width: 96rem) { .brand__text small { display: block; } }

.site-footer { background: var(--deep); color: #d8ecea; padding-top: 3.5rem; padding-bottom: 7rem; font-size: 1rem; }
.site-footer a { color: #fff; }
.site-footer__grid { display: grid; gap: 2.2rem; }
.site-footer .foot-title { color: #fff; font-size: 1.3rem; font-family: var(--serif); font-weight: 600; line-height: 1.3; margin-bottom: 0.8rem; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.25rem; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.site-footer .logo-foot { background: #fff; padding: 0.6rem 0.9rem; border-radius: 0.8rem; width: fit-content; }
.site-footer .logo-foot img { height: 3.2rem; }
.urgent { border: 2px solid rgba(255, 255, 255, 0.5); border-radius: 0.9rem; padding: 1rem 1.2rem; margin-top: 2rem; color: #fff; max-width: 44rem; }
.legal { margin-top: 2rem; font-size: 0.9rem; color: #b9d8d5; max-width: 50rem; }
.legal.credit { margin-top: 0.6rem; }
@media (min-width: 52rem) { .site-footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; } }

/* botões flutuantes: WhatsApp à esquerda; o chat (Tawk.to) fica à direita */
.fab-wa { position: fixed; left: 0.75rem; bottom: 1rem; z-index: 60; display: inline-flex; align-items: center; gap: 0.6rem; min-height: 3.5rem; padding: 0 1.2rem 0 1rem; border-radius: 999px; background: var(--deep); color: #fff; text-decoration: none; font-weight: 700; box-shadow: 0 10px 26px -8px rgba(5, 30, 29, 0.6), 0 2px 5px rgba(5, 30, 29, 0.3); border: 2px solid #fff; transition: transform 0.2s var(--ease); }
.fab-wa:hover { color: #fff; transform: translateY(-2px); background: var(--teal-ink); }
.fab-wa.is-hidden { opacity: 0; pointer-events: none; transform: translateY(0.75rem); visibility: hidden; transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s 0.25s; }
.fab-wa .ico { width: 1.6rem; height: 1.6rem; }
.fab-wa span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.fab-wa { width: 3.6rem; height: 3.6rem; padding: 0; justify-content: center; }
.fab-wa:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 6px var(--deep), 0 10px 26px -8px rgba(5, 30, 29, 0.6); }
body.has-consent-bar .fab-wa { display: none; }
@media (min-width: 62rem) { body.has-consent-bar .fab-wa { display: inline-flex; bottom: 6.2rem; } }

.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: #fff; border-top: 3px solid var(--teal); box-shadow: 0 -10px 30px rgba(11, 59, 58, 0.18); padding: 0.55rem 0 0.65rem; }
.consent[hidden] { display: none; }
.consent__inner { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; align-items: center; }
.consent p { margin: 0; font-size: 0.85rem; line-height: 1.4; flex: 1 1 22rem; color: var(--ink); }
.consent__actions { display: flex; gap: 0.7rem; flex-wrap: wrap; width: 100%; }
.consent__actions .btn { flex: 1 1 0; }
@media (min-width: 40rem) { .consent p { font-size: 0.98rem; } .consent__actions { width: auto; } .consent__actions .btn { flex: none; } }
.consent .btn { min-height: 2.75rem; padding: 0.3rem 1.2rem; font-size: 0.98rem; border-color: var(--teal-ink); }
.consent .btn--accept, .consent .btn--reject { background: #fff; color: var(--teal-ink); }
.consent .btn--accept:hover, .consent .btn--reject:hover { background: var(--teal-ink); color: #fff; }

@media print { .fab-wa, .consent, .site-header .menu-btn { display: none; } }

.page-photo { margin: 2rem 0; max-width: 40rem; }
.page-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 1.1rem; }
.page-photo figcaption { margin-top: 0.6rem; font-size: 0.95rem; color: var(--ink-2); }

/* ---------- ajustes do critique (16/11/2026) ---------- */
.more { display: inline-flex; align-items: center; min-height: 2.75rem; }
.legal a, .consent a { display: inline-block; padding: 0.7rem 0.1rem; margin: -0.7rem 0; }
.form[hidden] { display: none; }
.aside-note { font-size: 0.95rem; color: var(--ink-2); }
.aside-title { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; line-height: 1.3; color: var(--deep); margin: 0 0 0.5rem; }

@media (min-width: 52rem) {
  .house { grid-template-columns: repeat(3, 1fr); }
  .house .house__a, .house .house__b, .house .house__c { grid-column: auto; grid-row: auto; }
  .house .house__a img { aspect-ratio: 4 / 3; height: auto; min-height: 0; }
}
@media (min-width: 75rem) { .gallery { grid-template-columns: repeat(4, 1fr); } }

/* páginas de texto: coluna de leitura + quadro lateral */
@media (min-width: 62rem) {
  .prose { display: grid; grid-template-columns: minmax(0, 46rem) minmax(0, 1fr); column-gap: 4.5rem; align-items: start; }
  .prose > * { grid-column: 1; }
  .prose > .page-photo, .prose > .page-aside { grid-column: 2; grid-row: 1 / span 12; position: sticky; top: 6.5rem; margin-top: 0; max-width: 34rem; }
  .prose > .page-aside { grid-row: 1 / span 12; }
  .prose h2:first-of-type { margin-top: 0; }
}

/* ---------- sem rolagem lateral em telas estreitas ou com letra grande (16/11/2026) ---------- */
html, body { overflow-x: clip; }
body { overflow-wrap: break-word; }
.contact-list li { min-width: 0; }
.contact-list li > span { min-width: 0; overflow-wrap: anywhere; }
.contact-list a { max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
.site-footer li, .site-footer li a { min-width: 0; overflow-wrap: anywhere; }
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }
img, iframe, video, svg { max-width: 100%; }
.map-box, .form, .aside-box { min-width: 0; max-width: 100%; }

/* ---------- fotos e mapa (16/11/2026) ---------- */
.house figure, .gallery figure, .page-photo { overflow: hidden; }
.house img, .gallery img, .page-photo img { height: auto; }
.house figcaption, .gallery figcaption, .page-photo figcaption { position: relative; }
.map-box { display: block; padding: 0; min-height: 0; }
.map-box iframe { display: block; width: 100%; height: 22rem; border: 0; }
@media (min-width: 62rem) { .map-box iframe { height: 26rem; } }

/* cabeçalho em telas bem estreitas ou com letra muito grande */
@media (max-width: 26rem) {
  .site-header__bar { gap: 0.4rem; }
  .brand { min-width: 0; flex-shrink: 1; }
  .brand img { height: 2.5rem; width: auto; max-width: 100%; }
  .header-wa { padding: 0.45rem 0.7rem; gap: 0.35rem; font-size: 0.95rem; }
  .menu-btn { min-width: 0; padding: 0 0.7rem; gap: 0.35rem; font-size: 0.95rem; }
}

/* ---------- texto grande (200%) e ordem do teclado (24/11/2026) ---------- */
.site-header__bar { flex-wrap: wrap; row-gap: 0.4rem; }
.brand { min-height: 2.75rem; }
.btn { white-space: normal; max-width: 100%; text-align: center; }
.header-wa { order: 1; }
.menu-btn { order: 2; }
.steps li { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 61.99rem) {
  .steps li { padding-left: clamp(3.3rem, 16vw, 4.2rem); }
  .steps li::before { width: clamp(2.2rem, 10vw, 2.75rem); height: clamp(2.2rem, 10vw, 2.75rem); }
  .steps::before { left: clamp(1.1rem, 5vw, 1.35rem); }
}
@media (min-width: 75rem) { .header-wa { order: 3; } }

.split > *, .page-head .wrap > *, .section__head, .prose { min-width: 0; }
.split h2, .section h2, .page-head h1 { overflow-wrap: anywhere; hyphens: auto; }
.split p, .split .btn { max-width: 100%; }

.offer > div, .offer dt, .offer dd { min-width: 0; overflow-wrap: anywhere; }
.form .check, .form .check > span { min-width: 0; overflow-wrap: anywhere; }
.faq summary, .faq .faq__body { overflow-wrap: anywhere; }
.aside-box, .page-photo, .gallery figure, .house figure { min-width: 0; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* tabela de cookies (política de privacidade) */
.table-wrap { overflow-x: auto; margin: 1rem 0 1.4rem; border: 1px solid var(--line); border-radius: 0.8rem; }
.cookie-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 34rem; }
.cookie-table th, .cookie-table td { text-align: left; vertical-align: top; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); }
.cookie-table thead th { background: var(--ice-2); color: var(--deep); font-weight: 700; }
.cookie-table tbody th { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.cookie-table tr:last-child th, .cookie-table tr:last-child td { border-bottom: 0; }

/* 192 e 188 discam com um toque */
.hero__facts a, .urgent a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 0.2em; display: inline-block; padding: 0.7rem 0.15rem; margin: -0.7rem 0; }
p a[href^="tel:19"], p a[href^="tel:18"] { font-weight: 700; }
