/* Mes programmes — reprend les codes de la boutique sans utiliser WooCommerce. */

.page_programmes .programmes-overview {
    padding-top: 92px;
}

.programmes-heading {
    position: relative;
    margin-bottom: 55px;
}

.programmes-heading .h1_sub {
    position: static;
    font-size: 44px;
    line-height: 1.1;
    margin-bottom: 3px;
}

.programmes-heading h1 {
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: .035em;
}

.programmes-intro {
    font-size: 17px;
    line-height: 1.75;
    margin: 24px auto 0;
    max-width: 700px;
    color: #595959;
}

.programmes-grid {
    align-items: stretch;
    row-gap: 28px;
}

.programme-col {
    display: flex;
}

.programme-card {
    width: 100%;
    background-color: #fff;
}

.programme-card__link {
    display: block;
    height: 100%;
    color: inherit;
}

.programme-card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    background-color: #f0ece6;
    overflow: hidden;
}

.programme-card__media > img,
.programme-detail__photo > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.programme-card__placeholder {
    width: 100%;
    height: 100%;
    min-height: 260px;
    background: linear-gradient(145deg, #f3eee6, #ded5c7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b59350;
    font-size: 28px;
    font-weight: 500;
    letter-spacing: .14em;
}

.programme-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .27);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity .25s ease;
}

.programme-card__link:hover .programme-card__overlay,
.programme-card__link:focus-visible .programme-card__overlay {
    opacity: 1;
}

.programme-card__link:hover .programme-card__media > img {
    transform: scale(1.035);
}

.programme-card__link:focus-visible,
.programme-detail__cta:focus-visible,
.programme-form__submit:focus-visible {
    outline: 2px solid #b59350 !important;
    outline-offset: 4px;
}

.programme-card__content {
    padding: 22px 6px 12px;
}

.programme-card__content h2 {
    font-size: 20px;
    letter-spacing: .06em;
}

.programme-card__content p {
    color: #585858;
    line-height: 1.75;
    margin: 14px auto 0;
    max-width: 340px;
}

.programme-card__mobile-link {
    display: none;
    color: #b59350;
    text-decoration: underline;
    text-underline-offset: 4px;
    font-size: 12px;
    margin-top: 16px;
    text-transform: uppercase;
    font-weight: 500;
}

/* Le pack est présenté séparément, sous les trois programmes individuels. */
.programme-pack {
    margin-top: 78px;
    border: 1px solid #e9e1d6;
    background: #f8f5f1;
}

.programme-pack__link {
    display: grid;
    grid-template-columns: 42% 58%;
    align-items: stretch;
    color: inherit;
}

.programme-pack__visual {
    position: relative;
    min-height: 350px;
    background: #e5dbce;
    overflow: hidden;
}

.programme-pack__visual > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.programme-pack__visual-placeholder {
    height: 100%;
    min-height: 350px;
    background: radial-gradient(circle at 25% 35%, #ece5dc, transparent 52%), linear-gradient(140deg, #e5d9ca, #c6b7a2);
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
    color: #75634b;
    font-size: clamp(25px, 3vw, 41px);
    letter-spacing: .1em;
    font-weight: 500;
}

.programme-pack__visual-placeholder span:nth-child(2) {
    color: #b59350;
}

.programme-pack__copy {
    padding: 40px 55px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.programme-pack__eyebrow {
    font-size: 12px;
    color: #b59350;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 500;
    margin-bottom: 15px;
}

.programme-pack__copy h2 {
    font-size: 25px;
    margin-bottom: 15px;
}

.programme-pack__copy h3 {
    font-size: 17px;
    font-weight: 500;
    line-height: 1.5;
}

.programme-pack__copy p {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    margin: 18px 0 24px;
}

.programme-pack__link:hover .btn { background: #cea85f; }

/* Fiche dédiée : photographie à gauche, informations à droite. */
.page_programme_detail {
    padding-bottom: 90px;
}

.programme-breadcrumb {
    font-size: 12px;
    color: #777;
    margin: 28px 0 40px;
}

.programme-breadcrumb a {
    color: #b59350;
}

.programme-detail__photo {
    aspect-ratio: 4 / 5;
    width: 100%;
    overflow: hidden;
    background-color: #f0ece6;
}

.programme-detail__gallery,
.programme-detail__gallery .slick-list,
.programme-detail__gallery .slick-track {
    height: 100%;
}

.programme-detail__gallery .programme-gallery__slide {
    display: none;
    height: 100%;
}

.programme-detail__gallery .programme-gallery__slide:first-child,
.programme-detail__gallery.slick-initialized .programme-gallery__slide {
    display: block;
}

.programme-gallery__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.programme-detail__gallery .slick-dots {
    position: absolute;
    bottom: 18px;
    left: 0;
    right: 0;
}

.programme-detail__gallery .slick-dots button { background: #fff; opacity: .6; }
.programme-detail__gallery .slick-dots .slick-active button { background: #b59350; opacity: 1; }

.programme-placeholder--pack { font-size: 21px; text-align: center; padding: 25px; }

.programme-detail__content {
    padding-top: 52px;
}

.programme-detail__heading {
    position: relative;
    padding-top: 4px;
}

.programme-detail__heading .h1_sub {
    position: static;
    line-height: 1.35;
    margin-bottom: 5px;
    font-size: 47px;
}

.programme-detail__heading h1 {
    font-size: 30px;
    letter-spacing: .06em;
}

.programme-detail__price {
    color: #b59350;
    font-size: 22px;
    font-weight: 500;
    margin-top: 18px;
}

.programme-detail__sessions {
    color: #777;
    font-weight: 500;
    font-size: 13px;
    line-height: 1.6;
    margin-top: 14px;
}

.programme-detail__tagline {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.75;
    margin: 28px 0 16px;
}

.programme-detail__summary,
.programme-detail__extra {
    color: #555;
    font-size: 14px;
    line-height: 1.9;
}

.programme-detail__extra {
    margin-top: 20px;
}

.programme-detail__editorial {
    margin-top: 85px;
    padding-top: 64px;
    border-top: 1px solid #e9e1d6;
}

.programme-detail__editorial-inner {
    max-width: 850px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.9;
    color: #4a4a4a;
}

.programme-detail__editorial-inner h2 {
    font-size: 23px;
    color: #b59350;
    margin: 44px 0 18px;
    line-height: 1.4;
}

.programme-detail__editorial-inner h3 {
    font-size: 17px;
    font-weight: 500;
    line-height: 1.5;
    margin: 0 0 20px;
}

.programme-detail__editorial-inner p {
    margin-bottom: 17px;
}

.programme-detail__editorial-inner ul {
    margin: 18px 0 24px;
    padding-left: 25px;
}

.programme-detail__editorial-inner li {
    padding-left: 5px;
    margin-bottom: 12px;
}

.programme-editorial__opening { font-size: 19px; color: #222; }
.programme-editorial__closing { margin-top: 35px; color: #b59350; }
.programme-detail__final-cta { margin-top: 45px; }

.programme-detail__cta {
    margin-top: 28px;
    padding: 12px 32px;
}

/* Modal Bootstrap : défilement interne pour les neuf questions. */
.programme-modal .modal-dialog {
    width: min(850px, calc(100% - 32px));
    margin: 25px auto;
}

.programme-modal .modal-content {
    border: 0;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 50px);
    box-shadow: 0 15px 70px rgba(0,0,0,.2);
}

.programme-modal .modal-body {
    padding: 28px 48px 42px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.programme-modal__header {
    padding: 26px 48px 22px;
    border-bottom: 1px solid #eee7de;
    flex: 0 0 auto;
}

.programme-modal__header .close {
    opacity: .7;
    font-size: 30px;
    font-weight: 300;
}

.programme-modal__eyebrow {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .14em;
    color: #b59350;
    margin-bottom: 6px;
}

.programme-modal__header h2 {
    font-size: 24px;
}

.programme-modal__invitation {
    padding: 18px 24px;
    border-left: 2px solid #b59350;
    background: #f8f5f1;
    line-height: 1.85;
    margin-bottom: 30px;
}

.programme-modal__invitation p,
.programme-form__intro p:last-child {
    margin-bottom: 0;
}

.programme-form__intro,
.programme-form__closing {
    line-height: 1.85;
    color: #505050;
}

.programme-form__intro p:first-child {
    font-weight: 500;
    color: #252525;
}

.programme-form__section-title {
    font-size: 17px;
    color: #b59350;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 500;
    margin: 35px 0 20px;
}

.programme-form__optional {
    font-size: 12px;
    color: #777;
    margin: -10px 0 24px;
}

.programme-form__question {
    margin-bottom: 19px;
}

.programme-form__question label,
.casa-programme-form label:not(.container_checkbox) {
    display: block;
    margin-bottom: 9px;
    font-weight: 500;
    line-height: 1.65;
}

.programme-form__question .inputbb {
    min-height: 76px;
    line-height: 1.6;
}

.programme-form__hint {
    color: #777;
    font-size: 12px;
    margin-top: -4px;
}

.programme-form__closing {
    border-top: 1px solid #eee7de;
    padding-top: 25px;
    margin: 12px 0 28px;
}

.programme-form__closing strong {
    display: block;
    margin-bottom: 10px;
}

.programme-form__signature {
    color: #b59350;
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 0;
}

.programme-form__signature span {
    display: block;
    font-size: 14px;
    font-style: italic;
    font-weight: normal;
}

.programme-form__consent {
    font-size: 12px;
    line-height: 1.7;
    margin-bottom: 8px;
}

.programme-form__privacy {
    font-size: 12px;
    color: #b59350;
    margin: 0 0 20px 25px;
    text-decoration: underline;
}

.programme-form__feedback {
    color: #a22920;
    font-weight: 500;
    margin-bottom: 15px;
}

.programme-form__submit {
    width: 100%;
    min-height: 45px;
}

.programme-form__success {
    text-align: center;
    color: #4f6d43;
    font-size: 18px;
    line-height: 1.6;
    padding: 55px 15px;
}

.programme-form__honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 992px) {
    .page_programmes .programmes-overview { padding-top: 60px; }
    .programme-card__mobile-link { display: inline-block; }
    .programme-card__overlay { display: none; }
    .programme-detail__content { padding-top: 42px; }
    .programme-detail__heading .h1_sub { font-size: 40px; }
    .programme-detail__photo { max-height: 600px; }
    .programme-pack__copy { padding: 30px; }
}

@media (max-width: 767px) {
    .programmes-heading { margin-bottom: 32px; }
    .programmes-heading .h1_sub { font-size: 38px; }
    .programmes-intro { font-size: 15px; margin-top: 16px; }
    .programme-col { margin-bottom: 26px; }
    .programme-card__media { aspect-ratio: 5 / 4; }
    .programme-pack { margin-top: 35px; }
    .programme-pack__link { display: block; }
    .programme-pack__visual, .programme-pack__visual-placeholder { min-height: 235px; }
    .programme-pack__visual { height: 235px; }
    .programme-pack__copy { padding: 30px 25px 35px; }
    .programme-pack__copy h2 { font-size: 21px; }
    .programme-pack__visual-placeholder { font-size: 30px; }
    .programme-breadcrumb { margin: 22px 0 25px; }
    .programme-detail__heading h1 { font-size: 26px; }
    .programme-detail__photo { aspect-ratio: 5 / 4; }
    .programme-detail__editorial { margin-top: 55px; padding-top: 40px; }
    .programme-detail__editorial-inner h2 { font-size: 21px; margin-top: 36px; }
    .programme-editorial__opening { font-size: 17px; }
    .programme-detail__cta { width: 100%; }
    .programme-modal .modal-dialog { width: calc(100% - 16px); margin: 8px auto; }
    .programme-modal .modal-content { max-height: calc(100vh - 16px); }
    .programme-modal__header { padding: 20px 22px 18px; }
    .programme-modal__header h2 { font-size: 20px; }
    .programme-modal .modal-body { padding: 20px 22px 30px; }
    .programme-modal__invitation { padding: 14px 16px; }
}
