/* ============================================================
   layout.css — One x One Arena
   Header commun + Footer commun — toutes pages publiques
   ============================================================ */

/* ── Variables globales ──────────────────────────────────── */
:root {
  --accent:  #e8185a;
  --accent2: #23d5ff;
  --dark:    #0a0a0a;
  --text:    rgba(255,255,255,.90);
}

/* ── TOPBAR ──────────────────────────────────────────────── */
.topbar {
  position: fixed;
  left: 0; right: 0; top: 0;
  transform: none !important;          /* annule le translateX de inscription.html */
  width: 100% !important;
  max-width: none !important;
  z-index: 100;
  background: var(--dark);
  border-bottom: 2px solid var(--accent);
  border-radius: 0 !important;
  padding: 0 !important;
}
.topbar__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 5vw !important;
  height: 64px;
  background: var(--dark) !important;
  border-radius: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* ── BRAND ───────────────────────────────────────────────── */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}
.brand__logo {
  width: 30px; height: 30px;
  object-fit: contain;
}
.brand__name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text);
}

/* ── NAV DESKTOP ─────────────────────────────────────────── */
.nav {
  display: flex !important;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.nav__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  border-radius: 6px !important;
  border: none !important;
  background: transparent !important;
  color: rgba(255,255,255,.78);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: color .18s, background .18s;
}
.nav__btn > span {
  position: relative;
}
.nav__btn > span::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 99px;
  background: var(--accent);
  opacity: 0;
  transform: scaleX(.5);
  transform-origin: center;
  transition: transform .2s, opacity .2s;
}
.nav__btn:hover {
  color: #fff;
  background: rgba(255,255,255,.06) !important;
}
.nav__btn:hover > span::after {
  transform: scaleX(1);
  opacity: .65;
}
.nav__btn.is-active {
  color: var(--accent) !important;
  background: transparent !important;
}
.nav__btn.is-active > span::after {
  transform: scaleX(1);
  opacity: 1;
}

/* ── BURGER ──────────────────────────────────────────────── */
.nav__burger {
  display: none;
  width: 40px; height: 38px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
}
.nav__burger span {
  display: block;
  width: 16px; height: 2px;
  background: rgba(255,255,255,.85);
  border-radius: 99px;
}

/* ── TOPBAR ICONS ────────────────────────────────────────── */
.topbar-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}
.topbar-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  border: none;
  background: transparent;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.78);
  cursor: pointer;
  position: relative;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.topbar-icon:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}
.topbar-icon svg {
  width: 17px; height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cart-badge {
  position: absolute;
  top: 3px; right: 3px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--accent);
  border: 1.5px solid var(--dark);
  font-size: 8px;
  font-weight: 700;
  color: #fff;
  display: grid;
  place-items: center;
  line-height: 1;
}

/* ── MOBILE NAV ──────────────────────────────────────────── */
.navmobile {
  background: #111 !important;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 8px !important;
  border-radius: 0 !important;
  backdrop-filter: none !important;
  max-width: none !important;
  margin: 0 !important;
}
.navmobile[hidden] { display: none !important; }
.navmobile__link {
  display: block;
  padding: 11px 16px;
  color: rgba(255,255,255,.80);
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: background .15s, color .15s;
}
.navmobile__link:hover {
  background: rgba(255,255,255,.06);
  color: #fff;
}
.navmobile__link.is-active {
  color: var(--accent);
}

/* ── SITE FOOTER ─────────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  padding: 40px 5vw 0;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  color: rgba(255,255,255,.90);
}
.site-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
}
.site-footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* Col brand */
.site-footer__logo {
  width: 72px; height: auto;
  object-fit: contain;
  margin-bottom: 12px;
  display: block;
  filter: brightness(0) invert(1);
  opacity: .82;
}
.site-footer__tagline {
  font-size: .84rem;
  color: rgba(255,255,255,.45);
  line-height: 1.65;
  margin: 0 0 18px;
  max-width: 230px;
}
.site-footer__socials { display: flex; gap: 8px; }
.site-footer__social {
  width: 32px; height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.62);
  text-decoration: none;
  transition: background .18s, border-color .18s, color .18s;
}
.site-footer__social:hover {
  background: rgba(232,24,90,.14);
  border-color: rgba(232,24,90,.28);
  color: #fff;
}
.site-footer__social svg { width: 14px; height: 14px; fill: currentColor; }

/* Colonnes */
.site-footer__col-title {
  font-size: .72rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 14px;
  display: block;
}
.site-footer__links {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.site-footer__links a {
  color: rgba(255,255,255,.45);
  text-decoration: none;
  font-size: .84rem;
  transition: color .18s;
}
.site-footer__links a:hover { color: var(--accent); }

/* Newsletter */
.site-footer__nl-text {
  font-size: .84rem;
  color: rgba(255,255,255,.45);
  line-height: 1.65;
  margin: 0 0 14px;
}
.site-footer__nl-form { display: flex; gap: 8px; }
.site-footer__nl-input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: .84rem;
  outline: none;
  font-family: inherit;
}
.site-footer__nl-input::placeholder { color: rgba(255,255,255,.28); }
.site-footer__nl-input:focus { border-color: rgba(232,24,90,.40); }
.site-footer__nl-btn {
  width: 40px; height: 40px;
  border-radius: 6px;
  background: var(--accent);
  border: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity .18s;
}
.site-footer__nl-btn:hover { opacity: .84; }
.site-footer__nl-btn svg {
  width: 15px; height: 15px;
  stroke: #fff; fill: none;
  stroke-width: 2.5;
  stroke-linecap: round; stroke-linejoin: round;
}

/* Bottom bar */
.site-footer__bottom {
  padding: 20px 0;
  text-align: center;
}
.site-footer__copy {
  font-size: .78rem;
  color: rgba(255,255,255,.28);
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 860px) {
  .nav { display: none !important; }
  .nav__burger { display: flex !important; }
  .topbar-icons { display: none; }
  .topbar__inner { padding: 0 4vw !important; height: 56px; }
}
@media (max-width: 860px) {
  .site-footer__top { grid-template-columns: 1fr 1fr; gap: 24px; }
  .site-footer { padding: 28px 5vw 0; }
  .site-footer__top { padding-bottom: 24px; }
}
@media (max-width: 540px) {
  .site-footer__top { grid-template-columns: 1fr; gap: 16px; }
  .site-footer { padding: 24px 5vw 0; }
  .site-footer__top { padding-bottom: 20px; }
  .site-footer__bottom { padding: 14px 0; }
  .site-footer__tagline { max-width: 100%; }
  .site-footer__nl-form { gap: 6px; }
  .site-footer__nl-input { font-size: .82rem; padding: 9px 12px; }
}
