/* =========================================================
   Villa Hegoa — Design system
   ========================================================= */

:root {
  /* Palette — sable, encre, terracotta éteinte, cyprès */
  --bone:        #F4EFE8;
  --bone-deep:   #E6DFD3;
  --bone-soft:   #EFE8DE;
  --ink:         #1E211E;
  --ink-soft:    #4A4D48;
  --ink-mute:    #8A8A82;
  --terracotta:  #B97A55;
  --terracotta-deep: #9A5F3E;
  --cypress:     #5A6A4E;
  --line:        rgba(30, 33, 30, 0.14);
  --line-soft:   rgba(30, 33, 30, 0.08);
  --shade:       rgba(30, 33, 30, 0.55);

  /* Fonts */
  --font-display: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Hanken Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --space-2xs: 0.25rem;
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  6rem;
  --space-2xl: 9rem;
  --space-3xl: 12rem;

  /* Containers */
  --container:        1320px;
  --container-narrow: 880px;
  --container-text:   620px;

  /* Type scale */
  --fs-eyebrow: 0.72rem;
  --fs-body:    1rem;
  --fs-lead:    1.15rem;
  --fs-h4:      1.4rem;
  --fs-h3:      2rem;
  --fs-h2:      clamp(2.2rem, 4vw + 0.5rem, 4rem);
  --fs-h1:      clamp(3rem, 7vw, 6.5rem);
  --fs-hero:    clamp(3.5rem, 9vw, 8rem);

  /* Easing */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bone);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-weight: 350;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
a { color: inherit; text-decoration: none; transition: color 0.3s var(--ease); }

/* Subtle grain overlay on full body — adds atmosphere */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =========================================================
   Typography
   ========================================================= */

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--ink-soft);
  display: inline-block;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: normal;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.15; }
h4 { font-size: var(--fs-h4); line-height: 1.25; letter-spacing: -0.01em; }

em, .em-it { font-style: italic; font-weight: 300; font-variation-settings: "opsz" 144, "SOFT" 100; color: var(--terracotta-deep); }

p { margin: 0 0 1.2em; }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-soft); font-weight: 350; }

/* =========================================================
   Layout primitives
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: clamp(1.25rem, 4vw, 3rem);
  padding-right: clamp(1.25rem, 4vw, 3rem);
}
.container.narrow { max-width: var(--container-narrow); }
.container.text   { max-width: var(--container-text); }

.section {
  padding: var(--space-2xl) 0;
}
.section.tight  { padding: var(--space-xl) 0; }
.section.loose  { padding: var(--space-3xl) 0; }

@media (max-width: 720px) {
  .section { padding: var(--space-xl) 0; }
  .section.loose { padding: var(--space-2xl) 0; }
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  transition: background-color 0.5s var(--ease), padding 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(244, 239, 232, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-bottom-color: var(--line-soft);
}

.site-header.is-light:not(.is-scrolled),
.site-header.is-light:not(.is-scrolled) a,
.site-header.is-light:not(.is-scrolled) .lang-toggle button {
  color: var(--bone);
}
.site-header.is-light:not(.is-scrolled) .wordmark .mark-dot { background: var(--bone); }
.site-header.is-light:not(.is-scrolled) .lang-toggle { border-color: rgba(244, 239, 232, 0.4); }

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 300;
  letter-spacing: -0.01em;
  color: inherit;
}
.wordmark .mark-italic {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.wordmark .mark-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--terracotta);
  transform: translateY(-0.55em);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  padding: 0.3rem 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.nav-links a:hover::after,
.nav-links a.is-active::after { transform: scaleX(1); }

/* Language toggle */
.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  background: transparent;
}
.lang-toggle button {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  color: inherit;
  opacity: 0.65;
  transition: opacity 0.3s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.lang-toggle button.is-active {
  background: var(--ink);
  color: var(--bone);
  opacity: 1;
}
.site-header.is-light:not(.is-scrolled) .lang-toggle button.is-active {
  background: var(--bone);
  color: var(--ink);
}

/* Mobile nav */
.nav-toggle {
  display: none;
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 16px; height: 1px;
  background: currentColor;
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute; left: 0;
  width: 16px; height: 1px;
  background: currentColor;
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; }
  .nav.is-open {
    display: flex;
    position: fixed;
    inset: 0;
    background: var(--bone);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    z-index: 40;
  }
  .nav.is-open .nav-links { flex-direction: column; gap: 1.5rem; }
  .nav.is-open .nav-links a { font-size: 1.1rem; }
  .site-header.is-light:not(.is-scrolled) .nav.is-open,
  .site-header.is-light:not(.is-scrolled) .nav.is-open a,
  .site-header.is-light:not(.is-scrolled) .nav.is-open .lang-toggle button {
    color: var(--ink);
  }
  .site-header.is-light:not(.is-scrolled) .nav.is-open .lang-toggle {
    border-color: var(--line);
  }
  .site-header.is-light:not(.is-scrolled) .nav.is-open .lang-toggle button.is-active {
    background: var(--ink);
    color: var(--bone);
  }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: var(--bone);
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.02);
  animation: heroIn 1.4s var(--ease) both;
}
@keyframes heroIn {
  from { transform: scale(1.06); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom,
      rgba(20, 22, 20, 0.45) 0%,
      rgba(20, 22, 20, 0.10) 22%,
      rgba(20, 22, 20, 0.25) 50%,
      rgba(20, 22, 20, 0.78) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 0 clamp(1.25rem, 4vw, 3rem) clamp(3rem, 7vw, 5rem);
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}
.hero .eyebrow {
  color: rgba(244, 239, 232, 0.85);
  margin-bottom: 2rem;
  animation: rise 1s 0.4s var(--ease) both;
}
.hero .eyebrow::before { background: rgba(244, 239, 232, 0.7); }

.hero h1 {
  color: var(--bone);
  font-size: var(--fs-hero);
  font-weight: 280;
  max-width: 14ch;
  text-shadow: 0 2px 32px rgba(10, 12, 10, 0.45);
  animation: rise 1.2s 0.55s var(--ease) both;
}
.hero h1 em { color: var(--bone); font-style: italic; opacity: 0.95; }

.hero-sub {
  margin-top: 2rem;
  font-size: 1.05rem;
  max-width: 36ch;
  color: rgba(244, 239, 232, 0.95);
  text-shadow: 0 2px 24px rgba(10, 12, 10, 0.55);
  animation: rise 1.2s 0.85s var(--ease) both;
}

.hero-cta-row {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  animation: rise 1.2s 1.1s var(--ease) both;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  right: clamp(1.25rem, 4vw, 3rem);
  z-index: 2;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244, 239, 232, 0.7);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: rise 1.2s 1.3s var(--ease) both;
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 50px;
  background: rgba(244, 239, 232, 0.4);
  animation: scrollNudge 2.2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollNudge {
  0%,100% { transform: scaleY(1); opacity: 0.4; }
  50%     { transform: scaleY(0.5); opacity: 1; }
}

@keyframes rise {
  from { transform: translateY(24px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* Sub-page hero — same generous height as the home hero */
.hero.sub {
  min-height: 100vh;
  min-height: 100svh;
}
.hero.sub .hero-inner {
  padding-bottom: clamp(1.25rem, 3vw, 2rem);
}

/* Floating eyebrow — bottom-right corner of the hero (Bien-être) */
.hero-eyebrow-pin {
  position: absolute;
  bottom: clamp(2.5rem, 6vw, 4.5rem);
  right: clamp(1.5rem, 4vw, 3rem);
  z-index: 2;
  color: rgba(244, 239, 232, 0.92);
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-shadow: 0 1px 14px rgba(10, 12, 10, 0.5);
  animation: rise 1s 1.3s var(--ease) both;
}
.hero-eyebrow-pin::before {
  content: '';
  width: 28px;
  height: 1px;
  background: rgba(244, 239, 232, 0.7);
  display: inline-block;
}

@media (max-width: 720px) {
  .hero-eyebrow-pin {
    position: static;
    margin: 1.5rem clamp(1.25rem, 4vw, 3rem) 0;
    align-self: flex-start;
  }
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 1.05rem 1.8rem;
  border-radius: 999px;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease), border-color 0.4s var(--ease);
  border: 1px solid currentColor;
}
.btn .arrow { transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--bone);
  color: var(--ink);
  border-color: var(--bone);
}
.btn-primary:hover { background: var(--terracotta); border-color: var(--terracotta); color: var(--bone); }

.btn-dark {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}
.btn-dark:hover { background: var(--terracotta); border-color: var(--terracotta); }

.btn-ghost {
  background: transparent;
  color: inherit;
}
.btn-ghost:hover { background: rgba(30, 33, 30, 0.06); }

.link-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid currentColor;
}
.link-inline:hover { color: var(--terracotta-deep); }

/* =========================================================
   Invitation block
   ========================================================= */
.invitation {
  text-align: center;
  padding: var(--space-2xl) 0;
  position: relative;
}
.invitation .eyebrow { margin-bottom: 2.5rem; }
.invitation .lead {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 2.1rem);
  line-height: 1.45;
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -0.01em;
  max-width: 30ch;
  margin: 0 auto;
}

/* Marginalia — étymologie discrète de Hegoa */
.wind-note {
  position: absolute;
  top: 50%;
  left: clamp(1.5rem, 5vw, 5rem);
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  text-align: left;
  max-width: 9rem;
  color: var(--ink-mute);
  pointer-events: none;
}
.wind-note-word {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1;
  color: var(--ink-soft);
  letter-spacing: 0;
}
.wind-note-rule {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}
.wind-note-def {
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.7;
}
@media (max-width: 1100px) {
  .wind-note {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    align-items: center;
    text-align: center;
    max-width: none;
    margin: 0 auto 2.5rem;
    gap: 0.6rem;
  }
  .wind-note-def { font-size: 0.62rem; }
}

/* =========================================================
   Split (image + text)
   ========================================================= */
.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.split.reverse { grid-template-columns: 1fr 1.1fr; }
.split.reverse .split-text { order: 2; }
.split.reverse .split-media { order: 1; }

.split-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.split-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.5s var(--ease);
}
.split:hover .split-media img { transform: scale(1.03); }

.split-text { padding: 1rem 0; }
.split-text .eyebrow { margin-bottom: 1.5rem; }
.split-text h2 { margin-bottom: 1.5rem; }
.split-text p { color: var(--ink-soft); max-width: 46ch; }

@media (max-width: 880px) {
  .split, .split.reverse {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .split.reverse .split-text { order: 0; }
  .split.reverse .split-media { order: 0; }
  .split-media { aspect-ratio: 4 / 3; }
}

/* =========================================================
   Four worlds — bento
   ========================================================= */
.worlds-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
  align-items: end;
}
.worlds-head p { color: var(--ink-soft); max-width: 38ch; }
@media (max-width: 720px) {
  .worlds-head { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 3rem; }
}

.worlds {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.world {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.world-media {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  position: relative;
}
.world-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.world:hover .world-media img { transform: scale(1.05); }

.world-num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--terracotta);
  font-size: 1rem;
}
.world h3 { font-size: 1.4rem; }
.world p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

@media (max-width: 960px) {
  .worlds { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}
@media (max-width: 520px) {
  .worlds { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* =========================================================
   Outdoor grid (asymmetric)
   ========================================================= */
.outdoor {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 1fr;
  gap: 1.25rem;
}
.outdoor-img { overflow: hidden; }
.outdoor-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.5s var(--ease); }
.outdoor-img:hover img { transform: scale(1.04); }

.outdoor .o1 { grid-column: span 7; aspect-ratio: 4 / 3; }
.outdoor .o2 { grid-column: span 5; aspect-ratio: 4 / 3; }
.outdoor .o3 { grid-column: span 5; aspect-ratio: 4 / 3; }
.outdoor .o4 { grid-column: span 7; aspect-ratio: 4 / 3; }

@media (max-width: 720px) {
  .outdoor { grid-template-columns: 1fr; }
  .outdoor .o1, .outdoor .o2, .outdoor .o3, .outdoor .o4 {
    grid-column: span 1; aspect-ratio: 4 / 3;
  }
}

/* =========================================================
   Numbers strip
   ========================================================= */
.numbers {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 3rem 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  text-align: center;
}
.num-item {
  display: flex; flex-direction: column;
  gap: 0.4rem;
}
.num-figure {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 300;
  letter-spacing: -0.02em;
}
.num-figure em { color: var(--terracotta); font-style: italic; }
.num-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
@media (max-width: 720px) {
  .numbers { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
}

/* =========================================================
   Wellness teaser band
   ========================================================= */
.teaser {
  background: var(--bone-deep);
  position: relative;
  overflow: hidden;
}
.teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}
.teaser-media {
  position: relative;
  min-height: 520px;
}
.teaser-media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.teaser-body {
  padding: clamp(3rem, 6vw, 6rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}
.teaser-body h2 { max-width: 14ch; }
.teaser-body p { color: var(--ink-soft); max-width: 38ch; }
.teaser-body .link-inline { margin-top: 0.5rem; }
@media (max-width: 880px) {
  .teaser-grid { grid-template-columns: 1fr; }
  .teaser-media { min-height: 380px; }
}

/* =========================================================
   Practical info row
   ========================================================= */
.practical {
  text-align: center;
  padding: var(--space-xl) 0;
}
.practical h3 { margin-bottom: 3rem; }
.practical-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
  list-style: none;
  margin: 0; padding: 0;
}
.practical-list li {
  font-size: 0.85rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.practical-list li strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 0.25rem;
}
@media (max-width: 880px) {
  .practical-list { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   Final invitation
   ========================================================= */
.final {
  background: var(--ink);
  color: var(--bone);
  padding: var(--space-3xl) 0;
  text-align: center;
}
.final h2 {
  color: var(--bone);
  max-width: 18ch;
  margin: 0 auto 2rem;
}
.final h2 em { color: var(--terracotta); }
.final p {
  color: rgba(244, 239, 232, 0.7);
  max-width: 38ch;
  margin: 0 auto 2.5rem;
}
.final .btn-primary { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.final .btn-primary:hover { background: var(--terracotta); border-color: var(--terracotta); color: var(--bone); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--ink);
  color: rgba(244, 239, 232, 0.65);
  padding: 4rem 0 2.5rem;
  border-top: 1px solid rgba(244, 239, 232, 0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
  align-items: start;
}
.footer-grid h4 {
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.footer-grid p, .footer-grid li {
  font-size: 0.88rem;
  line-height: 1.6;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-grid a:hover { color: var(--bone); }
.footer-brand .wordmark { color: var(--bone); margin-bottom: 1rem; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(244, 239, 232, 0.08);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* =========================================================
   Bien-être — Indications
   ========================================================= */
.indications {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.indications li {
  list-style: none;
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 1.05rem;
  color: var(--ink-soft);
}
.indications li:nth-child(odd)  { padding-right: 2rem; border-right: 1px solid var(--line); padding-left: 0; }
.indications li:nth-child(even) { padding-left: 2rem; }
.indications .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--terracotta);
  flex-shrink: 0;
  width: 2rem;
}
@media (max-width: 720px) {
  .indications { grid-template-columns: 1fr; }
  .indications li:nth-child(odd) { padding-right: 0; border-right: 0; }
  .indications li:nth-child(even) { padding-left: 0; }
}

/* =========================================================
   Bien-être — Practitioner card
   ========================================================= */
.practitioner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.practitioner-media {
  aspect-ratio: 4 / 5;
  background: var(--bone-deep);
  overflow: hidden;
  position: relative;
}
.practitioner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1.5s var(--ease);
}
.practitioner-media:hover img { transform: scale(1.03); }
.practitioner-media .placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--ink-mute);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  text-align: center;
  padding: 2rem;
}
.practitioner-text h3 { margin-bottom: 0.5rem; }
.practitioner-text .creds {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--terracotta-deep);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}
.practitioner-text p { color: var(--ink-soft); max-width: 50ch; }
.practitioner-text .practice-link {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.4rem;
  color: var(--terracotta-deep);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.practitioner-text .practice-link:hover {
  color: var(--ink);
  border-bottom-color: var(--terracotta-deep);
}
.practitioner-text .practice-link .practice-link-arrow {
  transition: transform 0.3s var(--ease);
}
.practitioner-text .practice-link:hover .practice-link-arrow {
  transform: translateX(3px);
}
.practitioner-text .google-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.6rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.practitioner-text .google-rating:hover {
  color: var(--ink);
  border-bottom-color: var(--line);
}
.practitioner-text .google-rating .stars {
  color: #E8B43A;
  letter-spacing: 0.08em;
  font-size: 1rem;
  line-height: 1;
}
.practitioner-text .google-rating .rating-meta strong {
  color: var(--ink);
  font-weight: 500;
}
@media (max-width: 720px) {
  .practitioner { grid-template-columns: 1fr; }
}

/* =========================================================
   Bien-être — Steps
   ========================================================= */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 2rem;
  border-top: 1px solid var(--ink);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: -1rem;
  left: 0;
  background: var(--bone);
  padding-right: 0.5rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--terracotta);
}
.step h4 { margin-bottom: 0.75rem; }
.step p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }
@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; gap: 2rem; }
}

/* =========================================================
   Bien-être — Pricing
   ========================================================= */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.price-card {
  border: 1px solid var(--line);
  background: var(--bone-soft);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.price-card:hover { background: var(--bone-deep); transform: translateY(-3px); }
.price-card.feature {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}
.price-card.feature .price-name,
.price-card.feature .price-amount { color: var(--bone); }
.price-card.feature .price-duration { color: rgba(244, 239, 232, 0.6); }
.price-card.feature .price-detail   { color: rgba(244, 239, 232, 0.75); }

.price-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.15;
}
.price-duration {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.price-amount {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-top: auto;
}
.price-detail { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.5; }

.pricing-extras {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.extra-card {
  padding: 1.5rem 1.75rem;
  background: var(--bone-soft);
  border: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
}
.extra-card .extra-label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
}
.extra-card .extra-price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--terracotta-deep);
}

@media (max-width: 880px) {
  .pricing { grid-template-columns: 1fr; }
  .pricing-extras { grid-template-columns: 1fr; }
}

/* =========================================================
   Contact form
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
}
.contact-aside {
  position: relative;
}
.contact-aside-inner {
  position: sticky;
  top: 7rem;
  padding: 2.5rem;
  background: var(--bone-soft);
  border: 1px solid var(--line);
}
.contact-aside h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 0.75rem;
}
.contact-aside h4:not(:first-child) { margin-top: 2rem; }
.contact-aside p {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.4;
  color: var(--ink);
  margin: 0;
}

form.booking {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 540px) {
  .field-row { grid-template-columns: 1fr; }
}

.field label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
  border-radius: 0;
  -webkit-appearance: none;
  transition: border-color 0.3s var(--ease);
}
.field textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--font-body);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--terracotta);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-mute); opacity: 0.7; }

.field-row.three { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 720px) { .field-row.three { grid-template-columns: 1fr; } }

form.booking button[type="submit"] {
  align-self: flex-start;
  margin-top: 1rem;
}

.form-note {
  font-size: 0.8rem;
  color: var(--ink-mute);
  max-width: 50ch;
  line-height: 1.5;
}

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-aside-inner { position: static; }
}

/* =========================================================
   Page intro (Bien-être, Contact)
   ========================================================= */
.page-intro {
  padding: var(--space-xl) 0 var(--space-lg);
  border-bottom: 1px solid var(--line-soft);
}
.page-intro .eyebrow { margin-bottom: 2rem; }
.page-intro h1 { margin-bottom: 1.5rem; max-width: 16ch; }
.page-intro .lead { max-width: 50ch; }

/* =========================================================
   Section header (reusable)
   ========================================================= */
.section-head {
  margin-bottom: 4rem;
  max-width: 36ch;
}
.section-head .eyebrow { margin-bottom: 1.5rem; }
.section-head h2 { margin-bottom: 1.25rem; }
.section-head p { color: var(--ink-soft); }
@media (max-width: 720px) {
  .section-head { margin-bottom: 2.5rem; }
}

/* =========================================================
   i18n — show/hide elements per active lang
   ========================================================= */
html[lang="fr"] [data-only="en"] { display: none !important; }
html[lang="en"] [data-only="fr"] { display: none !important; }

/* =========================================================
   Scroll reveal
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Utility
   ========================================================= */
.center { text-align: center; }
.mt-md { margin-top: 2rem; }
.mt-lg { margin-top: 4rem; }

/* =========================================================
   GALLERY — Hero minimal (sans image de couverture)
   ========================================================= */
.hero-minimal {
  padding: clamp(var(--space-xl), 14vh, var(--space-2xl)) 0 var(--space-lg);
  text-align: center;
}

.hero-minimal .eyebrow {
  margin-bottom: 1.75rem;
}

.hero-minimal h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 auto;
  max-width: 18ch;
  color: var(--ink);
}

.hero-minimal h1 em {
  font-style: italic;
  color: var(--terracotta);
  font-weight: 300;
}

@media (max-width: 720px) {
  .hero-minimal { padding: var(--space-lg) 0 var(--space-md); }
}

/* =========================================================
   GALLERY — Mosaïque éditoriale
   ========================================================= */
.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
  background: var(--bone-deep);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
  display: block;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.035);
}

.gallery-item:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 2px;
}

/* Tailles dans la grille 12-col */
.gallery-item.g-wide   { grid-column: span 8; aspect-ratio: 16 / 10; }
.gallery-item.g-tall   { grid-column: span 4; aspect-ratio: 3 / 4;  }
.gallery-item.g-square { grid-column: span 4; aspect-ratio: 1 / 1;  }

/* Tablette : passage à une grille 6 col */
@media (max-width: 1080px) {
  .gallery-mosaic { grid-template-columns: repeat(6, 1fr); }
  .gallery-item.g-wide   { grid-column: span 6; aspect-ratio: 16 / 10; }
  .gallery-item.g-tall   { grid-column: span 3; aspect-ratio: 3 / 4; }
  .gallery-item.g-square { grid-column: span 3; aspect-ratio: 1 / 1; }
}

/* Mobile : 1 colonne plein largeur */
@media (max-width: 720px) {
  .gallery-mosaic { grid-template-columns: 1fr; gap: 10px; }
  .gallery-item.g-wide,
  .gallery-item.g-tall,
  .gallery-item.g-square { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
}

/* =========================================================
   GALLERY — Lightbox plein écran
   ========================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] { display: none; }

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 18, 0.95);
  cursor: zoom-out;
}

.lightbox-figure {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: opacity 0.2s var(--ease);
}

.lightbox-img.is-fading { opacity: 0; }

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  z-index: 2;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bone);
  opacity: 0.7;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  border-radius: 50%;
}

.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev  { top: 50%; left: 24px;  transform: translateY(-50%); }
.lightbox-next  { top: 50%; right: 24px; transform: translateY(-50%); }

.lightbox-close:hover,
.lightbox-close:focus-visible { opacity: 1; }

.lightbox-prev:hover,
.lightbox-prev:focus-visible { opacity: 1; transform: translate(-4px, -50%); }

.lightbox-next:hover,
.lightbox-next:focus-visible { opacity: 1; transform: translate(4px, -50%); }

.lightbox-close:focus-visible,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible {
  outline: 1px solid var(--bone);
  outline-offset: 4px;
}

.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  color: var(--bone);
  opacity: 0.8;
}

/* Empêche le scroll de la page derrière la lightbox */
body.lightbox-open { overflow: hidden; }

@media (max-width: 720px) {
  .lightbox-close { top: 14px; right: 14px; }
  .lightbox-prev  { left: 8px; }
  .lightbox-next  { right: 8px; }
  .lightbox-img   { max-width: 96vw; max-height: 78vh; }
  .lightbox-counter { bottom: 14px; }
}
