/* ========================================
   CSS GLOBAL - Qualitá
   ======================================== */

/* Reset e Box Sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variáveis CSS */
:root {
    --verde-primario: #1a5f3f;
    --verde-secundario: #2d7a52;
    --verde-claro: #3a8f63;
    --dourado: #c49a3c;
    --branco: #ffffff;
    --cinza-claro: #f5f5f5;
    --cinza-medio: #e0e0e0;
    --cinza-escuro: #333333;
    --texto-escuro: #2c2c2c;
    
    --fonte-principal: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --transicao: all 0.3s ease;
}

/* Tipografia Global */
body {
    font-family: var(--fonte-principal);
    color: var(--texto-escuro);
    line-height: 1.6;
    background-color: var(--branco);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ========================================
   HEADER PRINCIPAL
   ======================================== */

.header-top {
    background: linear-gradient(135deg, var(--branco) 0%, var(--cinza-claro) 100%);
    padding: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}

/* Logo com Profundidade */
.logo-section {
    flex: 0 0 auto;
}

.logo {
    height: 70px;
    width: auto;
    filter: drop-shadow(3px 3px 6px rgba(26, 95, 63, 0.3));
    transition: var(--transicao);
}

.logo:hover {
    filter: drop-shadow(4px 4px 10px rgba(26, 95, 63, 0.5));
    transform: translateY(-2px);
}

/* Seção de Contato */
.contact-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex: 1;
    margin: 0 30px;
}

.phone-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.phone-icon {
    font-size: 28px;
    color: var(--dourado);
    filter: drop-shadow(2px 2px 4px rgba(196, 154, 60, 0.4));
}

.phone-info {
    display: flex;
    flex-direction: column;
}

.phone-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--cinza-escuro);
    letter-spacing: 0.5px;
}

.phone-number {
    font-size: 24px;
    font-weight: bold;
    color: var(--verde-primario);
    transition: var(--transicao);
}

.phone-number:hover {
    color: var(--verde-secundario);
}

/* Botão WhatsApp */
.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--branco);
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: var(--transicao);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.btn-whatsapp i {
    font-size: 18px;
}

/* Botão Login/Acesso Condomínio */
.login-section {
    flex: 0 0 auto;
}

.btn-login {
    background: linear-gradient(135deg, var(--verde-primario) 0%, var(--verde-secundario) 100%);
    color: var(--branco);
    padding: 15px 25px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 6px 16px rgba(26, 95, 63, 0.4);
    transition: var(--transicao);
    border: 2px solid transparent;
}

.btn-login:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(26, 95, 63, 0.6);
    border-color: var(--dourado);
}

.btn-login i {
    font-size: 24px;
}

.btn-login span {
    line-height: 1.3;
}

/* Hamburger Menu (Mobile) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background-color: var(--verde-primario);
    border-radius: 3px;
    transition: var(--transicao);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ========================================
   BARRA DE NAVEGAÇÃO
   ======================================== */

.navbar {
    background: linear-gradient(135deg, var(--verde-primario) 0%, var(--verde-secundario) 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 999;
}

.nav-menu {
    display: flex;
    justify-content: center;
    gap: 0;
    width: 100%;
}

.nav-menu li {
    flex: 1;
    text-align: center;
}

.nav-menu a {
    display: block;
    padding: 16px 20px;
    color: var(--branco);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: var(--transicao);
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-menu li:last-child a {
    border-right: none;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: rgba(255, 255, 255, 0.15);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 3px;
    background-color: var(--dourado);
    transition: transform 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* ========================================
   RESPONSIVIDADE
   ======================================== */

@media (max-width: 992px) {
    .contact-section {
        margin: 0 15px;
    }
    
    .phone-number {
        font-size: 20px;
    }
    
    .btn-login {
        padding: 12px 18px;
        font-size: 11px;
    }
    
    .btn-login i {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .header-top .container {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .logo {
        height: 50px;
    }
    
    .hamburger {
        display: flex;
        order: 3;
    }
    
    .contact-section {
        order: 2;
        margin: 15px 0 0 0;
        width: 100%;
        flex-direction: row;
        justify-content: center;
    }
    
    .login-section {
        order: 1;
    }
    
    .btn-login {
        padding: 10px 15px;
    }
    
    .btn-login span {
        font-size: 10px;
    }
    
    /* Menu Mobile */
    .navbar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        transition: left 0.4s ease;
        z-index: 9999;
    }
    
    .navbar.active {
        left: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        padding-top: 60px;
    }
    
    .nav-menu li {
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu a {
        padding: 18px 30px;
        border-right: none;
    }
}

@media (max-width: 480px) {
    .phone-wrapper {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .phone-number {
        font-size: 18px;
    }
    
    .btn-whatsapp {
        padding: 8px 18px;
        font-size: 12px;
    }
}


/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: var(--branco);
    position: relative;
}

/* Seção Principal do Footer */
.footer-main {
    padding: 70px 0 50px;
    background: linear-gradient(135deg, var(--verde-primario) 0%, #1a4f35 50%, #0f3323 100%);
    position: relative;
    overflow: hidden;
}

/* Padrão geométrico no fundo */
.footer-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(30deg, rgba(255,255,255,0.03) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.03) 87.5%),
        linear-gradient(150deg, rgba(255,255,255,0.03) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.03) 87.5%);
    background-size: 80px 140px;
    opacity: 0.4;
}

.container-footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 50px;
    position: relative;
    z-index: 1;
}

/* Colunas do Footer */
.footer-column {
    display: flex;
    flex-direction: column;
}

/* Títulos do Footer */
.footer-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--branco);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--dourado);
    display: inline-block;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Mapa */
.footer-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.footer-map:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}

/* Lista de Links */
.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 12px;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-link i {
    font-size: 12px;
    color: var(--dourado);
    transition: transform 0.3s ease;
}

.footer-link:hover {
    color: var(--dourado);
    padding-left: 8px;
}

.footer-link:hover i {
    transform: translateX(5px);
}

/* Texto do Footer */
.footer-text {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    text-align: justify;
}

.footer-text strong {
    color: var(--dourado);
    font-weight: 700;
}

/* Botão de Contato no Footer */
.btn-footer-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--branco);
    padding: 15px 30px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    margin-top: 15px;
    align-self: flex-start;
}

.btn-footer-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
}

.btn-footer-contact i {
    font-size: 20px;
}

/* Redes Sociais */
.footer-social {
    margin-top: 30px;
}

.footer-social-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--branco);
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--branco);
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-icon:hover {
    background: var(--branco);
    color: var(--verde-primario);
    transform: translateY(-5px) rotate(10deg);
    border-color: var(--dourado);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

/* Footer Bottom - Copyright */
.footer-bottom {
    background: #0f0f0f;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.container-footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-copyright strong {
    color: var(--dourado);
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-bottom-link {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-link:hover {
    color: var(--dourado);
}

.footer-separator {
    color: rgba(255, 255, 255, 0.3);
}

/* ========================================
   BOTÃO FLUTUANTE DO WHATSAPP
   ======================================== */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--branco);
    font-size: 32px;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    z-index: 9999;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.7);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    }
    50% {
        box-shadow: 0 8px 35px rgba(37, 211, 102, 0.8);
    }
}

/* ========================================
   RESPONSIVIDADE - FOOTER
   ======================================== */

@media (max-width: 992px) {
    .footer-main {
        padding: 60px 0 40px;
    }
    
    .container-footer {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-map-column {
        grid-column: 1 / -1;
    }
    
    .footer-title {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 50px 0 30px;
    }
    
    .container-footer {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-title {
        display: block;
        text-align: center;
    }
    
    .footer-text {
        text-align: center;
    }
    
    .footer-link {
        justify-content: center;
    }
    
    .btn-footer-contact {
        align-self: center;
    }
    
    .footer-social {
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .container-footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .whatsapp-float {
        width: 60px;
        height: 60px;
        font-size: 28px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .footer-title {
        font-size: 15px;
    }
    
    .footer-text {
        font-size: 13px;
    }
    
    .footer-link {
        font-size: 14px;
    }
    
    .btn-footer-contact {
        width: 100%;
        font-size: 14px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .footer-copyright {
        font-size: 12px;
    }
    
    .footer-bottom-link {
        font-size: 12px;
    }
}
