/* CSS VARIABLES */
:root {
    --navy: #0D1F5C;
    --navy-dark: #080F2E;
    --navy-mid: #162680;
    --red: #C41230;
    --red-dark: #9A0E25;
    --magenta: #C2185B;
    --white: #FFFFFF;
    --off-white: #F2F4F9;
    --gray-text: #5A6480;
    --border: rgba(13, 31, 92, 0.10);

    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 12px 32px rgba(13, 31, 92, 0.1);
    --container: 1200px;
}

/* RESET */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--white);
    color: var(--navy);
    line-height: 1.75;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* SVG GLOBALS - FIXING ICONS */
svg {
    flex-shrink: 0;
    overflow: visible;
}

.timeline-marker svg,
.res-icon svg,
.prog-time svg,
.gt-chevron svg {
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    transition: var(--transition);
}

section {
    padding: 140px 20px;
    /* Increased global vertical spacing */
    position: relative;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    width: 100%;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4 {
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.label-red {
    color: var(--red);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-weight: 700;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 24px;
}

/* UTILS */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(13, 31, 92, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    height: 120px;
    display: flex;
    align-items: center;
    z-index: 3000; /* Garantir que fique acima do overlay mobile */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar.scrolled {
    background-color: rgba(13, 31, 92, 0.95);
    height: 80px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 40px;
}

.nav-links-desktop {
    display: flex;
    gap: 8px;
}

.nav-links-desktop a {
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 20px;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links-desktop a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links-desktop a:hover {
    color: var(--white);
}

.nav-links-desktop a:hover::after {
    width: 20px;
}

.mobile-subscribe {
    display: none !important;
}

.btn-subscribe {
    background-color: var(--red);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(196, 18, 48, 0.3);
    transition: all 0.3s ease;
}

.btn-subscribe:hover {
    background-color: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(196, 18, 48, 0.4);
}

/* MOBILE MENU BTN */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    padding: 5px;
    position: relative;
}

.mobile-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: var(--white);
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--red);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--red);
}

/* MOBILE OVERLAY */
.nav-overlay {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    width: 100%;
    height: 100vh;
    background: rgba(5, 8, 16, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding-top: 80px; /* Espaço para não colar no header */
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.4s ease;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.nav-overlay.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav-overlay a {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    padding: 10px 20px;
}

.nav-overlay.active a {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 991px) {
    .nav-links-desktop {
        display: none;
    }

    .navbar .btn-subscribe {
        display: none;
    }

    .navbar .container {
        padding: 0 40px; /* Traz a logo e o hambúrguer mais para o centro */
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-subscribe {
        display: flex !important;
        background: var(--red);
        color: var(--white) !important;
        padding: 16px 40px !important;
        border-radius: 50px;
        font-size: 1.1rem !important;
        margin-top: 20px;
    }

    /* Staggered animation delays */
    .nav-overlay.active a:nth-child(1) { transition-delay: 0.1s; }
    .nav-overlay.active a:nth-child(2) { transition-delay: 0.15s; }
    .nav-overlay.active a:nth-child(3) { transition-delay: 0.2s; }
    .nav-overlay.active a:nth-child(4) { transition-delay: 0.25s; }
    .nav-overlay.active a:nth-child(5) { transition-delay: 0.3s; }
    .nav-overlay.active a:nth-child(6) { transition-delay: 0.35s; }
}

.no-scroll {
    overflow: hidden;
}

/* Accessibility: Focus visible */
:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 4px;
    border-radius: 4px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-delay: -1ms !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        background-attachment: initial !important;
        scroll-behavior: auto !important;
        transition-duration: 0s !important;
        transition-delay: 0s !important;
    }
}

/* HERO */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #080F2E 0%, #0D1F5C 60%, #162680 100%);
    display: flex;
    align-items: center;
    padding-top: 140px;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 56px 56px;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 55% 45% at 75% 50%, rgba(196, 18, 48, 0.12) 0%, transparent 65%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(196, 18, 48, 0.1);
    border: 1px solid var(--red);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--red);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.hero-label {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
}

.hero h1 {
    color: var(--white);
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    font-style: italic;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

.hero-tagline {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 32px;
    max-width: 600px;
}

.hero-data {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--white);
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 500;
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 16px;
}

.btn-primary {
    background: var(--red);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background: var(--red-dark);
    transform: scale(1.05);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
}

.hero-img {
    display: flex;
    justify-content: center;
    animation: float 5s infinite ease-in-out;
    filter: drop-shadow(0 12px 48px rgba(196, 18, 48, 0.2));
}

.hero-img img {
    width: 280px;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* SOBRE O CONGRESSO - PREMIUM REDESIGN */
.sobre {
    background-color: #F8FAFC;
    background-image:
        radial-gradient(at 0% 0%, rgba(13, 31, 92, 0.03) 0%, transparent 50%),
        radial-gradient(at 100% 100%, rgba(196, 18, 48, 0.03) 0%, transparent 50%);
    padding-top: 160px;
    padding-bottom: 160px;
}

.sobre-header {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
}

.sobre-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--navy-dark);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
}

.sobre-header .title-accent {
    width: 80px;
    height: 6px;
    background: linear-gradient(90deg, var(--red), var(--magenta));
    margin: 30px auto 0;
    border-radius: 10px;
}

.sobre-intro {
    max-width: 1000px;
    margin: 0 auto 100px;
    text-align: left;
    position: relative;
    padding-left: 40px;
    border-left: 4px solid rgba(13, 31, 92, 0.1);
}

.sobre-intro p {
    color: var(--navy);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 28px;
    opacity: 0.85;
    font-weight: 400;
}

.sobre-intro p strong {
    color: var(--navy-dark);
    font-weight: 600;
}

/* ===== PILLAR CARDS — Congresso (redesign) ===== */
.pillars-block {
    max-width: 1040px;
    margin: 0 auto;
}

.pillars-kicker {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--navy-mid);
    text-align: center;
    margin-bottom: 20px;
    opacity: 0.9;
}

.pillars-kicker::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    margin: 14px auto 0;
    background: linear-gradient(90deg, var(--red), var(--magenta));
    border-radius: 2px;
}

.pillars-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.pillar-card {
    position: relative;
    background: linear-gradient(155deg, #0c1432 0%, #080F2E 42%, #0a1736 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.38s ease,
        box-shadow 0.38s ease;
    cursor: default;
    box-shadow:
        0 4px 24px rgba(13, 31, 92, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.pillar-card:hover {
    transform: translateY(-6px);
    border-color: rgba(196, 18, 48, 0.42);
    box-shadow:
        0 20px 56px rgba(13, 31, 92, 0.18),
        0 12px 40px rgba(196, 18, 48, 0.14);
}

/* Brilho de canto no hover */
.pillar-card::before {
    content: '';
    position: absolute;
    top: -90px;
    right: -90px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(196, 18, 48, 0.14) 0%, transparent 62%);
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
    z-index: 2;
}

.pillar-card:hover::before {
    opacity: 1;
}

/* Faixa de luz superior */
.pillar-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.055) 0%, transparent 100%);
    pointer-events: none;
    border-radius: 20px 20px 0 0;
}

.pillar-card-inner {
    padding: 30px 30px 28px;
    position: relative;
    z-index: 1;
}

/* Linha decorativa lateral esquerda */
.pillar-accent {
    position: absolute;
    left: 0;
    top: 18%;
    bottom: 18%;
    width: 4px;
    background: linear-gradient(to bottom, transparent, #C41230, #C2185B, transparent);
    border-radius: 0 3px 3px 0;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.pillar-card:hover .pillar-accent {
    opacity: 1;
}

/* Linha inferior colorida */
.pillar-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #C41230, #C2185B, #C41230);
    opacity: 0.72;
    background-size: 200% 100%;
    transition: opacity 0.35s ease;
}

.pillar-card:hover::after {
    opacity: 1;
}

/* Topo do card: ícone + número */
.pillar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.pillar-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(145deg, rgba(196, 18, 48, 0.18) 0%, rgba(196, 18, 48, 0.08) 100%);
    border: 1px solid rgba(196, 18, 48, 0.32);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e8a0a8;
    transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.pillar-card:hover .pillar-icon {
    background: linear-gradient(145deg, rgba(196, 18, 48, 0.28) 0%, rgba(196, 18, 48, 0.12) 100%);
    border-color: rgba(196, 18, 48, 0.5);
    color: #ffb8c0;
    box-shadow: 0 6px 20px rgba(196, 18, 48, 0.2);
}

.pillar-number {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 5vw, 2.65rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.05em;
    user-select: none;
    transition: color 0.35s ease;
    color: rgba(255, 255, 255, 0.07);
}

.pillar-card:hover .pillar-number {
    color: rgba(196, 18, 48, 0.14);
}

.pillar-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1rem, 2.2vw, 1.12rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.32;
    letter-spacing: -0.02em;
}

.pillar-text {
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.75;
    margin: 0;
}

/* Responsivo */
@media (max-width: 768px) {
    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pillar-card-inner {
        padding: 24px 22px 22px;
    }

    .pillar-number {
        font-size: 1.85rem;
    }

    .pillars-kicker {
        margin-bottom: 16px;
    }
}

@media (max-width: 991px) {
    .sobre {
        padding: 100px 0;
    }

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

    .sobre-intro {
        padding-left: 20px;
        margin-bottom: 60px;
    }
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .container {
        padding: 0 25px;
    }

    .hero .container,
    .sobre .container {
        gap: 40px;
    }
}

@media (max-width: 991px) {
    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero {
        padding: 160px 0 80px;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-tagline {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 24px;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        width: 100%;
    }

    .sobre .container {
        grid-template-columns: 1fr;
    }

    .sobre-cards {
        margin-top: 40px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    .hero-btns a {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .sobre-cards {
        grid-template-columns: 1fr;
    }
}

/* PALESTRANTES - CARROSSEL */
.palestrantes {
    background-color: var(--off-white);
    padding-top: 140px;
    padding-bottom: 140px;
}

.palestrantes-intro {
    text-align: center;
    margin-bottom: 56px;
}

.palestrantes .section-title {
    color: var(--navy-dark);
    margin-bottom: 16px;
}

.palestrantes .title-accent {
    width: 80px;
    height: 6px;
    background: linear-gradient(90deg, var(--red), var(--magenta));
    margin: 0 auto 24px;
    border-radius: 10px;
}

.palestrantes-subtitle {
    color: var(--gray-text);
    font-size: 1rem;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
}

.palestrantes-carousel {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    color: var(--navy);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.carousel-btn:hover:not(:disabled) {
    border-color: var(--navy);
    box-shadow: var(--shadow-md);
    color: var(--red);
}

.carousel-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.carousel-prev {
    left: -24px;
}

.carousel-next {
    right: -24px;
}

.carousel-viewport {
    overflow: hidden;
    margin: 0 56px;
}

.palestrantes-track {
    display: flex;
    gap: 24px;
    transition: transform var(--transition);
}

@media (prefers-reduced-motion: reduce) {
    .palestrantes-track {
        transition: none;
    }
}

.palestrante-card {
    flex: 0 0 100%;
    min-width: 0;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    min-height: 380px;
    transition: box-shadow var(--transition);
}

.palestrante-card:hover {
    box-shadow: var(--shadow-md);
}

.palestrante-img {
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
    width: 100%;
    overflow: hidden;
    background: var(--off-white);
}

.palestrante-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
}

.palestrante-info {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.palestrante-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 6px;
}

.palestrante-vinculo {
    font-size: 0.85rem;
    color: var(--red);
    font-weight: 600;
    margin-bottom: 8px;
}

.palestrante-tema {
    font-size: 0.9rem;
    color: var(--gray-text);
    line-height: 1.5;
    margin-bottom: 12px;
    flex-grow: 1;
}

.palestrante-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(13, 31, 92, 0.08);
    color: var(--navy-mid);
    width: fit-content;
    margin-bottom: 12px;
}

.palestrante-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.palestrante-btn {
    font-size: 0.8rem;
    padding: 8px 14px;
    border-radius: 10px;
    font-weight: 600;
    border: 1px solid var(--border);
    color: var(--navy);
    background: transparent;
}

.palestrante-btn:hover {
    border-color: var(--navy);
    color: var(--red);
}

.palestrante-btn.orcid-btn {
    color: var(--magenta);
}

.palestrante-btn.orcid-btn:hover {
    border-color: var(--magenta);
    color: var(--magenta);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 32px;
}

.carousel-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    padding: 0;
}

.carousel-dots button.active {
    background: var(--red);
    transform: scale(1.2);
}

.carousel-dots button:hover:not(.active) {
    background: var(--navy-mid);
}

@media (min-width: 768px) {
    .palestrante-card {
        flex: 0 0 calc(50% - 12px);
        min-height: 400px;
    }
}

@media (min-width: 1024px) {
    .palestrante-card {
        flex: 0 0 calc(33.333% - 16px);
    }
}

@media (max-width: 767px) {
    .carousel-prev {
        left: 8px;
    }

    .carousel-next {
        right: 8px;
    }

    .carousel-viewport {
        margin: 0 48px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }
}

/* GTS - GRUPOS DE TRABALHO */
.gts {
    background: linear-gradient(180deg, #080F2E 0%, #0a1438 48%, #080F2E 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.gts::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: min(55vw, 520px);
    height: 75%;
    background: radial-gradient(circle, rgba(196, 18, 48, 0.09) 0%, transparent 68%);
    pointer-events: none;
}

.gts .container.fade-in {
    position: relative;
    z-index: 1;
}

.gts-intro {
    margin-bottom: 48px;
}

.gts .section-title {
    color: var(--white);
    margin-bottom: 16px;
}

.gts .title-accent {
    width: 80px;
    height: 6px;
    background: linear-gradient(90deg, var(--red), var(--magenta));
    margin: 0 auto 28px;
    border-radius: 10px;
}

.gts-subtitle {
    color: rgba(255, 255, 255, 0.62);
    margin-bottom: 0;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
}

.gts-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 920px;
    margin: 0 auto;
    text-align: left;
}

.gt-item {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease;
}

.gt-item:not(.active):hover {
    transform: translateY(-3px);
    border-color: rgba(196, 18, 48, 0.28);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
}

.gt-item.active {
    border-color: rgba(196, 18, 48, 0.45);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 16px 48px rgba(196, 18, 48, 0.14);
}

.gt-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 3px;
    background: linear-gradient(to bottom, transparent, #C41230, transparent);
    border-radius: 0 2px 2px 0;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: 2;
}

.gt-item.active::before {
    opacity: 1;
}

.gt-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #C41230, #C2185B);
    opacity: 0.58;
    pointer-events: none;
    z-index: 1;
}

.gt-header {
    padding: 22px 26px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    position: relative;
    z-index: 3;
}

.gt-number {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background: rgba(196, 18, 48, 0.14);
    border: 1px solid rgba(196, 18, 48, 0.32);
    color: #ff7a88;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    flex-shrink: 0;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.gt-item.active .gt-number {
    background: rgba(196, 18, 48, 0.22);
    border-color: rgba(196, 18, 48, 0.48);
    color: #ffb0b8;
}

.gt-img {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(196, 18, 48, 0.42);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
    flex-shrink: 0;
}

.gt-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.gt-info {
    flex-grow: 1;
    min-width: 0;
}

.gt-info h3 {
    font-size: clamp(0.9rem, 2.1vw, 1.08rem);
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.gt-info span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.52);
}

.gt-chevron {
    color: rgba(255, 255, 255, 0.42);
    transition: var(--transition);
    flex-shrink: 0;
}

.gt-item.active .gt-chevron {
    transform: rotate(180deg);
    color: var(--red);
}

.gt-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 24px;
}

.gt-item.active .gt-body {
    grid-template-rows: 1fr;
    padding-bottom: 26px;
}

.gt-body-inner {
    overflow: hidden;
    min-height: 0;
}

.gt-content {
    padding-top: 14px;
    padding-bottom: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.gt-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.78;
    margin-bottom: 16px;
}

.gt-content ul {
    list-style: disc;
    margin-left: 0;
    padding-left: 1.15em;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.86rem;
    line-height: 1.65;
}

.gt-content ul li::marker {
    color: rgba(196, 18, 48, 0.85);
}

.lattes-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid rgba(196, 18, 48, 0.42);
    color: #ffa0a8;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.lattes-link:hover {
    background: rgba(196, 18, 48, 0.16);
    border-color: rgba(196, 18, 48, 0.55);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(196, 18, 48, 0.15);
}

@media (max-width: 576px) {
    .gts-intro {
        margin-bottom: 40px;
    }

    .gts-grid {
        gap: 14px;
    }

    .gt-header {
        padding: 18px 16px;
        gap: 12px;
    }

    .gt-number {
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: 0.62rem;
    }

    .gt-img {
        width: 48px;
        height: 48px;
        min-width: 48px;
    }

    .gt-info h3 {
        font-size: 0.88rem;
    }
}

/* PROGRAMAÇÃO */
.programacao {
    background-color: var(--off-white);
    padding-bottom: 120px;
}

.programacao .gts-intro {
    text-align: center;
}

.programacao .gts-subtitle {
    color: var(--gray-text);
}

.tabs-header {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 14px 28px;
    border-radius: 16px;
    font-weight: 600;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--gray-text);
}

.tab-btn:hover {
    border-color: var(--navy);
}

.tab-btn.active {
    background: var(--navy-dark);
    color: var(--white);
    border-color: var(--navy-dark);
    box-shadow: var(--shadow-sm);
}

.tabs-content {
    max-width: 900px;
    margin: 0 auto;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.prog-card {
    background: var(--white);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.prog-header {
    background: var(--navy-dark);
    padding: 24px 32px;
    display: flex;
    align-items: flex-end;
    gap: 16px;
}

.prog-day-num {
    font-size: 2.8rem;
    line-height: 0.8;
    font-weight: 800;
    color: var(--red);
}

.prog-day-info {
    color: var(--white);
}

.prog-day-info h4 {
    font-size: 1.2rem;
    font-weight: 700;
}

.prog-body {
    padding: 0 32px;
}

.prog-item {
    padding: 24px 0;
    display: flex;
    gap: 24px;
    border-bottom: 1px solid var(--off-white);
}

.prog-item:last-child {
    border-bottom: none;
}

.prog-time {
    width: 120px;
    flex-shrink: 0;
    color: var(--red);
    font-weight: 700;
    font-size: 0.85rem;
}

.prog-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 4px;
}

.prog-content p {
    font-size: 0.9rem;
    color: var(--gray-text);
}

.prog-link {
    display: block;
    text-align: center;
    margin-top: 32px;
    color: var(--navy);
    font-weight: 600;
    text-decoration: underline;
}

.prog-link:hover {
    color: var(--red);
}

/* CRONOGRAMA - TIMELINE (REDESIGN) */
.cronograma {
    padding-top: 160px;
    padding-bottom: 160px;
}

.timeline {
    position: relative;
    max-width: 1100px;
    margin: 80px auto 0;
    padding-left: 120px;
    /* Space for the left line */
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 20px;
    bottom: 20px;
    width: 1px;
    background: linear-gradient(180deg, var(--red) 0%, rgba(13, 31, 92, 0.1) 100%);
    opacity: 0.4;
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -112px;
    top: 10px;
    width: 48px;
    height: 48px;
    background: var(--white);
    border: 2px solid var(--red);
    border-radius: 50%;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    /* Color for stroke="currentColor" */
    box-shadow: 0 0 0 8px rgba(196, 18, 48, 0.05);
    transition: var(--transition);
}

.timeline-marker svg {
    width: 20px;
    height: 20px;
}

.timeline-item:hover .timeline-marker {
    background: var(--red);
    color: var(--white);
    transform: scale(1.2);
    box-shadow: 0 0 0 12px rgba(196, 18, 48, 0.15);
}

.timeline-card {
    background: var(--white);
    padding: 40px;
    border-radius: 32px;
    box-shadow: 0 10px 40px rgba(13, 31, 92, 0.04);
    border: 1px solid rgba(13, 31, 92, 0.04);
    flex-grow: 1;
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.timeline-item:hover .timeline-card {
    transform: translateX(10px);
    box-shadow: 0 20px 60px rgba(13, 31, 92, 0.08);
    border-color: rgba(196, 18, 48, 0.1);
}

.timeline-info h4 {
    font-size: 1.4rem;
    color: var(--navy-dark);
    margin-bottom: 8px;
    font-weight: 700;
}

.timeline-info p {
    font-size: 0.95rem;
    color: var(--gray-text);
    max-width: 500px;
}

.timeline-date {
    background: rgba(196, 18, 48, 0.06);
    color: var(--red);
    padding: 12px 24px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.1rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 991px) {
    .timeline {
        padding-left: 35px;
    }

    .timeline-marker {
        left: -32px;
    }

    .timeline-card {
        padding: 24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .timeline-date {
        width: 100%;
        justify-content: center;
    }
}

/* ORIENTAÇÕES (REDESIGN) */
.orientacoes {
    background-color: #050810;
    background-image:
        radial-gradient(circle at 100% 100%, rgba(196, 18, 48, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 0% 0%, rgba(13, 31, 92, 0.15) 0%, transparent 40%);
    color: var(--white);
    padding: 140px 40px;
    border-radius: 40px;
    /* Keeping the radius substantial */
}

.orientacoes-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 100px;
    align-items: flex-start;
}

.orient-text {
    position: sticky;
    top: 120px;
}

.orient-text h2 {
    font-size: 3.2rem;
    line-height: 1.1;
    margin-bottom: 32px;
    color: var(--white);
    font-weight: 800;
}

.orient-desc {
    background: rgba(255, 255, 255, 0.03);
    border-left: 4px solid var(--red);
    padding: 30px;
    border-radius: 0 24px 24px 0;
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.resource-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.resource-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 32px;
    border-radius: 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    transition: var(--transition);
}

.resource-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(196, 18, 48, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.res-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
    box-shadow: 0 10px 20px rgba(196, 18, 48, 0.3);
}

.res-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--white);
}

.res-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
}

.res-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--red);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.resource-card:hover .res-btn {
    color: var(--white);
}

@media (max-width: 1100px) {
    .orientacoes-grid {
        gap: 60px;
    }

    .orient-text h2 {
        font-size: 2.8rem;
    }
}

@media (max-width: 991px) {
    .orientacoes-grid {
        grid-template-columns: 1fr;
    }

    .orient-text {
        position: static;
        margin-bottom: 60px;
    }
}

.dl-arrow {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.resource-card:hover .dl-arrow {
    color: var(--white);
    opacity: 1;
    transform: translateX(5px);
}

/* CTA INSCRIÇÃO */
.cta-section {
    background-color: var(--off-white);
}

.cta-box {
    background-color: var(--navy-dark);
    border-radius: 24px;
    padding: 80px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--red);
}

.cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center 0%, rgba(196, 18, 48, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 20px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 40px;
}

.cta-note {
    display: block;
    margin-top: 24px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

.cta-content .btn-inscricao-even3 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-inline: auto;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

/* FOOTER */
.footer {
    background-color: #050810;
    padding: 60px 20px 40px;
    border-top: 3px solid var(--red);
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 32px;
}

.footer-links {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin-bottom: 32px;
}

.copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    max-width: 600px;
}

.footer-credit {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-credit-label {
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.28);
}

.footer-credit-link {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    opacity: 0.62;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-credit-link:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.footer-credit-link:focus-visible {
    outline: 1px solid rgba(255, 255, 255, 0.35);
    outline-offset: 4px;
    border-radius: 4px;
    opacity: 1;
}

.footer-credit-logo {
    height: 44px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    display: block;
}

@media (max-width: 991px) {
    .orientacoes-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cta-box {
        padding: 40px 12px;
        border-radius: 16px;
        width: 100%;
    }

    .cta-section {
        padding-left: 0;
        padding-right: 0;
    }

    .cta-section .container {
        padding: 0 10px;
    }

    .orientacoes {
        padding: 80px 15px;
        border-radius: 20px;
    }

    .prog-item {
        flex-direction: column;
        gap: 8px;
    }

    .prog-time {
        width: auto;
    }

    .resource-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 24px;
    }

    .dl-arrow {
        display: none;
    }
}

/* ===== HERO COUNTDOWN ===== */
.hero-countdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    background: rgba(13, 31, 92, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 40px;
    padding: 60px 40px;
    backdrop-filter: blur(20px);
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}

/* Brilho sutil no canto */
.hero-countdown::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(196, 18, 48, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.countdown-label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white);
    background: rgba(196, 18, 48, 0.1);
    border: 1px solid var(--red);
    padding: 8px 24px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.countdown-grid {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 72px;
}

.countdown-value {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -0.02em;

    /* Fundo do dígito */
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 24px 18px;
    min-width: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);

    /* Transição suave ao trocar número */
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.countdown-value.flip {
    transform: scale(0.92);
    opacity: 0.6;
}

.countdown-name {
    font-family: 'Poppins', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.40);
}

.countdown-sep {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #C41230;
    line-height: 1;
    margin-bottom: 24px;
    /* alinha verticalmente com os números */
    user-select: none;
}

.countdown-event-date {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.40);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 16px;
    width: 100%;
    justify-content: center;
}

.countdown-event-date svg {
    color: #C41230;
    flex-shrink: 0;
}

/* Responsivo */
@media (max-width: 768px) {
    .hero-countdown {
        padding: 28px 20px;
        width: 100%;
    }

    .countdown-unit {
        min-width: 56px;
    }

    .countdown-value {
        font-size: 1.8rem;
        padding: 10px 12px;
        min-width: 56px;
    }

    .countdown-sep {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
}
