/* ==========================================================================
   Pierre Venard — Ostéopathe Nancy · style.css
   Refonte fidèle au site actuel : thème clair et chaleureux (crème + encre),
   accent terracotta/orange, titres serif, mise en page centrée et aérée.
   Un seul thème (clair). Boutons cohérents (plus de bouton bleu par défaut).
   ========================================================================== */

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

:root {
  --bg: #faf6ef;          /* crème */
  --bg-2: #ece2d2;        /* bande sable (sections « bandes ») */
  --surface: #fffdf9;     /* cartes */
  --text: #2b2620;        /* encre */
  --muted: #7c7466;       /* texte secondaire */
  --line: #e4dccc;        /* filets */
  --accent: #d9743a;      /* terracotta / orange (boutons, liens CTA) */
  --accent-ink: #bd5c25;  /* orange foncé (survol) */
  --accent-soft: #f4e7db; /* orange très pâle (fonds) */

  --shadow-soft: 0 16px 40px -26px rgba(64, 45, 28, .35);
  --shadow-lift: 0 20px 44px -22px rgba(64, 45, 28, .40);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --dur: .7s;
  --maxw: 1080px;
  --radius: 10px;

  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(120% 60% at 50% -10%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 60%);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; }
h4 { font-family: var(--sans); font-weight: 600; margin: 0; font-size: 1rem; }
p { margin: 0 0 1rem; }
a { color: var(--accent-ink); }
img { max-width: 100%; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- Sections ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(3.5rem, 7vw, 6rem) 1.5rem; }
.band { background: var(--bg-2); box-shadow: 0 0 0 100vmax var(--bg-2); clip-path: inset(0 -100vmax); }
.section-head { max-width: 60ch; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.section-head .eyebrow {
  display: block; text-transform: uppercase; letter-spacing: .22em;
  font-size: .78rem; font-weight: 700; color: var(--accent); margin-bottom: .8rem;
}
.section-head h2 { margin: 0 0 .5rem; }
.section-sub { color: var(--muted); font-size: 1.05rem; max-width: 56ch; margin-inline: auto; }

/* petit trait décoratif sous les titres de section */
.rule { width: 48px; height: 2px; background: var(--accent); border: 0; margin: 1rem auto 0; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.6rem; border-radius: 999px; font-weight: 600;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  font-family: var(--sans); font-size: 1rem; line-height: 1;
  transition: transform .25s var(--ease-out), background-color .25s, border-color .25s, color .25s, box-shadow .25s;
  min-height: 48px;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: var(--accent-ink); transform: translateY(-2px); box-shadow: var(--shadow-lift); }
/* Bouton secondaire = contour orange (remplace les « boutons bleus cassés ») */
.btn-ghost { background: transparent; border-color: var(--accent); color: var(--accent-ink); }
.btn-ghost:hover { background: var(--accent-soft); border-color: var(--accent-ink); transform: translateY(-2px); }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
/* Boutons placés dans un bloc .prose : garder le rendu bouton (pas le style de lien) */
.prose a.btn { border-bottom: none; }
.prose a.btn:hover { border-bottom: none; }
.prose a.btn-primary, .prose a.btn-primary:hover { color: #fff; }
.prose a.btn-ghost { color: var(--accent-ink); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 1.5rem;
  padding: .7rem clamp(1rem, 4vw, 2rem);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-solid { border-bottom-color: var(--line); box-shadow: 0 6px 20px -18px rgba(64,45,28,.5); }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--text); margin-right: auto; }
.brand-mark { color: var(--accent); display: inline-flex; }
.brand-name { display: flex; flex-direction: column; font-family: var(--serif); font-weight: 500; line-height: 1.15; font-size: 1.05rem; }
.brand-name em { font-family: var(--sans); font-style: normal; font-size: .72rem; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }
.nav { display: flex; gap: 1.6rem; }
.nav a { text-decoration: none; color: var(--text); font-size: .95rem; position: relative; padding: .2rem 0; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out); }
.nav a:hover { color: var(--accent-ink); }
.nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: .8rem; }

/* ---------- Reveal au scroll (visible sans JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); }
.js .reveal.is-visible { opacity: 1; transform: none; transition: opacity var(--dur) ease, transform var(--dur) var(--ease-out); }

/* ==========================================================================
   HÉROS
   ========================================================================== */
.hero { text-align: center; padding: clamp(3.5rem, 9vw, 6.5rem) 1.5rem clamp(2rem, 4vw, 3rem); max-width: 940px; margin: 0 auto; }
.hero .eyebrow { display: block; text-transform: uppercase; letter-spacing: .3em; font-size: .82rem; font-weight: 700; color: var(--accent); margin-bottom: 1.1rem; }
.hero h1 { text-transform: uppercase; letter-spacing: .02em; font-size: clamp(2.2rem, 6vw, 4rem); margin: 0 0 1rem; }
.hero .lead { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2.2vw, 1.6rem); color: var(--muted); max-width: 40ch; margin: 0 auto; }

/* Barre d'infos-clés (adresse / horaires / téléphone + RDV) */
.infobar {
  max-width: var(--maxw); margin: 2.4rem auto 0; padding: 1.4rem 1.6rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  display: grid; grid-template-columns: repeat(3, 1fr) auto; align-items: center; gap: 1.2rem 1.6rem;
}
.infobar__item { display: flex; align-items: center; gap: .7rem; text-align: left; }
.infobar__item .ico { color: var(--accent); flex: none; display: inline-flex; }
.infobar__item .infobar__label { font-weight: 600; font-size: .98rem; margin: 0; }
.infobar__item a { color: var(--text); text-decoration: none; }
.infobar__item + .infobar__item { border-left: 1px solid var(--line); padding-left: 1.4rem; }
.infobar .btn { white-space: nowrap; }

/* ==========================================================================
   À PROPOS
   ========================================================================== */
.apropos { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.apropos__text p { max-width: 60ch; }
.apropos__text .btn { margin-top: .6rem; }
.portrait {
  position: relative; width: min(300px, 78vw); aspect-ratio: 4/5; border-radius: var(--radius);
  background: var(--accent-soft); border: 1px solid var(--line);
  display: grid; place-items: center; overflow: hidden; margin: 0 auto;
}
.portrait::after { content: ""; position: absolute; inset: 12px; border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); border-radius: 6px; pointer-events: none; z-index: 2; }
.portrait__mono { font-family: var(--serif); font-size: 3.4rem; color: var(--accent-ink); letter-spacing: .1em; }
.portrait__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.portrait-caption { text-align: center; font-size: .85rem; color: var(--muted); margin-top: 1rem; }
.portrait-caption strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.05rem; color: var(--text); }

/* ==========================================================================
   POUR QUI (tuiles centrées)
   ========================================================================== */
.audience { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.4rem; }
.audience li { width: 150px; text-align: center; }
.audience .tile-ico {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto .8rem;
  display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line);
  color: var(--accent); transition: transform .25s var(--ease-out), border-color .25s, box-shadow .25s;
}
.audience li:hover .tile-ico { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow-soft); }
.audience .tile-ico svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.audience h3 { font-family: var(--serif); font-weight: 500; font-size: 1.1rem; }

/* ==========================================================================
   SÉANCES & HONORAIRES
   ========================================================================== */
.honoraires { text-align: center; }
.honoraires .prose { max-width: 62ch; margin: 0 auto 1.6rem; color: var(--muted); }
.pricecard {
  max-width: 420px; margin: 0 auto; padding: 2rem; background: var(--surface);
  border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.pricecard .price { font-family: var(--serif); font-size: 3rem; color: var(--text); line-height: 1; margin: 0 0 .4rem; }
.pricecard p { margin: 0 0 1.2rem; color: var(--muted); font-size: .95rem; }
.honoraires .fineprint { max-width: 60ch; margin: 1.6rem auto 0; font-size: .9rem; color: var(--muted); }

/* ==========================================================================
   MES PRATIQUES
   ========================================================================== */
.pratiques { text-align: center; }
.pratiques .prose { max-width: 66ch; margin: 0 auto 1.6rem; }

/* ==========================================================================
   BLOG
   ========================================================================== */
.blog-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; max-width: 860px; margin: 0 auto 2rem; }
.post-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.7rem; text-align: left; transition: transform .25s var(--ease-out), box-shadow .25s, border-color .25s;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.post-card h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.post-card .date { font-size: .82rem; color: var(--accent); font-weight: 600; margin-bottom: .5rem; }
.post-card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ==========================================================================
   CONTACT (accueil)
   ========================================================================== */
.contact-home { text-align: center; }
.contact-home .phone { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--text); margin: .4rem 0 1.4rem; display: inline-block; text-decoration: none; }
.contact-home .phone:hover { color: var(--accent-ink); }

/* ==========================================================================
   PIED DE PAGE
   ========================================================================== */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 3rem 1.5rem 2rem; }
.footer__grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer__brand { font-family: var(--serif); font-size: 1.3rem; margin-bottom: .4rem; }
.site-footer h2 { text-transform: uppercase; letter-spacing: .1em; font-size: .82rem; color: var(--muted); margin-bottom: .8rem; font-weight: 600; }
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col li { margin-bottom: .4rem; }
.footer__col a { color: var(--text); text-decoration: none; font-size: .95rem; }
.footer__col a:hover { color: var(--accent-ink); }
.footer__made { max-width: var(--maxw); margin: 2rem auto 0; padding-top: 1.4rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; text-align: center; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 860px) {
  .nav { display: none; }
  .apropos { grid-template-columns: 1fr; }
  .apropos__media { order: -1; }
  .infobar { grid-template-columns: 1fr; text-align: center; }
  .infobar__item { justify-content: center; text-align: center; }
  .infobar__item + .infobar__item { border-left: none; border-top: 1px solid var(--line); padding-left: 0; padding-top: 1rem; }
  .blog-list { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 1.4rem; }
}
@media (max-width: 520px) {
  .header-actions .btn-primary { display: none; }
}

/* ==========================================================================
   ACCESSIBILITÉ — réduction du mouvement
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   HÉROS — variante bannière avec photo de fond (fond_osteopathe_nancy.webp)
   Repli en dégradé sombre si l'image est absente : le texte blanc reste lisible.
   ========================================================================== */
.hero--banner {
  position: relative; isolation: isolate; overflow: hidden;
  max-width: none; margin: 0; color: #fff;
  padding: clamp(5rem, 13vw, 9rem) 1.5rem;
  background: linear-gradient(155deg, #2f2820 0%, #7a4a2c 55%, #3a2a1e 100%);
}
.hero--banner .hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero--banner .hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero--banner::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(28,20,14,.55) 0%, rgba(28,20,14,.35) 42%, rgba(28,20,14,.68) 100%);
}
.hero--banner .hero__inner { max-width: 860px; margin: 0 auto; }
.hero--banner .eyebrow { color: #f2c8a6; }
.hero--banner h1 { color: #fff; text-shadow: 0 2px 22px rgba(0,0,0,.45); }
.hero--banner .lead { color: rgba(255,255,255,.92); text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.hero--banner .hero__cta { display: flex; justify-content: center; margin-top: 1.6rem; }
