* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: Arial, sans-serif;

}

section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: white;
}

#sec1 { background: #1abc9c; }
#sec2 { background: #3498db; }
#sec3 { background: #9b59b6; }
#sec4 { background: #e74c3c; }

header {
    background: linear-gradient(to bottom, #000000ad, #ffffff00);
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
}

.logo-area img {
    height: 35px;
    margin-right: 8px;
}

.brand-name {
    font-size: 1.2rem;
    font-weight: bold;
    font-family: "Arial", sans-serif;
    color: white;
    letter-spacing: 1px;
}

.menu {
    display: flex;
    gap: 50px;
}

.menu a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    position: relative; /* Necessário para o ::after */
    padding-bottom: 5px;
}

/* Esconde o submenu por padrão */
.nav-item.dropdown .dropdown-menu {
    display: none;
}

/* Exibe o submenu quando o mouse passa sobre o item "Sobre" */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    position: absolute; /* Garante que o submenu não afete o layout */
    background-color: #fff; /* Cor de fundo do submenu */
    border: 1px solid #ddd; /* Borda do submenu */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra para o submenu */
}

/* Estilo para os itens do submenu */
.nav-item.dropdown .dropdown-menu a {
    padding: 10px 20px; /* Espaçamento interno */
    color: #333; /* Cor padrão dos itens do submenu */
    text-decoration: none; /* Remove underline */
}

/* Estilo de hover para os itens do submenu (apenas texto fica vermelho) */
.nav-item.dropdown .dropdown-menu a:hover {
    color: red; /* Cor do texto quando passar o mouse */
    background-color: transparent; /* Remove a cor de fundo */
}

.menu a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #be1010;
    transition: all 0.3s ease;
    transform: translateX(-50%); 
}

.menu a:hover::after {
    width: 100%;
}


.social-icons {
    display: flex;
    align-items: center;
    gap: 1px;
    height: 20px;


}

.social-icons a {
    width: 40px;
}

.social-icons img {
    height: 40px;
    filter: brightness(100%);
    transition: transform 0.3s;
}

.social-icons img:hover {
    transform: scale(1.1);
}


#langToggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;


  }
  
  .lang-icon{
    margin-bottom: 5px;
  }

  #langToggle img{
    height: 20px;
    width: 20px;
    padding-bottom: 2px;
    margin-left: 10px;
  }





  /*Seção 1*/

    .section-1 {
        width: 100%;
        height: 100vh; /* Ocupa a tela inteira */
        background: url('../img/2.webp') no-repeat center center;
        background-size: cover;      /* Faz a imagem cobrir toda a área */
    }

.texto-esquerda {
    position: absolute;
    top: 10vh;
    left: 100px;
    max-width: 838px;
    color: #fff;
    padding: 10px 15px;
    line-height: 1.4;
    z-index: 1;
    text-align: justify;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);

    /* Animação */
    opacity: 0;
    transform: translateX(-150px); /* Começa deslocado para a esquerda */
    animation: slideFromLeft 3s ease forwards;
}

/* Animação de entrada */
@keyframes slideFromLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.texto-esquerda p {
    font-size: 38.7px;
}

.texto-esquerda h1 {
    font-size: 55px;
}


 .texto {
    position: absolute;
    bottom: 2vh;
    right: -8px;
    max-width: 980px;
    color: #fff;
    padding: 30px 60px 30px 30px; /* padding ajustado */
    font-size: 20px;
    line-height: 1.4;
    z-index: 1;
    text-align: justify;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
    background-color: #ff00008f;
    border-radius: 10px;
    margin: 0;

    /* Animação */
    opacity: 0;
    transform: translateX(150px); /* Começa deslocado para a direita */
    animation: slideFromRight 3s ease forwards;
}

/* Animação de entrada */
@keyframes slideFromRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.texto p {
    margin: 0;
}



 /*Seção 2*/

    .section-2 {
        width: 100%;
        height: 100vh; /* Ocupa a tela inteira */
        background: url('../img/3.webp') no-repeat center center;
        background-size: cover;      /* Faz a imagem cobrir toda a área */
    }



     /*Seção 3*/

.section-3 {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Vídeo em background */
.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.video-bg iframe {
    width: 100%;
    height: 100%;
    pointer-events: none;
    transform: scale(1.3);   /* Aumenta 30% o tamanho */
    transform-origin: center; /* Mantém centralizado ao dar zoom */
} 


/* Caixa vermelha sobre o vídeo */
.aviso {
    position: absolute;
    bottom: 15vh;
    right: -5px;
    max-width: 1200px;
    background-color: #ff00008f;
    color: #fff;
    padding: 25px;
    border-radius: 10px;
    font-size: 20px;
    line-height: 1.4;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 1;
    text-align: justify;

    /* Animação */
    opacity: 0;
    transform: translateX(150px); /* Começa deslocado para a direita */
    animation: slideFromRight 2s ease forwards;
}

/* Animação: desliza da direita e aparece */
@keyframes slideFromRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.aviso p {
    margin: 5px;
    padding-right: 40px;
}


 /* seção galeria */


section.galeria {
    display: grid;
    grid-template-columns: repeat(4, 1fr);  /* 4 colunas */
    grid-auto-rows: 328px;                  /* Cada imagem terá 150px de altura */
    width: 100vw;                              /* Espaçamento opcional */
    margin: 0;
    padding: 0;
}

section.galeria img {
    width: 100%;
    height: 100%;
    object-fit: cover;                      /* Preenche sem distorcer */
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

section.galeria img:hover {
    transform: scale(1.05);
}





.institucional-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    padding-top: 8vh;

}

.institucional-image {
    width: 40px; /* Ajuste o tamanho da imagem conforme necessário */
    height: auto;
    margin-right: 10px; /* Espaçamento entre a imagem e o título */
}

.institucional-title {
    font-size: 40px;
    color: #333;
    text-align: center;
    margin-bottom: 5px;
    font-weight: 400;
}

/* Texto justificado para o conteúdo institucional */
.institucional-text {
    text-align: justify;
    font-size: 15px;
    color: #555;
    line-height: 1.5;
    margin: 0 25%;
    background-color: #EAEAEA73;
}


 /* seção 6 */

.section-6 {
    display: flex;
    flex-direction: column; /* empilha os elementos verticalmente */
    align-items: center; /* centraliza no eixo horizontal */
}

.institucional-header-6 {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 30%;
    width: 100%;
}

.diretores {
    display: flex;
    flex-wrap: wrap; /* permite quebrar linha */
    justify-content: center;
    gap: 2px;
    height: 70%;
}


/* Cada card */
.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1 1 300px;            /* Permite encolher até 300px e crescer */
    max-width: 15%;             /* Ocupa no máximo 30% da tela cada */
    border: none !important;
}

/* Imagem do card */
.card img {
    width: 100%;                /* Sempre ocupar todo o card */
    height: 100%;               /* Mantém proporção */
    object-fit: cover;
    border-radius: 5px; 
}
  
/* Texto abaixo */
.card p {
    margin-bottom: 20px;
    font-size: clamp(12px, 1.2vw, 16px); /* Bem menor e ainda responsivo */
    color: #333;
}

.card h1 {
    margin: 10px 0 0 0;
    font-size: clamp(14px, 1.8vw, 22px); /* Reduzi bastante o título */
    color: #ff0000;
}

.card.diretores .img-container {
    position: relative;
    width: 85%; 
    max-width: 700px; /* ajuste o tamanho máximo do card */
    overflow: hidden;
}

.card.diretores .img-container img {  
    display: block;
    width: 100%;
    height: auto;
    transition: opacity 0.4s ease-in-out;
}

/* Imagem de hover fica por cima, invisível inicialmente */
.card.diretores .img-container .img-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

/* Quando passa o mouse */
.card.diretores:hover .img-hover {
    opacity: 1;
}

.card.diretores:hover .img-principal {
    opacity: 0;
}









/*seção 7 */
/* Centraliza e organiza os cards */


.section-7 {
    display: flex;
    flex-direction: column; /* empilha os elementos verticalmente */
    align-items: center; /* centraliza no eixo horizontal */
    height: 100%;
}

.institucional-header-7 {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 20%;
    width: 100%;
}

.institucional-image-7 {
    width: 30px;
    height: auto;
    margin-right: 10px;
}

.institucional-title-7 {
    font-size: 30px;
    color: #333;
    text-align: center;
    font-weight: 400;
}


.diretores-7 {
    display: flex;
    flex-wrap: wrap; /* permite quebrar linha */
    justify-content: center;
    gap: 2px;
    height: 70%;
}


/* Cada card */
.card-7 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1 1 300px;            /* Permite encolher até 300px e crescer */
    max-width: 15%;             /* Ocupa no máximo 30% da tela cada */
    border: none !important;
}

/* Imagem do card */
.card-7 img {
    width: 80%;                /* Sempre ocupar todo o card */
    height: 80%;               /* Mantém proporção */
    object-fit: cover;
    border-radius: 5px; 
}
  
/* Texto abaixo */
.card-7 p {
    margin-bottom: 20px;
    font-size: clamp(12px, 1.2vw, 16px); /* Bem menor e ainda responsivo */
    color: #333;
}

.card-7 h1 {
    margin: 10px 0 0 0;
    font-size: clamp(14px, 1.8vw, 22px); /* Reduzi bastante o título */
    color: #ff0000;
}

.card-7.comercial .img-container {
    position: relative;
    width: 80%; 
    max-width: 600px; /* ajuste o tamanho máximo do card */
    overflow: hidden;
}

.card-7.comercial .img-container img {  
    display: block;
    width: 100%;
    height: auto;
    transition: opacity 0.4s ease-in-out;
}

/* Imagem de hover fica por cima, invisível inicialmente */
.card-7.comercial .img-container .img-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

/* Quando passa o mouse */
.card-7.comercial:hover .img-hover {
    opacity: 1;
}

.card-7.comercial:hover .img-principal {
    opacity: 0;
}


 /* seção 8 */




.section-8 {
    display: flex;
    flex-direction: column; /* empilha os elementos verticalmente */
    align-items: center; /* centraliza no eixo horizontal */
    height: 100%;
}

.institucional-header-8 {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 30%;
    width: 100%;
}

.institucional-image-8 {
    width: 30px;
    height: auto;
    margin-right: 10px;
}

.institucional-title-8 {
    font-size: 30px;
    color: #333;
    text-align: center;
    font-weight: 400;
}


.diretores-8 {
    display: flex;
    flex-wrap: wrap; /* permite quebrar linha */
    justify-content: center;
    gap: 2px;
    height: 70%;
}


/* Cada card */
.card-8 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1 1 300px;            /* Permite encolher até 300px e crescer */
    max-width: 15%;             /* Ocupa no máximo 30% da tela cada */
    border: none !important;
}

/* Imagem do card */
.card-8 img {
    width: 80%;                /* Sempre ocupar todo o card */
    height: 80%;               /* Mantém proporção */
    object-fit: cover;
    border-radius: 5px; 
}
  
/* Texto abaixo */
.card-8 p {
    margin-bottom: 20px;
    font-size: clamp(12px, 1.2vw, 16px); /* Bem menor e ainda responsivo */
    color: #333;
}

.card-8 h1 {
    margin: 10px 0 0 0;
    font-size: clamp(14px, 1.8vw, 22px); /* Reduzi bastante o título */
    color: #ff0000;
}

.card-8.mestres .img-container {
    position: relative;
    width: 80%; 
    max-width: 600px; /* ajuste o tamanho máximo do card */
    overflow: hidden;
}

.card-8.mestres .img-container img {  
    display: block;
    width: 100%;
    height: auto;
    transition: opacity 0.4s ease-in-out;
}

/* Imagem de hover fica por cima, invisível inicialmente */
.card-8.mestres .img-container .img-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

/* Quando passa o mouse */
.card-8.mestres:hover .img-hover {
    opacity: 1;
}

.card-8.mestres:hover .img-principal {
    opacity: 0;
}



 /* seção 9 */

.section-9 {
    display: flex;
    flex-direction: column; /* empilha os elementos verticalmente */
    align-items: center; /* centraliza no eixo horizontal */
    height: 100%;
}

.institucional-header-9 {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 30%;
    width: 100%;
}

.institucional-image-9 {
    width: 30px;
    height: auto;
    margin-right: 10px;
}

.institucional-title-9 {
    font-size: 30px;
    color: #333;
    text-align: center;
    font-weight: 400;
}


.diretores-9 {
    display: flex;
    flex-wrap: wrap; /* permite quebrar linha */
    justify-content: center;
    gap: 2px;
    height: 70%;
}


/* Cada card */
.card-9 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1 1 300px;            /* Permite encolher até 300px e crescer */
    max-width: 15%;             /* Ocupa no máximo 30% da tela cada */
    border: none !important;
}

/* Imagem do card */
.card-9 img {
    width: 80%;                /* Sempre ocupar todo o card */
    height: 80%;               /* Mantém proporção */
    object-fit: cover;
    border-radius: 5px; 
}
  
/* Texto abaixo */
.card-9 p {
    margin-bottom: 20px;
    font-size: clamp(12px, 1.2vw, 16px); /* Bem menor e ainda responsivo */
    color: #333;
}

.card-9 h1 {
    margin: 10px 0 0 0;
    font-size: clamp(14px, 1.8vw, 22px); /* Reduzi bastante o título */
    color: #ff0000;
}

.card-9.projetista .img-container {
    position: relative;
    width: 80%; 
    max-width: 600px; /* ajuste o tamanho máximo do card */
    overflow: hidden;
}

.card-9.projetista .img-container img {  
    display: block;
    width: 100%;
    height: auto;
    transition: opacity 0.4s ease-in-out;
}

/* Imagem de hover fica por cima, invisível inicialmente */
.card-9.projetista .img-container .img-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

/* Quando passa o mouse */
.card-9.projetista:hover .img-hover {
    opacity: 1;
}

.card-9.projetista:hover .img-principal {
    opacity: 0;
}










 /* seção 10 */

.section-10 {
    display: flex;
    flex-direction: column; /* empilha os elementos verticalmente */
    align-items: center; /* centraliza no eixo horizontal */
    height: 100%;
}
 /* seção 10 */


.institucional-header-10 {
    display: flex;
    align-items: center;
    justify-content: center;
        height: 30%;


}

.institucional-image-10 {
    width: 30px; /* Ajuste o tamanho da imagem conforme necessário */
    height: auto;
    margin-right: 10px; /* Espaçamento entre a imagem e o título */
}

.institucional-title-10 {
    font-size: 30px;
    color: #333;
    text-align: center;
    font-weight: 400;
}

/* Texto justificado para o conteúdo institucional */
.institucional-text-10 {
    text-align: justify;
    font-size: 15px;
    color: #555;
    line-height: 1.5;
    margin: 0 25%;
    background-color: #EAEAEA73;
}

.diretores-10 {
    display: flex;
    flex-wrap: wrap; /* permite quebrar linha */
    justify-content: center;
    gap: 2px;
    height: 70%;
}


/* Cada card */
.card-10 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1 1 300px;            /* Permite encolher até 300px e crescer */
    max-width: 15%;             /* Ocupa no máximo 30% da tela cada */
    border: none !important;
}

/* Imagem do card */
.card-10 img {
    width: 80%;                /* Sempre ocupar todo o card */
    height: 80%;               /* Mantém proporção */
    object-fit: cover;
    border-radius: 5px; 
}
  
/* Texto abaixo */
.card-10 p {
    margin-bottom: 20px;
    font-size: clamp(12px, 1.2vw, 16px); /* Bem menor e ainda responsivo */
    color: #333;
}

.card-10 h1 {
    margin: 10px 0 0 0;
    font-size: clamp(14px, 1.8vw, 22px); /* Reduzi bastante o título */
    color: #ff0000;
}

.card-10.financeiro .img-container {
    position: relative;
    width: 80%; 
    max-width: 600px; /* ajuste o tamanho máximo do card */
    overflow: hidden;
}

.card-10.financeiro .img-container img {  
    display: block;
    width: 100%;
    height: auto;
    transition: opacity 0.4s ease-in-out;
}

/* Imagem de hover fica por cima, invisível inicialmente */
.card-10.financeiro .img-container .img-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

/* Quando passa o mouse */

.card-10.financeiro:hover .img-hover {
    opacity: 1;
}

.card-10.financeiro:hover .img-principal {
    opacity: 0;
}



/* Seção 11 */

/* Centraliza e organiza os cards */


.section-11 {
    display: flex;
    flex-direction: column; /* empilha os elementos verticalmente */
    align-items: center; /* centraliza no eixo horizontal */
    height: 100%;
}

.institucional-header-11 {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 20%;
    width: 100%;
}

.institucional-image-11 {
    width: 30px;
    height: auto;
    margin-right: 10px;
}

.institucional-title-11{
    font-size: 30px;
    color: #333;
    text-align: center;
    font-weight: 400;
}


.diretores-11 {
    display: flex;
    flex-wrap: wrap; /* permite quebrar linha */
    justify-content: center;
    gap: 2px;
    height: 70%;
}


/* Cada card */
.card-11 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1 1 300px;            /* Permite encolher até 300px e crescer */
    max-width: 15%;             /* Ocupa no máximo 30% da tela cada */
    border: none !important;
}

/* Imagem do card */
.card-11 img {
    width: 80%;                /* Sempre ocupar todo o card */
    height: 80%;               /* Mantém proporção */
    object-fit: cover;
    border-radius: 5px; 
}
  
/* Texto abaixo */
.card-11 p {
    margin-bottom: 20px;
    font-size: clamp(12px, 1.2vw, 16px); /* Bem menor e ainda responsivo */
    color: #333;
}

.card-11 h1 {
    margin: 10px 0 0 0;
    font-size: clamp(14px, 1.8vw, 22px); /* Reduzi bastante o título */
    color: #ff0000;
}

.card-11.producao .img-container {
    position: relative;
    width: 80%; 
    max-width: 600px; /* ajuste o tamanho máximo do card */
    overflow: hidden;
}

.card-11.producao .img-container img {  
    display: block;
    width: 100%;
    height: auto;
    transition: opacity 0.4s ease-in-out;
}

/* Imagem de hover fica por cima, invisível inicialmente */
.card-11.producao .img-container .img-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

/* Quando passa o mouse */
.card-11.producao:hover .img-hover {
    opacity: 1;
}

.card-11.producao:hover .img-principal {
    opacity: 0;
}







/* Seção 12 */

/* Centraliza e organiza os cards */


.section-12 {
    display: flex;
    flex-direction: column; /* empilha os elementos verticalmente */
    align-items: center; /* centraliza no eixo horizontal */
    height: 100%;
}

.institucional-header-12 {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 20%;
    width: 100%;
}

.institucional-image-12 {
    width: 30px;
    height: auto;
    margin-right: 10px;
}

.institucional-title-12{
    font-size: 30px;
    color: #333;
    text-align: center;
    font-weight: 400;
}


.diretores-12 {
    display: flex;
    flex-wrap: wrap; /* permite quebrar linha */
    justify-content: center;
    gap: 2px;
    height: 70%;
}


/* Cada card */
.card-12 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1 1 300px;            /* Permite encolher até 300px e crescer */
    max-width: 15%;             /* Ocupa no máximo 30% da tela cada */
    border: none !important;
}

/* Imagem do card */
.card-12 img {
    width: 80%;                /* Sempre ocupar todo o card */
    height: 80%;               /* Mantém proporção */
    object-fit: cover;
    border-radius: 5px; 
}
  
/* Texto abaixo */
.card-12 p {
    margin-bottom: 20px;
    font-size: clamp(12px, 1.2vw, 16px); /* Bem menor e ainda responsivo */
    color: #333;
}

.card-12 h1 {
    margin: 10px 0 0 0;
    font-size: clamp(14px, 1.8vw, 22px); /* Reduzi bastante o título */
    color: #ff0000;
}

.card-12.compras .img-container {
    position: relative;
    width: 80%; 
    max-width: 600px; /* ajuste o tamanho máximo do card */
    overflow: hidden;
}

.card-12.compras .img-container img {  
    display: block;
    width: 100%;
    height: auto;
    transition: opacity 0.4s ease-in-out;
}

/* Imagem de hover fica por cima, invisível inicialmente */
.card-12.compras .img-container .img-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

/* Quando passa o mouse */
.card-12.compras:hover .img-hover {
    opacity: 1;
}

.card-12.compras:hover .img-principal {
    opacity: 0;
}








/* Seção 13 */

/* Centraliza e organiza os cards */


.section-13 {
    display: flex;
    flex-direction: column; /* empilha os elementos verticalmente */
    align-items: center; /* centraliza no eixo horizontal */
    height: 100%;
}

.institucional-header-13 {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 20%;
    width: 100%;
}

.institucional-image-13 {
    width: 30px;
    height: auto;
    margin-right: 10px;
}

.institucional-title-13{
    font-size: 30px;
    color: #333;
    text-align: center;
    font-weight: 400;
}


.diretores-13 {
    display: flex;
    flex-wrap: wrap; /* permite quebrar linha */
    justify-content: center;
    gap: 2px;
    height: 70%;
}


/* Cada card */
.card-13 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1 1 300px;            /* Permite encolher até 300px e crescer */
    max-width: 33%;             /* Ocupa no máximo 30% da tela cada */
    border: none !important;
}

/* Imagem do card */
.card-13 img {
    width: 80%;                /* Sempre ocupar todo o card */
    height: 80%;               /* Mantém proporção */
    object-fit: cover;
    border-radius: 5px; 
}
  
/* Texto abaixo */
.card-13 p {
    margin-bottom: 20px;
    font-size: clamp(12px, 1.2vw, 16px); /* Bem menor e ainda responsivo */
    color: #333;
}

.card-13 h1 {
    margin: 10px 0 0 0;
    font-size: clamp(14px, 1.8vw, 22px); /* Reduzi bastante o título */
    color: #ff0000;
}

.card-13.marketing .img-container {
    position: relative;
    width: 80%; 
    max-width: 600px; /* ajuste o tamanho máximo do card */
    overflow: hidden;
}

.card-13.marketing .img-container img {  
    display: block;
    width: 100%;
    height: auto;
    transition: opacity 0.4s ease-in-out;
}

/* Imagem de hover fica por cima, invisível inicialmente */
.card-13.marketing .img-container .img-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

/* Quando passa o mouse */
.card-13.marketing:hover .img-hover {
    opacity: 1;
}

.card-13.marketing:hover .img-principal {
    opacity: 0;
}










/* Seção 14 */


.section-14 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* centraliza no eixo vertical */
  height: 100vh;           /* ocupa toda a tela */
  text-align: center;
}

.diretores-14 {
    display: flex;
    flex-wrap: wrap; /* permite quebrar linha */
    justify-content: center;
    gap: 2px;
    height: 70%;
}

.institucional-header-14 {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 15%;
    width: 100%;
}

.institucional-image-14 {
    width: 30px;
    height: auto;
    margin-right: 10px;
}

.institucional-title-14{
    font-size: 30px;
    color: #333;
    text-align: center;
    font-weight: 400;
}

.imagem-container-14 img {
  max-width: 60%;
  height: auto;
  border-radius:10px ;
}















/* responsividade */



/* ===== Seção 1 — Mobile first (≤ 576px) ===== */
@media (max-width: 576px) {

  /* Evita bug do 100vh no mobile e garante fundo full */
  .section-1 {
    min-height: 100svh;   /* usa viewport “segura” de mobile */
    height: auto;
    position: relative;   /* isola posicionamentos no mobile */
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* título em cima, texto embaixo */
    padding: 14vh 14px 14px;        /* respiro pro header fixo e bordas */
  }

  /* Título + subtítulo: sai do absolute e vira bloco fluido */
  .section-1 .texto-esquerda {
    position: static;
    top: auto; left: auto;
    max-width: 100%;
    margin: 0;
    padding: 0;
    text-align: left;
    text-shadow: 1px 1px 2px rgba(0,0,0,.45);
    opacity: 1; transform: none; animation: none;
    line-height: 1.25;
  }

  .section-1 .texto-esquerda h1 {
    /* 22px → 34px conforme largura */
    font-size: clamp(0.5rem, 4.0vw + 0.2rem, 2.125rem);
    margin: 0 0 6px 0;
  }

  .section-1 .texto-esquerda p {
    /* 16px → 22px */
    font-size: clamp(0.9rem, 1.8vw + 0.2rem, 1.375rem);
    margin: 0;
  }

  /* Caixa vermelha: fixa na base, fluida, sem overflow lateral */
  .section-1 .texto {
    position: static;
    right: auto; bottom: auto;
    max-width: 100%;
    margin: 12px 0 0 0;
    padding: 12px;
    border-radius: 8px;
    background-color: #ff0000cc; /* +opaco pra leitura em telas pequenas */
    text-align: justify;
    font-size: clamp(0.7rem, 1.5vw + 0.2rem, 1.1rem);
    line-height: 1.35;
    text-shadow: none;
    opacity: 1; transform: none; animation: none;
  }

  .section-1 .texto p { margin: 0; }

  /* Evita conteúdo colar na borda “curvada”/notch do iOS */
  .section-1 { padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
}

/* ===== Tablet (577–768px): mantém proporção confortável ===== */
@media (min-width: 577px) and (max-width: 768px) {
  .section-1 {
    min-height: 100svh;
    height: auto;
    position: relative;
    padding: 12vh 24px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .section-1 .texto-esquerda {
    position: static; max-width: 90%;
    text-shadow: 1px 1px 2px rgba(0,0,0,.45);
    opacity: 1; transform: none; animation: none;
  }
  .section-1 .texto-esquerda h1 { font-size: clamp(2rem, 3.2vw + 0.5rem, 2.6rem); }
  .section-1 .texto-esquerda p  { font-size: clamp(1.1rem, 1.8vw + 0.3rem, 1.4rem); }
  .section-1 .texto {
    position: static; max-width: 90%;
    margin-top: 14px; padding: 16px 18px; border-radius: 10px;
    font-size: clamp(1rem, 1.4vw + 0.4rem, 1.15rem);
    opacity: 1; transform: none; animation: none;
  }
}





/* Seção 2 */



/* Padrão: telas maiores */
.section-2 {
  width: 100%;
  min-height: 100svh;
  background: url('../img/3.webp') no-repeat center center;
  background-size: cover;
}

/* Telas menores (≤ 576px) */
@media (max-width: 576px) {
  .section-2 {
    background: url('../img/3.3.webp') no-repeat center center;
    background-size: cover;
  }
}



/* ===== Seção 3 — Mobile first (≤ 576px) ===== */
@media (max-width: 576px) {
  .section-3 {
    min-height: 100svh;
    height: auto;
    display: flex;
    flex-direction: column;
  }

  /* Vídeo ocupa a tela inteira, sem zoom exagerado */
  .video-bg {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9; /* mantém proporção */
  }
  .video-bg iframe {
    transform: none;
    width: 100%;
    height: 100%;
  }

  /* Caixa vermelha: ocupa largura total com margens, texto menor e padding reduzido */
  .aviso {
    position: static;
    max-width: 100%;
    margin: 40px 14px 14px; /* ↑ aumenta espaço acima (40px) */
    padding: 14px;
    font-size: clamp(0.95rem, 2.6vw + 0.2rem, 1.1rem);
    line-height: 1.35;
    border-radius: 8px;
    background-color: #ff0000cc;
    box-shadow: 0px 2px 6px rgba(0,0,0,0.2);
    opacity: 1;
    transform: none;
    animation: none;
  }

  .aviso p {
    padding-right: 0;
    margin: 0;
  }
}



/* ===== Seção 7 — Mobile first (≤ 576px) ===== */
@media (max-width: 576px) {
  .section-7 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12vh 12px 16px; /* espaço pro header fixo + respiro */
    height: auto;
  }

  .institucional-header-7 {
    height: auto;
    width: 100%;
    justify-content: center;
    gap: 8px;
    padding: 0;
  }
  .institucional-image-7 { width: 28px; }
  .institucional-title-7 {
    font-size: clamp(1.4rem, 4.8vw + .2rem, 1.8rem);
    font-weight: 500;
    text-align: center;
  }

  /* Lista de cards: 1 por linha */
  .diretores-7 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    width: 100%;
    padding: 8px 0 0;
    height: auto;
  }

  /* Card ocupa 100%, sem limitar por max-width */
  .card-7 {
    flex: 1 1 100%;
    max-width: 100%;
    border: none !important;
  }

  /* Imagens fluidas */
  .card-7 img,
  .card-7 .img-container {
    width: 100%;
    height: auto;
  }

  .card-7 h1 { 
    font-size: clamp(1.05rem, 3.2vw + .2rem, 1.25rem);
    margin-top: 8px;
  }
  .card-7 p  { 
    font-size: clamp(.9rem, 2.6vw + .2rem, 1rem);
    margin-bottom: 10px;
  }

  /* Sem efeito de hover no mobile */
  .card-7.comercial .img-container .img-hover { display: none; }
  .card-7.comercial:hover .img-principal { opacity: 1; }
  
  /* Safe area iOS */
  .section-7 { padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
}

/* ===== Tablet (577–768px) — 2 por linha ===== */
@media (min-width: 577px) and (max-width: 768px) {
  .section-7 { padding: 10vh 20px 24px; height: auto; }

  .diretores-7 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    width: 100%;
    height: auto;
  }

  .card-7 { 
    flex: 1 1 calc(50% - 18px);
    max-width: 100%;
  }

  .card-7 img,
  .card-7 .img-container {
    width: 100%;
    height: auto;
  }

  .card-7 h1 { font-size: clamp(1.1rem, 2.2vw + .3rem, 1.35rem); }
  .card-7 p  { font-size: clamp(.95rem, 1.6vw + .3rem, 1.05rem); }

  /* Hover ainda sutil no tablet */
  .card-7.comercial .img-container .img-hover { opacity: 0; }
  .card-7.comercial:hover .img-hover { opacity: 1; }
  .card-7.comercial:hover .img-principal { opacity: 0; }
}
