/*==================================================
  ESTILOS GERAIS
  ==================================================*/
body {
  background-color: #ffffff;
}

/*==================================================
  FONTES
  ==================================================*/
@font-face {
  font-family: 'Neogrotesk Ess Alt';
  src: url('includes/font/Fontspring-DEMO-neogroteskessalt-ultralight.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
}
@font-face {
  font-family: 'Neogrotesk Ess Alt';
  src: url('includes/font/Fontspring-DEMO-neogroteskessalt-light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Neogrotesk Ess Alt';
  src: url('includes/font/Fontspring-DEMO-neogroteskessalt-regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Neogrotesk Ess Alt';
  src: url('includes/font/Fontspring-DEMO-neogroteskessalt-bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Neogrotesk Ess Alt';
  src: url('includes/font/Fontspring-DEMO-neogroteskessalt-black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
}
@font-face {
  font-family: 'Neogrotesk Ess Alt';
  src: url('includes/font/Fontspring-DEMO-neogroteskessalt-ultralightit.otf') format('opentype');
  font-weight: 200;
  font-style: italic;
}
@font-face {
  font-family: 'Neogrotesk Ess Alt';
  src: url('includes/font/Fontspring-DEMO-neogroteskessalt-lightit.otf') format('opentype');
  font-weight: 300;
  font-style: italic;
}
@font-face {
  font-family: 'Neogrotesk Ess Alt';
  src: url('includes/font/Fontspring-DEMO-neogroteskessalt-regularit.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: 'Neogrotesk Ess Alt';
  src: url('includes/font/Fontspring-DEMO-neogroteskessalt-boldit.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
}
@font-face {
  font-family: 'Neogrotesk Ess Alt';
  src: url('includes/font/Fontspring-DEMO-neogroteskessalt-blackit.otf') format('opentype');
  font-weight: 900;
  font-style: italic;
}

/*==================================================
  LAYOUT DE SEÇÕES DE CONTEÚDO
  ==================================================*/
/* Centraliza e limita a largura da seção principal e de suas divs */
.historia-section,
.historia-section1,
.historia-section2,
.historia-section3 {
  max-width: 700px;
  margin: 0 auto;
}

/* Estilos de texto padrão para todo o conteúdo */
.historia-text-content {
  color: #333;
  font-weight: 100;
  font-family: 'Neogrotesk Ess Alt', sans-serif;
  text-align: center;

}

/* Estilos específicos para as divs */
.historia-section1 {
  padding: 40px 20px 20px 40px;
  background-color: #ffffff;
}

.historia-section1 .historia-text-content {
  font-size: 16px;
}

.historia-section2 {
  padding: 0 20px;
}

.historia-section3 {
  padding: 40px 20px 20px 40px;
  background-color: #ffffff;
}

.historia-section3 .historia-text-content {
  font-size: 16px;
}

/* Oculta as versões mobile por padrão no desktop */
.historia-section1-mobile,
.historia-section3-mobile {
  display: none;
}

/*==================================================
  VÍDEO DO YOUTUBE
  ==================================================*/
.video-placeholder {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 57.25%; /* Mantém a proporção 16:9 */
  overflow: hidden;
  cursor: pointer;
  background-color: black;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 25px;
}

.video-placeholder img.video-thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-placeholder .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 55px;
  background-color: rgba(255, 0, 0, 0.8);
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease;
}

.video-placeholder .play-button::before {
  content: '';
  position: absolute;
  left: 55%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(90deg);
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 30px solid white;
  transition: border-bottom-color 0.3s ease;
}

.video-placeholder:hover .play-button {
  background-color: rgba(255, 0, 0, 1);
}

.video-placeholder iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 15px;
  margin: 0;
}

/*==================================================
  MEDIA QUERIES PARA RESPONSIVIDADE
  ==================================================*/
@media (max-width: 768px) {
  /* Oculta as versões desktop em telas menores */
  .historia-section1-desktop,
  .historia-section3-desktop {
    display: none;
  }

  /* Exibe as versões mobile em telas menores */
  .historia-section1-mobile,
  .historia-section3-mobile {
    display: block;
  }

  /* Aplica os estilos de mobile nas versões mobile */
  .historia-section1-mobile,
  .historia-section3-mobile {
    padding-left: 30px;
    padding-right: 30px;
    text-align: center;
    font-size: 16px;
  }
}