/* =========================================================================
   Matecaña · Design system « Soleil »
   Thème unique clair. Accent unique : orange soleil issu du logo
   (--accent pour les aplats, --accent-ink / --accent-strong pour textes et icônes,
   contrastes AA sur fond clair). Rayons du logo = motif décoratif.
   Les blocs posés sur photo utilisent la portée .on-dark.
   Rayons de courbure : cartes 20px, champs 12px, boutons en pilule.
   Échelle z-index : header 50 · barre mobile 40 · menu mobile 60 · lightbox 100 · skip 200
   ========================================================================= */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/figtree-latin.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #f8f7f9;
  --bg-2: #f1eff4;
  --surface: #fefdff;
  --surface-2: #f4f2f6;
  --surface-3: #e4e0e9;
  --line: rgb(28 20 36 / 0.09);
  --line-2: rgb(28 20 36 / 0.17);
  --hover: rgb(28 20 36 / 0.05);
  --hover-2: rgb(28 20 36 / 0.32);
  --text: #17131c;
  --text-2: #4e4757;
  --text-3: #6e6678;
  /* Accent « terracotta » : modifier ces lignes suffit pour changer la couleur du site */
  --accent: #b4532c;
  --accent-rgb: 180 83 44;
  --accent-hover: #9c4424;
  --accent-ink: #9a4222;
  --accent-strong: #b4532c;
  --accent-soft: rgb(var(--accent-rgb) / 0.1);
  --on-accent: #fffaf6;
  --accent-on-dark: #f0c49b;
  --sun: #e9bf94;
  --sun-rgb: 233 191 148;
  --ember: #7e321b;
  --star: #c27400;
  --error: #c62828;
  --success: #1f7a4d;

  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 20px;
  --radius-lg: 28px;
  --radius-sm: 12px;
  --pill: 999px;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --section: clamp(72px, 9vw, 128px);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 26px 50px -26px rgb(40 24 50 / 0.28);
  --glow: 0 14px 30px -14px rgb(var(--accent-rgb) / 0.55);
}

/* ---------- Base ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 1.5rem + 3.6vw, 4.4rem); line-height: 1.02; font-weight: 750; }
h2 { font-size: clamp(2rem, 1.35rem + 2.4vw, 3.3rem); line-height: 1.05; }
h3 { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.55rem); line-height: 1.2; letter-spacing: -0.02em; }
h4 { font-size: 1.05rem; letter-spacing: -0.01em; }
strong { font-weight: 650; color: var(--text); }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; border-radius: 6px; }

.ic { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }
.ic--lg { width: 28px; height: 28px; }
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--accent); color: var(--on-accent); padding: 12px 18px;
  border-radius: var(--pill); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Blocs posés sur une photo assombrie : jetons inversés localement */
.on-dark {
  --text: #f7f4f9; --text-2: rgb(255 255 255 / 0.82); --text-3: rgb(255 255 255 / 0.62);
  --line: rgb(255 255 255 / 0.14); --line-2: rgb(255 255 255 / 0.34);
  --surface: rgb(255 255 255 / 0.08); --hover: rgb(255 255 255 / 0.12); --hover-2: rgb(255 255 255 / 0.55);
  --accent-ink: var(--accent-on-dark);
  color: var(--text);
}

/* ---------- Layout ----------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: 1440px; }
.container--narrow { max-width: 880px; }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--alt { background: var(--bg-2); }
.section + .section--alt, .section--alt + .section { border-top: 1px solid var(--line); }

.lead { font-size: clamp(1.08rem, 1rem + 0.35vw, 1.25rem); color: var(--text-2); max-width: 62ch; }
.muted { color: var(--text-2); }
.small { font-size: 0.9rem; color: var(--text-3); }
.accent { color: var(--accent-strong); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: 18px;
}
.eyebrow .ic { width: 16px; height: 16px; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 + p { margin-top: 18px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head--row {
  max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.section-head--row > div { max-width: 720px; }
.source { font-size: 0.82rem; color: var(--text-3); }
.source a { color: var(--text-2); }

/* ---------- Buttons ---------------------------------------------------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 26px; border-radius: var(--pill);
  border: 1px solid transparent; background: transparent;
  font-weight: 650; font-size: 1rem; line-height: 1; white-space: nowrap; text-decoration: none;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  touch-action: manipulation;
}
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--accent); color: var(--on-accent); box-shadow: var(--glow); }
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line-2); color: var(--text); background: var(--surface); }
.btn--ghost:hover { border-color: var(--hover-2); background: var(--hover); }
.btn--sm { --h: 44px; padding: 0 18px; font-size: 0.95rem; }
.btn--lg { --h: 58px; padding: 0 32px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn .ic { width: 20px; height: 20px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--accent-ink); text-decoration: none;
}
.link-arrow .ic { transition: transform .3s var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }

/* ---------- Header / navigation --------------------------------------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background-color .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled, .header--solid {
  background: rgb(248 247 249 / 0.86);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.header__inner { position: relative; height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; line-height: 1; }
.brand__tag { display: block; font-size: 0.72rem; color: var(--text-3); letter-spacing: 0.06em; margin-top: 4px; font-family: var(--font-body); font-weight: 500; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav__link, .nav__trigger {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: var(--pill);
  font-size: 0.95rem; font-weight: 550; color: var(--text-2); text-decoration: none; border: 0; background: none;
  transition: color .2s, background-color .2s;
}
.nav__link:hover, .nav__trigger:hover, .nav__link[aria-current="page"], .nav__trigger.is-current { color: var(--text); background: var(--hover); }
.nav__trigger .ic { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.nav__item { position: static; }
.nav__item.is-open .nav__trigger .ic { transform: rotate(180deg); }
.header__actions { display: flex; align-items: center; gap: 10px; }
.header__phone {
  width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center;
  border: 1px solid var(--line-2); color: var(--text); transition: border-color .2s, background-color .2s;
}
.header__phone:hover { border-color: var(--accent-ink); background: var(--accent-soft); }

.mega {
  position: absolute; top: calc(100% - 4px); left: 50%; translate: -50% 0;
  width: min(760px, calc(100vw - 32px)); padding: 18px; border-radius: var(--radius);
  background: rgb(254 253 255 / 0.98); border: 1px solid var(--line-2); box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.mega::before { content: ""; position: absolute; inset: -18px 0 auto; height: 18px; }
.nav__item.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega a {
  display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 600; font-size: 0.95rem; color: var(--text);
}
.mega a:hover { background: var(--hover); }
.mega a .ic { width: 22px; height: 22px; color: var(--accent-ink); }
.mega__all { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 8px; }
.mega__all a { color: var(--accent-ink); }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: none; place-items: center; }
.burger .ic { width: 22px; height: 22px; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 60; background: var(--bg);
  display: flex; flex-direction: column; padding: 16px var(--gutter) 32px; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; height: 56px; margin-bottom: 16px; }
.mobile-menu__links { display: grid; gap: 2px; }
.mobile-menu__links > a {
  font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; letter-spacing: -0.03em;
  text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--line);
}
.mobile-menu__events { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; padding: 14px 0 18px; border-bottom: 1px solid var(--line); }
.mobile-menu__events a { color: var(--text-2); text-decoration: none; font-weight: 550; padding: 6px 0; }
.mobile-menu__label { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-top: 18px; }
.mobile-menu .btn-row { margin-top: 24px; }

/* ---------- Sunburst (rayons du logo) --------------------------------- */
.sunburst {
  position: absolute; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  /* Rayons précalculés en SVG (assets/img/sunburst.svg) : bien plus légers à afficher que des masques CSS */
  background: url("/assets/img/sunburst.svg") center / 100% 100% no-repeat;
  opacity: 0.42;
  animation: spin 160s linear infinite;
}
@keyframes spin { to { rotate: 360deg; } }

/* ---------- Hero (accueil) -------------------------------------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(100dvh, 940px);
  padding: calc(var(--header-h) + clamp(24px, 5vw, 64px)) 0 clamp(40px, 5vw, 72px);
  display: flex; align-items: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 55% at 78% 45%, rgb(var(--sun-rgb) / 0.32), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgb(var(--sun-rgb) / 0.12), transparent 70%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 1rem + 3.8vw, 4rem); }
.hero h1 .accent { white-space: nowrap; }
.hero__sub { margin: 26px 0 34px; max-width: 46ch; font-size: clamp(1.1rem, 1rem + 0.45vw, 1.3rem); color: var(--text-2); }
.hero__media { position: relative; justify-self: center; width: min(100%, 440px); }
.hero__media .sunburst { width: 175%; left: 50%; top: 50%; translate: -50% -50%; z-index: -1; }
.hero__video {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line-2); box-shadow: var(--shadow); background: var(--surface);
}
.hero__video video, .hero__video img { width: 100%; height: 100%; object-fit: cover; }
.video-toggle {
  position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgb(255 255 255 / 0.3); background: rgb(13 11 16 / 0.72); color: #fff;
  display: grid; place-items: center;
}
.video-toggle .ic { width: 18px; height: 18px; }
.video-sound {
  position: absolute; left: 14px; bottom: 14px; height: 44px; padding: 0 16px 0 12px; border-radius: var(--pill);
  border: 1px solid rgb(255 255 255 / 0.3); background: rgb(16 12 20 / 0.72); color: #fff;
  display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-size: 0.9rem;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.video-sound:hover { background: rgb(16 12 20 / 0.72); }
.video-sound .ic { width: 18px; height: 18px; }
.video-sound .i-sound { display: none; }
.video-sound[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.video-sound[aria-pressed="true"] .i-sound { display: block; }
.video-sound[aria-pressed="true"] .i-muted { display: none; }
.video-toggle .i-pause { display: block; }
.video-toggle .i-play { display: none; }
.video-toggle.is-paused .i-pause { display: none; }
.video-toggle.is-paused .i-play { display: block; }

/* Entrée du hero */
/* Entrée du hero : glissement seul, le texte est visible dès le premier affichage (LCP) */
.js .rise { transform: translateY(18px); animation: rise .7s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 70ms); }
@keyframes rise { to { transform: none; } }

/* ---------- Bande de faits ------------------------------------------- */
.facts { border-block: 1px solid var(--line); background: var(--bg-2); }
.facts__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.25fr); }
.fact { padding: 28px 24px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact__value { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); letter-spacing: -0.03em; line-height: 1; }
.fact__label { font-size: 0.9rem; color: var(--text-2); line-height: 1.35; }
.ratings { display: grid; gap: 10px; align-content: center; }
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; text-decoration: none; font-size: 0.92rem; color: var(--text-2); min-width: 0; }
.rating:hover { color: var(--text); }
.rating strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--text); }
.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars .ic { width: 15px; height: 15px; }

/* ---------- Marquee (une seule par page) ------------------------------ */
.marquee { overflow: hidden; padding-block: clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); padding-right: clamp(20px, 3vw, 40px); }
.marquee__item { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 1.3rem + 3vw, 4rem); letter-spacing: -0.035em; white-space: nowrap; color: var(--text); text-decoration: none; }
.marquee__item:nth-child(4n+3) { color: transparent; -webkit-text-stroke: 1.2px rgb(23 19 28 / 0.5); }
.marquee__item:hover { color: var(--accent-ink); -webkit-text-stroke: 0; }
.marquee .ic { width: clamp(22px, 2.5vw, 34px); height: clamp(22px, 2.5vw, 34px); color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Bento « la salle » ---------------------------------------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: minmax(220px, auto); gap: 16px; }
.bento__cell { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.bento__cell img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.bento__cell:hover img { transform: scale(1.04); }
.bento__a { grid-column: span 4; grid-row: span 2; }
.bento__b { grid-column: span 2; grid-row: span 2; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.bento__c, .bento__d, .bento__e { grid-column: span 2; min-height: 260px; }
.bento__d { padding: 28px; background: linear-gradient(150deg, var(--accent) 0%, var(--ember) 115%); color: var(--on-accent); border: 0; display: flex; flex-direction: column; justify-content: space-between; }
.bento__d h3 { color: var(--on-accent); }
.bento__d ul { list-style: none; display: grid; gap: 8px; font-weight: 600; }
.bento__d li { display: flex; gap: 10px; align-items: center; }
.bento__b .big { font-family: var(--font-display); font-size: clamp(3rem, 2rem + 3vw, 4.6rem); font-weight: 750; letter-spacing: -0.05em; line-height: 0.9; }
.bento__b .big span { font-size: 0.4em; letter-spacing: 0; color: var(--text-2); margin-left: 6px; }

/* ---------- Vidéo visite (façade YouTube) ----------------------------- */
.video-embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-facade { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; background: none; display: block; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .4s; filter: brightness(0.8); }
.video-facade:hover img { transform: scale(1.03); filter: brightness(0.9); }
.video-facade__play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: clamp(72px, 9vw, 108px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--on-accent); isolation: isolate;
}
/* Onde autour du bouton : transform + opacity uniquement (animée par la carte graphique) */
.video-facade__play::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%;
  background: rgb(var(--accent-rgb) / 0.55); animation: pulse 2.6s var(--ease) infinite;
}
.video-facade__play .ic { width: 38%; height: 38%; margin-left: 6%; }
.video-facade__meta { position: absolute; left: 24px; bottom: 20px; right: 24px; display: flex; justify-content: space-between; gap: 16px; font-weight: 600; color: #fff; text-shadow: 0 2px 12px rgb(0 0 0 / 0.6); }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.7; } 70%, 100% { transform: scale(1.5); opacity: 0; } }

/* ---------- Rail d'événements ----------------------------------------- */
.rail-wrap { position: relative; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 27vw, 330px); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: 4px var(--gutter) 24px; margin-inline: calc(var(--gutter) * -1);
  scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent;
  overscroll-behavior-x: contain;
}
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 6px; }
.rail-controls { display: flex; gap: 10px; }
.icon-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface);
  display: grid; place-items: center; color: var(--text); transition: border-color .2s, background-color .2s, opacity .2s;
}
.icon-btn:hover { border-color: var(--accent-ink); background: var(--accent-soft); }
.icon-btn:disabled { opacity: 0.35; cursor: default; }
.icon-btn .ic { width: 22px; height: 22px; }

.event-card { scroll-snap-align: start; text-decoration: none; display: flex; flex-direction: column; gap: 14px; }
.event-card__media { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.event-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.event-card:hover .event-card__media img { transform: scale(1.05); }
.event-card__title { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.event-card__title h3 { font-size: 1.35rem; }
.event-card__title .ic { color: var(--accent-ink); width: 22px; height: 22px; transition: transform .3s var(--ease); }
.event-card:hover .event-card__title .ic { transform: translate(3px, -3px); }
.event-card p { margin: -6px 0 0; color: var(--text-2); font-size: 0.95rem; line-height: 1.5; }

/* Grille d'événements (page hub) */
.event-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 28px 20px; }
.event-grid .event-card { grid-column: span 4; }
.event-grid .event-card:nth-child(1), .event-grid .event-card:nth-child(2) { grid-column: span 6; }
.event-grid .event-card:nth-child(1) .event-card__media, .event-grid .event-card:nth-child(2) .event-card__media { aspect-ratio: 4 / 3; }

/* ---------- Tarifs : simulateur -------------------------------------- */
.pricing { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.sim { display: grid; gap: 28px; }
.sim fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.sim legend { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin-bottom: 14px; letter-spacing: -0.01em; }
.days { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: flex; flex-direction: column; gap: 4px; height: 100%;
  padding: 16px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: var(--surface);
  transition: border-color .2s, background-color .2s, transform .2s var(--ease);
}
.choice b { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: -0.01em; }
.choice small { color: var(--text-3); font-size: 0.85rem; }
.choice input:hover + span { border-color: var(--hover-2); }
.choice input:checked + span { border-color: var(--accent); background: var(--accent-soft); }
.choice input:checked + span b { color: var(--accent-ink); }
.choice input:focus-visible + span { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.choice input:disabled + span { opacity: 0.4; }
.offers-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sim__note { font-size: 0.9rem; color: var(--text-3); margin: 0; }
.sim__live { display: none; }

.quote-card {
  position: sticky; top: calc(var(--header-h) + 24px);
  border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px);
  background: radial-gradient(120% 90% at 100% 0%, rgb(var(--sun-rgb) / 0.3), transparent 60%), var(--surface);
  border: 1px solid var(--line-2); box-shadow: var(--shadow);
}
.quote-card__day { color: var(--text-2); font-weight: 600; }
.quote-card__total { font-family: var(--font-display); font-weight: 750; font-size: clamp(3.2rem, 2.4rem + 3vw, 5rem); letter-spacing: -0.05em; line-height: 1; margin: 10px 0 4px; font-variant-numeric: tabular-nums; }
.quote-card__total .cur { font-size: 0.5em; margin-left: 0.15em; letter-spacing: 0; }
.quote-card__total small { display: block; font-family: var(--font-body); font-size: 0.95rem; letter-spacing: 0; color: var(--text-2); font-weight: 500; margin-top: 10px; }
.quote-lines { list-style: none; margin: 22px 0; display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 18px; }
.quote-lines li { display: flex; justify-content: space-between; gap: 16px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.quote-lines li b { color: var(--text); font-weight: 600; }
.quote-lines .is-discount b { color: var(--success); }
.quote-card .btn { margin-top: 6px; }

.price-table { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.price-table > div { padding: 22px; border-left: 1px solid var(--line); }
.price-table > div:first-child { border-left: 0; }
.price-table b { display: block; font-family: var(--font-display); font-size: 2rem; letter-spacing: -0.04em; margin-top: 4px; }
.price-table span { color: var(--text-2); font-size: 0.92rem; }
.price-table .is-top { background: rgb(var(--accent-rgb) / 0.07); }
.price-table--2 { grid-template-columns: 1fr 1fr; }
.price-table--2 > div:nth-child(3) { border-left: 0; }
.price-table--2 > div:nth-child(n+3) { border-top: 1px solid var(--line); }

.included { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin-top: 8px; }
.included li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: var(--pill); background: var(--surface); border: 1px solid var(--line); font-size: 0.95rem; }
.included .ic { color: var(--accent-ink); width: 18px; height: 18px; }
.included a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.included a:hover b { color: var(--accent-ink); }

.compare { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; padding: 22px 24px; border-radius: var(--radius); border: 1px dashed var(--line-2); margin-top: 28px; }
.compare__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); }
.compare p { margin: 0; color: var(--text-2); }

/* ---------- Offres --------------------------------------------------- */
.offers { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; }
.offer-hero {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px);
  background: linear-gradient(140deg, var(--accent) 0%, var(--ember) 110%); color: var(--on-accent);
  display: flex; flex-direction: column; justify-content: space-between; min-height: 380px; isolation: isolate;
}
.offer-hero .sunburst { width: 120%; right: -50%; top: -40%; opacity: 0.16; background-image: url("/assets/img/sunburst-white.svg"); }
.offer-hero h3, .offer-hero strong { color: var(--on-accent); }
.offer-hero__pct { font-family: var(--font-display); font-size: clamp(5rem, 3rem + 7vw, 9rem); font-weight: 800; letter-spacing: -0.06em; line-height: 0.85; }
.offer-hero p { max-width: 40ch; font-weight: 500; margin: 14px 0 0; }
.offer-stack { display: grid; gap: 18px; }
.offer { border-radius: var(--radius-lg); padding: 28px; background: var(--surface); border: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; align-items: start; }
.offer__pct { grid-row: span 2; font-family: var(--font-display); font-size: 2.8rem; font-weight: 800; letter-spacing: -0.05em; color: var(--accent-strong); line-height: 1; }
.offer p { margin: 0; color: var(--text-2); font-size: 0.97rem; }

/* ---------- Conditions (liste groupée) ------------------------------- */
.split-sticky { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.split-sticky__aside { position: sticky; top: calc(var(--header-h) + 32px); }
.terms { display: grid; gap: 40px; }
.terms__group summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.terms__group summary::-webkit-details-marker { display: none; }
.terms__toggle { display: none; width: 22px; height: 22px; color: var(--accent-ink); transition: transform .3s var(--ease); flex: none; }
.terms__group h3 { display: flex; align-items: center; gap: 12px; margin: 0; }
.terms__group summary { cursor: pointer; }
.faq__all { display: none; margin-top: 20px; }
.terms__group h3 .ic { width: 26px; height: 26px; color: var(--accent-ink); }
.terms dl { margin: 0; display: grid; grid-template-columns: minmax(150px, 0.45fr) 1fr; border-top: 1px solid var(--line); }
.terms dt, .terms dd { margin: 0; padding: 14px 0; }
.terms dt { font-weight: 650; color: var(--text); padding-right: 18px; }
.terms dd { color: var(--text-2); }
.terms dl > :nth-last-child(n+3) { border-bottom: 1px solid var(--line); }

/* ---------- Étapes --------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; counter-reset: step; }
.steps::before { content: ""; position: absolute; top: 31px; left: 32px; right: 12%; height: 1px; background: linear-gradient(90deg, var(--accent), var(--line-2)); }
.step { position: relative; padding-right: 24px; }
.step__icon { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line-2); color: var(--accent-ink); margin-bottom: 22px; }
.section--alt .step__icon { background: var(--bg-2); }
.step:first-child .step__icon { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.step h3 { font-size: 1.25rem; margin-bottom: 8px; }
.step p { color: var(--text-2); font-size: 0.97rem; margin: 0; }

/* ---------- Accès / zones -------------------------------------------- */
.access { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.address-card { border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.address-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.address-card__body { padding: 26px; display: grid; gap: 16px; }
.info-line { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; color: var(--text-2); }
.info-line .ic { color: var(--accent-ink); margin-top: 3px; width: 20px; height: 20px; }
.info-line b { color: var(--text); display: block; font-weight: 650; }
.info-line a { color: var(--text); }
.zones { list-style: none; border-top: 1px solid var(--line); }
.zones li { border-bottom: 1px solid var(--line); }
.zone { display: grid; grid-template-columns: 88px 1fr auto; gap: 20px; align-items: center; padding: 22px 6px; text-decoration: none; transition: background-color .25s, padding .25s var(--ease); border-radius: var(--radius-sm); }
.zone:hover { background: var(--hover); padding-inline: 16px; }
.zone__code { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; letter-spacing: -0.05em; line-height: 1; color: var(--accent-strong); }
.zone__name { font-weight: 650; font-size: 1.1rem; }
.zone__time { display: block; color: var(--text-2); font-size: 0.93rem; margin-top: 2px; }
.zone .ic { width: 24px; height: 24px; color: var(--text-3); transition: color .2s, transform .3s var(--ease); }
.zone:hover .ic { color: var(--accent-ink); transform: translate(3px, -3px); }

/* ---------- FAQ ------------------------------------------------------ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; cursor: pointer; font-family: var(--font-display); font-weight: 650; font-size: 1.15rem; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 22px; height: 22px; color: var(--accent-ink); transition: transform .3s var(--ease); flex: none; }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq__answer { padding: 0 48px 24px 0; color: var(--text-2); }
.faq__answer p:last-child { margin: 0; }
.faq__answer a { color: var(--text); }

/* ---------- Bande CTA -------------------------------------------------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(40px, 7vw, 96px) clamp(24px, 6vw, 80px); min-height: 440px; display: flex; align-items: end; }
.cta-band__bg { position: absolute; inset: 0; z-index: -2; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(13 11 16 / 0.92) 0%, rgb(13 11 16 / 0.7) 50%, rgb(13 11 16 / 0.25) 100%), linear-gradient(0deg, rgb(13 11 16 / 0.7), transparent 50%); }
.cta-band h2 { max-width: 16ch; }
.cta-band p { max-width: 46ch; margin: 18px 0 30px; color: var(--text-2); font-size: 1.15rem; }

/* ---------- Pages internes : hero ------------------------------------ */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + clamp(32px, 6vw, 72px)) 0 clamp(48px, 6vw, 88px); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(55% 60% at 85% 40%, rgb(var(--sun-rgb) / 0.28), transparent 70%); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero__grid--solo { grid-template-columns: minmax(0, 1fr); }
.page-hero__grid--solo > div { max-width: 900px; }
.page-hero h1 { font-size: clamp(2.4rem, 1.5rem + 3.2vw, 4rem); }
.page-hero .lead { margin: 22px 0 30px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.88rem; color: var(--text-3); margin-bottom: 22px; list-style: none; }
.breadcrumb a { color: var(--text-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--text-3); }
.mini-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; list-style: none; }
.mini-facts li { display: flex; align-items: center; gap: 10px; color: var(--text-2); font-size: 0.95rem; }
.mini-facts .ic { color: var(--accent-ink); width: 20px; height: 20px; }

.collage { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; grid-template-rows: 1fr 1fr; gap: 14px; height: clamp(420px, 46vw, 600px); }
.collage .sunburst { width: 130%; left: 50%; top: 50%; translate: -50% -50%; z-index: -1; opacity: 0.28; }
.collage figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); background: var(--surface); }
.collage figure:first-of-type { grid-row: span 2; }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-2); aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Contenu éditorial (pages événements) -------------------- */
.prose { max-width: 68ch; }
.prose h2 { margin-bottom: 20px; }
.prose h3 { margin: 32px 0 10px; }
.prose p, .prose li { color: var(--text-2); }
.prose ul { padding-left: 1.1em; display: grid; gap: 6px; margin-bottom: 1em; }
.prose a { color: var(--text); }

.feature-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.feature-split--rev .feature-split__media { order: 2; }
.feature-split__media { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 5; }
.feature-split__media img { width: 100%; height: 100%; object-fit: cover; }

.reasons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
.reason { padding: 30px 30px 30px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 52px 1fr; gap: 18px; }
.reason:nth-child(even) { padding: 30px 0 30px 30px; border-left: 1px solid var(--line); }
.reason__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); }
.reason__icon .ic { width: 26px; height: 26px; }
.reason h3 { font-size: 1.2rem; margin-bottom: 6px; }
.reason p { margin: 0; color: var(--text-2); font-size: 0.98rem; }

.timeline { list-style: none; display: grid; gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 70px; top: 10px; bottom: 10px; width: 1px; background: linear-gradient(var(--accent), var(--line-2)); }
.timeline li { display: grid; grid-template-columns: 56px 1fr; gap: 30px; padding: 14px 0; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 66px; top: 24px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--bg); }
.section--alt .timeline li::before { box-shadow: 0 0 0 5px var(--bg-2); }
.timeline time { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--text); text-align: right; padding-top: 2px; font-variant-numeric: tabular-nums; }
.timeline b { display: block; font-weight: 650; }
.timeline span { color: var(--text-2); font-size: 0.97rem; }

.budget { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-2); }
.budget > div { padding: 28px; border-left: 1px solid var(--line); background: var(--surface); }
.budget > div:first-child { border-left: 0; background: linear-gradient(160deg, rgb(var(--sun-rgb) / 0.3), transparent 70%), var(--surface); }
.budget b { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 1.8rem + 1.5vw, 3rem); letter-spacing: -0.045em; line-height: 1; margin: 8px 0; }
.budget p { margin: 0; color: var(--text-2); font-size: 0.95rem; }
.budget .label { font-weight: 650; color: var(--text); }

/* Galerie maçonnerie */
.gallery { columns: 3 280px; column-gap: 16px; }
.gallery__item { break-inside: avoid; margin: 0 0 16px; display: block; width: 100%; padding: 0; border: 0; background: var(--surface); border-radius: var(--radius); overflow: hidden; position: relative; cursor: zoom-in; }
.gallery__item img { width: 100%; transition: transform .9s var(--ease), opacity .3s; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item[hidden] { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter { height: 42px; padding: 0 18px; border-radius: var(--pill); border: 1px solid var(--line-2); background: none; color: var(--text-2); font-weight: 600; font-size: 0.93rem; }
.filter:hover { color: var(--text); border-color: var(--hover-2); }
.filter[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100dvh; width: 100vw; height: 100dvh; margin: 0; }
.lightbox::backdrop { background: rgb(8 6 10 / 0.94); }
.lightbox__inner { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 64px 72px; }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 128px); width: auto; border-radius: var(--radius-sm); object-fit: contain; }
.lightbox__close { position: absolute; top: 14px; right: 14px; }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; translate: 0 -50%; }
.lightbox__prev { left: 14px; }
.lightbox__next { right: 14px; }
.lightbox__caption { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: var(--text-2); font-size: 0.92rem; padding-inline: 72px; }

/* Partenaires */
.partners { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.partner { display: grid; grid-template-columns: 140px 1fr; gap: 22px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); align-items: start; }
.partner img { width: 140px; height: 140px; object-fit: cover; border-radius: var(--radius-sm); }
.partner__cat { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 6px; }
.partner h3 { font-size: 1.3rem; margin-bottom: 8px; }
.partner p { color: var(--text-2); font-size: 0.96rem; }
.partner__links { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 0.92rem; }
.partner__links a { display: inline-flex; align-items: center; gap: 6px; color: var(--text); text-decoration: none; overflow-wrap: anywhere; min-width: 0; }
.partner__links a:hover { color: var(--accent-ink); }
.partner__links .ic { width: 16px; height: 16px; color: var(--accent-ink); }

/* ---------- Formulaire -------------------------------------------------- */
.booking { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.form-card { border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); background: var(--surface); border: 1px solid var(--line-2); }
.form-card h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem); margin-bottom: 8px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; margin-top: 28px; }
.field { display: grid; gap: 8px; align-content: start; }
.field--full { grid-column: 1 / -1; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.field legend { margin-bottom: 8px; }
.field label, .field legend { font-weight: 600; font-size: 0.95rem; color: var(--text); padding: 0; }
.field .req { color: var(--accent-ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: var(--radius-sm);
  background: var(--bg); border: 1px solid var(--line-2); color: var(--text); font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%); background-position: calc(100% - 22px) 23px, calc(100% - 16px) 23px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-ink); box-shadow: 0 0 0 3px rgb(var(--accent-rgb) / 0.22); }
.field__help { font-size: 0.85rem; color: var(--text-3); }
.field__error { font-size: 0.88rem; color: var(--error); display: none; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--error); }
.field.is-invalid .field__error { display: block; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; border: 0; padding: 0; margin: 0; }
.slots .choice span { padding: 12px 14px; }
.form-foot { display: grid; gap: 14px; margin-top: 28px; }
.form-foot .small a { color: var(--text-2); }
.form-status { display: none; padding: 16px 18px; border-radius: var(--radius-sm); font-weight: 550; }
.form-status.is-success { display: block; background: rgb(31 122 77 / 0.08); border: 1px solid rgb(31 122 77 / 0.35); color: var(--success); }
.form-status.is-error { display: block; background: rgb(198 40 40 / 0.07); border: 1px solid rgb(198 40 40 / 0.35); color: var(--error); }
.btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }
.hp { position: absolute; left: -9999px; }

.contact-stack { display: grid; gap: 14px; }
.contact-tile { display: grid; grid-template-columns: 52px 1fr auto; gap: 16px; align-items: center; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, transform .25s var(--ease); }
.contact-tile:hover { border-color: var(--accent-ink); transform: translateY(-2px); }
.contact-tile__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); }
.contact-tile b { display: block; font-size: 1.05rem; }
.contact-tile span { color: var(--text-2); font-size: 0.92rem; }
.contact-tile > .ic { color: var(--text-3); }

.map-facade { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 9; background: var(--surface); border: 1px solid var(--line-2); }
.map-facade img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.5); }
.map-facade__cta { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 14px; text-align: center; padding: 24px; }
.map-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Footer ------------------------------------------------------ */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: clamp(56px, 7vw, 96px) 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand img { width: 120px; height: auto; margin-bottom: 18px; }
.footer__brand p { color: var(--text-2); max-width: 36ch; font-size: 0.97rem; }
.footer h2 { font-size: 0.82rem; font-family: var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px; font-weight: 700; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a { color: var(--text-2); text-decoration: none; font-size: 0.97rem; }
.footer a:hover { color: var(--text); }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--text); }
.socials a:hover { border-color: var(--accent-ink); color: var(--accent-ink); }
.footer__nap { display: grid; gap: 10px; margin-top: 4px; }
.footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.88rem; color: var(--text-3); }

/* ---------- Pages légales --------------------------------------------- */
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.legal__toc { position: sticky; top: calc(var(--header-h) + 24px); }
.legal__toc ol { list-style: none; display: grid; gap: 4px; margin-top: 10px; }
.legal__toc a { display: block; padding: 6px 0; color: var(--text-2); text-decoration: none; font-size: 0.95rem; }
.legal__toc a:hover { color: var(--accent-ink); }
.legal__body { max-width: 72ch; }
.legal__section { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 24px); }
.legal__section:last-child { border-bottom: 0; }
.legal__section h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: 16px; }
.legal__body ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.legal__body li { color: var(--text-2); }
.legal__body b { color: var(--text); font-weight: 650; }
mark.todo { background: rgb(var(--accent-rgb) / 0.1); color: var(--accent-ink); border: 1px dashed var(--accent-ink); border-radius: 6px; padding: 1px 8px; font-weight: 650; }
.footer__legal { display: inline-flex; gap: 20px; flex-wrap: wrap; }
.footer__legal a { font-size: 0.88rem; color: var(--text-3); }

/* ---------- Barre d'action mobile ------------------------------------- */
.mobile-bar { display: none; }

/* ---------- Apparition au défilement ---------------------------------- */
/* Sections hors écran : mise en page calculée seulement à l'approche (premier affichage plus léger) */
main > section ~ section, main > section ~ div, .footer { content-visibility: auto; contain-intrinsic-size: auto 900px; }
/* Animations décoratives en boucle : démarrées au premier geste du visiteur (voir main.js) */
.js:not(.is-engaged) .sunburst, .js:not(.is-engaged) .marquee__track, .js:not(.is-engaged) .video-facade__play::after { animation-play-state: paused; }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive -------------------------------------------------- */
@media (max-width: 1180px) {
  .nav__link--secondary { display: none; }
}
@media (max-width: 1023px) {
  .nav, .header__actions .btn { display: none; }
  .burger { display: inline-grid; }
  .facts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact { border-left: 0; padding: 22px 0; border-bottom: 1px solid var(--line); }
  .fact:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
  .ratings { grid-column: 1 / -1; padding: 22px 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento__a { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 10; }
  .bento__b { grid-column: 1 / -1; grid-row: auto; }
  .bento__c, .bento__d { grid-column: span 1; }
  .bento__e { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .bento__c, .bento__e { min-height: 0; }
  .pricing, .split-sticky, .access, .booking, .feature-split { grid-template-columns: minmax(0, 1fr); }
  .feature-split--rev .feature-split__media { order: 0; }
  .split-sticky__aside, .quote-card { position: static; }
  .budget { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .budget > div { border-top: 1px solid var(--line); }
  .budget > div:nth-child(-n+3) { border-top: 0; }
  .budget > div:nth-child(3n+1) { border-left: 0; }
  .budget > div:last-child:nth-child(3n+2) { grid-column: span 2; }
  /* Simulateur empilé : le prix arrive juste après le choix du jour et de l'offre, avant la liste « Toujours inclus » */
  .sim { display: contents; }
  .sim > fieldset:nth-of-type(1) { order: 1; }
  .sim > fieldset:nth-of-type(2) { order: 2; }
  .sim > .sim__live {
    order: 3; position: sticky; bottom: 16px; z-index: 5; margin: 0;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 20px; border-radius: var(--pill); background: var(--text); color: var(--surface); box-shadow: var(--shadow);
  }
  .sim__live span { font-size: 0.9rem; opacity: 0.8; }
  .sim__live b { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: -0.02em; white-space: nowrap; }
  .sim > .sim__note { order: 4; margin-top: -8px; }
  .pricing > .quote-card { order: 5; }
  .sim > div { order: 6; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 36px 0; }
  .steps::before { display: none; }
  .event-grid .event-card, .event-grid .event-card:nth-child(1), .event-grid .event-card:nth-child(2) { grid-column: span 6; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .partners { grid-template-columns: minmax(0, 1fr); }
  .legal { grid-template-columns: minmax(0, 1fr); }
  .legal__toc { position: static; }
}
@media (max-width: 767px) {
  :root { --header-h: 64px; }
  .header__phone { display: none; }
  body { font-size: 1rem; padding-bottom: 76px; }
  .brand img { width: 40px; height: 40px; }
  .brand__tag { display: none; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 28px); }
  .hero__grid, .page-hero__grid { grid-template-columns: minmax(0, 1fr); }
  /* Mobile : la vidéo remonte juste sous le titre, en format paysage, pour être visible sans défiler */
  .hero__grid { gap: 0; }
  .hero__grid > div:first-child { display: contents; }
  .hero .eyebrow { order: 0; }
  .hero h1 { order: 1; }
  .hero__media { order: 2; width: 100%; margin-top: 22px; }
  .hero__media .sunburst { display: none; }
  .hero__video { aspect-ratio: 4 / 3; }
  .hero__video video, .hero__video img { object-position: 50% 42%; }
  .hero__sub { order: 3; }
  .hero .btn-row { order: 4; }
  .hero__sub { margin: 18px 0 26px; }
  .btn-row .btn { flex: 1 1 auto; }
  .btn--block { white-space: normal; text-align: center; line-height: 1.25; }
  .ratings { grid-template-columns: minmax(0, 1fr); }
  .days { grid-template-columns: 1fr 1fr; }
  /* La salle : la carte « 120 invités » répète le bandeau de chiffres ; les deux petites photos côte à côte */
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; grid-auto-flow: dense; gap: 12px; }
  .bento__cell { grid-column: 1 / -1 !important; }
  .bento__b { display: none; }
  .bento__c, .bento__e { grid-column: auto !important; aspect-ratio: 1; min-height: 0; }
  .bento__d { min-height: 0; gap: 20px; }
  .offers { grid-template-columns: minmax(0, 1fr); }
  .offers-choice { grid-template-columns: 1fr 1fr; }
  .sim > .sim__live { bottom: 88px; }
  .choice span { padding: 12px 14px; }
  .pricing { gap: 20px; }
  .quote-card { padding: 22px; }
  .offer-hero { min-height: 0; padding: 26px; gap: 18px; }
  .offer { padding: 20px; }
  .price-table { grid-template-columns: 1fr 1fr; }
  .price-table > div:nth-child(3) { border-left: 0; }
  .price-table > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .terms dl { grid-template-columns: minmax(0, 1fr); }
  .terms dt { padding-bottom: 0; }
  .terms dl > dt { border-bottom: 0 !important; }
  /* Étapes : format compact, icône à gauche */
  .steps { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .step { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; padding: 0; }
  .step__icon { width: 48px; height: 48px; margin: 0; grid-row: span 2; }
  .step__icon .ic { width: 22px; height: 22px; }
  .step h3 { font-size: 1.1rem; margin: 2px 0 4px; }
  .step p { font-size: 0.93rem; }
  /* Accès : sans la photo de façade, départements en pastilles sur 2 colonnes */
  .address-card > img, .address-card > picture { display: none; }
  .address-card__body { padding: 20px; gap: 12px; }
  .zones { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border: 0; }
  .zones li { border: 0; }
  .zones li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .zone { grid-template-columns: auto 1fr; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
  .zone:hover { padding-inline: 14px; }
  .zone__code { font-size: 1.5rem; }
  .zone__name { font-size: 0.92rem; line-height: 1.2; }
  .zone__time, .zone .ic { display: none; }
  /* Conditions en accordéon */
  .terms { gap: 0; }
  .terms__group { border-bottom: 1px solid var(--line); }
  .terms__group summary { margin: 0; padding: 18px 0; cursor: pointer; }
  .terms__group h3 { font-size: 1.15rem; }
  .terms__toggle { display: block; }
  .terms__group[open] .terms__toggle { transform: rotate(45deg); }
  .terms__group[open] dl { margin-bottom: 18px; }
  /* FAQ : 5 questions puis bouton */
  .faq--collapsible .faq__more { display: none; }
  .faq__all { display: inline-flex; }
  /* Accueil : la liste « Toujours inclus » du simulateur répète le bloc « La salle » */
  main:has(.hero) .sim > div { display: none; }
  /* Rythme vertical resserré */
  :root { --section: 60px; }
  .section-head { margin-bottom: 28px; }
  .fact { padding: 18px 16px; }
  .compare { grid-template-columns: minmax(0, 1fr); padding: 16px 18px; margin-top: 20px; }
  .compare__icon { display: none; }
  .compare p { font-size: 0.9rem; }
  #tarifs .section-head .lead { display: none; }
  .offer-hero__pct { font-size: 4.6rem; }
  .reasons { grid-template-columns: minmax(0, 1fr); }
  .reason, .reason:nth-child(even) { padding: 24px 0; border-left: 0; }
  .budget { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); }
  .budget > div { border-left: 0; border-top: 1px solid var(--line); }
  .budget > div:nth-child(-n+3) { border-top: 1px solid var(--line); }
  .budget > div:last-child { grid-column: auto; }
  .budget > div:first-child { border-top: 0; }
  .collage { height: 380px; }
  .event-grid .event-card, .event-grid .event-card:nth-child(1), .event-grid .event-card:nth-child(2) { grid-column: 1 / -1; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .slots { grid-template-columns: minmax(0, 1fr); }
  .partner { grid-template-columns: 88px 1fr; gap: 16px; padding: 18px; }
  .partner img { width: 88px; height: 88px; }
  .cta-band { min-height: 0; }
  .cta-band::after { background: linear-gradient(0deg, rgb(13 11 16 / 0.95) 10%, rgb(13 11 16 / 0.6)); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .lightbox__inner { padding: 64px 8px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 10px; translate: none; }
  .faq__answer { padding-right: 0; }
  .timeline::before { left: 58px; }
  .timeline li { grid-template-columns: 46px 1fr; gap: 26px; }
  .timeline li::before { left: 54px; }
  .video-facade__meta { display: none; }

  .mobile-bar {
    position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
    display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgb(248 247 249 / 0.92); border-top: 1px solid var(--line);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; border-radius: 14px; text-decoration: none; font-size: 0.78rem; font-weight: 650; border: 1px solid var(--line-2); }
  .mobile-bar a .ic { width: 20px; height: 20px; }
  .mobile-bar a.is-primary { flex-direction: row; gap: 8px; font-size: 0.95rem; background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
}

/* ---------- Mouvement réduit ------------------------------------------ */
@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; }
  .sunburst { animation: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee__group + .marquee__group { display: none; }
  .js .reveal, .js .rise { opacity: 1; transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .header.is-scrolled, .header--solid, .mega, .mobile-bar { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

a[href^="tel:"] { white-space: nowrap; }
.contact-tile > span > span { white-space: normal; }
