/**
 * itc-crm.css — modal de orçamento da página nativa (porte do visual do
 * modal do Cruzeiros de Réveillon, adaptado ao tema claro do site).
 *
 * Visual limpo: tipografia HERDADA do tema (Poppins do BookYourTravel),
 * neutros da casa (#e3e6e8 / #6b7177, mesmos do itc.css) e botão verde
 * #006303 com hover #004d02 (DI-004). Enfileirado SÓ em
 * is_singular('cruise') por itc_crm_enqueue().
 */

/* ── Honeypot: invisível para humanos, presente para bots ─────────── */
.itc-hp {
    position: absolute !important;
    left: -9999px !important;
    top: auto !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ── Base do modal ────────────────────────────────────────────────── */
body.itc-modal-open { overflow: hidden; }

.itc-quote { position: fixed; inset: 0; z-index: 100000; }
.itc-quote[hidden] { display: none; }
.itc-quote__overlay { position: absolute; inset: 0; background: rgba(10, 14, 20, 0.6); }
.itc-quote__dialog {
    position: relative;
    z-index: 1;
    max-width: 560px;
    margin: 0 auto;
    height: 100%;
    max-height: 100vh;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #e3e6e8;
    color: #333;
    padding: 24px 20px 32px;
}
@media (min-width: 640px) {
    .itc-quote { display: flex; align-items: center; padding: 24px; }
    .itc-quote__dialog {
        height: auto;
        max-height: calc(100vh - 48px);
        border-radius: 6px;
        padding: 28px 32px 36px;
        box-shadow: 0 18px 48px rgba(0, 0, 0, 0.25);
        width: 100%;
    }
}

.itc-quote__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e3e6e8;
    background: none;
    color: #333;
    font-size: 1.4em;
    line-height: 1;
    cursor: pointer;
}
.itc-quote__close:hover { background: #f6f7f8; }

.itc-quote__title {
    font-size: 1.4em;
    margin: 0 0 4px;
    padding-right: 44px;
}
.itc-quote__cruise {
    margin: 0 0 12px;
    color: #6b7177;
    font-size: 0.875em;
}

.itc-quote__progress {
    list-style: none;
    display: flex;
    gap: 8px;
    margin: 0 0 20px;
    padding: 0;
}
.itc-quote__dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85em;
    font-weight: 700;
    border: 1px solid #e3e6e8;
    color: #6b7177;
    margin: 0;
}
.itc-quote__dot.is-active {
    background: #006303;
    border-color: #006303;
    color: #fff;
}

.itc-qstep__intro { margin: 0 0 16px; color: #6b7177; }

/* ── Campos do passo 1 ────────────────────────────────────────────── */
.itc-field { margin-bottom: 16px; }
.itc-field label {
    display: block;
    font-size: 0.85em;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}
.itc-field input[type="text"],
.itc-field input[type="email"],
.itc-field input[type="tel"] {
    width: 100%;
    padding: 12px 14px;
    border-radius: 4px;
    border: 1px solid #e3e6e8;
    background: #fff;
    color: #333;
    font-size: 1em;
    font-family: inherit;
    box-sizing: border-box;
}
.itc-field input:focus-visible { outline: 2px solid #006303; outline-offset: 1px; }
.itc-field__error {
    display: none;
    margin-top: 5px;
    font-size: 0.8em;
    color: #b00020;
}
.itc-field.has-error .itc-field__error,
.itc-consent.has-error .itc-field__error { display: block; }
.itc-field.has-error input { border-color: #b00020; }

.itc-consent { margin: 18px 0 20px; }
.itc-consent__label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.82em;
    color: #6b7177;
    line-height: 1.5;
    cursor: pointer;
}
.itc-consent__label input { margin-top: 3px; flex-shrink: 0; }

/* ── Botões (verde da casa — DI-004) ──────────────────────────────── */
.itc-quote__next {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background: #006303;
    background-image: none;
    color: #fff;
    border: 0;
    border-radius: 4px;
    font-size: 1.05em;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s ease;
}
.itc-quote__next:hover { background: #004d02; color: #fff; }
.itc-quote__next:disabled { opacity: 0.6; cursor: wait; }
.itc-quote__back {
    display: block;
    margin: 12px auto 0;
    background: none;
    border: 0;
    color: #6b7177;
    font-size: 0.9em;
    font-family: inherit;
    cursor: pointer;
    text-decoration: underline;
}
.itc-quote__back:hover { color: #006303; }

/* ── Passo 2: escolha de categoria ────────────────────────────────── */
.itc-cabpick { border: 0; padding: 0; margin: 0 0 20px; }
.itc-cabpick legend { padding: 0; }
.itc-cabpick__opt {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    padding: 12px 14px;
    border: 1px solid #e3e6e8;
    border-radius: 4px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.itc-cabpick__opt:hover { border-color: rgba(0, 99, 3, 0.5); }
.itc-cabpick__opt:has(input:checked) {
    border-color: #006303;
    background: rgba(0, 99, 3, 0.06);
}
.itc-cabpick__opt input { margin-top: 4px; flex-shrink: 0; }
.itc-cabpick__body { display: flex; flex-direction: column; gap: 2px; }
.itc-cabpick__name { font-weight: 600; font-size: 0.95em; color: #333; }
.itc-cabpick__meta { font-size: 0.82em; color: #6b7177; }

/* ── Passo 2: hóspedes ────────────────────────────────────────────── */
.itc-quote-guests {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.itc-quote-guests .itc-qstep__intro { margin-bottom: 4px; }
.itc-guest-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.itc-guest-stepper__name { font-size: 0.95em; }
.itc-guest-stepper__ctrl { display: inline-flex; align-items: center; gap: 8px; }
.itc-guest-stepper__btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #e3e6e8;
    background: #f6f7f8;
    color: #333;
    font-size: 1.1em;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}
.itc-guest-stepper__btn:hover { background: #006303; color: #fff; }
.itc-guest-stepper__count { min-width: 24px; text-align: center; font-weight: 700; }

.itc-quote-ages { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.itc-age {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.88em;
    color: #6b7177;
}
.itc-age select {
    padding: 7px 10px;
    border-radius: 4px;
    border: 1px solid #e3e6e8;
    background: #fff;
    color: #333;
    font-family: inherit;
}

/* ── Confirmação ──────────────────────────────────────────────────── */
.itc-quote-success { text-align: center; padding: 16px 0 8px; }
.itc-quote-success__badge {
    display: inline-block;
    font-size: 0.75em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
    background: #006303;
    border-radius: 999px;
    padding: 4px 14px;
    margin-bottom: 14px;
}
.itc-quote-success__title { font-size: 1.3em; margin: 0 0 8px; }
.itc-quote-success__proto { font-size: 1em; color: #333; }
.itc-quote-success__proto strong { color: #006303; letter-spacing: 0.03em; }
.itc-quote-success__note {
    color: #6b7177;
    font-size: 0.92em;
    margin-bottom: 24px;
}
