/* Magi'Cards — styles */

:root {
  --navy: #0f1b3d;
  --navy-light: #1a2b5c;
  --gold: #ffc93c;
  --orange: #ff6b35;
  --blue: #2f8fff;
  --pink: #ff4d8d;
  --cream: #fff8ec;
  --ink: #16193f;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(15, 27, 61, 0.15);
  --font-display: "Fredoka", "Poppins", sans-serif;
  --font-body: "Poppins", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle, rgba(15,27,61,.05) 1.4px, transparent 1.4px) 0 0 / 26px 26px,
    var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; }
p { line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--gold); color: var(--navy); padding: .75em 1em;
  z-index: 1000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.wrap { max-width: min(1440px, 94vw); margin: 0 auto; padding: 0 clamp(16px, 2vw, 32px); position: relative; z-index: 1; }
.wrap-narrow { max-width: min(760px, 90vw); margin: 0 auto; }
.center { text-align: center; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 600;
  font-size: .8rem;
  color: var(--orange);
  margin: 0 0 .4em;
}
.eyebrow.center { text-align: center; }

.section { padding: clamp(2.75rem, 6vw, 4.5rem) 0; position: relative; overflow: hidden; }
.section-alt { background: #fff1dc; }
.section-intro { max-width: 52ch; margin: 0 auto 1.8rem; opacity: .8; font-size: 1.05rem; }
.section-intro.center { margin-left: auto; margin-right: auto; }

/* Decorative full-bleed blobs so wide screens don't feel empty on the sides */
.section::before, .section::after {
  content: "";
  position: absolute;
  width: clamp(260px, 30vw, 560px);
  height: clamp(260px, 30vw, 560px);
  border-radius: 50%;
  filter: blur(45px);
  z-index: 0;
  pointer-events: none;
}
#univers::before { background: radial-gradient(circle, rgba(255,107,53,.26), transparent 68%); top: -8%; left: -10vw; }
#univers::after { background: radial-gradient(circle, rgba(47,143,255,.22), transparent 68%); bottom: -14%; right: -10vw; }
#boutique::before { background: radial-gradient(circle, rgba(255,77,141,.24), transparent 68%); top: -10%; right: -11vw; }
#boutique::after { background: radial-gradient(circle, rgba(255,201,60,.3), transparent 68%); bottom: -16%; left: -10vw; }
.section-alt::before { background: radial-gradient(circle, rgba(255,107,53,.22), transparent 68%); top: -12%; left: -10vw; }
.section-alt::after { background: radial-gradient(circle, rgba(47,143,255,.16), transparent 68%); bottom: -18%; right: -11vw; }

/* Zigzag colour strips between sections */
.strip-divider {
  height: clamp(10px, 1.6vw, 16px);
  width: 100%;
}
.strip-gold { background: repeating-linear-gradient(135deg, var(--gold) 0 16px, var(--orange) 16px 32px); }
.strip-blue { background: repeating-linear-gradient(135deg, var(--blue) 0 16px, var(--pink) 16px 32px); }
.strip-pink { background: repeating-linear-gradient(135deg, var(--pink) 0 16px, var(--gold) 16px 32px); }
.strip-navy { background: repeating-linear-gradient(135deg, var(--navy) 0 16px, var(--navy-light) 16px 32px); }

/* Buttons */
.btn {
  display: inline-block;
  padding: .85em 1.8em;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: var(--navy);
  box-shadow: 0 8px 20px rgba(255, 107, 53, .35);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.7);
}
.btn:hover { transform: translateY(-3px) rotate(-1deg); }
.btn-primary:hover { box-shadow: 0 12px 28px rgba(255, 107, 53, .5); }
.btn-ghost:hover { background: rgba(255,255,255,.15); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 500;
  background: rgba(15, 27, 61, .92);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--gold);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: .6rem clamp(16px, 4vw, 20px);
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand-logo { border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.brand-name {
  font-family: var(--font-display);
  color: #fff; font-weight: 700; font-size: 1.3rem;
}
.primary-nav { display: flex; gap: 1.8rem; }
.primary-nav a {
  color: #fff; text-decoration: none; font-weight: 500; font-size: .95rem;
  opacity: .85; transition: opacity .2s;
}
.primary-nav a:hover { opacity: 1; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 45%, var(--blue) 100%);
  padding: clamp(2.5rem, 7vw, 4rem) 0 clamp(4.5rem, 9vw, 6.5rem);
  text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.16) 1.6px, transparent 1.6px);
  background-size: 22px 22px;
  opacity: .5;
  z-index: 1;
}
.hero-inner { position: relative; z-index: 2; }
.hero-logo {
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(255, 201, 60, .3), 0 20px 40px rgba(0,0,0,.35);
}
.hero .eyebrow { color: var(--gold); }
.hero h1 {
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  color: #fff;
  margin-bottom: .25em;
  text-shadow: 0 6px 20px rgba(0,0,0,.3);
}
.hero-subtitle {
  color: rgba(255,255,255,.9);
  max-width: 560px; margin: 0 auto 1.8rem;
  font-size: clamp(1rem, 2.4vw, 1.15rem);
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-cards { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.floating-card {
  position: absolute;
  width: 56px; height: 78px;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,.35);
  background: linear-gradient(135deg, var(--gold), var(--pink));
  box-shadow: 0 12px 24px rgba(0,0,0,.35);
  opacity: .55;
  animation-name: float;
  animation-duration: 9s;
  animation-timing-function: cubic-bezier(.45, 0, .55, 1);
  animation-iteration-count: infinite;
  will-change: transform;
}
.card-1 { top: 10%; left: 6%; animation-delay: 0s; animation-duration: 8.5s; background: linear-gradient(135deg, var(--gold), var(--orange)); }
.card-2 { top: 58%; left: 13%; animation-delay: 1.2s; animation-duration: 10s; background: linear-gradient(135deg, var(--blue), var(--pink)); }
.card-3 { top: 16%; right: 8%; animation-delay: 2.1s; animation-duration: 9.5s; background: linear-gradient(135deg, var(--pink), var(--gold)); }
.card-4 { top: 66%; right: 14%; animation-delay: 3s; animation-duration: 11s; background: linear-gradient(135deg, var(--orange), var(--blue)); }
.card-5 { top: 38%; left: 46%; animation-delay: 4s; animation-duration: 12.5s; background: linear-gradient(135deg, var(--gold), var(--blue)); opacity: .35; }

@keyframes float {
  0%   { transform: translate(0, 0) rotate(-6deg); }
  22%  { transform: translate(10px, -16px) rotate(-1deg); }
  45%  { transform: translate(-6px, -30px) rotate(5deg); }
  68%  { transform: translate(9px, -18px) rotate(8deg); }
  86%  { transform: translate(-5px, -6px) rotate(1deg); }
  100% { transform: translate(0, 0) rotate(-6deg); }
}

/* Universe cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.universe-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 0 1.4rem 1.5rem;
  box-shadow: var(--shadow);
  border: 3px solid var(--navy);
  transition: transform .25s ease, box-shadow .25s ease;
  overflow: hidden;
}
.universe-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 8px;
  background: linear-gradient(90deg, var(--gold), var(--orange));
  z-index: 1;
}
.universe-card:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 18px 34px rgba(15,27,61,.22); }
.uc-tag {
  position: absolute; top: 14px; right: -36px;
  width: 130px;
  background: var(--navy); color: #fff;
  font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  text-align: center;
  padding: .3em 0;
  transform: rotate(38deg);
  z-index: 2;
}
.uc-art {
  height: 82px;
  padding-top: 1.6rem;
  margin-bottom: 1rem;
  display: flex; align-items: center; justify-content: center;
}
.uc-art img { max-height: 54px; max-width: 100%; width: auto; object-fit: contain; display: block; }
.uc-art svg { width: 56px; height: 56px; display: block; }
.universe-card h3 { font-size: 1.1rem; }
.universe-card .uc-hook { font-size: .88rem; opacity: .78; margin: 0 0 .8rem; line-height: 1.45; }
.uc-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.uc-chips span {
  font-size: .68rem; font-weight: 700;
  padding: .3em .75em;
  border-radius: 999px;
  background: var(--cream);
  border: 1.5px solid var(--navy);
  color: var(--navy);
}
.uc-pokemon::before { background: linear-gradient(90deg, var(--orange), var(--gold)); }
.uc-onepiece::before { background: linear-gradient(90deg, var(--blue), var(--navy-light)); }
.uc-lorcana::before { background: linear-gradient(90deg, var(--pink), var(--orange)); }
.uc-scelle { background: linear-gradient(160deg, #fff, #fff6de); }
.uc-scelle::before { background: linear-gradient(90deg, var(--gold), var(--pink)); }

/* Concept — dark contrast band */
.section-dark {
  background: radial-gradient(circle at 15% 20%, rgba(255,201,60,.15), transparent 45%),
              radial-gradient(circle at 85% 80%, rgba(255,77,141,.18), transparent 45%),
              var(--navy);
  color: #fff;
}
.concept-wrap {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.concept-text h2 { font-size: clamp(1.7rem, 4vw, 2.1rem); color: #fff; max-width: 20ch; }
.concept-text p { color: rgba(255,255,255,.85); }
.concept-text .lead { font-size: 1.15rem; max-width: 42ch; color: #fff; font-weight: 500; }
.concept-points { list-style: none; margin: 1.4rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .85rem; max-width: 44ch; }
.concept-points li {
  display: flex; align-items: flex-start; gap: .7rem;
  color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  padding: .7rem .9rem;
  font-size: .95rem;
}
.cp-icon { font-size: 1.2rem; flex-shrink: 0; }
.concept-tags { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.2rem; }
.concept-tags span {
  padding: .4em 1em; border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  font-size: .82rem; font-weight: 500;
}
.concept-photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 4px solid var(--gold);
  box-shadow: 0 20px 45px rgba(0,0,0,.45);
  transform: rotate(2.5deg);
  transition: transform .3s ease;
}
.concept-photo:hover { transform: rotate(0deg) scale(1.02); }
.concept-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* Gallery — flexbox so a handful of photos stay centered and sized well
   instead of leaving empty grid tracks on very wide screens */
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.4rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  background: #ddd;
  border: 3px solid var(--navy);
  flex: 1 1 320px;
  max-width: 440px;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
  content: "🔍";
  position: absolute; bottom: 10px; right: 12px;
  background: rgba(15,27,61,.7); color: #fff;
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; opacity: 0; transition: opacity .25s;
}
.gallery-item:hover::after { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(15, 20, 40, .92);
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(90vw, 900px); max-height: 85vh; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox-close {
  position: absolute; top: 1.2rem; right: 1.5rem;
  background: none; border: none; color: #fff; font-size: 2.2rem;
  cursor: pointer; line-height: 1;
}

/* Infos pratiques */
.infos-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.2rem;
  align-items: stretch;
}
.infos-card h2 { font-size: clamp(1.6rem, 4vw, 2rem); }
.infos-block { margin-top: 1.4rem; }
.infos-block h3 { font-size: 1.05rem; display: flex; align-items: center; gap: .5rem; }
.status-badge {
  font-family: var(--font-body);
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  padding: .25em .7em; border-radius: 999px;
  background: #ddd; color: #444;
}
.status-badge.open { background: #d7f5df; color: #1c7a3d; }
.status-badge.closed { background: #fde0e0; color: #b02a2a; }

.hours-table { width: 100%; border-collapse: collapse; margin-top: .6rem; font-size: .95rem; }
.hours-table th, .hours-table td { text-align: left; padding: .4rem .3rem; border-bottom: 1px solid rgba(15,27,61,.08); font-weight: 400; }
.hours-table th { font-weight: 500; }
.hours-table tr.today th, .hours-table tr.today td { font-weight: 700; color: var(--orange); }

.infos-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 3px solid var(--navy);
  min-height: 280px;
}
.infos-map iframe { width: 100%; height: 100%; min-height: 280px; border: 0; }

/* Contact — vibrant CTA band */
.section-contact {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--pink), var(--orange) 55%, var(--gold));
  color: var(--navy);
}
.section-contact .eyebrow { color: var(--navy); opacity: .7; }
.section-contact h2 { color: var(--navy); }
.section-contact .wrap { position: relative; z-index: 2; }

.contact-cards { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.ccard-1 { top: 12%; left: 8%; animation-delay: .6s; animation-duration: 9.5s; background: linear-gradient(135deg, var(--navy), var(--blue)); }
.ccard-2 { top: 60%; left: 16%; animation-delay: 2.4s; animation-duration: 11.5s; background: linear-gradient(135deg, var(--navy-light), var(--pink)); opacity: .4; }
.ccard-3 { top: 18%; right: 10%; animation-delay: 1.4s; animation-duration: 10.5s; background: linear-gradient(135deg, var(--blue), var(--navy)); }
.ccard-4 { top: 62%; right: 15%; animation-delay: 3.4s; animation-duration: 13s; background: linear-gradient(135deg, var(--navy), var(--gold)); opacity: .4; }
.social-links { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.4rem; }
.social-btn {
  padding: .7em 1.7em;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: .92rem;
  border: 2px solid var(--navy);
  transition: transform .2s;
}
.social-btn:hover { transform: translateY(-3px) rotate(-1deg); background: #fff; color: var(--navy); }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 1.6rem 0; border-top: 3px solid var(--gold); }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .8rem; font-size: .88rem; }
.footer-inner a { text-decoration: none; color: rgba(255,255,255,.75); }
.footer-inner a:hover { color: #fff; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 960px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .concept-wrap { grid-template-columns: 1fr; }
  .concept-photo { order: -1; max-width: 360px; margin: 0 auto; }
}
@media (max-width: 860px) {
  .infos-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .primary-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column; padding: 1rem clamp(16px, 4vw, 20px); gap: 1rem;
    display: none;
  }
  .primary-nav.is-open { display: flex; }
  .nav-toggle { display: flex; }
}
@media (max-width: 540px) {
  .cards-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .hero { clip-path: polygon(0 0, 100% 0, 100% 96%, 0 100%); }
}
@media (max-width: 380px) {
  .cards-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .floating-card { animation: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
}
