/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: #222;
  background-color: #fafafa;
  line-height: 1.6;
}

/* ===== VARIÁVEIS ===== */
:root {
  --roxo: #5c15ea;
  --azul-claro: #10c8ff;
  --azul-medio: #4993ff;
  --branco: #fafafa;
}

/* ===== CONTAINERS ===== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ===== HEADER ===== */
.header {
  background: var(--roxo);
  color: var(--branco);
  padding: 1rem 0;
  position: static !important;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo {
  height: 55px;
  border-radius: 10px;
  transition: transform 0.3s;
}

.logo:hover {
  transform: scale(1.05);
}

.nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 0;
}

.nav a {
  color: var(--branco);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s, border-bottom 0.2s;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a.active {
  opacity: 0.9;
  border-bottom: 2px solid var(--azul-claro);
}

.btn-whatsapp {
  background: var(--azul-claro);
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s, transform 0.2s;
}

.btn-whatsapp:hover {
  background: var(--azul-medio);
  transform: translateY(-2px);
}

/* ===== MENU MOBILE ===== */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--branco);
  font-size: 2rem;
  cursor: pointer;
}

/* Responsivo */
@media (max-width: 768px) {
  .nav {
    display: none;
    width: 100%;
  }

  .nav.active {
    display: block;
    background: var(--roxo);
    text-align: center;
    margin-top: 1rem;
  }

  .nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .menu-toggle {
    display: block;
  }

  .btn-whatsapp {
    margin-top: 1rem;
  }
}

/* ===== BOTÕES ===== */
.btn-whatsapp,
.btn-primary,
.btn-secondary {
  display: inline-block;
  background: var(--azul-claro);
  color: #fff;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.btn-whatsapp:hover,
.btn-primary:hover,
.btn-secondary:hover {
  background: var(--azul-medio);
}

.btn-secondary {
  background: var(--roxo);
}

/* ===== SEÇÕES ===== */
section {
  padding: 4rem 2rem;
}

section h2 {
  color: var(--roxo);
  margin-bottom: 1rem;
  text-align: center;
  font-size: 1.9rem;
}

/* ===== CURSOS ===== */
.curso-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.curso-card {
  background: #fff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  width: 300px;
  text-align: center;
  transition: transform 0.3s;
}

.curso-card:hover {
  transform: translateY(-5px);
}

/* ===== GALERIA ===== */
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

/* ===== Cursos com Imagem Sobreposta ===== */
.curso-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}

.curso-card {
  position: relative;
  width: 350px;
  height: 300px;
  border-radius: 15px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.curso-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Imagens específicas */
.curso-card.kids {
  background-image: url('imgs/kids.png');
}

.curso-card.teens {
  background-image: url('imgs/teens.png');
}

.curso-card.adults {
  background-image: url('imgs/adults.png');
}

/* Overlay com conteúdo */
.curso-card .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  transition: background 0.3s;
}

.curso-card:hover .overlay {
  background: rgba(0,0,0,0.65);
}

.curso-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.curso-card p {
  font-size: 1rem;
  max-width: 280px;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.curso-card .btn-secondary {
  background: var(--azul-claro);
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.7rem 1.4rem;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
}

.curso-card .btn-secondary:hover {
  background: var(--azul-medio);
  transform: scale(1.05);
}

/* ===== GALERIA DE IMAGENS ===== */

/* Padronização das imagens da galeria */
.galeria-grid img {
  width: 100%;
  height: 220px;     /* <-- altura padrão */
  object-fit: cover; /* <-- mantém proporção bonita */
  border-radius: 12px;
  transition: transform 0.3s;
}

.galeria-grid img:hover {
  transform: scale(1.03);
}

/* ===== VÍDEO ===== */
.video-section {
  text-align: center;
  margin-top: 3rem;
}

.video-section h3 {
  color: var(--roxo);
  margin-bottom: 1rem;
  text-align: center; /* centraliza o título */
}

.video-section video {
  width: 300px; /* ajuste o tamanho do vídeo */
  max-width: 100%;
  border-radius: 12px;
  display: block;
  margin: 0 auto; /* centraliza o vídeo */
}

/* ===== DEPOIMENTOS ===== */
.depoimentos {
  background: #fafafa;
  padding: 4rem 2rem;
  text-align: center;
}

.depoimentos h2 {
  color: var(--roxo);
  font-size: 2rem;
  margin-bottom: 2.5rem;
}

/* GRADE 2x2 FIXA */
.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 3rem; /* espaçamento entre colunas e linhas */
  justify-items: center;
  align-items: start;
}

/* ITEM DEPOIMENTO */
.depoimento-item {
  text-align: center;
  max-width: 300px;
}

/* IMAGENS AJUSTADAS */
.depoimento-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* EFEITO HOVER */
.depoimento-item img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* TEXTO ABAIXO DAS IMAGENS */
.depoimento-item p {
  margin-top: 0.8rem;
  color: #444;
  font-size: 0.95rem;
  line-height: 1.5;
  padding: 0 0.5rem;
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
  .depoimentos-grid {
    grid-template-columns: 1fr; /* em telas menores, fica 1 por linha */
    gap: 1.5rem;
  }

  .depoimento-item {
    max-width: 90%;
  }

  .depoimento-item img {
    height: 220px;
  }

  .depoimento-item p {
    font-size: 0.9rem;
  }
}

/* ===== FAQ ===== */
.faq-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 1rem;
  padding: 1.2rem;
}

.faq-item h3 {
  color: var(--azul-medio);
  cursor: pointer;
}

.faq-item p {
  margin-top: 0.5rem;
  display: none;
}

.faq-item.active p {
  display: block;
}

/* ===== CONTATO ===== */
#contato {
  background: var(--branco);
  color: #000000;
  text-align: center;
  padding: 5rem 2rem;
  border-radius: 12px;
  margin-top: 3rem;
}

#contato h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

#contato p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

#contato .btn-contato {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s, transform 0.2s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

#contato .btn-contato:hover {
  background: #20b85a;
  transform: translateY(-3px);
}

#contato .btn-contato img {
  filter: brightness(0) invert(1);
}

#contato .info-extra {
  font-size: 0.9rem;
  margin-top: 1.5rem;
  opacity: 0.9;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
  .nav ul {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .banner h1 {
    font-size: 2rem;
  }

  .curso-card {
    width: 100%;
  }
}

/* ===== ANIMAÇÕES ===== */
section,
.curso-card,
.depoimento-card {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== DEPOIMENTOS COM IMAGENS ===== */
.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.depoimento-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: left;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.depoimento-card img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.depoimento-card p {
  font-style: italic;
  margin-bottom: 0.4rem;
  color: #333;
}

/* ===== PÁGINAS INTERNAS ===== */
.header-simple {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  text-align: center;
}

.header-simple h1 {
  color: var(--branco);
  font-size: 1.5rem;
  font-weight: 600;
}

.programa {
  padding: 4rem 2rem;
  text-align: center;
  background-color: #fafafa;
}

.programa h2 {
  color: var(--roxo);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.programa p {
  max-width: 800px;
  margin: 1rem auto;
  font-size: 1rem;
  line-height: 1.6;
}

.programa-img {
  width: 100%;
  max-width: 700px;
  margin: 2rem auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: block;
}

/* ===== RODAPÉ ===== */
.footer {
  background: var(--roxo);
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
}

.footer strong {
  color: var(--azul-claro);
}

.footer {
  background-color: var(--roxo); /* roxo principal */
  color: var(--branco); /* texto branco */
  padding: 40px 20px 20px 20px;
  font-family: 'Montserrat', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.footer-column {
  flex: 1 1 200px;
}

.footer-column h3 {
  font-weight: 600;
  margin-bottom: 10px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 6px;
}

.footer-column ul li a {
  color: var(--branco); /* agora todos os links são brancos */
  text-decoration: none;
}

.footer-column ul li a:hover {
  text-decoration: underline;
}

.footer-redes a {
  display: inline-block;
  margin-right: 10px;
  margin-top: 5px;
  padding: 8px 14px;
  border-radius: 20px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

/* ícones das redes sociais permanecem iguais */
.btn-whatsapp { background-color: #25d366; }
.btn-instagram { background: linear-gradient(45deg,#f58529,#dd2a7b,#8134af); }
.btn-youtube { background-color: #FF0000;}
hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.3); /* linha sutil no roxo */
  margin: 20px 0;
}

.footer-creditos {
  text-align: center;
  font-size: 14px;
  color: var(--branco); /* texto branco */
  line-height: 1.6;
}

/* ===== RESPONSIVIDADE COMPLEMENTAR ===== */

/* Para tablets (max-width 1024px) */
@media (max-width: 1024px) {
  .curso-grid {
    justify-content: center;
    gap: 1rem;
  }

  .galeria-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.8rem;
  }

  .video-section video {
    width: 100%;
  }

  .depoimentos-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
  }
}

/* Para celulares (max-width 768px) */
@media (max-width: 768px) {
  /* Header e nav */
  .header-container {
    flex-direction: column;
    gap: 1rem;
  }

  .nav {
    display: none;
    width: 100%;
  }

  .nav.active {
    display: block;
    background: var(--roxo);
    text-align: center;
    margin-top: 1rem;
  }

  .nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .menu-toggle {
    display: block;
  }

  /* Banner */
  .banner h1 {
    font-size: 2rem;
  }

  .banner p {
    font-size: 1rem;
  }

  /* Cursos */
  .curso-card {
    width: 100%;
    padding: 1.5rem;
  }

  /* Galeria */
  .galeria-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  /* Vídeo */
  .video-section video {
    width: 100%;
  }

  /* Depoimentos */
  .depoimentos-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Footer */
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-column {
    flex: 1 1 100%;
  }
}

/* Para celulares menores (max-width 480px) */
@media (max-width: 480px) {
  .banner {
    padding: 4rem 1rem;
  }

  .banner h1 {
    font-size: 1.8rem;
  }

  .banner p {
    font-size: 0.95rem;
  }

  .curso-card {
    padding: 1rem;
  }

  .programa p {
    font-size: 0.95rem;
  }

  .footer {
    padding: 30px 10px 20px 10px;
  }

  .footer-creditos {
    font-size: 12px;
  }
}

/* ===== Aula Experimental ===== */
#aula-experimental {
 background: #fafafa; 
 padding: 4rem 2rem;
  border-radius: 12px;
  text-align: center;
  margin: 2rem auto;
}

#aula-experimental h2 {
  color: var(--roxo);
  font-size: 2rem;
  margin-bottom: 1rem;
}

#aula-experimental p {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: #555;
}

#aula-experimental form {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

#aula-experimental input,
#aula-experimental select {
  padding: 0.8rem 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  width: 250px;
  font-size: 0.95rem;
  transition: border 0.3s, box-shadow 0.3s;
}

#aula-experimental input:focus,
#aula-experimental select:focus {
  outline: none;
  border-color: var(--azul-claro);
  box-shadow: 0 0 8px rgba(16, 200, 255, 0.3);
}

#aula-experimental button {
  background: var(--azul-claro);
  color: #fff;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s, transform 0.2s;
}

#aula-experimental button:hover {
  background: var(--azul-medio);
  transform: translateY(-2px);
}

/* Responsivo */
@media (max-width: 768px) {
  #aula-experimental input,
  #aula-experimental select {
    width: 100%;
  }

  #aula-experimental button {
    width: 100%;
  }
}

/* ===== Institucional ===== */
.institucional {
  background: #fafafa;
  padding: 4rem 2rem;
  text-align: center;
}

.institucional h2 {
  color: var(--roxo);
  margin-bottom: 2rem;
  font-size: 2rem;
}

.institucional-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.institucional-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.institucional-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.institucional-card h3 {
  color: var(--azul-claro);
  margin-bottom: 1rem;
}

.institucional-card p,
.institucional-card ul {
  color: #555;
  line-height: 1.6;
}

.institucional-card ul {
  list-style: none;
  padding-left: 0;
}

.institucional-card ul li::before {
  content: "✔";
  color: var(--azul-claro);
  margin-right: 8px;
}

/* ===== Diferenciais ===== */
.diferenciais {
  background: #fafafa;
  padding: 4rem 2rem;
  text-align: center;
}

.diferenciais h2 {
  color: var(--roxo);
  margin-bottom: 2rem;
}

.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.diferencial-card {
  background: #fafafa;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.diferencial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.diferencial-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
}

.diferencial-card h3 {
  color: var(--azul-claro);
  margin-bottom: 0.5rem;
}

.diferencial-card p {
  color: #555;
  font-size: 0.95rem;
}

/* ===== Newsletter ===== */
.newsletter {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--roxo);
  border-radius: 12px;
  margin: 2rem auto;
}

.newsletter h3 {
  color: var(--branco);
  margin-bottom: 0.5rem;
}

.newsletter p {
  color: var(--branco);
  margin-bottom: 1rem;
}

.newsletter form {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.newsletter input {
  padding: 0.8rem 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  width: 280px;
  font-size: 1rem;
}

.newsletter button {
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  background: var(--azul-medio);
  color: #fff;
  font-weight: 600;
  transition: background 0.3s;
}

.newsletter button:hover {
  background: var(--roxo);
}

/* ===== EQUIPE ===== */
.equipe {
  background: #fafafa;
  padding: 4rem 2rem;
  text-align: center;
}

.equipe h2 {
  color: var(--roxo);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.equipe p {
  color: #555;
  margin-bottom: 2rem;
  font-size: 1rem;
}

/* GRID RESPONSIVO */
.equipe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 cards por linha em desktop */
  gap: 1.5rem;
  justify-content: center;
}

/* Remover centralização individual dos últimos cards */
.equipe-grid .equipe-card:nth-last-child(-n+2) {
  justify-self: auto;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 1024px) {
  .equipe-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 cards por linha em tablets */
  }
}

@media (max-width: 768px) {
  .equipe-grid {
    grid-template-columns: 1fr; /* 1 card por linha em mobile */
  }

  .equipe-card img {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 480px) {
  .equipe h2 {
    font-size: 1.6rem;
  }
  .equipe p {
    font-size: 0.95rem;
  }
  .equipe-card {
    padding: 1.5rem 1rem;
  }
  .equipe-card img {
    width: 90px;
    height: 90px;
  }
}

/* CARD */
.equipe-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.equipe-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

/* IMAGEM QUADRADA */
.equipe-card img {
  width: 120px;
  height: 120px;
  border-radius: 12px; /* quadrada com cantos arredondados */
  object-fit: cover;
  margin-bottom: 1rem;
}

.equipe-card h3 {
  color: var(--azul-claro);
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.equipe-card p {
  margin-bottom: 0.3rem;
}

.equipe-card .descricao {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
}

/* Centralizar os dois últimos cards */
.equipe-grid .equipe-card:nth-last-child(-n+2) {
  justify-self: center;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
  .equipe-card img {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 480px) {
  .equipe h2 {
    font-size: 1.6rem;
  }
  .equipe p {
    font-size: 0.95rem;
  }
  .equipe-card {
    padding: 1.5rem 1rem;
  }
  .equipe-card img {
    width: 90px;
    height: 90px;
  }
}

/* ===== Teste de Nível ===== */
.teste-nivel {
  background: #fafafa;
  color: #000;
  text-align: center;
  padding: 5rem 2rem;
  border-radius: 12px;
  margin: 3rem auto;
}

.teste-nivel h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.teste-nivel p {
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.teste-nivel .btn-primary {
  background: #fff;
  color: var(--roxo);
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: 10px;
  transition: transform 0.3s, background 0.3s;
}

.teste-nivel .btn-primary:hover {
  transform: scale(1.05);
  background: var(--azul-medio);
  color: #fff;
}

/* ===== BLOG ===== */
.blog {
  background: #fafafa;
  padding: 5rem 2rem;
  text-align: center;
}

.blog h2 {
  color: var(--roxo);
  margin-bottom: 2.5rem;
  font-size: 2rem;
  font-weight: 700;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  justify-items: center;
  align-items: stretch; /* garante que todos preencham a mesma altura */
}

@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 por linha em tablets */
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr; /* 1 card por linha no celular */
  }
}

.blog-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column; /* permite que o botão vá sempre para baixo */
  height: 100%; /* preenche o grid igualmente */
  max-width: 400px;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.blog-grid {
  align-items: stretch; /* garante mesma altura */
}

.blog-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card p {
  flex-grow: 1; /* ocupa o espaço livre */
}

.blog-card .btn-secondary {
  margin-top: auto;   /* empurra para o fundo */
  align-self: flex-start;
}


.blog-card h3 {
  color: var(--azul-claro);
  margin: 1rem 1rem 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
}

.blog-card p {
  color: #555;
  font-size: 0.95rem;
  margin: 0 1rem 1.5rem;
  line-height: 1.5;
  flex-grow: 1; /* empurra o botão pra base */
}

.blog-card .btn-secondary {
  margin: 0 1rem 1.5rem;
  align-self: flex-start; /* mantém alinhamento bonito */
}

@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== YOUCANTALK ===== */
.youcantalk {
  background: #fafafa;
  color: #000;
  text-align: center;
  padding: 5rem 2rem;
  border-radius: 0;
}

.youcantalk h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.youcantalk p {
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.youcantalk form {
  background: #fff;
  color: #333;
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.youcantalk form input,
.youcantalk form select {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

.youcantalk form button {
  background: var(--roxo);
  color: #fff;
  border: none;
  padding: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.youcantalk form button:hover {
  background: var(--azul-claro);
}

/* =======================================================
   ADIÇÕES - MATRÍCULAS ABERTAS, IDIOMA E INFORMATIVOS
   ======================================================= */

/* ===== SEÇÃO INFORMATIVOS ===== */
.informativos {
  background-color: #fafafa;
  text-align: center;
  padding: 4rem 2rem;
}
.informativos h2 {
  color: var(--roxo);
  margin-bottom: 1rem;
}
.informativo-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 2rem;
  margin: 2rem auto;
  max-width: 600px;
}
.informativo-card h3 {
  color: var(--azul-medio);
  margin-bottom: 1rem;
}
.informativo-card p {
  color: #555;
  margin-bottom: 1rem;
}

/* ===== CONTEÚDO PRINCIPAL ===== */
#precos-servicos {
  background: #ffffff;
  padding: 4rem 2rem;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.08);
  max-width: 800px;
  margin: 4rem auto;
  text-align: center;
}

#precos-servicos h2 {
  color: #5c17ff; /* Roxo principal da YouCan */
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

#precos-servicos p {
  color: #333;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* ===== FORMULÁRIO ===== */
#formPrecos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

#formPrecos label {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.3rem;
}

#formPrecos input,
#formPrecos select {
  width: 100%;
  max-width: 400px;
  padding: 0.7rem 1rem;
  border: 1.5px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

#formPrecos input:focus,
#formPrecos select:focus {
  border-color: #5c17ff;
  box-shadow: 0 0 8px rgba(92, 23, 255, 0.3);
  outline: none;
}

/* ===== BOTÃO ===== */
.btn-primary {
  background-color: #5c17ff;
  color: #fff;
  font-weight: 600;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background-color: #4a0fd4;
  transform: translateY(-2px);
}

/* ===== MENSAGEM FINAL ===== */
#mensagemFinal h3 {
  color: #5c17ff;
  font-size: 1.5rem;
  font-weight: 700;
}

#mensagemFinal p {
  font-size: 1rem;
  color: #333;
  margin-top: 0.5rem;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
  #precos-servicos {
    padding: 2rem 1.2rem;
  }

  #formPrecos input,
  #formPrecos select {
    max-width: 100%;
  }
}

.metodologia, .beneficios, .depoimentos, .cta {
  padding: 60px 0;
  text-align: center;
}

.beneficios-lista {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.beneficios-lista li {
  margin: 10px 0;
  font-size: 1.1rem;
}

.cards-beneficios, .cards-depoimentos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.card, .depoimento {
  background: #f8f8f8;
  border-radius: 12px;
  padding: 20px;
  width: 300px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.cta {
  background-color: #f0f4ff;
  border-top: 2px solid #ccc;
}

.cta .btn-primary {
  margin-top: 15px;
  display: inline-block;
}

section {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ===== SEÇÃO RESULTADOS REAIS ===== */
.resultados {
  background: linear-gradient(135deg, #f8f6ff 0%, #ffffff 100%);
  padding: 80px 20px;
  text-align: center;
}

.resultados h2 {
  color: var(--roxo);
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.resultados p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 3rem;
}

.resultados-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.resultado-item {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  padding: 2rem 1.5rem;
  width: 250px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resultado-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(92, 21, 234, 0.2);
}

.resultado-item h3 {
  color: var(--roxo);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.resultado-item p {
  font-size: 1rem;
  color: #555;
  margin: 0;
}

/* ===== SEÇÃO QUIZ (DESAFIO RÁPIDO) ===== */
.quiz {
  background: #f9f9ff;
  padding: 80px 20px;
  text-align: center;
  border-top: 2px solid rgba(92, 21, 234, 0.1);
  border-bottom: 2px solid rgba(92, 21, 234, 0.1);
}

.quiz h2 {
  font-size: 2rem;
  color: var(--roxo);
  margin-bottom: 1.2rem;
}

.quiz p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 1rem;
}

.quiz button {
  display: inline-block;
  margin: 0.5rem;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: var(--azul-medio);
  color: #fff;
}

.quiz button:hover {
  background-color: var(--roxo);
  transform: translateY(-2px);
}

#quiz-feedback {
  font-weight: 600;
  color: var(--roxo);
  margin-top: 1rem;
  font-size: 1.1rem;
  min-height: 24px; /* evita pular layout antes da resposta */
}

/* ===== MENU AJUSTADO ===== */
.nav ul {
  list-style: none;              /* remove as bolinhas */
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav ul li {
  position: relative;
}

.nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.3s;
}

.nav ul li a:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ===== Submenu (dropdown suspenso) ===== */
.nav ul li ul.submenu {
  display: none;
  position: absolute;
  top: 100%;               /* logo abaixo do item principal */
  left: 0;
  background: #fff;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  min-width: 200px;
  z-index: 999;
}

.nav ul li:hover ul.submenu {
  display: block;
}

.nav ul li ul.submenu li {
  margin: 0;
}

.nav ul li ul.submenu a {
  display: block;
  padding: 10px 16px;
  color: #5c15ea;
  text-align: left;
  border-radius: 0;
  background: none;
}

.nav ul li ul.submenu a:hover {
  background: #f0ecff;
}

/* ===== Ajuste do cabeçalho ===== */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ===== Responsivo ===== */
@media (max-width: 768px) {
  .nav ul {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav ul li ul.submenu {
    position: static;
    background: transparent;
    box-shadow: none;
  }
  .nav ul li ul.submenu a {
    color: #fff;
    padding-left: 24px;
  }
}

/* ===== RODAPÉ GRUDADO NO FUNDO ===== */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1; /* empurra o rodapé para o fundo */
}

/* ===== AJUSTE DE LARGURA TOTAL ===== */
footer.footer {
  width: 100vw;
  margin-left: calc(50% - 50vw); /* remove bordas laterais */
  background-color: var(--roxo);
  color: var(--branco);
  padding: 3rem 0 2rem;
  margin-top: auto;
  text-align: center;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-column {
  flex: 1 1 220px;
  min-width: 220px;
}

.footer-column h3 {
  color: #fff;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin: 6px 0;
}

.footer-column ul li a {
  color: #f2f2f2;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.footer-column ul li a:hover {
  color: #ffd700;
}

/* ===== VÍDEOS LADO A LADO ===== */
.video-duplo {
  padding: 4rem 2rem;
  text-align: center;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  align-items: start;
}

.video-item video {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.video-item h3 {
  color: var(--roxo);
  margin-bottom: 1rem;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .videos-grid {
    grid-template-columns: 1fr;
  }

  .video-item {
    margin-bottom: 1.5rem;
  }

  .footer-creditos {
    font-size: 0.9rem;
  }
}

@media (min-width: 1200px) {
  .videos-grid {
    grid-template-columns: 1fr 1fr;
  }

  footer.footer {
    padding: 4rem 0 2.5rem;
  }
}

/* ===== CENTRALIZAR VÍDEOS E AJUSTAR BOT ===== */

@media (max-width: 768px) {
  .videos-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .video-item {
    width: 100%;
    max-width: 400px;
  }

  .video-item video {
    width: 100%;
    border-radius: 12px;
  }
}

.bot-flutuante-container {
  position: fixed !important;
  bottom: 20px !important;
  right: 20px !important;
  z-index: 99999 !important;
}

@media (max-width: 768px) {
  .bot-flutuante-container {
    bottom: 15px !important;
    right: 15px !important;
  }
}

/* ===== AJUSTES FINAIS: BOT + BORDA BRANCA ===== */

/* 🔹 Corrige o botão do bot flutuante */
.bot-flutuante-container {
  position: fixed !important;
  bottom: 20px !important;
  right: 20px !important;
  z-index: 999999 !important;
  pointer-events: auto !important;
}

.chat-box {
  position: fixed !important;
  bottom: 90px !important;
  right: 20px !important;
  z-index: 999998 !important;
}

/* 🔹 Corrige o alinhamento no celular */
@media (max-width: 768px) {
  .bot-flutuante-container {
    bottom: 15px !important;
    right: 15px !important;
  }

  .chat-box {
    right: 10px !important;
    bottom: 80px !important;
    width: calc(100% - 20px) !important;
    max-height: 75vh !important;
  }
}

/* ===== AJUSTE DE BANNER ===== */
.banner {
  width: 100vw; /* ocupa toda a largura da tela */
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  text-align: center;
  padding: 6rem 2rem;
  color: var(--branco);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.banner .banner-content {
  max-width: 1300px;
  margin: 0 auto;
  padding: 2rem;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* ===== BOT FLUTUANTE (corrigido e responsivo) ===== */
.bot-flutuante-container {
  position: fixed !important;
  bottom: 25px !important;
  right: 25px !important;
  z-index: 999999 !important;
  pointer-events: auto !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bot-flutuante {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #5c15ea;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bot-flutuante:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 14px rgba(0,0,0,0.3);
}

.bot-flutuante img {
  width: 60%;
  height: 60%;
  border-radius: 50%;
}

/* ===== CAIXA DE CHAT ===== */
.chat-box {
  position: fixed !important;
  bottom: 95px !important;
  right: 25px !important;
  width: 320px;
  max-height: 500px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  overflow: hidden;
  display: none;
  flex-direction: column;
  font-family: 'Montserrat', sans-serif;
  z-index: 999998 !important;
}

.chat-header {
  background-color: #5c15ea;
  color: #fff;
  padding: 12px;
  font-weight: bold;
  text-align: center;
  font-size: 16px;
}

.chat-messages {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  font-size: 14px;
}

.chat-messages .bot-msg {
  background-color: #eee;
  padding: 8px 10px;
  margin: 5px 0;
  border-radius: 10px;
}

.chat-messages .user-msg {
  background-color: #5c15ea;
  color: #fff;
  padding: 8px 10px;
  margin: 5px 0;
  border-radius: 10px;
  text-align: right;
}

.chat-options button {
  margin: 5px 5px 0 0;
  padding: 6px 12px;
  border-radius: 8px;
  border: none;
  background-color: #5c15ea;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
}

.chat-input {
  display: flex;
  padding: 8px;
  border-top: 1px solid #ccc;
  background-color: #f5f5f5;
}

.chat-input input {
  flex: 1;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.chat-input button {
  background-color: #5c15ea;
  color: #fff;
  border: none;
  margin-left: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
  .chat-box {
    width: calc(100% - 30px) !important;
    right: 15px !important;
    bottom: 85px !important;
    max-height: 70vh !important;
  }

  .bot-flutuante-container {
    bottom: 15px !important;
    right: 15px !important;
  }

  .bot-flutuante {
    width: 55px;
    height: 55px;
  }
}

/* --- Ajuste para vídeo igual aos cards de imagem --- */
.video-card {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.video-card video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 1 / 1; /* mantém o formato quadrado como as imagens */
  border-radius: 16px;
}

/* Responsividade */
@media (max-width: 768px) {
  .video-card video {
    aspect-ratio: 1 / 1;
  }
}

/* ===== BANNER ROTATIVO (Ajustado sem corte e sem fundo preto) ===== */
.banner-slider {
  width: 100%;
  max-width: 1400px;
  aspect-ratio: 2 / 0.7;
  position: relative;
  overflow: hidden;
  margin: 0 auto 2rem;
  background: #5b0ef0; /* usa a cor do site para remover o "preto" */
  border-radius: 0;
}

.banner-slider img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* não corta */
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

/* ===== MOBILE OPTIMIZADO ===== */
@media (max-width: 768px) {
  .banner-slider {
    aspect-ratio: 4 / 5; /* mais vertical — perfeito para essa arte */
    background: #5b0ef0; /* cor do fundo */
  }

  .banner-slider img {
    object-fit: contain; /* não corta mais */
    padding: 10px; /* afasta das bordas e melhora visual */
  }
}

/* ================================
   CORREÇÃO DO HEADER NO MOBILE
   ================================ */
@media (max-width: 768px) {

  .header {
    padding: 0.6rem 0; /* deixa mais compacto */
  }

  .header-container {
    display: flex;
    flex-direction: row;          /* garante lado a lado */
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
  }

  /* Ajusta o logo */
  .logo {
    width: 58px;     /* tamanho ideal */
    height: auto;
  }

  /* Botão do menu mobile */
  .menu-toggle {
    font-size: 32px;
    padding: 4px 10px;
    margin-left: auto; /* gruda no lado direito */
  }

  /* Esconde o menu padrão no mobile */
  nav.nav {
    display: none;
  }
}

.blog-card a.btn-secondary {
  color: #5c15ea !important; /* roxo da identidade visual */
  font-weight: 600;
}

.blog-card a.btn-secondary {
  color: #fff !important;
}

.informativo-card a {
  color: #fff !important;
}

.informativo-card a {
  text-decoration: none !important;
}