@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* =========================================
   VARIÁVEIS DE COR E TIPOGRAFIA (MATURARE)
   ========================================= */
:root {
    /* Cores principais (Maturare Cafeteria e Queijaria) */
    --color-bg: #15110f; /* Fundo escuro com tom quente de café */
    --color-primary: #DCA646; /* Amarelo/dourado queijo da logo */
    --color-secondary: #8B4513; /* Marrom café quente */
    --color-accent: #b03a2e; /* Vermelho/Bordô da fita da logo */
    --color-text: #e8e2d9; /* Texto claro quente */
    --color-text-muted: #9e9389;
    --color-white: #ffffff;
    
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    
    /* Layout */
    --container-width: 1200px;
    --transition: all 0.3s ease;
}

/* =========================================
   RESETS E BASE
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: initial; /* Lenis lidará com isso */
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    overflow-anchor: none; /* Mobile Bug Fix */
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center { text-align: center; }
.section { padding: 6rem 0; }

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-white);
    margin-bottom: 2rem;
}

.section-title em {
    color: var(--color-secondary);
    font-style: italic;
}

/* =========================================
   BARRA DE ROLAGEM CUSTOMIZADA
   ========================================= */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-secondary);
}

/* =========================================
   BOTÕES
   ========================================= */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-secondary);
    color: var(--color-bg);
}
.btn-primary:hover {
    background-color: transparent;
    border-color: var(--color-secondary);
    color: var(--color-secondary);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}
.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-sm {
    padding: 0.5rem 1.5rem;
    font-size: 0.8rem;
}

.btn-ifood {
    background-color: #ea1d2c;
    color: white;
    border: 1px solid #ea1d2c;
    box-shadow: 0 5px 15px rgba(234, 29, 44, 0.3);
}
.btn-ifood:hover {
    background-color: #c91825;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(234, 29, 44, 0.5);
}

/* =========================================
   PRELOADER CINEMATOGRÁFICO
   ========================================= */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: url('https://i.postimg.cc/268h6v94/Chat-GPT-Image-7-de-jul-de-2026-15-47-28.png') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.preloader::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(17, 17, 17, 0.85);
    backdrop-filter: blur(15px);
    z-index: -1;
}
.preloader-logo {
    width: auto;
    height: 150px;
    opacity: 0;
    animation: pulseLogoPremium 2s ease-in-out infinite alternate;
}

@keyframes pulseLogoPremium {
    0% { opacity: 0.6; transform: scale(0.95); box-shadow: 0 0 20px rgba(245, 182, 26, 0.2); }
    100% { opacity: 1; transform: scale(1.05); box-shadow: 0 0 60px rgba(245, 182, 26, 0.8); }
}

/* =========================================
   WHATSAPP FLOAT
   ========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    z-index: 9900;
    transition: var(--transition);
}
.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 25px rgba(0,0,0,0.4);
}
.whatsapp-float svg {
    width: 35px;
    height: 35px;
}

/* =========================================
   HEADER
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    transition: background 0.3s ease, padding 0.3s ease;
}
.header.scrolled {
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.header.scrolled .logo {
    opacity: 1;
    visibility: visible;
}
.logo img {
    height: 100px;
    width: auto;
    transition: transform 0.3s ease;
}
.logo:hover img {
    transform: scale(1.05);
}
.nav-links {
    display: flex;
    gap: 2rem;
}
.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.9);
}
.nav-links a:hover {
    color: var(--color-secondary);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('https://i.postimg.cc/D0d809Jn/Chat-GPT-Image-11-de-jul-de-2026-14-05-43.png') no-repeat center center/cover;
}
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}
.hero-background .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(17, 17, 17, 0.4) 0%, rgba(17, 17, 17, 0.9) 100%);
    z-index: 0;
}
.hero-content {
    position: relative;
    text-align: center;
    z-index: 1;
    margin-top: 350px; /* Desce o botão para não cobrir a logo no fundo */
}
.hero-title {
    font-family: var(--font-heading);
    font-size: 6rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 1rem;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}
.hero-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    color: var(--color-white);
    font-weight: 300;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}
.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--color-white);
    border-radius: 15px;
    display: block;
    position: relative;
}
.wheel {
    width: 4px;
    height: 10px;
    background: var(--color-secondary);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}
@keyframes scrollWheel {
    0% { top: 10px; opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

/* =========================================
   NOSSA HISTÓRIA / VIBE
   ========================================= */
.story-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.story-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
}
.story-image-wrapper {
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}
.story-video {
    width: 100%;
    height: 130%; /* Para o parallax funcionar bem */
    object-fit: cover;
}

/* =========================================
   DIFERENCIAIS (PREMIUM CARDS)
   ========================================= */
.differentials {
    background-color: var(--color-bg);
    position: relative;
}
.diff-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}
.premium-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(245, 182, 26, 0.15); /* Borda dourada muito sutil */
    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.premium-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(245, 182, 26, 0.5);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(245, 182, 26, 0.1);
}
.premium-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 2rem;
    color: var(--color-secondary); /* Dourado */
    display: flex;
    justify-content: center;
    align-items: center;
}
.premium-icon svg {
    width: 100%;
    height: 100%;
}
.premium-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--color-white);
    margin-bottom: 1rem;
}
.premium-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =========================================
   GALERIA / CARDÁPIO (SWIPER 3D & TABS)
   ========================================= */
.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.tab-btn {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-text);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}
.tab-btn.active, .tab-btn:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-bg);
}
.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}
.tab-content.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.gallery-swiper, .gallery-swiper-food {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}
.gallery-swiper .swiper-slide, .gallery-swiper-food .swiper-slide {
    background-position: center;
    background-size: cover;
    width: 350px;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.5);
    /* Reflexo sutil para luxo */
    -webkit-box-reflect: below 1px linear-gradient(transparent, transparent, rgba(0,0,0,0.4));
}
.gallery-card {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.swiper-slide:hover .gallery-card {
    transform: scale(1.1);
}
/* =========================================
   AVALIAÇÕES (REVIEWS PREMIUM)
   ========================================= */
.reviews {
    background-color: var(--color-bg-alt);
    position: relative;
    padding: 8rem 0;
}
.reviews::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('https://i.postimg.cc/sXgsb7xY/268712076-2137437016415617-2566658186934276628-n.jpg') no-repeat center center/cover;
    opacity: 0.05;
    filter: grayscale(100%);
    pointer-events: none;
}
.reviews-header {
    margin-bottom: 4rem;
}
.premium-review {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}
.quote-mark {
    font-family: var(--font-heading);
    font-size: 8rem;
    color: var(--color-secondary);
    opacity: 0.2;
    line-height: 0;
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}
.premium-review .review-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--color-white);
    margin-bottom: 2rem;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}
.review-author-block {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-top: 1rem;
    text-align: left;
}
.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-secondary);
}
.review-author-info {
    display: flex;
    flex-direction: column;
}
.premium-review .review-author {
    color: var(--color-white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
    margin-bottom: 4px;
}
.premium-review .stars {
    color: var(--color-secondary);
    font-size: 1rem;
    letter-spacing: 2px;
}
.swiper-pagination-bullet {
    background: var(--color-text-muted);
}
.swiper-pagination-bullet-active {
    background: var(--color-secondary);
}

/* =========================================
   FOOTER PREMIUM
   ========================================= */
.premium-footer {
    background-color: #111111;
    padding: 6rem 0 2rem 0;
    border-top: 1px solid rgba(245, 182, 26, 0.1);
}
.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 4rem;
}
.footer-brand {
    max-width: 350px;
}
.footer-logo {
    height: 100px;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}
.brand-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}
.social-links {
    display: flex;
    gap: 1rem;
}
.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-white);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    padding: 8px 16px;
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}
.social-btn:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-bg);
}
.social-btn svg { width: 18px; height: 18px; }

.footer-details {
    display: flex;
    gap: 4rem;
}
.footer-details h4 {
    font-family: var(--font-heading);
    color: var(--color-secondary);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}
.footer-hours ul {
    list-style: none;
    padding: 0; margin: 0;
}
.footer-hours li {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    color: var(--color-text-muted);
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    border-bottom: 1px dashed rgba(255,255,255,0.05);
    padding-bottom: 0.5rem;
}
.footer-hours li span { color: var(--color-white); font-weight: 500; }

.footer-contact p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.btn-premium-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--color-secondary);
    padding-bottom: 5px;
}
.btn-premium-link svg { width: 18px; height: 18px; transition: transform 0.3s; }
.btn-premium-link:hover { color: var(--color-white); border-color: var(--color-white); }
.btn-premium-link:hover svg { transform: translateX(5px); }

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

/* =========================================
   RESPONSIVO (MOBILE-FIRST APPROACH FIXES)
   ========================================= */
@media (max-width: 992px) {
    .hero {
        background: url('https://i.postimg.cc/LXmdRGpB/Chat-GPT-Image-11-de-jul-de-2026-14-09-49.png') no-repeat center center/cover !important;
    }
    .hero-background {
        background: none !important; 
        background-color: transparent !important;
    }
    .story-container {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 4.5rem;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 1rem 0;
    }
    .logo img {
        height: 50px; /* Menor no mobile */
    }
    .nav-links, .header .btn {
        display: none;
    }
    
    .hero {
        background: url('https://i.postimg.cc/LXmdRGpB/Chat-GPT-Image-11-de-jul-de-2026-14-09-49.png') no-repeat center center/cover;
    }
    .hero-title {
        font-size: 3rem; /* Fonte reduzida para caber 100% na tela mobile */
    }
    .hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .section {
        padding: 3rem 0; /* Menos padding vertical no mobile */
    }
    .section-title {
        font-size: 2.2rem;
    }

    /* Nossa Vibe: Vídeo e texto ocupando toda a largura, vídeo menor */
    .story-image-wrapper {
        height: 300px;
    }

    /* Diferenciais Premium Mobile */
    .diff-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding-bottom: 2rem;
        -webkit-overflow-scrolling: touch;
    }
    .premium-card {
        min-width: 85vw;
        scroll-snap-align: center;
        padding: 2rem 1.5rem; /* Cards compactos */
    }
    .premium-icon { 
        width: 50px; height: 50px; 
    }

    /* Galeria Tabs e Swiper 3D Otimizado */
    .gallery-tabs {
        flex-direction: row;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    .tab-btn {
        padding: 0.6rem 1.2rem;
        font-size: 1rem; /* Botões menores */
        flex: 1; /* Dividindo espaço igualmente */
    }
    
    .gallery-swiper .swiper-slide, .gallery-swiper-food .swiper-slide {
        width: 240px; /* Slides bem menores para caber no 3D sem quebrar a tela */
        height: 360px;
    }
    
    .premium-review .review-text {
        font-size: 1.1rem;
    }
    .premium-review {
        padding: 0 1rem;
    }
    .quote-mark {
        font-size: 4rem;
        top: 0px;
    }
    .review-avatar {
        width: 50px;
        height: 50px;
    }
    
    /* Footer Premium Mobile */
    .premium-footer {
        padding: 4rem 1rem 7rem 1rem; /* Mais padding no final para evitar sobreposição */
    }
    .footer-grid {
        flex-direction: column;
        gap: 2.5rem;
        text-align: left;
    }
    .footer-details {
        flex-direction: column;
        gap: 2.5rem;
    }
    .footer-brand, .footer-hours, .footer-contact {
        width: 100%;
        max-width: 100%;
    }
    .footer-logo {
        margin-top: -1rem;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
    .footer-brand {
        text-align: center;
    }
    .social-links {
        justify-content: center;
    }
    .footer-hours li {
        /* Remove o column para ficar alinhado à esquerda/direita limpo */
        flex-direction: row; 
        gap: 1rem;
        margin-bottom: 0.8rem;
    }

    /* =========================================
       MOBILE BOTTOM APP BAR
       ========================================= */
    .mobile-bottom-bar {
        display: flex;
        justify-content: space-around;
        align-items: center;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(17, 17, 17, 0.9);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        padding: 0.8rem 0;
        z-index: 9900;
        box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
    }
    
    /* Compensate body for bottom bar */
    body {
        padding-bottom: 70px;
    }
    .whatsapp-float {
        bottom: 90px; /* Elevar acima da bottom bar */
    }

    .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        color: var(--color-text-muted);
        text-decoration: none;
        background: none;
        border: none;
        font-family: var(--font-body);
        font-size: 0.75rem;
        cursor: pointer;
    }
    .nav-item svg {
        width: 24px;
        height: 24px;
        margin-bottom: 4px;
    }
    .nav-item:active, .nav-item:hover, .nav-item.active {
        color: var(--color-secondary);
    }
}

/* =========================================
   STORIES MODAL (CARDÁPIO)
   ========================================= */
.mobile-bottom-bar {
    display: none; /* Hide on desktop */
}
@media (max-width: 768px) {
    .mobile-bottom-bar { display: flex; }
}

.stories-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.stories-modal.active {
    opacity: 1;
    pointer-events: auto;
}
.stories-progress-container {
    display: flex;
    gap: 4px;
    padding: 15px 10px;
    width: 100%;
    position: absolute;
    top: 0;
    z-index: 10001;
}
.story-progress-bar {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
}
.story-progress-fill {
    height: 100%;
    width: 0%;
    background: #fff;
    border-radius: 2px;
}
.stories-header {
    position: absolute;
    top: 25px;
    left: 0;
    width: 100%;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10001;
}
.stories-user {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}
.stories-user img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.5);
    object-fit: cover;
}
.stories-user span {
    font-weight: 600;
    font-size: 0.9rem;
}
.stories-user .stories-time {
    font-weight: 400;
    opacity: 0.7;
    font-size: 0.85rem;
}
.stories-close {
    position: static;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}
.stories-content {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
#stories-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ou cover, dependendo do design das imagens do menu */
    background: #111;
}
.story-tap-left, .story-tap-right {
    position: absolute;
    top: 0;
    height: 100%;
    width: 50%;
    z-index: 10000;
}
.story-tap-left { left: 0; }
.story-tap-right { right: 0; }
\n
/* Barra de Navegação Horizontal Rolável */
.app-categories-nav {
    position: fixed;
    top: 80px; /* Ajuste dependendo do tamanho do seu cabeçalho */
    left: 0; right: 0;
    background-color: #111; /* Cor de fundo */
    z-index: 999;
    padding: 0 1rem;
    display: flex;
    overflow-x: auto; /* Permite rolar horizontalmente */
    -webkit-overflow-scrolling: touch; /* Rolagem suave em telas touch */
    scrollbar-width: none; /* Esconde scrollbar no Firefox */
    gap: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

/* Esconde scrollbar no Chrome/Safari */
.app-categories-nav::-webkit-scrollbar { display: none; }

.app-cat-link {
    color: #888;
    text-decoration: none;
    font-size: 1rem;
    padding: 1rem 0;
    white-space: nowrap; /* Impede que o texto quebre de linha */
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.app-cat-link.active {
    color: #C5A572; /* Cor de destaque (Ex: Dourado) */
    border-bottom: 3px solid #C5A572;
}

/* Espaçamento do container para não ficar atrás da barra fixa */
.app-menu-container {
    margin-top: 150px; 
}

/* =========================================
   STORIES MODAL
   ========================================= */
.stories-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #111;
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.stories-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.stories-content {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 100vh;
    background: #000;
    display: flex;
    flex-direction: column;
}

.stories-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stories-progress-container {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    display: flex;
    gap: 5px;
    z-index: 10;
}

.story-progress-bar {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
}

.story-progress-fill {
    height: 100%;
    width: 0%;
    background: #fff;
}

.stories-header {
    position: absolute;
    top: 30px;
    left: 15px;
    right: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.stories-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stories-user-info img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: contain;
    background: #111;
    border: 1px solid #333;
}

.stories-user-info a {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.stories-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    padding: 0 10px;
}

.stories-touch-area {
    position: absolute;
    top: 80px; /* Abaixo do header */
    bottom: 0;
    width: 50%;
    z-index: 5;
    cursor: pointer;
}
.stories-touch-area.prev {
    left: 0;
}
.stories-touch-area.next {
    right: 0;
}

@media (min-width: 500px) {
    .stories-content {
        height: 90vh;
        border-radius: 12px;
        overflow: hidden;
    }
}

/* Container Principal do Modal */
.stories-modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: #000; /* Fundo totalmente preto */
    z-index: 10000;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.stories-modal.active {
    opacity: 1;
    pointer-events: auto;
}

/* Área das Barrinhas de Progresso */
.stories-progress-container {
    display: flex;
    gap: 4px;
    padding: 15px 10px;
    width: 100%;
    position: absolute;
    top: 0;
    z-index: 10001;
}
.story-progress-bar {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.3); /* Barra cinza/transparente */
    border-radius: 2px;
    overflow: hidden;
}
.story-progress-fill {
    height: 100%;
    width: 0%;
    background: #fff; /* Barra branca preenchendo */
    border-radius: 2px;
}

/* Cabeçalho do Story (Foto, @nome e Botão Fechar) */
.stories-header {
    position: absolute;
    top: 25px; left: 0;
    width: 100%;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10001;
}
.stories-user {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-family: Arial, sans-serif;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}
.stories-user img {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.5);
    object-fit: cover;
}
.stories-user span {
    font-weight: 600;
    font-size: 0.9rem;
}
.stories-user .stories-time {
    font-weight: 400;
    opacity: 0.7;
    font-size: 0.85rem;
}
.stories-close {
    background: none; border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

/* Área da Imagem Central e Zonas de Clique */
.stories-content {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
#stories-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Mostra a imagem inteira sem cortar */
    background: #111;
}
.story-tap-left, .story-tap-right {
    position: absolute;
    top: 0;
    height: 100%;
    width: 50%; /* Metade da tela para cada lado */
    z-index: 10000;
}
.story-tap-left { left: 0; }
.story-tap-right { right: 0; }
