/* Accueil simple (3 serveurs) et page Faction : style plat, couleurs de paff.css. */
.simple .narrow { max-width: 860px; }
.simple h1 { margin: 0 0 12px; }
.simple h2 { margin: 40px 0 12px; font-size: clamp(1.5rem, 3vw, 2rem); }
.simple h3 { margin: 28px 0 8px; }
.simple .lead { margin: 0 0 8px; }
.simple .table-wrap { margin: 8px 0; }
.simple .lb td { vertical-align: top; }
.logo-h1 { margin: 0 0 16px; }
.logo-h1 img { display: block; width: 100%; max-width: 520px; height: auto; }
.modes3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 28px 0 0; }
.mode3 { display: flex; flex-direction: column; justify-content: center; min-height: 120px; padding: 18px 20px;
  background: var(--panel); border: 2px solid var(--line); border-radius: var(--r); color: var(--cream); text-decoration: none; }
.mode3:hover, .mode3:focus-visible { border-color: var(--gold); }
.mode3-t { font: 800 2.2rem/1 var(--display); color: var(--gold-2); text-transform: uppercase; letter-spacing: .02em; }
.mode3-s { margin-top: 8px; font-size: .95rem; color: var(--dim); }
.shop3 { grid-column: 1 / -1; min-height: 96px; }
.liens-bas { margin: 32px 0 0; font-size: .9rem; color: var(--dim); }
.liens-bas a { color: var(--dim); }
.liens-bas a:hover { color: var(--cream); }
.dates, .points { padding-left: 20px; }
.dates li, .points li { margin: 6px 0; }
@media (max-width: 640px) {
  .modes3 { grid-template-columns: 1fr; }
  .mode3 { min-height: 84px; }
  .mode3-t { font-size: 1.8rem; }
}
.shop1 { display: flex; align-items: center; justify-content: center; width: 100%; margin: 12px 0 0; min-height: 64px; font-size: 1.4rem; }
.gems-note { margin: 12px 0 0; color: var(--cream); font-weight: 600; }
/* Tuiles avec modèle 3D (14/11) : PNG rendu d'avance, remplacé par le canvas quand la 3D a dessiné. */
.modes3 .mode3 { align-items: center; justify-content: flex-start; text-align: center; padding: 14px 16px 18px; }
.m3 { position: relative; display: block; width: 100%; max-width: 200px; aspect-ratio: 1 / 1; margin: 0 auto 8px; }
.m3 img, .m3 canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.m3.m3-on img { visibility: hidden; }
.modes3 .shop3 { min-height: 0; }
.modes3 .gems-note { margin: 8px 0 0; max-width: 46ch; }
@media (max-width: 640px) {
  .m3 { max-width: 160px; }
}

/* ---------- Accueil, façade du 14/11 (préfixe hm-) : plat, aplats, une couleur d'accent ---------- */
.hm-hero { position: relative; overflow: hidden; background: var(--bg); border-bottom: 1px solid var(--line); }
.hm-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hm-voile { position: absolute; inset: 0; background: rgba(20, 12, 6, .74); }
.hm-hero-in { position: relative; padding-top: clamp(48px, 9vw, 112px); padding-bottom: clamp(44px, 8vw, 96px); }
.hm-h1 { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 18px; align-items: center; margin: 0; text-transform: none; }
.hm-h1-icone { grid-row: 1 / span 2; width: clamp(64px, 10vw, 108px); height: auto; image-rendering: pixelated; }
.hm-h1-nom { font: 800 clamp(3.4rem, 9vw, 6.2rem)/.9 var(--display); color: var(--gold); text-transform: uppercase; letter-spacing: .01em; }
.hm-h1-sous { font: 700 clamp(1.15rem, 2.6vw, 1.6rem)/1.15 var(--display); color: var(--cream); text-transform: uppercase; letter-spacing: .02em; margin-top: 6px; }
.hm-lead { margin: 22px 0 0; max-width: 56ch; font-size: clamp(1.05rem, 2.2vw, 1.2rem); color: var(--text); }
.hm-hero .ip { background: #0F0904; }
.hm-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hm-cta .btn { background: rgba(15, 9, 4, .85); }

.hm-sec h2 { font-size: clamp(2rem, 5vw, 3rem); }
.hm-sous { margin: 12px 0 28px; color: var(--muted); max-width: 62ch; }

.hm-modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hm-mode { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--orange); border-radius: var(--r); padding: 18px 20px 20px; }
.hm-mode-top { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.hm-mode .m3 { width: 128px; max-width: 128px; flex: none; margin: 0; }
.hm-mode h3 { font-size: 2.1rem; }
.hm-mode h3 a { color: var(--gold-2); text-decoration: none; }
.hm-mode h3 a:hover { color: var(--cream); }
.hm-st .srv-state { margin: 0; color: var(--cream); font-size: .95rem; }
.hm-st, .hm-st.srv-row { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 0; border: 0; font-size: .95rem; font-weight: 600; color: var(--cream); }
.hm-mode-p { margin: 0 0 10px; color: var(--text); }
.hm-puces { margin: 0 0 14px; padding-left: 18px; color: var(--muted); }
.hm-puces li { margin: 4px 0; }
.hm-puces li::marker { color: var(--orange); }
.hm-mode-port { margin: auto 0 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--dim); }
.hm-mode .textlink { align-self: flex-start; }

.hm-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hm-col { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; }
.hm-col h3 { font-size: 1.45rem; color: var(--gold-2); margin-bottom: 12px; }
.hm-col ol { margin: 0; padding-left: 20px; color: var(--muted); display: grid; gap: 8px; }
.hm-col ol b { color: var(--cream); }
.hm-col ol li::marker { color: var(--gold); font-weight: 700; }
.hm-liens { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }

.hm-atouts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; margin-top: 24px; }
.hm-atout { border-top: 1px solid var(--line-2); padding: 18px 0 22px; }
.hm-atout h3 { font-size: 1.35rem; color: var(--gold-2); margin-bottom: 8px; }
.hm-atout p { margin: 0; color: var(--muted); }

.hm-gems { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 40px; align-items: center; }
.hm-gems-3d .m3 { max-width: 300px; margin: 0 auto; }
.hm-gems p { color: var(--muted); max-width: 62ch; }
.hm-gems h2 { margin-bottom: 14px; }
.hm-table { width: 100%; max-width: 520px; border-collapse: collapse; margin: 6px 0 4px; }
.hm-table th, .hm-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.hm-table thead th { font: 400 10px/1 var(--pixel); color: var(--dim); text-transform: uppercase; letter-spacing: .05em; }
.hm-table tbody th { color: var(--cream); font-weight: 700; }
.hm-table td { color: var(--gold-2); font-weight: 600; white-space: nowrap; }
.hm-gems .hm-gratuit { color: var(--cream); font-weight: 600; }

.hm-discord-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding-top: 44px; padding-bottom: 44px; }
.hm-discord h2 { font-size: clamp(2rem, 5vw, 3rem); }
.hm-discord p { margin: 10px 0 0; }

.hm-faq-wrap .faq, .hm-faq-wrap .hm-plus { max-width: 900px; }
.hm-faq-wrap h2 { margin-bottom: 20px; }
.hm-plus { margin: 24px 0 0; color: var(--muted); }

@media (max-width: 900px) {
  .hm-modes, .hm-cols { grid-template-columns: 1fr; }
  .hm-atouts { grid-template-columns: 1fr 1fr; }
  .hm-gems { grid-template-columns: 1fr; gap: 16px; }
  .hm-gems-3d .m3 { max-width: 200px; }
}
@media (max-width: 640px) {
  .hm-atouts { grid-template-columns: 1fr; }
  .hm-gems-3d { display: none; }
  .hm-h1 { column-gap: 12px; }
  .hm-hero .ip { max-width: 100%; }
  .hm-hero .ip-cell:first-child { flex: 1 1 60%; }
  .hm-mode .m3 { width: 92px; max-width: 92px; }
  .hm-discord .btn { width: 100%; }
}
