/* =====================================================================
   Fondation Kroll — site.css
   ===================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

.container      { width: min(1240px, 92vw); margin: 0 auto; }
.container-wide { width: min(1380px, 96vw); margin: 0 auto; }

/* ── Typographie ──────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--font-serif); font-weight: 400; line-height: 1; letter-spacing: -.035em; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 300; }
h2 { font-size: clamp(2.4rem, 5vw, 4.6rem); margin-bottom: 28px; line-height: 1.02; letter-spacing: -.03em; }
h3 { letter-spacing: -.02em; line-height: 1.18; }
p  { color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  text-transform: uppercase; letter-spacing: .26em;
  font-size: .58rem; font-weight: 600;
  color: var(--blue); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; opacity: .8; }
.eyebrow-light { color: rgba(180,205,255,.85); }

/* ── Boutons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  border-radius: var(--r-pill); padding: 14px 24px;
  text-transform: uppercase; letter-spacing: .14em;
  font-size: .66rem; font-weight: 600; font-family: var(--font-body);
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: all .3s var(--ease);
}
.btn-arrow { transition: transform .3s; }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn-dark  { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-dark:hover { background: #162f62; }
.btn-ghost { background: transparent; color: rgba(255,255,255,.95); border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.9); }
.link-subtle {
  font-size: .62rem; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 600; color: var(--ink);
  border-bottom: 1px solid var(--ink); padding-bottom: 2px;
  transition: color .26s, border-color .26s; white-space: nowrap;
}
.link-subtle:hover { color: var(--blue); border-color: var(--blue); }

/* ── Navigation ───────────────────────────────────────────── */
nav.kn {
  position: fixed; inset: 0 0 auto; height: 80px; z-index: 200;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(12,26,51,.07);
  backdrop-filter: blur(18px) saturate(160%);
  transition: box-shadow .3s;
}
nav.kn.scrolled { box-shadow: 0 2px 20px rgba(9,22,46,.08); }
.kn-inner {
  height: 100%; display: grid;
  grid-template-columns: auto 1fr auto; align-items: center; gap: 32px;
}
.kn-logo { display: inline-flex; align-items: center; }
.kn-logo-img { height: 32px; width: auto; display: block; }

.kn-links {
  display: flex; gap: 32px; justify-content: center;
  text-transform: uppercase; letter-spacing: .14em;
  font-size: .65rem; font-weight: 500; color: var(--ink);
}
.kn-links a { position: relative; padding: 4px 0; transition: color .26s; }
.kn-links a::after {
  content: ''; position: absolute; left: 50%; bottom: 0;
  width: 0; height: 1px; background: currentColor;
  transition: all .3s; transform: translateX(-50%);
}
.kn-links a:hover { color: var(--blue); }
.kn-links a:hover::after { width: 100%; }

.kn-right { display: flex; align-items: center; gap: 16px; }
.kn-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: #fff; border-radius: var(--r-pill);
  padding: 10px 20px; text-transform: uppercase; letter-spacing: .14em;
  font-size: .62rem; font-weight: 600; transition: background .26s; white-space: nowrap;
}
.kn-cta::after { content: "→"; }
.kn-cta:hover { background: var(--blue); }

.kn-burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px; padding: 8px; cursor: pointer;
}
.kn-burger span { display: block; height: 1.5px; background: var(--ink); transition: all .3s; transform-origin: center; }
.kn-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.kn-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.kn-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.kn-mobile {
  position: absolute; top: 80px; left: 0; right: 0;
  background: #fff; border-bottom: 1px solid var(--line);
  padding: 0 24px; max-height: 0; overflow: hidden;
  transition: max-height .4s var(--ease);
  box-shadow: 0 12px 40px rgba(9,22,46,.12);
}
.kn-mobile.open { max-height: 500px; padding: 16px 24px 28px; }
.kn-mobile ul { display: flex; flex-direction: column; }
.kn-mobile ul li a {
  display: block; padding: 14px 0;
  border-bottom: 1px solid var(--line);
  text-transform: uppercase; letter-spacing: .14em;
  font-size: .82rem; font-weight: 500; color: var(--ink); transition: color .26s;
}
.kn-mobile ul li a:hover { color: var(--blue); }
.kn-cta-mobile { display: inline-flex; margin-top: 18px; }

/* ═══════════════════════════════════════════════════════════
   HERO — desktop : titre complet visible + photo recadrée
   ═══════════════════════════════════════════════════════════ */
.hero {
  padding: 100px 0 0;        /* pas de min-height — on laisse le contenu décider */
  background: #fff;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;        /* haut aligné — titre complet visible dès l'ouverture */
  padding-top: 40px;
}

/* Colonne gauche */
.hero-left { padding-bottom: 0; }
.hero-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 36px; flex-wrap: wrap; }
.hero-meta .pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(12,26,51,.16); border-radius: var(--r-pill);
  padding: 7px 14px; font-size: .58rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--ink);
}
.hero-meta .pill .dot { width: 6px; height: 6px; background: var(--blue); border-radius: 50%; flex-shrink: 0; }
.hero-meta .meta-text { font-size: .58rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }

.hero h1 {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(3rem, 6.5vw, 7rem);  /* plus conservateur pour tenir sur 1 écran */
  line-height: .92; letter-spacing: -.045em; color: var(--ink);
}
.hero h1 .line2 { display: block; padding-left: 1.1em; font-style: italic; font-weight: 300; color: var(--blue); }
.hero-rule { width: 80px; height: 1px; background: var(--ink); margin: 28px 0 22px; }
.hero-tagline {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(.95rem, 1.5vw, 1.25rem); color: var(--ink);
  max-width: 32ch; line-height: 1.5; font-weight: 400; margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

/* Colonne droite : photo recadrée en 3:4 pour s'adapter à la hauteur */
.hero-right { display: flex; flex-direction: column; }
.hero-photo-frame {
  position: relative;
  aspect-ratio: unset;
  height: min(72vh, 560px);  /* hauteur max fixe — photo ne déborde jamais de l'écran */
  border-radius: 4px; overflow: hidden;
  box-shadow: 0 24px 64px -20px rgba(9,22,46,.32);
  background: linear-gradient(135deg, #1a3373 0%, #09162e 65%, #2b4dab 100%);
}
.hero-photo-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  object-position: center top;   /* cadre le haut de la photo */
  z-index: 1;
}
.hero-photo-frame::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to top, rgba(9,22,46,.45), transparent 55%);
}
.hero-photo-cap {
  position: absolute; bottom: 18px; left: 18px; right: 18px; z-index: 3; color: #fff;
}
.hero-photo-cap .lbl {
  font-size: .52rem; letter-spacing: .24em; text-transform: uppercase;
  font-weight: 600; opacity: .8;
}

/* Stats barre en bas du hero */
.hero-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 32px 0 40px;
  border-top: 1px solid rgba(12,26,51,.1);
  margin-top: 48px;
  flex-wrap: wrap; gap: 16px;
}
.hero-bottom .stat { display: flex; align-items: baseline; gap: 10px; }
.hero-bottom .stat .n {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.5rem; font-weight: 400; color: var(--blue); line-height: 1;
}
.hero-bottom .stat .l {
  font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}

/* ── Ticker ────────────────────────────────────────────────── */
.ticker {
  background: var(--navy); color: rgba(255,255,255,.8);
  padding: 13px 0; overflow: hidden;
}
.ticker-track {
  display: flex; gap: 56px; white-space: nowrap;
  animation: ticker 40s linear infinite;
  font-size: .65rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 500;
}
.ticker-track span { display: inline-flex; align-items: center; gap: 56px; }
.ticker-track .sep { color: var(--blue); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

section { padding: 120px 0; }

/* ── About ─────────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
.about-left { position: sticky; top: 100px; }
.about-figure { aspect-ratio: 4/5; overflow: hidden; border-radius: 2px; background: #eef0f7; }
.about-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-cap {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 12px 4px 0; font-size: .56rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--muted); font-weight: 600;
}
.about-right .lede {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(1.2rem, 2vw, 1.75rem); line-height: 1.32;
  color: var(--ink); letter-spacing: -.015em; margin: 0 0 28px;
}
.about-right .lede em { font-style: italic; color: var(--blue); }
.about-right p { font-size: .98rem; line-height: 1.78; margin-bottom: 18px; }
.pull-quote {
  margin: 28px 0; padding: 18px 0 18px 26px;
  border-left: 2px solid var(--blue);
  font-family: var(--font-serif); font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  font-style: italic; color: var(--ink); line-height: 1.4; font-weight: 400;
}
.pull-quote::before {
  content: "\201C"; font-size: 2.6rem; color: var(--blue);
  display: block; line-height: .4; margin-bottom: 6px; opacity: .45;
}

.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 56px; border-top: 1px solid rgba(12,26,51,.1);
  border-bottom: 1px solid rgba(12,26,51,.1);
}
.stat-card {
  padding: 24px 16px 22px;
  border-right: 1px solid rgba(12,26,51,.08);
  transition: background .3s;
}
.stat-card:last-child { border-right: none; }
.stat-card:hover { background: #f8faff; }
.stat-num {
  display: block; font-family: var(--font-serif); font-style: italic;
  font-size: clamp(2rem, 3.8vw, 3.2rem); font-weight: 400;
  line-height: 1; color: var(--ink); letter-spacing: -.03em; margin-bottom: 10px;
  white-space: nowrap;
}
.stat-card:hover .stat-num { color: var(--blue); }
.stat-label { font-size: .68rem; line-height: 1.45; color: var(--muted); letter-spacing: .04em; }

/* ── Mission ───────────────────────────────────────────────── */
.mission-section { background: #fff; border-top: 1px solid rgba(12,26,51,.08); }
.mission-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: end; margin-bottom: 72px;
}
.mission-head .intro {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.15rem; line-height: 1.5; color: var(--ink); max-width: 38ch;
}
.mission-list { border-top: 1px solid rgba(12,26,51,.1); }
.mission-row {
  display: grid; grid-template-columns: 84px 1fr 2fr 44px;
  align-items: baseline; gap: 24px;
  padding: 32px 0; border-bottom: 1px solid rgba(12,26,51,.07);
  transition: background .3s, padding-left .3s;
}
.mission-row:hover { background: #f8faff; padding-left: 8px; }
.mission-row:hover .mission-arrow { transform: translateX(6px); color: var(--blue); }
.mission-n { font-size: .54rem; letter-spacing: .28em; font-weight: 600; color: var(--blue); }
.mission-row h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 400; color: var(--ink); }
.mission-row h3 em { color: var(--blue); }
.mission-row p { font-size: .92rem; line-height: 1.65; color: var(--muted); max-width: 60ch; }
.mission-arrow { font-size: 1.2rem; color: rgba(12,26,51,.28); transition: all .3s; text-align: right; align-self: center; }

/* ── Événements / Carrousel ────────────────────────────────── */
.events-layout { display: grid; grid-template-columns: 5fr 6fr; gap: 60px; align-items: start; }
.events-head h2 { margin-bottom: 18px; }
.events-head > p { font-family: var(--font-serif); font-style: italic; font-size: 1.05rem; line-height: 1.5; color: var(--ink); margin-bottom: 28px; }
.event-list { display: flex; flex-direction: column; }
.event-row {
  display: grid; grid-template-columns: 40px 1fr auto;
  align-items: center; gap: 16px; padding: 18px 0;
  border-top: 1px solid rgba(12,26,51,.1); cursor: pointer;
  transition: padding-left .3s;
}
.event-row:last-child { border-bottom: 1px solid rgba(12,26,51,.1); }
.event-row:hover { padding-left: 10px; }
.event-row:hover .event-arrow { color: var(--blue); transform: translateX(5px); }
.event-n { font-size: .52rem; letter-spacing: .28em; font-weight: 600; color: var(--muted); }
.event-info { display: flex; flex-direction: column; gap: 4px; }
.event-tag { font-size: .52rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 600; color: var(--blue); }
.event-row h3 { font-family: var(--font-serif); font-weight: 400; font-size: 1.15rem; color: var(--ink); letter-spacing: -.012em; }
.event-row p { font-size: .86rem; color: var(--muted); line-height: 1.5; }
.event-arrow { color: rgba(12,26,51,.28); transition: all .3s; }

.carousel-wrap { background: #fff; border: 1px solid rgba(12,26,51,.1); overflow: hidden; }
.carousel-top { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid rgba(12,26,51,.08); }
.carousel-top-label .eyebrow { margin-bottom: 4px; }
.carousel-top-label h3 { font-size: 1.05rem; font-weight: 400; color: var(--ink); }
.carousel-arrows { display: flex; border: 1px solid rgba(12,26,51,.14); border-radius: var(--r-pill); overflow: hidden; }
.c-btn { width: 38px; height: 34px; display: grid; place-items: center; font-size: 1rem; color: var(--ink); transition: all .3s; }
.c-btn:first-child { border-right: 1px solid rgba(12,26,51,.14); }
.c-btn:hover { background: var(--ink); color: #fff; }
.carousel-clip { overflow: hidden; }
.carousel-track { display: flex; transition: transform .55s cubic-bezier(.4,0,.2,1); }
.slide { min-width: 100%; display: grid; grid-template-rows: auto 1fr; grid-template-columns: 1fr; }
.slide-img { aspect-ratio: 16/10; overflow: hidden; background: linear-gradient(135deg,#1a3373,#09162e); }
.slide-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide-img .ph {
  width: 100%; height: 100%; display: grid; place-items: center;
  color: rgba(255,255,255,.28); font-family: var(--font-serif);
  font-style: italic; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase;
}
.slide-copy { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 10px; }
.slide-copy h3 { font-size: 1.35rem; font-weight: 400; color: var(--ink); }
.slide-copy p { font-size: .88rem; line-height: 1.6; }
.carousel-bot { display: flex; align-items: center; gap: 14px; padding: 13px 22px; border-top: 1px solid rgba(12,26,51,.08); }
.c-bar { flex: 1; height: 1px; background: rgba(12,26,51,.1); position: relative; overflow: hidden; }
.c-fill { position: absolute; inset: 0; height: 100%; background: var(--ink); transition: width .55s; transform-origin: left; }
.c-count { font-size: .58rem; font-weight: 600; color: var(--muted); letter-spacing: .2em; white-space: nowrap; }

/* ── Projet phare ──────────────────────────────────────────── */
.project-section { background: var(--navy); padding: 0; position: relative; overflow: hidden; }
.project-section::before { content: ""; position: absolute; inset: 32px; border: 1px solid rgba(255,255,255,.07); pointer-events: none; z-index: 1; }
.project-eyebrow-strip {
  padding: 26px 52px 0; position: relative; z-index: 2;
  display: flex; justify-content: space-between;
  font-size: .54rem; letter-spacing: .26em; text-transform: uppercase;
  color: rgba(255,255,255,.5); font-weight: 600;
}
.project-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 86vh; position: relative; z-index: 1;
  padding: 20px 52px 52px; gap: 52px; align-items: stretch;
}
.project-photo-wrap { position: relative; display: flex; flex-direction: column; }
.project-photo { flex: 1; min-height: 380px; overflow: hidden; border-radius: 2px; background: #162f62; }
.project-photo-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.project-photo-cap {
  margin-top: 14px; font-size: .52rem; letter-spacing: .24em; text-transform: uppercase;
  color: rgba(255,255,255,.55); font-weight: 600;
}
.project-copy { display: flex; flex-direction: column; justify-content: center; gap: 18px; color: #fff; }
.project-copy h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: 1; }
.project-copy h2 em { color: rgba(180,210,255,.88); }
.project-copy p { color: rgba(220,235,255,.78); line-height: 1.74; max-width: 52ch; }
.project-quote {
  margin: 2px 0; padding: 12px 0 12px 22px;
  border-left: 1px solid rgba(255,255,255,.4);
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(.95rem, 1.6vw, 1.2rem);
  color: rgba(245,250,255,.94); line-height: 1.5; max-width: 48ch;
}
.project-cta-row { display: flex; gap: 16px; margin-top: 8px; flex-wrap: wrap; align-items: center; }
.project-cta-row .meta { font-size: .54rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.5); font-weight: 600; }

/* ── Partenaires ───────────────────────────────────────────── */
.partners-section { padding: 80px 0; }
.partners-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 48px; flex-wrap: wrap; }
.partners-head h2 { margin-bottom: 0; font-size: clamp(1.9rem, 3.4vw, 3rem); }
.partners-intro { max-width: 32ch; font-size: .94rem; color: var(--muted); line-height: 1.65; }

/* Grille auto-adaptive : toujours remplie, centrée si peu d'items */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid rgba(12,26,51,.1);
  border-left: 1px solid rgba(12,26,51,.1);
}
.partner-card {
  /* Chaque carte prend 1/5 de la largeur, s'adapte si moins de 5 */
  flex: 1 0 calc(20% - 1px);
  min-width: 160px;
  min-height: 120px;
  display: grid; place-items: center;
  text-align: center; padding: 18px; font-size: .66rem; font-weight: 600;
  color: var(--ink); letter-spacing: .12em; text-transform: uppercase;
  line-height: 1.55; transition: all .3s;
  border-right: 1px solid rgba(12,26,51,.1);
  border-bottom: 1px solid rgba(12,26,51,.1);
}
.partner-card:hover { background: var(--navy); color: #fff; }
.partner-card img { max-height: 48px; width: auto; max-width: 80%; filter: grayscale(1) opacity(.7); transition: filter .3s; }
.partner-card:hover img { filter: grayscale(1) brightness(10) opacity(1); }

/* ── Contact ───────────────────────────────────────────────── */
.contact-section { background: #fff; padding: 120px 0; border-top: 1px solid rgba(12,26,51,.09); }
.contact-block { display: grid; grid-template-columns: 5fr 6fr; gap: 80px; }
.contact-info-col h2 { margin-bottom: 22px; }
.contact-info-col > p {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.1rem; line-height: 1.5; color: var(--ink);
  max-width: 32ch; margin-bottom: 28px;
}
.contact-meta { display: flex; flex-direction: column; border-top: 1px solid rgba(12,26,51,.1); }
.contact-meta-item {
  display: grid; grid-template-columns: 88px 1fr; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid rgba(12,26,51,.08); align-items: baseline;
}
.contact-meta-item .lbl { font-size: .52rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-meta-item .val { font-size: .92rem; color: var(--ink); }
.contact-meta-item a { color: var(--blue); }

.contact-form-col { background: #f6f8fd; padding: 38px 34px; border-radius: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field label {
  display: block; font-size: .52rem; text-transform: uppercase;
  letter-spacing: .24em; font-weight: 600; color: var(--muted); margin-bottom: 8px;
}
.field .optional { opacity: .55; font-weight: 400; text-transform: none; letter-spacing: 0; font-size: .78em; }
.field input, .field textarea {
  width: 100%; background: transparent; color: var(--ink);
  border: none; border-bottom: 1px solid rgba(12,26,51,.18);
  padding: 8px 0 10px; font-family: var(--font-body); font-size: .92rem;
  transition: border-color .26s;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(12,26,51,.3); }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--blue); }
.field textarea { min-height: 88px; resize: vertical; }
.form-footer { display: flex; align-items: center; gap: 18px; margin-top: 12px; flex-wrap: wrap; }
.form-note { font-size: .6rem; color: var(--muted); line-height: 1.5; }
.form-note a { color: var(--blue); border-bottom: 1px solid transparent; transition: border-color .2s; }
.form-note a:hover { border-bottom-color: var(--blue); }
.submit-btn {
  display: inline-flex; align-items: center; gap: 10px;
  border-radius: var(--r-pill); background: var(--navy); color: #fff;
  padding: 12px 22px; font-size: .63rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; font-family: var(--font-body);
  transition: background .3s; cursor: pointer; flex-shrink: 0;
}
.submit-btn::after { content: "→"; }
.submit-btn:hover { background: var(--blue); }
.submit-btn:disabled { background: var(--muted); cursor: default; }

/* Message succès : caché par défaut, visible via JS */
.form-success {
  display: none;              /* caché jusqu'au JS */
  margin-top: 14px; padding: 13px 16px;
  background: #e8f5e9; color: #2e7d32; border-radius: var(--r);
  font-size: .88rem; font-weight: 500;
}
.form-success.visible { display: block; }

/* ── Footer ────────────────────────────────────────────────── */
footer.kf { background: var(--navy); color: rgba(225,237,255,.65); padding: 68px 0 30px; position: relative; }
footer.kf::before { content: ""; position: absolute; inset: 18px 18px 8px; border: 1px solid rgba(255,255,255,.06); pointer-events: none; }
.footer-logo { height: 26px; width: auto; margin-bottom: 18px; opacity: .8; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); position: relative; }
.footer-brand { font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; color: #fff; margin-bottom: 12px; line-height: 1.35; max-width: 22ch; font-weight: 400; }
.footer-tagline { font-size: .78rem; line-height: 1.6; color: rgba(225,237,255,.5); max-width: 26ch; }
.footer-col h4 { font-size: .52rem; font-weight: 600; text-transform: uppercase; letter-spacing: .24em; color: rgba(255,255,255,.5); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col li { font-size: .86rem; color: rgba(225,237,255,.7); transition: color .26s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  gap: 14px; padding-top: 24px; font-size: .58rem; color: rgba(225,237,255,.38);
  letter-spacing: .14em; text-transform: uppercase; flex-wrap: wrap; position: relative; font-weight: 500;
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: rgba(225,237,255,.38); transition: color .26s; }
.footer-legal a:hover { color: rgba(225,237,255,.75); }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */

/* ── Tablette large ≤1100px ───────────────────────────── */
@media (max-width: 1100px) {
  .hero-grid { gap: 40px; }
  .hero h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); }
  .project-grid { padding: 18px 32px 44px; gap: 36px; }
  .project-eyebrow-strip { padding: 22px 32px 0; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 36px; }
  .footer-grid > div:last-child { grid-column: 2; }
}

/* ── Tablette ≤960px — burger apparaît ────────────────── */
@media (max-width: 960px) {
  .kn-links { display: none; }
  .kn-burger { display: flex; }

  /* Hero : photo en bas, format portrait préservé */
  .hero { padding: 90px 0 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; }
  .hero-photo-frame {
    aspect-ratio: unset;
    height: auto;
    min-height: 260px;
    max-height: 460px;
  }
  .hero-photo-img { object-position: center top; }
  .hero-bottom { margin-top: 28px; padding-top: 20px; padding-bottom: 28px; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-left { position: static; max-width: 360px; }

  /* Mission */
  .mission-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 44px; }
  .mission-row { grid-template-columns: 60px 1fr; gap: 14px; }
  .mission-row p { grid-column: 2; }
  .mission-arrow { display: none; }

  /* Programmation */
  .events-layout { grid-template-columns: 1fr; gap: 40px; }

  /* Projet phare */
  .project-grid { grid-template-columns: 1fr; padding: 14px 20px 36px; gap: 28px; min-height: auto; }
  .project-eyebrow-strip { padding: 18px 20px 0; }
  .project-section::before { inset: 14px; }
  .project-photo { min-height: 240px; max-height: 360px; }

  /* Contact */
  .contact-block { grid-template-columns: 1fr; gap: 40px; }
  .contact-form-col { padding: 28px 24px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

/* ── Mobile ≤640px ─────────────────────────────────────── */
@media (max-width: 640px) {

  /* Conteneur un peu plus serré */
  .container, .container-wide { width: 92vw; }

  section { padding: 60px 0; }

  /* ── Nav ── */
  .kn-inner { gap: 0; }
  .kn-logo-img { height: 28px; }
  /* Logo + soutenir + burger centrés proprement */
  .kn-inner {
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    padding: 0 4px;
  }

  /* ── Hero ── */
  .hero { padding: 80px 0 0; }
  .hero-grid { gap: 24px; padding-top: 24px; }
  .hero-meta { gap: 8px; margin-bottom: 22px; flex-wrap: wrap; justify-content: center; }
  .hero-meta .pill { padding: 5px 12px; font-size: .54rem; }
  .hero-meta .meta-text { font-size: .52rem; }

  .hero h1 {
    font-size: clamp(2.6rem, 10vw, 3.8rem);
    line-height: .95;
    text-align: center;
  }
  .hero h1 .line2 { padding-left: 0; }
  .hero-rule { width: 60px; margin: 20px auto 16px; }
  .hero-tagline { font-size: .98rem; max-width: 100%; margin-bottom: 24px; text-align: center; }
  .hero-actions { flex-direction: column; align-items: center; gap: 10px; }
  .hero-actions .btn { width: 100%; justify-content: center; padding: 13px 20px; }

  /* Photo mobile : aspect-ratio portrait pour ne pas couper les images */
  .hero-photo-frame {
    height: auto;
    aspect-ratio: 3/4;
    border-radius: 3px;
  }

  /* Stats barre : 2×2 grille */
  .hero-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0;
    margin-top: 24px;
    border-top: none;
  }
  .hero-bottom .stat {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 14px;
    border: 1px solid rgba(12,26,51,.08);
  }
  .hero-bottom .stat .n { font-size: 1.6rem; }
  .hero-bottom .stat .l { font-size: .58rem; }

  /* ── About ── */
  .about-left { max-width: 100%; }
  .about-figure {
    aspect-ratio: auto;          /* laisser l'image dicter le ratio */
    max-height: 520px;           /* plafond raisonnable */
    height: auto;
  }
  .about-figure .about-photo { height: auto; max-height: 520px; object-fit: cover; }
  .about-cap { justify-content: center; gap: 12px; }
  .about-right { text-align: center; }
  .about-right .eyebrow { margin: 0 auto 16px; }
  .about-right .lede { font-size: 1.15rem; text-align: center; }
  .about-right p { font-size: .9rem; text-align: left; }
  .pull-quote { font-size: 1rem; padding: 14px 0 14px 18px; text-align: left; }
  .pull-quote::before { font-size: 2rem; }

  /* Stats grille about : 2×2 */
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat-card { padding: 18px 12px; }
  .stat-card:nth-child(2) { border-right: none; }
  .stat-card:nth-child(3) { border-right: 1px solid rgba(12,26,51,.08); }
  .stat-card:nth-child(4) { border-right: none; }
  .stat-num { font-size: clamp(1.8rem, 6vw, 2.6rem); }

  /* ── Mission ── */
  .mission-section { padding: 60px 0; }
  .mission-row { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
  .mission-n { font-size: .52rem; }
  .mission-row h3 { font-size: 1.3rem; }
  .mission-row p { font-size: .88rem; }

  /* ── Programmation ── */
  .event-row { grid-template-columns: 36px 1fr auto; gap: 12px; padding: 16px 0; }
  .event-row h3 { font-size: 1rem; }
  .event-row p { font-size: .82rem; }
  .slide-copy { padding: 16px 18px 20px; gap: 8px; }
  .slide-copy h3 { font-size: 1.1rem; }
  .slide-copy p { font-size: .84rem; }
  .slide-img { aspect-ratio: auto; max-height: 340px; }  /* portrait-friendly */

  /* ── Projet phare ── */
  .project-section::before { display: none; }
  .project-eyebrow-strip { padding: 16px 16px 0; font-size: .5rem; }
  .project-grid { padding: 12px 16px 36px; gap: 24px; }
  .project-copy { text-align: center; align-items: center; }
  .project-copy h2 { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .project-copy p { font-size: .88rem; text-align: left; max-width: 100%; }
  .project-quote { font-size: .95rem; padding: 10px 0 10px 18px; text-align: left; align-self: stretch; }
  .project-cta-row { gap: 12px; justify-content: center; }
  .project-photo {
    min-height: auto;
    max-height: none;
    aspect-ratio: 3/4;           /* portrait natif pour Mme Leignel-Rosenberg */
  }

  /* ── Partenaires ── */
  .partners-section { padding: 56px 0; }
  .partners-head { gap: 16px; margin-bottom: 28px; }
  .partners-head h2 { font-size: 1.9rem; margin-bottom: 8px; }
  .partners-intro { max-width: 100%; font-size: .88rem; }
  .partner-card {
    flex: 1 0 calc(50% - 1px);
    min-height: 88px;
    font-size: .6rem;
    padding: 14px;
  }

  /* ── Contact ── */
  .contact-section { padding: 60px 0; }
  .contact-info-col h2 { font-size: 2.4rem; }
  .contact-info-col > p { font-size: 1rem; }
  .contact-form-col { padding: 24px 18px; border-radius: 3px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-meta-item { grid-template-columns: 1fr; gap: 2px; padding: 10px 0; }
  .submit-btn { width: 100%; justify-content: center; }

  /* ── Footer ── */
  footer.kf { padding: 48px 0 24px; }
  footer.kf::before { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 36px; text-align: center; }
  .footer-grid > div:first-child { grid-column: 1; }
  .footer-logo { height: 22px; margin: 0 auto; }
  .footer-brand { font-size: 1rem; }
  .footer-bottom { flex-direction: column; align-items: center; gap: 10px; font-size: .54rem; }
  .footer-legal { gap: 16px; }
}

/* ── Très petit ≤390px ─────────────────────────────────── */
@media (max-width: 390px) {
  .hero h1 { font-size: 2.4rem; }
  .kn-logo-img { height: 24px; }
  .kn-cta { padding: 8px 14px; font-size: .56rem; }
  .hero-photo-frame { height: auto; aspect-ratio: 3/4; }
  .partner-card { font-size: .54rem; padding: 10px; }
}

/* ── Améliorations tactiles (mobile) ─────────────────── */
@media (hover: none) and (pointer: coarse) {
  /* Cibles tactiles minimum 44px */
  .btn         { min-height: 44px; }
  .kn-cta      { min-height: 44px; }
  .submit-btn  { min-height: 44px; }
  .c-btn       { width: 44px; height: 44px; }
  .kn-burger   { width: 44px; height: 44px; }

  /* Supprimer les effets hover qui ne s'appliquent pas sur touch */
  .mission-row:hover { background: transparent; padding-left: 0; }
  .event-row:hover   { padding-left: 0; }
  .stat-card:hover   { background: transparent; }
  .partner-card:hover { background: var(--navy); color: #fff; } /* garder celui-ci */
}
