/* Sous-site d'application — pages légales (gabarit commun).
   Texte, table des matières, date. Aucune animation.
   Couleurs et rayons : jetons --app-* du theme.css de l'application. */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; background: var(--app-bg); color: var(--app-ink); }
body { font-family: var(--app-font); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; text-decoration-color: var(--app-ink-2); }
a:hover { text-decoration-color: var(--app-accent); }
:focus-visible { outline: 2px solid var(--app-accent); outline-offset: 3px; }
em, i, cite, address { font-style: normal; }
code { font-family: inherit; }

/* En-tête : la marque mère, discrète, puis le produit */
.bandeau { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 20px; border-bottom: 1px solid var(--app-line); }
.bandeau .marques { display: flex; align-items: center; gap: 12px; }
.bandeau .mere { display: flex; opacity: .7; }
.bandeau .mere:hover { opacity: 1; }
.bandeau .mere img { width: 18px; height: 18px; }
.bandeau .produit { text-decoration: none; font-weight: 700; letter-spacing: -0.01em; padding-left: 12px; border-left: 1px solid var(--app-line); }
.bandeau nav { display: flex; gap: 4px 18px; flex-wrap: wrap; font-size: 14px; }
.bandeau nav a { text-decoration: none; color: var(--app-ink-2); padding: 4px 0; }
.bandeau nav a:hover { color: var(--app-ink); }
.bandeau nav a[aria-current="page"] { color: var(--app-ink); box-shadow: inset 0 -1px 0 var(--app-accent); }

.doc { max-width: 1120px; margin: 0 auto; padding: 48px 20px 96px; display: grid; gap: 48px; }
@media (min-width: 960px) {
  .doc { grid-template-columns: 240px minmax(0, 1fr); padding: 64px 64px 128px; gap: 64px; }
  .sommaire { position: sticky; top: 24px; align-self: start; }
}
.titre { grid-column: 1 / -1; display: grid; gap: 12px; max-width: 72ch; }
.eyebrow { margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--app-ink-2); }
h1 { font-weight: var(--app-title-weight); font-size: clamp(32px, 5vw, 48px); line-height: 1.1; letter-spacing: var(--app-title-tracking); margin: 0; }
.maj { font-size: 14px; color: var(--app-ink-2); margin: 0; font-variant-numeric: tabular-nums; }
.chapo { font-size: 19px; color: var(--app-ink-2); margin: 0; }

.sommaire h2 { font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--app-ink-2); margin: 0 0 12px; }
.sommaire ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; counter-reset: s; }
.sommaire li { counter-increment: s; display: grid; grid-template-columns: 28px 1fr; }
.sommaire li::before { content: counter(s, decimal-leading-zero); font-size: 12px; color: var(--app-accent); padding-top: 2px; font-variant-numeric: tabular-nums; }
.sommaire a { text-decoration: none; color: var(--app-ink-2); }
.sommaire a:hover { color: var(--app-ink); }

.corps { max-width: 72ch; }
.corps section { padding-top: 32px; margin-top: 32px; border-top: 1px solid var(--app-line); }
.corps section:first-child { padding-top: 0; margin-top: 0; border-top: 0; }
.corps h2 { font-weight: 600; font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; margin: 0 0 16px; scroll-margin-top: 24px; }
.corps h3 { font-size: 17px; font-weight: 600; margin: 24px 0 8px; }
.corps p, .corps ul, .corps ol { margin: 0 0 16px; }
.corps ul, .corps ol { padding-left: 22px; }
.corps li + li { margin-top: 6px; }
.corps strong { font-weight: 600; }
.encadre { background: var(--app-surface); border: 1px solid var(--app-line); border-radius: var(--app-radius-card); padding: 16px 20px; margin: 0 0 16px; }
.encadre p:last-child { margin-bottom: 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 0 0 16px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--app-line); }
th { font-weight: 600; }

/* Formulaire de demande */
form { display: grid; gap: 24px; background: var(--app-surface); border: 1px solid var(--app-line); border-radius: var(--app-radius-sheet); padding: 24px; margin: 0 0 16px; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
legend, label.titre-champ { font-weight: 600; margin-bottom: 4px; padding: 0; }
.aide { font-size: 14px; color: var(--app-ink-2); margin: 0; }
input[type="email"], textarea { font: inherit; color: var(--app-ink); background: var(--app-surface-2); border: 1px solid var(--app-line); border-radius: var(--app-radius-card); padding: 12px 14px; width: 100%; }
input[type="email"]:focus, textarea:focus { border-color: var(--app-accent); outline: none; }
.choix { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; }
.choix input { width: 18px; height: 18px; margin: 4px 0 0; accent-color: var(--app-action); }
button { font: inherit; font-weight: 600; font-size: 15px; background: var(--app-action); color: var(--app-on-action); border: 0; border-radius: 999px; padding: 13px 22px; cursor: pointer; justify-self: start; }
button:hover { filter: brightness(1.06); }
.statut { margin: 0; font-size: 15px; }

.pied { border-top: 1px solid var(--app-line); padding: 24px 20px 40px; font-size: 14px; color: var(--app-ink-2); }
.pied div { max-width: 1120px; margin: 0 auto; display: grid; gap: 6px; }
.pied p { margin: 0; }
.pied .liens { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.bandeau .produit { display: flex; align-items: center; gap: 8px; }
.bandeau .produit img { width: 32px; height: auto; }
