/* --- Couleurs Spécifiques (réutilisation des variables de styles.css) --- */

/* --- Hero Section --- */
.hero-cours {
    background-color: var(--secondary-color); /* Vert défini dans styles.css */
    color: white;
    padding: 60px 40px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 40px;
}

.hero-cours h2 {
    font-size: 2.5em;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-cours p {
    font-size: 1.1em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background-color: #ffc107; /* Jaune vif pour l'attention */
    color: var(--text-color);
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background-color: #ffda6a;
    transform: translateY(-2px);
}

/* --- Section Bénéfices --- */
.section-benefits {
    padding: 40px 0;
    text-align: center;
}

.section-benefits h3 {
    font-size: 2em;
    margin-bottom: 30px;
    color: var(--primary-color);
}

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

.benefit-item {
    padding: 20px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background-color: white;
}

.benefit-icon {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.benefit-item h4 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

/* --- Section Cible --- */
.section-target {
    margin: 40px 0;
    padding: 30px;
    background-color: #f1f7fe;
    border-radius: 8px;
}

.section-target h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.section-target ul {
    list-style: none;
    padding-left: 0;
}

.section-target li {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%2328a745" class="bi bi-check-circle-fill" viewBox="0 0 16 16"><path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.02L7.5 10.158 5.485 8.046a.75.75 0 1 0-1.071 1.056l2.5 2.5a.75.75 0 0 0 1.08-.02L13.5 6.13a.75.75 0 0 0-.011-1.06z"/></svg>') no-repeat left center;
    background-size: 16px;
    padding-left: 25px;
    margin-bottom: 15px;
}

/* --- Formulaire de Contact --- */
.section-contact {
    padding: 40px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background-color: white;
    margin-bottom: 40px;
}

.section-contact h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-form {
    max-width: 600px;
    margin-top: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-size: 1em;
}

.form-group textarea {
    resize: vertical;
}

.submit-button {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #0056b3;
}

/* --- Retour à l'accueil --- */
.back-to-home {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 10px;
}

.back-to-home:hover {
    text-decoration: underline;
}

/* --- Media Query pour le formulaire (Petits écrans) --- */
@media (max-width: 576px) {
    .hero-cours {
        padding: 40px 20px;
    }
    .hero-cours h2 {
        font-size: 1.8em;
    }
    .section-contact {
        padding: 20px;
    }
}