@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=Source+Serif+4:ital,wght@1,300;1,400&display=swap');

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* ── TYPO — Pas de césures automatiques ── */
* { hyphens: none !important; -webkit-hyphens: none !important; }
body { font-family: 'Manrope', sans-serif; font-weight: 300; color: #F6F8FA; background: #0A1628; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── VARIABLES ── */
:root {
  --navy: #0A1628;
  --midnight: #0D1F3C;
  --deep: #112A4F;
  --forest-dark: #0F2A0A;
  --lime: #7FC13A;
  --leaf: #4A8A28;
  --signal: #2D5A1B;
  --copper: #C97D3A;
  --gold: #C4A84A;
  --ivory: #F6F8FA;
  --silver: #A8B4C0;
  --slate: #556070;
}

/* ── LOGO ── */
.elogo {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  text-decoration: none;
}
.elogo svg { height: 1.5em; width: auto; flex-shrink: 0; }
.elogo-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.elogo-name {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1em;
  letter-spacing: -0.02em;
  color: #F6F8FA;
  white-space: nowrap;
}
.elogo-cap {
  font-family: 'Source Serif 4', serif;
  font-weight: 300;
  font-style: italic;
  font-size: 0.62em;
  letter-spacing: 0.25em;
  color: var(--lime);
  opacity: 1;
  visibility: visible;
  margin-top: 0.15em;
  white-space: nowrap;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 24px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled {
  background: var(--navy);
  padding: 16px 80px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
/* COR-1 : logo nav 22px min, toujours une ligne */
.nav-logo { font-size: 22px; }
.nav-logo .elogo-name { white-space: nowrap; }

.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: rgba(246,248,250,0.75);
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.nav-links a:hover { color: #F6F8FA; }
.nav-cta {
  background: var(--lime);
  color: var(--navy) !important;
  font-weight: 600 !important;
  padding: 10px 22px;
  border-radius: 2px;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: #6aaf2e !important; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: #F6F8FA; transition: all 0.3s; }

/* ── FADE-IN ── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in.delay-1 { transition-delay: 0.1s; }
.fade-in.delay-2 { transition-delay: 0.2s; }
.fade-in.delay-3 { transition-delay: 0.3s; }
.fade-in.delay-4 { transition-delay: 0.4s; }

/* ── SURTITRE ── */
.surtitre {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 20px;
  display: block;
}
.surtitre.navy { color: var(--leaf); }

/* ── TAP HIGHLIGHT — iOS ── */
a, button, [role="button"] {
  -webkit-tap-highlight-color: transparent;
}

/* ── BOUTONS ── */
.btn-lime {
  display: inline-block;
  background: var(--lime);
  color: var(--navy);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 14px 32px;
  border-radius: 2px;
  letter-spacing: 0.01em;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}
.btn-lime:hover { background: #6aaf2e; }
.btn-navy {
  display: inline-block;
  background: var(--navy);
  color: #F6F8FA;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 14px 32px;
  border-radius: 2px;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}
.btn-navy:hover { background: var(--midnight); }
.link-white { color: rgba(246,248,250,0.8); font-size: 14px; font-weight: 400; }
.link-white::after { content: ' →'; }
.link-white:hover { color: #F6F8FA; }
.link-lime { color: var(--lime); font-size: 14px; font-weight: 500; display: inline-block; }
.link-lime:hover { color: #6aaf2e; }

/* ── HERO HOMEPAGE ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 80px 96px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  /* IMAGE: images/ec-hero-foret.webp */
  background-image: url('../images/ec-hero-foret.webp');
  background-size: cover;
  background-position: center 40%;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.88) 0%, rgba(10,22,40,0.50) 50%, rgba(10,22,40,0.20) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 900px; }
.hero-headline { font-size: clamp(36px, 3.8vw, 56px); font-weight: 700; line-height: 1.1; letter-spacing: -0.025em; color: #F6F8FA; margin-bottom: 8px; white-space: nowrap; }
.hero-headline-lime { color: var(--lime); }
.hero-sub { font-size: clamp(15px, 1.8vw, 18px); font-weight: 300; line-height: 1.65; color: rgba(246,248,250,0.85); margin-top: 28px; margin-bottom: 44px; }
.hero-ctas { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }

/* Hero interne */
.hero-inner {
  position: relative;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 80px 80px;
  overflow: hidden;
}
.hero-inner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-inner-bg::after { content: ''; position: absolute; inset: 0; }
.hero-inner-content { position: relative; z-index: 1; max-width: 760px; }
.hero-inner-title { font-size: clamp(30px, 4vw, 52px); font-weight: 700; line-height: 1.1; letter-spacing: -0.025em; color: #F6F8FA; margin-bottom: 20px; }
.hero-inner-title .lime { color: var(--lime); }
.hero-inner-sub { font-size: 17px; font-weight: 300; line-height: 1.65; color: rgba(246,248,250,0.85); margin-bottom: 36px; }

/* ── STATS BAR — COR-2 / R4 : midnight au lieu de forest-dark ── */
.stats-bar {
  background: var(--midnight);
  padding: 0 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 160px;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.stat-col {
  padding: 0 32px;
  border-right: 1px solid rgba(255,255,255,0.10);
}
.stat-col:first-child { padding-left: 0; }
.stat-col:last-child { border-right: none; }
.stat-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 10px;
  display: block;
}
.stat-value {
  font-size: 28px;
  font-weight: 700;
  color: #F6F8FA;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.stat-desc {
  font-size: 13px;
  font-weight: 300;
  color: rgba(246,248,250,0.5);
  margin-top: 4px;
  line-height: 1.4;
}

/* ── SECTIONS ── */
section { padding: 100px 80px; }
.section-ivory { background: var(--ivory); color: var(--navy); }
.section-ivory .surtitre { color: var(--leaf); }
.section-navy { background: var(--navy); }
.section-midnight { background: var(--midnight); }
.section-white { background: #fff; color: var(--navy); }

/* ── TITRES ── */
.titre-xl { font-size: clamp(28px, 3.5vw, 48px); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 28px; }
.titre-xl.ivory { color: var(--ivory); }
.titre-xl.navy { color: var(--navy); }
.titre-l { font-size: clamp(24px, 2.8vw, 38px); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 24px; }
.titre-l.ivory { color: var(--ivory); }
.titre-l.navy { color: var(--navy); }
.corps { font-size: 16px; font-weight: 300; line-height: 1.8; color: rgba(246,248,250,0.8); }
.corps.navy { color: rgba(10,22,40,0.75); }
.corps p + p { margin-top: 20px; }

.transition-lime { font-family: 'Source Serif 4', serif; font-style: italic; font-weight: 300; font-size: 20px; color: var(--lime); margin-top: 32px; display: block; }
.transition-lime.navy-lime { color: var(--leaf); }

/* ── SECTION LE PROBLÈME ── */
.probleme-wrap { max-width: 700px; margin: 0 auto; }

/* ── SECTION MODÈLE / 4 PILIERS — COR-3 ── */
.modele-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 80px;
  align-items: start;
}
.modele-sous { font-size: 15px; font-weight: 300; line-height: 1.75; color: rgba(246,248,250,0.65); margin-top: 16px; }
.piliers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.pilier-card {
  background: rgba(255,255,255,0.04);
  padding: 36px 32px 36px 32px;
  border: 1px solid rgba(255,255,255,0.06);
  border-left: 3px solid transparent;
  position: relative;
  overflow: hidden;
  transition: background 0.2s, border-left-color 0.2s, transform 0.2s;
  cursor: default;
}
.pilier-card:hover {
  background: rgba(255,255,255,0.07);
  border-left-color: var(--lime);
  transform: translateY(-4px);
}
/* Grand numéro en fond COR-3 */
.pilier-bg-num {
  position: absolute;
  bottom: 12px;
  right: 16px;
  font-size: 80px;
  font-weight: 800;
  color: var(--lime);
  opacity: 0.10;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
}
.pilier-num { font-size: 11px; font-weight: 600; color: var(--lime); letter-spacing: 0.15em; display: block; margin-bottom: 12px; text-transform: uppercase; }
.pilier-titre { font-size: 20px; font-weight: 700; color: #F6F8FA; margin-bottom: 12px; letter-spacing: -0.01em; }
.pilier-corps { font-size: 14px; font-weight: 300; line-height: 1.7; color: rgba(246,248,250,0.65); }

/* ── BIFURCATION — COR-4 ── */
.bifurcation-titre { text-align: center; font-size: 32px; font-weight: 700; letter-spacing: -0.02em; color: var(--navy); margin-bottom: 48px; }
.bifurcation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.bif-card { padding: 52px 48px; border-radius: 2px; }
.bif-card-navy { background: var(--navy); }
.bif-card-ivory { background: #F6F8FA; border: 1.5px solid rgba(10,22,40,0.1); }
/* Audience label COR-4 */
.bif-audience {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 20px;
}
.bif-card-navy .bif-audience { color: var(--lime); }
.bif-card-ivory .bif-audience { color: var(--signal); }
.bif-card-titre { font-size: clamp(18px, 2vw, 24px); font-weight: 700; line-height: 1.3; letter-spacing: -0.015em; margin-bottom: 28px; }
.bif-card-navy .bif-card-titre { color: #F6F8FA; }
.bif-card-ivory .bif-card-titre { color: var(--navy); }
.bif-list { list-style: none; margin-bottom: 36px; }
.bif-list li { font-size: 14px; font-weight: 300; line-height: 1.6; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.bif-card-navy .bif-list li { color: rgba(246,248,250,0.75); }
.bif-card-ivory .bif-list li { color: rgba(10,22,40,0.7); border-bottom-color: rgba(10,22,40,0.08); }
.bif-list li::before { content: '→ '; color: var(--lime); font-weight: 500; }
.bif-card-ivory .bif-list li::before { color: var(--leaf); }

/* ── FONDATEUR HOMEPAGE — COR-5 ── */
.fondateur-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: center; }
.fondateur-photo {
  position: relative;
  overflow: hidden;
}
/* COR-5 : contain pas cover, transparent */
.fondateur-photo img {
  width: 100%;
  object-fit: contain;
  object-position: center bottom;
  background: transparent;
  display: block;
}
.fondateur-signature {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(10,22,40,0.08);
}
.fondateur-signature .sig-name { font-size: 15px; font-weight: 600; color: var(--navy); }
.fondateur-signature .sig-titre { font-size: 13px; font-weight: 300; color: rgba(10,22,40,0.55); margin-top: 2px; }

/* ── FOOTER SIMPLIFIÉ — COR-17 ── */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-main {
  padding: 48px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.footer-nav { display: flex; gap: 32px; flex-wrap: wrap; }
.footer-nav a { font-size: 13px; font-weight: 400; color: var(--silver); transition: color 0.2s; }
.footer-nav a:hover { color: var(--lime); }
.footer-tagline { font-size: 12px; font-weight: 300; color: var(--slate); margin-top: 10px; }
.footer-bottom {
  padding: 16px 80px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.2); }
.footer-email { font-size: 12px; font-weight: 300; color: var(--slate); }
.footer-email a { color: var(--slate); transition: color 0.2s; }
.footer-email a:hover { color: var(--lime); }

/* ── SECTION LA VÉRITÉ CÉDANT — COR-10 ── */
.verite-wrap { max-width: 720px; margin: 0 auto; }
.verite-titre { font-size: clamp(24px, 3vw, 36px); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; color: #F6F8FA; text-align: center; margin-bottom: 56px; }
.verite-items { display: flex; flex-direction: column; gap: 0; margin-bottom: 48px; }
.verite-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.verite-x {
  font-size: 18px;
  font-weight: 700;
  color: var(--copper);
  flex-shrink: 0;
  width: 28px;
  margin-top: 2px;
}
.verite-texte { font-size: 16px; font-weight: 300; line-height: 1.7; color: rgba(246,248,250,0.75); }
.verite-separator {
  height: 1px;
  background: var(--lime);
  opacity: 0.4;
  margin: 40px 0 32px;
}
.verite-positif { font-size: 16px; font-weight: 300; line-height: 1.8; color: rgba(246,248,250,0.75); }
.verite-positif strong { color: #F6F8FA; font-weight: 600; }

/* ── SECTION CE QU'ON PROTÈGE — COR-11 ── */
.protege-citation {
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  font-size: clamp(20px, 2.5vw, 28px);
  font-style: italic;
  color: rgba(246,248,250,0.6);
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
  line-height: 1.4;
}
.protege-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }
.protege-bloc {
  background: rgba(255,255,255,0.04);
  padding: 44px 40px 44px 37px;
  border-left: 3px solid var(--lime);
  border-top: none;
}
.protege-icon { font-size: 28px; margin-bottom: 16px; display: block; }
.protege-titre { font-size: 22px; font-weight: 700; color: #F6F8FA; margin-bottom: 16px; letter-spacing: -0.01em; }
.protege-corps { font-size: 15px; font-weight: 300; line-height: 1.75; color: rgba(246,248,250,0.65); }

/* ── TIMELINE PROCESSUS — COR-12 ── */
.timeline-wrap { overflow-x: auto; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.timeline-step { padding: 0 28px; position: relative; }
.timeline-step:first-child { padding-left: 0; }
.timeline-step:last-child { padding-right: 0; }
/* Ligne de connexion COR-12 + R4 */
.timeline-header { display: flex; align-items: center; margin-bottom: 28px; }
.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--lime);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.timeline-connector {
  flex: 1;
  height: 1px;
  background: var(--lime);
  opacity: 0.3;
}
.timeline-step:last-child .timeline-connector { display: none; }
/* R4 : filet inter-colonnes via ::after pour combler le gap entre cellules */
.timeline-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 8px;
  left: calc(50% + 8px);
  right: calc(-50% + 8px);
  height: 1px;
  background: var(--lime);
  opacity: 0.3;
  pointer-events: none;
}
.timeline-num { font-size: 11px; font-weight: 800; color: var(--lime); letter-spacing: 0.1em; display: block; margin-bottom: 12px; opacity: 0.7; text-transform: uppercase; }
.timeline-titre { font-size: 16px; font-weight: 700; color: #F6F8FA; margin-bottom: 16px; letter-spacing: -0.01em; }
.timeline-corps { font-size: 14px; font-weight: 300; line-height: 1.75; color: rgba(246,248,250,0.6); }

/* ── FAQ ── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(10,22,40,0.08); }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 28px 0;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  letter-spacing: -0.01em;
}
.faq-icon { font-size: 22px; color: var(--leaf); flex-shrink: 0; transition: transform 0.3s; font-weight: 300; }
.faq-question-text { display: block; word-break: normal; overflow-wrap: normal; flex: 1; }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer { overflow: hidden; max-height: 0; transition: max-height 0.4s ease; }
.faq-answer-inner { padding-bottom: 28px; font-size: 15px; font-weight: 300; line-height: 1.8; color: rgba(10,22,40,0.7); }

/* ── CTA FINAL ── */
.cta-section { background: var(--navy); padding: 80px; }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.cta-sub { font-size: 16px; font-weight: 300; line-height: 1.75; color: rgba(246,248,250,0.75); }

/* ── FORMULAIRES ── */
.form-wrap { display: flex; flex-direction: column; gap: 28px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label { font-size: 10px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(246,248,250,0.5); }
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding: 12px 0;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #F6F8FA;
  transition: border-color 0.2s;
  outline: none;
  border-radius: 0;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-bottom-color: var(--lime); }
.form-input::placeholder, .form-textarea::placeholder { color: rgba(246,248,250,0.3); }
.form-select option { background: var(--navy); color: #F6F8FA; }
.form-textarea { resize: vertical; min-height: 80px; }
.form-submit { margin-top: 8px; width: 100%; }
.form-note { font-size: 11px; font-weight: 300; color: rgba(246,248,250,0.3); line-height: 1.6; margin-top: 16px; text-align: center; }

/* ── CONTACT TABS — COR-16 ── */
.contact-page { background: var(--midnight); padding: 140px 80px 100px; min-height: 80vh; }
.contact-tabs {
  display: flex;
  gap: 2px;
  margin-bottom: 56px;
  max-width: 520px;
}
.tab-btn {
  flex: 1;
  padding: 14px 24px;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.tab-btn.active { background: var(--lime); color: var(--navy); }
.tab-btn:not(.active) {
  background: transparent;
  color: rgba(246,248,250,0.6);
  border: 1px solid rgba(246,248,250,0.2);
}
.tab-btn:not(.active):hover { border-color: rgba(246,248,250,0.4); color: rgba(246,248,250,0.8); }
.contact-panel { display: none; }
.contact-panel.active { display: block; }
.contact-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-form-info { padding-top: 8px; }

/* ── THÈSE — CONVICTIONS — COR-7 ── */
.convictions-wrap { max-width: 800px; margin: 0 auto; }
.conviction-block {
  padding: 40px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
}
.conviction-block:first-child { border-top: 1px solid rgba(255,255,255,0.08); }
.conviction-bg-num {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 120px;
  font-weight: 800;
  color: var(--lime);
  opacity: 0.06;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
}
.conviction-num-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--lime);
  display: block;
  margin-bottom: 16px;
}
.conviction-cite {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  color: #F6F8FA;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.conviction-dev {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(246,248,250,0.65);
  max-width: 560px;
}

/* ── THÈSE — SEGMENT BLOCS — COR-8 ── */
.segment-texte { max-width: 560px; }
.segment-items {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  margin-top: 48px;
}
.segment-item {
  background: var(--navy);
  padding: 28px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.segment-item-icon {
  font-size: 24px;
  margin: 0 auto 12px auto;
  display: block;
  color: var(--lime);
}
.segment-item [data-lucide] {
  margin: 0 auto 12px auto;
}
.segment-item-label { font-size: 13px; font-weight: 600; color: #F6F8FA; letter-spacing: -0.01em; line-height: 1.3; }

/* ── THÈSE — CHAÎNE VALEUR TIMELINE — COR-9 ── */
.chaine-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 56px;
  position: relative;
}
.chaine-step {
  padding: 0 20px;
  position: relative;
  text-align: center;
}
.chaine-step-header { display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.chaine-step-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--leaf); flex-shrink: 0; }
.chaine-step-line { flex: 1; height: 1px; background: var(--leaf); opacity: 0.3; }
.chaine-step:last-child .chaine-step-line { display: none; }
.chaine-step-num {
  font-size: 52px;
  font-weight: 800;
  color: rgba(246,248,250,0.12);
  opacity: 1;
  line-height: 1;
  display: block;
  text-align: center;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}
.chaine-step-titre { font-size: 16px; font-weight: 600; color: #F6F8FA; letter-spacing: -0.01em; margin-bottom: 8px; }
.chaine-step-corps { font-size: 14px; font-weight: 300; color: rgba(246,248,250,0.65); line-height: 1.5; }

/* ── THÈSE — DISCIPLINE ── */
.discipline-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 48px; }
.discipline-col { background: rgba(255,255,255,0.04); padding: 40px 32px; border: 1px solid rgba(255,255,255,0.06); }
.discipline-label { font-size: 10px; font-weight: 800; letter-spacing: 0.3em; text-transform: uppercase; color: var(--lime); display: block; margin-bottom: 16px; }
.discipline-corps { font-size: 15px; font-weight: 300; line-height: 1.75; color: rgba(246,248,250,0.7); }

/* ── THÈSE — RENDEMENT PLACEHOLDER ── */
.rendement-placeholder {
  border: 1px dashed rgba(255,255,255,0.15);
  padding: 48px;
  text-align: center;
  max-width: 560px;
  margin: 40px auto 0;
}
.rendement-placeholder-titre { font-size: 12px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(246,248,250,0.3); margin-bottom: 16px; }
.rendement-placeholder-liste { font-size: 16px; font-weight: 300; color: rgba(246,248,250,0.25); line-height: 2; }

/* ── PAGE FONDATEUR — Option A+D ── */
.fondateur-page-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}

/* Base partagée : fondateur-photo-col sur ivory (index.html) */
.fondateur-photo-col {
  background: #F6F8FA;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

/* Option A : contexte fondateur.html — photo cover pleine hauteur, fondu navy en bas */
.fondateur-page-hero .fondateur-photo-col {
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(13, 31, 60, 0.4) 70%,
    #0A1628 100%
  );
}

.fondateur-photo-col img {
  object-fit: cover;
  object-position: center top;
  width: 100%;
  height: 100%;
  filter: grayscale(20%) contrast(1.05);
  display: block;
}

/* Option D : index.html — mask-image fade, max-height réduit */
.fondateur-img {
  mask-image: linear-gradient(to bottom, black 65%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 65%, transparent 100%);
  object-fit: contain;
  object-position: bottom center;
  max-height: 480px;
  width: 100%;
  display: block;
}
.fondateur-page-texte {
  background: var(--midnight);
  padding: 100px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.fondateur-fond-section {
  position: relative;
  padding: 80px;
  overflow: hidden;
}
.fondateur-fond-bg {
  position: absolute;
  inset: 0;
  /* IMAGE: images/ec-fondateur-fond.webp */
  background-image: url('../images/ec-fondateur-fond.webp');
  background-size: cover;
  background-position: center;
}
.fondateur-fond-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10,22,40,0.88);
}
.fondateur-fond-content { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; text-align: center; }

/* ── FONDATEUR BIO — section Ironman ── */
.fondateur-bio {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(246,248,250,0.08);
}
.fondateur-bio-photo {
  position: relative;
  width: 180px;
  height: 220px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
}
.fondateur-bio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(30%) contrast(1.05);
  transition: filter 600ms ease;
}
.fondateur-bio-photo:hover img {
  filter: grayscale(0%) contrast(1.0);
}
.bio-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(10,22,40,0.7) 100%
  );
}
.bio-photo-badge {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Manrope', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.35em;
  color: #7FC13A;
  white-space: nowrap;
}
.fondateur-bio-text { flex: 1; }
.fondateur-bio-text p {
  font-size: 14px;
  color: rgba(246,248,250,0.6);
  line-height: 1.75;
  margin: 0;
}

/* ── HERO IMAGES ── */
/* IMAGE: images/ec-cedant-reunion.webp */
.hero-cedant { background-image: url('../images/ec-cedant-reunion.webp'); }
.hero-cedant::after { background: rgba(10,22,40,0.65); }
/* IMAGE: images/ec-these-route.webp */
.hero-these { background-image: url('../images/ec-these-route.webp'); }
.hero-these::after { background: rgba(13,31,60,0.72); }

/* ── COORDONNÉES — section /contact uniquement ── */
.contact-direct-wrap {
  display: flex;
  gap: 80px;
  flex-wrap: wrap;
  align-items: flex-start;
}

/* ── LUCIDE ICONS — R3 ── */
[data-lucide] {
  width: 24px;
  height: 24px;
  stroke: #7FC13A;
  stroke-width: 1.5;
  fill: none;
  display: block;
  margin-bottom: 16px;
}

/* ── VÉRITÉ CÉDANT — R3 ── */
.verite-separator {
  height: 2px;
  background: var(--lime);
  width: 48px;
  margin: 28px 0;
}
.verite-conclusion {
  font-size: 17px;
  color: rgba(246,248,250,0.6);
  line-height: 1.7;
  font-style: italic;
}

/* ── CONTACT TABS — R3 ── */
.tab-subtitle {
  font-size: 15px;
  color: rgba(246,248,250,0.55);
  margin-top: 12px;
  margin-bottom: 32px;
  font-weight: 300;
}
.contact-question {
  font-size: 13px;
  color: rgba(246,248,250,0.4);
  margin-bottom: 6px;
}
.contact-coords {
  font-size: 14px;
  color: rgba(246,248,250,0.6);
}
.contact-coords a { color: var(--lime); }
.contact-coords a:hover { color: #6aaf2e; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .nav { padding: 20px 40px; }
  .nav.scrolled { padding: 14px 40px; }
  section { padding: 80px 40px; }
  .hero { padding: 0 40px 80px; }
  .hero-inner { padding: 0 40px 64px; }
  .stats-bar { padding: 0 40px; }
  .footer-main { padding: 40px; }
  .footer-bottom { padding: 14px 40px; }
  .cta-section { padding: 64px 40px; }
  .modele-grid { gap: 48px; }
  .fondateur-grid { gap: 48px; }
  .fondateur-page-texte { padding: 72px 48px; }
  .contact-page { padding: 120px 40px 80px; }
}

@media (max-width: 900px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-col { padding: 32px 20px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-col:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.08); }
  .stat-col:nth-child(3), .stat-col:nth-child(4) { border-bottom: none; }
  .modele-grid { grid-template-columns: 1fr; gap: 48px; }
  .piliers-grid { grid-template-columns: 1fr; }
  .bifurcation-grid { grid-template-columns: 1fr; }
  .fondateur-grid { grid-template-columns: 1fr; }
  .segment-items { grid-template-columns: repeat(3, 1fr); }
  .chaine-timeline { grid-template-columns: 1fr; }
  .discipline-grid { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-form-grid { grid-template-columns: 1fr; gap: 56px; }
  .fondateur-page-hero { grid-template-columns: 1fr; }
  .fondateur-photo-col { min-height: 40vh; }
  .fondateur-page-texte { padding: 56px 40px; }
  .protege-grid { grid-template-columns: 1fr; }
  .footer-main { flex-direction: column; align-items: flex-start; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; align-items: flex-start; }
}

@media (max-width: 640px) {
  /* ── NAV MOBILE ── */
  .nav { padding: 0 16px; height: 60px; }
  .nav.scrolled { padding: 0 16px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--navy);
    padding: 12px 0;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    z-index: 99;
  }
  /* Liens touch 44px min */
  .nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    font-size: 15px;
  }
  .nav-links .nav-cta {
    margin: 8px 24px;
    min-height: 44px;
    justify-content: center;
  }
  .nav-toggle { display: flex; }

  /* ── SECTIONS ── */
  section { padding: 64px 24px; }
  .hero { padding: 0 24px 64px; }
  /* padding-top: 80px = safe zone nav 60px + marge 20px */
  .hero-inner { padding: 80px 24px 48px; min-height: 50vh; }

  /* ── HERO OVERLAY MOBILE — plus opaque pour lisibilité ── */
  .hero-bg::after {
    background: linear-gradient(
      to top,
      rgba(10,22,40,0.95) 0%,
      rgba(10,22,40,0.70) 50%,
      rgba(10,22,40,0.40) 100%
    );
  }

  /* ── HERO TITRE MOBILE ── */
  /* R1 : taille fixe + no-wrap supprimé */
  .hero-headline { white-space: normal; font-size: 36px; }
  .hero-headline-lime { font-size: 36px; }

  /* ── HERO CTAs — empilés, bouton pleine largeur ── */
  .hero-ctas {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .hero-ctas .btn-lime { width: 100%; text-align: center; }

  /* ── STATS BAR ── */
  .stats-bar { padding: 0; grid-template-columns: 1fr 1fr; }
  .stat-col { padding: 24px 20px; }
  .stat-col:first-child { padding-left: 24px; }

  /* ── FOOTER ── */
  .footer-main { padding: 32px 24px; }
  .footer-bottom { padding: 12px 24px; }

  /* ── CTA SECTION — boutons pleine largeur ── */
  .cta-section { padding: 56px 24px; }
  .cta-section .btn-lime { width: 100%; text-align: center; display: block; }

  /* ── TIMELINE CÉDANT — verticale, point à gauche ── */
  .timeline { grid-template-columns: 1fr; }
  .timeline-step {
    padding: 0 0 36px 36px;
    position: relative;
  }
  .timeline-header {
    position: absolute;
    left: 0;
    top: 0;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
    width: 12px;
    height: 100%;
  }
  .timeline-dot { width: 12px; height: 12px; left: 0; }
  .timeline-connector { display: none; }
  /* Connecteur vertical — remplace le ::after horizontal desktop */
  .timeline-step:not(:last-child)::after {
    top: 14px;
    left: 6px;
    right: auto;
    bottom: 0;
    height: auto;
    width: 1px;
  }

  /* ── TIMELINE THESE — verticale, point à gauche ── */
  .chaine-step {
    display: block;
    text-align: left;
    padding: 0 0 32px 44px;
    position: relative;
  }
  .chaine-step-header {
    position: absolute;
    left: 0;
    top: 0;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 0;
    width: 16px;
    height: 100%;
  }
  .chaine-step-line { display: none; }
  .chaine-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 20px;
    bottom: 0;
    right: auto;
    width: 1px;
    height: auto;
    background: var(--leaf);
    opacity: 0.3;
    pointer-events: none;
  }
  .chaine-step-num { text-align: left; font-size: 36px; }

  /* ── SEGMENT THESE — 1 colonne sur 390px ── */
  .segment-items { grid-template-columns: 1fr; }

  /* ── CARTES ── */
  .bif-card { padding: 36px 24px; }

  /* ── FONDATEUR HOMEPAGE — photo alignée à gauche ── */
  .fondateur-grid .fondateur-photo-col {
    max-height: 300px;
    min-height: 0;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .fondateur-grid .fondateur-photo-col img {
    margin-left: 0;
    margin-right: auto;
    max-width: 70%;
  }
  /* Flow naturel du texte */
  .fondateur-text p { word-break: normal; overflow-wrap: break-word; }

  /* ── FONDATEUR PAGE ── */
  .fondateur-fond-section { padding: 56px 24px; }
  .fondateur-page-texte { padding: 48px 24px; }
  .fondateur-photo-col { min-height: 50vh; }

  /* ── THESE : espace entre hero et convictions ── */
  .section-convictions { padding-top: 48px; }

  /* ── FAQ — texte fluide, pas de coupures ── */
  .faq-question-text { padding-right: 48px; }

  /* ── FONDATEUR PAGE — flow naturel, pas de coupures ── */
  .fondateur-page-texte p {
    word-break: normal;
    overflow-wrap: normal;
    max-width: 100%;
  }

  /* ── THÈSE ── */
  .rendement-placeholder { padding: 32px 24px; }

  /* ── CONTACT ── */
  .contact-page { padding: 100px 24px 64px; }
  .contact-tabs { max-width: 100%; }
  .tab-btn { min-height: 44px; padding: 12px 16px; }

  /* ── TYPOGRAPHIE MOBILE ── */
  /* H2 max-size mobile */
  .titre-xl { font-size: clamp(24px, 6vw, 32px); }
}
