:root {
    --ink: #263238;
    --muted: #63717a;
    --line: #d9e2e7;
    --blue: #1f6f9c;
    --teal: #0b8f83;
    --orange: #df7b2c;
    --paper: #ffffff;
    --purple: #623c93;
    --wash: #f4f8fa;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.55;
    background: var(--wash);
}

a {
    color: var(--blue);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

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

.site-header {
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.header-grid {
    min-height: 82px;
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto;
    gap: 24px;
    align-items: center;
}

.brand {
    display: grid;
    gap: 4px;
    color: var(--ink);
}

.brand-title {
    color: inherit;
}

.brand-title:hover,
.brand-alt:hover {
    text-decoration: none;
}

.brand-alt {
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

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

.brand.has-alt .brand-alt {
    color: var(--blue-dark);
    font-size: 22px;
}

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

.brand span {
    color: var(--muted);
    font-size: 13px;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: flex-end;
}

.main-nav a {
    color: var(--ink);
    font-weight: 700;
}

.hero {
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.hero-grid {
    min-height: 260px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 420px);
    gap: 36px;
    align-items: center;
    padding: 34px 0;
}

.hero h1 {
    margin: 0;
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.04;
}

.kicker {
    margin: 0 0 12px;
    color: var(--purple);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
}

.content-band {
    padding: 42px 0 56px;
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 36px;
    align-items: start;
}

.article-body,
.side-panel,
.registration-box {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.article-body {
    padding: 34px;
}

.article-body h2,
.article-body h3,
.blue {
    color: var(--blue);
}

.orange {
    color: var(--orange);
}

.programa-entrada {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.programa-hora {
    display: inline-block;
    min-width: 88px;
    font-weight: 700;
    color: var(--purple);
}

.programa-titulo {
    font-weight: 700;
}

.programa-nome {
    margin-left: 88px;
    color: var(--blue);
}

.programa-afiliacao,
.programa-subtitulo {
    margin-left: 88px;
    color: var(--muted);
    font-size: 14px;
}

.gray {
    color: var(--muted);
}

.side-panel {
    padding: 22px;
    position: sticky;
    top: 18px;
}

.side-panel h2 {
    margin-top: 0;
    font-size: 20px;
}

.side-panel a,
.edition-link {
    display: block;
    padding: 10px 0;
    border-top: 1px solid var(--line);
}

.edition-list {
    display: grid;
    gap: 10px;
}

.edition-link {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.edition-link span {
    display: block;
    font-weight: 700;
}

.edition-link small {
    color: var(--muted);
}

.registration-box {
    margin-top: 32px;
    padding: 24px;
}

.registration-box form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.registration-box label {
    display: grid;
    gap: 6px;
    font-weight: 700;
}

.registration-box .full,
.registration-box button,
.alert {
    grid-column: 1 / -1;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #b8c7cf;
    border-radius: 6px;
    padding: 10px 12px;
    font: inherit;
}

.check {
    grid-template-columns: 20px 1fr;
    align-items: start;
}

.check input {
    width: auto;
    margin-top: 5px;
}

button,
.btn {
    display: inline-block;
    width: fit-content;
    border: 0;
    border-radius: 999px;
    background: var(--blue);
    color: #fff;
    padding: 11px 20px;
    font-weight: 700;
}

.alert {
    padding: 12px 14px;
    border-radius: 6px;
}

.alert.success {
    background: #e8f6ef;
    color: #17633b;
}

.alert.error {
    background: #fff0ec;
    color: #8b2d19;
}

.site-footer {
    padding: 14px 0;
    border-top: 1px solid #e0e0e0;
    background: #fff;
    color: #909090;
    font-size: 12px;
}

.site-footer a {
    color: #623c93;
}

.footer-grid {
    display: flex;
    justify-content: flex-start;
    gap: 24px;
}

@media (max-width: 820px) {

    .header-grid,
    .hero-grid,
    .content-grid,
    .registration-box form {
        grid-template-columns: 1fr;
    }

    .main-nav {
        justify-content: flex-start;
        padding-bottom: 18px;
    }

    .article-body {
        padding: 22px;
    }

    .side-panel {
        position: static;
    }
}

.red {
    color: #b23b2b;
}

.registration-box .warning {
    background: #fff4df;
    color: #8a5814;
}

.registration-box .field-error {
    color: #a12b1f;
    font-size: 13px;
    font-weight: 700;
}

.registration-box .required-note {
    color: #b23b2b;
    font-size: 13px;
    font-weight: 700;
}

.registration-box .form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.registration-box .registration-body {
    border-top: 1px solid var(--line);
    margin-top: 10px;
    padding-top: 20px;
}

.registration-box .course-panel {
    border: 1px solid #e4a549;
    background: #fff1d9;
    color: var(--blue);
    padding: 22px;
    border-radius: 8px;
}

.registration-box .meeting-note,
.registration-box .legal-copy {
    margin-bottom: 18px;
}

.registration-box .check small {
    display: block;
    color: var(--muted);
    font-size: 13px;
    font-weight: 400;
    margin-top: 4px;
}

.registration-box .submit-panel {
    border-top: 1px solid var(--line);
    margin-top: 18px;
    padding-top: 20px;
    text-align: center;
}

.registration-box [hidden] {
    display: none !important;
}

@media (max-width: 820px) {
    .registration-box .form-grid {
        grid-template-columns: 1fr;
    }
}

/* Layout refinements: wider content, dropdown menus, homepage slider. */
.wrap {
    width: min(1360px, calc(100% - 48px));
}

.header-grid {
    grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
}

.main-nav {
    align-items: stretch;
    gap: 4px;
}

.nav-item,
.submenu-item {
    position: relative;
}

.nav-item>a,
.submenu a,
.submenu-item>a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 0 12px;
    color: var(--ink);
    font-weight: 700;
    white-space: nowrap;
}

.nav-item.has-submenu>a::after,
.submenu-item.has-submenu>a::after {
    content: "";
    width: 0;
    height: 0;
    margin-left: 8px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
}

.submenu-item.has-submenu>a::after {
    margin-left: auto;
    transform: rotate(-90deg);
}

.submenu {
    position: absolute;
    z-index: 40;
    top: 100%;
    left: 0;
    min-width: 230px;
    padding: 8px 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 14px 32px rgba(31, 47, 54, 0.14);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 160ms ease, transform 160ms ease;
}

.submenu.nested {
    top: -8px;
    left: 100%;
    transform: translate(8px, 0);
}

.nav-item:hover>.submenu,
.nav-item:focus-within>.submenu,
.submenu-item:hover>.submenu,
.submenu-item:focus-within>.submenu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.submenu-item:hover>.submenu.nested,
.submenu-item:focus-within>.submenu.nested {
    transform: translate(0, 0);
}

.submenu a:hover,
.nav-item>a:hover {
    background: #eef7f7;
    text-decoration: none;
}

.home-slider {
    position: relative;
    min-height: min(620px, calc(100vh - 110px));
    overflow: hidden;
    background: #1f2f36;
}

.slide-track,
.slide,
.slide img {
    position: absolute;
    inset: 0;
}

.slide {
    margin: 0;
    opacity: 0;
    transition: opacity 900ms ease;
}

.slide.is-active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-dots {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 18px;
    display: inline-flex;
    gap: 9px;
    transform: translateX(-50%);
}

.slider-dots button {
    width: 11px;
    height: 11px;
    min-height: 0;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    background: rgba(31, 47, 54, 0.35);
    box-shadow: 0 2px 8px rgba(31, 47, 54, 0.28);
}

.slider-dots button.is-active,
.slider-dots button:hover,
.slider-dots button:focus-visible {
    background: #fff;
}

.home-slider::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(18, 35, 43, 0.78), rgba(18, 35, 43, 0.24) 58%, rgba(18, 35, 43, 0.12));
}

.slider-caption {
    position: relative;
    z-index: 2;
    min-height: min(620px, calc(100vh - 110px));
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.slider-caption .kicker {
    color: #9fe4dc;
}

.slider-caption h1 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(42px, 7vw, 84px);
    line-height: 1.02;
}

.compact-hero .hero-grid {
    min-height: 220px;
}

.content-grid,
.content-grid.single-column {
    display: block;
}

.article-body {
    padding: 42px;
}

.side-panel {
    display: none;
}

@media (max-width: 920px) {
    .wrap {
        width: min(100% - 28px, 1360px);
    }

    .header-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 14px 0;
    }

    .main-nav {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .submenu,
    .submenu.nested {
        position: static;
        min-width: 0;
        padding: 0 0 0 12px;
        border: 0;
        border-left: 1px solid var(--line);
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .nav-item.has-submenu>a::after,
    .submenu-item.has-submenu>a::after {
        display: none;
    }

    .home-slider,
    .slider-caption {
        min-height: 440px;
    }

    .slider-caption h1 {
        font-size: 42px;
    }

    .article-body {
        padding: 24px;
    }
}

/* Final responsive polish */
:root {
    --ink: #263238;
    --muted: #667781;
    --line: #d9e5ea;
    --blue: #1d658f;
    --blue-dark: #17445f;
    --teal: #087e76;
    --mint: #e8f6f3;
    --orange: #d66f2a;
    --paper: #ffffff;
    --wash: #f2f7f8;
    --shadow: 0 18px 48px rgba(31, 47, 54, 0.12);
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    overflow-x: clip;
    background:
        radial-gradient(circle at 18% -10%, rgba(8, 126, 118, 0.13), transparent 34%),
        linear-gradient(180deg, #f7fbfc 0%, var(--wash) 42%, #eef5f6 100%);
    color: var(--ink);
}

main {
    flex: 1 0 auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.wrap {
    width: min(1440px, calc(100% - 56px));
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 28px rgba(31, 47, 54, 0.16);
}

.header-grid {
    min-height: 76px;
    grid-template-columns: minmax(280px, 440px) minmax(0, 1fr);
}

.brand strong {
    color: var(--blue-dark);
    font-size: 19px;
    line-height: 1.15;
}

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

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 0;
}

.menu-toggle span:not(.sr-only) {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--blue-dark);
}

.main-nav {
    justify-content: flex-end;
    gap: 2px;
    min-width: 0;
}

.nav-item>a,
.submenu a,
.submenu-item>a {
    border-radius: 7px;
    min-height: 40px;
    padding: 0 11px;
    font-size: 14px;
}

.nav-item>a:hover,
.nav-item:focus-within>a {
    color: var(--blue);
    background: var(--mint);
}

.submenu {
    min-width: 250px;
    max-width: min(320px, calc(100vw - 32px));
    padding: 8px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.submenu a {
    justify-content: space-between;
}

.home-slider {
    min-height: clamp(320px, 46vh, 520px);
}

.slider-caption {
    min-height: clamp(320px, 46vh, 520px);
    padding-block: 56px;
}

.slider-caption h1 {
    max-width: 920px;
    text-wrap: balance;
}

.home-slider::after {
    display: none;
}

.compact-hero {
    background: #fff;
}

.compact-hero .hero-grid {
    min-height: 210px;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 320px);
}

.compact-hero img {
    justify-self: end;
    max-height: 170px;
    object-fit: contain;
}

.content-band {
    padding: clamp(26px, 5vw, 58px) 0 clamp(48px, 7vw, 76px);
}

.article-body {
    max-width: 1180px;
    margin: 0 auto;
    border: 1px solid rgba(217, 229, 234, 0.9);
    border-radius: 8px;
    box-shadow: 0 10px 32px rgba(31, 47, 54, 0.08);
    padding: clamp(24px, 4vw, 52px);
}

.article-body> :first-child {
    margin-top: 0;
}

.article-body p {
    max-width: none;
}

.article-body :where(p, div, span, strong, li, h1, h2, h3, h4, h5, h6),
.article-body a {
    overflow-wrap: anywhere;
}

.article-body iframe,
.article-body video,
.article-body object,
.article-body embed {
    max-width: 100%;
}

.article-body table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

.article-body hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 28px 0;
}

.article-body .btn,
.article-body a.btn,
button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7em;
    vertical-align: middle;
    box-shadow: 0 8px 20px rgba(29, 101, 143, 0.22);
    transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.article-body .btn>span,
.article-body a.btn>span {
    margin: 0 !important;
    line-height: 1;
    vertical-align: middle !important;
}

.article-body .btn strong,
.article-body a.btn strong {
    line-height: 1.2;
}

.article-body .btn::before,
.article-body a.btn::before {
    content: "\f08e";
    flex: 0 0 auto;
    font-family: FontAwesome;
    font-size: 1em;
    line-height: 1;
}

.article-body a.btn[href*="panopto"]::before {
    content: "\f144";
}

.article-body a.btn[href*="program" i]::before,
.article-body a.btn[href*="programa" i]::before,
.article-body a.btn[title*="program" i]::before,
.article-body a.btn[title*="programa" i]::before {
    content: "\f073";
}

.article-body a.btn[class*="inscricao" i]::before,
.article-body a.btn[href*="registration" i]::before,
.article-body a.btn[href*="inscri" i]::before {
    content: "\f1d8";
}

.article-body a.btn[href*="panopto"]>.icon-video {
    display: none;
}

.article-body a[href$=".pdf" i],
.article-body a[href*=".pdf?" i],
.article-body a[href*=".pdf#" i] {
    display: inline-flex;
    align-items: center;
    gap: 0.45em;
}

.article-body a[href$=".pdf" i]::before,
.article-body a[href*=".pdf?" i]::before,
.article-body a[href*=".pdf#" i]::before {
    content: "\f1c1";
    flex: 0 0 auto;
    color: #b23b2b;
    font-family: FontAwesome;
    font-size: 1.05em;
    line-height: 1;
}

.article-body img[src*="extensionsIcons/pdf.png"],
.article-body img[src*="mime-icon-16/pdf.png"] {
    display: none;
}

.article-body img[src*="zoom.svg"] {
    display: inline-block;
    vertical-align: middle;
    margin: 0 10px 0 0 !important;
}

.article-body img[src*="zoom.svg"]+strong {
    display: inline-flex;
    align-items: center;
    min-height: 60px;
    vertical-align: middle;
}

.article-body .btn:hover,
.article-body a.btn:hover,
button:hover {
    background: var(--purple);
    box-shadow: 0 10px 24px rgba(8, 126, 118, 0.24);
    transform: translateY(-1px);
    text-decoration: none;
}

.edition-list {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.edition-link {
    background: linear-gradient(180deg, #fff, #f8fbfc);
    transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.edition-link:hover {
    border-color: rgba(29, 101, 143, 0.35);
    box-shadow: 0 12px 28px rgba(31, 47, 54, 0.1);
    transform: translateY(-2px);
    text-decoration: none;
}

.programa-entrada {
    display: grid;
    grid-template-columns: minmax(76px, 108px) minmax(0, 1fr);
    gap: 8px 16px;
    padding: 18px 0;
}

.programa-entrada h4,
.programa-entrada .programa-titulo h4 {
    margin: 0 0 6px;
}

.programa-hora {
    min-width: 0;
    grid-column: 1;
}

.programa-titulo {
    grid-column: 2;
}

.programa-nome,
.programa-afiliacao,
.programa-subtitulo {
    grid-column: 2;
    margin-left: 0;
}

.registration-card {
    max-width: 1080px;
    margin: 38px auto 0;
    padding: clamp(22px, 4vw, 42px);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.registration-intro {
    max-width: 780px;
    margin-bottom: 22px;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--purple);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.registration-intro h2 {
    margin: 0 0 10px;
    color: var(--blue-dark);
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.12;
}

.registration-form-modern,
.registration-form-modern .registration-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.registration-box .form-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

.floating-field {
    position: relative;
    grid-column: span 2;
    min-width: 0;
}

.floating-field.full,
.registration-box .full {
    grid-column: 1 / -1;
}

.floating-field.wide-field {
    grid-column: span 3;
}

.floating-field input,
.floating-field select,
.floating-field textarea {
    width: 100%;
    min-height: 58px;
    border: 1px solid #b9cad2;
    border-radius: 8px;
    background: #fff;
    padding: 22px 14px 8px;
    color: var(--ink);
    outline: none;
    transition: border-color 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.floating-field textarea {
    min-height: 132px;
    resize: vertical;
}

.floating-field label {
    position: absolute;
    left: 14px;
    top: 18px;
    z-index: 1;
    color: var(--muted);
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
    transform-origin: left top;
    transition: transform 140ms ease, color 140ms ease;
}

.floating-field input:focus,
.floating-field textarea:focus,
.floating-field select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(29, 101, 143, 0.12);
}

.floating-field input:focus+label,
.floating-field input:not(:placeholder-shown)+label,
.floating-field textarea:focus+label,
.floating-field textarea:not(:placeholder-shown)+label,
.floating-field select:focus+label,
.floating-field.has-value label {
    color: var(--blue);
    transform: translateY(-11px) scale(0.78);
}

.select-field select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--blue-dark) 50%), linear-gradient(135deg, var(--blue-dark) 50%, transparent 50%);
    background-position: calc(100% - 18px) 26px, calc(100% - 12px) 26px;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 34px;
}

.field-error {
    display: block;
    margin-top: 7px;
}

.form-helper,
.meeting-note,
.legal-copy,
.course-panel {
    border-radius: 8px;
}

.form-helper {
    margin: 0;
    padding: 14px 16px;
    background: var(--mint);
    color: var(--blue-dark);
    font-weight: 700;
}

.meeting-note {
    padding: 15px 16px;
    background: #f3faf9;
    border: 1px solid #cde8e4;
}

.course-panel {
    background: linear-gradient(180deg, #fff4df, #fff9ee);
}

.legal-copy {
    padding: 18px;
    background: #f8fbfc;
    border: 1px solid var(--line);
}

.consent-box {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.consent-box strong {
    color: #b23b2b;
}

.submit-panel button {
    min-width: 190px;
    min-height: 46px;
}

.submit-panel button::before {
    content: "\f1d8";
    flex: 0 0 auto;
    font-family: FontAwesome;
    font-size: 1em;
    line-height: 1;
}

.site-footer {
    margin-top: 0;
    border-top: 1px solid #e0e0e0;
    background: #fff;
    color: #909090;
}

@media (max-width: 1100px) {
    .header-grid {
        grid-template-columns: minmax(240px, 1fr) auto;
    }

    .menu-toggle {
        display: inline-flex;
        justify-self: end;
    }

    .main-nav {
        display: none;
        grid-column: 1 / -1;
        justify-content: flex-start;
        padding: 10px 0 16px;
    }

    .nav-open .main-nav {
        display: grid;
        gap: 4px;
    }

    .nav-item>a,
    .submenu a,
    .submenu-item>a {
        min-height: 38px;
        justify-content: flex-start;
    }

    .submenu,
    .submenu.nested {
        position: static;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        min-width: 0;
        margin: 0 0 6px 12px;
        padding: 0 0 0 10px;
        border: 0;
        border-left: 1px solid var(--line);
        border-radius: 0;
        box-shadow: none;
        background: transparent;
    }

    .nav-item.has-submenu>a::after,
    .submenu-item.has-submenu>a::after {
        display: none;
    }
}

@media (max-width: 820px) {
    .wrap {
        width: min(100% - 28px, 1440px);
    }

    .site-header {
        position: sticky;
    }

    .home-slider,
    .slider-caption {
        min-height: 300px;
    }

    .slider-caption {
        padding-block: 34px;
    }

    .slider-caption h1 {
        font-size: clamp(36px, 11vw, 52px);
    }

    .compact-hero .hero-grid {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 28px 0;
    }

    .compact-hero img {
        justify-self: start;
        max-height: 120px;
    }

    .article-body {
        border-radius: 8px;
        padding: 22px;
    }

    .programa-entrada {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .programa-hora,
    .programa-titulo,
    .programa-nome,
    .programa-afiliacao,
    .programa-subtitulo {
        grid-column: 1;
    }

    .registration-card {
        padding: 20px;
    }

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

    .floating-field,
    .floating-field.wide-field {
        grid-column: 1 / -1;
    }

    .floating-field input,
    .floating-field select,
    .floating-field textarea {
        min-height: 56px;
    }

    .footer-grid {
        display: grid;
    }
}

@media (max-width: 520px) {
    .wrap {
        width: min(100% - 20px, 1440px);
    }

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

    .brand span {
        font-size: 11px;
    }

    .home-slider,
    .slider-caption {
        min-height: 260px;
    }

    .article-body {
        padding: 18px;
    }

    .registration-card {
        padding: 16px;
    }

    .legal-copy,
    .course-panel,
    .meeting-note,
    .form-helper,
    .consent-box {
        padding: 14px;
    }
}

.language-switch {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 10px;
    padding-left: 10px;
    border-left: 1px solid var(--line);
}

.language-switch a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    min-height: 32px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.language-switch a.active,
.language-switch a:hover {
    background: var(--blue);
    color: #fff;
    text-decoration: none;
}

@media (max-width: 1100px) {
    .language-switch {
        margin: 8px 0 0;
        padding: 12px 0 0;
        border-left: 0;
        border-top: 1px solid var(--line);
    }
}

/* Wider content pass and contact map slide */
.wrap {
    width: min(1560px, calc(100% - 56px));
}

.content-band .wrap {
    width: min(1560px, calc(100% - 56px));
}

.article-body {
    max-width: none;
    width: 100%;
}

.article-body p {
    max-width: none;
}

.registration-card {
    max-width: 1280px;
}

.contact-map-slide {
    position: relative;
    min-height: clamp(360px, 42vw, 540px);
    background: #dce9e8;
    overflow: hidden;
}

.contact-map-slide iframe {
    display: block;
    width: 100%;
    height: clamp(360px, 42vw, 540px);
    filter: saturate(0.95) contrast(1.02);
}

.map-caption {
    position: absolute;
    left: 50%;
    bottom: clamp(18px, 5vw, 52px);
    transform: translateX(-50%);
    color: #fff;
    text-shadow: 0 2px 18px rgba(12, 31, 40, 0.45);
    pointer-events: none;
}

.map-caption .kicker,
.map-caption h1 {
    display: inline-block;
    background: rgba(14, 48, 62, 0.72);
    backdrop-filter: blur(6px);
}

.map-caption .kicker {
    margin-bottom: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    color: #bfece9;
}

.map-caption h1 {
    margin: 0;
    padding: 10px 16px 12px;
    border-radius: 8px;
    color: #fff;
    font-size: clamp(30px, 5vw, 58px);
    line-height: 1.02;
}

@media (max-width: 820px) {

    .wrap,
    .content-band .wrap {
        width: min(100% - 28px, 1560px);
    }

    .contact-map-slide,
    .contact-map-slide iframe {
        height: 380px;
        min-height: 380px;
    }

    .map-caption h1 {
        font-size: clamp(28px, 9vw, 42px);
    }
}

@media (max-width: 520px) {

    .wrap,
    .content-band .wrap {
        width: min(100% - 20px, 1560px);
    }

    .contact-map-slide,
    .contact-map-slide iframe {
        height: 340px;
        min-height: 340px;
    }
}

.recaptcha-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 4px 0 10px;
}

.recaptcha-panel .field-error {
    text-align: center;
}

/* Interactive affordances */
a,
button,
.btn,
.menu-toggle,
.language-switch a,
.nav-item>a,
.submenu a,
.check,
.check input,
select,
input[type="checkbox"],
input[type="radio"] {
    cursor: pointer;
}

button:disabled,
button[disabled],
.submit-panel button:disabled {
    cursor: not-allowed;
    opacity: 0.48;
    filter: grayscale(0.15);
    box-shadow: none;
    transform: none;
}

button:disabled:hover,
.submit-panel button:disabled:hover {
    background: var(--blue);
    box-shadow: none;
    transform: none;
}

/* Select floating-label correction */
.floating-field.select-field label {
    color: var(--blue);
    transform: translateY(-11px) scale(0.78);
}

.floating-field.select-field select {
    padding-top: 24px;
    padding-bottom: 7px;
}

/* Contact page information */
.contact-info-block {
    max-width: 760px;
    margin-top: 12px;
}

.contact-info-block h2 {
    margin: 0 0 12px;
}

.contact-info-block p {
    margin: 0 0 12px;
}

.contact-list {
    display: grid;
    gap: 14px;
    margin: 0;
}

.contact-list div {
    display: grid;
    gap: 2px;
}

.contact-list dt {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.contact-list dd {
    margin: 0;
    font-weight: 700;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55em;
}

.contact-link::before {
    flex: 0 0 auto;
    font-family: FontAwesome;
    font-size: 1em;
    line-height: 1;
}

.email-link::before {
    content: "\f0e0";
}

.phone-link::before {
    content: "\f095";
}

.edition-link::after {
    content: "\f105";
    flex: 0 0 auto;
    align-self: center;
    color: var(--blue);
    font-family: FontAwesome;
    font-size: 1.2em;
    line-height: 1;
}

.edition-link {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 16px;
    align-items: end;
    overflow: hidden;
}

.edition-list.has-images .edition-link img {
    grid-column: 1 / -1;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    object-position: center;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--line);
    /* background: #f8fbfc; */
}

.edition-link small {
    grid-column: 1;
}

/* Scientific sponsorship */
.sponsors-band {
    border-top: 0;
    border-bottom: 0;
    background: #fff;
}

.sponsors-wrap {
    display: block;
    padding: 20px 0 18px;
}

.sponsors-heading h2 {
    margin: 4px 0 10px;
    color: var(--ink);
    font-size: clamp(26px, 3vw, 40px);
    line-height: 1.06;
}

.sponsors-heading p:last-child {
    max-width: 46ch;
    margin: 0;
    color: var(--muted);
}

.sponsor-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 40px;
    align-items: center;
    justify-content: flex-start;
}

.sponsor-logo {
    display: inline-flex;
    min-height: 0;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transition: none;
}

.sponsor-logo:hover,
.sponsor-logo:focus-visible {
    border: 0;
    box-shadow: none;
    transform: none;
}

.sponsor-logo img {
    display: block;
    width: auto;
    max-width: 220px;
    max-height: 76px;
    object-fit: contain;
}

@media (max-width: 680px) {
    .sponsor-logos {
        gap: 18px 28px;
    }

    .sponsor-logo {
        min-height: 0;
    }
}

/* Registration form frame adjustment */
.registration-box.registration-card,
.registration-card {
    border: 0;
    box-shadow: none;
}

.sponsors-logos-only {
    display: block;
}

.sponsors-logos-only .sponsor-logos {
    max-width: none;
    margin: 0 auto;
}

.registration-closed-alert {
    margin-bottom: clamp(24px, 4vw, 42px);
}

/* Registration form width and professional row adjustments */
.registration-form-modern :where(p, div, section, article, label, dl, dd, dt, small, span) {
    max-width: none;
}

.registration-box .professional-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.registration-box .professional-grid .floating-field {
    grid-column: span 4;
}

.registration-box .professional-grid .institution-field {
    grid-column: span 4;
}

.site-footer {
    padding: 28px 0;
}

@media (max-width: 980px) {

    .registration-box .professional-grid .floating-field,
    .registration-box .professional-grid .institution-field {
        grid-column: 1 / -1;
    }
}

/* Sticky header shrink */
:root {
    --header-full-height: 128px;
    --header-sticky-height: 64px;
    --header-compensation-extra: 100px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    transition: background-color 180ms ease, box-shadow 180ms ease;
}

.site-header .header-grid {
    min-height: var(--header-full-height);
    transition: min-height 220ms ease, padding 220ms ease, gap 220ms ease;
}

.site-header .brand strong {
    font-size: 22px;
    transition: font-size 220ms ease, line-height 220ms ease;
}

.site-header .brand-alt {
    transition: font-size 220ms ease, line-height 220ms ease;
}

.site-header .nav-item>a,
.site-header .submenu-item>a,
.site-header .submenu a {
    min-height: 52px;
    transition: min-height 220ms ease, padding 220ms ease, background-color 140ms ease, color 140ms ease;
}

.site-header .language-switch a,
.site-header .menu-toggle {
    transition: min-height 220ms ease, height 220ms ease, width 220ms ease, background-color 140ms ease, color 140ms ease;
}

.site-header.is-sticky {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 10px 28px rgba(31, 47, 54, 0.16);
}

.site-header.is-sticky .header-grid {
    min-height: var(--header-sticky-height);
}

.site-header-spacer {
    height: 0;
    background: inherit;
    transition: height 220ms ease;
}

body.header-is-sticky .site-header-spacer {
    height: calc(var(--header-full-height) - var(--header-sticky-height) + var(--header-compensation-extra));
}

.site-header.is-sticky .brand strong {
    font-size: 17px;
}

.site-header.is-sticky .brand-alt {
    font-size: 12px;
}

.site-header.is-sticky .brand.has-alt .brand-title strong {
    font-size: 14px;
}

.site-header.is-sticky .brand.has-alt .brand-alt {
    font-size: 17px;
}

.site-header.is-sticky .nav-item>a,
.site-header.is-sticky .submenu-item>a,
.site-header.is-sticky .submenu a {
    min-height: 34px;
    padding-inline: 10px;
}

.site-header.is-sticky .language-switch a {
    min-height: 28px;
}

.site-header.is-sticky .menu-toggle {
    width: 38px;
    height: 38px;
}

@media (max-width: 1100px) {
    :root {
        --header-full-height: 104px;
        --header-sticky-height: 56px;
    }
}