:root {
  --rouge-dark:  #120808;
  --rouge:       #2d0c0c;
  --rouge-mid:   #5c1515;
  --rouge-light: #8b2020;
  --red:         #c41e1e;
  --red-light:   #e03030;
  --cream:       #f5f0e8;
  --cream-dark:  #e8dfc8;
  --white:       #fff;
  --text:        #1a0d0d;
  --muted:       #6b5555;
  --radius:      6px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Lato', sans-serif; background: var(--cream); color: var(--text); }

/* ── NAV ─────────────────────────────────────── */
nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  background: rgba(18,8,8,0.97); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(196,30,30,0.3);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 64px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo {
  width: 44px; height: 44px; border-radius: 50%; overflow: hidden;
  border: 2px solid rgba(196,30,30,0.5);
  flex-shrink: 0;
}
.nav-logo img { width: 100%; height: 100%; object-fit: cover; }
.nav-title { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--cream); letter-spacing: 0.04em; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: rgba(245,240,232,0.7); text-decoration: none;
  font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 700; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--red-light); }
.nav-btn {
  background: var(--red) !important; color: var(--white) !important;
  padding: 8px 20px; border-radius: 3px;
}
.nav-btn:hover { background: var(--red-light) !important; }

/* ── FOOTER ──────────────────────────────────── */
footer {
  background: var(--rouge-dark); color: rgba(245,240,232,0.5);
  padding: 48px 5% 28px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-logo-wrap { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.footer-logo-img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(196,30,30,0.4); }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--cream); }
.footer-brand p { font-size: 0.83rem; line-height: 1.7; max-width: 260px; }
.footer-since { color: var(--red); opacity: 0.7; font-size: 0.8rem; margin-top: 10px; letter-spacing: 0.12em; text-transform: uppercase; }
footer h4 { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream); margin-bottom: 16px; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
footer ul li a { color: rgba(245,240,232,0.5); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
footer ul li a:hover { color: var(--red-light); }
.footer-bottom {
  border-top: 1px solid rgba(196,30,30,0.2); padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem;
}
.footer-bottom a { color: var(--red-light); text-decoration: none; }

/* ── FOOTER JEU RESPONSABLE ──────────────────── */
.footer-responsible {
  display: flex; align-items: center; gap: 24px;
  border-top: 1px solid rgba(196,30,30,0.2);
  border-bottom: 1px solid rgba(196,30,30,0.2);
  padding: 20px 0; margin-bottom: 24px; flex-wrap: wrap;
}
.fr-badge {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%;
  background: #c41e1e; color: #fff; font-size: 1rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid rgba(196,30,30,0.5);
}
.fr-text {
  flex: 1; font-size: 0.8rem; line-height: 1.6;
  color: rgba(245,240,232,0.5); min-width: 160px;
}
.fr-text strong { color: rgba(245,240,232,0.8); display: block; margin-bottom: 2px; }
.fr-text a { color: var(--red-light); text-decoration: none; }
.fr-text a:hover { text-decoration: underline; }
.fr-helpline {
  display: flex; flex-direction: column; align-items: flex-end;
  text-align: right; gap: 2px; flex-shrink: 0;
}
.fr-hl-label { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(245,240,232,0.35); }
.fr-hl-number { font-family: 'Playfair Display', serif; color: #f5f0e8; font-size: 1.15rem; letter-spacing: 0.05em; }
.fr-hl-sub { font-size: 0.68rem; color: rgba(245,240,232,0.3); }
@media (max-width: 640px) {
  .footer-responsible { gap: 16px; }
  .fr-helpline { align-items: flex-start; text-align: left; }
}

/* ── SECTION BASE ────────────────────────────── */
section { padding: 100px 5%; }
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--red); font-size: 0.78rem; letter-spacing: 0.2em;
  text-transform: uppercase; font-weight: 700; margin-bottom: 16px;
}
.section-label::before, .section-label::after {
  content: ''; display: inline-block; width: 28px; height: 1px; background: var(--red);
}
h2 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.2; margin-bottom: 20px; }
.section-intro { font-size: 1.05rem; line-height: 1.85; color: var(--muted); max-width: 640px; font-weight: 300; }

/* ── BUTTONS ─────────────────────────────────── */
.btn-red {
  background: var(--red); color: var(--white);
  padding: 14px 36px; border-radius: 3px; font-size: 0.82rem;
  font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s; display: inline-block;
}
.btn-red:hover { background: var(--red-light); transform: translateY(-2px); }
/* alias pour compatibilité avec les anciens boutons dorés */
.btn-gold { background: var(--red); color: var(--white); padding: 14px 36px; border-radius: 3px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; border: none; cursor: pointer; transition: background 0.2s, transform 0.15s; display: inline-block; }
.btn-gold:hover { background: var(--red-light); transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--cream);
  padding: 13px 34px; border-radius: 3px; font-size: 0.82rem;
  font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; border: 1px solid rgba(245,240,232,0.35);
  cursor: pointer; transition: border-color 0.2s, transform 0.15s; display: inline-block;
}
.btn-outline:hover { border-color: var(--red-light); color: var(--red-light); transform: translateY(-2px); }
.btn-green { background: var(--rouge); color: var(--cream); padding: 14px 36px; border-radius: 3px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; border: 2px solid var(--rouge); cursor: pointer; transition: background 0.2s; display: inline-block; }
.btn-green:hover { background: var(--rouge-mid); border-color: var(--rouge-mid); }

/* ── PAGE BANNER ─────────────────────────────── */
.page-banner {
  background: var(--rouge-dark); padding: 140px 5% 80px;
  text-align: center; position: relative; overflow: hidden;
  isolation: isolate;
}
.page-banner::before {
  content: attr(data-suit);
  position: absolute; font-size: 300px; color: rgba(196,30,30,0.05);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  line-height: 1; pointer-events: none; z-index: -1;
}
.page-banner .section-label { justify-content: center; }
.page-banner h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.4rem, 5vw, 3.8rem); color: var(--cream); line-height: 1.15; }
.page-banner h1 span { color: var(--red-light); }
.page-banner p { color: rgba(245,240,232,0.5); font-size: 1.05rem; line-height: 1.8; max-width: 560px; margin: 20px auto 0; font-weight: 300; }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  nav { padding: 0 4%; }
  section { padding: 72px 4%; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 480px) {
  section { padding: 56px 4%; }
}
@media (max-width: 400px) {
  .nav-title { display: none; }
}

/* ── HAMBURGER MENU ──────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 44px; height: 44px;
  background: none; border: none; cursor: pointer; padding: 4px;
  z-index: 200;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  position: relative;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--cream); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile overlay */
.nav-mobile {
  display: none;
  position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
  background: rgba(18,8,8,0.98);
  z-index: 99;
  flex-direction: column;
  padding: 32px 5%;
  overflow-y: auto;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: rgba(245,240,232,0.75); text-decoration: none;
  font-size: 1.1rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 16px 0;
  border-bottom: 1px solid rgba(196,30,30,0.15);
  transition: color 0.2s;
}
.nav-mobile a:hover, .nav-mobile a.active { color: var(--red-light); }
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile .mobile-btn {
  margin-top: 24px; text-align: center;
  background: var(--red); color: #fff !important;
  padding: 14px; border-radius: 4px; font-size: 0.9rem;
  border-bottom: none !important;
}
.nav-mobile .mobile-btn:hover { background: var(--red-light) !important; }

/* Auth dans le menu mobile */
.nav-mobile .mobile-auth {
  margin-top: 16px; padding-top: 20px;
  border-top: 1px solid rgba(196,30,30,0.2);
}
.nav-mobile .mobile-auth input {
  width: 100%; padding: 12px 14px; margin-bottom: 10px;
  background: rgba(245,240,232,0.08); border: 1px solid rgba(245,240,232,0.2);
  border-radius: 4px; color: var(--cream);
  font-family: 'Lato', sans-serif; font-size: 0.9rem; outline: none;
}
.nav-mobile .mobile-auth input::placeholder { color: rgba(245,240,232,0.3); }
.nav-mobile .mobile-auth input:focus { border-color: var(--red); }
.nav-mobile .mobile-login-btn {
  width: 100%; padding: 12px;
  background: var(--red); color: #fff;
  border: none; border-radius: 4px;
  font-family: 'Lato', sans-serif; font-size: 0.88rem;
  font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav-hamburger { display: flex; }
  .nav-auth { display: none; }
}
@media (max-width: 480px) {
  .page-banner { padding: 100px 4% 60px; }
  .page-banner h1 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
}

/* ── Bandeau cookies ──────────────────────────────────────── */
#spc-cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: #1a1a1a;
  border-top: 2px solid #8b2020;
  padding: 16px 5%;
}
.spc-cb-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.spc-cb-inner p {
  flex: 1;
  font-size: 0.85rem;
  color: #ccc;
  line-height: 1.5;
  margin: 0;
}
.spc-cb-inner p a { color: #c0392b; text-decoration: underline; }
.spc-cb-btns { display: flex; gap: 10px; flex-shrink: 0; }
#spc-cb-refuse {
  padding: 8px 18px;
  background: transparent;
  border: 1px solid #555;
  color: #aaa;
  border-radius: 4px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
#spc-cb-refuse:hover { border-color: #aaa; color: #fff; }
#spc-cb-accept {
  padding: 8px 18px;
  background: #8b2020;
  border: none;
  color: #fff;
  border-radius: 4px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background .2s;
}
#spc-cb-accept:hover { background: #a52828; }
@media (max-width: 600px) {
  .spc-cb-inner { flex-direction: column; align-items: flex-start; }
  .spc-cb-btns { width: 100%; justify-content: flex-end; }
}
