/* orientation.css */
.orientation-section {
    background-color: #f8f9fa;

}

.orientation-header {
    text-align: center;
    margin-bottom: 3rem;

}

.orientation-header h1 {
    color: #4C989C;
    font-family: "Segoe Print", Arial, Helvetica, sans-serif;
    margin: 1rem 0;
}

.orientation-header p {
    font-size: calc(0.8rem + 0.4vw);
    color: #333;
    line-height: 1.6;
}

.section-title {
    text-align: center;
    color: #4C989C;
    margin: 2rem 0 1.5rem;
    font-size: 1.8rem;
    font-weight: 600;
}

/* Key moments (Quand se faire accompagner ?) */
.key-moments {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.moment {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #4C989C;
}

.moment:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.moment-label {
    background-color: #4C989C;
    color: white;
    border-radius: 20px;
    padding: 0.5rem 1.5rem;
    margin: 0 auto 1.5rem;
    font-weight: bold;
    font-size: 1rem;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.moment p {
    color: #444;
    line-height: 1.5;
    margin: 0;
}

/* Steps (processus numéroté) */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.step {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #dcabc1;
}

.step:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: #dcabc1;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-weight: bold;
    font-size: 1.5rem;
}

.step h3 {
    margin-bottom: 0.5rem;
    color: #4C989C;
}

/* Parcoursup */
.parcoursup-section {
    background: #fff;
    border-left: 6px solid #4C989C;
    padding: 2rem;
    margin: 3rem 0;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.parcoursup-section h2 {
    color: #4C989C;
    margin-bottom: 1rem;
    text-align: center;
}

.parcoursup-section p {
    color: #444;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Benefits */
.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.benefit-item {
    text-align: center;
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.benefit-item h3 {
    color: #4C989C;
    margin-bottom: 0.8rem;
}

/* CTA */
.cta-section {
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.btn-contact {
    display: inline-block;
    background-color: #4C989C;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-family: "Segoe Print", Arial, Helvetica, sans-serif;
    transition: background-color 0.3s, transform 0.2s;
    font-size: 1.1rem;
}

.btn-contact:hover {
    background-color: #3a7a7d;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}


/* Structure avec image à droite - inspirée de coaching-definition */
.orientation-header .definition-container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 2rem;
    margin-top: 2rem;
}

.orientation-header .definition-text {
    flex: 1 1 55%;
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
}

.orientation-header .definition-text h1 {
    position: relative;
    left: 30%;
    z-index: 1;
    color: #4C989C;

}

.orientation-header .definition-image {
    flex: 1 1 40%; 
       
}

.orientation-header .definition-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Responsive mobile profond */
@media (max-width: 768px) {
    .key-moments {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin: 2rem 0;
        padding: 0;
    }

    .moment {
        display: flex;
        flex-direction: row;
        background-color: #f0f7f7;
        padding: 0.5rem;
        border-top: none;
        border-radius: 6px;
        box-shadow: none;
        text-align: left;
    }

    .moment-label {
        writing-mode: vertical-lr;
        text-orientation: mixed;
        background-color: #4C989C;
        color: white;
        padding: 0.8rem 0.4rem;
        font-size: 0.75rem;
        font-weight: bold;
        letter-spacing: 0.5px;
        display: flex;
        align-items: center;
        margin-right: 0.8rem;
        border-radius: 3px;
        min-width: 28px;
        text-transform: uppercase;
        transform: rotate(180deg);
    }

    .moment p {
        margin: 0;
        display: flex;
        flex: 1;
        font-size: 0.9rem;
        line-height: 1.4;
    }

    /* Ajustement pour garantir l'alignement */
    .moment-label, .moment p {
        align-self: stretch;
    }

    .steps {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin: 2rem 0;
        padding: 0;
        border: none;
    }

    .step {
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: #f0f7f7;
        padding: 1rem;
        border-left: 5px solid #dcabc1;
        border-radius: 6px;
        box-shadow: none;
        text-align: center;
    }

    .step h3 {
        order: 2;
        margin: 0 0 0.5rem 0;
        color: #4C989C;
    }

    .step-number {
        display: none;
    }

    .step p {
        order: 3;
        margin: 0;
        text-align: left;
    }

    .step-content {
        display: flex;
        flex-direction: column;
    }

    .benefits {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        margin: 2rem 0;
    }

    .benefit-item {
        flex-direction: column;
        align-items: flex-start;
        background-color: #f0f7f7;
        padding: 0.2rem;
        border-left: 5px solid #4C989C;
        margin-bottom: 0.2rem;
        border-radius: 6px;
        box-shadow: none;
        text-align: left;
    }

    .benefit-item h3 {
        display: flex;
        align-items: center;
        margin-bottom: 0.2rem;
    }

    .btn-contact {
        padding: 10px 20px;
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.3rem;
        padding: 0 1rem;
    }

    .orientation-header h1 {
        font-size: 1.6rem;
    }

    .orientation-header p {
        padding: 0 1rem;
    }

    /* Responsive pour la structure avec image */
    .orientation-header .definition-container {
        flex-direction: column;
        text-align: center;
    }

    .orientation-header .definition-text {
        flex: 1 1 100%;
        text-align: center;
        padding: 0 1rem;
    }

    .orientation-header .definition-text h1 {
    position: relative;
    left: 0%;
    z-index: 1;
    color: #4C989C;

    }

    .orientation-header .definition-image {
        flex: 1 1 100%;
        margin-top: 1.5rem;
    }
}
