/* ==========================================================================
   Only Digital — feuille de style (v3)
   Thème marine par défaut ; thème clair via html[data-theme="light"].
   Matière du fond : html[data-fond="grain" | "degrade" | "uni"] (grain par défaut).
   Une seule famille : DM Sans (variable, locale), secours Arial ajusté.
   v3 : vrais petits logos (.lm), boutons aux couleurs des marques (.btn-marque),
   aperçus qui remplissent leur boîte et la parcourent (.apercu), sections resserrées (--sec),
   thème clair tenu face au mode sombre automatique des navigateurs (color-scheme).
   v4 (28/10) : le lien Blog de l'en-tête (.lien-nav) et le lien discret « Tarifs et réservation » (.lien-tarifs) ;
   les pages de services et le blog ont leur feuille à part, pages.css, chargée après celle-ci.
   ========================================================================== */

@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/dm-sans-latin.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Secours aux métriques de DM Sans : le texte ne bouge pas quand la police arrive. */
@font-face {
  font-family: "DM Sans Secours";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica"), local("Roboto");
  size-adjust: 103.75%;
  ascent-override: 95.61%;
  descent-override: 29.88%;
  line-gap-override: 0%;
}

/* --------------------------------------------------------------------------
   Jetons — marine d'abord
   -------------------------------------------------------------------------- */
:root {
  --bg: #0F1B3A;
  --surface: #162549;
  --surface-2: #1C2E58;
  --surface-3: #223768;
  --line: rgba(255, 255, 255, .10);
  --line-2: rgba(255, 255, 255, .20);
  --ink: #F2F5FB;
  --ink-2: #C3CCE0;
  --ink-3: #93A0BE;
  --brand: #7FB2FF;
  --brand-ink: #A9CBFF;
  --brand-soft: rgba(127, 178, 255, .12);
  --brand-soft-2: rgba(127, 178, 255, .24);
  --blue: #0051A8;
  --blue-deep: #003F85;
  --navy: #0F1B3A;
  --btn: #1F5FC4;
  --btn-hover: #2B6FDD;
  --header-bg: rgba(15, 27, 58, .76);
  --glow: rgba(47, 111, 214, .40);
  --glow-2: rgba(0, 81, 168, .22);
  --halo: rgba(47, 111, 214, .32);
  --reflet: rgba(255, 255, 255, .05);
  --lm-ring: rgba(255, 255, 255, .10);
  --pied-bg: #0A1430;
  --pied-ink: #FFFFFF;
  --pied-ink-2: #C9D3E8;
  --pied-ink-3: #A9B4CC;
  --pied-line: rgba(255, 255, 255, .12);
  --pied-accent: #7FB2FF;
  --grain-op: .07;
  --grain-filtre: none;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .35), 0 12px 32px -14px rgba(0, 0, 0, .6);
  --shadow-2: 0 2px 4px rgba(0, 0, 0, .4), 0 34px 64px -24px rgba(0, 0, 0, .75);
  --focus: #7FB2FF;
  --r: 20px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 64px;
  /* la demi-épaisseur entre deux sections : 24 px sur téléphone, 36 px sur grand écran */
  --sec: clamp(24px, 2.8vw, 36px);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0.33 0.33 0.33 0 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #F4F6FA;
  --surface: #FFFFFF;
  --surface-2: #EAEEF5;
  --surface-3: #E0E6F0;
  --line: #DCE2EC;
  --line-2: #C5CEDC;
  --ink: #0B1324;
  --ink-2: #3B4556;
  --ink-3: #5B6880;
  --brand: #0051A8;
  --brand-ink: #003F85;
  --brand-soft: #E6EEF9;
  --brand-soft-2: #D3E1F4;
  --btn: #0051A8;
  --btn-hover: #003F85;
  --header-bg: rgba(244, 246, 250, .82);
  --glow: rgba(0, 81, 168, .11);
  --glow-2: rgba(0, 81, 168, .06);
  --halo: rgba(0, 81, 168, .14);
  --reflet: rgba(255, 255, 255, 0);
  --lm-ring: rgba(11, 19, 36, .10);
  --pied-bg: #E8ECF3;
  --pied-ink: #0B1324;
  --pied-ink-2: #3B4556;
  --pied-ink-3: #5B6880;
  --pied-line: #CDD5E1;
  --pied-accent: #0051A8;
  --grain-op: .035;
  --grain-filtre: invert(1);
  --shadow-1: 0 1px 2px rgba(11, 19, 36, .05), 0 10px 30px -14px rgba(11, 19, 36, .22);
  --shadow-2: 0 2px 4px rgba(11, 19, 36, .06), 0 30px 60px -24px rgba(11, 19, 36, .35);
  --focus: #0051A8;
  /* « only » : les navigateurs qui assombrissent les sites d'eux-mêmes laissent ce thème clair tel quel */
  color-scheme: only light;
}

/* --------------------------------------------------------------------------
   Base et matière du fond
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  position: relative; isolation: isolate;
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: "DM Sans", "DM Sans Secours", Arial, sans-serif;
  font-optical-sizing: auto;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* grain et dégradé : une lumière douce en haut, un grain très fin par-dessus */
html[data-fond="grain"] body, html[data-fond="degrade"] body {
  background:
    radial-gradient(90% 50% at 50% -8%, var(--glow) 0%, transparent 62%),
    radial-gradient(45% 36% at 104% 56%, var(--glow-2) 0%, transparent 64%),
    var(--bg);
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; display: none;
  background-image: var(--grain); background-size: 220px 220px;
  opacity: var(--grain-op); filter: var(--grain-filtre);
}
html[data-fond="grain"] body::before { display: block; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.1;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 1.45rem + 3.3vw, 4.1rem); font-weight: 650; letter-spacing: -.032em; line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 1.35rem + 1.9vw, 2.9rem); letter-spacing: -.025em; line-height: 1.06; }
h3 { font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem); letter-spacing: -.015em; line-height: 1.18; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blue); color: #fff; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.conteneur { width: min(1200px, 100% - 2 * clamp(16px, 4vw, 40px)); margin-inline: auto; }

.saut {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  padding: .6rem 1rem; border-radius: 8px;
  background: var(--blue); color: #fff; font-weight: 600;
}
.saut:focus { top: 12px; }

/* --------------------------------------------------------------------------
   Petites pièces
   -------------------------------------------------------------------------- */
.kicker {
  display: inline-flex; align-items: center; gap: .55rem;
  margin: 0 0 .9rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
  color: var(--brand);
}
.vitrine-texte .kicker::before, .pilier-texte .kicker::before, .contact .kicker::before, .page-404 .kicker::before {
  content: ""; width: 8px; height: 8px; border-radius: 2px;
  background: currentColor; transform: rotate(45deg);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.4rem;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .98rem; line-height: 1;
  cursor: pointer; text-align: center;
  transition: transform .25s var(--ease), background .2s, border-color .2s, color .2s, box-shadow .25s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn .fleche { transition: transform .25s var(--ease); }
.btn:hover .fleche { transform: translateX(3px); }
.btn-primaire { background: var(--btn); color: #fff; box-shadow: 0 12px 28px -12px rgba(31, 95, 196, .8), inset 0 1px 0 rgba(255, 255, 255, .14); }
.btn-primaire:hover { background: var(--btn-hover); transform: translateY(-1px); }
.btn-grand { min-height: 54px; padding: .9rem 1.7rem; font-size: 1.04rem; }
.btn-grand svg { width: 20px; height: 20px; }
.btn-petit { min-height: 40px; padding: .5rem 1.05rem; font-size: .9rem; line-height: 1.2; gap: .45rem; }
.btn-petit svg { width: 16px; height: 16px; }
.btn-secondaire { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-secondaire:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }
.btn-blanc { background: #fff; color: #0051A8; }
.btn-blanc:hover { background: #EAF1FC; transform: translateY(-1px); }
.btn-contour-blanc { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-contour-blanc:hover { border-color: #fff; background: rgba(255, 255, 255, .12); transform: translateY(-1px); }

/* Le bouton de chaque site, à la couleur du bouton principal de ce site (relevée le 28/10) ;
   le texte tient le AA (4.5:1) ; survol = une nuance de la même couleur ; en marine, les couleurs
   proches du fond portent un fin liseré clair. */
.btn-marque {
  background: var(--b-bg); color: var(--b-fg); border-color: var(--b-bord, transparent);
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .12);
}
@supports (color: color-mix(in srgb, red 50%, blue)) {
  .btn-marque { box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--b-bg) 70%, transparent), inset 0 1px 0 rgba(255, 255, 255, .12); }
}
.btn-marque:hover { background: var(--b-hover); transform: translateY(-1px); }
[data-marque="licences"] { --b-bg: var(--btn); --b-fg: #FFFFFF; --b-hover: var(--btn-hover); }
[data-marque="pc4gamer"] { --b-bg: #B91612; --b-fg: #FFFFFF; --b-hover: #A31310; }
[data-marque="saphan"] { --b-bg: #FF8A00; --b-fg: #111214; --b-hover: #FF9D2E; }
[data-marque="creation-site-internet"] { --b-bg: #E8A817; --b-fg: #0B1628; --b-hover: #F2B52A; }
[data-marque="design"] { --b-bg: #C8A74C; --b-fg: #0F0F0F; --b-hover: #D4B55C; }
[data-marque="academy"] { --b-bg: #1B5274; --b-fg: #FFFFFF; --b-hover: #174561; }
[data-marque="depannage"] { --b-bg: #FF5B2E; --b-fg: #111214; --b-hover: #FF6E46; }
[data-marque="conseil"] { --b-bg: #0B7A6F; --b-fg: #FFFFFF; --b-hover: #09665D; }
[data-marque="ia-automatisation"] { --b-bg: #0055FF; --b-fg: #FFFFFF; --b-hover: #0048DB; }
[data-marque="swissapplab"] { --b-bg: #FF6A3D; --b-fg: #111214; --b-hover: #FF7C54; }
:root:not([data-theme="light"]) [data-marque="licences"],
:root:not([data-theme="light"]) [data-marque="pc4gamer"],
:root:not([data-theme="light"]) [data-marque="academy"],
:root:not([data-theme="light"]) [data-marque="conseil"],
:root:not([data-theme="light"]) [data-marque="ia-automatisation"] { --b-bord: rgba(255, 255, 255, .22); }

.actions { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
/* v4 (28/10, P.91) : à côté du bouton d'une marque, le lien discret vers sa page de services dans la maison
   (« Tarifs et réservation ») : un texte souligné, jamais un second bouton ; au-dessus du bouton étendu des cartes */
.lien-tarifs {
  position: relative; z-index: 2; display: inline-flex; align-items: center; min-height: 40px; padding: .2rem 0;
  font-size: .92rem; font-weight: 500; color: var(--ink-2);
  text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px; text-decoration-color: var(--line-2);
  transition: color .2s, text-decoration-color .2s;
}
.lien-tarifs:hover { color: var(--brand); text-decoration-color: currentColor; }
/* dans les cartes, la colonne de texte n'a pas la place à côté du bouton : le lien termine la description, en ligne,
   sans ajouter de hauteur (la carte garde la proportion de son aperçu) */
.etab-corps .texte .lien-tarifs { display: inline; min-height: 0; padding: 0; font-size: .78rem; font-weight: 600; white-space: nowrap; }

.puces { display: flex; flex-wrap: wrap; gap: 8px; margin: 1.25rem 0 1.7rem; }
.puces li {
  font-size: .8rem; font-weight: 600; padding: .36rem .78rem;
  border-radius: 999px; background: var(--brand-soft); color: var(--brand-ink);
  border: 1px solid var(--brand-soft-2);
}
.pt { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); flex: none; }

/* Le petit logo d'une marque : une tuile carrée aux coins arrondis (22 %), ou ronde pour les emblèmes
   ronds (la clé des licences, le rond Only Digital du dépannage) — décidé ici, par le nom du fichier. */
.lm { display: block; flex: none; width: 42px; height: 42px; border-radius: 22%; object-fit: cover; background: var(--surface-2); box-shadow: 0 0 0 1px var(--lm-ring); }
.lm[src*="/licences-"] { border-radius: 50%; background: transparent; box-shadow: none; }

/* L'en-tête d'un site, comme une fiche : logo, nom, catégorie · ville */
.marque-ligne { display: flex; align-items: center; gap: 12px; margin-bottom: 1.1rem; }
.marque-ligne strong { display: block; font-weight: 600; font-size: 1.08rem; line-height: 1.2; color: var(--ink); }
.fiche { display: inline-flex; align-items: center; gap: .3rem; margin-top: 3px; font-size: .82rem; color: var(--ink-3); }
.fiche svg { width: 13px; height: 13px; flex: none; }
/* la note de la fiche Google, avec la date du relevé (Mue, P.234, 28/10) */
.avis { display: flex; align-items: center; gap: .3rem; margin-top: 3px; font-size: .82rem; color: var(--ink-3); }
.avis-etoile { color: #F5B301; font-size: .95em; line-height: 1; }

/* --------------------------------------------------------------------------
   En-tête
   -------------------------------------------------------------------------- */
.entete {
  position: sticky; top: 0; z-index: 60;
  height: var(--header-h);
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.entete-int { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
/* v4 (28/10) : le lien Blog s'ajoute à côté de Contact ; sur un téléphone étroit, le logo cède la place aux liens
   (il se réduit à gauche, sans sauter de ligne) */
.logo-lien { display: inline-flex; align-items: center; height: 100%; flex: 0 1 auto; min-width: 0; }
.logo-lien img { width: 178px; height: 22px; object-fit: contain; object-position: left center; }
.logo-jour { display: none; }
:root[data-theme="light"] .logo-nuit { display: none; }
:root[data-theme="light"] .logo-jour { display: block; }
.entete-outils { display: flex; align-items: center; gap: 10px; flex: none; }
.lien-contact, .lien-nav {
  display: inline-block; padding: .55rem 1rem; border-radius: 999px;
  font-size: .94rem; font-weight: 500; color: var(--ink-2); border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
}
.lien-contact:hover, .lien-nav:hover { background: var(--surface-2); color: var(--ink); border-color: var(--line); }
.lien-nav[aria-current="page"] { color: var(--ink); background: var(--surface-2); border-color: var(--line); }
@media (max-width: 480px) {
  .entete-int { gap: 12px; }
  .entete-outils { gap: 6px; }
  .lien-contact, .lien-nav { padding: .5rem .7rem; font-size: .9rem; }
}
.bouton-icone {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s var(--ease);
}
.bouton-icone:hover { border-color: var(--line-2); transform: translateY(-1px); }
.bouton-icone svg { width: 20px; height: 20px; }
/* 28/10 (Mue, ~10:30 : « en toutes les langues en Suisse ») : le choix de la langue, un bouton rond comme celui du thème,
   qui ouvre la liste des quatre langues ; sans script (details), site.js le referme au clic ailleurs et à Échap */
.langues { position: relative; flex: none; }
.langues > summary { list-style: none; font-size: .78rem; font-weight: 600; letter-spacing: .05em; user-select: none; }
.langues > summary::-webkit-details-marker { display: none; }
.langues[open] > summary { background: var(--surface-2); border-color: var(--line-2); }
.langues-liste {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 70;
  min-width: 156px; margin: 0; padding: 6px; list-style: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 14px 34px rgba(5, 12, 30, .28);
}
.langues-liste a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: .5rem .75rem; border-radius: 10px; font-size: .94rem; color: var(--ink-2);
}
.langues-liste a:hover, .langues-liste a:focus-visible { background: var(--surface-2); color: var(--ink); }
.langues-liste a[aria-current="true"] { color: var(--ink); font-weight: 600; }
.langues-liste a[aria-current="true"]::after { content: "✓"; font-weight: 600; }
/* la petite mention sous les langues (de, it, en : « nos autres pages sont surtout en français ») ; vide en français */
.langues-note {
  margin: 4px 0 0; padding: .55rem .75rem .3rem; border-top: 1px solid var(--line);
  font-size: .75rem; line-height: 1.4; color: var(--ink-3);
}
.langues-note:empty { display: none; }
/* 28/10 (bascule sur www) : le bandeau des cookies que pose le site.js de www (classe « cookies », boutons « bouton »),
   aux couleurs du site mère ; il n'existe que là où la page porte la meta od-gtm, donc jamais sur l'adresse d'essai */
.cookies {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 90;
  max-width: 620px; margin-inline: auto; display: grid; gap: .8rem;
  padding: 1rem 1.2rem; font-size: .93rem; line-height: 1.5; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 16px;
  box-shadow: 0 18px 40px rgba(5, 12, 30, .35);
}
.cookies p { margin: 0; color: var(--ink-2); }
.cookies .bouton {
  font: inherit; font-weight: 600; cursor: pointer; padding: .55rem 1.1rem; border-radius: 999px;
  border: 1px solid transparent; background: var(--btn); color: #fff;
}
.cookies .bouton:hover { background: var(--btn-hover); }
.cookies .bouton-secondaire { background: transparent; color: var(--ink); border-color: var(--line-2); }
.cookies .bouton-secondaire:hover { background: var(--surface-2); }
@media (max-width: 400px) {
  .lien-contact, .lien-nav { padding: .45rem .55rem; }
}
.ico-lune { display: none; }
:root[data-theme="light"] .ico-soleil { display: none; }
:root[data-theme="light"] .ico-lune { display: block; }

/* --------------------------------------------------------------------------
   Le bandeau des sites, en tête
   -------------------------------------------------------------------------- */
.defile {
  position: relative;
  overflow-x: auto; overflow-y: hidden; scrollbar-width: thin;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.defile.anime-ok { overflow: hidden; }
.defile-haut { padding: clamp(14px, 2vw, 18px) 0 clamp(18px, 2.4vw, 22px); }
.defile-piste { display: flex; width: max-content; padding-inline: 16px; }
.defile-liste { display: flex; gap: 18px; margin-right: 18px; }
.defile-piste.anime { animation: defile 90s linear infinite; }
.defile:hover .defile-piste.anime, .defile.pause .defile-piste.anime { animation-play-state: paused; }
@keyframes defile { to { transform: translateX(-50%); } }
.js .defile-haut { animation: monte .8s var(--ease) .05s backwards; }

.mini {
  display: block; width: 240px; flex: none; overflow: hidden;
  border-radius: 14px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-1), inset 0 1px 0 var(--reflet); color: var(--ink);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .3s;
}
.mini:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--brand-soft-2); }
.mini-barre { display: flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.mini-url { margin-left: 8px; flex: 1; min-width: 0; font-size: .68rem; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; padding: 0 6px; }
.mini > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.mini-nom { display: flex; align-items: center; gap: 9px; padding: 9px 12px 10px; font-size: .82rem; font-weight: 600; }
.mini-nom .lm { width: 18px; height: 18px; }
@media (max-width: 640px) { .mini { width: 200px; } .defile-liste { gap: 12px; margin-right: 12px; } .mini-nom { font-size: .78rem; padding: 8px 10px 9px; } }

/* --------------------------------------------------------------------------
   Premier écran : la boutique et quatre produits
   -------------------------------------------------------------------------- */
.vitrine { position: relative; padding: clamp(10px, 1.4vw, 14px) 0 var(--sec); overflow: hidden; }
.vitrine::before {
  content: ""; position: absolute; pointer-events: none; z-index: -1;
  right: -12%; top: 4%; width: 62%; height: 92%;
  background: radial-gradient(50% 50% at 50% 50%, var(--halo) 0%, transparent 70%);
}
.vitrine-int { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 1024px) { .vitrine-int { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); } }
.vitrine-texte { max-width: 600px; }
.vitrine-texte .marque-ligne { margin-bottom: .9rem; }
.vitrine-texte .marque-ligne > .lm { width: 48px; height: 48px; }
.vitrine-texte .marque-ligne strong { font-size: 1.15rem; }
.vitrine-texte .kicker { margin-bottom: .65rem; }
.vitrine-texte h1 { margin: 0 0 .85rem; font-size: clamp(2.2rem, 1.3rem + 2.3vw, 3.1rem); }
.accroche { margin: 0 0 1.3rem; max-width: 32em; font-size: clamp(1.05rem, .98rem + .35vw, 1.15rem); line-height: 1.55; color: var(--ink-2); }
.js .vitrine-texte > * { animation: monte .7s var(--ease) backwards; }
.js .vitrine-texte > :nth-child(2) { animation-delay: .07s; }
.js .vitrine-texte > :nth-child(3) { animation-delay: .14s; }
.js .vitrine-texte > :nth-child(4) { animation-delay: .21s; }
.js .vitrine-texte > :nth-child(5) { animation-delay: .28s; }
.js .vitrine-texte > :nth-child(6) { animation-delay: .35s; }
@keyframes monte { from { opacity: 0; transform: translateY(16px); } }

.produits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.8vw, 20px); }
.produit { display: block; height: 100%; color: inherit; border-radius: 20px; }
.produit-corps {
  height: 100%; display: flex; flex-direction: column; gap: 12px; padding: 14px 14px 16px;
  border-radius: 20px; border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--reflet), transparent 45%), var(--surface);
  box-shadow: var(--shadow-1);
  transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .4s var(--ease), box-shadow .4s, border-color .3s;
}
.produit:hover .produit-corps, .produit:focus-visible .produit-corps {
  transform: translateY(-6px) perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  box-shadow: var(--shadow-2); border-color: var(--brand-soft-2);
}
.produit-img { display: block; border-radius: 14px; overflow: hidden; background: var(--surface-2); }
.produit-img img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .5s var(--ease); }
.produit:hover .produit-img img { transform: scale(1.04); }
.produit-titre {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.6em; font-size: .94rem; font-weight: 600; line-height: 1.3; color: var(--ink);
}
.produit-prix { margin-top: auto; font-size: 1.08rem; font-weight: 700; color: var(--brand); font-variant-numeric: tabular-nums; }
.produit-prix small { font-size: .78rem; font-weight: 500; color: var(--ink-3); margin-right: .3em; }
@media (max-width: 420px) { .produit-titre { font-size: .86rem; } .produit-prix { font-size: 1rem; } }
.produit-texte { display: flex; flex-direction: column; flex: 1; min-width: 0; }
/* Sur grand écran, la carte se couche : image à gauche, titre et prix à droite, les quatre tiennent dans le premier écran. */
@media (min-width: 1024px) {
  .produit-corps { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px 16px 12px 12px; }
  .produit-img { width: 112px; }
  .produit-titre { min-height: 0; -webkit-line-clamp: 3; font-size: .9rem; }
  .produit-prix { margin-top: 6px; }
}
.produit-prix small:empty { display: none; }
/* respiration lente des produits, déphasée ; en pause hors écran */
.js .produits .produit { animation: flotte 7s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -1.15s); }
.produits.pause .produit { animation-play-state: paused; }
@keyframes flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* --------------------------------------------------------------------------
   Les aperçus : la capture longue remplit la boîte sous une fine barre de navigateur ;
   elle la parcourt toute seule (site.js) ; à la souris, la molette défile dedans.
   La taille de la boîte vient du CSS, jamais de l'image (aucun saut de mise en page).
   -------------------------------------------------------------------------- */
.apercu { position: relative; display: block; color: inherit; }
.apercu-defilant {
  display: block; position: relative; overflow: hidden; min-height: 0;
  background: var(--surface-2);
  scrollbar-width: none; overscroll-behavior: auto;
}
.apercu-defilant::-webkit-scrollbar { width: 0; height: 0; display: none; }
.apercu-defilant > img { display: block; width: 100%; height: auto; max-width: none; }
@media (hover: hover) and (pointer: fine) {
  .apercu-defilant { overflow-y: auto; }
  .apercu-defilant.tactile { overflow-y: hidden; }
}
/* l'indice pour la souris, jusqu'au premier survol */
.apercu-indice { display: none; }
@media (hover: hover) and (pointer: fine) {
  .apercu-indice {
    display: block; position: absolute; left: 50%; bottom: 12px; z-index: 2; transform: translateX(-50%);
    max-width: calc(100% - 24px); padding: .34rem .74rem; border-radius: 999px;
    font-size: .72rem; font-weight: 600; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    color: #fff; background: rgba(11, 19, 36, .66); border: 1px solid rgba(255, 255, 255, .14);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    pointer-events: none; transition: opacity .3s;
  }
  .apercu:hover .apercu-indice, .apercu:focus-visible .apercu-indice, .apercu-connu .apercu-indice { opacity: 0; }
}

/* --------------------------------------------------------------------------
   PC4GAMER et Saphan : grandes rangées, la boîte suit le défilement
   -------------------------------------------------------------------------- */
.pilier { border-top: 1px solid var(--line); overflow-x: clip; }
.pilier-int { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; padding: var(--sec) 0; }
@media (min-width: 900px) { .pilier-int { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.parallax { position: relative; transform: translateY(var(--py, 0px)); will-change: transform; }
.parallax::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: 12% -8% -16% -8%;
  background: radial-gradient(55% 55% at 50% 55%, var(--halo) 0%, transparent 70%);
}
.cadre {
  display: block; position: relative; overflow: hidden;
  border-radius: var(--r); background: var(--surface); border: 1px solid var(--line-2);
  box-shadow: var(--shadow-2), inset 0 1px 0 var(--reflet);
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .5s var(--ease), box-shadow .5s, border-color .4s;
}
.cadre:hover { border-color: var(--brand-soft-2); }
.cadre-barre { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.cadre-barre .pt { width: 9px; height: 9px; }
.cadre-url {
  margin-left: 10px; flex: 1; min-width: 0; height: 24px;
  display: flex; align-items: center; justify-content: center; padding: 0 10px;
  border-radius: 7px; background: var(--surface); border: 1px solid var(--line);
  font-size: .76rem; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cadre .apercu-defilant { aspect-ratio: 16 / 10; }
.pilier-texte .kicker { margin-bottom: .8rem; }
.pilier-texte h2 { margin: 0 0 1rem; }
.pilier-texte .texte { max-width: 36em; }

/* --------------------------------------------------------------------------
   Les autres sites : cartes compactes, l'aperçu à gauche remplit toute sa colonne
   -------------------------------------------------------------------------- */
.autres { border-top: 1px solid var(--line); padding: var(--sec) 0; overflow-x: clip; }
.etab-grille { display: grid; gap: 20px; }
@media (min-width: 1024px) {
  .etab-grille { grid-template-columns: 1fr 1fr; }
  .etab-grille > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .etab-grille > li:last-child:nth-child(odd) .etab { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .etab-grille > li:last-child:nth-child(odd) .etab-corps { padding: clamp(24px, 3vw, 40px); }
}
.etab {
  position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); height: 100%;
  overflow: hidden; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-1), inset 0 1px 0 var(--reflet);
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .4s var(--ease), box-shadow .4s, border-color .3s;
}
.etab:hover { box-shadow: var(--shadow-2); border-color: var(--brand-soft-2); }
/* La boîte de gauche : barre fine, puis la capture longue qui remplit toute la hauteur de la carte. */
.etab-img {
  position: relative; z-index: 1; display: grid; grid-template-rows: auto minmax(0, 1fr); min-height: 0;
  overflow: hidden; background: var(--surface-2); border-right: 1px solid var(--line);
}
.etab-img .mini-barre { height: 22px; padding: 0 9px; }
.etab-img .apercu-defilant > img { position: absolute; left: 0; top: 0; }
.etab-corps { padding: clamp(18px, 2.4vw, 28px); display: flex; flex-direction: column; align-items: flex-start; }
.etab-corps .kicker { margin-bottom: .7rem; }
.etab-corps .marque-ligne { margin-bottom: .9rem; }
.etab-corps .marque-ligne > .lm { width: 36px; height: 36px; }
.etab-corps .marque-ligne strong { font-size: 1rem; }
.etab-corps h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.etab-corps .texte { font-size: .95rem; }
.etab-corps .puces { margin: .9rem 0 1.1rem; }
.etab-corps .puces li { font-size: .74rem; padding: .3rem .62rem; }
.etab-corps .actions { margin-top: auto; }
/* toute la carte mène au site : le bouton s'étend sur elle (l'aperçu, au-dessus, garde sa molette et son clic) */
.etab-corps .btn::after { content: ""; position: absolute; inset: 0; }
.etab-corps .btn-marque:hover { transform: none; }
@media (max-width: 639px) {
  .etab { grid-template-columns: 1fr; }
  .etab-img { border-right: 0; border-bottom: 1px solid var(--line); }
  .etab-img .apercu-defilant { aspect-ratio: 16 / 11; }
}

/* --------------------------------------------------------------------------
   Contact : le bleu de la marque, en matière — la seule bande colorée, dans les deux thèmes
   -------------------------------------------------------------------------- */
.contact {
  position: relative; padding: clamp(26px, 2.8vw, 36px) 0; overflow: hidden; isolation: isolate; color: #fff;
  background: linear-gradient(160deg, #0C5FBF 0%, #0051A8 48%, #003F85 100%);
}
.contact::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 90% at 86% 8%, rgba(255, 255, 255, .17) 0%, transparent 60%),
    radial-gradient(45% 70% at 6% 100%, rgba(0, 0, 0, .22) 0%, transparent 60%);
}
.contact::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--grain); background-size: 220px 220px; opacity: .11;
}
html[data-fond="degrade"] .contact::after { display: none; }
html[data-fond="uni"] .contact { background: #0051A8; }
html[data-fond="uni"] .contact::before, html[data-fond="uni"] .contact::after { display: none; }
.contact h2 { color: #fff; }
.contact .kicker { color: rgba(255, 255, 255, .84); }
.contact .sous { margin: .9rem 0 1.6rem; max-width: 34em; font-size: 1.1rem; color: rgba(255, 255, 255, .9); }
.contact-int { display: grid; gap: 28px; }
@media (min-width: 900px) { .contact-int { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; } }
.note-contact { margin-top: .9rem; font-size: .86rem; color: rgba(255, 255, 255, .78); }
.reseaux { display: flex; gap: 10px; flex-wrap: wrap; }
@media (min-width: 900px) { .reseaux { justify-content: flex-end; } }
.contact :focus-visible { outline-color: #fff; }

/* --------------------------------------------------------------------------
   Pied de page : marine dans le thème sombre, pâle dans le thème clair
   -------------------------------------------------------------------------- */
.pied { background: var(--pied-bg); color: var(--pied-ink-2); padding: clamp(32px, 4vw, 48px) 0 24px; border-top: 1px solid var(--pied-line); }
.pied-haut { display: grid; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--pied-line); }
@media (min-width: 800px) { .pied-haut { grid-template-columns: 1.2fr 1.6fr .8fr; } }
.pied-logo { display: inline-block; }
.pied-logo img { width: 200px; height: 25px; object-fit: contain; }
.pied .devise { margin-top: 14px; max-width: 24em; font-size: .95rem; color: var(--pied-ink-3); }
.pied-titre { margin: 0 0 14px; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--pied-ink); }
.pied-liste li + li { margin-top: 9px; }
@media (min-width: 600px) { .pied-liste-2 { columns: 2; column-gap: 28px; } .pied-liste-2 li { break-inside: avoid; } .pied-liste-2 li + li { margin-top: 0; } .pied-liste-2 li { padding-bottom: 9px; } }
.pied-liste a { display: inline-flex; align-items: center; gap: 9px; font-size: .95rem; color: var(--pied-ink-2); transition: color .2s; }
.pied-liste a:hover { color: var(--pied-ink); }
.pied-liste svg { width: 12px; height: 12px; color: var(--pied-accent); flex: none; }
.pied-liste .lm { width: 16px; height: 16px; }
.pied-bas { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between; padding-top: 20px; font-size: .86rem; color: var(--pied-ink-3); }
.pied-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.pied-bas a:hover { color: var(--pied-ink); }
.pied :focus-visible { outline-color: var(--pied-accent); }

/* --------------------------------------------------------------------------
   La porte : jolie redirection vers un site
   -------------------------------------------------------------------------- */
.porte {
  position: fixed; inset: 0; z-index: 100; isolation: isolate;
  display: grid; place-items: center;
  background: linear-gradient(160deg, #0C5FBF 0%, #0051A8 48%, #003F85 100%); color: #fff;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s ease-out, visibility 0s linear .22s;
}
.porte.ouverte { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .2s ease-out; }
.porte::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 80% at 80% 10%, rgba(255, 255, 255, .16) 0%, transparent 60%);
}
.porte::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); background-size: 220px 220px; opacity: .11; }
html[data-fond="uni"] .porte::after, html[data-fond="degrade"] .porte::after { display: none; }
.porte-coeur { position: relative; display: grid; justify-items: center; gap: 18px; text-align: center; padding: 16px; }
.porte-forme {
  width: 112px; height: 112px; display: grid; place-items: center; border-radius: 32px; overflow: hidden;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .35);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.porte-forme .lm { width: 76px; height: 76px; background: transparent; box-shadow: none; }
.porte-forme img.produit-porte { width: 100%; height: 100%; object-fit: cover; }
.porte-texte { font-size: clamp(1.3rem, 1rem + 1.4vw, 1.9rem); font-weight: 600; letter-spacing: -.01em; }
.porte.ouverte .porte-coeur { animation: porte-in .5s var(--ease) both; }
@keyframes porte-in { from { opacity: 0; transform: scale(.8) translateY(10px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   Page 404
   -------------------------------------------------------------------------- */
.page-404 { padding: clamp(80px, 14vw, 160px) 0 clamp(80px, 12vw, 140px); min-height: 60vh; }
.page-404 .accroche { margin: 1.25rem 0 2rem; max-width: 34em; font-size: 1.15rem; }

/* --------------------------------------------------------------------------
   Apparitions au défilement
   -------------------------------------------------------------------------- */
.js .rv { opacity: 0; transform: translateY(20px); transition: opacity .6s ease-out var(--d, 0s), transform .75s var(--ease) var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Mouvement réduit : tout visible, rien ne bouge (les aperçus restent en haut, site.js ne les fait pas glisser)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
  .parallax { transform: none; }
  .defile, .defile.anime-ok { overflow-x: auto; overflow-y: hidden; -webkit-mask-image: none; mask-image: none; }
}
