/* SCSA — Sociedade Construtora de Santo António
   Layout: faixas de largura total com conteúdo a 1200px; fotografia real como protagonista;
   os "degraus" do logótipo marcam secções e passos. Uma só aparência (clara), cores do logótipo. */
:root {
  --navy: #0B2F4A;
  --navy-2: #163F60;
  --tijolo: #BA5426;
  --tijolo-esc: #8F3E19;
  --tijolo-claro: #FAF1EB;
  --cal: #FBFAF8;
  --pedra: #EFEEEA;
  --pedra-2: #D9D7D1;
  --logo-bege: #D5CBC1;
  --basalto: #3A3632;
  --texto-2: #5A534D;
  --louro: #5E6B4E;
  --linha: #E3E1DC;
  --branco: #FFFFFF;
  --whatsapp: #1F8A4C;
  --sobre-escuro: #D9E2EA;

  --display: "Libre Franklin", "Franklin Gothic Medium", "Arial", sans-serif;
  --mono: var(--display);
  --body: "Source Serif 4", Georgia, "Times New Roman", serif;

  --w: 1200px;
  --r: 6px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--cal);
  color: var(--basalto);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--cal); }
img { max-width: 100%; display: block; }
a { color: var(--navy); }
a:hover { color: var(--tijolo-esc); }
:focus-visible { outline: 3px solid var(--tijolo); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--navy); line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
h1 { font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-weight: 700; font-size: 1.25rem; }
p { margin: 0; }
p, .contact-list p { text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
.hero .lead, .page-head .lead, .passos p, .valor p, .card-body p, .site-footer p, .caption, .meta, .fora p, .path p { text-align: left; }

.wrap {
  max-width: calc(var(--w) + 48px);
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 700px) { .wrap { padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); } }
.band { padding-block: clamp(56px, 8vw, 96px); }
.band--pedra { background: var(--pedra); }
.band--branco { background: var(--branco); border-block: 1px solid var(--linha); }
.band--navy { background: var(--navy); color: var(--sobre-escuro); }
.band--navy h2, .band--navy h3 { color: var(--branco); }
.stack { display: flex; flex-direction: column; gap: 18px; }
.lead { font-size: 1.15rem; color: var(--texto-2); max-width: 62ch; }
.muted { color: var(--texto-2); }
.ph { background: var(--tijolo-claro); color: var(--tijolo-esc); padding: 0 4px; border-radius: 3px; }

/* degraus do logótipo */
.degraus { display: flex; align-items: flex-end; gap: 4px; }
.degraus span { width: 7px; background: var(--navy); }
.degraus span:nth-child(1) { height: 10px; }
.degraus span:nth-child(2) { height: 15px; background: var(--logo-bege); }
.degraus span:nth-child(3) { height: 20px; background: var(--tijolo); }
.degraus span:nth-child(4) { height: 25px; }
.band--navy .degraus span:nth-child(1), .band--navy .degraus span:nth-child(4) { background: var(--branco); }
.eyebrow { font-family: var(--display); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tijolo-esc); }
.band--navy .eyebrow { color: #F0A57E; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; margin-bottom: 36px; }
.sec-head .stack { gap: 12px; }
.more { font-family: var(--display); font-weight: 700; font-size: 0.95rem; }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: 4px; font-family: var(--display); font-weight: 700; font-size: 0.95rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; line-height: 1.2; }
.btn--primary { background: var(--tijolo); color: var(--branco); }
.btn--primary:hover { background: var(--tijolo-esc); color: var(--branco); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: var(--branco); }
.btn--light { border-color: var(--branco); color: var(--branco); background: transparent; }
.btn--light:hover { background: var(--branco); color: var(--navy); }
.btn--wa { background: var(--whatsapp); color: var(--branco); }
.btn--wa:hover { background: #17703D; color: var(--branco); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* cabeçalho */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--cal); border-bottom: 1px solid var(--linha); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; }
.logo img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { list-style: none; display: flex; gap: 24px; margin: 0; padding: 0; }
.nav a { font-family: var(--display); font-weight: 600; font-size: 0.88rem; text-decoration: none; color: var(--navy); padding-block: 6px; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--tijolo); color: var(--navy); }
.langs { display: flex; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 0.8rem; color: var(--texto-2); }
.langs strong { color: var(--navy); }
.langs span[title] { cursor: help; }
.header-cta { display: flex; align-items: center; gap: 16px; }
.menu-btn { display: none; background: none; border: 2px solid var(--navy); border-radius: 4px; min-height: 44px; padding: 0 14px; font-family: var(--display); font-weight: 700; color: var(--navy); cursor: pointer; }
@media (max-width: 1080px) {
  .menu-btn { display: inline-flex; align-items: center; gap: 8px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--cal); border-bottom: 1px solid var(--linha); flex-direction: column; align-items: stretch; gap: 0; padding: 8px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px)); }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--linha); font-size: 1rem; }
  .nav .langs { padding: 16px 4px 0; }
}
@media (max-width: 560px) { .header-cta .btn { display: none; } .logo img { height: 44px; } }

/* hero */
.hero { position: relative; min-height: 600px; display: flex; align-items: flex-end; color: var(--branco); background: #2B2724; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(20, 18, 16, 0.58); }
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-block: 120px 64px; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { color: var(--branco); max-width: 15ch; }
.hero .lead { color: #EDE7E1; }
.hero .degraus span:nth-child(1), .hero .degraus span:nth-child(4) { background: var(--branco); }
.trust { display: flex; flex-wrap: wrap; gap: 10px 32px; margin-top: 12px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.28); font-size: 0.95rem; color: #EDE7E1; }
.trust strong { color: var(--branco); }

/* cabeçalho de página interior */
.page-head { background: var(--navy); color: var(--sobre-escuro); }
.page-head .wrap { padding-block: 56px 48px; display: flex; flex-direction: column; gap: 14px; }
.page-head h1 { color: var(--branco); font-size: clamp(2rem, 4.4vw, 3rem); max-width: 22ch; }
.page-head .lead { color: var(--sobre-escuro); }
.page-head .eyebrow { color: #F0A57E; }
.crumbs { font-size: 0.9rem; color: #B8C7D4; }
.crumbs a { color: #B8C7D4; }
.page-head--foto { position: relative; overflow: hidden; }
.page-head--foto > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-head--foto::after { content: ""; position: absolute; inset: 0; background: rgba(11, 47, 74, 0.72); }
.page-head--foto .wrap { position: relative; z-index: 1; padding-block: 96px 56px; }

/* dois caminhos */
.paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.path { border-radius: var(--r); padding: 36px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; min-height: 220px; }
.path h3 { font-size: 1.6rem; font-weight: 800; }
.path--navy { background: var(--navy); color: var(--sobre-escuro); }
.path--navy h3 { color: var(--branco); }
.path--pedra { background: var(--pedra); color: var(--basalto); }
.path .go { margin-top: auto; font-family: var(--display); font-weight: 700; }
.path--navy .go { color: var(--branco); }
.path--pedra .go { color: var(--tijolo-esc); }
.path:hover .go { text-decoration: underline; }

/* cartões de serviço */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 22px; }
.card { background: var(--branco); border: 1px solid var(--linha); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--basalto); }
.card:hover { border-color: var(--pedra-2); }
.card:hover h3 { color: var(--tijolo-esc); }
.card-img { position: relative; aspect-ratio: 16 / 10; background: var(--pedra); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card-img img { transform: scale(1.03); }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.card-body p { color: var(--texto-2); }
.tag { position: absolute; top: 12px; left: 12px; font-family: var(--display); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 10px; border-radius: 3px; }
.tag--obra { background: var(--navy); color: var(--branco); }
.tag--esp { background: var(--louro); color: var(--branco); }
.tag--rep { background: var(--cal); color: var(--tijolo-esc); }

.fora { margin-top: 22px; background: var(--navy); color: var(--sobre-escuro); border-radius: var(--r); padding: 30px 34px; display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; }
.fora h3 { color: var(--branco); font-size: 1.35rem; font-weight: 800; }
.fora .stack { gap: 6px; max-width: 760px; }

/* antes / depois */
.ba { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--pedra-2); border-radius: var(--r); --pos: 50%; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--branco); pointer-events: none; }
.ba-knob { position: absolute; top: 50%; left: var(--pos); width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: var(--branco); box-shadow: 0 2px 8px rgba(0,0,0,0.3); display: flex; align-items: center; justify-content: center; pointer-events: none; color: var(--navy); }
.ba-knob svg { width: 22px; height: 22px; }
.ba input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba input[type="range"]:focus-visible ~ .ba-knob { outline: 3px solid var(--tijolo); outline-offset: 2px; }
.ba-label { position: absolute; bottom: 12px; font-family: var(--display); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--branco); padding: 4px 8px; border-radius: 3px; pointer-events: none; }
.ba-label--antes { left: 12px; background: rgba(20, 18, 16, 0.78); }
.ba-label--depois { right: 12px; background: var(--tijolo); }

.obra-card { background: var(--cal); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.band--pedra .obra-card { background: var(--cal); }
.obra-card .ba { border-radius: 0; }
.obra-card .card-body { gap: 8px; }
.obra-card h3 a { text-decoration: none; color: var(--navy); }
.obra-card h3 a:hover { color: var(--tijolo-esc); }
.meta { font-size: 0.92rem; font-weight: 600; color: var(--louro); }
.quote-mini { font-style: italic; color: var(--texto-2); border-top: 1px solid var(--linha); padding-top: 12px; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filters button { font-family: var(--display); font-weight: 600; font-size: 0.88rem; min-height: 44px; padding: 8px 16px; border-radius: 22px; border: 1px solid #A89B8E; background: transparent; color: var(--navy); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--branco); }

/* processo */
.passos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 24px 20px; }
.passos li { display: flex; flex-direction: column; gap: 10px; }
.passo-mark { display: flex; align-items: flex-end; gap: 4px; height: 30px; }
.passo-mark span { width: 8px; background: var(--pedra); }
.passo-mark span.on { background: var(--navy); }
.passo-mark span.now { background: var(--tijolo); }
.passos h3 { font-size: 1.1rem; }
.passos p { color: var(--texto-2); font-size: 1rem; }

/* duas colunas */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(32px, 5vw, 64px); align-items: center; }
.split > * { min-width: 0; }
.split-img { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--pedra); }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.caption { font-size: 0.9rem; color: var(--texto-2); margin-top: 10px; }
.selo { display: flex; align-items: center; gap: 16px; border: 1px solid var(--linha); border-radius: var(--r); padding: 16px 20px; background: var(--branco); }
.selo svg { width: 34px; height: 34px; flex: none; color: var(--navy); }
.selo strong { font-family: var(--display); color: var(--navy); display: block; }

.valores { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; }
.valor { border-top: 3px solid var(--navy); padding-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.valor p { color: var(--texto-2); }

/* FAQ */
.faq { border-top: 2px solid var(--navy); }
.faq details { border-bottom: 1px solid var(--linha); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--tijolo); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; color: var(--texto-2); max-width: 70ch; }

/* testemunhos */
.testemunho { margin: 0; background: var(--branco); border: 1px solid var(--linha); border-radius: var(--r); padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.testemunho blockquote { margin: 0; font-size: 1.15rem; color: var(--navy); }
.testemunho figcaption { font-family: var(--display); font-weight: 700; font-size: 0.92rem; }
.testemunho figcaption span { font-family: var(--body); font-weight: 400; color: var(--texto-2); }

/* listas de serviço */
.inclui { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px 28px; }
.inclui li { display: flex; gap: 12px; align-items: flex-start; }
.inclui li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 9px; background: var(--tijolo); }
.prose { max-width: 68ch; display: flex; flex-direction: column; gap: 16px; }
.prose h2 { font-size: 1.6rem; margin-top: 12px; }
.prose h3 { margin-top: 8px; }
.prose ul { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }

/* galeria + lightbox */
.galeria { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.galeria a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 4px; background: var(--pedra); }
.galeria img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.galeria a:hover img { transform: scale(1.04); }
.lb { position: fixed; inset: 0; z-index: 50; background: rgba(12, 10, 9, 0.94); display: flex; align-items: center; justify-content: center; padding: calc(56px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) calc(64px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.lb img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 2px; }
.lb button { position: absolute; background: rgba(255,255,255,0.12); border: 0; color: #FFFFFF; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lb button:hover { background: rgba(255,255,255,0.24); }
.lb button svg { width: 24px; height: 24px; }
.lb-close { top: calc(12px + env(safe-area-inset-top, 0px)); right: calc(12px + env(safe-area-inset-right, 0px)); }
.lb-prev { left: calc(12px + env(safe-area-inset-left, 0px)); top: 50%; margin-top: -24px; }
.lb-next { right: calc(12px + env(safe-area-inset-right, 0px)); top: 50%; margin-top: -24px; }
.lb-count { position: absolute; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); left: 0; right: 0; text-align: center; color: #D5CBC1; font-size: 0.9rem; font-variant-numeric: tabular-nums; }

/* ficha de obra */
.ficha { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 1px; background: var(--linha); border: 1px solid var(--linha); border-radius: var(--r); overflow: hidden; }
.ficha div { background: var(--branco); padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.ficha dt { font-size: 0.8rem; font-family: var(--display); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--texto-2); }
.ficha dd { margin: 0; font-family: var(--display); font-weight: 700; color: var(--navy); }
.ba-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.ba-pair figure { margin: 0; }
.ba-pair figcaption { margin-top: 10px; color: var(--texto-2); font-size: 0.95rem; }

/* formulários */
.form-card { background: var(--branco); border: 1px solid var(--linha); border-radius: 8px; padding: clamp(20px, 4vw, 40px); }
.progress { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 10px 0 28px; }
.progress span { height: 6px; border-radius: 3px; background: var(--pedra); }
.progress span.on { background: var(--tijolo); }
.step-info { display: flex; justify-content: space-between; gap: 12px; font-family: var(--display); font-size: 0.82rem; font-weight: 700; color: var(--texto-2); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
legend { font-family: var(--display); font-weight: 800; font-size: 1.4rem; color: var(--navy); padding: 0; margin-bottom: 4px; }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; min-height: 80px; border: 2px solid var(--linha); border-radius: var(--r); background: var(--branco); color: var(--navy); }
.choice span b { font-family: var(--display); font-size: 1rem; }
.choice span small { color: var(--texto-2); font-size: 0.9rem; }
.choice input:checked + span { border-color: var(--tijolo); background: var(--tijolo-claro); }
.choice input:focus-visible + span { outline: 3px solid var(--tijolo); outline-offset: 2px; }
.choices--compact .choice span { min-height: 0; padding: 12px 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field .label { font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid #B9AEA3; border-radius: 4px; background: var(--branco); color: var(--basalto); min-height: 48px; width: 100%; }
.field textarea { min-height: 120px; resize: vertical; }
.fields-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.check { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--linha); border-radius: 4px; background: var(--cal); cursor: pointer; min-height: 44px; }
.check input { width: 18px; height: 18px; accent-color: var(--tijolo); }
.form-nav { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--linha); }
.form-error { color: #A12A1B; font-weight: 600; }
.resumo { background: var(--cal); border: 1px solid var(--linha); border-radius: var(--r); padding: 18px 20px; white-space: pre-line; font-size: 0.98rem; }
.nota { font-size: 0.92rem; color: var(--texto-2); }
.priv { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; }
.priv input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--tijolo); flex: none; }

/* contactos */
.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list svg { width: 26px; height: 26px; flex: none; color: var(--tijolo); margin-top: 2px; }
.contact-list strong { display: block; font-family: var(--display); color: var(--navy); }
.copy { margin-left: 8px; font: inherit; font-size: 0.85rem; padding: 2px 8px; border: 1px solid var(--linha); background: var(--branco); border-radius: 3px; cursor: pointer; color: var(--navy); }

/* CTA final */
.cta { background: var(--pedra); }
.cta .wrap { padding-block: 64px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { max-width: 20ch; }

/* rodapé */
.site-footer { background: var(--navy); color: var(--sobre-escuro); font-size: 0.95rem; }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 36px; padding-block: 56px 32px; }
.site-footer h4 { color: var(--branco); font-size: 0.95rem; margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.site-footer a { color: var(--sobre-escuro); text-decoration: none; }
.site-footer a:hover { color: var(--branco); text-decoration: underline; }
.foot-logo { background: var(--cal); border-radius: var(--r); padding: 10px 12px; align-self: flex-start; }
.foot-logo img { height: 44px; width: auto; }
.foot-brand { display: flex; flex-direction: column; gap: 14px; }
.foot-bottom { border-top: 1px solid #24496A; padding-block: 18px 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 0.88rem; color: #B8C7D4; }
.foot-bottom a { color: #B8C7D4; }

/* WhatsApp e barra móvel */
.wa-float { position: fixed; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 25; width: 60px; height: 60px; border-radius: 50%; background: var(--whatsapp); color: var(--branco); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,0.25); }
.wa-float svg { width: 30px; height: 30px; }
.mbar { display: none; }
@media (max-width: 760px) {
  .wa-float { display: none; }
  .mbar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; background: var(--navy); padding-bottom: env(safe-area-inset-bottom, 0px); padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); }
  .mbar a { color: var(--branco); text-decoration: none; text-align: center; padding: 16px 6px; font-family: var(--display); font-weight: 700; font-size: 0.9rem; }
  .mbar a:nth-child(2) { background: var(--whatsapp); }
  .mbar a:nth-child(3) { background: var(--tijolo); }
  .site-footer { padding-bottom: 56px; }
}
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }


/* ===== Technical-drawing language ===== */
.btn, .nav a, .filters button, .menu-btn, .path .go, .more { font-family: var(--display); }
.btn { border-radius: 0; }
.btn--primary { box-shadow: 4px 4px 0 var(--navy); }
.btn--primary:hover { box-shadow: 2px 2px 0 var(--navy); transform: translate(2px, 2px); }

/* level marker (cota): triangle on a line + elevation */
.eyebrow.cota { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-weight: 600; letter-spacing: 0.06em; font-size: 0.78rem; color: var(--tijolo-esc); }
.cota-sym { position: relative; width: 26px; height: 12px; flex: none; }
.cota-sym::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; border-bottom: 1.5px solid currentColor; }
.cota-sym::after { content: ""; position: absolute; left: 7px; bottom: 1.5px; width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 10px solid currentColor; }
.cota-n { color: var(--navy); }
.page-head .cota-n, .band--navy .cota-n { color: var(--branco); }
.page-head .eyebrow.cota { color: #F0A57E; }

/* home hero: stepped photo on pearl */
.hero2 { background: var(--cal); border-bottom: 1px solid var(--linha); }
.hero2-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(36px, 6vw, 72px); }
.hero2-text { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hero2 h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 850; line-height: 0.98; letter-spacing: -0.025em; max-width: 11ch; }
.hero2 .lead { text-align: left; }
.hero2-fig { margin: 0; min-width: 0; }
.stepped { aspect-ratio: 5 / 4; clip-path: polygon(0 36%, 17% 36%, 17% 24%, 34% 24%, 34% 12%, 51% 12%, 51% 0, 100% 0, 100% 100%, 0 100%); background: var(--pedra); max-width: 100%; }
.stepped img { width: 100%; height: 100%; object-fit: cover; }
.dim { position: relative; margin-top: 14px; padding-top: 12px; text-align: center; font-family: var(--mono); font-size: 0.78rem; color: var(--texto-2); }
.dim::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 9px; border-left: 1.5px solid var(--navy); border-right: 1.5px solid var(--navy); background: linear-gradient(var(--navy), var(--navy)) center / 100% 1.5px no-repeat; }
.dim span { background: var(--cal); padding: 0 10px; position: relative; top: -2px; }

/* title block (cartouche), as in the corner of a drawing */
.cartouche { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 110px), 1fr)); margin: 0; border: 1.5px solid var(--navy); }
.cartouche div { padding: 8px 10px; border-right: 1px solid var(--navy); border-bottom: 1px solid var(--navy); margin: 0 -1px -1px 0; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cartouche dt { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--texto-2); }
.cartouche dd { margin: 0; font-family: var(--display); font-weight: 700; font-size: 0.92rem; color: var(--navy); overflow-wrap: anywhere; }
.cartouche--hero { max-width: 560px; background: var(--branco); }
.cartouche--hero dd { font-size: 1rem; }
.obra-card .cartouche { margin-top: 4px; }
.obra-card { border: 1.5px solid var(--navy); border-radius: 0; }
.obra-card .ba, .ba { border-radius: 0; }
.ficha { border-radius: 0; border: 1.5px solid var(--navy); background: var(--navy); }
.ficha dt { font-family: var(--mono); }

/* the five steps rise like floor levels */
.levels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; align-items: end; }
.levels li { position: relative; padding: 18px 18px 0 0; margin-bottom: calc(var(--i) * 34px); border-top: 2px solid var(--navy); display: flex; flex-direction: column; gap: 8px; }
.levels li::before { content: ""; position: absolute; top: -2px; right: 0; width: 2px; height: calc(var(--i) * 34px + 2px); background: var(--navy); transform: translateY(-100%); display: none; }
.levels li:nth-child(n+2) { border-left: 2px solid var(--navy); padding-left: 16px; }
.lvl { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; color: var(--tijolo-esc); text-transform: uppercase; }
.levels h3 { font-size: 1.1rem; }
.levels p { color: var(--texto-2); font-size: 0.98rem; }
@media (max-width: 860px) {
  .levels { grid-template-columns: minmax(0, 1fr); }
  .levels li, .levels li:nth-child(n+2) { margin-bottom: 0; border-left: 2px solid var(--navy); border-top: 0; padding: 4px 0 22px 18px; margin-left: calc((4 - var(--i)) * 10px); }
  .levels { display: flex; flex-direction: column-reverse; }
}

/* paths A / B */
.path-tag { font-family: var(--mono); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.path--navy .path-tag { color: #F0A57E; }
.path--pedra .path-tag { color: var(--tijolo-esc); }
.path { border-radius: 0; }
.path--pedra { border: 1.5px solid var(--navy); }

/* cards and boxes: square corners, drawn borders */
.card, .fora, .selo, .form-card, .testemunho, .galeria a, .split-img, .resumo, .choice span { border-radius: 0; }
.card { border: 1.5px solid var(--navy); }
.tag { border-radius: 0; font-family: var(--mono); letter-spacing: 0.06em; }
.selo { border: 1.5px solid var(--navy); }
.selo strong { font-family: var(--display); }
.filters button { border-radius: 0; }
.wa-float { width: auto; height: auto; border-radius: 0; padding: 12px 18px; font-family: var(--display); font-weight: 700; font-size: 0.9rem; text-decoration: none; box-shadow: 4px 4px 0 var(--navy); }
.wa-float:hover { color: var(--branco); }
.contact-list strong { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tijolo-esc); }

/* before/after handle: a plain drawn bar */
.ba-knob { width: 18px; height: 54px; margin: -27px 0 0 -9px; border-radius: 0; gap: 4px; background: var(--branco); border: 1.5px solid var(--navy); box-shadow: none; }
.ba-knob i { display: block; width: 2px; height: 22px; background: var(--navy); }
.ba-label { border-radius: 0; font-family: var(--mono); }

/* map */
.mapa { margin: 0; }
.mapa svg { width: 100%; height: auto; display: block; }
.m-land { fill: var(--branco); stroke: var(--navy); stroke-width: 1.6; stroke-linejoin: round; }
.m-hatchfill { fill: url(#hatch); stroke: none; }
.m-hatch { stroke: var(--pedra-2); stroke-width: 1; }
.m-island { font-family: var(--mono); font-size: 15px; font-weight: 600; letter-spacing: 0.3em; fill: var(--navy); }
.m-label { font-family: var(--mono); font-size: 14px; fill: var(--basalto); }
.m-lead { stroke: var(--basalto); stroke-width: 1; }
.m-proj { fill: var(--tijolo); }
.m-office { fill: var(--navy); }
.m-scale line, .m-north line, .m-north polyline { stroke: var(--navy); stroke-width: 1.5; fill: none; }
.mapa figcaption { margin-top: 10px; font-size: 0.9rem; color: var(--texto-2); }

.mapa { max-width: 860px; margin-inline: auto; }
.obra-card .cartouche { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hero2-fig { max-width: 640px; justify-self: end; width: 100%; }
.levels p, .cartouche dd, .dim, .mapa figcaption { text-align: left; }
@media (max-width: 560px) { .cartouche--hero { grid-template-columns: repeat(2, minmax(0, 1fr)); } }


/* ===== Plainer, hand-set details (less "template") ===== */
body { font-size: 18px; line-height: 1.6; }
h1, h2, h3, h4 { letter-spacing: -0.01em; }
.hero2 h1 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.04; max-width: 14ch; }
.btn--primary, .btn--primary:hover, .wa-float { box-shadow: none; transform: none; }
.btn { font-size: 0.95rem; letter-spacing: 0; }
.eyebrow, .eyebrow.cota { text-transform: none; letter-spacing: 0; font-size: 0.9rem; font-weight: 600; font-family: var(--display); }
.cota-n { font-variant-numeric: tabular-nums; font-weight: 700; }
.lvl, .path-tag, .tag, .ba-label { text-transform: none; letter-spacing: 0; font-family: var(--display); }
.cartouche dt, .ficha dt, .contact-list strong { font-family: var(--display); letter-spacing: 0.04em; }
.dim, .mapa figcaption { font-family: var(--display); }
.m-island { font-family: var(--display); letter-spacing: 0.25em; font-weight: 700; }
.m-label { font-family: var(--display); }
.more { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.card-body h3, .obra-card h3 { font-size: 1.15rem; }
.lead { font-size: 1.12rem; }

/* language switch */
.site-header .langs { display: flex; gap: 2px; font-family: var(--display); font-weight: 700; font-size: 0.85rem; margin-left: auto; }
.site-header .langs a { color: var(--texto-2); text-decoration: none; padding: 8px 8px; border-bottom: 2px solid transparent; }
.site-header .langs a[aria-current="true"] { color: var(--navy); border-bottom-color: var(--tijolo); }
.site-header .langs a:hover { color: var(--navy); }
@media (max-width: 1080px) { .site-header .langs { margin-left: auto; } }
