:root {
    --bg-color: #1a0f05;
    --text-primary: #fff7ed;
    --text-secondary: #fed7aa;
    --accent: #f97316;
    --accent-hover: #ea580c;
    --card-bg: rgba(43, 23, 11, 0.75);
    --border-color: rgba(255, 255, 255, 0.1);
    --glow: rgba(249, 115, 22, 0.4);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* FIXO NA TELA - ABSOLUTE NO SCROLLING (Quiz Mode) */
html, body {
    width: 100%;
    height: 100%;
    overflow: hidden !important; 
    touch-action: none; 
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    display: flex;
    justify-content: center;
    align-items: center; 
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    padding: 1rem;
}

/* Background dinâmico */
.background-animation {
    position: absolute; /* Mudado para absolute para rolar com a LP se necessário, ou esconde */
    width: 200vw;
    height: 200vh;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle at 50% 50%, rgba(249, 115, 22, 0.15) 0%, rgba(26, 15, 5, 0) 50%),
                radial-gradient(circle at 80% 20%, rgba(251, 146, 60, 0.1) 0%, rgba(26, 15, 5, 0) 40%);
    z-index: 0;
    animation: rotate 40s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.quiz-container {
    position: relative;
    z-index: 1;
    background: var(--card-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: clamp(1rem, 4vh, 2.5rem); 
    width: 100%;
    height: 100%;
    max-height: 800px;
    max-width: 600px;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.9), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden; 
}

.screen {
    flex: 1;
    display: none;
    flex-direction: column;
    justify-content: center; 
    opacity: 0;
    transform: translateY(20px);
    height: 100%;
}

.screen.active {
    display: flex;
    animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.screen.hidden {
    display: none !important;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Imagem Hero sem quebrar layout (Quiz Inicial) --- */
.hero-image-container {
    width: 100%;
    height: 26vh; 
    min-height: 150px;
    max-height: 240px;
    margin: 0 auto clamp(1rem, 3vh, 1.5rem) auto;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(249, 115, 22, 0.3);
    flex-shrink: 0; 
}

.hero-image-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(26,15,5,0) 40%, rgba(26,15,5,1) 100%);
    pointer-events: none;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center 15%; 
    display: block;
    transition: transform 0.6s ease;
}

.badge {
    background: rgba(249, 115, 22, 0.15);
    color: #fb923c;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    margin-bottom: clamp(0.5rem, 2vh, 1.2rem);
    border: 1px solid rgba(249, 115, 22, 0.3);
    width: fit-content;
}

.badge i, .result-badge i {
    margin-right: 0.4rem;
    font-size: 1rem;
}

h1 {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    font-weight: 800;
    margin-bottom: clamp(0.5rem, 1.5vh, 1rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 .highlight {
    background: linear-gradient(135deg, #fdba74, #ea580c);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

h2 {
    font-size: clamp(1.3rem, 4vw, 1.6rem);
    font-weight: 600;
    margin-bottom: clamp(0.8rem, 2vh, 1.2rem);
    line-height: 1.3;
}

p {
    font-size: clamp(0.9rem, 2.5vw, 1.05rem);
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: clamp(1rem, 2vh, 1.5rem);
}

.persuasive-text {
    font-size: clamp(0.95rem, 3vw, 1.1rem);
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: clamp(1rem, 3vh, 1.5rem);
}

.persuasive-text strong {
    color: #fdba74;
    font-weight: 700;
}

button {
    position: relative;
    overflow: hidden;
    touch-action: manipulation;
}

.primary-btn {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: white;
    border: none;
    padding: clamp(0.8rem, 2vh, 1.1rem) clamp(1rem, 3vw, 2rem);
    font-size: clamp(1rem, 3vw, 1.1rem);
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px var(--glow), inset 0 1px 0 rgba(255,255,255,0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%; 
    flex-shrink: 0;
}

.primary-btn:active {
    transform: scale(0.96);
}

.options-container {
    display: flex;
    flex-direction: column;
    gap: clamp(0.6rem, 1.5vh, 1rem); 
    margin-top: auto;
    margin-bottom: auto;
}

.option-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: clamp(0.8rem, 2vh, 1.1rem) 1rem;
    border-radius: 14px;
    color: var(--text-primary);
    font-size: clamp(0.95rem, 2.8vw, 1.05rem);
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
}

.option-btn .icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.6rem;
    border-radius: 10px;
    flex-shrink: 0;
}

.option-btn i {
    font-size: 1.3rem;
    color: var(--accent);
}

.option-btn:active {
    transform: scale(0.97);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent);
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    margin-bottom: clamp(1rem, 3vh, 1.5rem);
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.2);
    flex-shrink: 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #f97316, #fb923c);
    width: 0%;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 4px;
}

.header-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
}

.counter {
    font-size: 0.85rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.text-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: fit-content;
    font-weight: 500;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-anim 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-anim {
    to { transform: scale(4); opacity: 0; }
}

@media (max-width: 480px) {
    .quiz-container:not(.landing-mode) {
        padding: 2rem 1.5rem;
        margin: 0.5rem auto;
    }
}

/* --- Fake Call Screen --- */
#fake-call-screen {
    position: absolute; /* Full overlay over the quiz window */
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: 28px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

#fake-call-screen.active {
    display: flex;
    animation: slideUpCall 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpCall {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.avatar-ripple {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(34, 197, 94, 0.3);
    border-radius: 50%;
    z-index: 1;
    animation: avatar-pulse 2.5s infinite;
}

@keyframes avatar-pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.8); opacity: 0; }
}

.call-actions {
    display: flex;
    width: 100%;
}

.call-actions.hidden {
    display: none !important;
}

.call-btn {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    border: none;
    font-size: 2.2rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.call-btn:active {
    transform: scale(0.9);
}

.call-btn.decline {
    background-color: #ef4444;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.4);
}

.call-btn.accept {
    background-color: #22c55e;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.4);
    animation: pulse-green 1.5s infinite;
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
    70% { box-shadow: 0 0 0 20px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* =======================================================
   LANDING PAGE MODE (TRUE FULL SCREEN)
   ======================================================= */
html.landing-mode, body.landing-mode {
    overflow-y: auto !important; 
    overflow-x: hidden !important;
    position: relative !important;
    height: auto !important;
    touch-action: auto !important; /* Libera drag nativo de mobile */
    align-items: flex-start;
    padding: 0 !important; /* Total bleed */
    background: var(--bg-color) !important;
}

body.landing-mode {
    display: block !important; /* Substitui o flex fixo do Quiz pra permitir fluxo vertical nativo */
}

/* Hide animations to focus focus visually */
body.landing-mode .background-animation {
    display: none; 
}

/* Remove limites do quiz e converte para fluxo web 100vw */
.quiz-container.landing-mode {
    max-width: 100% !important;
    width: 100vw !important;
    max-height: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-radius: 0 !important;
    overflow: visible;
}

/* Força display de bloco para fluxo de página e não flexão elástica */
.quiz-container.landing-mode .screen.active {
    display: block; 
}

.lp-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
    gap: 0; /* Sections touch each other directly */
}

/* Layout Universal das Seções LP */
.lp-container > header, 
.lp-container > section {
    width: 100%;
    padding: 4rem 1.5rem; 
    display: flex;
    flex-direction: column;
    align-items: center; 
}

/* Wrap limits for wide monitors */
.lp-container > header > *, 
.lp-container > section > * {
    max-width: 800px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.lp-container button.primary-btn {
    max-width: 400px;
}

/* 1. HERO SECTION */
.lp-hero {
    background: var(--bg-color);
    text-align: center;
    position: relative;
    padding-top: 5rem;
    padding-bottom: 3rem;
}

.lp-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 100%;
    background: radial-gradient(circle at top, rgba(249, 115, 22, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.result-badge {
    background: rgba(249, 115, 22, 0.15);
    color: #fb923c;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    margin: 0 auto 1.5rem auto; 
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.profile-icon {
    font-size: clamp(4.5rem, 8vw, 6rem);
    color: var(--accent);
    margin: 0 auto 1rem auto;
    text-align: center;
    animation: float 3s ease-in-out infinite;
}

.lp-hero .subtitle {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    font-weight: 700;
    text-align: center;
}

#result-title {
    font-size: clamp(2rem, 6vw, 3rem);
    color: white;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 800;
}

#result-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: center;
}

/* 2. AGITATION SECTION */
.lp-agitation {
    background: #110902;
    text-align: center;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.lp-agitation h3 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 1.8rem;
    color: #fdba74; 
    text-align: center;
}

.lp-agitation p {
    font-size: clamp(1.1rem, 3vw, 1.25rem);
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: center;
}

/* 3. SOLUTION SECTION */
.lp-solution {
    background: var(--bg-color);
    text-align: center;
    padding-top: 5rem;
    padding-bottom: 5rem;
    border-top: 1px solid var(--border-color);
}

.hero-image-container.lp-img-wrapper {
    max-height: 400px !important;
    height: auto !important;
    border: none;
    border-radius: 24px;
    margin: 0 auto 3rem auto;
    box-shadow: 0 30px 60px rgba(0,0,0,0.8);
}

.lp-img-wrapper::after {
    display: none; /* remove fade bottom if image looks clean */
}

.lp-img {
    height: auto !important;
    max-height: 400px !important;
    object-position: center !important;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
}

.bento-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: left;
    transition: transform 0.3s, border-color 0.3s;
}

.bento-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    background: rgba(255,255,255,0.04);
}

.bento-item i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.bento-item h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: white;
}

.bento-item p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.5;
}

/* 4. TESTIMONIALS CAROUSEL */
.lp-testimonials {
    background: #110902;
    padding-top: 5rem;
    padding-bottom: 5rem;
    position: relative;
}

.lp-testimonials h3 {
    text-align: center !important;
}

/* O Hack Mágico para o Carrossel Vazar as Bordas dos 800px pra preencher a tela nativamente */
.lp-testimonials .carousel-wrapper {
    max-width: 100% !important;
    width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding: 1.5rem 5vw 3rem 5vw; 
    -ms-overflow-style: none;  
    scrollbar-width: none;  
}

.carousel::-webkit-scrollbar { 
    display: none; 
}

.card-feedback {
    min-width: 320px;
    width: 85vw;
    max-width: 420px;
    background: var(--card-bg);
    border: 1px solid rgba(249, 115, 22, 0.4);
    border-radius: 24px;
    padding: 2.5rem;
    scroll-snap-align: center;
    flex-shrink: 0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    text-align: left;
}

.stars {
    color: #fbbf24;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.card-feedback p {
    font-size: 1.1rem;
    font-style: italic;
    color: white;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author .avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: white;
    font-size: 1.2rem;
}

.author span {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
}

/* 5. OFFER SECTION */
.lp-offer {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1) 0%, rgba(26, 15, 5, 0.9) 100%);
    border-top: 2px solid rgba(249, 115, 22, 0.4);
    text-align: center;
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.lp-offer h3 {
    font-size: clamp(2rem, 6vw, 3rem);
    margin-bottom: 1.5rem;
    text-align: center;
}

.price-box {
    margin: 3rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.old-price {
    color: #ef4444; 
    text-decoration: line-through;
    font-size: 1.3rem;
}

.new-price {
    font-size: clamp(3.5rem, 12vw, 6rem);
    font-weight: 800;
    color: #fb923c;
    line-height: 1;
}

.cash-price {
    color: #a3e635; 
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.safe-checkout {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 2rem;
    padding-bottom: 2rem;
}
