/* ============================================ */
/* ROOT VARIÁVEIS - IDENTIDADE VISUAL           */
/* ============================================ */
:root {
  --gold:        #C9922A;
  --gold-mid:    #E8B84B;
  --gold-light:  #F7D07A;
  --bg:          #040404;
  --bg-soft:     #0C0C0C;
  --bg-card:     #0F0F0F;
  --text:        #EFEFEF;
  --muted:       #888;
  --border:      rgba(200,146,42,.18);
}

*, *::before, *::after { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}

html { 
  scroll-behavior: smooth; 
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  font-size: 16px;
}

/* ============================================ */
/* TIPOGRAFIA E UTILITÁRIOS                     */
/* ============================================ */
.serif { 
  font-family: 'Cormorant Garamond', Georgia, serif; 
}

.gold-text { 
  color: var(--gold-light); 
}

.gold-gradient {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================ */
/* BOTÕES                                       */
/* ============================================ */
.gold-btn {
  position: relative;
  background: linear-gradient(135deg, var(--gold), var(--gold-mid), var(--gold-light));
  color: #000;
  font-weight: 800;
  letter-spacing: .04em;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  box-shadow: 0 8px 32px rgba(200,146,42,.3), 0 0 0 1px rgba(200,146,42,.2);
  cursor: pointer;
  border: none;
}

.gold-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 48px rgba(200,146,42,.4), 0 0 0 1px rgba(200,146,42,.3);
}

.gold-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.outline-btn {
  border: 1px solid rgba(200,146,42,.35);
  color: rgba(240,200,100,.85);
  background: transparent;
  backdrop-filter: blur(8px);
  transition: all .25s;
}

.outline-btn:hover {
  border-color: rgba(200,146,42,.7);
  background: rgba(200,146,42,.06);
  color: var(--gold-light);
}

/* ============================================ */
/* CARDS                                        */
/* ============================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efeito hover apenas em desktop */
@media (min-width: 1024px) {
  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  }
}

/* ============================================ */
/* BADGE                                        */
/* ============================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 1px solid rgba(200,146,42,.3);
  background: rgba(200,146,42,.07);
  backdrop-filter: blur(12px);
  color: var(--gold-light);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .45rem 1.1rem;
  border-radius: 999px;
}

.badge-dot {
  width: 6px; 
  height: 6px;
  background: var(--gold-mid);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.8); }
}

/* ============================================ */
/* REVEAL ANIMATION                             */
/* ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .75s ease, transform .75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================ */
/* GLOW EFFECTS                                 */
/* ============================================ */
.glow-top {
  position: absolute;
  top: -320px; 
  left: 50%; 
  transform: translateX(-50%);
  width: 900px; 
  height: 700px;
  background: radial-gradient(ellipse at center, rgba(200,146,42,.14), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}

.glow-corner {
  position: absolute;
  bottom: -200px; 
  right: -100px;
  width: 500px; 
  height: 500px;
  background: radial-gradient(circle, rgba(200,146,42,.07), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

/* Noise texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
  opacity: .4;
  pointer-events: none;
  z-index: 9999;
}

/* ============================================ */
/* HERO TITLE                                   */
/* ============================================ */
.hero-h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.02em;
}

/* ============================================ */
/* SECTION LABEL                                */
/* ============================================ */
.section-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-mid);
}

/* ============================================ */
/* INPUT FIELDS                                 */
/* ============================================ */
.input-field {
  background: rgba(15,15,15,0.8);
  border: 1px solid rgba(200,146,42,.2);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  width: 100%;
  color: white;
  transition: all 0.2s;
}

.input-field:focus {
  outline: none;
  border-color: rgba(200,146,42,.6);
  box-shadow: 0 0 0 2px rgba(200,146,42,.1);
}

.input-field::placeholder {
  color: #555;
}

/* ============================================ */
/* SCROLL LINE ANIMATION                        */
/* ============================================ */
.scroll-line {
  width: 1px; 
  height: 60px;
  background: linear-gradient(to bottom, var(--gold-mid), transparent);
  margin: 0 auto;
  animation: scroll-drop 2s ease-in-out infinite;
}

@keyframes scroll-drop {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================ */
/* FAQ ACCORDION                                */
/* ============================================ */
.faq-btn {
  background: transparent;
  border: none;
  cursor: pointer;
}

.faq-icon {
  color: var(--gold-mid);
  font-size: 0.75rem;
  transition: transform 0.3s;
}

.faq-body {
  display: none;
  border-top: 1px solid rgba(200,146,42,.1);
  margin-top: 0.5rem;
  padding-top: 1rem;
}

/* ============================================ */
/* FOOTER LINKS                                 */
/* ============================================ */
.back-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--gold-light);
}

/* ============================================ */
/* ANIMAÇÃO DE SPIN PARA LOADING                */
/* ============================================ */
@keyframes spin {
  to { transform: rotate(360deg); }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

/* ============================================ */
/* AJUSTES PARA DESKTOP - TEXTOS MAIORES        */
/* ============================================ */

/* Desktop médio (acima de 1280px) */
@media (min-width: 1280px) {
  body {
    font-size: 18px;
  }
  
  .hero-h1 {
    font-size: 4.5rem !important;
  }
  
  .hero-h1 .gold-text.italic {
    font-size: 2.2rem !important;
  }
  
  .section-label {
    font-size: 0.85rem;
  }
  
  .card p.serif.text-xl {
    font-size: 1.5rem !important;
  }
  
  .text-zinc-400, 
  .text-zinc-500, 
  .text-zinc-600 {
    font-size: 1.05rem;
  }
  
  .input-field {
    padding: 1.2rem 1.5rem;
    font-size: 1rem;
  }
  
  .gold-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
  
  .badge {
    font-size: 0.85rem;
    padding: 0.6rem 1.5rem;
  }
  
  .faq-btn span:first-child {
    font-size: 1.1rem;
  }
  
  .faq-body p {
    font-size: 1rem;
  }
}

/* Desktop grande (acima de 1600px) */
@media (min-width: 1600px) {
  .hero-h1 {
    font-size: 5.2rem !important;
  }
  
  .hero-h1 .gold-text.italic {
    font-size: 2.6rem !important;
  }
  
  .max-w-4xl, 
  .max-w-5xl, 
  .max-w-3xl {
    max-width: 1400px;
  }
  
  .card p.serif.text-xl {
    font-size: 1.7rem !important;
  }
}

/* Ajuste para telas entre 1024px e 1280px */
@media (min-width: 1024px) and (max-width: 1279px) {
  .hero-h1 {
    font-size: 3.8rem !important;
  }
  
  .hero-h1 .gold-text.italic {
    font-size: 1.8rem !important;
  }
  
  .text-zinc-400, 
  .text-zinc-500 {
    font-size: 1rem;
  }
}

/* Ajuste para telas menores (celular) - mantém o que já estava bom */
@media (max-width: 767px) {
  .hero-h1 {
    font-size: clamp(2.2rem, 6vw, 2.8rem) !important;
  }
  
  .hero-h1 .gold-text.italic {
    font-size: 1.4rem !important;
  }
  
  .card {
    padding: 1.25rem !important;
  }
  
  .gold-btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
  }
}

/* ============================================ */
/* MELHORIAS DE ESPAÇAMENTO PARA DESKTOP        */
/* ============================================ */
@media (min-width: 1024px) {
  .reveal.py-28 {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
  
  .py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
  
  .py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

/* ============================================ */
/* ESTILO PARA ERRO DE CONFIRMAÇÃO DE E-MAIL    */
/* ============================================ */
.input-error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.1) !important;
}

/* ============================================ */
/* OTIMIZAÇÕES DE ACESSIBILIDADE               */
/* ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}