/* Baía Condomínios · estilos do site
   Paleta: água funda da baía + ocre das velas das fragatas, usado com parcimónia.
   Layout: coluna de 1160px; secções alternam papel / superfície; números em mono, como num extrato. */

/* Fontes alojadas no próprio site (sem pedidos ao Google: melhor para o RGPD e mais rápido) */
@font-face { font-family: "Archivo"; src: url("../fonts/archivo.woff2") format("woff2"); font-weight: 400 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/plex-sans.woff2") format("woff2"); font-weight: 100 700; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/plex-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/plex-mono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --paper: #F2F5F4;
  --surface: #FFFFFF;
  --ink: #10232E;
  --muted: #4C5F68;
  --line: #D3DCDC;
  --tide: #0B5D6B;
  --tide-soft: #E1EEEF;
  --sail: #C27F1E;
  --ok: #2B7A4B;
  --late: #B4532A;
  --on-tide: #FFFFFF;
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1160px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0B171D; --surface: #11222A; --ink: #E5EDEF; --muted: #9AAEB6; --line: #23404A;
    --tide: #5FC0CC; --tide-soft: #143640; --sail: #E2A84E; --ok: #5DC08A; --late: #E58A63; --on-tide: #06272D;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0B171D; --surface: #11222A; --ink: #E5EDEF; --muted: #9AAEB6; --line: #23404A;
  --tide: #5FC0CC; --tide-soft: #143640; --sail: #E2A84E; --ok: #5DC08A; --late: #E58A63; --on-tide: #06272D;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--tide); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--sail); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); font-weight: 800; font-stretch: 112%; line-height: 1.08; }
h3 { font-size: 1.2rem; font-weight: 700; font-stretch: 105%; line-height: 1.25; }
p { margin: 0; }
.lede { color: var(--muted); font-size: 1.125rem; max-width: 62ch; }
.kicker { font: 500 0.8125rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: 0.12em; color: var(--tide); }
section { padding: clamp(64px, 9vw, 112px) 0; }
.sec-head { display: grid; gap: 14px; margin-bottom: 44px; max-width: 760px; }
.note { font-size: 0.84rem; color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* Cabeçalho */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font: 800 1.3rem/1 var(--font-display); font-stretch: 118%; letter-spacing: -0.02em; }
.brand small { display: block; font: 500 0.64rem/1 var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 4px; font-stretch: 100%; }
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: var(--tide); }
.nav-end { display: flex; align-items: center; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 1rem/1 var(--font-body); padding: 14px 22px; border-radius: 999px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn-primary { background: var(--tide); color: var(--on-tide); }
.btn-primary:hover { transform: translateY(-1px); background: color-mix(in srgb, var(--tide) 88%, var(--ink)); }
.btn-primary[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--tide); }
.btn-sm { padding: 10px 16px; font-size: 0.92rem; }

/* Menu em ecrãs pequenos */
.menu { position: relative; display: none; }
.menu summary { list-style: none; cursor: pointer; width: 42px; height: 42px; display: grid; place-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); padding: 0; font: inherit; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: none; }
.menu summary svg { color: var(--ink); }
.menu ul { position: absolute; right: 0; top: 52px; min-width: 220px; list-style: none; margin: 0; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 20px 40px -20px rgba(16,35,46,.35); display: grid; }
.menu a { display: block; padding: 10px 12px; color: var(--ink); text-decoration: none; border-radius: 8px; font-weight: 500; }
.menu a:hover { background: var(--tide-soft); }
@media (max-width: 860px) { .nav-links { display: none; } .menu { display: block; } }
@media (max-width: 380px) { .nav-end .btn-sm { padding: 10px 12px; font-size: 0.85rem; } }

/* Hero */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 88px); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { margin-top: 16px; font-size: clamp(2.3rem, 5.2vw, 4.1rem); font-weight: 850; font-stretch: 116%; line-height: 1; letter-spacing: -0.025em; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, color-mix(in srgb, var(--sail) 38%, transparent) 62%); }
.hero .lede { margin-top: 22px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; list-style: none; padding: 0; color: var(--muted); font-size: 0.93rem; }
.hero-proof li { display: flex; align-items: center; gap: 8px; }
.hero-proof li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sail); flex: none; }

.statement { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 30px 60px -30px rgba(16,35,46,.35); overflow: hidden; }
.st-top { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 20px; border-bottom: 1px dashed var(--line); gap: 12px; }
.st-top strong { font: 700 1rem/1.2 var(--font-display); font-stretch: 105%; }
.st-top span { font: 400 0.75rem/1 var(--font-mono); color: var(--muted); white-space: nowrap; }
.st-body { display: grid; grid-template-columns: 1.35fr 1fr; }
@media (max-width: 480px) { .st-body { grid-template-columns: 1fr; } .facade { border-right: 0 !important; } }
.facade { padding: 18px 18px 0; border-right: 1px dashed var(--line); display: flex; flex-direction: column; }
.roof { height: 18px; margin: 0 6px; background: var(--tide); clip-path: polygon(6% 100%, 50% 0, 94% 100%); opacity: .9; }
.floors { flex: 1; grid-auto-rows: 1fr; min-height: 220px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; padding: 6px; border: 2px solid var(--tide); border-bottom: 0; border-radius: 3px 3px 0 0; }
.unit { background: var(--tide-soft); border-radius: 3px; padding: 7px 5px 6px; min-width: 0; display: grid; gap: 4px; align-content: start; position: relative; }
.unit b { white-space: nowrap; font: 500 0.6rem/1 var(--font-mono); color: var(--muted); }
.unit i { white-space: nowrap; font: normal 500 0.66rem/1 var(--font-mono); font-variant-numeric: tabular-nums; color: var(--ink); }
.unit.mine { background: var(--tide); outline: 2px solid var(--sail); outline-offset: -2px; }
.unit.mine b, .unit.mine i { color: var(--on-tide); }
.unit.mine::after { content: ""; position: absolute; top: 6px; right: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--sail); animation: pop .6s ease both .4s; }
.unit.door { background: transparent; border: 1.5px dashed var(--line); }
@keyframes pop { from { transform: scale(0.2); opacity: .3; } to { transform: scale(1); opacity: 1; } }
.mine-quota { display: grid; gap: 4px; padding: 4px 0 14px; border-bottom: 1px solid var(--line); }
.mine-quota span { font-size: 0.78rem; color: var(--muted); }
.mine-quota strong { font: 500 1.6rem/1 var(--font-mono); font-variant-numeric: tabular-nums; }
.mine-quota em { font-style: normal; font-size: 0.78rem; color: var(--ok); font-weight: 600; }
.ground { height: 10px; background: repeating-linear-gradient(90deg, var(--tide) 0 14px, transparent 14px 20px); opacity: .5; }
.facade-legend { display: flex; flex-wrap: wrap; gap: 8px 14px; font: 400 0.7rem/1 var(--font-mono); color: var(--muted); padding: 12px 2px 16px; }
.facade-legend span { display: inline-flex; align-items: center; gap: 6px; }
.facade-legend span::before { content: ""; width: 7px; height: 7px; border-radius: 2px; outline: 2px solid var(--sail); }
.ledger { padding: 16px 18px; display: grid; align-content: start; }
.ledger dl { margin: 0; display: grid; }
.ledger .row { display: flex; justify-content: space-between; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.8rem; }
.ledger dt { color: var(--muted); }
.ledger dd { white-space: nowrap; margin: 0; font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 500; text-align: right; }
.ledger .next { margin-top: 14px; background: var(--tide-soft); border-radius: 8px; padding: 12px; font-size: 0.82rem; }
.ledger .next strong { display: block; font-family: var(--font-display); font-size: 0.95rem; margin-bottom: 2px; }
.st-foot { padding: 10px 20px; font: 400 0.7rem/1.4 var(--font-mono); color: var(--muted); border-top: 1px dashed var(--line); }
.tide-line { position: absolute; left: 0; right: 0; bottom: 0; height: 40px; width: 100%; color: var(--tide); opacity: .14; pointer-events: none; }

/* Faixa */
.strip { background: var(--ink); color: var(--paper); padding: 26px 0; }
.strip ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 860px) { .strip ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .strip ul { grid-template-columns: 1fr; } }
.strip li { display: grid; gap: 4px; }
.strip b { font: 700 1.05rem/1.2 var(--font-display); font-stretch: 108%; }
.strip span { font-size: 0.86rem; opacity: .75; }

/* Planos */
.plans { background: var(--surface); border-bottom: 1px solid var(--line); }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 940px) { .plan-grid { grid-template-columns: 1fr; max-width: 560px; } }
.plan { border: 1px solid var(--line); border-radius: 14px; padding: 28px 26px; display: flex; flex-direction: column; gap: 18px; background: var(--paper); position: relative; }
.plan.featured { border: 2px solid var(--tide); background: var(--surface); box-shadow: 0 24px 50px -30px rgba(11,93,107,.55); }
.plan .tag { position: absolute; top: -12px; left: 24px; background: var(--tide); color: var(--on-tide); font: 500 0.72rem/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
.plan .role { font: 500 0.78rem/1.35 var(--font-mono); color: var(--sail); letter-spacing: .02em; }
.plan h3 { font-size: 1.6rem; font-weight: 800; font-stretch: 112%; }
.plan .desc { color: var(--muted); font-size: 0.97rem; }
.price { display: grid; gap: 4px; padding: 16px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); }
.price .amt { font: 500 2.4rem/1 var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.price .amt small { font: 400 0.9rem/1 var(--font-body); color: var(--muted); letter-spacing: 0; }
.price .sub { font-size: 0.84rem; color: var(--muted); }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 0.95rem; flex: 1; align-content: start; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.plan li svg { margin-top: 5px; color: var(--ok); }
.plan li.plus { font-weight: 600; }
.plan .btn { width: 100%; }

/* Calculadora */
.calc-sec { padding-top: 0; background: var(--surface); }
.calc { background: var(--tide); color: var(--on-tide); border-radius: 14px; padding: clamp(24px, 3vw, 36px); display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; align-items: center; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }
.calc h3 { color: var(--on-tide); font-size: 1.5rem; }
.calc-in { display: grid; gap: 20px; }
.plan-pick { border: 0; margin: 0; padding: 0; min-width: 0; }
.plan-pick legend { padding: 0; margin-bottom: 8px; font-size: 0.84rem; opacity: .85; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); border: 1.5px solid color-mix(in srgb, var(--on-tide) 45%, transparent); border-radius: 999px; padding: 3px; gap: 3px; position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { text-align: center; padding: 9px 6px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: 0.92rem; }
.seg input:checked + label { background: var(--on-tide); color: var(--tide); }
.seg input:focus-visible + label { outline: 3px solid var(--sail); outline-offset: 1px; }
.calc-n { display: flex; justify-content: space-between; align-items: baseline; }
.calc-n label { font-weight: 600; font-size: 0.95rem; }
.calc-n output { font: 500 1.6rem/1 var(--font-mono); }
input[type="range"] { width: 100%; accent-color: var(--sail); height: 28px; margin: 6px 0 0; }
.toggle { display: flex; gap: 12px; align-items: flex-start; font-size: 0.93rem; cursor: pointer; }
.toggle input { width: 20px; height: 20px; accent-color: var(--sail); margin-top: 2px; flex: none; }
.calc-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: color-mix(in srgb, var(--on-tide) 25%, transparent); border-radius: 10px; overflow: hidden; }
@media (max-width: 480px) { .calc-out { grid-template-columns: 1fr; } }
.calc-out div { background: var(--tide); padding: 16px 14px; display: grid; gap: 6px; }
.calc-out span { font-size: 0.8rem; opacity: .85; }
.calc-out strong { font: 500 1.35rem/1 var(--font-mono); font-variant-numeric: tabular-nums; }
.calc-res { display: grid; gap: 14px; }
.calc .note { color: var(--on-tide); opacity: .85; }
.calc .note:empty { display: none; }

/* Tabela de comparação */
.matrix-sec { background: var(--paper); }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
table { width: 100%; border-collapse: collapse; min-width: 680px; }
th, td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 0.94rem; }
thead th { font: 500 0.75rem/1.2 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: var(--paper); }
thead th.feat { color: var(--tide); }
td.c, th.c { text-align: center; width: 17%; }
td.c { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 0.88rem; }
tbody th { font-weight: 500; }
tbody th small { display: block; color: var(--muted); font-size: 0.83rem; font-weight: 400; margin-top: 2px; }
tr.group th { background: var(--tide-soft); font: 600 0.8rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--tide); padding: 10px 18px; }
tr:last-child td, tr:last-child th { border-bottom: 0; }
.yes { color: var(--ok); font-weight: 600; }
.no { color: var(--muted); }
td.hl { background: color-mix(in srgb, var(--tide-soft) 55%, transparent); }

/* Condómino de ligação */
.link-sec { background: var(--ink); color: var(--paper); }
.link-sec .kicker { color: var(--sail); }
.link-sec h2 { color: var(--paper); }
.link-sec .sec-head { margin-bottom: 0; }
.link-sec .lede { color: color-mix(in srgb, var(--paper) 74%, transparent); }
.link-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .link-grid { grid-template-columns: 1fr; } }
.pair { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0; border: 1px solid color-mix(in srgb, var(--paper) 20%, transparent); border-radius: 14px; overflow: hidden; }
@media (max-width: 560px) { .pair { grid-template-columns: 1fr; } .pair .amp { padding: 8px !important; } }
.pair > div { padding: 24px 22px; display: grid; gap: 12px; align-content: start; }
.pair h3 { color: var(--paper); font-size: 1.15rem; }
.pair .who { font: 500 0.72rem/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--sail); }
.pair ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 0.92rem; color: color-mix(in srgb, var(--paper) 80%, transparent); }
.pair li::before { content: "— "; color: var(--sail); }
.pair > .amp { display: grid; place-items: center; align-content: center; padding: 0 6px; font: 400 1.6rem/1 var(--font-display); color: var(--sail); background: color-mix(in srgb, var(--paper) 6%, transparent); }

/* Passos */
.steps { background: var(--surface); border-bottom: 1px solid var(--line); }
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
@media (max-width: 900px) { .steps ol { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps ol { grid-template-columns: 1fr; } }
.steps li { counter-increment: s; display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 3px solid var(--tide); }
.steps li::before { content: "Passo " counter(s); font: 500 0.75rem/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--tide); }
.steps p { color: var(--muted); font-size: 0.96rem; }

/* Zonas */
.local-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .local-grid { grid-template-columns: 1fr; } }
.local-grid .sec-head { margin-bottom: 0; }
.area-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
@media (max-width: 460px) { .area-grid { grid-template-columns: 1fr; } }
.area { background: var(--surface); padding: 22px 20px; display: grid; gap: 6px; align-content: start; }
.area h3 { font-size: 1.1rem; }
.area p { font-size: 0.9rem; color: var(--muted); }
.area .cp { font: 500 0.72rem/1 var(--font-mono); color: var(--sail); letter-spacing: .06em; }

/* Perguntas */
.faq { background: var(--surface); border-top: 1px solid var(--line); }
.faq-list { display: grid; border-top: 1px solid var(--line); max-width: 880px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative; font: 700 1.1rem/1.35 var(--font-display); font-stretch: 104%; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 400 1.6rem/1 var(--font-mono); color: var(--tide); transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 22px; color: var(--muted); max-width: 70ch; }

/* Contacto */
.contact { border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 5vw, 64px); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: grid; gap: 18px; align-content: start; }
.contact-info dl { margin: 12px 0 0; display: grid; gap: 14px; }
.contact-info dt { font: 500 0.75rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
.contact-info dd { margin: 0; font-weight: 500; }
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: clamp(20px, 3vw, 32px); }
@media (max-width: 560px) { .lead-form { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.88rem; font-weight: 600; }
.field label .req { color: var(--late); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); width: 100%; }
.field input[aria-invalid="true"] { border-color: var(--late); }
.field textarea { min-height: 100px; resize: vertical; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: 0.86rem; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--tide); flex: none; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
#form-status { font-size: 0.9rem; color: var(--muted); }
#form-status.ok { color: var(--ok); font-weight: 600; }
#form-status.err { color: var(--late); font-weight: 600; }

/* Rodapé */
footer { background: var(--paper); border-top: 1px solid var(--line); padding: 44px 0 32px; font-size: 0.88rem; color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }
footer h2 { font: 500 0.78rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer a { color: var(--muted); }
footer a:hover { color: var(--tide); }
.legal-line { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.8rem; }

/* Páginas de texto (privacidade, 404) */
.doc { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; font-stretch: 112%; line-height: 1.1; margin: 12px 0 10px; }
.doc h2 { font-size: 1.35rem; font-stretch: 105%; margin: 36px 0 10px; }
.doc p, .doc li { color: var(--muted); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 20px; display: grid; gap: 6px; }
.doc table { min-width: 0; margin-top: 8px; border: 1px solid var(--line); }
.doc .updated { font: 400 0.8rem/1 var(--font-mono); color: var(--muted); }
