/* ===== 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(56px,8vw,112px) 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}

/* ===== 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)}

/* ===== 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:1140px){
  .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)}
}

/* ===== 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:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px 40px;border-radius:var(--rg-r-sub);padding:clamp(22px,3.4vw,36px)}
.lab-manuel .manuel>div{position:relative;z-index:1;max-width:62ch}
.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{position:relative;z-index:1}

/* ===== 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:1.25fr 1.1fr .95fr .9fr .85fr .8fr;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}
}

/* ===== 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}
}

/* ===== 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/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/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(64px,9vw,128px) 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:center!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}
}

/* ===== 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-hero ===== */
/* Page de prise de rendez-vous : une colonne, la frise centrée dessous */
.rdv-hero .rdv-wrap{grid-template-columns:minmax(0,1fr);gap:clamp(40px,5vw,64px);align-items:start}
.rdv-hero .note{margin:20px 0 0;max-width:60ch;font:400 13px/1.6 var(--rg-font-mono);color:var(--rg-text-2)}
.rdv-hero .fig{max-width:820px;margin-inline:auto;width:100%}
.rdv-hero .fig figcaption{text-align:center}
@media (max-width:680px){
  /* Les trois détails se chevauchent une fois la frise réduite : ils ne sont plus tracés.
     L'alternative textuelle du SVG les conserve pour les lecteurs d'écran. */
  .rdv-hero .plan .lbl{font-size:26px}
  .rdv-hero .plan .sub{display:none}
}

/* ===== 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}
}
