/* ═══════════════════════════════════════════════════════════════
   G.GOMES DAY 2026 — LANDING PAGE STYLES
   Design System: Dark + Brand Green (#196420)
   ═══════════════════════════════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
  --brand-primary: #196420;
  --brand-dim: #114516;
  --bg-page: #030303;
  --bg-section-alt: #050505;
  --bg-card: #0A0A0A;
  --text-heading: #ffffff;
  --text-body: #e5e5e5;
  --text-secondary: #a3a3a3;
  --text-muted: #737373;
  --border-subtle: rgba(255, 255, 255, 0.05);
  --border-light: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.1);
  --grid-subtle: rgba(25, 100, 32, 0.08);
}

/* ── Base Reset & Typography ── */
body {
  background-color: var(--bg-page);
  color: var(--text-body);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
}

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

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

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-primary); }


/* ═══════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */

/* Scroll Reveal */
@keyframes animationIn {
  0% { opacity: 0; transform: translate3d(0, 30px, 0); filter: blur(8px); }
  100% { opacity: 1; transform: translate3d(0, 0, 0); filter: blur(0px); }
}
.animate-on-scroll {
  opacity: 0;
  will-change: transform, opacity, filter;
}
.animate-on-scroll.animate {
  animation: animationIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* Text Glow */
@keyframes text-brand-glow {
  0%, 100% { text-shadow: 0 0 15px rgba(25, 100, 32, 0.4); color: #114516; }
  50% { text-shadow: 0 0 40px rgba(25, 100, 32, 0.9), 0 0 60px rgba(25, 100, 32, 0.5); color: #2ea82e; }
}
.animate-brand-glow { animation: text-brand-glow 1.5s ease-in-out infinite; }

/* Beam Spin */
@keyframes beam-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Infinite Scroll Marquee */
@keyframes loop-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}
.animate-loop-scroll {
  animation: loop-scroll 40s linear infinite;
}
.animate-loop-scroll-reverse {
  animation: loop-scroll 45s linear infinite reverse;
}

/* Icon Pop on Hover */
@keyframes lottie-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.2) rotate(5deg); }
  70% { transform: scale(0.9) rotate(-3deg); }
  100% { transform: scale(1) rotate(0); }
}

/* Pulse */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(25, 100, 32, 0.1); }
  50% { box-shadow: 0 0 40px rgba(25, 100, 32, 0.3); }
}

/* Float */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Process Line */
@keyframes flow-line {
  0% { background-position: 0% 0%; }
  100% { background-position: 0% 200%; }
}
.process-line {
  background: linear-gradient(to bottom, rgba(255,255,255,0.05), rgba(25, 100, 32, 0.5), rgba(255,255,255,0.05));
  background-size: 100% 200%;
  animation: flow-line 3s linear infinite;
}


/* ═══════════════════════════════════════════════════════════════
   BUTTON COMPONENTS
   ═══════════════════════════════════════════════════════════════ */

/* Primary CTA — Shiny */
.shiny-cta {
  position: relative;
  padding: 0.75rem 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #ffffff;
  background-color: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: 9999px;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
}
.shiny-cta:hover {
  border-color: rgba(25, 100, 32, 0.4);
  box-shadow: 0 0 15px rgba(25, 100, 32, 0.15);
  transform: translateY(-1px);
}
.shiny-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.05), transparent);
  transform: skewX(-20deg);
  transition: 0.5s;
  pointer-events: none;
  z-index: -1;
}
.shiny-cta:hover::before { left: 200%; transition: 0.7s; }

/* CTA Verde Forte */
.cta-green {
  position: relative;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, #196420, #1a7a24);
  border: 1px solid rgba(25, 100, 32, 0.6);
  border-radius: 9999px;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(25, 100, 32, 0.3);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.02em;
}
.cta-green:hover {
  box-shadow: 0 0 30px rgba(25, 100, 32, 0.5);
  transform: translateY(-2px) scale(1.02);
}
.cta-green::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: skewX(-20deg);
  transition: 0.6s;
  pointer-events: none;
  z-index: -1;
}
.cta-green:hover::before { left: 200%; transition: 0.8s; }

/* Secondary */
.btn-secondary {
  position: relative;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  color: white;
  border-color: rgba(255,255,255,0.15);
}


/* ═══════════════════════════════════════════════════════════════
   PILL / BADGE COMPONENTS
   ═══════════════════════════════════════════════════════════════ */

.apple-glass-pill {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 20px -1px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(255,255,255,0.02);
  border-radius: 9999px;
  z-index: 10;
  transition: all 0.3s ease;
}
.pill-wrapper {
  position: relative;
  display: inline-flex;
  border-radius: 9999px;
  z-index: 20;
}
.beam-ring {
  position: absolute;
  inset: -1px;
  border-radius: 9999px;
  padding: 1px;
  background: conic-gradient(from 0deg, transparent 0deg, transparent 90deg, #196420 180deg, transparent 270deg, transparent 360deg);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
  animation: beam-spin 4s linear infinite;
  pointer-events: none;
  z-index: 0;
}
.pill-wrapper:hover .beam-ring { opacity: 1; }


/* ═══════════════════════════════════════════════════════════════
   CARD COMPONENTS
   ═══════════════════════════════════════════════════════════════ */

/* Service / Theme Card */
.service-card {
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.service-card:hover .icon-wrapper iconify-icon {
  animation: lottie-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  color: #196420;
}

/* Speaker Placeholder Card */
.speaker-card {
  position: relative;
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  background: rgba(255,255,255,0.02);
  overflow: hidden;
  transition: all 0.4s ease;
}
.speaker-card:hover {
  border-color: rgba(25, 100, 32, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.speaker-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #0a0a0a 0%, #111 50%, #0a0a0a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.speaker-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(25,100,32,0.08) 0%, transparent 70%);
}
.speaker-placeholder .silhouette {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  border: 2px dashed rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(25, 100, 32, 0.4);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  transition: all 0.3s ease;
}
.speaker-card:hover .silhouette {
  border-color: rgba(25, 100, 32, 0.3);
  color: rgba(25, 100, 32, 0.7);
  transform: scale(1.05);
}
.speaker-info {
  padding: 1.5rem;
  text-align: center;
}


/* ═══════════════════════════════════════════════════════════════
   BACKGROUND PATTERNS
   ═══════════════════════════════════════════════════════════════ */

.global-page-grid {
  position: fixed;
  inset: 0;
  z-index: -30;
  background-size: 60px 60px;
  background-image:
    linear-gradient(to right, var(--grid-subtle) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-subtle) 1px, transparent 1px);
  pointer-events: none;
  opacity: 1;
}

.perspective-grid {
  background-size: 50px 50px;
  background-image:
    linear-gradient(to right, rgba(25, 100, 32, 0.4) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(25, 100, 32, 0.4) 1px, transparent 1px);
  mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
  pointer-events: none;
  filter: drop-shadow(0 0 5px rgba(25, 100, 32, 0.5));
}
.mask-fade-x {
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.card-grid-bg {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}


/* ═══════════════════════════════════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════════════════════════════════ */

.section-header {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 4rem;
}
.section-header h2 {
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  font-weight: 600;
  color: var(--text-heading);
  letter-spacing: -0.025em;
  flex-shrink: 0;
}
.section-header h2 span {
  color: var(--brand-primary);
}
.section-header .line {
  height: 1px;
  background: linear-gradient(to right, var(--border-medium), var(--border-subtle));
  flex-grow: 1;
  margin: 0 1.5rem;
}
.section-header .icon-circle {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: all 0.3s ease;
  cursor: pointer;
}
.section-header .icon-circle:hover {
  color: var(--text-heading);
  border-color: rgba(255,255,255,0.3);
}


/* ═══════════════════════════════════════════════════════════════
   FORM — CARD DESTACADO
   ═══════════════════════════════════════════════════════════════ */

.form-card {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  border-radius: 1.5rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  transition: all 0.4s ease;
}
.form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--brand-primary), transparent);
  opacity: 0.6;
}
.form-card:hover {
  border-color: rgba(25, 100, 32, 0.3);
  box-shadow: 0 0 60px rgba(25, 100, 32, 0.08);
}

.form-card .form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  color: var(--text-heading);
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
  outline: none;
}
.form-card .form-input::placeholder {
  color: #525252;
}
.form-card .form-input:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(25, 100, 32, 0.1);
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem 0;
}
.form-success.show {
  display: block;
}
.form-success .check-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(25, 100, 32, 0.15);
  border: 2px solid var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--brand-primary);
}


/* ═══════════════════════════════════════════════════════════════
   BIG TYPOGRAPHY SECTION (G.GOMES DAY)
   ═══════════════════════════════════════════════════════════════ */

.big-type-section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5rem 0;
  position: relative;
}
.big-type-section h2 {
  font-size: clamp(3rem, 14vw, 16vw);
  line-height: 0.85;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: 0.1em;
  z-index: 10;
  font-family: 'Space Grotesk', sans-serif;
  user-select: none;
  flex-wrap: wrap;
  justify-content: center;
}
.big-type-section .badge-circle {
  position: relative;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  margin: 0 -0.1em;
  z-index: 20;
}
.badge-circle .spinner {
  position: absolute;
  inset: 0;
  animation: beam-spin 12s linear infinite;
}
.badge-circle .center-dot {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.badge-circle .center-dot > div {
  width: 40%;
  height: 40%;
  background: var(--brand-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.15em;
}


/* ═══════════════════════════════════════════════════════════════
   TESTIMONIAL CARDS
   ═══════════════════════════════════════════════════════════════ */

.testimonial-card {
  width: 350px;
  padding: 1.5rem;
  background: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.testimonial-card:hover {
  border-color: rgba(25, 100, 32, 0.4);
  transform: translateY(-2px);
}


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .form-card {
    padding: 2rem 1.5rem;
    margin: 0 1rem;
  }
  
  .big-type-section h2 {
    font-size: clamp(2.5rem, 12vw, 6rem);
  }
  
  .badge-circle {
    display: none !important;
  }

  .speaker-placeholder .silhouette {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .testimonial-card {
    width: 300px;
  }
}


/* ═══════════════════════════════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════════════════════════════ */

/* 3D Transform utilities */
.perspective-none { perspective: none !important; }
.perspective-dramatic { perspective: 100px !important; }
.perspective-near { perspective: 300px !important; }
.perspective-normal { perspective: 500px !important; }
.perspective-midrange { perspective: 800px !important; }
.perspective-distant { perspective: 1200px !important; }
.transform-style-preserve-3d { transform-style: preserve-3d !important; }
.transform-style-flat { transform-style: flat !important; }

/* Countdown (future use) */
.countdown-item {
  text-align: center;
  min-width: 70px;
}
.countdown-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-heading);
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1;
}
.countdown-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 0.5rem;
}


/* ═══════════════════════════════════════════════════════════════
   VENUE / LOCAL DO EVENTO
   ═══════════════════════════════════════════════════════════════ */

.venue-info-card {
  position: relative;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  border-radius: 1.5rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  transition: all 0.4s ease;
}
.venue-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--brand-primary), transparent);
  opacity: 0.5;
}
.venue-info-card:hover {
  border-color: rgba(25, 100, 32, 0.3);
  box-shadow: 0 0 60px rgba(25, 100, 32, 0.06);
}

.venue-photo-card {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--border-light);
  min-height: 380px;
  transition: all 0.4s ease;
}
.venue-photo-card:hover {
  border-color: rgba(25, 100, 32, 0.3);
  box-shadow: 0 0 40px rgba(25, 100, 32, 0.08);
  transform: translateY(-4px);
}

.venue-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.6s ease;
}
.venue-photo-card:hover .venue-photo {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .venue-info-card {
    padding: 2rem 1.5rem;
  }
  .venue-photo-card {
    min-height: 280px;
  }
}
