:root {
    --primary: #D0021B;
    --primary-dark: #9B0114;
    --primary-light: #FF3347;
    --accent: #1E4FA3;
    --accent-light: #2E6BE6;
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(208, 2, 27, 0.12);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    --body-bg: #f5f5f7;
    --text-main: #1a1a2e;
    --text-muted: #555;
    --text-subtle: #888;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--body-bg);
    color: var(--text-main);
}

#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 70px;
    background: rgba(245, 245, 247, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(208, 2, 27, 0.1);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s, box-shadow 0.3s;
}

#header.hidden-up {
    transform: translateY(-100%);
}

#header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.logo-cross {
    color: var(--primary);
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1;
    transition: transform 0.3s;
}

.logo-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    color: var(--primary);
}

.logo-text .text-white {
    color: var(--text-main);
}

.logo-text .text-accent {
    color: var(--accent);
}

.nav-link {
    color: var(--text-muted);
    transition: color 0.2s;
    position: relative;
    padding-bottom: 2px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
}

.mobile-menu.open {
    display: block;
}

.mobile-nav-link {
    color: var(--text-muted);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    transition: color 0.2s;
}

.mobile-nav-link:hover {
    color: var(--primary);
}

.whatsapp-btn {
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
    transition: box-shadow 0.3s, transform 0.2s;
}

.whatsapp-btn:hover {
    box-shadow: 0 6px 25px rgba(34, 197, 94, 0.45);
    transform: scale(1.03);
}

.hero-section {
    padding-top: 70px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from {
        transform: scale(1.05);
    }

    to {
        transform: scale(1.12);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 0%, rgba(10, 10, 20, 0.6) 50%, rgba(10, 10, 20, 0.88) 100%);
}

.particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    animation: float linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.2;
    }

    90% {
        opacity: 0.2;
    }

    100% {
        transform: translateY(-100px) rotate(720deg);
        opacity: 0;
    }
}

.glass-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 9999px;
    padding: 6px 16px;
}

.hero-title {
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.5);
}

.cta-btn-primary {
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    padding: 14px 32px;
    border-radius: 9999px;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(208, 2, 27, 0.4);
    letter-spacing: 0.02em;
}

.cta-btn-primary:hover {
    background: var(--primary-light);
    box-shadow: 0 8px 30px rgba(208, 2, 27, 0.55);
    transform: translateY(-2px);
}

.cta-btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 32px;
    border-radius: 9999px;
    transition: all 0.3s;
}

.cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 13px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes scrollWheel {

    0%,
    100% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(10px);
        opacity: 0;
    }
}

.section-tag {
    display: inline-block;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    color: var(--text-main);
    letter-spacing: 0.02em;
}

.section-title span.text-primary {
    color: var(--primary) !important;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
}

.about-bg-decor {
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(208, 2, 27, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about-icon-wrap {
    width: 100px;
    height: 100px;
    background: rgba(208, 2, 27, 0.08);
    border: 1px solid rgba(208, 2, 27, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

#sobre {
    background-color: #fff;
}

#sobre p {
    color: var(--text-muted);
}

#sobre strong {
    color: var(--text-main);
}

#servicos {
    background-color: #eef2ff;
}

.service-card {
    background: #fff;
    border: 1px solid rgba(208, 2, 27, 0.1);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.service-card h3 {
    color: var(--text-main);
}

.service-card p {
    color: var(--text-muted);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent-light));
    transform: scaleX(0);
    transition: transform 0.4s;
    transform-origin: left;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    border-color: rgba(208, 2, 27, 0.2);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 0 20px rgba(208, 2, 27, 0.07);
}

.service-icon-wrap {
    color: var(--primary);
    transition: transform 0.3s;
}

.service-card:hover .service-icon-wrap {
    transform: scale(1.1);
}

#galeria {
    background-color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 12px;
}

.gallery-item-featured {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.gallery-item-featured {
    aspect-ratio: 16/9;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(208, 2, 27, 0.7) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

.gallery-overlay span {
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

@media (max-width: 640px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-item-featured {
        grid-column: 1 / 3;
    }
}

#contato {
    background-color: #eef2ff;
}

#contato .glass-card {
    background: rgba(255, 255, 255, 0.92);
}

#contato h3 {
    color: var(--text-main);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: rgba(208, 2, 27, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(208, 2, 27, 0.08);
}

.contact-info-item span,
.contact-info-item div {
    color: var(--text-muted);
}

.contact-info-item .font-semibold.text-white {
    color: var(--text-main) !important;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(208, 2, 27, 0.12);
    min-height: 400px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.map-container iframe {
    display: block;
    min-height: 400px;
    height: 100%;
}

footer {
    background: #1a1a2e;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    z-index: 1;
    background: #fff !important;
    color: var(--text-main) !important;
}

.modal-content h2,
.modal-content h3 {
    color: var(--text-main) !important;
}

.modal-content p,
.modal-content div {
    color: var(--text-muted);
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.text-accent-light {
    color: var(--accent-light);
}

.modal-card {
    background: #fff;
    border: 1px solid rgba(208, 2, 27, 0.12);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.whatsapp-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
    text-decoration: none;
    animation: waPulse 2.5s ease-in-out infinite;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s, background 0.2s;
}

.whatsapp-fab:hover {
    background: #1ebe5d;
    box-shadow: 0 10px 32px rgba(37, 211, 102, 0.6);
    transform: scale(1.12);
    animation: none;
}

.whatsapp-fab-icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

@keyframes waPulse {
    0%, 100% {
        box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.45);
    }
    50% {
        box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45), 0 0 0 12px rgba(37, 211, 102, 0);
    }
}

@media (max-width: 480px) {
    .whatsapp-fab {
        width: 52px;
        height: 52px;
        bottom: 20px;
        right: 20px;
    }
}