/* ============================================================
   Exit · style.css
   Charte : kits Apple iOS 27 / macOS 27, police SF Pro (police système),
   deux couleurs de marque (bleu #5CB8E0, vert #7FC9A8), accent #006D90,
   bouton principal noir, fond #F5F6F8, cartes blanches, coins emboîtés.
   ============================================================ */
:root {
  --fond: #F5F6F8; --carte: #FFFFFF; --texte: #1D1D1F; --texte2: rgba(60,60,67,.6); --texte3: rgba(60,60,67,.42); --sep: rgba(60,60,67,.12);
  --accent: #006D90; --accent-f: rgba(0,109,144,.12); --bleu: #5CB8E0; --vert: #7FC9A8; --b600: #1386AE; --v600: #3C8C6C; --b900: #00394D;
  --ok: #34C759; --ok-t: #008932; --att: #FF8D28; --att-t: #C55300; --err: #FF383C; --err-t: #E9152D;
  --marque: linear-gradient(135deg, #5CB8E0, #7FC9A8);
  --r-carte: 22px; --r-case: 12px;
  --ressort: cubic-bezier(.32,.72,0,1); --sortie: cubic-bezier(.2,.8,.2,1); --rebond: cubic-bezier(.34,1.56,.64,1);
  --ombre: 0 1px 2px rgba(0,30,50,.04);
  --police: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", system-ui, "Segoe UI Variable", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--fond); }
body { font-family: var(--police); color: var(--texte); -webkit-font-smoothing: antialiased; font-size: 13px; letter-spacing: -0.08px; overflow: hidden; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input { font: inherit; }
kbd { font: inherit; }
.sf { display: block; flex: none; }
h1, h2, h3, p { margin: 0; }
.lab { font-size: 12px; font-weight: 600; color: var(--texte2); }
.mut { color: var(--texte2); }
.vert { color: var(--ok-t); } .rouge { color: var(--err-t); } .bleu { color: var(--accent); }
.mt4 { margin-top: 4px; } .mt5 { margin-top: 5px; } .mt10 { margin-top: 10px; } .mt14 { margin-top: 14px; } .mt18 { margin-top: 18px; }
.centre { text-align: center; }
.barre-txt { text-decoration: line-through; color: rgba(60,60,67,.5); }

/* ---------- boutons (Apple : principal noir, secondaire gris, appui = léger rétrécissement) ---------- */
.btn-noir, .btn-gris, .btn-blanc { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 40px; padding: 0 18px; border-radius: 20px; font-size: 14px; font-weight: 700; transition: transform .18s var(--sortie), background .2s, box-shadow .2s; white-space: nowrap; }
.btn-noir { background: #1D1D1F; color: #fff; }
.btn-noir:hover { background: #000; }
.btn-gris { background: rgba(120,120,128,.12); font-weight: 600; }
.btn-gris:hover { background: rgba(120,120,128,.18); }
.btn-blanc { background: rgba(255,255,255,.88); border: .5px solid rgba(0,0,0,.1); font-weight: 600; font-size: 13.5px; }
.btn-blanc:hover { background: #fff; box-shadow: 0 2px 8px rgba(0,30,50,.06); }
.btn-noir.petit, .btn-gris.petit, .btn-blanc.petit { height: 32px; padding: 0 14px; font-size: 13px; border-radius: 16px; }
.btn-noir.large, .btn-gris.large { height: 42px; padding: 0 20px; border-radius: 21px; }
.btn-txt { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 14px; border-radius: 21px; font-size: 14px; font-weight: 600; }
.btn-txt:hover { background: rgba(255,56,60,.07); }
button:active, a.btn-noir:active, .nx:active, .it:active, .si:active { transform: scale(.97); }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid rgba(0,109,144,.35); outline-offset: 2px; }
kbd { display: inline-flex; align-items: center; gap: 3px; height: 20px; padding: 0 6px; border-radius: 6px; border: .5px solid rgba(0,0,0,.18); font-size: 11px; font-weight: 600; margin-left: 4px; }
kbd.clair { border-color: rgba(255,255,255,.4); }

.chip { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 12px; font-size: 12px; font-weight: 600; background: #F2F5F7; white-space: nowrap; }
.chip.blanc { background: rgba(255,255,255,.72); }
.chip.orange { background: rgba(255,141,40,.14); color: var(--att-t); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips.bas { margin-top: auto; padding-top: 10px; }
.pill-orange { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 11px; background: rgba(255,141,40,.14); color: var(--att-t); font-size: 12px; font-weight: 700; }
.dom { display: inline-flex; align-items: center; justify-content: center; color: #fff; flex: none; border-radius: 50%; }
.avatar { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: linear-gradient(135deg, #7FC9A8, #1386AE); color: #fff; font-weight: 700; flex: none; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* Amélia : orbe et petit « puits » sombre */
.orbe { position: relative; display: inline-block; flex: none; }
.orbe[data-orbe="112"] { width: 112px; height: 112px; } .orbe[data-orbe="150"] { width: 150px; height: 150px; }
.ami { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: none; border-radius: 50%; background: radial-gradient(circle at 50% 45%, #0F2138 0%, #0B0C10 72%); box-shadow: 0 0 0 1px rgba(255,255,255,.6), 0 4px 12px rgba(20,100,130,.22); }
.ami .orbe { width: 86%; height: 86%; }

/* anneau d'avancement : se dessine à l'ouverture */
.anneau { position: relative; display: inline-flex; flex: none; }
.anneau svg { position: absolute; inset: 0; }
.anneau-arc { transition: stroke-dashoffset 1.1s var(--ressort) .15s; }
.anneau-in { position: relative; z-index: 1; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.an-gd { font-size: 36px; font-weight: 700; letter-spacing: -1px; line-height: 40px; }
.an-pt { font-size: 13px; font-weight: 700; }
.anneau-in small { font-size: 12px; font-weight: 600; color: var(--texte2); }
.anneau-in small.pale { color: var(--texte3); margin-top: 2px; }

.barre { height: 6px; border-radius: 3px; background: rgba(120,120,128,.14); overflow: hidden; margin-top: 8px; }
.barre i { display: block; height: 100%; border-radius: 3px; transition: width 1s var(--ressort) .2s; }
.spark { display: block; max-width: 100%; overflow: visible; }
.spark-trait { stroke-dasharray: 600; stroke-dashoffset: 600; animation: trace 1.2s var(--sortie) .25s forwards; }
.spark-aire, .spark-point { opacity: 0; animation: apparait .5s ease 1s forwards; }
@keyframes trace { to { stroke-dashoffset: 0; } }
@keyframes apparait { to { opacity: 1; } }

/* ---------- entrée des cartes (en cascade) ---------- */
[data-anim] { animation: monte .55s var(--ressort) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes monte { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
.page.entree { animation: fondu .3s var(--sortie) both; }
@keyframes fondu { from { opacity: 0; } to { opacity: 1; } }

/* ============================================================
   MAC (fenêtre de l'app, ≥ 1000 px)
   ============================================================ */
#app { height: 100%; }
.app.mac { display: flex; height: 100vh; height: 100dvh; }
.side { width: 236px; flex: none; transition: margin-left .4s var(--ressort); display: flex; flex-direction: column; padding: 14px 10px; border-right: .5px solid rgba(0,0,0,.1);
  background: radial-gradient(140% 55% at 0% 0%, rgba(92,184,224,.34), rgba(92,184,224,0) 70%), radial-gradient(130% 50% at 100% 60%, rgba(127,201,168,.30), rgba(127,201,168,0) 70%), radial-gradient(140% 45% at 10% 100%, rgba(154,211,234,.30), rgba(154,211,234,0) 70%), #EEF3F5; }
.side-haut { display: flex; align-items: center; justify-content: space-between; padding: 4px 4px 12px 8px; }
.feux { display: flex; gap: 8px; } .feux i { width: 12px; height: 12px; border-radius: 6px; background: #FF5F57; } .feux i:nth-child(2) { background: #FEBC2E; } .feux i:nth-child(3) { background: #28C840; }
.feux { visibility: hidden; }
.capg-btn { width: 30px; height: 26px; border-radius: 13px; display: flex; align-items: center; justify-content: center; color: #3a3a3c; background: rgba(255,255,255,.75); border: .5px solid rgba(0,0,0,.12); }
.side-nav { position: relative; flex: 1; overflow-y: auto; }
.si-pilule { position: absolute; left: 0; right: 0; top: 0; height: 28px; border-radius: 8px; background: rgba(255,255,255,.72); box-shadow: 0 .5px 1.5px rgba(0,40,60,.08); transition: transform .35s var(--ressort), height .35s var(--ressort), opacity .2s; pointer-events: none; }
.si { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; width: 100%; height: 28px; padding: 0 9px; border-radius: 8px; font-size: 13px; font-weight: 500; text-align: left; transition: background .15s, transform .15s; }
.si:not(.on):hover { background: rgba(255,255,255,.35); }
.si.on { font-weight: 600; }
.si.sous { padding-left: 26px; height: 26px; font-size: 12.5px; }
.si.tard { color: rgba(60,60,67,.55); }
.sic { width: 18px; display: flex; justify-content: center; color: rgba(30,60,80,.55); }
.si.on .sic { color: var(--accent); }
.si.tard .sic { color: rgba(60,60,67,.4); }
.sh { font-size: 11px; font-weight: 700; color: rgba(60,60,67,.5); padding: 11px 9px 3px; }
.badge { margin-left: auto; font-size: 11.5px; font-weight: 600; color: rgba(60,60,67,.55); font-variant-numeric: tabular-nums; }
.chev { margin-left: auto; color: rgba(60,60,67,.4); display: flex; transition: transform .3s var(--ressort); }
.si[data-outils] .chev { transform: rotate(-90deg); } .si[data-outils] .chev.ouvert { transform: none; }
.profil { display: flex; align-items: center; gap: 10px; padding: 9px 10px; margin-top: 8px; border-radius: 14px; background: rgba(255,255,255,.55); border: .5px solid rgba(255,255,255,.8); box-shadow: 0 1px 3px rgba(0,40,60,.06); color: rgba(60,60,67,.4); transition: background .2s; }
.profil:hover, .profil[aria-current] { background: rgba(255,255,255,.8); }
.profil-t { flex: 1; color: var(--texte); } .profil-t b { display: block; font-size: 13px; font-weight: 600; } .profil-t small { display: block; font-size: 11px; color: rgba(60,60,67,.55); }

.app.mac.side-ferme .side { margin-left: -236px; }
.tb-side { display: none; } .side-ferme .tb-side { display: flex; }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; background: #fff; }
.tb { height: 56px; flex: none; display: flex; align-items: center; gap: 12px; padding: 0 14px 0 20px; border-bottom: .5px solid rgba(0,0,0,.08); background: rgba(255,255,255,.85); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.tb-t { flex: 1; min-width: 0; } .tb-t h1 { font-size: 15px; font-weight: 700; } #tb-sous { font-size: 11.5px; color: rgba(60,60,67,.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.beta-pill { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px; border-radius: 12px; background: rgba(120,120,128,.1); font-size: 11.5px; font-weight: 600; color: var(--texte2); }
.demande { display: flex; align-items: center; gap: 8px; width: 280px; height: 34px; padding: 0 6px 0 5px; border-radius: 17px; background: rgba(255,255,255,.75); border: .5px solid rgba(0,0,0,.12); box-shadow: 0 1px 3px rgba(0,0,0,.06); color: rgba(60,60,67,.55); font-size: 12.5px; transition: box-shadow .2s, transform .15s; }
.demande:hover { box-shadow: 0 3px 12px rgba(0,60,90,.1); }
.demande > span:not(.ami) { flex: 1; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .demande kbd { color: var(--texte); }
.micro-tb { width: 34px; height: 34px; border-radius: 11px; display: flex; align-items: center; justify-content: center; color: #fff; background: #0B0C10; transition: transform .15s; }
.micro-tb:hover { transform: scale(1.05); }
.contenu { flex: 1; min-height: 0; overflow-y: auto; background: var(--fond); scroll-behavior: smooth; }
.mac .page { min-height: 100%; padding: 18px 20px; display: flex; flex-direction: column; }
.chargement { height: 100%; display: flex; align-items: center; justify-content: center; }

.carte { background: var(--carte); border-radius: var(--r-carte); border: .5px solid rgba(0,0,0,.06); box-shadow: var(--ombre); }
.wh { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 700; }
.wh > .sf { color: rgba(30,60,80,.55); }
.lk { margin-left: auto; font-size: 12.5px; font-weight: 600; color: var(--accent); }
.lk:hover { text-decoration: underline; } .lk.gris { color: var(--texte3); }
.n { font-size: 30px; line-height: 34px; font-weight: 700; letter-spacing: -0.9px; font-variant-numeric: tabular-nums; }
.n-l { display: flex; align-items: baseline; gap: 8px; } .n-s { font-size: 14px; font-weight: 600; }
.lvs { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.lv { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; font-weight: 600; }
.lv .vert { color: var(--ok-t); } .lv .rouge { color: var(--err-t); }
.sec { font-size: 12px; font-weight: 700; color: rgba(60,60,67,.55); display: flex; align-items: center; gap: 6px; margin: 16px 4px 6px; }
.sec:first-child { margin-top: 0; }
.sec-r { margin-left: auto; font-weight: 600; }
.g-titre { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: rgba(60,60,67,.55); margin: 18px 4px 6px; }
.vide-l { padding: 16px; color: var(--texte2); font-weight: 600; }

/* ---------- Accueil (Mac) ---------- */
.acc-grille { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 262px minmax(250px, 1fr) minmax(250px, 1fr); gap: 14px; }
.maint { grid-column: 1 / 3; grid-row: 1; position: relative; display: flex; align-items: center; border-radius: 26px; border: .5px solid rgba(0,0,0,.06); padding: 24px 34px 24px 28px; overflow: hidden;
  background: radial-gradient(70% 90% at 92% 8%, rgba(92,184,224,.30), rgba(92,184,224,0) 70%), radial-gradient(60% 80% at 62% 120%, rgba(127,201,168,.34), rgba(127,201,168,0) 70%), radial-gradient(50% 60% at 0% 0%, rgba(154,211,234,.18), rgba(154,211,234,0) 70%), #FBFDFD; }
.maint::after { content: ''; position: absolute; inset: -40%; background: radial-gradient(30% 30% at 50% 50%, rgba(127,201,168,.16), transparent 70%); animation: derive 16s ease-in-out infinite alternate; pointer-events: none; }
@keyframes derive { from { transform: translate(-8%, -4%); } to { transform: translate(10%, 6%); } }
.maint-txt { position: relative; z-index: 1; flex: 1; min-width: 0; }
.maint-sur { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: rgba(60,60,67,.6); }
.maint h2 { font-size: 46px; line-height: 52px; font-weight: 700; letter-spacing: -1.6px; margin-top: 10px; }
.maint p { font-size: 16px; line-height: 23px; font-weight: 500; color: rgba(29,29,31,.7); margin-top: 4px; max-width: 560px; }
.maint-act { display: flex; gap: 10px; align-items: center; margin-top: 18px; flex-wrap: wrap; }
.maint-an-gd { position: relative; z-index: 1; width: 186px; height: 186px; border-radius: 50%; background: rgba(255,255,255,.72); box-shadow: 0 8px 30px rgba(0,60,80,.08); flex: none; margin-left: 20px; }
.maint.sort .maint-txt { animation: sortGauche .26s var(--sortie) forwards; }
@keyframes sortGauche { to { opacity: 0; transform: translateX(-24px); } }
.maint.vide { gap: 16px; color: var(--ok); } .maint.vide h2 { font-size: 30px; color: var(--texte); margin: 0; } .maint.vide p { margin: 0; }
.ensuite { grid-column: 3; grid-row: 1 / 3; padding: 16px 18px; display: flex; flex-direction: column; min-height: 0; }
.nx-liste { margin-top: 6px; }
.nx { display: flex; align-items: center; gap: 11px; padding: 9px 0; transition: background .15s, transform .15s; }
.nx + .nx { border-top: .5px solid var(--sep); }
.mac .nx:hover { background: rgba(0,109,144,.04); box-shadow: -8px 0 0 rgba(0,109,144,.04), 8px 0 0 rgba(0,109,144,.04); }
.nx-o { width: 18px; font-size: 12px; font-weight: 700; color: rgba(60,60,67,.4); text-align: center; flex: none; }
.nx-t { flex: 1; min-width: 0; } .nx-t b { display: block; font-size: 13.5px; font-weight: 600; } .nx-t small { display: block; font-size: 11.5px; color: rgba(60,60,67,.58); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nx-d { margin-left: auto; font-size: 12px; font-weight: 600; color: rgba(60,60,67,.55); white-space: nowrap; font-variant-numeric: tabular-nums; }
.deja { margin-top: 12px; padding-top: 12px; border-top: .5px solid var(--sep); } .deja .lab { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.deja .barre-txt { font-size: 13px; margin-top: 4px; }
.imprevu { display: flex; gap: 9px; align-items: center; width: 100%; padding: 10px 12px; border-radius: 14px; background: #F5F7F8; font-size: 12.5px; line-height: 17px; color: rgba(29,29,31,.75); text-align: left; margin-top: auto; transition: background .2s, transform .15s; }
.imprevu:hover { background: #EEF3F5; }
.w { padding: 16px 18px; display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.spark-b { margin-top: 10px; }
.mois-blocs { display: flex; gap: 4px; margin-top: 12px; } .mois-blocs i { flex: 1; height: 22px; border-radius: 6px; background: rgba(120,120,128,.13); }
.mois-blocs i.fait { background: var(--b600); }
.mois-blocs.fins i { height: 6px; border-radius: 3px; margin-top: -4px; }
.mois-libs { display: flex; justify-content: space-between; font-size: 11.5px; font-weight: 600; margin-top: 6px; color: var(--texte2); }
.mois-libs span { flex: 1; } .lab.bas { margin-top: auto; }
.rem p { font-size: 13.5px; line-height: 19px; color: rgba(29,29,31,.82); margin-top: 12px; }
.rem-t { display: flex; align-items: center; gap: 10px; } .rem-t b { font-size: 13.5px; }
.rem-a { display: flex; gap: 8px; margin-top: auto; padding-top: 12px; }
.fond-out { animation: fondOut .25s ease forwards; } @keyframes fondOut { to { opacity: 0; transform: scale(.98); } }

/* ---------- Aujourd'hui (Mac) ---------- */
.auj { flex: 1; display: flex; margin: -18px -20px; min-height: 0; }
.auj-g { flex: 1; min-width: 0; padding: 18px 20px; display: flex; flex-direction: column; }
.auj-tete { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.auj-tt { flex: 1; } .auj-tt b { display: block; font-size: 15px; }
.seg { display: inline-flex; height: 30px; border-radius: 15px; background: rgba(120,120,128,.12); padding: 2px; position: relative; }
.seg button { padding: 0 12px; border-radius: 13px; font-size: 12.5px; font-weight: 600; color: rgba(29,29,31,.7); transition: background .25s var(--ressort), color .2s, box-shadow .25s; }
.seg button[aria-selected="true"] { background: #fff; color: var(--texte); box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.liste { border-radius: 18px; overflow: hidden; }
.liste .it.fixe:first-child { border-radius: 18px; }
.liste.ordre { padding: 0; overflow: visible; }
.liste.ordre .it:first-child { border-radius: 18px 18px 0 0; } .liste.ordre .it:last-child { border-radius: 0 0 18px 18px; } .liste.ordre .it:only-child { border-radius: 18px; }
.liste.ordre .it.sel, .liste.ordre .it.tenu { border-radius: 14px; }
.it { display: flex; align-items: center; gap: 12px; height: 58px; padding: 0 14px; position: relative; background: #fff; transition: transform .25s var(--ressort), box-shadow .2s, background .2s, height .3s var(--ressort), opacity .3s; cursor: default; }
.it + .it { border-top: .5px solid var(--sep); }
.ordre .it { cursor: pointer; } .ordre .it:hover { background: #FAFBFC; }
.it.cur { background: rgba(0,109,144,.06); } .ordre .it.cur:hover { background: rgba(0,109,144,.08); }
.it.sel { box-shadow: inset 0 0 0 1.5px var(--accent); border-radius: 14px; z-index: 1; }
.it-o { width: 16px; font-size: 12.5px; font-weight: 700; color: rgba(60,60,67,.4); text-align: center; flex: none; }
.it-h { width: 44px; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; flex: none; }
.it-t { flex: 1; min-width: 0; } .it-t b { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.it-t small { display: flex; align-items: center; gap: 5px; font-size: 12px; color: rgba(60,60,67,.58); margin-top: 2px; white-space: nowrap; overflow: hidden; }
.it-t small.encours { color: var(--accent); font-weight: 600; }
.it-d { font-size: 12.5px; font-weight: 600; color: rgba(60,60,67,.55); font-variant-numeric: tabular-nums; white-space: nowrap; }
.poignee { color: rgba(60,60,67,.3); display: flex; padding: 8px 2px; cursor: grab; touch-action: none; }
.poignee:hover { color: rgba(60,60,67,.6); }
.ck { position: relative; width: 22px; height: 22px; flex: none; border-radius: 11px; color: #fff; }
.ck svg { position: absolute; inset: 0; width: 22px; height: 22px; } .ck circle { fill: transparent; stroke: rgba(60,60,67,.3); stroke-width: 1.5; transition: fill .25s, stroke .25s; }
.it.cur .ck circle { stroke: var(--accent); }
.ck:hover circle { stroke: var(--accent); fill: rgba(0,109,144,.06); }
.ck .ck-v { position: absolute; left: 5px; top: 5.5px; opacity: 0; transform: scale(.4); transition: opacity .2s, transform .35s var(--rebond); }
.it.coche .ck circle { fill: var(--ok); stroke: var(--ok); } .it.coche .ck .ck-v { opacity: 1; transform: scale(1); }
.it.coche { animation: pop .35s var(--rebond); } .it.coche .it-t b { text-decoration: line-through; color: var(--texte3); transition: color .3s; }
@keyframes pop { 50% { transform: scale(1.015); } }
.it.replie { opacity: 0; padding-top: 0; padding-bottom: 0; overflow: hidden; }
.en-glisse .it { transition: transform .22s var(--ressort); }
.it.tenu { z-index: 5; box-shadow: 0 14px 34px rgba(0,30,50,.16); border-radius: 14px; transition: box-shadow .2s; cursor: grabbing; }
.chips.faits { margin: 0 4px; }
.imprevu.bas { margin-top: auto; background: #fff; border: .5px solid rgba(0,0,0,.06); border-radius: 20px; padding: 10px 10px 10px 14px; font-size: 13.5px; color: rgba(60,60,67,.55); box-shadow: var(--ombre); }
.imprevu.bas span:nth-child(2) { flex: 1; }
.micro-n { width: 36px; height: 36px; border-radius: 12px; background: #0B0C10; color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.insp { width: 360px; flex: none; border-left: .5px solid rgba(0,0,0,.08); background: #fff; padding: 20px; display: flex; flex-direction: column; gap: 0; overflow-y: auto; }
.insp.arrive > * { animation: monte .4s var(--ressort) both; } .insp.arrive > *:nth-child(2) { animation-delay: 30ms; } .insp.arrive > *:nth-child(3) { animation-delay: 60ms; } .insp.arrive > *:nth-child(n+4) { animation-delay: 90ms; }
.insp.vide { align-items: center; justify-content: center; color: var(--ok); gap: 10px; } .insp.vide p { color: var(--texte2); font-weight: 600; }
.insp-sur { display: flex; align-items: center; gap: 8px; }
.insp h2 { font-size: 22px; line-height: 27px; font-weight: 700; letter-spacing: -0.4px; margin-top: 8px; }
.insp-ex { display: flex; gap: 8px; align-items: center; margin-top: 14px; padding: 10px 12px; border-radius: 12px; background: rgba(255,141,40,.08); color: var(--att-t); font-size: 12.5px; font-weight: 600; }
.pourquoi { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 16px; background: #F5F8F9; margin-top: 16px; }
.pourquoi p { font-size: 13px; line-height: 18px; color: rgba(29,29,31,.8); }
.insp .g-titre { margin-left: 0; }
.lie { border-radius: 16px; border: .5px solid rgba(0,0,0,.1); overflow: hidden; }
.lie-t { display: flex; align-items: center; gap: 11px; padding: 12px 14px; } .lie-t .ic { width: 38px; height: 38px; border-radius: 11px; background: #F2F5F7; display: flex; align-items: center; justify-content: center; color: #3A4A55; }
.lie-t b { display: block; font-size: 13.5px; font-weight: 600; } .lie-t small { display: block; font-size: 11.5px; color: var(--texte2); }
.lie-l { display: flex; align-items: center; justify-content: space-between; height: 40px; padding: 0 14px; font-size: 13px; border-top: .5px solid var(--sep); }
.lie-l > span:first-child { color: var(--texte2); font-weight: 600; } .lie-l b { font-weight: 600; } .lie-l b.vert { color: var(--ok-t); }
.etape { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 34px; font-size: 13px; text-align: left; }
.etape i { width: 18px; height: 18px; border-radius: 9px; border: 1.5px solid rgba(60,60,67,.3); flex: none; transition: background .2s, border-color .2s; }
.etape.fait { color: var(--texte3); text-decoration: line-through; } .etape.fait i { background: var(--ok); border-color: var(--ok); box-shadow: inset 0 0 0 3px #fff; }
.lien-ext { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--accent); }
.insp-act { margin-top: auto; padding-top: 16px; display: flex; gap: 8px; } .insp-act .btn-noir { flex: 1; }

/* ---------- À ranger (Mac) ---------- */
.rg { flex: 1; display: flex; margin: -18px -20px; min-height: 0; }
.rg-liste { width: 320px; flex: none; padding: 18px 14px; border-right: .5px solid rgba(0,0,0,.07); display: flex; flex-direction: column; gap: 4px; overflow-y: auto; }
.rg-liste .sec { margin: 0 6px 6px; } .rg-liste .sec.mt18 { margin-top: 18px; }
.rg-li { display: flex; gap: 10px; align-items: flex-start; padding: 11px 12px; border-radius: 14px; text-align: left; transition: background .2s, box-shadow .2s, transform .3s var(--ressort), opacity .3s; }
.rg-li:not(.fait):hover { background: rgba(255,255,255,.7); }
.rg-li.sel { background: #fff; box-shadow: 0 1px 3px rgba(0,30,50,.08), inset 0 0 0 1.5px var(--accent); }
.rg-li > span:first-child { display: flex; margin-top: 2px; }
.rg-li.fait { opacity: .6; } .rg-li.fait b { font-weight: 500; }
.rg-q { flex: 1; min-width: 0; } .rg-q b { display: block; font-size: 13.5px; font-weight: 600; line-height: 18px; } .rg-q small { display: block; font-size: 11.5px; color: rgba(60,60,67,.55); margin-top: 2px; }
.pp { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; height: 20px; padding: 0 7px; border-radius: 10px; font-size: 11px; font-weight: 700; background: #F2F5F7; color: rgba(29,29,31,.75); }
.rg-info { margin-top: auto; padding: 12px; border-radius: 16px; background: rgba(255,255,255,.7); border: .5px solid rgba(0,0,0,.06); font-size: 12.5px; line-height: 17px; color: rgba(29,29,31,.7); }
.rg-centre { flex: 1; min-width: 0; padding: 22px 30px; display: flex; flex-direction: column; gap: 16px; overflow-y: auto; }
.rg-haut { display: flex; align-items: center; justify-content: space-between; }
.rg-scene { position: relative; }
.rg-carte { background: #fff; border-radius: 26px; border: .5px solid rgba(0,0,0,.06); box-shadow: var(--ombre); padding: 26px 30px; animation: arriveCarte .5s var(--ressort) both; transition: transform .35s var(--ressort), opacity .3s; touch-action: pan-y; }
@keyframes arriveCarte { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
.rg-carte.part-droite { transform: translateX(110%) rotate(6deg) !important; opacity: 0; }
.rg-carte.part-gauche { transform: translateX(-110%) rotate(-6deg) !important; opacity: 0; }
.rg-carte.part-bas { transform: translateY(40px) scale(.95) !important; opacity: 0; }
.rg-li.part-droite, .rg-mini.part-droite { transform: translateX(40px); opacity: 0; }
.rg-quand { display: flex; align-items: center; gap: 7px; } .rg-quand .bleu { display: flex; }
.rg-carte h2 { font-size: 30px; line-height: 36px; font-weight: 700; letter-spacing: -0.8px; margin-top: 8px; }
.rg-prop { display: flex; align-items: center; gap: 10px; margin-top: 22px; } .rg-prop b { font-size: 14px; }
.rg-champs { margin-top: 6px; }
.pr { display: flex; align-items: center; min-height: 48px; padding: 0 4px; } .pr + .pr { border-top: .5px solid var(--sep); }
.pr-l { width: 110px; font-size: 13px; font-weight: 600; color: var(--texte2); flex: none; }
.pr-n { margin-left: 10px; }
.pv { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 10px 0 12px; border-radius: 10px; background: #F2F5F7; font-size: 13.5px; font-weight: 600; transition: background .2s, transform .2s var(--rebond); }
.pv:hover { background: #E9EEF1; } .pv.tourne { transform: scale(.94); }
.pv.petit { height: 26px; font-size: 12.5px; }
.pv-c { color: rgba(60,60,67,.4); display: flex; }
.rg-act { display: flex; align-items: center; gap: 10px; margin-top: 24px; } .rg-act .btn-gris { margin-left: auto; }
.rg-suivants { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rg-mini { padding: 14px 16px; border-radius: 18px; transition: transform .3s var(--ressort), opacity .3s; } .rg-mini .lab { display: flex; align-items: center; gap: 6px; } .rg-mini .lab .bleu { display: flex; }
.rg-mini b { display: block; font-size: 14px; font-weight: 600; margin-top: 4px; } .rg-mini .chips { margin-top: 10px; }
.rg-vide { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 40px; }
.rg-vide h2 { font-size: 24px; font-weight: 700; margin-top: 8px; }

/* ---------- Réglages et pages « bientôt » ---------- */
.reg { max-width: 640px; width: 100%; margin: 0 auto; padding-bottom: 30px; }
.reg-profil { display: flex; align-items: center; gap: 14px; padding: 16px 18px; } .reg-profil > div { flex: 1; } .reg-profil b { display: block; font-size: 17px; }
.reg-profil label { cursor: pointer; }
.groupe-l { overflow: hidden; }
.gl { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 54px; padding: 10px 16px; text-align: left; color: rgba(60,60,67,.4); }
.gl + .gl { border-top: .5px solid var(--sep); }
button.gl:hover { background: #FAFBFC; }
.gl-ic { width: 28px; height: 28px; border-radius: 8px; background: #F2F5F7; color: #3A4A55; display: flex; align-items: center; justify-content: center; flex: none; }
.gl-t { flex: 1; color: var(--texte); } .gl-t b { display: block; font-size: 14px; font-weight: 600; } .gl-t small { display: block; font-size: 12px; color: var(--texte2); margin-top: 1px; }
.touches { display: flex !important; align-items: center; gap: 2px; }
.gl-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; padding: 0 16px 14px; }
.gl-form input { height: 34px; border-radius: 10px; border: .5px solid rgba(0,0,0,.12); background: #F5F6F8; padding: 0 10px; }
.gl-form .cx-err { grid-column: 1 / -1; }
.deco { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 48px; margin-top: 18px; color: var(--err-t); font-size: 14px; font-weight: 600; }
.bientot { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 60px 20px; }
.bientot-ic { width: 72px; height: 72px; border-radius: 20px; background: var(--marque); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(60,160,190,.25); margin-bottom: 6px; }
.bientot h2 { font-size: 24px; font-weight: 700; letter-spacing: -0.4px; } .bientot .btn-noir { margin-top: 10px; }

/* ---------- feuilles ---------- */
.feuille-fond { position: fixed; inset: 0; z-index: 50; background: rgba(0,10,20,.22); opacity: 0; transition: opacity .35s ease; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.feuille-fond.vu { opacity: 1; }
.feuille { position: fixed; z-index: 51; background: rgba(250,251,252,.96); -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%); box-shadow: 0 20px 60px rgba(0,20,40,.25); display: flex; flex-direction: column;
  left: 50%; top: 50%; width: 480px; max-width: calc(100vw - 32px); max-height: min(720px, calc(100vh - 60px)); border-radius: 26px; transform: translate(-50%, -46%) scale(.96); opacity: 0; transition: transform .45s var(--ressort), opacity .3s; }
.feuille.vu { transform: translate(-50%, -50%); opacity: 1; }
.feuille-poignee { display: none; }
.feuille-tete { display: flex; align-items: center; padding: 18px 18px 8px 22px; } .feuille-tete h2 { flex: 1; font-size: 20px; font-weight: 700; letter-spacing: -0.4px; }
.feuille-x { width: 30px; height: 30px; border-radius: 15px; background: rgba(120,120,128,.14); display: flex; align-items: center; justify-content: center; color: rgba(60,60,67,.7); }
.feuille-x.flottant { position: absolute; right: 14px; top: 14px; z-index: 2; }
.feuille-corps { padding: 6px 18px 20px; overflow-y: auto; }
.groupe { background: #fff; border-radius: 14px; overflow: hidden; border: .5px solid rgba(0,0,0,.06); }
.esp, .compte-ligne { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 14px; text-align: left; color: rgba(60,60,67,.35); transition: background .15s; }
.esp + .esp { border-top: .5px solid var(--sep); }
.esp:hover { background: #F8FAFB; }
.esp-ic { width: 34px; height: 34px; border-radius: 10px; color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.esp-t { flex: 1; color: var(--texte); } .esp-t b { display: block; font-size: 15px; font-weight: 600; } .esp-t small { display: block; font-size: 12px; color: var(--texte2); }
.esp-on { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--accent); }
.esp-bientot { font-size: 11.5px; font-weight: 600; color: var(--texte3); }
.tuiles-plus { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tp { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px; border-radius: 14px; background: #fff; border: .5px solid rgba(0,0,0,.06); font-size: 12.5px; color: #3A4A55; transition: transform .15s; }
.tp b { color: var(--texte); font-weight: 600; }
.compte-ligne { margin-top: 18px; background: #fff; border-radius: 14px; border: .5px solid rgba(0,0,0,.06); }

/* Amélia */
.amelia-feuille { width: 400px; background: rgba(250,252,252,.97); }
.amelia-feuille .feuille-corps { display: flex; flex-direction: column; align-items: center; padding: 22px 20px 18px; text-align: center; }
.am-haut { display: flex; flex-direction: column; align-items: center; gap: 2px; } .am-nom { font-size: 13px; font-weight: 700; color: var(--texte2); letter-spacing: .4px; text-transform: uppercase; }
.am-etat { font-size: 20px; font-weight: 700; letter-spacing: -0.3px; transition: color .3s; } .am-etat[data-e="doute"] { color: var(--texte2); }
.am-orbe { margin: 18px 0 4px; width: 116px; height: 116px; display: flex; align-items: center; justify-content: center; }
.am-dit:empty, .am-rep:empty { display: none; }
.am-dit { min-height: 22px; margin-top: 14px; font-size: 16px; font-weight: 600; color: var(--texte); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .4s var(--ressort); max-width: 360px; }
.am-rep { min-height: 20px; margin-top: 10px; font-size: 15px; line-height: 21px; color: rgba(29,29,31,.78); opacity: 0; transform: translateY(6px); transition: opacity .35s .05s, transform .45s var(--ressort) .05s; max-width: 380px; }
.am-dit.vu, .am-rep.vu { opacity: 1; transform: none; }
.am-champ { display: flex; gap: 8px; width: 100%; margin-top: 22px; padding: 5px; border-radius: 26px; background: #fff; border: .5px solid rgba(0,0,0,.1); box-shadow: 0 2px 10px rgba(0,30,50,.06); }
.am-champ input { flex: 1; min-width: 0; height: 40px; border: 0; outline: 0; background: transparent; padding: 0 12px; font-size: 15px; }
.am-champ:focus-within { border-color: rgba(0,109,144,.35); box-shadow: 0 0 0 4px rgba(0,109,144,.1), 0 2px 10px rgba(0,30,50,.06); }
.am-champ input:focus-visible { outline: 0; }
.am-micro { width: 40px; height: 40px; border-radius: 20px; flex: none; background: #0B0C10; color: #fff; display: flex; align-items: center; justify-content: center; position: relative; }
.am-micro.on::after { content: ''; position: absolute; inset: -4px; border-radius: 18px; border: 2px solid rgba(92,184,224,.6); animation: pulse 1.2s ease-out infinite; }
@keyframes pulse { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }

/* notifications */
.toasts { position: fixed; z-index: 80; left: 50%; top: max(14px, env(safe-area-inset-top)); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 8px; max-width: min(90vw, 460px); padding: 10px 16px 10px 12px; border-radius: 22px; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); box-shadow: 0 10px 30px rgba(0,20,40,.16), 0 0 0 .5px rgba(0,0,0,.06); font-size: 13.5px; font-weight: 600; opacity: 0; transform: translateY(-16px) scale(.94); transition: transform .45s var(--rebond), opacity .3s; }
.toast.vu { opacity: 1; transform: none; } .toast.part { opacity: 0; transform: translateY(-10px) scale(.96); transition-timing-function: ease; }
.toast-ic { width: 24px; height: 24px; border-radius: 12px; background: var(--marque); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }

/* connexion */
.app.connexion { min-height: 100%; display: flex; align-items: center; justify-content: center; overflow-y: auto;
  background: radial-gradient(60% 50% at 15% 10%, rgba(92,184,224,.30), transparent 70%), radial-gradient(60% 50% at 90% 90%, rgba(127,201,168,.32), transparent 70%), var(--fond); }
.cx { width: 100%; max-width: 360px; padding: 32px 20px; display: flex; flex-direction: column; align-items: center; text-align: center; animation: monte .6s var(--ressort) both; }
.cx-orbe { width: 112px; height: 112px; margin-bottom: 12px; }
.cx h1 { font-size: 34px; font-weight: 700; letter-spacing: -1px; } .cx p { color: var(--texte2); font-size: 15px; margin-top: 4px; }
.cx-f { width: 100%; margin-top: 24px; } .cx-f.secoue { animation: secoue .4s; }
@keyframes secoue { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.cx-l { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 14px; color: var(--texte3); }
.cx-l + .cx-l { border-top: .5px solid var(--sep); }
.cx-l input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 16px; color: var(--texte); }
.cx-err { min-height: 20px; margin: 8px 0; font-size: 13px; font-weight: 600; color: var(--err-t); }
.cx-f .btn-noir { width: 100%; height: 50px; border-radius: 25px; font-size: 16px; }
.cx-pied { display: flex; align-items: center; gap: 5px; margin-top: 18px; font-size: 12px; font-weight: 600; color: var(--texte3); }

/* ============================================================
   iPHONE (< 1000 px)
   ============================================================ */
.app.tel { position: relative; height: 100vh; height: 100dvh; }
.tel .contenu { height: 100%; padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
.tel .page { padding: 0 16px 20px; }
.grand-titre { display: flex; align-items: flex-end; gap: 12px; padding: calc(env(safe-area-inset-top) + 14px) 4px 14px; }
.grand-titre > div { flex: 1; min-width: 0; }
.grand-titre h1 { font-size: 34px; line-height: 40px; font-weight: 700; letter-spacing: -1px; }
.gt-sur, .gt-sous { font-size: 13px; font-weight: 600; color: var(--texte2); }
.gt-av { margin-bottom: 4px; }
.pile { display: flex; flex-direction: column; gap: 12px; }
.tel .maint { flex-direction: column; align-items: stretch; padding: 16px 16px 14px; background: radial-gradient(80% 70% at 100% 0%, rgba(92,184,224,.30), rgba(92,184,224,0) 70%), radial-gradient(70% 70% at 30% 120%, rgba(127,201,168,.32), rgba(127,201,168,0) 70%), #FBFDFD; }
.tel .maint-sur { font-size: 12px; letter-spacing: .5px; } .maint-an { margin-left: auto; }
.tel .maint h2 { font-size: 32px; line-height: 37px; letter-spacing: -1px; margin-top: 4px; }
.tel .maint p { font-size: 15px; line-height: 20px; }
.tel .maint-act { flex-wrap: nowrap; margin-top: 14px; } .tel .maint-act .btn-noir { flex: 1; height: 46px; border-radius: 23px; font-size: 16px; } .tel .maint-act .btn-blanc { height: 46px; border-radius: 23px; font-size: 15px; }
.tel .ensuite { padding: 8px 14px 4px; }
.tel .ensuite .wh { padding: 4px 0 2px; } .tel .nx { padding: 0; height: 46px; } .tel .nx-t b { font-size: 15px; } .tel .nx-t small { font-size: 12px; } .tel .nx-d { font-size: 13px; }
.grille2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tel .w { padding: 13px 14px; } .tel .w .wh { font-size: 13px; gap: 6px; }
.tel .n { font-size: 24px; line-height: 28px; letter-spacing: -0.6px; margin-top: 6px; }
.tel .w .lab.apres { display: none; }
.tel .n-l.mt10 { margin-top: 6px; } .tel .n-l .n { margin-top: 0; }
.tel .lvs { margin-top: 10px; gap: 4px; } .tel .lv { font-size: 12px; }
.chips-h { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px 14px; padding: 0 16px; scrollbar-width: none; } .chips-h::-webkit-scrollbar { display: none; }
.chip-f { flex: none; height: 32px; padding: 0 13px; border-radius: 16px; background: #fff; border: .5px solid rgba(0,0,0,.08); font-size: 14px; font-weight: 600; transition: background .25s, color .25s, transform .15s; }
.chip-f.on { background: #1D1D1F; color: #fff; border-color: #1D1D1F; }
.tel .sec { font-size: 13px; margin: 14px 6px 6px; } .tel .sec:first-child { margin-top: 0; }
.tel .it { padding: 0 12px; gap: 11px; } .tel .it-o { width: 12px; } .tel .it-t b { font-size: 15px; } .tel .it-h { width: 34px; font-size: 15px; } .tel .it-d { font-size: 13px; }
.tel .it.coche::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--ok); }
.imprevu.flottant { position: fixed; z-index: 16; left: 16px; right: 16px; bottom: calc(118px + env(safe-area-inset-bottom)); width: auto; height: 50px; padding: 0 6px 0 8px; border-radius: 25px; background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border: .5px solid rgba(0,0,0,.08); box-shadow: 0 8px 24px rgba(0,30,50,.08); font-size: 14px; color: rgba(60,60,67,.55); }
.tabbar { position: fixed; z-index: 15; left: 0; right: 0; bottom: 0; height: calc(96px + env(safe-area-inset-bottom)); display: flex; align-items: flex-end; justify-content: space-between; padding: 0 10px calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(245,246,248,0) 0%, rgba(245,246,248,.94) 45%); }
.onglet { flex: 1; height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #8E8E93; font-size: 10px; font-weight: 600; transition: color .2s, transform .15s; }
.onglet.on { color: var(--accent); }
.o-ic { display: flex; height: 26px; align-items: center; }
.o-ic.rebond { animation: rebond .45s var(--rebond); }
@keyframes rebond { 40% { transform: scale(1.18) translateY(-2px); } }
.t-micro { flex: none; width: 50px; height: 50px; margin: 0 6px 6px; border-radius: 16px; background: #0B0C10; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(0,0,0,.18); transition: transform .2s var(--rebond); }
.t-micro:active { transform: scale(.9); }
body.tel .feuille { left: 0; right: 0; top: auto; bottom: 0; width: 100%; max-width: none; max-height: 88vh; border-radius: 28px 28px 0 0; padding-bottom: env(safe-area-inset-bottom); transform: translateY(100%); opacity: 1; transition: transform .5s var(--ressort); }
body.tel .feuille.vu { transform: none; }
body.tel .feuille-poignee { display: block; width: 38px; height: 5px; border-radius: 3px; background: rgba(60,60,67,.25); margin: 8px auto 0; flex: none; padding: 10px 40px; background-clip: content-box; box-sizing: content-box; }
body.tel .amelia-feuille { width: 100%; }
body.tel .insp.tel { width: auto; border: 0; padding: 4px 4px 0; background: transparent; }
body.tel .insp-act { flex-wrap: wrap; } body.tel .insp-act .btn-noir { flex: 1 1 100%; }
body.tel .insp-act .btn-gris { flex: 1; }
/* À ranger (iPhone) */
.rg-pile { position: relative; margin-top: 2px; }
.rg-dessous { position: absolute; left: 12px; right: 12px; top: 8px; height: 100%; border-radius: 26px; background: #fff; opacity: .6; transform: translateY(16px) scale(.94); }
.tel .rg-carte { position: relative; border-radius: 28px; padding: 20px 18px 12px; box-shadow: 0 14px 40px rgba(0,30,50,.10); }
.tel .rg-carte h2 { font-size: 25px; line-height: 30px; letter-spacing: -0.6px; }
.rg-n { margin-left: auto; }
.tel .rg-prop { margin-top: 18px; } .tel .pr { justify-content: space-between; min-height: 46px; } .tel .pr-l { width: auto; font-size: 14px; } .tel .pv { height: 30px; font-size: 14px; }
.rg-carte.vers-droite { box-shadow: 0 14px 40px rgba(52,199,89,.25), inset 0 0 0 2px rgba(52,199,89,.5); }
.rg-carte.vers-gauche { box-shadow: 0 14px 40px rgba(255,56,60,.2), inset 0 0 0 2px rgba(255,56,60,.4); }
.rg-boutons { display: flex; justify-content: center; align-items: center; gap: 22px; margin-top: 46px; }
.rond { width: 64px; height: 64px; border-radius: 32px; display: flex; align-items: center; justify-content: center; background: #fff; border: .5px solid rgba(0,0,0,.08); box-shadow: 0 6px 18px rgba(0,30,50,.08); transition: transform .2s var(--rebond); }
.rond:first-child { color: var(--err-t); }
.rond.grand { width: 80px; height: 80px; border-radius: 40px; background: var(--marque); border: 1px solid rgba(255,255,255,.8); color: #fff; box-shadow: 0 12px 28px rgba(60,160,190,.35); }
.rg-astuce { text-align: center; margin-top: 16px; }
.tel .reg-profil label { padding: 0 12px; }
.tel .gl-form { grid-template-columns: 1fr; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
}
