* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

.site-header {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
}

.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -0.03em; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 11px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--btn-text);
  font-size: 13px;
  overflow: hidden;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand > span:last-child { color: #fd7b02; font-size: 18px; }
.header-nav { display: flex; gap: 20px; align-items: center; color: var(--muted); font-size: 14px; }
.nav-cta { color: var(--text); padding: 10px 14px; border: 1px solid var(--border); border-radius: 999px; }

.hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 34px;
  align-items: center;
  padding: 58px 0 72px;
  position: relative;
}
.hero-glow { position: absolute; filter: blur(68px); opacity: 0.35; pointer-events: none; }
.hero-glow-a { width: 360px; height: 360px; background: var(--primary); top: 20px; left: -140px; }
.hero-glow-b { width: 260px; height: 260px; background: var(--secondary); right: -100px; bottom: 40px; }
.hero-content, .signup-card, .bento-card, .comparison-col, .thanks-card, .city-card {
  position: relative;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 92%, transparent), color-mix(in srgb, var(--surface-2) 88%, transparent));
  box-shadow: var(--shadow-soft);
}
.hero-content { padding: 44px; border-radius: var(--radius-xl); }
.portal-hero-logo { width: min(40%, 320px); height: auto; display: block; margin: 0 auto 14px; }
.eyebrow, .card-label { color: var(--primary); text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px; font-weight: 800; }
h1 { font-size: clamp(42px, 6vw, 72px); line-height: 0.94; letter-spacing: -0.07em; margin: 18px 0 22px; }
h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1; letter-spacing: -0.05em; margin: 10px 0 18px; }
h3 { margin: 0 0 12px; }
p { color: var(--muted); line-height: 1.65; }
.hero-subtitle { font-size: 18px; max-width: 760px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-weight: 800;
  cursor: pointer;
}
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: var(--btn-text); border: 0; }
.btn-secondary { color: var(--text); background: var(--wash); }
.btn-full { width: 100%; }
.hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 34px; }
.hero-proof div { border: 1px solid var(--border); border-radius: 18px; padding: 14px; background: var(--wash); }
.hero-proof strong { display: block; font-size: 24px; }
.hero-proof span { display: block; color: var(--muted); font-size: 12px; line-height: 1.35; }

.signup-card { border-radius: var(--radius-xl); padding: 30px; }
.signup-card h2 { font-size: 32px; }
.field { margin: 14px 0; }
.field.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { color: var(--muted); font-size: 13px; font-weight: 700; display: block; margin-bottom: 7px; }
input, textarea, select {
  width: 100%; height: 46px; border-radius: 14px; border: 1px solid var(--border);
  background: var(--wash); color: var(--text); padding: 0 14px; outline: none;
  font-family: inherit; font-size: 14px;
}
textarea { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 25%, transparent); }
.checkbox-grid label { display: flex; gap: 8px; align-items: center; margin: 0; padding: 10px; border: 1px solid var(--border); border-radius: 14px; }
.checkbox-grid input { width: auto; height: auto; }
.lgpd-consent { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 4px; padding: 12px; border: 1px solid var(--border); border-radius: 14px; }
.lgpd-consent input { width: auto; height: auto; margin-top: 2px; }
.lgpd-consent span { color: var(--muted); font-size: 12px; line-height: 1.5; font-weight: 400; }
.lgpd-consent a { color: var(--primary); text-decoration: underline; }
.form-note { font-size: 12px; margin: 12px 0 0; }
.form-errors { background: rgba(239, 68, 68, 0.10); border: 1px solid rgba(239, 68, 68, 0.30); color: var(--icon-err); border-radius: 14px; padding: 12px 14px; font-size: 13px; }
.form-errors ul { margin: 8px 0 0; padding-left: 18px; }

.section { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 48px 0; }
.bento { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 16px; }
.bento-card { border-radius: var(--radius-lg); padding: 24px; min-height: 180px; }
.bento-card.large { grid-row: span 2; }
.bento-card span { color: var(--accent); font-size: 12px; text-transform: uppercase; letter-spacing: 0.13em; font-weight: 900; }
.bento-card p { margin-bottom: 0; }
.split { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 24px; align-items: start; }
.comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.comparison-col { border-radius: var(--radius-lg); padding: 24px; }
.comparison-col ul { margin: 0; padding-left: 20px; color: var(--muted); line-height: 1.9; }
.muted-card { opacity: 0.78; }
.steps ol { list-style: none; padding: 0; display: grid; gap: 12px; counter-reset: step; }
.steps li { border: 1px solid var(--border); border-radius: 18px; padding: 18px; background: var(--wash); color: var(--muted); }
.steps li::before { counter-increment: step; content: counter(step); display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 10px; border-radius: 999px; background: var(--primary); color: var(--btn-text); font-weight: 900; }

/* ── Section shared ── */
.section-header { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-subtitle { font-size: 17px; color: var(--muted); }
.section-dark { background: color-mix(in srgb, var(--surface) 60%, transparent); border-radius: var(--radius-xl); }

/* ── Problem ── */
.problem-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.problem-card { display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; background: rgba(239,68,68,0.04); }
.problem-card strong { display: block; margin-bottom: 4px; }
.problem-card p { margin: 0; font-size: 14px; }
.problem-icon { width: 32px; height: 32px; flex-shrink: 0; display: grid; place-items: center; border-radius: 10px; background: rgba(239,68,68,0.15); color: var(--icon-err); font-weight: 900; font-size: 14px; }

/* ── Proposal ── */
.section-proposal { }
.proposal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.proposal-card { display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; background: rgba(34,197,94,0.04); }
.proposal-card strong { display: block; margin-bottom: 4px; }
.proposal-card p { margin: 0; font-size: 14px; }
.proposal-icon { width: 32px; height: 32px; flex-shrink: 0; display: grid; place-items: center; border-radius: 10px; background: rgba(34,197,94,0.15); color: var(--icon-ok); font-weight: 900; font-size: 14px; }

/* ── Sponsor ── */
.sponsor-card { border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 32px; background: var(--wash); max-width: 600px; margin: 0 auto; }
.sponsor-card strong { display: block; font-size: 20px; margin-bottom: 8px; }
.sponsor-benefit { margin-top: 14px; padding: 12px 16px; border-radius: 14px; background: rgba(34,197,94,0.10); border: 1px solid rgba(34,197,94,0.25); font-weight: 700; color: var(--icon-ok); }
.sponsor-room { font-size: 14px; margin-top: 10px; }

/* ── Ambassador ── */
.ambassador-reward { display: flex; align-items: center; gap: 12px; border: 1px solid rgba(249,115,22,0.35); border-radius: var(--radius-lg); padding: 20px 24px; background: rgba(249,115,22,0.08); margin-bottom: 28px; max-width: 600px; }
.reward-icon { font-size: 28px; }
.ambassador-reward strong { font-size: 17px; }
.ambassador-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.ambassador-block { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; }
.ambassador-block h3 { margin: 0 0 14px; font-size: 15px; }
.ambassador-block ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.ambassador-block li.allowed { color: var(--icon-ok); }
.ambassador-block li.forbidden { color: var(--icon-err); }

/* ── Transparency ── */
.transparency-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.transparency-card { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; }
.transparency-card strong { display: block; margin-bottom: 8px; }
.transparency-card p { margin: 0; font-size: 14px; }

/* ── Platform ── */
.section-platform { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.platform-content { flex: 1; min-width: 280px; }
.platform-summary { display: grid; gap: 10px; min-width: 240px; }
.summary-item { display: flex; justify-content: space-between; border: 1px solid var(--border); border-radius: 14px; padding: 14px 18px; font-size: 14px; }
.summary-item span { color: var(--muted); }
.summary-item strong { font-size: 15px; }

/* ── FAQ ── */
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--wash); overflow: hidden; }
.faq-item summary { padding: 18px 22px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: '+'; font-size: 20px; color: var(--primary); flex-shrink: 0; margin-left: 12px; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 22px 18px; margin: 0; color: var(--muted); font-size: 14px; }

/* ── CTA Final ── */
.section-cta-final { text-align: center; }
.cta-final-content { border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 60px 40px; background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 8%, transparent), color-mix(in srgb, var(--secondary) 8%, transparent)); }
.cta-final-content h2 { font-size: clamp(28px, 4vw, 48px); }
.cta-final-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

.site-footer { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 34px 0; display: flex; justify-content: space-between; color: var(--muted); border-top: 1px solid var(--border); }

.hero.centered { grid-template-columns: 1fr; }
.hero.centered .hero-content { max-width: 760px; margin: 0 auto; text-align: center; }
.hero.centered .hero-actions { justify-content: center; }
.hero.centered .hero-proof { max-width: 640px; margin: 34px auto 0; }

@media (max-width: 900px) {
  .brand { gap: 10px; }
  .brand > span:last-child { font-size: 16px; }
  .portal-hero-logo { width: min(48%, 240px); }
}

.thanks-card { padding: 42px; border-radius: var(--radius-xl); margin-top: 40px; }
.city-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.city-card { padding: 20px; border-radius: 18px; display: flex; justify-content: space-between; align-items: center; }
.city-card span { color: var(--primary); font-size: 12px; font-weight: 900; }
.city-suggestion-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 92%, transparent), color-mix(in srgb, var(--surface-2) 88%, transparent));
  box-shadow: var(--shadow-soft);
  padding: 28px;
  max-width: 760px;
  margin: 0 auto;
}
.thanks-page { width: min(760px, calc(100% - 32px)); margin: 0 auto; }
.success-mark { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; background: var(--primary); color: var(--btn-text); font-size: 32px; font-weight: 900; }
.muted { color: var(--muted); }

@media (max-width: 900px) {
  .header-nav a:not(.nav-cta) { display: none; }
  .hero, .split { grid-template-columns: 1fr; }
  .hero-content { padding: 28px; }
  .bento { grid-template-columns: 1fr; }
  .comparison { grid-template-columns: 1fr; }
  .field.two, .hero-proof { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; gap: 10px; }
  .section-platform { flex-direction: column; }
  .cta-final-content { padding: 36px 20px; }
}
