/* ==========================================================================
   DESIGN SYSTEM & ESTILOS PRINCIPAIS — EVANGELISMO DE SEGUNDA A SEXTA
   ========================================================================== */

:root {
  /* Paleta de Cores Primária (Midnight & Navy) */
  --bg-primary: #090d16;
  --bg-secondary: #0f172a;
  --bg-card: rgba(17, 24, 39, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-glass-strong: rgba(255, 255, 255, 0.07);

  /* Cores de Acento & Conversão (Ouro / Âmbar Caloroso) */
  --accent-gold: #f59e0b;
  --accent-gold-light: #fbbf24;
  --accent-gold-hover: #d97706;
  --gold-gradient: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  --gold-glow: rgba(245, 158, 11, 0.28);
  --gold-subtle: rgba(245, 158, 11, 0.12);

  /* Cores de Confiança & Validação (Esmeralda & Céu) */
  --emerald-500: #10b981;
  --emerald-400: #34d399;
  --emerald-glow: rgba(16, 185, 129, 0.25);
  --emerald-subtle: rgba(16, 185, 129, 0.12);
  --sky-400: #38bdf8;
  --sky-subtle: rgba(56, 189, 248, 0.1);

  /* Tons Neutros & Tipografia */
  --text-white: #ffffff;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Bordas e Divisores */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.15);
  --border-gold: rgba(245, 158, 11, 0.4);
  --border-emerald: rgba(16, 185, 129, 0.4);

  /* Sombras e Efeitos */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 10px 30px rgba(245, 158, 11, 0.35);

  /* Tipografia */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Espaçamento e Layout */
  --container-width: 1140px;
  --container-narrow: 840px;
  --section-padding-y: clamp(3.5rem, 8vw, 6rem);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transições */
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET & PADRÕES GLOBAIS
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  line-height: 1.65;
  background: radial-gradient(circle at 50% 0%, #172554 0%, var(--bg-primary) 65%);
  background-attachment: fixed;
  color: var(--text-secondary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Tipografia Base */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-white);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

p {
  margin-bottom: 1.25rem;
}

p:last-child {
  margin-bottom: 0;
}

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

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

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

/* Contêineres */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 4vw, 2rem);
  padding-right: clamp(1rem, 4vw, 2rem);
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 4vw, 2rem);
  padding-right: clamp(1rem, 4vw, 2rem);
}

/* Seções */
.section {
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
  position: relative;
}

.section-alt {
  background-color: rgba(15, 23, 42, 0.45);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

/* Cabeçalhos de Seção */
.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: var(--gold-subtle);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  color: var(--accent-gold-light);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.section-badge.badge-emerald {
  background: var(--emerald-subtle);
  border-color: var(--border-emerald);
  color: var(--emerald-400);
}

.section-title {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.highlight-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.highlight-emerald {
  color: var(--emerald-400);
}

/* ==========================================================================
   BOTÕES DE AÇÃO (CTAs DE ALTA CONVERSÃO)
   ========================================================================== */

.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1rem, 2vw, 1.15rem);
  text-align: center;
  padding: 1.125rem 2rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  line-height: 1.25;
  width: 100%;
  max-width: 540px;
}

.btn-cta {
  background: var(--gold-gradient);
  color: #1a1001;
  box-shadow: var(--shadow-gold), 0 0 0 1px rgba(255, 255, 255, 0.25) inset;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-cta:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 16px 36px rgba(245, 158, 11, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.4) inset;
  color: #0b0600;
}

.btn-cta:active {
  transform: translateY(-1px) scale(0.99);
}

/* Efeito Shimmer no Botão */
.btn-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transform: skewX(-22deg);
  animation: btnShimmer 3.8s infinite;
}

@keyframes btnShimmer {
  0%, 70% {
    left: -120%;
  }
  100% {
    left: 140%;
  }
}

.btn-cta-main {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
}

.btn-cta-subtext {
  display: block;
  font-size: 0.775rem;
  font-weight: 600;
  opacity: 0.9;
  letter-spacing: 0.02em;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Animação suave de pulso para botões de compra */
.btn-pulse {
  animation: ctaPulse 2.8s infinite;
}

@keyframes ctaPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(245, 158, 11, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
  }
}

/* ==========================================================================
   CARD BASE & GLASSMORPHISM
   ========================================================================== */

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-card:hover {
  border-color: var(--border-medium);
}

.glass-card.highlight-card {
  border-color: var(--border-gold);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
  box-shadow: 0 12px 36px rgba(245, 158, 11, 0.12), var(--shadow-md);
}

/* Selo de Garantia e Confiança */
.trust-badge-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.trust-item svg {
  color: var(--emerald-400);
}

/* ==========================================================================
   ACESSIBILIDADE E UTILITÁRIOS
   ========================================================================== */

:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 3px;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}
