/* =========================================================
   CABEÇALHO
   ========================================================= */

.site-header {
    position: relative;
    z-index: 20;

    height: var(--header-height);

    background: var(--color-white);

    border-bottom:
        1px solid rgba(7, 27, 58, 0.08);
}


.site-header__inner {
    width: 100%;
    max-width: none;

    display: flex;

    align-items: center;
    justify-content: space-between;

    height: 100%;

    padding: 0 36px;
}


/* =========================================================
   LOGO
   ========================================================= */

.site-logo {
    display: flex;

    align-items: center;

    height: 100%;
}


.site-logo img {
    width: 180px;
    height: 180px;

    object-fit: contain;

    transition:
        transform var(--transition-normal);
}


.site-logo:hover img {
    transform: scale(1.03);
}


/* =========================================================
   NAVEGAÇÃO
   ========================================================= */

.site-nav {
    display: flex;

    align-items: center;

    gap: 42px;
}


.site-nav__link {
    position: relative;

    color: var(--color-navy);

    font-size: 20px;

    font-weight: 700;

    letter-spacing: 0.05em;

    padding: 48px 0;

    transition:
        color var(--transition-normal);
}


.site-nav__link::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;

    bottom: 20px;

    height: 2px;

    background: var(--color-brand);

    transform: scaleX(0);

    transform-origin: center;

    transition:
        transform var(--transition-normal);
}


.site-nav__link:hover,
.site-nav__link.is-active {
    color: var(--color-brand);
}


.site-nav__link:hover::after,
.site-nav__link.is-active::after {
    transform: scaleX(1);
}


/* =========================================================
   MENU MOBILE
   ========================================================= */

.menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    gap: 5px;

    cursor: pointer;
}


.menu-toggle span {
    display: block;

    width: 23px;
    height: 2px;

    background: var(--color-navy);

    transition:
        transform var(--transition-normal),
        opacity var(--transition-normal);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;

    min-height:
        calc(100vh - var(--header-height));

    display: flex;

    align-items: center;

    overflow: hidden;

    color: var(--color-white);
}


.hero__background {
    position: absolute;

    inset: 0;

    background-image:
        linear-gradient(
            90deg,
            rgba(4, 17, 37, 0.78) 0%,
            rgba(4, 17, 37, 0.56) 33%,
            rgba(4, 17, 37, 0.16) 63%,
            rgba(4, 17, 37, 0.03) 100%
        ),
        url("../assets/hero/hero-desktop.jpg");

    background-size: cover;

    background-position: center;

    transform: scale(1.01);
}


.hero__content {
    position: relative;

    z-index: 1;
}


.hero__text {
    max-width: 620px;

    padding: 80px 0;
}


.hero__eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 14px;

    color: #74d7c1;

    font-size: 14px;

    font-weight: 700;

    letter-spacing: 0.12em;
}


.hero__eyebrow::after {
    content: "";

    width: 42px;
    height: 2px;

    background: var(--color-brand);
}


.hero__title {
    margin-top: 18px;

    font-size:
        clamp(44px, 5vw, 72px);

    line-height: 1.02;

    font-weight: 500;

    letter-spacing: -0.02em;
}


.hero__description {
    max-width: 500px;

    margin-top: 24px;

    color:
        rgba(255, 255, 255, 0.92);

    font-size: 18px;

    line-height: 1.6;
}


.hero__actions {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 32px;
}


/* =========================================================
   NOSSOS PRODUTOS
   ========================================================= */

.products-preview {
    position: relative;

    background:
        var(--color-off-white);

    padding: 90px 0 100px;
}


.section-heading {
    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    margin-bottom: 52px;
}


.section-heading__eyebrow {
    color: var(--color-brand);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.14em;
}


.section-heading__title {
    margin-top: 8px;

    color: var(--color-navy);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(30px, 3vw, 42px);

    font-weight: 500;

    line-height: 1.15;
}


.section-heading__line {
    display: block;

    width: 48px;

    height: 3px;

    margin-top: 16px;

    background:
        var(--color-brand);

    border-radius: 999px;
}


.product-category-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;

    align-items: stretch;
}


.category-card {
    display: flex;

    flex-direction: column;

    min-height: 450px;

    padding: 28px;

    background: var(--color-white);

    border:
        1px solid var(--color-border);

    border-radius: 6px;

    box-shadow:
        0 8px 30px rgba(7, 27, 58, 0.05);

    transition:
        transform var(--transition-normal),
        box-shadow var(--transition-normal),
        border-color var(--transition-normal);
}


.category-card:hover {
    transform: translateY(-5px);

    border-color:
        rgba(0, 155, 120, 0.35);

    box-shadow:
        0 18px 45px rgba(7, 27, 58, 0.10);
}


.category-card__header {
    display: flex;

    align-items: center;

    gap: 14px;
}


.category-card__icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    flex-shrink: 0;

    border:
        1px solid var(--color-navy);

    border-radius: 50%;

    background:
        var(--color-navy);

    color:
        var(--color-white);

    transition:
        background-color var(--transition-normal),
        border-color var(--transition-normal),
        color var(--transition-normal),
        transform var(--transition-normal);
}


.category-card__icon svg {
    width: 24px;
    height: 24px;

    fill: none;

    stroke: currentColor;

    stroke-width: 2;

    stroke-linecap: round;
    stroke-linejoin: round;
}


.category-card:hover
.category-card__icon {
    background:
        var(--color-brand);

    border-color:
        var(--color-brand);

    color:
        var(--color-white);

    transform:
        translateY(-2px);
}


.category-card__header h3 {
    color:
        var(--color-navy);

    font-size: 16px;

    font-weight: 700;

    letter-spacing: 0.03em;
}


.category-card__description {
    max-width: 330px;

    margin-top: 18px;

    color:
        var(--color-text-soft);

    font-size: 14px;

    line-height: 1.65;
}


.category-card__products {
    display: flex;

    align-items: flex-end;

    justify-content: center;

    gap: 22px;

    flex: 1;

    min-height: 235px;

    margin-top: 22px;
}


.category-card__products img {
    display: block;

    height: 225px;

    width: auto;

    max-width: 150px;

    object-fit: contain;

    flex-shrink: 0;

    transition:
        transform var(--transition-normal);
}


.category-card:hover
.category-card__products img {
    transform: translateY(-4px);
}


.category-card__products--three {
    gap: 0px;
}


.category-card__products--three img {
    height: 225px;

    width: auto;

    max-width: 145px;
}


.category-card__link {
    display: inline-flex;

    align-items: center;

    align-self: flex-start;

    gap: 9px;

    margin-top: 22px;

    color:
        var(--color-brand);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.05em;

    transition:
        color var(--transition-fast),
        gap var(--transition-fast);
}


.category-card__link span {
    font-size: 17px;

    line-height: 1;

    transition:
        transform var(--transition-fast);
}


.category-card__link:hover {
    color:
        var(--color-brand-dark);

    gap: 12px;
}


.category-card__link:hover span {
    transform:
        translateX(3px);
}


/* =========================================================
   FAIXA DE DIFERENCIAIS
   ========================================================= */

.highlights {
    background:
        var(--color-navy);

    color:
        var(--color-white);

    border-top:
        1px solid rgba(255, 255, 255, 0.06);

    border-bottom:
        1px solid rgba(255, 255, 255, 0.06);
}


.highlights__inner {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    min-height: 90px;
}


.highlight {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 16px;

    padding:
        28px 24px;

    position: relative;
}


.highlight:not(:last-child)::after {
    content: "";

    position: absolute;

    top: 28px;
    right: 0;

    width: 1px;
    height: calc(100% - 56px);

    background:
        rgba(255, 255, 255, 0.14);
}


.highlight__icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 50px;
    height: 50px;

    flex-shrink: 0;

    color:
        var(--color-brand);

    border:
        1px solid rgba(0, 155, 120, 0.55);

    border-radius: 50%;
}


.highlight__icon svg {
    width: 28px;
    height: 28px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.8;

    stroke-linecap: round;
    stroke-linejoin: round;
}


.highlight__content {
    display: flex;

    flex-direction: column;

    justify-content: center;

    gap: 2px;
}


.highlight__content strong {
    color:
        var(--color-white);

    font-size: 16px;

    font-weight: 700;

    line-height: 1.15;

    letter-spacing: 0.03em;
}


.highlight__content span {
    color:
        rgba(255, 255, 255, 0.70);

    font-size: 10px;

    font-weight: 600;

    line-height: 1.35;

    letter-spacing: 0.06em;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    background:
        #06152f;

    color:
        rgba(255, 255, 255, 0.78);
}


.site-footer__grid {
    display: grid;

    grid-template-columns:
        2fr 1fr 1fr 1.2fr;

    gap: 50px;

    padding:
        10px 0 5px;
}


.site-footer__brand {
    max-width: 320px;
}


.site-footer__logo {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 150px;
    height: 150px;

    padding: 5px;

    margin-left: 60px;
    margin-top: 10px;

    flex-shrink: 0;
}


.site-footer__logo img {
    display: block;

    width: 140px;
    height: 140px;

    max-width: none;

    object-fit: contain;

    flex-shrink: 0;
}


.site-footer__brand p {
    max-width: 260px;

    margin-top: 0;

    color:
        rgba(255, 255, 255, 0.68);

    font-size: 15px;

    line-height: 1.65;
}


.site-footer__column {
    display: flex;

    flex-direction: column;

    align-items: flex-start;
}


.site-footer__column h3 {
    margin-bottom: 18px;

    color:
        var(--color-white);

    font-size: 15px;

    font-weight: 700;

    letter-spacing: 0.08em;
}


.site-footer__column a {
    margin-bottom: 10px;

    color:
        rgba(255, 255, 255, 0.68);

    font-size: 15px;

    transition:
        color var(--transition-fast),
        transform var(--transition-fast);
}


.site-footer__column a:hover {
    color:
        var(--color-brand);

    transform:
        translateX(3px);
}


.site-footer__bottom {
    border-top:
        1px solid rgba(255, 255, 255, 0.10);

    padding:
        20px 0;
}


.site-footer__bottom p {
    color:
        rgba(255, 255, 255, 0.55);

    font-size: 12px;

    text-align: center;
}


/* =========================================================
   RESPONSIVIDADE — TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .site-nav {
        gap: 28px;
    }

    .site-nav__link {
        font-size: 17px;
    }

    .category-card {
        padding: 24px;
    }

    .category-card__products img {
        height: 205px;
        max-width: 135px;
    }

    .category-card__products--three img {
        height: 205px;
        max-width: 105px;
    }

    .highlight {
        gap: 10px;
        padding:
            24px 16px;
    }

    .highlight__icon {
        width: 44px;
        height: 44px;
    }

    .highlight__content strong {
        font-size: 14px;
    }

    .highlight__content span {
        font-size: 9px;
    }

    .site-footer__grid {
        gap: 30px;
    }
}


/* =========================================================
   RESPONSIVIDADE — TABLET MENOR
   ========================================================= */

@media (max-width: 850px) {

    .site-header__inner {
        padding: 0 24px;
    }

    .site-logo img {
        width: 130px;
        height: 130px;
    }

    .site-nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero__text {
        max-width: 570px;
        padding: 70px 0;
    }

    .hero__title {
        font-size:
            clamp(40px, 7vw, 58px);
    }

    .product-category-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        min-height: 400px;
    }

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

    .highlight:nth-child(2)::after {
        display: none;
    }

    .highlight:nth-child(-n + 2) {
        border-bottom:
            1px solid rgba(255, 255, 255, 0.12);
    }

    .site-footer__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .site-footer__brand {
        grid-column:
            1 / -1;

        max-width:
            450px;
    }

    .site-footer__logo {
        width: 140px;
        height: 140px;

        margin-left: 0;
        margin-top: 5px;
    }

    .site-footer__logo img {
        width: 130px;
        height: 130px;
    }
}


/* =========================================================
   RESPONSIVIDADE — CELULAR
   ========================================================= */

@media (max-width: 600px) {

    .site-header {
        height: 86px;
    }

    .site-header__inner {
        padding: 0 18px;
    }

    .site-logo img {
        width: 105px;
        height: 105px;
    }

    .hero {
        min-height:
            calc(100svh - 86px);
    }

    .hero__background {
        background-position:
            60% center;

        background-image:
            linear-gradient(
                90deg,
                rgba(4, 17, 37, 0.82) 0%,
                rgba(4, 17, 37, 0.62) 55%,
                rgba(4, 17, 37, 0.28) 100%
            ),
            url("../assets/hero/hero-desktop.jpg");
    }

    .hero__text {
        max-width: 100%;
        padding: 55px 0;
    }

    .hero__eyebrow {
        font-size: 11px;
        letter-spacing: 0.11em;
    }

    .hero__title {
        margin-top: 16px;

        font-size:
            clamp(36px, 11vw, 50px);

        line-height: 1.04;
    }

    .hero__description {
        max-width: 400px;

        font-size: 16px;

        line-height: 1.55;
    }

    .hero__actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero__actions .btn {
        width: auto;
    }

    .products-preview {
        padding:
            70px 0 80px;
    }

    .section-heading {
        margin-bottom: 36px;
    }

    .section-heading__title {
        font-size: 31px;
    }

    .category-card {
        min-height: 390px;
        padding: 22px;
    }

    .category-card__products {
        min-height: 205px;
        gap: 12px;
    }

    .category-card__products img {
        height: 195px;
        max-width: 130px;
    }

    .category-card__products--three {
        gap: 8px;
    }

    .category-card__products--three img {
        height: 195px;
        max-width: 105px;
    }

    .highlights__inner {
        grid-template-columns: 1fr;
    }

    .highlight {
        justify-content: flex-start;

        min-height: 100px;

        padding:
            22px 20px;
    }

    .highlight:not(:last-child)::after {
        display: none;
    }

    .highlight:not(:last-child) {
        border-bottom:
            1px solid rgba(255, 255, 255, 0.10);
    }

    .highlight__icon {
        width: 46px;
        height: 46px;
    }

    .highlight__content strong {
        font-size: 15px;
    }

    .highlight__content span {
        font-size: 10px;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;

        gap: 34px;

        padding:
            48px 0 42px;
    }

    .site-footer__brand {
        grid-column: auto;
        max-width: 100%;
    }

    .site-footer__logo {
        width: 125px;
        height: 125px;

        margin-left: 0;
        margin-top: 0;
    }

    .site-footer__logo img {
        width: 115px;
        height: 115px;
    }

    .site-footer__column {
        width: 100%;
    }
}
