/* Estilo geral da página principal */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
    color: #333;
    line-height: 1.6;
}

/* Estilo do cabeçalho */
header {
    background-color: #4a5c6a;
    color: #fff;
    padding: 2.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    border-bottom: 5px solid #a4c6e2;
}

header h1 {
    font-family: 'Playfair Display', serif; /* Fonte mais elegante */
    font-size: 3em;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

nav a {
    color: #fff;
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

nav a:hover {
    color: #a4c6e2;
    text-shadow: 0 0 5px #a4c6e2;
}

/* Container principal com visual de cartão */
.container {
    padding: 3rem;
    max-width: 900px;
    margin: 3rem auto;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Títulos das seções */
.section-title {
    font-family: 'Playfair Display', serif;
    color: #4a5c6a;
    border-bottom: 2px solid #a4c6e2;
    padding-bottom: 0.5rem;
    margin-top: 2rem;
    font-size: 2em;
    text-align: center;
    position: relative;
}

/* Adiciona um ícone ao lado do título para um toque visual */


.teacher-bio {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 2.5rem;
    padding: 1.5rem;
    border-left: 5px solid #4a5c6a;
    background-color: #f9f9f9;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.teacher-bio:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.teacher-bio img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-right: 2rem;
    border: 3px solid #a4c6e2;
    object-fit: cover;
}

.teacher-bio h3 {
    font-family: 'Playfair Display', serif;
    margin: 0;
    font-size: 1.5em;
    color: #4a5c6a;
}

.teacher-bio p {
    margin: 0;
    font-style: italic;
    color: #555;
    flex: 1;
}

.previous-editions p {
    margin-bottom: 1rem;
    line-height: 1.6;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 0.5rem;
}

.previous-editions p:last-child {
    border-bottom: none;
}

/* Rodapé */
footer {
    text-align: center;
    padding: 1.5rem;
    color: #777;
    margin-top: 2rem;
}

.workshop {
    width: 100%;
    margin-bottom: 3rem;
    box-sizing: border-box; /* Garante que o padding não afete a largura */
}

/* O contêiner do carrossel */
div.carousel {
    position: relative;
    width: 100% !important; /* FORÇA a largura a ser 100% do seu elemento pai */
    max-width: 800px !important; /* GARANTE que ele nunca passe de 800px em telas grandes */
    margin: 0 auto !important; /* FORÇA a centralização horizontal */
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Contêiner interno dos slides */
div.carousel .carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Cada slide */
div.carousel .carousel-item {
    min-width: 100%;
    box-sizing: border-box;
    display: none;
}

/* O slide ativo */
div.carousel .carousel-item.active {
    display: block;
}

div.carousel .carousel-item img {
    width: 100% !important; 
    height: auto !important;
    display: block !important;
    max-width: 100% !important;
    vertical-align: middle;
}

/* Botões de controle (próximo/anterior) */
div.carousel .carousel-control {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.5);
}

div.carousel .carousel-control.prev {
    left: 0;
    border-radius: 3px 0 0 3px;
}

div.carousel .carousel-control.next {
    right: 0;
    border-radius: 0 3px 3px 0;
}

div.carousel .carousel-control:hover {
    background-color: rgba(0,0,0,0.8);
}
/* --- Fim do Bloco do Carrossel --- */
