/* Pages vivantes (Accueil, Atelier…) : n'utilisent que les variables de tokens.css */

/* ---------- Haut de page ---------- */
.haut-vivant { padding: var(--esp-5) 0 var(--esp-6); overflow: hidden; }
.haut-vivant .conteneur { display: grid; gap: var(--esp-5); align-items: center; }
@media (min-width: 960px) {
  .haut-vivant { padding: var(--esp-7) 0; }
  .haut-vivant .conteneur { grid-template-columns: 1.1fr 1fr; gap: var(--esp-6); }
}
.pastille {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 var(--etiquette)/1.3 var(--police-mono); letter-spacing: .07em; text-transform: uppercase;
  color: var(--accent-300);
}
.pastille::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--action); animation: pouls 2s ease-out infinite; }
@keyframes pouls { 0% { box-shadow: 0 0 0 0 var(--accent-300); } 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.haut-vivant h1 {
  color: var(--bandeau-texte); font-size: var(--titre-1); line-height: 1.04; letter-spacing: -.025em;
  margin: var(--esp-2) 0 var(--esp-3); max-width: 14ch;
}
.haut-vivant h1 em { font-style: normal; color: var(--action); }
.haut-vivant .chapo { color: var(--bandeau-texte-doux); font-size: var(--texte-grand); max-width: 44ch; margin-bottom: var(--esp-3); }
.ligne-prix { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: var(--esp-4); color: var(--bandeau-texte-doux); }
.ligne-prix strong { font: 700 var(--titre-2)/1 var(--police-titre); color: var(--bandeau-texte); }
.confiance { margin-top: var(--esp-3); color: var(--bandeau-texte-doux); font-size: var(--petit); display: flex; flex-wrap: wrap; gap: 6px 16px; }
.confiance span { display: inline-flex; align-items: center; gap: 6px; }
.confiance span::before { content: "✓"; color: var(--accent-300); font-weight: 600; }

/* La photo du live */
.portrait-live { position: relative; margin: var(--esp-3) var(--esp-1) var(--esp-4); }
.portrait-live::before {
  content: ""; position: absolute; width: 140px; height: 140px; border-radius: 50%;
  background: var(--action); top: -36px; right: -28px;
}
.portrait-live::after {
  content: ""; position: absolute; inset: 18px -14px -14px 18px; border: 1.5px solid var(--encre-400); border-radius: var(--rayon-grand);
}
.portrait-live { max-width: 440px; justify-self: center; width: 100%; }
.portrait-live img { position: relative; z-index: 1; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--rayon-grand); }
.badge-live {
  position: absolute; z-index: 2; top: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: var(--encre-950); color: var(--bandeau-texte);
  font: 500 var(--etiquette)/1 var(--police-mono); letter-spacing: .07em; text-transform: uppercase;
}
.badge-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--erreur); }
.puce-chiffre {
  position: absolute; z-index: 2; background: var(--surface); color: var(--texte); border-radius: var(--rayon-grand);
  padding: 10px 14px; display: grid; line-height: 1.2; font-size: var(--petit); max-width: 200px;
}
.puce-chiffre strong { font: 700 1.5rem/1.1 var(--police-titre); color: var(--titre); }
.puce-1 { left: -12px; bottom: -30px; }
.puce-2 { right: -12px; top: 22%; }
@media (max-width: 520px) { .puce-chiffre { max-width: 150px; padding: 8px 10px; } .puce-chiffre strong { font-size: 1.25rem; } .puce-2 { top: auto; bottom: -30px; right: -6px; } .puce-1 { left: -6px; } }

/* ---------- Le constat ---------- */
.constat { display: grid; gap: var(--esp-4); }
@media (min-width: 900px) { .constat { grid-template-columns: 1fr 1fr; align-items: end; gap: var(--esp-6); } }
.grand-titre { font: 700 clamp(2.4rem, 1.6rem + 4vw, 4.4rem)/1.02 var(--police-titre); color: var(--titre); letter-spacing: -.03em; }
.grand-titre span { display: block; color: var(--accent-700); }
.douleurs { list-style: none; padding: 0; display: grid; gap: var(--esp-2); }
.douleurs li { border-top: 1.5px solid var(--bordure-forte); padding-top: var(--esp-2); font-size: var(--texte-grand); color: var(--texte); }
.douleurs li:last-child { font-weight: 600; color: var(--titre); }

/* ---------- Avant / avec l'atelier ---------- */
.avant-apres { display: grid; gap: var(--esp-3); }
.tache { background: var(--surface); border: var(--trait); border-radius: var(--rayon-grand); overflow: hidden; display: grid; }
.tache h3 { font-size: var(--titre-3); font-weight: 500; padding: var(--esp-3) var(--esp-3) 0; }
.tache-corps { display: grid; gap: var(--esp-2); padding: var(--esp-2) var(--esp-3) var(--esp-3); }
@media (min-width: 760px) { .tache-corps { grid-template-columns: 1fr auto 1fr; align-items: stretch; } }
.colonne { border-radius: var(--rayon-petit); padding: var(--esp-2); }
.colonne .et { margin-bottom: 4px; }
.colonne-avant { background: var(--fond-alterne); color: var(--texte-doux); }
.colonne-apres { background: var(--accent-50); border: 1px solid var(--accent-200); color: var(--texte); }
.colonne-apres .et { color: var(--accent-800); }
.fleche { align-self: center; justify-self: center; color: var(--texte-doux); transform: rotate(90deg); }
@media (min-width: 760px) { .fleche { transform: none; } }
.fleche svg { width: 24px; height: 24px; display: block; }

/* ---------- Citation en grand ---------- */
.citation-bandeau { padding: var(--esp-6) 0; }
.citation-bandeau blockquote { font: 700 clamp(1.7rem, 1.2rem + 2.4vw, 2.8rem)/1.18 var(--police-titre); color: var(--bandeau-texte); letter-spacing: -.015em; max-width: 26ch; }
.citation-bandeau blockquote::before { content: "«"; display: block; color: var(--action); font-size: 1.8em; line-height: .6; margin-bottom: var(--esp-2); }
.citation-bandeau figcaption { margin-top: var(--esp-3); color: var(--bandeau-texte-doux); }
.citation-bandeau figcaption strong { color: var(--accent-300); font-weight: 600; }

/* ---------- Les vraies captures ---------- */
.captures {
  display: flex; gap: var(--esp-2); overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px var(--esp-2) var(--esp-3); margin: 0 calc(-1 * var(--esp-2));
  scrollbar-width: thin;
}
.capture { flex: 0 0 82%; scroll-snap-align: start; margin: 0; }
@media (min-width: 720px) {
  .captures { display: block; columns: 2; column-gap: var(--esp-3); overflow: visible; padding: 0; margin: 0; }
  .capture { break-inside: avoid; margin-bottom: var(--esp-3); }
}
@media (min-width: 1040px) { .captures { columns: 3; } }
.capture a { display: block; border-radius: var(--rayon-grand); overflow: hidden; border: var(--trait); background: var(--encre-950); transition: transform var(--duree), border-color var(--duree); }
.capture a:hover { transform: translateY(-3px); border-color: var(--titre); }
.capture img { width: 100%; }
.capture figcaption { margin-top: var(--esp-1); font-size: var(--petit); color: var(--texte-doux); }
.capture figcaption strong { color: var(--titre); }
.glisser { font-size: var(--petit); color: var(--texte-doux); margin-bottom: var(--esp-2); }
@media (min-width: 720px) { .glisser { display: none; } }

/* ---------- Qui anime ---------- */
.chiffres-clairs { display: grid; gap: var(--esp-3); }
@media (min-width: 560px) { .chiffres-clairs { grid-template-columns: repeat(2, 1fr); } }
.chiffres-clairs > div { background: var(--surface); border: var(--trait); border-radius: var(--rayon-grand); padding: var(--esp-4) var(--esp-3); }
.chiffre-clair { font: 700 clamp(2.5rem, 2rem + 2.4vw, 3.4rem)/1 var(--police-titre); color: var(--titre); }
.chiffres-clairs p:not(.chiffre-clair) { color: var(--texte-doux); margin-top: var(--esp-1); }

/* ---------- Pour qui, prix, questions ---------- */
.liste-oui, .liste-non { list-style: none; padding-left: 0 !important; }
.liste-oui li, .liste-non li { position: relative; padding-left: 1.6em; }
.liste-oui li::before, .liste-non li::before { position: absolute; left: 0; font-weight: 600; }
.liste-oui li::before { content: "✓"; color: var(--succes); }
.liste-non li::before { content: "✕"; color: var(--erreur); }
.carte .prix { font: 700 clamp(2.25rem, 1.9rem + 1.8vw, 3rem)/1 var(--police-titre); color: var(--titre); }
.carte .bonus { background: var(--accent-50); border: 1px solid var(--accent-200); border-radius: var(--rayon-petit); padding: var(--esp-2); color: var(--texte); }
.faq { display: grid; gap: var(--esp-2); max-width: 760px; }
.faq details { background: var(--surface); border: var(--trait); border-radius: var(--rayon-grand); padding: 0 var(--esp-3); }
.faq summary { min-height: 56px; display: flex; align-items: center; cursor: pointer; font: 500 1.1rem/1.3 var(--police-titre); color: var(--titre); list-style: none; padding: var(--esp-2) 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; padding-left: var(--esp-2); font-size: 1.4rem; color: var(--texte-doux); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--texte-doux); padding-bottom: var(--esp-3); }

/* ---------- Barre WhatsApp fixe sur téléphone ---------- */
.barre-mobile {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9; padding: 10px var(--esp-2) calc(10px + env(safe-area-inset-bottom));
  background: var(--surface); border-top: var(--trait); display: flex; align-items: center; gap: var(--esp-2);
  transform: translateY(110%); transition: transform 250ms ease;
}
.barre-mobile.visible { transform: none; }
.barre-mobile p { font-size: var(--petit); line-height: 1.25; color: var(--texte-doux); }
.barre-mobile p strong { display: block; color: var(--titre); font-family: var(--police-titre); font-size: 1.05rem; }
.barre-mobile .btn { margin-left: auto; padding: 0 var(--esp-2); }
@media (min-width: 900px) { .barre-mobile { display: none; } }
@media (max-width: 899px) { body { padding-bottom: 76px; } }

/* ---------- Mouvement ---------- */
.js .revele { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms ease; }
.js .revele.vu { opacity: 1; transform: none; }
.haut-vivant .entree { animation: entree 700ms ease both; }
.haut-vivant .entree-2 { animation-delay: 120ms; }
.haut-vivant .entree-3 { animation-delay: 240ms; }
@keyframes entree { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .js .revele { opacity: 1; transform: none; }
  .haut-vivant .entree, .pastille::before { animation: none; }
  .barre-mobile { transition: none; }
}

/* ======================= Accueil ======================= */
/* Portrait NAIST : format vertical */
.portrait-naist { max-width: 400px; }
.portrait-naist img { aspect-ratio: 4 / 5; object-position: center 25%; }
.badge-calme::before { background: var(--action); }

/* Ce qui me distingue */
.sous-grand-titre { margin: var(--esp-3) 0 var(--esp-2); color: var(--texte-doux); font-size: var(--texte-grand); max-width: 46ch; }
.regles-num { counter-reset: regle; }
.regles-num li { counter-increment: regle; position: relative; padding-left: 3.2rem; font-weight: 400 !important; color: var(--texte) !important; }
.regles-num li::before {
  content: "0" counter(regle); position: absolute; left: 0; top: var(--esp-2);
  font: 700 1.5rem/1 var(--police-titre); color: var(--accent-700);
}
.regles-num li strong { color: var(--titre); font-weight: 600; }

/* Deux chemins */
.deux-chemins { display: grid; gap: var(--esp-3); }
@media (min-width: 900px) { .deux-chemins { grid-template-columns: 1.15fr 1fr; align-items: stretch; } }
.chemin { background: var(--surface); border: var(--trait); border-radius: var(--rayon-grand); padding: var(--esp-4) var(--esp-3); display: flex; flex-direction: column; gap: var(--esp-2); }
@media (min-width: 900px) { .chemin { padding: var(--esp-5) var(--esp-4); } }
.chemin h3 { font-size: var(--titre-2); line-height: 1.12; letter-spacing: -.015em; max-width: 18ch; }
.chemin-liste { list-style: none; padding: 0 !important; margin: var(--esp-1) 0 var(--esp-2); }
.chemin-liste li { border-top: 1.5px solid var(--bordure-forte); }
.chemin-liste li:last-child { border-bottom: 1.5px solid var(--bordure-forte); }
.chemin-liste a { display: flex; align-items: center; gap: var(--esp-2); padding: var(--esp-2) 0; text-decoration: none; color: var(--texte-doux); }
.chemin-liste a span { display: grid; gap: 2px; }
.chemin-liste a strong { font: 500 1.15rem/1.3 var(--police-titre); color: var(--titre); }
.chemin-liste a svg { width: 22px; height: 22px; flex-shrink: 0; margin-left: auto; transition: transform var(--duree); color: var(--titre); }
.chemin-liste a:hover svg { transform: translateX(4px); }
.chemin-fonce { background: var(--bandeau); border-color: var(--bandeau); color: var(--bandeau-texte-doux); }
.chemin-fonce .et { color: var(--accent-300); }
.chemin-fonce h3, .chemin-fonce .chemin-liste a strong, .chemin-fonce .chemin-liste a svg { color: var(--bandeau-texte); }
.chemin-fonce .chemin-liste a { color: var(--bandeau-texte-doux); }
.chemin-fonce .chemin-liste li { border-color: var(--encre-600); }
.chemin-vedette {
  margin-top: auto; display: grid; gap: 4px; padding: var(--esp-3); border-radius: var(--rayon-grand);
  background: var(--action); color: var(--encre-950); text-decoration: none; transition: transform var(--duree);
}
.chemin-vedette:hover { transform: translateY(-3px); }
.chemin-vedette .et { color: var(--encre-800); }
.chemin-vedette strong { font: 700 1.4rem/1.15 var(--police-titre); }
.chemin-vedette span:last-child { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.chemin-vedette svg { width: 20px; height: 20px; }
.chemin .btn-second { margin-top: auto; align-self: flex-start; }

/* Les chiffres en très grand */
.chiffres-grands { padding: var(--esp-6) 0; }
.chiffres-grands .conteneur { display: grid; gap: var(--esp-4); }
@media (min-width: 760px) { .chiffres-grands .conteneur { grid-template-columns: repeat(3, 1fr); } }
.chiffres-grands .conteneur > div { border-top: 3px solid var(--action); padding-top: var(--esp-2); color: var(--bandeau-texte-doux); }
.chiffre-geant { font: 700 clamp(3.2rem, 2.4rem + 4vw, 5.5rem)/1 var(--police-titre); color: var(--bandeau-texte); letter-spacing: -.03em; margin-bottom: var(--esp-1); }

/* Captures : sur grand écran, une rangée de colonnes */
@media (min-width: 1040px) { .captures-accueil { columns: 3; } }
@media (min-width: 900px) {
  .constat:has(.regles-num), .constat:has(.faits) { grid-template-columns: 1.15fr 1fr; align-items: center; }
  .constat:has(.regles-num) .grand-titre, .constat:has(.faits) .grand-titre { font-size: clamp(2.6rem, 1.6rem + 2.6vw, 3.8rem); }
}

/* ======================= Entreprises ======================= */
/* Scène du haut : un département au travail */
.scene-cadre { position: relative; justify-self: center; width: 100%; max-width: 440px; margin: var(--esp-3) var(--esp-1) var(--esp-2); }
.scene-cadre::before { content: ""; position: absolute; width: 140px; height: 140px; border-radius: 50%; background: var(--action); top: -40px; right: -32px; }
.scene-cadre::after { content: ""; position: absolute; inset: 18px -14px -14px 18px; border: 1.5px solid var(--encre-400); border-radius: var(--rayon-grand); }
.scene-box {
  position: relative; z-index: 1;
  background: var(--surface); color: var(--texte); border-radius: var(--rayon-grand); padding: var(--esp-3);
  display: grid; gap: var(--esp-2);
}
.scene-tete { display: flex; align-items: center; gap: 8px; font: 500 var(--etiquette)/1 var(--police-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--texte-doux); }
.scene-point { width: 8px; height: 8px; border-radius: 50%; background: var(--succes); }
.scene-objectif { display: grid; gap: 4px; font: 500 1.15rem/1.3 var(--police-titre); color: var(--titre); }
.scene-taches { list-style: none; padding: 0; display: grid; gap: 6px; counter-reset: t; }
.scene-taches li { display: flex; align-items: center; gap: var(--esp-1); padding: 10px 12px; border-radius: var(--rayon-petit); background: var(--fond-alterne); font-size: var(--petit); }
.scene-taches li span { flex: 1; }
.scene-taches b { font: 500 var(--etiquette)/1 var(--police-mono); text-transform: uppercase; letter-spacing: .05em; padding: 5px 8px; border-radius: 999px; background: var(--accent-100); color: var(--accent-900); white-space: nowrap; }
.scene-taches b.ok { background: transparent; color: var(--succes); padding-right: 0; }
.scene-taches b.ok::before { content: "✓ "; }
.scene-taches li.attente { background: var(--accent-50); border: 1px solid var(--accent-200); }
.scene-bas { display: flex; align-items: center; justify-content: space-between; gap: var(--esp-1); font-size: var(--petit); color: var(--texte-doux); }
.scene-bouton { background: var(--action); color: var(--encre-950); font-weight: 600; padding: 10px 18px; border-radius: var(--rayon-petit); }
.js .scene-taches li { animation: tache-arrive 500ms ease both; }
.scene-taches li:nth-child(2) { animation-delay: 350ms; }
.scene-taches li:nth-child(3) { animation-delay: 700ms; }
.scene-taches li:nth-child(4) { animation-delay: 1050ms; }
@keyframes tache-arrive { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
.js .scene-bouton { animation: bouton-pouls 2.4s ease-in-out 1.6s infinite; }
@keyframes bouton-pouls { 0%, 100% { box-shadow: 0 0 0 0 var(--accent-300); } 50% { box-shadow: 0 0 0 6px transparent; } }
@media (prefers-reduced-motion: reduce) { .js .scene-taches li, .js .scene-bouton { animation: none; } }

/* L'équipe d'un département, en étiquettes */
.equipe { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 8px; margin: var(--esp-1) 0 var(--esp-2); }
.equipe li { font-size: var(--petit); line-height: 1.35; padding: 8px 12px; border-radius: var(--rayon-petit); background: var(--fond-alterne); color: var(--texte); }
.chemin-fonce .equipe li { background: var(--encre-700); color: var(--bandeau-texte); }
.chemin > p:not(.et) { color: var(--texte-doux); }
.chemin-fonce > p:not(.et) { color: var(--bandeau-texte-doux); }

/* Agent Gate en quatre temps */
.section-gate { padding: var(--esp-6) 0; }
.section-gate .tete-section p:not(.et) { color: var(--bandeau-texte-doux); }
.section-gate .et { color: var(--accent-300); }
.gate-etapes { list-style: none; padding: 0; display: grid; gap: var(--esp-3); margin: var(--esp-4) 0; }
@media (min-width: 760px) { .gate-etapes { grid-template-columns: repeat(4, 1fr); } }
.gate-etapes li { border-top: 3px solid var(--action); padding-top: var(--esp-2); color: var(--bandeau-texte-doux); display: grid; gap: 4px; }
.gate-etapes span { font: 500 var(--etiquette)/1 var(--police-mono); color: var(--accent-300); }
.gate-etapes strong { font: 700 clamp(1.8rem, 1.4rem + 1.4vw, 2.4rem)/1.1 var(--police-titre); color: var(--bandeau-texte); }

/* Former vos équipes */
.former { display: grid; gap: var(--esp-4); }
@media (min-width: 900px) { .former { grid-template-columns: 1.1fr 1fr; align-items: center; gap: var(--esp-6); } }
.former .chemin-vedette { padding: var(--esp-4); }
.former .chemin-vedette strong { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }

/* Sur quoi ça repose */
.repose { display: grid; gap: var(--esp-5); align-items: center; }
@media (min-width: 900px) { .repose { grid-template-columns: .9fr 1.1fr; gap: var(--esp-6); } }
.portrait-ceremonie { margin: 0 var(--esp-2) var(--esp-2) 0; max-width: 440px; justify-self: center; }
.portrait-ceremonie::before { display: none; }
.portrait-ceremonie img { aspect-ratio: 4 / 5; object-position: center 40%; }
.repose h2 { margin: var(--esp-1) 0 var(--esp-3); }
.repose-liste li { font-size: 1rem !important; color: var(--texte-doux) !important; font-weight: 400 !important; }
.repose-liste li strong { display: block; color: var(--titre); font: 500 1.15rem/1.3 var(--police-titre); margin-bottom: 4px; }
.haut-vivant h1.h1-large { max-width: 18ch; }
.section-gate h2 { color: var(--bandeau-texte); }

/* ======================= Icônes ======================= */
.ico { flex-shrink: 0; width: 44px; height: 44px; border-radius: var(--rayon-grand); display: inline-grid; place-items: center; background: var(--accent-100); color: var(--encre-800); }
.ico svg { width: 22px; height: 22px; }
.ico-grand { width: 64px; height: 64px; }
.ico-grand svg { width: 30px; height: 30px; }
.sur-bandeau .ico, .chemin-fonce .ico { background: var(--encre-700); color: var(--accent-300); }

/* Une liste de faits : icône + gras + une phrase */
.faits { list-style: none; padding: 0 !important; display: grid; gap: var(--esp-2); margin: var(--esp-3) 0; }
.faits li { display: flex; gap: var(--esp-2); align-items: flex-start; }
.faits li > span:last-child { display: grid; gap: 2px; color: var(--texte-doux); padding-top: 2px; }
.faits li strong { color: var(--titre); font: 600 1.1rem/1.3 var(--police-titre); }
.faits-grands li strong { font-size: 1.3rem; }
.sur-bandeau .faits li > span:last-child { color: var(--bandeau-texte-doux); }
.sur-bandeau .faits li strong { color: var(--bandeau-texte); }

/* ======================= Formations ======================= */
.marches { list-style: none; padding: 0; display: grid; gap: var(--esp-3); counter-reset: m; }
@media (min-width: 760px) { .marches { grid-template-columns: repeat(3, 1fr); } }
.marches li { position: relative; display: grid; gap: 6px; justify-items: start; background: var(--surface); border: var(--trait); border-radius: var(--rayon-grand); padding: var(--esp-4) var(--esp-3); }
.marches li strong { font: 700 1.4rem/1.2 var(--police-titre); color: var(--titre); margin-top: var(--esp-1); }
.marches li > span:last-child { color: var(--texte-doux); }
.marche-num { position: absolute; top: var(--esp-3); right: var(--esp-3); font: 700 2.4rem/1 var(--police-titre); color: var(--accent-200); }

.vedette-live { display: grid; gap: var(--esp-4); align-items: center; }
@media (min-width: 900px) { .vedette-live { grid-template-columns: .85fr 1fr; gap: var(--esp-6); } }
.vedette-live img { width: 100%; max-width: 480px; border-radius: var(--rayon-grand); justify-self: center; }
.vedette-live h2 { font-size: var(--titre-1); line-height: 1.05; letter-spacing: -.02em; margin-top: var(--esp-1); }

.catalogue { display: grid; gap: var(--esp-2); }
@media (min-width: 640px) { .catalogue { grid-template-columns: repeat(2, 1fr); gap: var(--esp-3); } }
@media (min-width: 1040px) { .catalogue { grid-template-columns: repeat(4, 1fr); } }
.cours { display: grid; grid-template-columns: 112px 1fr; background: var(--surface); border: var(--trait); border-radius: var(--rayon-grand); overflow: hidden; text-decoration: none; color: var(--texte); transition: transform var(--duree), border-color var(--duree); }
.cours:hover { transform: translateY(-4px); border-color: var(--titre); }
.cours img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
@media (min-width: 640px) { .cours { grid-template-columns: 1fr; } .cours img { height: auto; } }
.cours-corps { display: grid; gap: 6px; align-content: start; padding: var(--esp-2); }
@media (min-width: 640px) { .cours-corps { padding: var(--esp-2) var(--esp-3) var(--esp-3); } }
.cours-niveau { display: inline-flex; align-items: center; gap: 6px; font: 500 var(--etiquette)/1 var(--police-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--accent-800); }
.cours-niveau svg { width: 16px; height: 16px; }
.cours strong { font: 600 1.1rem/1.25 var(--police-titre); color: var(--titre); }
.cours-corps > span:nth-child(3) { color: var(--texte-doux); font-size: var(--petit); }
.cours-voir { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--titre); font-size: var(--petit); margin-top: 4px; }
.cours-voir svg { width: 16px; height: 16px; transition: transform var(--duree); }
.cours:hover .cours-voir svg { transform: translateX(4px); }
@media (max-width: 759px) {
  .marches li { grid-template-columns: auto 1fr; column-gap: var(--esp-2); row-gap: 2px; padding: var(--esp-2) 52px var(--esp-2) var(--esp-2); align-items: center; }
  .marches li .ico { grid-row: span 2; width: 52px; height: 52px; }
  .marches li strong { margin-top: 0; font-size: 1.15rem; }
  .marche-num { top: var(--esp-1); right: var(--esp-2); font-size: 1.4rem; }
}

/* ======================= Parcours ======================= */
.frise-vive { list-style: none; padding: 0; display: grid; gap: var(--esp-2); position: relative; max-width: 820px; }
.frise-vive::before { content: ""; position: absolute; left: 31px; top: 32px; bottom: 32px; width: 2px; background: var(--accent-400); }
.frise-vive > li { position: relative; display: flex; gap: var(--esp-3); align-items: flex-start; }
.frise-vive > li .ico-grand { position: relative; z-index: 1; border: 2px solid var(--fond-alterne); }
.frise-vive > li > div { flex: 1; background: var(--surface); border: var(--trait); border-radius: var(--rayon-grand); padding: var(--esp-2) var(--esp-3); }
.frise-quand { font: 700 1.05rem/1.2 var(--police-titre); color: var(--accent-700); letter-spacing: -.01em; }
.frise-vive h3 { font-size: 1.3rem; margin: 2px 0 4px; }
.frise-vive > li > div > p:not(.frise-quand) { color: var(--texte-doux); }
.frise-vive details { margin-top: var(--esp-1); }
.frise-vive summary { cursor: pointer; font-weight: 600; color: var(--titre); font-size: var(--petit); }
.frise-vive details ul { margin-top: var(--esp-1); color: var(--texte-doux); font-size: var(--petit); padding-left: 1.2em; display: grid; gap: 4px; }
@media (max-width: 559px) {
  .frise-vive::before { left: 23px; }
  .frise-vive > li { gap: var(--esp-2); }
  .frise-vive > li .ico-grand { width: 48px; height: 48px; }
  .frise-vive > li .ico-grand svg { width: 22px; height: 22px; }
}
.gakutech .conteneur { display: grid; gap: var(--esp-3); align-items: center; }
@media (min-width: 760px) { .gakutech .conteneur { grid-template-columns: auto 1fr; gap: var(--esp-5); } }
.kanji { font: 700 clamp(6rem, 4rem + 8vw, 11rem)/1 serif; color: var(--action); }
.gakutech .et { color: var(--accent-300); margin-bottom: var(--esp-2); }
.gakutech blockquote::before { display: none; }
.gakutech blockquote { max-width: 30ch; }
.gakutech { background: var(--encre-950); }

/* ======================= Contact ======================= */
.portrait-contact { max-width: 400px; }
.photo-bureau { position: relative; margin-top: var(--esp-3); }
.photo-bureau img { width: 100%; border-radius: var(--rayon-grand); aspect-ratio: 3 / 2; object-fit: cover; }
.photo-bureau .badge-live { top: auto; bottom: 14px; left: 14px; }
.equipe-repli { margin: var(--esp-1) 0 var(--esp-2); }
.equipe-repli summary { cursor: pointer; font-weight: 600; color: var(--titre); min-height: 44px; display: flex; align-items: center; gap: 8px; }
.equipe-repli summary::after { content: "+"; font-size: 1.3rem; }
.equipe-repli[open] summary::after { content: "–"; }
.chemin-fonce .equipe-repli summary { color: var(--accent-300); }

/* ======================= Atelier : le déroulé ======================= */
.deroule { display: grid; gap: var(--esp-4); }
.photo-atelier img { width: 100%; border-radius: var(--rayon-grand); aspect-ratio: 21 / 9; object-fit: cover; object-position: center 35%; }
@media (max-width: 759px) { .photo-atelier img { aspect-ratio: 3 / 2; } }
@media (min-width: 1040px) { .marches-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 760px) and (max-width: 1039px) { .marches-4 { grid-template-columns: repeat(2, 1fr); } }
