@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html {
    scroll-behavior: smooth;
}

* {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #fdf5e6;
    line-height: 1.6;
}

/* SEÇÃO HERO - FOTO DE DESTAQUE */
#hero {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hero-text-overlay {
    position: relative;
    z-index: 3;
    background: rgba(253, 245, 230, 0.9);
    backdrop-filter: blur(10px);
    padding: 40px 60px;
    margin-bottom: 40px;
    text-align: center;
    max-width: 800px;
    width: 90%;
}

.hero-image {
    position: absolute;
    inset: 0;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    z-index: 1;

    opacity: 0;
    transition: all 1s ease-in-out;
    transform: scale(1.05);
}

.hero-image.atual {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1));
    z-index: 2;
}

.social-media {
    position: absolute;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 4;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(253, 245, 230, 0.9);
    color: #8b4513;
    text-decoration: none;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: #8b4513;
    color: rgba(253, 245, 230, 0.9);
    transform: scale(1.1);
}

/* SEÇÃO DE TÍTULO SEPARADA */
#hero-text {
    padding: 60px 5%;
    background: rgba(253, 245, 230, 0.5);
    backdrop-filter: blur(10px);
    text-align: center;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 300;
    margin-bottom: 3px;
    color: #333;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-weight: 300;
    color: #666;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}

/* SEÇÃO VÍDEO E AGENDA */
#video-agenda {
    padding: 80px 5%;
    background: #fdfaef;
}

.video-agenda-container {
    max-width: 2200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.video-section h2,
.agenda-section h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #333;
    font-weight: 300;
    letter-spacing: -0.5px;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.agenda-list {
    list-style: none;
    overflow-y: scroll;
    max-height: 350px;
}

.agenda-item {
    background: rgb(253, 245, 230);
    padding: 10px;
    margin-bottom: 5px;
    border-left: 3px solid #8b4513;
    transition: all 0.3s ease;
}

.agenda-item:hover {
    background: rgba(243, 235, 220);
    border-left-width: 5px;
}

.event-date {
    color: #8b4513;
    font-weight: 500;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-title {
    font-weight: 400;
    margin: 8px 0 5px 0;
    color: #333;
    font-size: 1.1rem;
}

.event-location {
    color: #666;
    font-size: 0.7rem;
    font-weight: 300;
}

/* SEÇÃO BIOTRAJETÓRIAS */
#biotrajetorias {
    background: #a0522d;
    padding: 80px 5%;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
}

.section-title {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-align: center;
    font-weight: 600;
}

.section-description {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-align: left;
    max-width: 500px;
}

.biotraj-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0rem;
    align-items: start;
}

.section-paragraph {
    color: #fff;
    text-align: left;
    max-width: 22rem;
    margin-bottom: 5px;
}

#timeline-spiral-container {
    position: relative;
    width: 100%;
    max-width: 700px;
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.timeline-dot {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.3);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: default;
    transform: translate(-50%, -50%);
}

.timeline-dot.interactive {
    background-color: #fff;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 0 15px 3px rgba(255, 255, 255, 0.5);
}

.timeline-dot.interactive:hover {
    transform: translate(-50%, -50%) scale(2.5);
    box-shadow: 0 0 25px 5px rgba(255, 255, 255, 0.9);
}

.year-label {
    position: absolute;
    color: #ffffff;
    font-weight: bold;
    font-size: 0.7rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    z-index: 15;
    left: 0;
    top: 0;
    transform: translate(12px, -50%);
    white-space: nowrap;
}

.timeline-dot.interactive:hover .year-label {
    opacity: 1;
}

/* Estilos para a seção teatralidades */
#teatralidades {
    background-color: #daa520;
    /* Cor vinho */
    min-height: 100vh;
    /* Ocupa pelo menos a altura da tela */
    padding: 80px 8%;
}

.teatralidades-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

#teatralidades h2 {
    color: #8b4513;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.teatro-text {
    color: #8b4513;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.teatro-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-align: justify;
}

/* Slideshow Styles */
.teatro-slideshow {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    background: #fdf5e6;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(253, 245, 230, 0.7);;
    font-size: 1.2rem;
    font-weight: 500;
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(253, 245, 230, 0.3), rgba(0, 0, 0, 0.1));
    z-index: 1;
}

.slide-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(253, 245, 230, 0.5);;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(253, 245, 230, 0.8);;
}

.indicator.active {
    background: #ffbb00;
    border-color: #fff;
    transform: scale(1.2);
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: rgb(253, 245, 230);
    padding: 30px 25px 25px;
    z-index: 5;
}

.slide-info h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: #ffbb00;
}

.slide-info p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

.saiba-mais-btn {
    align-self: flex-start;
    background: linear-gradient(135deg, #a0522d, #8b4513);
    color: rgb(253, 245, 230);
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 0px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(113, 90, 65, 0.3);
}

.saiba-mais-btn:hover {
    background: linear-gradient(135deg, #8b4513, #a0522d);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(113, 90, 65, 0.4);
    color: white;
}

/* Placeholder para imagens que não carregam */
.slide.no-image {
    background: linear-gradient(135deg, #daa560, #deb887);
    font-size: 1rem;
    text-align: center;
}

/* Responsividade */
@media screen and (max-width: 768px) {
    .teatralidades-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .slideshow-container {
        height: 300px;
    }

    .teatro-text p {
        text-align: left;
        font-size: 1rem;
    }

    .slide-info h3 {
        font-size: 1.4rem;
    }

    .slide-overlay {
        padding: 20px 20px 20px;
    }
}

@media screen and (max-width: 480px) {
    .slideshow-container {
        height: 250px;
    }

    .slide-info h3 {
        font-size: 1.2rem;
    }

    .slide-info p {
        font-size: 0.9rem;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }
}


/* SEÇÃO CONTATO */
#contato {
    background: #deb887;
    padding: 80px 5%;
    text-align: center;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

#contato h2 {
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: -1px;
}

#contato p {
    font-size: 1.2rem;
    color: #222;
    margin-bottom: 30px;
    font-weight: 300;
}

.email-link {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: #8b4513;
    color: #fdf5e6;
    padding: 20px 30px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 400;
    transition: all 0.3s ease;
}

.email-link:hover {
    background: #7b3503;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(66, 60, 0, 0.3);
    color: white;
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: rgb(253, 245, 230);;
    border-radius: 0%;
    padding: 30px;
    width: 80%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #8b4513;
}

#modal-year {
    color: #8b4513;
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 3px solid #8b4513;
    padding-bottom: 10px;
}

.modal-body {
    display: flex;
    gap: 20px;
}

.modal-image-container {
    flex: 0 0 40%;
}

#modal-image {
    width: 100%;
    height: auto;
    border-radius: 0%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.modal-text {
    flex: 1;
    color: #333;
    line-height: 1.8;
    font-size: 1rem;
}

/* CSS específico para a seção Bibliografia */
#bibliografia {
    background-color: rgb(253, 245, 230);;
    padding: 80px 8%;
}

#bibliografia .content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

#bibliografia h2 {
    color: #8b4513;
}

#bibliografia .intro-section {
    margin-bottom: 50px;
    text-align: center;
}

#bibliografia .intro-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #444;
    text-align: justify;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

#bibliografia .contact-info {
    background: linear-gradient(135deg, #8b4513, #a0522d);
    color: white;
    padding: 20px;
    border-radius: 0%;
    box-shadow: 0 5px 20px rgba(63, 60, 0, 0.3);
    display: inline-block;
    font-size: 1.1rem;
}

#bibliografia .section-title_2 {
    color: #8b4513;
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
}

#bibliografia .stats-section {
    background: #e9e0d1;
    padding: 40px;
    border-radius: 0%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

#bibliografia .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

#bibliografia .stat-item {
    text-align: center;
    padding: 25px;
    background: linear-gradient(135deg, #deb887, #fdf5e6);
    border-radius: 0%;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#bibliografia .stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8b4513, #daa520);
}

#bibliografia .stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(60, 66, 0, 0.15);
    border-color: rgba(60, 66, 0, 0.2);
}

#bibliografia .stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #8b4513;
    display: block;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

#bibliografia .stat-label {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#bibliografia .cta-section {
    text-align: center;
    margin-top: 40px;
}

#bibliografia .saiba-mais-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #a0522d, #8b4513);
    color: white;
    padding: 18px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(60, 66, 0, 0.3);
    border: 3px solid transparent;
}

#bibliografia .saiba-mais-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(60, 66, 0, 0.4);
    background: linear-gradient(135deg, #a0522d, #8b4513);
    border-color: rgba(255, 187, 0, 0.5);
}

#bibliografia .saiba-mais-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

#bibliografia .saiba-mais-btn:hover i {
    transform: translateX(5px);
}



/* RESPONSIVIDADE */
@media screen and (max-width: 1000px) {
    .social-media {
        right: 20px;
        gap: 15px;
    }

    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .video-agenda-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .modal-body {
        flex-direction: column;
    }

    .modal-image-container {
        flex: none;
    }

    /* #timeline-spiral-container {
        height: 600px;
    } */
}

@media screen and (max-width: 930px) {
    .biotraj-grid {
        grid-template-columns: 1fr;
        gap: 0;
        text-align: center;
        align-items: center;
        justify-content: center;
    }

    .section-title {
        margin-bottom: 20px;
    }

    .section-paragraph {
        padding-bottom: 20px;
        text-align: center;
        justify-content: center;
        align-items: center;
        margin-left: auto;
        margin-right: auto;
        /* max-width: 50%; */
    }

    .section-description {
        text-align: center;
    }
}


@media screen and (max-width: 480px) {
    .hero-content {
        margin-bottom: 50px;
    }

    .social-media {
        flex-direction: row;
        bottom: 20px;
        top: auto;
        right: 50%;
        transform: translateX(50%);
        gap: 20px;
    }

    #video-agenda,
    #biotrajetorias {
        padding: 60px 5%;
    }
}