/* ══════════════════════════════════════════════════════
   base.css — Styles communs à toutes les pages FixCenter
   Inclure en PREMIER dans chaque page HTML :
   <link rel="stylesheet" href="base.css">
   ══════════════════════════════════════════════════════ */

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ── VARIABLES GLOBALES ── */
:root {
  --bg:       #080808;
  --surface:  #0e0e0e;
  --surface2: #141414;
  --border:   rgba(255,255,255,0.06);
  --text:     #f0f0f0;
  --muted:    #4a4a4a;
  --sub:      #7a7a7a;
  --blue:     #3d7fff;
  --blue-lo:  rgba(61,127,255,0.10);
  --blue-md:  rgba(61,127,255,0.18);
}

/* ── BASE HTML/BODY ── */
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .logo { font-family: 'Syne', sans-serif; }

/* Grain overlay (effet texture) */
body::after {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  opacity: .5;
}

/* ── NAV (commune à toutes les pages) ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 66px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4%;
  background: rgba(8,8,8,.88);
  backdrop-filter: blur(28px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-size: 1.25rem; font-weight: 800; letter-spacing: -.3px;
  color: var(--text); text-decoration: none;
}
.logo b { color: var(--blue); }

.nav-links { display: flex; gap: 2.2rem; list-style: none; }
.nav-links a {
  font-size: .875rem; color: var(--sub);
  text-decoration: none; transition: color .2s;
}
.nav-links a:hover { color: var(--text); }

.nav-btn {
  padding: .6rem 1.4rem;
  background: var(--blue); color: #fff;
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: .85rem;
  border-radius: 7px; text-decoration: none;
  transition: box-shadow .25s, transform .25s;
}
.nav-btn:hover { box-shadow: 0 0 22px rgba(61,127,255,.45); transform: translateY(-1px); }

/* Lien retour (page réservation) */
.nav-back {
  display: flex; align-items: center; gap: .5rem;
  font-size: .85rem; color: var(--sub); text-decoration: none;
  transition: color .2s;
}
.nav-back:hover { color: var(--text); }
.nav-back svg { width: 16px; height: 16px; }

.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.burger span { width: 22px; height: 2px; background: var(--sub); border-radius: 2px; }

/* ── LAYOUT BASE ── */
section { padding: 7rem 4%; }
.container { max-width: 1160px; margin: 0 auto; }

.eyebrow {
  font-family: 'Syne', sans-serif;
  font-size: .72rem; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--blue); margin-bottom: .9rem;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800; letter-spacing: -1.5px; line-height: 1.1;
}
.section-title .dim { color: var(--muted); }

.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 3.5rem; gap: 2rem;
}
.section-sub {
  font-size: .92rem; color: var(--sub);
  max-width: 320px; line-height: 1.7; text-align: right;
}

/* ── BOUTONS COMMUNS ── */
.btn-primary {
  padding: .85rem 2rem;
  background: var(--blue); color: #fff;
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: .95rem;
  border-radius: 9px; text-decoration: none; border: none; cursor: pointer;
  transition: box-shadow .3s, transform .3s;
}
.btn-primary:hover { box-shadow: 0 0 32px rgba(61,127,255,.5); transform: translateY(-2px); }

.btn-ghost {
  padding: .85rem 2rem;
  background: transparent; color: var(--sub);
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: .95rem;
  border: 1px solid var(--border); border-radius: 9px; text-decoration: none;
  transition: color .2s, border-color .2s;
}
.btn-ghost:hover { color: var(--text); border-color: rgba(255,255,255,.18); }

/* ── MARQUEE (commun) ── */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface); padding: 1.1rem 0;
}
.marquee-track {
  display: flex; gap: 2.8rem;
  width: max-content; animation: marquee 24s linear infinite;
}
.marquee-item {
  display: flex; align-items: center; gap: .6rem;
  font-family: 'Syne', sans-serif; font-size: .75rem; font-weight: 700;
  color: var(--muted); letter-spacing: 2px; text-transform: uppercase; white-space: nowrap;
}
.marquee-item span { font-size: 1rem; }
.marquee-sep { color: var(--blue); font-size: .5rem; }
@keyframes marquee { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ── PAGE HEADER (page réservation) ── */
.page-header {
  padding: 8rem 4% 4rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.page-header-inner { max-width: 600px; margin: 0 auto; text-align: center; }
.page-header h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800; letter-spacing: -2px; line-height: 1.05;
  margin-bottom: 1rem;
}
.page-header h1 .dim { color: var(--muted); }
.page-header p { font-size: .95rem; color: var(--sub); line-height: 1.75; }

/* ── FAQ (commun aux pages Accueil et PC Gaming) ── */
.faq-wrap { background: var(--bg); }
.faq-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.faq-list { display: flex; flex-direction: column; gap: 1px; }

.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden; margin-bottom: .6rem;
}
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 1.5rem; cursor: pointer; transition: background .2s;
  user-select: none;
}
.faq-q:hover { background: var(--surface2); }
.faq-q h4 { font-size: .92rem; font-weight: 700; }
.faq-chevron { font-size: .7rem; color: var(--muted); transition: transform .25s; flex-shrink: 0; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 1.5rem 1.2rem; }
.faq-item.open .faq-a { display: block; }
.faq-a p { font-size: .87rem; color: var(--sub); line-height: 1.7; }

.faq-cta-box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 3rem 2.5rem; position: sticky; top: 90px;
}
.faq-cta-box h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: .8rem; }
.faq-cta-box p { font-size: .9rem; color: var(--sub); line-height: 1.7; margin-bottom: 2rem; }

.contact-items { display: flex; flex-direction: column; gap: .8rem; margin-top: 2rem; }
.contact-item { display: flex; align-items: center; gap: .8rem; font-size: .87rem; color: var(--sub); }
.contact-item .ci-ico {
  width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0;
  background: var(--surface2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}

/* ── FOOTER (commun) ── */
footer {
  padding: 2rem 4%;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.foot-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.foot-copy { font-size: .8rem; color: var(--muted); }
.foot-links { display: flex; gap: 2rem; }
.foot-links a {
  font-size: .8rem; color: var(--muted);
  text-decoration: none; transition: color .2s;
}
.foot-links a:hover { color: var(--text); }

/* ── ANIMATIONS COMMUNES ── */
@keyframes blink { 0%,100%{opacity:1} 55%{opacity:.25} }

/* ── RESPONSIVE COMMUN ── */
@media (max-width: 1024px) {
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-sub { text-align: left; max-width: 100%; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-cta-box { position: static; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; position: absolute; top: 66px; left: 0; right: 0;
    flex-direction: column; background: var(--bg);
    padding: 1.8rem 4%; gap: 1.4rem;
    border-bottom: 1px solid var(--border); list-style: none;
  }
  .nav-links.open { display: flex; }
  .burger { display: flex; }
  .foot-inner { flex-direction: column; text-align: center; }
  .foot-links { justify-content: center; }
}
