@font-face { font-family: Figtree; src: url("/polices/figtree.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/polices/instrument-serif.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Reenie Beanie"; src: url("/polices/reenie-beanie.woff2") format("woff2"); font-weight: 400; font-display: swap; }
:root { --aube: #fffdf8; --sable: #fbf1e1; --soleil: #f6b93b; --abricot: #f79862; --brique: #d9694a; --menthe: #6fbf9a; --encre: #2a1f3d; --doux: #6f6480; --blanc: #fff; --trait: #f3e8d6; --ok: #2f8a62; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Figtree, system-ui, sans-serif; color: var(--encre); background: var(--aube); font-size: 17px; line-height: 1.55; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; margin: 0; line-height: 1.1; }
h1 em, h2 em { color: var(--brique); }
button { font-family: inherit; cursor: pointer; color: inherit; }
a { color: inherit; }
.main { font-family: "Reenie Beanie", cursive; font-size: 30px; color: var(--brique); line-height: 1; }

/* Connexion */
.connexion { min-height: 100vh; display: grid; place-items: center; padding: 16px; background: radial-gradient(circle at 80% -10%, rgba(246, 185, 59, .5), rgba(247, 152, 98, .18) 40%, var(--aube) 70%); }
.carte-connexion { width: 100%; max-width: 400px; background: var(--blanc); border-radius: 28px; padding: 30px 26px; box-shadow: 0 14px 40px rgba(42, 31, 61, .09); }
.carte-connexion h1 { font-size: 46px; }
.soleil { width: 54px; height: 54px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #ffe2a6 50%, #f9a877); margin-bottom: 14px; }
.sous { color: var(--doux); margin: 8px 0 18px; }
.champ { display: block; margin-bottom: 14px; }
.champ span { display: block; font-weight: 700; font-size: 14px; margin-bottom: 5px; }
.champ input { width: 100%; border: 1.5px solid var(--trait); border-radius: 14px; padding: 12px 14px; font: inherit; font-size: 16px; background: var(--aube); color: var(--encre); }
.champ input:focus { outline: 3px solid rgba(246, 185, 59, .55); outline-offset: 1px; border-color: var(--soleil); }
.erreur { color: #b84d2c; min-height: 1.4em; margin: 12px 0 0; font-size: 15px; font-weight: 600; }
.btn { display: inline-block; background: var(--encre); color: #fff; font-weight: 600; padding: 12px 22px; border-radius: 999px; text-decoration: none; border: 0; font-size: 16px; text-align: center; }
.btn.clair { background: var(--blanc); color: var(--encre); border: 1.5px solid var(--trait); }
.btn.vif { background: var(--brique); }
.btn:disabled { opacity: .6; cursor: default; }
.large-btn { width: 100%; }

/* Structure */
.large { max-width: 1140px; margin: 0 auto; padding: 0 16px 60px; }
header { display: flex; justify-content: space-between; align-items: center; padding: 18px 0 8px; gap: 12px; flex-wrap: wrap; }
.nom { font-family: "Instrument Serif", serif; font-size: 26px; line-height: 1.1; }
.nom span { color: var(--brique); }
.nom i { font-family: Figtree, sans-serif; font-style: normal; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--doux); margin-left: 8px; }
.moi { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; }
.lien-bouton { background: none; border: 0; color: var(--doux); padding: 4px; text-decoration: underline; text-underline-offset: 3px; font-size: 14px; }
.onglets { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 8px 0 10px; position: sticky; top: 0; z-index: 5; background: var(--aube); }
.onglets::-webkit-scrollbar { display: none; }
.onglets button { flex: none; padding: 10px 17px; border-radius: 999px; font-weight: 600; font-size: 15px; background: var(--blanc); border: 1.5px solid var(--trait); color: var(--encre); }
.onglets button.ici { background: var(--encre); color: #fff; border-color: var(--encre); }
.vue { animation: entre .5s ease; }
@keyframes entre { from { opacity: 0; transform: translateY(10px); } }
.accueil { border-radius: 26px; background: radial-gradient(circle at 88% -30%, rgba(246, 185, 59, .75), rgba(247, 152, 98, .3) 40%, var(--sable) 70%); padding: 26px 22px; margin: 8px 0 16px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.accueil h1 { font-size: clamp(40px, 9vw, 68px); }
.accueil p { margin: 6px 0 0; color: #4b4160; max-width: 34em; }
.accueil .droite { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.titre { margin: 14px 0 16px; }
.titre h1 { font-size: clamp(36px, 8vw, 56px); }
.titre p { margin: 4px 0 0; color: var(--doux); }
.grille { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.g3 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.tuile, .bloc { background: var(--blanc); border-radius: 22px; padding: 18px; box-shadow: 0 8px 26px rgba(42, 31, 61, .05); }
.tuile { border-top: 5px solid var(--soleil); }
.tuile:nth-child(2) { border-color: var(--brique); }
.tuile:nth-child(3) { border-color: var(--menthe); }
.tuile:nth-child(4) { border-color: #a9b8f5; }
.tuile .l { font-size: 14px; font-weight: 600; color: var(--doux); }
.tuile .n { font-family: "Instrument Serif", serif; font-size: 46px; line-height: 1.05; margin: 2px 0; }
.tuile .e { font-size: 14px; font-weight: 700; color: var(--ok); }
.tuile .attente { font-size: 15px; color: var(--doux); margin: 8px 0 2px; }
.deux { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 14px; }
.bloc h2 { font-size: 30px; margin-bottom: 4px; }
.bloc h3 { font-size: 24px; margin: 18px 0 6px; }
.bloc .soustitre { color: var(--doux); font-size: 15px; margin-bottom: 14px; }
.bloc.seul { margin-top: 14px; }
.vide { display: flex; gap: 12px; align-items: center; background: var(--sable); border-radius: 18px; padding: 16px; color: #4b4160; font-size: 16px; }
.vide::before { content: ""; flex: 0 0 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #ffe2a6 50%, #f9a877); }
.bientot { border: 2px dashed var(--trait); border-radius: 22px; padding: 18px; margin-top: 14px; color: var(--doux); }
.bientot h2 { font-size: 26px; color: var(--encre); }
.bientot ul { margin: 8px 0 0; padding-left: 20px; }
.pas { list-style: none; margin: 0; padding: 0; }
.pas li { border-bottom: 1px solid var(--trait); }
.pas li:last-child { border: 0; }
.pas-ligne { display: flex; gap: 12px; align-items: center; padding: 12px 0; width: 100%; background: none; border: 0; text-align: left; font-size: 17px; }
.case { flex: 0 0 28px; height: 28px; border-radius: 9px; border: 2.5px solid var(--brique); transition: .2s; }
.fait .case { background: var(--menthe) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; border-color: var(--menthe); }
.pas-texte { flex: 1; }
.pas-texte b { display: block; }
.fait .pas-texte b { text-decoration: line-through; color: var(--doux); }
.pas-texte small, small { color: var(--doux); font-size: 14px; }
.mini { background: #fdeee6; color: #b84d2c; border-radius: 999px; padding: 7px 14px; font-size: 14px; font-weight: 700; border: 0; white-space: nowrap; margin: 0 0 10px 40px; }
.phrase { font-family: "Instrument Serif", serif; font-size: 30px; line-height: 1.1; margin: 0 0 6px; }
.doux { color: var(--doux); }
.grand { font-family: "Instrument Serif", serif; font-size: 40px; font-weight: 400; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
td, th { padding: 10px 6px; border-bottom: 1px solid var(--trait); text-align: center; }
td:first-child, th:first-child { text-align: left; word-break: break-word; }
th { font-size: 13px; color: var(--doux); font-weight: 600; }
tr:last-child td { border: 0; }
.monte { color: var(--ok); font-weight: 700; }
.ligne { display: flex; align-items: center; gap: 12px; margin: 12px 0; font-size: 15px; flex-wrap: wrap; }
.ligne > span:first-child { flex: 1 1 100%; font-weight: 600; }
.ligne .b { flex: 1; height: 14px; border-radius: 999px; background: #fdf0d4; overflow: hidden; }
.ligne .b i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--soleil), var(--abricot)); }
.ligne em { font-style: normal; font-weight: 700; flex: 0 0 auto; text-align: right; min-width: 70px; }
.courbe { width: 100%; height: auto; display: block; }
.courbe .ax { font: 600 12px Figtree, sans-serif; fill: var(--doux); }
.bulle { background: #e7f8dc; border-radius: 18px 18px 4px 18px; padding: 14px 16px; font-size: 16px; white-space: pre-line; margin: 10px 0 14px; word-break: break-word; }
.boutons { display: flex; gap: 10px; flex-wrap: wrap; }
blockquote { margin: 0 0 12px; background: var(--aube); border-radius: 18px; padding: 15px 17px; font-size: 16px; border: 1px solid var(--trait); }
blockquote::before { content: "\2605\2605\2605\2605\2605"; display: block; color: var(--soleil); letter-spacing: 2px; font-size: 13px; }
blockquote footer { font-weight: 700; font-size: 13px; color: var(--doux); margin-top: 4px; }
.rapport-ligne { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--trait); }
.rapport-ligne:last-child { border: 0; }
dl { margin: 0; }
dt { font-weight: 700; margin-top: 12px; }
dd { margin: 2px 0 0; color: var(--doux); font-size: 15.5px; }
.pied { text-align: center; color: var(--doux); font-size: 13px; margin: 28px 0 0; }
.toast { position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 30px); background: var(--encre); color: #fff; padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: 15px; opacity: 0; pointer-events: none; transition: .3s; z-index: 9; }
.toast.vu { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 760px) {
  body { font-size: 18px; }
  .large { padding: 0 22px 70px; }
  .accueil { padding: 38px 40px; border-radius: 30px; }
  .grille { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .g3 { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .deux { grid-template-columns: 1.1fr .9fr; gap: 16px; }
  .deux.egal { grid-template-columns: 1fr 1fr; }
  .tuile, .bloc { padding: 22px; border-radius: 24px; }
  .tuile .n { font-size: 54px; }
  .bloc h2 { font-size: 32px; }
  .ligne > span:first-child { flex: 0 0 210px; }
}
@media (prefers-reduced-motion: reduce) { .vue { animation: none; } * { transition: none !important; } }
