:root {
  --bg: #ffffff;
  --bg-2: #f5f5f4;
  --line: #e7e7e6;
  --line-2: #d6d6d4;
  --ink: #1d1a1b;
  --ink-2: #3b383a;
  --muted: #6d6a6c;
  --yellow: #f3cd00;
  --yellow-2: #ffd84a;
  --dark: #1d1a1b;
  --dark-2: #2a2627;
  --dark-line: #3b3637;
  --wrap: 1280px;
  --gutter: max(5vw, 20px);
  --header: 76px;
  --shadow: 0 1px 2px rgba(29, 26, 27, .06), 0 12px 32px rgba(29, 26, 27, .10);
}

* { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 9vw, 128px); }

h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }
h1, h2 { font-stretch: 110%; font-weight: 650; line-height: 1.05; }
h1 { font-size: clamp(38px, 5.2vw, 68px); max-width: 15ch; }
h2 { font-size: clamp(30px, 3.4vw, 46px); max-width: 18ch; }
h3 { font-size: 19px; font-weight: 600; line-height: 1.3; }
p { margin: 0 0 1em; }

.intro { display: grid; gap: 16px; max-width: 640px; margin-bottom: clamp(36px, 5vw, 64px); }
.intro p { margin: 0; font-size: 18px; color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-primary:hover { background: var(--yellow-2); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #3b383a; }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-line { color: var(--ink); background: #fff; border-color: var(--line-2); }
.btn-line:hover { border-color: var(--ink); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 1000; color: #fff; transition: background-color .2s, color .2s, box-shadow .2s; }
.site-header .wrap { display: flex; align-items: center; gap: 36px; height: var(--header); }
.site-header.solid { background: #fff; color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.logo { position: relative; display: block; }
.logo img { height: 34px; width: auto; }
.logo .logo-escuro { position: absolute; inset: 0; opacity: 0; }
.site-header.solid .logo-claro { opacity: 0; }
.site-header.solid .logo-escuro { opacity: 1; }
.nav { display: flex; gap: 30px; margin-left: auto; font-size: 15px; }
.nav a { text-decoration: none; opacity: .88; padding-block: 6px; }
.nav a:hover { opacity: 1; box-shadow: inset 0 -2px 0 var(--yellow); }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: currentColor; margin: 5px auto; }

/* Hero */
.hero { position: relative; min-height: min(92vh, 880px); display: flex; align-items: flex-end; color: #fff; background: #141112; overflow: hidden; }
.hero-bg { position: absolute; top: 0; right: 0; width: 66%; height: 100%; object-fit: cover; object-position: 30% 40%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #141112 0%, #141112 34%, rgba(20,17,18,.55) 50%, rgba(20,17,18,0) 68%), linear-gradient(0deg, rgba(20,17,18,.6) 0%, rgba(20,17,18,0) 35%); }
.hero-content { position: relative; z-index: 1; width: 100%; padding-top: calc(var(--header) + 48px); padding-bottom: 150px; }
.hero-local { font-size: 15px; color: rgba(255,255,255,.78); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.hero-local::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--yellow); }
.hero .lead { font-size: clamp(17px, 1.5vw, 20px); color: rgba(255,255,255,.86); max-width: 50ch; margin: 24px 0 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Stats */
.stats-wrap { position: relative; z-index: 2; margin-top: -84px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; background: #fff; border-radius: 18px; box-shadow: var(--shadow); }
.stats > div { padding: 28px 30px; border-left: 1px solid var(--line); display: flex; flex-direction: column-reverse; gap: 6px; }
.stats > div:first-child { border-left: 0; }
.stats dt { font-size: 14px; color: var(--muted); }
.stats dd { margin: 0; font-stretch: 110%; font-size: clamp(34px, 3.4vw, 48px); font-weight: 650; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

/* Map */
.mapa { padding-top: clamp(72px, 9vw, 120px); }
.mapa-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px 64px; align-items: end; margin-bottom: 36px; }
.mapa-head p { margin: 0; font-size: 17px; color: var(--muted); max-width: 48ch; }
.map-stage { position: relative; height: min(84vh, 800px); min-height: 620px; background: #e9e9e8; border-block: 1px solid var(--line); }
#map { position: absolute; inset: 0; z-index: 0; isolation: isolate; }
.panel { position: absolute; z-index: 10; top: 20px; bottom: 20px; left: calc(max(0px, (100% - var(--wrap)) / 2) + var(--gutter)); width: 392px; display: flex; flex-direction: column; background: #fff; border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.filters { padding: 18px 18px 14px; display: grid; gap: 10px; }
.field { position: relative; }
.field svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input, .select { width: 100%; height: 46px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; padding: 0 14px; font-size: 16px; transition: border-color .15s; }
.field .input { padding-left: 42px; background: var(--bg-2); border-color: transparent; }
.input:focus, .select:focus { outline: none; border-color: var(--ink); }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231d1a1b' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 4px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-size: 13px; cursor: pointer; white-space: nowrap; transition: background-color .15s, border-color .15s; }
.chip:hover { border-color: var(--ink); }
.chip small { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip[aria-pressed="true"] small { color: rgba(255,255,255,.65); }
.chip:disabled { opacity: .35; cursor: default; }
.result-bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 18px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
.result-bar button { border: 0; background: none; padding: 4px 0; color: var(--ink); font-weight: 600; cursor: pointer; font-size: 13px; }
.list { list-style: none; margin: 0; padding: 0 8px 8px; overflow-y: auto; flex: 1; min-height: 0; overscroll-behavior: contain; }
.item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px; border-radius: 12px; cursor: pointer; transition: background-color .12s; }
.item:hover, .item.active { background: var(--bg-2); }
.thumb { width: 72px; height: 54px; border-radius: 8px; object-fit: cover; background: var(--bg-2); }
.thumb.vazio { display: grid; place-items: center; color: #b2b0b1; }
.thumb.vazio svg { width: 22px; height: 22px; }
.item .t { font-weight: 600; font-size: 14px; line-height: 1.35; }
.item .a { font-size: 13px; color: var(--muted); line-height: 1.4; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.add { width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color .12s, border-color .12s; }
.add:hover { border-color: var(--ink); }
.add svg { width: 16px; height: 16px; }
.add[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); }
.empty { padding: 32px 12px; color: var(--muted); font-size: 14px; }
.tray { border-top: 1px solid var(--line); padding: 14px 18px; display: flex; align-items: center; gap: 12px; }
.tray-count { flex: 1; font-size: 14px; }
.tray-count b { font-variant-numeric: tabular-nums; }
.tray-clear { border: 0; background: none; color: var(--muted); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 2px 0 2px 8px; }
.view-toggle { display: none; }

.tray-pi { display: block; font-size: 13px; font-weight: 600; margin-top: 4px; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* PI generator */
.pi-pagina { padding-bottom: 96px; }
.pi-hero { padding-block: 64px 32px; }
.pi-hero h1 { font-size: clamp(34px, 4.4vw, 56px); max-width: 18ch; }
.pi-hero .lead { font-size: 18px; color: var(--muted); max-width: 60ch; margin: 16px 0 20px; }
.pi-selos { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pi-selos li { padding: 6px 14px; border-radius: 999px; background: var(--bg-2); font-size: 14px; }
.pi-selos li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 2px; background: var(--yellow); margin-right: 8px; vertical-align: 1px; }
.pi-app { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 32px; align-items: start; }
.pi-form { display: grid; gap: 16px; }
.pi-form fieldset { border: 0; margin: 0; padding: 22px; border-radius: 18px; background: var(--bg-2); min-width: 0; }
.pi-form legend { float: left; width: 100%; font-weight: 650; font-size: 17px; font-stretch: 110%; margin-bottom: 14px; padding: 0; }
.pi-grid { clear: both; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pi-grid label { display: grid; gap: 6px; font-size: 13px; font-weight: 500; }
.pi-full { grid-column: 1 / -1; }
.pi-form .input, .pi-form .select { border-color: #fff; height: 44px; font-size: 15px; }
.pi-form .input:focus, .pi-form .select:focus { border-color: var(--ink); }
.pi-obs { height: auto !important; min-height: 84px; padding-block: 10px; resize: vertical; }
.pi-dica { clear: both; margin: -6px 0 12px; font-size: 13px; color: var(--muted); }
.pi-logo { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; }
.pi-logo > span { width: 100%; }
.pi-logo small { color: var(--muted); font-weight: 400; }
.pi-itens { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 12px; clear: both; }
.pi-item { background: #fff; border-radius: 14px; padding: 16px; }
.pi-item .input, .pi-item .select { background: var(--bg-2); border-color: var(--bg-2); }
.pi-item-topo { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 14px; }
.pi-remover { border: 0; background: none; color: #b42318; font-size: 13px; cursor: pointer; padding: 4px 0; text-decoration: underline; text-underline-offset: 3px; }
.pi-check { display: grid !important; grid-template-columns: auto minmax(0, 1fr); gap: 10px !important; align-items: start; font-weight: 400 !important; color: var(--ink-2); line-height: 1.5; }
.pi-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); }
.pi-alerta { margin: 0; padding: 12px 16px; border-radius: 12px; background: #fdecea; color: #8a1c13; font-size: 14px; }
.pi-importar { justify-self: start; }
.pi-acoes { position: sticky; bottom: 16px; z-index: 5; display: flex; align-items: center; gap: 10px; padding: 14px 14px 14px 20px; border-radius: 18px; background: var(--dark); color: #fff; box-shadow: var(--shadow); }
.pi-acoes > div { flex: 1; display: grid; line-height: 1.2; }
.pi-acoes small { color: #a9a5a7; font-size: 12px; }
.pi-acoes b { font-size: 20px; font-variant-numeric: tabular-nums; }
.pi-acoes .btn-line { color: #fff; background: transparent; border-color: var(--dark-line); }
.pi-acoes .btn-line:hover { border-color: #fff; }
.pi-preview { position: sticky; top: calc(var(--header) + 16px); }
.pi-preview-topo { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font-size: 14px; }
.pi-preview-topo span { color: var(--muted); font-size: 13px; }
.pi-moldura { position: relative; overflow: hidden; border-radius: 6px; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 12px 32px rgba(0,0,0,.12); background: #fff; }
.pi-depois { margin-top: 16px; padding: 16px 18px; border-radius: 14px; background: var(--bg-2); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.pi-depois p { margin: 0; flex: 1 1 240px; font-size: 14px; }
.pi-seo { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px 72px; padding-top: 96px; align-items: start; }
.pi-seo h2 { font-size: 24px; font-stretch: 105%; margin: 32px 0 12px; max-width: none; }
.pi-seo article h2:first-child, .pi-faq h2 { margin-top: 0; }
.pi-seo p, .pi-seo li { color: var(--ink-2); }
.pi-seo ul { padding-left: 20px; }
.pi-faq { border-top: 0; }
.pi-faq h2 { margin-bottom: 8px; }

/* PI document (A4 at 96 dpi = 794 x 1123 px) */
.pi-folha { position: absolute; top: 0; left: 0; width: 794px; min-height: 1123px; padding: 48px 52px; transform-origin: 0 0; background: #fff; color: #1d1a1b; font-size: 11.5px; line-height: 1.45; }
.pi-folha h2, .pi-folha h3 { letter-spacing: 0; font-stretch: 100%; }
.doc-topo { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-bottom: 18px; border-bottom: 2px solid #1d1a1b; margin-bottom: 18px; }
.doc-marca img { max-height: 56px; max-width: 220px; object-fit: contain; }
.doc-marca span { font-size: 18px; font-weight: 700; }
.doc-titulo { text-align: right; }
.doc-titulo h2 { font-size: 22px; font-weight: 700; margin: 0 0 4px; text-transform: none; }
.doc-titulo p { margin: 0; color: #55525a; }
.doc-duas { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 14px; }
.doc-bloco { border: 1px solid #dcdcda; border-radius: 6px; padding: 10px 12px; }
.pi-folha h3 { font-size: 10px; font-weight: 700; color: #55525a; margin: 0 0 6px; text-transform: uppercase; letter-spacing: .04em; }
.pi-folha dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; margin: 0; }
.pi-folha dt { color: #6d6a6c; }
.pi-folha dd { margin: 0; overflow-wrap: anywhere; }
.doc-vazio { margin: 0; color: #a3a0a2; }
.doc-itens { width: 100%; border-collapse: collapse; margin: 6px 0 16px; }
.doc-itens th { background: #f1f1ef; text-align: left; font-weight: 600; font-size: 10.5px; padding: 7px 6px; border-bottom: 1px solid #cfcfcc; }
.doc-itens td { padding: 7px 6px; border-bottom: 1px solid #e6e6e3; vertical-align: top; }
.pi-folha .num { text-align: right; font-variant-numeric: tabular-nums; }
.pi-folha .nw { white-space: nowrap; }
.doc-rodape-valores { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }
.doc-condicoes dl { margin-bottom: 10px; }
.doc-obs { margin: 0; white-space: pre-wrap; }
.doc-totais { width: 100%; border-collapse: collapse; }
.doc-totais td { padding: 5px 0; border-bottom: 1px solid #e6e6e3; }
.doc-total td { font-weight: 700; font-size: 13px; border-bottom: 0; border-top: 2px solid #1d1a1b; padding-top: 8px; }
.doc-assinaturas { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 64px; text-align: center; }
.doc-assinaturas span { display: block; border-top: 1px solid #1d1a1b; margin-bottom: 6px; }
.doc-assinaturas small { color: #6d6a6c; }
.doc-gerado { margin: 36px 0 0; font-size: 9.5px; color: #8e8a8c; text-align: center; }

@media (max-width: 1000px) {
  .pi-app, .pi-seo { grid-template-columns: minmax(0, 1fr); }
  .pi-preview { position: static; }
}
@media (max-width: 480px) {
  .pi-grid { grid-template-columns: minmax(0, 1fr); }
  .pi-form fieldset { padding: 18px 16px; }
}

/* Print: only the PI document */
@media print {
  @page { size: A4; margin: 0; }
  body.pagina-interna > *:not(main), .pi-hero, .pi-form, .pi-seo, .pi-preview-topo, .pi-depois, .wa, .cookies { display: none !important; }
  .pi-pagina, .pi-app, .pi-preview { display: block !important; padding: 0 !important; margin: 0 !important; position: static !important; }
  .pi-app.wrap { max-width: none; padding: 0; }
  .pi-moldura { height: auto !important; box-shadow: none; border-radius: 0; overflow: visible; }
  .pi-folha { position: static; transform: none !important; width: 210mm; min-height: 297mm; padding: 14mm 15mm; }
  .doc-itens tr { break-inside: avoid; }
  body { background: #fff; }
}

/* Leaflet */
.leaflet-container { font: inherit; background: #e9e9e8; }
.leaflet-tile-pane { filter: grayscale(1) contrast(.88) brightness(1.07); }
.leaflet-control-zoom { border: 0 !important; box-shadow: var(--shadow) !important; border-radius: 12px !important; overflow: hidden; }
.leaflet-control-zoom a { width: 40px !important; height: 40px !important; line-height: 40px !important; color: var(--ink) !important; }
.leaflet-control-attribution { font-size: 11px; }
.pin-wrap { background: none; border: 0; }
.pin { width: 18px; height: 18px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--ink); box-shadow: 0 0 0 2px #fff, 0 2px 6px rgba(0,0,0,.25); }
.pin.sel { background: var(--ink); border-color: var(--yellow); }
.cluster { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 600; font-size: 13px; box-shadow: 0 0 0 5px rgba(243,205,0,.9), 0 4px 12px rgba(0,0,0,.25); font-variant-numeric: tabular-nums; }
.leaflet-popup-content-wrapper { padding: 0; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.leaflet-popup-content { margin: 0; width: 290px !important; font-size: 14px; line-height: 1.45; }
.leaflet-popup-close-button { width: 32px !important; height: 32px !important; top: 8px !important; right: 8px !important; border-radius: 999px; background: rgba(255,255,255,.92) !important; color: var(--ink) !important; font-size: 20px !important; line-height: 30px !important; z-index: 2; }
.pop-img { display: block; width: 100%; height: 170px; padding: 0; border: 0; cursor: zoom-in; background: var(--bg-2); }
.pop-img img { width: 100%; height: 100%; object-fit: cover; }
.pop-body { padding: 16px 18px 18px; }
.pop-k { font-size: 13px; color: var(--muted); }
.pop h3 { font-size: 18px; margin: 2px 0 10px; }
.pop dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; margin: 0 0 16px; font-size: 13px; }
.pop dt { color: var(--muted); }
.pop dd { margin: 0; }
.pop .btn { width: 100%; }

/* Formats */
.format-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.format { display: flex; flex-direction: column; }
.format-img { aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--bg-2); margin-bottom: 20px; }
.format-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.format:hover .format-img img { transform: scale(1.04); }
.format-size { font-size: 14px; color: var(--muted); margin: 4px 0 12px; }
.format p:not(.format-size) { font-size: 15px; color: var(--ink-2); }
.format-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; }
.format-foot b { font-variant-numeric: tabular-nums; }
.link { border: 0; background: none; padding: 6px 0; font-weight: 600; font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.link::after { content: "→"; transition: transform .15s; }
.link:hover::after { transform: translateX(3px); }

/* Cities under the map */
.cidades { padding-top: 40px; }
.cidades h3 { font-size: 16px; margin-bottom: 14px; }
.cidades-lista { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cidades-lista a { display: inline-flex; align-items: baseline; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--bg-2); font-size: 14px; text-decoration: none; transition: background-color .15s; }
.cidades-lista a:hover { background: var(--line); }
.cidades-lista b { font-weight: 600; }
.cidades-lista span { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px 72px; align-items: start; }
.faq-list { border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-weight: 400; font-size: 20px; line-height: 1; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: -6px 0 22px; color: var(--ink-2); max-width: 64ch; }

/* Mobile media */
.movel { background: var(--bg-2); }
.movel-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px 72px; align-items: center; }
.movel-img { margin: 0; background: #fff; border-radius: 24px; padding: clamp(20px, 4vw, 48px); }
.movel-img img { width: 100%; height: auto; mix-blend-mode: multiply; }
.lead-dark { font-size: 18px; color: var(--muted); margin: 16px 0 28px; max-width: 42ch; }
.movel-num { display: flex; align-items: baseline; gap: 14px; margin: 0 0 24px; font-size: 15px; color: var(--ink-2); max-width: 36ch; }
.movel-num b { font-stretch: 110%; font-size: 56px; line-height: 1; letter-spacing: -0.03em; font-weight: 650; color: var(--ink); box-shadow: inset 0 -10px 0 var(--yellow); flex: none; }
.plans { list-style: none; padding: 0; margin: 0 0 32px; border-top: 1px solid var(--line-2); }
.plans li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; padding: 18px 0; border-bottom: 1px solid var(--line-2); align-items: start; }
.plans h3 { font-size: 17px; }
.plans p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.plans span { font-size: 13px; font-weight: 600; white-space: nowrap; padding: 4px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); }

/* Dark: how to buy */
.dark { background: var(--dark); color: #f2f2f2; }
.dark .intro p { color: #a9a5a7; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: s; }
.steps li { padding: 28px 24px 30px; border-radius: 18px; background: var(--dark-2); }
.steps li::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-weight: 650; font-size: 15px; margin-bottom: 28px; }
.steps p { color: #b9b5b7; font-size: 15px; margin: 8px 0 0; }
.calendar { margin-top: 24px; border-radius: 18px; background: var(--dark-2); }
.calendar summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px; cursor: pointer; font-weight: 600; list-style: none; }
.calendar summary::-webkit-details-marker { display: none; }
.calendar summary span { display: block; font-weight: 400; color: #a9a5a7; font-size: 14px; margin-top: 2px; }
.calendar summary::after { content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--dark-line); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23f2f2f2' stroke-width='1.6'/%3E%3C/svg%3E") center no-repeat; transition: transform .2s; }
.calendar[open] summary::after { transform: rotate(180deg); }
.bs-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 36px; padding: 0 24px 16px; font-size: 14px; }
.bs { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--dark-line); font-variant-numeric: tabular-nums; white-space: nowrap; color: #d8d5d6; }
.bs b { font-weight: 600; color: #fff; }
.calendar .note { padding: 0 24px 22px; margin: 0; font-size: 13px; color: #8e8a8c; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.contact-card { position: sticky; top: calc(var(--header) + 24px); border-radius: 24px; overflow: hidden; color: #fff; display: flex; flex-direction: column; background: var(--dark); }
.contact-card img { width: 100%; height: 300px; flex: none; object-fit: cover; object-position: 30% 55%; }
.contact-info { position: relative; z-index: 1; padding: clamp(24px, 4vw, 44px); width: 100%; }
.contact-info h2 { margin-bottom: 24px; }
.contact-info ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-info li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; font-size: 16px; }
.contact-info li > span:first-child { color: rgba(255,255,255,.65); font-size: 14px; padding-top: 2px; }
.contact-info a { font-weight: 600; text-decoration: none; }
.contact-info a:hover { color: var(--yellow); }
.form { background: var(--bg-2); border-radius: 24px; padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-content: start; }
.form h3 { grid-column: 1 / -1; font-size: 24px; font-stretch: 110%; margin-bottom: 8px; }
.form .full { grid-column: 1 / -1; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.form .input, .form .select { border-color: #fff; }
.form .input:focus, .form .select:focus, .form textarea:focus { border-color: var(--ink); }
.form textarea { width: 100%; min-height: 120px; border: 1px solid #fff; border-radius: 12px; padding: 12px 14px; font-size: 16px; resize: vertical; background: #fff; }
.form textarea:focus { outline: none; }
.form [aria-invalid="true"] { border-color: #c0392b; }
.form .perfil { border: 0; margin: 0 0 4px; padding: 0; min-width: 0; }
.form legend { font-size: 14px; font-weight: 500; padding: 0; margin-bottom: 6px; }
.seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.seg label { display: block; cursor: pointer; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: block; height: 100%; padding: 14px 16px 14px 44px; border-radius: 12px; background: #fff; border: 1px solid #fff; font-size: 13px; font-weight: 400; color: var(--muted); line-height: 1.4; position: relative; transition: border-color .15s, background-color .15s; }
.seg span b { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.seg span::before { content: ""; box-sizing: border-box; position: absolute; left: 16px; top: 17px; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--line-2); background: #fff; }
.seg label:hover span { border-color: var(--line-2); }
.seg input:checked + span { border-color: var(--ink); }
.seg input:checked + span::before { border: 5px solid var(--ink); }
.seg input:focus-visible + span { outline: 2px solid var(--yellow); outline-offset: 2px; }
.form .erro { display: block; color: #b42318; font-size: 13px; margin-top: 6px; }
.form .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 4px; }
.form .actions small { color: var(--muted); font-size: 13px; }

/* Footer */
.site-footer { background: var(--dark); color: #a9a5a7; font-size: 14px; padding-block: 72px 32px; }
.rodape-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px 48px; padding-bottom: 48px; border-bottom: 1px solid var(--dark-line); }
.rodape-marca img { height: 32px; width: auto; margin-bottom: 18px; }
.rodape-marca p { max-width: 34ch; margin: 0; line-height: 1.6; }
.site-footer h2 { font-size: 13px; font-weight: 600; color: #fff; letter-spacing: 0; font-stretch: 100%; margin: 0 0 14px; max-width: none; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; line-height: 1.5; }
.site-footer a { text-decoration: none; color: #e6e5e5; }
.site-footer a:hover { color: var(--yellow); }
.site-footer .bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-top: 24px; font-size: 13px; }
.rodape-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.rodape-legal a { color: #a9a5a7; }

/* Internal pages */
.pagina-interna .site-header { position: sticky; }
.pagina-conteudo { padding-block: 72px 96px; }

/* Cookie banner */
.cookies { position: fixed; z-index: 1200; left: max(20px, env(safe-area-inset-left)); bottom: max(20px, env(safe-area-inset-bottom)); width: min(460px, calc(100vw - 40px)); background: var(--dark); color: #e6e5e5; border-radius: 18px; padding: 20px 22px; box-shadow: 0 12px 40px rgba(0,0,0,.28); font-size: 14px; line-height: 1.5; }
.cookies p { margin: 0 0 14px; }
.cookies p b { display: block; color: #fff; font-size: 15px; margin-bottom: 4px; }
.cookies a { color: var(--yellow); }
.cookies-opcoes { display: grid; gap: 10px; margin-bottom: 16px; }
.cookies-opcoes label { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; cursor: pointer; }
.cookies-opcoes input { margin-top: 3px; accent-color: var(--yellow); width: 16px; height: 16px; }
.cookies-opcoes b { color: #fff; display: block; }
.cookies-opcoes span { color: #b9b5b7; font-size: 13px; }
.cookies-botoes { display: flex; flex-wrap: wrap; gap: 8px; }
.cookies-botoes .btn { flex: 1 1 auto; }
.btn-line-dark { color: #fff; border-color: var(--dark-line); background: transparent; }
.btn-line-dark:hover { border-color: #fff; }

/* WhatsApp floating button */
.wa { position: fixed; z-index: 1100; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.wa-fab { width: 60px; height: 60px; border-radius: 50%; border: 0; background: #25d366; color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 20px rgba(37, 211, 102, .35), 0 2px 6px rgba(0,0,0,.15); transition: transform .15s, background-color .15s; }
.wa-fab:hover { background: #1fbe5b; transform: scale(1.05); }
.wa-fab svg { width: 32px; height: 32px; }
.wa.aberto .wa-fab { background: #1fbe5b; }
.wa-painel { position: relative; width: min(340px, calc(100vw - 40px)); background: #fff; border-radius: 18px; padding: 22px; box-shadow: 0 16px 48px rgba(0,0,0,.2); display: grid; gap: 12px; }
.wa-painel[hidden] { display: none; }
.wa-titulo { margin: 0; font-weight: 650; font-size: 18px; font-stretch: 110%; letter-spacing: -0.01em; padding-right: 32px; }
.wa-sub { margin: -6px 0 4px; color: var(--muted); font-size: 14px; }
.wa-painel label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.wa-painel .input { background: var(--bg-2); border-color: transparent; }
.wa-painel .input:focus { border-color: var(--ink); background: #fff; }
.wa-painel [aria-invalid="true"] { border-color: #b42318; }
.wa-erro { margin: 0; color: #b42318; font-size: 13px; }
.wa-enviar { width: 100%; background: #25d366; color: #fff; margin-top: 4px; }
.wa-enviar:hover { background: #1fbe5b; }
.wa-enviar svg { width: 20px; height: 20px; }
.wa-legal { margin: 0; font-size: 12px; color: var(--muted); text-align: center; }
.wa-legal a { color: var(--ink); }
.wa-fechar { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--bg-2); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.wa-fechar svg { width: 16px; height: 16px; }

/* Lightbox */
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(1100px, 94vw); width: 100%; overflow: visible; }
.lightbox::backdrop { background: rgba(15,13,14,.86); }
.lightbox img { width: 100%; max-height: 80vh; object-fit: contain; border-radius: 12px; background: #000; }
.lightbox p { color: #e6e5e5; margin: 12px 0 0; font-size: 14px; }
.lightbox-close { position: absolute; top: -52px; right: 0; width: 44px; height: 44px; border-radius: 999px; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lightbox-close svg { width: 20px; height: 20px; }

/* Responsive */
@media (max-width: 1100px) {
  .rodape-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rodape-marca { grid-column: 1 / -1; }
  .format-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .panel { width: 352px; }
}
@media (max-width: 900px) {
  :root { --header: 64px; }
  .nav { display: none; position: absolute; top: var(--header); left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; color: var(--ink); padding: 8px var(--gutter) 20px; box-shadow: 0 12px 24px rgba(0,0,0,.08); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); opacity: 1; }
  .menu-toggle { display: block; color: inherit; }
  .header-cta { display: none; }
  .hero { min-height: 640px; }
  .hero::after { background: linear-gradient(0deg, rgba(20,17,18,.92) 0%, rgba(20,17,18,.7) 45%, rgba(20,17,18,.25) 100%); }
  .hero-bg { width: 100%; object-position: 62% 30%; }
  .hero-content { padding-bottom: 120px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats > div { padding: 22px 20px; }
  .stats > div:nth-child(3) { border-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .mapa-head, .movel-grid, .contact-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .map-stage { height: auto; min-height: 0; background: #fff; border: 0; display: flex; flex-direction: column; }
  .panel { position: static; order: 1; width: auto; margin: 0 var(--gutter); box-shadow: none; border: 1px solid var(--line); border-radius: 18px; overflow: visible; }
  #map { position: relative; order: 2; height: min(68vh, 560px); margin: 12px var(--gutter) 0; border-radius: 18px; overflow: hidden; }
  .view-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0 18px 12px; padding: 4px; background: var(--bg-2); border-radius: 999px; }
  .view-toggle button { height: 38px; border: 0; border-radius: 999px; background: transparent; font-size: 14px; font-weight: 600; cursor: pointer; }
  .view-toggle button[aria-pressed="true"] { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.1); }
  .map-stage[data-view="mapa"] .list, .map-stage[data-view="mapa"] .result-bar { display: none; }
  .map-stage[data-view="lista"] #map { display: none; }
  .list { max-height: 62vh; }
  .tray { position: sticky; bottom: 0; background: #fff; border-radius: 0 0 18px 18px; z-index: 20; }
  .movel-img { order: 2; }
  .contact-card { position: relative; top: auto; }
  .contact-card img { height: 200px; }
}
@media (max-width: 640px) {
  .rodape-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wa.sobre-mapa:not(.aberto) { opacity: 0; pointer-events: none; }
  .wa { transition: opacity .2s; }
  .cookies-aberto .wa { opacity: 0; pointer-events: none; }
  .format-grid, .steps, .form { grid-template-columns: minmax(0, 1fr); }
  .bs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; padding-inline: 18px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .contact-info li { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .movel-num b { font-size: 46px; }
  .plans li { grid-template-columns: minmax(0, 1fr); }
  .plans span { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .format-img img { transition: none; }
}
