/* ═══════════════════════════════════════════════════════════════
   SINAPSEN FÓRUM 2026 — v4c
   v4b + KV ocupando faixa superior inteira (edge-to-edge)
   ═══════════════════════════════════════════════════════════════ */

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

:root {
    /* Color — same family as v1, slightly refined */
    --blue-deepest: #050d28;
    --blue-deep: #0a1d52;
    --blue-mid: #0e2a72;
    --blue-band: #1546b8;
    --blue-band-soft: #e8efff;
    --blue-cta: #2563eb;
    --blue-cta-hover: #1d4ed8;
    --cyan: #5fb8c9;
    --cyan-bright: #7DE5F5;
    --white: #ffffff;
    --paper: #FBFCFE;
    --gray-soft: #f5f7fb;
    --gray-soft-2: #EEF2F8;
    --gray-line: #e3e7f0;
    --gray-line-strong: #CDD5E2;
    --text-dark: #1F2A44;
    --text-darker: #0F172A;
    --text-mute: #5A6479;
    --text-faint: #8B95A8;
    --error: #DC2626;

    /* Type — Gantari, mesma fonte do PSD oficial do KV */
    --display: 'Gantari', system-ui, -apple-system, sans-serif;
    --body: 'Gantari', system-ui, -apple-system, sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, monospace;

    /* Layout */
    --max-w: 1200px;
    --gutter: clamp(1.2rem, 4vw, 3rem);

    /* Motion */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --t-fast: 220ms;
    --t-mid: 380ms;
    --t-slow: 700ms;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

html, body {
    width: 100%;
    font-family: var(--body);
    background: var(--white);
    color: var(--text-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    line-height: 1.55;
}

img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--blue-band); color: var(--white); }

/* ───────────────────────────────────────────
   PAGE — full-width responsive
   ─────────────────────────────────────────── */
.page {
    width: 100%;
    background: var(--white);
    overflow: hidden;
    position: relative;
}

/* ───────────────────────────────────────────
   SECTION EYEBROWS
   ─────────────────────────────────────────── */
.section-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-family: var(--mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-mute);
    margin-bottom: 1.4rem;
}

.eyebrow-num {
    color: var(--blue-band);
    font-weight: 500;
}

.eyebrow-rule {
    width: 36px;
    height: 1px;
    background: var(--gray-line-strong);
}

.section-eyebrow--light {
    color: rgba(255, 255, 255, 0.7);
}

.section-eyebrow--light .eyebrow-num { color: var(--cyan-bright); }
.section-eyebrow--light .eyebrow-rule { background: rgba(255, 255, 255, 0.25); }

/* ───────────────────────────────────────────
   TOPBAR
   ─────────────────────────────────────────── */
.topbar {
    background: var(--blue-deepest);
    color: var(--white);
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(95, 184, 201, 0.15);
    position: relative;
    z-index: 50;
}

.topbar::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background: var(--cyan);
    opacity: 0.6;
}

.topbar-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.topbar-date {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--mono);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.85);
}

.topbar-date-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--blue-band);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
    box-shadow: 0 0 0 2px rgba(21, 70, 184, 0.25);
}

.topbar-date-icon svg { width: 11px; height: 11px; display: block; }

.topbar-logo img { width: 52px; height: auto; opacity: 0.95; }

@media (max-width: 540px) {
    .topbar-date { font-size: 0.6rem; }
    .topbar-logo img { width: 44px; }
}

/* ───────────────────────────────────────────
   HERO
   ─────────────────────────────────────────── */
.hero {
    position: relative;
    background: #050d28;
    color: var(--white);
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}

/* Aurora glow blobs (kept for reuse — currently not rendered in v4c hero) */
.hero-aurora {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    mix-blend-mode: screen;
}

.aurora {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
}

.aurora-1 {
    top: -80px;
    left: -80px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(21, 70, 184, 0.7) 0%, transparent 70%);
    animation: drift 14s ease-in-out infinite alternate;
}

.aurora-2 {
    bottom: -100px;
    right: -80px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(95, 184, 201, 0.4) 0%, transparent 70%);
    animation: drift 16s ease-in-out infinite alternate-reverse;
}

.aurora-3 {
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.45) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes drift {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(30px, 40px) scale(1.1); }
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.45; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.65; }
}

/* Twinkling stars */
.hero-stars {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.star-bit {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.8), 0 0 12px rgba(125, 229, 245, 0.6);
    animation: twinkle 3s ease-in-out infinite;
}

.star-bit--1 { top: 12%; left: 12%; animation-delay: 0s; }
.star-bit--2 { top: 18%; right: 14%; animation-delay: 0.7s; width: 2px; height: 2px; }
.star-bit--3 { top: 30%; left: 6%; animation-delay: 1.4s; width: 2px; height: 2px; }
.star-bit--4 { top: 42%; right: 18%; animation-delay: 2.1s; }
.star-bit--5 { bottom: 22%; left: 18%; animation-delay: 0.4s; width: 2px; height: 2px; }
.star-bit--6 { bottom: 14%; right: 8%; animation-delay: 1.8s; }
.star-bit--7 { top: 60%; left: 42%; animation-delay: 2.5s; width: 2px; height: 2px; }
.star-bit--8 { bottom: 38%; right: 30%; animation-delay: 1.1s; }

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.4); }
}

/* Hero content */
/* Hero overlay content — sits on top of the KV image, anchored to bottom */
.hero-content {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: clamp(1rem, 3vw, 2.4rem);
    transform: translateX(-50%);
    width: calc(100% - var(--gutter) * 2);
    max-width: 720px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(0.9rem, 2vw, 1.4rem);
    animation: heroContentRise 1100ms var(--ease-out) 200ms both;
}

@keyframes heroContentRise {
    from { opacity: 0; transform: translate(-50%, 12px); }
    to   { opacity: 1; transform: translate(-50%, 0); }
}

/* Tablet/mobile/sm-laptop: a imagem fica curta demais para overlay seguro. Empilha o conteúdo logo abaixo, com fundo navy contínuo. */
@media (max-width: 1100px) {
    .hero-content {
        position: static;
        transform: none;
        max-width: none;
        width: 100%;
        padding: 1.6rem var(--gutter) 2rem;
        background: linear-gradient(180deg, #050d28 0%, #0a1d52 100%);
        animation: heroContentRise 900ms var(--ease-out) 200ms both;
    }
    .hero-kv-vignette { display: none; }
    @keyframes heroContentRise {
        from { opacity: 0; transform: translateY(8px); }
        to   { opacity: 1; transform: translateY(0); }
    }
}

/* Badge — overlay no canto superior esquerdo do KV */
.hero-badge {
    position: absolute;
    z-index: 3;
    top: clamp(0.9rem, 2vw, 1.4rem);
    left: clamp(0.9rem, 2vw, 1.4rem);
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.42rem 0.95rem;
    background: rgba(5, 13, 40, 0.55);
    border: 1px solid rgba(125, 229, 245, 0.4);
    border-radius: 999px;
    font-family: var(--mono);
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--cyan-bright);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: heroBadgeFade 900ms var(--ease-out) both;
}

@keyframes heroBadgeFade {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan-bright);
    box-shadow: 0 0 10px rgba(125, 229, 245, 0.8);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.6; }
}

/* KV image — full-width banner; serves as positioned container for overlays */
.hero-kv {
    position: relative;
    width: 100%;
    margin: 0;
    overflow: hidden;
    background: #050d28;
    isolation: isolate;
    animation: kvFade 900ms var(--ease-out) both;
}

.hero-kv > img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Vinheta inferior — escurece a base do KV para o meta + CTA terem contraste */
.hero-kv-vignette {
    position: absolute;
    inset: auto 0 0 0;
    height: 38%;
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(180deg,
        rgba(5, 13, 40, 0) 0%,
        rgba(5, 13, 40, 0.55) 55%,
        rgba(5, 13, 40, 0.92) 100%);
}

@keyframes kvFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes spin-slow {
    to { transform: rotate(360deg); }
}

.hero-meta {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: 0;
    width: 100%;
    max-width: 520px;
}

.hero-meta li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0 0.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-meta li:last-child { border-right: none; }

.meta-num {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.08rem;
    color: var(--white);
    letter-spacing: 0.02em;
}

.meta-lbl {
    font-family: var(--mono);
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.6);
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ───────────────────────────────────────────
   BUTTONS
   ─────────────────────────────────────────── */
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.95rem 1.5rem;
    background: linear-gradient(135deg, var(--blue-cta) 0%, var(--blue-band) 100%);
    color: var(--white);
    font-family: var(--body);
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 999px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.18) inset,
        0 8px 22px -6px rgba(37, 99, 235, 0.55),
        0 1px 3px rgba(5, 13, 40, 0.2);
    border: none;
}

.btn-cta:hover {
    transform: translateY(-1px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.2) inset,
        0 14px 32px -8px rgba(37, 99, 235, 0.7),
        0 2px 6px rgba(5, 13, 40, 0.3);
}

.btn-cta:active { transform: translateY(0); }

.btn-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    transition: transform var(--t-mid) var(--ease), background var(--t-mid) var(--ease);
}

.btn-arrow svg { width: 12px; height: 12px; }

.btn-cta:hover .btn-arrow {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(3px);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(110deg,
        transparent 0%,
        rgba(255, 255, 255, 0.18) 50%,
        transparent 100%);
    transform: skewX(-20deg);
    pointer-events: none;
}

.btn-cta:hover .btn-shine {
    animation: shine 900ms var(--ease) forwards;
}

@keyframes shine {
    to { left: 220%; }
}

.btn-cta--xl {
    padding: 1.1rem 1.9rem;
    font-size: 0.95rem;
}

.btn-cta--xl .btn-arrow {
    width: 28px;
    height: 28px;
}

.btn-cta--xl .btn-arrow svg { width: 14px; height: 14px; }

/* ───────────────────────────────────────────
   SYNAPSE DIVIDER
   ─────────────────────────────────────────── */
.synapse-rule {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.6rem var(--gutter);
    background: var(--white);
}

.synapse-rule .rule-line {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--blue-band) 50%, transparent);
}

.synapse-rule .rule-node {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue-band);
    box-shadow:
        0 0 0 5px rgba(21, 70, 184, 0.12),
        0 0 16px rgba(21, 70, 184, 0.45);
    position: relative;
}

.synapse-rule .rule-node::before,
.synapse-rule .rule-node::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--cyan);
    transform: translateY(-50%);
}

.synapse-rule .rule-node::before { left: -18px; }
.synapse-rule .rule-node::after { right: -18px; }

/* ───────────────────────────────────────────
   INTRO
   ─────────────────────────────────────────── */
.intro {
    background: var(--white);
    padding: clamp(2.6rem, 6vw, 5rem) var(--gutter) clamp(3.4rem, 7vw, 5.6rem);
}

.intro-frame {
    max-width: var(--max-w);
    margin: 0 auto;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.4rem;
    margin-bottom: 2.6rem;
    align-items: start;
}

@media (min-width: 880px) {
    .intro-grid {
        grid-template-columns: 1.5fr 1fr;
        gap: 4rem;
    }
}

.intro-inner p {
    font-size: clamp(0.92rem, 1.3vw, 1.05rem);
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.intro-inner p:last-child { margin-bottom: 0; }

.intro-lead {
    color: var(--text-darker) !important;
    font-size: clamp(1rem, 1.5vw, 1.18rem) !important;
    line-height: 1.65 !important;
}

.intro-inner strong {
    font-weight: 600;
    color: var(--blue-deep);
}

.intro-lead strong { color: var(--blue-band) !important; }

/* Stats */
.intro-stats {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 0.5rem;
    padding: 1.6rem 1rem;
    background: linear-gradient(135deg, var(--gray-soft) 0%, var(--blue-band-soft) 100%);
    border: 1px solid var(--gray-line);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.intro-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan) 0%, var(--blue-band) 50%, var(--cyan) 100%);
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    text-align: center;
}

.stat-num {
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(2rem, 3vw, 2.6rem);
    line-height: 1;
    color: var(--blue-deep);
    letter-spacing: -0.02em;
}

.stat-num sup {
    font-size: 0.55em;
    color: var(--blue-band);
    font-weight: 700;
}

.stat-lbl {
    font-family: var(--mono);
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-mute);
    line-height: 1.4;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--gray-line-strong);
}

/* Photos */
.event-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(0.6rem, 1.5vw, 1.2rem);
}

@media (min-width: 880px) {
    .event-images {
        grid-template-columns: 1fr 1fr;
        gap: 1.4rem;
    }
}

.event-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: var(--blue-deep);
    aspect-ratio: 16 / 10;
    border: 1px solid rgba(21, 70, 184, 0.15);
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--t-slow) var(--ease);
}

.event-image:hover img { transform: scale(1.05); }

.event-image figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.7rem 0.95rem;
    background: linear-gradient(180deg, transparent, rgba(5, 13, 40, 0.92));
    color: var(--white);
    font-family: var(--mono);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.cap-num { color: var(--cyan-bright); font-weight: 500; }

.event-image--b {
    transform: translateY(0);
}

/* @media (min-width: 880px) {
    .event-image--b { transform: translateY(1.2rem); }
} */

/* ───────────────────────────────────────────
   FORM
   ─────────────────────────────────────────── */
.form-section {
    background: linear-gradient(180deg, var(--blue-band) 0%, var(--blue-cta) 100%);
    color: var(--white);
    padding: clamp(3rem, 6.5vw, 5.4rem) var(--gutter);
    position: relative;
    overflow: hidden;
}

.form-bg-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.deco-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.deco-blob--1 {
    top: -60px;
    right: -40px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
}

.deco-blob--2 {
    bottom: -80px;
    left: -60px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(10, 29, 82, 0.6) 0%, transparent 70%);
}

.form-frame {
    max-width: var(--max-w);
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.4rem;
    align-items: start;
}

@media (min-width: 880px) {
    .form-frame {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.form-side {
    display: flex;
    flex-direction: column;
}

.form-title {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.7rem, 3.4vw, 2.6rem);
    line-height: 1.12;
    margin-bottom: 1.6rem;
    color: var(--white);
    letter-spacing: -0.015em;
}

.form-title-accent {
    color: var(--cyan-bright);
    font-weight: 800;
}

.form-bullets {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.form-bullets li {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 0.7rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.88);
}

.form-bullets li:last-child { border-bottom: none; }

.bullet-arrow {
    color: var(--cyan-bright);
    font-family: var(--mono);
    font-size: 1rem;
    line-height: 1.3;
}

.form-card-wrap {
    position: relative;
}

#cadastroForm {
    background: var(--white);
    border-radius: 12px;
    padding: 1.8rem 1.6rem 1.5rem;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.5) inset,
        0 28px 56px -18px rgba(5, 13, 40, 0.5),
        0 6px 16px rgba(5, 13, 40, 0.18);
    position: relative;
}

#cadastroForm::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan) 0%, var(--blue-band) 50%, var(--cyan) 100%);
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.form-group {
    margin-bottom: 0.9rem;
    position: relative;
}

.form-group label {
    display: block;
    font-family: var(--mono);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-mute);
    margin-bottom: 0.35rem;
}

.form-group input {
    width: 100%;
    padding: 0.7rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--gray-line);
    font-family: var(--body);
    font-size: 0.95rem;
    color: var(--text-darker);
    transition: border-color var(--t-fast) var(--ease);
}

.form-group input::placeholder {
    color: var(--text-faint);
    font-weight: 300;
}

.form-group input:focus {
    outline: none;
    border-bottom-color: var(--blue-band);
}

.form-group input.error { border-bottom-color: var(--error); }

.field-error {
    display: none;
    color: var(--error);
    font-family: var(--mono);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.3rem;
}

.field-error.show { display: block; }

.form-bottom {
    margin-top: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.82rem;
    color: var(--text-mute);
    cursor: pointer;
}

.form-checkbox input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkbox-mark {
    width: 18px;
    height: 18px;
    border: 1px solid var(--gray-line-strong);
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--white);
    flex-shrink: 0;
    transition: all var(--t-fast) var(--ease);
}

.checkbox-mark svg { width: 12px; height: 12px; opacity: 0; transition: opacity var(--t-fast) var(--ease); }

.form-checkbox input:checked ~ .checkbox-mark {
    background: var(--blue-band);
    border-color: var(--blue-band);
}

.form-checkbox input:checked ~ .checkbox-mark svg { opacity: 1; }

.form-checkbox input:focus-visible ~ .checkbox-mark {
    box-shadow: 0 0 0 3px rgba(21, 70, 184, 0.15);
}

.btn-cta--form {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.4rem;
}

.btn-cta--form .spinner {
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 700ms linear infinite;
    display: none;
}

.btn-cta.loading .btn-text,
.btn-cta.loading .btn-arrow { display: none; }
.btn-cta.loading .spinner { display: inline-block; }

@keyframes spin { to { transform: rotate(360deg); } }

/* Form success */
.form-success {
    display: none;
    background: var(--white);
    border-radius: 12px;
    padding: 2rem 1.4rem;
    text-align: center;
    color: var(--text-darker);
    box-shadow: 0 16px 44px -14px rgba(5, 13, 40, 0.4);
}

.form-success.show { display: block; }

.success-icon {
    display: inline-flex;
    color: var(--blue-band);
    margin-bottom: 0.7rem;
}

.success-icon svg { width: 42px; height: 42px; }

.form-success h3 {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
}

.form-success p {
    font-size: 0.88rem;
    color: var(--text-mute);
    line-height: 1.55;
}

/* ───────────────────────────────────────────
   SCHEDULE
   ─────────────────────────────────────────── */
.schedule {
    background: var(--white);
    padding: clamp(3rem, 6.5vw, 5.4rem) var(--gutter);
}

.schedule-frame {
    max-width: var(--max-w);
    margin: 0 auto;
}

.schedule-title {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(1.3rem, 2.2vw, 1.7rem);
    line-height: 1.3;
    color: var(--text-darker);
    margin-bottom: 2.4rem;
    letter-spacing: -0.005em;
}

.schedule-title strong {
    display: block;
    font-weight: 800;
    color: var(--blue-deep);
    font-size: clamp(1.6rem, 2.8vw, 2.1rem);
    margin-top: 0.1rem;
}

.schedule-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.6rem;
}

@media (min-width: 880px) {
    .schedule-grid {
        grid-template-columns: 1fr 1fr;
        gap: clamp(1.6rem, 3vw, 3rem);
    }
}

.day-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 1.1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--blue-deep);
}

.day-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1.15rem;
    background: linear-gradient(135deg, var(--blue-cta) 0%, var(--blue-band) 100%);
    color: var(--white);
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(0.92rem, 1.3vw, 1.05rem);
    letter-spacing: 0.02em;
    border-radius: 10px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.2) inset,
        0 4px 14px -2px rgba(21, 70, 184, 0.45);
}

.day-meta {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.day-weekday {
    font-family: var(--display);
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-darker);
    letter-spacing: -0.005em;
}

.day-count {
    font-family: var(--mono);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--blue-band);
}

.cards {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--gray-line);
    border-radius: 10px;
    padding: 0.95rem 1.15rem 1.05rem;
    box-shadow: 0 1px 2px rgba(5, 13, 40, 0.04);
    transition: all var(--t-mid) var(--ease);
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--cyan) 0%, var(--blue-band) 100%);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform var(--t-mid) var(--ease);
}

.card:hover {
    border-color: rgba(21, 70, 184, 0.2);
    box-shadow:
        0 1px 2px rgba(5, 13, 40, 0.04),
        0 16px 32px -16px rgba(21, 70, 184, 0.28);
    transform: translateX(2px);
}

.card:hover::before { transform: scaleY(1); }

.card-num {
    position: absolute;
    top: 0.95rem;
    right: 1.15rem;
    font-family: var(--mono);
    font-size: 0.62rem;
    color: var(--text-faint);
    letter-spacing: 0.08em;
}

.card-tag {
    display: inline-block;
    background: var(--blue-band);
    color: var(--white);
    font-family: var(--body);
    font-weight: 600;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 0.7rem;
    max-width: calc(100% - 32px);
    line-height: 1.3;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.18) inset,
        0 2px 6px -2px rgba(21, 70, 184, 0.4);
}

.card-body {
    display: flex;
    flex-direction: column;
}

.entry-desc {
    font-family: var(--body);
    font-size: 0.78rem;
    color: var(--text-mute);
    line-height: 1.55;
    margin-bottom: 0.25rem;
    font-weight: 400;
}

.entry-name {
    font-family: var(--body);
    font-weight: 700;
    font-size: 0.86rem;
    color: var(--text-darker);
    line-height: 1.4;
    letter-spacing: 0;
}

.entry-name--solo {
    font-size: 0.92rem;
    margin-top: 0.15rem;
}

.card-body .entry + .entry {
    margin-top: 0.7rem;
    padding-top: 0.7rem;
    position: relative;
}

.card-body .entry + .entry::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 30%;
    height: 1px;
    background: repeating-linear-gradient(90deg,
        var(--gray-line-strong) 0 4px,
        transparent 4px 8px);
}

/* ───────────────────────────────────────────
   SPEAKERS
   ─────────────────────────────────────────── */
.speakers {
    background: linear-gradient(180deg, var(--blue-deep) 0%, var(--blue-deepest) 100%);
    color: var(--white);
    padding: clamp(3rem, 6.5vw, 5.4rem) var(--gutter);
    position: relative;
    overflow: hidden;
}

.speakers::before,
.speakers::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.speakers::before {
    top: -60px;
    left: -60px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(21, 70, 184, 0.5) 0%, transparent 70%);
}

.speakers::after {
    bottom: -80px;
    right: -60px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(95, 184, 201, 0.3) 0%, transparent 70%);
}

.speakers-frame {
    max-width: var(--max-w);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.speakers-title {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.7rem, 3.6vw, 2.8rem);
    line-height: 1.18;
    color: var(--white);
    margin-bottom: 2.2rem;
    letter-spacing: -0.015em;
    max-width: 720px;
}

.speakers-title-accent {
    color: var(--cyan-bright);
    font-weight: 800;
    text-shadow: 0 0 30px rgba(125, 229, 245, 0.4);
}

.speakers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 720px) {
    .speakers-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.4rem;
    }
}

.speaker-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    transition: all var(--t-mid) var(--ease);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

@media (min-width: 720px) {
    .speaker-card {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 1.4rem;
        gap: 1.2rem;
    }
}

.speaker-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(125, 229, 245, 0.25);
    transform: translateY(-3px);
}

.speaker-card--featured {
    background: linear-gradient(135deg,
        rgba(21, 70, 184, 0.18) 0%,
        rgba(95, 184, 201, 0.08) 100%);
    border-color: rgba(125, 229, 245, 0.2);
}

.speaker-photo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-band) 0%, var(--blue-cta) 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    box-shadow: 0 10px 24px -8px rgba(21, 70, 184, 0.6);
}

.speaker-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* mantém proporção */
    border-radius: 50%;
}

@media (min-width: 720px) {
    .speaker-photo {
        width: 96px;
        height: 96px;
    }
}

.speaker-card--featured .speaker-photo {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--blue-band) 100%);
}

.speaker-initials {
    font-family: var(--display);
    font-weight: 800;
    font-size: 1.55rem;
    color: var(--white);
    letter-spacing: 0.02em;
}

@media (min-width: 720px) {
    .speaker-initials { font-size: 2rem; }
}

.speaker-flag {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    border: 2px solid var(--blue-deepest);
    line-height: 1;
}

.speaker-orbit {
    position: absolute;
    inset: -7px;
    border: 1px dashed rgba(125, 229, 245, 0.3);
    border-radius: 50%;
    animation: spin-slow 18s linear infinite;
}

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

.speaker-num {
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.58rem;
    color: var(--cyan-bright);
    letter-spacing: 0.14em;
    margin-bottom: 0.3rem;
}

.speaker-name {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(0.96rem, 1.3vw, 1.15rem);
    color: var(--white);
    margin-bottom: 0.25rem;
    line-height: 1.2;
    letter-spacing: -0.005em;
}

.speaker-affil {
    font-family: var(--body);
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.45;
}

/* ───────────────────────────────────────────
   FINAL CTA
   ─────────────────────────────────────────── */
.final-cta {
    background: var(--white);
    text-align: center;
    padding: clamp(3rem, 6vw, 5.4rem) var(--gutter);
    position: relative;
    overflow: hidden;
}

.final-stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.final-stars span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--cyan);
    border-radius: 50%;
    opacity: 0.3;
}

.final-stars span:nth-child(1) { top: 18%; left: 14%; }
.final-stars span:nth-child(2) { top: 30%; right: 20%; width: 3px; height: 3px; }
.final-stars span:nth-child(3) { bottom: 28%; left: 24%; background: var(--blue-band); }
.final-stars span:nth-child(4) { bottom: 18%; right: 16%; width: 5px; height: 5px; }
.final-stars span:nth-child(5) { top: 50%; left: 8%; background: var(--blue-band); width: 3px; height: 3px; }

.final-frame {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.final-eyebrow {
    font-family: var(--mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--blue-band);
    margin-bottom: 0.85rem;
}

.final-title {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(1.8rem, 3.6vw, 2.8rem);
    line-height: 1.18;
    color: var(--text-darker);
    margin-bottom: 1.8rem;
    letter-spacing: -0.015em;
}

.final-title strong {
    display: block;
    font-weight: 800;
    color: var(--blue-deep);
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-top: 0.1rem;
}


.final-meta {
    margin-top: 1.4rem;
    font-family: var(--mono);
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-mute);
}

/* ───────────────────────────────────────────
   FOOTER
   ─────────────────────────────────────────── */
.site-footer {
    background: linear-gradient(180deg, #0a1d52 0%, #050d28 100%);
    color: rgba(255, 255, 255, 0.7);
    padding: 2.6rem var(--gutter) 1.6rem;
    border-top: 3px solid var(--blue-band);
    position: relative;
}

.site-footer::after {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--cyan-bright);
}

.footer-frame {
    max-width: var(--max-w);
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.8rem;
    align-items: start;
    margin-bottom: 1.8rem;
    text-align: center;
}

@media (min-width: 720px) {
    .footer-top {
        grid-template-columns: 1.4fr 1fr 0.8fr;
        gap: 2rem;
        text-align: left;
    }
}

.footer-brand p {
    font-family: var(--body);
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.5;
    margin-top: 0.8rem;
}

.footer-logo {
    height: 34px;
    width: auto;
    opacity: 0.95;
}

@media (max-width: 719px) {
    .footer-logo { margin: 0 auto; }
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    font-family: var(--mono);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

@media (max-width: 719px) {
    .footer-nav {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem 1.2rem;
    }
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.65);
    transition: color var(--t-fast) var(--ease);
}

.footer-nav a:hover { color: var(--cyan-bright); }

.footer-social {
    display: flex;
    gap: 0.6rem;
}

@media (max-width: 719px) {
    .footer-social { justify-content: center; }
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.65);
    transition: all var(--t-fast) var(--ease);
}

.footer-social a:hover {
    background: var(--blue-band);
    border-color: var(--blue-band);
    color: var(--white);
    transform: translateY(-1px);
}

.footer-social svg { width: 16px; height: 16px; }

.footer-rule {
    height: 1px;
    background: rgba(125, 229, 245, 0.2);
    margin-bottom: 1.2rem;
}

.footer-copy {
    font-family: var(--mono);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
}

@media (min-width: 720px) {
    .footer-copy { text-align: left; }
}

/* ───────────────────────────────────────────
   BACK TO TOP — floating bottom-left button
   ─────────────────────────────────────────── */
.back-to-top {
    position: fixed;
    left: clamp(0.9rem, 2.2vw, 1.6rem);
    bottom: clamp(0.9rem, 2.2vw, 1.6rem);
    z-index: 100;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 1.05rem 0.7rem 0.85rem;
    background: linear-gradient(135deg, var(--blue-cta) 0%, var(--blue-band) 100%);
    color: var(--white);
    font-family: var(--display);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.18) inset,
        0 14px 28px -10px rgba(5, 13, 40, 0.55),
        0 0 0 1px rgba(125, 229, 245, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(0.95);
    transition:
        opacity var(--t-mid) var(--ease),
        transform var(--t-mid) var(--ease-out),
        visibility 0s linear var(--t-mid),
        box-shadow var(--t-mid) var(--ease);
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    transition:
        opacity var(--t-mid) var(--ease),
        transform var(--t-mid) var(--ease-out),
        visibility 0s,
        box-shadow var(--t-mid) var(--ease);
}

.back-to-top:hover {
    transform: translateY(-2px) scale(1);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.22) inset,
        0 22px 38px -12px rgba(37, 99, 235, 0.65),
        0 0 0 1px rgba(125, 229, 245, 0.35);
}

.back-to-top:active {
    transform: translateY(0) scale(0.98);
}

.back-to-top:focus-visible {
    outline: 2px solid var(--cyan-bright);
    outline-offset: 3px;
}

.btt-icon {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    flex-shrink: 0;
    transition: transform var(--t-mid) var(--ease), background var(--t-mid) var(--ease);
}

.btt-icon svg { width: 13px; height: 13px; }

.back-to-top:hover .btt-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btt-ring {
    position: absolute;
    inset: -6px;
    border-radius: inherit;
    border: 1px solid rgba(125, 229, 245, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--t-mid) var(--ease);
}

.back-to-top:hover .btt-ring { opacity: 1; }

.btt-label {
    font-family: var(--mono);
    font-size: 0.62rem;
    letter-spacing: 0.18em;
}

@media (max-width: 540px) {
    .back-to-top {
        padding: 0.6rem;
        gap: 0;
    }
    .btt-label { display: none; }
    .btt-icon {
        width: 22px;
        height: 22px;
        background: transparent;
    }
}

/* ───────────────────────────────────────────
   REDUCED MOTION
   ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
