/* ============================================================
   auth.css — composants des ecrans de connexion et pages
   publiques (Home/Index, Password, Forgot, Contact, SsoPrompt,
   IndexDevelopment*).
   Charge via <partial name="_AuthStyles" />.

   Ne contient QUE des classes .lgs-* : chargeable sans risque sur
   une page rendue a l'interieur du layout applicatif (header +
   footer). Le passage en plein ecran est un opt-in separe :
   <partial name="_AuthFullscreen" />.
   ============================================================ */

.lgs-auth {
    --lgs-navy: var(--brand-title-1, #16213E);
    --lgs-gold: var(--brand-title-3, #dfae45);
    --lgs-ink: #1b1f2a;
    --lgs-muted: #6b7280;
    --lgs-line: #dfe3ea;

    display: flex;
    height: 100%;
    width: 100%;
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
}

/* ---------- Panneau gauche : photo (2/3) ---------- */
.lgs-auth__visual {
    position: relative;
    flex: 2 1 0%;
    min-width: 0;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background-color: var(--lgs-navy);
    background-image:
        linear-gradient(160deg, rgba(22,33,62,.72) 0%, rgba(22,33,62,.38) 45%, rgba(22,33,62,.85) 100%),
        var(--lgs-hero);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Halo dore discret en bas a gauche */
.lgs-auth__visual::after {
    content: "";
    position: absolute;
    left: -18%;
    bottom: -28%;
    width: 62%;
    padding-top: 62%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(223,174,69,.30) 0%, rgba(223,174,69,0) 68%);
    pointer-events: none;
}

.lgs-auth__visual-body {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 0 clamp(28px, 5vw, 72px) clamp(36px, 6vh, 72px);
    animation: lgs-rise .7s cubic-bezier(.22,.68,.32,1) both;
}

/* Logo pose directement sur la photo : prevoir une image sombre
   et peu chargee dans le quart bas-gauche, et un PNG a fond transparent. */
.lgs-auth__logo { max-width: min(100%, 440px); }

.lgs-auth__logo img {
    display: block;
    width: 100%;
    max-height: 104px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 6px 20px rgba(0,0,0,.45));
}

.lgs-auth__baseline {
    margin: 22px 0 0;
    max-width: 30ch;
    font-size: clamp(15px, 1.25vw, 18px);
    line-height: 1.55;
    color: rgba(255,255,255,.9);
    text-shadow: 0 1px 12px rgba(0,0,0,.35);
}

/* ---------- Billets du blog, en transparence sur la photo (Home/Index) ---------- */
.lgs-blog {
    position: absolute;
    z-index: 1;
    top: clamp(24px, 5vh, 56px);
    left: clamp(28px, 5vw, 72px);
    right: clamp(28px, 5vw, 72px);
    /* Laisse la place du logo et de l'accroche, poses en bas du visuel */
    bottom: 230px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: #fff;
    animation: lgs-rise .7s cubic-bezier(.22,.68,.32,1) .15s both;
}

.lgs-blog__list {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-y: auto;
    scrollbar-width: thin;
}

/* Chaque carte prend une part egale de la hauteur disponible */
.lgs-blog__list > li {
    flex: 1 1 0;
    min-height: 84px;
    max-height: 170px;
    display: flex;
}

.lgs-blog__item {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: stretch;
    gap: 18px;
    padding: 12px 16px;
    color: #fff;
    text-decoration: none;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: var(--lgs-radius, 5px);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    transition: background-color .18s ease, border-color .18s ease;
}

.lgs-blog__item:hover {
    color: #fff;
    background: rgba(255,255,255,.2);
    border-color: var(--lgs-gold);
}

.lgs-blog__thumb {
    flex: 0 0 auto;
    align-self: stretch;
    width: clamp(96px, 14vw, 200px);
    height: 100%;
    object-fit: cover;
    border-radius: var(--lgs-radius, 5px);
}

.lgs-blog__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-width: 0;
}

.lgs-blog__name {
    font-size: clamp(16px, 1.4vw, 22px);
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 0 1px 8px rgba(0,0,0,.3);
}

.lgs-blog__date {
    font-size: 12px;
    color: rgba(255,255,255,.75);
}

.lgs-blog__res {
    font-size: clamp(13px, 1vw, 15px);
    line-height: 1.45;
    color: rgba(255,255,255,.88);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lgs-blog__all {
    align-self: flex-start;
    font-size: 13px;
    color: rgba(255,255,255,.9);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    text-shadow: 0 1px 8px rgba(0,0,0,.35);
}

.lgs-blog__all:hover {
    color: var(--lgs-gold);
    border-bottom-color: var(--lgs-gold);
}

@media (prefers-reduced-motion: reduce) {
    .lgs-blog { animation: none; }
}

/* Mobile : ni billets du blog, ni lien "En savoir plus" */
@media (max-width: 991.98px) {
    .lgs-blog,
    .lgs-auth__more { display: none; }
}

/* ---------- Panneau droit : formulaire (1/3) ---------- */
.lgs-auth__panel {
    flex: 1 1 0%;
    min-width: 330px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px clamp(20px, 2.6vw, 44px);
    overflow-y: auto;
}

.lgs-auth__card {
    width: 100%;
    max-width: 380px;
    animation: lgs-rise .7s cubic-bezier(.22,.68,.32,1) .08s both;
}

.lgs-auth__title {
    margin: 0 0 28px;
    font-size: clamp(24px, 2.4vw, 30px);
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--lgs-navy);
}

.lgs-auth__title::after {
    content: "";
    display: block;
    width: 44px;
    height: 3px;
    margin-top: 12px;
    border-radius: 3px;
    background: var(--lgs-gold);
}

/* Bandeau environnement de developpement */
.lgs-badge-dev {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 18px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: #a32d2d;
    background: #fcebeb;
    border: 1px solid #f09595;
    border-radius: 999px;
}

/* ---------- Variante "dans l'application" (header + footer rendus) ----------
   Meme vocabulaire de composants, sans split screen : carte centree. */
.lgs-page {
    --lgs-navy: var(--brand-title-1, #16213E);
    --lgs-gold: var(--brand-title-3, #dfae45);
    --lgs-ink: #1b1f2a;
    --lgs-muted: #6b7280;
    --lgs-line: #dfe3ea;

    max-width: 620px;
    margin: 0 auto;
    padding: 8px 16px 48px;
    font-family: Arial, Helvetica, sans-serif;
}

.lgs-intro {
    margin: -12px 0 26px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--lgs-muted);
}

/* ---------- Champs ---------- */
.lgs-field { margin-bottom: 20px; }

.lgs-field__label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--lgs-ink);
}

.lgs-field__wrap { position: relative; }

.lgs-field__icon {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    font-size: 14px;
    color: #9aa2b1;
    pointer-events: none;
    transition: color .18s ease;
}

.lgs-field__input,
.lgs-field__select {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    font-size: 15px;
    color: var(--lgs-ink);
    background: #fbfcfd;
    border: 1px solid var(--lgs-line);
    border-radius: var(--lgs-radius, 5px);
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.lgs-field__input { padding-left: 44px; }

.lgs-field__input::placeholder { color: #a7aebc; }

.lgs-field__input:hover,
.lgs-field__select:hover { border-color: #c6ccd8; }

.lgs-field__input:focus,
.lgs-field__select:focus {
    background: #fff;
    border-color: var(--lgs-gold);
    box-shadow: 0 0 0 4px rgba(223,174,69,.18);
}

.lgs-field__textarea {
    width: 100%;
    min-height: 130px;
    padding: 13px 16px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--lgs-ink);
    background: #fbfcfd;
    border: 1px solid var(--lgs-line);
    border-radius: var(--lgs-radius, 5px);
    outline: none;
    resize: vertical;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.lgs-field__textarea::placeholder { color: #a7aebc; }

.lgs-field__textarea:hover { border-color: #c6ccd8; }

.lgs-field__textarea:focus {
    background: #fff;
    border-color: var(--lgs-gold);
    box-shadow: 0 0 0 4px rgba(223,174,69,.18);
}

.lgs-field__wrap:focus-within .lgs-field__icon { color: var(--lgs-gold); }

.lgs-field__error {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #c0392b;
}

/* Valeur en lecture seule (identifiant deja saisi) */
.lgs-readonly {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 50px;
    padding: 0 16px;
    font-size: 15px;
    font-weight: 700;
    color: var(--lgs-ink);
    background: #f4f6f9;
    border: 1px solid var(--lgs-line);
    border-radius: var(--lgs-radius, 5px);
}

.lgs-readonly i { color: #9aa2b1; }

/* ---------- Alerte serveur ---------- */
.lgs-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: -6px 0 20px;
    padding: 11px 14px;
    font-size: 14px;
    color: #8e2b21;
    background: #fdeceb;
    border: 1px solid #f6c8c3;
    border-radius: var(--lgs-radius, 5px);
}

.lgs-alert i { margin-top: 2px; }

/* ---------- Boutons ---------- */
.lgs-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 50px;
    margin-bottom: 18px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .03em;
    text-decoration: none;
    color: #fff;
    background: var(--lgs-navy);
    border: 0;
    border-radius: var(--lgs-radius, 5px);
    cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease;
}

.lgs-btn i { font-size: 13px; transition: transform .2s ease; }

.lgs-btn:hover {
    color: #fff;
    background: #1d2b52;
    box-shadow: 0 10px 24px rgba(22,33,62,.26);
    transform: translateY(-1px);
}

.lgs-btn:hover i { transform: translateX(3px); }

.lgs-btn:active { transform: translateY(0); box-shadow: none; }

.lgs-btn:focus-visible {
    outline: 3px solid rgba(223,174,69,.55);
    outline-offset: 2px;
}

.lgs-btn--ghost {
    color: var(--lgs-navy);
    background: transparent;
    border: 1px solid var(--lgs-line);
}

.lgs-btn--ghost:hover {
    color: var(--lgs-navy);
    background: #f4f6f9;
    border-color: #c6ccd8;
    box-shadow: none;
}

.lgs-btn--ghost:hover i { transform: translateX(-3px); }

.lgs-btn-row {
    display: flex;
    gap: 10px;
}

.lgs-btn-row .lgs-btn { flex: 1 1 0%; }

.lgs-btn-row .lgs-btn--ghost { flex: 0 0 auto; width: 56px; }

/* ---------- Liens ---------- */
.lgs-link {
    color: var(--lgs-navy);
    font-size: 14px;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color .15s ease, border-color .15s ease;
}

.lgs-link:hover {
    color: var(--lgs-gold);
    border-bottom-color: var(--lgs-gold);
}

.lgs-link--muted {
    display: inline-block;
    margin-bottom: 26px;
    color: var(--lgs-muted);
}

.lgs-auth__signup {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 22px;
    font-size: 14px;
    color: var(--lgs-muted);
    border-top: 1px solid var(--lgs-line);
}

/* Lien "En savoir plus" : force son propre passage a la ligne dans le
   conteneur flex .lgs-auth__signup. */
.lgs-auth__more {
    width: 100%;
    margin-top: 4px;
}

.lgs-auth__more i { margin-right: 5px; }

/* ---------- Entete entreprise (SSO) ---------- */
.lgs-org {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding: 14px 16px;
    background: #f7f9fc;
    border: 1px solid var(--lgs-line);
    border-radius: var(--lgs-radius, 5px);
}

.lgs-org img {
    max-height: 44px;
    max-width: 92px;
    object-fit: contain;
}

.lgs-org__name {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--lgs-ink);
}

.lgs-org__hint {
    margin: 2px 0 0;
    font-size: 12px;
    color: var(--lgs-muted);
}

/* ---------- Navigateurs compatibles (pages dev) ---------- */
.lgs-browsers {
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid var(--lgs-line);
}

.lgs-browsers__label {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--lgs-ink);
}

.lgs-browsers__list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.lgs-browsers__list img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    opacity: .75;
    transition: opacity .15s ease, transform .15s ease;
}

.lgs-browsers__list a:hover img { opacity: 1; transform: translateY(-2px); }

/* ---------- Animation ---------- */
@keyframes lgs-rise {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .lgs-auth__visual-body,
    .lgs-auth__card { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    html, body { overflow: auto; }

    .lgs-auth {
        flex-direction: column;
        height: auto;
        min-height: 100%;
    }

    .lgs-auth__visual {
        flex: 0 0 auto;
        min-height: 32vh;
    }

    .lgs-auth__visual-body { padding: 28px 24px 30px; }

    .lgs-auth__logo { max-width: min(100%, 320px); }

    .lgs-auth__logo img { max-height: 72px; }

    .lgs-auth__panel { min-width: 0; padding: 36px 24px 48px; overflow: visible; }
}

/* ============================================================
   Page de presentation publique (Home/Knowmore).
   Reprend les tokens de marque (--brand-title-1 / --brand-title-3)
   et le vocabulaire visuel des ecrans de connexion : meme navy,
   meme or, memes rayons, meme typographie.
   ============================================================ */

.lgs-mkt {
    --lgs-navy: var(--brand-title-1, #16213E);
    --lgs-gold: var(--brand-title-3, #dfae45);
    --lgs-ink: #1b1f2a;
    --lgs-muted: #6b7280;
    --lgs-line: #dfe3ea;

    max-width: none;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px) 64px;
    color: var(--lgs-ink);
    font-family: Arial, Helvetica, sans-serif;
}

/* ---------- Banniere ---------- */
.lgs-mkt__hero {
    position: relative;
    margin: 0 calc(-1 * clamp(20px, 4vw, 40px)) clamp(36px, 5vw, 56px);
    padding: clamp(40px, 6vw, 76px) clamp(24px, 5vw, 64px);
    overflow: hidden;
    background-color: var(--lgs-navy);
    background-image:
        linear-gradient(160deg, rgba(22,33,62,.72) 0%, rgba(22,33,62,.38) 45%, rgba(22,33,62,.85) 100%),
        var(--lgs-hero, none);
    background-size: cover;
    background-position: center;
}

.lgs-mkt__hero::after {
    content: "";
    position: absolute;
    left: -14%;
    bottom: -34%;
    width: 52%;
    padding-top: 52%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(223,174,69,.30) 0%, rgba(223,174,69,0) 68%);
    pointer-events: none;
}

.lgs-mkt__hero-body {
    position: relative;
    z-index: 1;
    animation: lgs-rise .7s cubic-bezier(.22,.68,.32,1) both;
}

.lgs-mkt__logo { max-width: min(100%, 300px); margin-bottom: 28px; }

.lgs-mkt__logo img {
    display: block;
    width: 100%;
    max-height: 76px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 6px 20px rgba(0,0,0,.45));
}

.lgs-mkt__title {
    margin: 0;
    font-size: clamp(28px, 3.6vw, 46px);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -.015em;
    color: #fff;
    text-shadow: 0 1px 14px rgba(0,0,0,.35);
}

.lgs-mkt__subtitle {
    margin: 20px 0 0;
    max-width: 46ch;
    font-size: clamp(15px, 1.35vw, 19px);
    line-height: 1.55;
    color: rgba(255,255,255,.9);
    text-shadow: 0 1px 12px rgba(0,0,0,.35);
}

/* ---------- Sections ---------- */
.lgs-mkt__section { margin-bottom: clamp(40px, 5vw, 64px); }

.lgs-mkt__h2 {
    margin: 0 0 18px;
    font-size: clamp(20px, 2vw, 27px);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.01em;
    color: var(--lgs-navy);
}

.lgs-mkt__h2::after {
    content: "";
    display: block;
    width: 44px;
    height: 3px;
    margin-top: 12px;
    border-radius: 3px;
    background: var(--lgs-gold);
}

.lgs-mkt__lead {
    margin: 0 0 26px;
    max-width: 62ch;
    font-size: 16px;
    line-height: 1.6;
    color: var(--lgs-muted);
}

/* ---------- Verbatims ---------- */
.lgs-mkt__quotes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lgs-mkt__quote {
    position: relative;
    padding: 16px 18px 16px 22px;
    font-size: 15px;
    line-height: 1.5;
    font-style: italic;
    color: var(--lgs-ink);
    background: #f7f9fc;
    border: 1px solid var(--lgs-line);
    border-left: 3px solid var(--lgs-gold);
    border-radius: var(--lgs-radius, 5px);
}

/* ---------- Cartes metier ---------- */
.lgs-mkt__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
    gap: 18px;
}

.lgs-mkt__card {
    padding: 24px 24px 20px;
    background: #fff;
    border: 1px solid var(--lgs-line);
    border-radius: var(--lgs-radius, 5px);
    transition: border-color .18s ease, box-shadow .2s ease, transform .15s ease;
}

.lgs-mkt__card:hover {
    border-color: #c6ccd8;
    box-shadow: 0 10px 28px rgba(22,33,62,.10);
    transform: translateY(-2px);
}

.lgs-mkt__role {
    display: inline-block;
    margin-bottom: 12px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--lgs-navy);
    background: rgba(223,174,69,.16);
    border-radius: 999px;
}

.lgs-mkt__card-title {
    margin: 0 0 16px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--lgs-navy);
}

.lgs-mkt__list {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    line-height: 1.6;
}

.lgs-mkt__list > li + li { margin-top: 14px; }

.lgs-mkt__list strong { color: var(--lgs-ink); }

.lgs-mkt__list ul {
    margin: 6px 0 0;
    padding-left: 18px;
    list-style: none;
    color: var(--lgs-muted);
}

.lgs-mkt__list ul li { position: relative; }

.lgs-mkt__list ul li::before {
    content: "";
    position: absolute;
    left: -14px;
    top: .62em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--lgs-gold);
}

/* ---------- Fonctionnalites ---------- */
.lgs-mkt__features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 10px 26px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 15px;
    line-height: 1.55;
}

.lgs-mkt__features li {
    position: relative;
    padding-left: 26px;
    color: var(--lgs-muted);
}

.lgs-mkt__features li::before {
    content: "\f00c";
    font-family: "FontAwesome", "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 12px;
    color: var(--lgs-gold);
}

.lgs-mkt__features strong { color: var(--lgs-ink); }

/* ---------- Appel a l'action ---------- */
.lgs-mkt__cta {
    margin-bottom: 36px;
    padding: clamp(26px, 3.4vw, 40px);
    text-align: center;
    background: #f7f9fc;
    border: 1px solid var(--lgs-line);
    border-radius: var(--lgs-radius, 5px);
}

.lgs-mkt__cta-text {
    margin: 0 0 22px;
    font-size: clamp(17px, 1.7vw, 21px);
    font-weight: 700;
    color: var(--lgs-navy);
}

.lgs-mkt__cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.lgs-mkt__cta-btn {
    width: auto;
    min-width: 240px;
    margin-bottom: 0;
    padding: 0 26px;
    text-decoration: none;
}

/* ---------- Pied de page ---------- */
.lgs-mkt__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 22px;
    border-top: 1px solid var(--lgs-line);
}

.lgs-mkt__partner {
    margin: 0;
    font-size: 14px;
    color: var(--lgs-muted);
}

.lgs-mkt__partner-label {
    display: block;
    margin-bottom: 3px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--lgs-navy);
}

.lgs-mkt__footer .lgs-link--muted { margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
    .lgs-mkt__hero-body { animation: none; }
}

@media (max-width: 767.98px) {
    .lgs-mkt__cta-btn { width: 100%; min-width: 0; }
}

/* ---------- Cartes metier : accordeon ---------- */
.lgs-mkt__card-head {
    display: block;
    position: relative;
    padding-right: 22px;
    cursor: pointer;
    list-style: none;
}

.lgs-mkt__card-head::-webkit-details-marker { display: none; }

.lgs-mkt__card-img {
    display: block;
    height: 132px;
    margin: 0 0 14px;
    border-radius: var(--lgs-radius, 5px);
    background-color: var(--lgs-navy);
    background-image: var(--lgs-card-img, none);
    background-size: cover;
    background-position: center;
}

.lgs-mkt__chevron {
    position: absolute;
    top: 6px;
    right: 0;
    color: var(--lgs-muted);
    transition: transform .2s ease;
}

.lgs-mkt__card[open] .lgs-mkt__chevron { transform: rotate(180deg); }

.lgs-mkt__card .lgs-mkt__card-title { margin-bottom: 0; }
.lgs-mkt__card[open] .lgs-mkt__card-title { margin-bottom: 16px; }

@media (max-width: 1199.98px) {
    .lgs-mkt__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
    .lgs-mkt__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ============================================================
   Bas de page des pages publiques (Home/Knowmore).
   Rendu DANS LE FLUX de la page, en fin de contenu.
   Volontairement pas une balise <footer> : layout.css fixe la
   balise footer en bas de la fenetre (barre applicative de 35px).
   Fond = --lgs-navy (couleur principale de la marque), logo blanc,
   slogan en --brand-third. Variables definies dans site.css /
   brand-*.css : tout change avec la marque.
   ============================================================ */

.lgs-pagefoot {
    background-color: var(--lgs-navy);
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    overflow: hidden;
}

.lgs-pagefoot__inner {
    max-width: 1024px;
    margin: 0 auto;
    padding: 56px clamp(20px, 4vw, 32px) 0;
}

.lgs-pagefoot__slogan {
    margin: 0 0 40px;
    font-family: var(--brand-title-font);
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--brand-third, currentColor);
}

.lgs-pagefoot__row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px 32px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .35);
}

.lgs-pagefoot__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
}

.lgs-pagefoot a {
    color: inherit;
    text-decoration: none;
    transition: color .15s ease;
}

.lgs-pagefoot a:hover { color: var(--brand-third, currentColor); }

.lgs-pagefoot__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 18px;
    color: var(--brand-third, currentColor);
    border: 1px solid currentColor;
    border-radius: 50%;
}

.lgs-pagefoot__copy {
    margin: 16px 0 0;
    font-size: 12px;
    opacity: .7;
}

/* Grand logo en fin de bloc, en filigrane */
.lgs-pagefoot__logo {
    display: block;
    width: min(560px, 80%);
    height: auto;
    margin: 48px auto -12px;
    opacity: .35;
}

/* Vue Knowmore : classes Tailwind (knowmore.css, charge apres ce fichier) alignees sur --lgs-radius.
   rounded-full (pastilles, avatars) n'est pas concerne. */
.rounded-lg, .rounded-xl, .rounded-2xl, .rounded-3xl {
    border-radius: var(--lgs-radius, 5px) !important;
}
