﻿/* ══════════════════════════════════════════════
   1. VARIÁVEIS / TOKENS
   ══════════════════════════════════════════════ */
:root {
    /* ── Cores da marca ── */
    --brand-dark: #12072b;
    --brand-blue: #3d1a7a;
    --brand-accent: #7c3aed;
    --brand-gold: #f5c842;
    --brand-light: #f5f2ff;
    --brand-white: #ffffff;
    --brand-purple: #6c3fc5;
    /* ── Cores auxiliares ── */
    --color-body-text: #1c2333;
    --color-heading-dark: #12072b;
    --color-muted-text: #5a6475;
    --color-gold-dark: #8a6000;
    --color-disabled: #4a4a4b;
    --color-border-light: #dde3ef;
    --color-border-accent-soft: #c4b5fd;
    /* ── Gradientes reutilizáveis ── */
    --gradient-hero: linear-gradient(135deg, #12072b 0%, #3d1a7a 55%, #1e0d45 100%);
    --gradient-tema: linear-gradient(135deg, var(--brand-dark) 0%, #3d1a7a 100%);
    --gradient-app: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-dark) 100%);
    /* ── Sombras ── */
    --shadow-card: 0 4px 20px rgba(0, 0, 0, .07);
    --shadow-card-hover: 0 12px 40px rgba(0, 0, 0, .13);
    --shadow-dropdown: 0 12px 32px rgba(0, 0, 0, .35);
    --shadow-campus: 0 6px 24px rgba(0, 0, 0, .12);
    --shadow-soft: 0 2px 10px rgba(0, 0, 0, .06);
    --shadow-session: 0 2px 8px rgba(0, 0, 0, .05);
    --shadow-revista: 0 3px 14px rgba(0, 0, 0, .06);
    /* ── Espaçamento ── */
    --section-gap: 5rem;
    /* ── Dropdown ── */
    --color-dropdown-bg: #1e0d45;
    --color-dropdown-border: rgba(196, 181, 253, .2);
    --color-dropdown-hover: rgba(124, 58, 237, .25);
    --color-dropdown-divider: rgba(196, 181, 253, .15);
    --color-dropdown-header: rgba(196, 181, 253, .55);
    /* ── Hero ── */
    --color-hero-bg: #1a0e34;
    --color-hero-text: rgba(255, 255, 255, .72);
    --color-hero-meta: rgba(255, 255, 255, .85);
    --color-hero-card-bg: rgba(255, 255, 255, .06);
    --color-hero-card-border: rgba(255, 255, 255, .12);
    --color-hero-card-label: rgba(255, 255, 255, .7);
    --color-hero-divider: rgba(255, 255, 255, .15);
    --color-hero-eyebrow-bg: rgba(124, 58, 237, .15);
    --color-hero-eyebrow-border: rgba(124, 58, 237, .4);
}


/* ══════════════════════════════════════════════
   2. RESET / BASE
   ══════════════════════════════════════════════ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    color: var(--color-body-text);
    background: var(--brand-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5,
.display-font {
    font-family: 'Poppins', sans-serif;
}

table {
    caption-side: top;
}

    table caption {
        font-weight: bold;
    }


/* ══════════════════════════════════════════════
   3. UTILITÁRIOS
   ══════════════════════════════════════════════ */
.lh-1-8 {
    line-height: 1.8;
}

.link-texto-enepe {
    color: var(--brand-accent);
}


/* ══════════════════════════════════════════════
   4. NAVBAR
   ══════════════════════════════════════════════ */
.navbar-enepe {
    background: var(--brand-blue);
    position: sticky;
    top: 0;
    z-index: 1050;
    border-bottom: 3px solid var(--brand-accent);
}

    .navbar-enepe .nav-link {
        color: rgba(255, 255, 255, .75) !important;
        font-size: .82rem;
        font-weight: 500;
        letter-spacing: .04em;
        padding: .5rem .5rem !important;
        transition: color .2s;
    }

        .navbar-enepe .nav-link:hover {
            color: var(--brand-gold) !important;
        }

.navbar-brand img {
    height: 46px;
}

/* ── Logo ── */
.logo-enepe {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    color: #fff;
    letter-spacing: -.01em;
    line-height: 1;
}

.logo-enepe-numero {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--brand-gold);
    letter-spacing: -.01em;
    line-height: 1;
    font-style: italic;
}

/* ── Banner ── */
.banner-enepe {
    background-color: var(--color-hero-bg);
    display: grid;
    justify-content: center;
}

/* ── Dropdown ── */
.navbar-enepe .dropdown-menu {
    background: var(--color-dropdown-bg);
    border: 1px solid var(--color-dropdown-border);
    border-top: 6px solid transparent;
    border-radius: 10px;
    padding: .5rem;
    margin-top: 0;
    min-width: 220px;
    box-shadow: var(--shadow-dropdown);
    background-clip: padding-box;
}

.navbar-enepe .dropdown-item,
.navbar-enepe .dropdown-item:active {
    background: var(--color-dropdown-bg);
    color: rgba(255, 255, 255, .8);
    font-size: .82rem;
    font-weight: 500;
    border-radius: 6px;
    padding: .55rem .9rem;
    display: flex;
    align-items: center;
    gap: .55rem;
    transition: background .18s, color .18s;
}

    .navbar-enepe .dropdown-item:hover {
        background: var(--color-dropdown-hover);
        color: var(--brand-gold);
    }

    .navbar-enepe .dropdown-item i {
        font-size: 1rem;
        color: var(--brand-gold);
        width: 18px;
        flex-shrink: 0;
    }

.navbar-enepe .dropdown-divider {
    border-color: var(--color-dropdown-divider);
    margin: .3rem .5rem;
}

.navbar-enepe .dropdown-header {
    color: var(--color-dropdown-header);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .4rem .9rem .2rem;
}

.navbar-enepe .nav-item.dropdown > .nav-link:focus,
.navbar-enepe .nav-item.dropdown > .nav-link:focus-visible,
.navbar-enepe .nav-item.dropdown > .nav-link:active {
    outline: none !important;
    box-shadow: none !important;
}

.navbar-enepe .nav-item.dropdown .nav-link::after {
    display: inline-block;
    margin-left: .3em;
    vertical-align: .18em;
    content: "";
    border-top: .32em solid;
    border-right: .32em solid transparent;
    border-bottom: 0;
    border-left: .32em solid transparent;
}

@media (min-width: 992px) {
    .navbar-enepe .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
        animation: dropFadeIn .18s ease forwards;
    }
}

@keyframes dropFadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ══════════════════════════════════════════════
   5. HERO
   ══════════════════════════════════════════════ */
.hero {
    background: var(--gradient-hero);
    min-height: 92vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

    .hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(124, 58, 237, .18) 0%, transparent 70%), radial-gradient(ellipse 50% 80% at 10% 80%, rgba(245, 200, 66, .12) 0%, transparent 60%);
        pointer-events: none;
    }

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--color-hero-eyebrow-bg);
    border: 1px solid var(--color-hero-eyebrow-border);
    border-radius: 50px;
    padding: .35rem 1rem;
    color: var(--brand-gold);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1rem;
}

    .hero h1 span {
        color: var(--brand-gold);
    }

.hero-sub {
    font-size: 1.15rem;
    color: var(--color-hero-text);
    max-width: 560px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.hero-meta-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: var(--color-hero-meta);
    font-size: .9rem;
}

    .hero-meta-item i {
        color: var(--brand-gold);
        font-size: 1.1rem;
    }

.hero-img-side {
    position: relative;
}

.hero-badge-card {
    background: var(--color-hero-card-bg);
    border: 1px solid var(--color-hero-card-border);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 1.6rem;
    color: #fff;
    max-width: 340px;
}

    .hero-badge-card .number {
        font-size: 3.2rem;
        font-weight: 800;
        color: var(--brand-gold);
        line-height: 1;
    }

    .hero-badge-card .label {
        font-size: .85rem;
        color: var(--color-hero-card-label);
        margin-top: .3rem;
    }

.hero-divider {
    width: 1px;
    background: var(--color-hero-divider);
    height: 50px;
}

/* ── Botões do Hero ── */
.btn-hero-primary {
    background: var(--brand-accent);
    color: #fff;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    padding: .85rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    border: none;
    transition: background .2s, transform .15s;
    display: inline-block;
}

    .btn-hero-primary:hover {
        background: #6020cc;
        color: #fff;
        transform: translateY(-2px);
    }

.btn-hero-outline {
    border: 1.5px solid rgba(255, 255, 255, .35);
    color: var(--color-hero-meta);
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    padding: .85rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    transition: border-color .2s, color .2s;
    display: inline-block;
}

    .btn-hero-outline:hover {
        border-color: var(--brand-gold);
        color: var(--brand-gold);
    }


/* ══════════════════════════════════════════════
   6. TÍTULOS DE SEÇÃO
   ══════════════════════════════════════════════ */
.section-label {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--color-gold-dark);
    margin-bottom: .6rem;
}

.section-title {
    font-size: clamp(1.7rem, 3.5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--color-heading-dark);
    margin-bottom: 1rem;
}

.title-underline {
    display: inline-block;
    width: 52px;
    height: 4px;
    background: var(--brand-accent);
    border-radius: 2px;
    margin-bottom: 1.4rem;
}


/* ══════════════════════════════════════════════
   7. SEÇÕES (genérico)
   ══════════════════════════════════════════════ */
section {
    padding: var(--section-gap) 0;
}

    section.bg-alt {
        background: var(--brand-light);
    }

    section.bg-dark-section {
        background: var(--brand-blue);
        color: #fff;
    }

        section.bg-dark-section .section-title {
            color: #fff;
        }

        section.bg-dark-section .section-label {
            color: var(--brand-gold);
        }


/* ══════════════════════════════════════════════
   8. TEMA
   ══════════════════════════════════════════════ */
.tema-card {
    background: var(--gradient-tema);
    border-radius: 20px;
    padding: 3rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}

    .tema-card::after {
        content: '\201C';
        position: absolute;
        right: 2rem;
        top: -1rem;
        font-size: 14rem;
        font-family: 'Poppins', sans-serif;
        font-weight: 800;
        color: rgba(255, 255, 255, .05);
        line-height: 1;
        pointer-events: none;
    }

    .tema-card h3 {
        font-size: 1.9rem;
        font-weight: 800;
        color: var(--brand-gold);
        margin-bottom: 1rem;
    }

    .tema-card p {
        color: rgba(255, 255, 255, .82);
        line-height: 1.75;
        font-size: 1.02rem;
    }

    .tema-card .quote-author {
        color: rgba(255, 255, 255, .55);
        font-size: .88rem;
        margin-top: .5rem;
    }

.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #ffffff;
    border: 1.5px solid var(--color-border-accent-soft);
    border-radius: 50px;
    padding: .4rem .9rem;
    font-size: .82rem;
    font-weight: 700;
    color: var(--brand-blue);
    margin: .3rem .2rem 0 0;
}

    .feature-pill.hover:hover {
        background-color: var(--brand-accent);
        color: #ffffff;
    }


/* ══════════════════════════════════════════════
   9. PROGRAMAÇÃO
   ══════════════════════════════════════════════ */
.prog-day-tab {
    background: var(--brand-light);
    border: 1.5px solid var(--color-border-light);
    border-radius: 10px;
    padding: .7rem 1.4rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    color: var(--brand-blue);
    cursor: pointer;
    transition: all .2s;
    text-align: center;
}

    .prog-day-tab.active,
    .prog-day-tab:hover {
        background: var(--brand-accent);
        border-color: var(--brand-accent);
        color: #fff;
    }

    .prog-day-tab .day-num {
        font-size: clamp(1rem, 1.8vw, 1.4rem);
        display: block;
        line-height: 1.1;
    }

    .prog-day-tab .day-month {
        font-size: .72rem;
        letter-spacing: .05em;
        opacity: .8;
    }

.prog-session {
    border-left: 4px solid var(--brand-accent);
    padding: 1rem 1.3rem;
    background: #fff;
    border-radius: 0 10px 10px 0;
    margin-bottom: .8rem;
    box-shadow: var(--shadow-session);
}

    .prog-session .time-badge {
        display: inline-block;
        background: var(--brand-blue);
        color: var(--brand-gold);
        font-size: .75rem;
        font-weight: 700;
        padding: .2rem .6rem;
        border-radius: 4px;
        margin-bottom: .4rem;
    }

    .prog-session h6 {
        font-weight: 700;
        margin-bottom: .2rem;
        color: var(--color-heading-dark);
    }

    .prog-session p {
        font-size: .88rem;
        color: var(--color-muted-text);
        margin: 0;
    }


/* ══════════════════════════════════════════════
   10. PALESTRANTES
   ══════════════════════════════════════════════ */
.speaker-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform .25s, box-shadow .25s;
    height: 100%;
}

    .speaker-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-card-hover);
    }

.speaker-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: top;
}

.speaker-body {
    padding: 1.1rem;
}

    .speaker-body h6 {
        font-weight: 800;
        font-size: .92rem;
        margin-bottom: .15rem;
        color: var(--color-heading-dark);
    }

.speaker-org {
    font-size: .75rem;
    font-weight: 600;
    color: var(--color-gold-dark);
    margin-bottom: .4rem;
}

.speaker-talk {
    font-size: .78rem;
    color: var(--color-muted-text);
    line-height: 1.5;
    margin-bottom: .5rem;
}

.speaker-day {
    font-size: .72rem;
    font-weight: 700;
    color: var(--brand-blue);
    background: var(--brand-light);
    padding: .2rem .5rem;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: .5rem;
}

.speaker-links a {
    font-size: .75rem;
    color: var(--brand-blue);
    text-decoration: none;
    margin-right: .5rem;
    font-weight: 600;
}

    .speaker-links a:hover {
        color: var(--brand-accent);
    }


/* ══════════════════════════════════════════════
   11. DATAS IMPORTANTES
   ══════════════════════════════════════════════ */
.dates-table th {
    background: var(--brand-blue);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    border: none;
}

.dates-table td {
    vertical-align: middle;
    padding: .9rem 1rem;
}

.dates-table tr:nth-child(even) td {
    background: var(--brand-light);
}

.date-chip {
    font-weight: 700;
    color: var(--color-gold-dark);
    white-space: nowrap;
}


/* ══════════════════════════════════════════════
   12. AVALIAÇÃO EXTERNA
   ══════════════════════════════════════════════ */
.evaluator-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: #fff;
    border-radius: 16px;
    padding: 1.8rem;
    box-shadow: var(--shadow-card);
}

    .evaluator-card img {
        width: 90px;
        height: 90px;
        object-fit: cover;
        border-radius: 50%;
        border: 3px solid var(--brand-accent);
    }


/* ══════════════════════════════════════════════
   13. REVISTAS
   ══════════════════════════════════════════════ */
.revista-card {
    background: var(--brand-light);
    border-radius: 12px;
    padding: 1.4rem;
    border-left: 5px solid var(--brand-accent);
    box-shadow: var(--shadow-revista);
    height: 100%;
    transition: transform .2s;
}

    .revista-card:hover {
        transform: translateY(-3px);
    }

    .revista-card h6 {
        font-weight: 800;
        color: var(--color-heading-dark);
        margin-bottom: .3rem;
    }

    .revista-card p {
        font-size: .85rem;
        color: var(--color-muted-text);
        margin: 0;
    }

    .revista-card a {
        font-size: .82rem;
        font-weight: 600;
        color: var(--brand-accent);
        text-decoration: none;
    }


/* ══════════════════════════════════════════════
   14. CONTATO
   ══════════════════════════════════════════════ */
.contact-form input:not([type='checkbox']),
.contact-form textarea {
    border: 1.5px solid var(--color-border-light);
    border-radius: 8px;
    padding: .75rem 1rem;
    font-size: .95rem;
    width: 100%;
    transition: border-color .2s;
    font-family: 'DM Sans', sans-serif;
}

    .contact-form input:focus,
    .contact-form textarea:focus {
        outline: none;
        border-color: var(--brand-accent);
    }

.btn-submit {
    background: var(--brand-accent);
    color: #fff;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    padding: .8rem 2rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background .2s;
}

    .btn-submit:hover {
        background: #6020cc;
    }

    .btn-submit:disabled {
        background: var(--color-disabled);
        cursor: not-allowed;
    }


/* ══════════════════════════════════════════════
   15. LOCALIZAÇÃO
   ══════════════════════════════════════════════ */
.campus-card {
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-campus);
    cursor: pointer;
}

    .campus-card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        display: block;
    }

.campus-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(18, 7, 43, .88));
    color: #fff;
    padding: 1.4rem 1rem .9rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
}


/* ══════════════════════════════════════════════
   16. PARCEIROS
   ══════════════════════════════════════════════ */
.partner-logo {
    background: #fff;
    border-radius: 10px;
    padding: 1.2rem 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    min-height: 90px;
}

    .partner-logo img {
        max-height: 55px;
        max-width: 160px;
        object-fit: contain;
    }


/* ══════════════════════════════════════════════
   17. APP
   ══════════════════════════════════════════════ */
.app-section {
    background: var(--gradient-app);
    color: #fff;
}

.app-store-btn img {
    height: 44px;
}


/* ══════════════════════════════════════════════
   18. FOOTER
   ══════════════════════════════════════════════ */
footer {
    background: var(--brand-blue);
    color: rgba(255, 255, 255, .5);
    padding: 2rem 0;
    font-size: .85rem;
    text-align: center;
    border-top: 3px solid var(--brand-accent);
}

    footer img {
        height: 38px;
        opacity: .85;
    }


/* ══════════════════════════════════════════════
   19. UTILITÁRIOS / MISC
   ══════════════════════════════════════════════ */
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    background: var(--brand-accent);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(232, 66, 10, .4);
    z-index: 999;
    text-decoration: none;
}

    .scroll-top-btn:hover {
        background: #c73508;
        color: #fff;
    }

/* ── Animação ao scroll ── */
[data-aos] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .5s ease, transform .5s ease;
}

    [data-aos].aos-animate {
        opacity: 1;
        transform: none;
    }


/* ══════════════════════════════════════════════
   20. RESPONSIVO
   ══════════════════════════════════════════════ */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 4rem 0 3rem;
    }

    .hero-badge-card {
        max-width: 100%;
    }

    .tema-card {
        padding: 2rem;
    }

    section {
        padding: 3rem 0;
    }
}
