/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --blue-deep:    #0A1628;
  --blue-dark:    #0D1B2A;
  --blue-mid:     #132236;
  --blue-surface: #1A2F45;
  --blue-border:  #1E3A52;
  --yellow:       #ffce00;
  --yellow-end:   #ffa700;
  --yellow-grad:  linear-gradient(90deg, #ffce00, #ffa700);
  --yellow-dim:   rgba(255, 180, 0, 0.12);
  --white:        #F0F0F0;
  --muted:        #6B7E94;
  --font:         'Plus Jakarta Sans', sans-serif;
  --ease:         cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: var(--font); background: var(--blue-deep); color: var(--white); overflow-x: hidden; }
a     { color: inherit; text-decoration: none; }
img   { display: block; max-width: 100%; }


/* ============================================================
   GRAIN CINÉMATIQUE
   ============================================================ */
.noise-overlay {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  z-index: 9990;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px;
  animation: noiseShift 0.6s steps(1) infinite;
}

@keyframes noiseShift {
  0%   { transform: translate(0,0); }
  20%  { transform: translate(-6%,-12%); }
  40%  { transform: translate(8%, 6%); }
  60%  { transform: translate(-4%, 18%); }
  80%  { transform: translate(14%,-8%); }
  100% { transform: translate(0,0); }
}

/* ============================================================
   SCROLL PROGRESS
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--yellow-grad);
  z-index: 200;
  transition: width 0.08s linear;
  box-shadow: 0 0 10px rgba(255,180,0,0.6);
}


/* ============================================================
   SPARKS — composant réutilisable (ADN de marque)
   ============================================================ */
.sparks-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease);
}

/* ============================================================
   SOULIGNÉS ARRONDIS — SVG underline (ADN de marque)
   ============================================================ */
.hl {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.hl-curve {
  position: absolute;
  left: -2px;
  bottom: -12px;
  width: calc(100% + 4px);
  height: 14px;
  overflow: visible;
  pointer-events: none;
}

.hl-curve path {
  stroke: var(--yellow);
  stroke-width: 5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Version petite (section titles) */
.hl-sm .hl-curve {
  bottom: -9px;
  height: 10px;
}

.hl-sm .hl-curve path {
  stroke-width: 3.5;
}

/* Version sombre (sur fond jaune — manifeste) */
.hl-dark .hl-curve path {
  stroke: var(--blue-deep);
  opacity: 0.5;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 64px;
  transition: background 0.4s ease, border-color 0.4s ease;
  border-bottom: 0.5px solid transparent;
}

.nav-logo {
  transition: opacity 0.35s ease;
}
.nav:has(.burger[aria-expanded="true"]) .nav-logo {
  opacity: 0;
  pointer-events: none;
}

.nav.scrolled {
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--blue-border);
}

.nav-logo img { height: 42px; width: auto; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
}
.nav-cta-arrow {
  display: inline-block;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  will-change: opacity, transform;
}
.nav-cta:hover .nav-cta-arrow {
  opacity: 1;
  transform: translateX(2px);
}
/* ============================================================
   BURGER BUTTON
   ============================================================ */
.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 400;
  flex-shrink: 0;
}
.burger-line {
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.5s cubic-bezier(0.77,0,0.18,1),
              opacity   0.3s ease,
              width     0.4s ease;
  transform-origin: center;
}
.burger[aria-expanded="true"] .burger-line:nth-child(1) {
  transform: translateY(4.25px) rotate(45deg);
}
.burger[aria-expanded="true"] .burger-line:nth-child(2) {
  transform: translateY(-4.25px) rotate(-45deg);
}

/* nav-links cachés — burger only */
.nav-links { display: none; }

@media (max-width: 640px) {
  .nav-cta { display: none; }
}

@media (max-width: 640px) {
  .nav { padding: 18px 24px; }
}

/* ============================================================
   MENU PLEIN ÉCRAN
   ============================================================ */
.site-menu {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: #05101e;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 10vw;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  overflow-y: auto;
}
.site-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.site-menu-link {
  display: flex;
  align-items: baseline;
  gap: 20px;
  font-size: clamp(22px, 3vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: rgba(255,255,255,0.85);
  padding: 12px 0;
  border-bottom: 0.5px solid rgba(255,255,255,0.07);
  text-decoration: none;
  overflow: hidden;
  transition: color 0.25s ease;
  position: relative;
}
.site-menu-link:first-child { border-top: 0.5px solid rgba(255,255,255,0.07); }

.site-menu-link::after {
  content: '→';
  position: absolute;
  right: 0;
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  font-size: 0.55em;
  color: var(--yellow);
}
.site-menu-link:hover {
  color: var(--white);
}
.site-menu-link:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.site-menu-num {
  font-size: 0.28em;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 4px;
  flex-shrink: 0;
  transition: color 0.25s ease;
}
.site-menu-link:hover .site-menu-num {
  color: var(--yellow);
}

/* Stagger animation à l'ouverture */
.site-menu-link {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.45s ease, transform 0.45s ease, color 0.25s ease;
}
.site-menu.open .site-menu-link {
  opacity: 1;
  transform: translateY(0);
}
.site-menu.open .site-menu-link:nth-child(1) { transition-delay: 0.05s; }
.site-menu.open .site-menu-link:nth-child(2) { transition-delay: 0.10s; }
.site-menu.open .site-menu-link:nth-child(3) { transition-delay: 0.15s; }
.site-menu.open .site-menu-link:nth-child(4) { transition-delay: 0.20s; }
.site-menu.open .site-menu-link:nth-child(5) { transition-delay: 0.25s; }
.site-menu.open .site-menu-link:nth-child(6) { transition-delay: 0.30s; }
.site-menu.open .site-menu-link:nth-child(7) { transition-delay: 0.35s; }

.site-menu-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 0.5px solid rgba(255,255,255,0.07);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s 0.4s ease, transform 0.4s 0.4s ease;
}
.site-menu.open .site-menu-footer {
  opacity: 1;
  transform: translateY(0);
}
.site-menu-email {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}
.site-menu-email:hover { color: var(--white); }
.site-menu-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--blue-deep);
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,180,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,180,0,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}

.hero-orb-1 {
  top: -15%; right: -8%;
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(255,180,0,0.07) 0%, transparent 60%);
  animation: orbDrift1 14s ease-in-out infinite;
}

.hero-orb-2 {
  bottom: -25%; left: -8%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(30,58,82,0.6) 0%, transparent 65%);
  animation: orbDrift2 18s ease-in-out infinite;
}

.hero-orb-3 {
  top: 30%; left: 25%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,180,0,0.025) 0%, transparent 70%);
  animation: orbDrift3 22s ease-in-out infinite;
}

/* Beam de lumière traversant */
.hero-light-sweep {
  position: absolute;
  top: 50%;
  left: 0;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220,230,255,0.06) 0%, rgba(200,215,255,0.025) 40%, transparent 70%);
  transform: translate(-120%, -50%);
  animation: heroLightSweep 20s linear infinite;
  animation-delay: 2s;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
  filter: blur(40px);
}

@keyframes heroLightSweep {
  0%   { transform: translate(-120%, -50%); }
  100% { transform: translate(200vw, -50%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-light-sweep { animation: none; }
}

@keyframes orbDrift1 {
  0%,100% { transform: translate(0,0) scale(1); }
  35%      { transform: translate(-40px,55px) scale(1.06); }
  70%      { transform: translate(25px,-35px) scale(0.94); }
}
@keyframes orbDrift2 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(55px,-60px) scale(1.1); }
}
@keyframes orbDrift3 {
  0%,100% { transform: translate(0,0); }
  40%      { transform: translate(-50px,40px); }
  75%      { transform: translate(35px,-25px); }
}

@keyframes sparksFloat {
  0%,100% { transform: rotate(0deg) scale(1);    opacity: 0.7; }
  33%      { transform: rotate(8deg) scale(1.12); opacity: 1; }
  66%      { transform: rotate(-5deg) scale(0.9); opacity: 0.5; }
}

/* Contenu hero */
.hero-content {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 2;
  padding: 0 64px;
  max-width: 1000px;
  width: 100%;
}

/* Tag */
.hero-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  opacity: 0;
}

.tag-text {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--yellow);
}

/* Titre massif */
.hero-title {
  font-size: clamp(48px, 7vw, 100px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 44px;
  word-spacing: 0.1em;
}

.word-yellow {
  background: linear-gradient(90deg, #ffce00, #ffa700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-line-1 { white-space: nowrap; }

/* Caractères individuels */
.ch {
  position: relative;
  display: inline-block;
  padding-inline: 0.01em;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              text-shadow 0.3s ease;
  transform-origin: center bottom;
}
.hero-title { opacity: 0; }
.hero-title:hover .ch {
  transform: translateY(var(--ch-ty, -4px)) rotate(var(--ch-r, 0deg)) scale(var(--ch-sc, 1.05));
}
[data-sparkles-manifeste] .manifeste-spark .spark-canvas { opacity: 1; }

/* DotLottie spark */
.spark {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 280px; height: 280px;
  pointer-events: none;
  z-index: 3;
}
.spark-canvas {
  width: 100%; height: 100%;
  display: block;
  filter: drop-shadow(0 0 6px var(--yellow));
  opacity: 0;
  transition: opacity 0.18s ease;
}
[data-sparkles] .spark-canvas { opacity: 1; }
.manifeste-spark { width: 420px; height: 420px; }
.manifeste-spark .spark-canvas {
  filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(255,255,255,0.7));
}

.sparkle-star {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: screen;
}

/* Hero sous-titre */
.hero-sub {
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
  max-width: 600px;
  margin-bottom: 52px;
  opacity: 0;
}

/* CTAs */
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  opacity: 0;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 34px;
  background: var(--yellow-grad);
  color: var(--blue-deep);
  font-size: 14px;
  font-weight: 700;
  border-radius: 100px;
  letter-spacing: 0.01em;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 44px rgba(255,180,0,0.42);
}

.btn-ghost {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  transition: color 0.2s;
}

.btn-ghost:hover { color: var(--white); }

/* Hero bottom */
.hero-bottom {
  position: absolute;
  bottom: 40px;
  left: 64px; right: 64px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.hero-scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--yellow), transparent);
  animation: scrollPulse 2.4s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%,100% { opacity: 0.25; transform: scaleY(1); }
  50%      { opacity: 1;    transform: scaleY(1.2); }
}

.scroll-label {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  writing-mode: vertical-rl;
}

.hero-url {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
  opacity: 0.6;
}

@media (max-width: 768px) {
  .hero-content { padding: 0 24px; transform: translateY(-50%); }
  .hero-bottom  { display: none; }
  .hero-sparks-deco { width: 55px; height: 55px; top: 8%; right: 5%; }
}

/* ============================================================
   SECTIONS — UTILITAIRES
   ============================================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--yellow);
  margin-bottom: 18px;
}

/* Plus de ::before line — remplacé par .sparks-icon dans le HTML */
.section-label::before { display: none; }

.section-title {
  font-size: clamp(34px, 4.5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 20px;
}

.section-intro {
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
  max-width: 520px;
}


/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-strip {
  width: 100%;
  overflow: hidden;
  background: var(--blue-mid);
  border-top: 0.5px solid var(--blue-border);
  border-bottom: 0.5px solid var(--blue-border);
  padding: 18px 0;
}

.marquee-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marqueeScroll 22s linear infinite;
}

.marquee-track span {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.marquee-dot {
  color: var(--yellow) !important;
  opacity: 0.7;
}

.marquee-strip:hover .marquee-track { animation-play-state: paused; }

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.section-header { margin-bottom: 64px; }

/* ============================================================
   EXPERTISES — liste pleine largeur
   ============================================================ */
.expertises {
  padding: 140px 64px;
  background: var(--blue-dark);
}

.expertises-list {
  border-top: 0.5px solid var(--blue-border);
  list-style: none;
}

.exp-row {
  display: grid;
  grid-template-columns: 72px 1fr 36px;
  align-items: center;
  padding: 44px 0;
  border-bottom: 0.5px solid var(--blue-border);
  position: relative;
  transition: padding-left 0.4s var(--ease), background 0.3s ease;
  overflow: hidden;
}

/* Trait jaune gauche au hover */
.exp-row::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--yellow-grad);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s var(--ease);
}

.exp-row:hover::before  { transform: scaleY(1); }
.exp-row:hover {
  padding-left: 28px;
  background: linear-gradient(90deg, rgba(255,193,32,0.07) 0%, transparent 60%);
}

.exp-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: 0.1em;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.exp-row:hover .exp-num { opacity: 1; }

.exp-body { padding-right: 40px; }

.exp-title {
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.exp-desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
  max-width: 58ch;
}

/* CTA row */
.exp-row-cta { padding: 0; border-bottom: 0.5px solid var(--blue-border); }

.exp-row-link {
  display: grid;
  grid-template-columns: 72px 1fr 36px;
  align-items: center;
  padding: 44px 0;
  width: 100%;
  position: relative;
  transition: padding-left 0.4s var(--ease), background 0.3s ease;
  overflow: hidden;
}

.exp-row-link::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--yellow-grad);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s var(--ease);
}

.exp-row-link:hover::before { transform: scaleY(1); }
.exp-row-link:hover {
  padding-left: 28px;
  background: linear-gradient(90deg, rgba(255,193,32,0.07) 0%, transparent 60%);
}

.exp-title-cta {
  font-size: clamp(18px, 2vw, 28px);
  color: var(--muted);
  margin-bottom: 0;
  transition: color 0.3s;
  display: inline-block;
}

.exp-row-link:hover .exp-title-cta { color: var(--yellow); }

@media (max-width: 768px) {
  .expertises { padding: 80px 24px; }
  .exp-row, .exp-row-link { grid-template-columns: 48px 1fr 28px; padding: 32px 0; }
  .exp-title  { font-size: 20px; }
  .exp-desc   { font-size: 13px; }
}

/* ============================================================
   PROJETS — scroll horizontal
   ============================================================ */
.projets { padding: 130px 0; background: var(--blue-deep); }

.projets-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 64px;
  margin-bottom: 52px;
}

.projets-header-left .section-title { margin-bottom: 0; }

.projets-hint {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.06em;
  padding-bottom: 6px;
}

.projets-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 0 64px;
}

.project-card {
  border-radius: 20px;
  overflow: hidden;
  background: var(--blue-mid);
  border: 0.5px solid var(--blue-border);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), border-color 0.4s ease, box-shadow 0.4s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255,180,0,0.3);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4), 0 0 40px rgba(255,180,0,0.04);
}

.card-visual {
  flex: 0 0 175px;
  position: relative;
  overflow: hidden;
  background: #0a1525;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-visual-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center center;
  transition: transform 0.6s var(--ease);
}
.project-card:hover .card-visual-img { transform: scale(1.04); }

.card-ghost-letter {
  font-size: 200px;
  font-weight: 800;
  color: var(--white);
  opacity: 0.028;
  line-height: 1;
  user-select: none;
  transition: opacity 0.4s ease, transform 0.4s var(--ease);
}

.project-card:hover .card-ghost-letter { opacity: 0.07; transform: scale(1.08); }

.card-visual-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 100px;
  background: linear-gradient(to top, rgba(10,22,40,0.6), transparent);
  pointer-events: none;
}

.card-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--yellow-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
  z-index: 2;
}

.project-card:hover .card-bar { transform: scaleX(1); }

.card-body {
  flex: 1;
  padding: 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }

.card-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 100px;
  background: var(--blue-surface);
  color: var(--muted);
  letter-spacing: 0.04em;
  border: 0.5px solid var(--blue-border);
}

.card-tag-yellow {
  background: var(--yellow-dim);
  color: var(--yellow);
  border-color: rgba(255,180,0,0.22);
}

.card-category { font-size: 11px; color: var(--muted); font-weight: 400; }

.card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
}

.card-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}

/* Lien card avec sparks */
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--yellow);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s ease, transform 0.35s var(--ease);
}

.project-card:hover .card-link { opacity: 1; transform: translateX(0); }

@media (max-width: 1200px) {
  .projets-track { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .projets-track { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .projets-header { padding: 0 24px; flex-direction: column; align-items: flex-start; gap: 8px; }
  .projets-track  { grid-template-columns: repeat(2, 1fr); padding: 0 24px; gap: 16px; }
}
@media (max-width: 480px) {
  .projets-track { grid-template-columns: 1fr; }
}

/* ============================================================
   PARTENAIRES
   ============================================================ */
.partenaires { border-top: 0.5px solid var(--blue-border); background: var(--blue-dark); }
.partenaires-inner { padding: 88px 64px; }
.partenaires-header { margin-bottom: 48px; }

.partenaires-intro {
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
  margin-top: 12px;
}

.partenaires-logos {
  display: flex;
  border-top: 0.5px solid var(--blue-border);
  border-bottom: 0.5px solid var(--blue-border);
}

.partenaire-item {
  flex: 1;
  padding: 28px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 0.5px solid var(--blue-border);
  transition: background 0.3s ease;
  cursor: default;
}

.partenaire-item img {
  height: 36px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.45;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.partenaire-item:last-child { border-right: none; }
.partenaire-item:hover { background: var(--blue-mid); }
.partenaire-item:hover img { opacity: 1; filter: brightness(0) saturate(100%) invert(78%) sepia(60%) saturate(500%) hue-rotate(5deg) brightness(103%); }

@media (max-width: 900px) {
  .partenaires-inner { padding: 64px 24px; }
  .partenaires-logos { flex-wrap: wrap; }
  .partenaire-item   { flex: 0 0 50%; border-right: none; border-bottom: 0.5px solid var(--blue-border); padding: 24px 16px; }
}

/* ============================================================
   MANIFESTE
   ============================================================ */
.manifeste {
  background: var(--yellow-grad);
  padding: 130px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.manifeste-deco {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(10,22,40,0.07);
  pointer-events: none;
}

.manifeste-deco-tr { width: 600px; height: 600px; top: -150px; right: -150px; }
.manifeste-deco-bl { width: 500px; height: 500px; bottom: -130px; left: -130px; }

.manifeste-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}

.manifeste-blob-1 {
  width: 480px; height: 480px;
  background: rgba(255,255,255,0.28);
  top: -80px; left: 10%;
  animation: blobDrift1 4s ease-in-out infinite;
}

.manifeste-blob-2 {
  width: 360px; height: 360px;
  background: rgba(10,22,40,0.18);
  bottom: -60px; right: 15%;
  animation: blobDrift2 5s ease-in-out infinite;
}

.manifeste-blob-3 {
  width: 260px; height: 260px;
  background: rgba(255,255,255,0.22);
  top: 40%; left: 55%;
  animation: blobDrift3 3.5s ease-in-out infinite;
}

@keyframes blobDrift1 {
  0%,100% { transform: translate(0, 0) scale(1); }
  33%     { transform: translate(100px, 60px) scale(1.1); }
  66%     { transform: translate(-60px, 90px) scale(0.92); }
}

@keyframes blobDrift2 {
  0%,100% { transform: translate(0, 0) scale(1); }
  40%     { transform: translate(-120px, -80px) scale(1.12); }
  75%     { transform: translate(70px, -50px) scale(0.9); }
}

@keyframes blobDrift3 {
  0%,100% { transform: translate(0, 0) scale(1); }
  50%     { transform: translate(-90px, 60px) scale(1.18); }
}


.manifeste-text {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.manifeste-line {
  display: block;
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.1;
  color: var(--blue-deep);
  opacity: 0;
  transform: translateY(40px);
}

@media (max-width: 768px) { .manifeste { padding: 88px 24px; } }

/* Ligne manifeste avec icône qui suit la souris */
.manifeste-line--icon {
  position: relative;
  cursor: default;
}
.manifeste-line-icon {
  position: absolute;
  top: var(--my, 50%);
  left: var(--mx, 50%);
  transform: translate(-50%, calc(-100% - 14px)) scale(0.8);
  width: 56px;
  height: 56px;
  object-fit: contain;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s cubic-bezier(0.34,1.56,0.64,1);
  z-index: 10;
}
.manifeste-line--icon:hover .manifeste-line-icon {
  opacity: 1;
  transform: translate(-50%, calc(-100% - 14px)) scale(1);
}

/* ============================================================
   CONTENUS
   ============================================================ */
.pourquoi { padding: 140px 64px; background: var(--blue-dark); }

.pourquoi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 64px;
}

/* Card de base */
.pourquoi-card {
  position: relative;
  padding: 56px 52px 52px;
  min-height: 320px;
  border-radius: 20px;
  background: var(--blue-mid);
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  cursor: default;
  transition: border-color 0.4s ease, transform 0.4s var(--ease), box-shadow 0.4s ease;
  opacity: 0;
  transform: translateY(32px);
}

/* Barre gradient top */
.pourquoi-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--yellow-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
  z-index: 2;
}

/* Cursor spotlight glow */
.pourquoi-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle 350px at var(--mouse-x, -100%) var(--mouse-y, -100%),
    rgba(255,206,0,0.07) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
}

.pourquoi-card:hover {
  border-color: rgba(255,180,0,0.22);
  transform: translateY(-8px);
  box-shadow: 0 40px 90px rgba(0,0,0,0.35), 0 0 50px rgba(255,180,0,0.04);
}
.pourquoi-card:hover::before { transform: scaleX(1); }
.pourquoi-card:hover::after  { opacity: 1; }

/* Gros chiffre décoratif en fond */
.pourquoi-bg-num {
  position: absolute;
  bottom: -24px;
  right: -8px;
  font-size: 180px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, rgba(255,206,0,0.055) 0%, rgba(255,167,0,0.02) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  user-select: none;
  pointer-events: none;
  transition: transform 0.5s var(--ease), opacity 0.5s ease;
  z-index: 0;
}
.pourquoi-card:hover .pourquoi-bg-num {
  transform: translateY(-10px) scale(1.06);
  opacity: 1.4;
}

/* Pictogramme décoratif en fond */
.pourquoi-bg-picto {
  position: absolute;
  bottom: -12px;
  right: -8px;
  width: 140px;
  height: 140px;
  object-fit: contain;
  opacity: 0.07;
  user-select: none;
  pointer-events: none;
  filter: invert(1) brightness(2);
  transition: transform 0.5s var(--ease), opacity 0.5s ease;
  z-index: 0;
}
.pourquoi-card:hover .pourquoi-bg-picto {
  transform: translateY(-10px) scale(1.06);
  opacity: 0.12;
}

/* Contenu */
.pourquoi-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

.pourquoi-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--yellow-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pourquoi-title {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-top: 4px;
}

.pourquoi-title em {
  font-style: normal;
  background: var(--yellow-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pourquoi-desc {
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
  max-width: 460px;
  margin-top: 4px;
}

@media (max-width: 1000px) {
  .pourquoi-grid { grid-template-columns: 1fr; gap: 12px; }
  .pourquoi      { padding: 100px 40px; }
  .pourquoi-card { min-height: auto; }
}

@media (max-width: 560px) {
  .pourquoi      { padding: 80px 24px; }
  .pourquoi-card { padding: 40px 32px; }
  .pourquoi-bg-num { font-size: 130px; }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: 160px 64px;
  background: var(--blue-deep);
  border-top: 0.5px solid var(--blue-border);
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.contact-orb {
  position: absolute;
  top: -20%; right: 5%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(255,180,0,0.05) 0%, transparent 65%);
  pointer-events: none;
}

.hero-bg-text {
  position: absolute;
  font-size: clamp(180px, 32vw, 520px);
  font-weight: 800;
  letter-spacing: -0.07em;
  color: rgba(255,180,0,0.028);
  user-select: none;
  pointer-events: none;
  right: -40px;
  bottom: -80px;
  line-height: 1;
  white-space: nowrap;
  z-index: 1;
}

.contact-bg-text {
  position: absolute;
  font-size: clamp(120px, 22vw, 320px);
  font-weight: 800;
  letter-spacing: -0.07em;
  color: rgba(255,180,0,0.028);
  user-select: none;
  pointer-events: none;
  right: -20px;
  bottom: -60px;
  line-height: 1;
  white-space: nowrap;
}


.contact-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.contact-inner .section-title { margin-bottom: 36px; }

.contact-email {
  display: block;
  font-size: clamp(28px, 3.8vw, 58px);
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--yellow);
  line-height: 1.05;
  margin-bottom: 24px;
  transition: opacity 0.2s;
}

.contact-email:hover { opacity: 0.8; }

.contact-sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 40px;
}

.contact-links { display: flex; gap: 36px; flex-wrap: wrap; }

.contact-link {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  transition: color 0.2s;
}

.contact-link:hover { color: var(--white); }

@media (max-width: 768px) { .contact { padding: 100px 24px; min-height: auto; } }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 0.5px solid var(--blue-border);
  background: var(--blue-dark);
}

.footer-top {
  display: flex;
  gap: 80px;
  padding: 64px 64px 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 220px;
}
.footer-brand img {
  align-self: flex-start;
  width: auto;
  max-width: none;
}

.footer-tagline {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.footer-email {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  transition: opacity 0.2s;
}
.footer-email:hover { opacity: 0.7; }

.footer-nav {
  display: flex;
  gap: 64px;
  flex: 1;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.footer-nav-col a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-nav-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 64px;
  border-top: 0.5px solid var(--blue-border);
}

.footer-left, .footer-right {
  font-size: 12px;
  color: var(--muted);
  font-weight: 300;
}

@media (max-width: 768px) {
  .footer-top { flex-direction: column; gap: 40px; padding: 48px 24px 32px; }
  .footer-nav { flex-direction: column; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; padding: 20px 24px; text-align: center; }
}

/* ============================================================
   INTERACTIONS FUN
   ============================================================ */

/* --- Shimmer sweep sur btn-primary --- */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -80%;
  width: 55%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  transform: skewX(-18deg);
  transition: left 0s;
  pointer-events: none;
}

.btn-primary:hover::after {
  left: 160%;
  transition: left 0.55s ease;
}

/* --- Ripple click --- */
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(10, 22, 40, 0.22);
  width: 120px;
  height: 120px;
  margin-left: -60px;
  margin-top: -60px;
  transform: scale(0);
  animation: rippleOut 0.65s ease-out forwards;
  pointer-events: none;
}

@keyframes rippleOut {
  to { transform: scale(4); opacity: 0; }
}

/* --- Card 3D tilt : perspective sur le track --- */
.projets-track {
  perspective: 1200px;
}

.project-card {
  transform-style: preserve-3d;
  will-change: transform;
}

/* --- Hover fun sur exp-title --- */
.exp-row:hover .exp-title {
  color: var(--yellow);
}

/* --- Pulse subtil btn-ghost --- */
.btn-ghost {
  position: relative;
}

.btn-ghost::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0%;
  height: 1px;
  background: var(--white);
  transition: width 0.35s var(--ease);
}

.btn-ghost:hover::after { width: 100%; }
.btn-ghost:hover { color: var(--white); letter-spacing: 0; }

/* --- Fun sur les partenaires : scale --- */
.partenaire-item:hover {
  transform: scale(1.04);
}

/* --- Section titles : hover color sweep --- */
.section-title {
  transition: none;
}

/* --- Bounce manifeste (overrides opacity/transform) --- */
@keyframes manifesteBounce {
  0%   { transform: translateY(40px) scale(0.96); opacity: 0; }
  60%  { transform: translateY(-6px) scale(1.01); opacity: 1; }
  80%  { transform: translateY(3px) scale(0.99); }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

/* ============================================================
   YELLOW GRADIENT TEXT
   ============================================================ */
.section-label,
.exp-num,
.contenu-type,
.marquee-dot,
.contact-email,
.card-link,
.btn-ghost,
.exp-title-cta {
  background: var(--yellow-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* SVG strokes : couleur intermédiaire du gradient */
.hl-curve path { stroke: #ffba00; }

/* ============================================================
   RESPONSIVE — GLOBAL MOBILE
   ============================================================ */

/* ── Tablet large (≤1024px) ── */
@media (max-width: 1024px) {
  .expertises { padding: 100px 40px; }
  .pourquoi   { padding: 100px 40px; }
}

/* ── Mobile (≤768px) ── */
@media (max-width: 768px) {
  /* Section headers */
  .section-header   { margin-bottom: 36px; }
  .section-title    { font-size: clamp(28px, 7vw, 44px); }
  .section-intro    { font-size: 14px; }

  /* Hero */
  .hero-line-1      { white-space: normal; }
  .hero-sub         { font-size: 14px; line-height: 1.65; }
  .hero-ctas        { flex-direction: column; align-items: flex-start; gap: 14px; }
  .btn-primary, .btn-ghost { width: 100%; text-align: center; justify-content: center; display: flex; }

  /* Nav */
  .nav-cta          { font-size: 11px; letter-spacing: 0; }

  /* Projets */
  .projets          { padding: 80px 0; }
  .projets-header   { padding: 0 24px; flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 32px; }
  .projets-track    { padding: 0 24px; gap: 14px; }

  /* Manifeste */
  .manifeste        { padding: 72px 24px; }
  .manifeste-line   { font-size: clamp(28px, 7.5vw, 52px); }

  /* Partenaires */
  .partenaires-inner { padding: 64px 24px; }

  /* Pourquoi */
  .pourquoi         { padding: 80px 24px; }
  .pourquoi-card    { padding: 40px 32px; min-height: auto; }
  .pourquoi-title   { font-size: clamp(20px, 5vw, 26px); }

  /* Contact */
  .contact          { padding: 80px 24px; min-height: auto; }
  .contact-email    { font-size: clamp(18px, 5vw, 28px); word-break: break-all; }
  .contact-sub      { font-size: 14px; }
}

/* ── Petits mobiles (≤520px) ── */
@media (max-width: 520px) {
  /* Hero */
  .hero-title       { font-size: clamp(36px, 10vw, 52px); line-height: 1.05; }
  .hero-content     { padding: 0 20px; }

  /* Projets : 1 colonne */
  .projets-track    { grid-template-columns: 1fr; }
  .project-card     { height: auto; }
  .card-visual      { flex: 0 0 200px; }

  /* Marquee */
  .marquee-track span { font-size: 11px; }
  .marquee-strip    { padding: 14px 0; }

  /* Manifeste */
  .manifeste-line   { font-size: clamp(24px, 7.5vw, 40px); }

  /* Pourquoi */
  .pourquoi-bg-num  { font-size: 100px; bottom: -16px; right: -4px; }
  .pourquoi-card    { padding: 32px 24px; }
  .pourquoi-grid    { gap: 10px; }

  /* Cards body */
  .card-body        { padding: 20px 22px; }
  .card-title       { font-size: 17px; }
  .card-desc        { font-size: 13px; }

  /* Section header */
  .section-header   { margin-bottom: 28px; }

  /* Expertises */
  .exp-row, .exp-row-link { padding: 24px 0; }
  .exp-title        { font-size: 17px; }
}

/* ── Très petits écrans (≤360px) ── */
@media (max-width: 360px) {
  .nav-logo img     { height: 34px; }
  .hero-title       { font-size: 32px; }
  .manifeste-line   { font-size: 22px; }
  .pourquoi-title   { font-size: 18px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .noise-overlay, .hero-orb, .hero-sparks-deco,
  .manifeste-sparks-deco, .contact-sparks-deco { animation: none; }
  .scroll-line { animation: none; opacity: 0.5; }
}

/* ============================================================
   HERO GAME TRIGGER
   ============================================================ */
.hero-game-trigger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.hero-url-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}
.hero-url-hint {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.hero-game-trigger:hover .hero-url-label { color: rgba(255,255,255,0.7); }
.hero-game-trigger:hover .hero-url-hint { opacity: 1; transform: translateY(0); }

/* ============================================================
   GAME MODAL
   ============================================================ */
.game-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  padding: 24px;
}
.game-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.game-modal-inner {
  position: relative;
  width: min(960px, 100%);
  height: min(640px, 90vh);
  border-radius: 24px;
  overflow: hidden;
}
.game-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.8);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.game-modal-close:hover { background: rgba(255,255,255,0.2); }

/* ---- PONG APP (scoped) ---- */
#pongWrap {
  width: 100%;
  height: 100%;
  position: relative;
  background: #050f1c;
  font-family: 'Plus Jakarta Sans', sans-serif;
  overflow: hidden;
}
#pongWrap > div {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: .5s;
  filter: blur(20px);
  transform: scale(.5);
  z-index: 1;
}
#pongWrap > div.active {
  opacity: 1;
  pointer-events: auto;
  filter: blur(0);
  transform: scale(1);
}
#pongWrap > #pongGameplay {
  position: absolute;
  inset: 0;
  opacity: 1;
  pointer-events: auto;
  filter: blur(0);
  transform: scale(1);
  transition: .5s;
  z-index: 0;
}
#pongWrap > div.active ~ #pongGameplay {
  opacity: .75;
  filter: blur(10px);
  transform: scale(.95);
}
#pongWrap h1, .pong-menu-title {
  color: #ffc120;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 48px;
  font-weight: 800;
  margin: 0 0 24px;
}
#pongWrap button {
  background-color: #ffc120;
  border: 0;
  border-radius: 200px;
  padding: 16px 24px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1.25px;
  font-size: 15px;
  margin: 8px;
  min-width: 160px;
  cursor: pointer;
  transition: .25s;
  opacity: .85;
  color: #050f1c;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
#pongWrap button:hover { opacity: 1; }
#gameCanvas {
  width: 100%;
  height: 100%;
  display: block;
}
