/* Base visual premium com paleta verde/dourado fiel ao ambiente da otica. */
:root {
    --bg-main: radial-gradient(circle at 0% 0%, rgba(199, 154, 59, 0.18), transparent 36%),
        radial-gradient(circle at 100% 18%, rgba(30, 91, 70, 0.18), transparent 40%),
        linear-gradient(130deg, #f5f0e6 0%, #f8f4ec 42%, #f0e4cf 100%);
    --hero-overlay: linear-gradient(110deg, rgba(23, 69, 54, 0.92), rgba(41, 105, 84, 0.80) 52%, rgba(199, 154, 59, 0.45));
}

html {
    scroll-behavior: smooth;
}

body {
    background-image: var(--bg-main);
    background-attachment: fixed;
}

.hero-full {
    position: relative;
    min-height: min(96vh, 860px);
    overflow: hidden;
    background: var(--hero-overlay), url('../img/salao-1.jpeg') center/cover no-repeat;
}

.hero-full::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 75% 28%, rgba(222, 194, 135, 0.35), transparent 35%),
        radial-gradient(circle at 25% 90%, rgba(255, 255, 255, 0.17), transparent 40%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-panel {
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.07));
    border: 1px solid rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(2px);
}

.reveal {
    animation: rise 0.8s ease both;
}

.reveal.delay-1 {
    animation-delay: 0.15s;
}

.reveal.delay-2 {
    animation-delay: 0.3s;
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-shell {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3.5rem 1rem;
}

@media (min-width: 640px) {
    .section-shell {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .section-shell {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.brand-card {
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 32px rgba(29, 42, 40, 0.13);
}

.gallery-item {
    position: relative;
    isolation: isolate;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(170deg, transparent 35%, rgba(0, 0, 0, 0.33));
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 1;
}

.gallery-item img {
    transition: transform 0.45s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover::after {
    opacity: 1;
}

.marquee-wrap {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}

.marquee {
    display: flex;
    width: max-content;
    gap: 1rem;
    align-items: center;
    animation: none;
    will-change: transform;
}

.marquee.reverse {
    animation: none;
}

.marquee-item {
    height: 82px;
    min-width: 280px;
    border-radius: 0.95rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.75rem;
}

.marquee-item img {
    max-height: 76px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
}

.brand-strip {
    background: linear-gradient(120deg, rgba(23, 69, 54, 0.98), rgba(41, 105, 84, 0.95));
    border: 1px solid rgba(222, 194, 135, 0.28);
}

.marquee-banner {
    gap: 1.15rem;
}

.marquee-cardless {
    border-radius: 1rem;
}

/* Animacao do carrossel e controlada por JS para evitar reinicio visivel. */

.faq-answer {
    overflow: hidden;
}

.faq-item.open .faq-answer {
    display: block;
}

.faq-icon {
    transition: transform 0.28s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.whatsapp-float {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    animation: whatsapp-pulse 2.2s ease-in-out infinite;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(30, 91, 70, 0.45);
    }

    60% {
        transform: scale(1.07);
        box-shadow: 0 0 0 16px rgba(30, 91, 70, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(30, 91, 70, 0);
    }
}

@media (max-width: 767px) {
    .hero-full {
        min-height: 92vh;
    }

    .marquee {
        animation-duration: 20s;
    }

    .marquee-item {
        min-width: 220px;
        height: 68px;
    }

    .marquee-item img {
        max-height: 62px;
    }

    .whatsapp-float {
        width: 54px;
        height: 54px;
    }
}
