:root {
    --primary-color: #03a9f4;
    --primary-dark: #0288d1;
    --primary-light: #b3e5fc;
    --accent-color: #ffc107;
    --accent-color-light: #b3e5fc70;
    --text-primary: #212121;
    --text-secondary: #757575;
    --text-icons: #ffffff;
    --divider-color: #bdbdbd;
    --light-bg: #f5f5f5;
}

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

body {
    font-family: "Montserrat", sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth;
    color: var(--text-primary);
    overflow-x: hidden;
}

/* LAYOUT */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================= HERO ================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
    color: white;
}

/* camada cinematográfica */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 40%, rgba(0, 0, 0, 0.45));
    z-index: 2;
}

/* BG */
.hero-bg,
.hero-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg {
    z-index: 1;
}

.hero-video {
    z-index: 2;
    opacity: 0;
    transition: opacity 0.8s ease;
}

/* CONTENT */
.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: center;
}

/* GLASS */
.hero-glass {
    position: relative;
    color: #fff;
    padding: 25px 42px;
    border-radius: 20px;
    max-width: 900px;

    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);

    border: 1px solid rgba(255, 255, 255, 0.2);

    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.25),
        inset 0 0 0.5px rgba(255, 255, 255, 0.4);

    transition: all 0.4s ease, box-shadow 0.4s ease;
}

.hero-glass h1,
.hero-glass h2,
.hero-glass h3 {
    text-shadow: 2px 2px 3px rgba(0,0,0,1);
}

/* brilho */
.hero-glass::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(120deg, rgba(255,255,255,0.2), transparent);
    pointer-events: none;
}

/* hover suave */
.hero-glass:hover {
    transform: scale(1.03) translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
    background: rgba(0, 179, 255, 0.1);
}

.hero::after {
    background: radial-gradient(
        circle at center,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0),
        rgba(33, 125, 255, 0.3)
    );
}

/* TEXT */
.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.hero h3 {
    font-size: 1rem;
    margin-bottom: 25px;
    opacity: 0.9;
    background: radial-gradient(
        circle at center,
        rgba(0, 0, 0, 0.3),
        rgba(0,0,0,0)
    );
}

/* ================= BUTTON ================= */

.button {
    position: relative;
    display: inline-block;
    padding: 14px 36px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;

    background: var(--accent-color);
    color: #000;

    transition: all 0.3s ease;
    overflow: hidden;

    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}

/* versão light corrigida */
.button.light {
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    border: none;
}

/* brilho */
.button::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.6),
        transparent
    );
    transition: 0.6s;
}

.button:hover::after {
    left: 100%;
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.button.light:hover {
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 1),
        rgba(255, 255, 255, 0.5),
        rgba(149, 216, 255, 0.3)
    );
    text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.4);
    font-size: 17px;
}

/* ================= INFO ================= */

.info {
    background: var(--primary-color);
    color: var(--text-icons);
    padding: 80px 0;
    text-align: center;
}

.info h2 {
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.info a {
    font-size: 1.3rem;
    background-color: #ffffff20;
}

/* ================= SPEAKERS ================= */

.speakers {
    padding: 80px 0;
    background: var(--light-bg);
}

.speakers h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--primary-dark);
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 300px));
    gap: 30px;
    justify-content: center;
}

.speaker {
    background: white;
    padding: 20px;
    border-radius: 12px;

    transition: all 0.4s ease;

    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.speaker:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.speaker-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
}

.speaker-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================= SCHEDULE ================= */

.schedule {
    padding: 80px 0;
}

.schedule h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--primary-dark);
}

.schedule-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.day {
    background: white;
    padding: 30px;
    border-radius: 12px;

    transition: all 0.3s ease;

    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.day:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.day li {
    padding: 10px 0;
    border-bottom: 1px solid var(--divider-color);
}

/* ================= CTA ================= */

.cta {
    background: var(--primary-dark);
    color: white;
    text-align: center;
    padding: 80px 0;
}

/* ================= ORGANIZERS ================= */

.organizers {
    padding: 80px 0;
    background: var(--light-bg);
}

.organizer-logo img {
    max-width: 300px;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.15));
}

/* ================= FOOTER ================= */

footer {
    background: var(--primary-light);
    padding: 20px;
    text-align: center;
}

/* NAV FIXO */
.schedule-nav {
    position: fixed;
    top: 5px;
    right: 15px;
    z-index: 999;
    background-color: #ffffff35;
    border-radius: 10px;
    padding: 3px 3px;

    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* LINKS */
.nav-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-links a {
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    backdrop-filter: blur(6px);
    text-align: center;
}

.schedule-nav a {
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    backdrop-filter: blur(6px);
}

/* BOTÃO MOBILE */
.menu-toggle {
    display: none;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 100ms ease-in;
}

.menu-toggle:hover {
    scale: 1.05;
}

/* ACCORDION */
.accordion {
    margin-bottom: 30px;
}

.accordion-header {
    width: 100%;
    padding: 20px;
    font-size: 1.3rem;
    font-weight: 600;

    background: var(--primary-dark);
    color: white;
    border: none;
    border-radius: 10px;

    cursor: pointer;
}

.accordion-content {
    overflow: hidden;
    max-height: fit-content;
    transition: max-height 0.5s ease;
}

.accordion:not(.open) .accordion-content {
    max-height: 0;
}

/* MAPA */
.map-container {
    margin-top: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
}

/* placeholder leve */
.map-placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #e3f2fd, #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    color: var(--primary-dark);
    z-index: 1;
}

/* iframe */
.map-iframe {
    opacity: 0;
    transition: opacity 0.5s ease;
    position: relative;
    z-index: 2;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.4rem;
    }

    .hero h2 {
        font-size: 1.3rem;
    }

    .hero-glass {
        backdrop-filter: blur(0.5px);
        min-width: 100vw;
        padding: 24px;
    }

    .hero-glass:hover {
        backdrop-filter: blur(2px);
    }

    .speakers-grid,
    .schedule-grid {
        grid-template-columns: 1fr;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        margin-top: 10px;
    }

    .schedule-nav.open .nav-links {
        display: flex;
    }

    .map-iframe {
        height: 300px;
    }
}