/* ============================================================
   FORTE 2026 – XXIII Conferência Internacional de Segurança
   custom.css – Design moderno com partículas AI
   ============================================================ */

/* ── Variáveis ──────────────────────────────────────────────── */
:root {
    --navy:      #080F1E;
    --dark:      #0D1B33;
    --blue:      #1A3A6B;
    --electric:  #2563EB;
    --cyan:      #0ACDCD;
    --light:     #F0F5FB;
    --light-2:   #E4EDF8;
    --muted:     #8FA3BF;
    --dark-text: #1E293B;
    --gold:      #B8A062;
    --white:     #FFFFFF;
    --red-err:   #DC2626;

    --font-outfit: 'Outfit', sans-serif;
    --font-inter:  'Inter', sans-serif;

    --radius-sm:  0.5rem;
    --radius-md:  0.75rem;
    --radius-lg:  1rem;
    --radius-xl:  1.25rem;

    --shadow-card: 0 4px 24px rgba(8, 15, 30, 0.3);
    --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.15);
    --shadow-cyan: 0 0 24px rgba(10, 205, 205, 0.2);

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset e Base ────────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-inter);
    background-color: var(--navy);
    color: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

/* ── Scrollbar customizada ───────────────────────────────────── */
::-webkit-scrollbar        { width: 6px; }
::-webkit-scrollbar-track  { background: var(--navy); }
::-webkit-scrollbar-thumb  { background: var(--electric); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--cyan); }

/* ══════════════════════════════════════════════════════════════
   NAVEGAÇÃO
══════════════════════════════════════════════════════════════ */
#main-header {
    background: transparent;
}

#main-header.scrolled {
    background: rgba(8, 15, 30, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(37, 99, 235, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav-container {
    width: 100%;
}

/* Logo */
.nav-logo {
    text-decoration: none;
    transition: opacity var(--transition);
}
.nav-logo:hover {
    opacity: 0.85;
}
.nav-logo-img {
    filter: brightness(1.1);
    transition: filter var(--transition);
}
.nav-logo:hover .nav-logo-img {
    filter: brightness(1.3) drop-shadow(0 0 8px rgba(10, 205, 205, 0.5));
}

/* Links do nav */
.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.875rem;
    font-family: var(--font-outfit);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: calc(100% - 1.75rem);
    height: 2px;
    background: var(--cyan);
    border-radius: 1px;
    transition: transform var(--transition);
}
.nav-link:hover {
    color: var(--white);
    background: rgba(37, 99, 235, 0.12);
}
.nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}
.nav-link-active {
    color: var(--cyan) !important;
}
.nav-link-active::after {
    transform: translateX(-50%) scaleX(1) !important;
}
.nav-link-live {
    color: rgba(255, 255, 255, 0.9);
}

/* Live dot */
.live-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #EF4444;
    border-radius: 50%;
    animation: livePulse 1.5s infinite;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.3);
}
.live-dot-sm {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #EF4444;
    border-radius: 50%;
    animation: livePulse 1.5s infinite;
}
.live-dot-lg {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #EF4444;
    border-radius: 50%;
    animation: livePulse 1.5s infinite;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.25);
}
@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.6; transform: scale(0.85); }
}

/* Seletor de idioma */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.6rem;
    font-family: var(--font-outfit);
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.lang-btn:hover {
    color: var(--white);
    background: rgba(255,255,255,0.08);
}
.lang-btn-active {
    color: var(--white) !important;
    background: rgba(37, 99, 235, 0.2) !important;
}

/* Botão inscrição nav */
.btn-inscricao {
    background: linear-gradient(135deg, var(--electric), #1D4ED8);
    color: var(--white);
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 2px 12px rgba(37, 99, 235, 0.35);
    transition: all var(--transition);
}
.btn-inscricao:hover {
    background: linear-gradient(135deg, #3B82F6, var(--electric));
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.5);
    transform: translateY(-1px);
}

/* Mobile menu */
.mobile-menu-panel {
    background: rgba(8, 15, 30, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(37, 99, 235, 0.15);
}
.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1rem;
    font-family: var(--font-outfit);
    font-weight: 500;
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all var(--transition);
}
.mobile-nav-link:hover {
    background: rgba(37, 99, 235, 0.15);
    color: var(--white);
}

/* ══════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════ */
.hero-section {
    position: relative;
    min-height: 100vh;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: saturate(0.6) brightness(0.45);
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(8, 15, 30, 0.92) 0%,
        rgba(13, 27, 51, 0.85) 40%,
        rgba(26, 58, 107, 0.6) 100%
    );
}
.hero-grid {
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* Badge de edição */
.hero-badge {
    background: rgba(10, 205, 205, 0.08);
    border: 1px solid rgba(10, 205, 205, 0.25);
    padding: 0.375rem 1rem;
    border-radius: 100px;
}
.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--cyan);
    border-radius: 50%;
    animation: livePulse 2s infinite;
}

/* Título */
.hero-title {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
}
.hero-title-forte {
    font-size: 0.7em;
    letter-spacing: 0.15em;
    color: var(--cyan);
    display: block;
    margin-bottom: 0.1em;
}
.hero-title-main {
    color: var(--white);
    text-shadow: 0 0 60px rgba(37, 99, 235, 0.3);
}
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 1.25rem;
    max-width: 520px;
    line-height: 1.6;
}

/* Botões hero */
.btn-primary-hero {
    background: linear-gradient(135deg, var(--electric), #1D4ED8);
    color: var(--white);
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 4px 24px rgba(37, 99, 235, 0.45);
    transition: all var(--transition);
    font-family: var(--font-outfit);
}
.btn-primary-hero:hover {
    background: linear-gradient(135deg, #3B82F6, var(--electric));
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.6);
    transform: translateY(-2px);
}
.btn-secondary-hero {
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition);
    font-family: var(--font-outfit);
    backdrop-filter: blur(10px);
}
.btn-secondary-hero:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255,255,255,0.4);
    transform: translateY(-2px);
}
.btn-outline-dark {
    background: transparent;
    color: var(--dark-text);
    border: 2px solid var(--electric);
    text-decoration: none;
    font-family: var(--font-outfit);
    transition: all var(--transition);
}
.btn-outline-dark:hover {
    background: var(--electric);
    color: var(--white);
    transform: translateY(-2px);
}
.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.35);
    text-decoration: none;
    font-family: var(--font-outfit);
    transition: all var(--transition);
}
.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* Card video */
.hero-video-card {
    background: rgba(13, 27, 51, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(37, 99, 235, 0.25);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-card), var(--shadow-glow);
}
.video-embed-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}
.video-embed-wrap iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
}

/* Meta info hero */
.hero-meta-item {
    background: rgba(255,255,255,0.05);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.08);
}

/* Partner logos */
.hero-partner-logo { text-decoration: none; }
.hero-partner-divider { color: rgba(255,255,255,0.2); font-size: 1.2rem; }

/* Scroll indicator */
.scroll-indicator { opacity: 0.5; }

/* ══════════════════════════════════════════════════════════════
   STATS
══════════════════════════════════════════════════════════════ */
.stat-card {
    padding: 2rem 1rem;
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.02);
    transition: border-color var(--transition), transform var(--transition);
}
.stat-card:hover {
    border-color: rgba(10, 205, 205, 0.3);
    transform: translateY(-4px);
}
.stat-num {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 900;
    line-height: 1;
}
.stat-txt {
    font-size: 0.875rem;
    font-weight: 400;
}
.stat-card-light {
    background: rgba(37, 99, 235, 0.06);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: var(--radius-md);
    padding: 1.25rem 0.75rem;
    transition: all var(--transition);
}
.stat-card-light:hover {
    border-color: var(--electric);
    transform: translateY(-2px);
}
.stat-num-light {
    font-size: 1.75rem;
    font-weight: 900;
    line-height: 1;
}

/* ══════════════════════════════════════════════════════════════
   SEÇÕES – COMMONS
══════════════════════════════════════════════════════════════ */
.section-overline {
    display: block;
    font-family: var(--font-outfit);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cyan);
}
.section-title {
    font-family: var(--font-outfit);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.01em;
}
.section-text {
    font-family: var(--font-inter);
    font-size: 0.9375rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.65);
}
.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--electric), var(--cyan));
    border-radius: 2px;
}
.section-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}
.programa-glow {
    width: 600px;
    height: 400px;
    background: rgba(37, 99, 235, 0.08);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.papers-glow {
    width: 500px;
    height: 300px;
    background: rgba(10, 205, 205, 0.06);
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
}

/* ══════════════════════════════════════════════════════════════
   PAGE HEADER (páginas internas)
══════════════════════════════════════════════════════════════ */
.page-header { position: relative; overflow: hidden; }
.page-header-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: saturate(0.5) brightness(0.35);
}
.page-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(8, 15, 30, 0.8) 0%,
        rgba(8, 15, 30, 0.95) 100%
    );
}
.page-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: -0.02em;
}
.page-subtitle {
    font-size: 1rem;
    line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════
   SOBRE – Seção clara com partículas AI
══════════════════════════════════════════════════════════════ */
.sobre-main,
.inscricao-section,
.realizacao-section {
    background: var(--light);
}

/* Canvas de partículas ficam absolutas e atrás do conteúdo */
#sobre-particles,
#light-particles,
#inscricao-particles,
#realizacao-particles {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.sobre-text-lead {
    font-family: var(--font-inter);
    font-size: 1.0625rem;
    font-weight: 500;
    line-height: 1.8;
    color: var(--dark-text);
}
.sobre-text {
    font-family: var(--font-inter);
    font-size: 0.9375rem;
    line-height: 1.8;
    color: rgba(30, 41, 59, 0.85);
}
.sobre-quote {
    border-left: 3px solid var(--electric);
    padding-left: 1.5rem;
    margin-left: 0;
}
.sobre-quote-text {
    font-size: 1rem;
    color: var(--electric);
    line-height: 1.7;
    font-style: italic;
}

/* Info card sobre */
.sobre-info-card {
    background: var(--white);
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: 0 4px 24px rgba(37, 99, 235, 0.08);
}
.sobre-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(37, 99, 235, 0.08);
}
.sobre-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.sobre-info-label {
    display: block;
    font-family: var(--font-outfit);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.2rem;
}
.sobre-info-value {
    display: block;
    font-family: var(--font-inter);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--dark-text);
}

/* Foto grid */
.hero-photo-grid .photo-card {
    height: 180px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}
.hero-photo-grid .photo-card-tall {
    height: 100%;
    min-height: 370px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}
.hero-photo-grid img {
    transition: transform 0.5s ease;
}
.hero-photo-grid .photo-card:hover img,
.hero-photo-grid .photo-card-tall:hover img {
    transform: scale(1.06);
}

/* ══════════════════════════════════════════════════════════════
   GALERIA
══════════════════════════════════════════════════════════════ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    aspect-ratio: 4/3;
    cursor: pointer;
    background: rgba(13, 27, 51, 0.5);
}
.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover .gallery-img {
    transform: scale(1.08);
}
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 15, 30, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* ══════════════════════════════════════════════════════════════
   PROGRAMA – TIMELINE
══════════════════════════════════════════════════════════════ */
/* Tabs */
.programa-tab {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--muted);
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-outfit);
    min-width: 140px;
}
.programa-tab:hover {
    background: rgba(37, 99, 235, 0.12);
    color: var(--white);
    border-color: rgba(37, 99, 235, 0.3);
}
.programa-tab-active {
    background: linear-gradient(135deg, var(--electric), #1D4ED8) !important;
    border-color: var(--electric) !important;
    color: var(--white) !important;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
}
.prog-day-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--electric), var(--cyan));
    border-radius: 2px;
}

/* Timeline */
.timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.timeline-item {
    display: grid;
    grid-template-columns: 110px 32px 1fr;
    gap: 0 1rem;
    align-items: stretch;
    min-height: 80px;
}
.timeline-time {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-top: 0.75rem;
    padding-right: 0;
}
.timeline-time-brt {
    font-family: var(--font-outfit);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--cyan);
    white-space: nowrap;
}
.timeline-time-tz {
    font-size: 0.625rem;
    color: var(--muted);
    margin-top: 2px;
}
.timeline-time-cest {
    font-size: 0.625rem;
    color: rgba(143, 163, 191, 0.6);
    margin-top: 4px;
    text-align: right;
}

/* Connector */
.timeline-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.timeline-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--electric);
    background: var(--navy);
    margin-top: 0.875rem;
    shrink: 0;
    flex-shrink: 0;
    z-index: 1;
    position: relative;
    transition: all var(--transition);
}
.timeline-dot-keynote  { border-color: var(--cyan);    background: rgba(10, 205, 205, 0.2); }
.timeline-dot-painel   { border-color: var(--electric); background: rgba(37, 99, 235, 0.2); }
.timeline-dot-flash    { border-color: var(--gold);    background: rgba(184, 160, 98, 0.2); }
.timeline-dot-intervalo,
.timeline-dot-logistica { border-color: rgba(143, 163, 191, 0.4); background: transparent; }
.timeline-dot-abertura,
.timeline-dot-boasvindas { border-color: var(--cyan);   background: rgba(10, 205, 205, 0.15); }
.timeline-dot-entrevista { border-color: #8B5CF6;       background: rgba(139, 92, 246, 0.2); }
.timeline-dot-social,
.timeline-dot-encerramento { border-color: #10B981;     background: rgba(16, 185, 129, 0.2); }

.timeline-line {
    flex: 1;
    width: 2px;
    background: rgba(37, 99, 235, 0.2);
    margin-top: 4px;
}
.timeline-item:last-child .timeline-line {
    display: none;
}

/* Cards da timeline */
.timeline-content { padding: 0.5rem 0 1.25rem 0; }
.timeline-card {
    background: rgba(13, 27, 51, 0.6);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    transition: all var(--transition);
    backdrop-filter: blur(10px);
}
.timeline-card:hover {
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: var(--shadow-glow);
    transform: translateX(4px);
}
.timeline-card-keynote  { border-color: rgba(10, 205, 205, 0.25); }
.timeline-card-keynote:hover  { border-color: var(--cyan); box-shadow: var(--shadow-cyan); }
.timeline-card-intervalo,
.timeline-card-logistica { background: rgba(8, 15, 30, 0.3); border-style: dashed; border-color: rgba(143, 163, 191, 0.2); }
.timeline-card-social { border-color: rgba(16, 185, 129, 0.25); }
.timeline-card-encerramento { border-color: rgba(16, 185, 129, 0.25); }

.timeline-card-title { font-size: 0.9375rem; line-height: 1.5; }
.timeline-card-sub   { font-size: 0.8125rem; line-height: 1.5; }

/* Badges de tipo */
.prog-tipo-badge {
    display: inline-block;
    font-family: var(--font-outfit);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
}
.prog-tipo-keynote  { background: rgba(10, 205, 205, 0.15); color: var(--cyan); border: 1px solid rgba(10, 205, 205, 0.3); }
.prog-tipo-painel   { background: rgba(37, 99, 235, 0.15); color: #60A5FA; border: 1px solid rgba(37, 99, 235, 0.3); }
.prog-tipo-flash    { background: rgba(184, 160, 98, 0.15); color: var(--gold); border: 1px solid rgba(184, 160, 98, 0.3); }
.prog-tipo-intervalo,
.prog-tipo-logistica { background: rgba(143, 163, 191, 0.1); color: var(--muted); border: 1px solid rgba(143, 163, 191, 0.2); }
.prog-tipo-abertura,
.prog-tipo-boasvindas { background: rgba(10, 205, 205, 0.1); color: var(--cyan); border: 1px solid rgba(10, 205, 205, 0.2); }
.prog-tipo-entrevista { background: rgba(139, 92, 246, 0.15); color: #A78BFA; border: 1px solid rgba(139, 92, 246, 0.3); }
.prog-tipo-social,
.prog-tipo-encerramento { background: rgba(16, 185, 129, 0.15); color: #34D399; border: 1px solid rgba(16, 185, 129, 0.3); }

/* Card preview do programa (home) */
.programa-card-mini {
    background: rgba(13, 27, 51, 0.7);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all var(--transition);
}
.programa-card-mini:hover {
    border-color: rgba(37, 99, 235, 0.5);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}
.programa-card-titulo {
    font-family: var(--font-outfit);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.5;
}

/* CTA inscrição no programa */
.inscricao-cta-box {
    background: rgba(13, 27, 51, 0.7);
    border: 1px solid rgba(10, 205, 205, 0.2);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    backdrop-filter: blur(10px);
}

/* ══════════════════════════════════════════════════════════════
   REALIZAÇÃO – Cards de organizadores
══════════════════════════════════════════════════════════════ */
.org-card {
    background: var(--white);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.08);
    transition: all var(--transition);
}
.org-card:hover {
    box-shadow: 0 8px 40px rgba(37, 99, 235, 0.15);
    transform: translateY(-4px);
}
.org-card-inner {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 0;
}
.org-card-logo-area {
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
}
.org-icon-badge {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.org-icon-kas   { background: linear-gradient(135deg, #C41230, #8B0D22); }
.org-icon-cebri { background: linear-gradient(135deg, var(--electric), #1D4ED8); }
.org-icon-ue    { background: linear-gradient(135deg, #003399, #003399); font-size: 2rem; }

.org-card-body {
    padding: 2rem 2.5rem;
}
.org-title {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--dark-text);
    line-height: 1.3;
}
.org-text {
    font-family: var(--font-inter);
    font-size: 0.9rem;
    line-height: 1.75;
}

@media (max-width: 640px) {
    .org-card-inner { grid-template-columns: 1fr; }
    .org-card-logo-area { padding: 1.5rem; }
}

/* ══════════════════════════════════════════════════════════════
   POLICY PAPERS
══════════════════════════════════════════════════════════════ */
.papers-intro-box {
    background: rgba(13, 27, 51, 0.6);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--radius-xl);
    padding: 2rem;
}
.papers-icon-box {
    width: 56px;
    height: 56px;
    background: rgba(10, 205, 205, 0.1);
    border: 1px solid rgba(10, 205, 205, 0.25);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}
.papers-intro-text {
    font-size: 0.9375rem;
    line-height: 1.8;
}

/* Destaque 2026 */
.papers-featured-card {
    background: rgba(13, 27, 51, 0.8);
    border: 1px solid rgba(10, 205, 205, 0.25);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 8px 40px rgba(10, 205, 205, 0.08);
}
.papers-featured-badge {
    position: absolute;
    top: -1px;
    left: 2rem;
    background: linear-gradient(135deg, var(--electric), var(--cyan));
    color: var(--white);
    font-family: var(--font-outfit);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3rem 1rem;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.papers-cover-placeholder {
    background: rgba(8, 15, 30, 0.6);
    border: 1px dashed rgba(10, 205, 205, 0.3);
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 2/3;
}
.papers-cover-inner { height: 100%; }
.papers-topic-dot {
    width: 6px;
    height: 6px;
    background: var(--cyan);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Grid edições anteriores */
.papers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}
.paper-card {
    background: rgba(13, 27, 51, 0.6);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}
.paper-card:hover {
    border-color: rgba(37, 99, 235, 0.4);
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
}
.paper-cover-wrap { aspect-ratio: 2/3; overflow: hidden; position: relative; }
.paper-cover-pdf {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 58, 107, 0.8), rgba(8, 15, 30, 0.9));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}
.paper-cover-placeholder-sm {
    width: 100%;
    height: 100%;
    background: rgba(8, 15, 30, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}
.paper-info { padding: 1.25rem; }
.paper-titulo { line-height: 1.5; }
.paper-download-btn {
    color: var(--cyan);
    text-decoration: none;
    font-family: var(--font-outfit);
    transition: color var(--transition);
}
.paper-download-btn:hover { color: var(--white); }

/* Botão em breve */
.btn-em-breve {
    background: rgba(143, 163, 191, 0.1);
    border: 1px solid rgba(143, 163, 191, 0.2);
    color: var(--muted);
    font-family: var(--font-outfit);
    cursor: not-allowed;
    border-radius: var(--radius-lg);
}

.papers-kas-note {
    font-family: var(--font-inter);
    font-size: 0.8125rem;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════════
   FORMULÁRIO DE INSCRIÇÃO
══════════════════════════════════════════════════════════════ */
.inscricao-event-info { }
.inscricao-info-chip {
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 100px;
}

.form-errors {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
}

.inscricao-form-card {
    background: var(--white);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: 0 4px 32px rgba(37, 99, 235, 0.08);
}

.form-label {
    display: block;
    font-family: var(--font-outfit);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
    letter-spacing: 0.01em;
}
.form-required {
    color: var(--red-err);
    margin-left: 0.25rem;
}

.form-input,
.form-select,
.form-textarea {
    display: block;
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-inter);
    font-size: 0.9375rem;
    color: var(--dark-text);
    background: #F8FAFC;
    border: 1.5px solid #CBD5E1;
    border-radius: var(--radius-md);
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
    outline: none;
    appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--electric);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.form-input-error {
    border-color: var(--red-err) !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
}
.form-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%238FA3BF' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}
.form-textarea { resize: vertical; min-height: 100px; }
.form-error-msg {
    display: block;
    font-size: 0.75rem;
    color: var(--red-err);
    margin-top: 0.375rem;
    font-family: var(--font-inter);
}

/* Radio cards */
.radio-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    border: 1.5px solid #CBD5E1;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
    background: #F8FAFC;
    flex: 1;
}
.radio-card:hover { border-color: var(--electric); background: rgba(37,99,235,0.04); }
.radio-card-selected { border-color: var(--electric) !important; background: rgba(37,99,235,0.06) !important; }
.radio-input { accent-color: var(--electric); }
.radio-label { font-family: var(--font-outfit); color: var(--dark-text); }

/* Checkbox */
.checkbox-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    padding: 1rem 1.25rem;
    border: 1.5px solid rgba(37, 99, 235, 0.15);
    border-radius: var(--radius-md);
    background: rgba(37, 99, 235, 0.03);
    transition: all var(--transition);
}
.checkbox-card:hover { border-color: var(--electric); }
.checkbox-input {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    flex-shrink: 0;
    accent-color: var(--electric);
    cursor: pointer;
}
.checkbox-label { color: var(--dark-text); }

/* Botão submit */
.btn-submit-form {
    background: linear-gradient(135deg, var(--electric), #1D4ED8);
    color: var(--white);
    border: none;
    font-family: var(--font-outfit);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
    cursor: pointer;
    transition: all var(--transition);
}
.btn-submit-form:hover:not(:disabled) {
    background: linear-gradient(135deg, #3B82F6, var(--electric));
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.55);
    transform: translateY(-2px);
}
.btn-submit-form:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* ══════════════════════════════════════════════════════════════
   AO VIVO
══════════════════════════════════════════════════════════════ */
.aovivo-player-card {
    background: rgba(13, 27, 51, 0.7);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}
.aovivo-notice-icon { }
.aovivo-iframe-wrap iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
}

/* Seletor de idioma do live */
.lang-stream-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--muted);
    cursor: pointer;
    font-family: var(--font-outfit);
    transition: all var(--transition);
}
.lang-stream-btn:hover {
    background: rgba(37,99,235,0.15);
    color: var(--white);
}
.lang-stream-active {
    background: rgba(37,99,235,0.2) !important;
    border-color: var(--electric) !important;
    color: var(--white) !important;
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.footer-section {
    position: relative;
    background: var(--navy);
    overflow: hidden;
}
.footer-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.08;
}
.footer-content { }
.footer-label {
    font-family: var(--font-outfit);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.5rem;
}
.footer-logo-link {
    text-decoration: none;
    transition: opacity var(--transition);
}
.footer-logo-link:hover { opacity: 0.7; }
.footer-logo-img { filter: brightness(0) invert(1); opacity: 0.8; }
.footer-logo-main { filter: brightness(1.1); }
.footer-partner-text {
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color var(--transition);
}
.footer-partner-text:hover { color: var(--white); }
.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37,99,235,0.3), transparent);
}
.footer-copyright { color: var(--muted); }
.footer-lang-link {
    font-family: var(--font-outfit);
    font-size: 0.75rem;
    color: var(--muted);
    text-decoration: none;
    transition: color var(--transition);
}
.footer-lang-link:hover { color: var(--white); }
.footer-lang-active { color: var(--white) !important; }

/* ══════════════════════════════════════════════════════════════
   ANIMAÇÕES DE SCROLL
══════════════════════════════════════════════════════════════ */
.scroll-animate {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.scroll-animate.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVO
══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .timeline-item {
        grid-template-columns: 90px 24px 1fr;
    }
    .timeline-time-brt { font-size: 0.75rem; }
    .timeline-card { padding: 1rem 1.125rem; }

    .inscricao-form-card { padding: 1.5rem; }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 0.75rem;
    }

    .papers-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1rem;
    }

    .hero-title { font-size: clamp(2rem, 10vw, 3rem); }
}

@media (max-width: 480px) {
    .timeline-item {
        grid-template-columns: 75px 20px 1fr;
        gap: 0 0.5rem;
    }
    .timeline-time { align-items: flex-start; }
    .timeline-time-brt { font-size: 0.6875rem; }
    .timeline-card { padding: 0.875rem 1rem; }
    .inscricao-form-card { padding: 1.25rem; }
}
