/* Public event identity only. No body/global utility overrides: HTMX may retain CSS. */
@font-face {
    font-family: 'NavieEventMontserrat';
    src: url('../fonts/evento/montserrat-arabic-bold.woff2') format('woff2');
    font-style: normal;
    font-weight: 700;
    font-display: block;
}
@font-face {
    font-family: 'NavieEventMontserrat';
    src: url('../fonts/evento/montserrat-arabic-extrabold.woff2') format('woff2');
    font-style: normal;
    font-weight: 800 900;
    font-display: block;
}
@font-face {
    font-family: 'NavieEventManrope';
    src: url('../fonts/evento/manrope-latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 200 800;
    font-display: block;
}

#jiujitsu-event-page,
[data-jiujitsu-event-dialog] {
    font-family: 'NavieEventManrope', Arial, sans-serif;
    --jj-border: #e4e7eb;
    --jj-muted: #657080;
    --jj-surface: #fff;
    --jj-ink: #19212e;
}
#jiujitsu-event-page :is(input, select, textarea, button),
[data-jiujitsu-event-dialog] :is(input, select, textarea, button) {
    font-family: 'NavieEventManrope', Arial, sans-serif;
}
#jiujitsu-event-page :is(h1, h2, h3, h4, .font-display),
[data-jiujitsu-event-dialog] :is(h1, h2, h3, h4, .font-display) {
    font-family: 'NavieEventMontserrat', Arial, sans-serif;
    font-style: normal;
    letter-spacing: -.025em;
    text-transform: none;
}
#jiujitsu-event-page :is(h2, h3, h4) { font-weight: 700; }
#jiujitsu-event-page .font-black,
[data-jiujitsu-event-dialog] .font-black { font-weight: 800; }
#jiujitsu-event-page #evento-hero { height: auto; min-height: 560px; padding: 110px 24px 76px; }
#jiujitsu-event-page #evento-hero > .relative { height: auto; }
#jiujitsu-event-page #evento-hero h1 {
    font-size: clamp(32px, 4.9vw, 60px);
    font-weight: 800;
    line-height: 1.13;
    letter-spacing: -.045em;
    text-wrap: balance;
    transform: none;
    max-width: 900px;
    margin: 0;
}
#jiujitsu-event-page #evento-hero img[alt="Logo do campeonato"] {
    width: 140px !important;
    height: 140px;
    max-height: none !important;
    margin-bottom: 18px;
}
#jiujitsu-event-page #evento-hero > .relative > span {
    border-radius: 5px;
    padding: 6px 11px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    margin-bottom: 18px;
    background: rgb(15 18 23 / 44%) !important;
}
#jiujitsu-event-page #evento-hero > .absolute:not(img):not(video) {
    background: linear-gradient(180deg, rgb(4 6 10 / 45%), rgb(4 6 10 / 15%) 42%, rgb(4 6 10 / 86%));
}
#jiujitsu-event-page #evento-tabs { width: calc(100% - 64px); max-width: 1116px; margin-top: -27px; }
#jiujitsu-event-page #evento-tabs > div {
    border: 1px solid var(--jj-border);
    border-radius: 8px;
    padding: 5px;
    background: #fff;
    backdrop-filter: none;
    box-shadow: 0 6px 22px rgb(18 26 41 / 7%);
    gap: 4px;
}
#jiujitsu-event-page #evento-tabs .aba-btn {
    min-width: 0;
    min-height: 46px;
    padding: 10px 17px;
    border-radius: 4px 4px 0 0;
    border-bottom: 3px solid transparent;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    transform: none;
    opacity: 1;
    box-shadow: none;
    background: transparent;
    color: var(--jj-muted) !important;
    transition: background-color .15s, border-color .15s;
}
#jiujitsu-event-page #evento-tabs .aba-btn.bg-white {
    background: color-mix(in srgb, var(--cor-dinamica) 8%, white);
    border-bottom-color: var(--cor-dinamica);
    color: color-mix(in srgb, var(--cor-dinamica) 72%, #19212e) !important;
}
#jiujitsu-event-page #evento-tabs .aba-btn:hover { background: #f5f6f8; }
#jiujitsu-event-page #evento-conteudo { background: #f5f6f8; padding-top: 60px; }
#jiujitsu-event-page #banner-cronometro,
#jiujitsu-event-page #conteudo-aba { max-width: 1180px; padding-left: 32px; padding-right: 32px; }
#jiujitsu-event-page #banner-cronometro { transition: max-width .55s cubic-bezier(.22, 1, .36, 1); }
#jiujitsu-event-page #banner-cronometro.jj-countdown-compact { max-width: 540px; }
#jiujitsu-event-page .jj-countdown {
    border-radius: 12px;
    padding: 24px 30px;
    background: #fff;
    border-color: var(--jj-border);
    box-shadow: 0 3px 12px rgb(25 33 46 / 3%);
    backdrop-filter: none;
    transition: padding .55s cubic-bezier(.22, 1, .36, 1), gap .45s ease;
}
#jiujitsu-event-page .jj-countdown-intro {
    max-width: 360px;
    max-height: 80px;
    overflow: hidden;
    opacity: 1;
    transform: translateY(0);
    transition: max-width .5s cubic-bezier(.22, 1, .36, 1), max-height .5s cubic-bezier(.22, 1, .36, 1), opacity .22s ease, transform .35s ease;
}
#jiujitsu-event-page .jj-countdown.is-compact { justify-content: center; gap: 0; padding: 18px 24px; }
#jiujitsu-event-page .jj-countdown.is-compact .jj-countdown-intro {
    max-width: 0;
    max-height: 0;
    opacity: 0;
    transform: translateY(-8px);
    visibility: hidden;
}
#jiujitsu-event-page .jj-countdown > div:first-child > div:first-child { border-radius: 8px; padding: 10px; }
#jiujitsu-event-page .jj-countdown h3 { font-size: 16px; font-weight: 700; }
#jiujitsu-event-page .jj-countdown p { font-size: 12px; font-weight: 400; color: var(--jj-muted); text-transform: none; letter-spacing: 0; }
#jiujitsu-event-page .jj-countdown-values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; min-width: 300px; }
#jiujitsu-event-page .jj-countdown-values > span { display: none; }
#jiujitsu-event-page .jj-countdown-values > div { min-width: 0; padding: 0 16px; border-left: 1px solid var(--jj-border); }
#jiujitsu-event-page .jj-countdown-values > div:first-child { border-left: 0; }
#jiujitsu-event-page .jj-countdown-values [id^="timer-"] { font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; }
#jiujitsu-event-page .jj-countdown-values > div > span:last-child { font-size: 11px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--jj-muted); }
#jiujitsu-event-page #formulario-inscricao { gap: 24px; padding-top: 0; }
#jiujitsu-event-page #formInscricao { min-width: 0; }
#jiujitsu-event-page #conteudo-aba :is(.rounded-3xl, .rounded-2xl) { border-radius: 12px; }
#jiujitsu-event-page #conteudo-aba button.rounded-full:not(.jj-photo-button) { border-radius: 7px; }
#jiujitsu-event-page #formInscricao > div.bg-white {
    border-radius: 12px;
    border: 1px solid var(--jj-border);
    padding: 26px;
    box-shadow: 0 3px 12px rgb(25 33 46 / 3%);
}
#jiujitsu-event-page #formInscricao > div.bg-white > h3 {
    font-size: 18px;
    font-weight: 700;
    gap: 11px;
    line-height: 1.4;
    color: var(--jj-ink);
}
#jiujitsu-event-page .jj-section-number {
    display: grid;
    place-items: center;
    flex: 0 0 29px;
    width: 29px;
    height: 29px;
    margin: 0;
    border-radius: 5px;
    font: 700 13px 'NavieEventManrope', Arial, sans-serif;
    color: color-mix(in srgb, var(--cor-dinamica) 72%, #19212e);
    background: color-mix(in srgb, var(--cor-dinamica) 11%, white);
}
#jiujitsu-event-page #formInscricao label.block { font-size: 12px; font-weight: 700; color: #46505f; text-transform: none; letter-spacing: 0; }
#jiujitsu-event-page #formInscricao :is(input:not([type="radio"]):not([type="checkbox"]):not([type="file"]), select, button[\@click="toggle()"]),
[data-jiujitsu-event-dialog] :is(input:not([type="radio"]):not([type="checkbox"]):not([type="file"]), select) {
    border-radius: 7px;
    border: 1px solid #dbe0e6;
    background: #fff;
    min-height: 48px;
    padding: 11px 13px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0;
    box-shadow: none;
    min-width: 0;
    max-width: 100%;
}
#jiujitsu-event-page #formInscricao input::placeholder { color: #7f8997; font-weight: 400; opacity: 1; }
#jiujitsu-event-page #formInscricao .absolute[x-show="open"] { border-radius: 8px; }
#jiujitsu-event-page .jj-photo-layout { flex-direction: column; align-items: center; gap: 24px; }
#jiujitsu-event-page .jj-photo-button { width: 90px; height: 90px; border-width: 1px; }
#jiujitsu-event-page .jj-photo-button svg { width: 25px; height: 25px; }
#jiujitsu-event-page .jj-photo-button span { font-size: 11px; font-weight: 600; text-transform: none; }
#jiujitsu-event-page .jj-package {
    border-width: 1px;
    border-radius: 8px;
    padding: 17px 15px;
    min-width: 0;
    box-shadow: none;
}
#jiujitsu-event-page .jj-package.border-gray-800 {
    border-color: color-mix(in srgb, var(--cor-dinamica) 75%, white);
    background: color-mix(in srgb, var(--cor-dinamica) 5%, white);
    box-shadow: inset 3px 0 0 var(--cor-dinamica);
}
#jiujitsu-event-page .jj-package h4 { font-family: 'NavieEventManrope', Arial, sans-serif; font-size: 14px; font-weight: 700; line-height: 1.5; }
#jiujitsu-event-page .jj-package p { font-size: 11px; letter-spacing: 0; text-transform: none; }
#jiujitsu-event-page .jj-package span[x-text="'R$ ' + pacote.valor"] { font-family: 'NavieEventMontserrat', Arial, sans-serif; font-size: 17px; font-weight: 700; color: #344054; }
#jiujitsu-event-page .jj-credential-shell { background: #fff; border: 1px solid var(--jj-border); border-top: 6px solid var(--cor-dinamica); border-radius: 12px; padding: 0; box-shadow: 0 3px 12px rgb(25 33 46 / 4%); }
#jiujitsu-event-page .jj-credential-shell > .absolute { display: none; }
#jiujitsu-event-page .jj-credential-shell > .relative { border-radius: 0; padding: 24px; }
#jiujitsu-event-page .jj-credential-shell h4 { font-family: 'NavieEventManrope', Arial, sans-serif; font-size: 13px; color: #5a6574; letter-spacing: 0; }
#jiujitsu-event-page .jj-credential-shell h2 { font-size: 22px; }
#jiujitsu-event-page .jj-credential-shell p { text-transform: none; letter-spacing: 0; }
#jiujitsu-event-page .jj-credential-shell .rounded-2xl { border-radius: 8px; }
#jiujitsu-event-page .jj-credential-shell div:has(> img) { width: 84px; height: 84px; border-width: 2px; box-shadow: none; }
#jiujitsu-event-page button.cor-dinamica-bg,
[data-jiujitsu-event-dialog] button.cor-dinamica-bg {
    border-radius: 7px;
    min-height: 48px;
    font-family: 'NavieEventMontserrat', Arial, sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0;
    text-transform: none;
    box-shadow: 0 3px 8px rgb(25 33 46 / 10%);
}
#jiujitsu-event-page #container-botao-mobile button { padding: 14px; }
/* Teleported dialogs are tagged only in this event's registration partial. */
[data-jiujitsu-event-dialog] > div { border-radius: 12px; }
[data-jiujitsu-event-dialog] :is(.rounded-xl, .rounded-2xl) { border-radius: 8px; }
[data-jiujitsu-event-dialog] button:not(.rounded-full) { border-radius: 7px; }

/* Full Naviê date-of-birth calendar, based on the lodging room calendar. */
.jj-birth-calendar { z-index: 420 !important; font-family: 'NavieEventManrope', Arial, sans-serif; }
.jj-birth-calendar-card { width: 100%; max-width: 760px; border: 1px solid #e4e7eb; border-radius: 18px !important; }
.jj-birth-calendar-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); grid-template-areas: "calendar header" "calendar footer"; }
.jj-birth-calendar-header { grid-area: header; padding: 34px 30px 20px; border-left: 1px solid #eef0f3; }
.jj-birth-calendar-header h3 { margin-top: 12px; font-size: 22px; line-height: 1.18; color: #19212e; }
.jj-birth-calendar-header p { margin-top: 8px; font-size: 12px; line-height: 1.55; color: #657080; }
.jj-birth-calendar-badge { display: inline-flex; border-radius: 5px; padding: 5px 8px; background: color-mix(in srgb, var(--cor-dinamica) 11%, white); color: color-mix(in srgb, var(--cor-dinamica) 75%, #19212e); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.jj-birth-calendar-close { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #e4e7eb; border-radius: 8px !important; color: #657080; background: #fff; }
.jj-birth-calendar-close:hover { color: #19212e; background: #f5f6f8; }
.jj-birth-calendar-main { grid-area: calendar; min-height: 410px; padding: 28px; }
.jj-birth-calendar-nav { display: grid; grid-template-columns: 42px minmax(0, 1fr) 42px; align-items: center; gap: 8px; margin-bottom: 20px; }
.jj-birth-calendar-nav > button { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #e4e7eb; border-radius: 8px !important; color: #46505f; background: #fff; }
.jj-birth-calendar-nav > button:hover:not(:disabled) { border-color: color-mix(in srgb, var(--cor-dinamica) 34%, #e4e7eb); background: color-mix(in srgb, var(--cor-dinamica) 6%, white); }
.jj-birth-calendar-nav button:disabled, .jj-birth-calendar-options button:disabled { cursor: not-allowed; opacity: .28; }
.jj-birth-calendar-period { display: flex; align-items: center; justify-content: center; gap: 7px; min-width: 0; }
.jj-birth-calendar-period button { border-radius: 6px !important; padding: 8px 7px; color: #19212e; font-size: 14px; font-weight: 800; }
.jj-birth-calendar-period button:hover { background: #f5f6f8; }
.jj-birth-calendar-weekdays, .jj-birth-calendar-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.jj-birth-calendar-weekdays { margin-bottom: 7px; color: #8791a0; font-size: 10px; font-weight: 800; text-align: center; text-transform: uppercase; }
.jj-birth-calendar-days button { aspect-ratio: 1; min-height: 40px; border: 1px solid transparent; border-radius: 8px !important; color: #344054; background: transparent; font-size: 12px; font-weight: 700; }
.jj-birth-calendar-days button:hover:not(:disabled) { border-color: #e4e7eb; background: #f5f6f8; transform: translateY(-1px); }
.jj-birth-calendar-days button.is-outside { color: #aeb5bf; }
.jj-birth-calendar-days button:disabled { cursor: not-allowed; color: #d6dae0; }
.jj-birth-calendar-days button.is-today { border-color: color-mix(in srgb, var(--cor-dinamica) 42%, #e4e7eb); color: color-mix(in srgb, var(--cor-dinamica) 78%, #19212e); }
.jj-birth-calendar-days button.is-selected,
.jj-birth-calendar-days button.is-selected:hover:not(:disabled),
.jj-birth-calendar-days button.is-selected:active:not(:disabled) { border-color: var(--cor-dinamica) !important; color: #fff !important; background: var(--cor-dinamica) !important; box-shadow: 0 5px 13px color-mix(in srgb, var(--cor-dinamica) 24%, transparent); }
.jj-birth-calendar-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; padding-top: 10px; }
.jj-birth-calendar-options button { min-height: 50px; border: 1px solid #e4e7eb; border-radius: 8px !important; color: #46505f; background: #fff; font-size: 12px; font-weight: 700; }
.jj-birth-calendar-options button:hover:not(:disabled) { background: #f5f6f8; }
.jj-birth-calendar-options button.is-selected { border-color: color-mix(in srgb, var(--cor-dinamica) 56%, #e4e7eb); color: color-mix(in srgb, var(--cor-dinamica) 78%, #19212e); background: color-mix(in srgb, var(--cor-dinamica) 8%, white); }
.jj-birth-calendar-year-nav { display: grid; grid-template-columns: 42px 1fr 42px; align-items: center; gap: 10px; margin: 8px 0 14px; text-align: center; }
.jj-birth-calendar-year-nav button { width: 42px; height: 42px; border: 1px solid #e4e7eb; border-radius: 8px !important; font-size: 22px; }
.jj-birth-calendar-year-nav strong { font-size: 13px; color: #344054; }
.jj-birth-calendar-footer { grid-area: footer; align-self: end; padding: 20px 30px 28px; border-left: 1px solid #eef0f3; }
.jj-birth-calendar-footer > div:first-child { padding: 14px; border: 1px solid #e4e7eb; border-radius: 8px; background: #f8f9fb; }
.jj-birth-calendar-footer span { display: block; color: #8791a0; font-size: 9px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.jj-birth-calendar-footer strong { display: block; margin-top: 3px; color: #19212e; font-size: 14px; }
.jj-birth-calendar-actions { display: grid; grid-template-columns: .7fr 1.3fr; gap: 9px; margin-top: 12px; }
.jj-birth-calendar-actions button { min-height: 48px; border-radius: 8px !important; font-size: 12px; font-weight: 800; }
.jj-birth-calendar-actions .is-secondary { border: 1px solid #dbe0e6; color: #46505f; background: #fff; }
.jj-birth-calendar-actions .is-primary { color: #fff; background: var(--cor-dinamica); }
.jj-birth-calendar-actions .is-primary:disabled { cursor: not-allowed; opacity: .36; }
.jj-email-suggestions { z-index: 160 !important; border-radius: 9px; }
.jj-email-suggestions-label { padding: 10px 13px 8px; border-bottom: 1px solid #eef0f3; color: #8791a0; background: #f8f9fb; font-size: 9px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.jj-email-suggestions button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px !important; padding: 10px 13px !important; border-bottom: 1px solid #f0f2f5 !important; border-radius: 0 !important; color: #344054; background: #fff !important; font-size: 13px !important; font-weight: 600 !important; text-align: left; }
.jj-email-suggestions button:last-child { border-bottom: 0 !important; }
.jj-email-suggestions button:hover, .jj-email-suggestions button.is-active { color: color-mix(in srgb, var(--cor-dinamica) 78%, #19212e); background: color-mix(in srgb, var(--cor-dinamica) 7%, white) !important; }
.jj-email-suggestions button svg { color: color-mix(in srgb, var(--cor-dinamica) 65%, #657080); }

@media (min-width: 1024px) {
    #jiujitsu-event-page #formInscricao { flex: 1 1 0; width: auto; }
    #jiujitsu-event-page #formulario-inscricao > .lg\:block { flex: 0 0 34%; width: 34%; }
}
@media (max-width: 767px) {
    .jj-birth-calendar { align-items: flex-end; padding: 0; }
    .jj-birth-calendar-card { max-width: none; max-height: min(92svh, 760px); overflow-y: auto; border-radius: 18px 18px 0 0 !important; }
    .jj-birth-calendar-layout { display: flex; flex-direction: column; }
    .jj-birth-calendar-header { order: 1; padding: 24px 22px 17px; border-left: 0; border-bottom: 1px solid #eef0f3; }
    .jj-birth-calendar-header h3 { margin-top: 9px; font-size: 19px; }
    .jj-birth-calendar-header p { max-width: calc(100% - 30px); font-size: 11px; }
    .jj-birth-calendar-close { top: 16px; right: 16px; width: 36px; height: 36px; }
    .jj-birth-calendar-main { order: 2; min-height: 0; padding: 20px 18px 16px; }
    .jj-birth-calendar-nav { margin-bottom: 16px; }
    .jj-birth-calendar-days button { min-height: 39px; }
    .jj-birth-calendar-footer { order: 3; align-self: stretch; padding: 16px 18px calc(18px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #eef0f3; border-left: 0; background: #f8f9fb; }
    .jj-birth-calendar-footer > div:first-child { background: #fff; }
    #jiujitsu-event-page #evento-hero {
        min-height: max(184px, 30vh);
        min-height: max(184px, 30svh);
        padding: calc(64px + env(safe-area-inset-top, 0px)) 24px 36px;
    }
    #jiujitsu-event-page #evento-hero .jj-hero-identity {
        display: grid;
        grid-template-columns: clamp(72px, 22vw, 96px) minmax(0, 1fr);
        gap: 16px;
        align-items: center;
        padding: 0;
    }
    #jiujitsu-event-page #evento-hero .jj-hero-identity:not(:has(img)) { grid-template-columns: minmax(0, 1fr); }
    #jiujitsu-event-page #evento-hero h1 {
        min-width: 0;
        max-width: none;
        font-size: clamp(20px, 6vw, 26px);
        line-height: 1.18;
        letter-spacing: -.025em;
        text-align: right;
    }
    #jiujitsu-event-page #evento-hero img[alt="Logo do campeonato"] {
        width: clamp(72px, 22vw, 96px) !important;
        height: clamp(72px, 22vw, 96px);
        margin: 0;
    }
    #jiujitsu-event-page #evento-hero > .relative > span { display: none; }
    #jiujitsu-event-page #evento-tabs { width: calc(100% - 32px); }
    #jiujitsu-event-page #evento-tabs .aba-btn { font-size: 11px; padding: 8px 15px; min-height: 44px; }
    #jiujitsu-event-page #banner-cronometro,
    #jiujitsu-event-page #conteudo-aba { padding-left: 16px; padding-right: 16px; }
    #jiujitsu-event-page .jj-countdown { padding: 23px 20px; }
    #jiujitsu-event-page .jj-countdown.is-compact { padding: 16px 12px; }
    #jiujitsu-event-page .jj-countdown-values { width: 100%; min-width: 0; }
    #jiujitsu-event-page .jj-countdown-values > div { padding: 0 10px; }
    #jiujitsu-event-page .jj-countdown-values [id^="timer-"] { font-size: 27px; }
    #jiujitsu-event-page #formInscricao > div.bg-white { padding: 22px 20px; }
    #jiujitsu-event-page #formInscricao > div.bg-white > h3 { font-size: 16px; }
}
@media (max-width: 359px) {
    .jj-birth-calendar-header { padding-left: 16px; padding-right: 16px; }
    .jj-birth-calendar-main { padding-left: 12px; padding-right: 12px; }
    .jj-birth-calendar-days { gap: 3px; }
    .jj-birth-calendar-days button { min-height: 36px; }
    .jj-birth-calendar-footer { padding-left: 12px; padding-right: 12px; }
    #jiujitsu-event-page #evento-tabs { width: calc(100% - 24px); }
    #jiujitsu-event-page #conteudo-aba,
    #jiujitsu-event-page #banner-cronometro { padding-left: 12px; padding-right: 12px; }
    #jiujitsu-event-page #formInscricao > div.bg-white { padding: 20px 16px; }
    #jiujitsu-event-page .jj-countdown h3 { font-size: 14px; }
    #jiujitsu-event-page .jj-countdown p { font-size: 11px; }
    #jiujitsu-event-page .jj-countdown > div:first-child { gap: 10px; }
    #jiujitsu-event-page .jj-countdown-values > div { padding: 0 6px; }
}
