:root {
    --brand-primary: #173f73;
    --brand-primary-dark: #0d2b51;
    --brand-secondary: #d7a62c;
    --brand-accent: #1b7f5a;
    --surface-soft: #f4f6f8;
    --surface-white: #ffffff;
    --text-primary: #202630;
    --text-secondary: #68717d;
    --border-color: #e1e5e9;
    --header-shadow: 0 8px 24px rgba(22, 34, 51, 0.08);
    --card-shadow: 0 10px 30px rgba(22, 34, 51, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text-primary);
    background-color: var(--surface-white);
}

a {
    color: inherit;
}

/* =========================
   Cabeçalho
========================= */

.site-header {
    position: relative;
    z-index: 1030;
    background-color: var(--surface-white);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.site-header-scrolled {
    box-shadow: var(--header-shadow);
}

.topbar {
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.88);
    background-color: var(--brand-primary-dark);
    font-size: 0.82rem;
}

    .topbar a {
        color: rgba(255, 255, 255, 0.88);
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .topbar a:hover {
            color: #ffffff;
        }

.main-navbar {
    min-height: 90px;
    padding: 10px 0;
    background-color: var(--surface-white);
}

.site-logo {
    display: block;
    width: auto;
    max-width: 190px;
    max-height: 76px;
    object-fit: contain;
}

.header-search {
    flex: 1;
    max-width: 620px;
}

    .header-search .form-control,
    .mobile-search .form-control {
        min-height: 48px;
        padding-left: 20px;
        border: 1px solid var(--border-color);
        border-right: 0;
        border-radius: 999px 0 0 999px;
        background-color: var(--surface-soft);
        box-shadow: none;
    }

        .header-search .form-control:focus,
        .mobile-search .form-control:focus {
            background-color: #ffffff;
            border-color: var(--brand-primary);
            box-shadow: none;
        }

.search-button {
    min-width: 56px;
    color: #ffffff;
    background-color: var(--brand-primary);
    border: 1px solid var(--brand-primary);
    border-radius: 0 999px 999px 0;
}

    .search-button:hover {
        color: #ffffff;
        background-color: var(--brand-primary-dark);
    }

.category-navbar {
    min-height: 48px;
    padding: 0;
    color: #ffffff;
    background-color: var(--brand-primary);
}

.category-menu-scroll {
    display: flex;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

    .category-menu-scroll::-webkit-scrollbar {
        display: none;
    }

.category-nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 18px;
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.2s ease, background-color 0.2s ease;
}

    .category-nav-link:hover {
        color: #ffffff;
        background-color: rgba(255, 255, 255, 0.12);
    }

/* =========================
   Benefícios
========================= */

.store-benefits {
    border-bottom: 1px solid var(--border-color);
    background-color: #ffffff;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 82px;
    padding: 16px;
    border-right: 1px solid var(--border-color);
}

    .benefit-item:last-child {
        border-right: 0;
    }

    .benefit-item > i {
        flex: 0 0 auto;
        color: var(--brand-primary);
        font-size: 1.75rem;
    }

    .benefit-item div {
        display: flex;
        flex-direction: column;
    }

    .benefit-item strong {
        color: var(--text-primary);
        font-size: 0.9rem;
        line-height: 1.25;
    }

    .benefit-item small {
        margin-top: 2px;
        color: var(--text-secondary);
        font-size: 0.76rem;
        line-height: 1.25;
    }

/* =========================
   Conteúdo
========================= */

main {
    width: 100%;
}

/* =========================
   Rodapé
========================= */

.site-footer {
    margin-top: 60px;
    padding: 64px 0 22px;
    color: rgba(255, 255, 255, 0.78);
    background-color: var(--brand-primary-dark);
}

.footer-logo {
    width: auto;
    max-width: 180px;
    max-height: 74px;
    padding: 8px;
    object-fit: contain;
    background-color: #ffffff;
    border-radius: 8px;
}

.footer-description {
    max-width: 340px;
    margin: 20px 0;
    line-height: 1.7;
}

.site-footer h5 {
    margin-bottom: 18px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
}

.footer-links,
.footer-contact {
    padding: 0;
    margin: 0;
    list-style: none;
}

    .footer-links li {
        margin-bottom: 11px;
    }

    .footer-links a,
    .footer-contact a {
        color: rgba(255, 255, 255, 0.75);
        text-decoration: none;
        transition: color 0.2s ease, padding-left 0.2s ease;
    }

        .footer-links a:hover {
            padding-left: 4px;
            color: #ffffff;
        }

    .footer-contact li {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 13px;
    }

    .footer-contact i {
        margin-top: 2px;
        color: var(--brand-secondary);
    }

    .footer-contact a:hover {
        color: #ffffff;
    }

.footer-social {
    display: flex;
    gap: 10px;
}

    .footer-social a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        color: #ffffff;
        text-decoration: none;
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 50%;
        transition: transform 0.2s ease, background-color 0.2s ease;
    }

        .footer-social a:hover {
            color: #ffffff;
            background-color: var(--brand-primary);
            transform: translateY(-2px);
        }

.footer-divider {
    margin: 45px 0;
    border-color: rgba(255, 255, 255, 0.15);
}

.newsletter-box {
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
}

.newsletter-eyebrow {
    display: block;
    margin-bottom: 6px;
    color: var(--brand-secondary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.newsletter-box h4 {
    margin-bottom: 8px;
    color: #ffffff;
}

.newsletter-box p {
    margin-bottom: 0;
}

.newsletter-form .form-control {
    min-height: 52px;
    padding-left: 18px;
    border: 0;
    border-radius: 8px 0 0 8px;
}

.newsletter-button {
    min-width: 130px;
    color: #ffffff;
    background-color: var(--brand-secondary);
    border: 0;
    border-radius: 0 8px 8px 0;
    font-weight: 600;
}

    .newsletter-button:hover {
        color: #ffffff;
        filter: brightness(0.92);
    }

.newsletter-form small {
    display: block;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.58);
}

    .newsletter-form small a {
        color: #ffffff;
    }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 28px;
    font-size: 0.82rem;
}

    .footer-bottom p {
        margin: 0;
    }

/* =========================
   Botões flutuantes
========================= */

.whatsapp-floating {
    position: fixed;
    right: 22px;
    bottom: 24px;
    z-index: 1050;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 52px;
    padding: 0 18px;
    color: #ffffff;
    text-decoration: none;
    background-color: #25d366;
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .whatsapp-floating:hover {
        color: #ffffff;
        transform: translateY(-3px);
        box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26);
    }

    .whatsapp-floating i {
        font-size: 1.35rem;
    }

.scroll-top {
    position: fixed;
    right: 24px;
    bottom: 88px;
    z-index: 1040;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: #ffffff;
    background-color: var(--brand-primary);
    border: 0;
    border-radius: 50%;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

    .scroll-top.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .scroll-top i {
        font-size: 1.6rem;
    }

/* =========================
   Responsividade
========================= */

@media (max-width: 991.98px) {
    .main-navbar {
        min-height: 76px;
    }

    .site-logo {
        max-width: 150px;
        max-height: 62px;
    }

    .navbar-collapse {
        padding-bottom: 18px;
    }

    .benefit-item {
        border-bottom: 1px solid var(--border-color);
    }

        .benefit-item:nth-child(2) {
            border-right: 0;
        }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .benefit-item {
        min-height: 94px;
        padding: 12px 8px;
        gap: 8px;
    }

        .benefit-item > i {
            font-size: 1.4rem;
        }

        .benefit-item strong {
            font-size: 0.78rem;
        }

        .benefit-item small {
            display: none;
        }

    .newsletter-box {
        padding: 22px 18px;
    }

    .newsletter-form .input-group {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .newsletter-form .form-control,
    .newsletter-button {
        width: 100%;
        border-radius: 8px !important;
    }

    .whatsapp-floating {
        right: 16px;
        bottom: 16px;
        width: 54px;
        height: 54px;
        min-height: 54px;
        padding: 0;
        justify-content: center;
    }

    .scroll-top {
        right: 21px;
        bottom: 82px;
    }
}
.home-banner {
    position: relative;
    min-height: 460px;
    overflow: hidden;
    color: #ffffff;
    background-position: center;
    background-size: cover;
}

    .home-banner::before {
        position: absolute;
        inset: 0;
        content: "";
        background: linear-gradient( 90deg, rgba(8, 31, 60, 0.96) 0%, rgba(8, 31, 60, 0.82) 45%, rgba(8, 31, 60, 0.18) 100% );
    }

.home-banner-primary {
    background-image: url("/images/banners/banner-componentes.jpg");
}

.home-banner-secondary {
    background-image: url("/images/banners/banner-manutencao.jpg");
}

.home-banner-support {
    background-image: url("/images/banners/banner-atendimento.jpg");
}

.min-vh-banner {
    position: relative;
    z-index: 2;
    min-height: 460px;
}

.banner-eyebrow {
    display: block;
    margin-bottom: 14px;
    color: #f1c65a;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-banner h1,
.home-banner h2 {
    max-width: 720px;
    margin-bottom: 20px;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3.7rem);
    font-weight: 700;
    line-height: 1.08;
    text-transform: none;
}

.home-banner p {
    max-width: 620px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.08rem;
    line-height: 1.7;
}

.btn-banner-primary,
.btn-banner-outline {
    min-height: 48px;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
}

.btn-banner-primary {
    color: #ffffff;
    background-color: var(--brand-secondary);
    border: 1px solid var(--brand-secondary);
}

    .btn-banner-primary:hover {
        color: #ffffff;
        filter: brightness(0.93);
    }

.btn-banner-outline {
    color: #ffffff;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.65);
}

    .btn-banner-outline:hover {
        color: var(--brand-primary-dark);
        background-color: #ffffff;
    }

@media (max-width: 767.98px) {
    .home-banner,
    .min-vh-banner {
        min-height: 420px;
    }

        .home-banner::before {
            background: rgba(8, 31, 60, 0.84);
        }

        .home-banner h1,
        .home-banner h2 {
            font-size: 2rem;
        }

        .home-banner p {
            font-size: 0.96rem;
        }
}