/* ========================================
   RESET E BASE
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.site-main {
    min-height: 60vh;
}

/* ========================================
   HEADER
======================================== */

.site-header {
    background-color: #212121;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.header-left .logo {
    display: block;
}

.header-left .logo img {
    width: 180px;
    height: auto;
}

/* Navegação Desktop */
.header-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.header-nav a {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ca8b40;
    transition: width 0.3s ease;
}

.header-nav a:hover::after,
.header-nav a.active::after {
    width: 100%;
}

.header-nav a:hover {
    color: #ca8b40;
}

/* Botão WhatsApp Header */
.btn-header {
    background-color: #ca8b40;
    color: #212121;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-header:hover {
    background-color: #fff;
    color: #212121;
}

.btn-header i {
    font-size: 18px;
}

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

.menu-mobile-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.menu-mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.menu-mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Menu Mobile */
.mobile-menu {
    position: fixed;
    top: 68px;
    left: -100%;
    width: 280px;
    height: calc(100vh - 68px);
    background-color: #2a2a2a;
    transition: left 0.3s ease;
    overflow-y: auto;
    z-index: 999;
}

.mobile-menu.active {
    left: 0;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.mobile-nav a {
    color: #fff;
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 16px;
}

.mobile-nav a:hover {
    background-color: rgba(202, 139, 64, 0.1);
    color: #ca8b40;
}

.mobile-nav .mobile-whatsapp {
    background-color: #ca8b40;
    color: #212121;
    margin-top: 15px;
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
}

.mobile-nav .mobile-whatsapp:hover {
    background-color: #fff;
}

/* ========================================
   FOOTER
======================================== */

.site-footer {
    background-color: #1a1a1a;
    color: #ccc;
    margin-top: 80px;
}

.footer-top {
    padding: 60px 0 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-top .footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-col h3 {
    color: #fff;
    font-size: 22px;
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
}

.footer-col h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.6;
    color: #999;
}

.footer-desc {
    margin: 15px 0 25px;
}

/* Redes Sociais */
.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: #2a2a2a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
}

.footer-social a:hover {
    background-color: #ca8b40;
    color: #212121;
}

/* Listas do Footer */
.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    color: #999;
    font-size: 14px;
    display: block;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: #ca8b40;
    padding-left: 5px;
}

/* Contato Footer */
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #999;
    font-size: 14px;
}

.footer-contact i {
    color: #ca8b40;
    font-size: 16px;
    margin-top: 2px;
    width: 20px;
}

.footer-contact a:hover {
    color: #ca8b40;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #2a2a2a;
    padding: 20px 0;
}

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

.footer-bottom p {
    font-size: 13px;
    color: #666;
}

.footer-dev a {
    color: #ca8b40;
}

.footer-dev a:hover {
    color: #fff;
}

/* ========================================
   WHATSAPP FLUTUANTE
======================================== */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 998;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.7);
    }
}

/* ========================================
   RESPONSIVO
======================================== */

/* Tablets */
@media (max-width: 1024px) {
    .header-nav {
        display: none;
    }
    
    .header-right {
        display: none;
    }
    
    .menu-mobile-toggle {
        display: flex;
    }
    
    .footer-top .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .header-left .logo img {
        width: 150px;
    }
    
    .header-container{justify-content: center;}

    .footer-top {
        padding: 40px 0 30px;
    }
    
    .footer-top .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom .footer-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
}

/* Mobile Pequeno */
@media (max-width: 480px) {
    .header-container {
        padding: 0 15px;
    }
    
    .header-left .logo img {
        width: 130px;
    }
    
    .mobile-menu {
        width: 100%;
    }
    
    .footer-container {
        padding: 0 15px;
    }
}

/* ========================================
   UTILIDADES
======================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fadeIn {
    animation: fadeIn 0.5s ease-in;
}