:root {
  --main-color: rgb(47, 47, 192);
  --main-white: rgb(255, 255, 255);
  --main-pink: rgb(255, 0, 221);
}

* {
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: white;
  color: var(--main-color);
}

body {
  display: flex;
  flex-direction: column;
  position: relative;
}

/* --- HEADER --- */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: white;
  box-shadow: 0px 6px 5px rgba(0, 0, 0, 0.1);
  padding: 15px 30px;
  height: 10vh;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 22px;
  color: var(--main-color);
  margin-right: 40px;
  flex-shrink: 0;
  justify-content: center;
  gap: 10px;
}

.logo1 {
  width: 80px;
  height: auto;
  transition: width 0.3s ease;
}

/* --- MENU --- */
nav {
  display: flex;
  justify-content: center;
  transition: color 0.3s, background-color 0.3s;
  gap: 5px;
}

nav a {
  text-decoration: none;
  color: var(--main-color);
  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s, background-color 0.3s;
  padding: 8px 12px;
  border-radius: 4px;
}

nav a:hover {
  background-color: var(--main-color);
  color: var(--main-white);
}

nav a.active-link {
  background-color: var(--main-color);
  color: var(--main-white);
}

.menu-toggle {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--main-color);
}

/* --- MOBILE MENU --- */
@media (max-width: 768px) {
  header {
    padding: 15px 20px;
  }

  .logo {
    font-size: 18px;
    margin-right: 20px;
  }

  .logo1 {
    width: 80px;
  }

  nav {
    flex-direction: column;
    background: white;
    position: absolute;
    top: 10vh;
    right: 0;
    width: 200px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    box-shadow: 0px 6px 20px rgba(0,0,0,0.15);
    transition: max-height 0.4s ease, opacity 0.4s ease;
    z-index: 999;
  }

  nav.active {
    max-height: 500px;
    opacity: 1;
  }

  nav a {
    text-align: center;
    width: 100%;
    padding: 10px 0;
  }

  .menu-toggle {
    display: block;
  }
}

/* --- BACKGROUND --- */
.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* --- ANIMAÇÃO DAS MÃOS --- */
.hand {
  position: absolute;
  opacity: 0.25;
  pointer-events: none;
  animation: waveHands 4s ease-in-out infinite;
  transform-origin: center;
  z-index: 0;
}

@keyframes waveHands {
  0%   { transform: translateX(0) rotate(0deg); }
  25%  { transform: translateX(10px) rotate(3deg); }
  50%  { transform: translateX(-10px) rotate(-3deg); }
  75%  { transform: translateX(8px) rotate(2deg); }
  100% { transform: translateX(0) rotate(0deg); }
}

/* --- POSIÇÕES DAS MÃOS --- */
.handA { top: 8%; left: 5%; width: 180px; animation-delay: 0s; }
.handB { top: 15%; right: 8%; width: 220px; animation-delay: 0.4s; }
.handC { bottom: 10%; left: 5%; width: 250px; animation-delay: 0.8s; }
.handD { top: 30%; left: 80%; width: 170px; animation-delay: 1.2s; }
.handE { bottom: 3%; right: 15%; width: 240px; animation-delay: 1.6s; }
.handF { top: 75%; left: 15%; width: 200px; animation-delay: 2s; }
.handG { bottom: 5%; right: 50%; width: 230px; animation-delay: 2.4s; }
.handH { top: 10%; right: 35%; width: 190px; animation-delay: 2.8s; }
.handI { bottom: 45%; left: 65%; width: 210px; animation-delay: 3.2s; }
.handJ { top: 55%; right: 3%; width: 240px; animation-delay: 3.6s; }

/* --- CONTEÚDO PRINCIPAL --- */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  z-index: 1;
  padding: 80px 20px;
  text-align: center;
  width: 100%;
  overflow-y: auto;
}

/* --- SEÇÃO TÍTULO --- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
}

.hero img {
  width: 250px;
  height: auto;
  transition: width 0.3s ease;
}

.hero h1 {
  font-size: 48px;
  margin-top: 10px;
}

@media (max-width: 768px) {
  main {
    padding: 40px 15px;
  }

  .hero img { width: 180px; }
  .hero h1 { font-size: 34px; }
}

@media (max-width: 480px) {
  main {
    padding: 30px 10px;
  }

  .hero img { width: 140px; }
  .hero h1 { font-size: 26px; }
}

/* --- SEÇÕES DE CONTEÚDO --- */
.content-container {
  width: 90%;
  max-width: 1000px;
  border-radius: 20px;
  border: 0.05px solid var(--main-color);
  box-shadow: 0px 8px 15px rgba(0, 17, 255, 0.521);
  padding: 40px 30px;
  margin: 50px auto;
  position: relative;
  z-index: 0;
  background-color: rgba(255, 255, 255, 0);
  backdrop-filter: blur(4px);
}

/* Responsividade para tablets */
@media (max-width: 1024px) {
  .content-container {
    width: 92%;
    padding: 35px 25px;
    margin: 40px auto;
  }
}

/* Responsividade para tablets pequenos */
@media (max-width: 768px) {
  .content-container {
    width: 95%;
    padding: 30px 20px;
    margin: 30px auto;
    border-radius: 15px;
  }
}

/* Responsividade para smartphones */
@media (max-width: 480px) {
  .content-container {
    width: 98%;
    padding: 20px 15px;
    margin: 20px auto;
    border-radius: 12px;
  }
}

/* Responsividade para smartphones pequenos */
@media (max-width: 360px) {
  .content-container {
    width: 100%;
    padding: 15px 10px;
    margin: 15px auto;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 17, 255, 0.3);
  }
}

.section {
  max-width: 900px;
  margin-bottom: 60px;
  background: rgba(255,255,255,0.8);
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0px 3px 8px rgba(0,0,0,0.1);
}

.section h2 {
  color: var(--main-color);
  margin-bottom: 15px;
  font-size: 26px;
}

.section p {
  line-height: 1.6;
  font-size: 17px;
  color: var(--main-color);
}

.section img, .section video {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin-top: 20px;
}

.midia-centro {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2vh;
}

.video-centro {
  max-width: 50%;      /* 25% da largura da tela */
  height: 100%;     /* 85% da altura da tela */
  border-radius: 10px;
  object-fit: cover;
}
 

/* --- INTRO SECTION --- */
.intro h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--main-color);
}

.intro p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--main-color);
  text-align: justify;
}

@media (max-width: 768px) {
  .intro h1 {
    font-size: 2rem;
  }

  .intro p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .intro h1 {
    font-size: 1.8rem;
  }

  .intro p {
    font-size: 0.95rem;
  }
}

/* --- VIDEO SECTION --- */
.video-section {
  margin: 40px 0;
}

.video-section h2 {
  font-size: 2rem;
  color: var(--main-color);
  margin-bottom: 20px;
}

.video-container {
  max-width: 90%;
  height: auto;
  border-radius: 12px;
  margin-top: 30px;
  z-index: 1;
}

.video-container iframe {
  width: 100%;
  height: 315px;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .video-centro {
  width: 100%;      /* 25% da largura da tela */
  height: 100%;     /* 85% da altura da tela */
  border-radius: 10px;
  object-fit: cover;
}
 
  .video-container iframe {
    height: 250px;
  }
}

@media (max-width: 480px) {

  .video-centro {
  max-width: 100%;      /* 25% da largura da tela */
  height: 100%;     /* 85% da altura da tela */
  border-radius: 10px;
  object-fit: cover;
}
}

/* --- MENSAGEM FINAL --- */
.mensagem-final h2 {
  font-size: 2rem;
  color: var(--main-color);
  margin-bottom: 15px;
}

.mensagem-final p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--main-color);
}

@media (max-width: 768px) {
  .mensagem-final h2 {
    font-size: 1.8rem;
  }

  .mensagem-final p {
    font-size: 1rem;
  }
}

/* --- CARROSSEL --- */
.carrossel {
  text-align: center;
  padding: 3rem 1rem;
}

.carrossel h2 {
  font-size: clamp(1.5rem, 2vw, 2.5rem);
  color: var(--main-color);
}

/* ===== CONTAINER PRINCIPAL ===== */
.container-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
  box-sizing: border-box;
}

/* ===== CONTAINER DAS IMAGENS ===== */
.container-images {
  position: relative;
  width: min(90vw, 1023px);
  aspect-ratio: 2 / 3;
  max-height: 75vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  background-color: rgba(255, 255, 255, 0.1);
}

/* ===== IMAGENS ===== */
.slider,
.slider1 {
  position: absolute;
  width: 60%;
  height: auto;
  object-fit: cover;
  border-radius: 10px !important;
  opacity: 0;
  transition: opacity 0.4s ease;
  overflow: hidden;
}

.slider.on,
.slider1.on {
  opacity: 1;
}

/* ===== BOTÕES ===== */
.prev-button,
.next-button {
  position: absolute;
  top: 50%;
  width: clamp(35px, 5vw, 55px);
  height: clamp(35px, 5vw, 55px);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  transform: translateY(-50%);
}

.prev-button img,
.next-button img {
  width: 60%;
  height: auto;
}

.prev-button {
  left: 1rem;
}

.next-button {
  right: 1rem;
}

.prev-button:hover,
.next-button:hover {
  background-color: rgb(47, 47, 192);
}

/* ===== RESPONSIVO PARA CARROSSÉIS - MAIORES NO MOBILE ===== */
@media (max-width: 768px) {
  .container-images {
    width: 95vw;
    max-height: 60vh; /* Aumentado de 48vh para 60vh */
  }

  .slider,
  .slider1 {
    width: 80%; /* Aumentado de 60% para 80% */
  }

  .prev-button,
  .next-button {
    width: clamp(35px, 8vw, 50px);
    height: clamp(35px, 8vw, 50px);
  }

   .video-centro {
  max-width: 78%;      /* 25% da largura da tela */
  height: 100%;     /* 85% da altura da tela */
  border-radius: 10px;
  object-fit: cover;
}

@media (max-width: 530px) {
   .video-centro {
  max-width: 100%;      /* 25% da largura da tela */
  height: 100%;     /* 85% da altura da tela */
  border-radius: 10px;
  object-fit: cover;
}
  .container-images {
    width: 98vw;
    max-height: 50vh; /* Aumentado de 30vh para 50vh */
  }

  .slider,
  .slider1 {
    width: 85%; /* Aumentado para 85% */
  }

  .prev-button,
  .next-button {
    width: clamp(30px, 10vw, 45px);
    height: clamp(30px, 10vw, 45px);
  }

  .prev-button {
    left: 0.7rem;
  }

  .next-button {
    right: 0.7rem;
  }
}

}

@media (max-width: 490px) {

   .video-centro {
  max-width: 100%;      /* 25% da largura da tela */
  height: 100%;     /* 85% da altura da tela */
  border-radius: 10px;
  object-fit: cover;
}


  .container-images {
    width: 100vw;
    max-height: 45vh; /* Aumentado de 25vh para 45vh */
  }

  .slider,
  .slider1 {
    width: 90%; /* Aumentado para 90% */
  }

  .prev-button,
  .next-button {
    width: clamp(25px, 12vw, 35px);
    height: clamp(25px, 12vw, 35px);
  }

  .prev-button {
    left: 0.5rem;
  }

  .next-button {
    right: 0.5rem;
  }
}

/* === Telas muito pequenas (até 360px) === */
@media (max-width: 360px) {
  .container-images {
    width: 100vw;
    max-height: 40vh; /* Aumentado significativamente */
  }

  .slider,
  .slider1 {
    width: 95%; /* Quase toda a largura disponível */
  }

  .prev-button,
  .next-button {
    width: clamp(20px, 12vw, 30px);
    height: clamp(20px, 12vw, 30px);
  }

  .prev-button {
    left: 0.4rem;
  }

  .next-button {
    right: 0.4rem;
  }
}

/* === Telas minúsculas (até 200px) === */
@media (max-width: 200px) {
  .container-images {
    width: 100vw;
    max-height: 35vh; /* Mantém um tamanho razoável mesmo em telas muito pequenas */
  }

  .slider,
  .slider1 {
    width: 98%;
  }

  .prev-button,
  .next-button {
    width: clamp(18px, 14vw, 28px);
    height: clamp(18px, 14vw, 28px);
  }

  .prev-button {
    left: 0.3rem;
  }

  .next-button {
    right: 0.3rem;
  }
}

.btn {
  width: 100%;
  height: auto;
}

.pink {
  color: var(--main-pink);
}

.pinkl {
  font-size: 2rem;
  color: var(--main-pink);
}

.pinkm {
  background-color: var(--main-pink);
}

.bluem {
  background-color: rgb(253, 207, 0);
}

a {
  width: 6;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

.logoP {
  width: 30px;
  height: 30px;
}

/* === RESPONSIVIDADE GERAL === */
@media (max-width: 1200px) {
  .content-container {
    width: 92%;
  }
}

@media (max-width: 992px) {
  .content-container {
    width: 95%;
    padding: 35px 25px;
  }
  
  .carrossel {
    padding: 2.5rem 0.8rem;
  }
}

@media (max-width: 576px) {
  .content-container {
    width: 98%;
    padding: 25px 15px;
    border-radius: 15px;
  }
  
  .carrossel {
    padding: 2rem 0.5rem;
  }
  
  .intro h1 {
    font-size: 1.6rem;
  }
  
  .pinkl {
    font-size: 1.6rem;
  }
}

/* === MELHORIAS DE ACESSIBILIDADE === */
@media (prefers-reduced-motion: reduce) {
  .hand {
    animation: none;
  }
  
  .slider,
  .slider1 {
    transition: none;
  }
  
  .prev-button,
  .next-button {
    transition: none;
  }
}

/* === OTIMIZAÇÕES PARA TOUCH === */
@media (hover: none) and (pointer: coarse) {
  .prev-button,
  .next-button {
    width: clamp(40px, 12vw, 60px);
    height: clamp(40px, 12vw, 60px);
  }
}

/* --- SEÇÃO MENÇÃO HONROSA COM BORDA E SOMBRA ROSAS --- */
.mencao-honrosa-section {
  position: relative;
  margin: 40px 0;
  padding: 30px;
  border-radius: 20px;
  border: 2px solid var(--main-pink);
  box-shadow: 0px 8px 20px rgba(255, 0, 221, 0.3);
  background-color: rgba(255, 255, 255, 0);
 
}

/* Efeito de quadro com bordas laterais rosas mais destacadas */

/* Responsividade para a seção Menção Honrosa */
@media (max-width: 768px) {
  .mencao-honrosa-section {
    margin: 30px 0;
    padding: 25px 20px;
    border-radius: 15px;
    box-shadow: 0px 6px 15px rgba(255, 0, 221, 0.25);
  }

  .mencao-honrosa-section::before {
    border-radius: 17px;
  }
}

@media (max-width: 480px) {
  .mencao-honrosa-section {
    margin: 20px 0;
    padding: 20px 15px;
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(255, 0, 221, 0.2);
  }

  .mencao-honrosa-section::before {
    border-radius: 14px;
  }
}

@media (max-width: 360px) {
  .mencao-honrosa-section {
    margin: 15px 0;
    padding: 15px 10px;
    border-radius: 10px;
    box-shadow: 0px 3px 10px rgba(255, 0, 221, 0.15);
  }

  .mencao-honrosa-section::before {
    border-radius: 12px;
  }
}