/* ==========================================================================
   Nolwenn Pascal — Ostéopathe Toulouse
   Design system — "Arc de mobilité"
   ========================================================================== */

:root {
  --ink: #3D2B3D;
  --paper: #F5EEEA;
  --white: #FFFFFF;
  --accent: #C98A76;
  --accent-dim: #F0DCD2;
  --stone: #8B7A82;
  --line: #E6D9D2;
  --radius: 16px;

  --font-display: 'Domine', serif;
  --font-body: 'Mulish', sans-serif;
  --font-mono: 'Mulish', sans-serif;

  --alt-bg: #FFFFFF;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

/* --- Eyebrow / mono labels --- */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.eyebrow::before { display: none; }
.eyebrow.on-dark { color: #E3B6A0; }

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 247, 248, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.brand-mark { width: 30px; height: 30px; flex-shrink: 0; }
.brand-mark-sig { height: 38px; width: auto; flex-shrink: 0; }
.brand small {
  display: block;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--stone);
  text-transform: uppercase;
  margin-top: 2px;
}

nav.mainnav { display: flex; align-items: center; gap: 36px; }
nav.mainnav ul { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
nav.mainnav a {
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}
nav.mainnav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
nav.mainnav a:hover::after,
nav.mainnav a[aria-current="page"]::after { transform: scaleX(1); }
nav.mainnav a[aria-current="page"] { color: var(--accent); }

.has-sub { position: relative; }
.subnav {
  list-style: none;
  position: absolute;
  top: 100%; left: -16px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 8px;
  margin: 10px 0 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all .18s ease;
}
.has-sub:hover .subnav,
.has-sub:focus-within .subnav { opacity: 1; visibility: visible; transform: translateY(0); }
.subnav li a { display: block; padding: 9px 12px; font-size: 14.5px; }
.subnav li a:hover { background: var(--accent-dim); color: var(--accent); }
.subnav a::after { display: none; }

.btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  text-transform: none;
  letter-spacing: 0;
  padding: 14px 28px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: '';
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-panel {
  display: none;
  position: fixed;
  inset: 84px 0 0 0;
  background: var(--paper);
  z-index: 40;
  padding: 28px 24px;
  overflow-y: auto;
}
.mobile-panel.open { display: block; }
.mobile-panel ul { list-style: none; margin: 0 0 28px; padding: 0; }
.mobile-panel li { border-bottom: 1px solid var(--line); }
.mobile-panel a { display: block; padding: 16px 2px; font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.mobile-panel .sublabel { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--stone); padding-top: 18px; display: block; }
.mobile-panel .sub a { font-family: var(--font-body); font-size: 17px; font-weight: 500; padding-left: 14px; }

/* --- Hero (image de fond) --- */
.hero {
  position: relative;
  padding: 150px 0 100px;
  overflow: hidden;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  color: #fff;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(61,43,61,.55) 0%, rgba(37,25,37,.82) 75%, rgba(30,20,30,.92) 100%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero-content { max-width: 700px; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
  color: #fff;
}
.hero h1 em {
  font-style: normal;
  color: #E3B6A0;
}
.hero p.lead {
  font-size: 18px;
  color: #EAE1E6;
  max-width: 54ch;
  margin: 0 0 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero .btn-ghost { border-color: #fff; color: #fff; }
.hero .btn-ghost:hover { background: #fff; color: var(--ink); }
.hero .btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.hero .btn-primary:hover { background: #fff; color: var(--ink); border-color: #fff; }

.hero-meta {
  display: flex;
  gap: 32px;
  font-family: var(--font-body);
  font-size: 13px;
  color: #D9CCD3;
  border-top: 1px solid rgba(255,255,255,.25);
  padding-top: 18px;
}
.hero-meta strong { display: block; color: #fff; font-size: 15px; font-weight: 600; margin-top: 4px; }

/* --- Alternance des sections --- */
section.bg-white { background: var(--white); }
section.bg-paper { background: var(--paper); }
section.bg-dark { background: var(--ink); color: #fff; }

/* --- Qui suis-je (avec photo) --- */
.intro-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 60px -24px rgba(61,43,61,.35);
}
.intro-photo img { width: 100%; height: 520px; object-fit: cover; }

/* --- Avis Google --- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--line);
}
.review-card .stars { color: #E3A15C; font-size: 15px; letter-spacing: 2px; margin-bottom: 14px; }
.review-card p { font-size: 15px; color: var(--ink); margin: 0 0 16px; line-height: 1.55; }
.review-card .src {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--stone); font-weight: 600;
}
.review-card .src svg { flex-shrink: 0; }
.reviews-note {
  font-size: 13px; color: var(--stone); margin-top: 28px; text-align: center;
}

/* Signature arc motif */
.arc-motif {
  position: absolute;
  top: 50%; right: -60px;
  transform: translateY(-46%);
  width: 560px; height: 560px;
  opacity: 1;
  z-index: 1;
  pointer-events: none;
}
.arc-motif path { fill: none; stroke: var(--accent); stroke-width: 1.5; }
.arc-sweep {
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
  animation: sweep 1.6s cubic-bezier(.4,0,.2,1) 0.3s forwards;
}
@keyframes sweep { to { stroke-dashoffset: 0; } }

/* --- Section basics --- */
section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.015em;
  margin: 0 0 16px;
  line-height: 1.05;
}
.section-head p { color: var(--stone); font-size: 17px; margin: 0; }

.divider { border: none; border-top: 1px solid var(--line); margin: 0; }

/* --- Intro / qui suis-je teaser --- */
.intro-split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.intro-split .stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.stat-row .stat b { display: block; font-family: var(--font-display); font-size: 34px; font-weight: 700; color: var(--accent); }
.stat-row .stat span { font-size: 13px; color: var(--stone); }

/* --- Pour qui / cards --- */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; background: transparent; border: none; }
.pfor-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: all .18s ease;
  position: relative;
}
.pfor-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.pfor-card .num { font-family: var(--font-mono); font-size: 12px; color: var(--stone); }
.pfor-card h3 { font-family: var(--font-display); font-size: 21px; font-weight: 700; margin: 18px 0 12px; }
.pfor-card p { font-size: 14.5px; color: var(--stone); margin: 0 0 20px; min-height: 60px; }
.pfor-card .arrow { font-family: var(--font-mono); font-size: 13px; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.pfor-card .arrow svg { transition: transform .18s ease; }
.pfor-card:hover .arrow svg { transform: translateX(4px); }

/* --- Tarifs teaser --- */
.tarifs-band { background: var(--ink); color: var(--white); }
.tarifs-band .section-head p { color: #CBB9C5; }
.tarifs-band .section-head h2 { color: var(--white); }
.tarif-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; background: transparent; }
.tarif-item { background: #4A3549; padding: 32px 28px; border-radius: var(--radius); }
.tarif-item .eyebrow { color: #E3B6A0; font-size: 13px; }
.tarif-item .price { font-family: var(--font-display); font-size: 44px; font-weight: 700; margin: 6px 0 10px; }
.tarif-item .price span { font-size: 17px; color: #C9B6C4; font-weight: 400; }
.tarif-item p { color: #CBB9C5; font-size: 14px; margin: 0; }
.tarifs-band .tarif-note { margin-top: 32px; font-size: 14.5px; color: #CBB9C5; max-width: 62ch; }
.tarifs-band .tarif-note a { color: #E3B6A0; text-decoration: underline; }

/* --- FAQ --- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  gap: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { font-family: var(--font-mono); font-size: 20px; color: var(--accent); flex-shrink: 0; transition: transform .2s ease; }
.faq-item[open] summary .plus { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 0 28px; max-width: 68ch; color: var(--stone); font-size: 15.5px; }
.faq-item .faq-a a { color: var(--accent); text-decoration: underline; font-weight: 600; }

/* --- Access / footer --- */
.access-band { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.nap-list { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.nap-list li { display: flex; gap: 14px; font-size: 15.5px; }
.nap-list .k { font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--stone); width: 90px; flex-shrink: 0; padding-top: 3px; }
.map-frame { border: 1px solid var(--line); height: 100%; min-height: 320px; }
.map-frame iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

footer.site-footer { background: var(--ink); color: #A9ACB3; padding: 64px 0 32px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-grid h4 { color: var(--white); font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 18px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { color: #A9ACB3; }
.footer-grid a:hover { color: var(--white); }
.footer-brand { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--white); margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid #2A2E33; padding-top: 24px; display: flex; justify-content: space-between; font-size: 12.5px; color: #6B6E73; }

/* --- Page header (inner pages) --- */
.page-banner { width: 100%; overflow: hidden; }
.page-banner img { width: 100%; height: 460px; object-fit: cover; display: block; }
.page-intro { padding: 48px 0 72px; }
.page-intro .lead { font-size: 18px; color: var(--stone); max-width: 62ch; margin: 0 0 28px; }
.page-hero { padding: 64px 0 72px; border-bottom: 1px solid var(--line); }
.page-hero .eyebrow { margin-bottom: 22px; }
.page-hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(36px, 5vw, 58px); letter-spacing: -0.02em; margin: 0 0 20px; max-width: 16ch; }
.page-hero p.lead { font-size: 18px; color: var(--stone); max-width: 60ch; margin: 0; }

.breadcrumb { font-family: var(--font-mono); font-size: 12px; color: var(--stone); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 20px; }
.breadcrumb a { color: var(--stone); }
.breadcrumb a:hover { color: var(--accent); }

/* Steps (real sequence — anamnèse / tests / conseils) */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.step { background: var(--paper); padding: 40px 30px; }
.step .step-num { font-family: var(--font-display); font-size: 44px; font-weight: 700; color: var(--accent-dim); -webkit-text-stroke: 1.5px var(--accent); color: transparent; }
.step h3 { font-family: var(--font-display); font-size: 20px; margin: 16px 0 12px; }
.step p { color: var(--stone); font-size: 14.5px; margin: 0; }

/* Symptom list */
.symptom-list { columns: 2; column-gap: 40px; list-style: none; padding: 0; margin: 0; }
.symptom-list li { break-inside: avoid; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; display: flex; gap: 12px; }
.symptom-list li::before { content: '—'; color: var(--accent); flex-shrink: 0; }

@media (max-width: 980px) {
  nav.mainnav ul, nav.mainnav .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .hero-grid, .intro-split, .access-grid { grid-template-columns: 1fr; }
  .card-grid, .tarif-list, .steps { grid-template-columns: 1fr; }
  .symptom-list { columns: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .arc-motif { width: 420px; height: 420px; right: -140px; opacity: 0.7; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}
