/* Page d'entrée Tunarco (application/views/frontend/default/landing.php)
   Structure inspirée d'un site vitrine « corporate » : en-tête sombre, sections pleine largeur,
   couleurs du logo Tunarco (violet, bleu, vert). Police Poppins (Cairo en arabe). */
:root {
    --violet: #8a428a;
    --violet-light: #c27bc2;
    --bleu: #2d88b5;
    --bleu-light: #84c1e4;
    --vert: #107d34;
    --vert-light: #5cc985;
    --accent: #84c1e4;
    --accent-ink: #0f1d29;
    --dark: #14181f;
    --dark-2: #1d222b;
    --dark-3: #262c36;
    --ink: #1c232c;
    --ink-soft: #4d5965;
    --font: "Poppins", Arial, sans-serif;
    --spacing-caps: 0.14em;
    /* Mêmes couleurs en « r, g, b » pour les transparences */
    --violet-rgb: 138, 66, 138;
    --bleu-rgb: 45, 136, 181;
    --vert-rgb: 16, 125, 52;
    --accent-rgb: 255, 194, 33;
    --header-bg-rgb: 43, 43, 43;
}
html[lang="ar"] {
    --font: "Cairo", Arial, sans-serif;
    --spacing-caps: 0;
}

html {
    scroll-behavior: smooth;
}
body.landing {
    margin: 0;
    background: #ffffff;
    color: var(--ink);
    font-family: var(--font);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
}
.landing h1,
.landing h2,
.landing h3 {
    font-family: var(--font);
}
.landing a {
    text-decoration: none;
}
.landing img {
    max-width: 100%;
}
.landing ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.landing-skip {
    position: absolute;
    inset-inline-start: 16px;
    top: -60px;
    z-index: 200;
    padding: 10px 16px;
    background: var(--accent);
    color: var(--accent-ink);
}
.landing-skip:focus {
    top: 12px;
}
.landing a:focus-visible,
.landing button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}
html[dir="rtl"] .lp-flip {
    transform: scaleX(-1);
}

/* ---------- Boutons rectangulaires en capitales ---------- */
.lp-btn {
    display: inline-block;
    padding: 14px 26px;
    border: 2px solid transparent;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: var(--spacing-caps);
    text-transform: uppercase;
    line-height: 1.2;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
html[lang="ar"] .lp-btn {
    font-size: 16px;
}
.lp-btn--accent {
    background: var(--accent);
    color: var(--accent-ink);
}
.lp-btn--accent:hover {
    background: #ffffff;
    color: var(--accent-ink);
}
.lp-btn--outline {
    border-color: rgba(255, 255, 255, 0.85);
    color: #ffffff;
}
.lp-btn--outline:hover {
    background: #ffffff;
    color: var(--accent-ink);
}

/* ---------- En-tête ---------- */
.lp-header {
    position: fixed;
    inset-inline: 0;
    top: 0;
    z-index: 100;
    background: rgba(20, 24, 31, 0.55);
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--violet), var(--bleu), var(--vert)) 1;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
.lp-header.is-scrolled {
    background: var(--dark-2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.lp-header__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 74px;
}
.lp-header__logo img {
    display: block;
    width: auto;
    height: 46px;
}
.lp-menu {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 24px;
}
.lp-menu__list {
    display: flex;
    gap: 6px;
    margin-inline-start: auto !important;
}
.lp-menu__list > li {
    position: relative;
}
.lp-menu__list > li > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 24px 12px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: var(--spacing-caps);
    text-transform: uppercase;
    transition: color 0.2s ease;
}
html[lang="ar"] .lp-menu__list > li > a {
    font-size: 16px;
}
.lp-menu__list > li > a i {
    font-size: 9px;
}
.lp-menu__list > li > a:hover,
.lp-menu__list > li > a.is-active {
    color: var(--accent);
}
.lp-submenu {
    position: absolute;
    top: 100%;
    inset-inline-start: 0;
    min-width: 250px;
    padding: 10px 0 !important;
    background: var(--dark-2);
    border-top: 2px solid var(--accent);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.lp-menu__has-sub:hover .lp-submenu,
.lp-menu__has-sub:focus-within .lp-submenu {
    opacity: 1;
    visibility: visible;
    transform: none;
}
.lp-submenu a {
    display: block;
    padding: 10px 22px;
    color: #d5dce4;
    font-size: 14px;
}
.lp-submenu a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent);
}
.lp-menu__extra {
    display: flex;
    align-items: center;
    gap: 18px;
}
.lp-socials {
    display: flex;
    gap: 14px;
}
.lp-socials a {
    color: #ffffff;
    font-size: 15px;
}
.lp-socials a:hover {
    color: var(--accent);
}
.lp-lang {
    display: inline-flex;
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.lp-lang a {
    padding: 5px 10px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
}
.lp-lang a[lang="ar"] {
    font-family: "Cairo", Arial, sans-serif;
    font-size: 13px;
    letter-spacing: 0;
}
.lp-lang a:hover {
    color: var(--accent);
}
.lp-lang a.is-active {
    background: var(--accent);
    color: var(--accent-ink);
}
.lp-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    margin-inline-start: auto;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: transparent;
}
.lp-burger span {
    display: block;
    height: 2px;
    background: #ffffff;
}

/* ---------- Points de navigation ---------- */
.lp-dots {
    position: fixed;
    inset-inline-end: 22px;
    top: 50%;
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transform: translateY(-50%);
}
.lp-dots a {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, background 0.2s ease;
}
.lp-dots a.is-active {
    background: var(--accent);
    transform: scale(1.5);
}

/* ---------- 1. Plein écran ---------- */
.lp-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: min(100vh, 900px);
    min-height: min(100svh, 900px);
    padding: 120px 24px 90px;
    background-color: var(--dark);
    background-position: center 35%;
    background-size: cover;
    text-align: center;
    color: #ffffff;
}
.lp-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(var(--violet-rgb), 0.55) 0%, rgba(var(--bleu-rgb), 0.35) 50%, rgba(var(--vert-rgb), 0.45) 100%),
        linear-gradient(180deg, rgba(14, 17, 23, 0.75) 0%, rgba(14, 17, 23, 0.55) 50%, rgba(14, 17, 23, 0.85) 100%);
}
.lp-hero__content {
    position: relative;
    max-width: 900px;
}
.lp-hero__eyebrow {
    margin: 0 0 18px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}
html[lang="ar"] .lp-hero__eyebrow {
    font-size: 18px;
    letter-spacing: 0;
}
.landing .lp-hero__title {
    margin: 0 0 22px;
    color: #ffffff;
    font-size: 60px;
    font-weight: 600;
    line-height: 1.15;
}
html[lang="ar"] .landing .lp-hero__title {
    font-weight: 700;
    line-height: 1.4;
}
.lp-hero__tagline {
    margin: 0 0 40px;
    color: #e3e9ef;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: var(--spacing-caps);
    text-transform: uppercase;
}
html[lang="ar"] .lp-hero__tagline {
    font-size: 19px;
}
.lp-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}
.lp-hero__scroll {
    position: absolute;
    bottom: 28px;
    left: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-left: -23px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    color: #ffffff;
    animation: lp-bounce 2s infinite;
}
@keyframes lp-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ---------- Titres de section ---------- */
.lp-heading {
    max-width: 820px;
    margin: 0 auto 56px;
    text-align: center;
}
.landing .lp-heading__title {
    margin: 0 0 14px;
    color: var(--ink);
    font-size: 46px;
    font-weight: 500;
    line-height: 1.2;
}
.lp-heading__text {
    margin: 0;
    color: var(--ink);
    font-size: 19px;
}
.lp-heading--light .lp-heading__title,
.lp-heading--light .lp-heading__text {
    color: #ffffff;
}

/* ---------- 2. Nos activités (dégradé bleu -> vert du logo) ---------- */
.lp-activities {
    padding: 110px 0 100px;
    background: linear-gradient(180deg, #8fd0f0 0%, #a6e3c4 100%);
}
.lp-activity {
    height: 100%;
    padding: 0 18px;
    text-align: center;
}
.lp-activity__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 132px;
    height: 132px;
    margin-bottom: 28px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--bleu);
    font-size: 54px;
    box-shadow: 0 12px 30px rgba(20, 40, 60, 0.12);
    transition: transform 0.25s ease;
}
.lp-activity--distance .lp-activity__icon {
    color: var(--vert);
}
.lp-activity--vente .lp-activity__icon {
    color: var(--violet);
}
.lp-activity:hover .lp-activity__icon {
    transform: translateY(-6px);
}
.landing .lp-activity__title {
    margin: 0 0 14px;
    color: var(--ink);
    font-size: 22px;
    font-weight: 500;
}
.lp-activity__text {
    margin: 0 0 18px;
    color: #253039;
}
.lp-activity__more {
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: var(--spacing-caps);
    text-transform: uppercase;
    border-bottom: 2px solid var(--ink);
    padding-bottom: 2px;
}
.lp-activity__more:hover {
    color: var(--bleu);
    border-color: var(--bleu);
}

/* ---------- 3. Grandes sections par axe (fond sombre) ---------- */
.lp-feature {
    --feature-color: var(--bleu);
    --feature-light: var(--bleu-light);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: min(90vh, 780px);
    padding: 110px 0;
    background:
        radial-gradient(circle at 85% 50%, rgba(var(--bleu-rgb), 0.38) 0, transparent 55%),
        var(--dark);
    color: #ffffff;
    scroll-margin-top: 70px;
}
.lp-feature--distance {
    --feature-color: var(--vert);
    --feature-light: var(--vert-light);
    background:
        radial-gradient(circle at 15% 50%, rgba(var(--vert-rgb), 0.4) 0, transparent 55%),
        #10161a;
}
.lp-feature--vente {
    --feature-color: var(--violet);
    --feature-light: var(--violet-light);
    background:
        radial-gradient(circle at 85% 50%, rgba(var(--violet-rgb), 0.45) 0, transparent 55%),
        #17131b;
}
.lp-feature--reverse .row {
    flex-direction: row-reverse;
}
.lp-feature .container-xl {
    position: relative;
}
.lp-feature__number {
    display: block;
    margin-bottom: 6px;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--feature-light);
    font-size: 72px;
    font-weight: 700;
    line-height: 1;
    opacity: 0.8;
}
.landing .lp-feature__title {
    margin: 0 0 26px;
    color: #ffffff;
    font-size: 46px;
    font-weight: 500;
    line-height: 1.25;
}
.lp-feature__lead {
    position: relative;
    margin: 0 0 26px;
    padding-inline-start: 50px;
    color: #e6ebf0;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 1.9;
    text-transform: uppercase;
}
html[lang="ar"] .lp-feature__lead {
    font-size: 18px;
    letter-spacing: 0;
}
.lp-feature__lead::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0.9em;
    width: 32px;
    height: 2px;
    background: var(--feature-light);
}
.lp-feature__points {
    margin: 0 0 34px !important;
    padding-inline-start: 50px !important;
}
.lp-feature__points li {
    position: relative;
    padding: 6px 0 6px 0;
    padding-inline-start: 22px;
    color: #ffffff;
    font-size: 16px;
}
.lp-feature__points li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 16px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--feature-light);
}
.lp-feature .lp-btn {
    margin-inline-start: 50px;
}
.lp-feature .lp-btn--accent {
    background: var(--feature-light);
}
.lp-feature .lp-btn--accent:hover {
    background: #ffffff;
}
.lp-feature__media {
    position: relative;
    max-width: 580px;
    margin-inline-start: auto;
}
.lp-feature--reverse .lp-feature__media {
    margin-inline-start: 0;
    margin-inline-end: auto;
}
.lp-feature__media::before {
    content: "";
    position: absolute;
    inset: 22px -22px -22px 22px;
    border: 2px solid var(--feature-light);
    opacity: 0.6;
}
html[dir="rtl"] .lp-feature__media::before {
    inset: 22px 22px -22px -22px;
}
.lp-feature__media img {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

/* ---------- 4. Nos réussites ---------- */
.lp-results {
    padding: 110px 0;
    background: linear-gradient(135deg, #1b2a3a 0%, #1f4a63 55%, #155a3a 100%);
    color: #ffffff;
}
.lp-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px 60px;
    margin: -16px 0 56px !important;
}
.lp-stats li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
html[lang="ar"] .lp-stats li {
    font-size: 18px;
    letter-spacing: 0;
}
.lp-stats i {
    color: var(--accent);
    font-size: 34px;
}
.lp-results__photo {
    margin: 0;
    overflow: hidden;
}
.lp-results__photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.lp-results__photo:hover img {
    transform: scale(1.06);
}
.lp-results__caption {
    margin: 22px 0 0;
    text-align: center;
    color: #d6e0ea;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.lp-results__caption i {
    color: #f0c040;
}

/* ---------- 5. Nos partenaires ---------- */
.lp-partners {
    padding: 110px 0;
    background: linear-gradient(120deg, var(--bleu) 0%, #6a5aa8 55%, #a35ba3 100%);
}
.lp-partners .lp-heading__title,
.lp-partners .lp-heading__text {
    color: #ffffff !important;
}
.lp-partners__list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}
.lp-partners__list li {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 170px;
    padding: 24px;
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.25s ease;
}
.lp-partners__list li:hover {
    transform: translateY(-6px);
}
.lp-partners__list img {
    width: auto;
    height: 104px;
    max-width: 100%;
    object-fit: contain;
}

/* ---------- Pied de page ---------- */
.lp-footer {
    background: var(--dark-3);
    color: #c3cad2;
    font-size: 16px;
}
.lp-footer .container-xl {
    padding-top: 70px;
    padding-bottom: 50px;
}
.landing .lp-footer__title {
    margin: 0 0 26px;
    padding-bottom: 14px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    position: relative;
}
html[lang="ar"] .landing .lp-footer__title {
    font-size: 18px;
    letter-spacing: 0;
}
.lp-footer__title::after {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}
.lp-footer p {
    margin: 0 0 12px;
}
.lp-footer__list li {
    padding: 4px 0;
}
.lp-footer__links li {
    padding: 5px 0;
}
.lp-footer a {
    color: #ffffff;
}
.lp-footer a:hover {
    color: var(--accent);
}
.lp-footer__bottom {
    padding: 20px 16px;
    background: #1c2027;
    color: #aab3bd;
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
html[lang="ar"] .lp-footer__bottom {
    font-size: 14px;
    letter-spacing: 0;
}
.lp-top {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s, background 0.2s ease;
    position: fixed;
    inset-inline-end: 20px;
    bottom: 20px;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--dark-2);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}
.lp-top.is-visible {
    opacity: 1;
    visibility: visible;
}
.lp-top:hover {
    background: var(--accent);
    color: var(--accent-ink);
}

/* Nom en caractères latins dans un texte arabe : sens de lecture isolé et sans coupure */
.landing bdi {
    white-space: nowrap;
}

/* ---------- Tablette ---------- */
@media only screen and (max-width: 1199px) {
    .lp-burger {
        display: flex;
    }
    .lp-menu {
        position: absolute;
        inset-inline: 0;
        top: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        max-height: calc(100vh - 74px);
        overflow-y: auto;
        padding: 10px 24px 24px;
        background: var(--dark-2);
    }
    .lp-menu.is-open {
        display: flex;
    }
    .lp-menu__list {
        flex-direction: column;
        margin: 0 !important;
    }
    .lp-menu__list > li > a {
        padding: 14px 0;
    }
    .lp-submenu {
        position: static;
        min-width: 0;
        padding: 0 0 8px !important;
        border-top: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    .lp-submenu a {
        padding: 8px 16px;
    }
    .lp-menu__extra {
        justify-content: space-between;
        padding-top: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    .lp-header {
        background: var(--dark-2);
    }
    .lp-partners__list {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media only screen and (max-width: 991px) {
    .lp-dots {
        display: none;
    }
    .landing .lp-hero__title {
        font-size: 44px;
    }
    .lp-feature {
        min-height: 0;
        padding: 80px 0;
    }
    .lp-feature--reverse .row {
        flex-direction: row;
    }
    .lp-feature__media,
    .lp-feature--reverse .lp-feature__media {
        margin: 10px auto 0;
    }
    .landing .lp-heading__title,
    .landing .lp-feature__title {
        font-size: 36px;
    }
}

/* ---------- Mobile ---------- */
@media only screen and (max-width: 575px) {
    body.landing {
        font-size: 15px;
    }
    .lp-header__logo img {
        height: 38px;
    }
    .lp-hero {
        padding: 110px 16px 90px;
    }
    .landing .lp-hero__title {
        font-size: 34px;
    }
    .lp-hero__tagline {
        font-size: 12px;
    }
    .lp-btn {
        padding: 13px 20px;
    }
    .lp-activities,
    .lp-results,
    .lp-partners {
        padding: 70px 0;
    }
    .landing .lp-heading__title,
    .landing .lp-feature__title {
        font-size: 30px;
    }
    .lp-heading__text {
        font-size: 16px;
    }
    .lp-feature__number {
        font-size: 54px;
    }
    .lp-feature__lead,
    .lp-feature__points {
        padding-inline-start: 0 !important;
    }
    .lp-feature__lead {
        padding-top: 16px;
    }
    .lp-feature__lead::before {
        top: 0;
    }
    .lp-feature .lp-btn {
        margin-inline-start: 0;
    }
    .lp-feature__media::before {
        inset: 12px -12px -12px 12px;
    }
    .lp-stats {
        gap: 18px;
        flex-direction: column;
        align-items: center;
    }
    .lp-partners__list {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .lp-partners__list li {
        height: 130px;
    }
    .lp-partners__list img {
        height: 80px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .lp-hero__scroll {
        animation: none;
    }
    .landing *,
    .landing *::before,
    .landing *::after {
        transition: none !important;
    }
}

/* =====================================================================
   Animations
   ===================================================================== */

/* Barre de progression de lecture */
.lp-progress {
    position: absolute;
    inset-inline: 0;
    bottom: -3px;
    height: 3px;
    background: linear-gradient(90deg, var(--violet), var(--bleu), var(--vert));
    transform: scaleX(0);
    transform-origin: left;
}
html[dir="rtl"] .lp-progress {
    transform-origin: right;
}
.lp-header__inner {
    transition: min-height 0.3s ease;
}
.lp-header.is-scrolled .lp-header__inner {
    min-height: 62px;
}
.lp-header__logo img {
    transition: height 0.3s ease;
}
.lp-header.is-scrolled .lp-header__logo img {
    height: 40px;
}

/* Premier écran : zoom lent de la photo, particules, apparition du texte */
.lp-hero {
    overflow: hidden;
}
.lp-hero__bg {
    position: absolute;
    inset: -2%;
    background-position: center 35%;
    background-size: cover;
    animation: lp-kenburns 22s ease-in-out infinite alternate;
}
@keyframes lp-kenburns {
    from { transform: scale(1) translate(0, 0); }
    to { transform: scale(1.12) translate(-1.5%, -1%); }
}
.lp-hero::before {
    z-index: 1;
    background-size: 200% 200%, 100% 100%;
    animation: lp-gradient-shift 14s ease-in-out infinite alternate;
}
@keyframes lp-gradient-shift {
    from { background-position: 0% 50%, 0 0; }
    to { background-position: 100% 50%, 0 0; }
}
.lp-hero__particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.lp-hero__content,
.lp-hero__scroll {
    z-index: 2;
}
.lp-js .lp-intro {
    opacity: 0;
    transform: translateY(30px);
    animation: lp-fade-up 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
    animation-delay: var(--delay, 0s);
}
@keyframes lp-fade-up {
    to { opacity: 1; transform: none; }
}
.lp-typed {
    color: #ffffff;
}
.lp-caret {
    display: inline-block;
    width: 2px;
    height: 1.1em;
    margin-inline-start: 4px;
    vertical-align: -0.18em;
    background: var(--accent);
    animation: lp-blink 0.9s steps(1) infinite;
}
@keyframes lp-blink {
    50% { opacity: 0; }
}

/* Apparition au défilement */
.lp-js [data-reveal] {
    opacity: 0;
    transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: var(--delay, 0s);
}
.lp-js [data-reveal="up"] {
    transform: translateY(50px);
}
.lp-js [data-reveal="left"] {
    transform: translateX(-60px);
}
.lp-js [data-reveal="right"] {
    transform: translateX(60px);
}
html[dir="rtl"].lp-js [data-reveal="left"] {
    transform: translateX(60px);
}
html[dir="rtl"].lp-js [data-reveal="right"] {
    transform: translateX(-60px);
}
.lp-js [data-reveal="zoom"] {
    transform: scale(0.88);
}
.lp-js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

/* Activités : icônes qui flottent et tournent au survol */
.lp-activity__icon {
    position: relative;
    animation: lp-float 4s ease-in-out infinite;
}
.lp-activity--distance .lp-activity__icon {
    animation-delay: -1.3s;
}
.lp-activity--vente .lp-activity__icon {
    animation-delay: -2.6s;
}
@keyframes lp-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.lp-activity__icon i {
    transition: transform 0.6s ease;
}
.lp-activity:hover .lp-activity__icon i {
    transform: rotate(360deg) scale(1.1);
}
.lp-activity__icon::after {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px dashed currentColor;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: lp-spin 12s linear infinite;
}
.lp-activity:hover .lp-activity__icon::after {
    opacity: 0.5;
}
@keyframes lp-spin {
    to { transform: rotate(360deg); }
}

/* Reflet lumineux sur les boutons */
.lp-btn {
    position: relative;
    overflow: hidden;
}
.lp-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: skewX(-20deg);
}
.lp-btn:hover::after {
    animation: lp-shine 0.8s ease;
}
@keyframes lp-shine {
    to { left: 130%; }
}

/* Grandes sections : cadre qui glisse en place, photo qui zoome au survol */
.lp-js .lp-feature__media::before {
    transform: translate(-22px, -22px);
    opacity: 0;
    transition: transform 1s ease 0.5s, opacity 1s ease 0.5s;
}
.lp-js .lp-feature__media.is-visible::before {
    transform: none;
    opacity: 0.6;
}
.lp-feature__media img {
    transition: transform 0.6s ease, filter 0.6s ease;
}
.lp-feature__media:hover img {
    transform: scale(1.03);
    filter: saturate(1.15);
}
.lp-feature__number {
    animation: lp-glow 3s ease-in-out infinite alternate;
}
@keyframes lp-glow {
    from { opacity: 0.55; }
    to { opacity: 1; }
}

/* Chiffres clés */
.lp-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: -10px 0 56px !important;
}
.lp-stats li {
    flex-direction: column;
    gap: 6px;
    padding: 28px 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    text-align: center;
    letter-spacing: 0.08em;
    font-size: 13px;
}
.lp-stats li:hover {
    background: rgba(255, 255, 255, 0.1);
}
.lp-stats i {
    font-size: 30px;
}
.lp-count {
    display: block;
    color: #ffffff;
    font-size: 44px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0;
}

/* Menu mobile : le burger devient une croix */
.lp-burger span {
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.lp-burger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.lp-burger.is-open span:nth-child(2) {
    opacity: 0;
}
.lp-burger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media only screen and (max-width: 991px) {
    .lp-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media only screen and (max-width: 575px) {
    .lp-stats {
        gap: 12px;
    }
    .lp-count {
        font-size: 34px;
    }
}

/* Moins de mouvement si le visiteur le demande dans les réglages de son appareil */
@media (prefers-reduced-motion: reduce) {
    .lp-hero__bg,
    .lp-hero::before,
    .lp-activity__icon,
    .lp-activity__icon::after,
    .lp-feature__number,
    .lp-caret {
        animation: none !important;
    }
    .lp-js .lp-intro {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

/* =====================================================================
   Défilement « page par page » (ordinateur) : classe lp-snap posée par js/landing.js
   ===================================================================== */
html.lp-snap {
    scroll-behavior: auto;
}
.lp-snap main > section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
}
.lp-snap .lp-hero {
    flex-direction: row;
    min-height: 100vh;
    padding-bottom: 150px;
}
.lp-snap .lp-hero__scroll {
    bottom: 100px;
}

/* Menu posé en bas du premier écran, qui remonte en haut dès la section suivante */
.lp-snap .lp-header {
    top: calc(100vh - 77px);
    transition: top 0.8s cubic-bezier(0.65, 0, 0.35, 1), background 0.3s ease, box-shadow 0.3s ease;
}
.lp-snap .lp-header.is-scrolled {
    top: 0;
}
.lp-snap .lp-header:not(.is-scrolled) .lp-submenu {
    top: auto;
    bottom: 100%;
    border-top: 0;
    border-bottom: 2px solid var(--accent);
    transform: translateY(-8px);
}
.lp-snap .lp-header:not(.is-scrolled) .lp-menu__has-sub:hover .lp-submenu,
.lp-snap .lp-header:not(.is-scrolled) .lp-menu__has-sub:focus-within .lp-submenu {
    transform: none;
}
.lp-snap .lp-header:not(.is-scrolled) .lp-menu__has-sub > a i {
    transform: rotate(180deg);
}

/* Flèches haut / bas autour des points de navigation */
.lp-dots {
    align-items: center;
}
.lp-dots__arrow {
    width: 0;
    height: 0;
    padding: 0;
    border: 6px solid transparent;
    background: none;
    cursor: pointer;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}
.lp-dots__arrow:hover {
    opacity: 1;
}
.lp-dots__arrow--up {
    border-top: 0;
    border-bottom: 8px solid #ffffff;
    filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.5));
}
.lp-dots__arrow--down {
    border-bottom: 0;
    border-top: 8px solid #ffffff;
    filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.5));
}

/* =====================================================================
   Carrousel des partenaires
   ===================================================================== */
.lp-carousel__viewport {
    overflow: hidden;
    padding: 10px 0 30px;
}
.lp-carousel__track {
    display: flex !important;
    gap: 24px;
    will-change: transform;
}
.lp-carousel__item {
    flex: 0 0 calc((100% - 3 * 24px) / 4);
}
.lp-carousel__dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}
.lp-carousel__dots button {
    width: 14px;
    height: 14px;
    padding: 0;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}
.lp-carousel__dots button.is-active {
    background: #ffffff;
    transform: scale(1.15);
}
@media only screen and (max-width: 991px) {
    .lp-carousel__item {
        flex-basis: calc((100% - 2 * 24px) / 3);
    }
}
@media only screen and (max-width: 575px) {
    .lp-carousel__track {
        gap: 14px;
    }
    .lp-carousel__item {
        flex-basis: calc((100% - 14px) / 2);
    }
}

/* =====================================================================
   Vidéo du premier écran, en-tête et commandes façon site vitrine
   ===================================================================== */
:root {
    --accent: #ffc221;
    --accent-ink: #1b1b1b;
    --header-bg: #2b2b2b;
}

/* Vidéo plein écran, sans texte par-dessus (le logo est dans la vidéo) */
.lp-hero {
    background: #0b1424;
}
.lp-hero__video {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lp-hero::before {
    z-index: 1;
    background: linear-gradient(180deg, rgba(8, 12, 20, 0) 65%, rgba(8, 12, 20, 0.55) 100%);
    animation: none;
}
.lp-hero__scroll {
    z-index: 2;
}

/* En-tête gris anthracite uni */
.lp-header,
.lp-header.is-scrolled {
    background: var(--header-bg);
    border-top: 0;
    border-image: none;
}
.lp-menu__list > li > a {
    font-size: 14px;
    letter-spacing: 0.12em;
}
.lp-snap .lp-header {
    top: calc(100vh - 74px);
}

/* Boutons : accent jaune partout, comme « Demander un devis » */
.lp-feature .lp-btn--accent {
    background: var(--accent);
}

/* Langue : globe et menu déroulant */
.lp-langmenu {
    position: relative;
}
.lp-langmenu__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-size: 17px;
    cursor: pointer;
}
.lp-langmenu__toggle:hover {
    color: var(--accent);
}
.lp-langmenu .lp-submenu {
    inset-inline-start: auto;
    inset-inline-end: 0;
    min-width: 160px;
}
.lp-langmenu.is-open .lp-submenu {
    opacity: 1;
    visibility: visible;
    transform: none;
}
.lp-langmenu__list a.is-active {
    color: var(--accent);
}
.lp-langmenu__list a[lang="ar"] {
    font-family: "Cairo", Arial, sans-serif;
}

/* Interrupteur mode sombre / clair */
.lp-theme {
    position: relative;
    flex-shrink: 0;
    width: 56px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--violet), var(--bleu));
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}
.lp-theme__knob {
    position: absolute;
    top: 3px;
    inset-inline-start: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--violet);
    font-size: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: inset-inline-start 0.3s ease, color 0.3s ease;
}
.lp-light .lp-theme {
    background: linear-gradient(90deg, var(--bleu), var(--accent));
}
.lp-light .lp-theme__knob {
    inset-inline-start: 29px;
    color: #e0a100;
}

/* Points de navigation : pastille active jaune dans un carré gris */
.lp-dots {
    gap: 14px;
}
.lp-dots a {
    position: relative;
    width: 6px;
    height: 6px;
    background: #ffffff;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
}
.lp-dots a.is-active {
    transform: none;
    background: var(--accent);
    box-shadow: none;
}
.lp-dots a.is-active::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    width: 28px;
    height: 28px;
    margin: -14px 0 0 -14px;
    background: rgba(140, 140, 140, 0.75);
}
.lp-dots a.is-active {
    width: 12px;
    height: 12px;
}

/* =====================================================================
   Mode clair
   ===================================================================== */
.lp-light .lp-header,
.lp-light .lp-header.is-scrolled {
    background: #ffffff;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}
.lp-light .lp-menu__list > li > a,
.lp-light .lp-socials a,
.lp-light .lp-langmenu__toggle {
    color: var(--ink);
}
.lp-light .lp-menu__list > li > a:hover,
.lp-light .lp-menu__list > li > a.is-active,
.lp-light .lp-socials a:hover,
.lp-light .lp-langmenu__toggle:hover {
    color: #c48a00;
}
.lp-light .lp-submenu {
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}
.lp-light .lp-submenu a {
    color: var(--ink);
}
.lp-light .lp-submenu a:hover,
.lp-light .lp-langmenu__list a.is-active {
    background: #f5f5f5;
    color: #c48a00;
}
.lp-light .lp-burger {
    border-color: rgba(0, 0, 0, 0.25);
}
.lp-light .lp-burger span {
    background: var(--ink);
}
.lp-logo-on-light {
    display: none !important;
}
.lp-light .lp-logo-on-light {
    display: block !important;
}
.lp-light .lp-logo-on-dark {
    display: none !important;
}
.lp-light .lp-feature,
.lp-light .lp-feature--distance,
.lp-light .lp-feature--vente {
    background: #f4f7fb;
    color: var(--ink);
}
.lp-light .lp-feature--distance {
    background: #f1f8f3;
}
.lp-light .lp-feature--vente {
    background: #f8f2f8;
}
.lp-light .lp-feature__title {
    color: var(--ink);
}
.lp-light .lp-feature__lead {
    color: var(--ink-soft);
}
.lp-light .lp-feature__points li {
    color: var(--ink);
}
.lp-light .lp-feature__number {
    -webkit-text-stroke-color: var(--feature-color);
}
.lp-light .lp-feature__media img {
    box-shadow: 0 24px 48px rgba(20, 30, 50, 0.18);
}
.lp-light .lp-results {
    background: linear-gradient(135deg, #e8f3fa 0%, #eef6f1 100%);
}
.lp-light .lp-results .lp-heading__title,
.lp-light .lp-results .lp-heading__text,
.lp-light .lp-count {
    color: var(--ink);
}
.lp-light .lp-stats li {
    border-color: rgba(0, 0, 0, 0.08);
    background: #ffffff;
    color: var(--ink);
}
.lp-light .lp-stats i {
    color: var(--bleu);
}
.lp-light .lp-results__caption {
    color: var(--ink-soft);
}
.lp-light .lp-footer {
    background: #f3f5f8;
    color: var(--ink-soft);
}
.lp-light .lp-footer__title,
.lp-light .lp-footer a {
    color: var(--ink);
}
.lp-light .lp-footer a:hover {
    color: #c48a00;
}
.lp-light .lp-footer__bottom {
    background: #e7ebf0;
    color: var(--ink-soft);
}
.lp-light .lp-top {
    background: #ffffff;
    color: var(--ink);
}
.lp-light .lp-dots a {
    background: #8a94a0;
}
.lp-light .lp-dots a.is-active {
    background: var(--accent);
}
.lp-light .lp-dots__arrow--up {
    border-bottom-color: #6b7580;
}
.lp-light .lp-dots__arrow--down {
    border-top-color: #6b7580;
}

@media only screen and (max-width: 1199px) {
    .lp-light .lp-menu {
        background: #ffffff;
    }
    .lp-light .lp-menu__extra {
        border-top-color: rgba(0, 0, 0, 0.08);
    }
}

/* =====================================================================
   Les trois axes : une page par axe, qui glisse vers la gauche
   ===================================================================== */
.lp-axes {
    position: relative;
    overflow: hidden;
    padding: 0 !important;
    background: var(--dark);
}
.lp-snap .lp-axes {
    justify-content: flex-start;
}
.lp-axes__track {
    display: flex;
    transition: transform 0.9s cubic-bezier(0.65, 0, 0.35, 1);
    will-change: transform;
}
html:not(.lp-js) .lp-axes__track {
    display: block;
}
.lp-axes .lp-slide {
    flex: 0 0 100%;
    width: 100%;
    min-height: 100vh;
    padding: 110px 0 170px;
}
.lp-snap .lp-axes .lp-slide {
    padding: 70px 0 190px;
}

/* Contenu qui entre à chaque changement de page */
.lp-js .lp-slide .lp-feature__text {
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 0.8s ease 0.4s, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.4s;
}
html[dir="rtl"].lp-js .lp-slide .lp-feature__text {
    transform: translateX(-80px);
}
.lp-js .lp-slide .lp-feature__media {
    opacity: 0;
    transform: scale(0.88);
    transition: opacity 0.8s ease 0.6s, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.6s;
}
.lp-js .lp-slide.is-active .lp-feature__text,
.lp-js .lp-slide.is-active .lp-feature__media {
    opacity: 1;
    transform: none;
}
.lp-js .lp-slide.is-active .lp-feature__media::before {
    transform: none;
    opacity: 0.6;
}

/* Flèches précédent / suivant */
.lp-axes__arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-top: -28px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.25);
    color: #ffffff;
    font-size: 22px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.lp-snap .lp-axes__arrow {
    margin-top: -65px;
}
.lp-axes__arrow:hover {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--accent-ink);
}
.lp-axes__arrow--prev {
    inset-inline-start: 24px;
}
.lp-axes__arrow--next {
    inset-inline-end: 24px;
}
.lp-snap .lp-axes__arrow--next {
    inset-inline-end: 64px;
}

/* Onglets des axes avec barre de progression */
.lp-axes__dots {
    position: absolute;
    left: 50%;
    bottom: 40px;
    z-index: 5;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}
.lp-snap .lp-axes__dots {
    bottom: 104px;
}
.lp-axes__dots button[data-slide] {
    position: relative;
    overflow: hidden;
    min-width: 200px;
    padding: 12px 18px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-family: var(--font);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
html[lang="ar"] .lp-axes__dots button[data-slide] {
    font-size: 15px;
    letter-spacing: 0;
}
.lp-axes__dots button[data-slide]:hover {
    background: rgba(255, 255, 255, 0.12);
}
.lp-axes__dots button[data-slide].is-active {
    border-color: var(--accent);
    color: var(--accent);
}
.lp-axes__dots button[data-slide]::after {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background: var(--accent);
}
.lp-axes__dots button[data-slide].is-active::after {
    width: 100%;
}
.lp-axes.is-playing .lp-axes__dots button[data-slide].is-active::after {
    width: 0;
    animation: lp-slide-progress 7s linear forwards;
}
@keyframes lp-slide-progress {
    to { width: 100%; }
}

/* Mode clair */
.lp-light .lp-axes {
    background: #f4f7fb;
}
.lp-light .lp-axes__arrow {
    border-color: rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.8);
    color: var(--ink);
}
.lp-light .lp-axes__arrow:hover {
    background: var(--accent);
    border-color: var(--accent);
}
.lp-light .lp-axes__dots button[data-slide] {
    border-color: rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.8);
    color: var(--ink);
}
.lp-light .lp-axes__dots button[data-slide].is-active {
    border-color: #c48a00;
    color: #c48a00;
}

/* Tablette et mobile : pages à hauteur du contenu, onglets en pastilles */
@media only screen and (max-width: 991px) {
    .lp-axes .lp-slide {
        min-height: 0;
        padding: 80px 0 110px;
    }
    .lp-axes__arrow {
        top: auto;
        bottom: 26px;
        width: 44px;
        height: 44px;
        margin-top: 0;
        font-size: 18px;
    }
    .lp-axes__dots {
        bottom: 42px;
    }
    .lp-axes__dots button[data-slide] {
        min-width: 0;
        width: 12px;
        height: 12px;
        padding: 0;
        border-radius: 50%;
        border-color: #ffffff;
    }
    .lp-axes__dots button[data-slide] span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }
    .lp-axes__dots button[data-slide].is-active {
        background: var(--accent);
        border-color: var(--accent);
    }
    .lp-axes__dots button[data-slide]::after {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lp-axes__track {
        transition: none;
    }
    .lp-js .lp-slide .lp-feature__text,
    .lp-js .lp-slide .lp-feature__media {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Flèches placées de part et d'autre des onglets */
.lp-axes__dots {
    align-items: center;
}
.lp-axes__dots .lp-axes__arrow,
.lp-snap .lp-axes__dots .lp-axes__arrow {
    position: static;
    width: 46px;
    height: 46px;
    margin: 0 6px;
    font-size: 18px;
}
@media only screen and (max-width: 991px) {
    .lp-axes__dots .lp-axes__arrow {
        width: 40px;
        height: 40px;
    }
    .lp-axes__dots {
        bottom: 28px;
    }
}
.lp-axes__dots button[data-slide] {
    white-space: nowrap;
}

/* Empêche le navigateur de faire défiler le diaporama lui-même (liens #presentiel, #vente...) */
.lp-axes {
    overflow: clip;
}

/* =====================================================================
   Compétitions nationales & internationales (carrousel de cartes)
   ===================================================================== */
.lp-competitions {
    padding: 110px 0;
    background: #f4f7fb;
}
.lp-snap .lp-competitions {
    padding: 96px 0 36px;
}
.lp-carousel--cards .lp-carousel__item {
    flex: 0 0 calc((100% - 3 * 24px) / 4);
}
.lp-comp-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(20, 30, 50, 0.1);
    color: var(--ink);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.lp-comp-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(20, 30, 50, 0.16);
    color: var(--ink);
}
.lp-comp-card__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #dfe6ee;
}
.lp-comp-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.lp-comp-card:hover .lp-comp-card__media img {
    transform: scale(1.06);
}
.lp-comp-card__award {
    position: absolute;
    inset-inline-start: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    padding: 6px 12px;
    background: var(--accent);
    color: var(--accent-ink);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
}
.lp-comp-card__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 18px 20px;
}
.lp-comp-card__title {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
}
.lp-comp-card__date {
    color: var(--ink-soft);
    font-size: 13px;
}
.lp-comp-card__date i {
    margin-inline-end: 4px;
    color: var(--bleu);
}
.lp-competitions .lp-carousel__dots button {
    border-color: var(--bleu);
}
.lp-competitions .lp-carousel__dots button.is-active {
    background: var(--bleu);
}
.lp-competitions__more {
    margin-top: 28px;
    text-align: center;
}
.lp-light .lp-competitions {
    background: #ffffff;
}
@media only screen and (max-width: 991px) {
    .lp-carousel--cards .lp-carousel__item {
        flex-basis: calc((100% - 2 * 24px) / 3);
    }
}
@media only screen and (max-width: 575px) {
    .lp-carousel--cards .lp-carousel__item {
        flex-basis: calc((100% - 14px) / 2);
    }
    .lp-comp-card__title {
        font-size: 15px;
    }
}

/* Page par page : « Nos réussites » et « Compétitions » tiennent chacune dans un écran */
.lp-snap .lp-results,
.lp-snap .lp-partners {
    padding: 96px 0 36px;
}
.lp-snap .lp-heading {
    margin-bottom: 30px;
}
.lp-snap .lp-heading__title {
    margin-bottom: 8px;
    font-size: 38px;
}
.lp-snap .lp-heading__text {
    font-size: 17px;
}
.lp-snap .lp-stats {
    margin-bottom: 26px !important;
}
.lp-snap .lp-stats li {
    padding: 16px 12px;
}
.lp-snap .lp-count {
    font-size: 34px;
}
.lp-snap .lp-results__photo img {
    aspect-ratio: 16 / 9;
}
.lp-snap .lp-results__caption {
    margin-top: 12px;
}
.lp-snap .lp-competitions .lp-carousel__viewport {
    padding-bottom: 16px;
}
.lp-snap .lp-competitions__more {
    margin-top: 14px;
}
.lp-snap .lp-comp-card__media {
    aspect-ratio: 16 / 10;
}

/* Bouton « Inscrire mon enfant » dans l'en-tête (la fenêtre de choix est dans enrol_chooser.php) */
.lp-enrol-btn {
    padding: 10px 18px;
    border-radius: 999px;
    white-space: nowrap;
}
.lp-menu__list > li > a {
    white-space: nowrap;
}

/* =====================================================================
   Premier écran sur photo (site SkillTek) : même plein écran que la vidéo,
   photo en zoom lent, dégradé aux couleurs du site, logo et boutons visibles
   ===================================================================== */
.lp-hero--photo::before {
    background:
        linear-gradient(115deg, rgba(var(--violet-rgb), 0.55) 0%, rgba(var(--bleu-rgb), 0.35) 50%, rgba(var(--vert-rgb), 0.45) 100%),
        linear-gradient(180deg, rgba(8, 12, 20, 0.72) 0%, rgba(8, 12, 20, 0.5) 50%, rgba(8, 12, 20, 0.85) 100%);
    background-size: 200% 200%, 100% 100%;
    animation: lp-gradient-shift 14s ease-in-out infinite alternate;
}
.lp-hero--photo .lp-hero__logo {
    display: block;
    width: min(420px, 78vw);
    height: auto;
    margin: 0 auto 22px;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}
.lp-hero--photo .lp-hero__content {
    max-width: 900px;
}
@media (max-width: 767px) {
    .lp-hero--photo .lp-hero__logo {
        margin-bottom: 16px;
    }
}

/* Bouton Connexion / Mon espace de l'en-tête : icône et texte sur une ligne */
.lp-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

/* Formation en présentiel : marque commune « Les Petits Génies de la Robotique » (Tunarco et SkillTek) */
.lp-activity__brand {
    display: block;
    width: auto;
    height: 92px;
    margin: 0 auto 14px;
}
.lp-genies {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    padding: 8px 16px 8px 8px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .92);
    color: #2b2b2b;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.35;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}
.lp-genies img {
    width: auto;
    height: 64px;
    flex: 0 0 auto;
}
.lp-feature__media {
    position: relative;
}
/* Petit macaron dans le coin de la photo (la règle des photos .lp-feature__media img ne doit pas l'agrandir) */
.lp-feature__media img.lp-feature__badge {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 2;
    width: 96px;
    height: 96px;
    aspect-ratio: auto;
    padding: 10px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
    transition: none;
}
.lp-feature__media:hover img.lp-feature__badge {
    transform: none;
    filter: none;
}
@media (max-width: 575px) {
    .lp-feature__media img.lp-feature__badge {
        width: 72px;
        height: 72px;
        padding: 7px;
    }
}
