/* ============================================================
   FONTS — self-hosted, see assets/fonts/
   ============================================================ */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/source-serif-4-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/source-serif-4-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/source-serif-4-700.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/jetbrains-mono-400.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/jetbrains-mono-500.woff2') format('woff2');
}

/* ============================================================
   VARIABLES
   ============================================================ */

:root {
  --color-bg:           #FAFAF9;
  --color-bg-alt:       #F4F4F1;
  --color-text:         #1A1A1A;
  --color-text-muted:   #525252;
  --color-accent:       #0B3D91;
  --color-accent-hover: #2563EB;
  --color-cta:          #C2410C;
  --color-cta-hover:    #9A330A;
  --color-border:       #E5E5E2;
  --color-code-bg:      #1A1A1A;
  --color-code-text:    #E5E5E2;

  --font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:  'JetBrains Mono', 'Courier New', Courier, monospace;

  --max-text: 720px;
  --max-grid: 1100px;
  --px: 1.5rem;
  --section-gap: 4rem;
}

@media (min-width: 768px) {
  :root {
    --px: 2rem;
    --section-gap: 6rem;
  }
}

/* ============================================================
   RESET & BASE
   ============================================================ */

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
}

@media (min-width: 768px) {
  body { font-size: 1.0625rem; }
}

img, video {
  max-width: 100%;
  display: block;
  height: auto;
}

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

/* Inline text links — paragraphs and content-area list items */
p a:not(.btn),
.page-section li a:not(.btn),
.article-body li a:not(.btn),
.legal-content li a:not(.btn) {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(26, 26, 26, 0.3);
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
p a:not(.btn):hover,
.page-section li a:not(.btn):hover,
.article-body li a:not(.btn):hover,
.legal-content li a:not(.btn):hover {
  color: var(--color-accent);
  text-decoration-color: var(--color-accent);
}

ul, ol { list-style: none; }

/* ============================================================
   SKIP LINK
   ============================================================ */

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--color-accent);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0 0 4px 4px;
  font-size: 0.875rem;
  z-index: 9999;
}
.skip-link:focus { top: 0; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--color-text);
}

h1 { font-size: 2rem;   line-height: 1.15; font-weight: 700; }
h2 { font-size: 1.5rem; line-height: 1.2;  font-weight: 600; }
h3 { font-size: 1.2rem; line-height: 1.3;  font-weight: 600; }

@media (min-width: 768px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.4rem; }
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 600; }
em { font-style: italic; }

code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  padding: 0.1em 0.35em;
  border-radius: 3px;
}

pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: 1em;
}

/* ============================================================
   CONTAINERS
   ============================================================ */

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

.container--text {
  max-width: var(--max-text);
}

.section {
  padding: var(--section-gap) 0;
}

.section--alt {
  background-color: var(--color-bg-alt);
}

/* ============================================================
   HEADER / NAV
   ============================================================ */

.header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 4rem;
  position: relative;
}

.nav__logo {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-text);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.15s ease;
}
.nav__logo:hover { color: var(--color-accent); }

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 17px;
  cursor: pointer;
  flex-shrink: 0;
  background: none;
  border: none;
  padding: 0;
}

.nav__burger-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav__menu {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav .nav__cta {
  font-size: 0.875rem;
  padding: 0.4375rem 0.875rem;
  white-space: nowrap;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}

.nav__link {
  display: block;
  padding: 0.5rem 0.875rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: 4px;
  transition: color 0.15s ease, background-color 0.15s ease;
}

button.nav__link {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  line-height: inherit;
}
.nav__link:hover,
.nav__link:focus {
  color: var(--color-accent);
  background-color: var(--color-bg-alt);
  outline: none;
}

/* Formations dropdown */
.nav__item--has-dropdown { position: relative; }

.nav__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  min-width: 290px;
  padding: 0.375rem 0;
  z-index: 200;
}

.nav__item--has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 0.5rem;
}

.nav__item--has-dropdown:hover .nav__dropdown,
.nav__item--has-dropdown:focus-within .nav__dropdown {
  display: block;
}

.nav__dropdown a {
  display: block;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  color: var(--color-text);
  transition: color 0.15s ease, background-color 0.15s ease;
}
.nav__dropdown a:hover,
.nav__dropdown a:focus {
  color: var(--color-accent);
  background-color: var(--color-bg-alt);
  outline: none;
}

.nav__dropdown-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--color-text-muted);
  pointer-events: none;
  letter-spacing: 0.03em;
}

.nav__dropdown-label::before,
.nav__dropdown-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

/* Mobile nav */
@media (max-width: 767px) {
  .nav__burger { display: flex; }

  .nav .nav__cta {
    font-size: 0.8125rem;
    padding: 0.375rem 0.75rem;
  }

  .nav__menu {
    display: none;
    position: absolute;
    top: 100%;
    left: calc(-1 * var(--px));
    right: calc(-1 * var(--px));
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 0.75rem var(--px) 1rem;
    z-index: 300;
    justify-content: flex-start;
  }

  .nav__menu.is-open { display: block; }

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .nav__item { width: 100%; }

  .nav__link {
    width: 100%;
    padding: 0.75rem 0;
    border-radius: 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 1rem;
  }

  .nav__item:last-child .nav__link { border-bottom: none; }

  .nav__dropdown {
    display: block;
    position: static;
    border: none;
    border-radius: 0;
    padding: 0;
    min-width: 0;
    background: transparent;
  }

  .nav__dropdown a {
    padding: 0.5rem 0 0.5rem 1.25rem;
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    border-bottom: 1px solid var(--color-border);
  }
  .nav__dropdown a:last-child { border-bottom: none; }

  /* Hamburger → X animation */
  .nav__checkbox:checked ~ .nav__burger .nav__burger-bar:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }
  .nav__checkbox:checked ~ .nav__burger .nav__burger-bar:nth-child(2) {
    opacity: 0;
  }
  .nav__checkbox:checked ~ .nav__burger .nav__burger-bar:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease,
              transform 0.15s ease, border-color 0.15s ease;
}

.btn--primary {
  background-color: var(--color-cta);
  color: #ffffff;
  border-color: var(--color-cta);
}
.btn--primary:hover,
.btn--primary:focus {
  background-color: var(--color-cta-hover);
  border-color: var(--color-cta-hover);
  transform: translateY(-1px);
  color: #ffffff;
  outline: none;
}

.btn--secondary {
  background-color: transparent;
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.btn--secondary:hover,
.btn--secondary:focus {
  background-color: var(--color-accent);
  color: #ffffff;
  outline: none;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  overflow: hidden;
  padding: 4rem 0 3rem;
}

@media (min-width: 768px) {
  .hero { padding: 5rem 0 4rem; }
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.hero h1 { margin-bottom: 0.875rem; }

.hero__tagline {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1.4;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .hero__tagline { font-size: 1.4375rem; }
}

.hero__intro { margin-bottom: 2rem; }

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hero__note {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}


/* ============================================================
   KEY FIGURES BANDEAU
   ============================================================ */

.figures-bandeau {
  background-color: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 2.5rem 0;
}

.figures-grid ~ .testimonials-grid {
  margin-top: var(--section-gap);
}

.figures-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1.5rem;
}
@media (min-width: 768px) {
  .figures-grid { grid-template-columns: repeat(4, 1fr); }
}

.figure-item { text-align: center; }

.figure-item__value {
  display: block;
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--color-cta);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.figure-item__value--text {
  font-size: 1.5rem;
  line-height: 1.25;
}

.figure-item__label {
  display: block;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}

.figure-item__note {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.figure-item__stars {
  color: var(--color-cta);
}

.figure-item__star-half {
  display: inline-block;
  position: relative;
  color: #E5E5E2;
}

.figure-item__star-half::before {
  content: '★';
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  overflow: hidden;
  color: var(--color-cta);
}


.figure-item__note a {
  color: var(--color-accent);
  font-weight: 500;
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 1px;
  white-space: nowrap;
  text-decoration: none;
}

.figure-item__note a:hover,
.figure-item__note a:focus-visible {
  color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  box-shadow: 0 1px 0 var(--color-accent-hover);
}

/* ============================================================
   SECTION HEADER
   ============================================================ */

.section-header { margin-bottom: 2.5rem; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p  { color: var(--color-text-muted); }

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

/* ============================================================
   FORMATION CARDS
   ============================================================ */

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 900px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}

.card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 1.75rem 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.card::before {
  content: attr(data-num);
  position: absolute;
  top: 0.875rem;
  right: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--color-cta);
  pointer-events: none;
  user-select: none;
}

.card__title {
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.25;
  margin-bottom: 0.375rem;
  padding-right: 2.5rem;
}
@media (min-width: 768px) {
  .card__title { font-size: 1.25rem; }
}

.card__subtitle {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1.45;
  margin-bottom: 1rem;
}

.card__stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.125rem;
}
.card__stack li {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-cta);
  background: rgba(194, 65, 12, 0.08);
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.card__body {
  font-size: 0.9375rem;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.25rem;
}

.card__link {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-accent);
  border-bottom: 1.5px solid var(--color-accent);
  padding-bottom: 2px;
  margin-top: auto;
  transition: color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.card__link:hover,
.card__link:focus-visible {
  color: var(--color-accent-hover);
  border-bottom-color: var(--color-accent-hover);
  box-shadow: 0 1.5px 0 var(--color-accent-hover);
}

/* ============================================================
   WHY ME — 3 COLUMNS
   ============================================================ */

.reasons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 2.5rem;
}
@media (min-width: 768px) {
  .reasons-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}

.reason h3 {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 0.6rem;
}
@media (min-width: 768px) {
  .reason h3 { font-size: 1.15rem; }
}

.reason p {
  font-size: 0.9375rem;
  line-height: 1.75;
}

/* ============================================================
   CONSEIL BG-ALT BLOC
   ============================================================ */

.conseil-bloc {
  background-color: var(--color-bg-alt);
  padding: var(--section-gap) 0;
}
.conseil-bloc h2 { margin-bottom: 1rem; }
.conseil-bloc p  { max-width: var(--max-text); margin-bottom: 1.25rem; }
.conseil-bloc p:last-of-type { margin-bottom: 1.75rem; }

/* ============================================================
   IA AGENTIQUE — PROSE SECTION
   ============================================================ */

.ia-section .container { max-width: var(--max-text); }
.ia-section h2 { margin-bottom: 1.75rem; }

.ia-section__lead {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .ia-section__lead { font-size: 1.15rem; }
}

.ia-point { margin-bottom: 2.25rem; }

.ia-point h3 {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 0.6rem;
}
@media (min-width: 768px) {
  .ia-point h3 { font-size: 1.15rem; }
}

.ia-point p {
  font-size: 0.9375rem;
  line-height: 1.75;
}

.ia-section__takeaway {
  font-weight: 600;
  font-size: 1.0625rem;
  border-left: 3px solid var(--color-accent);
  background-color: var(--color-bg-alt);
  padding: 1.25rem 1.5rem;
  margin-top: 2.5rem;
}

.ia-section__cta {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================================
   ENCART COMPACT
   ============================================================ */

.encart {
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 2rem;
  max-width: var(--max-text);
  margin: 0 auto;
}

.cards-grid + .encart {
  margin-top: 2.5rem;
}

.encart h2 {
  font-size: 1.25rem;
  margin-bottom: 0.875rem;
}
@media (min-width: 768px) {
  .encart h2 { font-size: 1.5rem; }
}
.encart p { font-size: 0.9375rem; }

/* ============================================================
   SATISFACTION
   ============================================================ */

.satisfaction-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
@media (min-width: 600px) {
  .satisfaction-list { grid-template-columns: repeat(2, 1fr); }
}

.satisfaction-item {
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
  font-size: 0.9375rem;
}

.satisfaction-item__value {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-cta);
  white-space: nowrap;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}
@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial {
  border-left: 3px solid var(--color-accent);
  padding-left: 1.5rem;
}

.testimonial__text {
  font-style: italic;
  line-height: 1.75;
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.testimonial__author {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-style: normal;
  font-weight: 500;
}

/* ============================================================
   REFERENCES
   ============================================================ */

.refs-groups {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}
@media (min-width: 768px) {
  .refs-groups { grid-template-columns: repeat(3, 1fr); }
}

.refs-group__title {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.refs-group__list {
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 2;
}

/* ============================================================
   CTA FINAL SECTION
   ============================================================ */

.cta-section {
  text-align: center;
  padding: var(--section-gap) 0;
}
.cta-section .container { max-width: var(--max-text); }
.cta-section h2 { margin-bottom: 1rem; }
.cta-section p  { color: var(--color-text-muted); margin-bottom: 2rem; }

.cta-section__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background-color: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding: 3rem 0 1.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr; gap: 3rem; }
}

.footer__col-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.625rem;
}

.footer__tagline {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.footer__link-list,
.footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer__link-list a,
.footer__contact-list a {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: color 0.15s ease;
}
.footer__link-list a:hover,
.footer__contact-list a:hover {
  color: var(--color-accent);
}

.footer__bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  text-align: center;
}

/* ============================================================
   PAGE HERO (formations, consulting, à propos…)
   ============================================================ */

.page-hero {
  background-color: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  padding: 3rem 0 2.5rem;
}

.page-hero h1 { margin-bottom: 0.625rem; }

.page-hero__subtitle {
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1.4;
  margin-bottom: 1.25rem;
}

.page-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-muted);
  background: var(--color-border);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
}

/* ============================================================
   PAGE CONTENT (formations, consulting, about)
   ============================================================ */

.page-content {
  padding: var(--section-gap) 0;
}

.page-content > .container { max-width: var(--max-text); }

.page-section { margin-bottom: 3rem; }
.page-section:last-child { margin-bottom: 0; }

.page-section h2 { margin-bottom: 1.25rem; }

.page-section h3 {
  color: var(--color-accent);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.page-section h3:first-child { margin-top: 0; }

.page-section p {
  line-height: 1.75;
}

.page-section p + h3 { margin-top: 1.75rem; }

.page-section ul {
  list-style: none;
  padding: 0;
}

.page-section ul li {
  padding-left: 1.625rem;
  position: relative;
  margin-bottom: 0.625rem;
  line-height: 1.65;
}

.page-section ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 600;
}

.page-section .lead {
  font-size: 1.0625rem;
  line-height: 1.75;
}

/* Encart on formation pages */
.page-encart {
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 1.75rem 2rem;
  margin: 2.5rem 0;
}

.page-encart h2 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.page-encart p { font-size: 0.9375rem; }

.page-cta {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.page-cta--inline {
  margin-top: 1.5rem;
  padding-top: 0;
  border-top: none;
  text-align: left;
}

#faq + .page-cta {
  border-top: none;
  padding-top: 0;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */

.faq {
  border-top: 1px solid var(--color-border);
}

.faq__item {
  border-bottom: 1px solid var(--color-border);
}

.faq__item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1.125rem 0;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--color-text);
  user-select: none;
}

.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::marker { display: none; }

.faq__item summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1;
}

.faq__item[open] > summary::after {
  content: '−';
}

.faq__answer {
  padding: 0 0 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.75;
}

.faq__group-title {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-top: 2.5rem;
  margin-bottom: 0;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

.about-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 768px) {
  .about-hero__inner {
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
  }
}

.about-hero__photo {
  width: 200px;
  height: 260px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.about-hero__photo-placeholder {
  width: 200px;
  height: 260px;
  background-color: var(--color-border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-align: center;
  flex-shrink: 0;
  padding: 1rem;
  line-height: 1.4;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

.tally-placeholder {
  border: 2px dashed var(--color-border);
  border-radius: 6px;
  padding: 3rem 2rem;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  margin: 2rem 0;
}

.contact-direct {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.contact-direct h2 { margin-bottom: 1.25rem; }

.contact-direct ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.contact-direct ul li { font-size: 0.9375rem; }
.contact-direct a { color: var(--color-accent); text-decoration: underline; }
.contact-direct a:hover { color: var(--color-accent-hover); }

/* ============================================================
   ARTICLES PAGE
   ============================================================ */

.articles-resources { margin-top: 2rem; }
.articles-resources ul { list-style: none; }
.articles-resources li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.articles-resources li:last-child { border-bottom: none; }
.articles-resources a { color: var(--color-accent); text-decoration: underline; }
.articles-resources a:hover { color: var(--color-accent-hover); }

/* ============================================================
   ARTICLE LONG-FORM READING
   ============================================================ */

.article-header { margin-bottom: 2.5rem; }
.article-header h1 { margin-bottom: 0.75rem; }

.article-meta {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.article-body {
  line-height: 1.75;
}

.article-body h2 { margin: 2.5rem 0 1rem; }
.article-body h3 { margin: 2rem 0 0.75rem; }
.article-body p  { margin-bottom: 1.25rem; }

.article-body ul,
.article-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 0.5rem; line-height: 1.75; }

.article-body pre {
  background-color: var(--color-code-bg);
  color: var(--color-code-text);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.6;
  padding: 1.5rem;
  border-radius: 6px;
  overflow-x: auto;
  margin: 1.5rem 0;
  white-space: pre;
}

.article-body blockquote {
  border-left: 3px solid var(--color-accent);
  padding-left: 1.5rem;
  font-style: italic;
  margin: 1.5rem 0;
}

/* ============================================================
   LEGAL + 404
   ============================================================ */

.legal-content { padding: var(--section-gap) 0; }
.legal-content .container { max-width: var(--max-text); }
.legal-content h2 { margin: 2rem 0 0.75rem; }
.legal-content p  { margin-bottom: 1rem; font-size: 0.9375rem; }

.not-found {
  text-align: center;
  padding: calc(var(--section-gap) * 2) 0;
}
.not-found h1 { margin-bottom: 1rem; }
.not-found p  { color: var(--color-text-muted); margin-bottom: 2rem; }

/* ============================================================
   UTILITIES
   ============================================================ */

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
