@font-face {
  font-family: "Parkinsans";
  src: url(assets/fonts/font-parkinsans.woff) format("woff");
  font-weight: 300 800;
  font-display: swap;
}

/* Inter, auto-hébergée : la page de confidentialité promet qu'aucune donnée ne part chez un
   tiers, et Google Fonts enverrait l'IP de chaque visiteur à Google. Fichier variable :
   une graisse de 100 à 900 dans le même woff2. */
@font-face {
  font-family: "Inter";
  src: url(assets/fonts/inter-latin.woff2) format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url(assets/fonts/inter-latin-ext.woff2) format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Gabarit : lime #e6f7bb + vert #0a3226. MMHM : crème chaud + sarcelle du bouton « Faire un don ». */
  --bg: #f6f0e7;
  --ink: #12312f;
  --ink-2: #1b403d;
  --cream: #fbf7f0;

  /* Les quatre couleurs du logo-nuage remplacent les quatre couleurs d'humeur du gabarit. */
  --blue: #3a76ec;
  --lavender: #e59af3;
  --orange: #f07a62;
  --sand: #d9c3a5;
  --blue-soft: #dfe8fd;
  --lavender-soft: #f8e6fb;
  --orange-soft: #fde6e0;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --display: "Parkinsans", "Inter", system-ui, sans-serif;
  --text: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1250px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color: var(--ink); }
body {
  font-family: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--cream);
}
.skip:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 24px;
  border-radius: 999px;
  font-weight: 500; font-size: 20px; letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease;
}
.btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 200ms var(--ease-out); }
.btn:active { transform: scale(0.97); }
.btn--solid { background: var(--ink); color: #fff; }
.btn--ghost { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); height: 53px; }
.btn--sm { font-size: 19px; height: 53px; }

@media (hover: hover) and (pointer: fine) {
  .btn--solid:hover { background: var(--ink-2); }
  .btn--solid:hover svg { transform: translateX(3px); }
  .btn--ghost:hover { background: var(--ink); color: var(--cream); }
}

/* ---------- Navigation ---------- */
.nav {
  position: relative; z-index: 10;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  max-width: 1440px; margin: 0 auto; padding: 22px 50px;
}
.nav__logo img { height: 52px; width: auto; }
.nav__links { display: flex; }
.nav__lang { transition: opacity 200ms ease; }
.nav__end { display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.nav__lang { font-size: 19px; font-weight: 500; }
.nav__menu { display: none; height: 44px; padding: 0 18px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--ink); font-weight: 500; transition: transform 160ms var(--ease-out); }
.nav__menu:active { transform: scale(0.97); }
.nav__sheet {
  position: absolute; top: calc(100% - 6px); right: 20px; left: 20px;
  display: grid; gap: 4px; padding: 10px;
  background: var(--cream); border-radius: 20px;
  box-shadow: 0 1px 0 rgba(18, 49, 47, 0.06), 0 18px 40px -12px rgba(18, 49, 47, 0.25);
  transform-origin: top right;
  visibility: hidden; opacity: 0; transform: scale(0.97) translateY(-4px);
  transition: opacity 140ms var(--ease-out), transform 140ms var(--ease-out), visibility 0s 140ms;
}
.nav__sheet[data-open] {
  visibility: visible; opacity: 1; transform: none;
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s;
}
@media (min-width: 901px) { .nav__sheet { display: none; } }
.nav__sheet a { padding: 14px 16px; border-radius: 12px; font-size: 18px; font-weight: 500; }
.nav__sheet a:active { background: rgba(18, 49, 47, 0.06); }
.nav__sheet .btn { justify-content: center; margin-top: 6px; padding: 0 16px; border-radius: 999px; }
.nav__sheet .btn:active { background: var(--ink); }

@media (hover: hover) and (pointer: fine) {
  .nav__lang:hover { opacity: 0.6; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: clip;
  max-width: 1440px; margin: -97px auto 0;
  padding: 147px 20px 45px;
}
.hero__rings { position: absolute; inset: 0; pointer-events: none; }
.ring {
  position: absolute; top: 125px; width: 852px; aspect-ratio: 1; border-radius: 50%;
  left: 50%;
}
.ring--fill { margin-left: -426px; background: rgba(229, 154, 243, 0.16); animation: floatA 9s ease-in-out infinite; }
.ring--a { margin-left: -567px; box-shadow: inset 0 0 0 1.5px rgba(18, 49, 47, 0.12); animation: floatB 11s ease-in-out infinite; }
.ring--b { margin-left: -284px; box-shadow: inset 0 0 0 1.5px rgba(18, 49, 47, 0.12); animation: floatC 13s ease-in-out infinite; }
@keyframes floatA { 50% { translate: -14px 10px; } }
@keyframes floatB { 50% { translate: 12px -8px; } }
@keyframes floatC { 50% { translate: -6px -12px; } }

.hero__copy { position: relative; max-width: 860px; margin: 0 auto; text-align: center; }
.hero h1 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(40px, 4.45vw + 0px, 64px); line-height: 1.1; letter-spacing: -0.031em;
  text-wrap: balance;
}
.hero__copy p {
  max-width: 690px; margin: 32px auto 0;
  font-size: 18px; font-weight: 500; line-height: 1.5; opacity: 0.8;
  text-wrap: pretty;
}
.hero__ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 32px; }

.hero__cards {
  position: relative;
  display: grid; grid-template-columns: 420fr 810fr; gap: 20px;
  max-width: var(--wrap); margin: 68px auto 0;
}
.card { position: relative; border-radius: 16px; overflow: hidden; min-height: 468px; }

/* Carte photo */
.card--photo { background: #c9a24e; padding: 10px; display: flex; align-items: flex-end; }
.card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.founders {
  position: relative; width: 100%;
  background: var(--cream); border-radius: 10px;
  padding: 16px 19px 18px;
  box-shadow: 0 10px 30px -10px rgba(18, 49, 47, 0.35);
}
.founders__who { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(18, 49, 47, 0.1); }
.founders__who img { width: 36px; height: auto; }
.founders__who small { display: block; font-size: 12px; color: color-mix(in srgb, var(--ink) 74%, var(--cream)); }
.founders__who strong { display: block; font-size: 14.5px; font-weight: 500; margin-top: 2px; }
.founders__row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; font-size: 14.5px; }
.founders__row a { display: inline-flex; align-items: center; min-height: 24px; font-size: 13px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(18, 49, 47, 0.3); }
.verbs { display: flex; gap: 6px; margin-top: 12px; }
.verbs li {
  flex: 1; text-align: center; padding: 8px 4px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.01em;
  background: color-mix(in srgb, var(--c) 22%, var(--cream));
  color: var(--ink);
}

/* Carte sombre */
.card--dark {
  display: grid; grid-template-columns: 400fr 362fr; gap: 28px;
  background: var(--ink); color: var(--cream);
  padding: 24px 20px 24px 24px;
}
.dash { display: flex; flex-direction: column; min-width: 0; }
.dash__head { display: flex; justify-content: space-between; align-items: center; }
.dash__title { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; }
.dash__title svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.chip { padding: 6px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(251, 247, 240, 0.3); font-size: 14px; }

.gauge { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 200px; aspect-ratio: 1; margin: 22px auto 0; text-align: center; }
.gauge svg { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; }
.gauge__dots { fill: none; stroke: rgba(251, 247, 240, 0.9); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 0 11.6; }
.gauge__arc {
  fill: none; stroke: var(--lavender); stroke-width: 7; stroke-linecap: round;
  stroke-dasharray: 26 100; stroke-dashoffset: 26;
  animation: arc 1200ms var(--ease-out) 700ms forwards;
}
@keyframes arc { to { stroke-dashoffset: 0; } }
.gauge__num { font-family: var(--display); font-size: 56px; font-weight: 500; line-height: 1; letter-spacing: -0.03em; margin-top: 10px; }
.gauge__label { font-size: 12px; line-height: 1.35; color: color-mix(in srgb, var(--cream) 78%, var(--ink)); }

.quotes { margin-top: auto; padding-top: 18px; }
.quotes__stage { display: grid; min-height: 52px; }
.quote {
  grid-area: 1 / 1; align-self: center;
  text-align: center; font-size: 17px; line-height: 1.4; text-wrap: balance;
  opacity: 0; filter: blur(2px); transform: translateY(4px);
  transition: opacity 260ms ease, filter 260ms ease, transform 260ms var(--ease-out);
  pointer-events: none;
}
.quote.is-on { opacity: 1; filter: blur(0); transform: none; pointer-events: auto; }
.quotes__nav { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.quotes__arrow { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; transition: transform 140ms var(--ease-out), background-color 200ms ease; }
.quotes__arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.quotes__arrow:active { transform: scale(0.94); }
.quotes__dashes { display: flex; gap: 4px; }
.quotes__dashes button { width: 48px; height: 24px; position: relative; }
.quotes__dashes button::before {
  content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 4px; border-radius: 4px;
  background: rgba(251, 247, 240, 0.22); transition: background-color 250ms ease;
}
.quotes__dashes button[aria-selected="true"]::before { background: var(--lavender); }
@media (hover: hover) and (pointer: fine) {
  .quotes__arrow:hover { background: rgba(251, 247, 240, 0.08); }
  .quotes__dashes button:hover::before { background: rgba(251, 247, 240, 0.45); }
  .quotes__dashes button[aria-selected="true"]:hover::before { background: var(--lavender); }
}

.side { min-width: 0; display: flex; flex-direction: column; }
.side__title { font-family: var(--text); font-size: 16px; font-weight: 500; }
.side__title--gap { margin-top: 26px; }
.langbar {
  display: flex; gap: 3px; margin-top: 16px; padding: 3px; height: 16px;
  border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(251, 247, 240, 0.3);
}
.langbar span {
  flex: var(--w); border-radius: 999px; background: var(--c);
  transform-origin: left center; transform: scaleX(0);
  animation: grow 900ms var(--ease-out) forwards;
}
.langbar span:nth-child(1) { animation-delay: 650ms; }
.langbar span:nth-child(2) { animation-delay: 720ms; }
.langbar span:nth-child(3) { animation-delay: 790ms; }
.langbar span:nth-child(4) { animation-delay: 860ms; }
@keyframes grow { to { transform: scaleX(1); } }

.legend { display: grid; grid-template-columns: 1fr 1.22fr; gap: 14px 20px; margin-top: 20px; font-size: 15px; }
.legend div { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.legend dt { display: flex; align-items: center; gap: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.legend dt a { display: inline-flex; align-items: center; gap: 10px; min-height: 24px; }
.legend i { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 30%, transparent); }
.legend dd { font-variant-numeric: tabular-nums; }

.talks { display: grid; gap: 10px; margin-top: 14px; }
.talks a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 14px; border-radius: 12px;
  background: var(--ink-2);
  transition: background-color 200ms ease, transform 160ms var(--ease-out);
}
.talks a:active { transform: scale(0.98); }
.talks__ico { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--c); }
.talks__ico img { width: 22px; height: auto; }
.talks__txt { flex: 1; min-width: 0; }
.talks__txt strong { display: block; font-size: 13.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.talks__txt small { font-size: 12px; opacity: 0.65; }
.talks__go { font-size: 12.5px; color: var(--lavender); }
@media (hover: hover) and (pointer: fine) {
  .talks a:hover { background: #22504c; }
}

/* ---------- Entrée de page (une seule fois, cascade courte) ---------- */
.in { animation: rise 700ms var(--ease-out) both; animation-delay: calc(var(--d) * 70ms + 60ms); }
.card.in { animation-duration: 900ms; animation-delay: calc(var(--d) * 70ms + 120ms); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav__declencheur { padding: 0 12px; font-size: 16.5px; }
  .nav__lang { display: none; }
}
@media (max-width: 1080px) {
  .hero__cards { grid-template-columns: 1fr; max-width: 820px; }
  .card--photo { min-height: 520px; }
}
@media (max-width: 900px) {
  .nav { grid-template-columns: auto 1fr; padding: 16px 20px; }
  .nav__links { display: none; }
  .nav__menu { display: inline-flex; align-items: center; }
  .nav__end .btn--sm { display: none; }
  .nav__logo img { height: 38px; }
  .hero { margin-top: -76px; padding-top: 120px; }
  .ring { width: 620px; top: 90px; }
  .ring--fill { margin-left: -310px; }
  .ring--a { margin-left: -410px; }
  .ring--b { margin-left: -210px; }
}
@media (max-width: 720px) {
  .card--dark { grid-template-columns: 1fr; gap: 32px; padding: 22px 18px; }
  .hero__copy p { font-size: 16.5px; margin-top: 22px; }
  .btn { height: 52px; font-size: 18px; padding: 0 20px; }
  .btn--ghost { height: 50px; }
  .hero__cards { margin-top: 48px; }
}
@media (max-width: 420px) {
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .legend { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .ring { animation: none; }
  .in, .card.in { animation-name: fade; animation-duration: 300ms; }
  @keyframes fade { from { opacity: 0; } }
  .langbar span { animation: none; transform: none; }
  .gauge__arc { animation: none; stroke-dashoffset: 0; }
  .quote { transform: none; filter: none; }
}

/* ---------- Projets ---------- */
.titre-section {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(32px, 3.4vw, 48px); line-height: 1.1; letter-spacing: -0.03em;
  color: var(--ink); text-wrap: balance;
}

html.js [data-reveal] {
  opacity: 0; translate: 0 12px;
  transition: opacity 600ms var(--ease-out), translate 600ms var(--ease-out);
  transition-delay: calc(var(--rang, 0) * 60ms);
}
html.js [data-reveal].is-in { opacity: 1; translate: none; }

.projets { max-width: 1440px; margin: 0 auto; padding: 88px 0 96px; }
.projets__label { font-size: 20px; font-weight: 500; text-align: center; opacity: 0.75; text-wrap: balance; }
.projets__viewport {
  margin-top: 36px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 4px max(20px, calc((100vw - var(--wrap)) / 2)) 8px;
  scroll-padding-inline: max(20px, calc((100vw - var(--wrap)) / 2));
}
.projets__viewport::-webkit-scrollbar { display: none; }
.projets__track { display: flex; gap: 20px; width: max-content; }
.projets__track > li { flex: 0 0 234px; scroll-snap-align: start; }

.tuile {
  display: flex; flex-direction: column; justify-content: space-between; gap: 14px;
  height: 148px; padding: 16px 18px; border-radius: 12px;
  background: color-mix(in srgb, var(--c) 16%, var(--cream));
  transition: transform 200ms var(--ease-out), background-color 200ms ease;
}
.tuile:active { transform: scale(0.98); }
.tuile__type { font-size: 12px; letter-spacing: 0.01em; color: color-mix(in srgb, var(--ink) 62%, transparent); }
.tuile__titre {
  font-family: var(--display); font-size: 17px; line-height: 1.25; letter-spacing: -0.01em;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.projets__nav {
  display: flex; justify-content: flex-end; gap: 8px;
  max-width: var(--wrap); margin: 24px auto 0; padding: 0 20px;
}
.fleche {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px rgba(18, 49, 47, 0.25);
  transition: transform 140ms var(--ease-out), background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}
.fleche svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fleche:active { transform: scale(0.94); }

@media (hover: hover) and (pointer: fine) {
  .fleche:hover { background: var(--ink); color: var(--cream); box-shadow: inset 0 0 0 1.5px var(--ink); }
  .tuile:hover { transform: translateY(-3px); }
}
@media (max-width: 720px) {
  .projets { padding: 64px 0 72px; }
  .projets__label { font-size: 17px; padding: 0 20px; }
  .projets__track > li { flex-basis: 200px; }
  .tuile { height: 140px; }
  .projets__nav { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal], html.js [data-reveal].is-in { opacity: 1; translate: none; transition: none; }
}

/* ---------- Fondatrices ---------- */
.fond { position: relative; overflow: clip; max-width: 1440px; margin: 0 auto; padding: 104px 20px 96px; }
.fond__anneaux { position: absolute; inset: 0; pointer-events: none; }
.fond__anneaux span {
  position: absolute; left: 50%; top: 40px; width: 760px; aspect-ratio: 1; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px rgba(18, 49, 47, 0.1); translate: -50% 0;
}
.fond__anneaux span:last-child { top: 150px; width: 520px; }
.fond__phare {
  position: relative; max-width: 1000px; margin: 0 auto; text-align: center;
  font-family: var(--display); font-weight: 500;
  font-size: clamp(28px, 3.2vw, 46px); line-height: 1.18; letter-spacing: -0.028em;
  color: color-mix(in srgb, var(--ink) 52%, transparent); text-wrap: balance;
}
.fond__phare strong { font-weight: 600; color: var(--ink); }

.fond__carte {
  position: relative;
  display: grid; grid-template-columns: 0.82fr 1fr 1.05fr; gap: 34px;
  max-width: var(--wrap); margin: 64px auto 0; padding: 34px 32px;
  background: var(--cream); border-radius: 16px;
  box-shadow: 0 1px 0 rgba(18, 49, 47, 0.04), 0 24px 48px -32px rgba(18, 49, 47, 0.35);
}
.fond__col { min-width: 0; }
.fond__annee { font-family: var(--display); font-weight: 500; font-size: clamp(56px, 5.6vw, 84px); line-height: 0.95; letter-spacing: -0.04em; }
.fond__visages { display: flex; gap: 6px; margin-top: 18px; }
.fond__visages-pillule {
  display: block; width: 104px; height: 56px; border-radius: 999px;
  background-image: url(assets/img/fondatrices.jpeg);
  background-repeat: no-repeat; background-size: cover; background-position: 50% 26%;
  box-shadow: 0 0 0 3px var(--cream), 0 0 0 4.5px rgba(18, 49, 47, 0.14);
}
.fond__note { margin-top: 16px; font-size: 14.5px; line-height: 1.45; color: color-mix(in srgb, var(--ink) 72%, transparent); }

.fond__st { font-size: 14px; font-weight: 500; color: color-mix(in srgb, var(--ink) 62%, transparent); }
.barres { display: grid; gap: 16px; margin-top: 18px; }
.barres li { display: grid; grid-template-columns: 1fr auto; align-items: baseline; column-gap: 10px; }
.barres__label { font-size: 15px; font-weight: 500; }
.barres__n { font-size: 14px; font-variant-numeric: tabular-nums; color: color-mix(in srgb, var(--ink) 62%, transparent); }
.barres__rail { grid-column: 1 / -1; margin-top: 7px; height: 7px; border-radius: 999px; background: rgba(18, 49, 47, 0.08); overflow: hidden; }
.barres__jauge {
  display: block; height: 100%; width: calc(var(--p) * 1%); border-radius: 999px; background: var(--c);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 900ms var(--ease-out); transition-delay: calc(var(--i) * 70ms);
}
.fond__carte.is-in .barres__jauge { transform: none; }

.fond__titre { font-family: var(--display); font-weight: 500; font-size: clamp(21px, 1.9vw, 26px); line-height: 1.2; letter-spacing: -0.02em; text-wrap: balance; }
.fond__texte { margin-top: 14px; font-size: 15.5px; line-height: 1.55; color: color-mix(in srgb, var(--ink) 78%, transparent); }
.fond__lien {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  font-size: 15px; font-weight: 500;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(18, 49, 47, 0.28);
  transition: transform 160ms var(--ease-out), text-decoration-color 200ms ease;
}
.fond__lien svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fond__lien:active { transform: scale(0.98); }

@media (hover: hover) and (pointer: fine) {
  .fond__lien:hover { text-decoration-color: var(--ink); }
  .fond__lien:hover svg { transform: translateX(3px); }
}
@media (max-width: 1080px) {
  .fond__carte { grid-template-columns: 1fr 1fr; }
  .fond__col:first-child { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
  .fond__visages, .fond__note { margin-top: 0; }
}
@media (max-width: 720px) {
  .fond { padding: 72px 20px 72px; }
  .fond__anneaux span { width: 520px; }
  .fond__anneaux span:last-child { width: 340px; top: 120px; }
  .fond__carte { grid-template-columns: 1fr; gap: 28px; margin-top: 44px; padding: 24px 20px; }
  .fond__col:first-child { display: block; }
  .fond__visages { margin-top: 16px; }
  .fond__note { margin-top: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .barres__jauge { transform: none; transition: none; }
}

/* ---------- Ressources ---------- */
.ressources { background: var(--ink); color: var(--cream); padding: 96px 0 80px; }
.ressources__tete { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; text-align: center; }
.ressources__titre {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(30px, 3.6vw, 50px); line-height: 1.08; letter-spacing: -0.03em;
  color: var(--cream); text-wrap: balance;
}
.ressources__sous { max-width: 680px; margin: 18px auto 0; font-size: 16.5px; line-height: 1.5; color: color-mix(in srgb, var(--cream) 72%, transparent); text-wrap: pretty; }
.ressources__viewport {
  margin-top: 44px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 4px max(20px, calc((100vw - var(--wrap)) / 2)) 14px;
  scroll-padding-inline: max(20px, calc((100vw - var(--wrap)) / 2));
}
.ressources__viewport::-webkit-scrollbar { display: none; }
.ressources__piste { display: flex; gap: 20px; width: max-content; }
.ressources__piste > li { flex: 0 0 320px; scroll-snap-align: start; }
.ressources__piste > li[data-reveal] { height: auto; }

.res { display: flex; flex-direction: column; height: 100%; background: var(--cream); color: var(--ink); border-radius: 14px; overflow: hidden; }
.res__zone {
  display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
  min-height: 132px; padding: 18px 20px;
  background: color-mix(in srgb, var(--c) 15%, var(--cream));
}
.res__langues { display: flex; flex-wrap: wrap; gap: 8px; }
.res__langue {
  font-family: var(--display); font-size: 18px; line-height: 1; padding: 9px 13px; border-radius: 999px;
  background: color-mix(in srgb, var(--c) 30%, var(--cream));
}
.res__compte { font-size: 12.5px; color: color-mix(in srgb, var(--ink) 58%, transparent); }
.res__corps { display: flex; flex-direction: column; flex: 1; padding: 16px 20px 18px; }
.res__nom { font-family: var(--display); font-weight: 500; font-size: 18px; letter-spacing: -0.01em; }
.res__titre { margin-top: 4px; font-size: 13.5px; line-height: 1.35; color: color-mix(in srgb, var(--ink) 74%, var(--cream)); }
.res__liens { display: flex; gap: 8px; margin-top: auto; padding-top: 16px; }
.res__lien {
  display: inline-flex; align-items: center; height: 44px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 500;
  box-shadow: inset 0 0 0 1.5px rgba(18, 49, 47, 0.25);
  transition: transform 150ms var(--ease-out), background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}
.res__lien:active { transform: scale(0.97); }

.ressources__pied {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  max-width: var(--wrap); margin: 28px auto 0; padding: 0 20px;
}
.ressources__nav { display: flex; gap: 8px; }
.fleche--clair { box-shadow: inset 0 0 0 1.5px rgba(251, 247, 240, 0.3); color: var(--cream); }
.btn--clair { box-shadow: inset 0 0 0 1.5px rgba(251, 247, 240, 0.45); color: var(--cream); height: 52px; font-size: 17px; }
.btn--clair svg { width: 20px; height: 20px; }

@media (hover: hover) and (pointer: fine) {
  .res__lien:hover { background: var(--ink); color: var(--cream); box-shadow: inset 0 0 0 1.5px var(--ink); }
  .fleche--clair:hover { background: var(--cream); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--cream); }
  .btn--clair:hover { background: var(--cream); color: var(--ink); }
}
@media (max-width: 720px) {
  .ressources { padding: 64px 0 60px; }
  .ressources__sous { font-size: 15.5px; }
  .ressources__viewport { margin-top: 32px; }
  .ressources__piste > li { flex-basis: 272px; }
  .ressources__pied { justify-content: center; }
  .btn--clair { width: 100%; justify-content: center; }
}

/* ---------- Sujets ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sujets { max-width: 1440px; margin: 0 auto; padding: 72px 0 56px; overflow: clip; }
.sujets__rangee { overflow: hidden; padding: 6px 0; }
.sujets__piste { display: flex; gap: 10px; width: max-content; animation: defile var(--duree, 40s) linear infinite; }
.sujets__rangee[data-sens="inverse"] .sujets__piste { animation-direction: reverse; }
.sujets__groupe { display: flex; gap: 10px; padding-right: 10px; }
.sujets.est-en-pause .sujets__piste { animation-play-state: paused; }
@keyframes defile { to { transform: translateX(-50%); } }

.pilule {
  display: grid; place-items: center; height: 60px; padding: 0 26px; border-radius: 999px;
  background: color-mix(in srgb, var(--lavender) 20%, var(--cream));
  font-family: var(--display); font-size: 19px; letter-spacing: -0.01em; white-space: nowrap;
}
.pilule:nth-child(4n + 1) { background: color-mix(in srgb, var(--blue) 18%, var(--cream)); }
.pilule:nth-child(4n + 3) { background: color-mix(in srgb, var(--orange) 18%, var(--cream)); }
.pilule--ico { width: 60px; padding: 0; background: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(18, 49, 47, 0.08); }
.pilule--ico img { width: 30px; height: auto; }

.sujets__pied { display: flex; justify-content: center; margin-top: 30px; padding: 0 20px; }
.sujets__pause {
  height: 46px; padding: 0 20px; border-radius: 999px; font-size: 15px; font-weight: 500;
  box-shadow: inset 0 0 0 1.5px rgba(18, 49, 47, 0.25);
  transition: transform 150ms var(--ease-out), background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}
.sujets__pause:active { transform: scale(0.97); }
.sujets__pause[aria-pressed="true"] { background: var(--ink); color: var(--cream); box-shadow: inset 0 0 0 1.5px var(--ink); }

@media (hover: hover) and (pointer: fine) {
  .sujets__rangee:hover .sujets__piste { animation-play-state: paused; }
  .sujets__pause:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
  .sujets__pause[aria-pressed="true"]:hover { background: var(--ink-2); }
}
@media (max-width: 720px) {
  .sujets { padding: 56px 0 44px; }
  .pilule { height: 52px; padding: 0 20px; font-size: 17px; }
  .pilule--ico { width: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  .sujets__piste { animation: none; }
  .sujets__rangee { overflow: visible; }
  .sujets__rangee .sujets__groupe[aria-hidden="true"] { display: none; }
  .sujets__groupe { flex-wrap: wrap; justify-content: center; padding: 0 20px 10px; }
  .sujets__pied { display: none; }
}

/* ---------- Ça va ---------- */
/* Mesures du gabarit, cadran d'humeur : section de 879 px, cercle de 1200 px à 293 px, centre à 508 px. */
.cava {
  --R: min(600px, 44vw);
  --haut: 293px;
  position: relative; overflow: clip; max-width: 1440px; height: 879px; margin: 0 auto; text-align: center;
}
.cava__halo, .cava__cercle { position: absolute; left: 50%; border-radius: 50%; translate: -50% 0; pointer-events: none; }
.cava__halo { top: calc(var(--haut) + 63px); width: calc(var(--R) * 1.742); aspect-ratio: 1; background: rgba(229, 154, 243, 0.16); }
.cava__cercle { top: var(--haut); width: calc(var(--R) * 2); aspect-ratio: 1; box-shadow: inset 0 0 0 1.5px rgba(18, 49, 47, 0.4); }
.cava__titre { position: relative; max-width: 770px; margin: 0 auto; padding: 80px 20px 0; }

/* Les visages se posent sur le cercle : --rot va de -28deg à 0 au défilement (main.js). */
.cava__orbite { position: absolute; left: 50%; top: calc(var(--haut) + var(--R)); width: 0; height: 0; }
.orb {
  --ang: calc(var(--a) + var(--rot, 0deg));
  position: absolute; left: 0; top: 0; width: var(--d); height: var(--d); border-radius: 50%;
  translate: calc(var(--R) * sin(var(--ang)) - 50%) calc(-1 * var(--R) * cos(var(--ang)) - 50%);
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px var(--c);
  transition: scale 300ms var(--ease-out), box-shadow 200ms ease;
}
.orb::after {
  content: ""; position: absolute; left: 50%; top: 100%; width: 1.5px; height: var(--tige); translate: -50% 0;
  background: rgba(18, 49, 47, 0.4); pointer-events: none;
}
.orb--haut { --a: 0deg; --d: 124px; --tige: 30px; }
.orb--gauche { --a: -80deg; --d: 93px; --tige: 240px; }
.orb--droite { --a: 79deg; --d: 93px; --tige: 240px; }
.orb__disque { display: grid; place-items: center; width: 82%; height: 82%; border-radius: 50%; background: var(--c); }
.orb__disque svg { width: 82%; height: 82%; }
.orb__oeil { fill: var(--ink); }
.orb__bouche { fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round; }
.orb[aria-checked="true"] { box-shadow: inset 0 0 0 3px var(--c), 0 0 0 4px color-mix(in srgb, var(--c) 30%, transparent); }
.orb:active { scale: 0.97; }

.cava__centre { position: absolute; left: 0; right: 0; top: 508px; width: 580px; margin: 0 auto; }
.cava__question { font-family: var(--display); font-size: 32px; font-weight: 400; line-height: 1; letter-spacing: -0.02em; }
.cava__sous { margin-top: 12px; font-size: 16px; line-height: 1.5; }
.cava__resultat { margin-top: 40px; }
.cava__humeur { font-size: 16px; line-height: 1.5; }
.cava__valeur {
  display: inline-block; margin-top: 5px; font-family: var(--text); font-size: 64px; font-weight: 600; line-height: 1.09;
  letter-spacing: -0.03em; font-variant-numeric: tabular-nums; transition: opacity 200ms ease;
}
.cava__legende-valeur { margin-top: 2px; font-size: 14px; color: color-mix(in srgb, var(--ink) 78%, var(--bg)); }
.aide { display: grid; grid-template-columns: 330px 190px; justify-content: space-between; gap: 16px 60px; margin-top: 26px; text-align: left; }
.aide li { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 16px; line-height: 1.5; }
.aide__nom { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.aide__nom i { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--c); }
.aide a { display: inline-block; min-width: 32px; padding-block: 2px; text-align: right; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(18, 49, 47, 0.35); }

html.js .cava [data-reveal] { transition-duration: 900ms; transition-timing-function: cubic-bezier(0.2, 0.7, 0.2, 1); }
html.js .cava [data-reveal]:not(.is-in) { translate: 0 28px; }

@media (hover: hover) and (pointer: fine) {
  .orb:hover { scale: 1.06; }
  .aide a:hover { text-decoration-color: var(--ink); }
}
@media (max-width: 1180px) {
  .orb--gauche { --a: -66deg; }
  .orb--droite { --a: 66deg; }
}
@media (max-width: 720px) {
  .cava { --R: 40vw; --haut: 250px; height: auto; padding-bottom: 64px; }
  .cava__titre { height: 230px; padding-top: 64px; font-size: 30px; }
  .cava__cercle { clip-path: inset(0 0 50% 0); }
  .cava__halo { top: calc(var(--haut) + var(--R) * 0.105); clip-path: inset(0 0 calc(100% - var(--R) * 0.895) 0); }
  .cava__question { font-size: 26px; }
  .orb--haut { --d: 84px; --tige: 24px; }
  .orb--gauche, .orb--droite { --d: 64px; --tige: 0px; }
  .orb--gauche { --a: -62deg; }
  .orb--droite { --a: 62deg; }
  .cava__centre { position: relative; left: auto; right: auto; top: auto; width: auto; margin: calc(var(--R) + 40px) 20px 0; }
  .cava__valeur { font-size: 56px; }
  .aide { grid-template-columns: 1fr; gap: 0; }
  .aide li { min-height: 44px; }
  .aide a { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: flex-end; }
}
@media (prefers-reduced-motion: reduce) {
  .orb { transition: none; }
  html.js .cava [data-reveal]:not(.is-in) { translate: none; }
}

/* ---------- Contact ---------- */
/* Mesures du gabarit, section HONEY : contenu de 1344 px à 48 px du bord, bande de 770 px à 1440 px. */
.pied { background: var(--ink); color: var(--cream); overflow: clip; }
.pied__cadre { max-width: 1440px; margin: 0 auto; padding: 64px 48px; }

.pied__tete { max-width: 792px; margin: 0 auto; text-align: center; }
.pied__logo { width: 64px; height: auto; margin: 0 auto; filter: invert(1); }
.pied__phrase {
  margin-top: 24px; font-family: var(--display); font-weight: 400;
  font-size: 40px; line-height: 1.1; letter-spacing: -0.8px; text-wrap: balance;
}

.pied__infos {
  display: grid; grid-template-columns: 311px 171px 1fr 368px; column-gap: 81px; align-items: start;
  margin-top: 80px;
}
.pied__info:nth-child(2) { grid-column: 2; }
.pied__etiquette { display: block; font-size: 16px; font-weight: 600; line-height: 1.2; text-transform: uppercase; }
.pied__info p { margin-top: 20px; font-size: 16px; line-height: 1.2; }
.pied__insta { display: inline-block; padding-block: 3px; margin-block: -3px; }
.pied__pilule {
  grid-column: 4; position: relative; display: flex; align-items: center;
  height: 64px; padding: 0 0 0 20px; border-radius: 32px;
  box-shadow: inset 0 0 0 1px var(--cream); font-size: 20px; line-height: 1.3;
  transition: background-color 250ms ease, transform 160ms var(--ease-out);
}
.pied__pilule:active { transform: scale(0.98); }
.pied__rond {
  position: absolute; right: 5px; top: 5px; display: grid; place-items: center;
  width: 54px; height: 54px; border-radius: 50%; background: var(--cream); color: var(--ink);
  transition: rotate 300ms var(--ease-out);
}
.pied__rond svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.pied__colonnes { display: grid; grid-template-columns: repeat(5, 200px); column-gap: 86px; margin-top: 80px; }
.pied__col-titre { font-family: var(--text); font-size: 16px; font-weight: 600; line-height: 1.2; }
.pied__col-texte { margin-top: 12px; font-size: 16px; line-height: 1.2; }
.pied__col ul { display: grid; gap: 7px; margin-top: 9px; }
.pied__lien, .pied__appel {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 24px; font-size: 16px; line-height: 1.2;
}
.pied__appel { justify-content: flex-start; gap: 6px; margin-top: 12px; font-weight: 500; }
.pied__fleche { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: translate 250ms ease; }
.pied__droits {
  margin-top: 80px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px;
  font-size: 16px; font-weight: 500; line-height: 1.2; letter-spacing: -0.32px;
}
.pied__droits > a:not(.pied__credit) { display: inline-block; padding-block: 3px; text-decoration: underline; text-underline-offset: 3px; }

/* Signature : la marque de la personne qui a réalisé le site, sans fond, retournée pour le
   sarcelle du pied, avec son nom au survol. */
.pied__credit {
  position: relative; display: inline-grid; place-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 999px;
  transition: transform 160ms var(--ease-out);
}
.pied__credit-image {
  width: 21px; height: 20px; filter: invert(1); opacity: 0.9;
  transition: opacity 160ms var(--ease-out), transform 200ms var(--ease-out);
}
.pied__credit-nom {
  position: absolute; left: 50%; top: calc(100% + 6px); z-index: 2;
  width: max-content; padding: 6px 10px; border-radius: 6px;
  background: var(--cream); color: var(--ink);
  font-size: 13px; font-weight: 500; line-height: 1.2; white-space: nowrap;
  pointer-events: none; opacity: 0; transform: translate(-50%, -4px);
  transition: opacity 160ms var(--ease-out), transform 160ms var(--ease-out);
}
.pied__credit:focus-visible .pied__credit-nom { opacity: 1; transform: translate(-50%, 0); }
.pied__credit:active { transform: scale(0.97); }

/* Apparition du gabarit : 28 px, 900 ms, 90 ms entre les colonnes. */
html.js .pied [data-reveal] { transition-duration: 900ms; transition-timing-function: cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--rang, 0) * 90ms); }
html.js .pied [data-reveal]:not(.is-in) { translate: 0 28px; }

@media (hover: hover) and (pointer: fine) {
  .pied__credit:hover .pied__credit-nom { opacity: 1; transform: translate(-50%, 0); }
  .pied__credit:hover .pied__credit-image { opacity: 1; transform: scale(1.1); }
  .pied__pilule:hover { background: rgba(251, 247, 240, 0.08); }
  .pied__pilule:hover .pied__rond { rotate: 45deg; }
  .pied__lien:hover .pied__fleche, .pied__appel:hover .pied__fleche { translate: 3px -3px; }
  .pied__lien:hover span, .pied__appel:hover, .pied__insta:hover { text-decoration: underline; text-underline-offset: 3px; }
}
@media (max-width: 1380px) {
  .pied__infos { grid-template-columns: auto auto 1fr 368px; column-gap: 64px; }
  .pied__colonnes { grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 40px; }
}
@media (max-width: 1180px) {
  .pied__colonnes { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 48px; }
  .pied__infos { grid-template-columns: auto auto; row-gap: 32px; column-gap: 64px; }
  .pied__pilule { grid-column: 1 / -1; max-width: 368px; }
}
@media (max-width: 720px) {
  .pied__cadre { padding: 56px 20px 48px; }
  .pied__phrase { font-size: 28px; }
  .pied__infos { grid-template-columns: 1fr; margin-top: 56px; }
  .pied__info:nth-child(2) { grid-column: 1; }
  .pied__info p { margin-top: 10px; }
  .pied__pilule { max-width: none; }
  .pied__colonnes { grid-template-columns: 1fr; margin-top: 56px; row-gap: 36px; }
  .pied__col ul { gap: 0; margin-top: 4px; }
  .pied__lien, .pied__appel, .pied__insta, .pied__droits a { min-height: 44px; display: flex; align-items: center; }
  .pied__droits a { justify-content: center; }
  .pied__droits { margin-top: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  html.js .pied [data-reveal]:not(.is-in) { translate: none; }
}

/* ---------- Méga menu ---------- */
.nav__liste { display: flex; gap: 4px; }
.nav__declencheur {
  display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 16px; border-radius: 999px;
  font-size: 18px; font-weight: 500; white-space: nowrap;
  transition: background-color 200ms ease, transform 160ms var(--ease-out);
}
.nav__declencheur svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: rotate 200ms var(--ease-out); }
.nav__declencheur[aria-expanded="true"] { background: rgba(18, 49, 47, 0.07); }
.nav__declencheur[aria-expanded="true"] svg { rotate: 180deg; }
.nav__declencheur:active { transform: scale(0.97); }

/* Le panneau descend de la barre : 180 ms à l'ouverture, 120 ms à la fermeture, rien entre deux panneaux. */
.mega {
  position: absolute; left: 0; right: 0; top: calc(100% - 8px); z-index: 20; padding: 0 20px;
  visibility: hidden; opacity: 0; translate: 0 -6px; transform-origin: top center;
  transition: opacity 120ms ease-out, translate 120ms var(--ease-out), visibility 0s 120ms;
}
.mega[data-open] { visibility: visible; opacity: 1; translate: none; transition: opacity 180ms var(--ease-out), translate 180ms var(--ease-out), visibility 0s; }
.nav[data-instant] .mega { transition: none; }
.mega__grille {
  display: grid; grid-template-columns: 1fr 360px; gap: 26px; max-width: var(--wrap); margin: 0 auto; padding: 24px;
  background: var(--cream); border-radius: 20px;
  box-shadow: 0 1px 0 rgba(18, 49, 47, 0.06), 0 30px 60px -24px rgba(18, 49, 47, 0.35);
}
.mega__liens { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; align-content: start; }
.mega__liens a { display: grid; gap: 4px; padding: 14px 16px; border-radius: 14px; transition: background-color 180ms ease; }
.mega__liens strong { font-family: var(--display); font-weight: 500; font-size: 18px; letter-spacing: -0.01em; }
.mega__liens span { font-size: 14.5px; line-height: 1.45; color: color-mix(in srgb, var(--ink) 74%, var(--cream)); }
.mega__carte {
  display: grid; align-content: end; gap: 8px; min-height: 190px; padding: 22px; border-radius: 16px;
  background: color-mix(in srgb, var(--c) 18%, var(--cream)); transition: transform 160ms var(--ease-out);
}
.mega__carte small { font-size: 13px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: color-mix(in srgb, var(--ink) 74%, var(--cream)); }
.mega__carte strong { font-family: var(--display); font-weight: 500; font-size: 24px; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
.mega__carte span { font-size: 14.5px; line-height: 1.45; }
.mega__carte:active { transform: scale(0.98); }
.nav__groupe { margin: 14px 16px 2px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: color-mix(in srgb, var(--ink) 74%, var(--cream)); }
.nav__sheet { max-height: calc(100dvh - 96px); overflow-y: auto; }

@media (hover: hover) and (pointer: fine) {
  .nav__declencheur:hover { background: rgba(18, 49, 47, 0.07); }
  .mega__liens a:hover { background: rgba(18, 49, 47, 0.05); }
  .mega__liens a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
}
@media (max-width: 1180px) {
  .mega__grille { grid-template-columns: 1fr 300px; }
}
@media (prefers-reduced-motion: reduce) {
  .mega, .mega[data-open] { translate: none; }
}
.nav__lang, .nav__logo { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Pages ---------- */
.page { display: block; }
.entete { position: relative; overflow: clip; max-width: 1440px; margin: 0 auto; padding: 72px 20px 56px; text-align: center; }
.entete__halo {
  position: absolute; left: 50%; top: 40px; width: 760px; aspect-ratio: 1; border-radius: 50%; translate: -50% 0;
  background: rgba(229, 154, 243, 0.16); pointer-events: none;
}
.entete__titre {
  position: relative; max-width: 900px; margin: 0 auto;
  font-family: var(--display); font-weight: 500; font-size: clamp(40px, 5vw, 64px); line-height: 1.08; letter-spacing: -0.031em; text-wrap: balance;
}
.entete__texte { position: relative; max-width: 660px; margin: 22px auto 0; font-size: 18px; font-weight: 500; line-height: 1.5; color: color-mix(in srgb, var(--ink) 80%, var(--bg)); text-wrap: pretty; }
.entete__urgence { position: relative; margin-top: 18px; font-size: 15px; }
.entete__urgence a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.bloc { max-width: var(--wrap); margin: 0 auto; padding: 56px 20px; }
.bloc__tete { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 40px; flex-wrap: wrap; margin-bottom: 32px; }
.bloc__tete .titre-section { max-width: 640px; }
.bloc__texte { max-width: 480px; font-size: 16px; line-height: 1.55; color: color-mix(in srgb, var(--ink) 78%, var(--bg)); }
.bloc__suite { margin-top: 24px; font-size: 15.5px; }
.bloc__suite a { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.lien-fleche { display: inline-flex; align-items: center; min-height: 44px; }

.lignes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ligne { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 16px; background: color-mix(in srgb, var(--c) 16%, var(--cream)); }
.ligne__nom { font-size: 15px; font-weight: 600; }
.ligne__numero { font-family: var(--display); font-size: 30px; font-weight: 500; letter-spacing: -0.02em; white-space: nowrap; }
.ligne__texte { flex: 1; font-size: 14.5px; line-height: 1.5; color: color-mix(in srgb, var(--ink) 80%, var(--cream)); }
.ligne__actions { display: flex; gap: 8px; margin-top: 8px; }
.pastille {
  display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 999px; font-size: 15px; font-weight: 500;
  box-shadow: inset 0 0 0 1.5px rgba(18, 49, 47, 0.25); transition: transform 150ms var(--ease-out), background-color 200ms ease, color 200ms ease;
}
.pastille--pleine { background: var(--ink); color: var(--cream); box-shadow: none; }
.pastille:active { transform: scale(0.97); }

.filtres { display: flex; flex-wrap: wrap; gap: 8px; }
.filtres-barre { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.recherche-res { position: relative; flex: 0 1 320px; min-width: 240px; }
.recherche-res svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; translate: 0 -50%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; opacity: 0.6; pointer-events: none; }
.recherche-res__champ {
  width: 100%; height: 44px; padding: 0 18px 0 42px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-size: 15px;
  box-shadow: inset 0 0 0 1.5px rgba(18, 49, 47, 0.25); transition: box-shadow 200ms ease;
}
.recherche-res__champ::placeholder { color: color-mix(in srgb, var(--ink) 62%, var(--bg)); }
.recherche-res__champ:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.recherche-res__champ::-webkit-search-cancel-button { cursor: pointer; }
@media (max-width: 640px) { .recherche-res { flex-basis: 100%; } }
.filtre {
  display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 18px; border-radius: 999px; font-size: 15px; font-weight: 500;
  box-shadow: inset 0 0 0 1.5px rgba(18, 49, 47, 0.25); transition: transform 150ms var(--ease-out), background-color 200ms ease, color 200ms ease;
}
.filtre__n { font-variant-numeric: tabular-nums; color: color-mix(in srgb, currentColor 72%, transparent); }
.filtre[aria-pressed="true"] { background: var(--ink); color: var(--cream); box-shadow: none; }
.filtre:active { transform: scale(0.97); }
.filtres__resultat { min-height: 24px; margin-top: 14px; font-size: 15px; color: color-mix(in srgb, var(--ink) 78%, var(--bg)); }
.grille-res { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-top: 18px; }
.grille-res .res { box-shadow: inset 0 0 0 1px rgba(18, 49, 47, 0.1); }
.grille-res > li[hidden] { display: none; }

.etapes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; counter-reset: etape; }
.etapes li { counter-increment: etape; padding: 22px; border-radius: 16px; background: var(--cream); font-size: 15.5px; line-height: 1.55; box-shadow: inset 0 0 0 1px rgba(18, 49, 47, 0.08); }
.etapes li::before { content: counter(etape); display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 14px; border-radius: 50%; background: color-mix(in srgb, var(--blue) 18%, var(--cream)); font-weight: 600; }
.etapes strong { display: block; margin-bottom: 4px; font-family: var(--display); font-weight: 500; font-size: 18px; }

@media (hover: hover) and (pointer: fine) {
  .pastille:hover, .filtre:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
  .pastille--pleine:hover { background: var(--ink-2); }
  .filtre[aria-pressed="true"]:hover { background: var(--ink-2); }
}
@media (max-width: 1080px) {
  .lignes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .entete { padding: 48px 20px 40px; }
  .entete__halo { width: 520px; }
  .entete__texte { font-size: 16.5px; }
  .bloc { padding: 40px 20px; }
  .lignes, .etapes { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .quotes__arrow { width: 44px; height: 44px; }
  .legend dt a, .founders__row a { min-height: 44px; }
  .quotes__dashes { gap: 0; }
  .quotes__dashes button { width: 44px; height: 44px; }
  .quotes__dashes button::before { top: 20px; left: 4px; right: 4px; }
}

/* ---------- Projets et frise ---------- */
.vedette {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1.2fr; align-items: center; gap: 32px;
  padding: 48px; border-radius: 20px; background: var(--ink); color: var(--cream);
}
.vedette__nuage { width: 100%; max-width: 420px; height: auto; margin: 0 auto; }
.vedette__quand { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: color-mix(in srgb, var(--cream) 78%, var(--ink)); }
.vedette__titre { margin-top: 10px; font-family: var(--display); font-weight: 500; font-size: clamp(40px, 4.4vw, 60px); line-height: 1; letter-spacing: -0.03em; }
.vedette__texte { margin-top: 18px; max-width: 560px; font-size: 17px; line-height: 1.55; }
.vedette__memoire { margin-top: 14px; max-width: 560px; font-size: 15px; line-height: 1.5; color: color-mix(in srgb, var(--cream) 78%, var(--ink)); }
.vedette .btn { margin-top: 26px; background: var(--cream); color: var(--ink); }

.frise { list-style: none; border-top: 1px solid rgba(18, 49, 47, 0.14); }
.frise__item { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid rgba(18, 49, 47, 0.14); }
.frise__quand { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.frise__titre { font-family: var(--display); font-weight: 500; font-size: 22px; line-height: 1.2; letter-spacing: -0.015em; }
.frise__avec { margin-top: 4px; font-size: 14.5px; color: color-mix(in srgb, var(--ink) 74%, var(--bg)); }
.frise__texte { margin-top: 10px; max-width: 720px; font-size: 16px; line-height: 1.55; }
.frise__lien { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; font-size: 15px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

.appel { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 40px; padding: 26px 28px; border-radius: 16px; background: color-mix(in srgb, var(--blue) 10%, var(--cream)); }
.appel__texte { max-width: 560px; font-family: var(--display); font-weight: 500; font-size: 21px; line-height: 1.3; }

@media (hover: hover) and (pointer: fine) {
  .vedette .btn:hover { background: #fff; }
}
@media (max-width: 900px) {
  .vedette { grid-template-columns: 1fr; padding: 32px 24px; }
  .vedette__nuage { max-width: 240px; }
}
@media (max-width: 720px) {
  .frise__item { grid-template-columns: 1fr; gap: 6px; }
}

/* ---------- À propos ---------- */
.verbes-cartes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.verbe { padding: 26px; border-radius: 16px; background: color-mix(in srgb, var(--c) 16%, var(--cream)); }
.verbe__titre { font-family: var(--display); font-weight: 500; font-size: 26px; letter-spacing: -0.02em; }
.verbe__texte { margin-top: 10px; font-size: 16px; line-height: 1.55; }
.frise--courte .frise__item { grid-template-columns: 200px 1fr; padding: 20px 0; }
.frise__texte--seul { margin-top: 0; }
.memoire {
  display: grid; grid-template-columns: 112px 1fr; align-items: center; gap: 24px;
  margin-top: 36px; padding: 26px 28px; border-radius: 16px; background: var(--cream); box-shadow: inset 0 0 0 1px rgba(18, 49, 47, 0.08);
}
.memoire__photo { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; }
.memoire__titre { font-family: var(--display); font-weight: 500; font-size: 22px; letter-spacing: -0.015em; }
.memoire__texte { margin-top: 8px; max-width: 760px; font-size: 16px; line-height: 1.6; }
.equipe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.equipe__lien {
  display: grid; gap: 6px; padding: 24px; border-radius: 16px; background: var(--cream); box-shadow: inset 0 0 0 1px rgba(18, 49, 47, 0.1);
  transition: transform 160ms var(--ease-out), box-shadow 200ms ease;
}
.equipe__lien strong { font-family: var(--display); font-weight: 500; font-size: 20px; }
.equipe__lien span { font-size: 15px; color: color-mix(in srgb, var(--ink) 74%, var(--cream)); }
.equipe__lien--plein { background: var(--ink); color: var(--cream); box-shadow: none; }
.equipe__lien--plein span { color: color-mix(in srgb, var(--cream) 78%, var(--ink)); }
.equipe__lien:active { transform: scale(0.98); }
.partenaires { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.partenaire { padding: 24px; border-radius: 16px; background: var(--cream); box-shadow: inset 0 0 0 1px rgba(18, 49, 47, 0.08); }
.partenaire__role { font-size: 13px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; color: color-mix(in srgb, var(--ink) 74%, var(--cream)); }
.partenaire__nom { margin-top: 8px; font-family: var(--display); font-weight: 500; font-size: 21px; line-height: 1.2; }
.partenaire__texte { margin-top: 8px; font-size: 15.5px; line-height: 1.55; }
.bloc__texte a { text-decoration: underline; text-underline-offset: 3px; }

@media (hover: hover) and (pointer: fine) {
  .equipe__lien:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
  .equipe__lien--plein:hover { background: var(--ink-2); box-shadow: none; }
}
@media (max-width: 900px) {
  .verbes-cartes, .equipe, .partenaires { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .frise--courte .frise__item { grid-template-columns: 1fr; }
  .memoire { grid-template-columns: 1fr; justify-items: start; }
}

/* ---------- Contact ---------- */
.entete__texte a { text-decoration: underline; text-underline-offset: 3px; }
.raisons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.raison {
  display: grid; gap: 8px; height: 100%; padding: 28px; border-radius: 18px; background: color-mix(in srgb, var(--c) 16%, var(--cream));
  transition: transform 160ms var(--ease-out);
}
.raison__titre { font-family: var(--display); font-weight: 500; font-size: 26px; letter-spacing: -0.02em; }
.raison__texte { font-size: 16px; line-height: 1.55; }
.raison__action { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-weight: 600; }
.raison__action svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: translate 250ms ease; }
.raison:active { transform: scale(0.98); }
.reseaux { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 12px; }
.reseau {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 14px;
  background: var(--cream); box-shadow: inset 0 0 0 1px rgba(18, 49, 47, 0.1); transition: box-shadow 200ms ease, transform 160ms var(--ease-out);
}
.reseau__icone { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: color-mix(in srgb, var(--marque) 10%, #fff); }
.reseau__icone svg { width: 22px; height: 22px; fill: var(--marque); }
.reseau__texte { display: grid; gap: 2px; min-width: 0; }
.reseau strong { font-family: var(--display); font-weight: 500; font-size: 18px; }
.reseau__texte span { font-size: 14px; color: color-mix(in srgb, var(--ink) 74%, var(--cream)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reseau__fleche { position: absolute; top: 14px; right: 14px; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: 0.5; transition: translate 250ms ease, opacity 200ms ease; }
.reseau:active { transform: scale(0.98); }

@media (hover: hover) and (pointer: fine) {
  .raison:hover .raison__action svg { translate: 3px -3px; }
  .reseau:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
  .reseau:hover .reseau__fleche { translate: 2px -2px; opacity: 1; }
}
@media (max-width: 1080px) {
}
@media (max-width: 720px) {
  .raisons { grid-template-columns: 1fr; }
}

/* ---------- Modales immersives (don, écrire) ---------- */
html:has(.immersive[open]) { overflow: hidden; }
.immersive {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--ink); color: var(--cream); overflow: hidden auto; overscroll-behavior: contain;
  opacity: 0; scale: 0.98;
  transition: opacity 160ms ease, scale 160ms ease, display 160ms allow-discrete, overlay 160ms allow-discrete;
}
.immersive[open] { display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; opacity: 1; scale: 1; transition-duration: 260ms; transition-timing-function: var(--ease-out); }
@starting-style { .immersive[open] { opacity: 0; scale: 0.98; } }
.immersive::backdrop { background: rgba(18, 49, 47, 0); transition: background-color 260ms ease, display 260ms allow-discrete, overlay 260ms allow-discrete; }
.immersive[open]::backdrop { background: rgba(18, 49, 47, 0.6); }
@starting-style { .immersive[open]::backdrop { background: rgba(18, 49, 47, 0); } }

/* Deux cartes sur le fond sombre, comme le hero : un visuel à gauche, le panneau du formulaire à droite. */
.immersive {
  background:
    radial-gradient(640px circle at 12% 18%, rgba(229, 154, 243, 0.1), transparent 70%),
    radial-gradient(720px circle at 88% 92%, rgba(58, 118, 236, 0.11), transparent 70%),
    var(--ink);
}
.immersive__cadre {
  display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 20px;
  width: min(1180px, calc(100% - 48px)); height: min(760px, calc(100dvh - 48px)); margin: 24px auto;
}
.immersive__visuel {
  position: relative; overflow: hidden; display: flex; flex-direction: column; border-radius: 20px;
  animation: monter 520ms var(--ease-out) both;
}
.immersive__visuel--photo { justify-content: flex-end; background: #2a2418; }
.immersive__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.immersive__visuel--photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18, 49, 47, 0) 30%, rgba(18, 49, 47, 0.78) 66%, rgba(18, 49, 47, 0.96) 100%);
}
.immersive__visuel-texte { position: relative; z-index: 1; padding: 28px; }
.immersive__visuel-etiquette { font-size: 13px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: color-mix(in srgb, currentColor 80%, transparent); }
.immersive__faits { display: grid; gap: 14px; margin-top: 16px; }
.immersive__faits li { display: grid; grid-template-columns: 56px 1fr; align-items: baseline; gap: 10px; }
.immersive__faits strong { font-family: var(--display); font-weight: 500; font-size: 40px; line-height: 1; letter-spacing: -0.03em; }
.immersive__faits span { font-size: 15px; line-height: 1.4; }
.immersive__visuel--clair { padding: 32px; background: var(--cream); color: var(--ink); }
.immersive__visuel-titre { margin-top: 12px; font-family: var(--display); font-weight: 500; font-size: 34px; line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
.immersive__courriel { display: inline-flex; align-items: center; min-height: 44px; margin-top: 18px; font-size: 16px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.immersive__urgence { margin-top: auto; padding: 20px; border-radius: 16px; background: color-mix(in srgb, var(--orange) 14%, var(--cream)); }
.immersive__urgence p { font-size: 14.5px; }
.immersive__urgence a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--display); font-size: 22px; font-weight: 500; }
.immersive__reseaux { display: flex; gap: 10px; margin-top: 18px; }
.immersive__reseaux a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: color-mix(in srgb, var(--marque) 10%, #fff); transition: transform 150ms var(--ease-out); }
.immersive__reseaux svg { width: 20px; height: 20px; fill: var(--marque); }
.immersive__reseaux a:active { transform: scale(0.94); }

.immersive__fermer {
  position: fixed; top: 20px; right: 20px; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px rgba(251, 247, 240, 0.35); transition: transform 150ms var(--ease-out), background-color 200ms ease;
}
.immersive__fermer svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.immersive__fermer:active { transform: scale(0.94); }

.immersive__corps {
  position: relative; overflow-y: auto; overscroll-behavior: contain; padding: 52px 52px 44px; border-radius: 20px; text-align: left;
  background: var(--ink-2); box-shadow: inset 0 0 0 1px rgba(251, 247, 240, 0.08);
  animation: monter 520ms var(--ease-out) 60ms both;
}
.immersive__etiquette { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: color-mix(in srgb, var(--cream) 78%, var(--ink)); }
.immersive__titre { margin-top: 14px; font-family: var(--display); font-weight: 500; font-size: clamp(36px, 5vw, 56px); line-height: 1.06; letter-spacing: -0.03em; text-wrap: balance; }
.immersive__texte { max-width: 560px; margin: 16px 0 0; font-size: 17px; line-height: 1.55; color: color-mix(in srgb, var(--cream) 86%, var(--ink)); text-wrap: pretty; }

.don__frequence { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; margin-top: 34px; padding: 4px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(251, 247, 240, 0.25); }
.don__frequence button { height: 44px; padding: 0 24px; border-radius: 999px; font-size: 15.5px; font-weight: 500; transition: background-color 200ms ease, color 200ms ease; }
.don__frequence button[aria-checked="true"] { background: var(--cream); color: var(--ink); }

.don__montants { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.don__montant {
  height: 64px; border-radius: 16px; font-family: var(--display); font-size: 24px; font-weight: 500;
  box-shadow: inset 0 0 0 1.5px rgba(251, 247, 240, 0.25);
  transition: transform 150ms var(--ease-out), background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}
.don__montant[aria-checked="true"] { background: var(--lavender); color: var(--ink); box-shadow: none; }
.don__montant:active { transform: scale(0.97); }
.don__autre { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 10px; padding: 0 8px 0 20px; height: 64px; border-radius: 16px; box-shadow: inset 0 0 0 1.5px rgba(251, 247, 240, 0.25); font-size: 15.5px; text-align: left; }
.don__champ { display: inline-flex; align-items: center; gap: 6px; font-family: var(--display); font-size: 22px; }
.don__champ input {
  width: 110px; height: 48px; padding: 0 12px; border: 0; border-radius: 12px; background: rgba(251, 247, 240, 0.08); color: inherit;
  font: inherit; text-align: right; -moz-appearance: textfield;
}
.don__champ input::-webkit-outer-spin-button, .don__champ input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.don__champ input::placeholder { color: color-mix(in srgb, var(--cream) 55%, var(--ink)); }
.don__autre:has(input:focus-visible) { box-shadow: inset 0 0 0 2px var(--lavender); }

.don__recap { min-height: 27px; margin-top: 22px; font-family: var(--display); font-size: 20px; }
.don__cta { margin-top: 16px; background: var(--cream); color: var(--ink); }
.don__cta[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }
.don__note { max-width: 520px; margin: 16px 0 0; font-size: 13.5px; line-height: 1.5; color: color-mix(in srgb, var(--cream) 78%, var(--ink)); }

/* L'ouverture fait monter le contenu en cascade, une fois par ouverture. */
.immersive[open] .immersive__anime { animation: monter 420ms var(--ease-out) both; animation-delay: calc(var(--i) * 45ms + 160ms); }
@keyframes monter { from { opacity: 0; translate: 0 16px; } }

@media (hover: hover) and (pointer: fine) {
  .immersive__fermer:hover { background: rgba(251, 247, 240, 0.08); }
  .don__montant:hover { box-shadow: inset 0 0 0 1.5px var(--cream); }
  .don__montant[aria-checked="true"]:hover { box-shadow: none; }
  .don__cta:hover { background: #fff; }
}
@media (max-width: 720px) {
  .don__montants { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .don__cta { width: 100%; justify-content: center; padding: 0 16px; font-size: 16.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .immersive, .immersive[open] { scale: 1; }
  .immersive__visuel, .immersive__corps { animation-name: apparaitre; }
  .immersive[open] .immersive__anime { animation-name: apparaitre; }
  @keyframes apparaitre { from { opacity: 0; } }
}

/* ---------- Écrire : formulaire hub dans la modale immersive ---------- */
.ecrire { color-scheme: dark; }
.ecrire__etape[hidden] { display: none; }
.ecrire__raisons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 30px; text-align: left; }
.ecrire__raison {
  display: grid; align-content: start; gap: 6px; min-height: 112px; padding: 20px; border-radius: 16px; text-align: left;
  box-shadow: inset 0 0 0 1.5px rgba(251, 247, 240, 0.25);
  transition: transform 150ms var(--ease-out), box-shadow 200ms ease, background-color 200ms ease;
}
.ecrire__raison strong { font-family: var(--display); font-weight: 500; font-size: 21px; letter-spacing: -0.01em; }
.ecrire__raison span { font-size: 14.5px; line-height: 1.45; color: color-mix(in srgb, var(--cream) 82%, var(--ink)); }
.ecrire__raison:active { transform: scale(0.98); }
.ecrire__aide { margin-top: 24px; font-size: 15px; color: color-mix(in srgb, var(--cream) 86%, var(--ink)); }
.ecrire__aide a { display: inline-flex; align-items: center; min-height: 24px; font-weight: 600; color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }

.ecrire__retour {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 10px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500; color: color-mix(in srgb, var(--cream) 86%, var(--ink)); transition: background-color 200ms ease;
}
.ecrire__retour svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ecrire__form { display: grid; gap: 16px; margin-top: 28px; text-align: left; }
.ecrire__duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ecrire__duo:not(:has(.champ:not([hidden]))) { display: none; }
.champ { display: grid; gap: 6px; }
.champ[hidden] { display: none; }
.champ label { font-size: 14.5px; font-weight: 500; }
.champ input, .champ select, .champ textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 0; border-radius: 12px; outline: none;
  background: rgba(251, 247, 240, 0.08); color: var(--cream); font: inherit; font-size: 16px;
  box-shadow: inset 0 0 0 1px rgba(251, 247, 240, 0.22); transition: box-shadow 150ms ease;
}
.champ textarea { min-height: 128px; resize: vertical; line-height: 1.5; }
.champ input:focus-visible, .champ select:focus-visible, .champ textarea:focus-visible { box-shadow: inset 0 0 0 2px var(--lavender); }
.champ [aria-invalid="true"] { box-shadow: inset 0 0 0 2px #ffb4a6; }
.champ__aide { font-size: 13.5px; line-height: 1.45; color: color-mix(in srgb, var(--cream) 80%, var(--ink)); }
.champ__erreur { font-size: 13.5px; color: #ffb4a6; }
.ecrire__envoyer { justify-self: start; margin-top: 6px; background: var(--cream); color: var(--ink); }
.ecrire__note { font-size: 13.5px; line-height: 1.5; color: color-mix(in srgb, var(--cream) 80%, var(--ink)); }
.ecrire__actions { display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ecrire__copier { background: var(--cream); color: var(--ink); }
.ecrire__statut { min-height: 24px; margin-top: 14px; font-size: 15px; }

@media (hover: hover) and (pointer: fine) {
  .ecrire__raison:hover { box-shadow: inset 0 0 0 1.5px var(--cream); background: rgba(251, 247, 240, 0.04); }
  .ecrire__retour:hover { background: rgba(251, 247, 240, 0.08); }
  .ecrire__envoyer:hover, .ecrire__copier:hover { background: #fff; }
}
@media (max-width: 720px) {
  .ecrire__raisons, .ecrire__duo { grid-template-columns: 1fr; }
  .ecrire__raison { min-height: 0; }
  .ecrire__envoyer { justify-self: stretch; justify-content: center; }
}

/* ---------- Liens profonds ---------- */
[id] { scroll-margin-top: 24px; }
/* L'élément visé par un lien s'éclaire brièvement à l'arrivée, puis reprend sa couleur. */
:is(.frise__item, .ligne, .grille-res > li > .res, .ressources__piste > li > .res, .verbe, .partenaire, .raisons > li > .raison):target,
.grille-res > li:target > .res, .ressources__piste > li:target > .res, .raisons > li:target > .raison { animation: cible 1600ms var(--ease-out) 1; }
@keyframes cible { from { background-color: color-mix(in srgb, var(--lavender) 30%, var(--cream)); } }
.frise__item:target { border-radius: 12px; }

.ancre {
  display: inline-grid; place-items: center; width: 32px; height: 32px; margin-left: 8px; vertical-align: middle; border-radius: 50%;
  color: inherit; opacity: 0.4; transition: opacity 160ms ease, background-color 200ms ease, transform 150ms var(--ease-out);
}
.ancre svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ancre:active { transform: scale(0.92); }
.ancre:focus-visible { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  :is(h2, h3, p):hover > .ancre, .ancre:hover { opacity: 0.85; }
  .ancre:hover { background: rgba(18, 49, 47, 0.07); }
}

@media (max-width: 720px) { .ancre { width: 44px; height: 44px; margin-left: 2px; } }
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 50; translate: -50% 0;
  padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--cream); font-size: 15px; font-weight: 500;
  box-shadow: 0 12px 30px -10px rgba(18, 49, 47, 0.5);
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity 150ms ease, transform 150ms var(--ease-out);
}
.toast[data-visible] { opacity: 1; transform: none; transition-duration: 200ms; }
@media (prefers-reduced-motion: reduce) {
  .toast { transform: none; }
}
@media (max-width: 900px) {
  .immersive__cadre { grid-template-columns: minmax(0, 1fr); width: 100%; height: 100dvh; margin: 0; }
  .immersive__visuel { display: none; }
  .immersive__corps { padding: 76px 20px 40px; border-radius: 0; box-shadow: none; background: transparent; }
}

/* ---------- Pages légales ---------- */
.entete--legal .entete__titre { font-size: clamp(36px, 4.4vw, 56px); }
.legal { display: grid; grid-template-columns: 240px minmax(0, 760px); justify-content: center; gap: 56px; max-width: var(--wrap); margin: 0 auto; padding: 16px 20px 88px; }
.sommaire { position: sticky; top: 24px; align-self: start; }
.sommaire__titre { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: color-mix(in srgb, var(--ink) 74%, var(--bg)); }
.sommaire ol { display: grid; gap: 2px; margin-top: 12px; list-style: none; }
.sommaire a { display: flex; align-items: center; min-height: 36px; padding: 6px 12px; line-height: 1.35; border-radius: 10px; font-size: 15px; transition: background-color 180ms ease; }
.prose section + section { margin-top: 48px; }
.sommaire a[aria-current] { background: rgba(18, 49, 47, 0.07); font-weight: 600; }
.prose h2 { font-family: var(--display); font-weight: 500; font-size: 28px; line-height: 1.15; letter-spacing: -0.02em; }
.prose h3 { margin-top: 26px; font-size: 17px; font-weight: 600; }
.prose p, .prose li { font-size: 16.5px; line-height: 1.65; }
.prose p { margin-top: 12px; }
.prose ul { display: grid; gap: 8px; margin-top: 12px; padding-left: 1.2em; list-style: disc; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose .prose__bref { list-style: none; padding: 22px 24px; border-radius: 16px; background: color-mix(in srgb, var(--blue) 10%, var(--cream)); }
.prose__carte { padding: 20px 22px; border-radius: 16px; background: var(--cream); box-shadow: inset 0 0 0 1px rgba(18, 49, 47, 0.1); }
.lien-bouton { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; font-size: 15.5px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
button.pied__lien { width: 100%; text-align: left; }
.lien-bouton[hidden] { display: none; }

/* ---------- Témoins ---------- */
.temoins {
  position: fixed; left: 20px; bottom: 20px; z-index: 40; width: min(420px, calc(100% - 40px)); padding: 22px;
  border-radius: 20px; background: var(--cream); color: var(--ink);
  box-shadow: 0 1px 0 rgba(18, 49, 47, 0.06), 0 24px 60px -20px rgba(18, 49, 47, 0.45), inset 0 0 0 1px rgba(18, 49, 47, 0.08);
  opacity: 0; transform: translateY(12px);
  transition: opacity 160ms ease, transform 160ms var(--ease-out);
}
.temoins[data-visible] { opacity: 1; transform: none; transition-duration: 240ms; }
.temoins[hidden], .temoins__details[hidden] { display: none; }
.temoins__titre { font-family: var(--display); font-weight: 500; font-size: 20px; letter-spacing: -0.01em; }
.temoins__texte { margin-top: 8px; font-size: 14.5px; line-height: 1.5; color: color-mix(in srgb, var(--ink) 80%, var(--cream)); }
.temoins__texte a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.temoins__details { display: grid; gap: 8px; margin-top: 16px; }
.temoins__ligne { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 8px 8px 14px; border-radius: 12px; background: rgba(18, 49, 47, 0.04); }
.temoins__ligne strong { display: block; font-size: 15px; }
.temoins__ligne span { font-size: 13.5px; color: color-mix(in srgb, var(--ink) 78%, var(--cream)); }
.interrupteur { position: relative; flex: none; width: 56px; height: 44px; border-radius: 999px; }
.interrupteur::before { content: ""; position: absolute; left: 3px; right: 3px; top: 7px; height: 30px; border-radius: 999px; background: rgba(18, 49, 47, 0.25); transition: background-color 200ms ease; }
.interrupteur::after { content: ""; position: absolute; left: 7px; top: 11px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(18, 49, 47, 0.3); transition: transform 200ms var(--ease-out); }
.interrupteur[aria-checked="true"]::before { background: var(--ink); }
.interrupteur[aria-checked="true"]::after { transform: translateX(20px); }
.interrupteur:disabled { cursor: not-allowed; opacity: 0.55; }
.temoins__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.temoins__btn { height: 44px; padding: 0 18px; font-size: 15px; background: var(--ink); color: var(--cream); }
.temoins__btn[hidden] { display: none; }

@media (hover: hover) and (pointer: fine) {
  .sommaire a:hover { background: rgba(18, 49, 47, 0.06); }
  .temoins__btn:hover { background: var(--ink-2); }
}
@media (max-width: 900px) {
  .legal { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .sommaire { position: static; }
  .sommaire a { min-height: 44px; }
}
@media (max-width: 720px) {
  .temoins { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .temoins__btn { flex: 1; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .temoins, .temoins[data-visible] { transform: none; }
}

/* Questions fréquentes */
.bloc--faq details { border-top: 1px solid rgba(18, 49, 47, .18); }
.bloc--faq summary { padding: .9rem 0; font-weight: 600; cursor: pointer; }
.bloc--faq summary::marker { color: #5b7f6f; }
.bloc--faq details[open] summary { color: #5b7f6f; }
.bloc--faq [data-faq-answer] { margin: 0 0 1rem; max-width: 42rem; }
