/* ═══════════════════════════════════════════════════════════
   MHD THÉRAPIE — Feuille de style (identité « Aurore chaude »)
   Thème : nuit profonde — or doux & sauge, sans effet néon
   Typo : Syne (titres) · Space Grotesk (texte)
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg:        #141611;
  --bg-2:      #1a1d16;
  --bg-3:      #0f110d;
  --ink:       #ece9df;
  --muted:     #a5a396;
  --accent:    #d2a878;   /* or doux */
  --accent-2:  #e3c79c;   /* sable clair */
  --sage:      #a9bfa0;   /* sauge */
  --glass:     rgba(236, 233, 223, 0.045);
  --glass-2:   rgba(236, 233, 223, 0.08);
  --border:    rgba(236, 233, 223, 0.13);
  --radius:    20px;
  --radius-lg: 30px;
  --shadow:    0 24px 60px rgba(0, 0, 0, 0.45);
  --font-head: "Syne", "Trebuchet MS", sans-serif;
  --font-body: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --container: 1160px;
  --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 96px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

.container { width: min(var(--container), 92%); margin-inline: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration: none; }

.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }

::selection { background: rgba(210, 168, 120, 0.3); color: #fff; }

:focus-visible { outline: 2px dashed var(--accent); outline-offset: 3px; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-3); }
::-webkit-scrollbar-thumb { background: #2c2e26; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* Grain subtil sur toute la page */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 250;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

/* ── Aurores de fond (ton chaud, discret) ─────────────── */
.bg-aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(1000px 600px at 80% -10%, rgba(210, 168, 120, 0.05), transparent 60%),
    radial-gradient(800px 500px at 5% 40%, rgba(169, 191, 160, 0.04), transparent 55%),
    var(--bg);
}

.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.45;
  will-change: transform;
}

.ab-1 {
  width: 560px; height: 560px;
  top: -12%; right: -6%;
  background: radial-gradient(circle, rgba(210, 168, 120, 0.16), transparent 65%);
  animation: aurora1 26s ease-in-out infinite alternate;
}

.ab-2 {
  width: 480px; height: 480px;
  top: 34%; left: -12%;
  background: radial-gradient(circle, rgba(169, 191, 160, 0.12), transparent 65%);
  animation: aurora2 32s ease-in-out infinite alternate;
}

.ab-3 {
  width: 520px; height: 520px;
  bottom: -14%; right: 8%;
  background: radial-gradient(circle, rgba(227, 199, 156, 0.10), transparent 65%);
  animation: aurora3 38s ease-in-out infinite alternate;
}

@keyframes aurora1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-90px, 70px) scale(1.18); }
}
@keyframes aurora2 {
  from { transform: translate(0, 0) scale(1.1); }
  to   { transform: translate(110px, -60px) scale(0.94); }
}
@keyframes aurora3 {
  from { transform: translate(0, 0) scale(0.95) rotate(0deg); }
  to   { transform: translate(-70px, -90px) scale(1.15) rotate(20deg); }
}

/* ── Barre de progression ─────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--sage), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  z-index: 300;
  pointer-events: none;
}

/* ── Barre supérieure ─────────────────────────────────── */
.topbar {
  background: rgba(8, 10, 7, 0.6);
  border-bottom: 1px solid rgba(236, 233, 223, 0.07);
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 5;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.55rem 0;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  color: var(--muted);
  transition: color 0.25s;
}

a.topbar-item:hover { color: var(--accent); }

/* ── Header / navigation ──────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s, border-color 0.35s;
}

.header.scrolled {
  background: rgba(13, 15, 11, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(236, 233, 223, 0.09);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem 0;
}

.brand { display: flex; align-items: center; gap: 0.85rem; color: var(--ink); }

.brand-mark {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: linear-gradient(140deg, rgba(210, 168, 120, 0.14), rgba(169, 191, 160, 0.05));
  border: 1px solid rgba(210, 168, 120, 0.4);
  display: grid;
  place-items: center;
  transition: transform 0.4s var(--ease-out), border-color 0.4s;
}

.brand-mark span {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
  transition: transform 0.4s var(--ease-out);
}

.brand:hover .brand-mark { transform: rotate(90deg); border-color: var(--accent); }
.brand:hover .brand-mark span { transform: scale(1.25); }

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; letter-spacing: 0.01em; color: var(--ink); }
.brand-sub  { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.26em; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 2.2rem; }

.nav-link {
  position: relative;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.35rem 0;
  transition: color 0.25s;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--sage));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.nav-link:hover { color: var(--ink); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-link.active { color: var(--accent); }
.nav-link.active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Boutons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 0.95rem 2rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s, color 0.25s, border-color 0.25s;
  will-change: transform;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #191307;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.35) 50%, transparent 65%);
  transform: translateX(-140%);
  transition: transform 0.7s ease;
  pointer-events: none;
}

.btn-primary:hover::after { transform: translateX(140%); }

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42);
}

.btn-ghost {
  color: var(--ink);
  border-color: rgba(236, 233, 223, 0.28);
  background: rgba(236, 233, 223, 0.03);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-sm { padding: 0.6rem 1.35rem; font-size: 0.84rem; }
.btn-full { width: 100%; }

/* ── Eyebrow / titres de section ──────────────────────── */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--accent);
  margin-bottom: 1.1rem;
}

.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.section { position: relative; padding: 7.5rem 0; }

.section-alt { background: rgba(236, 233, 223, 0.025); border-block: 1px solid rgba(236, 233, 223, 0.06); }

.section[data-num]::after {
  content: attr(data-num);
  position: absolute;
  top: 3.5rem;
  right: 4vw;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(5rem, 12vw, 9rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(210, 168, 120, 0.18);
  pointer-events: none;
  user-select: none;
}

.section-head { text-align: center; max-width: 760px; margin: 0 auto 4.5rem; }
.section-head .eyebrow { justify-content: center; }

.section-title { font-size: clamp(2.3rem, 5vw, 3.6rem); margin-bottom: 0.4rem; }

.section-title em {
  font-style: normal;
  font-weight: 700;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 40%, var(--sage) 70%, var(--accent) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: gradFlow 8s linear infinite;
}

@keyframes gradFlow {
  from { background-position: 0% 0; }
  to   { background-position: 250% 0; }
}

/* ── Hero ─────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 4.5rem;
  padding: 5.5rem 0 8.5rem;
}

.hero-el {
  animation: riseIn 0.9s var(--ease-out) both;
  animation-delay: calc(var(--d) * 110ms + 120ms);
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(42px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-title {
  font-size: clamp(3.6rem, 8.5vw, 7.2rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin: 0 0 1.4rem;
}

.hero-title span { display: block; }

.hero-title em {
  font-style: normal;
  font-weight: 700;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 35%, var(--sage) 65%, var(--accent) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: gradFlow 7s linear infinite;
}

.hero-tagline {
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 2.1vw, 1.5rem);
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 1.2rem;
}

.hero-tagline strong { color: var(--accent); font-weight: 600; }

.hero-text { max-width: 46ch; color: var(--muted); margin-bottom: 2.4rem; }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Visuel : image dans une blob qui respire, satellites en orbite */
.hero-visual { position: relative; }

.hero-blobimg {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
  aspect-ratio: 4 / 4.6;
  overflow: hidden;
  border-radius: 58% 42% 55% 45% / 48% 52% 46% 54%;
  animation: morph 14s ease-in-out infinite;
  box-shadow: var(--shadow);
  z-index: 1;
}

.hero-blobimg img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}

.hero-visual:hover .hero-blobimg img { transform: scale(1.06); }

@keyframes morph {
  0%, 100% { border-radius: 58% 42% 55% 45% / 48% 52% 46% 54%; }
  33%      { border-radius: 45% 55% 48% 52% / 55% 43% 57% 45%; }
  66%      { border-radius: 52% 48% 42% 58% / 45% 57% 43% 55%; }
}

.orbit {
  position: absolute;
  border: 1px dashed rgba(210, 168, 120, 0.3);
  border-radius: 50%;
  pointer-events: none;
}

.orbit::before {
  content: "";
  position: absolute;
  top: -4px; left: 50%;
  width: 8px; height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--accent);
}

.orbit-a { inset: -24px; animation: spin 16s linear infinite; }
.orbit-b {
  inset: -50px;
  border-color: rgba(169, 191, 160, 0.22);
  animation: spin 28s linear infinite reverse;
}
.orbit-b::before { background: var(--sage); }

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.hero-chip {
  position: absolute;
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  color: var(--accent);
  background: rgba(15, 17, 13, 0.75);
  border: 1px solid rgba(210, 168, 120, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2;
}

.hero-chip-1 { top: 8%; left: -4%; animation: floaty 6s ease-in-out infinite; }
.hero-chip-2 { bottom: 12%; right: -3%; animation: floaty 7s ease-in-out 1.2s infinite; color: var(--sage); border-color: rgba(169, 191, 160, 0.35); }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* Indicateur d'invitation au défilement */
.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 2.2rem;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--muted);
  opacity: 0.8;
}

.cue-mouse {
  display: flex;
  justify-content: center;
  width: 24px; height: 38px;
  border: 2px solid currentColor;
  border-radius: 14px;
  padding-top: 7px;
}

.cue-mouse span {
  width: 3px; height: 8px;
  border-radius: 3px;
  background: var(--accent);
  animation: cueWheel 1.8s ease-in-out infinite;
}

@keyframes cueWheel {
  0%   { transform: translateY(0); opacity: 1; }
  70%  { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ── Bandeau défilant ─────────────────────────────────── */
.band {
  border-block: 1px solid rgba(210, 168, 120, 0.18);
  background: rgba(210, 168, 120, 0.03);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.band-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.band:hover .band-track { animation-play-state: paused; }

.band-group {
  display: flex;
  align-items: center;
  gap: 2.6rem;
  padding: 1.1rem 2.6rem 1.1rem 0;
  white-space: nowrap;
}

.band-group span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(210, 168, 120, 0.55);
  transition: color 0.4s;
}

.band-group:hover span { color: var(--accent); -webkit-text-stroke-color: transparent; }

.band-group i { font-style: normal; color: var(--sage); font-size: 0.8rem; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Thérapies ────────────────────────────────────────── */
.therapy-intro {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

.therapy-text p { margin-bottom: 1.3rem; color: var(--muted); }
.therapy-text p:last-child { margin-bottom: 0; }

.therapy-figure { position: relative; }

.figure-mask {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(210, 168, 120, 0.2);
  background:
    radial-gradient(400px 300px at 70% 20%, rgba(227, 199, 156, 0.18), transparent 65%),
    #e7e2d4;
  box-shadow: var(--shadow);
}

.figure-mask img {
  width: 100%;
  aspect-ratio: 1 / 1.02;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: multiply;
  transform: scale(1.18);
  will-change: transform;
}

.figure-tag {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  background: rgba(15, 17, 13, 0.8);
  color: var(--accent-2);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(210, 168, 120, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* ── Panneaux (domaines) ──────────────────────────────── */
.panels {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: start;
}

.panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 2.6rem;
  border: 1px solid var(--border);
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
}

.panel:hover {
  transform: translateY(-6px);
  border-color: rgba(210, 168, 120, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* Reflet qui suit la souris */
[data-spotlight] { position: relative; }

[data-spotlight]::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(210, 168, 120, 0.07), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

[data-spotlight]:hover::after { opacity: 1; }

.panel::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--sage), var(--accent));
  background-size: 200% 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}

.panel:hover::before { transform: scaleX(1); animation: barSlide 6s linear infinite; }

.panel-dark::before { transform: scaleX(1); animation: barSlide 8s linear infinite; }

@keyframes barSlide {
  from { background-position: 0% 0; }
  to   { background-position: 200% 0; }
}

.panel-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.6rem; }

.panel-icon {
  width: 50px; height: 50px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(210, 168, 120, 0.1);
  border: 1px solid rgba(210, 168, 120, 0.3);
  color: var(--accent);
  flex: none;
}

.panel-dark .panel-icon { background: rgba(169, 191, 160, 0.08); border-color: rgba(169, 191, 160, 0.3); color: var(--sage); }

.panel-icon svg { width: 25px; height: 25px; fill: currentColor; }

.panel h3 { font-size: 1.55rem; margin: 0; }

/* Liste des domaines d'intervention */
.num-list { list-style: none; margin: 0; padding: 0; }

.num-list li {
  padding: 0.85rem 0.4rem;
  border-bottom: 1px solid rgba(236, 233, 223, 0.08);
  border-radius: 10px;
  transition: background 0.3s, padding-left 0.3s var(--ease-out);
}

.num-list li:last-child { border-bottom: 0; }

.num-list li:hover {
  background: rgba(210, 168, 120, 0.05);
  padding-left: 0.9rem;
}

.num-list p { margin: 0; font-size: 0.95rem; color: var(--muted); }
.num-list strong { color: var(--ink); font-weight: 600; }

/* Liste de compétences en chips */
.chip-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.chip-list li {
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.88rem;
  color: var(--ink);
  background: rgba(236, 233, 223, 0.04);
  border: 1px solid rgba(236, 233, 223, 0.14);
  border-radius: 999px;
  padding: 0.6rem 1.05rem;
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease-out);
}

.chip-list li::before {
  content: "";
  width: 16px; height: 16px;
  border-radius: 50%;
  flex: none;
  background: rgba(169, 191, 160, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23a9bfa0' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center / 10px no-repeat;
}

.chip-list li:hover {
  border-color: rgba(169, 191, 160, 0.5);
  background: rgba(169, 191, 160, 0.07);
  transform: translateX(4px);
}

/* ── À propos ─────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4.5rem;
  align-items: start;
}

.about-figure { position: sticky; top: 110px; }

.about-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(210, 168, 120, 0.25);
  box-shadow: var(--shadow);
}

.about-frame::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(210, 168, 120, 0.3);
  border-radius: calc(var(--radius-lg) - 10px);
  pointer-events: none;
}

.about-frame img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.18);
  will-change: transform;
  transition: transform 0.8s var(--ease-out);
}

.about-figure:hover .about-frame img { transform: scale(1.18) translateY(-2%); }

.about-cred { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.6rem; }

.cred-badge {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ink);
  background: var(--glass);
  border: 1px solid var(--border);
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  transition: border-color 0.3s, color 0.3s, transform 0.3s;
}

.cred-badge:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.about-content .section-title { margin-bottom: 1.6rem; }

.about-block {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 2rem;
  margin-bottom: 1.4rem;
  transition: transform 0.35s var(--ease-out), border-color 0.35s;
}

.about-block:hover { transform: translateY(-4px); border-color: rgba(210, 168, 120, 0.3); }

.about-block p { color: var(--muted); }

.about-block p:first-of-type::first-letter {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.9em;
  float: left;
  line-height: 0.82;
  padding-right: 0.12em;
  padding-top: 0.05em;
  color: var(--accent);
}

.about-subtitle {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.45rem;
  color: var(--ink);
  margin: 0 0 0.9rem;
}

.about-sub-index {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent);
  width: 2.1rem; height: 2.1rem;
  border: 1.5px solid rgba(210, 168, 120, 0.5);
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  flex: none;
}

.about-subtitle::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(210, 168, 120, 0.3), transparent);
}

/* ── Contact ──────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: start;
}

.contact-form-wrap {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.6rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-field { display: flex; flex-direction: column; margin-bottom: 1.2rem; }

.form-field label {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.req { color: var(--accent); }

.form-field input,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: rgba(8, 10, 7, 0.5);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 0.85rem 1.05rem;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: #6e6c60; }

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(210, 168, 120, 0.12);
}

.form-field input.invalid, .form-field textarea.invalid {
  border-color: #d98276;
  box-shadow: 0 0 0 4px rgba(217, 130, 118, 0.1);
}

.form-hint { font-size: 0.78rem; color: #6e6c60; margin-bottom: 1.2rem; }

/* Champ anti-spam invisible (honeypot) */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 12px;
  padding: 0.8rem 1rem;
  display: none;
}

.form-status.show { display: block; animation: riseIn 0.5s var(--ease-out) both; }
.form-status.ok { background: rgba(169, 191, 160, 0.1); color: var(--sage); border: 1px solid rgba(169, 191, 160, 0.3); }
.form-status.err { background: rgba(217, 130, 118, 0.1); color: #d98276; border: 1px solid rgba(217, 130, 118, 0.3); }

.contact-direct { margin-top: 2rem; padding-top: 1.6rem; border-top: 1px dashed rgba(236, 233, 223, 0.14); }
.contact-direct p { font-size: 0.9rem; color: var(--muted); margin-bottom: 0.8rem; }

.contact-direct-links { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  transition: border-color 0.25s, color 0.25s, transform 0.25s;
}

.chip:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* Infos pratiques */
.infos-title { font-size: 1.65rem; margin-bottom: 0.4rem; }
.infos-lead { color: var(--muted); margin-bottom: 1.6rem; }

[data-tilt] {
  transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.15s ease-out, border-color 0.3s, box-shadow 0.3s;
}

[data-tilt]:hover {
  transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px);
}

.info-card, .hours-card {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  margin-bottom: 1rem;
}

.info-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex: none;
  border: 1px solid rgba(210, 168, 120, 0.25);
  transition: transform 0.35s var(--ease-out);
}

[data-tilt]:hover .info-icon { transform: scale(1.1) rotate(-5deg); }

.info-icon svg { width: 22px; height: 22px; fill: currentColor; }

.info-icon.tint-a { background: rgba(210, 168, 120, 0.1); color: var(--accent); }
.info-icon.tint-b { background: rgba(169, 191, 160, 0.1); color: var(--sage); }
.info-icon.tint-c { background: rgba(227, 199, 156, 0.1); color: var(--accent-2); }
.info-icon.tint-d { background: rgba(236, 233, 223, 0.08); color: var(--ink); }

.info-card h4, .hours-card h4 { font-size: 1.1rem; margin-bottom: 0.15rem; }
.info-card p { font-size: 0.92rem; color: var(--muted); margin: 0; }

.text-link { color: var(--accent); font-weight: 700; }
.text-link:hover { text-decoration: underline; }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(210, 168, 120, 0.2);
  margin-bottom: 1rem;
  transition: border-color 0.35s;
}

.map-frame:hover { border-color: rgba(210, 168, 120, 0.4); }

.map-frame iframe { width: 100%; height: 340px; border: 0; display: block; }

.hours-list { list-style: none; margin: 0; padding: 0; }
.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
  padding: 0.3rem 0;
}
.hours-day { color: var(--muted); }
.hours-time { font-weight: 600; color: var(--accent); }

/* ── Footer ───────────────────────────────────────────── */
.footer {
  background: var(--bg-3);
  border-top: 1px solid rgba(236, 233, 223, 0.07);
  color: var(--muted);
  overflow: hidden;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: -1px; left: 10%;
  width: 80%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(210, 168, 120, 0.5), transparent);
}

.footer-word {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(3.6rem, 12vw, 10rem);
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
  background: linear-gradient(120deg, rgba(210, 168, 120, 0.3), rgba(169, 191, 160, 0.18), rgba(227, 199, 156, 0.3), rgba(210, 168, 120, 0.3));
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: gradFlow 10s linear infinite;
  padding: 4rem 0 0;
  user-select: none;
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding: 3.5rem 0 3rem;
}

.footer .brand-mark { background: rgba(210, 168, 120, 0.06); }

.footer-name {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0.9rem 0 0.4rem;
}

.footer-tagline { font-size: 0.88rem; line-height: 1.8; color: #d8d0bf; }

.footer-col h4 { color: var(--ink); font-size: 1.15rem; margin-bottom: 0.9rem; }

.footer-link {
  display: block;
  font-weight: 700;
  color: #cfc7b5;
  margin-bottom: 0.5rem;
  transition: color 0.25s, transform 0.25s;
}

.footer-link:hover { color: var(--accent); transform: translateX(4px); }

.footer-text { font-size: 0.92rem; line-height: 1.8; color: #cfc7b5; }

.footer-bottom {
  border-top: 1px solid rgba(236, 233, 223, 0.07);
  padding: 1.4rem 0;
  font-size: 0.82rem;
  color: #a89f8c;
}

.footer-bottom p { margin: 0; }

/* ── Bouton retour en haut ────────────────────────────── */
.to-top {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  width: 48px; height: 48px;
  border: 1px solid rgba(210, 168, 120, 0.4);
  border-radius: 50%;
  background: rgba(15, 17, 13, 0.85);
  color: var(--accent);
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s, border-color 0.3s;
  z-index: 80;
}

.to-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); border-color: var(--accent); }
.to-top svg { width: 20px; height: 20px; fill: currentColor; }

/* ── Animations d'apparition (scroll) ─────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out), filter 0.9s var(--ease-out);
  will-change: opacity, transform;
}

[data-reveal="left"]  { transform: translateX(-46px); }
[data-reveal="right"] { transform: translateX(46px); }
[data-reveal="blur"]  { filter: blur(12px); }

[data-reveal].revealed { opacity: 1; transform: none; filter: blur(0); }

/* Cascade interne des listes et badges */
.num-list li, .chip-list li, .cred-badge {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s var(--ease-out);
}

.panel.revealed .num-list li,
.panel.revealed .chip-list li,
.about-figure.revealed .cred-badge {
  opacity: 1;
  transform: none;
}

.panel.revealed li:nth-child(1), .about-figure.revealed .cred-badge:nth-child(1) { transition-delay: 0.15s; }
.panel.revealed li:nth-child(2), .about-figure.revealed .cred-badge:nth-child(2) { transition-delay: 0.22s; }
.panel.revealed li:nth-child(3), .about-figure.revealed .cred-badge:nth-child(3) { transition-delay: 0.29s; }
.panel.revealed li:nth-child(4) { transition-delay: 0.36s; }
.panel.revealed li:nth-child(5) { transition-delay: 0.43s; }
.panel.revealed li:nth-child(6) { transition-delay: 0.50s; }
.panel.revealed li:nth-child(7) { transition-delay: 0.57s; }
.panel.revealed li:nth-child(8) { transition-delay: 0.64s; }

/* ── Accessibilité : réduire les animations ───────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-el, .form-status.show { animation: none !important; opacity: 1; transform: none; }
  .aurora-blob, .hero-blobimg, .orbit-a, .orbit-b, .cue-mouse span,
  .hero-chip, .band-track, .panel::before,
  .section-title em, .hero-title em, .footer-word { animation: none !important; }
  [data-reveal], [data-reveal="left"], [data-reveal="right"], [data-reveal="blur"] {
    opacity: 1; transform: none; transition: none; filter: none;
  }
  .num-list li, .chip-list li, .cred-badge { opacity: 1; transform: none; transition: none; }
  [data-tilt] { transform: none; transition: none; }
  .hero-scroll-cue { display: none; }
  .figure-mask img, .about-frame img { transform: none; }
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { gap: 3rem; }
  .therapy-intro { gap: 2.5rem; }
  .about-grid { gap: 3rem; }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    padding: 4rem 0 7rem;
    text-align: center;
  }

  .eyebrow { justify-content: center; }
  .hero-text { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { max-width: 360px; margin: 1.5rem auto 0; }
  .orbit-a { inset: -18px; }
  .orbit-b { inset: -38px; }
  .hero-chip-1 { left: -6%; }
  .hero-chip-2 { right: -5%; }

  .section { padding: 5.5rem 0; }
  .section[data-num]::after { top: 1.5rem; font-size: 4.5rem; }

  .therapy-intro { grid-template-columns: 1fr; }
  .therapy-figure { max-width: 440px; margin-inline: auto; }

  .panels { grid-template-columns: 1fr; }

  .about-grid { grid-template-columns: 1fr; }
  .about-figure { position: static; max-width: 380px; margin-inline: auto; }

  .contact-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }

  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.2rem;
    background: rgba(15, 17, 13, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transform: translateY(-102%);
    transition: transform 0.45s var(--ease-out);
    z-index: 90;
    padding: 5rem 0;
  }

  .nav.open { transform: translateY(0); }

  .nav-link { font-size: 1.6rem; font-family: var(--font-head); font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--ink); }

  .nav.open .nav-link { animation: riseIn 0.5s var(--ease-out) both; }
  .nav.open .nav-link:nth-child(1) { animation-delay: 0.10s; }
  .nav.open .nav-link:nth-child(2) { animation-delay: 0.18s; }
  .nav.open .nav-link:nth-child(3) { animation-delay: 0.26s; }
  .nav.open .nav-cta { animation: riseIn 0.5s var(--ease-out) 0.34s both; }

  .nav-cta { font-size: 1rem; }
}

@media (max-width: 720px) {
  .topbar { display: none; }

  .form-row { grid-template-columns: 1fr; gap: 0; }

  .contact-form-wrap { padding: 1.8rem 1.4rem; }

  .chip-list { grid-template-columns: 1fr; }

  .panel { padding: 2rem 1.6rem; }

  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand .brand-mark { margin-inline: auto; }
  .footer-word { padding-top: 2.5rem; }
}
