/* ADMIN EDITOR (DON'T DELETE THIS LINE) */
@import "admin-editor.css";
/* END ADMIN EDITOR */

@import "variables.css";
@import "reset.css";
@import "spacers.css";

/* FRONTEND STYLE */
body {
    font-family: "Poppins", sans-serif;
    font-size: 1rem;
    font-weight: 300;
    background-color: var(--clr-surface-default);
    color: #000000;
    overflow-x: hidden;
}

.text-justify{
    text-align:justify;
}

.noScroll {
    overflow: hidden;
}

.critec {
    font-weight: 800;
    font-size: 28px;
    font-family: "Gilroy";
    text-transform: lowercase;
}

.line {
    width: 100%;
    height: 1px;
    background-color: #707070;
}

.last-p-no-margin p:not(:last-child) {
    margin-bottom: 1rem;
}

.bg-muted {
    background-color: var(--clr-surface-muted);
}

.bg-button-muted {
    background-color: var(--clr-button-bg);
}

.text-darkgray {
    color: var(--clr-text-muted);
}

.ff-saira {
    font-family: var(--ff-saira);
}

.fs-12 {
    font-size: clamp(0.75rem, 0.85vw, 0.8rem);
}

.fs-16 {
    font-size: 1rem;
}

.fs-18 {
    font-size: clamp(1.0625rem, 1.1vw, 1.125rem);
}

.fs-20 {
    font-size: clamp(1.125rem, 1.3vw, 1.25rem);
}

.fs-25 {
    font-size: clamp(1.175rem, 1.8vw, 1.5625rem);
}


.fs-40 {
    font-size: clamp(1.25rem, 2.25vw, 2.5rem);
}

.fs-60 {
    font-size: clamp(2rem, 4.5vw, 3.75rem);
}

.fs-80 {
    font-size: clamp(2.1rem, 4.5vw, 5rem);
}

.px-default {
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
}

.ms-default {
    margin-left: calc(var(--bs-gutter-x) * .5);
}

@media (max-width: 1280px) {
    .min-vh-100 {
        min-height: unset !important;
    }
}

/* =================================
   HEADER
   ================================= */
header {
    transition: background-color var(--transition);
}

header .header-logo-wrap {
    display: inline-block;
    width: 266px;
    max-width: 266px;
    height: 45px;
    overflow: hidden;
}

.header-logo,
.header-logo-alt {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;

    object-fit: contain;
    /* keeps aspect ratio */
    display: block;
    transition: opacity var(--transition);
}

.header-logo {
    opacity: 1;
}

.header-logo-alt {
    opacity: 0;
}

/* When products menu is open, crossfade */
#products-menu.open+header .header-logo {
    opacity: 0;
}

#products-menu.open+header .header-logo-alt {
    opacity: 1;
}

#products-menu+header .btn-products-menu>.btn-arrow>i,
#mobile-menu .btn-products-menu>.btn-arrow>i {
    transform: rotate(0deg);
    transition: all var(--transition);
}

#menuitem-contacts {
    padding-inline: 40px;
    border-inline: 1px solid rgba(255, 255, 255, 0.5);
    transition: border var(--transition);
}

#btn-hamburger {
    display: none;
    visibility: hidden;
}

#main-menu {
    display: block;
    visibility: visible;
}

#mobile-menu {
    display: none;
    visibility: hidden;
}

@media (max-width: 1024px) {
    #btn-hamburger {
        display: block;
        visibility: visible;
    }

    #main-menu {
        display: none;
        visibility: hidden;
    }

    #mobile-menu {
        display: block;
        visibility: visible;
    }
}

footer a {
    display: block;
    width: fit-content !important;
}

.btn-link {
    width: fit-content;
}

.btn-link .btn-arrow {
    transition: background-color var(--transition);
}

.btn-link:hover .btn-arrow {
    background-color: var(--clr-primary) !important;
}

.btn-arrow {
    position: relative;
    display: grid;
    place-content: center;
    border-radius: 3px;
}

.btn-products-menu .btn-arrow {
    background-color: var(--clr-primary);
}

.btn-products-menu.bg-primary-darker:not(.open) .btn-arrow::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgb(var(--clr-primary-rgb, 0, 123, 255), 0.5);
    mix-blend-mode: multiply;
    z-index: 0;
    border-radius: 3px;
}

.btn-arrow-sm {
    width: 23px;
    height: 23px;
}

.btn-arrow-md {
    width: 31px;
    height: 31px;
}

.btn-arrow-lg {
    width: 40px;
    height: 40px;
}

.btn-arrow>i {
    color: #ffffff;
    font-weight: 300;
}

.btn-arrow-sm>i {
    font-size: 12px;
    line-height: 15px;
}

.btn-arrow-md>i,
.btn-arrow-lg>i {
    font-size: 20px;
    line-height: 25px;
}

#products-menu {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    width: 100%;
    height: 100dvh;
    inset: 0;
    background-color: var(--clr-surface-muted);
    z-index: 9;
    transition: opacity var(--transition);
}

#products-menu.open {
    visibility: visible;
    opacity: 1;
}

#products-menu.open+header .text-white {
    color: #000000 !important;
}

#products-menu.open+header #menuitem-contacts {
    border-color: rgba(0, 0, 0, 0.5) !important;
}

#products-menu.open+header .btn-products-menu>.btn-arrow>i,
#mobile-products-menu.open~.btn-products-menu>.btn-arrow>i {
    transform: rotate(-180deg);
}

.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-horizontal.swiper-pagination-bullets {
    width: auto !important;
}

.swiper-pagination-bullet-active {
    --swiper-pagination-color: #ffffff;
    --swiper-pagination-bullet-opacity: 1;
}

.swiper-slide-footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 60px;
    z-index: 10;
}

.nav-tabs .nav-item .nav-link:hover {
    color: var(--clr-primary) !important;
}

.nav-tabs .nav-item .nav-link::after {
    content: '\f061';
    font-family: "Font Awesome 6 Pro";
    font-size: 20px;
    font-weight: 300;
    color: var(--clr-primary);
    opacity: 0;
    transition: opacity var(--transition);
}

.nav-tabs .nav-item .nav-link.active::after {
    opacity: 1;
}

.nav-tabs .nav-item .nav-link.active {
    color: var(--clr-primary) !important;
}

/* --- separators like in the mock --- */
.accordion.accordion-flush {
    --bs-accordion-bg: transparent;
    --bs-accordion-border-color: transparent;
}

.accordion-flush .accordion-button {
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 0, 0, 0.3) !important;
}

/* First item gets top border */
.accordion-flush .accordion-item:first-child .accordion-button {
    border-top: 1px solid rgba(0, 0, 0, 0.3);
}

/* Last item keeps bottom border */
.accordion-flush .accordion-item:last-child .accordion-button {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

/* make internal parts transparent so the item/card background shows through */
.accordion-flush .accordion-button,
.accordion-flush .accordion-collapse,
.accordion-flush .accordion-body {
    background: transparent;
}

/* typography/spacing similar to screenshot */
.accordion-flush .accordion-button,
.accordion-flush .accordion-button:focus {
    box-shadow: none;
}

/* --- OPEN CARD STYLE (apply during animation AND when open) --- */
.accordion-flush .accordion-item.is-open {
    background: #fff;
    /* open card has no separator borders */
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .04);
}

.accordion-flush .accordion-item.is-open .accordion-button {
    border: 0;
}

/* ====== REMOVE BORDERS NEXT TO OPEN ITEM ====== */
/* Item BEFORE open: remove its bottom border */
.accordion-flush .accordion-item:has(+ .accordion-item.is-open) {
    border-bottom: 0;
}

/* Item AFTER open: remove its top border (in case it's the first visible line) */
.accordion-flush .accordion-item.is-open+.accordion-item .accordion-button {
    border-top: 0;
}

/* If the item after open is also the first-child in a new accordion group, keep it clean */
.accordion-flush .accordion-item:has(+ .accordion-item.is-open) .accordion-button {
    border-bottom: 0;
}

/* --- PLUS/MINUS SQUARE ICON --- */
/* remove default chevron and replace with + */
.accordion-button::after {
    background-image: none !important;
    content: "\2b";
    font-family: "Font Awesome 6 Pro";
    width: 44px;
    height: 44px;
    margin-left: auto;
    border-radius: 4px;
    display: grid;
    place-items: center;
    font-size: 20px;
    line-height: 1;
    color: #000000;
    background: #fff;
    transform: none !important;
    transition: all var(--transition);
}

/* open state -> minus in red square */
.accordion-button:not(.collapsed)::after {
    content: "\f068";
    color: #fff;
    background: var(--clr-primary);
    box-shadow: none;
}

.contacts-list>div {
    border-top: 1px solid rgba(0, 0, 0, 0.3);
}

.contacts-list>div:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

.formBuild-input {
    position: relative;
    margin-bottom: 32px;
}

.formBuild-input input:not([type="checkbox"]),
.formBuild-input textarea,
.formBuild-input select {
    width: 100%;
}

.formBuild-input input::placeholder,
.formBuild-input textarea::placeholder,
.formBuild-input select::placeholder {
    color: #040006;
}

.formBuild-input input,
.formBuild-input select,
.formBuild-input textarea {
    padding: 16px 32px;
    background-color: #ffffff;
    border-radius: 3px;
    color: #000000;
    border: none;
}

.btn-custom {
    background: none;
    border: none;
    padding: 10px 40px;
    border-inline: 1px solid #000000;
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
}

.btn-custom:not(.no-icon)::after {
    content: '\f061';
    font-family: "Font Awesome 6 Pro";
    position: relative;
    display: block;
    transition: transform var(--transition);
}

.btn-custom:not(.no-icon):hover::after {
    transform: translateX(8px);
}

a.btn-custom {
    text-decoration: none;
    color: #000000;
}

.select-wrap {
    position: relative;
}

.select-wrap select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 2.5rem;
}

.select-wrap::after {
    content: "\f078";
    /* fa-chevron-down */
    font-family: "Font Awesome 6 Pro";
    font-weight: 300;
    /* light */
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    pointer-events: none;
}

.custom-checkbox .checkbox-text a {
    color: var(--clr-primary);
}

.custom-checkbox {
    display: flex;
    align-items: center;
}

/* Hide native checkbox */
.custom-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Label container */
.custom-checkbox label:not(.error) {
    position: relative;
    padding-left: 34px;
    cursor: pointer;
    user-select: none;
    font-size: 15px;
}

/* Checkbox box */
.custom-checkbox label:not(.error)::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 22px;
    height: 22px;
    border: 1px solid #707070;
    border-radius: 4px;
    /* square but slightly soft */
    background: transparent;
    transform: translateY(-50%);
    transition: all 0.2s ease;
}

/* Inner square (almost fills box) */
.custom-checkbox label:not(.error)::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 50%;
    width: 14px;
    height: 14px;
    border-radius: 3px;
    background: var(--clr-primary);
    transform: translateY(-50%) scale(0);
    transition: transform 0.15s ease;
}

/* Show inner square when checked */
.custom-checkbox input[type="checkbox"]:checked~label:not(.error)::after {
    transform: translateY(-50%) scale(1);
}

.formBuild-input label.error {
    position: absolute;
    left: 0;
    top: 100%;
    color: var(--clr-primary);
}

/* =================================
   HOME - NOSSAS MARCAS
   ================================= */
/* section#marcas {
    height: 100vh;
} */

/* section#marcas .h-100,
.brands-scroll {
    height: 100% !important;
} */

/* section#marcas .text-content {
    padding-block: 90px 60px;
    border-right: 1px solid #000000;
} */

section#marcas h2 {
    max-width: 80%;
}

.brands-scroll {
    overflow-y: auto;
    overscroll-behavior: contain;
    /* evita “vazar” scroll para o body em muitos casos */
    -webkit-overflow-scrolling: touch;
    scroll-behavior: auto;
}

/* width */
/* .brands-scroll::-webkit-scrollbar {
    width: 20px;
} */

/* Track */
/* .brands-scroll::-webkit-scrollbar-track {
    background: transparent;
} */

/* Handle */
/* .brands-scroll::-webkit-scrollbar-thumb {
    background: #888;
} */

/* Handle on hover */
/* .brands-scroll::-webkit-scrollbar-thumb:hover {
    background: #555;
} */

.brand-card {
    position: relative;
    display: block;
    width: 100%;
    height: 384px;
    background: transparent;
    overflow: hidden;
    border-bottom: 1px solid #000000;
}

/* Brand image */
.brand-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* padding moves here */
.brand-card__content {
    position: relative;
    z-index: 1;
    height: 100%;
    padding: 60px 50px;
    display: flex;
}

/* Brand name */
.brand-name {
    position: relative;
    /* stays in flow */
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    height: 100%;
    background: transparent;
    transition: color var(--transition), background var(--transition);
}

.brand-name a {
    color: #ffffff !important;
}

/* Hover state */
.brand-card:hover .btn-link .btn-arrow {
    background-color: var(--clr-primary) !important;
}

.brand-card:hover .brand-name {
    background: transparent;
}

@media (max-width: 1200px) {
    /* section#marcas {
        height: auto;
        border-bottom: none;
    } */

    /* section#marcas .h-100,
    .brands-scroll {
        height: auto !important;
    } */

    /* section#marcas .text-content {
        padding-block: 60px;
        border-right: none;
    } */

    .brands-scroll {
        overscroll-behavior: unset !important;
    }

    .brand-card {
        height: 250px;
    }

    .brand-card__content {
        padding: 40px 30px;
    }

    .brand-card img {
        opacity: 1;
    }

    .brand-card .btn-arrow {
        background-color: var(--clr-primary);
    }
}

/* =================================
   HOME - SOBRE NÓS
   ================================= */
.services-list {
    display: flex;
    flex-direction: column;
}

.service-list__item {
    display: flex;
    align-items: center;
    gap: 35px;
    padding: 16px 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.3);
}

.service-list__item:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}


/* =================================
   RESPONSIVE
   ================================= */
@media (max-width: 1200px) {
    .btn-custom {
        padding: 4px 20px;
    }
}

@media (max-width: 991px) {
    #brands-list {
        max-height: 700px;
        overflow-y: auto;
    }
}

@media (max-width: 576px) {
    .accordion-button::after {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

@media (min-width: 600px) and (orientation: landscape) {
    #mobile-products-menu .brands-list {
        flex-direction: row !important;
        flex-wrap: wrap;
    }
}