@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500&family=Work+Sans:wght@300;400;500;600&display=swap');

:root {
  /* Diois limestone & forest, forge ember, hoof horn, dawn rose */
  --stone: #efe9db;
  --paper: #fbf9f3;
  --ink: #262019;
  --ink-soft: #5b5245;
  --forest: #3e5a44;
  --forest-dark: #2e4634;
  --ember: #a3491f;
  --horn: #ab8452;
  --horn-text: #836341; /* variante lisible du horn pour le texte (contraste AA) */
  --rose: #b97f6c;
  --rose-dark: #96604f;
  --border: #ded2b4;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Work Sans', sans-serif;
  font-weight: 300;
  background: var(--stone);
  color: var(--ink);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  color: var(--ink);
  text-wrap: balance;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

/* Focus clavier visible partout — accessibilité, pas seulement esthétique */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--rose-dark);
  outline-offset: 3px;
  border-radius: 3px;
}
.hero :focus-visible,
.cta-band :focus-visible {
  outline-color: var(--paper);
}

/* Texture papier discrète — chaleur artisanale, jamais au-dessus de 3% d'opacité */
body {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container.narrow { max-width: 620px; }

/* Header */
header {
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  gap: 1rem;
}

.brand { display: flex; flex-direction: column; line-height: 1.1; }

.logo {
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
}

.brand-sub {
  font-family: 'Work Sans', sans-serif;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--forest);
  font-weight: 500;
  margin-top: 0.15rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  font-size: 0.88rem;
}

.nav-links a {
  color: var(--ink-soft);
  transition: color 0.2s;
  padding: 0.3rem 0;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover, .nav-links a.active { color: var(--forest); }

.nav-links a.nav-cta {
  background: var(--ember);
  color: var(--paper);
  padding: 0.5rem 1.1rem;
  border-radius: 6px;
}

.nav-links a.nav-cta:hover { background: #863b18; color: var(--paper); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.icon-link { position: relative; display: inline-flex; align-items: center; padding: 0.3rem; border-bottom: none !important; }
.nav-icon { width: 19px; height: 19px; flex-shrink: 0; }
.cart-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  border-radius: 999px;
  background: var(--rose-dark);
  color: var(--paper);
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1;
}

/* Sous-menus déroulants (survol desktop) */
.nav-links .nav-group { position: relative; }
.nav-links .nav-parent { display: inline-flex; align-items: center; gap: 0.3rem; }
.nav-links .nav-parent::after {
  content: "›";
  font-size: 0.75rem;
  opacity: 0.55;
  transform: rotate(90deg);
}
.nav-links .nav-submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: -1rem;
  /* Pas de marge ici : un espace vide entre le lien et le menu coupe le
     survol quand la souris traverse cette zone (elle n'appartient à rien). */
  margin-top: 0;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.6rem 0.4rem 0.4rem;
  min-width: 190px;
  box-shadow: 0 14px 28px -16px rgba(38, 32, 25, 0.35);
  z-index: 30;
}
.nav-links .nav-submenu a {
  display: block;
  padding: 0.55rem 0.7rem;
  border-radius: 5px;
  border-bottom: none;
}
.nav-links .nav-submenu a:hover { background: var(--stone); }

/* Survol réservé aux appareils avec une vraie souris — sur tactile, le survol
   reste "collé" après un appui (pas de mouseleave), d'où la gestion en JS. */
@media (hover: hover) and (pointer: fine) {
  .nav-links .nav-group:hover .nav-submenu,
  .nav-links .nav-group:focus-within .nav-submenu { display: block; }
}
.nav-links .nav-group.js-open .nav-submenu { display: block; }

.burger {
  display: none;
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--ink);
  cursor: pointer;
}

@media (max-width: 920px) {
  .burger { display: block; }
  .brand-sub { display: none; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 1px solid var(--border);
    gap: 0.85rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a.nav-cta { padding: 0.5rem 1.1rem; }

  /* Pas de survol tactile : sous-menus toujours dépliés, à plat */
  .nav-links .nav-group { display: contents; }
  .nav-links .nav-parent { display: none; }
  .nav-links .nav-submenu {
    display: contents;
  }
  .icon-link {
    padding: 0.3rem 0;
    gap: 0.6rem;
  }
  .icon-link .sr-only {
    position: static;
    width: auto; height: auto;
    padding: 0; margin: 0;
    overflow: visible;
    clip: auto;
    white-space: nowrap;
  }
  .icon-link .cart-badge { position: static; }
}

/* Hero (home) — full-bleed Diois landscape backdrop */
.hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(320px, 46vh, 440px);
  display: flex;
  align-items: flex-end;
  padding: 0 0 2.6rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg svg { width: 100%; height: 100%; display: block; }

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(38,32,25,0) 25%, rgba(30,25,19,0.78) 100%),
    linear-gradient(100deg, rgba(30,25,19,0.6) 0%, rgba(30,25,19,0.18) 48%, rgba(30,25,19,0) 72%);
}

.hero .container { position: relative; z-index: 2; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.74rem;
  color: var(--forest);
  margin-bottom: 0.6rem;
  font-weight: 500;
}

.hero .eyebrow { color: var(--horn); }

.hero h1 {
  font-size: 2rem;
  font-weight: 500;
  font-style: italic;
  margin-bottom: 0.7rem;
  line-height: 1.3;
  max-width: 640px;
  color: var(--paper);
}

.hero p.tagline {
  font-size: 1rem;
  color: rgba(251, 249, 243, 0.86);
  max-width: 560px;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.hero-actions { display: flex; align-items: center; gap: 1.3rem; flex-wrap: wrap; }
.hero .link-arrow { color: var(--paper); border-color: rgba(251, 249, 243, 0.55); }
.hero .link-arrow:hover { color: var(--paper); border-color: var(--paper); }

@media (max-width: 780px) {
  .hero { min-height: clamp(300px, 50vh, 400px); }
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  background: var(--ember);
  color: var(--paper);
  border-radius: 6px;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  font-family: 'Work Sans', sans-serif;
}

.btn:hover { background: #863b18; }

.btn-light { background: var(--paper); color: var(--forest-dark); }
.btn-light:hover { background: var(--stone); }

.link-arrow {
  color: var(--forest);
  font-size: 0.92rem;
  border-bottom: 1px solid var(--horn);
  padding-bottom: 2px;
}
.link-arrow:hover { color: var(--forest-dark); border-color: var(--forest); }

/* Interior page hero — compact */
.page-hero {
  padding: 2.6rem 0 2.2rem;
  background: var(--paper);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 { font-size: 1.9rem; font-weight: 500; font-style: italic; }
.page-hero p.tagline { font-size: 1rem; color: var(--ink-soft); max-width: 560px; margin-top: 0.6rem; }

/* Sections */
section { padding: 3.4rem 0; }
section.alt { background: var(--paper); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
section.tight { padding: 2.6rem 0; }

section h2 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.section-intro {
  color: var(--ink-soft);
  max-width: 520px;
  margin: 0 0 2rem;
  font-weight: 300;
}

.center, p.center, h2.center { text-align: center; margin-left: auto; margin-right: auto; }
.center .section-intro { margin-left: auto; margin-right: auto; }

/* Prose (long-form text) */
.prose p { color: var(--ink-soft); margin-bottom: 1rem; font-weight: 300; font-size: 1rem; }
.prose p:last-child { margin-bottom: 0; }

.prose-closing {
  max-width: 640px;
  margin: 2rem auto 0;
  color: var(--ink-soft);
  font-style: italic;
  font-weight: 300;
}

.lede {
  max-width: 640px;
  color: var(--ink-soft);
  font-style: italic;
  font-weight: 300;
  margin-bottom: 2.2rem;
}

.mt-lg { margin-top: 1.6rem; }

/* Method blocks (À propos - façon de pratiquer) */
.method {
  max-width: 700px;
  margin: 0 auto 1.8rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid var(--border);
}
.method:last-of-type { border-bottom: none; padding-bottom: 0; }
.method h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 0.5rem; }
.method p { color: var(--ink-soft); font-weight: 300; margin-bottom: 0.7rem; }
.method p:last-child { margin-bottom: 0; }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.3rem;
}

.card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.7rem 1.4rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.card:hover { border-color: var(--horn); box-shadow: 0 10px 24px -18px rgba(38, 32, 25, 0.4); }

.card-mark {
  width: 28px;
  height: 2px;
  background: var(--horn);
  margin-bottom: 1rem;
}

.card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.4rem; }
.card p { color: var(--ink-soft); font-size: 0.92rem; font-weight: 300; }

.cards.center-cards .card { text-align: center; }
.cards.center-cards .card .card-mark { margin-left: auto; margin-right: auto; }

/* Articles */
.articles .card.article { }
.tag {
  display: inline-block;
  background: var(--stone);
  color: var(--forest-dark);
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  margin-bottom: 0.7rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.articles .card.article h3 { font-size: 1.05rem; }

/* Testimonials */
.testimonial { padding-top: 0; overflow: hidden; }
.testimonial .quote { font-family: 'Fraunces', serif; font-style: italic; font-size: 1.05rem; color: var(--ink); margin: 1.2rem 0 0.7rem; padding: 0 1.4rem; }
.testimonial .author { font-size: 0.82rem; color: var(--ink-soft); padding: 0 1.4rem 1.7rem; display: block; }

.testimonial-avatar {
  width: 100%;
  aspect-ratio: 16/10;
  margin: 0 0 0.2rem;
}
.testimonial-avatar.tint-1 { background: linear-gradient(155deg, var(--horn), var(--forest-dark)); }
.testimonial-avatar.tint-2 { background: linear-gradient(155deg, var(--rose), var(--forest-dark)); }
.testimonial-avatar.tint-3 { background: linear-gradient(155deg, var(--forest), var(--ink)); }

.home-testimonials { background: var(--paper); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.home-testimonials .cards { margin-bottom: 1.6rem; }

/* Partners (mockup) */
.partner-card { align-items: center; }
.partner-mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.9rem;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--paper);
}
.partner-mark.tint-1 { background: linear-gradient(155deg, var(--horn), var(--forest-dark)); }
.partner-mark.tint-2 { background: linear-gradient(155deg, var(--rose), var(--forest-dark)); }
.partner-mark.tint-3 { background: linear-gradient(155deg, var(--forest), var(--ink)); }
.partner-name { font-family: 'Fraunces', serif; font-weight: 600; font-size: 0.98rem; color: var(--ink); margin-bottom: 0.2rem; }
.partner-role { font-size: 0.82rem; color: var(--ink-soft); }

/* Intro split (home) */
.intro-split-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.6rem;
  align-items: center;
}

.portrait {
  aspect-ratio: 4/3;
  max-height: 260px;
  background: linear-gradient(160deg, var(--horn), var(--forest-dark));
  border-radius: 8px;
}

.intro-split-grid p { color: var(--ink-soft); font-weight: 300; margin-bottom: 0.9rem; }

/* Photo gallery strip, under "Observer, écouter, adapter" */
.gallery-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-top: 2.2rem;
}

.gallery-strip .tile {
  aspect-ratio: 4/3;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(251, 249, 243, 0.72);
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 0.5rem;
}

.gallery-strip .tile:nth-child(1) { background: linear-gradient(155deg, var(--horn), var(--forest-dark)); }
.gallery-strip .tile:nth-child(2) { background: linear-gradient(155deg, var(--forest), var(--ink)); }
.gallery-strip .tile:nth-child(3) { background: linear-gradient(155deg, var(--ember), var(--horn)); }

/* Prestations teaser (home, between hero and intro) */
.services-teaser {
  padding: 1.1rem 0;
  background: var(--paper);
  border-bottom: 1px solid var(--border);
}

.teaser-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  row-gap: 0.7rem;
}

.teaser-item {
  position: relative;
  font-size: 0.82rem;
  color: var(--ink-soft);
  white-space: nowrap;
  padding-left: 1.6rem;
}

.teaser-item:first-child { padding-left: 0; }

.teaser-item:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background: var(--border);
}

.teaser-item:hover { color: var(--forest); }

.teaser-link { font-size: 0.82rem; }

@media (max-width: 780px) {
  .intro-split-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.6rem; }
  .page-hero h1 { font-size: 1.6rem; }
}

@media (max-width: 520px) {
  .gallery-strip { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .gallery-strip .tile { font-size: 0.6rem; padding: 0.3rem; }
}

/* Zone d'intervention (home) */
.zone-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2.2rem;
  align-items: center;
}
.zone-grid .map-frame { max-width: none; margin: 0; height: 280px; }

@media (max-width: 700px) {
  .zone-grid { grid-template-columns: 1fr; }
  .zone-grid .map-frame { height: 240px; }
}

/* Zone / map */
.map-frame {
  position: relative;
  isolation: isolate;
  z-index: 0;
  max-width: 560px;
  margin: 0 auto;
  height: 320px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--paper);
  overflow: hidden;
}
.map-frame.small { height: 220px; margin: 0.8rem 0 1.6rem; max-width: none; }
.map-frame .leaflet-container { width: 100%; height: 100%; font-family: 'Work Sans', sans-serif; background: var(--stone); }

.leaflet-tooltip.zone-tooltip {
  background: var(--paper);
  border: 1px solid var(--border);
  box-shadow: none;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--ink);
  padding: 1px 6px;
}
.leaflet-tooltip.zone-tooltip::before { display: none; }

/* CTA band */
.cta-band {
  background: var(--forest-dark);
  color: var(--paper);
  text-align: center;
  padding: 2.8rem 0;
}
.cta-band h2 { color: var(--paper); margin-bottom: 0.5rem; }
.cta-band p { color: rgba(251,249,243,0.8); margin-bottom: 1.4rem; font-weight: 300; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.6rem;
  align-items: start;
}

.contact-info h2 { font-size: 1.25rem; margin-top: 1.4rem; }
.contact-info h2:first-child { margin-top: 0; }
.contact-info p { color: var(--ink-soft); font-weight: 300; }

@media (max-width: 780px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-wrap {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}

form { display: flex; flex-direction: column; gap: 0.9rem; }

label {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-bottom: 0.3rem;
  display: block;
}

input, textarea, select {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.92rem;
  background: var(--stone);
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--horn);
}

textarea { resize: vertical; min-height: 110px; }

.checkbox-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  color: var(--ink-soft);
  cursor: pointer;
}
.checkbox-line input { width: auto; flex-shrink: 0; }

.horse-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.3rem;
  margin-bottom: 0.8rem;
}
.horse-photo-grid img { aspect-ratio: 1/1; object-fit: cover; border-radius: 6px; }

.admin-photo-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
.admin-photo-tile { display: flex; flex-direction: column; gap: 0.4rem; }
.admin-photo-tile img { aspect-ratio: 4/3; width: 100%; object-fit: cover; border-radius: 8px; }
.admin-photo-tile p { font-size: 0.8rem; margin: 0; }

#form-status { font-size: 0.88rem; margin-top: 0.4rem; }

.notice {
  background: #f4ecd8;
  border: 1px solid var(--border);
  color: var(--forest-dark);
  border-radius: 6px;
  padding: 0.8rem 1.1rem;
  font-size: 0.83rem;
  text-align: center;
  margin: 0 auto 2rem;
  max-width: 680px;
}

/* Mon histoire — personal, editorial treatment */
.story-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.6rem;
  align-items: start;
  max-width: 980px;
  margin: 0 auto;
}

.story-main h2 { margin-bottom: 0.6rem; }

.story-profile {
  position: sticky;
  top: 90px;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.8rem 1.4rem;
}

.portrait-round {
  width: 140px;
  height: 140px;
  max-width: 100%;
  border-radius: 50%;
  margin: 0 auto 1.1rem;
  background: linear-gradient(160deg, var(--horn), var(--forest-dark));
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 1px var(--border);
}

.story-profile-name { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.05rem; color: var(--ink); margin-bottom: 0.3rem; }
.story-profile-desc { font-size: 0.84rem; color: var(--ink-soft); font-weight: 300; margin-bottom: 1.3rem; }

.social-links { display: flex; flex-direction: column; gap: 0.5rem; align-items: center; padding-top: 1.1rem; border-top: 1px solid var(--border); }
.social-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-bottom: 0.2rem;
}

@media (max-width: 780px) {
  .story-layout { grid-template-columns: 1fr; }
  .story-profile { position: static; order: -1; max-width: 340px; margin: 0 auto 2rem; }
}

.letter {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2.4rem clamp(1.4rem, 5vw, 3.2rem);
  margin-top: 1.4rem;
}

.story-flow { display: block; }

.story-block { padding-bottom: 1.9rem; }
.story-block:last-child { padding-bottom: 0; }

.story-block p { color: var(--ink-soft); font-weight: 300; margin-bottom: 0.85rem; }
.story-block p:last-child { margin-bottom: 0; }

.story-block p.opening::first-letter {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 3.2rem;
  color: var(--ember);
  float: left;
  line-height: 0.8;
  padding-right: 0.35rem;
  padding-top: 0.4rem;
}

.pull-quote {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--forest-dark);
  border-left: 2px solid var(--rose);
  padding: 0.2rem 0 0.2rem 1.1rem;
  margin: 1.6rem 0;
  line-height: 1.4;
}

.signature {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink);
  text-align: right;
  margin-top: 2rem;
}


/* Footer */
footer {
  background: var(--paper);
  border-top: 1px solid var(--border);
  padding-top: 2.4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.8rem;
  padding-bottom: 2rem;
}

.footer-grid p { color: var(--ink-soft); font-size: 0.88rem; font-weight: 300; margin-top: 0.5rem; }

.footer-grid h4 {
  font-family: 'Work Sans', sans-serif;
  font-weight: 500;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 0.8rem;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; }
.footer-links a { color: var(--ink-soft); font-size: 0.9rem; }
.footer-links a:hover { color: var(--forest); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Pricing sheet (Prestations) */
.price-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start;
  max-width: 1020px;
  margin: 0 auto;
}

.price-sheet {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2.2rem clamp(1.2rem, 4vw, 2.6rem);
}

.price-aside {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.8rem 1.6rem;
  position: sticky;
  top: 90px;
}
.price-aside h3 { font-size: 1.05rem; margin-bottom: 0.7rem; }
.price-aside p { color: var(--ink-soft); font-size: 0.9rem; font-weight: 300; margin-bottom: 1rem; }

@media (max-width: 860px) {
  .price-layout { grid-template-columns: 1fr; }
  .price-aside { position: static; }
}

.price-group + .price-group { margin-top: 2rem; }

.price-group h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--forest-dark);
  margin-bottom: 0.9rem;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.5rem 0;
}

.price-label { color: var(--ink-soft); font-size: 0.94rem; }
.price-label small { display: block; color: var(--ink-soft); opacity: 0.72; font-size: 0.78rem; margin-top: 0.15rem; }

.price-fill {
  flex: 1;
  border-bottom: 1px dotted var(--border);
  transform: translateY(-4px);
}

.price-value {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.02rem;
  color: var(--rose-dark);
  white-space: nowrap;
}

.price-footnote {
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-style: italic;
}

/* Planning "ma semaine" */
.planning-list {
  max-width: 560px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--paper);
}
.planning-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1.3rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.planning-row:last-child { border-bottom: none; }
.planning-row:hover { background: var(--stone); }
.planning-date { text-transform: capitalize; font-size: 0.92rem; color: var(--ink); }
.planning-location { font-family: 'Fraunces', serif; font-style: italic; color: var(--forest-dark); }

/* Devis instantané */
.quote-calc {
  max-width: 560px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.8rem clamp(1.2rem, 4vw, 2.2rem);
}
.quote-result {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  background: var(--stone);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  margin-top: 1.2rem;
  font-size: 0.95rem;
}
.quote-result strong {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--rose-dark);
}

/* Boutique */
.shop-intro { max-width: 680px; margin: 0 auto 2.4rem; text-align: center; }
.shop-intro p { color: var(--ink-soft); font-weight: 300; margin-bottom: 0.8rem; }

.shop-category { margin-bottom: 3rem; }
.shop-category:last-child { margin-bottom: 0; }
.shop-category h2 { font-size: 1.3rem; margin-bottom: 0.3rem; }
.shop-category .section-intro { margin-bottom: 1.6rem; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.3rem;
}

.product {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.product:hover { border-color: var(--horn); box-shadow: 0 10px 24px -18px rgba(38, 32, 25, 0.4); }

.product-link { display: flex; flex-direction: column; flex: 1; color: inherit; }

.product-actions { padding: 0 1.2rem 1.2rem; }
.product-actions .btn { width: 100%; text-align: center; }

.product-visual { aspect-ratio: 4/3; }
.product-visual.tint-1 { background: linear-gradient(155deg, var(--horn), var(--forest-dark)); }
.product-visual.tint-2 { background: linear-gradient(155deg, var(--rose), var(--forest-dark)); }
.product-visual.tint-3 { background: linear-gradient(155deg, var(--forest), var(--ink)); }

.product-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.35rem; }
.product-body p { color: var(--ink-soft); font-size: 0.86rem; font-weight: 300; margin-bottom: 0.9rem; flex: 1; }

.product-price {
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: var(--rose-dark);
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.product-cta {
  align-self: flex-start;
  font-size: 0.84rem;
  color: var(--forest);
  border-bottom: 1px solid var(--horn);
  padding-bottom: 2px;
}
.product-cta:hover { color: var(--forest-dark); border-color: var(--forest); }

.product-detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.6rem;
  align-items: start;
}
.product-visual-large {
  aspect-ratio: 4/3;
  border-radius: 10px;
}
.product-visual-large.tint-1 { background: linear-gradient(155deg, var(--horn), var(--forest-dark)); }
.product-visual-large.tint-2 { background: linear-gradient(155deg, var(--rose), var(--forest-dark)); }
.product-visual-large.tint-3 { background: linear-gradient(155deg, var(--forest), var(--ink)); }

@media (max-width: 780px) {
  .product-detail-grid { grid-template-columns: 1fr; }
}

/* Panier */
.cart-table-wrap { overflow-x: auto; margin-bottom: 1.2rem; }
.cart-table { min-width: 520px; }
.cart-table input.cart-qty { width: 64px; padding: 0.4rem 0.5rem; }
.cart-total { text-align: right; font-size: 1.05rem; margin-bottom: 2rem; }
.cart-total strong { font-family: 'Fraunces', serif; font-style: italic; color: var(--rose-dark); }

/* Réservation — parcours en 3 étapes */
.booking-step { padding: 2.6rem 0; border-bottom: 1px solid var(--border); }
.booking-step:last-of-type { border-bottom: none; }
.booking-step:nth-of-type(even) { background: var(--paper); }

.step-head { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.6rem; max-width: 640px; }
.step-num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--forest-dark);
  color: var(--paper);
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-head h2 { font-size: 1.25rem; margin-bottom: 0.3rem; }
.step-hint { color: var(--ink-soft); font-size: 0.9rem; font-weight: 300; }
.step-hint strong { color: var(--forest-dark); font-weight: 600; }

.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  max-width: 760px;
}
.location-card {
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.2rem 1.3rem;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.location-card:hover { border-color: var(--horn); box-shadow: 0 10px 24px -18px rgba(38, 32, 25, 0.4); }
.location-card.selected { border-color: var(--rose-dark); background: var(--stone); box-shadow: 0 0 0 1px var(--rose-dark); }
.location-name { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.location-day { font-size: 0.82rem; color: var(--ink-soft); }

.slot-list { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.slot-btn {
  padding: 0.55rem 1rem;
  border: 1px solid var(--horn);
  border-radius: 6px;
  background: var(--paper);
  color: var(--forest-dark);
  font-size: 0.86rem;
  cursor: pointer;
  font-family: 'Work Sans', sans-serif;
  transition: background 0.15s, color 0.15s;
}
.slot-btn:hover { background: var(--forest-dark); color: var(--paper); }
.slot-btn.selected { background: var(--rose-dark); color: var(--paper); border-color: var(--rose-dark); }

.booking-form-wrap {
  max-width: 560px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}

.success-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.2rem clamp(1.4rem, 5vw, 2.4rem);
  text-align: center;
}
.success-card h2 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.success-recap {
  text-align: left;
  background: var(--stone);
  border-radius: 8px;
  padding: 1.2rem 1.4rem;
  margin-bottom: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.success-recap > div { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.9rem; }
.success-recap dt { color: var(--ink-soft); }
.success-recap dd { margin: 0; font-weight: 500; text-align: right; }
.selected-slot-summary {
  background: var(--stone);
  border-radius: 8px;
  padding: 0.9rem 1.1rem;
  font-size: 0.88rem;
  color: var(--forest-dark);
  margin-bottom: 1.2rem;
}

/* Admin dashboard shell */
.admin-shell { display: flex; min-height: 100vh; background: var(--stone); }

.admin-sidebar {
  width: 230px;
  flex-shrink: 0;
  background: var(--forest-dark);
  color: var(--paper);
  padding: 1.8rem 1.3rem;
  display: flex;
  flex-direction: column;
}
.admin-sidebar .logo { color: var(--paper); font-size: 1.1rem; }
.admin-sidebar .brand-sub {
  color: rgba(251, 249, 243, 0.6);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.2rem;
}

.admin-nav { display: flex; flex-direction: column; gap: 0.2rem; margin-top: 2.2rem; margin-bottom: auto; }
.admin-nav a {
  padding: 0.6rem 0.7rem;
  border-radius: 6px;
  color: rgba(251, 249, 243, 0.75);
  font-size: 0.88rem;
}
.admin-nav a:hover { background: rgba(251, 249, 243, 0.08); color: var(--paper); }
.admin-nav a.active { background: rgba(251, 249, 243, 0.14); color: var(--paper); font-weight: 500; }

/* Sidebar admin : les sous-catégories restent toujours dépliées (pas de
   survol à gérer, la place verticale ne manque pas). */
.nav-group { position: relative; }
.nav-parent { display: flex; align-items: center; gap: 0.5rem; }
.nav-submenu {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  margin: 0.1rem 0 0.4rem 0.9rem;
  padding-left: 0.7rem;
  border-left: 1px solid rgba(251, 249, 243, 0.15);
}
.nav-submenu a { font-size: 0.82rem; padding: 0.45rem 0.6rem; }

.admin-sidebar-foot { display: flex; flex-direction: column; gap: 0.6rem; font-size: 0.82rem; padding-top: 1.4rem; border-top: 1px solid rgba(251, 249, 243, 0.15); }
.admin-sidebar-foot a { color: rgba(251, 249, 243, 0.65); }
.admin-sidebar-foot a:hover { color: var(--paper); }

.admin-main { flex: 1; padding: 2.2rem clamp(1.2rem, 4vw, 2.8rem) 3rem; min-width: 0; }

.admin-page-head { margin-bottom: 1.8rem; }
.admin-page-head h1 { font-size: 1.5rem; }
.admin-page-head p { color: var(--ink-soft); font-size: 0.9rem; margin-top: 0.3rem; max-width: 640px; }
.admin-page-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}
.admin-page-head-row .btn { flex-shrink: 0; white-space: nowrap; }

.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.stat-card { background: var(--paper); border: 1px solid var(--border); border-radius: 10px; padding: 1.2rem 1.3rem; }
.stat-card .stat-value { font-family: 'Fraunces', serif; font-style: italic; font-size: 1.8rem; color: var(--forest-dark); }
.stat-card .stat-label { font-size: 0.78rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 0.2rem; }

@media (max-width: 820px) {
  .admin-shell { flex-direction: column; }
  .admin-sidebar {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 0.9rem 1.2rem 0.7rem;
    gap: 0.6rem 1.2rem;
  }
  .admin-sidebar .brand-sub { display: none; }
  .admin-sidebar-foot {
    flex-direction: row;
    margin-left: auto;
    padding-top: 0;
    border-top: none;
  }
  .admin-nav {
    order: 3;
    flex-basis: 100%;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0.5rem -1.2rem -0.2rem;
    padding: 0 1.2rem 0.7rem;
    gap: 0.3rem;
  }
  .admin-nav a { white-space: nowrap; flex-shrink: 0; }

  /* Pas de survol tactile : on déplie les sous-menus à plat dans le bandeau,
     et on masque le libellé parent (redondant avec ses propres enfants). */
  .nav-group { display: contents; }
  .nav-parent { display: none; }
  .nav-submenu {
    display: contents;
  }
  .nav-submenu a { font-size: 0.86rem; padding: 0.5rem 0.9rem; }
}

/* Réservations admin : groupes par lieu + date, repliables */
.date-group { padding: 0; overflow: hidden; }

.date-group-summary {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem 1.1rem;
  cursor: pointer;
  list-style: none;
}
.date-group-summary::-webkit-details-marker { display: none; }
.date-group-summary::before {
  content: "▸";
  display: inline-block;
  margin-right: 0.6rem;
  color: var(--horn);
  transition: transform 0.15s;
}
.date-group[open] > .date-group-summary::before { transform: rotate(90deg); }
.date-group-summary:hover { background: var(--stone); }

.date-group-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.1rem;
}
.date-group-date {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 600;
  text-transform: capitalize;
  font-size: 1.05rem;
  color: var(--ink);
}
.date-group-location { font-size: 0.82rem; color: var(--ink-soft); }
.date-group-meta { font-size: 0.78rem; color: var(--ink-soft); white-space: nowrap; margin-left: auto; padding-left: 1rem; }

@media (max-width: 640px) {
  .date-group-summary { flex-wrap: wrap; }
  .date-group-meta { margin-left: 0; padding-left: 0; flex-basis: 100%; }
}

.date-group-body { padding: 0 1.1rem 0.8rem; border-top: 1px solid var(--border); }
.date-group-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0.6rem 0;
}

.taken-ranges { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.taken-chip {
  font-size: 0.72rem;
  background: var(--stone);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  color: var(--ink-soft);
}

.table-scroll { overflow-x: auto; margin: 0 -0.5rem; padding: 0 0.5rem; }
.booking-table { min-width: 720px; table-layout: auto; }
.booking-table th { white-space: nowrap; }
.booking-table td { vertical-align: top; padding: 0.55rem 0.6rem; font-size: 0.86rem; }
.booking-table .muted { color: var(--ink-soft); font-size: 0.78rem; margin-top: 0.1rem; }
.col-client { min-width: 170px; }
.col-actions { white-space: nowrap; }

/* display:flex se comporte de façon peu fiable dans certaines cellules de
   tableau selon les navigateurs — on utilise ici inline-block, plus robuste,
   avec white-space:nowrap pour garantir une seule ligne (défilement latéral
   du tableau si ça ne tient pas, plutôt qu'un empilement vertical). */
.actions-row { white-space: nowrap; }

.confirm-form { display: inline-block; white-space: nowrap; vertical-align: bottom; }
.confirm-form .field { display: inline-block; vertical-align: bottom; margin-right: 0.3rem; }
.confirm-form label { display: block; font-size: 0.65rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.02em; white-space: nowrap; margin-bottom: 0.15rem; }
.confirm-form input { padding: 0.3rem 0.4rem; font-size: 0.78rem; vertical-align: bottom; }
.confirm-form input[type="date"] { width: 112px; }
.confirm-form input[type="time"] { width: 74px; }
.confirm-form input[type="number"] { width: 52px; }
.confirm-form button.btn-icon { vertical-align: bottom; }
.actions-row .inline-form { display: inline-block; vertical-align: bottom; margin-left: 0.3rem; }

.duree-form { display: flex; gap: 0.4rem; }
.duree-form input { width: 70px; padding: 0.35rem 0.5rem; font-size: 0.82rem; }

.admin-panel {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.6rem 1.7rem;
  margin-bottom: 1.8rem;
}
.admin-panel h2 { font-size: 1.1rem; margin-bottom: 1rem; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.admin-table th {
  text-align: left;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid var(--border);
}
.admin-table td { padding: 0.6rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.admin-table tr:last-child td { border-bottom: none; }
.status-pill { display: inline-block; padding: 0.15rem 0.55rem; border-radius: 999px; font-size: 0.72rem; text-transform: capitalize; }
.status-pill.en_attente { background: #f4ecd8; color: var(--horn-text); }
.status-pill.confirmee { background: #e5efe0; color: var(--forest-dark); }
.status-pill.bloque { background: #f0e0da; color: var(--rose-dark); }
.status-pill.annulee { background: #ece5dc; color: var(--ink-soft); }
.status-pill.nouvelle { background: #f4ecd8; color: var(--horn-text); }
.status-pill.transmise { background: #e6ecf5; color: #3d5a8a; }
.status-pill.expediee { background: #e0ecf0; color: #2d6b7a; }
.status-pill.livree { background: #e5efe0; color: var(--forest-dark); }
.inline-form { display: inline; }
.btn-small { padding: 0.35rem 0.8rem; font-size: 0.78rem; border-radius: 5px; }

.btn.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  flex-shrink: 0;
}
.btn-icon svg { width: 15px; height: 15px; }
.action-icons { display: inline-flex; gap: 0.35rem; align-items: center; }
.btn-danger { background: var(--rose-dark); }
.btn-danger:hover { background: #7c4c3d; }
.admin-inline-fields { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.admin-inline-fields > div { flex: 1; min-width: 140px; }
.msg-row { cursor: pointer; }
.msg-row:hover { background: var(--stone); }

.msg-dialog {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.8rem clamp(1.2rem, 4vw, 2rem);
  max-width: 480px;
  width: 90vw;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Work Sans', sans-serif;
}
.msg-dialog::backdrop { background: rgba(38, 32, 25, 0.45); }
.msg-dialog h3 { font-family: 'Fraunces', serif; font-size: 1.2rem; margin-bottom: 0.3rem; }
.msg-dialog #md-meta { font-size: 0.82rem; margin-bottom: 1rem; }
.msg-dialog #md-message { white-space: pre-wrap; color: var(--ink-soft); margin-bottom: 1.4rem; line-height: 1.5; }
.msg-dialog-actions { display: flex; justify-content: flex-end; gap: 0.6rem; }

.login-wrap {
  max-width: 380px;
  margin: 3rem auto;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}
.admin-error { color: var(--rose-dark); font-size: 0.86rem; margin-top: 0.6rem; }
