/* CDA Chat — Bot pré-vente */
:root {
    --cda-bot-navy: #0e1a2b;
    --cda-bot-navy-2: #1a2a3e;
    --cda-bot-gold: #D6A84F;
    --cda-bot-cream: #FAF6EC;
    --cda-bot-line: rgba(14, 26, 43, .1);
    --cda-bot-text: #1f2937;
    --cda-bot-muted: #6b7280;
}

.cda-bot {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999998;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--cda-bot-text);
}

/* ---------- Launcher ---------- */
.cda-bot__launcher {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--cda-bot-navy);
    color: var(--cda-bot-gold);
    border: 1px solid rgba(214, 168, 79, .5);
    border-radius: 999px;
    padding: 12px 20px 12px 16px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(14, 26, 43, .25);
    transition: transform .15s ease, box-shadow .2s ease, background .15s ease;
    font-family: inherit;
}
.cda-bot__launcher:hover {
    transform: translateY(-2px);
    background: var(--cda-bot-navy-2);
    box-shadow: 0 12px 30px rgba(14, 26, 43, .35);
}
.cda-bot__launcher-icon {
    display: inline-flex;
    align-items: center;
    color: var(--cda-bot-gold);
}
.cda-bot__launcher-label {
    font-family: Georgia, serif;
    color: var(--cda-bot-gold);
}

.cda-bot.is-open .cda-bot__launcher {
    transform: scale(0.85);
    opacity: .85;
}

/* ---------- Panel ---------- */
.cda-bot__panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 380px;
    max-width: calc(100vw - 32px);
    max-height: 600px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(14, 26, 43, .35);
    overflow: hidden;
    display: none;
    flex-direction: column;
    border: 1px solid var(--cda-bot-line);
}
.cda-bot.is-open .cda-bot__panel {
    display: flex;
    animation: cda-bot-in .22s ease-out;
}
@keyframes cda-bot-in {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Header ---------- */
.cda-bot__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px 14px;
    background: var(--cda-bot-navy);
    color: #fff;
    flex-shrink: 0;
}
.cda-bot__title {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.cda-bot__title strong {
    font-family: Georgia, serif;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}
.cda-bot__title small {
    font-size: 12px;
    color: rgba(255, 255, 255, .7);
}
.cda-bot__badge {
    display: inline-block;
    background: rgba(34, 197, 94, .2);
    color: #4ade80;
    padding: 1px 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .3px;
    text-transform: uppercase;
    margin-bottom: 4px;
    width: fit-content;
    border: 1px solid rgba(34, 197, 94, .4);
}
.cda-bot__close {
    background: transparent;
    border: 0;
    color: var(--cda-bot-gold);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 8px;
    transition: background .15s;
}
.cda-bot__close:hover {
    background: rgba(214, 168, 79, .15);
}

/* ---------- Body ---------- */
.cda-bot__body {
    flex: 1;
    overflow-y: auto;
    padding: 22px 20px;
    background: #fff;
}

/* Intro */
.cda-bot__intro p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--cda-bot-text);
    margin: 0 0 18px;
}

/* Progress */
.cda-bot__progress {
    margin-bottom: 18px;
}
.cda-bot__progress-bar {
    height: 4px;
    background: var(--cda-bot-gold);
    border-radius: 2px;
    transition: width .25s ease;
    margin-bottom: 6px;
}
.cda-bot__progress-label {
    font-size: 11px;
    color: var(--cda-bot-muted);
    text-transform: uppercase;
    letter-spacing: .4px;
    font-weight: 600;
}

/* Question */
.cda-bot__question h3 {
    font-family: Georgia, serif;
    font-size: 17px;
    color: var(--cda-bot-navy);
    margin: 0 0 16px;
    line-height: 1.4;
    font-weight: 600;
}
.cda-bot__options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}
.cda-bot__option {
    display: block;
    width: 100%;
    text-align: left;
    padding: 12px 14px;
    background: var(--cda-bot-cream);
    border: 1px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--cda-bot-text);
    transition: background .12s ease, border-color .12s ease, transform .1s ease;
    font-family: inherit;
    line-height: 1.4;
}
.cda-bot__option:hover {
    background: #fff;
    border-color: var(--cda-bot-gold);
    transform: translateX(2px);
}

/* Links */
.cda-bot__link {
    background: transparent;
    border: 0;
    color: var(--cda-bot-navy);
    cursor: pointer;
    font-size: 13px;
    padding: 6px 0;
    text-decoration: underline;
    font-family: inherit;
}
.cda-bot__link:hover {
    color: var(--cda-bot-gold);
}
.cda-bot__link--ghost {
    color: var(--cda-bot-muted);
    font-size: 12px;
    text-decoration: none;
    margin-top: 12px;
    display: inline-block;
}

/* Buttons */
.cda-bot__btn {
    display: inline-block;
    background: var(--cda-bot-navy);
    color: var(--cda-bot-gold);
    border: 0;
    border-radius: 10px;
    padding: 12px 22px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    text-align: center;
    font-family: Georgia, serif;
    transition: background .15s, transform .1s;
}
.cda-bot__btn:hover {
    background: var(--cda-bot-navy-2);
    color: var(--cda-bot-gold);
}
.cda-bot__btn--primary {
    background: var(--cda-bot-gold);
    color: var(--cda-bot-navy);
}
.cda-bot__btn--primary:hover {
    background: #C29641;
    color: var(--cda-bot-navy);
}
.cda-bot__btn--block {
    display: block;
    width: 100%;
    padding: 14px;
    font-size: 15px;
}

/* Reco */
.cda-bot__reco-outro {
    color: var(--cda-bot-muted);
    font-size: 13px;
    margin: 0 0 14px;
    text-align: center;
}
.cda-bot__offer {
    background: var(--cda-bot-cream);
    border: 1px solid var(--cda-bot-line);
    border-radius: 14px;
    padding: 18px 16px;
    margin-bottom: 16px;
    border-bottom: 4px solid var(--cda-bot-gold);
}
.cda-bot__offer-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--cda-bot-gold);
    margin: 0 0 10px;
    font-family: Georgia, serif;
}
.cda-bot__offer-title {
    font-family: Georgia, serif;
    font-size: 18px;
    color: var(--cda-bot-navy);
    margin: 0 0 8px;
    font-weight: 600;
}
.cda-bot__offer-pitch {
    font-size: 13.5px;
    color: var(--cda-bot-text);
    line-height: 1.55;
    margin: 0 0 14px;
}

/* Lead prompt */
.cda-bot__social-proof {
    background: rgba(214, 168, 79, .1);
    border-left: 3px solid var(--cda-bot-gold);
    padding: 10px 12px;
    margin-bottom: 12px;
    font-size: 12.5px;
    color: var(--cda-bot-text);
    border-radius: 0 6px 6px 0;
    line-height: 1.5;
}
.cda-bot__lead-prompt {
    background: rgba(214, 168, 79, .08);
    border: 1px dashed rgba(214, 168, 79, .35);
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 12px;
    font-size: 13px;
}
.cda-bot__lead-prompt p {
    margin: 0 0 6px;
    color: var(--cda-bot-text);
}

/* Email */
.cda-bot__email h3 {
    font-family: Georgia, serif;
    font-size: 16px;
    color: var(--cda-bot-navy);
    margin: 0 0 14px;
    font-weight: 600;
}
.cda-bot__email input {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    box-sizing: border-box;
    height: 46px;
    line-height: 22px;
    padding: 12px 14px;
    border: 1px solid var(--cda-bot-line);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    color: var(--cda-bot-text);
    background: #fff;
    margin-bottom: 12px;
    transition: border-color .12s, box-shadow .12s;
}
.cda-bot__email input:focus {
    outline: none;
    border-color: var(--cda-bot-gold);
    box-shadow: 0 0 0 3px rgba(214, 168, 79, .15);
}
.cda-bot__error {
    color: #b91c1c;
    font-size: 13px;
    margin-bottom: 10px;
    padding: 8px 10px;
    background: rgba(239, 68, 68, .08);
    border-radius: 8px;
}

/* Thanks */
.cda-bot__thanks {
    text-align: center;
    padding: 20px 0;
}
.cda-bot__thanks-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(34, 197, 94, .15);
    color: #15803d;
    font-size: 30px;
    line-height: 60px;
    margin: 0 auto 16px;
    font-weight: 700;
    border: 2px solid rgba(34, 197, 94, .4);
}
.cda-bot__thanks p {
    color: var(--cda-bot-text);
    margin: 0 0 12px;
    font-size: 15px;
}

/* Footer */
.cda-bot__footer {
    padding: 8px 18px 10px;
    background: #fafafa;
    border-top: 1px solid var(--cda-bot-line);
    text-align: center;
    flex-shrink: 0;
}
.cda-bot__footer small {
    color: var(--cda-bot-muted);
    font-size: 10px;
    letter-spacing: .3px;
}

/* Mobile */
@media (max-width: 600px) {
    .cda-bot {
        bottom: 16px;
        right: 16px;
    }
    .cda-bot__launcher-label {
        display: none;
    }
    .cda-bot__launcher {
        padding: 14px;
        border-radius: 50%;
    }
    .cda-bot.is-open .cda-bot__panel {
        position: fixed;
        bottom: 16px;
        right: 16px;
        left: 16px;
        width: auto;
        max-height: calc(100vh - 100px);
    }
}
