*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --cream: #f7f4ef;
  --navy: #1a2035;
  --navy-mid: #1e2a45;
  --gold: #b89a5a;
  --gold-light: #d4b87a;
  --grey: #6b7280;
  --light: #ede9e2;
  --shadow-sm: 0 4px 16px rgba(26,32,53,0.06);
  --shadow-md: 0 12px 40px rgba(26,32,53,0.1);
  --shadow-lg: 0 24px 64px rgba(26,32,53,0.13);
  --card-bg: #ffffff;
  --text-light: #f7f4ef;
  --bg-dark: #1a2035;
  --nav-bg: rgba(247,244,239,0.97);
  --nav-mob-bg: rgba(247,244,239,1);
}

/* Dark mode */
[data-theme="dark"] {
  --cream: #1b2030;
  --navy: #e0e2e8;
  --navy-mid: #c5c9d2;
  --gold: #d4b87a;
  --gold-light: #e8d5a3;
  --grey: #9ca3af;
  --light: #242a3a;
  --text-light: #f0ece5;
  --bg-dark: #161a28;
  --shadow-sm: 0 4px 16px rgba(0,0,0,0.18);
  --shadow-md: 0 12px 40px rgba(0,0,0,0.25);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.3);
  --card-bg: #242a3a;
  --nav-bg: rgba(27,32,48,0.97);
  --nav-mob-bg: rgba(27,32,48,1);
}
[data-theme="dark"] ::-webkit-scrollbar-track { background: #1b2030; }
[data-theme="dark"] .card { background: var(--card-bg); border-color: rgba(212,184,122,0.12); }
[data-theme="dark"] .c-card { background: var(--card-bg); border-color: rgba(212,184,122,0.12); }
[data-theme="dark"] .gov-family { border-color: rgba(212,184,122,0.12); }
[data-theme="dark"] .gov-family-header { background: var(--bg-dark); }
[data-theme="dark"] .timeline-item { background: rgba(255,255,255,0.03); border-color: rgba(212,184,122,0.1); }
[data-theme="dark"] .hero-bg { background: radial-gradient(ellipse at 75% 40%, rgba(212,184,122,0.04) 0%, transparent 55%); }
[data-theme="dark"] .hamburger span { background: var(--navy); }

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--cream); color: var(--navy); overflow-x: hidden; min-height: 100vh; }
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 4rem; height: 72px;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(184,154,90,0.12);
  transition: background 0.4s;
}
nav::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 40%, transparent 100%);
  opacity: 0.5;
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 600;
  letter-spacing: 0.12em; color: var(--navy); cursor: pointer;
  display: flex; align-items: center; gap: 0.5rem; white-space: nowrap;
  text-decoration: none;
}
.nav-logo span { color: var(--gold); }
.nav-logo-icon { flex-shrink: 0; margin-right: 0.15rem; }
.nav-logo-icon polygon, .nav-logo-icon polyline { stroke: var(--navy); transition: stroke 0.4s; }
[data-theme="dark"] .nav-logo-icon polygon, [data-theme="dark"] .nav-logo-icon polyline { stroke: var(--gold); }
.nav-right { display: flex; align-items: center; height: 100%; gap: 0; }
.nav-mob-bottom { display: contents; }
.nav-links { display: flex; height: 100%; align-items: stretch; }
.nav-tab {
  font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--grey); cursor: pointer; padding: 0 1.2rem;
  border: none; border-bottom: 2px solid transparent;
  transition: color 0.3s, border-color 0.3s;
  background: none; font-family: 'Inter', sans-serif;
  display: flex; align-items: center;
  text-decoration: none;
}
.nav-tab:hover { color: var(--navy); }
.nav-tab.active { color: var(--navy); border-bottom-color: var(--gold); }

/* Hamburger */
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  width: 40px; min-width: 40px; height: 40px; position: relative; z-index: 101; flex-shrink: 0;
}
.hamburger span {
  display: block; width: 22px; height: 1.5px; background: var(--navy);
  position: absolute; left: 9px; transition: transform 0.3s, opacity 0.3s, top 0.3s;
}
.hamburger span:nth-child(1) { top: 11px; }
.hamburger span:nth-child(2) { top: 19px; }
.hamburger span:nth-child(3) { top: 27px; }
.hamburger.open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* ── PAGE ── */
.page { min-height: 100vh; padding-top: 72px; animation: pageIn 0.5s cubic-bezier(0.4,0,0.2,1) both; }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ── HERO ── */
.hero {
  min-height: calc(100vh - 72px);
  display: grid; grid-template-columns: 1fr 400px;
  align-items: center; gap: 4rem;
  padding: 5rem 4rem 10rem; position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse at 75% 40%, rgba(184,154,90,0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 85%, rgba(26,32,53,0.03) 0%, transparent 45%);
}
.hero-content { position: relative; z-index: 1; }
.hero-eyebrow {
  font-size: 0.68rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 2rem;
  display: flex; align-items: center; gap: 1rem;
  opacity: 0; animation: fadeUp 0.8s 0.2s cubic-bezier(0.4,0,0.2,1) forwards;
}
.hero-eyebrow::before { content: ''; display: block; width: 40px; height: 1px; background: var(--gold); }
h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.2rem, 5.5vw, 5.8rem); font-weight: 300; line-height: 1.05;
  color: var(--navy); margin-bottom: 1.75rem;
  opacity: 0; animation: fadeUp 0.8s 0.38s cubic-bezier(0.4,0,0.2,1) forwards;
}
h1 em { font-style: italic; color: var(--gold); }
.hero-sub {
  font-size: 1rem; line-height: 1.85; color: var(--grey);
  max-width: 520px; margin-bottom: 3rem; font-weight: 300;
  opacity: 0; animation: fadeUp 0.8s 0.56s cubic-bezier(0.4,0,0.2,1) forwards;
}
.hero-cta {
  opacity: 0; animation: fadeUp 0.8s 0.72s cubic-bezier(0.4,0,0.2,1) forwards;
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--navy); cursor: pointer; background: none; border: none;
  border-bottom: 1px solid var(--gold); padding-bottom: 0.25rem;
  font-family: 'Inter', sans-serif; transition: color 0.3s, gap 0.3s;
  text-decoration: none;
}
.hero-cta:hover { color: var(--gold); gap: 1.25rem; }

/* Geometric SVG */
.hero-geo {
  position: relative; z-index: 1;
  opacity: 0; animation: fadeScale 1s 0.9s cubic-bezier(0.4,0,0.2,1) forwards;
}
.hero-geo svg { width: 100%; max-width: 380px; height: auto; }

/* Hero stats */
.hero-stats {
  position: absolute; bottom: 4rem; left: 4rem; z-index: 1;
  display: flex; gap: 3.5rem;
  opacity: 0; animation: fadeUp 0.8s 1s cubic-bezier(0.4,0,0.2,1) forwards;
}
.stat-num {
  font-family: 'Cormorant Garamond', serif; font-size: 2.8rem; font-weight: 300;
  color: var(--navy); line-height: 1;
}
.stat-label { font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey); margin-top: 0.3rem; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeScale { from { opacity: 0; transform: scale(0.93); } to { opacity: 1; transform: scale(1); } }
@keyframes pageIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

/* Values strip */
.values-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--bg-dark); border-top: 1px solid rgba(184,154,90,0.08);
}
.value-item {
  padding: 3rem 3rem; border-right: 1px solid rgba(184,154,90,0.08);
}
.value-item:last-child { border-right: none; }
.value-num { font-size: 0.58rem; letter-spacing: 0.22em; color: var(--gold); margin-bottom: 1.25rem; display: block; opacity: 0.7; }
.value-title { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; font-weight: 300; color: var(--text-light); margin-bottom: 0.85rem; line-height: 1.3; }
.value-title em { font-style: italic; color: var(--gold); }
.value-desc { font-size: 0.78rem; color: rgba(247,244,239,0.4); line-height: 1.75; font-weight: 300; }

/* ── INNER PAGES ── */
.page-hero {
  background: var(--bg-dark); padding: 4.5rem 4rem 3.5rem;
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; bottom: 0; left: 4rem; right: 4rem;
  height: 1px; background: linear-gradient(90deg, var(--gold), transparent); opacity: 0.25;
}
.page-hero .section-tag { color: var(--gold); }
.page-hero .section-tag::before { background: var(--gold); }
.page-hero h2 { color: var(--text-light); margin-bottom: 1rem; }
.page-hero p { color: rgba(247,244,239,0.55); font-size: 0.95rem; line-height: 1.85; font-weight: 300; max-width: 560px; }
.page-hero-deco {
  position: absolute; right: 3rem; top: 50%; transform: translateY(-50%);
  opacity: 0.04; pointer-events: none;
}
.page-hero-deco svg { width: 220px; }

.page-body { padding: 4rem; max-width: 1080px; margin: 0 auto; }

/* Section tags */
.section-tag {
  font-size: 0.62rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem; display: flex; align-items: center; gap: 1rem;
}
.section-tag::before { content: ''; display: block; width: 28px; height: 1px; background: var(--gold); }

h2 {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 300; line-height: 1.15; color: var(--navy); margin-bottom: 2rem;
}
h2 em { font-style: italic; color: var(--gold); }

/* ── HISTOIRE ── */
#page-story { background: var(--bg-dark); }
.story-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
.story-text p { font-size: 0.97rem; line-height: 1.95; color: rgba(247,244,239,0.62); font-weight: 300; margin-bottom: 1.5rem; }
.story-text p strong { color: var(--gold-light); font-weight: 400; }
.story-text p em { color: rgba(247,244,239,0.85); font-style: italic; }

.timeline { position: relative; padding-left: 2.5rem; }
.timeline::before {
  content: ''; position: absolute; left: 0.65rem; top: 0.75rem; bottom: 2rem; width: 1px;
  background: linear-gradient(to bottom, rgba(184,154,90,0.6), rgba(184,154,90,0.05));
}
.timeline-item {
  position: relative; padding: 1.5rem 1.5rem 1.5rem 1.25rem;
  margin-bottom: 1rem; border: 1px solid rgba(184,154,90,0.1); border-radius: 2px;
  background: rgba(255,255,255,0.02); transition: border-color 0.3s, background 0.3s;
}
.timeline-item:hover { border-color: rgba(184,154,90,0.32); background: rgba(184,154,90,0.04); }
.timeline-dot {
  position: absolute; left: -2rem; top: 1.85rem;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--gold); opacity: 0.45; border: 2px solid var(--bg-dark);
  box-shadow: 0 0 0 3px rgba(184,154,90,0.12); transition: opacity 0.3s;
}
.timeline-item:hover .timeline-dot { opacity: 1; }
.timeline-phase { font-size: 0.57rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); opacity: 0.7; margin-bottom: 0.4rem; }
.timeline-title { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 400; color: var(--text-light); margin-bottom: 0.5rem; }
.timeline-desc { font-size: 0.74rem; color: rgba(247,244,239,0.38); line-height: 1.65; margin-bottom: 0.75rem; }
.timeline-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.timeline-tag { font-size: 0.57rem; letter-spacing: 0.08em; padding: 0.18rem 0.5rem; border: 1px solid rgba(184,154,90,0.18); color: var(--gold); opacity: 0.8; border-radius: 1px; }

/* ── PORTFOLIO ── */
#page-portfolio { background: var(--cream); }
.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 3.5rem; }
.card {
  background: white; border: 1px solid rgba(184,154,90,0.12); padding: 2.25rem 2.5rem 2.25rem;
  border-radius: 2px; position: relative; overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s, border-color 0.4s;
  display: flex; flex-direction: column;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent); opacity: 0; transition: opacity 0.4s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(184,154,90,0.28); }
.card:hover::before { opacity: 1; }
.card-sector { display: flex; align-items: center; gap: 0.55rem; margin-bottom: 1.5rem; }
.card-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.card-tag { font-size: 0.57rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 400; color: var(--navy); margin-bottom: 0.75rem; line-height: 1.2; }
.card p { font-size: 0.84rem; color: var(--grey); line-height: 1.75; font-weight: 300; flex: 1; }
.card-footer { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--light); display: flex; align-items: center; justify-content: space-between; }
.card-detail { font-size: 0.7rem; color: rgba(184,154,90,0.75); }
.card-link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--navy); text-decoration: none;
  border-bottom: 1px solid rgba(184,154,90,0.3); padding-bottom: 0.1rem;
  transition: color 0.3s, border-color 0.3s;
}
.card-link:hover { color: var(--gold); border-color: var(--gold); }

/* ── STRATÉGIE ── */
#page-strategie { background: var(--bg-dark); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3.5rem; }
.pillar {
  border: 1px solid rgba(184,154,90,0.13); padding: 2.5rem 2rem 3rem;
  position: relative; overflow: hidden;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}
.pillar:hover { border-color: rgba(184,154,90,0.38); background: rgba(184,154,90,0.04); transform: translateY(-3px); }
.pillar::after {
  content: attr(data-num); position: absolute; bottom: -1rem; right: 0.75rem;
  font-family: 'Cormorant Garamond', serif; font-size: 7rem; font-weight: 300;
  color: rgba(184,154,90,0.04); line-height: 1; pointer-events: none;
}
.pillar-icon { font-size: 1.75rem; display: block; margin-bottom: 1.5rem; }
.pillar h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 300; color: var(--text-light); margin-bottom: 1rem; line-height: 1.35; }
.pillar h4 em { font-style: italic; color: var(--gold); }
.pillar p { font-size: 0.79rem; color: rgba(247,244,239,0.45); line-height: 1.8; font-weight: 300; }

.strategy-quote-block {
  margin-top: 3.5rem; padding: 3rem 3.5rem;
  border: 1px solid rgba(184,154,90,0.1); border-radius: 2px;
  position: relative; text-align: center;
}
.strategy-quote-block::before {
  content: '\201C'; position: absolute; top: -2.5rem; left: 2.5rem;
  font-family: 'Cormorant Garamond', serif; font-size: 8rem;
  color: var(--gold); opacity: 0.12; line-height: 1;
}
.strategy-quote {
  font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 300;
  color: rgba(247,244,239,0.75); line-height: 1.65; font-style: italic;
}
.strategy-quote em { color: var(--gold); font-style: normal; }

/* ── GOUVERNANCE ── */
#page-gouvernance { background: var(--cream); }
.gov-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3.5rem; }
.gov-family { border: 1px solid rgba(184,154,90,0.15); border-radius: 2px; overflow: hidden; }
.gov-family-header {
  padding: 1.5rem 2rem; background: var(--bg-dark);
  display: flex; align-items: center; gap: 1.25rem;
}
.gov-family-name { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 400; color: var(--text-light); letter-spacing: 0.04em; white-space: nowrap; }
.gov-family-rule { flex: 1; height: 1px; background: rgba(184,154,90,0.18); }
.gov-family-body { padding: 1.75rem 2rem; }
.gov-role-label { font-size: 0.57rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.9rem; opacity: 0.75; }
.gov-role-group { margin-bottom: 2rem; }
.gov-role-group:last-child { margin-bottom: 0; }
.person { display: flex; align-items: center; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid rgba(26,32,53,0.05); }
.person:last-child { border-bottom: none; }
.person-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 0.78rem; color: white; flex-shrink: 0;
}
.person-avatar.founder { background: linear-gradient(135deg, var(--gold), var(--gold-light)); }
.person-avatar.nextgen { background: linear-gradient(135deg, var(--bg-dark), #2d3a5c); border: 1px solid rgba(184,154,90,0.22); }
.person-name { font-size: 0.88rem; font-weight: 500; color: var(--navy); }
.person-role { font-size: 0.71rem; color: var(--grey); font-weight: 300; margin-top: 0.1rem; }

/* ── CONTACT ── */
#page-contact { background: var(--cream); }
.contact-body { padding: 4rem; max-width: 1080px; margin: 0 auto; }
.contact-group { margin-bottom: 3.5rem; }
.contact-group-label {
  font-size: 0.6rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 1.25rem; display: flex; align-items: center; gap: 1.25rem;
}
.contact-group-label::after { content: ''; flex: 1; height: 1px; background: rgba(184,154,90,0.18); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: 1rem; }

.c-card {
  position: relative; padding: 1.75rem; border: 1px solid rgba(184,154,90,0.12);
  background: white; border-radius: 2px; text-decoration: none; display: block;
  overflow: hidden; transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s;
}
.c-card:hover { border-color: rgba(184,154,90,0.38); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.c-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent); opacity: 0; transition: opacity 0.35s;
}
.c-card:hover::before { opacity: 1; }
.c-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 0.88rem; color: white;
  margin-bottom: 1rem; transition: transform 0.35s;
}
.c-card:hover .c-avatar { transform: scale(1.07); }
.c-avatar.founder { background: linear-gradient(135deg, var(--gold), var(--gold-light)); }
.c-avatar.next-gen { background: linear-gradient(135deg, var(--bg-dark), #2d3a5c); border: 1px solid rgba(184,154,90,0.22); }
.c-name { font-size: 0.92rem; font-weight: 500; color: var(--navy); margin-bottom: 0.2rem; transition: color 0.3s; }
.c-card:hover .c-name { color: var(--gold); }
.c-role { font-size: 0.72rem; color: var(--grey); font-weight: 300; margin-bottom: 0.15rem; }
.c-family { font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); opacity: 0.8; }
.c-email-wrap {
  display: flex; align-items: center; gap: 0.5rem;
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease, margin 0.4s ease, padding 0.4s ease;
  margin-top: 0; padding-top: 0;
}
.c-card:hover .c-email-wrap { max-height: 40px; opacity: 1; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--light); }
.c-email-icon { color: var(--gold); font-size: 0.75rem; flex-shrink: 0; }
.c-email { font-size: 0.69rem; color: var(--navy); }

/* ── FOOTER ── */
.site-footer {
  background: var(--bg-dark); padding: 3rem 4rem;
  display: flex; align-items: center; justify-content: space-between; gap: 3rem;
}
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 600; letter-spacing: 0.1em; color: var(--text-light); }
.footer-logo span { color: var(--gold); }
.footer-sub { font-size: 0.63rem; letter-spacing: 0.1em; color: rgba(247,244,239,0.22); text-transform: uppercase; margin-top: 0.3rem; }
.footer-rule { width: 1px; height: 36px; background: rgba(184,154,90,0.2); flex-shrink: 0; }
.footer-right { font-size: 0.7rem; color: rgba(247,244,239,0.32); line-height: 1.8; text-align: right; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 0 1.5rem; }
  .hero { grid-template-columns: 1fr; padding: 3rem 1.5rem 9rem; }
  .hero-geo { display: none; }
  .hero-stats { left: 1.5rem; bottom: 3rem; }
  .values-strip { grid-template-columns: 1fr; }
  .value-item { border-right: none; border-bottom: 1px solid rgba(184,154,90,0.08); padding: 2.5rem 2rem; }
  .value-item:last-child { border-bottom: none; }
  .page-hero { padding: 3rem 1.5rem; }
  .page-hero::after { left: 1.5rem; right: 1.5rem; }
  .page-hero-deco { display: none; }
  .page-body, .contact-body { padding: 2.5rem 1.5rem; }
  .story-layout { grid-template-columns: 1fr; gap: 3rem; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .gov-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 1.25rem; padding: 2.5rem 1.5rem; }
  .footer-rule { display: none; }
  .footer-right { text-align: left; }
}
@media (max-width: 768px) {
  nav { height: 60px; padding: 0 1.25rem; }
  .nav-logo { font-size: 0.72rem; gap: 0.3rem; letter-spacing: 0.08em; }
  .nav-logo-icon { width: 18px; height: 18px; }
  .hamburger { display: flex; align-items: center; justify-content: center; order: 3;
    width: 40px; height: 40px; min-width: 40px; border-radius: 8px;
    transition: background 0.2s; }
  .hamburger:active { background: rgba(184,154,90,0.08); }
  .nav-right {
    position: fixed; top: 60px; left: 0; right: 0; z-index: 100;
    flex-direction: column; align-items: stretch;
    background: var(--nav-mob-bg); backdrop-filter: blur(16px);
    max-height: 0; overflow: hidden; transition: max-height 0.4s ease, border-color 0.4s;
    border-bottom: 1px solid transparent;
    height: auto; gap: 0;
  }
  .nav-right.open { max-height: 520px; border-bottom-color: rgba(184,154,90,0.15); box-shadow: 0 12px 32px rgba(26,32,53,0.1); }
  .nav-links {
    flex-direction: column; align-items: stretch; height: auto;
  }
  .nav-tab {
    padding: 1rem 2rem; font-size: 0.72rem; border-bottom: none;
    border-left: 3px solid transparent; justify-content: flex-start;
    transition: background 0.2s, border-color 0.3s;
  }
  .nav-tab:hover { background: rgba(184,154,90,0.06); }
  .nav-tab.active { border-bottom: none; border-left-color: var(--gold); background: rgba(184,154,90,0.04); }
  .nav-mob-bottom {
    display: flex; align-items: center; gap: 1rem; padding: 1rem 2rem;
    border-top: 1px solid rgba(184,154,90,0.1); margin-top: 0.25rem;
  }
  .nav-right .lang-toggle,
  .nav-right .theme-toggle {
    margin: 0;
  }
  .page { padding-top: 60px; }
  h1 { font-size: 2.4rem; }
}

/* ── DARK MODE TOGGLE ── */
.theme-toggle {
  background: none; border: 1px solid rgba(184,154,90,0.2); border-radius: 50%;
  width: 34px; height: 34px; cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--gold); transition: border-color 0.3s, transform 0.3s; flex-shrink: 0; margin-left: 0.75rem;
}
.theme-toggle:hover { border-color: var(--gold); transform: scale(1.1); }
.theme-toggle svg { width: 16px; height: 16px; transition: transform 0.4s; }
.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

/* ── BACK TO TOP ── */
.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 99;
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(184,154,90,0.25);
  background: var(--card-bg, white); color: var(--gold); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); opacity: 0; transform: translateY(12px);
  transition: opacity 0.35s, transform 0.35s, border-color 0.3s, box-shadow 0.3s;
  pointer-events: none;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { border-color: var(--gold); box-shadow: var(--shadow-md); }
.back-to-top svg { width: 18px; height: 18px; }

/* ── LOADING ANIMATION ── */
body { opacity: 0; animation: bodyFadeIn 0.6s 0.1s ease forwards; }
@keyframes bodyFadeIn { to { opacity: 1; } }

/* ── PARALLAX HERO ── */
.hero { position: relative; }
.hero-bg { transition: transform 0.1s linear; will-change: transform; }

/* ── ACCESSIBILITY ── */
.skip-link {
  position: absolute; top: -100%; left: 1rem; z-index: 200;
  background: var(--gold); color: white; padding: 0.75rem 1.5rem;
  font-size: 0.8rem; text-decoration: none; border-radius: 0 0 4px 4px;
  transition: top 0.3s;
}
.skip-link:focus { top: 0; }

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px;
}
:focus:not(:focus-visible) { outline: none; }

/* ── ANIMATED COUNTERS ── */
.stat-num { font-variant-numeric: tabular-nums; }

/* ── MICRO-INTERACTIONS ── */
.card { will-change: transform; }

/* ── LANG TOGGLE ── */
.lang-toggle {
  background: none; border: 1px solid rgba(184,154,90,0.2); border-radius: 3px;
  padding: 0.25rem 0.55rem; font-size: 0.6rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold); cursor: pointer; font-family: 'Inter', sans-serif;
  transition: border-color 0.3s, background 0.3s; margin-left: 0.5rem; flex-shrink: 0;
}
.lang-toggle:hover { border-color: var(--gold); background: rgba(184,154,90,0.08); }

/* ── CONTACT FORM ── */
.contact-form { margin-top: 2rem; max-width: 520px; }
.contact-form .form-group { margin-bottom: 1.25rem; }
.contact-form label {
  display: block; font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.5rem;
}
.contact-form input, .contact-form textarea {
  width: 100%; padding: 0.85rem 1rem; border: 1px solid rgba(184,154,90,0.18);
  background: var(--card-bg, white); color: var(--navy); font-family: 'Inter', sans-serif;
  font-size: 0.85rem; border-radius: 2px; transition: border-color 0.3s;
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--gold); outline: none;
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form button {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem; background: var(--gold); color: white; border: none;
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  font-family: 'Inter', sans-serif; cursor: pointer; border-radius: 2px;
  transition: background 0.3s, transform 0.15s;
}
.contact-form button:hover { background: var(--gold-light); }
.contact-form button:active { transform: scale(0.97); }

/* ── ACTUALITÉS ── */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.news-card {
  padding: 2rem 2.25rem; border: 1px solid rgba(184,154,90,0.12);
  background: var(--card-bg, white); border-radius: 2px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.news-card:hover { border-color: rgba(184,154,90,0.3); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.news-date { font-size: 0.58rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; }
.news-card h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 400; color: var(--navy); margin-bottom: 0.6rem; line-height: 1.3; }
.news-card p { font-size: 0.8rem; color: var(--grey); line-height: 1.75; font-weight: 300; }

/* ── PRINT ── */
@media print {
  nav, .hamburger, .theme-toggle, .lang-toggle, .back-to-top, .hero-geo, .hero-bg,
  .page-hero-deco, .hero-cta, .skip-link { display: none !important; }
  body { background: white !important; color: #1a2035 !important; opacity: 1 !important; }
  .page { display: block !important; padding-top: 0 !important; animation: none !important; break-inside: avoid; }
  .page-hero { background: #1a2035 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .card, .c-card, .news-card { break-inside: avoid; box-shadow: none !important; border: 1px solid #ddd !important; }
  .site-footer { background: #1a2035 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .values-strip { background: #1a2035 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
