/* ==========================================================================
   ASPIPRENEURS — Design system
   Charte graphique issue du logo tangram : marine, teal, orange, doré, vert
   ========================================================================== */

:root {
  /* Palette */
  --navy:        #163A5A;
  --navy-deep:   #0F2A43;
  --navy-ink:    #1C3142;
  --teal:        #1F8A8C;
  --teal-soft:   #E3F0F0;
  --orange:      #EE8A2E;
  --orange-deep: #D9741A;
  --gold:        #F0B429;
  --green:       #5F9E6B;
  --sky:         #5DA6C8;
  --cream:       #FBF9F3;
  --paper:       #FFFFFF;
  --bg-soft:     #F4F8FA;
  --bg-tint:     #EDF3F7;
  --line:        #DCE6EC;
  --body:        #44586B;
  --muted:       #6B7F90;

  /* Typo */
  --font-head: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  /* Rythme */
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 2px 6px rgba(22, 58, 90, .06), 0 14px 34px rgba(22, 58, 90, .08);
  --shadow-sm: 0 1px 3px rgba(22, 58, 90, .07), 0 6px 16px rgba(22, 58, 90, .06);
  --container: 1180px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-ink);
  line-height: 1.22;
  margin: 0 0 .6em;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.15rem); letter-spacing: -.015em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.01em; }
h3 { font-size: 1.22rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
ul, ol { padding-left: 1.3em; margin: 0 0 1.2em; }
li { margin-bottom: .45em; }
strong { color: var(--navy-ink); }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: .7rem 1.2rem;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

.container {
  width: min(var(--container), 92%);
  margin-inline: auto;
}

.section { padding: clamp(3.2rem, 7vw, 5.6rem) 0; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--bg-tint); }
.section--cream { background: var(--cream); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .9rem;
}
.section-intro { max-width: 46rem; }
.lead { font-size: 1.19rem; color: var(--navy-ink); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .98rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  text-decoration: none !important;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-deep); box-shadow: 0 8px 20px rgba(15,42,67,.28); }
.btn--accent { background: var(--orange); color: #fff; }
.btn--accent:hover { background: var(--orange-deep); box-shadow: 0 8px 20px rgba(238,138,46,.35); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); }
.btn .arr { transition: transform .18s ease; }
.btn:hover .arr { transform: translateX(4px); }

.link-arrow {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.link-arrow .arr { transition: transform .18s ease; }
.link-arrow:hover { text-decoration: none; color: var(--navy); }
.link-arrow:hover .arr { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(22,58,90,.10); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none !important;
  margin-right: auto;
  flex-shrink: 0;
}
.brand img { width: 44px; height: 44px; }
.brand-text { line-height: 1.12; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.16rem;
  color: var(--navy);
  letter-spacing: .04em;
  display: block;
}
.brand-tag {
  font-size: .6rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  display: block;
}

.main-nav ul {
  display: flex;
  gap: .25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: block;
  padding: .55rem .6rem;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .92rem;
  white-space: nowrap;
  color: var(--navy-ink);
  border-radius: 8px;
  text-decoration: none !important;
  position: relative;
}
.main-nav a:hover { background: var(--bg-tint); color: var(--navy); }
.main-nav a[aria-current="page"] { color: var(--teal); font-weight: 600; }
.main-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: .85rem; right: .85rem; bottom: .2rem;
  height: 3px;
  border-radius: 2px;
  background: var(--orange);
}
.header-cta { flex-shrink: 0; padding: .75rem 1.3rem; font-size: .92rem; }
.nav-cta-li { display: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: .6rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 3px;
  background: var(--navy);
  border-radius: 2px;
  margin: 5px 0;
  transition: transform .2s ease, opacity .2s ease;
}

@media (max-width: 1120px) {
  .header-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-cta-li { display: block; padding: .4rem .6rem 1rem; }
  .nav-cta-li a { width: 100%; justify-content: center; }
  .main-nav {
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px rgba(22,58,90,.12);
    display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; padding: .8rem 4%; }
  .main-nav a { padding: .9rem .6rem; font-size: 1.05rem; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1000px 480px at 85% -10%, rgba(31,138,140,.10), transparent 60%),
    radial-gradient(700px 420px at -5% 110%, rgba(240,180,41,.10), transparent 55%),
    var(--paper);
  padding: clamp(3.4rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 { margin-bottom: 1.1rem; }
.hero h1 .accent { color: var(--teal); }
.hero p.lead { max-width: 34rem; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin: 1.8rem 0 2.4rem;
}
.hero-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  list-style: none;
  padding: 0; margin: 0;
}
.hero-badges li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .5rem;
  font-size: .82rem;
  line-height: 1.35;
  color: var(--muted);
  margin: 0;
}
.hero-badges svg { width: 30px; height: 30px; }

.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; display: block; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 480px; margin-inline: auto; }
  .hero-badges { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Bandeau stats ---------- */
.stats-band {
  background: linear-gradient(120deg, var(--navy) 0%, #1C4A6E 60%, var(--teal) 130%);
  color: #fff;
  padding: clamp(2.2rem, 4vw, 3.2rem) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.6rem;
  list-style: none;
  margin: 0; padding: 0;
}
.stats-grid li {
  text-align: center;
  margin: 0;
  padding: 0 1rem;
  border-left: 1px solid rgba(255,255,255,.16);
}
.stats-grid li:first-child { border-left: 0; }
.stat-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--gold);
  display: block;
  line-height: 1.1;
}
.stat-label { font-size: .88rem; opacity: .9; line-height: 1.4; display: block; margin-top: .35rem; }
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid li { border-left: 0; }
}

/* ---------- Cartes ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin-top: 2.6rem;
}
.cards-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.9rem 1.7rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: .5rem;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--card-accent, var(--teal));
}
.card--teal   { --card-accent: var(--teal); }
.card--orange { --card-accent: var(--orange); }
.card--gold   { --card-accent: var(--gold); }
.card--green  { --card-accent: var(--green); }
.card--sky    { --card-accent: var(--sky); }
.card--navy   { --card-accent: var(--navy); }

.card-icon {
  width: 62px; height: 62px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--card-accent, var(--teal)) 12%, white);
  margin-bottom: .7rem;
}
.card-icon svg { width: 34px; height: 34px; }
.card-icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.card-icon--art { width: 88px; height: 88px; padding: 10px; border-radius: 20px; }
.card h3 { margin-bottom: .2rem; }
.card p { font-size: .95rem; margin-bottom: .8rem; }
.card .link-arrow { margin-top: auto; }

@media (max-width: 1020px) { .cards-grid, .cards-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards-grid, .cards-grid--3, .cards-grid--2 { grid-template-columns: 1fr; } }

/* ---------- Méthode en étapes ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin-top: 2.8rem;
  counter-reset: step;
}
.step {
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 1.8rem 1.5rem;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.step::after {
  content: "→";
  position: absolute;
  top: 50%; right: -1.15rem;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 1.2rem;
  z-index: 2;
}
.step:last-child::after { display: none; }
.step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--step-color, var(--teal));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  display: grid;
  place-items: center;
  margin: 0 auto .9rem;
  font-size: 1.05rem;
}
.step h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.step p { font-size: .9rem; margin: 0; }
.step-icon { width: 76px; height: 76px; margin: 0 auto 1rem; display: block; }
.step-icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.step-icon--art { width: 96px; height: 96px; }
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Section deux colonnes ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--wide-left { grid-template-columns: 1.1fr .9fr; }
@media (max-width: 900px) { .split, .split--wide-left { grid-template-columns: 1fr; } }

.check-list { list-style: none; padding: 0; margin: 1.4rem 0; }
.check-list li {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  margin-bottom: .9rem;
  color: var(--navy-ink);
}
.check-list svg { flex: 0 0 22px; margin-top: .18rem; }

/* ---------- Témoignage ---------- */
.quote-card {
  background: var(--teal-soft);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2.2rem 1.8rem;
  position: relative;
  border: 1px solid #CFE5E5;
}
.quote-card::before {
  content: "“";
  font-family: var(--font-head);
  font-size: 5rem;
  line-height: 1;
  color: var(--teal);
  opacity: .35;
  position: absolute;
  top: .6rem; left: 1.4rem;
}
.quote-card blockquote {
  margin: 1.4rem 0 1rem;
  font-size: 1.13rem;
  color: var(--navy-ink);
  font-weight: 500;
  line-height: 1.6;
}
.quote-card figcaption { font-size: .9rem; color: var(--muted); }
.quote-card figcaption strong { display: block; color: var(--teal); font-family: var(--font-head); }

/* ---------- Articles / cartes ressources ---------- */
.post-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card-visual {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background: var(--vis-bg, var(--teal-soft));
  overflow: hidden;
}
.post-card-visual svg { width: 56%; height: auto; }
.post-card-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-art img { width: 100%; height: auto; display: block; }
.post-card-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--tag-c, var(--teal));
  background: color-mix(in srgb, var(--tag-c, var(--teal)) 10%, white);
  border: 1px solid color-mix(in srgb, var(--tag-c, var(--teal)) 25%, white);
  padding: .28rem .7rem;
  border-radius: 999px;
  width: fit-content;
}
.tag--article { --tag-c: var(--teal); }
.tag--guide { --tag-c: var(--orange-deep); }
.tag--temoignage { --tag-c: var(--green); }
.tag--evenement { --tag-c: var(--sky); }
.tag--outil { --tag-c: var(--navy); }
.post-card h3 { font-size: 1.08rem; margin: .2rem 0 0; }
.post-card h3 a { color: var(--navy-ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--teal); }
.post-card .meta { font-size: .8rem; color: var(--muted); }
.post-card .link-arrow { margin-top: auto; padding-top: .6rem; font-size: .9rem; }

/* ---------- Fondateur ---------- */
.founder-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 4.4;
  background: linear-gradient(150deg, var(--teal) 0%, var(--navy) 100%);
  display: grid;
  place-items: center;
  color: #fff;
  text-align: center;
  padding: 2rem;
}
.founder-photo .initials {
  font-family: var(--font-head);
  font-size: 4.4rem;
  font-weight: 700;
  color: rgba(255,255,255,.9);
  line-height: 1;
}
.founder-photo .role-hint { font-size: .85rem; opacity: .75; margin-top: .8rem; }
.founder-sign {
  font-family: 'Segoe Script', 'Bradley Hand', cursive;
  font-size: 1.6rem;
  color: var(--navy);
}
.mini-facts { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 1rem; }
.mini-facts li { display: flex; gap: .8rem; align-items: flex-start; margin: 0; font-size: .95rem; color: var(--navy-ink); }
.mini-facts svg { flex: 0 0 26px; }

/* ---------- Partenaires ---------- */
.partners-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.4rem 3.4rem;
  margin-top: 2.2rem;
}
.partner {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.06rem;
  color: #8CA0B0;
  letter-spacing: .02em;
  filter: grayscale(1);
  opacity: .8;
  transition: filter .2s, opacity .2s;
}
.partner:hover { filter: none; opacity: 1; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, var(--navy) 0%, #1A4A6E 55%, var(--teal) 120%);
  border-radius: var(--radius-lg);
  padding: clamp(2.4rem, 5vw, 4rem);
  color: #fff;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.88); max-width: 40rem; margin-inline: auto; }
.cta-band .hero-actions { justify-content: center; }
.cta-band::before, .cta-band::after {
  content: "";
  position: absolute;
  width: 280px; height: 280px;
  background:
    linear-gradient(135deg, transparent 49.5%, rgba(240,180,41,.35) 50%, transparent 51%),
    linear-gradient(45deg, rgba(93,166,200,.18) 25%, transparent 25%, transparent 75%, rgba(93,166,200,.18) 75%);
  opacity: .5;
  pointer-events: none;
}
.cta-band::before { top: -120px; left: -80px; transform: rotate(12deg); }
.cta-band::after { bottom: -130px; right: -70px; transform: rotate(-8deg); }

/* ---------- Fil d'Ariane ---------- */
.breadcrumb {
  font-size: .85rem;
  color: var(--muted);
  padding: 1.1rem 0 0;
}
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; }
.breadcrumb li { margin: 0; display: flex; gap: .4rem; align-items: center; }
.breadcrumb li + li::before { content: "›"; color: var(--line); }
.breadcrumb a { color: var(--muted); }
.breadcrumb [aria-current] { color: var(--navy-ink); font-weight: 600; }

/* ---------- Hero de page intérieure ---------- */
.page-hero {
  background:
    radial-gradient(800px 380px at 90% -20%, rgba(31,138,140,.12), transparent 60%),
    radial-gradient(600px 360px at -5% 120%, rgba(238,138,46,.08), transparent 55%),
    var(--bg-soft);
  padding: clamp(2.4rem, 5vw, 4.2rem) 0;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { max-width: 50rem; }
.page-hero .lead { max-width: 44rem; }

/* ---------- Corps d'article ---------- */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 980px) { .article-layout { grid-template-columns: 1fr; } }

.prose { max-width: 44rem; }
.prose h2 { margin-top: 2.4rem; padding-top: .4rem; }
.prose h3 { margin-top: 1.8rem; }
.prose p, .prose li { color: var(--body); }
.prose img { border-radius: var(--radius); }
.prose blockquote {
  margin: 2rem 0;
  padding: 1.3rem 1.6rem;
  border-left: 4px solid var(--orange);
  background: var(--cream);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.1rem;
  color: var(--navy-ink);
  font-weight: 500;
}
.prose blockquote p { margin: 0; color: var(--navy-ink); }
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6rem 0;
  font-size: .94rem;
  background: #fff;
}
.prose th, .prose td {
  border: 1px solid var(--line);
  padding: .7rem .9rem;
  text-align: left;
  vertical-align: top;
}
.prose th { background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .88rem; }
.prose tr:nth-child(even) td { background: var(--bg-soft); }

.callout {
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  margin: 1.8rem 0;
  border: 1px solid;
  font-size: .98rem;
}
.callout p:last-child { margin-bottom: 0; }
.callout--info { background: var(--teal-soft); border-color: #BFDEDE; }
.callout--warn { background: #FCF3E4; border-color: #F0DCB4; }
.callout--key  { background: var(--cream); border-color: #EADFC8; }
.callout strong:first-child { font-family: var(--font-head); }

.article-toc {
  position: sticky;
  top: 100px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  font-size: .92rem;
}
.article-toc h2 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .8rem; }
.article-toc ol { margin: 0; padding-left: 1.1rem; }
.article-toc a { color: var(--body); }
.article-toc a:hover { color: var(--teal); }
@media (max-width: 980px) { .article-toc { position: static; } }

.article-header { max-width: 46rem; }
.article-header .meta { display: flex; gap: 1rem; flex-wrap: wrap; color: var(--muted); font-size: .9rem; margin-top: 1rem; }
.article-footer-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3.4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

/* ---------- FAQ ---------- */
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: .9rem;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 1.15rem 1.4rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy-ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--teal);
  transition: transform .2s ease;
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .faq-body { padding: 1.1rem 1.4rem 1.3rem; }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ---------- Listes de valeurs / principes ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2.4rem;
}
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  border-top: 4px solid var(--pillar-c, var(--teal));
  background: var(--paper);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 1.5rem 1.5rem 1.6rem;
  box-shadow: var(--shadow-sm);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pillar h3 { font-size: 1.05rem; }
.pillar p { font-size: .94rem; margin: 0; }

/* ---------- Manifeste ---------- */
.manifesto { max-width: 46rem; margin-inline: auto; }
.manifesto .statement {
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  color: var(--navy-ink);
  font-weight: 600;
  line-height: 1.45;
  border-left: 5px solid var(--orange);
  padding-left: 1.4rem;
  margin: 2.6rem 0;
}
.promise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin: 2.6rem 0; }
@media (max-width: 800px) { .promise-grid { grid-template-columns: 1fr; } }
.promise {
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  border: 1px solid var(--line);
}
.promise--yes { background: var(--teal-soft); border-color: #BFDEDE; }
.promise--no { background: #FBEFEA; border-color: #F0D5C8; }
.promise h3 { display: flex; align-items: center; gap: .6rem; }
.promise ul { margin: 0; padding-left: 1.15rem; }
.promise li { font-size: .95rem; }

/* ---------- Newsletter ---------- */
.newsletter-form {
  display: flex;
  gap: .6rem;
  margin-top: 1rem;
  max-width: 420px;
}
.newsletter-form input {
  flex: 1;
  padding: .8rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: .95rem;
  min-width: 0;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.55); }
.newsletter-form .btn { padding: .8rem 1.4rem; }
@media (max-width: 480px) { .newsletter-form { flex-direction: column; } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.78);
  font-size: .92rem;
  margin-top: clamp(3rem, 7vw, 5.5rem);
}
.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr;
  gap: 2.2rem;
  padding: clamp(2.6rem, 5vw, 4rem) 0 2.4rem;
}
.footer-brand img { width: 52px; height: 52px; margin-bottom: 1rem; }
.footer-brand .brand-name { color: #fff; font-size: 1.1rem; }
.footer-brand p { font-size: .88rem; line-height: 1.65; }
.footer-col h2, .footer-col h3 {
  color: #fff;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .55rem; }
.footer-col a { color: rgba(255,255,255,.72); }
.footer-col a:hover { color: var(--gold); text-decoration: none; }
.social-row { display: flex; gap: .7rem; margin-top: 1.1rem; }
.social-row a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.8);
  transition: background .2s, border-color .2s;
}
.social-row a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.social-row svg { width: 16px; height: 16px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 1.3rem 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
}
.footer-bottom ul { list-style: none; display: flex; gap: 1.4rem; padding: 0; margin: 0; flex-wrap: wrap; }
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: #fff; }
.footer-fox { width: 42px; opacity: .55; }
@media (max-width: 980px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-main { grid-template-columns: 1fr; } }

/* ---------- Divers ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: 2.4rem; }
.notice-update { font-size: .85rem; color: var(--muted); font-style: italic; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; }
@media (max-width: 800px) { .grid-2 { grid-template-columns: 1fr; } }

.event-line {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}
.event-date {
  flex: 0 0 74px;
  text-align: center;
  background: var(--teal-soft);
  border: 1px solid #CFE5E5;
  border-radius: var(--radius);
  padding: .55rem .3rem;
  font-family: var(--font-head);
  line-height: 1.15;
}
.event-date .d { font-size: 1.5rem; font-weight: 700; color: var(--teal); display: block; }
.event-date .m { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--navy); }
.event-line h3 { margin-bottom: .15rem; font-size: 1.05rem; }
.event-line p { margin: 0; font-size: .92rem; }

/* ---------- Page 404 ---------- */
.error-hero { text-align: center; padding: clamp(4rem, 10vw, 7rem) 0; }
.error-hero .code {
  font-family: var(--font-head);
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  margin: 0 0 1rem;
}

/* ==========================================================================
   VIDÉOS — ciné-fiches à façade (aucune requête tierce avant le clic)
   ========================================================================== */

.tag--video { --tag-c: var(--orange-deep); }

.video-shelf {
  display: grid;
  gap: clamp(1.6rem, 3vw, 2.4rem);
}

.video-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
}

@media (max-width: 820px) {
  .video-card { grid-template-columns: 1fr; }
}

/* --- Façade : miniature locale + bouton --- */

.video-facade {
  position: relative;
  margin: 0;
  background: var(--navy-deep);
  aspect-ratio: 16 / 9;
  border: 0;
  padding: 0;
  width: 100%;
  cursor: pointer;
  display: block;
  overflow: hidden;
}

.video-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease, filter .35s ease;
}

.video-facade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(15, 42, 67, .18) 0%, rgba(15, 42, 67, .58) 100%);
  transition: opacity .3s ease;
}

.video-facade:hover img,
.video-facade:focus-visible img { transform: scale(1.03); }

.video-facade:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }

.video-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-content: center;
  gap: .8rem;
  justify-items: center;
  color: #fff;
  pointer-events: none;
}

.video-play-disc {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  border: 2px solid rgba(255, 255, 255, .85);
  backdrop-filter: blur(3px);
  display: grid;
  place-content: center;
  transition: background .25s ease, transform .25s ease;
}

.video-play-disc svg { width: 22px; height: 22px; margin-left: 4px; fill: #fff; }

.video-facade:hover .video-play-disc,
.video-facade:focus-visible .video-play-disc {
  background: var(--orange);
  border-color: var(--orange);
  transform: scale(1.06);
}

.video-duration {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  background: rgba(15, 42, 67, .72);
  padding: .3rem .7rem;
  border-radius: 999px;
}

/* --- Corps de la fiche --- */

.video-body {
  padding: clamp(1.5rem, 3vw, 2.2rem);
  display: flex;
  flex-direction: column;
  gap: .85rem;
}

.video-body h3 {
  font-size: 1.18rem;
  line-height: 1.32;
  margin: 0;
}

.video-body p {
  font-size: .93rem;
  margin: 0;
  color: var(--body);
}

.video-facts {
  list-style: none;
  margin: .2rem 0 0;
  padding: .9rem 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: .5rem;
  font-size: .85rem;
  color: var(--muted);
}

.video-facts li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: .6rem;
}

.video-facts dt,
.video-facts .k {
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
  padding-top: .12rem;
}

.video-consent {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-size: .8rem;
  line-height: 1.45;
  color: var(--muted);
  background: var(--bg-tint);
  border-radius: var(--radius);
  padding: .75rem .9rem;
  margin-top: auto;
}

.video-consent svg { flex: none; width: 15px; height: 15px; margin-top: .12rem; fill: var(--teal); }

.video-consent a { color: var(--navy); }

/* --- État lecture : l'iframe remplace la façade --- */

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .video-facade img,
  .video-play-disc { transition: none; }
  .video-facade:hover img { transform: none; }
}

/* ==========================================================================
   ADHÉSION — bloc cotisation + parcours HelloAsso
   ========================================================================== */

.join-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 20rem);
  gap: clamp(1.6rem, 3vw, 2.6rem);
  align-items: start;
}

@media (max-width: 900px) { .join-grid { grid-template-columns: 1fr; } }

.join-price {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2rem);
  box-shadow: var(--shadow);
  position: sticky;
  top: 6rem;
}

@media (max-width: 900px) { .join-price { position: static; } }

.join-price .k {
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .68);
}

.join-amount {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 2.9rem);
  line-height: 1.05;
  margin: .35rem 0 .1rem;
  display: block;
}


.join-period { font-size: .9rem; color: rgba(255, 255, 255, .78); }

.join-price hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, .18);
  margin: 1.2rem 0;
}

.join-price .btn--accent { width: 100%; justify-content: center; }

.join-price .fineprint {
  font-size: .78rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, .7);
  margin: .9rem 0 0;
}

.join-steps {
  list-style: none;
  counter-reset: step;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.join-steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2.1rem 1fr;
  gap: .9rem;
  align-items: start;
}

.join-steps li::before {
  content: counter(step);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .92rem;
  color: var(--teal);
  background: var(--teal-soft);
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  display: grid;
  place-content: center;
}

.join-steps strong { display: block; margin-bottom: .15rem; }

.join-steps p { margin: 0; font-size: .9rem; }

/* ==========================================================================
   GUIDE — bloc de tête « pièce maîtresse » sur la page Ressources
   ========================================================================== */

.guide-feature {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: var(--radius-lg);
  color: #fff;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: clamp(1.6rem, 4vw, 3rem);
  padding: clamp(1.6rem, 4vw, 2.8rem);
  align-items: start;
  box-shadow: var(--shadow);
}

@media (max-width: 860px) {
  .guide-feature { grid-template-columns: 1fr; justify-items: start; }
}

.guide-cover {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 34px rgba(0, 0, 0, .38);
  transform: rotate(-1.6deg);
  transition: transform .3s ease;
  max-width: 15rem;
  display: block;
}

.guide-cover:hover { transform: rotate(0deg) translateY(-3px); }

.guide-cover img { display: block; width: 100%; height: auto; }

.guide-feature h2 {
  color: #fff;
  margin: .3rem 0 .6rem;
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  line-height: 1.18;
}

.guide-feature .eyebrow { color: var(--gold); margin-bottom: .2rem; }

.guide-feature > div > p { color: rgba(255, 255, 255, .84); font-size: .97rem; }

.guide-specs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1.1rem 0 0;
  padding: 0;
}

.guide-specs li {
  font-family: var(--font-head);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .9);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  padding: .32rem .8rem;
}

.guide-toc {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 1.4rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: .9rem 1.6rem;
}

.guide-toc li { display: grid; grid-template-columns: 2rem 1fr; gap: .7rem; }

.guide-toc .n {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  color: var(--gold);
}

.guide-toc strong { display: block; font-size: .95rem; font-weight: 600; color: #fff; }

.guide-toc span.d { font-size: .84rem; color: rgba(255, 255, 255, .68); }

.guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  align-items: center;
  margin-top: 1.6rem;
}

.guide-actions .btn--ghost {
  border-color: rgba(255, 255, 255, .5);
  color: #fff;
  background: transparent;
}

.guide-actions .btn--ghost:hover { background: rgba(255, 255, 255, .1); }

.guide-note {
  font-size: .8rem;
  color: rgba(255, 255, 255, .62);
  margin: .9rem 0 0;
}

@media (prefers-reduced-motion: reduce) {
  .guide-cover, .guide-cover:hover { transition: none; transform: none; }
}

/* ==========================================================================
   ACTUALITÉS
   ========================================================================== */

.news-list { display: grid; gap: 1.4rem; }

.news-item {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.2rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius-lg);
  padding: clamp(1.3rem, 3vw, 1.9rem);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 720px) { .news-item { grid-template-columns: 1fr; gap: .7rem; } }

.news-date span {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
  display: block;
  padding-top: .15rem;
}

.news-body { display: flex; flex-direction: column; gap: .6rem; }

.news-body h2 { font-size: 1.16rem; line-height: 1.34; margin: 0; }

.news-body p { margin: 0; font-size: .95rem; }

/* ==========================================================================
   FORMULAIRE DE CONTACT / ADMISSION
   ========================================================================== */

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 1.4rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3.4vw, 2.2rem);
  box-shadow: var(--shadow-sm);
  margin-top: 1.6rem;
}

@media (max-width: 700px) { .contact-form { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }

.field--full { grid-column: 1 / -1; }

.field > label,
.field legend {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
  color: var(--navy);
}

.field .hint {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: .8rem;
  color: var(--muted);
  margin-top: .12rem;
}

.field abbr { color: var(--orange-deep); text-decoration: none; margin-left: .15rem; }

.field input[type="text"],
.field input[type="email"],
.field textarea {
  font: inherit;
  font-size: .95rem;
  color: var(--body);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .7rem .85rem;
  width: 100%;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: none;
  background: var(--paper);
  border-color: var(--teal);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 22%, transparent);
}

.field textarea { resize: vertical; }

fieldset.field { border: 0; padding: 0; margin: 0; }

.field > label.choice,
.choice {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: .93rem;
  color: var(--body);
  cursor: pointer;
  padding: .2rem 0;
}

.choice input { accent-color: var(--teal); width: 1.05rem; height: 1.05rem; }

.form-actions {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
}

.form-rgpd {
  flex: 1 1 20rem;
  font-size: .8rem;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}

/* ==========================================================================
   MÉTHODE A.S.P.I.R.E. — six étapes, présentées par leurs lettres
   ========================================================================== */

.aspire {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.1rem;
  margin-top: 1.8rem;
  counter-reset: aspire;
}

.aspire-step {
  --a-color: var(--teal);
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--a-color);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.4rem 1.5rem;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  grid-template-rows: auto auto;
  column-gap: 1rem;
  row-gap: .35rem;
  align-items: start;
  transition: transform .2s ease, box-shadow .2s ease;
}

.aspire-step:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

@media (min-width: 900px) { .aspire { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.aspire-letter {
  grid-row: 1 / 3;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--a-color);
  background: color-mix(in srgb, var(--a-color) 11%, white);
  border-radius: var(--radius);
  width: 3.2rem;
  height: 3.2rem;
  display: grid;
  place-content: center;
}

.aspire-step h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.3;
  align-self: center;
}

.aspire-step p {
  margin: 0;
  font-size: .89rem;
  color: var(--muted);
  grid-column: 2;
}

.aspire-word {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: .3em;
  color: var(--teal);
  font-size: .9rem;
  text-transform: uppercase;
  margin-bottom: .3rem;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .aspire-step, .aspire-step:hover { transition: none; transform: none; }
}

/* Barre de repères : valeurs textuelles plus longues que des nombres */
.stat-num--word { font-size: clamp(1.15rem, 1.9vw, 1.5rem); letter-spacing: -.01em; }

/* ==========================================================================
   PARTENAIRES ASSOCIATIFS — cartes liées, pas une bande de logos
   ========================================================================== */

.partner-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
  max-width: 56rem;
  margin-inline: auto;
  text-align: left;
}

.partner-card {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.partner-card:hover,
.partner-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--teal) 45%, white);
}

.partner-card h3 {
  font-size: 1.06rem;
  margin: 0 0 .45rem;
  color: var(--navy);
  display: flex;
  align-items: baseline;
  gap: .5rem;
  flex-wrap: wrap;
}

.partner-card p { margin: 0 0 .8rem; font-size: .9rem; color: var(--body); }

.partner-card .site {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  color: var(--teal);
}

.partner-card .site .arr { transition: transform .2s ease; display: inline-block; }

.partner-card:hover .site .arr { transform: translateX(3px); }

@media (prefers-reduced-motion: reduce) {
  .partner-card, .partner-card:hover, .partner-card .site .arr { transition: none; transform: none; }
}

/* Portrait du fondateur : photo réelle à la place des initiales */
.founder-photo { position: relative; padding: 0; }

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}

.founder-photo figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.2rem 1.2rem .95rem;
  font-size: .85rem;
  color: #fff;
  text-align: center;
  background: linear-gradient(to top, rgba(15, 42, 67, .78) 0%, rgba(15, 42, 67, 0) 100%);
}

/* Message d'erreur de formulaire, renvoyé par la fonction serveur */
.form-error {
  background: #FDF3EE;
  border: 1px solid #E8B79A;
  border-left: 4px solid var(--orange-deep);
  border-radius: var(--radius);
  color: #7A3B14;
  font-size: .92rem;
  line-height: 1.5;
  padding: .9rem 1.1rem;
  margin: 1.4rem 0 0;
}
