/* ==========================================================================
   CRM — formulários no site (também usado na pré-visualização do admin),
   pop-ups e a seção "Formulário / CTA" (5 modelos).
   ========================================================================== */

/* ── Formulário ─────────────────────────────────────────────────────── */
.imf {
    --imf-accent: #6d6bff;
    --imf-radius: 12px;
    --imf-text: #16232b;
    --imf-muted: #5b6b76;
    --imf-line: rgba(22, 35, 43, 0.18);
    --imf-field-bg: #ffffff;
    --imf-soft: rgba(22, 35, 43, 0.05);
    color: var(--imf-text);
    font-family: var(--imf-font, inherit);
    font-size: 15px;
    line-height: 1.5; /* o kit do Elementor fixa line-height em px no body */
    text-align: left;
}
.imf--dark {
    --imf-text: #f1f4ff;
    --imf-muted: #a5aec8;
    --imf-line: rgba(255, 255, 255, 0.16);
    --imf-field-bg: rgba(255, 255, 255, 0.05);
    --imf-soft: rgba(255, 255, 255, 0.06);
}
.imf *,
.imf *::before,
.imf *::after {
    box-sizing: border-box;
}
.imf .imf-head {
    margin-bottom: 18px;
}
.imf .imf-title {
    margin: 0 0 6px;
    color: var(--imf-text);
    font-family: var(--imobius-font-heading, inherit);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}
.imf .imf-text {
    margin: 0;
    color: var(--imf-muted);
    font-size: 15px;
}
.imf-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 12px;
}
.imf-field {
    display: flex;
    flex: 1 1 100%;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}
.imf-field.imf-w-half {
    flex-basis: calc(50% - 6px);
}
.imf .imf-label,
.imf .imf-choice {
    letter-spacing: normal;
    text-transform: none; /* o kit do Elementor pode deixar rótulos em maiúsculas */
}
.imf .imf-label {
    color: var(--imf-label, var(--imf-text));
    font-size: 13px;
    font-weight: 600;
}
.imf .imf-label em,
.imf-consent em {
    color: var(--imf-accent);
    font-style: normal;
}
.imf.imf input:not([type="checkbox"]):not([type="radio"]),
.imf.imf select,
.imf.imf textarea {
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid var(--imf-border-color, var(--imf-line));
    border-radius: var(--imf-radius);
    background: var(--imf-field-bg);
    box-shadow: none;
    color: var(--imf-text);
    font: inherit;
    font-size: 15px;
    line-height: 1.4;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.imf.imf textarea {
    min-height: 110px;
    resize: vertical;
}
.imf.imf input::placeholder,
.imf.imf textarea::placeholder {
    color: var(--imf-placeholder, var(--imf-muted));
    opacity: var(--imf-placeholder-opacity, 0.7);
}
.imf.imf input:focus,
.imf.imf select:focus,
.imf.imf textarea:focus {
    border-color: var(--imf-accent);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--imf-accent) 18%, transparent);
    outline: none;
}
/* Estilos dos campos */
.imf.imf--filled input:not([type="checkbox"]):not([type="radio"]),
.imf.imf--filled select,
.imf.imf--filled textarea {
    border-color: transparent;
    background: var(--imf-soft);
}
.imf.imf--underline input:not([type="checkbox"]):not([type="radio"]),
.imf.imf--underline select,
.imf.imf--underline textarea {
    padding-left: 0;
    padding-right: 0;
    border-width: 0 0 2px;
    border-radius: 0;
    background: transparent;
}
.imf.imf--underline input:focus,
.imf.imf--underline select:focus,
.imf.imf--underline textarea:focus {
    box-shadow: none;
}
.imf.imf--pill input:not([type="checkbox"]):not([type="radio"]),
.imf.imf--pill select {
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 999px;
}
.imf--pill .imf-submit {
    border-radius: 999px;
}

.imf-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.imf .imf-choice {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    color: var(--imf-text);
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
}
.imf-choices .imf-choice {
    padding: 9px 14px;
    border: 1px solid var(--imf-border-color, var(--imf-line));
    border-radius: var(--imf-radius);
    background: var(--imf-field-bg);
}
.imf-choices .imf-choice:has(input:checked) {
    border-color: var(--imf-accent);
    background: color-mix(in srgb, var(--imf-accent) 10%, transparent);
}
.imf.imf .imf-choice input {
    width: 17px;
    height: 17px;
    margin: 2px 0 0;
    accent-color: var(--imf-accent);
    flex-shrink: 0;
}
.imf-consent {
    color: var(--imf-muted);
    font-size: 13px;
}
/* Os botões do formulário zeram os estilos herdados (tema, kit do Elementor) antes de aplicar os próprios */
.imf button.imf-submit,
.imf button.imf-submit:hover,
.imf button.imf-submit:focus {
    all: unset;
    box-sizing: border-box;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    margin-top: 18px;
    padding: 0 26px;
    border: none;
    border-radius: var(--imf-radius);
    background: var(--imf-btn-bg, var(--imf-accent));
    box-shadow: 0 12px 26px -12px var(--imf-btn-bg, var(--imf-accent));
    color: var(--imf-btn-text, #ffffff);
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: filter 0.15s, transform 0.15s;
}
.imf button.imf-submit:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}
.imf button.imf-submit:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--imf-accent) 45%, transparent);
    outline-offset: 2px;
}
.imf.is-sending button.imf-submit {
    pointer-events: none;
    opacity: 0.75;
}
.imf.is-sending .imf-submit span {
    visibility: hidden;
}
.imf.is-sending .imf-submit::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: imf-spin 0.7s linear infinite;
}
@keyframes imf-spin {
    to { transform: rotate(360deg); }
}
.imf-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}
.imf-error {
    display: none;
    color: #dc2626;
    font-size: 12px;
}
.imf-field.has-error .imf-error {
    display: block;
}
.imf-field.has-error input,
.imf-field.has-error select,
.imf-field.has-error textarea {
    border-color: #dc2626 !important;
}
.imf .imf-msg {
    margin: 10px 0 0;
    font-size: 13px;
}
.imf .imf-msg:empty {
    display: none;
}
.imf .imf-msg.is-error {
    color: #dc2626;
}
.imf-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 28px 8px;
    text-align: center;
}
.imf-success p {
    margin: 0;
    color: var(--imf-text);
    font-size: 17px;
    font-weight: 600;
}
.imf-success-ico {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--imf-accent);
    box-shadow: 0 14px 30px -12px var(--imf-accent);
    animation: imf-pop 0.35s ease-out;
}
.imf-success-ico::before {
    content: "";
    width: 26px;
    height: 14px;
    margin-top: -6px;
    border: solid #ffffff;
    border-width: 0 0 3px 3px;
    transform: rotate(-45deg);
}
@keyframes imf-pop {
    from { transform: scale(0.5); opacity: 0; }
}
.imf-missing {
    padding: 14px 18px;
    border: 1px dashed #d97706;
    border-radius: 10px;
    background: #fffbeb;
    color: #92400e;
    font-size: 14px;
}

@media (max-width: 560px) {
    .imf-field.imf-w-half {
        flex-basis: 100%;
    }
}

/* ── Pop-ups ────────────────────────────────────────────────────────── */
html.imf-lock {
    overflow: hidden;
}
.imf-pop {
    position: fixed;
    inset: 0;
    z-index: 999990;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    pointer-events: none;
}
.imf-pop[hidden] {
    display: none;
}
.imf-pop-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 12, 24, 0.6);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.25s;
}
.imf-pop-box {
    position: relative;
    display: flex;
    width: 100%;
    max-width: 480px;
    max-height: calc(100vh - 40px);
    overflow: auto;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.45);
    opacity: 0;
    transform: translateY(18px) scale(0.97);
    transition: opacity 0.25s, transform 0.25s;
    pointer-events: auto;
}
.imf-pop.is-open .imf-pop-backdrop {
    opacity: 1;
    pointer-events: auto;
}
.imf-pop.is-open .imf-pop-box {
    opacity: 1;
    transform: none;
}
.imf-pop-body {
    flex: 1;
    min-width: 0;
    padding: 34px 30px 28px;
}
.imf-pop-box:has(.imf--dark) {
    background: #0f1629;
}
.imf-pop button.imf-pop-close,
.imf-pop button.imf-pop-close:hover,
.imf-pop button.imf-pop-close:focus {
    all: unset;
    box-sizing: border-box;
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(22, 35, 43, 0.08);
    color: #16232b;
    font: 400 24px/1 system-ui, sans-serif;
    text-align: center;
    cursor: pointer;
    transition: background 0.15s, transform 0.15s;
}
.imf-pop button.imf-pop-close:hover {
    background: rgba(22, 35, 43, 0.16);
    transform: rotate(90deg);
}
.imf-pop button.imf-pop-close:focus-visible {
    outline: 3px solid rgba(109, 107, 255, 0.5);
}
.imf-pop-box:has(.imf--dark) button.imf-pop-close {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}
.imf-pop-media {
    flex: 0 0 44%;
    min-height: 100%;
    background: center / cover no-repeat;
}
.imf-pop--center.has-image .imf-pop-box {
    max-width: 860px;
}
/* Canto: pequeno, sem escurecer a página */
.imf-pop--corner {
    align-items: flex-end;
    justify-content: flex-end;
}
.imf-pop--corner .imf-pop-backdrop,
.imf-pop--bar .imf-pop-backdrop {
    display: none;
}
.imf-pop--corner .imf-pop-box {
    max-width: 380px;
}
.imf-pop--corner .imf-pop-body {
    padding: 28px 22px 22px;
}
.imf-pop--corner .imf-title {
    font-size: 20px;
}
/* Painel lateral */
.imf-pop--side {
    justify-content: flex-end;
    padding: 0;
}
.imf-pop--side .imf-pop-box {
    max-width: 440px;
    height: 100%;
    max-height: none;
    border-radius: 0;
    transform: translateX(40px);
}
.imf-pop--side .imf-pop-body {
    align-self: center;
}
/* Barra inferior: campos lado a lado */
.imf-pop--bar {
    align-items: flex-end;
    padding: 0;
}
.imf-pop--bar .imf-pop-box {
    max-width: none;
    border-radius: 20px 20px 0 0;
}
.imf-pop--bar .imf-pop-body {
    max-width: 1200px;
    margin: 0 auto;
    padding: 22px 64px 22px 24px;
}
@media (min-width: 900px) {
    .imf-pop--bar .imf {
        display: flex;
        align-items: flex-end;
        gap: 18px;
    }
    .imf-pop--bar .imf-head {
        flex: 0 0 30%;
        margin: 0;
    }
    .imf-pop--bar .imf-fields {
        flex: 1;
        flex-wrap: nowrap;
    }
    .imf-pop--bar .imf-field {
        flex: 1 1 0;
    }
    .imf-pop--bar .imf-field--textarea {
        display: none;
    }
    .imf-pop--bar .imf-submit {
        width: auto;
        margin: 0;
    }
}
@media (max-width: 700px) {
    .imf-pop-media {
        display: none;
    }
    .imf-pop--corner {
        padding: 12px;
    }
}

/* Botão flutuante que abre o pop-up */
button.imf-float.imf-float,
button.imf-float.imf-float:hover,
button.imf-float.imf-float:focus {
    all: unset;
    box-sizing: border-box;
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 999980;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 24px 0 20px;
    border: none;
    border-radius: 999px;
    background: var(--imf-accent, #6d6bff);
    box-shadow: 0 16px 34px -12px var(--imf-accent, #6d6bff);
    color: #ffffff;
    font: 700 15px/1 var(--imobius-font-body, inherit);
    cursor: pointer;
    animation: imf-float-in 0.4s ease-out 0.6s both;
}
.imf-float::before {
    content: "";
    width: 20px;
    height: 20px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.2L4 21l1.8-5.4A8 8 0 1 1 21 12z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.2L4 21l1.8-5.4A8 8 0 1 1 21 12z'/%3E%3C/svg%3E") center / contain no-repeat;
}
button.imf-float.imf-float:hover {
    filter: brightness(1.08);
}
@keyframes imf-float-in {
    from { opacity: 0; transform: translateY(20px); }
}

/* ── Seção "Formulário / CTA" (página inicial) ─────────────────────── */
.imf-section {
    --imf-s-bg: #f4f3f0;
    --imf-s-text: #16232b;
    padding: clamp(56px, 8vw, 110px) 0;
    background: var(--imf-s-bg);
    color: var(--imf-s-text);
    line-height: 1.5;
}
.imf-section-inner {
    display: grid;
    align-items: center;
    gap: clamp(28px, 5vw, 64px);
}
.imf-section .imf-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--imf-s-accent, #6d6bff);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.imf-section .imf-section-title {
    margin: 0 0 14px;
    color: var(--imf-s-text);
    font-family: 'Inter Tight', var(--imobius-font-heading, inherit), sans-serif;
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
}
.imf-section .imf-section-sub {
    margin: 0;
    color: var(--imf-s-text);
    font-size: 17px;
    opacity: 0.75;
}
.imf-section .imf-section-form {
    width: 100%;
}
.imf-placeholder {
    padding: 40px 24px;
    border: 2px dashed rgba(109, 107, 255, 0.5);
    border-radius: 16px;
    background: rgba(109, 107, 255, 0.06);
    color: #3b3a8f;
    font-size: 15px;
    text-align: center;
}

/* 1. Cartão central */
.imf-section--card .imf-section-inner {
    max-width: 760px;
    text-align: center;
}
.imf-section--card .imf-section-form {
    padding: clamp(24px, 4vw, 40px);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 30px 70px -40px rgba(22, 35, 43, 0.45);
}

/* 2. Dividido com imagem */
.imf-section--split .imf-section-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
}
.imf-section--split .imf-section-main {
    align-self: center;
}
.imf-section--split .imf-section-copy {
    margin-bottom: 28px;
}
.imf-section--split .imf-section-media {
    min-height: 420px;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--imf-s-accent, #6d6bff), #16232b) center / cover no-repeat;
}

/* 3. Faixa CTA */
.imf-section--banner {
    padding: clamp(40px, 6vw, 72px) 0;
}
.imf-section--banner .imf-section-inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
    padding: clamp(28px, 4vw, 48px);
    border-radius: 28px;
    background: linear-gradient(120deg, var(--imf-s-accent, #6d6bff), color-mix(in srgb, var(--imf-s-accent, #6d6bff) 55%, #0b1326));
    box-shadow: 0 30px 70px -35px var(--imf-s-accent, #6d6bff);
}
.imf-section--banner .imf-section-title,
.imf-section--banner .imf-section-sub,
.imf-section--banner .imf-eyebrow {
    color: #ffffff;
}
.imf-section--banner .imf-section-title {
    font-size: clamp(26px, 3vw, 38px);
}
.imf-section--banner .imf {
    --imf-text: #ffffff;
    --imf-muted: rgba(255, 255, 255, 0.75);
    --imf-line: rgba(255, 255, 255, 0.35);
    --imf-field-bg: rgba(255, 255, 255, 0.12);
    --imf-soft: rgba(255, 255, 255, 0.14);
}
.imf-section--banner .imf .imf-submit {
    background: #ffffff;
    box-shadow: none;
    color: var(--imf-s-accent, #6d6bff);
}

/* 4. Minimalista */
.imf-section--minimal .imf-section-inner {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: start;
}
.imf-section--minimal .imf-section-copy {
    padding-top: 8px;
    border-top: 2px solid var(--imf-s-text);
}

/* 5. Escuro com vidro */
.imf-section--glass {
    position: relative;
    overflow: hidden;
    --imf-s-bg: #0b1326;
    --imf-s-text: #ffffff;
}
.imf-section--glass::before,
.imf-section--glass::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: var(--imf-s-accent, #6d6bff);
    filter: blur(120px);
    opacity: 0.35;
    pointer-events: none;
}
.imf-section--glass::before {
    top: -200px;
    left: -140px;
}
.imf-section--glass::after {
    right: -160px;
    bottom: -240px;
    background: #22d3ee;
    opacity: 0.18;
}
.imf-section--glass .imf-section-inner {
    position: relative;
    z-index: 1;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.imf-section--glass .imf-section-form {
    padding: clamp(24px, 4vw, 40px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.06);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}
.imf-section--glass .imf {
    --imf-text: #ffffff;
    --imf-muted: rgba(255, 255, 255, 0.7);
    --imf-line: rgba(255, 255, 255, 0.18);
    --imf-field-bg: rgba(255, 255, 255, 0.06);
    --imf-soft: rgba(255, 255, 255, 0.08);
}

@media (max-width: 860px) {
    .imf-section--split .imf-section-inner,
    .imf-section--banner .imf-section-inner,
    .imf-section--minimal .imf-section-inner,
    .imf-section--glass .imf-section-inner {
        grid-template-columns: minmax(0, 1fr);
    }
    .imf-section--split .imf-section-media {
        min-height: 240px;
        order: -1;
    }
}

/* ── Opções de aparência ───────────────────────────────────────────── */
.imf.imf--noborder input:not([type="checkbox"]):not([type="radio"]),
.imf.imf--noborder select,
.imf.imf--noborder textarea,
.imf--noborder .imf-choices .imf-choice {
    border-color: transparent;
}
/* Só a cor interna: sem borda, campo preenchido (cor própria ou um tom suave do tema) */
.imf.imf--fill input:not([type="checkbox"]):not([type="radio"]),
.imf.imf--fill select,
.imf.imf--fill textarea,
.imf--fill .imf-choices .imf-choice {
    border-color: transparent;
    background: var(--imf-soft);
}
/* Cor ao passar o mouse (antes do foco, que continua com a cor de destaque) */
.imf.imf input:not([type="checkbox"]):not([type="radio"]):hover,
.imf.imf select:hover,
.imf.imf textarea:hover,
.imf .imf-choices .imf-choice:hover {
    border-color: var(--imf-hover, color-mix(in srgb, var(--imf-accent) 45%, var(--imf-line)));
}
.imf.imf input:not([type="checkbox"]):not([type="radio"]):focus,
.imf.imf select:focus,
.imf.imf textarea:focus {
    border-color: var(--imf-accent);
}
/* Com cor de texto de orientação escolhida, ela aparece sem transparência */
.imf[style*="--imf-placeholder"] {
    --imf-placeholder-opacity: 1;
}
/* Fundo do formulário (caixa atrás dos campos) */
.imf.imf--boxed {
    padding: clamp(20px, 4vw, 32px);
    border-radius: calc(var(--imf-radius) + 8px);
    background: var(--imf-form-bg);
}
.imf.imf--upper .imf-label,
.imf.imf--upper .imf-choices .imf-choice span {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
/* Marcações como interruptor (liga/desliga) */
.imf.imf--switch .imf-choice input[type="checkbox"] {
    position: relative;
    width: 44px;
    height: 24px;
    margin: 0;
    border-radius: 999px;
    background: #182235;
    border: 2px solid rgba(255, 255, 255, 0.28);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.45);
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.imf.imf--switch .imf-choice input[type="checkbox"]::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #94a3b8;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.25s;
}
.imf.imf--switch .imf-choice:hover input[type="checkbox"] {
    border-color: rgba(255, 255, 255, 0.5);
    background: #222d42;
}
.imf.imf--switch .imf-choice:hover input[type="checkbox"]::before {
    background: #cbd5e1;
}
.imf.imf--switch .imf-choice input[type="checkbox"]:checked {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    border-color: #34d399 !important;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.55), inset 0 1px 2px rgba(255, 255, 255, 0.4) !important;
}
.imf.imf--switch .imf-choice input[type="checkbox"]:checked::before {
    transform: translateX(20px);
    background: #ffffff !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4), 0 0 3px rgba(255, 255, 255, 0.8);
}
.imf--switch .imf-choice {
    align-items: center;
}

/* ── Aviso de cookies (LGPD) ─────────────────────────────────────── */
.imcc {
    position: fixed;
    z-index: 999995;
    left: 16px;
    right: 16px;
    bottom: 16px;
    display: flex;
    justify-content: center;
    pointer-events: none;
    font-family: var(--imobius-font-body, system-ui, sans-serif);
    line-height: 1.5;
}
.imcc[hidden] {
    display: none;
}
.imcc-box {
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
    max-width: 1080px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: rgba(11, 19, 38, 0.94);
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
    color: #c7cbe0;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.25s, transform 0.25s;
    pointer-events: auto;
}
.imcc.is-open .imcc-box {
    opacity: 1;
    transform: none;
}
.imcc-ico {
    position: relative;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #6d6bff, #8b5cf6);
}
.imcc-ico::before {
    content: "";
    position: absolute;
    inset: 11px;
    background: #ffffff;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 10 10 4 4 0 0 1-5-5 4 4 0 0 1-5-5zM8.5 9A1.5 1.5 0 1 1 7 10.5 1.5 1.5 0 0 1 8.5 9zm-1 6A1.5 1.5 0 1 1 6 16.5 1.5 1.5 0 0 1 7.5 15zm6 1a1.5 1.5 0 1 1-1.5 1.5 1.5 1.5 0 0 1 1.5-1.5zm3-4a1.5 1.5 0 1 1-1.5 1.5 1.5 1.5 0 0 1 1.5-1.5z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 10 10 4 4 0 0 1-5-5 4 4 0 0 1-5-5zM8.5 9A1.5 1.5 0 1 1 7 10.5 1.5 1.5 0 0 1 8.5 9zm-1 6A1.5 1.5 0 1 1 6 16.5 1.5 1.5 0 0 1 7.5 15zm6 1a1.5 1.5 0 1 1-1.5 1.5 1.5 1.5 0 0 1 1.5-1.5zm3-4a1.5 1.5 0 1 1-1.5 1.5 1.5 1.5 0 0 1 1.5-1.5z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.imcc-copy {
    flex: 1;
    min-width: 0;
}
.imcc-copy strong {
    display: block;
    margin-bottom: 2px;
    color: #ffffff;
    font-size: 15px;
}
.imcc-copy p {
    margin: 0;
    color: #c7cbe0;
    font-size: 13.5px;
}
.imcc-copy a {
    color: #a5b4fc;
    text-decoration: underline;
}
.imcc-actions {
    display: flex;
    flex-shrink: 0;
    gap: 8px;
}
/* Botões zeram os estilos de botão do tema/Elementor antes de aplicar os próprios */
.imcc button.imcc-btn,
.imcc button.imcc-btn:hover,
.imcc button.imcc-btn:focus {
    all: unset;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 112px;
    height: 44px;
    padding: 0 20px;
    border-radius: 12px;
    font: 700 14px/1 var(--imobius-font-body, system-ui, sans-serif);
    cursor: pointer;
    transition: filter 0.15s, background 0.15s;
}
.imcc button.imcc-btn--ghost {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #e6ebff;
}
.imcc button.imcc-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.08);
}
.imcc button.imcc-btn--primary {
    background: linear-gradient(135deg, #6d6bff, #8b5cf6);
    box-shadow: 0 10px 24px -10px rgba(109, 107, 255, 0.9);
    color: #ffffff;
}
.imcc button.imcc-btn--primary:hover {
    filter: brightness(1.1);
}
.imcc button.imcc-btn:focus-visible {
    outline: 3px solid rgba(165, 180, 252, 0.7);
    outline-offset: 2px;
}
/* Cartão no canto */
.imcc--card {
    left: auto;
    justify-content: flex-end;
}
.imcc--card .imcc-box,
.imcc--modal .imcc-box {
    flex-direction: column;
    align-items: flex-start;
    max-width: 380px;
}
.imcc--card .imcc-actions,
.imcc--modal .imcc-actions {
    width: 100%;
}
.imcc--card button.imcc-btn,
.imcc--modal button.imcc-btn {
    flex: 1;
}
/* Janela central: o visitante escolhe antes de continuar */
.imcc--modal {
    inset: 0;
    align-items: center;
    padding: 20px;
}
.imcc-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 12, 24, 0.65);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.25s;
    pointer-events: auto;
}
.imcc--modal.is-open .imcc-backdrop {
    opacity: 1;
}
.imcc--modal .imcc-box {
    position: relative;
    max-width: 460px;
    padding: 28px;
}
@media (max-width: 700px) {
    .imcc-box {
        flex-direction: column;
        align-items: flex-start;
    }
    .imcc-actions {
        width: 100%;
    }
    .imcc button.imcc-btn {
        flex: 1;
    }
}

/* ── Formulário em etapas ────────────────────────────────────────────── */
.imf--steps.is-ready .imf-step {
    display: none;
}
.imf--steps.is-ready .imf-step.is-active {
    display: block;
    animation: imf-step-in 0.25s ease-out;
}
@keyframes imf-step-in {
    from { opacity: 0; transform: translateX(10px); }
}
.imf-progress {
    display: flex;
    gap: 8px;
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
}
.imf-progress li {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: var(--imf-muted);
    font-size: 12px;
    font-weight: 600;
}
.imf-progress-n {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 24px;
    height: 24px;
    border: 2px solid var(--imf-line);
    border-radius: 50%;
    font-size: 11px;
}
.imf-progress-t {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.imf-progress li.is-current {
    color: var(--imf-text);
}
.imf-progress li.is-current .imf-progress-n,
.imf-progress li.is-done .imf-progress-n {
    border-color: var(--imf-accent);
    background: var(--imf-accent);
    color: #ffffff;
}
.imf-progress--bar .imf-progress-n {
    display: none;
}
.imf-progress--bar li:not(.is-current) {
    display: none;
}
.imf-progress--bar {
    margin-bottom: 8px;
}
.imf-bar {
    height: 6px;
    margin: 0 0 16px;
    border-radius: 999px;
    background: var(--imf-soft);
    overflow: hidden;
}
.imf-bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--imf-accent);
    transition: width 0.3s ease;
}
.imf-nav {
    display: flex;
    gap: 10px;
    align-items: stretch;
}
.imf-nav button[hidden] {
    display: none !important;
}
.imf button.imf-next,
.imf button.imf-next:hover,
.imf button.imf-next:focus {
    all: unset;
    box-sizing: border-box;
    display: inline-flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    margin-top: 18px;
    padding: 0 26px;
    border-radius: var(--imf-radius);
    background: var(--imf-btn-bg, var(--imf-accent));
    box-shadow: 0 12px 26px -12px var(--imf-btn-bg, var(--imf-accent));
    color: var(--imf-btn-text, #ffffff);
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: filter 0.15s, transform 0.15s;
}
.imf button.imf-next:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}
.imf button.imf-back,
.imf button.imf-back:hover,
.imf button.imf-back:focus {
    all: unset;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    margin-top: 18px;
    padding: 0 22px;
    border: 1px solid var(--imf-line);
    border-radius: var(--imf-radius);
    color: var(--imf-text);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.imf button.imf-back:hover {
    border-color: var(--imf-accent);
}
.imf button.imf-next:focus-visible,
.imf button.imf-back:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--imf-accent) 45%, transparent);
    outline-offset: 2px;
}
.imf-nav .imf-submit {
    flex: 1;
}
/* Depois do envio: botão (link ou WhatsApp) */
.imf-after {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}
.imf-after a.imf-after-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 0 28px;
    border-radius: var(--imf-radius);
    background: var(--imf-btn-bg, var(--imf-accent));
    box-shadow: 0 12px 26px -12px var(--imf-btn-bg, var(--imf-accent));
    color: var(--imf-btn-text, #ffffff);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}
.imf-after a.imf-after-btn--wa {
    background: #25d366;
    box-shadow: 0 12px 26px -12px #25d366;
    color: #ffffff;
}
.imf-after a.imf-after-btn:hover {
    filter: brightness(1.06);
}
.imf-after small {
    color: var(--imf-muted);
}
@media (max-width: 480px) {
    .imf-progress-t {
        display: none;
    }
    .imf-progress li.is-current .imf-progress-t {
        display: block;
    }
}
