.open-energy-hero {
  position: relative;
  padding: 0; /* Removi padding para não deslocar */
  height: 700px;
  overflow: hidden;
  color: #fff;
}

.open-energy-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.open-energy-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #001c2fe5;
  z-index: 1;
}

.open-energy-container {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 20px;
}

/* @media (max-width: 991px) {
  
.open-energy-container-video-mobile {
  display: flex;
  flex-direction: column-reverse !important;
}
} */

.open-energy-content {
  max-width: 600px;
}

.open-energy-title {
  font-size: 50px;
  font-weight: 700;
  margin-bottom: 20px;
}

.open-energy-line {
  width: 200px;
  height: 2px;
  background-color: #ffb510;
  margin-bottom: 20px;
}

.open-energy-text {
  font-size: 20px;
  margin-bottom: 30px;
}

.open-energy-button {
  display: inline-block;
  padding: 12px 30px;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s;
  border: 1px solid #fff;
  border-radius: 40px;
}

.open-energy-button:hover {
  background-color: #ffffff5e;
}

/* Container principal */
.openenergy-timeline-section {
  position: relative;
  padding: 40px 0 80px;
  background-repeat: no-repeat;
}

.openenergy-container {
  position: relative;
  z-index: 2;
}

.openenergy-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 30, 60, 0.6); /* overlay mais escuro para contraste */
  z-index: 1;
}

.openenergy-section-title {
  text-align: center;
  font-size: 32px;
  color: #fff;
  position: relative;
  z-index: 2;
  margin-bottom: 40px;
}

/* CSS para a nova seção jornada-empresa (baseada em nossa-trajetoria) */

.titulo-slide-open-energy {
  font-family: "Nunito Sans";
  font-weight: 700;
  font-style: Bold;
  font-size: 50px !important;
  line-height: 100%;
  text-align: center;
  margin-bottom: 50px;
}

.jornada-empresa {
  position: relative;
  overflow: hidden;
  color: white;
  padding: 60px 0;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.overlay-video {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.jornada-empresa .conteudo {
  position: relative;
  z-index: 2;
}

.container-conteudo {
  max-width: 1320px;
  margin: 0 auto;
}

/* Estilos do Swiper */
.slider-jornada {
  position: relative;
  padding-top: 100px !important;
  padding-bottom: 100px !important;
}

/* Estilos dos slides */
.swiper-slide {
  height: auto;
  display: flex;
  justify-content: center;
}

/* Estilos dos cards */
.evento-historico {
  background: linear-gradient(135deg, #083e63, #083e63cc);
  border-radius: 8px;
  padding: 110px 20px 20px;
  position: relative;
  width: 100%;
  box-shadow: 0 4px 10px rgb(0 0 0 / 42%);
  color: #ffffff;
  text-align: center;
  min-height: 270px;
}

.evento-historico::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  padding: 1px;
  background: linear-gradient(to bottom, #02b2ff 0%, transparent 70%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
/* Círculo com o ano */
.ano-destaque {
  position: absolute;
  top: -98px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #0f43ab, #02b1ff);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 35px;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 100 !important;
}

.descricao-evento {
  font-family: "Nunito Sans";
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 0%;
  color: #fff;
}

.jornada-empresa .titulo-secao {
  color: #ffffff;
}

/* Responsividade */
@media (max-width: 1024px) {
  .swiper-slide {
    padding: 0 10px;
  }
}

@media (max-width: 768px) {
  .titulo-secao {
    font-size: 24px;
  }

  .ano-destaque {
    width: 70px;
    height: 70px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .titulo-secao {
    font-size: 28px;
  }

  .evento-historico {
    padding: 50px 15px 15px;
  }

  .ano-destaque {
    width: 60px;
    height: 60px;
    font-size: 16px;
    top: -30px;
  }

  .descricao-evento {
    font-size: 13px;
  }
}

@media (max-width: 992px) {
  .evento-historico {
    width: calc(50% - 20px);
  }

  .swiper-slide {
    width: 100% !important;
  }
}

@media (max-width: 768px) {
  .slider-jornada {
    flex-direction: column;
    align-items: center;
  }

  .evento-historico {
    width: 70%;
    max-width: 400px;
    text-align: center;
  }

  .ano-destaque {
    margin: 4px auto 15px auto;
  }

  .ano-destaque {
    width: 120px;
    height: 120px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .ano-destaque {
    margin: -24px auto 15px auto;
  }

  .ano-destaque {
    width: 100px;
    height: 100px;
    font-size: 18px;
  }

  .slider-jornada {
    padding-top: 57px !important;
  }
}

.swiper-button-next,
.swiper-button-prev {
  top: var(--swiper-navigation-top-offset, 62%) !important;
}

.swiper-pagination-bullet {
  background-color: #ffff !important;
  opacity: 1 !important;
}

.swiper-pagination-bullet-active {
  background-color: #0074be !important;
  opacity: 1 !important;
}

.swiper-pagination-bullets.swiper-pagination-horizontal {
  bottom: var(--swiper-pagination-bottom, 20px) !important;
}

.open-energy-info-container {
  width: 100%;
  padding: 60px 0px 0 0;
  background-color: #fff;
}

.open-energy-cards-wrapper {
  display: flex;
  gap: 200px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.open-energy-card-item {
  position: relative;
  flex: 1;
  max-width: 480px;
  min-width: 300px;
  height: 700px;
}

.open-energy-card-background-image {
  position: absolute;
  top: 430px;
  left: -20px;
  right: -20px;
  bottom: 0;
  background-image: url(../assets/open-energy/fundoAzul.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
  opacity: 0.8;
}
.open-energy-card-primary,
.open-energy-card-secondary {
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  padding: 25px 30px 0px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  min-height: 432px;
  z-index: 2;
  width: 477px;
}
.open-energy-card-content {
  position: relative;
  z-index: 3;
}

.open-energy-card-title {
  color: #0074be;
  font-size: 50px;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: left;
  width: 572px;
}

.open-energy-card-description {
  color: #5e5e5e;
  font-size: 22px;
  line-height: 1.6;
}

.open-energy-card-line {
  width: 280px;
  border: 1px solid #0074be;
  margin: 45px 0;
}

section.open-energy-info-container.open-energy-desktop {
  height: 759px;
}
.open-energy-desktop {
  display: block;
}

.open-energy-mobile {
  display: none;
}

.open-energy-desktop {
  display: block;
}

.open-energy-mobile {
  display: none;
}

@media (max-width: 991px) {
  .open-energy-desktop {
    display: none;
  }

  .open-energy-mobile {
    display: block;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
  }

  .open-energy-mobile-card {
    margin-bottom: 80px;
    text-align: center;
  }

  .open-energy-mobile-title {
    color: #0074be;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: left;
    margin-left: 27px;
  }

  .open-energy-mobile-line {
    width: 187px;
    border: 1px solid #02b2ff;
    margin: 0 0px 30px 30px;
  }

  .open-energy-mobile-content-wrapper {
    position: relative;
    max-width: 90%;
    margin: 0 auto;
  }

  .open-energy-mobile-content {
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    z-index: 2;
  }

  .open-energy-mobile-background {
    position: absolute;
    bottom: -41px;
    left: -20px;
    right: -20px;
    height: 180px;
    background-image: url("../assets/open-energy/fundoAzul.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
    border-radius: 20px 20px 0 0;
  }

  .open-energy-mobile-description {
    color: #333333;
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
  }
}

/* Responsividade
@media (max-width: 768px) {
  
  .open-energy-cards-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 50px !important;
  }

  .open-energy-card-item {
    max-width: 70%;
  }

  .open-energy-card-background-image {
    position: absolute;
    top: 50px;
    left: -15px;
    right: -15px;
    bottom: 0;
    background-image: url("../assets/open-energy/fundoAzul.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
  }
} */

.open-energy-container-manifesto {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.open-energy-manifesto-content {
  max-width: 100%;
}

.open-energy-manifesto {
  position: relative;
  padding: 150px 20px;
  overflow: hidden;
  color: #fff;
}

.open-energy-video-bg-manifesto {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.open-energy-manifesto .container {
  position: relative;
}

.botao-saiba-mais2 {
  text-decoration: none;
  color: #ffb510;
  border-radius: 30px;
  border: 2px solid #ffb510;
  padding: 10px 20px;
  transition: all 0.3s;
}
.botao-saiba-mais2:hover {
  text-decoration: none;
  color: #ffb510;
  border-radius: 30px;
  border: 2px solid #ffb510;
  padding: 10px 20px;
  background-color: #ffb5104d;
}

.open-energy-title-manifest {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
}

.open-energy-manifest-description {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 30px;
}

.open-energy-manifest-description-2 {
  font-weight: 400;
  font-size: 20px;
  margin-bottom: 60px;
}

.card-3 {
  padding: 20px 30px;
  border: 1px solid #ffff;
  border-radius: 15px;
  color: #ffff;
  max-width: 560px;
  height: 180px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-1,
.card-2 {
  padding: 20px 30px;
  border: 1px solid #ffff;
  border-radius: 15px;
  color: #ffff;
  max-width: 560px;
  height: 130px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease-in-out;
}

.card-1:hover {
  background: #ffb51080;
}
.card-2:hover {
  background: #ffb51080;
}
.card-3:hover {
  background: #ffb51080;
}

a.botao-saiba-mais2.desk {
  display: flex;
  justify-content: space-around;
  width: 336px;
  align-items: center;
  margin: 0 auto;
}

.manifesto-completo {
  position: relative;
  z-index: 3;
  margin-top: 50px;
}

.cards-manifesto {
  display: flex;
  justify-content: center;
  align-items: center;
}

.intro-manifest {
  text-align: center;
  font-size: 20px;
  font-weight: 300;
  margin-bottom: 60px;
}

.text-manifest {
  margin-top: 70px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
}

.text-card-manifest {
  margin: 0;
  font-size: 18px;
}

.open-energy-container-manifesto-completo {
  margin: 0 auto;
  max-width: 1200px;
}

#manifesto-completo {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.8s ease;
}

@media (max-width: 768px) {
  .card-1,
  .card-2,
  .card-3 {
    padding: 20px; /* padding mais compacto */
    height: auto; /* altura automática, cresce com o texto */
    max-width: 100%; /* ocupa toda a coluna */
    width: 100%; /* força largura total */
    margin: 0 auto; /* centraliza se tiver limite de largura */
  }

  .cards-manifesto {
    flex-direction: column; /* garante que stacks fiquem em coluna */
    gap: 20px; /* espaçamento entre colunas empilhadas */
  }
}

.section-cartilha {
  position: relative;
  background: url(../assets/Imagem_mapa.jpg) no-repeat center center;
  background-size: cover;
  color: #fff;
  padding: 150px 0;
}

.cartilha-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.cartilha-content {
  padding: 30px;
  max-width: 700px;
}

.cartilha-title {
  color: #ffb510;
  font-size: 50px;
  font-weight: 700;
  margin-bottom: 20px;
}

.cartilha-description {
  font-size: 30px;
  line-height: 1.5;
  margin-bottom: 20px;
  font-weight: 300;
}

.cartilha-button {
  display: inline-block;
  border: 2px solid #ffb510;
  border-radius: 30px;
  padding: 10px 25px;
  color: #ffb510;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cartilha-button:hover {
  background: #ffb5104d;
  color: #ffb510;
}

@media (max-width: 768px) {
  .open-energy-hero {
    height: 515px;
  }

  .open-energy-video-bg {
    object-fit: fill;
  }
}

@media (max-width: 568px) {
  h2.titulo-secao.text-center.titulo-slide-open-energy {
    font-size: 16px !important;
    max-width: 400px;
    font-weight: 700;
    font-style: Bold;
    line-height: 16px;
    letter-spacing: 0%;
    text-align: left !important;
    padding: 0 70px;
  }

  .open-energy-title {
    font-size: 35px;
  }

  .open-energy-text {
    font-size: 16px !important;
  }

  .swiper-pagination.slider-jornada-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {
    display: none;
  }

  .slider-jornada {
    padding-bottom: 0 !important;
  }

  .open-energy-mobile {
    padding: 40px 0 !important;
  }

  .open-energy-mobile-title {
    font-size: 16px !important;
  }

  .open-energy-mobile-title br {
    display: none;
  }

  .figma {
    max-width: 200px;
  }

  .open-energy-mobile-description {
    text-align: left;
  }

  .open-energy-title-manifest {
    font-weight: 700;
    font-style: Bold;
    font-size: 16px;
    leading-trim: NONE;
    line-height: 16px;
    letter-spacing: 0%;
  }
  .open-energy-manifest-description-2,
  .open-energy-manifest-description {
    font-weight: 700;
    font-style: Bold;
    font-size: 14px;
    leading-trim: NONE;
    line-height: 22px;
    letter-spacing: 0%;
  }

  .text-card-manifest {
    font-size: 13px;
  }

  .intro-manifest {
    font-size: 14px;
  }

  .cartilha-title {
    font-weight: 700;
    font-style: Bold;
    font-size: 16px;
    leading-trim: NONE;
    line-height: 24px;
    letter-spacing: 0%;
  }

  .cartilha-description {
    font-weight: 400;
    font-style: Regular;
    font-size: 14px;
    leading-trim: NONE;
    line-height: 20px;
    letter-spacing: 0%;
  }

  .section-cartilha {
    padding: 60px 0;
  }

  .cartilha-button {
    font-size: 10px;
  }
}

/* Esconde versão mobile em telas grandes */
.desktop-version {
  display: block;
}
.mobile-version {
  display: none;
}

/* A partir de 768px para baixo (ajuste conforme necessidade), mostra só o mobile */
@media (max-width: 767px) {
  .desktop-version {
    display: none;
  }
  .mobile-version {
    display: block;
  }
}

/* Mostra só desktop em telas grandes */
.desktop-version {
  display: block;
}
.mobile-version {
  display: none;
}

/* Mostra só mobile em telas pequenas */
@media (max-width: 767px) {
  .desktop-version {
    display: none;
  }
  .mobile-version {
    display: block;
  }

  #btn-fechar {
    color: #ffb510;
    font-weight: 700;
    font-style: Bold;
    font-size: 10px;
    leading-trim: NONE;
    line-height: 10px;
    letter-spacing: 0%;
    vertical-align: middle;
    text-transform: uppercase;
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-offset: 0%;
    text-decoration-thickness: 0%;
  }

  .open-energy-manifesto {
    padding: 80px 20px;
  }

  .open-energy-manifest-description-2 {
    font-weight: 400;
  }

  #btn-abrir {
    display: flex;
    align-items: center;
    max-width: 299px;
    margin: 0 auto;
    justify-content: space-around;
  }
}
