/* ═══════════════════════════════════════════════════════════════
   SOMAR CLUB — Main CSS
   Dark theme · Montserrat · Minimalista
   ═══════════════════════════════════════════════════════════════ */

/* ── Design Tokens ──────────────────────────────────────────────── */
:root {
  --bg:        #0a0a0a;
  --surface:   #111111;
  --surface-2: #181818;
  --border:    #2a2a2a;
  --border-2:  #1e1e1e;
  --text:      #f5f5f5;
  --muted:     #888888;
  --muted-2:   #555555;
  --accent:       #ffffff;
  --secondary:    #e3ff00;
  --on-secondary: #0a0a0a;
  --primary:      #e3ff00;
  --green-wa:  #25d366;
  --danger:    #ff4444;
  --radius:    8px;
  --radius-lg: 16px;
  --font:      'Montserrat', sans-serif;
  --transition: 0.22s cubic-bezier(.16,1,.3,1);
  --shadow:    0 4px 24px rgba(0,0,0,.6);
}

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

/* ── Performance base ──────────────────────────────────────────── */
html { text-rendering: optimizeSpeed; -webkit-text-size-adjust: 100%; }
img, video, iframe { max-width: 100%; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* ── Typography ─────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 { font-weight: 400; line-height: 1.2; }
.display {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 300; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 400; }
h3 { font-size: 1.1rem; font-weight: 500; }
.label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--muted);
}
.muted { color: var(--muted); }
small { font-size: 0.75rem; }

/* ── Layout ─────────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 520px; }
.container--mid    { max-width: 800px; }

/* ── Header / Nav ───────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,10,10,.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-2);
  height: 60px;
  display: flex;
  align-items: center;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.site-logo__img {
  height: 32px;
  width: auto;
  display: block;
}
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--transition);
}
.site-nav a:hover { color: var(--secondary); }
.site-nav a.active { color: var(--secondary); }
.nav-cadastro {
  font-size: .72rem !important;
  font-weight: 500 !important;
  color: var(--muted) !important;
  transition: color var(--transition) !important;
}
.nav-cadastro:hover { color: var(--secondary) !important; }
.nav-cta {
  font-size: .72rem !important;
  font-weight: 600 !important;
  color: var(--text) !important;
  border: 1px solid var(--border) !important;
  padding: 8px 18px;
  border-radius: 4px;
  transition: border-color var(--transition), color var(--transition) !important;
}
.nav-cta:hover {
  color: var(--secondary) !important;
  border-color: var(--secondary) !important;
}

/* ── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: transform var(--transition), opacity var(--transition), background var(--transition), border-color var(--transition);
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .4; pointer-events: none; }

.btn--primary {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.btn--primary:hover {
  background: var(--secondary);
  color: var(--on-secondary);
  border-color: var(--secondary);
  opacity: 1;
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn--outline:hover {
  border-color: var(--secondary);
  color: var(--secondary);
}

.btn--ghost {
  background: transparent;
  color: var(--muted);
  border-color: transparent;
  padding: 10px 16px;
}
.btn--ghost:hover { color: var(--secondary); }

.btn--wa {
  background: var(--green-wa);
  color: #fff;
  border-color: var(--green-wa);
}
.btn--wa:hover { opacity: .9; }

.btn--danger {
  background: transparent;
  color: var(--danger);
  border-color: var(--danger);
}

.btn--full { width: 100%; }
.btn--sm { padding: 10px 18px; font-size: .7rem; }
.btn--lg { padding: 18px 36px; font-size: .8rem; }

/* Loading state */
.btn.loading {
  pointer-events: none;
  position: relative;
  color: transparent;
}
.btn.loading::after {
  content: '';
  position: absolute;
  width: 16px; height: 16px;
  border: 2px solid var(--bg);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

/* ── Form Elements ──────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: .65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted);
  margin-bottom: 8px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: .9rem;
  font-weight: 300;
  padding: 14px 16px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--muted-2); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--muted);
  box-shadow: 0 0 0 3px rgba(255,255,255,.04);
}
.form-input.error,
.form-select.error,
.form-textarea.error { border-color: var(--danger); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-hint {
  font-size: .72rem;
  color: var(--muted-2);
  margin-top: 6px;
}
.form-error {
  font-size: .72rem;
  color: var(--danger);
  margin-top: 6px;
  display: none;
}
.form-error.show { display: block; }

/* Checkbox personalizado */
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: .85rem;
  color: var(--muted);
  transition: color var(--transition);
}
.checkbox-label:hover { color: var(--text); }
.checkbox-label input[type="checkbox"] { display: none; }
.checkbox-box {
  width: 18px; height: 18px;
  border: 1px solid var(--border);
  border-radius: 4px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  transition: background var(--transition), border-color var(--transition);
}
.checkbox-label input:checked ~ .checkbox-box {
  background: var(--text);
  border-color: var(--text);
}
.checkbox-box::after {
  content: '';
  width: 5px; height: 9px;
  border: 2px solid var(--bg);
  border-top: none; border-left: none;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0;
  transition: opacity var(--transition);
}
.checkbox-label input:checked ~ .checkbox-box::after { opacity: 1; }

/* OTP Input */
.otp-inputs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 32px 0;
}
.otp-digit {
  width: 56px; height: 68px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 1.6rem;
  font-weight: 600;
  text-align: center;
  caret-color: transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.otp-digit:focus {
  border-color: var(--muted);
  box-shadow: 0 0 0 3px rgba(255,255,255,.06);
}
.otp-digit.filled { border-color: var(--muted-2); }

/* File Upload */
.file-upload {
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  position: relative;
}
.file-upload:hover { border-color: var(--muted-2); background: var(--surface); }
.file-upload input[type="file"] {
  position: absolute; inset: 0;
  opacity: 0; cursor: pointer;
  width: 100%; height: 100%;
}
.file-upload-icon { font-size: 2rem; margin-bottom: 8px; line-height: 1; }
.file-upload-text { font-size: .8rem; color: var(--muted); }
.file-upload-preview {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  display: none;
}
.file-upload-preview.show { display: block; }

/* ── Specialty Multi-select ─────────────────────────────────────── */
.specialty-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.specialty-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--muted);
  cursor: pointer;
  transition: all var(--transition);
  user-select: none;
}
.specialty-chip:hover { border-color: var(--muted-2); color: var(--text); }
.specialty-chip.selected {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--on-secondary);
}
.specialty-chip input { display: none; }

/* ── Feature chips (formulários de cadastro / painel) ───────────── */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.feature-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: .8rem;
  color: var(--muted);
  cursor: pointer;
  transition: all var(--transition);
  user-select: none;
}
.feature-chip:hover { border-color: var(--muted-2); color: var(--text); }
.feature-chip.selected,
.feature-chip:has(input:checked) {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--on-secondary);
}
.feature-chip input { display: none; }

/* ── Profile features (perfil público) ──────────────────────────── */
.profile-anos-area {
  display: inline-block;
  margin-left: 10px;
  padding: 2px 10px;
  background: rgba(227,255,0,.12);
  border: 1px solid rgba(227,255,0,.35);
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 500;
  vertical-align: middle;
  color: var(--secondary);
}
.profile-atend-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.tag--sm { font-size: .68rem; padding: 2px 8px; }
.profile-social {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.profile-social__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .82rem;
  color: var(--muted);
  transition: color var(--transition);
}
.profile-social__link:hover { color: var(--secondary); }

.profile-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.feature-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  background: var(--surface-2, var(--surface));
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: .75rem;
  color: var(--text);
}

/* ── Trainer Cards ──────────────────────────────────────────────── */
.trainer-card {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
  cursor: pointer;
  position: relative;
}
.trainer-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--text);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--transition);
  z-index: 1;
}
.trainer-card:hover { border-color: var(--secondary); transform: translateY(-4px); }
.trainer-card:hover::before { transform: scaleY(1); background: var(--secondary); }
.trainer-card__img-wrap { overflow: hidden; aspect-ratio: 1; position: relative; }

/* Badge "1ª aula grátis" */
.card-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1;
  pointer-events: none;
  z-index: 2;
}
.card-badge--free {
  background: var(--secondary);
  color: var(--on-secondary);
}
.card-badge--cref {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--on-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg);
  pointer-events: none;
  z-index: 2;
}
.trainer-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.trainer-card:hover .trainer-card__img { transform: scale(1.04); }
.trainer-card__body { padding: 20px; }
.trainer-card__name { font-size: 1rem; font-weight: 500; margin-bottom: 4px; }
.trainer-card__location {
  font-size: .75rem; color: var(--muted);
  display: flex; align-items: center; gap: 4px;
  margin-bottom: 12px;
}
.trainer-card__tags {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px;
}
.tag {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  color: var(--muted);
}
.tag--verified {
  background: rgba(227,255,0,.12);
  border-color: rgba(227,255,0,.3);
  color: var(--secondary);
}
.trainer-card__footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  border-top: 1px solid var(--border-2);
}

/* Stars */
.stars { display: flex; align-items: center; gap: 3px; }
.star { width: 12px; height: 12px; color: var(--muted-2); }
.star.filled { color: #f5c518; }
.rating-count { font-size: .7rem; color: var(--muted); margin-left: 6px; }

/* ── Profiles Grid ──────────────────────────────────────────────── */
.profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

/* ── Paginação (paginate_links) ─────────────────────────────────── */
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: border-color .15s, color .15s, background .15s;
  background: var(--surface);
  margin: 0 3px;
}
.page-numbers:hover { border-color: var(--secondary); color: var(--secondary); }
.page-numbers.current { border-color: var(--secondary); background: var(--secondary); color: var(--on-secondary); }
.page-numbers.dots { border-color: transparent; background: transparent; cursor: default; }
.page-numbers.prev,
.page-numbers.next { padding: 0 14px; }

/* ── Mural de Pedidos ───────────────────────────────────────────── */
.pedidos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.pedido-card {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color .2s;
}
.pedido-card:hover { border-color: var(--muted-2); }

.pedido-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.pedido-card__atividade {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--secondary);
  background: color-mix(in srgb, var(--secondary) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--secondary) 30%, transparent);
  padding: 3px 10px;
  border-radius: 20px;
}
.pedido-card__dias {
  font-size: .72rem;
  color: var(--muted);
}
.pedido-card__nome {
  font-size: .98rem;
  font-weight: 600;
  margin: 0 0 2px;
}
.pedido-card__cidade {
  font-size: .78rem;
  color: var(--muted);
  margin: 0;
}
.pedido-card__horario {
  font-size: .8rem;
  color: var(--text-2, var(--muted));
  margin: 0;
}
.pedido-card__msg {
  font-size: .84rem;
  color: var(--text-2, var(--muted));
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}
.pedido-card__contact {
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: auto;
}
.pedido-card__contact-label {
  font-size: .72rem;
  color: var(--muted);
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.pedido-card__contact-nome {
  font-size: .9rem;
  font-weight: 600;
  margin: 0 0 2px;
}
.pedido-card__contact-valor {
  font-size: .85rem;
  color: var(--secondary);
  margin: 0;
  font-weight: 500;
  word-break: break-all;
}
.pedido-card__contact-lock {
  font-size: .78rem;
  color: var(--muted);
  margin: 0;
}
.pedido-card__contact-lock a { color: var(--secondary); }

.pedido-card__contact-btns {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.pedido-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: .78rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity .15s, transform .1s;
  letter-spacing: .02em;
}
.pedido-contact-btn:hover { opacity: .85; transform: translateY(-1px); }
.pedido-contact-btn--wa {
  background: #25d366;
  color: #fff;
}
.pedido-contact-btn--email {
  background: var(--surface-2, rgba(255,255,255,.08));
  border: 1px solid var(--border);
  color: var(--text);
}

/* ── Modal do Mural ─────────────────────────────────────────────── */
.mural-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.mural-modal[hidden] { display: none; }
.mural-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(4px);
}
.mural-modal__box {
  position: relative;
  z-index: 1;
  background: var(--surface, #111);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
}
@media (max-width: 600px) {
  .mural-modal__box { padding: 24px 20px; }
}
.mural-modal__close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  transition: color .2s;
}
.mural-modal__close:hover { color: var(--text); }
.mural-modal__icon {
  font-size: 2.4rem;
  text-align: center;
  margin-bottom: 12px;
}
.mural-modal__title {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 8px;
  text-align: center;
}
.mural-modal__sub {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 24px;
  text-align: center;
}
.mural-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
@media (max-width: 520px) {
  .mural-form-grid { grid-template-columns: 1fr; }
}
.mural-code-wrap {
  display: flex;
  justify-content: center;
  margin: 20px 0 8px;
}
.mural-code-input {
  width: 180px;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: .3em;
  text-align: center;
  padding: 14px 16px;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: monospace;
  transition: border-color .2s;
}
.mural-code-input:focus {
  outline: none;
  border-color: var(--secondary);
}
.mural-msg {
  font-size: .8rem;
  text-align: center;
  display: block;
  margin: 4px 0 12px;
  min-height: 18px;
}

/* ── Hero ───────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 80px 24px 60px;
  text-align: center;
}
.hero__bg {
  position: absolute; inset: 0;
  background: #000;
  overflow: hidden;
}
.hero__video-wrap {
  position: absolute; inset: 0;
  overflow: hidden;
}
.hero__video {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw; height: 56.25vw;
  min-height: 100%; min-width: 177.78vh;
  pointer-events: none; border: 0;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.75) 0%,
    rgba(0,0,0,.55) 40%,
    rgba(0,0,0,.82) 100%
  );
}
.hero__content {
  position: relative; z-index: 1;
  max-width: 720px; margin: 0 auto;
}
.hero__eyebrow {
  font-size: .6rem; font-weight: 700;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 24px; overflow: hidden;
}
.hero__eyebrow span { display: inline-block; }
.hero__title {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  font-weight: 300; letter-spacing: -.03em;
  line-height: 1.05; margin-bottom: 20px; overflow: hidden;
}
.hero__title span { display: block; }
.hero__subtitle {
  font-size: clamp(.85rem, 2vw, 1rem);
  color: var(--muted); font-weight: 300;
  margin-bottom: 48px;
  max-width: 480px; margin-left: auto; margin-right: auto;
}
.hero__search {
  display: flex; gap: 8px;
  max-width: 540px; margin: 0 auto;
}
.hero__search-wrap { position: relative; flex: 1; }
.hero__search-input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: .9rem; font-weight: 300;
  padding: 14px 48px 14px 16px;
  outline: none; font-family: var(--font);
  transition: border-color var(--transition);
}
.hero__search-input:focus { border-color: var(--muted-2); }
.hero__search-input::placeholder { color: var(--muted-2); }
.hero__search-icon {
  position: absolute; right: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--muted-2); pointer-events: none;
}

/* ── Filter Bar ─────────────────────────────────────────────────── */
.filter-bar {
  position: sticky; top: 60px; z-index: 90;
  background: rgba(10,10,10,.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-2);
  padding: 12px 0;
}
.filter-bar__inner {
  display: flex; gap: 8px;
  overflow-x: auto; scrollbar-width: none;
  -ms-overflow-style: none; padding-bottom: 2px;
}
.filter-bar__inner::-webkit-scrollbar { display: none; }
.filter-chip {
  flex-shrink: 0;
  padding: 7px 14px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: .7rem; font-weight: 500;
  letter-spacing: .08em; color: var(--muted);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  font-family: var(--font);
}
.filter-chip:hover { border-color: var(--muted-2); color: var(--text); }
.filter-chip.active {
  background: var(--text); border-color: var(--text); color: var(--bg);
}

/* ── Sections ───────────────────────────────────────────────────── */
.section { padding: 80px 0; }
.section--sm { padding: 48px 0; }
.section__header { margin-bottom: 48px; }
.section__eyebrow {
  font-size: .6rem; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--secondary); margin-bottom: 12px;
}
.section__title { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 300; }

/* ── Auth Pages ─────────────────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 80px 24px;
  background: var(--bg);
}
.auth-card {
  width: 100%; max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
}
.auth-logo {
  font-size: .65rem; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 40px; display: block;
}
.auth-title { font-size: 1.6rem; font-weight: 300; margin-bottom: 8px; }
.auth-sub { font-size: .85rem; color: var(--muted); margin-bottom: 36px; line-height: 1.6; }
.auth-divider {
  display: flex; align-items: center; gap: 16px;
  margin: 24px 0; color: var(--muted-2); font-size: .7rem;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border-2);
}
.auth-footer { margin-top: 24px; text-align: center; font-size: .78rem; color: var(--muted); }
.auth-footer a { color: var(--text); border-bottom: 1px solid var(--border); padding-bottom: 1px; }
.auth-footer a:hover { border-color: var(--muted); }

/* Email mask */
.email-mask {
  font-size: .9rem; font-weight: 500; color: var(--text);
  background: var(--surface-2); border: 1px solid var(--border-2);
  border-radius: var(--radius); padding: 12px 16px;
  margin-bottom: 8px; text-align: center; letter-spacing: .04em;
}

/* OTP Timer */
.otp-timer { text-align: center; font-size: .75rem; color: var(--muted); margin-top: 8px; }
.otp-timer span { color: var(--text); font-weight: 500; }
.otp-resend { text-align: center; margin-top: 16px; }
.otp-resend button {
  font-size: .75rem; color: var(--muted); cursor: pointer;
  background: none; border: none; font-family: inherit; padding: 0;
  text-decoration: underline; transition: color var(--transition);
}
.otp-resend button:hover { color: var(--text); }
.otp-resend button:disabled { opacity: .4; cursor: default; }

/* ── Alerts ─────────────────────────────────────────────────────── */
.alert {
  padding: 14px 18px; border-radius: var(--radius);
  font-size: .82rem; line-height: 1.5; margin-bottom: 16px;
  border: 1px solid transparent; display: none;
}
.alert.show { display: block; }
.alert--error {
  background: rgba(255,68,68,.08); border-color: rgba(255,68,68,.2); color: #ff8888;
}
.alert--success {
  background: rgba(37,211,102,.08); border-color: rgba(37,211,102,.2); color: #5de89e;
}
.alert--info {
  background: rgba(255,255,255,.04); border-color: var(--border-2); color: var(--muted);
}

/* ── Toast Notifications ────────────────────────────────────────── */
#toast-container {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  display: flex; flex-direction: column; gap: 10px;
  pointer-events: none;
}
.toast {
  display: flex; align-items: flex-start; gap: 10px;
  min-width: 280px; max-width: 360px;
  padding: 14px 16px; border-radius: var(--radius);
  border: 1px solid transparent;
  backdrop-filter: blur(12px);
  pointer-events: all;
  transform: translateX(120%);
  opacity: 0;
  transition: transform .3s cubic-bezier(.22,.68,0,1.2), opacity .3s ease;
  position: relative; overflow: hidden;
}
.toast.toast--in {
  transform: translateX(0);
  opacity: 1;
}
.toast.toast--out {
  transform: translateX(120%);
  opacity: 0;
  transition: transform .25s ease, opacity .25s ease;
}
.toast--error {
  background: rgba(30,10,10,.92); border-color: rgba(255,68,68,.25); color: #ff9999;
}
.toast--success {
  background: rgba(8,26,16,.92); border-color: rgba(37,211,102,.25); color: #6ee8a2;
}
.toast--warning {
  background: rgba(26,20,5,.92); border-color: rgba(250,190,50,.25); color: #ffd97a;
}
.toast__icon { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.toast__body { flex: 1; font-size: .82rem; line-height: 1.5; }
.toast__title { font-weight: 600; margin-bottom: 2px; }
.toast__msg   { opacity: .85; }
.toast__close {
  flex-shrink: 0; background: none; border: none; cursor: pointer;
  color: inherit; opacity: .5; font-size: 1.1rem; line-height: 1;
  padding: 0; margin-top: 1px; transition: opacity var(--transition);
}
.toast__close:hover { opacity: 1; }
.toast__bar {
  position: absolute; bottom: 0; left: 0; height: 2px;
  width: 100%; transform-origin: left;
  background: currentColor; opacity: .3;
  animation: toast-bar linear forwards;
}
@keyframes toast-bar { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@media (max-width: 480px) {
  #toast-container { bottom: 16px; right: 16px; left: 16px; }
  .toast { min-width: 0; max-width: 100%; }
}

/* ── Hamburger menu ─────────────────────────────────────────────── */
.nav-hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; width: 36px; height: 36px; padding: 6px;
  background: none; border: none; cursor: pointer;
}
.nav-hamburger span {
  display: block; height: 1.5px; width: 100%;
  background: var(--text); border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Drawer */
.nav-drawer { display: none; }
.nav-drawer__backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.6);
  backdrop-filter: blur(2px); z-index: 900;
  opacity: 0; transition: opacity .25s ease;
  pointer-events: none;
}
.nav-drawer.open .nav-drawer__backdrop { pointer-events: auto; }
.nav-drawer__panel {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(320px, 85vw);
  background: var(--surface); border-left: 1px solid var(--border);
  z-index: 901; display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.nav-drawer.open .nav-drawer__backdrop { opacity: 1; }
.nav-drawer.open .nav-drawer__panel    { transform: translateX(0); }
.nav-drawer__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--border);
}
.nav-drawer__close {
  background: none; border: none; cursor: pointer;
  font-size: 1.5rem; color: var(--muted); line-height: 1;
  transition: color var(--transition);
}
.nav-drawer__close:hover { color: var(--text); }
.nav-drawer__links {
  display: flex; flex-direction: column; padding: 12px 0; flex: 1;
}
.nav-drawer__links a {
  padding: 14px 24px; font-size: .9rem; color: var(--text);
  text-decoration: none; border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.nav-drawer__links a:hover { background: rgba(255,255,255,.03); }
.nav-drawer__links a.active { color: var(--secondary); background: color-mix(in srgb, var(--secondary) 6%, transparent); }
.nav-drawer__cta  { padding: 20px 24px; border-top: 1px solid var(--border); }
.nav-drawer__social {
  padding: 20px 24px; display: flex; gap: 16px;
  border-top: 1px solid var(--border);
}
.nav-drawer__social a { color: var(--muted); transition: color var(--transition); }
.nav-drawer__social a:hover { color: var(--text); }

@media (max-width: 768px) {
  .site-nav       { display: none; }
  .nav-hamburger  { display: flex; }
  .nav-drawer     { display: block; }
}

/* ── Footer ─────────────────────────────────────────────────────── */
.site-footer-main {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-logo {
  font-size: 1.1rem; font-weight: 700; letter-spacing: .05em;
  color: var(--text); text-decoration: none; display: inline-block;
  margin-bottom: 14px;
}
.footer-about {
  font-size: .82rem; color: var(--muted); line-height: 1.7;
  margin-bottom: 20px; max-width: 280px;
}
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  color: var(--muted); transition: color var(--transition);
  display: flex; align-items: center;
}
.footer-social a:hover { color: var(--secondary); }
.footer-col__title {
  font-size: .65rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: .84rem; color: var(--muted); text-decoration: none; transition: color var(--transition); }
.footer-col ul a:hover { color: var(--secondary); }
.footer-bottom {
  padding: 20px 0;
  font-size: .76rem; color: var(--muted); text-align: center;
}
.footer-bottom__credit { margin-top: 4px; font-size: .72rem; }
.footer-bottom__credit a { color: var(--muted); text-decoration: none; transition: color var(--transition); }
.footer-bottom__credit a:hover { color: var(--secondary); }
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ── Skeleton Loader ────────────────────────────────────────────── */
.skeleton {
  background: var(--surface); border-radius: var(--radius);
  position: relative; overflow: hidden;
}
.skeleton::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.04) 50%, transparent 100%);
  animation: shimmer 1.5s ease-in-out infinite;
  background-size: 200% 100%;
}
.skeleton-card { border: 1px solid var(--border-2); border-radius: var(--radius-lg); overflow: hidden; }
.skeleton-img { aspect-ratio: 1; }
.skeleton-line { height: 12px; border-radius: 4px; margin-bottom: 8px; }

/* ── Stats strip ────────────────────────────────────────────────── */
.stats-strip { border-top: 1px solid var(--border-2); border-bottom: 1px solid var(--border-2); padding: 40px 0; }
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 40px; text-align: center;
}
.stat-value {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 200;
  letter-spacing: -.04em; line-height: 1; display: block;
}
.stat-label {
  font-size: .62rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .18em; color: var(--muted); margin-top: 6px; display: block;
}

/* ── Category Tabs ──────────────────────────────────────────────── */
.category-tabs {
  display: flex; gap: 0; border-bottom: 1px solid var(--border-2); margin-bottom: 40px;
  overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.category-tabs::-webkit-scrollbar { display: none; }
.category-tab {
  padding: 14px 24px; font-size: .72rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  border-bottom: 2px solid transparent; cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
  background: none; border-top: none; border-left: none; border-right: none;
  font-family: inherit; white-space: nowrap; flex-shrink: 0;
}
.category-tab:hover { color: var(--text); }
.category-tab.active { color: var(--text); border-bottom-color: var(--text); }

/* ── Footer ─────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--border-2); padding: 40px 0; text-align: center; }
.site-footer p { font-size: .72rem; color: var(--muted-2); }

/* ── Autocomplete ───────────────────────────────────────────────── */
.autocomplete-wrap { position: relative; }
.autocomplete-list {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); max-height: 220px; overflow-y: auto;
  z-index: 200; display: none; scrollbar-width: thin;
  scrollbar-color: var(--border) transparent; box-shadow: var(--shadow);
}
.autocomplete-list.open { display: block; }
.autocomplete-item {
  padding: 11px 16px; font-size: .85rem; cursor: pointer;
  transition: background var(--transition);
  display: flex; justify-content: space-between; align-items: center;
}
.autocomplete-item:hover, .autocomplete-item.focused { background: var(--surface-2); }
.autocomplete-item mark { background: none; color: var(--text); font-weight: 600; }
.autocomplete-item .uf { font-size: .65rem; font-weight: 600; letter-spacing: .12em; color: var(--muted-2); }

/* ── Painel ─────────────────────────────────────────────────────── */
.painel-layout {
  display: grid; grid-template-columns: 240px 1fr; gap: 40px;
  min-height: calc(100vh - 60px); padding-top: 60px;
}
.painel-sidebar { padding: 32px 20px; border-right: 1px solid var(--border-2); }
.painel-sidebar-nav a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: var(--radius); font-size: .78rem; font-weight: 500;
  color: var(--muted); transition: color var(--transition), background var(--transition);
  margin-bottom: 4px;
}
.painel-sidebar-nav a:hover, .painel-sidebar-nav a.active {
  color: var(--text); background: var(--surface);
}
.painel-main { padding: 32px 0; }

/* ── Reveal Animations ──────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ── Keyframes ──────────────────────────────────────────────────── */
@keyframes lineReveal {
  from { transform: translateY(60px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
@keyframes grainShift {
  0%, 100% { transform: translate(0, 0); }
  25%       { transform: translate(-1%, -1%); }
  50%       { transform: translate(1%, 0); }
  75%       { transform: translate(-1%, 1%); }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero-anim-1 { animation: lineReveal .9s cubic-bezier(.16,1,.3,1) .1s both; }
.hero-anim-2 { animation: lineReveal .9s cubic-bezier(.16,1,.3,1) .25s both; }
.hero-anim-3 { animation: lineReveal .9s cubic-bezier(.16,1,.3,1) .4s both; }
.hero-anim-4 { animation: fadeUp .7s cubic-bezier(.16,1,.3,1) .55s both; }
.hero-anim-5 { animation: fadeUp .7s cubic-bezier(.16,1,.3,1) .7s both; }

/* ── Utilities ──────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-muted  { color: var(--muted); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.hidden { display: none !important; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8  { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* ── Scrollbar ──────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted-2); }
::selection { background: rgba(255,255,255,.15); color: var(--text); }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .auth-card { padding: 32px 24px; }
  .otp-digit { width: 44px; height: 56px; font-size: 1.3rem; }
  .hero__search { flex-direction: column; }
  .painel-layout { grid-template-columns: 1fr; }
  .painel-sidebar { border-right: none; border-bottom: 1px solid var(--border-2); padding: 16px 0; }
}
@media (max-width: 480px) {
  .otp-inputs { gap: 6px; }
  .otp-digit { width: 40px; height: 52px; font-size: 1.2rem; }
}

/* ── Sobre section ──────────────────────────────────────────────── */
/* ── Mural CTA — home ───────────────────────────────────────────── */
.mural-home-cta {
  padding: 64px 0;
  border-top: 1px solid var(--border-2);
  border-bottom: 1px solid var(--border-2);
  background: color-mix(in srgb, var(--secondary) 5%, var(--bg));
}
.mural-home-cta__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.mural-home-cta__text { flex: 1; min-width: 220px; }
.mural-home-cta__title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 300;
  margin: 0 0 10px;
}
.mural-home-cta__sub {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
  max-width: 460px;
}
.mural-home-cta__btn { flex-shrink: 0; }
@media (max-width: 600px) {
  .mural-home-cta__inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .mural-home-cta__btn { width: 100%; text-align: center; }
}

/* ── Mural CTA — archives ───────────────────────────────────────── */
.archive-mural-cta {
  padding: 56px 0;
  border-top: 1px solid var(--border-2);
  background: color-mix(in srgb, var(--secondary) 4%, var(--bg));
}
.archive-mural-cta__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.archive-mural-cta__inner > div { flex: 1; min-width: 200px; }
.archive-mural-cta__title {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 500;
  margin: 0 0 6px;
}
.archive-mural-cta__sub {
  font-size: .84rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}
.archive-mural-cta__btn { flex-shrink: 0; white-space: nowrap; }
@media (max-width: 600px) {
  .archive-mural-cta__inner { flex-direction: column; align-items: flex-start; }
  .archive-mural-cta__btn { width: 100%; text-align: center; }
}

.sobre-section {
  padding: 100px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.sobre-content {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.sobre-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 300;
  letter-spacing: -.03em;
  line-height: 1.25;
  margin: 12px 0 24px;
}
.sobre-text {
  font-size: .95rem;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 28px;
}
.sobre-destaque {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text);
  position: relative;
  display: inline-block;
}
.sobre-destaque::before {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--text), transparent);
}

/* ── Resultado lightbox ─────────────────────────────────────────── */
.resultado-lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.resultado-lightbox.open {
  opacity: 1; pointer-events: auto;
}
.resultado-lightbox__backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(4px);
}
.resultado-lightbox__panel {
  position: relative; z-index: 1;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  width: min(900px, 94vw);
  max-height: 90vh;
  display: grid;
  grid-template-columns: 1fr 300px;
  overflow: hidden;
}
.resultado-lightbox__img-wrap {
  position: relative;
  background: #000;
  display: flex; align-items: center; justify-content: center;
  min-height: 340px;
}
.resultado-lightbox__img-wrap img {
  max-width: 100%; max-height: 70vh;
  object-fit: contain; display: block;
}
.resultado-lightbox__info {
  display: flex; flex-direction: column;
  padding: 32px 28px;
  border-left: 1px solid var(--border);
  overflow-y: auto;
}
.resultado-lightbox__counter {
  font-size: .65rem; font-weight: 600; letter-spacing: .15em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 16px;
}
.resultado-lightbox__desc {
  font-size: .88rem; line-height: 1.7;
  color: var(--text); flex: 1;
}
.resultado-lightbox__contact {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.resultado-lightbox__contact-title {
  font-size: .78rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
.resultado-lightbox__close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  background: rgba(0,0,0,.5); border: none; cursor: pointer;
  color: #fff; font-size: 1.4rem; line-height: 1;
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.resultado-lightbox__close:hover { background: rgba(0,0,0,.8); }
.resultado-lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  background: rgba(0,0,0,.45); border: none; cursor: pointer;
  color: #fff; font-size: 2rem; line-height: 1;
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.resultado-lightbox__nav:hover { background: rgba(0,0,0,.75); }
.resultado-lightbox__prev { left: 10px; }
.resultado-lightbox__next { right: 10px; }
.resultado-lightbox__nav:disabled { opacity: .25; cursor: default; }
.profile-resultado { cursor: pointer; }
.profile-resultado img { transition: transform .25s ease, opacity .25s ease; }
.profile-resultado:hover img { transform: scale(1.03); opacity: .85; }

@media (max-width: 700px) {
  .resultado-lightbox__panel {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
  .resultado-lightbox__info {
    border-left: none;
    border-top: 1px solid var(--border);
    padding: 20px;
  }
  .resultado-lightbox__img-wrap { min-height: 200px; }
}

/* ── Brok Section ───────────────────────────────────────────────── */
.brok-section {
  background: #0a0a0a;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
}
.brok-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
}

/* ── Texto ── */
.brok-text {
  padding: 80px 64px 80px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 520px;
}
.brok-eyebrow {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 20px;
}
.brok-title {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 300;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 28px;
}
.brok-body {
  font-size: .88rem;
  line-height: 1.85;
  color: rgba(255,255,255,.55);
  margin-bottom: 16px;
}
.brok-body--em {
  color: rgba(255,255,255,.75);
  font-style: italic;
  font-weight: 300;
  margin-bottom: 36px;
}
.brok-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  padding: 14px 28px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 2px;
  transition: background .2s ease, border-color .2s ease;
  align-self: flex-start;
}
.brok-cta:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.6);
}

/* ── Galeria ── */
.brok-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
  overflow: hidden;
}
.brok-img {
  overflow: hidden;
  display: block;
  position: relative;
  background: #111;
}
.brok-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(.4,0,.2,1), opacity .3s ease;
  opacity: .88;
}
.brok-img:hover img {
  transform: scale(1.04);
  opacity: 1;
}

/* Layout das imagens no grid */
.brok-img--tall {
  grid-row: span 2;
}
.brok-img--wide {
  grid-column: span 1;
}
.brok-img--portrait {
  grid-row: span 1;
}

@media (max-width: 900px) {
  .brok-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .brok-text {
    padding: 60px 32px;
    max-width: 100%;
  }
  .brok-gallery {
    height: 480px;
  }
}
@media (max-width: 600px) {
  .brok-text {
    padding: 48px 24px;
  }
  .brok-gallery {
    height: 360px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
  }
  .brok-img--tall {
    grid-row: span 2;
  }
  .brok-img--wide,
  .brok-img--portrait {
    grid-row: span 1;
    grid-column: span 1;
  }
}

/* ═══════════════════════════════════════════════════════════
   SEARCH / ARCHIVE — SIDEBAR LAYOUT
   ═══════════════════════════════════════════════════════════ */
.search-page {
  padding-bottom: 80px;
}
.search-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 40px;
  padding-bottom: 24px;
}
.search-topbar__info { flex: 1; min-width: 0; }
.search-topbar__title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 300;
  margin: 6px 0 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.search-topbar__count {
  font-size: .9rem;
  color: var(--muted);
  font-weight: 300;
}
.search-filter-toggle {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-size: .85rem;
  cursor: pointer;
  white-space: nowrap;
}
.filter-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--secondary);
  color: var(--on-secondary);
  font-size: .7rem;
  font-weight: 600;
}

/* Layout */
.search-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
}
.search-sidebar {
  position: sticky;
  top: 80px;
}
.search-sidebar__inner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}
.search-sidebar__backdrop {
  display: none;
}

/* Sidebar header */
.sidebar-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.sidebar-head__title {
  flex: 1;
  font-weight: 500;
  font-size: .95rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.sidebar-head__clear {
  font-size: .8rem;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.sidebar-head__clear:hover { color: var(--text); border-color: var(--border); }
.sidebar-head__close {
  display: none;
  background: none;
  border: none;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 0 4px;
}

/* Sidebar groups */
.sidebar-group {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.sidebar-group:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.sidebar-group__title {
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin: 0 0 10px;
}

/* Checkboxes / radios — custom indicator */
.sidebar-checkboxes { display: flex; flex-direction: column; gap: 4px; }

.sidebar-check {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: .88rem;
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: background .15s, border-color .15s;
  user-select: none;
}
.sidebar-check:hover {
  background: var(--surface);
  border-color: var(--border);
}

/* Hide native input visually but keep it accessible */
.sidebar-check input[type="checkbox"],
.sidebar-check input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* Custom indicator box/circle */
.sidebar-check__indicator {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 2px solid var(--border);
  border-radius: 4px;           /* square for checkbox */
  background: var(--bg);
  transition: background .15s, border-color .15s;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Radio gets a circle */
.sidebar-check input[type="radio"] ~ .sidebar-check__indicator {
  border-radius: 50%;
}

/* Checked state */
.sidebar-check input:checked ~ .sidebar-check__indicator {
  background: var(--secondary);
  border-color: var(--secondary);
}

/* Checkmark for checkbox */
.sidebar-check input[type="checkbox"]:checked ~ .sidebar-check__indicator::after {
  content: '';
  display: block;
  width: 5px;
  height: 9px;
  border: 2px solid var(--on-secondary);
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translate(-1px, -1px);
}

/* Dot for radio */
.sidebar-check input[type="radio"]:checked ~ .sidebar-check__indicator::after {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--on-secondary);
}

/* Checked row highlight */
.sidebar-check:has(input:checked) {
  background: color-mix(in srgb, var(--secondary) 10%, transparent);
  border-color: color-mix(in srgb, var(--secondary) 40%, transparent);
}

.sidebar-check--full { width: 100%; }
.sidebar-check__label { line-height: 1.3; }

/* Text input */
.sidebar-search-wrap { position: relative; }
.sidebar-input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font-size: .88rem;
  outline: none;
  transition: border-color .2s;
  box-sizing: border-box;
}
.sidebar-input:focus { border-color: var(--primary); }

/* Autocomplete dropdown */
.sidebar-autocomplete {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  list-style: none;
  margin: 0; padding: 4px 0;
  max-height: 200px;
  overflow-y: auto;
  z-index: 200;
  display: none;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.sidebar-autocomplete.open { display: block; }
.sidebar-autocomplete__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  cursor: pointer;
  font-size: .85rem;
  transition: background .15s;
}
.sidebar-autocomplete__item:hover,
.sidebar-autocomplete__item.focused { background: var(--border); }
.sidebar-autocomplete__item .uf { font-size: .75rem; color: var(--muted); }

/* Results area */
.search-results { min-width: 0; }

/* ── Mural topbar desktop ───────────────────────────── */
.mural-topbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ── Mobile sidebar ─────────────────────────────────── */
@media (max-width: 860px) {
  .search-filter-toggle { display: flex; }

  /* Mural topbar: título em cima, botões embaixo */
  .mural-topbar { flex-wrap: wrap; }
  .mural-topbar .search-topbar__info { width: 100%; }
  .mural-topbar__actions { width: 100%; justify-content: flex-start; }
  .search-layout {
    grid-template-columns: 1fr;
  }
  .search-sidebar {
    position: fixed;
    top: 0; right: 0;
    width: min(320px, 90vw);
    height: 100%;
    z-index: 1000;
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
    background: var(--bg);
    border-radius: 0;
  }
  .search-sidebar.open { transform: translateX(0); }
  .search-sidebar__inner {
    border: none;
    border-radius: 0;
    min-height: 100%;
    padding: 24px 20px;
  }
  .search-sidebar__backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
  }
  .search-sidebar__backdrop.open { opacity: 1; pointer-events: auto; }
  .sidebar-head__close { display: block; }
}
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE PERFORMANCE
   ═══════════════════════════════════════════════════════════════ */

/* Vídeo hero: oculto em mobile — economiza ~500KB do player do YouTube */
@media (max-width: 768px) {
  .hero__video-wrap { display: none; }
  /* Hero ocupa menos viewport em mobile para evitar scroll desnecessário */
  .hero { min-height: 100svh; padding: 60px 20px 48px; }
}

/* content-visibility: renderização adiada para seções fora da tela */
.section,
.section--sm,
.mural-home-cta,
.sobre-section,
.archive-mural-cta,
.footer-grid {
  content-visibility: auto;
  contain-intrinsic-size: 0 400px;
}
