/* =========================================================
   LVH Sofia - CSS page d'accueil
   ========================================================= */

/* =========================
   HERO ACCUEIL
========================== */
/* ========================
   BREADCRUMB
======================== */
.lvh-breadcrumb {
    background-color: #f4f4f4;
    border-bottom: 1px solid #ddd;
    padding: 8px 0;
    font-size: 0.85rem;
    margin-top: calc(var(--topbar-h) + var(--nav-h));
}
.lvh-breadcrumb .lvh-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.lvh-breadcrumb-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}
.lvh-breadcrumb-item {
    display: flex;
    align-items: center;
    color: #555;
}
.lvh-breadcrumb-item a {
    color: #003580;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}
.lvh-breadcrumb-item a:hover {
    text-decoration: underline;
}
.lvh-breadcrumb-item + .lvh-breadcrumb-item::before {
    content: "\203A";
    margin-right: 6px;
    color: #999;
}
.lvh-breadcrumb-item.lvh-breadcrumb-active {
    color: #333;
    font-weight: 600;
}

/* ========================
   HERO ACCUEIL
======================== */
.lvh-hero {
    width: 100%;
    overflow: hidden;
    display: block;
    line-height: 0;
}
.lvh-hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* =========================
   INFOS PRATIQUES
========================== */
.lvh-info-strip {
    width: 100%;
    background: #fff;
    padding: 28px 0 32px;
}
.lvh-info-card {
    position: relative;
    background: transparent;
    box-shadow: none;
}
.lvh-info-row {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    flex-wrap: nowrap;
    box-sizing: border-box;
    width: 100%;
}
.lvh-info-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}
.lvh-info-logo img {
    height: 54px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
}
.lvh-info-center {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    padding: 18px 24px;
    background: #fff;
    overflow: hidden;
}
.lvh-info-center::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        #cfd8de 0%, #cfd8de 33.33%,
        #00966E 33.33%, #00966E 66.66%,
        #D62612 66.66%, #D62612 100%
    );
    opacity: .16;
    pointer-events: none;
}
.lvh-info-center-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
}
.lvh-info-redbar {
    width: 3px;
    height: 64px;
    background: #D62612;
    flex: 0 0 auto;
}
.lvh-info-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.lvh-info-title {
    font-size: 16px;
    font-weight: 700;
    color: #002D61;
    white-space: normal;
    line-height: 1.3;
}
.lvh-info-sub {
    font-size: 14px;
    font-weight: 700;
    color: #D62612;
    white-space: normal;
    line-height: 1.3;
}
.lvh-info-qr {
    position: relative;
    flex: 0 0 auto;
}
.lvh-info-qr a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: #fff;
}
.lvh-info-qr-img {
    width: 100px !important;
    height: 100px !important;
    display: block;
}
.lvh-info-qr::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 10%; right: 10%;
    height: 3px;
    background: #D62612;
}

/* =========================
   EXCELLENCE (intro + photo)
========================== */
.lvh-excellence2 {
    width: 100%;
    background: #fff;
    padding: 34px 0 46px;
}
.lvh-excellence2__inner {
    display: grid;
    grid-template-columns: minmax(0, 620px) 460px;
    justify-content: center;
    align-items: center;
    column-gap: 64px;
}
.lvh-excellence2__text {
    min-width: 0;
    color: var(--aefe-blue);
}
.lvh-excellence2__p {
    margin: 0;
    font-size: 18px;
    line-height: 1.7;
    color: var(--aefe-blue);
    text-align: justify;
}
.lvh-excellence2__p + .lvh-excellence2__p { margin-top: 10px; }
.lvh-excellence2__p[data-typing="words"] { visibility: hidden; }
.lvh-excellence2__media {
    min-width: 0;
    display: flex;
    justify-content: flex-end;
}
.lvh-excellence2__img {
    width: 460px;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(0,0,0,.18), 0 0 0 1px rgba(0,0,0,.06);
}
.lvh-typing-words { display: inline; }
.lvh-typing-words .lvh-w {
    display: inline-block;
    opacity: 0;
    transform: translateY(8px);
    filter: blur(.8px);
    transition: opacity .32s ease, transform .32s ease, filter .32s ease;
    transition-delay: var(--d, 0ms);
    will-change: opacity, transform, filter;
}
.lvh-excellence2.is-inview .lvh-typing-words .lvh-w {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}
@media (prefers-reduced-motion: reduce) {
    .lvh-excellence2__p[data-typing="words"] { visibility: visible !important; }
    .lvh-typing-words .lvh-w {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
    }
}
@media (max-width: 992px) {
    .lvh-excellence2__inner {
        grid-template-columns: minmax(0, 1fr) 420px;
        column-gap: 28px;
    }
    .lvh-excellence2__img { width: 420px; }
}
@media (max-width: 768px) {
    .lvh-excellence2__inner {
        grid-template-columns: 1fr;
        row-gap: 16px;
    }
    .lvh-excellence2__media { justify-content: flex-start; }
    .lvh-excellence2__img { width: 100%; max-width: 520px; }
}

/* =========================
   LIENS 3 (accès rapides)
========================== */
.lvh-links3 {
    width: 100%;
    background: #fff;
    padding: 22px 0 34px;
}
.lvh-links3__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 18px;
}
.lvh-links3__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}
.lvh-links3__card {
    display: block;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0,45,97,.12);
    box-shadow: 0 10px 22px rgba(0,0,0,.10);
    transition: transform .18s ease, box-shadow .18s ease;
}
@media (hover: hover) {
    .lvh-links3__card:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 28px rgba(0,0,0,.12);
    }
}
.lvh-links3__media {
    width: 100%;
    aspect-ratio: 16 / 9;
}
.lvh-links3__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (max-width: 900px) {
    .lvh-links3__grid { grid-template-columns: 1fr; }
}

/* =========================
   PROGRAMMES (4 cartes)
========================== */
.lvh-programmes2 {
    --card-blue: #0E3F77;
    --card-blueDeep: #083160;
    --dash: rgba(132,230,234,.75);
    --card-w: 220px;
    --avatar: 126px;
    width: 100%;
    background: #fff;
    padding: 28px 0 44px;
}
.lvh-programmes2__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 18px;
}
.lvh-programmes2__kicker {
    margin: 0 0 6px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--aefe-red);
    font-size: 14px;
}
.lvh-programmes2__headline {
    display: flex;
    align-items: baseline;
    gap: 16px;
}
.lvh-programmes2__title {
    margin: 0;
    font-weight: 900;
    color: var(--aefe-blue);
    font-size: 32px;
    line-height: 1.12;
    white-space: nowrap;
}
.lvh-programmes2__accent {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    transform: translateY(-2px);
}
.lvh-programmes2__line {
    height: 3px;
    background: var(--aefe-red);
    flex: 1;
    border-radius: 999px;
}
.lvh-programmes2__dot {
    width: 8px; height: 8px;
    background: var(--aefe-red);
    border-radius: 999px;
}
.lvh-programmes2__grid {
    margin-top: 140px;
    display: grid;
    grid-template-columns: repeat(4, var(--card-w));
    gap: 28px;
    justify-content: center;
    align-items: stretch;
}
.lvh-prog2 {
    position: relative;
    border-radius: 16px;
    box-shadow: 0 14px 30px rgba(0,0,0,.14);
    padding: 0 18px 18px;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.lvh-prog2.is-a { background: var(--card-blue); }
.lvh-prog2.is-b { background: var(--card-blueDeep); }
.lvh-prog2::after {
    content: "";
    position: absolute;
    left: 16px; right: 16px;
    top: 62px; bottom: 14px;
    border-radius: 14px;
    border: 2px dashed var(--dash);
    pointer-events: none;
}
.lvh-prog2__avatar {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: var(--avatar);
    height: var(--avatar);
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 16px 26px rgba(0,0,0,.18);
    z-index: 2;
}
.lvh-prog2__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lvh-prog2__content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding-top: 92px;
    color: #fff;
}
.lvh-prog2__name { margin: 0; font-size: 24px; }
.lvh-prog2__age { margin: 14px 0 18px; font-size: 22px; }
.lvh-prog2__cta {
    display: inline-block;
    font-size: 14px;
    color: #fff;
    padding: 8px 10px;
    border-radius: 10px;
}
.lvh-prog2__cta:hover { background: rgba(255,255,255,.08); }

@media (max-width: 1180px) {
    .lvh-programmes2__title { white-space: normal; }
    .lvh-programmes2__grid { grid-template-columns: repeat(2, var(--card-w)); margin-top: 160px; }
}
@media (max-width: 620px) {
    .lvh-programmes2__title { font-size: 24px; }
    .lvh-programmes2__grid { grid-template-columns: 1fr; margin-top: 110px; }
}

/* =========================
   SUCCESS (réussite scolaire)
========================== */
.lvh-success { --lvh-red: #d63a3a; --lvh-blue: #0f2f66; }
.lvh-success .lvh-container { padding: 46px 18px; max-width: 1180px; margin: 0 auto; }
.lvh-success .lvh-head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 34px; }
.lvh-success .lvh-kicker {
    color: var(--lvh-red);
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: 13px;
}
.lvh-success .lvh-head-row { display: flex; align-items: center; gap: 12px; }
.lvh-success .lvh-title {
    color: var(--lvh-blue);
    font-weight: 800;
    font-size: 30px;
    white-space: nowrap;
}
.lvh-success .lvh-title-rule { display: flex; align-items: center; gap: 10px; flex: 1; }
.lvh-success .lvh-rule { height: 4px; background: var(--lvh-red); flex: 1; border-radius: 999px; }
.lvh-success .lvh-dot  { width: 7px; height: 7px; background: var(--lvh-red); border-radius: 50%; }
.lvh-success .lvh-stats { display: flex; justify-content: space-between; gap: 26px; }
.lvh-success .lvh-stat  { flex: 1; text-align: center; }
.lvh-success .lvh-number { color: var(--lvh-red); font-weight: 900; margin-bottom: 10px; }
.lvh-success .lvh-counter { font-size: 58px; letter-spacing: -0.02em; }
.lvh-success .lvh-suffix { font-size: 22px; position: relative; top: -6px; }
.lvh-success .lvh-label {
    color: var(--lvh-blue);
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
}
@media (max-width: 720px) {
    .lvh-success .lvh-stats { flex-direction: column; gap: 22px; align-items: flex-start; }
    .lvh-success .lvh-stat { text-align: left; }
}

/* =========================
   VIDEO + BANDE ROUGE
========================== */
.lvh-video {
    --lvh-red: #d63a3a;
    --lvh-max: 1180px;
    --lvh-bar-h: 12px;
    position: relative;
    width: 100%;
    overflow: visible;
}
.lvh-video::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: var(--lvh-bar-h);
    background: var(--lvh-red);
    top: 80%;
    z-index: 0;
}
.lvh-video .lvh-container {
    max-width: var(--lvh-max);
    margin: 0 auto;
    padding: 44px 18px;
    position: relative;
    z-index: 1;
}
.lvh-video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
    overflow: hidden;
}
.lvh-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* =========================
   CALENDRIER / ARTICLES
========================== */
.lvh-cal {
    width: 100%;
    background: #fff;
    padding: 80px 0 70px;
    --muted: #6b7785;
}
.lvh-cal__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 18px;
}
.lvh-cal__head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 70px; }
.lvh-cal__kicker {
    margin: 0;
    color: var(--aefe-red);
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: 13px;
}
.lvh-cal__row { display: flex; align-items: baseline; gap: 18px; }
.lvh-cal__title {
    margin: 0;
    color: var(--aefe-blue);
    font-weight: 900;
    font-size: 32px;
    line-height: 1.12;
    white-space: nowrap;
}
.lvh-cal__accent { display: flex; align-items: center; gap: 10px; flex: 1; transform: translateY(-2px); }
.lvh-cal__line { height: 3px; background: var(--aefe-red); flex: 1; border-radius: 999px; }
.lvh-cal__dot { width: 8px; height: 8px; background: var(--aefe-red); border-radius: 50%; }
.lvh-cal__grid { display: grid; grid-template-columns: 7fr 3fr; gap: 60px; }
.lvh-cal__panelhead { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.lvh-cal__paneltitle { margin: 0; color: var(--aefe-blue); font-weight: 900; font-size: 18px; }
.lvh-cal__panelrule { height: 1px; background: #e3e7ec; flex: 1; }
.lvh-cal__articles { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; }
.lvh-cal__featuredMedia { aspect-ratio: 16 / 10; background: #f2f4f6; }
.lvh-cal__featuredMedia img { width: 100%; height: 100%; object-fit: cover; }
.lvh-cal__featuredBody { padding-top: 12px; }
.lvh-cal__date {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 6px;
}
.lvh-cal__h,
.lvh-cal__itemTitle,
.lvh-cal__eventTitle {
    margin: 0;
    color: #1b2b44;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.3;
}
.lvh-cal__list { display: flex; flex-direction: column; gap: 18px; }
.lvh-cal__item { display: grid; grid-template-columns: 86px 1fr; gap: 14px; }
.lvh-cal__thumb { width: 86px; height: 62px; overflow: hidden; }
.lvh-cal__thumb img { width: 100%; height: 100%; object-fit: cover; }
.lvh-cal__events { display: flex; flex-direction: column; gap: 28px; }
.lvh-cal__event { display: grid; grid-template-columns: 74px 1fr; gap: 14px; }
.lvh-cal__badge { border-left: 4px solid var(--aefe-red); padding-left: 10px; }
.lvh-cal__badgeDay { color: var(--aefe-red); font-weight: 900; font-size: 22px; }
.lvh-cal__badgeMonth { color: var(--aefe-red); font-weight: 900; font-size: 13px; }

.lvh-cal__reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .6s ease, transform .6s ease;
}
.lvh-cal__reveal.is-left { transform: translateX(-28px); }
.lvh-cal__reveal.is-right { transform: translateX(28px); }
.lvh-cal__reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 980px) {
    .lvh-cal__grid { grid-template-columns: 1fr; gap: 48px; }
    .lvh-cal__articles { grid-template-columns: 1fr; }
    .lvh-cal__title { white-space: normal; }
    .lvh-cal__accent { width: 100%; }
}

/* =========================
   TEMOIGNAGES (marquee)
========================== */
.lvh-testimonials {
    --gap: 80px;
    --item-w: 920px;
    --dur: 28s;
    width: 100%;
    background: #fff;
    padding: 78px 0 64px;
}
.lvh-testimonials__container { max-width: 1280px; margin: 0 auto; padding: 0 18px; }
.lvh-testimonials__head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 34px; }
.lvh-testimonials__kicker {
    margin: 0;
    color: var(--aefe-red);
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: 13px;
}
.lvh-testimonials__row { display: flex; align-items: baseline; gap: 18px; }
.lvh-testimonials__title {
    margin: 0;
    color: var(--aefe-blue);
    font-weight: 900;
    font-size: 32px;
    line-height: 1.12;
    white-space: nowrap;
}
.lvh-testimonials__accent { display: flex; align-items: center; gap: 10px; flex: 1; transform: translateY(-2px); }
.lvh-testimonials__line { height: 3px; background: var(--aefe-red); flex: 1; border-radius: 999px; }
.lvh-testimonials__dot { width: 8px; height: 8px; background: var(--aefe-red); border-radius: 50%; }
.lvh-testimonials__marquee { width: 100%; overflow: hidden; }
.lvh-testimonials__track {
    display: flex;
    gap: var(--gap);
    width: max-content;
    animation: lvhTestiMarquee var(--dur) linear infinite;
    animation-play-state: paused;
}
.lvh-testimonials.is-running .lvh-testimonials__track { animation-play-state: running; }
.lvh-testimonials__group { display: flex; gap: var(--gap); align-items: center; }
@keyframes lvhTestiMarquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.lvh-titem {
    width: var(--item-w);
    max-width: min(var(--item-w), 90vw);
    padding: 26px 6px 20px;
    text-align: center;
    color: var(--aefe-blue);
}
.lvh-titem__quote {
    margin: 0;
    font-size: 28px;
    line-height: 1.5;
    font-weight: 500;
    position: relative;
    display: inline-block;
    max-width: 46ch;
    padding: 0 18px;
}
.lvh-titem__quote::before,
.lvh-titem__quote::after {
    position: absolute;
    font-size: 36px;
    font-weight: 900;
    color: var(--aefe-blue);
    line-height: 1;
}
.lvh-titem__quote::before { content: "“"; left: 0; top: -4px; }
.lvh-titem__quote::after  { content: "”"; right: 0; bottom: -6px; }
.lvh-titem__author { margin: 12px 0 0; font-size: 26px; font-weight: 500; color: var(--aefe-blue); }
.lvh-titem__stars {
    margin-top: 10px;
    font-size: 14px;
    letter-spacing: .12em;
    font-weight: 900;
    color: #F5C400;
    text-shadow: 0 1px 0 rgba(0,0,0,.08);
}

@media (max-width: 980px) {
    .lvh-testimonials__title { white-space: normal; }
    .lvh-testimonials__row { flex-wrap: wrap; }
    .lvh-testimonials { --gap: 48px; }
    .lvh-titem__quote { font-size: 22px; max-width: 32ch; }
    .lvh-titem__author { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
    .lvh-testimonials__track {
        animation: none !important;
    }
    .lvh-testimonials__marquee { overflow: visible; }
    .lvh-testimonials__group { flex-direction: column; gap: 24px; }
    .lvh-titem { width: 100%; text-align: left; }
}
