/* ==========================================================================
   TRIADE — feuille de style
   Palette et typographies de l'affiche : crème, vert forêt, terracotta ;
   Bodoni Moda (titres) + Jost (texte), hébergées sur le site (aucun appel à Google).
   Pour changer une couleur de tout le site : modifier les variables ci-dessous.
   ========================================================================== */

@font-face { font-family: 'Jost'; src: url(../fonts/jost-latin-wght-normal.woff2) format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Bodoni Moda'; src: url(../fonts/bodoni-moda-latin-wght-normal.woff2) format('woff2'); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Bodoni Moda'; src: url(../fonts/bodoni-moda-latin-wght-italic.woff2) format('woff2'); font-weight: 400 900; font-style: italic; font-display: swap; }

:root {
  --cream: #F7F4EB;
  --paper: #FFFFFF;
  --ink: #28332F;
  --forest: #173D32;
  --terre: #D96A43;        /* décor, tracés */
  --terre-txt: #B5502E;    /* texte et boutons (contraste suffisant sur le crème) */
  --sage: #A8BDA8;
  --sea: #CFDBCC;
  --line: #DDD8C6;
  --muted: #5B665F;

  --f-display: 'Bodoni Moda', Georgia, 'Times New Roman', serif;
  --f-text: 'Jost', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;

  --wrap: 1120px;
  --gut: clamp(18px, 4vw, 36px);
  --r: 14px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--f-text); font-size: 1.125rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--terre-txt); text-underline-offset: 3px; }
a:hover { color: var(--forest); }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.12; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--terre-txt); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

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

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.section { padding: clamp(48px, 8vw, 96px) 0; }
.section--tight { padding: clamp(32px, 5vw, 56px) 0; }
.section--white { background: var(--paper); border-block: 1px solid var(--line); }
.section--forest { background: var(--forest); color: var(--cream); }
.section--forest a { color: var(--cream); }

/* --- Typographie ------------------------------------------------------- */
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--terre-txt); margin: 0 0 14px; }
.section--forest .eyebrow { color: var(--sage); }
.display { font-family: var(--f-display); font-weight: 500; letter-spacing: -.01em; }
.h1 { font-family: var(--f-display); font-size: clamp(2.5rem, 6.4vw, 4.9rem); line-height: 1.03; letter-spacing: -.015em; }
.h2 { font-family: var(--f-display); font-size: clamp(2rem, 4.4vw, 3.1rem); letter-spacing: -.01em; }
.h3 { font-family: var(--f-display); font-size: 1.55rem; }
.h1 em, .h2 em { font-style: italic; color: var(--terre-txt); }
.section--forest .h2 em { color: var(--terre); }
.lede { font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.55; color: var(--ink); max-width: 38em; }
.muted { color: var(--muted); }
.small { font-size: .95rem; }
.head { max-width: 46rem; margin-bottom: clamp(28px, 4vw, 48px); }
.head .lede { margin-top: 18px; }

/* --- Boutons ----------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px; border-radius: 999px; background: var(--terre-txt); color: #fff; font: 600 1rem/1 var(--f-text); text-decoration: none; border: 2px solid var(--terre-txt); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn:hover { background: var(--forest); border-color: var(--forest); color: #fff; }
.btn--ghost { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn--ghost:hover { background: var(--forest); color: var(--cream); }
.section--forest .btn { background: var(--terre); border-color: var(--terre); color: var(--forest); }
.section--forest .btn:hover { background: var(--cream); border-color: var(--cream); color: var(--forest); }
.section--forest .btn--ghost { background: transparent; color: var(--cream); border-color: var(--cream); }
.section--forest .btn--ghost:hover { background: var(--cream); color: var(--forest); }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* --- Bandeau d'annonce + en-tête --------------------------------------- */
.annonce { background: var(--forest); color: var(--cream); text-align: center; padding: 10px var(--gut); font-size: .98rem; }
.annonce a { color: var(--cream); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 244, 235, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--forest); }
.brand img { height: 48px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1.02rem; padding: 8px 2px; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--terre-txt); }
.nav a[aria-current="page"] { border-bottom-color: var(--terre); }
.burger { display: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); cursor: pointer; padding: 0; color: var(--forest); }
.burger svg { margin: auto; display: block; }
@media (max-width: 1180px) {
  .burger { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--cream); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gut) 20px; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 2px; border-bottom: 1px solid var(--line); font-size: 1.15rem; }
}

/* --- Hero -------------------------------------------------------------- */
.hero { padding: clamp(36px, 7vw, 88px) 0 clamp(28px, 5vw, 56px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(20px, 4vw, 56px); align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero .lede { margin-bottom: 30px; }
.hero-art { position: relative; }
.hero-art img { width: 100%; max-width: 520px; margin-left: auto; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: .98rem; margin-bottom: 26px; }
.chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--terre); box-shadow: 0 0 0 5px rgba(217, 106, 67, .18); }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art img { max-width: 300px; margin: 0 auto; }
}

/* --- Chiffres ---------------------------------------------------------- */
.stripe { background: var(--paper); border-block: 1px solid var(--line); }
.figures { display: grid; grid-template-columns: repeat(4, 1fr); }
.fig { padding: clamp(20px, 3vw, 34px) 20px; border-right: 1px solid var(--line); }
.fig:first-child { padding-left: 0; }
.fig:last-child { border-right: 0; }
.fig b { display: block; font: 500 clamp(2.4rem, 5vw, 3.6rem)/1 var(--f-display); color: var(--forest); }
.fig span { display: block; margin-top: 8px; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) {
  .figures { grid-template-columns: 1fr 1fr; }
  .fig:nth-child(2) { border-right: 0; }
  .fig:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* --- Trois piliers ----------------------------------------------------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
.pillar .num { font: 500 2.6rem/1 var(--f-display); color: var(--terre); margin-bottom: 14px; }
.pillar h3 { font-family: var(--f-display); font-size: 1.5rem; margin-bottom: 10px; }
.pillar p { margin: 0; color: var(--muted); font-size: 1.05rem; }
@media (max-width: 820px) { .pillars { grid-template-columns: 1fr; } }

/* --- Carte de l'itinéraire -------------------------------------------- */
.map { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--sea); }
.map img { width: 100%; }
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.next { margin-top: 22px; padding: 18px 20px; border-left: 4px solid var(--terre); background: var(--paper); border-radius: 0 var(--r) var(--r) 0; }
.next small { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.next b { font: 500 1.5rem/1.2 var(--f-display); }

/* --- Frise des étapes -------------------------------------------------- */
.steps { list-style: none; margin: 0; padding: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.step { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 18px; padding: 12px 0 12px 44px; }
.step::before { content: ""; position: absolute; left: 4px; top: 21px; width: 16px; height: 16px; border-radius: 50%; background: var(--cream); border: 2px solid var(--sage); }
.step.is-asso::before { border-color: var(--forest); background: var(--forest); }
.step.is-done::before { background: var(--terre); border-color: var(--terre); }
.step.is-current::before { box-shadow: 0 0 0 6px rgba(217, 106, 67, .25); background: var(--terre); border-color: var(--terre); }
.step b { font-weight: 600; font-size: 1.12rem; }
.step .d { color: var(--muted); font-size: 1rem; grid-column: 1; }
.step .w { text-align: right; font-size: .95rem; color: var(--muted); grid-column: 2; grid-row: 1; }
.step .k { text-align: right; font-size: .85rem; color: var(--muted); grid-column: 2; grid-row: 2; }
.step.is-done b { color: var(--muted); }
.badge-asso { display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: 999px; background: var(--forest); color: var(--cream); font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; vertical-align: 2px; }

/* --- Cartes (assos, interviews, équipe) -------------------------------- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.card-body { padding: 24px; }
.logo-tile { display: flex; align-items: center; justify-content: center; height: 118px; padding: 20px 28px; background: var(--paper); border-bottom: 1px solid var(--line); }
.logo-tile img { max-height: 100%; max-width: 78%; width: auto; object-fit: contain; }
.card h3 { font-family: var(--f-display); font-size: 1.55rem; margin-bottom: 4px; }
.card .meta { color: var(--muted); font-size: .98rem; margin-bottom: 12px; }
.statut { display: inline-block; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.statut[data-s="Rencontre confirmée"] { background: var(--sea); border-color: var(--sea); color: var(--forest); }
.statut[data-s="Rencontre réalisée"] { background: var(--forest); border-color: var(--forest); color: var(--cream); }

.asso { display: grid; grid-template-columns: 300px 1fr; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; scroll-margin-top: 96px; }
.asso + .asso { margin-top: 24px; }
.asso-side { background: var(--paper); border-right: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.asso-side img { max-height: 90px; width: auto; max-width: 100%; object-fit: contain; object-position: left; }
.asso-main { padding: clamp(22px, 3vw, 36px); }
.asso-main h2 { font-family: var(--f-display); font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin-bottom: 6px; }
.asso-main .meta { color: var(--muted); margin-bottom: 14px; }
.asso-main .links { margin: 18px 0 0; display: flex; gap: 10px; flex-wrap: wrap; }
.asso-interviews { margin-top: 26px; padding-top: 22px; border-top: 1px dashed var(--line); }
.asso-interviews h3 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-family: var(--f-text); font-weight: 600; color: var(--terre-txt); margin-bottom: 14px; }
@media (max-width: 820px) { .asso { grid-template-columns: 1fr; } .asso-side { border-right: 0; border-bottom: 1px solid var(--line); flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; } }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* --- Interviews -------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { font: 500 .98rem var(--f-text); padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; min-height: 44px; }
.filters button[aria-pressed="true"] { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.interview { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.interview .ph { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; background: var(--sea); }
.interview-body { padding: 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.interview blockquote { margin: 0; font: 500 1.4rem/1.3 var(--f-display); color: var(--forest); }
.interview blockquote::before { content: "« "; color: var(--terre); }
.interview blockquote::after { content: " »"; color: var(--terre); }
.who { font-size: 1rem; }
.who b { font-weight: 600; }
.who span { color: var(--muted); }
.tag { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--terre-txt); }
details.texte summary { cursor: pointer; font-weight: 600; color: var(--terre-txt); min-height: 44px; display: flex; align-items: center; }
details.texte .prose { margin-top: 8px; }
.video { position: relative; aspect-ratio: 16 / 9; background: var(--forest); border-radius: 10px; overflow: hidden; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video button { position: absolute; inset: 0; width: 100%; border: 0; background: var(--forest); color: var(--cream); font: 600 1.05rem var(--f-text); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 12px; }
.video button:hover { background: #0f2c24; }

.prose { max-width: 40em; }
.prose h3, .prose h4 { font-family: var(--f-display); margin: 1.4em 0 .5em; font-size: 1.4rem; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose blockquote { margin: 1.2em 0; padding-left: 18px; border-left: 3px solid var(--terre); font-family: var(--f-display); font-size: 1.25rem; color: var(--forest); }

/* --- Carnet ------------------------------------------------------------ */
.entry { padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 200px 1fr; gap: clamp(18px, 4vw, 48px); scroll-margin-top: 96px; }
.entry:first-child { border-top: 0; padding-top: 0; }
.entry-meta { position: sticky; top: 96px; align-self: start; }
.entry-meta .day { font: 500 3.2rem/1 var(--f-display); color: var(--terre); }
.entry-meta .day small { display: block; font: 600 .75rem var(--f-text); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.entry-meta .where { margin-top: 12px; font-weight: 600; }
.entry-meta .when { color: var(--muted); font-size: .98rem; }
.entry h2 { font-family: var(--f-display); font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 16px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; margin-top: 22px; }
.gallery button { padding: 0; border: 0; background: var(--sea); cursor: zoom-in; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery button:hover img { transform: scale(1.04); }
.gallery.n1 { grid-template-columns: 1fr; } .gallery.n1 button { aspect-ratio: 3 / 2; }
.gallery.n2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 760px) { .entry { grid-template-columns: 1fr; gap: 12px; } .entry-meta { position: static; display: flex; gap: 18px; align-items: baseline; flex-wrap: wrap; } .entry-meta .day { font-size: 2.2rem; } .entry-meta .day small { display: inline; margin-right: 8px; } .entry-meta .where { margin-top: 0; } }

dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; color: #fff; }
dialog.lightbox::backdrop { background: rgba(10, 20, 16, .94); }
.lightbox .frame { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 64px 24px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; }
.lightbox p { margin: 14px 0 0; text-align: center; max-width: 46em; }
.lightbox .lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(0,0,0,.35); color: #fff; font-size: 1.5rem; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox .lb-close { top: 14px; right: 14px; } .lightbox .lb-prev { left: 12px; top: 50%; } .lightbox .lb-next { right: 12px; top: 50%; }
@media (max-width: 600px) { .lightbox .frame { padding: 60px 8px 20px; } .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 14px; } }

/* --- Cagnotte ---------------------------------------------------------- */
.pot { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 4vw, 40px); }
.meter { height: 14px; border-radius: 999px; background: var(--sea); overflow: hidden; margin: 18px 0 10px; }
.meter i { display: block; height: 100%; background: var(--terre); border-radius: 999px; }
.pot-amount { font: 500 clamp(2.4rem, 6vw, 3.6rem)/1 var(--f-display); color: var(--forest); }
.embed { width: 100%; min-height: 560px; border: 0; border-radius: 10px; }

/* --- Équipe ------------------------------------------------------------ */
.member { text-align: center; }
.member img { width: 100%; max-width: 280px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; margin: 0 auto 18px; background: var(--sea); border: 1px solid var(--line); }
.member h3 { font-family: var(--f-display); font-size: 1.7rem; }
.member .role { color: var(--terre-txt); font-weight: 600; font-size: .95rem; margin-top: 2px; }
.member p { color: var(--muted); margin-top: 10px; font-size: 1.02rem; }

.socials { display: flex; flex-wrap: wrap; gap: 12px; }
.social { display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px 12px 16px; min-height: 48px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 500; }
.social:hover { border-color: var(--forest); color: var(--forest); }
.social svg { width: 22px; height: 22px; flex: none; }
.section--forest .social { background: transparent; border-color: rgba(247, 244, 235, .35); color: var(--cream); }
.section--forest .social:hover { border-color: var(--cream); background: rgba(247, 244, 235, .08); color: var(--cream); }

/* --- États vides et messages ------------------------------------------ */
.empty { padding: clamp(28px, 5vw, 48px); border: 2px dashed var(--line); border-radius: var(--r); text-align: center; color: var(--muted); background: rgba(255,255,255,.5); }
.empty b { display: block; font: 500 1.5rem/1.2 var(--f-display); color: var(--forest); margin-bottom: 8px; }
.error { padding: 24px; border-radius: var(--r); background: #fff3ee; border: 1px solid var(--terre); }

/* --- Pied de page ------------------------------------------------------ */
.site-footer { background: var(--forest); color: var(--cream); padding: clamp(40px, 6vw, 64px) 0 28px; }
.site-footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; }
.site-footer img { height: 60px; width: auto; margin-bottom: 18px; }
.site-footer h2 { font: 600 .78rem var(--f-text); letter-spacing: .18em; text-transform: uppercase; color: var(--sage); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--cream); }
.site-footer .legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(247, 244, 235, .2); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .92rem; color: rgba(247, 244, 235, .75); }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr; } }

@media print { .site-header, .site-footer, .burger, .skip { display: none; } body { background: #fff; } }

/* --- Ajouts : marque, fiches « spécimen » (style Trinket), cartes d'actualité ---------- */
.brand-name { font: 500 1.3rem/1 var(--f-display); letter-spacing: .26em; padding-left: .26em; color: var(--forest); }
@media (max-width: 420px) { .brand-name { font-size: 1.1rem; letter-spacing: .2em; } }
.spec { display: flex; gap: 10px; align-items: baseline; font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.spec span { color: var(--terre-txt); }
.news, .assoc-mini { display: block; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
.news:hover, .assoc-mini:hover { border-color: var(--forest); transform: translateY(-2px); }
.news .ph { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; background: var(--sea); }
.news h3 { margin-top: 6px; }
.assoc-mini h3 { font-size: 1.35rem; }
.assoc-mini .card-body { padding: 18px 20px 20px; }
.pillar h3 { color: var(--forest); }
.cta-band { text-align: center; }
.cta-band .head { margin-inline: auto; }
.cta-band .row { justify-content: center; }
.more { margin-top: 28px; }
.map-caption { margin-top: 10px; color: var(--muted); font-size: .92rem; }
.notice { color: var(--muted); font-size: .95rem; margin-top: 18px; }
.h1 em, .h2 em { white-space: nowrap; }
@media (max-width: 480px) { .h2 em { white-space: normal; } }
/* Les icônes prennent la taille du texte (sans cette règle, un SVG remplit tout son conteneur) */
.btn svg, .link-arrow svg, .video button svg { width: 1.3em; height: 1.3em; flex: none; }
.video button svg { width: 2.2em; height: 2.2em; }

/* --- Bandeau « position en direct » et barre d'en-tête ---------------------------------- */
.livebar { display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--forest); color: var(--cream); font-size: .86rem; line-height: 1.3; padding: 7px var(--gut); text-align: center; text-decoration: none; }
.livebar:hover { color: var(--cream); background: #0f2c24; }
.livebar b { font-weight: 600; letter-spacing: .02em; }
.livebar .maj { opacity: .8; }
.livebar .dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--terre); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(217, 106, 67, .7); } 70% { box-shadow: 0 0 0 7px rgba(217, 106, 67, 0); } 100% { box-shadow: 0 0 0 0 rgba(217, 106, 67, 0); } }
.bar-right { display: flex; align-items: center; gap: clamp(12px, 2vw, 26px); }
.btn--nav { min-height: 42px; padding: 0 20px; font-size: .95rem; color: #fff; }
.btn--nav:hover { color: #fff; }

/* --- Titres : serif éditorial léger ----------------------------------------------------------- */
.h1, .h2, .h3, .asso-main h2, .card h3, .pillar h3, .member h3, .story-title, .entry h2 { font-weight: 400; }

/* --- Chiffres avec objectif ------------------------------------------------------------------- */
.fig b small { font-size: .45em; color: var(--muted); font-weight: 400; }
.meter.sm { height: 6px; margin: 12px 0 0; max-width: 160px; }

/* --- Journal : cartes, « À la une », article -------------------------------------------------- */
.pill { display: inline-block; padding: 3px 11px; border-radius: 999px; background: var(--sea); color: var(--forest); font-size: .76rem; font-weight: 600; letter-spacing: .04em; }
.jcard { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: border-color .15s; }
.jcard:hover { border-color: var(--forest); }
.jcard .ph { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; background: var(--sea); }
.ph--empty { display: flex; align-items: center; justify-content: center; color: var(--forest); background: var(--sea); }
.ph--empty svg { width: 40px; height: 40px; opacity: .5; }
.jcard .card-body { display: flex; flex-direction: column; flex: 1; }
.jcard h3 { margin: 6px 0 8px; font-size: 1.45rem; }
.jcard .extrait { color: var(--muted); font-size: 1rem; margin: 0 0 16px; }
.jmeta { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-top: auto; font-size: .88rem; color: var(--muted); }
.jmeta .by { font-weight: 600; color: var(--ink); }
.tag svg { width: 15px; height: 15px; vertical-align: -2px; margin-right: 5px; }

.feature { position: relative; display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 7; min-height: 280px; background: var(--forest); color: #fff; text-decoration: none; }
.feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 20, 16, .8), rgba(10, 20, 16, .05) 65%); }
.feature-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(18px, 3vw, 38px); max-width: 48rem; }
.feature .tag { color: #fff; }
.feature h3 { font: 400 clamp(1.9rem, 4vw, 3.1rem)/1.06 var(--f-display); margin: 10px 0; }
.feature .by { font-size: .95rem; opacity: .92; }
.feature:hover { color: #fff; }
@media (max-width: 700px) { .feature { aspect-ratio: 4 / 5; } }

.story { max-width: 46rem; margin-inline: auto; }
.story .back { margin-bottom: 26px; }
.story .back svg { width: 1.2em; height: 1.2em; }
.story-head { margin-bottom: 24px; }
.story-title { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 14px 0; }
.story-cover { margin: 0 0 30px; }
.story-cover img { width: 100%; max-height: 70vh; object-fit: cover; border-radius: var(--r); }

/* --- Soutiens, presse -------------------------------------------------------------------------- */
.soutien .card-body p { color: var(--muted); font-size: 1.02rem; }
.revue { list-style: none; margin: 0; padding: 0; }
.revue li { padding: 18px 0; border-top: 1px solid var(--line); display: grid; gap: 4px; font: 400 1.35rem/1.3 var(--f-display); }
.revue li:last-child { border-bottom: 1px solid var(--line); }

/* --- Apparition douce (désactivée si « réduire les animations ») ----------------------------- */
.js-reveal .rv { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js-reveal .rv.in { opacity: 1; transform: none; }

/* --- Corrections de mise en page (menu, chiffres, pied de page) -------------------------- */
.nav a { white-space: nowrap; font-size: .98rem; }
.nav { gap: clamp(12px, 1.6vw, 24px); }
.fig b { white-space: nowrap; font-size: clamp(2.1rem, 3.8vw, 3.2rem); }
.site-footer .social { background: transparent; border-color: rgba(247, 244, 235, .35); color: var(--cream); }
.site-footer .social:hover { border-color: var(--cream); background: rgba(247, 244, 235, .08); color: var(--cream); }

/* --- Logo de l'Institut Agro (école des trois étudiants) -------------------------------------- */
.school { margin: 22px 0 0; }
.school a { display: inline-block; }
.school img { height: 66px; width: auto; }
.site-footer .school-chip { display: inline-block; margin-top: 8px; padding: 10px 16px; border-radius: 12px; background: var(--cream); }
.site-footer .school-chip img { height: 40px; width: auto; margin: 0; display: block; }

/* --- Pictos des trois piliers et dessins d'animaux dans les marges ------------------------ */
.pillar .picto { width: 48px; height: 48px; margin-bottom: 14px; }
.brand { gap: 12px; }
.brand-name { font: 500 1.3rem/1 var(--f-display); letter-spacing: .26em; color: var(--forest); }
body { position: relative; }
.deco { display: none; position: absolute; width: 190px; opacity: .5; pointer-events: none; z-index: 0; }
@media (min-width: 1480px) {
  .deco { display: block; }
  .deco--l { left: calc(50% - 560px - 230px); }
  .deco--r { left: calc(50% + 560px + 40px); }
}

/* ==========================================================================
   Carnet naturaliste (29 oct.) : bandeau de paysages, grand TRIADE, dessins à l'encre et à l'aquarelle
   Les dessins sont des PNG/WebP transparents (assets/illustrations/), posés sans cadre.
   ========================================================================== */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* --- Bandeau : paysages qui glissent d'une photo à la suivante (content/bandeau.json) --- */
.bandeau { position: relative; overflow: hidden; isolation: isolate; color: var(--cream); background: var(--forest); }
.bandeau-track { position: absolute; inset: 0; display: flex; will-change: transform; z-index: -2; }
.bandeau-track.glisse { transition: transform 1.5s cubic-bezier(.65, 0, .25, 1); }
.bandeau-slide { flex: 0 0 100%; height: 100%; }
.bandeau-slide img { width: 100%; height: 100%; object-fit: cover; }
.bandeau::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 40, 31, .62) 0%, rgba(14, 40, 31, .34) 42%, rgba(14, 40, 31, .78) 100%); }
.bandeau--vide { background: var(--cream); color: var(--ink); }   /* sans photo : fond crème et dessins */
.bandeau--vide::before { display: none; }
/* Légende de la photo : à droite de l'image, petite, centrée (lieu = lien Google Maps, puis étape, puis crédit) */
.bandeau-legende { position: absolute; z-index: 2; left: auto; right: clamp(12px, 2vw, 34px); bottom: 14px; margin: 0; width: min(70%, 18rem); display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; font-size: .72rem; line-height: 1.35; color: rgba(247, 244, 235, .92); text-shadow: 0 1px 6px rgba(0, 0, 0, .55); }
.bandeau-legende .lieu { display: inline-flex; align-items: center; justify-content: center; gap: 5px; font-weight: 600; font-size: .78rem; letter-spacing: .02em; color: #fff; text-decoration: none; }
.bandeau-legende a.lieu:hover { text-decoration: underline; text-underline-offset: 3px; color: #fff; }
.bandeau-legende .lieu svg { width: 13px; height: 13px; flex: none; }
.bandeau-legende .etape { opacity: .95; }
.bandeau-legende .credit { font-size: .66rem; opacity: .8; }
.bandeau-legende a { color: inherit; }

/* --- Accueil : grand TRIADE et explication du sigle --- */
.hero--bandeau { padding: 0; min-height: clamp(560px, 86vh, 780px); display: flex; align-items: center; text-align: center; }
.hero--bandeau > .wrap { display: block; width: 100%; padding-top: clamp(40px, 7vw, 80px); padding-bottom: clamp(70px, 9vw, 110px); }
.hero--bandeau .eyebrow { color: #F1C4AE; margin-bottom: clamp(10px, 2vw, 22px); }
.triade-sigle { display: inline-grid; grid-template-columns: repeat(6, auto); column-gap: clamp(14px, 3.4vw, 46px); align-items: start; margin: 0 auto; }
.triade-sigle > span { display: flex; flex-direction: column; align-items: center; }
.triade-sigle i { font: 400 clamp(3.6rem, 13.5vw, 10.5rem)/.95 var(--f-display); font-style: normal; letter-spacing: -.01em; color: var(--cream); text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.triade-sigle small { margin-top: clamp(8px, 1.4vw, 14px); padding-top: clamp(8px, 1.2vw, 12px); border-top: 1.5px solid var(--terre); font: 500 clamp(.62rem, 1.15vw, .95rem)/1 var(--f-text); letter-spacing: .22em; text-transform: uppercase; color: var(--cream); white-space: nowrap; }
.triade-sigle small b { color: #F4A582; font-weight: 700; }
.hero--bandeau h1 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.25rem, 2.5vw, 1.8rem); line-height: 1.25; letter-spacing: 0; margin: clamp(26px, 4vw, 44px) auto 0; max-width: 34em; color: var(--cream); }
.hero--bandeau h1 em { color: #F4A582; }
.hero--bandeau .lede { color: rgba(247, 244, 235, .94); font-size: clamp(1rem, 1.6vw, 1.15rem); margin: 14px auto 28px; text-shadow: 0 1px 12px rgba(0, 0, 0, .4); }
.hero--bandeau .row { justify-content: center; }
.hero--bandeau .btn--ghost { color: var(--cream); border-color: var(--cream); background: transparent; }
.hero--bandeau .btn--ghost:hover { background: var(--cream); color: var(--forest); }
@media (max-width: 700px) {
  .triade-sigle { grid-template-columns: repeat(3, auto); row-gap: 22px; column-gap: 20px; }
  .triade-sigle small { letter-spacing: .14em; }
}

/* --- En-tête des pages intérieures : bandeau bas, la première fiche remonte dessus --- */
.bandeau--page { min-height: clamp(250px, 34vh, 340px); display: flex; align-items: center; }
.bandeau--page > .wrap { padding-top: clamp(24px, 4vw, 44px); padding-bottom: clamp(70px, 8vw, 96px); width: 100%; }
.bandeau--page .h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); color: var(--cream); }
.bandeau--page .h1 em { color: #F4A582; }
.bandeau--page .eyebrow { color: #F1C4AE; }
.bandeau--page .lede { color: rgba(247, 244, 235, .95); font-size: clamp(1rem, 1.7vw, 1.15rem); margin-top: 10px; max-width: 40em; text-shadow: 0 1px 12px rgba(0, 0, 0, .4); }
.remonte { position: relative; z-index: 3; margin-top: clamp(-64px, -6vw, -36px); }
.acces { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.acces a { padding: 7px 15px; border-radius: 999px; border: 1px solid rgba(247, 244, 235, .6); color: var(--cream); text-decoration: none; font-size: .92rem; font-weight: 500; backdrop-filter: blur(3px); background: rgba(14, 40, 31, .25); }
.acces a:hover { background: var(--cream); color: var(--forest); }

/* --- Dessins : sans cadre, taille et position variées --- */
.illu { display: block; height: auto; width: 100%; object-fit: contain; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.illu-note { margin: 4px 0 0; font: italic 400 .86rem/1.3 var(--f-display); color: var(--muted); text-align: center; }
.asso { overflow: visible; position: relative; }
.asso-side { border-radius: var(--r) 0 0 var(--r); }
.asso-art { position: absolute; top: -34px; right: -14px; width: clamp(150px, 17vw, 215px); z-index: 2; transform: rotate(2deg); filter: drop-shadow(0 6px 10px rgba(40, 51, 47, .12)); }
.asso:nth-child(even) .asso-art { right: auto; left: 316px; top: -26px; transform: rotate(-2deg); }
.asso-tete { padding-right: clamp(140px, 17vw, 215px); }
.asso:nth-child(even) .asso-tete { padding-right: 0; padding-left: clamp(140px, 17vw, 215px); }
@media (max-width: 820px) {
  .asso-art, .asso:nth-child(even) .asso-art { position: static; float: right; width: 120px; margin: -6px 0 6px 12px; transform: none; }
  .asso-tete, .asso:nth-child(even) .asso-tete { padding: 0; }
}
.marge-dessin { display: none; }
@media (min-width: 1440px) {
  .marge-dessin { display: block; position: absolute; width: clamp(150px, 11vw, 200px); z-index: 0; opacity: .96; }
  .marge-dessin--g { left: max(8px, calc((100vw - var(--wrap)) / 2 - 215px)); }
  .marge-dessin--d { right: max(8px, calc((100vw - var(--wrap)) / 2 - 215px)); }
}
.page-dessins { position: relative; }
.tete-dessin { position: absolute; width: clamp(110px, 15vw, 190px); }
.deco-droite { float: right; width: clamp(130px, 18vw, 240px); margin: 0 0 12px 24px; }
.deco-gauche { float: left; width: clamp(130px, 18vw, 240px); margin: 0 24px 12px 0; }
@media (max-width: 700px) { .deco-droite, .deco-gauche { width: 120px; } }
.pied-arbre { position: absolute; right: clamp(12px, 5vw, 72px); bottom: 100%; width: clamp(70px, 9vw, 110px); margin-bottom: -2px; }
.site-footer { position: relative; }
.ph--empty .illu { width: 62%; height: 100%; margin: 0 auto; }
.wrap.rel { position: relative; }
.tete-dessin { top: -8px; right: var(--gut); }
@media (max-width: 900px) { .tete-dessin { display: none; } }
@media (min-width: 901px) { .wrap.rel > .head { padding-right: clamp(120px, 16vw, 200px); } }
.hero--bandeau .chip { background: rgba(14, 40, 31, .5); border-color: rgba(247, 244, 235, .55); color: var(--cream); backdrop-filter: blur(4px); }
@media (max-width: 700px) {
  .hero--bandeau > .wrap { padding-bottom: 150px; }
  .bandeau--page > .wrap { padding-bottom: 150px; }
  .bandeau-legende { bottom: 6px; }
}
.pied-arbre { bottom: 76px; right: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); width: clamp(64px, 8vw, 96px); margin: 0; opacity: .95; }
@media (max-width: 760px) { .pied-arbre { bottom: auto; top: 22px; } }

/* --- Accueil, 5 nov. : faune dans « Le projet », cartes d'associations avec dessin, logos jumelés --- */
.faune { position: absolute; top: -6px; right: var(--gut); width: clamp(240px, 27vw, 380px); aspect-ratio: 1 / .98; pointer-events: none; }
.faune .illu { position: absolute; height: auto; filter: drop-shadow(0 6px 10px rgba(40, 51, 47, .10)); }
.faune-ours { width: 50%; right: 0; top: 0; transform: rotate(1.5deg); }
.faune-loup { width: 42%; left: 4%; top: 6%; transform: rotate(-2deg); }
.faune-velo { width: 56%; left: -2%; bottom: 2%; }
.faune-phoque { width: 42%; right: 2%; bottom: 0; }
@media (min-width: 901px) { .wrap.rel > .head { padding-right: 0; max-width: 640px; } }
@media (max-width: 900px) {
  .faune { position: relative; top: auto; right: auto; width: min(380px, 100%); margin: 0 auto 22px; }
}
.mini-art-wrap { display: flex; align-items: flex-end; justify-content: center; height: 178px; padding: 16px 12px 0; background: var(--paper); }
.mini-art { width: auto; max-width: 82%; height: 100%; object-fit: contain; }
.assoc-mini .logo-tile { border-top: 1px solid var(--line); }
.logo-tile--duo, .asso-logos { gap: 14px; }
.logo-tile--duo img { max-width: 42%; }
.logo-plus { font: 500 2rem/1 var(--f-display); color: var(--terre); }
.asso-logos { display: flex; align-items: center; flex-wrap: wrap; }
.asso-logos img { max-height: 70px; max-width: 46%; }
.asso-logos:not(:has(.logo-plus)) img { max-width: 100%; max-height: 90px; }
.polarsteps-note { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; padding: 9px 16px; border: 1px dashed var(--line); border-radius: 999px; background: var(--paper); color: var(--muted); font-size: .98rem; }
.polarsteps-note b { color: var(--forest); font-weight: 600; }

.pillar .picto { width: 68px; height: 68px; margin-bottom: 16px; }
.polarsteps-note svg { width: 20px; height: 20px; flex: none; color: var(--terre); }
.asso-logos { flex-wrap: nowrap; }
.asso-side .asso-logos img { max-width: 44%; max-height: 74px; }
.asso-side .asso-logos img:only-child { max-width: 100%; max-height: 90px; }
.logo-plus { font: 600 1.7rem/1 var(--f-text); color: var(--terre); }
.plantes-bas { width: clamp(110px, 12vw, 160px); margin: 36px auto 0; opacity: .95; }

/* ==========================================================================
   6 nov. 2026 : choix de la langue, page « Sur la route », sponsors
   ========================================================================== */
/* --- Choix de la langue (en-tête) --- */
.lang { position: relative; display: inline-flex; align-items: center; }
.lang svg { position: absolute; left: 11px; width: 17px; height: 17px; color: var(--forest); pointer-events: none; }
.lang select { appearance: none; -webkit-appearance: none; height: 42px; padding: 0 30px 0 34px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23173D32' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center; color: var(--ink); font: 500 .92rem/1 var(--f-text); cursor: pointer; }
.lang select:hover { border-color: var(--forest); }
@media (max-width: 520px) {
  .site-header .wrap { gap: 8px; }
  .brand-name { display: none; }
  .bar-right { gap: 8px; }
  .lang select { padding-left: 32px; padding-right: 26px; font-size: .86rem; background-position: right 9px center; }
  .btn--nav { padding: 0 14px; }
}

/* --- Page « Sur la route » --- */
.split--etapes { align-items: start; grid-template-columns: 1fr 1fr; }
.split--etapes .steps { max-width: 560px; }
@media (min-width: 861px) { .split--etapes > div:last-child { position: sticky; top: 110px; } }
@media (max-width: 860px) { .split--etapes { grid-template-columns: 1fr; } }
#photos, #etapes, #en-direct { scroll-margin-top: 96px; }

/* --- Sponsors et soutiens --- */
.logo-tile b { font: 400 1.7rem/1.1 var(--f-display); color: var(--forest); text-align: center; }
a.logo-tile { text-decoration: none; }
.soutien--libre { border-style: dashed; background: transparent; }
.soutien--libre .card-body { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.soutien--libre .btn { margin-top: 12px; }

/* Chiffres clés : les longs mots (grec, allemand) passent à la ligne au lieu de déborder */
.figures { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fig { min-width: 0; }
.fig span { overflow-wrap: anywhere; }
@media (max-width: 760px) { .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fig span { letter-spacing: .1em; } }

/* Portraits de l'équipe, juste après le texte du projet */
.tetes { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px clamp(20px, 4vw, 44px); }
.tetes li { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.tetes img { width: clamp(88px, 14vw, 132px); height: auto; aspect-ratio: 1; border-radius: 50%; display: block; }
.tetes b { font-weight: 600; }
.head--centre { margin-inline: auto; text-align: center; }
.head--suite { margin-top: clamp(40px, 6vw, 72px); }
.section--projet .more { text-align: center; }

/* Page Associations : les dessins débordent au-dessus de la première carte ; la légende de la photo (crédit obligatoire) reste au-dessus d'eux */
body[data-page="associations"] .bandeau-legende { bottom: 56px; }

/* Presse : respiration sous les petits titres */
h2.h3 { margin-bottom: 10px; }

/* Bandeau des pages intérieures : plus d'air entre titre et texte, titre plus lisible sur la photo */
.bandeau--page .h1 { text-shadow: 0 2px 18px rgba(0, 0, 0, .45); }
.bandeau--page .lede { margin-top: 16px; }
