.service_header {
    width: 100%;
    height: clamp(400px, 70vh, 70vh);
    background-image: url('../Images/Service/Image-calendrier.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    z-index: 0;
}

.service_header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.menu_calendrier {
    text-align: center;
    line-height: 1.02;
    font-size: clamp(30px, 6.6vw, 64px);
    display: block;
    position: relative;
    z-index: 2;
    margin-top: clamp(-400px, -15vw, -40px);
    padding: 0 10px;
}

.service_Features {
    display: flex;
    gap: clamp(20px, 5vw, 40px);
    justify-content: center;
    align-items: flex-start;
    margin-top: 0;
    margin-bottom: clamp(48px, 6.5vw, 120px);
}

.service_Feature {
    width: clamp(200px, 25vw, 220px);
    text-align: center;
    position: relative;
}

.service_calendrier_svg {
    width: 120px;
    height: 120px;
    display: block;
    margin: 0 auto;
}

.service_calendrier_titre {
    margin: 8px 0 4px 0;
    font-size: clamp(12px, 3vw, 16px);
    font-family: MtSrtAltRG;
    color: black;
}

.service_Infos[data-bg="calendrier"] {
    --bg: url('../Images/Service/Babily-cover-04.jpg');
}

.service_Infos {
    position: relative;
    display: flex;
    justify-content: flex-start;
    padding: clamp(2.5rem, 8vw, 5.5rem) clamp(2.5rem, 6vw, 5rem);
    background-image: var(--bg);
    background-size: cover;
    background-position: center;
}

.service_infos_titre {
    font-size: clamp(28px, 5.2vw, 49px);
    line-height: 1.08;
    font-weight: 700;
    margin: 0 0 2em 0;
    letter-spacing: -.5px;
    font-family: MtSrtAltXB;
}

.cloche {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border-radius: 12px;
    cursor: default;
    flex-shrink: 0;
}

.cloche:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #FFBB69;
    border-radius: 12px;
    z-index: -2;
}

.cloche:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #ff9f0e;
    transition: none;
    border-radius: 12px;
    z-index: -1;
}

.cloche:hover:before {
    width: 0%;
}

.service_infos_txtJaune {
    margin: 0;
    line-height: 1.4;
}

.logo_a_cheval {
    position: absolute;
    left: 15%;
    top: 0;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.logo_a_cheval svg {
    height: clamp(70px, 5vw, 120px);
    width: auto;
    display: block;
    position: relative;
    z-index: 2;
}

.service_infos_txtBlanc {
    font-family: MtSrtAltB;
    font-size: clamp(24px, 3vw, 30px);
    line-height: 1.08;
    font-weight: 700;
    margin: 0 0 .35em 0;
    letter-spacing: -.5px;
    color: white;
    margin-top: 1em;
}

.sous_titre_blocs {
  font-family: MtSrtAltXBI;
  font-size: clamp(24px, 3vw, 30px) !important;
}

.real_halfwidth {
    width: 50%;
}

.section_separe {
    display: flex;
    align-items: stretch;
    min-height: 500px;
}

.section_separe_titre {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.section_separe_texte {
    padding: clamp(2rem, 5vw, 4rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section_separe_image {
    background-image: var(--split-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 100;
}

.section_separe_texte p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.section_separe_icone {
    display: inline-block;
    width: 50px;
    height: 50px;
    vertical-align: -8px;
    margin-right: 15px;
    flex-shrink: 0;
}

.section_separe_icone svg {
    width: 100%;
    height: 100%;
    display: block;
}

.section_separe_icone svg * {
    stroke-width: 8px;
}

.calendrier_separe[data-bg="blue"] {
    --split-bg: url('../Images/Service/image_enfant_tel_istock.jpg');
}

.calendrier_separe[data-bg="orange"] {
    --split-bg: url('../Images/Service/Image-mug.jpg');
}

.calendrier_separe[data-bg="red"] {
    --split-bg: url('../Images/Service/Image-tirelire.jpg');
}

.calendrier_liste {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    font-size: clamp(14px, 1.6vw, 17px);
    line-height: 1.6;
}

.calendrier_liste li {
    margin-bottom: 1.5rem;
    padding-left: 0;
}

.calendrier_liste li::before {
    content: none;
}

.calendrier_slogan {
    font-size: clamp(16px, 4vw, 26px);
    font-family: MtSrtAltXBI;
    line-height: 1.5;
}

.titre_section_chiffres {
    font-size: clamp(28px, 5.2vw, 49px);
    margin: 1.5em 0 0 0;
}

.div_etapes {
    max-width: 900px;
    margin: 3em auto;
    padding: 0 20px;
}

.ligne_etapes {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: clamp(20px, 5vw, 60px);
    margin-bottom: 2em;
}

.item_etapes {
    flex: 1;
    max-width: 380px;
    text-align: center;
}

.div_cercle {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5em;
}

.cercle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.cercle.blue {
    background-color: #3C84FB;
}

.cercle.orange {
    background-color: #FFBB69;
}

.cercle.red {
    background-color: #FA6870;
}

.cercle .number {
    color: white;
    font-size: 28px;
    font-weight: 700;
}

.texte_etapes {
    color: #3C84FB;
    font-size: clamp(14px, 2.5vw, 17px);
    line-height: 1.5;
    font-weight: 800;
    margin: 0;
    font-family: MtSrtAltXB;
}

.ligne_etapes:nth-child(3) .texte_etapes {
    color: #FFBB69;
}

.ligne_etapes:nth-child(5) .texte_etapes {
    color: #FA6870;
}

.signe_plus {
    font-size: 32px;
    color: #3C84FB;
    font-weight: 700;
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.ligne_etapes:nth-child(3) .signe_plus {
    color: #FFBB69;
}

.ligne_etapes:nth-child(5) .signe_plus {
    color: #FA6870;
}

.ligne_connection {
    width: 5px;
    height: 60px;
    margin: 0 auto 0 auto;
    position: relative;
}

/* Première ligne de connexion (bleu vers jaune) */
.ligne_etapes:first-child+.ligne_connection {
    background-color: #3C84FB;
}

.ligne_etapes:first-child+.ligne_connection::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 5px;
    background-color: #3C84FB;
    border-radius: 1em;
}

.ligne_etapes:first-child+.ligne_connection::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -12px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 12px solid #3C84FB;
}

/* Deuxième ligne de connexion (jaune vers rouge) */
.ligne_etapes:nth-child(3)+.ligne_connection {
    background-color: #FFBB69;
}

.ligne_etapes:nth-child(3)+.ligne_connection::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 5px;
    background-color: #FFBB69;
    border-radius: 1em;
}

.ligne_etapes:nth-child(3)+.ligne_connection::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -12px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 12px solid #FFBB69;
}

.section_carrousel {
    padding: clamp(20px, 6vw, 60px) clamp(40px, 8vw, 80px);
}

.contenu_carrousel {
    display: grid;
    grid-template-columns: 1fr minmax(auto, 1200px) 1fr;
    gap: 20px;
    align-items: center;
    width: 100%;
    margin: 0;
}

.carte_carrousel {
    position: relative;
    grid-column: 2;
    width: 100%;
    padding: 0 clamp(20px, 5vw, 80px);
    display: grid;
    grid-template-rows: 1fr;
}

.carte_temoignage {
    display: none;
    width: 100%;
    grid-row: 1;
    grid-column: 1;
}

.carte_temoignage.active {
    display: block;
}

.carte_temoignage.slide-in-right {
    animation: slideInRight 0.6s ease;
}

.carte_temoignage.slide-in-left {
    animation: slideInLeft 0.6s ease;
}

.carte_carrousel::before {
    content: '';
    grid-row: 1;
    grid-column: 1;
    visibility: hidden;
}

.phrase_temoignage {
    font-size: clamp(18px, 1.8vw, 32px);
    margin: 0 auto;
    max-width: 800px;
}

.nom_auteur {
    font-family: MtSrtAltSB;
}

.auteur_temoignage {
    font-family: MtSrtAltRG;
    color: #333;
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 1.5;
}

.fleche_carrousel {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform 0.2s;
    justify-self: center;
}

.fleche_carrousel:hover {
    transform: scale(1.15);
}

.carte_carrousel {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.div_bouton_titre {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.service_bouton_texte {
    font-size: clamp(20px, 4vw, 24px);
    margin: 0 0 2em 0;
}

.service_bouton {
    --service_bouton-bg: #3C84FB;
    --service_bouton-bg-hover: #FA6870;
    --service_bouton-shadow: 0 4px 12px -2px rgba(60, 132, 251, .55), 0 2px 4px -1px rgba(0, 0, 0, .25);
    display: inline-block;
    text-decoration: none;
    font-weight: 700;
    font-size: clamp(15px, 2vw, 18px);
    color: #fff;
    background: var(--service_bouton-bg);
    padding: clamp(.85rem, 1.2vw, 1.05rem) clamp(1.1rem, 1vw, 2rem);
    border-radius: 14px;
    line-height: 1.1;
    box-shadow: var(--service_bouton-shadow);
    transition: background .25s, transform .25s, box-shadow .25s;
    font-family: MtSrtAltXB, "Arial Black", sans-serif;
}

.service_bouton:hover {
    background: var(--service_bouton-bg-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px -2px #FA6870, 0 3px 6px -2px rgba(0, 0, 0, .35);
}

.service_bouton:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px -1px rgba(60, 132, 251, .55);
}

.service_bouton:focus {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 1200px) {
    .div_bouton {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .div_bouton_droite {
        padding-top: 0;
    }

    .service_bouton {
        margin: 0 0 2em 0;
    }
}

@media (max-width: 992px) {
    .ligne_etapes:first-child+.ligne_connection::before {
        width: 600px;
    }

    .ligne_etapes:nth-child(3)+.ligne_connection::before {
        width: 600px;
    }
}

@media (max-width: 768px) {
    .ligne_etapes {
        flex-direction: column;
        gap: 30px;
    }

    .signe_plus {
        transform: rotate(90deg);
        margin: 0 auto;
    }

    .cercle {
        width: 70px;
        height: 70px;
    }

    .cercle .number {
        font-size: 24px;
    }

    .ligne_connection {
        height: 40px;
        margin: 0 auto 1em auto;
    }

    .ligne_etapes:first-child+.ligne_connection::before {
        width: 400px;
    }

    .ligne_etapes:nth-child(3)+.ligne_connection::before {
        width: 400px;
    }

    .section_carrousel {
        padding: clamp(30px, 6vw, 50px) clamp(15px, 3vw, 30px);
    }

    .contenu_carrousel {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 20px;
        align-items: start;
    }

    .fleche_carrousel {
        display: none;
    }

    .carte_carrousel {
        grid-column: 1;
        grid-row: 1;
        min-height: auto;
        padding: 0 clamp(15px, 4vw, 30px);
    }

    .carte_temoignage {
        position: relative;
    }

    .fleche_carrousel:first-child {
        grid-column: 1;
        grid-row: 2;
        justify-self: start;
        margin-right: 20px;
    }

    .fleche_carrousel:last-child {
        grid-column: 1;
        grid-row: 2;
        justify-self: end;
        margin-left: 20px;
    }
}

@media (max-width: 680px) {
    .service_Features {
        flex-direction: column;
    }

    .service_Feature {
        width: 80%;
        margin: 0 auto;
    }

    .logo_a_cheval {
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .real_halfwidth {
        width: 100%;
    }

    .section_separe {
        flex-direction: column;
        min-height: auto;
    }

    .section_separe_image {
        min-height: 300px;
        order: 1;
    }

    .section_separe_texte {
        padding: clamp(1.5rem, 4vw, 2rem);
    }

    .section_separe_icone {
        width: 28px;
        height: 28px;
        margin-right: 12px;
        vertical-align: -6px;
    }

    .section_separe_icone svg * {
        stroke-width: 5px;
    }
}

@media (max-width: 576px) {
    .ligne_etapes:first-child+.ligne_connection::before {
        width: 200px;
    }

    .ligne_etapes:nth-child(3)+.ligne_connection::before {
        width: 200px;
    }
}