/* Base styles */
body.page-template-comment-reserver {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #000000;
    background-color: #fff;
    margin: 0;
    padding: 0;
    overflow-x: hidden;


strong, span {
    font-weight: 700;
}

.how_to {
    background: #FFFBE7;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: clamp(30px, 5vw, 50px) clamp(20px, 8vw, 100px);
    gap: clamp(10px, 2vw, 20px);
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
}

.content-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 138px;
    width: 100%;
    max-width: 1200px;
    margin: 124px auto;
    align-items: center;
    padding: 0 clamp(15px, 3vw, 47px);
    box-sizing: border-box;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 270px;
    flex-wrap: wrap;
}

.contact-info p {
    font-size: clamp(14px, 1.2vw, 16px);
    max-width: 520px;
    margin: 0;
}

.phone-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.phone-info .icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.the-button{
    width: auto;
    display: flex;
}

.info-section {
    flex: 2;
    font-size: 16px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 14px;
    gap: 30px;
}

/*.info-box {
    padding: 20px;
    border-radius: 14px;
    margin-bottom: 20px;
    text-align: center;
    width: 100%;
    display: flex;
    gap: 30px;
    flex-direction: column;
}
*/
/*.info-box h2 {
    background-color: #FFED00;
    font-size: clamp(20px, 2.5vw, 28px);
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 7px;
}
*/

.dog-image {
    width: 100%;
    max-width: 410px;
    height: auto;
    border-radius: 20px;
}

/* Tablettes */
@media (max-width: 1024px) {
    .content-wrapper {
        align-items: center;
        margin-top: 40px;
        gap:40px;
    }
    .the-button{
      margin-top: 30px;
    }
    .contact-info {
        justify-content: center;
        text-align: center;
        width: 100%;
        gap: 20px;
    }

    .image-section {
        order: -1;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .info-section {
        order: 1;
    }

    .dog-image {
        max-width: min(350px, 80vw);
    }

    /* Optimisation pour la taille des titres sur les tablettes */
    .info-box h2 {
        font-size: clamp(22px, 4vw, 28px);  /* Taille dynamique pour les titres */
    }

    /* Améliorer l'espacement entre les sections */
    .how_to {
        padding: 30px 20px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .how_to {
        padding: 22px 60px 60px;  /* Ajustement des espacements */
    }

    .contact-info {
        flex-direction: column;
    }
    .info-section{
        padding: 0px;
        text-align: center;
    }
    .phone-info {
        width: 100%;
        margin: 20px 0;
        gap: 30px;
    }

    .info-box {
        padding: 15px;
    }

    .info-box h2 {
        font-size: clamp(20px, 5vw, 26px); /* Taille de titre dynamique */
    }

    .dog-image {
        max-width: min(250px, 90vw);
    }

    /* Optimisation du texte dans les boîtes d'informations */
    .contact-info p {
        font-size: clamp(14px, 3vw, 18px);
    }
}

/* Très petits écrans */
@media (max-width: 480px) {
    .how_to {
        padding: 22px 60px 60px;  /* Espacement encore plus compact */
    }

    .info-box h2 {
        font-size: clamp(18px, 5vw, 22px); /* Ajustement pour petites tailles */
    }

    .contact-info p {
        font-size: 12px;  /* Réduction de la taille du texte pour une meilleure lisibilité */
    }

    /* Adapter la taille des images à des écrans encore plus petits */
    .dog-image {
        max-width: 85vw;  /* Amélioration de la taille pour les très petits écrans */
    }
}
}