/* Direção: paleta da Riva (azul-marinho + vermelho), tipografia no estilo do QuintoAndar, cards no padrão dos empreendimentos da Riva.
   Layout: cabeçalho branco, banner azul com formulário à direita, grade de cards de 270px. */
:root {
  --navy: #173257;
  --navy-deep: #16243c;
  --blue-hover: #2c5fa5;
  --blue-light: #dee6f4;
  --red: #a71c20;
  --red-dark: #811823;
  --offwhite: #fbf7f5;
  --gray: #e8e5e5;
  --gray-medium: #b2b0ae;
  --text: #333333;
  --green: #55cd6c;
  --green-card: #1cb234;
  --orange: #c9600b;
  --font: "Figtree", "Oatmeal", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: #ffffff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue-hover); outline-offset: 2px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3, p { margin: 0; }
h1, h2 { text-wrap: balance; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px; border: 0; border-radius: 5px;
  font: 700 15px/1 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-green { background: var(--green); color: #0d2a14; }
.btn-green:hover { background: #46b95c; }
.btn-outline { background: transparent; color: var(--red); box-shadow: inset 0 0 0 2px var(--red); }
.btn-outline:hover { background: var(--red); color: #fff; }

/* Cabeçalho */
.site-header { background: #fff; border-bottom: 1px solid var(--gray); position: sticky; top: 0; z-index: 20; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-size: 24px; font-weight: 700; letter-spacing: -.01em; }
.brand-role { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--navy); }
.nav a:hover { color: var(--blue-hover); }
.header-actions { display: flex; align-items: center; gap: 10px; }

/* Banner */
.hero { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 55%, #1f4378 100%); color: #fff; }
.hero-city { position: absolute; right: 0; bottom: 0; width: 72%; height: 100%; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 420px); gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.hero h1 { font-size: 46px; line-height: 1.1; font-weight: 500; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--blue-light); }
.hero-sub { margin-top: 18px; max-width: 52ch; font-size: 18px; color: rgba(255,255,255,.88); }
.hero-points { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; font-weight: 500; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--blue-light); flex: none; }

/* Formulário do banner */
.lead { background: #fff; color: var(--text); border-radius: 10px; padding: 28px; box-shadow: 0 20px 50px rgba(8, 16, 32, .35); }
.lead h2 { font-size: 24px; line-height: 1.2; color: var(--navy-deep); font-weight: 700; }
.lead-intro { margin-top: 6px; font-size: 14px; color: #555; }
.field { margin-top: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--navy-deep); margin-bottom: 6px; }
.field input, .field select {
  width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--gray-medium); border-radius: 5px;
  font: 500 16px var(--font); color: var(--text); background: #fff;
}
.field input:focus, .field select:focus { outline: 3px solid var(--blue-light); border-color: var(--blue-hover); }
.field .err { display: none; margin-top: 4px; font-size: 12px; color: var(--red); font-weight: 600; }
.field.invalid input { border-color: var(--red); }
.field.invalid .err { display: block; }
.lead .btn { width: 100%; margin-top: 20px; min-height: 52px; font-size: 16px; }
.consent { margin-top: 12px; font-size: 12px; color: #666; }
.lead-done { display: none; text-align: left; }
.lead-done h2 { font-size: 22px; }
.lead-done p { margin-top: 8px; font-size: 15px; color: #444; }
.lead.sent form { display: none; }
.lead.sent .lead-done { display: block; }
.lead-done .btn { margin-top: 18px; }
.lead-done .redo { display: inline-block; margin-top: 14px; font-size: 13px; color: var(--navy); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; font-family: var(--font); }

/* Imóveis */
.listings { padding: 72px 0 80px; background: #fff; }
.eyebrow { font-size: 12px; font-weight: 700; color: var(--red); }
.listings h2 { margin-top: 6px; font-size: 36px; line-height: 1.15; font-weight: 400; color: var(--navy-deep); letter-spacing: -.01em; }
.listings h2 strong { font-weight: 700; color: var(--navy); }
.cards { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fill, 270px); gap: 32px 24px; justify-content: start; }

.card-empreendimento { display: flex; flex-direction: column; width: 270px; }
.card-tag { background: var(--navy); color: #fff; font-size: 14px; font-weight: 700; line-height: 1.05; text-align: center; padding: 6px 5px; border-radius: 10px 10px 0 0; }
.tag-blue { background: var(--navy); }
.tag-red { background: var(--red); }
.tag-orange { background: var(--orange); }
.card-media { position: relative; height: 173px; border-radius: 0 0 10px 10px; overflow: hidden; background: #f1efed; }
.slides { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; }
.slide img, .slide svg { width: 100%; height: 100%; object-fit: cover; }
.car-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; border: 0; padding: 0; background: rgba(0,0,0,.7); color: #fff; cursor: pointer; display: grid; place-items: center; }
.car-btn svg { width: 12px; height: 12px; }
.car-prev { left: 8px; }
.car-next { right: 8px; }
.car-btn[hidden] { display: none; }
.card-body { padding-top: 14px; display: flex; flex-direction: column; flex: 1; }
.card-kind { font-size: 12px; color: var(--text); }
.card-hood { margin-top: 2px; font-size: 22px; line-height: 1.4; font-weight: 700; color: var(--red); }
.card-name { font-size: 14px; font-weight: 500; line-height: 1.5; color: #000; margin-bottom: 8px; }
.card-area { font-size: 13px; font-weight: 600; color: #000; line-height: 1.5; }
.card-meta { display: flex; flex-wrap: wrap; margin-top: 2px; font-size: 12px; color: #000; }
.card-meta span { padding: 0 8px; border-right: 1px solid var(--gray-medium); line-height: 1.5; }
.card-meta span:first-child { padding-left: 0; }
.card-meta span:last-child { border-right: 0; }
.dots { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 30px; background: rgba(255,255,255,.85); }
.dots[hidden] { display: none; }
.dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: var(--gray-medium); cursor: pointer; }
.dots button[aria-current="true"] { background: var(--red); }
.card-empreendimento { position: relative; cursor: pointer; }
.card-foot { margin-top: auto; padding-top: 16px; }
.card-link { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 22px; border-radius: 999px; background: var(--red); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; transition: background-color .15s ease; }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 10px; }
.card-empreendimento:hover .card-link, .card-link:hover { background: var(--red-dark); }
.card-empreendimento:hover .card-hood { text-decoration: underline; text-underline-offset: 3px; }
.card-media { z-index: 2; }
.car-btn, .dots { z-index: 3; }

.card-cta { width: 270px; background: var(--navy); color: #fff; border-radius: 10px; padding: 26px 22px; display: flex; flex-direction: column; justify-content: center; min-height: 300px; }
.card-cta h3 { font-size: 22px; line-height: 1.2; font-weight: 700; }
.card-cta p { margin-top: 10px; font-size: 14px; color: rgba(255,255,255,.85); }
.card-cta .btn { margin-top: 20px; }

.listings-more { margin-top: 40px; }

/* Rodapé */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.85); padding: 36px 0; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-row strong { color: #fff; font-size: 18px; }
.footer-row small { font-size: 13px; }


@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; padding-top: 44px; padding-bottom: 48px; }
  .hero h1 { font-size: 36px; }
  .hero-city { width: 100%; opacity: .6; }
  .nav { display: none; }
}
@media (max-width: 560px) {
  .header-row { min-height: 66px; }
  .brand-name { font-size: 20px; }
  .brand-role { font-size: 9.5px; }
  .brand-mark { width: 32px; height: 32px; }
  .header-actions .btn { padding: 0 16px; min-height: 40px; font-size: 14px; }
  .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 16px; }
  .lead { padding: 22px 18px; }
  .listings { padding: 48px 0 56px; }
  .listings h2 { font-size: 28px; }
  .cards { grid-template-columns: 1fr; }
  .card-empreendimento, .card-cta { width: 100%; }
  .card-media { height: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}


/* Cartão verde do WhatsApp (fixo) */
.wa-card { position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 300px; padding: 14px; border-radius: 10px; background: #14862a; color: #fff; box-shadow: 0 12px 32px rgba(0,0,0,.28); }
.wa-card a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 14px; background: #fff; color: #0f6f22; border-radius: 8px; font-weight: 700; font-size: 16px; text-decoration: none; }
.wa-card a:hover { background: #f1faf3; }
.wa-card svg { width: 26px; height: 26px; flex: none; }
.wa-card small { display: block; margin-top: 10px; text-align: center; font-size: 12px; font-weight: 600; line-height: 1.3; }

/* Páginas dos imóveis */
.crumbs { background: #fff; border-bottom: 1px solid var(--gray); font-size: 13px; color: #555; }
.crumbs ol { list-style: none; margin: 0; padding: 12px 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.crumbs li + li::before { content: "›"; margin-right: 8px; color: var(--gray-medium); }
.crumbs a { color: var(--navy); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { font-weight: 700; color: var(--navy-deep); }

.dh { position: relative; background: var(--navy-deep); color: #fff; overflow: hidden; }
.dh-grid { display: grid; grid-template-columns: 4fr 2fr 2fr; height: 560px; }
.dh-grid > * { min-width: 0; min-height: 0; }
.dh-grid img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.55); }
.dh-stack { display: grid; grid-template-rows: 1fr 1fr; }
.dh-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,20,40,0) 35%, rgba(10,20,40,.78) 100%); pointer-events: none; }
.dh-text { position: absolute; left: 0; right: 0; bottom: 0; padding-bottom: 40px; }
.dh-top { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 14px; font-weight: 700; }
.dh-tag { border-radius: 999px; padding: 5px 14px; font-size: 13px; font-weight: 700; color: #fff; }
.dh h1 { margin-top: 8px; font-size: 48px; font-weight: 300; line-height: 1.1; letter-spacing: -.01em; }
.dh-city { margin-left: 10px; font-size: 18px; font-weight: 500; }
.dh-row { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.dh-area { background: rgba(0,0,0,.45); border-radius: 5px; padding: 8px 14px; font-size: 14px; }
.btn-white { background: #fff; color: var(--red); min-height: 40px; padding: 0 18px; font-size: 14px; border-radius: 0; box-shadow: inset 0 0 0 1px var(--red); }
.btn-white:hover { background: var(--red); color: #fff; }

.subnav { position: sticky; top: 76px; z-index: 15; background: var(--navy); }
.subnav-row { display: flex; align-items: stretch; justify-content: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav-row::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 16px 28px; color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; border-bottom: 3px solid transparent; }
.subnav a:hover { background: rgba(255,255,255,.08); }
.subnav a[aria-current="true"] { border-bottom-color: var(--red); background: rgba(255,255,255,.06); }

.sec { padding: 64px 0; scroll-margin-top: 130px; }
.sec-off { background: var(--offwhite); }
.sec h2 { font-size: 34px; line-height: 1.15; font-weight: 400; color: var(--navy-deep); letter-spacing: -.01em; }
.sec h2 strong { font-weight: 700; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.about-text p { margin-top: 16px; font-size: 17px; color: #3b3b3b; max-width: 62ch; }
.about-addr { margin-top: 22px; display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 600; color: var(--navy-deep); }
.about-addr svg { width: 20px; height: 20px; color: var(--red); flex: none; margin-top: 2px; }
.facts { background: #fff; border: 1px solid var(--gray); border-radius: 14px; padding: 24px; box-shadow: 0 10px 15px -3px rgba(0,0,0,.08); }
.facts h3 { font-size: 18px; color: var(--navy-deep); }
.facts dl { margin: 14px 0 0; display: grid; gap: 10px; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--gray); font-size: 15px; }
.facts dt { color: #666; }
.facts dd { margin: 0; font-weight: 700; color: var(--navy-deep); text-align: right; }
.facts .btn { width: 100%; margin-top: 18px; border-radius: 999px; min-height: 48px; }

.video { margin-top: 48px; }
.video h3 { font-size: 22px; color: var(--navy-deep); font-weight: 700; }
.video-box { position: relative; display: block; margin-top: 16px; max-width: 880px; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; text-decoration: none; }
.video-box img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.7); }
.video-play { position: absolute; inset: 0; display: grid; place-items: center; }
.video-play span { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--red); color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.4); transition: transform .15s ease; }
.video-box:hover .video-play span { transform: scale(1.08); }
.video-play svg { width: 30px; height: 30px; margin-left: 4px; }
.video-note { position: absolute; left: 16px; bottom: 14px; font-size: 13px; font-weight: 700; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.6); }

.dif-card { margin-top: 28px; background: #fff; border-radius: 14px; padding: 28px; box-shadow: 0 10px 15px -3px rgba(0,0,0,.1); }
.dif-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 24px; }
.dif-list li { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; color: #314158; }
.dif-list svg { width: 20px; height: 20px; flex: none; color: var(--red); margin-top: 1px; }
.dif-note { margin-top: 18px; font-size: 12px; color: #666; }

.gal-wrap { position: relative; margin-top: 24px; }
.gal { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
.gal::-webkit-scrollbar { display: none; }
.gal-item { position: relative; flex: 0 0 min(760px, 88%); height: 450px; border-radius: 24px; overflow: hidden; scroll-snap-align: start; background: #1d2b44; border: 0; padding: 0; cursor: zoom-in; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; }
.gal-item.contain img { object-fit: contain; }
.gal-cap { position: absolute; left: 14px; bottom: 14px; background: rgba(0,0,0,.65); color: #fff; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.gal-exp { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%; background: var(--offwhite); color: var(--red); display: grid; place-items: center; }
.gal-exp svg { width: 16px; height: 16px; }
.nav-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); }
.nav-btn:hover { background: rgba(0,0,0,.75); }
.nav-btn svg { width: 20px; height: 20px; }
.nav-prev { left: 12px; }
.nav-next { right: 12px; }
.nav-btn[hidden] { display: none; }
.gal-count { margin-top: 12px; font-size: 13px; color: #555; }
.disclaimer { margin-top: 12px; font-size: 12px; color: #666; }

.tabs { margin-top: 24px; display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.tab { flex: none; border: 1px solid var(--navy); background: #fff; color: var(--navy); font: 700 14px/1 var(--font); padding: 12px 18px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.tab:hover { background: var(--blue-light); }
.tab[aria-selected="true"] { background: var(--navy); color: #fff; }
.plan { margin: 16px 0 0; max-width: 760px; background: #fff; border: 1px solid var(--gray); border-radius: 24px; overflow: hidden; box-shadow: 0 2px 4px rgba(0,0,0,.1); }
.plan-btn { position: relative; display: block; width: 100%; border: 0; background: #fff; padding: 12px; cursor: zoom-in; }
.plan-btn img { width: 100%; height: auto; max-height: 520px; object-fit: contain; }
.plan-btn .gal-exp { background: var(--navy); color: #fff; }
.plan-name { padding: 14px 22px 18px; font-size: 16px; font-weight: 700; color: var(--navy-deep); border-top: 1px solid var(--gray); }
.plan[hidden] { display: none; }

.reg { background: var(--navy); color: #fff; }
.reg h2 { color: #fff; }
.reg .eyebrow { color: var(--blue-light); }
.reg-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.reg p.lead-p { margin-top: 16px; font-size: 17px; color: rgba(255,255,255,.9); max-width: 60ch; }
.prox { margin-top: 28px; }
.prox h3 { font-size: 18px; }
.prox ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.prox li { display: flex; justify-content: space-between; gap: 10px; align-items: center; background: rgba(255,255,255,.08); border-radius: 8px; padding: 10px 14px; font-size: 14px; }
.prox li b { flex: none; background: var(--blue-light); color: var(--navy-deep); border-radius: 999px; padding: 2px 10px; font-size: 12px; }
.addr-card { background: #fff; color: var(--text); border-radius: 14px; padding: 22px; }
.addr-card + .addr-card { margin-top: 16px; }
.addr-card h3 { font-size: 15px; color: var(--navy-deep); }
.addr-card p { margin-top: 6px; font-size: 15px; font-weight: 600; }
.addr-links { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.addr-links a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--navy); color: var(--navy); font-size: 13px; font-weight: 700; text-decoration: none; }
.addr-links a:hover { background: var(--navy); color: #fff; }
.reg .btn { margin-top: 24px; border-radius: 999px; min-height: 50px; padding: 0 28px; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8,14,26,.94); display: none; align-items: center; justify-content: center; padding: 56px 16px 72px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1200px, 100%); max-height: 100%; object-fit: contain; border-radius: 6px; background: #fff0; }
.lb-cap { position: absolute; left: 0; right: 0; bottom: 24px; text-align: center; color: #fff; font-size: 14px; font-weight: 600; padding: 0 70px; }
.lb-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.lb-close:hover { background: rgba(255,255,255,.28); }
.lightbox .nav-prev { left: 14px; } .lightbox .nav-next { right: 14px; }

@media (max-width: 960px) {
  .dh-grid { grid-template-columns: 1fr 1fr; height: 460px; }
  .dh-grid > :nth-child(2) { display: none; }
  .dh h1 { font-size: 38px; }
  .about-grid, .reg-grid { grid-template-columns: 1fr; gap: 32px; }
  .dif-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .subnav { top: 66px; }
  .subnav-row { justify-content: flex-start; }
  .subnav a { padding: 14px 18px; }
  .gal-item { height: 360px; }
}
@media (max-width: 560px) {
  .dh-grid { grid-template-columns: 1fr; height: 400px; }
  .dh-grid > :nth-child(n+2) { display: none; }
  .dh h1 { font-size: 32px; }
  .dh-city { display: block; margin: 4px 0 0; }
  .dh-text { padding-bottom: 24px; }
  .sec { padding: 44px 0; }
  .sec h2 { font-size: 27px; }
  .dif-list { grid-template-columns: 1fr; }
  .gal-item { height: 250px; border-radius: 16px; flex-basis: 92%; }
  .prox ul { grid-template-columns: 1fr; }
  .nav-btn { width: 40px; height: 40px; }
  .wa-card { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 8px; }
  .wa-card a { min-height: 48px; font-size: 15px; }
  .wa-card small { display: none; }
  body { padding-bottom: 76px; }
}

.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Mapa com pin (A região) */
.map-card { padding: 0; overflow: hidden; }
.map-view { display: block; line-height: 0; background: #e6edf3; }
.map-view svg { display: block; width: 100%; height: auto; transition: transform .35s ease; transform-origin: 50% 60%; }
.map-view:hover svg { transform: scale(1.03); }
.map-view:focus-visible { outline: 3px solid var(--red); outline-offset: -3px; }
.map-info { padding: 20px 22px 22px; }

/* Rodapé: créditos de desenvolvimento */
.site-footer { padding-bottom: 0; }
.dev-bar { margin-top: 28px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.14); background: rgba(0,0,0,.18); }
.dev-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.dev-by { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 14px; color: rgba(255,255,255,.8); }
.dev-by strong { color: #fff; }
.dev-phone { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; background: rgba(85,205,108,.14); border: 1px solid rgba(85,205,108,.55); color: #fff; font-weight: 700; text-decoration: none; }
.dev-phone svg { width: 18px; height: 18px; color: var(--green); }
.dev-phone:hover { background: rgba(85,205,108,.28); }
.btn-site { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 12px 0 26px; border-radius: 999px; background: #fff; color: var(--navy-deep); font-size: 16px; font-weight: 800; text-decoration: none; box-shadow: 0 0 0 4px rgba(255,255,255,.14), 0 8px 24px rgba(0,0,0,.28); transition: transform .15s ease, box-shadow .15s ease; }
.btn-site:hover { transform: translateY(-2px); box-shadow: 0 0 0 5px rgba(255,255,255,.22), 0 12px 28px rgba(0,0,0,.34); }
.btn-site:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.btn-site-arrow { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: #fff; font-size: 18px; line-height: 1; }
@media (max-width: 560px) {
  .dev-row { flex-direction: column; align-items: stretch; text-align: left; }
  .btn-site { justify-content: space-between; }
  body { padding-bottom: 76px; }
}
@media (prefers-reduced-motion: reduce) { .map-view svg, .btn-site { transition: none; } }

.wa-card { transition: opacity .2s ease, transform .2s ease; }
@media (min-width: 561px) { .wa-card.is-hidden { opacity: 0; transform: translateY(16px); pointer-events: none; } }

.btn-wa-head { gap: 8px; }
.btn-wa-head svg { width: 20px; height: 20px; flex: none; }

/* Banner principal: foto do Emerson, texto em destaque e fachadas */
.hero-left { min-width: 0; }
.hero-profile { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 20px; margin-top: 30px; align-items: stretch; }
.hero-photo { margin: 0; min-height: 240px; border-radius: 24px; overflow: hidden; background: #dee6f4; border: 3px solid rgba(255,255,255,.92); box-shadow: 0 16px 38px rgba(0,0,0,.35); }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hero-about { display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: #2c5fa5; box-shadow: 0 16px 38px rgba(0,0,0,.30); }
.hero .hero-about .hero-sub { flex: 1; margin: 0; max-width: none; padding: 24px 26px 20px; font-size: 19px; line-height: 1.45; font-weight: 400; color: #fff; }
.hero .hero-about .hero-sub strong { display: block; margin-bottom: 8px; font-size: 25px; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
.hero .hero-about .hero-points { margin: 0; padding: 14px 26px; gap: 8px 22px; background: #55cd6c; color: #0d2a14; font-size: 15px; font-weight: 700; }
.hero .hero-about .hero-points svg { color: #0d2a14; }
@media (max-width: 560px) {
  .hero-profile { grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
  .hero-photo { width: 100%; min-height: 0; aspect-ratio: 1 / 1; max-height: 360px; }
  .hero .hero-about .hero-sub { padding: 20px 20px 16px; font-size: 17px; }
  .hero .hero-about .hero-sub strong { font-size: 22px; }
  .hero .hero-about .hero-points { padding: 12px 20px; flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* Fundo do banner: fachadas lado a lado atrás do azul */
.hero-bg { position: absolute; inset: 0; display: flex; z-index: 0; pointer-events: none; }
.hero-bg img { display: block; flex: 1 1 0; min-width: 0; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(14,30,58,.86) 0%, rgba(23,50,87,.64) 48%, rgba(31,67,120,.52) 100%); }
.hero-bg img + img { border-left: 3px solid rgba(14,30,58,.78); }
.hero-grid { z-index: 1; }
@media (max-width: 960px) {
  .hero-bg { bottom: auto; height: 900px; -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
  .hero-bg img:nth-child(n+7) { display: none; }
}
@media (max-width: 560px) {
  .hero-bg { height: 760px; }
  .hero-bg img:nth-child(n+4) { display: none; }
}

/* Instagram: menu, ícone no celular e rodapé */
.nav-ig { display: inline-flex; align-items: center; gap: 8px; }
.nav-ig svg { width: 20px; height: 20px; flex: none; color: #a71c20; }
.ig-icon { display: none; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid #dee6f4; color: var(--navy); background: #fff; }
.ig-icon svg { width: 20px; height: 20px; }
.ig-icon:hover { border-color: var(--navy); }
@media (max-width: 960px) { .ig-icon { display: inline-grid; } }
.ft-ig { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ft-ig svg { width: 16px; height: 16px; flex: none; }
.ft-ig:hover { color: #dee6f4; }
.header-actions .btn { white-space: nowrap; }
.header-actions { flex: none; }
@media (max-width: 480px) {
  .brand-role { display: none; }
  .header-actions { gap: 8px; }
  .header-actions .btn { padding: 0 14px; font-size: 14px; }
}

/* vídeo incorporado */
.video-box { cursor: pointer; }
.video-poster { position: absolute; inset: 0; display: block; text-decoration: none; }
.video-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
