/* Variáveis de Cores Baseadas na Identidade Visual Oficial */
:root {
    --primary-color: #1b365d;        /* Azul Índigo Profundo (SABERES / SEMINÁRIO) */
    --primary-color-rgb: 27, 54, 93;
    --primary-light: #2c4d7e;
    --primary-dark: #102138;

    --secondary-color: #8a1c49;      /* Vinho Bordô / Magenta (DIÁLOGO) */
    --secondary-color-rgb: 138, 28, 73;
    --secondary-light: #a82a5d;

    --accent-color-1: #e07a28;       /* Âmbar / Terracota Quente (Nós da logo) */
    --accent-color-1-rgb: 224, 122, 40;

    --accent-color-2: #2a7f9e;       /* Azul Petróleo / Ciano Profundo (Nós da logo) */
    --accent-color-2-rgb: 42, 127, 158;

    --accent-color-3: #b82d23;       /* Vermelho Coral / Carmim (Nós da logo) */
    --accent-color-4: #d4a329;       /* Amarelo Ocre / Mostarda */
    --accent-color-5: #53682b;       /* Verde Oliva / Musgo */

    --text-dark: #182232;            /* Texto escuro com matiz índigo */
    --text-light: #4a5568;           /* Texto de parágrafos refinado */
    --bg-light: #f9f7f2;             /* Fundo suave em tom linho/creme da logo */
    --bg-dark: #e8e3d7;              /* Divisores e bordas suaves */
    --white: #ffffff;

    --shadow-light: rgba(27, 54, 93, 0.08);
    --shadow-medium: rgba(27, 54, 93, 0.16);
    --shadow-strong: rgba(27, 54, 93, 0.25);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.7;
    color: var(--text-light);
    background-color: var(--white);
    overflow-x: hidden; /* Evita scroll horizontal */
}

h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

.content-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    overflow: hidden; /* Para garantir que animações dentro não causem overflow */
    border-radius: 30px;
}

#trabalhos{
    padding: 0;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    overflow: hidden; /* Para garantir que animações dentro não causem overflow */
}

.content-section h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    color: var(--primary-color);
}

.text-justify {
    text-align: justify;
}

.content-section h2::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 5px;
    background: linear-gradient(to right, var(--secondary-color), var(--accent-color-1));
    bottom: -10px;
    left: 20%;
    border-radius: 5px;
}

.section-description {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 1.5rem auto 3rem auto;
    color: var(--text-light);
	text-align: justify;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 1.2rem 2.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 20px var(--shadow-medium);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 25px rgba(27, 54, 93, 0.3);
    background: linear-gradient(45deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.big-cta {
    padding: 1.5rem 3.5rem;
    font-size: 1.4rem;
}

/* Header & Navigation */
/* header {
    background: var(--white);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px var(--shadow-light);
    transition: all 0.3s ease;
} */

/* nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0.8rem 5%;
    max-width: 1400px;
    margin: 0 auto;
} */

/* nav .logo img {
    height: 70px;
    transition: transform 0.3s ease;
} */

nav .logo img:hover {
    transform: scale(1.05);
}

/* .nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    position: relative;
    padding-bottom: 5px;
    font-size: 1.05rem;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-links li a:hover::after {
    width: 100%;
} */

/* Burger menu icon for mobile */
/* .burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
} */

/* Hero Section with Carousel */
#hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    width: 100%;
    height: 100vh;
    background-size: cover !important;
    background-position: center center !important;
    display: flex !important; /* Important for Slick */
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: rgba(0, 0, 0, 0.6); /* Overlay escuro */
    z-index: 1;
}

.hero-details {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.15); /* Fundo translúcido */
    box-shadow: 0 10px 30px var(--shadow-medium);
}

.slide-content h1 {
    font-size: 4.5rem;
    margin-bottom: 0.8rem;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
    color: var(--white);
    font-weight: 800;
    animation: textZoomIn 1s ease-out;
	Padding-top: 3rem;
}

.slide-content p {
    font-size: 1.8rem;
    font-weight: 300;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
    color: var(--white);
    animation: fadeIn 1.5s ease-out 0.5s forwards;
    opacity: 0;
}

@keyframes textZoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Slick Custom Dots/Arrows */
.slick-dots {
    bottom: 30px !important;
}
.slick-dots li button:before {
    font-size: 12px !important;
    color: var(--white) !important;
    opacity: 0.7 !important;
}
.slick-dots li.slick-active button:before {
    color: var(--accent-color-1) !important;
    opacity: 1 !important;
}
.slick-prev:before, .slick-next:before {
    font-size: 30px !important;
    color: var(--white) !important;
    opacity: 0.8 !important;
}
.slick-prev, .slick-next {
    z-index: 3;
}

/* Countdown Timer */
.countdown-wrapper {
    margin-bottom: 2rem;
    background: rgba(var(--primary-color-rgb), 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: inset 0 0 15px rgba(255,255,255,0.1);
}

.countdown-wrapper h2 {
    margin-bottom: 1rem;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

#countdown ul {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    list-style: none;
	padding-top: 50px;
}

#countdown ul li {
    /* background: rgba(0, 0, 0, 0.3); */
    padding: 1rem 1.2rem;
    border-radius: 10px;
    font-size: 1rem;
    text-transform: uppercase;
    box-shadow: 0 5px 15px var(--shadow-medium);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 90px;
}

#countdown ul li span {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    color: var(--accent-color-1);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.event-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    margin-bottom: 2.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.stat-item i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat-item .count {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    color: var(--accent-color-1);
    line-height: 1;
}

.stat-item p {
    font-size: 1.1rem;
    margin-top: 0.5rem;
    font-weight: 300;
}

/* Sobre Section - Cards */
#sobre {
    background-color: var(--bg-light);
}

.sobre-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.card .icon-circle {
    font-size: 2.5rem;
    color: var(--white);
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color-1));
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(138, 28, 73, 0.35);
    align-self: center;
}

.card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
    flex-grow: 1;
}

.card-link {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.card-link i {
    margin-left: 0.5rem;
    transition: margin-left 0.3s ease;
}

.card-link:hover i {
    margin-left: 1rem;
}

.sobre-video {
    margin-top: 5rem;
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-light);
}

.sobre-video h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 10px;
}

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

/* Palestrantes Section */
#palestrantes {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding-bottom: 8rem;
    position: relative;
}

#palestrantes h2, #palestrantes .section-description {
    color: var(--white);
}

#palestrantes h2::after {
    background: linear-gradient(to right, var(--accent-color-1), var(--accent-color-4));
}

.palestrantes-grid {
    display: grid;
    gap: 3rem;
    margin-top: 4rem;
    margin: 50px;
}

.palestrante-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.2);
}

.palestrante-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    background: rgba(255, 255, 255, 0.2);
}

.palestrante-card img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--accent-color-1);
    margin-bottom: 1.5rem;
    box-shadow: 0 0 0 8px rgba(255,255,255,0.15);
    transition: border-color 0.3s ease;
}

.palestrante-card:hover img {
    border-color: var(--accent-color-4);
}

.palestrante-card h3 {
    color: var(--white);
    font-size: 1.7rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.palestrante-card p {
    color: #ffecd1;
    font-weight: 300;
    font-size: 1.1rem;
    text-align: justify;
}

/* Programação Section */
#Apoiadores {
    background-color: var(--white);
}

#documentos {
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 30px;
    box-shadow: 0 10px 30px var(--shadow-light);
    margin-bottom: 34px;
}

#dicas {
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 30px;
    box-shadow: 0 10px 30px var(--shadow-light);
    margin-bottom: 34px;
}

.tabs {
    margin-top: 3rem;
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
    border-bottom: 2px solid var(--bg-dark);
}

.tab-link {
    background: none;
    border: none;
    padding: 1rem 2.5rem;
    cursor: pointer;
    font-size: 1.3rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--text-light);
    position: relative;
    transition: color 0.3s, background-color 0.3s;
}

.tab-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 4px;
    background: var(--secondary-color);
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.tab-link.active {
    color: var(--primary-color);
}

.tab-link.active::after {
    width: 100%;
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
}

.tab-link:hover:not(.active) {
    color: var(--secondary-color);
}

.tab-content {
	display: contents;
    text-align: left;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-light);
    margin-top: 2rem;
    margin-left: 2rem;
    margin-right: 2rem;    
}

.tab-content ul {
    list-style: none;
}

.tab-content li {
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--bg-dark);
    display: grid;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
}
.tab-content li:last-child {
    border-bottom: none;
}

.tab-content .time {
    background: linear-gradient(45deg, var(--accent-color-1), var(--accent-color-4));
    color: var(--white);
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(224, 122, 40, 0.25);
}

.tab-content .event-title {
    font-size: 1.25rem;
    color: var(--text-dark);
    flex-grow: 1;
}

/* Inscrições Section */
#inscricoes {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-shadow: 0 1px 5px rgba(0,0,0,0.2);
}

#inscricoes h2, #inscricoes .section-description {
    color: var(--white);
}
#inscricoes h2::after {
    background: linear-gradient(to right, var(--accent-color-1), var(--white));
}

#inscricoes .small-text {
    color: rgba(255,255,255,0.85);
    margin-top: 2rem;
    font-size: 1rem;
}

/* Contato Section */
#contato {
    background-color: var(--bg-light);
}

#contactForm {
    max-width: 700px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2.5rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-light);
}

.form-group {
    position: relative;
}

#contactForm input,
#contactForm textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 1px solid var(--bg-dark);
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    color: var(--text-dark);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#contactForm input:focus,
#contactForm textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.2);
    outline: none;
}

#contactForm textarea {
    resize: vertical;
}

#contactForm button {
    width: auto;
    align-self: flex-start;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

#contactForm button i {
    margin-left: 0.8rem;
}

#form-message {
    margin-top: 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
}
#form-message.success {
    color: var(--accent-color-5);
}
#form-message.error {
    color: var(--accent-color-3);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 5rem;
}

.info-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px var(--shadow-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
}

.info-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.info-item p {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.5;
}
.info-item a {
    color: var(--primary-color);
    font-weight: 500;
}

.social-media {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-media a {
    background: var(--primary-color);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.social-media a:hover {
    transform: translateY(-5px) scale(1.1);
    background: var(--secondary-color);
    box-shadow: 0 8px 20px rgba(var(--secondary-color-rgb), 0.4);
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: var(--white);
    text-align: center;
    padding: 3rem 5%;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

/* Responsividade */
@media (max-width: 992px) {
    .nav-links {
        gap: 1.5rem;
    }
    .hero-details {
        max-width: 80%;
        padding: 1.5rem;
    }
    .slide-content h1 {
        font-size: 3.5rem;
    }
    .slide-content p {
        font-size: 1.5rem;
    }
    .content-section h2 {
        font-size: 2.5rem;
    }
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    #countdown ul {
        gap: 1rem;
    }
    #countdown ul li span {
        font-size: 2.5rem;
    }
    .event-stats {
        flex-direction: column;
        gap: 2rem;
    }
    .palestrantes-grid, .sobre-cards {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* Ajustes para a Navbar do Bootstrap */
#mainNavbar {
    background-color: var(--white) !important;
    box-shadow: 0 2px 15px var(--shadow-light) !important;
    padding: 0.8rem 5%;
    z-index: 1000;
}

#mainNavbar .navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 2rem;
	margin-left: 6rem;
}

#mainNavbar .navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    position: relative;
    padding-bottom: 5px;
    font-size: 1.05rem;
    margin-left: 1.5rem;
    transition: color 0.3s ease;
}

#mainNavbar .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

#mainNavbar .navbar-nav .nav-link:hover {
    color: var(--secondary-color);
}

#mainNavbar .navbar-nav .nav-link:hover::after {
    width: 100%;
}

#mainNavbar .navbar-toggler {
    border-color: rgba(27, 54, 93, 0.15);
}

#mainNavbar .navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(27, 54, 93, 0.15);
}

/* --- CSS PARA O LOGO FLUTUANTE (compatível com logo oficial retangular) --- */
.logo-flutuante {
    position: fixed;
    top: 0.5rem;
    left: 25px;
    z-index: 1001;
    width: 210px;
    height: auto;
    background-color: rgba(255, 255, 255, 0.97);
    border-radius: 18px;
    box-shadow: 0 8px 25px var(--shadow-medium);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 10px 12px;
    transition: transform 0.4s ease, width 0.4s ease, padding 0.4s ease, top 0.4s ease, left 0.4s ease, box-shadow 0.4s ease;
}

.logo-flutuante img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 190px;
    object-fit: contain;
    border-radius: 12px;
    display: block;
    margin: 0 auto;
}

.logo-flutuante:hover {
    transform: scale(1.03) translateY(-3px);
    box-shadow: 0 12px 30px var(--shadow-strong);
}

.logo-flutuante.scrolled {
    width: 140px;
    top: 10px;
    left: 15px;
    padding: 6px 8px;
    box-shadow: 0 5px 15px var(--shadow-medium);
}

.logo-flutuante.scrolled img {
    max-height: 110px;
}

@media (max-width: 768px) {
    .logo-flutuante {
        width: 150px;
        top: 0.4rem;
        left: 12px;
        padding: 8px 10px;
        border-radius: 14px;
    }
    .logo-flutuante img {
        max-height: 130px;
    }
    .logo-flutuante.scrolled {
        width: 110px;
        top: 8px;
        left: 10px;
        padding: 5px 6px;
    }
    .logo-flutuante.scrolled img {
        max-height: 85px;
    }
}

/* --- ESTILO DAS SETAS DO SLIDER (HERO) --- */
.slick-prev:before, .slick-next:before {
    display: none !important;
	color: white;
}

.custom-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.5rem;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.slick-prev {
    left: 30px;
}
.slick-next {
    right: 30px;
}

.custom-arrow:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 15px rgba(138, 28, 73, 0.6);
}

@media (max-width: 768px) {
    .custom-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    .slick-prev { left: 10px; }
    .slick-next { right: 10px; }
}

.slick-next:focus {
    color: white;
    outline: none;
    background: transparent;
}

.card-body {
	display: grid;
}

/* Bootstrap Nav Tabs & Pills Personalizadas na Paleta Oficial */
.nav-tabs {
    border-bottom: 2px solid var(--bg-dark) !important;
}

.nav-tabs .nav-link {
    color: var(--primary-color) !important;
    font-weight: 600;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
    color: var(--secondary-color) !important;
    border-color: transparent transparent var(--secondary-light) transparent;
}

.nav-tabs .nav-link.active {
    color: var(--white) !important;
    background-color: var(--primary-color) !important;
    border-radius: 10px 10px 0 0;
    border: none;
}

.nav-pills .nav-link {
    color: var(--primary-color) !important;
    font-weight: 600;
    border-radius: 30px;
    padding: 0.7rem 1.5rem;
    transition: all 0.3s ease;
}

.nav-pills .nav-link:hover {
    color: var(--secondary-color) !important;
    background-color: rgba(138, 28, 73, 0.08);
}

.nav-pills .nav-link.active {
    background-color: var(--secondary-color) !important;
    color: var(--white) !important;
    box-shadow: 0 4px 12px rgba(138, 28, 73, 0.3);
}

.table thead.table-light th {
    background-color: var(--bg-dark);
    color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.table-hover > tbody > tr:hover > * {
    background-color: rgba(224, 122, 40, 0.08) !important;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color) !important;
    background-color: rgba(27, 54, 93, 0.08) !important;
}

.accordion-button:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(27, 54, 93, 0.15);
}

/* --- RESPONSIVO: notebooks e dispositivos móveis --- */
img {
    max-width: 100%;
}

#hero {
    height: 100vh;
    height: 100svh;
    min-height: 560px;
}

.slide-content {
    width: min(96%, 1150px);
    margin: 0 auto;
    padding: 6rem 1.25rem 3rem;
}

.slide-content h1 {
    font-size: clamp(1.1rem, 4.2vw, 3.4rem);
    line-height: 1.15;
    white-space: nowrap;
    color: var(--accent-color-1);
    text-shadow: none;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.65));
}

.slide-content p {
    display: block !important;
    font-size: clamp(1.05rem, 2.6vw, 1.8rem) !important;
    color: var(--accent-color-1);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
    opacity: 1 !important;
    animation: none;
    position: relative;
    z-index: 2;
    margin-top: 0.8rem;
    font-weight: 800;
}

.content-section {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.content-section h2 {
    font-size: clamp(1.7rem, 4.5vw, 3rem);
    overflow-wrap: break-word;
}

.section-description {
    font-size: clamp(1rem, 2.4vw, 1.2rem);
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

#countdown ul {
    flex-wrap: wrap;
    padding-left: 0;
    padding-right: 0;
    margin: 0;
}

#countdown ul li {
    flex: 1 1 130px;
    min-width: 130px;
    max-width: 180px;
}

#countdown ul li span {
    font-size: clamp(2rem, 7vw, 3.5rem);
}

.tabs {
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tab-link {
    padding: 0.8rem 1.2rem;
    font-size: clamp(0.95rem, 2.4vw, 1.3rem);
    white-space: normal;
    flex: 1 1 auto;
}

.tab-content li {
    grid-template-columns: 1fr;
}

.tab-content .time {
    justify-self: start;
}

.palestrantes-grid {
    margin: 2rem auto 0;
    max-width: 1100px;
}

.palestrante-card img {
    width: min(300px, 64vw);
    height: auto;
    aspect-ratio: 1 / 1;
}

#documentos h4 {
    overflow-wrap: anywhere;
    font-size: clamp(1rem, 2.6vw, 1.25rem);
    line-height: 1.5;
}

/* Notebooks: ajustes finos */
@media (max-width: 1280px) {
    .slide-content h1 {
        font-size: clamp(2rem, 4.5vw, 4rem);
    }
    .content-section {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
    #mainNavbar .navbar-nav .nav-link {
        font-size: 1rem;
        margin-left: 1rem;
    }
}

/* Tablets e celulares maiores */
@media (max-width: 768px) {
    .content-section {
        padding-top: 4rem;
        padding-bottom: 4rem;
        border-radius: 20px;
    }
    #hero {
        min-height: 520px;
    }
    .slide-content {
        padding-top: 7rem;
    }
    #mainTab {
        flex-wrap: wrap;
    }
    #mainTab .nav-item {
        flex: 1 1 45%;
    }
    #mainTab .nav-link {
        font-size: 0.95rem;
        padding: 0.8rem 0.6rem;
        white-space: normal;
    }
    .palestrantes-grid {
        gap: 1.5rem;
        margin-left: 0;
        margin-right: 0;
    }
    .palestrante-card {
        padding: 1.5rem 1.25rem;
    }
    #documentos,
    #dicas {
        margin-left: 0.75rem;
        margin-right: 0.75rem;
        border-radius: 20px;
    }
    .slick-prev {
        left: 10px;
    }
    .slick-next {
        right: 10px;
    }
}

/* Celulares pequenos */
@media (max-width: 480px) {
    #countdown ul {
        gap: 0.6rem;
    }
    #countdown ul li {
        flex: 1 1 40%;
        min-width: 0;
        max-width: none;
        padding: 0.8rem 0.5rem;
        font-size: 0.8rem;
    }
    #mainTab .nav-item {
        flex: 1 1 100%;
    }
    .tab-link {
        flex: 1 1 100%;
        text-align: center;
    }
    .card {
        padding: 1.5rem 1.25rem;
    }
}

#documentos h4 a {
    font-weight: 700;
    font-size: 1.5rem;
}

/* Edições Anteriores: o índice por ano não herda o estilo de título da seção */
.content-section .accordion-header {
    display: block;
    margin: 0;
    font-size: 1.25rem;
    position: static;
}

.content-section .accordion-header::after {
    content: none;
}

#edicoes .accordion-body h4 {
    overflow-wrap: anywhere;
    font-size: clamp(1rem, 2.6vw, 1.25rem);
    line-height: 1.5;
}