/* =========================================================
   MW HOSTING — VERSION UNE PAGE
   Couleurs : modifiez uniquement les deux blocs ci-dessous.
   ========================================================= */

/* ---------- Mode clair ---------- */
:root {
  color-scheme: light;
  --primary:      #1a2a4a;   /* bleu profond : titres, boutons */
  --primary-ink:  #f5f7fc;   /* texte posé sur --primary */
  --accent:       #6b8dc4;   /* bleu pastel : accents */
  --accent-soft:  rgba(107, 141, 196, .14);
  --bg:           #f5f7fc;   /* blanc doux : fond */
  --bg-alt:       #eaeff8;
  --surface:      #ffffff;
  --line:         #dbe3f0;
  --text:         #1a2a4a;
  --muted:        #55678a;
  --band:         #1a2a4a;   /* fond de la bande de fonctionnalités */
  --band-ink:     #f5f7fc;
  --hero-from:    #e6edf8;
  --hero-to:      #f5f7fc;
  --particle:     26, 42, 74;   /* couleur des particules (R, G, B) */
  --shadow:       0 24px 50px -28px rgba(26, 42, 74, .35);
}

/* ---------- Mode sombre ---------- */
:root[data-theme="dark"] {
  color-scheme: dark;
  --primary:      #8baad4;
  --primary-ink:  #0d1b2a;
  --accent:       #8baad4;
  --accent-soft:  rgba(139, 170, 212, .14);
  --bg:           #0d1b2a;
  --bg-alt:       #102236;
  --surface:      #132a40;
  --line:         #1f3b58;
  --text:         #e7eef8;
  --muted:        #94a9c6;
  --band:         #132a40;
  --band-ink:     #e7eef8;
  --hero-from:    #0d1b2a;
  --hero-to:      #12263d;
  --particle:     139, 170, 212;
  --shadow:       0 24px 50px -28px rgba(0, 0, 0, .7);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Red Hat Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  transition: background-color .35s ease, color .35s ease;
}
h1, h2, h3 { font-family: "Red Hat Display", system-ui, sans-serif; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
section[id] { scroll-margin-top: 72px; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.section { padding-block: 110px; }
.section-intro { max-width: 600px; margin-bottom: 52px; }
.section-intro h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 700; }
.section-intro p { color: var(--muted); font-size: 1.08rem; margin: 0; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 24px; border-radius: 12px;
  font-weight: 600; font-size: .98rem; border: 1px solid transparent; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn--primary { background: var(--primary); color: var(--primary-ink); box-shadow: 0 10px 24px -12px var(--primary); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px var(--primary); }
.btn--ghost { border-color: var(--line); background: color-mix(in srgb, var(--surface) 70%, transparent); }
.btn--ghost:hover { border-color: var(--accent); }
.btn--small { height: 42px; padding: 0 18px; font-size: .92rem; border-radius: 10px; }

/* ---------- En-tête ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
  border-bottom: 1px solid transparent;
}
.header.is-solid {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-color: var(--line);
}
.header__bar { height: 72px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: "Red Hat Display", sans-serif; font-weight: 800; font-size: 1.2rem; }
.brand__mark {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--primary); color: var(--primary-ink);
  font-size: .82rem; letter-spacing: .02em;
}
.brand > span:not(.brand__mark) { font-weight: 500; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__item { position: relative; }
.nav__link, .nav__trigger {
  display: inline-flex; align-items: center; gap: 7px;
  height: 40px; padding: 0 14px; border-radius: 10px;
  border: 0; background: none; cursor: pointer;
  color: var(--muted); font-weight: 500; font-size: .95rem;
  transition: color .2s, background-color .2s;
}
.nav__link:hover, .nav__trigger:hover, .nav__trigger[aria-expanded="true"], .nav__link[aria-current="page"] { color: var(--text); background: var(--accent-soft); }
.nav__trigger i { font-size: .7rem; transition: transform .25s; }
.nav__trigger[aria-expanded="true"] i { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%;
  width: 360px; padding: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translate(-50%, -6px);
  transition: opacity .2s, transform .2s, visibility 0s .2s;
}
.dropdown::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; } /* pont pour la souris */
.dropdown.is-open { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .2s, transform .2s; }
.dd-item { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 12px; transition: background-color .2s; }
.dd-item:hover { background: var(--accent-soft); }
.dd-item i { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.dd-item strong { display: block; font-weight: 600; font-size: .95rem; color: var(--text); }
.dd-item small { color: var(--muted); font-size: .84rem; }
.dd-item em { margin-left: auto; font-style: normal; font-size: .82rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.dd-all { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; padding: 12px 12px 6px; border-top: 1px solid var(--line); font-size: .9rem; font-weight: 600; color: var(--accent); }
.header__actions { display: flex; align-items: center; gap: 10px; }
.header .menu-btn { display: none; }

/* Menu mobile (placé hors de l'en-tête pour couvrir tout l'écran) */
.drawer { position: fixed; inset: 72px 0 0; z-index: 49; background: var(--bg); overflow-y: auto; padding: 12px 20px 40px; display: none; }
.drawer.is-open { display: block; }
.drawer details { border-bottom: 1px solid var(--line); }
.drawer summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary i { font-size: .8rem; color: var(--muted); transition: transform .25s; }
.drawer details[open] summary i { transform: rotate(180deg); }
.drawer .dd-item { padding: 10px 0; }
.drawer__links { display: grid; padding: 12px 0; border-bottom: 1px solid var(--line); }
.drawer__links a { padding: 12px 0; font-weight: 700; }
.drawer__actions { display: grid; gap: 10px; padding-top: 20px; }
.theme-btn {
  width: 42px; height: 42px; border-radius: 12px; cursor: pointer;
  display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
  transition: border-color .2s, transform .3s;
}
.theme-btn:hover { border-color: var(--accent); }

/* ---------- Héro ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: min(860px, 100vh);
  display: flex; align-items: center;
  padding-block: 140px 100px;
  background: linear-gradient(160deg, var(--hero-from), var(--hero-to));
}
.hero__canvas { position: absolute; inset: -10% 0 0 0; width: 100%; height: 120%; will-change: transform; }
.hero__glow {
  position: absolute; width: 720px; height: 720px; right: -200px; top: -160px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 30%, transparent), transparent 62%);
  will-change: transform; pointer-events: none;
}
.hero__content { position: relative; z-index: 1; will-change: transform, opacity; }
.hero__since {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; border-radius: 99px;
  background: var(--accent-soft); color: var(--text);
  font-size: .88rem; font-weight: 500; margin-bottom: 28px;
}
.hero__since i { color: var(--accent); }
.hero h1 { font-size: clamp(2.7rem, 7vw, 5.4rem); font-weight: 800; max-width: 12ch; letter-spacing: -.03em; margin-bottom: 24px; }
.hero__lead { color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.22rem); max-width: 52ch; margin-bottom: 38px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 1;
  width: 26px; height: 42px; border-radius: 14px; border: 2px solid var(--line);
  display: flex; justify-content: center; padding-top: 7px;
}
.hero__scroll::before { content: ""; width: 4px; height: 8px; border-radius: 2px; background: var(--accent); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Catalogue ---------- */
.catalog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 28px 24px 24px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
/* Halo qui suit la souris */
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx) var(--my), var(--accent-soft), transparent 60%);
  opacity: 0; transition: opacity .35s ease;
}
.card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card__icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center; font-size: 1.45rem;
  background: var(--accent-soft); color: var(--accent);
  margin-bottom: 22px;
  transition: transform .35s ease, background-color .35s ease, color .35s ease;
}
.card:hover .card__icon { transform: rotate(-6deg) scale(1.06); background: var(--primary); color: var(--primary-ink); }
.card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 6px; }
.card__desc { color: var(--muted); font-size: .94rem; margin-bottom: 20px; }
.card:not(.card--wide) .card__desc { min-height: 4.95em; } /* aligne les caractéristiques d'une carte à l'autre */
@media (max-width: 620px) { .card:not(.card--wide) .card__desc { min-height: 0; } }
.specs { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.specs li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.specs li i { width: 18px; text-align: center; color: var(--accent); }
.specs li span { color: var(--muted); }
.specs li b { margin-left: auto; font-weight: 600; }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card__price { font-size: .86rem; color: var(--muted); }
.card__price b { display: block; color: var(--text); font-family: "Red Hat Display", sans-serif; font-size: 1.25rem; }

/* Cartes larges : web et bot Discord */
.card--wide { grid-column: span 2; flex-direction: row; gap: 28px; align-items: flex-start; }
.card--wide .card__icon { flex: none; margin-bottom: 0; }
.card--wide .card__body { flex: 1; display: flex; flex-direction: column; height: 100%; }
.langs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.lang {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line);
  font-size: .86rem; font-weight: 500;
}
.lang i { color: var(--accent); }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.tag { font-size: .84rem; padding: 5px 12px; border-radius: 99px; background: var(--bg-alt); color: var(--muted); }

/* ---------- Bande de fonctionnalités ---------- */
.band { background: var(--band); color: var(--band-ink); padding-block: 56px; position: relative; overflow: hidden; }
.band__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.feature { display: flex; gap: 16px; align-items: flex-start; padding: 8px 28px; border-left: 1px solid color-mix(in srgb, var(--band-ink) 16%, transparent); }
.feature:first-child { border-left: 0; padding-left: 0; }
.feature i {
  flex: none; width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center; font-size: 1.15rem;
  background: color-mix(in srgb, var(--band-ink) 10%, transparent);
  color: #b9cbe6;
  transition: transform .3s ease;
}
:root[data-theme="dark"] .feature i { color: var(--accent); }
.feature:hover i { transform: translateY(-3px); }
.feature h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.feature p { margin: 0; font-size: .9rem; opacity: .75; }

/* ---------- Tarifs ---------- */
.pricing-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.pricing-head .section-intro { margin-bottom: 0; }
.switcher { display: inline-flex; padding: 5px; gap: 4px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); flex-wrap: wrap; }
.switcher button {
  border: 0; background: none; cursor: pointer;
  height: 40px; padding: 0 16px; border-radius: 10px;
  color: var(--muted); font-weight: 600; font-size: .92rem;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background-color .2s, color .2s;
}
.switcher button:hover { color: var(--text); }
.switcher button[aria-pressed="true"] { background: var(--primary); color: var(--primary-ink); }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.tier {
  display: flex; flex-direction: column;
  padding: 32px 28px 28px; border-radius: 22px;
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.tier:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tier--featured { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); transform: translateY(-10px); }
.tier--featured:hover { transform: translateY(-14px); }
.tier__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.tier h3 { font-size: 1.35rem; font-weight: 700; margin: 0; }
.tier__badge { font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: color-mix(in srgb, var(--primary-ink) 18%, transparent); }
.tier__for { font-size: .92rem; opacity: .75; margin-bottom: 24px; }
.tier__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 26px; }
.tier__price strong { font-family: "Red Hat Display", sans-serif; font-size: 2.8rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; transition: opacity .2s; }
.tier__price span { opacity: .7; }
.tier ul { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 14px; }
.tier li { display: flex; align-items: center; gap: 12px; font-size: .96rem; }
.tier li i { width: 20px; text-align: center; color: var(--accent); }
.tier--featured li i { color: inherit; opacity: .85; }
.tier li b { font-weight: 700; }
.tier .btn { margin-top: auto; width: 100%; }
.tier--featured .btn { background: var(--primary-ink); color: var(--primary); box-shadow: none; }
.tier:not(.tier--featured) .btn { background: transparent; color: var(--text); border-color: var(--line); box-shadow: none; }
.tier:not(.tier--featured) .btn:hover { border-color: var(--accent); }
.pricing-note { margin-top: 28px; color: var(--muted); font-size: .9rem; text-align: center; }
.is-swapping { opacity: .25; }

/* ---------- Témoignages ---------- */
.reviews { background: var(--bg-alt); }
.carousel { position: relative; max-width: 860px; margin-inline: auto; }
.carousel__viewport { overflow: hidden; border-radius: 24px; }
.carousel__track { display: flex; transition: transform .6s cubic-bezier(.22, .8, .24, 1); }
.slide { flex: 0 0 100%; margin: 0; padding: 48px 56px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; }
.slide__quote { font-size: 2rem; color: var(--accent); margin-bottom: 18px; }
.slide blockquote { margin: 0 0 30px; font-family: "Red Hat Display", sans-serif; font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 500; line-height: 1.5; }
.slide__who { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: var(--primary-ink); font-weight: 700; }
.slide__who strong { display: block; }
.slide__who small { color: var(--muted); }
.example-tag { margin-left: auto; font-size: .78rem; padding: 4px 10px; border-radius: 99px; border: 1px dashed var(--accent); color: var(--muted); }
.carousel__controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 28px; }
.round-btn {
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--surface);
  transition: border-color .2s, transform .2s;
}
.round-btn:hover { border-color: var(--accent); transform: scale(1.06); }
.dots { display: flex; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 99px; border: 0; padding: 0; cursor: pointer; background: var(--line); transition: width .3s ease, background-color .3s ease; }
.dot[aria-current="true"] { width: 28px; background: var(--accent); }

/* ---------- Pied de page ---------- */
.footer { padding-block: 72px 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 48px; }
.footer h4 { color: var(--text); font-family: "Red Hat Display", sans-serif; font-size: 1rem; margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer a { transition: color .2s; }
.footer a:hover { color: var(--text); }
.footer__about p { max-width: 34ch; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; font-size: 1.05rem;
  border: 1px solid var(--line); color: var(--text);
  transition: background-color .25s, color .25s, border-color .25s, transform .25s;
}
.socials a:hover { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); transform: translateY(-3px); }
.footer__legal { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.footer__legal .todo { border-bottom: 1px dashed currentColor; }

/* ---------- Apparition au défilement ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.22, .8, .24, 1); transition-delay: var(--delay, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.tier--featured.reveal.is-visible { transform: translateY(-10px); }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .catalog { grid-template-columns: repeat(2, 1fr); }
  .band__grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .feature:nth-child(3) { border-left: 0; padding-left: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .header__actions { margin-left: auto; }
  .header .menu-btn { display: grid; }
  .tiers { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .tier--featured, .tier--featured.reveal.is-visible { transform: none; }
  .tier--featured:hover { transform: translateY(-6px); }
}
@media (max-width: 620px) {
  .section { padding-block: 80px; }
  .catalog { grid-template-columns: 1fr; }
  .card--wide { grid-column: auto; flex-direction: column; gap: 0; }
  .card--wide .card__icon { margin-bottom: 22px; }
  .band__grid { grid-template-columns: 1fr; }
  .feature { border-left: 0; padding-left: 0; }
  .slide { padding: 32px 26px; }
  .example-tag { margin-left: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .header__actions .btn { display: none; }
  .drawer__actions .btn { display: inline-flex; }
  .hero { padding-block: 120px 90px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   PAGES INTÉRIEURES (catalogue, produits, légal)
   ========================================================= */

/* ---------- Haut de page intérieur ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding-block: 140px 72px;
  background: linear-gradient(160deg, var(--hero-from), var(--hero-to));
  border-bottom: 1px solid var(--line);
}
.page-hero .hero__canvas { opacity: .7; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -.025em; margin-bottom: 16px; }
.page-hero__lead { color: var(--muted); font-size: 1.12rem; max-width: 60ch; margin: 0; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .88rem; color: var(--muted); margin-bottom: 26px; }
.crumbs a:hover { color: var(--text); }
.crumbs i { font-size: .6rem; opacity: .6; }

/* ---------- Catalogue : barre d'outils ---------- */
.toolbar {
  display: grid; grid-template-columns: minmax(220px, 1fr) auto auto; gap: 14px; align-items: center;
  padding: 14px; margin-top: -36px; position: relative; z-index: 2;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
}
.search { position: relative; }
.search i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search input {
  width: 100%; height: 48px; padding: 0 16px 0 44px;
  border-radius: 12px; border: 1px solid var(--line); background: var(--bg);
  color: var(--text); font: inherit; outline: none; transition: border-color .2s;
}
.search input:focus { border-color: var(--accent); }
.search input::placeholder { color: var(--muted); }
.select {
  height: 48px; padding: 0 42px 0 16px; border-radius: 12px; border: 1px solid var(--line);
  background-color: var(--bg); color: var(--text); font: inherit; cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a9c6' stroke-width='2.2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
.select:focus { outline: none; border-color: var(--accent); }
.result-count { color: var(--muted); font-size: .92rem; margin: 26px 0 0; }

.cat-group { margin-top: 56px; }
.cat-group[hidden] { display: none; }
.cat-group__head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.cat-group__head i { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--primary); color: var(--primary-ink); }
.cat-group__head h2 { font-size: 1.5rem; margin: 0; }
.cat-group__head p { margin: 0; color: var(--muted); font-size: .92rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card[hidden] { display: none; }
.card__cat { position: absolute; top: 24px; right: 22px; font-size: .78rem; color: var(--muted); }

.empty { text-align: center; padding: 64px 20px; border: 1px dashed var(--line); border-radius: 20px; margin-top: 40px; color: var(--muted); }
.empty[hidden] { display: none; }
.empty i { font-size: 1.6rem; color: var(--accent); margin-bottom: 12px; }
.empty strong { display: block; color: var(--text); font-size: 1.1rem; margin-bottom: 6px; }

/* ---------- Tableau comparatif ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .95rem; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: "Red Hat Display", sans-serif; font-size: .9rem; color: var(--muted); font-weight: 600; background: var(--bg-alt); }
.compare tbody tr:last-child td, .compare tbody tr:last-child th { border-bottom: 0; }
.compare tbody tr { transition: background-color .2s; }
.compare tbody tr:hover { background: var(--accent-soft); }
.compare tbody th { font-weight: 600; }
.compare tbody th a { display: inline-flex; align-items: center; gap: 12px; }
.compare tbody th a:hover { color: var(--accent); }
.compare tbody th i { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: .9rem; }
.compare td { font-variant-numeric: tabular-nums; }
.compare td b { font-weight: 700; }
.compare td small { color: var(--muted); display: block; font-size: .8rem; }
.compare .is-col-featured { background: color-mix(in srgb, var(--accent) 8%, transparent); }
.compare .check { color: var(--accent); }

/* ---------- Page produit ---------- */
.p-hero__grid { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: end; }
.p-hero__title { display: flex; align-items: center; gap: 20px; margin-bottom: 18px; }
.p-hero__icon { width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; font-size: 2rem; background: var(--primary); color: var(--primary-ink); flex: none; }
.p-hero__title h1 { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip { font-size: .84rem; padding: 6px 13px; border-radius: 99px; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 70%, transparent); color: var(--muted); }
.p-summary { padding: 26px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.p-summary small { color: var(--muted); }
.p-summary .amount { font-family: "Red Hat Display", sans-serif; font-size: 2.6rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin: 2px 0 18px; }
.p-summary .amount span { font-size: 1rem; font-weight: 500; color: var(--muted); }
.p-summary ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; font-size: .93rem; }
.p-summary li { display: flex; gap: 10px; align-items: center; }
.p-summary li i { color: var(--accent); width: 18px; text-align: center; }
.p-summary .btn { width: 100%; }
.p-summary .btn + .btn { margin-top: 10px; }

.switcher small { font-size: .74rem; opacity: .8; }
.tier__billing { font-size: .84rem; opacity: .72; margin: -18px 0 24px; min-height: 2.6em; line-height: 1.5; }
.tier__billing s { margin-right: 6px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat { padding: 26px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); transition: border-color .3s, transform .3s; }
.feat:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); transform: translateY(-4px); }
.feat i { font-size: 1.3rem; color: var(--accent); margin-bottom: 16px; display: block; }
.feat h3 { font-size: 1.1rem; margin-bottom: 6px; }
.feat p { color: var(--muted); font-size: .94rem; margin: 0; }

.included { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 32px; }
.included li { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.included li i { color: var(--accent); }

.faq { max-width: 820px; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 0 22px; transition: border-color .25s; }
.faq details[open] { border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { color: var(--accent); transition: transform .25s; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: -4px 0 20px; }

.cta-band {
  display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap;
  padding: 44px; border-radius: 26px;
  background: var(--band); color: var(--band-ink);
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 6px; }
.cta-band p { margin: 0; opacity: .75; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn--primary { background: var(--band-ink); color: var(--band); box-shadow: none; }
:root[data-theme="dark"] .cta-band .btn--primary { background: var(--accent); color: var(--primary-ink); }
.cta-band .btn--ghost { color: var(--band-ink); border-color: color-mix(in srgb, var(--band-ink) 30%, transparent); background: transparent; }
.alt { background: var(--bg-alt); }
.section--tight { padding-block: 80px; }

/* ---------- Pages légales ---------- */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.3rem; margin-top: 40px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 20px; }
.legal a { color: var(--accent); }
.legal .todo { background: color-mix(in srgb, #e0a83a 18%, transparent); color: inherit; padding: 1px 6px; border-radius: 4px; font-weight: 600; }
.legal .notice { border: 1px dashed var(--accent); background: var(--accent-soft); border-radius: 14px; padding: 16px 20px; color: var(--text); margin: 0 0 8px; }

/* ---------- Responsive (pages intérieures) ---------- */
@media (max-width: 1040px) {
  .grid-3, .features { grid-template-columns: repeat(2, 1fr); }
  .included { grid-template-columns: repeat(2, 1fr); }
  .p-hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .p-summary { max-width: 420px; }
}
@media (max-width: 760px) {
  .toolbar { grid-template-columns: 1fr 1fr; }
  .toolbar .search { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .grid-3, .features, .included { grid-template-columns: 1fr; }
  .toolbar { grid-template-columns: 1fr; }
  .page-hero { padding-block: 120px 64px; }
  .p-hero__icon { width: 56px; height: 56px; font-size: 1.5rem; border-radius: 16px; }
  .cta-band { padding: 30px; }
}

/* Ajustements des listes d'offres et liens */
.tier li > span { opacity: .8; }
.tier li > b { margin-left: auto; }
a.lang { transition: border-color .2s, color .2s; }
a.lang:hover { border-color: var(--accent); color: var(--accent); }
.dd-item[aria-current="page"] { background: var(--accent-soft); }
.home-more { display: flex; justify-content: center; margin-top: 36px; }
.text-link { color: var(--accent); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.text-link i { font-size: .75rem; transition: transform .2s; }
.text-link:hover i { transform: translateX(3px); }

/* =========================================================
   V3 — ICÔNES COLORÉES, IMAGES, SECTIONS D'ACCUEIL
   ========================================================= */

/* ---------- Icône colorée (couleur du service via --c) ---------- */
.ico {
  --c: var(--accent);
  flex: none; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 13px;
  color: #fff; font-size: 1.05rem;
  background: linear-gradient(140deg, color-mix(in srgb, var(--c) 92%, #fff), color-mix(in srgb, var(--c) 72%, #000));
  box-shadow: 0 8px 18px -8px var(--c), inset 0 1px 0 rgba(255,255,255,.25);
}
.ico--sm { width: 34px; height: 34px; border-radius: 10px; font-size: .88rem; }
.ico--lg { width: 64px; height: 64px; border-radius: 18px; font-size: 1.6rem; }
.ico--xl { width: 78px; height: 78px; border-radius: 22px; font-size: 2rem; }
.dd-item .ico { width: 40px; height: 40px; border-radius: 12px; }
.compare tbody th .ico { width: 32px; height: 32px; border-radius: 9px; font-size: .85rem; }

/* ---------- Cartes avec image ---------- */
.card--media { padding-top: 0; }
.card__media { position: relative; margin: 0 -24px 0; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--line); }
.card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.card--media:hover .card__media img { transform: scale(1.05); }
.card--media .ico { margin: -24px 0 16px; position: relative; z-index: 1; border: 3px solid var(--surface); box-sizing: content-box; }
.pill-ddos {
  position: absolute; top: 12px; left: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 99px; font-size: .74rem; font-weight: 600;
  background: rgba(10, 18, 32, .62); color: #fff; backdrop-filter: blur(6px);
}
.pill-ddos i { color: #7ee2a8; }
.card--media .card__cat { top: auto; bottom: auto; right: 22px; margin-top: 14px; position: absolute; }

/* ---------- Héro scindé avec maquette ---------- */
.hero--split { min-height: auto; padding-block: 150px 110px; }
.hero--split .hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.hero--split h1 { font-size: clamp(2.5rem, 5.2vw, 4.2rem); max-width: 14ch; }
.hero__from { margin-top: 26px; color: var(--muted); font-size: .95rem; }
.hero__from b { color: var(--text); font-family: "Red Hat Display", sans-serif; font-size: 1.25rem; }

.mock {
  position: relative; border-radius: 20px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 40px 90px -40px color-mix(in srgb, var(--accent) 70%, #000);
  transform: perspective(1400px) rotateY(-7deg) rotateX(3deg);
  transition: transform .6s ease;
}
.mock:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.mock__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock__bar span { margin-left: 10px; font-size: .78rem; color: var(--muted); }
.mock__body { display: grid; grid-template-columns: 156px 1fr; min-height: 360px; }
.mock__side { padding: 14px 10px; border-right: 1px solid var(--line); display: grid; gap: 3px; align-content: start; font-size: .82rem; color: var(--muted); }
.mock__side div { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; }
.mock__side div i { width: 14px; text-align: center; font-size: .8rem; }
.mock__side .on { background: var(--accent-soft); color: var(--text); font-weight: 600; }
.mock__main { padding: 18px; display: grid; gap: 12px; align-content: start; }
.mock__row { display: flex; justify-content: space-between; align-items: baseline; }
.mock__row h4 { margin: 0; font-family: "Red Hat Display", sans-serif; font-size: 1rem; }
.mock__row small { color: var(--muted); font-size: .78rem; }
.srv { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 11px 12px; border: 1px solid var(--line); border-radius: 13px; background: var(--bg); }
.srv strong { display: block; font-size: .88rem; }
.srv small { color: var(--muted); font-size: .76rem; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 600; color: #2fbf71; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: pulse 2.2s infinite; }
.status--warn { color: #e0a83a; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 55%, transparent); } 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.mock__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mock__stat { padding: 12px; border: 1px solid var(--line); border-radius: 13px; background: var(--bg); font-size: .76rem; color: var(--muted); }
.mock__stat b { display: block; color: var(--text); font-family: "Red Hat Display", sans-serif; font-size: 1.1rem; margin: 2px 0 8px; }
.bar { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--v, 40%); background: linear-gradient(90deg, var(--accent), #5ec8e5); border-radius: inherit; }
.mock__toast {
  position: absolute; right: 16px; top: 54px;
  display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: .8rem;
  animation: toast 7s ease-in-out infinite;
}
.mock__toast i { color: #2fbf71; }
@keyframes toast { 0%, 14% { opacity: 0; transform: translateY(-8px); } 22%, 78% { opacity: 1; transform: none; } 88%, 100% { opacity: 0; transform: translateY(-8px); } }

/* ---------- Vignettes illustrées (carrousel) ---------- */
.tiles-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.tiles-head .section-intro { margin-bottom: 0; }
.tiles-ctrl { display: flex; align-items: center; gap: 10px; }
.tiles-ctrl .text-link { margin-right: 8px; }
.tile__img { position: relative; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-alt); }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.tile__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(8, 14, 26, .75)); }
.tile .ico { position: absolute; left: 16px; bottom: 16px; z-index: 1; }
.tile__go {
  position: absolute; right: 16px; bottom: 16px; z-index: 1;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: #1a2a4a; font-size: .85rem;
  opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .3s;
}
.tile:hover .tile__img img { transform: scale(1.07); }
.tile:hover .tile__go { opacity: 1; transform: none; }
.tile h3 { font-size: 1.15rem; margin: 16px 0 2px; }
.tile p { margin: 0; color: var(--muted); font-size: .92rem; }

/* ---------- Blocs produits alternés ---------- */
.showcase { display: grid; gap: 110px; }
.show { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.show:nth-child(even) .show__text { order: 2; }
.show__kicker { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; font-weight: 600; color: var(--muted); }
.show h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.show__text > p { color: var(--muted); font-size: 1.05rem; }
.show ul { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 11px; }
.show li { display: flex; gap: 12px; align-items: center; }
.show li i { color: var(--accent); }
.show__foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.show__price { margin-right: 10px; color: var(--muted); font-size: .92rem; }
.show__price b { display: block; font-family: "Red Hat Display", sans-serif; font-size: 1.7rem; color: var(--text); line-height: 1.1; }
.show__visual { position: relative; }
.show__visual > img { width: 100%; border-radius: 24px; border: 1px solid var(--line); box-shadow: var(--shadow); display: block; aspect-ratio: 16 / 10; object-fit: cover; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  font-size: .86rem; animation: bob 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: .92rem; }
.float-card small { color: var(--muted); }
.float-card--a { left: -24px; bottom: 28px; }
.float-card--b { right: -20px; top: 26px; animation-delay: -3s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }


/* ---------- Offres à la une ---------- */
.offers3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.offer {
  --c: var(--accent);
  position: relative; display: flex; flex-direction: column;
  border-radius: 22px; border: 1px solid var(--line); background: var(--surface); overflow: hidden;
  transition: transform .35s, box-shadow .35s, border-color .35s;
}
.offer:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--c) 50%, var(--line)); }
.offer__top { position: relative; height: 120px; overflow: hidden; }
.offer__top img { width: 100%; height: 100%; object-fit: cover; }
.offer__top::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--surface) 92%, transparent)); }
.offer__body { padding: 0 26px 26px; display: flex; flex-direction: column; flex: 1; }
.offer__head { display: flex; align-items: center; gap: 14px; margin: -26px 0 18px; position: relative; z-index: 1; }
.offer__head small { display: block; color: var(--muted); font-size: .82rem; }
.offer__head strong { font-family: "Red Hat Display", sans-serif; font-size: 1.15rem; }
.offer__price { margin-bottom: 18px; }
.offer__price b { font-family: "Red Hat Display", sans-serif; font-size: 2.2rem; font-weight: 800; letter-spacing: -.02em; }
.offer__price span { color: var(--muted); }
.offer ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; font-size: .94rem; }
.offer li { display: flex; align-items: center; gap: 10px; }
.offer li i { color: var(--c); width: 18px; text-align: center; }
.offer .btn { margin-top: auto; }

/* ---------- Pourquoi nous ---------- */

/* ---------- Support ---------- */
.support { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.channels { display: grid; gap: 12px; margin-top: 28px; }
.channel { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); transition: border-color .25s, transform .25s; }
.channel:hover { border-color: var(--accent); transform: translateX(4px); }
.channel strong { display: block; }
.channel span { color: var(--muted); font-size: .9rem; }
.channel > .fa-chevron-right { margin-left: auto; color: var(--muted); font-size: .8rem; }
.chat { padding: 22px; border-radius: 24px; border: 1px solid var(--line); background: var(--surface); display: grid; gap: 12px; box-shadow: var(--shadow); }
.chat__head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.chat__head .status { margin-left: auto; }
.bubble { max-width: 84%; padding: 11px 15px; border-radius: 16px; font-size: .92rem; opacity: 0; transform: translateY(8px); }
.bubble--me { justify-self: end; background: var(--primary); color: var(--primary-ink); border-bottom-right-radius: 5px; }
.bubble--them { background: var(--bg-alt); border-bottom-left-radius: 5px; }
.chat.is-visible .bubble { animation: pop .5s forwards; animation-delay: calc(var(--i) * .8s + .2s); }
@keyframes pop { to { opacity: 1; transform: none; } }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 60%, 100% { opacity: .35; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }

/* ---------- Pied de page : paiements ---------- */
.payments { display: flex; align-items: center; gap: 12px; font-size: 1.6rem; color: var(--muted); }
.payments span { font-size: .85rem; margin-right: 4px; }

/* ---------- Page produit illustrée ---------- */
.p-hero__media { position: relative; }
.p-hero__media img { width: 100%; border-radius: 24px; border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.p-hero__media .float-card { left: -22px; bottom: -22px; }
.p-hero__grid--media { grid-template-columns: 1.05fr 1fr; align-items: center; }
.p-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* ---------- Responsive v3 ---------- */
@media (max-width: 1040px) {
  .hero--split .hero__inner, .show, .support, .p-hero__grid--media { grid-template-columns: 1fr; }
  .show:nth-child(even) .show__text { order: 0; }
  .mock { transform: none; }
  .offers3 { grid-template-columns: 1fr 1fr; }
  .float-card--a { left: 12px; }
  .float-card--b { right: 12px; }
  .p-hero__media .float-card { left: 12px; }
}
@media (max-width: 620px) {
  .offers3 { grid-template-columns: 1fr; }
  .mock__body { grid-template-columns: 1fr; }
  .mock__side { display: none; }
  .tiles-ctrl .text-link { display: none; }
  .float-card { display: none; }
  .hero--split { padding-block: 120px 80px; }
}
@media (prefers-reduced-motion: reduce) {
  .bubble { opacity: 1; transform: none; }
}
/* Les pastilles colorées remplacent les anciennes icônes de la bande */
.feature .ico i { width: auto; height: auto; background: none; border-radius: 0; display: inline-block; color: #fff; font-size: inherit; transform: none; flex: none; }
.feature .ico { width: 46px; height: 46px; font-size: 1.1rem; }
.feature:hover .ico { transform: translateY(-3px); transition: transform .3s; }
:root[data-theme] .feature .ico i { color: #fff; }

/* =========================================================
   V4 — INTERACTIONS ET ANIMATIONS
   ========================================================= */

/* Transitions douces entre les pages (navigateurs compatibles) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }

/* Barre de progression de lecture */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--accent), #5ec8e5, #8b7cf6); }

/* Titre avec mot qui défile */
.rotator { display: block; line-height: 1.3; margin-top: 18px; font-family: "Red Hat Display", sans-serif; font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-weight: 600; color: var(--muted); letter-spacing: -.01em; }
.rotator__word { display: inline-grid; vertical-align: top; overflow: hidden; height: 1.3em; }
.rotator__word span { grid-area: 1 / 1; color: var(--c, var(--accent)); transform: translateY(110%); opacity: 0; transition: transform .55s cubic-bezier(.22,.8,.24,1), opacity .55s; white-space: nowrap; }
.rotator__word span.is-in { transform: none; opacity: 1; }
.rotator__word span.is-out { transform: translateY(-110%); opacity: 0; }

/* Widget de déploiement */
.deploy { position: relative; border-radius: 24px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 40px 90px -40px color-mix(in srgb, var(--accent) 70%, #000); overflow: hidden; }
.deploy__head { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.deploy__head strong { font-family: "Red Hat Display", sans-serif; }
.demo-tag { margin-left: auto; font-size: .74rem; font-weight: 600; padding: 4px 10px; border-radius: 99px; border: 1px dashed var(--accent); color: var(--muted); }
.deploy__body { padding: 20px; display: grid; gap: 18px; }
.deploy__label { display: flex; justify-content: space-between; align-items: baseline; font-size: .86rem; color: var(--muted); margin-bottom: 10px; font-weight: 500; }
.deploy__label output { color: var(--text); font-weight: 700; font-size: 1rem; font-variant-numeric: tabular-nums; }
.games-pick { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.game-opt { display: grid; justify-items: center; gap: 7px; padding: 10px 4px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; font-size: .76rem; font-weight: 600; color: var(--muted); transition: border-color .2s, transform .2s, color .2s, background-color .2s; }
.game-opt .ico { width: 36px; height: 36px; border-radius: 11px; font-size: .9rem; }
.game-opt:hover { transform: translateY(-2px); color: var(--text); }
.game-opt[aria-checked="true"] { border-color: var(--c); color: var(--text); background: color-mix(in srgb, var(--c) 10%, var(--bg)); }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; outline: none; cursor: pointer; background: linear-gradient(var(--accent), var(--accent)) 0 / var(--fill, 30%) 100% no-repeat, var(--line); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--surface); border: 3px solid var(--accent); box-shadow: 0 2px 10px rgba(0,0,0,.25); transition: transform .15s; }
.range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 3px solid var(--accent); }
.range:active::-webkit-slider-thumb { transform: scale(1.15); }
.locs { display: flex; gap: 8px; flex-wrap: wrap; }
.loc { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; font-size: .86rem; color: var(--muted); transition: border-color .2s, color .2s; }
.loc[aria-checked="true"] { border-color: var(--accent); color: var(--text); }
.loc small { color: #2fbf71; font-weight: 600; }
.deploy__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; border-top: 1px solid var(--line); background: var(--bg-alt); }
.deploy__price small { display: block; color: var(--muted); font-size: .78rem; }
.deploy__price b { font-family: "Red Hat Display", sans-serif; font-size: 1.8rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.deploy__price span { color: var(--muted); font-size: .88rem; }
.bump { animation: bump .35s ease; }
@keyframes bump { 40% { transform: scale(1.08); color: var(--accent); } }

/* Écran de déploiement */
.deploy__run {
  position: absolute; inset: 57px 0 0; z-index: 2;
  display: flex; flex-direction: column;
  background: #0b1626; color: #c9d6ea;
  font-family: ui-monospace, "JetBrains Mono", Consolas, monospace; font-size: .84rem;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s;
}
.deploy.is-running .deploy__run { opacity: 1; visibility: visible; transition: opacity .3s; }
.run__log { flex: 1; padding: 20px; overflow: hidden; display: grid; align-content: start; gap: 8px; }
.run__line { display: flex; gap: 10px; align-items: center; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.run__line.is-shown { opacity: 1; transform: none; }
.run__line i { width: 16px; text-align: center; color: #5ec8e5; }
.run__line.is-done i { color: #2fbf71; }
.run__line .spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.run__bar { height: 4px; background: rgba(255,255,255,.08); }
.run__bar i { display: block; height: 100%; width: var(--w, 0%); background: linear-gradient(90deg, #5ec8e5, #2fbf71); transition: width .5s ease; }
.run__done { padding: 18px 20px; display: none; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.08); font-family: "Red Hat Text", sans-serif; }
.deploy.is-done .run__done { display: flex; }
.run__done strong { display: block; color: #fff; font-size: 1rem; }
.run__done code { color: #7ee2a8; font-size: .9rem; }
.run__done .btn { height: 42px; }
.run__done .btn--ghost { color: #c9d6ea; border-color: rgba(255,255,255,.18); background: transparent; }
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 3; }
.confetti i { position: absolute; top: 45%; left: 50%; width: 8px; height: 8px; border-radius: 2px; background: var(--c); animation: burst 1.1s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes burst { to { transform: translate(var(--x), var(--y)) rotate(var(--r)); opacity: 0; } }


/* Vignettes : effet 3D qui suit la souris */
.tile__img { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .4s ease; will-change: transform; }
.tile.is-tilting .tile__img { transition: transform .08s linear; }
.tile__img .glare { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.28), transparent 55%); opacity: 0; transition: opacity .3s; }
.tile:hover .glare { opacity: 1; }

/* Section espace client */
.panel-show { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.panel-show .mock { transform: perspective(1400px) rotateY(6deg) rotateX(2deg); }
.panel-show .mock:hover { transform: none; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks li .ico { width: 38px; height: 38px; border-radius: 11px; font-size: .9rem; }
.checks strong { display: block; }
.checks span { color: var(--muted); font-size: .93rem; }

/* Bouton magnétique (suit légèrement le pointeur) */
.magnetic { transition: transform .25s ease; }

@media (max-width: 1040px) {
  .panel-show { grid-template-columns: 1fr; }
  .panel-show .mock { transform: none; }
}
@media (max-width: 620px) {
  .games-pick { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .game-opt { font-size: 0; padding: 8px 2px; }
  .game-opt .ico { width: 32px; height: 32px; }
  .deploy__foot { flex-direction: column; align-items: stretch; }
  .deploy__foot .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .tile__img { transform: none !important; }
}

/* =========================================================
   V5 — DÉFILEMENTS EN BOUCLE, RÉSEAU, CHIFFRES CLÉS
   ========================================================= */

/* Défilement continu (outils et vignettes) : piloté par initLoop() dans main.js */
.loop {
  overflow: hidden; touch-action: pan-y; cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.loop.is-dragging { cursor: grabbing; }
.loop.is-dragging a { pointer-events: none; }
.loop__track { display: flex; gap: var(--loop-gap, 44px); width: max-content; will-change: transform; }

/* Outils et librairies */
.stack { border-block: 1px solid var(--line); background: var(--bg); padding-block: 18px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; overflow: hidden; }
.stack__row { display: flex; align-items: center; min-width: 0; }
.stack .loop { flex: 1; min-width: 0; padding-block: 8px; }
.stack__item { display: inline-flex; align-items: center; gap: 10px; font-family: "Red Hat Display", sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--muted); white-space: nowrap; transition: color .2s; }
.stack__item i { color: var(--c, var(--accent)); font-size: 1.1rem; }
.stack__item:hover { color: var(--text); }

/* Vignettes de jeux, pleine largeur */
.loop--tiles {
  --loop-gap: 22px; padding-block: 8px 20px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.loop--tiles .tile { flex: 0 0 clamp(220px, 21vw, 290px); }
.loop--tiles img { -webkit-user-drag: none; user-select: none; }

/* Bande « Pourquoi MW Hosting » : engagements + chiffres clés */
.band { padding-block: 72px; }
.band__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 32px; flex-wrap: wrap; margin-bottom: 40px; }
.band__head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0; }
.band__head p { margin: 0; opacity: .75; }
.band__stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; padding-top: 36px;
  border-top: 1px solid color-mix(in srgb, var(--band-ink) 16%, transparent);
}
.kpi {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 18px;
  background: color-mix(in srgb, var(--band-ink) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--band-ink) 10%, transparent);
  transition: transform .3s, background-color .3s;
}
.kpi:hover { transform: translateY(-3px); background: color-mix(in srgb, var(--band-ink) 10%, transparent); }
.kpi .ico i { color: #fff; }
.kpi b { display: block; font-family: "Red Hat Display", sans-serif; font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.kpi p { margin: 0; font-size: .88rem; opacity: .75; }

/* Réseau et sécurité */
.net { border-radius: 26px; border: 1px solid var(--line); background: var(--surface); overflow: hidden; box-shadow: var(--shadow); }
.net__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.net__stats { display: flex; gap: 10px 28px; flex-wrap: wrap; }
.net-stat small { display: block; font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.net-stat b { font-family: "Red Hat Display", sans-serif; font-size: 1.25rem; font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; gap: 8px; }
.net-stat--bad b { color: #e5534b; }
.net-stat--ok b { color: #2fbf71; }
.net-dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; animation: pulse 2.2s infinite; }
.net__actions { display: flex; gap: 10px; align-items: center; }
.net__attack { background: #e5534b; color: #fff; border: 0; }
.net__attack:hover { background: #cf4038; }
.net__attack[disabled] { opacity: .7; cursor: progress; }
.net__diagram { position: relative; padding: 10px 14px 16px; background: radial-gradient(ellipse at 30% 50%, var(--accent-soft), transparent 60%); }
.net__diagram svg { width: 100%; height: auto; display: block; overflow: visible; }
.net-zone { fill: color-mix(in srgb, var(--accent) 5%, transparent); stroke: var(--line); stroke-width: 1.5; stroke-dasharray: 6 6; }
.net-zone__label { fill: var(--muted); font: 700 12px "Red Hat Text", sans-serif; letter-spacing: .14em; }
.net-line { fill: none; stroke: color-mix(in srgb, var(--muted) 45%, var(--line)); stroke-width: 2.5; transition: stroke .25s, stroke-width .25s, opacity .25s; }
.net-line--bad { stroke: color-mix(in srgb, #e5534b 35%, var(--line)); }
.net-line--dash { stroke-dasharray: 6 7; }
.net-line--dot { stroke-dasharray: 2 7; stroke-linecap: round; }
.net-line.is-lit { stroke: var(--accent); stroke-width: 3.5; }
.net-line--bad.is-lit { stroke: #e5534b; }
.net.is-focus .net-line:not(.is-lit) { opacity: .35; }
.net-shield { fill: none; stroke: #e5534b; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.net.is-attack .net-shield { animation: shield 1s ease-out infinite; }
@keyframes shield { 0% { opacity: .7; transform: scale(.7); } 100% { opacity: 0; transform: scale(1.25); } }
.net-node { cursor: pointer; }
.net-node > circle:first-child { fill: var(--bg); stroke: var(--line); stroke-width: 2; transition: stroke .25s, fill .25s, stroke-width .25s; }
.net-node text { text-anchor: middle; pointer-events: none; }
.net-label { fill: var(--text); font: 600 15px "Red Hat Text", sans-serif; }
.net-ic { font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 21px; fill: var(--accent); }
.net-node:hover > circle:first-child, .net-node.is-active > circle:first-child { stroke: var(--accent); stroke-width: 3; fill: color-mix(in srgb, var(--accent) 16%, var(--bg)); }
.net-node--bad:hover > circle:first-child, .net-node--bad.is-active > circle:first-child { stroke: #e5534b; fill: color-mix(in srgb, #e5534b 14%, var(--bg)); }
.net-node:focus { outline: none; }
.net-node:focus-visible > circle:first-child { stroke: var(--accent); stroke-width: 4; }
.net-node.is-hit > circle:first-child { animation: hit .4s ease-out; }
@keyframes hit { 50% { stroke: #e5534b; stroke-width: 6; } }
.net-led { fill: #2fbf71; stroke: var(--surface); stroke-width: 3; }
.net-packet { fill: var(--accent); }
.net-burst { fill: none; stroke: #e5534b; stroke-width: 2; animation: burstRing .5s ease-out forwards; }
@keyframes burstRing { from { r: 4px; opacity: 1; } to { r: 24px; opacity: 0; } }
.net__legend { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; font-size: .82rem; color: var(--muted); margin-top: 4px; }
.net__legend span { display: inline-flex; align-items: center; gap: 8px; }
.net__legend i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.net__bottom { display: grid; grid-template-columns: 1.15fr 1fr; border-top: 1px solid var(--line); }
.net__info { padding: 26px; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-content: start; min-height: 230px; }
.net__info .ico { grid-row: span 2; }
.net__info h3 { font-size: 1.25rem; margin: 4px 0 0; }
.net__info p { color: var(--muted); margin: 0; font-size: .95rem; }
.net__specs { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; list-style: none; padding: 0; margin: 14px 0 0; }
.net__specs li { padding: 12px; border-radius: 14px; background: var(--bg-alt); font-size: .82rem; color: var(--muted); }
.net__specs i { color: var(--c, var(--accent)); margin-right: 6px; }
.net__specs b { display: block; color: var(--text); font-size: .92rem; margin-top: 2px; }
.net__info.is-swap > * { animation: pop .35s ease both; opacity: 0; transform: translateY(6px); }
.net__log { padding: 22px 24px; border-left: 1px solid var(--line); background: var(--bg-alt); min-width: 0; }
.net__log-head { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .9rem; margin-bottom: 12px; }
.net__log-head i { color: var(--accent); }
.net__log ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font: 500 .8rem/1.45 ui-monospace, "Cascadia Code", Consolas, monospace; }
.net__log li { display: flex; gap: 10px; color: var(--muted); animation: pop .35s ease both; opacity: 0; transform: translateY(-4px); white-space: nowrap; overflow: hidden; }
.net__log li time { flex: none; opacity: .65; }
.net__log li span { overflow: hidden; text-overflow: ellipsis; }
.net__log li b { font-weight: 600; color: var(--c, var(--text)); }

@media (max-width: 1040px) {
  .band__stats { grid-template-columns: repeat(2, 1fr); }
  .net__bottom { grid-template-columns: 1fr; }
  .net__log { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 620px) {
  .band__stats { grid-template-columns: 1fr; }
  .net__bar { padding: 16px; }
  .net__actions { width: 100%; }
  .net__attack { flex: 1; justify-content: center; }
  .net__diagram { overflow-x: auto; padding-inline: 8px; }
  .net__diagram svg { min-width: 640px; }
  .net__specs { grid-template-columns: 1fr; }
  .net__info { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .net.is-attack .net-shield { animation: none; opacity: .6; }
  .net__log li, .net__info.is-swap > * { animation: none; opacity: 1; transform: none; }
}

/* =========================================================
   V6 — THÈME ANIMÉ, RECHERCHE, COOKIES, CONFIGURATEUR, VIGNETTES
   ========================================================= */

/* Bouton de thème : soleil (mode sombre) ou lune (mode clair), morphing animé */
.theme-btn { overflow: hidden; }
.theme-ico { width: 20px; height: 20px; overflow: visible; transition: transform .6s cubic-bezier(.5, 1.6, .4, .9); }
.theme-ico__core { transform-box: fill-box; transform-origin: center; transition: transform .5s cubic-bezier(.5, 1.4, .4, 1); }
.theme-ico__cut { transition: transform .5s cubic-bezier(.5, 1.4, .4, 1); }
.theme-ico__rays { transform-origin: 12px 12px; transition: transform .5s cubic-bezier(.5, 1.4, .4, 1), opacity .3s; opacity: 0; transform: rotate(-60deg) scale(.4); }
:root[data-theme="dark"] .theme-ico { transform: rotate(90deg); color: #f5c451; }
:root[data-theme="dark"] .theme-ico__core { transform: scale(.55); }
:root[data-theme="dark"] .theme-ico__cut { transform: translate(9px, -9px); }
:root[data-theme="dark"] .theme-ico__rays { opacity: 1; transform: none; }
.theme-btn:hover .theme-ico { transform: rotate(-12deg) scale(1.08); }
:root[data-theme="dark"] .theme-btn:hover .theme-ico { transform: rotate(135deg) scale(1.08); }

/* Bascule : cercle qui s'étend depuis le bouton (View Transitions) */
:root.theme-switching::view-transition-old(root),
:root.theme-switching::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
:root.theme-switching *, :root.theme-switching *::before, :root.theme-switching *::after { transition: none !important; }
/* Repli : fondu des couleurs */
:root.theme-fade *, :root.theme-fade *::before, :root.theme-fade *::after { transition: background-color .45s ease, color .45s ease, border-color .45s ease, fill .45s ease, stroke .45s ease !important; }

/* Bouton « Rechercher » de l'en-tête */
.search-trigger {
  display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 10px 0 14px; border-radius: 12px; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: .9rem;
  transition: border-color .2s, color .2s;
}
.search-trigger:hover { border-color: var(--accent); color: var(--text); }
.search-trigger i { color: var(--accent); }
kbd {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 6px;
  border: 1px solid var(--line); background: var(--bg-alt); color: var(--muted);
  font: 600 .7rem/1 "Red Hat Text", sans-serif;
}
.nav__link, .nav__trigger, .header__actions .btn { white-space: nowrap; }
@media (max-width: 1520px) { .search-trigger span { display: none; } .search-trigger { padding: 0 8px 0 12px; } }
@media (max-width: 1180px) { .search-trigger kbd { display: none; } .search-trigger { width: 42px; padding: 0; justify-content: center; } }

/* Champ de recherche du catalogue */
.search--trigger {
  width: 100%; height: 52px; display: flex; align-items: center; gap: 12px; padding: 0 12px 0 16px; cursor: text; text-align: left;
  border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: .98rem;
  transition: border-color .2s, box-shadow .2s;
}
.search--trigger i { position: static; transform: none; color: var(--accent); }
.search--trigger span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search--trigger:hover { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.search--trigger.has-query span { color: var(--text); font-weight: 600; }
.result-count .text-link { background: none; border: 0; padding: 0; margin-left: 10px; cursor: pointer; font: inherit; font-weight: 600; }

/* Palette de recherche */
.spal { padding: 0; border: 0; background: transparent; color: var(--text); width: min(680px, calc(100% - 32px)); max-height: none; margin: 10vh auto auto; overflow: visible; }
.spal::backdrop { background: rgba(5, 10, 20, .55); backdrop-filter: blur(4px); }
.spal[open] .spal__box { animation: spalIn .25s cubic-bezier(.2, .9, .3, 1.2); }
.spal[open]::backdrop { animation: fadeIn .2s ease; }
@keyframes spalIn { from { opacity: 0; transform: translateY(-10px) scale(.97); } }
@keyframes fadeIn { from { opacity: 0; } }
.spal__box { display: flex; flex-direction: column; max-height: min(640px, 80vh); border-radius: 20px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6); overflow: hidden; }
.spal__field { display: flex; align-items: center; gap: 12px; padding: 16px 18px 12px; }
.spal__field > i { color: var(--accent); font-size: 1.05rem; }
.spal__field input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--text); font: 500 1.08rem "Red Hat Text", sans-serif; }
.spal__field input::placeholder { color: var(--muted); }
.spal__esc { border: 1px solid var(--line); background: var(--bg-alt); color: var(--muted); border-radius: 8px; padding: 4px 8px; font-size: .74rem; font-weight: 600; cursor: pointer; }
.spal__chips { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 18px 12px; border-bottom: 1px solid var(--line); }
.spal__chips button { height: 30px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: .84rem; font-weight: 600; cursor: pointer; transition: all .15s; }
.spal__chips button:hover { color: var(--text); }
.spal__chips button[aria-pressed="true"] { background: var(--accent-soft); border-color: transparent; color: var(--accent); }
.spal__list { overflow-y: auto; padding: 6px 10px 10px; overscroll-behavior: contain; }
.spal__head { padding: 12px 10px 6px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.spal__opt { position: relative; display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 12px; scroll-margin: 8px; }
.spal__opt[aria-selected="true"] { background: var(--bg-alt); }
.spal__opt[aria-selected="true"]::before { content: ""; position: absolute; left: -10px; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--accent); }
.spal__ico { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, color-mix(in srgb, var(--c) 80%, #fff), var(--c)); }
.spal__ico--plain { background: var(--bg-alt); color: var(--accent); border: 1px solid var(--line); }
.spal__txt { flex: 1; min-width: 0; display: grid; }
.spal__txt strong { display: flex; align-items: center; gap: 8px; font-size: .95rem; }
.spal__txt strong em { font-style: normal; font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: color-mix(in srgb, #2fbf71 16%, transparent); color: #2fbf71; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spal__txt small { color: var(--muted); font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spal__price { flex: none; color: var(--muted); font-size: .84rem; }
.spal__price b { color: var(--text); font-size: 1rem; }
.spal__enter { flex: none; width: 16px; color: var(--muted); opacity: 0; transform: rotate(90deg); }
.spal__opt[aria-selected="true"] .spal__enter { opacity: 1; }
.spal__opt--best { padding: 14px; margin-bottom: 4px; border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line)); background: color-mix(in srgb, var(--accent) 7%, transparent); }
.spal__opt--best .spal__ico { width: 46px; height: 46px; border-radius: 12px; font-size: 1.1rem; }
.spal__opt--best .spal__txt strong { font-size: 1.05rem; }
.spal__opt--best .spal__price b { font-size: 1.2rem; }
.spal__empty { display: grid; justify-items: center; gap: 6px; padding: 26px 10px 10px; text-align: center; color: var(--muted); }
.spal__empty i { font-size: 1.6rem; color: var(--accent); }
.spal__empty strong { color: var(--text); }
.spal__foot { display: flex; align-items: center; gap: 18px; padding: 10px 18px; border-top: 1px solid var(--line); background: var(--bg-alt); font-size: .8rem; color: var(--muted); }
.spal__foot span { display: inline-flex; align-items: center; gap: 6px; }
.spal__foot kbd { min-width: 20px; height: 20px; }
.spal__foot em { margin-left: auto; font-style: normal; }
@media (max-width: 620px) {
  .spal { margin-top: 12px; }
  .spal__foot span { display: none; }
  .spal__price { display: none; }
  .spal__opt--best { flex-wrap: wrap; }
  .spal__opt--best .spal__price { display: block; width: 100%; padding-left: 60px; }
  .spal__txt strong { flex-wrap: wrap; row-gap: 4px; }
  .spal__enter { display: none; }
  .tierbar__seg { padding: 7px 8px; }
  .tierbar__seg span { font-size: .72rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tierbar__seg small { font-size: .66rem; }
}

/* Cookies : bandeau */
.cookie {
  position: fixed; left: 20px; bottom: 20px; z-index: 70; width: min(420px, calc(100% - 40px));
  padding: 18px 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 30px 70px -25px rgba(0, 0, 0, .55);
  opacity: 0; visibility: hidden; transform: translateY(20px); transition: opacity .35s, transform .35s cubic-bezier(.2, .9, .3, 1.2), visibility .35s;
}
.cookie.is-open { opacity: 1; visibility: visible; transform: none; }
.cookie__head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.cookie__head strong { font-family: "Red Hat Display", sans-serif; font-size: 1.05rem; }
.cookie__ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: color-mix(in srgb, #e3a52b 18%, transparent); color: #e3a52b; }
.cookie p { margin: 0 0 14px; font-size: .88rem; color: var(--muted); }
.cookie__link, .footer__link { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.footer__link { color: inherit; font-weight: inherit; text-decoration: none; }
.footer__link:hover { color: var(--accent); }
.cookie__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookie__actions .btn { width: 100%; justify-content: center; }

/* Cookies : préférences */
.ckm { padding: 0; width: min(640px, calc(100% - 32px)); max-height: min(860px, calc(100vh - 32px)); border-radius: 22px; border: 1px solid var(--line); background: var(--surface); color: var(--text); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6); overflow: hidden; }
.ckm[open] { display: flex; flex-direction: column; animation: spalIn .25s cubic-bezier(.2, .9, .3, 1.2); }
.ckm::backdrop { background: rgba(5, 10, 20, .55); backdrop-filter: blur(4px); }
.ckm__head { display: flex; justify-content: space-between; gap: 16px; padding: 22px 24px 18px; border-bottom: 1px solid var(--line); }
.ckm__head h2 { font-size: 1.35rem; margin: 0 0 4px; }
.ckm__head p { margin: 0; color: var(--muted); font-size: .9rem; }
.ckm__close { flex: none; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-alt); color: var(--muted); cursor: pointer; }
.ckm__close:hover { color: var(--text); border-color: var(--accent); }
.ckm__body { overflow-y: auto; padding: 18px 24px; display: grid; gap: 12px; }
.ckm__cat { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: start; padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg); }
.ckm__ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.ckm__name { display: block; font-weight: 700; margin-bottom: 2px; cursor: pointer; }
.ckm__txt p { margin: 0 0 6px; font-size: .88rem; color: var(--muted); }
.ckm__txt small { display: block; font-size: .78rem; color: var(--muted); }
.ckm__txt small b { color: var(--text); font-weight: 600; }
.ckm__always { display: inline-block; margin-top: 8px; padding: 3px 10px; border-radius: 6px; font-size: .74rem; font-weight: 600; background: var(--accent-soft); color: var(--accent); }
.ckm__foot { padding: 16px 24px 18px; border-top: 1px solid var(--line); background: var(--bg-alt); }
.ckm__btns { display: grid; grid-template-columns: auto auto 1fr; gap: 10px; }
.ckm__btns .btn { white-space: nowrap; }
.ckm__btns .btn { width: 100%; justify-content: center; }
.ckm__foot p { margin: 10px 0 0; text-align: center; font-size: .78rem; color: var(--muted); }
.ckm__foot a { color: var(--accent); }
.switch { -webkit-appearance: none; appearance: none; position: relative; width: 46px; height: 26px; margin: 2px 0 0; border-radius: 99px; background: var(--line); cursor: pointer; transition: background-color .25s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); transition: transform .25s cubic-bezier(.4, 1.4, .5, 1); }
.switch:checked { background: var(--accent); }
.switch:checked::after { transform: translateX(20px); }
.switch:disabled { opacity: .6; cursor: not-allowed; }
.switch:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 620px) {
  .cookie { left: 12px; bottom: 12px; width: calc(100% - 24px); }
  .ckm__btns { grid-template-columns: 1fr; }
  .ckm__cat { grid-template-columns: 1fr auto; }
  .ckm__ico { display: none; }
}

/* Configurateur : foule de joueurs, offre conseillée */
.crowd { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 12px; min-height: 18px; position: relative; }
.crowd i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); transition: background-color .25s, transform .25s; }
.crowd i.is-on { background: var(--c); }
.crowd i.is-new { animation: dotIn .35s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes dotIn { from { transform: scale(0); } }
.crowd[data-per]:not([data-per=""])::after { content: attr(data-per); width: 100%; font-size: .72rem; color: var(--muted); margin-top: 2px; }
.mode { height: 34px; }
.reco { display: grid; gap: 12px; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg); }
.tierbar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.tierbar__seg { position: relative; overflow: hidden; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); transition: border-color .3s, background-color .3s; }
.tierbar__seg span { display: block; font-size: .8rem; font-weight: 700; color: var(--muted); position: relative; z-index: 1; }
.tierbar__seg small { display: block; font-size: .7rem; color: var(--muted); position: relative; z-index: 1; }
.tierbar__seg.is-past { opacity: .55; }
.tierbar__seg.is-on { border-color: var(--c); background: color-mix(in srgb, var(--c) 8%, var(--surface)); }
.tierbar__seg.is-on span { color: var(--text); }
.tierbar__fill { position: absolute; left: 0; bottom: 0; height: 3px; width: var(--v); background: var(--c); border-radius: 0 3px 3px 0; transition: width .3s; }
.reco__specs { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .84rem; font-weight: 600; }
.reco__specs span { display: inline-flex; align-items: center; gap: 6px; }
.reco__specs i { color: var(--accent); }
.reco__load { margin-left: auto; }
.reco__load--low, .reco__load--low i { color: #2fbf71; }
.reco__load--mid, .reco__load--mid i { color: #e3a52b; }
.reco__load--high, .reco__load--high i { color: #e5534b; }
.reco__note { margin: 0; font-size: .8rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.reco__note i { color: var(--accent); }
.reco__note a { color: var(--accent); font-weight: 600; }

/* Vignettes de jeux : image du jeu, logo en bas à gauche */
.loop--tiles { --loop-gap: 16px; }
.loop--tiles .tile { flex: 0 0 clamp(160px, 13.5vw, 210px); }
.loop--tiles .tile__img { aspect-ratio: 1 / 1.1; border-radius: 16px; }
.loop--tiles .tile__img::after { background: linear-gradient(180deg, transparent 55%, rgba(8, 14, 26, .55)); }
.tile__logo {
  position: absolute; left: 10px; bottom: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center; background: #fff; color: var(--c); font-size: 1rem;
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .5); transition: transform .3s;
}
.tile__logo img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.tile__logo:has(img) { background: none; width: 42px; height: 42px; border-radius: 11px; box-shadow: 0 6px 16px -4px rgba(0, 0, 0, .6); }
.tile__logo img + i { display: none; }
.tile:hover .tile__logo { transform: translateY(-3px); }
.loop--tiles .tile h3 { font-size: 1rem; margin: 12px 0 0; }
.loop--tiles .tile p { font-size: .86rem; }
@media (max-width: 620px) { .tiles-ctrl [data-tiles-prev], .tiles-ctrl [data-tiles-next] { display: none; } }

/* Logos des jeux dans les pastilles (menus, configurateur, recherche, cartes) */
.ico--logo { position: relative; overflow: hidden; }
.ico--logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.ico--logo img + i { visibility: hidden; }
.ico--logo:has(img) { background: none; box-shadow: 0 8px 18px -10px color-mix(in srgb, var(--c) 80%, #000); }
.game-opt[aria-checked="true"] .ico--logo:has(img) { box-shadow: 0 0 0 2px var(--c), 0 8px 18px -8px var(--c); }
.tile__logo:not(:has(img)) { width: 42px; height: 42px; border-radius: 11px; color: #fff; background: linear-gradient(140deg, color-mix(in srgb, var(--c) 92%, #fff), color-mix(in srgb, var(--c) 72%, #000)); }
