/* ===================================
   VARIÁVEIS DE TEMA
   Paleta: Branco, Azul (predominante), Amarelo (acento)
   =================================== */
:root {
  /* Cores principais */
  --white: #ffffff;
  --primary-600: #1565d8;
  --primary-700: #0d47a1;
  --primary-800: #0a3d8f;
  --accent-500: #ffca28;
  --accent-600: #ffa000;
  --accent-700: #b28700;

  /* Cores de texto e superfície */
  --text-primary: #0b2447;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --surface: rgba(255, 255, 255, 0.95);
  --surface-glass: rgba(255, 255, 255, 0.9);

  /* Layout */
  --max-width: 1400px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;

  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(11, 36, 71, 0.08);
  --shadow-md: 0 8px 24px rgba(11, 36, 71, 0.12);
  --shadow-lg: 0 20px 40px rgba(11, 36, 71, 0.15);
  --shadow-primary: 0 8px 32px rgba(21, 101, 216, 0.25);

  /* Transições */
  --transition: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================
   RESET E BASE
   =================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Make the main content expand so footer stays at bottom */
main,
#main-content {
  flex: 1 0 auto;
}

/* Grid pattern overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.04)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  pointer-events: none;
  z-index: 0;
}

/* Floating gradient animation */
body::after {
  content: '';
  position: fixed;
  top: -50%;
  right: -20%;
  width: 80rem;
  height: 80rem;
  background: radial-gradient(circle, rgba(255, 202, 40, 0.08) 0%, transparent 60%);
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  50% {
    transform: translate(-10%, 10%) rotate(5deg);
  }
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  z-index: 10000;
  padding: 0.75rem 1.5rem;
  background: var(--white);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
}

.skip-link:focus {
  left: 1rem;
}

/* ===================================
   NAVBAR
   =================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(21, 101, 216, 0.1);
  box-shadow: 0 4px 16px rgba(11, 36, 71, 0.08);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-primary);
  white-space: nowrap;
}

/* Make brand text/icon appear like admin header: black brand for clarity */
.navbar .logo,
.navbar .logo span {
  color: #000;
}

.logo .icon {
  width: 2rem;
  height: 2rem;
  color: var(--primary-600);
  flex-shrink: 0;
}

.logo-image {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 6px;
}

.navbar nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0 auto;
}

.nav-link,
.navbar nav a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  color: var(--text-primary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  background: transparent;
}

/* Efeito underline animado */
.nav-link::after,
.navbar nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-500);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  transition: color 0.3s ease;
}

.nav-link:hover,
.navbar nav a:hover {
  color: var(--primary-600);
  background: rgba(21, 101, 216, 0.05);
}

.nav-link:hover::after,
.navbar nav a:hover::after {
  width: 100%;
}

.nav-link:hover .nav-icon {
  color: var(--primary-600);
}

.nav-link:focus,
.navbar nav a:focus {
  outline: 2px solid var(--primary-600);
  outline-offset: 2px;
}

.nav-link:active,
.navbar nav a:active {
  transform: translateY(1px);
}

/* Estado ativo da página atual */
.navbar nav a.active {
  color: var(--primary-700);
  background: rgba(21, 101, 216, 0.08);
}

.navbar nav a.active::after {
  width: 100%;
}

.user-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-actions > a {
  text-decoration: none;
  color: inherit;
}

.btn-entrar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s var(--transition);
  box-shadow: var(--shadow-primary);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn-entrar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s;
}

.btn-entrar:hover::before {
  transform: translateX(100%);
}

.btn-entrar:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(21, 101, 216, 0.35);
}

.btn-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.bar {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s var(--transition);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero-section {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 3rem auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  animation: slideInLeft 0.8s var(--transition);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 202, 40, 0.15);
  color: var(--accent-700);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 202, 40, 0.3);
}

.badge-icon {
  width: 1rem;
  height: 1rem;
  color: var(--accent-600);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--white);
  letter-spacing: -0.02em;
}

.highlight {
  background: linear-gradient(135deg, var(--accent-500) 0%, var(--accent-600) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1.125rem;
  text-decoration: none;
  transition: all 0.3s var(--transition);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s;
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-500), var(--accent-600));
  color: var(--text-primary);
  box-shadow: 0 8px 24px rgba(255, 202, 40, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(255, 202, 40, 0.4);
}

.btn-secondary {
  background: var(--white);
  color: var(--text-primary);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.stat-card {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-align: center;
  transition: all 0.3s var(--transition);
  opacity: 0;
  transform: translateY(20px);
}

.stat-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.stat-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 12px 40px rgba(255, 202, 40, 0.2);
  border-color: rgba(255, 202, 40, 0.3);
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-500);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(11, 36, 71, 0.7);
  font-weight: 500;
}

.hero-visual {
  animation: slideInRight 0.8s var(--transition);
  opacity: 0;
}

.hero-visual.animate-in {
  opacity: 1;
}

.visual-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s var(--transition);
}

.visual-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 24px 48px rgba(11, 36, 71, 0.2);
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(21, 101, 216, 0.1), rgba(255, 202, 40, 0.1));
  pointer-events: none;
}

/* ===================================
   BENEFITS SECTION - MODERN DESIGN
   =================================== */
.benefits-section {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 8rem auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(255, 202, 40, 0.4);
  border-radius: 50px;
  color: var(--accent-600);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out;
  box-shadow: 0 8px 25px rgba(255, 202, 40, 0.2);
}

.section-badge .badge-icon {
  width: 1.125rem;
  height: 1.125rem;
}

.section-title {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.title-gradient {
  color: var(--accent-500);
  font-weight: 900;
  text-shadow: 0 0 30px rgba(255, 202, 40, 0.5);
  display: inline-block;
}

.section-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Grid Assimétrico Moderno */
.benefits-modern-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, auto);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

/* Card Grande - Principal */
.card-large {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  min-height: 400px;
}

/* Cards Médios */
.card-medium:nth-of-type(2) {
  grid-column: 3 / 5;
  grid-row: 1 / 2;
}

.card-medium:nth-of-type(3) {
  grid-column: 3 / 5;
  grid-row: 2 / 3;
}

/* Cards Pequenos */
.card-small:nth-of-type(4) {
  grid-column: 1 / 2;
  grid-row: 3 / 4;
}

.card-small:nth-of-type(5) {
  grid-column: 2 / 3;
  grid-row: 3 / 4;
}

.card-small:nth-of-type(6) {
  grid-column: 3 / 4;
  grid-row: 3 / 4;
}

.card-small:nth-of-type(7) {
  grid-column: 4 / 5;
  grid-row: 3 / 4;
}

/* Estilos Base dos Cards */
.benefit-modern-card {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out backwards;
}

.benefit-modern-card:nth-child(1) {
  animation-delay: 0.1s;
}

.benefit-modern-card:nth-child(2) {
  animation-delay: 0.2s;
}

.benefit-modern-card:nth-child(3) {
  animation-delay: 0.3s;
}

.benefit-modern-card:nth-child(4) {
  animation-delay: 0.4s;
}

.benefit-modern-card:nth-child(5) {
  animation-delay: 0.5s;
}

.benefit-modern-card:nth-child(6) {
  animation-delay: 0.6s;
}

.benefit-modern-card:nth-child(7) {
  animation-delay: 0.7s;
}

.benefit-modern-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 202, 40, 0.08), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.benefit-modern-card:hover::before {
  opacity: 1;
}

.benefit-modern-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 202, 40, 0.5);
  box-shadow: 0 20px 60px rgba(255, 202, 40, 0.3), 0 0 0 1px rgba(255, 202, 40, 0.2);
}

/* Card Glow Effect */
.card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 202, 40, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.benefit-modern-card:hover .card-glow {
  opacity: 1;
}

/* Card Content */
.card-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Ícones */
.icon-wrapper {
  width: 4rem;
  height: 4rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.icon-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  filter: blur(20px);
  opacity: 0.5;
}

.icon-wrapper svg {
  width: 2rem;
  height: 2rem;
  position: relative;
  z-index: 1;
  color: white;
}

.icon-primary {
  background: linear-gradient(135deg, #3b82f6, #1e40af);
}

.icon-success {
  background: linear-gradient(135deg, #10b981, #059669);
}

.icon-warning {
  background: linear-gradient(135deg, var(--accent-500), var(--accent-700));
}

/* Ícones Pequenos */
.icon-wrapper-small {
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.icon-wrapper-small svg {
  width: 1.5rem;
  height: 1.5rem;
  color: white;
}

.icon-blue {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.icon-purple {
  background: linear-gradient(135deg, #a855f7, #7c3aed);
}

.icon-green {
  background: linear-gradient(135deg, #10b981, #059669);
}

.icon-orange {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* Títulos e Textos */
.card-large h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--neutral-900);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.card-medium h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.card-small h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.card-large p,
.card-medium p {
  font-size: 1rem;
  color: rgba(11, 36, 71, 0.75);
  line-height: 1.6;
  margin-bottom: auto;
}

.card-small p {
  font-size: 0.875rem;
  color: rgba(11, 36, 71, 0.7);
  line-height: 1.5;
}

/* Card Stats */
.card-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(11, 36, 71, 0.1);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-500);
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(11, 36, 71, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Card Badges */
.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 1.5rem;
  width: fit-content;
}

.card-badge svg {
  width: 1rem;
  height: 1rem;
}

.badge-success {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.1));
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
}

.badge-warning {
  background: linear-gradient(135deg, rgba(255, 202, 40, 0.2), rgba(255, 202, 40, 0.1));
  border: 1px solid rgba(255, 202, 40, 0.3);
  color: var(--accent-500);
}

/* CTA Bottom */
.benefits-cta {
  margin-top: 4rem;
}

.cta-card {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(255, 202, 40, 0.1), rgba(255, 202, 40, 0.05));
  border: 2px solid rgba(255, 202, 40, 0.3);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  transition: all 0.4s ease;
}

.cta-card:hover {
  border-color: rgba(255, 202, 40, 0.5);
  box-shadow: 0 20px 60px rgba(255, 202, 40, 0.2);
  transform: translateY(-4px);
}

.cta-icon {
  flex-shrink: 0;
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, var(--accent-500), var(--accent-700));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-icon svg {
  width: 2rem;
  height: 2rem;
  color: white;
}

.cta-content {
  flex: 1;
}

.cta-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.cta-content p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--accent-500), var(--accent-600));
  color: var(--neutral-900);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(255, 202, 40, 0.3);
}

.cta-button:hover {
  transform: translateX(4px);
  box-shadow: 0 12px 35px rgba(255, 202, 40, 0.4);
}

.cta-button svg {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.3s ease;
}

.cta-button:hover svg {
  transform: translateX(4px);
}

/* Responsivo */
@media (max-width: 1200px) {
  .benefits-modern-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .card-large {
    grid-column: 1 / 3;
    grid-row: auto;
  }

  .card-medium:nth-of-type(2),
  .card-medium:nth-of-type(3) {
    grid-column: span 1;
    grid-row: auto;
  }

  .card-small {
    grid-column: span 1 !important;
    grid-row: auto !important;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }

  .benefits-modern-grid {
    grid-template-columns: 1fr;
  }

  .card-large,
  .card-medium,
  .card-small {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  .cta-card {
    flex-direction: column;
    text-align: center;
  }

  .card-stats {
    justify-content: center;
  }
}

/* ===================================
   CTA SECTION - MODERN DESIGN
   =================================== */
.cta-section {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 8rem auto 6rem;
  padding: 0 2rem;
}

.cta-modern-card {
  position: relative;
  padding: 4rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(30px);
  border-radius: 32px;
  text-align: center;
  border: 2px solid rgba(255, 202, 40, 0.4);
  box-shadow: 0 20px 60px rgba(255, 202, 40, 0.25);
  overflow: hidden;
  animation: fadeInUp 1s ease-out;
}

.cta-modern-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent-500), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {

  0%,
  100% {
    transform: translateX(-100%);
  }

  50% {
    transform: translateX(100%);
  }
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: linear-gradient(135deg, var(--accent-500), var(--accent-600));
  color: var(--neutral-900);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
  box-shadow: 0 8px 25px rgba(255, 202, 40, 0.3);
  animation: pulse 2s infinite;
}

.cta-badge svg {
  width: 1rem;
  height: 1rem;
}

.cta-title {
  font-size: 3rem;
  font-weight: 900;
  color: var(--neutral-900);
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.cta-highlight {
  color: var(--accent-500);
  font-weight: 900;
  text-shadow: 0 0 30px rgba(255, 202, 40, 0.6);
  display: inline-block;
}

.cta-description {
  font-size: 1.125rem;
  color: rgba(11, 36, 71, 0.75);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.cta-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 2.5rem;
  background: linear-gradient(135deg, var(--accent-500), var(--accent-600));
  color: var(--neutral-900);
  font-weight: 700;
  font-size: 1.125rem;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 12px 35px rgba(255, 202, 40, 0.4);
  border: 2px solid var(--accent-500);
}

.cta-btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(255, 202, 40, 0.5);
}

.cta-btn-primary svg {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.3s ease;
}

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

.cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 1.25rem 2rem;
  background: rgba(11, 36, 71, 0.08);
  color: var(--neutral-900);
  font-weight: 600;
  font-size: 1.125rem;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid rgba(11, 36, 71, 0.15);
  backdrop-filter: blur(10px);
}

.cta-btn-secondary:hover {
  background: rgba(11, 36, 71, 0.12);
  border-color: rgba(255, 202, 40, 0.4);
  transform: translateY(-2px);
}

.cta-stats-row {
  display: flex;
  gap: 3rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(11, 36, 71, 0.1);
}

.cta-stat {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cta-stat-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, rgba(255, 202, 40, 0.2), rgba(255, 202, 40, 0.1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta-stat-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--accent-500);
}

.cta-stat span {
  font-size: 0.9375rem;
  color: rgba(11, 36, 71, 0.7);
  font-weight: 500;
}

/* Responsivo CTA */
@media (max-width: 768px) {
  .cta-modern-card {
    padding: 2.5rem 1.5rem;
  }

  .cta-title {
    font-size: 2rem;
  }

  .cta-description {
    font-size: 1rem;
  }

  .cta-actions {
    flex-direction: column;
  }

  .cta-btn-primary,
  .cta-btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .cta-stats-row {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* ===================================
   FOOTER
   =================================== */
.footer {
  position: relative;
  z-index: 1;
  margin-top: 2.5rem;
  padding: 2rem;
  background: linear-gradient(180deg, rgba(11, 36, 71, 0.9), rgba(11, 36, 71, 0.95));
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
}

.footer-content p {
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.footer-subtitle {
  font-size: 0.875rem;
  opacity: 0.7;
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

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

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

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

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1024px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-content {
    order: 2;
  }

  .hero-visual {
    order: 1;
  }

  .hero-title {
    font-size: 2.75rem;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 1rem 1.5rem;
    gap: 0.75rem;
  }

  .user-actions {
    margin-left: auto;
  }

  .navbar nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow-md);
    gap: 0;
  }

  .navbar nav.open {
    display: flex;
  }

  .nav-link,
  .navbar nav a {
    width: 100%;
    padding: 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-section {
    margin: 2rem auto;
    padding: 0 1.5rem;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-description {
    font-size: 1.125rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2rem;
  }

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

  .cta-content {
    padding: 2.5rem 1.5rem;
  }

  .cta-title {
    font-size: 1.875rem;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 0.85rem 1rem;
  }

  .logo {
    gap: 0.5rem;
  }

  .logo span {
    font-size: 0.95rem;
  }

  .hero-title {
    font-size: 1.875rem;
  }

  .btn-entrar {
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
  }

  .stat-card {
    padding: 1rem;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .benefit-card {
    padding: 1.75rem;
  }
}

.btn-logout {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s var(--transition);
  box-shadow: var(--shadow-primary);
  position: relative;
  overflow: hidden;
}

.btn-logout::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s;
}

.btn-logout:hover::before {
  transform: translateX(100%);
}

.btn-logout:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(21, 101, 216, 0.35);
}