/* Reset e configurações gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* Melhoria de acessibilidade e SEO */
:focus {
    outline: 2px solid #333;
    outline-offset: 2px;
}

/* Skip link para leitores de tela */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #333;
    color: #fff;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    z-index: 10000;
    width: auto;
    height: auto;
    clip: auto;
    overflow: visible;
}

/* Melhorar hierarquia de headings */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 500;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}



/* Main Header */
.main-header {
    background: #fff;
    padding: 20px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    text-decoration: none;
}

.logo-image {
    height: 80px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.logo a:hover .logo-image {
    opacity: 0.8;
}

.main-nav {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link:hover {
    color: #666;
}

.nav-link i {
    font-size: 14px;
}

.cta-button {
    background: #333;
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cta-button:hover {
    background: #555;
    transform: translateY(-2px);
}

/* Hero Section com Vídeo */
.hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-video video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    text-align: center;
}

.hero-overlay h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-overlay p {
    font-size: 1.3rem;
    color: #fff;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Products Section */
.products-section {
    padding: 80px 0;
    background: #fff;
}

.products-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 50px;
}

/* Filter Buttons */
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 12px 24px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
}

.filter-btn:hover,
.filter-btn.active {
    background: #333;
    color: #fff;
    border-color: #333;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

@media (min-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
}

.product-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    min-height: 500px;
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.product-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    color: #fff;
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 7px;
    font-weight: 600;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(6px);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    opacity: 0.85;
}

.product-badge:hover {
    transform: scale(1.02);
    opacity: 1;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Cores específicas por linha de produto via atributos de dados */

/* Óleos Essenciais - Verde natural */
.product-badge[data-type="oleo"] {
    background: linear-gradient(135deg, #4CAF50, #8BC34A) !important;
}

/* Sabonetes Faciais - Azul claro */
.product-badge[data-type="sabonete-facial"] {
    background: linear-gradient(135deg, #2196F3, #64B5F6) !important;
}

/* Sabonetes Esfoliantes - Azul escuro */
.product-badge[data-type="sabonete-esfoliante"] {
    background: linear-gradient(135deg, #0D47A1, #1976D2) !important;
}

/* Sabonetes Corporais - Rosa coral */
.product-badge[data-type="sabonete"] {
    background: linear-gradient(135deg, #FF5757, #FF8A65) !important;
}

/* Água Micelar - Azul água */
.product-badge[data-type="agua-micelar"] {
    background: linear-gradient(135deg, #00BCD4, #4DD0E1) !important;
}

/* Géis Faciais - Verde água */
.product-badge[data-type="gel-facial"] {
    background: linear-gradient(135deg, #26A69A, #66BB6A) !important;
}

/* Géis Esfoliantes - Verde esmeralda */
.product-badge[data-type="gel-esfoliante"] {
    background: linear-gradient(135deg, #009688, #4CAF50) !important;
}

/* Cremes Faciais - Dourado */
.product-badge[data-type="creme-facial"] {
    background: linear-gradient(135deg, #FFC107, #FFEB3B) !important;
}

/* Primer Facial - Champagne */
.product-badge[data-type="primer"] {
    background: linear-gradient(135deg, #FFD54F, #FFF176) !important;
}

/* Tônico - Lavanda */
.product-badge[data-type="tonico"] {
    background: linear-gradient(135deg, #9C27B0, #BA68C8) !important;
}

/* Fixa/Tira Maquiagem - Rosa pink */
.product-badge[data-type="fixa-maquiagem"], 
.product-badge[data-type="tira-maquiagem"] {
    background: linear-gradient(135deg, #E91E63, #F06292) !important;
}

/* Hidratantes - Laranja suave */
.product-badge[data-type="hidratante"] {
    background: linear-gradient(135deg, #FF9800, #FFB74D) !important;
}

/* Cremes para Mãos - Pêssego */
.product-badge[data-type="creme-maos"] {
    background: linear-gradient(135deg, #FF8A65, #FFAB91) !important;
}

/* Creme Protetor - Cinza azulado */
.product-badge[data-type="creme-protetor"] {
    background: linear-gradient(135deg, #607D8B, #90A4AE) !important;
}

/* Creme para Pés - Marrom claro */
.product-badge[data-type="creme-pes"] {
    background: linear-gradient(135deg, #8D6E63, #A1887F) !important;
}

/* Esfoliantes Corporais - Turquesa */
.product-badge[data-type="esfoliante"] {
    background: linear-gradient(135deg, #00ACC1, #4DB6AC) !important;
}

/* Esfoliantes Faciais e Corporais - Verde menta */
.product-badge[data-type="esfoliante-facial-corporal"] {
    background: linear-gradient(135deg, #66BB6A, #81C784) !important;
}

/* Perfumes - Roxo real */
.product-badge[data-type="perfume"] {
    background: linear-gradient(135deg, #673AB7, #9575CD) !important;
}

/* Body Splash - Rosa vibrante */
.product-badge[data-type="body-splash"] {
    background: linear-gradient(135deg, #E91E63, #F44336) !important;
}

/* Desodorantes - Verde limão */
.product-badge[data-type="desodorante"] {
    background: linear-gradient(135deg, #8BC34A, #AED581) !important;
}

/* Cor padrão para badges sem tipo definido */
.product-badge:not([data-type]) {
    background: linear-gradient(135deg, #9E9E9E, #BDBDBD) !important;
}

.product-image {
    height: 280px;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.product-image i {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.product-image span {
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    opacity: 0.9;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: white;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-ean {
    font-size: 11px;
    color: #666;
    margin-bottom: 10px;
    font-family: 'Courier New', monospace;
    background: #f8f9fa;
    padding: 3px 6px;
    border-radius: 3px;
    display: inline-block;
    cursor: pointer;
    transition: background 0.3s ease;
}

.product-ean:hover {
    background: #e9ecef;
}

.features {
    list-style: none;
}

.feature {
    padding: 5px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
    position: relative;
    padding-left: 16px;
    font-size: 13px;
}

.feature:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.feature:last-child {
    border-bottom: none;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.about-card {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid #eee;
}

.about-card h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #2c3e50;
    font-weight: 700;
    position: relative;
}

.about-card h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
}

.about-card p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    margin: 0;
    font-weight: 400;
}

@media (max-width: 768px) {
    .about-section {
        padding: 60px 0;
    }

    .about-card {
        padding: 40px 20px;
        margin: 0 20px;
    }

    .about-card h2 {
        font-size: 2rem;
    }

    .about-card p {
        font-size: 1.1rem;
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-info p {
    margin: 5px 0;
    color: #ccc;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* Botão Flutuante WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse 2s infinite;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-button i {
    font-size: 28px;
    color: white;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.8);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Menu Mobile */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}

.mobile-nav-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: min(350px, 90vw);
    height: 100%;
    background: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 80px 0 20px 0;
    overflow-y: auto;
}

.mobile-nav-menu.active {
    right: 0;
}

.mobile-nav-menu .nav-link {
    display: block;
    padding: 20px 30px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    font-size: 16px;
    transition: background 0.3s ease;
}

.mobile-nav-menu .nav-link:hover {
    background: #f8f9fa;
    color: #333;
}

.mobile-nav-menu .cta-button {
    margin: 20px;
    text-align: center;
    padding: 15px;
    background: #333;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    display: block;
    font-weight: 600;
    transition: all 0.3s ease;
}

.mobile-nav-menu .cta-button:hover {
    background: #555;
}

/* Estilos específicos para o menu mobile organizado */
.mobile-menu-section {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-section h4 {
    margin: 0 0 10px 30px;
    color: #666;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.mobile-menu-section .nav-link {
    padding: 15px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-menu-section .nav-link i {
    width: 16px;
    text-align: center;
    color: #666;
}

.mobile-social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 15px 30px;
}

.mobile-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #333;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-social-links a:hover {
    background: #555;
    transform: scale(1.1);
}

.mobile-social-links a i {
    font-size: 16px;
}

.mobile-menu-cta {
    padding: 20px;
    background: #f8f9fa;
}

.mobile-menu-cta .cta-button {
    width: 100%;
    text-align: center;
    justify-content: center;
}

.category-filter {
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .main-header {
        padding: 15px 0;
    }

    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
    }

    .logo-image {
        height: 60px;
    }

    .main-nav {
        display: none;
    }

    .cta-button {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-nav-overlay.active {
        display: block;
    }

    .mobile-nav-menu {
        display: block;
    }

    .hero {
        height: 70vh;
        min-height: 500px;
    }

    .hero-overlay h1 {
        font-size: 2.5rem;
    }

    .hero-overlay p {
        font-size: 1.1rem;
        padding: 0 20px;
    }

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

    .product-image {
        height: 280px;
    }

    .filter-buttons {
        flex-wrap: wrap;
        gap: 10px;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        height: 60vh;
        min-height: 450px;
    }

    .hero-overlay h1 {
        font-size: 2rem;
    }

    .hero-overlay p {
        font-size: 0.95rem;
        padding: 0 20px;
        line-height: 1.4;
    }

    .products-section {
        padding: 60px 0;
    }

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

    .product-image {
        height: 280px;
    }

    .product-info {
        padding: 25px;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 14px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-button {
        width: 55px;
        height: 55px;
    }

    .whatsapp-button i {
        font-size: 24px;
    }

    /* Menu mobile mais responsivo */
    .mobile-nav-menu {
        width: min(320px, 95vw);
        padding: 70px 0 20px 0;
    }

    .mobile-menu-section h4 {
        margin: 0 0 8px 20px;
        font-size: 11px;
    }

    .mobile-menu-section .nav-link {
        padding: 12px 20px;
        font-size: 14px;
        gap: 12px;
    }

    .mobile-social-links {
        padding: 12px 20px;
        gap: 15px;
    }

    .mobile-social-links a {
        width: 36px;
        height: 36px;
    }

    .mobile-social-links a i {
        font-size: 14px;
    }

    .mobile-menu-cta {
        padding: 15px;
    }

    .mobile-menu-cta .cta-button {
        padding: 12px 20px;
        font-size: 14px;
        width: auto;
        max-width: 200px;
        margin: 0 auto;
    }
}