/* ==========================================================================
   L'app mobile sur l'accueil (maquette « App mobile sur l'accueil »).
   Gabarits : templates/NewUI/partials/app-launch/, script : public/js/app-launch.js.
   Couleurs par les jetons --ls-* : lisible en sombre comme en clair. Le fond
   du code à scanner reste blanc (text-inverse) : un QR se lit noir sur blanc.
   ========================================================================== */

.al-desktop-only { display: block; }
.al-phone-only { display: none; }
@media (max-width: 767px) {
    .al-desktop-only { display: none !important; }
    .al-phone-only { display: block; }
}

/* --- Pastille « Nouveau », avec son reflet qui tourne ------------------- */
.al-new {
    display: inline-block; flex: none; position: relative; overflow: hidden; z-index: 0;
    padding: 2px 5px; border-radius: 4px;
    color: var(--ls-color-primary); background: transparent;
    font-size: 9px; font-weight: 700; line-height: 1.3; letter-spacing: .04em;
    text-transform: uppercase; white-space: nowrap;
}
.al-new::before {
    content: ''; position: absolute; z-index: -2; top: 50%; left: 50%; width: 260%; aspect-ratio: 1;
    transform: translate(-50%, -50%) rotate(0turn);
    background: conic-gradient(transparent 0turn, transparent .52turn, color-mix(in srgb, var(--ls-color-primary) 55%, transparent) .72turn, transparent .88turn);
    animation: al-sweep 3.6s linear infinite;
}
.al-new::after { content: ''; position: absolute; z-index: -1; inset: 1px; border-radius: 3px; background: var(--ls-color-primary-light); }
.al-new--lg { font-size: 11px; padding: 3px 7px; }
@keyframes al-sweep { to { transform: translate(-50%, -50%) rotate(1turn); } }
@media (prefers-reduced-motion: reduce) {
    .al-new::before { animation: none; background: color-mix(in srgb, var(--ls-color-primary) 32%, transparent); }
}

.al-eyebrow {
    margin: 0; display: flex; align-items: center; gap: 8px;
    font-size: 14px; font-weight: 700; color: var(--ls-color-primary-text);
}
.al-muted { margin: 0; font-size: 13px; color: var(--ls-color-text-secondary); }

/* --- Badges des stores et code à scanner -------------------------------- */
.al-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.al-badges--column { flex-direction: column; flex-wrap: nowrap; }
.al-badge { display: inline-flex; border-radius: 8px; }
.al-badge img { display: block; max-width: none; }
.al-badge:focus-visible { outline: 2px solid var(--ls-color-border-focus); outline-offset: 2px; }

.al-qr {
    display: inline-flex; flex: none; padding: 8px; border-radius: 10px;
    background: var(--ls-color-text-inverse); border: 1px solid var(--ls-color-border);
}
.al-qr img { display: block; }

/* --- Les trois atouts ---------------------------------------------------- */
.al-features { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.al-feature { display: flex; align-items: center; gap: 14px; }
.al-feature__icon {
    width: 44px; height: 44px; flex: none; border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--ls-color-primary-light); color: var(--ls-color-primary);
}
.al-feature b { display: block; font-size: 14px; font-weight: 700; color: var(--ls-color-text); }
.al-feature b + span { display: block; margin-top: 2px; font-size: 14px; line-height: 1.4; color: var(--ls-color-text-secondary); }

/* --- L'écran Locations de l'app ------------------------------------------ */
.al-phone {
    flex: none; box-sizing: border-box; overflow: hidden;
    display: flex; flex-direction: column; gap: 14px;
    width: 262px; padding: 26px 16px 0;
    background: var(--ls-color-bg); color: var(--ls-color-text);
    border: 8px solid var(--ls-color-text); border-bottom: 0; border-radius: 40px 40px 0 0;
    box-shadow: 0 24px 60px color-mix(in srgb, var(--ls-color-shadow) 16%, transparent);
}
.al-phone p { margin: 0; }
.al-phone__title { font-size: 20px; font-weight: 700; }
.al-phone__tabs { display: flex; gap: 13px; font-size: 12px; white-space: nowrap; border-bottom: 1px solid var(--ls-color-border); }
.al-phone__tabs span { color: var(--ls-color-text-secondary); padding-bottom: 8px; }
.al-phone__tabs .is-active { color: var(--ls-color-text); font-weight: 600; border-bottom: 2px solid var(--ls-color-text); }
.al-phone__group { font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ls-color-text-secondary); }
.al-phone__group + .al-phone__row + .al-phone__group { margin-top: 4px; }
.al-phone__row { display: flex; align-items: center; gap: 10px; }
.al-phone__row img { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; flex: none; }
.al-phone__item { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.al-phone__item span:first-child { font-size: 13px; font-weight: 600; }
.al-phone__item span + span { font-size: 11px; color: var(--ls-color-text-secondary); }
.al-phone__pay {
    font-size: 11px; font-weight: 600; padding: 6px 10px; border-radius: 8px;
    background: var(--ls-color-primary-dark); color: var(--ls-color-text-inverse);
}

/* ==========================================================================
   A · Bandeau en haut de toutes les pages du site
   Posé en haut du document, au-dessus de l'en-tête : la page descend de sa
   hauteur (padding du body) et l'en-tête fixe aussi, jusqu'à ce qu'on fasse
   défiler. Le bandeau part alors avec la page et l'en-tête remonte à 0 :
   app-launch.js tient --al-offset à jour (hauteur visible du bandeau).
   Sur ordinateur, une ligne d'annonce ; sur téléphone, une bannière d'app
   (icône, nom, « Ouvrir » ou « Installer »). Sur l'iPhone dans Safari, c'est
   la bannière d'Apple (balise apple-itunes-app) qui s'affiche à la place.
   ========================================================================== */
:root { --al-banner-h: 44px; }
@media (max-width: 767px) { :root { --al-banner-h: 64px; } }
.al-banner {
    position: absolute; top: 0; left: 0; right: 0; z-index: 101;
    height: var(--al-banner-h); box-sizing: border-box;
    background: var(--ls-color-primary-light); color: var(--ls-color-text);
    font-family: inherit; font-size: 14px;
}
.al-banner[hidden] { display: none; }
html.al-banner-on body { padding-top: var(--al-banner-h) !important; }
html.al-banner-on header.topHeader,
html.al-banner-on .inner_left_drawer,
html.al-banner-on .sidebar-hover-zone { top: var(--al-offset, var(--al-banner-h)) !important; }
html.al-banner-on .inner_left_drawer,
html.al-banner-on .sidebar-hover-zone { height: calc(100% - var(--al-offset, var(--al-banner-h))) !important; }
.al-banner__inner {
    height: 100%; max-width: 100%; padding: 0 56px;
    display: flex; align-items: center; justify-content: center; gap: 12px;
}
.al-banner .al-new::after { background: var(--ls-color-bg); }
.al-banner__text { font-weight: 500; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.al-banner__cta {
    flex: none; height: 44px; display: inline-flex; align-items: center; gap: 6px;
    font-weight: 600; color: var(--ls-color-primary-text) !important; text-decoration: none !important;
    background: none; border: 0; cursor: pointer;
}
.al-banner__cta:hover { color: var(--ls-color-text) !important; }
.al-banner__close {
    position: absolute; right: 12px; top: 0; width: 44px; height: 44px; padding: 0;
    border: 0; background: none; color: var(--ls-color-text-secondary); cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
}
.al-banner__close:hover { color: var(--ls-color-text); }

/* Code à scanner ouvert depuis le bandeau, sur ordinateur. */
.al-pop {
    position: absolute; top: 52px; right: 24px; width: 300px; box-sizing: border-box;
    padding: 20px; border-radius: 12px;
    background: var(--ls-color-bg); border: 1px solid var(--ls-color-border);
    box-shadow: 0 16px 48px color-mix(in srgb, var(--ls-color-shadow) 16%, transparent);
    display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
}
.al-pop[hidden] { display: none; }
.al-pop p { margin: 0; }
.al-pop__title { font-size: 15px; font-weight: 600; }
.al-pop__hint { font-size: 13px; line-height: 1.45; color: var(--ls-color-text-secondary); }
.al-pop .al-badges { justify-content: center; margin-top: 4px; }

/* Un compte qui a déjà l'app ne voit pas l'annonce sur ordinateur. */
@media (min-width: 768px) {
    .al-banner[data-al-has-app="1"] { display: none; }
}

/* Bannière d'app, sur téléphone. */
.al-smart { display: none; }
@media (max-width: 767px) {
    .al-banner { background: var(--ls-color-bg-subtle); border-bottom: 1px solid var(--ls-color-border); }
    .al-banner__inner, .al-banner > .al-banner__close, .al-pop { display: none !important; }
    .al-smart {
        height: 100%; display: flex; align-items: center; gap: 10px;
        padding: 0 12px 0 4px; box-sizing: border-box;
    }
    .al-smart__close {
        flex: none; width: 32px; height: 44px; padding: 0; border: 0; background: none;
        color: var(--ls-color-text-secondary); display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
    }
    .al-smart__icon { flex: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--ls-color-border); }
    .al-smart__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; line-height: 1.25; }
    .al-smart__name { font-size: 14px; font-weight: 700; color: var(--ls-color-text); }
    .al-smart__sub { font-size: 12px; color: var(--ls-color-text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .al-smart__btn {
        flex: none; min-height: 34px; padding: 0 16px; border-radius: 17px;
        display: inline-flex; align-items: center;
        background: var(--ls-color-primary-dark); color: var(--ls-color-text-inverse) !important;
        font-size: 14px; font-weight: 600; text-decoration: none !important;
    }
}

/* ==========================================================================
   Rappel sur téléphone : « passez sur l'app », en feuille en bas d'écran.
   Au plus une fois tous les 14 jours, jamais avec la fenêtre de lancement.
   ========================================================================== */
.al-nudge {
    position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 2147483000;
    width: 100%; max-width: 100%; max-height: none; margin: 0; padding: 0; border: 0;
    background: transparent; color: var(--ls-color-text);
}
.al-nudge::backdrop { background: color-mix(in srgb, var(--ls-color-shadow) 45%, transparent); }
.al-nudge__card {
    box-sizing: border-box; padding: 12px 20px calc(20px + env(safe-area-inset-bottom)); border-radius: 20px 20px 0 0;
    background: var(--ls-color-bg); display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
}
.al-nudge__grip { width: 40px; height: 4px; border-radius: 2px; background: var(--ls-color-border); margin-bottom: 4px; }
.al-nudge__icon { width: 64px; height: 64px; border-radius: 14px; border: 1px solid var(--ls-color-border); }
.al-nudge__title { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.3; }
.al-nudge__text { margin: 0; font-size: 14px; line-height: 1.45; color: var(--ls-color-text-secondary); max-width: 340px; }
.al-nudge__open {
    box-sizing: border-box; width: 100%; min-height: 48px; margin-top: 4px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--ls-color-primary-dark); color: var(--ls-color-text-inverse) !important;
    font-size: 16px; font-weight: 600; text-decoration: none !important;
}
.al-nudge__web {
    width: 100%; min-height: 44px; border: 0; background: none; cursor: pointer;
    font-size: 15px; font-weight: 500; color: var(--ls-color-text-secondary);
}

/* ==========================================================================
   B · À côté des avis, sous la recherche
   ========================================================================== */
.al-hero-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; }
.al-hero { display: flex; align-items: center; gap: 12px; padding-left: 20px; border-left: 1px solid var(--ls-color-border); min-height: 48px; }
.al-hero__label { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; margin-right: 2px; }
.al-hero__label > span:last-child { font-size: 13px; font-weight: 600; white-space: nowrap; color: var(--ls-color-text); }
.al-hero .al-badges { flex-wrap: nowrap; }
@media (max-width: 575px) {
    .al-hero { padding-left: 0; border-left: 0; flex-wrap: wrap; }
}

/* ==========================================================================
   C · Section dédiée (visiteur)
   ========================================================================== */
.al-section {
    position: relative; overflow: hidden; box-sizing: border-box;
    min-height: 480px; padding: 0 88px 0 64px; border-radius: 24px;
    background: var(--ls-color-bg-muted); border: 1px solid var(--ls-color-bg-subtle);
    display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.al-section__body { max-width: 600px; padding: 56px 0; display: flex; flex-direction: column; gap: 20px; }
.al-section__head { display: flex; flex-direction: column; gap: 8px; }
.al-section__title { margin: 0; font-size: 28px; line-height: 1.25; font-weight: 600; color: var(--ls-color-text); }
.al-section__get { display: flex; align-items: center; gap: 16px; margin-top: 4px; }
.al-section__stores { display: flex; flex-direction: column; gap: 10px; }
.al-phone--section {
    width: 290px; height: 420px; align-self: flex-end; padding: 28px 18px 0; gap: 16px; border-radius: 44px 44px 0 0;
}
.al-phone--section .al-phone__title { font-size: 22px; }
.al-phone--section .al-phone__tabs { gap: 18px; font-size: 13px; }
.al-phone--section .al-phone__row img { width: 48px; height: 48px; }
.al-phone--section .al-phone__item span:first-child { font-size: 14px; }
.al-phone--section .al-phone__item span + span { font-size: 12px; }
@media (max-width: 991px) {
    .al-section { padding: 0 40px; }
    .al-phone--section { display: none; }
}
@media (max-width: 767px) {
    .al-section { padding: 0 20px; border-radius: 18px; min-height: 0; }
    .al-section__body { padding: 32px 0; }
    .al-section__title { font-size: 22px; }
    .al-section__get .al-qr { display: none; }
}

/* ==========================================================================
   C · Bloc compact (connecté)
   ========================================================================== */
.al-block {
    position: relative; overflow: hidden; box-sizing: border-box;
    min-height: 236px; padding: 0 56px; border-radius: 20px;
    background: var(--ls-color-bg-muted); border: 1px solid var(--ls-color-bg-subtle);
    display: flex; align-items: center; gap: 40px;
}
.al-phone--block { width: 250px; height: 208px; align-self: flex-end; padding: 22px 16px 0; gap: 12px; border-width: 7px; border-radius: 38px 38px 0 0; }
.al-phone--block .al-phone__title { font-size: 19px; }
.al-phone--block .al-phone__tabs { font-size: 11px; gap: 12px; }
.al-phone--block .al-phone__tabs span { padding-bottom: 7px; }
.al-phone--block .al-phone__row img { width: 44px; height: 44px; }
.al-block__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: 32px 0; }
.al-block__body p { margin: 0; }
.al-block__title { font-size: 22px; line-height: 1.25; font-weight: 600; color: var(--ls-color-text); }
.al-block__text { margin-top: 2px !important; max-width: 460px; font-size: 15px; line-height: 1.5; color: var(--ls-color-text-secondary); }
@media (max-width: 991px) {
    .al-block { padding: 0 32px; gap: 28px; }
    .al-phone--block { display: none; }
}
@media (max-width: 767px) {
    .al-block { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 20px; }
    .al-block__body { padding: 0; }
    .al-block .al-badges--column { flex-direction: row; flex-wrap: wrap; }
}

/* ==========================================================================
   Lancement · Fenêtre à la connexion
   ========================================================================== */
.al-modal {
    width: 860px; max-width: calc(100vw - 48px); padding: 0; border: 0;
    background: transparent; color: var(--ls-color-text); overflow: visible;
}
.al-modal::backdrop { background: color-mix(in srgb, var(--ls-color-shadow) 55%, transparent); }
.al-modal__card {
    position: relative; display: flex; min-height: 540px; overflow: hidden; border-radius: 16px;
    background: var(--ls-color-bg);
    box-shadow: 0 30px 80px color-mix(in srgb, var(--ls-color-shadow) 35%, transparent);
}
.al-modal__main { flex: 1; min-width: 0; padding: 44px 44px 36px; display: flex; flex-direction: column; gap: 18px; }
.al-modal__head { display: flex; flex-direction: column; gap: 8px; }
.al-modal__title { margin: 0; font-size: 28px; line-height: 1.2; font-weight: 600; color: var(--ls-color-text); }
.al-modal__lead { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ls-color-text-secondary); }
.al-modal .al-features { gap: 12px; }
.al-modal .al-feature { gap: 12px; }
.al-modal .al-feature__icon { width: 40px; height: 40px; }
.al-modal .al-feature b + span { font-size: 13px; margin-top: 1px; }
.al-modal__get { margin-top: auto; display: flex; align-items: center; gap: 16px; }
.al-modal__get.al-desktop-only { display: flex; }
.al-modal__stores { display: flex; flex-direction: column; gap: 10px; }
.al-modal__scan { margin: 0; font-size: 14px; font-weight: 600; }
.al-modal__aside { width: 340px; flex: none; background: var(--ls-color-bg-muted); display: flex; justify-content: center; align-items: flex-end; }
.al-modal__aside.al-desktop-only { display: flex; }
.al-phone--modal { height: 440px; }
.al-modal__close {
    position: absolute; right: 8px; top: 8px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 8px;
    background: none; color: var(--ls-color-text); cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
}
.al-modal__close:hover { background: var(--ls-color-bg-subtle); }
/* Œuf de Pâques : presque invisible tant qu'on ne le cherche pas. */
.al-modal__more {
    position: absolute; left: 44px; bottom: 10px; padding: 4px 0; border: 0; background: none;
    font: inherit; font-size: 12px; font-weight: 500; color: var(--ls-color-text-secondary);
    opacity: .7; cursor: pointer; transition: opacity .2s;
}
.al-modal__more:hover, .al-modal__more:focus-visible { opacity: 1; text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .al-modal__more { display: none; } }
.al-modal__close:focus-visible, .al-modal__continue:focus-visible, .al-modal__cta:focus-visible { outline: 2px solid var(--ls-color-border-focus); outline-offset: 2px; }

/* Pluie de confettis, dessinée par app-launch.js sur tout l'écran. */
.al-confetti-rain { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 3; }

/* --- Entrée « grand moment » ---------------------------------------------
   app-launch.js pose `is-entering` à l'ouverture et `is-leaving` à la
   fermeture. Le site s'efface en blanc, la carte arrive avec un léger rebond
   sur un halo rose, son contenu apparaît élément par élément, l'écran de
   l'app monte par le bas, puis les canons à confettis partent. `Canvas` est
   la couleur de fond du système : un ::backdrop ne lit pas toujours les
   variables de la page. */
.al-modal.is-entering::backdrop {
    background: var(--ls-color-bg, Canvas);
    animation: al-whiteout .55s ease-out both;
}
@keyframes al-whiteout { from { opacity: 0; } to { opacity: 1; } }

.al-modal::before {
    content: ''; position: absolute; z-index: -1; pointer-events: none;
    left: 50%; top: 50%; width: 150%; height: 190%;
    transform: translate(-50%, -50%);
    background: radial-gradient(closest-side, color-mix(in srgb, var(--ls-color-primary) 22%, transparent), color-mix(in srgb, var(--ls-color-primary) 8%, transparent) 55%, transparent);
    opacity: 0;
}
.al-modal.is-entering::before { animation: al-halo 1.4s ease-out .15s both; }
@keyframes al-halo {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(.6); }
    60% { opacity: 1; }
    100% { opacity: .85; transform: translate(-50%, -50%) scale(1); }
}

.al-modal.is-entering .al-modal__card {
    animation: al-pop .75s cubic-bezier(.18, 1.35, .35, 1) .15s both;
    box-shadow: 0 40px 120px color-mix(in srgb, var(--ls-color-shadow) 22%, transparent), 0 0 0 1px var(--ls-color-border);
}
@keyframes al-pop {
    from { opacity: 0; transform: translateY(40px) scale(.82); }
    to { opacity: 1; transform: none; }
}

.al-modal.is-entering :is(.al-modal__head > *, .al-feature, .al-modal__get, .al-modal__actions, .al-modal__icon) {
    animation: al-rise .5s cubic-bezier(.2, .8, .3, 1) both;
}
@keyframes al-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.al-modal.is-entering .al-modal__icon { animation-name: al-icon; animation-duration: .7s; animation-delay: .35s; }
@keyframes al-icon {
    0% { opacity: 0; transform: scale(.4) rotate(-12deg); }
    70% { opacity: 1; transform: scale(1.08) rotate(3deg); }
    100% { opacity: 1; transform: none; }
}
.al-modal.is-entering .al-modal__head > *:nth-child(1) { animation-delay: .45s; }
.al-modal.is-entering .al-modal__head > *:nth-child(2) { animation-delay: .5s; }
.al-modal.is-entering .al-modal__head > *:nth-child(3) { animation-delay: .58s; }
.al-modal.is-entering .al-modal__head > *:nth-child(4) { animation-delay: .66s; }
.al-modal.is-entering .al-feature:nth-child(1) { animation-delay: .74s; }
.al-modal.is-entering .al-feature:nth-child(2) { animation-delay: .82s; }
.al-modal.is-entering .al-feature:nth-child(3) { animation-delay: .9s; }
.al-modal.is-entering :is(.al-modal__get, .al-modal__actions) { animation-delay: 1s; }
/* « Lancer plus de confettis » arrive en dernier, une fois la fenêtre posée.
   Seulement `backwards` : à la fin, l'opacité revient à celle déclarée (.7). */
.al-modal.is-entering .al-modal__more { animation: al-more-in .6s ease-out 1.6s backwards; }
@keyframes al-more-in { from { opacity: 0; transform: translateY(6px); } }

.al-modal.is-entering .al-phone--modal { animation: al-phone-up .9s cubic-bezier(.2, 1.1, .3, 1) .55s both; }
@keyframes al-phone-up { from { opacity: 0; transform: translateY(120px); } to { opacity: 1; transform: none; } }

.al-modal.is-leaving .al-modal__card { animation: al-leave .22s ease-in both; }
.al-modal.is-shaking .al-modal__card { animation: al-shake .45s cubic-bezier(.36,.07,.19,.97) both; }
@keyframes al-shake {
    10%, 90% { transform: translate3d(-2px, 0, 0) rotate(-.3deg); }
    20%, 80% { transform: translate3d(4px, 0, 0) rotate(.4deg); }
    30%, 50%, 70% { transform: translate3d(-7px, 2px, 0) rotate(-.6deg); }
    40%, 60% { transform: translate3d(7px, -2px, 0) rotate(.6deg); }
}
.al-modal.is-leaving::before { opacity: 0; animation: none; }
.al-modal.is-leaving::backdrop { animation: al-whiteout .22s ease-in reverse both; }
@keyframes al-leave { to { opacity: 0; transform: translateY(16px) scale(.96); } }

@media (prefers-reduced-motion: reduce) {
    .al-modal.is-entering::backdrop, .al-modal.is-entering::before, .al-modal.is-entering *,
    .al-modal.is-entering .al-modal__card, .al-modal.is-leaving .al-modal__card { animation-duration: 1ms !important; animation-delay: 0s !important; }
}

/* Téléphone : plein écran. */
@media (max-width: 767px) {
    .al-modal { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; inset: 0; }
    .al-modal__card { min-height: 100%; height: 100%; border-radius: 0; box-shadow: none; }
    .al-modal__main { padding: 64px 24px max(24px, env(safe-area-inset-bottom)); gap: 0; overflow-y: auto; }
    .al-modal__more { position: static; align-self: center; margin-top: 12px; }
    .al-modal__icon { align-self: center; width: 88px; height: 88px; border-radius: 20px; margin-top: 16px; box-shadow: 0 12px 28px color-mix(in srgb, var(--ls-color-primary) 28%, transparent); }
    .al-modal__head { align-items: center; text-align: center; gap: 18px; margin-top: 24px; }
    .al-modal__newtag { display: flex; }
    .al-modal__title { font-size: 26px; }
    .al-modal__lead { font-size: 16px; }
    .al-modal .al-features { gap: 18px; margin-top: 40px; }
    .al-modal .al-feature { gap: 14px; }
    .al-modal .al-feature__icon { width: 44px; height: 44px; }
    .al-modal .al-feature b { font-size: 15px; }
    .al-modal .al-feature b + span { font-size: 14px; line-height: 1.35; }
    .al-modal__actions { margin-top: auto; padding-top: 32px; display: flex; flex-direction: column; gap: 6px; }
    .al-modal__cta {
        height: 54px; display: flex; align-items: center; justify-content: center; border-radius: 8px;
        background: var(--ls-color-primary-dark); color: var(--ls-color-text-inverse) !important;
        font-size: 16px; font-weight: 600; text-decoration: none !important;
    }
    .al-modal__free { margin: 6px 0 0; font-size: 13px; color: var(--ls-color-text-secondary); text-align: center; }
    .al-modal__continue {
        height: 48px; border: 0; background: none; cursor: pointer;
        font-size: 15px; font-weight: 600; color: var(--ls-color-text);
    }
    .al-modal__close { right: 12px; top: 12px; }
    .al-modal::before { display: none; }
    @keyframes al-pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
}
