/* ===== HEADER E FOOTER COMPARTILHADOS ===== */

/* ===== RESET E VARIÁVEIS ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #18212a;
    --secondary-color: #236164;
    --accent-color: #fbbf24;
    --text-color: #1f2937;
    --light-bg: #f9fafb;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
}

/* ===== HEADER E NAVEGAÇÃO ===== */
.header {
    position: sticky; /* ou fixed, dependendo do seu layout */
    top: 0;
    width: 100%;
    z-index: 1000; /* Define uma camada alta para o header */
}

.navbar {
    background-color: var(--primary-color);
    padding: 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    height: 80px;
}

.nav-left,
.nav-right {
    display: flex;
    gap: 8rem;
    align-items: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--accent-color);
}

/* Menu mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 6px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    background-color: var(--primary-color);
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu.active {
    display: flex;
}

.mobile-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.mobile-link:hover {
    color: var(--accent-color);
}

/* Logo */
.logo-container {
    display: flex;
    justify-content: center;
    padding: 2rem 0;
    background-color: var(--white);
}

.logo-circle {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin-top: -110px;
}

.logo-placeholder {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-link {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--accent-color);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--white);
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
    .nav-left,
    .nav-right {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }

    .logo-circle {
        width: 120px;
        height: 120px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}
