/* Club SG — identité RÉELLE du site saintgermain.uy (identidad-visual/web/MANIFEST.md §5) :
   bleu marine #344A80 · or #BFAF82 · crème #E9EAE4 · rouge #DB2217 — hiérarchie luxe : bleu, or, blanc, rouge (Alex 2026-07-02).
   Typo : Work Sans auto-hébergée (celle du site) + Fraunces (substitut charte de Souvenir pour le display serif). */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;1,9..144,500&display=swap');
@font-face { font-family: 'Work Sans'; font-weight: 400; src: url('/static/worksans-400.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Work Sans'; font-weight: 500; src: url('/static/worksans-500.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Work Sans'; font-weight: 700; src: url('/static/worksans-700.woff2') format('woff2'); font-display: swap; }

:root {
  --navy: #344A80; --navy-deep: #273A66; --navy-soft: #3E5590;
  --gold: #BFAF82; --gold-dim: #B6A471; --gold-pale: #D8CCA8;
  --cream: #E9EAE4; --red: #DB2217; --blanc: #FFFFFF;
  --ok: #1F8A54; --no: #C2180E;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Work Sans', 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--navy); color: var(--cream);
  /* toile monogramme « G » — teinte or sur navy, ~5% d'opacité (cf. static/toile_g_navy.png,
     régénéré depuis toile_g.png). G réduits (retour Alex 04/07 : « TROP GROS, ça devrait être
     des petits détails ») — grain de tissu, pas un papier peint. Perceptible en la regardant,
     invisible au scroll. */
  background-image: url('/static/toile_g_navy.png');
  background-repeat: repeat; background-size: 100px 100px;
  min-height: 100vh; min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}
.serif { font-family: 'Fraunces', Georgia, serif; }
.wrap { max-width: 430px; margin: 0 auto; padding: 26px 10px 46px; } /* marges latérales -55% (retour Alex 04/07) */

/* ---- lockup Club Saint Germain ---- */
.logo-header { display: block; margin: 26px auto 22px; width: min(60vw, 248px); }
.club-word {
  display: flex; align-items: center; gap: 20px;
  font-weight: 500; font-size: 14px; letter-spacing: 11px; text-indent: 11px;
  text-transform: uppercase; color: var(--gold);
  margin: 0 6px 22px; justify-content: center;
}
.club-word::before, .club-word::after { content: ''; height: 1px; background: var(--gold); flex: 1; opacity: .55; }
/* shimmer or discret sur le mot « Club » — balayage lent, jamais clignotant */
.club-word span {
  background: linear-gradient(110deg, var(--gold) 0%, var(--gold) 38%, #fff 50%, var(--gold) 62%, var(--gold) 100%);
  background-size: 240% 100%; background-position: 200% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  animation: club-shimmer 7s ease-in-out infinite;
}
@keyframes club-shimmer {
  0%, 15% { background-position: 200% 0; }
  85%, 100% { background-position: -140% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .club-word span { animation: none; background: none; color: var(--gold); -webkit-text-fill-color: var(--gold); }
}

/* ---- filet tricolore d'orfèvre — 2px, sous un header/logo ---- */
.filet-tricolor {
  height: 2px; max-width: 220px; margin: 0 auto 26px; opacity: .8; border-radius: 1px;
  background: linear-gradient(to right, #2E4070 0%, #2E4070 33.3%, #fff 33.3%, #fff 66.6%, var(--red) 66.6%, var(--red) 100%);
  /* liseré : sans lui le tiers bleu se fond dans le fond navy et le filet semble amputé */
  box-shadow: 0 0 0 1px rgba(233, 234, 228, .28);
}

/* ---- carte de membre ---- */
.card {
  background: linear-gradient(165deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-soft) 100%);
  border: 1px solid rgba(191, 175, 130, .9); border-radius: 3px;
  padding: 34px 26px 28px; box-shadow: 0 24px 70px rgba(15, 23, 48, .55);
  position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; inset: 0;
  background: url('/static/toile_g_navy.png') repeat; background-size: 100px;
  pointer-events: none;
}
.card::after {
  content: ''; position: absolute; inset: 8px;
  border: 1px solid rgba(191, 175, 130, .45); border-radius: 1px; pointer-events: none;
}
.card .top { display: flex; justify-content: space-between; align-items: center; gap: 14px; position: relative; }
.card .club { font-weight: 500; font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); }
.card .num { font-weight: 400; font-size: 10.5px; letter-spacing: 2px; color: var(--gold-pale); white-space: nowrap; }
.card .foto {
  width: 110px; height: 110px; border-radius: 50%; object-fit: cover;
  border: 1px solid var(--gold); outline: 1px solid rgba(191, 175, 130, .4); outline-offset: 6px;
  display: block; margin: 32px auto 22px; position: relative;
}
.card .nombre {
  font-family: 'Fraunces', Georgia, serif; font-weight: 400;
  text-align: center; font-size: 29px; letter-spacing: .5px; color: var(--blanc); position: relative;
}
.card .filet {
  display: flex; align-items: center; gap: 8px; margin: 18px 34px; position: relative;
}
.card .filet .ln { height: 1px; background: var(--gold); flex: 1; opacity: .45; }
.card .filet i {
  width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); display: block; flex-shrink: 0;
}
/* micro-ornement épi de blé (or) aux extrémités du filet — clin d'oeil discret, cf. sello_G_tradition_francaise */
.card .filet .epi { flex-shrink: 0; opacity: .8; color: var(--gold); }
.card .filet .epi.epi-r { transform: scaleX(-1); }
.card .estado { text-align: center; position: relative; }
.badge {
  display: inline-block; font-weight: 500;
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  padding: 8px 18px; border: 1px solid var(--gold); color: var(--gold); border-radius: 1px;
}
.badge.on { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }
.badge.wait { opacity: .9; }
.disp { text-align: center; margin-top: 18px; font-size: 13.5px; letter-spacing: .4px; color: var(--gold-pale); position: relative; }
.disp strong { color: var(--blanc); font-weight: 500; }
/* Mensaje de estado bajo la carta : espera (validación) y bienvenida (recién validado) */
.msg-estado { margin-top: 14px; padding: 12px 16px; border-radius: 8px; font-size: 13.5px;
  line-height: 1.55; text-align: center; }
.msg-estado.wait { color: var(--gold-pale); background: rgba(191, 175, 130, .10);
  border: 1px solid rgba(191, 175, 130, .32); }
.msg-estado.ok { color: var(--navy-deep); background: var(--gold); border: 1px solid var(--gold);
  font-weight: 500; }
/* Parrainage « stamp card » : un croissant por filleul, medalla Embajador al 3º */
.parrain-progreso { margin-top: 16px; text-align: center; }
.parrain-progreso .slots { display: inline-flex; gap: 12px; }
.parrain-progreso .slot { width: 46px; height: 46px; border-radius: 11px; line-height: 1;
  border: 1.5px solid rgba(191, 175, 130, .40); display: flex; align-items: center;
  justify-content: center; font-size: 24px; transition: background .25s, border-color .25s; }
.parrain-progreso .slot.on { background: rgba(191, 175, 130, .16); border-color: var(--gold); }
.parrain-progreso .slot.on::before { content: '🥐'; }
.parrain-progreso.embajador .slot { border-color: var(--gold); background: rgba(191, 175, 130, .30); }
.parrain-medalla { display: none; margin-top: 14px; font-size: 15px; letter-spacing: .5px;
  font-weight: 500; color: var(--navy-deep); background: var(--gold); border-radius: 24px; padding: 8px 20px; }
.parrain-progreso.embajador .parrain-medalla { display: inline-block; }
.parrain-meta { margin-top: 12px; font-size: 12.5px; line-height: 1.5; color: var(--gold-pale); }
.parrain-meta strong { color: var(--blanc); font-weight: 500; }
.card .pie {
  margin-top: 26px; display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative;
}
.tricolor { display: flex; width: 28px; height: 7px; border: 1px solid rgba(255,255,255,.45); }
.tricolor span { flex: 1; }
.tricolor span:nth-child(1) { background: #2E4070; }
.tricolor span:nth-child(2) { background: var(--blanc); }
.tricolor span:nth-child(3) { background: var(--red); }
.card .pie .et { font-size: 8.5px; letter-spacing: 4px; color: var(--gold); font-weight: 400; }
/* sello d'orfèvre discret sous ET. 2019 — 1 seule touche, cf. identidad-visual/SG/sello_G_tradition_francaise */
.card .pie .sello { width: 15px; height: auto; opacity: .8; margin-top: 2px; }

.promo {
  margin-top: 28px; background: transparent;
  border: 1px solid rgba(191, 175, 130, .6); border-radius: 1px;
  padding: 16px; text-align: center; font-size: 13px; letter-spacing: .5px; color: var(--cream);
}
.promo::before {
  content: 'Beneficio del mes'; display: block; font-size: 9px; font-weight: 500;
  letter-spacing: 3.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 8px;
}
.hint { margin-top: 30px; text-align: center; font-size: 12px; opacity: .72; line-height: 1.7; letter-spacing: .4px; }

/* ---- formularios ---- */
form.alta { display: flex; flex-direction: column; gap: 15px; margin-top: 4px; }
form.alta label { font-weight: 500; font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; display: block; }
form.alta input[type=text], form.alta input[type=tel], form.alta input[type=email], form.alta input[type=date], form.alta input[type=password] {
  width: 100%; padding: 13px 14px; border-radius: 0; border: 1px solid rgba(233, 234, 228, .45);
  background: rgba(233, 234, 228, .07); color: var(--blanc); font-size: 16px; font-family: inherit;
}
form.alta input:focus { outline: none; border-color: var(--gold); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; line-height: 1.5; opacity: .9; }
.btn {
  display: block; width: 100%; padding: 17px; border: none; border-radius: 0;
  background: var(--gold); color: var(--blanc); font-size: 13px; font-weight: 500;
  font-family: 'Work Sans', Arial, sans-serif; letter-spacing: 3.5px; text-transform: uppercase; cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn:hover { background: var(--gold-dim); box-shadow: 0 6px 16px rgba(191, 175, 130, .3); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .btn { transition: background .2s; }
  .btn:hover { transform: none; }
}
.selfie-box { border: 1px solid rgba(191, 175, 130, .6); border-radius: 0; padding: 16px; text-align: center; }
.selfie-box img { max-width: 120px; border-radius: 50%; margin-top: 10px; border: 2px solid var(--gold); }

/* ---- resultado scan ---- */
.scan-result { text-align: center; margin-top: 5vh; }
.scan-result .big { font-family: 'Fraunces', Georgia, serif; font-size: 52px; color: var(--gold); font-weight: 400; }
.scan-result h2 { font-family: 'Fraunces', Georgia, serif; font-weight: 400; font-size: 27px; margin: 18px 0 12px; color: var(--blanc); }
.scan-result p { font-size: 14px; opacity: .85; line-height: 1.7; letter-spacing: .3px; }

/* ---- pantalla del local ---- */
body.pantalla { overflow: hidden; background: var(--navy); }
.pt-idle { position: fixed; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2.4vh; }
.pt-idle .iso { width: 26vh; height: 26vh; }
.pt-idle .hora { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 8vh; color: var(--gold); }
.pt-idle .lugar { font-weight: 700; font-size: 2.1vh; letter-spacing: 6px; text-transform: uppercase; color: var(--cream); opacity: .8; }
.pt-idle .pt-promo { font-size: 2.5vh; color: var(--gold-pale); max-width: 72vw; text-align: center; }
.pt-event {
  position: fixed; inset: 0; display: flex; flex-direction: column;
  justify-content: center; align-items: center; gap: 2vh; transition: background .3s;
}
.pt-event.ok { background: var(--ok); }
.pt-event.no { background: var(--no); }
.pt-event img.foto { width: 34vh; height: 34vh; border-radius: 50%; object-fit: cover; border: 6px solid #fff; }
.pt-event .nombre { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 6vh; color: #fff; }
.pt-event .num { font-weight: 500; font-size: 2.4vh; letter-spacing: 4px; color: rgba(255,255,255,.9); }
.pt-event .verdict { font-weight: 700; font-size: 5vh; color: #fff; letter-spacing: 4px; }
.pt-event .motivo { font-size: 2.8vh; color: rgba(255,255,255,.95); }
.pt-event .cumple { font-size: 3.2vh; background: rgba(0,0,0,.28); padding: 1vh 3vh; border-radius: 999px; color: #fff; }
.pt-bar { position: fixed; bottom: 0; left: 0; height: 8px; background: rgba(255,255,255,.92); transition: width 1s linear; }

/* ---- admin ---- */
body.admin { background: var(--cream); color: #1C1D1D; }
body.admin .wrap { max-width: 1000px; }
body.admin h1 { color: var(--navy); font-family: 'Fraunces', Georgia, serif; font-weight: 600; margin-bottom: 18px; }
table.socios { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 14px; background: #fff; }
table.socios th, table.socios td { padding: 8px 10px; border-bottom: 1px solid #d9dbd0; text-align: left; }
table.socios th { background: var(--navy); color: #fff; font-weight: 500; letter-spacing: 1.5px; font-size: 10.5px; text-transform: uppercase; }
.est { padding: 3px 10px; border-radius: 999px; font-size: 11px; }
.est.activo { background: #d8f2e3; color: #14713f; }
.recompensa-badge { display: inline-block; font-size: 10px; color: #7a6a2e; background: rgba(191, 175, 130, .22);
  border-radius: 6px; padding: 1px 6px; margin-top: 2px; }
.recompensa-badge.pend { color: #8a5a0f; background: #fbeec9; font-weight: 600; }
.est.waitlist { background: #f3ecd7; color: #7c6516; }
.est.suspendido, .est.baja { background: #fbdcd9; color: #a3170c; }
/* Cobro en caja (2026-09-29) : vencimiento por socio + formulario « Registrar pago » */
.vence { font-size: 12px; white-space: nowrap; color: #555; }
.vence.pronto { color: #7c6516; font-weight: 600; }
.vence.vencida { color: #a3170c; font-weight: 600; }
.form-pago { display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0; }
.form-pago select { font-size: 12px; padding: 3px 4px; max-width: 150px; }
.mini { padding: 5px 10px; font-size: 12px; border: 1px solid var(--navy); background: #fff; color: var(--navy); border-radius: 0; cursor: pointer; letter-spacing: .5px; }
.admin-kpi { display: flex; gap: 18px; margin: 10px 0 4px; }
.admin-kpi .kpi { background: var(--navy); color: #fff; border-radius: 2px; padding: 12px 18px; }
.admin-kpi .kpi b { font-size: 22px; display: block; font-family: 'Fraunces', Georgia, serif; }
/* KPI « en espera » : discret a 0, resaltado en oro cuando hay socios por validar */
.admin-kpi .kpi.espera { background: #fff; color: var(--navy); border: 1px solid #d9dbd0; }
.admin-kpi .kpi.espera.on { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }
.aviso-espera { font-size: 12.5px; color: #7c6516; background: #f3ecd7; border-radius: 6px;
  padding: 8px 12px; margin: 6px 0 12px; }
/* Fila de un socio en espera : barra oro a la izquierda + fondo tenue, para verlo de un vistazo */
table.socios tr.fila-espera td { background: #fbf6e6; }
table.socios tr.fila-espera td:first-child { box-shadow: inset 3px 0 0 var(--gold); }
/* Boton Activar destacado solo para los que esperan validacion */
.mini.validar { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); font-weight: 600; }

/* ==================================================================
   Mini-site socio (J-10) — 3 onglets : Saint Germain / Mi carta / Socio
   Vanilla, transform/opacity uniquement, respecte prefers-reduced-motion.
   ================================================================== */
body.minisite .wrap { padding-bottom: 46px; }

.guarda {
  height: 12px; margin: 26px 0; opacity: .55;
  background: url('/static/guarda.svg') repeat-x left center;
  background-size: auto 12px;
}

/* ---- panneaux d'onglet ---- */
.tab-panel { display: none; }
.tab-panel.active {
  display: block;
  animation: tab-in .38s cubic-bezier(.22, .68, .3, 1);
}
@keyframes tab-in {
  from { opacity: 0; transform: translateY(9px) scale(.995); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .tab-panel.active { animation: none; }
}

.tab-heading {
  font-family: 'Fraunces', Georgia, serif; font-weight: 400; font-size: 25px;
  color: var(--blanc); text-align: center; margin: 6px 0 4px;
}
.tab-subheading {
  text-align: center; font-size: 13px; letter-spacing: .3px; opacity: .8;
  color: var(--gold-pale); margin-bottom: 10px;
}

/* ---- onglet Saint Germain : foto del día + locales ---- */
.foto-dia-wrap {
  border: 1px solid rgba(191, 175, 130, .65); border-radius: 2px; overflow: hidden;
  margin-bottom: 8px; background: var(--navy-deep);
  padding: 9px 9px 0; box-shadow: 0 10px 26px rgba(15, 23, 48, .3);
}
.foto-dia-wrap img {
  /* photo ENTIÈRE, jamais recadrée (retour Alex 04/07) — hauteur naturelle.
     Passe-partout fin or (padding du parent + liseré) = effet cadre de galerie. */
  display: block; width: 100%; height: auto; border-radius: 1px;
  outline: 1px solid rgba(191, 175, 130, .4); outline-offset: -1px;
}
.foto-dia-label {
  text-align: center; font-size: 9.5px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); padding: 9px 0 4px; border-top: 1px solid rgba(191, 175, 130, .35);
}
.foto-dia-leyenda {
  text-align: center; font-size: 11.5px; line-height: 1.55; color: var(--cream);
  opacity: .82; padding: 0 12px 11px; letter-spacing: .2px;
}
.locales-list { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.local-card {
  border: 1px solid rgba(191, 175, 130, .6); border-radius: 2px; padding: 16px 18px;
  background: rgba(233, 234, 228, .04); box-shadow: 0 2px 12px rgba(191, 175, 130, .07);
  border-bottom: 2px solid rgba(191, 175, 130, .35);
}
.local-card .nombre-local {
  font-family: 'Fraunces', Georgia, serif; font-size: 19px; color: var(--gold-pale);
  letter-spacing: .3px; margin-bottom: 8px; padding-bottom: 7px;
  border-bottom: 1px solid rgba(191, 175, 130, .28);
}
.local-card .dato { font-size: 12.5px; line-height: 1.6; color: var(--cream); opacity: .88; }
.local-card .dato.pendiente { color: var(--gold-pale); opacity: .75; font-style: italic; }
.local-card .wa-btn {
  display: inline-block; margin-top: 10px; padding: 8px 18px; font-size: 11px;
  letter-spacing: 2px; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--gold); color: var(--gold); border-radius: 999px;
}
.local-card .wa-btn.disabled { opacity: .4; pointer-events: none; }
.local-card .tel-link { color: var(--cream); text-decoration: none; border-bottom: 1px dotted rgba(233,234,228,.4); }
/* fermoir épi de blé (or) en pied de fiche locale — même micro-ornement que le filet de la carte */
.local-card .local-close { text-align: center; margin-top: 12px; opacity: .55; color: var(--gold); }

/* ---- onglet Socio ---- */
.fundador-box {
  border: 1px solid rgba(191, 175, 130, .75); border-radius: 2px; padding: 22px 20px;
  text-align: center; margin-bottom: 22px; background: rgba(191, 175, 130, .08);
  box-shadow: 0 2px 14px rgba(191, 175, 130, .09);
}
.fundador-box .num { font-size: 9.5px; letter-spacing: 3.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.fundador-box p { font-size: 14px; line-height: 1.75; color: var(--cream); letter-spacing: .2px; }
.privilegios-list { display: flex; flex-direction: column; gap: 12px; }
.privilegio {
  display: flex; align-items: flex-start; gap: 10px; padding: 4px 0;
}
.privilegio .epi { flex-shrink: 0; margin-top: 2px; opacity: .9; }
/* notre trigo (image) : puce des privilèges + fermoir des fiches locales */
img.epi { width: 13px; height: auto; display: inline-block; }
.local-card .local-close .epi { width: 19px; }
.privilegio-body { min-width: 0; }
.privilegio .titulo {
  font-weight: 500; font-size: 11.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold);
}
.privilegio .texto { font-size: 13px; color: var(--cream); opacity: .88; line-height: 1.6; margin-top: 4px; }
.pendiente-box {
  margin-top: 20px; border: 1px dashed rgba(191, 175, 130, .5); border-radius: 2px;
  padding: 14px; font-size: 12px; color: var(--gold-pale); opacity: .8; font-style: italic; text-align: center;
}

/* ---- onglet Socio : Minis exclusivos ---- */
.minis-titulo {
  font-family: 'Fraunces', Georgia, serif; font-weight: 400; font-size: 19px;
  color: var(--blanc); text-align: center; margin-bottom: 6px;
}
.minis-intro {
  text-align: center; font-size: 12.5px; color: var(--gold-pale); opacity: .85;
  line-height: 1.6; margin-bottom: 16px;
}
.minis-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px;
}
.mini-card {
  border: 1px solid rgba(191, 175, 130, .5); border-radius: 2px; overflow: hidden;
  background: rgba(233, 234, 228, .04); text-align: center;
  box-shadow: 0 2px 10px rgba(191, 175, 130, .06);
}
.mini-card img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.mini-foto-vacia {
  width: 100%; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center;
  color: var(--gold); opacity: .5; background: rgba(191, 175, 130, .06);
}
.mini-foto-vacia .epi { width: 22px; height: 28px; }
.mini-nombre { font-size: 12px; color: var(--cream); padding: 8px 8px 2px; letter-spacing: .2px; }
.mini-precio { font-size: 13px; color: var(--gold); font-weight: 500; padding: 0 8px 10px; letter-spacing: .5px; }
.mini-linea {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  padding: 9px 2px; font-size: 13px; color: var(--cream); opacity: .9;
  border-top: 1px solid rgba(191, 175, 130, .25);
}
.mini-linea:first-of-type { border-top: 1px solid rgba(191, 175, 130, .4); }
.mini-linea-precio { color: var(--gold); font-weight: 500; white-space: nowrap; }
/* opciones de minis en texto (la foto de abajo las muestra todas) */
.minis-opciones {
  list-style: none; margin: 0 0 14px; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 7px 10px;
}
.minis-opciones li {
  font-size: 12.5px; color: var(--cream); opacity: .9; letter-spacing: .2px;
  border: 1px solid rgba(191, 175, 130, .35); border-radius: 999px; padding: 5px 12px;
}
/* LA foto de los minis : una sola, después de la descripción/precios */
.minis-foto {
  display: block; width: 100%; height: auto; margin-top: 16px; border-radius: 2px;
  border: 1px solid rgba(191, 175, 130, .5); outline: 1px solid rgba(191, 175, 130, .35);
  outline-offset: -4px; box-shadow: 0 8px 22px rgba(15, 23, 48, .28);
}

/* ---- tab bar : pills arriba, debajo del logo/« Club » (affordance de bouton) ---- */
.tabbar {
  display: flex; gap: 8px; margin: 0 0 28px;
}
.tabbar button {
  position: relative; flex: 1; background: var(--navy-deep);
  border: 1px solid rgba(191, 175, 130, .5); border-radius: 999px; cursor: pointer;
  padding: 11px 6px; font-family: 'Work Sans', Arial, sans-serif;
  font-size: 10.5px; letter-spacing: .8px; text-transform: uppercase; font-weight: 500;
  color: var(--gold-pale); opacity: .85;
  box-shadow: 0 2px 6px rgba(15, 23, 48, .25);
  transition: background .2s, color .2s, box-shadow .2s, transform .15s;
}
.tabbar button:hover:not(.active) {
  background: rgba(191, 175, 130, .14); border-color: rgba(191, 175, 130, .75);
  color: var(--gold-pale); opacity: 1;
}
.tabbar button:active { transform: scale(.97); }
.tabbar button.active {
  background: var(--gold); color: var(--navy-deep); opacity: 1;
  border-color: var(--gold);
  box-shadow: 0 4px 12px rgba(15, 23, 48, .35);
}
@media (prefers-reduced-motion: reduce) {
  .tabbar button { transition: none; }
}

/* ---- badge 🥐 de notification sur les boutons d'onglet ---- */
.tab-badge {
  display: none; position: absolute; top: -7px; right: 6px;
  font-size: 13px; line-height: 1;
  filter: drop-shadow(0 1px 2px rgba(15, 23, 48, .5));
}
.tab-badge.show { display: inline-block; animation: badge-pulso 1.8s ease-in-out infinite; }
@keyframes badge-pulso {
  0%, 100% { transform: scale(1); opacity: .88; }
  50% { transform: scale(1.3); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .tab-badge.show { animation: none; }
}

/* ---- bannière d'installation PWA (moment fort, remplace l'ancien install-hint discret) ---- */
.install-banner {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  margin-top: 22px; padding: 14px 16px; border-radius: 3px;
  background: linear-gradient(120deg, rgba(191, 175, 130, .18), rgba(191, 175, 130, .06));
  border: 1px solid var(--gold); color: var(--blanc);
  font-size: 13.5px; letter-spacing: .3px;
  animation: install-banner-in .4s ease-out;
}
.install-banner-icon { font-size: 20px; line-height: 1; }
.install-banner-text { font-weight: 500; }
.install-banner:active { background: rgba(191, 175, 130, .25); }
@keyframes install-banner-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .install-banner { animation: none; }
}

/* ---- overlay instructions instalación iOS/Safari (Compartir → Agregar a pantalla de inicio) ---- */
.install-overlay {
  position: fixed; inset: 0; z-index: 70; display: none;
  background: rgba(11, 18, 32, .92); align-items: center; justify-content: center; padding: 24px;
}
.install-overlay.show { display: flex; }
.install-card {
  position: relative; width: 100%; max-width: 340px;
  background: var(--navy-deep); border: 1px solid var(--gold); border-radius: 4px;
  padding: 30px 24px 26px; text-align: center;
}
.install-close {
  position: absolute; top: 12px; right: 14px; color: var(--gold-pale);
  opacity: .8; font-size: 16px; cursor: pointer;
}
.install-heading {
  font-family: 'Fraunces', Georgia, serif; font-size: 21px; color: var(--blanc); margin-bottom: 22px;
}
.install-step { display: flex; align-items: center; gap: 14px; text-align: left; margin-bottom: 18px; }
.install-icon { color: var(--gold); flex-shrink: 0; }
.install-text { font-size: 13.5px; line-height: 1.5; color: var(--cream); }
.install-text strong { color: var(--gold-pale); }
.install-card .btn { margin-top: 8px; }

/* ---- accent drapeau fin (fr_flag.png, 27x18) — jamais un gros drapeau, juste un clin d'oeil ---- */
.flag-accent {
  height: 11px; width: auto; margin-left: 9px; vertical-align: middle;
  border-radius: 1px; box-shadow: 0 0 0 1px rgba(191, 175, 130, .4);
  position: relative; top: -1px;
}

/* ---- acceso.html (pantalla/admin, sin contraseña) — même identité navy + toile que carta/recuperar ---- */
.login-wrap { max-width: 360px; margin: 64px auto; }
.login-wrap .logo-header { margin-bottom: 18px; }
.login-heading {
  font-family: 'Fraunces', Georgia, serif; font-weight: 400; font-size: 22px;
  color: var(--blanc); text-align: center; margin-bottom: 22px; letter-spacing: .3px;
}
.login-error {
  color: #F0A79E; background: rgba(219, 34, 23, .12); border: 1px solid rgba(219, 34, 23, .4);
  border-radius: 1px; padding: 10px 12px; font-size: 12.5px; text-align: center;
  margin-bottom: 16px; letter-spacing: .2px;
}
