/* Seção de cursos */
.courses-section {
    margin-bottom: 50px;
}

.courses-header {
    text-align: center;
    margin-bottom: 40px;
}

.courses-header h2 {
    color: #8b4513;
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.courses-header p {
    color: #5d4037;
    font-size: 1.1em;
}

/* Grade de cursos */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

/* Cartões de curso */
.course-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 3px solid transparent;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(139, 69, 19, 0.2);
    border-color: #8b4513;
}

.course-card.expanded {
    grid-column: 1 / -1;
    border-color: #8b4513;
}

/* Header do curso */
.course-header {
    text-align: center;
    margin-bottom: 25px;
}

.course-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8b4513, #d4a574);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.5em;
    color: white;
}

.course-title {
    font-size: 1.8em;
    color: #8b4513;
    margin-bottom: 15px;
}

.course-brief {
    color: #666;
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Preços */
.course-price {
    background: #d4a574;
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 1.2em;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 15px;
}

.promo-price {
    position: relative;
}

.promo-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #8b4513;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.7em;
}

/* Detalhes do curso */
.course-details {
    display: none;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

.course-details.active {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.detail-section {
    background: #faf5f0;
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid #8b4513;
}

.detail-section h3 {
    color: #8b4513;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.detail-section ul {
    list-style: none;
}

.detail-section li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    color: #555;
}

.detail-section li:last-child {
    border-bottom: none;
}

/* Datas */
.dates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.date-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.date-card:hover {
    transform: translateY(-5px);
}

.date-card .date {
    font-size: 1.2em;
    font-weight: bold;
    color: #8b4513;
    margin-bottom: 10px;
}

.date-card .info {
    color: #666;
    font-size: 0.9em;
}

.special-date {
    background: linear-gradient(135deg, #8b4513, #d4a574);
    color: white;
}

.special-date .date,
.special-date .info {
    color: white;
}

.special-date .info {
    color: rgba(255,255,255,0.9);
    font-weight: bold;
}

/* Informações de contacto */
.contact-info {
    text-align: center;
    margin-top: 20px;
    padding: 20px;
    background: #faf5f0;
    border-radius: 10px;
}

.contact-info p {
    margin-bottom: 10px;
    color: #8b4513;
    font-weight: bold;
}

.contact-info a {
    color: #8b4513;
    text-decoration: none;
}

.contact-info .note {
    color: #999;
    font-size: 0.8em;
    font-style: italic;
    font-weight: normal;
}

.promo-contact .promo-price-highlight {
    color: #8b4513;
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 10px;
}