/* ==========================================================================
   financiamento.css — Página "Aprove seu Financiamento"
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero — mesma identidade escura das demais páginas
   -------------------------------------------------------------------------- */
.fn-hero {
    background: var(--at-ink);
    padding-block: clamp(64px, 9vw, 112px) clamp(56px, 8vw, 96px);
    position: relative;
    overflow: hidden;
}
.fn-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% -5%, rgba(200,132,26,.18) 0%, transparent 65%);
    pointer-events: none;
}
.fn-hero .at-container {
    position: relative;
    z-index: 1;
}
.fn-hero__title {
    font-family: var(--at-font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--at-white);
    line-height: 1.05;
    letter-spacing: -.04em;
    margin-top: 20px;
    margin-bottom: 18px;
}
.fn-hero__title em {
    font-style: normal;
    color: var(--at-gold-light);
}
.fn-hero__subtitle {
    font-size: clamp(.9375rem, 1.6vw, 1.125rem);
    color: rgba(255,255,255,.5);
    line-height: 1.72;
    max-width: 560px;
    margin-bottom: 28px;
}
.fn-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.fn-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    color: rgba(255,255,255,.82);
    font-size: .8125rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: var(--at-radius-full);
    letter-spacing: .01em;
}
.fn-hero__badge svg {
    color: var(--at-gold-light);
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Corpo — single column centrado
   -------------------------------------------------------------------------- */
.fn-body {
    background: var(--at-bg);
    padding-block: clamp(48px, 7vw, 88px);
}
.fn-body__inner {
    max-width: 760px;
    margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Feedback banners
   -------------------------------------------------------------------------- */
.fn-feedback {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 22px;
    border-radius: var(--at-radius-md);
    margin-bottom: 28px;
    font-size: .9375rem;
    line-height: 1.6;
    border: 1.5px solid;
}
.fn-feedback--success {
    background: var(--at-green-bg);
    border-color: var(--at-green-border);
    color: var(--at-green);
}
.fn-feedback--success svg { color: var(--at-green); flex-shrink: 0; margin-top: 2px; }
.fn-feedback--error {
    background: #fce8e8;
    border-color: rgba(139,28,28,.2);
    color: var(--at-red);
}
.fn-feedback--error svg { color: var(--at-red); flex-shrink: 0; margin-top: 2px; }
.fn-feedback strong { display: block; margin-bottom: 4px; }
.fn-feedback p { margin: 0; font-size: .875rem; opacity: .9; }
.fn-feedback a { color: inherit; text-underline-offset: 2px; }

/* --------------------------------------------------------------------------
   Progress bar
   -------------------------------------------------------------------------- */
.fn-progress {
    display: flex;
    align-items: center;
    margin-bottom: 32px;
    gap: 0;
}
.fn-progress__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    position: relative;
    cursor: default;
}
.fn-progress__num {
    width: 36px;
    height: 36px;
    border-radius: var(--at-radius-full);
    border: 2px solid var(--at-stone-dark);
    background: var(--at-white);
    color: var(--at-text-muted);
    font-size: .875rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--at-dur) var(--at-ease),
                border-color var(--at-dur) var(--at-ease),
                color var(--at-dur) var(--at-ease);
}
.fn-progress__label {
    font-size: .75rem;
    font-weight: 500;
    color: var(--at-text-light);
    letter-spacing: .01em;
    white-space: nowrap;
    transition: color var(--at-dur) var(--at-ease);
}
.fn-progress__line {
    flex: 1;
    height: 2px;
    background: var(--at-stone-dark);
    margin-inline: 4px;
    margin-bottom: 22px; /* align with numbers */
    transition: background var(--at-dur) var(--at-ease);
    align-self: flex-start;
    margin-top: 17px;
}

/* Active step */
.fn-progress__step.is-active .fn-progress__num {
    background: var(--at-gold);
    border-color: var(--at-gold);
    color: var(--at-white);
    box-shadow: 0 0 0 4px var(--at-gold-subtle);
}
.fn-progress__step.is-active .fn-progress__label {
    color: var(--at-gold-dark);
    font-weight: 700;
}

/* Done step */
.fn-progress__step.is-done .fn-progress__num {
    background: var(--at-green);
    border-color: var(--at-green);
    color: var(--at-white);
    font-size: 0;
}
.fn-progress__step.is-done .fn-progress__num::after {
    content: '';
    width: 12px;
    height: 12px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}
.fn-progress__step.is-done .fn-progress__label {
    color: var(--at-green);
}

/* Line — done color */
.fn-progress__line.is-done {
    background: var(--at-green);
}

/* --------------------------------------------------------------------------
   Formulário geral
   -------------------------------------------------------------------------- */
.fn-form { margin: 0; }

/* Honeypot */
.fn-honeypot {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    tab-index: -1;
}

/* --------------------------------------------------------------------------
   Panels (steps)
   -------------------------------------------------------------------------- */
.fn-panel {
    background: var(--at-white);
    border: 1.5px solid var(--at-stone);
    border-radius: var(--at-radius-xl);
    box-shadow: var(--at-shadow-card);
    margin-bottom: 0;
    overflow: hidden;
}
.fn-panel--hidden {
    display: none;
}
.fn-panel__header {
    padding: 28px 32px 20px;
    border-bottom: 1px solid var(--at-stone);
    background: var(--at-cream);
}
.fn-panel__title {
    font-family: var(--at-font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--at-text);
    letter-spacing: -.02em;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}
.fn-panel__step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--at-radius-full);
    background: var(--at-gold);
    color: var(--at-white);
    font-size: .875rem;
    font-weight: 700;
    flex-shrink: 0;
    font-family: var(--at-font-body);
}
.fn-panel__desc {
    font-size: .9rem;
    color: var(--at-text-muted);
    margin: 0;
    padding-left: 44px;
}
.fn-panel__body {
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* --------------------------------------------------------------------------
   Grupos de form
   -------------------------------------------------------------------------- */
.fn-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.fn-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.fn-form-group--wide {
    grid-column: 1 / -1;
}
.fn-label {
    font-size: .875rem;
    font-weight: 600;
    color: var(--at-text);
    letter-spacing: .01em;
}
.fn-req {
    color: var(--at-gold);
    font-weight: 700;
    margin-left: 2px;
}
.fn-opt {
    font-size: .8125rem;
    font-weight: 400;
    color: var(--at-text-light);
}
.fn-hint {
    font-size: .8rem;
    color: var(--at-text-light);
    line-height: 1.5;
}
.fn-field-error {
    font-size: .8rem;
    color: var(--at-red);
    line-height: 1.4;
    min-height: 0;
    transition: all var(--at-dur-fast) var(--at-ease);
}

/* --------------------------------------------------------------------------
   Inputs, selects, textarea
   -------------------------------------------------------------------------- */
.fn-input,
.fn-select,
.fn-textarea {
    width: 100%;
    padding: 11px 14px;
    font-family: var(--at-font-body);
    font-size: .9375rem;
    color: var(--at-text);
    background: var(--at-white);
    border: 1.5px solid var(--at-stone-dark);
    border-radius: var(--at-radius-md);
    outline: none;
    transition: border-color var(--at-dur-fast) var(--at-ease),
                box-shadow var(--at-dur-fast) var(--at-ease);
    -webkit-appearance: none;
    appearance: none;
    line-height: 1.5;
}
.fn-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a6e60' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 36px;
    cursor: pointer;
}
.fn-textarea {
    resize: vertical;
    min-height: 96px;
    line-height: 1.6;
}
.fn-input:focus,
.fn-select:focus,
.fn-textarea:focus {
    border-color: var(--at-gold);
    box-shadow: 0 0 0 3px var(--at-gold-subtle);
}
.fn-input.is-invalid,
.fn-select.is-invalid,
.fn-textarea.is-invalid {
    border-color: var(--at-red);
    box-shadow: 0 0 0 3px rgba(139,28,28,.1);
}
.fn-input.is-valid,
.fn-select.is-valid {
    border-color: var(--at-green);
}
.fn-input::placeholder,
.fn-textarea::placeholder {
    color: var(--at-text-light);
}

/* Money prefix wrapper */
.fn-input-money-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.fn-input-money-prefix {
    position: absolute;
    left: 14px;
    font-size: .875rem;
    font-weight: 600;
    color: var(--at-text-muted);
    pointer-events: none;
    z-index: 1;
    user-select: none;
}
.fn-input--money {
    padding-left: 34px;
}

/* --------------------------------------------------------------------------
   Radio group — cards visuais (tipo de renda)
   -------------------------------------------------------------------------- */
.fn-radio-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 4px;
}
.fn-radio-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 18px 14px 16px;
    border: 1.5px solid var(--at-stone-dark);
    border-radius: var(--at-radius-lg);
    background: var(--at-white);
    cursor: pointer;
    transition: border-color var(--at-dur) var(--at-ease),
                background var(--at-dur) var(--at-ease),
                box-shadow var(--at-dur) var(--at-ease);
}
.fn-radio-card:hover {
    border-color: var(--at-gold-border);
    background: var(--at-gold-subtle);
}
.fn-radio-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}
.fn-radio-card.is-selected {
    border-color: var(--at-gold);
    background: var(--at-gold-subtle);
    box-shadow: 0 0 0 3px var(--at-gold-subtle), 0 2px 8px rgba(200,132,26,.14);
}
.fn-radio-card__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--at-radius-md);
    background: var(--at-cream-dark);
    border: 1px solid var(--at-stone);
    color: var(--at-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--at-dur) var(--at-ease),
                color var(--at-dur) var(--at-ease);
}
.fn-radio-card.is-selected .fn-radio-card__icon {
    background: var(--at-gold);
    color: var(--at-white);
    border-color: transparent;
}
.fn-radio-card__label {
    font-size: .875rem;
    font-weight: 700;
    color: var(--at-text);
    line-height: 1.3;
}
.fn-radio-card__desc {
    font-size: .75rem;
    color: var(--at-text-light);
    line-height: 1.4;
}

/* Inline radio (Sim/Não para MEI) */
.fn-radio-inline {
    display: flex;
    gap: 16px;
    padding-top: 6px;
}
.fn-radio-inline__option {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .9rem;
    cursor: pointer;
    color: var(--at-text);
}
.fn-radio-inline__option input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: var(--at-gold);
    cursor: pointer;
}

/* --------------------------------------------------------------------------
   Checkboxes
   -------------------------------------------------------------------------- */
.fn-checkbox-wrap { padding-block: 4px; }
.fn-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    line-height: 1.5;
}
.fn-checkbox-label--consent {
    align-items: flex-start;
}
.fn-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}
.fn-checkbox-custom {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 2px solid var(--at-stone-dark);
    border-radius: var(--at-radius-xs);
    background: var(--at-white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    transition: background var(--at-dur-fast) var(--at-ease),
                border-color var(--at-dur-fast) var(--at-ease);
    position: relative;
}
.fn-checkbox-custom::after {
    content: '';
    width: 10px;
    height: 10px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
    opacity: 0;
    transition: opacity var(--at-dur-fast) var(--at-ease);
}
.fn-checkbox:checked + .fn-checkbox-custom {
    background: var(--at-gold);
    border-color: var(--at-gold);
}
.fn-checkbox:checked + .fn-checkbox-custom::after {
    opacity: 1;
}
.fn-checkbox:focus-visible + .fn-checkbox-custom {
    box-shadow: 0 0 0 3px var(--at-gold-subtle);
    border-color: var(--at-gold);
}
.fn-checkbox-text {
    font-size: .9rem;
    color: var(--at-text);
    line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Seção divisória de cônjuge + seções condicionais
   -------------------------------------------------------------------------- */
.fn-section-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-block: 4px 8px;
}
.fn-section-divider::before,
.fn-section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--at-gold-border);
}
.fn-section-divider__label {
    font-size: .8125rem;
    font-weight: 700;
    color: var(--at-gold-dark);
    text-transform: uppercase;
    letter-spacing: .06em;
    white-space: nowrap;
}

/* Transição suave das seções condicionais */
.fn-conjuge-section,
.fn-conjuge-renda-wrap,
.fn-renda-clt,
.fn-renda-autonomo,
.fn-renda-outros {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    transition: max-height var(--at-dur-slow) var(--at-ease),
                opacity var(--at-dur) var(--at-ease);
}
.fn-conjuge-section.is-visible,
.fn-conjuge-renda-wrap.is-visible,
.fn-renda-clt.is-visible,
.fn-renda-autonomo.is-visible,
.fn-renda-outros.is-visible {
    max-height: 800px;
    opacity: 1;
    pointer-events: auto;
}

/* --------------------------------------------------------------------------
   Checklist de documentos
   -------------------------------------------------------------------------- */
.fn-checklist {
    background: var(--at-cream);
    border: 1.5px solid var(--at-gold-border);
    border-radius: var(--at-radius-lg);
    overflow: hidden;
    margin-bottom: 24px;
}
.fn-checklist__header {
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--at-gold-border);
    background: var(--at-gold-subtle);
}
.fn-checklist__title {
    font-family: var(--at-font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--at-text);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}
.fn-checklist__title svg { color: var(--at-gold); flex-shrink: 0; }
.fn-checklist__sub {
    font-size: .8375rem;
    color: var(--at-text-muted);
    margin: 0;
    line-height: 1.55;
}
.fn-checklist__group {
    border-bottom: 1px solid var(--at-gold-border);
}
.fn-checklist__group:last-child { border-bottom: none; }
.fn-checklist__group-title {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--at-gold-dark);
    padding: 12px 24px 6px;
}
.fn-checklist__list {
    list-style: none;
    padding: 0 24px 14px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.fn-checklist__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .875rem;
    color: var(--at-text);
    line-height: 1.5;
}
.fn-checklist__icon {
    color: var(--at-green);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Grupos condicionais da checklist */
.fn-checklist__group--renda,
.fn-checklist__group--conjuge {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height var(--at-dur-slow) var(--at-ease),
                opacity var(--at-dur) var(--at-ease);
    border-bottom: none;
    pointer-events: none;
}
.fn-checklist__group--renda.is-visible,
.fn-checklist__group--conjuge.is-visible {
    max-height: 400px;
    opacity: 1;
    pointer-events: auto;
    border-bottom: 1px solid var(--at-gold-border);
}

/* --------------------------------------------------------------------------
   Seção LGPD / Segurança
   -------------------------------------------------------------------------- */
.fn-lgpd-section {
    background: rgba(255,255,255,.6);
    border: 2px solid var(--at-stone);
    border-radius: var(--at-radius-lg);
    padding: 24px;
    position: relative;
}
.fn-lgpd-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--at-gold), var(--at-gold-light));
    border-radius: var(--at-radius-lg) var(--at-radius-lg) 0 0;
}
.fn-lgpd-section__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.fn-lgpd-section__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--at-radius-md);
    background: var(--at-gold-subtle);
    border: 1.5px solid var(--at-gold-border);
    color: var(--at-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.fn-lgpd-section__title {
    font-family: var(--at-font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--at-text);
    margin: 0;
}
.fn-lgpd-section__text {
    font-size: .875rem;
    color: var(--at-text-muted);
    line-height: 1.7;
    margin: 0 0 20px;
}

/* Consent list */
.fn-consent-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.fn-consent-item {
    padding: 14px 16px;
    background: var(--at-white);
    border: 1.5px solid var(--at-stone);
    border-radius: var(--at-radius-md);
    transition: border-color var(--at-dur-fast) var(--at-ease);
}
.fn-consent-item:has(.fn-checkbox:checked) {
    border-color: var(--at-gold-border);
    background: var(--at-gold-subtle);
}
.fn-consent-item .fn-checkbox-text {
    font-size: .85rem;
}
.fn-consent-item .fn-field-error {
    margin-top: 6px;
    padding-left: 30px;
}

/* --------------------------------------------------------------------------
   Navegação entre steps
   -------------------------------------------------------------------------- */
.fn-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 32px;
    border-top: 1px solid var(--at-stone);
    background: var(--at-cream);
}
.fn-nav--right {
    justify-content: flex-end;
}

/* Step 4 nav: ações agrupadas lado a lado */
.fn-nav__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.fn-wpp-doubt {
    gap: 8px;
    font-size: .875rem;
    padding: 12px 18px;
}

/* Submit button extra weight */
.fn-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    padding-inline: 28px;
}

/* --------------------------------------------------------------------------
   SEO content section
   -------------------------------------------------------------------------- */
.fn-seo {
    background: var(--at-white);
    padding-block: clamp(56px, 7vw, 88px);
    border-top: 1px solid var(--at-stone);
}
.fn-seo__intro {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 48px;
}
.fn-seo__main-title {
    font-family: var(--at-font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--at-text);
    letter-spacing: -.03em;
    margin-bottom: 14px;
}
.fn-seo__main-desc {
    font-size: 1rem;
    color: var(--at-text-muted);
    line-height: 1.7;
    margin: 0;
}
.fn-seo__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.fn-seo__card {
    background: var(--at-cream);
    border: 1.5px solid var(--at-stone);
    border-radius: var(--at-radius-xl);
    padding: 28px;
    transition: box-shadow var(--at-dur) var(--at-ease),
                border-color var(--at-dur) var(--at-ease),
                transform var(--at-dur) var(--at-ease);
}
.fn-seo__card:hover {
    box-shadow: var(--at-shadow-md);
    border-color: var(--at-gold-border);
    transform: translateY(-2px);
}
.fn-seo__card-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--at-radius-md);
    background: var(--at-gold-subtle);
    border: 1.5px solid var(--at-gold-border);
    color: var(--at-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.fn-seo__card-title {
    font-family: var(--at-font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--at-text);
    letter-spacing: -.01em;
    margin-bottom: 10px;
}
.fn-seo__card-text {
    font-size: .875rem;
    color: var(--at-text-muted);
    line-height: 1.7;
    margin: 0 0 10px;
}
.fn-seo__card-text:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Responsivo — 768px
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .fn-panel__header,
    .fn-panel__body { padding-inline: 20px; }
    .fn-panel__desc  { padding-left: 0; }
    .fn-nav          { padding-inline: 20px; }

    .fn-radio-group {
        grid-template-columns: 1fr;
    }

    .fn-seo__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* --------------------------------------------------------------------------
   Responsivo — 640px
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
    .fn-form-row {
        grid-template-columns: 1fr;
    }
    .fn-form-group--wide {
        grid-column: auto;
    }

    .fn-progress__label {
        display: none;
    }
    .fn-progress__line {
        margin-bottom: 0;
        margin-top: 17px;
    }

    .fn-hero__badges {
        flex-direction: column;
        align-items: flex-start;
    }

    .fn-nav {
        flex-direction: column-reverse;
        gap: 10px;
    }
    .fn-nav .at-btn {
        width: 100%;
        justify-content: center;
    }
    .fn-nav__actions {
        width: 100%;
        flex-direction: column;
    }
    .fn-nav__actions .at-btn {
        width: 100%;
        justify-content: center;
    }
}

/* --------------------------------------------------------------------------
   Banner de pré-preenchimento (imóvel selecionado em single-imovel.php)
   -------------------------------------------------------------------------- */
.fn-prefill-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 18px;
    margin-bottom: 24px;
    background: var(--fn-blue-bg, rgba(37,99,168,.07));
    border: 1.5px solid var(--fn-blue-border, rgba(37,99,168,.22));
    border-radius: var(--at-radius-lg);
    color: var(--fn-blue, #2563a8);
    font-size: .875rem;
    flex-wrap: wrap;
}
.fn-prefill-notice svg { flex-shrink: 0; }
.fn-prefill-notice__title {
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 420px;
}
.fn-prefill-notice__sep {
    color: rgba(37,99,168,.4);
}
.fn-prefill-notice__sub {
    color: rgba(37,99,168,.7);
    font-size: .8125rem;
}
.fn-prefill-notice__close {
    margin-left: auto;
    flex-shrink: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    color: rgba(37,99,168,.55);
    padding: 2px;
    display: flex;
    align-items: center;
    transition: color var(--at-dur-fast);
}
.fn-prefill-notice__close:hover { color: var(--fn-blue, #2563a8); }

@media (max-width: 600px) {
    .fn-prefill-notice__title { max-width: 200px; }
    .fn-prefill-notice__sep,
    .fn-prefill-notice__sub { display: none; }
}
