/* Fonte servida localmente para garantir carregamento */
@font-face {
  font-family: 'Lexend Giga';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url('assets/fonts/LexendGiga.woff2') format('woff2');
}
@font-face {
  font-family: 'Lexend Giga';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/LexendGiga.woff2') format('woff2');
}
@font-face {
  font-family: 'Lexend Giga';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/LexendGiga.woff2') format('woff2');
}
@font-face {
  font-family: 'Lexend Giga';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/LexendGiga.woff2') format('woff2');
}

/* RESET E PADRÕES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #ffffff;
    font-family: 'Lexend Giga', sans-serif;
    font-weight: 200;
    color: #333;
    overflow-x: hidden;
}



/* bloqueio download imagem */
img {
    -webkit-user-select: none;  
    -moz-user-select: none;     
    -ms-user-select: none;     
    user-select: none;          
    -webkit-user-drag: none;    
    user-drag: none;
    -webkit-touch-callout: none; 
}

/* NAVBAR FIXA E OCULTÁVEL */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    z-index: 5000;
    transition: transform 0.3s ease-in-out;
}

.navbar.nav-hidden {
    transform: translateY(-100%);
}

.header-left,
.header-center,
.header-right {
    flex: 1;
    display: flex;
    align-items: center;
}

.header-center {
    justify-content: center;
}

.header-right {
    justify-content: flex-end;
}

#main-content,
.container-biografia,
.container-valores,
.container-quadros {
    padding-top: 120px;
}

.logo img {
    height: 100px;
    cursor: pointer;
}

/* MENU DESKTOP */
.menu {
    display: flex;
    gap: 20px;
}

/* Esconde elementos mobile na desktop */
.menu-mobile-header,
.menu-close-btn {
    display: none;
}

.menu a {
    text-decoration: none;
    color: #464646;
    font-family: 'Lexend Giga', sans-serif !important;
    font-weight: 700 !important;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
}

.menu a:hover {
    color: #888888;
}

.whatsapp a svg {
    width: 22px;
    fill: #888;
}

.menu-toggle {
    display: none;
}

/* RESPONSIVO MOBILE */
@media (max-width: 768px) {
    .navbar {
        padding: 12px 20px;
    }

    #main-content,
    .container-biografia,
    .container-valores,
    .container-quadros {
        padding-top: 80px;
    }

    /* Três blocos com largura igual garante alinhamento simétrico */
    .header-left,
    .header-center,
    .header-right {
        flex: 1;
    }

    .header-left {
        order: 1;
        justify-content: flex-start;
    }

    .header-center {
        order: 2;
        justify-content: center;
    }

    .header-right {
        order: 3;
        justify-content: flex-end;
    }

    /* Logo menor no mobile */
    .logo img {
        height: 44px;
    }

    /* Hambúrguer maior e com área de toque generosa */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 6px;
    }

    .menu-toggle span {
        width: 26px;
        height: 1.5px;
        background: #333;
    }

    /* WhatsApp maior */
    .whatsapp a svg {
        width: 28px;
        height: 28px;
    }

    /* MENU MOBILE ABERTO */
    .menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transition: 0.4s ease;
        padding-top: 40px;
        overflow-y: auto;
    }

    .menu.active {
        left: 0;
    }

    /* HEADER DO MENU MOBILE */
    .menu-mobile-header {
        display: block;
        margin-bottom: 30px;
    }

    .logo-mobile {
        height: 40px;
    }

    .menu a {
        margin: 12px 0;
        font-size: 14px;
    }

    /* BOTÃO FECHAR NO FINAL */
    .menu-close-btn {
        display: block;
        background: none;
        border: none;
        font-size: 40px;
        color: #999;
        margin-top: 40px;
        margin-bottom: 40px;
        cursor: pointer;
        font-family: 'Lexend Giga', sans-serif;
    }
}

/* TÍTULOS */
.titulo-secao,
.titulo-pagina {
    text-align: center;
    font-family: 'Lexend Giga', sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 13px;
    margin: 40px 0 20px;
    color: #999;
}

.divisor {
    border: 0;
    border-top: 1px solid #f2f2f2;
    margin: 40px 60px;
}

/* SLIDER */
.slider-wrapper {
    display: flex;
    align-items: stretch;
    /* Sem background — fundo branco igual ao resto da página */
}

.slider-seta {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px 16px;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
    line-height: 1;
    user-select: none;
    opacity: 0.35;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Sem background — seta flutua sobre o branco */
}

.slider-seta svg {
    width: 18px;
    height: 18px;
    stroke: #333;
    stroke-width: 1.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.slider-seta:hover {
    opacity: 0.85;
}

@media (max-width: 768px) {
    .slider-seta {
        padding: 8px 10px;
    }
    .slider-seta svg {
        width: 14px;
        height: 14px;
    }
}

.slider-window {
    overflow: hidden;
    width: 100%;
    /* Borda de respiro generosa topo/baixo, sem cor de fundo */
    padding: 50px 0;
    background: none;
}

.slider-track {
    display: flex;
    gap: 20px;
    transition: transform 0.6s ease-in-out;
    align-items: center;
    height: 480px; /* Altura fixa desktop base */
}

/* 4 fotos — widescreen (≥1400px) */
.slider-track .foto-card {
    flex: 0 0 calc(25% - 15px);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

/* 3 fotos — desktop médio (1024px–1399px) */
@media (max-width: 1399px) {
    .slider-track .foto-card {
        flex: 0 0 calc(33.333% - 14px);
    }
}

/* 2 fotos — tablet/desktop pequeno (769px–1023px) */
@media (max-width: 1023px) {
    .slider-track .foto-card {
        flex: 0 0 calc(50% - 10px);
    }
    .slider-track {
        height: 400px;
    }
}

/* 1 foto — mobile (≤768px) */
@media (max-width: 768px) {
    .slider-window {
        padding: 20px 0; /* Respiro menor no mobile */
    }
    .slider-track {
        height: auto;   /* Mobile: altura livre para foto vertical ocupar tudo */
        align-items: stretch;
    }
    .slider-track .foto-card {
        flex: 0 0 100%;
        height: auto;
        padding: 0;
        justify-content: flex-start;
    }
}

/* Imagens do slider */
.slider-track .foto-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Mobile: imagem vertical ocupa máximo disponível */
@media (max-width: 768px) {
    .slider-track .foto-card img {
        height: auto;
        max-height: calc(100vw - 60px); /* largura da tela menos espaço das setas */
        width: 100%;
        object-fit: contain;
    }
}

/* Legenda do slider */
.slider-track .foto-card p.legenda,
.slider-track .foto-card .legenda {
    margin-top: 8px !important;
    margin-bottom: 0 !important;
    flex-shrink: 0;
}


.grid-fotos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    padding: 0 40px 60px;
}

.foto-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Galeria em grade: foto ocupa quase tudo, borda discreta */
.foto-card img {
    width: 88%;
    height: auto;
    display: block;
    object-fit: contain;
    cursor: pointer;
}

.legenda {
    margin-top: 12px;
    font-family: 'Lexend Giga', sans-serif;
    font-weight: 200;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #777;
    text-align: center;
}

@media (max-width: 768px) {
    .grid-fotos {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 0 8px 30px;
    }

    /* Mobile: foto ocupa quase tudo da coluna, borda mínima */
    .grid-fotos .foto-card img {
        width: 95%;
    }

    .grid-fotos .foto-card .legenda,
    .grid-fotos .foto-card p.legenda {
        margin-top: 6px;
        font-size: 9px;
    }
}

/* Fade-in suave nas imagens da galeria */
.img-fade {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.img-visivel {
    opacity: 1;
}

/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: white;
    justify-content: center;
    align-items: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 85%;
    object-fit: contain;
}

.btn-fechar {
    position: absolute;
    top: 30px;
    right: 50px;
    font-size: 40px;
    cursor: pointer;
}


/* ===================  FOOTER  ===================== */

.footer-geral {
    background-color: #333; /* Cinza escuro / cor dos títulos */
    color: #ffffff; /* Fonte branca */
    padding: 40px 20px 20px 20px;
    margin-top: 60px; /* Espaçamento da parte superior */
    width: 100%;
    font-family: 'Lexend Giga', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: table; /* Layout horizontal tradicional compatível */
    width: 100%;
    border-bottom: 1px solid #222222; /* Linha sutil divisória interna */
    padding-bottom: 30px;
}

.footer-bloco {
    display: table-cell;
    vertical-align: middle;
    text-align: center; /* Todos centralizados para manter o mesmo espaçamento entre si */
    width: 25%; /* Divide igualmente em 4 colunas horizontais */
}

/* Alinhamento do bloco da Logo igualado aos demais */
.footer-logo-area {
    text-align: center;
}

.footer-logo {
    max-height: 65px;
    max-width: 100%;
    display: inline-block;
    vertical-align: middle;
}

/* Links e Ícones do Footer */
.footer-link {
    text-decoration: none;
    color: #ffffff; /* Links brancos */
    display: inline-block;
    vertical-align: middle;
    transition: opacity 0.2s ease;
}

.footer-link:hover {
    opacity: 0.8;
}

.footer-icone {
    width: 24px;
    height: 24px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 3px; /* Espaçamento do ícone pro texto corrigido */
}

.footer-texto {
    font-size: 14px;
    display: inline-block;
    vertical-align: middle;
}

/* Linha Inferior: Créditos */
.footer-creditos {
    max-width: 1200px;
    margin: 20px auto 0 auto;
    text-align: center; /* Centralizado abaixo de tudo */
}

.footer-creditos p {
    font-size: 11px; /* Pequeno */
    color: #aaaaaa;
    font-weight: 200;
}

/* ==========================================================================
   ADAPTAÇÃO DO FOOTER PARA MODO MOBILE (TELA ATÉ 768px)
   ========================================================================== */
@media (max-width: 768px) {
    .footer-container {
        display: block; /* Desfaz o comportamento de tabela do desktop */
        width: 100%;
        padding-bottom: 10px;
    }

    .footer-bloco {
        display: block; /* Transforma cada item em bloco individual ocupando a linha toda */
        width: 100%;
        text-align: center; /* Centraliza o conteúdo de todos os blocos no mobile */
        margin-bottom: 30px; /* Cria o espaçamento de cima para baixo entre eles */
    }

    .footer-logo-area {
        text-align: center;
        max-width: 100%;
    }

    .footer-logo {
        max-height: 60px; 
    }

    .footer-bloco:last-child {
        margin-bottom: 0;
    }
}