@import url('/assets/fonts/fonts.css');

/* ============================================
   Tokens
   ============================================ */
:root {
  --color-orange: #ff3c00;
  --color-cream: #ffda87;
  --color-black: #0f0f0f;
  --color-offwhite: #fef8ec;
  --color-blue: #0b5fff;

  --color-bg: var(--color-offwhite);
  --color-text: var(--color-black);
  --color-accent: var(--color-orange);

  --font-sans: 'Inter', -apple-system, 'Segoe UI', sans-serif;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 2.5rem;
  --space-6: 3rem;
  --space-8: 4rem;
  --space-12: 6rem;
  --space-16: 8rem;

  --max-width: 1280px;
  --max-width-reading: 680px;

  --radius: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-pill: 999px;

  --transition-fast: 150ms ease;
  --transition-base: 240ms ease;
  --transition-slow: 400ms ease;

  --header-h: 90px;
}

@media (max-width: 860px) {
  :root { --header-h: 70px; }
}

/* ============================================
   Iframe consent (RGPD click-to-load)
   ============================================ */
.iframe-consent {
  position: relative;
  width: 100%;
  border: 2px solid var(--color-black);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-cream);
}
.iframe-consent__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.75rem;
  padding: 2rem 1.25rem;
  min-height: 100%;
}
.iframe-consent__inner p { margin: 0; max-width: 42ch; line-height: 1.5; }
.iframe-consent__inner .muted { font-size: 0.85rem; opacity: 0.75; }
.iframe-consent iframe { width: 100%; height: 100%; border: 0; display: block; }
.iframe-consent--loaded { background: white; }

/* ============================================
   Reset
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

/* Ancres masquées par le header sticky */
:where(main) :is(h1, h2, h3, h4)[id],
:where(main) section[id],
:where(main) [id]:target { scroll-margin-top: calc(var(--header-h) + 1rem); }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
main p a, main li a, .site-footer a, .legal a { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); transition: text-decoration-color 120ms ease; }
main p a:hover, main li a:hover, .site-footer a:hover, .legal a:hover { text-decoration-color: var(--color-orange); color: var(--color-orange); }

::selection { background: var(--color-orange); color: white; }

/* ============================================
   Typography — heavy Inter display
   ============================================ */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--color-text);
  margin: 0 0 var(--space-3);
  text-wrap: balance;
}
h1 { font-size: clamp(3rem, 8vw, 6.5rem); letter-spacing: -0.045em; }
h2 { font-size: clamp(2.25rem, 5vw, 4rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); letter-spacing: -0.025em; }
h4 { font-size: 1.125rem; letter-spacing: -0.01em; }

.prose h1 { font-size: clamp(2rem, 4vw, 2.75rem); letter-spacing: -0.025em; }
.prose h2 { font-size: 1.35rem; letter-spacing: -0.015em; margin-top: var(--space-4); }
.prose h3 { font-size: 1.1rem; letter-spacing: -0.01em; margin-top: var(--space-3); }

.lead {
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.45;
  font-weight: 500;
  max-width: 42ch;
  margin: 0 0 var(--space-4);
}

.kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: var(--space-2);
  padding: 0.35rem 0.7rem;
  border: 1.5px solid var(--color-orange);
  border-radius: var(--radius-pill);
}

p { margin: 0 0 var(--space-2); max-width: var(--max-width-reading); }
p.lead { max-width: 42ch; }
ul, ol { margin: 0 0 var(--space-2); padding-left: 1.25rem; max-width: var(--max-width-reading); }
li { margin-bottom: 0.35rem; }
strong { font-weight: 700; }

hr {
  border: 0;
  border-top: 2px solid var(--color-black);
  margin: var(--space-6) 0;
}

/* ============================================
   Layout helpers
   ============================================ */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem); }
.section { padding: var(--space-12) 0; }
.section-sm { padding: var(--space-8) 0; }
.section h2, .section-sm h2 { margin-bottom: var(--space-4); }
.section h2 + .events-grid, .section-sm h2 + .events-grid { margin-top: var(--space-4); }

.section-black { background: var(--color-black); color: var(--color-offwhite); }
.section-black h1, .section-black h2, .section-black h3, .section-black h4 { color: var(--color-offwhite); }
.section-black .kicker { color: var(--color-cream); border-color: var(--color-cream); }

.section-cream { background: var(--color-cream); }
.section-orange { background: var(--color-orange); color: white; }
.section-orange h1, .section-orange h2, .section-orange h3 { color: white; }
.section-orange .kicker { color: white; border-color: white; }

.split-media { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: center; }
.split-media__frame {
  position: relative;
  justify-self: center;
  align-self: center;
  width: min(100%, 440px);
  padding: 14px;
  background: var(--color-cream);
  border: 2px solid var(--color-black);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  transform: rotate(-2.5deg);
  transition: transform 300ms cubic-bezier(.2,.7,.2,1);
}
.split-media__frame:hover { transform: rotate(0deg) translateY(-4px); }
.split-media__frame::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 110px;
  height: 22px;
  background: rgba(250, 230, 150, .9);
  box-shadow: 0 2px 4px rgba(0,0,0,.2);
}
.split-media__img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
@media (max-width: 760px) { .split-media { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .split-media__frame { transform: none !important; } }

/* ============================================
   Header & Nav
   ============================================ */
.site-header {
  background: var(--color-cream);
  color: var(--color-black);
  padding: 1.1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--color-black);
}
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  min-height: 72px;
}
.site-header .logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-black);
  flex-shrink: 0;
}
.site-header .logo img {
  height: 72px;
  width: auto;
  display: block;
  transition: transform 240ms ease;
}
.site-header .logo:hover img {
  transform: rotate(-2deg) scale(1.02);
}
.site-header nav {
  display: flex;
  align-items: center;
}
.site-header nav ul {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-header nav a {
  position: relative;
  display: inline-block;
  color: var(--color-black);
  text-decoration: none;
  font-family: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1;
  padding: 0.5rem 0;
  transition: color 160ms ease;
}
.site-header nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--color-orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms cubic-bezier(.2,.7,.2,1);
}
.site-header nav a:hover { color: var(--color-orange); }
.site-header nav a:hover::after { transform: scaleX(1); }
.site-header nav a[aria-current="page"] {
  color: var(--color-orange);
}
.site-header nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.burger {
  display: none;
  background: none;
  border: 2px solid var(--color-black);
  border-radius: var(--radius-md);
  color: var(--color-black);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.4rem 0.65rem;
}

@media (max-width: 860px) {
  .site-header { padding: 0.75rem 0; }
  .site-header .container { min-height: 56px; }
  .site-header .logo img { height: 52px; }
  .burger { display: block; }
  .site-header nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-cream);
    padding: var(--space-3) var(--space-4);
    border-bottom: 2px solid var(--color-black);
  }
  .site-header nav.open { display: block; }
  .site-header nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .site-header nav a { font-size: 1.15rem; }
  .site-header nav a::after { display: none; }
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--color-black);
  color: var(--color-offwhite);
  padding: var(--space-8) 0 var(--space-4);
  margin-top: 0;
}
.site-footer a { color: var(--color-cream); }
.site-footer a:hover { color: var(--color-orange); }
.site-footer .footer-symbol {
  width: 120px;
  height: auto;
  margin-bottom: var(--space-4);
}
.site-footer .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}
.site-footer h4 {
  color: var(--color-orange);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 var(--space-2);
}
.site-footer p { margin: 0 0 0.5rem; }
.site-footer .social-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.site-footer .social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.site-footer .social-links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}
.site-footer .legal {
  border-top: 1px solid color-mix(in srgb, var(--color-offwhite) 18%, transparent);
  padding-top: var(--space-3);
  font-size: 0.85rem;
  opacity: 0.7;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 140ms ease, background 140ms ease, color 140ms ease;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--color-orange); color: white; }
.btn-primary:hover { background: var(--color-black); color: var(--color-orange); }
.btn-secondary { background: transparent; color: var(--color-black); border-color: var(--color-black); }
.btn-secondary:hover { background: var(--color-black); color: var(--color-offwhite); }
.btn-ghost { background: transparent; color: var(--color-offwhite); border-color: var(--color-offwhite); }
.btn-ghost:hover { background: var(--color-offwhite); color: var(--color-black); }

.btn-group { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-top: var(--space-3); }

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: min(85vh, 780px);
  background: var(--color-black);
  color: white;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,15,15,0.35) 0%, rgba(15,15,15,0.15) 40%, rgba(15,15,15,0.85) 100%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  padding: var(--space-12) 0 var(--space-8);
  width: 100%;
}
.hero .container { padding-left: clamp(1.5rem, 5vw, 4rem); padding-right: clamp(1.5rem, 5vw, 4rem); }
.hero .kicker { margin-bottom: var(--space-3); }
.hero h1 {
  color: white;
  max-width: 16ch;
  margin: 0 0 var(--space-4);
}
.hero h1 em {
  font-style: normal;
  color: var(--color-orange);
}
.hero .lead { color: var(--color-cream); max-width: 50ch; margin: 0 0 var(--space-4); }
.hero .kicker { color: white; border-color: white; background: rgba(0,0,0,0.35); }
.hero .btn-group { margin-top: var(--space-4); }

/* Compact hero for subpages */
.hero--compact { min-height: min(52vh, 520px); }
.hero--compact .hero__inner { padding: var(--space-8) 0 var(--space-6); }
.hero--compact h1 { max-width: 22ch; }

/* ============================================
   Figure — inline image block
   ============================================ */
.figure {
  margin: var(--space-6) auto;
  max-width: 900px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--color-black);
  background: var(--color-black);
}
.figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.figure--portrait {
  max-width: 480px;
}
.figure--portrait img { aspect-ratio: 3 / 4; }

/* Floated variant — wraps text around a portrait image */
.figure--float-right {
  float: right;
  max-width: 380px;
  margin: 0 0 var(--space-4) var(--space-4);
  shape-outside: inset(0 round var(--radius-lg));
}
.figure--float-right img { aspect-ratio: 3 / 4; }

/* Let text flow up to the float edge inside a float container */
.has-float > p,
.has-float > ul,
.has-float > ol { max-width: none; }

/* Clearfix helper for sections that contain floated figures */
.has-float::after {
  content: "";
  display: block;
  clear: both;
}

@media (max-width: 760px) {
  .figure--float-right {
    float: none;
    max-width: 480px;
    margin: var(--space-5) auto;
  }
}
.figure figcaption {
  padding: var(--space-2) var(--space-3);
  background: var(--color-black);
  color: var(--color-cream);
  font-size: 0.92rem;
  line-height: 1.45;
}

/* Espace cards with image */
.space-card {
  display: block;
  background: var(--color-cream);
  border: 2px solid var(--color-black);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--color-black);
  height: 100%;
}
.space-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-black);
  border-bottom: 2px solid var(--color-black);
}
.space-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.space-card__body { padding: var(--space-3) var(--space-3) var(--space-4); }
.space-card h3 { margin: 0 0 var(--space-2); }
.space-card p { margin: 0; }

/* ============================================
   Event card — cream background, ticket badge
   ============================================ */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-4) var(--space-3);
}

.event-card {
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--color-black);
  transition: transform 180ms ease;
}
.event-card:hover { transform: translateY(-4px); }
.event-card__cover {
  aspect-ratio: 4/5;
  background: var(--color-black);
  position: relative;
  overflow: hidden;
}
.event-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.event-card__date {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--color-orange);
  color: white;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.event-card__date strong { font-size: 1.4rem; letter-spacing: -0.02em; line-height: 1; margin-bottom: 0.15rem; }
.event-card__body { padding: var(--space-3); }
.event-card__title {
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}
.event-card__desc { font-size: 0.92rem; opacity: 0.8; margin: 0 0 var(--space-2); }
.event-card__cta {
  font-size: 0.85rem;
  color: var(--color-black);
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 2px solid var(--color-black);
  padding-bottom: 2px;
  align-self: flex-start;
}
.event-card__cta::after { content: " →"; }

/* ============================================
   Poster wall (agenda) — affiches en vrac
   ============================================ */
.poster-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6) var(--space-5);
  margin-top: var(--space-6);
  align-items: start;
}
@media (max-width: 980px) { .poster-wall { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .poster-wall { grid-template-columns: 1fr; } }

.poster {
  display: block;
  text-decoration: none;
  color: var(--color-black);
  transform: rotate(var(--tilt, 0deg));
  transition: transform 250ms cubic-bezier(.2,.7,.2,1), filter 250ms ease;
  will-change: transform;
}
.poster:hover { transform: rotate(0deg) translateY(-4px); }
.poster:hover .poster__flyer { box-shadow: 0 18px 40px rgba(0,0,0,.25); }

.poster__flyer {
  position: relative;
  background: var(--color-black);
  border: 2px solid var(--color-black);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  transition: box-shadow 250ms ease;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.poster__flyer img { width: 100%; height: 100%; object-fit: cover; display: block; }
.poster__flyer::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 80px;
  height: 18px;
  background: rgba(250, 230, 150, .85);
  box-shadow: 0 2px 4px rgba(0,0,0,.15);
  z-index: 3;
  pointer-events: none;
}
.poster:nth-child(2n) .poster__flyer::before { transform: translateX(-50%) rotate(3deg); background: rgba(255, 200, 200, .8); }
.poster:nth-child(3n) .poster__flyer::before { transform: translateX(-50%) rotate(-4deg); background: rgba(200, 230, 255, .85); }
.poster__placeholder {
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  color: var(--color-cream);
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.poster__sticker {
  position: absolute;
  top: -14px;
  background: var(--color-orange);
  color: white;
  padding: .55rem .85rem .45rem;
  border: 2px solid var(--color-black);
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .04em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  box-shadow: 0 4px 10px rgba(0,0,0,.2);
  transform: rotate(-4deg);
  z-index: 2;
}
.poster__sticker--left { left: 14px; }
.poster__sticker--right { right: 14px; transform: rotate(4deg); }
.poster__sticker strong { font-size: 1.8rem; letter-spacing: -.02em; }
.poster__sticker span { font-size: .85rem; }
.poster__sticker small { font-size: .7rem; opacity: .9; margin-top: 2px; }

.poster__meta {
  padding: .9rem .25rem 0;
}
.poster__title {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.015em;
  margin: 0 0 .35rem;
}
.poster__cta {
  font-size: .78rem;
  color: var(--color-black);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--color-orange);
  text-decoration-thickness: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .poster { transform: none !important; }
}

/* ============================================
   Tiles / feature grid (home)
   ============================================ */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-3);
}
.tile {
  display: block;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  text-decoration: none;
  color: white;
  background: var(--color-black);
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}
.tile:hover img { transform: scale(1.04); }
.tile__label {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--space-4) var(--space-3) var(--space-3);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.75));
  font-size: clamp(1.5rem, 2.2vw, 2.25rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}
.tile__label::after { content: " →"; color: var(--color-orange); }

/* ============================================
   Forms
   ============================================ */
.form-field { margin-bottom: var(--space-3); }
.form-field label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  font: inherit;
  border: 2px solid var(--color-black);
  border-radius: var(--radius);
  background: white;
  color: var(--color-text);
}
.form-field input:focus,
.form-field textarea:focus {
  outline: 3px solid var(--color-orange);
  outline-offset: 2px;
  border-color: var(--color-orange);
}
.form-field textarea { min-height: 180px; resize: vertical; }
.honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.form-message { padding: var(--space-2) var(--space-3); border-radius: var(--radius); margin-bottom: var(--space-3); font-weight: 500; }
.form-message:empty { padding: 0; margin: 0; display: none; }
.form-message--ok { background: var(--color-cream); color: var(--color-black); border: 2px solid var(--color-black); }
.form-message--err { background: var(--color-black); color: var(--color-cream); border: 2px solid var(--color-orange); }

.btn[disabled], .btn[aria-busy="true"] { opacity: 0.6; cursor: wait; transform: none !important; }

/* A11y — focus rings (clavier uniquement) */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.burger:focus-visible {
  outline: 3px solid var(--color-orange);
  outline-offset: 3px;
  border-radius: var(--radius);
}

/* A11y — respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================
   Utilities
   ============================================ */
.text-center { text-align: center; }
.muted { opacity: 0.7; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.badge-orange { display: inline-block; background: var(--color-orange); color: white; padding: 0.2rem 0.6rem; border-radius: var(--radius); font-weight: 700; font-size: 0.8rem; }

.marquee-tag {
  display: inline-block;
  background: var(--color-black);
  color: var(--color-cream);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0.2rem;
}

/* ============================================
   Team grid (le-lieu#equipe)
   ============================================ */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4) var(--space-3);
  margin-top: var(--space-5);
}
.team-card {
  flex: 0 0 160px;
  text-align: center;
}
.team-photo {
  display: block;
  width: 160px;
  height: 160px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto var(--space-2);
  background: var(--color-cream);
  border: 2px solid var(--color-black);
}
.team-photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-black);
  background: var(--color-cream);
  border: 2px dashed var(--color-black);
}
.team-card h3 {
  margin: 0 0 .2rem;
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 1.1rem;
}
.team-card p {
  margin: 0;
  font-size: .85rem;
  opacity: .75;
}
@media (max-width: 640px) {
  .team-card { flex: 0 0 130px; }
  .team-photo { width: 130px; height: 130px; }
  .team-photo--placeholder { font-size: 2.4rem; }
}

/* ============================================
   Gallery grid (le-lieu, hotel)
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-5);
}
@media (max-width: 760px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-grid figure {
  margin: 0;
  aspect-ratio: 4/3;
  overflow: hidden;
  border: 2px solid var(--color-black);
  border-radius: var(--radius-md);
  background: var(--color-black);
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms ease;
}
.gallery-grid figure:hover img { transform: scale(1.05); }

/* ============================================
   Press grid (home)
   ============================================ */
.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-5);
}
.press-card {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  padding: var(--space-4);
  background: var(--color-cream);
  border: 2px solid var(--color-black);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--color-black);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.press-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
}
.press-card__source {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-black);
  font-weight: 700;
}
.press-card__title {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.25;
}
.press-card::after {
  content: "Lire ↗";
  margin-top: .4rem;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-black);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================
   Resa box (privatisation)
   ============================================ */
.resa-box {
  margin-top: var(--space-5);
  padding: var(--space-4);
  background: var(--color-orange);
  color: white;
  border: 2px solid var(--color-black);
  border-radius: var(--radius-lg);
}
.resa-box h3 {
  margin-top: 0;
  color: white;
}
.resa-prices {
  list-style: none;
  padding: 0;
  margin: var(--space-3) 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: var(--space-2);
}
.resa-prices li {
  background: rgba(0,0,0,.15);
  padding: .7rem 1rem;
  border-radius: var(--radius-md);
  text-align: center;
}
.resa-prices strong { font-size: 1.2rem; display: block; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center; justify-content: center;
  padding: 2rem 3.5rem;
}
.lightbox.is-open { display: flex; }
.lightbox__figure {
  margin: 0; max-width: 100%; max-height: 100%;
  display: flex; flex-direction: column; align-items: center; gap: .75rem;
}
.lightbox__img {
  max-width: 100%; max-height: calc(100vh - 6rem);
  object-fit: contain;
  border: 2px solid var(--color-cream);
  border-radius: var(--radius-md);
  background: #000;
}
.lightbox__caption {
  color: var(--color-cream);
  font-size: .95rem; text-align: center;
  max-width: 60ch;
}
.lightbox button {
  position: absolute;
  background: var(--color-cream); color: var(--color-black);
  border: 2px solid var(--color-black);
  border-radius: 999px;
  width: 3rem; height: 3rem;
  font-size: 1.6rem; line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform .15s ease;
}
.lightbox button:hover { transform: scale(1.08); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__prev:hover { transform: translateY(-50%) scale(1.08); }
.lightbox__next:hover { transform: translateY(-50%) scale(1.08); }
@media (max-width: 560px) {
  .lightbox { padding: 1rem; }
  .lightbox button { width: 2.4rem; height: 2.4rem; font-size: 1.3rem; }
  .lightbox__close { top: .5rem; right: .5rem; }
  .lightbox__prev { left: .5rem; }
  .lightbox__next { right: .5rem; }
}
