/* Maquette du catalogue Usquare. Les jetons reprennent ceux du site :
   fond presque blanc, encre noire, un seul accent orange. */
:root {
  --fond: #fafafa;
  --encre: #000000;
  --gris: #737373;
  --accent: #ff7033;
  --sable: #f0eeea;
  --bord: #e5e5e5;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  background: #1c1c1e;
  color: var(--encre);
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-text-size-adjust: 100%;
}

.barre {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 20px;
  background: #121214;
  color: #fff;
  border-bottom: 1px solid #2a2a2e;
}
.marque { font-weight: 800; letter-spacing: 0.04em; }
.mention { color: #8a8a90; font-size: 13px; }

main { padding: 24px 16px 48px; }

/* La scène tient la double page et lui laisse de l'air autour. */
.scene {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
}

/* Une page : l'image en fond, les zones cliquables par-dessus, en
   pourcentage, pour qu'elles suivent la page à n'importe quelle taille. */
.page {
  background: var(--fond);
  overflow: hidden;
}
.fond {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.page--dure { background-color: #121214; }

.zone {
  position: absolute;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 14px;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.zone:hover,
.zone:focus-visible {
  box-shadow: 0 0 0 3px var(--accent);
  outline: none;
}
.zone:active { transform: scale(0.985); }
/* Une pastille discrète dit qu'on peut toucher. */
.zone::after {
  content: '';
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.commandes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 22px;
}
.rond {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid #3a3a40;
  background: #26262a;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.rond:hover { background: #32323a; }
.position { color: #8a8a90; font-size: 14px; min-width: 60px; text-align: center; }
.aide { text-align: center; color: #8a8a90; font-size: 13px; margin: 14px auto 0; max-width: 34em; }

/* La fiche cadeau */
.voile {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 10;
  padding: 0;
}
.fiche {
  position: relative;
  width: min(460px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  background: var(--fond);
  border-radius: 22px 22px 0 0;
  animation: monte 0.28s cubic-bezier(0.2, 0.9, 0.3, 1) both;
}
@keyframes monte { from { transform: translateY(100%); } }
@media (min-width: 700px) {
  .voile { align-items: center; padding: 20px; }
  .fiche { border-radius: 22px; }
  @keyframes monte { from { transform: translateY(24px); opacity: 0; } }
}

.fermer {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.9);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.portrait {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.9);
  font-size: 68px;
  font-weight: 800;
}
.corps { padding: 20px 22px 26px; }
.discipline {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gris);
}
.nom { margin: 6px 0 10px; font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.description { margin: 0 0 16px; color: #3f3f46; line-height: 1.55; }
.video {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  border-radius: 14px;
  background: var(--sable);
  color: var(--gris);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}
.label { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--gris); }
.montants { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.montant {
  padding: 16px 0;
  border: 1.5px solid var(--bord);
  border-radius: 14px;
  background: #fff;
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.montant:hover { border-color: #bbb; }
.montant.actif { border-color: var(--encre); background: var(--encre); color: #fff; }
.offrir {
  width: 100%;
  margin-top: 16px;
  padding: 17px 0;
  border: 0;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}
.offrir:hover { filter: brightness(0.95); }
.petit { margin: 12px 0 0; text-align: center; font-size: 12px; color: var(--gris); }

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