/* L17 Custom CSS - Minimal overrides */

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

/* Custom selection */
::selection {
    background-color: rgba(192, 140, 60, 0.2);
    color: #1a1a2e;
}

/* Header scroll state */
.header-scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

/* CTA pulse animation */
.cta-btn {
    position: relative;
}

.cta-btn::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s;
}

/* Card hover lift */
.group:hover {
    transform: translateY(-2px);
}

/* Fade-in animation for scroll */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.open {
    max-height: 300px;
}

/* Consent banner slide-up */
#consent-banner {
    transform: translateY(100%);
    transition: transform 0.4s ease-out;
}

#consent-banner.show {
    transform: translateY(0);
}

/* WhatsApp button pulse */
@keyframes pulse-green {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    }

    50% {
        box-shadow: 0 0 0 12px rgba(34, 197, 94, 0);
    }
}

a[aria-label="Fale conosco no WhatsApp"] {
    animation: pulse-green 2s infinite;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #c08c3c;
    outline-offset: 2px;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .fade-in {
        opacity: 1;
        transform: none;
        transition: none;
    }

    a[aria-label="Fale conosco no WhatsApp"] {
        animation: none;
    }

    .group:hover {
        transform: none;
    }
}