/* ============================================================
   Elucidar DevInter : Feuille de style principale (v3)
   Palette : blanc dominant, bleu nuit #1B263B, jaune doré #F3E928
   Typo : Cormorant Garamond (titres) / Manrope (texte)
   ============================================================ */

:root {
  --plum: #1B263B;
  --plum-deep: #131C2B;
  --plum-soft: #5B6676;
  --plum-faint: #F4F6F9;
  --gold: #F3E928;
  --gold-soft: #FBF8D8;
  --gold-deep: #756D0B;
  --white: #FFFFFF;
  --ink: #1B263B;
  --body: #475162;
  --line: #E4E8EE;
  --radius: 22px;
  --shadow-soft: 0 12px 40px rgba(27, 38, 59, 0.08);
  --shadow-lift: 0 24px 64px rgba(27, 38, 59, 0.16);
  --font-display: "Cormorant Garamond", "Georgia", serif;
  --font-body: "Manrope", "Helvetica Neue", sans-serif;
  --container: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: 110px 0; }

/* ---------- Typographie ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.002em;
}

h1 { font-size: clamp(2.7rem, 5.6vw, 4.5rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
h3 { font-size: 1.3rem; font-weight: 700; }

.serif-em, .hero-em {
  font-style: italic;
  font-weight: 500;
  color: var(--plum-soft);
}
h2 .serif-em { color: var(--gold-deep); }

.highlight {
  background: linear-gradient(transparent 64%, rgba(243, 233, 40, 0.5) 64%, rgba(243, 233, 40, 0.5) 92%, transparent 92%);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--plum-soft);
  margin-bottom: 22px;
}

.eyebrow-dash {
  width: 34px;
  height: 2px;
  background: var(--gold);
  flex: none;
}

.section-head { max-width: 760px; margin-bottom: 64px; }

.section-sub {
  margin-top: 20px;
  font-size: 1.04rem;
  color: var(--plum-soft);
}

.lead {
  font-size: 1.12rem;
  line-height: 1.8;
  color: var(--plum-soft);
  max-width: 58ch;
}
.lead strong { color: var(--ink); font-weight: 700; }

.flag-icon {
  display: inline-block;
  vertical-align: middle;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(27, 38, 59, 0.15);
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.93rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 15px 32px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--plum);
  color: var(--white);
  box-shadow: 0 10px 26px rgba(27, 38, 59, 0.25);
}
.btn-primary:hover {
  background: var(--plum-deep);
  box-shadow: 0 14px 34px rgba(27, 38, 59, 0.32), 0 0 0 4px rgba(243, 233, 40, 0.35);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: var(--white);
}
.btn-ghost:hover { border-color: var(--plum); background: var(--plum-faint); }

.btn-gold {
  background: var(--gold);
  color: var(--plum-deep);
  box-shadow: 0 10px 30px rgba(243, 233, 40, 0.28);
}
.btn-gold:hover { background: #FFF564; box-shadow: 0 14px 40px rgba(243, 233, 40, 0.45); }

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold); }

.btn-small { padding: 11px 24px; font-size: 0.86rem; }
.btn-full { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(27, 38, 59, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 86px;
}

/* ---------- Marque / Logo ---------- */
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  animation: brand-in 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes brand-in {
  from { opacity: 0; transform: translateY(-10px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.brand-logo {
  height: 54px;
  width: auto;
  animation: logo-glow 4.5s ease-in-out 1.2s infinite;
}
@keyframes logo-glow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(243, 233, 40, 0)); }
  50%      { filter: drop-shadow(0 3px 12px rgba(243, 233, 40, 0.55)); }
}

@keyframes halo-pulse {
  0%, 100% { opacity: 0.55; transform: scale(0.85); }
  50%      { opacity: 1;    transform: scale(1.05); }
}

/* ---------- Navigation ---------- */
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav > a:not(.btn) {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--plum-soft);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  transition: color 0.25s ease;
}
.site-nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.site-nav > a:not(.btn):hover { color: var(--ink); }
.site-nav > a:not(.btn):hover::after { transform: scaleX(1); }

/* Bascule de langue */
.lang-toggle {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  cursor: pointer;
  color: var(--plum-soft);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.lang-toggle:hover { border-color: var(--plum); }
.lang-toggle .lang-fr { color: var(--ink); }
.lang-toggle .lang-sep { margin: 0 3px; color: var(--line); }
.lang-toggle .lang-en { color: var(--plum-soft); }
.lang-toggle.is-en .lang-fr { color: var(--plum-soft); }
.lang-toggle.is-en .lang-en { color: var(--ink); }

.header-tools { display: none; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--plum);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 12px 28px 28px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.mobile-menu.open { display: flex; animation: menu-in 0.35s ease both; }
@keyframes menu-in {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mobile-menu a:not(.btn) {
  padding: 12px 4px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 12px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 84px 0 100px;
  overflow: hidden;
}

.shader-wash {
  position: absolute;
  inset: -12% -18% 34% -18%;
  pointer-events: none;
  background:
    radial-gradient(42% 55% at 18% 28%, rgba(255, 243, 77, 0.5), transparent 70%),
    radial-gradient(36% 48% at 72% 18%, rgba(237, 251, 255, 0.9), transparent 72%),
    radial-gradient(50% 60% at 55% 70%, rgba(255, 248, 153, 0.45), transparent 74%);
  filter: blur(28px);
  animation: wash-drift 16s ease-in-out infinite alternate;
}
@keyframes wash-drift {
  from { transform: translate3d(-2%, -1%, 0) rotate(-1deg) scale(1); }
  to   { transform: translate3d(3%, 2%, 0) rotate(1.5deg) scale(1.06); }
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: center;
}

.hero-content h1 { margin-bottom: 26px; }
.hero-em { color: var(--gold-deep); }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  list-style: none;
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
}
.hero-stats li { flex: 1 1 0; min-width: 150px; }
.hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 8px;
}
.hero-stats strong::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  margin-left: 6px;
  vertical-align: super;
}
.hero-stats span { font-size: 0.84rem; line-height: 1.5; color: var(--plum-soft); }

/* Collage photo */
.hero-visual { position: relative; }

.hero-photo.main {
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  aspect-ratio: 4 / 5;
  transform: rotate(1.2deg);
}
.hero-photo.main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-visual:hover .hero-photo.main img { transform: scale(1.04); }

.hero-photo.inset {
  position: absolute;
  left: -56px;
  bottom: -34px;
  width: 46%;
  border-radius: 18px;
  overflow: hidden;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 3;
  transform: rotate(-2.4deg);
}
.hero-photo.inset img { width: 100%; height: 100%; object-fit: cover; }

.hero-caption {
  position: absolute;
  right: 4px;
  bottom: -60px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--plum-soft);
  max-width: 26ch;
  text-align: right;
}

/* ---------- Focus ---------- */
.focus { padding: 40px 0 96px; }

.focus-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 54px;
  align-items: center;
  background: linear-gradient(135deg, var(--plum-deep) 0%, var(--plum) 60%, #24344D 100%);
  border-radius: 30px;
  padding: 60px;
  color: rgba(255, 255, 255, 0.82);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.focus-card::before {
  content: "";
  position: absolute;
  top: -160px;
  left: -120px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 233, 40, 0.16), transparent 65%);
  pointer-events: none;
}
.focus-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 30px;
  border: 1px solid rgba(243, 233, 40, 0.25);
  pointer-events: none;
}

.focus-text { position: relative; }

.focus-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(243, 233, 40, 0.1);
  border: 1px solid rgba(243, 233, 40, 0.35);
  border-radius: 999px;
  padding: 8px 20px 8px 10px;
  margin-bottom: 26px;
}
.focus-bulb { width: 26px; height: 26px; }
.focus-bulb circle:first-child { animation: halo-pulse 3s ease-in-out infinite; transform-origin: center; }

.focus-card h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 20px;
}

.focus-text p { font-size: 1rem; margin-bottom: 14px; }
.focus-text strong { color: var(--white); font-weight: 700; }

.focus-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

.focus-photo {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: 0 0 0 1px rgba(243, 233, 40, 0.35), 0 20px 50px rgba(0, 0, 0, 0.3);
}
.focus-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Événements ---------- */
.events {
  background: linear-gradient(180deg, #FFFDF4, var(--gold-soft));
  border-top: 1px solid rgba(243, 233, 40, 0.5);
  border-bottom: 1px solid rgba(243, 233, 40, 0.5);
}

.events-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 60px;
  align-items: center;
}

.events-photo {
  width: 300px;
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(243, 233, 40, 0.65), 0 14px 34px rgba(27, 38, 59, 0.14);
}
.events-photo img { width: 100%; height: 100%; object-fit: cover; }

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 26px;
  margin-top: 54px;
}

.event-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-soft);
}

.event-when {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.event-card h3 { font-size: 1.45rem; }

.event-format {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--plum-soft);
}

.event-desc { font-size: 0.94rem; color: var(--body); }

.event-card .btn { margin-top: auto; align-self: flex-start; }

.events-empty {
  margin-top: 46px;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--plum-soft);
}

/* ---------- Les 5 axes ---------- */
.axes { background: var(--white); }

.axes-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 70px;
  align-items: center;
  margin-bottom: 38px;
}
.axes-intro .section-head { margin-bottom: 0; }

.axes-visual {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: 0 0 0 1px rgba(243, 233, 40, 0.55), 0 18px 44px rgba(46, 35, 80, 0.14);
}
.axes-visual img { width: 100%; height: 100%; object-fit: cover; }

.axes-list {
  list-style: none;
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
}
.axes-list::before {
  content: "";
  position: absolute;
  left: 43px;
  top: 30px;
  bottom: 30px;
  width: 1.5px;
  background: linear-gradient(var(--gold), var(--line));
}

.axis {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 34px;
  padding: 26px 0;
  position: relative;
}

.axis-num {
  font-family: var(--font-display);
  font-size: 4.6rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1;
  color: var(--white);
  background: var(--plum);
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 8px var(--white), 0 0 0 9.5px rgba(243, 233, 40, 0.7);
  position: relative;
  z-index: 1;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.35s ease;
}
.axis:hover .axis-num { transform: scale(1.06) rotate(-3deg); background: var(--plum-deep); }

.axis-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 28px;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}
.axis:hover .axis-body {
  box-shadow: var(--shadow-soft);
  border-color: rgba(243, 233, 40, 0.7);
  transform: translateY(-3px);
}

.axis-copy { align-self: center; min-width: 0; }
.axis-body h3 { margin-bottom: 10px; }
.axis-body p { font-size: 0.97rem; color: var(--plum-soft); }

.axis-photo {
  min-height: 220px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--plum-faint);
}
.axis-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.axis:hover .axis-photo img { transform: scale(1.035); }

.axis-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

/* ---------- Bandeau mission ---------- */
.mission {
  position: relative;
  padding: 130px 0;
  overflow: hidden;
}

.mission-bg {
  position: absolute;
  inset: 0;
}
.mission-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mission-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 28, 43, 0.84), rgba(27, 38, 59, 0.74));
}

.mission-inner { position: relative; text-align: center; max-width: 880px; }

.mission blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.45;
  color: var(--white);
}

.mission-sign {
  margin-top: 26px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--gold);
}

/* ---------- Services : fiches détaillées ---------- */
.services { background: var(--plum-faint); }

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(27, 38, 59, 0.1);
  border-color: rgba(243, 233, 40, 0.8);
}

.service-card h3 { font-size: 1.28rem; }
.service-card p { font-size: 0.93rem; line-height: 1.65; color: var(--plum-soft); flex: 1; }

.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  text-decoration: none;
  transition: color 0.25s ease;
}
.service-cta::after { content: "→"; transition: transform 0.25s ease; }
.service-cta:hover { color: var(--ink); }
.service-cta:hover::after { transform: translateX(4px); }

.services-redirect {
  text-align: center;
  margin-top: 44px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--plum-soft);
}
.services-redirect a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  margin-left: 6px;
  transition: color 0.25s ease;
}
.services-redirect a:hover { color: var(--gold-deep); }

/* ---------- Partenaires ---------- */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.partner-cat {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 28px 24px;
  background: var(--white);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.partner-cat:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: rgba(243, 233, 40, 0.7); }

.partner-cat h3 {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--plum-soft);
  margin-bottom: 12px;
}
.partner-cat p {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

/* ---------- À propos ---------- */
.about { background: var(--plum-faint); }

.about-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 80px;
  align-items: start;
}

.about-portrait { position: sticky; top: 120px; }

.portrait-ring {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--plum-deep), var(--plum) 55%, #33465F);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lift), 0 0 0 10px rgba(243, 233, 40, 0.14);
  overflow: hidden;
}
.portrait-ring::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1.5px dashed rgba(243, 233, 40, 0.55);
  animation: ring-spin 40s linear infinite;
}
@keyframes ring-spin { to { transform: rotate(360deg); } }

.portrait-medallion {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.portrait-medallion.has-photo { width: 100%; height: 100%; }

.portrait-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-initials {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.04em;
  line-height: 1;
}

.portrait-bulb { width: 52px; height: 52px; }
.portrait-bulb circle:first-child { animation: halo-pulse 3.4s ease-in-out infinite; transform-origin: center; }

.about-facts {
  list-style: none;
  margin-top: 34px;
  display: grid;
  gap: 12px;
}
.about-facts li {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 18px;
}
.about-facts strong {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--plum-soft);
}
.about-facts strong::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 8px;
  vertical-align: middle;
}
.about-facts span { font-size: 0.92rem; color: var(--ink); font-weight: 600; }

.about-content h2 { margin-bottom: 12px; }

.about-role {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--gold-deep);
  margin-bottom: 28px;
}

.about-content p { margin-bottom: 18px; max-width: 66ch; }
.about-content strong { color: var(--ink); font-weight: 700; }

.about-highlights {
  list-style: none;
  margin: 32px 0 36px;
  display: grid;
  gap: 14px;
}
.about-highlights li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-highlights li:hover { transform: translateX(6px); box-shadow: var(--shadow-soft); }
.about-highlights strong { color: var(--ink); font-size: 1rem; }
.about-highlights strong::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 9px;
  vertical-align: middle;
}
.about-highlights span { font-size: 0.87rem; color: var(--plum-soft); }

.about-links { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.li-icon { width: 18px; height: 18px; vertical-align: -4px; margin-right: 8px; color: #0A66C2; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.contact-intro h2 { margin-bottom: 20px; }
.contact-intro > p { color: var(--plum-soft); max-width: 46ch; }

.contact-details {
  list-style: none;
  margin-top: 38px;
  display: grid;
  gap: 22px;
}
.contact-details li { display: flex; flex-direction: column; gap: 3px; }
.contact-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--plum-soft);
}
.contact-details a, .contact-value {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.contact-details a { transition: color 0.25s ease; }
.contact-details a:hover { color: var(--gold-deep); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 44px;
  box-shadow: var(--shadow-soft);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 20px; }

.form-field label {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--plum-soft);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 13px 16px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 120px; }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--plum);
  box-shadow: 0 0 0 4px rgba(243, 233, 40, 0.3);
}

.form-note {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--plum-soft);
  text-align: center;
}

.form-success {
  margin-top: 14px;
  text-align: center;
  font-weight: 700;
  color: var(--ink);
  background: var(--gold-soft);
  border: 1px solid rgba(243, 233, 40, 0.7);
  border-radius: 12px;
  padding: 12px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--plum-deep);
  color: rgba(255, 255, 255, 0.72);
  padding: 70px 0 46px;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px 60px;
}

.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-logo { width: 46px; height: 46px; border-radius: 10px; }
.footer-name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--gold);
  line-height: 1;
}

.footer-tagline { grid-column: 1; font-size: 0.9rem; max-width: 42ch; margin-top: 4px; }

.footer-nav {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-self: start;
}
.footer-nav a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.25s ease, transform 0.25s ease;
  width: fit-content;
}
.footer-nav a:hover { color: var(--gold); transform: translateX(4px); }

.footer-legal {
  grid-column: 1 / -1;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  text-align: center;
  width: 100%;
}
.footer-legal a { color: var(--gold); text-decoration: none; }
.footer-legal a:hover { text-decoration: underline; }

/* ---------- Animations au scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 90px; }
  .hero-visual { max-width: 520px; margin: 0 auto; }
  .hero-caption { bottom: -52px; }
  .focus-card { grid-template-columns: 1fr; padding: 44px; }
  .focus-photo { max-width: 420px; aspect-ratio: 4 / 3; }
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-portrait { position: static; }
  .axes-intro { grid-template-columns: 1fr 240px; gap: 36px; }
  .axes-visual { max-width: 240px; }
  .axis-body { grid-template-columns: minmax(0, 1fr) 220px; }
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .partners-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .site-nav { display: none; }
  .header-tools { display: flex; }
  .nav-toggle { display: flex; }
  .mobile-lang { display: inline-block; }
  .section { padding: 80px 0; }
  .hero { padding: 56px 0 90px; }
  .focus { padding: 20px 0 70px; }
  .events-head { grid-template-columns: 1fr; gap: 24px; }
  .events-photo { width: 100%; aspect-ratio: 16 / 9; }
  .axes-intro { grid-template-columns: 1fr; gap: 30px; }
  .axes-visual { width: 220px; margin: 0 auto; }
  .axes-list::before { left: 31px; }
  .axis { grid-template-columns: 64px minmax(0, 1fr); gap: 20px; }
  .axis-num { width: 64px; height: 64px; font-size: 3.2rem; }
  .axis-body { grid-template-columns: 1fr; padding: 24px 22px; }
  .axis-photo { min-height: 0; aspect-ratio: 16 / 9; }
  .services-grid { grid-template-columns: 1fr; }
  .brand-logo { height: 44px; }
  .partners-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 32px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { grid-column: 1; grid-row: auto; flex-direction: row; flex-wrap: wrap; gap: 18px; margin-top: 10px; }
  .footer-legal { grid-column: 1; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 32px 24px; }
  .portrait-ring { width: 250px; height: 250px; }
  .portrait-initials { font-size: 3.2rem; }
  .hero-photo.inset { left: -12px; }
}

/* ---------- Fonds voilés (photos douces) ---------- */
.veil { position: relative; }
.veil-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.veil-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
}
.veil-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(244, 246, 249, 0.72));
}
.veil > .container { position: relative; z-index: 1; }

/* ---------- Certifications : bande défilante ---------- */
.certs { background: var(--plum-faint); }
.certs .section-head { margin-bottom: 46px; }

.certs-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.certs-track { display: flex; width: max-content; }
.certs-track.ready { animation: certs-scroll 70s linear infinite; }
.certs-marquee:hover .certs-track.ready,
.certs-marquee:focus-within .certs-track.ready { animation-play-state: paused; }

@keyframes certs-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.cert-half { display: flex; gap: 16px; padding-right: 16px; }

.cert-item {
  flex: 0 0 auto;
  width: 200px;
  height: 142px;
  margin: 0;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cert-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  .certs-track.ready { animation: none; }
  .certs-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}

/* ---------- Bandeau de consentement cookies ---------- */
.consent-bar {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 90;
  width: min(560px, calc(100vw - 32px));
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lift);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.consent-bar[hidden] { display: none; }
.consent-bar p { font-size: 0.88rem; line-height: 1.6; color: var(--body); }
.consent-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Expertise : grilles de logos ---------- */
.logo-group { margin-bottom: 46px; }
.logo-group:last-child { margin-bottom: 0; }

.logo-group h3 {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--plum-soft);
  margin-bottom: 16px;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 18px;
}

.logo-cell {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 14px;
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.logo-cell:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: rgba(243, 233, 40, 0.7); }

.logo-cell img {
  max-width: 100%;
  max-height: 68px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.logo-cell.text-only {
  font-weight: 700;
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--ink);
  text-align: center;
}

@media (max-width: 860px) {
  .logo-grid { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 14px; }
  .logo-cell { min-height: 88px; padding: 14px 10px; }
  .logo-cell img { max-height: 54px; }
  .cert-item { width: 160px; height: 114px; }
  .cert-half { gap: 12px; padding-right: 12px; }
  .consent-bar { bottom: 14px; padding: 18px; }
}
