/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Baloo 2', cursive;
    background: linear-gradient(to bottom, #ebf5ff, #ffffff);
    color: #333;
  }
  
  .wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
  }
  
  header {
    background: linear-gradient(to right, #8b5cf6, #ec4899);
    color: white;
  }
  
  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    flex-wrap: wrap;
  }
  
  .logo {
    font-size: 24px;
    font-weight: bold;
  }
  
  nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
  }
  
  nav a {
    text-decoration: none;
    color: white;
    font-weight: 600;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #9333ea;
    margin-bottom: 40px;
  }
  
  .hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
  }
  
  .hero-text {
    flex: 1 1 300px;
  }
  
  .hero-img {
    flex: 1 1 300px;
    display: flex;
    justify-content: center;
  }
  
  .hero-title {
    font-size: 40px;
    font-weight: 900;
    color: #2563eb;
    line-height: 1.2;
    margin-bottom: 24px;
  }
  
  .hero-subtext {
    font-size: 18px;
    color: #444;
    max-width: 600px;
    margin-bottom: 32px;
  }
  
  .buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .btn {
    padding: 10px 20px;
    border-radius: 100px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
  }
  
  .btn.filled {
    background: linear-gradient(to right, #3b82f6, #8b5cf6);
    color: white;
    border: none;
  }

  .btn.filled-entrar {
    background: white;
    color: #9333ea;
    border: none;
  }
  
  .btn.outline {
    border: 2px solid #9333ea;
    color: #9333ea;
    background: transparent;
  }
  
  .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
  }
  
  .card {
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  }
  
  .card-blue { background-color: #e7f0ff; }
  .card-purple { background-color: #f3ebff; }
  .card-pink { background-color: #ffeef3; }
  .text-blue { color: #2563eb; font-weight: bold; }
  .text-purple { color: #9333ea; font-weight: bold; }
  .text-pink { color: #e11d48; font-weight: bold; }
  
  .card img {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
  }
  
  .benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
  }
  
  .benefit {
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    flex: 1 1 200px;
    max-width: 260px;
    font-weight: bold;
  }
  
  .benefit img {
    width: 32px;
    height: 32px;
    margin-bottom: 12px;
  }
  
  .benefit-yellow { background-color: #fffbea; }
  .benefit-green { background-color: #ecfff3; }
  .benefit-blue { background-color: #e8f5ff; }
  .benefit-purple { background-color: #f2ebff; }
  
  .contact-box {
    display: flex;
    flex-wrap: wrap;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  }
  
  .contact-info {
    flex: 1 1 300px;
    padding: 40px;
    background: linear-gradient(to bottom right, #3b82f6, #8b5cf6);
    color: white;
  }
  
  .contact-info h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
  }
  
  .contact-info ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
  }
  
  .contact-info li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
  }
  
  .contact-form {
    flex: 1 1 300px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .contact-form input,
  .contact-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    width: 100%;
  }
  
  .contact-form label {
    font-weight: 600;
    margin-top: 8px;
  }
  
  .btn.gradient {
    background: linear-gradient(to right, #3b82f6, #8b5cf6);
    color: white;
    border: none;
  }
  
  footer {
    background: linear-gradient(to right, #8b5cf6, #ec4899);
    color: white;
    padding: 40px 0;
  }
  
  .footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .footer .social a {
    color: white;
    margin-left: 16px;
    text-decoration: none;
    font-weight: 600;
  }

  .btn-assinatura {
    background: white;
    color: #8b5cf6;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    margin-left: 16px;
    text-decoration: none;
  }
  
  .btn-login {
    background: #ffffff33;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    margin-left: 16px;
    text-decoration: none;
  }

  .modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
  }
  
  .modal.hidden {
    display: none;
  }

  .modal-header-background {
    background: linear-gradient(to right, #8b5cf6, #ec4899);
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0px 10px 0px;
    position: relative;
    color: white;
  }
  
  /* Modal Container */
  .modal-content {
    background: white;
    border-radius: 16px;
    max-width: 400px;
    width: 90%;
    font-family: 'Baloo 2', cursive;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  }
  
  .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* Input estilizado */
.modal-content input[type="text"],
.modal-content input[type="email"],
.modal-content input[type="password"] {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 15px;
  width: 100%;
  outline: none;
}
  
  /* Logo */
  .modal-header img {
    height: 40px;
    object-fit: contain;
  }
  
  .modal-header {
    font-size: 24px;
    cursor: pointer;
  }

  .close {
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 0px;
  }
  
  .tabs {
    display: flex;
    justify-content: center;
    margin-top: 16px;
  }
  
  .tabs .tab {
    flex: 1;
    padding: 12px;
    background: none;
    border: none;
    font-weight: bold;
    cursor: pointer;
    border-bottom: 2px solid transparent;
  }
  
  .tabs .tab.active {
    border-bottom: 2px solid #3b82f6;
  }
  
  .formulario {
    padding: 20px;
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .formulario.hidden {
    display: none;
  }
  
  /* Botão principal */
  .btn-primary {
    background: linear-gradient(to right, #3b82f6, #9333ea);
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
  }

  .btn-primary:hover {
    opacity: 0.9;
  }
  
  /* Link menor */
  .alternar, .alternar a {
    font-size: 14px;
    text-align: center;
    color: #555;
  }

  .modal-filho {
    display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  }
  
  .modal-conteudo.filho {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    margin: 10% auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    text-align: center;
    position: relative;
  }
  
  .modal-conteudo.filho h2 {
    margin-bottom: 20px;
    color: #333;
    font-weight: bold;
  }
  
  .modal-conteudo.filho input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
  }
  
  .modal-conteudo.filho .btn-primary {
    background: linear-gradient(to right, #6a11cb, #2575fc);
    color: white;
    border: none;
    padding: 12px;
    width: 100%;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
  }
  
  .modal-conteudo.filho .btn-primary:hover {
    filter: brightness(1.1);
  }
  
  .fechar {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
  }
  
  .mensagem-erro {
    color: red;
    margin-top: 10px;
    font-size: 14px;
  }

  .user {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
  }
  
  .user-area {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    position: relative;
  }
  
  .avatar {
    background: #2196f3;
    color: white;
    font-weight: bold;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    text-align: center;
    line-height: 32px;
  }
  
  .user-menu {
    position: absolute;
    width: 100px;
    top: 40px;
    right: 0;
    background: white;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 100;
  }

  .user-menu a {
    display: block;
    margin-bottom: 6px;
    text-decoration: none;
    color: #333;
  }
  
  .user-menu.hidden {
    display: none;
  }
  
  .modal-kidsdo {
    display: none; /* Escondido por padrão - a classe 'hidden' também controla isso */
    position: fixed; /* Fica fixo na tela */
    z-index: 1000; /* Fica na frente de outros elementos */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Permite rolagem se o conteúdo for grande */
    background-color: rgba(0,0,0,0.6); /* Fundo escurecido */
    /* Usando Flexbox para centralizar o conteúdo do modal */
    align-items: center;
    justify-content: center;
}

.modal-kidsdo.hidden {
    display: none;
}
.modal-kidsdo:not(.hidden) {
    display: flex; /* Para habilitar o Flexbox quando não estiver escondido */
}

.modal-conteudo-kidsdo {
    background-color: #ffffff;
    margin: auto; /* Centraliza verticalmente com Flexbox */
    padding: 25px 35px;
    border: 1px solid #ddd;
    width: 90%;
    max-width: 550px; /* Largura máxima */
    border-radius: 12px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation-name: animatetop;
    animation-duration: 0.5s;
}

/* Animação simples de surgimento */
@keyframes animatetop {
    from {top: -100px; opacity: 0}
    to {top: 0; opacity: 1}
}

.fechar-modal-kidsdo {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    font-weight: bold;
}

.fechar-modal-kidsdo:hover,
.fechar-modal-kidsdo:focus {
    color: #333;
    text-decoration: none;
    cursor: pointer;
}

.modal-conteudo-kidsdo h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #6A44B4; /* Um roxo da sua paleta de cores do site */
    font-size: 1.8em; /* Deixa o "Parabéns" bem grande */
}

.modal-conteudo-kidsdo p {
    margin-bottom: 18px;
    line-height: 1.7;
    font-size: 1.1em;
    color: #555;
}

.btn-modal-ok {
    background-color: #E94E77; /* Rosa da sua paleta de cores */
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.btn-modal-ok:hover {
    background-color: #d83a65; /* Um tom mais escuro para o hover */
}

.btn-assinatura-header {
  display: inline-block; /* Or inline-flex */
  padding: 8px 15px; /* Adjust padding */
  margin-left: 15px; /* Space from previous element */
  background-color: #FFD700; /* Gold color - stands out */
  color: #333; /* Dark text for contrast on gold */
  border: none;
  border-radius: 20px; /* Rounded pill shape */
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em; /* Adjust size */
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-assinatura-header:hover {
  background-color: #FFC700; /* Slightly darker gold on hover */
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}
  
  /* Responsivo */
  @media (max-width: 768px) {
    .hero {
      flex-direction: column;
      text-align: center;
    }
    .hero-title {
      font-size: 32px;
    }
    .hero-subtext {
      font-size: 16px;
    }
    .buttons {
      justify-content: center;
    }
    .contact-box {
      flex-direction: column;
    }
    .footer {
      flex-direction: column;
      text-align: center;
    }
    nav {
      justify-content: center;
      width: 100%;
      margin-top: 10px;
    }
    .user-area span {
        display: none;
      }
  }