/* 
* MAIN CSS - Hauzi Landing Page
* Estilos globais e configurações base
*/

/* Reset e configurações base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Paleta de cores */
    --preto: #000000;
    --grafite: #464646;
    --taupe: #6F685A;
    --branco: #FFFFFF;

    /* Espaçamentos */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 48px;
    --spacing-xl: 72px;

    /* Transições */
    --transition-time: 0.3s;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--preto);
    color: var(--branco);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Arlon SemiBold', 'Roboto', sans-serif;
    font-weight: bold;
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
    position: relative;
    letter-spacing: -0.3px;
}

h2:after {
    /* Removido underline */
    content: none;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.2px;
}

p {
    margin-bottom: var(--spacing-md);
    font-weight: 300;
    letter-spacing: 0.2px;
}

a {
    color: var(--branco);
    text-decoration: none;
    transition: all var(--transition-time) ease;
}

a:hover {
    color: var(--taupe);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: var(--spacing-xl) 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Botões */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 4px;
    font-weight: 500;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition: all var(--transition-time) ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--taupe);
    color: var(--branco);
    border: none;
}

.btn-primary:hover {
    background-color: var(--branco);
    color: var(--preto);
}

.btn-secondary {
    background-color: transparent;
    color: var(--branco);
    border: 1px solid var(--taupe);
}

.btn-secondary:hover {
    background-color: var(--taupe);
    color: var(--branco);
}

/* Header e Menu */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: var(--spacing-sm) 0;
    transition: all var(--transition-time) ease;
}

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

.logo {
    max-width: 120px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: var(--spacing-md);
}

nav ul li a {
    position: relative;
    font-weight: 400;
    letter-spacing: 0.4px;
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--taupe);
    transition: width var(--transition-time) ease;
}

nav ul li a:hover:after {
    width: 100%;
}

.menu-mobile {
    display: none !important;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1010;
    padding: 0;
}

.menu-mobile.ready {
    transition: background-color 0.2s ease;
}

.menu-mobile:hover, .menu-mobile:active {
    background-color: rgba(111, 104, 90, 0.2);
    border-radius: 4px;
}

.menu-mobile.active {
    background-color: rgba(111, 104, 90, 0.3);
    border-radius: 4px;
}

.hamburger {
    width: 30px;
    height: 3px;
    background-color: var(--branco);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: all var(--transition-time) ease;
}

.hamburger:before,
.hamburger:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--branco);
    transition: all var(--transition-time) ease;
    left: 0;
}

.hamburger:before {
    top: -10px;
}

.hamburger:after {
    top: 10px;
}

/* Animações */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Utilitários */
.text-center {
    text-align: center;
}

.mb-sm {
    margin-bottom: var(--spacing-sm);
}

.mb-md {
    margin-bottom: var(--spacing-md);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

/* Media Queries */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    
    section {
        padding: var(--spacing-lg) 0;
    }
    
    nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--preto);
        padding: 0;
        z-index: 1000;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    
    nav.active {
        display: flex;
        opacity: 1;
        visibility: visible;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    
    nav ul li {
        margin: 15px 0;
        text-align: center;
    }
    
    nav ul li a {
        font-size: 1.5rem;
    }
    
    .menu-mobile {
        display: flex !important;
        z-index: 1050;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }
}
