/* ========================================================================
   ROOT & RESET
   ======================================================================== */
:root {
    --bg-body: #030304;
    --bg-surface: #0a0a0c;
    --bg-card: #111113;
    --bg-highlight: #1a1a1d;

    --text-main: #ffffff;
    --text-muted: #949494;

    --accent-primary: #ff3333;
    --accent-primary2: #0070c9;
    --accent-glow: rgba(255, 51, 51, 0.4);
    
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.15);

    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --header-height: 80px;
    --container-max: 1300px;
}

* { margin: 0; padding: 0; box-sizing: border-box; outline: none; }
a { text-decoration: none !important; color: inherit; }
ul { list-style: none; }
img, video { max-width: 100%; display: block; }

html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body { background-color: var(--bg-body); color: var(--text-main); font-family: var(--font-sans); line-height: 1.6; overflow-x: hidden; }

::-webkit-scrollbar { width: 8px; background: var(--bg-body); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-primary); }

h1, h2, h3, h4 { color: var(--text-main); line-height: 1.1; letter-spacing: -0.03em; }
h1 { font-weight: 800; font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-weight: 700; font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 24px; }
h3 { font-weight: 600; font-size: 1.5rem; margin-bottom: 16px; }
p { color: var(--text-muted); font-size: 1.125rem; margin-bottom: 24px; max-width: 65ch; }

.mono-badge {
    font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase;
    letter-spacing: 0.05em; color: var(--accent-primary);
    background: rgba(255, 51, 51, 0.1); border: 1px solid rgba(255, 51, 51, 0.2);
    padding: 6px 12px; border-radius: 4px; display: inline-block; margin-bottom: 24px;
}

.highlight { color: var(--accent-primary); }
.text-center { text-align: center; }
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }

/* ANIMATIONS */
.reveal { opacity: 0; transform: translateY(40px); filter: blur(5px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.active { opacity: 1; transform: translateY(0); filter: blur(0); }
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(255, 51, 51, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(255, 51, 51, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 51, 51, 0); }
}

/* BUTTONS */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 18px 36px; border-radius: 8px; font-family: var(--font-sans);
    font-weight: 700; font-size: 1rem; letter-spacing: 0.02em; text-transform: uppercase;
    transition: all 0.3s; cursor: pointer; border: 1px solid transparent; line-height: 1; white-space: nowrap;
}
.btn-primary { background: #ffffff; color: #000000 !important; border-color: #ffffff; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(255,255,255,0.2); background: #e0e0e0; }
.btn-accent {
    background: linear-gradient(135deg, #ff3333 0%, #cc0000 100%); color: #ffffff !important;
    box-shadow: 0 10px 40px rgba(255, 51, 51, 0.3); animation: pulse-glow 2.5s infinite; border: none;
}
.btn-accent:hover { transform: translateY(-3px); filter: brightness(1.15); box-shadow: 0 15px 50px rgba(255, 51, 51, 0.5); }
.btn-outline { background: transparent; border: 1px solid rgba(255,255,255,0.3); color: #ffffff !important; }
.btn-outline:hover { border-color: #ffffff; background: rgba(255,255,255,0.1); }

/* SLIDER COMPONENT */
.comp-wrapper {
    position: relative; width: 100%; max-width: 1000px; margin: 0 auto;
    aspect-ratio: 16/9; border-radius: 12px; overflow: hidden;
    border: 1px solid var(--border-subtle); box-shadow: 0 20px 80px rgba(0,0,0,0.6);
    user-select: none;
}
.comp-video-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; }
.video-after { width: 100%; height: 100%; object-fit: cover; }
.video-before-wrapper {
    position: absolute; top: 0; left: 0; width: 50%; height: 100%;
    overflow: hidden; border-right: 3px solid #fff; box-shadow: 5px 0 20px rgba(0,0,0,0.5); z-index: 10;
}
.video-before {
    position: absolute; top: 0; left: 0; width: 100vw; max-width: 1000px; height: 100%; object-fit: cover;
}
.comp-handle {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 44px; height: 44px; background: #fff; border-radius: 50%; z-index: 20;
    display: flex; align-items: center; justify-content: center; pointer-events: none;
    box-shadow: 0 0 20px rgba(0,0,0,0.5); cursor: grab;
}
.comp-label {
    position: absolute; top: 20px; padding: 6px 12px;
    background: rgba(0,0,0,0.8); backdrop-filter: blur(4px); border-radius: 4px;
    font-family: var(--font-mono); font-size: 0.75rem; color: #fff; z-index: 15; pointer-events: none;
}
.label-before { left: 20px; border: 1px solid rgba(255,50,50,0.3); color: #ff9999; }
.label-after { right: 20px; border: 1px solid rgba(50,255,50,0.3); color: #99ff99; }

/* SCENE SELECTOR (HERO) */
.scene-selector {
    display: flex; justify-content: center; gap: 15px; margin-top: 30px; flex-wrap: wrap;
}
.scene-btn {
    background: rgba(255,255,255,0.05); border: 1px solid var(--border-subtle);
    color: var(--text-muted); padding: 12px 24px; border-radius: 8px; cursor: pointer;
    font-family: var(--font-mono); font-size: 0.85rem; transition: 0.2s;
    display: flex; align-items: center; gap: 10px;
}
.scene-btn:hover, .scene-btn.active {
    background: rgba(255, 51, 51, 0.1); border-color: var(--accent-primary); color: #fff;
}

/* LAYOUT & GRIDS */
header {
    position: fixed; top: 0; left: 0; width: 100%; height: var(--header-height);
    background: rgba(3, 3, 4, 0.85); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle); z-index: 999;
}
.nav-content { height: 100%; display: flex; justify-content: space-between; align-items: center; }
.logo-img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { color: var(--text-muted); font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: #fff; }

section { padding: 120px 0; border-bottom: 1px solid var(--border-subtle); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; }

.hero { padding-top: 160px; text-align: center; background: radial-gradient(circle at 50% 0%, #1a0505 0%, var(--bg-body) 70%); }

/* BENTO GRID (VERTICAL) */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px; margin-top: 60px;
}
.bento-item {
    background: #111; border-radius: 8px; border: 1px solid var(--border-subtle);
    overflow: hidden; position: relative; cursor: pointer; aspect-ratio: 9/16;
}
.bento-item video { width: 100%; height: 100%; object-fit: cover; display: block; }
.bento-overlay {
    position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex; flex-direction: column; justify-content: flex-end; padding: 20px;
    opacity: 0; transition: 0.3s; pointer-events: none;
}
.bento-item:hover .bento-overlay { opacity: 1; }

/* --- PLAY BUTTON OVERLAY (GALERIA) --- */
.play-overlay {
    position: absolute; inset: 0; 
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.3); /* Escurece levemente */
    cursor: pointer; transition: 0.3s; z-index: 5;
}
.play-btn-icon {
    width: 60px; height: 60px; background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px); border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    transition: 0.3s;
}
.play-btn-icon svg { fill: #fff; width: 24px; height: 24px; margin-left: 4px; }

/* Efeito Hover */
.bento-item:hover .play-btn-icon { transform: scale(1.1); background: var(--accent-primary); border-color: var(--accent-primary); }

/* Quando o vídeo está tocando, escondemos o overlay */
.bento-item.playing .play-overlay { opacity: 0; pointer-events: none; }
.bento-item.playing .bento-overlay { opacity: 0; } /* Esconde o texto tbm pra limpar a visão */

/* --- FIX LAYOUT ZIG-ZAG --- */
.order-flip-mobile { display: flex; flex-direction: column; }

@media (min-width: 768px) {
    .order-flip-mobile { flex-direction: row; } 
    .order-desktop-1 { order: 1; }
    .order-desktop-2 { order: 2; }
}

/* --- FIX SLIDER VERTICAL --- */
.vertical-slider-container {
    aspect-ratio: 9/16; 
    max-width: 400px; 
    width: 100%;
    margin: 0 auto; 
    box-shadow: 0 30px 60px rgba(0,0,0,0.8);
    position: relative;
}
.vertical-video-fix {
    width: 100%; height: 100%; object-fit: cover; 
    max-width: none !important;
}

/* PRICING & FAQ */
.pricing-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 16px; padding: 40px; display: flex; flex-direction: column; height: 100%; }
.pricing-card.featured { background: #0f0505; border-color: var(--accent-primary); box-shadow: 0 0 50px rgba(255, 51, 51, 0.1); }
.price-val { font-size: 3.5rem; font-weight: 800; margin: 20px 0 5px; line-height: 1; }
.feature-list li { margin-bottom: 15px; display: flex; gap: 10px; font-size: 0.95rem; color: #ccc; }
.feature-list li svg { width: 20px; height: 20px; fill: var(--text-main); flex-shrink: 0; }

.faq-item { border-bottom: 1px solid var(--border-subtle); }
.faq-head { width: 100%; padding: 25px 0; background: none; border: none; text-align: left; color: #fff; font-weight: 600; font-size: 1.1rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-head::after { content: '+'; font-size: 1.5rem; color: var(--text-muted); }
.faq-head.active::after { content: '-'; color: var(--accent-primary); }
.faq-body { max-height: 0; overflow: hidden; transition: 0.3s; color: var(--text-muted); }

/* Espaçamento extra para o subtítulo do preço */
.spacer-fix {
    margin-bottom: 30px !important; /* Aumentei para separar do checklist */
    display: block;
    color: #888; /* Garante uma cor de leitura suave */
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    h1 { font-size: 2.8rem; }
    .hero { padding-top: 120px; }
    .scene-selector { flex-direction: column; align-items: stretch; }
}
#loader { position: fixed; inset: 0; background: #000; z-index: 9999; display: flex; align-items: center; justify-content: center; transition: opacity 0.5s; }