/* ===== base/rouage-tokens.css ===== */
/* Rouage : design system « plan de construction » habillé en Liquid Glass.

   SOURCE UNIQUE : Rouage/styles/rouage-tokens.css. Les copies (apps/<app>/web/app/,
   rouage-site/base/) sont posées par Rouage/scripts/sync-design.sh : ne jamais
   modifier une copie à la main, `sync-design.sh --check` échoue dès qu'une copie
   diverge. Documentation : Rouage/docs/DESIGN.md.

   Un seul thème, bleu. Aucun mode clair.
   Le fichier se lit tel quel dans un navigateur (site HTML) et dans Tailwind v4
   (applications) : les at-rules propres à Tailwind (@theme, @custom-variant) sont
   ignorées par le navigateur. Les composants vivent dans @layer components, pour
   qu'une classe utilitaire Tailwind les ajuste sans !important.

   Sommaire : 1 tokens · 2 Tailwind · 3 shadcn/ui · 4 base · 5 surfaces · 6 typo ·
   7 contrôles · 8 éléments de plan · 9 mouvement · 10 mouvement réduit */

/* 1. Tokens ---------------------------------------------------------------- */
:root{
  --rg-blue:#3969C3;              /* fond plan */
  --rg-blue-top:#3B6CC7; --rg-blue-bottom:#3261BB;
  --rg-surface:#244B9B;           /* surface opaque (apps, données) */
  --rg-cream:#FFFDF6;             /* texte principal, traits, logo */
  --rg-text-2:#F6F8FE;            /* paragraphes, OK sur fond nu */
  --rg-text-3:#E7EDF9;            /* labels, méta : sur verre uniquement */
  --rg-placeholder:#C6D2EC;
  --rg-ink:#234895;               /* texte bleu sur crème */
  --rg-btn-top:#FFFDF7; --rg-btn-bottom:#E3DCC9;
  --rg-line:rgb(255 253 246 / .18);   /* bordures de champs */
  --rg-rule:rgb(255 253 246 / .12);   /* filets de nomenclature */
  --rg-shadow:12 29 72;                /* usage : rgb(var(--rg-shadow) / a) */
  --rg-success-bg:#A7F0C4; --rg-success-fg:#0B3D24;
  --rg-warning-bg:#FFE08A; --rg-warning-fg:#4A3300;
  --rg-danger-bg:#FFB4A8;  --rg-danger-fg:#5A0F06;
  --rg-danger-text:#FFE2DC;           /* message d'erreur, sur verre uniquement */
  --rg-font-display:'Unbounded','Arial Black',sans-serif;
  --rg-font-sans:'Geist',ui-sans-serif,system-ui,sans-serif;
  --rg-font-mono:'Geist Mono',ui-monospace,monospace;
  --rg-r-panel:32px; --rg-r-sub:24px; --rg-r-ctrl:14px; --rg-r-pill:999px;
  --rg-ease-out:cubic-bezier(.2,.8,.2,1);
  --rg-ease-spring:cubic-bezier(.34,1.56,.64,1);

  /* Dérivés : chacun nomme une valeur de la spec, pour ne jamais l'écrire en dur */
  --rg-grid-major:rgb(255 253 246 / .24);
  --rg-grid-minor:rgb(255 253 246 / .10);
  --rg-grid-step:120px;
  --rg-grid-sub:24px;
  --rg-halo-light:rgb(169 211 246 / .45);
  --rg-halo-deep:rgb(16 38 98 / .38);
  --rg-frame-outer:rgb(255 253 246 / .45);
  --rg-frame-inner:rgb(255 253 246 / .20);
  --rg-field-bg:rgb(7 20 50 / .34);
  --rg-well-bg:rgb(7 20 50 / .30);
  --rg-fill:rgb(255 253 246 / .08);       /* cases sélectionnables au repos */
  --rg-fill-hover:rgb(255 253 246 / .14);
  --rg-ghost:rgb(255 253 246 / .09);      /* bouton rond fantôme */
  --rg-ghost-line:rgb(255 253 246 / .10);
  --rg-focus-line:rgb(255 253 246 / .80);
  --rg-focus-halo:rgb(255 253 246 / .16);
  /* Verre : deux écarts à la recette de la spec, mesurés au pixel sur les trois
     moteurs. Une teinte bleu nuit sous le dégradé, et un reflet intérieur à .06
     au lieu de .13. Sans eux, le haut gauche d'un grand panneau (reflet,
     brightness 1.06) tombe à 3,4:1 pour --rg-text-3 et 3,8:1 pour la crème. */
  --rg-glass-tint:rgb(14 33 82 / .36);
  --rg-glass-sheen:rgb(255 255 255 / .06);
  --rg-glass-soft-tint:rgb(14 33 82 / .22);
  --rg-dur-spring:.35s;
  --rg-max:1200px;
  --rg-gutter:clamp(24px,4vw,40px);       /* reste à l'intérieur du cadre de planche (17px) */
  color-scheme:dark;
}
@media (max-width:639px){
  :root{--rg-grid-step:96px}
}

/* 2. Tailwind v4 : tokens exposés en utilitaires (bg-rg-blue, font-display…).
   Ignoré par le navigateur sur le site. */
@custom-variant dark (&:is(.dark *));

@theme inline{
  --color-rg-blue:var(--rg-blue);
  --color-rg-blue-top:var(--rg-blue-top);
  --color-rg-blue-bottom:var(--rg-blue-bottom);
  --color-rg-surface:var(--rg-surface);
  --color-rg-cream:var(--rg-cream);
  --color-rg-text-2:var(--rg-text-2);
  --color-rg-text-3:var(--rg-text-3);
  --color-rg-placeholder:var(--rg-placeholder);
  --color-rg-ink:var(--rg-ink);
  --color-rg-btn-top:var(--rg-btn-top);
  --color-rg-btn-bottom:var(--rg-btn-bottom);
  --color-rg-line:var(--rg-line);
  --color-rg-rule:var(--rg-rule);
  --color-rg-success-bg:var(--rg-success-bg);
  --color-rg-success-fg:var(--rg-success-fg);
  --color-rg-warning-bg:var(--rg-warning-bg);
  --color-rg-warning-fg:var(--rg-warning-fg);
  --color-rg-danger-bg:var(--rg-danger-bg);
  --color-rg-danger-fg:var(--rg-danger-fg);
  --color-rg-danger-text:var(--rg-danger-text);
  --color-rg-serie-1:var(--rg-serie-1);
  --color-rg-serie-2:var(--rg-serie-2);

  --font-display:var(--rg-font-display);
  --font-sans:var(--rg-font-sans);
  --font-mono:var(--rg-font-mono);
  --font-logo:var(--rg-font-display);     /* wordmark, Unbounded 800 */

  --radius-panel:var(--rg-r-panel);
  --radius-sub:var(--rg-r-sub);
  --radius-ctrl:var(--rg-r-ctrl);
  --radius-pill:var(--rg-r-pill);

  --ease-rg-out:var(--rg-ease-out);
  --ease-rg-spring:var(--rg-ease-spring);

  /* Variables shadcn/ui (section 3) exposées en couleurs Tailwind */
  --color-background:var(--background);
  --color-foreground:var(--foreground);
  --color-card:var(--card);
  --color-card-foreground:var(--card-foreground);
  --color-popover:var(--popover);
  --color-popover-foreground:var(--popover-foreground);
  --color-primary:var(--primary);
  --color-primary-foreground:var(--primary-foreground);
  --color-secondary:var(--secondary);
  --color-secondary-foreground:var(--secondary-foreground);
  --color-muted:var(--muted);
  --color-muted-foreground:var(--muted-foreground);
  --color-accent:var(--accent);
  --color-accent-foreground:var(--accent-foreground);
  --color-destructive:var(--destructive);
  --color-border:var(--border);
  --color-input:var(--input);
  --color-ring:var(--ring);
  --color-chart-1:var(--chart-1);
  --color-chart-2:var(--chart-2);
  --color-chart-3:var(--chart-3);
  --color-chart-4:var(--chart-4);
  --color-chart-5:var(--chart-5);
  --color-sidebar:var(--sidebar);
  --color-sidebar-foreground:var(--sidebar-foreground);
  --color-sidebar-primary:var(--sidebar-primary);
  --color-sidebar-primary-foreground:var(--sidebar-primary-foreground);
  --color-sidebar-accent:var(--sidebar-accent);
  --color-sidebar-accent-foreground:var(--sidebar-accent-foreground);
  --color-sidebar-border:var(--sidebar-border);
  --color-sidebar-ring:var(--sidebar-ring);
  --radius-sm:calc(var(--radius) - 4px);
  --radius-md:calc(var(--radius) - 2px);
  --radius-lg:var(--radius);
  --radius-xl:calc(var(--radius) + 4px);
}

/* 3. shadcn/ui : variables remappées sur les tokens, les composants ne sont pas
   réécrits. Card, Dialog, Popover et DropdownMenu reçoivent .rg-glass ou
   .rg-glass-soft dans leur fichier. --card et --popover restent opaques : c'est
   le fond de repli quand un composant n'a pas le verre. */
:root{
  --background:var(--rg-blue);
  --foreground:var(--rg-cream);
  --card:var(--rg-surface);
  --card-foreground:var(--rg-cream);
  --popover:var(--rg-surface);
  --popover-foreground:var(--rg-cream);
  --primary:var(--rg-cream);
  --primary-foreground:var(--rg-ink);
  --secondary:var(--rg-ghost);
  --secondary-foreground:var(--rg-cream);
  --muted:var(--rg-fill);
  --muted-foreground:var(--rg-text-3);
  --accent:var(--rg-fill-hover);
  --accent-foreground:var(--rg-cream);
  --destructive:var(--rg-danger-text);    /* texte d'erreur (text-destructive) : sur verre, creux ou surface ;
                                          les aplats d'état passent par .rg-badge--danger */
  --border:var(--rg-line);
  --input:var(--rg-line);
  --ring:var(--rg-cream);
  --radius:14px;
  /* Graphiques et textes d'état des applications. Les apps Rouage emploient
     chart-2 pour « à jour » et chart-3 pour « à surveiller » : ils prennent les
     couleurs d'état de la spec. En texte, uniquement sur surface, creux ou verre
     (contraste mesuré : 6,0 et 6,2:1 sur --rg-surface), jamais sur le bleu nu. */
  --chart-1:var(--rg-cream);
  --chart-2:var(--rg-success-bg);
  --chart-3:var(--rg-warning-bg);
  --chart-4:var(--rg-danger-bg);
  --chart-5:#A9D3F6;
  /* Séries catégorielles des graphiques, distinctes des couleurs d'état (une
     couleur d'état ne sert jamais de série). Paire passée au validateur du skill
     dataviz sur --rg-surface : daltonisme ΔE 13,2 (cible 8), vision normale 28,2
     (plancher 15), au moins 15 avec chaque couleur d'état, contraste 3,14:1 au
     moins. Graphiques posés sur surface, pas sur le bleu nu. Au-delà de deux
     séries, repasser le validateur avant d'ajouter une couleur. */
  --rg-serie-1:#24B6A1;
  --rg-serie-2:#EB9AFD;
  --sidebar:transparent;
  --sidebar-foreground:var(--rg-cream);
  --sidebar-primary:var(--rg-cream);
  --sidebar-primary-foreground:var(--rg-ink);
  --sidebar-accent:var(--rg-fill-hover);
  --sidebar-accent-foreground:var(--rg-cream);
  --sidebar-border:var(--rg-line);
  --sidebar-ring:var(--rg-cream);
}

/* 4. Base ------------------------------------------------------------------- */
@layer base{
  html{background-color:var(--rg-blue);color-scheme:dark}
  body{
    background-color:var(--rg-blue);
    color:var(--rg-cream);
    font-family:var(--rg-font-sans);
    font-size:15px;line-height:1.5;
    -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;
  }
  ::selection{background:var(--rg-cream);color:var(--rg-ink)}
  /* Couleur de bordure par défaut (convention shadcn) : un filet de champ */
  *,::before,::after{border-color:var(--rg-line)}
}

/* Focus : hors couche, pour primer sur les utilitaires `outline-none` des
   composants. Les champs ont leur propre focus (bordure et halo, section 7). */
:focus-visible{outline:2px solid var(--rg-cream);outline-offset:3px}
:is(.rg-input,.rg-textarea,.rg-select):focus-visible{outline:none}

@layer components{

/* 5. Surfaces --------------------------------------------------------------- */

/* Fond de plan : grille majeure, grille mineure, dégradé vertical */
.rg-plan{
  background-color:var(--rg-blue);
  background-image:
    linear-gradient(var(--rg-grid-major) 1px,transparent 1px),
    linear-gradient(90deg,var(--rg-grid-major) 1px,transparent 1px),
    linear-gradient(var(--rg-grid-minor) 1px,transparent 1px),
    linear-gradient(90deg,var(--rg-grid-minor) 1px,transparent 1px),
    linear-gradient(180deg,var(--rg-blue-top),var(--rg-blue-bottom));
  background-size:
    var(--rg-grid-step) var(--rg-grid-step),
    var(--rg-grid-step) var(--rg-grid-step),
    var(--rg-grid-sub) var(--rg-grid-sub),
    var(--rg-grid-sub) var(--rg-grid-sub),
    100% 100%;
}
/* Applications : grille atténuée de moitié, ni halo ni engrenage */
.rg-plan--app{
  --rg-grid-major:rgb(255 253 246 / .12);
  --rg-grid-minor:rgb(255 253 246 / .05);
}

/* Ambiance du site : deux halos qui dérivent et l'engrenage, sous le contenu */
.rg-ambient{position:absolute;inset:0 0 auto;height:min(1600px,100%);overflow:hidden;pointer-events:none;z-index:0}
.rg-halo{position:absolute;border-radius:50%;filter:blur(36px);will-change:transform}
.rg-halo--light{background:radial-gradient(closest-side,var(--rg-halo-light),transparent);animation:rg-drift-a 28s ease-in-out infinite alternate}
.rg-halo--deep{background:radial-gradient(closest-side,var(--rg-halo-deep),transparent);animation:rg-drift-b 34s ease-in-out infinite alternate}

/* Cadre de planche : double filet crème */
.rg-frame{position:fixed;inset:12px;z-index:0;border:1px solid var(--rg-frame-outer);pointer-events:none}
.rg-frame::after{content:"";position:absolute;inset:4px;border:1px solid var(--rg-frame-inner)}

/* Verre : panneaux */
.rg-glass{
  position:relative;isolation:isolate;border-radius:var(--rg-r-panel);
  background:linear-gradient(160deg,rgb(255 255 255 / .10),rgb(14 33 82 / .30)),var(--rg-glass-tint);
  -webkit-backdrop-filter:blur(18px) saturate(160%) brightness(1.06);
  backdrop-filter:blur(18px) saturate(160%) brightness(1.06);
  box-shadow:inset 0 1px 0 rgb(255 255 255 / .30),0 40px 90px -30px rgb(var(--rg-shadow) / .80);
}
/* Verre doux : pilules, navigation, barres, rail du contrôle segmenté, stepper */
.rg-glass-soft,.rg-seg,.rg-stepper{
  position:relative;isolation:isolate;
  background:linear-gradient(180deg,rgb(255 255 255 / .12),rgb(14 33 82 / .24)),var(--rg-glass-soft-tint);
  -webkit-backdrop-filter:blur(15px) saturate(160%) brightness(1.06);
  backdrop-filter:blur(15px) saturate(160%) brightness(1.06);
  box-shadow:inset 0 1px 0 rgb(255 255 255 / .28),0 18px 40px -22px rgb(var(--rg-shadow) / .75);
}
/* Liseré lumineux et reflet intérieur, communs aux deux verres */
.rg-glass::before,.rg-glass-soft::before,.rg-seg::before,.rg-stepper::before{
  content:"";position:absolute;inset:0;border-radius:inherit;padding:1px;pointer-events:none;z-index:2;
  background:linear-gradient(140deg,rgb(255 255 255 / .75),rgb(255 255 255 / .14) 24%,transparent 50%,rgb(175 200 245 / .38) 80%,rgb(255 255 255 / .30));
  -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
}
.rg-glass::after,.rg-glass-soft::after,.rg-seg::after,.rg-stepper::after{
  content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:-1;
  background:radial-gradient(110% 70% at 12% 0%,var(--rg-glass-sheen),transparent 58%);
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .rg-glass{background:rgb(36 74 154 / .92)}
  .rg-glass-soft,.rg-seg,.rg-stepper{background:rgb(36 74 154 / .92)}
}

/* Creux dans un panneau : tableaux denses, formulaires longs, récapitulatifs */
.rg-well{
  border-radius:var(--rg-r-sub);
  background:var(--rg-well-bg);
  box-shadow:inset 0 2px 10px rgb(3 11 28 / .35),inset 0 0 0 1px rgb(255 253 246 / .08);
}
/* Surface opaque des applications : données */
.rg-surface{background:var(--rg-surface);border-radius:var(--rg-r-sub)}

.rg-wrap{width:100%;max-width:calc(var(--rg-max) + 2 * var(--rg-gutter));margin-inline:auto;padding-inline:var(--rg-gutter)}

/* 6. Typographie ------------------------------------------------------------ */
.rg-h1{
  margin:0;font-family:var(--rg-font-display);font-weight:600;
  font-size:34px;line-height:1.04;letter-spacing:-.035em;text-wrap:balance;color:var(--rg-cream);
}
@media (min-width:640px){
  .rg-h1{font-size:clamp(34px,2.2vw + 20px,50px)}
}
/* Applications : H1 à 34px sur tous les écrans, au-dessus de données denses */
.rg-h1.rg-h1--app{font-size:34px}
.rg-h2{margin:0;font-family:var(--rg-font-display);font-weight:500;font-size:18px;line-height:1.3;letter-spacing:-.01em;color:var(--rg-cream)}
.rg-title{margin:0;font-family:var(--rg-font-sans);font-weight:600;font-size:16px;line-height:1.35;color:var(--rg-cream)}
.rg-lede{margin:0;max-width:34ch;font-family:var(--rg-font-sans);font-size:18px;line-height:1.55;color:var(--rg-text-2)}
.rg-body{font-family:var(--rg-font-sans);font-size:15px;line-height:1.5;color:var(--rg-text-2)}
.rg-meta{font-family:var(--rg-font-mono);font-weight:500;font-size:11px;line-height:1.3;letter-spacing:.14em;text-transform:uppercase}
.rg-num{font-family:var(--rg-font-mono);font-variant-numeric:tabular-nums}
.rg-wordmark{font-family:var(--rg-font-display);font-weight:800;letter-spacing:-.02em}

/* 7. Contrôles -------------------------------------------------------------- */

/* Bouton primaire : pilule crème. Au survol, montée en ressort, reflet qui balaie
   (bande à -18°, .75s), flèche qui glisse de 3px. */
.rg-btn{
  position:relative;isolation:isolate;overflow:hidden;
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  min-height:52px;padding:0 26px;border:0;border-radius:var(--rg-r-pill);
  background:linear-gradient(180deg,var(--rg-btn-top),var(--rg-btn-bottom));
  color:var(--rg-ink);font-family:var(--rg-font-sans);font-weight:600;font-size:15px;line-height:1.2;
  text-decoration:none;white-space:nowrap;cursor:pointer;
  box-shadow:inset 0 1px 0 #fff,0 14px 30px -16px rgb(var(--rg-shadow) / .85);
  transition:transform var(--rg-dur-spring) var(--rg-ease-spring),box-shadow var(--rg-dur-spring) var(--rg-ease-out);
}
.rg-btn::before{
  content:"";position:absolute;z-index:-1;top:-20%;bottom:-20%;left:0;width:36%;pointer-events:none;
  background:linear-gradient(90deg,transparent,rgb(255 255 255 / .9),transparent);
  transform:translateX(-200%) skewX(-18deg);
}
.rg-btn::after{
  content:"";flex:none;width:16px;height:16px;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 8h10.5M9 4l4 4-4 4' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 8h10.5M9 4l4 4-4 4' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  transition:transform var(--rg-dur-spring) var(--rg-ease-spring);
}
.rg-btn--plain::after{content:none}
@media (hover:hover){
  .rg-btn:hover{transform:translateY(-2px);color:var(--rg-ink);box-shadow:inset 0 1px 0 #fff,0 20px 36px -16px rgb(var(--rg-shadow) / .9)}
  .rg-btn:hover::before{animation:rg-sheen .75s var(--rg-ease-out)}
  .rg-btn:hover::after{transform:translateX(3px)}
}
.rg-btn:active{transform:translateY(0)}
.rg-btn:disabled,.rg-btn[aria-disabled="true"]{opacity:.4;cursor:not-allowed;transform:none;box-shadow:inset 0 1px 0 #fff}
.rg-btn:disabled::before,.rg-btn[aria-disabled="true"]::before{content:none}
.rg-btn:disabled::after,.rg-btn[aria-disabled="true"]::after{transform:none}
.rg-btn--sm{min-height:44px;padding:0 20px;font-size:14px}

/* Bouton secondaire : pilule de verre doux, texte crème, sans flèche ni reflet.
   La teinte bleu nuit du bas du verre tient le contraste du texte. */
.rg-btn--ghost{
  background:linear-gradient(180deg,rgb(255 255 255 / .10),rgb(14 33 82 / .34));
  color:var(--rg-cream);font-weight:500;
  -webkit-backdrop-filter:blur(15px) saturate(160%);backdrop-filter:blur(15px) saturate(160%);
  box-shadow:inset 0 1px 0 rgb(255 255 255 / .28),inset 0 0 0 1px rgb(255 253 246 / .16);
}
.rg-btn--ghost::before,.rg-btn--ghost::after{content:none}
@media (hover:hover){
  .rg-btn--ghost:hover{color:var(--rg-cream);background:linear-gradient(180deg,rgb(255 255 255 / .14),rgb(14 33 82 / .30));box-shadow:inset 0 1px 0 rgb(255 255 255 / .34),inset 0 0 0 1px rgb(255 253 246 / .28)}
}

/* Bouton rond fantôme, 44px : icônes (fermer, menu, précédent, suivant) */
.rg-btn-icon{
  display:inline-flex;align-items:center;justify-content:center;flex:none;
  width:44px;height:44px;padding:0;border:1px solid var(--rg-ghost-line);border-radius:50%;
  background:var(--rg-ghost);color:var(--rg-cream);cursor:pointer;
  transition:background var(--rg-dur-spring) var(--rg-ease-out),transform var(--rg-dur-spring) var(--rg-ease-spring);
}
@media (hover:hover){.rg-btn-icon:hover{background:var(--rg-fill-hover);transform:translateY(-1px)}}
.rg-btn-icon:disabled{opacity:.4;cursor:not-allowed;transform:none}

/* Lien : souligné à .35, plein au survol */
.rg-link{
  color:var(--rg-cream);text-decoration:underline;text-decoration-thickness:1px;
  text-decoration-color:rgb(255 253 246 / .35);text-underline-offset:5px;
  transition:text-decoration-color var(--rg-dur-spring) var(--rg-ease-out);
}
.rg-link:hover{color:var(--rg-cream);text-decoration-color:var(--rg-cream)}

/* Contrôle segmenté « liquide » : rail de verre doux, pastille crème qui glisse.
   Le bord avant part en premier (.38s), le bord arrière suit (.62s, +60ms) :
   la pastille s'étire comme une goutte. La pastille est posée par le script du
   composant (data-live) ; sans script, l'option active porte son propre fond. */
.rg-seg{display:inline-flex;flex-wrap:nowrap;gap:2px;padding:4px;border-radius:var(--rg-r-pill)}
.rg-seg__opt{
  position:relative;z-index:1;flex:1 1 auto;min-height:44px;padding:0 18px;
  border:0;border-radius:var(--rg-r-pill);background:transparent;
  color:var(--rg-cream);font-family:var(--rg-font-sans);font-weight:500;font-size:14px;line-height:1.2;
  white-space:nowrap;cursor:pointer;transition:color .3s var(--rg-ease-out);
}
.rg-seg__opt:is([aria-checked="true"],[aria-selected="true"],[aria-pressed="true"],[data-checked]){color:var(--rg-ink)}
/* Variante à boutons radio : <label class="rg-seg__opt" data-checked><input type="radio" class="sr-only"> */
.rg-seg__opt:has(:focus-visible){outline:2px solid var(--rg-cream);outline-offset:3px}
.rg-seg:not([data-live]) .rg-seg__pill{display:none}
.rg-seg:not([data-live]) .rg-seg__opt:is([aria-checked="true"],[aria-selected="true"],[aria-pressed="true"],[data-checked]){
  background:linear-gradient(180deg,var(--rg-btn-top),var(--rg-btn-bottom));box-shadow:inset 0 1px 0 #fff;
}
.rg-seg__pill{
  position:absolute;z-index:0;top:4px;bottom:4px;left:var(--rg-seg-l,4px);right:var(--rg-seg-r,4px);
  border-radius:var(--rg-r-pill);pointer-events:none;
  background:linear-gradient(180deg,var(--rg-btn-top),var(--rg-btn-bottom));
  box-shadow:inset 0 1px 0 #fff,0 6px 16px -8px rgb(var(--rg-shadow) / .7);
  transition:right .38s var(--rg-ease-out),left .62s var(--rg-ease-out) 60ms;
}
.rg-seg[data-dir="left"] .rg-seg__pill{transition:left .38s var(--rg-ease-out),right .62s var(--rg-ease-out) 60ms}

/* Champs */
.rg-field{display:flex;flex-direction:column;gap:8px}
.rg-label{font-family:var(--rg-font-sans);font-weight:500;font-size:14px;line-height:1.3;color:var(--rg-cream)}
.rg-input,.rg-textarea,.rg-select{
  width:100%;min-height:50px;padding:0 16px;
  border:1px solid var(--rg-line);border-radius:var(--rg-r-ctrl);
  background:var(--rg-field-bg);color:var(--rg-cream);
  font-family:var(--rg-font-sans);font-size:16px;line-height:1.4;
  transition:border-color .2s var(--rg-ease-out),box-shadow .2s var(--rg-ease-out);
}
.rg-textarea,textarea.rg-input{min-height:120px;padding:13px 16px;resize:vertical}
.rg-input::placeholder,.rg-textarea::placeholder{color:var(--rg-placeholder);opacity:1}
.rg-input:focus,.rg-textarea:focus,.rg-select:focus{outline:none;border-color:var(--rg-focus-line);box-shadow:0 0 0 4px var(--rg-focus-halo)}
.rg-input[aria-invalid="true"],.rg-textarea[aria-invalid="true"]{border-color:var(--rg-danger-bg)}
.rg-input:disabled,.rg-textarea:disabled{opacity:.5;cursor:not-allowed}
.rg-error{margin:0;font-size:14px;line-height:1.4;color:var(--rg-danger-text)}   /* sur verre uniquement */
.rg-hint{margin:0;font-size:13px;line-height:1.4;color:var(--rg-text-3)}         /* sur verre uniquement */

/* Cases sélectionnables : jours, créneaux, options. Sélection : fond crème et pop. */
.rg-choice{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:44px;min-height:44px;padding:0 14px;border:0;border-radius:var(--rg-r-ctrl);
  background:var(--rg-fill);color:var(--rg-cream);
  font-family:inherit;font-weight:500;font-size:15px;line-height:1;cursor:pointer;
  transition:background var(--rg-dur-spring) var(--rg-ease-out),transform var(--rg-dur-spring) var(--rg-ease-spring),color var(--rg-dur-spring) var(--rg-ease-out);
}
@media (hover:hover){.rg-choice:hover{background:var(--rg-fill-hover)}}
.rg-choice:is([aria-pressed="true"],[aria-checked="true"],[aria-selected="true"],[data-checked]){
  background:var(--rg-cream);color:var(--rg-ink);transform:scale(1.06);
  animation:rg-pop .6s var(--rg-ease-out);
}
.rg-choice:disabled,.rg-choice[aria-disabled="true"]{opacity:.35;cursor:not-allowed;background:transparent}

/* Stepper : numéros 01 / 02 en mono, étape active en crème plein */
.rg-stepper{display:inline-flex;align-items:center;gap:2px;margin:0;padding:4px;list-style:none;border-radius:var(--rg-r-pill)}
.rg-stepper__item{
  display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:0 14px;
  border-radius:var(--rg-r-pill);color:var(--rg-text-3);
  font-family:var(--rg-font-sans);font-weight:500;font-size:13px;line-height:1;white-space:nowrap;
  transition:background var(--rg-dur-spring) var(--rg-ease-out),color var(--rg-dur-spring) var(--rg-ease-out);
}
.rg-stepper__num{font-family:var(--rg-font-mono);font-size:11px;letter-spacing:.08em;font-variant-numeric:tabular-nums}
.rg-stepper__item[aria-current="step"]{background:var(--rg-cream);color:var(--rg-ink)}
.rg-stepper__item[data-done]{color:var(--rg-cream)}

/* Badges de statut : pastilles pleines. Jamais de texte coloré sur le bleu. */
.rg-badge{
  display:inline-flex;align-items:center;gap:6px;min-height:24px;padding:0 10px;
  border-radius:var(--rg-r-pill);white-space:nowrap;
  font-family:var(--rg-font-sans);font-weight:600;font-size:12px;line-height:1;
  background:var(--rg-field-bg);color:var(--rg-cream);box-shadow:inset 0 0 0 1px var(--rg-line);
}
.rg-badge--success{background:var(--rg-success-bg);color:var(--rg-success-fg);box-shadow:none}
.rg-badge--warning{background:var(--rg-warning-bg);color:var(--rg-warning-fg);box-shadow:none}
.rg-badge--danger{background:var(--rg-danger-bg);color:var(--rg-danger-fg);box-shadow:none}

/* Skeleton : bande crème de .05 à .20 qui balaie en 1.1s */
.rg-skeleton{position:relative;overflow:hidden;border-radius:8px;background:rgb(255 253 246 / .05)}
.rg-skeleton::after{
  content:"";position:absolute;inset:0;transform:translateX(-100%);
  background:linear-gradient(90deg,transparent,rgb(255 253 246 / .20),transparent);
  animation:rg-skeleton 1.1s linear infinite;
}

/* Tableau dense des applications, posé sur .rg-well ou .rg-surface */
.rg-table{width:100%;border-collapse:collapse;font-size:14px}
.rg-table th{
  padding:10px 14px;text-align:left;border-bottom:1px solid var(--rg-line);
  font-family:var(--rg-font-mono);font-weight:500;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--rg-text-3);
}
.rg-table td{padding:12px 14px;border-bottom:1px solid var(--rg-rule);color:var(--rg-cream)}
.rg-table tr:last-child td{border-bottom:0}
.rg-table .rg-num,.rg-table td[data-num]{text-align:right;font-family:var(--rg-font-mono);font-variant-numeric:tabular-nums}

/* 8. Éléments de plan : chacun porte une information réelle.
   Angles droits : les arrondis sont réservés au verre et aux contrôles. */

/* Eyebrow : trait de 28px puis libellé mono en capitales */
.rg-eyebrow{
  display:flex;align-items:center;gap:12px;margin:0;color:var(--rg-cream);
  font-family:var(--rg-font-mono);font-weight:500;font-size:11px;line-height:1.3;letter-spacing:.14em;text-transform:uppercase;
}
.rg-eyebrow::before{content:"";flex:none;width:28px;height:1px;background:currentColor}

/* Repère numéroté : une vraie séquence d'étapes, rien d'autre */
.rg-repere{
  display:inline-flex;align-items:center;justify-content:center;flex:none;
  width:24px;height:24px;border:1px solid rgb(255 253 246 / .7);border-radius:50%;color:var(--rg-cream);
  font-family:var(--rg-font-mono);font-weight:500;font-size:11px;line-height:1;font-variant-numeric:tabular-nums;
}

/* Cote : ligne fléchée aux deux bouts, valeur mono au centre. La longueur suit
   --rg-cote (0 à 100 %) et s'anime quand la valeur change.
   <span class="rg-cote" style="--rg-cote:60%"><i></i><b>30 min</b><i></i></span> */
.rg-cote{
  display:flex;align-items:center;gap:10px;width:var(--rg-cote,100%);min-width:max-content;max-width:100%;
  color:var(--rg-cream);transition:width .6s var(--rg-ease-spring);
}
.rg-cote>i{position:relative;flex:1 1 0;min-width:14px;height:1px;background:rgb(255 253 246 / .7)}
.rg-cote>i::before,.rg-cote>i::after{content:"";position:absolute;background:rgb(255 253 246 / .7)}
.rg-cote>i::before{top:-3.5px;width:8px;height:8px}
.rg-cote>i::after{top:-7px;width:1px;height:15px}
.rg-cote>i:first-child::before{left:0;clip-path:polygon(0 50%,100% 0,100% 100%)}
.rg-cote>i:first-child::after{left:0}
.rg-cote>i:last-child::before{right:0;clip-path:polygon(100% 50%,0 0,0 100%)}
.rg-cote>i:last-child::after{right:0}
.rg-cote>b{
  flex:none;white-space:nowrap;font-family:var(--rg-font-mono);font-weight:500;font-size:12px;line-height:1;
  letter-spacing:.06em;font-variant-numeric:tabular-nums;
}

/* Nomenclature : libellé / valeur séparés par des filets, en-tête mono */
.rg-nomenclature{margin:0;border-radius:0}
.rg-nomenclature__head{
  display:flex;justify-content:space-between;gap:16px;padding:0 0 10px;border-bottom:1px solid var(--rg-line);
  font-family:var(--rg-font-mono);font-weight:500;font-size:11px;line-height:1.3;letter-spacing:.14em;text-transform:uppercase;color:var(--rg-cream);
}
.rg-nomenclature__row{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:11px 0;border-bottom:1px solid var(--rg-rule)}
.rg-nomenclature__row:last-child{border-bottom:0}
.rg-nomenclature__row>dt,.rg-nomenclature__k{margin:0;color:var(--rg-text-2);font-size:14px}
.rg-nomenclature__row>dd,.rg-nomenclature__v{margin:0;color:var(--rg-cream);font-weight:500;font-size:14px;text-align:right}

/* Cartouche : petit tableau à angles droits en pied de page */
.rg-cartouche{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0;border:1px solid var(--rg-frame-outer);border-radius:0}
.rg-cartouche>div{display:flex;flex-direction:column;gap:4px;min-width:0;padding:10px 14px;border-left:1px solid var(--rg-frame-inner)}
.rg-cartouche>div:first-child{border-left:0}
.rg-cartouche dt{font-family:var(--rg-font-mono);font-weight:500;font-size:10px;line-height:1.2;letter-spacing:.16em;text-transform:uppercase;color:var(--rg-text-2)}
.rg-cartouche dd{margin:0;font-weight:600;font-size:13px;line-height:1.3;color:var(--rg-cream);overflow-wrap:anywhere}
@media (max-width:639px){
  .rg-cartouche{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rg-cartouche>div:nth-child(3){border-left:0}
  .rg-cartouche>div:nth-child(n+3){border-top:1px solid var(--rg-frame-inner)}
}

/* Engrenage technique : roue à 12 dents au trait, cercle primitif en
   pointillés, axes en trait mixte, cote de diamètre. Un seul par page, en fond,
   un tour en 160s. Jamais derrière des données. */
.rg-gear{position:absolute;pointer-events:none;color:var(--rg-cream)}
.rg-gear svg{display:block;width:100%;height:100%;overflow:visible}
.rg-gear__teeth{fill:none;stroke:rgb(255 253 246 / .6);stroke-width:1.5;transform-box:view-box;transform-origin:50% 50%;animation:rg-spin 160s linear infinite}
.rg-gear__pitch{fill:none;stroke:rgb(255 253 246 / .45);stroke-width:1;stroke-dasharray:3 6}
.rg-gear__axis{stroke:rgb(255 253 246 / .45);stroke-width:1;stroke-dasharray:14 4 2 4}
.rg-gear__cote{stroke:rgb(255 253 246 / .6);stroke-width:1;fill:none}
.rg-gear__head{fill:rgb(255 253 246 / .6)}
.rg-gear__val{fill:var(--rg-cream);font-family:var(--rg-font-mono);font-weight:500;font-size:13px;letter-spacing:.06em}

/* 9. Mouvement -------------------------------------------------------------- */

/* Entrée des textes : de 14px plus bas et flou de 6px vers l'état net.
   Cascade de 80ms par --rg-i. Aucune opacité : le texte reste lisible même
   si l'animation ne joue pas. */
.rg-in{animation:rg-text-in .9s var(--rg-ease-out) both;animation-delay:calc(var(--rg-i,0) * 80ms + var(--rg-delay,0ms))}
/* Entrée des panneaux : de 22px plus bas et à .985 vers l'état final, en 1s */
.rg-rise{animation:rg-panel-in 1s var(--rg-ease-out) both;animation-delay:calc(var(--rg-i,0) * 80ms + var(--rg-delay,0ms))}

/* Logo : la roue arrive en tournant (-200° vers 0, 1.6s), tourne de +30° au survol.
   Deux groupes imbriqués : l'entrée sur .rg-logo__gear-in, le survol sur
   .rg-logo__gear-turn, pour que l'animation finie n'écrase pas la transition. */
.rg-logo__gear-in,.rg-logo__gear-turn{transform-box:fill-box;transform-origin:50% 50%}
.rg-logo__gear-in{animation:rg-gear-in 1.6s var(--rg-ease-out) both}
.rg-logo__gear-turn{transition:transform .6s var(--rg-ease-spring)}
.rg-logo:hover .rg-logo__gear-turn{transform:rotate(30deg)}

/* Au scroll (site) : les titres s'écrivent, les traits SVG se dessinent, une
   seule fois. L'état « armé » n'est posé que par le script, et seulement sur ce
   qui est encore sous le pli : sans script, ou à l'arrêt, tout est déjà affiché. */
.rg-armed[data-rg-write]{clip-path:inset(-10% 100% -10% 0)}
.rg-drawn[data-rg-write]{clip-path:inset(-10% 0 -10% 0);transition:clip-path 1.1s var(--rg-ease-out)}
.rg-armed [data-rg-stroke]{stroke-dasharray:1;stroke-dashoffset:1}
.rg-drawn [data-rg-stroke]{stroke-dasharray:1;stroke-dashoffset:0;transition:stroke-dashoffset 1.4s var(--rg-ease-out)}

} /* fin @layer components */

@keyframes rg-text-in{from{transform:translateY(14px);filter:blur(6px)}}
@keyframes rg-panel-in{from{transform:translateY(22px) scale(.985)}}
@keyframes rg-pop{
  0%{transform:scale(.72);border-radius:var(--rg-r-pill)}
  55%{transform:scale(1.13);border-radius:calc(var(--rg-r-ctrl) * 1.6)}
  100%{transform:scale(1.06);border-radius:var(--rg-r-ctrl)}
}
@keyframes rg-sheen{from{transform:translateX(-200%) skewX(-18deg)}to{transform:translateX(420%) skewX(-18deg)}}
@keyframes rg-gear-in{from{transform:rotate(-200deg)}}
@keyframes rg-spin{to{transform:rotate(360deg)}}
@keyframes rg-skeleton{to{transform:translateX(100%)}}
@keyframes rg-drift-a{from{transform:translate(0,0) scale(1)}to{transform:translate(90px,50px) scale(1.08)}}
@keyframes rg-drift-b{from{transform:translate(0,0) scale(1)}to{transform:translate(-110px,70px) scale(1.1)}}

/* 10. Mouvement réduit : animations et transitions coupées, état final affiché */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}

/* ===== base/base.css ===== */
/* Socle du site : planche, mise en page, typographie de base, boutons hérités.
   Les composants (verre, boutons, éléments de plan) viennent de rouage-tokens.css ;
   ce fichier ne fait que les poser sur la page. */
html{scroll-behavior:smooth;scroll-padding-top:calc(env(safe-area-inset-top,0px) + 110px)}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
body{
  position:relative;margin:0;min-height:100vh;overflow-x:clip;
  padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px);
}
/* Le contenu passe au-dessus de l'ambiance (partials/ambient.html) et du cadre.
   .m-cta et .mnav sont déjà fixes, avec leur propre z-index : ne pas les lister. */
body>main,body>footer{position:relative;z-index:1}
/* Règles d'éléments dans la couche base : elles ne doivent jamais primer sur un
   composant (.rg-btn porte sa propre couleur de texte sur un <a>). */
@layer base{
  img,svg{max-width:100%}
  a{color:var(--rg-cream)}
  h1,h2,h3{margin:0;color:var(--rg-cream)}
}
.sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip{position:absolute;left:24px;top:-60px;z-index:100;padding:12px 18px;border-radius:var(--rg-r-pill);background:var(--rg-cream);color:var(--rg-ink);font-weight:600;text-decoration:none}
.skip:focus{top:calc(env(safe-area-inset-top,0px) + 24px)}
.wrap{max-width:calc(var(--rg-max) + 2 * var(--rg-gutter));margin:0 auto;padding-inline:var(--rg-gutter)}

/* Sections : l'espace sépare, pas un filet */
.sec{padding-block:clamp(48px,6vw,72px)}

/* En-tête de section : titre H2 et phrase d'appui, posés sur un filet */
.sec-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,440px);gap:12px 48px;align-items:end;margin-bottom:32px;padding-bottom:18px;border-bottom:1px solid var(--rg-frame-inner)}
.sec-head p{margin:0;color:var(--rg-text-2)}
@media (max-width:860px){
  .sec-head{grid-template-columns:minmax(0,1fr)}
}

/* ===== base/patterns.css ===== */
/* Patrons de section partagés par toutes les pages.
   Un module ne redéfinit ici que ce qui lui est propre.
   Migrés : hero de page, plans, barre mobile (verre et composants de
   rouage-tokens.css). Les autres patrons lisent encore base/legacy.css et
   base/glass.css jusqu'à la migration de la page qui les porte. */

/* Hero de page : eyebrow, titre, chapô, actions ; à droite, le plan dessiné
   sur un panneau de verre (.fig.rg-glass). */
.p-hero .wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,520px);gap:clamp(40px,5vw,72px);align-items:center;padding-block:clamp(24px,3vw,40px) clamp(32px,5vw,64px)}
.p-hero .rg-eyebrow{margin-bottom:24px}
.p-hero .rg-lede{margin-top:24px}
.p-hero .ctas{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}
@media (max-width:980px){
  .p-hero .wrap{grid-template-columns:minmax(0,1fr)}
}

/* Plans dessinés au trait, communs à toutes les pages */
.fig{margin:0}
.p-hero .fig{padding:clamp(20px,3vw,32px)}
.fig svg{display:block;width:100%;height:auto}
.fig figcaption{margin-top:16px;font-family:var(--rg-font-mono);font-weight:500;font-size:11px;line-height:1.5;letter-spacing:.12em;text-transform:uppercase;color:var(--rg-text-3)}
.plan .stroke{fill:none;stroke:var(--rg-cream);stroke-width:2;stroke-linejoin:round}
.plan .gear{fill:none;stroke:var(--rg-cream);stroke-width:2;stroke-linejoin:round}
.plan .axis{stroke:rgb(255 253 246 / .55);stroke-width:1;stroke-dasharray:14 4 2 4}
.plan .lead{fill:none;stroke:var(--rg-cream);stroke-width:1.25}
.plan .lead.open{stroke-dasharray:6 5}
.plan .dot{fill:var(--rg-cream)}
.plan .lbl{fill:var(--rg-cream);font:600 16px var(--rg-font-sans)}
.plan .sub{fill:var(--rg-cream);font:500 11px var(--rg-font-mono);letter-spacing:.12em;text-transform:uppercase}
.plan .cote{fill:none;stroke:rgb(255 253 246 / .7);stroke-width:1.25}

/* Déroulé en trois temps : repères numérotés reliés par un trait */
.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.step{display:flex;flex-direction:column;gap:18px}
.step-top{display:flex;align-items:center;gap:12px}
.link{flex:1;height:1px;margin-right:12px;background:rgb(255 253 246 / .45)}
.step-body{padding-right:40px;display:flex;flex-direction:column;gap:8px}
.step-body h3{font:600 16px/1.35 var(--rg-font-sans)}
.step-body p{margin:0;color:var(--rg-text-2)}
@media (max-width:980px){
  .steps{grid-template-columns:minmax(0,1fr);gap:32px}
  .link{display:none}
  .step-body{padding-right:0}
}

/* Preuve : le propos à gauche, ce qui se vérifie à droite sur un panneau de verre */
.proof{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(40px,6vw,96px);align-items:start}
.proof p{margin:20px 0 0;max-width:60ch;color:var(--rg-text-2)}
.prod{padding:clamp(24px,3vw,36px);border-radius:var(--rg-r-sub)}
.prod h3{font:600 16px/1.35 var(--rg-font-sans)}
.prod ul{list-style:none;margin:20px 0 0;padding:0;display:flex;flex-direction:column;gap:14px}
.prod li{display:flex;gap:14px;align-items:flex-start;color:var(--rg-text-2)}
.prod li svg{flex:none;width:20px;height:20px;margin-top:2px}
.prod li path{fill:none;stroke:var(--rg-cream);stroke-width:2.5}
@media (max-width:980px){
  .proof{grid-template-columns:minmax(0,1fr)}
}

/* Grille de cartes de verre (obligations, livrables, arguments) */
.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.cards.trois{grid-template-columns:repeat(3,minmax(0,1fr))}
.cards.deux{grid-template-columns:repeat(2,minmax(0,1fr))}
.card{padding:28px;display:flex;flex-direction:column;gap:12px;border-radius:var(--rg-r-sub)}
.card .num{font:500 11px/1 var(--rg-font-mono);letter-spacing:.14em;font-variant-numeric:tabular-nums;color:var(--rg-cream)}
.card h3{font:600 16px/1.35 var(--rg-font-sans)}
.card p{margin:0;font-size:15px;color:var(--rg-text-2)}
/* Pictogramme au trait sur une tuile fantôme */
.card .pic{width:48px;height:48px;padding:11px;margin-bottom:4px;border-radius:var(--rg-r-ctrl);background:var(--rg-ghost);box-shadow:inset 0 0 0 1px var(--rg-ghost-line);overflow:visible}
.card .pic :is(path,circle,line,rect,polyline){fill:none;stroke:var(--rg-cream);stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
@media (max-width:1140px){
  .cards,.cards.trois{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:680px){
  .cards,.cards.trois,.cards.deux{grid-template-columns:minmax(0,1fr)}
  .card{padding:24px}
}

/* Deux colonnes opposées : pour qui, et pour qui ce n'est pas */
.duo{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.duo .col{padding:clamp(24px,3vw,36px);display:flex;flex-direction:column;gap:16px;border-radius:var(--rg-r-sub)}
.duo h3{font:600 16px/1.35 var(--rg-font-sans)}
.duo ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}
.duo li{display:flex;gap:14px;align-items:flex-start;color:var(--rg-text-2)}
.duo li svg{flex:none;width:20px;height:20px;margin-top:2px}
.duo li svg path{fill:none;stroke:var(--rg-cream);stroke-width:2.5;stroke-linecap:round}
@media (max-width:980px){
  .duo{grid-template-columns:minmax(0,1fr)}
}

/* Questions fréquentes : un panneau de verre, une question par ligne */
.faq{max-width:900px;padding:8px clamp(20px,3vw,32px);border-radius:var(--rg-r-sub)}
.faq details+details{border-top:1px solid var(--rg-rule)}
.faq summary{list-style:none;cursor:pointer;min-height:44px;padding:20px 44px 20px 0;position:relative;font:600 16px/1.4 var(--rg-font-sans);color:var(--rg-cream)}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after,.faq summary::before{content:"";position:absolute;top:50%;background:var(--rg-cream)}
.faq summary::after{right:8px;width:14px;height:1.5px;transform:translateY(-50%)}
.faq summary::before{right:14.25px;width:1.5px;height:14px;transform:translateY(-50%);transition:transform var(--rg-dur-spring) var(--rg-ease-spring)}
.faq details[open] summary::before{transform:translateY(-50%) scaleY(0)}
.faq .rep{margin:0;padding:0 44px 22px 0;max-width:70ch;color:var(--rg-text-2)}
.faq .rep+.rep{padding-top:0;margin-top:-8px}
.faq .todo{font-size:14px}

/* Offre mise en avant : liseré crème, jamais d'aplat */
.rg-glass.mise-en-avant{box-shadow:inset 0 0 0 1.5px rgb(255 253 246 / .7),inset 0 1px 0 rgb(255 255 255 / .30),0 40px 90px -30px rgb(var(--rg-shadow) / .80)}

/* Phrase de contrôle sous une grille de cartes : un eyebrow centré au-dessus de
   la phrase qui la développe. Une cote ne porte qu'une grandeur réelle. */
.contrainte-repere{justify-content:center;margin-top:48px}

/* Bouton d'action fixé en bas de l'écran sur mobile (trois variantes de module) :
   barre de verre doux, bouton primaire sur toute la largeur */
.m-cta{display:none}
@media (max-width:980px){
  .m-cta{display:block;position:fixed;left:24px;right:24px;bottom:calc(24px + env(safe-area-inset-bottom,0px));z-index:45;padding:6px;border-radius:var(--rg-r-pill)}
  .m-cta .rg-btn{width:100%}
  body{padding-bottom:110px}
  body.m-open .m-cta{display:none}
}

/* Pages légales : la cote de mise à jour, puis un bloc de verre par article ;
   l'identité et les conditions en nomenclature (libellé à gauche, valeur lisible
   à droite, alignée à gauche). */
.legal .legal-cote{max-width:880px;margin:28px 0 0}
.legal-corps{max-width:880px;margin-top:clamp(32px,4vw,48px);display:grid;gap:16px}
.legal-bloc{padding:clamp(22px,3.4vw,36px)}
.legal-bloc .rg-h2{margin:0 0 16px}
.legal-corps p{margin:0 0 14px;max-width:70ch;font-size:15px;line-height:1.65;color:var(--rg-text-2)}
.legal-bloc p:last-child{margin-bottom:0}
.legal-corps .rg-nomenclature{margin:0}
.legal-corps .rg-nomenclature__row{display:grid;grid-template-columns:minmax(150px,210px) 1fr;align-items:start;gap:4px 24px;padding:14px 0}
.legal-corps .rg-nomenclature__row>dt{font-size:13px;line-height:1.5}
.legal-corps .rg-nomenclature__row>dd{text-align:left;font-weight:400;font-size:15px;line-height:1.6;max-width:62ch}
.legal-corps .todo{font-size:14px;line-height:1.6}
.legal-corps .avert{padding:18px 20px}
@media (max-width:640px){
  .legal-corps .rg-nomenclature__row{grid-template-columns:1fr}
}

/* Lecture en deux niveaux : une phrase d'essentiel visible, le détail et sa
   source repliés dans la carte ; en-tête de section empilé ; bandeau « à retenir ». */
.sec-head--pile{grid-template-columns:minmax(0,1fr);align-items:start}
.sec-head--pile p{max-width:62ch}
.cards .card.large{grid-column:1/-1}
.cards:has(.detail){align-items:start}
.card p.lead{font-size:16px;line-height:1.5;color:var(--rg-cream)}
.detail summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:8px;min-height:44px;font:500 13px/1 var(--rg-font-mono);letter-spacing:.06em;color:var(--rg-cream)}
.detail summary::-webkit-details-marker{display:none}
.detail summary::before{content:"+";display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;box-shadow:inset 0 0 0 1px var(--rg-ghost-line);font:500 14px/1 var(--rg-font-mono)}
.detail[open] summary::before{content:"\2212"}
.detail>p{margin:4px 0 0;font-size:15px;line-height:1.6}
.detail>p.source{margin-top:12px;font:400 12px/1.6 var(--rg-font-mono);letter-spacing:.03em;color:var(--rg-text-3)}
.retenir{padding-block:0}
.retenir-liste{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-radius:var(--rg-r-sub)}
.retenir-liste li{display:flex;flex-direction:column;gap:6px;padding:22px 26px}
.retenir-liste li+li{border-left:1px solid var(--rg-rule)}
.retenir-liste b{font:500 11px/1.3 var(--rg-font-mono);letter-spacing:.14em;text-transform:uppercase;color:var(--rg-cream)}
.retenir-liste span{font-size:15px;line-height:1.5;color:var(--rg-text-2)}
@media (max-width:760px){
  .retenir-liste{grid-template-columns:minmax(0,1fr)}
  .retenir-liste li+li{border-left:0;border-top:1px solid var(--rg-rule)}
}

/* Fond du site : le bleu du contrat Rouage (couverture : dégradé #2F6BDD vers
   #2660D0), plus clair et plus vif que le bleu adouci du design system. */
:root{--rg-blue:#2F6BDD;--rg-blue-top:#2F6BDD;--rg-blue-bottom:#2660D0}

/* Hero d'action (Passer à l'action) : liste de ce qu'on livre, bouton, mention de prix */
.hero-points{list-style:none;margin:4px 0 0;padding:0;display:flex;flex-direction:column;gap:10px}
.hero-points li{position:relative;padding-left:30px;font:500 16px/1.4 var(--rg-font-sans)}
.hero-points li::before{content:"";position:absolute;left:0;top:2px;width:20px;height:20px;border-radius:999px;background:var(--blue-ink,#234895)}
.hero-points li::after{content:"";position:absolute;left:7px;top:6px;width:5px;height:9px;border:solid var(--rg-cream);border-width:0 2px 2px 0;transform:rotate(45deg)}
.hero-note{margin:0;font-size:14px;line-height:1.4;color:var(--ink-2)}
@media (max-width:720px){
  .hero-points{gap:6px}
  .hero-points li{font-size:15px}
  .hero-points li:nth-child(n+4){display:none}
}

/* ===== base/logo.css ===== */
/* Logo Rouage (partials/logo.html) : contours vectorisés du wordmark, repris de
   Rouage/apps/rouage-rdv/web/public/rouage-logo-creme.svg (Unbounded 800, roue
   crantée à 12 dents à la place du o, sans traits de vitesse depuis le 08/10/2026).
   Tout en crème ; l'anneau et le trou de la roue restent évidés, le plan s'y voit.
   Mouvement de la roue (arrivée en tournant, +30° au survol) : rouage-tokens.css,
   classes .rg-logo__gear-in et .rg-logo__gear-turn. */
.logo{display:inline-flex;align-items:center;text-decoration:none;font-size:28px;line-height:1}
.lg{display:block;height:.95em;width:auto;aspect-ratio:4906.67/986.72;overflow:visible}
.lg-l,.lg-gear{fill:var(--rg-cream)}

/* ===== base/motion.css ===== */
/* Mouvement du site. Les keyframes et les classes génériques (.rg-in, .rg-rise,
   logo, écriture au scroll) sont dans rouage-tokens.css ; ici, leur pose sur les
   pages et l'ambiance.
   - Chargement : roue du logo, titre mot à mot, eyebrow, chapô, actions, plan.
     Translation et flou seulement, jamais d'opacité : le texte se lit toujours.
   - Ambiance : deux halos qui dérivent (28s, 34s), engrenage (un tour en 160s).
   - Scroll : titres qui s'écrivent, traits qui se dessinent, une fois
     (base/motion.js, rien n'est masqué sans script).
   - prefers-reduced-motion : tout est coupé par rouage-tokens.css. */

/* ---------- Ambiance (partials/ambient.html) ----------
   Le cœur du halo clair reste hors des zones de texte : posé au-delà du coin
   haut gauche, seule sa frange éclaire la planche. Mesure du contraste : DESIGN.md. */
.rg-halo--light{width:820px;height:820px;left:-590px;top:-670px}
.rg-halo--deep{width:900px;height:900px;right:-360px;top:120px}
.amb-gear{right:-60px;top:96px;width:500px;height:508px}
/* La 404 dessine déjà sa roue : un seul engrenage par page */
body:has(.e404) .amb-gear{display:none}
@media (max-width:860px){
  .rg-halo--light{width:560px;height:560px;left:-420px;top:-460px}
  .rg-halo--deep{width:560px;height:560px;right:-300px;top:180px}
  .amb-gear{right:-170px;top:72px;width:340px;height:345px;opacity:.55}
}

/* ---------- Chargement ---------- */
/* Titre écrit mot à mot : chaque .w entre en cascade de 80ms */
h1 .w{display:inline-block;animation:rg-text-in .9s var(--rg-ease-out) both}
h1 .w:nth-child(1){animation-delay:.25s}
h1 .w:nth-child(2){animation-delay:.33s}
h1 .w:nth-child(3){animation-delay:.41s}
h1 .w:nth-child(4){animation-delay:.49s}
h1 .w:nth-child(5){animation-delay:.57s}
h1 .w:nth-child(6){animation-delay:.65s}
h1 .w:nth-child(7){animation-delay:.73s}
h1 .w:nth-child(8){animation-delay:.81s}
h1 .w:nth-child(9){animation-delay:.89s}
h1 .w:nth-child(n+10){animation-delay:.97s}
/* Le dernier mot du hero d'accueil se souligne une fois écrit */
.souligne{background:linear-gradient(var(--rg-cream),var(--rg-cream)) no-repeat 0 94%/0% 2px}
h1 .w.souligne{animation:rg-text-in .9s var(--rg-ease-out) both,rg-underline .9s var(--rg-ease-out) 1.2s forwards;animation-delay:.57s,1.2s}
@keyframes rg-underline{to{background-size:100% 2px}}

.hero .ctas,
.p-hero .rg-eyebrow,.p-hero .rg-lede,.p-hero .ctas,.p-hero .prix,.p-hero .coord,.p-hero .dispo,.p-hero .note,
.hero .rg-lede{animation:rg-text-in .9s var(--rg-ease-out) both}
.p-hero .rg-eyebrow{animation-delay:.1s}
.hero .rg-lede,.p-hero .rg-lede,.p-hero .prix,.p-hero .coord,.p-hero .dispo{animation-delay:.6s}
.hero .ctas,.p-hero .ctas,.p-hero .note{animation-delay:.68s}
.p-hero .fig{animation:rg-panel-in 1s var(--rg-ease-out) .35s both}
.legal .rg-h1,.legal .legal-cote{animation:rg-text-in .9s var(--rg-ease-out) both}
.legal .legal-cote{animation-delay:.12s}
.legal-corps{animation:rg-panel-in 1s var(--rg-ease-out) .2s both}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .souligne{background-size:100% 2px}
}

/* ===== base/glacier.css ===== */
/* Thème « glacier » : fond clair bleu glacier, cartes en Liquid Glass teinté bleu.
   Actif seulement sous body.glacier (clé "theme": "glacier" dans pages.json).
   Les jetons du design system (--rg-*) sont remappés ici pour que les modules
   existants se recolorent sans être réécrits ; le texte crème n'existe plus que
   dans les boutons primaires et la bande CTA. */

body.glacier{
  --bg:#D3DFF6;
  --ink:#0E1F45;
  --ink-2:#2B3C64;
  --blue:#2F6BDD;
  --blue-deep:#1F4FB0;
  --blue-ink:#143683;
  --cream:#FFFDF6;
  --grid:rgba(47,107,221,.17);
  --grid-fine:rgba(47,107,221,.075);
  --tint:rgba(47,107,221,.12);
  --ok:#1E8A5A; --warn:#A8670A; --crit:#C23B3B;

  --glass-bg:linear-gradient(155deg,rgba(120,160,240,.30),rgba(47,107,221,.16) 60%,rgba(31,79,176,.20));
  --glass-edge:rgba(255,255,255,.45);
  --glass-shadow:inset 0 1px 0 rgba(255,255,255,.7),inset 0 -1px 0 rgba(14,31,69,.12),0 24px 50px -20px rgba(14,31,69,.45);
  --blur:26px; --sheen:.5;
  --h1:rgba(47,107,221,.45); --h2:rgba(31,79,176,.32); --h3:rgba(47,107,221,.38);

  /* Remappage des jetons du design system */
  --rg-blue:var(--bg);
  --rg-cream:var(--ink);
  --rg-text-2:var(--ink-2);
  --rg-text-3:var(--ink-2);
  --rg-ink:var(--cream);                 /* texte porté par les aplats bleus */
  --rg-placeholder:#5B6D93;
  --rg-btn-top:#2F6BDD; --rg-btn-bottom:#1F4FB0;
  --rg-line:rgba(14,31,69,.22);
  --rg-rule:rgba(14,31,69,.14);
  --rg-shadow:14 31 69;
  --rg-field-bg:rgba(255,255,255,.5);
  --rg-well-bg:rgba(255,255,255,.4);
  --rg-fill:rgba(47,107,221,.08);
  --rg-fill-hover:rgba(47,107,221,.14);
  --rg-ghost:rgba(47,107,221,.10);
  --rg-ghost-line:rgba(14,31,69,.14);
  --rg-focus-line:rgba(31,79,176,.9);
  --rg-focus-halo:rgba(47,107,221,.22);
  --rg-frame-inner:rgba(14,31,69,.14);
  --rg-frame-outer:rgba(14,31,69,.2);
  --rg-glass-tint:transparent;
  --rg-glass-sheen:transparent;
  --rg-glass-soft-tint:transparent;
  color-scheme:light;
  color:var(--ink);
  font-size:17px;line-height:1.6;
}
html:has(body.glacier){background-color:#D3DFF6;color-scheme:light}

/* Fond : halos bleus et grille fine */
body.glacier.rg-plan{
  background-color:var(--bg);
  background-image:
    radial-gradient(40vw 32vw at 85% 8%,var(--h1),transparent 70%),
    radial-gradient(36vw 30vw at 8% 42%,var(--h2),transparent 70%),
    radial-gradient(44vw 34vw at 78% 78%,var(--h3),transparent 70%),
    linear-gradient(var(--grid) 1px,transparent 1px),
    linear-gradient(90deg,var(--grid) 1px,transparent 1px),
    linear-gradient(var(--grid-fine) 1px,transparent 1px),
    linear-gradient(90deg,var(--grid-fine) 1px,transparent 1px);
  background-size:auto,auto,auto,80px 80px,80px 80px,16px 16px,16px 16px;
  background-attachment:fixed;
  background-position:0 0;
}
body.glacier .rg-ambient,body.glacier .rg-frame{display:none}

/* Verre : une seule recette pour nav, cartes, aperçus, tuiles, accordéons */
body.glacier .rg-glass,body.glacier .rg-glass-soft,body.glacier .rg-seg,body.glacier .rg-stepper,body.glacier .glass{
  background:var(--glass-bg);
  border:1px solid var(--glass-edge);
  -webkit-backdrop-filter:blur(var(--blur)) saturate(1.7);
  backdrop-filter:blur(var(--blur)) saturate(1.7);
  box-shadow:var(--glass-shadow);
  color:var(--ink);
}
body.glacier .rg-glass,body.glacier .glass{overflow:hidden}
body.glacier .rg-glass::before,body.glacier .rg-glass-soft::before,body.glacier .rg-seg::before,body.glacier .rg-stepper::before{content:none}
body.glacier .rg-glass::after,body.glacier .rg-glass-soft::after,body.glacier .rg-seg::after,body.glacier .rg-stepper::after,body.glacier .glass::after{
  content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:0;
  background:linear-gradient(115deg,rgba(255,255,255,var(--sheen)) 0%,rgba(255,255,255,0) 32%);
  mix-blend-mode:soft-light;
}
body.glacier .rg-well{background:var(--rg-well-bg);box-shadow:inset 0 1px 0 rgba(255,255,255,.6),inset 0 0 0 1px rgba(14,31,69,.08)}

/* Échelle typographique */
body.glacier h1,body.glacier h2,body.glacier h3{color:var(--ink)}
body.glacier .rg-h1{font-size:clamp(34px,5.2vw,58px);font-weight:600;line-height:1.04;letter-spacing:-.035em;text-wrap:balance}
body.glacier .rg-h2{font-size:clamp(26px,3.4vw,38px);font-weight:600;line-height:1.12;letter-spacing:-.025em;text-wrap:balance}
body.glacier h3,body.glacier .card h3{font:600 20px/1.3 var(--rg-font-sans);letter-spacing:0}
body.glacier .rg-lede,body.glacier .lede{font-size:19px;line-height:1.55;max-width:46ch;color:var(--ink-2)}
body.glacier p{max-width:65ch}
body.glacier .card p,body.glacier .card p.lead{font-size:16px;line-height:1.55}
body.glacier .card p.lead{color:var(--ink)}
body.glacier .rg-eyebrow{color:var(--blue-ink)}
body.glacier .sec-head p{font-size:17px;color:var(--ink-2)}
body.glacier .sec-head{border-bottom-color:var(--rg-rule)}
body.glacier .num,body.glacier .rg-meta,body.glacier .source,body.glacier .etiquette{font-family:var(--rg-font-mono)}

/* Logo : bleu Rouage sur fond clair */
body.glacier .rg-logo,body.glacier .logo{color:var(--blue)}

/* Boutons : primaire bleu, texte crème ; secondaire verre clair */
body.glacier .rg-btn{color:var(--cream);box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 14px 30px -16px rgba(14,31,69,.7)}
body.glacier .rg-btn:hover{color:var(--cream)}
body.glacier .rg-btn::before{background:linear-gradient(90deg,transparent,rgba(255,255,255,.5),transparent)}
body.glacier .rg-btn--ghost{
  background:linear-gradient(180deg,rgba(255,255,255,.55),rgba(255,255,255,.28));
  color:var(--ink);box-shadow:inset 0 1px 0 rgba(255,255,255,.8),inset 0 0 0 1px rgba(14,31,69,.14);
}
body.glacier .rg-btn--ghost:hover{color:var(--ink);background:linear-gradient(180deg,rgba(255,255,255,.7),rgba(255,255,255,.38))}
body.glacier .rg-link{color:var(--blue-ink);text-decoration-color:rgba(31,79,176,.5)}
body.glacier .rg-link:hover{color:var(--ink);text-decoration-color:var(--ink)}
body.glacier a{color:var(--blue-ink)}
body.glacier .nav a,body.glacier .nav-drop>button,body.glacier .drop a,body.glacier .site-header a{color:var(--ink)}
body.glacier .rg-btn,body.glacier .rg-btn:hover{color:var(--cream)}
body.glacier .rg-btn--ghost,body.glacier .rg-btn--ghost:hover{color:var(--ink)}
body.glacier .skip{background:var(--blue);color:var(--cream)}

/* Étiquettes : teintes translucides, jamais d'aplat opaque */
body.glacier .pill,body.glacier .chip{display:inline-flex;align-items:center;gap:6px;padding:3px 10px;border-radius:999px;font:500 12px/1.4 var(--rg-font-mono);letter-spacing:.04em;border:1px solid transparent}
body.glacier .pill--crit{background:rgba(194,59,59,.12);color:#771B1B;border-color:rgba(194,59,59,.28)}
body.glacier .pill--warn{background:rgba(168,103,10,.12);color:#5A3502;border-color:rgba(168,103,10,.3)}
body.glacier .pill--ok{background:rgba(30,138,90,.12);color:#0C4A2F;border-color:rgba(30,138,90,.3)}
body.glacier .pill--info{background:var(--tint);color:var(--blue-ink);border-color:rgba(47,107,221,.3)}

/* Lecture en deux niveaux : détail replié */
body.glacier .detail summary{color:var(--blue-ink)}
body.glacier .detail summary::before{box-shadow:inset 0 0 0 1px rgba(31,79,176,.45)}
body.glacier .detail>p.source,body.glacier .card .source{color:var(--ink-2)}
body.glacier .retenir-liste b{color:var(--blue-ink)}
body.glacier .faq summary{color:var(--ink)}
body.glacier .faq summary::after,body.glacier .faq summary::before{background:var(--blue-deep)}
body.glacier .faq details+details{border-top-color:var(--rg-rule)}

/* Bande CTA : le seul endroit où le crème sur bleu subsiste */
body.glacier .cta-bande{padding-block:clamp(40px,5vw,64px)}
body.glacier .cta-bande .band-in{
  position:relative;overflow:hidden;border-radius:var(--rg-r-panel);padding:clamp(32px,5vw,56px);
  background:linear-gradient(160deg,#2F6BDD,#2A62CE 45%,#1F4FB0);
  border:1px solid rgba(255,255,255,.35);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 30px 60px -28px rgba(14,31,69,.7);
  color:var(--cream);display:flex;flex-wrap:wrap;gap:24px 40px;align-items:center;justify-content:space-between;
}
body.glacier .cta-bande h2,body.glacier .cta-bande p{color:var(--cream)}
body.glacier .cta-bande p{margin:10px 0 0;max-width:52ch}
body.glacier .cta-bande .rg-btn{background:linear-gradient(180deg,#FFFDF7,#E3DCC9);color:#1F4FB0;box-shadow:inset 0 1px 0 #fff,0 14px 30px -16px rgba(14,31,69,.8)}
body.glacier .cta-bande .rg-btn:hover{color:#1F4FB0}

/* Bouton fixe mobile : en verre clair, après le hero seulement (script cta-mobile) */
body.glacier .m-cta{position:fixed;background:rgba(211,223,246,.72)}
html.cta-late .m-cta{opacity:0;transform:translateY(120%);pointer-events:none;transition:opacity .25s,transform .25s}
html.cta-late .m-cta.m-cta--on{opacity:1;transform:none;pointer-events:auto}

/* Rythme : sections plus serrées, en-têtes de section empilés */
body.glacier .sec{padding-block:clamp(32px,4.4vw,60px)}
body.glacier .sec-head{grid-template-columns:minmax(0,1fr);align-items:start;margin-bottom:24px;padding-bottom:14px}
body.glacier .sec-head p{max-width:62ch}
body.glacier .cards{gap:16px}

/* Mobile : on ne garde que l'essentiel visible (cible 4 à 5 écrans à 375 px) */
@media (max-width:720px){
  body.glacier .sec{padding-block:28px}
  body.glacier .sec-head{margin-bottom:16px;padding-bottom:10px}
  body.glacier .rg-lede,body.glacier .lede{font-size:18px}
  body.glacier .card{padding:18px;gap:8px}
  body.glacier .cta-bande .band-in{padding:26px 22px}
  body.glacier .fn__ecran{display:none}
  body.glacier .pg-table tbody tr:nth-child(n+4){display:none}
}

/* Mobile, suite : tuiles en bande défilante, étapes et listes resserrées, pied de page compact */
@media (max-width:720px){
  body.glacier .cards.trois:has(.tile){display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;margin-inline:calc(-1 * var(--rg-gutter));padding:4px var(--rg-gutter) 14px;scrollbar-width:none}
  body.glacier .cards.trois:has(.tile)::-webkit-scrollbar{display:none}
  body.glacier .cards.trois:has(.tile) .tile{flex:0 0 82%;scroll-snap-align:center}
  body.glacier .fn__txt h3{font-size:20px}
  body.glacier .fn__txt p:not(.etiquette){font-size:16px}
  body.glacier .pg-fonctions .fn{padding-block:10px;gap:10px}
  body.glacier .ecarts td{padding:8px 18px}
  body.glacier .ecarts tr{padding:10px 0}
  body.glacier .duo{gap:12px}
  body.glacier .duo .col{padding:18px;gap:10px}
  body.glacier .duo li{font-size:15px}
  body.glacier .steps{gap:18px}
  body.glacier .step{gap:8px}
  body.glacier .step-top .link{display:none}
  body.glacier .step-body p{font-size:15px}
  body.glacier .faq summary{min-height:44px;padding-block:14px}
}

/* Bouton primaire de l'en-tête : le crème prime sur la règle des liens de navigation */
body.glacier .site-header .rg-btn,body.glacier .site-header .rg-btn:hover{color:var(--cream)}

/* ===== Composants de page produit (hero + aperçu, fonctions, tableau, tuiles) ===== */
/* Hero du Lab : texte à gauche, aperçu d'écran en verre à droite */
.pg-hero__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:clamp(28px,5vw,64px);align-items:center}
.pg-hero__txt{display:flex;flex-direction:column;gap:20px}
.pg-hero .ctas{display:flex;flex-wrap:wrap;gap:12px;margin-top:6px}
.pg-screen{margin:0;border-radius:var(--rg-r-sub);padding:0}
.pg-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-bottom:1px solid var(--rg-rule);position:relative;z-index:1}
.pg-bar__t{font:600 15px/1 var(--rg-font-sans);color:var(--ink)}
.pg-table{width:100%;border-collapse:collapse;position:relative;z-index:1;font-size:14px}
.pg-table th{padding:10px 18px;text-align:left;font:500 11px/1.3 var(--rg-font-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--ink)}
.pg-table td{padding:11px 18px;border-top:1px solid var(--rg-rule);color:var(--ink);white-space:nowrap}
.pg-table .num{font-family:var(--rg-font-mono);text-align:right}
@media (max-width:900px){
  .pg-hero__grid{grid-template-columns:minmax(0,1fr)}
  .pg-table td:nth-child(4),.pg-table th:nth-child(4){display:none}
}
@media (max-width:720px){
  .pg-table th,.pg-table td{padding:9px 12px;white-space:normal}
  .pg-bar{padding:12px 14px}
}

/* « Ce que fait le Lab » : une ligne par fonction, texte et aperçu en alternance */
.pg-fonctions .fn{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:clamp(24px,5vw,64px);align-items:center;padding-block:clamp(14px,2vw,24px)}
.pg-fonctions .fn:nth-of-type(odd) .fn__txt{order:2}
.fn__txt{display:flex;flex-direction:column;gap:12px}
.fn__txt h3{font:600 clamp(22px,2.4vw,28px)/1.2 var(--rg-font-sans)}
.fn__txt p:not(.etiquette){margin:0;color:var(--ink-2);font-size:17px}
.fn__n{margin:0;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--blue-ink)}
.fn__ecran{margin:0;border-radius:var(--rg-r-sub);padding:0}
.fn__corps{padding:18px;position:relative;z-index:1}
.fiche__score{display:flex;align-items:center;gap:14px;margin-bottom:14px}
.fiche__val{font:600 44px/1 var(--rg-font-display);color:var(--ink)}
.barres{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.barres li{display:grid;grid-template-columns:150px 1fr;align-items:center;gap:12px;font-size:14px;color:var(--ink)}
.barres i{display:block;height:8px;border-radius:99px;background:rgba(14,31,69,.12);position:relative;overflow:hidden}
.barres i::after{content:"";position:absolute;inset:0;width:var(--v);border-radius:inherit;background:linear-gradient(90deg,#3A78EA,#1F4FB0)}
.lignes,.histo{list-style:none;margin:0;padding:0;display:grid;gap:0}
.lignes li,.histo li{display:grid;grid-template-columns:54px 1fr auto;align-items:center;gap:12px;padding:11px 0;border-top:1px solid var(--rg-rule);font-size:14px;color:var(--ink)}
.lignes li:first-child,.histo li:first-child{border-top:0}
.histo li{grid-template-columns:54px 1fr}
.histo em{grid-column:2;font-style:normal;font-size:13px;color:var(--ink-2)}
@media (max-width:900px){
  .pg-fonctions .fn{grid-template-columns:minmax(0,1fr)}
  .pg-fonctions .fn:nth-of-type(odd) .fn__txt{order:0}
  .barres li{grid-template-columns:120px 1fr}
  .lignes li{grid-template-columns:48px 1fr}
  .lignes li .pill{grid-column:2;justify-self:start}
}

/* Tableau « En cabinet / Avec le Lab » : une phrase par cellule, colonnes empilées sur mobile */
.pg-tableau .tab{border-radius:var(--rg-r-sub);padding:0}
.ecarts{width:100%;border-collapse:collapse;position:relative;z-index:1}
.ecarts th{padding:16px 24px;text-align:left;font:500 11px/1.3 var(--rg-font-mono);letter-spacing:.14em;text-transform:uppercase;color:var(--blue-ink)}
.ecarts td{padding:20px 24px;border-top:1px solid var(--rg-rule);vertical-align:top;font-size:17px;line-height:1.5;color:var(--ink);width:50%}
.ecarts td:last-child{font-weight:500}
.ecarts .etiquette{display:block;margin-bottom:6px;font-size:12px;letter-spacing:.06em;color:var(--blue-ink)}
.pg-detail-liste{margin-top:18px}
.pg-detail-liste .cards{margin-top:12px}
@media (max-width:720px){
  .ecarts thead{display:none}
  .ecarts,.ecarts tbody,.ecarts tr,.ecarts td{display:block;width:100%}
  .ecarts tr{border-top:1px solid var(--rg-rule);padding:6px 0}
  .ecarts tr:first-child{border-top:0}
  .ecarts td{border-top:0;padding:10px 20px}
  .ecarts td:last-child::before{content:var(--avec,"Avec le Lab");display:block;margin-bottom:4px;font:500 11px/1.3 var(--rg-font-mono);letter-spacing:.14em;text-transform:uppercase;color:var(--blue-ink)}
}

.pg-cadre .tile .etiquette{align-self:flex-start;padding:2px 9px;border-radius:999px;background:var(--tint);border:1px solid rgba(47,107,221,.3);font-size:12px;color:var(--blue-ink)}


/* Engrenage décoratif : bleu et discret, sur les pages sans hero produit (accueil, contact, FAQ...) */
body.glacier:not(:has(.pg-hero)) .rg-ambient{display:block}
body.glacier .rg-halo{display:none}
body.glacier .rg-gear{color:var(--blue)}
body.glacier .rg-gear__teeth{stroke:rgba(47,107,221,.42)}
body.glacier .rg-gear__pitch,body.glacier .rg-gear__axis{stroke:rgba(47,107,221,.32)}
body.glacier .rg-gear__cote{stroke:rgba(47,107,221,.42)}
body.glacier .rg-gear__head{fill:rgba(47,107,221,.42)}
body.glacier .rg-gear__val{fill:var(--blue-ink)}

/* Sections repliables (étapes, FAQ, pour qui) : ouvertes sur grand écran, repliées en mobile */
.fold>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:16px}
.fold>summary::-webkit-details-marker{display:none}
.fold>summary h2{margin:0}
.fold>.fold-intro{margin:12px 0 22px;max-width:62ch;color:var(--ink-2)}
@media (min-width:721px){
  .fold>summary{pointer-events:none;cursor:default;margin-bottom:0}
  .fold>summary::after{display:none}
  .fold>.fold-intro{margin-bottom:28px}
}
@media (max-width:720px){
  body.glacier .fold>summary{cursor:pointer;min-height:48px;padding-bottom:10px;border-bottom:1px solid var(--rg-rule)}
  body.glacier .fold>summary h2{font-size:clamp(22px,6vw,26px)}
  .fold>summary::after{content:"+";flex:none;display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(31,79,176,.45);font:500 18px/1 var(--rg-font-mono);color:var(--blue-ink)}
  .fold[open]>summary::after{content:"\2212"}
  .fold[open]>.fold-intro{margin-top:14px}
  body.glacier .fold>.fold-intro{margin:12px 0 16px}
}

/* Roue de fond des pages sans hero produit : rentrée dans le cadre de page, plus pleine à droite */
body.glacier:not(:has(.pg-hero)) .amb-gear{right:max(24px,calc((100vw - var(--rg-max)) / 2 - 10px));top:110px}

/* Typographie des blocs : le mono ne sert plus qu'aux références, dates et chiffres ;
   les libellés et les liens de détail passent en Geist, le texte courant en encre pleine. */
body.glacier .etiquette{font-family:var(--rg-font-sans);font-weight:600;letter-spacing:0;text-transform:none}
body.glacier .tile .etiquette,body.glacier .ecarts .etiquette,body.glacier .lignes .etiquette,body.glacier .histo .etiquette,body.glacier .pg-table .etiquette{font-family:var(--rg-font-mono);font-weight:500}
body.glacier .fn__n{font:600 15px/1.3 var(--rg-font-sans);letter-spacing:0;text-transform:none;color:var(--blue-ink)}
body.glacier .detail summary{font:500 15px/1.2 var(--rg-font-sans);letter-spacing:0}
body.glacier .pg-table th,body.glacier .ecarts th,body.glacier .retenir-liste b{font-family:var(--rg-font-sans);font-weight:600;letter-spacing:.06em;font-size:12px}
body.glacier .fn__txt p:not(.etiquette),body.glacier .card p,body.glacier .detail>p{color:var(--ink);font-size:17px;line-height:1.6}
body.glacier .card p.lead{font-size:17px;font-weight:500}
body.glacier .detail>p.source,body.glacier .card .source{font-family:var(--rg-font-sans);font-size:13px;letter-spacing:0;color:var(--ink-2)}

/* Aperçus d'écran : libellés et pastilles en Geist ; mono seulement pour dates, scores et références */
body.glacier :is(.fn__ecran,.pg-screen) :is(span,td,th,div,li,p,em,b,i,figcaption){font-family:var(--rg-font-sans)}
body.glacier :is(.fn__ecran,.pg-screen) :is(.num,.fiche__val)
body.glacier .pill,body.glacier .chip,body.glacier :is(.fn__ecran,.pg-screen) .pill{font-family:var(--rg-font-sans);font-weight:600;font-size:12.5px;letter-spacing:.01em}
body.glacier .fiche__val{font-family:var(--rg-font-display)}

/* Renfort de spécificité : les règles propres aux modules ne remettent pas le mono sur les libellés */
html body.glacier :is(.fn__ecran,.pg-screen) .etiquette{font-family:var(--rg-font-sans);font-weight:600}
html body.glacier :is(.fn__ecran,.pg-screen) th{font-family:var(--rg-font-sans)}

/* Positionnement du verre : spécificité nulle, pour ne jamais écraser un absolute ou fixed posé par un composant
   (menu déroulant, menu mobile, bouton fixe). */
:where(body.glacier .rg-glass,body.glacier .rg-glass-soft,body.glacier .rg-seg,body.glacier .rg-stepper,body.glacier .glass){position:relative}

/* Menus déroulant et mobile : verre presque opaque (le flou ne traverse pas le verre de l'en-tête qui les contient) */
body.glacier .drop,body.glacier .mnav{
  background:linear-gradient(155deg,rgba(240,245,254,.97),rgba(212,225,248,.97));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 28px 60px -22px rgba(14,31,69,.5);
}
body.glacier .mnav a:not(.rg-btn){color:var(--ink)}

/* Mobile : hero resserré (titre, chapeau, boutons en ligne, aperçu plus compact) */
@media (max-width:720px){
  body.glacier .p-hero .wrap{padding-block:24px 8px;gap:20px}
  body.glacier .p-hero .rg-eyebrow{margin-bottom:12px}
  body.glacier .p-hero .rg-h1{font-size:clamp(28px,8.2vw,32px);line-height:1.08}
  body.glacier .p-hero .rg-lede,body.glacier .p-hero .lede{margin-top:14px;font-size:17px;line-height:1.5}
  body.glacier .p-hero .ctas{margin-top:18px;gap:10px;flex-wrap:wrap}
  body.glacier .p-hero .ctas .rg-btn{min-height:46px;padding:0 20px;font-size:14px}
  body.glacier .p-hero .ctas .rg-btn::after{display:none}
  body.glacier .pg-screen{margin-top:4px}
  body.glacier .pg-screen .pg-bar{padding:10px 14px}
}

@media (max-width:720px){
  body.glacier .fn-rail{display:flex;align-items:flex-start;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;margin-inline:calc(-1 * var(--rg-gutter));padding:4px var(--rg-gutter) 14px;scrollbar-width:none}
  body.glacier .fn-rail::-webkit-scrollbar{display:none}
  body.glacier .fn-rail .fn{
    flex:0 0 84%;scroll-snap-align:start;display:block;padding:18px;border-radius:var(--rg-r-sub);position:relative;
    background:var(--glass-bg);border:1px solid var(--glass-edge);box-shadow:var(--glass-shadow);
    -webkit-backdrop-filter:blur(var(--blur)) saturate(1.7);backdrop-filter:blur(var(--blur)) saturate(1.7);
  }
  body.glacier .fn-rail .fn__txt{gap:8px}
}

/* ===== base/illustrations.css ===== */
/* Illustrations éditoriales : fragments autonomes, couleurs et polices du thème glacier.
   La composition reste dans le flux ; aucune hauteur fixe ni découpe du contenu. */
.rgi{
  container-type:inline-size;isolation:isolate;position:relative;
  width:100%;max-width:580px;min-width:0;margin-inline:auto;
  color:var(--ink,var(--rg-cream));font:400 13px/1.4 var(--rg-font-sans);text-align:left;
}
.rgi *,.rgi *::before,.rgi *::after{box-sizing:border-box}
.rgi .rgi-artwork{display:flex;flex-direction:column;gap:10px;min-height:360px;padding:8px;min-width:0}
.rgi .rgi-top{display:flex;align-items:baseline;justify-content:space-between;gap:12px;color:var(--blue-ink,var(--rg-cream));font-size:12px;font-weight:500}
.rgi .rgi-number{font-family:var(--rg-font-mono);font-variant-numeric:tabular-nums;font-weight:500}
.rgi .rgi-foot{font-size:12px;line-height:1.4;color:var(--ink-2,var(--rg-text-2))}
.rgi .rgi-panel{
  flex:1;min-width:0;padding:18px;border-radius:var(--rg-r-sub);
  background:var(--glass-bg,var(--rg-well-bg));border:1px solid var(--glass-edge,var(--rg-line));
  box-shadow:var(--glass-shadow);-webkit-backdrop-filter:blur(var(--blur)) saturate(1.7);backdrop-filter:blur(var(--blur)) saturate(1.7);
}
.rgi .rgi-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 12px;padding-bottom:12px;border-bottom:1px solid var(--rg-rule)}
.rgi .rgi-title{font:600 16px/1.3 var(--rg-font-sans);color:var(--ink,var(--rg-cream))}
.rgi .rgi-label,.rgi .rgi-small{font-size:12px;line-height:1.4;color:var(--ink-2,var(--rg-text-2))}
.rgi .rgi-label{margin-bottom:4px;font-weight:500}
.rgi .rgi-pill{display:inline-block;padding:4px 8px;border:1px solid var(--rg-line);border-radius:var(--rg-r-pill);background:var(--rg-well-bg);color:var(--blue-ink,var(--rg-cream));font-size:12px;line-height:1.4;font-weight:500}
.rgi .rgi-checks,.rgi .rgi-dossiers,.rgi .rgi-mini-toc,.rgi .rgi-toc{list-style:none;margin:0;padding:0}
.rgi .rgi-checks{padding:10px 0 12px}
.rgi .rgi-checks li{display:grid;grid-template-columns:18px minmax(0,1fr) auto;gap:8px;align-items:center;min-height:38px}
.rgi .rgi-status{font-size:12px;color:var(--ink-2,var(--rg-text-2))}
.rgi .rgi-check{position:relative;width:18px;height:18px;border-radius:calc(var(--rg-r-ctrl)/3);background:var(--blue-deep,var(--rg-ink));border:1px solid var(--blue-deep,var(--rg-ink))}
.rgi .rgi-check::after{content:"";position:absolute;left:4px;top:4px;width:8px;height:5px;border-left:2px solid var(--cream,var(--rg-cream));border-bottom:2px solid var(--cream,var(--rg-cream));transform:rotate(-45deg)}
.rgi .rgi-check-pending{background:var(--rg-well-bg)}
.rgi .rgi-check-pending::after{left:4px;top:7px;width:8px;height:0;border:0;border-top:1px solid var(--blue-deep,var(--rg-ink));transform:none}
.rgi .rgi-progress-label{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:7px;font-size:12px}
.rgi .rgi-track{height:5px;background:var(--rg-line)}
.rgi .rgi-fill{display:block;height:100%;background:var(--blue-deep,var(--rg-ink))}
.rgi .rgi-column-labels{display:grid;grid-template-columns:minmax(0,1fr) 30%;gap:12px;padding:10px 0 6px;color:var(--ink-2,var(--rg-text-2));font-size:12px}
.rgi .rgi-dossiers li{display:grid;grid-template-columns:minmax(0,1fr) 30%;gap:12px;align-items:center;padding:6px 0;border-top:1px solid var(--rg-rule)}
.rgi .rgi-dossier-name{font-weight:600}
.rgi .rgi-stage{display:block;font-size:12px;color:var(--ink-2,var(--rg-text-2))}
.rgi .rgi-advance{min-width:0;font-size:12px}
.rgi .rgi-advance .rgi-track{margin-top:5px}
.rgi .rgi-alert{display:flex;align-items:center;gap:10px;margin-top:10px;padding:10px;border:1px solid var(--rg-line);border-radius:var(--rg-r-ctrl);background:var(--rg-well-bg)}
.rgi .rgi-alert strong{font-weight:600}
.rgi .rgi-alert-symbol{display:grid;place-items:center;flex:none;width:24px;height:24px;border:1px solid var(--blue-ink,var(--rg-cream));border-radius:var(--rg-r-pill);font-weight:600;color:var(--blue-ink,var(--rg-cream))}
.rgi .rgi-document-panel{display:flex;flex-direction:column;justify-content:center;gap:18px;padding:16px}
.rgi .rgi-paper{position:relative;min-width:0;width:100%;max-width:380px;margin-inline:auto;padding:20px;background:var(--rg-field-bg);border:1px solid var(--glass-edge,var(--rg-line));box-shadow:var(--glass-shadow);transform:rotate(-1.5deg)}
.rgi .rgi-document-title{margin:8px 0;font:600 18px/1.3 var(--rg-font-sans);color:var(--ink,var(--rg-cream))}
.rgi .rgi-lines{display:grid;gap:7px;margin:16px 0}
.rgi .rgi-lines i{display:block;height:3px;background:var(--rg-line)}
.rgi .rgi-lines i:nth-child(2){width:92%}
.rgi .rgi-lines i:last-child{width:72%}
.rgi .rgi-signature{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;padding-top:10px;border-top:1px solid var(--rg-rule);font-size:12px;color:var(--ink-2,var(--rg-text-2))}
.rgi .rgi-sign-line{flex:none;padding:7px 0 3px;border-bottom:1px solid var(--rg-line)}
.rgi .rgi-flow{display:flex;align-items:baseline;justify-content:space-between;gap:4px;font-size:12px;font-weight:500;color:var(--blue-ink,var(--rg-cream))}
.rgi .rgi-flow i{font-style:normal;font-weight:400}
.rgi .rgi-flow small{display:block;font-size:12px;line-height:1.3;max-width:10ch;color:var(--ink-2,var(--rg-text-2));font-weight:400}
.rgi .rgi-paper-stack{position:relative;width:100%;max-width:396px;min-width:0;margin-inline:auto;padding:8px}
.rgi .rgi-back-paper{position:absolute;inset:8px;background:var(--rg-field-bg);border:1px solid var(--glass-edge,var(--rg-line));transform:rotate(3deg);box-shadow:var(--glass-shadow)}
.rgi .rgi-doc-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.rgi .rgi-doc-head .rgi-label{margin:0}
.rgi .rgi-seal{display:grid;place-items:center;flex:none;width:32px;height:32px;border:1px solid var(--rg-line);border-radius:var(--rg-r-pill);color:var(--blue-ink,var(--rg-cream));font-size:12px;font-weight:600}
.rgi .rgi-mini-toc{display:grid;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid var(--rg-rule);font-size:12px}
.rgi .rgi-mini-toc li{display:flex;align-items:baseline;gap:10px}
.rgi .rgi-mini-toc b{color:var(--blue-ink,var(--rg-cream))}
.rgi[data-kind="audit"] .rgi-paper{padding:16px}
.rgi[data-kind="audit"] .rgi-lines{margin:12px 0}
.rgi .rgi-manual-head{padding-bottom:10px;border-bottom:1px solid var(--rg-rule)}
.rgi .rgi-manual-head .rgi-title{margin-bottom:5px}
.rgi .rgi-toc{margin-top:4px}
.rgi .rgi-toc li{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:baseline;padding:8px 0;border-bottom:1px solid var(--rg-rule);line-height:1.3}
.rgi .rgi-toc li:last-child{border-bottom:0}
.rgi .rgi-toc b,.rgi .rgi-toc em{font-size:12px;font-style:normal;color:var(--blue-ink,var(--rg-cream))}

/* Accueil : mêmes documents, détails retirés dans le flux à taille de lecture constante. */
.illustration-compact .rgi .rgi-artwork{min-height:180px;padding:0;gap:7px}
.illustration-compact .rgi .rgi-top,
.illustration-compact .rgi .rgi-pill,
.illustration-compact .rgi .rgi-label,
.illustration-compact .rgi .rgi-checks .rgi-detail,
.illustration-compact .rgi .rgi-column-labels,
.illustration-compact .rgi .rgi-stage,
.illustration-compact .rgi .rgi-alert,
.illustration-compact .rgi .rgi-signature,
.illustration-compact .rgi .rgi-flow small{display:none}
.illustration-compact .rgi .rgi-panel{padding:12px}
.illustration-compact .rgi .rgi-head{padding-bottom:8px;gap:0}
.illustration-compact .rgi .rgi-title{font-size:14px}
.illustration-compact .rgi .rgi-checks{padding:5px 0 8px}
.illustration-compact .rgi .rgi-checks li{min-height:28px;font-size:12px}
.illustration-compact .rgi .rgi-status{max-width:none;white-space:nowrap}
.illustration-compact .rgi .rgi-progress-label{margin-bottom:5px}
.illustration-compact .rgi .rgi-dossiers li{min-height:30px;padding:5px 0;font-size:12px}
.illustration-compact .rgi .rgi-dossiers li:first-child{border-top:0}
.illustration-compact .rgi .rgi-advance{display:flex;align-items:center;gap:6px}
.illustration-compact .rgi .rgi-advance .rgi-number{white-space:nowrap}
.illustration-compact .rgi .rgi-advance .rgi-track{flex:1;min-width:10px;margin:0}
.illustration-compact .rgi .rgi-document-panel{gap:10px}
.illustration-compact .rgi .rgi-paper{padding:12px;max-width:340px}
.illustration-compact .rgi .rgi-document-title{font-size:14px;margin:0 0 5px}
.illustration-compact .rgi .rgi-lines{gap:5px;margin:9px 0 0}
.illustration-compact .rgi .rgi-lines i:nth-child(n+3){display:none}
.illustration-compact .rgi .rgi-paper-stack{padding:4px;max-width:348px}
.illustration-compact .rgi .rgi-back-paper{inset:4px}
.illustration-compact .rgi .rgi-doc-head{position:absolute;right:10px;top:10px}
.illustration-compact .rgi .rgi-seal{width:28px;height:28px}
.illustration-compact .rgi[data-kind="audit"] .rgi-document-title{padding-right:30px}
.illustration-compact .rgi .rgi-mini-toc{margin-top:7px;padding-top:7px;gap:4px}
.illustration-compact .rgi .rgi-mini-toc li:not(:last-child),
.illustration-compact .rgi[data-kind="audit"] .rgi-lines{display:none}
.illustration-compact .rgi .rgi-toc li:nth-child(n+3){display:none}

@container (max-width:360px){
  .rgi .rgi-artwork{padding:4px;gap:8px}
  .rgi .rgi-panel{padding:12px}
  .rgi .rgi-title{font-size:15px}
  .rgi[data-kind="pilotage"] .rgi-pill{display:none}
  .rgi .rgi-document-panel{padding:12px;gap:14px}
  .rgi .rgi-paper{padding:14px}
  .rgi .rgi-document-title{font-size:16px}
  .rgi .rgi-checks li{font-size:12px;gap:6px;min-height:40px}
  .rgi .rgi-status{max-width:7.5ch;text-align:right}
  .rgi .rgi-column-labels,.rgi .rgi-dossiers li{grid-template-columns:minmax(0,1fr) 34%;gap:8px}
  .rgi .rgi-paper-stack{padding:4px}
  .rgi[data-kind="audit"] .rgi-paper{padding:12px}
  .rgi[data-kind="audit"] .rgi-signature{gap:8px}
  .rgi .rgi-toc li{padding:6px 0;font-size:12px;gap:8px}
  .illustration-compact .rgi .rgi-artwork{padding:0;gap:7px}
  .illustration-compact .rgi .rgi-title{font-size:14px}
  .illustration-compact .rgi .rgi-checks li{min-height:30px}
  .illustration-compact .rgi .rgi-paper{padding:10px}
  .illustration-compact .rgi .rgi-document-title{font-size:14px}
  .illustration-compact .rgi .rgi-flow{gap:3px}
}
@container (max-width:260px){
  .rgi .rgi-top{gap:8px}
  .rgi .rgi-top>span:last-child{text-align:right}
  .rgi .rgi-checks li{grid-template-columns:18px minmax(0,1fr) auto}
  .rgi .rgi-column-labels{font-size:12px;grid-template-columns:minmax(0,1fr) auto}
  .rgi .rgi-dossier-name{font-size:12px}
  .rgi .rgi-alert{padding:8px;gap:6px}
  .rgi .rgi-document-panel{padding:10px}
  .rgi .rgi-paper{padding:12px}
  .rgi .rgi-signature{gap:8px}
  .rgi .rgi-flow{flex-wrap:wrap;justify-content:flex-start;gap:3px 5px}
  .illustration-compact .rgi .rgi-panel{padding:10px}
  .illustration-compact .rgi .rgi-document-panel{gap:8px}
  .illustration-compact .rgi[data-kind="audit"] .rgi-paper{padding:10px}
  .illustration-compact .rgi .rgi-seal{display:none}
  .illustration-compact .rgi[data-kind="audit"] .rgi-document-title{padding-right:0}
}

/* Emplacements des illustrations dans les pages métier. */
.fn__illustration{min-width:0;width:100%}
@media (max-width:720px){
  body.glacier .fn-rail .fn:has(.fn__illustration){flex-basis:100%}
  .fn__illustration{margin-top:18px}
}

/* ===== modules/header ===== */
/* En-tête : barre de verre doux flottante et collante (.head.rg-glass-soft),
   menus déroulants, menu mobile. */
.site-header{position:sticky;top:env(safe-area-inset-top,0px);z-index:50;padding:24px var(--rg-gutter) 0;pointer-events:none}
.site-header .head{pointer-events:auto;max-width:var(--rg-max);padding:6px 6px 6px 22px;border-radius:var(--rg-r-pill);display:flex;align-items:center;justify-content:space-between;gap:16px}
.site-header .logo{min-height:44px}

/* Navigation : soulignement crème qui se déploie au survol */
.nav{display:flex;align-items:center;gap:2px}
.nav>a,.nav-drop>button,.head-login{position:relative;display:flex;align-items:center;gap:6px;min-height:44px;padding:0 12px;font:500 14px/1 var(--rg-font-sans);color:var(--rg-cream);background:transparent;border:0;text-decoration:none;cursor:pointer}
.nav>a::after,.nav-drop>button::after,.head-login::after{content:"";position:absolute;left:12px;right:12px;bottom:8px;height:1px;background:var(--rg-cream);transform:scaleX(0);transform-origin:left;transition:transform var(--rg-dur-spring) var(--rg-ease-out)}
.nav>a:hover::after,.nav-drop>button:hover::after,.head-login:hover::after,
.nav-drop>button[aria-expanded="true"]::after,
.nav>a[aria-current="page"]::after,.nav-drop>button[data-section]::after{transform:scaleX(1)}
.nav-drop>button svg{transition:transform var(--rg-dur-spring) var(--rg-ease-spring)}
.nav-drop>button[aria-expanded="true"] svg{transform:rotate(180deg)}
.head-actions{display:flex;align-items:center;gap:6px}
.head-login{padding:0 14px}
.burger{display:none}
.burger .i-close{display:none}
.burger[aria-expanded="true"] .i-open{display:none}
.burger[aria-expanded="true"] .i-close{display:block}

/* Menu déroulant : verre posé sur la surface opaque. Il vit dans la barre, dont
   le flou lui masque la page : son propre flou ne verrait rien, la surface
   garantit la lecture. */
.nav-drop{position:relative;display:flex}
.drop{position:absolute;top:calc(100% + 18px);left:0;min-width:300px;z-index:55;padding:8px;display:flex;flex-direction:column;gap:2px;border-radius:var(--rg-r-sub);background:linear-gradient(160deg,rgb(255 255 255 / .10),rgb(14 33 82 / .30)),var(--rg-surface)}
.drop:not([hidden]){animation:rg-panel-in .5s var(--rg-ease-out) both}
.drop-item{display:flex;flex-direction:column;gap:4px;min-height:44px;justify-content:center;padding:10px 14px;border-radius:var(--rg-r-ctrl);text-decoration:none;color:var(--rg-cream);transition:background .25s var(--rg-ease-out)}
.drop-item:hover{background:var(--rg-fill-hover)}
.drop-item .t{font:500 15px/1.3 var(--rg-font-sans)}
.drop-item .tag{font:400 13px/1.3 var(--rg-font-sans);color:var(--rg-text-3)}

/* Méga-menu « Cabinet » : quatre colonnes */
.drop--mega{min-width:min(820px,calc(100vw - 2 * var(--rg-gutter)));flex-direction:row;align-items:flex-start;gap:4px;padding:16px}
.drop-col{flex:1;min-width:150px;display:flex;flex-direction:column;gap:2px}
.drop-col__h{display:flex;align-items:center;gap:10px;padding:6px 14px 10px;font-family:var(--rg-font-mono);font-weight:500;font-size:11px;line-height:1.3;letter-spacing:.14em;text-transform:uppercase;color:var(--rg-cream)}
.drop-col__h::before{content:"";flex:none;width:16px;height:1px;background:currentColor}

@media (max-width:1239px){
  .nav,.head-actions{display:none}
  .burger{display:inline-flex}
}

/* Menu mobile : panneau de verre sur la surface opaque, sous la barre */
.mnav{position:fixed;left:var(--rg-gutter);right:var(--rg-gutter);bottom:24px;top:calc(env(safe-area-inset-top,0px) + 96px);z-index:60;overflow-y:auto;display:flex;flex-direction:column;border-radius:var(--rg-r-sub);background:linear-gradient(160deg,rgb(255 255 255 / .10),rgb(14 33 82 / .30)),var(--rg-surface)}
.mnav-list{flex-grow:1;padding-top:8px}
.acc{border-bottom:1px solid var(--rg-rule)}
.acc-btn,.mnav-link{width:100%;min-height:56px;padding:0 24px;display:flex;align-items:center;justify-content:space-between;border:0;background:transparent;color:var(--rg-cream);font:500 16px/1.2 var(--rg-font-display);letter-spacing:-.01em;text-align:left;text-decoration:none;cursor:pointer}
.mnav-link{border-bottom:1px solid var(--rg-rule)}
.acc-btn svg{transition:transform var(--rg-dur-spring) var(--rg-ease-spring)}
.acc-btn[aria-expanded="true"] svg{transform:rotate(180deg)}
.acc-panel{display:flex;flex-direction:column;padding:4px 24px 16px}
.acc-group{padding:14px 0 6px;font-family:var(--rg-font-mono);font-weight:500;font-size:11px;line-height:1.3;letter-spacing:.14em;text-transform:uppercase;color:var(--rg-cream)}
.acc-panel a.item{display:flex;flex-direction:column;gap:4px;min-height:44px;justify-content:center;padding:12px 0;text-decoration:none;color:var(--rg-cream);border-top:1px solid var(--rg-rule)}
.acc-panel a.item:first-child,.acc-panel .acc-group:first-child+a.item{border-top:0}
.mnav-link[aria-current="page"],.acc-panel a.item[aria-current="page"] span:first-child{text-decoration:underline;text-underline-offset:5px}
.acc-panel .item span:first-child{font-size:15px;font-weight:500}
.acc-panel .item .tag{font-size:13px;color:var(--rg-text-3)}
.mnav-foot{padding:16px 24px calc(20px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;gap:12px;text-align:center}
.mnav-mail{font-family:var(--rg-font-mono);font-size:12px;letter-spacing:.06em;color:var(--rg-text-3)}
body.m-open{overflow:hidden}

@media (max-width:560px){
  .site-header{padding-top:24px}
  .site-header .head{padding:4px 4px 4px 16px}
  .site-header .logo{font-size:22px}
  .mnav{top:calc(env(safe-area-inset-top,0px) + 88px)}
}

/* Refonte : badges discrets, menus Dirigeant / Académie / Connexion, bouton RDV mobile */
.badge{display:inline-flex;align-items:center;margin-left:8px;padding:1px 8px;border-radius:999px;font:600 11px/1.5 var(--rg-font-sans);letter-spacing:.02em;text-transform:none;vertical-align:middle;background:var(--tint);color:var(--blue-ink);border:1px solid rgba(47,107,221,.28)}
.drop--clients{min-width:380px;max-width:440px}
.drop-intro{margin:0;padding:8px 14px 12px;font-size:14px;line-height:1.5;color:var(--ink-2);max-width:none}
.drop-foot{display:flex;align-items:center;gap:6px;margin-top:6px;padding:12px 14px;border-top:1px solid var(--rg-rule);font:600 14px/1.3 var(--rg-font-sans);text-decoration:none;color:var(--blue-ink)}
.drop-foot:hover{text-decoration:underline;text-underline-offset:4px}
.drop--deux{min-width:min(560px,calc(100vw - 2 * var(--rg-gutter)))}
.drop--right{left:auto;right:0;min-width:280px}
.nav-drop--right{position:relative}
.head-cta-m{display:none}
.acc-intro{margin:0;padding:6px 0 12px;font-size:14px;line-height:1.5;color:var(--ink-2)}
@media (max-width:1239px){
  .head-cta-m{display:inline-flex;margin-left:auto;margin-right:8px}
  .site-header .head{justify-content:flex-start}
}
@media (max-width:560px){
  .head-cta-m{min-height:40px;padding:0 16px;font-size:13px}
  .head-cta-m::after{display:none}
}

/* Barre plus grande et centrée : logo à gauche, navigation au centre, actions à droite */
@media (min-width:1240px){
  .site-header .head{display:grid;grid-template-columns:1fr auto 1fr;gap:24px;padding:9px 9px 9px 28px}
  .site-header .logo{font-size:30px;min-height:48px;justify-self:start}
  .nav{justify-self:center;gap:6px}
  .nav>a,.nav-drop>button,.head-login{min-height:50px;padding:0 18px;font-size:16px}
  .nav>a::after,.nav-drop>button::after,.head-login::after{left:18px;right:18px;bottom:10px}
  .head-actions{justify-self:end;gap:10px}
  .head-cta{min-height:50px;padding:0 26px;font-size:15px}
  .drop{top:calc(100% + 16px)}
  .drop-item .t{font-size:16px}
}
@media (min-width:1240px) and (max-width:1300px){
  .nav>a,.nav-drop>button,.head-login{padding:0 13px;font-size:15px}
}

/* Titres de colonnes des menus : sans trait devant */
.drop-col__h::before{display:none}
.drop-col__h{padding-left:14px}

/* Placement des méga-menus : toujours dans la largeur de la barre */
@media (min-width:1240px){
  .drop--mega:not(.drop--deux){left:-130px}
  .drop--deux{left:auto;right:-110px}
}

/* Mon espace (lien) et Passer à l'action (menu) : le menu prend un contour, Prendre RDV reste le bouton plein */
.nav>a,.nav-drop>button,.head-login{white-space:nowrap}
.head-login[aria-current="page"]::after{transform:scaleX(1)}
.drop--right{min-width:320px}
@media (min-width:1240px){
  }
@media (min-width:1240px){
  .nav{gap:2px}
  .nav>a,.nav-drop>button,.head-login{padding:0 12px;font-size:15px}
  .nav>a::after,.nav-drop>button::after,.head-login::after{left:12px;right:12px}
    .head-cta{padding:0 22px;font-size:15px}
}

/* La barre compte maintenant quatre liens et trois actions : le logo garde sa taille, la navigation prend le reste */
.site-header .logo{flex:none}
.site-header .logo svg{flex:none}
.nav-drop>button svg{flex:none}
@media (min-width:1240px){
  .site-header .head{grid-template-columns:auto 1fr auto}
}

/* Passer à l'action vit dans la navigation ; Mon espace est un bouton à côté de Prendre RDV */
.head-espace{white-space:nowrap}
body.glacier .site-header .head-espace,body.glacier .site-header .head-espace:hover,body.glacier .mnav-foot .rg-btn--ghost{color:var(--ink)}
.head-espace[aria-current="page"]{background:linear-gradient(180deg,rgb(255 255 255 / .14),rgb(14 33 82 / .30))}
@media (min-width:1240px){
  .head-espace{padding:0 22px;font-size:15px}
}

/* Passer à l'action : deux colonnes égales, dirigeant et cabinet */
.drop--action{min-width:min(820px,calc(100vw - 2 * var(--rg-gutter)));display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:8px}
.act-col{display:flex;flex-direction:column;gap:4px;padding:16px 12px 12px}
.act-col--cab{gap:12px;padding:20px 22px;border-radius:calc(var(--rg-r-sub) - 8px);background:linear-gradient(160deg,rgb(47 107 221 / .20),rgb(14 33 82 / .32));box-shadow:inset 0 0 0 1px rgb(255 253 246 / .22)}
.act-sur{font-family:var(--rg-font-mono);font-weight:500;font-size:11px;line-height:1.3;letter-spacing:.14em;text-transform:uppercase;color:var(--rg-cream);padding:0 6px}
.act-col--cab .act-sur{padding:0}
.act-titre{margin:0 0 8px;padding:0 6px;font:500 19px/1.3 var(--rg-font-display);letter-spacing:-.01em;color:var(--rg-cream)}
.act-col--cab .act-titre{padding:0;margin:0}
.act-item{display:flex;align-items:center;gap:14px;min-height:56px;padding:8px 12px;border-radius:var(--rg-r-ctrl);text-decoration:none;color:var(--rg-cream);transition:background .25s var(--rg-ease-out)}
.act-item:hover,.act-item:focus-visible{background:var(--rg-fill-hover)}
.act-item .ico{flex:none;color:var(--blue-ink,var(--rg-cream))}
.act-item .act-txt{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.act-item .t{font:500 16px/1.3 var(--rg-font-sans)}
.act-item .tag{font:400 13px/1.3 var(--rg-font-sans);color:var(--rg-text-3)}
.act-item .prix{flex:none;font:500 13px/1.3 var(--rg-font-sans);white-space:nowrap;color:var(--blue-ink,var(--rg-cream))}
.act-pied{margin:8px 0 0;padding:12px 12px 0;border-top:1px solid var(--rg-rule);font:400 13px/1.4 var(--rg-font-sans);color:var(--rg-text-3)}
.act-txt-cab{margin:0;font:400 14px/1.5 var(--rg-font-sans);color:var(--ink-2,var(--rg-cream))}
.act-col--cab .rg-btn{width:100%;justify-content:center}
.act-lien{font:500 13px/1.4 var(--rg-font-sans);color:var(--rg-cream);text-underline-offset:4px;text-align:center}
.act-lien:hover{text-decoration:underline}
@media (min-width:1240px){
  .drop--action{left:-130px}
}
.acc-panel .item .prix{margin-top:2px}
body.glacier .act-col--cab .rg-btn--ghost,body.glacier .act-col--cab .rg-btn--ghost:hover{color:var(--ink)}

/* Passer à l'action : encadré en gélule dans la navigation, pour se lire comme un appel à l'action */
.nav-drop>button.head-act{padding:0 20px;border:1px solid currentColor;border-radius:var(--rg-r-pill)}
.nav-drop>button.head-act::after{display:none}
.nav-drop>button.head-act:hover,.nav-drop>button.head-act[aria-expanded="true"],.nav-drop>button.head-act[data-section]{background:var(--rg-fill-hover)}
body.glacier .nav-drop>button.head-act{background:linear-gradient(180deg,rgba(255,255,255,.55),rgba(255,255,255,.28));box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}
body.glacier .nav-drop>button.head-act:hover,body.glacier .nav-drop>button.head-act[aria-expanded="true"],body.glacier .nav-drop>button.head-act[data-section]{background:linear-gradient(180deg,rgba(255,255,255,.8),rgba(255,255,255,.5))}
@media (min-width:1240px){
  .nav-drop>button.head-act{padding:0 20px;margin-left:6px}
}

/* ===== modules/labg-hero ===== */
/* Styles dans base/glacier.css (composants de page produit) */

/* ===== modules/labg-fonctions ===== */
/* Styles dans base/glacier.css (composants de page produit) */

/* ===== modules/labg-tableau ===== */
/* Styles dans base/glacier.css (composants de page produit) */

/* ===== modules/labg-cadre ===== */
/* Styles dans base/glacier.css (composants de page produit) */

/* ===== modules/lab-manuel ===== */
.lab-manuel .manuel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:24px 40px;border-radius:var(--rg-r-sub);padding:clamp(18px,3.4vw,36px)}
.lab-manuel .manuel__texte{position:relative;z-index:1;max-width:62ch}
.lab-manuel .manuel__illustration{position:relative;z-index:1;min-width:0}
.lab-manuel .manuel .rg-h2{font-size:clamp(22px,2.4vw,28px);margin-bottom:8px}
.lab-manuel .manuel p{margin:0;color:var(--ink-2)}
.lab-manuel .manuel .rg-btn{margin-top:20px}
@media (max-width:900px){.lab-manuel .manuel{grid-template-columns:minmax(0,1fr)}}

/* ===== modules/lab-pour-qui ===== */
/* Pour qui, et pour qui ce n'est pas */
.lab-pour-qui .duo li span{max-width:46ch}

/* ===== modules/lab-faq ===== */
/* Questions fréquentes de la page Rouage Lab */
.lab-faq .faq{margin-inline:auto}

/* ===== modules/cta-bande ===== */
/* Module cta-bande */

/* ===== modules/footer ===== */
/* Pied de page : un bloc de verre dédié (marque et appel à l'action, cinq colonnes de liens, ligne de bas de page).
   Les colonnes sont des <details class="fold"> : ouvertes sur grand écran, repliées en mobile (script cta-mobile). */
.foot{padding-block:clamp(24px,4vw,48px) clamp(28px,4vw,48px)}
.foot-bloc{border-radius:var(--rg-r-panel);padding:clamp(24px,4vw,48px)}
.foot-bloc>*{position:relative;z-index:1}
.foot-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px 32px;padding-bottom:clamp(20px,3vw,32px);border-bottom:1px solid var(--rg-rule)}
.foot-brand{display:flex;flex-direction:column;gap:10px}
.foot-brand .logo{font-size:30px}
.foot-devise{color:var(--ink-2);font-size:15px}
.foot-cta{display:flex;flex-wrap:wrap;align-items:center;gap:14px 20px}
.foot-mail{font:500 13px/1.4 var(--rg-font-mono);letter-spacing:.02em}
.foot-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 32px;padding-block:clamp(20px,3vw,32px)}
.foot-col{display:block}
.foot-col .h{display:flex;align-items:center;gap:10px;font:500 11px/1.3 var(--rg-font-mono);letter-spacing:.14em;text-transform:uppercase;color:var(--blue-ink)}
.foot-col .h::before{content:"";flex:none;width:16px;height:1px;background:currentColor}
.foot-col>summary{margin-bottom:10px}
.foot-col nav{display:flex;flex-direction:column}
.foot-col a{display:flex;align-items:center;min-height:36px;width:fit-content;font-size:14px;color:var(--ink);text-decoration:underline;text-decoration-color:transparent;text-underline-offset:5px;transition:text-decoration-color .2s}
.foot-col a:hover,.foot-col a[aria-current="page"]{color:var(--blue-ink);text-decoration-color:var(--blue-ink)}
.foot-bas{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 24px;padding-top:clamp(16px,2.4vw,24px);border-top:1px solid var(--rg-rule);font:500 12px/1.4 var(--rg-font-mono);letter-spacing:.06em;color:var(--ink-2)}
@media (max-width:1100px){
  .foot-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:720px){
  .foot-grid{grid-template-columns:minmax(0,1fr);gap:0;padding-block:8px}
  .foot-col{border-bottom:1px solid var(--rg-rule)}
  .foot-col>summary{margin:0;min-height:52px;padding:0;border-bottom:0!important}
  .foot-col[open]>summary{margin-bottom:4px}
  .foot-col nav{padding-bottom:12px}
  .foot-top{padding-bottom:18px}
}

/* Titres de colonnes : sans trait devant */
.foot-col .h::before{display:none}

/* ===== modules/consentement ===== */
/* Bande de consentement : verre centré en bas, sans bloquer la page ; refuser et accepter au même gabarit */
.cookies{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:80;width:min(760px,calc(100vw - 48px));padding:16px 18px 16px 24px;border-radius:var(--rg-r-pill);display:flex;align-items:center;gap:20px}
.cookies[hidden]{display:none}
.cookies-texte{margin:0;flex:1 1 auto;font:400 14px/1.5 var(--rg-font-sans)}
.cookies-texte strong{font-weight:600}
.cookies-actions{display:flex;gap:10px;flex:0 0 auto}
.cookies-actions .rg-btn{justify-content:center;min-width:112px;padding-inline:18px;white-space:nowrap}
.foot-cookies{padding:0;margin:0;border:0;background:none;font:inherit;letter-spacing:inherit;color:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.foot-cookies:hover{color:var(--ink)}
@media (max-width:980px){
  .cookies{left:16px;right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));transform:none;width:auto;padding:18px;border-radius:var(--rg-r-sub);flex-direction:column;align-items:stretch;gap:14px}
  .cookies-actions .rg-btn{flex:1 1 0}
}

/* ===== modules/kycg-hero ===== */
/* Aperçu : pastille « ok » plus foncée, pour le contraste sur le verre */
body.glacier .kycg-hero .pill--ok{color:#06301F}
/* Mobile : hero resserré, pour garder l'aperçu et les deux boutons dans le premier écran et demi */
@media (max-width:720px){
  body.glacier .kycg-hero .wrap{padding-block:16px 8px}
  body.glacier .kycg-hero .pg-hero__grid{gap:20px}
  body.glacier .kycg-hero .pg-hero__txt{gap:10px}
  body.glacier .kycg-hero .rg-eyebrow{margin-bottom:0}
  body.glacier .kycg-hero .rg-h1{font-size:30px}
  body.glacier .kycg-hero .rg-lede{margin-top:0;font-size:17px}
  body.glacier .kycg-hero .ctas{gap:8px;margin-top:4px}
  body.glacier .kycg-hero .pg-table tbody tr:nth-child(n+3){display:none}
  body.glacier .kycg-hero .pg-table th,body.glacier .kycg-hero .pg-table td{padding:8px 12px;font-size:13px}
  body.glacier .kycg-hero .pg-table em{display:none}
  body.glacier .kycg-hero .pg-bar{padding:10px 14px}
}
@media (max-width:380px){
  body.glacier .kycg-hero .pg-table th,body.glacier .kycg-hero .pg-table td{padding:8px 7px}
  body.glacier .kycg-hero .pg-table .pill{font-size:11px;padding:2px 7px}
}

/* ===== modules/kycg-fonctions ===== */
/* Page KYC : aperçus et note de limites, scopés sur le module */
.kycg-fonctions .lignes li{grid-template-columns:54px 1fr auto}
.kycg-fonctions .kycg-note{color:var(--ink-2);font-size:13px;text-align:right}
.kycg-fonctions .kycg-grille li{grid-template-columns:130px 1fr}
.kycg-fonctions .kycg-grille .etiquette{font-size:12px;color:var(--blue-ink)}
.kycg-fonctions .apres{margin:8px 0 0;max-width:62ch;font-size:15px;color:var(--ink-2)}
@media (max-width:720px){
  .kycg-fonctions .apres{font-size:14px}
}
body.glacier .kycg-fonctions .fn__txt p.source:not(.etiquette){font:400 12px/1.6 var(--rg-font-mono)}
/* Mobile : lignes de fonctions resserrées (les aperçus sont déjà masqués par le thème) */
@media (max-width:720px){
  body.glacier .kycg-fonctions .fn__n{display:none}
  body.glacier .kycg-fonctions .fn{padding-block:6px;gap:6px}
  body.glacier .kycg-fonctions .fn__txt{gap:6px}
  body.glacier .kycg-fonctions .fn__txt h3{font-size:19px}
  body.glacier .kycg-fonctions .fn__txt p:not(.etiquette){font-size:15.5px;line-height:1.5}
  body.glacier .kycg-fonctions .fn__txt .detail summary{min-height:40px}
  body.glacier .kycg-fonctions .sec-head p{font-size:16px}
  body.glacier .kycg-fonctions{padding-block:22px}
}

/* ===== modules/kycg-tableau ===== */
/* Colonne de droite : le thème écrit « Avec le Lab » sur mobile, on le remplace */
@media (max-width:720px){
  body.glacier .kycg-tableau .ecarts td:last-child::before{content:"Avec Rouage"}
}
/* Références : le thème les agrandit dans les cartes, on les remet en petit */
body.glacier .kycg-tableau .card .source{font-size:12px;line-height:1.6}
@media (max-width:720px){
  body.glacier .kycg-tableau .ecarts td{padding:5px 18px;font-size:15px;line-height:1.45}
  body.glacier .kycg-tableau .ecarts tr{padding:8px 0}
  body.glacier .kycg-tableau .ecarts td:last-child::before{display:inline;margin:0 8px 0 0}
  body.glacier .kycg-tableau .sec-head p{font-size:16px}
  body.glacier .kycg-tableau{padding-block:22px}
}

/* ===== modules/kycg-cadre ===== */
/* Page KYC : « À retenir » intégré au cadre, source en petit */
.kycg-cadre .retenir-liste{margin-bottom:20px}
.kycg-cadre .kycg-src{margin:14px 0 0;font-size:12px;color:var(--ink-2)}
@media (max-width:720px){
  /* « À retenir » en bande défilante, comme les tuiles */
  body.glacier .kycg-cadre .retenir-liste{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;margin-inline:calc(-1 * var(--rg-gutter));padding-inline:var(--rg-gutter);border-radius:0;gap:10px;scrollbar-width:none;background:none;border:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;overflow-y:visible}
  body.glacier .kycg-cadre .retenir-liste::after{content:none}
  body.glacier .kycg-cadre .retenir-liste::-webkit-scrollbar{display:none}
  body.glacier .kycg-cadre .retenir-liste li{flex:0 0 78%;scroll-snap-align:center;padding:12px 16px;gap:2px;border:1px solid var(--glass-edge);border-radius:var(--rg-r-sub);background:var(--glass-bg);box-shadow:var(--glass-shadow)}
  body.glacier .kycg-cadre .retenir-liste li+li{border-left:1px solid var(--glass-edge)}
  body.glacier .kycg-cadre .retenir-liste span{font-size:14px}
}

/* ===== modules/kyc-deroule ===== */
/* Module kyc-deroule */

/* ===== modules/kyc-faq ===== */
/* Questions de fond de la page kyc */
.kyc-faq .faq{margin-inline:auto}

/* ===== modules/kycg-cta ===== */
/* Le thème glacier donne position:relative à .rg-glass-soft, ce qui écrase le position:fixed de .m-cta
   et décale le bouton mobile de 24 px (débordement horizontal). On rétablit le comportement prévu. */
body.glacier .m-cta{position:fixed}
@media (max-width:720px){
  body.glacier .cta-bande .rg-h2{font-size:24px}
}

/* ===== modules/cycleg-hero ===== */
/* Aperçu : l'auteur sous le nom du dossier */
.cycleg-hero .pg-table em{display:block;font-style:normal;font-size:12px;color:var(--ink)}
body.glacier .cycleg-hero .pill--ok{color:#06301F}
/* Mobile : hero resserré, pour garder l'aperçu et les deux boutons dans le premier écran et demi */
@media (max-width:720px){
  body.glacier .cycleg-hero .wrap{padding-block:16px 8px}
  body.glacier .cycleg-hero .pg-hero__grid{gap:20px}
  body.glacier .cycleg-hero .pg-hero__txt{gap:10px}
  body.glacier .cycleg-hero .rg-eyebrow{margin-bottom:0}
  body.glacier .cycleg-hero .rg-h1{font-size:30px}
  body.glacier .cycleg-hero .rg-lede{margin-top:0;font-size:17px}
  body.glacier .cycleg-hero .ctas{gap:8px;margin-top:4px}
  body.glacier .cycleg-hero .pg-table tbody tr:nth-child(n+3){display:none}
  body.glacier .cycleg-hero .pg-table th,body.glacier .cycleg-hero .pg-table td{padding:8px 12px;font-size:13px}
  body.glacier .cycleg-hero .pg-table em{display:none}
  body.glacier .cycleg-hero .pg-bar{padding:10px 14px}
}
@media (max-width:380px){
  body.glacier .cycleg-hero .pg-table th,body.glacier .cycleg-hero .pg-table td{padding:8px 7px}
  body.glacier .cycleg-hero .pg-table .pill{font-size:11px;padding:2px 7px}
}

/* ===== modules/cycleg-fonctions ===== */
/* Page Cycle de la mission : aperçus et note de limites, scopés sur le module */
.cycleg-fonctions .cycleg-lignes li{grid-template-columns:78px 1fr}
.cycleg-fonctions .cycleg-lignes .etiquette{font-size:12px;color:var(--blue-ink)}
.cycleg-fonctions .cycleg-pts li{grid-template-columns:1fr auto}
.cycleg-fonctions .apres{margin:8px 0 0;max-width:62ch;font-size:15px;color:var(--ink-2)}
@media (max-width:720px){
  .cycleg-fonctions .apres{font-size:14px}
}
body.glacier .cycleg-fonctions .fn__txt p.source:not(.etiquette){font:400 12px/1.6 var(--rg-font-mono)}
/* Mobile : lignes de fonctions resserrées (les aperçus sont déjà masqués par le thème) */
@media (max-width:720px){
  body.glacier .cycleg-fonctions .fn__n{display:none}
  body.glacier .cycleg-fonctions .fn{padding-block:6px;gap:6px}
  body.glacier .cycleg-fonctions .fn__txt{gap:6px}
  body.glacier .cycleg-fonctions .fn__txt h3{font-size:19px}
  body.glacier .cycleg-fonctions .fn__txt p:not(.etiquette){font-size:15.5px;line-height:1.5}
  body.glacier .cycleg-fonctions .fn__txt .detail summary{min-height:40px}
  body.glacier .cycleg-fonctions .sec-head p{font-size:16px}
  body.glacier .cycleg-fonctions{padding-block:22px}
}

/* ===== modules/cycleg-tableau ===== */
/* Colonne de droite : le thème écrit « Avec le Lab » sur mobile, on le remplace */
@media (max-width:720px){
  body.glacier .cycleg-tableau .ecarts td:last-child::before{content:"Avec Rouage"}
}
/* Références : le thème les agrandit dans les cartes, on les remet en petit */
body.glacier .cycleg-tableau .card .source{font-size:12px;line-height:1.6}
@media (max-width:720px){
  body.glacier .cycleg-tableau .ecarts td{padding:5px 18px;font-size:15px;line-height:1.45}
  body.glacier .cycleg-tableau .ecarts tr{padding:8px 0}
  body.glacier .cycleg-tableau .ecarts td:last-child::before{display:inline;margin:0 8px 0 0}
  body.glacier .cycleg-tableau .sec-head p{font-size:16px}
  body.glacier .cycleg-tableau{padding-block:22px}
}

/* ===== modules/cycleg-cadre ===== */
/* Page Cycle de la mission : note de sources en petit */
.cycleg-cadre .cycleg-src{margin:14px 0 0;max-width:none;font-size:12px;line-height:1.6;color:var(--ink-2)}

/* ===== modules/cycle-deroule ===== */
/* Module cycle-deroule */

/* ===== modules/cycle-faq ===== */
/* Questions de fond de la page cycle */
.cycle-faq .faq{margin-inline:auto}

/* ===== modules/cycleg-cta ===== */
/* Le thème glacier donne position:relative à .rg-glass-soft, ce qui écrase le position:fixed de .m-cta
   et décale le bouton mobile de 24 px (débordement horizontal). On rétablit le comportement prévu. */
body.glacier .m-cta{position:fixed}
@media (max-width:720px){
  body.glacier .cta-bande .rg-h2{font-size:24px}
}

/* ===== modules/crmg-hero ===== */
/* Aperçu du pipeline, scopé sur le module */
.crmg-hero .crmg-kan{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:14px;position:relative;z-index:1}
.crmg-hero .crmg-kan__col{display:flex;flex-direction:column;gap:8px;min-width:0}
.crmg-hero .crmg-kan__col>.etiquette{margin:0 0 2px;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--blue-ink)}
.crmg-hero .crmg-kan__c{display:flex;flex-direction:column;gap:3px;padding:10px 11px;border-radius:12px;font-size:13px;line-height:1.35;color:var(--ink)}
.crmg-hero .crmg-kan__c b{font-weight:600}
.crmg-hero .crmg-kan__c span{font:400 11px/1.35 var(--rg-font-mono);color:var(--ink-2)}
@media (max-width:720px){
  .crmg-hero .crmg-kan{gap:6px;padding:10px}
  .crmg-hero .crmg-kan__c{padding:8px;font-size:12px}
  .crmg-hero .crmg-kan__col>.etiquette{font-size:10px;line-height:1.3;height:27px;margin:0}
  .crmg-hero .crmg-kan__c:nth-of-type(n+2){display:none}
}
/* Mobile : hero resserré, pour garder l'aperçu et les deux boutons dans le premier écran et demi */
@media (max-width:720px){
  body.glacier .crmg-hero .wrap{padding-block:16px 8px}
  body.glacier .crmg-hero .pg-hero__grid{gap:20px}
  body.glacier .crmg-hero .pg-hero__txt{gap:10px}
  body.glacier .crmg-hero .rg-eyebrow{margin-bottom:0}
  body.glacier .crmg-hero .rg-h1{font-size:30px}
  body.glacier .crmg-hero .rg-lede{margin-top:0;font-size:17px}
  body.glacier .crmg-hero .ctas{gap:8px;margin-top:4px}
  body.glacier .crmg-hero .pg-table tbody tr:nth-child(n+3){display:none}
  body.glacier .crmg-hero .pg-table th,body.glacier .crmg-hero .pg-table td{padding:8px 12px;font-size:13px}
  body.glacier .crmg-hero .pg-table em{display:none}
  body.glacier .crmg-hero .pg-bar{padding:10px 14px}
}
@media (max-width:380px){
  body.glacier .crmg-hero .pg-table th,body.glacier .crmg-hero .pg-table td{padding:8px 7px}
  body.glacier .crmg-hero .pg-table .pill{font-size:11px;padding:2px 7px}
}

/* ===== modules/crmg-fonctions ===== */
/* Page CRM : aperçus (fiche, modèle de données, rôles), scopés sur le module */
.crmg-fonctions .crmg-search{padding:9px 12px;border-radius:12px;font-size:14px;color:var(--ink-2)}
.crmg-fonctions .crmg-tabs{display:flex;gap:6px;margin:12px 0 4px}
.crmg-fonctions .crmg-tab{padding:5px 12px;border-radius:999px;font:500 12px/1.4 var(--rg-font-mono);letter-spacing:.04em;color:var(--ink);border:1px solid var(--rg-line)}
.crmg-fonctions .crmg-tab--on{background:var(--tint);border-color:rgba(47,107,221,.3);color:var(--blue-ink)}
.crmg-fonctions .crmg-l2 li{grid-template-columns:78px 1fr}
.crmg-fonctions .crmg-l2 .etiquette{font-size:12px;color:var(--blue-ink)}
.crmg-fonctions .crmg-roles{width:100%;border-collapse:collapse;font-size:13px;color:var(--ink)}
.crmg-fonctions .crmg-roles th{padding:0 6px 8px;text-align:left;font:500 11px/1.3 var(--rg-font-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--blue-ink)}
.crmg-fonctions .crmg-roles td{padding:9px 6px;border-top:1px solid var(--rg-rule)}
.crmg-fonctions .crmg-roles td:first-child{padding-left:0;font-weight:500}
body.glacier .crmg-fonctions .fn__txt p.source:not(.etiquette){font:400 12px/1.6 var(--rg-font-mono)}
/* Mobile : lignes de fonctions resserrées (les aperçus sont déjà masqués par le thème) */
@media (max-width:720px){
  body.glacier .crmg-fonctions .fn__n{display:none}
  body.glacier .crmg-fonctions .fn{padding-block:6px;gap:6px}
  body.glacier .crmg-fonctions .fn__txt{gap:6px}
  body.glacier .crmg-fonctions .fn__txt h3{font-size:19px}
  body.glacier .crmg-fonctions .fn__txt p:not(.etiquette){font-size:15.5px;line-height:1.5}
  body.glacier .crmg-fonctions .fn__txt .detail summary{min-height:40px}
  body.glacier .crmg-fonctions .sec-head p{font-size:16px}
  body.glacier .crmg-fonctions{padding-block:22px}
}

/* ===== modules/crmg-tableau ===== */
/* Colonne de droite : le thème écrit « Avec le Lab » sur mobile, on le remplace */
@media (max-width:720px){
  body.glacier .crmg-tableau .ecarts td:last-child::before{content:"Avec le CRM Rouage"}
}
/* Références : le thème les agrandit dans les cartes, on les remet en petit */
body.glacier .crmg-tableau .card .source{font-size:12px;line-height:1.6}
@media (max-width:720px){
  body.glacier .crmg-tableau .ecarts td{padding:5px 18px;font-size:15px;line-height:1.45}
  body.glacier .crmg-tableau .ecarts tr{padding:8px 0}
  body.glacier .crmg-tableau .ecarts td:last-child::before{display:inline;margin:0 8px 0 0}
  body.glacier .crmg-tableau .sec-head p{font-size:16px}
  body.glacier .crmg-tableau{padding-block:22px}
}

/* ===== modules/crmg-cadre ===== */
/* Page CRM : dernière tuile sur toute la largeur */
.crmg-cadre .tile.large{grid-column:1/-1}

/* ===== modules/crm-deroule ===== */
/* Déroulé de la page Rouage CRM */

/* ===== modules/crm-faq ===== */
/* Questions fréquentes de la page Rouage CRM */
.crm-faq .faq{margin-inline:auto}

/* ===== modules/crmg-cta ===== */
/* Le thème glacier donne position:relative à .rg-glass-soft, ce qui écrase le position:fixed de .m-cta
   et décale le bouton mobile de 24 px (débordement horizontal). On rétablit le comportement prévu. */
body.glacier .m-cta{position:fixed}
@media (max-width:720px){
  body.glacier .cta-bande .rg-h2{font-size:24px}
}

/* ===== modules/rentg-hero ===== */
/* Aperçu : colonnes resserrées pour tenir dans le verre */
.rentg-hero .pg-table th,.rentg-hero .pg-table td{padding-inline:12px}
/* Mobile : hero resserré, pour garder l'aperçu et les deux boutons dans le premier écran et demi */
@media (max-width:720px){
  body.glacier .rentg-hero .wrap{padding-block:16px 8px}
  body.glacier .rentg-hero .pg-hero__grid{gap:20px}
  body.glacier .rentg-hero .pg-hero__txt{gap:10px}
  body.glacier .rentg-hero .rg-eyebrow{margin-bottom:0}
  body.glacier .rentg-hero .rg-h1{font-size:30px}
  body.glacier .rentg-hero .rg-lede{margin-top:0;font-size:17px}
  body.glacier .rentg-hero .ctas{gap:8px;margin-top:4px}
  body.glacier .rentg-hero .pg-table tbody tr:nth-child(n+3){display:none}
  body.glacier .rentg-hero .pg-table th,body.glacier .rentg-hero .pg-table td{padding:8px 12px;font-size:13px}
  body.glacier .rentg-hero .pg-table em{display:none}
  body.glacier .rentg-hero .pg-bar{padding:10px 14px}
}
@media (max-width:380px){
  body.glacier .rentg-hero .pg-table th,body.glacier .rentg-hero .pg-table td{padding:8px 7px}
  body.glacier .rentg-hero .pg-table .pill{font-size:11px;padding:2px 7px}
}

/* ===== modules/rentg-fonctions ===== */
/* Page Production et rentabilité : aperçus de livrables, scopés sur le module */
.rentg-fonctions .rentg-def li{grid-template-columns:104px 1fr}
.rentg-fonctions .rentg-def .etiquette{font-size:12px;color:var(--blue-ink)}
.rentg-fonctions .rentg-ctl li{grid-template-columns:54px 1fr auto}
.rentg-fonctions .rentg-ctl .etiquette{font-size:12px;color:var(--blue-ink)}
body.glacier .rentg-fonctions .fn__txt p.source:not(.etiquette){font:400 12px/1.6 var(--rg-font-mono)}
/* Mobile : lignes de fonctions resserrées (les aperçus sont déjà masqués par le thème) */
@media (max-width:720px){
  body.glacier .rentg-fonctions .fn__n{display:none}
  body.glacier .rentg-fonctions .fn{padding-block:6px;gap:6px}
  body.glacier .rentg-fonctions .fn__txt{gap:6px}
  body.glacier .rentg-fonctions .fn__txt h3{font-size:19px}
  body.glacier .rentg-fonctions .fn__txt p:not(.etiquette){font-size:15.5px;line-height:1.5}
  body.glacier .rentg-fonctions .fn__txt .detail summary{min-height:40px}
  body.glacier .rentg-fonctions .sec-head p{font-size:16px}
  body.glacier .rentg-fonctions{padding-block:22px}
}

/* ===== modules/rentg-tableau ===== */
/* Colonne de droite : le thème écrit « Avec le Lab » sur mobile, on le remplace */
@media (max-width:720px){
  body.glacier .rentg-tableau .ecarts td:last-child::before{content:"Avec Rouage"}
}

/* ===== modules/rentg-cadre ===== */
/* Page Production et rentabilité : dernière tuile pleine largeur, note de convention */
.rentg-cadre .tile.large{grid-column:1/-1}
.rentg-cadre .rentg-conv{margin:14px 0 0;max-width:none;font-size:15px;color:var(--ink-2)}
@media (max-width:720px){
  .rentg-cadre .rentg-conv{font-size:14px}
}

.rentg-avancement{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:clamp(24px,5vw,64px);align-items:center;margin-bottom:32px;scroll-margin-top:110px}
.rentg-avancement__texte{display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0}
.rentg-avancement__texte h3{font:600 clamp(22px,2.4vw,28px)/1.2 var(--rg-font-sans)}
.rentg-avancement__texte p{margin:0;color:var(--ink-2)}
.rentg-avancement__illustration{min-width:0}
@media (max-width:900px){.rentg-avancement{grid-template-columns:minmax(0,1fr);gap:20px}}

/* ===== modules/rent-deroule ===== */
/* Déroulé de la page Production et rentabilité */

/* ===== modules/rent-faq ===== */
/* Questions fréquentes de la page Production et rentabilité */
.rent-faq .faq{margin-inline:auto}

/* ===== modules/rentg-cta ===== */
/* Le thème glacier donne position:relative à .rg-glass-soft, ce qui écrase le position:fixed de .m-cta
   et décale le bouton mobile de 24 px (débordement horizontal). On rétablit le comportement prévu. */
body.glacier .m-cta{position:fixed}
@media (max-width:720px){
  body.glacier .cta-bande .rg-h2{font-size:24px}
}

/* ===== modules/factg-hero ===== */
/* Module factg-hero : composants du thème dans base/glacier.css ; ici le resserrage mobile et des pastilles un peu plus foncées (contraste mesuré) */
body.glacier .factg-hero .pill--ok{color:#052B1A}
body.glacier .factg-hero .pill--warn{color:#3F2400}
@media (max-width:720px){
  .p-hero.factg-hero .wrap{padding-block:28px 8px}
  .factg-hero .pg-hero__grid{gap:18px}
  .factg-hero .pg-hero__txt{gap:12px}
  .p-hero.factg-hero .rg-eyebrow{margin-bottom:10px}
  body.glacier .factg-hero .rg-h1{font-size:30px}
  .factg-hero .pg-table td.num{white-space:nowrap}
  .p-hero.factg-hero .rg-lede{margin-top:0}
  .p-hero.factg-hero .ctas{margin-top:0}
  .factg-hero .pg-table tbody tr:nth-child(n+3){display:none}
}

/* ===== modules/factg-fonctions ===== */
/* Module factg-fonctions : détail replié dans les lignes ; pastilles un peu plus foncées (contraste mesuré) ; le reste vient de base/glacier.css */
body.glacier .factg-fonctions .pill--ok{color:#052B1A}
body.glacier .factg-fonctions .pill--warn{color:#3F2400}
.factg-fonctions .fn__txt .detail p{margin:6px 0 0;font-size:15px}
.factg-fonctions .fn__txt .detail p+p{margin-top:10px}
@media (max-width:720px){
  body.glacier .sec.factg-fonctions{padding-block:20px}
  body.glacier .factg-fonctions .sec-head{margin-bottom:8px}
  body.glacier .factg-fonctions .sec-head p{font-size:15px;line-height:1.5}
  .factg-fonctions .fn__n{display:none}
  body.glacier .factg-fonctions .fn+.fn{border-top:1px solid var(--rg-rule);padding-top:12px;margin-top:4px}
  body.glacier .pg-fonctions.factg-fonctions .fn{padding-block:6px;gap:0}
  .factg-fonctions .fn__txt{gap:4px}
  .factg-fonctions .fn__txt h3{font-size:19px}
  body.glacier .factg-fonctions .fn__txt p:not(.etiquette){font-size:15px;line-height:1.5}
  .factg-fonctions .fn__txt .detail summary{min-height:36px}
}

/* ===== modules/factg-tableau ===== */
/* Module factg-tableau : le libellé mobile de la colonne de droite remplace celui du thème */
@media (max-width:720px){
  .factg-tableau .ecarts td:last-child::before{content:"Avec Rouage";margin-bottom:2px}
  body.glacier .factg-tableau .ecarts td{padding:5px 18px;font-size:15.5px;line-height:1.4}
  body.glacier .factg-tableau .ecarts tr{padding:6px 0}
  body.glacier .sec.factg-tableau{padding-block:20px}
  body.glacier .factg-tableau .sec-head{margin-bottom:12px}
  body.glacier .factg-tableau .sec-head p{font-size:15px;line-height:1.5}
  .factg-tableau .ecarts .etiquette{margin-bottom:2px}
}

/* ===== modules/factg-cadre ===== */
/* Module factg-cadre : tuiles en verre (base/glacier.css) ; trois colonnes */
@media (max-width:720px){
  body.glacier .sec.factg-cadre{padding-block:20px}
  body.glacier .factg-cadre .sec-head{margin-bottom:10px}
  body.glacier .factg-cadre .sec-head p{font-size:15px;line-height:1.5}
}

/* ===== modules/fact-deroule ===== */
/* Module fact-deroule : pas de style propre */

/* ===== modules/fact-faq ===== */
/* Questions de fond de la page fact */
.fact-faq .faq{margin-inline:auto}

/* ===== modules/factg-cta ===== */
/* Module factg-cta : même balisage que cta-bande, styles du thème.
   Correctif : body.glacier .rg-glass-soft impose position:relative et écrase le position:fixed
   du bouton mobile (.m-cta) : il sort du viewport de 24 px et crée un débordement horizontal.
   À corriger à la source dans base/glacier.css ; cette ligne devient alors inutile. */
body.glacier .m-cta{position:fixed}

/* ===== modules/piecesg-hero ===== */
/* Module piecesg-hero : composants du thème dans base/glacier.css ; ici le resserrage mobile et des pastilles un peu plus foncées (contraste mesuré) */
body.glacier .piecesg-hero .pill--ok{color:#052B1A}
body.glacier .piecesg-hero .pill--warn{color:#3F2400}
@media (max-width:720px){
  .p-hero.piecesg-hero .wrap{padding-block:28px 8px}
  .piecesg-hero .pg-hero__grid{gap:18px}
  .piecesg-hero .pg-hero__txt{gap:12px}
  .p-hero.piecesg-hero .rg-eyebrow{margin-bottom:10px}
  body.glacier .piecesg-hero .rg-h1{font-size:30px}
  .piecesg-hero .pg-table td.num{white-space:nowrap}
  .p-hero.piecesg-hero .rg-lede{margin-top:0}
  .p-hero.piecesg-hero .ctas{margin-top:0}
  .piecesg-hero .pg-table tbody tr:nth-child(n+3){display:none}
}

/* ===== modules/piecesg-fonctions ===== */
/* Module piecesg-fonctions : détail replié dans les lignes ; pastilles un peu plus foncées (contraste mesuré) ; le reste vient de base/glacier.css */
body.glacier .piecesg-fonctions .pill--ok{color:#052B1A}
body.glacier .piecesg-fonctions .pill--warn{color:#3F2400}
.piecesg-fonctions .fn__txt .detail p{margin:6px 0 0;font-size:15px}
.piecesg-fonctions .fn__txt .detail p+p{margin-top:10px}
@media (max-width:720px){
  body.glacier .sec.piecesg-fonctions{padding-block:20px}
  body.glacier .piecesg-fonctions .sec-head{margin-bottom:8px}
  body.glacier .piecesg-fonctions .sec-head p{font-size:15px;line-height:1.5}
  .piecesg-fonctions .fn__n{display:none}
  body.glacier .piecesg-fonctions .fn+.fn{border-top:1px solid var(--rg-rule);padding-top:12px;margin-top:4px}
  body.glacier .pg-fonctions.piecesg-fonctions .fn{padding-block:6px;gap:0}
  .piecesg-fonctions .fn__txt{gap:4px}
  .piecesg-fonctions .fn__txt h3{font-size:19px}
  body.glacier .piecesg-fonctions .fn__txt p:not(.etiquette){font-size:15px;line-height:1.5}
  .piecesg-fonctions .fn__txt .detail summary{min-height:36px}
}

/* ===== modules/piecesg-tableau ===== */
/* Module piecesg-tableau : le libellé mobile de la colonne de droite remplace celui du thème */
@media (max-width:720px){
  .piecesg-tableau .ecarts td:last-child::before{content:"Avec Rouage";margin-bottom:2px}
  body.glacier .piecesg-tableau .ecarts td{padding:5px 18px;font-size:15.5px;line-height:1.4}
  body.glacier .piecesg-tableau .ecarts tr{padding:6px 0}
  body.glacier .sec.piecesg-tableau{padding-block:20px}
  body.glacier .piecesg-tableau .sec-head{margin-bottom:12px}
  body.glacier .piecesg-tableau .sec-head p{font-size:15px;line-height:1.5}
  .piecesg-tableau .ecarts .etiquette{margin-bottom:2px}
}

/* ===== modules/piecesg-cadre ===== */
/* Module piecesg-cadre : tuiles en verre (base/glacier.css) ; trois colonnes */
@media (max-width:720px){
  body.glacier .sec.piecesg-cadre{padding-block:20px}
  body.glacier .piecesg-cadre .sec-head{margin-bottom:10px}
  body.glacier .piecesg-cadre .sec-head p{font-size:15px;line-height:1.5}
}

/* ===== modules/pieces-deroule ===== */
/* Module pieces-deroule : pas de style propre */

/* ===== modules/pieces-faq ===== */
/* Questions de fond de la page pieces */
.pieces-faq .faq{margin-inline:auto}

/* ===== modules/piecesg-cta ===== */
/* Module piecesg-cta : même balisage que cta-bande, styles du thème.
   Correctif : body.glacier .rg-glass-soft impose position:relative et écrase le position:fixed
   du bouton mobile (.m-cta) : il sort du viewport de 24 px et crée un débordement horizontal.
   À corriger à la source dans base/glacier.css ; cette ligne devient alors inutile. */
body.glacier .m-cta{position:fixed}

/* ===== modules/jursg-hero ===== */
/* Module jursg-hero : composants du thème dans base/glacier.css ; ici le resserrage mobile et des pastilles un peu plus foncées (contraste mesuré) */
body.glacier .jursg-hero .pill--ok{color:#052B1A}
body.glacier .jursg-hero .pill--warn{color:#3F2400}
@media (max-width:720px){
  .p-hero.jursg-hero .wrap{padding-block:28px 8px}
  .jursg-hero .pg-hero__grid{gap:18px}
  .jursg-hero .pg-hero__txt{gap:12px}
  .p-hero.jursg-hero .rg-eyebrow{margin-bottom:10px}
  body.glacier .jursg-hero .rg-h1{font-size:30px}
  .jursg-hero .pg-table td.num{white-space:nowrap}
  .p-hero.jursg-hero .rg-lede{margin-top:0}
  .p-hero.jursg-hero .ctas{margin-top:0}
  .jursg-hero .pg-table tbody tr:nth-child(n+3){display:none}
}

/* ===== modules/jursg-fonctions ===== */
/* Module jursg-fonctions : détail replié dans les lignes ; pastilles un peu plus foncées (contraste mesuré) ; le reste vient de base/glacier.css */
body.glacier .jursg-fonctions .pill--ok{color:#052B1A}
body.glacier .jursg-fonctions .pill--warn{color:#3F2400}
.jursg-fonctions .fn__txt .detail p{margin:6px 0 0;font-size:15px}
.jursg-fonctions .fn__txt .detail p+p{margin-top:10px}
@media (max-width:720px){
  body.glacier .sec.jursg-fonctions{padding-block:20px}
  body.glacier .jursg-fonctions .sec-head{margin-bottom:8px}
  body.glacier .jursg-fonctions .sec-head p{font-size:15px;line-height:1.5}
  .jursg-fonctions .fn__n{display:none}
  body.glacier .jursg-fonctions .fn+.fn{border-top:1px solid var(--rg-rule);padding-top:12px;margin-top:4px}
  body.glacier .pg-fonctions.jursg-fonctions .fn{padding-block:6px;gap:0}
  .jursg-fonctions .fn__txt{gap:4px}
  .jursg-fonctions .fn__txt h3{font-size:19px}
  body.glacier .jursg-fonctions .fn__txt p:not(.etiquette){font-size:15px;line-height:1.5}
  .jursg-fonctions .fn__txt .detail summary{min-height:36px}
}

/* ===== modules/jursg-tableau ===== */
/* Module jursg-tableau : le libellé mobile de la colonne de droite remplace celui du thème */
@media (max-width:720px){
  .jursg-tableau .ecarts td:last-child::before{content:"Avec Rouage";margin-bottom:2px}
  body.glacier .jursg-tableau .ecarts td{padding:5px 18px;font-size:15.5px;line-height:1.4}
  body.glacier .jursg-tableau .ecarts tr{padding:6px 0}
  body.glacier .sec.jursg-tableau{padding-block:20px}
  body.glacier .jursg-tableau .sec-head{margin-bottom:12px}
  body.glacier .jursg-tableau .sec-head p{font-size:15px;line-height:1.5}
  .jursg-tableau .ecarts .etiquette{margin-bottom:2px}
}

/* ===== modules/jursg-cadre ===== */
/* Module jursg-cadre : tuiles en verre (base/glacier.css) ; quatre colonnes sur grand écran pour huit tuiles */
@media (max-width:720px){
  body.glacier .sec.jursg-cadre{padding-block:20px}
  body.glacier .jursg-cadre .sec-head{margin-bottom:10px}
  body.glacier .jursg-cadre .sec-head p{font-size:15px;line-height:1.5}
}
@media (min-width:1141px){
  .jursg-cadre .cards.trois{grid-template-columns:repeat(4,minmax(0,1fr))}
}

/* ===== modules/jurs-deroule ===== */
/* Module jurs-deroule : patrons partagés */

/* ===== modules/jurs-faq ===== */
/* Module jurs-faq : patrons partagés */

/* ===== modules/jursg-cta ===== */
/* Module jursg-cta : même balisage que cta-bande, styles du thème.
   Correctif : body.glacier .rg-glass-soft impose position:relative et écrase le position:fixed
   du bouton mobile (.m-cta) : il sort du viewport de 24 px et crée un débordement horizontal.
   À corriger à la source dans base/glacier.css ; cette ligne devient alors inutile. */
body.glacier .m-cta{position:fixed}

/* ===== modules/cacg-hero ===== */
/* Module cacg-hero : composants du thème dans base/glacier.css ; ici le resserrage mobile et des pastilles un peu plus foncées (contraste mesuré) */
body.glacier .cacg-hero .pill--ok{color:#052B1A}
body.glacier .cacg-hero .pill--warn{color:#3F2400}
@media (max-width:720px){
  .p-hero.cacg-hero .wrap{padding-block:28px 8px}
  .cacg-hero .pg-hero__grid{gap:18px}
  .cacg-hero .pg-hero__txt{gap:12px}
  .p-hero.cacg-hero .rg-eyebrow{margin-bottom:10px}
  body.glacier .cacg-hero .rg-h1{font-size:30px}
  .cacg-hero .pg-table td.num{white-space:nowrap}
  .p-hero.cacg-hero .rg-lede{margin-top:0}
  .p-hero.cacg-hero .ctas{margin-top:0}
  .cacg-hero .pg-table tbody tr:nth-child(n+4){display:none}
}
.cacg-hero .cacg-note{margin:0;padding:12px 18px 16px;border-top:1px solid var(--rg-rule);position:relative;z-index:1;font-size:14px;line-height:1.5;color:var(--ink)}

/* ===== modules/cacg-fonctions ===== */
/* Module cacg-fonctions : détail replié dans les lignes ; pastilles un peu plus foncées (contraste mesuré) ; le reste vient de base/glacier.css */
body.glacier .cacg-fonctions .pill--ok{color:#052B1A}
body.glacier .cacg-fonctions .pill--warn{color:#3F2400}
.cacg-fonctions .fn__txt .detail p{margin:6px 0 0;font-size:15px}
.cacg-fonctions .fn__txt .detail p+p{margin-top:10px}
@media (max-width:720px){
  body.glacier .sec.cacg-fonctions{padding-block:20px}
  body.glacier .cacg-fonctions .sec-head{margin-bottom:8px}
  body.glacier .cacg-fonctions .sec-head p{font-size:15px;line-height:1.5}
  .cacg-fonctions .fn__n{display:none}
  body.glacier .cacg-fonctions .fn+.fn{border-top:1px solid var(--rg-rule);padding-top:12px;margin-top:4px}
  body.glacier .pg-fonctions.cacg-fonctions .fn{padding-block:6px;gap:0}
  .cacg-fonctions .fn__txt{gap:4px}
  .cacg-fonctions .fn__txt h3{font-size:19px}
  body.glacier .cacg-fonctions .fn__txt p:not(.etiquette){font-size:15px;line-height:1.5}
  .cacg-fonctions .fn__txt .detail summary{min-height:36px}
}

/* ===== modules/cacg-tableau ===== */
/* Module cacg-tableau : le libellé mobile de la colonne de droite remplace celui du thème */
@media (max-width:720px){
  .cacg-tableau .ecarts td:last-child::before{content:"Avec Rouage";margin-bottom:2px}
  body.glacier .cacg-tableau .ecarts td{padding:5px 18px;font-size:15.5px;line-height:1.4}
  body.glacier .cacg-tableau .ecarts tr{padding:6px 0}
  body.glacier .sec.cacg-tableau{padding-block:20px}
  body.glacier .cacg-tableau .sec-head{margin-bottom:12px}
  body.glacier .cacg-tableau .sec-head p{font-size:15px;line-height:1.5}
  .cacg-tableau .ecarts .etiquette{margin-bottom:2px}
}

/* ===== modules/cacg-cadre ===== */
/* Module cacg-cadre : tuiles en verre (base/glacier.css) ; quatre colonnes sur grand écran pour huit tuiles */
@media (max-width:720px){
  body.glacier .sec.cacg-cadre{padding-block:20px}
  body.glacier .cacg-cadre .sec-head{margin-bottom:10px}
  body.glacier .cacg-cadre .sec-head p{font-size:15px;line-height:1.5}
}
@media (min-width:1141px){
  .cacg-cadre .cards.trois{grid-template-columns:repeat(4,minmax(0,1fr))}
}

/* ===== modules/cac-deroule ===== */
/* Module cac-deroule : patrons partagés */

/* ===== modules/cac-faq ===== */
/* Module cac-faq : patrons partagés */

/* ===== modules/cacg-cta ===== */
/* Module cacg-cta : même balisage que cta-bande, styles du thème.
   Correctif : body.glacier .rg-glass-soft impose position:relative et écrase le position:fixed
   du bouton mobile (.m-cta) : il sort du viewport de 24 px et crée un débordement horizontal.
   À corriger à la source dans base/glacier.css ; cette ligne devient alors inutile. */
body.glacier .m-cta{position:fixed}

/* ===== modules/reg2g-hero ===== */
/* Styles dans base/glacier.css (composants de page produit) */
/* Contraste : pastilles un cran plus foncées (texte 12 px) */
body.glacier .reg2g-hero .pill--crit{color:#5A1010}body.glacier .reg2g-hero .pill--warn{color:#472A02}body.glacier .reg2g-hero .pill--ok{color:#083A24}

/* ===== modules/bande-cabinet ===== */
/* Bande cabinet : rappel discret sous le hero des pages de formalité, sans concurrencer le CTA du dirigeant */
.bande-cabinet .wrap{padding-block:0 clamp(24px,4vw,48px)}
.bande-cabinet__in{display:flex;align-items:center;justify-content:space-between;gap:16px 24px;flex-wrap:wrap;padding:14px 14px 14px 28px;border-radius:var(--rg-r-pill)}
.bande-cabinet__in p{margin:0;font:400 16px/1.4 var(--rg-font-sans);color:var(--ink,var(--rg-cream))}
.bande-cabinet__in b{font-weight:600}
@media (max-width:720px){
  .bande-cabinet__in{border-radius:var(--rg-r-sub);padding:16px 18px;flex-direction:column;align-items:flex-start}
}

/* ===== modules/reg2g-fonctions ===== */
/* Note de bas de section ; ligne d'export de l'aperçu « Mode contrôle » */
.reg2g-fonctions .fn-note{margin-top:8px;padding-top:16px;border-top:1px solid var(--rg-rule)}
.reg2g-fonctions .fn-note>p{margin:0;font-size:16px;color:var(--ink-2);max-width:75ch}
.reg2g-fonctions .export{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0 0;padding-top:12px;border-top:1px solid var(--rg-rule);font-size:14px;color:var(--ink)}
.reg2g-fonctions .lignes li{grid-template-columns:54px 1fr auto}
/* Contraste : pastilles un cran plus foncées (texte 12 px) */
body.glacier .reg2g-fonctions .pill--crit{color:#5A1010}body.glacier .reg2g-fonctions .pill--warn{color:#472A02}body.glacier .reg2g-fonctions .pill--ok{color:#083A24}
/* Contraste : texte courant en encre pleine sur les halos du fond et sur le verre */
body.glacier .reg2g-fonctions .sec-head p,body.glacier .reg2g-fonctions .fn__txt p:not(.etiquette),body.glacier .reg2g-fonctions .fn-note>p,body.glacier .reg2g-fonctions .histo em{color:var(--ink)}
/* Mobile : on garde le titre et la phrase, pas la numérotation */
@media (max-width:720px){.reg2g-fonctions .fn__n{display:none}}

/* ===== modules/reg2g-tableau ===== */
/* Libellé de la colonne empilée sur mobile (le thème porte « Avec le Lab ») */
@media (max-width:720px){
  body.glacier .reg2g-tableau .ecarts td:last-child::before{content:"Avec Rouage Registre"}
}
/* Contraste : texte des cartes de détail en encre pleine */
body.glacier .reg2g-tableau .sec-head p,body.glacier .reg2g-tableau .detail p{color:var(--ink)}

/* ===== modules/reg2g-cadre ===== */
/* Détail de bas de section ; quatre tuiles : grille à quatre colonnes sur grand écran */
.reg2g-cadre .pg-cadre__notes{margin-top:18px}
@media (min-width:1100px){.reg2g-cadre .cards.trois{grid-template-columns:repeat(4,minmax(0,1fr))}}
/* Contraste : texte des tuiles et des détails en encre pleine */
body.glacier .reg2g-cadre .sec-head p,body.glacier .reg2g-cadre .detail p,body.glacier .reg2g-cadre .detail>p.source{color:var(--ink)}

/* ===== modules/reg2-deroule ===== */
/* Module reg2-deroule */

/* ===== modules/reg2-faq ===== */
/* Questions de fond de la page Rouage Registre */
.reg2-faq .faq{margin-inline:auto}

/* ===== modules/reg2g-cta ===== */
/* Bande CTA : styles dans base/glacier.css */

/* ===== modules/lcbcg-hero ===== */
/* Aperçu de hero : cellules à la ligne, pied de tableau */
.lcbcg-hero .pg-table td{white-space:normal}
.lcbcg-hero .pg-pied{margin:0;padding:12px 18px;border-top:1px solid var(--rg-rule);font-size:13px;color:var(--ink);position:relative;z-index:1}
@media (max-width:720px){.lcbcg-hero .pg-pied{display:none}}
/* Contraste : pastilles un cran plus foncées (texte 12 px) */
body.glacier .lcbcg-hero .pill--crit{color:#5A1010}body.glacier .lcbcg-hero .pill--warn{color:#472A02}body.glacier .lcbcg-hero .pill--ok{color:#083A24}

/* ===== modules/lcbcg-fonctions ===== */
/* Note de bas de section et libellés plus larges dans l'aperçu « Qui fait quoi » */
.lcbcg-fonctions .fn-note{margin-top:8px;padding-top:16px;border-top:1px solid var(--rg-rule)}
.lcbcg-fonctions .fn-note>p{margin:0;font-size:16px;color:var(--ink-2);max-width:75ch}
.lcbcg-fonctions .lignes li{grid-template-columns:64px 1fr auto}
@media (max-width:900px){.lcbcg-fonctions .lignes li{grid-template-columns:64px 1fr}}
/* Contraste : pastilles un cran plus foncées (texte 12 px) */
body.glacier .lcbcg-fonctions .pill--crit{color:#5A1010}body.glacier .lcbcg-fonctions .pill--warn{color:#472A02}body.glacier .lcbcg-fonctions .pill--ok{color:#083A24}
/* Contraste : texte courant en encre pleine sur les halos du fond et sur le verre */
body.glacier .lcbcg-fonctions .sec-head p,body.glacier .lcbcg-fonctions .fn__txt p:not(.etiquette),body.glacier .lcbcg-fonctions .fn-note>p,body.glacier .lcbcg-fonctions .histo em{color:var(--ink)}
/* Mobile : on garde le titre et la phrase, pas la numérotation */
@media (max-width:720px){.lcbcg-fonctions .fn__n{display:none}}

/* ===== modules/lcbcg-tableau ===== */
/* Libellé de la colonne empilée sur mobile (le thème porte « Avec le Lab ») */
@media (max-width:720px){
  body.glacier .lcbcg-tableau .ecarts td:last-child::before{content:"Avec Rouage"}
}
/* Contraste : texte des cartes de détail en encre pleine */
body.glacier .lcbcg-tableau .sec-head p,body.glacier .lcbcg-tableau .detail p{color:var(--ink)}

/* ===== modules/lcbcg-cadre ===== */
/* Détail de bas de section */
.lcbcg-cadre .pg-cadre__notes{margin-top:18px}
/* Contraste : texte des tuiles et des détails en encre pleine */
body.glacier .lcbcg-cadre .sec-head p,body.glacier .lcbcg-cadre .detail p,body.glacier .lcbcg-cadre .detail>p.source{color:var(--ink)}

/* ===== modules/lcbc-deroule ===== */
/* Module lcbc-deroule */

/* ===== modules/lcbc-faq ===== */
/* Questions de fond de la page LCB-FT des professions assujetties */
.lcbc-faq .faq{margin-inline:auto}

/* ===== modules/lcbcg-cta ===== */
/* Bande CTA : styles dans base/glacier.css */

/* ===== modules/dafg-hero ===== */
/* Pied de l'aperçu de hero */
.dafg-hero .pg-pied{margin:0;padding:12px 18px;border-top:1px solid var(--rg-rule);font-size:13px;color:var(--ink);position:relative;z-index:1}
@media (max-width:720px){.dafg-hero .pg-pied{display:none}}
/* Contraste : pastilles un cran plus foncées (texte 12 px) */
body.glacier .dafg-hero .pill--crit{color:#5A1010}body.glacier .dafg-hero .pill--warn{color:#472A02}body.glacier .dafg-hero .pill--ok{color:#083A24}

/* ===== modules/dafg-fonctions ===== */
/* Note de bas de section ; libellés plus larges dans les aperçus en lignes */
.dafg-fonctions .fn-note{margin-top:8px;padding-top:16px;border-top:1px solid var(--rg-rule)}
.dafg-fonctions .fn-note>p{margin:0;font-size:16px;color:var(--ink-2);max-width:75ch}
.dafg-fonctions .lignes li{grid-template-columns:64px 1fr auto}
.dafg-fonctions .barres li{grid-template-columns:200px 1fr}
@media (max-width:900px){.dafg-fonctions .lignes li{grid-template-columns:64px 1fr}}
/* Contraste : pastilles un cran plus foncées (texte 12 px) */
body.glacier .dafg-fonctions .pill--crit{color:#5A1010}body.glacier .dafg-fonctions .pill--warn{color:#472A02}body.glacier .dafg-fonctions .pill--ok{color:#083A24}
/* Contraste : texte courant en encre pleine sur les halos du fond et sur le verre */
body.glacier .dafg-fonctions .sec-head p,body.glacier .dafg-fonctions .fn__txt p:not(.etiquette),body.glacier .dafg-fonctions .fn-note>p,body.glacier .dafg-fonctions .histo em{color:var(--ink)}
/* Mobile : on garde le titre et la phrase, pas la numérotation */
@media (max-width:720px){.dafg-fonctions .fn__n{display:none}}

/* ===== modules/dafg-tableau ===== */
/* Libellé de la colonne empilée sur mobile (le thème porte « Avec le Lab ») */
@media (max-width:720px){
  body.glacier .dafg-tableau .ecarts td:last-child::before{content:"Avec le DAF Ops"}
}
/* Contraste : texte des cartes de détail en encre pleine */
body.glacier .dafg-tableau .sec-head p,body.glacier .dafg-tableau .detail p{color:var(--ink)}

/* ===== modules/dafg-cadre ===== */
/* Détail de bas de section */
.dafg-cadre .pg-cadre__notes{margin-top:18px}
/* Contraste : texte des tuiles et des détails en encre pleine */
body.glacier .dafg-cadre .sec-head p,body.glacier .dafg-cadre .detail p,body.glacier .dafg-cadre .detail>p.source{color:var(--ink)}

/* ===== modules/daf-deroule ===== */
/* Déroulé de la page DAF Ops */

/* ===== modules/daf-faq ===== */
/* Questions fréquentes de la page DAF Ops */
.daf-faq .faq{margin-inline:auto}

/* ===== modules/dafg-cta ===== */
/* Bande CTA : styles dans base/glacier.css */

/* ===== modules/aopg-hero ===== */
/* Pied de l'aperçu de hero */
.aopg-hero .pg-pied{margin:0;padding:12px 18px;border-top:1px solid var(--rg-rule);font-size:13px;color:var(--ink);position:relative;z-index:1}
@media (max-width:720px){.aopg-hero .pg-pied{display:none}}
/* Contraste : pastilles un cran plus foncées (texte 12 px) */
body.glacier .aopg-hero .pill--crit{color:#5A1010}body.glacier .aopg-hero .pill--warn{color:#472A02}body.glacier .aopg-hero .pill--ok{color:#083A24}

/* ===== modules/aopg-fonctions ===== */
/* Note de bas de section ; libellés plus larges dans les aperçus */
.aopg-fonctions .fn-note{margin-top:8px;padding-top:16px;border-top:1px solid var(--rg-rule)}
.aopg-fonctions .fn-note>p{margin:0;font-size:16px;color:var(--ink-2);max-width:75ch}
.aopg-fonctions .barres li{grid-template-columns:170px 1fr}
.aopg-fonctions .fiche .lignes{margin-top:4px}
@media (max-width:900px){.aopg-fonctions .barres li{grid-template-columns:140px 1fr}}
/* Contraste : pastilles un cran plus foncées (texte 12 px) */
body.glacier .aopg-fonctions .pill--crit{color:#5A1010}body.glacier .aopg-fonctions .pill--warn{color:#472A02}body.glacier .aopg-fonctions .pill--ok{color:#083A24}
/* Contraste : texte courant en encre pleine sur les halos du fond et sur le verre */
body.glacier .aopg-fonctions .sec-head p,body.glacier .aopg-fonctions .fn__txt p:not(.etiquette),body.glacier .aopg-fonctions .fn-note>p,body.glacier .aopg-fonctions .histo em{color:var(--ink)}
/* Mobile : on garde le titre et la phrase, pas la numérotation */
@media (max-width:720px){.aopg-fonctions .fn__n{display:none}}

/* ===== modules/aopg-tableau ===== */
/* Libellé de la colonne empilée sur mobile (le thème porte « Avec le Lab ») */
@media (max-width:720px){
  body.glacier .aopg-tableau .ecarts td:last-child::before{content:"Avec l'audit"}
}
/* Contraste : texte des cartes de détail en encre pleine */
body.glacier .aopg-tableau .sec-head p,body.glacier .aopg-tableau .detail p{color:var(--ink)}

/* ===== modules/aopg-cadre ===== */
/* Détail de bas de section */
.aopg-cadre .pg-cadre__notes{margin-top:18px}
/* Contraste : texte des tuiles et des détails en encre pleine */
body.glacier .aopg-cadre .sec-head p,body.glacier .aopg-cadre .detail p,body.glacier .aopg-cadre .detail>p.source{color:var(--ink)}

/* ===== modules/aop-deroule ===== */
/* Déroulé de la page Audit des opérations */

/* ===== modules/aop-faq ===== */
/* Questions fréquentes de la page Audit des opérations */
.aop-faq .faq{margin-inline:auto}

/* ===== modules/aopg-cta ===== */
/* Bande CTA : styles dans base/glacier.css */

/* ===== modules/agiag-hero ===== */
.agiag-hero .regle{margin:12px 0 0;font-size:14px;color:var(--ink)}
/* Module agiag-hero : le schéma du hero (décoratif) est masqué sur mobile pour tenir la hauteur de page */
.agiag-hero .histo em{color:var(--ink)}
body.glacier .agiag-hero .pill--crit{color:#5E1212}
body.glacier .agiag-hero .pill--warn{color:#4A2A01}
@media (max-width:720px){
  .agiag-hero .pg-screen{display:none}
  body.glacier .agiag-hero .lede{font-size:17px}
}

/* ===== modules/agiag-fonctions ===== */
/* Module agiag-fonctions : détails et limites, scopés sur le module */
.agiag-fonctions .histo em{color:var(--ink)}
body.glacier .agiag-fonctions .pill--crit{color:#5E1212}
body.glacier .agiag-fonctions .pill--warn{color:#4A2A01}
.agiag-fonctions .limites{margin-top:clamp(14px,2vw,24px)}
.agiag-fonctions .limites>p{margin:0;color:var(--ink-2);font-size:16px}
.agiag-fonctions .limites .detail>p{margin:6px 0 0;font-size:15px;line-height:1.6;color:var(--ink-2)}
.agiag-fonctions .limites .detail>p.source{font:400 13px/1.6 var(--rg-font-mono);color:var(--ink-2)}
.agiag-fonctions .fn__txt .detail>p{margin:6px 0 0;font-size:15px;line-height:1.6;color:var(--ink-2)}
.agiag-fonctions .tile .detail>p{color:var(--ink-2)}
@media (max-width:720px){
  body.glacier .agiag-fonctions .sec-head p{font-size:15px;line-height:1.5}
  body.glacier .agiag-fonctions .detail summary{min-height:36px}
  body.glacier .agiag-fonctions .fn__n{display:none}
  body.glacier .agiag-fonctions .fn__txt{gap:6px}
  body.glacier .agiag-fonctions .fn__txt h3{font-size:18px}
  body.glacier .agiag-fonctions .fn__txt p:not(.etiquette){font-size:15px;line-height:1.5}
  body.glacier .agiag-fonctions .limites>p{font-size:15px;line-height:1.5}
  body.glacier .agiag-fonctions .tile h3{font-size:18px}
  body.glacier .agiag-fonctions .tile p.lead{font-size:15px}
}
.agiag-fonctions .lignes li{grid-template-columns:54px 1fr auto}

/* ===== modules/agiag-tableau ===== */
/* Module agiag-tableau : tableau « Sans cadre / Avec une démarche » (le libellé mobile du thème dit « Avec le Lab ») */
@media (max-width:720px){
  .agiag-tableau .ecarts td:last-child::before{content:"Avec une démarche"}
  body.glacier .agiag-tableau .ecarts td{font-size:15px;line-height:1.45;padding:6px 18px}
  body.glacier .agiag-tableau .ecarts tr{padding:8px 0}
  body.glacier .agiag-tableau .ecarts .etiquette{font-size:11px;margin-bottom:3px}
  body.glacier .agiag-tableau .sec-head p{font-size:15px;line-height:1.5}
  body.glacier .agiag-tableau .detail summary{min-height:36px}
}

/* ===== modules/agiag-cadre ===== */
/* Module agiag-cadre : détails et limites, scopés sur le module */
.agiag-cadre .histo em{color:var(--ink)}
body.glacier .agiag-cadre .pill--crit{color:#5E1212}
body.glacier .agiag-cadre .pill--warn{color:#4A2A01}
.agiag-cadre .limites{margin-top:clamp(14px,2vw,24px)}
.agiag-cadre .limites>p{margin:0;color:var(--ink-2);font-size:16px}
.agiag-cadre .limites .detail>p{margin:6px 0 0;font-size:15px;line-height:1.6;color:var(--ink-2)}
.agiag-cadre .limites .detail>p.source{font:400 13px/1.6 var(--rg-font-mono);color:var(--ink-2)}
.agiag-cadre .fn__txt .detail>p{margin:6px 0 0;font-size:15px;line-height:1.6;color:var(--ink-2)}
.agiag-cadre .tile .detail>p{color:var(--ink-2)}
@media (max-width:720px){
  body.glacier .agiag-cadre .sec-head p{font-size:15px;line-height:1.5}
  body.glacier .agiag-cadre .detail summary{min-height:36px}
  body.glacier .agiag-cadre .fn__n{display:none}
  body.glacier .agiag-cadre .fn__txt{gap:6px}
  body.glacier .agiag-cadre .fn__txt h3{font-size:18px}
  body.glacier .agiag-cadre .fn__txt p:not(.etiquette){font-size:15px;line-height:1.5}
  body.glacier .agiag-cadre .limites>p{font-size:15px;line-height:1.5}
  body.glacier .agiag-cadre .tile h3{font-size:18px}
  body.glacier .agiag-cadre .tile p.lead{font-size:15px}
}
@media (min-width:1001px){.agiag-cadre .cards.trois{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* ===== modules/agia-deroule ===== */
/* Module agia-deroule */

/* ===== modules/agia-faq ===== */
/* Questions de fond de la page agents IA */
.agia-faq .faq{margin-inline:auto}

/* ===== modules/wfiag-hero ===== */
/* Module wfiag-hero : le schéma du hero (décoratif) est masqué sur mobile pour tenir la hauteur de page */
.wfiag-hero .histo em{color:var(--ink)}
body.glacier .wfiag-hero .pill--crit{color:#5E1212}
body.glacier .wfiag-hero .pill--warn{color:#4A2A01}
@media (max-width:720px){
  .wfiag-hero .pg-screen{display:none}
  body.glacier .wfiag-hero .lede{font-size:17px}
}

/* ===== modules/wfiag-fonctions ===== */
/* Module wfiag-fonctions : détails et limites, scopés sur le module */
.wfiag-fonctions .histo em{color:var(--ink)}
body.glacier .wfiag-fonctions .pill--crit{color:#5E1212}
body.glacier .wfiag-fonctions .pill--warn{color:#4A2A01}
.wfiag-fonctions .limites{margin-top:clamp(14px,2vw,24px)}
.wfiag-fonctions .limites>p{margin:0;color:var(--ink-2);font-size:16px}
.wfiag-fonctions .limites .detail>p{margin:6px 0 0;font-size:15px;line-height:1.6;color:var(--ink-2)}
.wfiag-fonctions .limites .detail>p.source{font:400 13px/1.6 var(--rg-font-mono);color:var(--ink-2)}
.wfiag-fonctions .fn__txt .detail>p{margin:6px 0 0;font-size:15px;line-height:1.6;color:var(--ink-2)}
.wfiag-fonctions .tile .detail>p{color:var(--ink-2)}
@media (max-width:720px){
  body.glacier .wfiag-fonctions .sec-head p{font-size:15px;line-height:1.5}
  body.glacier .wfiag-fonctions .detail summary{min-height:36px}
  body.glacier .wfiag-fonctions .fn__n{display:none}
  body.glacier .wfiag-fonctions .fn__txt{gap:6px}
  body.glacier .wfiag-fonctions .fn__txt h3{font-size:18px}
  body.glacier .wfiag-fonctions .fn__txt p:not(.etiquette){font-size:15px;line-height:1.5}
  body.glacier .wfiag-fonctions .limites>p{font-size:15px;line-height:1.5}
  body.glacier .wfiag-fonctions .tile h3{font-size:18px}
  body.glacier .wfiag-fonctions .tile p.lead{font-size:15px}
}
.wfiag-fonctions .lignes li{grid-template-columns:70px 1fr auto}

/* ===== modules/wfiag-tableau ===== */
/* Module wfiag-tableau : tableau « Sans cadre / Avec une démarche » (le libellé mobile du thème dit « Avec le Lab ») */
@media (max-width:720px){
  .wfiag-tableau .ecarts td:last-child::before{content:"Avec une démarche"}
  body.glacier .wfiag-tableau .ecarts td{font-size:15px;line-height:1.45;padding:6px 18px}
  body.glacier .wfiag-tableau .ecarts tr{padding:8px 0}
  body.glacier .wfiag-tableau .ecarts .etiquette{font-size:11px;margin-bottom:3px}
  body.glacier .wfiag-tableau .sec-head p{font-size:15px;line-height:1.5}
  body.glacier .wfiag-tableau .detail summary{min-height:36px}
}

/* ===== modules/wfiag-cadre ===== */
/* Module wfiag-cadre : détails et limites, scopés sur le module */
.wfiag-cadre .histo em{color:var(--ink)}
body.glacier .wfiag-cadre .pill--crit{color:#5E1212}
body.glacier .wfiag-cadre .pill--warn{color:#4A2A01}
.wfiag-cadre .limites{margin-top:clamp(14px,2vw,24px)}
.wfiag-cadre .limites>p{margin:0;color:var(--ink-2);font-size:16px}
.wfiag-cadre .limites .detail>p{margin:6px 0 0;font-size:15px;line-height:1.6;color:var(--ink-2)}
.wfiag-cadre .limites .detail>p.source{font:400 13px/1.6 var(--rg-font-mono);color:var(--ink-2)}
.wfiag-cadre .fn__txt .detail>p{margin:6px 0 0;font-size:15px;line-height:1.6;color:var(--ink-2)}
.wfiag-cadre .tile .detail>p{color:var(--ink-2)}
@media (max-width:720px){
  body.glacier .wfiag-cadre .sec-head p{font-size:15px;line-height:1.5}
  body.glacier .wfiag-cadre .detail summary{min-height:36px}
  body.glacier .wfiag-cadre .fn__n{display:none}
  body.glacier .wfiag-cadre .fn__txt{gap:6px}
  body.glacier .wfiag-cadre .fn__txt h3{font-size:18px}
  body.glacier .wfiag-cadre .fn__txt p:not(.etiquette){font-size:15px;line-height:1.5}
  body.glacier .wfiag-cadre .limites>p{font-size:15px;line-height:1.5}
  body.glacier .wfiag-cadre .tile h3{font-size:18px}
  body.glacier .wfiag-cadre .tile p.lead{font-size:15px}
}

/* ===== modules/wfia-deroule ===== */
/* Module wfia-deroule */

/* ===== modules/wfia-faq ===== */
/* Questions de fond de la page Workflows fiables */
.wfia-faq .faq{margin-inline:auto}

/* ===== modules/depg-hero ===== */
/* Module depg-hero : le schéma du hero (décoratif) est masqué sur mobile pour tenir la hauteur de page */
.depg-hero .histo em{color:var(--ink)}
body.glacier .depg-hero .pill--crit{color:#5E1212}
body.glacier .depg-hero .pill--warn{color:#4A2A01}
@media (max-width:720px){
  .depg-hero .pg-screen{display:none}
  body.glacier .depg-hero .lede{font-size:17px}
}

/* ===== modules/depg-fonctions ===== */
/* Module depg-fonctions : détails et limites, scopés sur le module */
.depg-fonctions .histo em{color:var(--ink)}
body.glacier .depg-fonctions .pill--crit{color:#5E1212}
body.glacier .depg-fonctions .pill--warn{color:#4A2A01}
.depg-fonctions .limites{margin-top:clamp(14px,2vw,24px)}
.depg-fonctions .limites>p{margin:0;color:var(--ink-2);font-size:16px}
.depg-fonctions .limites .detail>p{margin:6px 0 0;font-size:15px;line-height:1.6;color:var(--ink-2)}
.depg-fonctions .limites .detail>p.source{font:400 13px/1.6 var(--rg-font-mono);color:var(--ink-2)}
.depg-fonctions .fn__txt .detail>p{margin:6px 0 0;font-size:15px;line-height:1.6;color:var(--ink-2)}
.depg-fonctions .tile .detail>p{color:var(--ink-2)}
@media (max-width:720px){
  body.glacier .depg-fonctions .sec-head p{font-size:15px;line-height:1.5}
  body.glacier .depg-fonctions .detail summary{min-height:36px}
  body.glacier .depg-fonctions .fn__n{display:none}
  body.glacier .depg-fonctions .fn__txt{gap:6px}
  body.glacier .depg-fonctions .fn__txt h3{font-size:18px}
  body.glacier .depg-fonctions .fn__txt p:not(.etiquette){font-size:15px;line-height:1.5}
  body.glacier .depg-fonctions .limites>p{font-size:15px;line-height:1.5}
  body.glacier .depg-fonctions .tile h3{font-size:18px}
  body.glacier .depg-fonctions .tile p.lead{font-size:15px}
}
.depg-fonctions .lignes li{grid-template-columns:70px 1fr auto}

/* ===== modules/depg-tableau ===== */
/* Module depg-tableau : tableau « Sans cadre / Avec une démarche » (le libellé mobile du thème dit « Avec le Lab ») */
@media (max-width:720px){
  .depg-tableau .ecarts td:last-child::before{content:"Avec une démarche"}
  body.glacier .depg-tableau .ecarts td{font-size:15px;line-height:1.45;padding:6px 18px}
  body.glacier .depg-tableau .ecarts tr{padding:8px 0}
  body.glacier .depg-tableau .ecarts .etiquette{font-size:11px;margin-bottom:3px}
  body.glacier .depg-tableau .sec-head p{font-size:15px;line-height:1.5}
  body.glacier .depg-tableau .detail summary{min-height:36px}
}

/* ===== modules/depg-cadre ===== */
/* Module depg-cadre : détails et limites, scopés sur le module */
.depg-cadre .histo em{color:var(--ink)}
body.glacier .depg-cadre .pill--crit{color:#5E1212}
body.glacier .depg-cadre .pill--warn{color:#4A2A01}
.depg-cadre .limites{margin-top:clamp(14px,2vw,24px)}
.depg-cadre .limites>p{margin:0;color:var(--ink-2);font-size:16px}
.depg-cadre .limites .detail>p{margin:6px 0 0;font-size:15px;line-height:1.6;color:var(--ink-2)}
.depg-cadre .limites .detail>p.source{font:400 13px/1.6 var(--rg-font-mono);color:var(--ink-2)}
.depg-cadre .fn__txt .detail>p{margin:6px 0 0;font-size:15px;line-height:1.6;color:var(--ink-2)}
.depg-cadre .tile .detail>p{color:var(--ink-2)}
@media (max-width:720px){
  body.glacier .depg-cadre .sec-head p{font-size:15px;line-height:1.5}
  body.glacier .depg-cadre .detail summary{min-height:36px}
  body.glacier .depg-cadre .fn__n{display:none}
  body.glacier .depg-cadre .fn__txt{gap:6px}
  body.glacier .depg-cadre .fn__txt h3{font-size:18px}
  body.glacier .depg-cadre .fn__txt p:not(.etiquette){font-size:15px;line-height:1.5}
  body.glacier .depg-cadre .limites>p{font-size:15px;line-height:1.5}
  body.glacier .depg-cadre .tile h3{font-size:18px}
  body.glacier .depg-cadre .tile p.lead{font-size:15px}
}

/* ===== modules/dep-deroule ===== */
/* Module dep-deroule */

/* ===== modules/dep-faq ===== */
/* Questions de fond de la page Déployer l'IA dans votre cabinet */
.dep-faq .faq{margin-inline:auto}

/* ===== modules/creag-hero ===== */
/* Aperçu : pastille « ok » plus foncée, pour le contraste sur le verre */
body.glacier .creag-hero .pill--ok{color:#06301F}
body.glacier .creag-hero .pill--warn{color:#3F2500}
/* Mobile : hero resserré, pour garder l'aperçu et les deux boutons dans le premier écran et demi */
@media (max-width:720px){
  body.glacier .creag-hero .wrap{padding-block:16px 8px}
  body.glacier .creag-hero .pg-hero__grid{gap:20px}
  body.glacier .creag-hero .pg-hero__txt{gap:10px}
  body.glacier .creag-hero .rg-eyebrow{margin-bottom:0}
  body.glacier .creag-hero .rg-h1{font-size:30px}
  body.glacier .creag-hero .rg-lede{margin-top:0;font-size:17px}
  body.glacier .creag-hero .ctas{gap:8px;margin-top:4px}
  body.glacier .creag-hero .pg-table tbody tr:nth-child(n+4){display:none}
  body.glacier .creag-hero .pg-table th,body.glacier .creag-hero .pg-table td{padding:8px 12px;font-size:13px}
  body.glacier .creag-hero .pg-bar{padding:10px 14px}
  body.glacier .creag-hero .pg-bar .pill{white-space:nowrap}
}
@media (max-width:380px){
  body.glacier .creag-hero .pg-table th,body.glacier .creag-hero .pg-table td{padding:8px 7px}
  body.glacier .creag-hero .pg-table .pill{font-size:11px;padding:2px 7px}
}

/* ===== modules/creag-fonctions ===== */
/* Page création de société : aperçus, scopés sur le module */
.creag-fonctions .lignes li{grid-template-columns:70px 1fr auto}
body.glacier .creag-fonctions .fn__txt p.source:not(.etiquette){font:400 12px/1.6 var(--rg-font-mono)}
/* Mobile : lignes de fonctions resserrées (les aperçus sont déjà masqués par le thème) */
@media (max-width:720px){
  body.glacier .creag-fonctions .fn__n{display:none}
  body.glacier .creag-fonctions .fn{padding-block:6px;gap:6px}
  body.glacier .creag-fonctions .fn__txt{gap:6px}
  body.glacier .creag-fonctions .fn__txt h3{font-size:19px}
  body.glacier .creag-fonctions .fn__txt p:not(.etiquette){font-size:15.5px;line-height:1.5}
  body.glacier .creag-fonctions .fn__txt .detail summary{min-height:40px}
  body.glacier .creag-fonctions .sec-head p{font-size:16px}
  body.glacier .creag-fonctions{padding-block:22px}
}

/* ===== modules/creag-tableau ===== */
/* Colonne de droite : le thème écrit « Avec le Lab » sur mobile, on le remplace */
@media (max-width:720px){
  body.glacier .creag-tableau .ecarts td:last-child::before{content:"Avec Rouage"}
}
/* Références : le thème les agrandit dans les cartes, on les remet en petit */
body.glacier .creag-tableau .card .source{font-size:12px;line-height:1.6}
@media (max-width:720px){
  body.glacier .creag-tableau .ecarts td{padding:5px 18px;font-size:15px;line-height:1.45}
  body.glacier .creag-tableau .ecarts tr{padding:8px 0}
  body.glacier .creag-tableau .ecarts td:last-child::before{display:inline;margin:0 8px 0 0}
  body.glacier .creag-tableau .sec-head p{font-size:16px}
  body.glacier .creag-tableau{padding-block:22px}
}

/* ===== modules/creag-cadre ===== */
/* Page création de société : références des tuiles en petit */
body.glacier .creag-cadre .tile .source{font-size:12px;line-height:1.6}

/* ===== modules/crea-deroule ===== */
/* Module crea-deroule */

/* ===== modules/crea-faq ===== */
/* Questions fréquentes de la page création de société */
.crea-faq .faq{margin-inline:auto}

/* ===== modules/creag-cta ===== */
/* Le thème glacier donne position:relative à .rg-glass-soft, ce qui écrase le position:fixed de .m-cta
   et décale le bouton mobile de 24 px (débordement horizontal). On rétablit le comportement prévu. */
body.glacier .m-cta{position:fixed}
@media (max-width:720px){
  body.glacier .cta-bande .rg-h2{font-size:24px}
}

/* ===== modules/modifg-hero ===== */
/* Aperçu : pastille « ok » plus foncée, pour le contraste sur le verre */
body.glacier .modifg-hero .pill--ok{color:#06301F}
body.glacier .modifg-hero .pill--warn{color:#3F2500}
/* Mobile : hero resserré, pour garder l'aperçu et les deux boutons dans le premier écran et demi */
@media (max-width:720px){
  body.glacier .modifg-hero .wrap{padding-block:16px 8px}
  body.glacier .modifg-hero .pg-hero__grid{gap:20px}
  body.glacier .modifg-hero .pg-hero__txt{gap:10px}
  body.glacier .modifg-hero .rg-eyebrow{margin-bottom:0}
  body.glacier .modifg-hero .rg-h1{font-size:30px}
  body.glacier .modifg-hero .rg-lede{margin-top:0;font-size:17px}
  body.glacier .modifg-hero .ctas{gap:8px;margin-top:4px}
  body.glacier .modifg-hero .pg-table tbody tr:nth-child(n+4){display:none}
  body.glacier .modifg-hero .pg-table th,body.glacier .modifg-hero .pg-table td{padding:8px 12px;font-size:13px}
  body.glacier .modifg-hero .pg-bar{padding:10px 14px}
  body.glacier .modifg-hero .pg-bar .pill{white-space:nowrap}
}
@media (max-width:380px){
  body.glacier .modifg-hero .pg-table th,body.glacier .modifg-hero .pg-table td{padding:8px 7px}
  body.glacier .modifg-hero .pg-table .pill{font-size:11px;padding:2px 7px}
}

/* ===== modules/modifg-fonctions ===== */
/* Page modification de société : aperçus, scopés sur le module */
.modifg-fonctions .lignes li{grid-template-columns:70px 1fr auto}
body.glacier .modifg-fonctions .fn__txt p.source:not(.etiquette){font:400 12px/1.6 var(--rg-font-mono)}
/* Mobile : lignes de fonctions resserrées (les aperçus sont déjà masqués par le thème) */
@media (max-width:720px){
  body.glacier .modifg-fonctions .fn__n{display:none}
  body.glacier .modifg-fonctions .fn{padding-block:6px;gap:6px}
  body.glacier .modifg-fonctions .fn__txt{gap:6px}
  body.glacier .modifg-fonctions .fn__txt h3{font-size:19px}
  body.glacier .modifg-fonctions .fn__txt p:not(.etiquette){font-size:15.5px;line-height:1.5}
  body.glacier .modifg-fonctions .fn__txt .detail summary{min-height:40px}
  body.glacier .modifg-fonctions .sec-head p{font-size:16px}
  body.glacier .modifg-fonctions{padding-block:22px}
}

/* ===== modules/modifg-tableau ===== */
/* Colonne de droite : le thème écrit « Avec le Lab » sur mobile, on le remplace */
@media (max-width:720px){
  body.glacier .modifg-tableau .ecarts td:last-child::before{content:"Avec Rouage"}
}
/* Références : le thème les agrandit dans les cartes, on les remet en petit */
body.glacier .modifg-tableau .card .source{font-size:12px;line-height:1.6}
@media (max-width:720px){
  body.glacier .modifg-tableau .ecarts td{padding:5px 18px;font-size:15px;line-height:1.45}
  body.glacier .modifg-tableau .ecarts tr{padding:8px 0}
  body.glacier .modifg-tableau .ecarts td:last-child::before{display:inline;margin:0 8px 0 0}
  body.glacier .modifg-tableau .sec-head p{font-size:16px}
  body.glacier .modifg-tableau{padding-block:22px}
}

/* ===== modules/modifg-cadre ===== */
/* Page modification de société : références des tuiles en petit */
body.glacier .modifg-cadre .tile .source{font-size:12px;line-height:1.6}

/* ===== modules/modif-deroule ===== */
/* Module modif-deroule */

/* ===== modules/modif-faq ===== */
/* Questions fréquentes de la page modification de société */
.modif-faq .faq{margin-inline:auto}

/* ===== modules/modifg-cta ===== */
/* Le thème glacier donne position:relative à .rg-glass-soft, ce qui écrase le position:fixed de .m-cta
   et décale le bouton mobile de 24 px (débordement horizontal). On rétablit le comportement prévu. */
body.glacier .m-cta{position:fixed}
@media (max-width:720px){
  body.glacier .cta-bande .rg-h2{font-size:24px}
}

/* ===== modules/approg-hero ===== */
/* Aperçu : pastille « ok » plus foncée, pour le contraste sur le verre */
body.glacier .approg-hero .pill--ok{color:#06301F}
body.glacier .approg-hero .pill--warn{color:#3F2500}
.approg-hero .pg-table em{display:block;font-style:normal;font-size:12.5px;color:var(--ink-2)}
/* Mobile : hero resserré, pour garder l'aperçu et les deux boutons dans le premier écran et demi */
@media (max-width:720px){
  body.glacier .approg-hero .wrap{padding-block:16px 8px}
  body.glacier .approg-hero .pg-hero__grid{gap:20px}
  body.glacier .approg-hero .pg-hero__txt{gap:10px}
  body.glacier .approg-hero .rg-eyebrow{margin-bottom:0}
  body.glacier .approg-hero .rg-h1{font-size:30px}
  body.glacier .approg-hero .rg-lede{margin-top:0;font-size:17px}
  body.glacier .approg-hero .ctas{gap:8px;margin-top:4px}
  body.glacier .approg-hero .pg-table em{display:none}
  body.glacier .approg-hero .pg-table th,body.glacier .approg-hero .pg-table td{padding:8px 12px;font-size:13px}
  body.glacier .approg-hero .pg-bar{padding:10px 14px}
  body.glacier .approg-hero .pg-bar .pill{white-space:nowrap}
}
@media (max-width:380px){
  body.glacier .approg-hero .pg-table th,body.glacier .approg-hero .pg-table td{padding:8px 7px}
  body.glacier .approg-hero .pg-table .pill{font-size:11px;padding:2px 7px}
}

/* ===== modules/approg-fonctions ===== */
/* Page approbation des comptes : aperçus, scopés sur le module */
.approg-fonctions .lignes li{grid-template-columns:70px 1fr auto}
body.glacier .approg-fonctions .fn__txt p.source:not(.etiquette){font:400 12px/1.6 var(--rg-font-mono)}
/* Mobile : lignes de fonctions resserrées (les aperçus sont déjà masqués par le thème) */
@media (max-width:720px){
  body.glacier .approg-fonctions .fn__n{display:none}
  body.glacier .approg-fonctions .fn{padding-block:6px;gap:6px}
  body.glacier .approg-fonctions .fn__txt{gap:6px}
  body.glacier .approg-fonctions .fn__txt h3{font-size:19px}
  body.glacier .approg-fonctions .fn__txt p:not(.etiquette){font-size:15.5px;line-height:1.5}
  body.glacier .approg-fonctions .fn__txt .detail summary{min-height:40px}
  body.glacier .approg-fonctions .sec-head p{font-size:16px}
  body.glacier .approg-fonctions{padding-block:22px}
}

/* ===== modules/approg-tableau ===== */
/* Colonne de droite : le thème écrit « Avec le Lab » sur mobile, on le remplace */
@media (max-width:720px){
  body.glacier .approg-tableau .ecarts td:last-child::before{content:"Avec Rouage"}
}
/* Références : le thème les agrandit dans les cartes, on les remet en petit */
body.glacier .approg-tableau .card .source{font-size:12px;line-height:1.6}
@media (max-width:720px){
  body.glacier .approg-tableau .ecarts td{padding:5px 18px;font-size:15px;line-height:1.45}
  body.glacier .approg-tableau .ecarts tr{padding:8px 0}
  body.glacier .approg-tableau .ecarts td:last-child::before{display:inline;margin:0 8px 0 0}
  body.glacier .approg-tableau .sec-head p{font-size:16px}
  body.glacier .approg-tableau{padding-block:22px}
}

/* ===== modules/approg-cadre ===== */
/* Page approbation des comptes : références des tuiles en petit */
body.glacier .approg-cadre .tile .source{font-size:12px;line-height:1.6}

/* ===== modules/appro-deroule ===== */
/* Module appro-deroule */

/* ===== modules/appro-faq ===== */
/* Questions fréquentes de la page approbation des comptes */
.appro-faq .faq{margin-inline:auto}

/* ===== modules/approg-cta ===== */
/* Le thème glacier donne position:relative à .rg-glass-soft, ce qui écrase le position:fixed de .m-cta
   et décale le bouton mobile de 24 px (débordement horizontal). On rétablit le comportement prévu. */
body.glacier .m-cta{position:fixed}
@media (max-width:720px){
  body.glacier .cta-bande .rg-h2{font-size:24px}
}

/* ===== modules/dissog-hero ===== */
/* Aperçu : pastille « ok » plus foncée, pour le contraste sur le verre */
body.glacier .dissog-hero .pill--ok{color:#06301F}
.dissog-hero .pg-table em{display:block;font-style:normal;font-size:12.5px;color:var(--ink-2)}
/* Mobile : hero resserré, pour garder l'aperçu et les deux boutons dans le premier écran et demi */
@media (max-width:720px){
  body.glacier .dissog-hero .wrap{padding-block:16px 8px}
  body.glacier .dissog-hero .pg-hero__grid{gap:20px}
  body.glacier .dissog-hero .pg-hero__txt{gap:10px}
  body.glacier .dissog-hero .rg-eyebrow{margin-bottom:0}
  body.glacier .dissog-hero .rg-h1{font-size:30px}
  body.glacier .dissog-hero .rg-lede{margin-top:0;font-size:17px}
  body.glacier .dissog-hero .ctas{gap:8px;margin-top:4px}
  body.glacier .dissog-hero .pg-table tbody tr:nth-child(n+4){display:none}
  body.glacier .dissog-hero .pg-table th,body.glacier .dissog-hero .pg-table td{padding:8px 12px;font-size:13px}
  body.glacier .dissog-hero .pg-table em{display:none}
  body.glacier .dissog-hero .pg-bar{padding:10px 14px}
}
@media (max-width:380px){
  body.glacier .dissog-hero .pg-table th,body.glacier .dissog-hero .pg-table td{padding:8px 7px}
  body.glacier .dissog-hero .pg-table .pill{font-size:11px;padding:2px 7px}
}

/* ===== modules/dissog-fonctions ===== */
/* Page dissolution : aperçus, scopés sur le module */
.dissog-fonctions .lignes li{grid-template-columns:54px 1fr auto}
.dissog-fonctions .dissog-ctrl li{grid-template-columns:76px 1fr auto}
.dissog-fonctions .dissog-ctrl .etiquette{font-size:12px;color:var(--blue-ink)}
.dissog-fonctions .histo li{grid-template-columns:62px 1fr}
body.glacier .dissog-fonctions .fn__txt p.source:not(.etiquette){font:400 12px/1.6 var(--rg-font-mono)}
/* Mobile : lignes de fonctions resserrées (les aperçus sont déjà masqués par le thème) */
@media (max-width:720px){
  body.glacier .dissog-fonctions .fn__n{display:none}
  body.glacier .dissog-fonctions .fn{padding-block:6px;gap:6px}
  body.glacier .dissog-fonctions .fn__txt{gap:6px}
  body.glacier .dissog-fonctions .fn__txt h3{font-size:19px}
  body.glacier .dissog-fonctions .fn__txt p:not(.etiquette){font-size:15.5px;line-height:1.5}
  body.glacier .dissog-fonctions .fn__txt .detail summary{min-height:40px}
  body.glacier .dissog-fonctions .sec-head p{font-size:16px}
  body.glacier .dissog-fonctions{padding-block:22px}
}

/* ===== modules/dissog-tableau ===== */
/* Colonne de droite : le thème écrit « Avec le Lab » sur mobile, on le remplace */
@media (max-width:720px){
  body.glacier .dissog-tableau .ecarts td:last-child::before{content:"Avec Rouage"}
}
/* Références : le thème les agrandit dans les cartes, on les remet en petit */
body.glacier .dissog-tableau .card .source{font-size:12px;line-height:1.6}
@media (max-width:720px){
  body.glacier .dissog-tableau .ecarts td{padding:5px 18px;font-size:15px;line-height:1.45}
  body.glacier .dissog-tableau .ecarts tr{padding:8px 0}
  body.glacier .dissog-tableau .ecarts td:last-child::before{display:inline;margin:0 8px 0 0}
  body.glacier .dissog-tableau .sec-head p{font-size:16px}
  body.glacier .dissog-tableau{padding-block:22px}
}

/* ===== modules/dissog-cadre ===== */
/* Page dissolution : « À retenir » intégré au cadre, source en petit */
.dissog-cadre .retenir-liste{margin-bottom:20px}
.dissog-cadre .dissog-src{margin:14px 0 0;font-size:12px;color:var(--ink-2)}
@media (max-width:720px){
  /* « À retenir » en bande défilante, comme les tuiles */
  body.glacier .dissog-cadre .retenir-liste{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;margin-inline:calc(-1 * var(--rg-gutter));padding-inline:var(--rg-gutter);border-radius:0;gap:10px;scrollbar-width:none;background:none;border:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;overflow-y:visible}
  body.glacier .dissog-cadre .retenir-liste::after{content:none}
  body.glacier .dissog-cadre .retenir-liste::-webkit-scrollbar{display:none}
  body.glacier .dissog-cadre .retenir-liste li{flex:0 0 78%;scroll-snap-align:center;padding:12px 16px;gap:2px;border:1px solid var(--glass-edge);border-radius:var(--rg-r-sub);background:var(--glass-bg);box-shadow:var(--glass-shadow)}
  body.glacier .dissog-cadre .retenir-liste li+li{border-left:1px solid var(--glass-edge)}
  body.glacier .dissog-cadre .retenir-liste span{font-size:14px}
}

/* ===== modules/disso-deroule ===== */
/* Module disso-deroule */

/* ===== modules/disso-faq ===== */
/* Questions de fond de la page dissolution */
.disso-faq .faq{margin-inline:auto}

/* ===== modules/dissog-cta ===== */
/* Le thème glacier donne position:relative à .rg-glass-soft, ce qui écrase le position:fixed de .m-cta
   et décale le bouton mobile de 24 px (débordement horizontal). On rétablit le comportement prévu. */
body.glacier .m-cta{position:fixed}
@media (max-width:720px){
  body.glacier .cta-bande .rg-h2{font-size:24px}
}

/* ===== modules/visiong-hero ===== */
.visiong-hero .histo em{color:var(--ink)}

/* ===== modules/visiong-constat ===== */
/* Module visiong-constat : cartes courtes, titres de carte à l'échelle d'un h3 */
.visiong-constat .card .rg-h2{font-size:clamp(22px,2.2vw,28px);line-height:1.15}
.visiong-constat .tile .detail>p{color:var(--ink-2);font-size:15px;line-height:1.6}
.visiong-constat .cards{align-items:stretch}
body.glacier .visiong-constat.sec{padding-block:clamp(10px,1.6vw,20px)}

/* ===== modules/visiong-cabinet ===== */
/* Module visiong-cabinet : cartes courtes, titres de carte à l'échelle d'un h3 */
.visiong-cabinet .card .rg-h2{font-size:clamp(22px,2.2vw,28px);line-height:1.15}
.visiong-cabinet .tile .detail>p{color:var(--ink-2);font-size:15px;line-height:1.6}
.visiong-cabinet .cards{align-items:stretch}
body.glacier .visiong-cabinet.sec{padding-block:clamp(10px,1.6vw,20px)}

/* ===== modules/visiong-fondateur ===== */
/* Module visiong-fondateur : cartes courtes, titres de carte à l'échelle d'un h3 */
.visiong-fondateur .card .rg-h2{font-size:clamp(22px,2.2vw,28px);line-height:1.15}
.visiong-fondateur .tile .detail>p{color:var(--ink-2);font-size:15px;line-height:1.6}
.visiong-fondateur .cards{align-items:stretch}
body.glacier .visiong-fondateur.sec{padding-block:clamp(10px,1.6vw,20px)}

/* ===== modules/visiong-conviction ===== */
/* Module visiong-conviction : même balisage et mêmes styles que cta-bande (base/glacier.css) */

/* ===== modules/hero ===== */
/* Hero accueil : titre écrit mot à mot (base/motion.css), chapô, deux actions, et la roue
   Rouage entourée de ses quatre familles d'outils (liens vers les pages Cabinet). */
.hero .wrap{display:flex;flex-direction:column;align-items:flex-start;gap:28px;padding-block:clamp(32px,4vw,56px) clamp(32px,5vw,64px)}
.hero .rg-h1{max-width:16ch}
.hero .ctas{display:flex;flex-wrap:wrap;gap:12px}
.hero__grid{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,560px);align-items:start!important;gap:clamp(24px,4vw,64px)}
.hero__txt{display:flex;flex-direction:column;gap:28px;align-items:flex-start}
.hero-roue{position:relative;margin:0;aspect-ratio:1/1;max-width:560px;width:100%;justify-self:end}
body.glacier .hero-roue .rg-gear{position:absolute;inset:4%;width:auto;height:auto;opacity:1}
.hero-roue .rg-gear svg{width:100%;height:100%}
body:has(.hero-roue) .rg-ambient{display:none!important}
body.glacier .hero-roue .roue-tag{position:absolute;z-index:2;display:flex;flex-direction:column;gap:2px;padding:12px 16px;border-radius:18px;text-decoration:none;color:var(--ink);min-width:170px}
.roue-tag b{font:600 15px/1.2 var(--rg-font-sans);color:var(--ink);position:relative;z-index:1}
.roue-tag span{font:400 13px/1.35 var(--rg-font-sans);color:var(--ink-2);position:relative;z-index:1}
.roue-tag::before{content:"";position:absolute;z-index:1;width:9px;height:9px;border-radius:50%;background:var(--blue);box-shadow:0 0 0 4px rgba(47,107,221,.2)}
.roue-tag--nw{left:-2%;top:8%}.roue-tag--ne{right:-2%;top:22%}
.roue-tag--sw{left:2%;bottom:14%}.roue-tag--se{right:-2%;bottom:4%}
.roue-tag--nw::before,.roue-tag--sw::before{right:-5px;top:calc(50% - 4px)}
.roue-tag--ne::before,.roue-tag--se::before{left:-5px;top:calc(50% - 4px)}
@media (hover:hover){.roue-tag:hover{transform:translateY(-2px)}}
.roue-tag{transition:transform .25s var(--rg-ease-out)}
@media (max-width:900px){
  .hero__grid{grid-template-columns:minmax(0,1fr)!important}
  .hero-roue{aspect-ratio:auto;max-width:none;display:grid;grid-template-columns:1fr 1fr;gap:10px;padding-top:min(78vw,330px);justify-self:stretch}
  body.glacier .hero-roue .rg-gear{inset:0 auto auto 50%;transform:translateX(-50%);width:min(78vw,320px);height:min(78vw,320px)}
  body.glacier .hero-roue .roue-tag{position:relative;inset:auto!important;min-width:0}
  .roue-tag::before{display:none}
}
body.glacier .hero-roue .roue-tag{overflow:visible}
body.glacier .hero-roue .rg-gear__teeth,body.glacier .hero-roue .rg-gear__cote{stroke:rgba(31,79,176,.72);stroke-width:1.8}
body.glacier .hero-roue .rg-gear__pitch,body.glacier .hero-roue .rg-gear__axis{stroke:rgba(31,79,176,.5)}
body.glacier .hero-roue .rg-gear__head{fill:rgba(31,79,176,.72)}

/* ===== modules/vous-etes ===== */
/* Sélecteur de profil (contrôle segmenté liquide) et cartes de modules par profil */
.profil{margin-top:28px}
.profil .card{min-height:240px}
.profil .rg-btn{margin-top:auto;align-self:flex-start;min-height:44px;padding:0 20px;font-size:14px}
@media (max-width:560px){
  #vous-etes .rg-seg{display:flex;width:100%}
  #vous-etes .rg-seg__opt{padding:0 10px}
  .profil .card{min-height:0}
}

/* Les aperçus métier gardent assez de largeur pour rester lisibles. */
#profil-cabinet{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
#profil-cabinet .card{min-width:0}
#profil-cabinet .illustration-compact{margin-block:4px 8px}
#profil-cabinet .profil__liens{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px;margin-top:auto}
#profil-cabinet .profil__liens .rg-btn{margin-top:0}
#profil-cabinet .profil__liens .rg-link{font-size:14px;min-height:44px;display:inline-flex;align-items:center}
@media (max-width:720px){
  #profil-cabinet{grid-template-columns:minmax(0,1fr)}
}

/* ===== modules/vision-accueil ===== */
/* Bloc vision de l'accueil */
.vision-accueil .vision-lien{margin:24px 0 0}

/* ===== modules/bandeau ===== */
/* Bandeau manifeste et son eyebrow de rappel */
.band h2{max-width:40ch}
.band-repere{margin-top:40px}
.band p:not(.band-repere){margin:20px 0 0;max-width:62ch;font-size:18px;line-height:1.55;color:var(--rg-text-2)}

/* ===== modules/contact ===== */
/* Bloc de contact final : un panneau de verre, l'action et l'adresse à droite */
.contact{display:flex;justify-content:space-between;align-items:center;gap:40px;padding:clamp(28px,5vw,56px)}
.contact p{margin:12px 0 0;max-width:52ch;color:var(--rg-text-2)}
.contact .side{display:flex;flex-direction:column;align-items:flex-end;gap:14px}
.contact-mail{display:inline-flex;align-items:center;min-height:44px;font-family:var(--rg-font-mono);font-size:13px;letter-spacing:.04em}
@media (max-width:980px){
  .contact{flex-direction:column;align-items:flex-start}
  .contact .side{align-items:flex-start}
}

/* ===== modules/registre-faq ===== */
/* Questions fréquentes de Rouage Registre */
.registre-faq .faq{margin-inline:auto}

/* ===== modules/contact-hero ===== */
/* Coordonnées de la page contact : l'adresse, en grand */
.contact-hero .coord{margin:24px 0 0;font:500 clamp(18px,2vw,22px)/1.3 var(--rg-font-display);letter-spacing:-.01em}

/* ===== modules/methode-hero ===== */
/* Hero de la méthode : les trois temps en plan */
.methode-hero .plan .lbl{dominant-baseline:auto}
@media (max-width:560px){
  .methode-hero .plan .lbl{font-size:19px}
  .methode-hero .plan .sub{font-size:13px}
}

/* ===== modules/methode-principes ===== */
/* Le déroulé détaillé et les principes */
.methode-principes .principes{margin-top:clamp(56px,7vw,88px)}
.methode-principes .principes h3{max-width:24ch}

/* ===== modules/rdv-redirect ===== */
.rdv-redirect .wrap{grid-template-columns:minmax(0,760px)!important;min-height:46vh;align-content:center}

/* ===== modules/e404 ===== */
/* Page 404 : la roue à qui il manque une dent, sur un panneau de verre */
.e404 .fig svg{max-width:420px;margin-inline:auto}
@media (max-width:560px){
  .e404 .plan .lbl{font-size:19px}
  .e404 .plan .sub{font-size:12px}
}

/* ===== modules/pgs-guides ===== */
/* Page simple pgs-guides */
.pgs-guides .wrap{grid-template-columns:minmax(0,760px)!important;min-height:46vh;align-content:center}

/* ===== modules/guides-categories ===== */
/* Page Guides : catégories, pastille d'état, guides en cours de rédaction sans lien */
.guides-categories .gc-nav{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin-bottom:clamp(28px,4vw,44px)}
.gc-chip{display:flex;flex-direction:column;gap:8px;padding:14px 18px;border-radius:var(--rg-r-ctrl);text-decoration:none}
.gc-chip>*{position:relative;z-index:1}
.gc-chip b{font:600 16px/1.3 var(--rg-font-sans);color:var(--ink)}
.gc-chip .pill{align-self:flex-start}
.gc-chip:hover b{color:var(--blue-ink);text-decoration:underline}
.gc-cat+.gc-cat{margin-top:clamp(36px,5vw,56px)}
.gc-cat .sec-head p .pill{margin-left:6px;vertical-align:middle}
.gc-encours .t{color:var(--ink)}
.gc-encours small{font-weight:600;color:#5A3502}
@media (max-width:720px){
  .guides-categories .gc-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .gc-chip{padding:10px 12px;gap:6px}
  .gc-chip b{font-size:14px}
  .gc-chip .pill{white-space:nowrap}
}

/* ===== modules/guide-article ===== */
/* Gabarit des guides de l'Académie : en-tête d'article, essentiel en tête de page,
   sommaire collant à gauche, corps de lecture à 70 caractères, tableaux de verre
   empilés sur mobile, sources en fin d'article. Thème glacier uniquement. */

/* En-tête : fil d'Ariane, titre, chapô, cote d'auteur et de mise à jour */
.ga-tete .wrap{padding-block:clamp(40px,6vw,88px) clamp(20px,3vw,32px);display:flex;flex-direction:column;gap:20px}
.ga-ariane ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px;font-size:14px;color:var(--ink-2)}
.ga-ariane li+li::before{content:"/";margin-right:6px;color:var(--ink-2)}
.ga-ariane a{color:var(--blue-ink);text-decoration:none}
.ga-ariane a:hover{text-decoration:underline}
.ga-tete .rg-h1{max-width:22ch}
.ga-tete .rg-lede{max-width:58ch}
.ga-cote{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;margin:4px 0 0;padding:0;list-style:none;font-size:14px;color:var(--ink-2)}
.ga-cote b{font-weight:600;color:var(--ink)}
.ga-cote time{font-family:var(--rg-font-mono);font-size:13px}

/* L'essentiel : la réponse d'abord, en cinq lignes */
.ga-bref{margin-top:8px;padding:clamp(22px,3vw,32px);border-radius:var(--rg-r-sub);max-width:880px}
.ga-bref>*{position:relative;z-index:1}
.ga-bref h2{font:600 13px/1.3 var(--rg-font-sans);letter-spacing:.06em;text-transform:uppercase;color:var(--blue-ink);margin:0 0 12px}
.ga-bref ul{margin:0;padding:0;list-style:none;display:grid;gap:10px}
.ga-bref li{position:relative;padding-left:22px;font-size:17px;line-height:1.55;max-width:72ch}
.ga-bref li::before{content:"";position:absolute;left:2px;top:.62em;width:8px;height:8px;border-radius:50%;background:var(--blue-deep)}

/* Corps : sommaire à gauche, texte à droite */
.ga-corps .wrap{display:grid;grid-template-columns:240px minmax(0,1fr);gap:clamp(28px,4vw,56px);align-items:start;padding-block:clamp(16px,3vw,32px) clamp(40px,5vw,64px)}
.ga-sommaire{position:sticky;top:110px;padding:18px 20px;border-radius:var(--rg-r-sub)}
.ga-sommaire>*{position:relative;z-index:1}
.ga-sommaire summary{list-style:none;font:600 13px/1.3 var(--rg-font-sans);letter-spacing:.06em;text-transform:uppercase;color:var(--blue-ink)}
.ga-sommaire summary::-webkit-details-marker{display:none}
.ga-sommaire ol{margin:12px 0 0;padding:0;list-style:none;display:grid;gap:2px;counter-reset:ga}
.ga-sommaire li{counter-increment:ga}
.ga-sommaire a{display:grid;grid-template-columns:22px 1fr;gap:4px;padding:6px 0;font-size:14px;line-height:1.35;color:var(--ink);text-decoration:none}
.ga-sommaire a::before{content:counter(ga,decimal-leading-zero);font:500 11px/1.9 var(--rg-font-mono);color:var(--blue-ink)}
.ga-sommaire a:hover{color:var(--blue-ink);text-decoration:underline}

.ga-texte{min-width:0;max-width:760px}
.ga-texte>section{padding-top:clamp(28px,3.4vw,44px)}
.ga-texte>section:first-child{padding-top:0}
.ga-texte h2{font-size:clamp(24px,2.6vw,30px);margin:0 0 16px}
.ga-texte h3{margin:26px 0 8px}
.ga-texte p{margin:0 0 14px;font-size:17px;line-height:1.65;max-width:70ch}
.ga-texte ul.ga-liste,.ga-texte ol.ga-liste{margin:0 0 16px;padding-left:22px;display:grid;gap:8px;max-width:68ch}
.ga-texte .ga-liste li{font-size:17px;line-height:1.6}
.ga-texte .ga-liste li::marker{color:var(--blue-deep)}
.ga-texte strong{font-weight:600}
.ga-ref{font-family:var(--rg-font-mono);font-size:.82em;white-space:nowrap;color:var(--blue-ink)}

/* Tableaux de verre : en-têtes Geist, chiffres en mono, lignes empilées sous 720px */
.ga-tab{margin:18px 0 20px;padding:0;border-radius:var(--rg-r-sub)}
.ga-tab table{width:100%;border-collapse:collapse;position:relative;z-index:1}
.ga-tab caption{caption-side:top;text-align:left;padding:16px 20px 4px;font:600 15px/1.35 var(--rg-font-sans);color:var(--ink)}
.ga-tab th{padding:12px 20px;text-align:left;vertical-align:bottom;font:600 12px/1.3 var(--rg-font-sans);letter-spacing:.06em;text-transform:uppercase;color:var(--blue-ink)}
.ga-tab td{padding:13px 20px;border-top:1px solid var(--rg-rule);vertical-align:top;font-size:15px;line-height:1.5;color:var(--ink)}
.ga-tab td:first-child{font-weight:600}
.ga-tab .num{font-family:var(--rg-font-mono);font-variant-numeric:tabular-nums;white-space:nowrap}
.ga-tab td[data-l="Texte"] .ga-ref{display:inline-block;white-space:normal;margin-right:8px}
.ga-tab--etapes table{table-layout:fixed}
.ga-tab--etapes col.c1{width:36%}.ga-tab--etapes col.c2{width:24%}.ga-tab--etapes col.c3{width:18%}.ga-tab--etapes col.c4{width:22%}
.ga-tab tfoot td,.ga-tab tfoot td:first-child{font-size:13px;font-weight:400;color:var(--ink-2)}
@media (max-width:720px){
  .ga-tab thead{display:none}
  .ga-tab table,.ga-tab tbody,.ga-tab tfoot,.ga-tab tr,.ga-tab td{display:block;width:100%}
  .ga-tab tbody tr{padding:10px 0;border-top:1px solid var(--rg-rule)}
  .ga-tab tbody tr:first-child{border-top:0}
  .ga-tab td{border-top:0;padding:3px 18px}
  .ga-tab td[data-l]:not(:first-child)::before{content:attr(data-l);display:block;margin-top:6px;font:600 11px/1.3 var(--rg-font-sans);letter-spacing:.06em;text-transform:uppercase;color:var(--blue-ink)}
  .ga-tab caption{display:block;width:100%;padding:14px 18px 6px}
  .ga-tab tfoot td{padding:10px 18px 14px;border-top:1px solid var(--rg-rule)}
}

/* Encadrés : point de vigilance (creux) et renvoi vers l'offre (verre) */
.ga-note{margin:18px 0 20px;padding:16px 20px;border-radius:var(--rg-r-ctrl);font-size:15px;line-height:1.6}
.ga-note p{font-size:15px;margin:0}
.ga-note b{color:var(--blue-ink)}
.ga-renvoi{margin:22px 0;padding:clamp(20px,3vw,28px);border-radius:var(--rg-r-sub);display:flex;flex-wrap:wrap;gap:16px 24px;align-items:center;justify-content:space-between}
.ga-renvoi>*{position:relative;z-index:1}
.ga-renvoi p{margin:0;max-width:46ch;font-size:16px}
.ga-renvoi p b{display:block;margin-bottom:4px;font-size:17px}

/* FAQ dans le corps de l'article */
.ga-texte .faq{margin-top:8px;max-width:none}
.ga-texte .faq .rep{font-size:16px;color:var(--ink)}

/* À lire ensuite : guides du même sujet */
.ga-suite{list-style:none;margin:8px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ga-suite li{padding:16px 18px;border-radius:var(--rg-r-ctrl);display:flex;flex-direction:column;gap:6px}
.ga-suite li>*{position:relative;z-index:1}
.ga-suite a,.ga-suite span.t{font:600 16px/1.35 var(--rg-font-sans);color:var(--ink);text-decoration:none}
.ga-suite a:hover{color:var(--blue-ink);text-decoration:underline}
.ga-suite small{font-size:13px;color:var(--ink-2)}
@media (max-width:720px){.ga-suite{grid-template-columns:minmax(0,1fr)}}

/* Sources : liste sobre, chaque texte avec sa date de consultation */
.ga-sources{margin:0;padding-left:20px;display:grid;gap:6px;font-size:14px;line-height:1.55;color:var(--ink-2)}
.ga-sources li::marker{color:var(--ink-2)}

/* Sous 980px : sommaire replié au-dessus du texte, plus de colonne */
@media (max-width:980px){
  .ga-corps .wrap{grid-template-columns:minmax(0,1fr)}
  .ga-sommaire{position:static}
  .ga-sommaire summary{cursor:pointer;min-height:44px;display:flex;align-items:center;justify-content:space-between}
  .ga-sommaire summary::after{content:"+";display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(31,79,176,.45);font:500 16px/1 var(--rg-font-mono);color:var(--blue-ink)}
  .ga-sommaire[open] summary::after{content:"\2212"}
}
@media (min-width:981px){
  .ga-sommaire summary{pointer-events:none}
}
@media (max-width:720px){
  .ga-texte p,.ga-texte .ga-liste li,.ga-bref li{font-size:16px}
}

/* Largeurs de colonnes des tableaux du guide liquidation */
.ga-tab--formes table,.ga-tab--couts table{table-layout:fixed}
.ga-tab--formes col.c1{width:12%}.ga-tab--formes col.c2{width:38%}.ga-tab--formes col.c3{width:30%}.ga-tab--formes col.c4{width:20%}
.ga-tab--couts col.c1{width:38%}.ga-tab--couts col.c2{width:36%}.ga-tab--couts col.c3{width:26%}
.ga-tab td .ga-ref{display:inline-block;margin-right:6px}

/* Auteur : vignette dans la cote, bloc de présentation en fin d'article */
.ga-auteur{display:inline-flex;align-items:center;gap:10px}
.ga-auteur img{width:36px;height:36px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 2px var(--glass-edge)}
.ga-auteur a{color:inherit;text-decoration:none}
.ga-auteur a:hover b{text-decoration:underline}
.ga-bio{display:flex;gap:20px;align-items:flex-start;padding:clamp(20px,3vw,28px);border-radius:var(--rg-r-sub)}
.ga-bio>*{position:relative;z-index:1}
.ga-bio img{flex:none;width:96px;height:96px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 3px var(--glass-edge)}
.ga-bio p{font-size:16px;margin:0 0 10px}
.ga-bio p:last-child{margin:0;font-size:15px}
@media (max-width:520px){.ga-bio{flex-direction:column}.ga-bio img{width:72px;height:72px}}

/* Largeurs de colonnes du guide lettre de mission de liquidation */
.ga-tab--lm-cadre table,.ga-tab--lm-clauses table{table-layout:fixed}
.ga-tab--lm-cadre col.c1{width:34%}.ga-tab--lm-cadre col.c2{width:42%}.ga-tab--lm-cadre col.c3{width:24%}
.ga-tab--lm-clauses col.c1{width:24%}.ga-tab--lm-clauses col.c2{width:52%}.ga-tab--lm-clauses col.c3{width:24%}
/* Largeurs de colonnes des tableaux du guide honoraires de liquidation */
.ga-tab--postes table,.ga-tab--debours table{table-layout:fixed}
.ga-tab--postes col.c1{width:24%}.ga-tab--postes col.c2{width:40%}.ga-tab--postes col.c3{width:36%}
.ga-tab--debours col.c1{width:38%}.ga-tab--debours col.c2{width:36%}.ga-tab--debours col.c3{width:26%}
/* Largeurs de colonnes des tableaux du guide LCB-FT et liquidation */
.ga-tab--lcb-dossier table,.ga-tab--lcb-signaux table,.ga-tab--lcb-conservation table{table-layout:fixed}
.ga-tab--lcb-dossier col.c1{width:26%}.ga-tab--lcb-dossier col.c2{width:52%}.ga-tab--lcb-dossier col.c3{width:22%}
.ga-tab--lcb-signaux col.c1{width:21%}.ga-tab--lcb-signaux col.c2{width:28%}.ga-tab--lcb-signaux col.c3{width:27%}.ga-tab--lcb-signaux col.c4{width:24%}
.ga-tab--lcb-signaux td[data-l="Texte"] .ga-ref{white-space:nowrap}
.ga-tab--lcb-conservation col.c1{width:42%}.ga-tab--lcb-conservation col.c2{width:12%}.ga-tab--lcb-conservation col.c3{width:24%}.ga-tab--lcb-conservation col.c4{width:22%}
/* Largeurs de colonnes du guide liquidation amiable impossible (passif supérieur à l'actif) */
.ga-tab--impossible table{table-layout:fixed}
.ga-tab--impossible col.c1{width:20%}.ga-tab--impossible col.c2{width:38%}.ga-tab--impossible col.c3{width:42%}
/* Largeurs de colonnes du guide responsabilité du liquidateur */
.ga-tab--qui table{table-layout:fixed}
.ga-tab--qui col.c1{width:38%}.ga-tab--qui col.c2{width:34%}.ga-tab--qui col.c3{width:28%}
/* Largeurs de colonnes des tableaux du guide comptes de clôture de liquidation */
.ga-tab--cl-docs table,.ga-tab--cl-majorites table,.ga-tab--cl-pieces table{table-layout:fixed}
.ga-tab--cl-docs col.c1{width:26%}.ga-tab--cl-docs col.c2{width:30%}.ga-tab--cl-docs col.c3{width:28%}.ga-tab--cl-docs col.c4{width:16%}
.ga-tab--cl-majorites col.c1{width:12%}.ga-tab--cl-majorites col.c2{width:32%}.ga-tab--cl-majorites col.c3{width:28%}.ga-tab--cl-majorites col.c4{width:28%}
.ga-tab--cl-pieces col.c1{width:23%}.ga-tab--cl-pieces col.c2{width:22%}.ga-tab--cl-pieces col.c3{width:28%}.ga-tab--cl-pieces col.c4{width:27%}
/* Largeurs de colonnes des tableaux du guide TUP ou liquidation */
.ga-tab--tup table,.ga-tab--grille table{table-layout:fixed}
.ga-tab--tup col.c1{width:20%}.ga-tab--tup col.c2{width:40%}.ga-tab--tup col.c3{width:40%}
.ga-tab--grille col.c1{width:37%}.ga-tab--grille col.c2{width:35%}.ga-tab--grille col.c3{width:28%}
/* Guide écritures de liquidation : largeurs de colonnes, montants alignés, journaux compacts sous 720px */
.ga-tab--ouverture table,.ga-tab--journal table,.ga-tab--boni table{table-layout:fixed}
.ga-tab--ouverture col.c1{width:58%}.ga-tab--ouverture col.c2{width:21%}.ga-tab--ouverture col.c3{width:21%}
.ga-tab--journal col.c1{width:13%}.ga-tab--journal col.c2{width:51%}.ga-tab--journal col.c3{width:18%}.ga-tab--journal col.c4{width:18%}
.ga-tab--boni col.c1{width:43%}.ga-tab--boni col.c2{width:19%}.ga-tab--boni col.c3{width:19%}.ga-tab--boni col.c4{width:19%}
.ga-tab--ouverture td.num,.ga-tab--journal td.num,.ga-tab--boni td.num{text-align:right}
.ga-tab--ouverture thead th:not(:first-child),.ga-tab--journal thead th:nth-child(n+3),.ga-tab--boni thead th:not(:first-child){text-align:right}
.ga-tab--journal tbody td:first-child{font-family:var(--rg-font-mono);font-size:14px}
.ga-tab--journal tbody th{padding:16px 20px 6px;border-top:1px solid var(--rg-rule);font:600 14px/1.4 var(--rg-font-sans);letter-spacing:0;text-transform:none;color:var(--ink)}
.ga-tab--journal tbody:first-of-type th{border-top:0}
.ga-tab--journal tbody td{border-top:0;padding-top:5px;padding-bottom:5px}
.ga-tab tr.total td{font-weight:600;border-top:1px solid var(--blue-ink)}
@media (max-width:720px){
  .ga-tab--journal tbody tr{display:grid;grid-template-columns:4.6em minmax(0,1fr);column-gap:10px;padding:4px 18px;border-top:0}
  .ga-tab--journal tbody tr:first-child{padding-top:12px}
  .ga-tab--journal tbody th{display:block;grid-column:1/-1;padding:0 0 4px;border-top:0}
  .ga-tab--journal tbody{border-top:1px solid var(--rg-rule)}
  .ga-tab--journal tbody:first-of-type{border-top:0}
  .ga-tab--journal td{width:auto;padding:1px 0}
  .ga-tab--journal td:not(:first-child){grid-column:2}
  .ga-tab--journal td.num:empty{display:none}
  .ga-tab--journal td.num{text-align:left}
  .ga-tab.ga-tab--journal td[data-l="Libellé"]:not(:first-child)::before{content:none}
  .ga-tab.ga-tab--journal td.num[data-l]:not(:first-child)::before,.ga-tab.ga-tab--ouverture td.num[data-l]:not(:first-child)::before,.ga-tab.ga-tab--boni td.num[data-l]:not(:first-child)::before{display:inline;margin:0 8px 0 0}
  .ga-tab--ouverture td.num:empty{display:none}
  .ga-tab--ouverture td.num,.ga-tab--boni td.num{text-align:left}
  .ga-tab--boni td.num{display:inline-block;width:auto;padding-right:4px}
}

/* Résumer ce guide avec une IA : bande creuse en fin d'article, posée par guide-article.js */
.ga-ia{display:flex;flex-wrap:wrap;align-items:center;gap:8px 28px;margin-top:clamp(28px,3.4vw,44px);padding:10px 20px;border-radius:var(--rg-r-ctrl)}
.ga-ia p{margin:0;font:600 13px/1.3 var(--rg-font-sans);letter-spacing:.06em;text-transform:uppercase;color:var(--blue-ink)}
.ga-ia ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:0 24px}
.ga-ia a{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:16px;color:var(--ink);text-decoration:none;transition:color .12s}
.ga-ia a:hover{color:var(--blue-ink);text-decoration:underline}
.ga-ia svg{flex:none}
@media (max-width:720px){
  .ga-ia{padding:12px 18px}
  .ga-ia ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:0 16px}
}
/* Largeurs de colonnes du guide calendrier de cessation */
.ga-tab--calendrier table{table-layout:fixed}
.ga-tab--calendrier col.c1{width:23%}.ga-tab--calendrier col.c2{width:17%}.ga-tab--calendrier col.c3{width:20%}.ga-tab--calendrier col.c4{width:15%}.ga-tab--calendrier col.c5{width:25%}
@media (min-width:721px){.ga-tab--calendrier th,.ga-tab--calendrier td{padding-left:14px;padding-right:14px}}
.ga-tab--calendrier td[data-l="Texte"] .ga-ref{white-space:nowrap}
.ga-tab--niveaux table{table-layout:fixed}
.ga-tab--niveaux col.c1{width:19%}.ga-tab--niveaux col.c2,.ga-tab--niveaux col.c3,.ga-tab--niveaux col.c4{width:27%}
.ga-tab--distinctions table,.ga-tab--schemas table{table-layout:fixed}
.ga-tab--distinctions col.c1{width:18%}.ga-tab--distinctions col.c2{width:30%}.ga-tab--distinctions col.c3{width:24%}.ga-tab--distinctions col.c4{width:28%}
.ga-tab--schemas col.c1{width:19%}.ga-tab--schemas col.c2{width:31%}.ga-tab--schemas col.c3{width:22%}.ga-tab--schemas col.c4{width:28%}
.ga-tab--schemas td:first-child span[lang]{display:block;font-weight:400;font-size:13px;color:var(--ink-2)}
.ga-tab--avant table{table-layout:fixed}
.ga-tab--avant col.c1{width:19%}.ga-tab--avant col.c2{width:27%}.ga-tab--avant col.c3{width:29%}.ga-tab--avant col.c4{width:25%}
/* Largeurs de colonnes du guide LCB-FT et IA */
.ga-tab--ia-lcb table{table-layout:fixed}
.ga-tab--ia-lcb col.c1{width:19%}.ga-tab--ia-lcb col.c2{width:19%}.ga-tab--ia-lcb col.c3{width:29%}.ga-tab--ia-lcb col.c4{width:33%}
.ga-tab--ia-lcb td[data-l="Texte"] .ga-ref{white-space:nowrap}
.ga-tab--fiche table{table-layout:fixed}
.ga-tab--fiche col.c1{width:20%}.ga-tab--fiche col.c2{width:40%}.ga-tab--fiche col.c3{width:40%}
.ga-tab--formaliser table{table-layout:fixed}
.ga-tab--formaliser col.c1{width:28%}.ga-tab--formaliser col.c2{width:36%}.ga-tab--formaliser col.c3{width:36%}

/* Liste « à retenir » de 2 éléments ou de plus de 3 : grille ajustée, filets par rangée */
@media (min-width:761px){
  .ga .retenir-liste:has(>li:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
  .ga .retenir-liste>li:nth-child(3n+1){border-left:0}
  .ga .retenir-liste>li:nth-child(n+4){border-top:1px solid var(--rg-rule)}
  .ga .retenir-liste:has(>li:nth-child(2):last-child)>li:nth-child(2){border-left:1px solid var(--rg-rule)}
}

/* ===== modules/pgs-cas ===== */
/* Page simple pgs-cas */
.pgs-cas .wrap{grid-template-columns:minmax(0,760px)!important;min-height:46vh;align-content:center}

/* ===== modules/pgs-webi ===== */
/* Page simple pgs-webi */
.pgs-webi .wrap{grid-template-columns:minmax(0,760px)!important;min-height:46vh;align-content:center}

/* ===== modules/pgs-mb ===== */
/* Page simple pgs-mb */
.pgs-mb .wrap{grid-template-columns:minmax(0,760px)!important;min-height:46vh;align-content:center}

/* ===== modules/pgs-part ===== */
/* Page simple pgs-part */
.pgs-part .wrap{grid-template-columns:minmax(0,760px)!important;min-height:46vh;align-content:center}

/* ===== modules/funnel-questionnaire ===== */
/* Questionnaire pré-paiement de la fermeture : un panneau de verre par étape, un seul visible à la fois
   (piloté par l'attribut hidden, voir funnel-questionnaire.js). Les champs et les pastilles viennent du
   design system (.rg-field, .rg-input, .rg-choice, .rg-btn) ; seule la mise en page est posée ici. */
.funnel-q .wrap{grid-template-columns:minmax(0,1fr);max-width:760px;margin-inline:auto}
.fq__colonne{display:grid;gap:18px;min-width:0}

/* Avancement : texte et barre */
.fq__tete{display:grid;gap:8px;min-width:0}
.fq__tete .rg-eyebrow{margin:0}
.fq__etape{margin:0;font-size:14px;font-weight:600;color:var(--ink-2)}
.fq__barre{height:6px;border-radius:999px;background:var(--tint);overflow:hidden}
.fq__barre span{display:block;height:100%;width:17%;border-radius:999px;background:var(--blue-ink);transition:width .35s var(--rg-ease-out)}

/* Panneau */
.fq__panneau{min-width:0;padding:clamp(20px,3vw,36px);border-radius:var(--rg-r-sub);display:flex;flex-direction:column;gap:18px}
.fq__panneau[hidden]{display:none}
.fq__panneau>*{position:relative;z-index:1;min-width:0}
.fq__intro,.fq__corps{display:flex;flex-direction:column;gap:18px}
.fq__titre{margin:0;font-size:clamp(26px,3.4vw,34px)}
.fq__titre:focus{outline:none}
.fq__lede{margin:0;font-size:16px;line-height:1.5;color:var(--ink-2);max-width:56ch}
.fq__info{margin:0;font-size:15px;line-height:1.5;font-weight:500;color:var(--blue-ink)}
/* Région vide : hors de la mise en page mais dans l'arbre d'accessibilité (un masquage complet la retirerait,
   et le premier message injecté ne serait pas annoncé). */
.fq__info:empty{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* Coordonnées */
.fq__duo{display:grid;gap:18px;grid-template-columns:repeat(2,minmax(0,1fr))}
.fq__champ{min-width:0}
.fq__champ .rg-label{font-size:15px;font-weight:600;color:var(--ink)}
.fq__champ .rg-input{min-height:50px}
.fq__champ .rg-input[aria-invalid="true"]{border-color:var(--crit);box-shadow:0 0 0 1px var(--crit);box-shadow:0 0 0 3px color-mix(in srgb,var(--crit) 14%,transparent)}
.fq__case{display:flex;align-items:flex-start;gap:14px;min-height:44px;padding:10px 0;cursor:pointer;color:var(--ink);font-size:16px;font-weight:500}
.fq__case input{flex:none;width:24px;height:24px;margin:0;accent-color:var(--blue-ink);cursor:pointer}
.fq__case input:focus-visible{outline:2px solid var(--blue-ink);outline-offset:3px}
.fq__case small{display:block;margin-top:2px;font-size:14px;font-weight:400;line-height:1.45;color:var(--ink-2)}
.fq__mention{margin:0;font-size:14px;line-height:1.5;color:var(--ink-2)}
.fq__mention a{font-weight:500}

/* Erreurs : --crit assombri sur le verre clair (repli : --crit seul) ; région d'alerte vide = aucune place prise */
.fq__err{margin:0;font-size:14px;line-height:1.4;font-weight:500;color:var(--crit);color:color-mix(in srgb,var(--crit) 62%,#000)}
.fq__err:empty{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* Choix à réponse unique : le bouton radio réel couvre toute la pastille (clavier, flèches, lecteur d'écran) */
.fq__groupe{margin:0;padding:0;border:0;min-width:0}
.fq__legende{padding:0;margin-bottom:12px;font:600 16px/1.3 var(--rg-font-sans);color:var(--blue-ink)}
.fq__pile{display:grid;gap:12px}
.fq__grille{display:grid;gap:12px;grid-template-columns:repeat(3,minmax(0,1fr))}
.fq__choix{position:relative;justify-content:flex-start;min-height:56px;padding:12px 18px;text-align:left;font-size:16px;line-height:1.3;
  white-space:normal;max-width:100%;box-shadow:inset 0 0 0 1px var(--rg-ghost-line);cursor:pointer}
.fq__choix input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.fq__choix span{display:flex;flex-direction:column;gap:4px;min-width:0}
.fq__choix small{font-size:14px;font-weight:400;line-height:1.45;color:var(--ink-2)}
.fq__choix[data-checked]{transform:none;animation:none;box-shadow:none}
.fq__choix[data-checked] small{color:inherit}
.fq__choix:has(:focus-visible){outline:2px solid var(--blue-ink);outline-offset:3px}
/* Repli sans :has() : le focus du bouton radio (invisible) se voit sur le texte de la pastille */
@supports not selector(:has(*)){
  .fq__choix input:focus-visible + span{outline:2px solid var(--blue-ink);outline-offset:4px;border-radius:6px}
}
.fq__grille .fq__choix{justify-content:center;text-align:center}

/* Actions */
.fq__actions{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:6px}
.fq__actions--seul{justify-content:flex-end}
.fq__retour{display:inline-flex;align-items:center;min-height:44px;padding:0 4px;background:none;border:0;font:inherit;font-weight:500;cursor:pointer}
.fq__retour:focus-visible{outline:2px solid var(--blue-ink);outline-offset:3px;border-radius:6px}
.fq__panneau .rg-btn{min-height:52px}
.fq__panneau .rg-btn:disabled{opacity:.45;cursor:not-allowed;transform:none}
.fq__panneau .rg-btn:focus-visible{outline:2px solid var(--blue-ink);outline-offset:3px}
.fq__sansjs{margin:0;padding:20px;color:var(--ink-2);display:grid;gap:12px}
.fq__sansjs p{margin:0}
.fq__sansjs .rg-h1{margin:0;font-size:clamp(26px,3.4vw,34px)}
/* Repli : sans JavaScript, ou si le script s'arrête avant de poser fq--js (module antérieur en erreur, fichier haché
   introuvable), le message de repli s'affiche à la place de l'avancement et des formulaires ; dès que le script
   s'exécute (fq--js), il disparaît. Un court délai évite un éclair du message pendant le chargement normal
   (sans mouvement réduit seulement : tout est coupé sinon, le message s'affiche alors tout de suite). */
.funnel-q.fq--js .fq__sansjs{display:none}
@keyframes fq-repli{to{opacity:1}}
@media (prefers-reduced-motion:no-preference){
  .funnel-q:not(.fq--js) .fq__sansjs{opacity:0;animation:fq-repli .01s 1.2s forwards}
}
.funnel-q:not(.fq--js) .fq__tete,.funnel-q:not(.fq--js) .fq__panneau{display:none}

@media (max-width:720px){
  .fq__duo{grid-template-columns:minmax(0,1fr)}
  /* Prénom et nom restent côte à côte : l'étape 1 tient presque dans un écran de téléphone */
  .fq__corps>.fq__duo:first-child{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .fq__panneau,.fq__intro,.fq__corps{gap:14px}
  .fq__colonne{gap:14px}
  body.glacier .funnel-q .fq__titre{font-size:28px}
  .fq__lede{font-size:15px}
  .fq__grille{grid-template-columns:repeat(2,minmax(0,1fr))}
  /* Ordre du DOM conservé (Retour puis Continuer) : le focus suit l'ordre visuel */
  .fq__actions{flex-direction:column;align-items:stretch}
  .fq__actions .rg-btn{width:100%}
  .fq__retour{justify-content:center}
}

/* Écran large : une étape tient dans la hauteur de l'écran. Titre et explication à gauche, champs à droite,
   sur toute la largeur de la page. */
@media (min-width:1024px){
  .funnel-q .wrap{max-width:calc(var(--rg-max) + 2 * var(--rg-gutter))}
  .fq__panneau{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(32px,4vw,64px);align-items:start;padding:clamp(28px,3vw,40px)}
  body.glacier .funnel-q .fq__titre{font-size:clamp(32px,3vw,42px)}
}

/* Parcours de formalités (data-parcours autre que fermeture) : adresse du siège, date, message conditionnel,
   panneau de rendez-vous. Aucune de ces classes n'est employée par la fermeture. */
/* Adresse : voie sur toute la largeur, puis code postal (étroit) et commune côte à côte */
.fq__adresse{display:grid;gap:18px;grid-template-columns:minmax(0,9rem) minmax(0,1fr);min-width:0}
.fq__adresse .fq__voie,.fq__adresse .fq__communes{grid-column:1 / -1}
.fq__champ .rg-select,.fq__champ select.rg-input{min-height:50px;padding-right:40px;appearance:none;-webkit-appearance:none;cursor:pointer;
  background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%);
  background-position:calc(100% - 22px) 50%,calc(100% - 16px) 50%;background-size:6px 6px,6px 6px;background-repeat:no-repeat}
.fq__champ select:disabled{opacity:.5;cursor:not-allowed}
.fq__champ input[type="date"]{max-width:16rem}
/* État des communes (chargement impossible, code postal inconnu) : vide, hors de la mise en page mais dans l'arbre
   d'accessibilité, comme .fq__info */
.fq__communes{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px;margin:0;font-size:14px;line-height:1.4;font-weight:500;
  color:var(--crit);color:color-mix(in srgb,var(--crit) 62%,#000)}
.fq__communes:empty{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.fq__reessayer{display:inline-flex;align-items:center;min-height:44px;padding:0 4px;background:none;border:0;font:inherit;font-weight:600;cursor:pointer}
.fq__reessayer:focus-visible{outline:2px solid var(--blue-ink);outline-offset:3px;border-radius:6px}
/* Message conditionnel ([data-info-si]) : masqué par l'attribut hidden tant que la réponse ne le demande pas */
.fq__note{display:grid;gap:8px;justify-items:start;padding:14px 16px;border-radius:var(--rg-r-ctrl)}
.fq__note p{margin:0;font-size:15px;line-height:1.5;color:var(--ink-2)}
[data-info-si][hidden]{display:none}
/* Panneau de rendez-vous (fin sans commande possible) */
.fq__panneau[data-fin] .rg-btn{align-self:flex-start}

@media (max-width:720px){
  .fq__adresse{gap:14px;grid-template-columns:minmax(0,7.5rem) minmax(0,1fr)}
  .fq__champ input[type="date"]{max-width:none}
  .fq__panneau[data-fin] .rg-btn{width:100%}
}

/* ===== modules/commande ===== */
/* Récapitulatif de commande : lignes à gauche, totaux et bouton de paiement à droite, sur deux panneaux de verre.
   Un seul état visible à la fois, piloté par data-etat posé par commande.js. */
.commande .wrap{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);align-items:start;gap:clamp(16px,2vw,20px)}
.commande .rg-eyebrow{margin-bottom:0}

.commande__lignes,.commande__recap{padding:clamp(20px,2.6vw,28px);border-radius:var(--rg-r-sub);display:flex;flex-direction:column;gap:14px}
.commande__lignes>*,.commande__recap>*{position:relative;z-index:1}
.commande .rg-h1{margin:0 0 8px}
body.glacier .commande .rg-h2{font-size:19px;line-height:1.3;margin:0}

/* États */
.commande [data-pour]{display:none}
.commande[data-etat="chargement"] [data-pour~="chargement"],
.commande[data-etat="parametre"] [data-pour~="parametre"],
.commande[data-etat="inconnu"] [data-pour~="inconnu"],
.commande[data-etat="indispo"] [data-pour~="indispo"],
.commande[data-etat="limite"] [data-pour~="limite"],
.commande[data-etat="erreur"] [data-pour~="erreur"]{display:flex}
.commande[data-etat="pret"] .commande__detail{display:block}
.commande[data-etat="pret"] .commande__recap{display:flex}
.commande:not([data-etat="pret"]) .wrap{grid-template-columns:minmax(0,1fr);max-width:760px}

.commande__etat{flex-direction:column;gap:14px}
body.glacier .commande__etat .rg-h2{font-size:clamp(20px,2.2vw,24px)}
.commande__etat p{margin:0;color:var(--ink-2);font-size:16px}
.commande__etat .rg-btn{align-self:flex-start}
.commande__chargement .rg-skeleton{height:220px;border-radius:var(--rg-r-ctrl);background:var(--tint)}
.commande__modifier{margin:22px 0 0;font-size:16px}
.commande__modifier a{display:inline-flex;align-items:center;min-height:44px}
.commande__sansjs{margin:0;color:var(--ink-2)}

/* Lignes de commande */
.commande__tete{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:6px}
.commande__tete span{font-size:14px;color:var(--ink-2);white-space:nowrap}
.commande__groupe{margin-top:22px}
.commande__titre{margin:0 0 6px;font:600 17px/1.3 var(--rg-font-sans);color:var(--blue-ink)}
.commande__liste{list-style:none;margin:0;padding:0}
.commande__ligne{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:12px 0;border-top:1px solid var(--rg-line);font-size:16px;color:var(--ink)}
.commande__ligne>div{min-width:0}
.commande__ligne small{display:block;margin-top:3px;font-size:14px;line-height:1.45;color:var(--ink-2)}
.commande__prix{white-space:nowrap;font-weight:500}

/* Récapitulatif */
.commande__numero{margin:0;font-size:12px;font-weight:500;letter-spacing:.1em;text-transform:uppercase;color:var(--blue-ink);overflow-wrap:anywhere}
.commande__totaux{margin:0;display:flex;flex-direction:column}
.commande__total{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:7px 0;font-size:16px;color:var(--ink)}
.commande__total dt,.commande__total dd{margin:0}
.commande__total dd{white-space:nowrap}
.commande__total--ttc{margin-top:6px;padding-top:12px;border-top:1px solid var(--rg-line);font-size:19px;font-weight:600}
.commande__recap .rg-btn{margin-top:8px;min-height:52px}
.commande__cgv{margin:0;font-size:14px;line-height:1.45;color:var(--ink-2)}

@media (max-width:980px){
  .commande .wrap,.commande:not([data-etat="pret"]) .wrap{grid-template-columns:minmax(0,1fr);padding-block:clamp(24px,6vw,48px) 24px}
}
@media (max-width:720px){
  .commande .rg-h1{font-size:30px}
  .commande__recap .rg-btn{width:100%}
  .commande__ligne{font-size:15px}
}

/* ===== modules/paiement ===== */
/* Page de paiement : un bandeau de verre (numéro et total TTC), puis le formulaire Stripe seul sur son panneau */
.paiement .wrap{grid-template-columns:minmax(0,1fr);align-items:start;gap:16px}
.paiement .paiement__titre{margin:0}
body.glacier .paiement .paiement__titre{margin-bottom:0}

/* Bandeau : visible seulement quand le jeton a été lu et accepté (états chargement, pret, erreur, indispo) */
.paiement__bandeau{display:none;justify-content:space-between;align-items:center;gap:20px;padding:20px clamp(20px,2.6vw,28px);border-radius:var(--rg-r-sub)}
.paiement__bandeau>*{position:relative;z-index:1}
.paiement[data-etat="chargement"] .paiement__bandeau,
.paiement[data-etat="pret"] .paiement__bandeau,
.paiement[data-etat="erreur"] .paiement__bandeau,
.paiement[data-etat="indispo"] .paiement__bandeau{display:flex}
.paiement .paiement__bandeau[hidden]{display:none!important}
.paiement__bloc{display:flex;flex-direction:column;gap:4px;min-width:0}
.paiement__bloc--montant{text-align:right}
.paiement__cle{font:500 11px/1.2 var(--rg-font-mono);letter-spacing:.14em;text-transform:uppercase;color:var(--blue-ink)}
.paiement__val{font-size:20px;font-weight:600;line-height:1.2;color:var(--ink);overflow-wrap:anywhere}
.paiement__val--montant{font-size:30px;white-space:nowrap}

/* Le formulaire Stripe est son propre panneau (fond #E9F0FD, réglé dans le service) : pas de verre autour.
   Le verre du thème glacier est neutralisé ici (spécificité au-dessus de body.glacier .rg-glass). */
body.glacier .paiement .paiement__cadre.rg-glass{width:100%;max-width:560px;margin-inline:auto;padding:0;background:#E9F0FD;border:0;border-radius:var(--rg-r-sub);box-shadow:0 24px 50px -20px rgba(14,31,69,.45);min-height:0}
body.glacier .paiement .paiement__cadre.rg-glass::before,body.glacier .paiement .paiement__cadre.rg-glass::after{content:none!important}
.paiement__cadre>*{position:relative;z-index:1}
.paiement .paiement__checkout{border-radius:var(--rg-r-sub);overflow:hidden}

/* États : un seul bloc visible à la fois, piloté par data-etat posé par paiement.js */
.paiement__etat{display:none;flex-direction:column;gap:14px;padding:clamp(20px,3vw,28px)}
body.glacier .paiement__etat .rg-h2{font-size:clamp(20px,2.2vw,24px);line-height:1.25}
.paiement__etat p{margin:0;color:var(--ink-2);font-size:16px}
.paiement[data-etat="chargement"] .paiement__chargement,
.paiement[data-etat="erreur"] .paiement__erreur,
.paiement[data-etat="indispo"] .paiement__indispo,
.paiement[data-etat="sans-jeton"] .paiement__sans-jeton,
.paiement[data-etat="invalide"] .paiement__invalide,
.paiement[data-etat="expire"] .paiement__expire{display:flex}
.paiement__chargement .rg-skeleton{height:320px;border-radius:var(--rg-r-ctrl);background:var(--tint)}
.paiement__etat .rg-btn{align-self:flex-start;min-height:44px}
.paiement:not([data-etat="chargement"]):not([data-etat="pret"]) .paiement__checkout{display:none}
.paiement__sansjs{margin:0;padding:20px;color:var(--ink-2)}
.paiement[data-etat="pret"] .paiement__sansjs{display:none}

@media (max-width:980px){
  .paiement .wrap{padding-block:clamp(24px,6vw,48px) 24px}
}
@media (max-width:560px){
  .paiement__bandeau{flex-direction:column;align-items:flex-start;gap:14px}
  .paiement__bloc--montant{text-align:left}
  .paiement__val{font-size:18px}
  .paiement__val--montant{font-size:26px}
  .paiement__etat .rg-btn{align-self:stretch;text-align:center;justify-content:center}
}

/* ===== modules/paiement-merci ===== */
/* Page de retour du paiement : un seul état visible, piloté par data-etat (paiement.js) */
.paiement-merci .wrap{align-items:start}
.paiement-merci__txt{display:flex;flex-direction:column;gap:20px}
.paiement-merci .rg-eyebrow{margin-bottom:0}
.paiement-merci [data-pour]{display:none}
.paiement-merci[data-etat="chargement"] [data-pour~="chargement"],
.paiement-merci[data-etat="paye"] [data-pour~="paye"],
.paiement-merci[data-etat="attente"] [data-pour~="attente"],
.paiement-merci[data-etat="echec"] [data-pour~="echec"],
.paiement-merci[data-etat="erreur"] [data-pour~="erreur"],
.paiement-merci[data-etat="sans-session"] [data-pour~="sans-session"]{display:block}
.paiement-merci .ctas [data-pour]{display:none}
.paiement-merci[data-etat="paye"] .ctas [data-pour~="paye"],
.paiement-merci[data-etat="attente"] .ctas [data-pour~="attente"],
.paiement-merci[data-etat="echec"] .ctas [data-pour~="echec"],
.paiement-merci[data-etat="erreur"] .ctas [data-pour~="erreur"],
.paiement-merci[data-etat="sans-session"] .ctas [data-pour~="sans-session"]{display:inline-flex}
.paiement-merci .ctas{margin-top:0}
.paiement-merci .rg-lede{margin-top:16px}
.recu{margin:0;padding:clamp(20px,2.6vw,28px);border-radius:var(--rg-r-sub)}
.recu>*{position:relative;z-index:1}
.recu .rg-nomenclature__head{color:var(--blue-ink)}
.paiement-merci .recu__numero,.paiement-merci .recu__montant{display:none}
.paiement-merci[data-numero-ok] .recu__numero,.paiement-merci[data-montant-ok] .recu__montant{display:flex}
.recu [data-numero]{overflow-wrap:anywhere}
.paiement-merci .recu .pill{display:none}
.paiement-merci[data-etat="paye"] .recu .pill[data-pour="paye"],
.paiement-merci[data-etat="attente"] .recu .pill[data-pour="attente"]{display:inline-flex}
.paiement-merci__sansjs{margin:0;padding:20px;color:var(--ink-2)}
@media (max-width:980px){
  .paiement-merci .wrap{padding-block:clamp(24px,6vw,48px) 24px}
}
@media (max-width:720px){
  .paiement-merci .rg-h1{font-size:30px}
  .paiement-merci .rg-lede{font-size:17px}
}

/* ===== modules/questionnaire ===== */
/* Questionnaire après paiement : un seul état visible à la fois, piloté par data-etat (questionnaire.js).
   Surfaces : rg-glass du thème glacier (positionnement à spécificité nulle, voir base/glacier.css).
   Les champs viennent du design system (.rg-field, .rg-input, .rg-choice) ; seule la mise en page est posée ici. */
.questionnaire{padding-top:clamp(8px,2vw,24px)}
.questionnaire[data-etat="masque"]{display:none}
.questionnaire [hidden]{display:none!important}
.questionnaire .q-colonne{max-width:820px;margin-inline:0;display:grid;gap:20px;min-width:0}

/* États : un panneau de verre par état */
.questionnaire [data-pour]{display:none}
.questionnaire[data-etat="chargement"] [data-pour~="chargement"],
.questionnaire[data-etat="attente"] [data-pour~="attente"],
.questionnaire[data-etat="delai"] [data-pour~="delai"],
.questionnaire[data-etat="inconnu"] [data-pour~="inconnu"],
.questionnaire[data-etat="invalide"] [data-pour~="invalide"],
.questionnaire[data-etat="sans-questionnaire"] [data-pour~="sans-questionnaire"],
.questionnaire[data-etat="erreur"] [data-pour~="erreur"],
.questionnaire[data-etat="blocage"] [data-pour~="blocage"],
.questionnaire[data-etat="fin"] [data-pour~="fin"]{display:flex}
.questionnaire[data-etat="plein"] [data-pour~="plein"]{display:grid}
.q-etat{flex-direction:column;align-items:flex-start;gap:14px;padding:clamp(22px,3.4vw,40px);border-radius:var(--rg-r-sub)}
.q-etat>*{position:relative;z-index:1;margin:0}
.q-etat .rg-h2{font-size:clamp(24px,3vw,32px)}
.q-etat p{color:var(--ink);font-size:17px;line-height:1.6;max-width:62ch}
.q-etat .pill{align-self:flex-start}
.q-etat .q-commande{font-size:14px;color:var(--ink-2);overflow-wrap:anywhere}
.questionnaire [data-variante]{display:none}
.questionnaire[data-motif="lien"] [data-variante="lien"],.questionnaire[data-motif="paiement"] [data-variante="paiement"]{display:block}
.q-squelette{width:100%;height:120px;border-radius:var(--rg-r-ctrl);background:var(--tint)}
.q-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:6px}
.q-actions .rg-btn{white-space:normal;text-align:center}
.q-sansjs{margin:0;padding:20px;color:var(--ink-2)}
.q-etat [tabindex="-1"]:focus,.q-entete [tabindex="-1"]:focus{outline:none}

/* Formulaire */
.q-plein{gap:20px;min-width:0}
.q-entete{display:grid;gap:10px;min-width:0}
.q-entete>*{margin:0}
.q-entete .rg-h2{font-size:clamp(26px,3.2vw,36px)}
.q-lede{color:var(--ink-2);font-size:17px;line-height:1.55;max-width:62ch}
.q-recu{font-size:15px;color:var(--ink-2)}
.q-save{margin:0;min-height:1.4em;font-size:14px;color:var(--blue-ink);font-weight:500}
.q-form{display:grid;gap:20px;min-width:0}

.q-bloc{display:grid;gap:20px;padding:clamp(20px,3vw,32px);border-radius:var(--rg-r-sub);min-width:0}
.q-bloc>*{position:relative;z-index:1;min-width:0}
.q-bloc__titre{margin:0;font:600 clamp(20px,2.2vw,24px)/1.25 var(--rg-font-sans);color:var(--ink)}
.q-intro{margin:-8px 0 0;font-size:15.5px;line-height:1.55;color:var(--ink-2);max-width:62ch}

.q-champ{min-width:0}
.q-champ .rg-label{font-size:15px;line-height:1.4;font-weight:600;color:var(--ink)}
.q-fac{font-weight:400;color:var(--ink-2)}
.q-aide{font-size:14px;color:var(--ink-2)}
.q-groupe{margin:0;padding:0;border:0}
.q-groupe>legend{padding:0;margin-bottom:8px;float:none;width:100%}
.q-champ .rg-select{padding-right:44px;appearance:none;-webkit-appearance:none;cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 6l4.5 4.5L12.5 6' fill='none' stroke='%230E1F45' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 16px center;background-size:16px}
.q-champ .rg-textarea{min-height:110px}

/* Choix : même composant que le reste du design system, rendu par une pastille cliquable.
   Le bouton radio réel couvre toute la pastille : clavier, lecteur d'écran et clic natifs. */
.q-choix{display:flex;flex-wrap:wrap;gap:8px}
.q-choix .rg-choice{position:relative;white-space:normal;text-align:center;line-height:1.25;padding:10px 18px;max-width:100%;
  box-shadow:inset 0 0 0 1px var(--rg-ghost-line)}
.q-choix .rg-choice input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.q-choix .rg-choice:has(:focus-visible){outline:2px solid var(--rg-cream);outline-offset:3px}

/* Erreurs : sur le verre clair du thème glacier, encre rouge foncée (le jeton crème du design system y est illisible) */
.q-err{margin:0;font-size:14px;line-height:1.4;font-weight:500;color:#771B1B}
/* Région d'alerte toujours présente : vide, elle ne prend pas de place (le gap du parent est repris en marge négative) */
.q-err:empty{margin:-8px 0 0;min-height:0}
.q-piece .q-err:empty{margin:-10px 0 0}
.questionnaire .rg-input[aria-invalid="true"],.questionnaire .rg-textarea[aria-invalid="true"],.questionnaire .rg-select[aria-invalid="true"]{
  border-color:var(--crit);box-shadow:0 0 0 3px rgba(194,59,59,.14)}
.q-groupe[data-invalide] .rg-choice{box-shadow:inset 0 0 0 1px var(--crit)}

/* Bloc préalable : avertissement avant la validation explicite, pastille ensuite */
.q-prealable{display:grid;gap:12px;justify-items:start;min-width:0}
.q-prealable>*{margin:0}
.q-alerte{padding:12px 16px;border-radius:var(--rg-r-ctrl);background:rgba(168,103,10,.12);box-shadow:inset 0 0 0 1px rgba(168,103,10,.35);
  color:#5A3502;font-size:15px;line-height:1.5;font-weight:500;max-width:none}
.q-bloc--fait .rg-choice,.q-bloc--fait .rg-choice input{cursor:default}
.q-bloc--fait :is(.rg-input,.rg-select,.rg-textarea):disabled{opacity:.8}

/* Pièces */
.q-conservation{margin:-8px 0 0;font-size:15.5px;line-height:1.55;color:var(--ink);max-width:62ch}
.q-conservation a{color:var(--blue-ink);font-weight:500}
.q-piece{display:grid;gap:10px;justify-items:start;min-width:0;padding-top:16px;border-top:1px solid var(--rg-rule)}
.q-piece:first-of-type{border-top:0;padding-top:0}
.q-piece .rg-label{margin:0}
.q-fichiers{list-style:none;margin:0;padding:0;display:grid;gap:8px;width:100%}
.q-fichier{display:flex;align-items:center;gap:12px;min-width:0;padding:10px 14px;border-radius:var(--rg-r-ctrl);background:var(--rg-well-bg);
  box-shadow:inset 0 0 0 1px rgba(14,31,69,.1);font-size:15px}
.q-fnom{flex:1 1 auto;min-width:0;overflow-wrap:anywhere;color:var(--ink);font-weight:500}
.q-ftaille{flex:none;font-size:13px;color:var(--ink-2)}
.q-fichier--attente{opacity:.75}
.q-suppr{flex:none;min-height:44px;min-width:44px;padding:0 10px;border:0;border-radius:var(--rg-r-ctrl);background:transparent;
  color:var(--blue-ink);font:600 14px/1 var(--rg-font-sans);text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.q-suppr:hover{color:var(--ink)}
.q-suppr:focus-visible,.q-lien:focus-visible{outline:2px solid var(--rg-cream);outline-offset:2px}
.q-depot{position:relative}
.q-depot input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer;font-size:0}
.q-depot:has(:focus-visible){outline:2px solid var(--rg-cream);outline-offset:3px}

/* Envoi */
.q-envoi{display:grid;gap:12px;justify-items:start;min-width:0}
.q-envoi>*{margin:0}
.q-manquants{width:100%;padding:16px 18px;border-radius:var(--rg-r-ctrl);background:rgba(194,59,59,.1);box-shadow:inset 0 0 0 1px rgba(194,59,59,.35);color:var(--ink)}
.q-manquants:empty{width:0;height:0;padding:0;margin:-12px 0 0;box-shadow:none;background:none;overflow:hidden}
.q-manquants:focus-visible{outline:2px solid var(--rg-cream);outline-offset:3px}
.q-manquants__titre{margin:0 0 6px;font-weight:600}
.q-manquants__liste{margin:0;padding-left:20px;display:grid;gap:2px}
.q-lien{padding:6px 0;border:0;background:transparent;color:var(--blue-ink);font:500 15px/1.35 var(--rg-font-sans);text-align:left;
  text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.q-note{font-size:14px;color:var(--ink-2)}

@media (max-width:720px){
  .questionnaire{padding-top:4px}
  .q-etat p,.q-lede{font-size:16px}
  .q-bloc{gap:18px}
  .q-actions .rg-btn,.q-bouton-envoi{width:100%}
  .q-fichier{flex-wrap:wrap;gap:6px 12px}
}

/* Page de retour de paiement : le lien vers le questionnaire n'existe que pendant le formulaire */
#paiement-merci:not([data-q="plein"]) [data-q-lien]{display:none!important}

/* Écran large : le questionnaire prend la largeur de la page, champs courts et questions à choix deux par
   ligne ; textes longs, intros, validation du bloc préalable et envoi sur toute la largeur. */
@media (min-width:1024px){
  .questionnaire .q-colonne{max-width:none}
  .q-bloc{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(24px,3vw,40px);align-items:start}
  .q-bloc>*{grid-column:1/-1}
  .q-bloc>.rg-field:not(:has(textarea)),.q-bloc>.q-piece{grid-column:auto}
  .q-piece:nth-of-type(2){border-top:0;padding-top:0}
}

/* ===== modules/dossier-hero ===== */
/* Hero compact de la page de reprise : le questionnaire suit immédiatement */
.dossier-hero .wrap{padding-block:clamp(24px,3vw,40px) clamp(8px,2vw,24px)}
@media (max-width:720px){
  .dossier-hero .rg-h1{font-size:30px}
}

/* ===== modules/mon-espace-hero ===== */
/* Page Mon espace : le titre reste court, les tuiles portent la page */
.mon-espace-hero .lede{max-width:56ch}

/* ===== modules/mon-espace ===== */
/* Page Mon espace : tuiles-liens vers les outils */
.espace-tuile{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:24px;text-decoration:none;color:inherit}
.espace-tuile h3{margin:0}
.espace-tuile .lead{margin:0;flex-grow:1}
.espace-tuile .etiquette{align-self:flex-start;padding:2px 9px;border-radius:999px;background:var(--tint);border:1px solid rgba(47,107,221,.3);font-size:12px;color:var(--blue-ink)}
.espace-go{margin-top:6px;font:600 14px/1.3 var(--rg-font-sans);color:var(--blue-ink);text-decoration:underline;text-underline-offset:4px;text-decoration-color:transparent;transition:text-decoration-color .25s var(--rg-ease-out)}
.espace-tuile:hover .espace-go,.espace-tuile:focus-visible .espace-go{text-decoration-color:currentColor}
.espace-pourquoi{margin-top:clamp(40px,6vw,72px);display:flex;flex-direction:column;gap:20px}
