/* =========================================================
   COMPAGNIE CAB-ART — Feuille de style du site
   Charte : fonds blanc pur et terre (foncé), accents terracotta et safran,
   bandeau photo en haut de chaque page, liseré kente en pied de page seulement.
   ========================================================= */

/* Polices DM Sans (texte) et Unbounded (titres) : déclarées dans css/fonts.css, où elles sont
   intégrées (fichier généré par tools/build-fonts-css.php). Hébergées sur le site, allégées aux seules
   graisses utilisées, elles arrivent avec les styles : le texte s'affiche d'emblée dans la bonne police. */

:root {
  /* Fonds clairs : blanc pur (plus de crème ni de sable) ; --tint = touche terracotta très légère */
  --cream: #ffffff;
  --sand: #ffffff;
  --white: #ffffff;
  --tint: rgba(200, 71, 30, 0.1);
  --mist: rgba(42, 26, 18, 0.06);
  --earth: #2a1a12;
  --earth-2: #3a2519;
  --terracotta: #c8471e;
  --terracotta-dark: #a93a16;
  --saffron: #f2b33d;
  --lilac: #a472b1;
  --green: #1f6b4a;
  --text: #2a1a12;
  --text-soft: #6e5a4c;
  --line: rgba(42, 26, 18, 0.12);
  --shadow: 0 10px 30px rgba(42, 26, 18, 0.06);
  --shadow-lift: 0 20px 44px rgba(42, 26, 18, 0.12);

  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;

  --radius: 18px;
  --container: 1200px;
  --header-h: 80px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: inherit; text-decoration: none; }
.icon { width: 1.1em; height: 1.1em; flex-shrink: 0; vertical-align: -0.15em; }

/* Grands titres : police Unbounded en demi-gras, tailles mesurées.
   Petits titres (cartes, équipe, coordonnées) : police du texte, plus fine et plus lisible. */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 0.5em;
}
/* Titres répartis en lignes de longueur égale (évite un mot seul sur la dernière ligne) */
h1, h2 { text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
h2 { font-size: clamp(1.55rem, 2.7vw, 2.2rem); }
h3 { font-family: var(--font-body); font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; }
/* Paragraphes justifiés, comme dans un livre ; la césure automatique (selon la langue de la page)
   évite les grands blancs entre les mots, surtout sur téléphone. Pas de césure dans les mots de moins
   de 9 signes (« l'INSAAC ») et au moins 4 lettres de chaque côté du tiret. */
main p {
  text-align: justify;
  -webkit-hyphens: auto;
  hyphens: auto;
  hyphenate-limit-chars: 9 4 4;
  -webkit-hyphenate-limit-before: 4;
  -webkit-hyphenate-limit-after: 4;
  text-wrap: pretty;
}
/* Sauf les textes courts ou en colonne étroite (justifiés, ils se creusent de grands blancs) :
   intros à côté des titres, chapôs des bandeaux, cartes, frise, textes centrés, coordonnées, formulaires */
.section-head p,
.page-hero p,
.hero-lead,
.tile p,
.value p,
.news-card p,
.show-card p,
.tl-body p,
.cta p,
.quote-band p,
.done-head p,
.done-foot p,
.notice-card p,
.empty-dates p,
.contact-item p,
.member p,
main .form-note,
main .field-help,
main .field-error {
  text-align: inherit;
  -webkit-hyphens: manual;
  hyphens: manual;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
.container.narrow { max-width: 820px; }

.hl { color: var(--terracotta); }
.hl-saffron { color: var(--saffron); }
.soft { color: var(--text-soft); }
.nowrap { white-space: nowrap; }
/* Un élément masqué reste masqué, quel que soit son style */
[hidden] { display: none !important; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  background: currentColor;
  transform: rotate(45deg);
}
.eyebrow.light { color: var(--saffron); }

/* ---------- Accessibilité ---------- */
.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; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--earth); color: var(--cream); padding: 10px 18px; border-radius: 10px; font-weight: 700; transition: top 0.2s; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--terracotta); color: #fff; }
.btn-primary:hover { background: var(--terracotta-dark); box-shadow: 0 10px 24px rgba(200, 71, 30, 0.25); }
.btn-saffron { background: var(--saffron); color: var(--earth); }
.btn-saffron:hover { box-shadow: 0 10px 24px rgba(242, 179, 61, 0.35); }
.btn-outline { border-color: rgba(42, 26, 18, 0.22); color: var(--earth); }
.btn-outline:hover { background: var(--earth); border-color: var(--earth); color: var(--cream); }
.btn-outline-light { border-color: rgba(251, 246, 238, 0.5); color: var(--cream); }
.btn-outline-light:hover { background: var(--cream); border-color: var(--cream); color: var(--earth); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- En-tête ---------- */
/* Barre « intelligente » : elle se resserre au défilement, se cache quand on descend
   et revient dès qu'on remonte (classes posées par main.js). */
.site-header {
  --bar-h: var(--header-h);
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: var(--bar-h);
  z-index: 100;
  transition: height 0.35s var(--ease), top 0.4s var(--ease);
}
.site-header.scrolled { --bar-h: 64px; }
.site-header.is-hidden { top: calc(-1 * var(--bar-h)); }
/* Fond flouté porté par un pseudo-élément : posé sur l'en-tête lui-même, le backdrop-filter
   enfermerait le menu mobile (en position fixe) dans la hauteur de la barre. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
  opacity: 0;
  transition: opacity 0.35s;
}
.site-header.scrolled::before { opacity: 1; }
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* Ligne de lecture sous la barre (reste en haut de l'écran quand la barre se cache) */
.scroll-progress {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--terracotta);
  transform: scaleX(var(--progress, 0));
  transform-origin: 0 50%;
  pointer-events: none;
}

/* Logo officiel (fichiers fournis par la compagnie) : version courte en en-tête, complète en pied de page */
.logo { display: inline-flex; align-items: center; }
.logo img { width: auto; height: 40px; transition: height 0.35s var(--ease); }
.site-header.scrolled .logo img { height: 34px; }
.footer-about .logo img { height: 96px; }

.nav { display: flex; align-items: center; gap: 18px; }
.nav-links { position: relative; display: flex; align-items: center; gap: 2px; }
.nav-link {
  position: relative;
  z-index: 1;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.25s, background-color 0.25s;
}
.nav-link:hover { color: var(--terracotta); }
/* Page en cours : pastille foncée, impossible à manquer */
.nav-link.active,
.nav-link.active:hover { background: var(--earth); color: var(--cream); }
/* Pastille glissante (créée par main.js) : elle suit la souris puis revient sous la page en cours */
.nav-pill {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  border-radius: 999px;
  background: rgba(200, 71, 30, 0.12);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s var(--ease), width 0.45s var(--ease), height 0.45s var(--ease), opacity 0.3s, background-color 0.3s;
}
.nav-pill.on { opacity: 1; }
.nav-pill.instant { transition: none; }
.nav .btn { padding: 10px 22px; }
.nav .btn[aria-current="page"] { background: var(--earth); }
.nav-socials { display: none; }

/* En-tête transparent posé sur la photo de l'accueil (grands écrans) */
@media (min-width: 1181px) {
  .on-photo .site-header:not(.scrolled) .nav-link,
  .on-photo .site-header:not(.scrolled) .lang-switch { color: #fff; }
  .on-photo .site-header:not(.scrolled) .nav-link.active { background: #fff; color: var(--earth); }
  .on-photo .site-header:not(.scrolled) .nav-pill { background: rgba(255, 255, 255, 0.18); }
}

.lang-switch {
  display: inline-flex;
  border: 1.5px solid rgba(42, 26, 18, 0.25);
  border-radius: 999px;
  overflow: hidden;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.lang-switch span { padding: 4px 10px; transition: background 0.25s, color 0.25s; }
.lang-switch span.on { background: var(--earth); color: var(--cream); }
.lang-switch:hover span:not(.on) { background: var(--mist); color: var(--earth); }
.on-photo .site-header:not(.scrolled) .lang-switch { border-color: rgba(255, 255, 255, 0.6); }
.on-photo .site-header:not(.scrolled) .lang-switch span.on { background: #fff; color: var(--earth); }

.menu-toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  background: none;
  cursor: pointer;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  background: var(--earth);
  transform: translateX(-50%);
  transition: transform 0.3s, background 0.3s;
}
.menu-toggle span { top: 50%; }
.menu-toggle span::before { content: ""; top: -6px; }
.menu-toggle span::after { content: ""; top: 6px; }
.on-photo .site-header:not(.scrolled) .menu-toggle { border-color: rgba(255, 255, 255, 0.5); }
.on-photo .site-header:not(.scrolled) .menu-toggle span,
.on-photo .site-header:not(.scrolled) .menu-toggle span::before,
.on-photo .site-header:not(.scrolled) .menu-toggle span::after { background: #fff; }
.menu-open .menu-toggle span { background: transparent !important; }
.menu-open .menu-toggle span::before { transform: translateX(-50%) translateY(6px) rotate(45deg); background: var(--earth) !important; }
.menu-open .menu-toggle span::after { transform: translateX(-50%) translateY(-6px) rotate(-45deg); background: var(--earth) !important; }

/* ---------- Accueil : photo plein écran ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 60px) 0 100px;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-photo { position: absolute; inset: 0; z-index: -2; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(42, 26, 18, 0.45) 0%, rgba(42, 26, 18, 0.15) 25%, rgba(42, 26, 18, 0.6) 50%, rgba(42, 26, 18, 0.92) 100%),
    linear-gradient(90deg, rgba(42, 26, 18, 0.45), transparent 70%);
}
.hero h1 { max-width: 13ch; margin-bottom: 0.4em; }
.hero h1 em { font-style: normal; color: var(--saffron); }
.hero-lead { max-width: 520px; font-size: 1.12rem; color: rgba(255, 255, 255, 0.88); margin: 0 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.85rem;
  font-weight: 600;
}
.hero-tag b { flex-shrink: 0; padding: 3px 10px; border-radius: 999px; background: var(--saffron); color: var(--earth); font-size: 0.74rem; white-space: nowrap; }

/* Sur grand écran, la photo (verticale) occupe la droite et se fond dans le fond terre. */
@media (min-width: 901px) {
  .hero { align-items: center; padding-bottom: 80px; background: var(--earth); }
  .hero-photo { left: 46%; }
  .hero-photo img { object-position: center 25%; }
  .hero::before {
    background:
      linear-gradient(90deg, var(--earth) 46%, rgba(42, 26, 18, 0.55) 54%, rgba(42, 26, 18, 0) 68%),
      linear-gradient(180deg, rgba(42, 26, 18, 0.55) 0%, rgba(42, 26, 18, 0) 22%, rgba(42, 26, 18, 0) 80%, rgba(42, 26, 18, 0.45) 100%);
  }
}

/* ---------- En-tête des pages intérieures : bandeau photo pleine largeur ---------- */
/* La photo couvre tout le bandeau ; un voile sombre à gauche rend le titre (en blanc) lisible,
   la photo reste lumineuse à droite. Sans photo (page-hero-plain) : fond terre uni. */
.page-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 540px;
  padding: calc(var(--header-h) + 60px) 0 72px;
  overflow: hidden;
  background: var(--earth);
  color: #fff;
}
.page-hero .container { width: 100%; }
.page-hero-photo { position: absolute; inset: 0; z-index: -2; }
.page-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(42, 26, 18, 0.9) 0%, rgba(42, 26, 18, 0.72) 38%, rgba(42, 26, 18, 0.18) 76%, rgba(42, 26, 18, 0) 100%),
    linear-gradient(0deg, rgba(42, 26, 18, 0.5) 0%, rgba(42, 26, 18, 0) 42%);
}
.page-hero-plain { min-height: 0; }
.page-hero-plain::before { display: none; }
.page-hero-text { max-width: 640px; }
.page-hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
.page-hero h1 .hl { color: var(--saffron); }
.page-hero p { max-width: 520px; margin: 0; font-size: 1.1rem; color: rgba(255, 255, 255, 0.86); }
.page-hero .eyebrow { color: var(--saffron); }
.breadcrumb { margin-bottom: 1.3rem; font-size: 0.85rem; font-weight: 600; color: rgba(255, 255, 255, 0.7); }
.breadcrumb a { color: #fff; transition: color 0.25s; }
.breadcrumb a:hover { color: var(--saffron); }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
/* Bloc d'appel à l'action juste après une section blanche : pas de double marge entre les deux */
section:not([class]) + .cta-section { padding-top: 0; }
/* Anciennes sections « sable » : fond blanc, séparées du reste par un fin filet */
.section-sand { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-earth { background: var(--earth); color: var(--cream); }
.section-earth .soft,
.section-earth .section-head p { color: rgba(251, 246, 238, 0.72); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 52px;
}
.section-head h2 { max-width: 20ch; margin: 0; }
.section-head p { max-width: 420px; margin: 0; color: var(--text-soft); }
.section-title { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 28px; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.grid-top { align-items: start; }
.center-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 44px; }
.empty { padding: 40px 0; text-align: center; color: var(--text-soft); }

/* ---------- Photo en arche ---------- */
/* La photo, une ombre douce, un fin contour terracotta décalé de la même forme, et une étiquette foncée */
.arch-wrap { position: relative; padding: 0 24px 24px 0; isolation: isolate; }
.arch-wrap::before {
  content: "";
  position: absolute;
  inset: 24px 0 0 24px;
  z-index: -1;
  border: 2px solid var(--terracotta);
  border-radius: 400px 400px var(--radius) var(--radius);
}
.arch {
  aspect-ratio: 4 / 5;
  border-radius: 400px 400px var(--radius) var(--radius);
  overflow: hidden;
  box-shadow: 0 34px 60px -26px rgba(42, 26, 18, 0.45);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch-badge {
  position: absolute;
  left: -20px;
  bottom: 56px;
  padding: 16px 22px 17px;
  border-radius: 16px;
  background: var(--earth);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.3;
  box-shadow: 0 18px 40px rgba(42, 26, 18, 0.28);
}
.arch-badge b { display: block; margin-bottom: 2px; font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; color: var(--saffron); }

.check-list { display: grid; gap: 12px; margin: 26px 0 34px; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 14px; font-weight: 500; }
.check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 3px;
  border: 1.5px solid var(--terracotta);
  border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8471e' stroke-width='3'%3E%3Cpath d='M6 12l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Créations : cartes photo de l'accueil ---------- */
/* Les cartes occupent toute la largeur, alignées sur le titre de la section */
.show-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.show-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.show-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.show-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 45%, rgba(42, 26, 18, 0.88));
}
.show-card:hover img { transform: scale(1.04); }
.show-card .inner { position: absolute; inset: auto 0 0 0; padding: 32px; }
.show-card .tag { margin-bottom: 14px; }
.show-card h3 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 600; letter-spacing: -0.03em; margin-bottom: 8px; }
.show-card p { max-width: 38ch; margin: 0 0 14px; color: rgba(255, 255, 255, 0.85); }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.more .icon { transition: transform 0.3s; }
.show-card .more { color: var(--saffron); }
.show-card:hover .more .icon,
.news-card:hover .more .icon { transform: translateX(5px); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.74rem;
  font-weight: 700;
}
.tag.solid { background: var(--terracotta); color: #fff; }
.tag.light { background: var(--white); border: 1px solid rgba(42, 26, 18, 0.16); color: var(--earth); }

/* ---------- Agenda ---------- */
.event-list { display: grid; gap: 14px; }
.event-card {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 18px 24px 18px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.event-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.event-date {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 4px;
  padding: 14px 6px;
  border-radius: 14px;
  background: var(--earth);
  color: #fff;
  font-family: var(--font-display);
  line-height: 1;
  text-align: center;
}
.ed-day { font-size: 1.9rem; font-weight: 600; color: var(--saffron); }
.ed-month { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.06em; }
.ed-year { font-size: 0.7rem; color: rgba(255, 255, 255, 0.6); }
.event-body h3 { margin-bottom: 8px; font-size: 1.25rem; }
.event-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; list-style: none; font-size: 0.93rem; color: var(--text-soft); }
.event-meta li { display: inline-flex; align-items: center; gap: 7px; }
.event-meta .icon { color: var(--terracotta); }
.event-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.seats { padding: 5px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; white-space: nowrap; }
.seats-open { background: rgba(31, 107, 74, 0.1); color: var(--green); }
.seats-full { background: var(--terracotta); color: #fff; }
.seats-closed { border: 1px solid var(--line); color: var(--text-soft); }

.empty-dates {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
}
.empty-dates > .icon { width: 48px; height: 48px; color: var(--terracotta); }
.empty-dates h3 { margin-bottom: 6px; }
.empty-dates p { margin: 0; color: var(--text-soft); }
.empty-dates .btn { flex-shrink: 0; margin-left: auto; }

.past-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.past-list li {
  display: grid;
  grid-template-columns: 190px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 16px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}
.past-list time { font-weight: 700; color: var(--terracotta); }
.past-list span { font-size: 0.93rem; color: var(--text-soft); }

/* ---------- Services ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile {
  display: flex;
  flex-direction: column;
  padding: 34px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
/* Icône dans un fin cercle terracotta (sans aplat), qui se remplit au survol */
.tile-icon,
.value .ico,
.contact-item .ico {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  border: 1.5px solid var(--terracotta);
  border-radius: 50%;
  color: var(--terracotta);
  transition: background 0.3s, color 0.3s;
}
.tile-icon .icon,
.value .ico .icon { width: 22px; height: 22px; }
.tile:hover .tile-icon,
a.contact-item:hover .ico { background: var(--terracotta); color: #fff; }
.tile h3 { margin: 0 0 10px; font-size: 1.15rem; }
.tile p { margin: 0; font-size: 0.97rem; color: var(--text-soft); }
.tile ul { margin: 18px 0 0; padding: 0; list-style: none; font-size: 0.92rem; color: var(--text-soft); }
.tile li { display: flex; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.tile li::before { content: "—"; color: var(--terracotta); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step {
  padding: 30px 26px 26px;
  border: 1px solid rgba(251, 246, 238, 0.14);
  border-radius: var(--radius);
  background: rgba(251, 246, 238, 0.05);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--saffron);
  color: var(--earth);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}
.step h3 { color: var(--cream); }
.step p { margin: 0; font-size: 0.96rem; color: rgba(251, 246, 238, 0.72); }

/* ---------- Galerie ---------- */
.gallery-preview { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-preview a { position: relative; display: block; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; }
.gallery-preview img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.gallery-preview a:hover img { transform: scale(1.05); }

.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--earth);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.filter.on,
.filter:hover { background: var(--earth); border-color: var(--earth); color: var(--cream); }

/* Mosaïque : chaque photo garde son format d'origine (rien n'est recadré), en colonnes */
.photo-grid { columns: 4 230px; column-gap: 12px; }
.photo-tile {
  position: relative;
  display: block;
  margin-bottom: 12px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--mist);
  break-inside: avoid;
}
.photo-tile img { width: 100%; height: auto; transition: transform 0.8s var(--ease); }
.photo-tile .ph-pattern { aspect-ratio: 4 / 3; }
.photo-tile:hover img { transform: scale(1.04); }
.photo-tile[hidden] { display: none; }
.m-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 30px 18px 14px;
  background: linear-gradient(transparent, rgba(42, 26, 18, 0.85));
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}
.photo-tile:hover .m-caption,
.photo-tile:focus-visible .m-caption { opacity: 1; transform: none; }
.m-play,
.play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.92);
  color: var(--terracotta);
  transform: translate(-50%, -50%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s var(--ease);
}
.m-play { width: 64px; height: 64px; }
.m-play .icon { width: 26px; height: 26px; margin-left: 3px; }
.play-btn { width: 80px; height: 80px; }
.play-btn .icon { width: 32px; height: 32px; margin-left: 4px; }
.play-btn:hover { transform: translate(-50%, -50%) scale(1.08); }
.ph-pattern { display: block; width: 100%; height: 100%; background: var(--mist); }

/* Visionneuse photos & vidéos : une bande de diapositives qu'on fait défiler
   (doigt, molette, flèches, clavier), chaque photo s'arrêtant bien au centre */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(20, 12, 8, 0.95);
}
.lightbox[hidden] { display: none; }
.lb-track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.lb-track::-webkit-scrollbar { display: none; }
.lb-slide {
  display: flex;
  flex: 0 0 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 70px 96px 34px;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}
.lb-media { display: flex; align-items: center; justify-content: center; flex: 1; width: 100%; min-height: 0; }
.lb-media img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; -webkit-user-select: none; user-select: none; }
.lb-media iframe { width: min(100%, 1100px); height: auto; max-height: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; background: #000; }
.lb-caption { margin-top: 16px; text-align: center; font-weight: 600; color: var(--cream); }
.lb-count {
  position: absolute;
  top: 31px;
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(251, 246, 238, 0.75);
  pointer-events: none;
}
.lightbox button {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  background: rgba(251, 246, 238, 0.12);
  color: var(--cream);
  cursor: pointer;
  transition: background 0.25s;
}
.lightbox button:hover { background: var(--terracotta); }
.lightbox button .icon { width: 24px; height: 24px; }
.lb-close { top: 18px; right: 18px; }
.lb-prev,
.lb-next { top: 50%; margin-top: -25px; }
.lb-prev { left: 22px; }
.lb-next { right: 22px; }
.lightbox.single .lb-prev,
.lightbox.single .lb-next,
.lightbox.single .lb-count { display: none; }
.lb-open { overflow: hidden; }

/* ---------- Citation ---------- */
.quote-band { padding: 96px 0; text-align: center; background: var(--cream); }
.quote-mark { display: block; margin-bottom: 18px; font-family: var(--font-display); font-size: 4rem; line-height: 0.5; color: var(--terracotta); }
/* Citation dans la police du texte, plus légère et plus lisible que la police des titres */
.quote {
  max-width: 34ch;
  margin: 0 auto;
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--earth);
  text-wrap: balance;
}
.quote-author { margin-top: 24px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--terracotta); }

/* ---------- Actualités ---------- */
/* Grille alignée sur le titre de la section (même avec seulement deux actualités) */
.news { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.news-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.news-card a { display: flex; flex-direction: column; height: 100%; }
.news-card .ph { aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist); }
.news-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.news-card .body { display: flex; flex: 1; flex-direction: column; padding: 22px 24px 26px; }
.news-card time { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terracotta); }
.news-card h3 { margin: 10px 0 8px; font-size: 1.1rem; line-height: 1.3; }
.news-card p { margin: 0; font-size: 0.94rem; color: var(--text-soft); }
.news-card .more { margin-top: auto; padding-top: 16px; font-size: 0.9rem; color: var(--terracotta); }

.pagination { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 50px; font-weight: 700; }

.article { padding-bottom: 90px; }
/* En-tête d'article : bandeau avec la photo de l'actualité, comme les autres pages */
.article-hero .page-hero-text { max-width: 760px; }
.article-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.article-date { display: block; margin-bottom: 14px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--saffron); }
.article-lead { margin: 0; font-size: 1.15rem; color: rgba(255, 255, 255, 0.86); }
.prose { padding: 46px 0 10px; font-size: 1.08rem; }
.prose.legal { padding-top: 0; }
.prose p { margin-bottom: 1.3em; }
.prose h2 { margin: 1.8em 0 0.6em; font-size: 1.35rem; }
.prose a { color: var(--terracotta); text-decoration: underline; overflow-wrap: anywhere; }
.share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 10px 0 34px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.share > span { display: inline-flex; align-items: center; gap: 8px; margin-right: 6px; font-weight: 700; }
.share a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); transition: background 0.25s, color 0.25s, border-color 0.25s; }
.share a:hover { background: var(--terracotta); border-color: var(--terracotta); color: #fff; }
.share a .icon { width: 18px; height: 18px; }

/* ---------- La compagnie ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value {
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.value p { margin: 0; font-size: 0.96rem; color: var(--text-soft); }

/* Rangées de 3 ; une dernière rangée incomplète reste centrée */
.team { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; }
.member { flex: 0 1 calc((100% - 60px) / 3); }
.member-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  margin-bottom: 22px;
  border: 1.5px solid var(--terracotta);
  border-radius: 300px 300px var(--radius) var(--radius);
  overflow: hidden;
  background: var(--white);
}
.member-photo img { width: 100%; height: 100%; object-fit: cover; }
/* Portrait pris sur fond blanc : il se fond dans l'arche blanche (même style que les autres). */
.member-photo img.on-white { mix-blend-mode: multiply; object-position: center top; }
.team-note { max-width: 560px; margin: 44px auto 0; text-align: center; color: var(--text-soft); }
/* Sans photo : arche terre et initiales safran (comme les étiquettes), en attendant le portrait */
.member-photo.no-photo { border-color: var(--earth); background: var(--earth); }
.member-photo .initials {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--saffron);
}
.member h3 { margin-bottom: 4px; font-size: 1.35rem; }
/* Surnom à côté du nom (passe à la ligne entier si la place manque) : les rôles restent alignés */
.member h3 .alias { font-size: 0.9rem; font-weight: 400; color: var(--text-soft); white-space: nowrap; }
.member .role { font-size: 0.9rem; font-weight: 700; color: var(--terracotta); }
.member p { margin-top: 12px; font-size: 0.96rem; color: var(--text-soft); }

/* Colonne de gauche de la frise : le titre et une photo de ONE AND TWO restent à l'écran pendant la lecture */
.tl-intro { position: sticky; top: 110px; }
.tl-photo {
  margin-top: 34px;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius);
  overflow: hidden;
}
.tl-photo img { width: 100%; height: 100%; object-fit: cover; }
.timeline { position: relative; display: grid; }
.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 14px;
  bottom: 14px;
  width: 1px;
  background: rgba(251, 246, 238, 0.25);
}
.tl-item { position: relative; padding: 12px 0 12px 44px; }
.tl-item::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 32px;
  width: 13px;
  height: 13px;
  background: var(--saffron);
  transform: rotate(45deg);
}
.tl-body { padding: 22px 26px; border-radius: 16px; background: var(--earth-2); }
.tl-date { font-family: var(--font-display); font-size: 0.88rem; font-weight: 600; color: var(--saffron); }
.tl-body h3 { margin: 6px 0; color: var(--cream); }
.tl-body p { margin: 0; font-size: 0.96rem; color: rgba(251, 246, 238, 0.72); }

/* ---------- Créations (page détaillée) ---------- */
.work {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  padding: 50px 0;
}
.work + .work { border-top: 1px solid var(--line); }
.work:nth-of-type(even) .work-media { order: 2; }
.work-media {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.work-media img { width: 100%; height: 100%; object-fit: cover; }
.work h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.work-text p { color: var(--text-soft); }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 28px; }
.fact { padding: 12px 18px; border: 1px solid var(--line); border-radius: 12px; }
.fact dt { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terracotta); }
.fact dd { margin: 2px 0 0; font-size: 0.95rem; font-weight: 600; }
.show-dates { margin: 0 0 28px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; }
.show-dates h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 1rem; }
.show-dates ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.show-dates li { display: flex; justify-content: space-between; align-items: center; gap: 14px; font-size: 0.95rem; }
.show-dates li a { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-weight: 700; color: var(--terracotta); }
.show-dates em { font-size: 0.88rem; font-style: normal; color: var(--text-soft); }

/* ---------- Espace presse ---------- */
.press-facts { margin: 0 0 28px; border-top: 1px solid var(--line); }
.press-facts div { display: grid; grid-template-columns: minmax(130px, 38%) 1fr; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.press-facts dt { padding-top: 3px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terracotta); }
.press-facts dd { margin: 0; font-weight: 600; }
.press-facts a { color: var(--terracotta); text-decoration: underline; text-underline-offset: 3px; }
/* Dossier de presse : carte foncée qui se clique comme un bouton */
.press-kit { display: flex; align-items: center; gap: 18px; padding: 20px 24px; border-radius: var(--radius); background: var(--earth); color: var(--cream); transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.press-kit:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.press-kit-ico { display: grid; place-items: center; flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; background: var(--saffron); color: var(--earth); }
.press-kit-ico .icon { width: 24px; height: 24px; }
.press-kit-text { flex: 1; }
.press-kit-text strong { display: block; font-size: 1.05rem; }
.press-kit-text small { display: block; margin-top: 2px; font-size: 0.85rem; color: rgba(251, 246, 238, 0.72); }
.press-kit > .icon { width: 22px; height: 22px; color: var(--saffron); }
/* Photos entières, en mosaïque (comme la galerie) */
.press-photos { columns: 3; column-gap: 24px; }
.press-photo { break-inside: avoid; margin: 0 0 24px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.press-photo img { width: 100%; height: auto; }
.press-photo figcaption,
.press-logo figcaption { display: grid; justify-items: start; gap: 2px; padding: 16px 18px 18px; }
.press-photo figcaption > span { font-size: 0.85rem; color: var(--text-soft); }
.press-dl { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; font-weight: 700; line-height: 1.35; color: var(--terracotta); transition: color 0.25s; }
.press-dl:hover { color: var(--terracotta-dark); }
.press-dl .icon { width: 20px; height: 20px; }
.press-dl small { display: block; font-size: 0.78rem; font-weight: 500; color: var(--text-soft); }
.press-logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.press-logo { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.press-logo-box { display: grid; place-items: center; aspect-ratio: 16 / 9; padding: 28px; border-bottom: 1px solid var(--line); }
.press-logo-box.is-dark { background: var(--earth); }
.press-logo-box img { width: auto; max-width: 100%; max-height: 100%; }
.press-contact { display: grid; gap: 10px; margin: -10px 0 30px; padding: 0; list-style: none; }
.press-contact li { display: flex; align-items: center; gap: 12px; font-weight: 600; overflow-wrap: anywhere; }
.press-contact .icon { width: 20px; height: 20px; color: var(--saffron); }
.press-contact a { transition: color 0.25s; }
.press-contact a:hover { color: var(--saffron); }

/* ---------- Appel à l'action (bas des pages) ---------- */
/* Carte foncée (terre) : elle tranche sur les fonds blancs */
.cta {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  border-radius: 24px;
  overflow: hidden;
  background: var(--earth);
  color: #fff;
}
.cta-text { padding: 64px 56px; }
.cta .eyebrow { color: var(--saffron); }
.cta h2 { margin-bottom: 16px; }
.cta p { max-width: 460px; margin-bottom: 30px; color: rgba(255, 255, 255, 0.78); }
.cta-photo { position: relative; min-height: 320px; }
.cta-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 50px; align-items: start; }
.contact-info { display: grid; gap: 14px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: box-shadow 0.3s, transform 0.3s var(--ease);
}
a.contact-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.contact-item .ico { width: 48px; height: 48px; margin-bottom: 0; }
.contact-item .ico .icon { width: 21px; height: 21px; }
.contact-wa .ico { border-color: #128c4a; color: #128c4a; }
a.contact-wa:hover .ico { background: #128c4a; }
.contact-item h2 { margin: 0 0 2px; font-family: var(--font-body); font-size: 1.02rem; font-weight: 700; letter-spacing: -0.01em; }
.contact-item p { margin: 0; font-size: 0.96rem; color: var(--text-soft); }
.contact-item p a:hover { color: var(--terracotta); }
.socials { display: flex; gap: 10px; margin-top: 6px; }
.socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--earth);
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}
.socials a:hover { background: var(--terracotta); border-color: var(--terracotta); color: #fff; transform: translateY(-2px); }
.socials a .icon { width: 18px; height: 18px; }

/* ---------- Formulaires ---------- */
.form {
  position: relative;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.form .form-title { margin: 0 0 24px; font-size: 1.45rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 8px; font-size: 0.86rem; font-weight: 600; color: var(--text); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(42, 26, 18, 0.18);
  border-radius: 12px;
  background: var(--cream);
  color: var(--text);
  font: inherit;
  font-size: 0.98rem;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(200, 71, 30, 0.12);
}
.field [aria-invalid="true"] { border-color: #b3261e; }
.field-error { margin: 8px 0 0; font-size: 0.86rem; font-weight: 600; color: #b3261e; }
.field-help { margin: 8px 0 0; font-size: 0.84rem; color: var(--text-soft); }
.form-alert { margin-bottom: 22px; padding: 14px 18px; border: 1px solid #f2c2b0; border-radius: 12px; background: #fbe8e0; color: #8f2a0b; font-weight: 600; }
.check { display: flex; align-items: flex-start; gap: 12px; margin: 14px 0 4px; font-size: 0.95rem; cursor: pointer; }
.check input { flex-shrink: 0; width: 19px; height: 19px; margin-top: 3px; accent-color: var(--terracotta); }
.form .btn-block { margin-top: 22px; }
.form-note { margin: 16px 0 0; font-size: 0.84rem; color: var(--text-soft); }
.form-note a { color: var(--terracotta); text-decoration: underline; }
.form-success { display: none; margin: 0 0 22px; padding: 14px 18px; border-radius: 12px; background: rgba(31, 107, 74, 0.1); color: var(--green); font-weight: 600; }
.form-success.show { display: block; }

/* ---------- Réservation ---------- */
.booking-section { padding-top: 70px; }
.booking-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; }
.booking-recap {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}
.recap-photo { aspect-ratio: 16 / 10; overflow: hidden; }
.recap-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.recap-body { padding: 28px; }
.recap-body h2 { font-size: 1.6rem; }
.recap-list { display: grid; gap: 12px; margin: 0; }
.recap-list div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.recap-list dt { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--text-soft); }
.recap-list dt .icon { color: var(--terracotta); }
.recap-list dd { margin: 0; font-weight: 600; }
.recap-note { margin-top: 18px; font-size: 0.95rem; color: var(--text-soft); }
.recap-note p { margin: 0 0 0.6em; }
.booking-closed h2 { margin-top: 6px; font-size: 1.45rem; }
.booking-closed p { color: var(--text-soft); }
/* Tarifs : nombre de places pour chaque tarif, total, puis choix du paiement */
.recap-prices { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.recap-prices li { display: flex; justify-content: space-between; gap: 12px; }
.recap-prices span { font-weight: 500; }
.tickets,
.pay-choice { min-width: 0; margin: 0 0 20px; padding: 0; border: 0; }
.tickets legend,
.pay-choice legend { margin-bottom: 8px; padding: 0; font-size: 0.86rem; font-weight: 600; }
.ticket-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ticket-row:first-of-type { border-top: 1px solid var(--line); }
.ticket-row label { font-weight: 600; }
.ticket-row label small { display: block; font-size: 0.86rem; font-weight: 500; color: var(--terracotta); }
.ticket-row select {
  flex-shrink: 0;
  width: 92px;
  padding: 10px 12px;
  border: 1px solid rgba(42, 26, 18, 0.18);
  border-radius: 12px;
  background: var(--white);
  color: var(--text);
  font: inherit;
}
.ticket-row select:focus { outline: none; border-color: var(--terracotta); box-shadow: 0 0 0 3px rgba(200, 71, 30, 0.12); }
.ticket-row select[aria-invalid="true"] { border-color: #b3261e; }
.ticket-total { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 0 0; font-weight: 600; }
.ticket-total strong { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; }
.pay-choice .check { margin-top: 10px; }
.pay-note { margin: 14px 0 0; font-size: 0.88rem; color: var(--text-soft); }
.ticket-main li.ticket-pay { color: var(--green); }

/* Billet de confirmation */
.done-section { padding: calc(var(--header-h) + 70px) 0 110px; background: var(--white); }
.done-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.done-check {
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
}
.done-check .icon { width: 36px; height: 36px; }
.done-head h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.done-head p { font-size: 1.12rem; color: var(--text-soft); }
.ticket {
  display: grid;
  grid-template-columns: 1fr 250px;
  max-width: 840px;
  margin: 0 auto;
  filter: drop-shadow(0 18px 36px rgba(42, 26, 18, 0.14));
}
.ticket-main {
  position: relative;
  padding: 34px 36px;
  border-right: 2px dashed var(--line);
  border-radius: 22px 0 0 22px;
  background: var(--white);
}
.ticket-main::before,
.ticket-main::after {
  content: "";
  position: absolute;
  right: -15px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sand);
}
.ticket-main::before { top: -14px; }
.ticket-main::after { bottom: -14px; }
.ticket-logo { width: 140px; height: auto; margin-bottom: 18px; }
.ticket-main h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.ticket-main ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ticket-main li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.ticket-main li .icon { color: var(--terracotta); }
.ticket-stub {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  padding: 30px 20px;
  border-radius: 0 22px 22px 0;
  background: var(--terracotta);
  color: #fff;
  text-align: center;
}
.ticket-stub small { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.ticket-stub strong {
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--white);
  color: var(--earth);
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
/* QR code du billet, toujours sur fond blanc (le lecteur a besoin de contraste) */
.ticket-qr { width: 172px; max-width: 100%; margin-bottom: 6px; border-radius: 12px; overflow: hidden; background: #fff; }
.ticket-qr svg { display: block; width: 100%; height: auto; }
.ticket.is-cancelled { opacity: 0.6; filter: grayscale(1); }
.ticket-note { max-width: 640px; margin: 20px auto 0; text-align: center; font-weight: 600; color: var(--text-soft); }
/* Cadre de contrôle (visible seulement par l'équipe connectée à l'administration) */
.checkin-panel { max-width: 640px; margin: 34px auto 0; padding: 24px; border: 2px dashed var(--terracotta); border-radius: 20px; background: var(--white); }
.checkin-panel h2 { margin-bottom: 12px; font-size: 1.2rem; }
.checkin-panel form { margin-top: 12px; }
.checkin-msg { margin: 0 0 10px; padding: 12px 16px; border-radius: 12px; font-weight: 700; text-align: left; }
.checkin-msg.is-warn { background: #fff1d6; color: #8a5a00; }
.checkin-msg.is-bad { background: #fbe8e0; color: #8f2a0b; }
.checkin-link { margin: 14px 0 0; font-size: 0.9rem; text-align: left; }
.checkin-link a { color: var(--terracotta); text-decoration: underline; }
.done-foot { margin-top: 44px; text-align: center; }
.done-foot .hero-actions { justify-content: center; margin-top: 24px; }

.notice-card {
  padding: 50px 40px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  text-align: center;
  box-shadow: var(--shadow);
}
.notice-card h1 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
/* Paiement en ligne : récapitulatif, et fausse page de paiement du mode test */
.payment-recap { display: grid; gap: 0; margin: 24px 0 28px; text-align: left; border-top: 1px solid var(--line); }
.payment-recap div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.payment-recap dt { font-size: 0.9rem; color: var(--text-soft); }
.payment-recap dd { margin: 0; font-weight: 600; }
.payment-recap small { display: block; font-weight: 500; color: var(--text-soft); }
.payment-card .hero-actions form { margin: 0; }
.payment-card .form-alert { text-align: left; }
.payment-test { border: 2px dashed var(--saffron); }
.badge-test { display: inline-block; margin-bottom: 14px; padding: 4px 12px; border-radius: 999px; background: var(--saffron); color: var(--earth); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.payment-leave { margin: 18px 0 0; font-size: 0.9rem; }
.payment-leave a { color: var(--terracotta); text-decoration: underline; }
.notice-card p { color: var(--text-soft); }
.notice-card .hero-actions { justify-content: center; }
.big-404 { margin: 0 0 10px; font-family: var(--font-display); font-size: clamp(4.5rem, 14vw, 8rem); font-weight: 700; line-height: 1; color: var(--terracotta); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--earth); color: var(--cream); }
.kente-line { height: 8px; background: url("../assets/kente.svg") repeat-x left center / auto 8px; }
.nl-band { padding: 60px 0; background: var(--earth-2); color: var(--cream); }
.nl-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; }
.nl-band h2 { margin-bottom: 8px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.nl-band p { margin: 0; color: rgba(251, 246, 238, 0.72); }
.nl-row {
  display: flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(251, 246, 238, 0.18);
  border-radius: 999px;
  background: rgba(251, 246, 238, 0.06);
  transition: border-color 0.25s;
}
.nl-row:focus-within { border-color: var(--saffron); }
.nl-row input {
  flex: 1;
  min-width: 0;
  padding: 10px 16px;
  border: 0;
  background: transparent;
  color: var(--cream);
  font: inherit;
}
.nl-row input::placeholder { color: rgba(251, 246, 238, 0.5); }
.nl-row input:focus { outline: none; }
.nl-row .btn { padding: 12px 22px; }
.nl-row .btn:hover { transform: none; }
.nl-msg { min-height: 1.4em; margin-top: 12px !important; font-size: 0.88rem; font-weight: 600; color: rgba(251, 246, 238, 0.6); }
.nl-msg.ok { color: #7fd1a6; }
.nl-msg.err { color: #ffb59a; }

.footer-main { padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 56px; }
.footer-grid h3 { margin-bottom: 18px; font-size: 0.9rem; color: var(--saffron); }
.footer-grid ul { margin: 0; padding: 0; list-style: none; }
.footer-grid li { margin-bottom: 10px; font-size: 0.95rem; color: rgba(251, 246, 238, 0.7); }
.footer-grid li a { transition: color 0.25s; }
.footer-grid li a:hover { color: var(--saffron); }
.footer-about p { max-width: 330px; margin: 20px 0; font-size: 0.95rem; color: rgba(251, 246, 238, 0.7); }
.footer-about .socials a { border-color: rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.06); color: var(--cream); }
.footer-about .socials a:hover { border-color: var(--terracotta); background: var(--terracotta); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 26px;
  border-top: 1px solid rgba(251, 246, 238, 0.12);
  font-size: 0.84rem;
  color: rgba(251, 246, 238, 0.5);
}
.footer-bottom a { text-decoration: underline; }

/* ---------- WhatsApp & messages ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 20px 0 16px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  transition: transform 0.3s var(--ease);
}
.wa-float .icon { width: 26px; height: 26px; }
.wa-float:hover { transform: translateY(-3px); }
.wa-label { font-size: 0.9rem; }

.toast {
  position: fixed;
  top: calc(var(--header-h) + 12px);
  left: 50%;
  z-index: 150;
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 14px 16px 14px 22px;
  border-radius: 14px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(42, 26, 18, 0.2);
  transform: translateX(-50%);
  animation: toast-in 0.4s var(--ease);
}
.toast-success { background: var(--green); color: #fff; }
.toast-error { background: var(--terracotta); color: #fff; }
.toast-close { display: grid; padding: 4px; border: 0; background: none; color: inherit; cursor: pointer; }
.toast.hide { opacity: 0; transform: translate(-50%, -10px); transition: opacity 0.3s, transform 0.3s; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, -12px); } }

/* ---------- Apparition discrète des sections au défilement (main.js ajoute « visible ») ---------- */
/* Seulement plus bas dans la page : ce qui est visible à l'arrivée s'affiche tout de suite.
   C'est une animation (et non une transition) : le délai ne ralentit pas les effets de survol. */
.reveal:not(.visible) { opacity: 0; }
.reveal.visible { animation: reveal-up 0.7s var(--ease) var(--d, 0s) backwards; }
.reveal-d1 { --d: 0.08s; }
.reveal-d2 { --d: 0.16s; }
.reveal-d3 { --d: 0.24s; }
@keyframes reveal-up { from { opacity: 0; transform: translateY(16px); } }

/* Réglage « réduire les animations » du téléphone ou de l'ordinateur : tout reste immobile */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal:not(.visible) { opacity: 1; }
}

/* ---------- Adaptation aux écrans ---------- */
@media (max-width: 1180px) {
  .menu-toggle { display: block; z-index: 2; }
  /* Le menu occupe l'écran sous la barre et s'ouvre en cercle depuis le bouton ☰
     (centre --cx/--cy et rayon --r calculés par main.js) */
  .nav {
    position: fixed;
    top: var(--bar-h);
    right: 0;
    bottom: 0;
    left: 0;
    flex-direction: column;
    justify-content: flex-start;
    gap: 18px;
    padding: 20px 20px calc(32px + env(safe-area-inset-bottom, 0px));
    background: var(--cream);
    visibility: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-clip-path: circle(0 at var(--cx, calc(100% - 40px)) var(--cy, -32px));
    clip-path: circle(0 at var(--cx, calc(100% - 40px)) var(--cy, -32px));
    transition: clip-path 0.5s cubic-bezier(0.65, 0, 0.35, 1), -webkit-clip-path 0.5s cubic-bezier(0.65, 0, 0.35, 1), visibility 0s 0.5s;
  }
  .menu-open .nav {
    visibility: visible;
    -webkit-clip-path: circle(var(--r, 150vmax) at var(--cx, calc(100% - 40px)) var(--cy, -32px));
    clip-path: circle(var(--r, 150vmax) at var(--cx, calc(100% - 40px)) var(--cy, -32px));
    transition: clip-path 0.6s cubic-bezier(0.65, 0, 0.35, 1), -webkit-clip-path 0.6s cubic-bezier(0.65, 0, 0.35, 1);
  }
  /* Marges automatiques : le menu est centré s'il tient dans l'écran, sinon il défile depuis le haut */
  .nav > * { flex-shrink: 0; }
  .nav > :first-child { margin-top: auto; }
  .nav > :last-child { margin-bottom: auto; }
  .nav-links { flex-direction: column; gap: 6px; }
  .nav-pill { display: none; }
  .nav-link { padding: 5px 22px; font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; line-height: 1.4; color: var(--earth) !important; }
  .nav-link.active { background: var(--earth); color: var(--cream) !important; }
  .nav .btn { margin-top: 4px; font-size: 1.02rem; }
  .nav .lang-switch { font-size: 0.88rem; color: var(--earth) !important; border-color: rgba(42, 26, 18, 0.25) !important; }
  .nav .lang-switch span { padding: 6px 14px; }
  .nav .lang-switch span.on { background: var(--earth) !important; color: var(--cream) !important; }
  .nav-socials { display: flex; gap: 10px; }
  .nav-socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--mist); color: var(--earth); }
  /* À l'ouverture, les liens apparaissent l'un après l'autre (--i = rang du lien) */
  .nav-link,
  .nav .lang-switch,
  .nav .btn,
  .nav-socials {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.2s, transform 0.2s;
  }
  .menu-open .nav-link,
  .menu-open .nav .lang-switch,
  .menu-open .nav .btn,
  .menu-open .nav-socials {
    opacity: 1;
    transform: none;
    transition: opacity 0.45s var(--ease), transform 0.5s var(--ease);
    transition-delay: calc(0.15s + var(--i, 0) * 0.05s);
  }
  .menu-open { overflow: hidden; }
  .menu-open .scroll-progress { opacity: 0; }
  .menu-open .site-header::before { opacity: 1; background: var(--cream); }
  .menu-open .menu-toggle { border-color: var(--line) !important; }
  .menu-open .wa-float { display: none; }
}

/* Téléphone à l'horizontale : liens sur trois colonnes pour que tout tienne sans défiler */
@media (max-width: 1180px) and (min-width: 520px) and (max-height: 520px) {
  .nav { gap: 10px; padding-top: 12px; padding-bottom: 16px; }
  .nav-links {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: center;
    justify-items: center;
    gap: 4px 24px;
  }
  .nav-link { padding: 3px 16px; font-size: 1.12rem; }
  .nav .btn { margin-top: 0; }
}

@media (max-width: 1080px) {
  .tiles,
  .values,
  .steps { grid-template-columns: repeat(2, 1fr); }
  .photo-grid { columns: 3; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .grid-2,
  .contact-grid,
  .work,
  .booking-grid { grid-template-columns: 1fr; gap: 50px; }
  .work:nth-of-type(even) .work-media { order: 0; }
  /* Bandeau photo : le texte occupe toute la largeur, le voile part du bas */
  .page-hero { min-height: 470px; padding-bottom: 50px; }
  .page-hero::before { background: linear-gradient(0deg, rgba(42, 26, 18, 0.94) 0%, rgba(42, 26, 18, 0.74) 48%, rgba(42, 26, 18, 0.3) 100%); }
  .arch-wrap { max-width: 460px; margin: 0 auto; }
  .tl-intro { position: static; }
  .tl-photo { display: none; }
  .member { flex-basis: calc((100% - 30px) / 2); }
  .cta { grid-template-columns: 1fr; }
  .cta-photo { order: -1; min-height: 230px; }
  .nl-inner { grid-template-columns: 1fr; gap: 24px; }
  .booking-recap { position: static; }
  .event-card { grid-template-columns: 76px 1fr; }
  .event-actions { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .ticket { grid-template-columns: 1fr; }
  .ticket-main { border-right: 0; border-bottom: 2px dashed var(--line); border-radius: 22px 22px 0 0; }
  .ticket-main::before,
  .ticket-main::after { top: auto; bottom: -15px; }
  .ticket-main::before { left: -14px; right: auto; }
  .ticket-main::after { right: -14px; }
  .ticket-stub { border-radius: 0 0 22px 22px; }
  .past-list li { grid-template-columns: 1fr; gap: 4px; }
  .empty-dates { flex-direction: column; text-align: center; }
  .empty-dates .btn { margin: 0; }
  .press-photos { columns: 2; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  /* Colonne étroite : paragraphes alignés à gauche (justifiés, ils se creusent de grands blancs entre les mots) */
  main p { text-align: left; }
  /* Petits libellés lisibles (13 px environ) */
  .tag,
  .news-card time,
  .press-facts dt,
  .hero-tag b { font-size: 0.8rem; }
  .hero-tag { border-radius: 18px; }
  /* Liens à toucher du doigt : 44 px de haut au moins */
  .press-dl { min-height: 44px; }
  .press-contact a { display: inline-flex; align-items: center; min-height: 44px; }
  section,
  .quote-band { padding: 64px 0; }
  .hero { padding-bottom: 64px; }
  .tiles,
  .values,
  .steps,
  .footer-grid { grid-template-columns: 1fr; }
  .show-card { aspect-ratio: 4 / 5; }
  .show-card .inner { padding: 24px; }
  .gallery-preview { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .photo-grid { columns: 2; column-gap: 10px; }
  .photo-tile { margin-bottom: 10px; }
  /* Équipe : petite arche à côté du nom, la présentation en dessous */
  .team { gap: 36px; }
  .member { flex-basis: 100%; display: grid; grid-template-columns: 92px 1fr; column-gap: 18px; align-items: center; }
  .member-photo { grid-row: 1 / 3; margin-bottom: 0; }
  .member-photo .initials { font-size: 1.4rem; }
  .member h3 { align-self: end; margin-bottom: 2px; font-size: 1.2rem; }
  .member .role { align-self: start; }
  .member p { grid-column: 1 / -1; margin-bottom: 0; }
  /* Filtres de la galerie sur une seule ligne, à faire défiler du doigt */
  .filters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 0 -16px 24px; padding: 0 16px 6px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: 0 0 auto; }
  .event-card { gap: 16px; padding: 16px; }
  .event-body h3 { font-size: 1.1rem; }
  .form { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .cta-text { padding: 40px 24px; }
  .recap-list div { grid-template-columns: 1fr; gap: 2px; }
  .notice-card { padding: 36px 22px; }
  .ticket-main { padding: 26px 22px; }
  .arch-badge { left: 0; }
  .nl-row { flex-direction: column; border-radius: 22px; }
  .nl-row .btn { justify-content: center; }
  .press-facts div { grid-template-columns: 1fr; gap: 2px; }
  .payment-recap div { grid-template-columns: 1fr; gap: 2px; }
  .press-kit { gap: 14px; padding: 18px; }
  .press-kit > .icon { display: none; }
  .press-photos { column-gap: 12px; }
  .press-photo { margin-bottom: 12px; border-radius: 14px; }
  .press-photo figcaption { padding: 12px 12px 14px; }
  .press-photo .press-dl .icon { display: none; }
  .press-logos { grid-template-columns: 1fr; gap: 16px; }
  .press-logo-box { aspect-ratio: 2 / 1; }
  .lb-slide { padding: 70px 10px 96px; }
  .lb-prev,
  .lb-next { top: auto; bottom: 24px; margin-top: 0; }
  .lb-prev { left: calc(50% - 66px); }
  .lb-next { right: calc(50% - 66px); }
  .wa-float { right: 14px; bottom: 14px; width: 54px; height: 54px; padding: 0; justify-content: center; }
  .wa-label { display: none; }
}
