/* =========================================================
   RIDHA — feuille de style commune
   ========================================================= */

/* ============ Design tokens ============ */
:root {
  --navy-950: #050b26;
  --navy-900: #0a1544;
  --navy-800: #13235f;
  --navy-700: #1e3484;
  --map-bg: #0b1d33;
  --gold: #e4c063;
  --gold-light: #f4e2a8;
  --gold-deep: #b8913a;   /* or décoratif : traits, fonds, bordures */
  --gold-text: #86651c;   /* or lisible pour le petit texte sur fond clair (contraste 5:1) */
  --gold-accent: #9e7a2a; /* or des mots en italique dans les grands titres sur fond clair */
  --copper-text: #9a4f22;
  --copper: #c2703d;
  --cream: #faf6ec;
  --sand: #f1e9d6;
  --ink: #171a2c;
  --muted: #5d6275;
  --white: #ffffff;
  --danger: #b42318;
  --success: #18794e;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;

  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-soft: 0 20px 60px -20px rgba(5, 11, 38, .35);
  --shadow-gold: 0 12px 34px -12px rgba(228, 192, 99, .55);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
/* Aucun élément animé ne doit élargir la page sur mobile (bande blanche à droite) */
@supports (overflow: clip) { html, body { overflow-x: clip; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }
[id] { scroll-margin-top: 80px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-text);
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; flex: none; }
.on-dark .eyebrow { color: var(--gold); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h1 em, h2 em, h3 em { font-style: italic; color: var(--gold); font-weight: 400; }
.light h2 em, .light h3 em { color: var(--gold-accent); }

.section { padding: clamp(70px, 9vw, 115px) 0; position: relative; }
.section-head { position: relative; display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head h2 { margin-top: 14px; max-width: 640px; }
.section-head p { max-width: 400px; color: var(--muted); margin: 0; }
.on-dark .section-head p { color: rgba(255,255,255,.65); }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head.center h2 { max-width: 760px; }
.section-head.center p { max-width: 620px; }

.align-start { align-items: start; }
.mt-xl { margin-top: 56px; }
.m-0 { margin: 0 !important; }
.list-spaced { margin-bottom: 28px; }
.subheading { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin: 14px 0 12px; }
.required-mark { color: var(--copper-text); }
.bg-white { background: var(--white); }
.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy-950); color: var(--white); }

/* ============ Buttons ============ */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 700; font-size: .9rem; letter-spacing: .02em;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), background .3s, color .3s, border-color .3s;
}
.btn i { transition: transform .4s var(--ease-out); }
.btn:hover i { transform: translateX(4px); }
.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-deep)); color: var(--navy-950); box-shadow: var(--shadow-gold); }
.btn-gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.65) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease-out);
}
.btn-gold:hover { transform: translateY(-3px); }
.btn-gold:hover::after { transform: translateX(120%); }
.btn-ghost { color: var(--white); border-color: rgba(255,255,255,.35); backdrop-filter: blur(6px); background: rgba(255,255,255,.06); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
.btn-navy { background: var(--navy-900); color: var(--white); }
.btn-navy:hover { background: var(--navy-800); transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; color: var(--gold-text); }
.link-arrow i { transition: transform .4s var(--ease-out); }
.link-arrow:hover i { transform: translateX(5px); }
.on-dark .link-arrow { color: var(--gold); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ============ Preloader ============ */
.preloader {
  position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center;
  background: var(--navy-950);
  transition: opacity .8s var(--ease-out) .2s, visibility .8s .2s;
}
.preloader img { width: 96px; border-radius: 50%; animation: pulse 1.6s ease-in-out infinite; }
.preloader .ring {
  position: absolute; width: 132px; height: 132px; border-radius: 50%;
  border: 1.5px solid rgba(228,192,99,.15); border-top-color: var(--gold);
  animation: spin 1.1s linear infinite;
}
body.loaded .preloader, .no-preloader .preloader { opacity: 0; visibility: hidden; }
.no-preloader .preloader { transition: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { transform: scale(.94); opacity: .85; } }

/* ============ Navbar ============ */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  padding: 18px 0;
  transition: padding .5s var(--ease-out), background .5s, box-shadow .5s;
}
.nav.scrolled {
  padding: 9px 0;
  background: rgba(5, 11, 38, .92);
  backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 10px 40px -20px rgba(0,0,0,.6);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); flex: none; }
.brand img { width: 50px; height: 50px; border-radius: 50%; transition: width .5s var(--ease-out), height .5s var(--ease-out); filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); }
.nav.scrolled .brand img { width: 42px; height: 42px; }
.brand span { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; letter-spacing: .08em; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a:not(.btn) {
  position: relative; display: block; padding: 8px 11px;
  color: rgba(255,255,255,.8); font-weight: 600; font-size: .86rem; white-space: nowrap;
  transition: color .3s;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 3px; height: 1.5px;
  background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.nav-links a:not(.btn):hover, .nav-links a.active { color: var(--white); }
.nav-links a:not(.btn):hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 10px 20px; font-size: .82rem; flex: none; }
.nav-cta.is-current { box-shadow: 0 0 0 3px rgba(228,192,99,.35); }
.burger {
  display: none; position: relative; z-index: 3; width: 44px; height: 44px; border-radius: 50%;
  background: none; border: 1px solid transparent; color: var(--white); font-size: 1.25rem; cursor: pointer;
  transition: background .3s, border-color .3s, transform .5s var(--ease-out);
}
.nav.open .burger { border-color: rgba(228,192,99,.4); background: rgba(255,255,255,.06); transform: rotate(90deg); }

/* Sur ordinateur, le panneau n'est qu'une simple barre de liens */
.nav-panel { display: flex; align-items: center; }
.nav-overlay, .nav-panel-tools, .nav-panel-label, .nav-panel-footer, .nav-num, .nav-arrow { display: none; }

/* ============ Hero (accueil) ============ */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  color: var(--white); overflow: hidden; background: var(--navy-950);
}
.hero-bg { position: absolute; inset: -6% 0; will-change: transform; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; animation: kenburns 22s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.05); } to { transform: scale(1.16) translate(-1.5%, -1%); } }
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(95deg, rgba(5,11,38,.96) 0%, rgba(5,11,38,.82) 38%, rgba(10,21,68,.38) 70%, rgba(10,21,68,.2) 100%),
    linear-gradient(0deg, rgba(5,11,38,.9) 0%, transparent 35%);
}
.hero-content { position: relative; z-index: 2; padding: 130px 0 110px; max-width: 680px; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 4rem); margin: 22px 0; }
.hero h1.hero-title-long { font-size: clamp(2rem, 4.3vw, 3.5rem); }
.hero-content:has(.hero-title-long) { max-width: 760px; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero h1 .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.2s var(--ease-out); }
body.loaded .hero h1 .line > span { transform: none; }
body.loaded .hero h1 .line:nth-child(2) > span { transition-delay: .12s; }
body.loaded .hero h1 .line:nth-child(3) > span { transition-delay: .24s; }
.lead { font-size: clamp(1rem, 1.3vw, 1.08rem); color: rgba(255,255,255,.78); max-width: 580px; margin: 0 0 34px; }
.fade-up { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
body.loaded .fade-up { opacity: 1; transform: none; }
body.loaded .fade-up.d1 { transition-delay: .3s; }
body.loaded .fade-up.d2 { transition-delay: .45s; }
body.loaded .fade-up.d3 { transition-delay: .6s; }

.hero-pillars {
  position: absolute; z-index: 2; right: max(16px, calc((100vw - var(--container)) / 2)); bottom: 64px;
  display: grid; gap: 2px; padding: 20px 22px; width: 280px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-md); backdrop-filter: blur(18px); color: var(--white);
  opacity: 0; transform: translateY(30px); transition: opacity 1.2s var(--ease-out) 1s, transform 1.2s var(--ease-out) 1s;
}
body.loaded .hero-pillars { opacity: 1; transform: none; }
.hero-pillars small { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 6px; }
.hero-pillars div { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-weight: 600; font-size: .92rem; border-top: 1px solid rgba(255,255,255,.08); }
.hero-pillars div:first-of-type { border-top: 0; }
.hero-pillars i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(228,192,99,.15); color: var(--gold); font-size: .78rem; }

.scroll-hint {
  position: absolute; z-index: 2; left: 50%; bottom: 24px; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 8px; color: rgba(255,255,255,.6); font-size: .66rem; letter-spacing: .25em; text-transform: uppercase;
}
.scroll-hint span { width: 1.5px; height: 40px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.scroll-hint span::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--white); animation: drip 2s var(--ease-out) infinite; }
@keyframes drip { to { top: 110%; } }

/* ============ Page hero (pages intérieures) ============ */
.page-hero {
  position: relative; min-height: 60vh; display: flex; align-items: flex-end;
  color: var(--white); overflow: hidden; background: var(--navy-950);
}
.page-hero .hero-bg img { animation-duration: 30s; }
.page-hero-content { position: relative; z-index: 2; padding: 150px 0 70px; }
.page-hero h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); margin: 16px 0 16px; max-width: 760px; }
.page-hero .lead { margin-bottom: 0; }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: .8rem; color: rgba(255,255,255,.6); margin-bottom: 22px; }
.breadcrumb i { font-size: .6rem; color: var(--gold); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--white); font-weight: 600; }

/* ============ Marquee ============ */
.marquee {
  background: linear-gradient(90deg, var(--gold-deep), var(--gold) 50%, var(--gold-deep));
  color: var(--navy-950); overflow: hidden; padding: 16px 0; position: relative; z-index: 3;
}
.marquee-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--font-display); font-size: clamp(1.1rem, 1.9vw, 1.5rem); font-weight: 600; white-space: nowrap; }
.marquee-item i { font-size: .75rem; opacity: .7; }
.marquee-item em { font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ Reveal on scroll ============ */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.from-left { transform: translateX(-46px); }
.reveal.from-right { transform: translateX(46px); }
.reveal.zoom { transform: scale(.93); }
.reveal.visible { opacity: 1; transform: none; }

/* ============ Collage + présentation ============ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.glow-corner { overflow: hidden; }
.glow-corner::before {
  content: ""; position: absolute; top: -200px; right: -200px; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(228,192,99,.16), transparent 65%); pointer-events: none;
}
.collage { position: relative; aspect-ratio: 1 / 1.05; }
.collage .img-main { position: absolute; inset: 0 18% 14% 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); }
.collage .img-second {
  position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 1 / 1.1; border-radius: var(--radius-lg); overflow: hidden;
  border: 7px solid var(--cream); box-shadow: var(--shadow-soft);
}
.bg-white .collage .img-second { border-color: var(--white); }
.collage img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); will-change: transform; }
.collage .img-second img { object-position: 30% center; }
.collage .ring {
  position: absolute; left: -36px; top: 40%; width: 110px; height: 110px; border-radius: 50%;
  border: 1.5px dashed var(--gold); animation: spin 30s linear infinite; z-index: -1;
}
.collage .badge {
  position: absolute; left: 6%; bottom: 4%; z-index: 2;
  display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 16px;
  background: var(--navy-900); color: var(--white); box-shadow: var(--shadow-soft);
  animation: float 6s ease-in-out infinite;
}
.collage .badge i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--navy-950); }
.collage .badge strong { display: block; font-family: var(--font-display); font-size: 1rem; }
.collage .badge small { color: rgba(255,255,255,.65); font-size: .76rem; }
@keyframes float { 50% { transform: translateY(-10px); } }

.text-block h2 { margin: 14px 0 12px; }
.text-block .sub { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--gold-text); margin: 0 0 14px; }
.text-block > p { color: var(--muted); margin: 0 0 26px; }
.on-dark .text-block > p { color: rgba(255,255,255,.72); }

.vm-card {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 22px 24px; margin-bottom: 14px;
  background: var(--white); border-radius: var(--radius-md); border: 1px solid rgba(23,26,44,.06);
  box-shadow: 0 10px 30px -18px rgba(5,11,38,.25);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), opacity 1.1s var(--ease-out) var(--d, 0s);
}
.vm-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.icon-box {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.15rem; flex: none;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-950)); color: var(--gold);
}
.vm-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.vm-card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ============ Cartes génériques ============ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  position: relative; padding: 30px 28px; border-radius: var(--radius-md); background: var(--white);
  border: 1px solid rgba(23,26,44,.06); box-shadow: 0 10px 30px -20px rgba(5,11,38,.3); overflow: hidden;
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), opacity 1.1s var(--ease-out) var(--d, 0s);
}
.bg-white .card { background: var(--cream); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); transform: scaleX(.2); transform-origin: left; transition: transform .7s var(--ease-out); }
.card:hover::before { transform: scaleX(1); }
.card .icon-box { margin-bottom: 18px; }
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: .94rem; }
.card-dark { background: rgba(255,255,255,.05) !important; border-color: rgba(228,192,99,.2); color: var(--white); box-shadow: none; backdrop-filter: blur(10px); }
.card-dark p { color: rgba(255,255,255,.7); }
.card-dark:hover { background: rgba(228,192,99,.08) !important; }

/* ============ Approche (3 métiers) ============ */
.approach-card {
  position: relative; padding: 32px 28px; border-radius: var(--radius-lg);
  background: var(--cream); border: 1px solid rgba(184,145,58,.18); overflow: hidden;
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), background .6s, color .6s, opacity 1.1s var(--ease-out) var(--d, 0s);
}
.bg-cream .approach-card { background: var(--white); }
.approach-card::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 170px; height: 170px; border-radius: 50%;
  background: radial-gradient(circle, rgba(228,192,99,.25), transparent 70%); transition: transform .8s var(--ease-out);
}
.approach-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-soft); background: var(--navy-900); color: var(--white); }
.approach-card:hover::after { transform: scale(2.2); }
.approach-card .num { font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--gold-text); font-weight: 600; transition: color .6s; }
.approach-card:hover .num { color: var(--gold); }
.approach-card h3 { font-size: 1.25rem; margin: 14px 0 10px; }
.tag {
  display: inline-block; padding: 4px 11px; border-radius: 6px; margin-bottom: 16px;
  background: var(--navy-900); color: var(--gold-light); font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  transition: background .6s, color .6s;
}
.approach-card:hover .tag { background: var(--gold); color: var(--navy-950); }
.diamond-list li { position: relative; padding: 7px 0 7px 20px; border-top: 1px solid rgba(23,26,44,.08); color: var(--muted); font-size: .94rem; transition: color .6s, border-color .6s; }
.diamond-list li::before { content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; transform: rotate(45deg); background: var(--gold); }
.approach-card:hover .diamond-list li { color: rgba(255,255,255,.8); border-color: rgba(255,255,255,.12); }
.on-dark .diamond-list li { color: rgba(255,255,255,.78); border-color: rgba(255,255,255,.1); }

/* ============ Chaîne d'impact ============ */
.chain { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.chain::before, .chain::after { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 34px; height: 2px; background: rgba(184,145,58,.2); }
.chain::after { background: linear-gradient(90deg, var(--gold-deep), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform 2s var(--ease-out) .3s; }
.chain.visible::after { transform: scaleX(1); }
.step { position: relative; z-index: 1; text-align: center; padding: 0 6px; }
.step-icon {
  width: 70px; height: 70px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); border: 2px solid var(--gold); color: var(--gold-text); font-size: 1.3rem;
  box-shadow: 0 0 0 8px var(--white); transition: background .5s, color .5s, transform .5s var(--ease-out);
}
.bg-cream .step-icon { background: var(--cream); box-shadow: 0 0 0 8px var(--cream); }
.step:hover .step-icon { background: var(--gold); color: var(--navy-950); transform: scale(1.08); }
.step small { display: block; font-size: .66rem; font-weight: 800; letter-spacing: .2em; color: var(--gold-text); margin-bottom: 4px; }
.step h4 { font-size: 1.08rem; margin: 0 0 6px; }
.step p { margin: 0; color: var(--muted); font-size: .9rem; }
.ambition {
  display: flex; align-items: center; gap: 20px; margin: 48px auto 0; max-width: 860px; padding: 22px 28px;
  border-radius: var(--radius-md); background: var(--navy-900); color: var(--white);
}
.ambition.glass { background: rgba(255,255,255,.06); border: 1px solid rgba(228,192,99,.25); }
.ambition i { font-size: 1.6rem; color: var(--gold); flex: none; }
.ambition p { margin: 0; font-family: var(--font-display); font-size: clamp(1rem, 1.5vw, 1.15rem); }
.ambition strong { color: var(--gold); font-weight: 600; }

/* ============ Axes (cartes photo) ============ */
.dark-section { background: var(--navy-950); color: var(--white); overflow: hidden; }
.dark-section::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: radial-gradient(rgba(228,192,99,.18) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
}
.dark-section .glow { position: absolute; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(circle, rgba(30,52,132,.55), transparent 65%); left: -250px; bottom: -300px; pointer-events: none; }

.dom-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.dom-card {
  position: relative; min-height: 380px; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; color: var(--white);
  transform-style: preserve-3d;
  transition: opacity 1.1s var(--ease-out) var(--d, 0s), transform .7s var(--ease-out), box-shadow .6s var(--ease-out);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.8);
}
.dom-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease-out), filter .8s; filter: saturate(.9); }
.dom-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(5,11,38,.35) 0%, rgba(5,11,38,0) 22%, rgba(5,11,38,.6) 52%, rgba(5,11,38,.97) 100%);
  transition: background .7s var(--ease-out);
}
.dom-card:hover > img { transform: scale(1.1); filter: saturate(1.1); }
.dom-card:hover::before { background: linear-gradient(180deg, rgba(5,11,38,.3) 0%, rgba(5,11,38,.7) 40%, rgba(5,11,38,.98) 100%); }
.dom-num { position: absolute; top: 20px; right: 24px; font-family: var(--font-display); font-size: 2.1rem; font-weight: 600; line-height: 1; color: var(--gold); text-shadow: 0 4px 18px rgba(0,0,0,.6); }
.dom-icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(10px);
  color: var(--gold); font-size: 1.05rem; transition: background .5s, color .5s;
}
.dom-card:hover .dom-icon { background: var(--gold); color: var(--navy-950); }
.dom-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.dom-card p { margin: 0; color: rgba(255,255,255,.82); font-size: .9rem; }
.dom-card .line-gold { position: absolute; left: 26px; right: 26px; bottom: 0; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease-out); }
.dom-card:hover .line-gold { transform: scaleX(1); }
.section-foot { margin-top: 44px; text-align: center; }

/* ============ Axes détaillés (zigzag) ============ */
.axis-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 70px); align-items: center; padding: 50px 0; border-top: 1px solid rgba(23,26,44,.08); }
.axis-row:first-child { border-top: 0; padding-top: 0; }
.axis-row:nth-child(even) .axis-media { order: 2; }
.axis-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-soft); }
.axis-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.axis-row:hover .axis-media img { transform: scale(1.06); }
.axis-media .dom-num { top: 18px; right: 20px; font-size: 2.6rem; }
.axis-text .axis-label { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.axis-text h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 10px; }
.axis-text > p { color: var(--muted); margin: 0 0 20px; }
.axis-text h4 { font-family: var(--font-body); font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); margin: 18px 0 8px; }
.axis-impact { margin: 0; font-weight: 600; }
.axis-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.axis-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: var(--cream); border: 1px solid rgba(184,145,58,.3); font-size: .86rem; font-weight: 700; color: var(--navy-900); transition: background .4s, color .4s, transform .4s var(--ease-out); }
.axis-nav a span { font-family: var(--font-display); color: var(--gold-text); transition: color .4s; }
.axis-nav a:hover { background: var(--navy-900); color: var(--white); transform: translateY(-2px); }
.axis-nav a:hover span { color: var(--gold); }
.axis-intro { padding-bottom: 30px; }
.axis-list { padding-top: 30px; }
.axis-initiatives { display: flex; flex-wrap: wrap; gap: 8px; }
.axis-initiatives span { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--navy-900); color: var(--white); font-size: .82rem; font-weight: 600; }
.axis-initiatives i { color: var(--gold); font-size: .75rem; }

/* ============ Programmes ============ */
.prog-card { text-align: center; padding: 34px 24px 30px; }
.prog-card h3 { font-family: var(--font-body); font-size: .82rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); }
.prog-icon {
  width: 74px; height: 74px; margin: 18px auto; border-radius: 50%; display: grid; place-items: center; font-size: 1.7rem;
  color: var(--navy-900); background: radial-gradient(circle at 30% 30%, var(--white), var(--sand));
  border: 1px solid rgba(184,145,58,.3); transition: transform .7s var(--ease-out), background .5s, color .5s;
}
.prog-card:hover .prog-icon { transform: rotateY(360deg); background: var(--navy-900); color: var(--gold); }
.prog-card p { color: var(--ink); font-weight: 500; }
.quote-line { margin: 44px auto 0; text-align: center; font-family: var(--font-display); font-style: italic; font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--navy-800); max-width: 760px; }
.on-dark .quote-line { color: var(--gold-light); }

/* ============ Feuille de route ============ */
.roadmap { background: linear-gradient(160deg, var(--navy-900), var(--navy-950) 70%); color: var(--white); overflow: hidden; }
.road { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
.road::before, .road::after { content: ""; position: absolute; left: 0; right: 0; top: 32px; height: 5px; border-radius: 6px; background: rgba(228,192,99,.15); }
.road::after { background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-light)); transform: scaleX(0); transform-origin: left; transition: transform 2.2s var(--ease-out) .2s; box-shadow: 0 0 24px rgba(228,192,99,.5); }
.road.visible::after { transform: scaleX(1); }
.milestone { position: relative; z-index: 1; text-align: center; }
.milestone .node {
  width: 68px; height: 68px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--navy-950);
  background: radial-gradient(circle at 35% 30%, var(--gold-light), var(--gold) 60%, var(--gold-deep));
  box-shadow: 0 0 0 8px rgba(228,192,99,.12), 0 0 40px rgba(228,192,99,.35);
  transform: scale(0); transition: transform .9s cubic-bezier(.34,1.56,.64,1);
}
.road.visible .milestone .node { transform: scale(1); }
.road.visible .milestone:nth-child(1) .node { transition-delay: .4s; }
.road.visible .milestone:nth-child(2) .node { transition-delay: 1.1s; }
.road.visible .milestone:nth-child(3) .node { transition-delay: 1.8s; }
.milestone .year { font-size: .74rem; font-weight: 800; letter-spacing: .25em; color: var(--gold); }
.milestone h3 { font-size: 1.55rem; margin: 4px 0 8px; }
.milestone p { margin: 0 auto; max-width: 290px; color: rgba(255,255,255,.72); font-size: .95rem; }
.milestone ul { margin: 16px auto 0; max-width: 290px; text-align: left; }

/* ============ Mise en avant (accueil) ============ */
.highlight {
  position: relative; display: flex; flex-direction: column; min-height: 280px; padding: 30px 28px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid rgba(23,26,44,.06); overflow: hidden; box-shadow: 0 10px 30px -20px rgba(5,11,38,.3);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), opacity 1.1s var(--ease-out) var(--d, 0s);
}
.highlight:hover { transform: translateY(-7px); box-shadow: var(--shadow-soft); }
.highlight .icon-box { margin-bottom: 20px; }
.highlight small { font-size: .7rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); }
.highlight h3 { font-size: 1.3rem; margin: 6px 0 10px; }
.highlight p { margin: 0 0 22px; color: var(--muted); font-size: .94rem; }
.highlight .link-arrow { margin-top: auto; }
.highlight.featured { background: linear-gradient(150deg, var(--navy-800), var(--navy-950)); color: var(--white); }
.highlight.featured p { color: rgba(255,255,255,.75); }
.highlight.featured small, .highlight.featured .link-arrow { color: var(--gold); }
.highlight.featured .icon-box { background: radial-gradient(circle at 35% 30%, var(--gold-light), var(--gold) 60%, var(--gold-deep)); color: var(--navy-950); }

/* ============ Transparence ============ */
.giaba {
  position: relative; padding: clamp(32px, 4.5vw, 50px); border-radius: var(--radius-lg); overflow: hidden; color: var(--white); text-align: center;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-950)); box-shadow: var(--shadow-soft);
}
.giaba::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(228,192,99,.35); border-radius: calc(var(--radius-lg) - 9px); pointer-events: none; }
.giaba::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.12), transparent); transform: skewX(-20deg);
  animation: shine 5s ease-in-out infinite 1s; pointer-events: none;
}
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.seal { width: 68px; height: 68px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; color: var(--navy-950); background: radial-gradient(circle at 35% 30%, var(--gold-light), var(--gold) 60%, var(--gold-deep)); }
.giaba .big { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; line-height: 1; color: var(--gold-light); }
.divider { width: 110px; height: 1px; margin: 18px auto; background: var(--gold); position: relative; }
.divider::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; background: var(--gold); transform: translate(-50%, -50%) rotate(45deg); }
.giaba p { margin: 0; color: rgba(255,255,255,.85); }
.giaba-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 26px; }
.giaba-pillars div { padding: 13px 8px; border-radius: 12px; background: rgba(255,255,255,.06); font-size: .78rem; }
.giaba-pillars i { display: block; color: var(--gold); font-size: 1.1rem; margin-bottom: 6px; }
.giaba-pillars strong { display: block; font-size: .86rem; }
.giaba-pillars span { color: rgba(255,255,255,.6); }

.gov-list li {
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center;
  padding: 16px 4px; border-top: 1px solid rgba(23,26,44,.08);
  transition: padding .5s var(--ease-out), background .5s, opacity 1.1s var(--ease-out) var(--d, 0s), transform 1.1s var(--ease-out) var(--d, 0s);
}
.gov-list li:last-child { border-bottom: 1px solid rgba(23,26,44,.08); }
.gov-list li:hover { padding-left: 12px; background: linear-gradient(90deg, rgba(228,192,99,.1), transparent); }
.gov-list .icon-box { width: 44px; height: 44px; border-radius: 12px; font-size: 1rem; }
.gov-list strong { display: block; font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; }
.gov-list span { color: var(--muted); font-size: .9rem; }
.gov-list em { font-style: normal; font-size: .64rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); border: 1px solid rgba(184,145,58,.4); padding: 4px 9px; border-radius: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chips span { padding: 7px 14px; border-radius: 999px; background: var(--cream); border: 1px solid rgba(184,145,58,.3); font-size: .8rem; font-weight: 700; color: var(--navy-800); }
.bg-cream .chips span { background: var(--white); }
.on-dark .chips span { background: rgba(255,255,255,.06); color: var(--gold-light); border-color: rgba(228,192,99,.3); }
.chips span::before { content: "+ "; color: var(--gold-text); }

.board {
  position: relative; padding: 34px 30px 28px; border-radius: var(--radius-lg); text-align: center;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-950)); color: var(--white); box-shadow: var(--shadow-soft);
}
.board .seal { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; }
.board h3 { font-size: 1.5rem; color: var(--gold-light); }
.board > p { margin: 4px 0 0; color: rgba(255,255,255,.7); }
.board .diamond-list { text-align: left; margin-top: 20px; }
.board .diamond-list li { color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.12); }
.board blockquote { margin: 20px 0 0; padding-top: 18px; border-top: 1px solid rgba(228,192,99,.25); font-family: var(--font-display); font-style: italic; color: var(--gold); }

.standards li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(23,26,44,.08); font-weight: 600; }
.standards li:first-child { border-top: 0; }
.standards i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(228,192,99,.18); color: var(--gold-text); font-size: .8rem; flex: none; }

/* Cycle MEAL */
.meal { position: relative; width: min(460px, 100%); aspect-ratio: 1; margin-inline: auto; }
.meal-ring { position: absolute; inset: 14%; border-radius: 50%; border: 2px dashed rgba(228,192,99,.45); animation: spin 40s linear infinite; }
.meal-center { position: absolute; inset: 36%; border-radius: 50%; display: grid; place-items: center; text-align: center; background: var(--navy-900); color: var(--gold); font-family: var(--font-display); font-size: clamp(1rem, 2.6vw, 1.4rem); font-weight: 700; line-height: 1.1; box-shadow: 0 0 0 10px rgba(228,192,99,.1); }
.meal-node {
  position: absolute; width: 31%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; align-content: center; gap: 4px; text-align: center; padding: 10px;
  background: var(--white); border: 2px solid var(--gold); box-shadow: var(--shadow-soft);
  transition: transform .5s var(--ease-out), background .5s, color .5s, opacity 1.1s var(--ease-out) var(--d, 0s);
}
.meal-node:hover { transform: scale(1.06) !important; background: var(--navy-900); color: var(--white); }
.meal-node i { color: var(--gold-text); font-size: 1.2rem; }
.meal-node strong { font-family: var(--font-display); font-size: clamp(.78rem, 1.6vw, .95rem); line-height: 1.15; }
.meal-node.n1 { top: 0; left: 34.5%; }
.meal-node.n2 { top: 34.5%; right: 0; }
.meal-node.n3 { bottom: 0; left: 34.5%; }
.meal-node.n4 { top: 34.5%; left: 0; }

/* ============ Bande appel à l'action ============ */
.band { position: relative; padding: clamp(90px, 12vw, 140px) 0; color: var(--white); overflow: hidden; isolation: isolate; }
.band-bg { position: absolute; inset: -25% 0; z-index: -2; will-change: transform; }
.band-bg img { width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(5,11,38,.95) 0%, rgba(5,11,38,.86) 45%, rgba(10,21,68,.58) 100%); }
.band-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(36px, 5vw, 70px); align-items: center; }
.band h2 { margin: 14px 0 16px; }
.band .lead { margin-bottom: 30px; }
.band.centered { text-align: center; }
.band.centered .lead { margin-inline: auto; }
.band.centered .actions { justify-content: center; }
.band h2 + .actions { margin-top: 30px; }
.verbs { display: grid; gap: 12px; }
.verb {
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding: 20px 22px;
  border-radius: var(--radius-md); background: rgba(255,255,255,.06); border: 1px solid rgba(228,192,99,.25); backdrop-filter: blur(14px);
  transition: transform .6s var(--ease-out), background .5s, border-color .5s, opacity 1.1s var(--ease-out) var(--d, 0s);
}
.verb:hover { transform: translateX(-6px); background: rgba(228,192,99,.12); border-color: var(--gold); }
.verb i { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold); font-size: 1.05rem; }
.verb strong { display: block; font-size: .82rem; font-weight: 800; letter-spacing: .18em; color: var(--gold); }
.verb span { color: rgba(255,255,255,.8); font-size: .9rem; }
.partners-line { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; color: rgba(255,255,255,.6); font-size: .84rem; }
.partners-line span { display: inline-flex; align-items: center; gap: 8px; }
.partners-line i { color: var(--gold); }

/* Partenaires : proposition de valeur */
.value-panel { padding: 34px 32px; border-radius: var(--radius-lg); height: 100%; }
.value-panel h3 { font-family: var(--font-body); font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 18px; }
.value-panel.light-panel { background: var(--white); border: 1px solid rgba(23,26,44,.06); box-shadow: 0 10px 30px -20px rgba(5,11,38,.3); }
.value-panel.light-panel .diamond-list li { font-size: 1rem; color: var(--ink); padding: 12px 0 12px 22px; }
.value-panel.dark-panel { background: linear-gradient(150deg, var(--navy-800), var(--navy-950)); color: var(--white); text-align: center; display: flex; flex-direction: column; justify-content: center; }
.value-panel.dark-panel h3 { color: var(--gold); }
.value-panel.dark-panel .network-icon { font-size: 3rem; color: var(--gold); margin-bottom: 14px; }
.value-panel.dark-panel strong { display: block; font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.1; }
.value-panel.dark-panel p { color: rgba(255,255,255,.7); margin: 8px 0 22px; }
.value-panel.dark-panel .chips { justify-content: center; }
.value-panel.dark-panel .chips span { background: rgba(255,255,255,.06); color: var(--gold-light); border-color: rgba(228,192,99,.35); }

/* ============ Carte & contact ============ */
.presence { background: var(--map-bg); color: var(--white); overflow: hidden; }
.map { position: relative; width: 100%; container-type: inline-size; }
.map img {
  width: 100%;
  mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent), linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
}
.pin { position: absolute; width: 0; height: 0; }
.pin::before, .pin::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 8cqw; height: 8cqw; margin: -4cqw 0 0 -4cqw; border-radius: 50%;
  border: 2px solid var(--gold); opacity: 0; animation: ping 2.8s var(--ease-out) infinite;
}
.pin::after { animation-delay: 1.4s; }
.pin.hq::before, .pin.hq::after { border-color: var(--gold-light); width: 10cqw; height: 10cqw; margin: -5cqw 0 0 -5cqw; }
@keyframes ping { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
.contact-list li { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; padding: 16px 0; border-top: 1px solid rgba(23,26,44,.08); }
.contact-list li:first-child { border-top: 0; }
.contact-list .icon-circle { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: rgba(228,192,99,.14); border: 1px solid rgba(228,192,99,.4); color: var(--gold-text); font-size: 1rem; }
.contact-list strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; margin-bottom: 2px; }
.contact-list span, .contact-list a { color: var(--muted); }
.contact-list a:hover { color: var(--gold-text); }
.on-dark .contact-list li { border-color: rgba(255,255,255,.1); }
.on-dark .contact-list .icon-circle { color: var(--gold); }
.on-dark .contact-list strong { color: var(--gold); }
.on-dark .contact-list span, .on-dark .contact-list a { color: rgba(255,255,255,.85); }
.on-dark .contact-list a:hover { color: var(--gold-light); }
.next-sites { margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(228,192,99,.3); }
.next-sites small { display: block; font-family: var(--font-display); font-size: 1.02rem; color: var(--gold); margin-bottom: 10px; }
.next-sites div { display: flex; flex-wrap: wrap; gap: 8px; }
.next-sites span { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.06); font-weight: 600; font-size: .9rem; }
.next-sites span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--copper); }
.next-sites span.hq::before { background: var(--gold); }

/* Formulaire */
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.form-card { padding: clamp(26px, 4vw, 42px); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-soft); border: 1px solid rgba(23,26,44,.05); }
.form-card h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: 6px; }
.form-card > p { color: var(--muted); margin: 0 0 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 700; color: var(--navy-900); }
.field label span { color: var(--copper-text); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1.5px solid rgba(23,26,44,.12); background: var(--cream);
  font: inherit; font-size: .95rem; color: var(--ink);
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 4px rgba(228,192,99,.2); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .8rem; }
.contact-form.is-sending { opacity: .75; }
.contact-form button[disabled] { cursor: wait; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.form-foot small { color: var(--muted); font-size: .8rem; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 12px; margin-bottom: 22px; font-weight: 600; font-size: .92rem; }
.alert i { margin-top: 3px; }
.alert-success { background: #e7f6ee; color: var(--success); border: 1px solid #b5e3c9; }
.alert-error { background: #fdecea; color: var(--danger); border: 1px solid #f6c2bd; }

/* ============ Footer ============ */
.footer { background: var(--navy-950); color: rgba(255,255,255,.65); padding: 70px 0 0; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 50px; }
.footer-brand p { margin: 18px 0 20px; max-width: 320px; }
.footer .brand img { width: 46px; height: 46px; }
.footer h3 { font-family: var(--font-body); font-size: .74rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer li { padding: 5px 0; }
.footer a { transition: color .3s; }
.footer a:hover { color: var(--gold-light); }
.footer-contact li { display: flex; gap: 10px; align-items: baseline; }
.footer-contact i { color: var(--gold); width: 16px; flex: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: .82rem; }
.footer-motto { font-family: var(--font-display); font-style: italic; color: var(--gold); }

/* ============ Sélecteur de langue ============ */
.nav-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.3); background: rgba(5,11,38,.35); backdrop-filter: blur(6px);
  color: var(--white); font-size: .8rem; font-weight: 800; letter-spacing: .08em;
  transition: border-color .3s, color .3s, background .3s;
}
.lang-switch i { color: var(--gold); font-size: .85rem; }
.lang-switch:hover { border-color: var(--gold); color: var(--gold-light); background: rgba(228,192,99,.08); }

/* ============ Bouton WhatsApp flottant ============ */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: var(--white); font-size: 1.9rem;
  box-shadow: 0 10px 30px -8px rgba(37,211,102,.6);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.whatsapp-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366;
  animation: wa-pulse 2.6s var(--ease-out) infinite;
}
.whatsapp-float:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 16px 36px -8px rgba(37,211,102,.7); }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.whatsapp-tooltip {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(8px, -50%);
  white-space: nowrap; padding: 8px 14px; border-radius: 10px; background: var(--navy-950); color: var(--white);
  font-family: var(--font-body); font-size: .82rem; font-weight: 600;
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease-out);
}
.whatsapp-float:hover .whatsapp-tooltip, .whatsapp-float:focus-visible .whatsapp-tooltip { opacity: 1; transform: translate(0, -50%); }
.wa-inline { color: #1da851 !important; margin-left: 4px; }

/* ============ Bannière d'installation de l'application ============ */
.install-banner {
  position: fixed; left: 50%; bottom: 22px; z-index: 95; width: min(560px, calc(100% - 32px));
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center;
  padding: 16px 44px 16px 16px; border-radius: var(--radius-md);
  background: rgba(5,11,38,.96); color: var(--white); border: 1px solid rgba(228,192,99,.3);
  box-shadow: 0 24px 60px -16px rgba(0,0,0,.6); backdrop-filter: blur(14px);
  transform: translate(-50%, 140%); opacity: 0;
  transition: transform .6s var(--ease-out), opacity .6s var(--ease-out);
}
.install-banner.visible { transform: translate(-50%, 0); opacity: 1; }
.install-banner img { width: 52px; height: 52px; border-radius: 14px; }
.install-text strong { display: block; font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; }
.install-text span { display: block; color: rgba(255,255,255,.72); font-size: .85rem; line-height: 1.45; }
.install-text i { color: var(--gold); margin: 0 2px; }
.install-ios { display: none !important; }
.install-banner.is-ios .install-ios { display: block !important; }
.install-banner.is-ios .install-default, .install-banner.is-ios .install-accept { display: none; }
.install-actions { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
.install-accept { padding: 10px 20px; font-size: .85rem; justify-content: center; }
.install-dismiss { background: none; border: 0; color: rgba(255,255,255,.6); font: inherit; font-size: .78rem; font-weight: 600; cursor: pointer; padding: 4px; }
.install-dismiss:hover { color: var(--white); }
.install-banner.is-ios .install-dismiss { color: var(--gold-light); }
.install-close { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255,255,255,.08); color: var(--white); cursor: pointer; }
.install-close:hover { background: rgba(255,255,255,.18); }
.whatsapp-float { transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), bottom .5s var(--ease-out); }
body.has-install-banner .whatsapp-float { bottom: 140px; }

/* ============ Mot du Président ============ */
.welcome-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.welcome-photo { position: relative; margin: 0; max-width: 440px; justify-self: center; width: 100%; }
.welcome-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-soft); background: var(--sand);
}
.welcome-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.welcome-photo::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1; border-radius: var(--radius-lg);
  border: 1.5px solid var(--gold); opacity: .8;
}
.welcome-photo::after {
  content: "\201C"; position: absolute; top: -34px; right: -14px; z-index: 2;
  font-family: var(--font-display); font-size: 9rem; line-height: 1; color: var(--gold);
  text-shadow: 0 10px 30px rgba(5,11,38,.25);
}
.welcome-badge {
  position: absolute; left: -22px; bottom: 34px; z-index: 2; padding: 16px 22px; border-radius: 16px;
  background: var(--navy-900); color: var(--white); box-shadow: var(--shadow-soft); max-width: 82%;
}
.welcome-badge strong { display: block; font-family: var(--font-display); font-size: 1.1rem; letter-spacing: .02em; }
.welcome-badge span { color: var(--gold-light); font-size: .8rem; font-weight: 600; }
.welcome-text h2 { margin: 14px 0 18px; }
.welcome-text > p { color: var(--muted); margin: 0 0 14px; }
.welcome-text .welcome-hello { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--navy-900); }
.welcome-quote {
  margin: 24px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--gold);
  font-family: var(--font-display); font-style: italic; font-size: clamp(1.1rem, 1.8vw, 1.35rem); color: var(--navy-800);
}
.welcome-sign { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.welcome-sign-line { width: 46px; height: 2px; background: var(--gold); }
.welcome-sign strong { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--navy-900); }
.welcome-sign span { color: var(--gold-text); font-size: .85rem; font-weight: 700; letter-spacing: .04em; }

/* ============ Qui sommes-nous / missions ============ */
.about-intro { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.55; color: var(--navy-900) !important; }
.on-dark .mission-card { background: rgba(255,255,255,.05); border-color: rgba(228,192,99,.28); color: var(--white); backdrop-filter: blur(10px); }
.on-dark .mission-card .num { color: var(--gold); }
.on-dark .mission-card:hover { background: rgba(228,192,99,.1); }
.mission-card p { margin: 0; color: rgba(255,255,255,.75); font-size: .95rem; }
.values-title { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin: 64px 0 24px; text-align: center; }
.values-title::after { content: ""; display: block; width: 60px; height: 2px; margin: 14px auto 0; background: var(--gold); }

/* Page Missions */
.vision-statement {
  font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.3; font-weight: 600;
  color: var(--navy-900) !important; margin: 16px 0 22px !important;
}
.mission-index { display: grid; gap: 8px; margin-top: 8px; }
.mission-index a {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 12px; background: var(--white);
  border: 1px solid rgba(184,145,58,.22); font-weight: 700; color: var(--navy-900);
  transition: transform .4s var(--ease-out), border-color .3s, box-shadow .4s;
}
.mission-index a:hover { transform: translateX(6px); border-color: var(--gold); box-shadow: 0 10px 24px -16px rgba(5,11,38,.35); }
.mission-index span { font-family: var(--font-display); color: var(--gold-text); }
.mission-index i { margin-left: auto; color: var(--gold-deep); font-size: .8rem; }
.mission-head { display: flex; justify-content: space-between; align-items: center; }
.mission-light p { margin: 0; color: var(--muted); transition: color .6s; }
.mission-light:hover p { color: rgba(255,255,255,.8); }
.mission-light .icon-box { transition: background .6s, color .6s; }
.mission-light:hover .icon-box { background: var(--gold); color: var(--navy-950); }
[id^="mission-"] { scroll-margin-top: 110px; }

/* Partenariat (page Contact) */
.partner-details { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); margin-top: 56px; }
.partner-details .subheading { color: var(--white); margin-top: 0; }
.partner-details .diamond-list li { color: rgba(255,255,255,.82); }
.partner-types { display: grid; gap: 12px; }
.partner-types li { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(228,192,99,.2); }
.partner-types i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: rgba(228,192,99,.14); color: var(--gold); }
.partner-types strong { display: block; color: var(--white); font-family: var(--font-display); font-weight: 600; }
.partner-types span { color: rgba(255,255,255,.7); font-size: .9rem; }
/* Ordinateur : la carte d'appel se place sous la liste (colonne gauche). Mobile : après « Avec qui nous travaillons » */
.partner-details { row-gap: 24px; }
.partner-types-col { grid-column: 2; grid-row: 1 / span 2; }
.partner-cta {
  grid-column: 1; grid-row: 2; align-self: end;
  padding: 20px 22px; border-radius: 14px;
  display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: start;
  background: radial-gradient(circle at 100% 0%, rgba(228,192,99,.2), transparent 55%), linear-gradient(150deg, var(--navy-800), var(--navy-950));
  border: 1px solid rgba(228,192,99,.45);
}
.partner-cta > i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--gold); color: var(--navy-950); }
.partner-cta h4 { margin: 0 0 4px; color: var(--white); font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; }
.partner-cta p { margin: 0; color: rgba(255,255,255,.72); font-size: .9rem; }
.partner-cta .btn { grid-column: 2; justify-self: start; margin-top: 10px; }
@media (max-width: 900px) {
  .partner-details { row-gap: clamp(30px, 5vw, 70px); }
  .partner-types-col, .partner-cta { grid-column: auto; grid-row: auto; }
}
@media (max-width: 640px) { .partner-cta .btn { grid-column: 1 / -1; justify-self: stretch; justify-content: center; } }

/* Carte « plan stratégique » à la suite des domaines */
.dom-card-cta {
  justify-content: center; background: radial-gradient(circle at 100% 0%, rgba(228,192,99,.22), transparent 55%), linear-gradient(150deg, var(--navy-800), var(--navy-950));
  border: 1px solid rgba(228,192,99,.45);
}
.dom-card-cta::before { display: none; }
.dom-card-cta .dom-icon { background: var(--gold); color: var(--navy-950); }
.dom-card-cta .link-arrow { margin-top: 18px; color: var(--gold); }

/* ============ Actualités ============ */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card, .news-featured {
  display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-md); background: var(--white);
  border: 1px solid rgba(23,26,44,.06); box-shadow: 0 10px 30px -20px rgba(5,11,38,.3);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), opacity 1.1s var(--ease-out) var(--d, 0s);
}
.news-card:hover, .news-featured:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.news-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.news-card:hover .news-media img, .news-featured:hover .news-media img { transform: scale(1.06); }
.news-category {
  position: absolute; left: 14px; top: 14px; padding: 5px 12px; border-radius: 999px;
  background: rgba(5,11,38,.85); color: var(--gold-light); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.news-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.news-body time { font-size: .8rem; font-weight: 700; color: var(--gold-text); margin-bottom: 8px; }
.news-body time i { margin-right: 4px; }
.news-body h3 { font-size: 1.18rem; line-height: 1.3; margin-bottom: 10px; }
.news-body p { color: var(--muted); font-size: .93rem; margin: 0 0 18px; }
.news-body .link-arrow { margin-top: auto; }
.news-featured { display: grid; grid-template-columns: 1.15fr 1fr; margin-bottom: 30px; }
.news-featured .news-media { aspect-ratio: auto; min-height: 340px; }
.news-featured .news-body { justify-content: center; padding: clamp(28px, 4vw, 48px); }
.news-featured h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 14px; }
.news-featured .btn { align-self: flex-start; margin-top: 8px; }
.news-empty { text-align: center; color: var(--muted); padding: 40px 0; font-size: 1.05rem; }
.news-empty i { color: var(--gold-text); margin-right: 8px; }

/* ============ Albums photo ============ */
.album-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.album-list-main { grid-auto-flow: dense; }
.album-card {
  position: relative; display: block; overflow: hidden; isolation: isolate; border-radius: var(--radius-md);
  aspect-ratio: 4 / 3.2; background: var(--navy-900); color: var(--white);
  box-shadow: 0 18px 40px -24px rgba(5,11,38,.55);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), opacity 1.1s var(--ease-out) var(--d, 0s);
}
.album-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.3s var(--ease-out); }
.album-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,11,38,0) 35%, rgba(5,11,38,.55) 65%, rgba(5,11,38,.95) 100%); }
.album-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.album-card:hover > img { transform: scale(1.07); }
.album-featured { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; min-height: 460px; }
.album-count {
  position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px;
  background: rgba(5,11,38,.7); backdrop-filter: blur(6px); font-size: .76rem; font-weight: 700; color: var(--white);
}
.album-count i { color: var(--gold); }
.album-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 22px 20px; }
.album-category { display: inline-block; margin-bottom: 8px; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.album-info h3 { font-size: 1.2rem; line-height: 1.25; margin: 0 0 8px; }
.album-featured .album-info { padding: 32px; }
.album-featured .album-info h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.album-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; font-size: .8rem; color: rgba(255,255,255,.78); }
.album-meta i { color: var(--gold); margin-right: 5px; }
.album-summary { margin: 12px 0 0; max-width: 560px; color: rgba(255,255,255,.82); font-size: .95rem; }
.album-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.album-filters button {
  padding: 9px 18px; border-radius: 999px; border: 1px solid rgba(184,145,58,.35); background: var(--white); cursor: pointer;
  font: inherit; font-size: .86rem; font-weight: 700; color: var(--navy-900); transition: background .3s, color .3s, border-color .3s;
}
.album-filters button:hover { border-color: var(--gold); }
.album-filters button.is-active { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }
.album-card.is-filtered-out { display: none; }

/* Page d'un album */
.album-hero { min-height: 58vh; }
.album-hero h1 { max-width: 900px; }
.album-hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; color: rgba(255,255,255,.82); font-weight: 600; }
.album-hero-meta i { color: var(--gold); margin-right: 6px; }
.album-section { padding-top: clamp(50px, 6vw, 80px); }
.album-intro { display: flex; justify-content: space-between; align-items: center; gap: 24px 40px; flex-wrap: wrap; margin-bottom: 36px; }
.album-intro p { flex: 1 1 520px; max-width: 760px; margin: 0; font-family: var(--font-display); font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.55; color: var(--navy-900); }
.album-grid { columns: 3 280px; column-gap: 16px; }
.album-photo { break-inside: avoid; margin: 0 0 16px; transition: opacity 1.1s var(--ease-out) var(--d, 0s), transform 1.1s var(--ease-out) var(--d, 0s); }
.album-photo a { position: relative; display: block; overflow: hidden; border-radius: 14px; cursor: zoom-in; background: var(--sand); }
.album-photo img { width: 100%; height: auto; transition: transform 1s var(--ease-out), filter .6s; }
.album-photo a:hover img { transform: scale(1.04); filter: brightness(.88); }
.album-zoom {
  position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--navy-900); opacity: 0; transform: scale(.8); transition: opacity .3s, transform .4s var(--ease-out);
}
.album-photo a:hover .album-zoom, .album-photo a:focus-visible .album-zoom { opacity: 1; transform: none; }
.album-photo figcaption { padding: 8px 4px 0; font-size: .85rem; color: var(--muted); }

/* Visionneuse plein écran */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: grid; grid-template-rows: auto 1fr auto; background: rgba(3,7,24,.985); backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; color: rgba(255,255,255,.75); font-weight: 700; font-size: .9rem; }
.lightbox-stage { position: relative; display: grid; place-items: center; min-height: 0; overflow: hidden; padding: 0 70px; touch-action: pan-y; }
.lightbox-stage img { max-width: 100%; max-height: calc(100svh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 6px; box-shadow: 0 30px 80px rgba(0,0,0,.5); transition: opacity .25s; user-select: none; -webkit-user-drag: none; }
.lightbox-stage img.is-loading { opacity: 0; }
.lightbox-caption { min-height: 56px; padding: 14px 20px 22px; text-align: center; color: rgba(255,255,255,.85); font-size: .95rem; }
.lightbox button { border: 0; cursor: pointer; color: var(--white); background: rgba(255,255,255,.1); transition: background .3s; }
.lightbox button:hover { background: rgba(228,192,99,.35); }
.lightbox-close { width: 44px; height: 44px; border-radius: 50%; font-size: 1.2rem; }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; font-size: 1.1rem; }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }
body.lightbox-open { overflow: hidden; }

/* Article */
.article-hero { min-height: 62vh; }
.article-hero h1 { max-width: 900px; }
.article-hero .lead i { color: var(--gold); margin-right: 6px; }
.article-layout { max-width: 820px; }
.article-summary { font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.5; color: var(--navy-900); margin: 0 0 30px; }
.article-figure { margin: 0 0 34px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); }
.article-figure img { width: 100%; max-height: 520px; object-fit: cover; }
.article-body p { font-size: 1.05rem; line-height: 1.8; color: #3b4054; margin: 0 0 20px; }
.article-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(23,26,44,.1); }
.article-share { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .85rem; font-weight: 700; }
.article-share a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--cream); color: var(--navy-900); transition: background .3s, color .3s, transform .3s var(--ease-out); }
.article-share a:hover { background: var(--navy-900); color: var(--gold); transform: translateY(-2px); }

/* ============ Notification (toast) en haut de l'écran ============ */
.toast {
  position: fixed; top: 92px; left: 50%; z-index: 200; width: min(460px, calc(100% - 32px));
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: start;
  padding: 16px 16px 18px 18px; border-radius: 14px; overflow: hidden;
  background: var(--white); color: var(--ink); box-shadow: 0 24px 60px -18px rgba(5,11,38,.45);
  border-left: 5px solid var(--success);
  transform: translateX(-50%);
  animation: toast-in .45s var(--ease-out) both;
}
.toast-error { border-left-color: var(--danger); }
.toast-icon { font-size: 1.45rem; margin-top: 1px; color: var(--success); }
.toast-error .toast-icon { color: var(--danger); }
.toast-text strong { display: block; font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--navy-950); }
.toast-text span { display: block; font-size: .88rem; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.toast-close { width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--cream); color: var(--muted); cursor: pointer; }
.toast-close:hover { background: var(--sand); color: var(--ink); }
.toast-progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--success); transform-origin: left; animation: toast-progress 3s linear forwards; }
.toast-error .toast-progress { background: var(--danger); }
.toast.is-paused .toast-progress { animation-play-state: paused; }
.toast.is-hiding { animation: toast-out .35s var(--ease-out) forwards; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, -130%); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes toast-progress { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@keyframes toast-out { to { opacity: 0; transform: translate(-50%, -130%); visibility: hidden; } }

/* ============ Page 404 ============ */
.not-found { min-height: 100svh; align-items: center; }
.not-found .page-hero-content { padding: 140px 0 90px; }
.not-found .actions { margin-top: 30px; }
.not-found-links { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 36px; }

/* ============ Responsive ============ */
@media (max-width: 1240px) {
  .burger { display: grid; place-items: center; }
  .nav-cta { display: none; }
  .brand, .nav-actions { position: relative; z-index: 3; }
  /* Le flou de la barre crée un repère qui enfermerait le panneau : on le retire quand le menu est ouvert */
  .nav.open { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; box-shadow: none; }

  /* Voile sur la page */
  .nav-overlay {
    display: block; position: fixed; inset: 0; z-index: 1;
    background: rgba(5,11,38,.55); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
    opacity: 0; visibility: hidden; transition: opacity .5s var(--ease-out), visibility .5s;
  }
  .nav.open .nav-overlay { opacity: 1; visibility: visible; }

  /* Panneau latéral (s'ouvre depuis la gauche) */
  .nav-panel {
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 2; width: min(400px, 88vw);
    display: flex; flex-direction: column; align-items: stretch; overflow-y: auto;
    padding: 96px 30px 30px;
    background:
      radial-gradient(circle at 0% 0%, rgba(228,192,99,.14), transparent 45%),
      radial-gradient(circle at 100% 100%, rgba(30,52,132,.5), transparent 55%),
      linear-gradient(180deg, var(--navy-900), var(--navy-950));
    border-right: 1px solid rgba(228,192,99,.25);
    box-shadow: 30px 0 80px -20px rgba(0,0,0,.7);
    transform: translateX(-102%); visibility: hidden;
    transition: transform .65s var(--ease-out), visibility .65s;
  }
  .nav.open .nav-panel { transform: none; visibility: visible; }
  .nav-panel::before {
    content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 3px;
    background: linear-gradient(180deg, transparent, var(--gold), transparent); opacity: .7;
  }
  /* Boutons langue + fermer, en haut à droite du panneau (le logo du site reste en haut à gauche) */
  .nav-panel-tools { display: flex; align-items: center; gap: 10px; position: absolute; top: 22px; right: 22px; }
  .nav-close {
    width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
    border: 1px solid rgba(228,192,99,.4); background: rgba(255,255,255,.06); color: var(--white); font-size: 1.15rem;
    transition: background .3s, transform .5s var(--ease-out);
  }
  .nav-close:hover { background: rgba(228,192,99,.15); transform: rotate(90deg); }
  /* Pendant l'ouverture, les boutons de la barre laissent la place à ceux du panneau */
  .nav-actions { transition: opacity .3s; }
  .nav.open .nav-actions { opacity: 0; pointer-events: none; }

  .nav-panel-label {
    display: flex; align-items: center; gap: 10px; margin-bottom: 18px;
    font-size: .7rem; font-weight: 800; letter-spacing: .28em; text-transform: uppercase; color: var(--gold);
  }
  .nav-panel-label::after { content: ""; flex: 1; height: 1px; background: rgba(228,192,99,.25); }

  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links li { border-bottom: 1px solid rgba(255,255,255,.07); opacity: 0; transform: translateX(-30px); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
  .nav.open .nav-links li { opacity: 1; transform: none; }
  .nav.open .nav-links li:nth-child(1) { transition-delay: .12s; }
  .nav.open .nav-links li:nth-child(2) { transition-delay: .17s; }
  .nav.open .nav-links li:nth-child(3) { transition-delay: .22s; }
  .nav.open .nav-links li:nth-child(4) { transition-delay: .27s; }
  .nav.open .nav-links li:nth-child(5) { transition-delay: .32s; }
  .nav.open .nav-links li:nth-child(6) { transition-delay: .37s; }
  .nav-links a:not(.btn) {
    display: flex; align-items: center; gap: 16px; padding: 15px 4px;
    font-family: var(--font-display); font-size: 1.32rem; font-weight: 600; color: rgba(255,255,255,.85);
    white-space: normal;
  }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-num { display: inline-block; min-width: 24px; font-family: var(--font-body); font-size: .72rem; font-weight: 800; letter-spacing: .08em; color: rgba(228,192,99,.6); }
  .nav-text { flex: 1; }
  .nav-arrow { display: inline-block; font-size: .8rem; color: var(--gold); opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .4s var(--ease-out); }
  .nav-links a:not(.btn):hover { color: var(--white); padding-left: 10px; }
  .nav-links a:not(.btn):hover .nav-arrow, .nav-links a.active .nav-arrow { opacity: 1; transform: none; }
  .nav-links a.active { color: var(--gold-light); }
  .nav-links a.active .nav-num { color: var(--gold); }
  .nav-links a:not(.btn) { transition: color .3s, padding .4s var(--ease-out); }

  .nav-panel-footer {
    display: grid; gap: 22px; margin-top: auto; padding-top: 30px;
    opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease-out) .4s, transform .6s var(--ease-out) .4s;
  }
  .nav.open .nav-panel-footer { opacity: 1; transform: none; }
  .nav-panel-footer .btn { justify-content: center; }
  .nav-panel-contact { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); }
  .nav-panel-contact a { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.75); font-size: .88rem; transition: color .3s; }
  .nav-panel-contact a:hover { color: var(--gold-light); }
  .nav-panel-contact i { width: 18px; color: var(--gold); text-align: center; }
}
/* Grilles : 2 colonnes sur tablette */
@media (max-width: 1100px) {
  .dom-grid, .grid-4, .news-grid, .album-list { grid-template-columns: repeat(2, 1fr); }
  .hero-pillars { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .welcome-grid, .news-featured, .partner-details { grid-template-columns: 1fr; }
  .welcome-photo { max-width: 360px; }
  .news-featured .news-media { min-height: 0; aspect-ratio: 16 / 10; }
  .split, .band-grid, .contact-layout, .axis-row, .grid-2 { grid-template-columns: 1fr; }
  .split.reverse > :first-child, .axis-row:nth-child(even) .axis-media { order: 0; }
  .collage { max-width: 500px; width: 100%; margin-inline: auto; }
  .grid-3 { grid-template-columns: 1fr; }
  .chain { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .chain::before, .chain::after { display: none; }
  .map { max-width: 540px; margin-inline: auto; }
  .page-hero { min-height: 52vh; }
  /* Bandeaux plus hauts sur mobile : voile uniforme pour garder le texte lisible */
  .band::before { background: linear-gradient(180deg, rgba(5,11,38,.93) 0%, rgba(5,11,38,.84) 50%, rgba(5,11,38,.93) 100%); }
}
@media (max-width: 640px) {
  .dom-grid, .grid-4 { grid-template-columns: 1fr; }
  .dom-card { min-height: 300px; padding: 22px; }
  .news-grid, .album-list { grid-template-columns: 1fr; gap: 16px; }
  .album-featured { grid-column: auto; grid-row: auto; min-height: 0; aspect-ratio: 4 / 3.6; }
  .album-featured .album-info { padding: 22px; }
  .album-summary { display: none; }
  .album-grid { columns: 2 140px; column-gap: 10px; }
  .album-photo { margin-bottom: 10px; }
  .lightbox-stage { padding: 0 8px; }
  .lightbox-prev, .lightbox-next { width: 44px; height: 44px; background: rgba(0,0,0,.45); }
  .welcome-badge { left: 12px; bottom: 16px; }
  .welcome-photo::before { inset: 12px -10px -12px 12px; }
  .welcome-photo::after { font-size: 6rem; top: -24px; right: -4px; }
  .actions .btn { flex: 1 1 100%; justify-content: center; }
  /* Cartes plus compactes : icône à côté du titre */
  .grid-2, .grid-3, .grid-4, .dom-grid { gap: 14px; }
  .card:not(.prog-card) { padding: 20px; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: start; }
  .card:not(.prog-card) .icon-box { grid-row: span 2; margin-bottom: 0; width: 46px; height: 46px; font-size: 1rem; }
  .card:not(.prog-card) h3 { margin: 2px 0 4px; }
  .approach-card { padding: 26px 22px; }
  .approach-card .num { font-size: 2.4rem; }
  .section-head { margin-bottom: 32px; gap: 14px; }
  .highlight { min-height: 0; padding: 24px 22px; }
  .collage .ring, .scroll-hint { display: none; }
  .chain { grid-template-columns: 1fr; }
  .ambition { flex-direction: column; text-align: center; }
  .road { grid-template-columns: 1fr; gap: 40px; }
  .road::before, .road::after { left: 32px; right: auto; top: 0; bottom: 0; width: 4px; height: auto; }
  .road::after { transform: scaleY(0); transform-origin: top; }
  .road.visible::after { transform: scaleY(1); }
  .milestone { display: grid; grid-template-columns: 70px 1fr; gap: 0 18px; text-align: left; align-items: start; }
  .milestone .node { margin: 0; grid-row: span 4; }
  .milestone p, .milestone ul { margin: 0; }
  .giaba-pillars { grid-template-columns: 1fr; }
  .gov-list li { grid-template-columns: auto 1fr; }
  .gov-list em { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .whatsapp-float { width: 52px; height: 52px; right: 16px; bottom: 16px; font-size: 1.7rem; }
  .whatsapp-tooltip { display: none; }
  .install-banner { bottom: 12px; grid-template-columns: auto 1fr; padding: 14px 40px 14px 14px; gap: 12px; }
  .install-banner img { width: 44px; height: 44px; }
  .install-actions { grid-column: 1 / -1; flex-direction: row; justify-content: flex-end; align-items: center; gap: 10px; }
  body.has-install-banner .whatsapp-float { bottom: 190px; }
  .lang-switch { padding: 7px 11px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .footer-brand, .footer-grid > div:last-child { grid-column: 1 / -1; }
}
@media (hover: none) {
  .dom-card::before { background: linear-gradient(180deg, rgba(5,11,38,.3) 0%, rgba(5,11,38,.15) 25%, rgba(5,11,38,.75) 55%, rgba(5,11,38,.98) 100%); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal, .fade-up, .hero-pillars { opacity: 1 !important; transform: none !important; }
  .hero h1 .line > span, .milestone .node { transform: none !important; }
  .chain::after, .road::after { transform: none !important; }
}

/* Page Contact : sur écran étroit, garder la main tendue dans le cadre */
.page-contact .page-hero .hero-bg img { object-position: 70% center; }

/* Album mis en avant : dégradé plus sombre pour la lisibilité ; pleine largeur s'il est seul */
.album-featured::before { background: linear-gradient(180deg, rgba(5,11,38,.05) 0%, rgba(5,11,38,.45) 35%, rgba(5,11,38,.88) 70%, rgba(5,11,38,.97) 100%); }
.album-list-main .album-featured:only-child { grid-column: 1 / -1; min-height: 540px; }
.album-featured .album-info h3 { max-width: 900px; text-shadow: 0 2px 18px rgba(0,0,0,.45); }

/* Textes saisis dans l'administration : coupure des mots trop longs, résumés limités sur les cartes */
.album-info, .album-intro, .album-hero h1, .album-photo figcaption, .lightbox-caption, .breadcrumb span { overflow-wrap: anywhere; min-width: 0; }
.album-intro p { min-width: 0; }
.album-info h3 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.album-summary { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.album-hero h1 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }

/* Carte GIABA : titre en toutes lettres (plus long qu'un sigle) */
.giaba .big.big-text { font-size: clamp(1.45rem, 2.4vw, 1.95rem); line-height: 1.2; max-width: 420px; margin-inline: auto; }
.giaba-tag { margin-top: 12px; font-size: .74rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }

/* ============ Grands projets & initiatives ============ */
.project-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project-card {
  position: relative; display: flex; flex-direction: column; padding: 26px 24px 22px; border-radius: var(--radius-lg);
  background: rgba(255,255,255,.05); border: 1px solid rgba(228,192,99,.2); backdrop-filter: blur(10px);
  transition: transform .6s var(--ease-out), background .5s, border-color .5s, box-shadow .6s var(--ease-out), opacity 1.1s var(--ease-out) var(--d, 0s);
}
.project-card:hover { transform: translateY(-6px); background: rgba(228,192,99,.08); border-color: rgba(228,192,99,.5); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.project-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.project-icon { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 14px; background: rgba(228,192,99,.14); color: var(--gold); font-size: 1.15rem; transition: background .5s, color .5s; }
.project-card:hover .project-icon { background: var(--gold); color: var(--navy-950); }
.project-code { font-size: .7rem; font-weight: 800; letter-spacing: .16em; color: rgba(255,255,255,.55); }
.project-acronym { font-family: var(--font-display); font-size: 1.55rem; font-weight: 700; color: var(--gold); line-height: 1; }
.project-card h3 { font-size: 1.05rem; line-height: 1.35; margin: 10px 0 10px; color: var(--white); }
.project-horizon { margin: 0 0 12px; font-size: .8rem; font-weight: 700; color: var(--gold-light); }
.project-horizon i { margin-right: 6px; color: var(--gold); }
.project-mission { margin: 0 0 18px; font-size: .9rem; color: rgba(255,255,255,.72); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.project-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: auto 0 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); }
.project-kpis strong { display: block; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; color: var(--gold); }
.project-kpis span { display: block; font-size: .76rem; line-height: 1.35; color: rgba(255,255,255,.7); }
.project-more { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; font-size: .88rem; font-weight: 700; color: var(--gold); }
.project-more i { transition: transform .4s var(--ease-out); }
.project-more:hover i { transform: translateX(5px); }
.project-more::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* toute la carte est cliquable */
[id^="prj-"] { scroll-margin-top: 100px; }

/* Fenêtre de détail d'un projet */
.project-modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; background: rgba(3,7,24,.75); backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s; }
.project-modal.is-open { opacity: 1; }
.project-modal-box {
  position: relative; width: min(720px, 100%); max-height: calc(100svh - 40px); overflow-y: auto; border-radius: var(--radius-lg);
  background: var(--white); color: var(--ink); padding: 26px clamp(22px, 4vw, 40px) 34px; box-shadow: 0 40px 100px -20px rgba(0,0,0,.6);
  transform: translateY(20px); transition: transform .4s var(--ease-out);
}
.project-modal.is-open .project-modal-box { transform: none; }
.project-modal-nav { display: flex; align-items: center; gap: 8px; justify-content: flex-end; margin-bottom: 8px; }
.project-modal-nav button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--cream); color: var(--navy-900); cursor: pointer; transition: background .3s, color .3s; }
.project-modal-nav button:hover { background: var(--navy-900); color: var(--gold); }
.pm-count { font-size: .8rem; font-weight: 700; color: var(--muted); margin: 0 6px; }
.pm-close { margin-left: 8px; }
.project-modal-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.project-modal-head .project-icon { background: var(--navy-900); }
.project-modal-head .project-code { color: var(--gold-text); }
.project-modal-head h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-top: 4px; color: var(--navy-950); }
.project-modal-body { margin: 0; display: grid; gap: 4px; }
.project-modal-body dt { font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); margin-top: 12px; }
.project-modal-body dd { margin: 0; color: #3b4054; line-height: 1.65; }
.project-modal-content h4 { font-family: var(--font-body); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); margin: 24px 0 12px; }
.project-modal-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 26px; }
.project-modal-kpis li { padding: 16px 14px; border-radius: 14px; background: var(--cream); border: 1px solid rgba(184,145,58,.22); }
.project-modal-kpis strong { display: block; font-family: var(--font-display); font-size: 1.7rem; line-height: 1.1; color: var(--navy-900); }
.project-modal-kpis span { display: block; margin-top: 4px; font-size: .82rem; line-height: 1.4; color: var(--muted); }
body.modal-open { overflow: hidden; }

@media (max-width: 1100px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .project-grid { grid-template-columns: 1fr; gap: 14px; }
  .project-modal { padding: 0; place-items: end center; }
  .project-modal-box { max-height: 92svh; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .project-modal-kpis { grid-template-columns: 1fr; }
}
.project-modal[hidden] { display: none; }

/* Fenêtre projet sur mobile : tiroir avec poignée, fermeture par glissement vers le bas */
.sheet-handle { display: none; }
@media (max-width: 640px) {
  .project-modal-box { padding: 10px 22px calc(28px + env(safe-area-inset-bottom)); overscroll-behavior: contain; }
  .sheet-handle { display: flex; justify-content: center; padding: 6px 0 12px; margin: 0 -22px; cursor: grab; touch-action: none; }
  .sheet-handle span { width: 44px; height: 5px; border-radius: 999px; background: rgba(23,26,44,.18); }
  .project-modal-box.is-dragging { transition: none; }
  .project-modal-nav { position: sticky; top: -10px; z-index: 2; margin: 0 -22px 10px; padding: 8px 22px; background: var(--white); }
}

/* ============ Accueil : aperçu domaines + projets phares ============ */
.domain-tiles { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.domain-tile {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px 18px 20px; border-radius: var(--radius-md);
  background: rgba(255,255,255,.05); border: 1px solid rgba(228,192,99,.2);
  transition: transform .5s var(--ease-out), background .4s, border-color .4s, opacity 1.1s var(--ease-out) var(--d, 0s);
}
.domain-tile:hover { transform: translateY(-5px); background: rgba(228,192,99,.1); border-color: rgba(228,192,99,.55); }
.domain-tile-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; background: rgba(228,192,99,.14); color: var(--gold); font-size: 1.1rem; transition: background .4s, color .4s; }
.domain-tile:hover .domain-tile-icon { background: var(--gold); color: var(--navy-950); }
.domain-tile-num { position: absolute; top: 20px; right: 18px; font-family: var(--font-display); font-size: 1rem; color: rgba(228,192,99,.55); }
.domain-tile h3 { font-size: 1rem; line-height: 1.35; color: var(--white); margin: 0; }
.home-projects-title { position: relative; font-size: clamp(1.25rem, 2vw, 1.55rem); margin: 56px 0 20px; color: var(--white); display: flex; align-items: center; gap: 16px; }
.home-projects-title::after { content: ""; flex: 1; height: 1px; background: rgba(228,192,99,.25); }
.home-projects { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.home-project {
  display: flex; flex-direction: column; padding: 24px 22px; border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(228,192,99,.1), rgba(255,255,255,.03)); border: 1px solid rgba(228,192,99,.25);
  transition: transform .5s var(--ease-out), border-color .4s, box-shadow .5s var(--ease-out), opacity 1.1s var(--ease-out) var(--d, 0s);
}
.home-project:hover { transform: translateY(-6px); border-color: rgba(228,192,99,.6); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.home-project:hover .project-icon { background: var(--gold); color: var(--navy-950); }
.home-project h4 { font-family: var(--font-display); font-size: 1.02rem; font-weight: 600; line-height: 1.35; margin: 10px 0 14px; color: var(--white); }
.home-project-kpi { margin: auto 0 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.1); font-size: .86rem; color: rgba(255,255,255,.75); }
.home-project-kpi strong { font-family: var(--font-display); font-size: 1.45rem; color: var(--gold); margin-right: 4px; }
@media (max-width: 1100px) { .domain-tiles { grid-template-columns: repeat(3, 1fr); } .home-projects { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .domain-tiles { grid-template-columns: 1fr; gap: 10px; }
  .domain-tile { flex-direction: row; align-items: center; padding: 16px 18px; }
  .domain-tile-num { position: static; order: 3; margin-left: auto; }
  .home-projects { grid-template-columns: 1fr; gap: 14px; }
}

/* Cartes d'albums : ne jamais dépasser leur colonne (titres longs) */
.album-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.album-card { min-width: 0; }
@media (max-width: 1100px) { .album-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .album-list { grid-template-columns: minmax(0, 1fr); }
  .album-list-main .album-featured:only-child { min-height: 0; aspect-ratio: 4 / 4.4; }
}
@media (max-width: 640px) { .album-featured .album-info h3 { -webkit-line-clamp: 4; font-size: 1.3rem; } }

/* Page Contact : informations administratives */
.legal-card { margin-top: 26px; padding: 22px 24px; border-radius: var(--radius-md); background: var(--white); border: 1px solid rgba(184,145,58,.25); box-shadow: 0 10px 30px -22px rgba(5,11,38,.3); }
.legal-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; margin-bottom: 14px; color: var(--navy-900); }
.legal-card h3 i { color: var(--gold-deep); }
.legal-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: .9rem; }
.legal-card dt { font-weight: 700; color: var(--gold-text); }
.legal-card dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.legal-card .iban { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.legal-card .iban span { font-weight: 700; letter-spacing: .02em; }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(184,145,58,.4); background: var(--cream); color: var(--navy-900); font: inherit; font-size: .76rem; font-weight: 700; cursor: pointer; }
.copy-btn:hover { background: var(--navy-900); color: var(--gold); }
.copy-btn.is-done { background: #e7f6ee; color: var(--success); border-color: #b5e3c9; }
.footer-legal { font-size: .76rem; color: rgba(255,255,255,.5); }
@media (max-width: 640px) { .legal-card dl { grid-template-columns: 1fr; gap: 2px; } .legal-card dd { margin-bottom: 10px; } }
