/* ResaSalle RDC — Design pro responsive */
:root {
  --ink: #0c1c24;
  --ink-soft: #243b47;
  --muted: #5e7280;
  --line: #d7e0e6;
  --paper: #f5f7f8;
  --white: #ffffff;
  --brand: #0d4f5b;
  --brand-deep: #083740;
  --accent: #c9852c;
  --accent-soft: #f3e6d2;
  --ok: #1f7a4d;
  --warn: #a36b12;
  --err: #b42318;
  --radius: 6px;
  --shadow: 0 18px 40px rgba(12, 28, 36, 0.08);
  --font: "Figtree", "Segoe UI", sans-serif;
  --display: "Fraunces", Georgia, serif;
  --max: 1160px;
  --header: 4.25rem;
  --gutter: 1.25rem;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body.site {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover { color: var(--brand-deep); }

.container {
  width: min(100% - (var(--gutter) * 2), var(--max));
  margin-inline: auto;
}

.flash-slot {
  margin-top: 1rem;
}

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.header-home {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  background: transparent;
  border-bottom-color: transparent;
}

.header-home.is-scrolled,
.header-home.menu-open {
  position: fixed;
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(12, 28, 36, 0.06);
}

.header-home.is-scrolled .logo-text strong,
.header-home.menu-open .logo-text strong {
  color: var(--ink) !important;
}

.header-home.is-scrolled .nav-burger,
.header-home.menu-open .nav-burger {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
}

.header-home:not(.is-scrolled):not(.menu-open) .logo-text strong,
.header-home:not(.is-scrolled):not(.menu-open) .desktop-only.main-nav a,
.header-home:not(.is-scrolled):not(.menu-open) .desktop-only .user-label {
  color: #fff;
}

.header-home:not(.is-scrolled):not(.menu-open) .desktop-only.main-nav a:hover,
.header-home:not(.is-scrolled):not(.menu-open) .desktop-only.main-nav a.is-active {
  color: #fff;
}

.header-home:not(.is-scrolled):not(.menu-open) .desktop-only .btn-ghost {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.header-home:not(.is-scrolled):not(.menu-open) .desktop-only .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff !important;
}

.header-row {
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  flex-shrink: 0;
  z-index: 2;
}

.logo-img {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  border-radius: 0.35rem;
  background: #fff;
}

.logo-mark {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  background: linear-gradient(145deg, var(--accent), #8f5a12 55%, var(--brand));
  clip-path: polygon(50% 0, 100% 28%, 100% 72%, 50% 100%, 0 72%, 0 28%);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-text strong {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 650;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.logo-text small {
  font-size: 0.65rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.header-row > .main-nav.desktop-only {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.35rem;
  flex: 1;
  min-width: 0;
}

.header-row > .header-actions.desktop-only {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-shrink: 0;
  margin-left: auto;
}

.main-nav a {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 0.35rem 0;
  white-space: nowrap;
}

.main-nav a.is-active::after,
.main-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
}

.user-label {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 600;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notif-bell {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  color: var(--text, #1f2937);
  text-decoration: none !important;
  transition: background 0.15s ease;
}

.notif-bell:hover,
.notif-bell.is-active {
  background: rgba(15, 23, 42, 0.06);
}

.header-home:not(.is-scrolled):not(.menu-open) .notif-bell {
  color: #fff;
}

.header-home:not(.is-scrolled):not(.menu-open) .notif-bell:hover {
  background: rgba(255, 255, 255, 0.14);
}

.notif-badge {
  position: absolute;
  top: 0.15rem;
  right: 0.1rem;
  min-width: 1.05rem;
  height: 1.05rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  line-height: 1;
}

.btn-logout { white-space: nowrap; }

.nav-burger {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  margin-left: auto;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
  cursor: pointer;
  color: var(--ink);
  flex-shrink: 0;
}

.header-home:not(.is-scrolled):not(.menu-open) .nav-burger {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.nav-burger span {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-only { display: none !important; }

/* Tiroir mobile — hors écran par défaut */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(86vw, 300px);
  z-index: 120;
  background: linear-gradient(180deg, #141b2d 0%, #0f1524 100%);
  color: #e5e7eb;
  display: flex;
  flex-direction: column;
  padding: 1rem 0.9rem 1.15rem;
  transform: translateX(-105%);
  transition: transform 0.28s ease;
  box-shadow: 12px 0 40px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.mobile-drawer.is-open {
  transform: translateX(0);
  pointer-events: auto;
}

.mobile-drawer .logo-text strong { color: #fff; }

.mobile-drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-bottom: 1rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-close {
  width: 2.35rem;
  height: 2.35rem;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
}

.drawer-close svg { width: 1.15rem; height: 1.15rem; }

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
  overflow-y: auto;
}

.mobile-drawer-nav a {
  display: block;
  padding: 0.85rem 0.9rem;
  border-radius: 10px;
  color: rgba(229, 231, 235, 0.85) !important;
  font-weight: 650;
  font-size: 0.98rem;
}

.mobile-drawer-nav a:hover,
.mobile-drawer-nav a.is-active {
  background: rgba(59, 130, 246, 0.18);
  color: #fff !important;
}

.mobile-drawer-foot {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.mobile-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
}

.mobile-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #3b82f6, #1d4ed8);
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  flex-shrink: 0;
}

.mobile-user strong {
  display: block;
  color: #fff;
  font-size: 0.9rem;
}

.mobile-user span {
  color: rgba(229, 231, 235, 0.55);
  font-size: 0.78rem;
}

.mobile-logout {
  display: block;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  color: #fca5a5 !important;
  font-weight: 700;
}

.mobile-logout:hover {
  background: rgba(248, 113, 113, 0.12);
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  z-index: 110;
}

.nav-overlay.is-visible {
  display: block;
}

body.nav-open {
  overflow: hidden;
}

@media (min-width: 769px) {
  .mobile-drawer,
  .nav-overlay {
    display: none !important;
  }
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.65rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  text-align: center;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }

.btn-solid,
.btn-primary {
  background: var(--brand);
  color: #fff !important;
}

.btn-solid:hover,
.btn-primary:hover {
  background: var(--brand-deep);
  color: #fff !important;
}

.btn-accent {
  background: var(--accent);
  color: #fff !important;
}

.btn-accent:hover {
  background: #a86d1f;
  color: #fff !important;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink) !important;
}

.btn-outline,
.btn-line {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink) !important;
  padding: 0.5rem 1rem;
  min-height: 2.4rem;
}

.btn-outline:hover,
.btn-line:hover {
  background: var(--ink);
  color: #fff !important;
}

.btn-danger {
  background: var(--err);
  color: #fff !important;
}

.btn-sm {
  min-height: 2.1rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: clamp(560px, 92vh, 860px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.1s ease, transform 6s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1.1);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(105deg, rgba(8, 28, 36, 0.9) 0%, rgba(8, 28, 36, 0.58) 48%, rgba(8, 28, 36, 0.35) 100%);
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(8, 28, 36, 0.9) 0%, rgba(8, 28, 36, 0.58) 48%, rgba(8, 28, 36, 0.3) 100%),
    var(--hero-img) center/cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: calc(var(--header) + 3rem) 0 3.5rem;
  max-width: 38rem;
  animation: rise 0.85s ease both;
}

.hero-dots {
  display: flex;
  gap: 0.45rem;
  margin-top: 1.5rem;
}

.hero-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
  width: 1.4rem;
  background: var(--accent);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-kicker {
  display: inline-block;
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.hero-brand {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: clamp(2.6rem, 10vw, 5.4rem);
  line-height: 0.95;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.hero-content p {
  margin: 0 0 1.5rem;
  font-size: clamp(0.98rem, 2.4vw, 1.08rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 30rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-actions .btn {
  flex: 1 1 auto;
  min-width: min(100%, 160px);
}

.hero-actions .btn-ghost {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.08);
}

.hero-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff !important;
}

/* ========== Sections ========== */
.section {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.section-alt { background: var(--white); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.section-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.55rem, 4vw, 2.45rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  max-width: 34rem;
}

.page-intro {
  padding: clamp(1.5rem, 4vw, 2.5rem) 0 0.5rem;
}

.page-intro h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.7rem, 5vw, 2.7rem);
}

.page-intro p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  max-width: 36rem;
}

/* ========== Venue cards ========== */
.venue-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.9rem, 2vw, 1.35rem);
}

.venue-card {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: rise 0.55s ease both;
  min-width: 0;
}

.venue-card:nth-child(2) { animation-delay: 0.05s; }
.venue-card:nth-child(3) { animation-delay: 0.1s; }
.venue-card:nth-child(4) { animation-delay: 0.15s; }
.venue-card:nth-child(5) { animation-delay: 0.2s; }
.venue-card:nth-child(6) { animation-delay: 0.25s; }

@media (hover: hover) {
  .venue-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
  }
  .venue-card:hover .venue-media img {
    transform: scale(1.05);
  }
}

.venue-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #d9e2e8;
}

.venue-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.venue-cap {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  padding: 0.28rem 0.6rem;
  background: rgba(12, 28, 36, 0.82);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

.venue-body {
  padding: 1rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
  min-width: 0;
}

.venue-loc {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.venue-body h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  line-height: 1.2;
  font-weight: 600;
}

.venue-body h3 a { color: var(--ink); }
.venue-body h3 a:hover { color: var(--brand); }

.venue-desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.venue-foot {
  margin-top: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.venue-foot strong { font-size: 0.98rem; }
.venue-foot strong span {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.8rem;
}

/* ========== Filters ========== */
.filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(140px, 220px) auto;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  align-items: stretch;
}

.filters input,
.filters select {
  max-width: none;
  width: 100%;
  min-height: 2.75rem;
}

.filters .btn {
  width: 100%;
}

.chip-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  margin-bottom: 1.35rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.chip {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  font-weight: 650;
  font-size: 0.86rem;
  border-radius: 999px;
  min-height: 2.35rem;
}

.chip:hover,
.chip.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

/* ========== Split ========== */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
}

.split-media {
  position: relative;
  min-height: clamp(220px, 42vw, 380px);
  overflow: hidden;
  background: #cfd8de;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.split-copy h2 {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.5vw, 2.35rem);
}

.split-copy p {
  color: var(--muted);
  margin: 0 0 1rem;
}

.steps {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.1rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
}

.step-num {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: #8f5a12;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.step strong { display: block; margin-bottom: 0.1rem; }
.step span { color: var(--muted); font-size: 0.9rem; }

/* ========== Detail ========== */
.detail-hero {
  position: relative;
  height: clamp(220px, 42vw, 420px);
  overflow: hidden;
  background: #123;
}

.detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 28, 36, 0.12), rgba(8, 28, 36, 0.7));
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 1.25rem;
  margin-top: clamp(-2.5rem, -6vw, -4rem);
  position: relative;
  z-index: 2;
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

.detail-main,
.detail-side {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(1.1rem, 3vw, 1.6rem);
  box-shadow: var(--shadow);
  min-width: 0;
}

.detail-main h1 {
  margin: 0.25rem 0 0.85rem;
  font-family: var(--display);
  font-size: clamp(1.55rem, 4vw, 2.45rem);
  word-wrap: break-word;
}

.detail-side {
  align-self: start;
  position: sticky;
  top: calc(var(--header) + 1rem);
}

.detail-side .btn {
  width: 100%;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.meta-pill {
  padding: 0.4rem 0.7rem;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 650;
}

.detail-side h2 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-size: 1.25rem;
}

/* ========== Forms ========== */
.form-panel {
  width: 100%;
  max-width: 460px;
  margin: 2rem auto 3rem;
  padding: clamp(1.2rem, 3vw, 1.75rem);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form-panel.wide {
  max-width: 720px;
}

.form-panel h1 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: clamp(1.55rem, 4vw, 2rem);
}

.form-panel .lead {
  margin: 0 0 1.15rem;
  color: var(--muted);
}

.form-group { margin-bottom: 0.9rem; }

.form-group label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.86rem;
  font-weight: 700;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="datetime-local"],
input[type="search"],
select,
textarea {
  width: 100%;
  max-width: 100%;
  padding: 0.7rem 0.85rem;
  min-height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 0;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(13, 79, 91, 0.12);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin-top: 1rem;
}

.form-actions .btn {
  flex: 1 1 auto;
}

/* ========== Alerts / tables / admin ========== */
.alert {
  margin: 0;
  padding: 0.85rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  word-wrap: break-word;
}

.alert-success { border-left-color: var(--ok); }
.alert-error { border-left-color: var(--err); }
.alert-info { border-left-color: var(--accent); }

.badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--accent-soft);
  color: #8f5a12;
}

.badge-success { background: #e4f5ec; color: var(--ok); }
.badge-warning { background: #fff3db; color: var(--warn); }
.badge-danger { background: #fde8e6; color: var(--err); }
.badge-muted { background: #eef2f5; color: var(--muted); }

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--white);
  border: 1px solid var(--line);
  max-width: 100%;
}

table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th, td {
  text-align: left;
  padding: 0.85rem 0.75rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  white-space: nowrap;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.muted { color: var(--muted); }
.empty { color: var(--muted); padding: 2rem 0; }

/* Mes réservations (client) */
.res-page .page-intro {
  margin-bottom: 1.25rem;
}

.res-summary-public {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.res-summary-public .res-summary-card {
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.res-summary-public .res-summary-card span {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.res-summary-public .res-summary-card strong {
  font-size: 1.55rem;
  line-height: 1;
}

.res-summary-warn strong { color: var(--warn); }
.res-summary-ok strong { color: var(--ok); }
.res-summary-muted strong { color: var(--muted); }

.res-cards-public {
  display: grid;
  gap: 0.9rem;
}

.res-cards-public .res-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  background: var(--white);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.res-cards-public .res-card--en_attente { border-left: 4px solid var(--warn); }
.res-cards-public .res-card--confirmee { border-left: 4px solid var(--ok); }
.res-cards-public .res-card--refusee,
.res-cards-public .res-card--annulee { border-left: 4px solid var(--err); }

.res-card-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 0.95rem;
}

.res-card-event h3 {
  margin: 0.2rem 0 0;
  font-size: 1.08rem;
}

.res-type {
  display: inline-flex;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.res-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.res-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.res-value {
  display: block;
  font-size: 0.95rem;
}

.res-subvalue {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.res-period {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.res-period time {
  font-size: 0.92rem;
  font-weight: 650;
}

.res-period-arrow {
  color: var(--muted);
  font-weight: 700;
}

.res-refusal {
  margin: 0.85rem 0 0;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  background: #fff3db;
  color: #8f5a12;
  font-size: 0.88rem;
}

.res-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--line);
}

.res-empty-public {
  text-align: center;
  padding: 2.5rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.res-empty-public .res-empty-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
}

.res-empty-public .res-empty-icon svg {
  width: 1.7rem;
  height: 1.7rem;
}

.res-empty-public h3 {
  margin: 0 0 0.35rem;
}

.res-empty-public p {
  margin: 0 0 1rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .res-summary-public,
  .res-card-grid {
    grid-template-columns: 1fr;
  }
}

.admin-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.5rem 0 3rem;
}

.admin-side {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.admin-side a {
  display: block;
  padding: 0.7rem 0.15rem;
  color: var(--ink-soft);
  font-weight: 650;
  border-bottom: 1px solid var(--line);
}

.admin-side a.active,
.admin-side a:hover { color: var(--brand); }

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.stat {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1rem;
}

.stat strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.5rem, 4vw, 1.9rem);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat span { color: var(--muted); font-size: 0.84rem; }

/* ========== Footer ========== */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: clamp(2rem, 5vw, 3rem) 0 1.25rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-text strong { color: #fff; }
.footer-brand p {
  margin: 0.85rem 0 0;
  max-width: 28rem;
  font-size: 0.92rem;
}

.site-footer h4 {
  margin: 0 0 0.7rem;
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0.4rem;
  padding: 0.15rem 0;
}

.site-footer a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding-top: 1rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ========== Breakpoints ========== */

/* Medium screens : cacher le nom long, garder le bouton */
@media (max-width: 980px) and (min-width: 769px) {
  .header-row > .header-actions .user-label {
    display: none;
  }

  .header-row > .main-nav {
    gap: 1rem;
  }

  .header-row > .main-nav a {
    font-size: 0.9rem;
  }
}

/* Large tablets / small laptops */
@media (max-width: 1100px) {
  .venue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Tablets */
@media (max-width: 900px) {
  .split,
  .detail-layout,
  .footer-grid,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .detail-side {
    position: static;
  }

  .admin-side {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.35rem;
  }

  .admin-side a {
    border: 1px solid var(--line);
    background: var(--white);
    padding: 0.65rem 0.75rem;
    text-align: center;
  }

  .section-head .btn-line {
    width: 100%;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --gutter: 1rem;
    --header: 3.85rem;
  }

  .desktop-only {
    display: none !important;
  }

  .mobile-only,
  .nav-burger.mobile-only {
    display: inline-flex !important;
  }

  .venue-grid {
    grid-template-columns: 1fr;
  }

  .filters {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: min(100svh, 680px);
  }

  .hero-content {
    padding: calc(var(--header) + 2.25rem) 0 2.5rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-actions .btn-ghost {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.1);
  }

  .venue-foot .btn {
    width: 100%;
  }

  .venue-foot {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .form-actions .btn,
  .form-actions a {
    width: 100%;
    text-align: center;
  }
}

/* Small phones */
@media (max-width: 480px) {
  :root { --gutter: 0.85rem; }

  .logo-text strong {
    font-size: 1.15rem;
  }

  .hero-kicker {
    letter-spacing: 0.12em;
    font-size: 0.68rem;
  }

  .meta-pill {
    font-size: 0.78rem;
  }

  .page-intro {
    padding-top: 1.25rem;
  }

  .detail-layout {
    margin-top: -1.75rem;
  }

  table {
    font-size: 0.84rem;
  }

  th, td {
    padding: 0.7rem 0.55rem;
  }
}

/* Prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg,
  .venue-card,
  .hero-content {
    animation: none !important;
  }
  .btn:hover,
  .venue-card:hover {
    transform: none;
  }
}
