/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(fonts/montserrat-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(fonts/montserrat-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* ==========================================================
   LHILAM — AbdelMalek LHILOUFI · Praticien en massage bien-être
   Design system v2 (TAMKIN Agency, 2026)
   Palette d'origine conservée : #679c96 · #2c3e50 · #e7dbc0
   ========================================================== */

:root {
  --ink: #111a23;
  --night: #172431;
  --slate: #2c3e50;
  --teal: #679c96;
  --teal-light: #8fbcb6;
  --teal-deep: #4d7d78;
  --sky: #61b9c9;
  --sand: #e7dbc0;
  --sand-soft: #f3ede0;
  --paper: #f8f6f1;
  --white: #ffffff;
  --mist: #7f8c8d;
  --text: #22313f;
  --text-soft: #56636f;
  --line: rgba(44, 62, 80, .12);
  --line-dark: rgba(231, 219, 192, .16);

  --font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --radius: 4px;
  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(84px, 11vw, 150px);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--teal); color: var(--white); }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 10000;
  background: var(--sand); color: var(--ink); padding: 10px 18px; font-weight: 600; border-radius: var(--radius);
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typographie ---------- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.12; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 4vw, 3.1rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); letter-spacing: -.01em; }
p { color: var(--text-soft); }
p + p { margin-top: 1em; }
strong { color: var(--text); font-weight: 600; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.75; color: var(--text-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: .72rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase;
  color: var(--teal-deep);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.thin { font-weight: 300; }
.accent { color: var(--teal); }

/* ---------- Boutons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 30px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  border-radius: var(--radius); overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleX(0); transform-origin: right; transition: transform .55s var(--ease);
}
.btn:hover::after { transform: scaleX(1); transform-origin: left; }
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .45s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary::after { background: var(--ink); }
.btn-light { background: var(--sand); color: var(--ink); }
.btn-light::after { background: var(--white); }
.btn-ghost { border: 1px solid currentColor; color: var(--ink); }
.btn-ghost::after { background: var(--ink); }
.btn-ghost:hover { color: var(--white); border-color: var(--ink); }
.btn-ghost-light { border: 1px solid rgba(231, 219, 192, .45); color: var(--sand); }
.btn-ghost-light::after { background: var(--sand); }
.btn-ghost-light:hover { color: var(--ink); border-color: var(--sand); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-deep);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 900; height: var(--header-h);
  transition: background .5s var(--ease), height .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease);
}
.header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header.is-solid { background: rgba(17, 26, 35, .9); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); height: 70px; box-shadow: 0 1px 0 var(--line-dark); }
.header.is-hidden { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 14px; color: var(--sand); }
.brand img { width: 50px; height: 50px; transition: transform .6s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 700; font-size: .92rem; letter-spacing: .14em; text-transform: uppercase; }
.brand-role { font-size: .66rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-light); }

.nav { display: flex; align-items: center; gap: 34px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a, .btn, .brand-name, .brand-role { white-space: nowrap; }
.nav-links a {
  position: relative; font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(243, 237, 224, .82); padding: 8px 0; transition: color .3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--teal-light);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--white); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.has-sub { position: relative; }
.sub {
  position: absolute; top: calc(100% + 16px); left: -24px; min-width: 270px; padding: 14px;
  background: var(--night); border: 1px solid var(--line-dark); border-radius: var(--radius);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .35s var(--ease);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5);
}
.sub::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 10px 12px; font-size: .74rem; letter-spacing: .1em; border-radius: 2px; }
.sub a::after { display: none; }
.sub a:hover { background: rgba(103, 156, 150, .14); }
.nav-cta { min-height: 44px; padding: 0 20px; font-size: .7rem; }

.burger { display: none; width: 46px; height: 46px; position: relative; z-index: 1001; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--sand); transition: transform .45s var(--ease), opacity .3s, top .45s var(--ease); }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22.5px; right: 18px; }
.burger span:nth-child(3) { top: 29px; }
.menu-open .burger span:nth-child(1) { top: 22.5px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { top: 22.5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 950; background: var(--ink);
  display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px;
  clip-path: circle(0 at calc(100% - 46px) 42px); transition: clip-path .8s var(--ease-out); visibility: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 46px) 42px); visibility: visible; }
.menu-open { overflow: hidden; }
.mobile-menu nav a {
  display: block; padding: 10px 0; font-size: clamp(1.6rem, 7vw, 2.2rem); font-weight: 700; letter-spacing: -.02em; color: var(--sand);
  opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .6s var(--ease-out), color .3s;
}
.mobile-menu nav a.small { font-size: 1rem; font-weight: 500; color: var(--teal-light); padding: 6px 0 6px 18px; }
.menu-open .mobile-menu nav a { opacity: 1; transform: none; }
.mobile-menu nav a:hover { color: var(--white); }
.mobile-menu .mm-foot { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Barre de progression ---------- */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 1000; background: linear-gradient(90deg, var(--teal), var(--sky)); transform: scaleX(0); transform-origin: left; }

/* ---------- Hero accueil ---------- */
.hero {
  position: relative; min-height: clamp(640px, 100svh, 1000px); display: flex; align-items: flex-end;
  color: var(--sand); overflow: hidden; background: var(--ink); isolation: isolate;
}
.hero-media { position: absolute; inset: -8% 0; z-index: -2; will-change: transform; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: heroZoom 2.6s var(--ease-out) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(17, 26, 35, .55) 0%, rgba(17, 26, 35, .25) 35%, rgba(17, 26, 35, .82) 78%, var(--ink) 100%),
    linear-gradient(90deg, rgba(17, 26, 35, .78) 0%, rgba(17, 26, 35, 0) 70%);
}
.hero-inner { width: 100%; padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(48px, 7vh, 90px); }
.hero .eyebrow { color: var(--teal-light); }
.hero h1 { color: var(--white); max-width: 17ch; margin: 22px 0 24px; font-size: clamp(2.3rem, 5vw, 4.1rem); }
.hero h1 .thin { color: var(--sand); }
.hero .lead { color: rgba(243, 237, 224, .82); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-proof {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0;
  margin-top: clamp(36px, 6vh, 64px); border-top: 1px solid var(--line-dark); padding-top: 26px; max-width: 900px;
}
.hero-proof div { padding-right: 40px; margin-right: 40px; border-right: 1px solid var(--line-dark); }
.hero-proof div:last-child { border: 0; margin: 0; padding: 0; }
.hero-proof b { display: block; font-size: 1.7rem; font-weight: 800; color: var(--white); letter-spacing: -.02em; line-height: 1.1; }
.hero-proof div > span { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(243, 237, 224, .6); }
.hero-logo {
  position: absolute; right: var(--gutter); top: 50%; width: clamp(180px, 26vw, 380px); opacity: .14; z-index: -1;
  transform: translateY(-50%); pointer-events: none;
}
.scroll-cue {
  position: absolute; right: var(--gutter); bottom: 40px; display: flex; flex-direction: column; align-items: center; gap: 14px;
  font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(243, 237, 224, .6); writing-mode: vertical-rl;
}
.scroll-cue::after { content: ""; width: 1px; height: 60px; background: linear-gradient(var(--teal-light), transparent); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Hero pages internes ---------- */
.page-hero {
  position: relative; padding: calc(var(--header-h) + clamp(70px, 10vw, 130px)) 0 clamp(60px, 8vw, 100px);
  background: var(--ink); color: var(--sand); overflow: hidden; isolation: isolate;
}
.page-hero .bg { position: absolute; inset: -10% 0; z-index: -2; opacity: .32; will-change: transform; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(17, 26, 35, .4), var(--ink) 95%); }
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 5.4vw, 4rem); max-width: 18ch; margin: 22px 0 22px; }
.page-hero .lead { color: rgba(243, 237, 224, .8); max-width: 60ch; }
.page-hero .eyebrow { color: var(--teal-light); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(243, 237, 224, .5); margin-bottom: 30px; }
.breadcrumb a:hover { color: var(--sand); }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; opacity: .5; }
.page-hero-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(40px, 6vw, 90px); align-items: end; }
.page-hero-media { position: relative; aspect-ratio: 1; max-width: 300px; justify-self: end; width: 100%; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); filter: saturate(.9); }
.page-hero-media::before { content: ""; position: absolute; inset: 16px -16px -16px 16px; border: 1px solid rgba(143, 188, 182, .4); border-radius: var(--radius); z-index: -1; }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; position: relative; }
.section-dark { background: var(--ink); color: var(--sand); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(243, 237, 224, .72); }
.section-dark .eyebrow { color: var(--teal-light); }
.section-sand { background: var(--sand-soft); }
.section-white { background: var(--white); }
.section-head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head h2 { margin: 20px 0 20px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.section-head-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 80px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head-split h2 { margin-top: 20px; }

/* ---------- Intro / portrait ---------- */
.intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 8vw, 120px); align-items: center; }
.portrait { position: relative; perspective: 1200px; }
.portrait-frame { position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: var(--radius); transform-style: preserve-3d; }
.portrait-frame img { width: 100%; height: 115%; object-fit: cover; object-position: center 20%; will-change: transform; }
.portrait::before { content: ""; position: absolute; inset: -22px 22px 22px -22px; border: 1px solid var(--teal); border-radius: var(--radius); opacity: .5; }
.portrait-badge {
  position: absolute; right: -28px; bottom: 40px; background: var(--ink); color: var(--sand);
  padding: 22px 26px; border-radius: var(--radius); box-shadow: 0 30px 60px -25px rgba(17, 26, 35, .6); max-width: 230px;
}
.portrait-badge b { display: block; font-size: 2.4rem; font-weight: 800; color: var(--white); line-height: 1; letter-spacing: -.03em; }
.portrait-badge > span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-light); }
.intro-text h2 { margin: 20px 0 28px; }
.signature { margin-top: 34px; display: flex; align-items: center; gap: 18px; }
.signature img { width: 54px; height: 54px; }
.signature b { display: block; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.signature span { font-size: .8rem; color: var(--text-soft); }

/* ---------- Cartes services (3D tilt) ---------- */
.services-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; perspective: 1400px; }
.service-card { grid-column: span 2; }
.service-card:nth-child(4), .service-card:nth-child(5) { grid-column: span 3; }
.service-card a {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 32px 32px;
  transform-style: preserve-3d; transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .6s;
  will-change: transform;
}
.service-card a:hover { box-shadow: 0 40px 80px -40px rgba(17, 26, 35, .45); border-color: transparent; }
.service-card .num { font-size: .72rem; font-weight: 700; letter-spacing: .2em; color: var(--teal); transform: translateZ(30px); }
.service-card .thumb {
  width: 92px; height: 92px; border-radius: 50%; overflow: hidden; margin: 22px 0 26px;
  box-shadow: 0 0 0 6px var(--sand-soft); transform: translateZ(50px); transition: box-shadow .5s;
}
.service-card a:hover .thumb { box-shadow: 0 0 0 6px var(--teal); }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service-card a:hover .thumb img { transform: scale(1.12); }
.service-card h3 { margin-bottom: 12px; transform: translateZ(40px); }
.service-card p { font-size: .95rem; flex: 1; transform: translateZ(20px); }
.service-card .where { display: flex; flex-wrap: wrap; gap: 6px; margin: 20px 0 22px; transform: translateZ(25px); }
.tag { font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border: 1px solid var(--line); border-radius: 2px; color: var(--text-soft); }
.service-card .link-arrow { transform: translateZ(35px); }
.service-card .glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(103, 156, 150, .14), transparent 55%); opacity: 0; transition: opacity .5s; }
.service-card a:hover .glare { opacity: 1; }

/* ---------- Publics ---------- */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); }
.audience-item { padding: 46px 40px 50px 0; border-right: 1px solid var(--line-dark); }
.audience-item + .audience-item { padding-left: 40px; }
.audience-item:last-child { border-right: 0; padding-right: 0; }
.audience-item .ico { width: 46px; height: 46px; color: var(--teal-light); margin-bottom: 28px; }
.audience-item h3 { margin-bottom: 14px; }
.audience-item ul { margin: 22px 0 28px; }
.audience-item li { position: relative; padding-left: 22px; font-size: .92rem; color: rgba(243, 237, 224, .75); margin-bottom: 8px; }
.audience-item li::before { content: ""; position: absolute; left: 0; top: .78em; width: 10px; height: 1px; background: var(--teal-light); }
.audience-item .link-arrow { color: var(--sand); }

/* ---------- Citation parallax ---------- */
.quote-band { position: relative; padding: clamp(110px, 16vw, 210px) 0; overflow: hidden; color: var(--ink); isolation: isolate; text-align: center; }
.quote-band .bg { position: absolute; inset: -20% 0; z-index: -2; will-change: transform; }
.quote-band .bg img { width: 100%; height: 100%; object-fit: cover; }
.quote-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(248, 246, 241, .9), rgba(248, 246, 241, .55) 70%, rgba(248, 246, 241, .4)); }
.quote-band blockquote { max-width: 900px; margin: 0 auto; }
.quote-band blockquote p { font-size: clamp(1.5rem, 3.4vw, 2.6rem); font-weight: 300; line-height: 1.35; letter-spacing: -.02em; color: var(--ink); }
.quote-band blockquote p em { font-style: normal; font-weight: 700; color: var(--teal-deep); }
.quote-band cite { display: block; margin-top: 30px; font-style: normal; font-size: .74rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--slate); }
.quote-mark { width: 54px; margin: 0 auto 30px; color: var(--teal); }

/* ---------- Approche ---------- */
.approach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 110px); align-items: start; }
.approach-media { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.approach-media figure { overflow: hidden; border-radius: var(--radius); }
.approach-media figure:first-child { grid-row: span 2; }
.approach-media img { width: 100%; height: 100%; object-fit: cover; }
.approach-media .stat { background: var(--teal); color: var(--white); padding: 28px; border-radius: var(--radius); display: flex; flex-direction: column; justify-content: flex-end; }
.approach-media .stat b { font-size: 2.8rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.approach-media .stat > span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; opacity: .9; margin-top: 8px; }
.approach-media .stat.dark { background: var(--ink); color: var(--sand); }

/* ---------- Valeurs ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.value { padding: 40px 36px 44px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; transition: background .5s var(--ease); }
.value::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.value:hover { background: var(--white); }
.value:hover::before { transform: scaleX(1); }
.value .n { font-size: .7rem; font-weight: 700; letter-spacing: .2em; color: var(--teal); }
.value h3 { margin: 0 0 12px; font-size: 1.3rem; }
.value p { font-size: .93rem; }
.value small { display: block; margin-top: 18px; font-size: .66rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--mist); }

/* ---------- Formation / crédibilité ---------- */
.cred-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(48px, 7vw, 100px); align-items: center; }
.cred-stack { position: relative; perspective: 1400px; min-height: 480px; }
.cred-stack figure { position: absolute; overflow: hidden; border-radius: var(--radius); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); background: var(--night); }
.cred-stack figure img { width: 100%; height: 100%; object-fit: cover; }
.cred-stack .c1 { left: 0; top: 0; width: 88%; aspect-ratio: 16/10; }
.cred-stack .c2 { right: 0; bottom: 0; width: 70%; aspect-ratio: 16/9; border: 6px solid var(--ink); }
.cred-stack figcaption { position: absolute; left: 0; bottom: 0; right: 0; padding: 30px 16px 12px; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sand); background: linear-gradient(transparent, rgba(17, 26, 35, .9)); }
.cred-stack .c1 figcaption { bottom: auto; top: 0; padding: 12px 16px 30px; background: linear-gradient(rgba(17, 26, 35, .9), transparent); }
.cred-list { margin-top: 34px; display: grid; gap: 0; }
.cred-list li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line-dark); }
.cred-list li:last-child { border-bottom: 1px solid var(--line-dark); }
.cred-list .ico { width: 40px; height: 40px; color: var(--teal-light); }
.cred-list b { display: block; color: var(--white); font-weight: 600; margin-bottom: 4px; }
.cred-list span { font-size: .92rem; color: rgba(243, 237, 224, .68); }

/* ---------- Zone d'intervention ---------- */
.zone-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.zone-map { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; justify-self: center; }
.zone-map svg { width: 100%; height: 100%; overflow: visible; }
.zone-map .ring { fill: none; stroke: var(--teal); stroke-width: 1; opacity: .35; }
.zone-map .ring-main { stroke-dasharray: 4 6; opacity: .8; transform-origin: 50% 50%; animation: spin 80s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.zone-map .disc { fill: url(#zoneGrad); }
.zone-map .town circle { fill: var(--slate); }
.zone-map .town text { font-size: 11px; font-weight: 600; fill: var(--slate); letter-spacing: .02em; font-family: var(--font); }
.zone-map .town.major circle { fill: var(--teal-deep); }
.zone-map .home circle.pulse { fill: var(--teal); opacity: .35; transform-origin: center; transform-box: fill-box; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .6; } 100% { transform: scale(3); opacity: 0; } }
.zone-map .home text { font-size: 13px; font-weight: 800; fill: var(--ink); font-family: var(--font); letter-spacing: .06em; }
.towns { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0 34px; }
.towns li { font-size: .78rem; font-weight: 500; padding: 7px 12px; background: var(--white); border: 1px solid var(--line); border-radius: 2px; }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 28px 0; font-size: clamp(1rem, 1.5vw, 1.15rem); font-weight: 600; color: var(--ink); transition: color .3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--teal-deep); }
.faq summary .pm { position: relative; width: 18px; height: 18px; flex: none; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px; background: var(--teal); transition: transform .45s var(--ease); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm::after { transform: rotate(0); }
.faq .answer { padding: 0 60px 30px 0; }
.faq .answer p { font-size: .98rem; }
.faq-dark { border-color: var(--line-dark); }
.faq-dark details { border-color: var(--line-dark); }
.faq-dark summary { color: var(--white); }
.faq-dark summary:hover { color: var(--teal-light); }

/* ---------- CTA final ---------- */
.cta-band { position: relative; background: var(--teal-deep); color: var(--white); overflow: hidden; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -400px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14); z-index: -1; box-shadow: 0 0 0 120px rgba(255, 255, 255, .03), 0 0 0 240px rgba(255, 255, 255, .02); }
.cta-inner { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; padding-block: clamp(70px, 9vw, 120px); }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255, 255, 255, .82); margin-top: 18px; max-width: 52ch; }
.cta-actions { display: flex; flex-direction: column; gap: 14px; }
.cta-actions .btn { width: 100%; }
.cta-band .btn-ghost-light { color: var(--white); border-color: rgba(255, 255, 255, .45); }
.cta-band .btn-ghost-light:hover { color: var(--ink); }

/* ---------- Contenu pages internes ---------- */
.content-grid { display: grid; grid-template-columns: 1fr 340px; gap: clamp(48px, 7vw, 100px); align-items: start; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 64px 0 20px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 34px 0 12px; }
.prose ul.check { margin: 22px 0; display: grid; gap: 12px; }
.prose ul.check li { position: relative; padding-left: 34px; color: var(--text-soft); }
.prose ul.check li::before { content: ""; position: absolute; left: 0; top: .45em; width: 18px; height: 10px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.prose .note { margin-top: 40px; padding: 24px 28px; border-left: 2px solid var(--teal); background: var(--white); font-size: .9rem; }
.prose .note p { font-size: .9rem; }
.summary-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 32px; margin-bottom: 48px; }
.summary-box h2 { font-size: .74rem !important; letter-spacing: .22em; text-transform: uppercase; color: var(--teal-deep); margin: 0 0 14px !important; }
.summary-box p { color: var(--text); }
.steps { counter-reset: step; display: grid; gap: 0; margin: 26px 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 30px 64px; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: -2px; width: 44px; height: 44px; border: 1px solid var(--teal); border-radius: 50%; display: grid; place-items: center; font-size: .78rem; font-weight: 700; color: var(--teal-deep); background: var(--paper); }
.steps li::after { content: ""; position: absolute; left: 22px; top: 46px; bottom: 4px; width: 1px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps b { display: block; color: var(--ink); margin-bottom: 4px; }

.aside-card { position: sticky; top: 100px; background: var(--ink); color: var(--sand); padding: 36px 32px; border-radius: var(--radius); }
.aside-card h3 { color: var(--white); margin-bottom: 12px; }
.aside-card p { color: rgba(243, 237, 224, .72); font-size: .92rem; }
.aside-card dl { margin: 24px 0 28px; display: grid; gap: 0; }
.aside-card dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line-dark); font-size: .84rem; }
.aside-card dt { color: rgba(243, 237, 224, .55); }
.aside-card dd { color: var(--white); font-weight: 600; text-align: right; }
.aside-card .btn { width: 100%; margin-top: 10px; }
.aside-links { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line-dark); }
.aside-links p { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 10px; }
.aside-links a { display: block; padding: 6px 0; font-size: .9rem; color: var(--teal-light); }
.aside-links a:hover { color: var(--white); }

.figure-wide { margin: 44px 0; border-radius: var(--radius); overflow: hidden; position: relative; }
.figure-wide img { width: 100%; }
.figure-wide figcaption { font-size: .78rem; color: var(--mist); padding-top: 12px; background: var(--paper); }

.related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.related a { display: flex; align-items: center; gap: 16px; padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .4s, transform .4s var(--ease); }
.related a:hover { border-color: var(--teal); transform: translateY(-4px); }
.related img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.related b { font-size: .9rem; color: var(--ink); line-height: 1.3; }

/* ---------- Offres QVT ---------- */
.offers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; perspective: 1400px; }
.offer { position: relative; padding: 40px 36px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: rgba(255, 255, 255, .02); transition: border-color .5s, background .5s, transform .6s var(--ease); transform-style: preserve-3d; }
.offer:hover { border-color: rgba(143, 188, 182, .5); background: rgba(103, 156, 150, .06); }
.offer .ico { width: 42px; height: 42px; color: var(--teal-light); margin-bottom: 24px; }
.offer h3 { margin-bottom: 12px; }
.offer .price { margin-top: 22px; font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--sand); display: inline-block; padding: 8px 12px; border: 1px solid var(--line-dark); border-radius: 2px; }
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.benefit { padding: 34px 28px 10px 0; }
.benefit + .benefit { padding-left: 28px; border-left: 1px solid var(--line); }
.benefit b { display: block; font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; color: var(--teal-deep); line-height: 1; margin-bottom: 14px; }
.benefit p { font-size: .92rem; }

/* ---------- Parcours ---------- */
.timeline { position: relative; max-width: 900px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--line); }
.timeline .line-fill { position: absolute; left: 50%; top: 0; width: 1px; height: 0; background: var(--teal); transform: translateX(-.5px); }
.t-item { position: relative; width: 50%; padding: 0 56px 64px 0; text-align: right; }
.t-item:nth-child(even) { margin-left: 50%; padding: 0 0 64px 56px; text-align: left; }
.t-item::before { content: ""; position: absolute; right: -7px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--paper); border: 2px solid var(--teal); z-index: 1; }
.t-item:nth-child(even)::before { right: auto; left: -6px; }
.t-item .when { font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--teal-deep); }
.t-item h3 { margin: 10px 0 10px; }
.t-item p { font-size: .95rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact-cards { display: grid; gap: 14px; margin-top: 34px; }
.contact-card { display: flex; align-items: center; gap: 18px; padding: 20px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .4s, transform .4s var(--ease); }
.contact-card:hover { border-color: var(--teal); transform: translateX(6px); }
.contact-card .ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--sand-soft); color: var(--teal-deep); flex: none; }
.contact-card .ico svg { width: 20px; height: 20px; }
.contact-card small { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--mist); }
.contact-card b { font-weight: 600; color: var(--ink); word-break: break-word; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); }
.form h2 { font-size: 1.6rem; margin-bottom: 8px; }
.form > p { font-size: .92rem; margin-bottom: 28px; }
.field { position: relative; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--slate); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);
  border: 1px solid transparent; border-bottom: 1px solid rgba(44, 62, 80, .25); border-radius: 2px; padding: 14px 16px; transition: border-color .3s, background .3s;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23679c96' stroke-width='1.6'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: var(--white); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #b4553f; }
.hp { position: absolute; left: -9999px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .82rem; color: var(--text-soft); margin: 8px 0 24px; }
.consent input { margin-top: 4px; accent-color: var(--teal); width: 16px; height: 16px; flex: none; }
.consent a { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; }
.form .btn { width: 100%; }
.form-status { margin-top: 16px; font-size: .9rem; min-height: 1.4em; }
/* Confirmation après envoi (traitement.php renvoie vers contact.php?success=1#contact) */
.anchor { display: block; position: relative; top: -120px; visibility: hidden; }
.form-success { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 26px; padding: 18px 20px; border-left: 3px solid var(--teal); background: rgba(103,156,150,.1); border-radius: var(--radius); }
.form-success .ico { width: 26px; height: 26px; flex: none; color: var(--teal); }
.form-success b { display: block; color: var(--ink); margin-bottom: 2px; }
.form-success span { font-size: .92rem; }

/* ---------- Legal ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.4rem; margin: 48px 0 14px; }
.legal p, .legal li { font-size: .96rem; color: var(--text-soft); }
.legal ul { margin: 12px 0 0 18px; list-style: disc; }
.legal a { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(243, 237, 224, .7); padding: clamp(70px, 9vw, 110px) 0 0; position: relative; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 64px; }
.footer .brand { margin-bottom: 22px; }
.footer p { font-size: .9rem; color: rgba(243, 237, 224, .6); max-width: 34ch; }
.footer h3 { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--teal-light); margin-bottom: 22px; font-weight: 700; }
.footer li { margin-bottom: 10px; font-size: .9rem; }
.footer li a { transition: color .3s; }
.footer li a:hover { color: var(--white); }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-dark); border-radius: 50%; color: var(--sand); transition: background .4s, color .4s, border-color .4s; }
.socials a:hover { background: var(--teal); border-color: var(--teal); color: var(--white); }
.socials svg { width: 18px; height: 18px; }
.footer-word { font-size: clamp(4rem, 17vw, 15rem); font-weight: 800; letter-spacing: -.05em; line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(143, 188, 182, .16); text-align: center; user-select: none; margin-bottom: -.12em; white-space: nowrap; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding: 24px 0 28px; border-top: 1px solid var(--line-dark); font-size: .76rem; color: rgba(243, 237, 224, .5); position: relative; background: var(--ink); }
.footer-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--sand); }

/* ---------- Boutons flottants mobile ---------- */
.float-cta { position: fixed; right: 18px; bottom: 18px; z-index: 800; display: flex; flex-direction: column; gap: 10px; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .4s, transform .5s var(--ease); }
.float-cta.show { opacity: 1; transform: none; pointer-events: auto; }
.float-cta a { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(17, 26, 35, .5); transition: transform .3s var(--ease); }
.float-cta a:hover { transform: scale(1.08); }
.float-cta .wa { background: #25d366; color: #fff; }
.float-cta .tel { background: var(--ink); color: var(--sand); }
.float-cta svg { width: 22px; height: 22px; }

/* ---------- Animations au scroll ---------- */
.js [data-reveal] { opacity: 0; transition: opacity 1.1s var(--ease-out), transform 1.2s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal="up"] { transform: translate3d(0, 50px, 0); }
.js [data-reveal="tilt"] { transform: perspective(1200px) rotateX(14deg) translate3d(0, 70px, -40px); transform-origin: 50% 100%; }
.js [data-reveal="left"] { transform: translate3d(-60px, 0, 0); }
.js [data-reveal="right"] { transform: translate3d(60px, 0, 0); }
.js [data-reveal="zoom"] { transform: scale(.92); }
.js [data-reveal="mask"] { clip-path: inset(0 0 100% 0); transform: translate3d(0, 30px, 0); transition: clip-path 1.4s var(--ease-out), transform 1.4s var(--ease-out), opacity .6s; }
.js [data-reveal].is-in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i) * 55ms + var(--d, 0s)); }
.split.is-in .w > span { transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
}
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service-card, .service-card:nth-child(4), .service-card:nth-child(5) { grid-column: span 1; }
  .service-card:nth-child(5) { grid-column: span 2; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .related { grid-template-columns: 1fr 1fr; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .benefit:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 880px) {
  :root { --header-h: 72px; }
  .intro-grid, .approach-grid, .cred-grid, .zone-grid, .content-grid, .contact-grid, .cta-inner, .section-head-split, .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-media { display: none; }
  .audience { grid-template-columns: 1fr; }
  .audience-item, .audience-item + .audience-item { padding: 40px 0; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .values { grid-template-columns: 1fr 1fr; }
  .portrait { max-width: 460px; margin: 0 auto 0 22px; }
  .portrait-badge { right: -10px; }
  .cred-stack { min-height: 420px; }
  .aside-card { position: static; }
  .offers { grid-template-columns: 1fr; }
  .timeline::before, .timeline .line-fill { left: 6px; }
  .t-item, .t-item:nth-child(even) { width: 100%; margin: 0; padding: 0 0 48px 40px; text-align: left; }
  .t-item::before, .t-item:nth-child(even)::before { left: 0; right: auto; }
  .hero-logo { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero-proof { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .hero-proof div { padding-right: 18px; margin-right: 18px; }
  .hero-proof div:nth-child(2) { border: 0; }
  .hero-proof div:last-child { grid-column: span 2; }
  .hero-actions .btn { width: 100%; }
  .scroll-cue { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card:nth-child(5) { grid-column: span 1; }
  .values { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .related { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .benefit + .benefit { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .faq .answer { padding-right: 0; }
  .brand-text { display: none; }
  .cred-stack { min-height: 330px; }
  .approach-media .stat b { font-size: 2.1rem; }
}

/* ==========================================================
   Expérience immersive (accueil) : hero vivant, rythme, séquence, finale
   Pilotée par assets/immersive.js
   ========================================================== */
.hero-fluid { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: 0; transition: opacity 1.8s var(--ease); }
.hero-fluid.is-live { opacity: .85; mix-blend-mode: screen; }   /* ajoute la lumière sans masquer les rayons de la photo d'origine */
.hero-inner { will-change: opacity, transform; }

/* Scène 2 : le rythme */
.rhythm { position: relative; height: 300vh; background: var(--ink); color: var(--sand); }
.rhythm-stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.rhythm-wave { position: absolute; left: 0; width: 100%; top: 70%; height: 26vh; transform: translateY(-50%); opacity: .6; }
.rhythm-wave path { fill: none; stroke: var(--teal); stroke-width: 1.4; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgba(103, 156, 150, .55)); }
.rhythm-text { position: relative; z-index: 1; margin-top: -8vh; }
.rhythm-text .eyebrow { color: var(--teal-light); margin-bottom: 30px; }
.rhythm-line { font-size: clamp(1.7rem, 4.4vw, 3.6rem); font-weight: 700; color: var(--white); letter-spacing: -.03em; line-height: 1.12; opacity: 0; will-change: opacity, transform, filter; }
.rhythm-line + .rhythm-line { margin-top: .22em; }
.rhythm-line .thin { color: var(--sand); }
.rhythm-line.rhythm-ask { margin-top: .75em; color: var(--teal-light); }

/* Scène 4 : la séquence « le mouvement vers l'équilibre » */
.experience { position: relative; height: 520vh; background: var(--ink); --fh: min(78vh, 760px); }
.xp-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; }
.xp-fluid { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; background: radial-gradient(120% 90% at 30% 40%, var(--slate), var(--ink)); }
.xp-calm { position: absolute; inset: 0; z-index: 1; clip-path: inset(100% 0 0 0); }
.xp-calm img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 100%; }
.xp-calm::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(248, 246, 241, .94) 0%, rgba(248, 246, 241, .6) 48%, rgba(248, 246, 241, .12) 100%); }
.xp-frame {
  position: absolute; z-index: 2; top: 50%; right: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  height: var(--fh); width: calc(var(--fh) * .75); margin-top: calc(var(--fh) / -2);
  overflow: hidden; border-radius: var(--radius); clip-path: circle(0% at 54% 58%); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6);
}
.xp-photo, .xp-photo img { width: 100%; height: 100%; }
.xp-photo img { object-fit: cover; transform-origin: 54% 58%; transform: scale(2.1); will-change: transform; }
.xp-tint { position: absolute; inset: 0; background: linear-gradient(160deg, #1b3a44, var(--ink)); mix-blend-mode: color; opacity: .88; }
.xp-captions { position: absolute; inset: 0; margin: auto; z-index: 3; display: flex; align-items: center; pointer-events: none; }
.xp-cap { position: absolute; max-width: 30rem; opacity: 0; }
.xp-cap .n { display: flex; align-items: center; gap: 14px; font-size: .7rem; font-weight: 700; letter-spacing: .3em; color: var(--teal-light); margin-bottom: 18px; }
.xp-cap .n::after { content: ""; width: 40px; height: 1px; background: currentColor; }
.xp-cap h2 { color: var(--white); font-size: clamp(2.2rem, 5vw, 4.4rem); }
.xp-cap p { margin-top: 18px; font-size: 1.08rem; color: rgba(243, 237, 224, .8); max-width: 26rem; }
.experience.is-bright .xp-cap h2 { color: var(--ink); }
.experience.is-bright .xp-cap p { color: var(--text-soft); }
.experience.is-bright .xp-cap .n { color: var(--teal-deep); }
.xp-rail { position: absolute; z-index: 3; left: 0; right: 0; bottom: 34px; margin: 0 auto; width: min(var(--wrap), 100%); padding: 0 var(--gutter); }
.xp-rail::before, .xp-rail .fill { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 0; height: 1px; }
.xp-rail::before { background: rgba(243, 237, 224, .14); }
.xp-rail .fill { background: var(--teal); transform-origin: left; transform: scaleX(0); }
.xp-rail ol { display: flex; gap: clamp(14px, 3vw, 44px); padding-top: 14px; font-size: .62rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: rgba(243, 237, 224, .38); }
.xp-rail li { transition: color .4s var(--ease); }
.xp-rail li.on { color: var(--teal-light); }
.experience.is-bright .xp-rail ol { color: rgba(17, 26, 35, .32); }
.experience.is-bright .xp-rail li.on { color: var(--teal-deep); }
.experience.is-bright .xp-rail::before { background: rgba(17, 26, 35, .12); }
.xp-end { position: absolute; z-index: 4; inset: 0; margin: auto; width: min(var(--wrap), 100%); padding: 0 var(--gutter); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; opacity: 0; pointer-events: none; }
.xp-end .eyebrow { color: var(--teal-deep); }
.xp-end h2 { color: var(--ink); font-size: clamp(2.4rem, 6vw, 5rem); max-width: 13ch; margin: 22px 0 34px; }

/* Scène 10 : la conversion */
.finale { position: relative; overflow: hidden; isolation: isolate; background: var(--paper); padding: clamp(110px, 16vw, 220px) 0; text-align: center; }
.finale-glow { position: absolute; z-index: -1; width: 120vmax; height: 120vmax; left: 50%; top: 50%; margin: -60vmax 0 0 -60vmax; background: radial-gradient(circle at center, rgba(103, 156, 150, .26), rgba(103, 156, 150, 0) 55%); animation: finaleGlow 18s ease-in-out infinite alternate; }
@keyframes finaleGlow { from { transform: translate3d(-8%, 4%, 0) scale(.9); } to { transform: translate3d(8%, -4%, 0) scale(1.08); } }
.finale-inner { display: flex; flex-direction: column; align-items: center; }
.finale .eyebrow { color: var(--teal-deep); }
.finale h2 { font-size: clamp(2.6rem, 7vw, 5.6rem); color: var(--ink); margin: 22px 0; }
.finale .lead { max-width: 48ch; color: var(--text-soft); }
.finale-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 40px; }
.finale-phone { display: inline-flex; gap: 10px; align-items: center; margin-top: 30px; font-weight: 700; letter-spacing: .08em; color: var(--teal-deep); }
.finale-phone svg { width: 18px; height: 18px; }

@media (max-width: 880px) {
  .rhythm { height: 260vh; }
  .experience { height: 440vh; --fh: min(52svh, 120vw); }
  .xp-frame { top: calc(var(--header-h) + 8px); margin-top: 0; right: auto; left: 50%; margin-left: calc(var(--fh) * -.375); }
  .xp-captions { align-items: flex-end; padding-bottom: 96px; padding-right: 76px; }   /* place pour les boutons flottants */
  .xp-rail { padding-right: 76px; }
  .xp-rail::before, .xp-rail .fill { right: 76px; }
  .xp-cap h2 { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .xp-cap p { margin-top: 10px; font-size: .98rem; }
  .xp-cap .n { margin-bottom: 10px; }
  .xp-rail ol { justify-content: space-between; gap: 6px; font-size: .52rem; letter-spacing: .14em; }
  .xp-calm::after { background: linear-gradient(0deg, rgba(248, 246, 241, .95) 0%, rgba(248, 246, 241, .55) 60%, rgba(248, 246, 241, .2) 100%); }
  .finale-actions .btn { width: 100%; }
}

/* Mouvement réduit : les scènes deviennent des sections classiques */
.xp-static .rhythm, .xp-static .experience { height: auto; }
.xp-static .rhythm-stage, .xp-static .xp-stage { position: relative; height: auto; padding: var(--section) 0; }
.xp-static .rhythm-line { opacity: 1; }
.xp-static .rhythm-text { margin-top: 0; }
.xp-static .rhythm-wave, .xp-static .xp-tint, .xp-static .xp-calm, .xp-static .xp-rail { display: none; }
.xp-static .xp-frame { position: relative; top: auto; right: auto; left: auto; margin: 0 auto 60px; clip-path: none; }
.xp-static .xp-photo img { transform: none; }
.xp-static .xp-captions { position: relative; inset: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 34px; }
.xp-static .xp-cap { position: static; opacity: 1; }
.xp-static .xp-cap h2 { font-size: 1.6rem; }
.xp-static .xp-end { position: relative; inset: auto; opacity: 1; pointer-events: auto; margin: 70px auto 0; }
.xp-static .xp-end h2 { color: var(--white); }
.xp-static .xp-end .eyebrow { color: var(--teal-light); }

/* ==========================================================
   Formes douces : la détente par la forme
   Vocabulaire : arche (accueil, sérénité), galet (matière, nature),
   feuille (souplesse), panneaux flottants (sections sombres). Boutons et cartes restent nets.
   ========================================================== */
:root {
  --radius: 4px;            /* boutons et cartes restent nets */
  --radius-lg: 4px;
  --arch: 999px 999px 26px 26px;
  --leaf: 120px 22px 120px 22px;
  --galet-a: 58% 42% 46% 54% / 46% 52% 48% 54%;
  --galet-b: 44% 56% 55% 45% / 56% 44% 56% 44%;
  --galet-c: 52% 48% 40% 60% / 42% 58% 46% 54%;
  --panel-m: clamp(8px, 1.6vw, 24px);
  --panel-r: clamp(28px, 4vw, 64px);
}
@keyframes galet { 0% { border-radius: var(--galet-a); } 50% { border-radius: var(--galet-b); } 100% { border-radius: var(--galet-c); } }

/* Arches */
.portrait-frame, .portrait::before { border-radius: var(--arch); }
.portrait-badge { border-radius: var(--radius); }
.page-hero-media img, .page-hero-media::before { border-radius: var(--arch); }
.xp-frame { border-radius: var(--arch); }

/* Galet vivant : la photo de séance respire lentement */
.approach-media figure { border-radius: var(--galet-a); animation: galet 16s ease-in-out infinite alternate; }
.approach-media .stat { border-radius: var(--radius); }

/* Cartes prestations : coins doux, vignette en galet qui se transforme au survol */
.service-card a { border-radius: var(--radius-lg); }
.service-card .thumb { border-radius: var(--galet-a); transition: border-radius 1.1s var(--ease), transform .8s var(--ease); }
.service-card a:hover .thumb { border-radius: var(--galet-b); transform: rotate(-4deg) scale(1.04); }

/* Formation : la feuille et le galet */
.cred-stack .c1 { border-radius: var(--radius-lg); }
.cred-stack .c2 { border-radius: var(--leaf); }
.cred-stack .c2 figcaption { padding-right: 96px; }
/* Galerie terrain (massage sportif) : trois photos, celle du milieu en arche */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 44px 0; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.gallery img:nth-child(2) { border-radius: var(--arch); }
.gallery figcaption { grid-column: 1 / -1; font-size: .88rem; color: var(--text-soft); margin-top: 4px; }
.gallery figcaption b { color: var(--teal-deep); letter-spacing: .08em; text-transform: uppercase; font-size: .74rem; margin-right: 6px; }
@media (max-width: 600px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery img:nth-child(1) { grid-column: 1 / -1; aspect-ratio: 4 / 5; } }
/* Petite photo d'origine (250 px) : affichée à sa taille réelle pour rester nette */
.figure-foot { display: flex; align-items: center; gap: 22px; margin: 40px 0; }
.figure-foot img { width: 180px; height: 180px; object-fit: cover; border-radius: var(--galet-a); flex: none; }
.figure-foot figcaption { font-size: .88rem; color: var(--text-soft); max-width: 28ch; }
/* Références QVT */
.refs { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.refs ul { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 16px; }
.refs li { padding-left: 14px; border-left: 2px solid var(--teal); }
.refs b { display: block; color: var(--ink); }
.refs li span { font-size: .85rem; color: var(--text-soft); }
@media (max-width: 600px) { .refs ul { grid-template-columns: 1fr; } }
.cred-link { margin: 26px 0 0 auto; max-width: 78%; padding-left: 18px; border-left: 1px solid rgba(143, 188, 182, .45); }
.cred-link p { font-size: .9rem; line-height: 1.6; margin-bottom: 12px; }
.cred-link .link-arrow { color: var(--teal-light); }
@media (max-width: 880px) { .cred-link { max-width: none; } }
.approach-media { grid-template-columns: 1.35fr .9fr; }
.figure-wide { border-radius: var(--radius-lg); }

/* Valeurs : la grille de lignes devient des cartes douces */
.values { gap: 18px; border: 0; }
.value { border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .45); transition: background .5s var(--ease), transform .6s var(--ease), box-shadow .6s var(--ease); }
.value::before { display: none; }
.value:hover { background: var(--white); transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(17, 26, 35, .35); }
.value .n { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: var(--galet-a); background: rgba(103, 156, 150, .14); color: var(--teal-deep); letter-spacing: .08em; }

/* Publics : trois cartes translucides au lieu de colonnes séparées par des traits */
.audience { gap: 18px; border-top: 0; }
.audience-item, .audience-item + .audience-item, .audience-item:last-child {
  padding: 40px 34px 36px; border: 1px solid var(--line-dark); border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .03); transition: background .5s var(--ease), border-color .5s var(--ease), transform .6s var(--ease);
}
.audience-item:hover { background: rgba(103, 156, 150, .09); border-color: rgba(143, 188, 182, .35); transform: translateY(-6px); }
.audience-item .ico { width: 64px; height: 64px; padding: 14px; border-radius: var(--galet-a); background: rgba(103, 156, 150, .14); }

/* Sections sombres : panneaux flottants aux angles généreux */
.section-dark, .quote-band, .cta-band { margin-inline: var(--panel-m); border-radius: var(--panel-r); overflow: hidden; }
.section-dark + .section-dark, .section-dark + .quote-band, .quote-band + .section-dark { margin-top: var(--panel-m); }
.page-hero { border-radius: 0 0 var(--panel-r) var(--panel-r); }
.footer { border-radius: var(--panel-r) var(--panel-r) 0 0; margin-top: var(--panel-m); }

/* Encadrés, formulaires, contacts */
.aside-card, .summary-box, .offer, .form, .contact-card, .related a, .form-success { border-radius: var(--radius-lg); }
.contact-card .ico, .related img { border-radius: var(--galet-a); }

@media (max-width: 880px) {
  .audience { gap: 14px; }
  .audience-item, .audience-item + .audience-item { border-bottom: 1px solid var(--line-dark); }
  .cred-stack .c2 { border-radius: 80px 18px 80px 18px; }
  .cred-stack .c2 figcaption { padding-right: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .split .w > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}
