/* Base Styles and Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
}

.container {
  width: 100%;
  max-width: 1200px; /* Limita a largura máxima para não ficar muito esticado em telas grandes */
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  background-color: #3498db;
  color: white;
  padding: 20px 0;
}

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

.logo-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 10%;
}

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

.logo-img {
  width: 40px;
  height: auto;
  max-width: 100%;
}

h1 {
  margin: 0;
  font-size: 1.75rem;
  color: black;
}

.subtitulo {
  margin: 0.25em 0 0 3em;
  font-size: 18px;
  color:#fff;
}

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

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text h1 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: -5px;
}

.logo-text p {
  font-size: 0.9rem;
  font-weight: 400;
}

.menu ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

.menu a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 18px;
  transition: opacity 0.3s ease;
}

.menu a:hover {
  opacity: 0.8;
}

/* Main Content Styles */
.main {
  padding: 60px 0;
}

/* Pricing Table Styles */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background-color: white;
  margin: 0 auto; /* centraliza a tabela */
  table-layout: auto; /* para deixar a tabela mais fluida */
}

/* Cabeçalho */
.pricing-table thead th {
  background-color: #3498db;
  color: white;
  padding: 20px 10px;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
}

/* Colunas do cabeçalho com planos */
.pricing-table thead th:first-child {
  background-color: transparent;
  color: #333;
  text-align: left;
  padding-left: 20px;
  font-weight: 600;
  font-size: 1rem;
}

/* Corpo da tabela */
.pricing-table tbody tr:nth-child(odd) {
  background-color: #f9f9f9;
}

.pricing-table tbody tr:hover {
  background-color: #e6f0fa;
}

/* Células da tabela */
.pricing-table tbody th,
.pricing-table tbody td {
  padding: 15px 10px;
  text-align: center;
  font-size: 0.9rem;
  vertical-align: middle;
}

/* Primeira coluna do corpo (nomes dos recursos) */
.pricing-table tbody th {
  text-align: left;
  font-weight: 600;
  padding-left: 20px;
  color: #333;
}

/* Planos e preços dentro do cabeçalho */
.plan-type {
  font-size: 0.85rem;
  font-weight: 600;
  color: #ddd;
  margin-bottom: 5px;
}

.plan-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
}

/* Ponto azul indicador */
.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: #3498db;
  border-radius: 50%;
}

/* Botão responsivo */
.btn {
  max-width: 100%;
  box-sizing: border-box;
}

/* Footer Styles */
.footer {
  background-color: #3498db;
  color: white;
  padding: 40px 0 20px;
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.footer-logo h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: -5px;
}

.footer-info {
  margin-top: 20px;
}

.footer-info p {
  margin: 10px 0;
  font-size: 0.9rem;
}

.footer-info a {
  color: white;
  text-decoration: none;
}

.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* melhora scroll no iOS */
}


/* Responsive Styles */
@media (max-width: 900px) {
  .pricing-table thead th,
  .pricing-table tbody td,
  .pricing-table tbody th {
    padding: 12px 8px;
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .header .container {
    flex-direction: column;
    gap: 20px;
  }
  
  .menu ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .pricing-table thead th,
  .pricing-table tbody td,
  .pricing-table tbody th {
    font-size: 0.8rem;
    padding: 10px 6px;
  }

  .plan-price {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .pricing-table {
    display: block;
    width: 100%;
    border: 0;
  }

  .pricing-table thead {
    display: none;
  }

  .pricing-table tbody,
  .pricing-table tr {
    display: block;
    width: 100%;
  }

  .pricing-table tbody tr {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: white;
    padding: 10px;
  }

  .pricing-table td,
  .pricing-table th {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    font-size: 0.85rem;
    border: none;
    width: 100%;
  }

  .pricing-table td::before,
  .pricing-table th::before {
    content: attr(data-label);
    font-weight: 600;
    flex: 1;
    color: #555;
    text-align: left;
    margin-right: 10px;
  }

  .pricing-table td {
    flex-direction: row;
  }

  .pricing-table td:last-child {
    border-bottom: none;
  }
}
