:root {
  --lin: #f6efe4;
  --lin-deep: #e7d7c3;
  --paper: #f3e6d4;
  --terracotta: #a24b34;
  --terracotta-deep: #6e2e1f;
  --or: #c9a227;
  --miel: #f0d090;
  --miel-deep: #e4bc6e;
  --or-profond: #9a7b1a;
  --olive: #6e7344;
  --olive-deep: #3e4328;
  --olive-esprit: #4f5636;
  --lavande: #8a7e96;
  --encre: #2a211c;
  --encre-douce: #5a4e45;
  --hero-ink: #f8f0e4;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --max: 72rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--paper); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--encre-douce);
  background: var(--paper);
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  z-index: 0;
}

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

a { color: var(--terracotta-deep); text-underline-offset: 0.18em; }

a:hover { color: var(--or); }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--encre);
  color: var(--paper);
  padding: 0.5rem 0.8rem;
}

.skip:focus { top: 1rem; }

.bar,
main,
.site-footer { position: relative; z-index: 1; }

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 1rem 1.5rem;
  background: var(--terracotta);
  border-bottom: none;
}

.logo {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: #f6efe4;
  font-weight: 500;
}

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }

.nav-btn {
  display: none;
  border: 1px solid #f6efe4;
  background: transparent;
  color: #f6efe4;
  padding: 0.35rem 0.7rem;
  font: inherit;
  cursor: pointer;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav a {
  color: #f6efe4;
  text-decoration: none;
  font-size: 0.98rem;
}

.nav a[aria-current="page"] { color: #fbf6ee; }

.btn {
  display: inline-block;
  background: var(--miel);
  color: var(--terracotta);
  text-decoration: none;
  padding: 0.7rem 1.15rem;
  letter-spacing: 0.04em;
  border: 0;
}

.btn:hover { background: var(--miel-deep); color: var(--terracotta); }

.nav .btn,
.nav .btn:hover {
  padding: 0.45rem 0.85rem;
  color: var(--terracotta);
}

.hero-actions .btn,
.place .btn {
  background: var(--terracotta);
  color: var(--lin);
}

.hero-actions .btn:hover,
.place .btn:hover {
  background: var(--terracotta-deep);
  color: var(--lin);
}

.hero {
  position: relative;
  min-height: 88vh;
  margin: 1.25rem 2rem 3.5rem;
  overflow: hidden;
  display: grid;
  align-items: end;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(42, 33, 28, 0.72) 0%, rgba(42, 33, 28, 0.12) 55%);
}

.hero-card {
  position: relative;
  z-index: 1;
  max-width: 48rem;
  margin: 8vh 6vw 8vh;
  color: var(--hero-ink);
}

.hero h1.hero-brand,
.hero-brand {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(5.5rem, 16vw, 10rem);
  line-height: 0.85;
  letter-spacing: 0.04em;
  color: var(--miel);
  margin: 0 0 0.45rem;
  text-shadow: 0 2px 18px rgba(42, 33, 28, 0.45);
}

.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  line-height: 1.3;
  color: var(--miel);
  margin: 0 0 1.4rem;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 12px rgba(42, 33, 28, 0.4);
}

.eyebrow {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--lin);
  margin: 0 0 0.6rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: var(--hero-ink);
}

.hero h1.hero-brand {
  font-size: clamp(5.5rem, 16vw, 10rem);
  line-height: 0.85;
  letter-spacing: 0.04em;
  color: var(--miel);
  margin: 0 0 0.45rem;
  text-shadow: 0 2px 18px rgba(42, 33, 28, 0.45);
}

.hero p { font-size: 1.25rem; margin: 0 0 1.4rem; color: var(--miel); }

.hero p.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  line-height: 1.3;
  color: var(--miel);
  margin: 0 0 1.4rem;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 12px rgba(42, 33, 28, 0.4);
}

.hero-actions { display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; }

.link-light { color: var(--lin); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem 4rem; }

.whisper {
  max-width: 38rem;
  margin: 0 auto 4rem;
  text-align: center;
}

.whisper p {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.25;
  color: var(--encre);
  margin: 0;
}

.places, .split { display: grid; gap: 1.5rem; }

.place, .panel { background: transparent; border: 0; }

.place img, .figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.place div, .panel, .prose { padding: 1.3rem 1.4rem 1.5rem; }

h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--terracotta-deep);
  line-height: 1.15;
}

h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 1rem; }

.place h2 { font-size: 2.2rem; }

.soins {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.soin {
  border: 0;
  background: transparent;
}

.soin a {
  display: block;
  text-decoration: none;
  color: var(--encre);
}

.soin img {
  width: 100%;
  height: 11rem;
  object-fit: cover;
}

.soin span {
  display: block;
  padding: 0.85rem 1rem 0;
  font-family: var(--font-display);
  font-size: 1.85rem;
  line-height: 1.1;
}

.soin p {
  margin: 0;
  padding: 0.35rem 1rem 1rem;
  font-size: 1rem;
}

.soin a:hover span { color: var(--terracotta); }

.complement {
  margin: 3rem 0;
  padding: 2rem 1.5rem;
  background: var(--olive-deep);
  color: var(--lin);
  border: 1px solid var(--or);
}

.complement h2, .complement p { color: var(--lin); }

.complement a { color: var(--miel); }

.page-hero { margin: 0 1rem 2rem; position: relative; min-height: 52vh; display: grid; align-items: end; overflow: hidden; }

.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.page-hero img[src*="drainage"],
.soin img[src*="drainage"] {
  object-position: center 85%;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(42, 33, 28, 0.7), rgba(42, 33, 28, 0.1));
}

.page-hero div { position: relative; z-index: 1; padding: 12vh 6vw 3rem; max-width: 46rem; }

.crumbs { font-size: 0.95rem; margin: 0 0 0.7rem; }

.crumbs a { color: var(--lin); }

.prose { max-width: 48rem; padding: 0; }

.prose p, .prose li { font-size: 1.12rem; }

.prose p.esprit,
.esprit {
  font-family: var(--font-display) !important;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem) !important;
  font-weight: 500;
  font-style: normal;
  color: var(--olive-esprit) !important;
  margin: 1.5rem 0 0.9rem;
  line-height: 1.2;
}

.prose p.esprit:first-of-type,
.esprit:first-of-type {
  margin-top: 0.5rem;
}

.encadre {
  margin: 2rem 0 2.2rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--olive-esprit);
  background: var(--olive-esprit);
}

.encadre p {
  margin: 0;
  font-size: 1.12rem;
  color: var(--lin);
  line-height: 1.65;
}

.prose h2 .title-one-line {
  white-space: nowrap;
}

@media (max-width: 760px) {
  .prose h2 .title-one-line {
    white-space: normal;
  }
}

.steps { padding-left: 1.1rem; }

.steps li { margin: 0.4rem 0; }

details { border-top: 1px solid rgba(224, 177, 90, 0.55); padding: 0.8rem 0; }

details:last-of-type { border-bottom: 1px solid rgba(166, 132, 72, 0.4); }

summary { cursor: pointer; color: var(--encre); font-weight: 600; }

.related { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }

.site-footer {
  border-top: 1px solid var(--or);
  padding: 2rem 1.25rem 3rem;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 0.4rem;
  color: var(--encre-douce);
}

.site-footer a { color: var(--terracotta-deep); }

@media (min-width: 800px) {
  .places, .split { grid-template-columns: 1fr 1fr; }
  .soins { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-btn { display: inline-block; }
  .nav {
    display: none;
    position: absolute;
    top: 4.2rem;
    right: 1rem;
    left: 1rem;
    flex-direction: column;
    align-items: flex-start;
    background: var(--paper);
    padding: 1rem;
    border: 0;
  }
  .nav a { color: var(--encre); }
  .nav-toggle:checked ~ .nav { display: flex; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero img, .page-hero img {
    animation: drift 32s var(--ease) infinite alternate;
  }
}

@keyframes drift {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}
