/* ══════════════════════════════════════════
   INDEX.CSS — Wolschicks Studio
══════════════════════════════════════════ */

/* ── XP HERO ── */
.xp-hero {
  position: relative;
  height: clamp(280px, 42vw, 840px);
  background: url(../assets/heroback.svg) center center / cover no-repeat;
  overflow: visible;
}
.xp-hero::after {
  content: '';
  position: absolute; bottom: 0; left: -10%; right: -10%;
  z-index: 1; height: 40%; pointer-events: none;
  background: linear-gradient(360deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
}
.hero-border-text {
  position: absolute; bottom: 0; left: 0; right: 0;
  transform: translateY(50%); z-index: 2;
  pointer-events: none; line-height: 0;
}
.hero-border-text img { display: block; width: 100%; height: auto; mix-blend-mode: lighten; }
.hero-overlay {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  z-index: 3;
  padding: 0 clamp(10px, 2vw, 30px) clamp(8px, 1.5vw, 20px);
  display: flex; flex-direction: column; justify-content: flex-end;
  gap: clamp(6px, 1.2vw, 16px);
}
.hb-row1 {
  display: flex; flex-direction: row;
  align-items: flex-end; justify-content: space-between;
  gap: clamp(6px, 1.2vw, 16px); flex: 1;
}
.hb-row2 { display: flex; justify-content: center; width: 100%; flex-shrink: 0; }
.hb-wide-bar {
  background: var(--black); border: var(--border);
  width: clamp(260px, 45vw, 620px);
  height: clamp(28px, 5vw, 66px); min-height: 32px;
}
.hb-col-left {
  display: flex; flex-direction: column;
  gap: clamp(4px, 0.8vw, 10px); align-items: flex-start; flex-shrink: 0;
}
.hb-left-top {
  background: var(--black); border: var(--border);
  width: clamp(130px, 27vw, 360px); height: clamp(55px, 9vw, 120px);
}
.hb-left-bot {
  background: var(--black); border: var(--border);
  width: clamp(130px, 27vw, 360px); height: clamp(40px, 6.5vw, 88px);
}
.hb-main {
  background: var(--black); border: var(--border);
  flex: 1; height: clamp(100px, 18vw, 240px); align-self: flex-end;
}
.hb-circles {
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(4px, 0.8vw, 10px); flex-shrink: 0;
  justify-content: flex-end; padding-bottom: clamp(4px, 0.8vw, 10px);
}
.hb-c { background: var(--black); border: var(--border); border-radius: 50%; }
.hb-c.lg { width: clamp(60px, 11vw, 150px); height: clamp(60px, 11vw, 150px); }
.hb-c.md { width: clamp(38px,  7vw,  94px); height: clamp(38px,  7vw,  94px); }
.hb-c.sm { width: clamp(50px,  9vw, 122px); height: clamp(50px,  9vw, 122px); }

/* ── CARDS SECTION ── */
.cards-section {
  position: relative; background: var(--black);
  overflow: visible; padding: clamp(26px, 5vw, 72px) 0 0;
}

/* ── CARROSSÉIS ── */
.carousel { position: relative; z-index: 2; overflow: hidden; cursor: grab; user-select: none; }
.carousel:active { cursor: grabbing; }
.carousel-track { display: flex; gap: clamp(6px, 1.2vw, 18px); will-change: transform; }
.card-num {
  font-family: 'AngelicWar', cursive;
  font-size: clamp(18px, 3vw, 48px); font-weight: 700; color: var(--white);
  position: absolute; bottom: clamp(8px, 1.5vw, 18px); left: clamp(10px, 2vw, 22px);
  line-height: 1; opacity: 0.2;
}
.tc {
  position: relative; background: var(--black); border: var(--border);
  border-radius: clamp(10px, 2vw, 28px); flex-shrink: 0;
  width: clamp(110px, 22vw, 300px); height: clamp(100px, 18vw, 250px);
}
.tc.wide { width: clamp(154px, 30vw, 420px); }
.ws-block {
  position: relative; background: var(--black); border: var(--border);
  flex-shrink: 0; width: clamp(200px, 36vw, 480px); height: clamp(90px, 16vw, 220px);
}
.fc {
  position: relative; background: var(--black); border: var(--border);
  border-radius: clamp(12px, 2.2vw, 32px); flex-shrink: 0;
  width: clamp(130px, 22vw, 300px); height: clamp(110px, 20vw, 280px);
}

/* ── BEST BAND ── */
.best-band {
  background: var(--black); overflow: hidden;
  height: clamp(44px, 7.5vw, 110px);
  display: flex; align-items: center; padding: 0 clamp(8px, 1.5vw, 20px);
}
.best-text {
  font-family: 'AngelicWar', cursive;
  font-size: clamp(30px, 6vw, 92px); color: var(--white); white-space: nowrap;
}

/* ── BLUE LINE ── */
.blue-line { height: 2px; background: var(--white); }

/* ── WIDE SECTION ── */
.wide-section { overflow: hidden; cursor: grab; user-select: none; border-bottom: var(--border); }
.wide-section:active { cursor: grabbing; }
.wide-section .carousel-track { gap: clamp(4px, 0.8vw, 12px); padding: clamp(6px, 1vw, 14px); }

/* ── LANG BAND ── */
.lang-band { position: relative; background: var(--black); overflow: hidden; height: clamp(66px, 13vw, 180px); }
.lang-text-wrap {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; z-index: 1; overflow: hidden;
}
.lang-text {
  font-family: 'AngelicWar', cursive;
  font-size: clamp(50px, 10.5vw, 160px); color: var(--white); white-space: nowrap; line-height: 1;
}
.lang-stripe {
  position: absolute; top: 50%; left: 0; right: 0;
  height: 2px; background: var(--white); z-index: 3; transform: translateY(-50%);
}
.lang-box {
  position: absolute; left: clamp(8px, 1.5vw, 22px); top: 50%; transform: translateY(-50%);
  background: var(--black); border: var(--border);
  width: clamp(66px, 12vw, 170px); height: clamp(36px, 7vw, 100px); z-index: 4;
}

/* ── FOUR SECTION ── */
.four-section { background: var(--black); padding: clamp(8px, 1.5vw, 22px) 0; }

/* ── CTA ── */
.cta-section { background: var(--black); display: flex; justify-content: center; padding: clamp(10px, 2vw, 28px); }
.cta-btn {
  background: var(--black); color: var(--white); border: var(--border);
  width: clamp(180px, 40vw, 520px); height: clamp(28px, 4.5vw, 56px);
  font-family: Arial, sans-serif; font-size: clamp(11px, 1.4vw, 18px);
  letter-spacing: clamp(2px, 0.4vw, 6px); text-transform: uppercase; cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.cta-btn:hover { background: var(--white); color: var(--black); }

/* ── BLUE GRID ── */
.blue-grid {
  background: var(--black); display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: var(--border); border-bottom: var(--border);
}
.bg-cell { height: clamp(110px, 20vw, 280px); border-right: var(--border); }
.bg-cell:last-child { border-right: none; }

/* ── HA BAND ── */
.ha-band {
  background: var(--black); overflow: hidden;
  height: clamp(40px, 7.5vw, 110px);
  display: flex; align-items: center; padding: 0 clamp(8px, 1.5vw, 20px);
}
.ha-text {
  font-family: 'AngelicWar', cursive;
  font-size: clamp(28px, 5.5vw, 84px); color: var(--white); white-space: nowrap;
}

/* ── RESPONSIVE ── */
@media (max-width: 480px) {
  .blue-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 2000px) {
  .xp-hero { height: 760px; }
  .bg-cell { height: 360px; }
}
