@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --ink: #143627;
  --green: #1d9758;
  --sage: #9dcbb6;
  --orange: #dd6f14;
  --paper: #fafbfa;
  --mist: #f2f6f3;
  --muted: #526d5f;
  --line: rgba(20, 54, 39, 0.12);
  --shell: min(1180px, calc(100% - 3rem));
  --radius: 0.5rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.65 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 100; background: #fff; padding: 0.75rem 1.25rem; border-radius: var(--radius); }

a { color: inherit; }

/* HEADER */
.site-header {
  min-height: 5.2rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(250, 251, 250, 0.96);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
}
.header-inner {
  width: var(--shell);
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand img {
  display: block;
  width: 7.5rem;
  height: 3.4rem;
  object-fit: contain;
}
.site-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
  font-size: 0.94rem;
  font-weight: 600;
}
.site-nav a {
  text-decoration: none;
  transition: color 0.2s ease;
}
.site-nav a:hover, .site-nav a.active {
  color: var(--green);
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.header-contact {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.header-contact a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s ease;
}
.header-contact a:hover { color: var(--green); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1.5px solid var(--ink);
  transition: background 0.25s ease, transform 0.2s ease, border-color 0.25s ease;
  cursor: pointer;
}
.button:hover {
  background: var(--green);
  border-color: var(--green);
  transform: translateY(-1px);
}
.button--accent {
  background: var(--orange);
  border-color: var(--orange);
  color: #ffffff !important;
  box-shadow: 0 2px 10px rgba(221, 111, 20, 0.22);
}
.button--accent:hover {
  background: #c55e0e;
  border-color: #c55e0e;
}
.header-booking {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.5rem;
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  background: transparent;
  color: var(--ink) !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  border: 1.5px solid var(--ink);
  transition: all 0.2s ease;
}
.header-booking:hover {
  background: var(--ink);
  color: #ffffff !important;
}
.button.secondary {
  background: transparent;
  color: var(--ink) !important;
  border-color: var(--ink);
  box-shadow: none;
}
.button.secondary:hover {
  background: var(--ink);
  color: #ffffff !important;
}

/* ANIMATED ARCHITECTURAL HAMBURGER BUTTON (MOBILE) */
.menu-toggle {
  display: none;
  border: 0;
  background: var(--paper);
  border: 1px solid rgba(20, 54, 39, 0.12);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(20, 54, 39, 0.06);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  color: transparent;
  font-size: 0;
}
.menu-toggle::before,
.menu-toggle::after {
  content: '';
  position: absolute;
  left: 12px;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), top 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
}
.menu-toggle::before {
  top: 17px;
}
.menu-toggle::after {
  top: 25px;
  width: 14px; /* Asymmetric architectural line length */
}
.menu-toggle:hover {
  background: #ffffff;
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(20, 54, 39, 0.12);
}
.menu-toggle[aria-expanded="true"] {
  background: var(--ink);
  border-color: var(--ink);
}
.menu-toggle[aria-expanded="true"]::before {
  top: 21px;
  transform: rotate(45deg);
  background: #ffffff;
  width: 20px;
}
.menu-toggle[aria-expanded="true"]::after {
  top: 21px;
  transform: rotate(-45deg);
  background: #ffffff;
  width: 20px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}

/* HERO SECTION — Contemporary Swiss Architectural Editorial */
.hero-editorial {
  min-height: min(92vh, 760px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--paper);
  padding: 3.5rem 0 clamp(4rem, 6vw, 5.5rem);
}
.hero-trajectory {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.hero-editorial-shell {
  width: min(1240px, calc(100% - 3.5rem));
  margin: auto;
  position: relative;
  z-index: 2;
}
.hero-editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 4.5rem;
  align-items: center;
  position: relative;
}

/* LEFT COLUMN: TYPOGRAPHY & WHITESPACE */
.hero-editorial-content {
  position: relative;
  z-index: 3;
}
.hero-editorial-meta {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--green);
  margin-bottom: 1.5rem;
}
.hero-editorial-h1 {
  font-size: clamp(3rem, 5.5vw, 4.6rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 0;
}
.hero-editorial-h1 span {
  display: block;
}
.hero-h1-sub {
  color: var(--ink);
  font-weight: 800;
}
.hero-editorial-divider {
  width: 4rem;
  height: 2px;
  background: var(--green);
  margin: 2rem 0 1.5rem;
}
.hero-editorial-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0 0 2.25rem;
  max-width: 31rem;
  line-height: 1.65;
}
.hero-editorial-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.hero-link-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}
.hero-link-secondary:hover {
  color: var(--green);
  transform: translateX(4px);
}

/* RIGHT COLUMN: DOMINANT PHOTOGRAPHY & PURE 26 TYPOGRAPHIC MARK */
.hero-editorial-visual {
  position: relative;
  width: 100%;
}
.hero-photo-frame {
  width: calc(100% + (100vw - 100%) / 2);
  margin-right: calc(-1 * (100vw - 100%) / 2);
  aspect-ratio: 4 / 3;
  max-height: 480px;
  position: relative;
  /* Architectural arch mask with asymmetric rounded corners */
  clip-path: inset(0 0 0 0 round 140px 2px 2px 28px);
  box-shadow: -10px 25px 50px rgba(20,54,39,0.08);
  transition: clip-path 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-photo-frame:hover {
  clip-path: inset(0 0 0 0 round 140px 2px 2px 2px);
}
.hero-photo-frame:hover img {
  transform: scale(1.03);
}

/* MINIMALIST CIRCULAR STAMP EMBLEM (SWISS EDITORIAL SEAL) */
.hero-sig-stamp {
  position: absolute;
  top: -2.5rem;
  left: -2.5rem;
  z-index: 5;
  width: 124px;
  height: 124px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.stamp-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: stampRotate 32s linear infinite;
}
@keyframes stampRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.stamp-text {
  font-family: 'Outfit', sans-serif;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  fill: var(--green);
  text-transform: uppercase;
}
.stamp-center {
  position: relative;
  z-index: 2;
  width: 68px;
  height: 68px;
  background: var(--paper);
  border: 1.5px solid var(--green);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 8px 24px rgba(20, 54, 39, 0.12);
}
.stamp-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-align: center;
  display: block;
}
.stamp-unit {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--orange, #dd6f14);
  line-height: 1;
  text-align: center;
  display: block;
  margin-top: 2px;
  padding-left: 0.22em; /* Comprense for letter-spacing offset to achieve optical centering */
}

.hero-caption-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.caption-num {
  color: var(--green);
}

/* SECTIONS & SHELL */
.section { padding: clamp(4rem, 7vw, 6rem) 0; }
.section--tight { padding: clamp(2.5rem, 4vw, 3.5rem) 0; }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: #ffffff; }
.section--ink h2, .section--ink h3 { color: #ffffff; }
.shell { width: var(--shell); margin: auto; }

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 42rem;
  margin: 0 0 2rem;
}

/* INTRO / ABOUT EDITORIAL */
.intro-text {
  position: relative;
  max-width: 48rem;
  padding-left: 1.75rem;
}
.intro-text::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 2px;
  background: var(--green);
}
.intro-text h2 {
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.intro-text p {
  font-size: 1.08rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
  line-height: 1.65;
}
.intro-text strong {
  color: var(--ink);
  font-weight: 600;
}

/* PHOTO EDITORIAL GALLERY */
.photo-editorial {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1.5rem;
}
.photo-editorial img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  border: 1px solid var(--line);
}
.photo-editorial-caption {
  grid-column: 1 / -1;
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 0.5rem;
}

/* SOINS EDITORIAL INDEX — Architectural Studio Layout */
.soins-index-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.5rem;
}
.index-eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--green);
  margin-bottom: 0.5rem;
}
.soins-editorial-index {
  display: flex;
  flex-direction: column;
}
.soins-index-item {
  display: grid;
  grid-template-columns: 3.5rem 1.8fr 1fr 3rem;
  align-items: center;
  gap: 2rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: padding-left 0.3s var(--ease-editorial);
}
.soins-index-item:hover {
  padding-left: 0.85rem;
}
.index-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.02em;
}
.index-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.25rem;
}
.index-body p {
  font-size: 0.94rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}
.index-line-accent {
  height: 1px;
  background: var(--line);
  position: relative;
  width: 100%;
  overflow: hidden;
}
.index-line-accent::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s var(--ease-editorial);
}
.soins-index-item:hover .index-line-accent::after {
  transform: scaleX(1);
}
.index-arrow {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: var(--ink);
  transition: transform 0.3s var(--ease-editorial), color 0.3s ease;
}
.index-arrow svg {
  width: 1.35rem;
  height: 1.35rem;
  stroke: currentColor;
  stroke-width: 2px;
  fill: none;
}
.soins-index-item:hover .index-arrow {
  transform: translateX(6px);
  color: var(--green);
}

/* TIMELINE KINEMATIC PROCESS */
.timeline-kinematic {
  position: relative;
  margin-top: 3.5rem;
}
.timeline-line-svg {
  position: absolute;
  top: 14px;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 1;
}
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  position: relative;
  z-index: 2;
}
.timeline-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.step-num {
  font-family: 'Outfit', sans-serif;
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--green);
  letter-spacing: 0.12em;
  line-height: 1;
  background: var(--paper);
  padding: 0.15rem 0.5rem;
  margin-left: -0.5rem;
}
.step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(20, 54, 39, 0.1);
  position: relative;
  z-index: 3;
}
.step-dot-inner {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}
.timeline-step h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.6rem;
}
.timeline-step p {
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* DOMICILE BANNER NOTE — Warm Editorial Callout */
.domicile-note {
  margin-top: 3.5rem;
  padding: 2.25rem 2.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  box-shadow: 0 4px 20px rgba(20, 54, 39, 0.03);
}
.domicile-note-content {
  max-width: 680px;
}
.domicile-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green);
  margin-bottom: 0.5rem;
}
.domicile-note h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.35rem 0;
}
.domicile-note p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}
.domicile-note .button {
  flex-shrink: 0;
  white-space: nowrap;
}

/* CTA BAND — Rich Premium Dark Green Contrast Conversion Banner */
.cta-band {
  background: linear-gradient(135deg, #143627 0%, #0c261b 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3.25rem 3.5rem;
  border-radius: calc(var(--radius) * 1.5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(20, 54, 39, 0.18);
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(221, 111, 20, 0.15) 0%, rgba(221, 111, 20, 0) 70%);
  pointer-events: none;
}
.cta-band-text {
  position: relative;
  z-index: 2;
  max-width: 600px;
}
.cta-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--sauge);
  margin-bottom: 0.65rem;
}
.cta-band h2 {
  font-size: 1.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}
.cta-band p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  line-height: 1.6;
}
.cta-band p strong {
  color: #ffffff;
}.cta-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.85rem;
  flex-shrink: 0;
}
.cta-home-visit {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}
.cta-home-visit:hover { color: #ffffff; }

/* Orange CTA Button Accent */
.button--orange {
  background: var(--orange, #dd6f14) !important;
  color: #ffffff !important;
  border: none !important;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.75rem;
  font-weight: 600;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 6px 20px rgba(221, 111, 20, 0.35);
  transition: all 0.25s ease;
}
.button--orange:hover {
  background: #c5600f !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(221, 111, 20, 0.45);
}

/* ─────────────────────────────────────────────────────
   PAGE HERO — Graphic Identity System (Internal Pages)
   Typography-driven, no photo dependency.
   ───────────────────────────────────────────────────── */
.page-hero {
  position: relative;
  background: #f5f3ef;
  overflow: hidden;
  border-bottom: none;
}

/* Kill old ::before radial/gradient overlay */
.page-hero::before { display: none; }

/* Hide legacy SVG pattern if still in markup */
.page-hero > svg.page-hero-pattern { display: none; }

/* ── Main 2-column grid ── */
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* ── LEFT: editorial text ── */
.page-hero-main {
  padding: 2.25rem 0 2rem;
  max-width: 560px;
}

/* Eyebrow with chapter number */
.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--green);
  margin-bottom: 1rem;
}

.page-hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 1.5rem;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

.page-hero-num {
  color: rgba(29, 151, 88, 0.4);
  font-weight: 400;
}

/* H1 — compact but strong */
.page-hero h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

/* Intro */
.page-hero-intro {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 42ch;
  margin-bottom: 1.25rem;
}

/* Metadata signature line */
.page-hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(20, 54, 39, 0.1);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}

.page-hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.page-hero-meta-item svg {
  color: var(--green);
  flex-shrink: 0;
}

/* ── RIGHT: Abstract Graphic Mark ── */
.page-hero-gfx {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

/* Large ghosted chapter number */
.page-hero-gfx-num {
  font-size: clamp(7rem, 12vw, 10rem);
  font-weight: 800;
  color: rgba(20, 54, 39, 0.035);
  line-height: 1;
  letter-spacing: -0.06em;
  user-select: none;
  position: relative;
  z-index: 1;
}

/* SVG kinetic curves layered over the number */
.page-hero-gfx-curves {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 220px;
  height: 220px;
  z-index: 2;
  pointer-events: none;
}

/* ── Bottom movement line ── */
.page-hero-movement {
  display: block;
  width: 100%;
  height: 8px;
  position: relative;
  z-index: 2;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .page-hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .page-hero-gfx {
    display: none;
  }
  .page-hero-main {
    padding: 1.75rem 0 1.5rem;
  }
}

/* ─────────────────────────────────────────────
   EDITORIAL HERO — Le Cabinet
   Magazine split: left text / right raw photo
   ───────────────────────────────────────────── */
.page-hero--editorial {
  background: #f5f3ef;
  border-bottom: none;
  padding: 0;
  overflow: hidden;
}

/* Suppress the standard ::before overlay on editorial variant */
.page-hero--editorial::before { display: none; }

/* Main split wrapper: fills full-bleed, left text + right photo */
.phe-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 360px;
}

/* ── LEFT column ── */
.phe-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4vw, 3rem) clamp(2rem, 5vw, 4.5rem) 1.5rem clamp(2rem, 5vw, 4.5rem);
  max-width: 680px;
  margin: 0 auto 0 auto;
  width: 100%;
}

/* Chapter label */
.phe-chapter {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--green);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.phe-chapter-num {
  color: rgba(29, 151, 88, 0.45);
  font-weight: 400;
}

/* Editorial title — very large, tight tracking */
.phe-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

/* Short intro paragraph */
.phe-intro {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 40ch;
}

/* "26 / années d'expérience" stat block */
.phe-stat {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(20, 54, 39, 0.1);
}

.phe-stat-num {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.phe-stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green);
  line-height: 1.5;
}

/* ── RIGHT column — graphic identity mark ── */
.phe-right {
  position: relative;
  overflow: hidden;
}

/* Graphic variant: abstract mark instead of photo */
.phe-right--gfx {
  display: flex;
  align-items: center;
  justify-content: center;
}

.phe-gfx-num {
  font-size: clamp(7rem, 12vw, 10rem);
  font-weight: 800;
  color: rgba(20, 54, 39, 0.035);
  line-height: 1;
  letter-spacing: -0.06em;
  user-select: none;
}

.phe-gfx-curves {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 220px;
  height: 220px;
  pointer-events: none;
}

/* ── Footer zone: movement line + geo signature ── */
.phe-foot {
  position: relative;
  background: #f5f3ef;
}

.phe-line {
  display: block;
  width: 100%;
  height: 12px;
}

.phe-geo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 2rem 1.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(20, 54, 39, 0.45);
}

.phe-geo-sep {
  opacity: 0.35;
}

/* ── Responsive: stack at narrow widths ── */
@media (max-width: 860px) {
  .phe-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .phe-right {
    height: 280px;
    order: -1;
  }
  .phe-left {
    padding: 2.5rem 1.5rem 2rem;
  }
  .phe-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }
}

/* CABINET INTRO DUO GRID */
.cabinet-intro-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.cabinet-intro-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  color: var(--ink);
  margin-bottom: 1.25rem;
  line-height: 1.25;
}

.cabinet-intro-text p {
  font-size: 1.02rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.cabinet-engagements-card {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: 0 8px 30px rgba(20, 54, 39, 0.04);
}

.cabinet-engagements-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 1.5rem 0;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.engagement-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.engagement-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.engagement-icon {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.engagement-info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.engagement-info p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 900px) {
  .cabinet-intro-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* TEAM CARDS (LE CABINET) */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}
.team-card {
  padding: 1.85rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 4px 15px rgba(20, 54, 39, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.team-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(20, 54, 39, 0.07);
}
.team-card--titulaire {
  border-left: 3.5px solid var(--green);
}
.team-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.team-card .role {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green);
  display: block;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.team-card p {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}
/* CONTACT LOCATION BANNER CARD */
.contact-location-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  padding: 2.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  box-shadow: 0 4px 20px rgba(20, 54, 39, 0.03);
}
.location-card-content h2 {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.5rem;
}
.location-address {
  font-style: normal;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--green);
  margin-bottom: 0.35rem;
}
.location-hours {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
}
.location-card-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
@media (max-width: 960px) {
  .contact-location-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.75rem 1.5rem;
  }
  .location-card-actions {
    flex-wrap: wrap;
    width: 100%;
  }
  .location-card-actions .button {
    width: 100%;
  }
}

/* REASSURANCE BAR */
.reassurance-bar {
  background: var(--mist);
  color: var(--ink);
  padding: 1.15rem 0;
  font-size: 0.92rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.reassurance-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.reassurance-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
}
.reassurance-item svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--green);
  flex-shrink: 0;
}

/* CONTACT BLOCK / CTA BANNER */
.contact-block {
  background: var(--mist);
  border: 1px solid var(--line);
  padding: 2.5rem 3rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.contact-block h2 {
  font-size: 1.75rem;
  margin-bottom: 0.4rem;
}
.contact-block p {
  font-size: 0.98rem;
  color: var(--muted);
  margin: 0;
}

/* SITE FOOTER — Background Image Emblem */
.site-footer {
  position: relative;
  padding: 5rem 0 3rem;
  background-color: var(--ink);
  color: #ffffff;
  overflow: hidden;
}
.site-footer::after {
  content: '';
  position: absolute;
  bottom: -4rem;
  right: -4rem;
  width: clamp(280px, 38vw, 520px);
  height: clamp(280px, 38vw, 520px);
  background-image: url('/assets/img/k-bollen-emblem.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.12;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
}
.footer-shell {
  width: var(--shell);
  margin: auto;
  position: relative;
  z-index: 2;
}
.footer-editorial-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.1fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}
.footer-col-brand .footer-logo {
  width: 8.5rem;
  margin-bottom: 1.1rem;
  filter: brightness(0) invert(1);
}
.footer-col-brand p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
  margin: 0 0 1.25rem;
  max-width: 22rem;
}
.footer-address-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--sauge);
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--sauge);
  margin-bottom: 1.25rem;
}
.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-nav-list a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer-nav-list a:hover {
  color: #ffffff;
  transform: translateX(3px);
}
.footer-direct-box {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-phone-cta {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff !important;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-phone-cta:hover {
  color: var(--sauge) !important;
}
.footer-hours-note {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}
.footer-email-link {
  font-size: 0.88rem;
  color: var(--sauge);
  text-decoration: none;
}

.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.6);
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-bottom a:hover {
  color: #ffffff;
  text-decoration: underline;
}
.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}
.footer-legal-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-legal-links a:hover {
  color: var(--sauge);
}

/* MOBILE STICKY BAR */
.mobile-sticky-bar { display: none; }

/* MOTION SYSTEM TOKENS (SWISS MEDICAL IDENTITY) */
:root {
  --ease-editorial: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 0.2s;
  --dur-base: 0.4s;
  --dur-slow: 0.7s;
}

/* REVEAL ANIMATION (Clean single-pass entry) */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--dur-slow) var(--ease-editorial), transform var(--dur-slow) var(--ease-editorial);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .hero-editorial {
    min-height: auto;
    padding: 2.5rem 0 3.5rem;
  }
  .hero-editorial-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-editorial-h1 {
    font-size: clamp(2.3rem, 7vw, 3.2rem);
  }
  .hero-sig-26 {
    position: relative;
    top: 0;
    left: 0;
    margin-bottom: 1.2rem;
    pointer-events: auto;
  }
  .hero-text::before { display: none; }
  .photo-editorial { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 1.5rem; }
  .timeline::before { display: none; }
  .cta-band, .domicile-note { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 768px) {
  .site-header { min-height: 4.5rem; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; }
  .header-tools { display: none; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 1.5rem 1.75rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    box-shadow: 0 16px 36px rgba(20, 54, 39, 0.12);
    animation: navSlideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }
  @keyframes navSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    padding: 0.85rem 1rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
    border-radius: var(--radius);
    transition: background 0.2s ease, color 0.2s ease;
  }
  .site-nav a.active,
  .site-nav a:hover {
    background: rgba(29, 151, 88, 0.08);
    color: var(--green);
  }
  .mobile-sticky-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 0.75rem 1rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
    z-index: 999;
    gap: 0.75rem;
  }
  .mobile-sticky-bar a {
    flex: 1;
    text-align: center;
    padding: 0.75rem 0.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 999px;
    text-decoration: none;
  }
  .mobile-btn-call {
    background: var(--mist);
    color: var(--ink);
    border: 1px solid var(--line);
  }
  .mobile-btn-rdv {
    background: var(--orange);
    color: #ffffff;
  }
  body { padding-bottom: 4.5rem; }

  /* MOBILE FOOTER & REASSURANCE BAR CLEANUP */
  .site-footer {
    padding: 3rem 0 5.5rem; /* Additional bottom padding for sticky bar */
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    margin-bottom: 2.5rem;
  }
  .footer-col-brand {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1.75rem;
  }
  .footer-col h4 {
    margin-bottom: 0.85rem;
    font-size: 0.8rem;
  }
  .footer-nav-list {
    gap: 0.75rem;
  }
  .footer-nav-list a {
    display: inline-block;
    padding: 0.2rem 0;
    font-size: 0.95rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding-top: 1.5rem;
  }
  .footer-legal-links {
    flex-wrap: wrap;
    gap: 1rem 1.25rem;
  }
  .reassurance-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0 1rem;
  }
}

/* BREADCRUMBS */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.breadcrumbs a {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s ease;
}
.breadcrumbs a:hover { color: var(--green); }

/* SOINS PAGE GRID & CARDS */
.soins-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}
.soin-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 15px rgba(20,54,39,0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.soin-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(20,54,39,0.08);
  border-color: var(--green);
}
.soin-icon {
  width: 2.85rem;
  height: 2.85rem;
  border-radius: var(--radius);
  background: var(--mist);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.soin-icon svg {
  width: 1.4rem;
  height: 1.4rem;
}
.soin-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--ink);
}
.soin-card p {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
  line-height: 1.55;
}
.soin-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--green);
}
.soin-link svg {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  stroke-width: 2.2px;
  fill: none;
  transition: transform 0.2s ease;
}
.soin-card:hover .soin-link svg {
  transform: translateX(4px);
}

/* COMPACT SOINS GRID (HOMEPAGE) */
.soins-grid--compact {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.25rem;
}
.soin-card--compact {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 15px rgba(20,54,39,0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.soin-card--compact:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(20,54,39,0.07);
  border-color: var(--green);
}
.soin-card--compact .soin-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: var(--radius);
  background: var(--mist);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}
.soin-card--compact .soin-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}
.soin-card--compact h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--ink);
}
.soin-card--compact p {
  font-size: 0.86rem;
  color: var(--muted);
  margin: 0 0 1.1rem;
  line-height: 1.5;
}
.soin-card--compact .soin-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green);
}
.soin-card--compact .soin-link svg {
  width: 0.9rem;
  height: 0.9rem;
  stroke: currentColor;
  stroke-width: 2.2px;
  fill: none;
  transition: transform 0.2s ease;
}
.soin-card--compact:hover .soin-link svg {
  transform: translateX(4px);
}

/* CONTACT PAGE GRID & FORM */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 3.5rem;
  align-items: start;
}
.contact-info-panel {
  background: var(--mist);
  padding: 2.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  position: sticky;
  top: 6.5rem;
}
.contact-phone-link {
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}
.contact-phone-link:hover {
  color: var(--green);
}
.contact-info-panel h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}
.contact-info-block {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.contact-info-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
.contact-info-block h3 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--green);
  margin-bottom: 0.35rem;
}
.contact-info-block p, .contact-info-block address {
  font-style: normal;
  font-size: 0.94rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}
.contact-info-block a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.form input, .form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #ffffff;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form input:focus, .form textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(29, 151, 88, 0.15);
}
.form textarea {
  min-height: 130px;
  resize: vertical;
}
.notice {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}

/* CONTENT PAGES (MENTIONS, CONFIDENTIALITÉ) */
.content h2 {
  font-size: 1.5rem;
  margin: 2rem 0 0.75rem;
}
.content p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.content ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--muted);
}
.content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
.simple-page {
  max-width: 44rem;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

/* COOKIE / RGPD CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(780px, calc(100% - 2rem));
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  box-shadow: 0 12px 35px rgba(20, 54, 39, 0.15);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  z-index: 1000;
  animation: slideUpConsent 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes slideUpConsent {
  from { opacity: 0; transform: translate(-50%, 20px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
.cookie-banner p {
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.45;
  margin: 0;
  flex: 1;
}
.cookie-banner p a {
  color: var(--green);
  text-decoration: underline;
  font-weight: 600;
}
.cookie-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}
.cookie-btn {
  white-space: nowrap;
  border: 1px solid transparent;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.cookie-btn--refuse {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.cookie-btn--refuse:hover {
  background: var(--sand);
  border-color: var(--muted);
}
.cookie-btn--accept {
  background: var(--ink);
  color: #ffffff;
}
.cookie-btn--accept:hover {
  background: var(--green);
}
@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    bottom: 5rem;
    gap: 1rem;
    text-align: left;
    padding: 1.15rem;
  }
  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  .cookie-btn {
    text-align: center;
  }
}

/* FORM RGPD CHECKBOX & CONFIRMATION AREA */
.form-consent-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.form-consent-group input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: var(--green);
  cursor: pointer;
}
.form-consent-group label {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
  cursor: pointer;
}
.form-consent-group label a {
  color: var(--green);
  text-decoration: underline;
  font-weight: 600;
}

/* ─────────────────────────────────────────────────────
   MICRO-INTERACTIONS & MOTION DESIGN REFINEMENTS
   ───────────────────────────────────────────────────── */

/* Tactile press feedback on buttons */
.button:active,
.header-booking:active,
.mobile-sticky-bar a:active {
  transform: scale(0.97) !important;
  transition: transform 120ms var(--ease-editorial) !important;
}

/* Gated Hover states (Desktop fine pointer only) */
@media (hover: hover) and (pointer: fine) {
  .team-member,
  .soins-list-item,
  .approach-item {
    transition: transform 0.35s var(--ease-editorial), box-shadow 0.35s var(--ease-editorial) !important;
  }
  .soins-list-item:hover {
    transform: translateX(4px);
  }
}

/* Accessible Reduced Motion Fallback */
@media (prefers-reduced-motion: reduce) {
  .hero-editorial-divider,
  .hero-editorial-h1,
  .hero-editorial-subtitle,
  .hero-editorial-actions,
  .hero-editorial-visual,
  .stamp-svg,
  .reveal {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}



/* Primary internal Hero: purpose-led composition, no decorative chapter numbers. */
.page-hero--signature { background: var(--paper); border-bottom: 1px solid rgba(20, 54, 39, 0.1); }
.page-hero--signature .page-hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
.page-hero--signature .page-hero-main { padding: clamp(1.35rem, 2.2vw, 2rem) 0; max-width: 66rem; }
.page-hero--signature .page-hero-eyebrow { margin-bottom: 0.8rem; }
.page-hero--signature h1 { max-width: 18ch; font-size: clamp(2.3rem, 3.7vw, 3.65rem); line-height: 1; letter-spacing: -.045em; margin-bottom: 0.75rem; }
.page-hero--signature .page-hero-intro { font-size: clamp(0.98rem, 1.15vw, 1.08rem); line-height: 1.55; max-width: 56rem; margin-bottom: 1.1rem; }
.page-hero--signature .page-hero-meta { width: fit-content; max-width: 100%; gap: 0.9rem; padding-top: 0.8rem; }
.page-hero--signature .page-hero-gfx { align-self: stretch; min-height: 17rem; padding: 0; overflow: hidden; isolation: isolate; }
.page-hero--signature .page-hero-gfx::before { content: ''; position: absolute; width: min(30vw, 27rem); height: min(30vw, 27rem); top: 50%; left: 50%; transform: translate(-43%, -48%); border: 1px solid rgba(29, 151, 88, .23); border-radius: 52% 48% 42% 58% / 45% 54% 46% 55%; background: rgba(157, 203, 182, .2); z-index: -1; }
.page-hero--signature .page-hero-gfx::after { content: ''; position: absolute; width: 1.15rem; height: 1.15rem; top: 22%; right: 19%; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 .65rem rgba(221, 111, 20, .12); }
.page-hero--signature .page-hero-gfx-curves { width: min(31vw, 27rem); height: min(31vw, 27rem); top: 50%; left: 50%; transform: translate(-43%, -48%); }
.page-hero--soins .page-hero-gfx::before { border-radius: 62% 38% 61% 39% / 44% 60% 40% 56%; background: rgba(157, 203, 182, .15); }
.page-hero--contact .page-hero-gfx::before { border-radius: 48% 52% 62% 38% / 57% 42% 58% 43%; background: rgba(29, 151, 88, .08); }
.page-hero--contact .page-hero-gfx::after { top: auto; bottom: 22%; right: 23%; }
@media (max-width: 900px) { .page-hero--signature .page-hero-grid { grid-template-columns: 1fr; min-height: 0; } .page-hero--signature .page-hero-main { padding: 2rem 0 1.75rem; } .page-hero--signature .page-hero-gfx { display: none; } }
/* Signature Hero: one continuous trajectory, shared with the home page. */
.page-hero--signature .page-hero-trajectory { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.page-hero--signature .page-hero-grid { grid-template-columns: minmax(0, 1fr); z-index: 2; }
.page-hero--signature .page-hero-gfx { display: none; }
.page-hero--signature .page-hero-gfx::before,
.page-hero--signature .page-hero-gfx::after { content: none; }
@media (max-width: 900px) { .page-hero--signature .page-hero-trajectory { height: 100%; } }
.page-hero--signature .page-hero-trajectory-dot, .hero-editorial .page-hero-trajectory-dot { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); transform: translate(-50%, -50%); pointer-events: none; z-index: 1; left: .5%; top: 32%; }

.page-hero--signature .page-hero-trajectory-dot { display: block; z-index: 3; background: #dd6f14; }
.hero-editorial .page-hero-trajectory-dot { display: block; z-index: 1; background: #dd6f14; }
@media (max-width: 1050px) {
  .footer-editorial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 2rem; }
}
/* Shared responsive foundation: all public routes. */
@media (max-width: 900px) {
  .page-hero--signature .page-hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .page-hero--signature .page-hero-main { padding: 1.35rem 0 1.2rem; }
  .page-hero--signature h1 { max-width: 18ch; }
  .page-hero--signature .page-hero-meta { width: 100%; gap: 0.75rem 1rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-info-panel { position: static; padding: 1.5rem; }
}

@media (max-width: 768px) {
  :root { --shell: min(1180px, calc(100% - 2rem)); }
  .site-header { min-height: 4.25rem; }
  .brand img { width: 6.75rem; height: 3rem; }
  .site-nav { max-height: calc(100vh - 4.25rem); overflow-y: auto; }

  .page-hero--signature .page-hero-main { padding: 1.15rem 0 1.1rem; }
  .page-hero--signature h1 { font-size: clamp(2rem, 9.5vw, 2.65rem); line-height: 1.03; margin-bottom: 0.7rem; }
  .page-hero--signature .page-hero-eyebrow { font-size: 0.66rem; letter-spacing: 0.15em; margin-bottom: 0.7rem; }
  .page-hero--signature .page-hero-intro { font-size: 0.94rem; line-height: 1.5; margin-bottom: 0.9rem; }
  .page-hero-meta-item { font-size: 0.76rem; }

  .footer-editorial-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
  }
  .site-footer { padding: 3rem 0 5.5rem; }
  .site-footer::after { width: 260px; height: 260px; bottom: -2.5rem; right: -5rem; opacity: 0.08; }
  .footer-col-brand { border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 1.75rem; }
  .footer-col-brand .footer-logo { width: 7.5rem; }
  .footer-col h4 { margin-bottom: 0.85rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 1rem; padding-top: 1.5rem; }
  .footer-legal-links { flex-wrap: wrap; gap: 0.65rem 1.1rem; }

  .soins-grid, .team-grid, .soins-grid--compact { grid-template-columns: 1fr; }
  .soin-card, .team-card { padding: 1.5rem; }
  .domicile-note, .contact-location-card { gap: 1.5rem; padding: 1.5rem; }
  .domicile-note .button, .location-card-actions .button { width: 100%; white-space: normal; }
  .cta-band { padding: 2rem 1.5rem; }
  .cta-band .button { width: 100%; }
  .cta-actions { width: 100%; align-items: stretch; }
  .cta-home-visit { align-self: center; }
  .contact-location-card { align-items: stretch; }
  .location-card-actions { width: 100%; }

  .mobile-sticky-bar { padding: 0.65rem 0.75rem; gap: 0.5rem; }
  .mobile-sticky-bar a { min-width: 0; padding: 0.72rem 0.35rem; font-size: 0.78rem; white-space: nowrap; }
}

@media (max-width: 390px) {
  .page-hero-meta { flex-direction: column; align-items: flex-start; }
  .footer-legal-links { flex-direction: column; align-items: flex-start; gap: 0.45rem; }
}
/* Home: compact, readable mobile care index and patient journey. */
@media (max-width: 700px) {
  .soins-index-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.15rem;
  }

  .soins-index-item {
    grid-template-columns: 2.1rem minmax(0, 1fr) 2rem;
    column-gap: 0.8rem;
    row-gap: 0.7rem;
    align-items: start;
    padding: 1.15rem 0;
  }

  .soins-index-item:hover { padding-left: 0; }
  .index-num { padding-top: 0.15rem; font-size: 0.95rem; }
  .index-body { min-width: 0; }
  .index-body h3 { font-size: 1.08rem; line-height: 1.2; }
  .index-body p { font-size: 0.88rem; line-height: 1.5; }
  .index-line-accent { grid-column: 2 / -1; }
  .index-arrow { grid-column: 3; grid-row: 1; padding-top: 0.15rem; }

  .timeline-kinematic { margin-top: 2.25rem; }
  .timeline-kinematic::before {
    content: '';
    position: absolute;
    top: 0.85rem;
    bottom: 0.85rem;
    left: 13px;
    width: 2px;
    background: var(--green);
    z-index: 1;
  }
  .timeline-line-svg { display: none; }
  .timeline-grid { grid-template-columns: 1fr; gap: 2rem; }
  .timeline-step {
    display: grid;
    grid-template-columns: 2.1rem minmax(0, 1fr);
    column-gap: 0.9rem;
    position: relative;
  }
  .timeline-step-header { display: contents; }
  .step-num {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    width: max-content;
    margin: 0;
    padding: 0;
    background: transparent;
    font-size: 0.75rem;
  }
  .step-dot {
    grid-column: 1;
    grid-row: 1 / span 3;
    justify-self: center;
    align-self: start;
  }
  .timeline-step h3 {
    grid-column: 2;
    grid-row: 2;
    margin: 0.25rem 0 0.5rem;
    font-size: 1.12rem;
    line-height: 1.2;
  }
  .timeline-step p { grid-column: 2; grid-row: 3; font-size: 0.9rem; }
}
