/* ============ TOKENS ============ */
:root {
  --navy-900: #07103F;
  --navy-800: #0D1B5E;
  --navy-700: #142278;
  --navy-600: #1E2E94;
  --navy-500: #2B3FAE;
  --gold-500: #E4B850;
  --gold-400: #F0CE6E;
  --gold-300: #F7DF95;
  --ink: #0A1238;
  --ink-soft: #2A3367;
  --muted: #5A6395;
  --white: #FFFFFF;
  --bone: #FAFAF7;
  --pearl: #F4F5F9;
  --line: rgba(13, 27, 94, 0.10);
  --line-strong: rgba(13, 27, 94, 0.18);
  --line-light: rgba(255, 255, 255, 0.14);
  --line-light-strong: rgba(255, 255, 255, 0.28);

  --shadow-sm: 0 1px 2px rgba(7, 16, 63, 0.06), 0 4px 14px rgba(7, 16, 63, 0.06);
  --shadow-md: 0 8px 28px rgba(7, 16, 63, 0.10);
  --shadow-lg: 0 30px 60px rgba(7, 16, 63, 0.18);

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-pill: 999px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 380ms;

  --max: 1240px;
  --gutter: clamp(20px, 4vw, 48px);

  --font: "Rethink Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea { font: inherit; color: inherit; }

/* ============ LAYOUT ============ */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
section { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gold-500);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold-500);
}
.section--light .eyebrow { color: var(--navy-800); }
.section--light .eyebrow::before { background: var(--navy-800); }

h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}
h2 { font-size: clamp(34px, 4.6vw, 60px); font-weight: 600; }
h3 { font-size: clamp(20px, 2vw, 26px); font-weight: 600; letter-spacing: -0.015em; }
p { margin: 0; text-wrap: pretty; }

/* ============ NAV / TOP LOGOS ============ */
.topbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 5;
  padding: 28px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.topbar__brand { display: flex; align-items: center; gap: 14px; }
.topbar__divider { width: 1px; height: 28px; background: rgba(255,255,255,0.22); }
.topbar__partners { display: flex; align-items: center; gap: 28px; }

/* Logo lockup */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}
.logo__mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1.5px solid currentColor;
  position: relative;
}
.logo__mark::before {
  content: "";
  width: 14px; height: 14px;
  background: currentColor;
  transform: rotate(45deg);
}
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.18em;
}
.logo__tag {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.24em;
  margin-top: 5px;
  opacity: 0.78;
}

.logo--eco {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.12em;
  color: var(--white);
}
.logo--eco .dot { color: var(--gold-500); }

.logo--code {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.22em;
  color: var(--white);
}
.logo--code small {
  display: block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.24em;
  opacity: 0.78;
  margin-top: 4px;
}

.award-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 10px;
  border: 1px solid var(--line-light-strong);
  border-radius: var(--r-pill);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  font-weight: 500;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
}
.award-pill__star {
  width: 18px; height: 18px;
  display: grid; place-items: center;
  color: var(--gold-500);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  padding: 160px 0 80px;
}
.hero__bg {
  position: absolute; inset: 0;
  background-image: url("assets/pedra-azul-hero.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  z-index: -2;
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,16,63,0.55) 0%, rgba(7,16,63,0.45) 35%, rgba(7,16,63,0.92) 100%),
    linear-gradient(120deg, rgba(13,27,94,0.78) 0%, rgba(13,27,94,0.30) 60%);
  z-index: -1;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: end;
}
.hero__content { max-width: 720px; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: var(--gold-500);
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--r-pill);
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(40px, 5.4vw, 78px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold-400);
  font-weight: 600;
}
.hero__sub {
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 300;
  line-height: 1.5;
  color: rgba(255,255,255,0.86);
  max-width: 620px;
  margin-bottom: 40px;
}
.hero__meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-end;
  text-align: right;
}
.hero__meta-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
}
.hero__location {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.04em;
}

/* ============ CTA BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--r-sm);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  white-space: nowrap;
  position: relative;
}
.btn__arrow {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--primary {
  background: var(--gold-500);
  color: var(--navy-900);
}
.btn--primary .btn__arrow { background: var(--navy-900); color: var(--gold-500); }
.btn--primary:hover { background: var(--gold-400); transform: translateY(-2px); }

.btn--dark {
  background: var(--navy-800);
  color: var(--white);
}
.btn--dark .btn__arrow { background: rgba(255,255,255,0.18); }
.btn--dark:hover { background: var(--navy-700); transform: translateY(-2px); }

.btn--outline {
  border: 1px solid rgba(255,255,255,0.5);
  color: var(--white);
}
.btn--outline:hover { background: rgba(255,255,255,0.08); border-color: var(--white); }

.btn--block { width: 100%; justify-content: center; }

/* ============ SECTIONS ============ */
.section { padding: clamp(80px, 10vw, 140px) 0; }
.section--light { background: var(--white); color: var(--ink); }
.section--bone { background: var(--bone); color: var(--ink); }
.section--dark {
  background: var(--navy-900);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 20% 0%, rgba(43, 63, 174, 0.4) 0%, transparent 60%);
  pointer-events: none;
}
.section__head {
  max-width: 760px;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section__head .eyebrow { margin-bottom: 20px; }
.section__head p {
  font-size: clamp(16px, 1.3vw, 18px);
  color: var(--muted);
  margin-top: 20px;
  max-width: 600px;
  font-weight: 400;
}
.section--dark .section__head p { color: rgba(255,255,255,0.7); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section__head--center p { margin-inline: auto; }

/* ============ AUTHORITY ============ */
.authority {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.authority__visual {
  aspect-ratio: 1;
  background: linear-gradient(180deg, var(--bone) 0%, var(--pearl) 100%);
  border-radius: 4px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.authority__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, transparent 30%, rgba(13,27,94,0.04) 70%),
    repeating-linear-gradient(45deg, transparent 0 24px, rgba(13,27,94,0.03) 24px 25px);
  pointer-events: none;
}
.medal {
  width: 72%;
  aspect-ratio: 1;
  position: relative;
  display: grid; place-items: center;
}
.medal__ring {
  position: absolute;
  inset: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}
.medal__ring--inner {
  inset: 14%;
  border-color: var(--navy-800);
  border-width: 1.5px;
}
.medal__ring--dashed {
  inset: 7%;
  border-style: dashed;
  border-color: var(--gold-500);
}
.medal__star {
  font-size: 64px;
  color: var(--navy-800);
  line-height: 1;
}
.medal__label {
  position: absolute;
  bottom: -8%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy-800);
  color: var(--white);
  padding: 10px 18px;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
}
.authority__content h2 { margin-bottom: 28px; }
.authority__lead {
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--ink-soft);
  font-weight: 400;
  margin-bottom: 40px;
  max-width: 480px;
}
.authority__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.pillar-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 0;
}
.pillar-card__icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  color: var(--navy-800);
  border: 1px solid var(--navy-800);
}
.pillar-card__title {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.pillar-card__meta {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-500);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.pillar-card__meta::before {
  content: "★";
  font-size: 10px;
}

/* ============ ECOSYSTEM ============ */
.ecosystem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.eco-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-light);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
  min-height: 320px;
}
.eco-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--line-light-strong);
  transform: translateY(-4px);
}
.eco-card__num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--gold-400);
}
.eco-card__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.22);
  color: var(--gold-400);
  margin-bottom: auto;
}
.eco-card h3 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.eco-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.55;
}

/* ============ UNIVERSAL METRICS ============ */
.universal {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: stretch;
}
.universal__image {
  background-image: url("https://images.unsplash.com/photo-1486325212027-8081e485255e?w=1000&q=80");
  background-size: cover;
  background-position: center;
  min-height: 560px;
  position: relative;
  overflow: hidden;
}
.universal__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(7,16,63,0.7) 100%);
}
.universal__image-tag {
  position: absolute;
  bottom: 28px;
  left: 28px;
  color: var(--white);
  z-index: 1;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.universal__image-tag::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--gold-500);
  border-radius: 50%;
}
.universal__content { display: flex; flex-direction: column; justify-content: center; }
.universal__content h2 { margin-bottom: 24px; }
.universal__content > p {
  font-size: 17px;
  color: var(--ink-soft);
  margin-bottom: 48px;
  max-width: 460px;
}
.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.metric {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.metric__num {
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--navy-800);
  line-height: 1;
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.metric__num sup {
  font-size: 0.45em;
  color: var(--gold-500);
  font-weight: 600;
  top: -0.6em;
}
.metric__label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

/* ============ CODE CONSTRUTORA ============ */
.code-section {
  background: var(--navy-900);
  color: var(--white);
  position: relative;
  overflow: hidden;
  min-height: 720px;
  display: flex;
  align-items: center;
  padding: 120px 0;
}
.code-section__bg {
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?w=1600&q=80");
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}
.code-section__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(7,16,63,0.95) 0%, rgba(7,16,63,0.75) 50%, rgba(7,16,63,0.55) 100%);
}
.code-section__content {
  position: relative;
  z-index: 1;
  max-width: 620px;
}
.code-section__brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
  padding: 12px 20px;
  border: 1px solid var(--line-light-strong);
  border-radius: var(--r-pill);
}
.code-section__brand .dot {
  width: 8px; height: 8px;
  background: var(--gold-500);
  border-radius: 50%;
  animation: pulse 2s var(--ease) infinite;
}
.code-section__brand span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
.code-section h2 {
  margin-bottom: 16px;
}
.code-section__sub {
  font-size: 22px;
  color: var(--gold-400);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}
.code-section p {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
  max-width: 520px;
  font-weight: 300;
  line-height: 1.6;
}

/* ============ SORTEIO ============ */
.sorteio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  margin-top: 64px;
}
.sorteio__image {
  background-image: url("assets/pedra-azul-paisagem.png");
  background-size: cover;
  background-position: center;
  min-height: 560px;
  position: relative;
}
.sorteio__image-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  background: var(--white);
  color: var(--navy-800);
  padding: 10px 18px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.sorteio__content { display: flex; flex-direction: column; align-items: flex-start; }
.prizes {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 40px 0;
  border-top: 1px solid var(--line);
}
.prize {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.prize__num {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--gold-500);
}
.prize__title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 4px 0;
}
.prize__desc {
  font-size: 14px;
  color: var(--muted);
}
.prize__icon {
  width: 36px; height: 36px;
  color: var(--navy-800);
  display: grid; place-items: center;
}
.sorteio__note {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--navy-900);
  color: var(--white);
  padding: 80px 0 32px;
  position: relative;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-light);
}
.footer__tag {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  max-width: 520px;
}
.footer__tag em {
  font-style: normal;
  color: var(--gold-400);
}
.footer__brands {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: flex-end;
}
.footer__brand-row {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-light);
}
.footer__mid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  padding: 48px 0;
}
.footer__col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin: 0 0 18px 0;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__col li { font-size: 14px; color: rgba(255,255,255,0.7); }
.footer__col a { color: rgba(255,255,255,0.7); font-size: 14px; transition: color var(--dur) var(--ease); }
.footer__col a:hover { color: var(--gold-400); }
.footer__socials { display: flex; gap: 10px; }
.footer__socials a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.footer__socials a:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-900); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}

/* ============ MODAL ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 16, 63, 0.6);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  z-index: 100;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms var(--ease);
}
.modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.modal {
  background: var(--white);
  color: var(--ink);
  width: 100%;
  max-width: 520px;
  border-radius: 10px;
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: scale(0.94) translateY(12px);
  transition: transform 380ms var(--ease);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}
.modal-overlay.is-open .modal { transform: scale(1) translateY(0); }
.modal__close {
  position: absolute;
  top: 18px; right: 18px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 999px;
  transition: background var(--dur) var(--ease);
  color: var(--muted);
}
.modal__close:hover { background: var(--pearl); color: var(--ink); }
.modal__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  color: var(--gold-500);
  margin-bottom: 14px;
}
.modal h3 {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 10px 0;
}
.modal__sub {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.5;
}
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  color: var(--ink-soft);
}
.field input {
  height: 48px;
  padding: 0 16px;
  background: var(--pearl);
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 15px;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.field input:focus {
  outline: none;
  border-color: var(--navy-800);
  background: var(--white);
}
.field input::placeholder { color: rgba(10,18,56,0.35); }
.checkbox {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1.45;
  margin: 18px 0 24px;
  align-items: flex-start;
}
.checkbox input { position: absolute; opacity: 0; pointer-events: none; }
.checkbox__box {
  width: 18px; height: 18px;
  border: 1.5px solid var(--line-strong);
  border-radius: 3px;
  flex-shrink: 0;
  margin-top: 1px;
  display: grid;
  place-items: center;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.checkbox input:checked + .checkbox__box {
  background: var(--navy-800);
  border-color: var(--navy-800);
}
.checkbox input:checked + .checkbox__box::after {
  content: "";
  width: 5px; height: 9px;
  border: 1.5px solid var(--white);
  border-top: 0; border-left: 0;
  transform: rotate(45deg) translate(-1px, -1px);
}
.modal__success {
  display: none;
  text-align: center;
  padding: 24px 0 8px;
}
.modal__success.is-visible { display: block; }
.modal__success-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--gold-500);
  display: grid;
  place-items: center;
  color: var(--navy-900);
}
.modal__form.is-hidden { display: none; }

/* ============ REVEAL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal--delay-1 { transition-delay: 80ms; }
.reveal--delay-2 { transition-delay: 160ms; }
.reveal--delay-3 { transition-delay: 240ms; }
.reveal--delay-4 { transition-delay: 320ms; }
.reveal--delay-5 { transition-delay: 400ms; }

/* Hero entry animation */
.hero-anim {
  opacity: 0;
  transform: translateY(20px);
  animation: heroIn 1000ms var(--ease) forwards;
}
.hero-anim--1 { animation-delay: 100ms; }
.hero-anim--2 { animation-delay: 280ms; }
.hero-anim--3 { animation-delay: 460ms; }
.hero-anim--4 { animation-delay: 640ms; }
.hero-anim--5 { animation-delay: 820ms; }
@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .topbar { padding: 20px var(--gutter); flex-wrap: wrap; gap: 16px; }
  .topbar__partners { gap: 18px; }
  .topbar__divider, .award-pill { display: none; }
  .hero { padding-top: 130px; padding-bottom: 110px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__meta { align-items: flex-start; text-align: left; }
  .authority, .universal, .sorteio { grid-template-columns: 1fr; }
  .universal__image { min-height: 360px; order: -1; }
  .sorteio__image { min-height: 360px; order: -1; }
  .ecosystem__grid { grid-template-columns: 1fr; }
  .footer__top, .footer__mid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 12px; }
  .modal { padding: 28px 24px; }
  .modal h3 { font-size: 24px; }
}
@media (max-width: 540px) {
  .logo__tag { display: none; }
  .topbar__partners { gap: 14px; }
  .hero__badge { font-size: 10px; padding: 6px 12px; }
  .btn { padding: 16px 22px; font-size: 12px; }
}
