html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

section[id],
header[id] {
    scroll-margin-top: 96px;
}

.skip-link {
    left: 1rem;
    position: fixed;
    top: -5rem;
    z-index: 100;
}

.skip-link:focus {
    top: 1rem;
}

.hero-portrait {
    animation: portrait-in 900ms cubic-bezier(0.2, 0.7, 0.2, 1) both, portrait-float 7s ease-in-out 1s infinite;
    filter: drop-shadow(-40px 20px 60px rgba(0, 0, 0, 0.9));
}

.hero-product {
    animation: product-in 900ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
    filter: drop-shadow(0 24px 50px rgba(0, 0, 0, 0.72));
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

.gold-shine {
    overflow: hidden;
    position: relative;
}

.gold-shine::after {
    animation: shine 4.8s ease-in-out infinite;
    background: linear-gradient(110deg, transparent 0%, rgba(255, 224, 136, 0.28) 45%, transparent 58%);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    transform: translateX(-130%);
}

.mobile-menu {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 300ms ease, opacity 300ms ease;
}

.mobile-menu.is-open {
    max-height: 560px;
    opacity: 1;
}

.whatsapp-button {
    align-items: center;
    background: #128c45;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0.25rem;
    color: #ffffff;
    display: inline-flex;
    gap: 0.5rem;
    justify-content: center;
    padding: 0.75rem 1rem;
    transition: background-color 200ms ease, transform 200ms ease;
}

.whatsapp-button:hover {
    background: #0f7a3d;
    transform: translateY(-1px);
}

.whatsapp-float {
    align-items: center;
    background: #128c45;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 9999px;
    bottom: 22px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
    color: #ffffff;
    display: inline-flex;
    height: 64px;
    justify-content: center;
    position: fixed;
    right: 22px;
    transition: background-color 200ms ease, transform 200ms ease;
    width: 64px;
    z-index: 90;
}

.whatsapp-float:hover {
    background: #0f7a3d;
    transform: translateY(-2px);
}

.whatsapp-icon {
    display: block;
    flex: 0 0 auto;
    height: 1.25rem;
    width: 1.25rem;
}

.whatsapp-float .whatsapp-icon {
    height: 34px;
    width: 34px;
}

.map-frame {
    overflow: hidden;
    position: relative;
}

.google-map-embed {
    border: 0;
    height: 100%;
    width: 100%;
}

.faq-item[open] summary .faq-icon {
    transform: rotate(45deg);
}

.faq-icon {
    transition: transform 200ms ease;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 2px solid #f2ca50;
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .whatsapp-button {
        width: 100%;
    }

    .whatsapp-float {
        bottom: 16px;
        height: 56px;
        right: 16px;
        width: 56px;
    }

    .whatsapp-float .whatsapp-icon {
        height: 30px;
        width: 30px;
    }
}

@keyframes portrait-in {
    from {
        opacity: 0;
        transform: translateX(70px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes product-in {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes portrait-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes shine {
    0%, 70% {
        transform: translateX(-130%);
    }
    100% {
        transform: translateX(130%);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hero-portrait,
    .hero-product,
    .gold-shine::after {
        animation: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
