/* ==================================================================
   Yoga Attitude Codolet — feuille de style
   ================================================================== */

/* ------------------------------------------------------ 1. Tokens */
:root {
  --cream:      #F6F3E9;   /* fond de page */
  --surface:    #FFFCF4;   /* cartes */
  --surface-2:  #EFEDE0;   /* encarts dans les cartes */

  --sage-50:    #EDF1E8;
  --sage-100:   #E3EDE2;
  --sage-200:   #CFE2D2;
  --sage-300:   #A8C4AF;
  --sage-400:   #8FAE9B;

  --green:      #2F6B52;
  --forest:     #1E4C39;

  --ink:        #24291F;
  --ink-2:      #3A4438;
  --ink-soft:   #4A5347;
  --ink-mute:   #6B7568;
  --ink-faint:  #7C8A79;

  --sand:       #F0E4D2;
  --sand-2:     #C6B08C;
  --brown:      #8B7355;
  --clay:       #C97B4A;
  --clay-soft:  #F7E4D8;

  --on-dark:    #EFF3EA;
  --on-dark-2:  #D6E2D4;

  --line:       rgba(47,107,82,.16);
  --line-2:     rgba(47,107,82,.28);

  --r-sm:  18px;
  --r:     26px;
  --r-lg:  30px;
  --r-xl:  36px;
  --r-arch: 190px 190px 34px 34px;
  --r-pill: 999px;

  --sh:    0 14px 34px -22px rgba(30,76,57,.5);
  --sh-lg: 0 26px 60px -36px rgba(30,76,57,.6);

  --f-display: "Shantell Sans", ui-rounded, "Trebuchet MS", system-ui, sans-serif;
  --f-body:    "Nunito", system-ui, sans-serif;
  --f-hand:    "Caveat", cursive;

  --wrap: 1120px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 120px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
button { font: inherit; }

a { color: var(--green); text-decoration-color: rgba(47,107,82,.35); text-underline-offset: 3px; }
a:hover { color: var(--forest); text-decoration-color: var(--forest); }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--forest);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(30px, 7.5vw, 52px); line-height: 1.12; }
h2 { font-size: clamp(26px, 5.5vw, 36px); }
h3 { font-size: clamp(19px, 2.4vw, 23px); }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--sage-200); }

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--sage-300); border-radius: 99px; border: 3px solid var(--cream); }
::-webkit-scrollbar-thumb:hover { background: var(--green); }

button:focus-visible, a:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--green); outline-offset: 2px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 10000;
  background: var(--forest); color: var(--on-dark); padding: .8rem 1.4rem; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------- 3. Animations */
@keyframes yac-drift  { 0%,100% { transform: translate(0,0) scale(1) rotate(0deg); } 33% { transform: translate(-18px,14px) scale(1.06) rotate(4deg); } 66% { transform: translate(14px,-10px) scale(.97) rotate(-3deg); } }
@keyframes yac-drift2 { 0%,100% { transform: translate(0,0) rotate(0deg); } 50% { transform: translate(20px,-22px) rotate(9deg); } }
@keyframes yac-breathe{ 0%,100% { transform: scale(1); opacity: .4; } 50% { transform: scale(1.16); opacity: .78; } }
@keyframes yac-spin   { to { transform: rotate(360deg); } }
@keyframes yac-sway   { 0%,100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2.5deg); } }
@keyframes yac-rise   { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes yac-trace  { from { stroke-dashoffset: 1900; } to { stroke-dashoffset: 0; } }
@keyframes yac-leaf   { 0%,100% { transform: translate(0,0) rotate(-6deg); } 50% { transform: translate(22px,-30px) rotate(10deg); } }
@keyframes yac-float  { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes yac-pulse  { 0%,100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.5); opacity: 0; } }

/* -------------------------------------- 4. Décor de fond (fixe) */
.backdrop { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }

/* Traits continus qui se dessinent — la signature graphique du site */
.backdrop__lines {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: .6;
  /* Les traits vivent dans les marges : ils s'effacent sous la colonne
     de lecture, pour ne jamais passer derriere le texte. */
  --lisiere: 580px;   /* la demi-largeur de la colonne de contenu */
  -webkit-mask-image: linear-gradient(90deg,
      #000 0, #000 calc(50% - var(--lisiere)),
      transparent calc(50% - var(--lisiere) + 90px),
      transparent calc(50% + var(--lisiere) - 90px),
      #000 calc(50% + var(--lisiere)), #000 100%);
          mask-image: linear-gradient(90deg,
      #000 0, #000 calc(50% - var(--lisiere)),
      transparent calc(50% - var(--lisiere) + 90px),
      transparent calc(50% + var(--lisiere) - 90px),
      #000 calc(50% + var(--lisiere)), #000 100%);
}
.backdrop__lines path {
  fill: none; stroke-linecap: round;
  stroke-dasharray: 480 1500;
  animation: yac-trace 26s linear infinite;
}
.backdrop__lines path:nth-child(2) { stroke-dasharray: 300 1600; animation-duration: 38s; animation-direction: reverse; }
.backdrop__lines path:nth-child(3) { stroke-dasharray: 620 1400; animation-duration: 32s; }

/* Feuilles qui dérivent */
.backdrop__leaf { position: absolute; opacity: .3; animation: yac-leaf 18s ease-in-out infinite; }

.blob-soft {
  position: absolute; pointer-events: none; z-index: 0;
  border-radius: 48% 52% 60% 40% / 55% 45% 55% 45%;
  animation: yac-drift 17s ease-in-out infinite;
}
.blob-soft--sage { background: radial-gradient(circle at 35% 35%, #DFEDDC, #C6DDC7); }
.blob-soft--sand { background: var(--sand); border-radius: 60% 40% 45% 55% / 45% 60% 40% 55%; animation: yac-drift2 21s ease-in-out infinite; }

/* ------------------------------------------------ 5. Mise en page */
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 32px, 780px); margin-inline: auto; }

main { flex: 1; position: relative; z-index: 1; padding-bottom: 72px; }

.section { position: relative; padding: 44px 0 0; }
.section--tight { padding: 34px 0 0; }

.section__head { max-width: 62ch; }
.section__head--center { margin-inline: auto; text-align: center; }

/* Pastille manuscrite en tête de section */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px; border-radius: var(--r-pill);
  background: var(--sage-100); color: var(--green);
  font-family: var(--f-hand); font-size: 19px; line-height: 1.2;
  margin: 0 0 18px; text-transform: none; letter-spacing: 0; font-weight: 500;
}
.eyebrow svg { width: 15px; height: 15px; flex: none; }
.section--forest .eyebrow, .panel--dark .eyebrow { background: rgba(255,255,255,.12); color: var(--sage-300); }

.lede { font-size: 17px; line-height: 1.75; color: var(--ink-soft); }
.section--forest .lede { color: var(--on-dark-2); }

.hand { font-family: var(--f-hand); font-size: 1.35em; line-height: 1.2; color: var(--brown); }

.muted { color: var(--ink-mute); font-size: 14px; }

/* --------------------------------------------------- 6. Boutons */
.btn {
  --btn-bg: var(--green);
  --btn-fg: var(--cream);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 24px; border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--f-body); font-weight: 700; font-size: 15px;
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  text-decoration: none;
  transition: transform .2s, background .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--forest); color: var(--btn-fg); transform: translateY(-2px); }
.btn svg { width: 15px; height: 15px; flex: none; }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--green); border-color: var(--green); }
.btn--ghost:hover { background: var(--sage-100); color: var(--green); }
.btn--light { --btn-bg: var(--cream); --btn-fg: var(--forest); }
.btn--light:hover { background: #fff; color: var(--forest); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: var(--on-dark); border-color: var(--sage-300); }
.btn--outline-light:hover { background: rgba(255,255,255,.09); color: var(--on-dark); }
.btn--clay { --btn-bg: var(--clay); }
.btn--clay:hover { background: #B06437; }
.btn--sm { padding: 11px 18px; font-size: 14px; }
.btn--block { display: flex; width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }

/* Un bouton garde sa couleur quel que soit le contexte */
.nav a.btn, .footer a.btn, .card a.btn, .panel a.btn, .lock a.btn,
.event a.btn, .empty a.btn, .admin-side a.btn, .panel--dark a.btn { color: var(--btn-fg); }

.link-hand {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: var(--f-hand); font-size: 21px; color: var(--clay);
  text-decoration: none;
}
.link-hand:hover { color: #B06437; }
.panel--dark .link-hand, .section--forest .link-hand { color: var(--sage-300); }

/* ---------------------------------------------------- 7. En-tête */
.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(246,243,233,.94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(47,107,82,.14);
}
.header__bar {
  max-width: var(--wrap); margin: 0 auto;
  padding: 12px 16px; display: flex; align-items: center; gap: 10px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark {
  width: 42px; height: 42px; flex: none; border-radius: 50%;
  background: var(--sage-100); padding: 5px;
}
.brand__mark .petal { transform-box: fill-box; transform-origin: 50% 100%; animation: yac-breathe 9s ease-in-out infinite; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--f-display); font-weight: 600; font-size: 19px; color: var(--forest); }
.brand__city { font-family: var(--f-hand); font-size: 17px; color: var(--brown); }

.header__spacer { flex: 1; }

.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  border: 1px solid rgba(47,107,82,.3); background: transparent;
  display: grid; place-items: center; cursor: pointer;
  color: var(--green); transition: background .2s;
}
.icon-btn:hover { background: var(--sage-100); color: var(--green); }
.icon-btn svg { width: 17px; height: 17px; }

.header__tel {
  flex: none; display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 16px; border-radius: var(--r-pill);
  background: var(--green); color: var(--cream);
  text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap;
}
.header__tel:hover { background: var(--forest); color: var(--cream); }
.header__tel svg { width: 14px; height: 14px; }

.nav {
  max-width: var(--wrap); margin: 0 auto;
  padding: 0 12px 10px; display: flex; gap: 6px;
  overflow-x: auto; scrollbar-width: none;
}
.nav::-webkit-scrollbar { display: none; }
.nav a {
  padding: 9px 15px; border-radius: var(--r-pill);
  font-size: 14px; font-weight: 700; white-space: nowrap;
  color: var(--ink-soft); background: transparent;
  border: 1.5px solid transparent; text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.nav a:hover { background: var(--sage-100); color: var(--forest); }
.nav a.is-active { background: var(--green); color: var(--cream); border-color: var(--green); }
.nav a.is-active:hover { background: var(--forest); color: var(--cream); }

/* ------------------------------------------------------- 8. Hero */
.hero { position: relative; padding: 44px 0 8px; }
.hero__grid {
  position: relative; z-index: 1;
  display: grid; gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: center;
}
.hero__text { animation: yac-rise .7s ease both; }
.hero h1 { margin: 20px 0 0; }
.hero h1 em { font-style: normal; color: var(--clay); }
.hero__lede { font-size: 17px; line-height: 1.7; color: var(--ink-soft); max-width: 44ch; margin: 20px 0 0; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

/* Photo en arche, cernée d’un trait qui balance */
.arch { position: relative; max-width: 420px; margin: 0 auto; }
.arch::before {
  content: ""; position: absolute; inset: -18px;
  border-radius: 200px 200px 40px 40px;
  border: 1.5px dashed rgba(47,107,82,.3);
  animation: yac-sway 12s ease-in-out infinite;
  transform-origin: 50% 80%;
}
.arch--clay::before { border-color: rgba(201,123,74,.35); animation-duration: 14s; }
.arch__img {
  position: relative; border-radius: var(--r-arch); overflow: hidden;
  background: var(--sage-100); box-shadow: var(--sh-lg); aspect-ratio: 4/5;
}
.arch__img img { width: 100%; height: 100%; object-fit: cover; }
.arch__mascotte {
  position: absolute; bottom: -16px; right: 0; width: 106px; z-index: 2;
  transition: transform .35s ease;
}
.arch:hover .arch__mascotte { transform: translateY(-10px) rotate(-4deg); }

/* Vignette « séance d’essai » posée sur la photo */
.essai-tag {
  position: absolute; left: -10px; bottom: 16%; z-index: 3;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 16px; border-radius: var(--r-pill);
  background: var(--surface); box-shadow: var(--sh);
  text-decoration: none; color: var(--forest);
  font-size: 14px; font-weight: 700; white-space: nowrap;
  transition: transform .25s;
}
.essai-tag:hover { transform: translateY(-3px); color: var(--forest); }
.essai-tag small { display: block; font-weight: 500; font-size: 12px; color: var(--ink-mute); }
.essai-tag__dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--clay); flex: none; }
.essai-tag__dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--clay); animation: yac-pulse 2.4s ease-out infinite;
}

/* Bandeau de rentrée */
.band {
  margin-top: 46px; border-radius: 32px;
  background: var(--forest); color: var(--on-dark);
  padding: 26px; display: flex; flex-wrap: wrap; gap: 18px 32px;
  align-items: center; position: relative; overflow: hidden;
}
.band .band__ring {
  position: absolute; right: -54px; top: 50%; margin-top: -95px;
  width: 190px; height: 190px; pointer-events: none;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.16);
}
.band > div:not(.band__ring) { position: relative; }
.band__kicker { margin: 0; font-family: var(--f-hand); font-size: 22px; color: var(--sage-300); }
.band__title { margin: 4px 0 0; font-family: var(--f-display); font-weight: 600; font-size: 27px; line-height: 1.25; }
.band__info { font-size: 15px; line-height: 1.8; color: var(--on-dark-2); }
.band__info a { color: var(--on-dark); }

/* ----------------------------------------------------- 9. Grilles */
.grid { display: grid; gap: 18px; }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid--wide { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--half { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--small { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.stack { display: grid; gap: 16px; }
.cluster { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cluster--between { justify-content: space-between; }
.cluster--end { justify-content: flex-end; }

/* ----------------------------------------------------- 10. Cartes */
.card {
  position: relative;
  border-radius: var(--r-xl); overflow: hidden;
  background: var(--surface); border: 1.5px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); border-color: var(--green); }

.card__media { position: relative; aspect-ratio: 3/2; background: var(--sage-100); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 20px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.card__kicker { margin: 0; font-family: var(--f-hand); font-size: 20px; color: var(--brown); }
.card__title { font-size: 23px; margin: 2px 0 0; }
.card__title a { color: var(--forest); text-decoration: none; }
.card__title a:hover { color: var(--green); }
/* Le titre porte le lien, mais c'est toute la carte qui repond au clic :
   son ::after s'etend sur la carte entiere. */
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card { cursor: pointer; }
/* Ce qui doit rester cliquable pour soi-meme passe au-dessus */
.card a.btn, .card a.link-hand, .card form { position: relative; z-index: 2; }
.card__text { margin: 0; font-size: 15px; line-height: 1.65; color: var(--ink-soft); flex: 1; }
.card__meta { margin: 0; font-size: 14px; color: var(--ink-mute); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.card__meta span { display: inline-flex; align-items: center; gap: 5px; }
.card__meta svg { width: 14px; height: 14px; }
.card__price { font-family: var(--f-display); font-weight: 700; font-size: 22px; color: var(--forest); }
.card__price small { display: block; font-family: var(--f-body); font-weight: 600; font-size: 12px; color: var(--ink-mute); }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* Carte cliquable façon « porte d’entrée » */
.tile {
  text-align: left; cursor: pointer; text-decoration: none;
  border-radius: var(--r-xl); border: 1.5px solid var(--line);
  background: var(--surface); padding: 26px 24px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .25s, border-color .25s;
}
.tile:hover { border-color: var(--green); transform: translateY(-4px); }
.tile img { width: 96px; align-self: center; transition: transform .3s ease; }
.tile:hover img { transform: scale(1.06); }
.tile h3 { font-size: 22px; margin: 0; }
.tile p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--ink-soft); flex: 1; }

/* Blocs colorés */
.panel {
  border-radius: var(--r-xl); background: var(--surface);
  border: 1.5px solid var(--line); padding: clamp(24px, 4vw, 30px);
}
.panel--sage { background: var(--sage-100); border-color: transparent; }
.panel--dark { background: var(--forest); border-color: transparent; color: var(--on-dark); position: relative; overflow: hidden; }
.panel--dark h1, .panel--dark h2, .panel--dark h3 { color: var(--on-dark); }
.panel--dark p { color: var(--on-dark-2); }
.panel--dark a:not(.btn) { color: var(--on-dark); }
.panel--sage h2, .panel--sage h3 { color: var(--forest); }
.panel--sage p { color: var(--ink-2); }
.panel__ring {
  position: absolute; right: -40px; bottom: -40px; width: 170px; height: 170px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.16);
  animation: yac-spin 50s linear infinite;
}
.panel__halo {
  position: absolute; top: -70px; left: -50px; width: 240px; height: 240px;
  border-radius: 50%; background: var(--sage-100);
  animation: yac-breathe 9s ease-in-out infinite;
}
.panel__inner { position: relative; }

/* Pastille ronde d’icône */
.ico-round {
  display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; background: var(--sage-100); color: var(--green); flex: none;
}
.ico-round svg { width: 20px; height: 20px; }
.ico-round--num { font-family: var(--f-display); font-weight: 700; font-size: 17px; }

/* Badges */
.tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 13px; border-radius: var(--r-pill);
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
  background: var(--sage-100); color: var(--green);
}
.tag svg { width: 13px; height: 13px; }
.tag--membre  { background: var(--forest); color: var(--sage-200); }
.tag--libre   { background: var(--sage-200); color: var(--forest); }
.tag--premium { background: var(--clay-soft); color: #A9552B; }
.tag--ok      { background: #DCEBD9; color: #2C5C3C; }
.tag--wait    { background: var(--sand); color: #7A6440; }
.tag--off     { background: #F0E1DA; color: #A9552B; }
.tag--ghost   { background: transparent; border: 1.5px solid var(--line-2); color: var(--ink-mute); }

.card__badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.card__badges .tag { box-shadow: 0 4px 12px rgba(30,76,57,.2); }

.play-hint {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(246,243,233,.94); color: var(--forest);
  display: grid; place-items: center; box-shadow: var(--sh);
  transition: transform .2s;
}
.play-hint svg { width: 16px; height: 16px; }
.card:hover .play-hint { transform: scale(1.08); }

/* --------------------------------------- 11. Lecteur & fiche */
.audio-strip {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 22px; background: var(--surface-2);
}
.audio-strip__play {
  width: 40px; height: 40px; border-radius: 50%; background: var(--green);
  display: grid; place-items: center; flex: none; color: var(--cream);
}
.audio-strip__play svg { width: 14px; height: 14px; }
.audio-strip__wave { display: flex; align-items: center; gap: 3px; height: 24px; flex: 1; overflow: hidden; }
.audio-strip__wave i { display: block; width: 3px; border-radius: 2px; background: var(--sage-400); }
.audio-strip__time { font-size: 13px; color: var(--ink-mute); font-variant-numeric: tabular-nums; }

.fiche-note {
  display: flex; gap: 12px; align-items: center;
  padding: 10px 12px; border-radius: 20px;
  border: 1.5px dashed var(--line-2);
}
.fiche-note__thumb {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  background: var(--sage-100) center/cover;
  filter: grayscale(.4) contrast(.9); opacity: .8;
}
.fiche-note b { display: block; font-size: 13px; color: var(--ink-2); }
.fiche-note em { display: block; font-style: normal; font-size: 12px; color: var(--ink-faint); }
.fiche-note svg { width: 16px; height: 16px; flex: none; color: var(--ink-faint); }

.player { border-radius: var(--r-xl); background: var(--forest); color: var(--on-dark); padding: 26px; position: relative; overflow: hidden; }
.player__top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; position: relative; }
.player__cover { width: 76px; height: 76px; flex: none; border-radius: 20px; overflow: hidden; }
.player__cover img { width: 100%; height: 100%; object-fit: cover; }
.player__title { font-family: var(--f-display); font-weight: 600; font-size: 21px; color: var(--on-dark); margin: 0 0 2px; }
.player__sub { font-size: 14px; color: var(--sage-300); margin: 0; }
.player audio, .player video { width: 100%; border-radius: 16px; position: relative; }
.player audio { height: 50px; }
.player__hint { margin-top: 14px; font-size: 14px; color: var(--sage-300); position: relative; }

.lock { border-radius: var(--r-xl); background: var(--surface); border: 1.5px solid var(--line); padding: clamp(24px, 4vw, 30px); text-align: center; }
.lock__ico { width: 66px; height: 66px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; background: var(--sage-100); color: var(--green); }
.lock__ico svg { width: 26px; height: 26px; }
.lock__options { display: grid; gap: 14px; margin-top: 20px; text-align: left; }
.lock__option { border-radius: var(--r); padding: 22px; background: var(--sage-100); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.lock__option--buy { background: var(--clay-soft); }
.lock__option h3 { font-size: 20px; margin: 0; }
.lock__option p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--ink-soft); }

/* --------------------------------------------- 12. Horaires */
.slots { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.slot { border-radius: var(--r-lg); background: var(--surface); border: 1.5px solid var(--line); padding: 24px; }
.slot__day { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: 24px; color: var(--green); }
.slot__rule { height: 1.5px; margin: 14px 0; background: repeating-linear-gradient(90deg, rgba(47,107,82,.28) 0 6px, transparent 6px 12px); }
.slot ul { list-style: none; margin: 0; padding: 0; }
.slot li { margin: 0 0 8px; font-size: 16px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.slot li:last-child { margin-bottom: 0; }

/* --------------------------------------------- 13. Étapes */
.steps { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: step; }
.step { border-radius: var(--r); background: var(--surface); border: 1.5px solid var(--line); padding: 22px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--sage-100); color: var(--green);
  font-family: var(--f-display); font-weight: 700; font-size: 17px;
}
.step h3 { font-size: 19px; margin: 14px 0 8px; }
.step p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--ink-soft); }
.steps--list { grid-template-columns: 1fr; }
.steps--list .step { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 16px 20px; }
.steps--list .step h3 { margin: 0; }

/* --------------------------------------------- 14. Événements */
.event { border-radius: var(--r-xl); background: var(--surface); border: 1.5px solid var(--line); overflow: hidden; }
.event__head { display: flex; gap: 18px; padding: 22px; align-items: flex-start; flex-wrap: wrap; }
.event__date { flex: none; width: 78px; border-radius: 24px; background: var(--sage-100); padding: 12px 8px; text-align: center; }
.event__date b { display: block; font-family: var(--f-display); font-weight: 700; font-size: 26px; line-height: 1; color: var(--forest); }
.event__date span { display: block; margin-top: 4px; font-family: var(--f-hand); font-size: 18px; color: var(--ink-mute); }
.event__body { flex: 1 1 220px; }
.event__body h2, .event__body h3 { font-size: 23px; margin: 10px 0 6px; }
.event__body h2 a, .event__body h3 a { color: var(--forest); text-decoration: none; }
.event__body h2 a:hover, .event__body h3 a:hover { color: var(--green); }
.event__body p { margin: 0; font-size: 14px; color: var(--ink-mute); }
.event--past { opacity: .85; }
.event--past .event__date { background: var(--sand); }
.event__detail { padding: 0 22px 24px; border-top: 1.5px dashed rgba(47,107,82,.22); }

.programme > div { display: flex; gap: 14px; padding: 9px 0; border-bottom: 1px dashed rgba(47,107,82,.2); }
.programme b { flex: none; width: 76px; font-size: 14px; color: var(--green); font-variant-numeric: tabular-nums; }
.programme span { font-size: 15px; color: var(--ink-soft); }

/* --------------------------------------------- 15. Galerie */
.gallery { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.gallery figure { margin: 0; border-radius: 24px; overflow: hidden; background: var(--sage-100); }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; cursor: zoom-in; transition: transform .5s; }
.gallery img:hover { transform: scale(1.04); }
.gallery figcaption { font-size: 13px; color: var(--ink-mute); padding: 8px 12px; }

.lightbox { position: fixed; inset: 0; z-index: 9998; display: none; background: rgba(30,76,57,.94); padding: 3vh 3vw; align-items: center; justify-content: center; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 94vh; border-radius: var(--r); object-fit: contain; }
.lightbox__close { position: absolute; top: 18px; right: 20px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.14); color: var(--cream); border: 0; cursor: pointer; font-size: 24px; line-height: 1; }

/* --------------------------------------------- 16. Formulaires */
.form { display: grid; gap: 14px; }
.form-row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 700; color: var(--ink-mute); }
.field small { font-size: 12px; font-weight: 400; color: var(--ink-faint); }
.field input, .field select, .field textarea {
  padding: 14px 16px; border-radius: var(--r-sm);
  border: 1.5px solid rgba(47,107,82,.22); background: var(--cream);
  font-family: inherit; font-size: 15px; font-weight: 400; color: var(--ink); width: 100%;
  transition: border-color .2s, background .2s;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); background: #fff; }
.field input::placeholder, .field textarea::placeholder { color: #A6AEA1; }
.field input:disabled { opacity: .7; }
.field--check { display: flex; align-items: flex-start; gap: 10px; }
.field--check input { width: 20px; height: 20px; flex: none; margin-top: 3px; accent-color: var(--green); }
.field--check label { font-weight: 400; font-size: 14px; color: var(--ink-soft); }
.field-error { font-size: 12px; color: #A9552B; }
.form-note { margin: 0; font-size: 12px; line-height: 1.6; color: #8A9287; text-align: center; }
.hp { position: absolute; left: -9999px; }

.radio-card {
  display: flex; gap: 12px; align-items: flex-start; cursor: pointer;
  border-radius: var(--r); padding: 18px; background: var(--sage-100);
}
.radio-card input { width: 20px; height: 20px; flex: none; margin-top: 3px; accent-color: var(--green); }
.radio-card b { display: block; color: var(--forest); font-family: var(--f-display); font-weight: 600; font-size: 17px; }
.radio-card em { display: block; font-style: normal; font-size: 14px; line-height: 1.6; color: var(--ink-soft); }

/* ------------------------------------------------- 17. Messages */
.flash-zone { padding-top: 18px; }
.flash {
  display: flex; align-items: flex-start; gap: 12px;
  border-radius: var(--r); padding: 14px 18px; margin-bottom: 10px;
  background: var(--sage-100); color: #2C5C3C;
  animation: yac-rise .4s ease both;
}
.flash p { margin: 0; font-size: 15px; font-weight: 600; }
.flash__dot { width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: var(--cream); font-weight: 800; font-size: 13px; }
.flash--error   { background: #F7E7E0; color: #8C4029; }
.flash--error   .flash__dot { background: var(--clay); }
.flash--warning { background: #FAF2E3; color: #77602C; }
.flash--warning .flash__dot { background: #B08B3C; }
.flash--info    { background: var(--surface-2); color: var(--ink-soft); }
.flash--info    .flash__dot { background: var(--sage-400); }

/* ------------------------------------------- 18. Fil d'Ariane */
.crumbs { font-size: 13px; color: var(--ink-mute); padding-top: 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li::after { content: "·"; margin-left: 6px; color: var(--sage-400); }
.crumbs li:last-child::after { content: ""; }
.crumbs a { color: var(--ink-mute); text-decoration: none; }
.crumbs a:hover { color: var(--green); }

/* ---------------------------------------------- 19. Filtres */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters a {
  padding: 10px 17px; border-radius: var(--r-pill);
  font-size: 14px; font-weight: 700; text-decoration: none;
  background: var(--surface); border: 1.5px solid var(--line); color: var(--ink-soft);
  transition: .2s;
}
.filters a:hover { border-color: var(--green); color: var(--forest); }
.filters a.is-active { background: var(--green); border-color: var(--green); color: var(--cream); }

/* ------------------------------------------ 20. Prose & SEO */
.prose { max-width: 74ch; }
.prose h2 { margin-top: 30px; font-size: 21px; color: var(--green); }
.prose h3 { margin-top: 22px; font-size: 19px; }
.prose p { font-size: 15px; line-height: 1.8; color: var(--ink-soft); }
.prose ul { padding-left: 20px; color: var(--ink-soft); font-size: 15px; line-height: 1.8; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--sage-400); }

.seo-note { margin-top: 56px; border-top: 1.5px dashed rgba(47,107,82,.22); padding-top: 26px; }
.seo-note p { font-size: 14px; line-height: 1.8; color: var(--ink-mute); max-width: 74ch; }
.seo-note strong { color: var(--ink-2); }

.empty {
  text-align: center; padding: 44px 20px; color: var(--ink-mute);
  border: 1.5px dashed var(--line-2); border-radius: var(--r-xl); background: var(--surface);
}
.empty img { width: 130px; margin: 0 auto 14px; opacity: .9; }

/* Accordéons */
details.panel > summary { list-style: none; display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-family: var(--f-display); font-weight: 600; font-size: 19px; color: var(--forest); }
details.panel > summary::-webkit-details-marker { display: none; }
details.panel > summary::before {
  content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--sage-100); color: var(--green);
  display: grid; place-items: center; font-size: 17px; line-height: 1;
  transition: background .3s;
}
details.panel[open] > summary::before { content: "–"; background: var(--green); color: var(--cream); }

/* ------------------------------------------ 21. Pied de page */
.footer-wave { display: block; width: 100%; height: clamp(48px, 7vw, 96px); margin-bottom: -1px; position: relative; z-index: 1; }
.footer-wave path { fill: var(--forest); }

.footer { position: relative; z-index: 1; background: var(--forest); color: var(--on-dark-2); padding: 46px 16px 32px; }
.footer__grid { max-width: var(--wrap); margin: 0 auto; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.footer__name { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: 22px; color: var(--on-dark); }
.footer h4 { margin: 0 0 12px; font-family: var(--f-hand); font-weight: 500; font-size: 20px; color: var(--sage-300); }
.footer p { margin: 10px 0 0; font-size: 14px; line-height: 1.8; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer a { color: var(--on-dark); text-decoration: none; font-size: 14px; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__mascotte { width: 92px; margin-top: 16px; opacity: .92; transition: transform .35s ease; }
.footer__mascotte:hover { transform: scale(1.06); }
.footer__seo { margin-top: 22px; font-size: 12px; line-height: 1.8; color: var(--sage-300); max-width: 100%; }
.footer__bottom {
  max-width: var(--wrap); margin: 30px auto 0; padding-top: 18px;
  border-top: 1px dashed rgba(255,255,255,.2);
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: space-between;
  font-size: 12px; color: var(--sage-300);
}
.footer__bottom nav { display: flex; gap: 14px; flex-wrap: wrap; }
.footer__bottom a { font-size: 12px; color: var(--sage-300); }

/* --------------------------------------------- 22. Tableaux */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); background: var(--surface); border: 1.5px solid var(--line); }
table.data { width: 100%; border-collapse: collapse; min-width: 580px; }
table.data th {
  text-align: left; padding: 13px 18px; background: var(--sage-100);
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 700; white-space: nowrap;
}
table.data td { padding: 15px 18px; font-size: 15px; color: var(--ink); border-top: 1px solid rgba(47,107,82,.14); vertical-align: top; }
table.data tbody tr:hover { background: rgba(227,237,226,.4); }
table.data .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; }

/* ------------------------------------------ 23. Back-office */
.admin-shell { display: grid; grid-template-columns: 244px 1fr; min-height: 100vh; }
.admin-side { background: var(--forest); color: var(--on-dark-2); padding: 22px 16px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-side .brand__name { color: var(--on-dark); font-size: 17px; }
.admin-side .brand__city { color: var(--sage-300); }
.admin-side .brand__mark { background: rgba(255,255,255,.1); }
.admin-side nav { display: grid; gap: 4px; margin-top: 26px; }
.admin-side nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: var(--r-pill);
  color: var(--on-dark-2); font-size: 14px; font-weight: 700; text-decoration: none;
}
.admin-side nav a svg { width: 17px; height: 17px; flex: none; opacity: .85; }
.admin-side nav a:hover { background: rgba(255,255,255,.09); color: #fff; }
.admin-side nav a.is-active { background: var(--cream); color: var(--forest); }
.admin-side a { color: var(--on-dark-2); }
.admin-side a:hover { color: #fff; }
.admin-side__foot { margin-top: 24px; padding-top: 16px; border-top: 1px dashed rgba(255,255,255,.2); font-size: 14px; }
.admin-main { padding: clamp(20px, 3vw, 34px); background: var(--cream); }
.admin-head { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.admin-head h1 { font-size: clamp(26px, 4vw, 38px); margin: 0; }
.admin-head p { margin: 6px 0 0; color: var(--ink-mute); font-size: 14px; }

.stat { border-radius: var(--r); background: var(--surface); border: 1.5px solid var(--line); padding: 20px; }
.stat b { display: block; font-family: var(--f-display); font-weight: 700; font-size: 36px; line-height: 1; color: var(--forest); }
.stat span { display: block; margin-top: 8px; font-size: 13px; color: var(--ink-mute); }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tabs a { padding: 9px 16px; border-radius: var(--r-pill); font-size: 14px; font-weight: 700; text-decoration: none; background: var(--surface); border: 1.5px solid var(--line); color: var(--ink-soft); }
.tabs a.is-active { background: var(--green); color: var(--cream); border-color: var(--green); }

/* ---------------------------------------- 24. Révélation scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

/* ------------------------------------------------ 25. Utilitaires */
.text-center { text-align: center; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 34px; }
.mt-4 { margin-top: 50px; }
.mb-2 { margin-bottom: 20px; }
.float-soft { animation: yac-float 9s ease-in-out infinite; }
.ico-inline { width: 1em; height: 1em; vertical-align: -.12em; }


/* ------------------------------- 25b. Compatibilité de classes */
/* Anciennes classes de gabarit ramenées au langage graphique actuel. */

.grid--2, .grid--half { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3, .grid--4    { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* Carte de valeur : même matière que .tile, sans image */
.pillar {
  border-radius: var(--r-xl); background: var(--surface);
  border: 1.5px solid var(--line); padding: 24px;
  transition: transform .25s, border-color .25s;
}
.pillar:hover { transform: translateY(-4px); border-color: var(--green); }
.pillar__ico {
  display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; background: var(--sage-100); color: var(--green); margin-bottom: 14px;
}
.pillar__ico svg { width: 20px; height: 20px; }
.pillar h3 { font-size: 20px; margin: 0 0 8px; }
.pillar p  { margin: 0; font-size: 15px; line-height: 1.7; color: var(--ink-soft); }

/* Portrait + texte */
.profile, .auth, .event-hero {
  display: grid; gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}
.profile__photo {
  position: relative; max-width: 390px; margin: 0 auto;
  border-radius: 200px 200px 34px 34px; overflow: hidden;
  aspect-ratio: 4/5; background: var(--sage-100); box-shadow: var(--sh-lg);
}
.profile__photo img { width: 100%; height: 100%; object-fit: cover; }
.profile__quote {
  max-width: 340px; margin: 16px auto 0;
  font-family: var(--f-hand); font-size: 24px; line-height: 1.35;
  color: var(--forest); text-align: center;
}
.auth__aside { text-align: center; }
.auth__aside img { max-width: 280px; margin-inline: auto; }

.event-hero__img { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); aspect-ratio: 4/3; background: var(--sage-100); }
.event-hero__img img { width: 100%; height: 100%; object-fit: cover; }

/* Lien fléché → même écriture manuscrite que le reste */
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
  font-family: var(--f-hand); font-size: 21px; color: var(--clay);
}
.link-arrow:hover { color: #B06437; }
.link-arrow svg { width: .8em; height: .8em; transition: transform .3s; }
.link-arrow:hover svg { transform: translateX(4px); }
.panel--dark .link-arrow { color: var(--sage-300); }

/* Puces d’information */
.fact { display: flex; align-items: center; gap: 12px; }
.fact__ico {
  display: grid; place-items: center; width: 42px; height: 42px; flex: none;
  border-radius: 50%; background: var(--sage-100); color: var(--green);
}
.fact__ico svg { width: 19px; height: 19px; }
.fact b { display: block; font-size: 15px; color: var(--forest); line-height: 1.3; }
.fact span { font-size: 14px; color: var(--ink-mute); }

/* Cercle qui respire derrière une mascotte */
.breath { display: grid; place-items: center; }
.breath__ring { border-radius: 50%; border: 1.5px dashed rgba(47,107,82,.3); animation: yac-breathe 11s ease-in-out infinite; }

/* Voile sur une couverture verrouillée */
.card__media--lock::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30,76,57,.04), rgba(30,76,57,.34));
}

/* Anciens espacements */
.mt-0 { margin-top: 0; }
.section__head { margin-bottom: 24px; }

/* ------------------------------- 25c. Compte connecté & menu actif */

/* Pastille de compte : on voit d’un coup d’œil qu’on est connecté */
.account {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  padding: 5px 14px 5px 5px; border-radius: var(--r-pill);
  background: var(--sage-100); color: var(--forest);
  text-decoration: none; font-size: 14px; font-weight: 700;
  border: 1.5px solid transparent;
  transition: background .2s, border-color .2s;
}
.account:hover { background: var(--sage-200); color: var(--forest); }
.account__initiale {
  width: 32px; height: 32px; flex: none; border-radius: 50%;
  background: var(--green); color: var(--cream);
  display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 700; font-size: 15px; line-height: 1;
}
.account__nom { max-width: 12ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account.is-active { background: var(--forest); color: var(--on-dark); border-color: var(--forest); }
.account.is-active:hover { background: var(--forest); color: #fff; }
.account.is-active .account__initiale { background: var(--sage-300); color: var(--forest); }

/* Rubrique courante : pastille pleine + repère sous le menu */
.nav a { position: relative; }
.nav a.is-active {
  background: var(--green); color: var(--cream); border-color: var(--green);
  box-shadow: 0 6px 16px -10px rgba(30,76,57,.9);
}
.nav a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: -9px;
  width: 6px; height: 6px; margin-left: -3px; border-radius: 50%;
  background: var(--green);
}

/* Traits de fond : ils s’effacent au défilement et reviennent en douceur */
.backdrop__lines { transition: opacity 1.4s ease; }
.backdrop.is-scrolling .backdrop__lines { opacity: 0; transition: opacity .3s ease; }

/* Photo mise en avant (la salle, le matériel) */
.photo-frame {
  border-radius: var(--r-xl); overflow: hidden;
  background: var(--sage-100); box-shadow: var(--sh);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-frame--wide { aspect-ratio: 16/10; }
.photo-frame--square { aspect-ratio: 1; }

.kit { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.kit__item {
  border-radius: var(--r); background: var(--surface); border: 1.5px solid var(--line);
  overflow: hidden; display: flex; flex-direction: column;
}
.kit__item img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.kit__item div { padding: 14px 16px; }
.kit__item b { display: block; font-family: var(--f-display); font-weight: 600; font-size: 17px; color: var(--forest); }
.kit__item span { font-size: 13px; line-height: 1.6; color: var(--ink-mute); }

/* --------------------------------------------- 26. Responsive */
@media (max-width: 900px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; }
  .admin-side nav { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .header__bar { padding: 10px 14px; gap: 8px; }
  .header__tel b { display: none; }
  .brand__name { white-space: nowrap; font-size: 17px; }
  .brand__city { font-size: 15px; }
  .account { padding: 4px; gap: 0; }
  .account__nom { display: none; }
  .header__tel { padding: 11px 13px; }
  .arch__mascotte { width: 84px; right: -6px; }
  .essai-tag { left: 50%; transform: translateX(-50%); bottom: -20px; }
  .essai-tag:hover { transform: translateX(-50%) translateY(-3px); }
  .footer__bottom { flex-direction: column; gap: 8px; }
}

@media (max-width: 560px) {
  .wrap, .wrap--narrow { width: calc(100% - 24px); }
  .band { padding: 22px; }
  .event__head { padding: 18px; }
  .event__date { width: 66px; }
}

@media print {
  .header, .footer, .footer-wave, .backdrop, .btn { display: none !important; }
}

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

/* ============================================================
   27. Mobile — priorité au confort de lecture et au pouce
   ============================================================ */

/* Nouvelles briques ------------------------------------------------ */
.horaire-ligne {
  display: grid; gap: 14px; grid-template-columns: 1fr 1.4fr;
  padding: 18px; border-radius: var(--r); background: var(--sage-100);
}

.event__vignette {
  flex: none; width: 132px; aspect-ratio: 4/3;
  border-radius: 22px; overflow: hidden; background: var(--sage-100);
  display: block;
}
.event__vignette img { width: 100%; height: 100%; object-fit: cover; }

/* Le bouton du menu ------------------------------------------------ */
.burger {
  display: none; width: 42px; height: 42px; flex: none;
  border: 1px solid rgba(47,107,82,.3); background: transparent;
  border-radius: 50%; cursor: pointer;
  align-items: center; justify-content: center;
}
.burger span { display: block; width: 17px; height: 2px; background: var(--green); border-radius: 2px; position: relative; transition: background .2s; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 17px; height: 2px;
  background: var(--green); border-radius: 2px; transition: transform .25s, top .25s;
}
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* ----------------------------------------- Tablette et en dessous */
@media (max-width: 900px) {
  .event__head { gap: 14px; }
  .event__vignette { width: 108px; }
  .horaire-ligne { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------- Mobile */
@media (max-width: 720px) {

  /* Le menu devient un vrai panneau, plus une bande qui défile */
  .burger { display: flex; }
  .nav {
    position: fixed; left: 0; right: 0; top: 62px; z-index: 39;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px 16px 20px; overflow: visible;
    background: var(--cream); border-bottom: 1px solid rgba(47,107,82,.14);
    box-shadow: 0 18px 30px -22px rgba(30,76,57,.5);
    transform: translateY(-120%); transition: transform .3s ease;
    max-height: calc(100dvh - 62px); overflow-y: auto;
  }
  .nav.is-open { transform: none; }
  .nav a { padding: 14px 16px; font-size: 16px; border-radius: var(--r-sm); }
  .nav a.is-active::after { display: none; }
  /* Le vert plein est reserve a la bibliotheque : la page courante
     se signale plus discretement, pour ne pas lui faire concurrence. */
  .nav a.is-active {
    background: var(--sage-100); color: var(--forest);
    border-color: rgba(47,107,82,.28); box-shadow: none;
  }

  /* Décor : on allège fortement */
  .backdrop__lines,
  .backdrop__leaf,
  .blob-soft,
  .panel__ring,
  .panel__halo   { display: none; }
  .arch::before  { animation: none; }
  .float-soft    { animation: none; }
  .hero__text    { animation: none; }
  .brand__mark .petal { animation: none; }

  /* Hero : le texte d'abord, l'image ensuite, rien qui déborde */
  .hero { padding: 26px 0 4px; }
  .hero h1 { margin-top: 14px; }
  .hero__lede { margin-top: 14px; }
  .hero__cta { margin-top: 20px; gap: 8px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .arch { max-width: 320px; margin-top: 34px; }
  .arch__mascotte { width: 76px; bottom: -10px; right: -4px; }

  /* Bandeau et blocs : moins de rembourrage, plus de contenu visible */
  .band { margin-top: 26px; padding: 16px 18px; border-radius: 22px; gap: 6px; }
  .band .band__ring { display: none; }   /* pas de cercle sur mobile */
  .band__kicker { font-size: 18px; }
  .band__title { font-size: 19px; line-height: 1.3; }
  .band__info { font-size: 14px; line-height: 1.6; }
  .section { padding: 32px 0 0; }
  .section--tight { padding: 24px 0 0; }
  .panel { padding: 20px; border-radius: 26px; }

  /* Cartes : titre lisible, bouton pleine largeur */
  .card__body { padding: 18px; gap: 12px; }
  .card__title { font-size: 21px; }
  .card__foot { flex-direction: column; align-items: stretch; gap: 10px; }
  .card__foot .btn { width: 100%; }
  .tile { padding: 22px 20px; }
  .tile img { width: 82px; }

  /* Agenda : la photo passe en bandeau au-dessus */
  .event__head { flex-direction: column; align-items: stretch; padding: 16px; }
  .event__vignette { width: 100%; aspect-ratio: 16/9; }
  .event__date {
    width: auto; display: flex; align-items: baseline; gap: 8px;
    padding: 8px 14px; align-self: flex-start; border-radius: var(--r-pill);
  }
  .event__date b { font-size: 20px; }
  .event__date span { margin-top: 0; }
  .event__body h2, .event__body h3 { font-size: 20px; margin: 8px 0 4px; }
  .event__head .btn { width: 100%; }
  .event__detail { padding: 0 16px 20px; }
  .programme > div { flex-direction: column; gap: 2px; }
  .programme b { width: auto; }

  /* Achat et lecture */
  .lock { padding: 20px; }
  .lock__option { padding: 18px; }
  .lock__option .btn { width: 100%; }
  .audio-strip { padding: 10px 12px; }
  .player { padding: 20px; }
  .player__cover { width: 60px; height: 60px; }

  /* Formulaires : cibles confortables, pas de zoom iOS (16 px mini) */
  .field input, .field select, .field textarea { font-size: 16px; padding: 15px 16px; }
  .form-row { grid-template-columns: 1fr; }
  .btn { padding: 15px 22px; }
  .btn--sm { padding: 12px 18px; }

  /* Galeries */
  .gallery { grid-template-columns: repeat(auto-fill, minmax(45%, 1fr)); }

  /* Pied de page */
  .footer { padding: 34px 16px 26px; }
  .footer__grid { gap: 22px; }
}

/* ------------------------- Tableaux : en fiches plutôt qu'en grille */
@media (max-width: 720px) {
  .table-wrap { border: 0; background: transparent; overflow: visible; }
  table.data { min-width: 0; display: block; }
  table.data thead { display: none; }
  table.data tbody { display: block; }
  table.data tr {
    display: block; margin-bottom: 12px; padding: 16px;
    border-radius: var(--r); background: var(--surface);
    border: 1.5px solid var(--line);
  }
  table.data tr:hover { background: var(--surface); }
  table.data td {
    display: flex; gap: 12px; align-items: flex-start; justify-content: space-between;
    padding: 7px 0; border: 0; text-align: right;
  }
  table.data td::before {
    content: attr(data-col);
    flex: none; font-size: 12px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .08em; color: var(--ink-mute); text-align: left; padding-top: 2px;
  }
  table.data td:empty { display: none; }
  table.data td .row-actions { justify-content: flex-end; }
  table.data td > form { display: inline-block; }
}

/* ------------------------------------------- Back-office mobile */
@media (max-width: 900px) {
  .admin-side {
    padding: 14px 16px;
    display: grid; gap: 12px;
  }
  .admin-side nav {
    margin-top: 0; grid-auto-flow: column; grid-auto-columns: max-content;
    overflow-x: auto; gap: 6px; padding-bottom: 4px;
    scrollbar-width: none;
  }
  .admin-side nav::-webkit-scrollbar { display: none; }
  .admin-side nav a { white-space: nowrap; }
  .admin-side__foot {
    margin-top: 0; padding-top: 12px;
    display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
  }
  .admin-side__foot p { margin: 0 !important; }
  .admin-main { padding: 18px 16px 34px; }
  .admin-head { margin-bottom: 18px; }
}

/* ------------------------------- Petits écrans : on resserre encore */
@media (max-width: 420px) {
  .hero h1 { font-size: 30px; }
  .band { padding: 14px 16px; }
  .tile img { width: 70px; }
  .gallery { grid-template-columns: 1fr; }
  .stat b { font-size: 30px; }
}

/* Moins de mouvement quand l'appareil le demande, ou sur petit écran */
@media (max-width: 720px) {
  .reveal { transition-duration: .45s; }
  .card:hover, .tile:hover, .pillar:hover { transform: none; }
  .btn:hover { transform: none; }
}

/* Le compte dans le menu : réservé au mobile ---------------------- */
.nav__separateur, .nav .nav__compte { display: none; }

@media (max-width: 720px) {
  /* La barre du haut se limite au strict nécessaire */
  .header__bar > .icon-btn,
  .header__bar > .account { display: none; }

  .nav__separateur {
    display: block; height: 1px; margin: 8px 2px;
    background: rgba(47,107,82,.16);
  }
  .nav .nav__compte {
    display: flex; align-items: center; gap: 10px;
    padding: 14px 16px; border-radius: var(--r-sm);
    font-size: 16px; font-weight: 700; color: var(--green);
    text-decoration: none;
  }
  .nav .nav__compte svg { width: 18px; height: 18px; flex: none; }
  .nav .nav__compte:hover { background: var(--sage-100); }
  .nav .nav__compte.is-active { background: var(--green); color: var(--cream); }
}

/* Fiches de tableau : rien ne doit dépasser de la carte ------------ */
@media (max-width: 720px) {
  table.data { table-layout: fixed; width: 100%; }
  table.data tr { overflow: hidden; }
  table.data td {
    flex-wrap: wrap; min-width: 0;
    overflow-wrap: anywhere; word-break: break-word;
  }
  table.data td::before { max-width: 42%; }
  table.data td.num { text-align: right; }

  /* Les actions passent en pleine largeur, sous leur intitulé */
  table.data td .row-actions {
    flex: 1 1 100%; justify-content: stretch; flex-wrap: wrap; gap: 8px; margin-top: 6px;
  }
  table.data td .row-actions > form { flex: 1 1 auto; display: block; }
  table.data td .row-actions .btn { width: 100%; }
  table.data td:last-child { flex-direction: column; align-items: stretch; text-align: left; }

  /* Une cellule sans contenu ne prend pas de place */
  table.data td:not([data-col]) { display: none; }
}

/* La barre de navigation du back-office se termine par un dégradé,
   pour qu'on devine qu'elle défile. */
@media (max-width: 900px) {
  .admin-side nav { position: relative; -webkit-overflow-scrolling: touch; }
  .admin-side { position: relative; }
  .admin-side::after {
    content: ""; position: absolute; right: 0; top: 58px; width: 34px; height: 46px;
    background: linear-gradient(90deg, transparent, var(--forest));
    pointer-events: none;
  }
}

/* ============================================================
   28. Menu — la bibliothèque audio, entrée phare
   ============================================================ */

.nav a.nav__phare {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 17px 9px 12px; border-radius: var(--r-pill);
  font-size: 14px; font-weight: 800;
  color: var(--forest);
  background: var(--sage-100);
  border: 1.5px solid rgba(47,107,82,.34);
  box-shadow: 0 8px 18px -14px rgba(30,76,57,.85);
}
.nav a.nav__phare .nav__phare-ico { display: flex; }
.nav a.nav__phare svg {
  width: 18px; height: 18px; flex: none;
  color: var(--clay); transition: color .2s;
}
/* Sur grand écran, l'entrée reste une pastille compacte */
.nav a.nav__phare small,
.nav a.nav__phare .nav__phare-fleche { display: none; }

.nav a.nav__phare:hover {
  background: var(--green); color: var(--cream); border-color: var(--green);
  box-shadow: 0 10px 22px -12px rgba(30,76,57,.9);
}
.nav a.nav__phare:hover svg { color: var(--sage-300); }

.nav a.nav__phare.is-active {
  background: var(--green); color: var(--cream); border-color: var(--green);
}
.nav a.nav__phare.is-active svg { color: var(--sage-300); }

/* ------ Sur mobile, l'entrée devient la vraie porte du site :
          une tuile pleine largeur, avec sa raison d'être écrite. */
@media (max-width: 720px) {
  .nav a.nav__phare {
    display: grid; width: 100%;
    grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
    padding: 15px 16px; border-radius: 20px;
    font-size: 17px; line-height: 1.2;
    background: var(--forest); color: var(--cream); border-color: var(--forest);
    box-shadow: 0 14px 26px -18px rgba(20,48,36,.95);
  }
  .nav a.nav__phare .nav__phare-ico {
    width: 42px; height: 42px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--clay); flex: none;
  }
  .nav a.nav__phare .nav__phare-ico svg { width: 21px; height: 21px; color: #fff; }

  .nav a.nav__phare .nav__phare-txt { min-width: 0; }
  .nav a.nav__phare small {
    display: block; margin-top: 3px;
    font-size: 13px; font-weight: 600; color: var(--sage-300);
  }
  .nav a.nav__phare .nav__phare-fleche { display: flex; color: var(--sage-300); }
  .nav a.nav__phare .nav__phare-fleche svg { width: 19px; height: 19px; color: inherit; }

  .nav a.nav__phare.is-active { background: var(--forest); border-color: var(--forest); }
  .nav a.nav__phare.is-active::after { display: none; }
}

/* ============================================================
   29. L'affiche de la séance et son lecteur
   ============================================================ */

/* --- L'affiche : l'image et l'écoute, tout en haut de la page --- */
.affiche {
  position: relative; margin-top: 22px;
  border-radius: var(--r-xl); overflow: hidden;
  background: var(--sage-100); border: 1.5px solid var(--line);
  aspect-ratio: 3/2;
}
.affiche img { width: 100%; height: 100%; object-fit: cover; display: block; }
.affiche__voile {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30,76,57,0) 38%, rgba(30,76,57,.72) 100%);
}
.affiche--verrou img { filter: saturate(.6) brightness(.86); }

.affiche__declencheur {
  position: absolute; inset: 0; display: grid; place-items: center;
  border: 0; background: none; cursor: pointer; padding: 0;
  color: inherit; text-decoration: none;
}
.affiche__rond {
  display: grid; place-items: center;
  width: 84px; height: 84px; border-radius: 50%;
  background: rgba(255,252,244,.94); color: var(--forest);
  box-shadow: 0 16px 34px -16px rgba(30,76,57,.9);
  transition: transform .25s ease, background .25s ease;
}
.affiche__rond svg { width: 30px; height: 30px; margin-left: 2px; }
.affiche__declencheur:hover .affiche__rond { transform: scale(1.07); background: #fff; }
.affiche__declencheur:focus-visible .affiche__rond { outline: 3px solid var(--clay); outline-offset: 4px; }

/* Une onde discrète, pour signaler que ça se clique */
.affiche__rond::before {
  content: ""; position: absolute; width: 84px; height: 84px; border-radius: 50%;
  border: 2px solid rgba(255,252,244,.5);
  animation: yac-onde 2.8s ease-out infinite;
}
@keyframes yac-onde {
  0%   { transform: scale(1);   opacity: .7; }
  100% { transform: scale(1.5); opacity: 0; }
}

.affiche__legende {
  position: absolute; left: 20px; bottom: 18px; margin: 0;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; color: var(--cream);
  text-shadow: 0 1px 10px rgba(30,76,57,.6);
}
.affiche__legende svg { width: 17px; height: 17px; }

/* --- Le lecteur ------------------------------------------------- */
.lecteur {
  position: fixed; inset: 0; z-index: 90;
  display: grid; place-items: center; padding: 20px;
}
.lecteur[hidden] { display: none; }
.lecteur__fond {
  position: absolute; inset: 0;
  background: rgba(20,48,36,.72); backdrop-filter: blur(6px);
}
.lecteur__boite {
  position: relative; z-index: 1;
  width: min(1040px, 100%); max-height: calc(100dvh - 40px);
  display: flex; flex-direction: column;
  background: var(--surface); border-radius: var(--r-xl);
  box-shadow: 0 40px 80px -30px rgba(20,48,36,.85);
  overflow: hidden;
  animation: yac-monte .32s cubic-bezier(.2,.8,.3,1) both;
}
@keyframes yac-monte {
  from { opacity: 0; transform: translateY(18px) scale(.98); }
  to   { opacity: 1; transform: none; }
}

.lecteur__tete {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px; border-bottom: 1.5px solid var(--line);
  background: var(--cream);
}
.lecteur__kicker {
  margin: 0 0 2px; display: flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 800; letter-spacing: .09em;
  text-transform: uppercase; color: var(--sage-400);
}
.lecteur__kicker svg { width: 15px; height: 15px; }
.lecteur__titre {
  margin: 0; font-family: var(--f-display); font-size: 21px;
  font-weight: 600; color: var(--forest);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.lecteur__fermer {
  margin-left: auto; flex: none;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: var(--surface); border: 1.5px solid var(--line); color: var(--ink-soft);
  transition: background .2s, color .2s, border-color .2s;
}
.lecteur__fermer:hover { background: var(--green); color: var(--cream); border-color: var(--green); }

.lecteur__corps {
  flex: 1; min-height: 0; display: grid;
  grid-template-columns: 1fr 290px;
}
.lecteur__corps--seul { grid-template-columns: 1fr; }

.lecteur__scene {
  position: relative; display: grid; place-items: center;
  background: var(--forest); min-height: 260px; padding: 20px;
}
.lecteur__scene video { width: 100%; max-height: 56vh; border-radius: var(--r); background: #000; }
.lecteur__pochette {
  width: min(300px, 62%); aspect-ratio: 1; object-fit: cover;
  border-radius: 190px 190px 34px 34px;
  box-shadow: 0 26px 50px -22px rgba(0,0,0,.7);
}

/* Les fiches, lisibles à côté de l'enregistrement */
.lecteur__fiches {
  border-left: 1.5px solid var(--line); background: var(--cream);
  padding: 16px; overflow-y: auto; display: grid; gap: 12px; align-content: start;
}
.lecteur__fiches-titre {
  margin: 0; display: flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-mute);
}
.lecteur__fiches-titre svg { width: 15px; height: 15px; }
.lecteur__fiche { margin: 0; }
.lecteur__fiche img {
  width: 100%; border-radius: var(--r-sm); cursor: zoom-in;
  border: 1.5px solid var(--line); background: var(--surface); display: block;
}
.lecteur__fiche figcaption { margin-top: 5px; font-size: 12.5px; color: var(--ink-mute); }
.lecteur__fiches-note { margin: 0; font-size: 12px; color: var(--ink-mute); font-style: italic; }

/* La barre de commandes */
.lecteur__barre {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 14px 20px; border-top: 1.5px solid var(--line); background: var(--cream);
}
.lecteur__commandes { display: flex; align-items: center; gap: 10px; }
.lecteur__bouton {
  position: relative; flex: none; cursor: pointer;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; grid-auto-flow: row;
  background: var(--surface); border: 1.5px solid var(--line); color: var(--forest);
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.lecteur__bouton:hover { background: var(--sage-100); border-color: var(--green); }
.lecteur__bouton:active { transform: scale(.94); }
.lecteur__bouton svg { width: 18px; height: 18px; }
.lecteur__bouton b {
  margin-top: -2px; font-size: 9.5px; font-weight: 800;
  line-height: 1; pointer-events: none;
}
.lecteur__bouton--principal {
  width: 58px; height: 58px;
  background: var(--green); border-color: var(--green); color: var(--cream);
}
.lecteur__bouton--principal:hover { background: var(--forest); border-color: var(--forest); }
.lecteur__bouton--principal svg { width: 24px; height: 24px; }

.lecteur__piste { flex: 1 1 240px; display: flex; align-items: center; gap: 12px; }
.lecteur__temps {
  flex: none; font-size: 13px; font-weight: 700; color: var(--ink-soft);
  font-variant-numeric: tabular-nums; min-width: 44px;
}
.lecteur__temps[data-duree] { text-align: right; }

.lecteur__piste input[type="range"] {
  flex: 1; -webkit-appearance: none; appearance: none;
  height: 6px; border-radius: 3px; cursor: pointer;
  background: var(--line); outline: none;
}
.lecteur__piste input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--green); border: 3px solid var(--surface);
  box-shadow: 0 2px 6px rgba(30,76,57,.4);
}
.lecteur__piste input[type="range"]::-moz-range-thumb {
  width: 17px; height: 17px; border-radius: 50%; border: 3px solid var(--surface);
  background: var(--green); box-shadow: 0 2px 6px rgba(30,76,57,.4);
}
.lecteur__piste input[type="range"]:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; }

/* Quand l'accès n'est pas ouvert, la fenêtre porte les formules */
.lecteur__deblocage { padding: 22px 20px 24px; overflow-y: auto; }
.lecteur__deblocage .lock__options { margin-top: 14px; }

body.lecteur-ouvert { overflow: hidden; }

/* --- Mobile : la fenêtre prend l'écran, les fiches passent dessous */
@media (max-width: 860px) {
  .lecteur { padding: 0; }
  .lecteur__boite {
    width: 100%; height: 100dvh; max-height: none; border-radius: 0;
    animation: none;
  }
  .lecteur__corps { grid-template-columns: 1fr; }
  .lecteur__scene { min-height: 200px; padding: 16px; }
  .lecteur__pochette { width: min(220px, 58%); }
  .lecteur__fiches {
    border-left: 0; border-top: 1.5px solid var(--line);
    grid-auto-flow: row; max-height: 34vh;
  }
  .lecteur__barre { padding: 12px 14px 18px; gap: 12px; justify-content: center; }
  .lecteur__piste { flex: 1 1 100%; order: -1; }
}

@media (max-width: 720px) {
  .affiche { margin-top: 18px; aspect-ratio: 4/3; }
  .affiche__rond, .affiche__rond::before { width: 70px; height: 70px; }
  .affiche__rond svg { width: 26px; height: 26px; }
  .affiche__legende { left: 14px; bottom: 12px; font-size: 13px; }
}

/* Le mouvement en moins pour qui le demande */
@media (prefers-reduced-motion: reduce) {
  .affiche__rond::before { animation: none; }
  .lecteur__boite { animation: none; }
}


/* ============================================================
   30. Consentement aux traceurs
   ============================================================ */

.cookies {
  position: fixed; z-index: 80;
  left: 16px; right: 16px; bottom: 16px;
  margin: 0 auto; max-width: 760px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px;
  padding: 18px 22px;
  background: var(--surface); color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 24px;
  box-shadow: 0 26px 50px -24px rgba(20,48,36,.6);
  animation: yac-monte .4s .5s cubic-bezier(.2,.8,.3,1) both;
}
.cookies__texte { flex: 1 1 320px; min-width: 0; }
.cookies__titre {
  margin: 0 0 4px; display: flex; align-items: center; gap: 7px;
  font-family: var(--f-display); font-size: 17px; font-weight: 600; color: var(--forest);
}
.cookies__titre svg { width: 17px; height: 17px; color: var(--sage-400); }
.cookies__corps { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
.cookies__corps a { color: var(--clay); font-weight: 700; }

.cookies__boutons { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cookies__lien {
  font-size: 14px; font-weight: 700; color: var(--ink-mute);
  text-decoration: underline; text-underline-offset: 3px;
}
.cookies__lien:hover { color: var(--forest); }

@media (max-width: 720px) {
  .cookies {
    left: 0; right: 0; bottom: 0; border-radius: 22px 22px 0 0;
    padding: 16px 18px 20px; gap: 12px; max-height: 72dvh; overflow-y: auto;
  }
  .cookies__boutons { width: 100%; }
  .cookies__boutons .btn { flex: 1 1 auto; justify-content: center; }
  .cookies__lien { width: 100%; text-align: center; padding-top: 2px; }
}

/* --- La bascule d'une catégorie -------------------------------- */
.consent-liste { display: grid; gap: 12px; }
.consent-ligne {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 16px 18px; border-radius: var(--r);
  background: var(--surface); border: 1.5px solid var(--line);
}
.consent-nom { margin: 0; font-weight: 800; color: var(--forest); font-size: 15.5px; }
.consent-resume { margin: 4px 0 0; font-size: 14px; line-height: 1.6; color: var(--ink-soft); }

.bascule {
  flex: none; margin-left: auto; cursor: pointer;
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 700; color: var(--ink-mute);
  user-select: none;
}
.bascule input { position: absolute; opacity: 0; width: 0; height: 0; }
.bascule__pastille {
  position: relative; flex: none;
  width: 46px; height: 27px; border-radius: 14px;
  background: var(--line); transition: background .22s ease;
}
.bascule__pastille::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 21px; height: 21px; border-radius: 50%;
  background: var(--surface); box-shadow: 0 2px 5px rgba(20,48,36,.3);
  transition: transform .22s ease;
}
.bascule input:checked + .bascule__pastille { background: var(--green); }
.bascule input:checked + .bascule__pastille::after { transform: translateX(19px); }
.bascule input:focus-visible + .bascule__pastille { outline: 3px solid var(--clay); outline-offset: 3px; }
.bascule input:checked ~ .bascule__mot { color: var(--green); }

.bascule--figee { cursor: default; }
.bascule--figee .bascule__pastille { background: var(--sage-400); opacity: .55; }
.bascule--figee .bascule__pastille::after { transform: translateX(19px); }

/* --- Une liste sobre, pour les pages légales -------------------- */
.liste-nette { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.liste-nette li {
  position: relative; padding-left: 24px;
  font-size: 15px; line-height: 1.7; color: var(--ink-soft);
}
.liste-nette li::before {
  content: ""; position: absolute; left: 4px; top: 10px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--sage-400);
}

/* Un bouton qui a l'allure d'un lien manuscrit */
button.link-hand { font: inherit; font-family: var(--f-hand); font-size: 21px; }
