/* ===== Reset e Fontes ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

html,
body {
  scroll-behavior: smooth;
  padding-top: 0;
  background-color: #1e3c72;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to bottom, #1a458e, #1e3c72);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 2rem;
  box-sizing: border-box;
  z-index: 1000;
}

.navbar .logo {
  font-weight: 700;
  font-size: 1.5rem;
}

.navbar .menu {
  display: flex;
  gap: 2rem;
}

.navbar .menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.navbar .menu a:hover {
  color: #ffcb05;
}

/* ===== Hamburger ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  height: 40px;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 4px 0;
  transition: 0.4s;
}

@media (max-width: 1200px) {
  .hamburger {
    display: flex;
  }

  .navbar .menu {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    background: linear-gradient(to bottom, #1a458e, #1e3c72);
    width: 100%;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
  }

  .navbar .menu.active,
  .navbar .menu.show {
    display: flex;
  }

  .navbar .menu a {
    padding-left: 20px;
    margin-left: 10px;
  }
}

/* ===== Sections Globais ===== */
section {
  min-height: 90vh;
  padding: 80px 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  color: #fff;
}

section h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 1.5rem;
}

section p {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 700px;
  margin-bottom: 1rem;
}

/* ===== Hero / Home ===== */
#home {
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to bottom, #1e3c72 0%, #2a5298 70%, #2d6ddf 100%);
  padding: 100px 20px 60px 20px;
  min-height: 85vh;
}

#home .conteudo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  gap: 2rem;
  flex-wrap: wrap;
}

#home .texto {
  flex: 1;
  min-width: 280px;
}

#home .texto h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

#home .texto p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.5;
}

#home .imagem {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  min-width: 300px;
}

#home .imagem img {
  width: 100%;
  max-width: 550px;
  min-width: 280px;
  height: auto;
  object-fit: cover;
}

@media (max-width: 768px) {
  #home .conteudo {
    margin-top: 40px;
  }
  #home .imagem {
    justify-content: center;
  }
}

/* ===== Sobre Nós ===== */
#sobre {
  background: linear-gradient(to bottom, #2d6ddf 0%, #2a5298 70%, #2d6ddf 100%);
  padding: 80px 20px;
}

.sobre-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.sobre-imagem img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
}

.sobre-texto {
  flex: 1;
  min-width: 250px;
}

.sobre-texto h2 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  margin-bottom: 20px;
}

.sobre-texto p {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .sobre-container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .sobre-texto {
    width: 100%;
  }
  .sobre-imagem img {
    max-width: 100%;
  }
}

/* ===== Objetivos Sociais ===== */
#objetivos-sociais {
  background: linear-gradient(to bottom, #2d6ddf 0%, #2a5298 50%, #2d6ddf 100%);
  color: #fff;
  padding: 80px 10%;
}

#objetivos-sociais h2 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 60px;
  text-align: center;
}

.objetivos-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.objetivo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.objetivo.invertida {
  flex-direction: row-reverse;
}

.objetivo-texto {
  flex: 1;
  min-width: 280px;
}

.objetivo-texto h3 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.objetivo-texto p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #f0f0f0;
  text-align: justify;
}

.objetivo-img {
  flex: 0 0 220px;
  display: flex;
  justify-content: center;
}

.objetivo-img img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 992px) {
  .objetivo,
  .objetivo.invertida {
    flex-direction: column;
    text-align: center;
  }
  .objetivo-img {
    margin-top: 15px;
    flex: none;
    width: 60%;
  }
}

@media (max-width: 600px) {
  #objetivos-sociais {
    padding: 60px 5%;
  }
  .objetivo-texto h3 {
    font-size: 1.3rem;
  }
  .objetivo-texto p {
    font-size: 1rem;
    text-align: left;
  }
  .objetivo-img {
    width: 80%;
  }
}

/* ===== Carrossel de Imagens ===== */
#imagens {
  background: linear-gradient(to bottom, #2d6ddf 0%, #2a5298 45%, #2d6ddf 100%);
  padding: 60px 5%;
  text-align: center;
}

.carousel {
  overflow: hidden;
  margin-top: 2rem;
  width: 100%;
}

.carousel-track {
  display: flex;
  width: max-content;
  animation: scroll 30s linear infinite;
}

.carousel-track:hover {
  animation-play-state: paused;
}

.carousel-track img {
  width: 20vw;
  max-width: 300px;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 10px;
  margin-right: 1rem;
}

@media (max-width: 768px) {
  .carousel-track img {
    width: 45vw;
    max-width: 200px;
  }
}

@media (max-width: 480px) {
  .carousel-track img {
    width: 70vw;
    max-width: none;
  }
}

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

/* ===== Ações Sociais ===== */
#acoes-sociais {
  padding: 60px 10%;
  background: linear-gradient(to bottom, #2d6ddf 0%, #2a5298 70%, #1e3c72 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
}

.acao {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
}

.acao-texto {
  flex: 1;
  min-width: 280px;
}

.acao-texto h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.acao-texto p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #f0f0f0;
}

.acao-img {
  flex: 1;
  min-width: 280px;
  display: flex;
  justify-content: center;
}

.acao-img img {
  width: 100%;
  max-width: 480px;
  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.acao.invertida {
  flex-direction: row-reverse;
}

@media (max-width: 768px) {
  .acao,
  .acao.invertida {
    flex-direction: column;
    text-align: center;
  }
  .acao-img img {
    max-width: 100%;
  }
}

/* ===== Vídeos ===== */
#videos {
  background: linear-gradient(to bottom, #1e3c72 0%, #2a5298 70%, #2d6ddf 100%);
  padding: 60px 20px;
  text-align: center;
  color: #fff;
}

.video-carousel {
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
}

.video-carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.4s ease;
  will-change: transform;
  padding: 10px 0;
}

.video-carousel video {
  width: 350px;
  height: 200px;
  border-radius: 12px;
  object-fit: cover;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.video-carousel video.active {
  border: 3px solid #ffcb05;
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .video-carousel video {
    width: 85vw;
    height: calc(85vw * 9 / 16);
  }
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  padding: 0.8rem 1rem;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  z-index: 2;
  transition: background 0.3s;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.9);
}

.carousel-btn.left {
  left: 10px;
}

.carousel-btn.right {
  right: 10px;
}

/* ===== Imersão ===== */
#imersao {
  background: linear-gradient(to bottom, #2d6ddf 0%, #2a5298 70%, #1e3c72 100%);
  padding: 80px 20px;
  color: #fff;
}

.imersao-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.imersao-imagem {
  flex: 1;
  display: flex;
  justify-content: center;
}

.imersao-imagem img {
  width: 100%;
  max-width: 500px;
  min-width: 280px;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
}

.imersao-texto {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.imersao-texto h2 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

.imersao-texto p {
  font-size: 1.15rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.btn-inscrever {
  display: inline-block;
  padding: 12px 25px;
  background-color: #28a745;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s, transform 0.3s;
}

.btn-inscrever:hover {
  background-color: #218838;
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .imersao-container {
    flex-direction: column;
    text-align: center;
  }
  .imersao-texto {
    text-align: center;
  }
}

/* ===== Playlist ===== */
.playlist-section {
  padding: 60px 20px;
  background: linear-gradient(to bottom, #1e3c72 0%, #2a5298 70%, #1e3c72 100%);
  text-align: center;
}

.playlist-section .container {
  max-width: 1000px;
  margin: 0 auto;
}

.playlist-section .section-title {
  font-size: 2.2rem;
  color: white;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.playlist-section .section-subtitle {
  font-size: 1.1rem;
  color: white;
  margin-bottom: 2rem;
}

.playlist-section .video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  margin-bottom: 2rem;
}

.playlist-section .video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 16px;
}

.btn-playlist {
  display: inline-block;
  padding: 12px 28px;
  background: #0077b6;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-playlist:hover {
  background: #023e8a;
  transform: translateY(-3px);
}

/* ===== Ebooks ===== */
#ebooks {
  background: linear-gradient(to bottom, #1e3c71 0%, #2a5298 70%, #2d6ddf 100%);
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

#ebooks h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

#ebooks p {
  margin-bottom: 40px;
  font-size: 1.1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.ebook-list {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.ebook-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  width: 260px;
  transition: transform 0.3s ease;
}

.ebook-card:hover {
  transform: translateY(-8px);
}

.ebook-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

.ebook-card h3 {
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.btn-download {
  display: inline-block;
  background: #ffcb05;
  color: #1e3c72;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-download:hover {
  background: #ffc84d;
}

/* ===== Depoimentos ===== */
#depoimentos {
  background: linear-gradient(to bottom, #2d6ddf 0%, #2a5298 70%, #1e3c72 100%);
  padding: 80px 20px;
  color: #fff;
}

#depoimentos h2 {
  text-align: center;
  font-size: clamp(2rem, 3vw, 2.5rem);
  margin-bottom: 2rem;
}

.testimonials {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
}

.testimonial {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.08);
  padding: 1.5rem;
  border-radius: 12px;
  backdrop-filter: blur(5px);
}

.testimonial-content {
  flex: 1;
}

.testimonial p {
  font-style: italic;
  margin-bottom: 0.5rem;
}

.testimonial h4 {
  font-weight: 700;
  text-align: right;
  color: #ffcb05;
}

.testimonial .role {
  font-size: 0.9rem;
  text-align: right;
  color: #e0e0e0;
  margin-bottom: 0;
}

.testimonial-img img {
  width: 80px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
  margin-left: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

@media (max-width: 600px) {
  .testimonial {
    flex-direction: column;
    text-align: center;
  }
  .testimonial-img img {
    margin-left: 0;
    margin-top: 15px;
  }
  .testimonial h4,
  .testimonial .role {
    text-align: center;
  }
}

/* ===== Contato ===== */
#contato {
  background: linear-gradient(to bottom, #2d6ddf 0%, #2a5298 100%);
  padding: 80px 20px;
  color: #fff;
}

.contato-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.contato-texto {
  flex: 1;
  min-width: 280px;
  text-align: left;
}

.contato-texto h2 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

.contato-texto p {
  font-size: 1.1rem;
  margin: 0.8rem 0;
}

.contato-texto a {
  color: #ffcb05;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.contato-texto a:hover {
  color: #fff;
}

.contato-mapa {
  flex: 1;
  min-width: 280px;
}

.contato-mapa iframe {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .contato-container {
    flex-direction: column;
    gap: 20px;
  }
  .contato-texto {
    text-align: center;
  }
}

/* ===== Footer ===== */
#footer {
  background: linear-gradient(to bottom, #1a458e, #1e3c72);
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.footer-logo h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.footer-links a {
  color: #ffcb05;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  font-size: 0.9rem;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Cookie Banner ===== */
.cookie-banner {
  position: fixed;
  bottom: 40px;
  left: 0;
  width: 100%;
  background-color: #f8f9fa;
  color: #495057;
  padding: 20px 30px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 10000;
  font-size: 14px;
  text-align: center;
  display: none;
  box-sizing: border-box;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cookie-banner-content p {
  margin: 0;
  flex-grow: 1;
  margin-right: 20px;
  text-align: left;
  line-height: 1.6;
}

.cookie-button {
  background-color: #28a745;
  color: white;
  border: none;
  padding: 10px 20px;
  margin-left: 10px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.cookie-button:hover {
  background-color: #218838;
}

.cookie-button-secondary {
  background-color: #6c757d;
}

.cookie-button-secondary:hover {
  background-color: #5a6268;
}

@media (max-width: 768px) {
  .cookie-banner-content {
    flex-direction: column;
    align-items: center;
  }
  .cookie-banner-content p {
    margin-right: 0;
    margin-bottom: 15px;
    text-align: center;
  }
  .cookie-button {
    margin-left: 0;
    margin-bottom: 10px;
    width: 100%;
  }
}