/* =========================================================
   STRIKELAB COMBAT — design system
   ========================================================= */

:root {
  /* cores — identidade "combat" */
  --background: #0a0908;
  --surface: #14120f;
  --surface-light: #1e1b17;
  --primary: #c81e3a;
  --primary-bright: #ff3b4e;
  --primary-dark: #7d1526;
  --accent-ember: #ff6b35;
  --text: #f5f1ed;
  --text-muted: #a8a29b;
  --border: rgba(245, 241, 237, 0.12);
  --success: #35d07f;

  /* cores — tela de revelação */
  --reveal-bg-a: #fbf6ed;
  --reveal-bg-b: #f3e6d8;
  --reveal-surface: #ffffff;
  --reveal-text: #2b241c;
  --reveal-text-muted: #7a6f5f;
  --reveal-gold: #c9a24b;
  --reveal-border: rgba(43, 36, 28, 0.1);

  --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container-w: 1120px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-elevated: 0 20px 60px rgba(0, 0, 0, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.55;
  overflow-x: hidden;
  min-height: 100vh;
}

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

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

button { font-family: inherit; cursor: pointer; }

ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); letter-spacing: 0.01em; }

p { margin: 0; }

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

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

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

/* =========================================================
   TELAS
   ========================================================= */

.screen {
  width: 100%;
  min-height: 100vh;
}

.screen.hidden { display: none !important; }

/* =========================================================
   BOTÕES
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease), opacity 0.18s var(--ease);
  min-height: 48px;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary-bright), var(--primary));
  color: #fff;
  box-shadow: 0 8px 24px rgba(200, 30, 58, 0.35);
}

.btn-primary:hover { filter: brightness(1.08); }

.btn-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
  filter: none;
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover { border-color: var(--text-muted); background: rgba(245, 241, 237, 0.04); }

.btn-lg { padding: 16px 30px; font-size: 1rem; }

.btn-block { width: 100%; }

.btn-header { display: none; }

@media (min-width: 900px) {
  .btn-header { display: inline-flex; }
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 9, 8, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.brand-mark { color: var(--primary-bright); flex-shrink: 0; }

.brand-text { display: flex; flex-direction: column; line-height: 1; }

.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.brand-sub {
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  color: var(--primary-bright);
  font-weight: 700;
  margin-top: 3px;
}

.main-nav { display: none; gap: 32px; }

.main-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.18s var(--ease);
}

.main-nav a:hover { color: var(--text); }

@media (min-width: 900px) {
  .main-nav { display: flex; }
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 900px) {
  .menu-toggle { display: none; }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 0;
  overflow: hidden;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  transition: max-height 0.28s var(--ease);
}

.mobile-menu.open { max-height: 320px; padding: 14px 20px 20px; }

.mobile-menu a {
  padding: 12px 4px;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.mobile-menu .btn { margin-top: 10px; }

@media (min-width: 900px) {
  .mobile-menu { display: none !important; }
}

.badge {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(200, 30, 58, 0.4);
  background: rgba(200, 30, 58, 0.1);
  color: #ff8a95;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.badge-gold {
  border-color: rgba(201, 162, 75, 0.45);
  background: rgba(201, 162, 75, 0.12);
  color: #e3c274;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 56px;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }

.hero-img { width: 100%; height: 100%; object-fit: cover; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,9,8,0.55) 0%, rgba(10,9,8,0.75) 55%, var(--background) 100%),
    linear-gradient(90deg, rgba(10,9,8,0.75) 0%, rgba(10,9,8,0.25) 60%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 90px;
}

.hero-title {
  font-size: clamp(2.4rem, 8vw, 4.6rem);
  line-height: 1.02;
  color: #fff;
  margin: 20px 0 18px;
  max-width: 15ch;
  text-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.hero-subtitle {
  max-width: 52ch;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.hero-indicators {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.hero-indicators li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-muted);
  font-weight: 600;
}

.hero-indicators .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(53, 208, 127, 0.6);
}

/* =========================================================
   SECTIONS — genérico
   ========================================================= */

.section { padding: 72px 0; }

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

.section-head { max-width: 640px; margin-bottom: 40px; }

.eyebrow {
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary-bright);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 4.4vw, 2.6rem);
  color: #fff;
  line-height: 1.08;
  margin-bottom: 14px;
}

.section-desc { color: var(--text-muted); font-size: 1rem; max-width: 60ch; }

.narrative { padding: 44px 0; }

.narrative-text {
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  color: #efe9e2;
  max-width: 46ch;
  line-height: 1.4;
  border-left: 3px solid var(--primary);
  padding-left: 20px;
}

/* =========================================================
   PROMO CARD
   ========================================================= */

.promo-card {
  position: relative;
  background: linear-gradient(160deg, var(--surface-light), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  box-shadow: var(--shadow-elevated);
  max-width: 640px;
  margin: 0 auto;
}

.promo-corner {
  position: absolute;
  width: 22px; height: 22px;
  border-color: var(--accent-ember);
  border-style: solid;
  border-width: 0;
  opacity: 0.85;
}

.promo-corner-tl { top: 14px; left: 14px; border-top-width: 3px; border-left-width: 3px; }
.promo-corner-tr { top: 14px; right: 14px; border-top-width: 3px; border-right-width: 3px; }
.promo-corner-bl { bottom: 14px; left: 14px; border-bottom-width: 3px; border-left-width: 3px; }
.promo-corner-br { bottom: 14px; right: 14px; border-bottom-width: 3px; border-right-width: 3px; }

.promo-title {
  font-size: clamp(1.7rem, 4.6vw, 2.3rem);
  color: #fff;
  margin: 18px 0 20px;
  line-height: 1.1;
}

.promo-price {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.price-old {
  color: var(--text-muted);
  text-decoration: line-through;
  font-size: 1.2rem;
}

.price-old small { font-size: 0.7rem; }

.price-new {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--primary-bright);
  line-height: 1;
}

.price-new small { font-family: var(--font-body); font-size: 1rem; color: var(--text-muted); }

.promo-text { color: var(--text-muted); margin-bottom: 24px; max-width: 50ch; }

.promo-progress { margin-bottom: 22px; }

.promo-progress-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(245,241,237,0.08);
  overflow: hidden;
  margin-bottom: 10px;
}

.promo-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent-ember));
  width: 0%;
  transition: width 1.1s var(--ease);
}

.promo-progress-label { font-size: 0.84rem; color: var(--text-muted); font-weight: 600; }

.promo-cta-text { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 22px; }

/* =========================================================
   MÉTODO — pilares
   ========================================================= */

.pillar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 40px;
}

@media (min-width: 640px) {
  .pillar-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1000px) {
  .pillar-grid { grid-template-columns: repeat(4, 1fr); }
}

.pillar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.pillar-card:hover { border-color: rgba(200,30,58,0.4); transform: translateY(-3px); }

.pillar-icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(200, 30, 58, 0.12);
  color: var(--primary-bright);
  margin-bottom: 16px;
}

.pillar-card h3 { font-family: var(--font-body); font-size: 1.05rem; color: #fff; margin-bottom: 8px; }

.pillar-card p { color: var(--text-muted); font-size: 0.92rem; }

.method-quote {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3.4vw, 1.9rem);
  color: #fff;
  letter-spacing: 0.01em;
  padding: 30px 10px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* =========================================================
   AUDIENCE
   ========================================================= */

.audience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 800px) {
  .audience-grid { grid-template-columns: repeat(3, 1fr); }
}

.audience-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 22px;
}

.audience-card h3 { font-family: var(--font-body); font-size: 1.05rem; color: #fff; margin-bottom: 10px; }

.audience-card p { color: var(--text-muted); font-size: 0.92rem; }

/* =========================================================
   ESTRUTURA
   ========================================================= */

.structure-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: center;
}

@media (min-width: 900px) {
  .structure-grid { grid-template-columns: 1fr 1fr; }
}

.structure-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--border);
}

.structure-media img { width: 100%; height: 100%; object-fit: cover; }

.structure-tag {
  position: absolute;
  bottom: 16px; left: 16px;
  background: rgba(10,9,8,0.75);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
}

.structure-list { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }

.structure-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.structure-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  background: var(--primary-bright);
  transform: rotate(45deg);
}

/* =========================================================
   LOCALIZAÇÃO
   ========================================================= */

.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: center;
}

@media (min-width: 900px) {
  .location-grid { grid-template-columns: 1fr 1fr; }
}

.location-address {
  font-style: normal;
  font-size: 1.1rem;
  color: #fff;
  font-weight: 700;
  margin: 14px 0;
  line-height: 1.5;
}

.location-feats {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.location-feats li {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

.location-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--background);
  aspect-ratio: 1/1;
}

/* =========================================================
   FORMULÁRIO
   ========================================================= */

.form-card {
  max-width: 560px;
  margin: 0 auto;
  background: linear-gradient(160deg, var(--surface-light), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 26px;
  box-shadow: var(--shadow-elevated);
}

.form-title {
  font-size: clamp(1.6rem, 4vw, 2rem);
  color: #fff;
  margin-bottom: 12px;
}

.form-desc { color: var(--text-muted); margin-bottom: 26px; }

.field { margin-bottom: 18px; }

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.field input {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(245, 241, 237, 0.04);
  color: var(--text);
  font-size: 1rem;
  font-family: var(--font-body);
  min-height: 50px;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
}

.field input::placeholder { color: #6b665f; }

.field input:focus {
  border-color: var(--primary-bright);
  background: rgba(245, 241, 237, 0.06);
  outline: none;
}

.field input[aria-invalid="true"] { border-color: var(--primary-bright); }

.field-error {
  display: block;
  min-height: 18px;
  color: #ff8a95;
  font-size: 0.82rem;
  margin-top: 6px;
  font-weight: 600;
}

.form-generic-error {
  min-height: 18px;
  color: #ff8a95;
  font-size: 0.86rem;
  font-weight: 600;
  margin-top: 14px;
  text-align: center;
}

.form-privacy {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.78rem;
  margin-top: 18px;
  line-height: 1.5;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 34px 0 48px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

@media (min-width: 700px) {
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: center; }
}

.footer-brand strong { display: block; color: #fff; font-size: 1rem; }
.footer-brand span { display: block; color: var(--text-muted); font-size: 0.82rem; margin-top: 4px; }

.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }

.footer-links button {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 4px 0;
}

.footer-links button:hover { color: var(--text); }

/* =========================================================
   PLACEHOLDER DE IMAGEM (fallback quando o arquivo não existe)
   ========================================================= */

.img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 24px;
  color: var(--text-muted);
  background:
    repeating-linear-gradient(135deg, rgba(245,241,237,0.03) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, #1c1917, #0f0d0b);
  border: 1px dashed var(--border);
}

.img-placeholder svg { color: var(--primary-bright); opacity: 0.8; }

.img-placeholder span {
  font-size: 0.82rem;
  font-weight: 600;
  max-width: 30ch;
}

.img-placeholder.placeholder-light {
  background:
    repeating-linear-gradient(135deg, rgba(43,36,28,0.03) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, #f3ece0, #fbf6ed);
  color: var(--reveal-text-muted);
  border-color: var(--reveal-border);
}

.img-placeholder.placeholder-light svg { color: var(--reveal-gold); }

/* =========================================================
   TELA 2 — CARREGAMENTO
   ========================================================= */

#loadingScreen {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 20px;
  background:
    radial-gradient(circle at 50% 20%, rgba(200,30,58,0.12), transparent 60%),
    var(--background);
}

.loading-inner {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.round-timer {
  position: relative;
  width: 180px; height: 180px;
  margin-bottom: 28px;
}

.round-timer svg { transform: rotate(-90deg); }

#progressRing { transition: stroke-dashoffset 0.35s var(--ease); }

.round-timer-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.round-timer-center span#progressPercent {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: #fff;
}

.round-timer-label {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}

.loading-title {
  font-size: clamp(1.4rem, 5vw, 1.8rem);
  color: #fff;
  margin-bottom: 10px;
}

.loading-subtitle { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 30px; }

.progress-track {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(245,241,237,0.08);
  overflow: hidden;
  margin-bottom: 30px;
}

.progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--primary-bright));
  transition: width 0.5s var(--ease);
}

.loading-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  text-align: left;
}

.loading-step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
  opacity: 0;
  transform: translateY(6px);
  animation: stepIn 0.4s var(--ease) forwards;
}

@keyframes stepIn {
  to { opacity: 1; transform: translateY(0); }
}

.loading-step.done { color: var(--text); }

.loading-step-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.loading-step.done .loading-step-icon {
  background: var(--success);
  border-color: var(--success);
}

.loading-step-icon svg { width: 12px; height: 12px; opacity: 0; transition: opacity 0.15s var(--ease); }

.loading-step.done .loading-step-icon svg { opacity: 1; }

.loading-final {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--primary-bright);
  letter-spacing: 0.02em;
  min-height: 1.5em;
}

/* =========================================================
   TELA 3 — REVELAÇÃO
   ========================================================= */

#revealScreen {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--reveal-bg-a), var(--reveal-bg-b) 60%);
  color: var(--reveal-text);
  padding: 60px 20px 80px;
  transition: background 0.6s var(--ease);
}

.reveal-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.reveal-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.reveal-teaser {
  font-size: clamp(1.2rem, 4.6vw, 1.6rem);
  font-weight: 700;
  color: var(--reveal-text);
  max-width: 22ch;
  margin: 40px auto;
  line-height: 1.4;
  animation: fadeUp 0.7s var(--ease);
}

.reveal-main.hidden { display: none; }

.reveal-congrats {
  font-size: 1.1rem;
  color: var(--reveal-text-muted);
  font-weight: 700;
  margin-bottom: 6px;
  animation: fadeUp 0.6s var(--ease);
}

#revealName { color: var(--primary); }

.reveal-message {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 9vw, 3.6rem);
  color: var(--reveal-text);
  line-height: 1.05;
  margin-bottom: 34px;
  animation: fadeUp 0.7s var(--ease) 0.1s both;
}

.ultrasound-card {
  margin: 0 auto 34px;
  max-width: 380px;
  animation: fadeUp 0.8s var(--ease) 0.2s both;
}

.ultrasound-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: var(--reveal-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(43, 36, 28, 0.18);
  border: 1px solid var(--reveal-border);
}

.ultrasound-btn img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.ultrasound-card figcaption {
  margin-top: 12px;
  font-size: 0.88rem;
  color: var(--reveal-text-muted);
  font-style: italic;
}

.reveal-letter {
  text-align: left;
  background: var(--reveal-surface);
  border: 1px solid var(--reveal-border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  margin-bottom: 30px;
  box-shadow: 0 18px 40px rgba(43,36,28,0.1);
}

.reveal-letter p {
  color: var(--reveal-text);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.reveal-letter-highlight {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--primary);
  line-height: 1.3 !important;
}

.reveal-letter-signature {
  color: var(--reveal-text-muted) !important;
  font-style: italic;
  margin-bottom: 0 !important;
}

.reveal-closing {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--reveal-text);
  max-width: 40ch;
  margin: 0 auto 34px;
  line-height: 1.5;
}

.athlete-card {
  background: var(--reveal-surface);
  border: 1px solid var(--reveal-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 34px;
  text-align: left;
  box-shadow: 0 18px 40px rgba(43,36,28,0.1);
}

.athlete-card-eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--reveal-gold);
  margin-bottom: 16px;
}

.athlete-card dl { display: flex; flex-direction: column; gap: 10px; }

.athlete-card dl > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--reveal-border);
  font-size: 0.9rem;
}

.athlete-card dl > div:last-child { border-bottom: none; padding-bottom: 0; }

.athlete-card dt { color: var(--reveal-text-muted); font-weight: 600; }

.athlete-card dd { margin: 0; font-weight: 700; color: var(--reveal-text); text-align: right; }

.reveal-actions { display: flex; flex-direction: column; gap: 14px; }

.reveal-actions .btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.reveal-actions-row { display: flex; gap: 12px; }

.reveal-actions-row .btn {
  flex: 1;
  border-color: var(--reveal-border);
  color: var(--reveal-text);
}

.reveal-actions-row .btn:hover { background: rgba(43,36,28,0.05); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   CONFETE / PARTÍCULAS
   ========================================================= */

#confettiCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 999;
}

/* =========================================================
   MODAIS
   ========================================================= */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 9, 8, 0.72);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.2s var(--ease);
}

.modal-overlay.hidden { display: none !important; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: 86vh;
  overflow-y: auto;
  background: var(--surface-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  box-shadow: var(--shadow-elevated);
  animation: modalIn 0.24s var(--ease);
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal h2 { font-size: 1.3rem; color: #fff; margin-bottom: 14px; font-family: var(--font-body); }

.modal p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

.modal-image {
  padding: 14px;
  max-width: 520px;
  background: var(--reveal-surface);
}

.modal-image img { width: 100%; border-radius: var(--radius-md); }

.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(245,241,237,0.05);
  color: var(--text);
  font-size: 1.3rem;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}

.modal-image .modal-close {
  background: rgba(10,9,8,0.55);
  color: #fff;
  border-color: transparent;
}

/* =========================================================
   REDUÇÃO DE MOVIMENTO
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
