/* =====================================================================
   Linters Empire (LTS) — feuille de style, version 2
   Identité officielle : anneaux entrelacés, indigo #4619B0 et cyan #18D7E9,
   titres en Montserrat (police du logo). Les photos portent l'identité
   de chaque pôle ; les couleurs de pôle restent en petites touches.
   Mise en page : sections pleine largeur, contenu limité à 1240 px.
   ===================================================================== */

:root {
  --bg: #ffffff;
  --bg-alt: #f4f2fa;
  --ink: #17132b;
  --ink-2: #4b4763;
  --line: #e4e1ee;
  --link: #4619b0;

  --indigo: #4619b0;
  --indigo-deep: #160a3c;
  --cyan: #18d7e9;
  --on-dark: #f5f3fc;
  --on-dark-2: #bcb5dc;
  --dark-line: rgba(255, 255, 255, 0.14);

  --btn-bg: #4619b0;
  --btn-fg: #ffffff;
  --focus: #18d7e9;

  /* Couleurs des pôles : repères (pastilles, pictogrammes) */
  --digital: #18d7e9;
  --agro: #2fae64;
  --events: #ff6b4f;
  --consult: #8e73f5;
  --entreprendre: #f7b731;
  --on-pole: #17132b;
  /* … texte coloré sur fond clair */
  --digital-ink: #066f7b;
  --agro-ink: #1b7a42;
  --events-ink: #c2412b;
  --consult-ink: #5b3dd6;
  --entreprendre-ink: #8a6100;
  /* … texte coloré sur fond sombre */
  --digital-bright: #18d7e9;
  --agro-bright: #5fd38f;
  --events-bright: #ff8f78;
  --consult-bright: #b6a3ff;
  --entreprendre-bright: #ffcd4d;

  --font-display: "Montserrat", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Hanken Grotesk", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.35rem, 1.15rem + 0.8vw, 1.7rem);
  --step-3: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem);
  --step-4: clamp(1.9rem, 1.35rem + 2.5vw, 3.2rem);
  --step-5: clamp(2.2rem, 1.1rem + 4.4vw, 4.4rem);

  --r: 14px;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;
  --section: clamp(56px, 8vw, 112px);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e0a1f;
    --bg-alt: #161130;
    --ink: #f1eff9;
    --ink-2: #b8b3cf;
    --line: #2a2446;
    --link: #18d7e9;
    --btn-bg: #18d7e9;
    --btn-fg: #0e0a1f;
    --indigo-deep: #0b0719;
    --digital-ink: #18d7e9;
    --agro-ink: #5fd38f;
    --events-ink: #ff8f78;
    --consult-ink: #b6a3ff;
    --entreprendre-ink: #ffcd4d;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e0a1f;
  --bg-alt: #161130;
  --ink: #f1eff9;
  --ink-2: #b8b3cf;
  --line: #2a2446;
  --link: #18d7e9;
  --btn-bg: #18d7e9;
  --btn-fg: #0e0a1f;
  --indigo-deep: #0b0719;
  --digital-ink: #18d7e9;
  --agro-ink: #5fd38f;
  --events-ink: #ff8f78;
  --consult-ink: #b6a3ff;
  --entreprendre-ink: #ffcd4d;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.18em; }
p { margin: 0; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
@media (max-width: 480px) { h1, h2, h3 { -webkit-hyphens: auto; hyphens: auto; } }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--cyan); color: #17132b; }

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  padding: 10px 16px; background: var(--ink); color: var(--bg);
  font-weight: 650; text-decoration: none; border-radius: 999px;
}
.skip:focus { left: var(--gutter); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.76rem;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--cyan)); flex: none; }
.todo {
  text-decoration: underline dotted var(--cyan);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* ---------- Boutons (en pilule, comme les anneaux) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
.btn-primary:hover { background: transparent; color: var(--link); border-color: var(--link); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--bg); }
.on-dark .btn-cyan { background: var(--cyan); color: #17132b; border-color: var(--cyan); }
.on-dark .btn-cyan:hover { background: transparent; color: var(--cyan); }
.on-dark .btn-ghost { background: transparent; color: var(--on-dark); border-color: rgba(255, 255, 255, 0.55); }
.on-dark .btn-ghost:hover { background: var(--on-dark); color: var(--indigo-deep); border-color: var(--on-dark); }
.btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; transform: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
@supports not (background: color-mix(in srgb, red 50%, blue)) { .site-header { background: var(--bg); } }
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 74px; }
.brand { display: inline-flex; align-items: center; color: var(--indigo); text-decoration: none; flex: none; }
.brand svg { height: 38px; width: auto; }
:root[data-theme="dark"] .brand { color: var(--cyan); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand { color: var(--cyan); } }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 11px;
  font-size: 0.95rem; font-weight: 600;
  text-decoration: none; white-space: nowrap;
  border-radius: 999px;
}
.nav a:hover { background: var(--bg-alt); }
.nav a[aria-current="page"] { background: var(--bg-alt); color: var(--link); }
.nav .nav-cta { margin-left: 10px; padding: 11px 20px; background: var(--btn-bg); color: var(--btn-fg); }
.nav .nav-cta:hover, .nav .nav-cta[aria-current="page"] { background: var(--btn-bg); color: var(--btn-fg); opacity: 0.88; }
.menu-btn {
  display: none; align-items: center; gap: 10px;
  min-height: 44px; padding: 8px 16px;
  border: 2px solid var(--ink); border-radius: 999px;
  background: transparent; color: var(--ink);
  font: 650 0.95rem/1 var(--font-body); cursor: pointer;
}
.menu-icon, .menu-icon::before, .menu-icon::after {
  display: block; width: 18px; height: 2px; background: currentColor; transition: transform 0.2s;
}
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-icon::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1180px) {
  .menu-btn { display: inline-flex; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(22, 10, 60, 0.45);
    max-height: calc(100vh - 80px); overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 15px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a:hover, .nav a[aria-current="page"] { background: transparent; }
  .nav .nav-cta { margin: 16px 0 0; justify-content: center; border-bottom: 0; border-radius: 999px; }
}
@media (max-width: 400px) { .brand svg { height: 30px; } .header-bar { gap: 12px; } }
@media (max-width: 359px) {
  .menu-btn { padding: 8px 12px; }
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
html:not(.js) .menu-btn { display: none; }
@media (max-width: 1180px) {
  html:not(.js) .nav { display: flex; position: static; box-shadow: none; padding-inline: 0; }
  html:not(.js) .header-bar { flex-wrap: wrap; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-alt { background: var(--bg-alt); }
.section-head { display: grid; gap: 16px; max-width: 46rem; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: var(--step-4); }
.intro { font-size: var(--step-1); line-height: 1.55; color: var(--ink-2); max-width: 42rem; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split-top { align-items: start; }
.split .section-head { margin-bottom: 0; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* Photos */
.ph { position: relative; overflow: hidden; border-radius: var(--r); background: var(--bg-alt); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph-43 { aspect-ratio: 4 / 3; }
.ph-32 { aspect-ratio: 3 / 2; }
.ph-54 { aspect-ratio: 5 / 4; }
.ph-169 { aspect-ratio: 16 / 9; }
.credit {
  position: absolute; right: 10px; bottom: 10px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(14, 10, 31, 0.62); color: #fff;
  font-size: 0.72rem; line-height: 1.3;
}

/* Décor : anneaux en filigrane */
.rings-decor { position: absolute; pointer-events: none; color: var(--cyan); opacity: 0.09; }

/* ---------- Accueil : ouverture ---------- */
.hero { position: relative; overflow: hidden; background: var(--indigo-deep); color: var(--on-dark); }
.hero .rings-decor { width: min(78vw, 980px); right: -22%; top: -18%; opacity: 0.07; }
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(40px, 6vw, 88px);
}
.hero-title {
  margin-bottom: clamp(18px, 2.4vw, 28px);
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.8rem; line-height: 1.4;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cyan);
}
.verbs li + li { margin-top: 0.06em; }
.verb {
  display: inline-flex; flex-wrap: wrap; align-items: baseline; column-gap: 0.8rem;
  color: var(--on-dark); text-decoration: none;
  transition: color 0.25s;
}
.verb-word {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.1rem, 1rem + 3.9vw, 4rem); line-height: 1.04; letter-spacing: -0.03em;
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.verbs li:nth-child(2) .verb-word { animation-delay: 0.07s; }
.verbs li:nth-child(3) .verb-word { animation-delay: 0.14s; }
.verbs li:nth-child(4) .verb-word { animation-delay: 0.21s; }
.verbs li:nth-child(5) .verb-word { animation-delay: 0.28s; }
@keyframes rise { from { transform: translateY(0.3em); opacity: 0.2; } to { transform: none; opacity: 1; } }
.verb-pole {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-2);
}
.verb-pole .dot { width: 8px; height: 8px; }
.verb:hover, .verb:focus-visible, .verb.is-active { color: var(--c-bright); }
.verb:hover .verb-pole, .verb.is-active .verb-pole { color: var(--on-dark); }
.hero-text { margin-top: 26px; max-width: 34rem; }
.hero-text .lead { font-size: var(--step-1); line-height: 1.5; color: var(--on-dark); }

.mosaic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, clamp(150px, 15vw, 230px));
  gap: 10px;
}
.mosaic a:first-child { grid-row: span 2; }
.tile {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--r); text-decoration: none; color: #fff;
  background: var(--cyan); isolation: isolate;
}
.tile img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.12) brightness(1.04);
  mix-blend-mode: multiply;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: var(--indigo); mix-blend-mode: lighten;
  transition: opacity 0.35s; pointer-events: none;
}
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to top, rgba(14, 10, 31, 0.78) 0%, rgba(14, 10, 31, 0) 52%);
  pointer-events: none;
}
.tile-label {
  position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 3;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; line-height: 1.2;
}
.tile:hover img, .tile:focus-visible img, .tile.is-active img { filter: none; mix-blend-mode: normal; transform: scale(1.05); }
.tile:hover::before, .tile:focus-visible::before, .tile.is-active::before { opacity: 0; }
@media (hover: none) {
  .tile img { filter: none; mix-blend-mode: normal; }
  .tile::before { opacity: 0; }
}
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .mosaic { grid-template-rows: repeat(2, clamp(130px, 26vw, 220px)); }
}
@media (max-width: 560px) {
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: 140px; }
  .mosaic a:first-child { grid-row: auto; grid-column: 1 / -1; height: 180px; }
}

/* ---------- Cartes des pôles (accueil) ---------- */
.cards { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 22px; }
.card {
  grid-column: span 4;
  display: flex; flex-direction: column;
  border-radius: calc(var(--r) + 4px);
  background: var(--bg); border: 1px solid var(--line);
  overflow: hidden; text-decoration: none; color: inherit;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.card-lg { grid-column: span 6; }
.card .ph { border-radius: 0; aspect-ratio: 4 / 3; }
.card-lg .ph { aspect-ratio: 16 / 10; }
.card .ph img { transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.card:hover { border-color: var(--c); transform: translateY(-3px); box-shadow: 0 22px 40px -28px rgba(22, 10, 60, 0.55); }
.card:hover .ph img { transform: scale(1.05); }
.card-body { display: grid; gap: 10px; padding: 22px 24px 26px; flex: 1; }
.card-body .eyebrow { color: var(--c-ink); }
.card h3 { font-size: var(--step-2); }
.card p { color: var(--ink-2); }
.go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; font-weight: 650; color: var(--link); }
.go svg { width: 18px; height: 18px; transition: transform 0.2s; }
a:hover .go svg { transform: translateX(4px); }
@media (max-width: 980px) { .card, .card-lg { grid-column: span 6; } .cards > .card:last-child { grid-column: 1 / -1; } }
@media (max-width: 620px) { .card, .card-lg, .cards > .card:last-child { grid-column: 1 / -1; } }

/* Pictogrammes de pôles (cercles) */
.picon {
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--c); color: var(--on-pole);
}
.picon svg { width: 24px; height: 24px; }
.picon-sm { width: 36px; height: 36px; }
.picon-sm svg { width: 20px; height: 20px; }

/* Liste de synergies */
.links-list li {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: center;
  padding-block: 16px; border-top: 1px solid var(--line);
}
.links-list li:last-child { border-bottom: 1px solid var(--line); }
.links-list strong { font-weight: 700; }

/* Bandeau photo pleine largeur */
.photo-band { position: relative; min-height: clamp(340px, 42vw, 520px); display: grid; align-items: end; color: #fff; overflow: hidden; }
.photo-band > img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-band::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(22, 10, 60, 0.92) 0%, rgba(22, 10, 60, 0.8) 38%, rgba(22, 10, 60, 0.25) 72%, rgba(22, 10, 60, 0.05) 100%);
}
.photo-band .wrap { position: relative; z-index: 2; padding-block: clamp(40px, 6vw, 80px); }
@media (max-width: 760px) { .photo-band::before { background: linear-gradient(0deg, rgba(22, 10, 60, 0.94) 0%, rgba(22, 10, 60, 0.75) 55%, rgba(22, 10, 60, 0.2) 100%); } }
.photo-band blockquote { margin: 0; max-width: 34rem; font-family: var(--font-display); font-weight: 800; font-size: var(--step-3); line-height: 1.18; letter-spacing: -0.02em; }
.photo-band .band-note { margin-top: 16px; color: rgba(255, 255, 255, 0.85); max-width: 32rem; }
.photo-band .credit { right: var(--gutter); bottom: 14px; z-index: 3; }

/* Publics et valeurs */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 10px 18px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--bg); font-weight: 560; line-height: 1.3; }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.value { padding: 24px; border-radius: var(--r); background: var(--bg-alt); }
.section-alt .value { background: var(--bg); }
.value .ring { width: 34px; height: 34px; margin-bottom: 14px; color: var(--indigo); }
:root[data-theme="dark"] .value .ring { color: var(--cyan); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .value .ring { color: var(--cyan); } }
.value h3 { font-size: var(--step-1); margin-bottom: 8px; }
.value p { color: var(--ink-2); }
@media (max-width: 980px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .values { grid-template-columns: minmax(0, 1fr); } }
.block + .block { margin-top: clamp(56px, 8vw, 96px); }

/* Bandeau LTS Digital */
.digital-band { position: relative; overflow: hidden; background: var(--indigo); color: #fff; }
.digital-band .rings-decor { width: 520px; left: -160px; bottom: -200px; opacity: 0.12; }
.digital-band .split { position: relative; padding-block: clamp(56px, 7vw, 96px); }
.digital-band .eyebrow { color: var(--cyan); }
.digital-band h2 { font-size: var(--step-4); margin-top: 14px; }
.digital-band p { margin-top: 16px; max-width: 36rem; }
.digital-band .note { font-size: var(--step--1); color: rgba(255, 255, 255, 0.82); }

/* Appel à l'action */
.cta { position: relative; overflow: hidden; background: var(--indigo-deep); color: var(--on-dark); }
.cta .rings-decor { width: 640px; right: -180px; top: -240px; opacity: 0.08; }
.cta-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; align-items: end; padding-block: clamp(56px, 8vw, 100px); }
.cta h2 { font-size: var(--step-4); }
.cta p { margin-top: 14px; max-width: 34rem; color: var(--on-dark-2); }
.cta .actions { margin-top: 0; }
@media (max-width: 760px) { .cta-inner { grid-template-columns: minmax(0, 1fr); align-items: start; } }

/* Pied de page */
.site-footer { background: var(--indigo-deep); color: var(--on-dark); border-top: 1px solid var(--dark-line); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: 64px 44px; }
.footer-brand .brand-stacked { width: 170px; color: var(--cyan); }
.footer-brand p { margin-top: 18px; color: var(--on-dark-2); max-width: 22rem; }
.footer-grid h2 { margin-bottom: 14px; font-family: var(--font-display); font-weight: 700; font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); }
.footer-grid li + li { margin-top: 8px; }
.footer-grid a { text-decoration: none; color: var(--on-dark); }
.footer-grid a:hover { text-decoration: underline; }
.footer-contact li { overflow-wrap: anywhere; color: var(--on-dark-2); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding-block: 20px 28px; border-top: 1px solid var(--dark-line);
  font-size: var(--step--1); color: var(--on-dark-2);
}
.footer-bottom a { color: var(--on-dark-2); text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Pages intérieures ---------- */
.crumbs { font-size: var(--step--1); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: 0.6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* Ouverture d'un pôle : texte sur indigo profond, photo à droite */
.pole-hero { position: relative; overflow: hidden; background: var(--indigo-deep); color: var(--on-dark); }
.pole-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); min-height: clamp(520px, 44vw, 640px); }
.pole-hero-text { position: relative; display: flex; flex-direction: column; justify-content: center; padding: clamp(36px, 5vw, 72px) clamp(28px, 4vw, 64px) clamp(44px, 5vw, 72px) max(var(--gutter), calc((100vw - var(--maxw)) / 2)); }
.pole-hero .rings-decor { width: 620px; left: -220px; bottom: -260px; opacity: 0.08; }
.pole-hero .crumbs { position: relative; margin-bottom: clamp(24px, 4vw, 44px); color: var(--on-dark-2); }
.pole-hero .eyebrow { position: relative; color: var(--c-bright); }
.pole-hero h1 { position: relative; margin-top: 14px; font-size: clamp(2.5rem, 1.3rem + 4.4vw, 4.6rem); letter-spacing: -0.03em; line-height: 1.02; }
.tagline { position: relative; margin-top: 18px; max-width: 30rem; font-family: var(--font-display); font-weight: 700; font-size: var(--step-2); line-height: 1.28; color: var(--on-dark); }
.pole-hero .intro-text { position: relative; margin-top: 16px; max-width: 36rem; color: var(--on-dark-2); }
.pole-hero .actions { position: relative; }
.pole-hero-photo { position: relative; min-height: 320px; }
.pole-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pole-hero-photo::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 120px; z-index: 1; background: linear-gradient(90deg, var(--indigo-deep), transparent); }
.pole-hero-photo .credit { z-index: 2; }
@media (max-width: 900px) {
  .pole-hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .pole-hero-photo { order: -1; min-height: 0; aspect-ratio: 16 / 10; }
  .pole-hero-photo::before { inset: auto 0 0 0; width: auto; height: 90px; background: linear-gradient(0deg, var(--indigo-deep), transparent); }
  .pole-hero-text { padding: 8px var(--gutter) 52px; }
}

/* Ouverture des pages Groupe, Contact, Mentions légales */
.page-hero { position: relative; overflow: hidden; background: var(--indigo-deep); color: var(--on-dark); }
.page-hero .rings-decor { width: 640px; right: -200px; top: -220px; opacity: 0.08; }
.page-hero-inner { position: relative; padding-block: clamp(28px, 4vw, 44px) clamp(52px, 7vw, 96px); max-width: 52rem; }
.page-hero .crumbs { color: var(--on-dark-2); margin-bottom: clamp(24px, 4vw, 44px); }
.page-hero .eyebrow { color: var(--cyan); }
.page-hero h1 { margin-top: 14px; font-size: var(--step-5); letter-spacing: -0.03em; }
.page-hero .intro { margin-top: 20px; color: var(--on-dark-2); }
.page-hero-photo > img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(22, 10, 60, 0.95) 0%, rgba(22, 10, 60, 0.86) 45%, rgba(22, 10, 60, 0.45) 100%); }
.page-hero-photo .wrap { position: relative; z-index: 2; }
.page-hero-photo .credit { z-index: 3; right: var(--gutter); }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.service { padding: 26px 24px 28px; border-radius: var(--r); background: var(--bg-alt); }
.section-alt .service { background: var(--bg); }
.service h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-size: var(--step-1); font-weight: 750; line-height: 1.25; }
.service h3::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.service p { color: var(--ink-2); }
@media (max-width: 980px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .services { grid-template-columns: minmax(0, 1fr); } }

/* Cartes illustrées (étapes, familles, autres pôles) */
.photo-cards { display: grid; gap: 22px; }
.photo-cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.photo-cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pcard { display: flex; flex-direction: column; gap: 16px; }
.pcard .ph { aspect-ratio: 4 / 3; }
.pcard h3 { font-size: var(--step-2); }
.pcard p { color: var(--ink-2); margin-top: -6px; }
.step-num { font-family: var(--font-display); font-weight: 800; font-size: 0.9rem; letter-spacing: 0.12em; color: var(--c-ink); font-variant-numeric: tabular-nums; }
@media (max-width: 980px) { .photo-cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .photo-cards-3 { grid-template-columns: minmax(0, 1fr); } .photo-cards-3 .pcard { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 18px; align-items: center; } .photo-cards-3 .pcard p { margin-top: 0; } }
@media (max-width: 560px) { .photo-cards-4 { grid-template-columns: minmax(0, 1fr); } .photo-cards-3 .pcard { display: flex; } }

/* Étapes sans photo (méthode, parcours) */
.steps { display: grid; gap: 22px; }
.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { padding: 24px; border-radius: var(--r); background: var(--bg); border-top: 4px solid var(--c, var(--indigo)); }
.step h3 { margin: 10px 0 8px; font-size: var(--step-1); }
.step p { color: var(--ink-2); }
@media (max-width: 980px) { .steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps-4 { grid-template-columns: minmax(0, 1fr); } }

/* Listes à pastilles */
.dots-list li { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 14px; padding-block: 12px; border-top: 1px solid var(--line); }
.dots-list li:last-child { border-bottom: 1px solid var(--line); }
.dots-list li::before { content: ""; width: 10px; height: 10px; margin-top: 0.55em; border-radius: 50%; background: var(--c, var(--indigo)); }
.h-sub { font-size: var(--step-3); margin-top: 12px; }
.lede { margin-top: 14px; color: var(--ink-2); }
.duo-photos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.duo-photos .ph:last-child { margin-top: 48px; }

/* Mission, vision */
.statements { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.statement { padding: clamp(24px, 3vw, 40px); border-radius: var(--r); background: var(--bg-alt); }
.statement h2 { margin-top: 12px; font-size: clamp(1.3rem, 1.05rem + 1vw, 1.8rem); font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
@media (max-width: 820px) { .statements { grid-template-columns: minmax(0, 1fr); } }

/* Organigramme */
.org-top { display: grid; gap: 10px; justify-items: center; padding: 28px 24px; border-radius: var(--r); background: var(--indigo-deep); color: var(--on-dark); text-align: center; }
.org-top svg { height: 44px; width: auto; color: var(--cyan); }
.org-top span { color: var(--on-dark-2); font-size: var(--step--1); }
.org-stem { width: 2px; height: 28px; margin-inline: auto; background: var(--line); }
.org-poles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.org-poles a { display: grid; justify-items: center; gap: 10px; padding: 22px 10px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); text-align: center; text-decoration: none; }
.org-poles a:hover { border-color: var(--c); }
.org-poles strong { font-family: var(--font-display); font-weight: 700; line-height: 1.2; }
.org-poles .org-dom { font-size: var(--step--1); color: var(--ink-2); line-height: 1.35; }
@media (max-width: 900px) { .org-poles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .org-poles a:last-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .org-poles { grid-template-columns: minmax(0, 1fr); } }

/* Autres pôles */
.others { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.others-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.other { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--bg); border: 1px solid var(--line); text-decoration: none; transition: border-color 0.2s; }
.other:hover { border-color: var(--c); }
.other .ph { border-radius: 0; aspect-ratio: 16 / 10; }
.other span.txt { display: grid; gap: 2px; padding: 14px 16px 16px; }
.other .name { font-family: var(--font-display); font-weight: 700; line-height: 1.2; }
.other .dom { font-size: var(--step--1); color: var(--ink-2); line-height: 1.3; }
@media (max-width: 1100px) { .others-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 980px) { .others { grid-template-columns: repeat(2, minmax(0, 1fr)); } .others-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .others-5 .other:last-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .others, .others-5 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-grid h2 { font-size: var(--step-3); margin-bottom: 20px; }
.coords li { display: grid; gap: 6px; padding-block: 18px; border-top: 1px solid var(--line); }
.coords li:last-child { border-bottom: 1px solid var(--line); }
.coord-value { font-size: var(--step-1); font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.coords .row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.copy { padding: 6px 14px; border: 1.5px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font: 650 0.85rem/1.2 var(--font-body); cursor: pointer; }
.copy:hover { background: var(--ink); color: var(--bg); }
.coords .muted { color: var(--ink-2); font-size: var(--step--1); }
.contact-photo { margin-top: 28px; }
.form-card { padding: clamp(22px, 3vw, 36px); border-radius: calc(var(--r) + 4px); background: var(--bg-alt); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 8px; }
.field label { font-weight: 650; font-size: 0.95rem; }
.field .hint { font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px;
  border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--bg); color: var(--ink); font: inherit;
}
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--indigo); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.form-note { font-size: var(--step--1); color: var(--ink-2); }
.form-error { min-height: 1.5em; font-weight: 650; color: var(--events-ink); }

/* ---------- Mentions légales ---------- */
.prose { max-width: 50rem; }
.prose h2 { margin: 44px 0 14px; font-size: var(--step-2); }
.prose h2:first-child { margin-top: 0; }
.prose p + p { margin-top: 12px; }
.prose p { color: var(--ink-2); }
.facts { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); border-top: 1px solid var(--line); }
.facts dt, .facts dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 650; padding-right: 16px; }
.facts dd { color: var(--ink-2); overflow-wrap: anywhere; }
@media (max-width: 560px) { .facts { grid-template-columns: minmax(0, 1fr); } .facts dt { padding-bottom: 0; border-bottom: 0; } }
.credits li { padding-block: 8px; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: var(--step--1); }
.credits a { color: var(--link); }

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