@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');
       
/* --- RESET BÁSICO --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* NOVO: Trava definitiva para não vazar a tela no celular */
html, body {
    font-family: 'Lato', sans-serif; 
    background-color: #f5f5f5;
    overflow-x: hidden; 
    max-width: 100vw; 
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- CABEÇALHO / MENU --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: #ffffff;
    border-bottom: 1px solid #eaeaea;
    position: relative; 
    z-index: 1000; /* Garante que o header (e o menu) fiquem por cima de tudo */
}

.logo {
    font-family: 'Playfair Display', serif; 
    font-size: 32px;
    font-weight: 700; 
    letter-spacing: 2px;
    text-transform: uppercase;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav ul li a {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    color: #333;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #a0a0a0;
}

nav ul li a.highlight {
    color: #8c7355;
}

.header-icons {
    display: flex;
    gap: 20px;
    font-size: 18px;
    color: #333;
}

.header-icons i {
    cursor: pointer;
    transition: color 0.3s;
}

.header-icons i:hover {
    color: #a0a0a0;
}

/* Esconde o botão hambúrguer em telas grandes */
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    transition: color 0.3s;
}

.menu-toggle:hover {
    color: #8c7355;
}

/* --- BANNER PRINCIPAL --- */
.hero-banner {
    position: relative;
    width: 100%;
    height: 80vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('banner1.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center; 
    justify-content: center; 
    color: #ffffff;
    z-index: 1; /* Mantém o banner na camada base */
}

.banner-content {
    text-align: center;
    max-width: 600px;
}

.subtitle {
    font-size: 14px;
    letter-spacing: 5px;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-align: center; 
    margin-right: -5px; 
    display: block; 
}

.title {
    font-family: 'Playfair Display', serif; 
    font-size: 75px;
    line-height: 1.1; 
    font-weight: 600; 
    margin-bottom: 30px;
}

.shop-btn {
    display: inline-block;
    background-color: #ffffff;
    color: #1a1a1a;
    padding: 16px 45px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.shop-btn:hover {
    background-color: #1a1a1a;
    color: #ffffff;
}

/* --- Controles do Carrossel --- */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    padding: 20px;
    opacity: 0.7;
    transition: opacity 0.3s;
    z-index: 10;
}

.carousel-arrow:hover { opacity: 1; }
.arrow-left { left: 20px; }
.arrow-right { right: 20px; }

.carousel-dots {
    position: absolute;
    bottom: 30px;
    right: 50px;
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border: 1px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #fff;
}

/* --- SESSÃO CATEGORIAS --- */
.categorias-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 15px 40px;
    max-width: 100%;
}

.categoria-card {
    position: relative;
    height: 600px;
    overflow: hidden;
    cursor: pointer;
}

.categoria-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
    filter: sepia(15%) saturate(85%) contrast(110%);
}

.categoria-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    pointer-events: none;
}

.categoria-content {
    position: absolute;
    bottom: 35px;
    left: 35px;
    color: #ffffff;
    z-index: 2;
}

.categoria-content h2 {
    font-family: 'Playfair Display', serif; 
    font-size: 36px;
    font-weight: 600; 
    letter-spacing: 2px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.categoria-link {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    padding-top: 10px;
    position: relative;
}

.categoria-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 1px;
    background-color: #ffffff;
    transition: width 0.4s ease;
}

.categoria-card:hover .categoria-bg {
    transform: scale(1.08);
}

.categoria-card:hover .categoria-link::before {
    width: 100%;
}

/* --- RODAPÉ (FOOTER) --- */
.site-footer {
    background-color: #1a1a1a; 
    color: #e0e0e0; 
    padding: 60px 40px 20px;
    font-family: 'Lato', sans-serif;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-col h4 {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    word-break: break-word; /* Protege contra links/emails longos */
}

.footer-col ul li a {
    color: #e0e0e0;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #8c7355; 
    padding-left: 5px; 
}

.footer-col ul li i {
    color: #8c7355;
    font-size: 16px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #8c7355;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 12px;
    letter-spacing: 1px;
    color: #888;
}

/* =========================================
   --- MEDIA QUERIES (RESPONSIVIDADE) ---
   ========================================= */

/* Para Tablets (telas menores que 992px) */
@media (max-width: 992px) {
    .categorias-section {
        grid-template-columns: repeat(2, 1fr);
        padding: 15px 20px;
    }

    .title {
        font-size: 55px;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr); 
        gap: 30px;
    }
}

/* Para Celulares (telas menores que 768px) */
@media (max-width: 768px) {
    
    /* --- CABEÇALHO E MENU FLUTUANTE --- */
    header {
        padding: 20px;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        position: absolute; /* O menu agora flutua por cima da foto */
        top: 100%; /* Gruda embaixo do cabeçalho */
        left: 0;
        width: 100%;
        background-color: #ffffff;
        display: none; 
        padding: 20px 0;
        border-top: 1px solid #eaeaea;
        box-shadow: 0px 10px 15px rgba(0,0,0,0.1); 
        z-index: 999; 
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    /* --- BANNER --- */
    .hero-banner {
        height: 60vh; 
    }

    .banner-content {
        padding: 0 20px; 
    }

    .title {
        font-size: 40px; 
        margin-bottom: 20px;
    }

    .subtitle {
        font-size: 11px;
        letter-spacing: 3px;
        margin-right: -3px; 
    }

    .carousel-arrow {
        display: none;
    }

    .carousel-dots {
        right: auto; /* Anula o right do desktop */
        left: 50%; /* Centraliza perfeitamente sem vazar a tela */
        transform: translateX(-50%); 
        bottom: 20px;
    }

    /* --- CATEGORIAS --- */
    .categorias-section {
        grid-template-columns: 1fr;
        padding: 15px;
    }

    .categoria-card {
        height: 400px; 
    }

    .categoria-content h2 {
        font-size: 28px;
    }

    /* --- RODAPÉ --- */
    .site-footer {
        padding: 40px 20px 20px; 
    }

    .footer-container {
        grid-template-columns: 1fr; 
        gap: 30px;
        text-align: center; 
    }

    .footer-col ul li {
        justify-content: center; 
    }

    .social-links {
        justify-content: center; 
    }
}