:root {
    --ouro: #d4af37;
    --ouro-claro: #f2d675;
    --preto: #0a0a0a;
    --cinza-luxo: #1a1a1a;
    --cinza-borda: #2a2a2a;
    --branco: #f8f8f8;
    --verde: #25d366;
    --vermelho: #ff8f8f;
    --serif: 'Frank Ruhl Libre', serif;
    --script: 'Pinyon Script', cursive;
    --cinzel: 'Cinzel', serif;
}

/* =========================================================
   GERAL
========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background: var(--preto);
    color: var(--branco);
    font-family: var(--serif);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.auth-open,
body.cart-open {
    overflow: hidden;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    -webkit-tap-highlight-color: transparent;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: 92%;
    max-width: 1300px;
    margin: auto;
}

.text-center {
    text-align: center;
}

.hidden {
    display: none !important;
}

/* =========================================================
   NAVBAR
========================================================= */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    padding: 30px 0;
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled {
    padding: 15px 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--ouro);
}

.nav-content {
    width: 90%;
    max-width: 1400px;
    margin: auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.nav-brand {
    flex: 1;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-family: var(--cinzel);
    font-size: 0.75rem;
    letter-spacing: 2px;
    margin-left: 35px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--ouro);
}

.nav-cta {
    border: 1px solid var(--ouro);
    padding: 10px 25px;
    color: var(--ouro) !important;
}

.nav-cta:hover {
    background: var(--ouro);
    color: #000 !important;
}

.nav-login {
    color: var(--ouro) !important;
    position: relative;
}

.nav-login::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 1px;
    background: var(--ouro);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-login:hover::after {
    transform: scaleX(1);
}

/* =========================================================
   MENU DO USUÁRIO
========================================================= */
.user-menu {
    display: none;
    align-items: center;
    gap: 12px;
    margin-left: 35px;
}

.user-menu > i {
    color: var(--ouro);
    font-size: 1.15rem;
}

.user-menu span {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--ouro);
    font-family: var(--cinzel);
    font-size: 0.76rem;
    letter-spacing: 1.4px;
}

.user-menu button {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.65);
    color: var(--ouro);
    cursor: pointer;
    transition: 0.3s ease;
}

.user-menu button:hover {
    background: var(--ouro);
    color: #000;
    transform: translateY(-2px);
}

.user-menu button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

/* =========================================================
   BOTÃO DO CARRINHO NO MENU
========================================================= */
.cart-button {
    position: relative;
    width: 42px;
    height: 42px;
    margin-left: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(212,175,55,0.55);
    background: rgba(212,175,55,0.04);
    color: var(--ouro);
    cursor: pointer;
    transition: 0.3s ease;
}

.cart-button:hover {
    background: var(--ouro);
    color: #000;
    transform: translateY(-2px);
}

.cart-button i {
    font-size: 1rem;
}

#cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 21px;
    height: 21px;
    padding: 0 5px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ouro);
    color: #000;
    border: 2px solid var(--preto);
    font-family: var(--cinzel);
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1;
}

/* =========================================================
   HERO
========================================================= */
.hero {
    height: 90vh;
    min-height: 700px;
    background-image: linear-gradient(rgba(0,0,0,0.4), var(--preto)), url('imagem/fundo1.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-container {
    padding: 0 20px;
}

.hero h1 {
    font-family: var(--cinzel);
    font-size: clamp(2.5rem, 8vw, 5rem);
    color: var(--ouro);
    letter-spacing: clamp(5px, 2vw, 15px);
}

.script-title {
    font-family: var(--script);
    font-size: 3rem;
    color: var(--ouro);
    display: block;
}

.hero-subtitle {
    letter-spacing: 6px;
    font-weight: 300;
    margin-top: 20px;
    font-size: 0.9rem;
}

.hero-divider {
    width: 60px;
    height: 1px;
    background: var(--ouro);
    margin: 35px auto;
}

/* =========================================================
   O RITUAL
========================================================= */
.section-ritual {
    padding: 120px 0;
    background: var(--preto);
}

.gold-title {
    font-family: var(--cinzel);
    color: var(--ouro);
    letter-spacing: 3px;
    margin: 20px 0;
    font-size: 2.2rem;
}

.description {
    max-width: 800px;
    margin: auto;
    line-height: 2;
    color: #ccc;
    font-size: 1.2rem;
}

/* =========================================================
   PORTFÓLIO
========================================================= */
.portfolio-section {
    padding: 100px 0;
    background: #fff;
    color: #111;
}

.black-title {
    font-family: var(--cinzel);
    font-size: 2.5rem;
    letter-spacing: 3px;
    color: #000;
}

.catalog-switcher {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: 42px;
    flex-wrap: wrap;
}

.catalog-btn {
    position: relative;
    min-width: 210px;
    padding: 16px 28px;
    border: 1px solid rgba(139, 69, 19, 0.25);
    background: linear-gradient(180deg, #ffffff 0%, #f5f1ea 100%);
    color: #111;
    font-family: var(--cinzel);
    font-size: 0.9rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, color 0.35s ease, background 0.35s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.catalog-btn::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 8px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ouro), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.catalog-btn:hover {
    transform: translateY(-3px);
    border-color: var(--ouro);
    box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}

.catalog-btn:hover::after,
.catalog-btn.active::after {
    opacity: 1;
}

.catalog-btn.active {
    background: linear-gradient(180deg, #1d1d1d 0%, #0e0e0e 100%);
    color: var(--ouro);
    border-color: var(--ouro);
    box-shadow: 0 16px 35px rgba(0,0,0,0.18);
}

.catalog-intro {
    margin-top: 20px;
    margin-bottom: 10px;
}

.catalog-intro p {
    color: #5a4b34;
    font-size: 1rem;
    letter-spacing: 0.8px;
}

.grid-portfolio {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    margin-top: 60px;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.grid-portfolio.switching {
    opacity: 0;
    transform: translateY(18px);
}

.card {
    background: #fff;
    border: 1px solid #eee;
    transition: 0.4s ease;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
}

.img-box {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-bottom: 2px solid var(--ouro);
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.7s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--ouro);
}

.card:hover img {
    transform: scale(1.1);
}

.card-info {
    padding: 25px;
    text-align: center;
}

.card-info h3 {
    font-size: 1.2rem;
    margin-bottom: 16px;
    font-weight: 400;
    font-family: var(--serif);
    color: #111;
}

.product-specs {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
    text-align: left;
}

.spec-line {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0,0,0,0.07);
    font-size: 0.95rem;
    color: #444;
}

.spec-line span:first-child {
    font-family: var(--cinzel);
    letter-spacing: 1px;
    font-size: 0.75rem;
    color: #7b5a22;
}

.product-frete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 10px 14px;
    border: 1px solid rgba(212,175,55,0.45);
    background: linear-gradient(180deg, #fffaf0 0%, #f8f1df 100%);
    color: #6d4d17;
    font-family: var(--cinzel);
    font-size: 0.74rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.product-frete i {
    color: var(--ouro);
}

.price {
    font-size: 1.5rem;
    color: #8b4513;
    font-weight: bold;
    display: block;
    margin-top: 6px;
}

/* BOTÃO ANTIGO, CASO AINDA EXISTA */
.btn-buy-now {
    display: inline-block;
    width: 100%;
    margin-top: 18px;
    padding: 16px 20px;
    background: linear-gradient(180deg, #1d1d1d 0%, #0e0e0e 100%);
    color: var(--ouro);
    border: 1px solid var(--ouro);
    text-decoration: none;
    font-family: var(--cinzel);
    font-size: 0.82rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease, color 0.35s ease;
    box-shadow: 0 12px 28px rgba(0,0,0,0.10);
}

.btn-buy-now:hover {
    transform: translateY(-3px);
    background: var(--ouro);
    color: #000;
    box-shadow: 0 16px 34px rgba(0,0,0,0.14);
}

/* BOTÃO ADICIONAR AO CARRINHO */
.btn-add-cart {
    width: 100%;
    margin-top: 18px;
    padding: 16px 20px;
    border: 1px solid var(--ouro);
    background: linear-gradient(180deg, #1d1d1d 0%, #0e0e0e 100%);
    color: var(--ouro);
    font-family: var(--cinzel);
    font-size: 0.82rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease, color 0.35s ease;
    box-shadow: 0 12px 28px rgba(0,0,0,0.10);
}

.btn-add-cart i {
    margin-right: 8px;
}

.btn-add-cart:hover {
    transform: translateY(-3px);
    background: var(--ouro);
    color: #000;
    box-shadow: 0 16px 34px rgba(0,0,0,0.14);
}

.btn-add-cart:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

/* =========================================================
   PARALLAX
========================================================= */
.parallax-impact {
    height: 65vh;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    position: relative;
}

.parallax-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10%;
}

.parallax-text {
    background: rgba(0,0,0,0.85);
    padding: 60px;
    border-left: 4px solid var(--ouro);
    max-width: 500px;
    backdrop-filter: blur(5px);
}

/* =========================================================
   DEPOIMENTOS
========================================================= */
.depoimentos-section {
    padding: 120px 0;
    background: #050505;
}

.grid-depoimentos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.depoimento-item {
    border-left: 1px solid var(--ouro);
    padding: 25px 35px;
}

.depoimento-item p {
    font-style: italic;
    color: #bbb;
    line-height: 1.8;
    font-size: 1.1rem;
}

.depoimento-item span {
    display: block;
    margin-top: 20px;
    color: var(--ouro);
    font-family: var(--cinzel);
    font-size: 0.8rem;
}

/* =========================================================
   FORMULÁRIO
========================================================= */
.contato-luxo {
    padding: 140px 0;
    background: linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0.85)), url('imagem/fundo2.png') center/cover;
}

.form-card {
    max-width: 750px;
    margin: auto;
    background: rgba(0,0,0,0.95);
    padding: 70px;
    border: 1px solid var(--ouro);
    text-align: center;
}

#lux-form {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

input,
select,
textarea {
    background: transparent;
    border: 1px solid #333;
    padding: 18px;
    color: #fff;
    font-family: var(--serif);
    font-size: 1rem;
    transition: 0.3s;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--ouro);
    outline: none;
    background: rgba(212,175,55,0.05);
}

select {
    color: #fff;
}

select option {
    color: #000;
    background: #fff;
}

.btn-submit {
    background: var(--ouro);
    color: #000;
    border: none;
    padding: 20px;
    font-family: var(--cinzel);
    font-weight: bold;
    cursor: pointer;
    transition: 0.4s;
    margin-top: 15px;
    letter-spacing: 2px;
}

.btn-submit:hover {
    background: #fff;
    transform: scale(1.02);
}

/* =========================================================
   LOGIN E CADASTRO
========================================================= */
.auth-modal {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background:
        radial-gradient(circle at top, rgba(212,175,55,0.08), transparent 35%),
        rgba(0,0,0,0.82);
    backdrop-filter: blur(18px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.auth-modal.active {
    display: flex;
    opacity: 1;
    animation: authFadeIn 0.3s ease;
}

.auth-card {
    position: relative;
    width: 100%;
    max-width: 500px;
    max-height: 92vh;
    overflow-y: auto;
    padding: 52px 48px 44px;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.03), transparent 40%),
        rgba(10,10,10,0.98);
    border: 1px solid rgba(212,175,55,0.35);
    box-shadow:
        0 35px 90px rgba(0,0,0,0.72),
        0 0 80px rgba(212,175,55,0.08);
    animation: authCardIn 0.38s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.auth-card::before {
    content: "";
    position: absolute;
    inset: 10px;
    pointer-events: none;
    border: 1px solid rgba(212,175,55,0.08);
}

.auth-card h2 {
    position: relative;
    margin: 8px 0 34px;
    text-align: center;
    color: var(--ouro);
    font-family: var(--cinzel);
    font-size: 1.65rem;
    letter-spacing: 5px;
}

.close-auth {
    position: absolute;
    top: 16px;
    right: 18px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--ouro);
    font-size: 1.9rem;
    line-height: 1;
    cursor: pointer;
    transition: 0.3s ease;
}

.close-auth:hover {
    border-color: rgba(212,175,55,0.55);
    background: rgba(212,175,55,0.08);
    transform: rotate(90deg);
}

.auth-tabs {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 28px;
}

.tab-btn {
    padding: 14px 12px;
    border: 1px solid #2b2b2b;
    background: rgba(255,255,255,0.02);
    color: #999;
    font-family: var(--cinzel);
    font-size: 0.74rem;
    letter-spacing: 1.8px;
    cursor: pointer;
    transition: 0.3s ease;
}

.tab-btn:hover {
    border-color: rgba(212,175,55,0.65);
    color: var(--ouro);
}

.tab-btn.active {
    border-color: var(--ouro);
    background: rgba(212,175,55,0.1);
    color: var(--ouro);
    box-shadow: inset 0 0 20px rgba(212,175,55,0.04);
}

.auth-form {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-form.hidden {
    display: none;
}

.auth-form input {
    width: 100%;
    min-height: 56px;
    background: rgba(255,255,255,0.025);
    border: 1px solid #292929;
    color: #fff;
    padding: 16px 18px;
}

.auth-form input::placeholder {
    color: #777;
}

.auth-form input:focus {
    border-color: var(--ouro);
    background: rgba(212,175,55,0.045);
    box-shadow: 0 0 0 3px rgba(212,175,55,0.06);
}

.auth-form button[type="submit"] {
    min-height: 56px;
    margin-top: 4px;
    border: 1px solid var(--ouro);
    background: var(--ouro);
    color: #050505;
    font-family: var(--cinzel);
    font-weight: 700;
    letter-spacing: 2.5px;
    cursor: pointer;
    transition: 0.35s ease;
}

.auth-form button[type="submit"]:hover {
    background: #fff;
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.24);
}

.auth-form button[type="submit"]:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.auth-message {
    min-height: 24px;
    margin: -10px 0 20px;
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.5;
    letter-spacing: 0.2px;
}

.auth-message.sucesso {
    color: #91d7a2;
}

.auth-message.erro {
    color: var(--vermelho);
}

/* =========================================================
   OVERLAY DO CARRINHO
========================================================= */
.cart-overlay {
    position: fixed;
    inset: 0;
    z-index: 20990;
    background: rgba(0,0,0,0.72);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* =========================================================
   PAINEL DO CARRINHO
========================================================= */
.cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 21000;
    width: min(460px, 100%);
    height: 100vh;
    display: flex;
    flex-direction: column;
    background:
        linear-gradient(180deg, rgba(212,175,55,0.045), transparent 22%),
        #0b0b0b;
    border-left: 1px solid rgba(212,175,55,0.28);
    box-shadow: -30px 0 80px rgba(0,0,0,0.65);
    transform: translateX(100%);
    transition: transform 0.42s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cart-panel.active {
    transform: translateX(0);
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 28px 28px 24px;
    border-bottom: 1px solid rgba(212,175,55,0.18);
}

.cart-subtitle {
    display: block;
    margin-bottom: 5px;
    color: #8d8d8d;
    font-family: var(--script);
    font-size: 1.35rem;
}

.cart-header h2 {
    color: var(--ouro);
    font-family: var(--cinzel);
    font-size: 1.25rem;
    letter-spacing: 4px;
}

.cart-close {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border: 1px solid rgba(212,175,55,0.35);
    background: transparent;
    color: var(--ouro);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    transition: 0.3s ease;
}

.cart-close:hover {
    background: var(--ouro);
    color: #000;
    transform: rotate(90deg);
}

.cart-login-message {
    margin: 22px 24px 0;
    padding: 18px;
    border: 1px solid rgba(212,175,55,0.25);
    background: rgba(212,175,55,0.05);
    color: #d6d6d6;
    text-align: center;
    line-height: 1.6;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 18px 24px 24px;
    scrollbar-width: thin;
    scrollbar-color: var(--ouro) #111;
}

.cart-items::-webkit-scrollbar {
    width: 8px;
}

.cart-items::-webkit-scrollbar-track {
    background: #111;
}

.cart-items::-webkit-scrollbar-thumb {
    background: rgba(212,175,55,0.65);
}

.cart-item {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.cart-item-image {
    width: 92px;
    height: 92px;
    object-fit: cover;
    border: 1px solid rgba(212,175,55,0.3);
    background: #111;
}

.cart-item-content {
    min-width: 0;
}

.cart-item-content h3 {
    margin-bottom: 5px;
    color: #fff;
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.35;
}

.cart-item-material {
    display: block;
    margin-bottom: 9px;
    color: #8e8e8e;
    font-size: 0.82rem;
}

.cart-item-content > strong {
    display: block;
    color: var(--ouro);
    font-size: 1rem;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 14px;
}

.cart-quantity {
    display: inline-grid;
    grid-template-columns: 34px 38px 34px;
    align-items: center;
    border: 1px solid rgba(212,175,55,0.25);
}

.cart-quantity button,
.cart-quantity span {
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cart-quantity button {
    border: none;
    background: transparent;
    color: var(--ouro);
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.25s ease;
}

.cart-quantity button:hover {
    background: var(--ouro);
    color: #000;
}

.cart-quantity span {
    border-left: 1px solid rgba(212,175,55,0.2);
    border-right: 1px solid rgba(212,175,55,0.2);
    color: #fff;
    font-family: var(--cinzel);
    font-size: 0.75rem;
}

.cart-remove {
    border: none;
    background: transparent;
    color: #929292;
    font-size: 0.8rem;
    cursor: pointer;
    transition: 0.25s ease;
}

.cart-remove:hover {
    color: var(--vermelho);
}

.cart-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 40px 24px;
    color: #777;
    text-align: center;
}

.cart-empty i {
    font-size: 2.4rem;
    color: rgba(212,175,55,0.45);
}

.cart-empty p {
    font-size: 1rem;
    line-height: 1.5;
}

.cart-footer {
    padding: 24px;
    border-top: 1px solid rgba(212,175,55,0.18);
    background: rgba(255,255,255,0.015);
}

.cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.cart-total span {
    color: #999;
    font-family: var(--cinzel);
    font-size: 0.76rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.cart-total strong {
    color: var(--ouro);
    font-size: 1.45rem;
}

.cart-checkout {
    width: 100%;
    min-height: 56px;
    padding: 16px 20px;
    border: 1px solid var(--ouro);
    background: var(--ouro);
    color: #000;
    font-family: var(--cinzel);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.35s ease;
}

.cart-checkout:hover {
    background: #fff;
    border-color: #fff;
    transform: translateY(-2px);
}

.cart-checkout:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

/* =========================================================
   FOOTER
========================================================= */
.footer-minimal {
    padding: 50px 0;
    text-align: center;
    background: #000;
    border-top: 1px solid #111;
}

.footer-logo {
    height: 50px;
    border-radius: 50%;
    margin: 0 auto 15px;
    filter: grayscale(1);
    transition: 0.3s;
}

.footer-logo:hover {
    filter: grayscale(0);
}

.footer-minimal p {
    color: #555;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* =========================================================
   WHATSAPP
========================================================= */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--verde);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    z-index: 10000;
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
    transition: 0.3s;
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1) rotate(10deg);
}

/* =========================================================
   ANIMAÇÕES
========================================================= */
@keyframes authFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes authCardIn {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* =========================================================
   MENU MOBILE
========================================================= */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--ouro);
    font-size: 2rem;
    cursor: pointer;
}

/* =========================================================
   RESPONSIVIDADE - TABLET E MOBILE
========================================================= */
@media (max-width: 900px) {
    nav {
        background: rgba(0,0,0,0.95) !important;
        padding: 20px 0;
    }

    .menu-toggle {
        display: block;
        z-index: 10001;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #000;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 10000;
        overflow-y: auto;
        padding: 80px 20px 40px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        margin: 20px 0;
        font-size: 1.12rem;
        margin-left: 0;
    }

    .cart-button {
        margin: 18px 0 0;
        width: 48px;
        height: 48px;
    }

    .user-menu {
        margin: 22px 0 0;
        flex-direction: column;
    }

    .user-menu span {
        max-width: 260px;
        font-size: 0.92rem;
        text-align: center;
    }

    .hero {
        height: 100svh;
        min-height: 100svh;
        background-image: linear-gradient(rgba(0,0,0,0.35), var(--preto)), url('imagem/fundo3.png');
        background-position: center top;
        background-size: cover;
        background-repeat: no-repeat;
        background-attachment: scroll;
    }

    .hero h1 {
        font-size: clamp(2rem, 10vw, 3.2rem);
        letter-spacing: 4px;
    }

    .script-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        letter-spacing: 2px;
        font-size: 0.8rem;
        line-height: 1.5;
        padding: 0 10px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-card {
        padding: 40px 20px;
    }

    .parallax-overlay {
        justify-content: center;
        padding: 0 5%;
        text-align: center;
    }

    .parallax-text {
        border-left: none;
        border-top: 4px solid var(--ouro);
        padding: 40px 24px;
    }

    .catalog-switcher {
        gap: 12px;
        margin-top: 34px;
    }

    .catalog-btn {
        width: 100%;
        max-width: 360px;
        min-width: unset;
        padding: 15px 18px;
        font-size: 0.82rem;
    }

    .grid-portfolio {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 36px;
    }

    .card-info {
        padding: 22px 18px;
    }

    .card-info h3 {
        font-size: 1.15rem;
        margin-bottom: 14px;
    }

    .product-specs {
        gap: 8px;
    }

    .spec-line {
        font-size: 0.92rem;
        gap: 10px;
    }

    .spec-line span:first-child {
        font-size: 0.7rem;
    }

    .product-frete {
        width: 100%;
        font-size: 0.68rem;
        letter-spacing: 1.2px;
    }

    .price {
        font-size: 1.35rem;
    }

    .btn-buy-now,
    .btn-add-cart {
        padding: 15px 16px;
        font-size: 0.76rem;
    }

    .auth-modal {
        padding: 14px;
    }

    .auth-card {
        max-height: 90vh;
        padding: 46px 22px 28px;
    }

    .auth-card h2 {
        font-size: 1.35rem;
        letter-spacing: 3px;
        margin-bottom: 28px;
    }

    .tab-btn {
        font-size: 0.68rem;
        letter-spacing: 1.2px;
    }

    .cart-panel {
        width: min(430px, 100%);
    }

    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        width: 58px;
        height: 58px;
        font-size: 28px;
    }
}

/* =========================================================
   RESPONSIVIDADE - MOBILE PEQUENO
========================================================= */
@media (max-width: 520px) {
    .auth-tabs {
        gap: 8px;
    }

    .tab-btn {
        padding: 13px 8px;
    }

    .auth-form input,
    .auth-form button[type="submit"] {
        min-height: 52px;
    }

    .cart-header {
        padding: 22px 18px 18px;
    }

    .cart-header h2 {
        font-size: 1.05rem;
        letter-spacing: 3px;
    }

    .cart-items {
        padding: 12px 16px 18px;
    }

    .cart-item {
        grid-template-columns: 78px 1fr;
        gap: 12px;
    }

    .cart-item-image {
        width: 78px;
        height: 78px;
    }

    .cart-item-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .cart-footer {
        padding: 18px 16px;
    }

    .cart-total strong {
        font-size: 1.25rem;
    }

    .cart-checkout {
        min-height: 52px;
        font-size: 0.72rem;
    }
}


/* =========================================================
   EFEITOS VISUAIS E ANIMAÇÕES DO SITE
========================================================= */

/* Entrada principal do Hero */
.hero-container {
    opacity: 0;
    transform: translateY(34px) scale(0.97);
    animation: heroEntrance 1.35s cubic-bezier(0.2, 0.75, 0.2, 1) 0.15s forwards;
}

.hero .script-title {
    opacity: 0;
    animation: heroScriptReveal 1s ease 0.4s forwards;
}

.hero h1 {
    position: relative;
    opacity: 0;
    animation:
        heroTitleReveal 1.15s cubic-bezier(0.2, 0.85, 0.25, 1) 0.55s forwards,
        heroTitleFloat 4.5s ease-in-out 1.8s infinite;
    text-shadow:
        0 0 18px rgba(212,175,55,0.18),
        0 12px 35px rgba(0,0,0,0.45);
}

.hero-subtitle {
    opacity: 0;
    transform: translateY(16px);
    animation: heroSubtitleReveal 0.9s ease 0.9s forwards;
}

.hero-divider {
    transform: scaleX(0);
    transform-origin: center;
    animation: heroDividerReveal 0.9s ease 1.1s forwards;
}

/* Brilho discreto no título */
.hero h1::after {
    content: "";
    position: absolute;
    inset: -8px -18px;
    pointer-events: none;
    background: linear-gradient(
        105deg,
        transparent 25%,
        rgba(255,255,255,0.18) 47%,
        transparent 67%
    );
    transform: translateX(-130%);
    animation: heroShine 5.5s ease-in-out 2.2s infinite;
}

/* Elementos controlados pelo AOS */
[data-aos] {
    will-change: transform, opacity;
}

.aos-animate {
    will-change: auto;
}

/* Entrada dos cards criados dinamicamente pelo JavaScript */
.grid-portfolio:not(.switching) .card {
    opacity: 0;
    transform: translateY(28px) scale(0.985);
    animation: cardReveal 0.7s cubic-bezier(0.2, 0.75, 0.2, 1) forwards;
}

.grid-portfolio:not(.switching) .card:nth-child(1)  { animation-delay: 0.03s; }
.grid-portfolio:not(.switching) .card:nth-child(2)  { animation-delay: 0.08s; }
.grid-portfolio:not(.switching) .card:nth-child(3)  { animation-delay: 0.13s; }
.grid-portfolio:not(.switching) .card:nth-child(4)  { animation-delay: 0.18s; }
.grid-portfolio:not(.switching) .card:nth-child(5)  { animation-delay: 0.23s; }
.grid-portfolio:not(.switching) .card:nth-child(6)  { animation-delay: 0.28s; }
.grid-portfolio:not(.switching) .card:nth-child(7)  { animation-delay: 0.33s; }
.grid-portfolio:not(.switching) .card:nth-child(8)  { animation-delay: 0.38s; }
.grid-portfolio:not(.switching) .card:nth-child(9)  { animation-delay: 0.43s; }
.grid-portfolio:not(.switching) .card:nth-child(10) { animation-delay: 0.48s; }
.grid-portfolio:not(.switching) .card:nth-child(11) { animation-delay: 0.53s; }
.grid-portfolio:not(.switching) .card:nth-child(12) { animation-delay: 0.58s; }

/* Movimento suave nos elementos premium */
.script-title,
.gold-title,
.black-title {
    transition: transform 0.35s ease, text-shadow 0.35s ease;
}

.section-header:hover .script-title,
.section-ritual .container:hover .script-title {
    transform: translateY(-3px);
    text-shadow: 0 10px 30px rgba(212,175,55,0.18);
}

.catalog-btn,
.card,
.depoimento-item,
.form-card,
.parallax-text {
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.depoimento-item {
    transition:
        transform 0.45s cubic-bezier(0.2, 0.75, 0.2, 1),
        border-color 0.35s ease,
        background 0.35s ease;
}

.depoimento-item:hover {
    transform: translateY(-8px);
    border-color: var(--ouro-claro);
    background: rgba(212,175,55,0.025);
}

.form-card {
    transition:
        transform 0.45s cubic-bezier(0.2, 0.75, 0.2, 1),
        box-shadow 0.45s ease;
}

.form-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 28px 70px rgba(0,0,0,0.5),
        0 0 55px rgba(212,175,55,0.07);
}

.parallax-text {
    transition:
        transform 0.45s cubic-bezier(0.2, 0.75, 0.2, 1),
        box-shadow 0.45s ease;
}

.parallax-text:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 70px rgba(0,0,0,0.45);
}

/* Feedback visual do contador */
#cart-count {
    animation: cartCountPulse 2.6s ease-in-out infinite;
}

/* Keyframes */
@keyframes heroEntrance {
    from {
        opacity: 0;
        transform: translateY(34px) scale(0.97);
        filter: blur(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes heroScriptReveal {
    from {
        opacity: 0;
        transform: translateY(20px) rotate(-2deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotate(0);
    }
}

@keyframes heroTitleReveal {
    0% {
        opacity: 0;
        transform: translateY(38px) scale(0.9);
        letter-spacing: 24px;
        filter: blur(8px);
    }
    65% {
        opacity: 1;
        transform: translateY(-7px) scale(1.025);
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        letter-spacing: clamp(5px, 2vw, 15px);
        filter: blur(0);
    }
}

@keyframes heroTitleFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-7px);
    }
}

@keyframes heroSubtitleReveal {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroDividerReveal {
    from {
        opacity: 0;
        transform: scaleX(0);
    }
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

@keyframes heroShine {
    0%, 62%, 100% {
        transform: translateX(-130%);
        opacity: 0;
    }
    72% {
        opacity: 1;
    }
    86% {
        transform: translateX(130%);
        opacity: 0;
    }
}

@keyframes cardReveal {
    from {
        opacity: 0;
        transform: translateY(28px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes cartCountPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(212,175,55,0);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 0 0 7px rgba(212,175,55,0.05);
    }
}

/* Em telas pequenas, reduz o movimento sem remover os efeitos */
@media (max-width: 900px) {
    .hero h1 {
        animation:
            heroTitleReveal 1.05s cubic-bezier(0.2, 0.85, 0.25, 1) 0.5s forwards,
            heroTitleFloatMobile 4.8s ease-in-out 1.7s infinite;
    }

    @keyframes heroTitleFloatMobile {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-4px); }
    }
}