/* style.css */
:root {
    --bg-white: #ffffff;
    --bg-light: #f7f7f7;
    --bg-dark: #121212;
    --text-primary: #111111;
    --text-muted: #666666;
    --border-light: #e5e5e5;
    --border-dark: #222222;
    --accent-blue: #0066ff;
    --whatsapp-green: #25d366;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-white);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

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

/* SCROLL REVEAL ANIMATIONS */
.reveal, .reveal-left {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active, .reveal-left.active {
    opacity: 1;
    transform: translateY(0);
}

/* EFEITO SHIMMER E FLOATING WHATSAPP */
.shimmer-btn {
    position: relative;
    overflow: hidden;
}

.shimmer-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(
        60deg,
        rgba(255, 255, 255, 0) 20%,
        rgba(255, 255, 255, 0.35) 50%,
        rgba(255, 255, 255, 0) 80%
    );
    transform: rotate(25deg);
    transition: all 0.6s ease;
}

.shimmer-btn:hover::after {
    left: 130%;
}

.floating-wa {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 58px;
    height: 58px;
    background-color: var(--whatsapp-green);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: wa-pulse 2s infinite;
}

.floating-wa:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

@keyframes wa-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* HEADER TRANSPARENTE E FIXO */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(18, 18, 18, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.main-header.scrolled {
    background-color: rgba(12, 12, 12, 0.92);
    border-bottom-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}

.logo a {
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    color: #ffffff;
}

.logo span {
    color: var(--accent-blue);
}

.menu {
    display: flex;
    gap: 30px;
}

.menu a {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffffff;
    position: relative;
    padding: 5px 0;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.menu a:hover {
    opacity: 1;
}

.menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

.menu a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-header-wa {
    background-color: #ffffff;
    color: var(--text-primary);
    padding: 10px 18px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.btn-header-wa:hover {
    background-color: var(--whatsapp-green);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-mobile-menu {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: #ffffff;
    cursor: pointer;
    padding: 5px;
}

/* HERO BANNER */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
    overflow: hidden;
    padding-top: 75px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('imagem perfume.jpg') no-repeat center center / cover;
    filter: brightness(0.4);
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.85) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    padding: 6px 14px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.hero-content h2 {
    font-size: 3.8rem;
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.05;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    color: #dddddd;
    margin-bottom: 35px;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-dark {
    background-color: var(--bg-dark);
    color: #ffffff;
    padding: 16px 32px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s ease, background-color 0.3s ease;
}

.hero .btn-dark {
    background-color: #ffffff;
    color: var(--text-primary);
}

.hero .btn-dark:hover {
    background-color: #e5e5e5;
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid #ffffff;
    color: #ffffff;
    padding: 16px 32px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    border-radius: 2px;
    transition: background-color 0.3s ease;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

/* CATEGORIAS */
.smart-categories {
    padding: 80px 24px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.smart-card {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    background-color: var(--bg-light);
    display: flex;
    align-items: flex-end;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

.smart-card img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.smart-card:hover img {
    transform: scale(1.08);
}

.smart-card-info {
    position: relative;
    z-index: 2;
    padding: 30px;
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
    width: 100%;
    color: #ffffff;
}

.smart-card-info h3 {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.smart-card-info span {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* SEÇÕES DE PRODUTO */
.product-section {
    padding: 80px 24px;
}

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

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 15px;
}

.section-tag {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--text-muted);
}

.section-header h2 {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 0.5px;
}

.see-all {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--text-primary);
    padding-bottom: 2px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.product-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 16px;
    transition: transform 0.1s ease-out, border-color 0.3s ease;
    transform-style: preserve-3d;
}

.product-card:hover {
    border-color: var(--text-primary);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.card-tag {
    position: absolute;
    top: 24px;
    left: 24px;
    background-color: var(--bg-dark);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 4px 8px;
    z-index: 3;
}

.product-img-container {
    aspect-ratio: 1/1;
    overflow: hidden;
    background-color: var(--bg-light);
    margin-bottom: 16px;
}

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

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

.product-details h3 {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    margin-bottom: 4px;
}

.product-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.btn-buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background-color: var(--bg-dark);
    color: #ffffff;
    padding: 12px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    border-radius: 2px;
    transition: background-color 0.3s ease;
}

.btn-buy:hover {
    background-color: var(--whatsapp-green);
}

/* SEÇÃO INSTAGRAM */
.instagram-section {
    padding: 80px 24px;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.section-sub-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.insta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 35px 0;
}

.insta-item {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    background-color: var(--bg-light);
    border-radius: 2px;
}

.insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.insta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 18, 18, 0.65);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #ffffff;
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.insta-overlay span {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.insta-item:hover img {
    transform: scale(1.08);
}

.insta-item:hover .insta-overlay {
    opacity: 1;
}

.insta-cta {
    display: flex;
    justify-content: center;
}

.insta-cta .btn-dark:hover {
    background-color: #333333;
    transform: translateY(-2px);
}

/* FOOTER */
.footer {
    background-color: var(--bg-dark);
    color: #ffffff;
    padding: 60px 0 30px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer h3 {
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.footer h3 span {
    color: var(--accent-blue);
}

.footer h4 {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.footer p {
    font-size: 0.85rem;
    color: #aaaaaa;
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--border-dark);
    padding-top: 25px;
    font-size: 0.75rem;
    color: #777777;
}

/* RESPONSIVIDADE - 2 PRODUTOS POR LINHA NO CELULAR */
@media (max-width: 768px) {
    .container {
        padding: 0 12px;
    }

    /* GRID DE 2 COLUNAS */
    .products-grid,
    .insta-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }

    /* AJUSTES NOS CARDS DE PRODUTO */
    .product-card {
        padding: 8px;
    }

    .card-tag {
        top: 12px;
        left: 12px;
        font-size: 0.55rem;
        padding: 2px 6px;
    }

    .product-details h3 {
        font-size: 0.85rem;
        line-height: 1.2;
    }

    .product-sub {
        font-size: 0.7rem;
        margin-bottom: 10px;
    }

    .btn-buy {
        padding: 9px 4px;
        font-size: 0.65rem;
        letter-spacing: 0;
    }

    /* MENU MOBILE */
    .btn-mobile-menu {
        display: block;
    }

    .menu {
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        background-color: rgba(18, 18, 18, 0.98);
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: none;
    }

    .menu.active {
        display: flex;
    }

    .menu a {
        padding: 14px 24px;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .menu a::after {
        display: none;
    }

    .btn-header-wa {
        padding: 8px 12px;
        font-size: 0.7rem;
    }

    .hero-content h2 {
        font-size: 2.3rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}