/* ============================================================
   bulletpoint.fr — composants propres au site vitrine (v2)
   Complète styles.css (tokens + composants de la charte).
   ============================================================ */

/* ---------- Hero ---------- */
.hero2 { padding-block: var(--bp-sp-8) var(--bp-sp-7); }
@media (min-width: 880px) { .hero2 { padding-block: var(--bp-sp-9) var(--bp-sp-8); } }
.hero2__grid { display: grid; gap: var(--bp-sp-7); align-items: center; }
@media (min-width: 880px) { .hero2__grid { grid-template-columns: 6fr 6fr; gap: var(--bp-sp-8); } }
.hero2 h1 { font-size: clamp(40px, 5.2vw, 60px); line-height: 1.05; font-weight: 500; max-width: 13ch; margin-top: var(--bp-sp-4); }
.hero2__lead { font-size: var(--bp-text-lg); color: var(--bp-ink-500); max-width: 40ch; margin-top: var(--bp-sp-4); }
.hero2__actions { display: flex; flex-wrap: wrap; gap: var(--bp-sp-3); margin-top: var(--bp-sp-6); }
.hero2__note { margin-top: var(--bp-sp-5); color: var(--bp-grey-600); font-size: var(--bp-text-sm); display: flex; flex-wrap: wrap; gap: var(--bp-sp-2) var(--bp-sp-4); }
.hero2__note span { display: inline-flex; align-items: center; gap: 8px; }
.hero2__note span::before { content: ""; width: 5px; height: 5px; border-radius: 999px; background: var(--bp-accent); }

/* Animation de concept : une feuille, quatre métiers */
.motion { position: relative; aspect-ratio: 5 / 4; max-width: 560px; margin-inline: auto; width: 100%; }
.motion__sheet { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 62%; aspect-ratio: 210 / 297; background: var(--bp-white); border: 1px solid var(--bp-hair); border-radius: var(--bp-radius-card); padding: 9% 8%; display: grid; grid-template-rows: auto auto 1fr; gap: 6%; overflow: hidden; }
.motion__sheet::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--m-color, var(--bp-accent)); transition: background .6s; }
.motion__name { height: 10px; width: 46%; border-radius: 999px; background: var(--bp-ink-800); }
.motion__sub { height: 6px; width: 70%; border-radius: 999px; background: var(--bp-ink-200); margin-top: 6px; }
.motion__block { display: grid; gap: 6px; align-content: start; }
.motion__h { height: 7px; width: 32%; border-radius: 999px; background: var(--bp-ink-500); margin-top: 6px; }
.motion__l { height: 5px; border-radius: 999px; background: var(--bp-ink-100); width: var(--w, 90%); transition: width .7s cubic-bezier(.2,.8,.2,1), background .6s; }
.motion__l--k { background: color-mix(in srgb, var(--m-color, var(--bp-accent)) 28%, white); }
.motion__tag { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--bp-white); border: 1px solid var(--bp-hair-strong); font-family: var(--bp-font-logo); font-weight: 500; font-size: 14px; color: var(--bp-ink-800); opacity: .45; transition: opacity .5s, border-color .5s, transform .5s; white-space: nowrap; }
.motion__tag i { width: 7px; height: 7px; border-radius: 999px; background: var(--c); }
.motion__tag[data-on="true"] { opacity: 1; border-color: var(--c); transform: translateX(var(--tx, 0)) scale(1.04); }
.motion__tag:nth-child(2) { left: 0; top: 8%; }
.motion__tag:nth-child(3) { right: 0; top: 24%; }
.motion__tag:nth-child(4) { left: 2%; bottom: 20%; }
.motion__tag:nth-child(5) { right: 2%; bottom: 6%; }
.motion__ring { position: absolute; left: 50%; top: 50%; width: 88%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 999px; border: 1px dashed var(--bp-ink-200); pointer-events: none; }
.motion__caption { position: absolute; left: 50%; bottom: -4px; transform: translateX(-50%); font-size: 13px; font-weight: 500; color: var(--bp-grey-600); white-space: nowrap; }
@media (max-width: 579px) { .motion__tag { font-size: 12px; padding: 6px 10px; } }

/* ---------- Bandeau écoles (texte en Outfit, logos à venir) ---------- */
.trust { border-top: 1px solid var(--bp-hair); border-bottom: 1px solid var(--bp-hair); padding-block: var(--bp-sp-5); overflow: hidden; }
.trust__head { text-align: center; margin-bottom: var(--bp-sp-4); }
.trust__track { display: flex; gap: var(--bp-sp-8); width: max-content; animation: trust-scroll 40s linear infinite; }
.trust__track:hover { animation-play-state: paused; }
.trust__item { font-family: var(--bp-font-logo); font-weight: 500; font-size: 19px; color: var(--bp-grey-600); white-space: nowrap; letter-spacing: .01em; }
@keyframes trust-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .trust__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; gap: var(--bp-sp-5); } .trust__track > :nth-child(n+13) { display: none; } }

/* ---------- Galerie des sites ---------- */
.gallery { display: grid; gap: var(--bp-gutter); }
@media (min-width: 880px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.shot { display: grid; gap: var(--bp-sp-4); text-decoration: none; color: inherit; }
.shot__frame { position: relative; border: 1px solid var(--bp-hair); border-radius: var(--bp-radius-card); overflow: hidden; background: var(--bp-white); aspect-ratio: 16 / 10; }
.shot__frame::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--c); z-index: 1; }
.shot__frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; transform: scale(1); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.shot:hover .shot__frame img { transform: scale(1.025); }
.shot:hover .shot__frame { border-color: var(--bp-hair-strong); }
.shot__meta { display: flex; align-items: baseline; justify-content: space-between; gap: var(--bp-sp-3); }
.shot__name { font-family: var(--bp-font-logo); font-weight: 500; font-size: 22px; color: var(--bp-ink-800); display: inline-flex; align-items: center; gap: 10px; }
.shot__name i { width: 8px; height: 8px; border-radius: 999px; background: var(--c); }
.shot__for { color: var(--bp-ink-500); font-size: var(--bp-text-sm); max-width: 44ch; }
.shot__link { font-size: 13px; color: var(--bp-grey-600); white-space: nowrap; }

/* ---------- Défilement guidé (le moteur) ---------- */
.story { display: grid; gap: var(--bp-sp-6); }
@media (min-width: 880px) { .story { grid-template-columns: 4fr 8fr; gap: var(--bp-sp-8); align-items: start; } }
.story__steps { display: grid; gap: 0; }
.story__step { padding: var(--bp-sp-5) 0 var(--bp-sp-5) var(--bp-sp-5); border-left: 1px solid var(--bp-hair); position: relative; min-height: 120px; display: grid; align-content: center; }
@media (min-width: 880px) { .story__step { min-height: 42vh; } }
.story__step::before { content: ""; position: absolute; left: -8px; top: 50%; width: 15px; height: 15px; margin-top: -8px; border-radius: 999px; background: var(--bp-paper); border: 1.5px solid var(--bp-ink-200); box-sizing: border-box; transition: border-color .3s, background .3s; }
.story__step[data-on="true"]::before { border-color: var(--bp-accent); background: radial-gradient(circle, var(--bp-accent) 0 3.5px, var(--bp-paper) 4px); }
.story__step .bp-ref { color: var(--bp-grey-600); }
.story__step h3 { font-family: var(--bp-font-display); font-size: 24px; letter-spacing: var(--bp-track-display); margin-top: var(--bp-sp-2); color: var(--bp-ink-300); transition: color .3s; }
.story__step[data-on="true"] h3 { color: var(--bp-ink-800); }
.story__step p { color: var(--bp-ink-500); margin-top: var(--bp-sp-2); max-width: 30ch; opacity: .5; transition: opacity .3s; }
.story__step[data-on="true"] p { opacity: 1; }
.story__sticky { position: sticky; top: 96px; }
.story__frames { position: relative; }
.story__frames .frame { position: absolute; inset: 0; opacity: 0; transition: opacity .45s ease; }
.story__frames .frame:first-child { position: relative; }
.story__frames .frame[data-on="true"] { opacity: 1; }
.story__frames img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
@media (max-width: 879px) {
  .story__sticky { position: relative; top: 0; order: -1; }
  .story__step { min-height: 0; }
}

/* ---------- Compteurs ---------- */
.counters { display: grid; gap: var(--bp-sp-6); grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--bp-hair); padding-top: var(--bp-sp-6); }
@media (min-width: 880px) { .counters { grid-template-columns: repeat(4, 1fr); } }
.counters .bp-stat__value { font-size: clamp(36px, 4vw, 52px); font-weight: 500; }
.counters .bp-stat__value small { font-size: .5em; color: var(--bp-grey-600); font-weight: 500; margin-left: 4px; }

/* ---------- Carte école (teaser) ---------- */
.teaser { display: grid; gap: var(--bp-sp-6); align-items: center; }
@media (min-width: 880px) { .teaser { grid-template-columns: 5fr 7fr; gap: var(--bp-sp-8); } }
.teaser .bp-list { margin-top: var(--bp-sp-5); }

/* ---------- Simulateur ---------- */
.sim { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: var(--bp-sp-4); background: rgba(7, 22, 40, .55); }
.sim[data-open="true"] { display: flex; }
.sim__box { width: 100%; max-width: 560px; background: var(--bp-white); border-radius: var(--bp-radius-modal); box-shadow: var(--bp-shadow-menu); padding: var(--bp-sp-6); position: relative; max-height: calc(100vh - 32px); overflow: auto; }
.sim__close { position: absolute; right: var(--bp-sp-4); top: var(--bp-sp-4); width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--bp-hair-strong); background: transparent; cursor: pointer; color: var(--bp-ink-800); display: inline-flex; align-items: center; justify-content: center; }
.sim__progress { display: flex; gap: var(--bp-sp-2); align-items: center; margin-bottom: var(--bp-sp-5); }
.sim__dot { width: 9px; height: 9px; border-radius: 999px; background: var(--bp-ink-100); }
.sim__dot[data-state="done"] { background: var(--bp-accent); opacity: .5; }
.sim__dot[data-state="now"] { width: 15px; height: 15px; border: 1.5px solid var(--bp-accent); background: radial-gradient(circle, var(--bp-accent) 0 3.5px, transparent 4px); box-sizing: border-box; }
.sim__q { font-family: var(--bp-font-display); font-size: 26px; font-weight: 600; letter-spacing: var(--bp-track-display); line-height: 1.2; margin: 0 0 var(--bp-sp-5); max-width: 20ch; }
.sim__opts { display: grid; gap: var(--bp-sp-2); }
.sim__opt { text-align: left; background: var(--bp-paper); border: 1px solid var(--bp-hair); border-radius: var(--bp-radius-input); padding: 14px 16px; font-family: var(--bp-font-body); font-size: 15px; font-weight: 500; color: var(--bp-ink-800); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--bp-sp-3); min-height: 48px; }
.sim__opt:hover { border-color: var(--bp-ink-800); }
.sim__opt small { color: var(--bp-grey-600); font-weight: 400; font-size: 13px; }
.sim__result { display: grid; gap: var(--bp-sp-4); }
.sim__result .shot__frame { aspect-ratio: 16 / 9; }
.sim__result h3 { font-family: var(--bp-font-display); font-size: 24px; letter-spacing: var(--bp-track-display); }
.sim__result p { color: var(--bp-ink-500); }
.sim__foot { display: flex; flex-wrap: wrap; gap: var(--bp-sp-3); align-items: center; margin-top: var(--bp-sp-2); }
.sim__back { margin-top: var(--bp-sp-4); }

/* ---------- Page espace école ---------- */
.player { position: relative; border-radius: var(--bp-radius-card); overflow: hidden; border: 1px solid var(--bp-hair); background: var(--bp-ink-900); aspect-ratio: 16 / 10; }
.player img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transition: opacity .6s ease; }
.player img[data-on="true"] { opacity: 1; }
.player__bar { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: var(--bp-sp-3); background: linear-gradient(to top, rgba(7,22,40,.85), rgba(7,22,40,0)); color: var(--bp-paper); font-size: 13px; }
.player__bar .bp-ref { color: var(--bp-ink-200); font-size: 11px; }
.player__dots { display: flex; gap: 6px; }
.player__dots i { width: 6px; height: 6px; border-radius: 999px; background: rgba(249,248,243,.4); }
.player__dots i[data-on="true"] { background: var(--bp-brass-400); width: 18px; }
.screens { display: grid; gap: var(--bp-sp-8); }
.screen { display: grid; gap: var(--bp-sp-5); align-items: center; }
@media (min-width: 880px) { .screen { grid-template-columns: 4fr 8fr; gap: var(--bp-sp-8); } .screen--rev > :first-child { order: 2; } .screen--rev { grid-template-columns: 8fr 4fr; } }
.screen h3 { font-family: var(--bp-font-display); font-size: 26px; letter-spacing: var(--bp-track-display); margin-top: var(--bp-sp-3); max-width: 18ch; }
.screen p { color: var(--bp-ink-500); margin-top: var(--bp-sp-3); max-width: 36ch; }
.screen .frame img { aspect-ratio: 16 / 10; object-position: top left; }
.roles { display: grid; gap: var(--bp-sp-3); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.role { border-top: 1px solid var(--bp-hair-strong); padding-top: var(--bp-sp-3); }
.role .bp-ref { color: var(--bp-grey-600); }
.role h4 { margin-top: var(--bp-sp-1); }
.role p { color: var(--bp-ink-500); font-size: var(--bp-text-sm); margin-top: var(--bp-sp-1); }

/* Carte blanche posée sur une section encre : on revient aux couleurs papier */
.section--ink .bp-card { color: var(--bp-ink-800); --bp-accent: var(--bp-brass-600); --bp-accent-text: var(--bp-brass-700); }
.section--ink .bp-card .bp-list li { color: var(--bp-ink-700); }
.section--ink .bp-card .bp-eyebrow { color: var(--bp-grey-600); }
.section--ink .bp-card .bp-btn--accent { background: var(--bp-brass-700); color: var(--bp-white); }
.section--ink .bp-card .bp-btn--accent:hover { background: var(--bp-brass-600); }
@media (max-width: 879px) { .story__step h3 { color: var(--bp-ink-800); } .story__step p { opacity: 1; } }

/* Numéros d'étape et de carte : Figtree, pas de monospace */
.num { font-size: 12px; font-weight: 600; color: var(--bp-grey-600); letter-spacing: .02em; }
/* Bandeau écoles : logos tels quels, sur carte blanche, jamais recolorés */
.trust__track { gap: var(--bp-sp-5); align-items: center; }
.trust__logo { display: flex; align-items: center; justify-content: center; height: 72px; padding: 0 var(--bp-sp-5); background: var(--bp-white); border: 1px solid var(--bp-hair); border-radius: var(--bp-radius-card); flex: none; }
.trust__logo img { height: 34px; width: auto; max-width: 150px; display: block; }
.trust__logo--tall img { height: 44px; }
@media (prefers-reduced-motion: reduce) { .trust__track > :nth-child(n+13) { display: none; } }

/* ---------- Film de démonstration (page école) ---------- */
.film { position: relative; border-radius: var(--bp-radius-card); overflow: hidden; border: 1px solid var(--bp-hair); background: var(--bp-ink-900); aspect-ratio: 16 / 9; }
.film__video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film__sound { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(249,248,243,.35); background: rgba(7,22,40,.72); color: var(--bp-paper); font-family: var(--bp-font-body); font-size: 13.5px; font-weight: 600; cursor: pointer; backdrop-filter: blur(6px); }
.film__sound:hover { border-color: var(--bp-paper); }
.film__sound[aria-pressed="true"] { background: var(--bp-paper); color: var(--bp-ink-800); border-color: var(--bp-paper); }
