:root {
  --surface: #f7f9fb;
  --surface-strong: #ffffff;
  --surface-muted: #eceff3;
  --navy: #10243c;
  --navy-soft: #1f3a5c;
  --text: #171d24;
  --muted: #637083;
  --line: #dce2ea;
  --orange: #ff5f00;
  --orange-dark: #a63b00;
  --gold: #ffc703;
  --blue: #515f78;
  --green: #119e55;
  --error: #ba1a1a;
  --radius: 8px;
  --shadow: 0 22px 40px rgba(16, 36, 60, 0.12);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--surface);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body,
button,
input,
select {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 12px max(16px, calc((100vw - var(--container)) / 2));
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--gold));
  border-radius: var(--radius);
  font-size: 14px;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  color: var(--navy-soft);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--orange-dark);
}

.site-nav .nav-cta,
.nav-cta {
  color: #fff;
  padding: 12px 18px;
  background: linear-gradient(135deg, var(--orange), var(--gold));
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(255, 95, 0, 0.22);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("../img/premios-sorteio-prime.png");
  background-position: center right;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(16, 36, 60, 0.96) 0%, rgba(16, 36, 60, 0.76) 44%, rgba(16, 36, 60, 0.16) 100%),
    linear-gradient(180deg, rgba(16, 36, 60, 0) 72%, var(--surface) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: 86px 120px;
}

.urgency,
.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .urgency {
  display: inline-flex;
  color: var(--navy);
  background: var(--gold);
  padding: 8px 12px;
  border-radius: 999px;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  font-family: Montserrat, Inter, sans-serif;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  color: #fff;
  font-size: clamp(42px, 7vw, 78px);
}

.hero-copy {
  max-width: 590px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--gold));
  box-shadow: 0 12px 24px rgba(255, 95, 0, 0.28);
}

.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.1);
}

.btn-ghost-dark {
  color: var(--navy);
  border: 1px solid var(--line);
  background: #fff;
}

.btn-whatsapp {
  color: #fff;
  background: var(--green);
}

.btn-full {
  width: 100%;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-trust span {
  color: #fff;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 14px;
  font-weight: 700;
}

.section {
  padding: 82px 0;
  background: var(--surface);
}

.section-light {
  background: var(--surface-strong);
}

.section-dark {
  color: #fff;
  background: var(--navy);
}

.section-dark h2,
.section-dark .eyebrow {
  color: #fff;
}

.split,
.form-layout,
.transparency,
.countdown-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 42px;
  align-items: center;
}

.split p,
.section-heading p,
.form-copy p,
.winners p,
.transparency p {
  color: var(--muted);
  font-size: 18px;
}

.split h2,
.section-heading h2,
.form-copy h2,
.winners h2,
.transparency h2,
.countdown-wrap h2 {
  font-size: clamp(30px, 4vw, 44px);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.info-grid div {
  padding: 18px;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.info-grid dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.info-grid dd {
  margin: 6px 0 0;
  color: var(--navy);
  font-weight: 800;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.prize-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 24px;
}

.prize-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.prize-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center;
}

.prize-card.featured img {
  height: 380px;
}

.prize-content {
  padding: 22px;
}

.badge {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 10px;
  color: var(--navy);
  background: var(--gold);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.badge-blue {
  color: #fff;
  background: var(--blue);
}

.prize-content h3 {
  font-size: 26px;
}

.prize-content p {
  color: var(--muted);
}

.prize-content strong {
  display: inline-flex;
  color: var(--orange-dark);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps li {
  position: relative;
  min-height: 230px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.steps span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  color: #fff;
  background: var(--orange);
  border-radius: 50%;
  font-weight: 900;
}

.steps h3 {
  font-size: 20px;
}

.steps p,
.rules-list {
  color: var(--muted);
}

.rules-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rules-list li {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--orange-dark);
  font-weight: 800;
}

.countdown-wrap {
  grid-template-columns: 0.7fr 1.3fr;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.countdown div {
  padding: 18px 10px;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

.countdown strong {
  display: block;
  color: var(--gold);
  font-family: Montserrat, Inter, sans-serif;
  font-size: clamp(28px, 5vw, 54px);
  line-height: 1;
}

.countdown span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.form-layout {
  align-items: start;
}

.privacy-note {
  padding: 16px;
  background: #fff;
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
}

.signup-form {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.field-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field,
.checkbox {
  margin-bottom: 16px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.field input,
.field select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--text);
  background: #fff;
  border: 1px solid #c8d1dc;
  border-radius: var(--radius);
  outline: 0;
}

.field input:focus,
.field select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 95, 0, 0.15);
}

.field small,
.form-error {
  display: block;
  min-height: 20px;
  margin-top: 5px;
  color: var(--error);
  font-size: 13px;
  font-weight: 700;
}

.field.has-error input {
  border-color: var(--error);
}

.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 14px;
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--orange);
}

.checkbox a {
  color: var(--orange-dark);
  font-weight: 800;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.winners {
  max-width: 760px;
}

.mobile-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 25;
  display: none;
  padding: 13px 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--gold));
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(16, 36, 60, 0.24);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.site-footer {
  padding: 36px 0;
  color: rgba(255, 255, 255, 0.82);
  background: var(--navy);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: start;
}

.footer-grid strong {
  display: block;
  color: #fff;
  font-family: Montserrat, Inter, sans-serif;
  font-size: 22px;
}

.footer-grid p {
  margin: 8px 0 0;
}

.footer-grid nav {
  display: flex;
  gap: 18px;
}

.footer-grid a {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.legal {
  max-width: 360px;
  margin-left: auto;
  text-align: right;
}

.thanks-page {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(16, 36, 60, 0.92), rgba(16, 36, 60, 0.62)),
    url("../img/premios-sorteio-prime.png") center / cover;
}

.thanks-main {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 16px;
}

.thanks-box {
  width: min(100%, 640px);
  padding: 36px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.success-icon {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  margin: 0 auto 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), #6bd98d);
  border-radius: 50%;
  font-size: 48px;
  font-weight: 900;
}

.thanks-box h1 {
  font-size: clamp(30px, 5vw, 48px);
}

.thanks-box p {
  color: var(--muted);
  font-size: 18px;
}

.thanks-actions {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.legal-page {
  padding: 64px 0;
}

.legal-content {
  max-width: 860px;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.legal-content h1 {
  font-size: clamp(34px, 6vw, 56px);
}

.legal-content h2 {
  margin-top: 34px;
  font-size: 24px;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content ul {
  padding-left: 22px;
}

.legal-content .btn {
  margin-top: 28px;
}

@media (max-width: 920px) {
  .menu-toggle {
    display: block;
  }

  .site-nav:not(.legal-nav) {
    position: absolute;
    top: calc(100% + 1px);
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 8px 0;
  }

  .site-nav .nav-cta {
    text-align: center;
  }

  .hero {
    min-height: 680px;
  }

  .hero-bg {
    background-position: center;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(16, 36, 60, 0.94) 0%, rgba(16, 36, 60, 0.78) 58%, rgba(16, 36, 60, 0.2) 100%),
      linear-gradient(180deg, rgba(16, 36, 60, 0) 75%, var(--surface) 100%);
  }

  .split,
  .form-layout,
  .transparency,
  .countdown-wrap,
  .prize-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal {
    margin-left: 0;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 68px;
  }

  .legal-nav {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    padding-block: 52px 100px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-actions,
  .thanks-actions {
    display: grid;
  }

  .section {
    padding: 56px 0;
  }

  .info-grid,
  .steps,
  .field-group,
  .countdown {
    grid-template-columns: 1fr;
  }

  .steps li {
    min-height: auto;
  }

  .prize-card img,
  .prize-card.featured img {
    height: 250px;
  }

  .signup-form,
  .thanks-box,
  .legal-content {
    padding: 22px;
  }

  .mobile-float {
    display: inline-flex;
  }

  .site-footer {
    padding-bottom: 82px;
  }

  .footer-grid nav {
    flex-direction: column;
    gap: 8px;
  }
}
