@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@400;500;600;700&display=swap');

:root {
  --primary: #005b8e;
  --primary-hover: #01456b;
  --secondary: #ff751b;
  --secondary-hover: #fa5b2f;
  --header-h: 72px;
}

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

html, body {
  font-family: 'Work Sans', sans-serif;
  background: #fff;
  color: #2b2b2b;
  min-height: 100vh;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ============================================================
   HEADER
   ============================================================ */
.q2l-header {
  background: var(--primary);
  height: var(--header-h);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

/* The single inner row — space-between pushes left/right sections apart */
.q2l-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1664px;
  margin: 0 auto;
  /* Mobile: tight padding */
  padding: 0 16px;
}

/* ---- Left section: logo + nav ---- */
.q2l-header__left {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-shrink: 0;
}

.q2l-header__logo img {
  width: 71px;
  height: 49px;
  object-fit: contain;
  display: block;
}

/* ---- Desktop nav ---- */
.q2l-header__nav {
  display: none; /* hidden on mobile, shown ≥768 */
}

.q2l-header__nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Nav links — plain text, no box */
.q2l-header__link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.65); /* inactive */
  font-size: 16px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 6px;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
  background: none;
  border: none;
}

.q2l-header__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.q2l-header__link.is-active {
  color: #fff;
}

.q2l-header__link--chevron {
  width: 14px;
  height: 14px;
  filter: brightness(0) invert(1);
  opacity: 0.65;
  transition: opacity 0.15s;
}

.q2l-header__link:hover .q2l-header__link--chevron,
.q2l-header__link.is-active .q2l-header__link--chevron {
  opacity: 1;
}

/* Dropdown */
.q2l-header__dropdown {
  position: relative;
}

.q2l-header__dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
  min-width: 230px;
  padding: 8px 0;
  z-index: 300;
}

.q2l-header__dropdown.is-open .q2l-header__dropdown-menu {
  display: block;
}

.q2l-header__dropdown-menu a {
  display: block;
  padding: 11px 20px;
  color: #2b2b2b;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}

.q2l-header__dropdown-menu a:hover {
  background: #f0f5ff;
  color: var(--primary);
}

/* ---- Right section: search + flags + entrar + cart + hamburger ---- */
.q2l-header__right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

/* Desktop search (inside header) */
.q2l-header__search {
  display: none; /* shown ≥768 */
  min-width: 0;
}

.q2c-search {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 500px;
  overflow: hidden;
  width: 220px;
}

.q2c-search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 9px 16px;
  font-size: 14px;
  font-family: inherit;
  background: transparent;
  color: #2b2b2b;
  min-width: 0;
}

.q2c-search-input::placeholder { color: #999; }

.q2c-search-button {
  padding: 7px 12px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.q2c-search-icon { width: 22px; height: 22px; }

/* Mobile search (below carousel, always shown on mobile) */
.q2l-mobile-search {
  display: block; /* shown on mobile */
  padding: 12px 16px;
  background: #fff;
}

.q2l-mobile-search .q2c-search {
  width: 100%;
  border: 1px solid #dbdfe5;
}

/* Language flags */
.q2l-header__flags {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-shrink: 0;
}

.q2l-header__flags a {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  opacity: 0.9;
  transition: opacity 0.15s, transform 0.15s;
}

.q2l-header__flags a:hover,
.q2l-header__flags a.active {
  opacity: 1;
  transform: scale(1.08);
}

.q2l-header__flags img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Entrar button — hidden on mobile */
.q2l-header__entrar {
  display: none; /* shown ≥768 */
}

.btn-entrar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--secondary);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.15s;
  flex-shrink: 0;
}

.btn-entrar:hover { background: var(--secondary-hover); }

/* Cart */
.q2l-header__cart {
  flex-shrink: 0;
}

.q2l-header__cart button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.q2l-header__cart img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
}

/* Hamburger — shown on mobile only */
.q2l-header__hamburger {
  display: flex;
  align-items: center;
  padding: 4px;
  flex-shrink: 0;
}

.q2l-header__hamburger img {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
}

/* ============================================================
   MOBILE SLIDE-IN MENU
   ============================================================ */
.q2l-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 2000;
}

.q2l-mobile-menu.is-open { display: block; }

.q2l-mobile-menu__panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(300px, 82vw);
  background: #fff;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.28s ease;
}

.q2l-mobile-menu.is-open .q2l-mobile-menu__panel {
  transform: translateX(0);
}

.q2l-mobile-menu__head {
  background: var(--primary);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.q2l-mobile-menu__head img {
  width: 60px;
  filter: brightness(0) invert(1);
}

.q2l-mobile-menu__close {
  font-size: 26px;
  color: #fff;
  line-height: 1;
  padding: 4px;
}

.q2l-mobile-menu__entrar {
  margin: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--secondary);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 8px;
}

.q2l-mobile-menu__links {
  border-top: 1px solid #dbdfe5;
}

.q2l-mobile-menu__links a,
.q2l-mobile-menu__links button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 20px;
  font-size: 15px;
  font-weight: 500;
  color: #2b2b2b;
  border-bottom: 1px solid #f0f0f0;
  width: 100%;
  text-align: left;
  background: none;
  cursor: pointer;
  transition: background 0.15s;
}

.q2l-mobile-menu__links a:hover,
.q2l-mobile-menu__links button:hover {
  background: #f8f9fa;
  color: var(--primary);
}

/* ============================================================
   HERO / CAROUSEL
   ============================================================ */
.q2l-hero {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.q2l-hero .swiper { width: 100%; }

.q2l-hero__banner {
  width: 100%;
  height: auto;
  display: block;
}

.q2l-hero .swiper-button-next,
.q2l-hero .swiper-button-prev {
  color: #fff;
  background: rgba(0, 0, 0, 0.28);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: background 0.15s;
}

.q2l-hero .swiper-button-next:hover,
.q2l-hero .swiper-button-prev:hover {
  background: rgba(0, 0, 0, 0.5);
}

.q2l-hero .swiper-button-next::after,
.q2l-hero .swiper-button-prev::after {
  font-size: 15px;
  font-weight: 700;
}

.q2l-hero .swiper-pagination-bullet {
  background: #fff;
  opacity: 0.55;
  width: 9px;
  height: 9px;
}

.q2l-hero .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--secondary);
}

/* ============================================================
   EVENTS SECTION
   ============================================================ */
.q2l-events {
  background: #fff;
}

.q2l-events__container {
  max-width: 1664px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}

.q2l-events__title {
  color: var(--primary);
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 24px;
}

.q2l-events__grid {
  display: grid;
  /* Mobile default: 2 columns */
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.q2l-events__empty {
  color: #6b7280;
  text-align: center;
  padding: 48px 16px;
  font-size: 16px;
  grid-column: 1 / -1;
}

/* ============================================================
   EVENT CARD
   ============================================================ */
.q2c-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow:
    rgba(0, 0, 0, 0.008) 0px 0.8px 2.2px,
    rgba(0, 0, 0, 0.008) 0px 1.9px 5.3px,
    rgba(0, 0, 0, 0.01)  0px 3.6px 10px,
    rgba(0, 0, 0, 0.01)  0px 6.5px 17.9px,
    rgba(0, 0, 0, 0.016) 0px 12.1px 33.4px,
    rgba(0, 0, 0, 0.02)  0px 29px 80px;
  transition: transform 0.2s;
}

.q2c-card:hover { transform: translateY(-3px); }

.q2c-card__link { display: block; }

.q2c-card__banner {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.q2c-card__body { padding: 16px; }

.q2c-card__title {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  text-transform: uppercase;
  line-height: 1.3;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.q2c-card__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.q2c-card__meta-row {
  display: flex;
  align-items: center;
  gap: 7px;
}

.q2c-card__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.q2c-card__meta-text {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.2;
}

/* ============================================================
   FOOTER
   ============================================================ */
.q2l-footer {
  background: var(--primary);
  color: #fff;
}

.q2l-footer__container {
  max-width: 1664px;
  margin: 0 auto;
  padding: 30px 16px;
}

/* --- Top: logos left + social right --- */
.q2l-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 28px;
}

.q2l-footer__logos {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.q2l-footer__logos img {
  height: 56px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.q2l-footer__social {
  display: flex;
  gap: 10px;
  align-items: center;
}

.q2l-footer__social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.15s;
}

.q2l-footer__social a:hover { background: rgba(255, 255, 255, 0.22); }

.q2l-footer__social img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

/* --- Middle: app downloads + badges (centered) --- */
.q2l-footer__middle {
  text-align: center;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 28px;
}

.q2l-footer__app-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

.q2l-footer__app-links {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.q2l-footer__app-links a img {
  height: 46px;
  width: auto;
}

.q2l-footer__badges {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.q2l-footer__badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.q2l-footer__badge-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.q2l-footer__badge img {
  height: 52px;
  width: auto;
}

.q2l-footer__compliance {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 2px;
}

.q2l-footer__compliance img {
  height: 56px;
  width: auto;
}

/* --- Columns: links --- */
.q2l-footer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 16px;
  padding-bottom: 28px;
}

.q2l-footer__col-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}

.q2l-footer__col a {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  padding: 4px 0;
  transition: color 0.15s;
}

.q2l-footer__col a:hover { color: #fff; }

.q2l-footer__col a.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  padding: 9px 14px;
  color: #fff;
  font-weight: 500;
  font-size: 13px;
  margin-top: 4px;
  transition: background 0.15s, border-color 0.15s;
}

.q2l-footer__col a.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.7);
}

.q2l-footer__col a.btn-outline img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

/* --- Copyright --- */
.q2l-footer__copy {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.q2l-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s;
}

.q2l-whatsapp:hover { transform: scale(1.08); }

.q2l-whatsapp svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

/* ============================================================
   LEGAL / CONTENT PAGES
   ============================================================ */
.q2l-legal {
  background: #f7f9fb;
  min-height: calc(100vh - var(--header-h));
  padding: 40px 16px 64px;
}

.q2l-legal__container {
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  padding: 36px 24px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.q2l-legal__title {
  color: var(--primary);
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  line-height: 1.35;
  margin-bottom: 32px;
  text-transform: uppercase;
}

.q2l-legal__subtitle {
  color: var(--primary);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 28px 0 12px;
}

.q2l-legal__section { margin-bottom: 8px; }

.q2l-legal__container p {
  font-size: 15px;
  line-height: 1.8;
  color: #2b2b2b;
  margin-bottom: 12px;
}

.q2l-legal__container ul,
.q2l-legal__container ol {
  padding-left: 24px;
  margin-bottom: 14px;
}

.q2l-legal__container li {
  font-size: 15px;
  line-height: 1.8;
  color: #2b2b2b;
  margin-bottom: 4px;
}

.q2l-legal__container b,
.q2l-legal__container strong {
  font-weight: 700;
  color: #111;
}

.q2l-legal__container a {
  color: var(--primary);
  text-decoration: underline;
}

.q2l-legal__alert {
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: #7a5000;
}

.q2l-legal__alert strong { color: #7a5000; }

.q2l-legal__refund-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 20px 0;
}

.q2l-legal__refund-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f0f7ff;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
}

.q2l-legal__refund-item::before {
  content: '✓';
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
}

/* Institucional */
.q2l-inst { background: #f7f9fb; min-height: calc(100vh - var(--header-h)); }

.q2l-inst__hero {
  background: linear-gradient(135deg, #003d60 0%, var(--primary) 100%);
  color: #fff;
  padding: 64px 16px;
  text-align: center;
}

.q2l-inst__hero h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  max-width: 620px;
  margin: 0 auto 16px;
}

.q2l-inst__hero p {
  font-size: 18px;
  opacity: 0.9;
  max-width: 540px;
  margin: 0 auto;
}

.q2l-inst__numbers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 16px;
}

.q2l-inst__stat {
  background: #fff;
  border-radius: 10px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.q2l-inst__stat-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
}

.q2l-inst__stat-label {
  font-size: 14px;
  color: #6b7280;
  margin-top: 4px;
}

.q2l-inst__section {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 16px 48px;
}

.q2l-inst__section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
}

.q2l-inst__products {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.q2l-inst__product {
  background: #fff;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.q2l-inst__product h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.q2l-inst__product p {
  font-size: 15px;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 12px;
}

.q2l-inst__product ul {
  padding-left: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
}

.q2l-inst__product li {
  background: #e8f3fb;
  color: var(--primary);
  font-size: 13px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
}

.q2l-inst__faq {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 16px 48px;
}

.q2l-inst__faq-item {
  border-bottom: 1px solid #e5e7eb;
}

.q2l-inst__faq-item summary {
  padding: 16px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.q2l-inst__faq-item summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  flex-shrink: 0;
  margin-left: 12px;
}

.q2l-inst__faq-item[open] summary::after { content: '−'; }

.q2l-inst__faq-item p {
  padding-bottom: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: #4b5563;
}

.q2l-inst__cta {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 48px 16px;
}

.q2l-inst__cta h2 { font-size: 24px; font-weight: 700; margin-bottom: 16px; }

.q2l-inst__cta p { font-size: 16px; opacity: 0.9; margin-bottom: 24px; }

.q2l-inst__cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--secondary);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  transition: background 0.15s;
}

.q2l-inst__cta a:hover { background: var(--secondary-hover); }

@media (min-width: 640px) {
  .q2l-legal { padding: 48px 24px 80px; }
  .q2l-legal__container { padding: 48px 48px; }
  .q2l-legal__title { font-size: 24px; }
  .q2l-inst__numbers { padding: 48px 24px; grid-template-columns: repeat(3, 1fr); }
  .q2l-inst__section { padding: 0 24px 48px; }
  .q2l-inst__products { grid-template-columns: repeat(2, 1fr); }
  .q2l-inst__faq { padding: 0 24px 48px; }
  .q2l-legal__refund-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .q2l-legal { padding: 56px 48px 96px; }
  .q2l-inst__hero h1 { font-size: 42px; }
  .q2l-inst__numbers { grid-template-columns: repeat(6, 1fr); padding: 56px 48px; }
  .q2l-inst__section { padding: 0 48px 56px; }
  .q2l-inst__products { grid-template-columns: repeat(3, 1fr); }
  .q2l-inst__faq { padding: 0 48px 56px; }
}

/* ============================================================
   INNER PAGES (login / event detail)
   ============================================================ */
.q2l-page {
  background: #f9f9fb;
  min-height: calc(100vh - var(--header-h));
  padding: 40px 16px;
}

.q2l-page__box {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  padding: 32px 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.q2l-page__title {
  color: var(--primary);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 24px;
}

.q2l-page__content {
  line-height: 1.75;
  font-size: 15px;
  color: #2b2b2b;
}

.q2l-page__content h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin: 24px 0 10px;
}

.q2l-page__content p { margin-bottom: 14px; }

/* Login */
.q2l-login { max-width: 420px; }
.q2l-form { display: flex; flex-direction: column; gap: 16px; }

.q2l-form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
}

.q2l-form-group input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #dbdfe5;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.q2l-form-group input:focus { border-color: var(--primary); }

.btn-primary {
  background: var(--secondary);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 13px;
  border-radius: 8px;
  width: 100%;
  cursor: pointer;
  border: none;
  transition: background 0.15s;
}

.btn-primary:hover { background: var(--secondary-hover); }

/* Event detail */
.q2l-event__banner {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

.q2l-event__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.q2l-event__meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #6b7280;
}

.q2l-event__meta-item img { width: 18px; height: 18px; }

/* ============================================================
   RESPONSIVE — TABLET / DESKTOP
   ============================================================ */
@media (min-width: 640px) {
  .q2l-header__inner { padding: 0 24px; }
  .q2l-events__container { padding: 40px 24px 72px; }
  .q2l-footer__container { padding: 30px 24px; }
  .q2l-footer__cols { grid-template-columns: repeat(4, 1fr); }
  .q2l-mobile-search { padding: 14px 24px; }
  .q2l-page { padding: 40px 24px; }
  .q2l-page__box { padding: 40px 40px; }
}

@media (min-width: 768px) {
  /* Show nav + search + entrar in header */
  .q2l-header__nav  { display: block; }
  .q2l-header__search { display: block; }
  .q2l-header__entrar { display: flex; }
  /* Hide hamburger and mobile search */
  .q2l-header__hamburger { display: none; }
  .q2l-mobile-search { display: none; }

  .q2l-header__inner { padding: 0 32px; gap: 0; }
  .q2c-search { width: 200px; }
  .q2l-events__container { padding: 40px 32px 72px; }
  .q2l-events__title { font-size: 32px; }
  .q2l-events__grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
  }
  .q2c-card__title { font-size: 15px; }
  .q2l-footer__container { padding: 30px 32px; }
}

@media (min-width: 1024px) {
  .q2l-header__inner { padding: 0 48px; }
  .q2c-search { width: 240px; }
  .q2l-events__container { padding: 48px 48px 80px; }
  .q2l-events__grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
  }
  .q2c-card__title { font-size: 16px; }
  .q2l-footer__container { padding: 30px 48px; }
}

@media (min-width: 1280px) {
  .q2l-header__inner { padding: 0 102px; }
  .q2c-search { width: 280px; }
  .q2l-events__container { padding: 48px 102px 80px; }
  .q2l-footer__container { padding: 30px 102px; }
}

/* ============================================================
   AUTH — Login / Cadastro
   ============================================================ */
.q2l-auth {
  min-height: calc(100vh - var(--header-h));
  background: #f5f7fa;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 16px 80px;
}

.q2l-auth__card {
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px 36px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.q2l-auth__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 24px;
}

.q2l-auth__title {
  color: var(--primary);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}

.q2l-auth__desc {
  color: #536379;
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 24px;
}

.q2l-auth__error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  margin-bottom: 16px;
}

.q2l-auth__form { display: flex; flex-direction: column; gap: 18px; }

.q2l-auth__field label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #2b2b2b;
  margin-bottom: 8px;
}

.q2l-auth__input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid #dbdfe5;
  border-radius: 10px;
  padding: 0 14px;
  background: #fff;
  transition: border-color .15s;
}

.q2l-auth__input-wrap:focus-within { border-color: var(--primary); }

.q2l-auth__input-icon { width: 20px; height: 20px; opacity: .45; flex-shrink: 0; }

.q2l-auth__input-wrap input {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 0;
  font-size: 15px;
  font-family: inherit;
  background: transparent;
}

.q2l-auth__forgot {
  align-self: flex-start;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.q2l-auth__submit {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: var(--secondary);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
}

.q2l-auth__submit:hover:not(:disabled) { background: var(--secondary-hover); }
.q2l-auth__submit:disabled { opacity: .7; cursor: not-allowed; }

.q2l-auth__register {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
  color: #6b7280;
}

.q2l-auth__register a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

/* ============================================================
   CADASTRO — 3 passos (layout 100% fiel ao oficial)
   ============================================================ */

/* Página wrapper — bg branco, padding desktop 20px 102px */
.q2l-reg-page {
  background: #fff;
  min-height: calc(100vh - var(--header-h));
  padding: 20px 102px 60px;
}

/* Main: coluna com max-width 480px, centralizado como no oficial */
.q2l-reg-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 480px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.q2l-reg-main[hidden],
.q2l-reg-code-wrap[hidden],
[hidden] { display: none !important; }

/* Alert global de erro */
.q2l-reg-alert {
  max-width: 480px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  margin-bottom: 4px;
}
.q2l-reg-alert.is-success { background: #ecfdf5; border-color: #a7f3d0; color: #047857; }

/* Back link */
.q2l-reg-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: #005B8E;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}

/* Progress bar */
.q2l-reg-bar {
  display: flex;
  flex-direction: row;
  gap: 8px;
}

.q2l-reg-bar__line {
  flex: 1;
  height: 6px;
  border-radius: 16px;
  background: #e1e6ef;
  transition: background .2s;
}

.q2l-reg-bar__line--active { background: #005B8E; }

/* Title */
.q2l-reg-title {
  color: #111827;
  font-size: 24px;
  font-weight: 700;
  margin: 0;
}

/* Content: each field has gap 16px */
.q2l-reg-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Field: label + input wrapper, gap 6px */
.q2l-reg-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Label */
.q2l-reg-label {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: #2b2b2b;
}

/* Country selector */
.q2l-reg-country-wrap {
  display: flex;
  border: 1px solid #dbdfe5;
  border-radius: 8px;
  background: #fff;
  transition: border-color .15s;
}

.q2l-reg-country-wrap--success { border-color: #30BF6C; }
.q2l-reg-country-wrap:focus-within { border-color: #005B8E; }

.q2l-reg-country-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 400;
  color: #2b2b2b;
  cursor: default;
  font-family: inherit;
  width: 100%;
}

/* Estado + Cidade lado a lado */
.q2l-reg-state-city {
  display: flex;
  flex-direction: row;
  gap: 12px;
}

.q2l-reg-field--state { width: 152px; flex-shrink: 0; }
.q2l-reg-field--city  { flex: 1; min-width: 0; }

/* Select wrapper com chevron custom */
.q2l-reg-select-wrap {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid #dbdfe5;
  border-radius: 8px;
  background: #fff;
  transition: border-color .15s;
}

.q2l-reg-select-wrap:focus-within { border-color: #005B8E; }
.q2l-reg-select-wrap--disabled { background: #f1f3f9; }

.q2l-reg-select {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 12px 36px 12px 16px;
  font-size: 16px;
  font-family: inherit;
  color: #2b2b2b;
  outline: none;
  cursor: pointer;
}

.q2l-reg-select:disabled {
  color: #7789A3;
  cursor: default;
}

.q2l-reg-select option[value=""] { color: #7789A3; }

.q2l-reg-chevron {
  position: absolute;
  right: 10px;
  pointer-events: none;
  flex-shrink: 0;
}

/* Input wrapper */
.q2l-reg-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #dbdfe5;
  border-radius: 8px;
  background: #fff;
  padding: 12px 16px;
  transition: border-color .15s;
}

.q2l-reg-input-wrap:focus-within { border-color: #005B8E; }
.q2l-reg-input-wrap.is-error { border-color: #dc2626; }
.q2l-reg-input-wrap.is-success { border-color: #30BF6C; }

.q2l-reg-input-wrap input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  font-family: inherit;
  color: #2b2b2b;
  padding: 0;
  min-width: 0;
}

.q2l-reg-input-wrap input::placeholder { color: #7789A3; }

/* Phone DDI */
.q2l-reg-phone-ddi {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  color: #2b2b2b;
  padding-right: 8px;
  border-right: 1px solid #e1e6ef;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Flag */
.q2l-reg-flag { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; }

/* Eye button */
.q2l-reg-eye {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  flex-shrink: 0;
}

/* Error/success messages */
.q2l-reg-msg {
  font-size: 14px;
  min-height: 18px;
  color: transparent;
}

.q2l-reg-msg.is-error   { color: #dc2626; }
.q2l-reg-msg.is-success { color: #059669; }

/* Desc */
.q2l-reg-desc {
  font-size: 16px;
  color: #536379;
  line-height: 1.5;
  margin: 0;
}

/* Minor notice */
.q2l-reg-minor-notice {
  font-size: 14px;
  color: #536379;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 12px 14px;
  line-height: 1.4;
  margin: 0;
}

/* Btn wrapper */
.q2l-reg-btn-wrap {
  padding-top: 32px;
  display: flex;
}

.q2l-reg-btn-wrap--resend { padding-top: 8px; }

/* Submit button */
.q2l-reg-submit {
  flex: 1;
  height: 44px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background .15s, color .15s;
  background: var(--secondary);
  color: #fff;
}

.q2l-reg-submit:hover:not(:disabled) { background: var(--secondary-hover); }

.q2l-reg-submit:disabled {
  background: #f1f3f9;
  color: rgba(52,68,90,.8);
  cursor: not-allowed;
}

/* Outline button */
.q2l-reg-outline {
  height: 44px;
  border: 1.5px solid #005B8E;
  border-radius: 8px;
  background: #fff;
  color: #005B8E;
  font-size: 16px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  padding: 0 20px;
}

.q2l-reg-outline:hover { background: #f0f7fc; }

/* Verification channels */
.q2l-reg-channels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.q2l-reg-channel-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 12px;
  border: 1.5px solid #dbdfe5;
  border-radius: 8px;
  background: #fff;
  color: #2b2b2b;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}

.q2l-reg-channel-btn:hover { border-color: #005B8E; background: #f0f7fc; }
.q2l-reg-channel-icon { display: flex; }

/* Code wrap */
.q2l-reg-code-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Dev hint */
.q2l-reg-dev-hint {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
}

/* Password rules */
.q2l-reg-pwd-rules {
  background: #f8fafc;
  border: 1px solid #e5e9ef;
  border-radius: 8px;
  padding: 14px 16px;
}

.q2l-reg-pwd-rules__title {
  font-size: 14px;
  font-weight: 600;
  color: #2b2b2b;
  margin: 0 0 10px;
}

#password-rules {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#password-rules li {
  font-size: 14px;
  color: #6b7280;
  padding-left: 20px;
  position: relative;
}

#password-rules li::before {
  content: '○';
  position: absolute;
  left: 0;
  color: #9aa3af;
}

#password-rules li.is-met { color: #059669; }
#password-rules li.is-met::before { content: '✓'; color: #059669; }

/* Responsive */
@media (max-width: 960px) {
  .q2l-reg-page { padding: 20px 40px 60px; }
}

@media (max-width: 640px) {
  .q2l-reg-page { padding: 16px 16px 60px; }
  .q2l-reg-channels { grid-template-columns: 1fr; }
}

/* Account dropdown */
.q2c-account { position: relative; }
.q2c-account__user-button {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.35);
  color: #fff;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.q2c-account__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  padding: 8px 0;
  z-index: 200;
}
.q2c-account__menu a {
  display: block;
  padding: 10px 16px;
  color: #2b2b2b;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.q2c-account__menu a:hover { background: #f3f7fb; color: var(--primary); }

/* ============================================================
   MINHA CONTA
   ============================================================ */
.q2l-user-account {
  background: #f5f7fa;
  min-height: calc(100vh - var(--header-h));
  padding: 40px 16px 80px;
}

.q2l-user-account__wrap,
.q2l-account-data__wrap {
  max-width: 900px;
  margin: 0 auto;
}

.q2l-user-account__title,
.q2l-account-data__title {
  color: var(--primary);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 28px;
}

.q2l-user-account__subtitle {
  color: var(--primary);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.q2l-user-account__profile-container {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
}

.q2l-user-account__profile-data {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding-bottom: 24px;
  border-bottom: 1px solid #eef2f6;
  margin-bottom: 24px;
}

.q2l-user-account__img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.q2l-user-account__name {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.q2l-user-account__name-title {
  color: var(--primary);
  font-size: 18px;
  font-weight: 700;
}

.q2l-user-account__edit img { width: 18px; height: 18px; opacity: .7; }

.q2l-user-account__email,
.q2l-user-account__phone {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.q2l-user-account__icon { width: 18px; height: 18px; opacity: .6; }
.q2l-user-account__text { font-size: 14px; color: #536379; }

.q2l-user-account__bio-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
}

.q2l-user-account__bio-card--active {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.q2l-user-account__bio-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.q2l-user-account__bio-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.q2l-user-account__bio-card h2 {
  font-size: 16px;
  font-weight: 700;
  color: #1a2332;
  margin-bottom: 0;
}

.q2l-user-account__bio-card--active h2 {
  color: #15803d;
}

.q2l-user-account__bio-card p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 0;
}

.q2l-user-account__bio-btn {
  background: var(--secondary);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

/* Dados da conta */
.q2l-account-data {
  background: #f5f7fa;
  min-height: calc(100vh - var(--header-h));
  padding: 40px 16px 80px;
}

.q2l-account-data__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 16px;
}

.q2l-account-data__form {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.q2l-account-data__field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #374151;
  margin-bottom: 6px;
}

.q2l-account-data__field input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #dbdfe5;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
}

.q2l-account-data__field input:disabled {
  background: #f9fafb;
  color: #6b7280;
}

.q2l-account-data__phone-row {
  display: flex;
  gap: 10px;
}

.q2l-account-data__ddi {
  padding: 12px 14px;
  border: 1.5px solid #dbdfe5;
  border-radius: 8px;
  background: #f9fafb;
  font-weight: 600;
  color: #374151;
}

.q2l-account-data__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.q2l-account-data__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.q2l-account-data__save {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: var(--secondary);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.q2l-account-data__delete {
  background: none;
  border: none;
  color: #ef4444;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}

@media (max-width: 640px) {
  .q2l-user-account__profile-data { flex-direction: column; }
  .q2l-account-data__row { grid-template-columns: 1fr; }
}
