/* =======================================
   Background - Plano de fundo
   Tema: Fundo do Mar (Degradê Imersivo)
==========================================*/
body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  color: #ffffff;
  min-height: 100vh;
  background: linear-gradient(
         to bottom, 
        #F5F2E9 0%,    /* 1. Creme do topo (Cor de fundo superior do banner) */
        #E3E0D6 10%,   /* 2. Creme levemente sombreado */
        #A8C8D9 25%,   /* 3. Azul pálido (Transição / Cor das bolhas claras) */
        #5B91B2 40%,   /* 4. Azul médio (Intermediário) */
        #1E5E85 55%,   /* 5. Azul Vibrante (Cor principal do texto "Conferência") */
        #0E4263 70%,   /* 6. Azul Petróleo (Cor de fundo da onda principal) */
        #082B42 85%,   /* 7. Azul Profundo (Sombra da onda) */
        #031624 100%   /* 8. Escuridão total (Profundidade máxima) */
    );
  background-attachment: fixed;

}


/* HEADER */
.header {
  padding: 1px 10px;
  text-align: left;
  background: transparent;
}

.logo {
  height: 150px;
  max-width: 100%;
  top: 10px;
  left: 10px;
 
}

/* =============================
   BANNER / CARROSSEL
============================= */
.banner-carousel {
  width: 100%;
  max-height: 100vh;
  overflow: hidden;
  position: relative;
}

.slides {
  display: flex;
  transition: transform 0.8s ease-in-out;
}

.slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide img {
  max-width: 70%;              /* controla a largura máxima da imagem */
  max-height: 75vh;            /* controla altura do banner */
  object-fit: cover;
  display: block;
  border-radius: 20px;          /* opcional, para deixar mais elegante */
}

/* =============================
   CARROSSEL - PONTOS (DOTS)
============================= */
.carousel-dots {
  position: absolute;
  bottom: 20px; /* Distância do fundo */
  left: 50%;
  transform: translateX(-50%); /* Centraliza perfeitamente */
  display: flex;
  gap: 12px; /* Espaço entre as bolinhas */
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.4); /* Transparente */
  border: 2px solid #fff;
  border-radius: 50%; /* Faz virar bolinha */
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

.dot.active {
  background-color: #fff; /* Bolinha cheia quando ativa */
  transform: scale(1.2); /* Aumenta um pouquinho */
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

/* =============================
   CONTAINER E CARDS
============================= */
.container {
  max-width: 900px;
  margin: 20px auto;
  padding: 0 15px;
}

.event-info,
.description-card,
.ticket-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  padding: 25px;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 20px;
  color: #ffffff;
  box-sizing: border-box; /* Garante padding correto */
}

.event-info h2,
.description-card h2,
.ticket-card h2 {
  text-align: center;
  letter-spacing: 1px;
}

/* =============================
   BOTÕES GERAIS
============================= */
.btn-buy {
  background: linear-gradient(to right, #3ca5fb, #0c47ea);
  color: white;
  padding: 14px 25px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 10px;
  transition: 0.3s;
  width: 100%;
}

.btn-buy:hover {
  opacity: 0.85;
  transform: scale(1.02);
}

.btn-buy:disabled {
    background: #555;
    cursor: not-allowed;
    transform: none;
}

/* Botão adicionar criança */
.btn-add-child {
  padding: 10px;
  background: #0A3C52;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 15px;
  margin-top: 10px;
}
.btn-add-child:hover { opacity: 0.9; }

/* Botão remover criança */
.btn-remove-child {
  background: #A65374;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 10px;
  font-size: 14px;
}
.btn-remove-child:hover { opacity: 0.9; }

/* =============================
   REDES SOCIAIS
============================= */
.social-icons a {
  transition: color 0.3s;
  font-size: 40px;
  color: #ffffff;
  margin: 0 10px;
  text-decoration: none;
}
.social-icons a[href*="instagram"]:hover { color: #E1306C; }
.social-icons a[href*="youtube"]:hover   { color: #FF0000; }
.social-icons a[href*="facebook"]:hover  { color: #1877F2; }

/* =============================
   FORMULÁRIO
============================= */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 15px;
}

form label { font-weight: bold; }

form input,
form select {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.1);
  font-size: 16px;
  color: white;
  box-sizing: border-box;
}

form input::placeholder { color: #e3e3e3; }

.label-pergunta {
  font-weight: bold;
  margin-top: 10px;
}

/* =============================
   CORREÇÃO DOS BOTÕES SIM/NÃO
============================= */

/* 1. Garante que a bolinha não estique (sobrescreve a regra geral de inputs) */
input[type="radio"] {
  width: auto !important; /* Importante para não ficar gigante */
  margin: 0;
  margin-right: 10px; /* Espaço entre a bolinha e o texto */
  accent-color: #00d4ff; /* Cor da bolinha quando marcada (moderno) */
}

/* 2. Container que segura os dois botões */
.radio-group {
  display: flex;
  flex-direction: row; /* Garante que fiquem um ao lado do outro */
  gap: 15px; /* Espaço entre o botão Sim e o botão Não */
  width: 100%;
}

/* 3. O visual do botão inteiro (a caixa clicável) */
.radio-group label {
  display: flex;
  align-items: center; /* Centraliza verticalmente bolinha e texto */
  justify-content: center; /* Centraliza o conteúdo no meio do botão */
  
  background: rgba(255, 255, 255, 0.1); /* Fundo leve para parecer botão */
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 12px;
  border-radius: 8px;
  
  cursor: pointer;
  flex: 1; /* Faz Sim e Não dividirem o espaço igualmente (50% cada) */
  font-weight: normal;
  transition: all 0.2s ease;
}

/* Efeito ao passar o mouse ou selecionar */
.radio-group label:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #fff;
}

/* Área das crianças */
#children-area {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 15px;
}

.child-box {
  padding: 12px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  margin-bottom: 12px;
}

/* === CHECKBOX ESTILIZADO (LGPD) === */
.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: normal;
}
.custom-checkbox input { display: none; }
.custom-checkbox .checkmark {
  width: 18px;
  height: 18px;
  min-width: 18px; /* Impede encolhimento no mobile */
  border-radius: 4px;
  border: 2px solid #00d4ff;
  display: inline-block;
  position: relative;
}
.custom-checkbox input:checked + .checkmark {
  background-color: #00d4ff;
}

/* Checkmark icon (pseudo-element) */
.custom-checkbox .checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 5px;
  top: 1px;
  width: 4px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.custom-checkbox input:checked + .checkmark:after {
  display: block;
}

.link-politica {
  color: #00d4ff;
  text-decoration: underline;
}

/* ==== MODAL POLÍTICA ==== */
.modal {
  display:none;
  position: fixed;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.75);
  top:0; left:0;
  padding-top:60px;
  z-index: 2000; /* Acima de tudo */
}
.modal-content {
background: linear-gradient(
    to bottom,
    #099CB0 0%,    /* Início */
    #0682A1 25%,   /* Intermediário */
    #036F92 50%,   /* Meio */
    #015175 75%,   /* Profundo */
    #003458 100%   /* Fundo */
  );

  margin: auto;
  width: 85%;
  max-width: 600px;
  border-radius: 15px;
  padding: 25px;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  position: relative;
  max-height: 80vh; /* Scroll se for muito alto */
  overflow-y: auto;
}
.close-modal { 
    position: absolute;
    top: 15px;
    right: 20px;
    cursor: pointer; 
    font-size: 28px; 
    color: #fff;
}
.close-modal:hover { color: #ccc; }

/* =======================================
   ESTILO DE ERRO (LGPD)
==========================================*/
.erro-visual {
  border: 2px solid #ff4444 !important; /* Borda vermelha */
  background-color: rgba(255, 68, 68, 0.1) !important; /* Fundo avermelhado leve */
  animation: shake 0.4s ease-in-out; /* Animação de tremer */
  border-radius: 8px;
  padding: 10px; /* Garante que a borda não cole no texto */
}

/* Animação Shake (Tremida horizontal) */
@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-5px); }
  100% { transform: translateX(0); }
}

/* =============================
   MODAL DE SUCESSO / PAGAMENTO
============================= */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.btn-action {
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    transition: transform 0.2s;
    text-decoration: none; /* Caso use tag <a> */
}

.btn-action:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

.btn-pay {
    background: #00d4ff; /* Azul claro */
    color: #003458; /* Texto escuro para contraste */
}

.btn-group {
    background: #0c47ea; /* Azul escuro */
}


/* =======================================
   LINK DE PAGAMENTO DIRETO (Rodapé do Form)
==========================================*/
.link-pagamento-direto {
    text-align: center;      /* Centraliza o texto */
    margin-top: 20px;        /* Espaço para desgrudar do botão de enviar */
    font-size: 14px;         /* Tamanho discreto mas legível */
    color: #e3e3e3;          /* Cor do texto comum (cinza claro) */
}

.link-pagamento-direto a {
    color: #00d4ff;          /* Azul ciano (o mesmo do seu checkbox) */
    font-weight: bold;       /* Negrito para chamar atenção */
    text-decoration: none;   /* Remove o sublinhado padrão */
    transition: color 0.3s;
}

.link-pagamento-direto a:hover {
    color: #ffffff;          /* Fica branco ao passar o mouse */
    text-decoration: underline; /* Aparece o sublinhado ao passar o mouse */
}

/* =============================
   RESPONSIVIDADE
============================= */
@media (max-width: 1024px) {
  .slide img { max-height: 450px; }
  .container { max-width: 95%; }
}

@media (max-width: 768px) {
  .header { padding: 10px; }
  .logo {
    height: 80px;
    top: 5px;
    left: 5px;
  }
  .slide img { max-height: 320px; }
  .event-info, .description-card, .ticket-card { padding: 18px; }
  .social-icons a { font-size: 28px; }
  
}

@media (max-width: 480px) {
  body { font-size: 15px; }
    .slide img { 
      max-height: 85vh; /* Ocupa 85% da altura da tela do celular */
      max-width: 90%;  /* Usa a largura total, tirando a margem lateral */
      border-radius: 10px; /* Remove a borda redonda para colar nas laterais */
      object-fit: contain; /* Garante que o banner apareça inteiro sem cortar o texto */
}

  .container { padding: 0 10px; }
  .logo { height: 60px; }
}