/* ===== TDPNet — site vitrine (thème sombre bordeaux, cohérent avec l'espace client) ===== */

:root {
  --bordeaux: #3b0614;      /* fond du logo */
  --bg: #170f12;
  --bg-2: #1e1418;
  --surface: #241a1e;
  --surface-2: #2e2227;
  --border: rgba(242, 232, 213, .08);
  --border-strong: rgba(242, 232, 213, .16);
  --red: #c4264a;           /* rouge du logo, ravivé */
  --red-dark: #a51e3d;
  --red-light: #ec6a83;
  --cream: #f2e8d5;         /* crème du logo */
  --text: #f2e8d5;
  --muted: rgba(242, 232, 213, .66);
  --green: #6fd39b;
  --glow: rgba(196, 38, 74, .5);
  --shadow: 0 10px 40px -12px rgba(0, 0, 0, .55);
  --radius: 12px;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
code { font-family: ui-monospace, "JetBrains Mono", Consolas, monospace; font-size: .9em; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.container--narrow { max-width: 820px; }
@media (min-width: 640px) { .container { padding: 0 28px; } }

.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ===== Boutons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .85em 1.7em; border-radius: 2rem; font: 600 .95rem var(--font); letter-spacing: .01em; border: 1px solid transparent; cursor: pointer; transition: box-shadow .2s, background .2s, border-color .2s, color .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, .nav a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--red-light); outline-offset: 3px; }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 8px 24px -10px var(--red); }
.btn--primary:hover { box-shadow: 0 10px 30px -6px var(--glow); }
.btn--ghost { border-color: var(--border-strong); color: var(--cream); background: rgba(242, 232, 213, .03); }
.btn--ghost:hover { border-color: var(--red-light); color: #fff; }
.btn--light { background: var(--cream); color: var(--bordeaux); }
.btn--light:hover { background: #fff; }
.btn--sm { padding: .55em 1.2em; font-size: .88rem; }
.btn--block { width: 100%; }
.btn .icon { width: 18px; height: 18px; }

/* ===== Logo ===== */
.logo { display: inline-flex; align-items: center; gap: .6rem; }
.logo__mark { width: 50px; height: auto; }
.logo__cream { fill: var(--cream); }
.logo__red { fill: var(--red); }
.logo__text { font-weight: 800; font-size: 1.32rem; color: var(--cream); letter-spacing: -.01em; }
.logo__text span { color: var(--red); }
.logo--small .logo__mark { width: 42px; }
.logo--small .logo__text { font-size: 1.12rem; }

/* ===== En-tête ===== */
.header { position: sticky; top: 0; z-index: 50; background: rgba(23, 15, 18, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.header__inner { display: flex; align-items: center; gap: 28px; height: 74px; }
.nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav > a, .nav__drop > summary { padding: 10px 14px; border-radius: 8px; color: var(--muted); font-weight: 500; font-size: .95rem; cursor: pointer; transition: color .15s, background .15s; }
.nav > a:hover, .nav__drop > summary:hover, .nav > a.is-active { color: #fff; background: rgba(242, 232, 213, .05); }
.nav__drop { position: relative; }
.nav__drop > summary { list-style: none; display: flex; align-items: center; gap: 6px; }
.nav__drop > summary::-webkit-details-marker { display: none; }
.nav__drop > summary::after { content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.nav__menu { position: absolute; top: calc(100% + 10px); left: 0; width: 320px; padding: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.nav__menu a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 8px; }
.nav__menu a:hover { background: var(--surface-2); }
.nav__menu strong { display: block; font-size: .95rem; }
.nav__menu small { color: var(--muted); font-size: .8rem; }
.nav__spacer { flex: 1; }
.nav__actions { display: flex; gap: 10px; align-items: center; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; padding: 10px; border: 0; background: none; cursor: pointer; }
.burger span { display: block; height: 2px; margin: 5px 0; background: var(--cream); border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .burger { display: block; }
  .nav { position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--border); display: none; max-height: calc(100vh - 74px); overflow-y: auto; }
  .nav.is-open { display: flex; }
  .nav__spacer { display: none; }
  .nav__menu { position: static; width: auto; box-shadow: none; border: 0; background: var(--bg-2); margin-top: 4px; }
  .nav__actions { margin-top: 12px; flex-direction: column; align-items: stretch; }
}

/* ===== Accueil ===== */
.hero { position: relative; overflow: hidden; padding: 96px 0 110px; background: radial-gradient(1000px 520px at 85% 10%, rgba(196, 38, 74, .22), transparent 60%), radial-gradient(800px 500px at 5% 90%, rgba(59, 6, 20, .9), transparent 70%), var(--bg); }
.hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(242, 232, 213, .06) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(to bottom, #000, transparent 85%); pointer-events: none; }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: .55em; padding: .4em 1em; border-radius: 999px; background: rgba(196, 38, 74, .14); border: 1px solid rgba(196, 38, 74, .35); color: var(--red-light); font-size: .85rem; font-weight: 600; margin-bottom: 1.4rem; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(111, 211, 155, .18); }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); font-weight: 800; }
h1 .accent, h2 .accent { color: var(--red-light); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 2rem 0 2.2rem; }
.trust { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 10px 28px; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: .92rem; }
.trust li { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
@media (max-width: 1180px) { .trust { grid-template-columns: auto; } }
@media (max-width: 560px) { .trust { grid-template-columns: 1fr; } }
.trust .icon { width: 18px; height: 18px; color: var(--red-light); }
.hero__visual { background: linear-gradient(180deg, rgba(59, 6, 20, .55), rgba(36, 26, 30, .9)); border: 1px solid var(--border); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); }

/* Simulation animée (hero.js) */
.sim { position: relative; height: 300px; }
.sim__canvas { width: 100%; height: 100%; }
.sim__label { position: absolute; top: 0; font-size: .78rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.sim__label--left { left: 0; }
.sim__label--mid { left: 50%; transform: translateX(-50%); }
.sim__label--right { right: 0; }
.sim__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.sim__stats div { padding: 10px 12px; background: rgba(23, 15, 18, .7); border: 1px solid var(--border); border-radius: 8px; }
.sim__stats small { display: block; font-size: .72rem; color: var(--muted); }
.sim__stats strong { font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.sim__stats .sim__ok { color: var(--green); }
.sim__legend { display: flex; align-items: center; gap: 6px; margin: 12px 0 0; font-size: .75rem; color: var(--muted); }
.sim__legend em { margin-left: auto; font-style: normal; opacity: .7; }
.sim__key { display: inline-block; width: 8px; height: 8px; margin-left: 8px; }
.sim__key:first-child { margin-left: 0; }
.sim__key--attack { background: var(--red-light); }
.sim__key--player { background: var(--cream); border-radius: 50%; }

@media (max-width: 960px) {
  .hero { padding: 56px 0 72px; }
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 520px) {
  .sim { height: 230px; }
  .sim__stats { grid-template-columns: 1fr 1fr; }
  .sim__stats div:last-child { grid-column: 1 / -1; }
}

/* En-tête de page intérieure */
.page-hero { position: relative; overflow: hidden; padding: 76px 0 64px; text-align: center; background: radial-gradient(800px 380px at 50% 0%, rgba(196, 38, 74, .22), transparent 70%), var(--bg); border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.page-hero p { max-width: 680px; margin: 0 auto; color: var(--muted); font-size: 1.1rem; }
.page-hero .hero__cta { justify-content: center; margin-bottom: 0; }
.page-hero a:not(.btn) { color: var(--red-light); }

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section--tight { padding: 64px 0; }
.section__head { text-align: center; max-width: 660px; margin: 0 auto 54px; }
.section__head h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.section__head p { color: var(--muted); font-size: 1.06rem; margin: 0; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--red-light); margin-bottom: .8rem; }
@media (max-width: 640px) { .section { padding: 64px 0; } .section__head { margin-bottom: 38px; } }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--reverse > :first-child { order: 2; }
.title { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
.text { color: var(--muted); font-size: 1.05rem; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } .split--reverse > :first-child { order: 0; } }

.checklist { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.checklist li { position: relative; padding-left: 1.9em; margin-bottom: .6em; color: var(--muted); }
.checklist li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.15em; height: 1.15em; border-radius: 50%; background: rgba(196, 38, 74, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.5 2.2 2.2 4.8-5' fill='none' stroke='%23ec6a83' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }

.link-arrow { color: var(--red-light); font-weight: 600; }
.link-arrow::after { content: " →"; transition: margin .2s; }
.link-arrow:hover::after { margin-left: 4px; }

/* ===== Cartes de jeux ===== */
.games { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 920px; margin: 0 auto; }
.game-card { position: relative; display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); transition: transform .2s, border-color .2s, box-shadow .2s; }
.game-card:hover { transform: translateY(-4px); border-color: rgba(196, 38, 74, .5); box-shadow: 0 20px 50px -18px rgba(196, 38, 74, .45); }
.game-card__art { position: relative; height: 150px; display: grid; place-items: center; background: linear-gradient(135deg, var(--a, #3b0614), var(--b, #c4264a)); }
.game-card__art span { font-size: 3.4rem; font-weight: 800; color: rgba(255, 255, 255, .92); letter-spacing: -.04em; text-shadow: 0 6px 24px rgba(0, 0, 0, .35); }
.game-card__art::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px); background-size: 18px 18px; }
.game-card--gmod { --a: #1d4f91; --b: #3b83d6; }
.game-card--minecraft { --a: #2f6b2a; --b: #64a83d; }
.game-card--soon { opacity: .6; }
.game-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.game-card__body h3 { font-size: 1.35rem; margin-bottom: .2em; }
.game-card__body p { color: var(--muted); font-size: .95rem; flex: 1; }
.game-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.game-card__price { color: var(--muted); font-size: .9rem; }
.game-card__price strong { color: var(--cream); font-size: 1.15rem; }
.tag { display: inline-block; padding: .2em .8em; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: .78rem; font-weight: 600; }
.tag--green { background: rgba(111, 211, 155, .12); color: var(--green); }
.tag--red { background: rgba(236, 106, 131, .14); color: var(--red-light); }
@media (max-width: 900px) { .games { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* ===== Atouts ===== */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .2s; }
.feature:hover { border-color: rgba(196, 38, 74, .45); }
.feature__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; margin-bottom: 18px; background: linear-gradient(135deg, rgba(196, 38, 74, .28), rgba(196, 38, 74, .08)); color: var(--red-light); border: 1px solid rgba(196, 38, 74, .3); }
.feature h3 { font-size: 1.12rem; }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* Couches de protection */
.layers { display: grid; gap: 14px; }
.layer { display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: start; padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.layer__num { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--red); color: #fff; font-weight: 800; font-size: 1.2rem; box-shadow: 0 8px 20px -8px var(--red); }
.layer h3 { font-size: 1.1rem; margin-bottom: .25em; }
.layer p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 32px 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-size: 2.6rem; font-weight: 800; color: transparent; -webkit-text-stroke: 1.5px var(--red-light); margin-bottom: 10px; }
.step h3 { font-size: 1.15rem; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* Aperçu du panneau */
.mock { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--bordeaux); }
.mock__bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(242, 232, 213, .3); }
.mock__bar em { margin-left: auto; font-style: normal; font-size: .78rem; color: var(--muted); }
.mock__body { display: grid; grid-template-columns: 140px 1fr; min-height: 300px; }
.mock__side { padding: 16px 10px; background: #1b1316; display: grid; gap: 6px; align-content: start; }
.mock__side i { display: block; height: 30px; border-radius: 6px; background: rgba(242, 232, 213, .05); }
.mock__side i.on { background: linear-gradient(118deg, var(--red), rgba(196, 38, 74, .7)); box-shadow: 0 0 10px var(--glow); }
.mock__main { padding: 18px; display: grid; gap: 12px; align-content: start; }
.mock__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock__tile { padding: 12px; border-radius: 8px; background: var(--bg-2); font-size: .72rem; color: var(--muted); }
.mock__tile b { display: block; margin-top: 4px; font-size: 1rem; color: var(--cream); }
.mock__console { height: 120px; padding: 12px; border-radius: 8px; background: #110b0d; font: .72rem/1.6 ui-monospace, monospace; color: #e8dcc8; overflow: hidden; }
.mock__console .r { color: var(--red-light); }
.mock__console .g { color: var(--green); }
@media (max-width: 560px) { .mock__body { grid-template-columns: 1fr; } .mock__side { display: none; } }

/* ===== Tarifs ===== */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }
.plan__name { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--red-light); margin-bottom: .7rem; }
.plan__price { color: var(--muted); margin-bottom: .4rem; }
.plan__price span { font-size: 2.3rem; font-weight: 800; color: var(--cream); margin-right: .15em; letter-spacing: -.02em; }
.plan__desc { color: var(--muted); font-size: .92rem; min-height: 3em; }
.plan .btn { margin-bottom: 1.5rem; }
.plan .checklist { margin: 0; padding-top: 1.3rem; border-top: 1px solid var(--border); }
.plan .checklist li { font-size: .92rem; }
.plan--featured { border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(160deg, var(--red-light), var(--red-dark)) border-box; border: 1.5px solid transparent; box-shadow: 0 20px 50px -20px var(--glow); }
.plan__badge { position: absolute; top: -13px; left: 24px; padding: .25em .9em; border-radius: 999px; background: var(--red); color: #fff; font-size: .76rem; font-weight: 700; box-shadow: 0 6px 16px -6px var(--red); }
.pricing__note { text-align: center; color: var(--muted); font-size: .92rem; margin: 30px 0 0; }
@media (max-width: 1060px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } }

.compare { width: 100%; border-collapse: collapse; font-size: .95rem; }
.compare th, .compare td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--border); }
.compare th:first-child, .compare td:first-child { text-align: left; color: var(--muted); }
.compare thead th { color: var(--cream); font-size: 1rem; }
.compare thead th.is-featured { color: var(--red-light); }
.compare .yes { color: var(--green); font-weight: 700; }
.compare .no { color: rgba(242, 232, 213, .3); }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }

.included { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.included__item { padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.included__item h3 { font-size: 1.02rem; margin-bottom: .3em; }
.included__item p { color: var(--muted); font-size: .92rem; margin: 0; }
@media (max-width: 900px) { .included { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .included { grid-template-columns: 1fr; } }

/* ===== Page d'un jeu ===== */
.game-switch { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.game-switch a { padding: .55em 1.2em; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--muted); font-weight: 600; font-size: .9rem; }
.game-switch a:hover { color: #fff; border-color: var(--red-light); }
.game-switch a.is-active { background: var(--red); border-color: var(--red); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: .45em 1em; border-radius: 999px; background: var(--surface-2); color: var(--cream); font-size: .88rem; font-weight: 500; }

/* Profils de filtrage */
.profiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.profile h3 { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 1.15rem; }
@media (max-width: 900px) { .profiles { grid-template-columns: 1fr; } }

/* Réseau */
.region { font-size: 1rem; margin: 1.5rem 0 .8rem; }
.locations { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.locations li { display: flex; align-items: center; gap: .6rem; padding: 12px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; font-weight: 500; }
.locations__country { font-size: .74rem; font-weight: 700; color: var(--muted); background: var(--surface-2); border-radius: 4px; padding: .1em .45em; }
.status { margin-left: auto; font-size: .76rem; font-weight: 600; color: var(--muted); }
.status--on { color: var(--green); }
.map { background: linear-gradient(160deg, var(--bordeaux), var(--surface)); border: 1px solid var(--border); border-radius: 16px; padding: 18px; }
.map__dot { fill: rgba(242, 232, 213, .13); }
.map__link { fill: none; stroke: rgba(242, 232, 213, .35); stroke-width: 1.5; stroke-dasharray: 4 5; }
.map__pin circle { fill: var(--red); stroke: var(--cream); stroke-width: 2.5; }
.map__pin text { fill: var(--cream); font: 600 13px var(--font); }
@media (max-width: 480px) { .locations { grid-template-columns: 1fr; } }

/* ===== FAQ ===== */
.faq details { border: 1px solid var(--border); border-radius: 10px; background: var(--surface); margin-bottom: 10px; transition: border-color .2s; }
.faq details[open] { border-color: rgba(196, 38, 74, .45); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 22px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--red-light); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }
.faq-group { margin-bottom: 44px; }
.faq-group h2 { font-size: 1.4rem; margin-bottom: 18px; }
.faq-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }
.faq-nav a { padding: .5em 1.1em; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--muted); font-weight: 600; font-size: .9rem; }
.faq-nav a:hover { color: #fff; border-color: var(--red-light); }

/* ===== Bandeau d'appel ===== */
.cta { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding: 54px 56px; border-radius: 20px; background: linear-gradient(120deg, var(--bordeaux), #6e0f26 55%, var(--red)); box-shadow: 0 30px 60px -30px var(--glow); }
.cta::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 22px 22px; pointer-events: none; }
.cta > * { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .3em; }
.cta p { margin: 0; color: rgba(242, 232, 213, .85); font-size: 1.06rem; }
.cta__buttons { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 640px) { .cta { padding: 36px 24px; } }

/* ===== Contact ===== */
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: start; }
.contact__cards { display: grid; gap: 14px; margin-top: 24px; }
.contact__card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.contact__card h3 { font-size: 1.02rem; margin-bottom: .2em; }
.contact__card p { margin: 0; color: var(--muted); font-size: .92rem; }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 7px; font-weight: 600; font-size: .9rem; }
.form input, .form select, .form textarea { width: 100%; padding: .85em 1em; font: 400 1rem var(--font); color: var(--cream); background: var(--surface-2); border: 1px solid transparent; border-radius: 8px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--red); }
.form select option { background: var(--surface-2); }
.form textarea { resize: vertical; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .btn { justify-self: start; }
.form__trap { position: absolute; left: -9999px; }
.form__msg { padding: 12px 14px; border-radius: 8px; margin: 0; }
.form__msg p { margin: 0; }
.form__msg--ok { background: rgba(111, 211, 155, .12); color: var(--green); }
.form__msg--error { background: rgba(236, 106, 131, .12); color: var(--red-light); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } }

/* ===== Pages légales ===== */
.legal { padding: 64px 0 90px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.legal h2 { font-size: 1.2rem; margin-top: 2em; }
.legal p { color: var(--muted); }
.legal a { color: var(--red-light); text-decoration: underline; }
.legal__notice { padding: 14px 18px; border-left: 3px solid var(--red); background: var(--surface); border-radius: 0 8px 8px 0; }

/* ===== Pied de page ===== */
.footer { background: #120b0e; border-top: 1px solid var(--border); color: var(--muted); padding: 64px 0 0; font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer__brand p { margin: 1rem 0 0; max-width: 360px; }
.footer__note { font-size: .85rem; opacity: .8; }
.footer__col { display: flex; flex-direction: column; gap: .65rem; }
.footer__col h4 { color: var(--cream); font-size: .95rem; margin-bottom: .3rem; }
.footer a:hover { color: var(--cream); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid var(--border); }
.footer__bottom p { margin: 0; }
.footer__bottom nav { display: flex; gap: 20px; }
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 420px) { .footer__grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Pages légales : compléments */
.legal__updated { color: var(--muted); font-size: .9rem; margin-top: -.4em; }
.legal ul.checklist { margin: 0 0 1em; }
.legal .table-wrap { margin: 0 0 1.2em; }
.legal-table th, .legal-table td { text-align: left !important; vertical-align: top; font-size: .9rem; }
.legal-table td:first-child { color: var(--cream) !important; }
.legal code { color: var(--red-light); }
.form__legal { margin: 0; font-size: .8rem; color: var(--muted); }
.form__legal a { color: var(--red-light); }

/* Illustration de l'accueil : graphique du trafic */
.viz__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.viz__title { font-weight: 700; font-size: .95rem; }
.viz__status { display: inline-flex; align-items: center; gap: 7px; padding: .3em .8em; border-radius: 999px; font-size: .78rem; font-weight: 600; color: var(--green); background: rgba(111, 211, 155, .1); transition: color .3s, background .3s; }
.viz__status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.viz__status.is-attack { color: var(--red-light); background: rgba(236, 106, 131, .14); }
.viz__status.is-attack::before { animation: viz-blink 1s infinite; }
@keyframes viz-blink { 50% { opacity: .25; } }
.viz__canvas { display: block; width: 100%; height: 240px; border-radius: 10px; background: rgba(17, 11, 13, .55); }
.viz__legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 12px; font-size: .8rem; color: var(--muted); }
.viz__legend span { display: inline-flex; align-items: center; gap: 8px; }
.viz__key { display: inline-block; width: 14px; height: 3px; border-radius: 2px; }
.viz__key--in { background: var(--red-light); }
.viz__key--out { background: var(--cream); }
@media (max-width: 520px) { .viz__canvas { height: 190px; } }

/* Bandeau d'annonce et page de maintenance (réglés dans /admin/reglages) */
.announce { padding: 10px 16px; text-align: center; font-size: .92rem; font-weight: 500; background: rgba(242, 232, 213, .08); border-bottom: 1px solid rgba(242, 232, 213, .12); color: var(--cream); }
.announce--alerte { background: rgba(196, 38, 74, .22); border-color: rgba(196, 38, 74, .45); }
.content .announce { border: 1px solid rgba(242, 232, 213, .12); border-radius: 10px; margin-bottom: 18px; }
.content .announce--alerte { border-color: rgba(196, 38, 74, .45); }
.maintenance { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; text-align: center; }
.maintenance main { max-width: 520px; }
.maintenance__brand { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 1.6rem; margin: 0 0 18px; }
.maintenance__brand span { color: var(--red-light); }
.maintenance h1 { margin: 0 0 10px; }
.maintenance p { color: var(--muted); }

/* ---------- Logos et icônes des jeux ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.game-icon { width: 28px; height: 28px; flex: none; border-radius: 6px; image-rendering: pixelated; }
.nav__menu .game-icon { width: 32px; height: 32px; }
.game-card__art { height: 160px; padding: 0 36px; }
.game-card__art .game-logo { position: relative; z-index: 1; width: 100%; max-width: 300px; height: auto; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .45)); }
.game-card--gmod .game-card__art { background: radial-gradient(420px 160px at 50% 120%, rgba(0, 129, 255, .55), transparent 70%), linear-gradient(135deg, #061b33, #0b3d75); }
.game-card--minecraft .game-card__art { background: linear-gradient(180deg, transparent 72%, #5d9e3a 72%, #5d9e3a 80%, #866043 80%), linear-gradient(180deg, #7fb6f0, #a9d2f7 72%); }
.game-card--minecraft .game-card__art::after { background-image: none; }
.game-card__body h3 small { display: block; margin-top: .15em; font-size: .78rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

/* ---------- Onglets des offres ---------- */
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.tab { display: inline-flex; align-items: center; gap: 10px; padding: .6em 1.3em .6em .7em; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--muted); font: 600 .98rem/1 var(--font); cursor: pointer; transition: border-color .15s, color .15s, background .15s; }
.tab:hover { color: var(--cream); border-color: rgba(242, 232, 213, .35); }
.tab.is-active { color: #fff; }
.tab--gmod.is-active { background: #0a4d97; border-color: #0081ff; box-shadow: 0 8px 24px -12px #0081ff; }
.tab--minecraft.is-active { background: #3f7a25; border-color: #6aad43; box-shadow: 0 8px 24px -12px #6aad43; }
.tab-panel__intro { max-width: 720px; margin: 0 auto 24px; text-align: center; color: var(--muted); }
.tab-panel .compare { margin-top: 32px; }
.plans--gmod .plan--featured { background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(160deg, #5fb0ff, #0062c4) border-box; box-shadow: 0 20px 50px -20px rgba(0, 129, 255, .5); }
.plans--minecraft .plan--featured { background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(160deg, #8fd16a, #3f7a25) border-box; box-shadow: 0 20px 50px -20px rgba(106, 173, 67, .5); }
.plans--gmod .plan__badge { background: #0081ff; }
.plans--minecraft .plan__badge { background: #4f8c31; }

/* Ressources d'une offre */
.plan__specs { display: grid; gap: 0; margin: 0 0 1.4rem; padding: 4px 14px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--border); }
.plan__specs div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: .9rem; }
.plan__specs div:last-child { border-bottom: 0; }
.plan__specs dt { color: var(--muted); }
.plan__specs dd { margin: 0; font-weight: 600; color: var(--cream); text-align: right; }

/* ---------- Page d'un jeu, à ses couleurs ---------- */
.game-page--gmod { --red: #0081ff; --red-dark: #0062c4; --red-light: #6bb6ff; --glow: rgba(0, 129, 255, .45); --g-a: #04162b; --g-b: #0a4d97; }
.game-page--minecraft { --red: #4f8c31; --red-dark: #3a6b22; --red-light: #8fd16a; --glow: rgba(106, 173, 67, .45); --g-a: #2a1d12; --g-b: #3f7a25; }
.game-page .checklist li::before { background: color-mix(in srgb, var(--red) 22%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.5 2.2 2.2 4.8-5' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.game-page .cta { background: linear-gradient(120deg, var(--g-a), var(--g-b) 60%, var(--red)); }
.game-page .cta .btn--light { color: var(--g-a); }

.game-hero { position: relative; overflow: hidden; padding: 84px 0 0; border-bottom: 1px solid var(--border); text-align: center; }
.game-hero__inner { position: relative; z-index: 1; }
.game-hero__text { max-width: 760px; margin: 0 auto; }
.game-hero__type { display: inline-flex; align-items: center; gap: 10px; padding: .35em .9em .35em .4em; margin-bottom: 26px; border-radius: 999px; background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .14); font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.game-hero__logo { margin: 0 0 18px; line-height: 0; }
.game-hero__img { display: block; width: min(520px, 88%); height: auto; margin: 0 auto; filter: drop-shadow(0 12px 30px rgba(0, 0, 0, .5)); }
.game-hero__tagline { margin: 0 0 .5em; font-size: clamp(1.25rem, 2.6vw, 1.6rem); font-weight: 700; color: #fff; }
.game-hero__intro { margin: 0 auto; max-width: 640px; color: rgba(255, 255, 255, .78); font-size: 1.08rem; }
.game-hero .hero__cta { justify-content: center; margin: 1.8rem 0 1.4rem; }
.game-hero__badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.game-hero__badges li { padding: .4em .9em; border-radius: 8px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); color: #fff; font-size: .85rem; font-weight: 600; }
.game-hero .game-switch { position: relative; z-index: 1; margin: 46px 0 0; padding: 14px 16px; background: rgba(0, 0, 0, .35); border-top: 1px solid rgba(255, 255, 255, .1); }
.game-hero .game-switch a { display: inline-flex; align-items: center; gap: 8px; padding: .4em 1em .4em .45em; border-color: rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .8); }
.game-hero .game-switch .game-icon { width: 24px; height: 24px; }
.game-hero .game-switch a.is-active { background: var(--red); border-color: var(--red); color: #fff; }

/* Garry's Mod : bleu Source, quadrillage façon gm_construct */
.game-page--gmod .game-hero { background: radial-gradient(900px 420px at 50% -10%, rgba(0, 129, 255, .5), transparent 70%), linear-gradient(180deg, #061a33, #04101f); }
.game-page--gmod .game-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(107, 182, 255, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(107, 182, 255, .09) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(180deg, #000, transparent 85%); }
.game-page--gmod .game-hero::after { content: ""; position: absolute; left: 50%; bottom: -260px; width: 900px; height: 420px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 152, 0, .16), transparent); }

/* Minecraft : ciel, herbe et terre, coins carrés et ombres pixel */
.game-page--minecraft .game-hero { background: linear-gradient(180deg, #4e8fd6 0%, #8ec5f5 62%, #a9d2f7 100%); padding-bottom: 0; }
.game-page--minecraft .game-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background:
  repeating-linear-gradient(90deg, rgba(0, 0, 0, .08) 0 16px, transparent 16px 32px),
  linear-gradient(180deg, #6aad43 0 18px, #4f8c31 18px 24px, #866043 24px 100%); }
.game-page--minecraft .game-hero__intro, .game-page--minecraft .game-hero__tagline { color: #10243a; text-shadow: none; }
.game-page--minecraft .game-hero__type { background: rgba(255, 255, 255, .55); border-color: rgba(16, 36, 58, .2); color: #10243a; }
.game-page--minecraft .game-hero__badges li { background: rgba(255, 255, 255, .5); border-color: rgba(16, 36, 58, .18); color: #10243a; border-radius: 3px; }
.game-page--minecraft .game-hero .game-switch { margin-top: 46px; background: transparent; border: 0; padding-bottom: 40px; }
.game-page--minecraft .game-hero .game-switch a { background: rgba(0, 0, 0, .35); border-color: rgba(0, 0, 0, .25); }
.game-page--minecraft .game-hero .game-switch a.is-active { background: var(--red); }
.game-page--minecraft .btn, .game-page--minecraft .card, .game-page--minecraft .plan, .game-page--minecraft .engine__item, .game-page--minecraft .chips span, .game-page--minecraft .guide, .game-page--minecraft .faq details { border-radius: 4px; }
.game-page--minecraft .btn--primary { box-shadow: 0 4px 0 #2b5418; }
.game-page--minecraft .btn--primary:hover { transform: translateY(-1px); box-shadow: 0 5px 0 #2b5418; }
.game-page--minecraft .engine__num { border-radius: 3px; box-shadow: 3px 3px 0 rgba(0, 0, 0, .35); }

/* Le moteur du jeu */
.engine { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.engine__item { padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.engine__num { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 14px; border-radius: 10px; background: var(--red); color: #fff; font-weight: 800; }
.engine__item h3 { font-size: 1.05rem; margin-bottom: .4em; }
.engine__item p { margin: 0; color: var(--muted); font-size: .93rem; }

/* Quelle offre choisir */
.guide { max-width: 820px; margin: 40px auto 0; padding: 26px 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.guide h3 { margin-bottom: .8em; }
.guide ul { list-style: none; margin: 0 0 8px; padding: 0; }
.guide li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--border); }
.guide li span { color: var(--muted); }
.guide li strong { color: var(--red-light); white-space: nowrap; }
.guide .pricing__note { text-align: left; margin: 12px 0 0; }

@media (max-width: 1060px) { .engine { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .engine { grid-template-columns: 1fr; }
  .guide li { flex-direction: column; gap: 2px; }
  .game-hero { padding-top: 56px; }
}
.game-page--minecraft .game-hero .btn--ghost { background: rgba(255, 255, 255, .7); border-color: rgba(16, 36, 58, .25); color: #10243a; }
.game-page--minecraft .game-hero .btn--ghost:hover { background: #fff; }
.plans--gmod .plan--featured .btn--primary { background: #0081ff; box-shadow: 0 8px 24px -10px #0081ff; }
.plans--minecraft .plan--featured .btn--primary { background: #4f8c31; box-shadow: 0 8px 24px -10px #6aad43; }

/* Minecraft : ombre du logo plus légère sur le ciel, pastilles lisibles sur la terre */
.game-page--minecraft .game-hero__img { filter: drop-shadow(0 6px 10px rgba(16, 36, 58, .3)); }
.game-page--minecraft .game-hero .game-switch a { background: rgba(28, 18, 10, .78); border-color: rgba(255, 255, 255, .22); color: #fff; }
.game-page--minecraft .game-hero .game-switch a.is-active { background: var(--red); border-color: #8fd16a; }
