:root {
    --bg: #FFFFFF;
    --ink: #111111;
    --ink-soft: #2a2a2a;
    --muted: #8a8a8a;
    --line: #ececec;
    --gold: #D4AF37;
    --gold-deep: #b8962e;
    --whats: #25D366;
}

* {
    -webkit-font-smoothing: antialiased;
}

html,
body {
    background: var(--bg);
    color: var(--ink);
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    letter-spacing: .01em;
}

.font-display {
    font-family: 'Playfair Display', serif;
}

.font-script {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
}

.font-sans-ed {
    font-family: 'Jost', sans-serif;
}

.logo-word {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    letter-spacing: .35em;
    text-transform: uppercase;
}

/* Utilitários de rastreamento */
.tk-wide {
    letter-spacing: .25em;
}

.tk-xwide {
    letter-spacing: .4em;
}

/* Cabeçalho */
.site-header {
    transition: background-color .4s ease, border-color .4s ease, color .4s ease, backdrop-filter .4s ease;
}

.site-header.on-dark {
    color: #fff;
    border-color: rgba(255, 255, 255, .18);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(140%) blur(10px);
    color: var(--ink);
    border-color: var(--line);
}

/* Herói */
.hero-bg {
    background-image: linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, .15) 40%, rgba(0, 0, 0, .55) 100%), url('https://images.unsplash.com/photo-1558769132-cb1aea458c5e?w=1920&q=85&auto=format&fit=crop');
    background-size: cover;
    background-position: center 30%;
}

.hero-title-line {
    opacity: 0;
    transform: translateY(30px);
    animation: riseIn 1.2s cubic-bezier(.2, .7, .2, 1) forwards;
}

.hero-title-line.d1 {
    animation-delay: .2s;
}

.hero-title-line.d2 {
    animation-delay: .45s;
}

.hero-title-line.d3 {
    animation-delay: .7s;
}

.hero-title-line.d4 {
    animation-delay: .95s;
}

@keyframes riseIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA com contorno elegante */
/* CTA com contorno elegante - BASE */
.btn-outline {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .9rem;
    padding: 1.1rem 2.4rem;
    border: 1px solid currentColor;
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    font-size: .78rem;
    letter-spacing: .35em;
    text-transform: uppercase;
    background: transparent;
    cursor: pointer;
    overflow: hidden;
    transition: color .4s ease, border-color .4s ease;
    color: #fff; /* Cor padrão inicial */
}

/* O fundo que desliza */
.btn-outline::before {
    content: "";
    position: absolute;
    inset: 0;
    /* CORREÇÃO: Usamos uma cor fixa ou variável, não currentColor */
    background: #fff; 
    transform: translateX(-101%);
    transition: transform .5s cubic-bezier(.7, 0, .3, 1);
    z-index: 0;
}

.btn-outline>* {
    position: relative;
    z-index: 1;
}

.btn-outline:hover::before {
    transform: translateX(0);
}

/* Estágios de Hover - CORREÇÃO DE CONTRASTE */
.btn-outline.on-dark:hover {
    color: #000 !important; /* Texto preto sobre fundo branco que desliza */
}

.btn-outline.on-light {
    color: #000;
    border-color: #000;
}

.btn-outline.on-light::before {
    background: #000; /* Fundo preto desliza no modo light */
}

.btn-outline.on-light:hover {
    color: #fff !important; /* Texto branco sobre fundo preto */
}

/* VERSÃO GOLD (A do seu print) */
.btn-outline.gold-bd {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-outline.gold-bd::before {
    background: var(--gold); /* Fundo desliza em Dourado */
}

.btn-outline.gold-bd:hover {
    /* Se o dourado for escuro, use #fff. Se for claro, use #000 */
    color: #000 !important; 
    border-color: var(--gold);
}

/* Animação de revelação */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s cubic-bezier(.2, .7, .2, 1);
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger>* {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .9s ease, transform 1s cubic-bezier(.2, .7, .2, 1);
}

.reveal-stagger.in>*:nth-child(1) {
    transition-delay: .05s;
}

.reveal-stagger.in>*:nth-child(2) {
    transition-delay: .15s;
}

.reveal-stagger.in>*:nth-child(3) {
    transition-delay: .25s;
}

.reveal-stagger.in>*:nth-child(4) {
    transition-delay: .35s;
}

.reveal-stagger.in>*:nth-child(5) {
    transition-delay: .45s;
}

.reveal-stagger.in>*:nth-child(6) {
    transition-delay: .55s;
}

.reveal-stagger.in>* {
    opacity: 1;
    transform: translateY(0);
}

/* Filtros */
.filter-btn {
    position: relative;
    padding: .75rem 0;
    font-size: .72rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 400;
    transition: color .3s ease;
    cursor: pointer;
}

.filter-btn::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: var(--ink);
    transition: width .4s ease, left .4s ease;
}

.filter-btn:hover {
    color: var(--ink);
}

.filter-btn.active {
    color: var(--ink);
}

.filter-btn.active::after {
    width: 100%;
    left: 0;
}

/* Cartão do produto */
.product {
    position: relative;
    cursor: pointer;
}

.product-img-wrap {
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.4s cubic-bezier(.2, .7, .2, 1), filter .6s ease;
    display: block;
}

.product:hover .product-img {
    transform: scale(1.06);
    filter: brightness(.92);
}

.product-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #111;
    color: #fff;
    font-size: .6rem;
    letter-spacing: .3em;
    padding: .35rem .65rem;
    text-transform: uppercase;
    z-index: 2;
}

.product-heart {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .3s ease, transform .3s ease;
    z-index: 3;
    border: none;
}

.product-heart:hover {
    transform: scale(1.08);
    background: #fff;
}

.product-heart i {
    width: 16px;
    height: 16px;
    color: #111;
    transition: color .3s ease, fill .3s ease;
}

.product-heart.liked i {
    color: var(--gold);
    fill: var(--gold);
}

.product-quick {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, .97);
    padding: .9rem 1rem;
    transform: translateY(101%);
    transition: transform .5s cubic-bezier(.2, .7, .2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    font-size: .72rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    font-weight: 500;
    color: #111;
    cursor: pointer;
    border: none;
    width: 100%;
}

.product:hover .product-quick {
    transform: translateY(0);
}

.product-quick i {
    width: 14px;
    height: 14px;
    color: var(--whats);
}

.product-info {
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
}

.product-name {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: .01em;
}

.product-cat {
    font-size: .65rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: .25rem;
}

.product-price {
    font-size: .85rem;
    color: var(--ink);
    font-weight: 400;
    white-space: nowrap;
}

/* Regra do título da seção */
.eyebrow {
    font-size: .7rem;
    letter-spacing: .4em;
    text-transform: uppercase;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    gap: .8rem;
}

.eyebrow::before,
.eyebrow.double::after {
    content: "";
    display: inline-block;
    width: 28px;
    height: 1px;
    background: var(--gold);
}

/* Marquee */
.marquee {
    display: flex;
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 1.25rem 0;
    background: #fafafa;
}

.marquee-track {
    display: flex;
    gap: 3rem;
    white-space: nowrap;
    animation: marquee 32s linear infinite;
    padding-right: 3rem;
}

.marquee-item {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.6rem;
    color: var(--ink);
    letter-spacing: .02em;
    display: inline-flex;
    align-items: center;
    gap: 3rem;
}

.marquee-item .dot {
    color: var(--gold);
    font-style: normal;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Faixa UGC */
.ugc-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
    cursor: pointer;
}

.ugc-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(.2, .7, .2, 1), filter .4s ease;
}

.ugc-item:hover img {
    transform: scale(1.08);
    filter: brightness(.85);
}

.ugc-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(17, 17, 17, .0);
    transition: background .4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ugc-item:hover::after {
    background: rgba(17, 17, 17, .25);
}

.ugc-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .4s ease;
    z-index: 2;
    color: #fff;
    pointer-events: none;
}

.ugc-item:hover .ugc-overlay {
    opacity: 1;
}

/* WhatsApp flutuante */
.wa-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 60;
    display: flex;
    align-items: center;
    gap: .6rem;
    opacity: 0;
    transform: translateY(20px) scale(.9);
    transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1);
}

.wa-float.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.wa-btn {
    width: 58px;
    height: 58px;
    border-radius: 999px;
    background: var(--whats);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(37, 211, 102, .35), 0 4px 10px rgba(0, 0, 0, .1);
    color: #fff;
    position: relative;
    transition: transform .35s ease;
    text-decoration: none;
}

.wa-btn:hover {
    transform: scale(1.07);
}

.wa-btn i {
    width: 26px;
    height: 26px;
}

.wa-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: var(--whats);
    opacity: .45;
    animation: pulseWA 2.2s ease-out infinite;
    z-index: -1;
}

@keyframes pulseWA {
    0% {
        transform: scale(1);
        opacity: .45;
    }
    80% {
        transform: scale(1.7);
        opacity: 0;
    }
    100% {
        transform: scale(1.7);
        opacity: 0;
    }
}

.wa-bubble {
    background: #fff;
    color: #111;
    padding: .7rem 1rem;
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    font-size: .78rem;
    letter-spacing: .05em;
    font-weight: 400;
    max-width: 220px;
    position: relative;
    line-height: 1.35;
}

.wa-bubble::after {
    content: "";
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #fff;
}

.wa-bubble strong {
    font-weight: 600;
    color: var(--gold-deep);
}

/* Toast */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    background: #111;
    color: #fff;
    padding: .9rem 1.4rem;
    font-size: .72rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity .4s ease, transform .4s ease;
    z-index: 70;
    pointer-events: none;
    border-left: 2px solid var(--gold);
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Divisor dourado */
.gold-divider {
    width: 40px;
    height: 1px;
    background: var(--gold);
    display: inline-block;
}

/* Indicador de rolagem */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, .7);
    font-size: .65rem;
    letter-spacing: .4em;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem;
    animation: fadeInDelay 2s ease forwards;
    opacity: 0;
}

.scroll-indicator .line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, .7), transparent);
    position: relative;
    overflow: hidden;
}

.scroll-indicator .line::after {
    content: "";
    position: absolute;
    top: -40px;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(to bottom, transparent, #fff);
    animation: scrollDown 2.2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% {
        top: -40px;
    }
    100% {
        top: 100%;
    }
}

@keyframes fadeInDelay {
    0%,
    60% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Imagem de introdução da categoria */
.cat-visual {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
}

.cat-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease;
}

.cat-visual:hover img {
    transform: scale(1.05);
}

/* Menu mobile */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 55;
    display: flex;
    flex-direction: column;
    padding: 100px 2rem 2rem;
    transform: translateY(-100%);
    transition: transform .5s cubic-bezier(.7, 0, .3, 1);
}

.mobile-menu.open {
    transform: translateY(0);
}

.mobile-menu a {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: #111;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    letter-spacing: .01em;
}

/* Rodapé */
.footer {
    background: #0a0a0a;
    color: #e8e8e8;
}

.footer a {
    color: #c0c0c0;
    transition: color .3s ease;
}

.footer a:hover {
    color: var(--gold);
}

/* Ocultar a barra de rolagem da linha de filtro em dispositivos móveis */
.filter-row {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.filter-row::-webkit-scrollbar {
    display: none;
}

/* Pequeno utilitário: transição suave de imagem */
img {
    transition: opacity .5s ease;
}

img.loading-fade {
    opacity: 0;
}

img.loaded {
    opacity: 1;
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    .marquee-item {
        font-size: 1.15rem;
        gap: 2rem;
    }
    .hero-bg {
        background-position: center center;
    }
}

body {
    box-sizing: border-box;
}

/* Ajuste para o container do menu mobile */
@media (max-width: 768px) {
    .filter-row {
        display: flex !important;
        flex-wrap: nowrap !important; /* Impede que os itens pulem para a linha de baixo */
        overflow-x: auto !important; /* Ativa o scroll lateral */
        justify-content: flex-start !important; /* Alinha à esquerda para permitir o início do scroll */
        padding-left: 15px;
        padding-right: 15px;
        -webkit-overflow-scrolling: touch; /* Deixa o scroll suave no iPhone */
        scrollbar-width: none; /* Esconde a barra no Firefox */
    }

    .filter-row::-webkit-scrollbar {
        display: none; /* Esconde a barra no Chrome/Safari */
    }

    .filter-btn {
        flex: 0 0 auto; /* Impede que os botões esmaguem para caber na tela */
        margin-right: 10px; /* Espaço entre os itens no mobile */
    }
}

:root {
    --impulso-blue: #0067ff;
    --white: #FFFFFF;
}

.impulso-modal {
    display: none; 
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999999; /* Garante que fique acima de tudo */
    width: 90%;
    max-width: 400px;
    background-color: var(--white);
    border: 2px solid var(--impulso-blue);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.impulso-modal.active {
    display: block;
    animation: impulsoSlideUp 0.5s ease-out;
}

@keyframes impulsoSlideUp {
    from { bottom: -100px; opacity: 0; }
    to { bottom: 30px; opacity: 1; }
}

.impulso-content {
    padding: 35px 20px;
    text-align: center;
    position: relative;
}

/* Botão de Fechar Melhorado */
.close-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    font-size: 35px;
    line-height: 1;
    color: #333;
    cursor: pointer;
    padding: 10px; /* Área de clique aumentada */
    z-index: 1000001;
    transition: color 0.2s;
}

.close-btn:hover { color: var(--impulso-blue); }

.impulso-header {
    color: var(--impulso-blue);
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.headline { color: #222; font-size: 1.1rem; margin-bottom: 10px; }
.subline { color: #666; font-size: 0.9rem; margin-bottom: 20px; }

.impulso-btn {
    display: block;
    background-color: var(--impulso-blue);
    color: #fff !important;
    text-decoration: none;
    padding: 15px;
    border-radius: 8px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 103, 255, 0.3);
}