/* =====================================================
   RESET
===================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =====================================================
   VARIÁVEIS
===================================================== */
:root {
    --dourado: #D4AF37;
    --dourado-claro: #f5e6b0;
    --marrom: #3b2a1a;
    --marrom-escuro: #2a1d12;
    --bege: #f8f5f0;
    --branco: #ffffff;
    --gradiente-dourado: linear-gradient(90deg, #D4AF37, #FFD700, #D4AF37);
}

/* =====================================================
   BODY
===================================================== */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: var(--bege);
    color: var(--marrom);
    line-height: 1.6;
    padding-top: 90px; /* compensação do header fixo */
    padding-top: 0; /* remove o espaço acima do menu */
}

header {
    width: 100%;
   background: linear-gradient(135deg, #5b3900, #86590a);
    padding: 0 40px; /* só espaçamento lateral */
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px; /* altura do header */
}

nav {
    display: flex;
    align-items: center;
    gap: 20px;
}


/* =====================================================
   NAVBAR
===================================================== */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 10px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 5px;
}

.logo-area img {
    height: 90px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 3.8rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--branco);
    letter-spacing: 1.5px;
    line-height: 1;
}

/* Menu horizontal desktop */
nav ul {
    list-style: none;
    display: flex;
    gap: 12px; /* menor espaço */
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 8px 0;
    flex-wrap: nowrap; /* força linha única */
}

/* Links */
nav ul li a {
    
    display: inline-block;
    padding: 6px 14px; /* mais compacto */
    border-radius: 6px; /* menos redondo */
    font-size: 13px; /* controla largura total */
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap; /* impede quebra interna */
    color: #ffffff;
    background: linear-gradient(135deg, #4a2e00, #8c6a1f);
    transition: background 0.25s ease, transform 0.2s ease;
}


/* Hover */
nav ul li a:hover {
    background: linear-gradient(135deg, #8c6a1f, #d4af37);
    color: #ffffff; /* branco real */
    transform: translateY(-1px);
}


nav ul li a {
    position: relative; /* NECESSÁRIO para o ::after */
    display: inline-block;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;

    color: #ffffff;
    background: linear-gradient(135deg, #4a2e00, #8c6a1f);

    transition: background 0.25s ease, transform 0.2s ease, color 0.2s ease;
}

/* Linha animada */
nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 4px;
    left: 0;
    background-color: var(--dourado);
    transition: width 0.3s ease;
}

/* Hover */
nav ul li a:hover {
    background: linear-gradient(135deg, #5b3900, #86590a);
    color: #ffffff; /* agora correto */
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

nav ul li a:hover::after {
    width: 100%;
}

/* === RESPONSIVO CELULAR === */
@media (max-width: 768px) {
    nav ul {
        flex-wrap: wrap; /* permite quebrar em duas linhas */
        justify-content: center; /* centraliza as linhas */
        gap: 10px; /* espaço entre botões */
    }

    nav ul li a {
        flex: 1 1 45%; /* cada botão ocupa ~45% do espaço, permitindo 2 por linha */
        text-align: center;
        padding: 12px 0;
        font-size: 0.9rem;
    }
}


/* Botão de Contato Especial */
nav ul li:last-child a {
    background: var(--dourado);
    color: #0a2540;
}

nav ul li:last-child a::after { display: none; }

nav ul li:last-child a:hover {
    background: #fff;
    color: #0a2540;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

/* =====================================================
   BOTÃO WHATSAPP FIXO
===================================================== */
.whatsapp-fixo,
.whatsapp {
    position: fixed;
    right: 25px;
    bottom: 25px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    z-index: 3000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-fixo:hover,
.whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* =====================================================
   FOOTER
===================================================== */
footer {
    background: linear-gradient(135deg, #5b3900, #86590a);
    color: #fff;
    padding: 80px 20px 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.footer-col h3,
.footer-col h4 {
    color: var(--dourado);
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.5px;
}

.footer-col p {
    color: #fffaf2;
    line-height: 1.7;
    font-size: 15px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 15px;
}

.footer-contact i {
    color: var(--dourado);
    font-size: 16px;
    background: rgba(255,255,255,0.08);
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-contact li:hover i {
    background: var(--dourado);
    color: #4b2e05;
    transform: scale(1.1);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.footer-social a {
    background: var(--dourado);
    color: #4b2e05;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #4b2e05;
    color: var(--dourado);
    transform: scale(1.15);
    box-shadow: 0 0 15px rgba(255, 207, 64, 0.6);
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    color: rgba(255,255,255,0.75);
}

.footer-bottom a {
    color: var(--dourado);
    text-decoration: none;
    font-weight: 500;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* =====================================================
   REDES SOCIAIS PREMIUM (CÍRCULOS DOURADOS)
===================================================== */
.social-dourado {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
}

.social-dourado a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    color: var(--dourado);
    background: rgba(255,255,255,0.05);
    border: 2px solid var(--dourado);
    border-radius: 50%;
    font-size: 26px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.social-dourado a:hover {
    background: var(--dourado);
    color: #0a2540;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

/* =====================================================
   RESPONSIVIDADE
===================================================== */
@media (max-width: 768px) {
    header {
        height: auto !important;
        padding: 15px 0;
    }
    nav {
        flex-direction: column;
        gap: 15px;
        padding: 0 20px;
    }
    nav ul {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        padding: 0;
    }
    nav ul li a {
        font-size: 0.8rem;
        padding: 8px 12px;
    }
    .logo-area img { height: 50px; }
    .logo-text { font-size: 1.4rem; text-align: center; }
    .hero-text h1 { font-size: 1.8rem; }
    .footer-container, .footer-social, .footer-contact li { text-align: center; justify-content: center; }
}