/* ==========================================================================
   Natura'live — feuille de style principale
   Identité : noir du logo (#1d1d1b), papier chaud, vert historique Natura'live
   (#81c100, repris de l'ancien site). Motif : l'arc qui coiffe les barres du
   logo, décliné en coin arrondi supérieur gauche (classe .arc, boutons).
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1d1d1b;
  --ink-soft: #3a3935;
  --muted: #5f5d57;
  --paper: #f4f2ec;
  --paper-2: #ebe8df;
  --white: #fff;
  --line: rgba(29, 29, 27, 0.14);
  --green: #81c100;
  --green-ink: #4b6f00;

  --night: #131312;
  --night-2: #1d1d1b;
  --night-text: #ecebe6;
  --night-muted: #a9a69d;
  --night-line: rgba(236, 235, 230, 0.14);

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --display-stretch: 72%;

  --wrap: 1360px;
  --gutter: clamp(1rem, 4vw, 3rem);
  --section: clamp(4.5rem, 10vw, 9rem);
  --arc: clamp(2rem, 6vw, 5.5rem);
  --header-h: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
main:focus { outline: none; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: .75rem 1rem; background: var(--ink); color: var(--paper); text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.arc { border-top-left-radius: var(--arc); overflow: hidden; }

/* ---------- Typographie ---------- */
.display, .hero-title, .section-title, .page-title {
  font-stretch: var(--display-stretch);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: .95;
}
.section-title { font-size: clamp(2.1rem, 4.6vw, 4rem); }
.page-title { font-size: clamp(2.8rem, 8vw, 7rem); }
.eyebrow, .section-index, .work-type, .footer-title, .partners-title, .label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.section-index span { color: var(--green-ink); margin-right: .6em; font-variant-numeric: tabular-nums; }
.section-dark .section-index span, .section-contact .section-index span { color: var(--green); }

.prose { max-width: 62ch; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 1em; }
.prose a { color: var(--green-ink); }
.lead { font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.5; max-width: 52ch; }

.link { color: inherit; text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: .2em; }
.link:hover { text-decoration-thickness: 3px; }

.link-more {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; text-decoration: none; white-space: nowrap;
}
.link-more .icon { width: 1.2em; height: 1.2em; transition: transform .3s var(--ease); }
.link-more:hover .icon { transform: translateX(4px); }
.link-more .count {
  font-size: .75em; font-weight: 600; padding: .1em .55em; border-radius: 1em;
  border: 1px solid currentColor; opacity: .7;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .8rem 1.4rem;
  border: 1.5px solid transparent;
  border-radius: 1.4rem 3px 3px 3px;
  font-weight: 600; font-size: .98rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn .icon { width: 1.2em; height: 1.2em; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--green); color: var(--ink); }
.btn-accent:hover { background: #93d60f; }
.btn-ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--ink-soft); }
.btn-lg { min-height: 56px; padding: 1rem 1.8rem; font-size: 1.05rem; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
/* Flou sur un pseudo-élément : un backdrop-filter sur l'en-tête lui-même
   confinerait le menu mobile (position: fixed) à la hauteur de l'en-tête. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(244, 242, 236, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { height: 58px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 2.2rem; }
.site-nav > ul:first-child { display: flex; gap: clamp(1rem, 2.2vw, 2.2rem); }
.site-nav a { text-decoration: none; }
.site-nav > ul:first-child a {
  position: relative; display: block; padding: .4rem 0;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
}
.site-nav > ul:first-child a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--green); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.site-nav > ul:first-child a:hover::after,
.site-nav > ul:first-child a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav-social { display: flex; gap: .4rem; }
.site-nav-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; transition: background-color .2s; }
.site-nav-social a:hover { background: var(--paper-2); }
.site-nav-social .icon { width: 20px; height: 20px; }

.nav-toggle {
  display: none; align-items: center; gap: .7rem;
  min-height: 44px; padding: .5rem 0 .5rem .75rem;
  background: none; border: 0; cursor: pointer; font-weight: 600;
}
.nav-toggle-bars { display: grid; gap: 6px; width: 26px; }
.nav-toggle-bars span { display: block; height: 2px; background: currentColor; transition: transform .3s var(--ease); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
    flex-direction: column; align-items: stretch; justify-content: space-between; gap: 2rem;
    padding: 1.5rem var(--gutter) 2rem;
    background: var(--paper);
    overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s var(--ease); }
  .site-nav > ul:first-child { flex-direction: column; gap: 0; }
  .site-nav > ul:first-child a {
    padding: .7rem 0; border-bottom: 1px solid var(--line);
    font-size: clamp(1.8rem, 7vw, 2.6rem); font-stretch: var(--display-stretch); font-weight: 800; text-transform: uppercase;
  }
  .site-nav > ul:first-child a::after { bottom: -1px; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  height: clamp(540px, calc(100svh - var(--header-h)), 960px);
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; background: var(--night);
  overflow: hidden;
}
.hero-media, .hero-slide { position: absolute; inset: 0; }
.hero-media { z-index: -1; }
.hero-slide { opacity: 0; transition: opacity 1.4s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(10, 10, 9, .82) 0%, rgba(10, 10, 9, .35) 42%, rgba(10, 10, 9, 0) 70%),
    linear-gradient(to right, rgba(10, 10, 9, .62), rgba(10, 10, 9, .2) 45%, rgba(10, 10, 9, 0) 70%);
}
.hero-content { padding-top: 6rem; padding-bottom: clamp(5rem, 9vw, 7rem); text-shadow: 0 1px 24px rgba(0, 0, 0, .25); }
.hero .eyebrow { display: flex; align-items: center; gap: .8rem; color: #fff; margin-bottom: 1.2rem; }
.hero .eyebrow::before { content: ""; width: 2.2rem; height: 3px; background: var(--green); flex: none; }
/* Logo du hero : même fichier SVG que l'en-tête, affiché en blanc sur la photo. */
.hero-logo { margin-bottom: clamp(1.4rem, 3vw, 2.2rem); }
.hero-logo img { height: clamp(120px, 17vw, 230px); width: auto; filter: brightness(0) invert(1) drop-shadow(0 2px 18px rgba(0, 0, 0, .35)); }
.hero-title { font-size: clamp(2.9rem, 8.2vw, 7.6rem); max-width: 11ch; }
.hero-lead { margin-top: 1.4rem; max-width: 44ch; font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.5; color: rgba(255, 255, 255, .88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-controls {
  position: absolute; left: 0; right: 0; bottom: 0; margin-inline: auto;
  display: flex; align-items: center; justify-content: flex-end; gap: 1rem;
  padding-bottom: 1.4rem;
  font-size: .85rem;
}
.hero-caption { display: flex; gap: .9rem; align-items: baseline; color: rgba(255, 255, 255, .85); }
.hero-caption a { text-decoration: none; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: .78rem; }
.hero-caption a:hover { text-decoration: underline; text-decoration-color: var(--green); }
.hero-count { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--green); font-weight: 600; }
.hero-pause {
  display: grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid rgba(255, 255, 255, .5); border-radius: 50%;
  background: transparent; color: #fff; cursor: pointer;
}
.hero-pause .icon { width: 16px; height: 16px; }
.hero-pause:hover { background: rgba(255, 255, 255, .12); }

@media (max-width: 700px) {
  .hero { height: auto; min-height: clamp(560px, calc(100svh - var(--header-h)), 820px); }
  .hero-content { padding-bottom: 6.5rem; }
  .hero-controls { justify-content: space-between; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--night); color: var(--night-text); }
.section-flush { padding-top: 0; }
.section-dark + .section-dark { border-top: 1px solid var(--night-line); }
.section-head {
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 1rem 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head .section-index { grid-column: 1 / -1; }
.section-head .link-more { padding-bottom: .4rem; }
.section-dark .link-more { color: var(--night-text); }
@media (max-width: 700px) {
  .section-head { grid-template-columns: 1fr; }
  .br-lg { display: none; }
}

/* ---------- Réalisations ---------- */
.works { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(2rem, 3vw, 3rem) clamp(1rem, 2vw, 1.75rem); }
.work { grid-column: span 4; min-width: 0; }
.work-link { display: block; text-decoration: none; color: inherit; }
.work-media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: #222; }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .4s; }
.work-play {
  position: absolute; left: 1rem; bottom: 1rem;
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--green); color: var(--ink);
  opacity: 0; transform: scale(.85); transition: opacity .3s, transform .3s var(--ease);
}
.work-play .icon { width: 22px; height: 22px; margin-left: 2px; }
.work-link:hover .work-media img, .work-link:focus-visible .work-media img { transform: scale(1.04); }
.work-link:hover .work-play, .work-link:focus-visible .work-play { opacity: 1; transform: none; }
.work-text { padding-top: 1rem; }
.work-type { color: var(--green-ink); margin-bottom: .35rem; }
.section-dark .work-type { color: var(--green); }
.work-title { font-size: 1.2rem; line-height: 1.25; font-weight: 400; }
.work-artist { display: block; font-weight: 800; font-stretch: var(--display-stretch); text-transform: uppercase; font-size: 1.45rem; letter-spacing: .005em; line-height: 1.05; }
.work-song { display: block; margin-top: .2rem; opacity: .8; }

/* Grille éditoriale de l'accueil : rythme 8/4 · 4/4/4 · 4/8 · pleine largeur */
.works-featured .work:nth-child(1) { grid-column: span 8; }
.works-featured .work:nth-child(2) { grid-column: span 4; }
.works-featured .work:nth-child(2) .work-media { aspect-ratio: 4 / 5; }
.works-featured .work:nth-child(6) { grid-column: span 4; }
.works-featured .work:nth-child(6) .work-media { aspect-ratio: 4 / 5; }
.works-featured .work:nth-child(7) { grid-column: span 8; }
.works-featured .work:nth-child(1) .work-artist,
.works-featured .work:nth-child(7) .work-artist { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.works-featured .work:nth-child(8) { grid-column: 1 / -1; }
.works-featured .work:nth-child(8) .work-media { aspect-ratio: 21 / 9; }
.works-featured .work:nth-child(8) .work-artist { font-size: clamp(1.6rem, 3vw, 2.6rem); }

@media (max-width: 899px) {
  .work, .works .work:nth-child(n) { grid-column: span 6; }
  .works .work:nth-child(n) .work-media { aspect-ratio: 16 / 10; }
  .works-featured .work:nth-child(1), .works-featured .work:nth-child(8) { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
  .works .work:nth-child(n) { grid-column: 1 / -1; }
}

/* Filtres */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.filter {
  min-height: 44px; padding: .55rem 1.1rem; cursor: pointer;
  border: 1.5px solid var(--night-line); border-radius: 1.4rem 3px 3px 3px;
  background: transparent; color: var(--night-text); font-weight: 600; font-size: .92rem;
  transition: background-color .2s, color .2s, border-color .2s;
}
.filter:hover { border-color: var(--night-text); }
.filter[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--ink); }
.filter .count { opacity: .65; font-weight: 500; margin-left: .3em; }
.work[hidden] { display: none; }

/* ---------- Activités ---------- */
.activities { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.activity { padding: 2rem 2rem 2.2rem 0; border-bottom: 1px solid var(--line); }
.activity:not(:nth-child(4n + 1)) { padding-left: 2rem; border-left: 1px solid var(--line); }
.activity-num { display: block; color: var(--green-ink); font-weight: 600; font-size: .85rem; font-variant-numeric: tabular-nums; margin-bottom: 1.4rem; }
.activity-title { font-size: 1.35rem; line-height: 1.15; font-weight: 800; font-stretch: 80%; margin-bottom: .6rem; }
.activity-title a { text-decoration: none; }
.activity-title a:hover { text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: .2em; }
.activity p { color: var(--muted); }
@media (max-width: 899px) {
  .activities { grid-template-columns: 1fr 1fr; }
  .activity:nth-child(n) { padding: 1.6rem 1.4rem 1.8rem 0; border-left: 0; }
  .activity:nth-child(2n) { padding-left: 1.4rem; border-left: 1px solid var(--line); }
}
@media (max-width: 599px) {
  .activities { grid-template-columns: 1fr; }
  .activity:nth-child(n) { padding: 1.4rem 0 1.6rem; border-left: 0; }
}

/* ---------- Bloc texte / image ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split-text .section-title { margin: 1rem 0 1.6rem; }
.split-text .btn { margin-top: 2rem; }
.split-top { align-items: start; }
.split-top .section-title { margin-top: 1rem; }
.section-dark .prose { color: var(--night-muted); }
.section-dark .places li { border-color: var(--night-line); }
.credit { margin-top: .7rem; font-size: .8rem; color: var(--muted); }
@media (max-width: 899px) {
  .split { grid-template-columns: 1fr; }
  .split-media img { aspect-ratio: 4 / 3; }
}

.quote { margin-top: 2rem; padding-left: 1.2rem; border-left: 3px solid var(--green); }
.quote p { font-size: 1.35rem; font-weight: 600; font-stretch: 85%; line-height: 1.3; }
.quote footer { margin-top: .4rem; color: var(--muted); font-size: .9rem; }

/* ---------- Bandeau contact ---------- */
.section-contact { background: var(--ink); color: var(--paper); padding-block: clamp(4rem, 8vw, 7rem); }
.contact-band { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem 4rem; align-items: end; }
.contact-band .section-title { margin-top: 1rem; max-width: 16ch; }
.contact-band-actions { display: grid; gap: 1.2rem; justify-items: start; }
.contact-band-actions p { color: var(--night-muted); }
.contact-band-actions a.link { color: var(--paper); }
@media (max-width: 899px) { .contact-band { grid-template-columns: 1fr; } }

/* ---------- Partenaires ---------- */
.partners { background: var(--white); padding-block: 2.5rem; border-top: 1px solid var(--line); }
.partners-inner { display: flex; align-items: center; gap: 2rem 3rem; flex-wrap: wrap; }
.partners-title { color: var(--muted); }
.partners-list { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.8rem; flex: 1; }
.partners-list img { height: 56px; width: auto; max-width: 130px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.partners-list a:hover img, .partners-list a:focus-visible img { filter: none; opacity: 1; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--night); color: var(--night-text); padding-top: clamp(3.5rem, 7vw, 5.5rem); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1.3fr; gap: 3rem; padding-bottom: 3.5rem; }
.footer-name { font-size: 2rem; font-weight: 800; font-stretch: var(--display-stretch); text-transform: uppercase; line-height: 1; margin-bottom: .8rem; }
.footer-about p { color: var(--night-muted); }
.footer-about .footer-name { color: var(--night-text); }
.footer-about p + p { margin-top: .4rem; }
.footer-about .link { color: var(--night-text); }
.footer-title { color: var(--night-muted); margin-bottom: 1rem; }
.footer-nav li + li { margin-top: .35rem; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: var(--green); }
.social-list { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin-top: 1.4rem; }
.social-list a { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; min-height: 44px; }
.social-list a:hover { color: var(--green); }
.social-list .icon { width: 20px; height: 20px; }
.newsletter > p:not(.footer-title):not(.form-status) { color: var(--night-muted); margin-bottom: 1rem; }
.newsletter-row { display: flex; gap: .5rem; }
.newsletter-row input {
  flex: 1; min-width: 0; min-height: 48px; padding: .7rem 1rem;
  background: transparent; border: 1.5px solid var(--night-line); border-radius: 3px; color: var(--night-text);
}
.newsletter-row input::placeholder { color: var(--night-muted); }
.newsletter-row input:focus { border-color: var(--green); outline: none; }
.form-status { margin-top: .7rem; min-height: 1.5em; font-size: .9rem; color: var(--green); }
.footer-bottom {
  position: relative;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding-block: 1.4rem;
  color: var(--night-muted); font-size: .85rem;
}
.footer-bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid var(--night-line); }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--night-text); }
@media (max-width: 899px) { .footer-grid { grid-template-columns: 1fr 1fr; } .newsletter { grid-column: 1 / -1; } }
@media (max-width: 599px) { .footer-grid { grid-template-columns: 1fr; } .newsletter-row { flex-direction: column; } }

/* ---------- Visionneuses (vidéo / photo) ---------- */
.lightbox {
  width: min(1200px, 100vw - 2rem); max-width: none; max-height: none;
  padding: 0; border: 0; background: transparent; color: #fff; overflow: visible;
}
.lightbox::backdrop { background: rgba(8, 8, 7, .92); }
.lightbox-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.lightbox-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lightbox-caption { margin-top: .9rem; font-weight: 600; font-size: .95rem; }
.lightbox-caption small { display: block; font-weight: 400; color: var(--night-muted); }
.lightbox-close, .lightbox-nav {
  position: absolute; display: grid; place-items: center; width: 48px; height: 48px;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer;
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255, 255, 255, .22); }
.lightbox-close { top: -3.6rem; right: 0; }
.lightbox-photo .lightbox-frame { aspect-ratio: auto; background: transparent; display: grid; place-items: center; }
.lightbox-photo img { max-height: calc(100vh - 9rem); width: auto; margin-inline: auto; }
.lightbox-nav { top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: -4rem; }
.lightbox-next { right: -4rem; }
@media (max-width: 1340px) {
  .lightbox-prev { left: .5rem; } .lightbox-next { right: .5rem; }
  .lightbox-nav { background: rgba(0, 0, 0, .45); }
}

/* ---------- En-tête des pages intérieures ---------- */
.page-hero { padding-block: clamp(3.5rem, 8vw, 7rem) clamp(2.5rem, 5vw, 4rem); }
.page-hero .eyebrow { color: var(--green-ink); margin-bottom: 1.2rem; }
.page-hero .lead { margin-top: 1.6rem; color: var(--ink-soft); }
.page-hero .lead-more { margin-top: 1.2rem; }
.page-hero-dark { background: var(--night); color: var(--night-text); }
.page-hero-dark .eyebrow { color: var(--green); }
.page-hero-dark .lead { color: var(--night-muted); }
.page-cover { position: relative; }
.page-cover img { width: 100%; height: clamp(260px, 48vw, 620px); object-fit: cover; }

/* ---------- Galerie photo ---------- */
.gallery { columns: 3 280px; column-gap: 1rem; }
.gallery-item { break-inside: avoid; margin-bottom: 1rem; }
.gallery-item a { display: block; overflow: hidden; position: relative; }
.gallery-item img { width: 100%; transition: transform .8s var(--ease); }
.gallery-item a:hover img { transform: scale(1.03); }
.gallery-item figcaption { margin-top: .45rem; font-size: .8rem; color: var(--night-muted); }

/* ---------- Prestations ---------- */
.services { border-top: 1px solid var(--line); }
.service { display: grid; grid-template-columns: 5rem 1fr 1.2fr; gap: 1rem 3rem; padding-block: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.service-num { color: var(--green-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.service h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-stretch: var(--display-stretch); font-weight: 800; text-transform: uppercase; line-height: 1; }
.service p { color: var(--ink-soft); max-width: 56ch; }
.service .link-more { margin-top: 1rem; color: var(--green-ink); }
@media (max-width: 899px) { .service { grid-template-columns: 3rem 1fr; } .service > div { grid-column: 2; } }

.signature { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--night-line); border: 1px solid var(--night-line); }
.signature li { background: var(--night); padding: 2rem 1.6rem; }
.signature h3 { font-size: 1.25rem; font-weight: 800; font-stretch: 80%; margin-bottom: .6rem; color: var(--green); }
.signature p { color: var(--night-muted); font-size: .98rem; }
@media (max-width: 899px) { .signature { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .signature { grid-template-columns: 1fr; } }

/* ---------- À propos ---------- */
.places { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.places li { padding: .4rem .9rem; border: 1px solid var(--line); border-radius: 1rem 3px 3px 3px; font-size: .92rem; }
.press { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem 3rem; }
.press blockquote p { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 700; font-stretch: 82%; line-height: 1.2; }
.press blockquote footer { margin-top: .7rem; color: var(--muted); font-size: .9rem; }
.press blockquote::before { content: ""; display: block; width: 2.2rem; height: 3px; background: var(--green); margin-bottom: 1.1rem; }
@media (max-width: 899px) { .press { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .press { grid-template-columns: 1fr; } }

/* ---------- Formation ---------- */
.toc { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.toc a {
  display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1rem;
  border: 1.5px solid var(--line); border-radius: 1.4rem 3px 3px 3px; text-decoration: none; font-weight: 600; font-size: .92rem;
}
.toc a:hover { border-color: var(--ink); }
.domain + .domain { padding-top: 0; }
.domain-head { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 4rem; align-items: end; margin-bottom: 2.5rem; padding-bottom: 2rem; border-bottom: 2px solid var(--ink); }
.domain-head h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); }
.domain-head p { color: var(--ink-soft); }
@media (max-width: 899px) { .domain-head { grid-template-columns: 1fr; } }
.courses { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 1.5rem; }
.course {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line);
  border-top-left-radius: 2.5rem;
  padding: clamp(1.6rem, 3vw, 2.4rem);
}
.course-head { margin-bottom: 1.4rem; }
.course-tool { color: var(--muted); font-size: .85rem; margin-bottom: .4rem; }
.course h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); font-stretch: var(--display-stretch); font-weight: 800; text-transform: uppercase; line-height: 1; }
.course-intro { margin-top: .9rem; color: var(--ink-soft); }
.course h4 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--green-ink); margin: 1.5rem 0 .7rem; }
.checklist li { position: relative; padding-left: 1.5rem; }
.checklist li + li { margin-top: .4rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .62em; width: .7rem; height: 2px; background: var(--green-ink); }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tags li { padding: .25rem .7rem; background: var(--paper); border-radius: .8rem 2px 2px 2px; font-size: .88rem; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: .45rem 1.2rem; margin: 1.6rem 0 0; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: .95rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }
.facts-pending { margin-top: .9rem; font-size: .92rem; color: var(--muted); }
.course .btn { margin-top: auto; align-self: flex-start; }
.course-foot { margin-top: 1.8rem; padding-top: 0; }
.practical { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.practical > div { background: var(--paper-2); padding: 2rem 1.8rem; }
.practical h3 { font-size: 1.2rem; font-weight: 800; font-stretch: 80%; margin-bottom: .6rem; }
.practical p { color: var(--ink-soft); }
.note { margin-top: 1.5rem; font-size: .9rem; color: var(--muted); }

/* ---------- Formulaires ---------- */
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
@media (max-width: 899px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-aside dl { display: grid; gap: 1.5rem; }
.contact-aside dt { margin-bottom: .3rem; }
.contact-aside dd { margin: 0; font-size: 1.15rem; }
.contact-aside .social-list { margin-top: 0; }
.form { display: grid; gap: 1.3rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
@media (max-width: 599px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .45rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: .8rem 1rem;
  background: var(--white); border: 1.5px solid rgba(29, 29, 27, .28); border-radius: 3px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 200px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(129, 193, 0, .45); }
.field-hint { font-size: .85rem; color: var(--muted); margin-top: .35rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status-box { padding: 1rem 1.2rem; border-left: 4px solid var(--green); background: var(--white); font-weight: 600; }
.form-status-box.is-error { border-left-color: #b3261e; }
.form-status-box:empty { display: none; }
.form .btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Animations discrètes ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

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

@media print {
  .site-header, .site-footer, .hero-controls, .lightbox, .partners { display: none; }
  body { background: #fff; }
}
