:root {
    --brand-red: #d7192f;
    --brand-red-dark: #8e1021;
    --brand-red-deep: #4f0710;
    --honey: #f7c948;
    --paper: #f7f2ea;
    --cream: #fff7ea;
    --ink: #171717;
}

* {
    box-sizing: border-box;
}

body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

.header-hidden {
    transform: translateY(-120%);
}

.brand-mark {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
    color: white;
    font-size: 1.55rem;
    font-weight: 950;
    line-height: 1;
    box-shadow: 0 18px 42px rgba(215, 25, 47, 0.35);
}

.nav-link {
    position: relative;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: var(--honey);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.25s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.mobile-link {
    display: block;
    border-radius: 8px;
    padding: 0.85rem 1rem;
    font-weight: 800;
    transition: background 0.2s ease;
}

.mobile-link:hover {
    background: rgba(255, 255, 255, 0.12);
}

.menu-line,
.menu-line::before,
.menu-line::after {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-line {
    position: relative;
}

.menu-line::before,
.menu-line::after {
    content: "";
    position: absolute;
    left: 0;
}

.menu-line::before {
    transform: translateY(-7px);
}

.menu-line::after {
    transform: translateY(7px);
}

#menuButton.is-open .menu-line {
    transform: rotate(45deg);
}

#menuButton.is-open .menu-line::before {
    opacity: 0;
}

#menuButton.is-open .menu-line::after {
    transform: rotate(90deg);
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border-radius: 8px;
    background: #20b45b;
    color: white;
    font-weight: 900;
    box-shadow: 0 18px 40px rgba(32, 180, 91, 0.25);
    transition: transform 0.24s ease, background 0.24s ease, box-shadow 0.24s ease;
}

.whatsapp-button:hover {
    transform: translateY(-3px);
    background: #17984b;
    box-shadow: 0 24px 54px rgba(32, 180, 91, 0.32);
}

.whatsapp-button.compact {
    padding: 0.85rem 1.15rem;
    font-size: 0.9rem;
}

.whatsapp-button.large {
    padding: 1rem 1.35rem;
    font-size: 1rem;
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.14);
    padding: 1rem 1.35rem;
    color: white;
    font-weight: 900;
    backdrop-filter: blur(16px);
    transition: transform 0.24s ease, background 0.24s ease;
}

.secondary-button:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.22);
}

.hero-section {
    isolation: isolate;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 2.3rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.14);
    padding: 0.55rem 0.85rem;
    color: var(--honey);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
}

.light-bars {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.78;
    background:
        linear-gradient(110deg, transparent 7%, rgba(247, 201, 72, 0.22) 7.4%, transparent 8%),
        linear-gradient(110deg, transparent 66%, rgba(255, 255, 255, 0.22) 66.3%, transparent 66.8%),
        linear-gradient(0deg, transparent 22%, rgba(247, 201, 72, 0.2) 22.2%, transparent 22.7%);
    animation: glowShift 7s ease-in-out infinite alternate;
}

.hero-chip {
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.13);
    padding: 0.65rem 0.85rem;
    backdrop-filter: blur(12px);
}

.glass-panel {
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(20px);
    padding: 1.25rem;
}

.hero-stat {
    min-height: 112px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.13);
    padding: 1rem;
}

.hero-stat strong {
    display: block;
    font-size: clamp(2rem, 5vw, 3.75rem);
    line-height: 1;
    color: white;
}

.hero-stat span {
    display: block;
    margin-top: 0.65rem;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.section-pad {
    padding: clamp(4rem, 9vw, 7rem) 0;
}

.section-kicker {
    display: inline-flex;
    color: var(--brand-red);
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0;
    text-transform: uppercase;
}

.section-title {
    margin-top: 0.75rem;
    color: var(--ink);
    font-size: clamp(2.25rem, 6vw, 4.65rem);
    line-height: 0.98;
    font-weight: 950;
}

.section-lead {
    margin: 1.25rem auto 0;
    max-width: 46rem;
    color: #6b5b5b;
    font-size: 1.05rem;
    line-height: 1.8;
}

.image-stack {
    position: relative;
    min-height: 520px;
    border-radius: 8px;
}

.image-stack img {
    width: 100%;
    height: 520px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 35px 90px rgba(142, 16, 33, 0.15);
}

.floating-card {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    width: min(310px, calc(100% - 2rem));
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    padding: 1.2rem;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(18px);
}

.floating-card strong {
    display: block;
    color: var(--brand-red-dark);
    font-size: 1.25rem;
    font-weight: 950;
}

.floating-card span {
    display: block;
    margin-top: 0.45rem;
    color: #5f5252;
    line-height: 1.55;
}

.mini-card {
    min-height: 104px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(215, 25, 47, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.68);
    text-align: center;
    box-shadow: 0 20px 60px rgba(142, 16, 33, 0.08);
    backdrop-filter: blur(14px);
    padding: 1rem;
}

.mini-card strong {
    color: var(--brand-red-dark);
    font-weight: 950;
}

.mini-card span {
    margin-top: 0.25rem;
    color: #756767;
    font-size: 0.8rem;
    font-weight: 700;
}

.feature-card,
.service-card,
.contact-panel {
    border: 1px solid rgba(215, 25, 47, 0.16);
    border-radius: 8px;
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.48));
    box-shadow: 0 28px 80px rgba(142, 16, 33, 0.1);
    backdrop-filter: blur(18px);
}

.feature-card {
    min-height: 250px;
    padding: 1.35rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover,
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 34px 90px rgba(142, 16, 33, 0.16);
}

.feature-card span {
    display: grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    border-radius: 8px;
    background: var(--brand-red);
    color: white;
    font-weight: 950;
}

.feature-card h3 {
    margin-top: 1.5rem;
    color: var(--brand-red-dark);
    font-size: 1.25rem;
    font-weight: 950;
}

.feature-card p {
    margin-top: 0.8rem;
    color: #675757;
    line-height: 1.7;
}

.service-card {
    position: relative;
    min-height: 420px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(247, 201, 72, 0.24), transparent 42%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card > * {
    position: relative;
}

.service-card h3 {
    color: var(--brand-red-dark);
    font-size: 1.45rem;
    font-weight: 950;
}

.service-card p {
    margin-top: 1rem;
    color: #5f5252;
    line-height: 1.8;
}

.service-card ul {
    margin-top: 1.25rem;
    display: grid;
    gap: 0.65rem;
    text-align: left;
}

.service-card li {
    position: relative;
    border-radius: 8px;
    background: rgba(215, 25, 47, 0.07);
    padding: 0.7rem 0.75rem 0.7rem 2rem;
    color: #4d3f3f;
    font-size: 0.92rem;
    font-weight: 800;
}

.service-card li::before {
    content: "";
    position: absolute;
    left: 0.75rem;
    top: 50%;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--brand-red);
    transform: translateY(-50%);
}

.text-primary-DEFAULT,
.text-primary {
    color: var(--brand-red);
}

.cta-band {
    background:
        linear-gradient(135deg, rgba(79, 7, 16, 0.95), rgba(215, 25, 47, 0.92)),
        url("img/atendimento.jpg") center / cover;
    padding: clamp(4rem, 8vw, 6rem) 0;
    color: white;
}

.cta-band h2 {
    margin-top: 0.9rem;
    max-width: 48rem;
    font-size: clamp(2.4rem, 6vw, 4.65rem);
    line-height: 0.98;
    font-weight: 950;
}

.cta-band p {
    margin-top: 1.2rem;
    max-width: 38rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
    line-height: 1.8;
}

.steps {
    display: grid;
    gap: 0.9rem;
}

.steps div {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.2rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    padding: 1rem;
    backdrop-filter: blur(16px);
}

.steps span {
    grid-row: span 2;
    display: grid;
    width: 2.6rem;
    height: 2.6rem;
    place-items: center;
    border-radius: 8px;
    background: var(--honey);
    color: var(--brand-red-deep);
    font-weight: 950;
}

.steps strong {
    font-size: 1.05rem;
    font-weight: 950;
}

.steps p {
    margin: 0;
    font-size: 0.92rem;
}

.gallery-grid {
    display: grid;
    grid-auto-flow: dense;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.gallery-item {
    min-height: 270px;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.16);
    cursor: zoom-in;
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: saturate(1.08) contrast(1.04);
}

.contact-panel {
    padding: clamp(1rem, 4vw, 2rem);
}

.contact-highlight {
    border-radius: 8px;
    background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
    padding: 1.25rem;
    color: white;
    box-shadow: 0 24px 54px rgba(215, 25, 47, 0.18);
}

.contact-highlight span {
    display: block;
    color: var(--honey);
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.contact-highlight strong {
    display: block;
    margin-top: 0.4rem;
    font-size: clamp(2rem, 5vw, 3.1rem);
    line-height: 1;
    font-weight: 950;
}

.contact-highlight p {
    margin-top: 0.65rem;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 700;
}

.contact-row {
    display: grid;
    grid-template-columns: 0.95fr 1.35fr;
    gap: 1rem;
    border-bottom: 1px solid rgba(23, 23, 23, 0.08);
    padding: 0.9rem 0;
}

.contact-row span {
    color: #7d6c6c;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.contact-row strong {
    color: #271b1b;
    font-size: 0.98rem;
    overflow-wrap: anywhere;
}

.map-panel {
    min-height: 640px;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(215, 25, 47, 0.16);
    box-shadow: 0 30px 90px rgba(142, 16, 33, 0.1);
}

.map-panel iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 640px;
    border: 0;
}

.floating-whatsapp {
    position: fixed;
    right: 1.2rem;
    bottom: 1.2rem;
    z-index: 60;
    display: grid;
    width: 3.45rem;
    height: 3.45rem;
    place-items: center;
    border-radius: 8px;
    background: #20b45b;
    color: white;
    box-shadow: 0 20px 52px rgba(32, 180, 91, 0.35);
    transition: transform 0.24s ease, background 0.24s ease;
}

.floating-whatsapp:hover {
    transform: translateY(-4px) scale(1.04);
    background: #17984b;
}

.modal-close {
    position: fixed;
    right: 1.25rem;
    top: 1.25rem;
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    border-radius: 8px;
    background: white;
    color: var(--brand-red-dark);
    font-size: 2rem;
    font-weight: 950;
    line-height: 1;
}

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

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

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

@keyframes glowShift {
    from {
        transform: translate3d(-18px, 0, 0);
        opacity: 0.55;
    }
    to {
        transform: translate3d(18px, -12px, 0);
        opacity: 0.9;
    }
}

@media (max-width: 980px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-item.wide,
    .gallery-item.tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .map-panel,
    .map-panel iframe {
        min-height: 500px;
    }
}

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

    .gallery-item {
        min-height: 250px;
    }

    .contact-row {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .hero-section {
        min-height: 96svh;
    }

    .image-stack,
    .image-stack img {
        min-height: 380px;
        height: 380px;
    }
}
