/* ===========================================================
   Les Compagnons de Blue — Petsitting Nantes
   One-page moderne : hero plein écran, nav sticky, sections aérées
   =========================================================== */

:root {
  --cream: #f8f7f0;
  --cream-alt: #eef2e6;
  --ink: #2b3324;
  --ink-soft: #5c6a4a;

  /* Hero / logo accents (bronze & gold, from the brand mark) */
  --gold: #c9982f;
  --gold-light: #e8c877;
  --bronze: #9c5a2e;
  --bronze-dark: #6b3a1c;
  --sky: #6fa8c9;
  --sky-deep: #4f8fb0;
  --sky-light: #dceef5;

  /* Site body accents (deeper green + light brown, sky-blue nuances) */
  --green: #3f5d33;
  --green-dark: #2a3f22;
  --green-light: #7c9a5e;
  --brown: #a9805a;
  --brown-light: #d9c1a0;

  --error: #b23b2e;
  --success: var(--green);

  --font-display: 'Fraunces', serif;
  --font-title: 'Cinzel Decorative', serif;
  --font-body: 'Inter', sans-serif;

  --max-w: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ---------------- NAV ---------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 22px 0;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}
.nav.scrolled {
  background: rgba(248, 247, 240, 0.9);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 4px 24px rgba(43, 51, 36, 0.08);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.brand-icon {
  width: 156px;
  height: auto;
  margin: -52px 0;
  filter: drop-shadow(0 12px 22px rgba(43,51,36,0.35));
  transition: width 0.35s ease, margin 0.35s ease;
}
.nav.scrolled .brand-icon { width: 116px; margin: -32px 0; }
.brand span { font-style: italic; color: var(--gold); font-weight: 400; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: 30px;
  color: var(--ink-soft);
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-links a:hover { background: rgba(43,51,36,0.06); color: var(--ink); }
.nav-links a.active { background: var(--ink); color: var(--cream); }

.nav-cta {
  background: var(--green) !important;
  color: #fff !important;
  font-weight: 600 !important;
  margin-left: 6px;
}
.nav-cta:hover { background: var(--green-dark) !important; }
.nav-cta.active { background: var(--ink) !important; color: var(--cream) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 250;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease, background 0.25s ease;
}

/* ---------------- HERO ---------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(180deg, #bfe0ee 0%, #d3e9f2 45%, #eaf5f8 100%);
  color: var(--ink);
  padding: 130px 24px 170px;
}

.hero-clouds {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    radial-gradient(ellipse 200px 65px at 12% 20%, rgba(255,255,255,0.85), transparent 70%),
    radial-gradient(ellipse 240px 75px at 78% 12%, rgba(255,255,255,0.75), transparent 70%),
    radial-gradient(ellipse 170px 55px at 90% 34%, rgba(255,255,255,0.65), transparent 70%),
    radial-gradient(ellipse 150px 50px at 38% 28%, rgba(255,255,255,0.55), transparent 70%),
    radial-gradient(ellipse 220px 60px at 58% 48%, rgba(255,255,255,0.4), transparent 70%),
    radial-gradient(ellipse 180px 55px at 8% 55%, rgba(255,255,255,0.4), transparent 70%);
}

.hero-blobs { position: absolute; inset: 0; z-index: 0; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}
.blob-gold { width: 420px; height: 420px; background: var(--gold); top: -140px; right: -80px; opacity: 0.28; }
.blob-sky { width: 420px; height: 420px; background: var(--sky-deep); bottom: -160px; left: -120px; opacity: 0.3; }
.blob-grass { width: 340px; height: 340px; background: var(--green); bottom: 5%; right: 12%; opacity: 0.18; }

.hero-ground {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 150px;
  z-index: 1;
  background: linear-gradient(180deg, rgba(63,93,51,0) 0%, rgba(63,93,51,0.55) 45%, var(--green-dark) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1020px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  text-align: center;
}

.hero-emblem-wrap { flex-shrink: 0; }

.hero-emblem {
  width: clamp(170px, 20vw, 300px);
  filter: drop-shadow(0 20px 34px rgba(43,51,36,0.35));
  animation: emblemFloat 6s ease-in-out infinite, emblemGlow 3.4s ease-in-out infinite;
}
@keyframes emblemFloat {
  0%, 100% { transform: translateY(0) rotate(-1.2deg); }
  50% { transform: translateY(-14px) rotate(1.2deg); }
}
@keyframes emblemGlow {
  0%, 100% { filter: drop-shadow(0 20px 34px rgba(43,51,36,0.35)) drop-shadow(0 0 0 rgba(201,152,47,0)); }
  50% { filter: drop-shadow(0 20px 34px rgba(43,51,36,0.35)) drop-shadow(0 0 26px rgba(201,152,47,0.55)); }
}

.hero-copy { max-width: 480px; }

.hero-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze-dark);
  font-weight: 600;
  margin: 0 0 16px;
}

.title-ornament {
  width: 150px;
  height: 18px;
  margin: 0 auto;
  display: block;
}
.title-ornament.bottom { transform: scaleY(-1); }

.hero-title-block { margin: 6px 0; }

.hero-title-text {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.05;
  margin: 10px 0;
}
.hero-title-text .line {
  display: block;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  background: linear-gradient(100deg, #6b3a1c 0%, #c9982f 25%, #f3dd9a 50%, #c9982f 75%, #6b3a1c 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: titleShine 7s linear infinite;
}
.hero-title-text .line + .line { margin-top: 2px; }
.hero-title-text .line-1::first-letter,
.hero-title-text .line-2::first-letter {
  font-size: 1.6em;
}
@keyframes titleShine {
  0% { background-position: 0% 50%; }
  100% { background-position: 260% 50%; }
}

.hero-sub {
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 26px 0 34px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.hero .btn-primary { background: var(--gold); color: var(--ink); }
.hero .btn-primary:hover { background: var(--gold-light); }
.btn-ghost { border-color: rgba(43,51,36,0.3); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(43,51,36,0.06); }
.btn.full { width: 100%; border: none; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--ink-soft);
  border: 1px solid rgba(43,51,36,0.2);
  padding: 8px 16px;
  border-radius: 30px;
  background: rgba(255,255,255,0.4);
}
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

.scroll-cue {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(43,51,36,0.3);
  border-radius: 16px;
  z-index: 2;
}
.scroll-cue span {
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: var(--bronze-dark);
  border-radius: 2px;
  animation: cue 1.8s ease infinite;
}
@keyframes cue {
  0% { opacity: 1; top: 8px; }
  70% { opacity: 0; top: 20px; }
  100% { opacity: 0; top: 8px; }
}

/* ---------------- SPLASH (disclaimer du moment) ---------------- */
.splash {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: radial-gradient(120% 90% at 50% 40%, #cfe8f3 0%, #9fd0e6 55%, #6fa8c9 100%);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.splash.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.splash-panel {
  background: #fff;
  border-radius: 26px;
  padding: 44px 38px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 40px 80px -30px rgba(24,17,8,0.45);
}
.splash-badge {
  width: 48px;
  margin: 0 auto 16px;
  filter: drop-shadow(0 10px 16px rgba(24,17,8,0.25));
}
.splash-kicker {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky-deep);
  font-weight: 700;
  margin: 0 0 10px;
}
.splash-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.55rem;
  margin: 0 0 14px;
  color: var(--ink);
}
.splash-message {
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0 0 28px;
  white-space: pre-line;
}
.splash-cta { width: 100%; }

/* ---------------- SECTIONS ---------------- */
.section { padding: 110px 24px; }
.section-alt { background: var(--cream-alt); }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.section-inner.narrow { max-width: 760px; }

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 700;
  margin: 0 0 12px;
}
.eyebrow.center { text-align: center; }

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 26px;
}
.section-title.center { text-align: center; }

.lead { font-size: 1.08rem; color: var(--ink-soft); line-height: 1.7; }
.lead.center { text-align: center; max-width: 600px; margin: 0 auto 50px; }

/* ---------- Présentation ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: center;
}
.col-text p { line-height: 1.75; color: var(--ink-soft); }
.col-text p strong { color: var(--ink); }

.tick-list {
  list-style: none;
  padding: 0;
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tick-list li {
  padding-left: 30px;
  position: relative;
  font-weight: 500;
  color: var(--ink);
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--green);
}

.col-visual { display: flex; justify-content: center; }
.visual-card {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  max-width: 380px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(43,51,36,0.35);
}
.visual-card.no-photo {
  background: linear-gradient(150deg, var(--sky), var(--green) 70%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.visual-photo-placeholder {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 0.95rem;
}
.visual-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  z-index: 0;
}
.fade-photo {
  opacity: 0;
  transition: opacity 1.2s ease;
  pointer-events: none;
}
.fade-photo.is-active {
  opacity: 1;
}
.visual-label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.25;
  box-shadow: 0 14px 26px -10px rgba(0,0,0,0.5);
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2px;
  background: rgba(43,51,36,0.08);
  border: 1px solid rgba(43,51,36,0.08);
  border-radius: 20px;
  overflow: hidden;
}
.service-card {
  background: var(--cream);
  padding: 40px 28px;
  transition: background 0.25s ease;
}
.service-card:hover { background: #fff; }
.service-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--green);
  margin-bottom: 14px;
}
.service-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  margin: 0 0 10px;
}
.service-card p { color: var(--ink-soft); line-height: 1.6; margin: 0; font-size: 0.95rem; }

/* ---------- Tarifs ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 20px;
}
.price-card {
  background: #fff;
  border: 1px solid rgba(43,51,36,0.08);
  border-radius: 20px;
  padding: 34px 30px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.price-card:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -20px rgba(43,51,36,0.2); }
.price-card.featured { border-color: var(--green); background: var(--cream); }
.price-card.promo {
  border: none;
  background: linear-gradient(135deg, #ff8c1a 0%, #ffa733 35%, #ffc531 68%, #ffdd33 100%);
  box-shadow: 0 26px 50px -18px rgba(255, 140, 26, 0.55);
}
.price-card.promo:hover { box-shadow: 0 32px 60px -16px rgba(255, 140, 26, 0.65); }
.price-tag {
  position: absolute;
  top: -12px; left: 30px;
  background: var(--green);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.03em;
}
.price-tag-promo {
  left: auto;
  right: 30px;
  background: #7a2e00;
  color: #ffdd33;
  font-size: 0.8rem;
  padding: 6px 16px;
  box-shadow: 0 8px 18px -6px rgba(0,0,0,0.45);
}
.price-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  margin: 6px 0 20px;
}
.price-card.promo h3 { font-size: 1.45rem; color: #4a1e00; }
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-top: 1px solid rgba(43,51,36,0.08);
}
.price-row:first-of-type { border-top: none; }
.price-row span { color: var(--ink-soft); font-size: 0.95rem; }
.price-row strong { font-family: var(--font-display); font-size: 1.3rem; }
.price-value { display: inline-flex; align-items: baseline; gap: 9px; }
.price-before {
  text-decoration: line-through;
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 500;
}
.price-card.promo .price-row { border-top-color: rgba(74,30,0,0.15); }
.price-card.promo .price-row span { color: #5c2600; font-size: 1.05rem; font-weight: 500; }
.price-card.promo .price-row strong { color: #4a1e00; font-size: 1.55rem; }
.price-card.promo .price-before { color: rgba(74,30,0,0.6); font-size: 0.92rem; }
.price-card.promo .price-note { color: #5c2600; font-size: 0.95rem; }
.price-note { color: var(--ink-soft); font-size: 0.9rem; margin-top: 14px; line-height: 1.5; }
.fine-print { color: var(--ink-soft); font-size: 0.85rem; margin-top: 36px; }

/* ---------- Calendrier ---------- */
.section-inner.calendar-wrap { max-width: 1000px; }

.calendar-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}

.calendar-card {
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 24px 50px -24px rgba(43,51,36,0.25);
}
.calendar-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 18px;
}
.calendar-nav h3 {
  font-family: var(--font-display);
  font-weight: 600;
  min-width: 180px;
  text-align: center;
  margin: 0;
  text-transform: capitalize;
}
.cal-arrow {
  background: var(--cream-alt);
  border: none;
  color: var(--ink);
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.2s ease;
  flex-shrink: 0;
}
.cal-arrow:hover { background: var(--sky-light); }

.calendar-legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.dot.dispo { background: var(--success); }
.dot.partiel { background: linear-gradient(90deg, var(--success) 50%, var(--brown-light) 50%); }
.dot.indispo { background: var(--error); }
.dot.passe { background: var(--brown-light); }

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.calendar-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 10px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}
.cal-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 0.88rem;
  background: var(--cream-alt);
  position: relative;
}
.cal-cell.day-name { background: transparent; font-weight: 600; color: var(--ink-soft); font-size: 0.78rem; }
.cal-cell.empty { background: transparent; }
.cal-cell.dispo { background: #e7f0e1; color: var(--green); cursor: pointer; transition: background 0.15s ease, transform 0.15s ease; }
.cal-cell.dispo:hover { background: var(--sky-light); transform: scale(1.06); }
.cal-cell.partiel { background: linear-gradient(135deg, #e7f0e1 50%, #f3ead9 50%); color: var(--brown); cursor: pointer; transition: transform 0.15s ease; }
.cal-cell.partiel:hover { background: var(--sky-light); transform: scale(1.06); }
.cal-cell.indispo { background: #f7e3df; color: var(--error); text-decoration: line-through; opacity: 0.75; }
.cal-cell.passe { background: #f3ead9; color: var(--brown); }
.cal-cell.selected { background: var(--green); color: #fff; font-weight: 700; box-shadow: 0 0 0 3px rgba(63,93,51,0.25); }
.cal-cell:focus-visible { outline: 2px solid var(--sky-deep); outline-offset: 2px; }

/* ---------- Agenda (détail heure par heure) ---------- */
.agenda-card {
  background: #fff;
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 24px 50px -24px rgba(43,51,36,0.25);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.agenda-placeholder {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin: 0;
}
.agenda-content { width: 100%; }
.agenda-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(43,51,36,0.1);
}
.agenda-header h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  margin: 0;
  text-transform: capitalize;
}
.agenda-close {
  background: var(--cream-alt);
  border: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  color: var(--ink-soft);
  font-size: 0.85rem;
  cursor: pointer;
  flex-shrink: 0;
}
.agenda-close:hover { background: var(--sky-light); color: var(--ink); }

.agenda-hours {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 420px;
  overflow-y: auto;
  margin-bottom: 18px;
  padding-right: 4px;
}
.hour-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 0.88rem;
  background: var(--cream-alt);
  border: 1.5px solid transparent;
}
.hour-row .hour-time { font-weight: 600; color: var(--ink); }
.hour-row .hour-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--ink-soft);
}
.hour-row .hour-status::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ink-soft);
}
.hour-row.is-dispo {
  background: #e7f0e1;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.hour-row.is-dispo .hour-status { color: var(--green); }
.hour-row.is-dispo .hour-status::before { background: var(--green); }
.hour-row.is-dispo:hover { background: var(--sky-light); border-color: var(--sky-deep); }
.hour-row.is-indispo {
  opacity: 0.65;
}
.hour-row.is-indispo .hour-time { color: var(--ink-soft); text-decoration: line-through; }
.hour-row.is-indispo .hour-status { color: var(--error); }
.hour-row.is-indispo .hour-status::before { background: var(--error); }
.hour-row.is-chosen { background: var(--green); border-color: var(--green-dark); }
.hour-row.is-chosen .hour-time,
.hour-row.is-chosen .hour-status { color: #fff; }
.hour-row.is-chosen .hour-status::before { background: #fff; }

/* ---------- Galerie ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-item {
  aspect-ratio: 4/3;
  border: none;
  border-radius: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 10px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item:hover { transform: scale(1.03); box-shadow: 0 20px 40px -18px rgba(43,51,36,0.35); }
.gallery-item.has-photo { background-size: cover; background-position: center; }
.gallery-item::after {
  content: "🔍";
  position: absolute;
  top: 12px; right: 14px;
  font-size: 0.9rem;
  opacity: 0.7;
}
.gi-1 { background: linear-gradient(140deg, #3f5d33, #2a3f22); }
.gi-2 { background: linear-gradient(140deg, #6fa8c9, #3f5d33); }
.gi-3 { background: linear-gradient(140deg, #d9c1a0, #3f5d33); }
.gi-4 { background: linear-gradient(140deg, #a9805a, #2a3f22); }
.gi-5 { background: linear-gradient(140deg, #dceef5, #4f8fb0); }
.gi-6 { background: linear-gradient(140deg, #a9805a, #3f5d33); }

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  margin-top: 10px;
}

.contact-form {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 24px 50px -28px rgba(43,51,36,0.2);
}
.hp-field { position: absolute; left: -9999px; top: -9999px; }

.form-row { display: flex; flex-direction: column; gap: 7px; }
.form-row.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row.two-col > div { display: flex; flex-direction: column; gap: 7px; }

label, legend { font-weight: 600; font-size: 0.88rem; color: var(--ink); }
label .hint { font-weight: 400; color: var(--ink-soft); font-size: 0.8rem; }

fieldset { border: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }

input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1.5px solid rgba(43,51,36,0.14);
  border-radius: 10px;
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.2s ease;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); }
input.invalid, select.invalid, textarea.invalid { border-color: var(--error); }

.animal-options { display: flex; gap: 10px; flex-wrap: wrap; }
.animal-choice {
  display: flex; align-items: center; gap: 6px;
  background: var(--cream);
  border: 1.5px solid rgba(43,51,36,0.14);
  border-radius: 10px;
  padding: 9px 16px;
  cursor: pointer;
  font-weight: 400;
  font-size: 0.9rem;
}
.animal-choice input { accent-color: var(--green); }
.animal-choice:has(input:checked) { border-color: var(--green); background: #e7f0e1; }
.animal-choice em { font-style: normal; color: var(--ink-soft); font-size: 0.82rem; margin-left: 2px; }

.error-msg { color: var(--error); font-size: 0.78rem; min-height: 1em; }

.form-success {
  color: var(--success);
  font-weight: 600;
  background: #eaf1e2;
  border: 1.5px solid var(--success);
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
}
.form-success.form-error {
  color: var(--error);
  background: #f7e3df;
  border-color: var(--error);
}

.contact-side { display: flex; flex-direction: column; gap: 18px; height: 100%; }
.contact-info-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 24px 50px -28px rgba(43,51,36,0.2);
}
.contact-info-card h3 { font-family: var(--font-display); font-weight: 600; margin-top: 0; }
.contact-info-card p { color: var(--ink-soft); font-size: 0.95rem; }
.contact-link {
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1.5px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.contact-link:hover { color: var(--green); border-color: var(--green); }
.mini-badge {
  background: var(--ink);
  color: var(--cream);
  border-radius: 16px;
  padding: 18px;
  font-size: 0.82rem;
  text-align: center;
  line-height: 1.5;
}
.contact-photo {
  position: relative;
  flex: 1;
  min-height: 180px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(150deg, var(--sky), var(--green) 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  padding: 16px;
  box-shadow: 0 24px 50px -28px rgba(43,51,36,0.25);
}
.contact-photo.has-photos { padding: 0; }
.contact-photo .fade-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------------- FOOTER ---------------- */
.site-footer {
  text-align: center;
  padding: 30px 20px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  background: var(--ink);
  color: rgba(250,246,238,0.6);
}

/* ---------------- LIGHTBOX ---------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(20, 16, 10, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }

.lb-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: min(80vw, 720px);
  transform: scale(0.96);
  transition: transform 0.3s ease;
}
.lightbox.open .lb-stage { transform: scale(1); }

.lb-image.has-photo { background-size: cover; background-position: center; }
.lb-image {
  width: min(80vw, 720px);
  aspect-ratio: 4/3;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,0.6);
}
.lb-caption {
  font-family: var(--font-display);
  font-style: italic;
  color: #fdfbf5;
  font-size: 1.15rem;
  margin: 0;
  text-align: center;
}
.lb-counter {
  color: rgba(253,251,245,0.55);
  font-size: 0.82rem;
  margin: 0;
  letter-spacing: 0.05em;
}

.lb-close {
  position: absolute;
  top: 28px; right: 32px;
  background: none;
  border: 1.5px solid rgba(253,251,245,0.3);
  color: #fdfbf5;
  width: 42px; height: 42px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.lb-close:hover { background: rgba(253,251,245,0.1); border-color: #fdfbf5; }

.lb-arrow {
  background: none;
  border: 1.5px solid rgba(253,251,245,0.3);
  color: #fdfbf5;
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
  margin: 0 24px;
}
.lb-arrow:hover { background: rgba(253,251,245,0.1); border-color: #fdfbf5; }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 960px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .contact-layout { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-content { flex-direction: column; gap: 34px; }
  .hero { padding-top: 150px; }
}

@media (max-width: 860px) {
  .calendar-layout { grid-template-columns: 1fr; }
  .agenda-card { min-height: unset; }
  .agenda-hours { max-height: 340px; }
}

@media (max-width: 760px) {
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    height: 100vh;
    width: min(80vw, 320px);
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 6px;
    padding: 40px 30px;
    transition: right 0.35s ease;
    box-shadow: -20px 0 50px rgba(43,51,36,0.15);
  }
  .nav-links.open { right: 0; }
  .nav-links.open a { color: var(--ink-soft); }
  .nav-links.open a:hover, .nav-links.open a.active { background: rgba(43,51,36,0.06); color: var(--ink); }
  .nav-links a { text-align: center; padding: 14px; font-size: 1rem; }
  .nav-toggle { display: flex; }
  .brand-icon { width: 92px; margin: -28px 0; }
  .nav.scrolled .brand-icon { width: 74px; margin: -20px 0; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .section { padding: 80px 20px; }
  .form-row.two-col { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .lb-arrow { width: 40px; height: 40px; margin: 0 10px; font-size: 1.3rem; }
  .lb-image { width: 78vw; }

  /* Calendrier / agenda : cellules et zones de tap plus généreuses */
  .calendar-card, .agenda-card { padding: 20px 16px; border-radius: 20px; }
  .calendar-grid { gap: 5px; }
  .cal-cell { font-size: 0.82rem; border-radius: 8px; }
  .calendar-nav h3 { min-width: 0; font-size: 1rem; }
  .calendar-legend { gap: 10px 14px; font-size: 0.74rem; }
  .agenda-hours { max-height: 300px; }
  .hour-row { padding: 13px 14px; font-size: 0.9rem; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .calendar-card, .agenda-card { padding: 16px 12px; }
  .cal-arrow { width: 44px; height: 44px; }
  .cal-cell { font-size: 0.78rem; }
  .splash-panel { padding: 32px 24px; border-radius: 20px; }
  .splash-title { font-size: 1.3rem; }
}
