/* Shibuya Store — feuille de style
   Palette tirée du logo : rose bonbon, lagon, cacao (contours). */

@font-face { font-family: "Fredoka"; font-weight: 400; font-display: swap; src: url("../fonts/fredoka-400.woff2") format("woff2"); }
@font-face { font-family: "Fredoka"; font-weight: 500; font-display: swap; src: url("../fonts/fredoka-500.woff2") format("woff2"); }
@font-face { font-family: "Fredoka"; font-weight: 600; font-display: swap; src: url("../fonts/fredoka-600.woff2") format("woff2"); }
@font-face { font-family: "Fredoka"; font-weight: 700; font-display: swap; src: url("../fonts/fredoka-700.woff2") format("woff2"); }

:root {
  --rose: #ec8fa4;
  --rose-pale: #fbe3ea;
  --lagon: #6cc3d3;
  --lagon-pale: #e2f3f6;
  --lagon-fonce: #1d6b7a;
  --cacao: #3b2a22;
  --cacao-doux: #6b5449;
  --nuage: #fff8fa;
  --trait: 3px solid var(--cacao);
  --ombre-sticker: 4px 5px 0 var(--cacao);
  --rayon-carte: 22px;
  --largeur: 68rem;
  font-size: 106.25%; /* 17px */
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Fredoka", "Arial Rounded MT Bold", ui-rounded, system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.55;
  color: var(--cacao);
  background-color: var(--nuage);
  background-image:
    radial-gradient(ellipse 60% 45% at 8% 10%, rgba(236, 143, 164, .35), transparent 70%),
    radial-gradient(ellipse 55% 40% at 95% 25%, rgba(108, 195, 211, .35), transparent 70%),
    radial-gradient(ellipse 60% 50% at 20% 85%, rgba(108, 195, 211, .22), transparent 70%),
    radial-gradient(ellipse 50% 45% at 90% 95%, rgba(236, 143, 164, .25), transparent 70%);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--lagon-fonce); text-underline-offset: .18em; text-decoration-thickness: 2px; }
a:hover { color: var(--cacao); }

:focus-visible { outline: 3px solid var(--lagon-fonce); outline-offset: 3px; border-radius: 6px; }

.lien-evitement {
  position: absolute; left: 1rem; top: -4rem; z-index: 50;
  background: var(--cacao); color: #fff; padding: .6rem 1rem; border-radius: 10px;
}
.lien-evitement:focus { top: 1rem; }

.conteneur { width: min(100% - 2.5rem, var(--largeur)); margin-inline: auto; }

/* ---------- En-tête ---------- */
.entete {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 248, 250, .88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(59, 42, 34, .08);
}
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.marque { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--cacao); font-weight: 600; font-size: 1.15rem; }
.marque img { width: 44px; height: 44px; }
.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a { color: var(--cacao); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--lagon-fonce); }
.nav .insta { display: inline-flex; width: 2.4rem; height: 2.4rem; align-items: center; justify-content: center; border: 2px solid var(--cacao); border-radius: 50%; }
.nav .insta svg { width: 1.2rem; height: 1.2rem; }
@media (max-width: 44rem) {
  .nav a:not(.insta) { display: none; }
}

/* ---------- Accueil ---------- */
.accueil { text-align: center; padding: 3rem 0 4rem; }
.accueil .logo { width: min(19rem, 72vw); margin: 0 auto 1rem; filter: drop-shadow(0 10px 24px rgba(108, 195, 211, .35)); }

.titre-bulle {
  font-weight: 700;
  font-size: clamp(2.2rem, 6.5vw, 4rem);
  max-width: 16ch; margin-inline: auto;
  line-height: 1;
  letter-spacing: .01em;
  color: var(--rose);
  margin-top: 0; margin-bottom: 1rem;
  text-shadow:
    0 0 0 #fff, 2px 2px 0 #fff, -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff,
    0 0 18px rgba(108, 195, 211, .9);
}
.accroche { font-size: 1.2rem; max-width: 34rem; margin: 0 auto 1.8rem; color: var(--cacao); }

.statut {
  display: inline-block; margin: 0 0 1.6rem; padding: .35rem 1rem;
  border-radius: 999px; background: #fff; border: 2px solid var(--cacao);
  font-weight: 500;
}
.statut[hidden] { display: none; }
.statut .pastille { display: inline-block; width: .6rem; height: .6rem; border-radius: 50%; margin-right: .45rem; vertical-align: .08em; background: #3fa66b; }
.statut.ferme .pastille { background: var(--rose); }

.actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }
.bouton {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .8rem 1.4rem; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 1.05rem; text-decoration: none;
  border: var(--trait); box-shadow: var(--ombre-sticker);
  transition: transform .12s ease, box-shadow .12s ease;
}
.bouton svg { width: 1.15rem; height: 1.15rem; flex: none; }
.bouton:hover { transform: translate(-1px, -1px); box-shadow: 6px 7px 0 var(--cacao); color: inherit; }
.bouton:active { transform: translate(3px, 4px); box-shadow: 1px 1px 0 var(--cacao); }
.bouton-rose { background: var(--rose); color: var(--cacao); }
.bouton-lagon { background: var(--lagon); color: var(--cacao); }
.bouton-blanc { background: #fff; color: var(--cacao); }

.avis {
  display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .2rem .6rem; margin-top: 2rem;
  color: var(--cacao); text-decoration: none; font-weight: 500;
}
.avis .etoiles { color: #f2b01e; letter-spacing: .1em; font-size: 1.25rem; -webkit-text-stroke: 1px var(--cacao); }
.avis:hover span:last-child { text-decoration: underline; }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section h2 {
  font-weight: 700; font-size: clamp(1.9rem, 4.5vw, 2.6rem); line-height: 1.1;
  margin: 0 0 .6rem; color: var(--lagon);
  text-shadow: 2px 2px 0 #fff, -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, 0 0 16px rgba(236, 143, 164, .6);
}
.section .intro { font-size: 1.15rem; max-width: 40rem; margin: 0 0 2.5rem; }

/* En boutique */
.rayons { list-style: none; padding: 0; margin: 0; display: grid; gap: 2rem 3rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
@media (min-width: 52rem) { .rayons { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 70rem) { .rayons { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
.rayons li { border-left: 5px solid var(--rose); padding-left: 1.1rem; }
.rayons li:nth-child(2) { border-color: var(--lagon); }
.rayons li:nth-child(3) { border-color: var(--cacao); }
.rayons li:nth-child(4) { border-color: #f2b01e; }
.rayons h3 { margin: 0 0 .3rem; font-weight: 600; font-size: 1.25rem; }
.rayons p { margin: 0; color: var(--cacao-doux); }

/* ---------- Rachat & échange : les deux cartes ---------- */
.fond-lagon { background: linear-gradient(180deg, rgba(226, 243, 246, 0) 0, rgba(226, 243, 246, .85) 12%, rgba(251, 227, 234, .85) 88%, rgba(251, 227, 234, 0) 100%); }

.cartes { display: flex; flex-wrap: wrap; gap: 2.5rem; justify-content: center; margin: 1rem 0 3.5rem; perspective: 900px; }

.carte-tcg {
  --mx: 50%; --my: 50%; --rx: 0deg; --ry: 0deg;
  position: relative; width: min(17.5rem, 100%); aspect-ratio: 63 / 88;
  border: 4px solid var(--cacao); border-radius: var(--rayon-carte);
  padding: .8rem;
  box-shadow: 6px 8px 0 var(--cacao);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .25s ease;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.carte-tcg.rachat { background: var(--rose); rotate: -3deg; }
.carte-tcg.echange { background: var(--lagon); rotate: 3deg; }

.carte-tcg .cadre {
  flex: 1; display: flex; flex-direction: column; justify-content: space-between;
  background: rgba(255, 255, 255, .92); border: 3px solid var(--cacao); border-radius: 14px;
  padding: 1.1rem 1rem 1rem; text-align: center;
}
.carte-tcg .nom { font-weight: 600; font-size: 1.35rem; margin: 0; display: flex; justify-content: space-between; align-items: baseline; }
.carte-tcg .nom small { font-size: .85rem; font-weight: 500; color: var(--cacao-doux); }
.carte-tcg .taux { font-weight: 700; font-size: clamp(2.2rem, 9vw, 2.7rem); white-space: nowrap; letter-spacing: -.01em; line-height: 1; margin: .4rem 0 .1rem; }
.carte-tcg.rachat .taux { color: #d9667f; }
.carte-tcg.echange .taux { color: var(--lagon-fonce); }
.carte-tcg .sous-taux { margin: 0; font-weight: 500; }
.carte-tcg .texte { margin: 0; font-size: .95rem; color: var(--cacao-doux); border-top: 2px dashed rgba(59, 42, 34, .25); padding-top: .8rem; }

/* reflet holographique */
.carte-tcg::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, .55), transparent 38%),
    linear-gradient(115deg, transparent 20%, rgba(255, 170, 200, .35) 36%, rgba(150, 230, 240, .35) 48%, rgba(255, 240, 160, .3) 60%, transparent 76%);
  background-size: 100% 100%, 250% 250%;
  background-position: 0 0, var(--mx) var(--my);
  mix-blend-mode: soft-light;
  opacity: .7;
  transition: opacity .25s ease;
}
.carte-tcg:hover::after { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .carte-tcg { transition: none; transform: none; }
}

.regles-bloc { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 52rem) { .regles-bloc { grid-template-columns: 1.2fr 1fr; } }
.regles-bloc h3 { font-weight: 600; font-size: 1.4rem; margin: 0 0 1rem; }
.regles { list-style: none; margin: 0; padding: 0; }
.regles li { position: relative; padding: .55rem 0 .55rem 2rem; border-bottom: 2px dotted rgba(59, 42, 34, .18); }
.regles li:last-child { border-bottom: 0; }
.regles li::before {
  content: ""; position: absolute; left: .1rem; top: .95rem; width: 1rem; height: 1rem; border-radius: 50%;
  background: linear-gradient(180deg, var(--rose) 0 45%, var(--cacao) 45% 55%, #fff 55%);
  border: 2px solid var(--cacao);
}
.regles strong { font-weight: 600; }
.visuel-weekend { border: var(--trait); border-radius: var(--rayon-carte); box-shadow: var(--ombre-sticker); overflow: hidden; background: #fff; }

/* ---------- Horaires & accès ---------- */
.infos { display: grid; gap: 3rem; grid-template-columns: 1fr; }
@media (min-width: 52rem) { .infos { grid-template-columns: 1fr 1fr; } }
.infos h3 { font-weight: 600; font-size: 1.4rem; margin: 0 0 1rem; }

.horaires { width: 100%; border-collapse: collapse; font-size: 1.05rem; }
.horaires th, .horaires td { padding: .55rem .8rem; text-align: left; }
.horaires th { font-weight: 500; }
.horaires td { text-align: right; font-variant-numeric: tabular-nums; }
.horaires tr { border-bottom: 2px dotted rgba(59, 42, 34, .18); }
.horaires tr:last-child { border-bottom: 0; }
.horaires tr.aujourdhui { background: #fff; outline: 3px solid var(--cacao); border-radius: 12px; }
.horaires tr.aujourdhui th::after { content: " (aujourd’hui)"; color: var(--cacao-doux); font-size: .9rem; }
.horaires .ferme-jour td { color: var(--cacao-doux); }

.adresse { font-style: normal; font-size: 1.2rem; font-weight: 500; margin: 0 0 1.2rem; }
.coordonnees { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: .8rem; }
.coordonnees li { display: flex; align-items: center; gap: .7rem; }
.coordonnees svg { width: 1.3rem; height: 1.3rem; flex: none; color: var(--lagon-fonce); }
.coordonnees a { font-weight: 500; }

/* ---------- Pied de page ---------- */
.pied { padding: 2.5rem 0 3rem; border-top: 2px solid rgba(59, 42, 34, .1); font-size: .92rem; color: var(--cacao-doux); }
.pied .conteneur { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; }
.pied p { margin: 0; max-width: 42rem; }
.pied a { color: var(--cacao-doux); }

/* ---------- Page mentions légales ---------- */
.page-texte { padding: 3rem 0 4rem; }
.page-texte .conteneur { max-width: 44rem; }
.page-texte h1 { font-weight: 700; font-size: clamp(2rem, 5vw, 2.8rem); color: var(--rose); margin: 0 0 2rem;
  text-shadow: 2px 2px 0 #fff, -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, 0 0 16px rgba(108, 195, 211, .8); }
.page-texte h2 { font-weight: 600; font-size: 1.35rem; margin: 2.2rem 0 .6rem; }
.page-texte p { margin: 0 0 .8rem; }

.visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* Entre joueurs */
.communaute { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 52rem) { .communaute { grid-template-columns: 1.1fr 1fr; gap: 4rem; } }
.communaute-texte .intro { margin-bottom: 1rem; }
.communaute-texte p { max-width: 38rem; }
.astuces { list-style: none; margin: 0; padding: 1.4rem 1.5rem; background: #fff; border: var(--trait); border-radius: var(--rayon-carte); box-shadow: var(--ombre-sticker); }
.astuces li { padding: .8rem 0; border-bottom: 2px dotted rgba(59, 42, 34, .18); }
.astuces li:first-child { padding-top: 0; }
.astuces li:last-child { border-bottom: 0; padding-bottom: 0; }
.astuces h3 { margin: 0 0 .2rem; font-weight: 600; font-size: 1.1rem; }
.astuces p { margin: 0; color: var(--cacao-doux); }
