/* ============================================================
   Site Céline Nardone Malavialle — Ostéopathe Frontignan
   Direction visuelle : SAUGE ZEN
   CSS natif moderne, aucun framework
   ============================================================ */

:root {
  /* Palette Sauge Zen */
  --bg:         #F7F4ED;
  --bg-alt:     #EFEBE0;
  --surface:    #FFFFFF;
  --ink:        #2C3530;
  --ink-soft:   #5A6660;
  --ink-muted:  #8A938E;
  --brand:      #7A8B6F;
  --brand-dark: #5C6E54;
  --accent:     #C2876A;
  --line:       #E2DDD0;

  /* Typographie */
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Layout */
  --max-w: 1180px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 999px;
}

/* Reset minimal */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

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

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

/* Skip link */
.skip-link {
  position: absolute;
  left: 1rem; top: 1rem;
  z-index: 100;
  background: var(--ink); color: var(--surface);
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem; font-weight: 500;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

/* Typographie */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 4.8vw, 4rem); line-height: 1.1; font-weight: 400; }
h1 em { font-style: italic; color: var(--brand); font-weight: 400; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.15; font-weight: 400; }
h3 { font-size: 1.25rem; line-height: 1.3; }
h4 { font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); }

p { margin: 0 0 1em; color: var(--ink-soft); text-wrap: pretty; }
p.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 52ch; }
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-dark);
  margin: 0 0 1.2rem;
  font-weight: 500;
}

/* Sections */
.section { padding: clamp(4rem, 9vw, 7rem) clamp(1.5rem, 5vw, 4rem); }
.section-alt { background: var(--bg-alt); }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.section-head { max-width: 60ch; margin-bottom: 3rem; }
.section-head.centered { margin: 0 auto 3.5rem; text-align: center; }
.section-head .section-lede { font-size: 1.05rem; max-width: 46ch; margin-inline: auto; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 2rem;
  padding: 1rem clamp(1.5rem, 5vw, 4rem);
  background: color-mix(in oklch, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--ink); min-width: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-text strong { font-family: var(--font-heading); font-weight: 500; font-size: 1.05rem; white-space: nowrap; }
.brand-text em { font-style: normal; font-size: 0.78rem; color: var(--ink-muted); letter-spacing: 0.05em; margin-top: 2px; }
.brand-logo { color: var(--brand-dark); flex-shrink: 0; }
.site-nav { display: flex; gap: 1.6rem; margin-left: auto; }
.site-nav a { font-size: 0.92rem; text-decoration: none; color: var(--ink-soft); padding: 0.3rem 0; border-bottom: 1px solid transparent; transition: color 0.2s ease, border-color 0.2s ease; }
.site-nav a:hover { color: var(--brand-dark); border-bottom-color: var(--brand); }
@media (max-width: 920px) { .site-nav { display: none; } }
@media (max-width: 480px) {
  .brand, .brand-text { min-width: auto; }
  .brand-text strong { white-space: normal; }
  .site-header .btn-sm { margin-left: auto; text-align: center; }
}

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 500;
  text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.88rem; }
.btn-primary { background: var(--brand); color: var(--surface); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-dark); }
.btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* Hero */
.hero { padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 5vw, 4rem) clamp(2rem, 5vw, 4rem); }
.hero-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (max-width: 860px) { .hero-inner { grid-template-columns: 1fr; } }
.hero-text h1 { margin-bottom: 1.75rem; }
.hero-text .lede { margin: 0 0 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-visual { position: relative; }
.hero-photo {
  aspect-ratio: 4/5;
  width: 100%; height: auto;
  object-fit: cover;
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 18px 40px -20px rgba(0,0,0,0.18);
}
.hero-logo-mark {
  position: absolute; bottom: -18px; left: -18px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 50%; width: 140px; height: 140px;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-dark);
  box-shadow: 0 12px 24px -12px rgba(0,0,0,0.15);
}

/* Quick info */
.quick-info { padding: 0 clamp(1.5rem, 5vw, 4rem) clamp(3rem, 6vw, 5rem); }
.quick-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
}
@media (max-width: 860px) { .quick-grid { grid-template-columns: repeat(2, 1fr); } }
.quick-card { background: var(--surface); padding: 1.5rem 1.25rem; }
.quick-label { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 0.5rem; }
.quick-value { font-family: var(--font-heading); font-size: 1.4rem; color: var(--ink); text-decoration: none; font-weight: 500; display: block; line-height: 1.2; }
a.quick-value:hover { color: var(--brand-dark); }
.quick-sub { font-size: 0.85rem; color: var(--ink-muted); margin-top: 0.3rem; }
.quick-sub a { color: var(--brand-dark); text-decoration: underline; }

/* Présentation */
.portrait { aspect-ratio: 3/4; width: 100%; height: auto; object-fit: cover; object-position: center top; border-radius: var(--radius-md); background: var(--bg-alt); }

/* Bullet list */
.bullet-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.bullet-list li { padding: 0.6rem 0 0.6rem 1.5rem; border-bottom: 1px solid var(--line); position: relative; color: var(--ink-soft); }
.bullet-list li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 6px; height: 6px; background: var(--brand); border-radius: 50%; }
.bullet-list li:last-child { border-bottom: none; }
.bullet-list strong { color: var(--ink); font-weight: 500; }

/* Publics */
.publics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 860px) { .publics-grid { grid-template-columns: 1fr; } }
.public-card { padding: 1.75rem 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); transition: border-color 0.2s ease, transform 0.2s ease; }
.public-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.public-num { font-family: var(--font-heading); font-style: italic; font-size: 1.1rem; color: var(--brand); margin-bottom: 1.2rem; }
.public-card h3 { margin-bottom: 0.5rem; }
.public-card p { margin: 0; font-size: 0.95rem; }

/* Séance */
.seance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
@media (max-width: 860px) { .seance-grid { grid-template-columns: 1fr; } }
.seance-step { padding-top: 2rem; border-top: 1px solid var(--line); position: relative; }
.seance-step::before { content: ""; position: absolute; top: -1px; left: 0; width: 40px; height: 1px; background: var(--brand); }
.seance-num { font-family: var(--font-heading); font-style: italic; font-size: 1rem; color: var(--brand); margin-bottom: 1rem; letter-spacing: 0.05em; }
.seance-step h3 { margin-bottom: 0.6rem; font-size: 1.4rem; }

/* Pratique */
.pratique-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem 2rem; }
@media (max-width: 860px) { .pratique-grid { grid-template-columns: 1fr; } }
.pratique-block { padding: 1.5rem 0; border-top: 1px solid var(--line); }
.pratique-block h3 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 1rem; font-weight: 500; }
.pratique-block p { margin-bottom: 0.5rem; color: var(--ink); }
.pratique-block .muted { color: var(--ink-muted); font-size: 0.9rem; }
.pratique-block a { color: var(--brand-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.pratique-cta { padding: 1.75rem; background: var(--brand); color: var(--surface); border-radius: var(--radius-md); border-top: none; }
.pratique-cta h3 { color: color-mix(in oklch, var(--surface) 70%, transparent); }
.pratique-cta p { color: color-mix(in oklch, var(--surface) 90%, transparent); }
.pratique-cta .btn { background: var(--surface); color: var(--brand-dark); margin-top: 0.5rem; }
.pratique-cta .btn:hover { background: var(--bg); }
.horaires { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.horaires th { text-align: left; font-weight: 500; color: var(--ink); padding: 0.4rem 0; }
.horaires td { color: var(--ink-soft); padding: 0.4rem 0; }
.horaires tr.horaire-today th,
.horaires tr.horaire-today td { color: var(--brand); font-weight: 600; }
.horaire-badge { display: inline-block; margin-left: 0.5rem; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; background: var(--brand); color: var(--surface); border-radius: 20px; padding: 0.1em 0.55em; vertical-align: middle; }

/* Carte */
.map-frame { aspect-ratio: 4/3; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line); background: var(--bg-alt); }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* Slider photos cabinet */
.cabinet-slider {
  display: grid;
  grid-auto-columns: minmax(280px, 62%);
  grid-auto-flow: column;
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  overflow-x: auto;
  padding-bottom: 0.75rem;
  scroll-snap-type: x mandatory;
}
.cabinet-slider figure {
  margin: 0; overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  scroll-snap-align: start;
}
.cabinet-slider img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; height: auto; }
@media (max-width: 640px) { .cabinet-slider { grid-auto-columns: 90%; } }

/* Footer */
.site-footer { background: var(--ink); color: color-mix(in oklch, var(--surface) 80%, transparent); padding: 4rem clamp(1.5rem, 5vw, 4rem) 2rem; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; }
@media (max-width: 860px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-brand { display: flex; gap: 1rem; align-items: center; color: var(--bg); }
.footer-brand strong { display: block; color: var(--surface); font-family: var(--font-heading); font-size: 1.1rem; }
.footer-brand span { font-size: 0.85rem; color: color-mix(in oklch, var(--surface) 60%, transparent); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
@media (max-width: 600px) { .footer-cols { grid-template-columns: 1fr; } }
.footer-cols h4 { color: var(--surface); margin-bottom: 0.75rem; font-size: 0.78rem; letter-spacing: 0.16em; }
.footer-cols p { font-size: 0.9rem; margin-bottom: 0.4rem; color: color-mix(in oklch, var(--surface) 75%, transparent); }
.footer-cols a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; }
.footer-cols a:hover { border-bottom-color: currentColor; }
.footer-bottom {
  max-width: var(--max-w); margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in oklch, var(--surface) 15%, transparent);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: 0.82rem; color: color-mix(in oklch, var(--surface) 55%, transparent);
}

/* Page légale */
.page-legale { max-width: 760px; margin: 0 auto; padding: clamp(3rem, 7vw, 5rem) clamp(1.5rem, 5vw, 4rem); }
.page-legale h1 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: 2rem; }
.page-legale h2 { font-size: 1.35rem; margin: 2.5rem 0 0.75rem; }
.page-legale p, .page-legale li { color: var(--ink-soft); }
.page-legale ul { padding-left: 1.5rem; }
.page-legale a { color: var(--brand-dark); }

/* Print */
@media print {
  .site-header, .site-footer, .map-frame, .cabinet-slider { display: none; }
  body { background: white; color: black; }
}

/* Bandeau de consentement */
.consent-banner {
  position: fixed; z-index: 90;
  left: 1rem; right: 1rem; bottom: 1rem;
  max-width: 34rem; margin-left: auto;
  background: var(--bg); color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  box-shadow: 0 12px 24px -12px rgba(0,0,0,0.2);
  font-size: 0.88rem;
}
.consent-banner[hidden] { display: none; }
.consent-banner p { margin: 0 0 0.75rem; }
.consent-banner a { color: var(--brand-dark); }
.consent-actions { display: flex; gap: 0.5rem; justify-content: flex-end; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; border-bottom: 1px solid transparent; }
.link-button:hover { border-bottom-color: currentColor; }
.link-button:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
