/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* === GERAL === */
  body {
    font-family: 'DM Sans', sans-serif;
    height: 100vh;
    color: #F5F3F3; 
  }
  
/* === HERO SECTION === */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: url(../resources/images/foto_home.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center; /* Centraliza verticalmente */
    justify-content: center; /* Centraliza horizontalmente */
    text-align: center; /* Centraliza o texto */
    padding: 60px;
    color: #F5F3F3;
  }
  
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
  }
  
  .content {
    position: relative;
    z-index: 2;
    margin-top: 100px;
    text-align: center; /* Centraliza o texto */
    padding: 20px;
    color: #e6e6e6;
  }
  
  .content p {
    font-weight: 700;
    font-size: 3vw; /* Tamanho mais razoável */
    margin: 0;
    line-height: 1.4; /* Melhor legibilidade */
    white-space: normal; /* Permite que o texto quebre */
    overflow: hidden;
  }
  
  .content .break-word {
    display: inline-block;
    word-wrap: break-word; /* Permite que a palavra 'transforma' quebre na linha */
    white-space: normal; /* Reseta o nowrap para permitir quebra de linha */
  }
  
  .btn-doe {
    display: inline-block;
    margin-top: 130px;
    background-color: #F5F3F3;
    color: black;
    font-weight: 600;
    padding: 14px 36px;
    border-radius: 50px; /* arredondado */
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
  }
  
  .btn-doe:hover {
    background-color: #E2E548; /* cor de destaque no hover */
    color: black;
    transform: scale(1.05);
  }
  
  /* Ícone de rolagem */
  .scroll-down {
    position: absolute;
    right: 40px;
    bottom: 30px;
    z-index: 2;
    font-size: 2rem;
    color: #F5F3F3;
    text-decoration: none;
    animation: bounce 1.5s infinite;
    border: 1px solid #F5F3F3;
    border-radius: 50%;
    padding: 8px;
  }
  
/* === PRÓXIMA SEÇÃO === */
.segunda-secao {
    background-color: #F5F3F3;
    color: black;
    padding: 70px 30px;
    min-height: 80vh;
  }
  
  .segunda-secao-conteudo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px; /* Aumentando o espaço entre texto e imagem */
  }
  
  .texto-esquerda {
    flex: 1;
    max-width: 60%; /* Limita o tamanho do texto */
  }
  
  .titulo {
    font-size: 2.5rem; /* Aumentando o tamanho do título */
    font-weight: bold;
    margin-bottom: 2px; /* Diminui o espaço entre o título e o parágrafo */
  }
  
  .destaque {
    color: #4482B4;
    font-weight: bold; 
    display: block; 
    font-size: 6rem;
    margin-top: 0;
  }

  #destaque{
    color: #4482B4;
    font-weight: bold; 
  }
  
  .texto-justificado {
    margin-top: 40px;
    text-align: justify;
    line-height: 1.8; /* Aumentando o espaçamento entre as linhas */
    font-size: 1.8rem; /* Aumentando o tamanho do texto */
  }
  
  .imagem-direita {
    flex: 1;
    display: flex;
    justify-content: center;
  }
  
  .imagem-direita img {
    border-radius: 15px;
    object-fit: cover;
    height: 600px;
  }
  
/* === TERCEIRA SEÇÃO === */
.terceira-secao {
  background-color: #EBEB80;
  color: black;
  padding: 40px 30px;
  min-height: 60vh;
  border-radius: 30px;
}

.titulo-impacto {
  font-size: 4rem; 
  font-weight: bold;
  color: black; /* Cor azul do site */
  text-align: center; /* Centraliza o título */
  margin-bottom: 40px; /* Espaço abaixo do título */
  text-transform: uppercase; /* Deixa o texto em maiúsculas */
}

#destaque1 {
  color: #4482B4;
  font-weight: bold; 
  font-size: 4rem;
  margin-top: 0;
}


.impact-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  justify-items: center;
  align-items: center;
}

.impact-item {
  background-color: transparent;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  width: 350px;
  transition: transform 0.3s ease;
}

.impact-item img {
  width: 50%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

/* Estilo para os números */
.number1, .number2, .number3 {
  font-weight: 700;
  color: black;  /* Defini cor padrão */
  margin: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 120px;  /* Adiciona um mínimo para o container não "sumir" durante a animação */
}

.number1 {
  color: #8956BD;  /* Cor para o primeiro tipo de número */
}

.number2 {
  color: #ED494B;  /* Cor para o segundo tipo de número */
}

.number3 {
  color: #125FC6;  /* Cor para o terceiro tipo de número */
}

.animated-number {
  font-weight: bold;
  transition: all 2s ease-out;
}

.impact-item span {
  font-size: 3rem;
}

.impact-text1 {
  font-size: 2rem;
  color: #8956BD;
  font-weight: bold;
}

.impact-text2 {
  font-size: 2rem;
  color: #ED494B;
  font-weight: bold;
}

.impact-text3 {
  font-size: 2rem;
  color: #125FC6;
  font-weight: bold;
}


@media (max-width: 1024px) {
  .hero {
    padding: 40px;
  }

  .content p {
    font-size: 4vw;
  }

  .btn-doe {
    margin-top: 80px;
    padding: 12px 30px;
  }

  .segunda-secao {
    padding: 50px 30px;
  }

  .segunda-secao-conteudo {
    flex-direction: column;
    gap: 40px;
  }

  .texto-esquerda {
    max-width: 100%;
  }

  .titulo {
    font-size: 2rem;
  }

  .destaque {
    font-size: 4rem;
  }

  .texto-justificado {
    font-size: 1.4rem;
    margin-top: 30px;
  }

  .imagem-direita img {
    height: 400px;
    width: 100%;
    max-width: 500px;
  }

  .titulo-impacto {
    font-size: 3rem;
  }

  #destaque1 {
    font-size: 3rem;
  }

  .impact-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .impact-item {
    width: 100%;
    max-width: 300px;
  }

  .segunda-secao p {
    font-size: 1.1em;
  }

  .impact-item span {
    font-size: 2.5rem;
  }

  .impact-text1,
  .impact-text2,
  .impact-text3 {
    font-size: 1.7rem;
  }

  .quarta-secao {
    padding: 50px 25px;
  }

  .frase-container h3 {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 30px 20px;
    height: 100vh;
  }

  .content {
    margin-top: 60px;
    padding: 0 15px;
  }

  .content p {
    font-size: 6vw;
    line-height: 1.3;
  }

  .btn-doe {
    margin-top: 50px;
    padding: 12px 28px;
    font-size: 0.95rem;
  }

  .scroll-down {
    right: 20px;
    bottom: 20px;
    font-size: 1.5rem;
    padding: 6px;
  }

  .segunda-secao {
    padding: 40px 20px;
    min-height: auto;
  }

  .segunda-secao-conteudo {
    gap: 30px;
  }

  .titulo {
    font-size: 1.8rem;
    text-align: center;
  }

  .destaque {
    font-size: 3.5rem;
    text-align: center;
  }

  .texto-justificado {
    font-size: 1.2rem;
    text-align: center;
    margin-top: 25px;
    line-height: 1.6;
  }

  .imagem-direita img {
    height: 350px;
    max-width: 100%;
  }

  .terceira-secao {
    padding: 35px 20px;
    min-height: auto;
  }

  .titulo-impacto {
    font-size: 2.5rem;
    margin-bottom: 30px;
  }

  #destaque1 {
    font-size: 2.5rem;
  }

  .impact-container {
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
  }

  .impact-item {
    width: 100%;
    max-width: 250px;
    padding: 15px;
  }

  .impact-item img {
    width: 40%;
  }

  .impact-item span {
    font-size: 2rem;
  }

  .impact-text1,
  .impact-text2,
  .impact-text3 {
    font-size: 1.4rem;
  }

  .quarta-secao {
    padding: 40px 20px;
  }

  .frase-container .frase-texto {
    font-size: 1.3em;
  }

  #destaque2 {
    font-size: 1.3em;
  }

  .quinta-secao {
    padding: 40px 20px;
  }

  .quinta-secao h2 {
    font-size: 1.8em;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 30px;
  }

  .footer-column,
  .contact-info {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 20px 15px;
    height: 100vh;
  }

  .content {
    margin-top: 30px;
    padding: 0 10px;
  }

  .content p {
    font-size: 7vw;
    line-height: 1.2;
  }

  .btn-doe {
    margin-top: 35px;
    padding: 10px 22px;
    font-size: 0.85rem;
  }

  .scroll-down {
    right: 15px;
    bottom: 15px;
    font-size: 1.3rem;
    padding: 5px;
  }

  .segunda-secao {
    padding: 30px 15px;
  }

  .titulo {
    font-size: 1.4rem;
  }

  .destaque {
    font-size: 2.5rem;
  }

  .texto-justificado {
    font-size: 1rem;
    margin-top: 20px;
    line-height: 1.5;
  }

  .imagem-direita img {
    height: 250px;
  }

  .terceira-secao {
    padding: 30px 15px;
  }

  .titulo-impacto {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }

  #destaque1 {
    font-size: 1.8rem;
  }

  .impact-container {
      grid-template-columns: 1fr;
      gap: 20px;
  }

  .impact-item {
    width: 100%;
    max-width: 280px;
    padding: 15px 10px;
  }

  .impact-item img {
    width: 35%;
  }

  .impact-item span {
    font-size: 1.8rem;
  }

  .impact-text1,
  .impact-text2,
  .impact-text3 {
    font-size: 1.2rem;
  }

  .quarta-secao {
    padding: 30px 15px;
  }

  .frase-container .frase-texto {
    font-size: 1.1em;
    line-height: 1.4;
  }

  #destaque2 {
    font-size: 1.1em;
  }

  .quinta-secao {
    padding: 30px 15px;
  }

  .quinta-secao h2 {
    font-size: 1.5em;
  }

  .btn {
    padding: 8px 18px;
    font-size: 0.85rem;
  }

  .footer-logo {
    width: 50px;
    margin-right: 15px;
  }

  .footer-contact-title,
  .footer-support-title {
    font-size: 1em;
  }

  .copyright-text {
    font-size: 0.8em;
  }
}

 /* === QUARTA SEÇÃO === */
.quarta-secao {
  background-color: #F5F3F3; /* Cor de fundo branco */
  padding: 70px 30px;
  text-align: center; /* Centraliza o conteúdo */
  align-items: center;
  justify-content: center;
}

.frase-container {
  display: inline-block; /* Faz a div se ajustar ao tamanho do conteúdo */
  padding: 20px 40px; /* Espaçamento interno */
  border: 4px solid #4482B4; /* Cor do contorno (azul do site) */
  border-radius: 50px; /* Bordas arredondadas */
  background-color: transparent; /* Fundo transparente */
  margin-top: 30px; /* Espaço superior */
}

.frase-texto {
  font-size: 2rem; /* Tamanho da fonte */
  font-weight: bold; /* Deixar a fonte em negrito */
  color: black; /* Cor do texto (azul do site) */
  margin: 0; /* Remover margens extras */
}
 
#destaque2 {
  color: #5E9BD2;
  font-weight: bold; 
  font-size: 2rem;
  margin-top: 0;
}

/* === DOAÇÃO CONTAINER === */
.doacao-container {
  display: flex;
  width: 80%; /* Define uma largura fixa para o container */
  max-width: 1500px; /* Define um tamanho máximo, se necessário */
  justify-content: space-between; /* Alinha os itens à esquerda e à direita */
  align-items: center; /* Alinha verticalmente */
  background-color: #4482B4; /* Fundo azul */
  border-radius: 20px; /* Bordas arredondadas */
  padding: 30px;
  margin: 50px auto; /* Garante centralização com margens automáticas */
  color: #F5F3F3;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Sombra sutil */
}

/* Ajuste para o lado esquerdo (Texto e imagem) */
.doacao-esquerda {
  flex: 1;
  max-width: 60%; /* Limita a largura */
  text-align: left;
}

.doacao-texto {
  font-size: 1.6rem;
  margin-bottom: 20px;
  text-align: justify;
}

.doacao-imagem {
  max-width: 100%; 
  width: 1200px;
  border-radius: 10px;
  object-fit: cover; /* Garante que a imagem preencha o container sem distorção */
}

/* Ajuste para o lado direito (QR Code, Pix e Botão) */
.doacao-direita {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.qr-code-container {
  margin-bottom: 20px;
}

.qr-code {
  width: 100%; 
  height: 100%;
  margin-top: 0px;
  margin-bottom: 0px;
}

.pix-texto {
  font-size: 1.4rem;
  margin-bottom: 20px;
}

/* Estilo do botão */
.btn.yellow {
  background: none;
  color: #F5F3F3;
  position: relative;
  padding: 20px 15px;
  border-radius: 50px;
  font-size: 1.3rem;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Pseudo-elemento para o fundo animado */
.btn.yellow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: #E2E548;
  transition: width 0.5s ease;
  z-index: 0;
  border-radius: 50px;
}

/* Efeito hover - preenchimento da esquerda para a direita */
.btn.yellow:hover::before {
  width: 100%;
}

/* Texto do botão */
.btn.yellow span {
  position: relative;
  z-index: 1;
  transition: color 0.5s ease;
  color: #F5F3F3;
}

/* Texto muda de cor no hover */
.btn.yellow:hover span {
  color: #F5F3F3;
}

/* Estilo do ícone */
.btn.yellow ion-icon {
  font-size: 1.5rem; /* Ajuste o tamanho do ícone, se necessário */
  transition: color 0.3s ease; /* Animação suave na cor */
  margin-right: 10px; /* Espaçamento entre a seta e o texto */
  color: #F5F3F3; /* Cor inicial da seta */
}

/* Efeito no hover para a seta: mudar a cor para branca */
.btn.yellow:hover ion-icon {
  color: #F5F3F3;
}

/* === QUINTA SEÇÃO === */
.quinta-secao {
  background-color: #F5F3F3; /* Fundo branco */
  padding: 0px 30px;
  min-height: 80vh;
  padding-bottom: 100px;
}

.quinta-secao-container {
  padding: 0;
}

.titulo-grande {
  font-size: 5rem;
  text-align: left;
  text-transform: uppercase;
  margin-bottom: 30px;
  color: #C0C05F;
}

.quinta-secao-conteudo {
  display: flex;
  align-items: flex-start; /* Alinha a imagem e o texto no topo */
  justify-content: space-between;
  gap: 20px; /* Adiciona um pequeno gap entre a imagem e o texto */
}

.foto-esquerda img {
  width: 100%;
  max-width: 900px;
  height: auto;
  border-radius: 50px;
}

.texto-direita {
  max-width: 850px;
  font-size: 1.2rem; /* Aumenta o tamanho da fonte */
  margin-left: 0;
  padding-left: 0px;
  padding-right:40px;
  line-height: 1.6;
  align-items: center;
  justify-content: center
}

#texto-justificado {
  text-align: justify;
  line-height: 1.8; /* Aumentando o espaçamento entre as linhas */
  font-size: 1.8rem; /* Aumentando o tamanho do texto */
  color: black;
  padding: 20px;
}

.subtitulo {
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 20px;
  color: #1C65A2; /* Cor azul */
  border: 5px solid #1C65A2; /* Borda azul somente no subtítulo */
  border-radius: 50px;
  padding: 10px;
}

/* Novo botão com a seta à direita */
.btn.reversed {
  background: none;
  color: black;
  margin-top: 60px;
  position: relative;
  padding: 20px 40px; /* Reduzindo o padding para aproximar o botão do texto */
  border-radius: 50px;
  font-size: 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: underline; /* Adiciona o sublinhado no texto */
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border: 2px solid #F5F3F3; /* Borda branca */
  transition: all 0.3s ease;
  width: auto; /* Ajusta a largura automaticamente com base no texto */
}

/* Pseudo-elemento para o fundo animado */
.btn.reversed::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0; /* Ajustando a posição para a animação da esquerda para a direita */
  width: 0%;
  height: 100%;
  background-color: #5E9BD2; /* Cor do fundo de animação */
  transition: width 0.5s ease;
  z-index: 0;
  border-radius: 50px;
}

/* Efeito hover - preenchimento da esquerda para a direita */
.btn.reversed:hover::before {
  width: 100%;
}

/* Texto dentro do botão */
.btn.reversed span {
  position: relative;
  z-index: 1;
  transition: color 0.5s ease;
}

/* Texto muda de cor no hover */
.btn.reversed:hover span {
  color: black; /* Cor do texto no hover */
}

/* Estilo do ícone */
.btn.reversed ion-icon {
  font-size: 1.5rem; /* Tamanho do ícone */
  transition: color 0.3s ease; /* Animação suave na cor */
  margin-left: 8px; /* Menos espaço entre o texto e a seta */
  color: black; /* Cor inicial da seta */
}

/* Efeito no hover para a seta: mudar a cor para preto */
.btn.reversed:hover ion-icon {
  color: black;
}

.main-footer {
  background-color: #E2E548;
  padding: 40px 20px 20px 20px;
  color: #333; 
}
.footer-content {
  display: flex;
  justify-content: space-between; 
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}
.footer-column {
  width: 30%; 
  padding: 0 15px;
}
.contact-info {
  width: 40%; 
}
.logo-contact-group {
  display: flex; 
  align-items: flex-start; 
}
.footer-logo {
  width: 70px; 
  height: auto;
  margin-bottom: 0; 
  margin-right: 20px; 
  flex-shrink: 0; 
}
.contact-details {
  padding-top: 5px; 
}
.footer-contact-title, .footer-support-title {
  font-weight: bold;
  font-size: 1.1em;
  margin-bottom: 5px;
  color: #333; 
}
.footer-link {
  display: block;
  text-decoration: none;
  color: #333; 
  margin-bottom: 5px;
  transition: color 0.3s;
}
.footer-link:hover {
  text-decoration: underline;
}
.footer-bottom {
  max-width: 1000px;
  margin: 30px auto 0 auto;
  text-align: center;
}
.footer-divider {
  border: 0;
  height: 1px;
  background-color: #777; 
  margin-bottom: 15px;
}
.copyright-text {
  font-size: 0.9em;
  color: #333;
}

.scroll-down {
  position: absolute;
  right: 40px;
  bottom: 30px;
  z-index: 2;
  font-size: 2rem;
  color: white;
  text-decoration: none;
  border: 1px solid white;
  border-radius: 50%;
  padding: 5px;
  animation: bounce 1.5s infinite;
  transition: opacity 0.3s;
  text-align: center;
}

.scroll-down:hover {
  opacity: 0.7;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* RESPONSIVIDADE */

@media (max-width: 1024px) {
    .content-section {
        height: auto;
        min-height: 100vh;
        padding: 80px 20px 40px;
    }

    .main-text {
        font-size: 1.2em;
    }

    .premio-card {
        flex-direction: column;
        padding: 30px 25px 90px;
    }

    .card-image-container {
        max-width: 100%;
        margin-right: 0;
        margin-bottom: 25px;
    }

    .premio-titulo-destaque {
        font-size: 1.4em;
    }

    .premio-subtitulo {
        font-size: 1.4em;
        margin-bottom: 25px;
    }

    .premio-descricao {
        font-size: 1.1em;
    }

    .midia-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .large-card {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .textos-container {
        padding: 0 15px;
    }

    .main-text {
        font-size: 1em;
    }

    .actions {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        font-size: 0.9em;
        padding: 10px 20px;
    }

    .section-title {
        font-size: 2em;
    }

    .carousel-wrapper {
        padding: 0 10px 20px 10px;
    }

    .premio-card {
        padding: 25px 20px 80px;
    }

    .premio-titulo-destaque {
        font-size: 1.2em;
    }

    .premio-subtitulo {
        font-size: 1.2em;
    }

    .premio-descricao {
        font-size: 1em;
    }

    .carousel-arrow-left {
        transform: translateX(calc(-100% - 30px));
    }

    .carousel-arrow-right {
        transform: translateX(calc(100% + 30px));
    }

    .midia-title {
        font-size: 2em;
    }

    .midia-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .large-card {
        grid-column: span 1;
    }

    .large-card .midia-titulo {
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .content-section {
        padding: 60px 15px 30px;
    }

    .main-text {
        font-size: 0.9em;
    }

    .btn {
        font-size: 0.8em;
        padding: 8px 15px;
    }

    .section-title {
        font-size: 1.5em;
        margin-bottom: 20px;
    }

    .premio-card {
        padding: 20px 15px 70px;
    }

    .premio-titulo-destaque {
        font-size: 1em;
        margin-bottom: 10px;
    }

    .premio-subtitulo {
        font-size: 1em;
        margin-bottom: 15px;
    }

    .premio-descricao {
        font-size: 0.9em;
    }

    .carousel-arrow {
        width: 30px;
        height: 30px;
        bottom: 50px;
    }

    .carousel-arrow svg {
        width: 16px;
        height: 16px;
    }

    .carousel-arrow-left {
        transform: translateX(calc(-100% - 20px));
    }

    .carousel-arrow-right {
        transform: translateX(calc(100% + 20px));
    }

    .carousel-indicators {
        bottom: 50px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    .midia-title {
        font-size: 1.5em;
    }

    .midia-card .midia-image {
        height: 100px;
    }

    .midia-details {
        padding: 12px;
    }

    .midia-categoria {
        font-size: 0.7em;
    }

    .midia-titulo {
        font-size: 1em;
    }

    .midia-link {
        font-size: 0.8em;
    }
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}