/* CONFIGURAÇÕES GERAIS E SCROLL SUAVE */
/* * {
  outline: 1px solid red !important;
} */

html {
  scroll-behavior: smooth;
  overflow-x: hidden; /* Tranvando para que o scroll horizontal não funcione */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", "Segoe UI", sans-serif;
}

body {
  background-color: #0d1117;
  color: #c9d1d9;
}

/* =========================================
   MENU E NAVEGAÇÃO
   ========================================= */
.navbar-container {
  background-color: rgba(13, 17, 23, 0.95);
  padding: 20px 10%;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #30363d;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 80px;
  width: auto;
}

.navbar-items {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 30px;
}

.navbar-items a {
  text-decoration: none;
  color: #8b949e;
  font-weight: 500;
  transition: 0.3s ease;
}

.navbar-items a:hover {
  color: #58a6ff;
}

.default-btn {
  background-color: transparent;
  border: 1px solid #255ff1;
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 5px;
  transition: all 0.3s ease !important;
  text-decoration: none; /* Tira o sublinhado feio */
}

.default-btn:hover {
  background-color: #255ff1;
  color: #fff !important;
  box-shadow: 0 0 10px rgba(35, 134, 54, 0.4);
}

/* MENU SUSPENSO (DROPDOWN) */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropbtn i {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.dropdown-content {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  background-color: #161b22;
  min-width: 260px;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.6);
  border: 1px solid #30363d;
  border-radius: 8px;
  z-index: 1000;
  top: 150%;
  left: 0;
  padding: 10px 0;
  list-style: none;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.dropdown:hover .dropdown-content {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  top: 100%;
}

.dropdown:hover .dropbtn i {
  transform: rotate(180deg);
}

.dropdown-content li {
  margin: 0;
}

.dropdown-content a {
  color: #8b949e;
  padding: 12px 20px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.dropdown-content a:hover {
  background-color: #0d1117;
  color: #58a6ff;
  padding-left: 28px;
}

/* =========================================
   HOME: BANNER E ECOSSISTEMA
   ========================================= */
header {
  padding-top: 80px;
}

.main-banner {
  background-image: url("../img/banner.png");
  padding: 10rem 0;
  background-size: cover;
  background-position: center;
}

.main-banner .infomation p {
  font-size: 4.3rem;
  color: #25d366;
}

.main-banner h1 {
  font-size: 5.4rem;
  font-weight: 800;
  letter-spacing: -2px;
  color: #255ff1;
  text-align: center;
}

.main-banner p {
  color: #b4b4b4;
  text-align: center;
  font-weight: bold;
  text-shadow: #000 3px 2px 3px;
  font-size: 2rem;
}

.ecosystem-bar {
  background-color: #090c10;
  padding: 40px 10%;
  text-align: center;
  border-top: 1px solid #21262d;
}

.ecosystem-bar p {
  color: #8b949e;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 30px;
  font-weight: 700;
}

.platforms-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 50px;
}

.platform-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #8b949e;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.4s ease;
  opacity: 0.6;
}

.platform-item:hover {
  opacity: 1;
  color: #c9d1d9;
  transform: translateY(-5px);
}

.icon-social {
  font-size: 2rem;
  color: #58a6ff;
  transition: color 0.4s ease;
}

.platform-item:nth-child(1):hover .icon-social {
  color: #25d366;
}
.platform-item:nth-child(2):hover .icon-social {
  color: #e1306c;
}
.platform-item:nth-child(3):hover .icon-social {
  color: #58a6ff;
}
.platform-item:nth-child(4):hover .icon-social {
  color: #0084ff;
}

/* =========================================
   SOBRE E SERVIÇOS
   ========================================= */
.about-section {
  padding: 80px 10%;
  background-color: #0d1117;
  text-align: center;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  background: #161b22;
  padding: 50px;
  border-radius: 12px;
  border: 1px solid #30363d;
}

.about-text p {
  color: #8b949e;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-text p strong {
  color: #c9d1d9;
}

.view-services-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 1.1rem;
}

.services-section {
  padding: 100px 10%;
  background-color: #0d1117;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: #c9d1d9;
  margin-bottom: 10px;
  letter-spacing: -1px;
}

.destaque-azul {
  color: #255ff1;
}

.section-subtitle {
  text-align: center;
  color: #8b949e;
  margin-bottom: 60px;
  font-size: 1.1rem;
}

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

.service-card {
  background-color: #161b22;
  border: 1px solid #30363b;
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.4s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: #58a6ff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.service-card:hover .icon-service {
  transform: scale(1.2);
}

.service-card h3 {
  color: #0084ff;
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.service-card p {
  color: #8b949e;
  line-height: 1.6;
  font-size: 0.95rem;
}

.service-card strong {
  color: #ff3131;
  display: block;
  margin-bottom: 10px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* =========================================
   TABELAS DE PREÇOS
   ========================================= */
.pricing-section {
  padding: 100px 10%;
  background-color: #0d1117;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
  align-items: center;
}

.pricing-card {
  background-color: #161b22;
  border: 1px solid #30363d;
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  transition: all 0.4s ease;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.pricing-card.popular {
  border-color: #255ff1;
  background-color: #1c2128;
  transform: scale(1.05);
  box-shadow: 0 10px 40px rgba(37, 95, 241, 0.3);
  z-index: 10;
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-12px);
}

.badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #255ff1;
  color: #fff;
  padding: 5px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-card h3 {
  color: #c9d1d9;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.price {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 15px;
}

.price .period {
  font-size: 1.2rem;
  color: #8b949e;
  font-weight: 400;
}

.plan-desc {
  color: #8b949e;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 30px;
  min-height: 50px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
  text-align: left;
}

.pricing-features li {
  color: #c9d1d9;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.pricing-features li.disabled {
  color: #6e7681;
}
.pricing-features li i {
  color: #238636;
}
.pricing-features li.disabled i {
  color: #f85149;
}

.pricing-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 15px;
  font-size: 1.1rem;
  font-weight: 600;
}

.popular-btn {
  background-color: #255ff1;
  color: #fff;
}

.popular-btn:hover {
  background-color: #1a4bc5;
}

/* =========================================
   RODAPÉ
   ========================================= */
.site-footer {
  background-color: #090c10;
  border-top: 1px solid #30363d;
  padding: 60px 10% 20px;
  color: #8b949e;
}

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

.footer-brand h2 {
  color: #c9d1d9;
  font-size: 1.8rem;
  margin-bottom: 15px;
  letter-spacing: -1px;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-links h3,
.footer-contact h3 {
  color: #c9d1d9;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: #8b949e;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: #58a6ff;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-contact h3 {
  margin-bottom: 0;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: #8b949e;
  transition: transform 0.3s ease;
}

.contact-link:hover {
  transform: translateX(8px);
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #161b22;
  border: 1px solid #30363d;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.contact-text {
  font-size: 0.95rem;
}

.whatsapp-link:hover .contact-icon {
  background-color: #25d366;
  border-color: #25d366;
  color: #fff;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}
.whatsapp-link .contact-icon {
  color: #25d366;
}

.email-link:hover .contact-icon {
  background-color: #58a6ff;
  border-color: #58a6ff;
  box-shadow: 0 5px 15px rgba(88, 166, 255, 0.4);
}

.social-icons {
  margin-top: 20px;
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #161b22;
  color: #c9d1d9;
  text-decoration: none;
  transition: 0.3s ease;
  border: 1px solid #30363d;
}

.social-icons a:hover {
  transform: translateY(-3px);
}
.social-icons a:nth-child(1):hover {
  background-color: #e1306c;
  border-color: #e1306c;
  color: #fff;
}
.social-icons a:nth-child(2):hover {
  background-color: #fff;
  border-color: #fff;
  color: #090c10;
}
.social-icons a:nth-child(3):hover {
  background-color: #0077b5;
  border-color: #0077b5;
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #21262d;
  font-size: 0.85rem;
  color: #6e7681;
}

/* =========================================
   RESPONSIVIDADE GERAL COMPLETA (MOBILE)
   ========================================= */
@media (max-width: 768px) {
  /* Trava global anti-vazamento (mobile) */
  * {
    max-width: 100%;
    word-wrap: break-word;
  }
  /* 1. HEADER E NAVEGAÇÃO */
  .navbar-container {
    padding: 15px 5%;
    position: relative;
  }

  header {
    padding-top: 0;
  }

  nav {
    flex-direction: column;
    gap: 15px;
  }

  .logo {
    height: 50px;
  }

  /* 2. O SEGREDO DO ALINHAMENTO DO MENU */
  .navbar-items {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 20px;
  }

  .navbar-items li {
    width: 100%;
    display: block; /* Mata a herança do desktop e força a ocupar a linha toda */
    text-align: center;
  }

  .dropdown {
    display: block;
  }

  .dropbtn {
    justify-content: center; /* Centraliza a palavra "Serviços" e a setinha */
  }

  .default-btn {
    display: block;
    width: 100%; /* O botão agora ocupa a tela toda de ponta a ponta */
    text-align: center;
    padding: 15px 0;
  }

  .dropdown-content {
    position: relative;
    top: 0;
    transform: none;
    min-width: 100%;
    box-shadow: none;
    border: none;
    background-color: transparent;
    padding-top: 15px;
  }

  .dropdown-content a {
    justify-content: center;
  }

  /* 3. BANNER (FIM DO VAZAMENTO LATERAL) */
  .main-banner {
    padding: 5rem 5% 3rem;
  }

  .main-banner .infomation p {
    font-size: 1rem; /* Diminuído para não quebrar a tela */
  }

  .main-banner h1 {
    font-size: 2.8rem;
  }

  .main-banner p {
    font-size: 1rem;
  }

  /* 4. SEÇÕES E ECOSSISTEMA */
  .ecosystem-bar {
    padding: 40px 5%;
  }

  .ecosystem-bar p {
    font-size: 0.9rem; /* reduz o tamanho da fonnte */
    letter-spacing: 1px; /* Diminui o espaçamento entre letras no celular */
    line-height: 1.5; /* Dá um leve respiro entre as linhas */
    margin-bottom: 25px;
  }
  .platforms-container {
    gap: 20px;
  }

  .about-section,
  .services-section,
  .pricing-section {
    padding: 60px 5%;
  }

  .about-content {
    padding: 30px 20px;
  }
  .section-title {
    font-size: 2rem;
  }
  .section-subtitle {
    margin-bottom: 40px;
  }

  /* 5. TABELA DE PREÇOS E RODAPÉ */
  .services-grid,
  .pricing-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .service-card,
  .pricing-card {
    width: 100%;
    padding: 50px 25px;
  }

  .service-card p,
  .pricing-card p {
    line-height: 1.8;
  }

  .pricing-card.popular {
    transform: scale(1); /* Tira o zoom no celular */
  }

  .pricing-card.popular:hover {
    transform: scale(1) translateY(-10px);
  }

  /* RODAPÉ */
  .site-footer {
    padding: 40px 5% 20px;
    text-align: center;
  }

  .footer-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .footer-bottom {
    text-align: center;
    font-size: 0.7rem;
  }

  .footer-contact {
    align-items: center;
  }
  .contact-list li {
    justify-content: center;
  }
  .social-icons {
    justify-content: center;
  }
}
