/* Pages des modules métier, en plus d'accueil.css. */

body[data-page='module'] .gnav { position: relative; }
body[data-page='module'] .gnav-cta { display: none; }
body[data-page='module'] section[id] { scroll-margin-top: 48px; }

/* La barre du module prend le relais de celle du site au défilement. */
.barre-m { position: sticky; top: 0; z-index: 45; height: 48px; background: rgba(12, 12, 14, 0.96); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.barre-m-in { display: flex; align-items: center; gap: 24px; max-width: 1240px; height: 100%; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.barre-m-nom { color: #f5f5f7; font: 600 19px/1 var(--display); letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; }
.barre-m-liens { display: flex; gap: 22px; margin: 0 0 0 auto; padding: 0; list-style: none; font-size: 13px; }
.barre-m-liens a { color: rgba(245, 245, 247, 0.72); text-decoration: none; transition: color 0.2s; }
.barre-m-liens a:hover { color: #fff; }
.barre-m-prix { color: var(--gris); font-size: 13px; white-space: nowrap; }
.barre-m .bt { height: 30px; padding: 0 14px; font-size: 13px; }

/* Haut de page */
.hero-m { padding: clamp(26px, 4.4vh, 56px) var(--gouttiere) 0; text-align: center; overflow: hidden; }
.ariane { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 10px; margin: 0 0 clamp(16px, 2.8vh, 28px); color: var(--gris); font-size: 13.5px; }
.ariane a { color: var(--gris); text-decoration: none; transition: color 0.2s; }
.ariane a:hover { color: #fff; }
.ariane [aria-current] { color: rgba(245, 245, 247, 0.86); }
.hero-m-titre { display: grid; justify-items: center; gap: clamp(4px, 0.7vw, 10px); margin: 0; }
.hero-m-titre small { color: var(--gris); font: 600 clamp(20px, 1.9vw, 28px)/1.1 var(--display); letter-spacing: -0.02em; }
.hero-m-titre span { font: 650 clamp(56px, 10.2vw, 160px)/0.88 var(--display); letter-spacing: -0.055em; text-wrap: balance; }
.hero-m-lead { max-width: 40ch; margin: clamp(18px, 3vh, 28px) auto 0; color: rgba(245, 245, 247, 0.88); font-size: clamp(19px, 1.6vw, 23px); line-height: 1.45; text-wrap: balance; }
.hero-m-prix { margin: clamp(20px, 3vh, 28px) 0 0; color: var(--gris); font-size: 16px; }
.hero-m-prix b { margin-right: 8px; color: #f5f5f7; font: 650 28px/1 var(--display); letter-spacing: -0.035em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hero-m-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }
.hero-m-confiance { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--gris); font-size: 14px; }

/* L'emblème du module, en points comme le cerveau de BS Brain : la toile couvre le haut de page, l'emblème se pose
   sur son cadre. À côté du texte sur un grand écran, entre le fil d'Ariane et le titre sur un petit. */
.hero-m { position: relative; }
.hero-m-toile { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-m-haut, .hero-m .scene { position: relative; z-index: 1; }
@media (min-width: 980px) {
  .hero-m-haut { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); align-items: center; gap: clamp(16px, 3vw, 48px); max-width: 1240px; margin: 0 auto; text-align: left; }
  .hero-m-visuel { width: 100%; max-width: 540px; aspect-ratio: 1; justify-self: center; }
  .hero-m-texte .ariane, .hero-m-texte .hero-m-actions, .hero-m-texte .hero-m-confiance { justify-content: flex-start; }
  .hero-m-texte .hero-m-titre { justify-items: start; }
  .hero-m-texte .hero-m-titre span { font-size: clamp(56px, 6vw, 112px); }
  .hero-m-texte .hero-m-lead { margin-left: 0; }
}
@media (max-width: 979px) {
  .hero-m-haut { display: flex; flex-direction: column; }
  .hero-m-texte { display: contents; }
  .hero-m-texte > * { order: 2; }
  .hero-m-texte > .ariane { order: 0; }
  .hero-m-visuel { order: 1; width: min(52vw, 230px); aspect-ratio: 1; margin: -8px auto 4px; }
}

/* La scène : un vrai chapitre du module, sur un MacBook Pro et un iPhone */
.scene { position: relative; width: min(100%, 1300px); margin: clamp(40px, 6vh, 72px) auto 0; padding-bottom: clamp(64px, 10vh, 120px); }

/* MacBook Pro argent, vu de face */
.mac { position: relative; width: 76%; margin: 0 auto; }
.mac-capot {
  position: relative; padding: 1.9% 1.9% 3.3%; border-radius: 2.3% / 3.5%; background: #0a0a0b;
  box-shadow: inset 0 0 0 1px #2c2d31, 0 0 0 1px #c3c6cb, 0 0 0 2.5px #85888e;
}
.mac-ecran { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 1.1% 1.1% 0 0 / 1.76% 1.76% 0 0; background: #f5f5f7; container-type: inline-size; }
.mac-encoche { position: absolute; z-index: 3; top: 0; left: 50%; width: 6.6cqw; height: 2.1cqw; transform: translateX(-50%); border-radius: 0 0 0.8cqw 0.8cqw; background: #0a0a0b; }
.mac-encoche::after { content: ''; position: absolute; top: 50%; left: 50%; width: 0.6cqw; height: 0.6cqw; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle at 35% 35%, #3d4452, #101217 70%); }
.mac-menu { display: flex; justify-content: space-between; align-items: center; height: 2.1cqw; padding: 0 1.3cqw 0 1.6cqw; background: #ececf0; color: #1d1d1f; font: 500 0.92cqw/1 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; white-space: nowrap; }
.mac-menu span { display: flex; gap: 1.25cqw; }
.mac-menu b { font-weight: 700; }
.mac-safari { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 3.8cqw; padding: 0 1.4cqw; background: #f7f7f9; border-bottom: 1px solid #dedee3; }
.mac-feux { display: flex; gap: 0.62cqw; }
.mac-feux i { width: 1cqw; height: 1cqw; border-radius: 50%; background: #d3d3d8; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.07); }
.mac-adresse { display: flex; justify-content: center; align-items: center; gap: 0.5cqw; width: 36cqw; height: 2.35cqw; border-radius: 0.7cqw; background: #e9e9ed; color: #1d1d1f; font: 500 1cqw/1 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.mac-adresse svg { width: 0.8cqw; height: 0.95cqw; fill: #8a8a8e; }
.mac-plus { justify-self: end; color: #8a8a8e; font: 300 1.9cqw/1 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.mac-page { position: absolute; top: 5.9cqw; right: 0; bottom: 0; left: 0; overflow: hidden; background: #f5f5f7; }
.mac-page picture, .mac-page img { display: block; width: 100%; height: auto; }
.mac-page img { animation: defile 34s cubic-bezier(0.45, 0, 0.2, 1) 1.2s infinite; will-change: transform; }
@keyframes defile { 0%, 6% { transform: translateY(0); } 76%, 86% { transform: translateY(-62%); } 100% { transform: translateY(0); } }
.mac-base {
  position: relative; width: 112%; margin-left: -6%; aspect-ratio: 100 / 3.1; border-radius: 0 0 2.4% 2.4% / 0 0 58% 58%;
  background: linear-gradient(180deg, #f4f5f7 0%, #dddfe3 16%, #c4c6cb 44%, #a3a6ac 72%, #7c7f85 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 -1px 1px rgba(0, 0, 0, 0.28);
}
.mac-base::before { content: ''; position: absolute; top: 0; left: 50%; width: 12%; height: 44%; transform: translateX(-50%); border-radius: 0 0 14px 14px / 0 0 10px 10px; background: linear-gradient(180deg, #8e9197 0%, #c2c5ca 100%); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3); }
.mac-base::after { content: ''; position: absolute; bottom: 100%; left: 2.6%; right: 2.6%; height: 4px; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #1b1c1f, #3a3b3f); }

/* iPhone en titane clair, vu de face */
.iphone {
  position: absolute; z-index: 2; left: 1%; bottom: clamp(44px, 7vh, 92px); width: 18%; aspect-ratio: 71.5 / 149.6; border-radius: 17.6% / 8.4%;
  background: linear-gradient(145deg, #f7f8fa 0%, #bfc2c8 14%, #eef0f2 31%, #a6aab1 53%, #e3e5e9 75%, #b2b5bb 100%);
  box-shadow: inset 0 0 0 0.6px rgba(0, 0, 0, 0.4), inset 0 0 2px 1px rgba(255, 255, 255, 0.55), 0 46px 70px -26px rgba(0, 0, 0, 0.8);
}
.iphone::before, .iphone::after { content: ''; position: absolute; width: 1.6%; background: linear-gradient(90deg, #8f9298, #d9dbdf 60%, #a9acb2); }
.iphone::before { left: -1.4%; top: 17.5%; height: 26%; border-radius: 3px 0 0 3px; -webkit-mask: linear-gradient(180deg, #000 0 11%, transparent 11% 24%, #000 24% 56%, transparent 56% 66%, #000 66%); mask: linear-gradient(180deg, #000 0 11%, transparent 11% 24%, #000 24% 56%, transparent 56% 66%, #000 66%); }
.iphone::after { right: -1.4%; top: 27%; height: 13%; border-radius: 0 3px 3px 0; }
.iphone-verre { position: absolute; inset: 0; margin: 1.6%; padding: 3%; border-radius: 16.3% / 7.8%; background: #020203; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.iphone-ecran { position: relative; height: 100%; overflow: hidden; border-radius: 13.6% / 6.3%; background: #f5f5f7; container-type: inline-size; }
.iphone-ile { position: absolute; z-index: 4; top: 2.7cqw; left: 50%; width: 31.3cqw; height: 9.2cqw; transform: translateX(-50%); border-radius: 99px; background: #000; }
.ios-statut { position: absolute; z-index: 3; top: 0; right: 0; left: 0; display: flex; justify-content: space-between; align-items: center; height: 13.4cqw; padding: 1.3cqw 7.4cqw 0 10cqw; background: #000; color: #fff; font: 600 4.15cqw/1 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; letter-spacing: -0.02em; }
.ios-icones { display: flex; align-items: center; gap: 1.5cqw; }
.ios-icones svg { display: block; height: 2.9cqw; width: auto; fill: currentColor; }
.iphone-page { position: absolute; top: 13.4cqw; right: 0; bottom: 20.8cqw; left: 0; overflow: hidden; background: #f5f5f7; }
.iphone-page img { display: block; width: 100%; height: auto; }
.ios-safari { position: absolute; z-index: 3; right: 0; bottom: 0; left: 0; height: 20.8cqw; padding: 2.4cqw 4.4cqw 0; background: rgba(247, 247, 249, 0.97); border-top: 1px solid rgba(0, 0, 0, 0.07); }
.ios-adresse { position: relative; display: flex; justify-content: center; align-items: center; height: 10.6cqw; border-radius: 3.4cqw; background: #fff; box-shadow: 0 0.3cqw 1.2cqw rgba(0, 0, 0, 0.08); color: #1d1d1f; font: 500 3.7cqw/1 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.ios-adresse b { position: absolute; left: 4cqw; font-size: 3.5cqw; font-weight: 500; }
.ios-safari::after { content: ''; position: absolute; bottom: 2cqw; left: 50%; width: 35cqw; height: 1.35cqw; transform: translateX(-50%); border-radius: 99px; background: #111; }

.scene-robot { position: absolute; right: -7%; bottom: clamp(30px, 5vh, 64px); width: 18%; pointer-events: none; animation: flotte 6s ease-in-out infinite; will-change: transform; }
@keyframes flotte { 50% { transform: translateY(-12px); } }
.hors-champ .mac-page img, .hors-champ .iphone-page img, .hors-champ .scene-robot { animation-play-state: paused; }
@supports (animation-timeline: view()) {
  .scene { animation: scene-entre linear both; animation-timeline: view(); animation-range: entry 0% cover 34%; }
  @keyframes scene-entre { from { transform: scale(0.93); } to { transform: none; } }
}

/* Le parcours : le schéma suit l'étape qu'on lit */
.tete-m { max-width: var(--largeur); margin: 0 auto clamp(30px, 4.6vw, 64px); }
.tete-m .titre-s { max-width: 19ch; font-size: clamp(36px, 4.8vw, 66px); }
.tete-m .chapo { margin-top: 18px; }
.parcours { max-width: var(--largeur); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 88px); }
.etapes { list-style: none; margin: 0; padding: 0; }
.etape { display: grid; align-content: center; gap: 12px; min-height: 56vh; padding: 24px 0; }
.etape:first-child { min-height: 40vh; align-content: start; padding-top: 8px; }
.etape-meta { margin: 0; color: #4d4d53; font-size: 14px; transition: color 0.4s; }
.etape h3 { margin: 0; color: #3d3d42; font: 650 clamp(30px, 3.1vw, 46px)/1.02 var(--display); letter-spacing: -0.035em; text-wrap: balance; transition: color 0.4s var(--ease); }
.etape p { max-width: 38ch; margin: 0; color: #3d3d42; font-size: 18px; line-height: 1.5; transition: color 0.4s var(--ease); }
.etape.active .etape-meta { color: var(--gris); }
.etape.active h3 { color: #f5f5f7; }
.etape.active p { color: var(--gris); }
.etape-img { display: none; }
.parcours-vue { position: sticky; top: calc(48px + 12vh); align-self: start; margin: 0; }
.feuille { position: relative; aspect-ratio: 720 / 470; border-radius: 24px; background: var(--blanc); }
.feuille img { position: absolute; top: 6%; left: 5%; width: 90%; height: 88%; object-fit: contain; opacity: 0; transition: opacity 0.45s var(--ease); }
.feuille img.active { opacity: 1; }
.parcours-vue figcaption { margin-top: 14px; color: var(--gris); font-size: 14px; }

/* Onglets qui défilent sur une ligne */
.onglets-defile { max-width: 100%; }

/* Listes de chapitres : chaque ligne mène au chapitre sur le site */
.pg { list-style: none; margin: 0; padding: 0; }
.pg li { border-top: 1px solid #e8e8ed; break-inside: avoid; }
.pg li:last-child { border-bottom: 1px solid #e8e8ed; }
.pg a { display: grid; grid-template-columns: 2.2em minmax(0, 1fr) auto; align-items: baseline; gap: 4px 14px; margin: 0 -10px; padding: 12px 10px; border-radius: 10px; color: inherit; font-size: 15px; line-height: 1.4; text-decoration: none; transition: background 0.2s; }
.pg a:hover { background: var(--papier); }
.pg-sans-n a { grid-template-columns: minmax(0, 1fr) auto; }
.pg-n { color: #6e6e73; font-variant-numeric: tabular-nums; }
.pg-t { color: var(--encre); }
.pg-d { color: var(--gris-sombre); font-size: 13.5px; text-align: right; white-space: nowrap; }
.pg .offert .pg-d { color: var(--encre); font-weight: 600; }
.pg-simple li { padding: 12px 0; color: var(--encre); font-size: 15px; }

/* Par où commencer */
.depart-panneau {
  max-width: var(--largeur); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px);
  padding: clamp(24px, 3vw, 40px); border-radius: 24px; background: var(--blanc); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
}
.depart-texte h3 { margin: 0; font: 650 clamp(26px, 2.4vw, 34px)/1.05 var(--display); letter-spacing: -0.03em; text-wrap: balance; }
.depart-texte p { margin: 14px 0 0; color: var(--gris-sombre); font-size: 16.5px; line-height: 1.6; }

/* Le programme */
.blocs { max-width: var(--largeur); margin: 0 auto; display: grid; gap: 14px; }
.bloc { border-radius: 24px; background: var(--blanc); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05); }
.bloc summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 20px; padding: 24px 28px; list-style: none; cursor: pointer; }
.bloc summary::-webkit-details-marker { display: none; }
.bloc-nom { font: 650 clamp(22px, 2vw, 28px)/1.1 var(--display); letter-spacing: -0.03em; }
.bloc-info { grid-column: 1; color: var(--gris-sombre); font-size: 14.5px; }
.bloc summary::after {
  content: ''; grid-column: 2; grid-row: 1 / span 2; width: 14px; height: 14px; color: var(--gris-sombre);
  background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
  transition: transform 0.3s var(--ease);
}
.bloc[open] summary::after { transform: rotate(45deg); }
.bloc-desc { max-width: 72ch; margin: 0; padding: 0 28px; color: var(--gris-sombre); font-size: 15.5px; line-height: 1.55; }
.bloc .pg { padding: 18px 28px 28px; }
.pg-colonnes { columns: 2; column-gap: 44px; }
.programme-seul { max-width: var(--largeur); margin: 0 auto; padding: 10px 28px 22px; border-radius: 24px; background: var(--blanc); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05); }
.familles { max-width: var(--largeur); margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.familles-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.famille { padding: 24px 24px 18px; border-radius: 24px; background: var(--blanc); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05); }
.famille h3 { margin: 0 0 14px; font: 650 24px/1.1 var(--display); letter-spacing: -0.03em; }
.famille .pg a { font-size: 14.5px; }
.note-s { max-width: var(--largeur); margin: clamp(24px, 3vw, 36px) auto 0; color: var(--gris-sombre); font-size: 15.5px; line-height: 1.55; }
.s-blanc .famille, .s-blanc .programme-seul, .s-blanc .bloc { background: var(--papier); box-shadow: none; }
.s-blanc .pg a:hover { background: var(--blanc); }
.s-clair .phases li { background: var(--blanc); }

/* Les phases du plan */
.phases { list-style: none; max-width: var(--largeur); margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.phases li { display: grid; align-content: start; gap: 10px; padding: 26px 26px 30px; border-radius: 24px; background: var(--papier); }
.phases h3 { margin: 0; font: 650 clamp(26px, 2.4vw, 32px)/1.05 var(--display); letter-spacing: -0.03em; }
.phases p { margin: 0; color: var(--gris-sombre); font-size: 16px; line-height: 1.55; }
.phases .phase-quand { font-size: 14px; }

/* À prévoir, pour qui, à emporter */
.colonnes-s { max-width: var(--largeur); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.colonnes-s .tete-s { position: sticky; top: 92px; margin: 0; justify-items: start; text-align: left; }
.fiche { margin: 0; }
.fiche > div { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: 6px 28px; padding: 20px 0; border-top: 1px solid #e8e8ed; }
.fiche > div:last-child { border-bottom: 1px solid #e8e8ed; }
.fiche dt { font: 600 18px/1.3 var(--display); letter-spacing: -0.015em; }
.fiche dd { margin: 0; color: var(--gris-sombre); font-size: 16px; line-height: 1.55; }
.fiche dd small { display: block; margin-top: 4px; color: #6e6e73; font-size: 13px; }
.pourqui { display: grid; gap: 40px; }
.pourqui h3 { margin: 0 0 6px; font: 650 clamp(24px, 2.2vw, 30px)/1.1 var(--display); letter-spacing: -0.03em; }
.pourqui ul { list-style: none; margin: 0; padding: 0; }
.pourqui li { padding: 16px 0; border-top: 1px solid rgba(0, 0, 0, 0.09); color: var(--gris-sombre); font-size: 16px; line-height: 1.55; }
.pourqui li:last-child { border-bottom: 1px solid rgba(0, 0, 0, 0.09); }
.pourqui li b { color: var(--encre); font-weight: 600; }
.lien-bleu { color: var(--bleu-texte); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.lien-bleu:hover { text-decoration-thickness: 2px; }

/* Le prix */
.prix-grille { max-width: var(--largeur); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.prix-texte .chapo { margin-top: 18px; }
.niveaux-prix { display: grid; gap: 6px; margin-top: 30px; }
.niveaux-prix button {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 17px 22px; border: 0; border-radius: 16px;
  background: rgba(255, 255, 255, 0.05); color: rgba(245, 245, 247, 0.8); font: 500 16px/1.2 var(--corps); text-align: left; cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
.niveaux-prix button:hover { background: rgba(255, 255, 255, 0.09); color: #fff; }
.niveaux-prix button[aria-checked='true'] { background: #f5f5f7; color: var(--encre); }
.niveaux-prix button[aria-checked='true'] em { color: #6e6e73; }
.niveaux-prix em { margin-left: 8px; color: #86868b; font-size: 14px; font-style: normal; }
.niveaux-prix b { font: 650 18px/1 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.prix-carte { display: grid; justify-items: center; gap: 12px; padding: clamp(30px, 4vw, 52px); border-radius: 28px; background: var(--graphite); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); text-align: center; }
.prix-carte-nom { margin: 0; color: var(--gris); font-size: 15px; }
.prix-m { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 14px; }
.prix-m b { font: 650 clamp(56px, 6.2vw, 88px)/1 var(--display); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; white-space: nowrap; transition: opacity 0.2s; }
.prix-m b.change { opacity: 0.25; }
.prix-m s { color: #86868b; font-size: 18px; white-space: nowrap; }
.prix-par-chapitre { margin: 0; color: var(--gris); font-size: 15px; }
.inclus { list-style: none; width: 100%; margin: 12px 0 4px; padding: 0; text-align: left; }
.inclus li { padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); color: rgba(245, 245, 247, 0.86); font-size: 15px; line-height: 1.45; }
.prix-actions { display: grid; width: 100%; gap: 10px; margin-top: 10px; }
.prix-actions .bt { width: 100%; height: 54px; font-size: 16.5px; }
.prix-confiance { margin: 4px 0 0; color: var(--gris); font-size: 13.5px; }

/* Les questions s'ouvrent en douceur là où le navigateur le permet */
@supports selector(::details-content) {
  :root { interpolate-size: allow-keywords; }
  .bloc::details-content, .faq-liste details::details-content { height: 0; overflow: clip; transition: height 0.4s var(--ease), content-visibility 0.4s allow-discrete; }
  .bloc[open]::details-content, .faq-liste details[open]::details-content { height: auto; }
}

/* Les autres formations */
.autres { width: 100%; max-width: var(--largeur); margin-top: clamp(64px, 8vw, 112px); padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.1); text-align: left; }
.autres h2 { margin: 0 0 18px; color: var(--gris); font: 600 15px/1.2 var(--corps); letter-spacing: 0; }
.autres-liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.autre { display: grid; gap: 8px; align-content: start; padding: 22px 24px; border-radius: 20px; background: var(--graphite); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); color: inherit; text-decoration: none; transition: box-shadow 0.25s; }
.autre:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24); }
.autre-nom { font: 650 26px/1 var(--display); letter-spacing: -0.035em; }
.autre-desc { color: var(--gris); font-size: 14.5px; line-height: 1.45; }
.autre-prix { color: rgba(245, 245, 247, 0.86); font-size: 14.5px; }
.fin .fin-titre { max-width: 18ch; }

@media (max-width: 1100px) {
  .barre-m-liens { display: none; }
  .barre-m-prix { margin-left: auto; }
  .familles, .familles-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .parcours, .depart-panneau, .colonnes-s, .prix-grille { grid-template-columns: minmax(0, 1fr); }
  .parcours-vue { display: none; }
  .etape, .etape:first-child { min-height: 0; padding: 28px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }
  .etape .etape-meta, .etape p { color: var(--gris); }
  .etape h3 { color: #f5f5f7; }
  .etape-img { display: block; width: 100%; margin-top: 10px; padding: 14px; border-radius: 18px; background: var(--blanc); }
  .colonnes-s .tete-s { position: relative; top: 0; }
  .pg-colonnes { columns: 1; }
  .phases, .autres-liste { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  .barre-m-prix { display: none; }
  .barre-m .bt { margin-left: auto; }
  .hero-m { padding: 14px 20px 0; }
  .hero-m-titre span { font-size: clamp(50px, 15vw, 76px); }
  .hero-m-prix b { display: block; margin: 0 0 8px; font-size: 34px; }
  .hero-m-actions { width: 100%; }
  .hero-m-actions .bt { width: 100%; }
  .scene { margin-top: 36px; padding-bottom: 64px; }
  .mac { display: none; }
  .iphone { position: relative; left: auto; bottom: auto; width: 62%; margin: 0 0 0 7%; }
  .iphone-page img { animation: defile-tel 28s cubic-bezier(0.45, 0, 0.2, 1) 1.2s infinite; will-change: transform; }
  @keyframes defile-tel { 0%, 6% { transform: translateY(0); } 76%, 86% { transform: translateY(-40%); } 100% { transform: translateY(0); } }
  .scene-robot { right: -4%; bottom: 76px; width: 38%; }
  .onglets-defile { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; border-radius: 999px; }
  .onglets-defile::-webkit-scrollbar { display: none; }
  .onglets-defile button { flex: none; }
  .onglets-defile .onglets-curseur { border-radius: 999px; }
  .bloc summary { padding: 20px; }
  .bloc-desc { padding: 0 20px; }
  .bloc .pg { padding: 14px 20px 22px; }
  .programme-seul { padding: 6px 18px 14px; }
  .pg a { grid-template-columns: 2em minmax(0, 1fr); }
  .pg-sans-n a { grid-template-columns: minmax(0, 1fr); }
  .pg-d { grid-column: 2; text-align: left; }
  .pg-sans-n .pg-d { grid-column: 1; }
  .familles, .familles-4 { grid-template-columns: minmax(0, 1fr); }
  .fiche > div { grid-template-columns: minmax(0, 1fr); }
  .niveaux-prix button { padding: 15px 18px; }
}
