/* ==========================================================
   Cabinet d'ostéopathie — feuille de style
   Palette : beige, blanc cassé, vert sauge
   ========================================================== */
:root {
  --cream: #faf7f2;
  --beige: #f0e8da;
  --beige-deep: #e4d8c3;
  --sage: #8a9a7b;
  --sage-dark: #5c6e52;
  --sage-light: #dde3d3;
  --ink: #373d33;
  --ink-soft: #5f665a;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(70, 80, 60, .09);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--sage-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--ink); margin: 0 0 .6em; }
h1 { font-size: clamp(2.3rem, 6vw, 3.9rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 4.2vw, 2.7rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1.1em; }

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--sage-dark); color: #fff; padding: .6rem 1rem; z-index: 200; }
.skip-link:focus { left: 1rem; top: 1rem; }

.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 600; color: var(--sage-dark); margin-bottom: .9rem; display: block; }
.lead { font-size: 1.2rem; color: var(--ink-soft); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(250, 247, 242, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--beige-deep); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; }
.brand-role { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sage-dark); }

.nav-toggle { display: none; background: none; border: 1px solid var(--beige-deep); border-radius: 12px; padding: .6rem .7rem; cursor: pointer; color: var(--ink); }
.nav-toggle span { display: block; width: 22px; height: 2px; background: currentColor; margin: 5px 0; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main-nav ul { list-style: none; display: flex; gap: .3rem; margin: 0; padding: 0; align-items: center; }
.main-nav a { text-decoration: none; color: var(--ink); padding: .5rem .85rem; border-radius: 999px; font-size: .95rem; font-weight: 500; transition: background .2s; }
.main-nav a:hover { background: var(--beige); }
.main-nav a[aria-current="page"] { background: var(--sage-light); color: var(--sage-dark); }
.main-nav .nav-cta a { background: var(--sage-dark); color: #fff; margin-left: .4rem; }
.main-nav .nav-cta a:hover { background: var(--ink); }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .95rem 1.7rem; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 1rem; border: 2px solid transparent; cursor: pointer; transition: transform .2s, background .2s, color .2s, box-shadow .2s; font-family: inherit; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--sage-dark); color: #fff; box-shadow: 0 8px 20px rgba(92, 110, 82, .28); }
.btn-primary:hover { background: var(--ink); color: #fff; }
.btn-ghost { border-color: var(--sage-dark); color: var(--sage-dark); background: transparent; }
.btn-ghost:hover { background: var(--sage-dark); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.6rem; }

/* ---------- Sections ---------- */
section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.bg-beige { background: var(--beige); }
.bg-sage { background: var(--sage-light); }
.section-head { max-width: 640px; margin-bottom: 2.6rem; }
.section-head.center { margin-inline: auto; text-align: center; }

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 7vw, 5.5rem) 0; background: linear-gradient(160deg, var(--cream) 0%, var(--beige) 100%); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, var(--sage-light), transparent 70%); opacity: .8; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; position: relative; z-index: 1; }
.hero h1 em { font-style: italic; color: var(--sage-dark); font-weight: 500; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.8rem; padding: 0; list-style: none; }
.hero-badges li { background: rgba(255,255,255,.7); border: 1px solid var(--beige-deep); border-radius: 999px; padding: .35rem .95rem; font-size: .88rem; color: var(--ink-soft); }
.portrait { aspect-ratio: 4 / 5; border-radius: 220px 220px var(--radius) var(--radius); background: linear-gradient(180deg, var(--sage-light), var(--sage)); box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white); padding: 2rem; overflow: hidden; position: relative; }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portrait span { font-family: var(--serif); font-size: 1.3rem; opacity: .95; }
.page-hero { padding: clamp(2.8rem, 6vw, 4.5rem) 0 clamp(2.2rem, 5vw, 3.5rem); background: linear-gradient(160deg, var(--cream), var(--beige)); }
.page-hero p.lead { max-width: 680px; margin-bottom: 0; }
.breadcrumb { font-size: .85rem; color: var(--ink-soft); margin-bottom: 1.2rem; }
.breadcrumb a { color: var(--ink-soft); }

/* ---------- Cartes ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--white); border: 1px solid var(--beige-deep); border-radius: var(--radius); padding: 2rem 1.8rem; box-shadow: var(--shadow); transition: transform .25s; }
.card:hover { transform: translateY(-4px); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.icon { width: 52px; height: 52px; border-radius: 16px; background: var(--sage-light); color: var(--sage-dark); display: grid; place-items: center; margin-bottom: 1.1rem; }
.icon svg { width: 26px; height: 26px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.checklist li { position: relative; padding-left: 2rem; margin-bottom: .7rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .5em; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--sage-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%235c6e52' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.5 3.5L15 7'/%3E%3C/svg%3E") center/70% no-repeat; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 1.2rem; }
.steps li { counter-increment: step; display: flex; gap: 1.2rem; align-items: flex-start; }
.steps li::before { content: counter(step); flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--sage-dark); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.steps strong { display: block; font-family: var(--serif); font-size: 1.3rem; }

.quote { font-family: var(--serif); font-size: clamp(1.5rem, 3.4vw, 2.2rem); font-style: italic; line-height: 1.35; max-width: 820px; margin: 0 auto; text-align: center; color: var(--sage-dark); }

.note { background: var(--white); border-left: 4px solid var(--sage); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.2rem 1.5rem; font-size: .96rem; color: var(--ink-soft); }

/* ---------- Tarifs ---------- */
.price-card { text-align: center; position: relative; }
.price-card .price { font-family: var(--serif); font-size: 3.4rem; font-weight: 600; color: var(--sage-dark); line-height: 1; margin: .5rem 0; }
.price-card .price small { font-size: 1.4rem; }
.price-card .duration { color: var(--ink-soft); font-size: .92rem; margin-bottom: 1rem; }
.price-card.featured { border: 2px solid var(--sage); }
.tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--sage-dark); color: #fff; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; padding: .25rem .9rem; border-radius: 999px; }

/* ---------- FAQ ---------- */
details { background: var(--white); border: 1px solid var(--beige-deep); border-radius: 14px; padding: 1.1rem 1.4rem; margin-bottom: .8rem; }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--sage-dark); }
details[open] summary::after { content: "–"; }
details p { margin: .8rem 0 0; color: var(--ink-soft); }

/* ---------- Contact / formulaire ---------- */
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 1rem; margin-bottom: 1.3rem; align-items: flex-start; }
.info-list .icon { margin: 0; width: 46px; height: 46px; flex: none; }
.info-list strong { display: block; }
form { display: grid; gap: 1.1rem; }
label { font-weight: 600; font-size: .94rem; display: block; margin-bottom: .35rem; }
input, textarea, select { width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--beige-deep); border-radius: 12px; background: var(--white); font: inherit; color: var(--ink); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 4px var(--sage-light); }
textarea { min-height: 150px; resize: vertical; }
.form-small { font-size: .85rem; color: var(--ink-soft); }
.checkbox { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; font-weight: 400; }
.checkbox input { width: auto; margin-top: .3rem; }
.hp { position: absolute; left: -9999px; }

.map-box { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--beige-deep); box-shadow: var(--shadow); background: var(--beige); min-height: 380px; }
.map-box iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: .6rem 0; border-bottom: 1px dashed var(--beige-deep); }
.hours td:last-child { text-align: right; color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--sage-dark); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.88); max-width: 560px; margin-inline: auto; }
.cta-band .btn-primary { background: var(--cream); color: var(--sage-dark); box-shadow: none; }
.cta-band .btn-primary:hover { background: #fff; }
.cta-band .btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.cta-band .btn-ghost:hover { background: #fff; color: var(--sage-dark); }
.cta-band .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d9ddd3; padding: 3.5rem 0 1.5rem; font-size: .95rem; }
.site-footer a { color: #d9ddd3; }
.site-footer a:hover { color: #fff; }
.site-footer h3 { color: #fff; font-size: 1.25rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .4rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 2.5rem; padding-top: 1.3rem; font-size: .84rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; }

/* ---------- Barre d'appel mobile ---------- */
.mobile-bar { display: none; }

/* ---------- Animations discrètes ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 2.2rem; }
  .hero-grid .portrait { width: 100%; max-width: 340px; margin-inline: auto; order: -1; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--cream); border-bottom: 1px solid var(--beige-deep); padding: 1rem 1.25rem 1.4rem; display: none; box-shadow: 0 18px 30px rgba(0,0,0,.06); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: .2rem; }
  .main-nav a { display: block; padding: .8rem 1rem; }
  .main-nav .nav-cta a { margin: .6rem 0 0; text-align: center; }
}
@media (max-width: 620px) {
  body { font-size: 1rem; padding-bottom: 68px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .brand-name { font-size: 1.25rem; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; background: var(--cream); border-top: 1px solid var(--beige-deep); padding: .6rem .75rem; gap: .6rem; box-shadow: 0 -8px 20px rgba(0,0,0,.06); }
  .mobile-bar .btn { padding: .75rem 1rem; }
}
