/* ═══════════════════════════════════════════
   Résurgence — shared.css
   Styles communs à toutes les pages publiques
   ═══════════════════════════════════════════ */

/* DESIGN TOKENS */
:root {
  --navy: #1B2A4A;
  --navy-deep: #0F1A2E;
  --navy-light: #243656;
  --brick: #A63D2F;
  --brick-light: #C4503F;
  --cream: #F4F1EC;
  --cream-dark: #E8E3DB;
  --white: #FFFFFF;
  --gray-100: #F7F5F2;
  --gray-300: #C5BFBA;
  --gray-500: #7A7470;
  --gray-700: #4A4542;
  --text-light: #B8C4D6;
  --text-muted: #8A96A8;
  --green: #2D7A4F;
  --green-light: #E8F5EE;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', -apple-system, sans-serif;
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* RESET */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--font-body); font-weight: 300; color: var(--navy-deep); background: var(--cream); line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; }

/* LAYOUT */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* REVEAL SYSTEM */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo); }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 1.25rem 0; background: rgba(15,26,46,0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); transition: background 0.4s, padding 0.4s, box-shadow 0.4s; }
.nav.scrolled { padding: 0.75rem 0; box-shadow: 0 1px 30px rgba(0,0,0,0.2); background: rgba(15,26,46,0.97); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.nav__logo { display: flex; align-items: center; line-height: 0; }
.nav__logo img { height: 26px; width: auto; display: block; }
.nav__links { display: flex; align-items: center; gap: 2.5rem; list-style: none; flex-shrink: 1; }
.nav__links a { font-size: 0.8rem; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-light); transition: color 0.3s; position: relative; }
.nav__links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: var(--brick-light); transition: width 0.3s var(--ease-out-expo); }
.nav__links a:hover { color: var(--white); }
.nav__links a:hover::after { width: 100%; }
.nav__cta { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--white); background: var(--brick); padding: 0.7rem 1.6rem; border-radius: 2px; transition: background 0.3s, transform 0.2s; white-space: nowrap; flex-shrink: 0; }
.nav__cta:hover { background: var(--brick-light); transform: translateY(-1px); }
.nav__hamburger { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 6px; width: 40px; height: 40px; z-index: 1001; }
.nav__hamburger span { display: block; width: 24px; height: 1.5px; background: var(--white); transition: all 0.3s; }
.nav.menu-open .nav__hamburger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav.menu-open .nav__hamburger span:nth-child(2) { opacity: 0; }
.nav.menu-open .nav__hamburger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.nav__mobile { position: fixed; inset: 0; background: var(--navy-deep); z-index: 999; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem; opacity: 0; visibility: hidden; transition: all 0.4s var(--ease-out-expo); }
.nav__mobile.active { opacity: 1; visibility: visible; }
.nav__mobile a { font-family: var(--font-display); font-size: 2rem; color: var(--white); font-weight: 500; }
.nav__mobile a:hover { color: var(--brick-light); }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-body); font-size: 0.875rem; font-weight: 500; letter-spacing: 0.04em; padding: 1rem 2.25rem; border-radius: 2px; transition: all 0.4s var(--ease-smooth); }
.btn-primary { background: var(--brick); color: var(--white); }
.btn-primary:hover { background: var(--brick-light); transform: translateY(-1px); box-shadow: 0 8px 30px rgba(166,61,47,0.3); }
.btn-arrow::after { content: '→'; transition: transform 0.3s var(--ease-smooth); }
.btn-arrow:hover::after { transform: translateX(4px); }

/* NAV RESPONSIVE */
@media (max-width: 1100px) {
  .nav__links { gap: 1.5rem; }
}
@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  .container { padding: 0 1.25rem; }
}
