/* ==========================================================================
   30 Dias de Orações pelo Meu Casamento - Main Styles & Design System
   ========================================================================== */

:root {
  /* Paleta de Cores Premium & Feminina */
  --color-primary: #B86B77;         /* Rosé queimado principal */
  --color-primary-hover: #A35764;   /* Rosé mais escuro para hover */
  --color-primary-light: #F4EAEB;   /* Rosé suave para fundos de destaque */
  --color-primary-border: #E8D0D4;  /* Borda sutil rosé */
  
  --color-terracotta: #C27D66;      /* Terracota suave */
  --color-terracotta-dark: #A9634D; /* Terracota escuro */
  --color-terracotta-light: #F9EFEA;/* Fundo sutil terracota */

  --color-gold: #C5A059;            /* Dourado sofisticado */
  --color-gold-light: #FDF7E7;      /* Fundo dourado suave */
  --color-gold-border: #E6D3A3;     /* Borda dourada suave */
  --color-gold-dark: #9A762E;       /* Dourado escuro para texto */

  --color-sage: #6B8268;            /* Verde sálvia botânico suave */
  --color-sage-light: #EEF3EE;      /* Fundo sálvia para checks */

  /* Tons Neutros & Fundos Quentes */
  --bg-page: #FAF7F2;               /* Creme/Bege acolhedor principal */
  --bg-page-alt: #F3ECE2;           /* Creme suave alternativo */
  --bg-card: #FFFFFF;               /* Branco puro para contraste de cards */
  --bg-card-warm: #FFFDF9;          /* Branco quente */
  
  /* Tipografia & Contrastes */
  --text-main: #362521;             /* Marrom café profundo (substitui o preto duro) */
  --text-muted: #6B5B56;            /* Marrom médio elegante para subtítulos e parágrafos */
  --text-light: #948580;            /* Marrom suave para legendas */
  --text-inverse: #FFFFFF;          /* Branco puro sobre botões escuros */
  
  /* Bordas e Sombras Suaves */
  --border-subtle: #EBE1D5;
  --border-card: rgba(184, 107, 119, 0.15);
  --shadow-sm: 0 2px 8px rgba(61, 39, 33, 0.04);
  --shadow-md: 0 8px 24px rgba(61, 39, 33, 0.08);
  --shadow-lg: 0 16px 40px rgba(61, 39, 33, 0.12);
  --shadow-primary: 0 10px 25px rgba(184, 107, 119, 0.35);
  --shadow-gold: 0 8px 20px rgba(197, 160, 89, 0.3);

  /* Tipografia */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Espaçamento e Transições */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  /* Container */
  --container-max-width: 1120px;
  --container-narrow: 840px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.65;
  overflow-x: hidden;
  font-weight: 400;
}

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

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

button, input {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* Utilitários de Layout */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  padding-top: 80px;
  padding-bottom: 80px;
  position: relative;
}

.section-alt {
  background-color: var(--bg-page-alt);
}

.section-warm {
  background: linear-gradient(180deg, var(--bg-page) 0%, var(--bg-page-alt) 100%);
}

.text-center {
  text-align: center;
}

/* Tipografia Global */
h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 16px;
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.65rem);
}

p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section-subtitle {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 48px auto;
}

/* Badges e Tags */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.badge-pill-rose {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  border: 1px solid var(--color-primary-border);
}

.badge-pill-gold {
  background-color: var(--color-gold-light);
  color: var(--color-gold-dark);
  border: 1px solid var(--color-gold-border);
}

.badge-pill-terracotta {
  background-color: var(--color-terracotta-light);
  color: var(--color-terracotta-dark);
  border: 1px solid rgba(194, 125, 102, 0.3);
}

/* Botões de Ação de Alta Conversão (CTAs) */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 440px;
  padding: 18px 32px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-terracotta) 100%);
  color: var(--text-inverse);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-primary);
  transition: all var(--transition-normal);
  text-align: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: 0.6s;
}

.btn-cta:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 14px 30px rgba(184, 107, 119, 0.45);
}

.btn-cta:hover::after {
  left: 100%;
}

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

.btn-cta-lg {
  padding: 22px 36px;
  font-size: 1.25rem;
}

.btn-cta .btn-icon {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
}

.btn-cta:hover .btn-icon {
  transform: translateX(4px);
}

/* Micro-Selos de Confiança */
.trust-badges-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trust-item .check-icon {
  color: var(--color-sage);
  font-weight: 700;
}

/* Animações Sutis */
@keyframes pulseSubtle {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

.animate-pulse-slow {
  animation: pulseSubtle 3s infinite ease-in-out;
}

/* ==========================================================================
   Efeitos Elegantes de Revelação ao Rolar a Página (Scroll Reveal)
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-scale {
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* Estado Ativado ao Entrar na Tela */
.reveal-on-scroll.is-revealed,
.reveal-scale.is-revealed,
.reveal-left.is-revealed,
.reveal-right.is-revealed {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* Delays Escalonados para Efeito Cascata Natural */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }
