/* ============================= */
/* Configurações Seção 1 (HEADER & NAV) */
/* ============================= */

header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: var(--header-background-color); 
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--color-accent-lighter);
}

.header-container {
    width: 100%;
    max-width: var(--max-width-container);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 48px;
}

/* --- Links de Navegação (Esquerda) --- */
.header-left {
    display: flex;
    align-items: center;
    gap: 48px;
    flex: 1; /* Ocupa espaço proporcional para equilibrar o layout */
}

.header-left a {
    color: var(--color-background); 
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.header-left a:hover { 
    opacity: 0.6; 
}

/* --- Logo Centralizada --- */
.header-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    z-index: 10;
}

.logo img {
    height: 30px;
    width: auto;
    display: block;
}

/* --- Ícones Sociais (Direita) --- */
.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Alinha o conteúdo interno à direita */
    gap: 16px;
    flex: 1; /* Ocupa o mesmo espaço da esquerda para manter a simetria */
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--color-accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
}

.social-icon svg {
    width: 18px;
    height: 18px;
    fill: var(--color-background); 
    transition: fill 0.3s ease;
}

.social-icon:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

/* ============================= */
/* Configurações Seção 2 (FOOTER PREMIUM) */
/* ============================= */

.footer-premium {
    background-color: #0a0a0a; 
    padding: 80px 48px 30px;
    border-top: 1px solid #1a1a1a;
    color: var(--color-text-footer);
}

.footer-container {
    max-width: var(--max-width-container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 24px;
    filter: brightness(0) invert(1); /* Mantém a logo branca */
}

.footer-brand p {
    font-size: 15px;
    line-height: 1.7;
    max-width: 320px;
}

.footer-links h4, 
.footer-social h4 {
    color: var(--color-background);
    font-size: 18px;
    margin-bottom: 24px;
}

.footer-links a {
    display: block;
    color: var(--color-text-footer);
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 15px;
    transition: color 0.3s;
}

.footer-links a:hover { 
    color: #ffffff; 
}

/* --- Social Links Row (Footer) --- */
.social-links-row {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-icon-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--color-text-footer);
    font-size: 15px;
    transition: all 0.3s ease;
}

.social-icon-item:hover { 
    color: #ffffff; 
}

.instagram-icon {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #1a1a1a;
    text-align: center;
    font-size: 13px;
}

/* ============================= */
/* Configurações Seção 1 (HEADER & FOOTER MOBILE) */
/* ============================= */

@media (max-width: 768px) {
    /* Ajustes do Header */
    .header-container {
        padding: 16px 20px;
        justify-content: space-between;
        position: relative;
    }

    .header-left, 
    .header-right {
        display: none; /* Esconde nav e ícones sociais desktop */
    }

    .header-center {
        position: static;
        transform: none;
        order: 1;
    }

    .logo img {
        height: 25px;
    }

    /* Ícone do Menu Hamburguer */
    .menu-mobile-icon {
        display: flex;
        order: 2;
        cursor: pointer;
        width: 40px;
        height: 40px;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--color-accent-light);
        border-radius: 50%;
        color: var(--color-background);
    }

    .menu-mobile-icon svg {
        fill: currentColor;
        width: 24px;
        height: 24px;
    }

    /* Ajustes do Footer */
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .footer-brand p {
        margin: 0 auto;
    }

    .footer-links, 
    .footer-social {
        text-align: center;
    }

    .social-links-row {
        align-items: center;
    }

    .footer-bottom {
        margin-top: 40px;
    }
}