@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://pro.fontawesome.com/releases/v5.12.0/css/all.css');

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", sans-serif;
    line-height: 1.5;
    background-color: #fff;
    color: #111;
    height: 100%;
    margin: 0;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

:root {
    --color-primary: #2D3BBD;
    --color-secondary: #333333;
    --color-complementar: #666666;
    --color-analogic-one: #F8F8FF;
    --color-analogic-two: #CFCFCF;
    --color-acento: #B0B0B0;
    --color-background: #fff;
    --color-muted: #ddd;
    --color-white: #fff;
    --gray-100: #c0c0c0;

    --cartbar-h: 64px;
    --cartbar-bg: #111;
    --cartbar-fg: #fff;
    --cartbar-accent: #22c55e;

    --brand: rgb(45, 59, 189);
    --ink: rgb(51, 51, 51);
    --paper: #ECEEEE;

    --slider-width: 100%;
    --slider-height: 400px;
    --control-bg: rgba(0, 0, 0, 0.4);
    --control-color: #FFF;

    --font-base: 16px;
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 32px;
    --space-xl: 64px;

    --gap: 12px;
    --thumb-size: 80px;

    --font-body: "Montserrat", sans-serif;
    --font-title: "Inter", sans-serif;
    --font-title-2: "Bebas Neue", sans-serif;
}

/* layout.css - Container, Grid e Flex */

.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-md);
    padding-right: var(--space-md);
}

.container-fluid {
    width: 100%;
    padding-left: var(--space-md);
    padding-right: var(--space-md);
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -8px;
    margin-right: -8px;
}

.col {
    padding: 0 8px;
    flex: 1;
}

.col-20 {
    flex: 0 0 25%;
    max-width: 25%;
}

.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

.col-9 {
    flex: 0 0 75%;
    max-width: 75%;
}

.col-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.col-home,
.col-4 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
}

.col-3 {
    flex: 0 0 25%;
    max-width: 25%;
}

.col-2 {
    flex: 0 0 16.6666%;
    max-width: 16.6666%;
}

@media (max-width: 768px) {
    .col-md-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 12px 0;
}

.header-container {
    width: 90%;
    max-width: 1200px;
    background: #fff;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);

    display: flex;
    align-items: center;
    justify-content: space-between;
    /* <-- separa botão e logo */
    padding: 8px 20px;
}

/* Botão Voltar */
.back-button button {
    background: #f5cf8d;
    color: #444;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.back-button button:hover {
    background: #e6b85c;
}

/* Logo centralizada visualmente */
.logo {
    flex: 1;
    display: flex;
    justify-content: center;
}

.logo img {
    max-height: 88px;
    width: auto;
    object-fit: contain;
}

.title_home {
    text-align: center;
    font-size: 4rem;
    font-family: var(--font-title);
    -webkit-text-fill-color: transparent;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    padding: 40px 6.25rem;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.4) 0%, rgb(12, 2, 113) 100%) text;
}

.sub_home {
    font-family: var(--font-body);
    font-size: 26px;
    text-align: center;
    font-weight: 400;
    line-height: 1.4em;
    color: var(--color-primary);
}

.title_text {
    text-align: center;
    font-size: 3.4rem;
    font-family: var(--font-title-2);
    text-align: center;
    font-weight: 400;
    line-height: 1.4em;
    color: var(--color-primary);
}

.bagde {
    padding: 12px 8px;
    color: var(--color-white);
    background: rgba(0, 117, 242, 0.6);
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 300;
    font-family: var(--font-body);
    display: inline-block;
    margin-bottom: 1rem;
    transition: background 0.3s ease;
}

.bagde:hover {
    background: rgba(0, 117, 242, 0.8);
}

.icon-category {
    font-size: 1.6rem;
    font-weight: 300;
    background-color: #ECEEEE;
    height: 48px;
    width: 48px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

/* Imagens  */
img {
    height: auto;
    max-width: 100%;
}

.product-gallery {
    display: flex;
    gap: var(--gap);
    max-width: 900px;
    margin: 0 auto;
}

.thumbnails {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--gap);
}

.thumbnails .thumb {
    width: var(--thumb-size);
    height: var(--thumb-size);
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
    transition: border-color .3s;
}

.thumbnails .thumb.active {
    border-color: var(--color-primary);
}


h1.title-product {
    font-size: 2.2rem;
    font-family: var(--font-title);
}

h4.price-product {
    color: var(--color-primary);
    font-family: var(--font-title);
    font-size: 1.6rem;
}

h4.price-product span {
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 300;
    padding-right: 4px;
}

.title-brand {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111;
    font-family: var(--font-body);
}

.accordion {
    width: 100%;
    margin: 2.5rem auto;
}

.accordion-item {
    border-top: 1px solid #444;
}

/* cabeçalhos clicáveis */
.title-collapse {
    position: relative;
    margin: 0;
    padding: 1rem 0;
    background: var(--color-white);
    color: var(--color-primary);
    cursor: pointer;
    user-select: none;
}

/* ícone + ou – */
.title-collapse::after {
    content: '+';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    transition: transform 0.2s;
}

.title-collapse.open::after {
    content: '–';
}

/* conteúdo escondido */
.text-collapse {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f9f9f9;
    padding: 0 1rem;
}

.text-collapse.open {
    /* max-height grande o suficiente para conter o conteúdo */
    max-height: 500px;
    padding: 1rem;
}

.section__home {
    padding: 6rem 0;
    background-color: #ECEEEE;
    /* background: #2D3BBD; */
    /* background: linear-gradient(133deg, rgba(45, 59, 189, 1) 0%, rgba(51, 51, 51, 1) 87%); */
}

.section__pages {
    padding: 6rem 0;
    background: #444;
}

.section__pages h2 {
    font-weight: 300;
}

.section__pages h1 {
    font-size: 4.8rem !important;
    font-weight: 600 !important;
    font-family: var(--font-title) !important;
    color: var(--color-white) !important;
    padding-top: 6.25rem !important;
}

.section__pages h1 span {
    font-size: 4rem !important;
    font-weight: 300 !important;
    color: var(--color-analogic-one) !important;
}

.article_content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card__categoria {
    margin: 8px;
    padding: 8px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background-color: #faf4ec;
    text-align: center;
    cursor: pointer;
}

.card__categoria h3 {
    font-size: 1.2rem;
    font-weight: 600;
    font-family: var(--font-title);
    text-align: center;
    color: #323836;
}

.card__tech {
    padding: 6rem 0;
    background: #2D3BBD;
    background: linear-gradient(133deg, rgba(45, 59, 189, 1) 0%, rgba(51, 51, 51, 1) 87%);
    border-radius: 40px;
}

.card__solucoes {
    padding: 2rem 1rem;
    margin: .4rem 0;
    background: #2D3BBD;
    background: linear-gradient(133deg, rgba(45, 59, 189, 1) 0%, rgba(51, 51, 51, 1) 87%);
    border-radius: 20px;
}

.card__comercio {
    padding: 2rem 1rem;
    margin: .4rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    border-radius: 20px;
    height: 320px;
}

.card__comercio h3 {
    font-size: 1.4rem;
    font-weight: 600;
    font-family: var(--font-title-2);
    text-align: left;
    color: var(--color-primary);
}

.card__comercio ul {
    list-style: square;
    padding: 0;
    margin: 1rem 0 0 1.2rem;
}

.card__comercio ul li {
    font-size: .85rem;
    font-weight: 300;
    font-family: var(--font-body);
    text-align: left;
    color: var(--color-secondary);
    margin-bottom: 4px;
}

.img-dashboard-home {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto 0 auto;
    /* Centraliza com margem superior */
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    overflow: hidden;
    object-fit: contain;
    /* Mantém a imagem proporcional sem cortar */
}



.btn {
    background-color: var(--color-primary);
    color: var(--color-background);
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    font-size: 14px !important;
    padding: 10px 18px;
    border-radius: 5px;
    margin: 4px 0;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.btn:hover {
    background-color: #000;
}

.btn-contato {
    margin-top: 10px;
    font-weight: 300;
    font-family: var(--font-body);
    display: inline-block;
    text-align: center;
    position: relative;
    background: linear-gradient(133deg, rgba(45, 59, 189, 1) 0%, rgba(51, 51, 51, 1) 87%);
    color: var(--color-white);
    padding: 22px 48px;
    font-size: 18px;
    border: none;
    border-radius: 22px;
    transition: all 0.3s ease;
    text-decoration: none;
    overflow: hidden;
    z-index: 1;
    /* Garante que o conteúdo do botão fique acima dos efeitos */
}

.btn-contato::before,
.btn-contato::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 40%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    /* Deixa o efeito mais suave tipo glass */
    transform: translateX(-50%);
    transition: all 0.6s ease;
    z-index: 0;
}

.btn-contato::before {
    top: 0;
    clip-path: polygon(0 0, 100% 0, 91% 10%, 8% 10%, 0 0, 0 0);
}

.btn-contato::after {
    top: 0;
    clip-path: polygon(0 100%, 100% 100%, 91% 90%, 8% 90%, 0 100%, 0 100%);
}

/* Efeito ao Hover: Mais brilho e deslocamento das faixas decorativas */
.btn-contato:hover {
    background: linear-gradient(133deg, rgba(65, 85, 255, 1) 0%, rgba(71, 71, 71, 1) 87%);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(45, 59, 189, 0.5);
}

.btn-contato:hover::before {
    transform: translateX(-50%) translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.btn-contato:hover::after {
    transform: translateX(-50%) translateY(5px);
    background: rgba(255, 255, 255, 0.08);
}

.btn-group {
    display: inline-flex;
}

.btn-group .btn {
    border-right: 1px solid var(--color-background);
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background: var(--color-background);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.text-secondary {
    color: var(--color-secondary);
}

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

.text-white {
    color: var(--color-white);
}

.bg-primary {
    background-color: var(--color-primary);
}

.bg-primary i {
    font-size: 2rem;
    font-weight: 300;
    color: #fff;
}

.bg-primary h3 {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 400;
    padding: 4rem;
}

.bg-secondary {
    background-color: var(--color-secondary);
    padding: 4rem 0;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background: var(--color-background);
    padding: var(--space-md);
}

.modal.show {
    display: flex;
}

/* utilities.css - Textos, Alinhamentos, Espaçamentos */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: var(--space-sm);
    color: var(--color-secondary);
    font-weight: 400;
    font-family: var(--font-body);
}

h1 {
    font-size: 3rem;
    font-weight: 600 !important;
}

h1 span {
    font-size: 1.8rem;
    font-weight: 300;
}

h2 {
    font-size: 2.6rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    font-size: .9rem;
    margin-bottom: var(--space-sm);
    font-weight: 400;
}

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

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

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

.p-1 {
    padding: var(--space-sm);
}

.p-2 {
    padding: var(--space-md);
}

.p-3 {
    padding: var(--space-lg);
}

.m-1 {
    margin: var(--space-sm);
}

.m-2 {
    margin: var(--space-md);
}

.m-3 {
    margin: var(--space-lg);
}

.wave-divider {
    position: relative;
    background-color: #f4f4f4;
    height: 60px;
    overflow: hidden;
}

.wave-divider svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    display: block;
}

.icon-down {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    color: #0d47d9;
    font-size: 20px;
    font-weight: bold;
    background: #f4f4f4;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-content {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .15);
    padding: 12px;
    margin: 8px;
    transition: transform .3s, box-shadow .3s;
    cursor: pointer;
}

.card-content .image-wrapper {
    position: relative;
    display: block;
    text-align: center;
}

.img-content {
    width: 100%;
    width: auto;
    height: 200px;
}

.img-content img {
    width: 100%;
    max-height: 200px;
    object-fit: contain;
}

.text-content {
    height: 120px;
    padding: 4px 0;
}

.card-content h4 {
    color: var(--color-secondary);
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 1.2rem;
}

/* .price-product {
    color: var(--color-secondary);
    font-family: var(--font-body);
    font-size: 1.4rem;
    font-weight: 600;
}

.price-product span {
    font-size: .85rem !important;
    font-weight: 400 !important;
} */

.btn-buy {
    background: #0467BA;
    color: #fff;
    cursor: pointer;
    font-size: .9rem;
    padding: var(--space-sm) var(--space-md);
    border: 0;
    border-radius: 1rem;
    min-width: 100%;
    position: relative;
    transition: all .3s;
}

.btn-buy::after {
    content: "\f07a";
    font-family: "Font Awesome 5 Pro";
    color: #0467BA;
    font-weight: 700;
    position: absolute;
    left: 80%;
    top: 54%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.btn-buy:hover {
    background: var(--color-secondary);
    color: #0467BA;
}

.btn-buy:hover::after {
    opacity: 1;
}

.mobile-preview {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    scroll-snap-type: x mandatory;
    padding: 1rem;
    background: #fff;
}

.product-card {
    flex: 0 0 100%;
    border-radius: 20px;
    background: linear-gradient(180deg, #FFF 0%, #F5CF8D 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    scroll-snap-align: center;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
}

.image-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.info {
    padding: 1rem;
    text-align: center;
    color: #444;
}

.info h3 {
    font-size: 1rem;
    margin-bottom: .4rem;
    font-weight: 600;
    height: 48px;
}

.info .desc {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: .8rem;
}

.price {
    font-size: 1.2rem;
    color: #444;
    padding: .5rem 1rem;
    /* border-radius: 50px; */
    font-weight: bold;
}

.quantity-stepper {
    display: inline-flex;
    align-items: center;
    border: none;
    overflow: hidden;
    height: 40px;
    width: 95%;
    margin-top: .5rem;
}

.quantity-stepper .step-btn {
    background: var(--color-primary);
    color: #fff;
    border: 1px solid var(--color-primary);
    height: 40px;
    padding: .5rem 1.2rem;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background .2s;
    width: 25%;
}

.quantity-stepper .step-btn:hover {
    background: var(--color-secondary);
    color: var(--color-primary);
}

.quantity-stepper .step-input {
    width: 4rem;
    text-align: center !important;
    border: 1px solid var(--color-primary);
    font-size: 1.1rem;
    font-weight: 500;
    padding: .5rem 1.2rem;
    outline: none;
    height: 40px;
    width: 50%;
}

.plus {
    border-right: .2rem solid #323836;
    margin-right: 1px;
}

.view {
    border-radius: 0;
    font-size: 1.1rem;
    font-weight: 500;
    border: 1px solid var(--color-primary);
    padding: .5rem 2rem;
    background-color: var(--color-primary);
    color: var(--color-background);
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    cursor: pointer;
}


.mobile-preview {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

footer {
    padding: .6rem 0;
    background-color: #333;
}

footer h5 {

    color: var(--color-analogic-one) !important;
    font-size: 1rem;
}

footer a,
footer p {
    color: var(--color-analogic-one) !important;
    font-size: .85rem;
}

footer ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

footer ul li a {
    text-decoration: none;
    font-size: var(--space-md);
    color: var(--color-analogic-one);
    transition: all 0.25s ease 0s;
}

footer ul li a:hover {
    color: var(--color-analogic-two) !important;
}

footer .menu__footer {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1.5rem;
    background-color: transparent;
    padding: .4rem;
    justify-content: center;
}

.footer__social {
    display: flex;
    column-gap: 1.5rem;
    margin-bottom: 3rem;
}

.footer__social-link {
    font-size: var(--space-lg) !important;
    text-decoration: none;
    color: var(--color-analogic-one) !important;
    transition: all 0.25s ease 0s;
}

.footer__social-link:hover {
    color: var(--color-analogic-two) !important;
}

.footer__social-link i {
    display: block;
}

.text-fixed {
    position: sticky;
    top: 120px;
    align-self: flex-start;
}

.scroll-cards {
    max-height: auto;
    overflow-y: auto;
    padding-right: 10px;
}

/* Botão de Chat Fixo */
.chat-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.chat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6e45e2 0%, #88d3ce 100%);
    color: white;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(110, 69, 226, 0.3);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 24px;
}

.chat-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(110, 69, 226, 0.4);
}

.chat-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    padding: 8px 15px;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.chat-icon:hover+.chat-tooltip {
    opacity: 1;
    visibility: visible;
    right: 80px;
}

/* Efeito de pulsação */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(110, 69, 226, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(110, 69, 226, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(110, 69, 226, 0);
    }
}

.chat-icon {
    animation: pulse 2s infinite;
}

/* Responsivo */
@media (max-width: 768px) {
    .chat-button {
        bottom: 20px;
        right: 20px;
    }

    .chat-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .chat-tooltip {
        display: none;
    }
}

.fade-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.solutions {
    position: relative;
    height: 350px;

    border-bottom-left-radius: 28px;
    border-top-left-radius: 28px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .35);
    background: #333 url('https://yazcomercio.com.br/images/empresa/fundo-abstrato-com-design-baixo-poli.jpg') center/cover no-repeat;
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
}

.overlay {
    background-color: rgba(0, 0, 0, .5);
    width: 100%;
    height: 100%;
    border-bottom-left-radius: 28px;
    border-top-left-radius: 28px;
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
}

.overlay-2 {
    padding: 2rem 4rem;
}

.numbers {
    margin-left: 15%;
    padding-top: 5%;
    height: 100%;
}

.numbers span strong {
    font-size: 3.4rem;
    color: var(--color-white);
    font-weight: 600;
}

.numbers span {
    font-size: 1.5rem;
    color: var(--color-analogic-one);
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.card {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.card .icon {
    font-size: 2.5rem;
    color: rgb(45, 59, 189);
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: .5rem;
    font-weight: 600;
    color: #333;
}

.card p {
    font-size: .95rem;
    color: #555;
    line-height: 1.4;
}

/* Card base */
.seller-card {
    display: flex;
    gap: 16px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
    padding: 14px;
    margin: 6px;
    align-items: flex-start;
    transition: transform .22s ease, box-shadow .22s ease;
}

.seller-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
}

/* Imagem pequena à esquerda */
.seller-card .thumb {
    flex: 0 0 40%;
    height: 160px;
    overflow: hidden;
    border-radius: 12px;
}

.seller-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Conteúdo à direita */
.seller-card .content {
    flex: 1;
}

.seller-card .content h3 {
    font-size: 1.05rem;
    margin: 0 0 .35rem;
    font-weight: 700;
    color: rgb(45, 59, 189);
    display: flex;
    align-items: center;
    gap: .5rem;
}

.seller-card .content h3 i {
    color: rgb(45, 59, 189);
    font-size: 1.05rem;
}

.seller-card .content p {
    margin: 0;
    color: #444;
    line-height: 1.45;
    font-size: .96rem;
}

/* Acessibilidade (foco via teclado) */
.seller-card:focus-within {
    outline: 3px solid rgba(45, 59, 189, .2);
    outline-offset: 2px;
}

/* Responsivo – em telas muito estreitas, empilhar imagem acima */
@media (max-width: 420px) {
    .seller-card {
        flex-direction: column;
    }

    .seller-card .thumb {
        width: 100%;
        height: 160px;
    }
}

.cartbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px 16px;
    background: var(--cartbar-bg);
    color: var(--cartbar-fg);
    border-top: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 -6px 24px rgba(0, 0, 0, .2);
    z-index: 999;
}

body.cartbar-space {
    padding-bottom: var(--cartbar-h);
}

.cartbar__left {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    padding: 0;
}

#cartbar-count {
    font-size: .92rem;
    opacity: .85;
}

#cartbar-total {
    font-size: 1.12rem;
}

.cartbar__btn {
    appearance: none;
    border: 0;
    border-radius: 10px;
    padding: 12px 18px;
    background: var(--cartbar-accent);
    color: #052e11;
    font-weight: 600;
    cursor: pointer;
    font-size: 1.2rem;
}

.cartbar__btn[disabled] {
    opacity: .5;
    cursor: not-allowed;
}

.btn-ghost-light {
    appearance: none;
    border: 0;
    padding: 12px 18px;
    border-radius: 10px;
    cursor: pointer;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .25);
    color: #fff;
    margin-left: 4px;
    font-size: 1.2rem;
}


/* Bottom-sheet */
.sheet {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 1000;
}

.sheet.open {
    display: block;
}

.sheet__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .35);
}

.sheet__panel {
    position: absolute;
    left: 10%;
    right: 0;
    bottom: 0;
    width: 80%;
    max-height: 85vh;
    background: #fff;
    border-radius: 16px 16px 0 0;
    transform: translateY(100%);
    transition: transform .25s ease;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, .2);
}

.sheet.open .sheet__panel {
    transform: translateY(0);
}

.sheet__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid #eee;
}

.sheet__header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.sheet__close {
    appearance: none;
    border: 0;
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.sheet__body {
    padding: 16px;
    display: grid;
    gap: 12px;
}

.field label {
    display: block;
    font-size: .9rem;
    margin-bottom: 4px;
    color: #333;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font: inherit;
}

.sheet__footer {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    border-top: 1px solid #eee;
    padding-top: 12px;
}

.btn-ghost {
    appearance: none;
    border: 1px solid #ddd;
    background: #000;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
}

.btn-primary {
    appearance: none;
    border: 0;
    background: #111;
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
}

.btn-secondary{
    background-color: #c0c0c0;
    color: #000;
}

.btn-secondary:hover{
    background-color: #e8dfdf;
    color: #000;
}



/* HEADER FIXO */
.top-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #e8e8e8;
}

.top-header.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* LOGO */
.logo-container {
    text-align: center;
    padding: 8px 0;
}

.logo-container img {
    height: 60px;
    width: auto;
}

/* MENU DE CATEGORIAS */
.category-menu {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    gap: 24px;
    padding: 12px 18px;
    background: #fff;
    scrollbar-width: none;
    /* firefox */
}

.category-menu::-webkit-scrollbar {
    display: none;
    /* chrome/safari */
}

/* ITENS DO MENU */
.menu-item {
    flex: 0 0 auto;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    color: #555;
    padding-bottom: 6px;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.menu-item:hover {
    color: #E60014;
}

.menu-item.active {
    color: #E60014;
    border-bottom: 2px solid #E60014;
    font-weight: 600;
}

/* Empurra o conteúdo para baixo do header fixo */
.page-content {
    padding-top: 140px;
    background-color: #FFF;
}

.h2-title-section {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--color-secondary);
    font-family: var(--font-title);
    text-align: center;
}

.section {
    padding: 2rem 0;
    background: var(--color-analogic-one);
}

.section_catalogo {
    border-top: 1px solid #444;
    padding: .5rem 0 2rem;
    background: var(--color-analogic-one);
    scroll-margin-top: 100px;
}

.switch-field {
	display: block;
	margin-bottom: 36px;
	overflow: hidden;
}

.switch-field input {
	position: absolute !important;
	clip: rect(0, 0, 0, 0);
	height: 1px;
	width: 1px;
	border: 0;
	overflow: hidden;
}

.switch-field label {
	background-color: #e4e4e4;
	color: #444;
	font-size: .85rem;
    font-weight: 300;
    height: 40px;
	text-align: center;
	padding: 10px 16px;
	transition: all 0.1s ease-in-out;
        display: inline-block; /* ❗ necessário */
    margin-right: 6px;     /* opcional: espaço entre eles */
}

.switch-field label:hover {
	cursor: pointer;
}

.switch-field input:checked + label {
	background-color: #272727;
	box-shadow: none;
    color: #FFF;
}



@media (max-width: 1024px) {

    .col-20,
    .col-4 {
        flex: 0 0 33.33%;
        max-width: 33.33%;
    }

    .col-home{
        flex: 0 0 33.33%;
        max-width: 33.33%;
    }

    .col-6,
    .col-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .card__categoria {
        height: 220px;
    }

    .card__categoria img{
        height: auto;
        max-width: 80%;
    }

    .card__categoria h3 {
        font-size: 1rem;
    }

    .sheet__panel {
        left: 20%;
        right: auto;
        width: 680px;
        transform: translate(-50%, 100%);
        border-radius: 16px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    h4 {
        font-size: 1rem;
    }

    p {
        font-size: .75rem;
        margin-bottom: var(--space-sm);
        font-weight: 400;
    }

    .col-20,
    .col-home,
    .col-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-6,
    .col-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .card__categoria {
        height: 200px;
    }

    .card__categoria h3 {
        font-size: 1rem;
    }

    .sheet__panel {
        left: 50%;
        right: auto;
        width: 520px;
        transform: translate(-50%, 100%);
        border-radius: 16px;
    }

    .sheet.open .sheet__panel {
        transform: translate(-50%, 0);
    }

    .mobile-preview{
        padding: .2rem;
    }

    .image-container {
    height: 150px;
    }

    .info{
        padding: .25rem;
    }
}
