/* ============================================
   HEADER E FOOTER FIXOS - CARTÃO BLACK SAÚDE
   ============================================ */

/* HEADER FIXO */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 2px solid var(--color-gold);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.navbar {
    padding: 1rem 0;
}

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

/* Logo no Header */
.nav-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.nav-brand .logo {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(218, 165, 32, 0.3));
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.brand-text .highlight {
    color: var(--color-gold);
}

/* Menu Simplificado */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-link {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-gold);
    background: rgba(218, 165, 32, 0.1);
}

/* Botão Verde */
.btn-nav {
    background: linear-gradient(135deg, #00b347, #009639);
    color: var(--color-white);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-normal);
    box-shadow: 0 4px 12px rgba(0, 150, 57, 0.4);
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 150, 57, 0.6);
    background: linear-gradient(135deg, #009639, #007a2e);
}

/* Menu Toggle Mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

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

/* FOOTER FIXO */
.footer {
    background: rgba(0, 0, 0, 0.95);
    color: var(--color-white);
    border-top: 2px solid var(--color-gold);
    margin-top: 4rem;
}

.footer .container {
    padding: 3rem 1.5rem 1.5rem;
}

/* Logo no Footer */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-brand .logo {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(218, 165, 32, 0.3));
}

.footer-brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
}

.footer-brand-text .highlight {
    color: var(--color-gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    color: var(--color-gold);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-col p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--color-gold);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    font-size: 1.5rem;
    transition: var(--transition-fast);
    filter: grayscale(0);
}

.social-links a:hover {
    transform: translateY(-3px);
    filter: brightness(1.2);
}

.footer-bottom {
    border-top: 1px solid rgba(218, 165, 32, 0.3);
    padding-top: 1.5rem;
    text-align: center;
    color: #999999;
}

/* Espaçamento para Header Fixo */
body {
    padding-top: 85px;
}

/* BOTÕES VERDES GLOBAIS */
.btn,
.btn-primary,
.btn-secondary {
    background: linear-gradient(135deg, #00b347, #009639);
    color: var(--color-white);
    padding: 0.75rem 2rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-normal);
    box-shadow: 0 4px 12px rgba(0, 150, 57, 0.4);
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn:hover,
.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 150, 57, 0.6);
    background: linear-gradient(135deg, #009639, #007a2e);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* RESPONSIVE */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 85px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 85px);
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
        gap: 1rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-brand .logo {
        height: 40px;
    }
    
    .brand-text {
        font-size: 1.2rem;
    }
    
    .footer-brand .logo {
        height: 50px;
    }
}
