/* =========================================================
   N'COFFEE ZONE — Design System
   Palette: dark brown · or · vert olive · crème
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Outfit:wght@300;400;500;600&display=swap');

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --cream:      oklch(97% 0.012 68);
  --cream-2:    oklch(93% 0.018 65);
  --cream-3:    oklch(89% 0.022 62);
  --brown-950:  oklch(15% 0.030 44);
  --brown-900:  oklch(21% 0.042 44);
  --brown-700:  oklch(34% 0.055 44);
  --brown-400:  oklch(55% 0.065 44);
  --gold-600:   oklch(60% 0.130 74);
  --gold-500:   oklch(68% 0.125 76);
  --gold-300:   oklch(82% 0.090 80);
  --gold-100:   oklch(93% 0.040 82);
  --green-800:  oklch(36% 0.090 134);
  --green-600:  oklch(50% 0.110 134);
  --green-400:  oklch(66% 0.110 136);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Outfit', 'Helvetica Neue', sans-serif;

  --radius-sm:  6px;
  --radius-md:  14px;
  --radius-lg:  28px;
  --radius-xl:  56px;

  --shadow-gold: 0 4px 32px oklch(60% 0.130 74 / 0.18);
  --shadow-md:   0 8px 32px oklch(15% 0.030 44 / 0.12);
  --shadow-lg:   0 20px 60px oklch(15% 0.030 44 / 0.18);

  --nav-h: 80px;
  --transition: 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--brown-900);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ── Utilities ──────────────────────────────────────────── */
.container {
  width: min(1240px, 100% - 3rem);
  margin-inline: auto;
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0);
}
.tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold-600);
  margin-bottom: 1rem;
}
.tag::before {
  content: ''; display: block;
  width: 28px; height: 1.5px;
  background: var(--gold-500);
}

/* ── Navigation ─────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto;
  height: var(--nav-h);
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid oklch(89% 0.022 62);
  transition: box-shadow var(--transition), background var(--transition);
}
.nav.scrolled {
  background: oklch(97% 0.012 68 / 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px oklch(15% 0.03 44 / 0.08);
}
.nav__inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav__brand {
  display: flex; align-items: center; gap: 0.75rem;
}
.nav__logo {
  width: 58px; height: 58px;
  border-radius: 50%;
  border: 2.5px solid var(--gold-300);
  object-fit: cover;
  transition: border-color var(--transition);
}
.nav__brand:hover .nav__logo { border-color: var(--gold-500); }
.nav__name {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 600;
  color: var(--brown-950);
  letter-spacing: 0.01em;
}
.nav__name span { color: var(--gold-600); }
.nav__links {
  display: flex; align-items: center; gap: 2.5rem;
}
.nav__link {
  font-size: 0.875rem; font-weight: 500;
  color: var(--brown-700);
  letter-spacing: 0.04em;
  position: relative;
  transition: color var(--transition);
}
.nav__link::after {
  content: ''; position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold-500);
  transition: width var(--transition);
}
.nav__link:hover,
.nav__link.active { color: var(--brown-950); }
.nav__link:hover::after,
.nav__link.active::after { width: 100%; }
.nav__cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 1.4rem;
  background: var(--brown-950);
  color: var(--gold-300);
  border-radius: 100px;
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: background var(--transition), color var(--transition);
}
.nav__cta:hover {
  background: var(--gold-600); color: var(--brown-950);
}
.nav__burger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none;
  padding: 4px;
}
.nav__burger span {
  display: block; width: 24px; height: 2px;
  background: var(--brown-900);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ── Mobile nav ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__links.open {
    display: flex; flex-direction: column;
    position: fixed; inset: var(--nav-h) 0 0;
    background: var(--cream);
    padding: 2rem;
    gap: 1.5rem;
    align-items: flex-start;
  }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-size: 0.875rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  border: 2px solid transparent;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--gold-600);
  color: var(--brown-950);
}
.btn-primary:hover {
  background: var(--gold-500);
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}
.btn-outline {
  border-color: var(--brown-950);
  color: var(--brown-950);
}
.btn-outline:hover {
  background: var(--brown-950);
  color: var(--gold-300);
}
.btn-ghost {
  border-color: oklch(89% 0.022 62);
  color: var(--brown-700);
}
.btn-ghost:hover {
  border-color: var(--gold-500);
  color: var(--gold-600);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  padding-top: var(--nav-h);
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}
.hero__left {
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 6rem 4rem 6rem calc((100vw - 1240px) / 2 + 1.5rem);
  position: relative; z-index: 2;
}
.hero__eyebrow {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold-600);
  margin-bottom: 0.65rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.hero__eyebrow::before {
  content: ''; display: block;
  width: 40px; height: 1.5px; background: var(--gold-500);
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  font-weight: 700; line-height: 1.08;
  color: var(--brown-950);
  margin-bottom: 0.9rem;
}
.hero__title em {
  font-style: italic; color: var(--gold-600);
}
.hero__desc {
  font-size: 1.05rem; line-height: 1.7;
  color: var(--brown-700);
  max-width: 48ch;
  margin-bottom: 1.5rem;
}
.hero__actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
}
.hero__badges {
  display: flex; gap: 2rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--cream-3);
}
.hero__badge-item { display: flex; flex-direction: column; }
.hero__badge-num {
  font-family: var(--font-display);
  font-size: 1.8rem; font-weight: 700;
  color: var(--gold-600);
}
.hero__badge-label {
  font-size: 0.78rem; color: var(--brown-400);
  letter-spacing: 0.06em;
}
.hero__right {
  position: relative;
  overflow: hidden;
}
.hero__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 8s ease;
}
.hero:hover .hero__img { transform: scale(1.03); }
.hero__img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    var(--brown-950) 0%,
    transparent 55%
  );
  opacity: 0.35;
}
.hero__scroll {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-size: 0.7rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--brown-400);
  z-index: 2;
}
.hero__scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--gold-500), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { opacity: 0.4; transform: scaleY(0.7); }
  50%       { opacity: 1;   transform: scaleY(1); }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: auto;
  }
  .hero__right { height: 55vw; min-height: 260px; }
  .hero__left {
    padding: 3rem 1.5rem;
    order: 2;
  }
  .hero__right { order: 1; }
  .hero__scroll { display: none; }
}
@media (max-width: 900px) {
  .hero--video .hero__left {
    padding: var(--nav-h) 1.5rem 2rem;
  }
  .hero__video-controls { top: calc(var(--nav-h) + 0.5rem); right: 1rem; }
}

/* ── Section commons ────────────────────────────────────── */
.section { padding: 3.5rem 0; }
.section--dark {
  background: var(--brown-950);
  color: var(--cream);
}
.section--tinted { background: var(--cream-2); }
.section__header { margin-bottom: 2.25rem; }
.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700; line-height: 1.15;
  color: var(--brown-950);
}
.section--dark .section__title { color: var(--cream); }
.section__subtitle {
  margin-top: 0.75rem;
  font-size: 1rem; color: var(--brown-400); max-width: 52ch;
}
.section--dark .section__subtitle { color: oklch(75% 0.02 65); }

/* ── Services ───────────────────────────────────────────── */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--cream-3);
  border: 1.5px solid var(--cream-3);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service-card {
  background: var(--cream);
  padding: 3rem 2.5rem;
  transition: background var(--transition);
  position: relative;
}
.service-card:hover { background: var(--gold-100); }
.service-card__icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: var(--brown-950);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.75rem;
  transition: background var(--transition);
}
.service-card:hover .service-card__icon {
  background: var(--gold-600);
}
.service-card__icon svg {
  width: 28px; height: 28px;
  color: var(--gold-300);
  transition: color var(--transition);
}
.service-card:hover .service-card__icon svg {
  color: var(--brown-950);
}
.service-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 600;
  color: var(--brown-950); margin-bottom: 0.75rem;
}
.service-card__desc {
  font-size: 0.93rem; line-height: 1.7;
  color: var(--brown-700);
}
.service-card__badge {
  display: inline-block; margin-top: 1.25rem;
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  background: var(--gold-100);
  color: var(--gold-600);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.service-card:hover .service-card__badge {
  background: var(--gold-500);
  color: var(--brown-950);
}
@media (max-width: 768px) {
  .services__grid { grid-template-columns: 1fr; }
}

/* ── About ──────────────────────────────────────────────── */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about__img-wrap {
  position: relative;
}
.about__img {
  width: 100%; aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.about__img-badge {
  position: absolute;
  bottom: -1.5rem; right: -1.5rem;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--gold-600);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  box-shadow: var(--shadow-gold);
}
.about__img-badge strong {
  font-family: var(--font-display);
  font-size: 1.8rem; font-weight: 700;
  color: var(--brown-950);
  line-height: 1;
}
.about__img-badge span {
  font-size: 0.65rem; font-weight: 600;
  color: var(--brown-900); letter-spacing: 0.08em;
  text-transform: uppercase; text-align: center;
}
.about__content { display: flex; flex-direction: column; gap: 1.5rem; }
.about__text {
  font-size: 1rem; line-height: 1.75;
  color: var(--brown-700);
}
.about__features {
  display: flex; flex-direction: column; gap: 0.75rem;
  margin-top: 0.5rem;
}
.about__feature {
  display: flex; align-items: flex-start; gap: 0.85rem;
  font-size: 0.9rem; color: var(--brown-700);
}
.about__feature::before {
  content: ''; display: block; flex-shrink: 0;
  width: 20px; height: 20px; margin-top: 2px;
  border-radius: 50%;
  background: var(--gold-100);
  border: 1.5px solid var(--gold-300);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23C49A3C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 8 6 11 13 5'/%3E%3C/svg%3E");
  background-size: 12px; background-position: center; background-repeat: no-repeat;
}
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; gap: 3rem; }
  .about__img-badge { bottom: 1rem; right: 1rem; }
}

/* ── Tour teaser ────────────────────────────────────────── */
.tour-teaser {
  padding: 4rem 0;
  background: var(--brown-950);
  position: relative; overflow: hidden;
}
.tour-teaser::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('../images/interieurncoffeezone.jpg');
  background-size: cover; background-position: center;
  opacity: 0.12;
}
.tour-teaser__inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 2rem;
}
.tour-teaser .tag { color: var(--gold-300); }
.tour-teaser .tag::before { background: var(--gold-300); }
.tour-teaser__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700; color: var(--cream);
  max-width: 16ch; line-height: 1.12;
}
.tour-teaser__title em { font-style: italic; color: var(--gold-300); }
.tour-teaser__desc {
  font-size: 1rem; color: oklch(75% 0.02 65);
  max-width: 52ch;
}
.tour-teaser__btn {
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: var(--gold-600);
  color: var(--brown-950);
  border-radius: 100px;
  font-weight: 700; font-size: 0.9rem; letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all var(--transition);
  box-shadow: 0 8px 32px oklch(60% 0.13 74 / 0.35);
}
.tour-teaser__btn:hover {
  background: var(--gold-500);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px oklch(60% 0.13 74 / 0.45);
}
.tour-teaser__btn svg {
  width: 20px; height: 20px;
}

/* ── Map Section ────────────────────────────────────────── */
.map-section { padding: 6rem 0; }
.map-section__layout {
  display: grid; grid-template-columns: 1fr 1.6fr;
  gap: 4rem; align-items: start;
}
.map-info { display: flex; flex-direction: column; gap: 2rem; }
.map-info__item { display: flex; gap: 1.25rem; align-items: flex-start; }
.map-info__icon {
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: var(--radius-md);
  background: var(--gold-100);
  border: 1.5px solid var(--gold-300);
  display: flex; align-items: center; justify-content: center;
}
.map-info__icon svg { width: 22px; height: 22px; color: var(--gold-600); }
.map-info__label {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brown-400); margin-bottom: 0.3rem;
}
.map-info__value {
  font-size: 0.95rem; color: var(--brown-900); font-weight: 500;
}
#leaflet-map {
  width: 100%; height: 460px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--gold-300);
}
@media (max-width: 900px) {
  .map-section__layout { grid-template-columns: 1fr; }
  #leaflet-map { height: 320px; }
}

/* ── Menu page ──────────────────────────────────────────── */
.page-hero {
  padding-top: var(--nav-h);
  padding-bottom: 4rem;
  background: var(--brown-950);
  color: var(--cream);
  text-align: center;
}
.page-hero__inner {
  display: flex; flex-direction: column;
  align-items: center; gap: 0.75rem;
  padding: 2.5rem 1.5rem 1.5rem;
}
.page-hero .tag { color: var(--gold-300); }
.page-hero .tag::before { background: var(--gold-300); }
.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700; line-height: 1.1;
  color: var(--cream);
}
.page-hero__title em { font-style: italic; color: var(--gold-300); }
.page-hero__desc {
  max-width: 50ch; text-align: center;
  color: oklch(78% 0.02 65); font-size: 1rem; line-height: 1.7;
}
.menu-section { padding: 2.5rem 0; }
.menu-category { margin-bottom: 4rem; }
.menu-category__header {
  display: flex; align-items: center; gap: 1.5rem;
  margin-bottom: 2rem; padding-bottom: 1.25rem;
  border-bottom: 1.5px solid var(--cream-3);
}
.menu-category__icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: var(--brown-950);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.menu-category__icon svg { width: 26px; height: 26px; color: var(--gold-300); }
.menu-category__title {
  font-family: var(--font-display);
  font-size: 1.7rem; font-weight: 700;
  color: var(--brown-950);
}
.menu-items {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
}
.menu-item {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 1.25rem 1.5rem;
  background: var(--cream);
  border: 1.5px solid var(--cream-3);
  border-radius: var(--radius-md);
  gap: 1rem;
  transition: border-color var(--transition), background var(--transition);
}
.menu-item:hover {
  border-color: var(--gold-300);
  background: var(--gold-100);
}
.menu-item__name {
  font-weight: 500; font-size: 0.95rem;
  color: var(--brown-900);
}
.menu-item__desc {
  font-size: 0.78rem; color: var(--brown-400); margin-top: 0.2rem;
}
.menu-item__price {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 600;
  color: var(--gold-600); white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .menu-items { grid-template-columns: 1fr; }
}

/* ── Tour page ──────────────────────────────────────────── */
.tour-page {
  padding-top: var(--nav-h);
  min-height: 100svh;
  display: flex; flex-direction: column;
}
.tour-bar {
  background: var(--brown-950);
  padding: 1rem 0;
  display: flex; align-items: center;
}
.tour-bar__inner {
  display: flex; align-items: center; justify-content: space-between;
}
.tour-bar__title {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 600;
  color: var(--gold-300);
  letter-spacing: 0.04em;
}
.tour-bar__back {
  display: flex; align-items: center; gap: 0.5rem;
  color: oklch(75% 0.02 65);
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: color var(--transition);
}
.tour-bar__back:hover { color: var(--gold-300); }
.tour-bar__back svg { width: 16px; height: 16px; }
.tour-iframe-wrap {
  flex: 1;
  position: relative; min-height: calc(100svh - var(--nav-h) - 56px);
}
.tour-iframe-wrap iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: none;
}

/* ── Contact page ───────────────────────────────────────── */
.contact-section { padding: 2.5rem 0; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem;
}
.contact-info { display: flex; flex-direction: column; gap: 0; }
.contact-info__intro {
  font-size: 1rem; line-height: 1.75;
  color: var(--brown-700); margin-bottom: 2.5rem;
}
.contact-info__items { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info__item { display: flex; gap: 1.25rem; align-items: flex-start; }
.contact-info__icon {
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: var(--radius-md);
  background: var(--brown-950);
  display: flex; align-items: center; justify-content: center;
}
.contact-info__icon svg { width: 22px; height: 22px; color: var(--gold-300); }
.contact-info__label {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brown-400); margin-bottom: 0.25rem;
}
.contact-info__value { font-size: 0.95rem; color: var(--brown-900); }
.contact-map {
  margin-top: 2.5rem;
}
#contact-map {
  width: 100%; height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--gold-300);
  box-shadow: var(--shadow-md);
}
/* Form */
.contact-form {
  background: var(--cream-2);
  border-radius: var(--radius-lg);
  padding: 3rem;
  border: 1.5px solid var(--cream-3);
}
.contact-form__title {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 700;
  color: var(--brown-950); margin-bottom: 0.5rem;
}
.contact-form__sub {
  font-size: 0.875rem; color: var(--brown-400); margin-bottom: 2rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brown-700); margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1.25rem;
  background: var(--cream);
  border: 1.5px solid var(--cream-3);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--brown-950);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px oklch(68% 0.125 76 / 0.12);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-success {
  display: none;
  padding: 1.25rem 1.5rem;
  background: oklch(93% 0.04 140);
  border: 1.5px solid var(--green-600);
  border-radius: var(--radius-md);
  color: var(--green-800);
  font-size: 0.9rem; font-weight: 500;
  margin-top: 1rem;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-form { padding: 2rem 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
}

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--brown-950);
  color: oklch(75% 0.02 65);
  padding: 4rem 0 2rem;
}
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid oklch(25% 0.03 44);
}
.footer__brand-logo {
  width: 52px; height: 52px; border-radius: 50%;
  border: 2px solid oklch(30% 0.04 44);
  margin-bottom: 1rem;
}
.footer__brand-name {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 600;
  color: var(--cream); margin-bottom: 0.75rem;
}
.footer__brand-name span { color: var(--gold-300); }
.footer__brand-desc { font-size: 0.875rem; line-height: 1.7; }
.footer__heading {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold-300); margin-bottom: 1.25rem;
}
.footer__links { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__link {
  font-size: 0.875rem;
  transition: color var(--transition);
}
.footer__link:hover { color: var(--gold-300); }
.footer__hours { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__hour { display: flex; justify-content: space-between; font-size: 0.85rem; }
.footer__hour-day { color: oklch(60% 0.025 65); }
.footer__hour-time { color: var(--cream); }
.footer__bottom {
  padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap; gap: 1rem;
}
.footer__copy span { color: var(--gold-300); }
.footer__admin-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.06em;
  color: oklch(38% 0.03 44);
  padding: 0.35rem 0.8rem;
  border-radius: 100px;
  border: 1px solid oklch(28% 0.025 44);
  transition: all 0.25s;
  white-space: nowrap;
}
.footer__admin-link svg { width: 13px; height: 13px; flex-shrink: 0; }
.footer__admin-link:hover {
  color: var(--gold-300);
  border-color: oklch(45% 0.04 44);
  background: oklch(22% 0.028 44);
}
@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* ── Animations (entrance) ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

/* ── Video Hero ─────────────────────────────────────────── */
.hero--video { display: block; position: relative; min-height: 100svh; }
.hero__video-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero__video-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    105deg,
    oklch(13% 0.028 44 / 0.93) 0%,
    oklch(13% 0.028 44 / 0.72) 45%,
    oklch(13% 0.028 44 / 0.38) 100%
  );
}
.hero--video .hero__left {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-start;
  min-height: 100svh;
  width: 100%;
  max-width: 780px;
  padding: var(--nav-h) 5vw 3rem max(2rem, calc((100vw - 1240px) / 2 + 1.5rem));
}
.hero--video .hero__right { display: none; }
.hero--video .hero__title { color: var(--cream); }
.hero--video .hero__eyebrow { color: var(--gold-300); }
.hero--video .hero__desc { color: oklch(82% 0.018 65); }
.hero--video .hero__badge-num { color: var(--gold-300); }
.hero--video .hero__badge-label { color: oklch(62% 0.020 65); }
.hero--video .hero__badges { border-top-color: oklch(28% 0.028 44); }
.hero--video .btn-outline {
  border-color: oklch(78% 0.018 65);
  color: oklch(88% 0.015 65);
}
.hero--video .btn-outline:hover {
  background: var(--gold-600); border-color: var(--gold-600);
  color: var(--brown-950);
}
/* Controls row — top right of hero */
.hero__video-controls {
  position: absolute;
  top: calc(var(--nav-h) + 0.75rem);
  right: 1.5rem;
  z-index: 4;
  display: flex; align-items: center; gap: 0.6rem;
}
.hero__video-mute {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: oklch(18% 0.028 44 / 0.75);
  border: 1.5px solid oklch(40% 0.04 44);
  color: var(--gold-300);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background var(--transition);
  backdrop-filter: blur(10px);
  flex-shrink: 0;
}
.hero__video-mute:hover { background: oklch(28% 0.04 44 / 0.95); }
.hero__video-mute svg { width: 17px; height: 17px; }
.hero__video-all-btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.45rem 1rem;
  border-radius: 100px;
  background: oklch(18% 0.028 44 / 0.75);
  border: 1.5px solid oklch(40% 0.04 44);
  color: var(--gold-300);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase;
  backdrop-filter: blur(10px);
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
  font-family: var(--font-body);
  cursor: pointer; text-decoration: none;
}
.hero__video-all-btn:hover {
  background: var(--gold-600); color: var(--brown-950);
  border-color: var(--gold-600);
}
.hero__video-all-btn svg { width: 13px; height: 13px; flex-shrink: 0; }
@media (max-width: 600px) {
  .hero__video-all-btn span { display: none; }
  .hero__video-controls { right: 1rem; }
}

/* ── Album page ──────────────────────────────────────────── */
.album-section { padding: 3rem 0; }
.album-section + .album-section { padding-top: 0; }
.album-grid-videos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}
.album-video-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--brown-950);
  position: relative;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}
.album-video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.album-video-card video {
  width: 100%; display: block;
  aspect-ratio: 16/9; object-fit: cover;
}
.album-video-label {
  padding: 1rem 1.25rem;
  background: var(--brown-950);
  color: var(--gold-300);
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.06em;
}
.album-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.album-photo-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  cursor: pointer;
}
.album-photo-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.album-photo-item:hover img { transform: scale(1.06); }
.album-photo-overlay {
  position: absolute; inset: 0;
  background: oklch(13% 0.028 44 / 0);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.album-photo-item:hover .album-photo-overlay {
  background: oklch(13% 0.028 44 / 0.4);
}
.album-photo-overlay svg {
  color: white; width: 32px; height: 32px;
  opacity: 0; transition: opacity var(--transition);
}
.album-photo-item:hover .album-photo-overlay svg { opacity: 1; }

/* Lightbox */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: oklch(8% 0.02 44 / 0.96);
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox__img {
  max-width: 90vw; max-height: 88vh;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 80px oklch(5% 0.02 44 / 0.8);
  object-fit: contain;
}
.lightbox__close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px; border-radius: 50%;
  background: oklch(20% 0.03 44);
  border: none; color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.2rem;
  transition: background var(--transition);
}
.lightbox__close:hover { background: var(--gold-600); color: var(--brown-950); }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: oklch(20% 0.03 44 / 0.8);
  border: none; color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background var(--transition);
}
.lightbox__nav:hover { background: var(--gold-600); color: var(--brown-950); }
.lightbox__prev { left: 1.5rem; }
.lightbox__next { right: 1.5rem; }

/* ── Quartier page ───────────────────────────────────────── */
.quartier-map-wrap {
  height: 560px; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
  border: 3px solid var(--gold-300);
}
.quartier-legend {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  margin-bottom: 2rem;
}
.legend-item {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  border-radius: 100px;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: opacity var(--transition);
  border: 1.5px solid transparent;
}
.legend-item.inactive { opacity: 0.4; }
.legend-dot {
  width: 10px; height: 10px; border-radius: 50; flex-shrink: 0;
}
.poi-loading {
  text-align: center; padding: 2rem;
  color: var(--brown-400); font-size: 0.9rem;
}

/* ── Contact: routing ───────────────────────────────────── */
.routing-section {
  margin-top: 2.5rem;
  border-top: 1.5px solid var(--cream-3);
  padding-top: 2rem;
}
.routing-section .map-info__label { margin-bottom: 0.75rem; }
#routing-map {
  width: 100%; height: 320px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--gold-300);
  box-shadow: var(--shadow-md);
  margin-top: 1rem;
}
.routing-info {
  margin-top: 0.75rem;
  padding: 0.9rem 1.25rem;
  background: var(--gold-100);
  border: 1.5px solid var(--gold-300);
  border-radius: var(--radius-md);
  font-size: 0.85rem; color: var(--brown-800);
  display: none;
}
.routing-info.visible { display: block; }
.leaflet-routing-container {
  display: none !important; /* hide text route panel */
}

/* ── Leaflet overrides ──────────────────────────────────── */
.leaflet-container { font-family: var(--font-body) !important; }
.leaflet-popup-content-wrapper {
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-lg) !important;
  border: 2px solid var(--gold-300) !important;
}
.leaflet-popup-content {
  font-family: var(--font-body) !important;
  font-size: 0.88rem !important;
  color: var(--brown-900) !important;
}
.leaflet-popup-tip { background: white !important; }

/* ── Custom Leaflet marker ──────────────────────────────── */
.map-marker {
  width: 40px; height: 40px;
  background: var(--gold-600);
  border: 3px solid var(--brown-950);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 4px 16px oklch(60% 0.13 74 / 0.4);
}
.map-marker::after {
  content: '';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 14px; height: 14px;
  background: var(--brown-950);
  border-radius: 50%;
}

/* ── Notre Espace : grille dynamique ───────────────────── */
.espace-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.espace-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--cream-2);
  cursor: zoom-in;
}
.espace-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.espace-item:hover img { transform: scale(1.05); }

@media (max-width: 640px) {
  .espace-grid { grid-template-columns: repeat(2, 1fr); gap: .65rem; }
}
