/* Páginas públicas geradas no build (scripts/build-site.mjs): destinos, regiões e roteiros.
   Mesma identidade da home: tema claro, verde profundo, serifa nos títulos. */
:root {
  --canvas: #fbf9f5;
  --surface: #f3efe7;
  --card: #ffffff;
  --ink: #16211e;
  --muted: #4d5b58;
  --subtle: #72807d;
  --line: #e4dfd4;
  --brand: #0e5a54;
  --brand-ink: #ffffff;
  --deep: #0b2a2a;
  --mint: #7fe0c9;
  --radius: 22px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 400 1rem/1.65 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; line-height: 1.1; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5.4vw, 3.4rem); font-weight: 600; }
h2 { font-size: clamp(1.55rem, 3.6vw, 2.1rem); font-weight: 600; margin-top: 3.5rem; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0.6rem 0 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.sm-only { display: inline; }
.lg-only { display: none; }
@media (min-width: 640px) { .sm-only { display: none; } .lg-only { display: inline; } }

/* Cabeçalho */
.top { position: sticky; top: 0; z-index: 30; background: rgba(251, 249, 245, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0.1em; color: var(--ink); text-decoration: none; font-size: 0.95rem; }
.nav { display: none; gap: 4px; font-weight: 600; font-size: 0.9rem; }
.nav a { color: var(--muted); text-decoration: none; padding: 9px 14px; border-radius: 999px; transition: background 0.15s, color 0.15s; }
.nav a:hover { color: var(--ink); background: var(--surface); }
@media (min-width: 900px) { .nav { display: flex; } }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; background: var(--brand); color: var(--brand-ink); font-weight: 700; font-size: 0.93rem; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; white-space: nowrap; }
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: var(--card); color: var(--ink); border: 1px solid #cfc9bb; }
.btn:disabled { opacity: 0.6; cursor: wait; }
.top .btn { height: 40px; padding: 0 16px; font-size: 0.875rem; }

/* Banner de abertura */
.hero .wrap { padding-top: 18px; padding-bottom: 8px; }
.crumbs { font-size: 0.82rem; color: var(--subtle); display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.crumbs a { color: var(--muted); }
.banner { position: relative; isolation: isolate; overflow: hidden; border-radius: 28px; background: var(--deep); color: #fff; min-height: clamp(15rem, 30vw, 21rem); display: flex; align-items: flex-end; }
.banner img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.banner::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(6, 32, 31, 0.92), rgba(6, 32, 31, 0.5) 60%, rgba(6, 32, 31, 0.3)); }
.banner-in { padding: 24px 22px 26px; max-width: 46rem; }
@media (min-width: 720px) { .banner-in { padding: 36px 40px 40px; } }
.banner p.lead { font-size: 1.05rem; color: rgba(255, 255, 255, 0.9); margin-top: 12px; max-width: 58ch; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.15em; font-weight: 800; font-size: 0.74rem; color: var(--brand); margin: 0 0 8px; }
.banner .eyebrow { color: var(--mint); }

/* Resumo rápido (respostas diretas) */
.answer { margin-top: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 14px 34px -22px rgba(11, 42, 42, 0.35); }
.answer h2 { margin: 0; font-size: 1.3rem; }
.answer p.summary { color: var(--muted); max-width: 78ch; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px 24px; margin: 18px 0 0; }
.facts div { border-top: 1px solid var(--line); padding-top: 12px; }
.facts dt { font-size: 0.74rem; font-weight: 800; color: var(--subtle); text-transform: uppercase; letter-spacing: 0.07em; }
.facts dd { margin: 5px 0 0; font-weight: 600; }
.updated { font-size: 0.8rem; color: var(--subtle); margin-top: 16px; }

/* Nesta página */
.toc { display: flex; gap: 8px; overflow-x: auto; padding: 18px 0 2px; scrollbar-width: none; }
.toc::-webkit-scrollbar { display: none; }
.toc a { flex: none; text-decoration: none; color: var(--muted); background: var(--card); border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; font-size: 0.875rem; font-weight: 700; }
.toc a:hover { color: var(--ink); border-color: #bdb6a6; }

/* Cartões e listas */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16.5rem), 1fr)); margin-top: 20px; padding: 0; list-style: none; }
.card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; color: var(--ink); text-decoration: none; height: 100%; transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s; }
.card:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: 0 16px 30px -20px rgba(11, 42, 42, 0.5); }
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card .meta { font-size: 0.82rem; color: var(--subtle); margin-top: auto; padding-top: 8px; }
.card p { font-size: 0.92rem; color: var(--muted); margin: 0; }
.places { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); padding: 0; list-style: none; margin: 20px 0 0; }
.places > li { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.places h3 { font-family: inherit; font-size: 1.05rem; font-weight: 700; letter-spacing: 0; }
.places p { color: var(--muted); font-size: 0.94rem; }
.list { padding: 0; list-style: none; margin: 18px 0 0; border-top: 1px solid var(--line); }
.list > li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.list h3 { font-family: inherit; font-size: 1.05rem; font-weight: 700; letter-spacing: 0; }
.list p { color: var(--muted); font-size: 0.95rem; }
.tag { display: inline-block; font-size: 0.75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--surface); color: var(--muted); margin: 8px 6px 0 0; }
.tag a { color: inherit; text-decoration: none; }
.price { font-size: 0.88rem; margin-top: 8px; }
.price small { color: var(--subtle); }
.tip { font-size: 0.9rem; border-left: 3px solid var(--mint); padding-left: 10px; margin-top: 10px; color: var(--muted); }
.cols { display: grid; gap: 32px; }
@media (min-width: 900px) { .cols { grid-template-columns: 1.4fr 1fr; gap: 48px; } }
.box { background: var(--surface); border-radius: 20px; padding: 20px; margin-top: 18px; }
.box h3 { font-family: inherit; font-size: 1rem; font-weight: 800; }
.box ul { margin: 8px 0 0; padding-left: 18px; }
.box li { margin: 5px 0; font-size: 0.93rem; }
.days { list-style: none; padding: 0; margin: 18px 0 0; }
.days li { display: grid; grid-template-columns: 68px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.days b { font-family: 'Fraunces', Georgia, serif; font-size: 1.1rem; color: var(--brand); }
.locked { font-size: 0.85rem; color: var(--subtle); }

/* Perguntas frequentes */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq details:first-of-type { border-top: 1px solid var(--line); margin-top: 18px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.04rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--brand); flex: none; }
.faq details[open] summary::after { content: '–'; }
.faq p { color: var(--muted); max-width: 78ch; }

/* Captura de lead */
.lead-box { background: var(--deep); color: #fff; border-radius: 28px; padding: 30px 22px; margin: 64px 0; display: grid; gap: 24px; }
@media (min-width: 900px) { .lead-box { grid-template-columns: 1fr 1.1fr; padding: 48px; gap: 48px; } }
.lead-box h2 { margin: 0; color: #fff; }
.lead-box p { color: rgba(255, 255, 255, 0.8); }
.lead-box .eyebrow { color: var(--mint); }
.lead-form { display: grid; gap: 12px; }
.lead-form label { display: grid; gap: 5px; font-size: 0.82rem; font-weight: 700; color: rgba(255, 255, 255, 0.88); }
.lead-form input, .lead-form select { height: 48px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.09); color: #fff; padding: 0 12px; font: inherit; font-size: 1rem; }
.lead-form input::placeholder { color: rgba(255, 255, 255, 0.5); }
.lead-form select option { color: #16211e; }
.lead-form .row { display: grid; gap: 12px; }
@media (min-width: 560px) { .lead-form .row { grid-template-columns: 1fr 1fr; } }
.lead-form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 0.82rem; line-height: 1.45; }
.lead-form .consent input { height: 18px; width: 18px; margin-top: 2px; flex: none; }
.lead-form .consent a { color: var(--mint); }
.lead-form .btn { background: var(--mint); color: var(--deep); height: 52px; font-size: 1rem; }
.lead-form [data-error] { color: #ffb4a8; font-weight: 600; font-size: 0.9rem; margin: 0; }
.lead-done { font-size: 1.05rem; background: rgba(127, 224, 201, 0.12); border: 1px solid rgba(127, 224, 201, 0.4); padding: 18px; border-radius: 16px; }

/* Rodapé */
.foot { border-top: 1px solid var(--line); padding: 40px 0 56px; font-size: 0.875rem; color: var(--subtle); }
.foot .wrap { display: grid; gap: 28px; }
@media (min-width: 640px) { .foot .wrap { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .foot .wrap { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.foot h3 { font-family: inherit; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink); margin-bottom: 10px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot .brand { color: var(--ink); }
.sources a { word-break: break-word; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .card { transition: none; } }

/* Revistas (isca de e-mail): biblioteca e página de cada país */
.mag-hero .wrap { padding-top: 18px; padding-bottom: 8px; }
.banner-mag { min-height: clamp(11rem, 22vw, 15rem); background: linear-gradient(135deg, #0b2a2a, #0e5a54); }
.banner-mag::after { display: none; }
.mag-top { display: grid; gap: 32px; margin-top: 10px; }
@media (min-width: 900px) { .mag-top { grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: 56px; align-items: start; } }
.mag-cover { position: relative; }
@media (min-width: 900px) { .mag-cover { position: sticky; top: 92px; } }
.mag-cover img { display: block; width: 100%; max-width: 340px; margin: 0 auto; aspect-ratio: 148 / 210; object-fit: cover; border-radius: 6px 16px 16px 6px; box-shadow: 0 34px 60px -30px rgba(11, 42, 42, 0.65), 0 10px 18px -10px rgba(11, 42, 42, 0.4); background: var(--deep); }
.mag-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; padding: 0; margin: 22px 0 0; }
.mag-chips li { font-size: 0.75rem; font-weight: 800; padding: 5px 12px; border-radius: 999px; background: var(--surface); color: var(--muted); }
.lead2 { font: italic 400 1.2rem/1.4 'Fraunces', Georgia, serif; color: var(--muted); margin: 12px 0 0; max-width: 46ch; }
.inside { list-style: none; padding: 0; margin: 22px 0 24px; display: grid; gap: 10px; }
.inside li { position: relative; padding-left: 28px; font-size: 0.97rem; }
.inside li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: rgba(14, 90, 84, 0.12); color: var(--brand); font-size: 0.72rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.mform { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 22px; box-shadow: 0 22px 44px -28px rgba(11, 42, 42, 0.45); display: grid; gap: 12px; }
.mform-title { font: 600 1.35rem/1.15 'Fraunces', Georgia, serif; margin: 0; color: var(--deep); }
.mform label { display: grid; gap: 5px; font-size: 0.82rem; font-weight: 700; color: var(--muted); }
.mform input, .mform select { height: 48px; border: 1px solid #cfc9bb; border-radius: 12px; padding: 0 12px; font: inherit; font-size: 1rem; width: 100%; background: #fff; color: var(--ink); }
.mform .row { display: grid; gap: 12px; }
@media (min-width: 560px) { .mform .row { grid-template-columns: 1fr 1fr; } }
.mform .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 0.8rem; line-height: 1.45; color: var(--muted); }
.mform .consent input { height: 18px; width: 18px; margin-top: 2px; flex: none; }
.mform [data-error] { color: #b3261e; font-weight: 600; font-size: 0.9rem; margin: 0; }
.mform .btn { height: 54px; width: 100%; font-size: 1.02rem; }
.mform-note { font-size: 0.78rem; color: var(--subtle); text-align: center; margin: 0; }
.mdone { background: #eaf6f2; border: 1px solid #b9e4d8; border-radius: 24px; padding: 24px; display: grid; gap: 10px; }
.mdone h3 { font-size: 1.5rem; }
.mdone > p { margin: 0; color: var(--muted); }
.mdone .btn { height: 54px; width: 100%; font-size: 1.02rem; }
.mdone-app { margin-top: 10px; border-top: 1px solid #b9e4d8; padding-top: 16px; display: grid; gap: 10px; }
.mdone-app h4 { margin: 0; font-size: 1rem; font-weight: 800; font-family: inherit; color: var(--deep); }
.mdone-app ul { margin: 0; padding-left: 18px; font-size: 0.92rem; color: var(--muted); }
.chips2 { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 16px 0 0; }
.chips2 li { padding: 6px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 0.86rem; font-weight: 600; }
.app-strip { margin-top: 3.5rem; }
.benefits { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); list-style: none; padding: 0; margin: 20px 0 0; }
.benefits li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.benefits .ic { width: 44px; height: 44px; border-radius: 14px; background: rgba(14, 90, 84, 0.1); color: var(--brand); display: flex; align-items: center; justify-content: center; }
.benefits b { display: block; font-size: 0.98rem; margin-bottom: 3px; }
.benefits li > span:last-child { font-size: 0.88rem; color: var(--muted); line-height: 1.5; }
.filters { display: grid; gap: 14px; margin-top: 22px; }
@media (min-width: 900px) { .filters { grid-template-columns: 20rem 1fr; align-items: center; } }
.search input { height: 48px; width: 100%; border: 1px solid #cfc9bb; border-radius: 999px; padding: 0 18px; font: inherit; background: #fff; color: var(--ink); }
.pills { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.pills::-webkit-scrollbar { display: none; }
.pill { flex: none; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid #cfc9bb; background: var(--card); color: var(--muted); font: 700 0.875rem 'Plus Jakarta Sans', system-ui, sans-serif; cursor: pointer; }
.pill.on { background: var(--deep); color: #fff; border-color: transparent; }
.count { font-size: 0.9rem; color: var(--subtle); margin: 18px 0 0; }
.mags { display: grid; gap: 22px 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr)); list-style: none; padding: 0; margin: 18px 0 0; }
.mags li[hidden] { display: none; }
.mag { display: block; color: inherit; text-decoration: none; }
.mag img { display: block; width: 100%; aspect-ratio: 148 / 210; object-fit: cover; border-radius: 4px 12px 12px 4px; background: var(--deep); box-shadow: 0 18px 30px -20px rgba(11, 42, 42, 0.6); transition: transform 0.18s, box-shadow 0.18s; }
.mag:hover img { transform: translateY(-4px); box-shadow: 0 26px 36px -20px rgba(11, 42, 42, 0.7); }
.mag b { display: block; margin-top: 12px; font: 600 1.05rem/1.15 'Fraunces', Georgia, serif; color: var(--deep); }
.mag span { display: block; font-size: 0.8rem; color: var(--subtle); margin-top: 3px; }

/* Blog e página para agências */
.post { max-width: 48rem; padding-bottom: 24px; }
.post-meta { color: var(--subtle); font-size: 0.9rem; margin-top: 28px; }
.post p, .post li { font-size: 1.04rem; color: #26312e; }
.post ul, .post ol { padding-left: 1.3rem; margin: 0.8rem 0 0; display: grid; gap: 8px; }
.post h2 { margin-top: 2.6rem; }
.answer { margin-top: 18px; border-left: 5px solid var(--brand); background: #e9f3ef; border-radius: 0 18px 18px 0; padding: 18px 20px; }
.answer b { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--brand); }
.answer p { margin: 6px 0 0; font-size: 1.1rem; color: var(--ink); font-weight: 600; line-height: 1.55; }
.post-cta { margin: 56px 0 8px; background: var(--deep); color: #fff; border-radius: 26px; padding: 28px 24px; }
.post-cta h2 { color: #fff; margin: 4px 0 0; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.post-cta p { color: rgba(255, 255, 255, 0.82); }
.post-cta .eyebrow { color: var(--mint); margin: 0; }
.post-cta .btn { margin-top: 18px; }
.post-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.post-grid .card .body { padding: 18px; }
.post-grid .card .meta { margin-top: 0; padding-top: 0; font-weight: 700; color: var(--brand); text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.08em; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.steps li { counter-increment: step; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 18px; color: var(--muted); }
.steps li::before { content: counter(step); display: inline-flex; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; align-items: center; justify-content: center; margin-bottom: 10px; }
.steps li b { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 4px; }

/* Documentos legais */
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.legal-nav a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--muted); font-weight: 600; font-size: 0.9rem; text-decoration: none; }
.legal-nav a[aria-current='page'] { background: var(--brand); border-color: var(--brand); color: #fff; }
.legal h2 { font-size: clamp(1.3rem, 3vw, 1.6rem); margin-top: 2.2rem; }
.legal .post-meta { margin-top: 20px; }

/* Sumário da revista: destaques e lista completa recolhida */
.toc-featured { margin-top: 22px; }
.toc-featured .card .body { padding: 16px 18px 18px; gap: 6px; }
.toc-featured .card .meta { margin-top: auto; padding-top: 10px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); }
.toc-more { margin-top: 20px; }
.toc-more summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid #cfc9bb; background: var(--card); color: var(--ink); font-weight: 700; font-size: 0.92rem; }
.toc-more summary::-webkit-details-marker { display: none; }
.toc-more summary::after { content: '+'; font-size: 1.2rem; line-height: 1; color: var(--brand); }
.toc-more[open] summary::after { content: '–'; }
.toc-grid { column-width: 15rem; column-gap: 32px; margin-top: 22px; }
.toc-card { break-inside: avoid; margin: 0 0 22px; }
.toc-card h3 { display: flex; align-items: center; gap: 8px; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand); padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.toc-card h3 span { color: var(--subtle); font-weight: 700; }
.toc-card ul { list-style: none; margin: 6px 0 0; padding: 0; }
.toc-card li { font-size: 0.92rem; line-height: 1.35; padding: 4px 0; }
.toc-card a { color: var(--ink); text-decoration: none; }
.toc-card a:hover { color: var(--brand); text-decoration: underline; }
