/* TeamStrategy Consulting — feuille de style du site
   1. Jetons du design system (clair / sombre)
   2. Typographie
   3. Composants (préfixe ts-)
   4. Mise en page des pages
   5. Animations (désactivées si « réduire les animations ») */

/* ---------- 1. Jetons ---------- */
:root {
  --forest-900: #12372A; --forest-800: #1B523E; --forest-700: #277659;
  --green-600: #2A8666; --green-500: #2E9471; --green-400: #39B98C;
  --mint-100: #E5F0EC; --sage-100: #E1F0DA; --sage-200: #D4E7C5; --sage-300: #BFD8AF; --sage-400: #ADBC9F;
  --paper: #FBFBFB; --ink-900: #191919;
  --surface: var(--paper); --surface-raised: #FFFFFF; --surface-mint: var(--mint-100); --surface-sage: var(--sage-100); --surface-inverse: var(--forest-900);
  --text: var(--ink-900); --text-muted: #4E5652; --text-heading: var(--forest-900); --text-inverse: var(--paper); --text-inverse-muted: var(--sage-300);
  --link: var(--forest-700); --link-hover: var(--forest-900);
  --action: var(--forest-900); --action-hover: var(--forest-700); --on-action: var(--paper);
  --accent: var(--green-400); --line: #D5E0D8; --line-strong: var(--forest-900); --border-control: #7A8A80; --focus-ring: var(--green-500);
  --danger: #B3261E; --danger-surface: #FCEDEC; --on-danger-surface: #8C1D18;
  --product-brandpro: var(--forest-900); --product-circularpro: var(--sage-100); --product-revmanex: var(--forest-700); --product-extra: var(--mint-100); --on-product-light: var(--forest-900);
  --chart-1: var(--forest-900); --chart-2: #5F8C4C; --chart-3: var(--green-600); --chart-track: #E3EBE5;
  --shadow-sm: 0 1px 2px rgba(18, 55, 42, .08); --shadow-md: 0 12px 24px -12px rgba(18, 55, 42, .28); --shadow-lg: 0 24px 48px -16px rgba(18, 55, 42, .30);
  color-scheme: light;
}
[data-site-theme="dark"] {
  --surface: #0E2A20; --surface-raised: #15392C; --surface-mint: #123226; --surface-sage: #1B4334; --surface-inverse: #091D16;
  --text: #EAF1EC; --text-muted: #A9BDB1; --text-heading: var(--sage-200);
  --link: #6FD3AC; --link-hover: #A6E8CC; --action: var(--sage-300); --action-hover: var(--sage-200); --on-action: var(--forest-900);
  --line: #24493B; --line-strong: var(--sage-300); --border-control: #6F8A7C; --focus-ring: var(--green-400);
  --danger: #FF8A80; --danger-surface: #3A1A18; --on-danger-surface: #FFB4AB;
  --product-circularpro: var(--sage-200);
  --chart-1: var(--sage-200); --chart-2: #7FAE6B; --chart-3: var(--green-400); --chart-track: #1B4334;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4); --shadow-md: 0 12px 24px -12px rgba(0, 0, 0, .6); --shadow-lg: 0 24px 48px -16px rgba(0, 0, 0, .7);
  color-scheme: dark;
}
:root {
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px;
  --radius-xs: 5px; --radius-sm: 10px; --radius-md: 15px; --radius-lg: 20px; --radius-full: 9999px;
  --container-max: 1200px; --measure: 68ch; --gutter: 24px; --header-height: 80px;
  --font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-text: "Source Sans 3", "Source Sans Pro", "Segoe UI", system-ui, sans-serif;
}

/* ---------- 2. Base et typographie ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-family: var(--font-text); font-size: 18px; line-height: 30px; background: var(--surface); color: var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--paper); color: var(--forest-900); padding: 10px 16px; border-radius: var(--radius-xs); font-family: var(--font-display); font-weight: 600; }
.skip:focus { top: 12px; }
.display { font-family: var(--font-display); font-size: 56px; line-height: 62px; font-weight: 800; letter-spacing: -.02em; }
.h1 { font-family: var(--font-display); font-size: 44px; line-height: 52px; font-weight: 700; letter-spacing: -.015em; }
.h2 { font-family: var(--font-display); font-size: 34px; line-height: 42px; font-weight: 700; letter-spacing: -.01em; }
.h3 { font-family: var(--font-display); font-size: 24px; line-height: 32px; font-weight: 600; }
.h4 { font-family: var(--font-display); font-size: 20px; line-height: 28px; font-weight: 600; }
.display, .h1, .h2, .h3, .h4 { color: var(--text-heading); margin: 0; text-wrap: balance; }
.eyebrow { font-family: var(--font-display); font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.button { font-family: var(--font-display); font-size: 16px; line-height: 20px; font-weight: 600; }
.lead { font-size: 21px; line-height: 34px; margin: 0; }
.body { font-size: 18px; line-height: 30px; margin: 0; }
.body-sm { font-size: 16px; line-height: 26px; margin: 0; }
.caption { font-size: 14px; line-height: 20px; margin: 0; }
.label { font-size: 15px; line-height: 20px; font-weight: 600; }
.quote { font-size: 21px; line-height: 34px; font-style: italic; }
.muted { color: var(--text-muted); }
a.ts-link, .prose a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a.ts-link:hover, .prose a:hover { color: var(--link-hover); text-decoration-thickness: 2px; }
@media (max-width: 720px) {
  .display { font-size: 40px; line-height: 46px; } .h1 { font-size: 34px; line-height: 42px; } .h2 { font-size: 28px; line-height: 36px; }
  .h3 { font-size: 22px; line-height: 30px; } .lead { font-size: 19px; line-height: 30px; } .body { font-size: 17px; line-height: 28px; }
}

/* ---------- 3. Composants ---------- */
/* Bouton */
.ts-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 48px; padding: 14px 26px; border-radius: var(--radius-xs); border: 1.5px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background-color .2s ease-out, color .2s ease-out, border-color .2s ease-out, box-shadow .2s ease-out; }
.ts-btn--primary { background: var(--action); color: var(--on-action); }
.ts-btn--primary:hover { background: var(--action-hover); box-shadow: var(--shadow-md); }
.ts-btn--secondary { background: transparent; color: var(--text-heading); border-color: var(--line-strong); }
.ts-btn--secondary:hover { background: var(--surface-mint); }
.ts-btn--inverse { background: var(--paper); color: var(--forest-900); }
.ts-btn--inverse:hover { background: var(--sage-100); }
.ts-btn--ghost { background: transparent; color: var(--link); padding-left: 0; padding-right: 0; }
.ts-btn--ghost:hover { color: var(--link-hover); text-decoration: underline; text-underline-offset: 4px; }
.ts-btn--sm { min-height: 40px; padding: 10px 18px; font-size: 15px; }
.ts-btn--lg { padding: 18px 32px; font-size: 17px; }
.ts-btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.arrow { display: inline-block; transition: transform .2s ease-out; }
.ts-btn:hover .arrow, .ts-sim:hover .arrow { transform: translateX(3px); }

/* Sur-titre et titre de section */
.ts-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--text-heading); }
.ts-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: var(--radius-full); background: var(--accent); flex: none; transition: transform .3s ease-out; }
.ts-heading { display: flex; flex-direction: column; gap: var(--space-4); max-width: var(--measure); }
.ts-heading .lead { color: var(--text-muted); }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 50; }
.ts-header { background: var(--surface-inverse); color: var(--text-inverse); transition: box-shadow .2s ease-out; }
.ts-header__inner { max-width: var(--container-max); margin: 0 auto; min-height: var(--header-height); padding: 0 var(--gutter); display: flex; align-items: center; gap: var(--space-6); transition: min-height .2s ease-out; }
.ts-header__brand { display: flex; align-items: center; flex: none; }
.ts-header__logo { height: 40px; width: auto; display: block; transition: height .2s ease-out; }
.ts-header__nav { flex: 1; }
.ts-header__nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--space-6); justify-content: center; align-items: flex-start; }
.ts-header__link { display: flex; flex-direction: column; white-space: nowrap; text-decoration: none; color: var(--text-inverse); padding: var(--space-2) 0; border-bottom: 2px solid transparent; font-family: var(--font-display); font-size: 15px; line-height: 20px; font-weight: 500; }
.ts-header__link:hover, .ts-header__link[aria-current="page"] { border-bottom-color: var(--accent); }
.ts-header__sub { color: var(--text-inverse-muted); font-family: var(--font-text); font-size: 13px; line-height: 18px; font-weight: 400; }
.ts-header__actions { display: flex; align-items: center; gap: var(--space-4); flex: none; }
.ts-header__lang { color: var(--text-inverse); text-decoration: none; font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: .08em; padding: 6px 12px; border: 1px solid var(--text-inverse-muted); border-radius: var(--radius-full); }
.ts-header__lang:hover { background: var(--forest-800); }
.ts-header__burger { display: none; width: 48px; height: 48px; background: none; border: 0; padding: 12px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.ts-header__burger span { display: block; width: 24px; height: 2px; background: var(--text-inverse); border-radius: 2px; transition: transform .2s ease-out, opacity .2s ease-out; }
.ts-header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ts-header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ts-header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.site-header.is-compact .ts-header__inner { min-height: 64px; }
.site-header.is-compact .ts-header__logo { height: 32px; }
.site-header.is-compact .ts-header { box-shadow: 0 10px 24px -18px rgba(0, 0, 0, .6); }
.menu-panel { background: var(--surface-inverse); border-top: 1px solid var(--forest-800); padding: var(--space-2) var(--gutter) var(--space-5); max-height: calc(100vh - 64px); overflow-y: auto; }
.menu-panel[hidden] { display: none; }
.menu-panel ul { list-style: none; margin: 0; padding: 0; }
.menu-link { display: flex; flex-direction: column; justify-content: center; min-height: 60px; color: var(--text-inverse); text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 24px; border-bottom: 1px solid var(--forest-800); }
.menu-link[aria-current="page"] { color: var(--accent); }
.menu-sub { font-family: var(--font-text); font-weight: 400; font-size: 14px; line-height: 18px; color: var(--text-inverse-muted); }
.menu-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; margin-top: var(--space-5); }
.menu-lang { color: var(--text-inverse); text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: .08em; min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; border: 1px solid var(--text-inverse-muted); border-radius: var(--radius-full); }
@media (max-width: 1080px) {
  .ts-header__nav, .ts-header__actions .ts-btn, .ts-header__lang { display: none; }
  .ts-header__burger { display: flex; }
  .ts-header__inner { justify-content: space-between; }
}
@media (min-width: 1081px) { .menu-panel { display: none !important; } }

/* Pied de page */
.ts-footer { background: var(--surface-inverse); color: var(--text-inverse); }
.ts-footer__inner { max-width: var(--container-max); margin: 0 auto; padding: var(--space-8) var(--gutter) var(--space-6); }
.ts-footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--space-7); }
.ts-footer__logo { height: 44px; width: auto; display: block; margin-bottom: var(--space-4); }
.ts-footer__note { color: var(--text-inverse-muted); max-width: 36ch; }
.ts-footer__title { color: var(--text-inverse); margin: 0 0 var(--space-3); }
.ts-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.ts-footer a { color: var(--text-inverse-muted); text-decoration: none; transition: color .2s ease-out; }
.ts-footer a:hover { color: var(--text-inverse); text-decoration: underline; text-underline-offset: 3px; }
.ts-footer__bottom { margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid var(--forest-800); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4); color: var(--text-inverse-muted); }
.ts-footer__bottom ul { flex-direction: row; flex-wrap: wrap; gap: var(--space-5); }
@media (max-width: 720px) { .ts-footer__top { grid-template-columns: 1fr; gap: var(--space-6); } }

/* Carte simulation */
.ts-sim { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-6); border-radius: var(--radius-lg); min-height: 320px; height: 100%; }
.ts-sim--brandpro { background: var(--product-brandpro); color: var(--text-inverse); }
.ts-sim--revmanex { background: var(--product-revmanex); color: var(--text-inverse); }
.ts-sim--circularpro { background: var(--product-circularpro); color: var(--on-product-light); box-shadow: inset 0 0 0 1.5px var(--sage-300); }
.ts-sim--extra { background: var(--product-extra); color: var(--on-product-light); box-shadow: inset 0 0 0 1px var(--line); }
[data-site-theme="dark"] .ts-sim--brandpro { box-shadow: inset 0 0 0 1px var(--line); }
.ts-sim__name { color: inherit; font-size: 30px; line-height: 36px; }
.ts-sim__category { color: inherit; opacity: .92; letter-spacing: .16em; padding-right: 72px; }
.ts-sim__category::before { content: ""; width: 8px; height: 8px; border-radius: var(--radius-full); background: var(--accent); display: inline-block; margin-right: 10px; vertical-align: middle; }
.ts-sim--circularpro .ts-sim__category::before, .ts-sim--extra .ts-sim__category::before { background: var(--forest-700); }
.ts-sim__desc { color: inherit; flex: 1; }
.ts-sim__cta { align-self: flex-start; color: inherit; font-family: var(--font-display); font-weight: 600; font-size: 16px; text-decoration: none; display: inline-flex; gap: var(--space-2); border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.ts-sim__dots { position: absolute; top: -26px; right: -26px; width: 116px; height: 116px; opacity: .45; background-image: radial-gradient(circle, var(--accent) 3.5px, transparent 4px); background-size: 20px 20px; border-radius: var(--radius-full); pointer-events: none; }
.ts-sim--circularpro .ts-sim__dots, .ts-sim--extra .ts-sim__dots { background-image: radial-gradient(circle, var(--sage-400) 3.5px, transparent 4px); opacity: .7; }
.ts-sim > :not(.ts-sim__dots) { position: relative; }
/* Carte entièrement cliquable */
.card-link .ts-sim { box-shadow: var(--shadow-sm); transition: transform .2s ease-out, box-shadow .2s ease-out; }
.card-link .ts-sim--circularpro { box-shadow: inset 0 0 0 1.5px var(--sage-300), var(--shadow-sm); }
.card-link .ts-sim:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card-link .ts-sim--circularpro:hover { box-shadow: inset 0 0 0 1.5px var(--sage-300), var(--shadow-md); }
.card-link .ts-sim .ts-sim__cta { position: static; }
.card-link .ts-sim .ts-sim__cta::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); }
.card-link .ts-sim .ts-sim__cta:focus-visible { outline: none; }
.card-link .ts-sim:focus-within { outline: 2px solid var(--focus-ring); outline-offset: 3px; }

/* Pictogramme, carte, tuile */
.ts-icon-chip { width: 56px; height: 56px; border-radius: var(--radius-sm); background: var(--sage-100); display: inline-flex; align-items: center; justify-content: center; flex: none; transition: background-color .25s ease-out, transform .25s ease-out; }
.ts-icon-chip img { width: 28px; height: 28px; object-fit: contain; }
.ts-icon-chip--sm { width: 44px; height: 44px; }
.ts-icon-chip--sm img { width: 22px; height: 22px; }
.ts-feature { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-6); background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); transition: box-shadow .2s ease-out, transform .2s ease-out; }
.ts-feature:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.ts-feature:hover .ts-icon-chip { background: var(--sage-200); transform: rotate(-4deg); }
.ts-feature .ts-icon-chip { margin-bottom: var(--space-2); }
.ts-feature p { color: var(--text-muted); }
.ts-info { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-4) var(--space-5); background: var(--surface-raised); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.ts-info__label { color: var(--text-muted); text-transform: uppercase; letter-spacing: .12em; font-family: var(--font-display); font-size: 12px; font-weight: 600; line-height: 16px; }
.ts-info__value { color: var(--text-heading); font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 26px; margin: 2px 0 0; }
/* Section Flexible : survol des cartes Lieu / Déroulement / Accès / Durée */
.info-grid .ts-info { position: relative; overflow: hidden; transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease-out; }
.info-grid .ts-info::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--accent); transform: scaleY(0); transform-origin: bottom; transition: transform .3s ease-out; }
.info-grid .ts-info__value { transition: translate .3s cubic-bezier(.2, .7, .2, 1); }
@media (hover: hover) {
  .info-grid .ts-info:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
  .info-grid .ts-info:hover::before { transform: scaleY(1); }
  .info-grid .ts-info:hover .ts-icon-chip { background: var(--sage-200); animation: tsChipPop .6s cubic-bezier(.2, .7, .2, 1) both; }
  .info-grid .ts-info:hover .ts-info__value { translate: 4px 0; }
}

/* Élément numéroté */
.ts-benefit { display: grid; grid-template-columns: 44px 1fr; gap: var(--space-2) var(--space-4); align-items: start; }
.ts-benefit__num { grid-row: span 2; width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--action); color: var(--on-action); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 18px; transition: background-color .2s ease-out; }
.ts-benefit__title { padding-top: 8px; }
.ts-benefit__text { color: var(--text-muted); max-width: 52ch; }

/* Avis */
.ts-testi { display: flex; flex-direction: column; gap: var(--space-5); background: var(--surface-raised); border-radius: var(--radius-lg); margin: 0; }
.ts-testi__mark { width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--forest-900); display: flex; align-items: center; justify-content: center; flex: none; }
.ts-testi__mark img { width: 22px; height: auto; }
.ts-testi__quote { margin: 0; color: var(--text); }
.ts-testi__by { display: flex; align-items: center; gap: var(--space-3); }
.ts-testi__avatar { border-radius: var(--radius-full); object-fit: cover; flex: none; }
.ts-testi__name { font-family: var(--font-display); font-weight: 700; color: var(--text-heading); margin: 0; }
.ts-testi__role { color: var(--text-muted); }

/* Champs */
.ts-field { display: flex; flex-direction: column; gap: var(--space-2); }
.ts-field__label { color: var(--text); }
.ts-field__label small { font-weight: 400; color: var(--text-muted); font-size: 14px; margin-left: 6px; }
.ts-field__control { font-family: var(--font-text); font-size: 17px; line-height: 26px; color: var(--text); background: var(--surface-raised); border: 1.5px solid var(--border-control); border-radius: var(--radius-xs); padding: 11px 14px; box-shadow: var(--shadow-sm); width: 100%; min-height: 50px; }
.ts-field__control::placeholder { color: var(--text-muted); opacity: .8; }
.ts-field__control:focus { outline: 2px solid var(--focus-ring); outline-offset: 1px; border-color: var(--focus-ring); }
textarea.ts-field__control { min-height: 140px; resize: vertical; }
select.ts-field__control { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-heading) 50%), linear-gradient(135deg, var(--text-heading) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; cursor: pointer; }
.ts-field--error .ts-field__control { border-color: var(--danger); }
.ts-field__error { display: flex; align-items: center; gap: var(--space-2); color: var(--on-danger-surface); background: var(--danger-surface); border-radius: var(--radius-xs); padding: 6px 10px; }
.ts-field__error[hidden] { display: none; }
.ts-field__error::before { content: "!"; width: 18px; height: 18px; border-radius: var(--radius-full); background: var(--danger); color: var(--paper); font-family: var(--font-display); font-weight: 700; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; flex: none; }

/* ---------- 4. Mise en page ---------- */
.wrap { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding: var(--space-9) 0; scroll-margin-top: 64px; }
.sec--mint { background: var(--surface-mint); }
.sec--sage { background: var(--surface-sage); }
.sec--line { border-top: 1px solid var(--line); }
.sec-head { margin-bottom: var(--space-7); }
.stack { display: flex; flex-direction: column; gap: var(--space-5); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; }
.prose { max-width: var(--measure); }
.prose p { margin: 0 0 var(--space-4); }
.prose p:last-child { margin-bottom: 0; }
.footnote { color: var(--text-muted); font-size: 15px; line-height: 22px; margin: 0; }
.grid2, .grid3, .grid4 { display: grid; gap: var(--space-5); }
.grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-8); align-items: center; }
.split--top { align-items: start; }
.split--narrow { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.photo { width: 100%; height: auto; display: block; object-fit: cover; border-radius: var(--radius-lg); }
.photo--portrait { aspect-ratio: 4 / 5; max-width: 480px; }
.photo--wide { aspect-ratio: 3 / 2; }
.photo--square { aspect-ratio: 1 / 1; }
.photo-caption { margin-top: var(--space-3); color: var(--text-muted); font-size: 15px; line-height: 22px; }
.shot { background: #FFFFFF; border: 1px solid var(--line); box-shadow: var(--shadow-md); object-fit: contain; height: auto; }
@media (max-width: 960px) {
  .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split--narrow { grid-template-columns: 1fr; gap: var(--space-7); }
}
@media (max-width: 720px) {
  .sec { padding: var(--space-8) 0; } .sec-head { margin-bottom: var(--space-6); }
  .grid2, .grid3 { grid-template-columns: 1fr; }
  :root { --gutter: 20px; }
}

/* Accroche */
.hero { background: var(--surface) url(../img/fond-carreaux.webp) center top / 1728px auto repeat; padding: var(--space-9) 0 var(--space-8); }
[data-site-theme="dark"] .hero { background-image: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--space-8); align-items: stretch; }
.hero-text { display: flex; flex-direction: column; gap: var(--space-5); max-width: var(--measure); align-self: center; }
.hero-img { width: 100%; height: 100%; min-height: 600px; object-fit: cover; object-position: 38% center; border-radius: var(--radius-lg); display: block; box-shadow: var(--shadow-md); }
.partner { display: flex; align-items: center; gap: var(--space-4); margin: var(--space-4) 0 0; color: var(--text-muted); }
.partner img { height: 36px; width: auto; display: block; }
.partner--credit { margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid var(--line); }
[data-site-theme="dark"] .partner img { background: var(--paper); padding: 4px 8px; border-radius: var(--radius-xs); height: 44px; }
@media (max-width: 960px) {
  .hero { padding-top: var(--space-7); }
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-7); }
  .hero-img { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
}

/* Bénéfices : 6 cartes, texte coupé à 3 lignes */
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); align-items: start; }
.benefits--cards { align-items: stretch; }
.benefits--cards.is-even { grid-auto-rows: 1fr; }
.benefit { display: flex; flex-direction: column; gap: var(--space-3); background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-5); transition: border-color .2s ease-out, box-shadow .2s ease-out; }
.benefit:hover { border-color: var(--sage-300); box-shadow: var(--shadow-sm); }
.benefit:hover .ts-benefit__num { background: var(--forest-700); }
.benefit .ts-benefit__text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.benefit.is-open .ts-benefit__text { display: block; overflow: visible; }
.benefit-more { margin-top: auto; align-self: flex-start; margin-left: 60px; min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--link); font-family: var(--font-display); font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.benefit-more:hover { color: var(--link-hover); text-decoration-thickness: 2px; }
/* « Ce que vous allez mettre en œuvre » : cartes numérotées */
.moe { align-items: stretch; gap: var(--space-5); }
.moe .ts-benefit { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-5); min-height: 280px; padding: var(--space-6); background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease-out, border-color .3s ease-out, background-color .3s ease-out; }
.moe .ts-benefit::before { content: ""; position: absolute; top: -40px; right: -40px; width: 120px; height: 120px; border-radius: var(--radius-full); background: var(--sage-100); opacity: .7; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.moe .ts-benefit::after { content: ""; position: absolute; left: var(--space-6); bottom: 0; width: 48px; height: 4px; border-radius: 4px 4px 0 0; background: var(--accent); transition: width .4s cubic-bezier(.2, .7, .2, 1); }
.moe .ts-benefit__num { position: relative; grid-row: auto; width: auto; height: auto; background: none; justify-content: flex-start; color: var(--surface-raised); -webkit-text-stroke: 3px var(--link); paint-order: stroke fill; font-family: var(--font-display); font-size: 64px; line-height: 1; font-weight: 800; letter-spacing: -.03em; transition: color .3s ease-out; }
.moe .ts-benefit__num::before { content: "0"; }
.moe .ts-benefit__title { position: relative; padding-top: 0; font-size: 21px; line-height: 29px; max-width: 26ch; }
.moe__body { position: relative; }
.moe__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s cubic-bezier(.2, .7, .2, 1); }
.moe__desc { min-height: 0; overflow: hidden; margin: 0; color: var(--text-muted); opacity: 0; translate: 0 6px; transition: opacity .3s ease-out .05s, translate .35s ease-out .05s; }
.moe .ts-benefit:hover .moe__more, .moe .ts-benefit:focus-within .moe__more { grid-template-rows: 1fr; }
.moe .ts-benefit:hover .moe__desc, .moe .ts-benefit:focus-within .moe__desc { opacity: 1; translate: 0 0; padding-top: var(--space-2); }
@media (hover: none) { .moe__more { display: block; } .moe__desc { overflow: visible; opacity: 1; translate: 0 0; padding-top: var(--space-2); } }
@media (hover: hover) {
  .moe .ts-benefit:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--sage-300); }
  .moe .ts-benefit:hover::before { transform: scale(1.5); }
  .moe .ts-benefit:hover::after { width: calc(100% - 2 * var(--space-6)); }
  .moe .ts-benefit:hover .ts-benefit__num { color: var(--text-heading); -webkit-text-stroke-color: var(--text-heading); }
}
@media (max-width: 720px) {
  .moe { gap: var(--space-3); }
  .moe .ts-benefit { flex-direction: row; align-items: center; justify-content: flex-start; min-height: 0; gap: var(--space-5); padding: var(--space-5); }
  .moe .ts-benefit__num { font-size: 44px; flex: none; min-width: 64px; }
  .moe .ts-benefit::after { left: var(--space-5); }
  .moe .ts-benefit::before { width: 72px; height: 72px; top: -32px; right: -32px; }
  .moe .ts-benefit__title { font-size: 18px; line-height: 26px; }
}
/* « Description de la simulation » : plus de relief */
.desc .split { align-items: start; }
.desc .prose { display: flex; flex-direction: column; gap: var(--space-5); }
.desc .prose p { position: relative; margin: 0; padding-left: 32px; }
.desc .prose p::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border-radius: var(--radius-full); background: var(--accent); box-shadow: 0 0 0 4px var(--sage-200); }
.desc .prose p::after { content: ""; position: absolute; left: 5px; top: calc(.5em + 22px); bottom: calc(-1 * var(--space-5) + 6px); width: 2px; border-radius: 2px; background: var(--sage-300); }
.desc .prose p:last-child::after { display: none; }
.desc .prose p:first-child { font-family: var(--font-display); font-size: 19px; line-height: 30px; font-weight: 500; color: var(--text-heading); }
.desc .split .photo { box-shadow: 18px 18px 0 var(--forest-900); transition: box-shadow .4s cubic-bezier(.2, .7, .2, 1), translate .4s cubic-bezier(.2, .7, .2, 1); }
.desc .split .photo.shot { border: 0; }
@media (hover: hover) { .desc .split .photo:hover { translate: -6px -6px; box-shadow: 24px 24px 0 var(--forest-900); } }
.desc .split figure .photo-caption { margin-top: calc(var(--space-3) + 18px); }
/* Chiffres : bandeau vert foncé */
.desc .facts { gap: 1px; background: var(--forest-800); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); margin-top: var(--space-8); }
.desc .score .facts { margin-top: var(--space-2); }
.desc .fact { background: var(--forest-900); border-radius: 0; box-shadow: none; padding: var(--space-6); }
.desc .fact__num { color: var(--accent); font-size: 52px; line-height: 56px; letter-spacing: -.02em; }
.desc .facts--3 .fact__num { font-size: 40px; line-height: 48px; }
.desc .fact__label { color: var(--sage-200); margin-top: var(--space-2); }
@media (hover: hover) {
  .desc .fact:hover { background: var(--forest-800); transform: none; box-shadow: none; }
  .desc .fact:hover .fact__label { color: var(--paper); }
}
@media (max-width: 720px) {
  .desc .prose p:first-child { font-size: 18px; line-height: 28px; }
  .desc .split .photo { box-shadow: 10px 10px 0 var(--forest-900); }
  .desc .fact { padding: var(--space-5); }
  .desc .fact__num { font-size: 40px; line-height: 44px; }
}
.ben-dots { display: none; }
@media (max-width: 960px) { .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .benefits { grid-template-columns: 1fr; }
  .benefits--cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; scrollbar-width: none; align-items: flex-start; }
  .benefits--cards::-webkit-scrollbar { display: none; }
  .benefits--cards > .benefit { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
  .benefits--cards .ts-benefit__text { display: block; overflow: visible; }
  .benefits--cards .benefit-more { display: none; }
  .ben-dots { display: flex; justify-content: center; gap: 4px; margin-top: var(--space-4); }
  .ben-dot { width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
  .ben-dot::before { content: ""; width: 10px; height: 10px; border-radius: var(--radius-full); background: var(--line); transition: width .2s ease-out, background-color .2s ease-out; }
  .ben-dot[aria-pressed="true"]::before { width: 28px; background: var(--action); }
}

/* Avis : carrousel */
.avis-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--space-5); }
.avis-ctrl { display: flex; align-items: center; gap: var(--space-3); }
.round-btn { width: 48px; height: 48px; border-radius: var(--radius-full); border: 1.5px solid var(--line-strong); background: var(--surface-raised); color: var(--text-heading); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; transition: background-color .2s ease-out, color .2s ease-out; }
.round-btn:hover { background: var(--action); color: var(--on-action); }
.round-btn--ghost { border-color: transparent; background: transparent; margin-left: var(--space-2); }
.round-btn--ghost:hover { background: var(--surface-raised); color: var(--text-heading); }
.round-btn .i-play { display: none; }
.is-paused .round-btn .i-play { display: block; }
.is-paused .round-btn .i-pause { display: none; }
.avis-count { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--text-heading); font-variant-numeric: tabular-nums; min-width: 64px; text-align: center; }
.avis-stage { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-6); align-items: start; }
.featured { position: relative; }
.featured .ts-testi { padding: var(--space-7); min-height: 440px; box-shadow: var(--shadow-md); justify-content: space-between; }
.featured .ts-testi__quote { font-size: 24px; line-height: 38px; }
.featured .ts-testi__avatar { width: 64px; height: 64px; }
.featured .ts-testi__name { font-size: 19px; line-height: 26px; }
.featured.is-in .ts-testi { animation: tsRise .45s ease-out both; }
.avis-progress { position: absolute; left: var(--space-7); right: var(--space-7); bottom: var(--space-5); height: 3px; border-radius: var(--radius-full); background: var(--chart-track); overflow: hidden; }
.avis-progress span { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left center; transform: scaleX(0); }
.avis-progress span.run { animation: avisProg 8s linear forwards; }
@keyframes avisProg { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.avis-stage:hover .avis-progress span, .avis-stage:focus-within .avis-progress span, .is-paused .avis-progress span { animation-play-state: paused; }
.avis-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.avis-pick { width: 100%; display: flex; align-items: center; gap: var(--space-3); min-height: 68px; padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); border: 1px solid transparent; background: transparent; color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: background-color .2s ease-out, box-shadow .2s ease-out; }
.avis-pick:hover { background: rgba(255, 255, 255, .45); }
[data-site-theme="dark"] .avis-pick:hover { background: rgba(255, 255, 255, .06); }
.avis-pick[aria-pressed="true"] { background: var(--surface-raised); border-color: var(--line); box-shadow: var(--shadow-sm); }
.avis-pick img { width: 48px; height: 48px; border-radius: var(--radius-full); object-fit: cover; flex: none; }
.avis-pick strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 22px; color: var(--text-heading); }
.avis-pick span span { display: block; font-size: 14px; line-height: 20px; color: var(--text-muted); }
.avis-pick[aria-pressed="true"] strong::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-left: 10px; border-radius: var(--radius-full); background: var(--accent); vertical-align: middle; }
@media (max-width: 960px) {
  .avis-stage { grid-template-columns: 1fr; }
  .avis-list { flex-direction: row; overflow-x: auto; padding-bottom: var(--space-2); }
  .avis-list li { flex: none; }
  .avis-pick { width: auto; min-height: 60px; padding: 6px; border-radius: var(--radius-full); }
  .avis-pick { position: relative; }
  .avis-pick > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; left: 0; top: 0; }
  .featured .ts-testi { min-height: 0; padding: var(--space-6) var(--space-5) var(--space-7); }
  .featured .ts-testi__quote { font-size: 20px; line-height: 32px; }
  .avis-progress { left: var(--space-5); right: var(--space-5); }
}

/* 70 / 20 / 10 */
.stats-card { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-5); }
.mix-bar { display: flex; gap: 6px; height: 64px; }
.mix-seg { border-radius: var(--radius-sm); display: flex; align-items: center; padding: 0 var(--space-4); color: var(--paper); font-family: var(--font-display); font-weight: 800; font-size: 22px; transform-origin: left center; transition: transform .6s ease-out; min-width: 0; white-space: nowrap; }
.mix-seg--70 { flex: 70 1 0; background: var(--chart-1); }
.mix-seg--20 { flex: 20 1 0; background: var(--chart-2); font-size: 18px; padding: 0 var(--space-3); transition-delay: .1s; }
.mix-seg--10 { flex: 10 1 0; background: var(--chart-3); font-size: 14px; padding: 0; justify-content: center; transition-delay: .2s; }
.stats-wait .mix-seg { transform: scaleX(0); }
[data-site-theme="dark"] .mix-seg { color: var(--forest-900); }
.mix-list { list-style: none; margin: 0; padding: 0; }
.mix-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: var(--space-4); padding: var(--space-4) 0; border-top: 1px solid var(--line); }
.mix-row p { margin: 0; }
.mix-row__num { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 34px; letter-spacing: -.02em; color: var(--text-heading); white-space: nowrap; }
.mix-row__num::before { content: ""; width: 10px; height: 10px; border-radius: var(--radius-full); flex: none; }
.mix-row--70 .mix-row__num::before { background: var(--chart-1); }
.mix-row--20 .mix-row__num::before { background: var(--chart-2); }
.mix-row--10 .mix-row__num::before { background: var(--chart-3); }
.mix-row__label { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 26px; color: var(--text-heading); padding-top: 4px; }
.mix-row__text { font-size: 16px; line-height: 26px; color: var(--text-muted); margin-top: 4px !important; }
.mix-chip { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--space-2); padding: 2px 12px; border-radius: var(--radius-full); background: var(--sage-100); color: var(--forest-900); font-family: var(--font-display); font-weight: 600; font-size: 13px; line-height: 22px; }
.mix-chip::before { content: ""; width: 8px; height: 8px; border-radius: var(--radius-full); background: var(--forest-700); }
@media (max-width: 720px) {
  .stats-card { padding: var(--space-5); }
  .mix-bar { height: 52px; }
  .mix-seg--70 { font-size: 18px; } .mix-seg--20 { font-size: 14px; padding: 0 var(--space-2); } .mix-seg--10 { font-size: 11px; }
  .mix-row { grid-template-columns: 76px minmax(0, 1fr); gap: var(--space-3); }
  .mix-row__num { font-size: 24px; }
}

/* Chiffres clés */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); margin-top: var(--space-6); }
.facts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fact { background: var(--surface-raised); border-radius: var(--radius-md); padding: var(--space-4) var(--space-5); box-shadow: var(--shadow-sm); }
.fact__num { display: block; font-family: var(--font-display); font-weight: 800; font-size: 36px; line-height: 40px; color: var(--text-heading); }
.fact__label { display: block; font-size: 15px; line-height: 22px; color: var(--text-muted); margin-top: 4px; }
/* Chiffres clés : interaction au survol */
.fact { position: relative; overflow: hidden; transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease-out, background-color .3s ease-out, filter .3s ease-out; }
.fact::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--accent); transform: scaleX(0); transform-origin: left center; transition: transform .35s ease-out; }
.fact__label { transition: color .3s ease-out; }
@media (hover: hover) {
  .fact:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); background: var(--sage-100); }
  .fact:hover::before { transform: scaleX(1); }
  .fact:hover .fact__num { translate: 0 -2px; }
  .fact:hover .fact__label { color: var(--text-heading); }
  .facts:hover .fact:not(:hover) { filter: opacity(.65); }
}
.score { margin-top: var(--space-8); display: flex; flex-direction: column; gap: var(--space-4); }
.score .facts { margin-top: var(--space-2); }
@media (max-width: 720px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .facts--3 { grid-template-columns: 1fr; } }

/* Contact */
.form-card { background: var(--surface-raised); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-sm); }
.big-quote { font-style: italic; font-size: 24px; line-height: 36px; color: var(--text-heading); margin: 0; max-width: 32ch; }
.coach-mini { display: flex; align-items: center; gap: var(--space-3); }
.coach-mini img { width: 56px; height: 56px; border-radius: var(--radius-sm); object-fit: cover; object-position: center top; flex: none; }
.coach-mini strong { display: block; font-family: var(--font-display); font-size: 16px; line-height: 22px; color: var(--text-heading); }
.coach-mini span { display: block; font-size: 15px; line-height: 22px; color: var(--text-muted); }
.cf { display: flex; flex-direction: column; gap: var(--space-5); }
.cf-row { display: flex; flex-wrap: wrap; gap: var(--space-5); }
.cf-row > * { flex: 1 1 220px; min-width: 0; }
.cf-alert { display: flex; gap: var(--space-3); align-items: flex-start; background: var(--danger-surface); color: var(--on-danger-surface); border-radius: var(--radius-sm); padding: var(--space-3) var(--space-4); font-size: 16px; line-height: 24px; }
.cf-alert[hidden] { display: none; }
.cf-alert b { flex: none; width: 22px; height: 22px; border-radius: var(--radius-full); background: var(--danger); color: var(--paper); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 13px; margin-top: 1px; }
.cf-foot { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; justify-content: space-between; }
.cf-foot .caption { color: var(--text-muted); max-width: 40ch; }
.cf-done { display: flex; flex-direction: column; gap: var(--space-4); align-items: flex-start; padding: var(--space-4) 0; }
.cf-done[hidden], .cf[hidden] { display: none; }
.cf-check { width: 56px; height: 56px; border-radius: var(--radius-sm); background: var(--sage-100); color: var(--forest-900); display: flex; align-items: center; justify-content: center; }
@media (max-width: 720px) { .form-card { padding: var(--space-5) var(--space-4); } .cf-foot .ts-btn { width: 100%; } }

/* Fenêtre de contact */
.contact-modal { width: min(1040px, calc(100% - 48px)); max-width: none; max-height: calc(100% - 48px); padding: 0; border: 0; border-radius: var(--radius-lg); background: var(--surface-raised); color: var(--text); box-shadow: var(--shadow-lg); overflow: auto; }
.contact-modal::backdrop { background: rgba(9, 29, 22, .55); }
.contact-dialog { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); position: relative; min-height: 100%; }
.contact-dialog__close { position: absolute; top: var(--space-4); right: var(--space-4); z-index: 2; width: 44px; height: 44px; border-radius: var(--radius-full); border: 0; background: transparent; color: var(--text-heading); font-size: 28px; line-height: 1; cursor: pointer; }
.contact-dialog__close:hover { background: var(--surface-mint); }
.contact-dialog__side { background: var(--surface-inverse); color: var(--text-inverse); padding: var(--space-7) var(--space-6); display: flex; flex-direction: column; gap: var(--space-5); }
.contact-dialog__side .ts-eyebrow, .contact-dialog__side .h2 { color: var(--text-inverse); }
.contact-dialog__quote { margin: 0; font-style: italic; font-size: 21px; line-height: 34px; }
.contact-dialog__coach { margin-top: auto; display: flex; align-items: center; gap: var(--space-4); padding-top: var(--space-5); border-top: 1px solid var(--forest-800); }
.contact-dialog__coach img { width: 72px; height: 90px; border-radius: var(--radius-sm); object-fit: cover; object-position: center top; flex: none; }
.contact-dialog__coach strong { display: block; font-family: var(--font-display); font-size: 16px; line-height: 22px; }
.contact-dialog__coach span { display: block; font-size: 15px; line-height: 22px; color: var(--text-inverse-muted); }
.contact-dialog__form { padding: var(--space-7) var(--space-6) var(--space-6); }
@media (max-width: 860px) {
  .contact-modal { width: calc(100% - 24px); max-height: calc(100% - 24px); }
  .contact-dialog { grid-template-columns: 1fr; }
  .contact-dialog__side { padding: var(--space-6) var(--space-5) var(--space-5); gap: var(--space-3); }
  .contact-dialog__side .h2 { font-size: 26px; line-height: 34px; padding-right: 40px; }
  .contact-dialog__quote, .contact-dialog__coach { display: none; }
  .contact-dialog__close { color: var(--text-inverse); }
  .contact-dialog__close:hover { background: var(--forest-800); }
  .contact-dialog__form { padding: var(--space-5) var(--space-4); }
}

/* Pages produit */
.p-hero { background: var(--product-brandpro); color: var(--text-inverse); padding: var(--space-7) 0 var(--space-9); }
.p-hero .ts-eyebrow, .p-hero .h1, .p-hero .lead { color: var(--text-inverse); }
.p-hero .muted-inv { color: var(--text-inverse-muted); }
.p-hero--revmanex { background: var(--product-revmanex); }
.p-hero--circular { background: var(--product-circularpro); }
.p-hero--circular .ts-eyebrow, .p-hero--circular .h1, .p-hero--circular .lead { color: var(--forest-900); }
.p-hero--circular .ts-eyebrow::before { background: var(--forest-700); }
.p-hero--circular .muted-inv, .p-hero--circular .crumbs { color: var(--forest-800); }
.p-hero--circular .crumbs a { color: var(--forest-900); }
.p-hero--circular .lang-chips span { color: var(--forest-900); border-color: var(--forest-700); }
.p-hero--circular .ts-btn--primary { background: var(--forest-900); color: var(--paper); }
.crumbs { display: flex; gap: var(--space-2); align-items: center; font-size: 15px; line-height: 22px; color: var(--text-inverse-muted); margin: 0 0 var(--space-7); padding: 0; list-style: none; }
.crumbs a { color: var(--text-inverse); text-decoration: underline; text-underline-offset: 3px; }
.langs { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.lang-chips { display: flex; gap: var(--space-2); }
.lang-chips span { font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: .08em; padding: 4px 12px; border: 1px solid var(--text-inverse-muted); border-radius: var(--radius-full); color: var(--text-inverse); }
.video { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 9; background: #091D16; box-shadow: var(--shadow-lg); align-self: center; }
.video img, .video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video video { object-fit: contain; background: #000; }
.video__shade { position: absolute; inset: 0; background: rgba(9, 29, 22, .35); pointer-events: none; }
.video__play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: var(--radius-full); border: 0; background: var(--paper); color: var(--forest-900); cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); transition: background-color .2s ease-out, transform .2s ease-out; }
.video__play:hover { background: var(--sage-100); transform: scale(1.05); }
.video__time { position: absolute; left: 16px; bottom: 14px; color: var(--paper); font-family: var(--font-display); font-weight: 600; font-size: 14px; background: rgba(9, 29, 22, .75); padding: 2px 10px; border-radius: var(--radius-full); }
.word { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: var(--space-7); align-items: center; background: var(--surface-raised); border-radius: var(--radius-lg); padding: var(--space-7); box-shadow: var(--shadow-sm); margin: 0; }
.word > img { width: 240px; height: 300px; border-radius: var(--radius-lg); object-fit: cover; object-position: center top; display: block; }
.word blockquote { margin: 0; color: var(--text-heading); max-width: 60ch; }
@media (max-width: 720px) {
  .p-hero { padding-bottom: var(--space-8); } .crumbs { margin-bottom: var(--space-6); }
  .word { grid-template-columns: 1fr; padding: var(--space-6) var(--space-5); gap: var(--space-5); }
  .word > img { width: 100%; max-width: 320px; height: auto; aspect-ratio: 4 / 5; }
}

/* Aperçu : bandeau discret */
.preview-note { background: var(--forest-800); color: var(--sage-200); font-size: 14px; line-height: 20px; text-align: center; padding: 8px var(--gutter); margin: 0; }
.view[hidden] { display: none; }

/* ---------- 5. Animations ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-text > *, .p-hero .crumbs { animation: tsRise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-text > :nth-child(2) { animation-delay: .1s; } .hero-text > :nth-child(3) { animation-delay: .2s; }
  .hero-text > :nth-child(4) { animation-delay: .3s; } .hero-text > :nth-child(5) { animation-delay: .4s; } .hero-text > :nth-child(n+6) { animation-delay: .5s; }
  .hero-img, .p-hero .video { animation: tsUnveil 1.1s cubic-bezier(.2, .7, .2, 1) .2s both; }
  /* Titre d'accueil : mots qui surgissent un à un, puis soulignement accent */
  .hero-text > .title-anim { animation: none; }
  .title-anim .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
  .title-anim .w > span { display: inline-block; animation: tsWord 1s cubic-bezier(.16, .84, .24, 1) both; animation-delay: calc(.15s + var(--i) * .09s); }
  .title-anim .hl > span { background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 92% / 0% .12em; animation: tsWord 1s cubic-bezier(.16, .84, .24, 1) both, tsHl .5s ease-out both; animation-delay: calc(.15s + var(--i) * .09s), calc(1.1s + (var(--i) - 3) * .15s); }
  .hero .hero-text > .lead { animation-delay: .75s; } .hero .hero-text > .body { animation-delay: .85s; }
  .hero .hero-text > .actions { animation-delay: .95s; } .hero .hero-text > .partner { animation-delay: 1.05s; }
  @supports (animation-timeline: scroll()) {
    .site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform-origin: left center; transform: scaleX(0); animation: tsProgress linear both; animation-timeline: scroll(root block); pointer-events: none; }
  }
  @supports (animation-timeline: view()) {
    .sec-head, .sec .h2, .prose, .stats-card, .avis-stage, .grid2 > *, .grid3 > *, .benefits > *, .facts > *, .word, .form-card, .mix-row, .partner--credit {
      animation: tsReveal linear both; animation-timeline: view(); animation-range: entry 0% entry 55%;
    }
    .grid2 > :nth-child(2), .grid3 > :nth-child(2), .benefits > :nth-child(2), .facts > :nth-child(2) { animation-range: entry 6% entry 61%; }
    .grid3 > :nth-child(3), .benefits > :nth-child(3), .facts > :nth-child(3) { animation-range: entry 12% entry 67%; }
    .photo { animation: tsUnveilScroll linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    .contact-modal * { animation: none; }
    @media (max-width: 720px) { .benefits--cards > * { animation: none; } }
  }
  .sec:hover .ts-eyebrow::before, .hero-text:hover .ts-eyebrow::before { transform: scale(1.4); }
  .benefit.is-open .ts-benefit__text { animation: tsFade .35s ease-out both; }
  .fact.is-counting .fact__num { opacity: .55; font-variant-numeric: tabular-nums; }
  .fact .fact__num { display: inline-block; transition: opacity .3s ease-out; }
  .fact.is-counted .fact__num { animation: tsCountPop .5s cubic-bezier(.2, .7, .2, 1) both; }
  .contact-modal[open] { animation: tsRise .35s cubic-bezier(.2, .7, .2, 1) both; }
  .contact-modal[open]::backdrop { animation: tsFade .25s ease-out both; }
  .menu-panel:not([hidden]) { animation: tsDrop .25s ease-out both; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .stats-wait .mix-seg { transform: none; }
  .avis-progress { display: none; }
}
@keyframes tsRise { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
@keyframes tsReveal { from { opacity: 0; translate: 0 20px; } to { opacity: 1; translate: 0 0; } }
@keyframes tsFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes tsCountPop { 0% { scale: 1; } 45% { scale: 1.28; } 100% { scale: 1; } }
@keyframes tsChipPop { 0% { scale: .2; rotate: -120deg; } 70% { scale: 1.18; rotate: 8deg; } 100% { scale: 1; rotate: 0deg; } }
@keyframes tsWord { from { opacity: 0; transform: translateY(105%) rotate(5deg); } to { opacity: 1; transform: none; } }
@keyframes tsHl { from { background-size: 0% .12em; } to { background-size: 100% .12em; } }
@keyframes tsDrop { from { opacity: 0; translate: 0 -8px; } to { opacity: 1; translate: 0 0; } }
@keyframes tsUnveil { from { opacity: 0; clip-path: inset(6% 6% 6% 6% round 28px); } to { opacity: 1; clip-path: inset(-12% -12% -12% -12% round 0px); } }
@keyframes tsUnveilScroll { from { opacity: .4; clip-path: inset(8% 8% 8% 8% round 28px); } to { opacity: 1; clip-path: inset(-12% -12% -12% -12% round 0px); } }
@keyframes tsProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Message bref */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 1100; max-width: min(520px, calc(100% - 32px)); background: var(--forest-900); color: var(--paper); padding: 12px 20px; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); font-size: 16px; line-height: 24px; text-align: center; }
.toast[hidden] { display: none; }
[data-site-theme="dark"] .toast { background: var(--sage-200); color: var(--forest-900); }

/* « Mot du coach » : carte vert foncé, photo pleine hauteur, grand guillemet */
.word { position: relative; overflow: hidden; grid-template-columns: 320px minmax(0, 1fr); align-items: stretch; gap: var(--space-8); padding: 0; background: var(--forest-900); box-shadow: var(--shadow-md); }
.word::before { content: ""; position: absolute; right: -36px; bottom: -36px; width: 180px; height: 180px; border-radius: var(--radius-full); background-image: radial-gradient(circle, var(--accent) 3.5px, transparent 4px); background-size: 22px 22px; opacity: .35; pointer-events: none; }
.word::after { content: "\201C"; position: absolute; right: 48px; top: -36px; font-family: var(--font-display); font-weight: 800; font-size: 300px; line-height: 1; color: var(--accent); opacity: .16; pointer-events: none; }
.word > img { width: 100%; height: 100%; min-height: 400px; border-radius: 0; object-position: center 15%; transition: scale .7s cubic-bezier(.2, .7, .2, 1), filter .7s ease-out; filter: saturate(.85); }
.word > .stack { position: relative; z-index: 1; justify-content: center; padding: var(--space-8) var(--space-8) var(--space-8) 0; }
.word .ts-eyebrow { color: var(--sage-200); }
.word blockquote { color: var(--paper); font-family: var(--font-display); font-style: normal; font-weight: 600; font-size: 25px; line-height: 37px; letter-spacing: -.005em; }
.word .coach-mini { gap: var(--space-4); }
.word .coach-mini::before { content: ""; width: 40px; height: 3px; border-radius: 3px; background: var(--accent); flex: none; }
.word .coach-mini strong { color: var(--paper); }
.word .coach-mini span { color: var(--sage-300); }
.word .ts-btn--primary { background: var(--paper); color: var(--forest-900); }
.word .ts-btn--primary:hover { background: var(--sage-100); }
@media (hover: hover) { .word:hover > img { scale: 1.04; filter: saturate(1); } }
@media (max-width: 960px) {
  .word { grid-template-columns: 1fr; gap: 0; padding: 0; }
  .word > img { width: 100%; max-width: none; height: 300px; min-height: 0; aspect-ratio: auto; }
  .word > .stack { padding: var(--space-6) var(--space-5) var(--space-7); }
  .word::after { font-size: 200px; right: 16px; top: 250px; }
  .word blockquote { font-size: 20px; line-height: 31px; }
  .word::before { width: 110px; height: 110px; right: -30px; bottom: -30px; opacity: .2; }
}

/* Mot du coach : entrée animée à 70 % de visibilité (classes posées par app.js) */
@media (prefers-reduced-motion: no-preference) {
  .word { animation: none; }
  .word-wait > img { clip-path: inset(0 100% 0 0); }
  .word-wait > .stack > *, .word-wait::before, .word-wait::after { opacity: 0; }
  .word.is-in > img { animation: wordImg 1.1s cubic-bezier(.7, 0, .2, 1) both; }
  .word.is-in::after { animation: wordMark 1s cubic-bezier(.2, .8, .2, 1.2) .5s both; }
  .word.is-in::before { animation: wordFade .8s ease-out 1s both; }
  .word.is-in > .stack > * { animation: wordRise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .word.is-in > .stack > :nth-child(1) { animation-delay: .35s; }
  .word.is-in > .stack > :nth-child(2) { animation-delay: .5s; }
  .word.is-in > .stack > :nth-child(3) { animation-delay: .75s; }
  .word.is-in > .stack > :nth-child(4) { animation-delay: .9s; }
  .word.is-in .coach-mini::before { animation: wordLine .6s cubic-bezier(.2, .7, .2, 1) 1s both; }
}
@keyframes wordImg { from { clip-path: inset(0 100% 0 0); transform: scale(1.15); } to { clip-path: inset(0 0 0 0); transform: none; } }
@keyframes wordMark { from { opacity: 0; transform: translateY(30px) scale(.6) rotate(-12deg); } }
@keyframes wordRise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes wordLine { from { width: 0; } }
@keyframes wordFade { from { opacity: 0; } }

/* Cartes à pictogramme (Concepts clés, À qui s'adressent…) : entrée marquée (classes posées par app.js) */
@media (prefers-reduced-motion: no-preference) {
  .cc > * { animation: none; }
  .cc-wait > * { opacity: 0; }
  .cc.is-in > * { animation: ccRise 1s cubic-bezier(.16, .84, .24, 1) both; }
  .cc.is-in .ts-icon-chip { animation: tsChipPop .7s cubic-bezier(.2, .7, .2, 1) .35s both; }
  .cc.is-in .h4, .cc.is-in .body-sm { animation: ccText .7s cubic-bezier(.2, .7, .2, 1) .45s both; }
  .cc.is-in .body-sm { animation-delay: .55s; }
  .cc.is-in > :nth-child(2), .cc.is-in > :nth-child(2) * { --d: .16s; }
  .cc.is-in > :nth-child(3), .cc.is-in > :nth-child(3) * { --d: .32s; }
  .cc.is-in > :nth-child(4), .cc.is-in > :nth-child(4) * { --d: .48s; }
  .cc.is-in > :nth-child(5), .cc.is-in > :nth-child(5) * { --d: .64s; }
  .cc.is-in > * { animation-delay: var(--d, 0s); }
  .cc.is-in .ts-icon-chip { animation-delay: calc(.35s + var(--d, 0s)); }
  .cc.is-in .h4 { animation-delay: calc(.45s + var(--d, 0s)); }
  .cc.is-in .body-sm { animation-delay: calc(.55s + var(--d, 0s)); }
}
@keyframes ccRise { from { opacity: 0; translate: 0 80px; scale: .88; rotate: 2deg; } to { opacity: 1; translate: 0 0; scale: 1; rotate: 0deg; } }
@keyframes ccText { from { opacity: 0; translate: -20px 0; } to { opacity: 1; translate: 0 0; } }

/* « Flexible et facile à mettre en œuvre » : même traitement que « Description de la simulation » */
#flexible .lead { position: relative; padding-left: 32px; font-family: var(--font-display); font-size: 19px; line-height: 30px; font-weight: 500; color: var(--text-heading); }
#flexible .lead::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border-radius: var(--radius-full); background: var(--accent); box-shadow: 0 0 0 4px var(--sage-200); }
#flexible .photo { box-shadow: 18px 18px 0 var(--forest-900); transition: box-shadow .4s cubic-bezier(.2, .7, .2, 1), translate .4s cubic-bezier(.2, .7, .2, 1); }
#flexible .info-grid { gap: var(--space-4); }
@media (hover: hover) { #flexible .photo:hover { translate: -6px -6px; box-shadow: 24px 24px 0 var(--forest-900); } }
@media (max-width: 720px) {
  #flexible .lead { font-size: 18px; line-height: 28px; }
  #flexible .photo { box-shadow: 10px 10px 0 var(--forest-900); }
}

/* Interview BFM Business « Paroles d'entreprises » (accueil) */
.sec--interview { background: var(--forest-900); color: var(--text-inverse); }
.sec--interview .h2, .sec--interview .lead { color: var(--text-inverse); }
.sec--interview .ts-eyebrow { color: var(--sage-200); }
.interview { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-8); align-items: center; }
.interview .video { box-shadow: 18px 18px 0 var(--forest-800); }
.interview__note { color: var(--text-inverse-muted); font-size: 15px; line-height: 22px; margin: 0; }
.iv-facts { list-style: none; margin: var(--space-2) 0 0; padding: var(--space-5) 0 0; border-top: 1px solid var(--forest-700); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
.iv-facts strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 36px; color: var(--accent); letter-spacing: -.01em; }
.iv-facts span { display: block; font-size: 15px; line-height: 21px; color: var(--sage-200); margin-top: 4px; }
.hero-watch { display: inline-flex; align-items: center; gap: 10px; margin-top: var(--space-4); color: var(--text-heading); font-family: var(--font-display); font-weight: 600; font-size: 15px; text-decoration: none; }
.hero-watch__icon { width: 34px; height: 34px; border-radius: var(--radius-full); background: var(--forest-900); color: var(--paper); display: inline-flex; align-items: center; justify-content: center; flex: none; transition: background-color .2s ease-out, transform .2s ease-out; }
.hero-watch span:last-child { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.hero-watch:hover .hero-watch__icon { background: var(--forest-700); transform: scale(1.06); }
@media (max-width: 960px) { .interview { grid-template-columns: 1fr; gap: var(--space-7); } }
@media (max-width: 720px) { .interview .video { box-shadow: 10px 10px 0 var(--forest-800); } .iv-facts strong { font-size: 24px; line-height: 30px; } .iv-facts span { font-size: 14px; line-height: 20px; } }
@media (prefers-reduced-motion: no-preference) { .hero .hero-text > .hero-watch { animation-delay: 1.1s; } }
/* Allemand : mots composés longs, césure automatique dans les titres et cartes */
html[lang="de"] :is(h1, h2, h3, h4, .ts-info__value, .fact__label, .mix-row__label) { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 360px) { html[lang="de"] .display { font-size: 34px; line-height: 40px; } }
/* Champ anti-robots du formulaire : invisible pour les visiteurs */
.cf-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Pages légales et 404 */
.legal-page { padding-top: var(--space-8); }
.legal { max-width: var(--measure); }
.legal > .h1 { margin-bottom: var(--space-5); }
.legal > .lead { margin: 0 0 var(--space-6); }
.legal h2 { margin: var(--space-7) 0 var(--space-3); }
.legal h3 { margin: var(--space-5) 0 var(--space-2); }
.legal p { margin: 0 0 var(--space-4); }
.legal ul { margin: 0 0 var(--space-4); padding-left: 1.25em; }
.legal li { margin-bottom: var(--space-2); }
.legal li::marker { color: var(--forest-700); }
html[lang="de"] .legal :is(p, li) { hyphens: auto; -webkit-hyphens: auto; }
