/* ########## ENSAIO aniversario */

.budget {
  font-size: 28px;
  line-height: 25px;
}

#aniversario.banner {
  background-image: url('../img/banner-ensaio-de-aniversario-estudio-cotia.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

#aniversario.banner h1 {
  font-size: 3rem;
  margin: 0;
  padding: 0;
  color: #fff;
}

#aniversario.banner p {
  font-size: 1.2rem;
  margin: 0;
  padding: 0;
  color: #fff;
  line-height: 1;
}

#aniversario.banner h2 {
  font-size: 3rem;
  margin: 0;
  padding: 0;
  color: #fff;
  line-height: 1.2;
}

h3.aniversario {
  margin: 0;
}

li.aniversario {
  list-style-type: disc; /* Assegura que cada <li> tenha um bullet */
  margin: 0 0 10px 30px;
}

.ensaio-corporativo h3{
  text-align: center;
  margin-top: 20px;
}

.container-aniversario {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* Espaço entre colunas */
  max-width: 1200px; /* Largura máxima do container */
  margin: 0 auto 20px; /* Centraliza o container na página */    
}

.column {
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Sombra leve */
  background-color: #fff;
  margin-bottom: 20px !important;
}

.container-aniversario .column {
  flex: 1 1 30%; /* Cada coluna ocupa aproximadamente 25% da largura do container */
  min-width: 200px; /* Largura mínima para cada coluna */
  box-sizing: border-box; /* Inclui padding e border na largura e altura total */
  margin-top: 20px;
  padding: 20px;

}

.container-aniversario .column img {
  max-width: 100%; /* Assegura que as imagens não excedam a largura da coluna */
  height: auto; /* Mantém a proporção da imagem */
  display: block; /* Remove o espaço inferior entre a imagem e o texto */
  margin-bottom: 10px; /* Espaço abaixo das imagens */
  border-radius: 5px;
}

.container-aniversario .column p {
  color: #000;
  padding: 0;
  line-height: 22px;
}

.container-aniversario .column h3 {
  color: #000;
  padding: 0 0 20px 0;
  font-size: 1.8em;
  letter-spacing: -2px;

}

.container-aniversario .column ul li{
  padding-bottom: 5px;
}

.column .content {
  display: flex; /* Para alinhar conteúdo lado a lado */
  flex: 1; /* Ocupa o espaço restante */
  margin-bottom: 20px;
}

.column .content {
  line-height: 19px;
  align-items: center;
}

.column .content h4  {
  line-height: 22px;
  font-size: 22px;
}

.column .content .left-image {
  margin-right: 20px; /* Espaçamento entre a imagem e o texto */
  max-width: 80px; /* Defina o tamanho máximo da imagem */
  height: 30%; /* Mantém a proporção da imagem */
  border-radius: 5px;
}

.column .content .text {
  flex: 1; /* Ocupa o espaço restante */
}

.container h2 {
  font-size: 1.8em;
  line-height: 1em;
  letter-spacing: -2px;
}

.small-images-row {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.small-images-row .small-image-column {
  flex: 1;
  padding: 5px;
}

.small-images-row .small-image-column img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

/* REGRA DA TABELA AJUSTADA PARA CENTRALIZAÇÃO NO DESKTOP */
table {
  border-collapse: collapse;
  width: 100%;
  max-width: 1000px; 
  margin: 20px auto; /* Centraliza a tabela no desktop */
  background-color: none;
  
  font-size: 11px; 
}
th, td {
  padding: 10px;
  text-align: center;
  border-bottom: 1px solid #ddd;
  border-radius: 10px; 
  overflow: hidden;
}
th {
  background-color: #2d2d2d;
  color: white;
  text-transform: uppercase;
}
tr:hover {
  background-color: #f1f1f1;
}

.table-caption {
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  margin-top: 15px;
}

.duvidas h3 {
  text-align: center;
}

.cta-button {
  display: block;
  width: 80%;
  max-width: 600px;
  margin: 20px auto;
  padding: 15px;
  text-align: center;
  background-color: #28a745;
  color: white;
  font-size: 16px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  text-decoration: none;
  line-height: 20px;
}
.cta-button:hover {
  background-color: #218838;
}

.cta-button-black {
  display: block;
  width: 80%;
  max-width: 600px;
  margin: 20px auto;
  padding: 15px;
  text-align: center;
  background-color: #000;
  color: white;
  font-size: 16px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  text-decoration: none;
  line-height: 20px;
}
.cta-button-black:hover {
  background-color: #222422;
}

/* ################################ */

/* Media Queries */
@media (max-width: 768px) {
  .container-aniversario .column {
      margin: 0 20px;
  }

  .ensaio-corporativo h3{
    text-align: left;
    margin-top: 20px;
  }

}

/* REGRA DO TABLE-RESPONSIVE PARA CENTRALIZAÇÃO NO DESKTOP */
.table-responsive {
  width: 100%;
  max-width: 1040px; 
  margin: 0 auto; 
  overflow-x: auto;
  padding: 0 20px;
  
}

/* Regra 'table' no mobile */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0; 
  font-size: 16px;
  text-align: center; 
  background-color: #FFF;
}

table thead {
  background-color: #f4f4f4;
  color: #333;
}

table th, table td {
  padding: 12px 15px;
  border: 1px solid #ddd;
  text-align: center; 
  vertical-align: middle;
}

table th {
  text-transform: uppercase;
  letter-spacing: 1px;
}

table tbody tr {
  background-color: #f4f4f4;
}

table tbody tr:nth-of-type(even) {
  background-color: none;
}

table tbody tr:hover {
  background-color: #f1f1f1;
}

table td {
  color: #555;
  line-height: 1.6;
}

table td:first-child {
  font-weight: bold;
  color: #333;
}

/* Estilo para destacar os pacotes */
.package-name {
  background-color: #000; 
  color: #fff !important; 
  font-weight: bold;
  text-transform: uppercase;
  padding: 15px 0;
  text-align: center;
}

.package-name1 {
  background-color: #83bbcd; 
  color: #fff !important; 
  font-weight: bold;
  text-transform: uppercase;
  padding: 15px 0;
  text-align: center;
  font-size: 20px;
}

.package-name2 {
  background-color: #3CB371; 
  color: #fff !important; 
  font-weight: bold;
  text-transform: uppercase;
  padding: 15px 0;
  text-align: center;
  font-size: 20px;
}

.package-name3 {
  background-color:#c0ab33; 
  color: #fff !important; 
  font-weight: bold;
  text-transform: uppercase;
  padding: 15px 0;
  text-align: center;
  font-size: 20px;
}

/* Custom styling for price and signal columns */
.price, .signal {
  color: #000;
}

.bonus {
  color: #b85c90;
  font-style: italic;
}

/* Responsiveness */
@media screen and (max-width: 768px) {
  table thead {
    display: none;
  }

  table, table tbody, table tr, table td {
    display: block;
    width: 100%;
    /* Removido text-align: left; daqui */
    background-color: #f4f4f4;
  }

  table tr {
    margin-bottom: 15px;
  }
  
  /* AJUSTE PARA CENTRALIZAR O CONTEÚDO DA CÉLULA NO MOBILE */
  table td {
    padding-left: 15px;
    position: relative;
    text-align: center; /* <--- NOVO: Centraliza o texto e conteúdo inline */
    background-color: #fff;
  }

  /* Corrige o data-label para continuar alinhado à esquerda para não sobrepor */
  table td::before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    width: 50%;
    padding-left: 15px;
    font-weight: bold;
    text-align: left; /* <-- NOVO: Mantém o rótulo à esquerda */
    color: #333;
  }

  /* AJUSTE PARA CENTRALIZAR AS LISTAS UL DENTRO DAS CÉLULAS NO MOBILE */
  table td ul {
    text-align: center;
    /* Remover o text-align: left que estava em NOVOS AJUSTES (linha 500), mas aqui o UL já fica com text-align: center; */
  }
  
  /* Ajuste para itens de lista (opcional, mas bom para blocos) */
  table td ul li {
    margin-left: auto;
    margin-right: auto;
  }

  .package-name {
    text-align: center; 
  }

  .oferta {
      color: rgb(8, 8, 8);
      font-weight: bold;
  }

  .cenarios{
      text-align: center !important;
  }

  .pacotes{
      text-align: center !important;
      padding: 10px 0
  }


} /* Fechamento do media query de mobile */

/* NOVOS AJUSTES PARA LISTAS DENTRO DA TABELA (MELHORA O VISUAL NO DESKTOP) */
table td ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left; /* Mantém alinhado à esquerda no DESKTOP */
  font-size: 14px;
}

table td ul li {
  margin: 5px 0; 
  line-height: 1.4;
  padding-left: 10px;
}

table th {
  font-size: 14px;
}