/* Circuito Quiz Plus — identidade visual Circuito de Viagens */

.cq-wrap {
    --cq-navy: #161B33;
    --cq-gold: #B98A2E;
    --cq-gold-soft: #E9DDC3;
    --cq-paper: #F4F2EC;
    --cq-ink: #1D2333;
    --cq-muted: #5B6072;
    --cq-line: #DEDAD0;
    --cq-error: #9B2C2C;
    max-width: 780px;
    margin: 40px auto;
    padding: 44px 48px 36px;
    background: #fff;
    border-top: 6px solid var(--cq-navy);
    box-shadow: 0 10px 40px rgba(22, 27, 51, .08);
    color: var(--cq-ink);
    font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    box-sizing: border-box;
}
.cq-wrap *, .cq-wrap *::before, .cq-wrap *::after { box-sizing: border-box; }
.cq-wrap [hidden] { display: none !important; }

/* Cabeçalho */
.cq-header { text-align: center; padding-bottom: 28px; border-bottom: 1px solid var(--cq-line); margin-bottom: 26px; }
.cq-logo { width: 72px; height: auto; margin: 0 auto 10px; display: block; }
.cq-kicker { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--cq-gold); margin: 0 0 6px; font-weight: 600; }
.cq-title { font-family: 'Cinzel', Georgia, serif; font-weight: 400; color: var(--cq-navy); font-size: 30px; line-height: 1.2; margin: 0 0 4px; letter-spacing: .02em; }
.cq-subtitle { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 21px; color: var(--cq-gold); margin: 0 0 16px; }
.cq-lead { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 19px; line-height: 1.5; color: var(--cq-ink); margin: 0 auto; max-width: 620px; }

/* Progresso */
.cq-progress { margin-bottom: 26px; }
.cq-progress-bar { height: 4px; background: var(--cq-paper); border-radius: 2px; overflow: hidden; }
.cq-progress-bar span { display: block; height: 100%; background: var(--cq-gold); transition: width .4s ease; }
.cq-progress-label { font-size: 12px; color: var(--cq-muted); margin: 8px 0 0; letter-spacing: .04em; }

/* Etapas */
.cq-step { display: none; animation: cqFade .35s ease; }
.cq-step.is-active { display: block; }
@keyframes cqFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.cq-step-title { font-family: 'Cinzel', Georgia, serif; font-weight: 400; color: var(--cq-navy); font-size: 22px; margin: 0 0 6px; display: flex; align-items: baseline; gap: 12px; }
.cq-step-index { font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 600; color: var(--cq-gold); letter-spacing: .1em; }
.cq-step-intro { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 18px; color: var(--cq-muted); margin: 0 0 22px; padding-left: 14px; border-left: 3px solid var(--cq-gold); }

/* Campos */
.cq-field { margin-bottom: 22px; }
.cq-row { display: flex; gap: 18px; }
.cq-row .cq-field { flex: 1; min-width: 0; }
.cq-field label, .cq-label { display: block; font-weight: 600; font-size: 14px; color: var(--cq-navy); margin: 0 0 8px; }
.cq-field em { color: var(--cq-gold); font-style: normal; }
.cq-field small { font-weight: 400; color: var(--cq-muted); }
.cq-help { font-size: 13px; color: var(--cq-muted); margin: -4px 0 8px; }
.cq-field input[type=text], .cq-field input[type=email], .cq-field input[type=tel],
.cq-field input[type=date], .cq-field input[type=time], .cq-field textarea {
    width: 100%; padding: 12px 14px; border: 1px solid var(--cq-line); border-radius: 4px;
    font: inherit; color: var(--cq-ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.cq-field textarea { resize: vertical; min-height: 120px; }
.cq-field input:focus, .cq-field textarea:focus { outline: none; border-color: var(--cq-gold); box-shadow: 0 0 0 3px rgba(185, 138, 46, .15); }
.cq-count { font-size: 11px; color: var(--cq-muted); text-align: right; margin: 4px 0 0; }

/* Opções em cartão */
.cq-options, .cq-checks { display: grid; gap: 8px; }
.cq-option, .cq-check { display: flex; align-items: flex-start; gap: 10px; padding: 11px 14px; border: 1px solid var(--cq-line); border-radius: 4px; cursor: pointer; font-weight: 400 !important; font-size: 14px !important; color: var(--cq-ink) !important; margin: 0 !important; transition: border-color .15s, background .15s; }
.cq-option:hover, .cq-check:hover { border-color: var(--cq-gold); }
.cq-option input, .cq-check input { margin: 4px 2px 0 0; accent-color: var(--cq-navy); flex-shrink: 0; width: 16px; height: 16px; }
.cq-option:has(input:checked), .cq-check:has(input:checked) { border-color: var(--cq-navy); background: var(--cq-paper); }
.cq-consent .cq-check { background: var(--cq-paper); font-size: 13px !important; }

.cq-field.has-error .cq-options, .cq-field.has-error .cq-checks,
.cq-field.has-error input, .cq-field.has-error textarea { border-color: var(--cq-error); }
.cq-field.has-error .cq-option, .cq-field.has-error .cq-check { border-color: rgba(155, 44, 44, .45); }
.cq-error { color: var(--cq-error); font-size: 13px; margin: 12px 0 0; text-align: right; }

/* Navegação */
.cq-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--cq-line); }
.cq-btn { display: inline-block; background: var(--cq-navy); color: #fff !important; border: 1px solid var(--cq-navy); padding: 13px 30px; border-radius: 3px; font: 600 14px/1.2 'Poppins', sans-serif; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; text-decoration: none !important; transition: background .2s, transform .2s; text-align: center; }
.cq-btn:hover { background: #242B4D; transform: translateY(-1px); }
.cq-btn:disabled { opacity: .6; cursor: wait; transform: none; }
.cq-btn-ghost { background: transparent; color: var(--cq-navy) !important; }
.cq-btn-ghost:hover { background: var(--cq-paper); }
.cq-btn-gold { background: var(--cq-gold); border-color: var(--cq-gold); }
.cq-btn-gold:hover { background: #A57A25; }
.cq-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* Carregando */
.cq-loading { text-align: center; padding: 50px 0; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 20px; color: var(--cq-navy); }
.cq-spinner { width: 46px; height: 46px; border: 3px solid var(--cq-paper); border-top-color: var(--cq-gold); border-radius: 50%; margin: 0 auto 18px; animation: cqSpin 1s linear infinite; }
@keyframes cqSpin { to { transform: rotate(360deg); } }

/* Resultado */
.cq-result { animation: cqFade .4s ease; }
.cq-wrap .cq-res-head { text-align: center; padding: 28px 20px; background: #161B33 !important; color: #fff !important; border-bottom: 4px solid #B98A2E; }
/* Cores fixadas com !important: alguns temas forçam a cor de todo parágrafo e apagavam este bloco. */
.cq-wrap .cq-res-head p.cq-res-kicker { font-family: 'Poppins', sans-serif !important; font-size: 11px !important; letter-spacing: .22em; text-transform: uppercase; color: #E9DDC3 !important; margin: 0 0 6px !important; }
.cq-wrap .cq-res-head p.cq-res-class { font-family: 'Cinzel', Georgia, serif !important; font-size: 30px !important; line-height: 1.2 !important; margin: 0 0 6px !important; color: #FFFFFF !important; }
.cq-wrap .cq-res-head p.cq-res-index { margin: 0 !important; color: #E9DDC3 !important; font-size: 14px !important; }
.cq-wrap .cq-res-head p.cq-res-index strong { color: #FFFFFF !important; font-size: 18px !important; }
.cq-res-desc { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 19px; line-height: 1.55; margin: 24px 0; text-align: justify; }
.cq-pillars { display: grid; gap: 12px; padding: 22px; background: var(--cq-paper); margin-bottom: 20px; }
.cq-pillar-top { display: flex; justify-content: space-between; font-size: 13px; color: var(--cq-navy); margin-bottom: 4px; }
.cq-pillar-bar { height: 7px; background: #fff; border-radius: 4px; overflow: hidden; }
.cq-pillar-bar span { display: block; height: 100%; background: var(--cq-gold); border-radius: 4px; }
.cq-res-note { font-size: 14px; padding: 14px 18px; border-left: 3px solid var(--cq-gold); background: #fff; margin: 0 0 20px; }
.cq-res-download { text-align: center; margin: 28px 0; }
.cq-res-download p { margin: 0 0 14px; }
.cq-res-cta { padding: 26px 28px; border: 1px solid var(--cq-gold); background: linear-gradient(180deg, #fff, var(--cq-paper)); text-align: center; }
.cq-res-cta-title { font-family: 'Cinzel', Georgia, serif; font-size: 20px; color: var(--cq-navy); margin: 0 0 10px; }
.cq-res-cta p { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 18px; line-height: 1.5; margin: 0 0 18px; }

.cq-privacy { font-size: 12px; color: var(--cq-muted); text-align: center; margin: 28px 0 0; padding-top: 18px; border-top: 1px solid var(--cq-line); }

/* Responsivo */
@media (max-width: 640px) {
    .cq-wrap { padding: 28px 18px 24px; margin: 16px; }
    .cq-row { flex-direction: column; gap: 0; }
    .cq-title { font-size: 23px; }
    .cq-nav { flex-direction: column-reverse; align-items: stretch; }
    .cq-nav .cq-btn { width: 100%; }
    .cq-wrap .cq-res-head p.cq-res-class { font-size: 24px !important; }
}

/* Rodapé de contato */
.cq-wrap .cq-contato { margin: 26px -48px -36px; padding: 22px 24px; background: #161B33; text-align: center; }
.cq-wrap .cq-contato-titulo { font-family: 'Poppins', sans-serif !important; font-size: 11px !important; letter-spacing: .22em; text-transform: uppercase; color: #E9DDC3 !important; margin: 0 0 12px !important; }
.cq-wrap .cq-contato-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 26px; margin: 0; }
.cq-wrap .cq-contato-links a { color: #FFFFFF !important; text-decoration: none !important; font-family: 'Poppins', sans-serif; font-size: 14px; border-bottom: 1px solid #B98A2E; padding-bottom: 2px; }
.cq-wrap .cq-contato-links a:hover { color: #E9DDC3 !important; }
.cq-wrap .cq-contato-links span { display: block; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: #B98A2E; margin-bottom: 2px; }
@media (max-width: 640px) {
    .cq-wrap .cq-contato { margin: 22px -18px -24px; }
    .cq-wrap .cq-contato-links { flex-direction: column; align-items: center; }
}
.cq-wrap .cq-step.is-skip { display: none !important; }
