/* ============================================================
   FIT-TRI · coaching triathlon · Michael Lecuivre
   Palette : marine profond (fond des bandes), lime en accent, gris froid clair pour le fond.
   Typographie : Barlow Condensed (titres) + Barlow (texte, interface).
   Le signe : la ligne de crête / la ligne d'arrivée.
   ============================================================ */

:root {
  --encre: #0d1526;
  --nuit: #0a1020;
  --creme: #f4f6f8;
  --creme-2: #e6eaf0;
  --blanc: #ffffff;
  --poudre: #54b1df;
  --lime: #54b1df;
  --lime-2: #0874c9;
  --poudre-pale: #e3f3fc;
  --sable: #dfe5ec;
  --terre: #1e6fd9;
  --terre-2: #144e9c;
  --gris: #5b6472;
  --ligne: rgba(13, 21, 38, 0.14);
  --ligne-nuit: rgba(244, 246, 248, 0.18);
  --fond: var(--creme);

  --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-text: "Barlow", "Helvetica Neue", Arial, sans-serif;

  --t-hero: clamp(2.6rem, 6.6vw, 6.8rem);
  --t-h2: clamp(2rem, 4.4vw, 4.4rem);
  --t-h3: clamp(1.3rem, 1.8vw, 1.7rem);
  --t-lead: clamp(1.05rem, 1.25vw, 1.2rem);
  --t-body: 1.02rem;
  --t-small: 0.88rem;

  --gutter: clamp(20px, 5vw, 80px);
  --section: clamp(72px, 9vw, 130px);
  --header-h: 84px;
  --radius: 8px;
  --radius-sm: 6px;
  --max: 1400px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ombre: 0 30px 70px -30px rgba(13, 21, 38, 0.35);
}
body[data-fond="froid"] { --fond: #e9eef4; }
body[data-fond="clair"] { --fond: var(--creme); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fond); color: var(--encre); font-family: var(--font-text); font-size: var(--t-body); font-weight: 400; line-height: 1.65; -webkit-font-smoothing: antialiased; transition: background-color 1.2s var(--ease); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
b, strong { font-weight: 500; }
::selection { background: var(--poudre); color: var(--encre); }
:focus-visible { outline: 2px solid var(--terre); outline-offset: 4px; border-radius: 3px; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 100; padding: 0.8rem 1.2rem; border-radius: 999px; background: var(--encre); color: var(--creme); font-weight: 500; transition: top 0.2s; }
.skip:focus { top: 1rem; }

/* Typographie */
h1, h2, h3, .display { font-family: var(--font-display); font-weight: 700; text-wrap: balance; margin: 0; letter-spacing: 0.005em;  overflow-wrap: anywhere; }
h1 { font-size: var(--t-hero); line-height: 0.92; text-transform: uppercase; }
h2 { font-size: var(--t-h2); line-height: 0.96; text-transform: uppercase; }
h3 { font-size: var(--t-h3); line-height: 1.2; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--terre); font-weight: 600; }
.band-nuit h1 em, .band-nuit h2 em { color: var(--lime); }
p { margin: 0; }
.lead { font-size: var(--t-lead); line-height: 1.6; color: var(--gris); max-width: 36em; text-wrap: pretty; }
.prose { max-width: 62ch; text-wrap: pretty; }
.prose p + p { margin-top: 1em; }
.small { font-size: var(--t-small); }
.muted { color: var(--gris); }
.kicker { display: flex; align-items: center; gap: 12px; font-family: var(--font-text); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--terre); margin-bottom: 18px; line-height: 1.3; }
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--lime); flex: none; }
.band-nuit .kicker { color: var(--lime); }
h2 .kicker { margin-bottom: 16px; }

/* Boutons */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 0.6em; min-height: 54px; padding: 0.9em 1.8em; border: 0; border-radius: var(--radius-sm); background: var(--encre); color: var(--creme); font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1; cursor: pointer; transition: color 0.35s, transform 0.35s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--terre); transform: translateY(102%); transition: transform 0.45s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:active { transform: scale(0.97); }
.btn-lime { background: var(--lime); color: var(--encre); }
.btn-lime::before { background: var(--creme); }
.btn-ghost { background: transparent; color: var(--encre); box-shadow: inset 0 0 0 1px var(--ligne); }
.btn-ghost::before { background: var(--blanc); }
.band-nuit .btn-ghost, .hero .btn-ghost, .cta-carte .btn-ghost { color: var(--creme); box-shadow: inset 0 0 0 1px var(--ligne-nuit); }
.band-nuit .btn-ghost::before, .hero .btn-ghost::before, .cta-carte .btn-ghost::before { background: rgba(247, 242, 236, 0.12); }
.btn .fl { display: inline-block; transition: transform 0.4s var(--ease); }
.btn:hover .fl { transform: translateX(4px); }
.link { display: inline-block; position: relative; font-weight: 600; font-size: 0.92rem; letter-spacing: 0.06em; text-transform: uppercase; padding-bottom: 3px; background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-size: 100% 1px; background-position: 0 100%; transition: background-size 0.4s var(--ease); }
.link:hover { background-size: 30% 1px; }

/* Grille */
.container { width: min(var(--max), 100%); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.5vw, 40px); row-gap: 18px; margin-bottom: clamp(40px, 5vw, 72px); align-items: end; }
.section-head h2 { grid-column: 1 / 9; }
.section-head .lead { grid-column: 1 / 8; }
.section-head .head-side { grid-column: 9 / -1; justify-self: end; align-self: end; }
.band-blanc { background: rgba(252, 250, 247, 0.55); }
.band-nuit { background: var(--nuit); color: var(--creme); }
.band-nuit .lead, .band-nuit .muted { color: rgba(247, 242, 236, 0.72); }
.deux-col { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(28px, 6vw, 96px); align-items: center; }
.col-txt h2 + .lead { margin-top: 18px; }
.col-txt .hero-actions { margin-top: 30px; }
.histoire { align-items: start; grid-template-columns: 7fr 5fr; }
.histoire .col-visuel { padding-top: 40px; }

/* En-tête */
.header { position: fixed; inset: 0 0 auto 0; z-index: 40; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-inline: var(--gutter); color: var(--creme); transition: transform 0.5s var(--ease), background-color 0.35s, box-shadow 0.35s, height 0.35s, color 0.35s; }
.header.is-light { color: var(--encre); }
.header.is-scrolled { height: 70px; color: var(--encre); background: rgba(247, 242, 236, 0.86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--ligne); }
@supports (background: color-mix(in srgb, red 50%, transparent)) { .header.is-scrolled { background: color-mix(in srgb, var(--fond) 84%, transparent); } }
.header.is-hidden { transform: translateY(-100%); }
.brand { display: inline-flex; align-items: center; gap: 12px; position: relative; z-index: 2; }
.brand .mark { width: 36px; height: 36px; }
.brand .name { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; letter-spacing: 0.06em; line-height: 1; }
.brand small { display: block; font-size: 0.66rem; opacity: 0.75; margin-top: 4px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 32px); }
.nav-links { display: flex; gap: clamp(14px, 1.8vw, 30px); }
.nav-links a { position: relative; font-weight: 600; font-size: 0.86rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--lime); transition: right 0.35s var(--ease); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }
.nav .btn { min-height: 44px; padding: 0.7em 1.3em; font-size: 1rem; }
.header:not(.is-scrolled):not(.is-light) .nav .btn { background: var(--lime); color: var(--encre); }
.header:not(.is-scrolled):not(.is-light) .nav .btn::before { background: var(--creme); }
.menu-btn { display: none; position: relative; z-index: 2; width: 48px; height: 48px; border: 1px solid currentColor; border-radius: 50%; background: transparent; cursor: pointer; opacity: 0.85; }
.menu-btn i { position: absolute; left: 14px; right: 14px; height: 1px; background: currentColor; transition: transform 0.4s var(--ease), top 0.4s var(--ease); }
.menu-btn i:first-child { top: 18px; } .menu-btn i + i { top: 28px; }
.menu-btn[aria-expanded="true"] i:first-child { top: 23px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i + i { top: 23px; transform: rotate(-45deg); }
.nav-panel { display: none; }

/* Photos */
.photo { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--creme-2); margin: 0; }
.photo.portrait { aspect-ratio: 4 / 5; }
.photo.paysage { aspect-ratio: 3 / 2; }
.photo.bande { aspect-ratio: 21 / 9; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.photo:hover img { transform: scale(1.03); }
.photo .cap { position: absolute; left: 14px; bottom: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(247, 242, 236, 0.85); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gris); font-weight: 500; }
.has-bg { position: relative; isolation: isolate; overflow: hidden; }
.has-bg .bg { position: absolute; inset: 0; z-index: -1; }
.has-bg .bg img { width: 100%; height: 100%; object-fit: cover; }

/* Le manifeste : un texte qui s'éclaire au défilement */
.lumiere { font-family: var(--font-display); font-size: clamp(1.7rem, 3.2vw, 3.1rem); font-weight: 500; line-height: 1.2; max-width: 30em; text-wrap: pretty; }
.lumiere span { opacity: 0.22; transition: opacity 0.35s linear; }
.lumiere span.is-lit { opacity: 1; }
.manifeste-pied { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 36px; font-size: 0.92rem; }

/* Barre de progression de lecture */
.progression { position: fixed; left: 0; right: 0; top: 0; z-index: 60; height: 3px; pointer-events: none; }
.progression i { display: block; height: 100%; width: 100%; background: var(--lime); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* Hero : la photo, les lignes de vitesse, les chiffres */
.hero { position: relative; isolation: isolate; min-height: 100svh; display: flex; align-items: flex-end; padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(56px, 8vw, 110px); color: var(--creme); background: var(--nuit); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.75; animation: hero-zoom 16s var(--ease) both; will-change: transform; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 16, 32, 0.5) 0%, rgba(10, 16, 32, 0.25) 30%, rgba(10, 16, 32, 0.7) 65%, rgba(10, 16, 32, 0.95) 100%), linear-gradient(90deg, rgba(10, 16, 32, 0.5) 0%, rgba(10, 16, 32, 0) 60%); }
.hero-bg .lignes { position: absolute; inset: -20%; background: repeating-linear-gradient(115deg, transparent 0 140px, rgba(84, 177, 223, 0.08) 140px 142px, transparent 142px 260px); animation: lignes 14s linear infinite; }
@keyframes lignes { to { transform: translateX(-260px); } }
.hero .container { width: 100%; }
.hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 4vw, 64px); align-items: end; }
.hero-copy > * { animation: fade 1.1s var(--ease) both; }
.hero-copy > *:nth-child(2) { animation-delay: 0.1s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.45s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.6s; }
.hero h1 { max-width: 9.5em; text-transform: uppercase; }
.hero h1 em { color: var(--lime); font-style: italic; }
.hero .kicker { color: var(--lime); }
.hero-lead { margin-top: clamp(20px, 2.4vw, 30px); font-size: var(--t-lead); line-height: 1.6; color: rgba(244, 246, 248, 0.85); max-width: 34em; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: clamp(24px, 3vw, 36px); }
.hero-chiffres { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; animation: fade 1s var(--ease) 0.8s both; }
.hero-chiffres li { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding: 14px 18px; border-radius: var(--radius); background: rgba(10, 16, 32, 0.55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px var(--ligne-nuit); }
.hero-chiffres b { font-family: var(--font-display); font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 700; line-height: 1; color: var(--lime); min-width: 3.2em; }
.hero-chiffres b small { font-size: 0.55em; }
.hero-chiffres span { font-size: 0.88rem; color: rgba(244, 246, 248, 0.8); }
@keyframes hero-zoom { from { transform: scale(1.1); } to { transform: none; } }

/* Bandeau défilant */
.marquee { overflow: hidden; background: var(--lime); color: var(--encre); padding-block: 12px; }
.marquee-track { display: flex; width: max-content; align-items: center; gap: 28px; animation: marquee 40s linear infinite; font-family: var(--font-display); font-size: clamp(1.2rem, 1.8vw, 1.7rem); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track i { width: 8px; height: 8px; border-radius: 50%; background: var(--encre); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Piliers */
.piliers { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px); margin-top: clamp(36px, 4vw, 56px); }
.piliers.cinq { grid-template-columns: repeat(5, 1fr); margin-top: 0; }
.pilier { display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 2px solid var(--encre); }
.pilier .num { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--terre); }
.pilier h3 { font-size: 1.5rem; text-transform: uppercase; }
.pilier p { color: var(--gris); font-size: 0.95rem; }

/* Curseur de volume et formules */
.curseur { display: grid; gap: 14px; padding: clamp(22px, 2.6vw, 32px); border-radius: var(--radius); background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--ligne-nuit); margin-bottom: clamp(28px, 3vw, 44px); }
.section:not(.band-nuit) .curseur { background: var(--blanc); box-shadow: 0 1px 0 var(--ligne); }
.curseur label { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; text-transform: uppercase; }
.curseur-ligne { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.curseur input[type="range"] { width: 100%; accent-color: var(--lime); height: 4px; }
.curseur output { font-family: var(--font-display); font-size: 1.6rem; white-space: nowrap; }
.curseur output b { font-size: 1.4em; color: var(--lime); }
.section:not(.band-nuit) .curseur output b { color: var(--terre); }
.curseur-res { font-size: 1rem; }
.curseur-res .reco { color: var(--lime); text-transform: uppercase; font-family: var(--font-display); font-size: 1.2em; }
.section:not(.band-nuit) .curseur-res .reco { color: var(--terre); }
.formules-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.formule-mini { display: grid; gap: 8px; align-content: start; padding: clamp(22px, 2.6vw, 32px); border-radius: var(--radius); background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--ligne-nuit); transition: transform 0.5s var(--ease), box-shadow 0.5s, background 0.5s; }
.formule-mini:hover, .formule-mini.is-reco { background: rgba(255, 255, 255, 0.1); transform: translateY(-4px); box-shadow: inset 0 0 0 2px var(--lime); }
.formule-mini .kicker { margin-bottom: 4px; }
.formule-mini h3 { font-size: 2rem; text-transform: uppercase; }
.formule-mini .prix { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; line-height: 1; color: var(--lime); }
.formule-mini .prix small { font-size: 0.5em; font-weight: 500; color: rgba(244, 246, 248, 0.7); }
.formule-mini p:last-child { color: rgba(244, 246, 248, 0.75); font-size: 0.94rem; }
.formules { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); align-items: start; }
.formule { position: relative; display: grid; gap: 14px; align-content: start; padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); background: var(--blanc); box-shadow: 0 1px 0 var(--ligne); transition: box-shadow 0.5s; }
.formule.is-reco, .formule:hover { box-shadow: 0 0 0 2px var(--terre), var(--ombre); }
.formule.is-star { background: var(--encre); color: var(--creme); }
.formule .tag { position: absolute; top: -14px; left: clamp(24px, 3vw, 40px); padding: 6px 12px; border-radius: 999px; background: var(--lime); color: var(--encre); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }
.formule-nom { font-family: var(--font-display); font-size: clamp(2.2rem, 3vw, 3rem); font-weight: 700; line-height: 1; text-transform: uppercase; }
.formule-pour { color: var(--gris); font-size: 0.94rem; }
.formule.is-star .formule-pour { color: rgba(244, 246, 248, 0.7); }
.formule-prix { font-family: var(--font-display); font-size: clamp(2.6rem, 3.6vw, 3.6rem); font-weight: 700; line-height: 1; color: var(--terre); }
.formule.is-star .formule-prix { color: var(--lime); }
.formule-prix small { font-size: 0.42em; font-weight: 500; color: var(--gris); margin-left: 4px; }
.formule.is-star .formule-prix small { color: rgba(244, 246, 248, 0.7); }
.qa { margin: 8px 0 0; display: grid; }
.qa div { padding: 12px 0; border-top: 1px solid var(--ligne); }
.formule.is-star .qa div { border-color: var(--ligne-nuit); }
.qa dt { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--terre); font-weight: 600; margin-bottom: 4px; }
.formule.is-star .qa dt { color: var(--lime); }
.qa dd { margin: 0; font-size: 0.93rem; }
.formule-extras { margin: 0; padding: 12px 0 0; list-style: none; display: grid; gap: 6px; font-size: 0.93rem; border-top: 1px solid var(--ligne); }
.formule.is-star .formule-extras { border-color: var(--ligne-nuit); }
.formule-extras li { position: relative; padding-left: 20px; }
.formule-extras li::before { content: "+"; position: absolute; left: 0; top: 0; color: var(--terre); font-weight: 700; }
.formule.is-star .formule-extras li::before { color: var(--lime); }
.formule-note { font-size: 0.82rem; color: var(--gris); }
.formule.is-star .formule-note { color: rgba(244, 246, 248, 0.65); }
.formule .btn { margin-top: 8px; }
.formule.is-star .btn { background: var(--lime); color: var(--encre); }
.formule.is-star .btn::before { background: var(--creme); }
.power { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(28px, 4vw, 56px); border-radius: var(--radius); background: var(--encre); color: var(--creme); box-shadow: var(--ombre); }
.power .tag { display: inline-block; margin-bottom: 14px; padding: 6px 12px; border-radius: 999px; background: var(--lime); color: var(--encre); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }
.power h2 em { color: var(--lime); }
.power .lead { color: rgba(244, 246, 248, 0.78); margin-top: 12px; }
.power-prix { display: grid; gap: 14px; }
.power-prix p { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--ligne-nuit); }
.power-prix b { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; line-height: 1; color: var(--lime); }
.power-prix span { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; }
.tarifs { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.tarifs th, .tarifs td { padding: 16px 12px; text-align: left; border-bottom: 1px solid var(--ligne); vertical-align: top; }
.tarifs th { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gris); font-weight: 600; }
.tarifs td { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.tarifs td b { font-size: 1.6rem; font-weight: 700; text-transform: uppercase; }
.tarifs td span { display: block; font-family: var(--font-text); font-size: 0.85rem; font-weight: 400; color: var(--gris); }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); }
.services.deux { grid-template-columns: repeat(2, 1fr); }
.service { display: grid; gap: 14px; align-content: start; }
.service .photo { aspect-ratio: 4 / 3; }
.service-txt { display: grid; gap: 6px; }
.service-txt h3 { font-size: 1.6rem; text-transform: uppercase; }
.service-txt p { color: var(--gris); font-size: 0.93rem; }
.prix-ligne { display: inline-block; margin-top: 6px; margin-right: 22px; font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--terre); text-transform: uppercase; }
.services-detail { display: grid; gap: clamp(28px, 4vw, 56px); }
.service-detail { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(20px, 3vw, 48px); align-items: center; padding: clamp(20px, 2.6vw, 32px); border-radius: var(--radius); background: var(--blanc); box-shadow: 0 1px 0 var(--ligne); }
.service-detail:nth-child(even) .photo { order: 2; }
.service-detail h3 { font-size: 2rem; text-transform: uppercase; margin-bottom: 10px; }
.service-detail p { color: var(--gris); }
.service-detail p + p { margin-top: 10px; }
.service-detail .btn { margin-top: 16px; }

/* Outil : zones de fréquence cardiaque */
.outil { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.outil-copy h2 + .lead { margin-top: 16px; }
.outil-copy .link { display: inline-block; margin-top: 20px; }
.outil-carte { padding: clamp(22px, 3vw, 40px); border-radius: var(--radius); background: var(--encre); color: var(--creme); box-shadow: var(--ombre); display: grid; gap: 20px; }
.outil-champs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.outil-champs label { display: grid; gap: 6px; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(244, 246, 248, 0.7); }
.outil-champs input { width: 100%; padding: 12px 14px; border: 1px solid var(--ligne-nuit); border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.06); color: var(--creme); font: inherit; font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; }
.outil-champs input:focus { outline: none; border-color: var(--lime); }
.zones { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.zones li { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 10px 14px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.06); border-left: 4px solid var(--lime); }
.zones li[data-zone="1"] { border-color: #4fb3ff; } .zones li[data-zone="2"] { border-color: #5fe0a0; } .zones li[data-zone="3"] { border-color: var(--lime); } .zones li[data-zone="4"] { border-color: #ffb347; } .zones li[data-zone="5"] { border-color: #ff5f6d; }
.zones span { font-size: 0.9rem; }
.zones b { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; white-space: nowrap; }
.zones i { font-style: normal; font-size: 0.74rem; color: rgba(244, 246, 248, 0.55); }
.outil-carte .muted { color: rgba(244, 246, 248, 0.55); }

/* Club, licence */
.licence { display: grid; gap: 10px; padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); background: var(--lime); color: var(--encre); box-shadow: var(--ombre); }
.licence .kicker { color: var(--encre); margin-bottom: 0; }
.licence-prix { font-family: var(--font-display); font-size: clamp(3.4rem, 6vw, 6rem); font-weight: 700; line-height: 0.95; }
.licence ul { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 0.95rem; }
.licence li { padding-left: 20px; position: relative; }
.licence li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; }

/* Témoignages */
.temoignages { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); margin-bottom: 18px; }
.temoignage { margin: 0; display: grid; gap: 16px; align-content: start; padding: clamp(22px, 2.6vw, 32px); border-radius: var(--radius); background: var(--blanc); box-shadow: 0 1px 0 var(--ligne); }
.temoignage p { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.3; font-weight: 500; }
.temoignage cite { display: grid; gap: 2px; font-style: normal; font-size: 0.85rem; }
.temoignage cite b { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.74rem; font-weight: 600; }
.temoignage cite span { color: var(--gris); }
.testimonials-intro { margin: -10px 0 28px; color: var(--gris); }
.testimonials-content .temoignages { align-items: start; }
.testimonials-content .temoignage { border-top: 3px solid var(--bleu, #0874c9); }
.temoignage-suite summary { cursor: pointer; color: var(--bleu, #0874c9); font-weight: 600; font-size: .9rem; }
.temoignage-suite p { margin-top: 14px; }
.testimonials-more { margin-top: 28px; }
.testimonials-more > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: fit-content; max-width: 100%; padding: 15px 22px; border: 1px solid currentColor; border-radius: 6px; cursor: pointer; font-weight: 600; list-style: none; }
.testimonials-more > summary::-webkit-details-marker { display: none; }
.testimonials-more > summary span { font-size: 1.5rem; line-height: 1; }
.testimonials-more[open] > summary span { transform: rotate(45deg); }
.testimonials-more > .temoignages { margin-top: 28px; }
.testimonials-more summary:focus-visible, .temoignage-suite summary:focus-visible { outline: 3px solid #0874c9; outline-offset: 5px; }

/* Stages, programme */
.stages { display: grid; gap: clamp(24px, 3vw, 40px); }
.stage { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(20px, 3vw, 48px); align-items: center; padding: clamp(20px, 2.6vw, 32px); border-radius: var(--radius); background: var(--blanc); box-shadow: 0 1px 0 var(--ligne); }
.stage:nth-child(even) .photo { order: 2; }
.stage .photo { aspect-ratio: 4 / 3; }
.stage-txt { display: grid; gap: 10px; }
.stage-txt h3 { font-size: 2rem; text-transform: uppercase; }
.stage-txt p { color: var(--gris); }
.stage-txt .btn { justify-self: start; margin-top: 8px; }
.programme { margin: 0 0 32px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); counter-reset: jour; }
.programme li { display: grid; gap: 8px; align-content: start; padding: clamp(20px, 2.4vw, 28px); border-radius: var(--radius); background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--ligne-nuit); }
.programme .jour { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lime); }
.programme .km { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; line-height: 1; }
.programme .km small { font-size: 0.45em; margin-left: 4px; font-weight: 500; }
.programme h3 { font-size: 1.3rem; text-transform: uppercase; }
.programme p { font-size: 0.9rem; color: rgba(244, 246, 248, 0.72); }

/* Coach */
.liste-diplomes, .frise { margin: 24px 0 0; padding: 0; list-style: none; display: grid; }
.liste-diplomes li, .frise li { display: grid; grid-template-columns: 200px 1fr; gap: 6px 20px; padding: 14px 0; border-top: 1px solid var(--ligne); }
.liste-diplomes li:last-child, .frise li:last-child { border-bottom: 1px solid var(--ligne); }
.liste-diplomes b, .frise b { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; text-transform: uppercase; color: var(--terre); }
.liste-diplomes span, .frise span { color: var(--gris); font-size: 0.95rem; }
.sous-titre { font-size: 1.6rem; text-transform: uppercase; }
.quote { margin: 28px 0 0; font-family: var(--font-display); font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.3; font-style: italic; font-weight: 600; color: var(--terre); }

/* Téléchargements, partenaires */
.fichiers, .partenaires { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.fichier, .partenaire { display: grid; gap: 8px; align-content: start; padding: clamp(22px, 2.6vw, 32px); border-radius: var(--radius); background: var(--blanc); box-shadow: 0 1px 0 var(--ligne); transition: transform 0.5s var(--ease), box-shadow 0.5s; }
.fichier:hover, .partenaire:hover { transform: translateY(-4px); box-shadow: var(--ombre); }
.fichier .ext { justify-self: start; padding: 4px 10px; border-radius: 4px; background: var(--encre); color: var(--lime); font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.1em; }
.fichier h3, .partenaire h3 { font-size: 1.5rem; text-transform: uppercase; }
.fichier p, .partenaire p { color: var(--gris); font-size: 0.93rem; }
.partenaire .kicker { margin-bottom: 4px; }
.liste-points { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.liste-points li { position: relative; padding-left: 22px; font-size: 0.96rem; }
.liste-points li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 10px; height: 2px; background: var(--lime); }
.repartition { display: grid; gap: 12px; margin: 24px 0; }
.repartition div { display: grid; grid-template-columns: 110px 1fr 90px; gap: 14px; align-items: center; font-size: 0.9rem; }
.repartition i { display: block; height: 22px; border-radius: 4px; background: linear-gradient(90deg, #4fb3ff 0 calc(var(--a) * 1%), #5fe0a0 calc(var(--a) * 1%) calc((var(--a) + var(--b)) * 1%), #ff5f6d calc((var(--a) + var(--b)) * 1%) 100%); }
.repartition small { color: var(--gris); text-align: right; }
.chiffres { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.chiffres div { display: grid; gap: 6px; padding-left: 20px; border-left: 2px solid var(--ligne-nuit); }
.chiffres .n { font-family: var(--font-display); font-size: clamp(3rem, 4.6vw, 4.8rem); font-weight: 700; line-height: 1; color: var(--lime); }
.chiffres .n small { font-size: 0.5em; margin-left: 2px; }
.chiffres p { font-size: 0.92rem; color: rgba(244, 246, 248, 0.72); max-width: 16em; }
.a-completer { background: var(--poudre-pale); padding: 0 4px; border-radius: 3px; }


/* Journal */
.articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 36px); }
.articles.deux { grid-template-columns: repeat(2, 1fr); }
.article { display: grid; gap: 16px; align-content: start; }
.article-visuel { display: block; aspect-ratio: 16 / 10; }
.article-visuel img { transition: transform 1.2s var(--ease); }
.article:hover .article-visuel img { transform: scale(1.05) !important; }
.article-visuel .tag { position: absolute; left: 14px; top: 14px; padding: 5px 10px; border-radius: 4px; background: var(--lime); color: var(--encre); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }
.article .meta { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gris); font-weight: 600; }
.article h3 { font-size: 1.6rem; text-transform: uppercase; }
.article h3 a { background-image: linear-gradient(var(--lime), var(--lime)); background-repeat: no-repeat; background-size: 0 0.35em; background-position: 0 88%; transition: background-size 0.5s var(--ease); }
.article:hover h3 a { background-size: 100% 0.35em; }
.article-info { display: grid; gap: 10px; }
.article-info .link { justify-self: start; }
.articles-liste { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 3vw, 48px) clamp(20px, 2.6vw, 36px); }
.articles-liste .is-grand { grid-column: 1 / -1; grid-template-columns: 7fr 5fr; align-items: center; gap: clamp(24px, 3vw, 48px); }
.articles-liste .is-grand .article-visuel { aspect-ratio: 16 / 10; }
.articles-liste .is-grand h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.article-corps { max-width: 760px; margin-inline: auto; display: grid; gap: 36px; }
.article-corps .prose { max-width: none; font-size: 1.08rem; }
.article-corps .prose h2 { font-size: 1.9rem; }
.article-pied { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--ligne); }
.socials { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 14px; }
.socials a { font-weight: 600; font-size: 0.92rem; background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-size: 100% 1.5px; background-position: 0 100%; transition: background-size 0.4s var(--ease); padding-bottom: 2px; }
.socials a:hover { background-size: 30% 1.5px; }
.article-pied .socials { margin-top: 0; }
.page-intro-article .page-intro-copy { max-width: 50em; }
.page-intro-article h1 { font-size: clamp(2.4rem, 5vw, 4.8rem); }
.fil-ariane { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.85rem; color: var(--gris); margin-bottom: 20px; }


/* Appel final */
.cta-carte { display: grid; grid-template-columns: 7fr 5fr; gap: 32px; align-items: center; padding: clamp(32px, 5vw, 72px); border-radius: var(--radius); background: var(--encre); color: var(--creme); box-shadow: var(--ombre); }
.cta-carte h2 em { color: var(--lime); }
.cta-carte .lead { color: rgba(247, 242, 236, 0.75); margin-top: 14px; }
.cta-carte .hero-actions { margin: 0; justify-self: end; }

/* Pages intérieures */
.page-intro { position: relative; padding-top: calc(var(--header-h) + clamp(40px, 7vw, 96px)); padding-bottom: clamp(48px, 6vw, 96px); overflow: hidden; }
.intro-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 80px); align-items: end; }
.page-intro-copy { max-width: 44em; }
.page-intro-copy > * { animation: fade 0.9s var(--ease) both; }
.page-intro-copy > *:nth-child(2) { animation-delay: 0.05s; }
.page-intro-copy > *:nth-child(3) { animation-delay: 0.35s; }
.page-intro-copy > *:nth-child(4) { animation-delay: 0.5s; }
.page-intro-copy .lead { margin-top: clamp(18px, 2vw, 28px); }
.page-intro h1 { font-size: clamp(2.4rem, 5.6vw, 5.8rem); }
.intro-photo { justify-self: end; width: 100%; max-width: 420px; animation: fade 1s var(--ease) 0.3s both; }
.intro-photo .photo img { animation: photo-in 1.6s var(--ease) 0.2s both; }
@keyframes photo-in { from { clip-path: inset(100% 0 0 0); transform: scale(1.12); } to { clip-path: inset(0 0 0 0); transform: none; } }
.sticky { position: sticky; top: calc(var(--header-h) + 24px); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.form { display: grid; gap: 18px; }
.form .form-fields { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.field input, .field textarea, .field select { width: 100%; padding: 14px 16px; border: 1px solid var(--ligne); border-radius: var(--radius-sm); background: var(--blanc); font: inherit; color: var(--encre); transition: border-color 0.3s, box-shadow 0.3s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--encre); box-shadow: 0 0 0 3px rgba(42, 37, 35, 0.06); }
.field textarea { min-height: 170px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--gris); }
.check input { margin-top: 4px; accent-color: var(--terre); }
.check a { text-decoration: underline; }
.form .btn { justify-self: start; }
.form .note { font-size: 0.86rem; color: var(--gris); }
.form-ok { display: none; padding: 22px 24px; border-radius: var(--radius); background: var(--poudre-pale); }
.form.is-sent .form-ok { display: block; }
.form.is-sent .form-fields { display: none; }
.contact-side { display: grid; gap: 20px; }
.carte-contact { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); background: var(--blanc); box-shadow: 0 1px 0 var(--ligne); display: grid; gap: 10px; }
.carte-contact h3 { font-size: 1.7rem; }
.carte-contact .kicker { margin-bottom: 4px; }
.contact-liens { display: grid; gap: 4px; margin: 4px 0 8px; }
.contact-liens a { font-family: var(--font-display); font-size: 1.3rem; word-break: break-all; }
.carte-contact.nuit { background: var(--encre); color: var(--creme); }
.carte-contact.nuit .kicker { color: var(--lime); }
.carte-contact .btn { justify-self: start; margin-top: 8px; }
.carte-contact.nuit .liste-points { margin-top: 6px; }
.carte-contact.nuit .liste-points li::before { background: var(--poudre); }
.carte-contact.nuit .muted { color: rgba(247, 242, 236, 0.6); }
.bande { padding-block: clamp(70px, 10vw, 140px); color: var(--creme); text-align: center; }
.bande .bg::after { content: ""; position: absolute; inset: 0; background: rgba(30, 26, 24, 0.5); }
.bande .bg img { transform: scale(1.15); will-change: transform; }
.bande-txt { font-family: var(--font-display); font-style: italic; font-size: clamp(2rem, 4vw, 3.6rem); }

/* Légal */
.legal .prose { max-width: 72ch; }
.legal h2 { font-size: 1.6rem; margin: 40px 0 12px; }
.legal h2:first-child { margin-top: 0; }

/* Pied de page */
.footer { background: var(--nuit); color: var(--creme); padding-block: clamp(56px, 7vw, 96px) 28px; border-top: 1px solid var(--ligne-nuit); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer .brand small { color: rgba(247, 242, 236, 0.6); }
.footer h4 { margin: 0 0 14px; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; color: rgba(247, 242, 236, 0.5); }
.footer ul { margin: 0; padding: 0; list-style: none; font-size: 0.95rem; }
.footer li + li { margin-top: 8px; }
.footer a:hover { color: var(--lime); }
.footer .tagline { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; margin-top: 16px; max-width: 20em; color: rgba(247, 242, 236, 0.85); }
.socials { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 14px; }
.socials a { font-weight: 500; font-size: 0.9rem; letter-spacing: 0.04em; background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-size: 100% 1px; background-position: 0 100%; transition: background-size 0.4s var(--ease); padding-bottom: 2px; }
.socials a:hover { background-size: 30% 1px; }
.footer .socials a { color: var(--lime); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--ligne-nuit); font-size: 0.78rem; color: rgba(247, 242, 236, 0.5); }
.site-credit { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px 24px; margin-top: 20px; color: rgba(247, 242, 236, .76); font-size: .8rem; line-height: 1.7; }
.site-credit a { text-decoration: underline; text-underline-offset: 4px; }
.site-credit a:focus-visible { outline: 2px solid var(--lime); outline-offset: 5px; }
.site-realisation .lead { max-width: 52rem; }
.site-realisation .legal { padding-top: clamp(28px, 4vw, 56px); }
.site-realisation .prose p + p { margin-top: 1rem; }
.realisation-reference { margin-block: 2.5rem; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--ligne); border-radius: 16px; background: var(--creme); }
.realisation-reference h2 { margin-top: 10px; }
@media (max-width: 600px) { .site-credit { justify-content: flex-start; } }

/* Barre mobile */
.sticky-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px)); gap: 10px; background: rgba(247, 242, 236, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 -1px 0 var(--ligne); }
.sticky-bar a { flex: 1; min-height: 48px; font-size: 0.88rem; white-space: nowrap; padding-inline: 1em; }

@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Responsive */
@media (max-width: 1100px) {
  .section-head h2, .section-head .lead { grid-column: 1 / 10; }
  .section-head .head-side { grid-column: 1 / -1; justify-self: start; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-chiffres { grid-template-columns: repeat(3, 1fr); }
  .deux-col, .histoire, .contact-grid, .cta-carte, .intro-grid, .outil, .power { grid-template-columns: 1fr; }
  .services, .formules, .formules-mini, .temoignages, .fichiers, .partenaires, .programme, .articles { grid-template-columns: 1fr 1fr; }
  .piliers.cinq { grid-template-columns: repeat(3, 1fr); }
  .chiffres { grid-template-columns: 1fr 1fr; }
  .articles-liste .is-grand { grid-template-columns: 1fr; }
  .histoire .col-visuel { padding-top: 0; }
  .cta-carte .hero-actions { justify-self: start; }
  .intro-photo { justify-self: start; max-width: 360px; }
  .sticky { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .section-head h2, .section-head .lead { grid-column: 1 / -1; }
  .nav-links, .nav > .btn { display: none; }
  .menu-btn { display: block; }
  .nav-panel { display: flex; position: fixed; inset: 0; z-index: 30; padding: calc(var(--header-h) + 24px) var(--gutter) calc(100px + env(safe-area-inset-bottom, 0px)); flex-direction: column; background: var(--nuit); color: var(--creme); opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0s 0.4s; overflow: auto; }
  .nav-panel.is-open { opacity: 1; visibility: visible; transition: opacity 0.4s var(--ease), visibility 0s; }
  .nav-panel a { font-family: var(--font-display); font-size: clamp(2rem, 7.5vw, 2.8rem); padding: 10px 0; border-bottom: 1px solid var(--ligne-nuit); }
  .nav-panel .btn { margin-top: 24px; align-self: flex-start; padding: 0.85em 1.7em; border: 0; border-radius: 999px; background: var(--creme); color: var(--encre); font-family: var(--font-text); font-size: 0.92rem; }
  .nav-panel .panel-meta { margin-top: auto; padding-top: 24px; font-size: var(--t-small); color: rgba(247, 242, 236, 0.6); }
  .header.is-open { background: transparent; box-shadow: none; color: var(--creme); }
  .hero { min-height: 92svh; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(10, 16, 32, 0.5) 0%, rgba(10, 16, 32, 0.3) 25%, rgba(10, 16, 32, 0.75) 55%, rgba(10, 16, 32, 0.96) 100%); }
  .hero-chiffres { grid-template-columns: 1fr; gap: 8px; }
  .hero-chiffres li { padding: 10px 14px; }
  .services, .services.deux, .formules, .formules-mini, .temoignages, .fichiers, .partenaires, .programme, .piliers, .piliers.cinq, .service-detail, .stage, .outil-champs, .articles, .articles.deux, .articles-liste { grid-template-columns: 1fr; }
  .service-detail:nth-child(even) .photo, .stage:nth-child(even) .photo { order: 0; }
  .curseur-ligne { grid-template-columns: 1fr; }
  .liste-diplomes li, .frise li { grid-template-columns: 1fr; gap: 2px; }
  .tarifs th:nth-child(4), .tarifs td:nth-child(4) { display: none; }
  .formule .tag { top: -12px; }
  .repartition div { grid-template-columns: 80px 1fr 70px; }
  .form .row { grid-template-columns: 1fr; }
  .sticky-bar { display: flex; }
  body { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  .lumiere { font-size: 1.6rem; }
}
@media (max-width: 640px) {
  .chiffres { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand small { display: none; }
  .hero-actions .btn { width: 100%; }
  .intro-photo { max-width: none; }
  .intro-photo .photo { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  .hero-copy > *, .hero-chiffres, .page-intro-copy > *, .intro-photo { animation: none; opacity: 1; }
  .hero-bg img, .intro-photo .photo img { animation: none; transform: none; clip-path: none; }
  .hero-bg .lignes { animation: none; }
}

/* ============================================================
   Mouvement
   ============================================================ */
body { animation: page-in 0.7s var(--ease) both; }
body.is-leaving { animation: page-out 0.3s ease-in forwards; }
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes page-out { to { opacity: 0; } }

.rise .wm { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.rise .wi { display: inline-block; transform: translateY(110%); animation: rise 1s var(--ease) both; animation-delay: calc(0.2s + var(--i, 0) * 0.08s); }
.rise .wi em { padding-right: 0.06em; }
@keyframes rise { to { transform: none; } }
.hero-copy > .rise, .page-intro-copy > .rise { animation: none; opacity: 1; }

[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 100ms); }
[data-reveal="clip"] { opacity: 1; transform: none; }
[data-reveal="clip"] img { clip-path: inset(0 0 100% 0); transform: scale(1.12); transition: clip-path 1.2s var(--ease), transform 1.8s var(--ease); transition-delay: calc(var(--d, 0) * 100ms); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="clip"].is-in img { clip-path: inset(0 0 0 0); transform: none; }
.photo:hover img { transform: scale(1.03) !important; }

.tilt { transform-style: preserve-3d; transition: transform 0.6s var(--ease); will-change: transform; }
.magnet { transition: transform 0.5s var(--ease); }
.hero-bg img, .hero-copy { will-change: transform, opacity; }

/* Galerie plein écran */
.lightbox { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: rgba(30, 26, 24, 0.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0s 0.4s; }
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity 0.4s var(--ease), visibility 0s; }
.lightbox img { max-width: min(92vw, 1400px); max-height: 82vh; object-fit: contain; border-radius: var(--radius-sm); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6); transform: scale(0.96); transition: transform 0.5s var(--ease), opacity 0.3s; }
.lightbox.is-open img { transform: none; }
.lightbox img.is-swapping { opacity: 0; transform: scale(0.98); }
.lightbox .cap { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); color: rgba(247, 242, 236, 0.85); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; text-align: center; max-width: 80vw; }
.lightbox button { position: absolute; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(247, 242, 236, 0.12); color: var(--creme); cursor: pointer; display: grid; place-items: center; transition: background 0.3s, transform 0.3s var(--ease); }
.lightbox button:hover { background: rgba(247, 242, 236, 0.24); transform: scale(1.06); }
.lightbox button svg { width: 22px; height: 22px; }
.lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-prev:hover, .lightbox .lb-next:hover { transform: translateY(-50%) scale(1.06); }
.lightbox .lb-count { position: absolute; top: 34px; left: 50%; transform: translateX(-50%); color: rgba(247, 242, 236, 0.6); font-size: 0.8rem; letter-spacing: 0.14em; }
body.lb-open { overflow: hidden; }

::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  body, body.is-leaving { animation: none; opacity: 1; }
  .rise .wi { transform: none; animation: none; }
  [data-reveal], [data-reveal="clip"] { opacity: 1; transform: none; }
  [data-reveal="clip"] img { transform: none; clip-path: none; }
  .marquee-track { animation: none; }
  .tilt { transform: none !important; }
  .lumiere span { opacity: 1; }
  .progression { display: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

.brand>img{width:164px;height:auto;background:white;border-radius:4px;padding:6px}.suivi-label{display:grid;gap:10px;margin-top:18px}.suivi-label select{font:inherit;padding:12px;background:white;color:#0d1526;border:1px solid #9eb5c8;border-radius:6px}.services{grid-template-columns:repeat(3,minmax(0,1fr))}.application-intro{max-width:720px;margin-bottom:28px}.form-status{padding:20px;border:1px solid #9eb5c8;border-radius:8px}.hero-bg img{object-position:65% 40%!important}.footer .brand>img{width:200px}@media(max-width:700px){.services{grid-template-columns:1fr}.brand>img{width:124px}.hero-bg img{object-position:52% 40%!important}}
.header .brand { flex: 0 0 auto; height: 100%; }
.header .brand > img { width: 132px; height: 56px; max-height: calc(100% - 16px); object-fit: contain; padding: 5px; }
@media (max-width: 700px) { .header .brand > img { width: 112px; height: 48px; } }

.fit-form-wrapper{max-width:800px}.fit-form{display:grid;gap:22px}.fit-field{display:grid;gap:8px}.fit-field>label{font-weight:600}.fit-field input:not([type=checkbox]),.fit-field textarea,.fit-field select{padding:14px 16px;border:1px solid #a1adbc;border-radius:6px;background:#fff;color:#0d1526;font:inherit;width:100%}.fit-field small{color:#5b6472}.fit-check{grid-template-columns:24px 1fr}.fit-check>input{grid-column:1;grid-row:1;width:20px;height:20px}.fit-check>label,.fit-check>small,.fit-check>span{grid-column:2}.field-error{color:#a62121}.fit-form .btn:disabled{opacity:.6;cursor:wait}.article-corps img{max-width:100%;height:auto}.article-corps p{margin:0 0 1.3em}.article-corps ul{list-style:disc;padding-left:24px}.article-corps a{color:#0866ac;text-decoration:underline}

.calculator-results{display:block;margin:24px 0;line-height:2}.outil-carte select,.outil-carte input{font:inherit;max-width:100%;padding:10px;background:white;color:#0d1526;border:1px solid #a1adbc;border-radius:6px}.calculator-results li{list-style:none}.outil-champs{flex-wrap:wrap}

/* CoachMika: Patreon publication index and reading pages */
.patreon-section{padding-top:1rem}.patreon-filters{display:flex;flex-wrap:wrap;gap:.65rem;margin-bottom:1.5rem}.patreon-filters a{border:1px solid #bfd0da;padding:.7rem 1.1rem;border-radius:100px;font-weight:600}.patreon-filters a[aria-current]{background:#0874c9;color:#fff;border-color:#0874c9}.patreon-count{color:#526773;margin-bottom:2rem;font-size:.95rem}.patreon-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem}.patreon-card{border:1px solid #d7e1e8;border-radius:16px;padding:1.6rem;display:flex;flex-direction:column;background:#fff;min-width:0;box-shadow:0 6px 24px #18394b05}.patreon-card h2{font-size:1.65rem;line-height:1.15;margin:1.3rem 0 .8rem;overflow-wrap:anywhere}.patreon-card p{color:#526773;font-size:.95rem;margin:0 0 1.5rem}.patreon-card>.link{margin-top:auto}.patreon-card-meta{display:flex;flex-wrap:wrap;gap:.7rem;align-items:center;font-size:.78rem;color:#526773}.patreon-badge{border-radius:6px;background:#eef1f4;padding:.3rem .55rem;color:#405569;font-weight:600}.patreon-badge.is-public{background:#e3f4fc;color:#056999}.patreon-pagination{display:flex;justify-content:center;flex-wrap:wrap;align-items:center;gap:1.2rem;margin-top:2.5rem}.patreon-reading{max-width:850px}.patreon-reading h1{font-size:clamp(2.3rem,5vw,4.4rem);overflow-wrap:anywhere}.patreon-reading>.kicker{margin-top:2rem}.patreon-content{font-size:1.1rem;line-height:1.85;overflow-wrap:anywhere}.patreon-content p{margin-bottom:1.3rem}.patreon-content img{max-width:100%;height:auto}.patreon-content ul,.patreon-content ol{padding-left:1.5rem;margin-bottom:1.3rem}.patreon-content a:not(.btn){text-decoration:underline;text-underline-offset:4px}.patreon-content table{display:block;max-width:100%;overflow:auto}.patreon-content blockquote{border-left:3px solid #0874c9;padding-left:1rem}.patreon-source{border-top:1px solid #d7e1e8;border-bottom:1px solid #d7e1e8;margin:2.5rem 0;padding:1.5rem 0;font-size:.9rem;color:#526773}@media(max-width:900px){.patreon-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.patreon-grid{grid-template-columns:1fr}.patreon-card{padding:1.3rem}.patreon-filters a{font-size:.85rem;padding:.6rem .8rem}}
.patreon-media{margin:2.5rem 0}.patreon-media h2{margin-bottom:1.2rem}.patreon-player{position:relative;width:100%;aspect-ratio:16/9;background:#e8edf2;border-radius:12px;overflow:hidden}.patreon-player iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.patreon-player.is-audio{aspect-ratio:auto;height:352px}.media-fallback{font-size:.85rem;margin:.6rem 0 1.5rem}.patreon-native-media audio,.patreon-native-media video{width:100%;max-width:100%}.patreon-native-media figcaption{font-size:.85rem}.patreon-attachment{padding:1rem;background:#e3f4fc;border-radius:8px}

/* One reading gap instead of stacking two full section paddings. */
.patreon-article-intro{padding-bottom:clamp(24px,3vw,40px)}
.patreon-article-intro + .section{padding-top:0}

/* Club: an editorial hero and two clear ways to join the team. */
.club-page { background: linear-gradient(150deg, #f4f6f8 20%, #edf3f8 100%); }
.club-intro { padding-top: calc(var(--header-h) + clamp(36px, 4.5vw, 68px)); padding-bottom: 0; }
.club-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 76px); align-items: center; }
.club-hero-copy { min-width: 0; padding-block: 24px; }
.club-hero-copy .kicker { margin-bottom: 28px; }
.club-hero-copy h1 { font-size: clamp(3.8rem, 6.3vw, 6.2rem); line-height: .94; letter-spacing: -.015em; }
.club-hero-copy h1 em { display: block; padding-top: .09em; }
.club-hero-copy .lead { max-width: 30em; margin-top: 28px; font-size: clamp(1.05rem, 1.4vw, 1.25rem); }
.club-hero-photo { position: relative; margin: 0; height: clamp(360px, 32vw, 460px); overflow: hidden; border-radius: 16px; background: #dce8ee; box-shadow: 0 24px 50px -30px #163f665c; }
.club-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 38%; }
.club-hero-photo figcaption { position: absolute; inset: auto 0 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: center; padding: 48px 26px 22px; background: linear-gradient(transparent, #071527d9); color: white; font-size: .85rem; }
.club-hero-photo figcaption span:first-child { font-weight: 600; letter-spacing: .14em; font-size: .72rem; }
.club-signature { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 36px; padding-bottom: 30px; color: var(--gris); font-size: .83rem; }
.club-signature > span { text-transform: uppercase; font-weight: 600; letter-spacing: .1em; }
.club-signature p { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.club-signature i { width: 4px; height: 4px; border-radius: 50%; background: var(--poudre); }
.club-membership { padding-top: 0; padding-bottom: clamp(64px, 7vw, 104px); }
.club-offers { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2.4vw, 36px); align-items: stretch; }
.club-licence { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(30px, 3.5vw, 52px); border: 1px solid #243b56; border-radius: 16px; color: #f4f6f8; background: radial-gradient(ellipse at 100% 0, #173c61, transparent 65%), #0d192b; box-shadow: 0 20px 50px -32px #163f66aa; }
.club-licence .kicker { color: #8fd4f6; margin-bottom: 28px; }
.club-licence h2 { font-size: clamp(1.65rem, 2.25vw, 2.25rem); line-height: 1.1; text-align: left; }
.club-licence h2 em { display: block; font-style: normal; font-size: clamp(5rem, 7vw, 7rem); line-height: 1.15; letter-spacing: -.025em; color: #8fd4f6; margin-top: 8px; }
.club-licence > p:not(.kicker) { max-width: 36em; color: #c5d2df; margin: 18px 0 28px; line-height: 1.75; }
.club-card-action { margin-top: auto; padding-top: 12px; }
.club-shop { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: 16px; border: 1px solid #dce3ea; background: white; }
.club-shop-photo { aspect-ratio: 16 / 10; position: relative; background: #dce8ee; overflow: hidden; }
.club-shop-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 57%; }
.club-shop-photo > span { position: absolute; left: 24px; bottom: 20px; padding: 7px 12px; border: 1px solid #ffffff65; border-radius: 4px; background: #f4f6f8ec; color: #0d1526; font-weight: 600; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.club-shop-copy { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: clamp(28px, 3vw, 40px); }
.club-shop-copy h2 { font-size: clamp(1.8rem, 2.4vw, 2.4rem); line-height: 1.05; margin-bottom: 18px; }
.club-shop-copy p { color: var(--gris); max-width: 34em; margin-bottom: 20px; }
.club-page .btn { min-height: 52px; }
@media (max-width: 900px) {
  .club-hero-grid { gap: 28px; }
  .club-hero-copy h1 { font-size: clamp(3rem, 6.5vw, 4.6rem); }
  .club-hero-photo { height: 380px; }
  .club-hero-photo figcaption { padding-inline: 20px; }
  .club-licence { padding: 30px; }
  .club-shop-copy { padding: 28px; }
  .club-shop-photo { aspect-ratio: 4 / 3; }
}
@media (max-width: 700px) {
  .club-intro { padding-top: calc(var(--header-h) + 28px); }
  .club-hero-grid, .club-offers { grid-template-columns: 1fr; }
  .club-hero-copy { padding-block: 0; }
  .club-hero-copy .kicker { margin-bottom: 22px; }
  .club-hero-copy h1 { font-size: clamp(3.2rem, 13vw, 4.8rem); }
  .club-hero-copy .lead { margin-top: 22px; }
  .club-hero-photo { height: 340px; border-radius: 12px; }
  .club-signature { align-items: flex-start; flex-direction: column; gap: 12px; padding-top: 24px; padding-bottom: 28px; }
  .club-signature p { gap: 12px; }
  .club-licence, .club-shop { border-radius: 12px; }
  .club-licence { padding: 30px 26px; }
  .club-licence h2 em { font-size: 6rem; }
  .club-shop-copy { padding: 28px 26px; }
  .club-shop-photo { aspect-ratio: 4 / 3; }
  .club-card-action { align-self: stretch; }
  .club-card-action .btn { width: 100%; }
}
/* Evolution, octobre 2026 */
.call-fallback {padding-top:20px;padding-bottom:25px;text-align:center}.call-fallback p{margin:0}.protocol-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;margin:35px 0 50px}.protocol-grid article{padding:28px;border:1px solid #d9e1e8;border-radius:12px;background:#fff}.protocol-grid h3{margin:18px 0 12px}.newsletter-patreon .cta-carte{gap:30px}.tariff-reminder .formule{min-height:0}.nav>.btn{font-size:13px;padding:13px 16px;white-space:nowrap}@media(min-width:1101px) and (max-width:1400px){.nav-links{gap:13px}.nav-links a{font-size:14px}.header{padding-left:20px;padding-right:20px}}@media(max-width:700px){.protocol-grid{grid-template-columns:1fr}.hero-actions .btn{white-space:normal;text-align:center}.tariff-reminder{grid-template-columns:1fr}.newsletter-patreon .cta-carte{align-items:stretch}.newsletter-patreon .btn{white-space:normal;text-align:center}}

/* Contact and callback: consistent spacing, accessible controls, compact desktop layout. */
body[data-form-page] .page-intro + .section { padding-top: 20px; }
.fit-form-wrapper { width: 100%; min-width: 0; }
.fit-form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; padding: clamp(22px, 3vw, 36px); background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--radius); }
.fit-form > p, .fit-form > .hero-actions, .fit-field-wide { grid-column: 1 / -1; }
.fit-form .fit-form-note, .fit-form > .small { margin: 0; color: var(--gris); font-size: .85rem; line-height: 1.6; }
.fit-field { min-width: 0; align-content: start; gap: 8px; }
.fit-field > label { font-size: .94rem; line-height: 1.5; }
.fit-field input:not([type=checkbox]), .fit-field textarea, .fit-field select { min-width: 0; min-height: 50px; font-size: 16px; line-height: 1.5; }
.fit-field textarea { min-height: 150px; resize: vertical; }
.fit-field input:focus-visible, .fit-field textarea:focus-visible, .fit-field select:focus-visible { outline: 3px solid rgba(8,116,201,.2); outline-offset: 2px; border-color: var(--terre); }
.fit-field [aria-invalid=true] { border-color: #a62121; }
.fit-field small, .field-error { font-size: .84rem; line-height: 1.5; }
.fit-check { gap: 4px 10px; align-items: start; }
.fit-check > input { margin: 2px 0 0; accent-color: var(--terre); cursor: pointer; }
.fit-check > label { cursor: pointer; }
.fit-form > .hero-actions { margin: 0; }
.fit-form .btn { white-space: normal; text-align: center; }
body[data-form-page=contact] .fit-field:has(select) { grid-column: 1 / -1; }
body[data-form-page=contact] .contact-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); }
#rappel { scroll-margin-top: calc(var(--header-h) + 20px); padding-top: clamp(40px, 6vw, 72px); }
#rappel > .container { max-width: 928px; }
#rappel h2 { margin-bottom: 14px; }
#rappel .lead { font-size: 1.35rem; margin-bottom: 12px; }
#rappel .fit-form-wrapper { max-width: none; margin-top: 28px; }
@media (max-width: 1000px) { body[data-form-page=contact] .contact-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  .fit-form { grid-template-columns: minmax(0, 1fr); padding: 22px 18px; gap: 20px; }
  .fit-form .hero-actions, .fit-form .btn { width: 100%; }
  .fit-form .btn { justify-content: center; }
}
