@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Poppins:wght@300;400;500;600&display=swap');

/* =========================================================
   🌐 GLOBAL
========================================================= */
html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #F8F9FA;
  color: #333;
  overflow-x: hidden;
}

/* =========================================================
   🟦 HEADER
========================================================= */
.site-header {
  background: linear-gradient(90deg, #004AAD, #0076F7);
  color: #fff;
  padding: 20px 15px 25px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.header-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

/* =========================================================
   🔹 LOGO
========================================================= */
.logo-box {
  background: #fff;
  border: 2px solid #004AAD;
  border-radius: 20px;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  position: relative;
  overflow: hidden;
  max-width: 300px;
  aspect-ratio: 1 / 1;
}

.logo-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.6), transparent);
  transform: skewX(-25deg);
  animation: shine 4s infinite;
}

@keyframes shine {
  0% { left: -75%; }
  100% { left: 125%; }
}

.logo {
  width: 115%;
  max-width: 360px;
  object-fit: contain;
}

/* =========================================================
   🔹 TÍTULO HEADER
========================================================= */
.titulo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px;
  text-align: left;
}

.titulo h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.6rem;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.titulo p#frase {
  margin-top: 8px;
  font-size: 1.2rem;
  font-weight: 400;
  color: #f1f1f1;
  letter-spacing: 0.5px;
  border-right: 2px solid rgba(255,255,255,0.8);
  animation: blink 0.8s infinite;
}

@keyframes blink {
  50% { border-color: transparent; }
}

/* =========================================================
   🧱 LAYOUT 3 COLUNAS
========================================================= */
.layout {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 1fr;
  gap: 25px;
  padding: 35px 60px 45px;
  flex: 1;
}

.col {
  background: #fff;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 5px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.col:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

.col h2 {
  color: #004AAD;
  font-family: 'Montserrat', sans-serif;
}

/* =========================================================
   🧭 MENU LATERAL
========================================================= */
.menu-lateral {
  display: flex;
  flex-direction: column;
}

.menu-item {
  display: block;
  margin: 10px 0;
  padding: 12px;
  background-color: #004AAD;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
}

.menu-item:hover {
  background-color: #E22626;
  transform: scale(1.04);
}

.menu-item.vermelho {
  background-color: #E22626;
}

.menu-item.vermelho:hover {
  background-color: #B91C1C;
}

.menu-item.whatsapp {
  background-color: #25D366;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(37,211,102,0.3);
}

.menu-item.whatsapp:hover {
  background-color: #1EBE5A;
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(37,211,102,0.5);
}

/* =========================================================
   🔹 BOTÕES GERAIS
========================================================= */
.btn-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(45deg, #E1306C, #FD1D1D, #F56040);
  color: white;
  font-weight: 600;
  border-radius: 10px;
  padding: 12px 25px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(255,0,64,0.3);
  transition: all 0.3s ease;
  margin: 20px auto 0;
}

.btn-instagram:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(255,0,64,0.5);
}

/* =========================================================
   💙 BOTÃO "CONHEÇA O PROFESSOR" + MÃO ANIMADA
========================================================= */
.botao-destaque {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  width: 100%;
  text-align: center;
}

/* Mão animada (desktop) */
.mao-animada {
  color: #E22626;
  font-size: 1.8rem;
  animation: apontarLado 1.5s infinite ease-in-out;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
  flex-shrink: 0;
}

@keyframes apontarLado {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

/* Botão azul pulsante */
.btn-azul-pulsante {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  background: linear-gradient(90deg, #007BFF, #0056D2);
  color: #fff;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,123,255,0.4);
  animation: respirar 2.6s infinite ease-in-out;
  transition: transform 0.3s ease;
}

.btn-azul-pulsante:hover {
  transform: scale(1.05);
}

@keyframes respirar {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* =========================================================
   📹 MINI VLOG
========================================================= */
.mini-vlog {
  text-align: center;
}

/* =========================================================
   🤝 REDE DE APOIADORES — FINAL AJUSTADA
========================================================= */
.apoio {
  text-align: center;
  background: #fff;
  margin: 50px auto 80px;
  padding: 40px 20px;
  border-radius: 14px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  max-width: 1000px;
  width: 90%;
}

.apoio h2 {
  font-family: 'Montserrat', sans-serif;
  color: #004AAD;
  font-size: 1.9rem;
  margin-bottom: 10px;
}

.apoio p {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 25px;
}

#contador-apoiadores {
  font-weight: 700;
  color: #25D366;
  font-size: 1.3rem;
}

/* ===== Carrossel ===== */
.carrossel-apoiadores {
  overflow: hidden;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 25px;
  position: relative;
}

.carrossel-apoiadores .slide {
  display: flex;
  align-items: center;
  width: max-content;
  animation: deslizar 22s linear infinite;
}

.carrossel-apoiadores img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 12px;
  object-fit: cover;
  border: 3px solid #004AAD;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carrossel-apoiadores img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

@keyframes deslizar {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== Botão “Seja um Apoiador” ===== */
.btn-apoiador {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #25D366;
  color: #fff;
  font-weight: 600;
  border-radius: 10px;
  padding: 12px 24px;
  text-decoration: none;
  box-shadow: 0 5px 12px rgba(37,211,102,0.3);
  transition: all 0.3s ease;
  margin: 10px auto 0;
  font-size: 1rem;
}

.btn-apoiador:hover {
  background-color: #1EBE5A;
  transform: scale(1.05);
  box-shadow: 0 8px 18px rgba(37,211,102,0.45);
}

.btn-apoiador i {
  margin-right: 8px;
  font-style: normal;
  font-size: 1.2rem;
}

/* =========================================================
   ⚙️ FOOTER
========================================================= */
footer {
  background: #111;
  color: #ccc;
  padding: 1.2rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  margin-top: auto;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.3);
}

footer .social a {
  color: #fff;
  font-size: 1.4rem;
  transition: color 0.3s ease;
}

footer .social a:hover {
  color: #0A66C2;
}

footer a.email-link {
  color: #007BFF;
  text-decoration: none;
}

footer a.email-link:hover {
  text-decoration: underline;
}

footer .devsecops {
  color: #00D1B2;
  font-weight: 600;
  margin-left: 6px;
  display: inline-block;
  word-wrap: break-word;
}

/* =========================================================
   📱 RESPONSIVIDADE (<= 900px)
========================================================= */
@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
    padding: 25px;
  }

  .header-content {
    flex-direction: column;
    align-items: center;
  }

  .titulo {
    text-align: center;
    align-items: center;
  }

  .titulo h1 {
    font-size: 2rem;
  }

  .titulo p#frase {
    font-size: 1rem;
    border: none;
  }

  /* Mão acima do botão */
  .botao-destaque {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
  }

  .mao-animada {
    font-size: 1.8rem;
    transform: rotate(90deg);
    animation: apontarBaixo 1.5s infinite ease-in-out;
  }

  @keyframes apontarBaixo {
    0%, 100% { transform: rotate(90deg) translateY(0); }
    50% { transform: rotate(90deg) translateY(6px); }
  }

  /* Rede de apoiadores responsiva */
  .apoio {
    margin: 30px 10px;
    padding: 25px 10px;
    max-width: 100%;
  }

  .carrossel-apoiadores {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .carrossel-apoiadores::-webkit-scrollbar {
    display: none;
  }

  .carrossel-apoiadores .slide {
    display: flex;
    animation: none;
    justify-content: flex-start;
  }

  .carrossel-apoiadores img {
    width: 80px;
    height: 80px;
    margin: 6px;
    border-width: 2px;
  }

  .btn-apoiador {
    width: 90%;
    font-size: 0.95rem;
    margin-top: 12px;
  }
}
