/* Header & Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 80px;
  display: flex;
  align-items: center;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-dark);
}

.nav-logo {
  height: 50px;
  width: auto;
  border-radius: var(--border-radius-sm);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  color: var(--color-text-muted);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition-normal);
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
  box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.4);
  color: white;
}

.btn-secondary {
  background-color: white;
  color: var(--color-dark);
  border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
  background-color: var(--color-bg-light);
  border-color: #cbd5e1;
}

/* Accent Button (Red) */
.btn-accent {
  background-color: var(--color-secondary);
  color: white;
  box-shadow: 0 4px 6px -1px rgba(220, 38, 38, 0.3);
}

.btn-accent:hover {
  background-color: #b91c1c;
  color: white;
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  padding: 180px 0 120px;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.05) 0%, rgba(255,255,255,0) 70%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--color-dark);
}

.hero-title span {
  color: var(--color-primary);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

/* Cards */
.card {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(29, 78, 216, 0.1);
}

/* Layout Utilities */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); }

/* Sections */
.section {
  padding: 6rem 0;
}

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

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.section-subtitle {
  color: var(--color-text-muted);
  max-width: 650px;
  margin: 0 auto;
}

/* Footer */
.footer {
  background-color: var(--color-dark);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: white;
  margin-bottom: 1.5rem;
}

.footer-col a {
  color: #94a3b8;
  display: block;
  margin-bottom: 0.75rem;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #94a3b8;
  font-size: 0.875rem;
}

/* ==================================
   Responsividade: Celulares e Tablets
   ================================== */
@media (max-width: 768px) {
  .navbar .container {
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  .navbar {
    height: auto;
    position: relative; /* Desprende a navbar pra não cobrir a tela do celular */
  }
  div[style="padding-top: 80px;"] {
    display: none; /* Como a navbar não é mais fixa no mobile, removemos o empurrão de espaço nulo */
  }
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.875rem;
  }
  .hero {
    padding: 3rem 0; /* Espaçamento menor no celular */
    text-align: center;
    min-height: auto;
  }
  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .hero-buttons .btn {
    width: 100%;
  }
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }
  
  .grid-3, .grid-2 { grid-template-columns: 1fr; gap: 1.5rem; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .section { padding: 3rem 0; }
  .section-title { font-size: 1.75rem; }
}
