/* ==========================================================================
   INTEGRA Academy — Design tokens
   ========================================================================== */
:root {
  --ink: #14171A;
  --ink-soft: #383D42;
  --paper: #F7F4EE;
  --paper-alt: #EFEAE0;
  --steel: #2E5266;
  --steel-light: #6E93A8;
  --silver: #767E85;
  --line: #DCD6C8;
  --white: #FFFFFF;

  /* Palette INTEGRA — dérivée du bandeau "7 valeurs", utilisée avec parcimonie ailleurs */
  --hue-i: #1F3F52;
  --hue-n: #235A78;
  --hue-t: #1F6E68;
  --hue-e: #3C7A57;
  --hue-g: #A1801F;
  --hue-r: #B3592C;
  --hue-a: #8C3A3F;

  /* Teintes claires des 7 couleurs, lisibles sur fond marine (footer) */
  --tint-i: #7C9DB0;
  --tint-n: #7FB2D6;
  --tint-t: #74C2BB;
  --tint-e: #8FC79F;
  --tint-g: #E3BE73;
  --tint-r: #E4977A;
  --tint-a: #CF8083;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
}

h2 { font-size: clamp(1.9rem, 3.2vw, 2.75rem); margin-bottom: 1.25rem; }
h3 { font-size: 1.25rem; font-weight: 500; margin-bottom: 0.5rem; }

p { margin: 0 0 1rem; color: var(--ink-soft); font-weight: 500; text-align: justify; text-justify: inter-word; }

a { color: inherit; text-decoration: none; }

img, svg { display: block; max-width: 100%; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  z-index: 200;
}
.skip-link:focus { left: 1rem; top: 1rem; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--steel);
  outline-offset: 3px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 600;
  margin-bottom: 1rem;
}
.eyebrow--light { color: var(--steel-light); }

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.9rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  min-height: 44px;
}
.btn--primary {
  background: var(--hue-i);
  color: var(--white);
}
.btn--primary:hover { background: var(--hue-t); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--hue-i);
}
.btn--ghost:hover { background: var(--hue-i); color: var(--white); }
.btn--wide { width: 100%; }

/* ==========================================================================
   Quote ticker
   ========================================================================== */
.quote-ticker {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  height: 34px;
  background: var(--hue-t);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.quote-ticker__track {
  display: flex;
  gap: 4rem;
  white-space: nowrap;
  padding-left: 4rem;
  animation: ticker-scroll 28s linear infinite;
}
.quote-ticker__item {
  color: rgba(247, 244, 238, 0.85);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.82rem;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .quote-ticker__track { animation: none; }
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed;
  inset: 34px 0 auto 0;
  z-index: 100;
  background: transparent;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}
.nav.is-scrolled {
  background: rgba(247, 244, 238, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__top {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1rem var(--gutter) 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}
.nav__top-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav__whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--steel);
  color: var(--white);
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.2s var(--ease);
}
.nav__whatsapp:hover { background: var(--steel-light); transform: scale(1.06); }

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
}
.wordmark__mark { color: var(--ink); flex-shrink: 0; }
.wordmark__text { display: flex; flex-direction: column; line-height: 1; }
.wordmark__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.wordmark__sub {
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  color: var(--steel);
  font-weight: 600;
  margin-top: 0.2rem;
}

.wordmark__name--rainbow .wm-i { color: var(--hue-i); }
.wordmark__name--rainbow .wm-n { color: var(--hue-n); }
.wordmark__name--rainbow .wm-t { color: var(--hue-t); }
.wordmark__name--rainbow .wm-e { color: var(--hue-e); }
.wordmark__name--rainbow .wm-g { color: var(--hue-g); }
.wordmark__name--rainbow .wm-r { color: var(--hue-r); }
.wordmark__name--rainbow .wm-a { color: var(--hue-a); }

.wordmark__name--rainbow-dark .wm-i { color: var(--tint-i); }
.wordmark__name--rainbow-dark .wm-n { color: var(--tint-n); }
.wordmark__name--rainbow-dark .wm-t { color: var(--tint-t); }
.wordmark__name--rainbow-dark .wm-e { color: var(--tint-e); }
.wordmark__name--rainbow-dark .wm-g { color: var(--tint-g); }
.wordmark__name--rainbow-dark .wm-r { color: var(--tint-r); }
.wordmark__name--rainbow-dark .wm-a { color: var(--tint-a); }

.nav__links {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.45rem var(--gutter);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  row-gap: 0.35rem;
  gap: 1.2rem;
  font-size: 0.85rem;
  font-weight: 500;
}
.nav__links a { padding: 0.22rem 0; position: relative; }
.nav__links a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--steel);
  transition: right 0.3s var(--ease);
}
.nav__links a:not(.nav__cta):hover::after { right: 0; }
.nav__cta {
  border: 1px solid var(--hue-i);
  padding: 0.6rem 1.2rem;
  border-radius: 2px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.nav__cta:hover { background: var(--hue-i); color: var(--white); }

.nav__lang {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.85rem !important;
  color: var(--ink-soft) !important;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.nav__lang:hover { border-color: var(--hue-i); color: var(--hue-i) !important; }
.nav__lang::after { content: none !important; }
.footer__links .nav__lang { border-color: rgba(247, 244, 238, 0.3); color: rgba(247, 244, 238, 0.85) !important; }
.footer__links .nav__lang:hover { border-color: var(--paper); color: var(--paper) !important; }

.nav__langgroup {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.nav__lang--current {
  cursor: default;
  background: var(--hue-i);
  border-color: var(--hue-i);
  color: var(--paper) !important;
}
.nav__lang--current:hover { border-color: var(--hue-i); color: var(--paper) !important; }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 0 auto;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  background: var(--paper);
  padding: 0.5rem var(--gutter) 2rem;
  gap: 0.25rem;
  border-top: 1px solid var(--line);
}
.nav__mobile a {
  padding: 0.85rem 0;
  font-size: 1.05rem;
  border-bottom: 1px solid var(--line);
}
.nav__mobile .nav__cta {
  margin-top: 1rem;
  text-align: center;
  border: 1px solid var(--hue-i);
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__top-right .nav__langgroup,
  .nav__top-right .nav__cta,
  .nav__top-right .nav__whatsapp { display: none; }
  .nav__toggle { display: flex; }
  .nav.is-open .nav__mobile { display: flex; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: calc(9rem + 34px) var(--gutter) 5rem;
  overflow: hidden;
}
.hero__inner {
  max-width: 760px;
  position: relative;
  z-index: 2;
}
.hero__title {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 400;
  position: relative;
  opacity: 0;
  transform: translateY(-28px);
  animation: hero-title-in 0.9s var(--ease) 0.1s forwards;
}
.hero__title em {
  font-style: italic;
  color: var(--steel);
}
.hero__title::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.55) 48%, rgba(255, 255, 255, 0.85) 50%, rgba(255, 255, 255, 0.55) 52%, transparent 70%);
  background-size: 250% 100%;
  background-position: -150% 0;
  mix-blend-mode: overlay;
  opacity: 0;
  pointer-events: none;
  animation: hero-title-shine 1.8s ease-out 1.05s 1 forwards;
}
@keyframes hero-title-in {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hero-title-shine {
  0% { background-position: -150% 0; opacity: 0; }
  15% { opacity: 1; }
  60% { opacity: 1; }
  100% { background-position: 150% 0; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__title { opacity: 1; transform: none; animation: none; }
  .hero__title::after { animation: none; opacity: 0; }
}
.hero__lede {
  margin-top: 1.75rem;
  max-width: 46ch;
  font-size: 1.1rem;
}
.hero__actions {
  margin-top: 2.25rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero__frame {
  position: absolute;
  right: -10%;
  top: 50%;
  width: 60vw;
  max-width: 640px;
  aspect-ratio: 3 / 4;
  transform: translateY(-50%);
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, var(--paper) 0%, var(--paper) 8%, transparent 42%) center / 100% 100% no-repeat,
    url("../assets/hero-abstract-ripples.svg") center / cover no-repeat;
  z-index: 1;
}
.hero__frame::before {
  content: "";
  position: absolute;
  inset: 26px;
  border: 1px solid var(--steel-light);
  opacity: 0.35;
}
@media (max-width: 900px) {
  .hero__frame { display: none; }
}

/* ==========================================================================
   Sections shared
   ========================================================================== */
section > div {
  max-width: var(--container);
  margin: 0 auto;
  padding: 6rem var(--gutter);
}
#top.intro > div,
#top.cookies-policy > div { padding-top: calc(9rem + 34px); }

main section[id] { scroll-margin-top: calc(6.5rem + 34px); }

.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 1rem;
  align-items: baseline;
}
.intro__lead {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--ink);
  font-weight: 400;
}
@media (max-width: 760px) {
  .intro__grid { grid-template-columns: 1fr; }
}

.intro__name {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin: 0 0 1.5rem;
}
.intro__name-en {
  display: block;
  font-weight: 400;
  font-style: italic;
  color: var(--silver);
  letter-spacing: 0.01em;
  margin-top: 0.3rem;
}

/* ==========================================================================
   Traductions anglaises des titres de section
   ========================================================================== */
.h2-en {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  font-style: italic;
  color: var(--silver);
  margin: -0.75rem 0 1.25rem;
}
.h2-en--light { color: rgba(247, 244, 238, 0.6); }

/* ==========================================================================
   Founder
   ========================================================================== */
.founder { background: var(--paper-alt); }
.founder__grid {
  margin-top: 1rem;
}
.founder__portrait {
  float: left;
  width: min(320px, 40%);
  aspect-ratio: 4 / 5;
  background: linear-gradient(155deg, var(--paper) 0%, var(--paper-alt) 75%);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  margin: 0 2.75rem 1.5rem 0;
}
.founder__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.founder__portrait::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid var(--white);
  opacity: 0.5;
  pointer-events: none;
}
.founder__content h2 { margin-bottom: 0.35rem; margin-top: 0; }
.founder__role {
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 600;
  margin-bottom: 1.75rem;
}
.founder__story {
  font-family: var(--font-display);
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 1.75rem;
}
.founder__story p { margin: 0 0 0.85rem; color: var(--ink); }
.founder__story p:last-child { margin-bottom: 0; }

.founder__vision {
  clear: both;
  margin-bottom: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.founder__vision-label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.founder__vision-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink);
  margin: 0;
}
.founder__credentials {
  list-style: none;
  margin: 0;
  padding: 0;
}
.founder__credentials li {
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 1.02rem;
  font-weight: 500;
}
.founder__credentials li:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 640px) {
  .founder__portrait { float: none; width: 100%; max-width: 320px; margin: 0 0 1.5rem; }
}

/* ==========================================================================
   Pillars — les 7 lettres d'INTEGRA (bandeau animé)
   ========================================================================== */
.pillars { background: var(--paper); border-top: 1px solid var(--line); overflow: hidden; }
.pillars__hint {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--silver);
}

.pillars__marquee {
  margin-top: 2.5rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.pillars__track {
  display: flex;
  width: max-content;
  animation: pillars-scroll 36s linear infinite;
}
.pillars__marquee:hover .pillars__track,
.pillars__marquee:focus-within .pillars__track {
  animation-play-state: paused;
}
@keyframes pillars-scroll {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.pillars__set {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0 0.625rem;
}

.pillar {
  flex: 0 0 auto;
  width: 260px;
  padding: 2.25rem 1.75rem;
  border-radius: 14px;
  color: #FFFFFF;
  box-shadow: 0 14px 30px -12px rgba(20, 23, 26, 0.35);
}
.pillar__letter {
  display: block;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.5rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1.5rem;
}
.pillar h3 {
  color: #FFFFFF;
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}
.pillar p { color: rgba(255, 255, 255, 0.88); margin: 0; }

.pillar--i { background: var(--hue-i); }
.pillar--n { background: var(--hue-n); }
.pillar--t { background: var(--hue-t); }
.pillar--e { background: var(--hue-e); }
.pillar--g { background: var(--hue-g); }
.pillar--r { background: var(--hue-r); }
.pillar--a { background: var(--hue-a); }

@media (max-width: 640px) {
  .pillar { width: 220px; padding: 1.85rem 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .pillars__marquee { -webkit-mask-image: none; mask-image: none; overflow-x: auto; }
  .pillars__track { animation: none; width: max-content; }
  .pillars__set--dup { display: none; }
}

/* ==========================================================================
   Pôles &amp; publics
   ========================================================================== */
.programs__note {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--silver);
}
.poles__grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.pole {
  background: var(--paper);
  padding: 2.5rem;
}
.pole__icon {
  display: inline-flex;
  color: var(--steel);
  margin-bottom: 1.25rem;
}
.pole--mentale .pole__icon { color: var(--hue-t); }
.pole--scolaire .pole__icon { color: var(--hue-n); }
.pole--dev .pole__icon { color: var(--hue-g); }
.pole--pro .pole__icon { color: var(--hue-i); }
.pole h3 { margin-bottom: 1.25rem; }
.pole__meta {
  margin: 0;
  display: grid;
  gap: 1rem;
}
.pole__meta dt {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 0.3rem;
}
.pole__meta dd {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 500;
}
@media (max-width: 760px) {
  .poles__grid { grid-template-columns: 1fr; }
  .pole { padding: 2rem; }
}

/* ==========================================================================
   Nos activités
   ========================================================================== */
.activities { background: var(--paper-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.activities__list {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.activities__list li {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
}

/* ==========================================================================
   Actualités &amp; ressources
   ========================================================================== */
.news { border-top: 1px solid var(--line); }
.news__grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.news__card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.5rem;
}
.news__tag {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 600;
}
.news__card h3 { font-size: 1rem; line-height: 1.35; margin-bottom: 0; }
.news__card p { font-size: 0.85rem; line-height: 1.55; margin: 0; flex-grow: 1; }
.news__source {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--steel);
  align-self: flex-start;
  border-bottom: 1px solid transparent;
}
.news__source:hover { border-bottom-color: var(--steel); }
@media (max-width: 900px) {
  .news__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .news__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Formations — catalogue (page formations.html)
   ========================================================================== */
.courses { background: var(--paper-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.courses__grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.course-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 2rem;
}
.course-card__tag {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 600;
}
.course-card h3 { font-size: 1.15rem; margin-bottom: 0; }
.course-card__meta {
  margin: 0;
  display: grid;
  gap: 0.6rem;
}
.course-card__meta dt {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 0.2rem;
}
.course-card__meta dd { margin: 0; font-size: 0.9rem; color: var(--ink-soft); font-weight: 500; }
.course-card p { font-size: 0.95rem; margin: 0; flex-grow: 1; }
.course-card__note {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--line);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--silver);
  flex-grow: 0 !important;
}
@media (max-width: 900px) {
  .courses__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .courses__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Why
   ========================================================================== */
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 2.5rem;
}
.why__item { border-top: 2px solid var(--hue-i); padding-top: 1.25rem; }
.why__item:nth-child(1) { border-top-color: var(--hue-g); }
.why__item:nth-child(2) { border-top-color: var(--hue-t); }
.why__item:nth-child(3) { border-top-color: var(--hue-i); }
@media (max-width: 760px) {
  .why__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Method
   ========================================================================== */
.method { background: var(--paper-alt); }
.method__steps {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
}
.method__step {
  display: flex;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}
.method__step:last-child { border-bottom: 1px solid var(--line); }
.method__step-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--steel-light);
  flex-shrink: 0;
  width: 3rem;
}
.method__step:nth-child(1) .method__step-num { color: var(--hue-i); }
.method__step:nth-child(2) .method__step-num { color: var(--hue-t); }
.method__step:nth-child(3) .method__step-num { color: var(--hue-g); }
@media (max-width: 600px) {
  .method__step { gap: 1.25rem; }
  .method__step-num { width: 2rem; font-size: 1.2rem; }
}

/* ==========================================================================
   Nos références
   ========================================================================== */
.references__grid {
  margin: 2.5rem auto 0;
  max-width: 640px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.reference {
  min-width: 0;
  background: var(--paper);
  aspect-ratio: 3 / 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.4rem;
  padding: 1.5rem;
}
.reference__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
}
.reference__sector {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver);
}
.reference--brand {
  cursor: pointer;
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.reference--brand:hover,
.reference--brand:focus-visible {
  background: var(--paper-alt);
  box-shadow: inset 0 -2px 0 var(--hue-i);
}
.reference__logo {
  display: block;
  max-width: 130px;
  max-height: 42px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin-bottom: 0.3rem;
  filter: grayscale(1) opacity(0.7);
  transition: filter 0.25s var(--ease);
}
.reference--brand:hover .reference__logo,
.reference--brand:focus-visible .reference__logo {
  filter: grayscale(0) opacity(1);
}
@media (max-width: 480px) {
  .references__grid { grid-template-columns: 1fr; max-width: 320px; }
}

.proof__asterisk {
  font-size: 0.55em;
  vertical-align: super;
  color: var(--steel);
  margin-inline-start: 0.15em;
}
.proof__privacy {
  margin-top: 2rem;
  font-size: 0.6rem;
  color: var(--ink-soft);
  max-width: none;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { background: var(--paper-alt); border-top: 1px solid var(--line); }
.faq__list {
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
  max-width: 860px;
}
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.4rem 0.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 1.3rem;
  color: var(--steel);
  transition: transform 0.25s var(--ease);
}
.faq__item[open] summary::after { content: "\2013"; }
.faq__item p {
  padding: 0 0.25rem 1.4rem;
  max-width: 65ch;
  font-size: 0.98rem;
}

/* ==========================================================================
   CTA final
   ========================================================================== */
.cta-final {
  background: linear-gradient(155deg, var(--hue-i) 0%, var(--hue-t) 100%);
  color: var(--paper);
}
.cta-final h2 { color: var(--paper); }
.cta-final p { color: rgba(247, 244, 238, 0.72); }
.cta-final__grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
}
@media (max-width: 860px) {
  .cta-final__grid { grid-template-columns: 1fr; }
}

.contact-form {
  display: grid;
  gap: 1.25rem;
}
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label {
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: rgba(247, 244, 238, 0.85);
}
.field__optional { color: var(--silver); font-weight: 400; }
.field__required { color: var(--hue-r); font-weight: 700; }
.field__legend {
  margin: -0.5rem 0 0;
  font-size: 0.78rem;
  color: rgba(247, 244, 238, 0.55);
}
.field input,
.field textarea {
  background: rgba(247, 244, 238, 0.06);
  border: 1px solid rgba(247, 244, 238, 0.25);
  color: var(--paper);
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: 2px;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(247, 244, 238, 0.4); }
.field input:focus,
.field textarea:focus { border-color: var(--steel-light); }
.contact-form .btn--primary {
  background: var(--paper);
  color: var(--ink);
}
.contact-form .btn--primary:hover { background: var(--steel-light); color: var(--white); }
.form__status {
  font-size: 0.9rem;
  color: var(--steel-light);
  min-height: 1.2em;
}
.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: -0.25rem 0 0;
  cursor: pointer;
}
.consent-check input {
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--steel-light);
}
.consent-check span {
  font-size: 0.48rem;
  line-height: 1.4;
  color: rgba(247, 244, 238, 0.75);
}
.contact-form__legal {
  font-size: 0.45rem;
  line-height: 1.45;
  color: rgba(247, 244, 238, 0.5);
  margin: 0;
}
.contact-form__legal a { color: rgba(247, 244, 238, 0.7); text-decoration: underline; text-underline-offset: 2px; }
.contact-form .btn--primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.contact-form .btn--primary:disabled:hover { background: var(--paper); color: var(--ink); }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  border-left: 1px solid rgba(247, 244, 238, 0.2);
  padding-left: 2rem;
}
.contact-info__item a,
.contact-info__item p { font-size: 1.1rem; margin: 0; }
.contact-info__item a[href^="mailto:"] { white-space: nowrap; }
.contact-info__label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 0.35rem;
}
.contact-info__note {
  font-size: 0.8rem;
  font-style: italic;
  color: rgba(247, 244, 238, 0.5);
  margin-top: 1rem;
}
@media (max-width: 860px) {
  .contact-info { border-left: none; padding-left: 0; border-top: 1px solid rgba(247, 244, 238, 0.2); padding-top: 1.75rem; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--hue-i); color: var(--paper); border-top: 1px solid rgba(247, 244, 238, 0.12); }
.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 4rem var(--gutter) 2.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
.footer .wordmark { color: var(--paper); }
.footer .wordmark__mark { color: var(--paper); }
.footer .wordmark__sub { color: rgba(247, 244, 238, 0.65); }
.footer__tagline {
  margin: 1.1rem 0 1.5rem;
  max-width: 30ch;
  font-size: 0.88rem;
  color: rgba(247, 244, 238, 0.65);
}
.footer__col-title {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 244, 238, 0.5);
  margin-bottom: 1.1rem;
}
.footer__links { display: flex; flex-direction: column; align-items: flex-start; gap: 0.8rem; font-size: 0.9rem; }
.footer__links a { color: rgba(247, 244, 238, 0.75); }
.footer__links a:hover { color: var(--paper); }
.footer__links a[href^="mailto:"] { white-space: nowrap; }
.footer__social { display: flex; gap: 1rem; }
.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(247, 244, 238, 0.25);
  color: rgba(247, 244, 238, 0.75);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.footer__social a:hover { color: var(--paper); border-color: rgba(247, 244, 238, 0.6); }
.footer__bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.5rem var(--gutter) 2rem;
  border-top: 1px solid rgba(247, 244, 238, 0.12);
}
.footer__meta { font-size: 0.8rem; color: rgba(247, 244, 238, 0.45); margin: 0; }

@media (max-width: 860px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__col--brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer__inner { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Contact info — réseaux
   ========================================================================== */
.contact-info__social { display: flex; gap: 1.25rem; }
.contact-info__social a {
  font-size: 1rem;
  border-bottom: 1px solid rgba(247, 244, 238, 0.3);
  padding-bottom: 2px;
}
.contact-info__social a:hover { border-bottom-color: var(--paper); }

/* ==========================================================================
   Politique des cookies
   ========================================================================== */
.cookies-policy { background: var(--paper-alt); border-top: 1px solid var(--line); }
.cookies-policy__content { max-width: none; margin-top: 1rem; }
.cookies-policy__content p { margin-bottom: 1rem; }
.cookies-policy__content a { color: var(--steel); text-decoration: underline; text-underline-offset: 2px; }

/* ==========================================================================
   Cookie banner
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 300;
  max-width: 640px;
  margin: 0 auto;
  background: var(--hue-i);
  color: var(--paper);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 20px 40px -16px rgba(20, 23, 26, 0.45);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; font-size: 0.88rem; color: rgba(247, 244, 238, 0.85); flex: 1 1 260px; }
.cookie-banner a { color: var(--paper); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner .btn--primary { background: var(--paper); color: var(--ink); flex-shrink: 0; }
.cookie-banner .btn--primary:hover { background: var(--steel-light); color: var(--white); }

/* ==========================================================================
   Texture de fond — trame géométrique discrète sur les sections gris clair
   ========================================================================== */
.founder,
.method,
.activities,
.faq,
.courses,
.cookies-policy {
  background-image:
    repeating-linear-gradient(45deg, rgba(31, 63, 82, 0.05) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(-45deg, rgba(31, 63, 82, 0.05) 0 1px, transparent 1px 56px);
}
