/* ==========================================================================
   GLOBAL - RESET E TIPOGRAFIA (RALEWAY)
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Aplica a fonte em todos os elementos, incluindo botões e links */
    font-family: 'Raleway', sans-serif !important;
}

html {
    /* Faz o movimento da âncora ser suave ao clicar no menu */
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    background-color: #000; /* Fundo padrão do site */
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   ESTRUTURA BASE DE BLOCOS
   ========================================================================== */
.box-geral {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important; 
    position: relative;
    clear: both;
}

/* O wide é o container que limita o conteúdo */
.wide {
    display: flex;
    position: relative;
}

.wide.flex-column {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
}

/* ==========================================================================
   GLOBAL - DESKTOP (Min-width: 1025px)
   (Trava rígida de 800px preservada)
   ========================================================================== */
@media screen and (min-width: 1025px) {
    .box-geral {
        align-items: center; 
    }

    .wide {
        width: 800px !important;
        max-width: 800px !important;
        min-width: 800px !important; 
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* ==========================================================================
   GLOBAL - MOBILE E TABLET (Max-width: 1024px)
   (Ajustes de fluidez)
   ========================================================================== */
@media screen and (max-width: 1024px) {
    .wide {
        width: 90% !important; /* Respiro lateral de 5% de cada lado no celular */
        min-width: auto !important; 
        max-width: none !important;
        flex-direction: column !important;
        margin: 0 auto !important;
    }

    /* Garante que imagens globais não estourem a largura da tela */
    img {
        max-width: 100%;
        height: auto;
    }
}