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

:root {
    --bg-dark: #0a0a0a;
    --bg-card: #161616;
    --text-main: #f5f5f5;
    --text-muted: #a0a0a0;
    --brasa-primary: #ff5e00;
    --brasa-secondary: #ff9d00;
    --brasa-gradient: linear-gradient(135deg, var(--brasa-primary), var(--brasa-secondary));
    --border-color: #2a2a2a;
    --success-color: #27ae60;
}

body {
    font-family: 'Inter', 'Inter Fallback', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    justify-content: center;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.app-container {
    max-width: 480px;
    width: 100%;
    min-height: 100vh;
    position: relative;
    background-color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    overflow: hidden;
}

/* --- PROGRESS BAR --- */
.progress-bar-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: #222;
    z-index: 1000;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: var(--brasa-gradient);
    box-shadow: 0 0 10px var(--brasa-primary);
    transition: width 0.4s ease;
}

/* --- SCREENS (SPA) --- */
.screen {
    display: none;
    width: 100%;
    min-height: 100vh;
    flex-direction: column;
    animation: fadeIn 0.4s ease forwards;
}

.screen.active {
    display: flex;
}

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

/* --- LAYOUTS --- */
.content-wrapper {
    padding: 30px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.center-aligned {
    justify-content: center;
}

.bottom-aligned {
    justify-content: flex-end;
    padding-bottom: 40px;
}

/* --- BACKGROUND SCREENS --- */
.bg-screen {
    background-size: cover;
    background-position: center;
    position: relative;
}

.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(10,10,10,0.1) 0%, rgba(10,10,10,0.9) 70%, rgba(10,10,10,1) 100%);
    z-index: 1;
}

/* --- TYPOGRAPHY --- */
h1.headline {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 10px;
}

h1.headline strong {
    font-weight: 900;
    color: var(--brasa-secondary);
}

.sub-headline {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.question-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    line-height: 1.4;
}

.quote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 30px;
    text-align: center;
    padding: 0 20px;
}

.highlight-quote {
    background-color: #241C17;
    border: 1px solid #FF7A2F;
    color: #F5EDE3;
    font-weight: 600;
    font-size: 1.5rem;
    padding: 25px 20px;
    border-radius: 12px;
    margin-bottom: 35px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(255, 122, 47, 0.15);
    line-height: 1.4;
    position: relative;
    z-index: 2;
}

.hint {
    font-size: 0.8rem;
    color: var(--brasa-secondary);
    font-weight: 400;
    display: block;
    margin-top: 5px;
}

.hint-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.text-block p {
    font-size: 1.05rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.text-block strong {
    color: var(--brasa-secondary);
    font-weight: 700;
}

.mt-3 { margin-top: 15px; }
.mt-4 { margin-top: 25px; }
.mt-5 { margin-top: 40px; }
.mb-5 { margin-bottom: 40px; }
.hidden { display: none !important; }

/* --- BUTTONS & OPTIONS --- */
.question-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-btn {
    background-color: var(--bg-card);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', 'Inter Fallback', sans-serif;
    display: flex;
    align-items: center;
}

.option-btn:hover {
    border-color: var(--brasa-primary);
    background-color: rgba(255, 94, 0, 0.05);
}

.option-btn.selected {
    background-color: rgba(255, 94, 0, 0.1);
    border-color: var(--brasa-primary);
    box-shadow: 0 0 10px rgba(255, 94, 0, 0.2);
}

.cta-button {
    background: var(--brasa-gradient);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    border-radius: 12px;
    padding: 18px 20px;
    width: 100%;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(255, 94, 0, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(255, 94, 0, 0.3);
}

.pulse-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 94, 0, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(255, 94, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 94, 0, 0); }
}

/* --- IMAGES --- */
.content-image {
    width: 100%;
    object-fit: cover;
    margin-bottom: 25px;
}

.landscape-image {
    aspect-ratio: 16 / 9;
    border-radius: 16px;
}

.round-image {
    border-radius: 16px;
    aspect-ratio: 16 / 9;
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.shadow {
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.mockup-img {
    background: transparent;
    max-height: none;
}

/* --- FORMS --- */
.form-container {
    background-color: var(--bg-card);
    padding: 25px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.input-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.input-group input {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-dark);
    color: #fff;
    font-size: 1rem;
    font-family: 'Inter', 'Inter Fallback', sans-serif;
    outline: none;
}

.input-group input:focus {
    border-color: var(--brasa-primary);
}

.error-msg {
    color: #ff4757;
    font-size: 0.85rem;
    margin-top: 10px;
    display: none;
}

/* --- LOADING CSS --- */
.loader-circle {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.loader-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.loader-circle circle {
    fill: none;
    stroke-width: 8;
    stroke-linecap: round;
}

.loader-circle .bg {
    stroke: var(--border-color);
}

.loader-circle .progress {
    stroke: var(--brasa-primary);
    stroke-dasharray: 283; /* 2 * pi * r (45) */
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 0.1s linear;
}

.loader-circle .percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brasa-secondary);
}

.loading-text {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    min-height: 50px;
}

/* --- DIAGNOSIS METER --- */
.diagnosis-box {
    background-color: var(--bg-card);
    border: 1px solid var(--brasa-primary);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.diagnosis-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.diagnosis-value {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--brasa-secondary);
    margin-bottom: 15px;
}

.meter-container {
    width: 100%;
    height: 12px;
    background-color: var(--border-color);
    border-radius: 6px;
    overflow: hidden;
}

.meter-fill {
    height: 100%;
    background: var(--brasa-gradient);
    border-radius: 6px;
    box-shadow: 0 0 10px var(--brasa-primary);
    animation: fillMeter 1.5s ease-out forwards;
}

@keyframes fillMeter {
    from { width: 0%; }
}

/* --- SALES PAGE (TELA 16) --- */
.offer-headline {
    font-size: 1.4rem;
    font-weight: 900;
    line-height: 1.3;
    text-align: center;
    margin-bottom: 15px;
}

.offer-sub {
    font-size: 1rem;
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.offer-sub-highlight {
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    color: var(--brasa-secondary);
    background-color: rgba(255, 157, 0, 0.1);
    padding: 10px;
    border-radius: 8px;
}

.offer-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
}

.offer-card h3 {
    font-size: 1.1rem;
    color: var(--brasa-secondary);
    margin-bottom: 15px;
}

.check-list, .bonus-list {
    list-style: none;
}

.check-list li, .bonus-list li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.price-box {
    text-align: center;
    border: 2px solid var(--success-color);
    border-radius: 12px;
    padding: 20px;
    background-color: rgba(39, 174, 96, 0.05);
}

.old-price {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.new-price-text {
    font-size: 1rem;
    font-weight: 700;
    margin-top: 5px;
}

.new-price {
    font-size: 3rem;
    font-weight: 900;
    color: var(--success-color);
    line-height: 1;
    margin: 10px 0;
}

.new-price .cents {
    font-size: 1.2rem;
}

.price-cash {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.guarantee-box {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: var(--bg-card);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.guarantee-icon {
    width: 50px;
    height: 50px;
}

.guarantee-box h4 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 5px;
}

.guarantee-box p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.social-proof-section h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #fff;
}

.stats-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 25px;
    text-align: center;
}

.stat-box {
    background-color: var(--bg-card);
    padding: 15px 10px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    flex: 1;
}

.stat-number {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--brasa-secondary);
    line-height: 1.2;
    margin-bottom: 5px;
}

.stat-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.testimonial {
    background-color: var(--bg-card);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    border-left: 3px solid var(--brasa-secondary);
}

.testimonial-small {
    background-color: var(--bg-card);
    padding: 15px;
    border-radius: 12px;
    font-size: 0.9rem;
    text-align: left;
}

.stars {
    color: var(--brasa-secondary);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.testimonial p, .testimonial-small p {
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 10px;
}

.author {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 700;
}

.faq-section h3 {
    text-align: center;
    margin-bottom: 20px;
}

.faq-item {
    background-color: var(--bg-card);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.faq-item h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--brasa-secondary);
}

.faq-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.secure-checkout {
    text-align: center;
    color: var(--success-color);
    font-weight: 700;
    font-size: 0.9rem;
}
