:root{
  --cor5: #06CFE7;
}

h2{
    margin-top: 0;
    margin-bottom: 30px;
}
p{
    margin: 0;
}
.side{
    padding: 10px;
}
.card:hover{
  transform: scale(1.02);
}

/*------------- HERO -----------*/
.hero{
    position: relative;
    height: 600px;

    background: url("../img/evento/hero_image.jpg") center / cover no-repeat;

    display: flex;
    justify-content: space-between;
    
    gap: 10px;

    overflow: hidden;
}

/* overlay */
.hero::before{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4); /* ajuste a intensidade aqui */
    z-index: 1;
}

/* garante que o conteúdo fique acima do overlay */
.hero > *{
    position: relative;
    z-index: 2;
    padding: 10px;
}

.hero h1,
.hero p{
    color: white;
}
.hero img{
    width: 80%;
}
.hero p{
    font-size: 1.5em;
}
.hero .data{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding-left: 20px;
}
.hero .data i,
.hero .data .day{
    color: var(--cor5);
}
.hero .data .info{
  display: flex;
  align-items: center;
  gap: 5px;
}
.hero .data a i{
  color: var(--cor1);
}
.hero a{
    width: 200px;
    background-color: var(--cor5);
    padding: 10px;
    border-radius: 20px;
    color: white;
    text-decoration: none;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;

    transition: 0.2s;
}
.hero a:hover{
    transform: scale(1.05);
    color: white;
    background-color: var(--cor1);
}

/*--------- Hero - timer --------- */
.timer_side{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding-right: 10%;
}
.timer_side p{
  text-align: center;
  color: var(--cor1);
  font-size: 20px !important;
}
.timer_side .timer{
    width: 180px;
    height: 180px;
    background-color: rgba(225, 231, 231, 0.9);
    border-radius: 20px;
    padding: 5px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.timer_side #timer{
    font-size: 3em;
    color: var(--cor1);
}

/* ------------ Main content ------------- */
.main_content_side h2{
    margin-bottom: 40px;
}
.main_content_side .cards_about{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.main_content_side .card{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 5px;

    color: white;
    padding: 10px;

    border: none;

    transition: 0.2s;
}
.main_content_side .card:nth-child(2){
    border: none;
  }
.main_content_side .card i{
    font-size: 100px;
    color: var(--cor5);
    border-radius: 30px;
    padding: 10px;
}
.main_content_side .card h3{
  color: var(--cor1);  
  text-align: left !important;
}
.main_content_side .card p{
  color: black;
}

/* -------------- Gifts ----------- */
.gifts{
  background-color: #EAF0F7;
}
.gifts .cards{
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}
.gifts .card{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;

  border: none;
  border-radius: 20px;

  -webkit-box-shadow: 5px 5px 15px 5px rgba(0,0,0,0.21); 
  box-shadow: 5px 5px 15px 5px rgba(0,0,0,0.21);
}
.gifts .card img{
  width: 250px;
}

/* ----------- Speakers ----------- */
.speakers_side{
  padding: 2rem 1rem; /* opcional, melhora respiro */
}
.speakers_side h2,
.speakers_side p{
    color: var(--cor1);
    text-align: center;
}

/* CARD */
.speakers_side .speaker{
  width: 300px;              
  background: #fff;
  border-radius: 14px;
  overflow: hidden;          
  -webkit-box-shadow: 4px 5px 12px 5px rgba(0,0,0,0.25); 
  box-shadow: 4px 5px 12px 5px rgba(0,0,0,0.25);

  display: flex;
  flex-direction: column;
}

/* IMAGEM */
.speakers_side .speaker_img{
  height: 220px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* CONTEÚDO */
.speakers_side .speaker_body{
  padding: 14px 14px 16px;
}

.speakers_side .speaker h3{
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 700;
}

.speakers_side .speaker_role{
  display: flex;
  justify-content: center;
  margin: 10px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--cor5);
}

.speakers_side .speaker p{
  margin: 0;
  font-size: .9rem;
  line-height: 1.35;
  color: #475569;
}

/* hover (opcional) */
.speakers_side .speaker:hover{
  transform: translateY(-2px);
  transition: .2s ease;
}


/* ===============================
   SPONSORS – ESTEIRA INFINITA (MOBILE FIRST)
   =============================== */

.sponsors_side{
  padding: 2rem 1rem;
}

/* viewport */
.sponsors_marquee{
  width: 100%;
  overflow: hidden;
  position: relative;

  /* fade nas bordas */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 12%,
    #000 88%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 12%,
    #000 88%,
    transparent
  );
}

/* faixa animada (A + A) */
.sponsors_track{
  display: flex;
  align-items: center;
  gap: 28px;                 /* MOBILE: menor gap */
  width: max-content;

  animation: sponsors-marquee 14s linear infinite; /* MOBILE: mais lento */
  will-change: transform;
  transform: translate3d(0,0,0);
}

/* slot do patrocinador */
.sponsor{
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
}

/* imagem */
.sponsor img{
  height: 46px;  /* MOBILE FIRST */
  width: auto;
  display: block;
  object-fit: contain;
  opacity: .95;
}

/* Transição suave dos campos dinâmicos */
.dynamic-fields {
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.3s ease;
    max-height: 0;
    opacity: 0;
}
.dynamic-fields.visible {
    max-height: 500px;
    opacity: 1;
}

.img{
    background: url(../img/FUNDO.png);
    background-size: cover;
    height: 100%;
}

/* animação: anda metade da track (porque é A + A) */
@keyframes sponsors-marquee{
  0%   { transform: translate3d(0,0,0); }
  100% { transform: translate3d(-50%,0,0); }
}

/* acessibilidade */
@media (prefers-reduced-motion: reduce){
  .sponsors_track{
    animation: none;
    transform: none;
  }
}

/* ===============================
   TELAS MAIORES (tablet/desktop)
   =============================== */
@media (min-width: 768px){
  .sponsors_side{
    padding: 2.5rem 2rem;
  }

  .sponsors_track{
    gap: 44px;
    animation-duration: 24s;
  }

  .sponsor img{
    height: 56px;
  }
}

@media (min-width: 992px){
  .sponsors_track{
    gap: 56px;
    animation-duration: 22s;
  }

  .sponsor img{
    height: 60px;
  }
}



#form button{
  width: auto;
}

