@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

:root {
    --primary: #e01824;
    --primary-dark: #aa0f19;
    --accent: #13a8c6;
    --ink: #141722;
}

* {
    box-sizing: border-box;
}

body {
    min-width: 320px;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(135deg, rgba(224, 24, 36, .08), transparent 34%),
        linear-gradient(315deg, rgba(19, 168, 198, .12), transparent 38%);
    z-index: -1;
}

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

.glass-brand {
    border: 1px solid rgba(255, 255, 255, .28);
    background: rgba(20, 23, 34, .38);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .2);
    backdrop-filter: blur(20px);
}

.glass-icon {
    display: grid;
    height: 48px;
    width: 48px;
    place-items: center;
    gap: 4px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .28);
    background: rgba(20, 23, 34, .42);
    backdrop-filter: blur(20px);
}

.glass-icon span {
    display: block;
    height: 2px;
    width: 20px;
    border-radius: 999px;
    background: white;
}

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

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    transform: scaleX(0);
    transform-origin: center;
    border-radius: 999px;
    background: white;
    transition: transform .25s ease;
}

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

.nav-link.is-active::after {
    transform: scaleX(1);
}

.whatsapp-btn,
.hero-btn,
.secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    min-height: 48px;
    border-radius: 999px;
    padding: .85rem 1.25rem;
    font-weight: 800;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.whatsapp-btn,
.hero-btn {
    color: white;
    background: linear-gradient(135deg, #1bb75f, #0d8f46);
    box-shadow: 0 16px 40px rgba(13, 143, 70, .34);
}

.secondary-btn {
    color: white;
    border: 1px solid rgba(255, 255, 255, .34);
    background: rgba(255, 255, 255, .14);
    backdrop-filter: blur(18px);
}

.whatsapp-btn:hover,
.hero-btn:hover,
.secondary-btn:hover {
    transform: translateY(-2px);
}

.hero-stat {
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, .14);
    padding: 1rem;
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .14);
}

.hero-stat strong {
    display: block;
    font-size: .95rem;
    font-weight: 900;
}

.hero-stat span {
    display: block;
    margin-top: .25rem;
    color: rgba(255, 255, 255, .76);
    font-size: .85rem;
    line-height: 1.35;
}

.hero-motto {
    max-width: 620px;
    border-left: 4px solid rgba(255, 255, 255, .72);
    padding-left: 1.1rem;
}

.hero-motto span {
    display: block;
    color: rgba(255, 255, 255, .68);
    font-size: .76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.hero-motto strong {
    display: block;
    margin-top: .35rem;
    color: white;
    font-size: clamp(1.05rem, 2.4vw, 1.45rem);
    font-weight: 800;
    line-height: 1.45;
}

.trust-strip {
    position: relative;
    z-index: 4;
    display: grid;
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .74);
    border-radius: 1.7rem;
    background: rgba(255, 255, 255, .56);
    box-shadow: 0 28px 90px rgba(20, 23, 34, .12);
    backdrop-filter: blur(22px);
}

.trust-strip div {
    min-height: 120px;
    padding: 1.4rem;
    background: rgba(255, 255, 255, .72);
}

.trust-strip span {
    color: var(--primary);
    font-size: .76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.trust-strip strong {
    display: block;
    margin-top: .4rem;
    color: var(--ink);
    font-size: 1.05rem;
    line-height: 1.45;
}

.section-pad {
    padding: 6rem 0;
}

.section-kicker {
    display: inline-flex;
    color: var(--primary);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.section-title {
    margin-top: .75rem;
    color: var(--ink);
    font-size: clamp(2.1rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: .98;
    letter-spacing: 0;
}

.about-photo {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    border-radius: 2rem;
    box-shadow: 0 28px 90px rgba(20, 23, 34, .16);
}

.about-photo img {
    height: 100%;
    min-height: 500px;
    width: 100%;
    object-fit: cover;
}

.about-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(20, 23, 34, .74), transparent 58%);
}

.about-badge {
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 1.3rem;
    background: rgba(255, 255, 255, .14);
    padding: 1.2rem;
    color: white;
    backdrop-filter: blur(18px);
}

.about-badge strong {
    display: block;
    font-size: 1.2rem;
    font-weight: 900;
}

.about-badge span {
    display: block;
    margin-top: .35rem;
    color: rgba(255, 255, 255, .78);
    line-height: 1.5;
}

.feature-card {
    min-height: 250px;
    border: 1px solid rgba(20, 23, 34, .08);
    border-radius: 1.35rem;
    background: linear-gradient(145deg, #fff, #f7f9fd);
    padding: 1.45rem;
    box-shadow: 0 18px 60px rgba(20, 23, 34, .08);
    transition: transform .3s ease, box-shadow .3s ease;
}

.feature-card span {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 1rem;
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    font-weight: 900;
}

.feature-card h3 {
    margin-top: 1.35rem;
    color: var(--ink);
    font-size: 1.18rem;
    font-weight: 900;
}

.feature-card p {
    margin-top: .65rem;
    color: #596375;
    line-height: 1.65;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 80px rgba(20, 23, 34, .12);
}

.services-band {
    background:
        linear-gradient(135deg, rgba(224, 24, 36, .06), transparent 35%),
        linear-gradient(315deg, rgba(19, 168, 198, .08), transparent 38%),
        white;
}

.service-card {
    position: relative;
    overflow: hidden;
    min-height: 310px;
    border: 1px solid rgba(224, 24, 36, .12);
    border-radius: 1.5rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, .88), rgba(255, 255, 255, .52));
    padding: 2.2rem;
    text-align: center;
    box-shadow: 0 24px 70px rgba(20, 23, 34, .08);
    backdrop-filter: blur(18px);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(224, 24, 36, .12), transparent 48%, rgba(19, 168, 198, .14));
    opacity: 0;
    transition: opacity .3s ease;
}

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

.service-card h3 {
    color: var(--ink);
    font-size: 1.35rem;
    font-weight: 900;
}

.service-card p {
    margin-top: .85rem;
    color: #586174;
    line-height: 1.7;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(224, 24, 36, .26);
    box-shadow: 0 32px 90px rgba(224, 24, 36, .16);
}

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

.product-lines {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
    border: 1px solid rgba(20, 23, 34, .08);
    border-radius: 1.7rem;
    background: rgba(255, 255, 255, .7);
    padding: clamp(1.35rem, 4vw, 2rem);
    box-shadow: 0 24px 80px rgba(20, 23, 34, .08);
    backdrop-filter: blur(18px);
}

.product-lines h3 {
    margin-top: .45rem;
    color: var(--ink);
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 900;
    line-height: 1.05;
}

.line-grid {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.line-grid span {
    display: flex;
    min-height: 52px;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(224, 24, 36, .14);
    background: white;
    padding: .75rem 1rem;
    color: var(--ink);
    font-weight: 800;
    box-shadow: 0 10px 26px rgba(20, 23, 34, .06);
}

.cta-band {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(224, 24, 36, .92), rgba(170, 15, 25, .88)),
        url("img/balcao-equipe.jpeg") center/cover;
}

.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20, 23, 34, .65), transparent 72%);
}

.cta-band > div {
    position: relative;
}

#contato {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(224, 24, 36, .18), transparent 34%),
        linear-gradient(315deg, rgba(19, 168, 198, .16), transparent 36%),
        #10131d;
    color: white;
}

#contato::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("img/fachada-principal.jpeg") center/cover;
    opacity: .12;
    filter: saturate(.85);
}

#contato > div {
    position: relative;
}

#contato .section-kicker {
    color: rgba(255, 255, 255, .72);
}

#contato h2 {
    color: white;
    text-shadow: 0 12px 38px rgba(0, 0, 0, .28);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 1.25rem;
    background: #d9dde8;
    box-shadow: 0 22px 70px rgba(20, 23, 34, .12);
}

.gallery-item button {
    position: relative;
    display: block;
    height: 100%;
    width: 100%;
    text-align: left;
}

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

.gallery-item figcaption {
    position: absolute;
    left: .85rem;
    right: .85rem;
    bottom: .85rem;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    background: rgba(20, 23, 34, .56);
    padding: .6rem .85rem;
    color: white;
    font-size: .88rem;
    font-weight: 800;
    backdrop-filter: blur(14px);
    transform: translateY(10px);
    opacity: 0;
    transition: transform .3s ease, opacity .3s ease;
}

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

.gallery-item:hover figcaption,
.gallery-item:focus-within figcaption {
    opacity: 1;
    transform: translateY(0);
}

.contact-panel,
.map-shell {
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 2rem;
    background: linear-gradient(145deg, rgba(16, 19, 29, .92), rgba(16, 19, 29, .74));
    box-shadow: 0 28px 90px rgba(0, 0, 0, .28);
    backdrop-filter: blur(20px);
}

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

.contact-panel dt {
    color: rgba(255, 255, 255, .74);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.contact-panel dd {
    margin-top: .2rem;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.contact-panel a {
    transition: color .2s ease;
}

.contact-panel a:hover {
    color: var(--accent);
}

.map-shell {
    min-height: 500px;
    overflow: hidden;
}

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

.modal-close {
    display: grid;
    width: 42px;
    min-width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 999px;
    color: white;
    background: var(--primary);
    font-size: 1.7rem;
    line-height: 1;
    transition: transform .2s ease, background .2s ease;
}

.modal-close:hover {
    transform: rotate(8deg) scale(1.04);
    background: var(--primary-dark);
}

.floating-whatsapp {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 60;
    display: grid;
    height: 58px;
    width: 58px;
    place-items: center;
    border-radius: 999px;
    color: white;
    background: linear-gradient(135deg, #1bb75f, #0d8f46);
    box-shadow: 0 18px 50px rgba(13, 143, 70, .42);
    transition: transform .25s ease;
}

.floating-whatsapp:hover {
    transform: translateY(-3px) scale(1.04);
}

.gallery-modal-panel {
    position: relative;
    width: min(100%, 980px);
}

.gallery-modal-panel .modal-close {
    position: absolute;
    right: .8rem;
    top: .8rem;
    z-index: 2;
}

.gallery-modal-panel img {
    display: block;
    max-height: 78vh;
    width: 100%;
    border-radius: 1.5rem;
    object-fit: contain;
    background: #111827;
    box-shadow: 0 34px 120px rgba(0, 0, 0, .55);
}

.gallery-modal-panel p {
    margin-top: .85rem;
    color: white;
    font-weight: 800;
    text-align: center;
}

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

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

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

.header-solid .glass-brand,
.header-solid nav {
    background: rgba(20, 23, 34, .76);
}

@media (max-width: 640px) {
    .section-pad {
        padding: 4.5rem 0;
    }

    .gallery-item {
        border-radius: 1rem;
    }

    .gallery-item figcaption {
        opacity: 1;
        transform: translateY(0);
    }

    .floating-whatsapp {
        right: 1rem;
        bottom: 1rem;
        height: 54px;
        width: 54px;
    }
}

@media (min-width: 768px) {
    .trust-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .product-lines {
        grid-template-columns: .82fr 1.18fr;
        align-items: center;
    }

    .line-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }

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