/* 
 * ESTRUTURA BASE 100VH - OBRIGATÓRIO
 * Arquivo: assets/css/layout-100vh-fe.css
 */

/* ESTRUTURA BASE 100VH - OBRIGATÓRIO */
:root {
    --viewport-width: 100vw;
    --viewport-height: 100vh;
}

html, body {
    height: 100vh;
    overflow: hidden; /* Impede scroll da página */
    margin: 0;
    padding: 0;
}

.main-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.content-area {
    flex: 1;
    overflow-y: auto; /* Scroll apenas no conteúdo quando necessário */
    padding: 20px;
}

/* Classes para controle de tamanho baseado em viewport */
.full-screen {
    width: var(--viewport-width);
    height: var(--viewport-height);
}

.full-screen-banner {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Container principal que não excede viewport */
.container-viewport {
    padding: 0;
    height: 100vh;
    width: 100vw;
    overflow-x: hidden;
    overflow-y: hidden;
}

.container-viewport .row {
    margin: 0;
}

/* Prevent any element from exceeding viewport */
* {
    box-sizing: border-box;
}

/* Responsividade para viewport */
@media (max-width: 768px) {
    .full-screen-banner {
        min-height: auto;
        max-height: 80vh;
        overflow-y: auto;
    }
} 