/* Image dans le index */
.hero-image {
    margin: 120px 0;
    display: flex;
    justify-content: center;
    background-color: #dbdbdb09;
}

.image-container {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.image-container img {
    width: 100%;
    height: auto;          
    display: block;
    object-fit: contain;   
}

/* Description */
.hero-image_description {
    font-size: 16px;
    color: #444;
    max-width: 700px;
    line-height: 1.5;
}

/* CTA en bas */
.cta-button {
    margin-top: 10px;
    display: inline-block;

    background-color: #cf0606;
    color: white;

    padding: 12px 22px;
    text-decoration: none;

    border-radius: 8px;
    font-weight: bold;

    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #e68900;
    transform: scale(1.05);
}


/* =========================
   PAGE LANGUES EN LIGNE
========================= */

.page-container{
    margin-top: 100px;
}

.language-training-section {
    background: #fff;
    padding: 35px;
    border-radius: 20px;
}

/* =========================
   TITRES
========================= */

.language-training-section h1 {
    font-size: 2.5rem;
    color: #001442;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.language-training-section h2 {
    font-size: 1.8rem;
    color: #f80000;
    margin-bottom: 20px;
    margin-top: 15px;
    font-weight: 700;
}

.language-training-section h3 {
    font-size: 1.4rem;
    color: #1e293b;
    margin-bottom: 20px;
}

.language-training-section h4 {
    font-size: 1.1rem;
    color: #0f172a;
    margin-bottom: 10px;
    font-weight: 700;
}

/* =========================
   PARAGRAPHES
========================= */

.language-training-section p {
    color: #475569;
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 18px;
}

.language-training-section strong {
    color: #0f172a;
    font-weight: 700;
}

/* =========================
   HERO BUTTONS
========================= */

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin: 25px 0 35px;
}

.hero-actions .btn {
    padding: 14px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all .3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hero-actions .primary, .hero-actions .secondary {
    background: linear-gradient(135deg, #bd1616, #d11800);
    color: white;
}

.hero-actions .primary:hover {
    transform: translateY(-3px);
}

/* =========================
   CTA BOX
========================= */

.cta-box {
    background: linear-gradient(135deg, #f80000, #e60303);
    color: white;
    padding: 30px;
    border-radius: 18px;
    margin: 30px 0;
}

.cta-box h3 {
    color: white;
    margin-bottom: 10px;
}

.cta-box p {
    color: rgba(255,255,255,0.9);
    margin: 0;
}

/* =========================
   CARDS
========================= */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.step-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 25px;
    border: 1px solid #edf2f7;
    transition: all .35s ease;
    position: relative;
    overflow: hidden;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(0,0,0,0.08);
}

.step-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg,#f80000,#ff0101);
}

.step-number {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg,#f80000,#c70303);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1rem;
}

/* =========================
   LISTES
========================= */

.language-training-section ul {
    margin: 20px 0;
    padding-left: 0;
}

.language-training-section ul li {
    list-style: none;
    background: #f8fafc;
    margin-bottom: 10px;
    padding: 14px 18px;
    border-radius: 12px;
    color: #334155;
    border-left: 4px solid #f80000;
    transition: .3s;
}

.language-training-section ul li:hover {
    background: #eff6ff;
}

/* =========================
   SEPARATEURS
========================= */

.language-training-section hr {
    border: none;
    height: 1px;
    background: #e2e8f0;
    margin: 45px 0;
}

/* =========================
   FORMULAIRE
========================= */

.right-panel .box {
    background: white;
    padding: 30px;
    border-radius: 18px;
    position: sticky;
    top: 10px;
}

.right-panel .box h1 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #b90000;
}

.right-panel form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.right-panel input,
.right-panel select,
.right-panel textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #dbe2ea;
    border-radius: 12px;
    font-size: 15px;
    transition: .3s;
    background: #fff;
}

.right-panel input:focus,
.right-panel select:focus,
.right-panel textarea:focus {
    border-color: #f80000;
    outline: none;
}

.right-panel textarea {
    min-height: 120px;
    resize: vertical;
}

.right-panel button {
    background: linear-gradient(135deg,#fd0d0d,#f80000);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    transition: .3s;
}

.right-panel button:hover {
    transform: translateY(-3px);
}

/* =========================
   BANNIÈRE
========================= */

.top-banner img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    display: block;
}

.language-training-section ul li i {
    font-size: 30px;
    margin-right: 10px;
    color: #ffae00;
    width: 40px;
}

.language-training-section ul li i {
    font-size: 30px;
    margin-right: 10px;
    color: #ffae00;
    width: 42px;
    text-align: center;
}

.language-training-section ul li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {

    .language-training-section {
        padding: 25px;
    }

    .language-training-section h1 {
        font-size: 2rem;
    }

    .right-panel .box {
        position: relative;
        top: auto;
    }
    .page-container{
    margin-top: 80px;
}
}

@media (max-width: 768px) {

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        justify-content: center;
    }

    .language-training-section h1 {
        font-size: 1.7rem;
    }

    .language-training-section h2 {
        font-size: 1.4rem;
    }

    .top-banner img {
        height: 250px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }
    .page-container{
    margin-top: -130px;
}
}




