/* Trust Co. — correctifs urgents unification (15 nov 2026)
   Chargé en dernier sur TOUTES les plateformes (site principal, Scan, Academy, Boost)
   pour garantir un rendu identique de l'entête/pied, quel que soit le CSS déjà
   chargé par la plateforme d'origine. Règles volontairement ciblées et peu
   nombreuses : on corrige, on ne réécrit pas les feuilles de style existantes. */

/* 1) « Trust Co. » mal écrit sur Scan / Academy / Boost : le "Co." perdait sa
   police/graisse d'origine faute de charger studio.css. On réapplique la
   règle canonique du site principal partout. */
html body .tc-co,
html body .entete .marque-nom .tc-co,
html body .tc .mq b .tc-co,
html body .tc .geant .tc-co{
  font-family:'Poppins',system-ui,sans-serif!important;
  font-weight:400!important;
  font-style:normal!important;
}
html body span.tc-co,
html body .entete .marque-nom span.tc-co,
html body .tc .mq span.tc-co{
  display:inline!important;
  font-size:inherit!important;
  line-height:inherit!important;
  letter-spacing:inherit!important;
  border:0!important;
  padding:0!important;
  margin:0!important;
  color:inherit!important;
  background:none!important;
  vertical-align:baseline!important;
  text-transform:none!important;
}
html body .entete .marque .marque-slogan{color:#29A3D1!important;-webkit-text-fill-color:#29A3D1!important}
html[data-theme="dark"] body .entete .marque .marque-slogan{color:#8fc4f2!important;-webkit-text-fill-color:#8fc4f2!important}

/* 2) Logo illisible en mode sombre : deux visuels (clair/sombre), bascule
   purement CSS selon data-theme. Les pages qui n'ont pas encore le second
   <img> (marque-logo--sombre) ne sont pas affectées (règle sans effet). */
.marque-logo--sombre{display:none}
html[data-theme="dark"] .marque-logo--clair{display:none}
html[data-theme="dark"] .marque-logo--sombre{display:inline-block}

/* 3) Widget « Mon Espace » décalé dans l'entête : on force un alignement
   vertical centré, quelle que soit la règle (stretch, etc.) héritée de la
   plateforme. */
html body #entete .conteneur,
html body .entete .conteneur{align-items:center!important}
html body .cpt,
html body .cpt.cpt-compte{display:flex;align-items:center;gap:6px;padding:0;border-radius:0;font-size:inherit;font-weight:inherit;align-self:center!important;margin:0 2px 0 0!important}
html body .cpt .cpt-btn{margin:0!important;vertical-align:middle!important}
@media (max-width:520px){
  html body header.entete .conteneur>.cpt,
  html body header.entete .conteneur>.tia-signe-w{display:none!important}
  html body header.entete .marque{flex-shrink:0!important;min-width:max-content!important;margin-right:auto!important}
}

/* 4) Cartes « Explorez l'Univers Trust Co. » (accueil) : passage à un style
   premium cohérent avec la section « Quatre métiers », conservant 4 cartes
   sur une seule ligne en desktop et 1 par ligne en mobile. */
#univers .grille--4{grid-template-columns:repeat(4,1fr)!important}
@media (max-width:900px){#univers .grille--4{grid-template-columns:1fr!important}}
#univers .carte{
  position:relative;
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:28px 24px 26px;
  border-radius:18px;
  background:#fff;
  border:1px solid #e6edf4;
  box-shadow:0 18px 40px -28px rgba(15,29,46,.35);
  text-decoration:none!important;
  color:inherit;
  overflow:hidden;
  transition:transform .22s,box-shadow .22s,border-color .22s;
}
html[data-theme="dark"] #univers .carte{background:#16222d;border-color:#2a3b4a;box-shadow:0 18px 40px -28px rgba(0,0,0,.6)}
#univers .carte::before{
  content:"";position:absolute;top:0;left:0;right:0;height:3px;
  background:linear-gradient(90deg,var(--ac,#164B86),rgba(41,163,209,.4));
}
#univers .carte:nth-child(1){--ac:#1e63b5}
#univers .carte:nth-child(2){--ac:#0f9fd0}
#univers .carte:nth-child(3){--ac:#e0832a}
#univers .carte:nth-child(4){--ac:#12a594}
#univers .carte:hover{transform:translateY(-4px);box-shadow:0 26px 54px -30px rgba(15,29,46,.45);border-color:rgba(41,163,209,.4)}
#univers .carte-icone{
  display:grid;place-items:center;width:46px;height:46px;border-radius:13px;
  background:color-mix(in srgb, var(--ac,#164B86) 14%, transparent);
  color:var(--ac,#164B86);
  flex:none;
}
html[data-theme="dark"] #univers .carte-icone{background:color-mix(in srgb, var(--ac,#164B86) 28%, transparent)}
#univers .carte h3{margin:4px 0 0;font-size:1.05rem;line-height:1.3}
#univers .carte p{margin:0;font-size:.88rem;line-height:1.45;color:#5b6b7c;flex:1}
html[data-theme="dark"] #univers .carte p{color:#a9bccb}
#univers .carte::after{
  content:"En savoir plus →";
  margin-top:6px;font-size:.84rem;font-weight:600;color:var(--ac,#164B86);
}
html[data-theme="dark"] #univers .carte::after{color:#8fd3f0}

/* 5) Logo « Trust Co. / Juste la Tech ! » animé au chargement : cette
   respiration/entrée n'existait que sur le site principal. On la rend
   disponible partout (Scan, Academy, Boost, fiches produits) — la classe
   .logo-intro est désormais ajoutée sur ces pages aussi via le même script. */
@keyframes tco-logo-entree{0%{opacity:0;transform:scale(.6)}60%{opacity:1;transform:scale(1.1)}100%{opacity:1;transform:scale(1)}}
@keyframes tco-logo-respire{0%,100%{filter:drop-shadow(0 0 0 rgba(41,163,209,0))}50%{filter:drop-shadow(0 0 9px rgba(41,163,209,.6))}}
.entete .marque img,.entete .marque .marque-logo{transform-origin:50% 50%;animation:tco-logo-respire 4s ease-in-out 1s infinite}
.logo-intro .entete .marque img,.logo-intro .entete .marque .marque-logo{animation:tco-logo-entree .9s cubic-bezier(.2,.9,.3,1.2) backwards,tco-logo-respire 4s ease-in-out 1.5s infinite}

/* 6) « Juste la Tech ! » — calé sur l'échelle typographique de la bannière (15/11/2026).
   Échelle au nombre d'or (×1,618) à partir du texte courant (~18 px) :
   18 → 29 (chiffres des repères, déjà en place) → 47 (titre mobile) → 76-83 (titre ordinateur).
   Sur ordinateur, la largeur du titre s'aligne sur celle de la rangée des repères
   (même justification de colonne) ; sur mobile, il occupe ~90 % de la colonne.
   Interlettrage resserré (-0,03em) : règle des grands corps de titrage. */
html body #accueil .titre-anime{
  font-size:clamp(2.9rem,5.6vw,5.2rem)!important;
  line-height:1!important;
  letter-spacing:-.03em!important;
  font-weight:800!important;
  margin-top:16px!important;
  white-space:nowrap;
}
@media (max-width:820px){
  html body #accueil .titre-anime{font-size:clamp(2.5rem,12vw,4rem)!important;letter-spacing:-.025em!important;margin-top:12px!important}
}

/* 7) Logo d'entête trop petit : le visuel du bouclier avait beaucoup de
   marge interne (régénéré en recadrage serré) + agrandissement raisonnable
   dans l'entête, sur toutes les plateformes. */
html body .entete .marque img,
html body .entete .marque .marque-logo{width:46px!important;height:46px!important}
@media (max-width:480px){
  html body .entete .marque img,
  html body .entete .marque .marque-logo{width:38px!important;height:38px!important}
}

/* 8) « Mon Espace » — design premium (pilule pleine, dégradé Bleu Royal,
   texte blanc, légère élévation), au lieu du simple survol pâle d'origine. */
html body .cpt .cpt-btn{
  background:linear-gradient(135deg,#164B86,#1c63b5)!important;
  color:#fff!important;
  box-shadow:0 6px 16px -6px rgba(16,53,97,.55)!important;
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease!important;
}
html body .cpt .cpt-btn:hover,
html body .cpt.cpt--ouvert .cpt-btn{
  background:linear-gradient(135deg,#1c63b5,#29A3D1)!important;
  color:#fff!important;
  transform:translateY(-1px);
  box-shadow:0 10px 22px -8px rgba(16,53,97,.65)!important;
}
html body .cpt .cpt-btn svg{stroke:#fff!important}
html body .cpt-btn::after{border-color:#164B86!important}
@media (min-width:1080px){
  /* Bug trouvé lors de l'audit du 15/11 : le bouton garde display:grid hérité
     de la règle de base, qui empile l'icône et le texte « Mon Espace » l'un
     au-dessus de l'autre au lieu de les mettre côte à côte — le texte déborde
     alors du bas de la pilule. Présent sur TOUTES les pages à partir de 1080px. */
  html body .cpt .cpt-btn{
    display:inline-flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:center!important;
    padding:0 18px 0 12px!important;
    border-radius:999px!important;
  }
  html body .cpt--co .cpt-btn{padding-left:6px!important}
}
html body .cpt--co .cpt-ini{box-shadow:0 0 0 2px rgba(255,255,255,.55)!important}

/* 9) Charte graphique Trust Co. — Ardoise / Bleu Royal / Orange (boutique),
   rappel des teintes officielles pour toute nouvelle règle ajoutée ici. */
:root{
  --tc-ardoise:#16222d;
  --tc-royal:#164B86;
  --tc-royal-clair:#29A3D1;
  --tc-or:#E9AB1C;
}

/* 10) Cartes « Explorez l'Univers Trust Co. » — nouveau modèle premium :
   badge icône coloré, numéro en filigrane, pastilles de services, bouton
   « En savoir plus ». Les 4 cartes tiennent sur une seule ligne dès les
   écrans moyens, avec un accent de couleur propre à chaque pôle. */
html body .uv-ligne{
  display:grid!important;
  grid-template-columns:repeat(4,1fr)!important;
  gap:22px!important;
}
@media (max-width:980px){
  html body .uv-ligne{grid-template-columns:repeat(2,1fr)!important}
}
@media (max-width:620px){
  html body .uv-ligne{grid-template-columns:1fr!important}
}
html body .uv-carte{
  --uv-accent:#164B86;
  position:relative;
  display:flex;
  flex-direction:column;
  gap:14px;
  background:#fff;
  border:1px solid rgba(22,34,45,.08);
  border-radius:16px;
  padding:26px 24px 24px;
  overflow:hidden;
  text-decoration:none;
  color:inherit;
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
html body .uv-carte::before{
  content:'';
  position:absolute;
  top:0;left:0;right:0;
  height:3px;
  background:var(--uv-accent);
}
html body .uv-carte:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 40px -16px rgba(16,34,53,.28);
  border-color:var(--uv-accent);
}
html body .uv-carte--1{--uv-accent:#164B86}
html body .uv-carte--2{--uv-accent:#1c8fae}
html body .uv-carte--3{--uv-accent:#E07A2C}
html body .uv-carte--4{--uv-accent:#7C3AED}
html body .uv-num{
  position:absolute;
  top:10px;right:16px;
  font-size:2.6rem;
  font-weight:800;
  line-height:1;
  color:var(--uv-accent);
  opacity:.12;
  letter-spacing:-.02em;
  pointer-events:none;
}
html body .uv-icone{
  width:48px;height:48px;
  border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  background:color-mix(in srgb, var(--uv-accent) 14%, transparent);
  color:var(--uv-accent);
  flex-shrink:0;
}
html body .uv-carte h3{
  font-size:1.05rem;
  margin:2px 0 0;
  color:var(--text,#161e26);
}
html body .uv-carte p{
  color:var(--text-muted,#6b7684);
  font-size:.92rem;
  margin:0;
  flex:1;
}
html body .uv-tags{
  display:flex;flex-wrap:wrap;gap:6px;
  margin-top:2px;
}
html body .uv-tags em{
  font-style:normal;
  font-size:.72rem;
  font-weight:600;
  padding:4px 10px;
  border-radius:999px;
  color:var(--uv-accent);
  background:color-mix(in srgb, var(--uv-accent) 12%, transparent);
  white-space:nowrap;
}
html body .uv-plus{
  display:inline-flex;align-items:center;gap:6px;
  margin-top:8px;
  font-size:.88rem;
  font-weight:600;
  color:var(--uv-accent);
}
html body .uv-carte:hover .uv-plus svg{transform:translateX(3px)}
html body .uv-plus svg{transition:transform .18s ease}

/* Mode sombre : fond carte ardoise, bordures et texte clairs. Les accents de
   la charte (royal, teal, violet) sont repris en version éclaircie pour le
   TEXTE (numéro, pastilles, bouton), faute de quoi ils tombent sous 2:1 de
   contraste sur un fond déjà sombre — audit du 15/11. La barre du haut et le
   badge icône gardent la couleur d'origine, purement décoratifs. */
html[data-theme="dark"] body .uv-carte{
  background:#1b2834;
  border-color:rgba(255,255,255,.08);
}
html[data-theme="dark"] body .uv-carte h3{color:#fff}
html[data-theme="dark"] body .uv-carte p{color:rgba(255,255,255,.68)}
html[data-theme="dark"] body .uv-carte--1{--uv-accent-texte:#7fb2e8}
html[data-theme="dark"] body .uv-carte--2{--uv-accent-texte:#6fd4ec}
html[data-theme="dark"] body .uv-carte--3{--uv-accent-texte:#f3a861}
html[data-theme="dark"] body .uv-carte--4{--uv-accent-texte:#c7a3fb}
html[data-theme="dark"] body .uv-num{color:var(--uv-accent-texte);opacity:.22}
html[data-theme="dark"] body .uv-tags em{color:var(--uv-accent-texte);background:rgba(255,255,255,.08)}
html[data-theme="dark"] body .uv-plus{color:var(--uv-accent-texte)}

/* 11) Bannière vidéo de l'accueil — voile cinématique premium (15/11/2026)
   Remplace toutes les variantes de voile empilées dans hero-video.css, ardoise.css,
   nuit-bleu.css, nuit-w11.css, accueil-bleu.css (identique en clair et en sombre :
   la bannière est toujours sombre). Couches, de haut en bas :
   1. fondu bas vers la page   2. fondu haut sous l'en-tête
   3. voile directionnel côté texte (gauche), qui s'ouvre vers le visuel (droite)
   4. vignettage doux          5. halo Bleu Trust très léger derrière le bouclier
   + grain filmique fin (::after) et étalonnage discret de la vidéo (ordinateur). */
html:not(#v1):not(#v2):not(#v3):not(#v4):not(#v5):not(#v6) body #accueil.hero .hv .hv-voile{
  background:
    linear-gradient(0deg,rgba(16,24,32,.92) 0%,rgba(16,24,32,.55) 9%,rgba(16,24,32,0) 26%),
    linear-gradient(180deg,rgba(16,24,32,.6) 0%,rgba(16,24,32,0) 20%),
    linear-gradient(90deg,rgba(16,24,32,.95) 0%,rgba(18,27,36,.9) 24%,rgba(20,30,40,.72) 40%,rgba(22,33,44,.38) 58%,rgba(22,33,44,.14) 78%,rgba(22,33,44,.08) 100%),
    radial-gradient(130% 95% at 72% 42%,rgba(16,24,32,0) 45%,rgba(16,24,32,.5) 100%),
    radial-gradient(34% 40% at 86% 80%,rgba(16,24,32,.78),rgba(16,24,32,.4) 55%,rgba(16,24,32,0) 100%),
    radial-gradient(42% 55% at 66% 40%,rgba(41,163,209,.12),rgba(41,163,209,0) 70%)
    !important;
}
html:not(#v1):not(#v2):not(#v3):not(#v4):not(#v5):not(#v6) body #accueil.hero .hv .hv-voile::after{
  content:"";position:absolute;inset:0;pointer-events:none;opacity:.07;mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
/* étalonnage : un peu moins saturé, plus de profondeur — ordinateur seulement (mobile : aucun filtre, fluidité) */
html body #accueil.hero:not(.hv-leger) .hv video{filter:saturate(.86) contrast(1.06) brightness(.94)}
/* lisibilité : ombre portée douce sur les textes de la bannière */
html body #accueil.hero .hero-texte .titre-anime,html body #accueil.hero .hero-texte h1.hero-h1,html body #accueil.hero .hero-rotatif{text-shadow:0 2px 24px rgba(10,16,22,.45)}
/* Mobile / tablette : le texte occupe toute la largeur → voile vertical plus couvrant */
@media (max-width:820px){
  html:not(#v1):not(#v2):not(#v3):not(#v4):not(#v5):not(#v6) body #accueil.hero .hv .hv-voile{
    background:
      linear-gradient(180deg,rgba(16,24,32,.82) 0%,rgba(18,27,36,.7) 38%,rgba(20,30,40,.74) 70%,rgba(16,24,32,.94) 100%),
      radial-gradient(70% 45% at 70% 35%,rgba(41,163,209,.1),rgba(41,163,209,0) 70%)
      !important;
  }
}
/* repli image fixe (mouvement réduit, connexion lente) : même traitement */
html:not(#v1):not(#v2):not(#v3):not(#v4):not(#v5):not(#v6) body #accueil.hero.hv-statique{
  background:
    linear-gradient(0deg,rgba(16,24,32,.92) 0%,rgba(16,24,32,0) 26%),
    linear-gradient(90deg,rgba(16,24,32,.95) 0%,rgba(20,30,40,.72) 40%,rgba(22,33,44,.2) 75%,rgba(22,33,44,.08) 100%),
    url(hero-statique.jpg?v=3) 62% 30%/cover no-repeat,#141c25
    !important;
}
@media (max-width:820px){
  html:not(#v1):not(#v2):not(#v3):not(#v4):not(#v5):not(#v6) body #accueil.hero.hv-statique{
    background:linear-gradient(180deg,rgba(16,24,32,.84),rgba(20,30,40,.74) 55%,rgba(16,24,32,.94)),url(hero-statique.jpg?v=3) 70% 30%/cover no-repeat,#141c25!important;
  }
}

/* 12) Section « Explorez l'Univers Trust Co. » (modèle 01-04 restauré, 15/11/2026)
   En-tête centré et imposant, aligné sur l'échelle du hero (titre de section ≈ 0,7 × titre hero).
   Les numéros 01-04 restent en filigrane dans l'angle, sans jamais passer sous le texte. */
html body.page-accueil #services .svc-entete{max-width:860px!important;margin:0 auto 56px!important;text-align:center!important;display:flex;flex-direction:column;align-items:center}
html body.page-accueil #services .svc-entete .surtitre{margin:0 auto 18px!important}
html body.page-accueil #services .svc-entete h2{font-size:clamp(2.3rem,4.4vw,3.75rem)!important;line-height:1.08!important;letter-spacing:-.03em!important;font-weight:800!important;margin:0 0 22px!important;padding-bottom:22px!important;text-align:center!important;text-wrap:balance}
html body.page-accueil #services .svc-entete h2::after{left:50%!important;transform:translateX(-50%)!important;width:96px!important;height:4px!important;border-radius:4px}
html body.page-accueil #services .svc-entete p{max-width:640px!important;margin:0 auto!important;font-size:1.08rem!important;line-height:1.7!important;text-align:center!important;text-wrap:pretty}
html body.page-accueil #services .carte{padding-right:120px!important}
html body.page-accueil #services .svc-num{font-size:4.4rem!important;top:14px!important;right:24px!important;line-height:1!important;opacity:.12!important;pointer-events:none}
html[data-theme="dark"] body.page-accueil #services .svc-num{opacity:.22!important}
@media (max-width:1100px){html body.page-accueil #services .carte{padding-right:34px!important}html body.page-accueil #services .svc-num{font-size:3.4rem!important}html body.page-accueil #services .carte h3{padding-right:70px}}
@media (max-width:820px){html body.page-accueil #services .svc-entete{margin-bottom:36px!important}html body.page-accueil #services .carte{padding:26px 22px 24px!important}}

/* 13) Pied de page commun — Trust Scan déclare une classe utilitaire « .tc » (max-width:1100px)
   qui entre en collision avec le pied de page <footer class="tc"> : il était coupé à 1100 px. */
html body footer.tc{max-width:none!important;width:100%!important;margin-left:0!important;margin-right:0!important}
html body footer.tc .mq b{white-space:nowrap}

/* 14) Trust Scan — accueil (/scan/ et /scan/en/) : la bannière est conçue sombre (textes blancs),
   mais la règle générique « .hero » du site principal (thème clair) lui imposait un fond blanc :
   titre, sous-titre, onglets et champ devenaient quasi invisibles. Fond d'origine rétabli, clair comme sombre. */
html:not(#s1):not(#s2):not(#s3) body section.hero#analyse{background:linear-gradient(135deg,#061a31 0%,#08223f 55%,#0b2a4d 100%)!important;color:#fff!important}
html:not(#s1):not(#s2):not(#s3) body section.hero#analyse .ts-h1{color:#fff!important;-webkit-text-fill-color:#fff!important}
html:not(#s1):not(#s2):not(#s3) body section.hero#analyse .ts-h1 .acc{color:#8fc4f2!important;-webkit-text-fill-color:#8fc4f2!important}
html:not(#s1):not(#s2):not(#s3) body section.hero#analyse .hero-visuel{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important}
/* Bandeau de chiffres sous la bannière Scan : la classe « .bande-in » du site principal le passait
   en flex sans carte. Design d'origine : carte flottante, colonnes égales, compteurs vides retirés. */
html:not(#s1):not(#s2):not(#s3) body #analyse ~ .bande{background:transparent!important;margin-top:-54px!important;position:relative!important;z-index:3!important;padding:0!important}
html:not(#s1):not(#s2):not(#s3) body #analyse ~ .bande .bande-in{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;width:auto!important;max-width:min(1180px,calc(100% - 48px))!important;margin:0 auto!important;padding:6px 14px!important;background:#fff!important;border:1px solid #dfe7ef!important;border-radius:18px!important;box-shadow:0 22px 50px rgba(14,58,105,.18)!important}
html:not(#s1):not(#s2):not(#s3) body #analyse ~ .bande .bande-it{display:flex!important;width:auto!important;align-items:center!important;gap:14px!important;padding:20px 18px!important;border-right:1px solid #e6edf4!important;border-bottom:0!important}
html:not(#s1):not(#s2):not(#s3) body #analyse ~ .bande .bande-it.stat-slot:not(.stat-on){display:none!important}
html:not(#s1):not(#s2):not(#s3) body #analyse ~ .bande .bande-it:nth-child(4n of :not(.stat-slot:not(.stat-on))),
html:not(#s1):not(#s2):not(#s3) body #analyse ~ .bande .bande-it:last-child{border-right:0!important}
html:not(#s1):not(#s2):not(#s3) body #analyse ~ .bande .bande-it span{white-space:normal}
html[data-theme="dark"]:not(#s1):not(#s2):not(#s3) body #analyse ~ .bande .bande-in{background:#16222d!important;border-color:#2a3b4a!important;box-shadow:0 22px 50px rgba(0,0,0,.35)!important}
html[data-theme="dark"]:not(#s1):not(#s2):not(#s3) body #analyse ~ .bande .bande-it{border-right-color:#2a3b4a!important}
@media (max-width:820px){
  html:not(#s1):not(#s2):not(#s3) body #analyse ~ .bande .bande-in{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:calc(100% - 28px)!important}
  html:not(#s1):not(#s2):not(#s3) body #analyse ~ .bande .bande-it{padding:14px 10px!important;border-right:0!important}
  html:not(#s1):not(#s2):not(#s3) body #analyse ~ .bande .bande-it:nth-child(odd of :not(.stat-slot:not(.stat-on))){border-right:1px solid #e6edf4!important}
}
html:not(#s1):not(#s2):not(#s3) body #analyse ~ .bande{display:block!important;z-index:6!important}
/* Étapes « Comment ça marche » (Scan) : la règle « .carte » du site principal les mettait en ligne
   (titre écrasé dans une colonne étroite, débordement sur mobile) → pictogramme, titre puis texte, empilés. */
html:not(#s1):not(#s2):not(#s3) body .carte.etape{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:12px!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
html:not(#s1):not(#s2):not(#s3) body .carte.etape>*{margin:0!important;max-width:100%!important;width:auto!important;flex:none!important}
html:not(#s1):not(#s2):not(#s3) body .carte.etape .n{display:flex!important;align-items:center!important;gap:10px!important}
html:not(#s1):not(#s2):not(#s3) body .carte.etape h3{font-size:1.15rem!important;line-height:1.3!important}

/* 15) Marque de l'en-tête identique sur toutes les plateformes (Scan, Boost, Academy alignés sur l'accueil) :
   logo à gauche, « Trust Co. » puis « Juste la Tech ! » dessous. Avant, sur les sous-sites, le slogan se
   plaçait à côté du nom et se cassait mot par mot sur mobile. */
html:not(#m1):not(#m2):not(#m3) body header.entete .marque{display:grid!important;grid-template-columns:46px auto!important;grid-template-rows:auto auto!important;column-gap:12px!important;row-gap:0!important;align-items:center!important;align-content:center!important;width:auto!important}
html:not(#m1):not(#m2):not(#m3) body header.entete .marque>img{grid-column:1!important;grid-row:1 / 3!important;width:46px!important;height:auto!important;max-width:none!important}
html:not(#m1):not(#m2):not(#m3) body header.entete .marque .marque-nom{grid-column:2!important;grid-row:1!important;align-self:end!important;white-space:nowrap!important}
html:not(#m1):not(#m2):not(#m3) body header.entete .marque .marque-slogan{grid-column:2!important;grid-row:2!important;align-self:start!important;position:relative!important;left:auto!important;top:auto!important;width:auto!important;margin:0!important;padding:2px 0 0 10px!important;font-size:9.6px!important;line-height:1.35!important;white-space:nowrap!important;writing-mode:horizontal-tb!important}
@media (min-width:1600px){html:not(#m1):not(#m2):not(#m3) body header.entete .marque .marque-slogan{font-size:10.5px!important}}
@media (max-width:480px){
  html:not(#m1):not(#m2):not(#m3) body header.entete .marque{grid-template-columns:32px auto!important;column-gap:8px!important}
  html:not(#m1):not(#m2):not(#m3) body header.entete .marque>img{width:32px!important}
  html:not(#m1):not(#m2):not(#m3) body header.entete .marque .marque-slogan{font-size:8.96px!important}
}
/* icône panier écrasée à 5 px sur Trust Scan (max-width:100% hérité de son CSS) */
html:not(#m1):not(#m2):not(#m3) body header.entete .panier-btn svg{width:19px!important;height:19px!important;max-width:none!important;flex:none!important}
/* Boost (classe « sur-sombre ») écrivait la marque en blanc sur l'en-tête blanc du thème clair */
html:not([data-theme="dark"]):not(#m1):not(#m2):not(#m3) body header.entete .marque-nom b,
html:not([data-theme="dark"]):not(#m1):not(#m2):not(#m3) body header.entete .marque-nom .tc-co{color:#314256!important;-webkit-text-fill-color:#314256!important;text-shadow:none!important}
html[data-theme="dark"]:not(#m1):not(#m2):not(#m3) body header.entete .marque-nom b,
html[data-theme="dark"]:not(#m1):not(#m2):not(#m3) body header.entete .marque-nom .tc-co{color:#fff!important;-webkit-text-fill-color:#fff!important;text-shadow:none!important}

/* 16) Les 4 activités sur UNE ligne sur ordinateur (≥ 1100 px) : carte verticale
   (pictogramme, titre, texte, étiquettes, bouton) ; étiquettes et boutons alignés en bas des 4 cartes.
   Entre 821 et 1099 px : 2 × 2 (cartes horizontales) ; mobile : 1 colonne. */
@media (min-width:1100px){
  html body.page-accueil #services .grille.grille--4{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:22px!important;align-items:stretch!important}
  html body.page-accueil #services .carte{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"ic" "ti" "tx" "ls" "pl"!important;grid-template-rows:auto auto 1fr auto auto!important;padding:30px 26px 28px!important;row-gap:0!important}
  html body.page-accueil #services .carte .carte-icone{margin:0 0 22px!important;justify-self:start!important}
  html body.page-accueil #services .carte h3{margin:0 0 10px!important;padding-right:56px!important;font-size:1.18rem!important;line-height:1.3!important}
  html body.page-accueil #services .carte>p{margin:0 0 20px!important}
  html body.page-accueil #services .carte ul{margin:0 0 22px!important;align-self:end!important}
  html body.page-accueil #services .carte .carte-plus{justify-self:start!important;align-self:end!important}
  html body.page-accueil #services .svc-num{font-size:3.6rem!important;top:16px!important;right:20px!important}
}
@media (min-width:1100px) and (max-width:1365px){
  html body.page-accueil #services .carte{padding:26px 20px 24px!important}
  html body.page-accueil #services .carte h3{font-size:1.08rem!important}
}
@media (min-width:1100px){
  html body.page-accueil #services .carte{grid-template-rows:auto auto auto 1fr auto!important}
  html body.page-accueil #services .carte ul{align-self:start!important;margin-bottom:24px!important}
  html body.page-accueil #services .carte h3{text-wrap:balance}
}

/* 17 · Cartes « Nos univers » entièrement cliquables (15/11/2026) */
html body #services .grille--4>.carte{position:relative!important;cursor:pointer}
html body #services .grille--4>.carte .carte-plus::after{content:"";position:absolute;inset:0;z-index:2;border-radius:inherit}
html body #services .grille--4>.carte:hover{transform:translateY(-4px);box-shadow:0 22px 44px -26px rgba(15,29,46,.45)}
html body #services .grille--4>.carte:focus-within{outline:2px solid var(--ac,#29A3D1);outline-offset:3px}
html body #services .grille--4>.carte .carte-plus{position:static!important}
html body #services .grille--4>.carte>*:not(.carte-plus){position:relative;z-index:1;pointer-events:none}
html body #services .grille--4>.carte .carte-plus,html body #services .grille--4>.carte:hover .carte-plus{transform:none!important;filter:none!important}

/* 18 · Rubrique en cours dans le menu principal (15/11/2026) */
@media (min-width:1101px){
  html body #nav .nv>.nv-i.nv-courant:not(.nv-i--shop)>.nv-l{color:var(--tc-bleu,#164B86)!important;font-weight:700!important;position:relative}
  html body #nav .nv>.nv-i.nv-courant:not(.nv-i--shop)>.nv-l::after{content:"";position:absolute;left:8px;right:8px;bottom:-3px;height:2.5px;border-radius:2px;background:linear-gradient(90deg,#164B86,#29A3D1);display:block!important;opacity:1!important;transform:none!important}
  html[data-theme="dark"] body #nav .nv>.nv-i.nv-courant:not(.nv-i--shop)>.nv-l{color:#8fd3f0!important}
  html body #nav .nv>.nv-i--shop.nv-courant>.nv-l{box-shadow:0 0 0 2px #fff,0 0 0 4px #E9AB1C!important}
  html[data-theme="dark"] body #nav .nv>.nv-i--shop.nv-courant>.nv-l{box-shadow:0 0 0 2px #0f1820,0 0 0 4px #E9AB1C!important}
}
@media (max-width:1100px){
  html body #nav .nv>.nv-i.nv-courant>.nv-l{color:var(--tc-bleu,#164B86)!important;font-weight:700!important;box-shadow:inset 3px 0 0 #29A3D1!important;background:rgba(41,163,209,.08)!important}
  html[data-theme="dark"] body #nav .nv>.nv-i.nv-courant>.nv-l{color:#8fd3f0!important}
}

/* 19 · En-têtes des pages Cybersécurité : image extraite de la vidéo hero, voile ardoise et lignes de code (15/11/2026) */
html body section.hero.hero--cyber:not(#x1):not(#x2){position:relative;isolation:isolate;overflow:hidden;color:#fff!important;background:#0b1520 url(/assets/entete-cyber.webp) 72% center/cover no-repeat!important;border-bottom:0!important}
html body section.hero.hero--cyber.hero--cyber-code:not(#x1):not(#x2){background-image:url(/assets/entete-cyber-code.webp)!important;background-position:center!important}
html body section.hero.hero--cyber:not(#x1)::before{content:""!important;position:absolute!important;inset:0!important;z-index:-1!important;display:block!important;opacity:1!important;background:linear-gradient(90deg,rgba(9,17,27,.95) 0%,rgba(14,26,38,.88) 38%,rgba(20,36,52,.55) 68%,rgba(20,36,52,.25) 100%),linear-gradient(0deg,rgba(9,17,27,.55),transparent 40%)!important;transform:none!important;animation:none!important}
html body section.hero.hero--cyber:not(#x1)::after{content:""!important;position:absolute!important;inset:0!important;z-index:-1!important;display:block!important;background-image:repeating-linear-gradient(0deg,rgba(255,255,255,.035) 0 1px,transparent 1px 3px)!important;opacity:1!important;animation:none!important;transform:none!important}
html:root body section.hero.hero--cyber:not(#y1):not(#y2):not(#y3):not(#y4) .hero-page-icone,html:root body section.hero.hero--cyber:not(#y1):not(#y2):not(#y3):not(#y4) .hero-icone{visibility:hidden}
html:root body section.hero.hero--cyber:not(#y1):not(#y2):not(#y3):not(#y4) h1,html:root body section.hero.hero--cyber:not(#y1):not(#y2):not(#y3):not(#y4) h1 *{color:#fff!important;-webkit-text-fill-color:#fff!important;text-shadow:0 2px 24px rgba(0,0,0,.35)}
html:root body section.hero.hero--cyber:not(#y1):not(#y2):not(#y3):not(#y4) h1::after{background:#29A3D1!important}
html:root body section.hero.hero--cyber:not(#y1):not(#y2):not(#y3):not(#y4) .accroche,html:root body section.hero.hero--cyber:not(#y1):not(#y2):not(#y3):not(#y4) h1~p{color:#cfdde8!important}
html:root body section.hero.hero--cyber:not(#y1):not(#y2):not(#y3):not(#y4) .fil{background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.14)!important;color:#b9cbd8!important;backdrop-filter:blur(6px)}
html:root body section.hero.hero--cyber:not(#y1):not(#y2):not(#y3):not(#y4) .fil a{color:#8fd3f0!important}html:root body section.hero.hero--cyber:not(#y1):not(#y2):not(#y3):not(#y4) .fil span{color:#cfdde8!important}
html:root body section.hero.hero--cyber:not(#y1):not(#y2):not(#y3):not(#y4) .btn--secondaire{background:rgba(255,255,255,.06)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:rgba(255,255,255,.55)!important}
html:root body section.hero.hero--cyber:not(#y1):not(#y2):not(#y3):not(#y4) .btn--secondaire:hover{background:rgba(255,255,255,.14)!important}
html:root body section.hero.hero--cyber:not(#y1):not(#y2):not(#y3):not(#y4) .btn--primaire{background:#29A3D1!important;border-color:#29A3D1!important;color:#06202e!important}
@media (max-width:900px){html body section.hero.hero--cyber:not(#x1):not(#x2){background-position:80% center!important}html body section.hero.hero--cyber:not(#x1)::before{background:linear-gradient(180deg,rgba(9,17,27,.86),rgba(9,17,27,.92))!important}}

html:root body section.hero.hero--cyber:not(#y1):not(#y2):not(#y3):not(#y4) h1{background:none!important;-webkit-background-clip:border-box!important;background-clip:border-box!important}
html:root body section.hero.hero--cyber:not(#y1):not(#y2):not(#y3):not(#y4) .hero-meta,html:root body section.hero.hero--cyber:not(#y1):not(#y2):not(#y3):not(#y4) h1~p small{color:#a9bccb!important}

/* 20 · Menu mobile : « Mon Espace » juste au-dessus de « Boutique », panneau aligné (15/11/2026) */
html body #nav .nv>.nv-i--espace{display:none!important}
@media (max-width:1100px){
  html body #nav .nv>.nv-i--espace{display:block!important;margin-top:14px;border:0!important}
  html body #nav .nv>.nv-i--espace>.nv-espace{display:flex!important;align-items:center;justify-content:center;gap:10px;width:100%;min-height:48px;padding:0 18px!important;border-radius:999px!important;background:linear-gradient(135deg,#164B86,#1f6aa8)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-weight:700!important;box-shadow:0 12px 24px -16px rgba(22,75,134,.9)!important;border:0!important}
  html body #nav .nv>.nv-i--espace>.nv-espace .nv-tx{color:#fff!important;-webkit-text-fill-color:#fff!important}
  html body #nav .nv>.nv-i--espace>.nv-espace::after{display:none!important}
  html body #nav .nv>.nv-i--shop{margin-top:10px!important;border:0!important}
  html body #nav .nv>.nv-i--shop>.nv-l{min-height:48px}
}

/* 21 · Menu mobile identique sur tout le site (site principal, Academy, Trust Scan, Trust Boost) (15/11/2026) */
html body #burger svg line{transition:transform .25s ease,opacity .2s ease;transform-box:fill-box;transform-origin:center}
html body #burger[aria-expanded="true"]{transform:none!important}
html body #burger[aria-expanded="true"] svg line:nth-child(1){transform:translateY(5px) rotate(45deg)!important}
html body #burger[aria-expanded="true"] svg line:nth-child(2){opacity:0!important}
html body #burger[aria-expanded="true"] svg line:nth-child(3){transform:translateY(-5px) rotate(-45deg)!important}
@media (max-width:1100px){
  html body #nav.nav:not(#z1):not(#z2):not(#z3):not(#z4):not(#z5):not(#z6):not(#z7){position:fixed!important;top:62px!important;right:0!important;left:auto!important;width:min(420px,100%)!important;max-height:calc(100dvh - 62px);overflow-y:auto;margin:0!important;padding:0!important;background:#fff!important;border-radius:0 0 0 18px!important;box-shadow:0 30px 60px -30px rgba(15,29,46,.45)!important;border:0!important;max-width:none!important;bottom:auto!important;transform:translateY(-8px)!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;transition:opacity .22s ease,transform .22s ease,visibility 0s linear .22s!important;display:block!important}
  html body #nav.nav.nav--ouvert:not(#z1):not(#z2):not(#z3):not(#z4):not(#z5):not(#z6):not(#z7){transform:none!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;transition:opacity .22s ease,transform .22s ease!important}
  html[data-theme="dark"] body #nav.nav:not(#z1):not(#z2):not(#z3):not(#z4):not(#z5):not(#z6):not(#z7){background:#111c26!important}
  html body #nav.nav:not(#z1):not(#z2):not(#z3):not(#z4):not(#z5):not(#z6):not(#z7) .nv{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;width:100%!important;margin:0!important;padding:10px 20px 22px!important;box-sizing:border-box}
  html body #nav.nav:not(#z1):not(#z2):not(#z3):not(#z4):not(#z5):not(#z6):not(#z7) .nv>.nv-i{width:100%!important;margin-left:0!important;margin-right:0!important}
  html body #nav.nav:not(#z1):not(#z2):not(#z3):not(#z4):not(#z5):not(#z6):not(#z7) .nv>.nv-i:not(.nv-i--espace):not(.nv-i--shop)>.nv-l{display:flex!important;align-items:center;justify-content:space-between;width:100%!important;min-height:50px;padding:0 6px!important;font-size:1rem!important;box-sizing:border-box}
  html body #nav.nav:not(#z1):not(#z2):not(#z3):not(#z4):not(#z5):not(#z6):not(#z7) .nv>.nv-i:not(.nv-i--espace):not(.nv-i--shop){border-bottom:1px solid rgba(20,32,43,.08)!important}
  html[data-theme="dark"] body #nav.nav:not(#z1):not(#z2):not(#z3):not(#z4):not(#z5):not(#z6):not(#z7) .nv>.nv-i:not(.nv-i--espace):not(.nv-i--shop){border-bottom-color:rgba(255,255,255,.08)!important}
  html body #nav.nav:not(#z1):not(#z2):not(#z3):not(#z4):not(#z5):not(#z6):not(#z7) .nv>.nv-i--espace>.nv-l,html body #nav.nav:not(#z1):not(#z2):not(#z3):not(#z4):not(#z5):not(#z6):not(#z7) .nv>.nv-i--shop>.nv-l{width:100%!important;justify-content:center!important;box-sizing:border-box;display:flex!important;align-items:center;gap:10px}
}
@media (max-width:480px){html body #nav.nav:not(#z1):not(#z2):not(#z3):not(#z4):not(#z5):not(#z6):not(#z7){width:100%!important;border-radius:0 0 18px 18px!important}}
@media (max-width:1100px){html body #nav.nav:not(#z1):not(#z2):not(#z3):not(#z4):not(#z5):not(#z6):not(#z7) .nv>.nv-i--shop,html body #nav.nav:not(#z1):not(#z2):not(#z3):not(#z4):not(#z5):not(#z6):not(#z7) .nv>.nv-i--shop>.nv-l,html body #nav.nav:not(#z1):not(#z2):not(#z3):not(#z4):not(#z5):not(#z6):not(#z7) .nv>.nv-i--espace>.nv-l{margin-left:0!important;margin-right:0!important;max-width:100%!important}}

/* 22 · À propos : logo officiel et charte des couleurs (15/11/2026) */
html body #logos .ap-logos{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important}
html body #logos .ap-logos .logo-tuile{margin:0!important}
html body #logos .ap-logos .logo-vue{display:grid;place-items:center;height:170px;padding:22px;border-radius:14px}
html body #logos .ap-logos .logo-vue--clair{background:#fff;border:1px solid #e3e8ef}
html body #logos .ap-logos .logo-vue--sombre{background:#314256}
html body #logos .ap-logos .logo-vue img{max-width:100%;max-height:120px;width:auto;height:auto;object-fit:contain}
html body #logos .ap-charte{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
html body #logos .ap-charte li{overflow:hidden;border-radius:16px;background:#fff;border:1px solid #e3e8ef;box-shadow:0 14px 30px -24px rgba(15,29,46,.5)}
html[data-theme="dark"] body #logos .ap-charte li{background:#16222d;border-color:#2a3b4a}
html body #logos .ap-ech{display:flex;align-items:flex-end;height:130px;padding:14px 16px;background:var(--c);color:var(--t);border-bottom:1px solid rgba(15,29,46,.08)}
html body #logos .ap-ech b{font:600 .95rem/1 'Poppins',system-ui,sans-serif;letter-spacing:.04em;color:var(--t)!important}
html body #logos .ap-charte li>div{padding:14px 16px 16px}
html body #logos .ap-charte strong{display:block;font-size:1rem}
html body #logos .ap-charte small{display:block;margin-top:4px;font-size:.82rem;line-height:1.5;opacity:.75}
@media (max-width:900px){html body #logos .ap-logos{grid-template-columns:repeat(2,minmax(0,1fr))!important}html body #logos .ap-charte{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:520px){html body #logos .ap-logos{grid-template-columns:minmax(0,1fr)!important}}
html body #logos .ap-logos .logo-tuile .logo-vue:not(#q1):not(#q2){display:flex!important;align-items:center!important;justify-content:center!important;height:180px!important;padding:24px!important;aspect-ratio:auto!important}
html body #logos .ap-logos .logo-tuile .logo-vue:not(#q1):not(#q2) img{position:static!important;display:block!important;margin:0 auto!important;width:auto!important;height:auto!important;max-width:88%!important;max-height:128px!important;transform:none!important}
html body #logos .ap-logos .logo-tuile:not(.logo-tuile--large) .logo-vue:not(#q1):not(#q2) img{height:128px!important;max-width:none!important}

/* ============ 23. Bouton Boutique : même pilule que « Mon Espace », aux couleurs de la boutique (15/11/2026) ============ */
@media (min-width:1101px){
  html body .entete .nv:not(#z1):not(#z2):not(#z3) .nv-i--shop > a.nv-l.nv-shop{
    display:inline-flex!important;align-items:center;gap:8px!important;height:40px!important;padding:0 18px 0 13px!important;border-radius:999px!important;
    background:linear-gradient(135deg,#E9AB1C,#f3bf3f)!important;color:#243142!important;font:600 .88rem/1 'Poppins',system-ui,sans-serif!important;
    box-shadow:0 6px 16px -6px rgba(176,120,8,.6)!important;border:0!important;transition:transform .2s,box-shadow .2s,filter .2s}
  html body .entete .nv:not(#z1):not(#z2):not(#z3) .nv-i--shop > a.nv-l.nv-shop:hover{transform:translateY(-1px);filter:brightness(1.04);box-shadow:0 10px 22px -8px rgba(176,120,8,.7)!important}
  html body .entete .nv:not(#z1):not(#z2):not(#z3) .nv-i--shop > a.nv-l.nv-shop .nv-shop-ic{width:18px;height:18px;stroke-width:2}
  html body .entete .nv:not(#z1):not(#z2):not(#z3) .nv-i--shop > a.nv-l.nv-shop::after{display:none!important}
  html body .entete .nv:not(#z1):not(#z2):not(#z3) .nv-i--shop.nv-courant > a.nv-l.nv-shop{box-shadow:0 0 0 2px #fff,0 0 0 4px #E9AB1C!important}
  html[data-theme="dark"] body .entete .nv:not(#z1):not(#z2):not(#z3) .nv-i--shop.nv-courant > a.nv-l.nv-shop{box-shadow:0 0 0 2px #17212b,0 0 0 4px #E9AB1C!important}
}

/* =====================================================================
   Fenêtres de notification : bleu royal Trust Co. (#164B86) partout, en mode clair comme en mode sombre (16/11/2026)
   ===================================================================== */
html body :is(.ac-notif,.cash-toast,.ts-toast,.fo-toast,.ec-toast,.toast-espace,.toast):not(.err):not(.ec-toast--danger):not(#z1){background:linear-gradient(135deg,#164B86 0%,#1a5a9e 100%)!important;color:#fff!important;border-color:rgba(255,255,255,.14)!important;box-shadow:0 24px 50px -22px rgba(22,75,134,.65)!important}
html body :is(.ac-notif,.cash-toast,.ts-toast):not(#z1) :is(b,strong,p,span:not(.ac-notif-ic):not(.cash-toast-logo)){color:#fff!important}
html body :is(.ac-notif,.cash-toast,.ts-toast):not(#z1) p,html body .cash-toast:not(#z1) span:not(.cash-toast-logo){color:#d6e6f7!important}
html body .ac-notif:not(#z1) a{display:inline-flex;margin-top:2px;padding:7px 14px;border-radius:999px;background:#E9AB1C!important;color:#1d2732!important;text-decoration:none!important}
html body .ac-notif:not(#z1) .ac-notif-ic{background:rgba(255,255,255,.16)!important}
html body :is(.ac-notif .ac-x,.cash-toast button,.ts-toast-x):not(#z1){color:#fff!important;opacity:.85}
html body .cash-toast:not(#z1){border-left:4px solid #E9AB1C!important}
html body .ts-toast:not(#z1) b{color:#bfe0f7!important}
