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

.formation-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 20px;
    transition: transform 0.2s ease;
}
.formation-card:hover {
    transform: translateY(-5px);
}

.formation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
    color: #4B3B9E;
}

.tarif {
    background: #e6e0f8;
    color: #4B3B9E;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.95em;
}

.date-list {
    margin-top: 12px;
    padding-left: 0;
}
.date-list li {
    margin-bottom: 8px;
    list-style: none;
    position: relative;
    padding-left: 26px;
}
.date-list li::before {
    content: "\1F4C5";
    position: absolute;
    left: 0;
    font-size: 16px;
    color: #4B3B9E;
}
.date-list a {
    text-decoration: none;
    color: #2C3E94;
}
.date-list a:hover {
    text-decoration: underline;
}

.reservation-form {
    max-width: 800px;
    margin: 40px auto;
    padding: 25px;
    background: #f3f0fb;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.reservation-form h2 {
    margin-bottom: 20px;
    font-size: 1.3em;
    color: #4B3B9E;
}

.form-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

label {
    font-weight: 500;
    font-size: 0.95em;
    display: block;
    margin-bottom: 8px;
    color: #2C3E94;
}
input[type="text"], input[type="email"], textarea {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 0.95em;
}

button[type="submit"] {
    background-color: #4B3B9E;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.3s ease;
}
button[type="submit"]:hover {
    background-color: #2C3E94;
}

.reservation-success {
    background: #e6f0f8;
    color: #1e3973;
    padding: 12px 20px;
    border-left: 5px solid #4B3B9E;
    border-radius: 6px;
    margin-bottom: 25px;
}

.error-msg {
    background: #fde6e6;
    color: #a00000;
    padding: 12px 20px;
    border-left: 5px solid #d33;
    border-radius: 6px;
    margin-bottom: 25px;
}
