/* Felipe Lopes Arquitetura
    Estilos Globais e Sobrescritas
*/

/* Fontes */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: local('Inter'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 700; font-display: swap; src: local('Playfair Display'); }

body { margin: 0; font-family: 'Inter', sans-serif; background-color: #F8F9FA; color: #374151; }
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; }

/* Utilities */
html { scroll-behavior: smooth; }
.hidden { display: none; }
.flex { display: flex; }
.object-cover { object-fit: cover; }

/* Header Style */
header { 
    height: 80px; 
    width: 100%; 
    position: fixed; 
    top: 0; 
    z-index: 50; 
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center; 
}

.header-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Hero Style */
.hero-critical {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center; 
    justify-content: flex-start;
    overflow: hidden; 
    background-color: #f0f0f0; 
}

.hero-img-container {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
}

.hero-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;    
    justify-content: flex-start;
    padding-top: 4rem; 
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    html, body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .hero-img-container {
        display: none !important;
    }

    .hero-critical {
        height: auto;       
        min-height: 90vh;   
        padding-bottom: 3rem;
        background-color: #F8F9FA; 
        align-items: center; 
    }

    .hero-content {
        padding-left: 1.5rem !important; 
        padding-right: 1.5rem !important;
        width: 100%;
    }

    .hero-text-box {
        background: transparent !important; 
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin-top: 2rem;
    }
}

/* Animações e Efeitos */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }
.portfolio-overlay { background: linear-gradient(to top, rgba(141, 0, 0, 0.95), transparent); }