@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

/* ==================== SCROLLBAR ==================== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: white;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.219);
    border: 2px solid white;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.5);
}

html {
    scroll-behavior: smooth;
    scrollbar-color: rgba(0, 0, 0, 0.219) white;
}

/* ==================== BÁSICOS ==================== */
body {
    margin: 0;
    padding: 0;
    font-family: 'Source Sans 3', sans-serif;
    position: relative;
    overflow-x: hidden;
}

/* ==================== PARTÍCULAS ==================== */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    background-color: #E5C585;
    border-radius: 50%;
    opacity: 0.6;
    animation: float 6s infinite linear;
}

.particle:nth-child(1) {
    width: 4px;
    height: 4px;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.particle:nth-child(2) {
    width: 6px;
    height: 6px;
    left: 20%;
    animation-delay: 1s;
    animation-duration: 10s;
}

.particle:nth-child(3) {
    width: 3px;
    height: 3px;
    left: 30%;
    animation-delay: 2s;
    animation-duration: 7s;
}

.particle:nth-child(4) {
    width: 5px;
    height: 5px;
    left: 40%;
    animation-delay: 0.5s;
    animation-duration: 9s;
}

.particle:nth-child(5) {
    width: 4px;
    height: 4px;
    left: 50%;
    animation-delay: 1.5s;
    animation-duration: 11s;
}

.particle:nth-child(6) {
    width: 7px;
    height: 7px;
    left: 60%;
    animation-delay: 3s;
    animation-duration: 8s;
}

.particle:nth-child(7) {
    width: 3px;
    height: 3px;
    left: 70%;
    animation-delay: 2.5s;
    animation-duration: 6s;
}

.particle:nth-child(8) {
    width: 5px;
    height: 5px;
    left: 80%;
    animation-delay: 4s;
    animation-duration: 12s;
}

.particle:nth-child(9) {
    width: 4px;
    height: 4px;
    left: 90%;
    animation-delay: 0.8s;
    animation-duration: 9s;
}

.particle:nth-child(10) {
    width: 6px;
    height: 6px;
    left: 15%;
    animation-delay: 3.5s;
    animation-duration: 10s;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* ==================== HEADER ==================== */
header {
    display: flex;
    justify-content: center;
    border-bottom: 4px solid #E5C585;
    gap: 30px;
    background-color: #1b82b3;
    background-image: url('images/fundo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 20px;
    padding-bottom: 0;
    padding-top: 40px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}

.header h1 {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    max-width: 380px;
    color: white;
    text-align: center;
}

.header img {
    max-width: 120px;
    margin-top: 15px;
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    width: 100%;
    margin-bottom: 20px;
}

.palestrante-img {
    max-width: 230px;
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: -16px;
}

/* ==================== EVENT DETAILS ==================== */
.event-details {
    width: 100%;
    text-align: center;
    font-weight: bold;
}

.data {
    font-family: "Bebas Neue", sans-serif;
    color: white;
    font-size: xx-large;
    font-weight: 300;
    margin-bottom: 5px;
}

.local {
    background-color: #E5C585;
    color: #1b82b3;
    text-transform: uppercase;
    padding: 5px;
    margin-bottom: 10px;
    font-size: medium;
}

.botao-inscricao,
.botao-inscricao2 {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    width: 100%;
    margin-bottom: 40px;
}

.botao-inscricao a,
.botao-inscricao2 a {
    padding: 8px 10px;
    text-transform: uppercase;
    text-decoration: none;
    font-size: medium;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-weight: bold;
    width: 100%;
    text-align: center;
}

.botao-inscricao a:hover {
    color: white !important;
    border: 2px solid #E5C585;
    transform: translateY(-5px);
}

.botao-inscricao a {
    color: #E5C585;
    border: 2px solid white;
    margin-top: -10px;
}

.botao-inscricao2 a {
    color: #E5C585;
    border: 2px solid #1b82b3;
    margin-bottom: 20px;
}

.botao-inscricao2 a:hover {
    color: #1b82b3;
    border: 2px solid #E5C585;
    transform: translateY(-5px);
}


/* ==================== LINHAS SECTION ==================== */
.linhas-section {
    width: 100%;
    height: 200px;
    background-image: url('images/linhas.svg');
    background-position: left top;
    background-repeat: no-repeat;
    background-size: auto;
    position: absolute;
}

/* ==================== TEXTO INTRODUÇÃO ==================== */
.texto-introducao {
    margin-top: 0px;
    padding: 60px 20px;
    box-sizing: border-box;
    text-align: justify;
    max-width: 940px;
    margin: 0 auto;

}

/* Primeira letra maior do texto centralizado */
.texto-centralizado::first-letter {
    font-size: 3em;
    line-height: 1;
    float: left;
    margin-right: 8px;
    margin-top: 2px;
    color: #1b82b3;
    font-weight: bold;
    font-family: "Bebas Neue", sans-serif;
}

/* ==================== MAIN CONTENT ==================== */
main {
    padding: 20px;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    box-sizing: border-box;
}

main p {
    text-indent: 10px;
}

.section {
    margin-bottom: 40px;
}

/* ==================== PALESTRANTES ==================== */
.palestrante-container {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    gap: 20px;
    border: 1px solid #1b82b3;
    padding: 20px;
    margin-bottom: 30px;
}

.section:nth-child(2) .palestrante-container {
    flex-direction: row;
}

.section:nth-child(2) .palestrante-container img {
    max-width: 300px;
}


.foto-palestrante {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 10px;
}

.foto-palestrante img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.palestrante-container img {
    max-width: 500px;
    margin-bottom: -5px;
}

.palestrante-info h2,
.palestrante-info h3 {
    color: #1b82b3;
    margin-bottom: 15px;
}

.palestrante-info p {
    text-align: justify;
}

/* ==================== UTILITÁRIOS ==================== */
.texto-dourado {
    color: #E5C585;
}

.feature-list {
    list-style-type: disc;
    padding-left: 20px;
}

.feature-list li {
    margin-bottom: 8px;
}

/* ==================== SEÇÕES ESPECIAIS ==================== */

/* Seção "Por que estudar Direito na FAM?" */
.section:nth-child(4) {
    background: #1b82b3;
    color: white;
    padding: 20px;
    margin-top: 100px;
    margin-bottom: 100px;
    position: relative;
    overflow: hidden;
}

.section:nth-child(4)::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(229,197,133,0.1)"/></svg>');
    background-size: 50px 50px;
    transform: rotate(45deg);
    pointer-events: none;
}

.section:nth-child(4) h2 {
    color: #E5C585;
    font-family: "Bebas Neue", sans-serif;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px;
    position: relative;

}

.section:nth-child(4) p {
    text-align: center;
    margin-bottom: 30px;
}

/* Lista de features estilizada */
.feature-list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 5px;
}

.feature-list li {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(10px);
}

.feature-list li:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
}

.feature-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: #E5C585;
    color: #1b82b3;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* Destacar números importantes */
.feature-list li {
    position: relative;
    padding-left: 45px;
}

.feature-list li:nth-child(4) {
    background: linear-gradient(45deg, rgba(229, 197, 133, 0.2), rgba(255, 255, 255, 0.1));
}

.feature-list li:nth-child(6)::after {
    content: 'DESDE 2007';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    color: #1b82b3;
    padding: 3px 12px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: bold;
}

/* Seção "Spoiler Pós-graduação" */
.section:nth-child(5) {
    padding: 20px;
    border: 1px solid #E5C585;
    position: relative;
    overflow: visible;
}


.section:nth-child(5)::before {
    content: 'NOVIDADE';
    text-align: center;
    position: absolute;
    left: 20px;
    top: -10px;
    background: #E5C585;
    color: white;
    padding: 3px 12px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.7rem;
    text-transform: uppercase;
}

.section:nth-child(5) h2 {
    color: #1b82b3;
    font-family: "Bebas Neue", sans-serif;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px;
    position: relative;

}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(-50%);
    }

    40% {
        transform: translateY(-70%);
    }

    60% {
        transform: translateY(-60%);
    }
}

.section:nth-child(5) p:first-of-type {
    text-align: center;
    padding: 15px;
    border-radius: 5px;
    background-color: #1b82b3;
    color: white;
    text-transform: uppercase;
    font-weight: bold;
}

.section:nth-child(5) p:first-of-type strong {
    color: #E5C585;
    text-transform: uppercase;
}

.section:nth-child(5) p:last-of-type {
    text-align: justify;
  
    border-radius: 10px;
}

/* ==================== ANIMAÇÕES DE SCROLL ==================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in-up.animate {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease-out;
}

.fade-in-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease-out;
}

.fade-in-right.animate {
    opacity: 1;
    transform: translateX(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}

.fade-in.animate {
    opacity: 1;
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease-out;
}

.scale-in.animate {
    opacity: 1;
    transform: scale(1);
}

/* Delays para elementos múltiplos */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

.delay-6 {
    transition-delay: 0.6s;
}

/* ==================== MOBILE ==================== */

@media (max-width: 1200px) {
    .linhas-section {
        filter: opacity(0.1);
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
    }

    .header-content {
        flex-direction: column;
        gap: 10px;
    }

    .palestrante-img {
        display: none;
    }

    .palestrante-container {
        flex-direction: column;
        text-align: center;
    }

    .palestrante-info img {
        border-bottom: 1px solid #1b82b3;
        margin-bottom: 0px;
        padding-bottom: 20px;
    }

    .palestrante-info h2,
    .palestrante-info h3 {
        text-align: center;
    }


    .texto-introducao {
        padding: 40px 20px;
    }

    .section:nth-child(4) {
        padding: 20px 10px;

    }

    .section:nth-child(2) .palestrante-container {
        flex-direction: column;
    }

    .header h1 {
        margin-top: 8px;
    }


}

@media (max-width: 480px) {

    .texto-introducao {
        padding: 40px 15px;
    }

    main {
        padding: 15px;
    }

    .feature-list li:nth-child(6)::after {
        position: static;
        display: block;
        text-align: center;
        margin-top: 15px;
        margin-left: auto;
        margin-right: auto;
    }


    .foto-palestrante img {
        height: 250px;
        max-width: 100%;
        object-fit: cover;
        object-position: center;
    }

}