/*
Theme Name: Tera Novus Online
Theme URI: https://teranovusonline.com
Description: Portail du jeu Tera Novus Online : présentation, actualités, notes de mise à jour, catalogue des cartes lu depuis le serveur du jeu, compte joueur (collection et decks) et téléchargement. Sombre, comme le jeu. Sans constructeur de pages ni extension obligatoire.
Author: Tera Novus Online
Version: 0.2.0
Requires at least: 6.0
Requires PHP: 7.4
License: Tous droits réservés (polices : SIL Open Font License 1.1, voir assets/fonts/OFL.txt)
Text Domain: teranovus
*/

/* Polices hébergées dans le thème (pas de Google Fonts : RGPD). */
@font-face {
  font-family: "Bebas Neue";
  src: url("assets/fonts/BebasNeue-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bungee";
  src: url("assets/fonts/Bungee-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ------------------------------------------------------------------ */
/* Jetons : nuit, or, royaumes (couleurs provisoires du client)         */
/* ------------------------------------------------------------------ */
:root {
  color-scheme: dark;
  --nuit: #060912;
  --nuit-2: #0a1020;
  --encre: #0f1729;
  --encre-2: #16203a;
  --ligne: #253152;
  --or: #d4a640;
  --or-clair: #eed38c;
  --or-sombre: #8a6a24;
  --parchemin: #efe5cf;
  --sur-parchemin: #1d1609;
  --texte: #ebe6da;
  --discret: #a9b1c4;
  --erreur: #ff9a8c;
  --succes: #7fd3a4;

  --prosperia: #b88c2e;
  --prosperia-clair: #e3bd62;
  --kassajin: #bf4d40;
  --kassajin-clair: #ee8a7c;
  --enrendel: #33855c;
  --enrendel-clair: #66c896;
  --neutre: #61666f;
  --neutre-clair: #bfc4cd;

  --titres: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --marque: "Bungee", "Arial Black", sans-serif;
  --texte-courant: "Palatino Linotype", Palatino, "Book Antiqua", "Iowan Old Style", Georgia, serif;

  --largeur: 72rem;
  --largeur-texte: 44rem;
  --gouttiere: 1rem;
  --entete: 4rem;
}

/* ------------------------------------------------------------------ */
/* Base                                                                */
/* ------------------------------------------------------------------ */
* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--entete) + 1rem); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--nuit);
  color: var(--texte);
  font-family: var(--texte-courant);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; }
a { color: var(--or-clair); text-underline-offset: .18em; }
a:hover { color: #fff3cf; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 {
  font-family: var(--titres);
  font-weight: 400;
  letter-spacing: .03em;
  line-height: 1.05;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.8rem, 9vw, 4.75rem); color: var(--or-clair); }
h2 { font-size: clamp(2rem, 6vw, 3rem); }
h3 { font-size: 1.7rem; }
h4 { font-size: 1.35rem; }
::selection { background: var(--or); color: var(--nuit); }

/* Accessibilité */
.lien-evitement {
  position: absolute;
  left: -9999px;
  top: .5rem;
  z-index: 200;
  padding: .6rem 1rem;
  background: var(--or);
  color: var(--nuit);
  font-weight: 700;
}
.lien-evitement:focus { left: 1rem; }
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
:focus-visible {
  outline: 3px solid var(--or-clair);
  outline-offset: 3px;
}
[hidden] { display: none !important; }
.discret, .meta { color: var(--discret); }
.meta { font-size: .92rem; margin: 0 0 .4rem; }
.vide { color: var(--discret); font-style: italic; }

/* ------------------------------------------------------------------ */
/* Boutons et formulaires                                              */
/* ------------------------------------------------------------------ */
.bouton, .bouton-secondaire, button, input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 3rem;
  padding: .55rem 1.5rem .45rem;
  border: 1px solid var(--or);
  border-radius: 3px;
  font-family: var(--titres);
  font-size: 1.35rem;
  letter-spacing: .06em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, box-shadow .15s;
}
.bouton, input[type="submit"] {
  background: linear-gradient(180deg, #e8c160, #c48f2a);
  color: #170f01;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .4) inset, 0 6px 24px -10px rgba(212, 166, 64, .7);
}
.bouton:hover, input[type="submit"]:hover { background: linear-gradient(180deg, #f2d37f, #d29d35); color: #170f01; }
.bouton-secondaire, button {
  background: rgba(6, 9, 18, .4);
  color: var(--or-clair);
}
.bouton-secondaire:hover, button:hover { background: rgba(212, 166, 64, .14); color: #fff3cf; }
button:disabled { opacity: .6; cursor: progress; }
.bouton-inactif, .bouton-inactif:hover {
  background: var(--encre-2);
  border-color: var(--ligne);
  color: var(--discret);
  box-shadow: none;
  cursor: default;
}
.bouton-inactif small {
  font-family: var(--texte-courant);
  font-size: .8rem;
  letter-spacing: 0;
  padding: .15rem .45rem;
  border: 1px solid var(--ligne);
  border-radius: 99px;
}
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; }

input, select, textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--texte);
  background: var(--nuit);
  border: 1px solid #44507a;
  border-radius: 4px;
  padding: .55rem .7rem;
  min-height: 2.9rem;
  max-width: 100%;
}
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-offset: 1px; border-color: var(--or); }
input[aria-invalid="true"] { border-color: var(--erreur); }
label { display: block; font-weight: 700; margin-bottom: .3rem; }
.search-form { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.search-form label { flex: 1 1 14rem; margin: 0; }
.search-form .search-field { width: 100%; }

/* ------------------------------------------------------------------ */
/* En-tête                                                             */
/* ------------------------------------------------------------------ */
.entete {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 9, 18, .88);
  border-bottom: 1px solid rgba(212, 166, 64, .22);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.admin-bar .entete { top: 32px; }
@media (max-width: 782px) { .admin-bar .entete { top: 0; } }
.entete-interieur {
  max-width: var(--largeur);
  margin: 0 auto;
  min-height: var(--entete);
  padding: 0 var(--gouttiere);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 1.5rem;
}
.marque {
  display: inline-flex;
  align-items: baseline;
  gap: .45rem;
  padding: .5rem 0;
  text-decoration: none;
}
.marque-nom { font-family: var(--marque); font-size: 1.15rem; color: var(--or-clair); letter-spacing: .02em; }
.marque-suffixe { font-family: var(--titres); font-size: 1.15rem; color: var(--texte); letter-spacing: .32em; }
.custom-logo-link { display: inline-block; line-height: 0; padding: .4rem 0; }
.custom-logo { max-height: 2.75rem; width: auto; }

.nav-principale ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-principale a {
  display: inline-block;
  padding: .55rem 0 .4rem;
  font-family: var(--titres);
  font-size: 1.3rem;
  letter-spacing: .06em;
  color: var(--texte);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.nav-principale a:hover { color: var(--or-clair); }
.nav-principale a[aria-current="page"], .nav-principale .current-menu-item > a { color: var(--or-clair); border-bottom-color: var(--or); }

.bouton-menu {
  min-height: 2.75rem;
  padding: .45rem .9rem .35rem;
  font-size: 1.2rem;
}
.bouton-menu-trait,
.bouton-menu-trait::before,
.bouton-menu-trait::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: currentColor;
  position: relative;
}
.bouton-menu-trait::before, .bouton-menu-trait::after { content: ""; position: absolute; left: 0; }
.bouton-menu-trait::before { top: -6px; }
.bouton-menu-trait::after { top: 6px; }

@media (max-width: 63.99rem) {
  .menu-repliable .nav-principale { display: none; width: 100%; padding: .25rem 0 1rem; }
  .menu-ouvert .nav-principale { display: block; }
  .menu-repliable .nav-principale ul { flex-direction: column; }
  .menu-repliable .nav-principale a { display: block; padding: .7rem 0; border-bottom: 1px solid var(--ligne); }
  .menu-repliable .nav-principale a[aria-current="page"] { border-bottom-color: var(--or); }
}
@media (min-width: 64rem) {
  .bouton-menu { display: none; }
}

/* ------------------------------------------------------------------ */
/* Bandeau d'accueil                                                   */
/* ------------------------------------------------------------------ */
.bandeau {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 0;
  display: grid;
  align-items: center;
  gap: 2.5rem;
  max-width: none;
  padding: 3rem var(--gouttiere) 4rem;
  background:
    radial-gradient(ellipse 70% 60% at 72% 45%, rgba(212, 166, 64, .14), transparent 70%),
    radial-gradient(ellipse 90% 70% at 10% 100%, rgba(40, 62, 120, .35), transparent 70%),
    linear-gradient(180deg, #070b17 0%, #060912 100%);
}
/* L'illustration de fond, fondue dans la nuit. */
.bandeau::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("assets/img/fond-astre.jpg") 50% 0 / min(64rem, 140%) auto no-repeat;
  opacity: .32;
  -webkit-mask-image: radial-gradient(ellipse 55% 60% at 50% 35%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 55% 60% at 50% 35%, #000 30%, transparent 75%);
}
/* Poussière d'étoiles. */
.bandeau::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(1px 1px at 12% 22%, rgba(255, 240, 200, .7), transparent 60%),
    radial-gradient(1px 1px at 82% 14%, rgba(255, 240, 200, .6), transparent 60%),
    radial-gradient(1.5px 1.5px at 64% 78%, rgba(255, 240, 200, .5), transparent 60%),
    radial-gradient(1px 1px at 28% 68%, rgba(255, 240, 200, .5), transparent 60%),
    radial-gradient(1px 1px at 92% 58%, rgba(255, 240, 200, .6), transparent 60%),
    radial-gradient(1.5px 1.5px at 44% 8%, rgba(255, 240, 200, .5), transparent 60%);
  background-size: 420px 380px;
}
.bandeau-texte { position: relative; max-width: 38rem; }
.titre-jeu { margin: 0 0 1.25rem; line-height: .9; }
.titre-jeu-nom {
  display: block;
  font-family: var(--marque);
  font-size: clamp(2.9rem, 13.5vw, 7rem);
  letter-spacing: -.01em;
  color: var(--or-clair);
  background: linear-gradient(180deg, #fbe7ae 0%, #e6bd5c 48%, #a87821 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 18px rgba(212, 166, 64, .25));
}
.titre-jeu-suffixe {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: .6rem;
  font-family: var(--titres);
  font-size: clamp(1.6rem, 6vw, 2.6rem);
  letter-spacing: .6em;
  color: var(--texte);
}
.titre-jeu-suffixe::before, .titre-jeu-suffixe::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--or));
}
.titre-jeu-suffixe::after { background: linear-gradient(90deg, var(--or), transparent); margin-left: -.6em; }
.accroche { font-size: clamp(1.15rem, 3.6vw, 1.4rem); line-height: 1.5; max-width: 32rem; }
.plateforme {
  display: inline-block;
  margin-bottom: 1.75rem;
  padding: .3rem .85rem;
  border: 1px solid rgba(212, 166, 64, .45);
  border-radius: 99px;
  color: var(--or-clair);
  font-size: .98rem;
}

/* Éventail de cartes : le seul mouvement non demandé du site, à l'arrivée. */
.eventail {
  position: relative;
  height: clamp(17rem, 78vw, 34rem);
  width: 100%;
  max-width: 34rem;
  margin: 0 auto;
}
.eventail-carte {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 41%;
  aspect-ratio: 5 / 7;
  border-radius: 5% / 3.6%;
  transform: translate(-50%, -50%) translate(var(--dx), var(--dy)) rotate(var(--rot));
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .6);
  animation: distribuer .9s cubic-bezier(.2, .8, .2, 1) both;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.eventail-carte:nth-child(1) { --dx: -50%; --dy: 6%; --rot: -13deg; animation-delay: .15s; z-index: 1; }
.eventail-carte:nth-child(2) { --dx: 0%; --dy: -4%; --rot: -1deg; animation-delay: .3s; z-index: 3; }
.eventail-carte:nth-child(3) { --dx: 50%; --dy: 7%; --rot: 12deg; animation-delay: .45s; z-index: 2; }
.eventail:hover .eventail-carte:nth-child(1) { --dx: -60%; --rot: -16deg; }
.eventail:hover .eventail-carte:nth-child(3) { --dx: 60%; --rot: 15deg; }
@keyframes distribuer {
  from { opacity: 0; transform: translate(-50%, -38%) rotate(0deg) scale(.92); }
}

.carte-art {
  padding: 3.2%;
  background: linear-gradient(160deg, #f1d68e, #a87a26 40%, #f0d38a 60%, #8a6320);
}
.carte-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 3.5% / 2.5%;
  box-shadow: 0 0 0 2px #070b16;
}
.dos-carte {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(212, 166, 64, .28), transparent 42%),
    repeating-conic-gradient(from 0deg at 50% 50%, rgba(212, 166, 64, .13) 0deg 2deg, transparent 2deg 10deg),
    linear-gradient(160deg, #15204a, #070b19);
  border: 2px solid var(--or);
  box-shadow: inset 0 0 0 5px #0a1128, inset 0 0 0 6px rgba(212, 166, 64, .6), 0 30px 60px -20px rgba(0, 0, 0, .9);
}
.dos-carte::before {
  content: "";
  position: absolute;
  width: 42%;
  aspect-ratio: 1;
  border: 2px solid var(--or);
  background: #0b1430;
  transform: rotate(45deg);
  box-shadow: 0 0 0 5px rgba(11, 20, 48, .9), 0 0 0 6px rgba(212, 166, 64, .5);
}
.dos-sceau {
  position: relative;
  font-family: var(--marque);
  font-size: clamp(1.4rem, 6vw, 2.6rem);
  color: var(--or-clair);
}

@media (min-width: 60rem) {
  .bandeau {
    min-height: calc(100svh - var(--entete));
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    padding-inline: max(var(--gouttiere), calc((100% - var(--largeur)) / 2));
  }
  .bandeau::before { background-position: 85% 50%; background-size: 60rem auto; -webkit-mask-image: radial-gradient(ellipse 45% 60% at 75% 50%, #000 25%, transparent 75%); mask-image: radial-gradient(ellipse 45% 60% at 75% 50%, #000 25%, transparent 75%); }
}

/* ------------------------------------------------------------------ */
/* Sections de l'accueil                                               */
/* ------------------------------------------------------------------ */
.section { padding: clamp(3.5rem, 9vw, 6.5rem) 0; position: relative; }
.section-interieur { max-width: var(--largeur); margin: 0 auto; padding: 0 var(--gouttiere); }
.titre-section {
  color: var(--or-clair);
  margin-bottom: 1.5rem;
}
.titre-section::after {
  content: "";
  display: block;
  width: 7rem;
  height: 9px;
  margin-top: .7rem;
  background:
    linear-gradient(45deg, transparent 35%, var(--or) 35% 65%, transparent 65%) 0 50% / 9px 9px no-repeat,
    linear-gradient(90deg, var(--or), transparent) 14px 50% / calc(100% - 14px) 1px no-repeat;
}
.introduction { max-width: var(--largeur-texte); color: var(--discret); font-size: 1.1rem; margin-bottom: 2.25rem; }

/* Le jeu en bref */
.bref { background: linear-gradient(180deg, var(--nuit), var(--nuit-2)); }
.points {
  display: grid;
  gap: 2.25rem 3rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}
.point { padding-top: 1.25rem; border-top: 1px solid rgba(212, 166, 64, .35); max-width: 34rem; }
.point h3 { margin: .85rem 0 .4rem; color: var(--texte); }
.point p { color: var(--discret); margin: 0; }
.icone {
  display: block;
  width: 2.4rem;
  height: 2.4rem;
  background: var(--or);
  -webkit-mask: var(--icone) center / contain no-repeat;
  mask: var(--icone) center / contain no-repeat;
}
.icone-etoile {
  -webkit-mask: none;
  mask: none;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}
@media (min-width: 48rem) {
  .points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.titre-phases { margin: 4rem 0 1.25rem; color: var(--texte); }
.phases {
  counter-reset: phase;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.phases li {
  counter-increment: phase;
  position: relative;
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  column-gap: 1rem;
  padding: 0 0 1.4rem;
}
.phases li::before {
  content: counter(phase);
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--or);
  border-radius: 50%;
  background: var(--nuit);
  font-family: var(--marque);
  color: var(--or-clair);
  position: relative;
  z-index: 1;
}
.phases li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 1.375rem;
  top: 2.75rem;
  bottom: 0;
  width: 1px;
  background: rgba(212, 166, 64, .4);
}
.phase-nom { font-family: var(--titres); font-size: 1.6rem; letter-spacing: .05em; color: var(--or-clair); line-height: 1.6; }
.phase-sens { color: var(--discret); font-size: .98rem; line-height: 1.45; }
@media (min-width: 56rem) {
  .phases { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; }
  .phases li { grid-template-columns: 1fr; padding: 0; }
  .phases li::before { grid-row: auto; margin-bottom: .75rem; }
  .phases li:not(:last-child)::after { left: 3.25rem; right: -1.5rem; top: 1.375rem; bottom: auto; width: auto; height: 1px; }
}

/* Royaumes */
.royaumes { background: var(--nuit-2); }
.liste-royaumes {
  display: grid;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.royaume { --r: var(--neutre); --r-clair: var(--neutre-clair); }
.royaume-prosperia, .tn-carte.royaume-prosperia, .deck.royaume-prosperia, .ligne-collection.royaume-prosperia { --r: var(--prosperia); --r-clair: var(--prosperia-clair); }
.royaume-kassajin, .tn-carte.royaume-kassajin, .deck.royaume-kassajin, .ligne-collection.royaume-kassajin { --r: var(--kassajin); --r-clair: var(--kassajin-clair); }
.royaume-enrendel, .tn-carte.royaume-enrendel, .deck.royaume-enrendel, .ligne-collection.royaume-enrendel { --r: var(--enrendel); --r-clair: var(--enrendel-clair); }
.royaume-neutre { --r: var(--neutre); --r-clair: var(--neutre-clair); }
.royaume-cadre {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 1.25rem;
  padding: 1.5rem;
  border: 2px solid var(--r);
  border-radius: 14px;
  background:
    radial-gradient(ellipse 80% 70% at 0% 0%, color-mix(in srgb, var(--r) 35%, transparent), transparent 70%),
    #070b16;
  box-shadow: inset 0 0 0 5px #070b16, inset 0 0 0 6px color-mix(in srgb, var(--r) 55%, transparent);
}
.royaume-initiale {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  border: 2px solid var(--r-clair);
  background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--r) 70%, #fff 10%), #0b1226 75%);
  font-family: var(--marque);
  font-size: 2rem;
  color: #fff8e6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .6);
}
.royaume-nom { font-family: var(--marque); font-size: 1.5rem; letter-spacing: 0; margin: 0 0 .5rem; color: var(--r-clair); }
.royaume-infos { margin: 0; }
.royaume-infos div { display: flex; gap: .5rem; flex-wrap: wrap; }
.royaume-infos dt { color: var(--discret); }
.royaume-infos dt::after { content: " :"; }
.royaume-infos dd { margin: 0; font-weight: 700; }
@media (min-width: 52rem) {
  .liste-royaumes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .royaume-cadre {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    aspect-ratio: 5 / 6;
    align-content: center;
    padding: 2rem 1.5rem;
    background:
      radial-gradient(ellipse 80% 55% at 50% 0%, color-mix(in srgb, var(--r) 40%, transparent), transparent 75%),
      #070b16;
  }
  .royaume-cadre::before, .royaume-cadre::after {
    content: "\2726";
    position: absolute;
    top: 50%;
    color: var(--r-clair);
    font-size: .9rem;
    transform: translateY(-50%);
  }
  .royaume-cadre::before { left: -.4rem; }
  .royaume-cadre::after { right: -.4rem; }
  .royaume-initiale { grid-row: auto; width: 6.5rem; height: 6.5rem; font-size: 3rem; margin-bottom: 1.5rem; }
  .royaume-nom { font-size: 1.9rem; }
  .royaume-infos div { justify-content: center; }
}

/* Modèle */
.modele {
  background:
    linear-gradient(90deg, transparent, rgba(212, 166, 64, .5), transparent) top / 100% 1px no-repeat,
    linear-gradient(90deg, transparent, rgba(212, 166, 64, .5), transparent) bottom / 100% 1px no-repeat,
    radial-gradient(ellipse 60% 100% at 50% 0%, rgba(212, 166, 64, .08), transparent 70%),
    var(--nuit);
}
.engagements {
  display: grid;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.engagements h3 { color: var(--or-clair); margin-bottom: .3rem; font-size: 1.9rem; }
.engagements p { color: var(--discret); margin: 0; }
@media (min-width: 48rem) {
  .engagements { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .engagements li { padding: 0 2rem; border-left: 1px solid rgba(212, 166, 64, .3); }
  .engagements li:first-child { padding-left: 0; border-left: 0; }
}

/* Notes de mise à jour (frise) */
.notes-accueil { background: var(--nuit-2); }
.frise-notes {
  position: relative;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
  max-width: 52rem;
}
.note {
  position: relative;
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0 0 2rem;
}
.note::before {
  content: "";
  position: absolute;
  left: 5.5rem;
  top: .5rem;
  bottom: 0;
  width: 1px;
  background: rgba(212, 166, 64, .35);
}
.note:last-child::before { bottom: auto; height: 1rem; }
.note-version {
  font-family: var(--marque);
  font-size: 1.15rem;
  color: var(--or);
  line-height: 1.6;
  text-align: right;
  padding-right: .75rem;
  overflow-wrap: anywhere;
}
.note-corps { padding-left: 1.25rem; position: relative; }
.note-corps::before {
  content: "";
  position: absolute;
  left: -1.3rem;
  top: .55rem;
  width: 9px;
  height: 9px;
  background: var(--or);
  transform: rotate(45deg);
}
.note-titre { margin: 0 0 .2rem; font-size: 1.6rem; }
.note-titre a { color: var(--texte); text-decoration: none; }
.note-titre a:hover { color: var(--or-clair); text-decoration: underline; }
.note-extrait p { color: var(--discret); margin: .3rem 0 0; }
@media (min-width: 40rem) {
  .note { grid-template-columns: 8rem minmax(0, 1fr); gap: 1.5rem; }
  .note::before { left: 8rem; }
  .note-version { font-size: 1.6rem; padding-right: 1rem; }
  .note-corps::before { left: -1.8rem; }
}
.lien-fleche { font-family: var(--titres); font-size: 1.3rem; letter-spacing: .05em; }

/* Actualités en cartes */
.grille-actualites {
  display: grid;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 40rem) { .grille-actualites { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .grille-actualites { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.grille-actualites > li { display: flex; }
.resume {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--encre);
  border: 1px solid var(--ligne);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .2s;
}
.resume:hover, .resume:focus-within { border-color: var(--or); }
.resume-image { aspect-ratio: 16 / 9; background: var(--encre-2); overflow: hidden; }
.resume-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.resume-image-vide {
  background:
    radial-gradient(circle at 50% 120%, rgba(212, 166, 64, .25), transparent 55%),
    repeating-conic-gradient(from 0deg at 50% 120%, rgba(212, 166, 64, .07) 0deg 2deg, transparent 2deg 9deg),
    linear-gradient(160deg, #15204a, #080c1b);
}
.resume-corps { padding: 1.1rem 1.25rem 1.4rem; }
.resume-titre { font-size: 1.7rem; margin: 0 0 .4rem; }
.resume-titre a { color: var(--texte); text-decoration: none; }
/* Toute la carte est cliquable, le lien reste le titre. */
.resume-titre a::after { content: ""; position: absolute; inset: 0; }
.resume-titre a:focus-visible { outline: none; }
.resume:focus-within { outline: 3px solid var(--or-clair); outline-offset: 3px; }
.resume-extrait p { color: var(--discret); margin: 0; font-size: 1rem; }

/* ------------------------------------------------------------------ */
/* Pages intérieures                                                   */
/* ------------------------------------------------------------------ */
.tete-page {
  position: relative;
  padding: clamp(2.5rem, 8vw, 5rem) var(--gouttiere) clamp(1.75rem, 5vw, 3rem);
  background:
    radial-gradient(ellipse 60% 120% at 80% 0%, rgba(212, 166, 64, .12), transparent 70%),
    radial-gradient(ellipse 60% 100% at 0% 100%, rgba(40, 62, 120, .3), transparent 70%),
    var(--nuit);
  border-bottom: 1px solid rgba(212, 166, 64, .25);
}
.tete-page > * { max-width: var(--largeur); margin-left: auto; margin-right: auto; }
.tete-page h1 { margin-bottom: .3em; }
.tete-page-texte { color: var(--discret); font-size: 1.15rem; }
.tete-page-texte > :last-child { margin-bottom: 0; }
.tete-page-retour { margin-bottom: 1rem; font-family: var(--titres); font-size: 1.2rem; letter-spacing: .06em; }
.tete-page-retour a { text-decoration: none; }
.tete-page-retour a::before { content: "\2039\00a0"; }
.version-article { font-family: var(--marque); font-size: clamp(2rem, 8vw, 3.2rem); color: var(--or); margin-bottom: .2rem; line-height: 1; }
.page-corps {
  max-width: calc(var(--largeur-texte) + 2 * var(--gouttiere));
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 3.5rem) var(--gouttiere) clamp(3rem, 8vw, 5rem);
}
.page-corps.large { max-width: calc(var(--largeur) + 2 * var(--gouttiere)); }
.page-interieure .tete-page > * { max-width: calc(var(--largeur-texte)); }
.page-interieure .tete-page:has(+ .page-corps.large) > * { max-width: var(--largeur); }

.contenu-texte { font-size: 1.1rem; }
.contenu-texte h2 { color: var(--or-clair); margin-top: 2rem; }
.contenu-texte h3 { margin-top: 1.75rem; }
.contenu-texte blockquote { margin: 1.5rem 0; padding: .25rem 0 .25rem 1.25rem; border-left: 3px solid var(--or); color: var(--discret); font-style: italic; }
.contenu-texte img { border-radius: 8px; }
.contenu-texte ul, .contenu-texte ol { padding-left: 1.4rem; }
.contenu-texte li { margin-bottom: .35rem; }
.contenu-texte li::marker { color: var(--or); }
.contenu-texte code { background: var(--encre-2); padding: .1rem .35rem; border-radius: 3px; font-size: .92em; }
.contenu-texte hr { border: 0; height: 1px; background: rgba(212, 166, 64, .35); margin: 2.5rem 0; }
.contenu-texte table { width: 100%; border-collapse: collapse; }
.contenu-texte th, .contenu-texte td { border-bottom: 1px solid var(--ligne); padding: .5rem; text-align: left; }
.illustration { margin: 0 0 2rem; }
.illustration img { border-radius: 10px; display: block; }
.wp-block-image figcaption, .wp-caption-text { color: var(--discret); font-size: .9rem; }

.post-navigation { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--ligne); }
.post-navigation .nav-links { display: grid; gap: 1rem; }
.post-navigation a { display: block; text-decoration: none; font-family: var(--titres); font-size: 1.35rem; letter-spacing: .03em; }
.post-navigation .discret { display: block; font-family: var(--texte-courant); font-size: .85rem; letter-spacing: 0; }
@media (min-width: 40rem) {
  .post-navigation .nav-links { grid-template-columns: 1fr 1fr; }
  .post-navigation .nav-next { text-align: right; grid-column: 2; }
}
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.5rem; }
.page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0 .75rem;
  border: 1px solid var(--ligne);
  border-radius: 3px;
  text-decoration: none;
  font-family: var(--titres);
  font-size: 1.25rem;
}
.page-numbers.current { background: var(--or); color: var(--nuit); border-color: var(--or); }

/* Téléchargement */
.encart-telechargement {
  padding: 2rem;
  margin-bottom: 2.5rem;
  border: 1px solid rgba(212, 166, 64, .4);
  border-radius: 12px;
  background: radial-gradient(ellipse 80% 100% at 50% 0%, rgba(212, 166, 64, .12), transparent 70%), var(--encre);
  text-align: center;
}
.encart-telechargement p { margin: 1rem 0 0; }
.etapes { counter-reset: etape; list-style: none; padding: 0; margin: 0; }
.etapes li {
  counter-increment: etape;
  position: relative;
  padding: 0 0 1.5rem 3.75rem;
  color: var(--discret);
}
.etapes li::before {
  content: counter(etape);
  position: absolute;
  left: 0;
  top: -.2rem;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--or);
  border-radius: 50%;
  font-family: var(--marque);
  color: var(--or-clair);
}
.etape-titre { display: block; font-family: var(--titres); font-size: 1.5rem; letter-spacing: .04em; color: var(--texte); }

/* 404 */
.code-404 {
  font-family: var(--marque);
  font-size: clamp(5rem, 24vw, 10rem);
  line-height: 1;
  margin-bottom: .5rem;
  color: transparent;
  -webkit-text-stroke: 2px var(--or);
}
.page-404 .actions { margin-bottom: 1rem; }

/* Commentaires */
.commentaires { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--ligne); }
.liste-commentaires { padding-left: 1.25rem; }
.comment-form textarea, .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"] { width: 100%; }

/* ------------------------------------------------------------------ */
/* Visuel de carte (catalogue, fiche) : d'après les cadres du jeu       */
/* ------------------------------------------------------------------ */
.tn-carte {
  --r: var(--neutre);
  --r-clair: var(--neutre-clair);
  width: 100%;
  position: relative;
  display: grid;
  grid-template-rows: 13cqi minmax(0, 1fr) auto 30cqi 12cqi;
  gap: 2.2cqi;
  aspect-ratio: 5 / 7;
  padding: 4.5cqi;
  border: 1.4cqi solid var(--r);
  border-radius: 6cqi;
  background:
    radial-gradient(ellipse 90% 45% at 50% 35%, color-mix(in srgb, var(--r) 22%, transparent), transparent 70%),
    #070b16;
  box-shadow: inset 0 0 0 1.4cqi #070b16, inset 0 0 0 1.9cqi color-mix(in srgb, var(--r-clair) 55%, transparent);
  color: var(--texte);
  text-align: left;
  overflow: hidden;
}
.tn-carte::before, .tn-carte::after {
  content: "\2726";
  position: absolute;
  top: 56%;
  font-size: 5cqi;
  line-height: 1;
  color: var(--r-clair);
}
.tn-carte::before { left: .8cqi; }
.tn-carte::after { right: .8cqi; }
.tn-cout {
  position: absolute;
  left: 3.5cqi;
  top: 3cqi;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 16cqi;
  height: 16cqi;
  border-radius: 50%;
  border: 1cqi solid var(--r-clair);
  background: radial-gradient(circle at 35% 30%, #34488c, #0c1430 70%);
  font-family: var(--marque);
  font-size: 8cqi;
  line-height: 1;
  color: #fff;
}
.tn-cout-generateurs { background: radial-gradient(circle at 35% 30%, #6a2b25, #1d0a0a 70%); }
.tn-nom {
  align-self: center;
  margin-left: 15cqi;
  padding: 1.5cqi 3cqi 1cqi 4cqi;
  background: var(--parchemin);
  color: var(--sur-parchemin);
  font-family: var(--titres);
  font-size: 6.6cqi;
  line-height: 1.05;
  letter-spacing: .02em;
  border: .6cqi solid var(--r-clair);
  border-radius: 1.5cqi;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.type-legende .tn-cout, .type-grace .tn-cout { border-style: double; }
.tn-art {
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 2cqi;
  border: .5cqi solid color-mix(in srgb, var(--r-clair) 50%, transparent);
  background:
    radial-gradient(circle at 50% 55%, color-mix(in srgb, var(--r) 55%, transparent), transparent 62%),
    repeating-conic-gradient(from 0deg at 50% 55%, color-mix(in srgb, var(--r-clair) 12%, transparent) 0deg 2deg, transparent 2deg 11deg),
    #0a1022;
  overflow: hidden;
}
.tn-art-glyphe {
  font-family: var(--marque);
  font-size: 30cqi;
  line-height: 1;
  color: color-mix(in srgb, var(--r-clair) 45%, transparent);
}
.tn-type {
  font-family: var(--titres);
  font-size: 5cqi;
  letter-spacing: .05em;
  line-height: 1.1;
  color: var(--r-clair);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tn-texte {
  margin: 0;
  padding: 2.5cqi 3cqi;
  background: var(--parchemin);
  color: var(--sur-parchemin);
  border-radius: 2cqi;
  border: .5cqi solid var(--r-clair);
  font-size: 4.6cqi;
  line-height: 1.3;
  overflow: hidden;
}
.tn-texte:empty { background: color-mix(in srgb, var(--parchemin) 85%, transparent); }
.tn-stats {
  display: flex;
  align-items: center;
  justify-content: space-around;
  border: .6cqi solid var(--r);
  border-radius: 99px;
  background: #0d1530;
  padding: 0 4cqi;
}
.tn-stats:empty { visibility: hidden; }
.tn-stat { display: inline-flex; align-items: center; gap: 1.5cqi; font-family: var(--marque); font-size: 6cqi; line-height: 1; color: #fff; }
.icone-stat {
  display: inline-block;
  width: 6cqi;
  height: 6cqi;
  background: var(--r-clair);
  -webkit-mask: var(--icone) center / contain no-repeat;
  mask: var(--icone) center / contain no-repeat;
}

/* ------------------------------------------------------------------ */
/* Page Cartes                                                         */
/* ------------------------------------------------------------------ */
.filtres {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.25rem;
  margin: 0 0 1rem;
  background: var(--encre);
  border: 1px solid var(--ligne);
  border-radius: 10px;
}
.filtres .champ { flex: 1 1 10rem; }
.filtres .champ-recherche { flex: 2 1 14rem; }
.filtres input, .filtres select { width: 100%; }
.etat-cartes { color: var(--discret); }
.erreur-cartes { padding: 1.25rem; border: 1px solid var(--erreur); border-radius: 8px; color: var(--erreur); }
.erreur-cartes p { margin-bottom: .75rem; }
.grille-cartes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(9.5rem, 42vw), 1fr));
  gap: 1rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 48rem) { .grille-cartes { grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr)); gap: 1.5rem; } }
.bouton-carte, .fiche-visuel { container-type: inline-size; }
.bouton-carte {
  display: block;
  width: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 6%;
  background: none;
  font: inherit;
  letter-spacing: normal;
  transition: transform .2s cubic-bezier(.2, .8, .2, 1), filter .2s;
}
.bouton-carte:hover { background: none; transform: translateY(-4px); filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .7)); }
.bouton-carte:focus-visible { outline-offset: 4px; }

.fiche {
  width: min(52rem, calc(100% - 2rem));
  max-height: calc(100svh - 2rem);
  padding: 0;
  border: 1px solid var(--or);
  border-radius: 14px;
  background: var(--nuit-2);
  color: var(--texte);
  overflow: auto;
}
.fiche::backdrop { background: rgba(3, 5, 10, .82); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.fiche-interieur { position: relative; display: grid; gap: 1.5rem; padding: 3.5rem 1.25rem 1.5rem; }
.fiche-visuel { width: min(17rem, 80%); margin: 0 auto; }
.fiche-fermer {
  position: absolute;
  top: .75rem;
  right: .75rem;
  width: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  font-size: 1.8rem;
}
.fiche-nom { color: var(--or-clair); font-size: clamp(2rem, 6vw, 2.75rem); margin: 0 0 .2rem; }
.fiche-type { color: var(--discret); font-family: var(--titres); font-size: 1.3rem; letter-spacing: .05em; }
.fiche-stats { margin: 0 0 1.25rem; display: grid; gap: .1rem; }
.fiche-stats div { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; border-bottom: 1px solid var(--ligne); }
.fiche-stats dt { color: var(--discret); }
.fiche-stats dd { margin: 0; font-weight: 700; text-align: right; }
.fiche-texte { padding: 1rem 1.1rem; background: var(--parchemin); color: var(--sur-parchemin); border-radius: 8px; white-space: pre-line; }
@media (min-width: 44rem) {
  .fiche-interieur { grid-template-columns: 17rem minmax(0, 1fr); padding: 2rem; align-items: start; }
  .fiche-visuel { width: 100%; }
  .fiche-details { padding-right: 2rem; }
}

/* ------------------------------------------------------------------ */
/* Page Compte                                                         */
/* ------------------------------------------------------------------ */
.message-compte {
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--ligne);
  border-left: 4px solid var(--or);
  border-radius: 6px;
  background: var(--encre);
}
.message-compte:focus { outline: none; }
.message-succes { border-left-color: var(--succes); }
.message-alerte { border-left-color: var(--erreur); }
.panneau-connexion {
  max-width: 30rem;
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--ligne);
  border-top: 2px solid var(--or);
  border-radius: 12px;
  background: var(--encre);
}
.titre-panneau { color: var(--or-clair); font-size: 2.2rem; }
.choix-mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 0 1.5rem;
  padding: 3px;
  border: 1px solid var(--ligne);
  border-radius: 6px;
  background: var(--nuit);
}
.choix-mode label {
  position: relative;
  margin: 0;
  padding: .6rem .5rem;
  border-radius: 4px;
  text-align: center;
  font-weight: 400;
  cursor: pointer;
}
.choix-mode input { position: absolute; opacity: 0; inset: 0; margin: 0; min-height: 0; cursor: pointer; }
.choix-mode label:has(input:checked) { background: var(--or); color: #170f01; font-weight: 700; }
.choix-mode label:has(input:focus-visible) { outline: 3px solid var(--or-clair); outline-offset: 2px; }
.formulaire-compte .champ { margin-bottom: 1.1rem; }
.formulaire-compte input:not([type="radio"]) { width: 100%; }
.aide { margin: .3rem 0 0; color: var(--discret); font-size: .9rem; }
.erreur-champ, .erreur-formulaire { margin: .3rem 0 0; color: var(--erreur); font-size: .95rem; }
.erreur-champ:empty, .erreur-formulaire:empty { display: none; }
.erreur-formulaire { margin-bottom: 1rem; }
.formulaire-compte .bouton { width: 100%; }

.joueur-entete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.joueur-entete .titre-panneau { margin: 0; }
.joueur-pseudo { color: var(--texte); }
.bloc-joueur { margin-top: 2.5rem; }
.titre-bloc { font-size: 1.9rem; color: var(--or-clair); padding-bottom: .4rem; border-bottom: 1px solid rgba(212, 166, 64, .3); }
.etat-bloc { color: var(--discret); }
.etat-bloc:empty { display: none; }
.liste-decks { display: grid; gap: 1rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
@media (min-width: 40rem) { .liste-decks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.deck {
  --r: var(--neutre);
  --r-clair: var(--neutre-clair);
  padding: 1rem 1.1rem;
  border: 1px solid var(--ligne);
  border-left: 4px solid var(--r);
  border-radius: 8px;
  background: var(--encre);
}
.deck-tete { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; }
.deck-nom { margin: 0 0 .5rem; font-size: 1.55rem; overflow-wrap: anywhere; }
.badge { flex: none; padding: .15rem .55rem; border-radius: 99px; font-size: .82rem; border: 1px solid; }
.badge-jouable { color: var(--succes); border-color: currentColor; }
.badge-brouillon { color: var(--discret); border-color: var(--ligne); }
.deck-infos { margin: 0; font-size: .95rem; }
.deck-infos div { display: flex; gap: .4rem; }
.deck-infos dt { color: var(--discret); }
.deck-infos dt::after { content: " :"; }
.deck-infos dd { margin: 0; }
.deck-erreurs { margin: .6rem 0 0; padding-left: 1.2rem; color: var(--erreur); font-size: .92rem; }
.groupe-collection { margin-bottom: 1.5rem; }
.titre-groupe { font-size: 1.4rem; color: var(--texte); margin-bottom: .6rem; }
.liste-collection { display: grid; gap: .4rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 40rem) { .liste-collection { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ligne-collection {
  --r: var(--neutre);
  --r-clair: var(--neutre-clair);
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .4rem .75rem .4rem .45rem;
  border: 1px solid var(--ligne);
  border-left: 3px solid var(--r);
  border-radius: 6px;
  background: var(--encre);
}
.ligne-cout {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  border: 1px solid var(--r-clair);
  background: #0c1430;
  font-family: var(--marque);
  font-size: .85rem;
}
.ligne-cout-vide { color: var(--discret); }
.ligne-nom { flex: 1; min-width: 0; overflow-wrap: anywhere; line-height: 1.3; }
.ligne-quantite { flex: none; font-family: var(--marque); font-size: .9rem; color: var(--or-clair); }

/* ------------------------------------------------------------------ */
/* Pied de page                                                        */
/* ------------------------------------------------------------------ */
.pied {
  background:
    linear-gradient(90deg, transparent, rgba(212, 166, 64, .5), transparent) top / 100% 1px no-repeat,
    #04060d;
  color: var(--discret);
  font-size: .98rem;
}
.pied-interieur {
  max-width: var(--largeur);
  margin: 0 auto;
  padding: 3rem var(--gouttiere) 2rem;
  display: grid;
  gap: 2rem;
}
.pied-nom { margin-bottom: .5rem; }
.pied-marque p:last-child { max-width: 24rem; }
.pied-titre { font-size: 1.3rem; color: var(--texte); letter-spacing: .08em; margin-bottom: .5rem; }
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li a { display: inline-block; padding: .3rem 0; color: var(--discret); text-decoration: none; }
.pied li a:hover { color: var(--or-clair); text-decoration: underline; }
.pied-bas {
  max-width: var(--largeur);
  margin: 0 auto;
  padding: 1.25rem var(--gouttiere) 2rem;
  border-top: 1px solid var(--ligne);
  font-size: .88rem;
}
@media (min-width: 48rem) {
  .pied-interieur { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* ------------------------------------------------------------------ */
/* Écrans plus larges                                                  */
/* ------------------------------------------------------------------ */
@media (min-width: 48rem) {
  :root { --gouttiere: 1.5rem; }
  body { font-size: 1.125rem; }
}

/* Mouvement réduit : ni animation ni transition. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .bouton-carte:hover { transform: none; }
}

/* Commentaires (détails) */
.liste-commentaires li { margin-bottom: 1.5rem; }
.liste-commentaires .avatar { border-radius: 50%; vertical-align: middle; margin-right: .5rem; }
.comment-meta { font-size: .9rem; color: var(--discret); }
.comment-reply-link { font-family: var(--titres); letter-spacing: .05em; }
