* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    color: #273640;
    font-family: Arial, Helvetica, sans-serif;
    background: #eef2f4;
}

button,
input,
select {
    font: inherit;
}

.site-header {
    color: #ffffff;
    background: linear-gradient(
        115deg,
        #001570,
        #006de9
    );
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: min(1060px, calc(100% - 32px));
    min-height: 76px;
    margin: 0 auto;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    font-size: 13px;
    font-weight: bold;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 8px;
}

.brand strong,
.brand span {
    display: block;
}

.brand strong {
    font-size: 16px;
}

.brand span {
    margin-top: 4px;
    font-size: 12px;
    opacity: 0.85;
}

.site-header__badge {
    padding: 7px 11px;
    font-size: 12px;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
}

.page-shell {
    width: min(1060px, calc(100% - 32px));
    margin: 0 auto;
    padding: 30px 0 44px;
}

.hero {
    display: grid;
    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(280px, 0.65fr);
    gap: 22px;
    margin-bottom: 22px;
}

.hero__main,
.event-card,
.form-card,
.empty-card {
    background: #ffffff;
    border: 1px solid #d4dde2;
    border-radius: 11px;
    box-shadow: 0 8px 24px rgba(31, 53, 66, 0.08);
}

.hero__main {
    padding: 28px;
}

.eyebrow {
    display: block;
    color: #8b1420;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 7px 0 12px;
    color: #70101a;
    font-size: clamp(28px, 5vw, 42px);
    line-height: 1.12;
}

.hero__description {
    margin: 0;
    color: #596b76;
    font-size: 16px;
    line-height: 1.65;
}

.event-card {
    padding: 22px;
    border-top: 4px solid #9b111e;
}

.event-card h2 {
    margin: 5px 0 17px;
    color: #70101a;
    font-size: 20px;
}

.event-detail {
    padding: 11px 0;
    border-top: 1px solid #e2e8eb;
}

.event-detail:first-of-type {
    border-top: 0;
}

.event-detail span,
.event-detail strong {
    display: block;
}

.event-detail span {
    margin-bottom: 4px;
    color: #71818b;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.event-detail strong {
    color: #2f3e47;
    font-size: 14px;
    line-height: 1.45;
}

.alert {
    margin-bottom: 20px;
    padding: 15px 17px;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.5;
    border: 1px solid;
    border-left-width: 5px;
    border-radius: 8px;
}

.alert--success {
    color: #206238;
    background: #eaf7ee;
    border-color: #9dceac;
    border-left-color: #2f854b;
}

.alert--error {
    color: #8a232b;
    background: #fff0f1;
    border-color: #e1a6aa;
    border-left-color: #bf3039;
}

.form-card {
    overflow: hidden;
}

.form-card__header {
    padding: 22px 24px;
    border-bottom: 1px solid #dde5e9;
}

.form-card__header h2 {
    margin: 6px 0 7px;
    color: #70101a;
    font-size: 23px;
}

.form-card__header p {
    margin: 0;
    color: #63747e;
    font-size: 14px;
    line-height: 1.5;
}

.form-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: 24px;
}

.field {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

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

.field > span {
    margin-bottom: 7px;
    color: #34434c;
    font-size: 13px;
    font-weight: bold;
}

.field input,
.field select {
    width: 100%;
    min-height: 47px;
    padding: 10px 12px;
    color: #273640;
    background: #ffffff;
    border: 1px solid #b8c5cc;
    border-radius: 7px;
}

.field input:focus,
.field select:focus {
    outline: none;
    border-color: #9b111e;
    box-shadow: 0 0 0 3px rgba(155, 17, 30, 0.12);
}

.field small {
    margin-top: 6px;
    color: #71818b;
    font-size: 11px;
    line-height: 1.4;
}

.notice {
    margin: 0 24px 22px;
    padding: 14px 15px;
    color: #694f0a;
    font-size: 13px;
    line-height: 1.5;
    background: #fff7dc;
    border-left: 4px solid #d4a51d;
    border-radius: 6px;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 24px 24px;
}

.submit-button {
    min-height: 47px;
    padding: 11px 22px;
    color: #ffffff;
    font-weight: bold;
    cursor: pointer;
    background: #9b111e;
    border: 1px solid #9b111e;
    border-radius: 7px;
}

.submit-button:hover {
    background: #76101a;
    border-color: #76101a;
}

.submit-button:disabled {
    cursor: wait;
    opacity: 0.65;
}

.privacy-note {
    color: #71818b;
    font-size: 11px;
    line-height: 1.45;
}

.empty-card {
    padding: 42px 26px;
    text-align: center;
}

.empty-card h1 {
    margin: 8px 0 10px;
    color: #70101a;
    font-size: 28px;
}

.empty-card p {
    max-width: 620px;
    margin: 0 auto;
    color: #63747e;
    line-height: 1.6;
}

.honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.site-footer {
    color: #ffffff;
    background: #531019;
}

.site-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: min(1060px, calc(100% - 32px));
    min-height: 60px;
    margin: 0 auto;
    font-size: 12px;
}

.modal-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.55);
}

.modal-overlay.is-visible {
    display: flex;
}

.modal-box {
    width: min(440px, 100%);
    overflow: hidden;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
}

.modal-box__header {
    padding: 16px 20px;
    color: #ffffff;
    font-size: 17px;
    font-weight: bold;
}

.modal-box__header--success {
    background: #2f854b;
}

.modal-box__header--error {
    background: #bf3039;
}

.modal-box__body {
    padding: 22px 20px;
    color: #34434c;
    line-height: 1.55;
}

.modal-box__footer {
    padding: 14px 20px;
    text-align: right;
    background: #f4f6f7;
}

.modal-close {
    min-height: 39px;
    padding: 8px 17px;
    color: #ffffff;
    font-weight: bold;
    cursor: pointer;
    background: #70101a;
    border: 0;
    border-radius: 6px;
}

.modal-close:hover {
    background: #531019;
}

@media (max-width: 780px) {
    .site-header__badge {
        display: none;
    }

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

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

    .field--full {
        grid-column: auto;
    }

    .site-footer__inner {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        padding: 14px 0;
    }
}

@media (max-width: 520px) {
    .site-header__inner,
    .page-shell,
    .site-footer__inner {
        width: calc(100% - 22px);
    }

    .brand strong {
        font-size: 13px;
    }

    .hero__main,
    .event-card {
        padding: 20px;
    }

    .form-grid,
    .form-card__header {
        padding: 19px;
    }

    .notice {
        margin-right: 19px;
        margin-left: 19px;
    }

    .form-actions {
        align-items: stretch;
        flex-direction: column;
        padding: 0 19px 20px;
    }

    .submit-button {
        width: 100%;
    }
}
/*
|--------------------------------------------------------------------------
| Modal de recomendações
|--------------------------------------------------------------------------
*/

.modal-overlay--regras {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

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

    padding: 12px;
    overflow: auto;
}

.modal-regras {
    display: flex;
    flex-direction: column;

    width: 95%;
    max-width: 850px;

    max-height: calc(100vh - 24px);

    margin: auto;
    overflow: hidden;
}

.modal-regras__header {
    flex: 0 0 auto;
}

.modal-regras__body {
    display: flex;
    flex: 1 1 auto;

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

    min-height: 0;
    padding: 10px;

    overflow: hidden;
}

.modal-regras__imagem {
    display: block;

    width: auto;
    height: auto;

    max-width: 100%;
    max-height: calc(100vh - 170px);

    margin: auto;

    object-fit: contain;
}

.modal-regras__footer {
    flex: 0 0 auto;
}
@media (max-width: 600px) {
    .modal-overlay--regras {
        padding: 6px;
    }

    .modal-regras {
        width: 100%;
        max-width: none;
        max-height: calc(100vh - 12px);
    }

    .modal-regras__header {
        padding: 10px 12px;
        font-size: 16px;
        line-height: 1.3;
    }

    .modal-regras__body {
        padding: 6px;
    }

    .modal-regras__imagem {
        max-height: calc(100vh - 155px);
    }

    .modal-regras__footer {
        padding: 8px 12px;
    }
}