/* Conteúdo Brasil - site público. Preto e laranja da marca (#F57807). */
:root {
  --bg: #0a0a0b;
  --bg-2: #121214;
  --card: #18181b;
  --card-2: #202024;
  --line: #2b2b31;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --brand: #f57807;
  --brand-2: #ff9a3d;
  --brand-ink: #1a0d00;
  --ok: #34d399;
  --warn: #fbbf24;
  --bad: #f87171;
  --radius: 14px;
  --wrap: 1160px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; }
img, iframe { max-width: 100%; }
a { color: var(--brand-2); text-decoration: none; }
a:hover { color: #fff; }
/* Links no meio do texto: branco com risco laranja, para não repetir a cor dos rótulos. */
.contact-info a,
.muted a,
.prose a,
.lead2 a,
.check a,
.cookie p a,
.page p > a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--brand);
  text-underline-offset: 3px;
}
.contact-info a:hover,
.muted a:hover,
.prose a:hover,
.lead2 a:hover,
.check a:hover,
.cookie p a:hover,
.page p > a:hover { color: var(--brand-2); text-decoration-color: var(--brand-2); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 2px; border-radius: 4px; }

/* Cabeçalho */
.header { position: sticky; top: 0; z-index: 50; background: rgba(10, 10, 11, .88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.logo img { display: block; height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a { color: var(--text); font-weight: 600; font-size: 14.5px; padding: 8px 11px; border-radius: 8px; white-space: nowrap; }
.nav a:hover, .nav a.on { color: var(--brand-2); background: rgba(245, 120, 7, .1); }
.nav a.cta { background: var(--brand); color: var(--brand-ink); }
.nav a.cta:hover { background: var(--brand-2); color: var(--brand-ink); }
.search { display: flex; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding-left: 14px; }
.search input { background: none; border: 0; color: var(--text); font: inherit; font-size: 14px; width: 120px; padding: 8px 0; outline: none; }
.search button { background: var(--brand); border: 0; color: var(--brand-ink); width: 36px; height: 36px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.menu-btn { display: none; margin-left: auto; background: var(--card); border: 1px solid var(--line); color: var(--text); width: 44px; height: 44px; border-radius: 10px; cursor: pointer; }
.menu-btn svg, .search svg { width: 18px; height: 18px; }

@media (max-width: 1020px) {
  .menu-btn { display: grid; place-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 12px 20px 18px; gap: 4px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px; font-size: 16px; }
  .search { margin-top: 8px; }
  .search input { flex: 1; width: auto; }
}

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--brand); color: var(--brand-ink); font: inherit; font-weight: 700; border: 0; border-radius: 10px; padding: 12px 22px; cursor: pointer; transition: transform .15s, background .15s; text-align: center; }
.btn:hover { background: var(--brand-2); color: var(--brand-ink); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--brand); color: var(--brand-2); background: transparent; }
.btn.small { padding: 8px 14px; font-size: 14px; }
.btn.block { width: 100%; }
.btn.danger { background: transparent; border: 1px solid #7f1d1d; color: var(--bad); }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 64px; background: radial-gradient(900px 500px at 12% 0%, rgba(245, 120, 7, .2), transparent 60%), radial-gradient(700px 500px at 100% 100%, rgba(245, 120, 7, .1), transparent 60%), var(--bg); }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--brand-2); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--brand); }
.hero h1 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 800; text-transform: uppercase; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero p.lead { color: var(--muted); font-size: 17px; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.wave { display: flex; align-items: center; gap: 5px; height: 64px; margin-top: 36px; }
.wave i { display: block; width: 6px; border-radius: 6px; background: linear-gradient(var(--brand-2), var(--brand)); animation: wave 1.4s ease-in-out infinite; transform-origin: center; }
@keyframes wave { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .wave i { animation: none; } html { scroll-behavior: auto; } }

/* Lista de áudios */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.panel-head h2 { font-size: 15px; margin: 0; text-transform: uppercase; letter-spacing: .08em; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(245, 120, 7, .2); }
.audio { padding: 16px 20px; border-bottom: 1px solid var(--line); }
.audio:last-child { border-bottom: 0; }
.audio h3 { font-size: 16px; font-weight: 700; margin: 0 0 4px; }
.episode-cover { width: 180px; height: 180px; object-fit: cover; border-radius: 16px; border: 1px solid var(--line); display: block; margin: 0 0 16px; }
.audio h3 a { color: var(--text); }
.audio h3 a:hover { color: var(--brand-2); }
.audio .meta { color: var(--muted); font-size: 13px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.tag { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 2px 8px; border-radius: 999px; background: rgba(245, 120, 7, .14); color: var(--brand-2); }
.player { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.player button.play { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--brand); color: var(--brand-ink); cursor: pointer; display: grid; place-items: center; }
.player button.play:hover { background: var(--brand-2); }
.player button.play svg { width: 16px; height: 16px; }
.player .pause-i, .player.playing .play-i { display: none; }
.player.playing .pause-i { display: block; }
.player .time { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 38px; }
.player .bar { flex: 1; height: 6px; border-radius: 6px; background: var(--line); cursor: pointer; position: relative; }
.player .bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 6px; background: var(--brand); }
.player a.dl { flex: none; color: var(--muted); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line); }
.player a.dl:hover { color: var(--brand-2); border-color: var(--brand); }
.player a.dl svg { width: 16px; height: 16px; }
.pager { display: flex; justify-content: center; align-items: center; gap: 14px; padding: 16px; flex-wrap: wrap; }
.pager a, .pager span { font-weight: 600; font-size: 14px; padding: 6px 12px; border-radius: 8px; }
.pager span.off { color: #52525b; }
.pager span.cur { background: var(--brand); color: var(--brand-ink); }
.empty { padding: 28px 20px; color: var(--muted); text-align: center; }

/* Seções */
.section { padding: 72px 0; }
.section.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-title { font-size: clamp(24px, 3.2vw, 36px); font-weight: 800; text-transform: uppercase; }
.section-title em { font-style: normal; color: var(--brand); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.muted { color: var(--muted); }
.prose p { color: #d4d4d8; }
.prose h3 { color: var(--brand-2); font-size: 19px; margin-top: 1.4em; }
.prose h2 { font-size: 22px; margin-top: 1.6em; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; text-align: center; }
.stat b { display: block; font-size: clamp(30px, 4vw, 46px); font-weight: 800; color: var(--brand); line-height: 1.1; }
.stat span { color: var(--muted); font-size: 15px; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000 center / cover no-repeat; border: 1px solid var(--line); cursor: pointer; display: block; width: 100%; padding: 0; }
.video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(0, 0, 0, .55)); }
.video .yt-play { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; transition: transform .15s; }
.video:hover .yt-play { transform: translate(-50%, -50%) scale(1.08); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
#map { height: 480px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card) url(../img/fundo-mapa.png) center / contain no-repeat; z-index: 1; }
.leaflet-popup-content { font-family: var(--font); font-size: 13px; color: #18181b; }
.leaflet-popup-content b { display: block; margin-bottom: 4px; color: #c2410c; }
.app-box { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; background: linear-gradient(135deg, #1f1206, var(--card)); border: 1px solid #4a2a0a; border-radius: 20px; padding: 40px; }
.app-box ul { padding-left: 18px; color: #d4d4d8; }

/* Formulários */
.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .row.c3 { grid-template-columns: 2fr 1fr 1fr; }
label.f { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; color: #d4d4d8; }
.input, select.input, textarea.input { width: 100%; background: var(--bg-2); border: 1px solid var(--line); color: var(--text); font: inherit; border-radius: 10px; padding: 12px 14px; }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(245, 120, 7, .18); }
textarea.input { min-height: 130px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #d4d4d8; }
.check input { margin-top: 4px; accent-color: var(--brand); width: 16px; height: 16px; }
.err { color: var(--bad); font-size: 13px; font-weight: 500; }
.alert { border-radius: 10px; padding: 12px 16px; margin: 0 0 16px; font-size: 14.5px; border: 1px solid; }
.alert.ok { background: rgba(52, 211, 153, .08); border-color: rgba(52, 211, 153, .4); color: #a7f3d0; }
.alert.warn { background: rgba(251, 191, 36, .08); border-color: rgba(251, 191, 36, .4); color: #fde68a; }
.alert.bad { background: rgba(248, 113, 113, .08); border-color: rgba(248, 113, 113, .4); color: #fecaca; }
.contact-info { display: grid; gap: 18px; }
.contact-info div b { display: block; color: var(--brand-2); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }

/* Páginas internas */
.page { padding: 48px 0 72px; min-height: 60vh; }
.page h1 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
.narrow { max-width: 760px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card + .card { margin-top: 20px; }
/* Lado a lado (grade), os cards começam na mesma linha. */
.grid-2 > .card + .card, .grid-side > .card + .card { margin-top: 0; }
@media (max-width: 860px) { .grid-2 > .card + .card, .grid-side > .card + .card { margin-top: 0; } }
.card h2 { font-size: 18px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.grid-side { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: start; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-size: 14.5px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; }
.badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--card-2); color: var(--muted); }
.badge.ok { background: rgba(52, 211, 153, .14); color: var(--ok); }
.badge.warn { background: rgba(251, 191, 36, .14); color: var(--warn); }
.badge.bad { background: rgba(248, 113, 113, .14); color: var(--bad); }
table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
table.t th { text-align: left; color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; padding: 8px 10px; border-bottom: 1px solid var(--line); }
table.t td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table-wrap { overflow-x: auto; }
.price { font-size: 44px; font-weight: 800; color: var(--brand); line-height: 1; }
.price small { font-size: 16px; color: var(--muted); font-weight: 600; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps .card { margin: 0; }
.steps .card::before { counter-increment: s; content: "0" counter(s); display: block; font-size: 34px; font-weight: 800; color: var(--brand); }
ul.ticks { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
ul.ticks li { padding-left: 28px; position: relative; color: #e4e4e7; }
ul.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }
.methods { display: grid; gap: 10px; }
.method { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; cursor: pointer; font-weight: 600; }
.method:has(input:checked) { border-color: var(--brand); background: rgba(245, 120, 7, .08); }
.method input { accent-color: var(--brand); }
.pix-code { width: 100%; background: var(--bg-2); border: 1px dashed var(--line); color: var(--text); border-radius: 10px; padding: 12px; font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; word-break: break-all; }
.qr { background: #fff; padding: 12px; border-radius: 12px; display: inline-block; }
.qr img { display: block; width: 220px; height: 220px; }
.center { text-align: center; }
.mt { margin-top: 20px; }
.stack { display: grid; gap: 20px; }
.inline { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* Rodapé */
.footer { background: #050505; border-top: 1px solid var(--line); padding: 40px 0 28px; color: var(--muted); font-size: 14px; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.footer img { height: 44px; width: auto; }
.footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer nav a { color: var(--muted); }
.footer nav a:hover { color: var(--brand-2); }
.social { display: flex; gap: 10px; }
.social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--text); }
.social a:hover { border-color: var(--brand); color: var(--brand-2); }
.social svg { width: 17px; height: 17px; }
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .5); }
.wa:hover { color: #fff; transform: scale(1.06); }
.wa svg { width: 30px; height: 30px; }
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; max-width: 720px; margin: 0 auto; background: var(--card-2); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: none; gap: 14px; align-items: center; flex-wrap: wrap; box-shadow: 0 12px 40px rgba(0, 0, 0, .6); font-size: 14px; }
.cookie.show { display: flex; }
.cookie p { margin: 0; flex: 1 1 320px; color: #d4d4d8; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 860px) {
  .hero .wrap, .split, .grid-2, .grid-side, .app-box { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 36px 0 44px; }
  .section { padding: 52px 0; }
  .stats, .steps { grid-template-columns: 1fr; }
  .form .row, .form .row.c3 { grid-template-columns: 1fr; }
  .app-box { padding: 26px; }
  #map { height: 380px; }
  .player .time.total { display: none; }
}

[hidden] { display: none !important; }
