/* =========================================================
   Scanapse 2100 – THEME GLOBAL
   Header, footer, layout de base + fond 2100
   ========================================================= */

/* RESET GLOBAL */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

/* =========================================================
   FOND GLOBAL 2100
   On supprime tout ancien background (y compris !important)
   ========================================================= */

body.scanapse-body,
.scanapse-body {
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  /* On force notre fond et on supprime les anciennes images */
  background:
    radial-gradient(circle at 0% 0%, rgba(244, 114, 182, 0.16), transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(56, 189, 248, 0.18), transparent 55%),
    radial-gradient(circle at 50% 100%, rgba(34, 197, 94, 0.12), transparent 55%),
    #020617 !important;
  background-image: none !important;
  background-repeat: no-repeat !important;
  background-size: auto !important;
  color: #e5e7eb;
}

/* On neutralise d’éventuels backgrounds sur html/body d’un ancien thème */
html {
  background: transparent !important;
  background-image: none !important;
}

/* Si l’ancien thème utilise des pseudo-éléments pour afficher l’œil en fond,
   on les neutralise ici. */
body::before,
body::after,
.scanapse-body::before,
.scanapse-body::after {
  content: none !important;
  background: none !important;
}

/* =========================================================
   CONTENEUR GLOBAL
   ========================================================= */

.page {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.1rem 1.2rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  min-height: 100vh;
  position: relative;
  z-index: 0;
}

/* =========================================================
   HEADER CAPSULE 2100
   ========================================================= */

.header-shell {
  display: flex;
  justify-content: center;
  margin-top: 0.4rem;
  position: relative;
  z-index: 10;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  max-width: 980px;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: radial-gradient(circle at 0 0, rgba(148, 163, 253, 0.18), transparent 55%),
              rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(18px);
}

.header-left {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

/* Logo header */

.logo-orbit {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  padding: 2px;
  background: conic-gradient(
    from 210deg,
    #f472b6,
    #a855f7,
    #22d3ee,
    #22c55e,
    #f472b6
  );
  box-shadow: 0 12px 32px rgba(148, 163, 253, 0.8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.logo-orbit-inner {
  background: radial-gradient(circle at 30% 10%, #020617, #020617 55%, #020617);
  border-radius: inherit;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.logo-orbit-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(148, 163, 253, 0.32);
  opacity: 0.9;
}

.logo-2100 {
  width: 70%;
  height: 70%;
  display: block;
  color: #e5e7eb;
}

/* Branding texte */

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-name {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  font-weight: 650;
  color: #e5e7eb;
}

.brand-tagline {
  font-size: 0.75rem;
  color: #a5b4fc;
  white-space: nowrap;
}

/* NAV */

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
}

.nav-pill {
  border-radius: 999px;
  padding: 0.34rem 0.7rem;
  border: 1px solid transparent;
  color: #cbd5f5;
  text-decoration: none;
  background: transparent;
  transition: background 0.18s ease-out, color 0.18s ease-out, border-color 0.18s ease-out;
}

.nav-pill:hover {
  border-color: rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
}

.nav-pill--active {
  background: radial-gradient(circle at 0 0, #f472b6, #a855f7);
  color: #f9fafb;
  box-shadow: 0 10px 28px rgba(168, 85, 247, 0.8);
}

/* CTA header */

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  text-decoration: none;
  color: #f9fafb;
  background: radial-gradient(circle at 0 0, #f97373, #f472b6);
  box-shadow: 0 14px 34px rgba(248, 113, 113, 0.9);
}

.header-cta:hover {
  transform: translateY(-1px);
}

/* Responsive header */

@media (max-width: 768px) {
  .header {
    border-radius: 16px;
    flex-wrap: wrap;
    gap: 0.7rem;
  }
  .brand-tagline {
    white-space: normal;
  }
  .header-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

/* =========================================================
   FOOTER 2100
   ========================================================= */

.footer-2100 {
  margin-top: 2.8rem;
  padding: 2.4rem 0 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(248, 113, 113, 0.18), transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(56, 189, 248, 0.16), transparent 55%),
    rgba(2, 6, 23, 0.98);
  border-top: 1px solid rgba(148, 163, 184, 0.35);
}

.footer-2100-inner {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.3rem 1.8rem;
  display: grid;
  gap: 2rem;
}

.footer-2100-col {
  font-size: 0.86rem;
  color: #cbd5f5;
}

.footer-2100-col-main {
  max-width: 360px;
}

/* Brand bloc */

.footer-2100-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.footer-2100-logo-wrap {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  padding: 2px;
  background: radial-gradient(circle at 0 0, #f472b6, #a855f7, #22d3ee, #22c55e);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-2100-logo {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  display: block;
}

.footer-2100-brand-text {
  display: flex;
  flex-direction: column;
}

.footer-2100-title {
  margin: 0;
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e5e7eb;
}

.footer-2100-tagline {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  color: #a5b4fc;
}

/* Texte + badges */

.footer-2100-copy {
  margin: 0 0 0.75rem;
  font-size: 0.86rem;
  color: #cbd5f5;
}

.footer-2100-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}

.footer-2100-badge {
  font-size: 0.7rem;
  padding: 0.24rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
}

/* Actions */

.footer-2100-actions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-2100-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-size: 0.82rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: 0.16s ease-out;
}

.footer-2100-btn-donate {
  background: radial-gradient(circle at 0 0, #f97373, #f472b6);
  color: #f9fafb;
  box-shadow: 0 12px 30px rgba(248, 113, 113, 0.8);
}

.footer-2100-btn-donate:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(248, 113, 113, 0.95);
}

.footer-2100-social {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  text-decoration: none;
  color: #cbd5f5;
}

.footer-2100-social-icon {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.footer-2100-social-label {
  opacity: 0.9;
}

/* Colonnes liens */

.footer-2100-heading {
  margin: 0 0 0.55rem;
  font-size: 0.9rem;
  color: #e5e7eb;
}

.footer-2100-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-2100-links li + li {
  margin-top: 0.35rem;
}

.footer-2100-links a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.84rem;
}

.footer-2100-links a:hover {
  color: #e5e7eb;
}

.footer-2100-note {
  margin-top: 0.7rem;
  font-size: 0.78rem;
  color: #9ca3af;
}

.footer-2100-note-soft {
  opacity: 0.9;
}

/* Bas de page */

.footer-2100-bottom {
  border-top: 1px solid rgba(51, 65, 85, 0.8);
  margin-top: 0.5rem;
}

.footer-2100-bottom-inner {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0.8rem 1.3rem 1.1rem;
  font-size: 0.76rem;
  color: #9ca3af;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-2100-meta-right {
  opacity: 0.9;
}

/* Responsive footer */

@media (min-width: 960px) {
  .footer-2100-inner {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }

  .footer-2100-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .footer-2100-inner {
    gap: 1.8rem;
  }
}

/* =========================================================
   BOUTON FLOTTANT PAYPAL
   ========================================================= */

.floating-donate {
  position: fixed;
  right: 1.3rem;
  bottom: 1.3rem;
  width: 50px;
  height: 50px;
  border-radius: 999px;
  background: radial-gradient(circle at 0 0, #f97373, #f472b6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f9fafb;
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(248, 113, 113, 0.9);
  font-size: 1.4rem;
  border: 1px solid rgba(248, 250, 252, 0.5);
  z-index: 50;
  transition: transform 0.16s ease-out, box-shadow 0.16s ease-out;
}

.floating-donate:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 55px rgba(248, 113, 113, 1);
}


.footer-2100-inner {
    display: grid;
    gap: 3rem;
    grid-template-columns: 1fr; /* Mobile : 1 colonne */
}

@media (min-width: 992px) {
    .footer-2100-inner {
        /* Desktop : 4 colonnes (La 1ère plus large pour la marque) */
        grid-template-columns: 1.5fr 1fr 1fr 1fr; 
    }
}

/* Webkit (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #0f172a; /* Fond sombre */
}
::-webkit-scrollbar-thumb {
    background: #334155; /* Gris moyen */
    border-radius: 5px;
    border: 2px solid #0f172a; /* Marge interne */
}
::-webkit-scrollbar-thumb:hover {
    background: #a855f7; /* Violet au survol */
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #334155 #0f172a;
}