@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0');

:root {
  --bg:              #0C0C0E;
  --surface:         #141417;
  --surface-raised:  #1C1C21;
  --border:          rgba(255, 255, 255, 0.07);
  --text:            #F0F0F3;
  --text-secondary:  #8A8A96;
  --text-muted:      #55555F;
  --accent:          #3B7EF8;
  --green:           #16A34A;
  --green-hover:     #15803D;
  --whatsapp:        #25D366;
  --whatsapp-hover:  #1EB458;
  --radius-sm:       6px;
  --radius:          10px;
  --radius-lg:       16px;
  --max-w:           720px;
  --transition:      0.2s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── Layout ──────────────────────────────────────────────────────────────── */

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.header-badge {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--surface-raised);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 100px;
}

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 56px 24px 96px;
  gap: 32px;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

/* ── Texto acima do vídeo ─────────────────────────────────────────────────── */

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
}

.headline {
  font-size: clamp(1.5rem, 4.5vw, 2.25rem);
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.headline em {
  font-style: normal;
  color: var(--text-secondary);
  font-weight: 400;
}

/* ── Player ──────────────────────────────────────────────────────────────── */

.player-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
}

.player-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(0, 0, 0, 0.52);
  cursor: pointer;
  transition: opacity var(--transition), visibility var(--transition);
  z-index: 2;
}

.play-overlay[hidden] {
  display: none;
}

.play-btn {
  all: unset;
  cursor: pointer;
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  transition: background var(--transition), transform var(--transition), border-color var(--transition);
}

.play-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.45);
  transform: scale(1.06);
}

.play-btn .material-symbols-outlined {
  font-size: 38px;
  color: #fff;
}

.overlay-hint {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.03em;
}

/* Barra de progresso customizada (apenas estética) */
.video-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 3;
}

.video-progress-fill {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 0.5s linear;
}

/* ── CTA section ─────────────────────────────────────────────────────────── */

.cta-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.cta-section.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cta-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background var(--transition), transform 0.1s;
  white-space: nowrap;
}

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

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  font-size: 1.05rem;
  padding: 17px 36px;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover { background: var(--whatsapp-hover); }

.btn-whatsapp .material-symbols-outlined { font-size: 22px; }

.cta-note {
  font-size: 0.73rem;
  color: var(--text-muted);
  text-align: center;
}

/* Aviso enquanto CTA não apareceu */
.watch-prompt {
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-align: center;
  display: flex;
  align-items: center;
  gap: 6px;
}

.watch-prompt .material-symbols-outlined {
  font-size: 16px;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */

.footer {
  border-top: 1px solid var(--border);
  padding: 24px;
  text-align: center;
  font-size: 0.73rem;
  color: var(--text-muted);
}

/* ── Responsivo ──────────────────────────────────────────────────────────── */

@media (max-width: 480px) {
  .main { padding: 40px 16px 72px; gap: 24px; }
  .headline { font-size: 1.4rem; }
  .btn-whatsapp { font-size: 0.95rem; padding: 15px 24px; }
}
