/* ═══════════════════════════════════════════════════════════════════════════
   Bilantis : page « Sécurité et conformité » (lot 2, 27.11.2026). Chargée après site.css par
   site_head(['css_files' => ['site-sicherheit']]). Chaque règle est préfixée par .pg-sicherheit
   (classe posée sur <main>) : cette feuille ne change rien ailleurs.
   Ne contient que la mise en page propre à la page : les groupes (titre à gauche, points à
   droite, sur la grille commune) et la largeur minimale des deux tableaux. Début, en bref,
   texte courant, tableaux et bande finale viennent de site.css.
   ═══════════════════════════════════════════════════════════════════════════ */

/* Les sections de la page sont plus serrées qu'une page de module : le texte domine */
.pg-sicherheit .sic-sec { padding-block: clamp(40px, 6vw, 80px); }

/* Un groupe : étiquette et titre (5fr) | points (7fr), filet en haut, comme une rangée */
.pg-sicherheit .sic-groupe {
    display: grid; grid-template-columns: var(--grille); gap: 14px var(--grille-gap);
    align-items: start; padding-block: clamp(28px, 4vw, 48px); border-top: 1px solid var(--rule);
}
.pg-sicherheit .sic-groupe:first-child { padding-top: 0; border-top: 0; }
.pg-sicherheit .sic-groupe:last-child { padding-bottom: 0; }
.pg-sicherheit .sic-tete { min-width: 0; }
.pg-sicherheit .sic-tete .label { margin-bottom: 10px; }
.pg-sicherheit .sic-tete .h2 { margin: 0; max-width: 18ch; }
.pg-sicherheit .sic-groupe .texte { min-width: 0; }
.pg-sicherheit .sic-points h3 { font-size: 18px; line-height: 1.3; margin: 1.4em 0 .3em; }
.pg-sicherheit .sic-points h3:first-child { margin-top: 0; }
.pg-sicherheit .sic-points p { margin: 0; }
.pg-sicherheit .texte > p:last-child { margin-bottom: 0; }

/* Liens de suite sous un texte (contrat, signalement) : en ligne, puis l'un sous l'autre */
.pg-sicherheit .texte .sic-suites { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 28px; }
.pg-sicherheit .sic-suites a { overflow-wrap: anywhere; }

/* Tableaux : titre, puis le tableau qui défile seul sur un écran étroit (jamais la page) */
.pg-sicherheit .sic-tbl-h { font-size: clamp(20px, 2vw, 24px); margin: clamp(36px, 5vw, 56px) 0 4px; }
.pg-sicherheit .tbl:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: var(--radius-sm); }
.pg-sicherheit .sic-tbl-large table { min-width: 740px; }
.pg-sicherheit .sic-tbl-large td { color: var(--ink-2); }
.pg-sicherheit .sic-tbl-large td.sic-nom { color: var(--ink); font-weight: 700; min-width: 170px; }
.pg-sicherheit .sic-tbl-fristen { max-width: 860px; }
.pg-sicherheit .sic-tbl-fristen table { min-width: 0; }
.pg-sicherheit .sic-tbl-fristen td:first-child { color: var(--ink); width: 46%; }
.pg-sicherheit .sic-tbl-fristen td + td { color: var(--ink-2); }
/* Consigne au-dessus du tableau large : visible seulement quand il défile, c'est-à-dire quand
   le cadre (92 % de la fenêtre) est plus étroit que le tableau (740 px, 700 px sous 560 px) */
.pg-sicherheit .sic-tbl-astuce { display: none; }

/* Bande finale : la phrase sous le titre */
.pg-sicherheit .final .sic-final-p { margin: -6px 0 22px; max-width: 46ch; }

@media (max-width: 860px) {
    .pg-sicherheit .sic-groupe { grid-template-columns: minmax(0, 1fr); row-gap: 20px; }
    .pg-sicherheit .sic-tete .h2 { max-width: 24ch; }
}
@media (max-width: 804px) {
    .pg-sicherheit .sic-tbl-astuce { display: block; margin: 0 0 6px; font-size: 13.5px; color: var(--ink-3); }
}
@media (max-width: 560px) {
    /* site.css (pont) ramène la largeur minimale des tableaux à 0 : celui-ci a cinq colonnes
       de texte, il garde sa largeur et défile dans son cadre. */
    .pg-sicherheit .sic-tbl-large table { min-width: 700px; }
    .pg-sicherheit .sic-tbl-fristen td:first-child { width: 42%; }
}
