/* ==========================================================================
   Village Ngondet — feuille de style
   Palette tirée de la terre, du kaolin (pembe), de l'ocre et du tukula.
   ========================================================================== */

@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-4-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-4-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-4-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --soil: #f1f1f1;        /* fond principal : l'argile de kaolin, blanc cassé doux pour les yeux */
  --soil-2: #e4e4e4;      /* panneaux, un ton plus soutenu */
  --soil-deep: #f8f8f8;   /* champs et cartes, à peine plus clairs que le fond */
  --kaolin: #141414;      /* texte : noir chaud, moins dur que le noir pur */
  --muted: #4f4f4f;       /* texte secondaire */
  --ochre: #a9251a;       /* accent : le rouge (lisible sur le fond) */
  --red: #c62f22;         /* rouge des boutons, texte blanc dessus */
  --tukula: #9e1f17;      /* rouge profond : encadrés */
  --leaf: #141414;        /* état existant */
  --line: rgba(0, 0, 0, .14);
  --line-strong: rgba(0, 0, 0, .28);

  --display: "Jost", "Futura", "Century Gothic", "Avenir Next", system-ui, sans-serif;
  --text: "Source Serif 4", "Iowan Old Style", "Georgia", serif;

  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --measure: 38rem;
  --radius: 4px;

  color-scheme: light;
}

/* Zones restées sombres pour le contraste : bandeau photo, galerie, pied de page */
.footer, .band, .lightbox, .college-home, .racine {
  --soil: #111111;
  --soil-2: #1e1e1e;
  --soil-deep: #0a0a0a;
  --kaolin: #f4f4f4;
  --muted: #b8b8b8;
  --ochre: #e5503f;
  --leaf: #f4f4f4;
  --line: rgba(244, 244, 244, .16);
  --line-strong: rgba(244, 244, 244, .32);
  color: var(--kaolin);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 6rem; }
body {
  margin: 0;
  background: var(--soil);
  color: var(--kaolin);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--ochre); }
:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; border-radius: 2px; }
main:focus { outline: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.08; margin: 0 0 .6em; letter-spacing: -.01em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h3 { font-size: 1.375rem; font-weight: 600; letter-spacing: 0; line-height: 1.25; }
p { margin: 0 0 1.1em; }
p, li { text-wrap: pretty; }
strong { font-weight: 600; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--red); color: #fff; padding: .6rem 1rem;
  font-family: var(--display); font-weight: 600; text-decoration: none; border-radius: var(--radius);
}
.skip:focus { top: 1rem; color: #fff; }

/* ---------- Logo ---------- */
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand:hover { color: var(--kaolin); }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.85rem; letter-spacing: -.02em; line-height: 1; }
.brand-mark {
  width: .62rem; height: .62rem; border-radius: 50%; background: #fff; flex: none;
  box-shadow: 0 0 0 1.5px #141414, .9rem 0 0 1.5px var(--red), 1.8rem 0 0 1.5px #141414;
  margin-right: 2.5rem;
}

/* ---------- Barre supérieure / navigation ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 1.25rem var(--gutter);
  position: sticky; top: 0; z-index: 30;
  background: rgba(241, 241, 241, .92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.topbar.is-stuck { border-bottom-color: var(--line); box-shadow: 0 .6rem 1.6rem rgba(0, 0, 0, .08); }
.menu-toggle { display: none; }
.mainnav { display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 2.8rem); }
.nav-cta { min-height: 2.6rem; padding: .5rem 1.2rem; font-size: .92rem; }
.nav-cta[aria-current="page"] { background: var(--kaolin); color: var(--soil-deep); }
.mainnav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(1.25rem, 2.6vw, 2.6rem); }
.mainnav-list > li { position: relative; }
.mainnav-list > li > a,
.sub-toggle {
  display: inline-block; position: relative;
  font-family: var(--display); font-size: .875rem; font-weight: 600; letter-spacing: .04em;
  color: var(--kaolin); text-decoration: none; background: none; border: 0; padding: .5rem 0; cursor: pointer;
}
.sub-toggle::after {
  content: ""; display: inline-block; width: .38rem; height: .38rem; margin-left: .45rem; vertical-align: .18em;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg);
  transition: transform .2s ease;
}
.sub-toggle[aria-expanded="true"]::after { transform: rotate(225deg); vertical-align: -.05em; }
.mainnav-list > li.is-active > a::before,
.mainnav-list > li.is-active > .sub-toggle::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: .05rem; height: 3px; background: var(--ochre); border-radius: 2px;
}
.mainnav-list > li > a:hover, .sub-toggle:hover { color: var(--ochre); }

.submenu {
  list-style: none; margin: 0; padding: .6rem 0;
  position: absolute; right: -1rem; top: 100%; min-width: 16rem;
  background: var(--soil-deep); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 1.2rem 2.4rem rgba(0, 0, 0, .12);
  display: none;
}
.submenu a {
  display: block; padding: .5rem 1.2rem; text-decoration: none;
  font-family: var(--display); font-size: .95rem; font-weight: 500; color: var(--muted);
}
.submenu a:hover, .submenu a[aria-current="page"] { color: var(--kaolin); background: var(--soil-2); }
.submenu a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--ochre); }
/* Sans JavaScript : ouverture au survol ou au focus */
html:not(.js) .has-sub:hover > .submenu,
html:not(.js) .has-sub:focus-within > .submenu { display: block; }
.js .has-sub.is-open > .submenu { display: block; }

/* ---------- Structure du contenu ---------- */
main, .footer, .topbar { position: relative; z-index: 1; }
.topbar { z-index: 30; position: sticky; }
.wrap { max-width: 76rem; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-panel {
  background-color: var(--soil-2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Ccircle cx='6' cy='6' r='1.6' fill='%23171213' fill-opacity='.05'/%3E%3Ccircle cx='28' cy='28' r='1.2' fill='%23c62f22' fill-opacity='.08'/%3E%3C/svg%3E");
}
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head p { color: var(--muted); font-size: 1.125rem; }
.prose { max-width: var(--measure); }
.prose p, .prose li { font-size: 1.125rem; line-height: 1.75; }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.8em; }
.prose > :first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--ochre); }
.lead { font-size: 1.25rem; line-height: 1.6; color: var(--kaolin); }
.muted { color: var(--muted); }

.split {
  display: grid; gap: clamp(2rem, 6vw, 6rem);
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start;
}
.split-reverse > :first-child { order: 2; }
.split figure { margin: 0; }
.split figure img { width: 100%; border-radius: var(--radius); object-fit: cover; }
.figure-tall img { aspect-ratio: 3 / 4; }
figcaption { font-family: var(--display); font-size: .85rem; color: var(--muted); margin-top: .7rem; }
.sticky-media { position: sticky; top: 2rem; }

/* ---------- Boutons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3rem;
  padding: .75rem 1.5rem; border-radius: var(--radius);
  font-family: var(--display); font-size: 1rem; font-weight: 600; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn-solid { background: var(--red); color: #fff; }
.btn-solid:hover { background: var(--kaolin); color: var(--soil-deep); }
.btn-line { border-color: var(--line-strong); color: var(--kaolin); background: transparent; }
.btn-line:hover { border-color: var(--kaolin); color: var(--kaolin); }
.link-more { font-family: var(--display); font-weight: 600; color: var(--ochre); text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: .1rem; }
.link-more:hover { color: var(--kaolin); }

/* ---------- Accueil : héro ---------- */
.hero {
  position: relative; min-height: calc(100svh - 4.6rem);
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: end;
  padding: 0 var(--gutter); overflow: hidden;
}
.hero-figure { margin: 0; align-self: end; position: relative; z-index: 1; }
.hero-figure img {
  width: min(100%, 34rem); margin: 0 auto;
  -webkit-mask-image: linear-gradient(to bottom, #000 68%, transparent 98%);
  mask-image: linear-gradient(to bottom, #000 68%, transparent 98%);
}
.hero-text { position: relative; z-index: 2; padding: 3rem 0 clamp(3rem, 9vh, 6rem); margin-left: clamp(-6rem, -6vw, -2rem); }
.hero-title { margin: 0; line-height: .86; }
.hero-title-small {
  display: block; font-weight: 500; font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: .01em;
  margin: 0 0 .6rem .35rem; color: var(--muted);
}
.hero-title-big { display: block; font-size: clamp(4.5rem, 12.5vw, 12.5rem); letter-spacing: -.045em; }
.hero-tagline { font-family: var(--display); font-weight: 500; font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.35; margin: clamp(2rem, 3.6vw, 3.4rem) 0 1rem; max-width: 30rem; }
.hero-body { max-width: 32rem; color: var(--muted); font-size: 1.0625rem; }
.hero-place {
  position: absolute; right: var(--gutter); bottom: 1.6rem; z-index: 2; margin: 0;
  font-family: var(--display); font-size: .85rem; font-weight: 500; color: var(--muted); letter-spacing: .03em;
}

/* ---------- Introduction des pages intérieures ---------- */
.intro {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(2rem, 5vw, 5rem);
  align-items: end; padding: clamp(3rem, 7vw, 5.5rem) var(--gutter) clamp(3rem, 6vw, 5rem);
  max-width: calc(76rem + 2 * var(--gutter)); margin: 0 auto;
}
.intro-noimg { grid-template-columns: minmax(0, 1fr); }
.intro-title { font-size: clamp(2.8rem, 7vw, 6rem); letter-spacing: -.035em; line-height: .95; margin: 0 0 1.5rem; }
.intro-lead { font-size: 1.25rem; line-height: 1.6; max-width: 36rem; color: var(--muted); margin: 0; }
.intro-media { margin: 0; }
.intro-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.crumbs ol { list-style: none; margin: 0 0 1.8rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; font-family: var(--display); font-size: .875rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--line-strong); }
.crumbs a { text-decoration: none; }
.crumbs [aria-current] { color: var(--kaolin); }

/* ---------- Listes éditoriales (plutôt que des cartes) ---------- */
.ledger { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 5vw, 5rem); }
.ledger > li { border-top: 1px solid var(--line-strong); padding: 1.6rem 0 2rem; }
.ledger h3 { margin-bottom: .45rem; }
.ledger p { color: var(--muted); margin: 0; }
.ledger .link-more { display: inline-block; margin-top: .9rem; font-size: .95rem; }
.ledger-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Formules : la durée est l'information la plus lisible */
.stays { list-style: none; margin: 0; padding: 0; }
.stay {
  display: grid; grid-template-columns: 13rem minmax(0, 1fr) auto; gap: 1rem 2.5rem; align-items: baseline;
  border-top: 1px solid var(--line-strong); padding: 1.5rem 0;
}
.stays > .stay:last-child { border-bottom: 1px solid var(--line-strong); }
.stay-duration { font-family: var(--display); font-weight: 700; font-size: 1.6rem; color: var(--ochre); line-height: 1.1; letter-spacing: -.01em; }
.stay h3 { margin: 0 0 .25rem; }
.stay p { margin: 0; color: var(--muted); }
.stay .link-more { font-size: .9rem; white-space: nowrap; }

/* États (existant / projeté) */
.status {
  display: inline-block; font-family: var(--display); font-size: .78rem; font-weight: 600; letter-spacing: .02em;
  padding: .12rem .6rem; border-radius: 999px; border: 1px solid currentColor; line-height: 1.5; white-space: nowrap;
  vertical-align: .2em;
}
.status.is-existing { color: var(--soil); background: var(--kaolin); border-color: var(--kaolin); }
.status.is-progress { color: var(--ochre); }
.status.is-planned { color: var(--muted); }
.components { list-style: none; margin: 0; padding: 0; }
.components li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .3rem 1.5rem; border-top: 1px solid var(--line); padding: 1.2rem 0; }
.components h3 { font-size: 1.15rem; margin: 0; }
.components p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 1rem; }

/* Tableaux de données */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 1rem; }
caption { text-align: left; font-family: var(--display); color: var(--muted); font-size: .9rem; padding-bottom: .8rem; }
th, td { text-align: left; vertical-align: top; padding: .95rem 1.2rem .95rem 0; border-top: 1px solid var(--line); }
thead th { font-family: var(--display); font-size: .875rem; font-weight: 600; color: var(--muted); border-top: 0; padding-top: 0; }
tbody th { font-family: var(--display); font-weight: 600; font-size: 1.05rem; white-space: nowrap; }
td.num { font-family: var(--display); color: var(--muted); width: 3rem; }
.pending { color: var(--muted); font-style: italic; }

/* Bandeau photo pleine largeur */
.band { position: relative; min-height: clamp(26rem, 70vh, 42rem); display: grid; align-items: end; overflow: hidden; }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 10, 10, .92) 8%, rgba(10, 10, 10, .15) 60%); }
.band-text { position: relative; z-index: 1; padding: 0 var(--gutter) clamp(2.5rem, 6vw, 4.5rem); max-width: 60rem; }
.band blockquote { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(1.9rem, 4.2vw, 3.4rem); line-height: 1.08; letter-spacing: -.02em; }
.band p { font-family: var(--display); color: var(--muted); margin: 1rem 0 0; }

/* Galerie photo */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.gallery .wide { grid-column: span 2; }
.gallery .wide img { aspect-ratio: 3 / 2; }

/* Encadré d'avertissement */
.notice {
  border-left: 3px solid var(--tukula); background: var(--soil-2);
  padding: 1.3rem 1.5rem; border-radius: 0 var(--radius) var(--radius) 0; max-width: 46rem;
}
.notice p { margin: 0; }
.notice p + p { margin-top: .6rem; }
.notice-title { font-family: var(--display); font-weight: 600; color: var(--kaolin); }
.notice-soft { border-left-color: var(--ochre); }

/* Parcours (réellement séquentiels) */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps > li { counter-increment: step; display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 1.2rem; padding: 1.3rem 0; border-top: 1px solid var(--line); }
.steps > li::before { content: "Jour " counter(step); font-family: var(--display); font-weight: 600; color: var(--ochre); font-size: .95rem; padding-top: .2rem; }
.steps.steps-plain > li::before { content: counter(step); font-size: 1.4rem; font-weight: 700; padding-top: 0; }
.steps h3 { font-size: 1.15rem; margin: 0 0 .25rem; }
.steps p { margin: 0; color: var(--muted); }

/* FAQ */
.faq { max-width: 50rem; }
.faq details { border-top: 1px solid var(--line-strong); }
.faq details:last-child { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.35rem 3rem 1.35rem 0; position: relative;
  font-family: var(--display); font-weight: 600; font-size: 1.2rem; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .4rem; top: 1.75rem; width: .6rem; height: .6rem;
  border-right: 2px solid var(--ochre); border-bottom: 2px solid var(--ochre); transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(225deg); top: 2rem; }
.faq summary:hover { color: var(--ochre); }
.faq details > div { padding: 0 0 1.5rem; max-width: var(--measure); }
.faq details p { color: var(--muted); font-size: 1.0625rem; margin: 0; }

/* Collège des Ngangas */
.ngangas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 0 2.5rem; }
.ngangas li { border-top: 1px solid var(--line-strong); padding: 1.2rem 0 1.4rem; }
.ngangas .kombo { display: block; font-family: var(--display); font-weight: 700; font-size: 1.35rem; color: var(--ochre); line-height: 1.2; }
.ngangas .kombo.pending { color: var(--muted); font-weight: 500; font-size: 1rem; font-style: italic; font-family: var(--text); }
.ngangas .civil { display: block; font-family: var(--display); font-size: .95rem; color: var(--kaolin); margin-top: .35rem; letter-spacing: .02em; }

/* ---------- Formulaires ---------- */
.form { max-width: 46rem; }
.form fieldset { border: 0; margin: 0 0 2.5rem; padding: 0; min-width: 0; }
.form legend { font-family: var(--display); font-weight: 700; font-size: 1.6rem; margin-bottom: .6rem; padding: 0; }
.fieldset-intro { color: var(--muted); margin-bottom: 1.6rem; }
.field { margin-bottom: 1.4rem; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.2rem; }
label, .label { display: block; font-family: var(--display); font-weight: 600; font-size: .98rem; margin-bottom: .45rem; }
.optional { font-weight: 400; color: var(--muted); }
.hint { display: block; font-size: .92rem; color: var(--muted); margin: -.2rem 0 .5rem; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--kaolin);
  background: var(--soil-deep); border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: .8rem .95rem; min-height: 3rem;
}
textarea { min-height: 9rem; resize: vertical; line-height: 1.55; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ochre) 50%), linear-gradient(135deg, var(--ochre) 50%, transparent 50%); background-position: calc(100% - 1.2rem) 1.3rem, calc(100% - .85rem) 1.3rem; background-size: .35rem .35rem; background-repeat: no-repeat; padding-right: 2.5rem; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--ochre); outline-offset: 1px; border-color: transparent; }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--tukula); }
.error-text { display: block; color: #a3231a; font-size: .92rem; margin-top: .35rem; font-family: var(--display); }
.choices { display: grid; gap: .55rem; }
.choice { display: flex; gap: .7rem; align-items: flex-start; font-family: var(--text); font-weight: 400; font-size: 1.02rem; margin: 0; cursor: pointer; }
.choice input { width: 1.2rem; height: 1.2rem; margin: .28rem 0 0; accent-color: var(--ochre); flex: none; }
.form-actions { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; margin-top: 1rem; }
.form-actions .btn { min-width: 10rem; }
.form-note { font-size: .95rem; color: var(--muted); max-width: 40rem; }

.alert { border-radius: var(--radius); padding: 1.1rem 1.3rem; margin-bottom: 2rem; max-width: 46rem; border: 1px solid; }
.alert p { margin: 0; }
.alert-success { border-color: var(--kaolin); background: rgba(0, 0, 0, .05); }
.alert-error { border-color: var(--tukula); background: rgba(0, 0, 0, .04); }
.alert ul { margin: .5rem 0 0; padding-left: 1.2rem; }
.alert a { color: var(--kaolin); }

/* Étapes du formulaire de séjour (améliorées par JavaScript) */
.stepper { list-style: none; margin: 0 0 2.5rem; padding: 0; display: none; gap: .4rem; border-bottom: 1px solid var(--line-strong); }
.js .stepper { display: flex; flex-wrap: wrap; }
.stepper button {
  font-family: var(--display); font-size: .98rem; font-weight: 600; color: var(--muted);
  background: none; border: 0; padding: .8rem .2rem; margin-right: 1.4rem; cursor: pointer; position: relative;
}
.stepper button[aria-selected="true"] { color: var(--kaolin); }
.stepper button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--ochre); border-radius: 2px; }
.stepper .step-n { color: var(--ochre); margin-right: .35rem; }
.js .form-step[hidden] { display: none; }
.step-nav { display: none; gap: .9rem; margin-top: .5rem; }
.js .step-nav { display: flex; }
.js .form-submit-block { display: none; }
.js .form-step.is-last .form-submit-block { display: block; }

/* Récapitulatif contact */
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 1rem 0; border-top: 1px solid var(--line); }
.contact-list .label { color: var(--muted); font-weight: 500; font-size: .9rem; margin: 0 0 .15rem; }

/* ---------- Appel à l'action ---------- */
.cta {
  display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 1.5rem 3rem; align-items: center;
  padding: clamp(3.5rem, 7vw, 5.5rem) var(--gutter); border-top: 1px solid var(--line);
  max-width: calc(76rem + 2 * var(--gutter)); margin: 0 auto;
}
.cta-text { font-family: var(--display); font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.15; letter-spacing: -.015em; margin: 0; max-width: 34rem; }
.cta .actions { margin-top: 0; }

/* ---------- Pied de page ---------- */
.footer { background: var(--soil-deep); padding: clamp(3.5rem, 6vw, 5rem) var(--gutter) 2rem; border-top: 1px solid var(--line); font-size: .98rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2.5rem; max-width: 76rem; margin: 0 auto; }
.footer-name { font-family: var(--display); font-weight: 700; font-size: 1.5rem; margin-bottom: .6rem; }
.footer p, .footer address { color: var(--muted); font-style: normal; }
.footer-col-title { font-family: var(--display); font-weight: 600; color: var(--kaolin) !important; margin-bottom: .8rem; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .45rem; }
.footer a { text-decoration: none; color: var(--muted); }
.footer a:hover { color: var(--ochre); }
.footer-note { max-width: 76rem; margin: 3rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .92rem; }
.footer-base { max-width: 76rem; margin: 1.2rem auto 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-family: var(--display); font-size: .875rem; }
.footer-base p { margin: 0; }
.footer-base ul { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.social { display: flex !important; gap: 1rem; margin-top: 1.2rem !important; }
.social a { display: inline-flex; padding: .3rem; }


/* ==========================================================================
   Carrousels
   ========================================================================== */
.section-slider { padding-bottom: clamp(3rem, 6vw, 5rem); }
.section-slider .section-head { margin-bottom: 2rem; }
.slider { --h: clamp(17rem, 44vh, 27rem); position: relative; }
.slider-cinema { --h: clamp(22rem, 70vh, 40rem); }
.slider-track {
  --pad: max(var(--gutter), calc((100% - 76rem) / 2 + var(--gutter)));
  position: relative; display: flex; gap: clamp(.75rem, 1.6vw, 1.25rem);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad);
  padding: 0 var(--pad) .5rem; scrollbar-width: none;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-track:focus-visible { outline-offset: -2px; }
.slide { margin: 0; flex: none; scroll-snap-align: start; }
.slider.is-enhanced .slide { scroll-snap-align: center; }
.slider.is-enhanced .slide figcaption { margin-left: auto; margin-right: auto; text-align: center; }
.slide img {
  height: var(--h); width: auto; max-width: min(86vw, 60rem);
  object-fit: cover; border-radius: var(--radius);
  transition: opacity .6s ease, filter .6s ease;
}
.slide figcaption { font-family: var(--text); font-style: italic; font-size: .98rem; color: var(--muted); margin-top: .8rem; max-width: 22rem; }
.slider.is-enhanced .slide:not(.is-current) img { opacity: .45; filter: saturate(.6); }
.slider.is-enhanced .slide:not(.is-current) figcaption { opacity: .4; }
.slider.is-enhanced .slide img:hover { opacity: 1; filter: none; }

.slider-controls {
  display: none; align-items: center; gap: .9rem;
  padding: 1.4rem max(var(--gutter), calc((100% - 76rem) / 2 + var(--gutter))) 0;
}
.slider.is-enhanced .slider-controls { display: flex; }
.slider-btn {
  width: 3rem; height: 3rem; border-radius: 50%; display: inline-grid; place-items: center;
  background: transparent; color: var(--kaolin); border: 1.5px solid var(--line-strong); cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.slider-btn:hover { border-color: var(--ochre); color: var(--ochre); }
.chev { width: .6rem; height: .6rem; border-top: 2px solid currentColor; border-right: 2px solid currentColor; display: block; }
.chev-right { transform: translateX(-2px) rotate(45deg); }
.chev-left { transform: translateX(2px) rotate(-135deg); }
.slider-count { margin: 0; font-family: var(--display); font-weight: 600; font-size: .95rem; color: var(--muted); min-width: 3.5rem; text-align: center; font-variant-numeric: tabular-nums; }
.slider-current { color: var(--kaolin); }
.slider-pause {
  margin-left: auto; background: none; border: 0; color: var(--muted); cursor: pointer;
  font-family: var(--display); font-size: .9rem; font-weight: 500; text-decoration: underline; text-underline-offset: .25em; padding: .5rem 0;
}
.slider-pause:hover { color: var(--kaolin); }

/* ==========================================================================
   Touche spirituelle : feu de la veillée, kaolin, rouge et noir
   ========================================================================== */

/* Motif de trois points : kaolin, tukula, nuit */
.motif { display: flex; gap: .55rem; align-items: center; margin: 0 0 1.8rem; }
.motif span { width: .55rem; height: .55rem; border-radius: 50%; display: block; }
.motif span:nth-child(1) { background: #fff; box-shadow: 0 0 0 1.5px #141414; }
.motif span:nth-child(2) { background: var(--tukula); }
.motif span:nth-child(3) { background: #141414; }
.motif-center { justify-content: center; }

/* Lueur du feu derrière le nganga, qui respire lentement */
.hero-figure::before {
  content: ""; position: absolute; left: 50%; bottom: 8%; width: 115%; aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0, 0, 0, .07) 0%, rgba(0, 0, 0, .025) 40%, rgba(241, 241, 241, 0) 68%);
  z-index: -1; pointer-events: none;
}
.hero-figure img { position: relative; }

/* Braises qui montent */
.embers { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.embers span {
  position: absolute; bottom: -1rem; width: 4px; height: 4px; border-radius: 50%;
  background: #e0372a; box-shadow: 0 0 8px 2px rgba(214, 52, 38, .7); opacity: 0;
}
.embers span:nth-child(1) { left: 12%; }
.embers span:nth-child(2) { left: 22%; width: 3px; height: 3px; }
.embers span:nth-child(3) { left: 31%; }
.embers span:nth-child(4) { left: 38%; width: 2px; height: 2px; }
.embers span:nth-child(5) { left: 46%; }
.embers span:nth-child(6) { left: 18%; width: 2px; height: 2px; }
.embers span:nth-child(7) { left: 27%; width: 3px; height: 3px; }
.embers span:nth-child(8) { left: 42%; }
.embers span:nth-child(9) { left: 8%; width: 3px; height: 3px; }
.embers span:nth-child(10) { left: 35%; width: 2px; height: 2px; }

/* La voie : section de recueillement */
.voie {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(5rem, 11vw, 9rem) var(--gutter);
  background:
    radial-gradient(60rem 26rem at 50% 115%, rgba(214, 52, 38, .16), transparent 70%),
    var(--soil-deep);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.voie-inner { max-width: 50rem; margin: 0 auto; }
.voie h2 { font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -.025em; }
.voie-lead { font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.65; color: var(--muted); max-width: 40rem; margin: 0 auto; }
.voie-words { list-style: none; margin: clamp(3rem, 6vw, 4.5rem) auto 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; max-width: 64rem; }
.voie-words li { position: relative; padding-top: 1.8rem; }
.voie-words li::before {
  content: ""; position: absolute; top: 0; left: 50%; width: .5rem; height: .5rem; border-radius: 50%;
  transform: translateX(-50%); background: var(--kaolin); box-shadow: 0 0 18px 4px rgba(244, 244, 244, .25);
}
.voie-words li:nth-child(2)::before { background: var(--tukula); box-shadow: 0 0 18px 4px rgba(170, 28, 20, .35); }
.voie-words li:nth-child(3)::before { background: #0a0a0a; box-shadow: 0 0 0 1.5px rgba(244, 244, 244, .6), 0 0 18px 4px rgba(244, 244, 244, .12); }
.voie-word { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -.01em; margin-bottom: .6rem; }
.voie-words p { color: var(--muted); font-size: 1.02rem; margin: 0; }

/* Phrase de passage, en italique, entre deux sections */
.whisper {
  font-family: var(--text); font-style: italic; font-size: clamp(1.35rem, 2.6vw, 2rem); line-height: 1.45;
  text-align: center; color: var(--kaolin); max-width: 40rem; margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6rem) var(--gutter);
}
.whisper::before, .whisper::after { content: ""; display: block; width: 1px; height: 2.5rem; margin: 0 auto 1.4rem; background: linear-gradient(transparent, var(--ochre)); }
.whisper::after { margin: 1.4rem auto 0; background: linear-gradient(var(--ochre), transparent); }

/* Lueur de feu sur les introductions de page */
.intro { position: relative; }
.intro::before {
  content: ""; position: absolute; right: 0; top: 10%; width: 45rem; height: 30rem; max-width: 70%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .04), transparent);
  pointer-events: none; z-index: -1;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-figure::before { animation: breathe 7s ease-in-out infinite; }
  .embers span { animation: ember 11s linear infinite; }
  .embers span:nth-child(2) { animation-duration: 14s; animation-delay: 2s; }
  .embers span:nth-child(3) { animation-duration: 9s; animation-delay: 4s; }
  .embers span:nth-child(4) { animation-duration: 13s; animation-delay: 1s; }
  .embers span:nth-child(5) { animation-duration: 10s; animation-delay: 6s; }
  .embers span:nth-child(6) { animation-duration: 15s; animation-delay: 3s; }
  .embers span:nth-child(7) { animation-duration: 12s; animation-delay: 7s; }
  .embers span:nth-child(8) { animation-duration: 16s; animation-delay: 5s; }
  .embers span:nth-child(9) { animation-duration: 12s; animation-delay: 8s; }
  .embers span:nth-child(10) { animation-duration: 10s; animation-delay: 9s; }
  @keyframes breathe { 0%, 100% { opacity: .75; transform: translateX(-50%) scale(1); } 50% { opacity: 1; transform: translateX(-50%) scale(1.06); } }
  @keyframes ember {
    0% { transform: translate(0, 0); opacity: 0; }
    10% { opacity: .9; }
    50% { transform: translate(18px, -45vh); }
    80% { opacity: .5; }
    100% { transform: translate(-10px, -90vh); opacity: 0; }
  }
}

@media (max-width: 900px) {
  .voie-words { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .slider { --h: clamp(16rem, 52vh, 24rem); }
  .slider-cinema { --h: clamp(20rem, 62vh, 30rem); }
  .embers span:nth-child(n+6) { display: none; }
}


/* ==========================================================================
   Ambiance : le village vit (feu, braises, lumière qui suit le regard)
   ========================================================================== */
.ambiance { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.ambiance-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(38rem 38rem at var(--mx, 70%) var(--my, 30%), rgba(0, 0, 0, .025), transparent 70%),
    radial-gradient(70rem 30rem at 50% 118%, rgba(0, 0, 0, .04), transparent 72%),
    radial-gradient(40rem 25rem at 0% 100%, rgba(0, 0, 0, .03), transparent 70%);
  transition: background-position .3s ease;
}
.embers-global span { box-shadow: 0 0 6px 1px rgba(214, 52, 38, .55); background: #e0372a; }

/* Séparateur entre sections : les trois points posés sur la ligne */
.section + .section { position: relative; }
.section + .section::before {
  content: ""; position: absolute; top: -4px; left: 50%; transform: translateX(-50%);
  width: 3.4rem; height: 8px;
  background:
    radial-gradient(circle 4px at 4px 4px, #141414 60%, transparent 66%) 0 0 / 8px 8px no-repeat,
    radial-gradient(circle 4px at 4px 4px, var(--tukula) 98%, transparent) 50% 0 / 8px 8px no-repeat,
    radial-gradient(circle 4px at 4px 4px, #141414 98%, transparent) 100% 0 / 8px 8px no-repeat;
}

/* Parole d'accueil sous le titre des pages */
.intro-parole {
  font-family: var(--text); font-style: italic; font-size: clamp(1.15rem, 1.7vw, 1.35rem); line-height: 1.55;
  color: var(--kaolin); max-width: 34rem; margin: 1.8rem 0 0; padding-left: 1.2rem;
  border-left: 2px solid var(--ochre);
}
.intro-title { text-shadow: none; }

/* Mot de fin, sur toutes les pages */
.closing {
  text-align: center; padding: clamp(4rem, 9vw, 7rem) var(--gutter);
  background: radial-gradient(50rem 22rem at 50% 110%, rgba(214, 52, 38, .2), transparent 70%);
  border-top: 1px solid var(--line);
}
.closing-text { font-family: var(--text); font-style: italic; font-size: clamp(1.4rem, 2.8vw, 2.1rem); line-height: 1.45; max-width: 38rem; margin: 0 auto; }
.closing-sign { font-family: var(--display); font-weight: 600; color: var(--ochre); margin: 1.4rem 0 0; letter-spacing: .04em; }

/* Les points s'allument quand on arrive sur la section */
.js .motif span { transform: scale(0); opacity: 0; transition: transform .7s cubic-bezier(.2, .8, .2, 1.3), opacity .7s ease, box-shadow 1.2s ease; }
.js .motif span:nth-child(2) { transition-delay: .18s; }
.js .motif span:nth-child(3) { transition-delay: .36s; }
.js .motif.is-lit span { transform: none; opacity: 1; }
.js .motif.is-lit span:nth-child(1) { box-shadow: 0 0 0 1.5px #141414; }
.js .motif.is-lit span:nth-child(2) { box-shadow: 0 0 14px 3px rgba(170, 28, 20, .45); }

/* Les images s'éclairent lentement, comme à la lueur du feu */
.split figure img, .intro-media img { filter: saturate(.92) brightness(.94); transition: filter 1.2s ease; }
.split figure:hover img, .intro-media:hover img { filter: none; }

@media (prefers-reduced-motion: no-preference) {
  .embers-global span { animation: ember-global 18s linear infinite; }
  .embers-global span:nth-child(1) { left: 6%;  animation-delay: 0s; }
  .embers-global span:nth-child(2) { left: 17%; animation-delay: 5s;  animation-duration: 22s; }
  .embers-global span:nth-child(3) { left: 29%; animation-delay: 9s; }
  .embers-global span:nth-child(4) { left: 41%; animation-delay: 2s;  animation-duration: 25s; }
  .embers-global span:nth-child(5) { left: 53%; animation-delay: 12s; }
  .embers-global span:nth-child(6) { left: 64%; animation-delay: 7s;  animation-duration: 21s; }
  .embers-global span:nth-child(7) { left: 73%; animation-delay: 15s; }
  .embers-global span:nth-child(8) { left: 82%; animation-delay: 4s;  animation-duration: 24s; }
  .embers-global span:nth-child(9) { left: 90%; animation-delay: 11s; }
  .embers-global span:nth-child(10) { left: 97%; animation-delay: 17s; animation-duration: 20s; }
  @keyframes ember-global {
    0% { transform: translate(0, 0); opacity: 0; }
    8% { opacity: .75; }
    45% { transform: translate(24px, -48vh); opacity: .55; }
    100% { transform: translate(-16px, -105vh); opacity: 0; }
  }
  .intro-title { animation: kindle 1.4s ease both; }
  @keyframes kindle { from { opacity: 0; text-shadow: 0 0 0 rgba(214, 52, 38, 0); } to { opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) {
  .js .motif span { transform: none; opacity: 1; }
  .embers { display: none; }
}


/* ==========================================================================
   Génies de la forêt, de la terre, de l'eau et de l'air ; feux follets
   ========================================================================== */
/* Air : une brume qui passe */
.spirit-mist {
  position: absolute; top: 18%; left: -40%; width: 80%; height: 32vh; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .025), transparent);
  filter: blur(20px);
}
/* Terre : un souffle rouge qui respire au ras du sol */
.spirit-earth {
  position: absolute; left: 50%; bottom: -14vh; width: 90vw; height: 30vh; transform: translateX(-50%);
  border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .06), transparent);
  filter: blur(10px);
}
/* Eau : des ondes qui s'élargissent */
.spirit-water { position: absolute; width: 16rem; height: 6rem; }
.water-1 { left: 6%; bottom: 14%; }
.water-2 { right: 8%; top: 48%; width: 11rem; height: 4rem; }
.spirit-water span {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, .14); opacity: 0; transform: scale(.1);
}
/* Forêt : des feuilles qui tombent en tournoyant */
.spirit-leaves .leaf { position: absolute; top: -8vh; opacity: 0; color: rgba(20, 20, 20, .28); }
.leaf-1 { left: 14%; } .leaf-2 { left: 48%; color: rgba(214, 52, 38, .3); } .leaf-3 { left: 71%; } .leaf-4 { left: 88%; color: rgba(180, 40, 30, .35); }

/* Feux follets : petites lumières errantes, au-dessus du contenu mais discrètes */
.wisps { position: fixed; inset: 0; z-index: 5; pointer-events: none; overflow: hidden; }
.wisp { position: absolute; width: 7px; height: 7px; }
.wisp::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: #e5503f;
  box-shadow: 0 0 6px 2px rgba(214, 52, 38, .55), 0 0 22px 8px rgba(214, 52, 38, .18), 0 0 60px 20px rgba(214, 52, 38, .06);
  opacity: 0;
}
.wisp-1 { left: 12%; top: 70%; }
.wisp-2 { left: 78%; top: 30%; width: 5px; height: 5px; }
.wisp-3 { left: 45%; top: 85%; }
.wisp-4 { left: 90%; top: 75%; width: 4px; height: 4px; }
.wisp-3::before { background: #141414; box-shadow: 0 0 6px 2px rgba(0, 0, 0, .35), 0 0 24px 8px rgba(0, 0, 0, .1); }

@media (prefers-reduced-motion: no-preference) {
  .spirit-mist { animation: mist 70s linear infinite; }
  .spirit-earth { animation: earth 12s ease-in-out infinite; }
  .spirit-water span { animation: ripple 9s ease-out infinite; }
  .spirit-water span:nth-child(2) { animation-delay: 1.4s; }
  .spirit-water span:nth-child(3) { animation-delay: 2.8s; }
  .water-2 span { animation-duration: 11s; animation-delay: 4s; }
  .water-2 span:nth-child(2) { animation-delay: 5.4s; }
  .water-2 span:nth-child(3) { animation-delay: 6.8s; }
  .spirit-leaves .leaf { animation: leaf-fall 26s linear infinite; }
  .leaf-1 { animation-delay: 3s !important; }
  .leaf-2 { animation-duration: 32s !important; animation-delay: 14s !important; }
  .leaf-3 { animation-duration: 29s !important; animation-delay: 22s !important; }
  .leaf-4 { animation-duration: 35s !important; animation-delay: 8s !important; }
  .wisp { animation: wander-1 38s ease-in-out infinite; }
  .wisp::before { animation: flicker 4.2s ease-in-out infinite; }
  .wisp-2 { animation-name: wander-2; animation-duration: 46s; }
  .wisp-2::before { animation-duration: 5.5s; animation-delay: 1s; }
  .wisp-3 { animation-name: wander-3; animation-duration: 52s; }
  .wisp-3::before { animation-duration: 3.6s; animation-delay: 2s; }
  .wisp-4 { animation-name: wander-2; animation-duration: 60s; animation-direction: reverse; }
  .wisp-4::before { animation-duration: 6s; }

  @keyframes mist { from { transform: translateX(0); } to { transform: translateX(190vw); } }
  @keyframes earth { 0%, 100% { opacity: .6; transform: translateX(-50%) scaleX(1); } 50% { opacity: 1; transform: translateX(-50%) scaleX(1.12); } }
  @keyframes ripple { 0% { opacity: 0; transform: scale(.1); } 15% { opacity: 1; } 100% { opacity: 0; transform: scale(1.3); } }
  @keyframes leaf-fall {
    0% { transform: translate(0, 0) rotate(0); opacity: 0; }
    6% { opacity: 1; }
    25% { transform: translate(40px, 28vh) rotate(80deg); }
    50% { transform: translate(-30px, 56vh) rotate(170deg); }
    75% { transform: translate(35px, 84vh) rotate(260deg); opacity: .8; }
    100% { transform: translate(-10px, 115vh) rotate(340deg); opacity: 0; }
  }
  @keyframes flicker { 0%, 100% { opacity: 0; } 20% { opacity: .9; } 35% { opacity: .5; } 55% { opacity: 1; } 80% { opacity: .35; } }
  @keyframes wander-1 {
    0% { transform: translate(0, 0); } 20% { transform: translate(18vw, -22vh); } 40% { transform: translate(8vw, -48vh); }
    60% { transform: translate(34vw, -30vh); } 80% { transform: translate(12vw, -8vh); } 100% { transform: translate(0, 0); }
  }
  @keyframes wander-2 {
    0% { transform: translate(0, 0); } 25% { transform: translate(-22vw, 14vh); } 50% { transform: translate(-40vw, -6vh); }
    75% { transform: translate(-16vw, 30vh); } 100% { transform: translate(0, 0); }
  }
  @keyframes wander-3 {
    0% { transform: translate(0, 0); } 30% { transform: translate(-14vw, -40vh); } 55% { transform: translate(20vw, -62vh); }
    80% { transform: translate(6vw, -18vh); } 100% { transform: translate(0, 0); }
  }
}
@media (prefers-reduced-motion: reduce) {
  .wisps, .spirit-leaves, .spirit-water, .spirit-mist { display: none; }
}
@media (max-width: 900px) {
  .wisp-3, .wisp-4, .leaf-3, .leaf-4, .water-2 { display: none; }
}

/* ==========================================================================
   Galerie (lightbox) : la photo s'allume comme à la lueur du feu
   ========================================================================== */
.is-zoomable { cursor: zoom-in; }
.lb-open, .lb-open body { overflow: hidden; }
.lightbox {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; color: var(--kaolin); overflow: hidden;
  background: radial-gradient(80rem 40rem at 50% 115%, rgba(214, 52, 38, .28), transparent 70%), #0a0a0a;
  display: none; grid-template-rows: 1fr auto;
}
.lightbox[open] { display: grid; }
.lightbox::backdrop { background: rgba(10, 10, 10, .92); }
.lb-fire {
  position: absolute; left: 50%; bottom: -30vh; width: 120vw; height: 60vh; transform: translateX(-50%);
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(214, 52, 38, .35), rgba(170, 28, 20, .12) 55%, transparent);
  filter: blur(8px);
}
.lb-wisps { position: absolute; inset: 0; pointer-events: none; }
.lb-wisps span {
  position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #ffffff;
  box-shadow: 0 0 8px 3px rgba(255, 255, 255, .75), 0 0 30px 10px rgba(255, 255, 255, .25);
  top: 50%; left: 50%; opacity: .8;
}
.lb-wisps span:nth-child(odd) { background: #ffffff; box-shadow: 0 0 8px 3px rgba(214, 52, 38, .8), 0 0 30px 10px rgba(214, 52, 38, .3); }
.lb-stage { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: 4.5rem clamp(.5rem, 3vw, 2.5rem) 1rem; min-height: 0; }
.lb-figure { margin: 0; display: grid; justify-items: center; align-content: center; min-height: 0; height: 100%; overflow: hidden; }
.lb-img {
  max-width: 100%; max-height: calc(100svh - 14rem); width: auto; height: auto; object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px rgba(244, 244, 244, .08), 0 2rem 5rem rgba(0, 0, 0, .6), 0 0 90px rgba(214, 52, 38, .18);
}
.lb-caption { font-family: var(--text); font-style: italic; font-size: 1.1rem; color: var(--kaolin); text-align: center; margin-top: 1rem; max-width: 40rem; }
.lb-nav {
  width: 3.4rem; height: 3.4rem; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: rgba(17, 17, 17, .6); color: var(--kaolin); border: 1.5px solid var(--line-strong);
  transition: border-color .2s ease, color .2s ease, box-shadow .3s ease;
}
.lb-nav:hover { border-color: var(--ochre); color: var(--ochre); box-shadow: 0 0 24px rgba(214, 52, 38, .4); }
.lb-close {
  position: absolute; top: 1rem; right: 1rem; z-index: 2; display: inline-flex; align-items: center; gap: .6rem;
  background: rgba(17, 17, 17, .6); color: var(--kaolin); border: 1.5px solid var(--line-strong); border-radius: 999px;
  padding: .55rem 1rem; font-family: var(--display); font-weight: 600; font-size: .95rem; cursor: pointer; min-height: 2.75rem;
}
.lb-close:hover { border-color: var(--ochre); color: var(--ochre); }
.lb-x { position: relative; width: .9rem; height: .9rem; }
.lb-x::before, .lb-x::after { content: ""; position: absolute; left: 50%; top: 0; width: 2px; height: 100%; background: currentColor; }
.lb-x::before { transform: rotate(45deg); } .lb-x::after { transform: rotate(-45deg); }
.lb-bottom { position: relative; padding: 0 1rem 1.2rem; display: grid; justify-items: center; gap: .7rem; }
.lb-count { margin: 0; font-family: var(--display); font-weight: 600; color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; }
.lb-thumbs { display: flex; gap: .5rem; overflow-x: auto; max-width: min(100%, 60rem); padding: .3rem; scrollbar-width: none; }
.lb-thumbs::-webkit-scrollbar { display: none; }
.lb-thumb { flex: none; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 3px; opacity: .45; transition: opacity .3s ease, box-shadow .3s ease; }
.lb-thumb img { width: 3.2rem; height: 3.2rem; object-fit: cover; border-radius: 3px; display: block; }
.lb-thumb:hover { opacity: .85; }
.lb-thumb.is-current { opacity: 1; box-shadow: 0 0 0 2px var(--ochre), 0 0 18px rgba(214, 52, 38, .55); }

@media (prefers-reduced-motion: no-preference) {
  .lightbox.is-kindled .lb-img { animation: lb-kindle 1.1s cubic-bezier(.2, .7, .2, 1) both; }
  .lightbox.is-kindled .lb-caption { animation: lb-caption 1.2s .35s ease both; }
  .lb-fire { animation: lb-fire 5s ease-in-out infinite; }
  .lb-wisps span { animation: orbit 14s linear infinite; }
  .lb-wisps span:nth-child(1) { --r: 38vmin; animation-duration: 16s; }
  .lb-wisps span:nth-child(2) { --r: 44vmin; animation-duration: 21s; animation-direction: reverse; }
  .lb-wisps span:nth-child(3) { --r: 32vmin; animation-duration: 13s; animation-delay: -5s; }
  .lb-wisps span:nth-child(4) { --r: 48vmin; animation-duration: 26s; animation-delay: -9s; }
  .lb-wisps span:nth-child(5) { --r: 36vmin; animation-duration: 18s; animation-delay: -12s; animation-direction: reverse; }
  .lb-wisps span:nth-child(6) { --r: 42vmin; animation-duration: 23s; animation-delay: -3s; }
  @keyframes lb-kindle {
    0% { opacity: 0; filter: brightness(.2) sepia(1) blur(8px); transform: scale(.97); }
    45% { opacity: 1; filter: brightness(.8) sepia(.5) blur(2px); }
    100% { opacity: 1; filter: none; transform: none; }
  }
  @keyframes lb-caption { from { opacity: 0; letter-spacing: .06em; } to { opacity: 1; letter-spacing: 0; } }
  @keyframes lb-fire { 0%, 100% { opacity: .75; transform: translateX(-50%) scale(1); } 50% { opacity: 1; transform: translateX(-50%) scale(1.07, 1.12); } }
  @keyframes orbit {
    0% { transform: rotate(0deg) translateX(var(--r)) scale(1); opacity: .2; }
    25% { opacity: .9; transform: rotate(90deg) translateX(calc(var(--r) * 1.1)) scale(1.3); }
    50% { opacity: .4; transform: rotate(180deg) translateX(calc(var(--r) * .9)) scale(.8); }
    75% { opacity: 1; transform: rotate(270deg) translateX(var(--r)) scale(1.2); }
    100% { transform: rotate(360deg) translateX(var(--r)) scale(1); opacity: .2; }
  }
}
@media (max-width: 700px) {
  .lb-stage { grid-template-columns: minmax(0, 1fr); padding-top: 4.2rem; }
  .lb-nav { display: none; }
  .lb-figure { align-content: start; }
  .lb-img { max-height: calc(100svh - 19rem); }
  .lb-caption { font-size: 1rem; }
}


/* Sections sombres de rythme */
.college-home { background: radial-gradient(50rem 26rem at 50% 115%, rgba(214, 52, 38, .22), transparent 70%), #111111; color: var(--kaolin); }
.college-home .btn-line { border-color: rgba(244, 244, 244, .4); }

/* ==========================================================================
   Collège des Ngangas : la racine et les portraits
   ========================================================================== */
.racine {
  background:
    radial-gradient(40rem 30rem at 22% 60%, rgba(214, 52, 38, .16), transparent 70%),
    radial-gradient(30rem 20rem at 80% 100%, rgba(170, 28, 20, .14), transparent 70%),
    #111111;
}
.racine-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.racine-photo { margin: 0; position: relative; }
.racine-photo::before {
  content: ""; position: absolute; inset: -8%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(214, 52, 38, .35), transparent);
}
.racine-photo img {
  width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 999px 999px var(--radius) var(--radius);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .12), 0 1.5rem 3rem rgba(0, 0, 0, .12);
  filter: none;
}
.racine-kicker { font-family: var(--display); font-weight: 600; color: var(--ochre); letter-spacing: .08em; margin: 0 0 .4rem; }
.racine-kombo { font-size: clamp(3.4rem, 8vw, 6.5rem); letter-spacing: -.04em; line-height: .9; margin: 0; text-shadow: none; }
.racine-kombo2 { font-family: var(--text); font-style: italic; font-size: 1.45rem; color: var(--ochre); margin: .6rem 0 1.4rem; }
.racine-civil { font-family: var(--display); font-weight: 600; font-size: 1.1rem; letter-spacing: .03em; margin-bottom: .4rem; }
.racine-role { font-size: 1.25rem; line-height: 1.55; max-width: 32rem; border-left: 2px solid var(--ochre); padding-left: 1.2rem; margin: 1.4rem 0; }
.racine-second { margin: 1.6rem 0 0; }
.racine-second img { width: 7.5rem; height: 7.5rem; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 2px var(--ochre), 0 0 24px rgba(214, 52, 38, .4); }

.portraits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14.5rem), 1fr)); gap: 2.4rem 1.6rem; }
.portrait figure { margin: 0; }
.portrait-frame {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 999px 999px var(--radius) var(--radius);
  background: var(--soil-deep); box-shadow: 0 0 0 1px var(--line);
  transition: box-shadow .5s ease, transform .5s ease;
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; filter: saturate(.85) brightness(.88); transition: filter .6s ease, transform 1.2s ease; }
.portrait-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(214, 52, 38, .28), transparent 45%); opacity: 0; transition: opacity .6s ease;
}
.portrait:hover .portrait-frame, .portrait:focus-within .portrait-frame { box-shadow: 0 0 0 1px rgba(214, 52, 38, .6), 0 0 40px rgba(214, 52, 38, .35); transform: translateY(-4px); }
.portrait:hover .portrait-frame img, .portrait:focus-within .portrait-frame img { filter: none; transform: scale(1.04); }
.portrait:hover .portrait-frame::after, .portrait:focus-within .portrait-frame::after { opacity: 1; }
.portrait figcaption { text-align: center; padding-top: 1rem; }
.portrait .kombo { display: block; font-family: var(--display); font-weight: 700; font-size: 1.45rem; color: var(--ochre); line-height: 1.15; }
.portrait .kombo2 { display: block; font-family: var(--text); font-style: italic; color: var(--kaolin); margin-top: .1rem; }
.portrait .civil { display: block; font-family: var(--display); font-size: .85rem; letter-spacing: .04em; color: var(--muted); margin-top: .45rem; }
.portrait .pending { font-family: var(--text); font-style: italic; font-weight: 400; font-size: .98rem; color: var(--muted); letter-spacing: 0; }
.portrait-placeholder { display: grid; place-content: center; gap: .8rem; text-align: center;
  background: radial-gradient(circle at 50% 60%, rgba(0, 0, 0, .06), transparent 65%), var(--soil-deep); }
.portrait-placeholder .motif { margin: 0; }
.portrait-placeholder .motif span { transform: none !important; opacity: 1 !important; }
.portrait-placeholder span:not(.motif span) { font-family: var(--text); font-style: italic; color: var(--muted); font-size: .95rem; }


.portraits-home { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.portraits-home .portrait:first-child .portrait-frame { box-shadow: 0 0 0 1.5px var(--kaolin), 0 0 40px rgba(214, 52, 38, .35); }

@media (max-width: 900px) {
  .portraits-home { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .racine-grid { grid-template-columns: minmax(0, 1fr); }
  .racine-photo { max-width: 22rem; margin: 0 auto; }
}
@media (max-width: 600px) {
  .portraits-home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portraits-home .portrait:last-child { display: none; }
  .portraits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.8rem 1rem; }
  .portrait .kombo { font-size: 1.15rem; }
  .portrait .civil { font-size: .75rem; }
}


/* ==========================================================================
   Seuil : avertissement à l'entrée du site
   ========================================================================== */
.seuil {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--soil); color: var(--kaolin); overflow-y: auto;
  display: none; place-items: center;
}
.seuil[open] { display: grid; }
.seuil::backdrop { background: #f1f1f1; }
.seuil-glow {
  position: fixed; inset: 0; pointer-events: none;
  background:
    radial-gradient(60rem 30rem at 50% 115%, rgba(0, 0, 0, .05), transparent 70%),
    radial-gradient(30rem 20rem at 50% -10%, rgba(0, 0, 0, .04), transparent 70%);
}
.seuil-inner { position: relative; max-width: 44rem; padding: clamp(3rem, 8vh, 5rem) var(--gutter); text-align: center; }
.seuil-kicker { font-family: var(--display); font-weight: 600; letter-spacing: .2em; color: var(--ochre); margin: 0 0 .6rem; font-size: .9rem; }
.seuil-title { font-size: clamp(2.6rem, 7vw, 4.6rem); letter-spacing: -.035em; margin: 0 0 1.2rem; }
.seuil-lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--kaolin); margin: 0 auto 2rem; max-width: 36rem; }
.seuil-list { list-style: none; margin: 0 0 2.2rem; padding: 0; text-align: left; display: grid; gap: 1rem; }
.seuil-list li { display: grid; grid-template-columns: 1.2rem minmax(0, 1fr); gap: .9rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soil-2); }
.seuil-list p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.6; }
.seuil-dot { width: .7rem; height: .7rem; border-radius: 50%; margin-top: .45rem; }
.seuil-dot-white { background: #fff; box-shadow: 0 0 0 1.5px #141414; }
.seuil-dot-red { background: var(--red); box-shadow: 0 0 12px rgba(214, 52, 38, .7); }
.seuil-dot-black { background: #141414; }
.seuil-actions { display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: center; align-items: center; }
.seuil-actions .btn { min-width: 14rem; min-height: 3.2rem; font-size: 1.05rem; }
.seuil-more { font-family: var(--display); font-weight: 500; color: var(--muted); }
.seuil .motif span { transform: none !important; opacity: 1 !important; }
@media (prefers-reduced-motion: no-preference) {
  .seuil[open] .seuil-inner { animation: seuil-in 1.4s cubic-bezier(.2, .7, .2, 1) both; }
  .seuil-glow { animation: seuil-breathe 6s ease-in-out infinite; }
  @keyframes seuil-breathe { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
  .seuil.is-leaving { animation: seuil-out .45s ease forwards; }
  @keyframes seuil-in { from { opacity: 0; transform: translateY(1.5rem); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
  @keyframes seuil-out { to { opacity: 0; } }
}


/* ==========================================================================
   Assistance visa : bandeau, section d'accueil, formulaire
   ========================================================================== */
.visa-bar {
  position: relative; z-index: 31; margin: 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .4rem 1rem;
  padding: .6rem var(--gutter); text-align: center;
  background: linear-gradient(90deg, #9e1f17, #c62f22 50%, #9e1f17);
  border-bottom: 0;
  font-family: var(--display); font-size: .92rem; line-height: 1.4; color: #fff;
}
.visa-bar strong { font-weight: 600; }
.visa-short { display: none; }
.visa-bar a {
  font-weight: 700; color: #fff; text-decoration: none; white-space: nowrap;
  border: 1.5px solid rgba(255, 255, 255, .7); border-radius: 999px; padding: .2rem .85rem;
  transition: background-color .2s ease, color .2s ease;
}
.visa-bar a:hover { background: #fff; color: #9e1f17; }
.visa-bar-icon {
  width: 1.15rem; height: 1.15rem; border-radius: 50%; flex: none;
  border: 1.5px solid currentColor; position: relative;
  background:
    linear-gradient(currentColor, currentColor) 50% 50% / 100% 1.5px no-repeat,
    radial-gradient(ellipse 35% 50% at 50% 50%, transparent 92%, currentColor 96%, transparent 100%);
}

.visa-home {
  background:
    var(--soil-2);
}
.visa-home-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.visa-home h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.visa-points { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.visa-points li {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem;
  border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--soil-deep);
  font-family: var(--display); font-weight: 500; font-size: 1.05rem;
}
.visa-points span {
  flex: none; width: 2.1rem; height: 2.1rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--red); color: #fff; font-weight: 700; box-shadow: 0 0 18px rgba(214, 52, 38, .45);
}
.visa-field {
  border: 1px solid var(--line-strong); border-left: 3px solid var(--red); border-radius: var(--radius);
  padding: 1.2rem 1.3rem .2rem; margin: .4rem 0 1.6rem; background: var(--soil-2);
}
.visa-field .choice { margin-bottom: 1.1rem; }

@media (max-width: 900px) {
  .visa-home-grid { grid-template-columns: minmax(0, 1fr); }
  .visa-bar { font-size: .85rem; flex-wrap: nowrap; justify-content: space-between; text-align: left; }
  .visa-long { display: none; }
  .visa-short { display: inline; }
  .visa-bar-icon { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .mainnav-list { gap: 1.2rem; }
  .stay { grid-template-columns: 10rem minmax(0, 1fr); }
  .stay .link-more { grid-column: 2; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery .wide { grid-column: span 3; }
}

@media (max-width: 900px) {

  .topbar {
    justify-content: space-between; padding: 1rem var(--gutter);
    position: sticky; top: 0; background: var(--soil); border-bottom: 1px solid var(--line);
    padding-top: calc(1rem + env(safe-area-inset-top, 0px));
  }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: .6rem; min-height: 2.75rem;
    background: none; border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--kaolin);
    padding: .4rem .9rem; font-family: var(--display); font-weight: 600; font-size: .95rem; cursor: pointer;
  }
  .menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after { display: block; width: 1.1rem; height: 2px; background: currentColor; border-radius: 1px; position: relative; transition: transform .2s ease; }
  .menu-toggle-bars::before, .menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .menu-toggle-bars::before { top: -6px; }
  .menu-toggle-bars::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

  .mainnav { flex-basis: 100%; display: block; }
  .nav-cta { display: flex; width: 100%; margin-top: 1.2rem; min-height: 3rem; font-size: 1rem; }
  .js .mainnav { display: none; }
  .js .mainnav.is-open { display: block; max-height: calc(100svh - 5rem); overflow-y: auto; padding-bottom: 1.5rem; }
  .js .topbar { flex-wrap: wrap; }
  html:not(.js) .topbar { flex-wrap: wrap; }
  html:not(.js) .menu-toggle { display: none; }
  .mainnav-list { flex-direction: column; gap: 0; padding-top: 1rem; }
  .mainnav-list > li { border-bottom: 1px solid var(--line); }
  .mainnav-list > li > a, .sub-toggle { display: flex; width: 100%; justify-content: space-between; align-items: center; font-size: 1.15rem; padding: .95rem 0; }
  .mainnav-list > li.is-active > a::before, .mainnav-list > li.is-active > .sub-toggle::before { right: auto; width: 2rem; bottom: .5rem; }
  .submenu { position: static; box-shadow: none; border: 0; background: none; padding: 0 0 .8rem .8rem; min-width: 0; }
  html:not(.js) .submenu { display: block; }
  .submenu a { padding: .55rem 0; font-size: 1.02rem; }
  .submenu a:hover, .submenu a[aria-current="page"] { background: none; }
  .submenu a[aria-current="page"] { box-shadow: none; color: var(--ochre); }

  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 1rem; }
  .hero-figure { order: 2; margin-top: 1rem; width: 100%; }
  .hero-figure img { width: min(88%, 24rem); margin: 0 auto; }
  .hero-text { margin-left: 0; padding: 1.5rem 0 0; }
  .hero-place { position: static; order: 3; padding: 0 0 1.5rem; }

  .intro, .split, .cta { grid-template-columns: minmax(0, 1fr); }
  .intro-media img { aspect-ratio: 4 / 3; }
  .split-reverse > :first-child { order: 0; }
  .sticky-media { position: static; }
  .ledger, .ledger-3 { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-id { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .prose p, .prose li { font-size: 1.0625rem; }
  .stay { grid-template-columns: minmax(0, 1fr); gap: .4rem; }
  .stay .link-more { grid-column: 1; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery .wide { grid-column: span 2; }
  .steps > li { grid-template-columns: minmax(0, 1fr); gap: .3rem; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  tbody th { white-space: normal; }
}

/* ---------- Animation d'ouverture : une seule, sur l'accueil ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-figure img { animation: rise 1.1s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-title-big { animation: reveal 1s .15s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(2.5rem); } to { opacity: 1; transform: none; } }
  @keyframes reveal { from { opacity: 0; letter-spacing: .02em; } to { opacity: 1; letter-spacing: -.045em; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
  .topbar, .footer, .cta, .skip, .ambiance, .closing { display: none !important; }
  main { margin: 0; }
  body { background: #fff; color: #000; }
}
