/* WECOTIZE — Styles partagés premium */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=DM+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --navy: #1B3A6B;
  --gold: #F5A623;
  --gold-dark: #E8941A;
  --gold-light: #FDE8BC;
  --white: #FFFFFF;
  --cream: #FAFAF7;
  --surface: #F0F4F8;
  --text: #1B3A6B;
  --muted: #7A8BA0;
  --border: #E8EDF3;
  --shadow-sm: 0 4px 16px -4px rgba(27,58,107,0.08);
  --shadow-md: 0 10px 40px -10px rgba(27,58,107,0.10);
  --shadow-lg: 0 20px 60px -10px rgba(27,58,107,0.16);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHIE STRICTE ── */
h1, h2 { font-family: 'Playfair Display', serif !important; }
h3, h4, p, span, a, button, li, label, td, th { font-family: 'DM Sans', sans-serif; }
.amount { font-family: 'DM Sans', sans-serif; font-weight: 700; color: var(--navy); }

/* ── SYSTÈME i18n ── */
.lang-en { display: none; }
.lang-en-block { display: none; }
body.lang-mode-en .lang-fr { display: none; }
body.lang-mode-en .lang-en { display: inline; }
body.lang-mode-en .lang-fr-block { display: none !important; }
body.lang-mode-en .lang-en-block { display: block !important; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 60px;
  background: rgba(250,250,247,0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s var(--ease);
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { height: 34px; transition: opacity 0.2s; }
.nav-logo img:hover { opacity: 0.85; }
.nav-logo-fallback { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 900; color: var(--navy); letter-spacing: 3px; }
.nav-logo-fallback span { color: var(--gold); }
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a {
  text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 500;
  transition: color 0.2s var(--ease);
}
.nav-links a:hover { color: var(--navy); }
.nav-right { display: flex; align-items: center; gap: 12px; }

/* ── LANG PILL PREMIUM ── */
.lang-pill {
  display: flex; background: var(--surface);
  border-radius: 20px; padding: 3px; gap: 2px;
  border: 1px solid var(--border);
}
.lang-link {
  background: transparent; border: none;
  padding: 5px 13px; border-radius: 16px;
  font-size: 12px; font-weight: 700; color: var(--muted);
  cursor: pointer; font-family: 'DM Sans', sans-serif;
  transition: all 0.25s var(--ease);
}
.lang-link.active {
  background: var(--gold); color: var(--white);
  box-shadow: 0 2px 8px rgba(245,166,35,0.35);
}
.lang-link:not(.active):hover { color: var(--navy); background: var(--border); }

/* ── NAV CTA ── */
.nav-cta {
  background: var(--navy); color: var(--white);
  padding: 10px 22px; border-radius: 8px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: all 0.3s var(--ease);
}
.nav-cta:hover {
  background: var(--gold);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(245,166,35,0.3);
}

/* ── PAGE HERO (légales) ── */
.page-hero { padding: 140px 60px 72px; text-align: center; background: var(--navy); color: var(--white); }
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(28px, 4vw, 48px); font-weight: 900; margin-bottom: 12px; }
.page-hero p { opacity: 0.65; font-size: 15px; }

/* ── CONTAINER (légales) ── */
.container { max-width: 820px; margin: 0 auto; padding: 72px 32px; }
.update-date {
  background: var(--gold-light); border-radius: 10px; padding: 14px 20px;
  font-size: 13px; color: var(--navy); margin-bottom: 48px;
  border-left: 4px solid var(--gold); font-weight: 600;
}
h2 {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 700; color: var(--navy);
  margin: 48px 0 24px; padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
}
h3 { font-size: 16px; font-weight: 600; color: var(--navy); margin: 28px 0 12px; }
p { font-size: 15px; color: var(--muted); line-height: 1.85; margin-bottom: 16px; }
ul { margin: 0 0 16px 24px; }
ul li { font-size: 15px; color: var(--muted); line-height: 1.85; margin-bottom: 8px; }
a { color: var(--gold); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.8; text-decoration: underline; }

/* ── MARQUEE ── */
.marquee-container {
  background: var(--white); padding: 28px 0;
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
  overflow: hidden; position: relative;
}
.marquee-content {
  display: inline-flex; gap: 56px; align-items: center;
  animation: scrollMarquee 36s linear infinite;
}
.marquee-content:hover { animation-play-state: paused; }
.marquee-content img {
  height: 42px; filter: grayscale(1); opacity: 0.55;
  transition: all 0.3s var(--ease); object-fit: contain;
}
.marquee-content img:hover { filter: grayscale(0); opacity: 1; }
.momo-marquee {
  background: var(--white); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); padding: 28px 0;
  overflow: hidden; position: relative;
}
.momo-track {
  display: inline-flex; animation: scrollMomo 56s linear infinite;
  gap: 72px; align-items: center;
}
.momo-track:hover { animation-play-state: paused; }
.momo-track img {
  height: 34px; filter: grayscale(100%); opacity: 0.45;
  transition: all 0.3s var(--ease); object-fit: contain;
}
.momo-track img:hover { filter: grayscale(0%); opacity: 1; transform: scale(1.08); }

@keyframes scrollMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes scrollMomo { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── FOOTER ── */
footer { background: #0D2550; padding: 80px 60px 44px; color: white; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer-logo-img { height: 30px; margin-bottom: 16px; display: block; }
.footer-logo-text { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 900; color: white; letter-spacing: 3px; display: block; margin-bottom: 16px; }
.footer-logo-text span { color: var(--gold); }
.footer-desc { color: rgba(255,255,255,0.45); font-size: 14px; line-height: 1.75; max-width: 280px; }
.footer-col h4 { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--gold); margin-bottom: 20px; font-weight: 700; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 14px; transition: color 0.2s var(--ease); }
.footer-col ul li a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: rgba(255,255,255,0.35);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .page-hero { padding: 120px 24px 48px; }
  .container { padding: 48px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  footer { padding: 52px 24px 32px; }
}
