/* Pied de page commun à toutes les pages (fabriqué par H24ROULETTE-ACCUEIL-FABRIQUE\pied.py).
   Chargé après accueil.css (qui fournit .or, .age, .sr-only, svg.i et les couleurs). */

.pied-site {
  position: relative; z-index: 2; margin-top: auto; width: 100%; overflow: hidden;
  background:
    radial-gradient(ellipse 55% 90% at 12% 0, rgba(47, 134, 255, .16), transparent 70%),
    radial-gradient(ellipse 45% 80% at 92% 100%, rgba(247, 201, 72, .1), transparent 70%),
    linear-gradient(180deg, #050a24 0, #030616 100%);
}
/* Raccord avec la dernière section : trait doré lumineux et reflet qui le parcourt, comme entre les rubriques */
.pied-site::before, .pied-site::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; pointer-events: none; }
.pied-site::before {
  background: linear-gradient(90deg, rgba(247, 201, 72, 0), #f7c948 18%, #fff1a6 50%, #f7c948 82%, rgba(247, 201, 72, 0));
  box-shadow: 0 0 10px rgba(247, 201, 72, .85), 0 0 26px rgba(247, 201, 72, .3);
}
.pied-site::after {
  top: -3px; height: 8px; width: 160px; left: -200px; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 250, 220, .95), rgba(255, 220, 120, .35) 45%, transparent 70%);
  animation: pied-reflet 11s linear infinite;
}
@keyframes pied-reflet { from { left: -200px; } to { left: calc(100% + 40px); } }

.pied-interieur {
  max-width: 1320px; margin: 0 auto; padding: clamp(34px, 4vw, 56px) var(--marge) clamp(22px, 3vw, 34px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: clamp(24px, 3.4vw, 56px); align-items: start;
}

/* Marque */
.pied-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.pied-logo img { width: 64px; height: auto; flex: none; filter: drop-shadow(0 0 12px rgba(47, 134, 255, .55)); transition: transform .4s ease; }
.pied-logo:hover img { transform: rotate(-8deg) scale(1.05); }
.pied-logo > span { display: flex; flex-direction: column; line-height: 1.15; }
.pied-logo strong { font-style: italic; font-weight: 900; font-size: 1.35rem; letter-spacing: -.01em; white-space: nowrap; }
.pied-logo strong .or { -webkit-text-stroke: 0; }
.pied-logo small { color: var(--or-clair); font-weight: 600; font-size: .82rem; margin-top: 3px; }
.pied-marque p { margin: 14px 0 0; color: rgba(255, 255, 255, .72); font-size: .9rem; line-height: 1.55; }

/* Colonnes */
.pied-colonnes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px clamp(16px, 2.4vw, 36px); }
.pied-col h3 {
  position: relative; margin: 0 0 16px; padding-bottom: 10px;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif; font-weight: 700; font-size: 1.12rem;
  color: var(--or); text-shadow: 0 0 12px rgba(247, 201, 72, .35);
}
.pied-col h3::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 38px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, #f7c948, rgba(247, 201, 72, 0)); box-shadow: 0 0 8px rgba(247, 201, 72, .7);
}
.pied-col ul { display: flex; flex-direction: column; gap: 9px; }
.pied-col a {
  position: relative; display: inline-flex; align-items: center; gap: .45em; color: rgba(255, 255, 255, .86);
  text-decoration: none; font-size: .94rem; line-height: 1.35; padding-left: 0; overflow-wrap: anywhere;
  background: linear-gradient(90deg, #f7c948, #fff1a6) 0 100% / 0 1px no-repeat;
  transition: color .25s, padding-left .25s, background-size .35s, text-shadow .25s;
}
/* Effet au survol : petit chevron doré qui entre, soulignement qui se dessine, lueur */
.pied-col a::before {
  content: ""; position: absolute; left: -2px; top: 50%; width: 6px; height: 6px; margin-top: -3px; opacity: 0;
  border-top: 2px solid var(--or); border-right: 2px solid var(--or); transform: rotate(45deg) translateX(-4px);
  transition: opacity .25s, transform .25s;
}
.pied-col a:hover, .pied-col a:focus-visible {
  color: var(--or-clair); padding-left: 14px; background-size: 100% 1px; text-shadow: 0 0 10px rgba(247, 201, 72, .55);
}
.pied-col a:hover::before, .pied-col a:focus-visible::before { opacity: 1; transform: rotate(45deg) translateX(0); }
.pied-col a[aria-current] { color: var(--or); font-weight: 700; }
.pied-col a.pied-x svg.i { width: 1.05em; height: 1.05em; }

/* Barre basse : avertissement 18+ et droits */
.pied-bas {
  max-width: 1320px; margin: 0 auto; padding: 16px var(--marge) 22px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px;
  border-top: 1px solid rgba(247, 201, 72, .22); font-size: .84rem; color: rgba(255, 255, 255, .72);
}
.pied-bas p { margin: 0; }
.pied-jeu { flex: 1 1 420px; }
.pied-droits { white-space: nowrap; }

/* =========================================================
   Tablette et téléphone
   ========================================================= */
@media (max-width: 999px) {
  .pied-interieur { grid-template-columns: minmax(0, 1fr); }
  .pied-marque { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .pied-marque p { max-width: 560px; }
  .pied-colonnes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; }
  .pied-bas { flex-direction: column; text-align: center; }
  .pied-droits { white-space: normal; }
  .pied-jeu { flex: none; }
}
@media (max-width: 340px) {
  .pied-colonnes { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .pied-site::after { animation: none; display: none; }
  .pied-col a, .pied-col a::before, .pied-logo img { transition: none; }
}
