/* =========================================
   RESET E CONFIGURAÇÕES GERAIS
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif; 
}

body {
    background-color: #f4f4f4;
    overflow-x: hidden;
}

li { list-style: none; }
a { text-decoration: none; color: inherit; }

.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

/* EFEITO DE ROLAGEM (SCROLL REVEAL) */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

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

/* =========================================
   1. HEADER & NAVBAR
========================================= */
.header {
    background-color: transparent;
    border-bottom: 1px solid transparent;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.4s, border-bottom 0.4s, box-shadow 0.4s;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex; 
    align-items: center; 
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
}

.nav-logo span {
    font-size: 1.9rem;
    font-weight: 400;
    color: #ffffff;
    transition: color 0.4s;
    margin-top: 5px;
}

.logo-header {
    height: 30px;
    margin-right: 10px;
}

.nav-menu {
    display: none; 
    flex-direction: column;
    position: absolute;
    left: 0; top: 60px;
    background-color: #ffffff;
    width: 100%;
    text-align: center;
    border-top: 1px solid #ddd;
}

.nav-menu.active { display: flex; }
.nav-item { padding: 1rem 0; }

.nav-link {
    font-size: 1.1rem;
    color: #ffffff;
    transition: color 0.3s;
}

.nav-menu.active .nav-link { color: #555; }
.nav-menu.active .nav-link:hover { color: #007BFF; }

/* Destaque do Botão Área do Cliente no Nav */
/* =========================================================================
   AJUSTE DE CONTRASTE E RESPONSIVIDADE DO BOTÃO CLIENTE
========================================= */

/* Estilo padrão (Fundo transparente / No topo da imagem da Home) */
.btn-nav-client {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    color: #00f3ff !important; /* Ciano chamativo em cima do fundo escuro */
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s;
}

.btn-nav-client:hover {
    transform: scale(1.05);
}

/* Quando der scroll ou o menu branco abrir: Muda para Azul institucional */
.header.scrolled .btn-nav-client,
.header.menu-open .btn-nav-client {
    color: #0055ff !important; 
}

/* 📱 REGRAS DE ADAPTAÇÃO PARA CELULAR (Telas até 768px) */
@media (max-width: 768px) {
    /* Esconde o texto escrito para não estourar o espaço do header no telemóvel */
    .btn-nav-client .txt-btn-client {
        display: none;
    }
    
    /* Aumenta o tamanho do ícone do avatar para ficar excelente ao toque do dedo */
    .btn-nav-client {
        font-size: 1.5rem; 
        padding: 5px;
    }
}
.header.scrolled .btn-nav-client {
    color: #007BFF !important;
}

.hamburger { display: block; cursor: pointer; }
.nav-right-mobile { display: flex; align-items: center; gap: 1.2rem; }
.nav-link-social-mobile img { height: 24px; width: 24px; transition: opacity 0.3s; }
.nav-link-social-mobile .icon-black { display: none; }
.nav-link-social-mobile .icon-white { display: block; }

.bar {
    display: block;
    width: 25px; height: 3px;
    margin: 5px auto;
    background-color: #ffffff;
    transition: all 0.3s ease-in-out;
}

/* ESTADO SCROLLED DO HEADER */
.header.scrolled, .header.menu-open {
    background-color: #ffffff;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header.scrolled .nav-logo,
.header.scrolled .nav-logo span,
.header.scrolled .nav-link,
.header.menu-open .nav-logo,
.header.menu-open .nav-logo span,
.header.menu-open .nav-link {
    color: #333;
}

.header.scrolled .hamburger .bar,
.header.menu-open .hamburger .bar { background-color: #333; }
.header.scrolled .nav-link-social-mobile .icon-white { display: none; }
.header.scrolled .nav-link-social-mobile .icon-black { display: block; }

.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* =========================================
   2. HERO SECTION & BOTÕES
========================================= */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1501785888041-af3ef285b470?q=80&w=1470');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1.5rem;
    color: #ffffff;
}

.hero-content { max-width: 600px; }
.hero-title { font-size: 2rem; margin-bottom: 0.5rem; }
.hero-subtitle { font-size: 1.1rem; margin-bottom: 1.5rem; font-weight: 300; }

.btn-primary {
    background-color: #007BFF;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}
.btn-primary:hover { background-color: #0056b3; }

.btn-secondary {
    display: inline-block;
    padding: 0.7rem 1.2rem;
    background-color: #007BFF;
    color: #ffffff;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}
.btn-secondary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* =========================================
   3. SEÇÃO DESTINOS (PADRONIZADA UNIFICADA)
========================================= */
/* 3. EFEITO DE CARREGAMENTO CINZA (SKELETON COMPLIANCE) */
.skeleton-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    flex: 0 0 85%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
}

/* Animação que faz o cinza pulsar suavemente */
@keyframes skeleton-pulse {
    0% { background-color: #e2e8f0; }
    50% { background-color: #edf2f7; }
    100% { background-color: #e2e8f0; }
}

.skeleton-img {
    width: 100%;
    height: 180px;
    animation: skeleton-pulse 1.5s infinite ease-in-out;
}

.skeleton-text {
    height: 20px;
    margin: 20px 15px 10px 15px;
    border-radius: 4px;
    animation: skeleton-pulse 1.5s infinite ease-in-out;
}

.skeleton-text.short {
    width: 60%;
    height: 15px;
    margin-top: 5px;
}

.skeleton-text.btn-placeholder {
    height: 40px;
    border-radius: 6px;
    margin-top: 20px;
}

/* Ajuste no media-query para Desktop não esmagar */
@media (min-width: 768px) {
    .destinos-carousel-wrapper {
        max-width: 1200px;
        margin: 0 auto;
        overflow: visible;
        padding: 0;
    }
    .skeleton-card {
        flex: 0 0 calc(33.333% - 1rem);
    }
}
.destinos {
    padding: 3rem 1.5rem;
    background-color: #ffffff;
}

.destinos-carousel-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 0 1rem;
}

.destinos-container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 1rem;
}

.destino-card, .card-destino-popular {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    flex: 0 0 85%;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}



.card-content, .card-destino-content {
    padding: 1.2rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-content h3, .card-destino-content h3 { font-size: 1.3rem; color: #333; margin-bottom: 0.5rem; }
.card-content p, .card-destino-info { font-size: 0.9rem; color: #666; line-height: 1.6; margin-bottom: 1rem; flex-grow: 1; }

/* Estilos Específicos do CMS Dinâmico */
.cms-carousel-wrapper {
    position: relative;
    width: 100%;
    height: 220px; /* Aumentado de 180px para dar mais proporção às fotos */
    overflow: hidden;
    background-color: #f1f5f9; /* Fundo cinza neutro enquanto carrega */
}
.cms-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.158) !important; /* Escurece para dar contraste em Noronha */
    color: #ffffff !important;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100 !important; /* Joga a seta para a camada mais alta do card */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    transition: background 0.3s;
}

.cms-carousel-btn:hover {
    background: rgba(0, 0, 0, 0.411) !important;
}
/* Posicionamento individual das setas nos cantos do card */
.cms-carousel-btn.prev {
    left: 10px;
}

.cms-carousel-btn.next {
    right: 10px;
}
/* Garante o posicionamento absoluto dos slides e visibilidade controlada */
.cms-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    z-index: 1;
}

.cms-slide.active {
    opacity: 1;
    z-index: 2;
}
.card-destino-info i { color: #007BFF; margin-right: 5px; }
.card-destino-price-box { display: flex; flex-direction: column; margin-bottom: 1rem; }
.price-label { font-size: 0.75rem; color: #888; text-transform: uppercase; }
.price-value { font-size: 1.5rem; font-weight: bold; color: #25D366; }
.price-legal { font-size: 0.75rem; color: #999; font-style: italic; }

/* =========================================
   4. HISTÓRIA (SOBRE NÓS)
========================================= */
.sobre { background-color: #f9f9f9; padding: 3rem 1.5rem; }
.sobre-container { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; max-width: 1200px; margin: 0 auto; }
.sobre-content { text-align: left; }
.sobre-texto { font-size: 1rem; color: #555; line-height: 1.6; margin-bottom: 1rem; }
.sobre-texto.strong { font-weight: 600; color: #333; }
.sobre-imagem img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); }

/* =========================================
   5. CONTATO & FORMULÁRIOS
========================================= */
.contato { padding: 3rem 1.5rem; background-color: #ffffff; }
.contato-container { max-width: 800px; margin: 0 auto; text-align: center; }
.contato-form { display: flex; flex-direction: column; gap: 1.5rem; text-align: left; }
.form-group { display: flex; flex-direction: column; }
.form-group label { font-size: 0.9rem; font-weight: 600; color: #444; margin-bottom: 0.5rem; }
.form-group input, .form-group textarea { width: 100%; padding: 0.8rem 1rem; border: 1px solid #ccc; border-radius: 5px; font-size: 1rem; }

/* =========================================
   6. RODAPÉ & INFRA MARCKS COMPLIANCE
========================================= */
.footer { background-color: #222; color: #ccc; padding: 3rem 1.5rem 0; }
.footer-container { display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: 1200px; margin: 0 auto; text-align: center; }
.footer-logo h3 { font-size: 1.8rem; color: #ffffff; margin-bottom: 0.5rem; }
.footer-logo p { font-size: 0.9rem; color: #aaa; }
.footer-links h4, .footer-social h4 { font-size: 1.2rem; color: #ffffff; margin-bottom: 1rem; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: #ccc; transition: color 0.3s; }
.footer-links a:hover, .footer-social a:hover { color: #007BFF; }
.footer-social a { color: #ccc; font-size: 1.5rem; margin: 0 0.75rem; transition: color 0.3s; }

.footer-bottom {
    text-align: center; padding: 2rem 0; margin-top: 2rem; border-top: 1px solid #444;
    font-size: 0.9rem; color: #aaa; display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.footer-dados-empresariais { font-size: 0.8rem; color: #94a3b8; }
.btn-link-legal { background: none; border: none; color: #00f3ff; font-size: 0.8rem; cursor: pointer; text-decoration: underline; }
.btn-link-legal:hover { color: #ffffff; }
.footer-legal a { font-size: 0.75rem; color: #888; transition: color 0.3s; }
.footer-legal a:hover { color: #00f3ff; }

/* SELO INTEGRADO MARCKS CORE */
.footer-marcks { margin-top: 15px; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; }
.marcks-label { font-size: 0.7rem; color: #888; text-transform: uppercase; letter-spacing: 1px; }
.marcks-core-mini {
    position: relative; display: flex; justify-content: center; align-items: center;
    width: 60px; height: 60px; border-radius: 50%; background: rgba(0, 0, 0, 0.9); border: 2px solid #00f3ff;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.4), inset 0 0 10px rgba(0, 243, 255, 0.2);
    flex-shrink: 0; -webkit-tap-highlight-color: transparent; transition: transform 0.3s;
}
.marcks-core-mini:hover { transform: scale(1.05); }
.marcks-core-mini .marcks-text { font-family: 'Orbitron', sans-serif; font-size: 0.6rem; font-weight: 900; color: white; text-shadow: 1px 1px 0px #0055ff; }
.marcks-core-mini::after { content: ''; position: absolute; top: -6px; left: -6px; right: -6px; bottom: -6px; border-radius: 50%; border: 1px dashed #00f3ff; animation: marcks-spin 20s linear infinite; }
@keyframes marcks-spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* =========================================
   FOOTER LINKS & COOKIE BANNER
========================================= */
.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.policy-link {
    color: var(--accent-cyan);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.policy-link:hover {
    color: var(--text-main);
    text-decoration: underline;
}

/* BANNER BASE (PC) */
.cookie-banner {
    position: fixed;
    bottom: -150%; /* Escondido por padrão */
    left: 0;
    width: 100%;
    background: rgb(178 194 233 / 35%);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 242, 254, 0.2);
    z-index: 99999;
    padding: 20px 24px;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
    transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cookie-text h4 {
    font-size: 16px;
    color: var(--text-main);
    margin-bottom: 8px;
}

.cookie-text p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

.cookie-text a {
    color: var(--accent-cyan);
    text-decoration: none;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.btn-cookie {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cookie-accept {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    border: none;
    color: #000;
}

.btn-cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

.btn-cookie-reject {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-main);
}

.btn-cookie-reject:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* 📱 ADAPTAÇÃO PREMIUM PARA CELULAR (Telas até 768px) */
@media (max-width: 768px) {
    .cookie-banner {
        width: 90%;
        max-width: 400px; /* Transforma em um card compacto centralizado */
        left: 50%;
        transform: translateX(-50%); /* Força o alinhamento no centro da tela */
        bottom: -150%;
        border: 1px solid rgba(0, 242, 254, 0.25); /* Borda completa envolvendo o card */
        border-radius: 16px; /* Cantos arredondados modernos */
        padding: 20px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    }

    /* Ajusta a animação para subir mantendo a centralização do translateX */
    .cookie-banner.show {
        bottom: 20px; /* Flutua a 20px do rodapé do celular */
    }

    .cookie-content {
        flex-direction: column; /* Joga os textos no topo e botões na base */
        align-items: stretch;
        gap: 18px;
    }

    .cookie-text h4 {
        font-size: 15px;
    }

    .cookie-text p {
        font-size: 12.5px;
        text-align: left;
    }

    .cookie-buttons {
        flex-direction: column; /* Empilha os botões verticalmente para dar leitura */
        gap: 10px;
        width: 100%;
    }

    .btn-cookie {
        width: 100%; /* Faz o botão ocupar toda a largura interna do card */
        padding: 12px; /* Área de toque ideal para o polegar */
        text-align: center;
        font-size: 13px;
    }
    
    /* Inverte a ordem visual se quiser o "Aceitar Tudo" no topo da pilha */
    .btn-cookie-accept {
        order: 1;
    }
    .btn-cookie-reject {
        order: 2;
    }
}

/* MODAL CADASTUR */
.cadastur-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.8); backdrop-filter: blur(5px); z-index: 100000; justify-content: center; align-items: center; padding: 20px; }
.cadastur-modal-content { background: #111726; border: 1px solid rgba(0, 242, 254, 0.3); border-radius: 12px; max-width: 500px; width: 100%; padding: 30px; position: relative; box-shadow: 0 20px 40px rgba(0,0,0,0.5); animation: modalSurge 0.3s ease-out; }
@keyframes modalSurge { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.cadastur-modal-close { position: absolute; top: 15px; right: 20px; color: #64748b; font-size: 28px; cursor: pointer; }
.cadastur-header h4 { color: #ffffff; font-size: 1.2rem; margin: 10px 0 2px 0; }
.cadastur-header p { color: #64748b; font-size: 0.85rem; margin-bottom: 20px; }
.badge-status-ativo { background: rgba(16, 185, 129, 0.15); color: #10b981; padding: 4px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }
.cadastur-info-card { background: rgba(9, 13, 22, 0.6); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 8px; padding: 10px 18px; margin-bottom: 22px; }
.info-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.04); }
.info-row:last-child { border-bottom: none; }
.info-label { font-size: 0.8rem; color: #64748b; font-weight: 500; }
.info-value { font-size: 0.85rem; color: #f8fafc; font-weight: 600; text-align: right; max-width: 65%; word-wrap: break-word; }
.info-row:nth-child(5) .info-value { color: #10b981; }
.cadastur-notice { font-size: 0.75rem; color: #64748b; margin-bottom: 20px; text-align: center; }
.btn-cadastur-gov { display: block; background: linear-gradient(135deg, #0055ff, #00f3ff); color: #000; text-align: center; padding: 12px; border-radius: 6px; font-weight: 600; }

/* UTILS FLUTUANTES */
.whatsapp-flutuante {
    position: fixed; bottom: 25px; right: 25px; width: 60px; height: 60px; background-color: #25D366; color: #FFFFFF;
    border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 2rem; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); z-index: 1001; transition: transform 0.3s;
}
.whatsapp-flutuante:hover { transform: scale(1.1); }

/* =========================================
   MEDIA QUERIES (DESKTOP - MIN-WIDTH: 768px)
========================================= */
@media (min-width: 768px) {
    .nav-right-mobile {
        display: flex !important;
        align-items: center;
        gap: 20px; /* Espaçamento entre o botão, instagram e hambúrguer */
    }

    .btn-nav-client {
        display: flex !important;
        align-items: center;
        padding: 8px 16px;
        border: 1.5px solid #00f3ff; /* Dá uma cara de botão real no PC */
        border-radius: 8px;
        font-size: 1rem;
    }

    /* Muda a cor da borda quando o menu fica branco (scrolled) */
    .header.scrolled .btn-nav-client,
    .header.menu-open .btn-nav-client {
        border-color: #0055ff;
    }

    /* Esconde o menu hambúrguer no PC, se você já tiver o menu de texto aparecendo */
    .hamburger {
        display: none;
    }
    .nav-menu { display: flex; flex-direction: row; position: static; width: auto; border-top: none; background-color: transparent; }
    .nav-item { padding: 0; margin-left: 2rem; }
    .nav-right-mobile { display: none; }
    
    .hero { height: 70vh; }
    .hero-title { font-size: 3rem; }
    .hero-subtitle { font-size: 1.25rem; }
    
    .destinos { padding: 4rem 1.5rem; }
    .destinos-carousel-wrapper { overflow: visible; padding: 0; max-width: 1200px; margin: 0 auto; }
    .destinos-container { flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
    .destino-card, .card-destino-popular { flex: 0 0 calc(33.333% - 1rem); max-width: 350px; }
    .destino-card img, .cms-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* Faz o preenchimento sem esticar */
    object-position: center !important; /* Garante que o centro da foto apareça, evitando cabeças cortadas */
}
    
    .sobre-container { grid-template-columns: 1fr 1fr; }
    .contato-form .btn-primary { width: auto; align-self: center; padding: 0.75rem 2rem; }
    .footer-container { grid-template-columns: 2fr 1fr 1fr; text-align: left; }
    .footer-social { text-align: right; margin: 0; }
}

/* =========================================
   REGRAS OBRIGATÓRIAS COMPATÍVEIS DO STORIES
========================================= */
.story-player-section { padding: 3rem 1.5rem; background-color: #f9f9f9; text-align: center; }
.story-player-mobile { max-width: 400px; margin: 0 auto; background-color: #1a1a1a; aspect-ratio: 9 / 16; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); position: relative; overflow: hidden; }
.story-media-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.story-media-item { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; visibility: hidden; transition: opacity 0.3s; }
.story-media-item.active { opacity: 1; visibility: visible; }
.story-controls { font-size: 1.2rem; cursor: pointer; z-index: 10; color: #ffffff; }
.story-progress-bars { position: absolute; top: 12px; left: 8px; right: 8px; z-index: 10; display: flex; gap: 4px; }
.progress-bar { flex-grow: 1; height: 3px; background-color: rgba(255, 255, 255, 0.3); border-radius: 3px; overflow: hidden; }
.progress-bar-inner { height: 100%; width: 0%; background-color: #ffffff; transition: width 0.1s linear; }
.story-header { 
    position: absolute; 
    top: 24px; 
    left: 12px; 
    right: 12px; 
    z-index: 9999; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    color: #ffffff; 
    transform: translateZ(0); 
    pointer-events: auto;
}
.story-header::before {
    content: '';
    position: absolute;
    top: -40px; /* Sobe para proteger as barras de progresso */
    left: -20px; /* Estica até as bordas da tela */
    right: -20px;
    height: 120px; /* Altura do sombreamento */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: -1; /* Fica atrás dos botões */
    pointer-events: none; /* Não atrapalha o clique no botão de mute */
}
.story-user-info { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 600; }
.story-user-info img { 
    width: 32px; 
    height: 32px; 
    border-radius: 50%; 
    border: 1px solid rgba(255, 255, 255, 0.5); 
}
.story-nav, .carousel-nav { 
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%); 
    z-index: 20; 
    color: #ffffff; 
    
    /* Geometria do Círculo Fumê */
    background: rgba(0, 0, 0, 0.4); 
    backdrop-filter: blur(4px); /* Efeito de vidro fosco */
    width: 45px; 
    height: 45px; 
    border-radius: 50%; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    
    font-size: 1.3rem; /* Tamanho da seta ajustado para o círculo */
    opacity: 0.8; 
    cursor: pointer; 
    transition: all 0.3s ease; 
}

/* Efeito de Hover nas Setas */
.story-nav:hover, .carousel-nav:hover { 
    opacity: 1; 
    background: rgba(0, 0, 0, 0.7); /* Escurece um pouco ao passar o mouse */
    transform: translateY(-50%) scale(1.1); /* Leve zoom no PC */
}

/* Ajuste fino de posicionamento das setas */
.story-nav.prev { left: 10px; } 
.story-nav.next { right: 10px; }
.carousel-nav.prev { left: 20px; } 
.carousel-nav.next { right: 20px; }

.story-carousel-pc { display: none; position: relative; width: 100%; max-width: 1000px; margin: 0 auto; height: 600px; overflow: hidden; }
.carousel-track { position: relative; width: 100%; height: 100%; }
.carousel-item { position: absolute; top: 0; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; opacity: 0; transform: scale(0.7) translateX(0); transition: all 0.5s ease; overflow: hidden; border-radius: 12px; }
.item-background { 
    position: absolute; 
    top: 0; left: 0; 
    width: 100%; height: 100%; 
    background-size: cover; 
    background-position: center; 
    filter: blur(20px) brightness(0.7); 
    transform: scale(1.1); 
    z-index: 1; 
}
.carousel-item img, .carousel-item .carousel-media { position: relative; z-index: 2; width: auto; height: 95%; object-fit: contain; border-radius: 8px; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3); }
.carousel-item.prev { opacity: 0.6; transform: scale(0.8) translateX(-50%); z-index: 5; }
.carousel-item.active { opacity: 1; transform: scale(1) translateX(0); z-index: 10; }
.carousel-item.next { opacity: 0.6; transform: scale(0.8) translateX(50%); z-index: 5; }

.story-carousel-pc .story-header { z-index: 20; }

@media (min-width: 768px) {
    .story-carousel-pc { display: block; }
    .story-player-mobile { display: none; }
}