@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;800;900&display=swap');

:root {
    --bg-dark: #0b0c10; /* Fundo principal super escuro, quase preto/azul muito profundo */
    --bg-card: #14151a; /* Fundo de cards um pouco mais claro */
    --text-white: #ffffff;
    --text-gray: #a1a1aa;
    --gold: #D4AF37; /* Dourado premium */
    --gold-hover: #b5952f;
    --gold-glow: rgba(212, 175, 55, 0.15);
    --green-wpp: #20B038; /* Verde elegante e moderno para WhatsApp */
    --green-hover: #1b902d;
    --input-bg: #ffffff;
    --input-text: #111111;
    --font-main: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-main);
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1000px; /* Layout compacto e elegante no desktop */
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* Tipografia */
.text-gold { color: var(--gold); }
.text-center { text-align: center; }

h1 {
    font-weight: 800;
    font-size: 1.8rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 0.8rem;
    color: var(--text-white);
    position: relative;
    z-index: 10;
}

.subheadline {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    font-weight: 400;
    line-height: 1.4;
    position: relative;
    z-index: 10;
}

.subheadline strong {
    color: var(--text-white);
    font-weight: 600;
}

.badge {
    display: inline-block;
    background-color: transparent;
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 10;
}

.form-call {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-gray);
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    letter-spacing: 0.02em;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 10;
}

/* Split Layout Desktop */
.split-layout {
    display: flex;
    flex-direction: column;
}

.copy-col {
    width: 100%;
}

.photo-col {
    display: none; /* Oculto no mobile, mostrado como coluna no desktop */
}

/* Imagem Mobile (Compacta e Integrada) */
.mobile-photo {
    width: 100%;
    max-width: 210px;
    margin: -1.5rem auto -3.75rem auto;
    position: relative;
    z-index: 0;
}

.mobile-photo img {
    width: 100%;
    display: block;
}

.mobile-photo::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0; height: 100px;
    background: linear-gradient(to bottom, transparent, var(--bg-dark) 90%);
    pointer-events: none;
}

/* Formulários Refinados (Estilo Sobral: Inputs Brancos) */
.capture-form {
    width: 100%;
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
}

input[type="text"],
input[type="tel"] {
    width: 100%;
    padding: 1.1rem 1.2rem;
    margin-bottom: 1rem;
    background-color: var(--input-bg);
    border: 2px solid transparent;
    border-radius: 8px;
    color: var(--input-text);
    font-size: 1rem;
    font-family: var(--font-main);
    font-weight: 500;
    transition: all 0.3s ease;
}

input::placeholder {
    color: #888;
    font-weight: 400;
}

input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px var(--gold-glow);
}

/* Botões */
.btn {
    display: block;
    width: 100%;
    padding: 1.1rem;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-main);
    letter-spacing: -0.01em;
}

.btn-gold {
    background-color: var(--gold);
    color: #111;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.btn-gold:hover {
    background-color: var(--gold-hover);
    transform: translateY(-2px);
}

.btn-wpp {
    background-color: var(--green-wpp);
    color: #fff;
    box-shadow: 0 4px 15px rgba(32, 176, 56, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-wpp:hover {
    background-color: var(--green-hover);
    transform: translateY(-2px);
}

.secure-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--text-gray);
    margin-top: 1rem;
    text-transform: uppercase;
    font-weight: 600;
}

/* Página de Obrigado */
.thank-you-layout {
    max-width: 600px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
}

.progress-bar-container {
    width: 100%;
    height: 12px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 20px;
    margin-bottom: 2rem;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background-color: var(--gold);
    width: 80%;
    border-radius: 20px;
    position: relative;
}

.progress-fill::after {
    content: '80%';
    position: absolute;
    right: 10px;
    top: -2px;
    font-size: 0.65rem;
    color: #000;
    font-weight: 800;
}

.ty-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.ty-subtitle {
    font-size: 1rem;
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 2rem;
}

/* Card das Perguntas */
.quiz-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 20px var(--gold-glow);
    margin-top: 2rem;
    animation: fadeIn 0.5s ease;
}

.quiz-header {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-white);
}

.question-block { display: none; }
.question-block.active { display: block; animation: fadeIn 0.3s ease; }

.option-btn {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1rem;
    margin-bottom: 0.8rem;
    background-color: transparent;
    border: 1px solid #333;
    border-radius: 8px;
    color: var(--text-white);
    font-size: 1rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
}

.option-circle {
    width: 20px; height: 20px;
    border: 2px solid #555;
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.option-btn:hover {
    border-color: var(--gold);
    background-color: rgba(255,255,255,0.02);
}

.option-btn:hover .option-circle {
    border-color: var(--gold);
}

.option-btn.selected {
    border-color: var(--gold);
    background-color: var(--gold-glow);
}

.option-btn.selected .option-circle {
    border-color: var(--gold);
    background-color: var(--gold);
}

.option-btn.selected .option-circle::after {
    content: '';
    width: 8px; height: 8px;
    background-color: #000;
    border-radius: 50%;
}

.final-success {
    text-align: center;
    margin-top: 2rem;
    animation: fadeIn 0.5s ease;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    font-size: 0.75rem;
    color: #555;
}

footer a { color: #555; text-decoration: none; margin: 0 10px; }

/* Utilities */
.hidden { display: none !important; }

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

/* === Desktop Responsividade === */
@media (min-width: 768px) {
    .container {
        padding: 4rem 2rem;
    }

    h1 {
        font-size: 2.8rem;
    }

    .subheadline {
        font-size: 1.15rem;
    }

    .split-layout {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 3rem;
    }

    .copy-col {
        flex: 1;
        max-width: 480px;
    }

    .mobile-photo {
        display: none;
    }

    .photo-col {
        display: block;
        flex: 1;
        max-width: 450px;
        position: relative;
    }

    .photo-col img {
        width: 100%;
        display: block;
    }
    
    /* Fade para mesclar a base da foto com o fundo */
    .photo-col::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        right: 0;
        height: 250px;
        background: linear-gradient(to bottom, transparent, var(--bg-dark) 90%);
        pointer-events: none;
    }

    .thank-you-layout {
        padding: 3rem 2rem;
    }
    
    .ty-title {
        font-size: 2.5rem;
    }
}
