/*
 * Mise en page des pages de contenu (page partenaire, outils pour les restaurants).
 *
 * Feuille autonome, chargée uniquement par ces pages via le bloc "css_more" :
 * elle n'entre pas dans le paquet AssetCompress "all" et ne touche donc à rien
 * d'autre sur le site. Toutes les classes sont préfixées « lr- ».
 *
 * Palette reprise du site : vert d'eau #65baa0, olive #adc549, gris #535353.
 */

.lr-page {
    font-family: "Poppins", Arial, sans-serif;
    color: #535353;
}

/* --- Bandeau de titre ------------------------------------------------------ */

.lr-hero {
    position: relative;
    background-color: #2e3b36;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
}

.lr-hero::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(170deg, rgba(23, 33, 29, 0.55) 0%, rgba(23, 33, 29, 0.82) 100%);
}

.lr-hero__inner {
    position: relative;
    padding: 90px 20px;
    max-width: 820px;
    margin: 0 auto;
}

.lr-hero__eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    padding: 7px 16px;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.lr-hero h1 {
    margin: 0 0 18px;
    font-size: 42px;
    line-height: 1.15;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.3);
}

.lr-hero__lead {
    margin: 0 auto 30px;
    max-width: 680px;
    font-size: 19px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
}

/* --- Boutons -------------------------------------------------------------- */

.lr-btn {
    display: inline-block;
    margin: 6px 5px;
    padding: 14px 30px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.lr-btn:hover,
.lr-btn:focus {
    text-decoration: none;
    transform: translateY(-2px);
}

.lr-btn--primary {
    background: #65baa0;
    color: #fff;
}

.lr-btn--primary:hover,
.lr-btn--primary:focus {
    background: #559c86;
    color: #fff;
}

.lr-btn--ghost {
    border: 2px solid rgba(255, 255, 255, 0.75);
    color: #fff;
}

.lr-btn--ghost:hover,
.lr-btn--ghost:focus {
    background: #fff;
    color: #2e3b36;
}

/* --- Sections ------------------------------------------------------------- */

.lr-section {
    padding: 70px 0;
}

.lr-section--grey {
    background: #f6f7f5;
}

.lr-section__head {
    max-width: 720px;
    margin: 0 auto 45px;
    text-align: center;
}

.lr-title {
    margin: 0 0 16px;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 700;
    color: #2e3b36;
}

.lr-title--small {
    font-size: 22px;
}

.lr-text {
    font-size: 16px;
    line-height: 1.75;
}

.lr-text p {
    margin: 0 0 16px;
}

.lr-text a {
    color: #4f9c84;
    font-weight: 600;
}

/* --- Deux colonnes texte / image ------------------------------------------ */

.lr-split {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    /* Pas plus que le rembourrage de .container (15 px), sinon la page déborde
       de quelques pixels sur téléphone. */
    margin: 0 -15px;
}

.lr-split__col {
    flex: 1 1 320px;
    padding: 15px 15px 25px;
    min-width: 0;
}

.lr-split--reverse .lr-split__media {
    order: -1;
}

.lr-figure {
    margin: 0;
}

.lr-figure img {
    display: block;
    width: 100%;
    /* Hauteur bornée : sans cela, une photo au cadrage vertical laisse une
       grande zone vide en face du texte. */
    max-height: 460px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(46, 59, 54, 0.16);
}

/* --- Cartes --------------------------------------------------------------- */

.lr-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 -12px;
    padding: 0;
    list-style: none;
}

.lr-card {
    flex: 1 1 290px;
    /* Les cartes de la dernière ligne gardent la largeur des autres et se
       centrent, au lieu de s'étirer sur toute la largeur. */
    max-width: 355px;
    margin: 12px;
    padding: 28px 26px;
    background: #fff;
    border: 1px solid #e8eae7;
    border-radius: 16px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.lr-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(46, 59, 54, 0.1);
}

.lr-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 18px;
    border-radius: 16px;
    background: rgba(101, 186, 160, 0.14);
    color: #4f9c84;
    font-size: 22px;
}

.lr-card h3 {
    margin: 0 0 10px;
    font-size: 19px;
    font-weight: 700;
    color: #2e3b36;
}

.lr-card p {
    margin: 0 0 14px;
    font-size: 15px;
    line-height: 1.65;
}

.lr-card__link {
    color: #4f9c84;
    font-weight: 600;
    text-decoration: none;
}

.lr-card__link:hover {
    text-decoration: underline;
    color: #3f7f6b;
}

.lr-card__link i {
    font-size: 12px;
    margin-left: 4px;
}

/* --- Étapes numérotées ---------------------------------------------------- */

.lr-step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: #adc549;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

/* --- Bande de chiffres ---------------------------------------------------- */

.lr-stats {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    border-radius: 18px;
    background: #2e3b36;
    color: #fff;
    text-align: center;
}

.lr-stat {
    flex: 1 1 170px;
    padding: 18px 14px;
}

.lr-stat strong {
    display: block;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
    color: #adc549;
}

.lr-stat span {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.82);
}

/* --- Encadré ------------------------------------------------------------- */

.lr-note {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
    padding: 28px 30px;
    border-radius: 16px;
    border: 1px solid #dfe8e4;
    background: #f1f8f5;
}

.lr-note__icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: #fff;
    color: #4f9c84;
    font-size: 22px;
}

.lr-note__body {
    flex: 1 1 260px;
    font-size: 16px;
    line-height: 1.7;
}

/* --- Coordonnées --------------------------------------------------------- */

.lr-contact {
    list-style: none;
    margin: 22px 0 0;
    padding: 0;
}

.lr-contact li {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #e8eae7;
    font-size: 16px;
}

.lr-contact li:last-child {
    border-bottom: 0;
}

.lr-contact i {
    color: #4f9c84;
    width: 18px;
    text-align: center;
}

/* --- Bandeau d'appel à l'action ------------------------------------------- */

.lr-cta {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background-color: #2e3b36;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
}

.lr-cta::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(23, 33, 29, 0.68);
}

.lr-cta__inner {
    position: relative;
    padding: 62px 24px;
    max-width: 700px;
    margin: 0 auto;
}

.lr-cta h2 {
    margin: 0 0 14px;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}

.lr-cta p {
    margin: 0 0 26px;
    font-size: 17px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9);
}

/* --- Formulaire d'inscription -------------------------------------------- */

.lr-form-frame {
    border: 1px solid #e8eae7;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 16px 34px rgba(46, 59, 54, 0.08);
}

.lr-form-frame iframe {
    display: block;
    width: 100%;
    height: 760px;
    border: 0;
}

/* --- Téléphones et petits écrans ----------------------------------------- */

@media (max-width: 767px) {
    .lr-hero__inner {
        padding: 62px 16px;
    }

    .lr-hero h1 {
        font-size: 30px;
    }

    .lr-hero__lead {
        font-size: 17px;
    }

    .lr-section {
        padding: 48px 0;
    }

    .lr-title {
        font-size: 25px;
    }

    .lr-split--reverse .lr-split__media {
        order: 0;
    }

    .lr-stat strong {
        font-size: 27px;
    }

    .lr-form-frame iframe {
        height: 620px;
    }
}
