/* NOTIONFAMILY — style « cartoonesque moderne » : contours épais, ombres décalées, couleurs franches.
   Les couleurs sont les mêmes que sur la maquette (claude.ai, « NotionFamily – Maquettes »). */
:root {
  --encre: #1F1A2E;
  --encre-douce: #4A4360;
  --creme: #FFF6E5;
  --blanc: #FFFFFF;
  --jaune: #FFC93C;
  --corail: #FF7A59;
  --ciel: #6CB8FF;
  --menthe: #5ED3A5;
  --lilas: #B79CFF;
  --rose: #FF9EC7;
  --trait: 2.5px solid var(--encre);
  --ombre: 4px 4px 0 var(--encre);
  --titre: "Fredoka", "Nunito", system-ui, sans-serif;
  --texte: "Nunito", system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; } /* sinon « display: flex » des boutons l'emporte sur l'attribut hidden */
html { background: var(--creme); } /* fond sur html seulement, sinon il masque les bulles décoratives */
html, body { margin: 0; color: var(--encre); font-family: var(--texte); font-weight: 700; }
body { min-height: 100vh; overflow-x: hidden; -webkit-tap-highlight-color: transparent; }
a { color: var(--encre); }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--titre); margin: 0; }
h1 { font-weight: 700; font-size: 32px; line-height: 1.05; }
h2 { font-weight: 600; font-size: 20px; }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--ciel); outline-offset: 2px; }

/* Mise en page : une colonne façon téléphone, centrée sur grand écran */
.ecran { position: relative; max-width: 480px; margin: 0 auto; padding: 28px 20px 132px; display: flex; flex-direction: column; gap: 16px; }
.bulle-deco { position: fixed; top: -80px; right: max(-60px, calc(50vw - 300px)); width: 220px; height: 220px; border-radius: 50%; border: var(--trait); z-index: -1; }
.entete { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.surtitre { font-size: 14px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--encre-douce); }
.discret { font-size: 14px; color: var(--encre-douce); }

/* Cartes et boutons */
.carte { background: var(--blanc); border: var(--trait); border-radius: 22px; padding: 14px 16px; }
.carte.ombre, .ombre { box-shadow: var(--ombre); }
.bouton { min-height: 48px; padding: 0 18px; border: var(--trait); border-radius: 16px; background: var(--blanc); font-weight: 800; font-size: 16px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.bouton:active { transform: translate(2px, 2px); box-shadow: none; }
.bouton.sombre { background: var(--encre); color: var(--creme); box-shadow: 4px 4px 0 var(--jaune); font-family: var(--titre); font-weight: 600; font-size: 18px; }
.bouton.plein { width: 100%; }
.bouton.petit { min-height: 44px; font-size: 15px; padding: 0 14px; border-radius: 14px; }
.bouton-rond { width: 44px; height: 44px; flex: none; padding: 0; border-radius: 50%; border: var(--trait); background: var(--blanc); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.bouton[disabled] { opacity: .5; cursor: default; }
.champ { width: 100%; min-height: 50px; padding: 12px 16px; border: var(--trait); border-radius: 18px; background: var(--blanc); font-weight: 700; font-size: 17px; outline: none; }
.champ:focus { box-shadow: var(--ombre); }
textarea.champ { resize: none; line-height: 1.35; }
label.etiquette { display: block; margin-bottom: 6px; font-weight: 800; font-size: 14px; }

/* Pastilles (membres) et puces */
.pastille { width: 40px; height: 40px; flex: none; border-radius: 50%; border: var(--trait); display: inline-flex; align-items: center; justify-content: center; font-family: var(--titre); font-weight: 600; font-size: 15px; background: var(--jaune); }
.pastille.mini { width: 28px; height: 28px; font-size: 11px; border-width: 2px; }
.groupe-pastilles { display: flex; }
.groupe-pastilles .pastille + .pastille { margin-left: -10px; }
.puce { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 2px solid var(--encre); border-radius: 999px; font-size: 13px; font-weight: 800; background: var(--creme); }

/* Carte « ampoules à trier » de l'accueil */
.carte-ampoule { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--jaune); border: var(--trait); border-radius: 22px; box-shadow: var(--ombre); text-decoration: none; }
.carte-ampoule .icone { width: 48px; height: 48px; flex: none; border-radius: 16px; background: var(--blanc); border: var(--trait); display: flex; align-items: center; justify-content: center; }
.carte-ampoule strong { display: block; font-family: var(--titre); font-weight: 600; font-size: 19px; }

/* Tuiles des modules */
.tuiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tuile { min-height: 96px; padding: 14px; border: var(--trait); border-radius: 22px; box-shadow: var(--ombre); display: flex; flex-direction: column; justify-content: space-between; gap: 8px; text-decoration: none; }
.tuile strong { font-family: var(--titre); font-weight: 600; font-size: 18px; }
.tuile .bientot { align-self: flex-start; font-size: 12px; padding: 2px 8px; border: 2px solid var(--encre); border-radius: 999px; background: var(--blanc); }

/* Bouton ampoule flottant */
.fab { position: fixed; right: max(20px, calc(50vw - 220px)); bottom: 100px; width: 72px; height: 72px; border-radius: 50%; background: var(--jaune); border: 3px solid var(--encre); box-shadow: 4px 5px 0 var(--encre); display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 20; padding: 0; }
.fab:active { transform: translate(2px, 3px); box-shadow: 1px 1px 0 var(--encre); }
.fab .compteur { position: absolute; top: -6px; right: -6px; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 13px; background: var(--corail); border: 2.5px solid var(--encre); font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; }

/* Barre de navigation */
.nav { position: fixed; left: 50%; transform: translateX(-50%); bottom: max(14px, env(safe-area-inset-bottom)); width: min(456px, calc(100% - 24px)); height: 68px; padding: 0 8px; background: var(--encre); border-radius: 26px; display: flex; align-items: center; justify-content: space-around; z-index: 19; }
.nav a, .nav button { min-width: 64px; height: 52px; border-radius: 18px; color: var(--creme); background: none; border: 0; text-decoration: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; font-weight: 800; cursor: pointer; }
.nav [aria-current="page"] { background: var(--creme); color: var(--encre); }

/* Feuille « Une idée ? Dis-la ! » */
dialog.feuille { position: fixed; inset: auto 0 0 0; margin: 0 auto; width: 100%; max-width: 480px; max-height: 92vh; padding: 18px 20px calc(24px + env(safe-area-inset-bottom)); border: 0; border-top: 3px solid var(--encre); border-radius: 34px 34px 0 0; background: var(--creme); color: var(--encre); display: none; flex-direction: column; gap: 16px; }
dialog.feuille[open] { display: flex; animation: monte .22s ease-out; }
dialog.feuille::backdrop { background: rgba(74, 67, 96, .82); }
@keyframes monte { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.poignee { align-self: center; width: 52px; height: 6px; border-radius: 6px; background: var(--encre); }
.micro-zone { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 6px 0; }
.micro { width: 92px; height: 92px; border-radius: 50%; border: 3px solid var(--encre); box-shadow: 4px 5px 0 var(--encre); background: var(--blanc); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.micro[aria-pressed="true"] { background: var(--corail); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.06); } }
.onde { height: 36px; display: flex; align-items: center; gap: 5px; }
.onde span { width: 6px; height: 6px; border-radius: 6px; border: 2px solid var(--encre); background: var(--menthe); transition: height .15s; }
.onde.active span { animation: onde .9s ease-in-out infinite; }
.onde.active span:nth-child(3n) { background: var(--corail); animation-delay: .15s; }
.onde.active span:nth-child(3n+1) { background: var(--ciel); animation-delay: .3s; }
@keyframes onde { 0%, 100% { height: 8px; } 50% { height: 32px; } }

/* Cartes d'ampoule à trier */
.ampoule { display: flex; flex-direction: column; gap: 10px; box-shadow: var(--ombre); }
.ampoule .meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--encre-douce); font-weight: 800; }
.ampoule .meta .voix { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; }
.ampoule .texte { font-family: var(--titre); font-weight: 500; font-size: 19px; line-height: 1.25; overflow-wrap: anywhere; }
.ampoule .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ampoule .actions .ranger { flex: 1 1 160px; }
.choix-dest { display: flex; flex-wrap: wrap; gap: 8px; }
.choix-dest button { min-height: 44px; padding: 0 14px; border: var(--trait); border-radius: 14px; font-weight: 800; cursor: pointer; }
.vide { text-align: center; padding: 32px 16px; display: flex; flex-direction: column; align-items: center; gap: 12px; }

/* Courses */
.ajout { display: flex; gap: 8px; margin: 0; }
.ajout .champ { flex: 1; min-width: 0; }
.ajout .bouton-ajout { width: 50px; height: 50px; flex: none; padding: 0; border-radius: 18px; border: var(--trait); background: var(--jaune); box-shadow: 3px 3px 0 var(--encre); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.rayon h2 { display: flex; align-items: center; gap: 8px; font-size: 16px; margin-bottom: 6px; }
.rayon h2 .carre { width: 14px; height: 14px; border-radius: 5px; border: 2px solid var(--encre); }
.boite-rayon { background: var(--blanc); border: var(--trait); border-radius: 18px; box-shadow: var(--ombre); overflow: hidden; }
.article + .article { border-top: 2px dashed var(--encre); }
.article .ligne { display: flex; align-items: center; }
.article .cocher { flex: 1; min-width: 0; min-height: 48px; padding: 6px 4px 6px 12px; border: 0; background: none; display: flex; align-items: center; gap: 12px; text-align: left; cursor: pointer; }
.article .case { width: 26px; height: 26px; flex: none; border-radius: 9px; border: 2.5px solid var(--encre); background: var(--blanc); display: flex; align-items: center; justify-content: center; }
.article .nom { flex: 1; min-width: 0; font-size: 16px; font-weight: 800; overflow-wrap: anywhere; }
.article .qte { font-size: 13px; font-weight: 800; color: var(--encre-douce); white-space: nowrap; }
.article.coche .case { background: var(--menthe); }
.article.coche .nom { text-decoration: line-through; color: var(--encre-douce); }
.article .reglages { width: 44px; height: 44px; flex: none; border: 0; background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--encre-douce); }
.article .options { padding: 4px 12px 12px; display: flex; flex-direction: column; gap: 8px; }
.article .options .choix-dest button { min-height: 40px; font-size: 14px; }
.flash { animation: flash 1s ease-out; }
@keyframes flash { from { background: var(--jaune); } to { background: transparent; } }
.presence { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.presence .puce { background: var(--blanc); padding: 4px 10px 4px 4px; }
.presence .point { width: 8px; height: 8px; border-radius: 50%; background: var(--corail); animation: pulse 1.2s infinite; }

/* Tâches */
.liste-taches { background: var(--blanc); border: var(--trait); border-radius: 18px; box-shadow: var(--ombre); overflow: hidden; }
.tache { display: flex; align-items: center; gap: 4px; padding-right: 10px; }
.tache + .tache { border-top: 2px dashed var(--encre); }
.tache .cocher-tache { width: 52px; min-height: 56px; flex: none; border: 0; background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.tache .case { width: 30px; height: 30px; border-radius: 10px; border: 2.5px solid var(--encre); background: var(--blanc); display: flex; align-items: center; justify-content: center; }
.tache.faite .case { background: var(--menthe); }
.tache .ouvrir-tache { flex: 1; min-width: 0; padding: 8px 4px; border: 0; background: none; text-align: left; text-decoration: none; color: inherit; cursor: pointer; display: flex; flex-direction: column; }
.tache .titre { font-size: 15px; font-weight: 800; overflow-wrap: anywhere; }
.tache.faite .titre { text-decoration: line-through; color: var(--encre-douce); }
.tache .meta { font-size: 13px; color: var(--encre-douce); }
.tache .meta .retard { color: #9B2C12; font-weight: 800; }
.tache .meta .repete { display: inline-flex; align-items: center; gap: 3px; }
.section-taches h2 { font-size: 17px; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.section-taches h2 .nb { font-family: var(--texte); font-size: 13px; padding: 1px 8px; border: 2px solid var(--encre); border-radius: 999px; background: var(--blanc); }
.onglets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 4px; background: var(--blanc); border: var(--trait); border-radius: 18px; }
.onglets button { min-height: 40px; border: 0; border-radius: 13px; background: none; font-weight: 800; font-size: 15px; cursor: pointer; }
.onglets button[aria-pressed="true"] { background: var(--encre); color: var(--creme); }
.puces-choix { display: flex; flex-wrap: wrap; gap: 8px; }
.puces-choix button { min-height: 40px; padding: 0 12px; border: 2px solid var(--encre); border-radius: 12px; background: var(--blanc); font-weight: 800; font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.puces-choix button[aria-pressed="true"] { background: var(--encre); color: var(--creme); }
dialog.feuille { overflow-y: auto; }
dialog.feuille form { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.repli summary { cursor: pointer; font-family: var(--titre); font-weight: 600; font-size: 17px; padding: 6px 0; }

/* Factures */
.reste { padding: 16px; background: var(--encre); color: var(--creme); border-radius: 22px; box-shadow: 4px 4px 0 var(--corail); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.reste .total { font-family: var(--titre); font-weight: 700; font-size: 34px; line-height: 1; }
.reste .puce { background: var(--jaune); color: var(--encre); border-color: var(--creme); }
.facture { display: flex; flex-direction: column; gap: 10px; box-shadow: var(--ombre); padding: 12px 14px; }
.facture .haut { display: flex; align-items: center; gap: 12px; border: 0; background: none; padding: 0; text-align: left; cursor: pointer; width: 100%; }
.facture .initiale { width: 44px; height: 44px; flex: none; border-radius: 14px; border: var(--trait); display: flex; align-items: center; justify-content: center; font-family: var(--titre); font-weight: 700; font-size: 17px; }
.facture .infos { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.facture .infos strong { font-size: 16px; font-weight: 800; overflow-wrap: anywhere; }
.facture .infos span { font-size: 13px; color: var(--encre-douce); }
.facture .droite { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.facture .montant { font-family: var(--titre); font-weight: 600; font-size: 19px; white-space: nowrap; }
.facture .badge { padding: 2px 8px; border-radius: 999px; border: 2px solid var(--encre); font-size: 12px; font-weight: 800; white-space: nowrap; background: var(--creme); }
.facture .badge.urgent { background: var(--corail); }
.facture .badge.ok { background: var(--menthe); }
.facture .actions { display: flex; gap: 8px; }
.facture .actions .payer { flex: 1; background: var(--menthe); }
.piece-jointe { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.piece-jointe input[type=file] { max-width: 100%; font-size: 14px; }

/* Véhicules */
.puces-vehicules { display: flex; gap: 8px; flex-wrap: wrap; }
.puces-vehicules button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: var(--trait); background: var(--blanc); font-weight: 800; font-size: 15px; cursor: pointer; }
.puces-vehicules button[aria-pressed="true"] { background: var(--encre); color: var(--creme); }
.heros { position: relative; min-height: 176px; padding: 16px; border: var(--trait); border-radius: 24px; box-shadow: var(--ombre); overflow: hidden; }
.heros .nom { font-family: var(--titre); font-weight: 700; font-size: 24px; }
.heros .plaque { display: inline-block; margin-top: 4px; padding: 3px 10px; border-radius: 8px; background: var(--blanc); border: 2px solid var(--encre); font-family: var(--titre); font-weight: 600; font-size: 14px; letter-spacing: .06em; }
.heros .dessin { position: absolute; right: -6px; bottom: 6px; width: 190px; height: 104px; pointer-events: none; }
.heros .compteur { position: absolute; left: 16px; bottom: 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.heros .compteur strong { font-family: var(--titre); font-weight: 700; font-size: 22px; }
.heros .modifier { position: absolute; top: 12px; right: 12px; }
.echeance { width: 100%; padding: 10px 12px; background: var(--blanc); border: var(--trait); border-radius: 18px; display: flex; flex-direction: column; gap: 8px; text-align: left; cursor: pointer; }
.echeance .ligne { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.echeance .ligne span:first-child { display: flex; flex-direction: column; }
.echeance strong { font-size: 15px; font-weight: 800; }
.echeance small { font-size: 13px; color: var(--encre-douce); font-weight: 700; }
.niveau { padding: 2px 9px; border-radius: 999px; border: 2px solid var(--encre); font-size: 12px; font-weight: 800; white-space: nowrap; }
.niveau.urgent { background: var(--corail); } .niveau.bientot { background: var(--jaune); } .niveau.ok { background: var(--menthe); }
.barre { height: 10px; border-radius: 6px; border: 2px solid var(--encre); background: var(--creme); overflow: hidden; }
.barre span { display: block; height: 100%; border-right: 2px solid var(--encre); }
.historique .ligne-entretien { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 0; background: none; text-align: left; cursor: pointer; }
.historique .ligne-entretien + .ligne-entretien { border-top: 2px dashed var(--encre); }
.historique .ligne-entretien span:nth-child(1) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.historique .ligne-entretien small { color: var(--encre-douce); font-size: 13px; }

/* Maison */
.equipement { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--blanc); border: var(--trait); border-radius: 18px; }
.equipement .ouvrir { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; border: 0; background: none; padding: 0; text-align: left; cursor: pointer; }
.equipement .initiale { width: 42px; height: 42px; flex: none; border-radius: 14px; border: var(--trait); display: flex; align-items: center; justify-content: center; font-family: var(--titre); font-weight: 700; font-size: 16px; }
.equipement .infos { min-width: 0; display: flex; flex-direction: column; }
.equipement .infos strong { font-size: 15px; font-weight: 800; overflow-wrap: anywhere; }
.equipement .infos small { font-size: 13px; color: var(--encre-douce); }
.equipement .infos small.urgent { color: #9B2C12; font-weight: 800; }
.equipement .fait { min-height: 44px; padding: 0 12px; flex: none; border-radius: 12px; border: var(--trait); background: var(--creme); font-weight: 800; font-size: 13px; cursor: pointer; }
.equipement .fait.urgent { background: var(--corail); }
.equipement .coche { width: 44px; height: 44px; flex: none; border-radius: 12px; border: var(--trait); background: var(--menthe); display: flex; align-items: center; justify-content: center; }

/* Écran « Aujourd'hui » */
.chiffres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.chiffre { padding: 10px 12px; border: var(--trait); border-radius: 18px; box-shadow: var(--ombre); display: flex; flex-direction: column; gap: 2px; }
.chiffre strong { font-family: var(--titre); font-weight: 700; font-size: 30px; line-height: 1; }
.chiffre span { font-size: 13px; font-weight: 800; }
.groupe-jour h2 { font-size: 17px; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.liste-jour { background: var(--blanc); border: var(--trait); border-radius: 18px; box-shadow: var(--ombre); overflow: hidden; }
.item-jour { display: flex; align-items: center; gap: 10px; padding: 8px 10px; min-height: 60px; }
.item-jour + .item-jour { border-top: 2px dashed var(--encre); }
.item-jour .pastille-type { width: 38px; height: 38px; flex: none; border-radius: 12px; border: 2.5px solid var(--encre); display: flex; align-items: center; justify-content: center; }
.item-jour .lien { flex: 1; min-width: 0; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.item-jour .lien strong { font-size: 15px; font-weight: 800; overflow-wrap: anywhere; }
.item-jour .lien small { font-size: 13px; color: var(--encre-douce); }
.item-jour .lien small.retard { color: #9B2C12; font-weight: 800; }
.item-jour .agir { min-height: 44px; min-width: 64px; padding: 0 10px; flex: none; border-radius: 12px; border: var(--trait); background: var(--creme); font-weight: 800; font-size: 13px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.item-jour .agir.fort { background: var(--menthe); }
.item-jour .ok { width: 44px; height: 44px; flex: none; border-radius: 12px; border: var(--trait); background: var(--menthe); display: flex; align-items: center; justify-content: center; }
.item-jour button.lien { border: 0; background: none; padding: 0; text-align: left; cursor: pointer; font: inherit; }
.date-bloc { width: 46px; height: 50px; flex: none; border-radius: 12px; border: 2.5px solid var(--encre); background: var(--rose); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.date-bloc strong { font-family: var(--titre); font-weight: 700; font-size: 19px; }
.date-bloc span { font-size: 11px; font-weight: 800; }
.item-jour.fait .lien strong { text-decoration: line-through; color: var(--encre-douce); }
.tuiles.compactes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tuiles.compactes .tuile { min-height: 84px; padding: 10px; border-radius: 18px; gap: 4px; }
.tuiles.compactes .tuile strong { font-size: 15px; }
.tuiles.compactes .tuile .bientot { font-size: 11px; padding: 1px 6px; }

/* Message bref en bas d'écran */
.toast { position: fixed; left: 50%; bottom: 190px; transform: translate(-50%, 20px); max-width: calc(100% - 40px); padding: 12px 18px; border: var(--trait); border-radius: 16px; background: var(--menthe); box-shadow: var(--ombre); font-weight: 800; opacity: 0; pointer-events: none; transition: .2s; z-index: 40; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
.toast.erreur { background: var(--corail); }
.toast.avec-action { pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: min(420px, calc(100% - 40px)); }
.toast-action { min-height: 36px; padding: 0 12px; border: 2px solid var(--encre); border-radius: 12px; background: var(--blanc); font-weight: 800; cursor: pointer; }
.nav a, .nav button { min-width: 56px; }

/* Connexion */
.connexion { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: 20px; padding-bottom: 40px; }
.logo { width: 112px; height: 112px; border-radius: 50%; background: var(--jaune); border: 3px solid var(--encre); box-shadow: 5px 6px 0 var(--encre); display: flex; align-items: center; justify-content: center; }
.erreur-texte { color: #9B2C12; font-weight: 800; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
