:root{
  --bg:#fbfaf8; --surface:#ffffff; --surface-2:#f3f1ec;
  --text:#1e1d1a; --muted:#6a6660; --line:#e2ded6;
  --accent:#4a6b3a; --accent-soft:#eaf0e4; --accent-ink:#31491f;
  --cta:#1fa855; --cta-hover:#188443;
  --radius:14px; --maxw:1080px;
  --shadow:0 1px 2px rgba(30,29,26,.05), 0 8px 24px -12px rgba(30,29,26,.18);
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --bg:#15161a; --surface:#1d1f24; --surface-2:#24262c;
    --text:#ecebe8; --muted:#a3a09a; --line:#32343a;
    --accent:#9dc27f; --accent-soft:#25301d; --accent-ink:#cfe0bd;
    --shadow:0 1px 2px rgba(0,0,0,.4), 0 8px 24px -12px rgba(0,0,0,.7);
  }
}
:root[data-theme="dark"]{
  --bg:#15161a; --surface:#1d1f24; --surface-2:#24262c;
  --text:#ecebe8; --muted:#a3a09a; --line:#32343a;
  --accent:#9dc27f; --accent-soft:#25301d; --accent-ink:#cfe0bd;
  --shadow:0 1px 2px rgba(0,0,0,.4), 0 8px 24px -12px rgba(0,0,0,.7);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0; background:var(--bg); color:var(--text);
  font:400 17px/1.6 ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",sans-serif;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%; display:block}
a{color:inherit}
.wrap{max-width:var(--maxw); margin:0 auto; padding:0 16px}

/* ── Topo fixo ── */
.bar{
  position:sticky; top:0; z-index:50; background:color-mix(in srgb,var(--bg) 88%,transparent);
  backdrop-filter:saturate(1.6) blur(10px); border-bottom:1px solid var(--line);
}
.bar .wrap{display:flex; align-items:center; gap:14px; height:62px}
.bar .price{font-weight:700; font-size:19px; letter-spacing:-.01em; white-space:nowrap}
.bar .sub{color:var(--muted); font-size:13px; display:none}
@media(min-width:620px){ .bar .sub{display:block} }
.bar .spacer{flex:1}

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  background:var(--cta); color:#fff; border:0; cursor:pointer;
  padding:12px 18px; border-radius:999px; font-size:15px; font-weight:650;
  text-decoration:none; line-height:1; transition:background .15s ease, transform .1s ease;
  box-shadow:0 2px 10px -2px rgba(31,168,85,.5);
}
.btn:hover{background:var(--cta-hover)}
.btn:active{transform:translateY(1px)}
.btn svg{width:18px; height:18px; fill:currentColor; flex:none}
.btn.sm{padding:10px 15px; font-size:14px}

/* ── Hero ── */
.hero{padding:34px 0 8px}
@media(min-width:900px){
  .hero{
    display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);
    gap:52px; align-items:center; padding:46px 0 14px;
  }
  .hero .heroimg{margin-top:0}
  .hero h1{max-width:none}
}
h1{
  font-size:clamp(27px,4.4vw,42px); line-height:1.15; letter-spacing:-.022em;
  margin:0 0 12px; font-weight:700; max-width:20ch;
}
.lede{color:var(--muted); font-size:clamp(16px,2vw,19px); margin:0 0 22px; max-width:56ch}
.tagrow{display:flex; flex-wrap:wrap; gap:8px; margin-bottom:22px}
.tag{
  background:var(--accent-soft); color:var(--accent-ink); border:1px solid transparent;
  padding:6px 12px; border-radius:999px; font-size:13.5px; font-weight:600;
}
@media (prefers-color-scheme:dark){ :root:not([data-theme="light"]) .tag{border-color:var(--line)} }

.heroimg{
  border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow);
  aspect-ratio:3/2; background:var(--surface-2); margin-top:26px;
}
.heroimg img{width:100%; height:100%; object-fit:cover}

/* ── Números ── */
.specs{
  display:grid; grid-template-columns:repeat(2,1fr); gap:1px;
  background:var(--line); border:1px solid var(--line);
  border-radius:var(--radius); overflow:hidden; margin:30px 0;
}
@media(min-width:640px){ .specs{grid-template-columns:repeat(5,1fr)} }
.spec{background:var(--surface); padding:16px 14px; text-align:center}
.spec b{display:block; font-size:22px; font-weight:700; letter-spacing:-.02em}
.spec span{display:block; color:var(--muted); font-size:12.5px; margin-top:3px; text-transform:uppercase; letter-spacing:.05em}

/* ── Seções ── */
section{padding:44px 0; border-top:1px solid var(--line)}
section:first-of-type{border-top:0}
h2{font-size:clamp(21px,2.6vw,27px); letter-spacing:-.018em; margin:0 0 6px; font-weight:700}
.note{color:var(--muted); margin:0 0 24px; max-width:60ch}

.cols{display:grid; gap:26px}
@media(min-width:760px){ .cols{grid-template-columns:1fr 1fr; gap:26px 44px} }
ul.feat{list-style:none; margin:0; padding:0}
ul.feat li{position:relative; padding:9px 0 9px 28px; border-bottom:1px solid var(--line); font-size:16px}
ul.feat li:last-child{border-bottom:0}
ul.feat li::before{
  content:""; position:absolute; left:4px; top:17px; width:9px; height:9px;
  border-radius:2px; background:var(--accent);
}
h3{font-size:14px; text-transform:uppercase; letter-spacing:.07em; color:var(--muted); margin:0 0 6px; font-weight:650}

/* ── Galeria ── */
.grid{display:grid; grid-template-columns:repeat(2,1fr); gap:10px}
@media(min-width:620px){ .grid{grid-template-columns:repeat(3,1fr)} }
@media(min-width:900px){ .grid{grid-template-columns:repeat(4,1fr)} }
.grid button{
  padding:0; border:0; cursor:zoom-in; background:var(--surface-2);
  border-radius:10px; overflow:hidden; aspect-ratio:3/2; display:block;
}
.grid img{width:100%; height:100%; object-fit:cover; transition:transform .35s ease}
.grid button:hover img{transform:scale(1.05)}

/* ── Lightbox ── */
dialog.lb{
  border:0; padding:0; background:transparent; max-width:100vw; max-height:100vh;
  width:100%; height:100%; margin:0;
}
dialog.lb::backdrop{background:rgba(12,12,14,.93)}
.lb-inner{display:flex; align-items:center; justify-content:center; height:100%; padding:16px}
.lb-inner img{max-width:100%; max-height:88vh; object-fit:contain; border-radius:8px}
.lb-close,.lb-nav{
  position:fixed; background:rgba(255,255,255,.12); color:#fff; border:0; cursor:pointer;
  width:46px; height:46px; border-radius:50%; font-size:22px; line-height:1;
  display:flex; align-items:center; justify-content:center; backdrop-filter:blur(6px);
}
.lb-close{top:16px; right:16px}
.lb-nav.prev{left:12px; top:50%; transform:translateY(-50%)}
.lb-nav.next{right:12px; top:50%; transform:translateY(-50%)}
.lb-count{position:fixed; bottom:18px; left:50%; transform:translateX(-50%); color:#fff; font-size:14px; opacity:.8}

/* ── Localização ── */
.loc{display:grid; gap:10px}
@media(min-width:640px){ .loc{grid-template-columns:1fr 1fr; gap:10px 40px} }
.loc div{display:flex; justify-content:space-between; gap:16px; padding:10px 0; border-bottom:1px solid var(--line); font-size:15.5px}
.loc b{font-weight:600; color:var(--muted); font-variant-numeric:tabular-nums; white-space:nowrap}

/* ── Bloco investidor ── */
.card{
  background:var(--surface); border:1px solid var(--line);
  border-radius:var(--radius); padding:26px; box-shadow:var(--shadow);
}
.cards{display:grid; gap:18px}
.kpis{display:grid; grid-template-columns:repeat(2,1fr); gap:18px; margin:20px 0 4px}
@media(min-width:640px){ .kpis{grid-template-columns:repeat(4,1fr)} }
.kpi b{display:block; font-size:26px; font-weight:700; letter-spacing:-.025em; color:var(--accent)}
.kpi span{display:block; font-size:13px; color:var(--muted); margin-top:2px}
.fineprint{font-size:12.5px; color:var(--muted); margin:18px 0 0; line-height:1.5}

/* ── Avaliações ── */
.reviews-head{display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin:0 0 4px}
.reviews-head .score{display:flex; align-items:center; gap:7px; font-size:30px; font-weight:700; letter-spacing:-.02em; color:var(--accent)}
.reviews-head .score svg{width:22px; height:22px; fill:var(--accent); flex:none}
.reviews-head .badge{background:var(--accent-soft); color:var(--accent-ink); padding:6px 12px; border-radius:999px; font-size:13.5px; font-weight:600}
.reviews-grid{display:grid; grid-template-columns:1fr; gap:16px; margin-top:22px}
@media(min-width:760px){ .reviews-grid{grid-template-columns:1fr 1fr} }
.rev{background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:20px 22px; box-shadow:var(--shadow)}
.rev .who{display:flex; align-items:center; gap:12px; margin-bottom:10px}
.rev .who img,.rev .who .ini{width:44px; height:44px; border-radius:50%; object-fit:cover; flex:none}
.rev .who .ini{background:var(--accent); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:18px}
.rev .who b{display:block; font-size:15px; font-weight:650; line-height:1.2}
.rev .who span{display:block; font-size:13px; color:var(--muted)}
.rev .stars{color:var(--accent); font-size:13px; letter-spacing:2px; margin-bottom:7px}
.rev p{margin:0; font-size:15px; line-height:1.55}
@media(max-width:560px){ .rev{padding:18px} .reviews-head .score{font-size:26px} }

/* ── CTA final ── */
.final{text-align:center; padding:56px 0 64px}
.final h2{margin-bottom:10px}
.final .note{margin:0 auto 26px}

footer{border-top:1px solid var(--line); padding:26px 0 96px; color:var(--muted); font-size:13.5px}
@media(min-width:760px){ footer{padding-bottom:30px} }

/* ── Botão flutuante ── */
.float{position:fixed; left:16px; right:16px; bottom:16px; z-index:60}
.float .btn{width:100%; padding:15px; font-size:16.5px; box-shadow:0 6px 24px -4px rgba(0,0,0,.35)}
@media(min-width:760px){ .float{display:none} }


/* ── Ajustes de celular ── */
@media(max-width:560px){
  body{font-size:16px; line-height:1.58}
  .wrap{padding:0 18px}
  .bar .wrap{height:56px; gap:10px}
  .bar .price{font-size:17px}
  .btn.sm{padding:9px 13px; font-size:13.5px}
  .hero{padding:24px 0 4px}
  h1{font-size:26px; line-height:1.18; margin-bottom:10px}
  .lede{font-size:16px; margin-bottom:18px}
  .tagrow{gap:6px; margin-bottom:18px}
  .tag{font-size:12.5px; padding:5px 10px}
  .heroimg{margin-top:20px; aspect-ratio:4/3}
  .specs{margin:22px 0; grid-template-columns:repeat(2,1fr)}
  .spec:last-child{grid-column:1 / -1}
  .spec{padding:13px 8px}
  .spec b{font-size:19px}
  .spec span{font-size:11px; letter-spacing:.04em}
  section{padding:32px 0}
  h2{font-size:21px}
  .note{margin-bottom:18px}
  h3{font-size:12.5px}
  ul.feat li{font-size:15.5px; padding:8px 0 8px 26px}
  ul.feat li::before{top:15px}
  .cols{gap:22px}
  .grid{gap:8px}
  .card{padding:20px 18px; border-radius:12px}
  .cards{gap:14px}
  .kpis{gap:14px; margin:16px 0 0}
  .kpi b{font-size:21px}
  .kpi span{font-size:12px}
  .loc div{font-size:15px; padding:9px 0; gap:12px}
  .final{padding:40px 0 48px}
  .fineprint{font-size:12px}
  .lb-nav{width:40px; height:40px}
  .lb-close{top:12px; right:12px}
  footer{padding:22px 0 100px}
  .float{left:12px; right:12px; bottom:12px}
  .float .btn{padding:16px; font-size:16px}
}
@media(max-width:380px){
  h1{font-size:24px}
  .kpi b{font-size:19px}
}

.skip{position:absolute; left:-9999px}
.skip:focus{left:8px; top:8px; background:var(--surface); padding:10px; z-index:100; border-radius:8px}
