:root {
    --atm-bg: #ffffff;
    --atm-bg-soft: #f8fafc;
    --atm-surface: #f4f6fb;
    --atm-text: #1f2937;
    --atm-muted: #667085;
    --atm-border: #dde3ee;
    --atm-border-strong: #c9d3e3;
    --atm-tab-accent: #667eea;
    --atm-tab-accent-2: #764ba2;
    --atm-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    --atm-shadow-hover: 0 16px 40px rgba(15, 23, 42, 0.1);
    --atm-radius: 22px;
    --atm-radius-sm: 12px;
}

.atm-tabs,
.atm-speakers-grid {
    color: var(--atm-text);
}

.atm-tabs * {
    box-sizing: border-box;
}

.atm-tab-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 0 0 28px;
    align-items: stretch;
}

.atm-tab-button {
    appearance: none;
    border: 2px solid var(--atm-border);
    background: #ffffff;
    color: #475467;
    border-radius: 10px;
    min-width: 210px;
    padding: 14px 18px;
    cursor: pointer;
    text-align: left;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.atm-tab-button:hover {
    border-color: var(--atm-tab-accent);
    color: var(--atm-tab-accent);
    transform: translateY(-2px);
}

.atm-tab-button.is-active {
    background: linear-gradient(135deg, var(--atm-tab-accent) 0%, var(--atm-tab-accent-2) 100%);
    color: #ffffff;
    border-color: var(--atm-tab-accent);
    box-shadow: 0 10px 22px rgba(102, 126, 234, 0.28);
}

.atm-tab-button:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.18);
}

.atm-tab-button-inner {
    display: grid;
    gap: 8px;
}

.atm-tab-index {
    display: inline-flex;
    align-items: center;
    font-size: 0.72rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.88;
}

.atm-tab-label-row {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.atm-tab-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 18px;
}

.atm-tab-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.atm-tab-label {
    font-size: 1rem;
    line-height: 1.25;
    font-weight: 700;
}

.atm-tab-panels {
    min-width: 0;
}

.atm-tab-panel {
    display: none;
}

.atm-tab-panel.is-active {
    display: block;
}

.atm-mobile-title {
    display: none;
}

.atm-program-list,
.atm-plenary-list {
    display: grid;
    gap: 18px;
}

.atm-empty-state {
    margin: 0;
    padding: 24px;
    border: 1px dashed var(--atm-border-strong);
    border-radius: 18px;
    background: #ffffff;
    color: var(--atm-muted);
}

.atm-card-item {
    position: relative;
    background: var(--atm-bg);
    border: 1px solid var(--atm-border);
    border-radius: var(--atm-radius);
    box-shadow: var(--atm-shadow);
    overflow: hidden;
}

.atm-card-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(220px, 0.72fr);
    align-items: stretch;
    min-height: 210px;
}

.atm-card-copy {
    padding: 28px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    min-width: 0;
}

.atm-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
}

.atm-card-eyebrow {
    display: none;
}

.atm-card-title {
    margin: 0;
    font-size: clamp(1.35rem, 2vw, 2.15rem);
    line-height: 1.14;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #182230;
    text-transform: none;
}

.atm-card-subtitle {
    margin: 0.45rem 0 0;
    font-size: 0.98rem;
    line-height: 1.5;
    font-weight: 600;
    color: #475467;
}

.atm-card-summary,
.atm-session-summary,
.atm-plenary-description {
    color: #475467;
    line-height: 1.72;
    font-size: 0.98rem;
}

.atm-card-summary p,
.atm-session-summary p,
.atm-plenary-description p {
    margin: 0;
}

.atm-card-summary p + p,
.atm-session-summary p + p,
.atm-plenary-description p + p {
    margin-top: 0.8em;
}

.atm-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.atm-badge,
.atm-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: #f4f6fb;
    border: 1px solid #e3e8f2;
    color: #344054;
    font-size: 0.93rem;
    font-weight: 600;
}

.atm-badge-icon {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--atm-tab-accent);
}

.atm-badge-icon svg {
    width: 16px;
    height: 16px;
    display: block;
}

.atm-inline-speakers {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.atm-speaker-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px 8px 8px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e4e8f1;
}

.atm-speaker-pill-avatar,
.atm-speaker-pill-avatar .atm-visual-frame,
.atm-speaker-pill-avatar img,
.atm-speaker-pill-avatar .atm-fallback-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
}

.atm-speaker-pill-avatar .atm-visual-frame {
    padding: 0;
    overflow: hidden;
}

.atm-speaker-pill-name {
    font-weight: 600;
    font-size: 0.94rem;
    color: #243447;
}

.atm-card-aside {
    padding: 22px;
    border-left: 1px solid #ebeff6;
    background: linear-gradient(180deg, #fafbfe 0%, #f5f7fb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.atm-side-visual,
.atm-side-fallback {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.atm-side-visual .atm-visual-frame,
.atm-side-fallback .atm-fallback-circle {
    width: min(100%, 180px);
    margin: 0 auto;
}

.atm-visual-frame {
    width: 100%;
    border: 1px solid #e5eaf3;
    background: #ffffff;
    border-radius: 18px;
    padding: 10px;
}

.atm-visual-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 14px;
    background: transparent;
}

.atm-visual-program,
.atm-visual-plenary {
    min-height: auto;
}

.atm-visual-speaker {
    min-height: 0;
}

.atm-visual-speaker img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.atm-fallback-circle {
    width: 100%;
    max-width: 170px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.7rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #12213f;
    background: radial-gradient(circle at top, #ffffff 0%, #eef2fb 100%);
    border: 1px solid #d9e1ef;
}

.atm-speaker-stack {
    width: 100%;
    display: grid;
    gap: 12px;
}

.atm-speaker-spotlight {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 12px;
    align-items: center;
    padding: 12px;
    background: #ffffff;
    border: 1px solid #e8edf5;
    border-radius: 16px;
}

.atm-speaker-spotlight-avatar,
.atm-speaker-spotlight-avatar .atm-visual-frame,
.atm-speaker-spotlight-avatar img,
.atm-speaker-spotlight-avatar .atm-fallback-circle {
    width: 58px;
    height: 58px;
    border-radius: 50%;
}

.atm-speaker-spotlight-avatar .atm-visual-frame {
    padding: 0;
    overflow: hidden;
}

.atm-speaker-spotlight-copy h5 {
    margin: 0 0 4px;
    font-size: 0.96rem;
    line-height: 1.2;
    font-weight: 700;
    color: #182230;
}

.atm-speaker-spotlight-copy p {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.5;
    color: var(--atm-muted);
}

.atm-plenary-card {
    padding: 28px;
}

.atm-plenary-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: start;
    margin-bottom: 18px;
}

.atm-plenary-brand {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.atm-plenary-brand.atm-plenary-brand-no-media {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
}

.atm-plenary-brand-media,
.atm-plenary-brand-media .atm-visual-frame,
.atm-plenary-brand-media img,
.atm-plenary-brand-media .atm-fallback-circle {
    width: 88px;
    height: 88px;
    border-radius: 20px;
}

.atm-plenary-brand-media .atm-visual-frame {
    padding: 8px;
}

.atm-plenary-brand-media img {
    object-fit: cover;
}

.atm-plenary-sessions {
    display: grid;
    gap: 14px;
}

.atm-speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.atm-speaker-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--atm-border);
    overflow: hidden;
    box-shadow: var(--atm-shadow);
}

.atm-speaker-image .atm-visual-frame,
.atm-modal-image .atm-visual-frame {
    width: 100%;
    height: 100%;
    padding: 0;
    border-radius: 0;
    border: 0;
}

.atm-speaker-image img,
.atm-modal-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.atm-speaker-body {
    display: grid;
    gap: 10px;
    padding: 18px 20px;
}

.atm-speaker-body h3 {
    margin: 0;
    font-size: 1.05rem;
}

.atm-modal[hidden] {
    display: none;
}

.atm-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
}

.atm-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
}

.atm-modal-dialog {
    position: relative;
    width: min(920px, calc(100vw - 24px));
    margin: 5vh auto;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--atm-shadow-hover);
}

.atm-modal-content {
    display: grid;
    grid-template-columns: minmax(240px, 320px) 1fr;
}

.atm-modal-text {
    padding: 28px;
}

.atm-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.08);
    cursor: pointer;
    font-size: 24px;
}

/* Estilo 1 - Linha do tempo */
.atm-style-1 .atm-program-list,
.atm-style-1 .atm-plenary-list {
    position: relative;
    padding-left: 76px;
}

.atm-style-1 .atm-program-list::before,
.atm-style-1 .atm-plenary-list::before {
    content: '';
    position: absolute;
    left: 32px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: linear-gradient(180deg, var(--atm-tab-accent) 0%, rgba(118, 75, 162, 0.22) 100%);
}

.atm-style-1 .atm-card-item {
    overflow: visible;
}

.atm-style-1 .atm-card-item::before {
    content: '';
    position: absolute;
    left: -54px;
    top: 34px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid var(--atm-tab-accent);
    box-shadow: 0 0 0 6px #f4f6fb;
}

.atm-style-1 .atm-card-item::after {
    content: '';
    position: absolute;
    left: -36px;
    top: 42px;
    width: 22px;
    height: 2px;
    background: #ccd5f7;
}

/* Estilo 2 - Painel modular */
.atm-style-2 .atm-tab-button {
    border-radius: 12px;
}

.atm-style-2 .atm-tab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transition: left 0.45s ease;
}

.atm-style-2 .atm-tab-button:hover::before {
    left: 100%;
}

.atm-style-2 .atm-program-list,
.atm-style-2 .atm-plenary-list {
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.atm-style-2 .atm-card-item,
.atm-style-2 .atm-plenary-card,
.atm-style-2 .atm-plenary-session {
    grid-column: span 6;
}

.atm-style-2 .atm-card-item:nth-child(4n + 1),
.atm-style-2 .atm-card-item:nth-child(4n + 4),
.atm-style-2 .atm-plenary-card:nth-child(2n + 1),
.atm-style-2 .atm-plenary-session:nth-child(2n + 1) {
    grid-column: span 7;
}

.atm-style-2 .atm-card-item:nth-child(4n + 2),
.atm-style-2 .atm-card-item:nth-child(4n + 3),
.atm-style-2 .atm-plenary-card:nth-child(2n),
.atm-style-2 .atm-plenary-session:nth-child(2n) {
    grid-column: span 5;
}

.atm-style-2 .atm-card-shell {
    grid-template-columns: 1fr;
}

.atm-style-2 .atm-card-aside {
    border-left: 0;
    border-top: 1px solid #ebeff6;
    min-height: 180px;
}

.atm-style-2 .atm-inline-speakers {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Estilo 3 - Editorial lateral */
.atm-style-3 {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.atm-style-3 .atm-tab-nav {
    flex-direction: column;
    margin-bottom: 0;
    padding: 18px;
    background: #f8fafc;
    border: 1px solid var(--atm-border);
    border-radius: 20px;
    position: sticky;
    top: 20px;
}

.atm-style-3 .atm-tab-button {
    width: 100%;
    min-width: 0;
    border-radius: 14px;
    padding: 16px 18px;
}

.atm-style-3 .atm-tab-button:hover {
    transform: translateX(4px);
}

.atm-style-3 .atm-tab-button.is-active {
    background: linear-gradient(135deg, var(--atm-tab-accent) 0%, var(--atm-tab-accent-2) 100%);
}

.atm-style-3 .atm-program-list,
.atm-style-3 .atm-plenary-list {
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.85fr);
    gap: 22px;
}

.atm-style-3 .atm-program-list > .atm-card-item:first-child,
.atm-style-3 .atm-plenary-list > .atm-card-item:first-child,
.atm-style-3 .atm-plenary-list > .atm-plenary-card:first-child,
.atm-style-3 .atm-plenary-sessions > .atm-plenary-session:first-child {
    grid-row: span 2;
}

.atm-style-3 .atm-program-list > .atm-card-item:first-child .atm-card-shell,
.atm-style-3 .atm-plenary-list > .atm-card-item:first-child .atm-card-shell,
.atm-style-3 .atm-plenary-sessions > .atm-plenary-session:first-child .atm-card-shell {
    grid-template-columns: 1fr;
}

.atm-style-3 .atm-program-list > .atm-card-item:first-child .atm-card-aside,
.atm-style-3 .atm-plenary-list > .atm-card-item:first-child .atm-card-aside,
.atm-style-3 .atm-plenary-sessions > .atm-plenary-session:first-child .atm-card-aside {
    border-left: 0;
    border-top: 1px solid #ebeff6;
    min-height: 190px;
}

.atm-style-3 .atm-program-list > .atm-card-item:first-child .atm-card-title,
.atm-style-3 .atm-plenary-list > .atm-card-item:first-child .atm-card-title,
.atm-style-3 .atm-plenary-sessions > .atm-plenary-session:first-child .atm-card-title {
    font-size: clamp(1.9rem, 2.8vw, 2.7rem);
}

/* Estilo 4 - Lista compacta */
.atm-style-4 .atm-tab-nav {
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e6ebf3;
}

.atm-style-4 .atm-tab-button {
    min-width: auto;
    padding: 10px 16px;
    border-radius: 999px;
}

.atm-style-4 .atm-tab-index,
.atm-style-4 .atm-tab-icon {
    display: none;
}

.atm-style-4 .atm-tab-button-inner,
.atm-style-4 .atm-tab-label-row {
    display: block;
}

.atm-style-4 .atm-program-list,
.atm-style-4 .atm-plenary-list {
    gap: 12px;
}

.atm-style-4 .atm-card-item {
    border-radius: 16px;
}

.atm-style-4 .atm-card-shell {
    grid-template-columns: minmax(0, 1.5fr) 200px;
    min-height: 0;
}

.atm-style-4 .atm-card-copy {
    padding: 20px 22px;
    gap: 12px;
}

.atm-style-4 .atm-card-title {
    font-size: clamp(1.1rem, 1.7vw, 1.45rem);
}

.atm-style-4 .atm-badge,
.atm-style-4 .atm-stat-pill {
    padding: 8px 12px;
    font-size: 0.86rem;
}

.atm-style-4 .atm-card-aside {
    padding: 18px;
}

.atm-style-4 .atm-side-visual .atm-visual-frame,
.atm-style-4 .atm-side-fallback .atm-fallback-circle {
    width: min(100%, 130px);
}

/* Estilo 5 - Alternado / journey */
.atm-style-5 .atm-tab-nav {
    position: relative;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 34px;
}

.atm-style-5 .atm-tab-nav::before {
    content: '';
    position: absolute;
    left: 6%;
    right: 6%;
    top: 45px;
    height: 2px;
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.32) 100%);
}

.atm-style-5 .atm-tab-button {
    min-width: 0;
    flex: 1 1 0;
    padding: 0 12px;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: #667085;
    overflow: visible;
    z-index: 1;
}

.atm-style-5 .atm-tab-button:hover,
.atm-style-5 .atm-tab-button.is-active {
    transform: none;
    background: transparent;
    box-shadow: none;
    border-color: transparent;
}

.atm-style-5 .atm-tab-button-inner {
    justify-items: center;
    text-align: center;
}

.atm-style-5 .atm-tab-label-row {
    flex-direction: column;
    gap: 10px;
}

.atm-style-5 .atm-tab-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #d7dce8;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.atm-style-5 .atm-tab-button:hover .atm-tab-icon {
    border-color: var(--atm-tab-accent);
}

.atm-style-5 .atm-tab-button.is-active .atm-tab-icon {
    border-color: var(--atm-tab-accent);
    background: linear-gradient(135deg, var(--atm-tab-accent) 0%, var(--atm-tab-accent-2) 100%);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(102, 126, 234, 0.28);
}

.atm-style-5 .atm-tab-index {
    margin-top: 4px;
}

.atm-style-5 .atm-tab-label {
    max-width: 140px;
}

.atm-style-5 .atm-program-list,
.atm-style-5 .atm-plenary-list {
    position: relative;
    padding: 6px 0;
}

.atm-style-5 .atm-program-list::before,
.atm-style-5 .atm-plenary-list::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(102, 126, 234, 0.18) 0%, rgba(118, 75, 162, 0.28) 100%);
}

.atm-style-5 .atm-card-item,
.atm-style-5 .atm-plenary-card,
.atm-style-5 .atm-plenary-session {
    width: calc(50% - 32px);
    overflow: visible;
}

.atm-style-5 .atm-card-item:nth-child(odd),
.atm-style-5 .atm-plenary-card:nth-child(odd),
.atm-style-5 .atm-plenary-session:nth-child(odd) {
    margin-right: auto;
}

.atm-style-5 .atm-card-item:nth-child(even),
.atm-style-5 .atm-plenary-card:nth-child(even),
.atm-style-5 .atm-plenary-session:nth-child(even) {
    margin-left: auto;
}

.atm-style-5 .atm-card-item::before,
.atm-style-5 .atm-plenary-card::before,
.atm-style-5 .atm-plenary-session::before {
    content: '';
    position: absolute;
    top: 34px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid var(--atm-tab-accent);
    box-shadow: 0 0 0 5px #f5f7fb;
}

.atm-style-5 .atm-card-item:nth-child(odd)::before,
.atm-style-5 .atm-plenary-card:nth-child(odd)::before,
.atm-style-5 .atm-plenary-session:nth-child(odd)::before {
    right: -40px;
}

.atm-style-5 .atm-card-item:nth-child(even)::before,
.atm-style-5 .atm-plenary-card:nth-child(even)::before,
.atm-style-5 .atm-plenary-session:nth-child(even)::before {
    left: -40px;
}

.atm-style-5 .atm-card-shell {
    grid-template-columns: 1fr;
}

.atm-style-5 .atm-card-aside {
    border-left: 0;
    border-top: 1px solid #ebeff6;
}

/* Responsivo */
@media (max-width: 1160px) {
    .atm-style-2 .atm-card-item,
    .atm-style-2 .atm-plenary-card,
    .atm-style-2 .atm-plenary-session,
    .atm-style-2 .atm-card-item:nth-child(4n + 1),
    .atm-style-2 .atm-card-item:nth-child(4n + 2),
    .atm-style-2 .atm-card-item:nth-child(4n + 3),
    .atm-style-2 .atm-card-item:nth-child(4n + 4),
    .atm-style-2 .atm-plenary-card:nth-child(2n + 1),
    .atm-style-2 .atm-plenary-card:nth-child(2n),
    .atm-style-2 .atm-plenary-session:nth-child(2n + 1),
    .atm-style-2 .atm-plenary-session:nth-child(2n) {
        grid-column: span 12;
    }

    .atm-style-3 {
        grid-template-columns: 1fr;
    }

    .atm-style-3 .atm-tab-nav {
        position: static;
        flex-direction: row;
    }

    .atm-style-3 .atm-program-list,
    .atm-style-3 .atm-plenary-list {
        grid-template-columns: 1fr;
    }

    .atm-style-3 .atm-program-list > .atm-card-item:first-child,
    .atm-style-3 .atm-plenary-list > .atm-card-item:first-child,
    .atm-style-3 .atm-plenary-sessions > .atm-plenary-session:first-child {
        grid-row: auto;
    }

    .atm-style-5 .atm-card-item,
    .atm-style-5 .atm-plenary-card,
    .atm-style-5 .atm-plenary-session {
        width: calc(50% - 22px);
    }
}

@media (max-width: 1024px) {
    .atm-card-shell,
    .atm-style-4 .atm-card-shell {
        grid-template-columns: 1fr;
    }

    .atm-card-aside,
    .atm-style-4 .atm-card-aside {
        border-left: 0;
        border-top: 1px solid #ebeff6;
    }

    .atm-plenary-top {
        grid-template-columns: 1fr;
    }

    .atm-style-5 .atm-tab-nav {
        gap: 16px;
    }

    .atm-style-5 .atm-tab-nav::before {
        left: 8%;
        right: 8%;
    }
}

@media (max-width: 767px) {
    .atm-tab-nav,
    .atm-style-3 .atm-tab-nav,
    .atm-style-5 .atm-tab-nav {
        display: none;
    }

    .atm-mobile-title {
        display: block;
        padding: 14px 18px;
        font-weight: 700;
        cursor: pointer;
        border-bottom: 1px solid var(--atm-border);
        background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    }

    .atm-tab-panel {
        display: block;
        border: 1px solid var(--atm-border);
        border-radius: 18px;
        overflow: hidden;
        margin-bottom: 14px;
        background: #ffffff;
    }

    .atm-tab-panel:not(.is-active) .atm-program-list,
    .atm-tab-panel:not(.is-active) .atm-plenary-list {
        display: none;
    }

    .atm-program-list,
    .atm-plenary-list,
    .atm-style-1 .atm-program-list,
    .atm-style-1 .atm-plenary-list,
    .atm-style-2 .atm-program-list,
    .atm-style-2 .atm-plenary-list,
    .atm-style-3 .atm-program-list,
    .atm-style-3 .atm-plenary-list,
    .atm-style-5 .atm-program-list,
    .atm-style-5 .atm-plenary-list {
        padding: 16px;
        gap: 14px;
    }

    .atm-style-1 .atm-program-list::before,
    .atm-style-1 .atm-plenary-list::before,
    .atm-style-5 .atm-program-list::before,
    .atm-style-5 .atm-plenary-list::before {
        display: none;
    }

    .atm-style-1 .atm-card-item::before,
    .atm-style-1 .atm-card-item::after,
    .atm-style-5 .atm-card-item::before,
    .atm-style-5 .atm-plenary-card::before,
    .atm-style-5 .atm-plenary-session::before {
        display: none;
    }

    .atm-style-1 .atm-program-list,
    .atm-style-1 .atm-plenary-list {
        padding-left: 16px;
    }

    .atm-style-2 .atm-card-item,
    .atm-style-2 .atm-plenary-card,
    .atm-style-2 .atm-plenary-session {
        grid-column: auto;
    }

    .atm-style-5 .atm-card-item,
    .atm-style-5 .atm-plenary-card,
    .atm-style-5 .atm-plenary-session {
        width: 100%;
    }

    .atm-card-copy {
        padding: 20px 20px 18px;
        gap: 14px;
    }

    .atm-card-aside {
        padding: 18px;
    }

    .atm-card-title {
        font-size: 1.2rem;
    }

    .atm-plenary-card {
        padding: 20px;
    }

    .atm-plenary-brand {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .atm-plenary-brand-media,
    .atm-plenary-brand-media .atm-visual-frame,
    .atm-plenary-brand-media img,
    .atm-plenary-brand-media .atm-fallback-circle {
        width: 72px;
        height: 72px;
    }

    .atm-inline-speakers,
    .atm-style-2 .atm-inline-speakers {
        grid-template-columns: 1fr;
    }

    .atm-speaker-spotlight {
        grid-template-columns: 50px 1fr;
    }

    .atm-speaker-spotlight-avatar,
    .atm-speaker-spotlight-avatar .atm-visual-frame,
    .atm-speaker-spotlight-avatar img,
    .atm-speaker-spotlight-avatar .atm-fallback-circle {
        width: 50px;
        height: 50px;
    }

    .atm-modal-content {
        grid-template-columns: 1fr;
    }
}


/* Estilo 6 - Faixa de destaque */
.atm-style-6 .atm-tab-nav {
    gap: 12px;
    padding: 10px;
    border: 1px solid var(--atm-border);
    border-radius: 24px;
    background: #ffffff;
}

.atm-style-6 .atm-tab-button {
    min-width: 180px;
    border-radius: 16px;
    background: #f8fafc;
}

.atm-style-6 .atm-card-item,
.atm-style-6 .atm-plenary-card,
.atm-style-6 .atm-plenary-session {
    border-radius: 28px;
}

.atm-style-6 .atm-card-shell {
    grid-template-columns: 1fr;
    min-height: 0;
}

.atm-style-6 .atm-card-copy {
    padding: 30px 34px 18px;
    gap: 18px;
}

.atm-style-6 .atm-card-meta {
    order: 2;
}

.atm-style-6 .atm-card-title {
    order: 1;
    font-size: clamp(1.95rem, 3.4vw, 3.5rem);
    max-width: 14ch;
    letter-spacing: -0.045em;
}

.atm-style-6 .atm-card-summary,
.atm-style-6 .atm-session-summary,
.atm-style-6 .atm-plenary-description {
    order: 3;
    max-width: 70ch;
}

.atm-style-6 .atm-card-aside {
    border-left: 0;
    border-top: 1px solid #ebeff6;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 0 34px 28px;
    justify-content: flex-start;
}

.atm-style-6 .atm-side-visual,
.atm-style-6 .atm-side-fallback {
    justify-content: flex-start;
}

.atm-style-6 .atm-side-visual .atm-visual-frame,
.atm-style-6 .atm-side-fallback .atm-fallback-circle {
    width: min(100%, 260px);
    margin: 0;
}

.atm-style-6 .atm-speaker-stack {
    gap: 18px;
    width: 100%;
}

.atm-style-6 .atm-speaker-spotlight {
    grid-template-columns: 76px 1fr;
    gap: 18px;
    padding: 0;
    border: 0;
    background: transparent;
    border-radius: 0;
}

.atm-style-6 .atm-speaker-spotlight + .atm-speaker-spotlight {
    padding-top: 18px;
    border-top: 1px solid #e7ecf4;
}

.atm-style-6 .atm-speaker-spotlight-avatar,
.atm-style-6 .atm-speaker-spotlight-avatar .atm-visual-frame,
.atm-style-6 .atm-speaker-spotlight-avatar img,
.atm-style-6 .atm-speaker-spotlight-avatar .atm-fallback-circle {
    width: 76px;
    height: 76px;
}

.atm-style-6 .atm-speaker-spotlight-copy h5 {
    font-size: clamp(1.4rem, 2.6vw, 3rem);
    line-height: 1.04;
    font-weight: 400;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: var(--atm-tab-accent);
}

.atm-style-6 .atm-speaker-spotlight-copy p {
    display: none;
}

/* Estilo 7 - Painel dividido */
.atm-style-7 .atm-tab-nav {
    gap: 12px;
    margin-bottom: 24px;
}

.atm-style-7 .atm-tab-button {
    min-width: 190px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: none;
}

.atm-style-7 .atm-card-item,
.atm-style-7 .atm-plenary-card,
.atm-style-7 .atm-plenary-session {
    overflow: hidden;
}

.atm-style-7 .atm-card-shell {
    grid-template-columns: 1fr minmax(240px, 0.44fr);
    min-height: 0;
}

.atm-style-7 .atm-card-copy {
    padding: 28px 32px 28px 236px;
    gap: 16px;
    position: relative;
    min-height: 100%;
}

.atm-style-7 .atm-card-meta {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 204px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 24px;
    background: linear-gradient(180deg, rgba(102, 126, 234, 0.96) 0%, rgba(118, 75, 162, 0.96) 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.atm-style-7 .atm-badges {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.atm-style-7 .atm-badge,
.atm-style-7 .atm-stat-pill {
    padding: 0;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-size: 1rem;
}

.atm-style-7 .atm-badge-icon {
    color: #ffffff;
}

.atm-style-7 .atm-card-title {
    max-width: 18ch;
    font-size: clamp(1.45rem, 2.4vw, 2.5rem);
}

.atm-style-7 .atm-card-summary,
.atm-style-7 .atm-session-summary,
.atm-style-7 .atm-plenary-description {
    max-width: 60ch;
}

.atm-style-7 .atm-card-aside {
    border-left: 1px solid #ebeff6;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 24px;
}

.atm-style-7 .atm-side-visual .atm-visual-frame,
.atm-style-7 .atm-side-fallback .atm-fallback-circle {
    width: min(100%, 180px);
}

.atm-style-7 .atm-speaker-stack {
    gap: 16px;
}

.atm-style-7 .atm-speaker-spotlight {
    grid-template-columns: 70px 1fr;
    gap: 14px;
    padding: 18px;
    border-radius: 18px;
}

.atm-style-7 .atm-speaker-spotlight-avatar,
.atm-style-7 .atm-speaker-spotlight-avatar .atm-visual-frame,
.atm-style-7 .atm-speaker-spotlight-avatar img,
.atm-style-7 .atm-speaker-spotlight-avatar .atm-fallback-circle {
    width: 70px;
    height: 70px;
}

.atm-style-7 .atm-speaker-spotlight-copy h5 {
    font-size: 1.02rem;
}

@media (max-width: 1160px) {
    .atm-style-6 .atm-card-title {
        max-width: none;
    }

    .atm-style-7 .atm-card-copy {
        padding: 24px 26px 24px 208px;
    }

    .atm-style-7 .atm-card-meta {
        width: 184px;
        padding: 24px 20px;
    }
}

@media (max-width: 1024px) {
    .atm-style-6 .atm-card-aside {
        padding: 0 26px 24px;
    }

    .atm-style-7 .atm-card-shell {
        grid-template-columns: 1fr;
    }

    .atm-style-7 .atm-card-copy {
        padding: 24px 26px;
    }

    .atm-style-7 .atm-card-meta {
        position: static;
        width: auto;
        padding: 20px 22px;
        border-right: 0;
        border-radius: 18px;
        margin-bottom: 6px;
    }

    .atm-style-7 .atm-badges {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media (max-width: 767px) {
    .atm-style-6 .atm-tab-nav,
    .atm-style-7 .atm-tab-nav {
        display: none;
    }

    .atm-style-6 .atm-card-copy,
    .atm-style-7 .atm-card-copy {
        padding: 20px;
    }

    .atm-style-6 .atm-card-aside,
    .atm-style-7 .atm-card-aside {
        padding: 18px 20px 20px;
    }

    .atm-style-6 .atm-speaker-spotlight {
        grid-template-columns: 58px 1fr;
        gap: 12px;
    }

    .atm-style-6 .atm-speaker-spotlight-avatar,
    .atm-style-6 .atm-speaker-spotlight-avatar .atm-visual-frame,
    .atm-style-6 .atm-speaker-spotlight-avatar img,
    .atm-style-6 .atm-speaker-spotlight-avatar .atm-fallback-circle {
        width: 58px;
        height: 58px;
    }

    .atm-style-6 .atm-speaker-spotlight-copy h5 {
        font-size: 1.25rem;
    }

    .atm-style-7 .atm-card-meta {
        padding: 16px 18px;
    }

    .atm-style-7 .atm-badges {
        gap: 10px;
    }

    .atm-style-7 .atm-speaker-spotlight {
        padding: 14px;
        grid-template-columns: 58px 1fr;
    }

    .atm-style-7 .atm-speaker-spotlight-avatar,
    .atm-style-7 .atm-speaker-spotlight-avatar .atm-visual-frame,
    .atm-style-7 .atm-speaker-spotlight-avatar img,
    .atm-style-7 .atm-speaker-spotlight-avatar .atm-fallback-circle {
        width: 58px;
        height: 58px;
    }
}

/* Ajustes finos - estilos 6 e 7 */
.atm-style-6 .atm-tab-button.is-active,
.atm-style-7 .atm-tab-button.is-active {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.10) 0%, rgba(118, 75, 162, 0.14) 100%);
    color: #182230;
    border-color: var(--atm-tab-accent);
    box-shadow: 0 10px 22px rgba(102, 126, 234, 0.14);
}

.atm-style-6 .atm-tab-button.is-active .atm-tab-index,
.atm-style-6 .atm-tab-button.is-active .atm-tab-icon,
.atm-style-6 .atm-tab-button.is-active .atm-tab-label,
.atm-style-7 .atm-tab-button.is-active .atm-tab-index,
.atm-style-7 .atm-tab-button.is-active .atm-tab-icon,
.atm-style-7 .atm-tab-button.is-active .atm-tab-label {
    color: #182230;
    opacity: 1;
}

.atm-style-6 .atm-card-copy {
    padding: 22px 28px 12px;
    gap: 12px;
}

.atm-style-6 .atm-card-title {
    font-size: clamp(1.34rem, 2vw, 2.05rem);
    max-width: none;
    line-height: 1.1;
}

.atm-style-6 .atm-card-aside {
    padding: 18px 28px 22px;
}

.atm-style-6 .atm-side-visual .atm-visual-frame,
.atm-style-6 .atm-side-fallback .atm-fallback-circle {
    width: min(100%, 174px);
}

.atm-style-6 .atm-speaker-stack {
    gap: 12px;
    padding-top: 4px;
}

.atm-style-6 .atm-speaker-spotlight {
    grid-template-columns: 56px 1fr;
    gap: 12px;
}

.atm-style-6 .atm-speaker-spotlight + .atm-speaker-spotlight {
    padding-top: 12px;
}

.atm-style-6 .atm-speaker-spotlight-avatar,
.atm-style-6 .atm-speaker-spotlight-avatar .atm-visual-frame,
.atm-style-6 .atm-speaker-spotlight-avatar img,
.atm-style-6 .atm-speaker-spotlight-avatar .atm-fallback-circle {
    width: 56px;
    height: 56px;
}

.atm-style-6 .atm-speaker-spotlight-copy h5 {
    font-size: clamp(0.98rem, 1.4vw, 1.34rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.atm-style-7 .atm-tab-button {
    min-width: 170px;
}

.atm-style-7 .atm-card-shell {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.38fr);
}

.atm-style-7 .atm-card-copy {
    padding: 22px 26px 20px 182px;
    gap: 10px;
}

.atm-style-7 .atm-card-meta {
    width: 154px;
    padding: 20px 14px;
    align-items: center;
    justify-content: center;
}

.atm-style-7 .atm-badges {
    width: 100%;
    gap: 8px;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.atm-style-7 .atm-badge,
.atm-style-7 .atm-stat-pill {
    font-size: 0.92rem;
    line-height: 1.35;
}

.atm-style-7 .atm-badge-time {
    justify-content: center;
}

.atm-style-7 .atm-badge-time .atm-badge-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.atm-style-7 .atm-badge-time .atm-badge-icon svg {
    width: 20px;
    height: 20px;
}

.atm-style-7 .atm-card-location-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: none;
    color: #475467;
    font-size: 0.88rem;
    font-weight: 600;
}

.atm-style-7 .atm-card-location-icon {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--atm-tab-accent);
    flex: 0 0 16px;
}

.atm-style-7 .atm-card-location-icon svg {
    width: 16px;
    height: 16px;
    display: block;
}

.atm-style-7 .atm-card-title {
    max-width: none;
    font-size: clamp(1.12rem, 1.65vw, 1.68rem);
    line-height: 1.16;
}

.atm-style-7 .atm-card-summary,
.atm-style-7 .atm-session-summary,
.atm-style-7 .atm-plenary-description {
    max-width: none;
}

.atm-style-7 .atm-card-aside {
    padding: 22px 18px 18px;
}

.atm-style-7 .atm-side-visual .atm-visual-frame,
.atm-style-7 .atm-side-fallback .atm-fallback-circle {
    width: min(100%, 138px);
}

.atm-style-7 .atm-speaker-stack {
    gap: 12px;
}

.atm-style-7 .atm-speaker-spotlight {
    grid-template-columns: 50px 1fr;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 16px;
}

.atm-style-7 .atm-speaker-spotlight-avatar,
.atm-style-7 .atm-speaker-spotlight-avatar .atm-visual-frame,
.atm-style-7 .atm-speaker-spotlight-avatar img,
.atm-style-7 .atm-speaker-spotlight-avatar .atm-fallback-circle {
    width: 50px;
    height: 50px;
}

.atm-style-7 .atm-speaker-spotlight-copy h5 {
    font-size: 0.9rem;
    line-height: 1.2;
}

.atm-style-7 .atm-speaker-spotlight-copy p {
    font-size: 0.78rem;
    line-height: 1.42;
}

@media (max-width: 1160px) {
    .atm-style-7 .atm-card-copy {
        padding: 20px 22px 18px 170px;
    }

    .atm-style-7 .atm-card-meta {
        width: 144px;
        padding: 18px 12px;
    }
}

@media (max-width: 1024px) {
    .atm-style-6 .atm-card-copy {
        padding: 20px 24px 12px;
    }

    .atm-style-6 .atm-card-aside {
        padding: 16px 24px 20px;
    }

    .atm-style-7 .atm-card-copy {
        padding: 22px 24px;
    }

    .atm-style-7 .atm-card-meta {
        width: auto;
        padding: 16px 18px;
    }

    .atm-style-7 .atm-card-title {
        max-width: none;
    }
}

@media (max-width: 767px) {
    .atm-style-6 .atm-card-title {
        font-size: clamp(1.3rem, 7vw, 1.8rem);
    }

    .atm-style-6 .atm-speaker-spotlight {
        grid-template-columns: 52px 1fr;
        gap: 10px;
    }

    .atm-style-6 .atm-speaker-spotlight-avatar,
    .atm-style-6 .atm-speaker-spotlight-avatar .atm-visual-frame,
    .atm-style-6 .atm-speaker-spotlight-avatar img,
    .atm-style-6 .atm-speaker-spotlight-avatar .atm-fallback-circle {
        width: 52px;
        height: 52px;
    }

    .atm-style-6 .atm-speaker-spotlight-copy h5 {
        font-size: 0.96rem;
    }

    .atm-style-7 .atm-card-location-line {
        font-size: 0.84rem;
    }

    .atm-style-7 .atm-badge,
    .atm-style-7 .atm-stat-pill {
        font-size: 0.88rem;
    }

    .atm-style-7 .atm-speaker-spotlight {
        grid-template-columns: 48px 1fr;
        padding: 11px 13px;
    }

    .atm-style-7 .atm-speaker-spotlight-avatar,
    .atm-style-7 .atm-speaker-spotlight-avatar .atm-visual-frame,
    .atm-style-7 .atm-speaker-spotlight-avatar img,
    .atm-style-7 .atm-speaker-spotlight-avatar .atm-fallback-circle {
        width: 48px;
        height: 48px;
    }
}

/* Seminarios e Foruns */
.atm-sf-layout {
    display: grid;
    gap: 28px;
}

.atm-sf-day {
    display: grid;
    gap: 18px;
}

.atm-sf-day-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
    border: 1px solid var(--atm-border, #dbe2ea);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(248,250,252,.95));
}

.atm-sf-day-header-copy {
    display: grid;
    gap: 8px;
}

.atm-sf-day-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: #64748b;
}

.atm-sf-day-title {
    margin: 0;
    font-size: clamp(28px, 3vw, 46px);
    line-height: 1.04;
    color: #0f172a;
}

.atm-sf-day-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.12);
    color: #4338ca;
    font-weight: 700;
    white-space: nowrap;
}

.atm-sf-groups {
    display: grid;
    gap: 22px;
}

.atm-sf-group {
    position: relative;
    border: 1px solid var(--atm-border, #dbe2ea);
    border-radius: 28px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.05);
}

.atm-sf-group-toggle {
    width: 100%;
    border: 0;
    padding: 22px 24px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    text-align: left;
}

.atm-sf-group-toggle-copy {
    display: grid;
    gap: 9px;
}

.atm-sf-group-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.atm-sf-group-type,
.atm-sf-group-count {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #64748b;
}

.atm-sf-group-title {
    font-size: clamp(24px, 2.6vw, 40px);
    line-height: 1.08;
    font-weight: 800;
    color: #0f172a;
}

.atm-sf-group-toggle-meta {
    flex-shrink: 0;
}

.atm-sf-toggle-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    color: #475569;
    transition: transform .25s ease;
}

.atm-sf-group.is-open .atm-sf-toggle-icon {
    transform: rotate(180deg);
}

.atm-sf-group-body {
    padding: 24px 24px 24px;
}

.atm-sf-group-description {
    color: #475569;
    padding: 0 0 18px;
}

.atm-sf-group-description p:last-child,
.atm-sf-item .atm-card-summary p:last-child {
    margin-bottom: 0;
}

.atm-sf-items {
    display: grid;
    gap: 16px;
}

.atm-sf-item {
    border: 1px solid #dbe2ea;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    overflow: hidden;
}

.atm-sf-item-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(250px, .78fr);
    gap: 20px;
    padding: 22px;
}

.atm-sf-item-main {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.atm-sf-item-meta .atm-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.atm-sf-item-title {
    margin: 0;
    font-size: clamp(22px, 2.2vw, 34px);
    line-height: 1.12;
    color: #0f172a;
}

.atm-sf-item .atm-card-subtitle {
    font-weight: 700;
    color: #334155;
}

.atm-sf-item .atm-card-summary {
    color: #334155;
}

.atm-sf-item-aside {
    display: grid;
    align-content: start;
    border-left: 1px solid #e2e8f0;
    padding-left: 18px;
}

.atm-sf-speakers {
    display: grid;
    gap: 12px;
}

.atm-sf-speaker-card {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    background: rgba(255,255,255,.86);
}

.atm-sf-speaker-avatar,
.atm-sf-speaker-avatar .atm-visual-frame,
.atm-sf-speaker-avatar img,
.atm-sf-speaker-avatar .atm-fallback-circle {
    width: 100%;
    height: 100%;
    border-radius: 999px;
}

.atm-sf-speaker-copy {
    min-width: 0;
}

.atm-sf-speaker-copy h5 {
    margin: 0 0 4px;
    font-size: 1rem;
    line-height: 1.2;
    color: #0f172a;
}

.atm-sf-speaker-copy p {
    margin: 0;
    color: #64748b;
    font-size: .92rem;
    line-height: 1.45;
}

.atm-sf-item-visual,
.atm-sf-item-visual .atm-visual-frame,
.atm-sf-item-visual img {
    width: 100%;
    border-radius: 22px;
}

.atm-sf-layout .atm-badge {
    font-size: .94rem;
}

/* Estilo 1 - Acordeao editorial */
.atm-sf-style-1 .atm-sf-group-toggle {
    background: linear-gradient(135deg, rgba(99,102,241,.12), rgba(14,165,233,.06));
}

/* Estilo 2 - Bento de grupos */
.atm-sf-style-2 .atm-sf-groups {
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

.atm-sf-style-2 .atm-sf-group {
    border-radius: 30px;
}

.atm-sf-style-2 .atm-sf-group-toggle {
    background: linear-gradient(135deg, rgba(14,165,233,.10), rgba(99,102,241,.10));
}

.atm-sf-style-2 .atm-sf-item-shell {
    grid-template-columns: 1fr;
}

.atm-sf-style-2 .atm-sf-item-aside {
    border-left: 0;
    padding-left: 0;
}

/* Estilo 3 - Painel magazine */
.atm-sf-style-3 .atm-sf-group {
    display: grid;
    grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
}

.atm-sf-style-3 .atm-sf-group-toggle {
    align-items: flex-start;
    min-height: 100%;
    padding: 28px;
    border-right: 1px solid #dbe2ea;
    background: linear-gradient(180deg, rgba(15,23,42,.95), rgba(30,41,59,.94));
}

.atm-sf-style-3 .atm-sf-group-title,
.atm-sf-style-3 .atm-sf-group-type,
.atm-sf-style-3 .atm-sf-group-count,
.atm-sf-style-3 .atm-sf-toggle-icon {
    color: #f8fafc;
}

.atm-sf-style-3 .atm-sf-group-body {
    padding: 24px;
}

/* Estilo 4 - Timeline imersiva */
.atm-sf-style-4 .atm-sf-groups {
    gap: 26px;
    position: relative;
}

.atm-sf-style-4 .atm-sf-group {
    padding-left: 28px;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
}

.atm-sf-style-4 .atm-sf-group::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, rgba(99,102,241,.52), rgba(168,85,247,.18));
}

.atm-sf-style-4 .atm-sf-group::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 32px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #fff;
    border: 4px solid #6366f1;
}

.atm-sf-style-4 .atm-sf-group-toggle,
.atm-sf-style-4 .atm-sf-group-body {
    background: #fff;
    border: 1px solid #dbe2ea;
    border-radius: 24px;
}

.atm-sf-style-4 .atm-sf-group-body {
    margin-top: 12px;
    padding-top: 20px;
}

/* Estilo 5 - Showcase em camadas */
.atm-sf-style-5 .atm-sf-group {
    background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(248,250,252,.98));
}

.atm-sf-style-5 .atm-sf-group-toggle {
    background: linear-gradient(90deg, rgba(234,179,8,.14), rgba(249,115,22,.08));
}

.atm-sf-style-5 .atm-sf-item {
    background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(244,247,255,.98));
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

/* Estilo 6 - Mosaico interativo */
.atm-sf-style-6 .atm-sf-day {
    gap: 22px;
}

.atm-sf-style-6 .atm-sf-groups {
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
}

.atm-sf-style-6 .atm-sf-group-toggle {
    background: linear-gradient(135deg, rgba(244,114,182,.10), rgba(99,102,241,.10));
}

.atm-sf-style-6 .atm-sf-items {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.atm-sf-style-6 .atm-sf-item-shell {
    grid-template-columns: 1fr;
}

.atm-sf-style-6 .atm-sf-item-aside {
    border-left: 0;
    padding-left: 0;
}

@media (max-width: 1100px) {
    .atm-sf-style-3 .atm-sf-group,
    .atm-sf-item-shell {
        grid-template-columns: 1fr;
    }

    .atm-sf-style-3 .atm-sf-group-toggle {
        border-right: 0;
        border-bottom: 1px solid #dbe2ea;
    }

    .atm-sf-item-aside {
        border-left: 0;
        padding-left: 0;
    }
}

@media (max-width: 767px) {
    .atm-sf-day-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px;
    }

    .atm-sf-day-title {
        font-size: 30px;
    }

    .atm-sf-group-toggle,
    .atm-sf-group-body,
    .atm-sf-item-shell {
        padding-left: 18px;
        padding-right: 18px;
    }

    .atm-sf-group-toggle {
        padding-top: 18px;
        padding-bottom: 18px;
        align-items: flex-start;
    }

    .atm-sf-group-title,
    .atm-sf-item-title {
        font-size: 24px;
    }

    .atm-sf-style-2 .atm-sf-groups,
    .atm-sf-style-6 .atm-sf-groups,
    .atm-sf-style-6 .atm-sf-items {
        grid-template-columns: 1fr;
    }
}

/* Animacao suave dos acordeoes de seminarios e foruns */
.atm-sf-group-body {
    transition: height .38s cubic-bezier(.22, 1, .36, 1), opacity .22s ease, transform .38s cubic-bezier(.22, 1, .36, 1);
    will-change: height, opacity, transform;
}

.atm-sf-group-toggle .atm-sf-toggle-icon,
.atm-sf-group-toggle .atm-sf-toggle-icon svg {
    transition: transform .28s cubic-bezier(.22, 1, .36, 1), color .2s ease, opacity .2s ease;
}


/* Estilo 8: preletor abaixo do titulo */
.atm-style-8 .atm-card-copy {
    gap: 14px;
}

.atm-style-8 .atm-inline-speakers {
    display: grid;
    gap: 12px;
    max-width: 460px;
}

.atm-style-8 .atm-inline-speakers .atm-speaker-spotlight {
    margin: 0;
}

.atm-style-8 .atm-card-aside {
    align-items: center;
    justify-content: center;
}

@media (max-width: 767px) {
    .atm-style-8 .atm-inline-speakers {
        max-width: 100%;
    }
}

/* Showcase dos palestrantes com palestras vinculadas */
.atm-speakers-showcase-grid {
    --atm-speaker-feature-media-width: 46%;
    --atm-speaker-feature-media-height: 320px;
    --atm-speaker-feature-icon-size: 52px;
    --atm-speakers-grid-columns: 1;
    --atm-speakers-grid-gap: 28px;
    display: grid;
    grid-template-columns: repeat(var(--atm-speakers-grid-columns), minmax(0, 1fr));
    gap: var(--atm-speakers-grid-gap);
    align-items: stretch;
}

.atm-speaker-feature-card {
    border-radius: 28px;
    overflow: hidden;
    container-type: inline-size;
    height: 100%;
}

.atm-speaker-feature-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(160px, min(42%, var(--atm-speaker-feature-media-width)));
    align-items: stretch;
    min-height: var(--atm-speaker-feature-media-height);
}

.atm-speaker-feature-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    padding: 34px 38px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.atm-speaker-feature-icon {
    width: var(--atm-speaker-feature-icon-size);
    height: var(--atm-speaker-feature-icon-size);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1ea7e9;
}

.atm-speaker-feature-icon svg,
.atm-speaker-feature-icon i {
    width: 100%;
    height: 100%;
    display: block;
    font-size: var(--atm-speaker-feature-icon-size);
    line-height: 1;
}

.atm-speaker-feature-icon > * {
    max-width: 100%;
    max-height: 100%;
}

.atm-speaker-feature-context {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #eef6ff;
    color: #1769aa;
    font-size: 0.82rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.atm-speaker-feature-title {
    margin: 0;
    color: #1b1b6b;
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
    font-weight: 700;
}

.atm-speaker-feature-subtitle {
    margin: -2px 0 0;
    color: #5e6782;
    font-size: clamp(0.95rem, 1.15vw, 1.15rem);
    line-height: 1.45;
    font-weight: 500;
}

.atm-speaker-feature-speaker {
    margin-top: 2px;
    color: #5c5c70;
    font-size: clamp(1.2rem, 1.8vw, 1.95rem);
    line-height: 1.3;
    font-style: italic;
    font-weight: 500;
}


.atm-speaker-feature-hide-context .atm-speaker-feature-copy {
    gap: 10px;
}

.atm-speaker-feature-no-subtitle .atm-speaker-feature-speaker {
    margin-top: 2px;
}
.atm-speaker-feature-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.atm-speaker-feature-action,
.atm-speaker-feature-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid #dbe5f0;
    background: #ffffff;
    color: #1f2937;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.atm-speaker-feature-action:hover,
.atm-speaker-feature-link:hover {
    transform: translateY(-1px);
    border-color: #c4d3e5;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.atm-speaker-feature-label {
    color: #667085;
    font-size: 0.95rem;
    line-height: 1.6;
}

.atm-speaker-feature-media {
    min-height: var(--atm-speaker-feature-media-height);
    overflow: hidden;
    background: linear-gradient(135deg, #0a3d89 0%, #123f9f 100%);
}

.atm-speaker-feature-media .atm-visual-frame {
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.atm-speaker-feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

@container (max-width: 980px) {
    .atm-speaker-feature-shell {
        grid-template-columns: minmax(0, 1fr) minmax(150px, 40%);
    }

    .atm-speaker-feature-copy {
        padding: 26px 28px;
    }

    .atm-speaker-feature-title {
        font-size: clamp(1.5rem, 6cqi, 2.4rem);
    }

    .atm-speaker-feature-subtitle {
        font-size: clamp(0.88rem, 2.8cqi, 1rem);
    }

    .atm-speaker-feature-speaker {
        font-size: clamp(1rem, 3.8cqi, 1.45rem);
    }
}

@container (max-width: 760px) {
    .atm-speaker-feature-shell {
        grid-template-columns: minmax(0, 1fr) minmax(120px, 34%);
        min-height: min(280px, var(--atm-speaker-feature-media-height));
    }

    .atm-speaker-feature-copy {
        gap: 10px;
        padding: 22px 22px 24px;
    }

    .atm-speaker-feature-icon {
        width: clamp(34px, 7cqi, var(--atm-speaker-feature-icon-size));
        height: clamp(34px, 7cqi, var(--atm-speaker-feature-icon-size));
    }

    .atm-speaker-feature-title {
        font-size: clamp(1.2rem, 5.3cqi, 2rem);
        line-height: 1.1;
        letter-spacing: -0.035em;
    }

    .atm-speaker-feature-subtitle {
        font-size: clamp(0.82rem, 2.8cqi, 0.96rem);
        line-height: 1.35;
    }

    .atm-speaker-feature-speaker {
        font-size: clamp(0.95rem, 3.2cqi, 1.25rem);
        line-height: 1.25;
    }

    .atm-speaker-feature-context {
        font-size: 0.72rem;
        padding: 5px 10px;
    }

    .atm-speaker-feature-media {
        min-height: min(280px, var(--atm-speaker-feature-media-height));
    }
}

@container (max-width: 520px) {
    .atm-speaker-feature-shell {
        grid-template-columns: minmax(0, 1fr) minmax(108px, 36%);
        min-height: min(240px, var(--atm-speaker-feature-media-height));
    }

    .atm-speaker-feature-copy {
        padding: 18px 18px 20px;
    }

    .atm-speaker-feature-title {
        font-size: clamp(1.05rem, 5.1cqi, 1.55rem);
    }

    .atm-speaker-feature-subtitle {
        font-size: clamp(0.8rem, 2.7cqi, 0.92rem);
    }

    .atm-speaker-feature-speaker {
        font-size: clamp(0.9rem, 3cqi, 1.05rem);
    }

    .atm-speaker-feature-media {
        min-height: min(240px, var(--atm-speaker-feature-media-height));
    }
}

@container (max-width: 360px) {
    .atm-speaker-feature-shell {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .atm-speaker-feature-media {
        order: -1;
        min-height: min(220px, var(--atm-speaker-feature-media-height));
    }

    .atm-speaker-feature-copy {
        padding: 18px 18px 20px;
    }
}

@media (max-width: 1024px) {
    .atm-speaker-feature-copy {
        padding: 28px 30px;
    }
}

@media (max-width: 767px) {
    .atm-speakers-showcase-grid {
        --atm-speakers-grid-gap: 20px;
        --atm-speaker-feature-icon-size: 40px;
        align-items: start;
    }

    .atm-speaker-feature-card {
        height: auto;
        align-self: start;
    }

    .atm-speaker-feature-shell {
        grid-template-columns: 1fr;
        min-height: 0;
        height: auto;
        align-items: start;
    }

    .atm-speaker-feature-media {
        order: -1;
        min-height: 0;
        height: auto;
        aspect-ratio: 4 / 3;
        max-height: none;
    }

    .atm-speaker-feature-media .atm-visual-frame,
    .atm-speaker-feature-media img {
        width: 100%;
        height: 100%;
    }

    .atm-speaker-feature-copy {
        gap: 10px;
        padding: 18px 18px 20px;
        justify-content: flex-start;
    }

    .atm-speaker-feature-title {
        font-size: clamp(1.2rem, 6vw, 2rem);
        line-height: 1.1;
    }

    .atm-speaker-feature-context {
        font-size: 0.74rem;
    }

    .atm-speaker-feature-subtitle {
        font-size: 0.9rem;
    }

    .atm-speaker-feature-speaker {
        font-size: 1.08rem;
    }

    .atm-speaker-feature-actions {
        width: 100%;
        flex-direction: column;
    }

    .atm-speaker-feature-action,
    .atm-speaker-feature-link {
        width: 100%;
    }
}

/* Correcao mobile dos cards de palestrantes: preserva altura do card e evita sobreposicao da secao seguinte */
@media (max-width: 767px) {
    .atm-speakers-showcase-grid {
        display: grid;
        grid-template-columns: 1fr !important;
        grid-auto-rows: auto !important;
        align-items: start !important;
        position: relative;
        z-index: 1;
    }

    .atm-speaker-feature-card {
        display: block !important;
        height: auto !important;
        min-height: 0 !important;
        position: relative;
        z-index: 1;
        contain: none !important;
        container-type: normal !important;
    }

    .atm-speaker-feature-shell {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        height: auto !important;
        min-height: 0 !important;
    }

    .atm-speaker-feature-media {
        order: -1;
        display: block !important;
        width: 100% !important;
        flex: 0 0 auto !important;
        min-height: 0 !important;
        height: auto !important;
        aspect-ratio: 4 / 3 !important;
        overflow: hidden;
    }

    .atm-speaker-feature-media .atm-visual-frame,
    .atm-speaker-feature-media img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        max-height: none !important;
    }

    .atm-speaker-feature-copy {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;
        flex: 0 0 auto !important;
        position: relative;
        z-index: 1;
        padding: 18px 18px 20px !important;
    }
}
