/* Les maquettes de Geoffroy, redessinées dans le design de la vitrine :
 * une fenêtre sobre, des contenus fictifs signalés comme tels. */

/* Carte flottante du bandeau d'accueil */
.hero-art { position: relative; }
.hero-card { position: absolute; left: 0; bottom: 12%; width: 250px; padding: 18px 20px; border-radius: 18px; background: var(--white); color: var(--ink); box-shadow: 0 24px 50px -18px rgb(10 0 30 / .55); transform: rotate(-3deg); font-size: 14px; }
.hero-card small { display: block; color: var(--muted); font-size: 12px; }
.hero-card strong { display: block; margin: 6px 0 10px; font: 500 20px/1.2 var(--display); color: var(--night); }
.hero-card ul { margin: 0; padding: 0; list-style: none; }
.hero-card li { display: flex; gap: 10px; align-items: center; padding: 6px 0; border-top: 1px solid #ece6f1; }
.hero-card .tags { display: flex; gap: 6px; flex-wrap: wrap; }
.hero-card .tags span { padding: 3px 9px; border-radius: 6px; background: var(--mist); font-size: 12px; color: var(--violet); }
.ext { padding: 2px 6px; border-radius: 5px; background: var(--mist); color: var(--violet); font-size: 11px; font-weight: 600; }
.bar { display: block; height: 5px; border-radius: 3px; background: #ece6f1; overflow: hidden; margin: 10px 0 8px; }
.bar i { display: block; width: 62%; height: 100%; background: var(--violet); }

/* Fenêtre d'application */
.frame { border-radius: 18px; background: var(--white); box-shadow: 0 1px 0 #e9e2f0, 0 30px 60px -28px rgb(46 26 71 / .35); overflow: hidden; }
.frame-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #f6f3f9; border-bottom: 1px solid #ebe5f0; font-size: 12px; color: var(--muted); }
.frame-bar::before { content: ""; width: 42px; height: 10px; background: radial-gradient(circle, #e0695b 4px, transparent 5px) 0 0 / 14px 10px repeat-x; }
.frame-bar span { flex: 1; text-align: center; padding: 4px 10px; border-radius: 8px; background: var(--white); }
.frame-body { padding: 24px; }
.frame-note { padding: 10px 24px; border-top: 1px solid #ebe5f0; font-size: 13px; color: var(--muted); }

/* Onglets */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tabs button { padding: 10px 18px; border-radius: 999px; border: 1.5px solid #d8cde4; background: var(--white); font: 600 15px var(--text); color: var(--night); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--night); border-color: var(--night); color: var(--white); }
.tab-text { margin-top: 18px; font-size: 17px; color: var(--muted); min-height: 3.4em; }

/* Aperçus de fichiers produits */
.slide { aspect-ratio: 16 / 9; padding: 26px; border-radius: 12px; background: radial-gradient(90% 90% at 90% 80%, #2c7558, #17402f 70%); color: var(--white); display: flex; flex-direction: column; justify-content: center; }
.slide small { font-size: 12px; opacity: .75; }
.slide b { font: 500 34px/1.1 var(--display); margin: 6px 0; }
.slide p { color: #f0d690; font-size: 15px; }
.slide.video { position: relative; }
.slide.video::after { content: ""; position: absolute; left: 26px; bottom: 22px; width: 38px; height: 38px; border-radius: 50%; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 3v10l8-5z' fill='%232e1a47'/%3E%3C/svg%3E") center / 16px no-repeat; }
.doc { padding: 26px 28px; border-radius: 12px; border: 1px solid #ebe5f0; font-size: 15px; }
.doc b { display: block; font: 500 26px/1.2 var(--display); color: var(--night); margin-bottom: 10px; }
.doc p { padding: 8px 0; border-top: 1px solid #f0ebf4; color: var(--ink); }
.doc small { display: block; margin-top: 10px; color: var(--muted); }
.file-name { display: flex; justify-content: space-between; margin-top: 14px; font-size: 14px; color: var(--muted); }

/* Phrases cliquables et leur source */
.claims button { display: block; width: 100%; margin: 0 0 8px; padding: 10px 12px; border: 0; border-radius: 10px; background: transparent; text-align: left; font: 400 20px/1.5 var(--display); color: var(--night); cursor: pointer; }
.claims button:hover { background: var(--mist); }
.claims button[aria-pressed="true"] { background: #fbf1d4; }
.source-box { margin-top: 12px; padding: 16px 18px; border-radius: 12px; background: var(--mist); font-size: 15px; }
.source-box b { display: block; color: var(--violet); }
.source-box.none b { color: #9b3f28; }

/* Animation de l'enseignant : déposer, relire, publier */
.flow-steps { display: flex; gap: 8px; margin-bottom: 18px; }
.flow-steps span { flex: 1; height: 4px; border-radius: 2px; background: #ece6f1; }
.flow-steps span.on { background: var(--gold); }
.flow-stage { min-height: 230px; }
.flow-stage > div { display: none; }
.flow-stage > div.on { display: block; animation: show .4s ease both; }
.flow-stage h4 { margin: 0 0 12px; font: 500 22px var(--display); color: var(--night); }
.flow-stage ul { margin: 0; padding: 0; list-style: none; }
.flow-stage li { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid #f0ebf4; font-size: 15px; }
.flow-stage .ok { font-size: 14px; }
.drop { display: grid; place-items: center; gap: 8px; padding: 28px; border: 2px dashed #d8cde4; border-radius: 14px; text-align: center; font-size: 15px; color: var(--muted); }
.flow-pause { margin-top: 12px; padding: 6px 12px; border: 1.5px solid #d8cde4; border-radius: 999px; background: var(--white); font: 600 13px var(--text); cursor: pointer; }
@keyframes show { from { opacity: 0; transform: translateY(8px); } }

/* Espace étudiant */
.student { display: grid; grid-template-columns: 210px 1fr; min-height: 340px; }
.lessons { margin: 0; padding: 18px; list-style: none; background: #f6f3f9; font-size: 14px; }
.lessons li { padding: 8px 10px; border-radius: 8px; color: var(--ink); }
.lessons li.now { background: var(--night); color: var(--white); }
.lessons li.off { color: #aaa1b5; }
.player { padding: 20px; }
.player .slide { aspect-ratio: auto; min-height: 220px; }
.access-grid { display: grid; grid-template-columns: 360px 1fr; gap: 28px; align-items: start; margin-top: 40px; }
.access-grid .cards { margin: 0; }
.chapters { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; font-size: 13px; }
.chapters span { padding: 4px 10px; border-radius: 6px; background: var(--mist); color: var(--violet); }

/* Les cercles de l'aide IA */
.rings { position: relative; width: min(100%, 420px); aspect-ratio: 1; margin-inline: auto; }
.rings span { position: absolute; inset: calc(var(--i) * 12%); border-radius: 50%; display: grid; place-items: start center; padding-top: 4%; font-size: 13px; font-weight: 600; }
.rings span:nth-child(1) { background: #efe8f6; color: var(--violet); }
.rings span:nth-child(2) { background: #e2d5ef; color: var(--violet); }
.rings span:nth-child(3) { background: #f6e6b8; color: #6b4c0c; }
.rings span:nth-child(4) { background: var(--night); color: var(--white); place-items: center; padding: 0; }

@media (max-width: 720px) {
  .hero-card { display: none; }
  .student { grid-template-columns: 1fr; }
  .access-grid { grid-template-columns: 1fr; }
  .hide-mobile { display: none; }
  .lessons { display: none; }
  .slide b { font-size: 26px; }
  .claims button { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .flow-stage > div.on { animation: none; }
}
