/* ============================================================
   Lara Doucet — Kinésithérapie
   Palette derived from client's prototype (warm cream / peach /
   terracotta-rose / deep warm brown). Fraunces + Hanken Grotesk.
   ============================================================ */

:root {
  --paper:      #F7EDDC;
  --paper-2:    #FCF6EC;
  --paper-3:    #F2E4D0;
  --peach:      #F5D6BA;
  --peach-soft: #FAE6D4;
  --rose:       #C98A6A;   /* interactive accent */
  --rose-deep:  #A96A4B;
  --plum:       #3A2530;
  --ink:        #3B2A1C;
  --ink-soft:   #7A6650;
  --line:       rgba(59, 42, 28, 0.14);
  --line-soft:  rgba(59, 42, 28, 0.08);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

::selection { background: var(--rose); color: var(--paper-2); }

/* ---------- typography helpers ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin: 0 0 1.1rem;
}

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-optical-sizing: auto;
  line-height: 1.02;
  letter-spacing: -0.01em;
  font-size: clamp(2.3rem, 5.2vw, 4rem);
  margin: 0 0 1.4rem;
  color: var(--ink);
}
.section-title em,
.hero-title em { font-style: italic; color: var(--rose-deep); }

.section-lead {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0;
}

/* texte en justifié : chaque ligne va jusqu'au bord droit */
.hero-sub,
.section-lead,
.apropos-copy p,
.spec-detail p,
.entry p,
.faq-a p {
  text-align: justify;
  -webkit-hyphens: auto;
  hyphens: auto;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 0.92em 1.7em;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
  white-space: nowrap;
}
.btn-rdv {
  background: var(--ink);
  color: var(--paper-2);
  box-shadow: 0 10px 24px -14px rgba(59,42,28,.7);
}
.btn-rdv:hover { background: var(--rose-deep); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--rose-deep); color: var(--rose-deep); transform: translateY(-2px); }
.btn-full { width: 100%; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.85rem var(--gutter);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.scrolled { border-color: var(--line-soft); background: color-mix(in srgb, var(--paper) 92%, transparent); }

.brand { display: flex; align-items: center; gap: 0.7rem; margin-right: auto; }
.brand-mark { color: var(--rose-deep); display: grid; place-items: center; }
.brand-txt { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 1.35rem; letter-spacing: 0.01em; }
.brand-name em { font-style: italic; }
.brand-role { font-size: 0.66rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-soft); margin-top: 4px; }

.nav-links { display: flex; gap: 1.9rem; }
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 2px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -3px;
  width: 0; height: 1.5px; background: var(--rose-deep);
  transition: width .28s ease;
}
.nav-links a:hover { color: var(--rose-deep); }
.nav-links a:hover::after { width: 100%; }

.nav-rdv { padding: 0.7em 1.35em; font-size: 0.9rem; }

.burger { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; position: relative; }
.burger span { position: absolute; left: 9px; right: 9px; height: 1.8px; background: var(--ink); transition: transform .3s ease, opacity .3s ease; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 23px; }
.burger.open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger.open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu[hidden] { display: none; }
.mobile-menu {
  position: fixed; inset: 66px 0 auto 0; z-index: 55;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 0.3rem;
  padding: 1rem var(--gutter) 1.8rem;
  box-shadow: 0 24px 40px -24px rgba(59,42,28,.4);
}
.mobile-menu a { padding: 0.8rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--line-soft); }
.mobile-menu .btn { margin-top: 0.9rem; border: 0; }

/* ============================================================
   le fil — signature continuous line
   ============================================================ */
.fil {
  position: absolute;
  top: 620px;
  left: calc(50% - 640px);
  width: 120px;
  height: 6600px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}
.fil path {
  fill: none;
  stroke: var(--rose);
  stroke-width: 1.4;
  stroke-linecap: round;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: clamp(440px, 56vh, 600px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url('assets/hero-bg.jpg') center 55% / cover no-repeat;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg,
    rgba(247, 237, 220, 0.97) 0%,
    rgba(247, 237, 220, 0.88) 28%,
    rgba(247, 237, 220, 0.58) 50%,
    rgba(247, 237, 220, 0.22) 72%,
    rgba(247, 237, 220, 0.06) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) var(--gutter);
}
.hero-copy { max-width: 40rem; }
.hero-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3rem, 8.2vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0 0 1.6rem;
}
.hero-title .amp { color: var(--rose-deep); font-style: italic; font-weight: 300; }
.hero-sub {
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 40ch;
  margin: 0 0 2rem;
}
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }

.hero-media { position: relative; justify-self: center; }
.arch {
  margin: 0;
  border-radius: 260px 260px var(--radius) var(--radius);
  overflow: hidden;
  background: var(--peach);
  box-shadow: 0 40px 80px -50px rgba(59,42,28,.6);
  aspect-ratio: 3 / 4;
  width: min(360px, 78vw);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }

.hero-badge {
  position: absolute; bottom: 18px; left: -26px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 108px; height: 108px;
  display: grid; place-content: center; text-align: center;
  box-shadow: 0 18px 40px -22px rgba(59,42,28,.5);
}
.hero-badge-num { font-family: var(--serif); font-size: 1.6rem; color: var(--rose-deep); line-height: 1; }
.hero-badge-lbl { font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); margin-top: 4px; }

/* practical strip */
.strip {
  position: relative; z-index: 2;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 1.2rem var(--gutter) 0.4rem;
  display: flex; flex-wrap: wrap; gap: 0.7rem 2.4rem;
  font-size: 0.98rem; letter-spacing: 0.01em; color: var(--ink-soft);
}
.strip-item { display: flex; align-items: center; gap: 0.6rem; font-weight: 500; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--rose); }

/* ============================================================
   generic section
   ============================================================ */
.section {
  position: relative; z-index: 2;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(2.4rem, 5vw, 4.2rem) var(--gutter);
}
.section-head { max-width: 640px; margin-bottom: clamp(1.8rem, 3.5vw, 2.8rem); }

/* short styled divider between sections */
.rule {
  border: 0;
  width: 100%;
  max-width: var(--wrap);
  height: 12px;
  margin: clamp(0.4rem, 1.5vw, 1.2rem) auto;
  position: relative;
  z-index: 2;
}
.rule::before {
  content: ""; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(200px, 46vw, 560px); height: 1px; background: var(--line);
}
.rule::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 6px; height: 6px; background: var(--rose);
}

/* ---------- pillars ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.pillar {
  padding: 2.4rem 2rem 2.4rem 0;
  border-right: 1px solid var(--line);
}
.pillar:last-child { border-right: 0; }
.pillar:not(:first-child) { padding-left: 2rem; }
.pillar-ico {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; color: var(--rose-deep);
  margin-bottom: 1.2rem;
}
.pillar-ico svg { width: 26px; height: 26px; }
.pillar h3 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; margin: 0 0 0.5rem; }
.pillar p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- cabinet : intro + photos qui défilent ---------- */
.cabinet-top {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.cabinet-intro { min-width: 0; }
.cabinet-intro .section-title { margin-bottom: 1.3rem; }
.cabinet-title { font-size: clamp(1.85rem, 3.4vw, 2.9rem); }
.cabinet-photos { min-width: 0; }
.cabinet-intro .section-lead { max-width: 42ch; }
.hstrip {
  overflow: hidden;
  border-radius: 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.htrack {
  display: flex;
  width: max-content;
  animation: hmarquee 40s linear infinite;
}
.hstrip:hover .htrack,
.hstrip:focus-within .htrack { animation-play-state: paused; }
.hshot {
  margin: 0 1rem 0 0;
  flex: 0 0 auto;
  height: clamp(300px, 40vw, 440px);
  border-radius: 14px;
  overflow: hidden;
  background: var(--peach);
  box-shadow: 0 22px 44px -34px rgba(59,42,28,.5);
}
.hshot img { height: 100%; width: auto; display: block; object-fit: cover; }
@keyframes hmarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- spécialités : cartes cliquables ---------- */
.spec-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem);
  align-items: start;
}
.spec-card {
  display: flex; flex-direction: column;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.spec-card:hover { border-color: var(--rose); box-shadow: 0 28px 50px -38px rgba(59,42,28,.55); transform: translateY(-3px); }
.spec-card-btn {
  flex: 1;
  width: 100%; text-align: left; cursor: pointer;
  background: none; border: 0; color: inherit; font-family: inherit;
  display: flex; flex-direction: column; gap: 0.5rem;
  padding: clamp(1.5rem, 2.5vw, 2.1rem);
}
.spec-card-ico { color: var(--rose-deep); width: 42px; height: 42px; margin-bottom: 0.3rem; }
.spec-card-ico svg { width: 42px; height: 42px; }
.spec-card h3 {
  font-family: var(--serif); font-weight: 400; line-height: 1.1;
  font-size: clamp(1.6rem, 2.4vw, 2.15rem); margin: 0;
}
.spec-teaser { margin: 0.7rem 0 0; color: var(--ink-soft); font-size: 1rem; }
.spec-more {
  display: inline-flex; align-items: center; gap: 0.55rem;
  margin-top: auto; padding-top: 0.4rem; font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--rose-deep);
}
.plus { position: relative; width: 13px; height: 13px; display: inline-block; }
.plus::before, .plus::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--rose-deep);
  transition: transform .3s ease;
}
.plus::before { width: 12px; height: 1.6px; transform: translate(-50%, -50%); }
.plus::after  { width: 1.6px; height: 12px; transform: translate(-50%, -50%); }
.spec-card-btn[aria-expanded="true"] .plus::after { transform: translate(-50%, -50%) scaleY(0); }
.spec-detail { padding: 0 clamp(1.5rem, 2.5vw, 2.1rem) clamp(1.5rem, 2.5vw, 2.1rem); }
.spec-detail p { margin: 0 0 0.7rem; color: var(--ink-soft); }
.spec-detail p:first-child { border-top: 1px solid var(--line); padding-top: 1rem; }
.spec-detail p:last-child { margin-bottom: 0; }

/* ---------- à propos ---------- */
.apropos-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.apropos-media { margin: 0; }
.arch-lg {
  aspect-ratio: 4 / 5;
  width: 100%;
  border-radius: 220px 220px var(--radius) var(--radius);
  transform: rotate(-1.5deg);
}
.apropos-copy p { color: var(--ink-soft); margin: 0 0 1.1rem; }
.apropos-copy .section-title { margin-bottom: 1.6rem; }

.creds { list-style: none; margin: 2rem 0; padding: 0; border-top: 1px solid var(--line); }
.creds li {
  display: grid; grid-template-columns: 68px 1fr; gap: 1rem;
  padding: 0.9rem 0; border-bottom: 1px solid var(--line);
  font-size: 0.95rem; color: var(--ink);
}
.creds li span { font-family: var(--serif); font-style: italic; color: var(--rose-deep); }
.signoff { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--ink); margin: 0 0 1.5rem !important; }

/* ---------- première séance ---------- */
.firstvisit {
  background: var(--paper-2);
  max-width: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fv-head { max-width: var(--wrap); margin: 0 auto 2.6rem; }
.fv-steps {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem);
}
.fv-step { position: relative; padding-top: 1rem; }
.fv-num {
  font-family: var(--serif); font-style: italic;
  font-size: 2.4rem; color: var(--rose); line-height: 1;
  display: block; margin-bottom: 0.8rem;
}
.fv-step h3 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; margin: 0 0 0.4rem; }
.fv-step p { margin: 0; color: var(--ink-soft); }

/* ---------- conseils : vignettes (masonry en colonnes) ---------- */
.journal {
  columns: 3;
  column-gap: clamp(1rem, 2.5vw, 1.6rem);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.entry {
  break-inside: avoid;
  margin-bottom: clamp(1rem, 2.5vw, 1.6rem);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  /* couche de composition permanente : évite la re-fragmentation
     des colonnes CSS au survol (bug Safari multicol + transform) */
  transform: translateY(0);
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.entry:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -30px rgba(59,42,28,.5); }
.entry-kicker { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rose-deep); margin: 0 0 1rem; }
.entry h3 { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; line-height: 1.15; margin: 0 0 0.7rem; }
.entry p { margin: 0 0 0.7rem; color: var(--ink-soft); font-size: 0.96rem; }
.entry p:last-child { margin-bottom: 0; }
.entry-list { margin: 0.6rem 0 0; padding-left: 1.1rem; color: var(--ink-soft); font-size: 0.94rem; }
.entry-list li { margin-bottom: 0.35rem; }

/* ---------- FAQ ---------- */
.faq-title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 1.6rem; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.35rem 0;
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
  font-weight: 500; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.chev { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.chev::before, .chev::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  background: var(--rose-deep); transition: transform .3s ease;
}
.chev::before { width: 14px; height: 1.6px; transform: translate(-50%, -50%); }
.chev::after  { width: 1.6px; height: 14px; transform: translate(-50%, -50%); }
.faq-item[open] .chev::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-a { overflow: hidden; }
.faq-a p { margin: 0; padding: 0 0 1.5rem; color: var(--ink-soft); max-width: 68ch; }

/* ---------- contact ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1fr minmax(0, 360px);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: stretch;
}
.contact-info { display: flex; flex-direction: column; justify-content: space-between; border-top: 1px solid var(--line); }
.ci {
  display: flex; flex-direction: column; gap: 0.35rem;
  padding: 1.5rem 0; border-bottom: 1px solid var(--line);
  transition: padding-left .3s ease;
}
.ci:hover { padding-left: 0.6rem; }
.ci-lbl { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); }
.ci-val { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); line-height: 1.25; }
.ci:hover .ci-val { color: var(--rose-deep); }

.contact-form { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.1rem, 1.9vw, 1.5rem); min-width: 0; display: flex; flex-direction: column; }
.field { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 0.65rem; min-width: 0; }
.field label { font-size: 0.66rem; }
.field-msg { flex: 1; }
.field-msg textarea { min-height: 74px; height: 100%; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.field input, .field textarea {
  font-family: var(--sans); font-size: 0.95rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 10px; padding: 0.58rem 0.75rem; resize: vertical;
  min-width: 0; width: 100%;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--rose-deep);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--rose) 25%, transparent);
}
.form-note { font-size: 0.78rem; color: var(--ink-soft); margin: 0.9rem 0 0; text-align: center; }
.form-status { margin: 0.9rem 0 0; font-size: 0.92rem; font-weight: 500; text-align: center; }
.form-status.ok { color: #5f7d54; }
.form-status.err { color: #a8452f; }

.map {
  margin-top: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -46px rgba(59,42,28,.5);
}
.map iframe {
  width: 100%; height: clamp(300px, 38vw, 440px); border: 0; display: block;
  filter: sepia(0.32) saturate(0.72) brightness(1.03) contrast(0.92) hue-rotate(-8deg);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { position: relative; z-index: 2; margin-top: clamp(3rem, 6vw, 5rem); }
.footer-cta {
  background: linear-gradient(160deg, var(--peach) 0%, var(--paper-3) 60%, var(--paper) 100%);
  text-align: center;
  padding: clamp(4rem, 9vw, 7rem) var(--gutter);
  border-top: 1px solid var(--line);
}
.footer-cta h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.02;
  margin: 0 0 2rem; color: var(--ink);
}
.footer-cta em { font-style: italic; color: var(--rose-deep); }

.footer-bar {
  max-width: var(--wrap); margin: 0 auto;
  padding: 2.2rem var(--gutter);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem; font-size: 0.85rem; color: var(--ink-soft);
}
.footer-brand { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }
.footer-brand em { font-style: italic; }
.footer-meta { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* ---------- floating action ---------- */
.fab {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 50;
  background: var(--ink); color: var(--paper-2);
  padding: 0.9em 1.3em; border-radius: 100px;
  font-weight: 600; font-size: 0.9rem;
  box-shadow: 0 16px 30px -14px rgba(59,42,28,.7);
  opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none;
  transition: opacity .35s ease, transform .35s ease, background .25s ease;
}
.fab.show { opacity: 1; transform: none; pointer-events: auto; }
.fab:hover { background: var(--rose-deep); }

/* ============================================================
   reveal animation
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   responsive
   ============================================================ */
@media (max-width: 900px) {
  .nav-links, .nav-rdv { display: none; }
  .burger { display: block; }
  .fil { display: none; }

  .hero { min-height: clamp(460px, 74vh, 620px); }
  .hero-bg { background-position: center 32%; }
  .hero-bg::after {
    background: linear-gradient(175deg,
      rgba(247, 237, 220, 0.74) 0%,
      rgba(247, 237, 220, 0.86) 55%,
      rgba(247, 237, 220, 0.95) 100%);
  }

  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: 0; border-bottom: 1px solid var(--line); padding: 1.8rem 0; }
  .pillar:last-child { border-bottom: 0; }
  .pillar:not(:first-child) { padding-left: 0; }

  .apropos-grid { grid-template-columns: 1fr; }
  .apropos-media { max-width: 380px; }
  .fv-steps { grid-template-columns: 1fr; gap: 1.8rem; }
  .journal { columns: 2; }
  .contact-grid { grid-template-columns: 1fr; }

  .cabinet-top { grid-template-columns: 1fr; gap: 2rem; }
  .cabinet-photos { order: -1; }
  .hshot { height: clamp(240px, 52vw, 340px); }
  .spec-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .journal { columns: 1; }
  .spec-cards { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-bar { flex-direction: column; align-items: flex-start; }
  .arch { width: min(320px, 82vw); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.1ms !important; }
  .hstrip { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .htrack { animation: none !important; transform: none !important; }
}
