/* =========================================================
   VARIÁVEIS
========================================================= */

:root {
    --pink: #f22986;
    --pink-dark: #d91f75;
    --pink-soft: #fff0f7;

    --background: #f8f7f9;
    --card: #ffffff;

    --text: #211d21;
    --text-muted: #8e878d;

    --border: #ebe6e9;
    --border-dark: #dcd5d9;

    --success: #16a34a;
    --success-soft: #f0fdf4;

    --danger: #dc2626;
    --danger-soft: #fef2f2;

    --shadow:
        0 20px 60px rgba(33, 29, 33, .08);
}


/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
}


html {
    min-height: 100%;
}


body {
    min-height: 100vh;
    margin: 0;

    background:
        radial-gradient(
            circle at top center,
            rgba(242, 41, 134, .07),
            transparent 380px
        ),
        var(--background);

    color: var(--text);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    -webkit-font-smoothing: antialiased;
}


button,
input,
select,
textarea {
    font: inherit;
}


/* =========================================================
   PÁGINA
========================================================= */

.public-page {
    width: 100%;
    min-height: 100vh;

    padding:
        44px
        24px
        80px;
}


.registration-shell {
    width: 100%;
    max-width: 860px;

    margin: 0 auto;
}


/* =========================================================
   CABEÇALHO
========================================================= */

.registration-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 26px;

    padding:
        0
        4px;
}


.registration-brand {
    display: flex;
    flex-direction: column;

    gap: 2px;
}


.registration-brand-name {
    color: var(--text-muted);

    font-size: 12px;
    font-weight: 500;
}


.registration-brand strong {
    font-size: 20px;
    font-weight: 750;

    letter-spacing: -.4px;
}


.registration-season {
    display: flex;
    flex-direction: column;
    align-items: flex-end;

    gap: 3px;
}


.registration-season span {
    color: var(--text-muted);

    font-size: 12px;
}


.registration-season strong {
    font-size: 13px;
    font-weight: 650;
}


/* =========================================================
   FORMULÁRIO
========================================================= */

.registration-form {
    overflow: hidden;

    background: var(--card);

    border:
        1px solid
        var(--border);

    border-radius: 18px;

    box-shadow:
        var(--shadow);
}


/* =========================================================
   PROGRESSO
========================================================= */

.registration-progress {
    position: relative;

    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    padding:
        20px
        30px;

    background: #fff;

    border-bottom:
        1px solid
        var(--border);
}


.progress-step {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;

    gap: 8px;

    color: #aaa4a8;
}


.progress-step::before {
    content: "";

    position: absolute;

    top: 50%;
    left: -50%;

    width: 50%;

    height: 1px;

    background:
        var(--border);

    transform:
        translateY(-50%);

    z-index: -1;
}


.progress-step:first-child::before {
    display: none;
}


.progress-step > span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    flex: 0 0 28px;

    background: #fff;

    border:
        1px solid
        var(--border);

    border-radius: 50%;

    font-size: 12px;
    font-weight: 700;

    transition:
        .2s ease;
}


.progress-step > strong {
    font-size: 12px;
    font-weight: 600;

    white-space: nowrap;
}


.progress-step.is-active {
    color: var(--pink);
}


.progress-step.is-active > span {
    background:
        var(--pink);

    border-color:
        var(--pink);

    color: #fff;
}


/* =========================================================
   PASSOS
========================================================= */

.registration-step {
    display: none;

    padding:
        42px
        44px
        38px;
}


.registration-step.is-active {
    display: block;
}


.step-heading {
    max-width: 600px;

    margin-bottom: 34px;
}


.step-number {
    display: block;

    margin-bottom: 8px;

    color: var(--pink);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: .3px;

    text-transform: uppercase;
}


.step-heading h1 {
    margin:
        0
        0
        8px;

    font-size: 30px;
    font-weight: 750;

    line-height: 1.15;

    letter-spacing: -.7px;
}


.step-heading p {
    margin: 0;

    color:
        var(--text-muted);

    font-size: 14px;

    line-height: 1.55;
}


/* =========================================================
   SECÇÕES
========================================================= */

.form-section {
    margin-bottom: 30px;
}


.form-label {
    display: block;

    margin-bottom: 10px;

    font-size: 13px;
    font-weight: 650;
}


/* =========================================================
   CARDS DE ESCOLHA
========================================================= */

.choice-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;
}


.choice-card {
    position: relative;

    display: block;

    cursor: pointer;
}


.choice-card > input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;
}


.choice-card-content {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 112px;

    gap: 15px;

    padding:
        20px
        48px
        20px
        20px;

    background: #fff;

    border:
        1px solid
        var(--border);

    border-radius: 12px;

    transition:
        border-color .18s ease,
        background .18s ease,
        box-shadow .18s ease,
        transform .18s ease;
}


.choice-card:hover
.choice-card-content {
    border-color:
        #d7cfd4;

    transform:
        translateY(-1px);

    box-shadow:
        0 8px 24px
        rgba(33, 29, 33, .05);
}


.choice-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    border-radius: 10px;

    background:
        var(--pink-soft);

    color:
        var(--pink);

    font-size: 16px;
}


.choice-text {
    display: flex;
    flex-direction: column;

    gap: 4px;
}


.choice-text strong {
    font-size: 14px;
    font-weight: 700;
}


.choice-text small {
    color:
        var(--text-muted);

    font-size: 12px;

    line-height: 1.4;
}


.choice-check {
    position: absolute;

    top: 16px;
    right: 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 22px;
    height: 22px;

    border:
        1px solid
        var(--border);

    border-radius: 50%;

    background: #fff;

    color: transparent;

    font-size: 10px;

    transition: .18s ease;
}


.choice-card input:checked
+ .choice-card-content {
    border-color:
        var(--pink);

    background:
        var(--pink-soft);

    box-shadow:
        0 0 0 2px
        rgba(242, 41, 134, .08);
}


.choice-card input:checked
+ .choice-card-content
.choice-check {
    background:
        var(--pink);

    border-color:
        var(--pink);

    color: #fff;
}


/* =========================================================
   RENOVAÇÃO
========================================================= */

.renewal-box {
    margin-top: 6px;

    padding: 22px;

    background:
        #faf9fa;

    border:
        1px solid
        var(--border);

    border-radius: 12px;
}


.renewal-box[hidden] {
    display: none;
}


.renewal-heading {
    display: flex;
    align-items: flex-start;

    gap: 13px;

    margin-bottom: 20px;
}


.renewal-heading-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    border-radius: 9px;

    background:
        var(--pink-soft);

    color:
        var(--pink);
}


.renewal-heading h2 {
    margin:
        0
        0
        4px;

    font-size: 15px;
    font-weight: 700;
}


.renewal-heading p {
    margin: 0;

    color:
        var(--text-muted);

    font-size: 12px;

    line-height: 1.5;
}


.renewal-search {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto;

    align-items: end;

    gap: 10px;
}


/* =========================================================
   CAMPOS
========================================================= */

.form-field {
    display: flex;
    flex-direction: column;

    gap: 7px;
}


.form-field label {
    color:
        var(--text);

    font-size: 12px;
    font-weight: 650;
}


.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;

    min-height: 42px;

    padding:
        9px
        12px;

    background: #fff;

    border:
        1px solid
        var(--border);

    border-radius: 8px;

    outline: none;

    color:
        var(--text);

    font-size: 13px;

    transition:
        border-color .15s ease,
        box-shadow .15s ease;
}


.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color:
        var(--pink);

    box-shadow:
        0 0 0 3px
        rgba(242, 41, 134, .08);
}


.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #bbb5b9;
}


/* =========================================================
   RESULTADO DA RENOVAÇÃO
========================================================= */

.renewal-result {
    margin-top: 16px;

    padding: 14px;

    border-radius: 9px;
}


.renewal-result[hidden] {
    display: none;
}


.renewal-result.is-success {
    background:
        var(--success-soft);

    border:
        1px solid
        #bbf7d0;

    color:
        #166534;
}


.renewal-result.is-error {
    background:
        var(--danger-soft);

    border:
        1px solid
        #fecaca;

    color:
        #991b1b;
}


/* =========================================================
   BOTÕES
========================================================= */

.step-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 10px;

    margin-top: 34px;

    padding-top: 24px;

    border-top:
        1px solid
        var(--border);
}


.public-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    min-height: 42px;

    padding:
        0
        18px;

    border:
        1px solid
        transparent;

    border-radius: 8px;

    cursor: pointer;

    font-size: 13px;
    font-weight: 650;

    text-decoration: none;

    transition:
        background .15s ease,
        border-color .15s ease,
        color .15s ease,
        opacity .15s ease;
}


.public-btn-primary {
    background:
        var(--pink);

    border-color:
        var(--pink);

    color: #fff;
}


.public-btn-primary:hover:not(:disabled) {
    background:
        var(--pink-dark);

    border-color:
        var(--pink-dark);
}


.public-btn-secondary {
    background: #fff;

    border-color:
        var(--border);

    color:
        var(--text);
}


.public-btn-secondary:hover {
    background:
        #f8f6f7;

    border-color:
        var(--border-dark);
}


.public-btn:disabled {
    opacity: .45;

    cursor: not-allowed;
}


/* =========================================================
   INSCRIÇÕES FECHADAS
========================================================= */

.registration-closed {
    padding:
        60px
        30px;

    background: #fff;

    border:
        1px solid
        var(--border);

    border-radius: 18px;

    box-shadow:
        var(--shadow);

    text-align: center;
}


.registration-closed-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 54px;
    height: 54px;

    margin:
        0 auto
        18px;

    border-radius: 14px;

    background:
        var(--pink-soft);

    color:
        var(--pink);

    font-size: 21px;
}


.registration-closed h1 {
    margin:
        0
        0
        8px;

    font-size: 22px;
}


.registration-closed p {
    margin: 0;

    color:
        var(--text-muted);

    font-size: 13px;
}


/* =========================================================
   PASSO 3 — DADOS
========================================================= */

.form-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    margin-bottom: 20px;
}

.form-section-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;
    flex: 0 0 38px;

    border-radius: 9px;

    background: var(--pink-soft);
    color: var(--pink);
}

.form-section-heading h2 {
    margin: 0 0 3px;

    font-size: 15px;
    font-weight: 700;
}

.form-section-heading p {
    margin: 0;

    color: var(--text-muted);

    font-size: 12px;
    line-height: 1.45;
}


.form-grid {
    display: grid;
    gap: 16px;
}

.form-grid-2 {
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
}

.form-field-full {
    grid-column: 1 / -1;
}


/* FOTOGRAFIA */

.photo-upload {
    display: flex;
    align-items: center;

    gap: 15px;

    padding: 16px;

    border: 1px dashed var(--border-dark);
    border-radius: 12px;

    background: #faf9fa;

    cursor: pointer;

    transition: .18s ease;
}

.photo-upload:hover {
    border-color: var(--pink);
    background: var(--pink-soft);
}

.photo-upload > input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;
}

.photo-preview {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    flex: 0 0 58px;

    overflow: hidden;

    border-radius: 50%;

    background: #fff;

    border: 1px solid var(--border);

    color: var(--pink);

    font-size: 17px;
}

.photo-preview img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.photo-upload-text {
    display: flex;
    flex-direction: column;

    gap: 3px;

    flex: 1;
}

.photo-upload-text strong {
    font-size: 13px;
}

.photo-upload-text span {
    color: var(--text-muted);
    font-size: 12px;
}

.photo-upload-action {
    padding: 8px 11px;

    background: #fff;

    border: 1px solid var(--border);
    border-radius: 7px;

    font-size: 12px;
    font-weight: 650;
}


/* MENOR */

.guardian-section[hidden],
.guardian-address[hidden] {
    display: none;
}

.guardian-notice,
.activity-notice {
    display: flex;
    align-items: flex-start;

    gap: 12px;

    margin-bottom: 28px;

    padding: 15px 17px;

    background: var(--pink-soft);

    border: 1px solid
        rgba(242, 41, 134, .18);

    border-radius: 10px;

    color: var(--pink);
}

.guardian-notice > i,
.activity-notice > i {
    margin-top: 2px;
}

.guardian-notice div,
.activity-notice div {
    display: flex;
    flex-direction: column;

    gap: 3px;
}

.guardian-notice strong,
.activity-notice strong {
    color: var(--text);

    font-size: 12px;
}

.guardian-notice span,
.activity-notice span {
    color: var(--text-muted);

    font-size: 12px;
    line-height: 1.45;
}


/* MESMA MORADA */

.same-address-control {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-top: 22px;

    cursor: pointer;

    color: var(--text);

    font-size: 12px;
}

.same-address-control > input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;
}

.same-address-check {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 20px;
    height: 20px;

    flex: 0 0 20px;

    background: #fff;

    border: 1px solid var(--border-dark);
    border-radius: 5px;

    color: transparent;

    font-size: 9px;
}

.same-address-control
input:checked
+ .same-address-check {
    background: var(--pink);
    border-color: var(--pink);
    color: #fff;
}

.guardian-address {
    margin-top: 22px;

    padding-top: 22px;

    border-top: 1px solid var(--border);
}


/* =========================================================
   PASSO 2 — ATIVIDADE
========================================================= */

/* MODALIDADES */

.activity-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.activity-card {
    position: relative;
    display: block;
    cursor: pointer;
}

.activity-card > input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.activity-card-content {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 120px;

    padding: 20px;

    background: #fff;

    border: 1px solid var(--border);
    border-radius: 12px;

    transition:
        border-color .18s ease,
        background .18s ease,
        box-shadow .18s ease,
        transform .18s ease;
}

.activity-card:hover .activity-card-content {
    border-color: var(--activity-color);

    transform: translateY(-1px);

    box-shadow:
        0 8px 24px
        rgba(33, 29, 33, .05);
}

.activity-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    margin-bottom: 11px;

    border-radius: 11px;

    background:
        color-mix(
            in srgb,
            var(--activity-color) 10%,
            white
        );

    color: var(--activity-color);

    font-size: 18px;
}

.activity-name {
    color: var(--text);

    font-size: 14px;
    font-weight: 700;
}

.activity-check {
    position: absolute;

    top: 12px;
    right: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 22px;
    height: 22px;

    background: #fff;

    border: 1px solid var(--border);
    border-radius: 50%;

    color: transparent;

    font-size: 9px;

    transition: .18s ease;
}


/* MODALIDADE SELECIONADA */

.activity-card
input:checked
+ .activity-card-content {

    border-color: var(--activity-color);

    background:
        color-mix(
            in srgb,
            var(--activity-color) 5%,
            white
        );

    box-shadow:
        0 0 0 2px
        color-mix(
            in srgb,
            var(--activity-color) 10%,
            transparent
        );
}

.activity-card
input:checked
+ .activity-card-content
.activity-check {

    background: var(--activity-color);

    border-color: var(--activity-color);

    color: #fff;
}


/* =========================================================
   LOCAL
========================================================= */

#localSection {
    margin-top: 30px;
}

#localSection[hidden] {
    display: none;
}

.location-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;
}

.location-card {
    position: relative;
    display: block;
    cursor: pointer;
}

.location-card > input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;
    pointer-events: none;
}

.location-card-content {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 78px;

    gap: 14px;

    padding:
        16px
        46px
        16px
        16px;

    background: #fff;

    border: 1px solid var(--border);
    border-radius: 11px;

    transition:
        border-color .18s ease,
        background .18s ease,
        box-shadow .18s ease,
        transform .18s ease;
}

.location-card:hover
.location-card-content {

    border-color: var(--pink);

    transform: translateY(-1px);

    box-shadow:
        0 8px 24px
        rgba(33, 29, 33, .05);
}

.location-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    border-radius: 10px;

    background: var(--pink-soft);

    color: var(--pink);

    font-size: 16px;
}

.location-info {
    display: flex;
    flex-direction: column;

    gap: 3px;
}

.location-info strong {
    color: var(--text);

    font-size: 14px;
    font-weight: 700;
}

.location-info small {
    color: var(--text-muted);

    font-size: 12px;
}

.location-check {
    position: absolute;

    top: 50%;
    right: 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 22px;
    height: 22px;

    transform: translateY(-50%);

    background: #fff;

    border: 1px solid var(--border);
    border-radius: 50%;

    color: transparent;

    font-size: 9px;
}


/* LOCAL SELECIONADO */

.location-card
input:checked
+ .location-card-content {

    border-color: var(--pink);

    background: var(--pink-soft);

    box-shadow:
        0 0 0 2px
        rgba(242, 41, 134, .08);
}

.location-card
input:checked
+ .location-card-content
.location-check {

    background: var(--pink);

    border-color: var(--pink);

    color: #fff;
}


/* =========================================================
   AVISO DA INSCRIÇÃO
========================================================= */

.activity-notice {
    display: flex;
    align-items: flex-start;

    gap: 12px;

    margin-top: 28px;
    margin-bottom: 4px;

    padding: 16px 18px;

    background: var(--pink-soft);

    border:
        1px solid
        rgba(242, 41, 134, .22);

    border-radius: 10px;
}

.activity-notice[hidden] {
    display: none;
}

.activity-notice > i {
    margin-top: 2px;

    color: var(--pink);

    font-size: 14px;
}

.activity-notice > div {
    display: flex;
    flex-direction: column;

    gap: 3px;
}

.activity-notice strong {
    color: var(--text);

    font-size: 12px;
    font-weight: 700;
}

.activity-notice span {
    color: var(--text-muted);

    font-size: 12px;

    line-height: 1.45;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 760px) {

    .public-page {
        padding:
            28px
            16px
            60px;
    }

    .activity-grid {
        grid-template-columns: 1fr;
    }

    .location-grid {
        grid-template-columns: 1fr;
    }

    .registration-progress {
        padding:
            16px
            18px;
    }


    .progress-step {
        justify-content: center;
    }


    .progress-step > strong {
        display: none;
    }


    .progress-step::before {
        left: -50%;
        width: 100%;
    }


    .registration-step {
        padding:
            32px
            26px;
    }


    .choice-grid {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 520px) {

    .public-page {
        padding:
            18px
            10px
            40px;
    }


    .registration-header {
        align-items: flex-end;

        gap: 16px;

        margin-bottom: 18px;
    }


    .registration-brand strong {
        font-size: 17px;
    }


    .registration-season strong {
        font-size: 12px;
    }


    .registration-form {
        border-radius: 14px;
    }


    .registration-progress {
        padding:
            14px
            10px;
    }


    .progress-step {
        gap: 0;
    }


    .progress-step > span {
        width: 26px;
        height: 26px;

        flex-basis: 26px;
    }


    .registration-step {
        padding:
            26px
            18px
            22px;
    }


    .step-heading {
        margin-bottom: 26px;
    }


    .step-heading h1 {
        font-size: 25px;
    }


    .choice-card-content {
        min-height: 96px;

        padding:
            16px
            44px
            16px
            16px;
    }


    .renewal-box {
        padding: 17px;
    }


    .renewal-search {
        grid-template-columns: 1fr;
    }


    .renewal-search .public-btn {
        width: 100%;
    }


    .step-actions {
        margin-top: 28px;
    }


    .step-actions .public-btn {
        width: 100%;
    }

}

.postal-status {
    display: block;

    min-height: 18px;

    margin-top: 2px;

    color: var(--text-muted);

    font-size: 12px;
}

.postal-status i {
    margin-right: 4px;
}

.postal-status.is-success {
    color: #16803c;
}

.postal-status.is-error {
    color: #c62828;
}

.postal-status.is-loading {
    color: var(--text-muted);
}

.form-field input[readonly] {
    background: #f8f7f9;

    color: var(--text);

    cursor: default;
}

.form-field input[readonly]:focus {
    border-color: var(--border-dark);
    box-shadow: none;
}

/* =========================================================
   FOTOGRAFIA
========================================================= */

.photo-section {
    margin-top: 34px;
}

.photo-section .form-section-heading {
    margin-bottom: 18px;
}

.photo-upload {
    display: flex;
    align-items: center;
    gap: 15px;

    padding: 16px;

    border: 1px dashed var(--border-dark);
    border-radius: 12px;

    background: #faf9fa;

    cursor: pointer;

    transition: .18s ease;
}

.photo-upload:hover {
    border-color: var(--pink);
    background: var(--pink-soft);
}

.photo-preview {
    position: relative;
}

.photo-preview-remove {
    position: absolute;

    top: -5px;
    right: -5px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 25px;
    height: 25px;

    padding: 0;

    background: #fff;

    border: 1px solid var(--border);
    border-radius: 50%;

    color: #8e878d;

    font-size: 10px;

    cursor: pointer;

    box-shadow:
        0 3px 9px
        rgba(33, 29, 33, .16);

    z-index: 2;

    transition:
        color .18s ease,
        background .18s ease,
        border-color .18s ease,
        transform .18s ease;
}

.photo-preview-remove:hover {
    color: #c62828;

    background: #fff5f5;

    border-color: #f1caca;

    transform: scale(1.06);
}

/* =========================================================
   PASSO 4 — INFORMAÇÕES
   ========================================================= */


/* =========================================================
   SECÇÕES
   ========================================================= */

.registration-step[data-step="4"] .form-section {
    margin-top: 30px;
}

.registration-step[data-step="4"] .form-section:first-of-type {
    margin-top: 28px;
}

.registration-step[data-step="4"] .form-section-heading {
    margin-bottom: 20px;
}


/* =========================================================
   CAMPOS
   ========================================================= */

.registration-step[data-step="4"] .field {
    margin-bottom: 18px;
}

.registration-step[data-step="4"] .field:last-child {
    margin-bottom: 0;
}


/* =========================================================
   OPÇÕES SIM / NÃO
   ========================================================= */

.choice-row {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-top: 8px;
}


.choice-option {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 88px;
    height: 42px;

    padding: 0 18px;

    background: #ffffff;

    border: 1px solid #e7e1e5;
    border-radius: 9px;

    color: #625c61;

    font-size: 13px;
    font-weight: 600;

    cursor: pointer;

    user-select: none;

    transition:
        background-color .18s ease,
        border-color .18s ease,
        color .18s ease,
        box-shadow .18s ease;
}


.choice-option:hover {
    background: #fdfbfc;

    border-color: #d9d1d6;
}


/* esconder radio original */

.choice-option input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;

    pointer-events: none;
}


/* selecionado */

.choice-option:has(input:checked) {
    background: #fff0f7;

    border-color: #ff2c91;

    color: #e91e7d;

    box-shadow:
        0 0 0 3px
        rgba(255, 44, 145, .06);
}


/* =========================================================
   TEXTAREAS
   MESMO VISUAL DOS INPUTS DO PASSO 3
   ========================================================= */

.registration-step[data-step="4"] .field textarea {
    display: block;

    width: 100%;
    min-height: 100px;

    margin-top: 7px;

    padding: 12px 14px;

    background: #ffffff;

    border: 1px solid #e7e1e5;
    border-radius: 10px;

    color: #211d21;

    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;

    resize: vertical;

    outline: none;

    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        background-color .18s ease;
}


.registration-step[data-step="4"] .field textarea::placeholder {
    color: #aaa3a8;
}


.registration-step[data-step="4"] .field textarea:hover {
    border-color: #d8cfd4;
}


.registration-step[data-step="4"] .field textarea:focus {
    border-color: #ff2c91;

    box-shadow:
        0 0 0 3px
        rgba(255, 44, 145, .08);
}


/* =========================================================
   CAMPOS CONDICIONAIS
   ========================================================= */

.health-details {
    margin-top: -4px;
}


.health-details[hidden] {
    display: none !important;
}


/* =========================================================
   TEXTO "OPCIONAL"
   ========================================================= */

.optional {
    margin-left: 6px;

    color: #aaa3a8;

    font-size: 11px;
    font-weight: 500;
}


/* =========================================================
   CONTACTO DE EMERGÊNCIA
   ========================================================= */

.registration-step[data-step="4"] .form-grid {
    margin-top: 0;
}


.registration-step[data-step="4"] #emergenciaTelemovel {
    font-variant-numeric: tabular-nums;
}


/* =========================================================
   AUTORIZAÇÕES
   ========================================================= */

.consent-list {
    display: flex;
    flex-direction: column;

    gap: 10px;
}


.consent-item {
    position: relative;

    display: flex;
    align-items: flex-start;

    gap: 13px;

    width: 100%;

    padding: 15px 16px;

    background: #ffffff;

    border: 1px solid #e7e1e5;
    border-radius: 10px;

    cursor: pointer;

    transition:
        background-color .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}


.consent-item:hover {
    background: #fdfbfc;

    border-color: #d8cfd4;
}


/* checkbox original */

.consent-item > input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;

    pointer-events: none;
}


/* checkbox visual */

.consent-check {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 21px;
    height: 21px;

    margin-top: 1px;

    background: #ffffff;

    border: 1.5px solid #d8d1d5;
    border-radius: 6px;

    color: transparent;

    font-size: 10px;

    transition:
        background-color .18s ease,
        border-color .18s ease,
        color .18s ease;
}


/* autorização selecionada */

.consent-item:has(input:checked) {
    background: #fff8fb;

    border-color:
        rgba(255, 44, 145, .35);
}


.consent-item:has(input:checked) .consent-check {
    background: #ff2c91;

    border-color: #ff2c91;

    color: #ffffff;
}


/* texto autorização */

.consent-content {
    display: flex;
    flex-direction: column;

    gap: 4px;

    min-width: 0;
}


.consent-content strong {
    color: #211d21;

    font-size: 13px;
    font-weight: 650;
    line-height: 1.35;
}


.consent-content small {
    color: #8e878d;

    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
}


.consent-item:has(input:checked)
.consent-content strong {
    color: #e91e7d;
}


/* =========================================================
   RESPONSIVO
   ========================================================= */

@media (max-width: 640px) {

    .registration-step[data-step="4"] .form-section {
        margin-top: 26px;
    }


    .choice-row {
        width: 100%;
    }


    .choice-option {
        flex: 1;

        min-width: 0;
    }


    .consent-item {
        padding: 14px;
    }


    .consent-content small {
        font-size: 12px;
    }

}

/* =========================================================
   PASSO 5 — RESUMO
   ========================================================= */

.review-value {
    display: flex;
    align-items: center;

    min-height: 40px;

    padding: 10px 12px;

    background: #f8f7f9;

    border: 1px solid #ebe6e9;
    border-radius: 9px;

    color: #211d21;

    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;

    overflow-wrap: anywhere;
}


/* =========================================================
   ALUNO — FOTO + NOME
   ========================================================= */

.review-student {
    display: flex;
    align-items: center;

    gap: 14px;

    margin-bottom: 20px;

    padding-bottom: 20px;

    border-bottom: 1px solid #ebe6e9;
}


.review-photo {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    overflow: hidden;

    background: #fff0f7;

    border-radius: 50%;

    color: #ff2c91;

    font-size: 20px;
}


.review-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.review-student-info {
    display: flex;
    flex-direction: column;

    gap: 4px;
}


.review-student-info strong {
    color: #211d21;

    font-size: 15px;
    font-weight: 700;
}


.review-student-info span {
    color: #8e878d;

    font-size: 12px;
}


/* =========================================================
   CONFIRMAÇÃO
   ========================================================= */

.confirmation-control {
    position: relative;

    display: flex;
    align-items: flex-start;

    gap: 12px;

    padding: 15px;

    background: #fff8fb;

    border: 1px solid
        rgba(255, 44, 145, .25);

    border-radius: 10px;

    cursor: pointer;
}


.confirmation-control > input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;
}


/* =================================================
   CHECKBOX DE CONFIRMAÇÃO
================================================= */

.confirmation-check {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 20px;

    width: 20px;
    height: 20px;

    margin-top: 1px;

    border: 1px solid #d9d4d7;
    border-radius: 6px;

    background: #ffffff;

    transition: 0.15s ease;
}


/* Esconder o check por defeito */

.confirmation-check i {
    display: none;

    font-size: 11px;
    color: #ffffff;
}


/* Checkbox selecionada */

.confirmation-control
input[type="checkbox"]:checked
~ .confirmation-check {

    background: #ff2c91;
    border-color: #ff2c91;
}


/* Mostrar check */

.confirmation-control
input[type="checkbox"]:checked
~ .confirmation-check
i {

    display: block;

}


.confirmation-text {
    display: flex;
    flex-direction: column;

    gap: 4px;
}


.confirmation-text strong {
    color: #211d21;

    font-size: 13px;
    font-weight: 650;
}


.confirmation-text small {
    color: #8e878d;

    font-size: 12px;
    line-height: 1.5;
}

/* =================================================
   CONFIRMAÇÃO FINAL
================================================= */

.confirmation-control {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    width: 100%;
    padding: 16px;

    border: 1px solid #f8b6d5;
    border-radius: 10px;

    background: #fff8fb;

    cursor: pointer;

    box-sizing: border-box;
}


/* Checkbox original */

.confirmation-control > input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;

    pointer-events: none;
}


/* Checkbox visual */

.confirmation-check {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 20px;

    width: 20px;
    height: 20px;

    margin-top: 1px;

    border: 1px solid #d9d4d7;
    border-radius: 6px;

    background: #ffffff;

    color: #ffffff;

    transition:
        background-color 0.15s ease,
        border-color 0.15s ease;
}


/* Selecionada */

.confirmation-control
> input:checked
+ .confirmation-check {

    background:
        var(--academia-pink);

    border-color:
        var(--academia-pink);
}


/* Ícone */

.confirmation-check i {
    font-size: 11px;

    opacity: 0;

    transform: scale(0.6);

    transition:
        opacity 0.15s ease,
        transform 0.15s ease;
}


.confirmation-control
> input:checked
+ .confirmation-check
i {

    opacity: 1;

    transform: scale(1);
}


/* Texto */

.confirmation-content {
    display: flex;
    flex-direction: column;
    gap: 4px;

    min-width: 0;
}


.confirmation-content strong {
    font-size: 13px;
    font-weight: 700;

    color: var(--text);
}


.confirmation-content > span {
    font-size: 12px;
    line-height: 1.5;

    color: var(--text-muted);
}



/* Hover */

.confirmation-control:hover {
    border-color:
        var(--academia-pink);
}


/* Focus teclado */

.confirmation-control
> input:focus-visible
+ .confirmation-check {

    outline: 3px solid
        rgba(255, 44, 145, 0.15);

    outline-offset: 2px;
}

/* =========================================================
   PÁGINA DE SUCESSO
========================================================= */

.success-page {
    position: relative;

    width: 100%;
    max-width: 620px;

    margin: 50px auto;
    padding: 38px 42px 32px;

    background: #ffffff;

    border: 1px solid var(--border);
    border-radius: 22px;

    box-shadow:
        0 20px 60px rgba(33, 29, 33, 0.08);

    box-sizing: border-box;

    overflow: hidden;
}


/* Linha de identidade no topo */

.success-page::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background: var(--academia-pink);
}


/* =========================================================
   LOGÓTIPO
========================================================= */

.success-logo {
    display: flex;
    justify-content: center;

    margin-bottom: 26px;
}

.success-logo2 {
    display: flex;
    justify-content: center;
}

.success-logo2 img {
    display: block;

    width: auto;
    max-width: 115px;


    object-fit: contain;
}

.success-logo img {
    display: block;

    width: auto;
    max-width: 150px;
    max-height: 98px;

    object-fit: contain;
}


/* =========================================================
   ESTADO
========================================================= */

.success-status {
    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}


.success-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    margin-bottom: 18px;

    border-radius: 50%;

    background: var(--academia-pink);
    color: #ffffff;

    box-shadow:
        0 8px 24px rgba(255, 44, 145, 0.22);

    font-size: 21px;
}


.success-eyebrow {
    margin-bottom: 6px;

    font-size: 12px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.09em;

    color: var(--academia-pink);
}


.success-status h1 {
    margin: 0;

    font-size: 32px;
    font-weight: 800;
    line-height: 1.15;

    color: var(--text);
}


.success-lead {
    margin: 8px 0 0;

    font-size: 14px;
    line-height: 1.6;

    color: var(--text-muted);
}


/* =========================================================
   SEPARADOR
========================================================= */

.success-divider {
    width: 42px;
    height: 2px;

    margin: 26px auto;

    border-radius: 999px;

    background: var(--academia-pink);
}


/* =========================================================
   INSCRIÇÃO PENDENTE
========================================================= */

.success-notice {
    display: flex;
    align-items: flex-start;
    gap: 14px;

    width: 100%;

    padding: 17px;

    background: var(--academia-pink-soft);

    border: 1px solid rgba(255, 44, 145, 0.16);
    border-radius: 13px;

    box-sizing: border-box;
}


.success-notice-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 34px;

    width: 34px;
    height: 34px;

    border-radius: 9px;

    background: #ffffff;

    color: var(--academia-pink);

    font-size: 13px;
}


.success-notice > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 4px;

    min-width: 0;
}


.success-notice strong {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;

    color: var(--text);
}


.success-notice span {
    font-size: 12px;
    line-height: 1.55;

    color: var(--text-muted);
}


/* =========================================================
   NÚMERO DE ALUNO
========================================================= */

.success-student {
    display: flex;
    align-items: center;
    gap: 13px;

    width: 100%;

    margin-top: 12px;
    padding: 14px 16px;

    background: #ffffff;

    border: 1px solid var(--border);
    border-radius: 13px;

    box-sizing: border-box;
}


.success-student-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 34px;

    width: 34px;
    height: 34px;

    border-radius: 9px;

    background: #f7f5f6;

    color: var(--text-muted);

    font-size: 13px;
}


.success-student-text {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    width: 100%;
}


.success-student-text span {
    font-size: 12px;
    font-weight: 600;

    color: var(--text-muted);
}


.success-student-text strong {
    font-size: 18px;
    font-weight: 800;

    letter-spacing: 0.03em;

    color: var(--text);
}


/* =========================================================
   INFORMAÇÃO FINAL
========================================================= */

.success-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    margin-top: 22px;

    font-size: 12px;
    line-height: 1.5;

    color: var(--text-muted);
}


.success-info i {
    color: var(--academia-pink);
}


/* =========================================================
   ASSINATURA
========================================================= */

.success-signature {
    margin-top: 25px;
    padding-top: 20px;

    border-top: 1px solid var(--border);

    text-align: center;

    font-size: 12px;
    font-weight: 600;

    color: var(--text-muted);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .success-page {
        margin: 24px auto;
        padding: 30px 20px 26px;

        border-radius: 17px;
    }


    .success-logo {
        margin-bottom: 22px;
    }


    .success-logo img {
        max-width: 100px;
        max-height: 52px;
    }


    .success-icon {
        width: 54px;
        height: 54px;

        font-size: 19px;
    }


    .success-status h1 {
        font-size: 28px;
    }


    .success-divider {
        margin: 22px auto;
    }


    .success-notice {
        padding: 15px;
    }


    .success-student {
        padding: 13px 14px;
    }

}