/* PACAZA — azul-marinho e bege | Montserrat */
:root {
  --navy: #13234A;
  --navy-900: #0C1731;
  --navy-700: #22386B;
  --bege: #E3D3B4;
  --bege-200: #EFE6D2;
  --cream: #F5F1EA;
  --white: #FFFFFF;
  --ink: #1B2440;
  --muted: #5D667C;
  --line: #E2DACB;
  --ok: #1F7A4D;
  --err: #B3261E;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(19, 35, 74, .10);
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; color: var(--navy); letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 6vw, 4rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--bege); outline-offset: 3px; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  text-decoration: none; cursor: pointer; transition: transform .15s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-700); }
.btn--bege { background: var(--bege); color: var(--navy); }
.btn--bege:hover { background: var(--bege-200); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.btn--small { padding: 10px 20px; font-size: .85rem; }
.btn--block { width: 100%; }

.card .link { align-self: flex-start; }
.link { font-weight: 600; font-size: .92rem; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--bege); padding-bottom: 2px; }
.link:hover { border-color: var(--navy); }

.eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--bege); margin-bottom: 1.2em; }
.eyebrow--dark { color: #9A8456; }

/* Cabeçalho */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 23px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { text-decoration: none; font-size: .88rem; font-weight: 500; color: var(--navy); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover { border-color: var(--bege); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); margin: 6px 0; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero */
.hero { position: relative; color: #fff; background: var(--navy-900); overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(12, 23, 49, .94) 0%, rgba(19, 35, 74, .82) 55%, rgba(19, 35, 74, .55) 100%),
    url('../img/hero.jpg') center / cover no-repeat,
    linear-gradient(135deg, var(--navy-900), var(--navy-700));
}
.hero__bg::after {
  content: ''; position: absolute; right: -6%; bottom: -18%; width: min(52vw, 560px); aspect-ratio: 1;
  background: url('../img/simbolo.svg') center / contain no-repeat; opacity: .07; filter: grayscale(1) brightness(2);
}
.hero__inner { position: relative; padding: clamp(80px, 14vw, 170px) 0 clamp(70px, 10vw, 120px); }
.hero h1 { color: #fff; max-width: 14ch; }
.hero__lead { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 38ch; color: var(--bege-200); font-weight: 300; margin-bottom: 2em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 2.4em; }
.hero__chips { list-style: none; padding: 0; margin: 0 0 .8em; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__chips li { font-size: .8rem; font-weight: 500; padding: 7px 14px; border: 1px solid rgba(227, 211, 180, .45); border-radius: 999px; color: var(--bege); }
.hero__note { font-size: .75rem; color: rgba(239, 230, 210, .7); margin: 0; }

/* Secções */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: var(--bege-200); }
.section__head { max-width: 640px; margin-bottom: 3rem; }
.section__head p:last-child { color: var(--muted); margin: 0; }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--imoveis { grid-template-columns: repeat(3, 1fr); }

/* Cartões de serviço */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card p { color: var(--muted); font-size: .92rem; flex: 1; }
.icon { width: 54px; height: 54px; border-radius: 14px; background: var(--navy); display: grid; place-items: center; margin-bottom: 22px; }
.icon svg { width: 26px; height: 26px; fill: none; stroke: var(--bege); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Imóveis */
.imovel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.imovel:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.imovel__img { position: relative; aspect-ratio: 4 / 3; background: var(--cream) url('../img/simbolo.svg') center / 64px no-repeat; }
.imovel__img img { position: relative; background: var(--cream); }
.imovel__img img { width: 100%; height: 100%; object-fit: cover; }
.imovel__foto { display: block; cursor: zoom-in; }
.imovel__foto.falhou { opacity: 0; }
.gal__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: var(--navy); font-size: 1.5rem; line-height: 1; padding: 0 0 3px; cursor: pointer; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); opacity: 0; transition: opacity .2s; }
.imovel__img:hover .gal__btn, .gal__btn:focus-visible { opacity: 1; }
@media (hover: none) { .gal__btn { opacity: 1; } }
.gal__btn--prev { left: 10px; }
.gal__btn--next { right: 10px; }
.gal__cont { position: absolute; right: 12px; bottom: 12px; background: rgba(12, 23, 49, .78); color: #fff; font-size: .72rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; pointer-events: none; }
/* Ampliação de fotografias */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(8, 14, 32, .96); display: flex; align-items: center; justify-content: center; padding: 56px 72px 32px; }
.lb__fig { margin: 0; max-width: min(1100px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lb__img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: 8px; }
.lb__cap { color: var(--bege-200); font-size: .85rem; text-align: center; }
.lb__x { position: absolute; top: 12px; right: 18px; background: none; border: 0; color: #fff; font-size: 2.4rem; line-height: 1; cursor: pointer; padding: 4px 10px; }
.lb__n { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; font-size: 1.2rem; cursor: pointer; }
.lb__n:hover { background: rgba(255, 255, 255, .3); }
.lb__n--prev { left: 14px; }
.lb__n--next { right: 14px; }
@media (max-width: 600px) { .lb { padding: 56px 12px 24px; } .lb__n { top: auto; bottom: 14px; transform: none; } }
.imovel__tag { position: absolute; top: 14px; left: 14px; background: var(--navy); color: var(--bege); font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.imovel__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.imovel__body h3 { margin-bottom: .3em; }
.imovel__local { color: var(--muted); font-size: .88rem; margin-bottom: 12px; }
.imovel__feat { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; padding: 0; margin: 0 0 18px; font-size: .85rem; color: var(--ink); }
.imovel__preco { font-size: 1.4rem; font-weight: 700; color: var(--navy); margin-top: auto; margin-bottom: 14px; }
.imovel__acoes { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.vazio { grid-column: 1 / -1; text-align: center; background: var(--cream); border: 1px dashed #CFC3AA; border-radius: var(--radius); padding: 56px 24px; }
.vazio h3 { margin-bottom: .4em; }
.vazio p { color: var(--muted); max-width: 46ch; margin: 0 auto 1.6em; }

/* Valorização */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.paths .example { display: flex; flex-direction: column; justify-content: center; }
.path { background: var(--cream); border: 1px solid var(--line); border-radius: 20px; padding: clamp(26px, 4vw, 40px); display: flex; flex-direction: column; }
.path p { color: var(--muted); }
.path .checks { flex: 1; }
.path .btn { align-self: flex-start; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.checks { list-style: none; padding: 0; margin: 0 0 2em; }
.checks li { position: relative; padding-left: 32px; margin-bottom: .7em; }
.checks li::before { content: ''; position: absolute; left: 0; top: .4em; width: 18px; height: 18px; border-radius: 50%; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E3D3B4' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat; }
.example { text-align: left; background: var(--navy); color: #fff; border-radius: 20px; padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow); }
.example__tag { align-self: flex-start; display: inline-block; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--bege); border: 1px solid rgba(227, 211, 180, .5); padding: 5px 12px; border-radius: 999px; margin-bottom: 28px; }
.example__row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 24px; }
.example__label { display: block; font-size: .78rem; color: var(--bege-200); opacity: .8; margin-bottom: 4px; }
.example__value { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 600; }
.example__value--up { color: var(--bege); }
.example__arrow { font-size: 1.8rem; color: var(--bege); }
.example__note { font-size: .78rem; color: var(--bege-200); opacity: .7; margin: 0; }

/* Faixa avaliação */
.band { background: var(--bege); }
.band__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 52px 0; }
.band h2 { margin-bottom: .2em; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.band p { margin: 0; color: var(--navy); max-width: 52ch; }
.band .btn--bege { background: var(--navy); color: #fff; }
.band .btn--bege:hover { background: var(--navy-700); }

/* Sobre */
.about { text-align: center; max-width: 760px; }
.about__symbol { margin: 0 auto 28px; }
.about h2 { color: #fff; }
.about__text { font-size: 1.1rem; font-weight: 300; }
.about__quote strong { color: #fff; letter-spacing: .06em; }
.about__quote { margin: 2em 0 1.2em; font-size: clamp(1.2rem, 2.6vw, 1.6rem); font-weight: 500; color: var(--bege); line-height: 1.45; }
.about__sign { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; opacity: .75; margin: 0; }

/* Contacto */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 2em 0 0; }
.contact__list li { padding: 16px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.contact__list li:last-child { border-bottom: 1px solid var(--line); }
.contact__list span { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #9A8456; font-weight: 600; }
.contact__list a, .contact__list b { font-weight: 600; color: var(--navy); text-decoration: none; font-size: 1.05rem; }
.contact__list a:hover { text-decoration: underline; }
.contact__nota { margin-top: 2px; font-size: .8rem; color: var(--muted, #5b6478); }

.form { background: #fff; border-radius: 20px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); display: flex; flex-wrap: wrap; gap: 18px; }
.field { flex: 1 1 100%; display: flex; flex-direction: column; }
.field--half { flex: 1 1 calc(50% - 9px); min-width: 180px; }
.field label { font-size: .8rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  font: inherit; font-size: .95rem; color: var(--ink); background: var(--cream);
  border: 1.5px solid transparent; border-radius: 10px; padding: 13px 14px; width: 100%;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: #fff; }
.field .invalid { border-color: var(--err); }
.field--hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.consent { flex: 1 1 100%; display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: var(--muted); }
.consent input { margin-top: 4px; accent-color: var(--navy); width: 16px; height: 16px; flex: none; }
.form__status { flex: 1 1 100%; margin: 0; font-size: .9rem; font-weight: 500; min-height: 1.4em; }
.form__status.ok { color: var(--ok); }
.form__status.err { color: var(--err); }

/* Rodapé */
.footer { background: var(--navy-900); color: var(--bege-200); padding-top: 56px; }
.footer__inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 36px; }
.footer__brand p { margin: 14px 0 0; font-size: .9rem; opacity: .8; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 10px 26px; align-content: flex-start; }
.footer__nav a { text-decoration: none; font-size: .88rem; opacity: .85; }
.footer__nav a:hover { opacity: 1; text-decoration: underline; }
.footer__legal { border-top: 1px solid rgba(227, 211, 180, .18); padding: 22px 0 90px; font-size: .75rem; opacity: .7; }
.footer__legal p { margin: 0; }

/* WhatsApp flutuante */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); transition: transform .2s; }
.wa:hover { transform: scale(1.07); }
.wa svg { width: 30px; height: 30px; }

/* Animação de entrada */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .imovel { transition: none; }
}

/* Responsivo */
@media (max-width: 1020px) {
  .grid--imoveis, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .grid--3 { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 20px 22px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__cta { margin-top: 16px; }
  .split, .contact, .paths { grid-template-columns: 1fr; }
  .band__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .grid--2, .grid--3, .grid--4, .grid--imoveis { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 100%; }
  .example__row { flex-direction: column; align-items: flex-start; }
  .example__arrow { transform: rotate(90deg); }
}
