/*
Theme Name: Ostéopathe Poitiers – Perrine Petitgenet
Theme URI: https://www.petitgenet-osteopathe.fr/
Author: Cabinet Perrine Petitgenet
Description: Thème sur mesure pour le cabinet d'ostéopathie de Perrine Petitgenet (Poitiers / Fontaine-le-Comte). Page unique, optimisée pour la requête « ostéopathe à Poitiers ».
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: Propriétaire
Text Domain: osteo86
*/

/* ---------- Tokens ---------- */
:root {
  --paper: #F2F0EB;
  --paper-2: #E9E5DC;
  --ink: #22303A;
  --ink-soft: #4C5A64;
  --ink-mute: #7C8A93;
  --rule: #D9D5CC;
  --rule-2: #CFC9BC;
  --rule-dark: #3A4A55;
  --accent: #4E7285;
  --label: #8C7F6E;
  --label-dark: #93A7B2;
  --serif: Spectral, Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --wrap-wide: 1400px;
  --pad: 28px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover, a:focus-visible { color: var(--ink); }
::selection { background: #D3DEE4; }
h1, h2, h3, p, dl, dd, ul { margin: 0; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px,1px,1px,1px); white-space: nowrap;
}

/* ---------- Utilitaires ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.wrap--wide { max-width: var(--wrap-wide); }
.label {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--label); margin-bottom: 20px;
}
.label--dark { color: var(--label-dark); }
.h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(32px, 4.2vw, 50px); line-height: 1.08; letter-spacing: -0.015em;
}
.lede { font-family: var(--serif); font-size: 22px; line-height: 1.55; }
.body-text { font-size: 16px; line-height: 1.75; color: var(--ink-soft); text-wrap: pretty; }
.btn {
  display: inline-block; padding: 16px 26px; font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--paper); color: var(--ink); border: 1px solid transparent;
}
.btn:hover, .btn:focus-visible { background: #FFF; color: var(--ink); }
.btn--ghost {
  background: transparent; color: #FFF; font-weight: 500;
  border: 1px solid rgba(255,255,255,0.45);
}
.btn--ghost:hover, .btn--ghost:focus-visible { border-color: #FFF; color: #FFF; background: transparent; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(242,240,235,0.94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.site-header__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 12px var(--pad);
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand img { height: 28px; width: auto; }
.brand__name { font-family: var(--serif); font-size: 19px; letter-spacing: 0.01em; }
.nav { display: flex; gap: 26px; margin-left: auto; flex-wrap: wrap; }
.nav a {
  font-size: 12px; letter-spacing: 0.09em; text-transform: uppercase; color: #5D6B74;
}
.nav a:hover, .nav a:focus-visible { color: var(--ink); }
.header-cta {
  border: 1px solid var(--ink); color: var(--ink); padding: 10px 20px;
  font-size: 12px; letter-spacing: 0.09em; text-transform: uppercase; font-weight: 500;
  white-space: nowrap;
}
.header-cta:hover, .header-cta:focus-visible { background: var(--ink); color: var(--paper); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 620px; display: flex; align-items: flex-end; background: var(--ink); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(34,48,58,0.45) 0%, rgba(34,48,58,0.2) 35%, rgba(34,48,58,0.9) 100%);
}
.hero__inner { position: relative; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 96px var(--pad) 64px; }
.hero h1 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(40px, 6.4vw, 76px); line-height: 1.02; letter-spacing: -0.02em;
  color: #FFF; max-width: 20em; margin-bottom: 18px; text-wrap: pretty;
}
.hero__tagline {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(22px, 2.8vw, 32px); line-height: 1.25; color: #D3DEE4;
  max-width: 24em; margin-bottom: 30px;
}
.hero__foot {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px; align-items: end;
  border-top: 1px solid rgba(255,255,255,0.28); padding-top: 28px;
}
.hero__intro { font-family: var(--serif); font-size: 19px; line-height: 1.6; color: #E4EAEE; max-width: 30em; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding-top: 96px; padding-bottom: 96px; }
.section--band {
  background: var(--paper-2);
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  padding-top: 88px; padding-bottom: 88px;
  position: relative; overflow: hidden;
}
.section--dark { background: var(--ink); color: #E4EAEE; padding-top: 96px; padding-bottom: 96px; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 56px; align-items: start; }
.split--wide { gap: 64px; }
.watermark {
  position: absolute; right: -40px; bottom: -30px; height: 340px; width: auto;
  opacity: 0.07; pointer-events: none;
}

/* ---------- Principes ---------- */
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.principle { border-left: 1px solid var(--rule-2); padding: 0 24px; display: flex; flex-direction: column; gap: 14px; }
.principle__num { font-size: 12px; letter-spacing: 0.14em; color: var(--accent); font-weight: 600; }
.principle h3 { font-family: var(--serif); font-weight: 400; font-size: 23px; line-height: 1.2; text-wrap: balance; }
.principle p { font-size: 14.5px; line-height: 1.7; color: var(--ink-soft); text-wrap: pretty; }

/* ---------- Publics ---------- */
.audiences { display: grid; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); gap: 20px; }
.audience { display: flex; flex-direction: column; gap: 14px; }
.audience__media { aspect-ratio: 3/4; background: var(--paper-2); overflow: hidden; }
.audience__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.25); }
.audience h3 {
  font-family: var(--serif); font-weight: 400; font-size: 19px; line-height: 1.2;
  padding-bottom: 10px; border-bottom: 1px solid var(--rule); text-wrap: balance;
}
.audience p { font-size: 13px; line-height: 1.6; color: var(--ink-soft); text-wrap: pretty; }
.audiences-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; align-items: end; margin-bottom: 52px; }

/* ---------- Infos pratiques ---------- */
.section--dark .h2 { color: #FFF; max-width: 22em; margin-bottom: 32px; }
.practical__lede { font-family: var(--serif); font-size: 19px; line-height: 1.65; color: #C6D3DA; max-width: 32em; margin-bottom: 40px; text-wrap: pretty; }
.facts { display: grid; border-top: 1px solid var(--rule-dark); margin-bottom: 40px; }
.fact { display: flex; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--rule-dark); align-items: baseline; }
.fact dt { flex: 0 0 110px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--label-dark); }
.fact dd { font-size: 16px; line-height: 1.5; color: #FFF; }
.fact dd a { color: #FFF; }
.map { border: 1px solid var(--rule-dark); }
.map iframe { width: 100%; height: 480px; border: 0; display: block; filter: grayscale(0.3); }
.map__static { display: block; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer; padding: 22px 0; display: flex; gap: 20px;
  align-items: baseline; justify-content: space-between;
  font-family: var(--serif); font-size: 20px; line-height: 1.3; color: var(--ink);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__sign {
  flex: 0 0 auto; font-family: var(--sans); font-size: 22px; font-weight: 300;
  color: var(--accent); transition: transform 0.2s ease;
}
.faq details[open] .faq__sign { transform: rotate(45deg); }
.faq p { padding: 0 60px 24px 0; font-size: 15px; line-height: 1.75; color: var(--ink-soft); max-width: 40em; text-wrap: pretty; }

/* ---------- Pied ---------- */
.site-footer { background: var(--paper); border-top: 1px solid var(--rule); }
.site-footer__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 48px var(--pad) 60px;
  display: flex; gap: 28px; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
}
.site-footer__name { font-family: var(--serif); font-size: 22px; margin-bottom: 8px; }
.site-footer__meta { font-size: 14px; line-height: 1.7; color: var(--ink-soft); }
.site-footer__domain { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--label); }

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  :root { --pad: 20px; }
  .hero { min-height: 520px; }
  .hero__inner { padding-top: 72px; }
  .nav { gap: 18px; }
  .principle { border-left: 0; border-top: 1px solid var(--rule-2); padding: 20px 0 0; }
  .principles { gap: 24px; }
  .section, .section--dark { padding-top: 64px; padding-bottom: 64px; }
  .section--band { padding-top: 64px; padding-bottom: 64px; }
  .split, .split--wide { gap: 32px; }
  .map iframe { height: 340px; }
}
