/* ==========================================================================
   Trading Max — papel esverdeado + verde Brasil (geo-adapted, light)
   Identidade: botões pill, cards 14px com sombra esverdeada, faixas de
   seção alternando tint verde e grade de pontos, header claro com blur.
   ========================================================================== */

:root {
  --bg: #f6f8f6;
  --surface: #ffffff;
  --surface-2: #eaf2ec;
  --border: #d3e0d8;
  --text: #132118;
  --text-muted: #5e7267;
  --accent: #0a7d51;
  --accent-hover: #076a44;
  --accent-tint: rgba(10, 125, 81, 0.10);
  --accent-ink: #085c3c;
  --accent-soft: #d9a419;                 /* detalhe quente, usado com parcimônia */
  --shadow-sm: 0 1px 2px rgba(19, 46, 33, 0.06), 0 2px 8px rgba(19, 46, 33, 0.05);
  --shadow-md: 0 2px 6px rgba(19, 46, 33, 0.07), 0 12px 28px rgba(19, 46, 33, 0.09);
  --shadow-lg: 0 8px 16px rgba(19, 46, 33, 0.08), 0 28px 64px rgba(19, 46, 33, 0.14);
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --font-body: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Inter", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Cascadia Mono", "JetBrains Mono", ui-monospace, monospace;
  --header-h: 72px;
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg, iframe, video, canvas { max-width: 100%; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.18; margin: 0 0 0.55em; font-weight: 750; letter-spacing: -0.02em; }
h1 { font-size: clamp(1.85rem, 3.5vw, 2.8rem); }
h2 { font-size: clamp(1.45rem, 2.5vw, 2.05rem); }
h3 { font-size: 1.14rem; }
p { margin: 0 0 1em; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
strong { color: var(--text); font-weight: 680; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2.2em 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent); color: #fff; padding: 10px 18px; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }

.section { padding: clamp(54px, 7vw, 92px) 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head p.lead { color: var(--text-muted); font-size: 1.06rem; }

/* faixas de seção: tint verde, grade de pontos, malha radial */
.band-tint {
  background:
    radial-gradient(640px 260px at 8% 0%, rgba(10, 125, 81, 0.06), transparent 70%),
    linear-gradient(180deg, var(--surface-2), rgba(234, 242, 236, 0));
}
.band-dots {
  background-image: radial-gradient(rgba(10, 125, 81, 0.13) 1.5px, transparent 1.6px);
  background-size: 26px 26px;
}
.band-grid {
  background-image:
    linear-gradient(rgba(10, 125, 81, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 125, 81, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}
.band-mesh { background: radial-gradient(760px 320px at 88% 8%, var(--accent-tint), transparent 65%); }

/* ---------- botões (pill) ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 650; font-size: 0.97rem;
  min-height: 48px; padding: 11px 26px; border-radius: var(--radius-pill);
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-primary:active { transform: translateY(0); }
.btn-secondary { background: var(--surface); color: var(--accent-ink); border-color: var(--accent); }
.btn-secondary:hover { background: var(--accent-tint); color: var(--accent-ink); }
.btn-sm { min-height: 38px; padding: 7px 18px; font-size: 0.9rem; }
.btn-block { width: 100%; }
.btn .icon { width: 18px; height: 18px; }

/* ---------- header (claro com blur) ---------- */

.site-header {
  position: sticky; top: 0; z-index: 120;
  background: rgba(246, 248, 246, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}
.site-header.is-scrolled { background: rgba(255, 255, 255, 0.95); box-shadow: var(--shadow-md); }

.header-inner { display: flex; align-items: center; gap: 26px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; }
.brand-logo { display: block; height: 34px; width: auto; }

.site-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }

.nav-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; cursor: pointer; color: var(--text);
  font: inherit; font-size: 0.94rem; font-weight: 600;
  padding: 9px 14px; border-radius: var(--radius-pill);
  transition: background 0.16s ease, color 0.16s ease;
}
.nav-trigger:hover { color: var(--accent); background: var(--accent-tint); }
.nav-caret { width: 14px; height: 14px; transition: transform 0.16s ease; }
.nav-item.open .nav-caret { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 0px); left: 0; z-index: 130;
  min-width: 260px; max-width: 340px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); box-shadow: var(--shadow-md);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.dropdown::before {
  content: ""; position: absolute; top: -5px; left: 22px;
  width: 10px; height: 10px; background: var(--surface);
  border-left: 1px solid var(--border); border-top: 1px solid var(--border);
  transform: rotate(45deg);
}
.dropdown.align-right { left: auto; right: 0; }
.dropdown.align-right::before { left: auto; right: 22px; }
.nav-item.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown-list { list-style: none; margin: 0; padding: 0; }
.dropdown-list a {
  display: block; padding: 10px 14px; border-radius: var(--radius-sm);
  color: var(--text); font-size: 0.93rem;
}
.dropdown-list a:hover, .dropdown-list a:focus-visible { background: var(--accent-tint); color: var(--accent-ink); text-decoration: none; }

.header-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--border); color: var(--text);
  border-radius: var(--radius-pill); width: 42px; height: 42px; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-menu { border-top: 1px solid var(--border); background: var(--surface); padding: 14px 0 22px; }
.mobile-group { border-bottom: 1px solid var(--border); }
.mobile-group-trigger {
  display: flex; width: 100%; justify-content: space-between; align-items: center;
  background: none; border: 0; color: var(--text); font: inherit; font-weight: 650;
  padding: 13px 2px; cursor: pointer;
}
.mobile-group-trigger .icon { width: 16px; height: 16px; transition: transform 0.16s ease; }
.mobile-group-trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mobile-group-panel ul { list-style: none; margin: 0 0 10px; padding: 0; }
.mobile-group-panel a { display: block; padding: 9px 12px; color: var(--text-muted); border-radius: var(--radius-sm); font-size: 0.94rem; }
.mobile-group-panel a:hover { background: var(--accent-tint); color: var(--accent-ink); text-decoration: none; }
.mobile-menu .btn { margin-top: 14px; }

/* ---------- hero: skyline de São Paulo + canvas ---------- */

.hero {
  position: relative; overflow: hidden;
  padding: clamp(52px, 7vw, 92px) 0 clamp(56px, 7vw, 100px);
  background: var(--bg);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; will-change: transform; }
.hero-bg img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: center bottom;
}
/* véu claro para legibilidade do texto sobre a imagem */
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(246, 248, 246, 0.94) 0%, rgba(246, 248, 246, 0.72) 42%, rgba(246, 248, 246, 0.18) 78%, rgba(246, 248, 246, 0.30) 100%),
    linear-gradient(180deg, rgba(246, 248, 246, 0.55), rgba(246, 248, 246, 0) 30%, rgba(246, 248, 246, 0.35) 100%);
}
.hero-canvas { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; display: block; }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(28px, 4vw, 56px); align-items: center; }

.hero-copy h1 { max-width: 17ch; }
.hero-copy .hero-sub { color: var(--text-muted); font-size: 1.07rem; max-width: 48ch; margin-bottom: 1.3em; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 1.2em; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-pill);
  padding: 8px 16px; font-size: 0.86rem; font-weight: 600; color: var(--text);
  box-shadow: var(--shadow-sm);
}
.hero-badge:hover { border-color: var(--accent); text-decoration: none; }
.hero-badge .icon { width: 16px; height: 16px; color: var(--accent); }

.hero-flags { margin-bottom: 1.2em; }
.flags-caption { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin: 0 0 8px; }
.flags-row { display: flex; align-items: center; gap: 10px; }
.flag { border-radius: 4px; box-shadow: var(--shadow-sm); height: auto; }
.flag-inline { display: inline-block; vertical-align: -2px; margin-left: 6px; border-radius: 2px; }

.hero-note { max-width: 46ch; }
.hero-note p { font-size: 0.88rem; color: var(--text-muted); border-left: 3px solid var(--accent); padding-left: 14px; margin: 0; }

.form-heading { font-family: var(--font-display); font-weight: 750; font-size: 1.04rem; color: var(--text); margin: 0 0 10px; }

.hero-form-wrap { position: relative; }

/* selos das corretoras */
.exchange-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: center; }
.exchange-chip {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--border); background: var(--surface);
  border-radius: var(--radius-pill); padding: 9px 20px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.92rem;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.exchange-chip:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: var(--shadow-md); }
.exchange-chip svg { width: 18px; height: 18px; color: var(--accent); }

/* faixa de confiança */
.trust-strip { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.trust-item {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-pill);
  padding: 12px 18px; color: var(--text); font-size: 0.92rem; font-weight: 550;
  box-shadow: var(--shadow-sm);
}
.trust-item .icon { width: 20px; height: 20px; color: var(--accent); flex: none; }

/* ---------- cards: 14px, sombra esverdeada, hover com selo ---------- */

.card-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card-grid.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
  padding: 24px 24px 26px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card::after {
  content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 3px;
  border-radius: 0 0 3px 3px; background: var(--accent);
  opacity: 0; transition: opacity 0.18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(10, 125, 81, 0.35); }
.card:hover::after { opacity: 0.85; }
a.card:hover { text-decoration: none; }
.card h3 { margin-bottom: 0.4em; }
.card p { color: var(--text-muted); margin: 0; font-size: 0.96rem; }

.icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent-tint); color: var(--accent);
  margin-bottom: 15px; border: 1px solid rgba(10, 125, 81, 0.18);
}
.icon-badge .icon { width: 23px; height: 23px; }
.card-head { display: flex; align-items: center; gap: 13px; margin-bottom: 10px; }
.card-head .icon-badge { margin-bottom: 0; width: 42px; height: 42px; }
.card-head .icon-badge .icon { width: 20px; height: 20px; }

/* passos numerados */
.steps-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step-card { padding-top: 6px; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 0.95rem;
  margin-bottom: 13px; box-shadow: var(--shadow-sm);
}
.step-card h3 { font-size: 1.04rem; }

/* ---------- tabelas ---------- */

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 560px; }
thead th {
  background: var(--surface-2); text-align: left; font-family: var(--font-display);
  font-size: 0.86rem; letter-spacing: 0.03em; color: var(--text);
  padding: 13px 16px; border-bottom: 1px solid var(--border);
}
tbody td { padding: 13px 16px; border-bottom: 1px solid var(--border); color: var(--text-muted); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: rgba(234, 242, 236, 0.65); }
td .yes { color: var(--accent); }
td .no { color: #b3453e; }
td .yes .icon, td .no .icon { width: 18px; height: 18px; vertical-align: -3px; }

/* ---------- avaliações ---------- */

.review-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.review-card { display: flex; flex-direction: column; gap: 12px; }
.review-head { display: flex; align-items: center; gap: 13px; }
.review-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); flex: none; }
.review-avatar-fallback { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--accent); background: var(--accent-tint); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.review-avatar-fallback .icon { width: 26px; height: 26px; }
.review-name { font-weight: 680; color: var(--text); }
.review-meta { font-size: 0.85rem; color: var(--text-muted); }
.review-card blockquote { margin: 0; color: var(--text-muted); font-size: 0.95rem; flex: 1; }
.review-note { font-size: 0.85rem; color: var(--text-muted); text-align: center; margin-top: 18px; }

/* ---------- calculadora ---------- */

.calc-section {
  background:
    radial-gradient(560px 240px at 92% 100%, rgba(10, 125, 81, 0.07), transparent 70%),
    var(--surface-2);
  border-block: 1px solid var(--border);
}
.calc-section .section-head { text-align: center; margin-inline: auto; }

/* ---------- faq ---------- */

.faq-list { display: grid; gap: 10px; max-width: 860px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.faq-q {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: 0; color: var(--text); font: inherit; font-weight: 620;
  text-align: left; padding: 16px 20px; cursor: pointer;
}
.faq-q .icon { width: 18px; height: 18px; color: var(--accent); flex: none; transition: transform 0.18s ease; }
.faq-item.open .faq-q .icon { transform: rotate(180deg); }
.faq-a { padding: 0 20px; color: var(--text-muted); display: none; }
.faq-item.open .faq-a { display: block; padding-bottom: 18px; }

/* ---------- formulário ---------- */

.form-block {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  padding: clamp(20px, 3vw, 30px);
}
.form-block__intro { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 14px; }
.form-legal { font-size: 0.8rem; color: var(--text-muted); margin: 12px 0 0; }
.form-legal a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- hero de página interna ---------- */

.page-hero { padding: clamp(42px, 6vw, 76px) 0; position: relative; overflow: hidden; }
.page-hero .page-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 4vw, 54px); align-items: start; }
.page-hero .hero-sub { color: var(--text-muted); font-size: 1.04rem; max-width: 52ch; }

/* ---------- trilha de navegação ---------- */

.breadcrumbs { background: var(--surface-2); border-bottom: 1px solid var(--border); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 11px 0; font-size: 0.85rem; color: var(--text-muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--border); }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--accent-ink); }

/* ---------- prosa ---------- */

.prose { max-width: 820px; }
.prose h2 { margin-top: 1.9em; }
.prose h3 { margin-top: 1.5em; font-size: 1.04rem; }
.prose p, .prose li { color: var(--text-muted); }
.prose ul li::marker { color: var(--accent); }

.callout {
  background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent);
  border-radius: var(--radius-md); padding: 18px 22px; margin: 1.4em 0;
  box-shadow: var(--shadow-sm);
}
.callout p { margin: 0; color: var(--text-muted); }

/* ---------- mapa ---------- */

.map-embed {
  border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-md); overflow: hidden; max-width: 860px;
  aspect-ratio: 16 / 9; min-height: 320px; background: var(--surface-2);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- rodapé ---------- */

.site-footer { background: #0e2b1f; color: #d7e6dd; padding: clamp(44px, 6vw, 72px) 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 32px; }
.footer-logo { height: 30px; width: auto; margin-bottom: 14px; }
.footer-note { color: #a9c2b3; font-size: 0.9rem; }
.footer-contact { font-size: 0.88rem; color: #a9c2b3; line-height: 2; }
.footer-contact .icon { width: 15px; height: 15px; color: #4fc08a; vertical-align: -2px; margin-right: 4px; }
.footer-col h3 { font-size: 0.84rem; text-transform: uppercase; letter-spacing: 0.08em; color: #eaf5ee; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a { color: #a9c2b3; font-size: 0.88rem; }
.footer-col a:hover { color: #fff; }
.footer-disclaimer { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12); color: #a9c2b3; font-size: 0.82rem; max-width: 900px; }
.footer-legal { color: #8fae9d; font-size: 0.78rem; }

/* ---------- oferta especial ---------- */

.so-strip { background: var(--accent); color: #fff; font-size: 0.85rem; font-weight: 600; }
.so-strip .container { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; padding-block: 9px; }
.so-strip span { display: inline-flex; align-items: center; gap: 7px; }
.so-strip .icon { width: 15px; height: 15px; }

.so-hero { position: relative; overflow: hidden; padding: clamp(42px, 6vw, 68px) 0; }
.so-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(26px, 4vw, 50px); align-items: center; position: relative; z-index: 2; }
.so-timer-row { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.so-timer-label { font-size: 0.85rem; color: var(--text-muted); }
.so-timer { display: inline-flex; gap: 6px; font-family: var(--font-mono); }
.so-timer span {
  display: inline-flex; flex-direction: column; align-items: center; gap: 3px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 8px 10px; color: var(--text); font-size: 1.35rem; font-weight: 700; min-width: 54px;
}
.so-timer small { font-size: 0.6rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.so-modal .so-timer { margin: 16px 0 20px; }
.so-modal .so-timer b { font-size: 1.5rem; line-height: 1; font-weight: 700; color: var(--text); }
.so-eyebrow { margin-bottom: 14px; }

.so-cta-band {
  background: linear-gradient(120deg, var(--accent), #075638);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: clamp(28px, 4vw, 44px); text-align: center; color: #fff;
}
.so-cta-band p { color: #d3ecdd; font-size: 1.02rem; max-width: 60ch; margin-inline: auto; }
.so-cta-band .btn { background: #fff; color: var(--accent-ink); margin-top: 6px; }
.so-cta-band .btn:hover { background: #ecf6ef; transform: translateY(-1px); }

.so-modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 20px; }
.so-modal.open { display: flex; }
.so-modal__overlay { position: absolute; inset: 0; background: rgba(14, 43, 31, 0.55); }
.so-modal__card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  max-width: 460px; width: 100%; padding: 30px 28px; text-align: center;
}
.so-modal__close {
  position: absolute; top: 12px; right: 12px; width: 34px; height: 34px;
  background: var(--surface-2); color: var(--text); border: 1px solid var(--border);
  border-radius: 50%; font-size: 1.1rem; line-height: 1; cursor: pointer;
}
.so-modal__close:hover { background: var(--accent); color: #fff; }
.so-modal__card h2 { font-size: 1.5rem; }
.so-modal__card img { width: 130px; height: auto; margin: 4px auto 10px; display: block; }
.so-modal__card p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- utilidades ---------- */

.text-center { text-align: center; }
.mt-2 { margin-top: 1.4em; }
.muted { color: var(--text-muted); }

.reveal { opacity: 0; transform: translateY(10px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- responsivo ---------- */

@media (max-width: 1020px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 920px) {
  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-inner { gap: 14px; }
  .header-cta .btn { margin-left: auto; }
  .hero-inner, .page-hero .page-hero-grid, .so-hero-grid { grid-template-columns: 1fr; }
  .hero-form-wrap { max-width: 560px; }
  .hero-bg::after {
    background: linear-gradient(180deg, rgba(246, 248, 246, 0.82), rgba(246, 248, 246, 0.35) 55%, rgba(246, 248, 246, 0.62));
  }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .card { padding: 20px 18px 22px; }
  .card::after { left: 18px; right: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .so-timer span { min-width: 48px; font-size: 1.15rem; padding: 6px 8px; }
}

/* ---------- movimento reduzido ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-canvas { display: none; }
}

.tv-ticker-wrapper {
    padding-top: 0 !important;
    height: 58px !important;
}