/* Noctalis : site vitrine. Univers : nuit lunaire, ciel violet, ilots flottants en blocs, boutons dores "chunky".
   Illustrations originales en SVG (aucun visuel repris d'un autre site). */

@font-face { font-family: "Fredoka"; src: url("/assets/fonts/fredoka.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --nuit-0: #0b0320; --nuit-1: #1c0a45; --nuit-2: #2a0e56; --nuit-3: #3d1470; --nuit-4: #52207f;
  --violet: #8b5cf6; --lavande: #c9b6ff; --creme: #fff3df; --or: #ffd166; --orange: #ff9340; --orange-2: #e8601a; --orange-ombre: #9c3a0c;
  --cyan: #59d9ff; --rose: #ff7ab8; --vert: #5fd58b; --texte: #efe6ff; --texte-2: #bfaee6;
  --f-titre: "Fredoka", "Baloo 2", system-ui, sans-serif; --f-texte: "Inter", system-ui, "Segoe UI", sans-serif;
  --r: 22px; --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font: 400 16px/1.65 var(--f-texte); color: var(--texte); background: var(--nuit-2); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--or); }
h1, h2, h3 { font-family: var(--f-titre); margin: 0; font-weight: 700; line-height: 1.12; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
.saut { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--or); color: #3a1c00; padding: .6rem 1rem; border-radius: 10px; font-weight: 600; transition: top .2s; } .saut:focus { top: 12px; }
.conteneur { width: min(1180px, 100% - 2rem); margin-inline: auto; }
.conteneur-etroit { width: min(820px, 100% - 2rem); }

/* ---------- boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font: 600 1rem var(--f-titre); letter-spacing: .02em; color: #fff; text-decoration: none; cursor: pointer; border: 0; padding: .7rem 1.3rem; border-radius: 14px;
  background: linear-gradient(#ffab5c, var(--orange-2)); box-shadow: 0 5px 0 var(--orange-ombre), 0 12px 22px rgba(0, 0, 0, .35), inset 0 2px 0 rgba(255, 255, 255, .35); text-shadow: 0 2px 0 rgba(120, 40, 0, .5); transition: transform .15s var(--ease), box-shadow .15s var(--ease), filter .2s; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.07); box-shadow: 0 7px 0 var(--orange-ombre), 0 16px 26px rgba(0, 0, 0, .4), inset 0 2px 0 rgba(255, 255, 255, .4); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--orange-ombre), 0 4px 10px rgba(0, 0, 0, .35), inset 0 2px 0 rgba(255, 255, 255, .3); }
.btn svg { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }
.btn-or { background: linear-gradient(#ffe38a, #f0a81f); color: #4a2a00; text-shadow: 0 1px 0 rgba(255, 255, 255, .5); box-shadow: 0 5px 0 #a8700a, 0 12px 22px rgba(0, 0, 0, .35), inset 0 2px 0 rgba(255, 255, 255, .6); }
.btn-or:hover { box-shadow: 0 7px 0 #a8700a, 0 16px 26px rgba(0, 0, 0, .4), inset 0 2px 0 rgba(255, 255, 255, .6); } .btn-or:active { box-shadow: 0 1px 0 #a8700a, 0 4px 10px rgba(0, 0, 0, .35), inset 0 2px 0 rgba(255, 255, 255, .5); }
.btn-sombre { background: rgba(20, 8, 50, .72); color: var(--creme); text-shadow: none; box-shadow: 0 5px 0 rgba(0, 0, 0, .45), 0 12px 22px rgba(0, 0, 0, .35), inset 0 0 0 2px rgba(255, 255, 255, .16); backdrop-filter: blur(6px); }
.btn-grand { font-size: 1.15rem; padding: .9rem 1.7rem; border-radius: 16px; } .btn-petit { padding: .5rem 1rem; font-size: .95rem; border-radius: 12px; box-shadow: 0 4px 0 var(--orange-ombre), 0 8px 14px rgba(0, 0, 0, .3), inset 0 2px 0 rgba(255, 255, 255, .35); }
.btn-or.btn-petit { box-shadow: 0 4px 0 #a8700a, 0 8px 14px rgba(0, 0, 0, .3), inset 0 2px 0 rgba(255, 255, 255, .6); }

/* ---------- barre de navigation flottante ---------- */
.nav-zone { position: fixed; top: 14px; left: 0; right: 0; z-index: 60; display: flex; justify-content: center; padding-inline: 1rem; pointer-events: none; }
.nav { pointer-events: auto; width: min(1040px, 100%); display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .55rem .7rem .55rem 1rem; border-radius: 22px; background: rgba(22, 8, 56, .82); backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .4), inset 0 0 0 2px rgba(255, 255, 255, .09); }
.nav-logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--creme); font: 700 1.25rem var(--f-titre); letter-spacing: .1em; } .nav-logo svg { width: 30px; height: 30px; filter: drop-shadow(0 0 8px rgba(255, 220, 150, .5)); }
.nav-liens { display: flex; align-items: center; gap: .3rem; } .nav-liens > a:not(.btn) { color: var(--texte); text-decoration: none; font: 500 1rem var(--f-titre); padding: .5rem .85rem; border-radius: 12px; transition: background .2s, color .2s; }
.nav-liens > a:not(.btn):hover { background: rgba(255, 255, 255, .09); color: #fff; } .nav-liens .btn { margin-left: .25rem; }
.nav-burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 0; background: rgba(255, 255, 255, .09); cursor: pointer; padding: 0; } .nav-burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--creme); margin: 4px auto; transition: transform .25s, opacity .2s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); } .nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; } .nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: max(100svh, 720px); display: grid; align-items: end; overflow: hidden; background: var(--nuit-1); }
.scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.couche { transition: transform .35s var(--ease); will-change: transform; }
#etoiles circle { fill: #fff; animation: scintille 3.2s ease-in-out infinite; }
.cratere ellipse { fill: rgba(190, 150, 110, .35); }
.comete { transform-origin: left center; animation: comete 9s ease-in infinite; opacity: 0; }
.ile { --haut: #7dd98f; --gauche: #5b3d96; --droite: #43286f; --roche: #2c1a55; --roche-c: #382066; }
.ile-a { --haut: #8bdc9a; --gauche: #6a47aa; --droite: #4b2d7d; } .ile-b { --haut: #cfd4ff; --gauche: #6c5bb0; --droite: #473a85; } .ile-loin { opacity: .5; filter: saturate(.7) brightness(.8); }
.ile-roche { fill: var(--roche); } .ile-roche-clair { fill: var(--roche-c); } .ile-gauche { fill: var(--gauche); } .ile-droite { fill: var(--droite); } .ile-haut { fill: var(--haut); } .ile-trait { stroke: rgba(255, 255, 255, .18); stroke-width: 1.6; fill: none; }
.arbre-tronc { fill: #8a5a34; } .arbre-tronc-d { fill: #6c4424; } .feuille-g { fill: #3fae6a; } .feuille-d { fill: #2f8a55; } .feuille-h { fill: #6fe08e; }
.cristal-a { fill: #b78cff; } .cristal-b { fill: #7e4fe0; } .cristal-sol-a { fill: #a577ff; } .cristal-sol-b { fill: #6b3fd0; } .cristal-sol-c { fill: #59d9ff; } .cristaux-c .cristal-sol-a { fill: #6fe3ff; } .cristaux-c .cristal-sol-b { fill: #2f9fd0; } .cristaux-p .cristal-sol-a { fill: #ff8fc8; } .cristaux-p .cristal-sol-b { fill: #c04b94; }
.cristaux { filter: drop-shadow(0 0 16px rgba(160, 110, 255, .6)); }
.flotte { animation: flotte 7s ease-in-out infinite; } .flotte-2 { animation-duration: 8.5s; animation-delay: -3s; }
.hero-contenu { position: relative; z-index: 2; text-align: center; padding: 8.5rem 1rem 3.2rem; display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.hero-sur { font: 600 .95rem var(--f-titre); letter-spacing: .2em; text-transform: uppercase; color: var(--creme); background: rgba(15, 5, 40, .7); backdrop-filter: blur(6px); padding: .35rem 1.1rem; border-radius: 99px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .14); }
.logo-titre { display: flex; flex-direction: column; align-items: center; gap: .1rem; }
.logo-lune svg { width: clamp(56px, 8vw, 84px); filter: drop-shadow(0 0 22px rgba(255, 215, 140, .7)); animation: flotte 6s ease-in-out infinite; }
.logo-mot { font: 700 clamp(3.4rem, 11vw, 7.6rem)/1 var(--f-titre); text-transform: uppercase; letter-spacing: .04em; color: var(--creme); background: linear-gradient(#fff9ec 30%, #ffd78a 60%, #ff9a52); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 5px 0 #4a1a6e) drop-shadow(0 12px 24px rgba(0, 0, 0, .5)); paint-order: stroke fill; }
.hero-accroche { max-width: 640px; font-size: clamp(1.05rem, 2.2vw, 1.35rem); color: var(--creme); text-shadow: 0 2px 14px rgba(0, 0, 0, .65); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: .4rem; }
.hero-statut { display: inline-flex; align-items: center; gap: .6rem; padding: .4rem 1rem; border-radius: 99px; background: rgba(15, 5, 40, .65); backdrop-filter: blur(6px); font-size: .92rem; color: var(--creme); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .12); }
.point { width: .6rem; height: .6rem; border-radius: 50%; background: var(--texte-2); } .point.ok { background: var(--vert); box-shadow: 0 0 0 0 rgba(95, 213, 139, .6); animation: pulse 2.2s infinite; } .point.ko { background: #ff6b6b; }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(4rem, 8vw, 6.5rem) 0; background: linear-gradient(180deg, var(--nuit-2), var(--nuit-1)); }
.section-claire { background: linear-gradient(180deg, var(--nuit-3), var(--nuit-2)); }
.titre { font-size: clamp(2rem, 5vw, 3.2rem); text-align: center; color: var(--creme); text-transform: uppercase; letter-spacing: .01em; text-shadow: 0 4px 0 rgba(20, 5, 50, .7), 0 10px 24px rgba(0, 0, 0, .4); }
.sous-titre { text-align: center; color: var(--texte-2); margin: .8rem auto 2.4rem; max-width: 620px; font-size: 1.08rem; }
.revele { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); } .revele.visible { opacity: 1; transform: none; }

/* rejoindre */
.rejoindre { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 1.6rem; align-items: stretch; margin-top: 2.2rem; }
.carte-ip, .etapes { background: linear-gradient(160deg, rgba(140, 80, 220, .35), rgba(50, 16, 95, .6)); border-radius: var(--r); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .12), 0 18px 40px rgba(0, 0, 0, .3); }
.carte-ip { padding: 1.8rem; display: flex; flex-direction: column; justify-content: center; gap: .8rem; }
.etiquette { font: 600 .9rem var(--f-titre); letter-spacing: .16em; text-transform: uppercase; color: var(--lavande); }
.ip-ligne { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; } .ip { font: 600 clamp(1.3rem, 3.4vw, 1.9rem) var(--f-titre); color: var(--creme); background: rgba(10, 3, 30, .6); padding: .5rem 1rem; border-radius: 14px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .12); user-select: all; word-break: break-all; }
.ip-info { color: var(--texte-2); font-size: .95rem; }
.etapes { list-style: none; margin: 0; padding: 1.4rem 1.6rem; display: flex; flex-direction: column; gap: 1.1rem; justify-content: center; }
.etapes li { display: flex; gap: 1rem; align-items: flex-start; } .etapes strong { font: 600 1.15rem var(--f-titre); color: var(--creme); } .etapes p { color: var(--texte-2); font-size: .97rem; }
.num { flex: none; width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; font: 700 1.2rem var(--f-titre); color: #4a2a00; background: linear-gradient(#ffe38a, #f0a81f); box-shadow: 0 3px 0 #a8700a; }

/* cartes de fonctionnalites */
.grille-cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 1.3rem; }
.carte { padding: 1.5rem; border-radius: var(--r); background: linear-gradient(165deg, rgba(150, 90, 230, .3), rgba(42, 14, 86, .75)); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .1), 0 16px 34px rgba(0, 0, 0, .28); transition: transform .3s var(--ease), box-shadow .3s; }
.carte:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: inset 0 0 0 2px rgba(255, 220, 150, .35), 0 24px 44px rgba(0, 0, 0, .4), 0 0 36px rgba(160, 110, 255, .25); }
.carte h3 { font-size: 1.28rem; color: var(--creme); margin: 1rem 0 .5rem; } .carte p { color: var(--texte-2); font-size: .98rem; }
.carte-ico { width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; box-shadow: 0 5px 0 rgba(0, 0, 0, .3), inset 0 2px 0 rgba(255, 255, 255, .4); }
.carte-ico svg { width: 32px; height: 32px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .25)); }
.ico-vert { background: linear-gradient(#6fe08e, #2f9a58); } .ico-orange { background: linear-gradient(#ffb36a, #e8601a); } .ico-violet { background: linear-gradient(#b78cff, #6b3fd0); } .ico-rouge { background: linear-gradient(#ff8a8a, #d63f4f); }
.ico-cyan { background: linear-gradient(#7de6ff, #2f9fd0); } .ico-or { background: linear-gradient(#ffe38a, #e0a010); } .ico-rose { background: linear-gradient(#ff9fd0, #c04b94); } .ico-bleu { background: linear-gradient(#8fb0ff, #4a63d8); }

/* stats */
.section-stats { background: radial-gradient(900px 400px at 50% 0, rgba(255, 211, 138, .12), transparent 70%), linear-gradient(180deg, var(--nuit-1), #150636); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.2rem; margin-top: 2.4rem; }
.stat { text-align: center; padding: 1.6rem 1rem; border-radius: var(--r); background: linear-gradient(180deg, rgba(255, 233, 196, .1), rgba(255, 233, 196, .03)); box-shadow: inset 0 0 0 2px rgba(255, 211, 138, .35), 0 14px 30px rgba(0, 0, 0, .3); display: flex; flex-direction: column; gap: .3rem; }
.stat-valeur { font: 700 clamp(2.4rem, 6vw, 3.6rem)/1 var(--f-titre); color: var(--or); text-shadow: 0 3px 0 rgba(90, 50, 0, .55); font-variant-numeric: tabular-nums; } .stat-nom { color: var(--creme); font-weight: 500; letter-spacing: .04em; }

/* classements */
.onglets { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 1.5rem; }
.onglets button { font: 600 1rem var(--f-titre); color: var(--texte); background: rgba(20, 8, 50, .6); border: 0; border-radius: 14px; padding: .6rem 1.2rem; cursor: pointer; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .12); transition: all .2s; }
.onglets button:hover { background: rgba(255, 255, 255, .1); } .onglets button.actif { color: #4a2a00; background: linear-gradient(#ffe38a, #f0a81f); box-shadow: 0 4px 0 #a8700a; text-shadow: none; }
.classement { max-width: 640px; margin-inline: auto; background: linear-gradient(165deg, rgba(150, 90, 230, .25), rgba(30, 10, 70, .75)); border-radius: var(--r); padding: .8rem; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .1), 0 18px 40px rgba(0, 0, 0, .3); }
.rang { display: flex; align-items: center; gap: .9rem; padding: .7rem .9rem; border-radius: 14px; } .rang:nth-child(odd) { background: rgba(255, 255, 255, .05); } .rang:hover { background: rgba(255, 220, 150, .1); }
.medaille { width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; flex: none; font: 700 .95rem var(--f-titre); background: rgba(255, 255, 255, .12); color: var(--creme); }
.m1 { background: linear-gradient(135deg, #ffe08a, #d9a73c); color: #3a2a00; } .m2 { background: linear-gradient(135deg, #f4f2ff, #aeacce); color: #26244a; } .m3 { background: linear-gradient(135deg, #f0b48a, #b8743f); color: #381d08; }
.rang-nom { flex: 1; font: 600 1.1rem var(--f-titre); color: var(--creme); overflow: hidden; text-overflow: ellipsis; } .rang-val { font: 600 1.05rem var(--f-titre); color: var(--or); font-variant-numeric: tabular-nums; }
.vide { text-align: center; color: var(--texte-2); padding: 1.6rem 1rem; }

/* actualites */
.grille-actus { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.3rem; }
.actu { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: rgba(20, 8, 52, .7); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .1), 0 16px 34px rgba(0, 0, 0, .3); transition: transform .3s var(--ease); } .actu:hover { transform: translateY(-5px); }
.actu-cover { height: 130px; display: grid; place-items: center; position: relative; } .actu-cover svg { width: 56px; height: 56px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .25)); }
.cover-iles { background: linear-gradient(135deg, #2f9a58, #1c5a8a); } .cover-joueurs { background: linear-gradient(135deg, #8b5cf6, #c04b94); } .cover-systeme { background: linear-gradient(135deg, #e8601a, #d63f4f); } .cover-evenement { background: linear-gradient(135deg, #f0a81f, #e8601a); } .cover-boutique { background: linear-gradient(135deg, #4a63d8, #8b5cf6); }
.actu-corps { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; } .actu-meta { display: flex; justify-content: space-between; gap: .5rem; font-size: .82rem; color: var(--texte-2); }
.actu-tag { font: 600 .78rem var(--f-titre); letter-spacing: .08em; text-transform: uppercase; color: #4a2a00; background: var(--or); padding: .1rem .6rem; border-radius: 99px; } .actu h3 { font-size: 1.15rem; color: var(--creme); } .actu p { color: var(--texte-2); font-size: .95rem; }

/* faq */
.faq { background: linear-gradient(165deg, rgba(150, 90, 230, .22), rgba(30, 10, 70, .7)); border-radius: 18px; margin-top: .8rem; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .1); overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 1.3rem; font: 600 1.12rem var(--f-titre); color: var(--creme); position: relative; } .faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; translate: 0 -50%; font: 700 1.6rem var(--f-titre); color: var(--or); transition: rotate .25s; } .faq[open] summary::after { rotate: 45deg; } .faq p { padding: 0 1.3rem 1.2rem; color: var(--texte-2); }

/* bandeaux discord / boutique */
.section-bandeau { background: linear-gradient(180deg, var(--nuit-1), #3a1068); }
.bandeau { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.4rem; }
.bandeau-carte { padding: 2rem; border-radius: 26px; background: linear-gradient(160deg, rgba(150, 90, 230, .45), rgba(42, 14, 86, .85)); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .14), 0 22px 46px rgba(0, 0, 0, .35); display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.bandeau-or { background: linear-gradient(160deg, rgba(255, 200, 100, .35), rgba(120, 50, 140, .8)); box-shadow: inset 0 0 0 2px rgba(255, 211, 138, .4), 0 22px 46px rgba(0, 0, 0, .35); }
.bandeau-ico { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(#b78cff, #6b3fd0); box-shadow: 0 5px 0 rgba(0, 0, 0, .3), inset 0 2px 0 rgba(255, 255, 255, .4); } .bandeau-or .bandeau-ico { background: linear-gradient(#ffe38a, #e0a010); }
.bandeau-ico svg { width: 32px; height: 32px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; } .bandeau-or .bandeau-ico svg { stroke: #4a2a00; }
.bandeau h2 { font-size: 2rem; color: var(--creme); } .puces { margin: 0 0 .6rem; padding-left: 1.2rem; color: var(--texte); display: grid; gap: .3rem; } .puces li::marker { color: var(--or); }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; filter: grayscale(.4); }
.fin { padding: clamp(3rem, 7vw, 5rem) 0; text-align: center; background: linear-gradient(180deg, #3a1068, #1c0a45); } .fin h2 { font-size: clamp(2rem, 5vw, 3.2rem); color: var(--creme); margin-bottom: 1.4rem; text-shadow: 0 4px 0 rgba(20, 5, 50, .7); }

/* pied de page */
.pied { background: #120530; padding: 3rem 0 1.4rem; color: var(--texte-2); font-size: .96rem; }
.pied-grille { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; } .pied h3 { font: 600 1.05rem var(--f-titre); color: var(--creme); margin-bottom: .8rem; letter-spacing: .04em; } .pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.pied a { color: var(--texte-2); text-decoration: none; } .pied a:hover { color: var(--or); } .pied-marque p { margin-top: .8rem; } .pied-marque .nav-logo { color: var(--creme); }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; }

/* pages legales */
.legal { padding: 8rem 0 4rem; background: linear-gradient(180deg, var(--nuit-1), var(--nuit-2)); min-height: 80vh; } .legal .conteneur { width: min(820px, 100% - 2rem); }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); color: var(--creme); margin-bottom: 1.4rem; text-shadow: 0 4px 0 rgba(20, 5, 50, .7); } .legal h2 { font-size: 1.4rem; color: var(--or); margin: 2rem 0 .6rem; } .legal p, .legal li { color: var(--texte); margin-bottom: .6rem; } .legal ul, .legal ol { padding-left: 1.3rem; }
.legal .avertissement { background: rgba(255, 211, 138, .12); border-left: 4px solid var(--or); padding: .9rem 1.1rem; border-radius: 10px; margin-bottom: 1.6rem; color: var(--creme); }

/* ---------- animations ---------- */
@keyframes scintille { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes comete { 0%, 55% { opacity: 0; transform: translate(0, 0) scaleX(.2); } 60% { opacity: 1; } 100% { opacity: 0; transform: translate(900px, 330px) scaleX(1); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(95, 213, 139, .55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(95, 213, 139, 0); } }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .rejoindre { grid-template-columns: 1fr; } .pied-grille { grid-template-columns: 1fr 1fr; } .pied-marque { grid-column: 1 / -1; }
  .nav-burger { display: block; } .nav { flex-wrap: wrap; }
  .nav-liens { display: none; width: 100%; flex-direction: column; align-items: stretch; padding: .4rem 0 .6rem; } .nav-liens.ouvert { display: flex; } .nav-liens > a:not(.btn) { padding: .8rem 1rem; } .nav-liens .btn { margin: .3rem 0 0; }
  .hero-contenu { padding-top: 7rem; }
}
@media (max-width: 480px) { .pied-grille { grid-template-columns: 1fr; } .hero-actions .btn { width: 100%; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition-duration: .001ms !important; } .revele { opacity: 1; transform: none; } .comete { display: none; } }
