/* 1.0.31.7 — formulário da home isolado em CSS próprio, sem herança do componente anterior */
.bseo-contact-card,
.bseo-contact-card * {
    box-sizing: border-box;
}

.bseo-contact-card {
    position: relative;
    padding: clamp(42px, 6vw, 74px) 18px;
    background: #eef2ff;
    overflow: hidden;
    isolation: isolate;
}

.bseo-contact-card::before,
.bseo-contact-card::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    background: rgba(206, 220, 255, 0.52);
    pointer-events: none;
    z-index: -2;
}

.bseo-contact-card::before {
    top: clamp(28px, 4vw, 70px);
    left: max(-42px, -2vw);
    width: clamp(120px, 12vw, 190px);
    height: clamp(120px, 12vw, 190px);
}

.bseo-contact-card::after {
    top: clamp(-36px, -1vw, -8px);
    right: clamp(18px, 7vw, 130px);
    width: clamp(240px, 23vw, 380px);
    height: clamp(240px, 23vw, 380px);
}

.bseo-contact-card__shell {
    position: relative;
    width: min(100%, 1200px);
    min-height: min(calc(100svh - 92px), 760px);
    margin: 0 auto;
    display: grid;
    place-items: center;
}

.bseo-contact-card__shell::before {
    content: '';
    position: absolute;
    left: clamp(-42px, -4vw, -8px);
    bottom: clamp(-96px, -6vw, -28px);
    width: clamp(180px, 18vw, 300px);
    height: clamp(180px, 18vw, 300px);
    border-radius: 999px;
    background: rgba(206, 220, 255, 0.56);
    pointer-events: none;
    z-index: -2;
}

.bseo-contact-card__scene {
    position: relative;
    width: min(100%, clamp(320px, 33.2vw, 536px));
    padding: 14px 14px 16px;
}

.bseo-contact-card__sheet {
    position: absolute;
    inset: 0;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(136, 163, 255, 0.58), rgba(108, 138, 255, 0.34));
    pointer-events: none;
}

.bseo-contact-card__sheet--back {
    transform: rotate(-3.9deg) translate(-10px, 8px);
    opacity: 0.88;
}

.bseo-contact-card__sheet--mid {
    transform: rotate(-1.9deg) translate(-4px, 4px);
    opacity: 0.62;
}

.bseo-contact-card__panel {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: clamp(30px, 3vw, 36px) clamp(28px, 2.8vw, 34px) clamp(24px, 2.6vw, 30px);
    border-radius: 30px;
    border: 1px solid rgba(219, 225, 240, 0.95);
    background: rgba(251, 251, 252, 0.985);
    box-shadow: 0 24px 40px rgba(86, 110, 194, 0.08);
    backdrop-filter: blur(12px);
}

.bseo-contact-card__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

.bseo-contact-card__brand {
    display: inline-flex;
    align-items: baseline;
    gap: 0;
    color: #171821;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.05rem, 1.08vw, 1.18rem);
    font-weight: 400;
    letter-spacing: -0.045em;
}

.bseo-contact-card__brand em {
    color: #5369ff;
    font-style: italic;
    font-weight: 400;
}

.bseo-contact-card__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0.42rem 0.88rem;
    border-radius: 999px;
    background: rgba(83, 105, 255, 0.08);
    color: #5369ff;
    font-size: 0.8rem;
    font-weight:700;
    white-space: nowrap;
}

.bseo-contact-card__badge::before {
    content: '';
    width: 6px;
    height: 6px;
    margin-right: 8px;
    border-radius: 999px;
    background: currentColor;
    flex: 0 0 auto;
}

.bseo-contact-card__copy {
    width: min(100%, 25rem);
    margin-bottom: 20px;
}

.bseo-contact-card__title {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: min(100%, 19rem);
    margin: 0;
    color: #101119;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2.35rem, 4.85vw, 4rem);
    font-weight: 400;
    line-height: 0.94;
    letter-spacing: -0.058em;
}

.bseo-contact-card__title em {
    color: #5369ff;
    font-style: italic;
    font-weight: 400;
}

.bseo-contact-card__subtitle {
    width: min(100%, 25rem);
    margin: 14px 0 0;
    color: #b0b5c2;
    font-size: clamp(0.96rem, 1vw, 1.03rem);
    line-height: 1.52;
}

.bseo-contact-card__honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
}

.bseo-contact-card__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.bseo-contact-card__item--full {
    grid-column: 1 / -1;
}

.bseo-contact-card__control {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 49px;
    padding: 0 16px;
    border: 1px solid #e4e6ee;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.bseo-contact-card__control:focus-within {
    border-color: rgba(83, 105, 255, 0.42);
    box-shadow: 0 0 0 4px rgba(83, 105, 255, 0.1);
}

.bseo-contact-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: #c0c3cc;
    flex: 0 0 auto;
}

.bseo-contact-card__icon svg {
    width: 17px;
    height: 17px;
}

.bseo-contact-card__input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 0;
    background: transparent;
    color: #171821;
    font: inherit;
    font-size: 0.98rem;
}

.bseo-contact-card__input::placeholder {
    color: #c2c6cf;
}

.bseo-contact-card__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 56px;
    margin-top: 16px;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(180deg, #556cff 0%, #445fe8 100%);
    color: #ffffff;
    font: inherit;
    font-size: clamp(0.98rem, 1.05vw, 1.06rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    cursor: pointer;
    box-shadow: 0 18px 28px rgba(70, 96, 233, 0.2);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.bseo-contact-card__submit:hover,
.bseo-contact-card__submit:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 20px 32px rgba(70, 96, 233, 0.24);
    filter: brightness(1.02);
}

.bseo-contact-card__submit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
}

.bseo-contact-card__submit-icon svg {
    width: 17px;
    height: 17px;
}

.bseo-contact-card__feedback {
    margin-top: 12px;
    padding: 0.8rem 1rem;
    border-radius: 14px;
    font-size: 0.91rem;
    line-height: 1.45;
}

.bseo-contact-card__feedback--ok {
    background: rgba(52, 211, 153, 0.12);
    border: 1px solid rgba(52, 211, 153, 0.28);
    color: #0f5132;
}

.bseo-contact-card__feedback--error {
    background: rgba(248, 113, 113, 0.11);
    border: 1px solid rgba(248, 113, 113, 0.24);
    color: #8a1c1c;
}

.bseo-contact-card__proofs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.bseo-contact-card__proof {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 30px;
    padding: 0.4rem 0.72rem;
    border-radius: 999px;
    background: rgba(83, 105, 255, 0.06);
    color: #7382d2;
    font-size: 0.8rem;
    font-weight:400;
    text-align: center;
}

.bseo-contact-card__proof svg {
    width: 13px;
    height: 13px;
    flex: 0 0 auto;
}

@media (min-width: 1440px) {
    .bseo-contact-card__scene {
        width: min(100%, 32.25rem);
    }
}

@media (max-width: 991px) {
    .bseo-contact-card {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .bseo-contact-card__shell {
        min-height: auto;
    }

    .bseo-contact-card__scene {
        width: min(100%, 33.5rem);
    }
}

@media (max-width: 767px) {
    .bseo-contact-card {
        padding: 28px 16px;
    }

    .bseo-contact-card::after {
        right: -56px;
        top: -42px;
        width: 230px;
        height: 230px;
    }

    .bseo-contact-card__shell::before {
        left: -76px;
        bottom: -64px;
        width: 210px;
        height: 210px;
    }

    .bseo-contact-card__scene {
        width: min(100%, 34rem);
        padding: 10px 10px 12px;
    }

    .bseo-contact-card__sheet {
        border-radius: 26px;
    }

    .bseo-contact-card__sheet--back {
        transform: rotate(-3.2deg) translate(-8px, 7px);
    }

    .bseo-contact-card__sheet--mid {
        transform: rotate(-1.6deg) translate(-3px, 3px);
    }

    .bseo-contact-card__panel {
        padding: 24px 20px 20px;
        border-radius: 26px;
    }

    .bseo-contact-card__topbar {
        gap: 12px;
        margin-bottom: 22px;
    }

    .bseo-contact-card__title,
    .bseo-contact-card__subtitle,
    .bseo-contact-card__copy {
        width: 100%;
    }

    .bseo-contact-card__title {
        font-size: clamp(2.15rem, 10.2vw, 3.2rem);
    }

    .bseo-contact-card__subtitle {
        font-size: 0.93rem;
        line-height: 1.45;
    }

    .bseo-contact-card__grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .bseo-contact-card__item,
    .bseo-contact-card__item--full {
        grid-column: 1 / -1;
    }

    .bseo-contact-card__control {
        min-height: 48px;
        padding: 0 14px;
        border-radius: 15px;
    }

    .bseo-contact-card__submit {
        min-height: 52px;
        margin-top: 12px;
        border-radius: 16px;
    }

    .bseo-contact-card__proofs {
        gap: 7px;
        margin-top: 12px;
    }

    .bseo-contact-card__proof {
        min-height: 29px;
        padding: 0.38rem 0.62rem;
        font-size: 0.76rem;
    }
}

@media (max-width: 560px) {
    .bseo-contact-card__topbar {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .bseo-contact-card__badge {
        margin-left: auto;
    }

    .bseo-contact-card__panel {
        padding-inline: 16px;
    }
}

@media (max-height: 820px) and (min-width: 768px) {
    .bseo-contact-card {
        padding-top: 26px;
        padding-bottom: 26px;
    }

    .bseo-contact-card__shell {
        min-height: min(calc(100svh - 94px), 700px);
    }

    .bseo-contact-card__panel {
        padding: 26px 24px 22px;
    }

    .bseo-contact-card__topbar {
        margin-bottom: 22px;
    }

    .bseo-contact-card__copy {
        margin-bottom: 16px;
    }

    .bseo-contact-card__title {
        font-size: clamp(2.08rem, 4vw, 3.38rem);
    }

    .bseo-contact-card__subtitle {
        font-size: 0.92rem;
        line-height: 1.42;
    }

    .bseo-contact-card__grid {
        gap: 10px;
    }

    .bseo-contact-card__control {
        min-height: 46px;
    }

    .bseo-contact-card__submit {
        min-height: 50px;
        margin-top: 12px;
    }

    .bseo-contact-card__proofs {
        margin-top: 12px;
    }
}

@media (max-height: 740px) and (min-width: 768px) {
    .bseo-contact-card {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .bseo-contact-card__shell {
        min-height: auto;
    }

    .bseo-contact-card__panel {
        padding: 22px 22px 18px;
    }

    .bseo-contact-card__topbar {
        margin-bottom: 18px;
    }

    .bseo-contact-card__copy {
        margin-bottom: 14px;
    }

    .bseo-contact-card__title {
        font-size: clamp(1.9rem, 3.2vw, 2.92rem);
    }

    .bseo-contact-card__subtitle {
        margin-top: 10px;
        font-size: 0.86rem;
        line-height: 1.36;
    }

    .bseo-contact-card__control {
        min-height: 43px;
        border-radius: 14px;
    }

    .bseo-contact-card__submit {
        min-height: 46px;
        margin-top: 10px;
        border-radius: 15px;
    }

    .bseo-contact-card__proofs {
        margin-top: 10px;
    }

    .bseo-contact-card__proof {
        font-size: 0.73rem;
    }
}
