/* ============================================================
   myDYCAST — charte du site public dycast.fr (2026-09-18)

   Chargée APRÈS main.css, par la coque « v2 » (includes/charte.php).
   main.css garde les composants ; cette feuille porte ce qui fait
   qu'on reconnaît dycast.fr, décliné pour une application :
     1. le blanc de l'en-tête et de la colonne de menu, le logotype
        vectoriel, les pilules ;
     2. le bloc de page à coins hauts arrondis, posé sur ce blanc ;
     3. le bandeau d'ouverture : micro-libellés mono, titre display
        dont la seconde ligne s'efface — en CLAIR (voir plus bas) ;
     4. les titres de section (surtitre capitales, titre display) ;
     5. les cartes produit sombres des dix univers.

   Deux choix d'Anthony, le jour même, après une première version :
   le MENU EST À GAUCHE (la navigation horizontale du site ne lui
   convenait pas pour un outil de travail), et il n'y a PAS DE HÉROS
   SOMBRE (les chiffres et ce qui presse y étaient « moins visibles »).
   Le style du site, pas son hero. Ne pas y revenir sans lui.

   Les mesures de l'en-tête sont en px : main.css fixe le rem à
   14 px (densité d'application), le site public est à 16.
   ============================================================ */

/* ── 1. Tokens ─────────────────────────────────────────── */
:root {
  --header-h: 64px;
  --cote-w: 256px;
  --gouttiere: 20px;
  --rayon-bloc: 20px;
  --ease-dycast: cubic-bezier(.22, 1, .36, 1);
  --topbar-h: 64px;            /* compat : pages qui collent un élément sous la barre */
}
@media (min-width: 768px)  { :root { --gouttiere: 32px; --rayon-bloc: 32px; } }
@media (min-width: 1280px) { :root { --gouttiere: 40px; } }

/* `:root` seul écraserait le thème sombre de main.css (même spécificité que
   [data-theme="dark"], et cette feuille est chargée après) : on l'exclut. */
:root:not([data-theme="dark"]),
[data-theme="light"] {
  --chrome: #ffffff;            /* l'en-tête et la colonne : blanc opaque */
  --bg: #f3f4f7;                /* la bande des pages sans hero du site public */
  --bg-deep: #ebecf0;
  --line: rgba(12, 12, 11, .14);
  --item-hover: rgba(12, 12, 11, .08);
}
[data-theme="dark"] {
  --chrome: #161615;
  --bg: #0c0c0b;
  --bg-deep: #080807;
  --line: rgba(250, 250, 248, .13);
  --item-hover: rgba(250, 250, 248, .09);
}

body.dy-v2 { background: var(--chrome); }   /* c'est lui qu'on voit dans les coins arrondis */
.dy-v2 .ambient-bg { display: none; }

::selection { background: var(--primary); color: var(--on-primary); }

.dy-skip {
  position: fixed; left: 12px; top: -60px; z-index: 10000;
  padding: 10px 16px; border-radius: 999px;
  background: var(--primary); color: var(--on-primary); font-size: 13px; font-weight: 500;
  transition: top .2s var(--ease-dycast);
}
.dy-skip:focus { top: 12px; color: var(--on-primary); }

/* Lien de texte : le soulignement qui se dessine */
.lien-ink {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .35s var(--ease-dycast);
}
.lien-ink:hover, .lien-ink:focus-visible { background-size: 100% 1px; }

/* Lien-flèche : le CTA secondaire du site */
.dy-fleche {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; color: var(--text); text-decoration: none;
}
.dy-fleche > i { font-style: normal; transition: transform .3s var(--ease-dycast); }
.dy-fleche:hover > i { transform: translateX(6px); }

.ht { font-family: var(--font-sans); font-size: .5em; font-weight: 300; letter-spacing: .08em; opacity: .8; }

.dy-logo { display: block; flex-shrink: 0; }
.dy-espace {
  font-family: var(--font-mono); font-size: 9.5px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-muted);
  padding: 3px 7px; border: 1px solid var(--line); border-radius: 999px;
  white-space: nowrap;
}

.dy-badge {
  display: inline-grid; place-items: center;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--primary); color: var(--on-primary);
  font-size: 10px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1;
}
.dy-badge[hidden] { display: none; }

/* ── 2. Colonne de menu ────────────────────────────────── */
.dy-cote {
  position: fixed; inset: 0 auto 0 0; z-index: 85;
  width: var(--cote-w);
  display: flex; flex-direction: column;
  background: var(--chrome); color: var(--text);
}
.dy-cote__logo {
  flex-shrink: 0;
  display: flex; align-items: center; gap: 10px;
  height: var(--header-h); padding: 0 24px;
  color: var(--text); text-decoration: none;
}
.dy-cote__logo:hover { color: var(--text); }
.dy-cote__nav { flex: 1; overflow-y: auto; padding: 10px 12px 28px; scrollbar-width: thin; }

.dy-cote__module {
  display: flex; align-items: center; gap: 12px;
  width: 100%; height: 40px; padding: 0 12px; margin: 1px 0;
  border: 0; border-radius: 999px; background: transparent;
  font: inherit; font-size: 14px; font-weight: 500; color: var(--text);
  text-align: left; text-decoration: none; cursor: pointer;
  transition: background-color .2s;
}
.dy-cote__module:hover { background: var(--item-hover); color: var(--text); }
.dy-cote__module .dy-ico { flex-shrink: 0; color: var(--text-muted); transition: color .2s; }
.dy-cote__label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dy-cote__chevron { flex-shrink: 0; width: 10px; height: 10px; color: var(--text-muted); transition: transform .25s var(--ease-dycast); }
.dy-cote__groupe.is-ouvert > .dy-cote__module .dy-cote__chevron { transform: rotate(90deg); }
.dy-cote__groupe.is-courant > .dy-cote__module { font-weight: 600; }
.dy-cote__groupe.is-courant > .dy-cote__module .dy-ico { color: var(--text); }
a.dy-cote__module.is-actif { background: var(--primary); color: var(--on-primary); }
a.dy-cote__module.is-actif .dy-ico { color: var(--on-primary); }

.dy-cote__rubriques { display: none; padding: 2px 0 10px 30px; }
.dy-cote__groupe.is-ouvert > .dy-cote__rubriques { display: block; }
.dy-cote__lien {
  display: flex; align-items: center; gap: 8px;
  height: 34px; padding: 0 12px; margin: 1px 0; border-radius: 999px;
  font-size: 13.5px; font-weight: 500; color: var(--text-muted); text-decoration: none;
  transition: background-color .2s, color .2s;
}
.dy-cote__lien:hover { background: var(--item-hover); color: var(--text); }
.dy-cote__lien.is-actif { background: var(--primary); color: var(--on-primary); }
.dy-cote__lien.is-actif .dy-badge { background: var(--on-primary); color: var(--primary); }
.dy-cote__lien img { width: 16px; height: 16px; border-radius: 4px; flex-shrink: 0; }

/* ── 3. En-tête : recherche à gauche, actions à droite ─── */
.dy-header {
  position: fixed; inset: 0 0 auto var(--cote-w); z-index: 90;
  height: var(--header-h);
  color: var(--text);
}
.dy-header__fond {
  position: absolute; inset: 0; pointer-events: none;
  background: var(--chrome);
  transition: box-shadow .4s var(--ease-dycast);
}
.dy-header.is-defile .dy-header__fond {
  box-shadow: 0 1px 0 var(--line), 0 14px 34px -22px rgba(12, 12, 11, .22);
}
.dy-header__ligne {
  position: relative;
  display: flex; align-items: center; gap: 8px;
  height: var(--header-h);
  padding: 0 var(--gouttiere) 0 8px;
}
/* Le logotype est en tête de colonne ; dans l'en-tête, il ne sert que sans elle (≤ 1024 px). */
.dy-header__logo { display: none; align-items: center; color: var(--text); text-decoration: none; border-radius: 999px; }
.dy-header__logo:hover { color: var(--text); }

.dy-recherche {
  flex: 1; min-width: 0; max-width: 460px;
  display: inline-flex; align-items: center; gap: 10px;
  height: 40px; padding: 0 14px 0 16px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--bg);
  font: inherit; font-size: 14px; color: var(--text-muted); cursor: pointer;
  transition: border-color .3s, color .3s;
}
.dy-recherche:hover { border-color: color-mix(in oklab, var(--text) 45%, transparent); color: var(--text); }
.dy-recherche svg { width: 15px; height: 15px; flex-shrink: 0; }
.dy-recherche span { flex: 1; min-width: 0; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dy-recherche kbd {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; color: var(--text-muted);
  padding: 1px 6px; border: 1px solid var(--line); border-radius: 5px; background: var(--chrome);
}

.dy-header__actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.dy-header .user-menu { position: relative; }
.dy-header__tel {
  display: inline-flex; align-items: center; gap: 7px;
  height: 36px; padding: 0 12px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--text); white-space: nowrap;
  transition: background-color .2s;
}
.dy-header__tel:hover { background: var(--item-hover); }
.dy-header__tel svg { width: 14px; height: 14px; }

.dy-pilule {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 36px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 999px; background: transparent;
  font: inherit; font-size: 14px; font-weight: 500; color: var(--text);
  white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: border-color .3s, background-color .3s, opacity .3s, transform .3s;
}
.dy-pilule:hover { border-color: color-mix(in oklab, var(--text) 45%, transparent); color: var(--text); }
.dy-pilule:active { transform: scale(.98); }
.dy-pilule svg { width: 14px; height: 14px; flex-shrink: 0; }
.dy-pilule--pleine { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.dy-pilule--pleine:hover { opacity: .85; color: var(--on-primary); border-color: var(--primary); }
.dy-pilule .avatar { margin-left: -10px; }
.dy-pilule__nom { max-width: 140px; overflow: hidden; text-overflow: ellipsis; }

.dy-header .icon-btn { width: 36px; height: 36px; color: var(--text); }
.dy-header .icon-btn:hover { background: var(--item-hover); }
.dy-header .icon-btn .pip { border-color: var(--chrome); top: 2px; right: 1px; }
.dy-header .timer-chip { height: 36px; }
.dy-header .voip-compose-panel { top: calc(100% + 12px); border-radius: 16px; }
.dy-header .dropdown { top: calc(100% + 12px); border-radius: 16px; box-shadow: 0 24px 60px rgba(0, 0, 0, .14); }
.dy-header .notif-panel { top: calc(100% + 12px); }
.dy-seulement-etroit { display: none !important; }

.dy-burger {
  display: none; place-items: center;
  width: 40px; height: 40px; margin-left: -8px;
  border: 0; border-radius: 999px; background: transparent; color: var(--text); cursor: pointer;
}
.dy-burger:hover { background: var(--item-hover); }
.dy-burger i { display: block; width: 18px; height: 1.5px; background: currentColor; border-radius: 2px; }
.dy-burger i + i { margin-top: 6px; }

@media (max-width: 1279px) { .dy-header__tel { display: none; } }
@media (max-width: 1024px) {
  /* Tablette et téléphone : plus de colonne, le menu plein écran la remplace */
  .dy-cote { display: none; }
  .dy-header { left: 0; }
  .dy-header__ligne { padding-left: var(--gouttiere); gap: 4px; }
  .dy-burger { display: grid; }
  .dy-header__logo { display: flex; margin-left: 2px; }
  .dy-recherche { display: none; }
  .dy-seulement-etroit { display: grid !important; }
}
@media (max-width: 720px) {
  .dy-header__actions { gap: 2px; }
  .dy-header__actions .dy-masque-mobile { display: none !important; }
  .dy-pilule__nom { display: none; }
  .dy-pilule--compte { width: 36px; padding: 0; border: 0; }
  .dy-pilule--compte .avatar { margin: 0; }
  .dy-header .timer-chip.is-compact.running { display: inline-flex !important; padding: 0 10px; }
  .dy-header .timer-chip:not(.running) { display: none; }
}

/* ── 4. Menu mobile : dialogue plein écran, comme le site ── */
.dy-mobile {
  width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0;
  border: 0; background: var(--chrome); color: var(--text);
}
/* Fondu par animation, pas par classe posée en JS : dans un onglet d'arrière-plan
   requestAnimationFrame ne tourne pas, et le menu restait à moitié transparent. */
.dy-mobile[open] { display: flex; flex-direction: column; animation: dy-fondu .28s var(--ease-dycast) both; }
.dy-mobile.is-fermeture { animation: dy-fondu-sortie .2s ease both; }
@keyframes dy-fondu { from { opacity: 0; } to { opacity: 1; } }
@keyframes dy-fondu-sortie { from { opacity: 1; } to { opacity: 0; } }
.dy-mobile::backdrop { background: rgba(0, 0, 0, .5); }
.dy-mobile__barre {
  position: relative; flex-shrink: 0;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); padding-inline: var(--gouttiere);
  border-bottom: 1px solid var(--line);
}
.dy-mobile__barre .dy-header__logo { display: flex; }
.dy-mobile__fermer { position: relative; }
.dy-mobile__fermer i { position: absolute; left: 11px; top: 19px; margin: 0 !important; transform: rotate(45deg); }
.dy-mobile__fermer i + i { transform: rotate(-45deg); }
.dy-mobile__corps { flex: 1; overflow-y: auto; padding: 8px var(--gouttiere) 40px; }
.dy-mobile__recherche {
  display: flex; align-items: center; gap: 10px; width: 100%;
  margin: 12px 0 4px; padding: 0 16px; height: 46px;
  border: 1px solid var(--line); border-radius: 999px; background: transparent;
  font: inherit; font-size: 15px; color: var(--text-muted); cursor: pointer;
}
.dy-mobile__recherche svg { width: 16px; height: 16px; }
.dy-mobile__module { padding: 18px 0 10px; border-bottom: 1px solid var(--line); }
.dy-mobile__module:last-child { border-bottom: 0; }
.dy-mobile__titre {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: -.03em;
  color: var(--text); text-decoration: none; margin-bottom: 8px;
}
.dy-mobile__lien {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 8px; margin-inline: -8px; border-radius: 12px;
  font-size: 15px; color: var(--text); text-decoration: none;
}
.dy-mobile__lien:hover, .dy-mobile__lien[aria-current="page"] { background: var(--item-hover); }
.dy-mobile__lien .dy-ico { color: var(--text-muted); flex-shrink: 0; }
.dy-mobile__lien .dy-badge { margin-left: auto; }
.dy-mobile__lien img { width: 18px; height: 18px; border-radius: 4px; }
body:has(dialog.dy-mobile[open]) { overflow: hidden; }

/* ── 5. Le bloc de page : coins hauts arrondis, posé sur le blanc ── */
.dy-v2 .layout { display: block; min-height: 100vh; }
.dy-v2 .main-content,
.dy-v2 .layout.has-rail-panel .main-content {
  margin: var(--header-h) 0 0 var(--cote-w);
  min-height: calc(100vh - var(--header-h));
  border-radius: var(--rayon-bloc) var(--rayon-bloc) 0 0;
  background: var(--bg);
  overflow: clip;
}
.dy-v2 .page-content {
  width: 100%; max-width: 1600px;   /* width : .main-content est un flex en colonne, les marges auto y annulent l'étirement */
  padding: 28px var(--gouttiere) 56px;
}
@media (max-width: 1024px) {
  .dy-v2 .main-content,
  .dy-v2 .layout.has-rail-panel .main-content { margin-left: 0; }
}
@media (max-width: 720px) {
  .dy-v2 .page-content { padding: 20px var(--gouttiere) calc(var(--bottom-nav-h) + 56px); }
}

/* Onglets de module : les rubriques du module courant, à plat. La colonne les liste déjà ;
   ils ne servent donc que lorsqu'elle est masquée (≤ 1024 px). */
.dy-onglets {
  display: none; align-items: center; gap: 4px;
  width: 100%; max-width: 1600px; margin: 0 auto;
  padding: 18px var(--gouttiere) 0;
  overflow-x: auto; scrollbar-width: none;
}
@media (max-width: 1024px) { .dy-onglets { display: flex; } }
.dy-onglets::-webkit-scrollbar { display: none; }
.dy-onglets__module {
  flex-shrink: 0; margin-right: 10px; padding-right: 14px; border-right: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted);
}
.dy-onglets a {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 7px;
  height: 34px; padding: 0 14px; border-radius: 999px;
  font-size: 13.5px; font-weight: 500; color: var(--text-muted);
  text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.dy-onglets a:hover { background: var(--item-hover); color: var(--text); }
.dy-onglets a.is-actif { background: var(--primary); color: var(--on-primary); }
.dy-onglets a.is-actif .dy-badge { background: var(--on-primary); color: var(--primary); }
.dy-onglets + .page-content { padding-top: 22px; }

/* Le module Infrastructure rendait ses propres onglets : ils viennent du menu désormais */
.dy-v2 .infra-nav { display: none; }
.dy-v2 .infra-sub { margin-top: 0; }

/* En-tête de page : le fil d'Ariane devient le surtitre, le titre passe en display */
.dy-v2 .page-header { margin-bottom: 28px; align-items: flex-end; }
.dy-v2 .page-header-left { gap: 8px; }
.dy-v2 .page-header h1 {
  font-size: clamp(28px, 1.35vw + 18px, 40px);
  font-weight: 600; letter-spacing: -.035em; line-height: 1.04;
  text-wrap: balance;
}
.dy-v2 .page-header .breadcrumb {
  order: -1;
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; gap: 8px;
  color: var(--text-muted);
}
.dy-v2 .breadcrumb a { color: var(--text-muted); }
.dy-v2 .breadcrumb a:hover { color: var(--text); }

/* ── 6. Bandeau d'ouverture de page : le style du site, en clair ── */
.dy-bandeau { margin: 2px 0 34px; }
.dy-bandeau__meta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-bottom: 13px; border-bottom: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; color: var(--text-muted);
}
.dy-bandeau__meta p { display: flex; align-items: center; gap: 10px; min-width: 0; }
.dy-bandeau__meta p:first-child span:first-child { color: var(--text); }
.dy-bandeau__meta .sep { color: var(--text-soft); }
.dy-bandeau__corps {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px 40px; align-items: end;
  padding: 30px 0 28px;
}
.dy-bandeau__corps:has(.dy-bandeau__encart) { grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); }
.dy-bandeau__titre {
  margin: 12px 0 0 -.03em;
  font-family: var(--font-display);
  font-size: clamp(34px, 3.2vw, 54px);
  font-weight: 600; letter-spacing: -.045em; line-height: 1;
  color: var(--text); text-wrap: balance;
}
.dy-bandeau__titre span { display: block; }
.dy-bandeau__titre span + span { color: var(--text-soft); }
.dy-bandeau .dy-lead { margin-top: 16px; }
.dy-bandeau__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.dy-bandeau__fleche { display: inline-block; transition: transform .3s var(--ease-dycast); }
.btn:hover .dy-bandeau__fleche { transform: translateX(4px); }

/* L'encart : une carte blanche, lisible ; en alerte, elle prend le ton d'avertissement */
.dy-bandeau__encart {
  padding: 18px 20px 8px;
  border: 1px solid var(--line); border-radius: 20px; background: var(--surface);
}
.dy-bandeau__encart.is-alerte { border-color: var(--warning); box-shadow: inset 0 3px 0 var(--warning); }
.dy-encart__titre {
  font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px;
}
.dy-bandeau__encart.is-alerte .dy-encart__titre { color: var(--badge-warning-text); }
.dy-encart__ligne {
  display: flex; align-items: center; gap: 12px; padding: 12px 0;
  border-top: 1px solid var(--border);
  color: var(--text); text-decoration: none; font-size: 14px;
}
.dy-encart__ligne:first-of-type { border-top: 0; }
a.dy-encart__ligne:hover { color: var(--text); }
.dy-encart__ligne b { font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dy-encart__ligne small { color: var(--text-muted); font-size: 12.5px; white-space: nowrap; }
.dy-encart__fleche { color: var(--text-soft); transition: transform .3s var(--ease-dycast), color .3s; }
a.dy-encart__ligne:hover .dy-encart__fleche { transform: translateX(4px); color: var(--text); }
.dy-encart__vide { color: var(--text-muted); font-size: 14px; line-height: 1.55; padding: 6px 0 12px; }
.dy-bandeau__reperes { margin-bottom: 0; }
@media (max-width: 900px) {
  .dy-bandeau__corps:has(.dy-bandeau__encart) { grid-template-columns: minmax(0, 1fr); }
  .dy-bandeau__meta p:first-child span:nth-of-type(n+3), .dy-bandeau__meta .sep:nth-of-type(n+2) { display: none; }
}

/* ── 7. Titres de section ──────────────────────────────── */
.dy-section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin: 44px 0 20px;
}
.dy-section-head:first-child { margin-top: 8px; }
.dy-eyebrow {
  font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-muted);
}
.dy-section-head h2 {
  margin-top: 8px;
  font-family: var(--font-display); font-size: clamp(24px, 1.2vw + 14px, 34px); font-weight: 600;
  letter-spacing: -.03em; line-height: 1.08; text-wrap: balance;
}
.dy-lead { margin-top: 10px; max-width: 640px; font-size: 15px; line-height: 1.55; color: var(--text-muted); text-wrap: pretty; }
.dy-section-head__actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ── 8. Composants : ce qui change par rapport à main.css ─ */
/* Cartes : filet, pas d'ombre au repos ; l'ombre n'arrive qu'au survol */
.dy-v2 .card, .dy-v2 .glass-card, .dy-v2 .metric-tile, .dy-v2 .svc-card, .dy-v2 .svc-shell { box-shadow: none; }
.dy-v2 .metric-tile:hover, .dy-v2 .svc-card:hover, .dy-v2 .glass-card-interactive:hover {
  transform: translateY(-4px);
  border-color: var(--text);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .10);
}
.dy-v2 .metric-tile, .dy-v2 .svc-card, .dy-v2 .glass-card-interactive {
  transition: transform .3s var(--ease-dycast), border-color .3s var(--ease-dycast), box-shadow .3s var(--ease-dycast);
}
a.metric-tile { text-decoration: none; color: inherit; }
/* Avec la colonne de 256 px, cinq tuiles de 220 px ne tenaient plus sur une ligne à 1440 px. */
.dy-v2 .metrics-grid { grid-template-columns: repeat(auto-fit, minmax(188px, 1fr)); }
.dy-v2 .card-header h2 { font-size: 15.5px; letter-spacing: -.015em; }
.dy-v2 .metric-tile-label, .dy-v2 thead th {
  font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .12em;
}
.dy-v2 .metric-tile-value { font-size: 32px; letter-spacing: -.04em; }
.dy-v2 .metric-tile-icon { background: var(--bg); }
.dy-bandeau__reperes .metric-tile { min-height: 148px; }
.dy-bandeau__reperes .dy-tile-corps {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  gap: 6px;
}
.dy-bandeau__reperes .metric-tile-trend {
  display: block;
  line-height: 1.35;
  white-space: normal;
}

/* Barre de jauge : une piste, un remplissage. SLA, nœuds. */
.dy-barre {
  display: block;
  height: 5px;
  border-radius: 99px;
  background: var(--bg-deep, #ebecf0);
  overflow: hidden;
}
.dy-barre > i {
  display: block;
  height: 100%;
  width: var(--p, 0%);
  border-radius: inherit;
  background: var(--success);
}
.dy-barre.is-good > i, .dy-barre.ok > i { background: var(--success); }
.dy-barre.is-ok > i, .dy-barre.warn > i { background: var(--warning); }
.dy-barre.is-bad > i, .dy-barre.bad > i { background: var(--danger); }
.dy-barre.muted > i { background: var(--text-muted); width: 0; }

/* Disponibilité : trois colonnes, le % est le chiffre, la barre l’ordre de grandeur. */
.dy-sla {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 10px;
  margin-top: 8px;
}
.dy-sla__col { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.dy-sla__periode {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.dy-sla__pct {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.03em;
  line-height: 1.1;
  white-space: nowrap;
  color: var(--text);
}
.dy-sla__pct.is-good { color: var(--success); }
.dy-sla__pct.is-ok { color: var(--badge-warning-text, #b45309); }
.dy-sla__pct.is-bad { color: var(--danger); }
.dy-sla__pied {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  font-size: 11.5px;
  color: var(--text-muted);
}
.dy-sla__pied.is-alerte { color: var(--danger); font-weight: 600; }
.dy-sla__incident {
  grid-column: 1 / -1;
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.dy-sla__incident-k {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.dy-sla__incident.is-alerte .dy-sla__incident-k { color: var(--danger); }
.dy-sla__incident-corps {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}
.dy-sla__incident-nom {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.dy-sla__incident.is-vide .dy-sla__incident-nom { font-weight: 500; color: var(--text-muted); }
.dy-sla__incident-duree {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.03em;
  color: var(--text);
}
.dy-sla__incident.is-alerte .dy-sla__incident-duree { color: var(--danger); }

/* Nœuds : CPU, RAM, disque, charge — vert / orange / rouge (serverGaugeTone). */
.dy-noeuds {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  margin-top: 6px;
}
.dy-noeuds .dy-sla__pied { grid-column: 1 / -1; }
.dy-noeud { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.dy-noeud__nom {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 2px;
}
.dy-noeud__met {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  gap: 1px 6px;
  align-items: center;
}
.dy-noeud__met .dy-barre { grid-column: 1 / -1; height: 3px; }
.dy-noeud__k {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.dy-noeud__v {
  font-size: 11px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.dy-noeud__v.ok { color: var(--success); }
.dy-noeud__v.warn { color: var(--warning); }
.dy-noeud__v.bad { color: var(--danger); }
.dy-noeud__v.muted { color: var(--text-muted); }
.dy-noeud__etat { margin: 0; font-size: 12px; color: var(--danger); font-weight: 600; }
.dy-noeud.is-down .dy-noeud__nom { color: var(--danger); }

/* Tickets : le délai de 1re réponse a sa propre ligne, pas une note. */
.dy-frt {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.dy-frt__label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.dy-frt__label i {
  font-style: normal;
  color: var(--text-soft);
}
.dy-frt__label i::before { content: "·"; margin: 0 .45em; color: var(--text-soft); }
.dy-frt__valeur {
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.03em;
  line-height: 1;
  white-space: nowrap;
  color: var(--text);
}
.dy-frt.is-ok .dy-frt__valeur { color: var(--badge-warning-text, #b45309); }
.dy-frt.is-bad .dy-frt__valeur { color: var(--danger); }

[data-theme="dark"] .dy-barre { background: rgba(255,255,255,.08); }
.dy-v2 .tk-title, .dy-v2 .svc-section h2 { font-size: 22px; letter-spacing: -.03em; }
.dy-v2 .btn-lg { min-height: 46px; }
.dy-v2 .form-control:focus { border-color: var(--text); box-shadow: none; outline: none; }

@media (max-width: 720px) {
  .dy-v2 .metrics-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .dy-v2 .segmented { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .dy-v2 .segmented::-webkit-scrollbar { display: none; }
  .dy-v2 .segmented > * { flex-shrink: 0; white-space: nowrap; }
  .dy-bandeau__reperes .metric-tile { min-height: 0; }
  .dy-sla { gap: 6px; }
  .dy-sla__pct { font-size: 13px; }
  .dy-frt { flex-direction: column; align-items: flex-start; gap: 4px; }
  .dy-frt__valeur { margin-left: 0; font-size: 16px; }
}

/* ── 9. Pied de page : la barre basse du site ──────────── */
.dy-pied {
  width: 100%; max-width: 1600px; margin: 0 auto;
  padding: 0 var(--gouttiere) 28px;
}
.dy-pied__ligne {
  display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap;
  padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 12px; color: var(--text-muted);
}
.dy-pied__ligne nav { display: flex; gap: 20px; flex-wrap: wrap; }
.dy-pied a { color: var(--text-muted); }
.dy-pied a:hover { color: var(--text); }
.dy-pied__marque { display: inline-flex; align-items: center; gap: 8px; }
.dy-pied__marque .dy-logo { color: var(--text); }
@media (max-width: 720px) { .dy-pied { padding-bottom: calc(var(--bottom-nav-h) + 40px); } }

/* Barre basse mobile : même voile, filet de la charte */
.dy-v2 .bottom-nav { border-color: var(--line); box-shadow: 0 12px 40px rgba(0, 0, 0, .18); border-radius: 999px; padding: 5px 8px; }
.dy-v2 .bottom-nav-item { border-radius: 999px; }

/* ── 10. Cartes produit : les dix univers ──────────────── */
.dy-galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 16px; }
.dy-produit {
  --accent: #ff5c1f;
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  min-height: 380px; padding: 26px 26px 28px;
  border: 1px solid rgba(255, 255, 255, .07); border-radius: 28px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 13%, #15151a) 0%, #0f0f13 100%);
  color: #f5f5f7; text-decoration: none;
  transition: box-shadow .6s var(--ease-dycast), border-color .3s;
}
.dy-produit:hover { color: #f5f5f7; }
.dy-produit__halo {
  position: absolute; inset: -40% -30% auto -30%; height: 70%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 45%, transparent), transparent 70%);
  opacity: .55; transition: opacity .6s var(--ease-dycast), transform .6s var(--ease-dycast);
}
.dy-produit__haut {
  position: relative; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255, 255, 255, .66);
}
.dy-produit__fleche { font-size: 17px; color: var(--accent); transition: transform .3s; }
.dy-produit__possede {
  position: relative; align-self: flex-start; margin-top: 14px;
  padding: 3px 10px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  font-size: 11px; font-weight: 500; color: rgba(255, 255, 255, .85);
}
.dy-produit__nom {
  position: relative; margin-top: auto; padding-top: 40px;
  font-family: var(--font-display); font-size: 30px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1;
}
.dy-produit__service { position: relative; margin: 3px 0 11px; font-size: 15px; font-weight: 500; color: var(--accent); }
.dy-produit--clair .dy-produit__service,
.dy-produit--clair .dy-produit__fleche { color: color-mix(in srgb, var(--accent) 70%, #fff); }
.dy-produit__phrase { position: relative; font-size: 14.5px; line-height: 1.45; color: rgba(255, 255, 255, .8); }
.dy-produit__prix {
  position: relative; display: flex; flex-direction: column; gap: 2px;
  margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .14);
}
.dy-produit__prix strong { font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: -.02em; color: #fff; }
.dy-produit__prix span { font-size: 12.5px; color: rgba(255, 255, 255, .62); }
@media (hover: hover) and (pointer: fine) {
  .dy-produit:hover {
    border-color: color-mix(in srgb, var(--accent) 40%, transparent);
    box-shadow: 0 32px 64px -32px color-mix(in srgb, var(--accent) 60%, transparent);
  }
  .dy-produit:hover .dy-produit__halo { opacity: .9; transform: translateY(6%); }
  .dy-produit:hover .dy-produit__fleche { transform: translateX(4px); }
}
.dy-produit--compact { min-height: 0; padding: 20px 22px 22px; border-radius: 24px; }
.dy-produit--compact .dy-produit__nom { font-size: 22px; padding-top: 22px; }
.dy-produit--compact .dy-produit__service { font-size: 13.5px; margin-bottom: 0; }
.dy-produit--compact .dy-produit__prix { margin-top: 14px; padding-top: 12px; }
.dy-produit--compact .dy-produit__prix strong { font-size: 15.5px; }

/* Service déjà chez le client : même carte, le nom du site à la place du nom de gamme.
   Les liens du pied (visiter, administration) passent au-dessus de la zone cliquable. */
.dy-produit--fiche { cursor: pointer; }
.dy-produit--fiche.is-pause { opacity: .78; }
.dy-produit--fiche .dy-produit__nom { overflow-wrap: anywhere; }
.dy-produit--fiche .dy-produit__prix { z-index: 2; }
.dy-produit--fiche .dy-produit__prix a { color: inherit; }
.dy-produit--fiche .dy-produit__prix a:hover { color: #fff; }

.dy-v2 .svc-group { margin: 0 0 36px; }
.dy-v2 .svc-group:last-child { margin-bottom: 0; }
.dy-v2 .svc-group-title {
  display: flex; align-items: baseline; gap: 10px;
  margin: 0 0 16px; font-family: var(--font-display);
  font-size: 22px; font-weight: 600; letter-spacing: -.03em;
}
.dy-v2 .svc-group-title span { font-size: 14px; font-weight: 500; color: var(--text-muted); }

/* ── 11. Configurateur de commande ─────────────────────── */
.dy-config { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1180px) { .dy-config { grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; } }
.dy-etape { margin-bottom: 36px; }
.dy-etape__num {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent-fort, var(--text-muted));
}
.dy-etape h2 { margin: 6px 0 6px; font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: -.03em; }
.dy-etape__aide { max-width: 660px; margin-bottom: 16px; font-size: 14px; line-height: 1.55; color: var(--text-muted); }

.dy-choix { display: grid; gap: 12px; }
.dy-choix--3 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.dy-choix--2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.dy-option {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  padding: 18px 20px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface);
  cursor: pointer; transition: border-color .3s var(--ease-dycast), box-shadow .3s var(--ease-dycast), transform .3s var(--ease-dycast);
}
.dy-option:hover { border-color: color-mix(in oklab, var(--text) 45%, transparent); }
.dy-option input { position: absolute; opacity: 0; pointer-events: none; }
.dy-option:has(input:checked) { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.dy-option:has(input:focus-visible) { outline: 2px solid var(--text); outline-offset: 3px; }
.dy-option:has(input:disabled) { opacity: .55; cursor: not-allowed; }
.dy-option__tete { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.dy-option__nom { font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.dy-option--ligne .dy-option__nom { font-family: var(--font-sans); font-size: 14.5px; font-weight: 600; letter-spacing: 0; }
.dy-option__prix { font-family: var(--font-display); font-size: 16px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.dy-option__prix small { display: block; font-family: var(--font-sans); font-size: 11.5px; font-weight: 400; color: var(--text-muted); letter-spacing: 0; text-align: right; }
.dy-option__accroche { font-size: 13.5px; line-height: 1.5; color: var(--text-muted); }
.dy-option__pour { font-size: 12px; color: var(--text-soft); }
.dy-option ul { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 5px; }
.dy-option li { position: relative; padding-left: 18px; font-size: 13px; line-height: 1.45; color: var(--text); }
.dy-option li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-fort, var(--text)); }
.dy-option__etiquette {
  align-self: flex-start; padding: 2px 9px; border-radius: 999px;
  background: var(--primary); color: var(--on-primary); font-size: 10.5px; font-weight: 600; letter-spacing: .04em;
}
.dy-option__coche {
  position: absolute; top: 16px; right: 16px; width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid var(--border-strong); display: grid; place-items: center; color: transparent;
  transition: background-color .2s, border-color .2s, color .2s;
}
.dy-option--ligne { flex-direction: row; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; }
.dy-option--ligne .dy-option__coche { position: static; flex-shrink: 0; border-radius: 6px; }
.dy-option--ligne .dy-option__corps { flex: 1; min-width: 0; }
.dy-option:has(input:checked) .dy-option__coche { background: var(--text); border-color: var(--text); color: var(--surface); }
.dy-option__coche svg { width: 12px; height: 12px; }
.dy-option:not(.dy-option--ligne):has(.dy-option__coche) .dy-option__tete { padding-right: 30px; }

/* Récapitulatif : la carte produit du site, collante. C'est une carte, pas un héros :
   le total y est le texte le plus contrasté de la page. */
.dy-recap {
  position: sticky; top: calc(var(--header-h) + 16px);
  padding: 24px; border-radius: 28px; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent, #ff5c1f) 13%, #15151a) 0%, #0f0f13 100%);
  border: 1px solid rgba(255, 255, 255, .07); color: #f5f5f7;
}
.dy-recap .dy-produit__halo { z-index: -1; }
.dy-recap__haut { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .66); }
.dy-recap__nom { margin-top: 10px; font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.dy-recap__service { font-size: 14px; font-weight: 500; color: var(--accent-clair, var(--accent)); }
.dy-recap__lignes { margin: 18px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .14); }
.dy-recap__lignes li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .09); font-size: 13px; }
.dy-recap__lignes li span:last-child { white-space: nowrap; color: rgba(255, 255, 255, .8); font-variant-numeric: tabular-nums; }
.dy-recap__lignes li.is-comprise span:last-child { color: rgba(255, 255, 255, .5); }
.dy-recap__total { margin-top: 16px; }
.dy-recap__total strong { display: block; font-family: var(--font-display); font-size: 32px; font-weight: 600; letter-spacing: -.04em; line-height: 1.05; }
.dy-recap__total span { display: block; margin-top: 4px; font-size: 12.5px; color: rgba(255, 255, 255, .62); }
.dy-recap__cadrage { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .06); font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .85); }
.dy-recap__note { margin-top: 12px; font-size: 11.5px; line-height: 1.5; color: rgba(255, 255, 255, .5); }
@media (max-width: 1179px) { .dy-recap { position: static; } }

/* Bouton plein sur carte sombre (récapitulatif) */
.dy-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 42px; padding-inline: 18px; border-radius: 999px;
  font-family: inherit; font-size: 13.5px; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform .3s var(--ease-dycast), background-color .3s, border-color .3s;
}
.dy-cta:active { transform: scale(.98); }
.dy-cta--plein { border: 1px solid #f5f5f7; background: #fff; color: #101011; }
.dy-cta--plein:hover { color: #101011; }
.dy-cta--plein span { transition: transform .3s var(--ease-dycast); }
.dy-cta--plein:hover span { transform: translateX(4px); }
.dy-cta[disabled] { opacity: .5; cursor: not-allowed; }
.dy-recap .dy-cta { width: 100%; margin-top: 18px; }

/* Suivi d'une commande : étapes */
.dy-suivi { display: flex; gap: 6px; margin: 10px 0 4px; }
.dy-suivi i { flex: 1; height: 5px; border-radius: 999px; background: var(--border); }
.dy-suivi i.is-fait { background: var(--text); }
.dy-suivi--annulee i.is-fait { background: var(--danger); }

/* ── 12. Pages hors session (connexion, lien magique, mot de passe) ──
   Le gabarit des pages ne change pas : charteAuthScene() pose un volet juste
   après <body>, et c'est sa présence qui déclenche les deux colonnes. Volet
   clair, même grammaire que le bandeau — pas le héros sombre du site. */
body:has(> .dy-auth) { background: var(--chrome); }
body:has(> .dy-auth) .ambient-bg { display: none; }
@media (min-width: 980px) {
  body:has(> .dy-auth) {
    display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(440px, .92fr);
    min-height: 100vh;
  }
}
.dy-auth {
  position: relative; isolation: isolate; overflow: hidden; display: none;
  margin: 12px 0 12px 12px; border-radius: 32px;
  background: var(--bg); color: var(--text);
}
@media (min-width: 980px) {
  .dy-auth { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 40px 44px 0; }
}
.dy-auth__grille {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to right,  color-mix(in oklab, var(--text) 5%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in oklab, var(--text) 5%, transparent) 1px, transparent 1px);
  background-size: 96px 96px;
}
.dy-auth__logo { display: inline-flex; color: var(--text); }
.dy-auth__meta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: 28px; padding-block: 13px; border-block: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted);
}
.dy-auth__meta b { font-weight: 600; color: var(--text); }
.dy-auth__surtitre {
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted);
}
.dy-auth__surtitre::before { content: ""; width: 42px; height: 1px; background: currentColor; }
.dy-auth__titre {
  margin-left: -.04em;
  font-family: var(--font-display); font-size: clamp(44px, 4.6vw, 80px);
  font-weight: 600; letter-spacing: -.055em; line-height: .94; color: var(--text);
}
.dy-auth__titre span { display: block; }
.dy-auth__titre span + span { color: var(--text-soft); }
.dy-auth__accroche { max-width: 600px; margin-top: 22px; font-size: 15.5px; line-height: 1.55; color: var(--text-muted); text-wrap: pretty; }
.dy-auth__reperes {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 -44px; padding-inline: 44px; border-top: 1px solid var(--line);
}
.dy-auth__reperes > div { padding: 16px clamp(14px, 1.6vw, 26px) 20px; border-right: 1px solid var(--line); }
.dy-auth__reperes > div:first-child { padding-left: 0; }
.dy-auth__reperes > div:last-child { border-right: 0; }
.dy-auth__reperes dt {
  font-family: var(--font-mono); font-size: 9.5px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-muted);
}
.dy-auth__reperes dd { margin-top: 6px; font-size: 13.5px; font-weight: 600; line-height: 1.3; }

body:has(> .dy-auth) .auth-page,
body:has(> .dy-auth) .login-page { min-height: 100vh; background: transparent; padding: 32px 20px; }
body:has(> .dy-auth) .auth-card { max-width: 400px; border: 0; box-shadow: none; background: transparent; border-radius: 0; overflow: visible; }
body:has(> .dy-auth) .auth-card-backdrop { display: none; }
body:has(> .dy-auth) .auth-card-inner { padding: 0; }
body:has(> .dy-auth) .auth-logo { text-align: left; margin-bottom: 26px; }
body:has(> .dy-auth) .auth-logo h1 { font-size: 36px; letter-spacing: -.045em; line-height: 1.02; }
body:has(> .dy-auth) .auth-logo p { font-size: 14.5px; margin-top: 8px; }
body:has(> .dy-auth) .auth-logo-img { margin: 0 0 22px; padding: 14px 20px; border-radius: 14px; box-shadow: none; background: #101011; }
body:has(> .dy-auth) .auth-logo-img img { height: 24px; }
@media (min-width: 980px) {
  /* À droite du volet, le logotype y est déjà : la plaque noire n'a plus d'objet. */
  body:has(> .dy-auth) .auth-logo-img { display: none; }
}
body:has(> .dy-auth) .form-control { min-height: 46px; border-radius: 12px; font-size: 15px; }
body:has(> .dy-auth) .btn-lg { min-height: 48px; font-size: 14.5px; }

/* ── 13. Mouvement, impression ─────────────────────────── */
@keyframes dy-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
.dy-rise { animation: dy-rise .75s var(--ease-dycast) both; }
@media (prefers-reduced-motion: reduce) {
  .dy-v2 *, .dy-auth * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media print {
  .dy-header, .dy-cote, .dy-onglets, .dy-pied, .dy-mobile { display: none !important; }
  .dy-v2 .main-content { margin: 0 !important; border-radius: 0; }
}
