@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --gold: #c89b3c;
    --gold-light: #f0c96b;
    --background: #080808;
    --card: #111111;
    --text: #f4f1ea;
    --muted: #aaaaaa;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: Inter, Arial, sans-serif;
}

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

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

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

/* CABEÇALHO */

.header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(5, 5, 5, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid #29251d;
}

.nav {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand img {
    width: 135px;
    height: 58px;
    object-fit: contain;
}

.nav nav {
    display: flex;
    gap: 30px;
    color: #c9c9c9;
    font-size: 14px;
}

.nav nav a:hover {
    color: var(--gold-light);
}

.nav-cta {
    padding: 11px 18px;
    border: 1px solid #765b23;
    border-radius: 7px;
    color: var(--gold-light);
    font-weight: 700;
    font-size: 13px;
}

/* HERO */

.hero {
    min-height: 690px;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 70% 35%, #281d0b 0, #0b0a09 32%, #050505 72%);
}

.hero-content {
    max-width: 700px;
    padding: 100px 0;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 15px;
    color: var(--gold-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
}

.hero h1 {
    margin: 0 0 22px;
    font-family: Cinzel, serif;
    font-size: clamp(45px, 6vw, 78px);
    font-weight: 600;
    line-height: 1.02;
}

.hero h1 span {
    color: var(--gold-light);
}

.hero p {
    max-width: 610px;
    color: #c6c6c6;
    font-size: 18px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.btn {
    display: inline-block;
    padding: 14px 23px;
    border-radius: 7px;
    font-weight: 700;
    font-size: 14px;
}

.btn.primary {
    color: #090909;
    background: linear-gradient(135deg, #e1b653, #a97921);
}

.btn.secondary {
    border: 1px solid #6d5a34;
    color: #eeeeee;
    background: #0d0d0d;
}

/* DIFERENCIAIS */

.trust {
    background: #0d0d0d;
    border-top: 1px solid #2c2418;
    border-bottom: 1px solid #2c2418;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.trust-grid div {
    padding: 25px 18px;
    border-right: 1px solid #252525;
    text-align: center; /* Centraliza o texto e os elementos internos */
}

.trust-grid div:last-child {
    border-right: 0;
}

.trust strong,
.trust span {
    display: block;
}

.trust strong {
    font-size: 13px;
}

.trust span {
    margin-top: 6px;
    color: #888888;
    font-size: 12px;
}

/* PRODUTOS */

.section {
    padding: 90px 0;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 35px;
}

.section-heading h2,
.about h2,
.contact h2 {
    margin: 0;
    font-family: Cinzel, serif;
    font-size: 38px;
    font-weight: 600;
}

.section-heading > a {
    color: var(--gold-light);
    font-size: 13px;
}

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

.product-card {
    overflow: hidden;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    background: linear-gradient(180deg, #151515, #0d0d0d);
    transition: 0.25s;

    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: #725c30;
}

.product-image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #080808;
    flex-shrink: 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* .product-info {
    padding: 20px;
} */

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-tag {
    color: var(--gold-light);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.product-info h3 {
    margin: 10px 0 8px;
    font-size: 17px;
}

/* .product-info p {
    min-height: 40px;
    color: #999999;
    font-size: 13px;
    line-height: 1.5;
} */

.product-info p {
    color: #999999;
    font-size: 13px;
    line-height: 1.5;
    margin: 10px 0 0;
}

/* .product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 18px;
} */

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    margin-top: auto;
    padding-top: 18px;
}

.product-price {
    font-size: 22px;
    font-weight: 700;
}

.product-link {
    color: var(--gold-light);
    font-size: 18px;
    font-weight: 700;
}

.btn-add-cart {
    padding: 10px 16px;
    border: none;
    border-radius: 7px;
    background: linear-gradient(135deg, #e1b653, #a97921);
    color: #090909;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: 0.2s;
    white-space: nowrap;
}

.btn-add-cart:hover {
    filter: brightness(1.08);
}

.btn-add-cart.added {
    background: linear-gradient(135deg, #6bc98f, #2f8f57);
    color: #ffffff;
}

.product-whatsapp-link {
    display: inline-block;
    margin-top: 10px;
    color: #888888;
    font-size: 12px;
}

.product-whatsapp-link:hover {
    color: var(--gold-light);
}

/* CARRINHO — ÍCONE NO CABEÇALHO */

.nav-cart {
    position: relative;
    display: flex;
    align-items: center;
    color: var(--text);
    font-size: 22px;
}

.nav-cart .cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    display: none;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 50%;
    background: var(--gold-light);
    color: #090909;
    font-size: 11px;
    font-weight: 800;
}

/* PÁGINA DO CARRINHO */

.cart-page {
    padding: 70px 0 100px;
    min-height: 60vh;
}

.cart-page h1 {
    margin: 0 0 35px;
    font-family: Cinzel, serif;
    font-size: 34px;
    font-weight: 600;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
    align-items: start;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto auto;
    gap: 16px;
    align-items: center;
    padding: 14px;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    background: linear-gradient(180deg, #151515, #0d0d0d);
}

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 6px;
    background: #080808;
}

.cart-item-name {
    font-size: 14px;
    font-weight: 600;
}

.cart-item-price {
    margin-top: 4px;
    color: var(--gold-light);
    font-size: 13px;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-item-qty button {
    width: 28px;
    height: 28px;
    border: 1px solid #444;
    border-radius: 6px;
    background: #0d0d0d;
    color: var(--text);
    cursor: pointer;
    font-size: 14px;
}

.cart-item-qty span {
    min-width: 18px;
    text-align: center;
    font-size: 14px;
}

.cart-item-remove {
    color: #999999;
    font-size: 12px;
    cursor: pointer;
    background: none;
    border: none;
    text-decoration: underline;
}

.cart-item-remove:hover {
    color: #e06666;
}

.cart-summary {
    position: sticky;
    top: 100px;
    padding: 24px;
    border: 1px solid #32291a;
    border-radius: 12px;
    background: radial-gradient(circle at center, #1b150a, #0b0b0b);
}

.cart-summary h2 {
    margin: 0 0 18px;
    font-size: 16px;
    font-family: Cinzel, serif;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #aaaaaa;
    font-size: 14px;
}

.cart-summary-total {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #2c2418;
    font-size: 18px;
    font-weight: 700;
}

.btn-checkout {
    width: 100%;
    margin-top: 20px;
    padding: 14px;
    border: none;
    border-radius: 7px;
    background: linear-gradient(135deg, #e1b653, #a97921);
    color: #090909;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}

.btn-checkout:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-checkout:hover:not(:disabled) {
    filter: brightness(1.08);
}

.cart-empty {
    padding: 60px 0;
    text-align: center;
    color: #999999;
}

.cart-empty a {
    color: var(--gold-light);
    font-weight: 700;
}

.cart-clear-row {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 14px;
}

.cart-clear-link {
    background: none;
    border: none;
    color: #888888;
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
}

.cart-clear-link:hover {
    color: #e06666;
}

@media (max-width: 800px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-item {
        grid-template-columns: 60px 1fr;
        grid-template-areas:
            "img name"
            "img qty"
            "img remove";
    }

    .cart-item img { grid-area: img; width: 60px; height: 60px; }
    .cart-item-name { grid-area: name; }
    .cart-item-qty { grid-area: qty; }
    .cart-item-remove { grid-area: remove; justify-self: start; }
}

.loading,
.no-products {
    color: #999999;
}

/* SOBRE */

.about {
    padding: 90px 0;
    background: linear-gradient(120deg, #0e0d0b, #090909);
    border-top: 1px solid #211c13;
    border-bottom: 1px solid #211c13;
}

.about-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 70px;
    align-items: center;
}

.about-mark {
    display: grid;
    place-items: center;
}

.about-mark img {
    width: 100%;
    max-width: 320px;
}

.about p {
    max-width: 700px;
    color: #aaaaaa;
    line-height: 1.8;
}

/* CONTATO */

.contact {
    padding: 90px 0;
}

.contact-box {
    padding: 70px 30px;
    text-align: center;
    border: 1px solid #32291a;
    border-radius: 14px;
    background: radial-gradient(circle at center, #1b150a, #0b0b0b);
}

.contact h2 {
    max-width: 800px;
    margin: 0 auto;
}

.contact p {
    color: #999999;
}

.contact .hero-buttons {
    justify-content: center;
}

/* RODAPÉ */

footer {
    border-top: 1px solid #222222;
    background: #050505;
}

.footer {
    min-height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #777777;
    font-size: 12px;
}

.footer a {
    color: var(--gold-light);
}

/* WHATSAPP */

.floating-wa {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 30;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #25d366;
    color: white;
    font-size: 24px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45);
}

/* CELULAR */

@media (max-width: 800px) {
    .nav {
        height: 70px;
    }

    .nav nav {
        display: none;
    }

    .nav-cta {
        padding: 9px 12px;
    }

    .hero {
        min-height: 600px;
    }

    .hero-content {
        padding: 80px 0;
    }

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

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-mark img {
        max-width: 250px;
    }

    .section-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .footer {
        flex-direction: column;
        gap: 8px;
        padding: 20px 0;
    }

    .hero h1 {
        font-size: 46px;
    }
}
