/* Burrata Records — plateforme : SEULEMENT les composants propres à burrata-tech.
   Tout le commun (couleurs, typo, en-tête, menu, boutons, tête de page, panneaux, tuiles, filtres, listes, toasts,
   champs) est dans le socle static/burrata.css, chargé AVANT ce fichier. Ne rien y recopier (25/10/2026). */

@font-face { font-family: 'Lato'; src: url('fonts/Lato-Light.ttf') format('truetype'); font-weight: 300; font-display: swap; }

/* ── Maquette — voir comme Antoine ou Théo : en bas de page, loin des outils et du parcours ── */
.voir-comme { display: flex; justify-content: center; gap: .4rem; margin: 2.2rem 0 0; flex-wrap: wrap; align-items: center; font-size: var(--t-xs); color: var(--texte-2); }
.voir-comme button { font-family: 'Lato', sans-serif; font-size: var(--t-xs); font-weight: 700; color: #fff; min-height: 28px; padding: .26rem .7rem; border-radius: var(--r-m);
    border: 1px solid var(--trait-fort); background: var(--surface); cursor: pointer; display: flex; align-items: center; gap: .35rem; }
.voir-comme button:hover { background: rgba(255,255,255,.14); }
.voir-comme button[aria-pressed="true"] { background: rgba(255,255,255,.16); border-color: var(--trait-fort); }
.voir-comme .avatar { width: 16px; height: 16px; font-size: var(--t-xs); }
.avatar.theo { background: #3a8fd8; }

/* ── Mention maquette : en bas de page, jamais par-dessus le contenu ── */
.maquette {
    display: block; width: fit-content; max-width: calc(100% - 2rem); margin: 2rem auto 1.5rem; text-align: center;
    font-size: var(--t-xs); color: var(--texte-2); padding: .3rem .8rem; border-radius: 999px;
    background: rgba(23,23,23,.6); border: 1px solid var(--trait);
}
.maquette b { color: var(--cyan); font-weight: 700; }

/* ── Petites cibles : jamais sous 24 px de côté (WCAG 2.2, cible minimale) ── */
.lien-simple { display: inline-flex; align-items: center; min-height: 32px; padding: .25rem 0; }

/* ── Garde-fou : interrupteurs de verrou ── */
.gf-verrous { display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap; }
.gf-verrou {
    display: inline-flex; align-items: center; gap: .5rem; cursor: pointer;
    font-family: 'Lato', sans-serif; font-size: var(--t-s); font-weight: 700; color: #fff;
    padding: .38rem .45rem .38rem .75rem; border-radius: 999px;
    border: 1px solid var(--trait-fort); background: rgba(255,255,255,.07); transition: background .2s, border-color .2s;
}
.gf-verrou:hover { background: rgba(255,255,255,.13); }
.gf-verrou:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.gf-cadenas svg { width: 14px; height: 14px; display: block; }
.gf-verrou.ferme .gf-cadenas { color: var(--vert); }
.gf-verrou.ouvert { border-color: rgba(245,165,36,.55); background: rgba(245,165,36,.12); }
.gf-verrou.ouvert .gf-cadenas { color: var(--orange); }
.gf-etat { font-weight: 400; font-size: var(--t-s); color: var(--texte-3); }
.gf-switch { position: relative; width: 30px; height: 18px; border-radius: 999px; background: rgba(255,255,255,.2); flex-shrink: 0; transition: background .2s; }
.gf-switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .2s; }
/* Les verrous vivent sur le Mac : ailleurs (site en ligne, app injoignable), un renvoi et pas d'interrupteur */
.gf-distant { display: flex; align-items: center; gap: .5rem; margin: 0; font-size: var(--t-s); line-height: 1.4; color: var(--texte-2); text-align: left; }
.gf-distant svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--vert); }
.gf-distant a { color: var(--cyan); }
.gf-verrou.ferme .gf-switch { background: var(--vert); }
.gf-verrou.ferme .gf-switch::after { transform: translateX(12px); }

/* ── Garde-fou : fenêtre de confirmation ── */
.gf-fond { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 1rem;
    background: rgba(5,4,8,.62); opacity: 0; pointer-events: none; transition: opacity .2s; }
.gf-fond.ouvert { opacity: 1; pointer-events: auto; }
.gf-boite { width: min(440px, 100%); max-height: 90vh; overflow-y: auto; padding: 1.5rem; border-radius: var(--r-m);
    background: var(--surface); border: 1px solid var(--trait); box-shadow: 0 24px 60px rgba(0,0,0,.55);
    transform: translateY(8px) scale(.98); transition: transform .2s; }
.gf-fond.ouvert .gf-boite { transform: none; }
.gf-tete { display: flex; align-items: center; gap: .7rem; margin-bottom: .9rem; }
.gf-ico { width: 34px; height: 34px; border-radius: var(--r-s); display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: rgba(255,255,255,.1); }
.gf-ico svg { width: 17px; height: 17px; }
.gf-boite.danger .gf-ico { background: rgba(255,45,85,.2); color: #ff9db2; }
.gf-boite.bloque .gf-ico, .gf-boite.info .gf-ico { background: rgba(78,189,161,.18); color: #8fe6cc; }
.gf-tete h2 { font-family: var(--titre); font-weight: 800; font-size: var(--t-l); letter-spacing: 0; line-height: 1.25; }
.gf-texte { font-size: var(--t-s); line-height: 1.5; color: var(--texte-2); margin-bottom: .6rem; }
.gf-sous { font-size: var(--t-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--texte-2); margin: .9rem 0 .4rem; }
.gf-liste { list-style: none; display: flex; flex-direction: column; gap: .35rem; }
.gf-liste li { font-size: var(--t-s); line-height: 1.4; padding-left: 1.3rem; position: relative; }
.gf-liste li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.gf-liste.change li::before { content: '→'; color: #ffc766; }
.gf-liste.intact li::before { content: '✓'; color: var(--vert); }
.gf-actions { display: flex; justify-content: flex-end; gap: .5rem; margin-top: 1.4rem; flex-wrap: wrap; }
.gf-btn { font-family: 'Lato', sans-serif; font-weight: 700; font-size: var(--t-s); padding: .62rem 1.05rem; border-radius: var(--r-s); cursor: pointer; color: #fff; }
.gf-annuler { background: rgba(255,255,255,.1); border: 1px solid var(--trait-fort); }
.gf-annuler:hover { background: rgba(255,255,255,.18); }
.gf-ok { background: #fff; color: var(--black); border: 1px solid #fff; }
.gf-ok:hover { background: var(--magenta); border-color: var(--magenta); color: #fff; }
.gf-ok.danger { background: rgba(255,45,85,.75); border-color: var(--rose); }
.gf-ok.danger:hover { background: var(--rose); }
/* Trois choix : empilés sur toute la largeur ; « déverrouiller » dans l'orange du verrou ouvert */
.gf-actions.pile { flex-direction: column; align-items: stretch; }
.gf-autre { background: rgba(245,165,36,.12); border: 1px solid rgba(245,165,36,.55); }
.gf-autre:hover { background: rgba(245,165,36,.26); }
.gf-btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
