:root {
  --bg: #0a0a0a;
  --bg-soft: #141414;
  --gold: #c9a24b;
  --gold-light: #e4c97a;
  --white: #f5f5f0;
  --gray: #9a9a92;
  --max-w: 480px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* HERO */
.hero {
  position: relative;
  padding: 48px 0 36px;
  text-align: center;
  background: var(--bg);
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 0%, rgba(201, 162, 75, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.75) 55%, var(--bg) 100%);
}

.hero .wrap {
  position: relative;
  z-index: 2;
}

.hero .badge {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  margin: 0 auto 22px;
  display: block;
  box-shadow: 0 0 0 1px #2a2a2a, 0 10px 30px rgba(0,0,0,0.5);
}

.hero .kicker {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}

.hero h1 {
  font-size: 44px;
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}

.hero h1 span {
  color: var(--gold-light);
}

.hero p.sub {
  color: var(--gray);
  font-size: 16px;
  max-width: 340px;
  margin: 0 auto 28px;
}

.hero-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 28px;
  text-align: left;
}

.fact {
  background: var(--bg-soft);
  border: 1px solid #242424;
  border-radius: 14px;
  padding: 14px;
}

.fact .label {
  color: var(--gold);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin-bottom: 4px;
}

.fact .value {
  font-size: 15px;
  font-weight: 600;
}

.fact.full {
  grid-column: 1 / -1;
}

.fact-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease;
}

.fact-link:active {
  border-color: var(--gold);
}

.fact-link .value-sub {
  font-size: 13px;
  color: var(--gray);
  margin-top: 2px;
  font-weight: 400;
}

.fact-link .maps-link {
  margin-top: 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.btn-primary {
  display: inline-block;
  width: 100%;
  background: var(--gold);
  color: #111;
  font-weight: 700;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 18px;
  border: none;
  border-radius: 14px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}

.btn-primary:active {
  transform: scale(0.98);
}

.free-tag {
  display: inline-block;
  margin-top: 14px;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* SECTIONS */
section {
  padding: 48px 0;
  border-top: 1px solid #1c1c1c;
}

.section-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold);
  font-weight: 700;
  text-align: center;
  margin-bottom: 14px;
}

.section-heading {
  font-size: 26px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.1;
}

.about-text {
  color: var(--gray);
  font-size: 15px;
  text-align: center;
  max-width: 360px;
  margin: 0 auto;
}

/* ROUTINE */
.routine-block {
  background: var(--bg-soft);
  border: 1px solid #242424;
  border-radius: 16px;
  padding: 22px 20px;
  margin-bottom: 16px;
  position: relative;
}

.routine-num {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 13px;
  font-weight: 700;
  color: #3a3226;
  letter-spacing: 0.05em;
}

.routine-title {
  font-size: 19px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 14px;
  padding-right: 40px;
}

.routine-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.routine-list li {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--white);
  border-left: 2px solid var(--gold);
  padding-left: 10px;
}

.emom-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.emom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1c1c1c;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 13.5px;
}

.emom-row span:first-child {
  color: var(--gold);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.routine-chain {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--white);
  margin-bottom: 14px;
}

.routine-note {
  color: var(--gray);
  font-size: 12.5px;
  line-height: 1.5;
  font-style: italic;
}

/* SPONSORS */
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 10px;
}

.sponsors-grid-pair {
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 40px;
}

.sponsors-grid-2col {
  grid-template-columns: repeat(2, 1fr);
}

.communities-title {
  margin-top: 8px;
}

.sponsor-card {
  background: var(--bg-soft);
  border: 1px solid #242424;
  border-radius: 14px;
  padding: 14px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
}

.sponsor-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* FORM */
#inscricao {
  background: var(--bg-soft);
}

.form-group {
  margin-bottom: 14px;
}

label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray);
  margin-bottom: 6px;
  font-weight: 600;
}

input {
  width: 100%;
  background: #1c1c1c;
  border: 1px solid #2e2e2e;
  color: var(--white);
  font-size: 16px;
  padding: 14px;
  border-radius: 10px;
  font-family: inherit;
}

input:focus {
  outline: none;
  border-color: var(--gold);
}

.iti {
  width: 100%;
}

.iti input {
  width: 100%;
}

.iti__selected-flag {
  background: #1c1c1c;
  border-radius: 10px 0 0 10px;
}

.iti__selected-flag:hover,
.iti__selected-flag:focus {
  background: #242424;
}

.iti__country-list {
  background: #1c1c1c;
  border: 1px solid #2e2e2e;
  color: var(--white);
}

.iti__country.iti__highlight {
  background: #2e2e2e;
}

.iti__dial-code {
  color: var(--gray);
}

.iti__divider {
  border-bottom: 1px solid #2e2e2e;
}

.form-note {
  text-align: center;
  color: var(--gray);
  font-size: 12px;
  margin-top: 12px;
}

#form-status {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  margin-top: 14px;
  min-height: 20px;
}

#form-status.success { color: #7fd28a; }
#form-status.error { color: #e07a7a; }

/* FOOTER */
footer {
  padding: 32px 0 44px;
  text-align: center;
  color: #666;
  font-size: 12px;
}

footer img {
  height: 32px;
  width: 32px;
  border-radius: 50%;
  margin-bottom: 10px;
}

@media (min-width: 520px) {
  .hero h1 { font-size: 52px; }
}

/* SUCCESS MODAL */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.open {
  display: flex;
}

.modal-card {
  width: 100%;
  max-width: 360px;
  background: var(--bg-soft);
  border: 1px solid #2e2e2e;
  border-radius: 20px;
  padding: 36px 28px 28px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.modal-badge {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: block;
  box-shadow: 0 0 0 1px #2a2a2a;
}

.modal-kicker {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}

.modal-title {
  font-size: 24px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.modal-text {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.modal-text strong {
  color: var(--gold-light);
}
