/* ==========================================================================
   Nocturno Culto — Responsive overrides (mobile-first)
   File: css/responsive.css
   Breakpoints: 480 / 768 / 1024 / 1280
   ========================================================================== */

/* ---------- Base mobile (< 480) ----------------------------------------- */
:root {
  --nc-fs-2xl: 1.875rem;
  --nc-fs-3xl: 2.375rem;
  --nc-fs-4xl: 2.75rem;
}

.nc-section { padding: var(--nc-space-7) 0; }

.nc-nav__menu { display: none; }

.nc-nav__inner {
  gap: var(--nc-space-2);
  padding: 0 var(--nc-space-3);
  flex-wrap: nowrap;
}

.nc-nav__brand {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  gap: var(--nc-space-2);
  min-width: 0;
  flex: 1 1 auto;
}

.nc-nav__brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nc-nav__brand img,
.nc-nav__brand svg {
  height: 28px;
  flex-shrink: 0;
}

.nc-nav__cta {
  flex-shrink: 0;
  padding: 0.55rem 0.95rem;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
}

.nc-hero {
  min-height: auto;
  padding: var(--nc-space-7) 0 var(--nc-space-8);
}

.nc-hero__title { letter-spacing: 0.18em; }

.nc-hero__details {
  flex-direction: column;
  gap: var(--nc-space-2);
  text-align: center;
}

.nc-hero__actions { flex-direction: column; align-items: stretch; }
.nc-hero__actions .nc-cta { width: 100%; }

.nc-grid,
.nc-grid--3,
.nc-grid--2 { grid-template-columns: 1fr; }

.nc-ticket-layout {
  grid-template-columns: 1fr;
  gap: var(--nc-space-6);
}

.nc-form__row { grid-template-columns: 1fr; }

.nc-pay { grid-template-columns: 1fr; }

.nc-sponsors { grid-template-columns: 1fr; }

.nc-footer__grid { grid-template-columns: 1fr; gap: var(--nc-space-5); }

.nc-footer__bottom {
  justify-content: flex-start;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--nc-space-2);
}

.nc-back-to-top {
  right: var(--nc-space-3);
  bottom: var(--nc-space-3);
  width: 44px;
  height: 44px;
}

.nc-frame { padding: var(--nc-space-5); }
.nc-ticket-box { padding: var(--nc-space-5); }

/* ---------- Small (>= 480) --------------------------------------------- */
@media (min-width: 480px) {
  :root {
    --nc-fs-2xl: 2.125rem;
    --nc-fs-3xl: 2.75rem;
    --nc-fs-4xl: 3.25rem;
  }

  .nc-hero__details {
    flex-direction: row;
    text-align: left;
  }

  .nc-hero__actions { flex-direction: row; }
  .nc-hero__actions .nc-cta { width: auto; }

  .nc-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Medium (>= 768) -------------------------------------------- */
@media (min-width: 768px) {
  :root {
    --nc-fs-2xl: 2.375rem;
    --nc-fs-3xl: 3rem;
    --nc-fs-4xl: 3.875rem;
  }

  .nc-section { padding: var(--nc-space-8) 0; }

  .nc-nav__menu { display: flex; }

  .nc-hero {
    min-height: 86vh;
    padding: var(--nc-space-9) 0;
  }

  .nc-hero__title { letter-spacing: 0.24em; }

  .nc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nc-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .nc-form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .nc-pay { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .nc-sponsors { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .nc-footer__grid { grid-template-columns: 2fr 1fr 1fr; }

  .nc-footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ---------- Large (>= 1024) -------------------------------------------- */
@media (min-width: 1024px) {
  :root {
    --nc-fs-2xl: 2.5rem;
    --nc-fs-3xl: 3.25rem;
    --nc-fs-4xl: 4.25rem;
  }

  .nc-section { padding: var(--nc-space-9) 0; }

  .nc-hero {
    min-height: calc(100vh - var(--nc-header-h));
  }

  .nc-hero__title { letter-spacing: 0.28em; }

  .nc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .nc-sponsors { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .nc-ticket-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: var(--nc-space-7);
  }

  .nc-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* ---------- XL (>= 1280) ----------------------------------------------- */
@media (min-width: 1280px) {
  :root {
    --nc-fs-3xl: 3.5rem;
    --nc-fs-4xl: 4.75rem;
  }

  .nc-container { padding: 0 var(--nc-space-6); }

  .nc-section { padding: var(--nc-space-10) 0; }

  .nc-frame { padding: var(--nc-space-8); }
}

/* ---------- Print ------------------------------------------------------ */
@media print {
  .nc-nav,
  .nc-back-to-top,
  .nc-smoke,
  .nc-hero__actions,
  .nc-pay { display: none !important; }

  body {
    background: #fff !important;
    color: #000 !important;
  }

  h1, h2, h3, h4 {
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
  }
}
