/* --- HEADER PADRÃO (DESKTOP) --- */
header { 
    background: white; 
    height: 90px; 
    display: flex; 
    align-items: center; 
    position: relative; 
    z-index: 1000; 
    box-shadow: 0 2px 15px rgba(0,0,0,0.05); 
}

.header-content { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    width: 100%; 
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* Logo normal no desktop */
.logo img { 
    height: 100px;
    margin-top: 0;
    position: relative; 
    z-index: 1001; 
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.15)); 
    transition: transform 0.3s; 
}
.logo img:hover { transform: scale(1.05); }

nav ul { 
    display: flex; 
    gap: 30px; 
    list-style: none; 
    margin: 0; 
    padding: 0; 
    align-items: center;
}

/* Links do menu */
nav a { 
    text-decoration: none; 
    color: #2D2D2D; 
    font-weight: 700; 
    transition: 0.3s; 
    font-size: 0.95rem;
    font-family: 'Lato', sans-serif;
    position: relative;
}

nav a:hover { color: #8B1E22; }

/* Linha dourada animada */
nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 0;
    background-color: #C69C3A;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Botão CTA */
.btn-header { 
    background: #8B1E22; 
    color: white; 
    padding: 10px 25px; 
    border-radius: 5px; 
    text-decoration: none; 
    font-weight: 700; 
    font-size: 0.9rem;
    font-family: 'Lato', sans-serif;
    white-space: nowrap;
}

/* 👇 ADICIONADO — SOMENTE DESKTOP */
@media (min-width: 901px) {
    .btn-header {
        margin-left: 40px; /* Espaço entre o menu e o botão */
    }
}

.mobile-menu-btn { 
    display: none; 
}

/* --- FOOTER DARK PREMIUM --- */
footer {
    background-color: #111111;
    color: #999999;
    padding-top: 80px;
    font-size: 0.95rem;
    border-top: 5px solid #8B1E22;
    margin-top: auto;
    font-family: 'Lato', sans-serif;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto; 
    margin-right: auto;
    padding: 0 20px;
}

.footer-col h3 {
    color: #ffffff;
    margin-bottom: 25px;
    font-family: 'Roboto Slab', serif;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.footer-logo-img {
    max-width: 180px;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    opacity: 0.9;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { 
    color: #999999; 
    text-decoration: none; 
    transition: color 0.3s, padding-left 0.3s; 
}
.footer-links a:hover { 
    color: #C69C3A; 
    padding-left: 5px; 
}

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { 
    display: flex; 
    align-items: flex-start; 
    gap: 15px; 
    margin-bottom: 15px; 
    line-height: 1.4; 
}
.contact-list i { 
    color: #b0b0b0; 
    font-size: 1.3rem; 
    margin-top: 2px; 
}

.social-icons { display: flex; gap: 15px; }

.social-btn {
    display: flex; 
    align-items: center; 
    justify-content: center;
    width: 45px; 
    height: 45px; 
    border-radius: 50%;
    background-color: transparent; 
    border: 1px solid #444; 
    color: #fff;
    font-size: 1.5rem; 
    text-decoration: none; 
    transition: 0.3s;
}

.social-btn.instagram:hover { background: #E1306C; border-color: #E1306C; }
.social-btn.facebook:hover { background: #1877F2; border-color: #1877F2; }
.social-btn.linkedin:hover { background: #0077B5; border-color: #0077B5; }

.copyright {
    text-align: center;
    border-top: 1px solid #222;
    padding: 30px 0;
    font-size: 0.85rem;
    background-color: #0a0a0a;
    color: #555;
}

/* --- WHATSAPP FLUTUANTE --- */
.whatsapp-btn {
    position: fixed; 
    bottom: 30px; 
    right: 30px; 
    z-index: 9999;
    background-color: #25D366; 
    color: white;
    width: 60px; 
    height: 60px; 
    border-radius: 50%;
    display: flex; 
    align-items: center; 
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}
.whatsapp-btn i { font-size: 32px; }
.whatsapp-btn:hover { 
    background-color: #128C7E; 
    transform: scale(1.1); 
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===========================
   MOBILE HEADER + FOOTER
=========================== */
@media (max-width: 900px) {

    header {
        height: 70px;
    }

    .logo img {
        height: 85px;
        margin-top: 12px;
    }

    /* Header no mobile: logo centralizada */
    .header-content {
        justify-content: center;
    }

    /* Botão hamburguer no canto direito */
    .mobile-menu-btn { 
        display: block; 
        position: absolute;
        right: 20px;
        top: 14px;
        font-size: 1.8rem;
        cursor: pointer;
        background: none;
        border: none;
        color: #2D2D2D;
        padding: 4px 6px;
    }

    /* Menu fechado por padrão */
    .header-content nav {
        display: none;
    }

    /* Quando o menu estiver aberto */
    .header-content.menu-open nav {
        display: block;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #ffffff;
        padding: 16px 20px 20px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.12);
        z-index: 10000;
    }

    /* CTA no mobile */
    .header-content.menu-open .nav-cta {
        display: block;
        width: 100%;
        text-align: center;
        background: #8B1E22;
        color: white;
        padding: 14px 20px !important;
        border-radius: 10px;
        font-size: 1.05rem;
        font-weight: 700;
        margin-top: 25px;
        box-sizing: border-box;
    }

    .header-content.menu-open nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .header-content.menu-open nav a {
        display: block;
        width: 100%;
        padding: 6px 0;
    }

    .header-content.menu-open .nav-cta {
        margin-top: 10px;
        text-align: center;
    }

    /* FOOTER – versão mobile */
    footer {
        padding-top: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 35px;
    }

    .footer-col {
        text-align: center;
    }

    .footer-logo-img {
        max-width: 120px;
        margin: 0 auto 10px auto;
    }

    .footer-col h3 {
        margin-bottom: 15px;
        font-size: 1.1rem; 
    }

    .footer-links li {
        margin-bottom: 8px;
    }

    .contact-list li {
        justify-content: center;
        margin-bottom: 10px;
    }

    .social-icons {
        justify-content: center;
        gap: 12px;
    }

    .social-btn {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
    }

    .copyright {
        padding: 20px 0;
        font-size: 0.8rem;
    }

    /* WhatsApp menor */
    .whatsapp-btn { 
        width: 50px; 
        height: 50px; 
        bottom: 20px; 
        right: 20px; 
    }
    .whatsapp-btn i { 
        font-size: 28px; 
    }
}
