/* Highost — apparence « Salle des machines », version claire.
   Se charge APRÈS site.css quand Gestion > Réglages du site > Apparence = « Salle des machines (clair) ».
   L'idée : une baie de serveurs blanche. Métal clair et mat, filets couleur acier, titres en Archivo élargi.
   Bleu Highost pour les actions uniquement, vert « voyant » pour les statuts uniquement. Pas de halo. */

@font-face {
  font-family: "Archivo Wide";
  src: url("../polices/archivo.de2f1fe81758.woff2") format("woff2-variations"), url("../polices/archivo.de2f1fe81758.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --papier: #ffffff;
  --givre: #eef1f5;
  --brume: #f4f6f8;
  --encre: #1b1d21;
  --encre-2: #2c3037;
  --carbone: #141517;
  --ardoise: #575e69;
  --ardoise-clair: #8a919b;
  --filet: #dfe3e8;
  --filet-fort: #c6cdd5;
  --acier: #a9b1bb;
  --teinte: #edf3ff;
  --vert: #0f7a45;
  --voyant: #3fd47f;
  --voyant-bord: #23a35c;
  --voyant-ambre: #f2a516;
  --voyant-ambre-bord: #c98200;

  --rayon: 12px;
  --rayon-grand: 16px;
  --rayon-petit: 8px;
  --ombre: 0 1px 2px rgba(20, 21, 23, .05);
  --ombre-survol: 0 10px 26px -14px rgba(20, 21, 23, .28);
  --titres: "Archivo Wide", "Inter", system-ui, sans-serif;
}

::selection { background: #d6e4ff; }
a:hover { color: var(--encre); }

/* --------------------------------------------------------------------------- titres : Archivo élargi */
h1, h2 {
  font-family: var(--titres);
  font-stretch: 118%;
  font-optical-sizing: auto;
  color: var(--encre);
}
h1 { font-size: clamp(34px, 4vw, 54px); font-weight: 760; line-height: 1.04; letter-spacing: -.035em; }
h2 { font-size: clamp(26px, 2.5vw, 34px); font-weight: 730; line-height: 1.1; letter-spacing: -.03em; }
h1 .accent { display: block; color: var(--bleu); }
.prix-grand strong, .service .des strong, .carte-jeu-nom, .recap-libelle, .domaine .prix-grand strong {
  font-family: var(--titres);
  font-stretch: 112%;
  letter-spacing: -.025em;
}
.prix-grand strong { font-weight: 720; }
.carte-jeu-nom { font-weight: 700; font-stretch: 108%; letter-spacing: -.02em; }
.recap-libelle { font-weight: 700; font-size: 17px; }
.etape h2, .bloc > h2, .prose h2, .fiche h2, .page-carte h1 { font-stretch: 112%; }
.pied h2 { font-family: inherit; font-stretch: 100%; }

/* surtitres : étiquette gravée, précédée d'un voyant */
.surtitre {
  font-size: 11.5px; font-weight: 650; letter-spacing: .13em; color: var(--ardoise);
}
.surtitre { align-items: flex-start; }
.surtitre::before {
  flex: none; width: 7px; height: 7px; margin-top: 5.5px; background: var(--voyant); box-shadow: 0 0 0 1px var(--voyant-bord);
}

/* --------------------------------------------------------------------------- en-tête */
.entete { background: rgba(255, 255, 255, .95); border-bottom-color: var(--filet-fort); }
.marque { font-family: var(--titres); font-stretch: 125%; font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.marque-carre { border-radius: 7px; font-family: var(--titres); font-stretch: 110%; font-size: 17px; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .14); }
.nav-principale a { color: #4b525c; }
.nav-principale a:hover { background: var(--givre); }
.bouton-discord, .bouton-menu { border-color: var(--filet-fort); }
.bouton-discord:hover { background: var(--givre); }

/* --------------------------------------------------------------------------- boutons : usinés, coins nets */
.bouton { border-color: var(--filet-fort); box-shadow: 0 1px 0 rgba(20, 21, 23, .04); }
.bouton:hover { background: var(--givre); border-color: var(--acier); }
.bouton-principal { box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .16), 0 1px 2px rgba(20, 21, 23, .12); }
.bouton-sombre { background: var(--carbone); border-color: var(--carbone); }

/* --------------------------------------------------------------------------- accueil : une baie blanche
   (règles préfixées .theme-machines : l'apparence « Plein cadre » réutilise cette feuille avec ses propres bandeaux) */
.theme-machines .une:not(.une-jeu) {
  background: linear-gradient(180deg, #fbfcfd 0%, var(--givre) 100%);
  color: var(--encre);
  border: 1px solid var(--filet-fort);
  box-shadow: inset 0 1px 0 #fff;
}
/* montants de baie, à gauche et à droite, avec leurs perçages */
.theme-machines .une:not(.une-jeu)::before {
  background:
    repeating-linear-gradient(180deg, #c9d0d8 0 6px, transparent 6px 16px) 12px 18px / 6px calc(100% - 36px) no-repeat,
    repeating-linear-gradient(180deg, #c9d0d8 0 6px, transparent 6px 16px) right 12px top 18px / 6px calc(100% - 36px) no-repeat,
    linear-gradient(90deg, #e6eaee 0 30px, var(--filet-fort) 30px 31px, transparent 31px calc(100% - 31px), var(--filet-fort) calc(100% - 31px) calc(100% - 30px), #e6eaee calc(100% - 30px));
}
.theme-machines .une:not(.une-jeu) .une-grille { padding: 88px 80px 84px; }
.theme-machines .une:not(.une-jeu) .surtitre { color: var(--ardoise); }
.theme-machines .une:not(.une-jeu) h1 { color: var(--encre); font-size: clamp(36px, 4.3vw, 58px); }
.theme-machines .une:not(.une-jeu) .chapeau { color: var(--ardoise); }
.theme-machines .une:not(.une-jeu) .note { color: var(--ardoise); }
.theme-machines .une:not(.une-jeu) :focus-visible { outline-color: var(--bleu); }
.theme-machines .une:not(.une-jeu) .bouton-clair { background: #fff; border-color: var(--filet-fort); color: var(--encre); }
.theme-machines .une:not(.une-jeu) .bouton-clair:hover { background: var(--givre); border-color: var(--acier); color: var(--encre); }

/* la pièce maîtresse : la fiche devient la face avant d'un serveur */
.fiche, .encart-cles { position: relative; }
.fiche, .recap, .encart-cles {
  background: linear-gradient(180deg, #ffffff 0%, #f5f7f9 100%);
  border: 1px solid var(--filet-fort);
  border-radius: var(--rayon);
  box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba(20, 21, 23, .03), 0 30px 60px -30px rgba(20, 21, 23, .32);
  padding-top: 58px;
}
.fiche::before, .recap::before, .encart-cles::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 32px;
  border-radius: var(--rayon) var(--rayon) 0 0;
  border-bottom: 1px solid var(--filet-fort);
  background:
    radial-gradient(circle at 19px 16px, var(--voyant) 0 3px, var(--voyant-bord) 3px 4px, transparent 4.6px),
    radial-gradient(circle at 34px 16px, var(--voyant) 0 3px, var(--voyant-bord) 3px 4px, transparent 4.6px),
    radial-gradient(circle at 49px 16px, var(--bleu) 0 3px, #0d4fd0 3px 4px, transparent 4.6px),
    linear-gradient(180deg, #f7f8fa 0%, #e9edf1 100%);
}
/* grille d'aération */
.fiche::after, .recap::after, .encart-cles::after {
  content: ""; position: absolute; top: 10px; right: 16px; width: 140px; height: 12px; border-radius: 2px;
  background: repeating-linear-gradient(90deg, #9da6b1 0 3px, transparent 3px 7px);
  -webkit-mask-image: linear-gradient(180deg, #000 0 42%, transparent 42% 58%, #000 58%);
  mask-image: linear-gradient(180deg, #000 0 42%, transparent 42% 58%, #000 58%);
  opacity: .9;
}
.fiche { box-shadow: inset 0 1px 0 #fff, 0 2px 4px rgba(20, 21, 23, .05), 0 40px 80px -36px rgba(20, 21, 23, .4); }
.fiche-tete span:first-child { letter-spacing: .12em; font-size: 11.5px; font-weight: 600; }
.fiche .surtitre::before { display: none; }
.fiche .surtitre { color: var(--bleu-texte); }
.fiche-specs { border-top-color: var(--filet); }
.fiche-specs div { background: #fff; border: 1px solid var(--filet); border-radius: var(--rayon-petit); }
.fiche-specs dt { font-size: 12px; }
.pastille { border-radius: 5px; }
.fiche .pastille { background: #fff; color: var(--encre); border: 1px solid var(--filet-fort); font-weight: 600; }

/* statuts : de vrais voyants */
.statut-vente::before { width: 8px; height: 8px; background: var(--voyant-ambre); box-shadow: 0 0 0 1px var(--voyant-ambre-bord); }
.statut-vente.ouvert::before { background: var(--voyant); box-shadow: 0 0 0 1px var(--voyant-bord); }

/* --------------------------------------------------------------------------- pages intérieures */
.tete-page { background: linear-gradient(180deg, var(--givre) 0%, #fff 100%); border-bottom-color: var(--filet-fort); }
.encart-cles { padding: 58px 28px 28px; }
.encart-cles .prix-grand { border-bottom-color: var(--filet); }
.liste-coches .icone { color: var(--encre); }
.fil-ariane li + li::before { color: var(--acier); }

/* --------------------------------------------------------------------------- sections, cartes, offres : métal mat, filets acier */
.section-brume { background: var(--givre); border-block: 1px solid var(--filet); }
.carte, .offre, .domaine, .etape, .item, .bulle, .message, .tableau-defile, .qr { border-color: var(--filet-fort); }
.carte-icone {
  background: linear-gradient(180deg, #fff, #f1f3f6); color: var(--encre);
  border: 1px solid var(--filet-fort); box-shadow: 0 1px 0 rgba(20, 21, 23, .05);
}
a.carte:hover, .carte-lien:hover, .offre:hover { border-color: var(--acier); }
.service .bas, .offre dl, .offre .actions-offre { border-top-color: var(--filet); }

.offre { position: relative; overflow: hidden; }
.offre-conseillee { border: 1.5px solid var(--bleu); box-shadow: 0 14px 34px -18px rgba(23, 105, 255, .45); }
.offre-conseillee::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--bleu);
}
.offre .pastille { background: var(--teinte); }
.offre h3 { font-family: var(--titres); font-stretch: 112%; font-weight: 700; letter-spacing: -.02em; font-size: 20px; }

.onglets-liste { border-bottom-color: var(--filet-fort); }
.onglets-liste [role="tab"][aria-selected="true"]::after { left: 0; right: 0; height: 3px; border-radius: 0; }

/* bandeaux sombres : un serveur noir dans la baie blanche (carbone plutôt que bleu nuit) */
.bandeau { background: var(--carbone); border-radius: var(--rayon-grand); }
.bandeau-photo::after { background: linear-gradient(90deg, var(--carbone) 0%, rgba(20, 21, 23, .6) 40%, rgba(20, 21, 23, .08) 100%); }
.bandeau-photo img { filter: saturate(.85); }
.bandeau h2 { color: #fff; }

/* encart de fin : un tiroir de la même baie, entre ses montants */
.theme-machines .bandeau.fin {
  background: linear-gradient(180deg, #fbfcfd 0%, var(--givre) 100%); color: var(--encre);
  border: 1px solid var(--filet-fort); box-shadow: inset 0 1px 0 #fff; padding-inline: 80px;
}
.theme-machines .bandeau.fin::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    repeating-linear-gradient(180deg, #c9d0d8 0 6px, transparent 6px 16px) 12px 18px / 6px calc(100% - 36px) no-repeat,
    repeating-linear-gradient(180deg, #c9d0d8 0 6px, transparent 6px 16px) right 12px top 18px / 6px calc(100% - 36px) no-repeat,
    linear-gradient(90deg, #e6eaee 0 30px, var(--filet-fort) 30px 31px, transparent 31px calc(100% - 31px), var(--filet-fort) calc(100% - 31px) calc(100% - 30px), #e6eaee calc(100% - 30px));
}
.theme-machines .bandeau.fin h2 { color: var(--encre); }
.theme-machines .bandeau.fin p { color: var(--ardoise); }
.bandeau.fin .surtitre { margin: 0 0 14px; font-size: 11.5px; }
.theme-machines .bandeau.fin :focus-visible { outline-color: var(--bleu); }
.theme-machines .bandeau.fin .bouton-clair { background: #fff; border-color: var(--filet-fort); color: var(--encre); }
.theme-machines .bandeau.fin .bouton-clair:hover { background: var(--givre); border-color: var(--acier); color: var(--encre); }

/* --------------------------------------------------------------------------- jeux */
.carte-jeu { border-radius: 10px; background: var(--carbone); }
.carte-jeu::after { background: linear-gradient(0deg, rgba(20, 21, 23, .92) 0%, rgba(20, 21, 23, .35) 45%, rgba(20, 21, 23, 0) 70%); }
.carte-jeu .pastille { border-radius: 5px; }
.recherche input[type="search"] { border-radius: var(--rayon-petit); }
.filtres button { border-radius: var(--rayon-petit); border-color: var(--filet-fort); }
.filtres button[aria-pressed="true"] { background: var(--carbone); border-color: var(--carbone); }

.une-jeu { border-radius: var(--rayon-grand); background: var(--carbone); }
.une-jeu::before { background: linear-gradient(90deg, rgba(20, 21, 23, .93) 0%, rgba(20, 21, 23, .76) 34%, rgba(20, 21, 23, .22) 70%, rgba(20, 21, 23, .04) 100%); }
.une-jeu h1 { color: #fff; font-size: clamp(36px, 4.4vw, 58px); }
.une-jeu .surtitre { color: rgba(255, 255, 255, .78); }
.retour { border-radius: var(--rayon-petit); }
.prix-pastille { border-radius: var(--rayon-petit); }

/* --------------------------------------------------------------------------- formulaires, configurateur, espace client */
input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="number"],
input[type="url"], select, textarea { border-color: var(--filet-fort); }
input:hover, select:hover, textarea:hover { border-color: var(--acier); }
.etape-num { border-radius: 6px; background: var(--carbone); font-family: var(--titres); font-stretch: 110%; }
.famille, .choix-carte label { border-color: var(--filet-fort); border-radius: 10px; }
.famille .icone { color: var(--encre); }
.recap { padding: 58px 28px 28px; }
.recap h2 { font-family: inherit; font-stretch: 100%; font-size: 11.5px; font-weight: 650; letter-spacing: .13em; text-transform: uppercase; }
.page-carte { background: var(--givre); border-bottom-color: var(--filet-fort); }
.choix-compte { background: #e3e7ec; }
.nav-espace a[aria-current="page"] { background: #fff; color: var(--encre); box-shadow: inset 0 0 0 1px var(--filet-fort), inset 3px 0 0 var(--bleu); }
.tableau thead th { background: var(--givre); text-transform: uppercase; letter-spacing: .08em; font-size: 11.5px; }

/* --------------------------------------------------------------------------- pied de page */
.pied { background: var(--givre); border-top-color: var(--filet-fort); }
.pied h2 { text-transform: uppercase; letter-spacing: .12em; font-size: 11.5px; }
.pied-bas { border-top-color: var(--filet-fort); }

/* --------------------------------------------------------------------------- tablette et téléphone */
@media (max-width: 1100px) {
  .theme-machines .une:not(.une-jeu) .une-grille { padding: 72px 56px; }
}
@media (max-width: 900px) {
  .theme-machines .une:not(.une-jeu) .une-grille { padding: 56px 44px 44px; }
  .theme-machines .une:not(.une-jeu)::before, .theme-machines .bandeau.fin::before {
    background: linear-gradient(90deg, #e6eaee 0 14px, var(--filet-fort) 14px 15px, transparent 15px calc(100% - 15px), var(--filet-fort) calc(100% - 15px) calc(100% - 14px), #e6eaee calc(100% - 14px));
  }
  .theme-machines .bandeau.fin { padding: 48px 44px; }
  .une-jeu::before { background: linear-gradient(180deg, rgba(20, 21, 23, .9), rgba(20, 21, 23, .8)); }
  .bandeau-photo::after { background: linear-gradient(90deg, rgba(20, 21, 23, .95), rgba(20, 21, 23, .7)); }
}
@media (max-width: 640px) {
  .theme-machines .une:not(.une-jeu) .une-grille { padding: 40px 28px 28px; }
  .theme-machines .bandeau.fin { padding: 40px 28px; }
  .une-jeu::before { background: linear-gradient(0deg, rgba(20, 21, 23, .95) 8%, rgba(20, 21, 23, .72) 50%, rgba(20, 21, 23, .2) 100%); }
  .une-jeu, .bandeau { border-radius: var(--rayon); }
  .fiche::after, .recap::after, .encart-cles::after { width: 84px; }
  .fiche { padding: 54px 20px 22px; }
  .encart-cles, .recap { padding: 54px 22px 22px; }
}
