/* ═══════════════════════════════════════════
   BASE — variables, reset, shared, buttons
   ═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #D4AF37; --gold-light: #F4D03F; --gold-dark: #C5A028; --gold-deep: #8B6914;
  --bg: #080808; --bg2: #050505; --bg3: #0D0D0D;
  --w60: rgba(255,255,255,.6); --w40: rgba(255,255,255,.4);
  --w20: rgba(255,255,255,.2); --w10: rgba(255,255,255,.1); --w05: rgba(255,255,255,.05);
  --g10: rgba(212,175,55,.1); --g20: rgba(212,175,55,.2);
  --g30: rgba(212,175,55,.3); --g50: rgba(212,175,55,.5);
  --serif: "Helvetica", "Helvetica Neue", Arial, sans-serif;
  --sans: "Helvetica", "Helvetica Neue", Arial, sans-serif;
  --r: 16px;
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: #fff; font-family: var(--sans); font-weight: 300; overflow-x: hidden; }
/* Texte courant en sans, titres en serif via leur règle dédiée */
p, span, a, li, label, button, input, textarea, select, option {
  font-family: var(--sans);
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
}
a { text-decoration: none; color: inherit; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Skip link — accessibilité clavier */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 9999;
  padding: 10px 20px;
  background: var(--gold);
  color: #0D0D0D;
  font-weight: 600;
  font-size: 13px;
  border-radius: 8px;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* Visually hidden — label accessible uniquement pour les lecteurs d'écran */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Gold gradient text */
.gold-text {
  background: linear-gradient(135deg, var(--gold-deep), var(--gold), var(--gold-light), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* Dot pattern */
.dot-pattern {
  position: absolute; inset: 0; opacity: .03; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='44' height='44' viewBox='0 0 44 44' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='2' cy='2' r='1.5' fill='%23D4AF37'/%3E%3C/svg%3E");
}

/* Section top line */
.section-top-line {
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--g30), transparent);
}

/* Reveal animation */
.reveal-up {
  opacity: 0; transform: translateY(20px);
  transition: opacity .5s ease calc(var(--delay,0s) * .6), transform .5s ease calc(var(--delay,0s) * .6);
}
.reveal-up.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal-up { opacity: 1; transform: none; transition: none; }
}

/* Section headers */
.section-header { text-align: center; margin-bottom: 80px; }
.header-row { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 16px; }
.h-line { height: 1px; width: 48px; background: linear-gradient(90deg, transparent, var(--g50)); }
.h-line:last-child { background: linear-gradient(90deg, var(--g50), transparent); }
.h-line.long { width: 80px; }
.section-label { font-size: 11px; letter-spacing: .4em; text-transform: uppercase; color: var(--gold); }
.section-header h2 { font-family: var(--serif); font-size: clamp(2.2rem,5vw,3.5rem); font-weight: 400; color: #fff; margin-bottom: 20px; }
.header-ornament { display: flex; align-items: center; justify-content: center; gap: 10px; }
.orn-star { color: var(--g50); font-size: 18px; }
.orn-star.small { font-size: 11px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px; border-radius: 999px; font-size: 11px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; cursor: pointer;
  gap: 10px;
  transition: all .4s; position: relative; overflow: hidden; font-family: var(--sans);
}
.btn-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}
.btn-outline { border: 1px solid var(--g30); color: rgba(255,255,255,.8); background: transparent; }
.btn-outline::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, var(--g10), transparent);
  transform: translateX(-100%); transition: transform .6s;
}
.btn-outline:hover { border-color: var(--gold); color: #fff; box-shadow: 0 0 20px var(--g20); }
.btn-outline:hover::before { transform: translateX(100%); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light), var(--gold), var(--gold-dark));
  background-size: 100% 100%; color: #0D0D0D; font-weight: 600; border: none;
  will-change: transform;
  transform: translateZ(0);
}
.btn-gold:hover { box-shadow: 0 0 40px var(--g50); transform: scale(1.02); }
.btn-gold-shine {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.3) 50%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.btn-gold:hover .btn-gold-shine {
  opacity: 1;
  animation: shimmerBtn 2s ease-in-out forwards;
}

@keyframes goldShift { 0%{background-position:0% 0%} 100%{background-position:200% 0%} }
@keyframes shimmerBtn { 0%{transform:translateX(-150%)} 60%,100%{transform:translateX(150%)} }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)} }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
@keyframes goldShimmer { 0%{transform:translateX(-150%)} 55%,100%{transform:translateX(150%)} }
@keyframes packShimmer { 0%{transform:translateX(-100%)} 60%,100%{transform:translateX(100%)} }

/* Mobile bottom nav + floating actions: tous les styles sont dans css/nav.css */
/* Compensation hauteur bottom-nav pour ne pas masquer la fin de page */
@media (max-width: 860px) {
  body {
    padding-bottom: 100px;
  }
}
