/* ========================================
   FOOTER ELEGANTE COM CAMALEÃO ANIMADO
   ======================================== */

.site-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f172a 100%);
    color: var(--neutral-white);
    position: relative;
    margin-top: var(--space-20);
    overflow: hidden;
}

/* Fundo aquático do footer */
.footer-aquarium {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(94, 234, 212, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(240, 171, 252, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 60% 20%, rgba(20, 184, 166, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

/* Bolhas no aquário */
.footer-bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(94, 234, 212, 0.1);
    animation: bubble-float 8s infinite ease-in-out;
    pointer-events: none;
}

.footer-bubble:nth-child(1) {
    width: 8px;
    height: 8px;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 6s;
}

.footer-bubble:nth-child(2) {
    width: 12px;
    height: 12px;
    left: 60%;
    animation-delay: 2s;
    animation-duration: 8s;
}

.footer-bubble:nth-child(3) {
    width: 6px;
    height: 6px;
    left: 90%;
    animation-delay: 4s;
    animation-duration: 7s;
}

@keyframes bubble-float {
    0%, 100% {
        transform: translateY(50px);
        opacity: 0;
    }
    50% {
        transform: translateY(-30px);
        opacity: 0.6;
    }
}

/* Container principal do footer */
.footer-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-12);
    padding: var(--space-16) 0 var(--space-8);
    align-items: start;
}

/* Coluna principal com logo */
.footer-main {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.footer-logo .logo {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px rgba(94, 234, 212, 0.2);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-size: var(--text-2xl);
    font-weight: 700;
    font-family: var(--font-heading);
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-subtitle {
    font-size: var(--text-sm);
    color: var(--mint-200);
    font-weight: 500;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: var(--space-6);
    font-size: var(--text-base);
}

.footer-certifications {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.cert-badge {
    padding: var(--space-2) var(--space-4);
    background: rgba(94, 234, 212, 0.1);
    border: 1px solid rgba(94, 234, 212, 0.3);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    color: var(--mint-200);
    font-weight: 500;
}

/* Colunas de links */
.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--neutral-white);
    margin-bottom: var(--space-4);
    font-family: var(--font-heading);
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-menu li a,
.footer-menu li span {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: var(--text-sm);
    line-height: 1.5;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-menu li a:hover {
    color: var(--mint-200);
    transform: translateX(4px);
}

/* Camaleão animado */
.footer-chameleon {
    position: absolute;
    bottom: 20px;
    width: 40px;
    height: 24px;
    z-index: 3;
    animation: chameleon-walk 25s infinite linear;
}

.chameleon-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.chameleon-body {
    animation: chameleon-color 4s infinite ease-in-out;
    transform-origin: center;
}

.chameleon-eye {
    animation: chameleon-blink 3s infinite ease-in-out;
}

.chameleon-tail {
    animation: chameleon-tail-sway 2s infinite ease-in-out;
    transform-origin: right center;
}

@keyframes chameleon-walk {
    0% {
        left: -60px;
        transform: scaleX(1);
    }
    45% {
        left: calc(50% - 20px);
        transform: scaleX(1);
    }
    50% {
        left: calc(50% - 20px);
        transform: scaleX(-1);
    }
    95% {
        left: calc(100% + 20px);
        transform: scaleX(-1);
    }
    100% {
        left: calc(100% + 20px);
        transform: scaleX(-1);
    }
}

@keyframes chameleon-color {
    0% { fill: #5eead4; }
    25% { fill: #f0abfc; }
    50% { fill: #14b8a6; }
    75% { fill: #c026d3; }
    100% { fill: #5eead4; }
}

@keyframes chameleon-blink {
    0%, 90%, 100% { transform: scaleY(1); }
    95% { transform: scaleY(0.1); }
}

@keyframes chameleon-tail-sway {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-6) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    margin-top: var(--space-8);
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-sm);
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: var(--space-6);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: var(--text-sm);
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--mint-200);
}

/* Responsivo */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
        text-align: center;
    }
    
    .footer-main {
        max-width: 100%;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-certifications {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }
    
    .footer-legal {
        gap: var(--space-4);
    }
    
    .footer-chameleon {
        bottom: 10px;
        width: 32px;
        height: 20px;
    }
}

/* Efeito de ondas no fundo */
.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(94, 234, 212, 0.05) 25%, 
        rgba(240, 171, 252, 0.05) 50%, 
        rgba(94, 234, 212, 0.05) 75%, 
        transparent 100%);
    animation: footer-wave 8s infinite ease-in-out;
    pointer-events: none;
}

@keyframes footer-wave {
    0%, 100% {
        transform: translateX(-100%);
        opacity: 0.3;
    }
    50% {
        transform: translateX(100%);
        opacity: 0.6;
    }
}