.page-template-concurso-de-bolsas .lp-bolsao h1,
.page-template-concurso-de-bolsas .lp-bolsao h2,
.page-template-concurso-de-bolsas .lp-bolsao h3,
.page-template-concurso-de-bolsas .lp-bolsao p,
.page-template-concurso-de-bolsas .lp-bolsao ul {
    margin-top: 0;
}

.page-template-concurso-de-bolsas .lp-bolsao .lp-success h2 {
    margin-top: 28px;
}

.lp-bolsao {
    --navy: #001360;
    --navy-deep: #000b3d;
    --green: #6bd49f;
    --green-soft: #acf1ce;
    --wine: #801815;
    --ink: #0d1220;
    --muted: #5c6478;
    --paper: #f4f6f2;
    --card: #ffffff;
    --line: rgba(13, 18, 32, 0.12);
    color: var(--ink);
    background: var(--paper);
}

.lp-bolsao a {
    color: var(--navy);
}

.lp-bolsao a:hover,
.lp-bolsao a:focus {
    color: var(--wine);
}

.lp-wrap {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.lp-kicker {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    color: var(--green-soft);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.lp-kicker--dark {
    border-color: rgba(0, 19, 96, 0.18);
    color: var(--wine);
    background: #fff4f3;
}

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 14px 28px;
    border: 0;
    border-radius: 4px;
    background: var(--navy);
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.lp-btn:hover,
.lp-btn:focus {
    background: var(--green);
    color: var(--navy);
}

.lp-btn--light {
    background: #fff;
    color: var(--navy);
}

.lp-btn--full {
    width: 100%;
    margin-top: 8px;
}

.lp-btn--mobile {
    display: none;
}

.lp-hero {
    position: relative;
    overflow: hidden;
    padding: 56px 0 72px;
    background:
        radial-gradient(circle at 85% 10%, rgba(107, 212, 159, 0.22), transparent 28%),
        linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, #132a7a 100%);
    color: #fff;
}

.lp-hero::before {
    content: "SOMA";
    position: absolute;
    right: -4vw;
    bottom: -0.35em;
    color: rgba(255, 255, 255, 0.04);
    font-size: clamp(8rem, 22vw, 18rem);
    font-weight: 700;
    letter-spacing: -0.06em;
    line-height: 0.8;
    pointer-events: none;
}

.lp-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: start;
}

.lp-hero h1 {
    max-width: 12ch;
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(2.6rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 0.92;
    letter-spacing: -0.04em;
    text-transform: none;
}

.lp-hero h1 span {
    display: block;
    color: var(--green);
}

.lp-hero__lead {
    max-width: 36rem;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.15rem;
    line-height: 1.65;
}

.lp-hero__lead strong {
    color: var(--green-soft);
}

.lp-hero__meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 28px;
}

.lp-chip {
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
}

.lp-chip__label {
    display: block;
    margin-bottom: 4px;
    color: var(--green-soft);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.lp-chip strong {
    display: block;
    font-size: 1.15rem;
    line-height: 1.2;
}

.lp-chip span:last-child {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.85rem;
}

.lp-form-card {
    background: var(--card);
    color: var(--ink);
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(0, 8, 40, 0.28);
    overflow: hidden;
}

.lp-form-card__head {
    padding: 24px 24px 8px;
}

.lp-form-card__head h2 {
    margin: 0 0 6px;
    color: var(--navy);
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: none;
}

.lp-form-card__head p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.lp-form {
    display: grid;
    gap: 12px;
    padding: 16px 24px 24px;
}

.lp-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.lp-field {
    display: grid;
    gap: 6px;
}

.lp-field span {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--navy);
}

.lp-field input,
.lp-field select {
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #fbfdfc;
    color: var(--ink);
}

.lp-field input:focus,
.lp-field select:focus {
    outline: 2px solid var(--green-soft);
    border-color: var(--green);
}

.lp-field input.is-invalid,
.lp-field select.is-invalid {
    border-color: var(--wine);
    background: #fff6f5;
}

.lp-field--hidden {
    display: none;
}

.lp-field--hidden.is-open {
    display: grid;
}

.lp-form__hint {
    margin: 0;
    padding: 10px 12px;
    background: #eefbf4;
    color: #145c3a;
    font-size: 0.9rem;
}

.lp-form.is-sending {
    pointer-events: none;
}

.lp-form.is-sending input,
.lp-form.is-sending select,
.lp-form.is-sending button {
    opacity: 0.72;
    cursor: wait;
}

.lp-success {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 28px 44px;
}

.lp-success__kicker {
    display: inline-block;
    margin: 0;
    padding: 6px 12px;
    background: #e8f8ef;
    color: #145c3a;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.lp-success h2 {
    margin: 28px 0 16px;
    color: var(--navy);
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: none;
}

.lp-success p {
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
}

.lp-alert-wrap {
    padding: 16px 24px 0;
}

.lp-alert {
    padding: 12px 14px;
    margin: 8px 0 0;
    font-size: 0.92rem;
    line-height: 1.45;
}

.lp-alert--ok {
    background: #e8f8ef;
    color: #145c3a;
}

.lp-alert--erro {
    background: #fdecea;
    color: #7a1a16;
}

.lp-empty {
    padding: 8px 24px 28px;
}

.lp-empty h2 {
    margin: 0 0 8px;
    color: var(--navy);
    font-size: 1.35rem;
    font-weight: 700;
    text-transform: none;
}

.lp-empty p {
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.65;
}

.lp-alert--aviso {
    margin: 16px 24px 24px;
    background: #fff6e5;
    color: #6a4b00;
}

.lp-section-head {
    max-width: 680px;
    margin-bottom: 36px;
}

.lp-section-head h2,
.lp-soma h2 {
    margin: 0 0 12px;
    color: var(--navy);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-transform: none;
}

.lp-section-head p,
.lp-soma p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.lp-prova {
    padding: 72px 0;
    background: #fff;
}

.lp-prova__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.lp-info {
    position: relative;
    min-height: 100%;
    padding: 24px 22px 22px;
    border-top: 3px solid var(--green);
    background: var(--paper);
}

.lp-info__n {
    display: block;
    margin-bottom: 18px;
    color: var(--wine);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.lp-info h3 {
    margin: 0 0 8px;
    color: var(--navy);
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: none;
}

.lp-info p {
    margin: 0;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.6;
}

.lp-cursos {
    padding: 72px 0;
    background:
        linear-gradient(180deg, #f7f3ee 0%, #f3eee6 100%);
}

.lp-cursos__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.lp-curso {
    padding: 28px 22px;
    background: #fff;
    border-bottom: 4px solid var(--navy);
}

.lp-curso h3 {
    margin: 0 0 10px;
    color: var(--navy);
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: none;
}

.lp-curso p,
.lp-curso li {
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.55;
}

.lp-curso ul {
    margin: 16px 0 0;
    padding: 0;
}

.lp-curso li {
    position: relative;
    padding-left: 14px;
}

.lp-curso li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    background: var(--green);
}

.lp-soma {
    padding: 80px 0;
    background: var(--navy);
    color: #fff;
}

.lp-soma__content {
    max-width: 720px;
}

.lp-soma h2 {
    color: #fff;
}

.lp-soma p {
    color: rgba(255, 255, 255, 0.78);
}

.lp-soma .lp-kicker + h2 {
    margin-top: 16px;
}

.lp-soma h2 + p {
    margin-bottom: 0;
}

.lp-soma .lp-btn {
    margin-top: 32px;
    background: var(--green);
    color: var(--navy);
}

.lp-soma .lp-btn:hover,
.lp-soma .lp-btn:focus {
    background: #fff;
}

@media screen and (max-width: 991px) {
    .lp-hero {
        padding: 36px 0 40px;
    }

    .lp-hero__grid,
    .lp-prova__grid,
    .lp-cursos__grid,
    .lp-form__row {
        grid-template-columns: 1fr;
    }

    .lp-hero h1 {
        max-width: none;
    }

    .lp-hero__meta {
        grid-template-columns: 1fr;
    }

    .lp-hero .lp-btn,
    .lp-btn--mobile {
        display: inline-flex;
        width: 100%;
        margin-bottom: 8px;
    }

    .lp-prova,
    .lp-cursos,
    .lp-soma {
        padding: 48px 0;
    }

    .lp-soma .lp-btn {
        width: 100%;
        margin-top: 28px;
    }
}

body.lp-modal-aberto,
body:has(.lp-modal[open]) {
    overflow: hidden;
}

.lp-modal {
    display: none;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 16px;
    border: 0;
    background: transparent;
    color: var(--ink);
}

.lp-modal[open] {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 11, 61, 0.78);
}

.lp-modal[open]:modal {
    background: transparent;
}

.lp-modal::backdrop {
    background: rgba(0, 11, 61, 0.78);
}

.lp-modal__card {
    position: relative;
    width: min(440px, 100%);
    padding: 36px 28px 28px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(0, 8, 40, 0.35);
    text-align: left;
}

.lp-modal--sucesso .lp-modal__card {
    border-top: 4px solid var(--green);
}

.lp-modal--erro .lp-modal__card {
    border-top: 4px solid var(--wine);
}

.lp-modal__fechar {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--muted);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.lp-modal__fechar:hover,
.lp-modal__fechar:focus {
    background: var(--paper);
    color: var(--navy);
}

.lp-modal__kicker {
    display: inline-block;
    margin: 0 32px 0 0;
    padding: 6px 12px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.lp-modal--sucesso .lp-modal__kicker {
    background: #e8f8ef;
    color: #145c3a;
    margin-bottom: 24px;
}

.lp-modal--erro .lp-modal__kicker {
    background: #fdecea;
    color: #7a1a16;
    margin-bottom: 24px;
}

.lp-modal h2 {
    margin: 18px 0 12px;
    color: var(--navy);
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: none;
}

.lp-modal p {
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
}

.lp-modal__acoes {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 20px;
    margin-top: 24px;
}

.lp-modal__link {
    color: var(--navy);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.lp-modal__link:hover,
.lp-modal__link:focus {
    color: var(--wine);
}
