/* ===           LANDING PAGE CSS            === */
/* --- Navbar --- */
.navbar {
  width: 100%;
  padding: 1rem 5%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: var(--nav-background-color);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--box-shadow);
  backdrop-filter: blur(10px);
}
.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
  vertical-align: middle;
}
.logo-dark,
[data-theme="dark"] .logo-light {
  display: none;
}
[data-theme="dark"] .logo-dark {
  display: block;
}

.nav-menu,
.nav-menu ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.navbar-link {
  font-weight: 600;
  font-size: 1rem;
  color: var(--headline-color);
  padding: 0.5rem 0;
  position: relative;
}
.navbar-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}
.navbar-link:hover::after,
.navbar-link.active::after {
  width: 100%;
}

/* Toggle Tema & Mobile */
.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--text-color);
  padding: 0.25rem;
  line-height: 1;
}
[data-theme="light"] .icon-moon,
[data-theme="dark"] .icon-sun {
  display: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: var(--headline-color);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* --- Seções Gerais --- */
.section {
  padding: 100px 5%;
  min-height: 80vh;
  max-width: 1200px;
  margin: 0 auto;
}
.section:nth-child(even) {
  background-color: var(--section-background-color);
}

/* Hero Section */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  min-height: 100vh;
}
.hero-title {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.hero-summary {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 500px;
  color: var(--text-color-light);
}
.hero-image img {
  border-radius: 10px;
  box-shadow: var(--box-shadow);
}

.feature-card,
.team-card,
.faq-item {
  background-color: var(--background-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--box-shadow);
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Soluções */
.feature-card {
  padding: 2rem;
  transition: transform 0.3s;
  text-align: center;
}
.feature-card:hover {
  transform: translateY(-5px);
}
.feature-card i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}
.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--headline-color);
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-color);
}

/* Equipe */
.team-card {
  text-align: center;
  padding: 1.5rem;
}
.team-card h3 {
  color: var(--headline-color);
  margin: 0.5rem 0;
}
.team-avatar {
  width: 100px;
  height: 100px;
  background-color: var(--section-background-hover);
  border-radius: 50%;
  margin: 0 auto 1rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--primary-color);
}
.team-role {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  display: block;
}

/* História */
.history-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.history-image img {
  border-radius: 12px;
  box-shadow: var(--box-shadow);
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* FAQ */
.faq-item {
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: 8px;
}
.faq-item summary {
  padding: 1.2rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--headline-color);
}
.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--primary-color);
}
.faq-item[open] summary::after {
  content: "-";
}
.faq-item p {
  padding: 0 1.2rem 1.2rem 1.2rem;
  color: var(--text-color);
  line-height: 1.6;
  margin: 0;
}

/* Rodapé & Float */
.footer {
  text-align: center;
  padding: 2rem 5%;
  background-color: var(--section-background-color);
  border-top: 1px solid var(--border-color);
  margin-top: 2rem;
}
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  background-color: #25d366;
  color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.whatsapp-float:hover {
  transform: scale(1.1);
}
.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

/* --- RESPONSIVIDADE --- */
/* Desktop Grande (Ajuste de Grid) */
@media (min-width: 1200px) {
  .section {
    max-width: 1400px;
  }
  .grid-container {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .section {
    padding: 60px 5%;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .grid-container {
    gap: 1.5rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  /* Menu */
  .menu-toggle {
    display: flex;
    z-index: 1001;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--background-color);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right 0.4s ease-in-out;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    padding-top: 60px;
  }
  .nav-menu.active {
    right: 0;
  }
  .nav-menu ul {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  .navbar-link {
    font-size: 1.3rem;
  }
  .nav-actions {
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    justify-content: center;
  }

  /* Animação Menu */
  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Layouts */
  .hero-section {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 100px;
    height: auto;
    min-height: auto;
    padding-bottom: 3rem;
  }
  .hero-content {
    order: 1;
  }
  .hero-image {
    order: 2;
    margin-top: 2rem;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-summary {
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
  }

  .history-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .grid-container {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }
  .section h2 {
    font-size: 1.8rem;
  }
}
