/* ==========================================================================
   SHE'S TYPING — Pages légales
   --------------------------------------------------------------------------
   Mentions légales et politique de confidentialité. Même design system que le
   chat (vide violet-noir, aurores magenta, verre dépoli, filets lumineux),
   mais dans un registre de LECTURE : une colonne, une mesure typographique
   confortable, et un décor qui ne bouge pas.

   Feuille indépendante de `chat.css` : ces pages ne chargent pas le chat, et
   n'héritent donc ni de son `position: fixed`, ni de ses jetons. Les valeurs
   communes sont recopiées ci-dessous — c'est le prix d'une page qui doit
   pouvoir s'afficher même si tout le reste est en panne.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Jetons — même palette que le chat
   -------------------------------------------------------------------------- */

:root {
    --void:       #07040a;
    --void-2:     #0c0710;

    --crimson:    #cb1258;
    --crimson-hi: #e8447a;
    --blush:      #ff7aa8;
    --plum:       #b4368f;
    --grape:      #6d2f9c;

    --ink:        #ffffff;
    --ink-2:      rgba(255, 255, 255, 0.72);
    --ink-3:      rgba(255, 255, 255, 0.46);
    --ink-4:      rgba(255, 255, 255, 0.26);

    --glass:      rgba(255, 255, 255, 0.035);
    --glass-2:    rgba(255, 255, 255, 0.055);
    --glass-3:    rgba(255, 255, 255, 0.085);
    --line:       rgba(255, 255, 255, 0.09);
    --line-2:     rgba(255, 255, 255, 0.16);
    --line-hot:   rgba(232, 68, 122, 0.42);

    --glow:       rgba(203, 18, 88, 0.45);

    --r-sm: 12px;
    --r-md: 18px;
    --r-lg: 26px;
    --r-pill: 999px;

    --ease:   cubic-bezier(0.22, 1, 0.36, 1);
    --t-fast: 0.22s var(--ease);

    --f-display: 'Sora', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --f-text:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --f-serif:   'Instrument Serif', Georgia, 'Times New Roman', serif;
}

/* --------------------------------------------------------------------------
   2. Remise à zéro — ici, contrairement au chat, la page DÉFILE
   -------------------------------------------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    background: var(--void);
}

body {
    min-height: 100%;
    background: var(--void);
    color: var(--ink);
    font-family: var(--f-text);
    font-size: 16px;
    line-height: 1.68;
    letter-spacing: -0.011em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    -webkit-tap-highlight-color: transparent;
}

img, svg { display: block; max-width: 100%; }

a {
    color: var(--blush);
    text-decoration-color: rgba(255, 122, 168, 0.38);
    text-underline-offset: 0.22em;
    transition: color var(--t-fast), text-decoration-color var(--t-fast);
}
a:hover { color: #ffa6c4; text-decoration-color: currentColor; }

code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.86em;
    padding: 0.12em 0.42em;
    border-radius: 6px;
    background: var(--glass-3);
    border: 1px solid var(--line);
    color: #ffc8dc;
    white-space: nowrap;
}

/* Libellé réservé aux lecteurs d'écran (légendes de tableaux) */
.lsr {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   3. Décor — deux aurores fixes, et rien qui remue
   --------------------------------------------------------------------------
   Le chat fait flotter ses bulles de néon ; une page qu'on lit sur trois
   écrans de long, non. Le fond est posé une fois pour toutes.
   -------------------------------------------------------------------------- */

.lscene {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(1100px 760px at 82% -12%, rgba(203, 18, 88, 0.26), transparent 62%),
        radial-gradient(860px 680px at 2% 10%, rgba(109, 47, 156, 0.22), transparent 60%),
        var(--void);
}

/* Trame fine — la même signature discrète que le chat */
.lscene::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.5;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
    background-size: 62px 62px;
    mask-image: radial-gradient(70% 60% at 50% 0%, #000 0%, transparent 78%);
    -webkit-mask-image: radial-gradient(70% 60% at 50% 0%, #000 0%, transparent 78%);
}

.lwrap {
    position: relative;
    z-index: 1;
    width: min(100%, 780px);
    margin-inline: auto;
    padding: 0 clamp(1.1rem, 5vw, 2rem) clamp(2.5rem, 6vh, 4rem);
}

/* --------------------------------------------------------------------------
   4. En-tête — logo + onglets
   -------------------------------------------------------------------------- */

.lhead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.9rem 1.4rem;
    padding-block: clamp(1.3rem, 3.5vh, 2.2rem) clamp(1.6rem, 4vh, 2.6rem);
}

.lbrand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: inherit;
    text-decoration: none;
}
.lbrand__mark { width: 34px; height: 34px; flex: none; }
.lbrand__text { display: flex; flex-direction: column; line-height: 1; }

.lbrand__name {
    font-family: var(--f-display);
    font-size: 1.06rem;
    font-weight: 700;
    letter-spacing: -0.035em;
    white-space: nowrap;
}
.lbrand__name em {
    font-style: normal;
    margin-left: 0.22em;
    background: linear-gradient(102deg, var(--blush), var(--crimson-hi) 55%, var(--plum));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.lbrand__sub {
    margin-top: 3px;
    font-size: 0.594rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-3);
}

.ltabs {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 4px;
    border-radius: var(--r-pill);
    background: var(--glass);
    border: 1px solid var(--line);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.ltab {
    padding: 0.38rem 0.86rem;
    border-radius: var(--r-pill);
    font-family: var(--f-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--ink-3);
    text-decoration: none;
    white-space: nowrap;
    transition: background var(--t-fast), color var(--t-fast);
}
.ltab:hover { color: var(--ink); background: var(--glass-2); }
.ltab.is-on {
    color: var(--ink);
    background: linear-gradient(122deg, rgba(232, 68, 122, 0.26), rgba(109, 47, 156, 0.22));
    box-shadow: inset 0 0 0 1px var(--line-hot);
}

/* --------------------------------------------------------------------------
   5. Titre de page
   -------------------------------------------------------------------------- */

.leyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--f-display);
    font-size: 0.688rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-2);
}
.leyebrow::before {
    content: '';
    width: 26px; height: 1px;
    background: linear-gradient(90deg, var(--crimson-hi), transparent);
}

.ltitle {
    margin-top: 0.55rem;
    font-family: var(--f-display);
    font-size: clamp(1.85rem, 6.4vw, 2.9rem);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.043em;
}

.llede {
    max-width: 56ch;
    margin-top: 1rem;
    font-family: var(--f-serif);
    font-style: italic;
    font-size: clamp(1.06rem, 3.4vw, 1.32rem);
    line-height: 1.5;
    letter-spacing: -0.005em;
    color: rgba(255, 255, 255, 0.84);
}

.lstamp {
    margin-top: 1.5rem;
    padding-bottom: clamp(1.4rem, 4vh, 2.2rem);
    border-bottom: 1px solid var(--line);
    font-size: 0.78rem;
    color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   6. Sections
   -------------------------------------------------------------------------- */

.lsec { padding-top: clamp(2rem, 5vh, 3rem); }

.lsec h2 {
    position: relative;
    margin-bottom: 1.1rem;
    font-family: var(--f-display);
    font-size: clamp(1.12rem, 3.6vw, 1.34rem);
    font-weight: 700;
    letter-spacing: -0.032em;
    line-height: 1.25;
}

/* Filet lumineux sous le titre — signature maison */
.lsec h2::after {
    content: '';
    display: block;
    width: 54px; height: 1px;
    margin-top: 0.6rem;
    background: linear-gradient(90deg, var(--crimson-hi), transparent);
}

.lsec h3 {
    margin-top: 1.7rem;
    margin-bottom: 0.5rem;
    font-family: var(--f-display);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.022em;
    color: rgba(255, 255, 255, 0.92);
}

.lsec p {
    max-width: 68ch;
    margin-bottom: 0.95rem;
    color: var(--ink-2);
}
.lsec p:last-child { margin-bottom: 0; }

.lsec strong { color: var(--ink); font-weight: 600; }

/* Remarque encadrée : ce qu'il faut avoir lu même en diagonale */
.lnote {
    position: relative;
    padding: 0.85rem 1.1rem 0.85rem 1.25rem;
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    background: linear-gradient(96deg, rgba(232, 68, 122, 0.09), rgba(232, 68, 122, 0));
    border-left: 2px solid var(--crimson-hi);
    font-size: 0.94rem;
}

/* --------------------------------------------------------------------------
   7. Listes
   -------------------------------------------------------------------------- */

.llist {
    max-width: 68ch;
    margin: 0 0 0.95rem;
    padding-left: 1.15rem;
    color: var(--ink-2);
}
.llist li { margin-bottom: 0.45rem; }
.llist li::marker { color: var(--crimson-hi); }

/* L'essentiel, en tête de la politique de confidentialité : les cinq points
   qui répondent à eux seuls à la question qu'on vient poser. */
.lsec--key h2::after { display: none; }

.lkeys {
    display: grid;
    gap: 0.7rem;
    list-style: none;
    padding: 0;
}
.lkeys li {
    position: relative;
    padding: 0.95rem 1.15rem 0.95rem 2.9rem;
    border-radius: var(--r-md);
    background: var(--glass);
    border: 1px solid var(--line);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    font-size: 0.94rem;
    color: var(--ink-2);
}
/* Coche dessinée en CSS : pas d'image, pas de requête */
.lkeys li::before {
    content: '';
    position: absolute;
    left: 1.15rem;
    top: 1.32rem;
    width: 9px; height: 5px;
    border-left: 2px solid var(--crimson-hi);
    border-bottom: 2px solid var(--crimson-hi);
    transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   8. Carte d'identité (paires libellé / valeur)
   -------------------------------------------------------------------------- */

/* Pas de `gap` entre les colonnes : les filets séparateurs sont portés par
   les cellules elles-mêmes, et une gouttière les couperait en deux traits.
   L'espacement passe donc par le `padding-right` du libellé. */
.lcard {
    display: grid;
    grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
    gap: 0;
    padding: 1.15rem 1.3rem;
    border-radius: var(--r-md);
    background: var(--glass);
    border: 1px solid var(--line);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.lcard dt {
    padding-block: 0.5rem;
    padding-right: 1.5rem;
    font-family: var(--f-display);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--ink-3);
}
.lcard dd {
    padding-block: 0.5rem;
    color: var(--ink);
}
.lcard dt + dd { border-top: 0; }

/* Filet séparateur entre les paires, sauf la première */
.lcard dt:not(:first-of-type),
.lcard dt:not(:first-of-type) + dd {
    border-top: 1px solid var(--line);
}

@media (max-width: 599px) {
    .lcard { grid-template-columns: 1fr; }
    .lcard dd { padding-top: 0.15rem; padding-bottom: 0.85rem; }
    .lcard dt { padding-right: 0; padding-bottom: 0.1rem; }
    .lcard dt:not(:first-of-type) { margin-top: 0.7rem; padding-top: 0.8rem; }
    .lcard dt:not(:first-of-type) + dd { border-top: 0; }
}

/* --------------------------------------------------------------------------
   9. Tableaux — cookies et données techniques
   --------------------------------------------------------------------------
   Le tableau défile DANS son cadre : la page, elle, ne part jamais en travers
   sur un écran étroit.
   -------------------------------------------------------------------------- */

.ltable-wrap {
    margin-bottom: 1.1rem;
    overflow-x: auto;
    border-radius: var(--r-md);
    border: 1px solid var(--line);
    background: var(--glass);
    -webkit-overflow-scrolling: touch;
}

.ltable {
    width: 100%;
    min-width: 34rem;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.ltable th,
.ltable td {
    padding: 0.72rem 0.95rem;
    text-align: left;
    vertical-align: top;
}

.ltable thead th {
    position: relative;
    font-family: var(--f-display);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--ink-3);
    background: rgba(255, 255, 255, 0.03);
    white-space: nowrap;
}
.ltable thead th::after {
    content: '';
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 1px;
    background: var(--line-2);
}

.ltable tbody tr + tr td { border-top: 1px solid var(--line); }
.ltable tbody td { color: var(--ink-2); }
.ltable tbody td:first-child { color: var(--ink); }

/* --------------------------------------------------------------------------
   10. Pied de page
   -------------------------------------------------------------------------- */

.lfoot {
    margin-top: clamp(2.6rem, 7vh, 4rem);
    padding-top: clamp(1.5rem, 4vh, 2.2rem);
    border-top: 1px solid var(--line);
    text-align: center;
}

.lfoot__back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.62rem 1.25rem 0.62rem 1rem;
    border-radius: var(--r-pill);
    background: var(--glass-2);
    border: 1px solid var(--line-2);
    color: var(--ink);
    text-decoration: none;
    font-family: var(--f-display);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: -0.012em;
    transition: background var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}
.lfoot__back:hover {
    color: var(--ink);
    background: var(--glass-3);
    border-color: var(--line-hot);
    box-shadow: 0 0 26px -10px var(--glow);
}
.lfoot__back svg { width: 17px; height: 17px; }

.lfoot__legal {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 0.7rem;
    margin-top: 1.35rem;
    font-size: 0.8rem;
}
.lfoot__legal a { color: var(--ink-2); text-decoration: none; }
.lfoot__legal a:hover { color: var(--blush); }
.lfoot__legal span { color: var(--ink-4); }

.lfoot__copy {
    margin-top: 0.65rem;
    font-size: 0.72rem;
    color: var(--ink-4);
}

/* --------------------------------------------------------------------------
   11. Préférences système
   -------------------------------------------------------------------------- */

:focus-visible {
    outline: 2px solid var(--crimson-hi);
    outline-offset: 3px;
    border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
}

@media (prefers-contrast: more) {
    :root {
        --ink-2: rgba(255, 255, 255, 0.9);
        --ink-3: rgba(255, 255, 255, 0.72);
        --line:  rgba(255, 255, 255, 0.24);
        --line-2: rgba(255, 255, 255, 0.36);
    }
}

@media print {
    .lscene, .ltabs, .lfoot__back { display: none; }
    body { background: #fff; color: #000; }
    a { color: #000; }
    .lwrap { width: auto; }
}
