
:root{
  --blue:#0759ad;
  --blue2:#00458d;
  --cream:#efe6dc;
  --paper:#f7f1ea;
  --ink:#0b2341;
  --muted:#64748b;
  --cyan:#44d4ff;
  --green:#43c786;
  --radius:28px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:#061428;color:#fff;overflow-x:hidden}
img{max-width:100%;display:block} a{text-decoration:none;color:inherit}
.bg-grid{position:fixed;inset:0;z-index:-2;background:radial-gradient(circle at 10% 15%,rgba(68,212,255,.18),transparent 28%),radial-gradient(circle at 85% 20%,rgba(67,199,134,.12),transparent 28%),linear-gradient(180deg,#061428 0%,#082a52 45%,#061428 100%)}
.bg-grid:after{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);background-size:42px 42px;mask-image:radial-gradient(circle at center,#000,transparent 76%)}
.topbar{position:fixed;top:16px;left:50%;transform:translateX(-50%);z-index:30;width:min(1180px,calc(100% - 32px));height:74px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.88);backdrop-filter:blur(18px);border-radius:999px;display:flex;align-items:center;justify-content:space-between;padding:0 16px 0 22px;box-shadow:0 24px 70px rgba(0,0,0,.22)}
.logos{display:flex;align-items:center;gap:14px}.logos img{object-fit:contain}.logos .prevent{height:36px}.logos .ben{height:38px}.nav{display:flex;align-items:center;gap:18px;color:#0f3b75;font-weight:800;font-size:14px}.nav a:hover{color:var(--blue)}.nav .cta{padding:13px 17px;border-radius:999px;color:#fff;background:linear-gradient(135deg,var(--blue),#1b7bd7);box-shadow:0 10px 30px rgba(7,89,173,.26)}
.hero{min-height:100svh;position:relative;isolation:isolate;display:grid;align-items:center;overflow:hidden;padding:110px 28px 46px}.hero-bg{position:absolute;inset:0;z-index:-2}.hero-slide{position:absolute;inset:0;opacity:0;transition:opacity 1.2s ease,transform 6s ease;transform:scale(1.05)}.hero-slide.active{opacity:1;transform:scale(1)}.hero-slide img{width:100%;height:100%;object-fit:cover}.hero:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(2,18,39,.90),rgba(2,18,39,.66) 42%,rgba(2,18,39,.22)),linear-gradient(180deg,rgba(0,0,0,.1),rgba(2,18,39,.82))}
.hero-wrap{width:min(1180px,100%);margin:0 auto;display:grid;grid-template-columns:450px 1fr;gap:44px;align-items:center}.form-card{background:rgba(255,255,255,.94);color:var(--ink);border-radius:34px;padding:24px;box-shadow:0 30px 90px rgba(0,0,0,.38);border:1px solid rgba(255,255,255,.7)}.form-card h2{margin:0 0 8px;font-family:Playfair Display,serif;color:var(--blue);font-size:34px;line-height:1}.form-card p{margin:0 0 18px;color:#526174;font-size:14px;line-height:1.45}.quote-form{display:grid;gap:11px}.quote-form label{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#3c4b60;font-weight:900}.quote-form input,.quote-form select,.quote-form textarea{width:100%;margin-top:6px;border:1px solid #d8e0ea;background:#f8fbff;border-radius:14px;padding:13px 12px;color:#0b2341;font:inherit;outline:none}.quote-form textarea{min-height:78px;resize:vertical}.quote-form button{border:0;border-radius:999px;background:linear-gradient(135deg,var(--blue),#14a1da);color:#fff;font-weight:900;padding:15px 18px;cursor:pointer;box-shadow:0 15px 35px rgba(7,89,173,.25)}.hero-copy{padding-top:40px}.eyebrow{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);padding:9px 13px;border-radius:999px;text-transform:uppercase;letter-spacing:.14em;font-size:12px;font-weight:900}.hero h1{font-family:Playfair Display,serif;font-weight:700;letter-spacing:-.05em;line-height:.9;margin:18px 0 18px;font-size:clamp(50px,7vw,96px);max-width:10ch}.hero-copy p{font-size:20px;line-height:1.55;max-width:58ch;color:#e6f1ff}.hero-badges{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.hero-badges span{padding:10px 13px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.14);font-size:13px}
.intro{padding:88px 28px;background:linear-gradient(180deg,rgba(6,20,40,0),#f3ebe2 12%,#f3ebe2);color:var(--ink)}.intro-wrap{width:min(1180px,100%);margin:0 auto;display:grid;grid-template-columns:.8fr 1.2fr;gap:36px;align-items:center}.intro h2{font-family:Playfair Display,serif;font-size:clamp(38px,5vw,70px);line-height:.95;letter-spacing:-.04em;color:var(--blue);margin:0}.intro p{font-size:19px;line-height:1.65;color:#38516d;margin:0}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:22px}.stat{background:#fff;border-radius:22px;padding:18px;box-shadow:0 18px 50px rgba(15,35,65,.09)}.stat b{display:block;color:var(--blue);font-size:30px}.stat span{color:#64748b;font-size:13px;font-weight:800}
.unit-section{min-height:100svh;padding:86px 0 76px;display:grid;grid-template-columns:minmax(360px,42vw) 1fr;gap:26px;align-items:center;background:#f3ebe2;color:var(--ink);overflow:hidden}.unit-section:nth-of-type(even){background:#e9f0f7}.unit-copy{padding-left:max(28px,calc((100vw - 1180px)/2));padding-right:20px}.unit-number{display:inline-grid;place-items:center;width:52px;height:52px;border-radius:50%;background:var(--blue);color:#fff;font-weight:900;margin-bottom:18px}.unit-copy .eyebrow{background:#fff;color:var(--blue);border-color:#d7e1ee}.unit-copy h2{font-family:Playfair Display,serif;color:var(--blue);font-size:clamp(36px,4vw,62px);line-height:.94;letter-spacing:-.04em;margin:16px 0 14px}.unit-lead{font-size:18px;line-height:1.5;color:#3d5873;margin:0 0 14px}.unit-details{margin:0 0 18px;padding-left:20px;color:#4b6178;line-height:1.45}.unit-details li{margin:8px 0}.chips{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.chips span{padding:8px 11px;border-radius:999px;background:#fff;color:#0e4c8a;font-weight:800;font-size:12px;border:1px solid #d8e3ef}.address-card{display:grid;gap:10px;background:#fff;border-radius:24px;padding:18px;box-shadow:0 18px 50px rgba(15,35,65,.08);color:#506278}.address-card span{display:block;line-height:1.38}.address-card b{display:block;color:var(--ink);font-size:12px;text-transform:uppercase;letter-spacing:.08em;margin-bottom:3px}.address-card a{width:max-content;padding:10px 13px;border-radius:999px;background:var(--blue);color:#fff;font-weight:900;font-size:13px}.unit-gallery-wrap{min-width:0}.unit-gallery{overflow:hidden}.marquee-track{display:flex;gap:18px;width:max-content;animation:marquee 38s linear infinite}.marquee-2 .marquee-track{animation-duration:44s;animation-direction:reverse}.marquee-3 .marquee-track{animation-duration:35s}.marquee-4 .marquee-track{animation-duration:40s;animation-direction:reverse}.unit-gallery:hover .marquee-track{animation-play-state:paused}.gallery-card{width:min(42vw,460px);height:min(58vh,440px);border-radius:30px;overflow:hidden;position:relative;box-shadow:0 28px 80px rgba(10,40,80,.22);background:#fff;flex:0 0 auto}.gallery-card img{width:100%;height:100%;object-fit:cover}.gallery-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 50%,rgba(0,0,0,.72))}.gallery-card span{position:absolute;left:16px;right:16px;bottom:16px;z-index:2;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.22);backdrop-filter:blur(10px);border-radius:16px;padding:12px;color:#fff;font-weight:900}@keyframes marquee{from{transform:translateX(0)}to{transform:translateX(calc(-50% - 9px))}}
.cta-section{padding:90px 28px;background:linear-gradient(135deg,#0759ad,#04417e);color:#fff}.cta-wrap{width:min(1120px,100%);margin:0 auto;display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center}.cta-section h2{font-family:Playfair Display,serif;font-size:clamp(38px,5vw,74px);line-height:.95;margin:0 0 10px}.cta-section p{margin:0;color:#dcecff;font-size:18px;line-height:1.55}.cta-section a{display:inline-flex;padding:16px 22px;border-radius:999px;background:#fff;color:var(--blue);font-weight:900}.footer{padding:44px 28px;background:#061428}.footer-wrap{width:min(1180px,100%);margin:0 auto;display:grid;grid-template-columns:1fr 1fr 1fr;gap:24px;color:#b8c6d8}.footer img{height:40px;width:auto;margin-bottom:14px}.footer h3{margin:0 0 10px;color:#fff}.footer p{margin:0;line-height:1.55}.footer a{display:block;margin:8px 0;color:#dcecff}.copyright{width:min(1180px,100%);margin:24px auto 0;padding-top:18px;border-top:1px solid rgba(255,255,255,.12);color:#7d91ab;font-size:13px}
.reveal{opacity:0;transform:translateY(26px);transition:opacity .7s ease,transform .7s ease}.reveal.visible{opacity:1;transform:none}
@media(max-width:980px){.topbar{height:auto;border-radius:24px;padding:12px;align-items:flex-start}.logos .prevent{height:28px}.logos .ben{height:30px}.nav{display:none}.hero{padding:92px 16px 36px}.hero-wrap{grid-template-columns:1fr;gap:18px}.form-card{order:2;border-radius:26px;padding:18px}.hero-copy{order:1;padding-top:18px}.hero h1{font-size:clamp(42px,13vw,66px)}.hero-copy p{font-size:16px}.intro{padding:58px 16px}.intro-wrap{grid-template-columns:1fr}.stats{grid-template-columns:1fr}.unit-section{display:block;min-height:auto;padding:58px 0 54px}.unit-copy{padding:0 16px}.unit-copy h2{font-size:clamp(34px,10vw,48px)}.unit-lead{font-size:16px}.unit-details{font-size:14px}.chips{max-height:118px;overflow:hidden}.address-card{border-radius:20px}.unit-gallery-wrap{margin-top:24px}.unit-gallery{overflow-x:auto;scroll-snap-type:x mandatory;padding:0 16px 16px}.marquee-track{animation:none;gap:12px}.marquee-track .gallery-card:nth-child(n+7){display:none}.gallery-card{width:78vw;height:330px;scroll-snap-align:center;border-radius:24px}.cta-wrap{grid-template-columns:1fr}.footer-wrap{grid-template-columns:1fr}.cta-section{padding:64px 16px}}
@media(max-width:540px){.hero-badges span{font-size:12px}.form-card h2{font-size:28px}.quote-form input,.quote-form select,.quote-form textarea{padding:12px 11px}.gallery-card{width:84vw;height:300px}.unit-gallery{padding-left:12px}.footer{padding:36px 16px}.cta-section h2{font-size:38px}}


/* Ajustes solicitados */
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.topbar{z-index:60}.hamburger{display:none;width:44px;height:44px;border:0;border-radius:14px;background:rgba(255,255,255,.92);box-shadow:0 12px 30px rgba(5,18,38,.16);align-items:center;justify-content:center;gap:5px;flex-direction:column;cursor:pointer}.hamburger span{width:21px;height:2px;border-radius:999px;background:var(--blue);transition:.28s ease}.hamburger.active span:nth-child(1){transform:translateY(7px) rotate(45deg)}.hamburger.active span:nth-child(2){opacity:0}.hamburger.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.hero{height:100svh;min-height:720px;padding:96px 28px 28px;display:flex;align-items:center}.hero-wrap{height:calc(100svh - 124px);min-height:590px;align-items:center}.form-card{padding:22px}.form-card h2{font-size:31px;margin-bottom:18px}.quote-form{gap:10px}.quote-form input,.quote-form textarea{margin-top:0}.quote-form textarea{min-height:82px}.quote-form label:not(.sr-only){display:none}.quote-form button{margin-top:2px}.whatsapp-float{position:fixed;right:22px;bottom:22px;z-index:80;width:62px;height:62px;border-radius:999px;display:grid;place-items:center;background:#21c063;box-shadow:0 18px 42px rgba(0,0,0,.25);transition:.25s ease}.whatsapp-float:hover{transform:translateY(-4px) scale(1.03)}.whatsapp-float img{width:100%;height:100%;object-fit:contain;display:block}.footer-prevent-logo{filter:brightness(0) invert(1);height:42px!important}.footer-broker-logo{height:44px!important;margin-left:14px;filter:none;background:rgba(255,255,255,.96);padding:8px 10px;border-radius:14px;vertical-align:top}.footer .footer-wrap>div:first-child p{margin-top:8px}.gallery-card span{text-transform:none}
@media(min-width:981px){.unit-section{height:100svh;min-height:720px;padding:58px 0}.hero-copy{padding-top:0}.gallery-card{height:min(50vh,380px)}.unit-copy h2{font-size:clamp(32px,3.2vw,54px)}.unit-lead{font-size:17px}.unit-details{font-size:14px}.chips{max-height:116px;overflow:hidden}.address-card{padding:15px}.form-card{max-height:calc(100svh - 140px);overflow:auto}.footer{min-height:42svh}}
@media(max-width:980px){.topbar{left:14px;right:14px;top:12px;width:auto}.hamburger{display:flex;margin-left:auto}.nav{display:flex;position:absolute;left:0;right:0;top:calc(100% + 10px);flex-direction:column;align-items:stretch;background:rgba(255,255,255,.97);border-radius:20px;padding:12px;box-shadow:0 20px 50px rgba(4,18,40,.18);opacity:0;transform:translateY(-8px);pointer-events:none;transition:.25s ease}.nav.open{opacity:1;transform:translateY(0);pointer-events:auto}.nav a{padding:13px 14px;color:var(--blue);border-radius:14px}.nav a.cta{justify-content:center;text-align:center}.hero{height:auto;min-height:100svh;padding:92px 16px 34px}.hero-wrap{height:auto;min-height:calc(100svh - 126px)}.form-card{order:2}.hero-copy{order:1}.whatsapp-float{width:56px;height:56px;right:14px;bottom:14px}.footer-prevent-logo{height:36px!important}.footer-broker-logo{height:40px!important;margin-left:0;margin-top:8px;display:block}}
@media(max-width:540px){.form-card h2{font-size:26px}.quote-form textarea{min-height:74px}.quote-form button{padding:14px 16px}.hero{padding-top:88px}.hero-copy p{font-size:15px}.footer-broker-logo{max-width:180px;height:auto!important}.whatsapp-float{width:52px;height:52px}}


/* Ajustes finais: caixas de endereço e textos comerciais */
.unit-section{
  height:auto!important;
  min-height:100svh!important;
  overflow:visible!important;
}
@media(min-width:981px){
  .unit-section{
    padding:70px 0 70px!important;
    align-items:center!important;
  }
  .unit-copy{
    padding-top:18px!important;
    padding-bottom:18px!important;
  }
  .unit-details{
    margin-bottom:12px!important;
  }
  .chips{
    margin:12px 0!important;
    max-height:92px!important;
  }
  .address-card{
    margin-top:12px!important;
  }
}
.address-card{
  overflow:visible!important;
  height:auto!important;
  min-height:0!important;
  align-content:start!important;
  grid-template-columns:1fr!important;
}
.address-card span{
  min-width:0!important;
  overflow:visible!important;
  word-break:normal!important;
  overflow-wrap:anywhere!important;
}
.address-card a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:max-content!important;
  max-width:100%!important;
  min-height:42px!important;
  white-space:nowrap!important;
  line-height:1.1!important;
  flex-shrink:0!important;
  box-sizing:border-box!important;
}
@media(max-width:980px){
  .unit-section{
    overflow:hidden!important;
  }
  .address-card{
    padding:16px!important;
    gap:9px!important;
  }
  .address-card a{
    width:100%!important;
    min-height:44px!important;
  }
}
.footer .footer-wrap>div:first-child p{
  max-width:42ch;
}

/* Ajuste compacto das caixas de endereço para não cobrir os procedimentos */
.address-card{
  padding:12px 14px!important;
  gap:6px!important;
  border-radius:18px!important;
  font-size:13px!important;
  line-height:1.28!important;
  box-shadow:0 12px 32px rgba(15,35,65,.07)!important;
  max-width:100%!important;
}
.address-card b{
  font-size:10px!important;
  margin-bottom:1px!important;
  letter-spacing:.07em!important;
}
.address-card span{
  line-height:1.24!important;
  font-size:13px!important;
}
.address-card a{
  min-height:34px!important;
  padding:8px 11px!important;
  font-size:12px!important;
  margin-top:2px!important;
}
@media(min-width:981px){
  .unit-copy .chips{
    max-height:132px!important;
    overflow:hidden!important;
    margin:10px 0 10px!important;
    position:relative!important;
    z-index:1!important;
  }
  .unit-copy .address-card{
    margin-top:8px!important;
    position:relative!important;
    z-index:0!important;
  }
  .unit-details{
    margin-bottom:8px!important;
  }
}
@media(max-width:980px){
  .address-card{
    padding:12px!important;
    gap:6px!important;
    border-radius:17px!important;
    font-size:12px!important;
  }
  .address-card span{
    font-size:12px!important;
    line-height:1.24!important;
  }
  .address-card a{
    min-height:38px!important;
    padding:9px 11px!important;
    font-size:12px!important;
  }
  .chips{
    margin-bottom:10px!important;
  }
}


/* ===== Correções finais solicitadas ===== */

/* Mobile menu mais alinhado e estável */
@media(max-width:980px){
  .topbar{
    align-items:center!important;
    height:64px!important;
    min-height:64px!important;
    border-radius:22px!important;
    padding:9px 10px 9px 16px!important;
  }
  .logos{
    min-width:0!important;
    flex:1 1 auto!important;
  }
  .logos .prevent{
    height:30px!important;
    max-width:172px!important;
  }
  .hamburger{
    flex:0 0 44px!important;
    width:44px!important;
    height:44px!important;
    margin-left:10px!important;
    align-self:center!important;
  }
  .nav{
    top:calc(100% + 9px)!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    box-sizing:border-box!important;
    align-items:stretch!important;
    gap:4px!important;
    padding:10px!important;
  }
  .nav a{
    width:100%!important;
    text-align:left!important;
  }
  .nav a.cta{
    text-align:center!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }
}

/* Botão flutuante maior e mais fácil de tocar no mobile */
.whatsapp-float{
  width:74px!important;
  height:74px!important;
  right:22px!important;
  bottom:22px!important;
  background:transparent!important;
  box-shadow:none!important;
}
.whatsapp-float img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
}
@media(max-width:980px){
  .whatsapp-float{
    width:72px!important;
    height:72px!important;
    right:14px!important;
    bottom:14px!important;
  }
}
@media(max-width:540px){
  .whatsapp-float{
    width:68px!important;
    height:68px!important;
    right:12px!important;
    bottom:12px!important;
  }
}

/* Carrosséis de imagens também passam automaticamente no mobile */
@media(max-width:980px){
  .unit-gallery{
    overflow:hidden!important;
    scroll-snap-type:none!important;
  }
  .marquee-track{
    animation:marquee 32s linear infinite!important;
    width:max-content!important;
    gap:12px!important;
  }
  .marquee-2 .marquee-track{
    animation-duration:38s!important;
    animation-direction:reverse!important;
  }
  .marquee-3 .marquee-track{
    animation-duration:30s!important;
  }
  .marquee-4 .marquee-track{
    animation-duration:36s!important;
    animation-direction:reverse!important;
  }
  .marquee-track .gallery-card:nth-child(n+7){
    display:block!important;
  }
}

/* Centralizar texto do botão Solicitar cotação */
.quote-form button,
.cta-section a,
.address-card a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
}

/* Logos do rodapé */
.footer-prevent-logo{
  height:52px!important;
  width:auto!important;
  max-width:260px!important;
}
.footer-broker-logo{
  height:32px!important;
  width:auto!important;
  max-width:150px!important;
  padding:6px 8px!important;
  border-radius:12px!important;
}
@media(max-width:980px){
  .footer-prevent-logo{
    height:48px!important;
    max-width:240px!important;
  }
  .footer-broker-logo{
    height:30px!important;
    max-width:135px!important;
    margin-top:8px!important;
  }
}

/* Botões de endereço agora são CTA de cotação */
.address-card a.map-quote-link,
.address-card a[href="#cotacao"]{
  background:linear-gradient(135deg,var(--blue),#14a1da)!important;
  color:#fff!important;
  min-width:142px!important;
}

/* Pequeno respiro para os botões não colarem nas informações */
.address-card{
  gap:7px!important;
}


/* ===== Correção definitiva do cabeçalho mobile e rodapé ===== */
@media(max-width:980px){
  .topbar{
    position:fixed!important;
    top:10px!important;
    left:50%!important;
    right:auto!important;
    transform:translateX(-50%)!important;
    width:calc(100vw - 24px)!important;
    max-width:520px!important;
    height:60px!important;
    min-height:60px!important;
    padding:8px 16px!important;
    border-radius:999px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
  }

  .logos{
    width:100%!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:0!important;
    flex:1 1 auto!important;
    gap:0!important;
  }

  .logos .prevent{
    height:32px!important;
    width:auto!important;
    max-width:calc(100vw - 90px)!important;
    object-fit:contain!important;
    display:block!important;
  }

  .hamburger{
    display:none!important;
  }

  .nav{
    display:none!important;
  }

  .nav.open{
    display:none!important;
  }

  .hero{
    padding-top:86px!important;
  }
}

@media(max-width:540px){
  .topbar{
    top:8px!important;
    width:calc(100vw - 20px)!important;
    height:56px!important;
    min-height:56px!important;
    padding:7px 14px!important;
  }

  .logos .prevent{
    height:29px!important;
    max-width:calc(100vw - 76px)!important;
  }

  .hero{
    padding-top:80px!important;
  }
}

/* Logo da corretora no rodapé ajustada para ficar legível */
.footer-broker-logo{
  height:46px!important;
  max-width:220px!important;
  width:auto!important;
  padding:8px 12px!important;
  border-radius:14px!important;
  background:rgba(255,255,255,.96)!important;
}

.footer-prevent-logo{
  height:52px!important;
  max-width:260px!important;
  width:auto!important;
}

@media(max-width:980px){
  .footer-broker-logo{
    height:44px!important;
    max-width:210px!important;
    margin-top:10px!important;
  }

  .footer-prevent-logo{
    height:48px!important;
    max-width:240px!important;
  }
}

@media(max-width:540px){
  .footer-broker-logo{
    height:42px!important;
    max-width:200px!important;
  }

  .footer-prevent-logo{
    height:46px!important;
    max-width:230px!important;
  }
}


/* ===== Ajuste final: menu hamburger mobile sem quebrar cabeçalho + carrossel peeker manual ===== */
@media(max-width:980px){
  .topbar{
    position:fixed!important;
    top:10px!important;
    left:50%!important;
    right:auto!important;
    transform:translateX(-50%)!important;
    width:calc(100vw - 24px)!important;
    max-width:520px!important;
    height:62px!important;
    min-height:62px!important;
    padding:8px 10px 8px 16px!important;
    border-radius:999px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    overflow:visible!important;
    box-sizing:border-box!important;
  }

  .logos{
    width:auto!important;
    min-width:0!important;
    flex:1 1 auto!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:0!important;
    overflow:hidden!important;
    padding-right:10px!important;
  }

  .logos .prevent{
    height:30px!important;
    width:auto!important;
    max-width:min(210px, calc(100vw - 118px))!important;
    object-fit:contain!important;
    display:block!important;
  }

  .hamburger{
    display:flex!important;
    flex:0 0 44px!important;
    width:44px!important;
    height:44px!important;
    margin:0!important;
    border:0!important;
    border-radius:15px!important;
    background:rgba(255,255,255,.96)!important;
    box-shadow:0 10px 24px rgba(5,18,38,.14)!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    flex-direction:column!important;
    cursor:pointer!important;
    padding:0!important;
  }

  .hamburger span{
    width:21px!important;
    height:2px!important;
    border-radius:999px!important;
    background:var(--blue)!important;
    transition:.28s ease!important;
    display:block!important;
  }

  .hamburger.active span:nth-child(1){
    transform:translateY(7px) rotate(45deg)!important;
  }

  .hamburger.active span:nth-child(2){
    opacity:0!important;
  }

  .hamburger.active span:nth-child(3){
    transform:translateY(-7px) rotate(-45deg)!important;
  }

  .nav{
    display:flex!important;
    position:absolute!important;
    left:0!important;
    right:0!important;
    top:calc(100% + 10px)!important;
    width:100%!important;
    box-sizing:border-box!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:4px!important;
    background:rgba(255,255,255,.98)!important;
    border-radius:22px!important;
    padding:10px!important;
    box-shadow:0 22px 54px rgba(4,18,40,.20)!important;
    opacity:0!important;
    transform:translateY(-8px)!important;
    pointer-events:none!important;
    transition:.25s ease!important;
  }

  .nav.open{
    display:flex!important;
    opacity:1!important;
    transform:translateY(0)!important;
    pointer-events:auto!important;
  }

  .nav a{
    width:100%!important;
    padding:13px 14px!important;
    color:var(--blue)!important;
    border-radius:14px!important;
    text-align:left!important;
    box-sizing:border-box!important;
  }

  .nav a.cta{
    display:flex!important;
    justify-content:center!important;
    align-items:center!important;
    text-align:center!important;
    color:#fff!important;
  }

  .hero{
    padding-top:88px!important;
  }
}

@media(max-width:540px){
  .topbar{
    top:8px!important;
    width:calc(100vw - 20px)!important;
    height:58px!important;
    min-height:58px!important;
    padding:7px 8px 7px 14px!important;
  }

  .logos .prevent{
    height:28px!important;
    max-width:min(188px, calc(100vw - 108px))!important;
  }

  .hamburger{
    flex-basis:42px!important;
    width:42px!important;
    height:42px!important;
    border-radius:14px!important;
  }

  .hero{
    padding-top:82px!important;
  }
}

/* Mobile: imagens no efeito peeker, passadas manualmente pelo usuário */
@media(max-width:980px){
  .unit-gallery{
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scroll-snap-type:x mandatory!important;
    padding:0 16px 18px!important;
    -webkit-overflow-scrolling:touch!important;
    scrollbar-width:none!important;
  }

  .unit-gallery::-webkit-scrollbar{
    display:none!important;
  }

  .marquee-track{
    animation:none!important;
    display:flex!important;
    gap:14px!important;
    width:max-content!important;
    transform:none!important;
  }

  .marquee-track .gallery-card:nth-child(n+7){
    display:block!important;
  }

  .gallery-card{
    width:78vw!important;
    max-width:380px!important;
    height:320px!important;
    flex:0 0 auto!important;
    scroll-snap-align:center!important;
  }

  .unit-gallery::after{
    content:""!important;
    flex:0 0 1px!important;
    width:1px!important;
  }
}

@media(max-width:540px){
  .unit-gallery{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  .gallery-card{
    width:82vw!important;
    height:292px!important;
  }
}

/* Manter logo da corretora legível no rodapé */
.footer-broker-logo{
  height:46px!important;
  max-width:220px!important;
  width:auto!important;
}
@media(max-width:540px){
  .footer-broker-logo{
    height:42px!important;
    max-width:200px!important;
  }
}
