/* ===== 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);
}

/* ===== BANNER ===== */
.banner {
  background: linear-gradient(135deg, var(--roxo), var(--azul-claro));
  color: #fff;
  text-align: center;
  padding: 6rem 2rem;
}

.banner h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.banner p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* ===== 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/youcanfundo.jpg');
}

.curso-card.teens {
  background-image: url('imgs/youcanfundo.jpg');
}

.curso-card.adults {
  background-image: url('imgs/youcanfundo.jpg');
}

/* 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 ===== */

.galeria-grid img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  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;
}

.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.depoimentos-grid a {
  display: block;
  max-width: 500px;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.depoimentos-grid a:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.depoimentos-grid img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 0;
}

.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.depoimento-item {
  text-align: center;
  max-width: 450px;
}

.depoimento-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.depoimento-item img:hover {
  transform: scale(1.03);
}

.depoimento-item p {
  margin-top: 0.8rem;
  color: #444;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ===== 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-card img {
  width: 100%;
  height: 220px; /* define uma altura fixa */
  object-fit: cover;
  border-bottom: 4px solid var(--roxo);
}

.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);
}
