:root {
  --main-color: rgb(47, 47, 192);
  --main-white: rgb(255, 255, 255);
  --main-blue: rgb(24, 51, 172);
}

* {
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  box-sizing: border-box;
}

/* ===== ESTRUTURA BASE ===== */
html, body {
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100dvh;
  overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column;
  background-color: white;
  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;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 20px;
  color: var(--main-color);
  margin-right: 40px;
  gap: 8px;
}

.logo1 {
  width: 80px;
  height: auto;
}

/* MENU DESKTOP */
nav {
  display: flex;
  justify-content: center;
  gap: 5px;
  transition: color 0.3s, background-color 0.3s;
}

nav a {
  text-decoration: none;
  color: var(--main-color);
  font-weight: bold;
  font-size: 16px;
  padding: 8px 12px;
  border-radius: 4px;
  transition: color 0.3s, background-color 0.3s;
}

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);
}

/* BOTÃO HAMBURGER */
.menu-toggle {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--main-color);
}

/* ===== MENU RESPONSIVO ===== */
@media (max-width: 768px) {
  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;
  }

  nav.active {
    max-height: 500px;
    opacity: 1;
  }

  nav a {
    text-align: center;
    width: 100%;
    padding: 10px 0;
  }

  .menu-toggle {
    display: block;
  }
}

/* ===== FUNDO COM MÃOS ===== */
.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hand {
  position: absolute;
  opacity: 0.30;
  transition: opacity 0.6s ease, transform 6s ease-in-out;
  pointer-events: none;
  animation: waveHands 4s ease-in-out infinite;
  transform-origin: center;
}

.hand:hover {
  transform: scale(1.1) rotate(5deg);
}

/* ---- Cada mão com delay diferente ---- */
.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; }
.handK { bottom: 55%; left: 40%; width: 210px; animation-delay: 4s; }
.handL { bottom: 0%; left: 50%; width: 210px; animation-delay: 4.4s; }
.handM { bottom: 45%; left: 5%; width: 210px; animation-delay: 4.8s; }

@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); }
}

/* ===== CONTEÚDO PRINCIPAL ===== */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
  padding: 40px 10px;
  text-align: center;
}

/* ===== MANOS CENTRALIZADO ===== */
.manos-container {
  display: flex;
  justify-content: center;
  align-items: flex-end; /* mantém base das letras alinhada */
  flex-wrap: nowrap;
  gap: clamp(8px, 2vw, 25px);
  transform: translateY(-5%);
}

.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;
}

/* ===== Ajuste individual das proporções ===== */
.m img,
.a img,
.letter img {
  height: auto;
  max-width: 100%;
}

.m img { width: clamp(40px, 6vw, 80px); }
.a img { width: clamp(60px, 8vw, 135px); }
.letter:nth-child(3) img { width: clamp(50px, 7vw, 120px); } /* N */
.letter:nth-child(4) img { width: clamp(50px, 7vw, 120px); } /* O */
.letter:nth-child(5) img { width: clamp(50px, 7vw, 120px); } /* S */

/* ===== TÍTULOS ABAIXO ===== */
.title {
  opacity: 1;
  font-size: clamp(1rem, 5vw, 4rem);
  color: var(--main-blue);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 8px;
  margin-top: clamp(5px, 2vh, 15px);
}

/* ===== ANIMAÇÃO DAS LETRAS ===== */
.m img { animation: waveHands 3s ease-in-out infinite; animation-delay: 0s; }
.a img { animation: waveHands 3s ease-in-out infinite; animation-delay: 0.3s; }
.letter:nth-child(3) img { animation: waveHands 3s ease-in-out infinite; animation-delay: 0.6s; }
.letter:nth-child(4) img { animation: waveHands 3s ease-in-out infinite; animation-delay: 0.9s; }
.letter:nth-child(5) img { animation: waveHands 3s ease-in-out infinite; animation-delay: 1.2s; }

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
  main {
    margin-top: 100px;
    display: block;
    padding: 20px;
  }

  .manos-container {
    flex-wrap: wrap;
    justify-content: center;
  }

  .title {
    letter-spacing: 4px;
  }

  .logo1 { width: 60px; }
  .logo { font-size: 16px; }
}

@media (max-width: 480px) {
  .logo1 { width: 50px; }
  .logo { font-size: 15px; }
  .title { font-size: clamp(1rem, 6vw, 2.2rem); }
  .manos-container {
    transform: translateY(0);
  }
}

@media (max-width: 320px) {
  .title { font-size: 1.8rem; letter-spacing: 2px; }
  .logo1 { width: 40px; }
  .logo { font-size: 13px; gap: 4px; }
}

/* ===== MÃOS REDUZEM EM TELAS MENORES ===== */
@media (max-width: 768px) {
  .handJ, .handK { opacity: 0; }
}
@media (max-width: 480px) {
  .handL, .handM  .handF, .handG  { opacity: 0; }
}
@media (max-width: 360px) {
  .handH, .handI, .handC  { opacity: 0; }
}
@media (max-width: 300px) {
  .handA, .handB, .handD{ opacity: 0; }
}

/* Plugin VLibras */
[vw] { z-index: 2000; }

:root {
  --main-color: rgb(47, 47, 192);
  --main-white: rgb(255, 255, 255);
  --main-blue: rgb(24, 51, 172);
}

/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Trebuchet MS', sans-serif;
}

body {
  background: #ffffff;
  color: #222;
}

/* ===== HEADER ===== */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 30px;
  background-color: white;
  box-shadow: 0px 6px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--main-blue);
  font-weight: bold;
  font-size: 20px;
}

.logo1 {
  width: 70px;
  height: auto;
}

nav {
  display: flex;
  gap: 10px;
}

nav a {
  color: var(--main-color);
  text-decoration: none;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

nav a:hover, nav a.active-link {
  background-color: var(--main-color);
  color: white;
}

/* ===== MENU MOBILE ===== */
.menu-toggle {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  color: var(--main-color);
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  nav {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 70px;
    right: 0;
    width: 200px;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
  }
  nav.active { display: flex; }
}

/* ===== SECTION ===== */
.banner-section {

  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.banner-title {
  color: var(--main-blue);
  font-size: 2.5rem;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.banner-desc {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 40px;
}

/* ===== GRID ===== */
.banner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* ===== CARD ===== */
.banner-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(47, 47, 192, 0.3);
}

.banner-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 15px;
}

.banner-text {
  color: #333;
  font-size: 1rem;
  margin-bottom: 20px;
}

/* ===== BOTÃO ===== */
.download-btn {
  display: inline-block;
  background: var(--main-color);
  color: white;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(47, 47, 192, 0.3);
}

.download-btn:hover {
  background: var(--main-blue);
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(47, 47, 192, 0.5);
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
  .banner-title { font-size: 2rem; }
  .banner-desc { font-size: 1rem; }
}

@media (max-width: 480px) {
  .banner-card { padding: 15px; }
  .download-btn { padding: 10px 20px; font-size: 0.9rem; }
}

@media (max-width: 480px) {
  .banner-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    min-height: 100vh; /* centraliza verticalmente */
    padding: 20px;
  }

  .banner-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    width: 100%;
    max-width: 400px; /* limite pra não ficar muito largo */
  }

  .banner-card {
    width: 100%;
    max-width: 350px;
    padding: 15px;
  }

  .banner-title {
    font-size: 1.8rem;
  }

  .banner-desc {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .download-btn {
    font-size: 0.9rem;
    padding: 10px 18px;
  }
}