/* ═══════════════════════════════════════════════════════════════════════════
   AIQUAL — STYLE DES PAGES ARTICLE (expertise/*, produits, méthode,
   souveraineté, contact, ia-act-*). Se charge APRÈS /css/aiqual.css et
   n'AJOUTE que des règles propres aux articles : la barre de navigation,
   .page, .pilltrack, .hero, .rv restent définis dans la feuille commune.
   Après toute modification : incrémenter ?v=N dans les pages.
   ═══════════════════════════════════════════════════════════════════════════ */

body{line-height:1.62}

/* ── DEUX LARGEURS DE CONTENU — PAS UNE DE PLUS (règle maison, 25/08/2026) ──
   .wrap       colonne de lecture, 760 px : pages de texte suivi
               (expertise et ses sous-pages, AI Act dans les 4 langues).
   .wrap.wide  pleine largeur du gabarit (= .page, 1080 px) : pages bâties en
               grilles reprises de l'accueil — produits, méthode, souveraineté,
               contact. Une grille .sec-grid serrée à 760 px est comprimée.
   Dans une page large, la prose directe garde une ligne lisible (≤ 72ch). */
/* Largeur UNIQUE, celle de l'accueil (25/08/2026). Avant : 760 px ici, 1044
   ailleurs — un décalage visible d'une page à l'autre, sans raison lisible.
   Le confort de lecture est assuré par la mesure des paragraphes, pas par un
   rétrécissement du conteneur. */
.wrap{max-width:none;margin:0 auto}
.wrap>p,.wrap>ul,.wrap>ol,.wrap>.chapo{max-width:72ch}
.wrap.wide{max-width:none}
.wrap.wide>p,.wrap.wide>.chapo{max-width:72ch}

/* Icônes au trait : même graisse que la typographie, jamais de remplissage. */
.ch{display:flex;align-items:center;gap:14px;margin:56px 0 16px}
.ch h2{margin:0}
.chico{flex:0 0 auto;width:42px;height:42px;border-radius:12px;border:1.5px solid #FFD9CC;background:#FFF7F4;display:flex;align-items:center;justify-content:center}
.chico svg{width:22px;height:22px;stroke:#FF6B45;stroke-width:1.5;fill:none;stroke-linecap:round;stroke-linejoin:round}
.sub{display:flex;align-items:flex-start;gap:11px;margin:30px 0 8px}
.sub h3{margin:0}
.subico{flex:0 0 auto;width:20px;height:20px;margin-top:1px}
.subico svg{width:20px;height:20px;stroke:#14151A;stroke-width:1.4;fill:none;stroke-linecap:round;stroke-linejoin:round}

.index{border:1px solid #ECECEC;border-radius:16px;padding:20px 24px;margin:28px 0 8px;background:#FCFCFC}
.index-h{display:block;font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#8A8A8A;margin-bottom:10px}
.index ol{margin:0;padding:0;list-style:none;counter-reset:idx;columns:2;column-gap:28px}
.index li{counter-increment:idx;margin:6px 0;font-size:14.5px;break-inside:avoid}
.index li a{color:#3A3F4B;font-weight:600}
.index li a:hover{color:#FF6B45}
.index li::before{content:counter(idx,decimal-leading-zero);color:#FF6B45;font-weight:700;font-size:11px;margin-right:8px}
/* En une colonne, un intitulé sur deux lignes doit s'aligner sous lui-même,
   pas repartir sous le numéro : la puce devient un élément de rangée. */
@media(max-width:620px){
  .index ol{columns:1}
  .index li{display:flex;gap:9px;align-items:baseline}
  .index li::before{margin-right:0;flex:0 0 auto}
}

h1{font-size:clamp(30px,5vw,48px);line-height:1.1;letter-spacing:-.025em;margin:14px 0 18px;font-weight:800}
h2{font-size:clamp(22px,3vw,30px);line-height:1.2;letter-spacing:-.02em;margin:0;font-weight:800}
h3{font-size:18px;margin:30px 0 8px;font-weight:700}
p{margin:0 0 16px;font-size:16.5px;color:#3A3F4B}
.chapo{font-size:19px;color:#55534E;margin-bottom:22px}
.maj{display:inline-block;font-size:12.5px;font-weight:600;color:#55534E;background:#F5F5F5;border-radius:999px;padding:6px 14px;margin-bottom:8px}

/* La marge vit sur le conteneur, pas sur le tableau : le contexte de formatage créé
   par overflow-x empêcherait la fusion des marges et décalerait le rendu desktop. */
.tblwrap{overflow-x:auto;margin:20px 0}
table{width:100%;border-collapse:collapse;margin:0;font-size:15px}
th{text-align:left;font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#8A8A8A;border-bottom:1.5px solid #14151A;padding:0 10px 7px 0;font-weight:700}
td{padding:12px 10px 12px 0;border-bottom:1px solid #EFEFEF;vertical-align:top}
td:first-child{font-weight:700}

.encadre{border-left:3px solid #FF6B45;background:#FFF7F4;border-radius:0 12px 12px 0;padding:18px 22px;margin:24px 0}
.encadre p:last-child{margin-bottom:0}
.encadre strong{color:#14151A}
.sombre{background:#14151A;color:#fff;border-radius:14px;padding:22px 26px;margin:26px 0}
.sombre p{color:#C9CBD3;margin-bottom:0}
.sombre b{color:#FF6B45}
ul{margin:0 0 18px;padding-left:20px}
li{margin:8px 0;font-size:16.5px;color:#3A3F4B}

.cta{display:inline-block;font-weight:600;font-size:14px;color:#fff;background:#14151A;border-radius:999px;padding:14px 26px;margin-top:10px}

/* Pied de page article : clair, séparé par un filet — chaque propriété héritée
   du pied de page sombre de l'accueil est neutralisée explicitement. */
footer{background:none;border-radius:0;border-top:1px solid #EFEFEF;margin:64px 0 0;padding:32px 0 44px}
.foot-cols{display:flex;flex-wrap:wrap;gap:40px;margin-bottom:26px}
.foot-col{display:flex;flex-direction:column;gap:7px;min-width:150px}
.foot-col .h{font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#8A8A8A;margin-bottom:3px}
.foot-col a,.foot-col span:not(.h){font-size:14px;color:#55534E;font-weight:600}
.foot-col a:hover{color:#FF6B45}
.foot-legal{display:block;margin-top:0;font-size:12.5px;color:#8A8A8A;border-top:1px solid #EFEFEF;padding-top:18px}

/* ══ ÉTROIT (≤ 560 px) — rien au-dessus n'est touché ═══════════════════════
   Tableaux : deux colonnes « intitulé court / phrase » qui s'empilent,
   l'intitulé passe en surtitre corail. Aucune colonne écrasée. */
@media(max-width:560px){
  .tblwrap{margin:18px 0 22px}
  table{display:block;font-size:16px}
  table tr{display:block;padding:14px 0;border-bottom:1px solid #EFEFEF}
  table tr:last-child{border-bottom:none;padding-bottom:0}
  /* L'entête se replie en une ligne « NIVEAU · CE QU'IL RECOUVRE ». */
  table tr.thead{padding:0 0 7px;border-bottom:1.5px solid #14151A}
  table tr.thead th{display:inline;padding:0;border:none}
  table tr.thead th+th::before{content:" · ";color:#FF6B45}
  table td{display:block;padding:0;border:none}
  table td:first-child{font-size:11px;font-weight:700;letter-spacing:.09em;
                        text-transform:uppercase;color:#FF6B45;margin-bottom:5px}
  table td+td{color:#3A3F4B;line-height:1.6}

  /* Typographie : on rend de la marge au texte et on desserre l'interligne. */
  h1{font-size:clamp(25px,7.2vw,32px);line-height:1.15;margin:12px 0 16px}
  h2{font-size:21px}
  h3{font-size:17px;margin:26px 0 8px}
  /* Césure réservée aux mots vraiment longs (composés allemands) : elle range
     le bord droit sans hacher le français, où les mots de 12+ signes sont rares. */
  p,li{font-size:16px;line-height:1.65;overflow-wrap:break-word;
        hyphens:auto;hyphenate-limit-chars:12 6 4}
  .chapo{font-size:17.5px;line-height:1.55;margin-bottom:20px}
  ul{padding-left:19px}

  .ch{gap:12px;margin:44px 0 14px}
  .chico{width:38px;height:38px;border-radius:11px}
  .chico svg{width:20px;height:20px}
  .sub{gap:10px;margin:26px 0 8px}

  .index{padding:16px 18px;margin:24px 0 6px;border-radius:14px}
  .index li{font-size:14px;margin:9px 0;line-height:1.45}
  .encadre{padding:16px 17px;margin:22px 0;border-radius:0 10px 10px 0}
  .sombre{padding:20px 18px;margin:24px 0;border-radius:12px}
  .sombre p{font-size:16px}

  .cta{display:block;text-align:center;padding:15px 20px;margin-top:14px}
  footer{margin-top:52px;padding:28px 0 40px}
  .foot-cols{gap:26px}
  .foot-col{min-width:0}
}

/* Très étroit (≤ 360 px) : on récupère les derniers pixels de gouttière. */
@media(max-width:360px){
  .index{padding:14px 15px}
  .encadre{padding:15px 14px}
  .sombre{padding:18px 15px}
}
