@font-face {
  font-family: 'Gilda Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/gilda-display.woff2) format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/assets/fonts/manrope.woff2) format('woff2');
}

:root {
  --bg: #f6f5f2;
  --surface: #ffffff;
  --ink: #1d211c;
  --text-2: #555c52;
  --muted: #6b7267;
  --line: rgba(29, 33, 28, 0.12);
  --chip: #ecebe5;
  --accent: #4b4f0a;
  --accent-hover: #3a3d08;
  --serif: 'Gilda Display', Georgia, serif;
  --sans: 'Manrope', system-ui, sans-serif;
  --pebble: 48% 52% 46% 54% / 44% 40% 60% 56%;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section { padding: 112px 0; }
.section.white { background: var(--surface); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 64px; align-items: center; }
.split.top { align-items: start; }
.three { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 40px; align-items: start; }

.h1 { font: 400 clamp(52px, 7.4vw, 104px)/1 var(--serif); }
.h2 { font: 400 clamp(36px, 4.6vw, 58px)/1.05 var(--serif); margin-bottom: 48px; }
.h3 { font-size: 19px; font-weight: 500; line-height: 1.4; }
.prose p { color: var(--text-2); }
.prose p + p { margin-top: 16px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 999px; font: 500 16px/1 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color 200ms ease, border-color 200ms ease; }
.btn-primary { background: var(--accent); color: #f7f6ee; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { border-color: rgba(29, 33, 28, 0.2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 15px; }

/* En-tête */
.header { position: sticky; top: 0; z-index: 10; background: rgba(246, 245, 242, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 400 22px var(--serif); }
.brand img { width: 32px; height: 40px; object-fit: contain; }
.nav { display: flex; gap: 28px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--text-2); }
.nav a:hover { color: var(--ink); }
.menu-toggle { display: none; }
.nav-cta { display: none; }

/* Hero */
.hero { padding: 56px 0 120px; }
.hero .lead { margin-top: 28px; font-size: 18px; color: var(--text-2); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero-img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--pebble); }

/* 7 piliers */
.piliers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 0 56px; }
.pilier { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.pilier .galet { width: 48px; height: 30px; margin-top: 4px; border-radius: 52% 48% 50% 50% / 60% 55% 45% 40%; background: var(--c); }
.pilier p { margin-top: 6px; font-size: 15px; color: var(--text-2); }

/* Microbiote */
.pebble-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--pebble); margin-top: 40px; }
.facteur { padding: 20px 0; border-top: 1px solid var(--line); }
.facteur p { margin-top: 4px; font-size: 15px; color: var(--text-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips li { background: var(--chip); border-radius: 999px; padding: 6px 14px; font-size: 14px; color: #3f4a3c; }

/* Thérapeute */
.portrait { width: 100%; max-width: 460px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 46% 54% 50% 50% / 30% 32% 68% 70%; }
.formations { margin-top: 8px; }
.formations li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.formations b { font-weight: 500; font-variant-numeric: tabular-nums; }
.formations span { color: var(--text-2); }
.note { margin-top: 24px; font-size: 15px; color: var(--muted); }
.note a { color: var(--accent); }

/* Soins */
.soin { text-align: left; }
.soin img { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; border-radius: 62% 38% 54% 46% / 52% 42% 58% 48%; }
.soin:nth-child(2) img { border-radius: 40% 60% 44% 56% / 58% 46% 54% 42%; }
.soin:nth-child(3) img { border-radius: 56% 44% 64% 36% / 40% 56% 44% 60%; }
.soin .kicker { margin-top: 28px; font-size: 14px; color: var(--muted); }
.soin h2 { margin-top: 12px; font: 400 34px/1.1 var(--serif); }
.soin blockquote { margin: 20px 0 0; font: 400 20px/1.4 var(--serif); }
.soin cite { display: block; margin-top: 6px; font: 400 14px var(--sans); font-style: normal; color: var(--muted); }
.soin .prose { margin-top: 20px; font-size: 15px; }

/* Programmes */
.plan { border: 1px solid var(--line); border-radius: 24px; padding: 28px; background: var(--surface); }
.plan h3 { font: 400 28px/1.15 var(--serif); }
.plan .price { margin-top: 12px; font-size: 30px; font-weight: 500; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: 15px; font-weight: 400; color: var(--muted); }
.plan ul { margin-top: 20px; }
.plan li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid rgba(29, 33, 28, 0.08); font-size: 15px; }
.plan li span:last-child { white-space: nowrap; color: var(--muted); font-variant-numeric: tabular-nums; }
.programmes .three { gap: 24px; }

/* Contact */
.contact { background: var(--ink); color: var(--bg); padding: 112px 0 48px; }
.contact .info { margin-top: 28px; color: rgba(246, 245, 242, 0.8); font-style: normal; }
.contact .info a { color: var(--bg); }
.form { position: relative; display: flex; flex-direction: column; gap: 20px; padding: 32px; border-radius: 28px; background: var(--bg); color: var(--ink); }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 20px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; color: var(--text-2); }
.form input, .form textarea { font: inherit; font-size: 16px; font-weight: 400; padding: 12px 16px; border: 1px solid rgba(29, 33, 28, 0.16); border-radius: 12px; background: var(--surface); color: var(--ink); transition: border-color 200ms ease, box-shadow 200ms ease; }
.form input:hover, .form textarea:hover { border-color: rgba(29, 33, 28, 0.3); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(75, 79, 10, 0.15); }
.form textarea { resize: vertical; min-height: 144px; }
.form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { align-self: start; }
.form .btn[disabled] { opacity: 0.6; cursor: progress; }
.form-status { min-height: 1.6em; margin-top: -8px; font-size: 15px; }
.form-status:empty { display: none; }
.form-status.ok { color: #3f6b1f; }
.form-status.err { color: #a23b1e; }
.footer { margin-top: 96px; font-size: 14px; color: rgba(246, 245, 242, 0.55); }

@media (max-width: 960px) {
  .header .wrap { min-height: 72px; }
  .header .cta { display: none; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; margin-right: -10px; padding: 0 10px; border: 0; background: none; cursor: pointer; }
  .menu-toggle span { display: block; height: 1.5px; background: var(--ink); border-radius: 1px; transition: transform 200ms ease; }
  .header.open .menu-toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .header.open .menu-toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .nav { position: fixed; inset: 72px 0 0; z-index: 9; display: flex; flex-direction: column; gap: 0; padding: 16px 20px 32px; background: var(--bg); overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity 200ms ease, transform 200ms ease, visibility 0s 200ms; }
  .header.open .nav { visibility: visible; opacity: 1; transform: none; transition: opacity 200ms ease, transform 200ms ease; }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font: 400 30px/1.2 var(--serif); color: var(--ink); }
  .nav a.nav-cta { display: inline-flex; align-self: stretch; margin-top: 32px; padding: 0 26px; border-bottom: 0; font: 500 16px/1 var(--sans); color: #f7f6ee; }
  body.menu-open { overflow: hidden; }
  /* backdrop-filter would make the header the containing block of the fixed panel */
  .header.open { backdrop-filter: none; background: var(--bg); }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .section { padding: 80px 0; }
  .hero { padding: 24px 0 80px; }
  .split { gap: 40px; }
  .form { padding: 24px 20px; border-radius: 24px; }
  .form .btn { align-self: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
