@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-thumb { background: #8B1535; border-radius: 3px; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }
.scrollbar-hide::-webkit-scrollbar { display: none; }

/* ─── Brand : bordeaux / crimson (charte logo Modernus) ─── */
:root {
  --crimson-950: #2D0510;
  --crimson-900: #4A0B1C;
  --crimson-800: #6B1228;
  --crimson-700: #8B1535;   /* couleur principale logo */
  --crimson-600: #A01C3E;
  --crimson-500: #B8234A;
  --gold-500:    #d4a017;
  --gold-400:    #f5c842;
}

/* Hero gradient bordeaux */
.hero-bg {
  background: linear-gradient(135deg,#2D0510 0%,#4A0B1C 45%,#6B1228 75%,#8B1535 100%);
}

/* Gradient text or */
.gradient-gold {
  background: linear-gradient(135deg,#f5c842 0%,#d4a017 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Gradient text crimson */
.gradient-crimson {
  background: linear-gradient(135deg,#A01C3E 0%,#8B1535 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glass */
.glass {
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12);
}

/* Pack card */
.pack-card {
  transition: transform .28s cubic-bezier(.4,0,.2,1), box-shadow .28s cubic-bezier(.4,0,.2,1);
}
.pack-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 56px rgba(139,21,53,.14);
}

/* Nav underline bordeaux */
.nav-link { position: relative; }
.nav-link::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 2px; background: #8B1535;
  transition: width .25s ease;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* Section titles */
.section-title {
  font-size: clamp(1.5rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.2;
  color: #1C1C1E;
}
.section-sub {
  font-size: clamp(.9375rem, 2vw, 1.125rem);
  color: #64748b;
  line-height: 1.7;
}
.stat-number {
  font-size: clamp(1.75rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -.03em;
}

/* Tab active bordeaux */
.tab-active {
  background: #8B1535 !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(139,21,53,.28);
}

/* Fade-up */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(24px); }
  to   { opacity:1; transform:translateY(0); }
}
.fade-up { animation: fadeUp .65s ease forwards; }
.delay-1 { animation-delay:.1s; opacity:0; }
.delay-2 { animation-delay:.22s; opacity:0; }
.delay-3 { animation-delay:.34s; opacity:0; }
.delay-4 { animation-delay:.46s; opacity:0; }

/* ─── WhatsApp button ─── */
.wa-btn {
  background: #25D366;
  color: #fff;
  font-weight: 600;
  font-size: .875rem;
  padding: .625rem 1.25rem;
  border-radius: .75rem;
  transition: background .22s ease, transform .18s ease;
  text-decoration: none;
}
.wa-btn:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}
.wa-btn-sm {
  font-size: .8125rem;
  padding: .5rem 1rem;
  border-radius: .625rem;
}
.wa-btn-outline {
  background: transparent;
  border: 2px solid #25D366;
  color: #25D366;
}
.wa-btn-outline:hover {
  background: #25D366;
  color: #fff;
}

/* ─── Section separator ─── */
.section-sep {
  border: none;
  border-top: 2px solid #f1f5f9;
  margin: 0;
}

/* ─── Programme badge ─── */
.programme-badge {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  padding: .375rem .875rem;
  border-radius: 9999px;
  background: #FFF1F4;
  color: #8B1535;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ─── Highlight pack card (top border crimson) ─── */
.pack-highlight {
  box-shadow: 0 0 0 2px rgba(139,21,53,.2), 0 4px 24px rgba(139,21,53,.08);
}

/* ─── Image overlay section ─── */
.img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,rgba(45,5,16,.92) 0%,rgba(74,11,28,.88) 45%,rgba(107,18,40,.82) 100%);
}
