/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== VARIÁVEIS DE CORES ===== */
:root {
  --color-primary-1: #8A002E;
  --color-primary-2: #e8f0fe;
  --color-primary-3: #d2e3fc;
  --color-primary-4: #aecbfa;
  --color-primary-5: #8ab4f8;
  --color-primary-6: #ff0452;
  --color-neutral-1: #202124;
  --color-neutral-2: #5f6368;
  --color-neutral-3: #dadce0;
  --color-neutral-4: #f8f9fa;
}

/* ===== ESTILOS GERAIS ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', 'Roboto', sans-serif;
  background-color: var(--color-neutral-4);
  color: #333;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ===== HERO SECTION ===== */
#home {
  display: flex;
  min-height: calc(100vh - 91px);
  position: relative;
  padding-top: 91px;
}

#cta {
  width: 35%;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 5%;
  padding-left: 2rem;
  z-index: 2;
}

/* ESTILOS ESPECÍFICOS PARA O TÍTULO E BOTÃO (NOVO) */
#cta .title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--color-neutral-1);
  line-height: 1.2;
  margin-bottom: 1rem;
}

#cta .title span {
  color: var(--color-primary-6);
  display: inline;
}

#cta_buttons {
  display: flex;
  gap: 1.5rem;
  width: 100%;
  justify-content: flex-start;
}

#cta_buttons a {
  text-decoration: none;
}

#cta_buttons a.btn-default {
  background-color: var(--color-primary-6);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  width: auto;
  min-width: 250px;
}

#cta_buttons a.btn-default:hover {
  background-color: var(--color-primary-1);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(138, 0, 46, 0.3);
}

.social-media-buttons {
  display: flex;
  gap: 1rem;
}

.social-media-buttons a {
  color: var(--color-neutral-1);
  font-size: 1.5rem;
  transition: color 0.3s;
}

.social-media-buttons a:hover {
  color: var(--color-primary-6);
}

#banner {
  display: flex;
  align-items: start;
  justify-content: end;
  width: 70%;
  z-index: 2;
}

#banner2 {
  display: flex;
  align-items: start;
  z-index: 2;
}

#banner img {
  margin-top: 20px;
  height: 100%;
  width: fit-content;
  max-height: 80vh;
  object-fit: contain;
}

.shape {
  background-color: var(--color-primary-2);
  width: 50%;
  height: 100%;
  position: absolute;
  border-radius: 40% 30% 0% 20%;
  top: 0;
  right: 0;
  z-index: 0;
}

/* ===== RESPONSIVIDADE ===== */
/*====== TAMANHO PADRÃO ===== */ 
@media screen and (max-width: 1170px) {
  #home {
    min-height: 100%;
    padding-top: 0;
  }

  #banner,
  #banner img,
  #home .shape {
    display: none;
  }

  #cta {
    width: 100%;
    text-align: center;
    align-items: center;
    padding: 2rem;
    margin: 100px;
  }

  #cta .title {
    font-size: 3.5rem;
    
  }

  #cta .description {
    font-size: 1rem;
  }

  #cta_buttons {
    justify-content: center;
  }
}

@media screen and (max-width: 480px) {
  #cta_buttons {
    flex-direction: column;
    gap: 1rem;
  }

  #cta .title {
    font-size: 2.5rem;
  }
  
  #cta_buttons a.btn-default {
    width: 100%;
    max-width: 300px;
    padding: 0.8rem;
  }
}

/* [O RESTANTE DO SEU CSS EXISTENTE PERMANECE EXATAMENTE IGUAL] */
a {
  text-decoration: none;
  color: inherit;
}

.hero {
  background: linear-gradient(to bottom, #aedff7, white);
  padding: 60px 40px;
}

.hero-content {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  text-align: center;
}

.texto-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #d94b38;
}

.texto-hero p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.imagem-hero img {
  max-width: 100%;
  border-radius: 12px;
  margin-bottom: 30px;
}

@media (min-width: 768px) {
  .hero-content {
    flex-direction: row;
    text-align: left;
  }

  .texto-hero,
  .imagem-hero {
    flex: 1;
    padding: 20px;
  }
}

.bloco {
  background-color: #f8f8fa;
  padding: 60px 20px;
  text-align: center;
}

.cartoes {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.cartao {
  background: #fff7f5;
  border: 1px solid #ffe2db;
  padding: 20px;
  border-radius: 10px;
}

@media (min-width: 768px) {
  .cartoes {
    flex-direction: row;
    justify-content: space-around;
  }
}

.eventos-atualizacoes {
  padding: 4rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.eventos h2,
.atualizacoes h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.evento-conteudo {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.evento-conteudo img {
  max-width: 300px;
  border-radius: 12px;
}

.cards-atualizacoes {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 1rem;
  flex-direction: center;
}

.card-atualizacao {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 92.5%;
  max-height: 200px;
  border-radius: 12px;
  box-shadow: 0 8px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  background-color: #ffffff;
}

.card-link-wrapper {
  text-decoration: none;
  color: inherit;
}

.card-link-wrapper:hover .card-atualizacao {
  transform: scale(1.02);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.card-atualizacao img {
  width: 250px;
  height: auto;
}

.card-atualizacao p {
  padding: 1rem;
}

.depoimentos-grid {
  display: grid;
  gap: 20px;
  margin-top: 30px;
}

.depoimento {
  background: #f9f9f9;
  padding: 20px;
  border-left: 5px solid #d94b38;
  border-radius: 6px;
}

.depoimento span {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  color: #666;
}

@media (min-width: 768px) {
  .depoimentos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.formulario {
  background: linear-gradient(to bottom, #aedff7, white);
  padding: 4rem 2rem;
  color: white;
  border-radius: 12px;
}

.form-voluntario {
  display: grid;
  gap: 15px;
  max-width: 600px;
  margin: 0 auto;
  margin-top: 30px;
}

.form-voluntario input,
.form-voluntario textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

.banner_container {
  width: 300px;
  height: 300px;
  margin: 85px auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 150px);
  grid-template-rows: repeat(3, 150px);
  gap: 10px;
}

.square {
  width: 150px;
  height: 150px;
  border-radius: 10px;
  z-index: 1;
}

.mao-banner {
  position: absolute;
  top: 15.8%;
  left: 61.9%;
  z-index: 2;
  height: 540px;
}

.yellow {
  background: #f1cc19;
}

.cyan {
  background: #029495;
}

.gray {
  background: #a9a9a9;
}

.lightgray {
  background: #dedede;
}

.red {
  background: #f20303;
}

.orange {
  background: #f57129;
}

.s1 {
  grid-column: 1;
  grid-row: 1;
}

.s2 {
  grid-column: 2;
  grid-row: 1;
}

.s3 {
  grid-column: 3;
  grid-row: 1;
}

.s4 {
  grid-column: 4;
  grid-row: 1;
}

.s5 {
  grid-column: 1;
  grid-row: 2;
}

.s6 {
  grid-column: 2;
  grid-row: 2;
}

.s7 {
  grid-column: 3;
  grid-row: 2;
}

.s8 {
  grid-column: 1;
  grid-row: 3;
}

.s9 {
  grid-column: 2;
  grid-row: 3;
}

.s10 {
  grid-column: 3;
  grid-row: 3;
}

@media screen and (max-width: 760px){
 

  .card-atualizacao{
   align-items: center;
    flex-direction: column;
    display: contents;
  }

  .card-atualizacao img{
    width: 100%;
    max-width: 300px;
  }

  .cards-atualizacoes{
   flex-direction: column;
   align-items: center;  
  }

  .card-atualizacao p{
    text-align: center;
    flex-direction: column;
  }
}

/* @media screen and (max-width: 768px) {
  .card-atualizacao img {
    display: none;
  }

  .card-atualizacao {
    text-align: center;
    padding: 1rem;
  }
} */

@media screen and (max-width: 760px) {
  .eventos h2,
  .atualizacoes h2 {
    text-align: center;
    width: 100%;
  }

  .eventos,
  .atualizacoes {
    text-align: center;
  }
}

@media screen and (max-width: 760px) {
  .evento-conteudo {
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  .evento-card {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
}

/* ==== AJUSTES PARA TAMANHOS DE TELA ==== */

/* ==== ANDROID E IOS ==== */
@media screen and (min-width: 360px) and (max-width: 384px){

  #cta {
    margin-left: 25px;
  }
}

@media screen and (min-width: 385px) and (max-width: 393px){

  #cta {
    margin-left: 38px;
  }
}

@media screen and (min-width: 400px) and (max-width: 415px){

  #cta {
    margin-left: 42px;
  }
}

@media screen and (min-width: 416px) and (max-width: 430px){

  #cta {
    margin-left: 42px;
  }
}

@media screen and (min-width: 430px) and (max-width: 440px){

  #cta {
    margin-left: 50px;
  }
}

/* ==== TABLETS ==== */

@media screen and (min-width: 768px) and (max-width: 800px){

  #cta {
    margin-left: 190px;
  }
}

@media screen and (min-width: 820px) and (max-width: 835px){

  #cta {
    margin-left: 200px;
  }
}
