/* --- VARIÁVEIS GLOBAIS --- */
:root {
    --bg-color: #050505;
    --neon-orange: #FF6B00;
    --text-white: #ffffff;
    --text-gray: #a0a0a0;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Manrope', sans-serif;
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

body {
    background-color: var(--bg-color);
    color: var(--text-white);
    overflow: hidden;
    /* Block mouse scroll */
}

/* --- SEÇÃO 1: HERO (CAPA AUDIOVISUAL) --- */
.hero-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    /* Nova imagem de fundo cinematográfica */
    background: url('bg-hero-video.jpg') no-repeat center right/cover;
    background-color: #050505;
    /* Fallback escuro */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 8vw;
}

/* Camada escura apenas na esquerda para garantir leitura do texto */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    /* Cobre apenas 60% da tela */
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Logos */
.logos-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

#logo-eleve {
    filter: brightness(0) invert(1);
    /* Branco */
}

#logo-cliente {
    border-radius: 50%;
    border: 2px solid var(--neon-orange);
    height: 60px;
    width: 60px;
    object-fit: cover;
}

.divider {
    color: var(--neon-orange);
    font-size: 1.2rem;
    font-weight: 300;
}

/* Textos Hero */
h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 10px;
}

h2 {
    font-size: 1.5rem;
    color: var(--text-gray);
    font-weight: 300;
}

.meta-info {
    border-left: 3px solid var(--neon-orange);
    padding-left: 15px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ccc;
}

.meta-info span {
    color: var(--neon-orange);
    font-weight: 700;
}

/* Botão */
.pulse-button {
    background: transparent;
    border: 1px solid var(--neon-orange);
    color: var(--neon-orange);
    padding: 15px 40px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: 0.3s;
    width: fit-content;
}

.pulse-button:hover {
    background: rgba(255, 107, 0, 0.15);
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.4);
}

/* --- SEÇÃO 2: ECOSSISTEMA (CARDS AUDIOVISUAL) --- */
.eco-section {
    position: relative;
    min-height: 100vh;
    padding: 80px 5vw;
    /* Novo Fundo Tecnológico/Estúdio */
    background: url('bg-eco-video.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Overlay escuro geral na seção 2 */
.eco-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* Mais transparente para mostrar o estúdio */
    backdrop-filter: blur(3px);
}

.eco-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1300px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.eco-header {
    text-align: center;
}

.eco-header h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.eco-header p {
    color: var(--neon-orange);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

/* --- ACCORDION DECK (CORAÇÃO DO LAYOUT) --- */
.accordion-deck {
    display: flex;
    gap: 15px;
    height: 60vh;
    /* Altura fixa para o efeito funcionar */
    width: 100%;
}

.eco-card {
    flex: 1;
    /* Todos começam pequenos */
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    /* Sombra suave */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Estado Ativo (Aberto) */
.eco-card.active {
    flex: 4;
    /* Cresce 4x o tamanho dos outros */
    background: rgba(20, 20, 20, 0.9);
    border-color: var(--neon-orange);
    box-shadow: 0 0 30px rgba(255, 107, 0, 0.15);
    cursor: default;
}

/* -- Conteúdo: Fechado -- */
.card-minimized {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    opacity: 1;
    transition: opacity 0.3s;
}

.eco-card.active .card-minimized {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    /* Tira do fluxo */
}

.card-minimized h4 {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-gray);
    white-space: nowrap;
}

.icon-box {
    color: var(--text-gray);
    opacity: 0.5;
}

/* -- Conteúdo: Aberto -- */
.card-expanded {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 40px;
    opacity: 0;
    transition: opacity 0.5s ease 0.2s;
    /* Delay para aparecer */
    /* Escondido inicialmente */
    visibility: hidden;
}

.eco-card.active .card-expanded {
    opacity: 1;
    visibility: visible;
}

.card-header-expanded {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.icon-box-large {
    color: var(--neon-orange);
}

.header-text h4 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.badge {
    background: rgba(255, 107, 0, 0.2);
    color: var(--neon-orange);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
}

.card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.freq-tag {
    color: #fff;
    font-size: 1.1rem;
}

.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.4;
}

.check-icon {
    color: var(--neon-orange);
    min-width: 16px;
    margin-top: 2px;
}

/* RESPONSIVO (MOBILE) */
@media (max-width: 768px) {

    /* Ajustes Compactos para Caber na Tela */
    .eco-section {
        padding: 40px 5vw;
        /* Menos padding vertical */
        align-items: flex-start;
        /* Evita cortar o topo */
        overflow-y: auto;
        /* Garante scroll se necessário */
    }

    .eco-container {
        gap: 15px;
        /* Menos gap entre título e deck */
    }

    .eco-header h3 {
        font-size: 1.8rem;
        margin-bottom: 5px;
    }

    .accordion-deck {
        flex-direction: column;
        height: auto;
        gap: 8px;
        /* Menos gap entre cards */
    }

    .eco-card {
        height: 55px;
        /* Altura reduzida (era 80px) */
        flex: none;
    }

    .eco-card.active {
        flex: none;
        height: auto;
    }

    .card-minimized {
        flex-direction: row;
    }

    .card-minimized h4 {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 0.9rem;
    }

    .card-expanded {
        padding: 15px;
    }
}

/* BLOQUEIO DE SCROLL DO MOUSE (Obrigatório) */
body {
    overflow: hidden;
    /* Remove barra de rolagem */
}

/* SEÇÃO 3: ANCORAGEM (CORRIGIDA) */
.anchor-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    /* Usa a imagem que já temos ou fallback preto */
    background: url('bg-eco-video.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Overlay Escuro para garantir leitura (90% preto) */
.overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Overlay menos denso para mostrar fundo */
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.anchor-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
    max-width: 1000px;
    padding: 20px;
}

.anchor-header {
    text-align: center;
}

.anchor-header h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.anchor-header p {
    color: var(--text-gray);
    font-size: 1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* Caixa do Preço */
.price-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 40px;
    /* Borda sutil neon */
    border: 1px solid rgba(255, 107, 0, 0.3);
    background: radial-gradient(circle, rgba(255, 107, 0, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 30px;
    width: 100%;
}

.price-label {
    color: var(--neon-orange);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: rgba(255, 107, 0, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
}

.big-number {
    font-size: clamp(3.5rem, 8vw, 7rem);
    /* Gigante */
    color: #ffffff;
    font-weight: 800;
    margin: 10px 0;
    line-height: 1;
    /* Sombra Neon no Texto */
    text-shadow: 0 0 30px rgba(255, 107, 0, 0.5);
}

.monthly-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
}

.divider-line {
    width: 50px;
    height: 1px;
    background: var(--text-gray);
    opacity: 0.5;
}

.small-number {
    font-size: 1.5rem;
    color: #cccccc;
    font-weight: 400;
    letter-spacing: 1px;
}

/* SEÇÃO 4: FECHAMENTO */
.close-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    background: url('bac2.jpg') no-repeat center center/cover;
    /* Reuso do background tech */
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 5, 0.7);
    /* Levemente transparente */
}

.close-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
}

.brand-tag {
    color: var(--neon-orange);
    letter-spacing: 4px;
    font-weight: 700;
    margin-bottom: 10px;
}

.final-price {
    font-size: clamp(3rem, 5vw, 5rem);
    color: #fff;
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

/* Correção do Quadrado Verde Vazio */
.save-tag {
    display: inline-block;
    /* Garante que só aparece se tiver texto */
    min-height: 20px;
    background: rgba(0, 255, 100, 0.1);
    color: #00ff64;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    border: 1px solid rgba(0, 255, 100, 0.3);
    margin-top: 10px;
}

/* Se estiver vazio, esconde */
.save-tag:empty {
    display: none;
}

/* SWITCH */
.switch-container {
    background: rgba(255, 255, 255, 0.05);
    padding: 5px;
    border-radius: 50px;
    display: flex;
    gap: 5px;
    border: 1px solid var(--glass-border);
}

.switch-btn {
    padding: 12px 30px;
    border-radius: 40px;
    border: none;
    background: transparent;
    color: #888;
    cursor: pointer;
    font-weight: 700;
    transition: 0.3s;
}

.switch-btn.active {
    background: var(--neon-orange);
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.4);
}

/* PAINÉIS */
.dynamic-panel {
    width: 100%;
    min-height: 200px;
}

.panel-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.panel-content.active {
    display: block;
}

/* Painel A */
.simple-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.box-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-check {
    background: var(--neon-orange);
    color: #000;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

/* Painel B (Timeline) */
.timeline-box {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 20px 0;
}

.timeline-step {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 20px;
    border-radius: 15px;
    position: relative;
    text-align: left;
}

/* Linha conectora */
.timeline-step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--neon-orange);
    font-size: 1.5rem;
}

.t-mes {
    color: var(--neon-orange);
    font-size: 0.8rem;
    font-weight: 700;
}

.t-valor {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 5px 0;
}

.t-obs {
    font-size: 0.8rem;
    color: #aaa;
}

/* Botão WhatsApp */
.whatsapp-btn {
    background: #25D366;
    color: #fff;
    text-decoration: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    transform: scale(1.05);
    background: #1ebc57;
}

/* Responsivo Timeline */
@media (max-width: 768px) {
    .timeline-box {
        flex-direction: column;
    }

    .timeline-step:not(:last-child)::after {
        content: '↓';
        right: 50%;
        top: auto;
        bottom: -25px;
    }
}

/* Correção dos Textos dentro das Caixas */
.box-text {
    color: #ffffff !important;
    /* Força branco */
    font-size: 1.2rem;
    font-weight: 600;
    text-align: left;
}

.flow-desc {
    color: var(--text-gray);
    margin-top: 10px;
    font-size: 0.9rem;
}

/* Novo Botão de Aprovação */
.approve-btn {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 15px 50px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
}

.check-mark-final {
    display: none;
    /* Escondido inicialmente */
}

/* Estado Aprovado (Ativado via JS) */
.approve-btn.approved {
    background: #00ff64;
    /* Verde Neon */
    border-color: #00ff64;
    color: #000;
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 255, 100, 0.6);
    pointer-events: none;
    /* Bloqueia novos cliques */
}

.approve-btn.approved .check-mark-final {
    display: block;
}



/* ANIMAÇÃO EXPLOSÃO DE PREÇO */
@keyframes popIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
        filter: blur(10px);
    }

    60% {
        transform: scale(1.1);
        opacity: 1;
        filter: blur(0);
    }

    100% {
        transform: scale(1);
    }
}

.explode-in {
    animation: popIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* VISUAL GRÁFICO (OPÇÃO A) */
.visual-graph-container {
    display: flex;
    gap: 20px;
    width: 100%;
    justify-content: center;
    margin-top: 20px;
}

.graph-block {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.block-label {
    color: #888;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.block-value {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 800;
}

.block-bar {
    height: 6px;
    background: #FF6B00;
    border-radius: 3px;
    margin-top: 5px;
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.5);
}

.block-note {
    color: #FF6B00;
    font-size: 0.75rem;
    margin-top: 5px;
    font-weight: bold;
}

/* TIMELINE (OPÇÃO B) */
.timeline-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 20px;
}

.t-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 2;
}

.t-circle {
    width: 40px;
    height: 40px;
    background: #222;
    border: 2px solid #555;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: 0.3s;
}

.t-circle.highlight {
    border-color: #FF6B00;
    background: rgba(255, 107, 0, 0.2);
    color: #FF6B00;
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.4);
}

.t-content {
    text-align: center;
}

.t-month {
    color: #888;
    font-size: 0.8rem;
    margin-bottom: 5px;
}

.t-price {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 800;
}

.t-detail {
    color: #666;
    font-size: 0.8rem;
    max-width: 120px;
}

.t-detail.highlight-text {
    color: #FF6B00;
    font-weight: bold;
}

.t-line {
    flex: 1;
    height: 2px;
    background: #333;
    margin: 0 10px;
    position: relative;
    top: -35px;
    z-index: 1;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .visual-graph-container {
        flex-direction: column;
    }

    .timeline-container {
        flex-direction: column;
        gap: 0;
    }

    .t-line {
        width: 2px;
        height: 30px;
        margin: 0;
        top: 0;
    }

    .t-step {
        flex-direction: row;
        width: 100%;
        justify-content: flex-start;
        background: rgba(255, 255, 255, 0.03);
        padding: 15px;
        border-radius: 10px;
        margin-bottom: 10px;
    }
}

/* SEÇÃO 4 - FIX VISUAL (BASE) */
.close-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    background: url('bac2.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay-dark {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1;
}

.close-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

/* Preço e Títulos */
.brand-tag {
    color: #FF6B00;
    letter-spacing: 3px;
    font-weight: bold;
}

.final-price {
    font-size: 4rem;
    color: #fff;
    font-weight: 800;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Switch */
.switch-container {
    background: #222;
    border-radius: 50px;
    padding: 5px;
    border: 1px solid #444;
}

.switch-btn {
    padding: 10px 25px;
    border-radius: 40px;
    background: transparent;
    color: #888;
    border: none;
    cursor: pointer;
}

.switch-btn.active {
    background: #FF6B00;
    color: #fff;
}

/* Botão Aprovar */
.approve-btn {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.approve-btn.approved {
    background: #00ff64;
    border-color: #00ff64;
    color: #000;
    pointer-events: none;
}

.check-mark-final {
    display: none;
}

.approve-btn.approved .check-mark-final {
    display: block;
}

/* FORÇAR VISIBILIDADE DOS PAINÉIS */
.panel-content {
    display: none !important;
    /* Esconde tudo por padrão */
}

.panel-content.active {
    display: block !important;
    /* Mostra apenas o ativo */
    animation: fadeIn 0.5s ease;
}

/* --- CSS DA CELEBRAÇÃO (ISOLADO) --- */
.modal-hidden {
    display: none;
}

.modal-visible {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    /* Fica acima de tudo */
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.5s ease forwards;
}

.modal-card {
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid #333;
    padding: 40px;
    border-radius: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    box-shadow: 0 0 50px rgba(255, 107, 0, 0.2);
    animation: popUp 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.icon-success-pulse {
    width: 70px;
    height: 70px;
    background: #00FF64;
    color: #000;
    border-radius: 50%;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 0 rgba(0, 255, 100, 0.7);
    animation: pulseGreen 2s infinite;
}

.modal-card h1 {
    color: #fff;
    margin: 0;
    font-size: 2rem;
}

.modal-card p {
    color: #888;
    margin: 0;
}

.logos-final {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
}

.logo-f {
    height: 40px;
    filter: brightness(0) invert(1);
}

.logo-f.client {
    filter: none;
    border-radius: 50%;
    border: 2px solid #FF6B00;
}

.btn-whatsapp-final {
    background: #FF6B00;
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: transform 0.2s;
}

.btn-whatsapp-final:hover {
    transform: scale(1.05);
}

#btn-fechar-modal {
    background: transparent;
    border: none;
    color: #555;
    margin-top: 10px;
    cursor: pointer;
    text-decoration: underline;
}

/* Confetes CSS Puro */
.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #FF6B00;
    top: -10px;
    z-index: -1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes popUp {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes pulseGreen {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 255, 100, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 20px rgba(0, 255, 100, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 255, 100, 0);
    }
}

@keyframes fall {
    to {
        transform: translateY(110vh) rotate(720deg);
    }
}

/* --- SEÇÃO 4: CARD DE RESUMO (NOVO FORMATO) --- */
.summary-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 600px;
    margin: 10px auto;
}

.summary-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.highlight-row {
    background: rgba(255, 107, 0, 0.1);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 107, 0, 0.3);
}

.highlight-text {
    color: #FF6B00 !important;
    font-weight: 800 !important;
}

/* --- EFEITO FLASH E MODAL CINEMA --- */
#camera-flash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    z-index: 999999;
    opacity: 0;
    pointer-events: none;
    display: none;
}

.flash-anim {
    display: block !important;
    animation: flashEffect 0.8s ease-out forwards;
}

@keyframes flashEffect {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.cinema-card {
    border-color: #FF0000 !important;
    box-shadow: 0 0 50px rgba(255, 0, 0, 0.1) !important;
}

.rec-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #FF0000;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.rec-dot {
    width: 15px;
    height: 15px;
    background: #FF0000;
    border-radius: 50%;
    animation: blinkRec 1s infinite;
    box-shadow: 0 0 10px #FF0000;
}

@keyframes blinkRec {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.cinema-title {
    font-size: 2.5rem !important;
    margin: 5px 0 10px 0 !important;
    letter-spacing: 1px;
}

/* Ajuste mobile do Card de Resumo e Modal Cinema */
@media (max-width: 768px) {
    .summary-card {
        padding: 20px;
    }

    .cinema-title {
        font-size: 1.6rem !important;
    }

    /* Ajuste para evitar quebra de linha no valor */
    .big-number {
        font-size: 2.4rem;
    }

    .investment-grid {
        flex-direction: column;
    }

    .price-card-premium {
        padding: 25px;
    }
}

/* --- NOVOS ESTILOS: SELETOR DE PRODUTO E GRID DE INVESTIMENTO --- */
.product-selector {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    width: 100%;
}

.selector-btn {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: #888;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    flex: 1;
    max-width: 300px;
}

.selector-btn.active {
    background: rgba(255, 107, 0, 0.1);
    border-color: var(--neon-orange);
    color: #fff;
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.15);
}

.flagship-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--neon-orange);
    color: #000;
    font-size: 0.65rem;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 800;
    letter-spacing: 1px;
}

.investment-grid {
    display: flex;
    gap: 20px;
    width: 100%;
    margin-top: 20px;
    animation: fadeIn 0.8s ease;
}

.price-card-premium {
    flex: 1;
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
    transition: all 0.5s ease;
    backdrop-filter: blur(10px);
}

.card-flagship {
    border-color: rgba(255, 107, 0, 0.4);
    background: radial-gradient(circle at top right, rgba(255, 107, 0, 0.05), transparent);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.price-card-premium h4 {
    color: var(--neon-orange);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.price-card-premium .main-price {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin: 5px 0;
}

.price-card-premium .recurrency-text {
    font-size: 1.4rem;
    color: #fff;
    margin-top: -10px;
}

.price-card-premium .detail-text {
    color: #aaa;
    font-size: 1rem;
}

.price-card-premium .obs-tag {
    margin-top: auto;
    font-size: 0.8rem;
    color: #666;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
}

.final-product-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: #fff;
    font-weight: 800;
    margin: 10px 0;
    text-shadow: 0 0 30px rgba(255, 107, 0, 0.3);
}

.summary-card-premium {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    text-align: left;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ccc;
    font-size: 0.95rem;
}

.summary-item svg {
    color: var(--neon-orange);
    flex-shrink: 0;
}

/* --- OVERRIDE GERAL RESPONSIVO MOBILE --- */
@media (max-width: 768px) {

    /* Permitir scroll natural no mobile */
    body {
        overflow-y: auto !important;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }

    /* Navegação Visual Helper para Mobile */
    .anchor-section {
        scroll-snap-align: start;
    }

    .eco-section {
        scroll-snap-align: start;
    }

    .hero-section {
        scroll-snap-align: start;
    }

    /* Seção 1: Hero */
    .hero-section {
        padding: 60px 5vw 40px 5vw;
        justify-content: center;
        align-items: center;
        text-align: center;
        min-height: 100vh;
        height: auto;
    }

    .hero-section::before {
        width: 100%;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 100%);
    }

    .hero-content-wrapper {
        align-items: center;
        margin-top: 0;
        gap: 15px;
    }

    .logos-container {
        flex-direction: column;
        gap: 10px;
    }

    .divider {
        display: none;
    }

    h1 {
        font-size: 2.2rem;
        margin-top: 10px;
    }

    h2 {
        font-size: 1.1rem;
        line-height: 1.4;
    }

    .meta-info {
        border-left: none;
        border-top: 2px solid var(--neon-orange);
        padding-left: 0;
        padding-top: 15px;
        margin-top: 10px;
    }

    /* Seção 2: Ecossistema */
    .eco-section {
        height: auto;
        min-height: 100vh;
        overflow-y: visible;
        padding: 50px 4vw;
        display: block;
    }

    .eco-container {
        gap: 25px;
        margin-top: 10px;
    }

    .eco-header h3 {
        font-size: 1.8rem;
    }

    .accordion-deck {
        height: auto;
        flex-direction: column;
        gap: 15px;
    }

    .eco-card {
        height: auto !important;
        min-height: 70px;
        flex: none !important;
    }

    .eco-card.active {
        height: auto !important;
    }

    .card-minimized {
        padding: 15px;
        flex-direction: row;
        justify-content: flex-start;
        opacity: 1;
    }

    /* Ocultar versão minimizada caso aberto no mobile */
    .eco-card.active .card-minimized {
        display: none;
    }

    .card-minimized h4 {
        writing-mode: horizontal-tb;
        transform: none;
        word-wrap: break-word;
        white-space: normal;
        text-align: left;
        font-size: 1rem;
        margin-left: 10px;
    }

    .card-expanded {
        padding: 20px;
    }

    .card-header-expanded {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        margin-bottom: 20px;
        padding-bottom: 10px;
    }

    .service-list li {
        font-size: 0.95rem;
    }

    /* Seção 3: Ancoragem / Investimento */
    .anchor-section {
        height: auto;
        min-height: 100vh;
        overflow-y: visible;
        padding: 50px 4vw;
        display: block;
    }

    .anchor-content {
        padding: 0;
        margin-top: 20px;
        gap: 20px;
    }

    .product-selector {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        margin-bottom: 15px;
    }

    .selector-btn {
        max-width: 100%;
        padding: 15px 15px;
    }

    .investment-grid {
        flex-direction: column;
        gap: 20px;
    }

    .price-card-premium {
        padding: 25px 20px;
        border-radius: 15px;
        background: rgba(20, 20, 20, 0.9);
    }

    .price-card-premium .main-price {
        font-size: 2.2rem;
    }

    .price-card-premium .recurrency-text {
        font-size: 1.1rem;
    }

    .approve-btn {
        width: 100%;
        justify-content: center;
    }

    /* Modal Celebração */
    .modal-card {
        padding: 30px 20px;
        width: 90%;
        border-radius: 20px;
        margin-top: 20px;
    }

    .cinema-title {
        font-size: 1.6rem !important;
    }

    .logos-final {
        flex-direction: column;
        gap: 15px;
    }

    .logo-f {
        height: 50px;
    }

    .logo-f.client {
        width: 60px;
        height: 60px;
    }

    .btn-static-setup {
        padding: 15px 30px;
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }
}