/* After Hour DMs v3 : palette B « bleu nuit et corail » (choix Toti 16/11 07h54, mot « B »). Classes et regles ecrites pour ce site.
   Police Nunito variable hebergee ici (@fontsource-variable/nunito 5.3.0, licence OFL-1.1, go Toti 16/11 08h11) : aucun appel a Google. */
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 200 1000; font-display: swap; src: url("/assets/polices/nunito-latin-wght-normal.woff2") format("woff2"); }
:root {
  --fond: #0d1326; --fond-2: #141c36; --carte: #18223f; --trait: #2a3760;
  --texte: #f3f5fb; --texte-2: #b3bdd6; --lien: #ff9d80;
  --accent: #ff8466; --accent-2: #ff6a5a; --sur-accent: #1d0905;
  --ruban-1: #ff8466; --ruban-2: #ff6a5a; --sur-ruban: #1d0905;
  --badge: #ff8466; --vert: #3ee08f; --bulle: #1f2a4a; --bulle-moi: #ffb19c; --sur-bulle-moi: #1d0905;
  --rond: 28px; --police: "Nunito", "Quicksand", ui-rounded, "SF Pro Rounded", system-ui, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--fond); color: var(--texte); font: 17px/1.6 var(--police); overflow-x: hidden; }
body.avec-barre { padding-bottom: 100px; }
a { color: var(--lien); }
.cadre { max-width: 1180px; margin: 0 auto; padding: 0 18px; }

/* bandeau defilant */
.ruban { background: linear-gradient(90deg, var(--ruban-1), var(--ruban-2)); color: var(--sur-ruban); font-weight: 800; font-size: 14px; overflow: hidden; white-space: nowrap; }
.ruban-piste { display: inline-flex; padding: 8px 0; animation: defile 42s linear infinite; }
.ruban-piste span { padding: 0 14px; }
.ruban-piste i { font-style: normal; font-size: 7px; align-self: center; opacity: .65; }
@keyframes defile { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ruban-piste { animation: none; } }

/* entete */
.entete-ligne { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 8px; }
.logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--texte); text-decoration: none; font-weight: 900; font-size: 22px; letter-spacing: -.01em; margin-right: auto; }
.logo b { color: var(--accent); font-weight: 900; }
.logo-bulle { width: 32px; height: 32px; border-radius: 50% 50% 50% 10px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.menu { display: flex; gap: 4px; }
.menu a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; color: var(--texte-2); text-decoration: none; font-weight: 800; }
.menu a:hover { background: var(--fond-2); color: var(--texte); }
.choix-langue { position: relative; }
.choix-langue summary { cursor: pointer; list-style: none; display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; font-weight: 900; background: var(--fond-2); border: 1px solid var(--trait); }
.choix-langue summary::-webkit-details-marker { display: none; }
.choix-langue ul { position: absolute; right: 0; top: 50px; z-index: 9; list-style: none; margin: 0; padding: 8px; border-radius: 22px; background: var(--carte); border: 1px solid var(--trait); min-width: 160px; }
.choix-langue li a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; color: var(--texte); text-decoration: none; font-weight: 700; }

/* fil, titre, une phrase */
.fil-ariane { margin: 14px 0 0; font-size: 14px; color: var(--texte-2); }
.fil-ariane a { color: var(--texte-2); }
.guide h1, .sommaire h1 { font-size: clamp(28px, 4.6vw, 44px); line-height: 1.12; font-weight: 900; letter-spacing: -.015em; margin: 10px 0 8px; max-width: 860px; }
.amorce { font-size: 18px; color: var(--texte-2); margin: 0 0 20px; max-width: 760px; }

/* cartes des creatrices */
.grille-creatrices { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fiche { background: var(--carte); border: 1px solid var(--trait); border-radius: var(--rond); overflow: hidden; display: flex; flex-direction: column; }
.fiche-photo { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.fiche-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--rond); }
.points { position: absolute; left: 0; right: 0; top: 12px; display: flex; justify-content: center; gap: 6px; }
.points i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .55); box-shadow: 0 0 0 1px rgba(0, 0, 0, .3); }
.points i.actif { background: #fff; width: 22px; border-radius: 999px; }
.fiche-corps { padding: 12px 14px 16px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.fiche-corps p { margin: 0; }
.fiche-nom { font-size: 21px; font-weight: 900; display: flex; align-items: center; gap: 7px; }
.badge-ok { display: inline-grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; background: var(--badge); color: var(--sur-accent); }
.badge-ok svg { width: 14px; height: 14px; }
.en-ligne { font-size: 14px; color: var(--texte-2); display: flex; align-items: center; gap: 7px; font-weight: 700; }
.en-ligne i { width: 9px; height: 9px; border-radius: 50%; background: var(--vert); box-shadow: 0 0 0 4px rgba(69, 227, 154, .18); }
.puces { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; align-content: flex-start; }
.puce { font-size: 13px; font-weight: 700; padding: 3px 11px; border-radius: 999px; background: var(--fond-2); border: 1px solid var(--trait); color: var(--texte); }
.btn-tg { margin-top: 6px; display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; padding: 0 16px; border-radius: 999px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--sur-accent); font-weight: 900; font-size: 16px; text-decoration: none; text-align: center; line-height: 1.15; }
.btn-tg:hover { filter: brightness(1.06); }
.ico-tg { width: 22px; height: 22px; flex: none; }
.ico-tg .ico-avion { fill: var(--accent); }
.b-court { display: none; }

/* texte replie */
.plus { border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); margin: 8px 0 0; max-width: 820px; }
.plus summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 60px; font-size: 20px; font-weight: 900; color: var(--texte-2); }
.plus summary::-webkit-details-marker { display: none; }
.plus summary i { width: 36px; height: 36px; border-radius: 50%; background: var(--fond-2); border: 1px solid var(--trait); position: relative; }
.plus summary i::before, .plus summary i::after { content: ""; position: absolute; left: 11px; right: 11px; top: 17px; height: 2px; border-radius: 2px; background: var(--texte); }
.plus summary i::after { transform: rotate(90deg); transition: transform .2s; }
.plus[open] summary i::after { transform: rotate(0); }
.texte { padding: 4px 0 24px; }
.texte h2 { font-size: 24px; line-height: 1.2; font-weight: 900; margin: 34px 0 8px; }
.texte p { margin: 0 0 14px; }
.texte strong { color: var(--lien); }
.texte ol { list-style: none; counter-reset: ex; padding: 0; margin: 14px 0 8px; display: flex; flex-direction: column; gap: 9px; }
.texte ol li { counter-increment: ex; max-width: 88%; padding: 10px 16px; border-radius: 24px 24px 24px 8px; background: var(--bulle); line-height: 1.5; }
.texte ol li:nth-child(even) { align-self: flex-end; border-radius: 24px 24px 8px 24px; background: var(--bulle-moi); color: var(--sur-bulle-moi); }
.texte ul { list-style: none; padding: 0; }
.texte ul li { padding: 10px 16px; margin: 8px 0; border-radius: 22px; background: var(--carte); }

/* a lire aussi */
.voir-aussi { margin: 30px 0 0; }
.voir-aussi h2 { font-size: 20px; font-weight: 900; margin: 0 0 12px; }
.voir-aussi p { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.pilule, .liste-guides a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--carte); border: 1px solid var(--trait); color: var(--texte); font-weight: 800; text-decoration: none; }
.liste-guides { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }

/* pied */
.bas { margin-top: 48px; border-top: 1px solid var(--trait); padding: 22px 0 30px; color: var(--texte-2); font-size: 15px; }
.bas a { color: var(--texte-2); }

/* barre collante, mobile */
.barre-basse { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); }
.barre-btn { max-width: 560px; margin: 0 auto; display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 18px; border-radius: 999px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--sur-accent); text-decoration: none; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.barre-btn .ico-tg { width: 36px; height: 36px; }
.barre-txt { display: flex; flex-direction: column; flex: 1; line-height: 1.2; }
.barre-txt b { font-size: 17px; font-weight: 900; }
.barre-txt small { font-size: 13px; font-weight: 700; }
.barre-fleche { font-size: 28px; font-weight: 900; }
@media (min-width: 721px) { .barre-basse { display: none; } body.avec-barre { padding-bottom: 0; } }

@media (max-width: 720px) {
  .entete-ligne { padding-top: 8px; }
  .menu { order: 3; width: 100%; margin-left: -14px; }
  .grille-creatrices { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .fiche-corps { padding: 10px 10px 12px; gap: 6px; }
  .fiche-nom { font-size: 18px; }
  .en-ligne { font-size: 13px; }
  .puce { font-size: 12.5px; padding: 2px 9px; }
  .btn-tg { font-size: 16px; min-height: 48px; gap: 8px; padding: 0 10px; white-space: nowrap; }
  .b-long { display: none; }
  .b-court { display: inline; }
  .ico-tg { width: 20px; height: 20px; }
  .texte ol li { max-width: 94%; }
}
