/* Explain: Component styles for cards, buttons, and animations. */
.eyebrow {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.brand-badge {
    border-radius: 0.8rem;
}

.bubble-icon {
    animation: iconWiggle 2.6s ease-in-out infinite;
    transform-origin: center;
}

.quote-card {
    position: relative;
    z-index: 75;
    width: min(34rem, 100%);
    min-height: auto;
    border: 1px solid var(--border-color);
    border-top: 5px solid var(--secondary-color);
    border-radius: 1.75rem;
    background: color-mix(in srgb, var(--cream-color) 97%, transparent);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(16px);
}

.ivory-panel {
    position: relative;
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
}

.credibility-item {
    display: flex;
    min-height: 4.25rem;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.9rem;
    background: var(--surface-color);
    color: var(--charcoal-color);
    font-size: 0.9rem;
    font-weight: 800;
}

.service-card,
.timeline-card,
.faq-card,
.benefit-card,
.gallery-card {
    border: 1px solid var(--border-color);
    border-radius: 1.25rem;
    background: var(--surface-color);
    box-shadow: var(--shadow-card);
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.review-card {
    border: 1px solid color-mix(in srgb, var(--cream-color) 18%, transparent);
    border-radius: 1.25rem;
    background: color-mix(in srgb, var(--cream-color) 8%, transparent);
    box-shadow: var(--shadow-card);
    transition: transform 300ms ease, border-color 300ms ease, background 300ms ease;
}

.service-card:hover,
.timeline-card:hover,
.benefit-card:hover,
.gallery-card:hover {
    transform: translateY(-0.4rem);
    border-color: color-mix(in srgb, var(--secondary-color) 70%, transparent);
    box-shadow: 0 22px 55px color-mix(in srgb, var(--primary-color) 18%, transparent);
}

.review-card:hover {
    transform: translateY(-0.4rem);
    border-color: color-mix(in srgb, var(--secondary-color) 70%, transparent);
    background: color-mix(in srgb, var(--cream-color) 12%, transparent);
}

.service-dot {
    display: inline-flex;
    height: 3.25rem;
    width: 3.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.9rem;
    background: color-mix(in srgb, var(--secondary-color) 16%, var(--cream-color));
    color: var(--secondary-color);
}

.gallery-card img {
    height: 17rem;
    width: 100%;
    object-fit: cover;
}

.floating-contact-open {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 950;
    display: none;
    opacity: 0;
    pointer-events: none;
    transform: translateY(0.75rem);
    box-shadow: 0 1.2rem 3rem color-mix(in srgb, var(--primary-color) 42%, transparent);
}

.floating-contact-open.is-visible {
    display: inline-flex;
    opacity: 0.98;
    pointer-events: auto;
    transform: translateY(0);
}

.quote-status.success {
    display: block;
    border: 1px solid color-mix(in srgb, var(--primary-color) 40%, transparent);
    background: color-mix(in srgb, var(--primary-color) 10%, transparent);
    color: var(--primary-color);
}

.quote-status.error {
    display: block;
    border: 1px solid color-mix(in srgb, var(--accent-color) 45%, transparent);
    background: color-mix(in srgb, var(--accent-color) 12%, transparent);
    color: var(--primary-color);
}

#linhas,
#tecnologia,
#galeria,
#fabricacao,
#parceiros,
#faq,
#orcamento {
    scroll-margin-top: 6.5rem;
}

.quote-modal {
    z-index: 1000;
}

.quote-modal::backdrop {
    background: color-mix(in srgb, var(--primary-color) 62%, transparent);
    backdrop-filter: blur(8px);
}

@media (max-width: 640px) {
    .quote-card {
        width: 100%;
        border-radius: 1.5rem;
    }

    .floating-contact-open {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
    }
}

@keyframes iconWiggle {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    35% {
        transform: rotate(-7deg) scale(1.07);
    }
    70% {
        transform: rotate(6deg) scale(1.03);
    }
}