:root {
    --primary: #0c4a6e;
    --secondary: #cbd5e1;
    --accent: #0ea5e9;
    --ink: #061826;
    --paper: #f6f9fc;
    --white: #ffffff;
    --muted: #475569;
    --line: rgba(12,74,110,.12);
    --shadow: 0 30px 60px -30px rgba(12,74,110,.35);
}

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

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

body {
    font-family: 'Inter Tight', system-ui, sans-serif;
    background: var(--paper);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 400;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -.02em;
    color: var(--primary);
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter Tight', sans-serif;
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: var(--accent);
    margin-bottom: 18px;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--accent);
}

/* ========== HEADER ========== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 18px 0;
    transition: all .35s ease;
    background: rgba(246,249,252,.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.site-header.scrolled {
    background: rgba(255,255,255,.92);
    box-shadow: 0 4px 30px rgba(12,74,110,.08);
    padding: 12px 0;
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
}

.brand-logo {
    height: 42px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
}

.nav-menu a {
    display: inline-block;
    padding: 10px 14px;
    font-size: .92rem;
    font-weight: 500;
    color: var(--ink);
    border-radius: 8px;
    position: relative;
    transition: color .2s ease;
}

.nav-menu a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}

.nav-menu a:not(.btn):hover { color: var(--primary); }
.nav-menu a:not(.btn):hover::after { transform: scaleX(1); }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: var(--white) !important;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: .92rem;
    transition: all .3s cubic-bezier(.2,.8,.2,1);
    box-shadow: 0 8px 24px -8px rgba(12,74,110,.5);
}

.btn:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -8px rgba(14,165,233,.6);
}

.btn-ghost {
    background: transparent;
    color: var(--primary) !important;
    border: 1.5px solid var(--primary);
    box-shadow: none;
}

.btn-ghost:hover {
    background: var(--primary);
    color: var(--white) !important;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    align-items: center;
    justify-content: center;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    background: #fff;
    position: relative;
    display: block;
}

.menu-toggle span::before,
.menu-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    background: #fff;
    transition: .3s;
}

.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle.open span { background: transparent; }
.menu-toggle.open span::before { top: 0; transform: rotate(45deg); }
.menu-toggle.open span::after { top: 0; transform: rotate(-45deg); }

/* ========== HERO ========== */
.hero {
    position: relative;
    padding: 160px 0 100px;
    background:
        radial-gradient(circle at 85% 20%, rgba(14,165,233,.18), transparent 50%),
        radial-gradient(circle at 10% 80%, rgba(203,213,225,.5), transparent 45%),
        linear-gradient(180deg, var(--paper) 0%, #eaf2f9 100%);
    overflow: hidden;
}

.hero-content-centered {
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
}

.hero-meta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,.7);
    border: 1px solid var(--line);
    font-size: .85rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 32px;
}

.hero-meta .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 5px rgba(16,185,129,.18);
}

.hero h1 { margin-bottom: 28px; }
.hero h1 em {
    font-style: italic;
    color: var(--accent);
    font-weight: 500;
}

.hero-sub {
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    color: var(--muted);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 56px;
}

.hero-cta .btn { padding: 16px 30px; font-size: 1rem; }

.hero-info {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-info-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    text-align: left;
}

.hero-info-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.hero-info-item small {
    display: block;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--muted);
    margin-bottom: 2px;
}

.hero-info-item strong {
    font-size: .95rem;
    color: var(--primary);
    font-weight: 600;
}

/* ========== SOBRE ========== */
.sobre {
    padding: 120px 0;
    background: var(--white);
}

.sobre-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 80px;
    align-items: start;
}

.sobre-headline h2 { margin-bottom: 28px; }

.sobre-headline p {
    font-size: 1.05rem;
    color: var(--muted);
    margin-bottom: 16px;
}

.sobre-highlight {
    padding: 24px;
    border-left: 3px solid var(--accent);
    background: linear-gradient(90deg, rgba(14,165,233,.06), transparent);
    margin-top: 28px;
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: 1.15rem;
    color: var(--primary);
    line-height: 1.4;
}

.pillars {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.pillar {
    padding: 32px 26px;
    border-radius: 18px;
    background: var(--paper);
    border: 1px solid var(--line);
    transition: all .35s ease;
    position: relative;
    overflow: hidden;
}

.pillar:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 24px 40px -20px rgba(12,74,110,.2);
}

.pillar-num {
    font-family: 'Fraunces', serif;
    font-size: 2.2rem;
    font-weight: 500;
    color: var(--accent);
    display: block;
    margin-bottom: 14px;
    line-height: 1;
}

.pillar h3 { font-size: 1.1rem; margin-bottom: 10px; font-weight: 600; }
.pillar p { font-size: .92rem; color: var(--muted); }

/* ========== PALESTRAS (DESTAQUES) ========== */
.destaques {
    padding: 120px 0;
    background: var(--primary);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.destaques::before {
    content: "";
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14,165,233,.25), transparent 70%);
}

.destaques h2 { color: #fff; }
.destaques .eyebrow { color: #7dd3fc; }
.destaques .eyebrow::before { background: #7dd3fc; }

.destaques-head {
    max-width: 720px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.destaques-head p {
    color: rgba(255,255,255,.75);
    font-size: 1.05rem;
    margin-top: 20px;
}

.destaque-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    position: relative;
    z-index: 2;
}

.destaque-card {
    padding: 36px 28px;
    border-radius: 18px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(10px);
    transition: all .35s ease;
}

.destaque-card:hover {
    background: rgba(255,255,255,.1);
    transform: translateY(-4px);
    border-color: rgba(14,165,233,.5);
}

.destaque-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent), #0284c7);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    font-size: 1.5rem;
}

.destaque-card h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.destaque-speaker {
    color: #7dd3fc;
    font-weight: 600;
    font-size: .9rem;
    margin-bottom: 16px;
}

.destaque-topics {
    list-style: none;
}

.destaque-topics li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: rgba(255,255,255,.8);
    font-size: .9rem;
}

.destaque-topics li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #7dd3fc;
    font-weight: 700;
}

/* ========== PALESTRANTES ========== */
.palestrantes {
    padding: 120px 0;
    background: var(--paper);
}

.palestrantes-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}

.palestrantes-head p {
    color: var(--muted);
    font-size: 1.05rem;
    margin-top: 20px;
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.speaker-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--line);
    transition: all .35s ease;
}

.speaker-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 50px -20px rgba(12,74,110,.2);
    border-color: var(--accent);
}

.speaker-card--host {
    border-color: rgba(14,165,233,.3);
}

.speaker-img {
    position: relative;
    overflow: hidden;
}

.speaker-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 240px;
}

.speaker-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    background: rgba(255,255,255,.9);
    color: var(--primary);
    backdrop-filter: blur(8px);
}

.tag-host {
    background: rgba(14,165,233,.9);
    color: #fff;
}

.speaker-body {
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.speaker-body h3 {
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.speaker-title {
    color: var(--accent);
    font-size: .82rem;
    font-weight: 600;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.speaker-bio {
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.speaker-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.speaker-badges span {
    background: var(--paper);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 500;
    color: var(--primary);
    border: 1px solid var(--line);
}

/* ========== INSCRIÇÃO ========== */
.inscricao {
    padding: 120px 0;
    background:
        linear-gradient(135deg, rgba(12,74,110,.95), rgba(14,165,233,.85));
    color: #fff;
    text-align: center;
}

.inscricao .container { max-width: 820px; }
.inscricao .eyebrow { color: #7dd3fc; }
.inscricao .eyebrow::before { background: #7dd3fc; }
.inscricao h2 { color: #fff; margin-bottom: 24px; }

.inscricao > .container > p {
    color: rgba(255,255,255,.85);
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.inscricao-details {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.inscricao-item {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 14px;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.inscricao-item strong {
    font-size: .8rem;
    color: rgba(255,255,255,.7);
}

.inscricao-item span {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.inscricao-note {
    margin-top: 24px;
    font-size: .85rem;
    color: rgba(255,255,255,.7);
    letter-spacing: .04em;
}

.cta-btn-big {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    color: var(--primary) !important;
    padding: 20px 44px;
    border-radius: 999px;
    font-size: 1.05rem;
    font-weight: 700;
    box-shadow: 0 20px 50px -10px rgba(0,0,0,.4);
    transition: all .3s cubic-bezier(.2,.8,.2,1);
    text-decoration: none;
    margin-bottom: 8px;
}

.cta-btn-big:hover {
    transform: translateY(-4px);
    background: var(--ink);
    color: #fff !important;
    box-shadow: 0 30px 60px -10px rgba(0,0,0,.5);
}

/* ========== FOOTER ========== */
.site-footer {
    background: var(--ink);
    color: rgba(255,255,255,.7);
    padding: 30px 0;
}

.foot-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    font-size: .82rem;
    color: rgba(255,255,255,.5);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 980px) {
    .sobre-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .pillars { grid-template-columns: 1fr 1fr; }
    .destaque-list { grid-template-columns: 1fr; }
    .speakers-grid { grid-template-columns: 1fr; }
    .inscricao-details { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
    .menu-toggle { display: flex; }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 85%;
        max-width: 340px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 30px 30px;
        gap: 6px;
        transform: translateX(100%);
        transition: transform .35s cubic-bezier(.2,.8,.2,1);
        box-shadow: -10px 0 40px rgba(0,0,0,.15);
    }

    .nav-menu.open { transform: translateX(0); }
    .nav-menu li { width: 100%; }

    .nav-menu a {
        width: 100%;
        padding: 14px 0;
        font-size: 1.05rem;
        border-bottom: 1px solid var(--line);
    }

    .nav-menu a.btn {
        margin-top: 14px;
        border: none;
        justify-content: center;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta .btn { justify-content: center; }
    .pillars { grid-template-columns: 1fr; }

    .speaker-card {
        grid-template-columns: 1fr;
    }

    .speaker-img img {
        min-height: 200px;
        max-height: 250px;
    }

    .inscricao-details { grid-template-columns: 1fr; }

    .hero { padding: 130px 0 80px; }
    .sobre, .destaques, .palestrantes, .inscricao { padding: 80px 0; }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}
