:root {
    --red: #e50914;
    --red2: #ff2633;
    --black: #070707;
    --dark: #101010;
    --text: #f7f7f7;
    --muted: #b4b4b4;
    --line: #272727;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Montserrat", Arial, sans-serif;
    background: #070707;
    color: #f7f7f7;
    line-height: 1.6;
}

body.no-scroll {
    overflow: hidden;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

/* CABEÇALHO */

.header {
    background: rgba(7, 7, 7, 0.96);
    border-bottom: 1px solid #272727;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand img {
    width: 165px;
    max-height: 62px;
    object-fit: contain;
}

nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

nav a {
    font-size: 13px;
    font-weight: 700;
    transition: 0.2s;
}

nav a:hover {
    color: #e50914;
}

.nav-btn,
.btn,
.cart-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: #e50914;
    color: #ffffff;
    padding: 12px 18px;
    border-radius: 8px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

.btn:hover,
.cart-button:hover {
    background: #ff2633;
}

.btn:disabled,
.cart-button:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.cart-button {
    white-space: nowrap;
}

#cart-count {
    min-width: 23px;
    height: 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff;
    color: #111111;
    font-size: 12px;
}

/* SEÇÕES */

section {
    padding: 75px 0;
}

.section {
    border-bottom: 1px solid #1d1d1d;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 28px;
}

.section-head p {
    max-width: 520px;
}

.eyebrow {
    color: #e50914;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

h1,
h2,
h3 {
    margin-top: 0;
    line-height: 1.15;
}

h1 {
    font-size: clamp(40px, 7vw, 78px);
}

h2 {
    font-size: clamp(28px, 4vw, 44px);
}

p {
    color: #b4b4b4;
}

/* INÍCIO */

#inicio {
    display: block;
}

.hero {
    min-height: 75vh;
    background:
        linear-gradient(90deg, rgba(7, 7, 7, .98), rgba(7, 7, 7, .70)),
        radial-gradient(circle at 80% 40%, #321014, #070707 55%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 60px;
    align-items: center;
}

#inicio p {
    max-width: 720px;
    font-size: 17px;
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.ghost {
    background: transparent;
    border: 1px solid #555555;
    color: #ffffff;
}

.ghost:hover {
    background: #151515;
    border-color: #ffffff;
}

.trust {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 20px;
    color: #aaaaaa;
    font-size: 13px;
}

.hero-card {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card .glow {
    position: absolute;
    width: 390px;
    height: 390px;
    border-radius: 50%;
    background: rgba(229, 9, 20, .12);
    filter: blur(50px);
}

.hero-card img {
    position: relative;
    width: 100%;
    max-width: 500px;
    max-height: 380px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, .5);
}

/* CATEGORIAS */

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.card {
    background: #101010;
    border: 1px solid #272727;
    border-radius: 14px;
    padding: 20px;
    overflow: hidden;
    transition: .25s;
}

.card:hover {
    transform: translateY(-4px);
    border-color: #e50914;
}

.card h3 {
    margin: 10px 0 6px;
}

.card p {
    margin: 0;
}

/* DESTAQUE */

.product-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: center;
}

.product-feature img {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    border-radius: 16px;
}

.feature-copy h3 {
    font-size: 36px;
    margin-bottom: 15px;
}

.pill {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 10px;
    border: 1px solid #e50914;
    border-radius: 999px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

/* CATÁLOGO */

.catalog-section {
    background: #0d0d0d;
}

.catalog-tools {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 14px;
    margin-bottom: 28px;
}

.catalog-tools input,
.catalog-tools select {
    margin: 0;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.catalog-card {
    display: grid;
    grid-template-columns: 190px 1fr;
    background: #101010;
    border: 1px solid #272727;
    border-radius: 14px;
    overflow: hidden;
}

.catalog-card .product-image-button {
    height: 100%;
    border-radius: 0;
}

.catalog-card img {
    width: 100%;
    height: 100%;
    min-height: 250px;
    object-fit: contain;
    background: #ffffff;
    padding: 14px;
}

.catalog-card-content {
    padding: 20px;
}

.catalog-card-content h3 {
    margin-bottom: 8px;
}

.catalog-description {
    font-size: 13px;
    min-height: 42px;
}

.catalog-empty {
    grid-column: 1 / -1;
    padding: 35px;
    text-align: center;
    color: #aaaaaa;
    border: 1px dashed #444444;
    border-radius: 12px;
}

/* PRODUTOS */

#produtos {
    background: #0b0b0b;
}

#lista-produtos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 30px;
}

#lista-produtos .card {
    padding: 14px;
}

.product-image-button {
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
    cursor: pointer;
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: #ffffff;
    padding: 10px;
    margin-bottom: 0;
}

.card h3 {
    font-size: 17px;
}

.card p {
    font-size: 13px;
}

.categoria-produto {
    font-size: 11px !important;
    text-transform: uppercase;
    color: #999999 !important;
    margin: 10px 0 4px !important;
}

.preco-produto {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin: 8px 0;
}

.estoque-produto {
    font-size: 12px !important;
    margin: 5px 0 12px !important;
}

.product-actions {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.product-actions .btn {
    width: 100%;
    font-size: 12px;
    padding: 11px 10px;
}

/* ORÇAMENTO */

.quote {
    background: #111111;
}

.quote-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: start;
}

input,
textarea,
select {
    width: 100%;
    background: #070707;
    color: #ffffff;
    border: 1px solid #333333;
    border-radius: 8px;
    padding: 13px;
    margin-bottom: 12px;
    font-family: inherit;
}

textarea {
    min-height: 130px;
    resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #e50914;
    border-color: transparent;
}

/* CONTATO */

#contato {
    background: #070707;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-items {
    display: grid;
    gap: 14px;
}

.contact-items a,
.contact-items > div {
    display: grid;
}

#contato a {
    color: #ffffff;
}

#contato a:hover {
    color: #e50914;
}

/* RODAPÉ */

footer {
    border-top: 1px solid #272727;
    padding: 30px 0;
    color: #999999;
    text-align: center;
    font-size: 13px;
}

footer .container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

/* CARRINHO */

.cart-overlay {
    position: fixed;
    inset: 0;
    z-index: 1990;
    background: rgba(0, 0, 0, .68);
    opacity: 0;
    visibility: hidden;
    transition: .25s;
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    z-index: 2000;
    top: 0;
    right: 0;
    width: min(440px, 94vw);
    height: 100vh;
    background: #0d0d0d;
    border-left: 1px solid #333333;
    transform: translateX(100%);
    transition: .3s ease;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.cart-drawer.open {
    transform: translateX(0);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: 24px;
    border-bottom: 1px solid #272727;
}

.cart-header h2 {
    margin: 3px 0 0;
    font-size: 30px;
}

.cart-close,
.product-modal-close {
    border: 0;
    background: transparent;
    color: #ffffff;
    font-size: 34px;
    cursor: pointer;
    line-height: 1;
}

.cart-items {
    padding: 18px;
    overflow-y: auto;
}

.cart-item {
    display: grid;
    grid-template-columns: 95px 1fr;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #272727;
}

.cart-item img {
    width: 95px;
    height: 95px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 9px;
    padding: 6px;
}

.cart-item-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cart-item-info > span {
    color: #b4b4b4;
    font-size: 13px;
}

.quantity-control {
    display: inline-grid;
    grid-template-columns: 32px 38px 32px;
    align-items: center;
    text-align: center;
    margin-top: 9px;
    border: 1px solid #3a3a3a;
    border-radius: 7px;
    overflow: hidden;
}

.quantity-control button {
    width: 32px;
    height: 32px;
    border: 0;
    background: #171717;
    cursor: pointer;
}

.remove-item {
    margin-top: 7px;
    border: 0;
    padding: 0;
    background: transparent;
    color: #e50914;
    font-size: 11px;
    cursor: pointer;
}

.cart-empty {
    padding: 50px 10px;
    text-align: center;
}

.cart-empty > span {
    font-size: 48px;
}

.cart-empty a {
    color: #e50914;
    font-weight: 700;
}

.cart-footer {
    padding: 20px 24px;
    border-top: 1px solid #272727;
    background: #101010;
}

.cart-total-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    font-size: 18px;
}

.cart-total-line strong {
    font-size: 23px;
}

.checkout-button {
    width: 100%;
    margin-bottom: 10px;
}

.cart-footer small {
    display: block;
    color: #888888;
    text-align: center;
}

/* MODAL DO PRODUTO */

.product-modal {
    position: fixed;
    inset: 0;
    z-index: 2100;
    display: grid;
    place-items: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
}

.product-modal.open {
    opacity: 1;
    visibility: visible;
}

.product-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .78);
}

.product-modal-card {
    position: relative;
    z-index: 1;
    width: min(850px, 96vw);
    max-height: 90vh;
    overflow-y: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #111111;
    border: 1px solid #333333;
    border-radius: 18px;
}

.product-modal-card > img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: contain;
    background: #ffffff;
    padding: 24px;
    border-radius: 18px 0 0 18px;
}

.product-modal-content {
    padding: 40px 32px;
}

.product-modal-content h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.product-modal-close {
    position: absolute;
    top: 15px;
    right: 18px;
    z-index: 2;
}

/* WHATSAPP FLUTUANTE */

.float-wa {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 900;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e50914;
    color: #ffffff;
    font-size: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

/* RESPONSIVO */

@media (max-width: 1050px) {
    .nav {
        flex-wrap: wrap;
        padding: 12px 0;
    }

    .brand {
        order: 1;
    }

    .cart-button {
        order: 2;
    }

    nav {
        order: 3;
        width: 100%;
    }
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-card {
        min-height: auto;
    }

    .hero-card img {
        max-width: 500px;
        margin: 0 auto;
    }

    .cards,
    #lista-produtos {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-feature,
    .quote-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 700px) {
    .catalog-tools {
        grid-template-columns: 1fr;
    }

    .catalog-card {
        grid-template-columns: 140px 1fr;
    }

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

    .product-modal-card > img {
        min-height: 280px;
        height: 300px;
        border-radius: 18px 18px 0 0;
    }

    footer .container {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    section {
        padding: 55px 0;
    }

    .brand img {
        width: 145px;
    }

    nav {
        gap: 10px 14px;
    }

    nav a {
        font-size: 11px;
    }

    .cards,
    #lista-produtos {
        grid-template-columns: 1fr;
    }

    .card img {
        height: 240px;
    }

    h1 {
        font-size: 42px;
    }

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

    .catalog-card {
        grid-template-columns: 1fr;
    }

    .catalog-card img {
        height: 240px;
        min-height: 0;
    }

    .cart-item {
        grid-template-columns: 80px 1fr;
    }

    .cart-item img {
        width: 80px;
        height: 80px;
    }
}
input[type="radio"] {
    width: auto;
    padding: 0;
    margin: 0 8px 0 0;
    border: 0;
    background: transparent;
    accent-color: #e50914;
}
