/* ======= Base ======= */
:root{
  --brand:#0b7ef2;
  --brand-dark:#0868c4;
  --accent:#1bd760;
  --accent-dark:#18be54;
  --text:#0f172a;
  --card-bg:#ffffff;
  --shadow:0 8px 20px rgba(0,0,0,.08);
}


/* ======= Header / Nav ======= */
.site-header .topbar {
  background: var(--brand); color: #fff; display: flex; flex-direction: column; align-items: center;
  padding: 16px 20px 10px; position: relative;
}

.brand {
  margin: 0;
  letter-spacing: .5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  /* Você pode manter o font-size base aqui ou remover se as novas classes resolverem */
  /* font-size: 3rem; */
}

/* --- NOVO CÓDIGO AQUI --- */

/* Regra para CONTE e CONTO */

.shadows-into-light-regular {
  font-family: "Shadows Into Light", cursive;
  font-weight: 400;
  font-style: normal;
}
/* Adicione esta regra ao seu arquivo CSS */

.brand .fonte-diferente {
    font-family: 'Shadows Into Light', cursive; /* APLICA A FONTE DO GOOGLE FONTS */
    font-weight: 400; /* Peso normal para esta fonte */
}

.brand .palavra-grande {
  font-size: 1.0em; /* Valor aumentado para ficar maior que o original */
  font-weight: 800;
}

/* Regra para o UM */
.brand .palavra-pequena {
  font-size: 0.7em; /* Mantém menor */
  font-weight: 800; /* Deixa o 'UM' mais fino */
  vertical-align: middle;
  margin: 0 3px; /* Espaço nas laterais */
}



/* Botões também como <a> */
.btn{
  display:inline-flex;           /* faz width funcionar em <a> */
  align-items:center;
  justify-content:center;        /* centraliza o texto */
  text-decoration:none;          /* remove sublinhado */
  border:0;
  border-radius:10px;
  padding:14px 22px;
  font-weight:800;
  cursor:pointer;
  transition:transform .08s ease, filter .2s ease, background .2s ease;
  box-shadow:var(--shadow);
}

/* garantir que nunca sublinhe nem mude a cor do primário */
.btn:link,
.btn:visited,
.btn:hover,
.btn:active{ text-decoration:none; }

.btn-primary,
.btn-primary:link,
.btn-primary:visited{ color:#fff; }

/* já existia, mantém 100% no card */
.card .btn{ width:100%; }

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{font-family:system-ui,-apple-system,'Segoe UI',Roboto,Arial,Helvetica,sans-serif;
  color:var(--text); background:#f6f8fb; line-height:1.4;}

/* ======= Header / Nav ======= */
.site-header .topbar{
  background:var(--brand); color:#fff; display:flex; flex-direction:column; align-items:center;
  padding:16px 20px 10px; position:relative;
}
.brand{margin:0; letter-spacing:.5px; font-weight:800;}
.nav{display:flex; gap:28px; margin-top:8px; flex-wrap:wrap; justify-content:center;}
.nav a{color:#e6f2ff; text-decoration:none; font-weight:600; padding:6px 2px; position:relative;}
.nav a::after{content:''; position:absolute; left:0; bottom:-3px; height:2px; width:0; background:#fff; transition:width .2s ease;}
.nav a:hover::after{ width:100% }

/* ======= Hamburger (mobile) ======= */
.hamburger{display:none; width:44px; height:38px; background:transparent; border:0; cursor:pointer;
  position:absolute; right:12px; top:12px;}
.hamburger span{display:block; height:3px; margin:6px 0; background:#fff; border-radius:2px;
  transition:transform .25s ease, opacity .25s ease;}
.hamburger.is-open span:nth-child(1){ transform: translateY(9px) rotate(45deg); }
.hamburger.is-open span:nth-child(2){ opacity:0; }
.hamburger.is-open span:nth-child(3){ transform: translateY(-9px) rotate(-45deg); }



/* ======= BARRA AZUL COM MENUS ======= */

@media (max-width:880px){
  .hamburger{ display:block; }
.nav{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  width:100%;
  gap:18px;
  background:var(--brand);

  max-height:0;
  overflow:hidden;
  padding:0 22px;

  transition:max-height .3s ease, padding .3s ease;
}

.nav a{
  display:block;
  width:100%;
}
  .nav.open{ max-height:500px; padding:20px 0 22px; }
}





/* ======= Hero ======= */
.hero{
  min-height:360px; display:grid; align-items:center;
  /* Removido o degradê azul: fica só a imagem */
  background: url('assets/hero.jpg') top center/cover no-repeat;
  color:#fff;
}
.hero-inner{ width:min(1100px,92%); margin-inline:auto; padding:28px 0 44px; }
.hero h2{ font-size:clamp(15px, 4.2vw, 54px); font-weight:900; letter-spacing:.5px; margin:0 0 18px 0;
  text-shadow:0 2px 0 rgba(0,0,0,.15); }


@media (min-width: 1600px) {
  .hero {
    /* Move a imagem 15px para cima a partir do topo */
    background-position: center calc(0% - 60px);
  }
}


/* Preço destacado no botão (maior e rosa) */
.price{
  font-weight:900;
  font-size:1.25em;     /* maior */
  color:#ff3b9d;        /* rosa */
  margin-left:8px;      /* respiro do texto antes */
}

.btn:active{ transform:translateY(1px) }
.btn-cta{ background:var(--accent); color:#062c17; }
.btn-cta:hover{ background:var(--accent-dark) }
.btn-primary{ background:var(--brand); color:#fff; }
.btn-primary:hover{ background:var(--brand-dark) }

/* ======= Catalog ======= */
.catalogo{ width:min(1100px,92%); margin:40px auto 80px; }
.catalogo h3{ text-align:center; font-size:20px; color:#2083ff; text-transform:uppercase; letter-spacing:.6px; margin:6px 0 20px; }
.grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:26px; }
.card{ background:var(--card-bg); border-radius:14px; box-shadow:var(--shadow); padding:16px; display:flex; flex-direction:column; align-items:center; }
.card img{ width:100%; aspect-ratio:1/1; object-fit:cover; border-radius:12px; display:block; }
.card h4{ margin:12px 0 10px; font-size:14px; letter-spacing:.4px; text-transform:uppercase; text-align:center; min-height:36px; display:flex; align-items:center; justify-content:center; }

/* ======= Footer ======= */
.footer{ background:var(--brand); color:#fff; text-align:center; padding:24px 16px; }

/* ======= Responsive ======= */
@media (max-width:980px){ .grid{ grid-template-columns: repeat(2, 1fr);} }
@media (max-width:620px){ .grid{ grid-template-columns:1fr;} .nav{ gap:16px } .brand{ font-size:22px } }

/* ======= Paginação ======= */
.pager{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:8px;
  margin:24px 0 0;
}

.page-btn{
  border:0;
  padding:10px 14px;
  border-radius:8px;
  background:#e9f2ff;
  color:var(--brand);
  font-weight:800;
  cursor:pointer;
  box-shadow:var(--shadow);
}

.page-btn.is-active{
  background:var(--brand);
  color:#fff;
}

.page-btn:disabled{
  opacity:.55;
  cursor:not-allowed;
}
/* Estilos do Modal */
.modal {
  display: none; /* Escondido por padrão */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* Fundo escuro */
  backdrop-filter: blur(4px); /* Efeito de desfoque */
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 30px;
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.close-button {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 28px;
  font-weight: bold;
  color: #aaa;
  cursor: pointer;
}

.close-button:hover { color: var(--brand); }


.like-container {
  width: 100%;
  display: flex;
  justify-content: flex-end; /* Alinha à direita como na imagem */
  margin-bottom: 10px;
}

.btn-like {
  background-color: #ff707a; /* Cor rosa/avermelhada da imagem */
  color: white;
  border: none;
  border-radius: 7px;
  padding: 3px 8px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.2s;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-like:active {
  transform: scale(0.95);
}

.heart-icon {
  font-size: 1.2rem;
}
.titulo-like-wrapper {
  display: flex;
  align-items: center;      /* Alinha o texto e o botão verticalmente ao centro */
  justify-content: center; /* Centraliza o conjunto no card */
  gap: 5px;                /* Espaçamento entre o título e o botão */
  width: 100%;
  margin-bottom: 10px;
}

/* Ajuste o h4 para não ocupar a linha inteira */
.card h4 {
  margin: 0; 
  text-align: left;
  min-height: auto;
}

/* Ajuste a like-container para não empurrar tudo */
.like-container {
  width: auto;
  margin-bottom: 0;
}





/* =========================
   MODAL CADASTRO
========================= */

#modalCadastro{
  display:none;
  position:fixed;
  z-index:9999;
  left:0;
  top:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.65);

  backdrop-filter: blur(4px);

  align-items:center;
  justify-content:center;
}


/* CAIXA */

#modalCadastro .modal-content{

  width:90%;
  max-width:420px;

  background:#fff;

  border-radius:24px;

  padding:35px 30px;

  position:relative;

  box-shadow:
    0 10px 40px rgba(0,0,0,0.25);

  animation: abrirModal .25s ease;
}


/* TÍTULO */

#modalCadastro h2{

  font-size:28px;

  margin-bottom:25px;

  text-align:center;

  color:#222;
}


/* INPUTS */

#modalCadastro input{

  width:100%;

  padding:16px;

  border:none;

  border-radius:14px;

  background:#f3f3f3;

  margin-bottom:16px;

  font-size:16px;

  outline:none;

  transition:.2s;
}


#modalCadastro input:focus{

  background:#ececec;

  transform:scale(1.02);
}


/* BOTÃO */

#btnCadastrar{

  width:100%;

  border:none;

  padding:16px;

  border-radius:16px;

  cursor:pointer;

  font-size:16px;

  font-weight:700;

  color:#fff;

  background:linear-gradient(
    135deg,
    #ff8c42,
    #ff5e62
  );

  transition:.2s;
}


#btnCadastrar:hover{

  transform:translateY(-2px);

  opacity:.95;
}


/* MENSAGEM */

#cadMsg{

  margin-top:16px;

  text-align:center;

  font-size:15px;

  font-weight:600;
}


/* FECHAR */

#fecharCadastro{

  position:absolute;

  right:18px;

  top:12px;

  font-size:32px;

  cursor:pointer;

  color:#666;

  transition:.2s;
}


#fecharCadastro:hover{

  transform:scale(1.1);

  color:#000;
}


/* ANIMAÇÃO */

@keyframes abrirModal{

  from{

    opacity:0;

    transform:
      translateY(20px)
      scale(.95);
  }

  to{

    opacity:1;

    transform:
      translateY(0)
      scale(1);
  }
}


/* Estilização do Modal de Planos */




.planos-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.plano-card {
  flex: 1;
  min-width: 250px;
  padding: 20px;
  border-radius: 20px;
  text-align: center;
  transition: transform 0.3s;
  border: 3px solid transparent;
}

.plano-card:hover {
  transform: translateY(-10px);
}

.plano-card.individual { background: #e0f7fa; border-color: #4dd0e1; }
.plano-card.escola { background: #f3e5f5; border-color: #ba68c8; }

.emoji-topo { font-size: 50px; margin-bottom: 10px; }

.plano-card h3 { font-size: 20px; margin-bottom: 15px; color: #333; }

.plano-card .preco {
  font-size: 28px;
  font-weight: 900;
  color: #ff3b9d;
  margin-bottom: 15px;
}

.plano-card .preco span { font-size: 14px; color: #666; }

.beneficios {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-bottom: 20px;
}

.beneficios li {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
}

.btn-assinar {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 0 #15803d;
}

.btn-assinar:active { transform: translateY(3px); box-shadow: none; }


/* Ajuste apenas na caixa e no título */
.modal-infantil {
    background: #ffffff !important; /* Fundo branco */
    border: none !important;        /* Retira o contorno amarelo */
    max-width: 750px !important;
}

/* Ajuste no título */
.modal-infantil .fonte-diferente {
    font-size: 26px !important;    /* Letra menor */
    color: #000000 !important;      /* Cor preta */
    text-align: center;
    margin-bottom: 25px;
}

/* Ajuste apenas na cor do botão dentro do plano */
.plano-card .btn {
    background: var(--accent) !important; /* Cor verde padrão do seu site */
    color: #062c17 !important;            /* Texto escuro para contraste */
}



/* Adicione isso ao seu styles.css */
#modalPlanos {
  overflow-y: auto; /* Ativa a rolagem vertical */
  display: none;    /* Mantém escondido por padrão */
  align-items: flex-start; /* Alinha ao topo para não cortar conteúdo */
  padding: 20px 0;
}

.modal-infantil {
  margin: 20px auto; /* Garante margem em telas pequenas */
  max-height: none;  /* Permite que a caixa cresça conforme o conteúdo */
}


/* ===== MODAIS COM ROLAGEM ===== */

.modal{
  overflow-y: auto;
  padding: 20px;
}

.modal-content{
  max-height: 90vh;
  overflow-y: auto;
}

/* Barra de rolagem bonita */
.modal-content::-webkit-scrollbar{
  width: 8px;
}

.modal-content::-webkit-scrollbar-thumb{
  background: #bdbdbd;
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-track{
  background: transparent;
}

