/* style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Barlow", sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    width: 100%;
}

/*SCROLLBAR*/
body::-webkit-scrollbar {
  width: 8px;
  /* width of the entire scrollbar */
}

body::-webkit-scrollbar-track {
  background: transparent;
  /* color of the tracking area */
}

body::-webkit-scrollbar-thumb {
  background-color: #ff5c00;
  /* color of the scroll thumb */
  border-radius: 0;
  /* roundness of the scroll thumb */
  border: NONE;
  /* creates padding around scroll thumb */
}

header {
    background: #2c3e50;
    color: white;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

header h1 {
    margin: 0;
}

nav {
    background: #f4f4f4;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
}

span{
    font-weight: bold;
}

/* css/style.css - Adicionar estes estilos para o menu */

/* Menu principal */
#menu-list {
    list-style: none;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    position: relative;
}

.menu-item {
    position: relative;
}

.menu-link {
    text-decoration: none;
    color: #333;
    padding: 10px 15px;
    display: block;
    border-radius: 4px;
    transition: background 0.3s;
}

.menu-link:hover {
    background: #f0f0f0;
}

/* Submenu */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 4px;
    display: none;
    z-index: 1000;
    padding: 5px 0;
}

.menu-item:hover .submenu {
    display: block;
}

.submenu .menu-item {
    margin: 0;
}

.submenu .menu-link {
    padding: 8px 15px;
    white-space: nowrap;
}

.submenu .submenu {
    left: 100%;
    top: 0;
}

#conteudo {
    min-height: 400px;
}

.loading {
    text-align: center;
    padding: 50px;
    color: #666;
    font-style: italic;
}

.pagina {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.pagina h1 {
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.conteudo-pagina {
    font-size: 16px;
    line-height: 1.8;
}

.conteudo-pagina p {
    margin-bottom: 15px;
}

footer {
    text-align: center;
    padding: 20px;
    color: #666;
    border-top: 1px solid #eee;
    margin-top: 20px;
}

.erro {
    background: #ffebee;
    color: #c62828;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    border-left: 4px solid #c62828;
}

/* Container de componentes */
.componentes-container {
    width: 100%;
}

/* Estilos gerais para componentes */
.componente {
    width: 100%;
}

/* Componente de texto */
.componente-texto {
    font-size: 16px;
    line-height: 1.8;
    border-left-color: #28a745;
}

.componente-texto p {
    margin-bottom: 15px;
}

.componente-texto h2, 
.componente-texto h3, 
.componente-texto h4 {
    margin-top: 25px;
    margin-bottom: 15px;
    color: #2c3e50;
}

/* Componente de imagem */
.componente-imagem {
    border-left-color: #ffc107;
    text-align: center;
}

.componente-imagem img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 15px;
}

.componente-imagem .legenda {
    font-style: italic;
    color: #666;
    font-size: 14px;
    margin-top: 10px;
}

/* Componente de título */
.componente-titulo {
    border-left-color: #dc3545;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 30px 20px;
}

.componente-titulo h2,
.componente-titulo h3,
.componente-titulo h4 {
    margin: 0 0 10px 0;
    color: white;
}

.componente-titulo .subtitulo {
    font-size: 18px;
    opacity: 0.9;
    margin: 0;
}

/* Componente HTML */
.componente-html {
    border-left-color: #17a2b8;
    background: #f8f9fa;
}

/* Componente de vídeo */
.componente-video {
    border-left-color: #6f42c1;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 4px;
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Componente de galeria */
.componente-galeria {
    border-left-color: #20c997;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.galeria-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.galeria-item:hover {
    transform: translateY(-5px);
}

.galeria-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.galeria-item p {
    padding: 15px;
    margin: 0;
    font-size: 14px;
    color: #666;
}

.pilares {
  position: relative;
  display: flex;
  width: 100%;
  height: auto;
}

.pilares .row {
  width: 100%;
}

.pilares h3 {
  position: relative;
  text-align: center;
  font-size: 6em;
  text-transform: uppercase;
  color: #ff7828;
  font-weight: 100;
  margin: 0 auto 2%;
}

.area-pilares {
  display: block;
  width: 100%;
}

.pilar {
  display: flex;
  width: 25%;
  float: left;
  position: relative;
  overflow: hidden;
  margin: 0px;
  padding: 0;
  max-height: 650px;
  transition: 0.5s;
}

.pilar img {
  width: 100%;
  filter: grayscale(100%);
  transition: 0.5s;
  z-index: 1;
  position: relative;
  margin: 0;
  padding: 0;
}

.pilar:hover img {
  filter: grayscale(0%);
  width: 100%;
  height: 100%;
}

.titulo-pilares {
  position: absolute;
  display: block;
  left: 5%;
  bottom: 0%;
  z-index: 3;
  color: #fff;
  font-family: sans-serif;
  font-size: 24px;
  text-transform: uppercase;
  transition: 0.5s;
}

.titulo-pilares button.visibility {
  visibility: hidden;
  pointer-events: none;
  user-select: none;
}

.titulo-pilares p {
  margin: 0 0 10px;
  padding: 0;
}

.titulo-pilares button {
  opacity: 0;
  font-size: 20px;
  text-transform: uppercase;
  border: 1px solid #fff;
  border-radius: 30px;
  margin: 0 auto;
  background-color: #fff0;
  color: #fff;
  padding: 10px 20px;
  display: block;
  cursor: pointer;
  transition: 0.2s;
}

.titulo-pilares:hover button {
  transform: scale(1.05);
  transform-style: preserve-3d;
}

.pilar-animation-1 {
  top: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: #4c4c4c40;
  z-index: 2;
  transition: 0.5s;
  box-shadow: 0px 20px 10px 6px #0000003b;
  transform: translate(82%, 59%) rotate(41deg) scale(1.5);
}

.pilar-animation-2 {
  top: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: #ffffff30;
  z-index: 2;
  transition: 0.5s;
  box-shadow: 0px 20px 10px 6px #0000003b;
  transform: translate(-20%, 18%) scaleX(2) rotate(123deg);
}

.pilar-animation-3 {
  top: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: #d1d1d133;
  z-index: 2;
  transition: 0.5s;
  box-shadow: 0px 20px 10px 6px #0000003b;
  transform: translate(82%, 38%) rotate(41deg) scaleY(2);
}

.pilar-animation-4 {
  top: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: #ffffff12;
  z-index: 2;
  transition: 0.5s;
  box-shadow: 0px 20px 10px 6px #0000003b;
  transform: translate(-43%, 43%) scaleX(2) rotate(123deg);
}

.pilar-animation-5 {
  top: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: #93939345;
  z-index: 2;
  transition: 0.5s;
  box-shadow: 0px 20px 10px 6px #0000003b;
  transform: translate(72.5%, 127%) rotate(41deg) scale(2);
}

.pilar-animation-6 {
  top: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: #ffffff12;
  z-index: 2;
  transition: 0.5s;
  box-shadow: 0px 20px 10px 6px #0000003b;
  transform: translate(-33%, 78%) scaleX(2) rotate(122deg);
}

.pilar-animation-7 {
  top: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: #ffffff30;
  z-index: 2;
  transition: 0.5s;
  box-shadow: 0px 20px 10px 6px #0000003b;
  transform: translate(25.5%, 27%) rotate(40deg) scale(1.5);
}

.pilar-animation-8 {
  top: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: #ffffff12;
  z-index: 2;
  transition: 0.5s;
  box-shadow: 0px 20px 10px 6px #0000003b;
  transform: translate(-50%, 149.5%) scale(2) rotate(107deg);
}

.pilar-animation-9 {
  top: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: #ffffff17;
  z-index: 2;
  transition: 0.5s;
  box-shadow: 0px 20px 10px 6px #0000003b;
  transform: translate(27.5%, 60%) rotate(41deg) scale(2);
}

.pilar-animation-10 {
  top: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: #ffffff29;
  z-index: 2;
  transition: 0.5s;
  box-shadow: 0px 20px 10px 6px #0000003b;
  transform: translate(-24%, 17%) scaleX(2) rotate(123deg);
}

.pilar-animation-11 {
  top: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: #ffffff21;
  z-index: 2;
  transition: 0.5s;
  box-shadow: 0px 20px 10px 6px #0000003b;
  transform: translate(82%, 93%) rotate(41deg) scale(1.5);
}

.pilar-animation-12 {
  top: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: #ffffff21;
  z-index: 2;
  transition: 0.5s;
  box-shadow: 0px 20px 10px 6px #0000003b;
  transform: translate(-25%, 45%) scaleX(1.5) rotate(116deg);
}

.pilar-animation-13 {
  top: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: #ffffff21;
  z-index: 2;
  transition: 0.5s;
  box-shadow: 0px 20px 10px 6px #0000003b;
  transform: translate(48%, 55.2%) scale(2) rotate(41deg);
}

.pilar-animation-14 {
  top: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: #ffffff21;
  z-index: 2;
  transition: 0.5s;
  box-shadow: 0px 20px 10px 6px #00000033;
  transform: translate(-25%, 76.7%) scaleX(1.5) rotate(115deg);
}

.pilar:hover .pilar-animation-13 {
  background-color: #b5b5b51c;
  filter: grayscale(0%);
  transform: translate(28%, 28%) rotate(41deg) scaleY(1.5);
}

.pilar:hover .pilar-animation-14 {
  background-color: #b5b5b51c;
  filter: grayscale(0%);
  transform: translate(28%, 28%) rotate(41deg) scaleY(1.5);
}

.pilar-animation-16 {
  top: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: #ffffff21;
  z-index: 2;
  transition: 0.5s;
  box-shadow: 0px 20px 10px 6px #00000033;
  transform: translate(15%, 69.3%) scale(2) rotate(107deg);
}

.pilar-animation-15 {
  top: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: #ffffff21;
  z-index: 2;
  transition: 0.5s;
  box-shadow: 0px 20px 10px 6px #0000003b;
  transform: translate(58.1%, 71.5%) scale(2) rotate(40deg);
}

.pilar:hover .pilar-animation-15 {
  background-color: #b5b5b51c;
  filter: grayscale(0%);
  transform: translate(28%, 28%) rotate(41deg) scaleY(1.5);
}

.pilar:hover .pilar-animation-16 {
  background-color: #b5b5b51c;
  filter: grayscale(0%);
  transform: translate(28%, 28%) rotate(41deg) scaleY(1.5);
}

.pilar:hover .pilar-animation-1 {
  background-color: #ffffff14;
  filter: grayscale(0%);
  transform: translate(28%, 28%) rotate(41deg) scaleY(1.5);
}

.pilar:hover .pilar-animation-2 {
  background-color: #b5b5b51c;
  filter: grayscale(0%);
  transform: translate(28%, 28%) rotate(41deg) scaleY(1.5);
}

.pilar:hover .pilar-animation-3 {
  background-color: #ffffff14;
  filter: grayscale(0%);
  transform: translate(28%, 28%) rotate(41deg) scaleY(1.5);
}

.pilar:hover .pilar-animation-4 {
  background-color: #b5b5b51c;
  filter: grayscale(0%);
  transform: translate(28%, 28%) rotate(41deg) scaleY(1.5);
}

.pilar:hover .pilar-animation-5 {
  background-color: #ffffff14;
  filter: grayscale(0%);
  transform: translate(50%, 41%) rotate(41deg) scale(1.5);
}

.pilar:hover .pilar-animation-6 {
  background-color: #b5b5b51c;
  filter: grayscale(0%);
  transform: translate(50%, 41%) rotate(41deg) scale(1.5);
}

.pilar:hover .pilar-animation-7 {
  background-color: #ffffff14;
  filter: grayscale(0%);
  transform: translate(28%, 28%) rotate(41deg) scaleY(1.5);
}

.pilar:hover .pilar-animation-8 {
  background-color: #b5b5b51c;
  filter: grayscale(0%);
  transform: translate(75%, 50%) rotate(41deg) scale(2);
}

.pilar:hover .pilar-animation-9 {
  background-color: #ffffff14;
  filter: grayscale(0%);
  transform: translate(28%, 28%) rotate(41deg) scaleY(1.5);
}

.pilar:hover .pilar-animation-10 {
  background-color: #b5b5b51c;
  filter: grayscale(0%);
  transform: translate(28%, 28%) rotate(41deg) scaleY(1.5);
}

.pilar:hover .pilar-animation-11 {
  background-color: #ffffff14;
  filter: grayscale(0%);
  transform: translate(28%, 28%) rotate(41deg) scaleY(1.5);
}

.pilar:hover .pilar-animation-12 {
  background-color: #b5b5b51c;
  filter: grayscale(0%);
  transform: translate(28%, 28%) rotate(41deg) scaleY(1.5);
}

.pilar:hover .titulo-pilares {
  left: 30%;
  bottom: 20%;
  transition: 0.5s;
}

.pilar:hover .titulo-pilares p {
  text-align: center;
}

.pilar:hover .titulo-pilares button {
  opacity: 1;
}

.video-pilar {
  top: 0;
  position: fixed;
  z-index: 1000;
  width: 100%;
  height: 100%;
  background-color: #000000bf;
  vertical-align: middle;
  align-items: center;
  display: none;
}

.video-pilar.active {
  display: flex;
  animation-name: showVideo;
  animation-duration: 1s;
  animation-direction: normal;
  animation-fill-mode: forwards;
}

.video-pilar.hidden {
  display: flex;
  animation-name: hiddenVideo;
  animation-duration: 0.5s;
  animation-direction: normal;
  animation-fill-mode: forwards;
}

.video-pilar video {
  width: 0%;
  display: flex;
  position: relative;
  margin: 0 auto;
  z-index: 2;
  animation: open-video .2s linear forwards;
  animation-delay: .1s;
  height: auto;
}

.close-video {
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 1;
}

.numbers_container {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #FF5C00;
}

.numbers_container .numbers_row {
  width: 90%;
  padding: 70px 0;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

.numbers_container .numbers_row .number_box {
  width: 325px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  position: relative;
}

.numbers_container .numbers_row .number_box .number {
  font-size: 100px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: white;
  padding: 30px 0 0;
}

.numbers_container .numbers_row .number_box .number_text {
  font-size: 40px;
  font-weight: 200;
  text-align: center;
  width: 100%;
  height: auto;
  text-transform: uppercase;
  color: white;
}

.numbers_container .numbers_row .number_box::after {
  content: '';
  position: absolute;
  right: -20px;
  width: 2px;
  height: 280px;
  background: white;
}

.numbers_container .numbers_row .number_box:last-child::after {
  display: none;
}

.programas {
  display: block;
  position: relative;
  background-color: #fff;
}

.programas .row {
  width: 100%;
  padding: 4% 0;
}

.programas h3 {
  position: relative;
  text-align: center;
  font-size: 6em;
  text-transform: uppercase;
  color: #ff7828;
  font-weight: 100;
  margin: 0 auto 2%;
}

.programas p {
  text-align: center;
  color: #787878;
  font-size: 18px;
}

.programas button {
  width: auto;
  background-color: #ff7828;
  color: #fff;
  margin: 0 auto;
  border: none;
  border-radius: 20px;
  padding: 8px 30px;
  text-transform: capitalize;
  font-size: 16px;
  display: block;
  transition: .3s all;
}

.programas button:hover {
  background-color: #585858;
}

.programas .left {
  width: 30px;
  height: 30px;
  position: absolute;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.411);
  top: 60%;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 1;
}

.programas .left svg {
  fill: #ffffff;
  pointer-events: none;
  transition: all 0.3s ease;
}

.programas .left:hover {
  background-color: #ff7828;
}

.programas .right {
  width: 30px;
  height: 30px;
  position: absolute;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.411);
  top: 60%;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 1;
}

.programas .right svg {
  fill: #ffffff;
  pointer-events: none;
  transition: all 0.3s ease;
}

.programas .right:hover {
  background-color: #ff7828;
}

.area-carousel {
  width: 85%;
  height: auto;
  margin: 0% auto 0;
  position: relative;
  overflow: hidden;
}

.carousel-programas {
  width: auto;
  position: relative;
  display: inline-flex;
}

.item-carousel {
  padding: 0 30px;
  height: auto;
  float: left;
  display: grid;
}

.item-carousel img {
  width: 100%;
  height: auto;
}


/* Layout responsivo */
@media (max-width: 768px) {
    .componente {
        padding: 15px;
        margin-bottom: 30px;
    }
    
    .galeria-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .componente-titulo {
        padding: 20px 15px;
    }
}