/* --- Mobile first (par défaut) --- */

.titre {
    margin-bottom: 5%;
    font-size: clamp(1rem, 2.5vw, 2rem);
    white-space: normal;  /* autorise retour à la ligne */
    max-width: 250px;     /* limite la largeur */
    margin-left: auto;    /* centre horizontalement */
    margin-right: auto;
    width: 100%;
}


/* Citation */

.citation-container {
    position: relative;
    margin: auto;
    text-align: center;
    }

    .citation-container img {
    width: 100%;
    height: auto; /* garde le ratio de l'image */
    display: block;
    }

    .text-over-image {
    position: absolute;
    top: 20%;
    left: 5%;
    font-size: clamp(0.8rem, 3vw, 2rem);
    max-width: 90%;
    line-height: 1.5;
    pointer-events: none; /* pour que le texte ne gêne pas les clics */
}

.button_rendez_vous,
.button_rendez_vous:hover,
.button_rendez_vous:focus,
.button_rendez_vous:active {
    background-color: rgba(53, 50, 47, 0.9) !important;
    color: white !important;
    border: 2px solid rgba(0, 0, 0, 1);
}

.button_rendez_vous {
    border-radius: 8px;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button_rendez_vous:hover {
    transform: translateY(-2px);
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.6);
}

/* Bouton plus petit sur mobile */
.text-center > a > button {
    font-size: 1.2rem !important;
    padding: 12px 30px !important;
    margin: 1.2rem !important;
}


/* me decouvrir */
.fond_marron_explication {
    background-color: rgba(40, 1, 1, 0.48);
    border-radius: 4px;
    margin: 3%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.25);
}
.me_decouvrir {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    justify-content: center; /* centre horizontalement */

}

.me_decouvrir img {
    width: clamp(200px, 50vw, 600px); /* min: 200px, préférée: 50% largeur écran, max: 600px */
    height: auto;  /* empêche de dépasser sur petit écran */
    object-fit: cover; /* recadre au lieu d’étirer */
    flex-shrink: 0; /* empêche de rapetisser trop */
    padding: 5%;
    border-radius: 4px;
}

.me_decouvrir p {
    font-size: clamp(0.7rem, 2.3vw, 1.4rem);
    line-height: 1.4; /* espace entre lignes */
    margin: 9%;
}

@media (min-width: 769px) {
    .titre {
        white-space: nowrap;  /* une ligne sur desktop */
        width: 100%;          /* largeur pleine */
        max-width: none;      /* aucune limite */
    }

    .citation-container {
        width: 100%;              /* prend toute la largeur possible */
        max-width: none;
    }

    .citation-container.text-over-image {
        font-size: clamp(2rem, 4vw, 3rem); /* texte bien plus grand */
        max-width: 80%;
    }

    .text-center > a > button {
        font-size: 1.5rem !important;
        padding: 15px 40px !important;
        margin-top: 2rem !important;
        margin-bottom: 4rem !important;
        font-weight: 700;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .text-center > a > button {
        font-size: 2rem !important;
        padding: 25px 50px !important;
        margin-top: 2rem !important;
        font-weight: 700;
    }
}

@media (min-width: 1199px) {
    .text-center > a > button {
        font-size: 2rem !important;
        padding: 25px 50px !important;
        margin-top: 2rem !important;
        font-weight: 700;
    }
}
