/* ==========================================================================
   1. CONFIGURAÇÕES GLOBAIS & RESET
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #030611;
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ==========================================================================
   2. HEADER / NAVBAR SUPERIOR
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 60px; /* Reduzido de 30px para 20px para ficar mais discreto */
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, rgba(3,6,17,0.9) 0%, rgba(3,6,17,0) 100%);
    backdrop-filter: blur(3px);
    z-index: 1000;
    height: 80px; /* Altura máxima controlada */
}

.logo {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 4px;
    color: #ffffff;
}

nav a {
    color: #a3a3a3;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    margin-left: 40px;
    transition: color 0.3s;
}

nav a:hover {
    color: #ffffff;
}

/* ==========================================================================
   3. ESTRUTURA DO CARROSSEL (DESKTOP CAYA ORIGINAL)
   ========================================================================== */
.carousel-viewport {
    position: relative;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 75% 50%, #0c152b 0%, #040814 65%, #010206 100%);
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    /* Forçamos o display correto para o JS não quebrar o alinhamento */
    display: flex !important; 
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s ease;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Corpo interno que alinha as duas colunas perfeitamente */
.slide-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    height: 100%;
    padding: 100px 8% 40px 10%; /* Adicionado 100px de padding no topo para empurrar o anúncio para baixo do menu */
    margin: 0 auto;
    box-sizing: border-box;
}

/* ==========================================================================
   4. COLUNA ESQUERDA (IMAGEM + TAG + BOTÃO INFERIOR)
   ========================================================================== */
.slide-content-left {
    width: 45%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 62vh;       /* Aumentado de 55vh para 62vh para dar respiro ao conjunto */
    justify-content: space-between;
    transform: translateX(-30px);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}

.slide.active .slide-content-left {
    transform: translateX(0);
    opacity: 1;
}

.brand-tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: #4f6b9c;
    font-weight: 500;
}

.product-image-container {
    width: 100%;
    height: 48vh;       /* Aumentado de 40vh para 48vh para dar mais altura */
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-container img {
    max-width: 115%;     /* Permitido expandir um pouco além da margem base para ganhar corpo */
    max-height: 100%;
    object-fit: contain; /* Mantém a proporção perfeita sem distorcer ou achatar a foto */
    transition: transform 0.3s ease; /* Efeito extra: suavidade caso queira aplicar hover futuramente */
}

/* ==========================================================================
  4 NOVA REÇÃO: BOTÕES DE REDES SOCIAIS (WHATSAPP & TIKTOK)
   ========================================================================== */
.social-buttons-row {
    display: flex;
    gap: 15px;
    width: 100%;
    max-width: 360px; /* Alinhado harmonicamente com o bloco da imagem */
    margin-top: 20px;
}

.btn-social-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.02);
    color: #ffffff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Tamanho controlado para os ícones internos */
.btn-social-item svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s;
}

/* Efeito Hover Luxuoso (Minimalista) */
.btn-social-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-social-item:hover svg {
    transform: scale(1.15);
}

/* Cores sutis nos ícones ao passar o mouse (Opcional - mantém a elegância CAYA) */
.btn-whatsapp:hover svg {
    color: #25D366;
}

.btn-tiktok:hover svg {
    color: #fe2c55;
}

/* Responsivo para Mobile */
@media (max-width: 992px) {
    .social-buttons-row {
        max-width: 280px;
        margin: 15px auto 0 auto;
    }
    .btn-social-item {
        padding: 10px 15px;
        font-size: 10px;
    }
}

.btn-premium:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

/* ==========================================================================
   5. COLUNA DIREITA (CAIXA AMAZON)
   ========================================================================== */

.amazon-ad-box {
    background: rgba(11, 13, 23, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 25px 30px; /* Reduzido o espaçamento interno para compactar */
    width: 45%;         /* Ajustado de 48% para 45% */
    max-width: 460px;   /* Reduzido de 540px para 460px para ficar mais estreita */
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}

.slide.active .amazon-ad-box {
    transform: scale(1);
    opacity: 1;
}

.product-title-amazon {
    font-size: 24px; /* Reduzido de 28px */
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.5px;
    color: #ffffff;
    margin-bottom: 15px; /* Menor margem */
}

.product-title-amazon span {
    display: block;
    color: #a3a3a3;
    font-weight: 400;
    font-size: 20px; /* Reduzido de 24px */
    margin-top: 4px;
}

.rating-badge-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px; /* Reduzido de 25px */
}

.amazon-badge {
    background: #232f3e;
    color: #ff9900;
    font-size: 10px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars {
    color: #ffa41c;
    font-size: 14px;
    letter-spacing: 1px;
}

.rating-count {
    font-size: 13px;
    color: #00a8e8;
    text-decoration: none;
}

.price-container {
    margin-bottom: 5px;
}

.price-currency {
    font-size: 16px;
    vertical-align: top;
    position: relative;
    top: 6px;
    font-weight: 500;
}

.price-value {
    font-size: 34px; /* Reduzido de 38px */
    font-weight: 600;
    letter-spacing: -1px;
}

.price-details {
    font-size: 13px;
    color: #888888;
    margin-top: 5px;
    margin-bottom: 15px;
}

.stock-alert {
    color: #ff6b6b;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 15px; /* Reduzido de 25px */
}

.amazon-bullets {
    list-style: none;
    margin-bottom: 20px; /* Reduzido de 30px */
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 15px;
}

.amazon-bullets li {
    font-size: 12px; /* Reduzido de 13px */
    color: #cccccc;
    margin-bottom: 8px; /* Lista mais compacta */
    position: relative;
    padding-left: 18px;
    line-height: 1.4;
}

.amazon-bullets li::before {
    content: "•";
    color: #ff9900;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.btn-amazon-buy {
    display: block;
    width: 100%;
    background: #ffd814;
    color: #0f1111;
    text-align: center;
    padding: 14px;
    border-radius: 100px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    border: none;
}

.btn-amazon-buy:hover {
    background: #f7ca00;
}

/* ==========================================================================
   6. CONTROLES DO CARROSSEL
   ========================================================================== */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.prev-btn { left: 40px; }
.next-btn { right: 40px; }

.carousel-indicators {
    position: absolute;
    bottom: 40px;
    left: 10%;
    display: flex;
    gap: 15px;
    z-index: 10;
}

.indicator {
    width: 35px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: background 0.3s;
}

.indicator.active {
    background: #ffffff;
}

/* ==========================================================================
   7. ADAPTAÇÃO RESPONSIVA (MOBILE & TABLETS)
   ========================================================================== */
@media (max-width: 992px) {
    header {
        padding: 15px 20px;
    }
    
    nav {
        display: none;
    }

    .carousel-viewport {
        height: auto;
        min-height: 100vh;
        overflow-y: auto;
    }

    .slide {
        position: relative;
        width: 100%;
        height: auto;
        min-height: 100vh;
        padding: 90px 0 60px 0;
        display: none !important; /* Reseta o comportamento absolute no mobile */
    }

    .slide.active {
        display: flex !important;
    }

    .slide-body {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 25px;
        height: auto;
        padding: 0 20px;
    }

    .slide-content-left {
        width: 100%;
        height: auto;
        align-items: center;
        text-align: center;
        transform: none !important;
        opacity: 1 !important;
        gap: 15px;
    }

    .product-image-container {
        height: 30vh;
        margin: 10px 0;
    }

    .btn-premium {
        width: 100%;
        max-width: 280px;
    }

    .amazon-ad-box {
        width: 100%;
        max-width: 100%;
        padding: 25px 20px;
        transform: none !important;
        opacity: 1 !important;
    }

    .product-title-amazon {
        font-size: 22px;
        text-align: left;
    }

    .product-title-amazon span {
        font-size: 18px;
    }

    .nav-btn {
        top: 25vh;
    }

    .prev-btn { left: 10px; }
    .next-btn { right: 10px; }

    .carousel-indicators {
        left: 50%;
        transform: translateX(-50%);
        bottom: 20px;
    }
}

/* ==========================================================================
   8. PÁGINA SOBRE NÓS (CONCEITO CAYA)
   ========================================================================== */
.about-container {
    position: relative;
    width: 100vw;
    min-height: 100vh;
    background: radial-gradient(circle at 75% 50%, #0c152b 0%, #040814 65%, #010206 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    padding: 120px 8% 40px 10%;
    margin: 0 auto;
    box-sizing: border-box;
}

.about-content-left {
    width: 45%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.about-main-title {
    font-size: 36px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -0.5px;
    color: #ffffff;
    margin-bottom: 10px;
}

.about-main-title span {
    display: block;
    color: #a3a3a3;
}

.about-text {
    font-size: 14px;
    color: #cccccc;
    line-height: 1.6;
    font-weight: 300;
    text-align: left;
}

/* Caixa da direita estilizada para harmonizar com a caixa Amazon */
.about-spec-box {
    background: rgba(11, 13, 23, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    padding: 45px;
    width: 45%;
    max-width: 500px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.spec-box-title {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
    color: #ffffff;
    margin-bottom: 25px;
    text-transform: uppercase;
}

/* Ajuste Responsivo Mobile para a página Sobre */
@media (max-width: 992px) {
    .about-body {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 40px;
        padding: 110px 20px 40px 20px;
    }

    .about-content-left, .about-spec-box {
        width: 100%;
        max-width: 100%;
    }

    .about-main-title {
        font-size: 26px;
    }
}
/* ==========================================================================
   9. CHAT CONCIERGE PREMIUM (ESTRUTURA COMPLETA RESETADA)
   ========================================================================== */
.fb-chat-widget {
    position: fixed;
    bottom: 0;
    left: 30px;
    right: auto !important;
    width: 320px;
    background: rgba(11, 13, 23, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: none;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.6);
    z-index: 99999 !important;
    display: flex;
    flex-direction: column;
    font-family: 'Inter', sans-serif;
}

/* Barra Superior */
.fb-chat-header {
    background: rgba(255, 255, 255, 0.04);
    padding: 14px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    user-select: none;
}

.fb-chat-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.online-indicator {
    width: 8px;
    height: 8px;
    background-color: #00e676;
    border-radius: 50%;
    box-shadow: 0 0 8px #00e676;
}

.fb-chat-header h4 {
    font-size: 11px;
    letter-spacing: 1.5px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.fb-chat-actions button {
    background: transparent;
    border: none;
    color: #a3a3a3;
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
}

/* Corpo do Chat (Controlado dinamicamente pelo JS) */
.fb-chat-body {
    height: 380px;
    display: flex;
    flex-direction: column;
    transition: display 0.1s ease; /* Transição simples de estado */
}

/* Área de Mensagens */
.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(3, 6, 17, 0.3);
}

/* Balões Estilizados */
.msg {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.4;
    max-width: 85%;
    word-wrap: break-word;
}

.ai-msg {
    background: rgba(255, 255, 255, 0.06);
    color: #e3e3e3;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.user-msg {
    background: #4f6b9c;
    color: #ffffff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

/* Rodapé de Input */
.chat-input-area {
    padding: 12px;
    display: flex;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(11, 13, 23, 0.98);
}

#chatInput {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 8px 12px;
    color: #ffffff;
    font-size: 12px;
}

#chatInput:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
}

#sendChat {
    background: #ffffff;
    color: #030611;
    border: none;
    padding: 0 15px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.2s;
}

#sendChat:hover {
    background: #e3e3e3;
}

/* Responsivo para Telas Menores */
@media (max-width: 992px) {
    .fb-chat-widget {
        left: 15px;
        right: auto !important;
        width: 290px;
    }
    .fb-chat-body {
        height: 320px;
    }
}
/* ==========================================================================
   10. VISUALIZAÇÃO COM ZOOM (LIGHTBOX PREMIUM)
   ========================================================================== */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(3, 6, 17, 0.95); /* Fundo escuro do estúdio */
    backdrop-filter: blur(8px); /* Desfoca suavemente o fundo do site */
    z-index: 100000; /* Fica na frente até mesmo do chat aberto */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Classe disparada pelo JavaScript para abrir */
.lightbox-overlay.lightbox-open {
    opacity: 1;
    visibility: visible;
}

.lightbox-img {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-overlay.lightbox-open .lightbox-img {
    transform: scale(1); /* Dá um efeito sutil de aproximação ao abrir */
}

/* Botão de fechar (X) no topo direito */
.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #ffffff;
    font-size: 40px;
    font-weight: 200;
    cursor: pointer;
    user-select: none;
    transition: color 0.2s, transform 0.2s;
}

.lightbox-close:hover {
    color: #a3a3a3;
    transform: scale(1.1);
}

/* Ajuste responsivo para celulares */
@media (max-width: 768px) {
    .lightbox-close {
        top: 20px;
        right: 25px;
        font-size: 35px;
    }
}
/* ==========================================================================
   11. MENU MOBILE RETRÁTIL PREMIUM
   ========================================================================== */

/* Esconde o botão hambúrguer por padrão no Desktop */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 2001;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

/* Menu Mobile Oculto (Desliza da direita) */
.nav-mobile {
    position: fixed;
    top: 0;
    right: -300px; /* Escondido para fora da tela */
    width: 280px;
    height: 100vh;
    background: #030611; /* Cor do estúdio CAYA */
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    z-index: 2000;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-mobile.open {
    right: 0; /* Desliza para dentro da tela */
}

.nav-mobile a {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1.5px;
    transition: color 0.2s;
}

.nav-mobile a:hover {
    color: #a3a3a3;
}

/* Botão de fechar dentro do menu */
.menu-close {
    position: absolute;
    top: 24px;
    right: 30px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 32px;
    font-weight: 200;
    cursor: pointer;
}

/* Máscara escura no fundo do site ao abrir o menu */
.nav-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-mobile-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* MEDIAS QUERIES: Ativa o menu apenas em telas menores (Celulares e Tablets) */
@media (max-width: 768px) {
    .nav-desktop {
        display: none; /* Esconde os links normais */
    }
    
    .menu-toggle {
        display: flex; /* Mostra o botão hambúrguer */
    }
}