/* =========================================================================
   RÉSONANCE — feuille de style du site
   Transposition de « Site RÉSONANCE v2.dc.html » (projet Claude Design).
   Tous les styles portés en attribut ou par le JavaScript du prototype
   sont ici sous forme de classes. Aucune ressource distante.
   ========================================================================= */

@import url('polices.css');

/* -------------------------------------------------------------------------
   1. Jetons
   Les jetons de la charte (tokens/colors.css du design system) sont repris
   tels quels. La page v2 introduit en plus une déclinaison sombre : elle est
   déclarée ici comme une extension nommée de la palette.
   ------------------------------------------------------------------------- */
:root {
  /* Palette officielle — bleus & turquoises */
  --bleu-profond:   #035b83;
  --turquoise:      #149fa7;
  --aqua:           #a8dad9;

  /* Palette officielle — neutres & verts */
  --sarcelle:       #005c61;
  --vert-gris:      #4d756a;

  /* Palette officielle — rouges */
  --rouge:          #9c1a1b;

  /* Extension sombre propre à la page v2 */
  --nuit:           #06201f;
  --turquoise-clair:#8fd9dc;

  /* Textes sur fond clair */
  --texte-fort:     #17201f;
  --texte-corps:    #333b3b;
  --texte-doux:     #4c5757;
  --texte-faible:   #6a746d;

  /* Textes sur fond sombre */
  --texte-nuit:       #f2f7f7;
  --texte-nuit-doux:  #bcd6d5;
  --texte-nuit-faible:#8fa9a8;
  --nav-lien:         #cfe4e3;

  /* Surfaces et filets */
  --surface-douce:  #f4f8f8;
  --bordure:        #d7e0e0;
  --bordure-forte:  #b7c6c6;
  --filet:          #e6eded;

  /* Filets sur fond sombre */
  --filet-nuit:       rgba(168, 218, 217, .18);
  --filet-nuit-tenu:  rgba(168, 218, 217, .12);
  --survol-nuit:      rgba(168, 218, 217, .06);

  /* Typographie */
  --titre:  'Instrument Serif', Georgia, 'Times New Roman', serif;
  --corps:  'Carlito', 'Calibri', 'Segoe UI', system-ui, sans-serif;

  /* Gabarit */
  --largeur:  1320px;
  --marge:    40px;
  --entete-h: 74px;
}

/* Couleur d'axe — portée par une classe, consommée par --couleur-axe.
   C'est ce qui remplace les couleurs calculées en JavaScript dans le prototype. */
.axe--1 { --couleur-axe: var(--turquoise); }
.axe--2 { --couleur-axe: var(--rouge); }
.axe--3 { --couleur-axe: var(--bleu-profond); }
.axe--4 { --couleur-axe: var(--vert-gris); }

/* Couleur de type d'événement */
.type--rouge           { --couleur-type: var(--rouge); }
.type--turquoise-clair { --couleur-type: var(--turquoise-clair); }
.type--aqua            { --couleur-type: var(--aqua); }

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

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

body {
  margin: 0;
  background: var(--nuit);
  color: var(--texte-nuit);
  font-family: var(--corps);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--turquoise-clair); text-decoration: none; }
a:hover { color: #fff; }

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

::selection { background: var(--turquoise); color: var(--nuit); }

:focus-visible {
  outline: 2px solid var(--aqua);
  outline-offset: 2px;
}

.conteneur {
  max-width: var(--largeur);
  margin: 0 auto;
  padding: 0 var(--marge);
}

/* Marqueur de donnée non fournie — doit rester visible. */
.a-fournir {
  background: rgba(156, 26, 27, .14);
  box-shadow: inset 0 -1px 0 rgba(156, 26, 27, .55);
  padding: 0 .18em;
  font-style: normal;
}

/* Lien d'évitement */
.evitement {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: #fff;
  color: var(--nuit);
  padding: 12px 20px;
  font-weight: 700;
}
.evitement:focus {
  left: var(--marge);
  top: 12px;
  color: var(--nuit);
}

/* -------------------------------------------------------------------------
   3. Animations
   ------------------------------------------------------------------------- */
@keyframes onde {
  0%   { transform: scale(.28); opacity: 0; }
  12%  { opacity: .55; }
  100% { transform: scale(1); opacity: 0; }
}

@keyframes pouls {
  0%, 100% { opacity: 1; }
  50%      { opacity: .25; }
}

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

/* -------------------------------------------------------------------------
   4. En-tête
   ------------------------------------------------------------------------- */
.entete {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 32, 31, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(168, 218, 217, .16);
}

.entete__interieur {
  max-width: var(--largeur);
  margin: 0 auto;
  padding: 0 var(--marge);
  height: var(--entete-h);
  display: flex;
  align-items: center;
  gap: var(--marge);
}

.entete__logo {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 7px 14px;
  border-radius: 2px;
}
.entete__logo img { height: 44px; width: auto; }

.nav-principale {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-principale a {
  padding: 9px 14px;
  font-size: 14.5px;
  color: var(--nav-lien);
  letter-spacing: .01em;
}
.nav-principale a:hover { color: #fff; }

.entete__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bouton-rond {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(168, 218, 217, .28);
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  color: var(--aqua);
}
.bouton-rond:hover { background: rgba(168, 218, 217, .14); color: #fff; }

/* -------------------------------------------------------------------------
   5. Boutons
   ------------------------------------------------------------------------- */
.bouton {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 28px;
  border-radius: 2px;
  border: 1px solid transparent;
  font-family: inherit;
  cursor: pointer;
}

.bouton--turquoise { color: var(--nuit); background: var(--turquoise); }
.bouton--turquoise:hover { background: var(--aqua); color: var(--nuit); }

.bouton--contour {
  color: var(--texte-nuit);
  background: transparent;
  border-color: rgba(168, 218, 217, .34);
}
.bouton--contour:hover { border-color: var(--aqua); color: #fff; }

.bouton--blanc { color: var(--rouge); background: #fff; }
.bouton--blanc:hover { background: var(--nuit); color: #fff; }

/* Variante compacte de l'en-tête */
.bouton--compact {
  font-size: 14.5px;
  padding: 11px 20px;
  gap: 0;
  color: var(--nuit);
  background: var(--aqua);
  letter-spacing: .01em;
}
.bouton--compact:hover { background: #fff; color: var(--nuit); }

/* Lien souligné des sections claires */
.lien-souligne {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--sarcelle);
  border-bottom: 1px solid var(--sarcelle);
  padding-bottom: 2px;
}
.lien-souligne:hover { color: var(--rouge); border-color: var(--rouge); }

/* -------------------------------------------------------------------------
   6. Surtitres
   ------------------------------------------------------------------------- */
.surtitre {
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.surtitre--turquoise { color: var(--turquoise-clair); }
.surtitre--sombre    { color: var(--texte-faible); white-space: nowrap; }
.surtitre--nuit      { color: var(--texte-nuit-faible); }

/* -------------------------------------------------------------------------
   7. Bandeau d'accroche (hero)
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(168, 218, 217, .16);
}

.hero__conteneur {
  position: relative;
  max-width: var(--largeur);
  margin: 0 auto;
  padding: 96px var(--marge) 0;
}

/* Motif d'ondes concentriques, dérivé du logo. */
.ondes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side at 76% 42%, #000 30%, transparent 100%);
          mask-image: radial-gradient(closest-side at 76% 42%, #000 30%, transparent 100%);
}
.ondes__centre {
  position: absolute;
  left: 76%;
  top: 42%;
  width: 0;
  height: 0;
}
.ondes__anneau {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1180px;
  height: 1180px;
  margin-left: -590px;
  margin-top: -590px;
  border: 1px solid rgba(168, 218, 217, .5);
  border-radius: 50%;
  animation: onde 9s cubic-bezier(.22, .61, .36, 1) infinite;
}
.ondes__anneau:nth-child(1) { animation-delay: 0s; }
.ondes__anneau:nth-child(2) { animation-delay: 2.25s; }
.ondes__anneau:nth-child(3) { animation-delay: 4.5s; }
.ondes__anneau:nth-child(4) { animation-delay: 6.75s; }

.annonce {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
}
.annonce__point {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rouge);
  display: block;
  flex: none;
  animation: pouls 2.4s ease-in-out infinite;
}

.hero__titre {
  font-family: var(--titre);
  font-weight: 400;
  font-size: clamp(52px, 7.6vw, 116px);
  line-height: .94;
  letter-spacing: -.015em;
  margin: 0;
  max-width: 16ch;
  color: #fff;
  text-wrap: balance;
}
.hero__titre em { font-style: italic; color: var(--aqua); }

.hero__chapo {
  margin: 36px 0 0;
  font-size: 20px;
  line-height: 1.55;
  color: var(--texte-nuit-doux);
  max-width: 52ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 44px 0 0;
}

/* Chiffres clés */
.chiffres {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 104px;
  border-top: 1px solid rgba(168, 218, 217, .2);
}
.chiffres__item {
  padding: 32px 28px 40px 0;
  border-right: 1px solid var(--filet-nuit-tenu);
}
.chiffres__nombre {
  font-family: var(--titre);
  font-size: 56px;
  line-height: 1;
  color: #fff;
}
.chiffres__libelle {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--texte-nuit-faible);
  max-width: 22ch;
}

/* -------------------------------------------------------------------------
   8. Sections
   ------------------------------------------------------------------------- */
.section--claire  { background: #fff;                color: var(--texte-fort); }
.section--douce   { background: var(--surface-douce); color: var(--texte-fort); border-top: 1px solid var(--bordure); }
.section--nuit    { background: var(--nuit);          color: var(--texte-nuit); }
.section--rouge   { background: var(--rouge);         color: #fff; }
.section--sarcelle{ background: var(--sarcelle);      color: var(--texte-nuit); }

.section__conteneur {
  max-width: var(--largeur);
  margin: 0 auto;
  padding: 104px var(--marge);
}
.section__conteneur--haut { padding-top: 112px; padding-bottom: 112px; }

.section__entete {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--marge);
}
.section__entete--filet {
  border-bottom: 1px solid var(--texte-fort);
  padding-bottom: 20px;
}
.section__entete--espace  { margin-bottom: 48px; }
.section__entete--serre   { margin-bottom: 12px; }

.section__titre {
  font-family: var(--titre);
  font-weight: 400;
  font-size: clamp(32px, 3.8vw, 54px);
  line-height: 1;
  margin: 0;
}
.section__titre--grand {
  font-size: clamp(34px, 4.4vw, 64px);
  letter-spacing: -.01em;
}
.section__titre--nuit { color: #fff; }

/* -------------------------------------------------------------------------
   9. Axes de recherche
   ------------------------------------------------------------------------- */
.axes__grille {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  margin-top: 56px;
  align-items: start;
}

.axes__liste {
  display: flex;
  flex-direction: column;
}

.axe-onglet {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  background: transparent;
  border: none;
  border-top: 1px solid var(--bordure);
  border-left: 3px solid transparent;
  padding: 26px 8px 26px 20px;
  font: inherit;
  transition: border-color .18s ease;
}
.axe-onglet:hover { border-color: var(--texte-fort); }
.axe-onglet[aria-selected="true"] { border-left-color: var(--couleur-axe); }

.axe-onglet__numero {
  font-family: var(--titre);
  font-size: 34px;
  line-height: 1;
  color: var(--bordure-forte);
  min-width: 64px;
  text-align: left;
}
.axe-onglet[aria-selected="true"] .axe-onglet__numero { color: var(--couleur-axe); }

.axe-onglet__titre {
  flex: 1;
  text-align: left;
  font-size: 23px;
  line-height: 1.25;
  letter-spacing: -.005em;
  color: var(--texte-doux);
  font-weight: 400;
}
.axe-onglet[aria-selected="true"] .axe-onglet__titre {
  color: var(--texte-fort);
  font-weight: 700;
}

.axe-onglet__compte {
  font-size: 13px;
  color: var(--texte-faible);
  white-space: nowrap;
}

.axe-panneau {
  position: sticky;
  top: 110px;
  background: var(--surface-douce);
  border-left: 3px solid var(--couleur-axe);
  padding: 40px 40px 44px;
}
.axe-panneau[hidden] { display: none; }

.axe-panneau__surtitre {
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--couleur-axe);
  font-weight: 700;
}
.axe-panneau__titre {
  font-family: var(--titre);
  font-weight: 400;
  font-size: 34px;
  line-height: 1.12;
  margin: 14px 0 0;
  color: var(--texte-fort);
}
.axe-panneau__texte {
  margin: 20px 0 0;
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--texte-corps);
}

.axe-panneau__infos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--bordure);
  margin-top: 32px;
  border: 1px solid var(--bordure);
}
.axe-panneau__info { background: var(--surface-douce); padding: 18px 20px; }
.axe-panneau__cle {
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--texte-faible);
}
.axe-panneau__valeur {
  margin-top: 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--texte-fort);
}

.axe-panneau__mots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
}
.axe-panneau__mots li {
  font-size: 13px;
  color: var(--sarcelle);
  border: 1px solid var(--bordure-forte);
  padding: 6px 12px;
  border-radius: 100px;
}

/* -------------------------------------------------------------------------
   10. Projets
   ------------------------------------------------------------------------- */
.projets__grille {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--bordure);
  border: 1px solid var(--bordure);
}

.projet {
  background: #fff;
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 290px;
  transition: background .18s ease;
}
.projet:hover {
  background: var(--nuit);
  box-shadow: inset 4px 0 0 var(--couleur-axe);
}

.projet__ligne {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.projet__axe {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--couleur-axe);
}
.projet:hover .projet__axe { color: #fff; }

.projet__etat { font-size: 12.5px; color: var(--texte-faible); }
.projet:hover .projet__etat { color: var(--texte-nuit-faible); }

.projet__titre {
  font-family: var(--titre);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.18;
  margin: 0;
  color: var(--texte-fort);
}
.projet:hover .projet__titre { color: #fff; }

.projet__texte {
  margin: 0;
  font-size: 15px;
  line-height: 1.58;
  color: var(--texte-doux);
}
.projet:hover .projet__texte { color: var(--texte-nuit-doux); }

.projet__pied {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--filet);
}
.projet:hover .projet__pied { border-top-color: rgba(168, 218, 217, .22); }

.projet__porteur { font-size: 13.5px; color: var(--texte-doux); }
.projet:hover .projet__porteur { color: var(--texte-nuit-doux); }

.projet__periode { font-size: 13px; color: var(--texte-faible); }
.projet:hover .projet__periode { color: var(--texte-nuit-faible); }

/* -------------------------------------------------------------------------
   11. Agenda
   ------------------------------------------------------------------------- */
.agenda__liste { list-style: none; margin: 0; padding: 0; }

.evenement {
  display: grid;
  grid-template-columns: 150px 1fr 240px 40px;
  gap: 32px;
  align-items: center;
  padding: 34px 0;
  border-top: 1px solid var(--filet-nuit);
  color: var(--texte-nuit);
}
.evenement:hover { background: var(--survol-nuit); color: var(--texte-nuit); }

.evenement__date {
  display: flex;
  align-items: baseline;
  gap: 9px;
}
.evenement__jour {
  font-family: var(--titre);
  font-size: 46px;
  line-height: 1;
  color: #fff;
}
.evenement__mois {
  font-size: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--turquoise-clair);
}
.evenement__type {
  display: block;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--couleur-type);
  font-weight: 700;
  margin-bottom: 8px;
}
.evenement__titre {
  display: block;
  font-size: 23px;
  line-height: 1.24;
  color: #fff;
  max-width: 44ch;
}
.evenement__lieu { font-size: 14.5px; color: var(--texte-nuit-faible); }

/* -------------------------------------------------------------------------
   12. Appel à projets
   ------------------------------------------------------------------------- */
.appel {
  max-width: var(--largeur);
  margin: 0 auto;
  padding: 88px var(--marge);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
}
.appel__surtitre {
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #f0c3c3;
  margin-bottom: 20px;
}
.appel__titre {
  font-family: var(--titre);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.04;
  margin: 0;
  max-width: 20ch;
  color: #fff;
}
.appel__texte {
  margin: 0;
  font-size: 17px;
  line-height: 1.62;
  color: #f6dddd;
}
.appel .bouton { margin-top: 28px; }

/* -------------------------------------------------------------------------
   13. Publications
   ------------------------------------------------------------------------- */
.publications__grille {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}
.publications__intro { position: sticky; top: 110px; }
.publications__texte {
  margin: 22px 0 0;
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--texte-doux);
  max-width: 34ch;
}
.publications__intro .lien-souligne {
  display: inline-block;
  margin-top: 24px;
}
.publications__liste { list-style: none; margin: 0; padding: 0; }

.publication {
  padding: 28px 0;
  border-top: 1px solid var(--bordure);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: start;
}
.publication__titre {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.32;
  margin: 0;
  color: var(--texte-fort);
  font-family: var(--corps);
}
.publication__auteurs { margin-top: 8px; font-size: 15px; color: var(--texte-doux); }
.publication__revue {
  margin-top: 4px;
  font-size: 14.5px;
  color: var(--texte-faible);
  font-style: italic;
}
.publication__axe {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--couleur-axe);
  white-space: nowrap;
  padding-top: 4px;
}

/* -------------------------------------------------------------------------
   14. Le réseau
   ------------------------------------------------------------------------- */
.reseau__chapo {
  margin: 0 0 56px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--texte-nuit-doux);
  max-width: 56ch;
}
.reseau__grille {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(168, 218, 217, .22);
  border: 1px solid rgba(168, 218, 217, .22);
}
.service {
  background: var(--sarcelle);
  padding: 40px 32px 44px;
}
.service__numero {
  font-family: var(--titre);
  font-size: 38px;
  line-height: 1;
  color: var(--aqua);
}
.service__titre {
  font-size: 20px;
  font-weight: 700;
  margin: 18px 0 10px;
  color: #fff;
  font-family: var(--corps);
}
.service__texte {
  margin: 0;
  font-size: 15px;
  line-height: 1.58;
  color: var(--texte-nuit-doux);
}

/* -------------------------------------------------------------------------
   15. Pied de page
   ------------------------------------------------------------------------- */
.pied {
  background: var(--nuit);
  color: var(--texte-nuit-faible);
  border-top: 1px solid var(--filet-nuit);
}
.pied__haut {
  max-width: var(--largeur);
  margin: 0 auto;
  padding: 64px var(--marge) 40px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
}
.pied__logo {
  display: inline-flex;
  background: #fff;
  padding: 12px 16px;
  border-radius: 2px;
  margin-bottom: 20px;
}
.pied__logo img { height: 56px; width: auto; }
.pied__adresse {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 34ch;
}
.pied__colonne {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pied__titre {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--texte-nuit);
  margin-bottom: 6px;
}
.pied__colonne a { font-size: 14.5px; color: var(--texte-nuit-faible); }
.pied__colonne a:hover { color: #fff; }
.pied__manquant { font-size: 14.5px; }
.pied__bas {
  max-width: var(--largeur);
  margin: 0 auto;
  padding: 20px var(--marge) 40px;
  border-top: 1px solid rgba(168, 218, 217, .14);
  font-size: 13px;
}

/* -------------------------------------------------------------------------
   16. Recherche
   ------------------------------------------------------------------------- */
.recherche {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(6, 32, 31, .97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0 var(--marge);
  overflow: auto;
}
.recherche[hidden] { display: none; }

.sans-defilement { overflow: hidden; }

.recherche__interieur {
  max-width: 900px;
  margin: 0 auto;
  padding: 96px 0 80px;
}
.recherche__entete {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}
.recherche__fermer {
  background: transparent;
  border: 1px solid rgba(168, 218, 217, .3);
  color: var(--aqua);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  font-family: inherit;
}
.recherche__fermer:hover { background: rgba(168, 218, 217, .14); color: #fff; }

.recherche__champ {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(168, 218, 217, .35);
  color: #fff;
  font-family: var(--titre);
  font-size: 44px;
  padding: 0 0 20px;
  outline: none;
}
.recherche__champ::placeholder { color: rgba(255, 255, 255, .45); }

.recherche__compteur {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--texte-nuit-faible);
}
.recherche__resultats { margin-top: 32px; }

.resultat {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid rgba(168, 218, 217, .16);
  color: var(--texte-nuit);
}
.resultat:hover { background: var(--survol-nuit); color: var(--texte-nuit); }
.resultat__type {
  font-size: 12px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--turquoise-clair);
  padding-top: 4px;
}
.resultat__titre {
  font-size: 18.5px;
  line-height: 1.34;
  color: #fff;
}

/* -------------------------------------------------------------------------
   17. Adaptation aux petits écrans
   Le design de référence est fixe (grilles à 3 et 4 colonnes, marge 40 px).
   Ces règles sont un ajout : sans elles la page déborde horizontalement.
   ------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .axes__grille,
  .publications__grille { grid-template-columns: 1fr; gap: 48px; }
  .axe-panneau,
  .publications__intro { position: static; }
  .projets__grille,
  .reseau__grille { grid-template-columns: repeat(2, 1fr); }
  .appel { grid-template-columns: 1fr; gap: 40px; }
  .pied__haut { grid-template-columns: 1fr 1fr; }
  .evenement { grid-template-columns: 130px 1fr 40px; }
  .evenement__lieu { grid-column: 2; }
}

@media (max-width: 860px) {
  :root { --marge: 24px; }

  /* L'en-tête passe sur deux lignes : la navigation reste accessible
     plutôt que d'être escamotée derrière un menu absent du design. */
  .entete__interieur {
    height: auto;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .entete__actions { margin-left: auto; }
  .nav-principale {
    order: 3;
    width: 100%;
    margin-left: 0;
    gap: 0;
    overflow-x: auto;
  }
  .nav-principale a { padding: 8px 16px 8px 0; white-space: nowrap; }

  .chiffres { grid-template-columns: repeat(2, 1fr); }
  .chiffres__item:nth-child(2n) { border-right: none; }
  .projets__grille,
  .reseau__grille { grid-template-columns: 1fr; }
  .section__conteneur { padding: 72px var(--marge); }
  .section__conteneur--haut { padding-top: 72px; padding-bottom: 72px; }
  .hero__conteneur { padding-top: 64px; }
  .chiffres { margin-top: 64px; }
  .section__entete { flex-direction: column; align-items: flex-start; gap: 12px; }
  .recherche__champ { font-size: 30px; }
}

@media (max-width: 560px) {
  .chiffres { grid-template-columns: 1fr; }
  .chiffres__item { border-right: none; }
  .evenement { grid-template-columns: 1fr; gap: 12px; }
  .evenement__fleche { display: none; }
  .pied__haut { grid-template-columns: 1fr; gap: 32px; }
  .axe-onglet { gap: 12px; padding-left: 12px; }
  .axe-onglet__numero { min-width: 44px; font-size: 26px; }
  .axe-onglet__titre { font-size: 19px; }
  .axe-panneau { padding: 28px 24px 32px; }
}
