/*
Theme Name: NEAG – Não Existe Almoço Grátis
Theme URI: https://neag.com.br
Author: NEAG
Description: Tema profissional de consultoria financeira convertido do Hostinger Horizons.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: neag
*/

/* ============================================================
   IMPORTAÇÕES & VARIÁVEIS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --background: hsl(210, 20%, 98%);
  --foreground: hsl(215, 25%, 20%);
  --card: hsl(0, 0%, 100%);
  --primary: hsl(215, 60%, 15%);
  --primary-foreground: hsl(210, 20%, 98%);
  --muted: hsl(210, 15%, 95%);
  --muted-foreground: hsl(215, 15%, 45%);
  --accent: hsl(43, 74%, 49%);
  --accent-foreground: hsl(215, 60%, 15%);
  --border: hsl(215, 20%, 85%);
  --gold-primary: hsl(46, 65%, 52%);
  --radius: 0.5rem;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Outfit", sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 { line-height: 1.2; font-weight: 700; color: var(--foreground); }
p { max-width: 65ch; line-height: 1.7; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ============================================================
   UTILITÁRIOS
   ============================================================ */
.container-custom { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 640px) { .container-custom { padding: 0 2rem; } }
@media (min-width: 1024px) { .container-custom { padding: 0 3rem; } }

.section-padding { padding: 5rem 0; }
@media (min-width: 1024px) { .section-padding { padding: 6rem 0; } }

.text-gold-glow {
  color: var(--gold-primary);
  text-shadow: 0 0 12px hsla(46, 65%, 52%, 0.5), 0 0 24px hsla(46, 65%, 52%, 0.3);
}

.gradient-overlay {
  background: linear-gradient(135deg, rgba(10,30,61,0.94) 0%, rgba(20,40,70,0.90) 100%);
}

.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--accent-foreground);
  font-weight: 700;
  font-size: 1rem;
  padding: 0 2rem;
  height: 3.5rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: filter 0.2s, transform 0.1s;
  font-family: inherit;
  text-decoration: none;
}
.btn-accent:hover { filter: brightness(1.1); }
.btn-accent:active { transform: scale(0.98); }

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--primary-foreground);
  font-weight: 700;
  font-size: 1rem;
  padding: 0 2rem;
  height: 3.5rem;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,0.7);
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  font-family: inherit;
  text-decoration: none;
}
.btn-outline-white:hover { background: white; color: var(--primary); }

.card-hover { transition: box-shadow 0.3s, transform 0.3s; }
.card-hover:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.12); transform: translateY(-4px); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
#neag-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(249, 250, 251, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.neag-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.neag-logo {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--gold-primary);
  text-shadow: 0 0 12px hsla(46,65%,52%,0.4);
}

.neag-nav-links { display: flex; align-items: center; gap: 0.25rem; }
.neag-nav-links a {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(215, 15%, 45%);
  transition: color 0.2s;
  border-radius: var(--radius);
  position: relative;
}
.neag-nav-links a:hover, .neag-nav-links a.active { color: var(--foreground); }
.neag-nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
}

#neag-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--foreground);
  padding: 0.5rem;
}

#neag-mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}
#neag-mobile-menu.open { display: flex; }
#neag-mobile-menu a {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(215, 15%, 45%);
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}
#neag-mobile-menu a:hover { background: var(--muted); color: var(--foreground); }

@media (max-width: 767px) {
  .neag-nav-links, .neag-nav-cta { display: none; }
  #neag-hamburger { display: block; }
}

/* ============================================================
   HERO
   ============================================================ */
.neag-hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.neag-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.neag-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.neag-hero-overlay { position: absolute; inset: 0; }

.neag-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--primary-foreground);
  padding: 5rem 1.5rem 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.neag-hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary-foreground);
  margin-bottom: 1rem;
}

.neag-hero-content h2 {
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.5rem;
}

.neag-hero-content p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.8);
  max-width: 48rem;
  margin: 0 auto 2.5rem;
}

.neag-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  align-items: center;
  padding-top: 1rem;
}

/* ============================================================
   SEÇÕES GERAIS
   ============================================================ */
.neag-section-title { text-align: center; margin-bottom: 3rem; }
.neag-section-title h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 1rem; }
.neag-section-title p { font-size: 1.125rem; color: hsl(215, 15%, 45%); margin: 0 auto; }

/* ============================================================
   CARDS DE VALOR / SERVIÇOS
   ============================================================ */
.neag-grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .neag-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .neag-grid-3 { grid-template-columns: repeat(3, 1fr); } }

.neag-grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .neag-grid-2 { grid-template-columns: repeat(2, 1fr); } }

.neag-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 2);
  padding: 2rem;
}

.neag-card-icon {
  width: 3.5rem; height: 3.5rem;
  background: var(--accent);
  border-radius: calc(var(--radius) * 1.5);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.neag-card-icon svg { width: 1.75rem; height: 1.75rem; stroke: var(--accent-foreground); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.neag-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.75rem; }
.neag-card p { color: hsl(215, 15%, 45%); font-size: 0.95rem; max-width: none; }

/* ============================================================
   SEÇÃO BG ESCURO (CTA / HERO INTERNO)
   ============================================================ */
.neag-section-dark {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.neag-section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1620266757065-5814239881fd');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  mix-blend-mode: overlay;
}
.neag-section-dark .inner { position: relative; z-index: 1; max-width: 48rem; margin: 0 auto; }
.neag-section-dark h1,
.neag-section-dark h2 { color: var(--primary-foreground); margin-bottom: 1rem; font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
.neag-section-dark p { color: rgba(255,255,255,0.85); margin: 0 auto 2rem; font-size: 1.125rem; }

/* ============================================================
   SEÇÃO DESTAQUE (texto + imagem)
   ============================================================ */
.neag-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) { .neag-two-col { grid-template-columns: 1fr 1fr; } }
.neag-two-col img { border-radius: calc(var(--radius) * 3); box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.neag-two-col .text-block h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); margin-bottom: 1.25rem; }
.neag-two-col .text-block p { color: hsl(215, 15%, 45%); font-size: 1.0625rem; margin-bottom: 1rem; max-width: none; }
.neag-two-col .text-block strong { color: var(--foreground); }

/* ============================================================
   NÚMEROS / STATS
   ============================================================ */
.neag-stats { display: grid; grid-template-columns: 1fr; gap: 2rem; text-align: center; }
@media (min-width: 768px) { .neag-stats { grid-template-columns: repeat(3, 1fr); } }
.neag-stats .stat-value { font-size: clamp(2.5rem, 5vw, 3.75rem); font-weight: 800; color: var(--accent); display: block; }
.neag-stats .stat-label { font-size: 1.0625rem; color: hsl(215, 15%, 45%); }

/* ============================================================
   CONTATO
   ============================================================ */
.neag-contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .neag-contact-grid { grid-template-columns: 1fr 1fr; } }

.neag-contact-info-card {
  background: var(--muted);
  border-radius: calc(var(--radius) * 2);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}
.neag-contact-info-card .icon-box {
  width: 3rem; height: 3rem; min-width: 3rem;
  background: var(--accent);
  border-radius: calc(var(--radius) * 1.5);
  display: flex; align-items: center; justify-content: center;
}
.neag-contact-info-card .icon-box svg { width: 1.5rem; height: 1.5rem; stroke: var(--accent-foreground); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.neag-contact-info-card h4 { font-size: 0.9375rem; font-weight: 600; margin-bottom: 0.25rem; }
.neag-contact-info-card a, .neag-contact-info-card p { font-size: 0.875rem; color: hsl(215, 15%, 45%); max-width: none; }
.neag-contact-info-card a:hover { color: var(--accent); }

.neag-contact-cta-card {
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: calc(var(--radius) * 2);
  padding: 1.5rem;
}
.neag-contact-cta-card h4 { font-size: 1.0625rem; font-weight: 600; color: var(--primary-foreground); margin-bottom: 0.5rem; }
.neag-contact-cta-card p { color: rgba(255,255,255,0.8); font-size: 0.9375rem; max-width: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.neag-footer {
  background: var(--primary);
  color: rgba(255,255,255,0.7);
  padding: 2rem 0;
  text-align: center;
  font-size: 0.875rem;
}
.neag-footer a { color: var(--gold-primary); transition: opacity 0.2s; }
.neag-footer a:hover { opacity: 0.8; }

/* ============================================================
   BG CINZA CLARO (muted)
   ============================================================ */
.bg-muted { background-color: var(--muted); }
.bg-white { background-color: white; }
