/* ==========================================================================
   Duo : styles tirés des maquettes (piste « Duo », canvas du 15/09/2026).
   ========================================================================== */
:root {
  --navy: #1C1F4A; --navy-2: #2B2F6B; --navy-3: #0C0E2B;
  --creme: #FFF3D9; --papier: #FFFBF1;
  --mangue: #F2A33A; --mangue-2: #FFE2B8;
  --menthe: #34C2A0; --menthe-2: #CFF1E7;
  --gris: #5A5D8F; --gris-2: #9699BF;
  --titre: 'Bricolage Grotesque', 'Arial Black', sans-serif;
  --texte: 'Nunito', 'Trebuchet MS', sans-serif;
  --main: 'Caveat', 'Comic Sans MS', cursive;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--creme); color: var(--navy); font-family: var(--texte); font-size: 16px;
  background-image: radial-gradient(rgba(28,31,74,0.07) 1.5px, transparent 1.5px); background-size: 18px 18px;
  -webkit-font-smoothing: antialiased;
}
#app { max-width: 460px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: var(--navy); }
[hidden] { display: none !important; }

@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes wiggle { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(3deg); } }
@keyframes pulse { 0% { box-shadow: 0 5px 0 var(--navy), 0 0 0 0 rgba(242,163,58,0.6); } 100% { box-shadow: 0 5px 0 var(--navy), 0 0 0 20px rgba(242,163,58,0); } }
@keyframes twinkle { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.6); opacity: 0.6; } }
@keyframes shake { 0%, 100% { transform: rotate(0deg); } 20% { transform: rotate(-8deg); } 40% { transform: rotate(8deg); } 60% { transform: rotate(-4deg); } }
@keyframes pop { 0% { transform: scale(0.4) rotate(-20deg); opacity: 0; } 70% { transform: scale(1.15) rotate(8deg); opacity: 1; } 100% { transform: scale(1) rotate(0deg); } }
@keyframes fall { 0% { transform: translateY(-30px) rotate(0deg); opacity: 1; } 100% { transform: translateY(420px) rotate(320deg); opacity: 0; } }
@keyframes entree { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .confettis { display: none; } }

.ecran { flex: 1; display: flex; flex-direction: column; padding: 16px 20px 24px; animation: entree 0.35s ease-out both; }
.ecran.avec-onglets { padding-bottom: 104px; }
.pile { display: flex; flex-direction: column; gap: 12px; }
.ligne { display: flex; align-items: center; gap: 10px; }
.entre { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.grand-titre { font-family: var(--titre); font-weight: 800; font-size: 40px; line-height: 0.98; letter-spacing: -1.2px; margin: 0; }
.titre { font-family: var(--titre); font-weight: 800; font-size: 24px; letter-spacing: -0.5px; margin: 0; }
.sous { font-weight: 700; color: var(--gris); margin: 0; line-height: 1.4; }
.petit { font-size: 13px; }
.manuscrit { font-family: var(--main); font-size: 22px; line-height: 1.1; }

/* boutons */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 60px; padding: 0 18px;
  border-radius: 22px; border: 3px solid var(--navy); background: var(--mangue); color: var(--navy);
  font-family: var(--titre); font-weight: 800; font-size: 21px; box-shadow: 0 6px 0 var(--navy);
  cursor: pointer; text-decoration: none; transition: transform 0.08s, box-shadow 0.08s;
}
.btn:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--navy); }
.btn.rebond { animation: bob 1.6s ease-in-out infinite; }
.btn.rebond:active { animation: none; }
.btn-navy { background: var(--navy); color: var(--creme); border-color: var(--navy-3); box-shadow: 0 6px 0 var(--navy-3); }
.btn-clair { background: var(--papier); min-height: 52px; font-size: 17px; }
.btn[disabled] { opacity: 0.55; cursor: default; animation: none; }
.rond {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; border: 3px solid var(--navy); background: var(--papier);
  display: grid; place-items: center; cursor: pointer; padding: 0;
}
.lien { background: none; border: 0; padding: 8px 0; font-weight: 800; text-decoration: underline; cursor: pointer; }

/* autocollants, puces */
.carte { background: var(--papier); border: 3px solid var(--navy); border-radius: 22px; box-shadow: 0 5px 0 var(--navy); padding: 16px; }
.puce { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-weight: 900; font-size: 13px; white-space: nowrap; }
.puce-menthe { background: var(--menthe); color: var(--navy); }
.puce-navy { background: var(--navy); color: var(--creme); }
.puce-mangue { background: var(--mangue); color: var(--navy); border: 3px solid var(--navy); box-shadow: 0 4px 0 var(--navy); min-height: 44px; font-size: 16px; }
.incline-g { transform: rotate(-2deg); } .incline-d { transform: rotate(2deg); }
.etincelle { animation: twinkle 1.8s ease-in-out infinite; }

/* formulaires */
.champ { display: flex; flex-direction: column; gap: 6px; font-weight: 800; font-size: 14px; }
.champ input, .champ textarea, .champ select {
  min-height: 52px; padding: 12px 14px; border-radius: 16px; border: 3px solid var(--navy); background: var(--papier);
  font-weight: 700; font-size: 16px; outline: none;
}
.champ textarea { min-height: 96px; resize: vertical; font-family: var(--main); font-size: 22px; line-height: 1.15; }
.champ input:focus, .champ textarea:focus { box-shadow: 0 0 0 4px var(--mangue-2); }
.segments { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.segments button { min-height: 48px; border-radius: 14px; border: 3px solid var(--navy); background: var(--papier); font-weight: 900; cursor: pointer; }
.segments button[aria-pressed="true"] { background: var(--navy); color: var(--creme); }
.erreur { background: #FFD9D3; border: 3px solid var(--navy); border-radius: 14px; padding: 10px 14px; font-weight: 800; }

/* avatar chien */
.avatar {
  width: 56px; height: 56px; flex-shrink: 0; border: 3px solid var(--navy); box-shadow: 0 4px 0 var(--navy); background: var(--menthe);
  border-radius: 46% 54% 52% 48% / 55% 45% 55% 45%; display: grid; place-items: center; overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* accueil : ticket du jour */
.ticket { position: relative; transform: rotate(-1.5deg); margin-top: 18px; }
.ticket-corps {
  position: relative; overflow: hidden; background: var(--navy); color: var(--creme); border-radius: 28px; padding: 20px 22px 24px;
  display: flex; flex-direction: column; gap: 8px; box-shadow: 0 8px 0 var(--navy-3);
}
.ticket-corps::before { content: ''; position: absolute; right: -30px; top: -50px; width: 190px; height: 190px; border-radius: 50%; background: var(--navy-2); }
.ticket-corps > * { position: relative; }
.ticket::before, .ticket::after { content: ''; position: absolute; top: 150px; width: 24px; height: 24px; border-radius: 50%; background: var(--creme); z-index: 1; }
.ticket::before { left: -12px; } .ticket::after { right: -12px; }
.jour-num { font-family: var(--titre); font-weight: 800; font-size: 96px; line-height: 0.85; letter-spacing: -3px; color: var(--mangue); }
.ticket .btn { border-color: var(--navy-3); box-shadow: 0 6px 0 var(--navy-3); margin-top: 12px; }
.ticket.en-attente .ticket-corps { background: var(--navy-2); }

/* chemin */
.chemin { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px 10px; }
.noeud {
  aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 17px;
  border: 3px dashed var(--gris-2); color: var(--gris-2); background: var(--papier);
}
.noeud.fait { border: 3px solid var(--navy); background: var(--menthe); color: var(--navy); box-shadow: 0 4px 0 var(--navy); }
.noeud.fait.trop_dur { background: var(--papier); }
.noeud.fait.essaye { background: var(--menthe-2); }
.noeud.courant { border: 4px solid var(--navy); background: var(--mangue); color: var(--navy); font-family: var(--titre); font-size: 22px; animation: pulse 1.6s ease-out infinite; }
.chemin-apercu { display: flex; justify-content: space-between; gap: 8px; }
.chemin-apercu .noeud { width: 52px; }

/* chapitre */
.bandeau { background: var(--navy); color: var(--creme); margin: -16px -20px 0; padding: 16px 20px 28px; border-radius: 0 0 32px 32px; position: relative; display: flex; flex-direction: column; gap: 12px; }
.progression { height: 14px; border-radius: 999px; background: var(--navy-2); overflow: hidden; flex: 1; }
.progression > div { height: 100%; border-radius: 999px; background: var(--mangue); }
.recit { font-size: 17px; line-height: 1.6; font-weight: 700; text-wrap: pretty; margin: 0; padding-top: 6px; }
.etiquette { position: absolute; left: 18px; top: -16px; padding: 4px 12px; border-radius: 10px; background: var(--mangue); border: 3px solid var(--navy); font-family: var(--titre); font-weight: 800; font-size: 14px; transform: rotate(-3deg); }
.etape { display: flex; gap: 12px; align-items: center; }
.etape:nth-child(odd) { transform: rotate(-0.8deg); } .etape:nth-child(even) { transform: rotate(0.8deg); }
.etape .num { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--navy); display: grid; place-items: center; font-family: var(--titre); font-weight: 800; font-size: 18px; background: var(--menthe); }
.etape:nth-child(even) .num { background: var(--mangue); }
.duo-cartes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.duo-cartes > div { border-radius: 20px; border: 3px solid var(--navy); padding: 12px; font-weight: 700; font-size: 14px; line-height: 1.35; }

/* bilan */
.choix { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 84px; padding: 12px 18px; text-align: left; border-radius: 24px; border: 3px solid var(--navy); background: var(--papier); cursor: pointer; }
.choix .icone { width: 54px; height: 54px; flex-shrink: 0; border-radius: 50%; border: 3px solid var(--navy); background: var(--creme); display: grid; place-items: center; }
.choix strong { display: block; font-family: var(--titre); font-weight: 800; font-size: 21px; }
.choix span { font-size: 14px; font-weight: 700; }
.choix[aria-pressed="true"] { box-shadow: 0 6px 0 var(--navy); }
.choix[data-resultat="reussi"][aria-pressed="true"] { background: var(--mangue); transform: rotate(-1.5deg); }
.choix[data-resultat="essaye"][aria-pressed="true"] { background: var(--menthe-2); transform: rotate(1deg); }
.choix[data-resultat="trop_dur"] { border-style: dashed; }
.choix[data-resultat="trop_dur"][aria-pressed="true"] { border-style: solid; background: #E3E4F2; transform: rotate(-0.8deg); }
.choix .coche { position: absolute; right: -10px; top: -12px; width: 40px; height: 40px; border-radius: 50%; background: var(--menthe); border: 3px solid var(--navy); display: grid; place-items: center; animation: pop 0.6s ease-out both; }
.confettis { position: fixed; left: 0; right: 0; top: 0; height: 0; pointer-events: none; z-index: 5; }
.confettis i { position: absolute; top: 0; width: 10px; height: 16px; border-radius: 3px; animation: fall 2.6s ease-in forwards; }

/* journal */
.polaroids { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
.polaroid { position: relative; background: var(--papier); border: 3px solid var(--navy); border-radius: 16px; padding: 8px 8px 10px; box-shadow: 0 5px 0 var(--navy); display: flex; flex-direction: column; gap: 6px; }
.polaroid:nth-child(4n+1) { transform: rotate(-2deg); } .polaroid:nth-child(4n+2) { transform: rotate(2deg); }
.polaroid:nth-child(4n+3) { transform: rotate(1.5deg); } .polaroid:nth-child(4n) { transform: rotate(-1.5deg); }
.polaroid .photo { aspect-ratio: 4 / 3; border-radius: 10px; display: grid; place-items: center; overflow: hidden; background: var(--menthe); }
.polaroid .photo img { width: 100%; height: 100%; object-fit: cover; }
.polaroid .jour { position: absolute; left: -10px; top: -12px; width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--navy); background: var(--mangue); display: grid; place-items: center; font-weight: 900; font-size: 12px; transform: rotate(-10deg); }

/* livre : page, lettrine, sommaire */
.page { background-image: linear-gradient(90deg, rgba(28,31,74,0.05) 0 1px, transparent 1px); background-size: 100% 100%; }
.lettrine::first-letter { float: left; font-family: var(--titre); font-weight: 800; font-size: 54px; line-height: 0.9; padding: 4px 8px 0 0; color: var(--mangue); }
.toc-partie { font-family: var(--titre); font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gris); margin: 0 0 8px; }
.toc { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.toc-ligne { display: flex; align-items: center; gap: 8px; min-height: 40px; }
.toc-titre { font-weight: 800; font-size: 15px; }
.toc-ligne.a_venir .toc-titre { color: var(--gris-2); font-weight: 700; }
.toc-ligne.courant .toc-titre { font-family: var(--titre); font-size: 17px; }
.toc-points { flex: 1; min-width: 12px; border-bottom: 3px dotted var(--gris-2); transform: translateY(-4px); }
.toc .noeud { width: 36px; flex-shrink: 0; font-size: 14px; border-width: 2px; }
.toc .noeud.courant { font-size: 16px; border-width: 3px; }

/* chapitre : le livre ouvert (maquette B) */
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@keyframes feuilleter { 0% { transform: rotateY(0deg); } 100% { transform: rotateY(-165deg); } }
.livre-ouvert { position: relative; height: 256px; margin-top: 24px; perspective: 900px; }
.livre-couverture { position: absolute; left: 0; right: 0; top: 18px; bottom: 10px; border-radius: 16px; background: var(--navy); box-shadow: 0 8px 0 var(--navy-3); }
.livre-page { position: absolute; top: 6px; bottom: 22px; width: calc(50% - 10px); border: 3px solid var(--navy); padding: 16px 14px; overflow: hidden; }
.livre-gauche { left: 8px; border-radius: 12px 4px 4px 12px; background: linear-gradient(90deg, var(--papier) 78%, #EADFC6 100%); display: flex; flex-direction: column; justify-content: space-between; }
.livre-droite { right: 8px; border-radius: 4px 12px 12px 4px; background: linear-gradient(270deg, var(--papier) 78%, #EADFC6 100%); }
.livre-partie { font-weight: 900; font-size: 11px; line-height: 1.25; color: var(--gris); text-transform: uppercase; letter-spacing: 0.06em; }
.livre-numero { font-family: var(--titre); font-weight: 800; font-size: 84px; line-height: 0.8; color: var(--mangue); -webkit-text-stroke: 2px var(--navy); }
.livre-titre { font-family: var(--titre); font-weight: 800; font-size: 22px; line-height: 1.02; letter-spacing: -0.4px; margin: 0; text-wrap: balance; }
.livre-debut { margin: 0; font-size: 14.5px; line-height: 1.5; font-weight: 700; }
.livre-lettrine { float: left; margin: 2px 6px 0 0; font-family: var(--titre); font-weight: 800; font-size: 34px; line-height: 0.85; color: var(--menthe); -webkit-text-stroke: 1px var(--navy); }
.livre-folio { position: absolute; right: 12px; bottom: 8px; font-family: var(--main); font-size: 18px; color: var(--gris); }
.livre-feuille {
  position: absolute; left: 50%; top: 6px; bottom: 22px; width: calc(50% - 10px); margin-left: -2px; transform-origin: left center;
  border: 3px solid var(--navy); border-radius: 4px 12px 12px 4px; background: var(--papier); backface-visibility: hidden;
  animation: feuilleter 1.2s ease-in-out 0.3s both;
}
.livre-ruban { position: absolute; right: 34px; bottom: -30px; width: 22px; height: 64px; background: var(--mangue); border: 3px solid var(--navy); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%); }
.livre-etoile { position: absolute; animation: twinkle 1.8s ease-in-out infinite; }
.page-cornee { position: relative; margin-top: 44px; padding: 18px 18px 34px; }
.page-cornee::after { content: ''; position: absolute; right: -3px; bottom: -3px; width: 34px; height: 34px; box-sizing: border-box; background: linear-gradient(135deg, var(--creme) 50%, var(--mangue) 50%); border-left: 3px solid var(--navy); border-top: 3px solid var(--navy); border-radius: 10px 0 20px 0; }
.page-cornee .livre-folio { left: 18px; right: auto; }
.mission-duo { position: relative; overflow: hidden; margin-top: 30px; padding: 20px 18px; border-radius: 26px; background: var(--navy); color: var(--creme); box-shadow: 0 6px 0 var(--navy-3); display: flex; flex-direction: column; gap: 12px; }
.mission-duo::before { content: ''; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: var(--navy-2); }
.mission-duo > * { position: relative; }
.mission-coeur { width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; background: var(--mangue); border: 3px solid var(--navy-3); display: grid; place-items: center; }
.etape-livre { display: flex; gap: 12px; align-items: center; padding: 12px 14px; box-shadow: 0 4px 0 var(--navy); font-weight: 700; line-height: 1.4; }
.etape-livre .num { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--navy); display: grid; place-items: center; font-family: var(--titre); font-weight: 800; background: var(--menthe); }
.etape-livre:nth-child(even) .num { background: var(--mangue); }

/* mon livre : feuilletoir (StPageFlip) */
.scene-livre { position: relative; display: flex; justify-content: center; padding-bottom: 10px; animation: entree 0.5s ease-out both; }
.scene-livre::after { content: ''; position: absolute; left: 12%; right: 12%; bottom: 0; height: 18px; border-radius: 50%; background: rgba(28,31,74,0.18); filter: blur(6px); z-index: -1; }
.feuillet { background: transparent; overflow: hidden; }
.feuillet-page {
  height: 100%; display: flex; flex-direction: column; gap: 12px; padding: 22px 20px 16px; border: 3px solid var(--navy); border-radius: 4px 16px 16px 4px;
  background: linear-gradient(90deg, #EADFC6 0, var(--papier) 18px);
}
.feuillet-entete { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 900; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gris); }
.feuillet-sceau { padding: 4px 10px; border-radius: 999px; border: 2.5px solid var(--navy); color: var(--navy); font-size: 11px; letter-spacing: 0; text-transform: none; transform: rotate(3deg); white-space: nowrap; }
.sceau-menthe { background: var(--menthe); } .sceau-mangue { background: var(--mangue); } .sceau-brume { background: #E3E4F2; }
.feuillet-titre { margin: 0; font-family: var(--titre); font-weight: 800; font-size: 28px; line-height: 1; letter-spacing: -0.6px; text-wrap: balance; }
/* flex-basis 0 + image absolue : une photo haute ne pousse jamais le commentaire hors de la page */
.feuillet-photo, .feuillet-vignette { position: relative; flex: 1 1 0; min-height: 90px; border-radius: 14px; border: 3px solid var(--navy); overflow: hidden; transform: rotate(-1.5deg); }
.feuillet-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.feuillet-entete, .feuillet-titre, .feuillet-note, .feuillet-pied { flex-shrink: 0; }
.feuillet-vignette { display: grid; place-items: center; background: var(--menthe-2); }
.feuillet-note { margin: 0; font-family: var(--main); font-size: 25px; line-height: 1.1; color: var(--navy); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.feuillet-note-longue { font-size: 19px; -webkit-line-clamp: 14; }
.feuillet-muet { color: var(--gris-2); font-size: 21px; }
.feuillet-pied { display: flex; justify-content: space-between; font-family: var(--main); font-size: 19px; color: var(--gris); }
.feuillet-suite { align-items: center; justify-content: center; text-align: center; gap: 18px; }
.feuillet-suite .ic-etoile, .feuillet-suite svg { animation: twinkle 1.8s ease-in-out infinite; }
.feuillet-couverture { background: transparent; }
.couverture-livre {
  position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; text-align: center;
  border: 3px solid var(--navy-3); border-radius: 6px 20px 20px 6px; color: var(--creme);
  background: radial-gradient(rgba(255,243,217,0.12) 1.5px, transparent 1.5px) 0 0 / 22px 22px, linear-gradient(90deg, var(--navy-3) 0 14px, var(--navy) 14px);
}
.couverture-avatar .avatar { border: 4px solid var(--mangue); box-shadow: 0 6px 0 var(--navy-3); }
.couverture-titre { font-family: var(--titre); font-weight: 800; font-size: 34px; line-height: 1; letter-spacing: -0.8px; color: var(--mangue); text-wrap: balance; }
.couverture-duo { font-family: var(--main); font-size: 28px; }
.couverture-compte { padding: 5px 12px; border-radius: 999px; background: var(--menthe); color: var(--navy); font-weight: 900; font-size: 13px; }
.couverture-etoile { position: absolute; animation: twinkle 2s ease-in-out infinite; }
.couverture-etoile.e1 { left: 28px; top: 30px; } .couverture-etoile.e2 { right: 34px; top: 60px; animation-delay: 0.6s; } .couverture-etoile.e3 { right: 44px; bottom: 44px; animation-delay: 1.1s; }
.couverture-dos { gap: 6px; }
.livre-commandes { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.livre-commandes .rond { cursor: pointer; }
.livre-commandes .rond-suivant svg { transform: scaleX(-1); }
.livre-position { font-family: var(--titre); font-weight: 800; font-size: 17px; }
.livre-partager { margin-top: 16px; }
.livre-astuce { margin: 10px 0 0; text-align: center; font-size: 13px; font-weight: 700; color: var(--gris); }
.btn-petit { width: auto; min-height: 48px; font-size: 17px; padding: 0 20px; }

/* onglets */
.onglets {
  position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); width: min(436px, calc(100% - 24px)); z-index: 4;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 6px;
  background: var(--papier); border: 3px solid var(--navy); border-radius: 24px; box-shadow: 0 5px 0 var(--navy);
}
.onglets a { min-height: 54px; border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 12px; font-weight: 800; text-decoration: none; }
.onglets a[aria-current="page"] { background: var(--navy); color: var(--creme); font-weight: 900; }

/* diplôme, abonnement */
.fond-navy { background: var(--navy); color: var(--creme); }
.offres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.offre { position: relative; text-align: left; min-height: 112px; padding: 16px 14px 12px; border-radius: 22px; border: 3px solid var(--gris-2); background: var(--papier); cursor: pointer; display: flex; flex-direction: column; gap: 2px; }
.offre[aria-pressed="true"] { border: 4px solid var(--navy); box-shadow: 0 6px 0 var(--navy); }
.offre .prix { font-family: var(--titre); font-weight: 800; font-size: 28px; line-height: 1; }
.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 9; max-width: calc(100% - 40px); padding: 12px 18px; border-radius: 16px; background: var(--navy); color: var(--creme); font-weight: 800; box-shadow: 0 5px 0 var(--navy-3); }
.chargement { flex: 1; display: grid; place-items: center; font-family: var(--titre); font-weight: 800; font-size: 22px; }
