/* Accueil — une ouverture façon affiche (aplat vert, mot géant, objet central), puis des chapitres clairs et vert profond. */

/* ——— 1. Ouverture ——— */
.hero { min-height: clamp(640px, 100svh, 980px); display: grid; grid-template-rows: auto 1fr auto; }
.hero-pills { position: relative; z-index: 3; display: flex; justify-content: center; gap: 10px; padding-top: 8px; }
.hero-pill {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 20px; border-radius: var(--r-pill);
  font-size: var(--step-small); font-weight: 600; color: #fff; text-decoration: none;
  background: rgba(255, 255, 255, 0.18); transition: background-color var(--fast) ease, transform var(--press-time) ease-out;
}
.hero-pill:hover { background: rgba(255, 255, 255, 0.3); color: #fff; }
.hero-pill:active { transform: scale(0.97); }
.hero-pill-solid { background: #fff; color: var(--green-950); }
.hero-pill-solid:hover { background: var(--gold-400); color: var(--anthracite); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) minmax(0, 2.4fr); gap: var(--gap); align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero-kicker { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold-400); }
.hero h1 {
  margin-top: 14px; font-family: var(--font-text); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.25rem, 1rem + 3vw, 4rem); line-height: 0.95; letter-spacing: -0.035em; color: #fff; max-width: 11ch;
}
.hero-lead { margin-top: 20px; font-size: var(--step-body); line-height: 1.55; color: #e6efe8; max-width: 34ch; }
.hero-actions { margin-top: 28px; }
.hero-stage { position: relative; align-self: stretch; min-height: clamp(380px, 56svh, 640px); isolation: isolate; }
.hero-stage .giant-word { font-size: clamp(6rem, 15vw, 15rem); }
/* Le canvas déborde de la colonne : le réseau des racines passe sous le texte voisin */
/* pointer-events: none — le canvas déborde sur les pilules et le texte voisins sans jamais bloquer leurs clics */
.hero-canvas { position: absolute; inset: -12% -30%; width: 160%; max-width: none; height: 124%; pointer-events: none; }
/* Image fixe tant que le canvas ne dessine pas (sans JS, mouvement réduit ou ancien navigateur) */
.hero-fallback { position: absolute; left: 50%; top: 50%; width: min(80%, 460px); transform: translate(-50%, -50%); filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.35)); }
.baobab-live .hero-fallback { display: none; }
.hero-side { position: relative; z-index: 2; display: grid; justify-items: end; gap: 14px; text-align: right; }
.hero-side-title { font-size: 0.8125rem; font-weight: 600; color: #e6efe8; }
.hero-side-title + ul { margin-bottom: 14px; }
.hero-swatches, .hero-counts { list-style: none; display: flex; gap: 10px; }
.hero-swatch { display: block; width: 34px; height: 34px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.85); transition: transform 300ms var(--ease-out); }
.hero-swatch-link { display: grid; justify-items: center; gap: 6px; width: 64px; color: #fff; text-decoration: none; }
.hero-swatch-link:hover { color: var(--gold-400); }
.hero-swatch-link:hover .hero-swatch, .hero-swatch-link:focus-visible .hero-swatch { transform: scale(1.15); }
.hero-swatch-link .hero-count-label { color: inherit; }
.hero-swatch-1 { background: var(--gold-400); }
.hero-swatch-2 { background: var(--bordeaux-500); }
.hero-swatch-3 { background: var(--green-300); }
.hero-counts li { display: grid; justify-items: center; gap: 6px; width: 64px; }
.hero-count {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.7); font-weight: 700; font-size: 1.0625rem;
}
.hero-count-label { font-size: 0.6875rem; line-height: 1.2; text-align: center; color: #d6e5da; }
.hero-count-link { display: grid; justify-items: center; gap: 6px; color: #fff; text-decoration: none; }
.hero-count-link .hero-count { transition: background-color var(--fast) ease, color var(--fast) ease, transform 300ms var(--ease-out); }
.hero-count-link:hover .hero-count, .hero-count-link:focus-visible .hero-count { background: #fff; color: var(--green-950); transform: scale(1.08); }
.hero-count-link:hover .hero-count-label { color: #fff; }
.hero-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px 28px; }
.hero-social { list-style: none; display: flex; gap: 6px; }
.hero-social a { display: grid; place-items: center; width: var(--target); height: var(--target); border-radius: 50%; color: #fff; transition: background-color var(--fast) ease; }
.hero-social a:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }
.hero-social svg { width: 18px; height: 18px; }
.hero-scroll { display: inline-flex; align-items: center; gap: 14px; min-height: var(--target); font-size: var(--step-small); font-weight: 600; color: #fff; text-decoration: none; }
.hero-scroll::before, .hero-scroll::after { content: ''; width: 48px; height: 1px; background: rgba(255, 255, 255, 0.6); }
.hero-scroll:hover { color: var(--gold-400); }
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero-side { grid-column: 1 / -1; grid-auto-flow: column; justify-content: space-between; justify-items: start; text-align: left; }
}
@media (max-width: 900px) {
  .hero-pills { display: none; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 16px; }
  .hero-stage { order: -1; min-height: 340px; }
  .hero-side { grid-auto-flow: row; }
  .hero-scroll { display: none; }
  /* Sur téléphone étroit, le bouton passe sous les icônes plutôt que de couper son libellé */
  .hero-bar { flex-wrap: wrap; }
  .hero-bar .button { white-space: nowrap; }
}

/* ——— 2. Chiffres clés : panneaux en accordéon façon affiche ———
   Un panneau ouvert (mot géant en écho, chiffre au premier plan, lien en pilule), les autres en bandes colorées.
   Sans JS (.deck sans .is-ready), les trois panneaux s'affichent ouverts en grille. */
.figures { padding-block: clamp(48px, 6vw, 88px); background: var(--color-bg); }
.figures-head, .figures-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; }
.figures-head { margin-bottom: 18px; }
.figures-title { font-family: var(--font-text); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-primary); }
.figures-hint, .figures-foot p { font-size: 0.8125rem; color: var(--color-muted-fg); }
.figures-foot { align-items: center; margin-top: 16px; }
.figures-foot-link {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: var(--r-pill);
  font-size: 0.8125rem; font-weight: 600; color: var(--color-fg); text-decoration: none;
  box-shadow: inset 0 0 0 1px var(--color-border-strong); transition: background-color var(--fast) ease, transform var(--press-time) ease-out;
}
.figures-foot-link:hover { background: var(--color-primary-soft); color: var(--color-fg); }
.figures-foot-link:active { transform: scale(0.97); }

.deck { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 8px; container-type: inline-size; }
/* Couleurs de la charte : --base aplat, --glow halo central, --ink texte, --num chiffre au premier plan */
.deck-panel {
  --px: 0; --py: 0; --ink: #fff; --ink-soft: rgba(255, 255, 255, 0.8); --num: var(--gold-400);
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-lg); color: var(--ink); background: var(--base);
}
.deck-panel::before {
  content: ''; position: absolute; z-index: -1; left: 50%; top: 46%; width: 120%; aspect-ratio: 1; translate: -50% -50%;
  background: radial-gradient(circle, var(--glow) 0%, transparent 62%); pointer-events: none;
  animation: deck-glow 7s ease-in-out infinite alternate;
}
.deck-1 { --base: var(--green-700); --glow: rgba(143, 211, 168, 0.5); }
.deck-2 { --base: #efd27a; --glow: rgba(255, 250, 228, 0.95); --ink: #fff; --ink-soft: rgba(11, 36, 24, 0.75); --num: var(--green-800); }
.deck-3 { --base: var(--bordeaux-500); --glow: rgba(228, 138, 146, 0.55); }
.deck-2::before { animation-delay: -2s; }
.deck-3::before { animation-delay: -4.5s; }
@keyframes deck-glow { from { transform: scale(0.88); opacity: 0.75; } to { transform: scale(1.08); opacity: 1; } }

.deck-tab { display: none; }
.deck-body { display: grid; justify-items: center; align-content: center; gap: 4px; padding: 36px 20px 30px; text-align: center; min-height: 380px; }
.deck-stage { display: grid; place-items: center; width: 100%; }
.deck-stage > * { grid-area: 1 / 1; }
.deck-echo {
  display: grid; justify-items: center; font-family: var(--font-text); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.5rem, 4vw, 3.75rem); line-height: 0.8; letter-spacing: -0.045em; color: var(--ink);
  user-select: none; pointer-events: none;
  transform: translate3d(calc(var(--px) * -10px), calc(var(--py) * -6px), 0); transition: transform 600ms var(--ease-out);
}
.deck-echo span { --o: 0.16; display: block; white-space: nowrap; opacity: var(--o); }
.deck-echo span:nth-child(2) { --o: 0.94; }
.deck-2 .deck-echo span { --o: 0.34; }
.deck-2 .deck-echo span:nth-child(2) { --o: 0.96; }
.deck-float {
  display: block; translate: 0 18%;
  transform: translate3d(calc(var(--px) * 18px), calc(var(--py) * 12px), 0); transition: transform 500ms var(--ease-out);
}
.deck-value {
  display: block; font-family: var(--font-display); font-size: clamp(7rem, 11vw, 10rem); line-height: 0.85; letter-spacing: -0.04em; color: var(--num);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.12), 0 22px 44px rgba(0, 0, 0, 0.32);
}
.deck-2 .deck-value { text-shadow: 0 2px 0 rgba(255, 255, 255, 0.4), 0 22px 44px rgba(123, 94, 10, 0.35); }
.deck-value .to-complete { font-size: 0.875rem; text-shadow: none; }
.deck-meta { display: grid; justify-items: center; gap: 4px; margin-top: 22px; }
.deck-label { font-weight: 700; font-size: clamp(1.0625rem, 0.95rem + 0.4vw, 1.3125rem); color: var(--ink); }
.deck-2 .deck-label { color: var(--green-950); }
.deck-source { font-size: 0.8125rem; color: var(--ink-soft); }
.deck-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: var(--target); margin-top: 12px; padding: 0 20px; border-radius: var(--r-pill);
  font-size: var(--step-small); font-weight: 600; text-decoration: none; background: #fff; color: var(--green-950);
  transition: background-color var(--fast) ease, color var(--fast) ease, transform var(--press-time) ease-out;
}
.deck-link:hover { background: var(--gold-400); color: var(--anthracite); }
.deck-2 .deck-link { background: var(--green-950); color: #fff; }
.deck-2 .deck-link:hover { background: var(--green-700); color: #fff; }
.deck-link:active { transform: scale(0.97); }
.deck-link svg { width: 16px; height: 16px; transition: transform 300ms var(--ease-out); }
.deck-link:hover svg { transform: translate(2px, -2px); }
.deck-link:focus-visible, .deck-tab:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.deck-2 .deck-link:focus-visible, .deck-2 .deck-tab:focus-visible { outline-color: var(--green-950); }

/* ——— Accordéon (JS actif) ——— */
.deck.is-ready { display: flex; gap: 0; height: clamp(460px, 46vw, 560px); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-card); }
.deck.is-ready .deck-panel { flex: 1 1 0; min-width: 0; border-radius: 0; transition: flex-grow 800ms var(--ease-spring); }
.deck.is-ready .deck-panel.is-active { flex-grow: 3.4; }

.deck.is-ready .deck-tab {
  position: absolute; inset: 0; z-index: 2; display: grid; grid-template-rows: 1fr auto; justify-items: center; align-items: center;
  gap: 12px; padding: 28px 14px 30px; border: 0; background: transparent; color: var(--ink); font: inherit; cursor: pointer;
  transition: opacity 300ms ease;
}
.deck.is-ready .deck-2 .deck-tab { color: var(--green-950); }
/* Pastille « + » : le panneau s'ouvre */
.deck.is-ready .deck-tab::after {
  content: '+'; position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  font-size: 1.25rem; line-height: 1; box-shadow: inset 0 0 0 1.5px currentColor; opacity: 0.8;
  transition: transform 400ms var(--ease-spring), background-color var(--fast) ease;
}
.deck.is-ready .deck-tab:hover::after { transform: rotate(90deg); background: rgba(255, 255, 255, 0.22); }
.deck-tab-value {
  font-family: var(--font-display); font-size: clamp(3.75rem, 8cqi, 6.5rem); line-height: 1; color: var(--num);
  text-shadow: 0 16px 32px rgba(0, 0, 0, 0.28); animation: deck-bob 5.5s ease-in-out infinite;
}
.deck-2 .deck-tab-value { text-shadow: 0 16px 32px rgba(123, 94, 10, 0.3); animation-delay: -1.8s; }
.deck-3 .deck-tab-value { animation-delay: -3.6s; }
.deck-tab-label { max-width: 14ch; font-size: 0.875rem; font-weight: 600; line-height: 1.3; text-align: center; }
@keyframes deck-bob { 0%, 100% { transform: translateY(-6px); } 50% { transform: translateY(6px); } }
.deck.is-ready .is-active .deck-tab { opacity: 0; pointer-events: none; }

/* Le contenu garde la largeur du panneau ouvert : il ne se tasse pas pendant l'ouverture */
.deck.is-ready .deck-body {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 62cqi; margin-left: -31cqi; min-height: 0; padding-block: 28px;
  opacity: 0; visibility: hidden; transition: opacity 200ms ease, visibility 0s linear 200ms;
}
.deck.is-ready .is-active .deck-body { opacity: 1; visibility: visible; transition: opacity 400ms ease 180ms, visibility 0s; }
.deck.is-ready .deck-echo { font-size: 9.4cqi; }
.deck.is-ready .deck-value { font-size: 19cqi; }

/* Entrée du panneau ouvert : le mot monte ligne à ligne, le chiffre bascule en place, puis le texte */
.deck.is-ready .deck-echo span { opacity: 0; transform: translateY(45%); transition: transform 800ms var(--ease-out), opacity 500ms ease; }
.deck.is-ready .is-active .deck-echo span { opacity: var(--o); transform: none; }
.deck.is-ready .is-active .deck-echo span:nth-child(1) { transition-delay: 160ms; }
.deck.is-ready .is-active .deck-echo span:nth-child(2) { transition-delay: 240ms; }
.deck.is-ready .is-active .deck-echo span:nth-child(3) { transition-delay: 320ms; }
.deck.is-ready .deck-value { opacity: 0; transform: scale(0.55) rotate(-10deg); transition: transform 900ms var(--ease-spring), opacity 300ms ease; }
.deck.is-ready .is-active .deck-value { opacity: 1; transform: none; transition-delay: 260ms; }
.deck.is-ready .deck-meta > * { opacity: 0; transform: translateY(14px); transition: transform 500ms var(--ease-out), opacity 400ms ease; }
.deck.is-ready .is-active .deck-meta > * { opacity: 1; transform: none; }
.deck.is-ready .is-active .deck-meta > :nth-child(1) { transition-delay: 420ms; }
.deck.is-ready .is-active .deck-meta > :nth-child(2) { transition-delay: 480ms; }
.deck.is-ready .is-active .deck-meta > :nth-child(3) { transition-delay: 540ms; }

/* Téléphone : les panneaux s'empilent, le panneau ouvert se déplie en hauteur */
@media (max-width: 720px) {
  .deck.is-ready { flex-direction: column; height: auto; border-radius: var(--r-lg); }
  .deck.is-ready .deck-panel { flex: none; height: 96px; transition: height 650ms var(--ease-spring); }
  .deck.is-ready .deck-panel.is-active { height: min(470px, 120cqi); }
  .deck.is-ready .deck-tab { grid-template-rows: none; grid-template-columns: auto 1fr; justify-items: start; gap: 18px; padding: 0 64px 0 22px; }
  .deck.is-ready .deck-tab::after { top: 50%; margin-top: -17px; }
  .deck-tab-value { font-size: 3.25rem; animation: none; }
  .deck-tab-label { max-width: none; text-align: left; font-size: 0.9375rem; }
  .deck.is-ready .deck-body { left: 0; width: 100%; margin-left: 0; bottom: auto; height: min(470px, 120cqi); }
  .deck.is-ready .deck-echo { font-size: 15cqi; }
  .deck.is-ready .deck-value { font-size: 34cqi; }
}

/* ——— 3. Piliers et chaîne de l'IE ——— */
.pillars { padding-block: var(--section) clamp(64px, 8vw, 120px); background: var(--color-surface-2); }
.pillar-cards { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(40px, 5vw, 72px); perspective: 1200px; }
.pillar-card {
  position: relative; display: grid; align-content: start; gap: 12px;
  padding: clamp(24px, 2.6vw, 36px); min-height: 300px;
  background: var(--color-surface); border-radius: var(--r-lg); box-shadow: var(--shadow-card);
  transform-style: preserve-3d; transition: box-shadow 300ms ease;
}
.pillar-card:hover { box-shadow: var(--shadow-float); }
.pillar-icon { display: block; width: 52px; height: 52px; color: var(--color-primary); }
:root[data-theme='dark'] .pillar-icon { color: var(--green-300); }
.pillar-index { position: absolute; top: clamp(24px, 2.6vw, 36px); right: clamp(24px, 2.6vw, 36px); font-size: var(--step-small); font-weight: 600; color: var(--color-accent-ink); }
.pillar-card h3 { margin-top: 28px; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 1.2rem + 0.9vw, 2rem); line-height: 1.1; letter-spacing: -0.02em; }
.pillar-card p { color: var(--color-fg-2); }
@media (max-width: 900px) {
  .pillar-cards { grid-template-columns: 1fr; }
  .pillar-card { min-height: 0; }
}

/* ——— 4. Enjeux sur la carte ——— */
.atlas { padding-block: var(--section); background: var(--color-bg); }
.atlas-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.atlas-figure { margin: 0; background: var(--color-surface); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-card); isolation: isolate; }


.legend { margin-top: 36px; }
.legend-keys {
  position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 4px;
  background: var(--color-surface-2); border-radius: 14px;
}
.legend-thumb { display: none; }
.legend-key {
  width: 100%; min-height: var(--target); display: flex; align-items: center; justify-content: flex-start; gap: 10px;
  padding: 8px 14px; font: 500 var(--step-small)/1.2 var(--font-text); color: var(--color-fg-2);
  background: transparent; border: 0; border-radius: 10px;
  transition: background-color var(--fast) ease, color var(--fast) ease, transform var(--press-time) ease-out;
}
.legend-key:hover { color: var(--color-fg); }
.legend-key:active { transform: scale(0.97); }
.legend-key[aria-pressed='true'] { background: var(--color-surface); color: var(--color-fg); font-weight: 600; box-shadow: var(--shadow-card); }
.legend-swatch { width: 10px; height: 10px; flex: none; border-radius: 50%; }
.legend-reading { margin-top: 18px; min-height: 5em; font-size: var(--step-body); line-height: 1.55; color: var(--color-fg-2); }
.legend-reading strong { color: var(--color-fg); font-weight: 600; }
.no-js .legend-keys { display: none; }

.swatch-vision-2050, .atlas-pin-vision-2050 { background: var(--green-600); }
.swatch-ressources, .atlas-pin-ressources { background: var(--gold-500); }
.swatch-numerique, .atlas-pin-numerique { background: #2f6f8f; }
.swatch-integration, .atlas-pin-integration { background: var(--bordeaux-500); }

/* Carte interactive (Leaflet) : fond OpenStreetMap adouci, contour réel, repères ronds aux couleurs des enjeux */
.atlas-map .leaflet-tile-pane { filter: saturate(0.55) contrast(0.95) brightness(1.03); }
:root[data-theme='dark'] .atlas-map .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) saturate(0.35) brightness(0.85) contrast(0.9); }
.atlas-map { width: 100%; height: clamp(380px, 46vw, 600px); background: var(--sea); }
.no-js .atlas-map, .atlas-failed .atlas-map { display: none; }
.atlas-places { display: none; padding: clamp(20px, 2.4vw, 32px); font-size: var(--step-small); color: var(--color-fg-2); }
.atlas-places ul { list-style: none; display: grid; gap: 10px; margin-top: 12px; }
.no-js .atlas-places, .atlas-failed .atlas-places { display: block; }
.atlas-hint { padding: 12px 18px; font-size: 0.8125rem; color: var(--color-muted-fg); background: var(--color-surface); }
.no-js .atlas-hint, .atlas-failed .atlas-hint { display: none; }
.atlas-map.leaflet-container { font: 400 var(--step-small)/1.4 var(--font-text); background: var(--sea); }
.atlas-map .leaflet-control-zoom a { width: 40px; height: 40px; line-height: 38px; font-size: 20px; color: var(--color-fg); background: var(--color-surface); }
.atlas-map .leaflet-control-zoom a:hover { background: var(--color-primary-soft); }
.atlas-map .leaflet-bar { border: 0; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-card); }
.atlas-map .leaflet-control-attribution { font-size: 0.6875rem; color: var(--color-fg-2); background: var(--color-header); }
.atlas-map .leaflet-control-attribution a { color: var(--color-link); }
.atlas-pin { border-radius: 50%; border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35); transition: transform 200ms var(--ease-out); }
.atlas-pin:hover, .atlas-pin:focus-visible { transform: scale(1.25); }
.atlas-pin:focus-visible { outline: 3px solid var(--color-ring); outline-offset: 2px; }
.atlas-pin-seat { background: var(--bordeaux-700); box-shadow: 0 0 0 6px rgba(125, 36, 48, 0.25), 0 2px 6px rgba(0, 0, 0, 0.35); }
.atlas-map .leaflet-popup-content-wrapper { border-radius: var(--r-md); background: var(--color-surface); color: var(--color-fg); box-shadow: var(--shadow-float); }
.atlas-map .leaflet-popup-tip { background: var(--color-surface); }
.atlas-map .leaflet-popup-content { margin: 14px 18px; }
.atlas-map .leaflet-popup-content > div { display: grid; gap: 4px; }
.atlas-map .leaflet-popup-content strong { font-weight: 600; font-size: 1rem; }
.atlas-map .leaflet-popup-content span { color: var(--color-muted-fg); }
.atlas-map .leaflet-container a.leaflet-popup-close-button, .atlas-map a.leaflet-popup-close-button { width: 32px; height: 32px; font-size: 20px; color: var(--color-muted-fg); }
@media (max-width: 900px) { .atlas-grid { grid-template-columns: 1fr; } }

/* ——— 5. Activités ——— */
.activities { padding-block: var(--section); }
.activity-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 80px); margin-top: clamp(40px, 5vw, 72px); }
.activity-list li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 16px; padding-block: 28px; box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.14); }
.activity-index { grid-row: span 2; padding-top: 6px; font-size: var(--step-small); font-weight: 600; color: var(--gold-400); }
.activity-list h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.625rem, 1.2rem + 1.3vw, 2.5rem); line-height: 1.05; letter-spacing: -0.02em; }
.activity-list h3 a { color: #fff; text-decoration: none; }
.activity-list h3 a:hover { color: var(--gold-400); }
.activity-list p { max-width: 44ch; }
@media (max-width: 900px) { .activity-list { grid-template-columns: 1fr; } }

/* ——— 6. Publications et agenda ——— */
.desk { padding-block: var(--section); background: var(--color-bg); }
.desk-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); }
.series { list-style: none; margin-top: 40px; display: grid; gap: 28px; }
.series-item { display: grid; grid-template-columns: minmax(140px, 240px) 1fr; gap: 22px; align-items: start; }
.series-cover { aspect-ratio: 16 / 9; display: block; overflow: hidden; border-radius: var(--r-md); background: var(--color-surface-2); box-shadow: var(--shadow-card); }
.series-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.series-item:hover .series-cover img { transform: scale(1.04); }
.series-meta { font-size: var(--step-small); color: var(--color-muted-fg); }
.series-type { font-weight: 600; color: var(--color-emphasis); }
.series-item h3 { margin-top: 6px; font-size: 1.25rem; line-height: 1.25; }
.series-item h3 a { color: var(--color-fg); text-decoration: none; }
.series-item h3 a:hover { color: var(--color-link); text-decoration: underline; }
.series-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: var(--step-small); }
.series-links a { font-weight: 600; }
.series-links span { color: var(--color-muted-fg); }
.empty-line { margin-top: 28px; color: var(--color-fg-2); }
.desk-more { margin-top: 36px; }

.agenda { align-self: start; padding: clamp(24px, 3vw, 36px); background: var(--color-accent-soft); border-radius: var(--r-lg); }
.agenda h2 { font-size: var(--step-title); }
.agenda-list { list-style: none; margin-top: 24px; display: grid; gap: 20px; }
.agenda-item { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: start; }
.agenda-date { background: var(--color-surface); text-align: center; padding: 10px 4px; border-radius: 14px; box-shadow: var(--shadow-card); line-height: 1; }
.agenda-date strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.625rem; color: var(--color-fg); }
.agenda-date span { font-size: 0.8125rem; font-weight: 600; color: var(--color-emphasis); }
.agenda-item h3 { font-size: 1.0625rem; line-height: 1.3; }
.agenda-item h3 a { color: var(--color-fg); text-decoration: none; }
.agenda-item h3 a:hover { text-decoration: underline; }
.agenda-item p { margin-top: 4px; font-size: var(--step-small); color: var(--color-muted-fg); }
.agenda-empty { margin-top: 18px; color: var(--color-fg-2); }
.agenda-empty a { font-weight: 600; }
.agenda-news { margin-top: 28px; padding-top: 22px; box-shadow: 0 -1px 0 var(--hairline); }
.agenda-news h3 { font-size: 1rem; color: var(--color-muted-fg); }
.agenda-news ul { list-style: none; margin-top: 12px; display: grid; gap: 12px; }
.agenda-news a { font-weight: 600; }
.agenda-news time { display: block; font-size: var(--step-small); color: var(--color-muted-fg); }
.agenda-more { margin-top: 24px; font-weight: 600; }
@media (max-width: 900px) {
  .desk-grid { grid-template-columns: 1fr; row-gap: 56px; }
  .series-item { grid-template-columns: 1fr; }
}

/* ——— 7. Bureau ——— */
.bureau-band { padding-block: var(--section); background: var(--color-primary-soft); }
.bureau-show { margin-top: clamp(32px, 4vw, 56px); }

/* ——— 8. Presse ——— */
.press { padding-block: clamp(64px, 8vw, 120px); }
.press-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--gap); align-items: start; }
.press-label { font-family: var(--font-text); font-weight: 600; font-size: var(--step-small); letter-spacing: 0.02em; color: var(--color-accent-ink); padding-top: 12px; }
.press-quote { margin: 0; }
.press-quote blockquote { margin: 0; }
.press-quote p { font-family: var(--font-display); font-size: clamp(1.75rem, 1.2rem + 2vw, 3.25rem); line-height: 1.12; letter-spacing: -0.02em; color: var(--color-fg); text-wrap: balance; }
.press-quote p::before { content: '« '; color: var(--color-emphasis); }
.press-quote p::after { content: ' »'; color: var(--color-emphasis); }
.press-quote figcaption { margin-top: 24px; font-size: var(--step-small); color: var(--color-fg-2); }
.press-quote figcaption a { font-weight: 600; }
@media (max-width: 900px) { .press-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
}
