/* ==========================================================================
   site.css : base commune du site (couleurs, typo, boutons, navigation,
   toiles peintes, cartes d'interface, FAQ, appel final, pied de page)
   ========================================================================== */

@import url('https://cdn.jsdelivr.net/npm/@fontsource/young-serif@5.2.7/index.css');
@import url('https://cdn.jsdelivr.net/npm/@fontsource-variable/inter@5.2.8/index.css');

/* Typo du logo, inchangée par rapport au site actuel */
@font-face {
  font-family: 'Geist Pixel';
  src: url('../assets/fonts/GeistPixel.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #FAF8F4;
  --surface: #FFFFFF;
  --ink: #111927;
  --ink-2: rgba(17, 25, 39, 0.64);
  --ink-3: rgba(17, 25, 39, 0.42);
  --line: rgba(17, 25, 39, 0.08);
  --line-2: rgba(17, 25, 39, 0.14);
  --ok: #2F8F5B;
  --warn: #C46A1C;
  /* Niveaux d'une note, comme dans l'app : vert à partir de 75, orange à partir de 50, rouge en dessous */
  --lv-g: #10B981;
  --lv-o: #F59E0B;
  --lv-r: #EF4444;
  --serif: 'Young Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Inter Variable', 'Inter', system-ui, -apple-system, sans-serif;
  --radius-tile: 22px;
  --shadow-card: 0 1px 2px rgba(17, 25, 39, 0.06), 0 14px 40px -12px rgba(17, 25, 39, 0.28);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
/* Texte lu par les lecteurs d'écran, masqué à l'écran */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #26303f; }
.btn-line { border: 1px solid var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* ---------- Navigation ----------
   Logo à gauche ; au centre, deux menus (Produit, Secteurs) et deux liens ; à droite,
   la langue, la connexion et la démo. Les menus s'ouvrent au survol sur ordinateur et
   au clic partout. En dessous de 960 px : un bouton menu ouvre un panneau plein écran. */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 244, 0.86);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  transition: box-shadow 0.2s;
}
.nav.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 72px;
}
/* Logo : mêmes réglages que .logo-text sur le site actuel */
.brand { display: inline-flex; align-items: center; justify-self: start; gap: 4px; text-decoration: none; color: var(--ink); }
.brand img { width: auto; height: 28px; }
.brand span { font-family: 'Geist Pixel', var(--sans); font-size: 20px; font-weight: 700; }

.nav-links { display: flex; align-items: center; gap: 4px; font-size: 15px; }
.nav-links > a, .nav-menu > button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.15s, background 0.15s;
}
.nav-links > a:hover, .nav-menu > button:hover, .nav-menu.is-open > button { opacity: 1; background: rgba(17, 25, 39, 0.05); }
.nav-links > a[aria-current="page"] { opacity: 1; font-weight: 500; }
.nav-menu { position: relative; }
.nav-menu > button svg { width: 11px; height: 11px; transition: transform 0.2s; }
.nav-menu.is-open > button svg { transform: rotate(180deg); }

/* Panneau d'un menu : des colonnes de liens, titre en gras et une ligne d'explication */
.nav-panel {
  position: absolute;
  left: 50%;
  top: calc(100% + 12px);
  display: flex;
  gap: 8px;
  padding: 10px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 6px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}
.nav-panel::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-menu.is-open .nav-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) and (min-width: 961px) {
  .nav-menu:hover .nav-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .nav-menu:hover > button svg { transform: rotate(180deg); }
}
.nav-col { display: flex; flex-direction: column; width: 270px; }
.nav-col-title { padding: 8px 12px 6px; font-size: 12.5px; color: var(--ink-3); }
.nav-panel a { display: block; padding: 10px 12px; border-radius: 12px; color: var(--ink); text-decoration: none; transition: background 0.15s; }
.nav-panel a:hover, .nav-panel a:focus-visible, .nav-panel a[aria-current="page"] { background: var(--bg); }
.nav-panel a strong { display: block; font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; }
.nav-panel a span { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--ink-2); }

.nav-actions { display: flex; align-items: center; justify-content: flex-end; gap: 18px; font-size: 15px; }
.nav-login { text-decoration: none; white-space: nowrap; }
.nav-login:hover { text-decoration: underline; text-underline-offset: 3px; }
/* Langue : la langue en cours en gras, l'autre en lien discret */
.lang-switch { display: flex; align-items: center; gap: 2px; font-size: 13px; }
.lang-switch a { padding: 4px 6px; border-radius: 6px; color: var(--ink-3); text-decoration: none; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current="true"] { color: var(--ink); font-weight: 600; }

/* Bouton menu (petits écrans) : deux traits qui se croisent à l'ouverture */
.nav-burger { display: none; justify-self: end; width: 40px; height: 40px; border-radius: 50%; }
.nav-burger span { display: block; width: 18px; height: 1.5px; margin: 5px auto; background: var(--ink); transition: transform 0.2s; }
.nav.is-menu-open .nav-burger span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav.is-menu-open .nav-burger span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.nav-sheet { display: none; }

/* Bandeau d'annonce (js/announcements.js), masqué tant qu'aucune campagne n'est active */
.site-banner { background: var(--ink); color: #fff; font-size: 14px; }
.site-banner[hidden] { display: none; }
.site-banner-inner { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 40px; padding: 8px 48px; position: relative; text-align: center; }
.site-banner-badge { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); font-size: 12.5px; font-weight: 500; }
.site-banner-badge svg { width: 13px; height: 13px; }
.site-banner-close { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #fff; opacity: 0.7; }
.site-banner-close:hover { opacity: 1; }
.site-banner-close svg { width: 14px; height: 14px; }

@media (max-width: 1200px) {
  .nav-login { display: none; }
}
@media (max-width: 960px) {
  .nav-inner { grid-template-columns: 1fr auto; }
  .nav-links, .nav-actions { display: none; }
  .nav-burger { display: block; }
  /* Panneau plein écran sous la barre */
  .nav-sheet { position: fixed; left: 0; right: 0; top: 72px; bottom: 0; z-index: 49; overflow-y: auto; padding: 8px 24px 32px; background: var(--bg); }
  .nav.is-menu-open .nav-sheet { display: block; }
  /* Le flou de la barre ferait du panneau un enfant de la barre : on le retire quand le panneau est ouvert */
  .nav.is-menu-open { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav-sheet details { border-bottom: 1px solid var(--line); }
  .nav-sheet summary, .nav-sheet > a { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; font-size: 18px; font-weight: 500; color: var(--ink); text-decoration: none; list-style: none; cursor: pointer; }
  .nav-sheet > a { border-bottom: 1px solid var(--line); }
  .nav-sheet summary::-webkit-details-marker { display: none; }
  .nav-sheet summary svg { width: 13px; height: 13px; transition: transform 0.2s; }
  .nav-sheet details[open] summary svg { transform: rotate(180deg); }
  .nav-sheet details a { display: block; padding: 9px 0; color: var(--ink); text-decoration: none; }
  .nav-sheet details a strong { display: block; font-size: 15.5px; font-weight: 500; }
  .nav-sheet details a span { display: block; font-size: 13.5px; color: var(--ink-2); }
  .nav-sheet details > div { padding: 0 0 14px; }
  .nav-sheet-actions { display: grid; gap: 10px; margin-top: 28px; }
  .nav-sheet-actions .btn { width: 100%; }
  .nav-sheet .lang-switch { justify-content: center; margin-top: 18px; font-size: 14px; }
  body.is-menu-open { overflow: hidden; }
}

/* ---------- Typo de section ---------- */
.title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 3.9vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-align: center;
  color: #1B1F27;
}

.subtitle {
  max-width: 620px;
  margin: 20px auto 0;
  text-align: center;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-2);
}
.section { padding-top: 150px; }
.section-body { margin-top: 64px; }

/* ---------- Toile peinte ---------- */
.canvas {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-tile);
  isolation: isolate;
  background: var(--sky, linear-gradient(180deg, #78ADE2 0%, #B5D3EF 58%, #E3EEF6 100%));
}
.canvas > .paint {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.canvas > .paint.ready { opacity: 1; }

.canvas[data-scene="sky"]    { --sky: linear-gradient(180deg, #6EA5DE 0%, #A8CCEE 55%, #DCEAF5 100%); }
.canvas[data-scene="dawn"]   { --sky: linear-gradient(180deg, #E9A98F 0%, #F3CDB6 48%, #EFDCE9 100%); }
.canvas[data-scene="lagoon"] { --sky: linear-gradient(170deg, #4E9C95 0%, #93C9BA 50%, #DDEBDF 100%); }
.canvas[data-scene="dusk"]   { --sky: linear-gradient(180deg, #4F56AE 0%, #8F86CF 46%, #E9B4A6 100%); }
.canvas[data-scene="sand"]   { --sky: linear-gradient(180deg, #D9BE98 0%, #EAD8BD 52%, #F5EBDC 100%); }

/* Cartes d'interface posées sur la toile */
.ui {
  position: absolute;
  background: var(--surface);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink);
}
.ui-center { left: 50%; top: 50%; transform: translate(-50%, -50%); }

/* Tuile à une carte centrale : la carte est dans le flux, au centre. La toile garde
   ses proportions, mais s'agrandit si la carte devient plus haute qu'elle
   (colonnes étroites, texte qui passe à la ligne) au lieu de la couper. */
.canvas:has(> .ui-center) { display: flex; align-items: center; justify-content: center; padding: 28px 20px; overflow: visible; }
.canvas:has(> .ui-center) > .ui-center { position: relative; left: auto; top: auto; transform: none; max-width: 100%; }
.ui-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ui-kicker { font-size: 11.5px; color: var(--ink-3); }
.ui-title { font-weight: 600; font-size: 14px; letter-spacing: -0.01em; }
.ui-muted { color: var(--ink-3); }
.ui-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(17, 25, 39, 0.05);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  flex: none;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: #E5484D; flex: none; }
.dot.live { animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.3; } }

/* Hero : fenêtre d'appel */
.call {
  left: 50%;
  top: 46%;
  width: 82%;
  transform: translate(-50%, -50%);
  padding: 8px;
  border-radius: 18px;
}
.call video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 11px; background: #d9d4cc; }
.call-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 6px 4px; }
.call-who { display: flex; flex-direction: column; }
.call-who strong { font-size: 13.5px; font-weight: 600; }
.call-who span { font-size: 12px; color: var(--ink-3); }
.call-end { background: #E5484D; color: #fff; font-size: 12.5px; font-weight: 500; padding: 7px 14px; border-radius: 999px; }

.score-float { right: 6%; bottom: 7%; width: 236px; padding: 14px 16px; }
.score-float .ui-head { margin-bottom: 10px; }
.score-total { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.score-total small { font-size: 12px; font-weight: 400; color: var(--ink-3); }
.bar-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; margin-top: 8px; font-size: 12px; }
.bar-row b { font-weight: 600; font-variant-numeric: tabular-nums; }
.bar { display: block; grid-column: 1 / -1; height: 4px; border-radius: 4px; background: rgba(17, 25, 39, 0.07); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--v); border-radius: inherit; background: var(--ink); }

.live-float { left: 6%; top: 7%; padding: 8px 14px 8px 12px; border-radius: 999px; display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 500; }

/* ---------- Logos ---------- */
.logos { margin-top: 110px; text-align: center; }
.logos-label { font-size: 14px; color: var(--ink-3); }
.logos-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 40px; margin-top: 28px; }
.logos-row img { width: auto; transform: scale(1.15); }
.logos-row + .logos-row { margin-top: 40px; }
.logos-more { font-size: 15px; font-weight: 500; color: var(--ink-3); white-space: nowrap; }

/* ---------- Apprendre et pratiquer ---------- */
.suite { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.suite .canvas { aspect-ratio: 1 / 0.86; }
.shot { width: 88%; margin: 0; padding: 0; overflow: hidden; border-radius: 12px; }
.shot img { width: 100%; }
.score-chip { right: 6%; top: 8%; display: flex; align-items: baseline; gap: 6px; padding: 9px 14px; border-radius: 12px; }
.score-chip b { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.coach-card { width: 80%; padding: 16px; }
.coach-head { display: flex; align-items: center; gap: 10px; }
.coach-head img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.coach-head .ui-muted { font-size: 12px; }
.coach-card .wave { justify-content: flex-start; height: 26px; margin: 14px 0 10px; }
.coach-say { font-size: 13.5px; line-height: 1.45; }
.modes { display: flex; margin-top: 14px; padding: 3px; border-radius: 999px; background: rgba(17, 25, 39, 0.05); }
.modes span { flex: 1; padding: 5px 0; border-radius: 999px; text-align: center; font-size: 11.5px; color: var(--ink-2); }
.modes .on { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(17, 25, 39, 0.12); }
.suite-more { margin-top: 40px; text-align: center; font-size: 15.5px; color: var(--ink-2); }
.suite-more a { color: var(--ink); text-underline-offset: 3px; }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step .canvas { aspect-ratio: 1 / 0.86; }
.caption { margin-top: 22px; }
.caption h3 { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.caption h3 .n { color: var(--ink-3); font-weight: 400; margin-right: 10px; }
.caption .verb { margin-bottom: 4px; font-family: var(--serif); font-size: 28px; line-height: 1.1; letter-spacing: -0.025em; color: var(--ink); }
.caption p { margin-top: 6px; font-size: 15px; line-height: 1.55; color: var(--ink-2); max-width: 360px; }
.caption .more { display: inline-block; margin-top: 12px; font-size: 14.5px; font-weight: 500; text-decoration: none; }
.caption .more:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Carte « import » */
.import { width: 84%; padding: 16px; }
.file { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.file:last-of-type { border-bottom: 0; }
.file-ic { width: 26px; height: 30px; border-radius: 5px; display: grid; place-items: center; font-size: 8.5px; font-weight: 700; color: #fff; flex: none; }
.file-ic.t-pdf { background: #D9534F; }
.file-ic.t-ppt { background: #E07A3F; }
.file-ic.t-doc { background: #3D6FD9; }
.file span:not(.file-ic):not(.ui-muted) { flex: 1; min-width: 0; line-height: 1.3; }
.file .ui-muted { white-space: nowrap; }
.import .btn { width: 100%; margin-top: 12px; padding: 9px 14px; font-size: 13px; }

/* Carte « appel » */
.phone { width: 68%; padding: 22px 18px 18px; text-align: center; }
.avatar { display: block; width: 58px; height: 58px; margin: 0 auto 10px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line); }
.wave { display: flex; align-items: center; justify-content: center; gap: 3px; height: 34px; margin: 14px 0 12px; }
.wave i { width: 3px; border-radius: 3px; background: var(--ink); height: 30%; animation: wave 1.2s ease-in-out infinite; }
.wave i:nth-child(3n) { animation-delay: -0.4s; }
.wave i:nth-child(3n+1) { animation-delay: -0.8s; }
.wave i:nth-child(4n) { animation-duration: 0.9s; }
@keyframes wave { 0%, 100% { height: 22%; } 50% { height: 100%; } }
.phone-actions { display: flex; justify-content: center; gap: 10px; }
.round { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(17, 25, 39, 0.06); }
.round.end { background: #E5484D; color: #fff; }
.round svg { width: 17px; height: 17px; }

/* Carte « scorecard » */
.card-score { width: 76%; padding: 16px; }
.card-score .score-total { margin: 4px 0 6px; }
.coach { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: #F4F1EC; font-size: 12px; line-height: 1.45; color: var(--ink-2); }
.coach b { color: var(--ink); font-weight: 600; }

/* ---------- Voix ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo .canvas { aspect-ratio: 1 / 0.78; }
.video-card { width: 78%; padding: 8px; border-radius: 16px; }
.video-card video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; }
.video-card .ui-head { padding: 9px 6px 3px; font-size: 12.5px; }

.player { width: 80%; padding: 16px 16px 12px; }
.player-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.play { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; flex: none; transition: transform 0.15s; }
.play:hover { transform: scale(1.06); }
.play svg { width: 15px; height: 15px; }
.play .i-pause { display: none; }
.player.is-playing .play .i-play { display: none; }
.player.is-playing .play .i-pause { display: block; }
.progress { height: 3px; border-radius: 3px; background: rgba(17, 25, 39, 0.08); margin-top: 6px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--ink); }
.lines { display: flex; flex-direction: column; gap: 8px; max-height: 172px; overflow: hidden; }
.line { display: grid; grid-template-columns: 74px 1fr; gap: 10px; font-size: 12.5px; line-height: 1.45; color: var(--ink-3); transition: color 0.25s; }
.line b { font-weight: 500; font-size: 11.5px; }
.line.on { color: var(--ink); }

/* ---------- Secteurs ---------- */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.trio .canvas { aspect-ratio: 1 / 1; }
/* Carte « moment » : l'interlocuteur, sa phrase, et l'endroit de l'échange où la règle se joue */
.moment { width: 84%; padding: 8px 8px 12px; }
.moment-frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 10px; background: #d9d4cc; }
.moment-frame img { width: 100%; height: 100%; object-fit: cover; }
.moment-who { position: absolute; left: 8px; top: 8px; padding: 4px 9px; border-radius: 999px; background: rgba(17, 25, 39, 0.62); color: #fff; font-size: 11.5px; font-weight: 500; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.moment-bubble { position: relative; z-index: 1; margin: -30px 12px 0 12px; padding: 9px 12px; border-radius: 14px 14px 14px 4px; background: #fff; box-shadow: 0 6px 18px -6px rgba(17, 25, 39, 0.3); font-size: 13px; font-weight: 500; line-height: 1.4; }
.moment-track { position: relative; height: 40px; margin: 12px 6px 0; }
.moment-track .bars { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; gap: 2px; height: 18px; }
.moment-track .bars i { flex: 1; border-radius: 2px; background: rgba(17, 25, 39, 0.14); }
.moment-track .bars i.played { background: rgba(17, 25, 39, 0.5); }
.moment-track .bars i.hit-warn { background: var(--warn); }
.moment-track .bars i.hit-ok { background: var(--ok); }
.moment-mark { position: absolute; left: var(--at); top: 0; transform: translateX(-50%); font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; }
.moment-mark::after { content: ''; position: absolute; left: 50%; top: 15px; width: 1px; height: 8px; background: currentColor; }
.moment-mark.warn { color: var(--warn); }
.moment-mark.ok { color: var(--ok); }
.moment-note { display: flex; align-items: flex-start; gap: 7px; margin: 10px 6px 0; font-size: 12.5px; line-height: 1.4; color: var(--ink-2); }
.moment-note svg { flex: none; width: 13px; height: 13px; margin-top: 2px; }
.moment-note.warn svg { color: var(--warn); }
.moment-note.ok svg { color: var(--ok); }

/* ---------- Sécurité ---------- */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1000px; margin-left: auto; margin-right: auto; }
.trust-item { background: var(--surface); border: 1px solid rgba(17, 25, 39, 0.05); border-radius: 16px; padding: 24px; }
.trust-item svg { width: 22px; height: 22px; margin-bottom: 18px; color: var(--ink); }
.trust-item h3 { font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; }
.trust-item p { margin-top: 6px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.trust-note { margin: 40px auto 0; max-width: 640px; text-align: center; font-size: 15.5px; color: var(--ink-2); }
.trust-note a { color: var(--ink); font-weight: 500; text-underline-offset: 3px; }

/* ---------- Repères partagés (produit, méthode) ----------
   Produit et méthode restent neutres. La couleur sert aux types de contenu (cours,
   simulation, podcast) et aux scores (vert, jaune, rouge).
   Couleurs des types : celles de l'app (engramm-app, apps/web/src/index.css et lib/activity-type-styles.ts) :
   simulation = --brand, cours interactif = --product-blue, podcast = --product-orange, coach IA = --product-violet. */
:root { --prod: #111927; --prod-soft: #F1EEE8; --meth: #111927; --meth-soft: #F1EEE8; --t-course: #2E90FA; --t-sim: #4FAF71; --t-pod: #F97316; --t-coach: #8B5CF6;
}
.prod-mark { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 9px; background: var(--prod); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: -0.02em; }
.prod-mark.sm { width: 20px; height: 20px; border-radius: 6px; font-size: 9px; }
.meth-mark { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 9px; background: var(--meth-soft); color: var(--meth); }
.meth-mark svg { width: 17px; height: 17px; }
.step-n { display: grid; place-items: center; flex: none; width: 20px; height: 20px; border: 1px solid var(--line-2); border-radius: 50%; font-size: 11px; font-weight: 600; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.ref .step-n { border-color: rgba(17, 25, 39, 0.18); color: var(--meth); }
.theme-sq { flex: none; width: 7px; height: 7px; margin: 0 7px; border-radius: 50%; background: var(--prod); transition: opacity 0.3s; }

/* Étiquettes de type de contenu et ligne d'intégrations */
.type { padding: 2px 8px; border-radius: 5px; color: #fff; font-size: 11px; font-weight: 600; line-height: 1.4; }
.type.t-course { background: var(--t-course); }
.type.t-sim { background: var(--t-sim); }
.type.t-pod { background: var(--t-pod); }
.type.t-coach { background: var(--t-coach); }
.integrations { margin-top: 36px; text-align: center; font-size: 15px; color: var(--ink-2); }
.integrations span { color: var(--ink); white-space: nowrap; }
.integrations span + span::before { content: '·'; margin: 0 12px; color: var(--ink-3); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 56px auto 0; border-top: 1px solid var(--line-2); }
.faq-list details { border-bottom: 1px solid var(--line-2); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
/* La question peut être un titre (h3) pour le référencement : elle garde le style de la ligne */
.faq-list summary h3 { font: inherit; letter-spacing: inherit; }
.faq-list summary::after { content: '+'; font-size: 22px; font-weight: 300; color: var(--ink-3); transition: transform 0.2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 48px 24px 0; font-size: 15.5px; line-height: 1.65; color: var(--ink-2); }

/* ---------- CTA final ---------- */
.final { padding-top: 170px; padding-bottom: 150px; text-align: center; }
.final .subtitle { margin-top: 18px; }
.final .actions { display: flex; justify-content: center; gap: 12px; margin-top: 36px; flex-wrap: wrap; }

/* ---------- Pied de page ----------
   Le logo et la promesse, puis trois colonnes de liens (produit, secteurs, entreprise),
   puis une ligne du bas : droits, mentions, cookies, langue. */
.footer { border-top: 1px solid var(--line); padding: 72px 0 36px; font-size: 14.5px; color: var(--ink-2); }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 40px; }
.footer-about p { max-width: 300px; margin-top: 16px; line-height: 1.55; }
.footer-title { margin-bottom: 14px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.footer-col ul { display: grid; gap: 10px; list-style: none; }
.footer a { color: var(--ink-2); text-decoration: none; }
.footer a:hover { color: var(--ink); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-3); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-legal a, .footer-bottom .lang-switch a { color: var(--ink-3); }
.footer-legal a:hover { color: var(--ink); }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Vidéo lue au clic, prise de rendez-vous, bouton fixe sur mobile ----------
   Pages de campagne et rubrique Ressources (js/lp.js, js/resources.js). */
/* Vidéo lue au clic : l'aperçu, un bouton de lecture, la durée */
.lp-video { position: relative; }
.lp-video button { position: relative; display: block; width: 100%; padding: 0; }
.lp-video video { display: block; width: 100%; height: auto; background: #000; }
.lp-video-play { position: absolute; left: 50%; top: 50%; display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 10px; white-space: nowrap; border-radius: 999px; background: rgba(255, 255, 255, 0.94); box-shadow: var(--shadow-card); color: var(--ink); font-size: 14.5px; font-weight: 500; transform: translate(-50%, -50%); transition: transform 0.2s; }
.lp-video button:hover .lp-video-play { transform: translate(-50%, -50%) scale(1.04); }
.lp-video-icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; }
.lp-video-icon svg { width: 16px; height: 16px; margin-left: 2px; }
.lp-video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
/* Prendre rendez-vous : le texte à gauche, l'agenda à droite */
.lp-final { max-width: 1200px; margin: 0 auto; padding: 150px 24px 130px; }
.lp-final-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.lp-final .section-badge { font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--ink-3); }
.lp-final h2 { margin-top: 8px; font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.6vw, 46px); line-height: 1.1; letter-spacing: -0.03em; color: #1B1F27; }
.lp-final-lead { margin-top: 16px; font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.lp-final ul { display: grid; gap: 10px; margin-top: 24px; list-style: none; font-size: 16px; }
.lp-final li { display: flex; align-items: center; gap: 10px; }
.lp-final li::before { content: ''; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--lv-g) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.lp-agenda { overflow: hidden; border-radius: var(--radius-tile); background: var(--surface); box-shadow: var(--shadow-card); }
.lp-agenda iframe { display: block; width: 100%; height: 640px; border: 0; }
.lp-agenda-fallback { display: flex; flex-wrap: wrap; gap: 4px 8px; padding: 12px 18px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-3); }
.lp-agenda-fallback a { color: var(--ink); }
.lp-mobile-cta { display: none; }
@media (max-width: 900px) {
  .lp-final-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 760px) {
  .lp-final { padding: 110px 16px 100px; }
  .lp-mobile-cta { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; display: block; transition: opacity 0.2s, transform 0.2s; }
  .lp-mobile-cta.hide { opacity: 0; transform: translateY(12px); pointer-events: none; }
  .lp-mobile-cta .btn-primary, .lp-mobile-cta .btn { width: 100%; padding: 13px 20px; box-shadow: var(--shadow-card); }
}

/* ---------- Apparition ---------- */
.fade { opacity: 0; transform: translateY(18px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fade { opacity: 1; transform: none; transition: none; }
  .wave i, .dot.live { animation: none; }
}

/* Rangées de tuiles : toutes les toiles d'une rangée prennent la hauteur de la plus haute,
   et les légendes restent alignées en dessous. */
@media (min-width: 901px) {
  .steps, .suite, .trio { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .suite, .trio, .duo { grid-template-rows: auto auto; row-gap: 0; }
  .steps > article, .suite > article, .trio > article, .duo > article { display: grid; grid-row: span 2; grid-template-rows: subgrid; min-width: 0; }
  .steps .canvas, .suite .canvas, .trio .canvas, .duo .canvas { align-self: stretch; width: 100%; min-width: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .logos { margin-top: 72px; }
  .logos-row { justify-content: center; gap: 22px 32px; }
  .logos-row + .logos-row { margin-top: 22px; }
  .steps, .trio, .duo, .trust, .suite { grid-template-columns: 1fr; }
  .steps, .trio, .duo, .suite { gap: 48px; }
  .section { padding-top: 110px; }
  .section-body { margin-top: 44px; }
}

@media (max-width: 600px) {
  /* Marges latérales seulement : la forme courte remettait à zéro l'espace au-dessus des sections. */
  .container { padding-left: 16px; padding-right: 16px; }
  .subtitle { font-size: 16.5px; }
  .call { width: 90%; top: 5%; transform: translateX(-50%); }
  .logos-row img { transform: none; }
  .logos-row { column-gap: 20px; }
  .import, .phone, .card-score, .player, .video-card, .moment, .coach-card, .shot { width: 88%; }
  .faq-list summary { font-size: 16px; }
  .faq-list details p { padding-right: 0; }
  .integrations span { display: block; }
  .integrations span + span::before { content: none; }
  .final { padding-top: 120px; padding-bottom: 100px; }
}
