/* Mise en avant des coachings d'Olivier (voir inc/coaching-mise-en-avant.php). */

/* Barre orange, dans l'en-tete collant (.custom-header a 1rem 2rem de marge interieure). */
.ol-coaching-barre {
    display: block;
    margin: -1rem -2rem 1rem;
    padding: 9px 16px;
    background: var(--e-global-color-accent, #FF6B0F);
    color: #fff;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ol-coaching-barre:hover,
.ol-coaching-barre:focus {
    color: #fff;
    text-decoration: underline;
}
.ol-coaching-barre__court { display: none; }

@media (max-width: 767px) {
    .ol-coaching-barre__long { display: none; }
    .ol-coaching-barre__court { display: inline; }
}

/* Sections */
.ol-coaching-section {
    position: relative;
    z-index: 5;
    background: #fff;
    padding: 72px 16px 64px;
}
.ol-coaching-section--page { padding-top: 24px; padding-bottom: 56px; }
.ol-coaching-cadre { max-width: 1140px; margin: 0 auto; }
.ol-coaching-titre {
    margin: 0 0 12px;
    font-family: "Poltawski Nowy", serif;
    font-size: clamp(30px, 5vw, 44px);
    line-height: 1.15;
    color: #1e293b;
    text-align: center;
}
.ol-coaching-sous-titre {
    max-width: 720px;
    margin: 0 auto 40px;
    color: #475569;
    font-size: 18px;
    text-align: center;
}
.ol-coaching-grille { display: grid; gap: 24px; }
.ol-coaching-grille--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.ol-coaching-grille--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* Cartes : accueil (.ol-coaching-carte) et page Coaching (.ol-coaching-offre) */
.ol-coaching-carte,
.ol-coaching-offre {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(15, 23, 42, .06);
    color: #1e293b;
    text-decoration: none;
}
.ol-coaching-carte:hover,
.ol-coaching-offre:hover { color: #1e293b; box-shadow: 0 8px 24px rgba(15, 23, 42, .12); }
.ol-coaching-carte img,
.ol-coaching-offre img { display: block; width: 100%; height: auto; object-fit: cover; }
.ol-coaching-carte img { aspect-ratio: 4 / 5; }
.ol-coaching-offre img { aspect-ratio: 16 / 10; object-position: center 35%; }

.ol-coaching-carte__corps,
.ol-coaching-offre__corps {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    padding: 18px 18px 22px;
}
.ol-coaching-carte__titre,
.ol-coaching-offre__titre {
    font-family: "Poltawski Nowy", serif;
    font-size: 21px;
    line-height: 1.25;
}
.ol-coaching-offre__titre { font-size: 23px; }
.ol-coaching-carte__texte { flex: 1; color: #475569; font-size: 14px; line-height: 1.45; }
.ol-coaching-carte__prix,
.ol-coaching-offre__engagement { font-size: 17px; font-weight: 600; }

.ol-coaching-offre ul {
    flex: 1;
    margin: 0;
    padding-left: 18px;
    color: #475569;
    font-size: 15px;
    line-height: 1.5;
}
.ol-coaching-offre__etiquette {
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.ol-coaching-offre--olivier { border: 2px solid var(--e-global-color-accent, #FF6B0F); }
.ol-coaching-offre--olivier .ol-coaching-offre__etiquette { color: var(--e-global-color-accent, #FF6B0F); }

.ol-coaching-bouton {
    align-self: flex-start;
    padding: 9px 18px;
    border-radius: 999px;
    background: var(--e-global-color-accent, #FF6B0F);
    color: #fff;
    font-size: 15px;
}
.ol-coaching-offre:not(.ol-coaching-offre--olivier) .ol-coaching-bouton { background: #1e293b; }

/* Le menu collant ne cache pas le haut du formulaire vise par « Demander un suivi ». */
#ol-form-coaching { scroll-margin-top: 140px; }
