:root {
  --ink: #1c1b19;
  --ink-soft: #52504c;
  --paper: #ffffff;
  --paper-alt: #f5f3ef;
  --line: #e5e2db;
  --dark: #14181a;
  --dust: #a9c0c4;
  --dust-dark: #7fa0a5;
  --accent: #3c5c52;
  --accent-dark: #2c453d;
  --font: "Work Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-weight: 400;
}
h1, h2, h3, h4 { font-family: var(--font); color: var(--ink); margin: 0 0 .5em; line-height: 1.15; font-weight: 300; }
p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
strong { font-weight: 700; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 600;
  font-size: .74rem;
  color: var(--accent);
  margin: 0 0 .9em;
}
.eyebrow.center { text-align: center; }
.center { text-align: center; }
h2.center { max-width: 680px; margin-left: auto; margin-right: auto; }
.mixed-heading { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 300; }
.mixed-heading strong { font-weight: 700; }

/* Progress bar */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 2px;
  background: var(--accent);
  width: 0%;
  z-index: 300;
  transition: width .1s linear;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .85em 1.5em;
  border-radius: 2px;
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .02em;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-ghost { border-color: currentColor; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn-lg { padding: 1.05em 1.9em; }
.btn-sm { padding: .6em 1.1em; font-size: .82rem; width: 100%; justify-content: center; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink);
}
.arrow-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.arrow-link:hover .arrow-circle { background: var(--ink); color: #fff; transform: translateX(4px); }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Hero reveal lines */
.reveal-line {
  display: block;
  opacity: 0;
  transform: translateY(100%);
  animation: none;
}
.hero.is-loaded .reveal-line {
  animation: lineUp .9s var(--ease) forwards;
  animation-delay: calc(var(--d) * .12s + .2s);
}
@keyframes lineUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 22px 0;
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
  color: #fff;
}
.site-header.scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  padding: 14px 0;
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; }
.logo { margin-right: auto; }
.logo-text { font-weight: 600; font-size: .95rem; letter-spacing: .02em; line-height: 1.3; }
.logo-text small { display: block; font-weight: 400; opacity: .75; font-size: .72rem; }

.main-nav { display: flex; gap: 28px; }
.main-nav a {
  font-size: .84rem;
  font-weight: 500;
  letter-spacing: .03em;
  position: relative;
  padding-bottom: 4px;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transition: right .35s var(--ease);
}
.main-nav a:hover::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 20px; }
.phone-link { display: flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 500; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: var(--dark);
  border: none;
  cursor: pointer;
  padding: 13px 11px;
  border-radius: 2px;
}
.nav-toggle span { width: 20px; height: 1.5px; background: #fff; border-radius: 2px; }

/* Hero */
.hero {
  position: sticky;
  top: 0;
  z-index: 0;
  height: 100vh;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  clip-path: inset(42vh 38vw);
  transition: clip-path 1.3s var(--ease);
}
.hero.is-loaded { clip-path: inset(0 0); }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.15);
  transition: transform 1.6s var(--ease);
}
.hero.is-loaded .hero-media img { transform: scale(1.06); }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,14,13,.75) 0%, rgba(10,14,13,.25) 45%, rgba(10,14,13,.35) 100%);
}
.hero-inner { position: relative; z-index: 1; padding-bottom: 110px; }
.hero-eyebrow { color: #cfe0dc; }
.hero-wordmark {
  margin: 0 0 34px;
  color: #fff;
  font-weight: 700;
  font-size: clamp(3rem, 9vw, 6.5rem);
  letter-spacing: -.01em;
  overflow: hidden;
}
.hero-wordmark span { overflow: hidden; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; overflow: hidden; }
.hero .btn-ghost { border-color: #fff; color: #fff; }
.hero .btn-ghost:hover { background: #fff; color: var(--ink); }

.hero-caption {
  position: absolute;
  z-index: 1;
  right: 28px;
  bottom: 32px;
  color: #fff;
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  text-align: right;
  max-width: 320px;
}
.hero-caption strong { font-weight: 700; }

.scroll-hint {
  position: absolute;
  left: 50%; bottom: 28px;
  transform: translateX(-50%);
  z-index: 1;
  width: 30px; height: 46px;
  border: 1.5px solid rgba(255,255,255,.7);
  border-radius: 20px;
  background: none;
  cursor: pointer;
}
.scroll-hint span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: #fff;
  animation: scrollDot 1.8s ease infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { opacity: 0; }
}

/* Booking floating card */
.booking-float {
  position: fixed;
  left: 28px;
  bottom: 28px;
  z-index: 150;
  width: 220px;
  background: var(--dust);
  color: var(--ink);
  padding: 20px 20px 22px;
  border-radius: 2px;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.booking-float.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.booking-float.is-hidden { opacity: 0; transform: translateY(16px); pointer-events: none; }
.booking-close {
  position: absolute; top: 6px; right: 10px;
  background: none; border: none; font-size: 1.1rem;
  cursor: pointer; color: var(--ink); line-height: 1;
  opacity: .6;
}
.booking-close:hover { opacity: 1; }
.booking-eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: .68rem; font-weight: 700; margin: 0 0 .5em; color: var(--accent-dark); }
.booking-text { font-size: .88rem; margin: 0 0 1em; color: var(--ink); }

/* Sections */
.section { position: relative; z-index: 1; background: var(--paper); padding: 110px 0; }
.section-alt { background: var(--paper-alt); }

.two-col { display: grid; grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: center; }
.col-media { overflow: hidden; border-radius: 2px; }
.col-media img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  transform: scale(1.15);
  transition: transform 1.4s var(--ease);
}
.col-media.in-view img { transform: scale(1); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }

.check-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--ink);
  font-weight: 500;
  font-size: 1.02rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 16px; height: 16px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 5px; top: 12px;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.public-card { background: var(--paper); border: 1px solid var(--line); padding: 32px; }
.public-card h3 { font-size: 1.05rem; font-weight: 600; }
.public-grid { display: grid; gap: 14px; }
.public-item { display: flex; align-items: center; gap: 12px; font-size: .95rem; color: var(--ink); }
.public-item span { font-size: 1.3rem; }

/* Tabs section (Humains & Animaux) */
.section-tabs {
  position: relative;
  height: 78vh;
  min-height: 480px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.tabs-media { position: absolute; inset: 0; }
.tabs-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  transition: opacity 1s var(--ease);
}
.tabs-img.is-active { opacity: 1; }
.tabs-scrim { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,14,13,.8) 0%, rgba(10,14,13,.1) 55%); }
.tabs-content { position: relative; z-index: 1; padding-bottom: 96px; max-width: 620px; }
.tabs-eyebrow { color: #cfe0dc; }
.tabs-caption { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 300; margin-bottom: 28px; }
.tabs-caption strong { font-weight: 700; }
.tabs-nav {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.25);
  width: 100%;
}
.tab-btn {
  flex: 1;
  background: none;
  border: none;
  color: rgba(255,255,255,.6);
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-size: .8rem;
  padding: 20px 28px;
  cursor: pointer;
  position: relative;
  transition: color .3s var(--ease);
}
.tab-btn::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 100%;
  height: 2px;
  background: #fff;
  transition: right .4s var(--ease);
}
.tab-btn.is-active { color: #fff; }
.tab-btn.is-active::before { right: 0; }

/* Carousel */
.carousel { position: relative; margin-top: 56px; padding: 0 0 8px; }
.carousel-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  overflow: hidden;
  padding: 20px 0;
}
.carousel-slide {
  flex: 0 0 auto;
  width: 30%;
  opacity: .35;
  filter: blur(1px) grayscale(.2);
  transform: scale(.9);
  transition: opacity .6s var(--ease), transform .6s var(--ease), filter .6s var(--ease);
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-slide.is-active { opacity: 1; filter: none; transform: scale(1); width: 44%; }
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--ink);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.carousel-arrow:hover { background: var(--ink); color: #fff; }
.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }
.carousel-dots { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }
.dot { width: 8px; height: 8px; border-radius: 50%; border: none; background: var(--line); cursor: pointer; padding: 0; transition: background .3s var(--ease), transform .3s var(--ease); }
.dot.is-active { background: var(--accent); transform: scale(1.3); }

/* Floating card section (Horaires) */
.section-float-card { position: relative; padding: 120px 0; }
.float-card-bg { position: absolute; inset: 0; }
.float-card-bg img { width: 100%; height: 100%; object-fit: cover; }
.float-card-bg::after { content: ""; position: absolute; inset: 0; background: rgba(10,14,13,.35); }
.float-card {
  position: relative;
  z-index: 1;
  background: var(--paper);
  max-width: 820px;
  margin: 0 auto;
  padding: 52px;
  box-shadow: 0 30px 60px rgba(0,0,0,.25);
}
.float-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td { padding: 8px 0; text-align: left; border-bottom: 1px solid var(--line); font-size: .92rem; font-weight: 400; }
.hours-table th { color: var(--ink-soft); font-weight: 400; }
.hours-table td { text-align: right; font-weight: 600; }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: none; }
.contact-line { font-size: 1.02rem; color: var(--ink); }
.contact-line a { font-weight: 600; }
.emergency-note {
  background: #fbf3e6;
  color: #7a4e00;
  padding: 14px 18px;
  font-size: .88rem;
  margin: 18px 0;
}

.map-wrap { margin-top: 40px; overflow: hidden; }

/* Footer */
.site-footer { background: var(--dark); color: #b9c2c0; padding: 90px 0 0; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-wordmark { color: #fff; font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; line-height: 1.05; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 12px; min-width: 140px; }
.footer-col h4 { color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; margin-bottom: 6px; }
.footer-col a, .footer-col span { font-size: .88rem; color: #b9c2c0; }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding: 24px 0; font-size: .8rem; color: #7d8886; }

@media (max-width: 900px) {
  .two-col, .grid-2, .float-card-grid { grid-template-columns: 1fr; }
  .main-nav, .phone-link, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .col-media { order: -1; }
  .hero { flex-direction: column; justify-content: flex-end; padding-bottom: 64px; }
  .hero-caption { position: static; text-align: left; max-width: 100%; margin: 20px 0 0; padding: 0 28px; color: #fff; }
  .hero-inner { padding-bottom: 36px; }
  .carousel-slide { width: 70%; }
  .carousel-slide.is-active { width: 80%; }
  .float-card { padding: 32px 24px; }
  .booking-float { left: 16px; bottom: 16px; width: 180px; padding: 16px; }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    color: var(--ink);
    padding: 16px 28px 24px;
    gap: 16px;
  }
  .main-nav.open a { color: var(--ink); }
}
