/*
Theme Name: GFV Theme — Nova Onda
Theme URI: https://gfv.com.br
Author: Geff (Geferson Alencar)
Author URI: gefersonalencar.com.br
Description: GFV Nova Onda — Novo design dark mode para o Grupo Foco em Vendas.
Version: 2.0.0
Text Domain: gfv-theme
*/

/* =========================================================================
   GOOGLE FONTS
   ========================================================================= */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* =========================================================================
   VARIÁVEIS CSS — DESIGN SYSTEM
   ========================================================================= */
:root {
  /* Cores principais */
  --primary: 27 95% 53%;
  /* Laranja vibrante */
  --primary-h: hsl(27, 95%, 53%);
  --primary-dark: hsl(27, 95%, 42%);

  /* Backgrounds */
  --bg-body: hsl(220, 40%, 7%);
  /* Fundo geral escuro */
  --bg-card: hsl(220, 40%, 10%);
  /* Cards */
  --bg-secondary: hsl(220, 60%, 15%);
  /* Navbar / Footer */
  --bg-muted: hsl(220, 30%, 14%);
  /* Seções alternadas */

  /* Texto */
  --text-primary: hsl(210, 40%, 98%);
  --text-secondary: hsl(215, 20%, 65%);
  --text-muted: hsl(220, 10%, 46%);

  /* Bordas */
  --border: hsl(220, 30%, 18%);
  --border-primary: hsl(27, 95%, 53%);

  /* Accent (laranja suave para backgrounds) */
  --accent: hsl(27, 50%, 15%);
  --accent-fg: hsl(27, 95%, 65%);

  /* Tipografia */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Raios */
  --radius: 0.75rem;
  --radius-sm: 0.5rem;
  --radius-lg: 1rem;

  /* Sombras */
  --shadow-card: 0 4px 24px hsl(220 40% 2% / 0.35);
  --shadow-card-hover: 0 8px 40px hsl(220 40% 2% / 0.55);
  --glow-orange: 0 0 40px hsl(27 95% 53% / 0.25);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  color: var(--text-primary);
  line-height: 1.2;
}

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

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

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================================================
   ANIMAÇÕES CSS
   ========================================================================= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.85);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    height: 0;
  }

  to {
    opacity: 1;
    height: auto;
  }
}

@keyframes pulseGlow {

  0%,
  100% {
    box-shadow: 0 0 20px hsl(27 95% 53% / 0.2);
  }

  50% {
    box-shadow: 0 0 40px hsl(27 95% 53% / 0.4);
  }
}

.animate-fade-up {
  animation: fadeUp 0.65s ease-out forwards;
}

.animate-scale-in {
  animation: scaleIn 0.5s ease-out forwards;
}

/* Animação ao entrar na viewport */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================================
   TEXTO COM GRADIENTE (TÍTULO HERO)
   ========================================================================= */
.text-gradient {
  background: linear-gradient(135deg, hsl(27, 95%, 55%), hsl(27, 95%, 72%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =========================================================================
   BOTÕES
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-h);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--glow-orange);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary-h);
  color: var(--primary-h);
  transform: translateY(-1px);
}

.btn-hero {
  background: var(--primary-h);
  color: #fff;
  padding: 14px 32px;
  font-size: 16px;
  border-radius: var(--radius);
  box-shadow: var(--glow-orange);
}

.btn-hero:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 0 50px hsl(27 95% 53% / 0.4);
}

.btn-hero-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  padding: 14px 32px;
  font-size: 16px;
}

.btn-hero-outline:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 17px;
}

.btn-full {
  width: 100%;
}

.btn-wa {
  background: #25D366;
  color: #fff;
}

.btn-wa:hover {
  background: #1EB857;
  transform: translateY(-1px);
}

/* =========================================================================
   NAVBAR
   ========================================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: hsl(220, 60%, 13%);
  border-bottom: 1px solid hsl(27, 80%, 40% / 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.3s ease;
}

.site-header.header-hidden {
  transform: translateY(-100%);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-h);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  flex-shrink: 0;
  box-shadow: var(--glow-orange);
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

/* Nav links desktop */
.main-navigation {
  display: flex;
  align-items: center;
}

.main-navigation ul,
#primary-menu {
  display: flex;
  list-style: none;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.main-navigation a {
  color: hsl(215, 20%, 65%);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  text-decoration: none;
}

.main-navigation a:hover {
  color: var(--primary-h);
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-user {
  display: flex;
  align-items: center;
  gap: 8px;
  color: hsl(215, 20%, 65%);
  font-size: 14px;
}

/* Hamburguer mobile */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Menu mobile dropdown */
.mobile-nav {
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: hsl(220, 60%, 13%);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav a {
  color: hsl(215, 20%, 65%);
  font-size: 15px;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
  text-decoration: none;
}

.mobile-nav a:hover {
  color: var(--primary-h);
}

.mobile-nav .btn {
  margin-top: 12px;
  width: 100%;
}

/* =========================================================================
   SITE CONTENT (compensa a navbar fixa)
   ========================================================================= */
.site-content {
  padding-top: 64px;
}

/* =========================================================================
   HERO SECTION
   ========================================================================= */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-secondary) url('') center/cover no-repeat;
  background-image: var(--hero-bg-url, none);
}

.hero-section.has-bg {
  background-size: cover;
  background-position: center;
}

/* Overlay escuro sobre a imagem */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: hsl(220, 60%, 10% / 0.82);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 0;
  width: 100%;
}

/* Badge no hero */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: hsl(27, 95%, 53% / 0.13);
  border: 1px solid hsl(27, 95%, 53% / 0.28);
  border-radius: 999px;
  padding: 7px 18px;
  color: var(--primary-h);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 28px;
  animation: scaleIn 0.5s ease 0.2s both;
}

.hero-badge svg {
  width: 14px;
  height: 14px;
}

/* Título principal */
.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 20px;
  animation: fadeUp 0.7s ease both;
}


/* Subtítulo */
.hero-description {
  font-size: clamp(16px, 2.5vw, 20px);
  color: hsl(215, 20%, 70%);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
  animation: fadeUp 0.7s ease 0.1s both;
}

/* Botões do hero */
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.7s ease 0.2s both;
}

/* Stats abaixo do hero */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 800px;
  margin: 64px auto 0;
  animation: fadeUp 0.7s ease 0.4s both;
}

.stat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 20px;
  backdrop-filter: blur(8px);
  text-align: center;
  transition: border-color 0.3s;
}

.stat-card:hover {
  border-color: hsl(27, 95%, 53% / 0.3);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--primary-h);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: hsl(215, 20%, 60%);
}

/* =========================================================================
   SEÇÕES GENÉRICAS
   ========================================================================= */
.section {
  padding: 64px 0;
}

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

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* =========================================================================
   SEÇÃO GRUPOS
   ========================================================================= */
.grupos-section {
  background: var(--bg-body);
}

/* Filtros (pills) */
.category-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-display);
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: var(--primary-h);
  color: var(--primary-h);
}

.filter-btn.active {
  background: var(--primary-h);
  border-color: var(--primary-h);
  color: #fff;
}

/* Grid de grupos */
.grupos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .grupos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .grupos-grid {
    grid-template-columns: 1fr;
  }
}

/* Esconde todos os cards, JS mostra os filtrados */
.grupos-grid .grupo-card {
  display: none;
}

/* Card de grupo */
.grupo-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
}

.grupo-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: hsl(27, 95%, 53% / 0.3);
  transform: translateY(-2px);
}

.grupo-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.grupo-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  flex: 1;
}

/* Badges */
.grupo-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-display);
  white-space: nowrap;
  flex-shrink: 0;
}

.badge-cat {
  background: var(--accent);
  color: var(--accent-fg);
}

.badge-ativo {
  background: hsl(145, 60%, 12%);
  color: hsl(145, 70%, 55%);
}

.badge-membros {
  background: hsl(220, 40%, 16%);
  color: hsl(215, 80%, 70%);
}

/* Cores de categoria */
.grupo-badge.networking {
  background: hsl(40, 60%, 14%);
  color: hsl(40, 90%, 60%);
}

.grupo-badge.erp {
  background: hsl(220, 50%, 16%);
  color: hsl(220, 80%, 70%);
}

.grupo-badge.ecommerce {
  background: hsl(300, 40%, 14%);
  color: hsl(300, 70%, 70%);
}

.grupo-badge.marketplaces {
  background: hsl(145, 50%, 12%);
  color: hsl(145, 70%, 55%);
}

.grupo-badge.atendimento {
  background: hsl(190, 50%, 12%);
  color: hsl(190, 70%, 55%);
}

.grupo-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

/* Membros count */
.group-members {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.group-members svg {
  width: 13px;
  height: 13px;
}

/* Requisitos */
.grupo-requisitos {
  margin-bottom: 14px;
}

.grupo-requisitos h4 {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.requisitos-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.requisitos-list li {
  font-size: 12px;
  color: var(--text-secondary);
  display: flex;
  gap: 6px;
  align-items: flex-start;
  line-height: 1.5;
}

.requisitos-list li::before {
  content: "›";
  color: var(--primary-h);
  font-weight: 700;
  flex-shrink: 0;
}

/* Notice de limite */
.grupo-limit-notice {
  font-size: 11px;
  color: hsl(215, 15%, 45%);
  text-align: center;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  line-height: 1.5;
}

/* Contador de cooldown — aparece em todos os cards quando ativo */
.grupo-cooldown-notice {
  background: hsl(40, 60%, 10%);
  border: 1px solid hsl(40, 60%, 20%);
  color: hsl(40, 80%, 60%);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  line-height: 1.5;
}

.grupo-cooldown-notice strong {
  font-size: 14px;
  font-family: var(--font-display);
  font-weight: 700;
}

/* Linha de ação: botão entrar + botão copiar */
.grupo-action-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.grupo-action-row .btn-action {
  flex: 1;
  padding: 10px 14px;
  font-size: 13px;
}

.btn-copy-link {
  flex-shrink: 0;
  padding: 10px 14px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  background: transparent;
  color: var(--text-secondary);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  transition: all 0.2s;
}

.btn-copy-link:hover {
  border-color: var(--primary-h);
  color: var(--primary-h);
}

.btn-copy-link svg {
  flex-shrink: 0;
}

/* Botão MINI de copiar link (pequeno, acima do botão WA) */
.btn-copy-link-mini {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  font-size: 11px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-self: flex-start;
  transition: all 0.2s;
  white-space: nowrap;
  margin-bottom: 8px;
}

.btn-copy-link-mini:hover {
  color: var(--primary-h);
  border-color: var(--primary-h);
}

/* Coluna de ações: copiar (mini) acima, botão principal abaixo */
.grupo-action-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.grupo-action-col .btn-full {
  width: 100%;
  align-self: stretch;
}

/* Dica / aviso sobre o WhatsApp */
.grupo-wa-tip {
  font-size: 11px;
  color: hsl(215, 15%, 42%);
  line-height: 1.55;
  margin-top: 10px;
  padding: 10px 12px;
  background: hsl(220, 40%, 8%);
  border-radius: var(--radius-sm);
  border-left: 2px solid hsl(27, 95%, 53% / 0.35);
}

/* Botão dentro do card */
.grupo-content .btn {
  margin-top: auto;
  width: 100%;
}

/* =========================================================================
   TABS DE LOGIN (Email / WhatsApp)
   ========================================================================= */
.login-tabs {
  display: flex;
  gap: 8px;
  background: hsl(220, 40%, 12%);
  border-radius: var(--radius);
  padding: 4px;
  margin-bottom: 18px;
}

.login-tab {
  flex: 1;
  padding: 9px 12px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: calc(var(--radius) - 3px);
  cursor: pointer;
  transition: all 0.22s;
}

.login-tab.active {
  background: var(--primary-h);
  color: #fff;
}

.login-tab:not(.active):hover {
  color: var(--text-primary);
}

/* =========================================================================
   PÁGINA DE REDEFINIÇÃO DE SENHA
   ========================================================================= */
.reset-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-card);
}

@media (max-width: 480px) {
  .reset-card {
    padding: 28px 20px;
  }
}

/* Aviso "esqueceu o email" */
.reset-forgot-tip {
  margin-top: 20px;
  padding: 14px 16px;
  background: hsl(220, 40%, 9%);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.reset-forgot-tip svg {
  flex-shrink: 0;
  color: #25D366;
  margin-top: 2px;
}

.reset-wa-link {
  color: #25D366;
  font-weight: 600;
  text-decoration: none;
}

.reset-wa-link:hover {
  text-decoration: underline;
}

/* =========================================================================
   SEÇÃO PARCEIROS
   ========================================================================= */
.parceiros-section {
  background: var(--bg-muted);
}

.parceiros-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

@media (max-width: 1024px) {
  .parceiros-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 640px) {
  .parceiros-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 420px) {
  .parceiros-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.parceiro-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.parceiro-card:hover {
  border-color: hsl(27, 95%, 53% / 0.4);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.parceiro-logo {
  width: 48px;
  height: 48px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  transition: background 0.3s;
}

.parceiro-card:hover .parceiro-logo {
  background: hsl(27, 95%, 53% / 0.15);
}

.parceiro-logo img {
  max-width: 32px;
  max-height: 32px;
  object-fit: contain;
}

.parceiro-logo .logo-initial {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-fg);
  transition: color 0.3s;
}

.parceiro-card:hover .logo-initial {
  color: var(--primary-h);
}

.parceiro-title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.3;
}

.parceiro-categoria {
  font-size: 10px;
  color: var(--text-muted);
}

/* =========================================================================
   SEÇÃO QUEM SOMOS (ABOUT)
   ========================================================================= */
.about-section {
  background: var(--bg-body);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: hsl(27, 95%, 53% / 0.3);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent-fg);
}

.feature-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.feature-description {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
  background: hsl(220, 60%, 10%);
  border-top: 1px solid hsl(27, 80%, 40% / 0.12);
  padding: 48px 0;
  margin-top: 0;
}

.footer-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 13px;
  color: hsl(215, 15%, 55%);
  transition: color 0.2s;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--primary-h);
}

.footer-copy {
  font-size: 11px;
  color: hsl(215, 10%, 40%);
}

/* =========================================================================
   MODAL DE LOGIN/CADASTRO
   ========================================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 440px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
  animation: scaleIn 0.3s ease;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--border);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  padding: 4px;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--text-primary);
}

.modal-body {
  padding: 24px 28px;
}

/* Modal logo */
.modal-logo {
  text-align: center;
  margin-bottom: 24px;
}

.modal-logo-icon {
  width: 54px;
  height: 54px;
  background: var(--primary-h);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  box-shadow: var(--glow-orange);
}

.modal-logo-icon span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  color: #fff;
}

.modal-logo h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.modal-logo p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Abas email/whatsapp */
.auth-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.auth-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: var(--bg-muted);
  color: var(--text-secondary);
  transition: all 0.2s;
  font-family: var(--font-display);
}

.auth-tab.active {
  background: var(--primary-h);
  color: #fff;
}

.auth-tab svg {
  width: 14px;
  height: 14px;
}

/* Formulários */
.gfv-form .form-row {
  margin-bottom: 16px;
}

.gfv-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.gfv-form input[type="text"],
.gfv-form input[type="email"],
.gfv-form input[type="password"],
.gfv-form input[type="tel"] {
  width: 100%;
  padding: 11px 14px;
  background: hsl(220, 40%, 8%);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color 0.2s;
  outline: none;
}

.gfv-form input:focus {
  border-color: var(--primary-h);
  box-shadow: 0 0 0 3px hsl(27, 95%, 53% / 0.12);
}

.gfv-form input::placeholder {
  color: var(--text-muted);
}

.form-status {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  display: none;
}

.form-status.success {
  background: hsl(145, 60%, 12%);
  color: hsl(145, 70%, 55%);
  display: block;
}

.form-status.error {
  background: hsl(0, 60%, 12%);
  color: hsl(0, 80%, 65%);
  display: block;
}

.form-status.loading {
  background: var(--bg-muted);
  color: var(--text-secondary);
  display: block;
}

.form-footer-link {
  text-align: center;
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-secondary);
}

.form-footer-link a {
  color: var(--primary-h);
  font-weight: 600;
  transition: opacity 0.2s;
}

.form-footer-link a:hover {
  opacity: 0.8;
}

/* Link esqueci minha senha */
.forgot-link {
  font-size: 12px;
  color: var(--text-muted);
  text-align: right;
  display: block;
  margin-top: -8px;
  margin-bottom: 14px;
  transition: color 0.2s;
}

.forgot-link:hover {
  color: var(--primary-h);
}

/* =========================================================================
   INTL-TEL-INPUT DARK MODE
   ========================================================================= */
.iti {
  width: 100%;
}

.iti__flag-container {
  background: transparent;
}

.iti__selected-flag {
  background: hsl(220, 40%, 8%) !important;
  border-right: 1px solid var(--border);
}

.iti__country-list {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
}

.iti__country.iti__highlight {
  background: var(--accent);
}

.iti__divider {
  border-bottom-color: var(--border);
}

/* =========================================================================
   SINGLE GRUPO PAGE
   ========================================================================= */
.grupo-single-wrapper {
  padding: 60px 0;
}

.grupo-single-card {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.grupo-single-header {
  padding: 32px;
  border-bottom: 1px solid var(--border);
}

.grupo-single-content {
  padding: 32px;
}

.grupo-page-description {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

/* =========================================================================
   BLOG / ARTIGOS
   ========================================================================= */
.blog-summary-section {
  padding: 80px 0;
  background: var(--bg-muted);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.summary-title-v2 {
  margin: 0 0 24px 0;
  border-bottom: 1px solid var(--border);
  padding: 0;
  line-height: 1;
}

.summary-title-v2 span {
  display: inline-block;
  color: #fff;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

#mais-recentes-title span {
  background: var(--primary-h);
  border-color: var(--primary-h);
}

.summary-posts-list-v2 {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.summary-post-item-v2.is-first {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.summary-post-item-v2.is-first .post-thumb-link {
  display: block;
  text-decoration: none;
  color: #fff;
}

.summary-post-item-v2.is-first .post-thumb-bg {
  height: 220px;
  background-size: cover;
  background-position: center;
}

.summary-post-item-v2.is-first .post-thumb-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 60%);
}

.summary-post-item-v2.is-first .post-title,
.summary-post-item-v2.is-first .post-meta {
  position: absolute;
  left: 16px;
  right: 16px;
  z-index: 2;
}

.summary-post-item-v2.is-first .post-title {
  bottom: 40px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}

.summary-post-item-v2.is-first .post-meta {
  bottom: 16px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}

.summary-post-item-v2.is-regular {
  display: flex;
  gap: 14px;
  align-items: center;
}

.summary-post-item-v2.is-regular .post-thumb-link {
  flex-shrink: 0;
  width: 90px;
  height: 68px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-card);
}

.summary-post-item-v2.is-regular .post-thumb-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.summary-post-item-v2.is-regular .post-title a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  transition: color 0.2s;
  text-decoration: none;
}

.summary-post-item-v2.is-regular .post-title a:hover {
  color: var(--primary-h);
}

.summary-post-item-v2.is-regular .post-meta {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Colunistas */
.summary-authors-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.summary-author-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  text-decoration: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  transition: all 0.3s ease;
}

.summary-author-item:hover {
  border-color: hsl(27, 95%, 53%/0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.summary-author-item img.avatar {
  border-radius: 50%;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}

.summary-author-item .author-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.summary-author-item .author-bio {
  font-size: 13px;
  color: var(--text-secondary);
}

.summary-author-item:hover .author-name {
  color: var(--primary-h);
}

/* Single post */
.site-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
}

.single-post .post-header {
  text-align: left;
  margin-top: 40px;
  margin-bottom: 28px;
}

.breadcrumbs,
.breadcrumbs a {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--primary-h);
}

.single-post .post-title {
  font-size: 38px;
  margin: 12px 0 16px;
}

.single-post .post-meta {
  color: var(--text-muted);
  font-size: 13px;
}

.single-post .post-meta .post-author a {
  color: var(--text-secondary);
  font-weight: 600;
}

.post-content {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.post-content p {
  margin-bottom: 1.5em;
}

.post-content h3,
.post-content h4 {
  font-size: 22px;
  color: var(--text-primary);
  margin: 2em 0 0.7em;
}

.post-content a {
  color: var(--primary-h);
  text-decoration: underline;
}

.post-content ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 1.5em;
}

.post-content ul li {
  margin-bottom: 0.7em;
}

.post-tags a {
  font-size: 12px;
  background: var(--accent);
  color: var(--accent-fg);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

/* Sidebar */
.widget-area {
  padding-top: 40px;
}

.widget-area .widget-title {
  font-size: 16px;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--primary-h);
  padding-bottom: 8px;
}

.widget-area .search-form input[type="search"] {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 14px;
}

.related-post-item {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}

.related-post-item:hover .related-post-title {
  color: var(--primary-h);
}

.related-post-title {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

.author-bio-box {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-top: 40px;
}

.author-bio-box .author-avatar img {
  border-radius: 50%;
}

.author-bio-box .author-name {
  font-size: 17px;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.author-bio-box .author-description {
  font-size: 13px;
  color: var(--text-secondary);
}

.author-bio-box .author-link {
  color: var(--primary-h);
  font-size: 13px;
  font-weight: 600;
}

/* Comentários */
.comments-area {
  margin-top: 50px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.comment-reply-title {
  margin-bottom: 24px;
  font-size: 22px;
  color: var(--text-primary);
}

.comment-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  margin-bottom: 14px;
}

.comment-form .form-submit input[type="submit"] {
  background: var(--primary-h);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}

.comment-form .form-submit input[type="submit"]:hover {
  background: var(--primary-dark);
}

/* Archive */
.archive-header {
  text-align: center;
  margin: 60px 0 40px;
}

.archive-title {
  font-size: 40px;
  color: var(--text-primary);
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.post-card-archive {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.post-card-archive:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: hsl(27, 95%, 53%/0.25);
}

/* =========================================================================
   EVENTOS PAGE
   ========================================================================= */
.event-filters {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 36px;
}

.event-filters form {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
}

.event-filters .filter-item {
  display: flex;
  flex-direction: column;
}

.event-filters label {
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 13px;
  color: var(--text-secondary);
}

.event-filters select,
.event-filters input[type="text"] {
  padding: 10px 12px;
  border: 1px solid var(--border);
  background: hsl(220, 40%, 8%);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  min-width: 140px;
  font-size: 14px;
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.event-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: var(--radius);
  transition: all 0.2s;
}

.event-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.event-date {
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
  padding: 12px;
  min-width: 68px;
}

.event-date span {
  font-size: 13px;
  text-transform: uppercase;
  color: var(--primary-h);
  font-weight: 600;
}

.event-date strong {
  font-size: 28px;
  display: block;
  color: var(--text-primary);
  font-family: var(--font-display);
}

.event-details {
  flex-grow: 1;
}

.event-title {
  margin: 0 0 8px;
  font-size: 19px;
  color: var(--text-primary);
}

.event-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--text-secondary);
  flex-wrap: wrap;
}

.event-year-title {
  font-size: 32px;
  color: var(--primary-h);
  margin: 40px 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}

/* =========================================================================
   RESPONSIVO GERAL
   ========================================================================= */
@media (max-width: 992px) {
  .site-content-wrapper {
    grid-template-columns: 1fr;
  }

  .widget-area {
    margin-top: 36px;
  }

  .summary-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {

  .main-navigation,
  .header-actions {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .site-content {
    padding-top: 64px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .single-post .post-title {
    font-size: 28px;
  }

  .author-bio-box {
    flex-direction: column;
    text-align: center;
  }

  .event-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .event-action .btn {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .btn-hero,
  .btn-hero-outline {
    width: 100%;
    max-width: 320px;
  }
}