/* ============================================================
   Copie de prototype de main-landing@2efdee9 : la COQUILLE commune
   (header, méga-menu, menu mobile, pied de page, page « à venir »).
   Le balisage est rendu par js/lp-coquille.js ; les mesures reprennent
   Header.svelte, HeaderMainBar.svelte, HeaderMainLinks.svelte,
   Footer.svelte et FullClouds.svelte. Les `rem` sont ceux de la source :
   la racine de lp-base.css les fait rendre comme en prod.

   Écart assumé entre 1025 et 1200 px. La racine y vaut 16 px et la barre
   de la prod ne tient plus : « Expert-comptable ? Par ici » recouvre
   « Ressources » (capture de référence à 1200), et le méga-menu d'Aides
   publiques (49rem = 784 px) est rogné par son max-width de 60vw. D'où
   trois étages :
     ≥ 1201 px      la barre de la prod, à l'identique ;
     1170-1200 px   la même, sans le lien « … ? Par ici » (l'onglet du
                    dessus y mène déjà ; côté expert-comptable, dont la
                    barre est plus courte, il revient dès 1185 px),
                    méga-menu autorisé à 80vw : plus rien ne se chevauche ;
     ≤ 1169 px      le menu burger (1024 px en prod).
   Dans les trois, le cercle du sélecteur d'application se glisse entre
   le logo et les liens, dans l'écart que la prod leur laissait.
   ============================================================ */

/* ---------- Lien d'évitement (absent de la prod) ---------- */
.lp-evitement {
    position: absolute; top: 8px; left: 8px;
    z-index: 3;
    padding: 10px 16px;
    border-radius: 2rem;
    background: var(--lp-blue); color: var(--lp-white);
    font: 700 15px/1.2 var(--lp-font-display);
    text-decoration: none;
    transform: translateY(calc(-100% - 16px));
}
.lp-evitement:focus-visible { transform: none; outline: 2px solid var(--lp-ink); outline-offset: 2px; }

/* ============================================================
   HEADER (fixe, deux étages : onglets puis pilule)
   ============================================================ */
.lp-hd {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: var(--lp-z-entete);
    display: flex;
    flex-direction: column;
    padding: 0 4.5rem;
}
@media (max-width: 1200px) { .lp-hd { padding: 0 2rem; } }
@media (max-width: 768px) { .lp-hd { padding: 0 1rem; } }
/* Transitions posées au premier rAF seulement (comme la prod) : une page
   rechargée au milieu ne rejoue pas la rétractation. */
.lp-hd.is-anime { transition: top .3s ease; }
.lp-hd.is-court { padding: 0; }

/* ---------- Étage 1 : onglets Entreprise / Expert-comptable + Se connecter ---------- */
.lp-hd-onglets {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.5rem 1rem .5rem;
    max-height: 4.5rem;
    opacity: 1;
    overflow: hidden;
}
.lp-hd.is-anime .lp-hd-onglets { transition: max-height .3s ease, opacity .3s ease; }
.lp-hd.is-court .lp-hd-onglets { max-height: 0; opacity: 0; padding: 0; }
/* Rétracté, un onglet atteint au clavier fait réapparaître l'étage :
   sinon le focus tomberait sur un lien invisible. */
.lp-hd.is-court .lp-hd-onglets:focus-within { max-height: 4.5rem; opacity: 1; padding: 1.5rem 1rem .5rem; }
.lp-hd-onglets-g { display: flex; align-items: center; gap: 2rem; }
@media (max-width: 1200px) { .lp-hd-onglets-g { gap: 1.5rem; } }
.lp-hd-onglets-d { display: flex; align-items: center; }

.lp-hd-onglet,
.lp-hd-connexion {
    position: relative;
    color: var(--lp-ink);
    font-family: var(--lp-font-display);
    font-weight: 700;
    font-size: .9375rem;
    line-height: 1.5rem;
    text-decoration: none;
    text-underline-offset: 5px;
}
.lp-hd-onglet { transition: opacity .2s ease, color .2s ease; }
.lp-hd-onglet:hover { opacity: .9; text-decoration: underline; }
.lp-hd-onglet.is-actif { text-decoration: underline; }
.lp-hd-connexion { transition: opacity .2s ease; }
.lp-hd-connexion:hover { opacity: .8; }
@media (max-width: 1200px) { .lp-hd-connexion { display: none; } }
/* Cible tactile : 44 px de haut sans bouger la ligne (texte 24 px) */
.lp-hd-onglet::after, .lp-hd-connexion::after { content: ''; position: absolute; inset: -10px -6px; }

/* Variante « hero » (accueil entreprise) : les onglets se posent sur la
   photo, en blanc ombré. « Se connecter » reste à l'encre, comme en prod. */
body[data-lp-variante="hero"] .lp-hd-onglets-g .lp-hd-onglet {
    color: var(--lp-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, .5);
}
body[data-lp-variante="hero"] .lp-hd-onglets-g .lp-hd-onglet:focus-visible { outline-color: var(--lp-white); }

/* ---------- Étage 2 : la pilule ---------- */
.lp-hd-pilule {
    padding: 0 1rem;
    border: 2px solid var(--lp-white);
    border-radius: 62.5rem;
    background: var(--lp-blue-pale);
    box-shadow: 4px 4px 6px 0 rgba(0, 0, 0, .10);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.lp-hd.is-anime .lp-hd-pilule { transition: border-radius .3s ease; }
.lp-hd.is-court .lp-hd-pilule { border-radius: 0; border: none; }

.lp-hd-barre {
    position: relative;
    z-index: 1;
    display: flex; align-items: center; justify-content: space-between;
    width: 100%;
    height: 56px;
}
@media (max-width: 1024px) { .lp-hd-barre { height: 50px; } }

/* Le bloc du logo : le logo et, dix pixels à sa droite (un de plus que le
   débord de 44 px du cercle, qui ne lui vole donc rien), le cercle du
   sélecteur d'application. Il passe AU-DESSUS du reste de la barre (les
   liens sont à 1) : le contenu, positionné, démarre au bord du cercle et
   lui mangeait neuf pixels de cible (mesuré : 35 px au lieu de 44). Le
   panneau du menu mobile (150) le recouvre toujours. */
.lp-hd-marque { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.lp-hd-logo { display: flex; flex-shrink: 0; align-self: center; border-radius: 6px; }
.lp-hd-logo img { display: block; width: 73px; height: 36px; }

.lp-hd-contenu {
    position: relative;
    display: flex; align-items: center; justify-content: flex-end;
    width: 100%;
    min-width: 0;
}

/* ---------- Liens de premier niveau ----------
   Le décalage se lit depuis la fin du bloc du logo : 80 px après le logo
   en prod, soit 44 après le cercle qui s'y est glissé. Les liens restent
   au pixel où la prod les pose. */
.lp-nav {
    position: absolute;
    top: 0; left: 44px;
    height: 100%;
    z-index: 1;
}
.lp-nav-liste {
    display: flex; align-items: center; gap: 1.25rem;
    height: 100%;
    margin: 0; padding: 0;
    list-style: none;
}
.lp-nav-item {
    position: relative;
    display: flex; align-items: center;
    color: var(--lp-ink);
    font-size: .95rem;
    font-weight: 500;
}
.lp-nav-lien {
    display: flex; align-items: center;
    padding: 0;
    color: var(--lp-ink);
    font: inherit;
    line-height: 1.15;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}
.lp-nav-lien:hover { color: var(--lp-ink); }
/* Chevron (Icon down-small 1.2rem) : un bouton à part, qui ouvre le
   méga-menu au clavier ; le libellé reste un lien vers la page hub. */
.lp-nav-bascule,
.lp-nav-chevron {
    position: relative;
    display: block;
    margin-left: .25rem;
    padding: 0 0 .2rem;
    color: inherit;
    font-size: 1.2rem;
    line-height: 1.15;
    transition: transform .2s ease;
}
.lp-nav-bascule::after { content: ''; position: absolute; inset: -12px -6px -12px -4px; }
/* components.css donne 44 px de haut à tout <button> sous le doigt : ici la
   cible passe par le ::after, la barre garde la géométrie de la prod */
.lp-nav-bascule, .lp-nav-lien--bascule { min-height: 0; }
.lp-nav-bascule svg, .lp-nav-chevron svg { display: inline-block; width: 1em; height: 1em; vertical-align: middle; }
.lp-nav-item:hover > .lp-nav-bascule,
.lp-nav-item:hover > .lp-nav-lien > .lp-nav-chevron,
.lp-nav-item.is-ouvert > .lp-nav-bascule,
.lp-nav-item.is-ouvert > .lp-nav-lien > .lp-nav-chevron { transform: rotate(180deg); }

/* Trait orange (.orange-underline-child) : 0 → 100 % au survol, fixe sur
   la section courante ; derrière le texte, desktop seulement */
.lp-nav-trait {
    position: absolute;
    top: 1.14em; left: 0;
    z-index: -1;
    width: 0;
    height: .4rem;
    background: var(--lp-orange);
    visibility: hidden;
    transition: .5s ease;
    pointer-events: none;
}
@media (min-width: 1201px) {
    .lp-nav-item:hover > .lp-nav-trait,
    .lp-nav-item.is-ouvert > .lp-nav-trait,
    .lp-nav-item.is-actif > .lp-nav-trait { visibility: visible; width: 100%; }
}

/* ---------- Méga-menu en cascade ---------- */
.lp-mm {
    position: absolute;
    top: 1.2rem; left: -1rem;
    padding-top: 1.8rem;               /* pont de survol entre le lien et le panneau */
    max-width: 60vw;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    cursor: default;
    z-index: -1;
}
@media (min-width: 1170px) {
    .lp-nav-item:hover > .lp-mm,
    .lp-nav-item.is-ouvert > .lp-mm,
    .lp-mm:focus-within { visibility: visible; opacity: 1; pointer-events: auto; z-index: 1; }
}
/* Barre compacte (voir l'en-tête du fichier) */
@media (min-width: 1170px) and (max-width: 1200px) {
    /* Côté expert-comptable, la barre n'a que quatre entrées : « Entreprise ?
       Par ici » y tient encore (la prod l'affiche sans chevauchement), avec
       au moins 24 px d'écart dès 1185 px ; en deçà il s'efface aussi. */
    .lp-hd:not(.lp-hd--ec) .lp-hd-bascule-public { display: none; }
    .lp-mm { max-width: 80vw; }
}
@media (min-width: 1170px) and (max-width: 1184px) {
    .lp-hd--ec .lp-hd-bascule-public { display: none; }
}
.lp-mm-panneau {
    display: flex; flex-direction: column;
    max-height: 70vh;
    padding: 1rem;
    border: 1px solid var(--lp-blue-pale);
    border-radius: 10px;
    background: var(--lp-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .12);
    overscroll-behavior: contain;
}
.lp-mm-colonnes {
    display: flex; gap: .5rem;
    max-height: calc(70vh - 4rem);
    overflow: hidden;
}
.lp-mm-col {
    flex-shrink: 0;
    width: 14rem;
    margin: 0; padding: 0;
    list-style: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--lp-ink) var(--lp-blue-pale);
}
.lp-mm-col::-webkit-scrollbar { width: 6px; }
.lp-mm-col::-webkit-scrollbar-track { background: var(--lp-blue-pale); border-radius: 3px; }
.lp-mm-col::-webkit-scrollbar-thumb { background: var(--lp-ink); border-radius: 3px; }

.lp-mm-el {
    display: flex; flex-direction: column; align-items: center; gap: .25rem;
    width: 100%;
    padding: .6rem .75rem;
    border: 0;
    background: none;
    color: var(--lp-ink);
    font: inherit;
    font-weight: 500;
    line-height: 1.15;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}
.lp-mm-el:focus-visible { outline-offset: -2px; }
.lp-mm-lib {
    display: flex; justify-content: space-between; gap: .5rem;
    width: 100%;
    color: var(--lp-ink);
    font-size: .9rem;
    font-weight: 500;
}
.lp-mm-lib svg { flex-shrink: 0; width: 1em; height: 1em; margin-left: auto; opacity: 0; transition: opacity .15s; }
.lp-mm-desc { width: 100%; color: var(--lp-card-border); font-size: .8rem; line-height: 1.4; }

/* Colonnes « à choisir » (toutes sauf la dernière) */
.lp-mm-col--choix:not(:first-child) { padding-left: .5rem; border-left: 1px solid var(--lp-blue-pale); }
.lp-mm-col--choix li { border-radius: 6px; transition: background .15s; }
.lp-mm-col--choix li:hover,
.lp-mm-col--choix li.is-choisi { background: var(--lp-blue-pale); }
.lp-mm-col--choix li.is-choisi .lp-mm-lib svg { opacity: 1; }
.lp-mm-col--choix .lp-mm-el { padding: 1.25rem .75rem; border-radius: 6px; }

/* Dernière colonne : libellé + description, liseré qui bleuit au survol */
.lp-mm-col--fin { width: 18rem; }
.lp-mm-col--fin li:not(:last-child) { margin-bottom: .5rem; }
.lp-mm-col--fin .lp-mm-el { border-left: 3px solid var(--lp-blue-pale); transition: border-color .15s; }
.lp-mm-col--fin .lp-mm-el:hover,
.lp-mm-col--fin .lp-mm-el:focus-visible { border-color: var(--lp-blue); }

/* Sous-liste en accordéon : seulement dans le menu mobile, pour une
   entrée sans page hub (« Solutions MAPi » côté expert-comptable) */
.lp-nav-sous { display: none; }

/* ---------- CTA de droite ---------- */
.lp-hd-cta { position: relative; display: flex; align-items: center; gap: 1.5rem; }

/* ---------- Le panneau du sélecteur d'application ----------
   components.css l'écrit en rem sur une racine de 18 px : la racine de la
   landing (12,32 px à 1440) le rapetisserait. On fige ses tailles, en px,
   comme celles du reste du prototype. Le cercle, lui, est déjà en px. */
body.lp .plt-pop { line-height: 1.6; }
body.lp .plt-pop .plt-pop-h { font-size: 11.25px; }
body.lp .plt-pop .plt-it .plt-tx b { font-size: 15.1875px; }
body.lp .plt-pop .plt-it .plt-tx span { font-size: 12.9375px; }

/* ---------- Burger et croix (mobile) ---------- */
.lp-hd-burger,
.lp-hd-fermer {
    display: none;
    flex: none;
    width: 40px; height: 40px;
    padding: 0;
    color: var(--lp-ink);
    font-size: 1.4rem;
    line-height: 1;
}
.lp-hd-burger svg, .lp-hd-fermer svg { display: block; width: 1em; height: 1em; margin: auto; }
.lp-hd-burger { position: relative; right: 7px; }
.lp-hd-burger::after, .lp-hd-fermer::after { content: ''; position: absolute; inset: -2px; }

/* ============================================================
   MENU MOBILE (≤ 1169 px, voir l'écart en tête de fichier)
   Le contenu du header devient un panneau plein écran qui glisse de la
   droite. La pilule perd son backdrop-filter : il ferait d'elle le bloc
   conteneur du panneau `fixed`, qui resterait coincé dans la barre.
   ============================================================ */
@media (max-width: 1169px) {
    .lp-hd-pilule { position: static; backdrop-filter: none; -webkit-backdrop-filter: none; }
    .lp-hd-contenu {
        position: fixed;
        inset: 0;
        z-index: var(--lp-z-menu);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        padding: 60px 20px 20px;
        background: var(--lp-white);
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transform: translateX(100%);
        transition: opacity .3s ease-in-out, transform .3s ease-in-out, visibility 0s linear .3s;
    }
    .lp-hd-contenu.is-ouvert {
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: opacity .3s ease-in-out, transform .3s ease-in-out, visibility 0s;
    }
    .lp-nav {
        position: relative;
        top: auto; left: auto;
        flex: 1;
        width: 100%;
        height: auto;
        min-height: 0;
        padding: 10px 0;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .lp-nav::-webkit-scrollbar { display: none; }
    .lp-nav-liste { flex-direction: column; align-items: stretch; gap: 0; height: auto; }
    .lp-nav-item {
        flex-wrap: wrap;
        flex-shrink: 0;
        width: 100%;
        min-height: 44px;
        padding: .75rem 0;
        border-bottom: 1px solid var(--lp-blue-pale);
        font-weight: 700;
    }
    .lp-nav-item:last-child { border-bottom: none; }
    .lp-nav-lien { flex: 1; font-weight: 700; }
    .lp-nav-bascule, .lp-nav-trait, .lp-mm { display: none; }
    /* L'entrée sans page hub garde son chevron et déplie ses liens sur place */
    .lp-nav-lien--bascule { justify-content: space-between; text-align: left; }
    .lp-nav-item.is-ouvert > .lp-nav-sous {
        display: block;
        flex-basis: 100%;
        margin: .5rem 0 0; padding: 0 0 0 1rem;
        list-style: none;
    }
    .lp-nav-sous a {
        display: flex; align-items: center;
        min-height: 44px;
        color: var(--lp-ink);
        font-size: .9rem;
        font-weight: 500;
        text-decoration: none;
    }
    .lp-hd-fermer { display: block; position: absolute; top: 15px; right: 15px; z-index: 2; }
    .lp-hd-cta {
        flex-direction: column;
        flex-shrink: 0;
        width: 100%;
        gap: 1rem;
        padding-bottom: 20px;
    }
    .lp-hd-bascule-public { display: none; }
    .lp-hd-burger { display: block; }
}

/* ============================================================
   PIED DE PAGE (Footer.svelte) : plage en fond, pont de nuages en
   haut, carte de verre calée à droite, bandeau bleu « spray »
   ============================================================ */
.lp-pied {
    position: relative;
    padding: 16rem 4.5rem 2.5rem;
    font-family: var(--lp-font-display);
}
@media (max-width: 768px) { .lp-pied { padding: 4rem 1rem 2rem; } }

.lp-pied-fond { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.lp-pied-fond img { display: block; width: 100%; height: 105%; object-fit: cover; object-position: bottom; }
@media (max-width: 768px) { .lp-pied-fond { display: none; } }

.lp-pied-contenu {
    position: relative;
    display: flex; flex-direction: column; align-items: flex-end; gap: 24px;
    margin: 0 auto;
}
@media (max-width: 1200px) { .lp-pied-contenu { padding: 2rem 1rem; align-items: stretch; } }
@media (max-width: 768px) { .lp-pied-contenu { padding: 0; gap: 0; } }

.lp-pied-carte {
    display: flex; flex-direction: column; gap: 32px;
    width: 675px;
    padding: 32px;
    border: 2px solid var(--lp-white);
    border-radius: 24px;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 4px 4px 6px 0 rgba(0, 0, 0, .1);
}
@media (max-width: 1200px) { .lp-pied-carte { width: 100%; } }
@media (max-width: 768px) {
    .lp-pied-carte {
        gap: 24px;
        padding: 24px 16px;
        border: none;
        border-radius: 0;
        background: var(--lp-white);
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}

.lp-pied-marque { display: flex; align-items: center; gap: 8px; }
/* Le logo est posé en ligne, sur la ligne de base d'un bloc en Mukta Mahee,
   comme le <svg> de la prod : la ligne ajoute sa descente sous les 36 px */
.lp-pied-logo { display: block; font-family: var(--lp-font-body); }
.lp-pied-logo img { display: inline; width: auto; height: 36px; vertical-align: baseline; }
.lp-pied-signature { width: 245px; color: var(--lp-ink); font-size: 14px; font-weight: 500; }
@media (max-width: 768px) { .lp-pied-signature { width: auto; } }

.lp-pied-bloc { display: flex; flex-direction: column; gap: 8px; }
.lp-pied .lp-pied-bloc h4 {
    margin: 0;
    color: var(--lp-blue);
    font-family: var(--lp-font-display);
    font-size: 20px;
    font-weight: 500;
}
.lp-pied .lp-pied-bloc p {
    margin: 0;
    color: var(--lp-ink);
    font-family: var(--lp-font-display);
    font-size: 16px;
    font-weight: 500;
    line-height: 18px;
}

.lp-pied-photo { display: none; }
@media (max-width: 768px) {
    .lp-pied-photo { display: block; width: 100%; margin: 16px 0; border-radius: 16px; overflow: hidden; }
    .lp-pied-photo img { display: block; width: 100%; height: auto; }
}

.lp-pied-liens { display: flex; flex-wrap: wrap; gap: 32px 48px; }
@media (max-width: 768px) { .lp-pied-liens { flex-direction: column; gap: 24px; } }
.lp-pied .lp-pied-col h5 {
    margin: 0 0 16px;
    color: var(--lp-blue);
    font-family: var(--lp-font-display);
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
    text-transform: capitalize;
}
@media (max-width: 768px) { .lp-pied .lp-pied-col h5 { margin: 0 0 12px; } }
.lp-pied-col ul { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 768px) { .lp-pied-col ul { gap: 8px; } }
.lp-pied-col a {
    color: var(--lp-ink);
    font-family: var(--lp-font-display);
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    text-decoration: none;
    transition: color .2s ease;
}
.lp-pied-col a:hover { color: var(--lp-blue); }

.lp-pied-bandeau {
    position: relative;
    display: flex; align-items: center; justify-content: space-between;
    width: 100%;
    padding: 2rem 3rem;
    font-weight: 500;
}
@media (max-width: 1200px) {
    .lp-pied-bandeau { flex-direction: column; gap: 1rem; padding: 12px 16px; text-align: center; }
}
@media (max-width: 768px) { .lp-pied-bandeau { justify-content: center; padding: 16px; } }
.lp-pied-spray { position: absolute; top: -.5rem; left: 0; z-index: 0; width: 100%; height: auto; pointer-events: none; }
@media (max-width: 768px) { .lp-pied-spray { display: none; } }
.lp-pied .lp-pied-bandeau p {
    position: relative; z-index: 1;
    margin: 0;
    color: var(--lp-white);
    font-family: var(--lp-font-display);
    font-size: 16px;
    line-height: 18px;
}
@media (max-width: 1200px) { .lp-pied .lp-pied-bandeau p { font-size: 14px; } }
@media (max-width: 768px) { .lp-pied .lp-pied-bandeau p { display: none; } }
.lp-pied-reseaux {
    position: relative; z-index: 1;
    display: flex; align-items: center; gap: 8px;
    color: var(--lp-white);
    font-size: 16px;
    white-space: nowrap;
}
/* La prod pose Museo sur le conteneur mais sa règle `* { Mukta Mahee }`
   reprend la main sur chaque enfant : les deux liens sont en Mukta */
.lp-pied-reseaux a, .lp-pied-reseaux span { font-family: var(--lp-font-body); }
.lp-pied-reseaux a { color: var(--lp-white); text-decoration: none; transition: opacity .2s ease; }
.lp-pied-reseaux a:hover { opacity: .8; }
.lp-pied-reseaux a:focus-visible { outline-color: var(--lp-white); }
@media (max-width: 1200px) { .lp-pied-reseaux { font-size: 14px; } }
@media (max-width: 768px) {
    .lp-pied-reseaux { color: var(--lp-ink); }
    .lp-pied-reseaux a { color: var(--lp-blue); }
    .lp-pied-reseaux a:focus-visible { outline-color: var(--lp-blue); }
}

/* Cibles tactiles des liens du pied (ajout, absent de la prod) : 16 px de
   haut pour un pas de 30 px entre deux lignes. Une zone transparente les
   porte à 30 px de haut sans rien décaler ; 44 px ferait chevaucher deux
   liens voisins, et 30 px de pas tiennent déjà la cible minimale de
   24 px (WCAG 2.5.8). Les deux liens des réseaux ont 20 px entre eux. */
@media (pointer: coarse) {
    .lp-pied-col a, .lp-pied-reseaux a { position: relative; }
    .lp-pied-col a::after, .lp-pied-reseaux a::after { content: ''; position: absolute; inset: -7px -4px; }
}

/* ============================================================
   PAGE « À VENIR » (landing/a-venir.html) : repli d'un lien dont la
   page n'est pas encore portée. Même registre que les pages internes :
   fond gris, en-tête centré, carte blanche à bord bleu et ombre dure.
   ============================================================ */
.lp-avenir {
    display: flex; flex-direction: column; align-items: center;
    padding-top: 4rem;
    padding-bottom: 16rem;           /* place du pont de nuages du pied */
    text-align: center;
}
.lp-avenir-carte {
    display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
    width: 100%;
    max-width: 640px;
    padding: 3rem 2.5rem 2.75rem;
    border: 2px solid var(--lp-blue);
    border-radius: 1.5rem;
    background: var(--lp-white);
    box-shadow: var(--lp-hard-blue);
}
.lp-avenir-surtitre {
    color: var(--lp-blue);
    font-family: var(--lp-font-display);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.lp-avenir h1 {
    margin: 0;
    color: var(--lp-ink);
    font-family: var(--lp-font-display);
    font-size: 2.5rem;
    font-weight: 700;
}
.lp-avenir-texte { max-width: 480px; color: var(--lp-text-2); font-size: 1.15rem; line-height: 1.5; }
.lp-avenir-chemin {
    display: inline-block;
    max-width: 100%;
    padding: .15rem .6rem;
    border-radius: 2rem;
    background: var(--lp-blue-pale);
    color: var(--lp-blue);
    font-family: var(--lp-font-display);
    font-size: .95em;
    font-weight: 700;
    overflow-wrap: anywhere;
}
/* Page ouverte sans ?de : le mot « demandée » reste du texte courant */
.lp-avenir-chemin.is-vide { display: inline; padding: 0; background: none; color: inherit; font: inherit; }
@media (max-width: 950px) { .lp-avenir h1 { font-size: 2.1rem; } }
@media (max-width: 600px) {
    .lp-avenir { padding-top: 2rem; padding-bottom: 6rem; }
    .lp-avenir-carte { padding: 2rem 1.25rem; }
    .lp-avenir h1 { font-size: 1.8rem; }
    .lp-avenir-texte { font-size: 1.05rem; }
}
