/* ==========================================================================
   NATIVODESAPEGO — DESIGN SYSTEM CASUAL MODERNO & CLEAN SAND DASHBOARD
   Porto Seguro (Sede, Bairros e Distritos) · 100% P2P · Zero Taxas
   Zero Emojis · Zero Dourados Clichê · Zero Estética Genérica de IA
   ========================================================================== */

:root,
body[data-theme="vibe-nativo"] {
  --bg-canvas: #F5F2EB;
  --bg-alt: #ECE7DC;
  --bg-card: #FFFFFF;
  --bg-elevated: #FAF8F4;
  --ink: #141817;
  --ink-soft: #4F5754;
  --ink-muted: #7C8480;
  --accent-ocean: #0B5D66;
  --accent-ocean-hover: #08474E;
  --accent-ocean-tint: #E5F1F2;
  --accent-coral: #D95B33;
  --accent-coral-hover: #BE4923;
  --accent-coral-tint: #FBECE6;
  --accent-sage: #2D5A47;
  --accent-sage-tint: #E6F0EC;
  --line: rgba(20, 24, 23, 0.11);
  --line-strong: rgba(20, 24, 23, 0.22);
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-card: 0 2px 10px rgba(20, 24, 23, 0.04);
  --shadow-hover: 0 14px 34px rgba(20, 24, 23, 0.09);
  --shadow-modal: 0 24px 60px rgba(20, 24, 23, 0.18);
}

body[data-theme="clean-essencial"] {
  --bg-canvas: #F9F8F6;
  --bg-alt: #F0EEEA;
  --bg-card: #FFFFFF;
  --ink: #141413;
  --ink-soft: #575550;
  --accent-ocean: #1F2421;
  --accent-ocean-hover: #0D0F0E;
  --accent-ocean-tint: #EAEAE7;
  --accent-coral: #8C4A32;
  --accent-coral-hover: #703925;
  --accent-coral-tint: #F4EAE6;
}

body[data-theme="monocromatico-urbano"] {
  --bg-canvas: #F3F3F1;
  --bg-alt: #E5E5E2;
  --bg-card: #FFFFFF;
  --ink: #0F0F0F;
  --ink-soft: #4A4A48;
  --accent-ocean: #121212;
  --accent-ocean-hover: #000000;
  --accent-ocean-tint: #E6E6E4;
  --accent-coral: #2E2E2C;
  --accent-coral-hover: #141413;
  --accent-coral-tint: #EAEAE8;
}

body[data-theme="classico-elegante"] {
  --bg-canvas: #F6F0E6;
  --bg-alt: #EAE0D0;
  --bg-card: #FFFDF9;
  --ink: #241B15;
  --ink-soft: #5E4E43;
  --accent-ocean: #4A3528;
  --accent-ocean-hover: #36251B;
  --accent-ocean-tint: #EFE7DF;
  --accent-coral: #9A4E32;
  --accent-coral-hover: #7D3D25;
  --accent-coral-tint: #F7EAE4;
  --font-display: 'Cormorant Garamond', Georgia, serif;
}

body[data-theme="boho-natural"] {
  --bg-canvas: #F2F5F0;
  --bg-alt: #E3EAE0;
  --bg-card: #FFFFFF;
  --ink: #18241D;
  --ink-soft: #4D5E53;
  --accent-ocean: #2B543F;
  --accent-ocean-hover: #1F3F2F;
  --accent-ocean-tint: #E4EFE9;
  --accent-coral: #A45A3A;
  --accent-coral-hover: #87472C;
  --accent-coral-tint: #F6EBE5;
}

body[data-theme="pop-colorido"] {
  --bg-canvas: #FAF7F0;
  --bg-alt: #EFE9DC;
  --bg-card: #FFFFFF;
  --ink: #101820;
  --ink-soft: #475461;
  --accent-ocean: #0077B6;
  --accent-ocean-hover: #005E91;
  --accent-ocean-tint: #E3F2FA;
  --accent-coral: #E04F33;
  --accent-coral-hover: #C23E24;
  --accent-coral-tint: #FDECE8;
}

/* RESET & BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-canvas);
  color: var(--ink);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color 0.3s ease, color 0.3s ease;
}

img, svg {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
}

.icon-svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.icon-sm {
  width: 15px;
  height: 15px;
}

.icon-lg {
  width: 22px;
  height: 22px;
}

/* ==========================================================================
   HEADER ARQUITETÔNICO & NAVEGAÇÃO PRINCIPAL (SEM BARRA FALSA DE NAVEGADOR)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(245, 242, 235, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

body[data-active-view="painel"] .site-header {
  background: rgba(248, 246, 240, 0.96);
}

.header-row {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Brand Mark: Clean Die-Cut Wordmark Inspiration Without Cartoon Clutter */
.brand-mark {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  cursor: pointer;
  user-select: none;
  position: relative;
}

.brand-word-nativo,
.brand-word-desapego {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.04em;
  line-height: 1;
}

.brand-word-nativo {
  color: var(--accent-coral);
}

.brand-word-desapego {
  color: var(--accent-ocean);
}

.brand-region-pill {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  color: var(--ink-soft);
  display: none;
}

@media (min-width: 1080px) {
  .brand-region-pill {
    display: inline-block;
  }
}

.primary-nav {
  display: none;
  align-items: center;
  gap: 6px;
}

@media (min-width: 820px) {
  .primary-nav {
    display: flex;
  }
}

.nav-btn {
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.18s ease, background-color 0.18s ease;
  position: relative;
}

.nav-btn:hover {
  color: var(--ink);
  background: rgba(20, 24, 23, 0.05);
}

.nav-btn.active {
  color: var(--ink);
  background: var(--bg-card);
  box-shadow: 0 1px 3px rgba(20, 24, 23, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-link-auth {
  padding: 9px 15px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  background: transparent;
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.btn-link-auth:hover {
  background: var(--bg-card);
  border-color: var(--ink);
}

.btn-cta-store {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--accent-ocean);
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: background-color 0.18s ease, transform 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-cta-store:hover {
  background: var(--accent-ocean-hover);
  transform: translateY(-1px);
}

.mobile-menu-toggle {
  display: inline-flex;
  padding: 8px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
}

@media (min-width: 820px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-drawer {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--bg-canvas);
  padding: 14px 24px 18px;
  flex-direction: column;
  gap: 8px;
}

.mobile-drawer.open {
  display: flex;
}

/* ==========================================================================
   VIEWS & SMOOTH TRANSITIONS
   ========================================================================== */
.view-screen {
  display: none;
  flex: 1;
  animation: viewEnter 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

.view-screen.active {
  display: block;
}

@keyframes viewEnter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   EYEBROWS, BUTTONS & SHARED EDITORIAL ATOMS
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-ocean);
  margin-bottom: 14px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-coral);
}

.btn-solid-coral {
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  background: var(--accent-coral);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-solid-coral:hover {
  background: var(--accent-coral-hover);
  transform: translateY(-1px);
}

.btn-solid-ocean {
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  background: var(--accent-ocean);
  color: #FFFFFF;
  font-size: 14.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-solid-ocean:hover {
  background: var(--accent-ocean-hover);
  transform: translateY(-1px);
}

.btn-outline-ink {
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-outline-ink:hover {
  background: var(--ink);
  color: #FFFFFF;
}

/* ==========================================================================
   1. HERO SECTION (PARALLAX MOTION, CASUAL-MODERN COASTAL, ZERO FAKE SALES)
   ========================================================================== */
.hero-stage {
  padding: 52px 0 64px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
}

@media (min-width: 980px) {
  .hero-split {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 56px;
  }
}

.hero-copy {
  animation: heroReveal 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-display-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 18px;
}

.hero-display-title .highlight-coral {
  color: var(--accent-coral);
}

.hero-subtitle {
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 28px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

/* SEARCH + BAIRRO QUICK BAR DIRECTLY ON HOME */
.hero-bairro-finder {
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: 8px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  box-shadow: var(--shadow-card);
  max-width: 600px;
}

@media (min-width: 640px) {
  .hero-bairro-finder {
    grid-template-columns: 1.15fr 1fr auto;
    align-items: center;
  }
}

.finder-field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-canvas);
}

.finder-field input,
.finder-field select {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
}

.btn-finder-go {
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 0.18s ease;
}

.btn-finder-go:hover {
  background: var(--accent-ocean);
}

.hero-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  max-width: 600px;
}

.pillar-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-ocean);
  margin-bottom: 3px;
}

.pillar-desc {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* HERO PARALLAX COMPOSITION */
.hero-visual-stage {
  position: relative;
  perspective: 1000px;
}

.hero-photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--bg-alt);
  aspect-ratio: 16 / 11;
  box-shadow: var(--shadow-hover);
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
  transition: transform 0.25s ease-out;
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}

/* Architectural Stamp Seal (Pure Vector, Zero Emoji) */
.hero-stamp-seal {
  position: absolute;
  top: -18px;
  right: -14px;
  width: 106px;
  height: 106px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1.5px solid var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  box-shadow: var(--shadow-card);
  transform: rotate(8deg);
  z-index: 3;
}

.hero-stamp-seal span {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.25;
  color: var(--ink);
}

.hero-stamp-seal strong {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: var(--accent-coral);
  margin: 2px 0;
}

.hero-editorial-caption {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-muted);
  font-family: var(--font-mono);
}

/* ==========================================================================
   2. CATEGORIAS PRINCIPAIS (ENJOEI-STYLE CURATED ENTRY)
   ========================================================================== */
.section-block {
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}

.section-block.alt-surface {
  background: var(--bg-elevated);
}

.section-header-flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
}

.section-lead {
  font-size: 15.5px;
  color: var(--ink-soft);
  max-width: 560px;
  margin-top: 8px;
}

.categories-grid-4 {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}

@media (min-width: 560px) {
  .categories-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .categories-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.category-editorial-card {
  group: card;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.category-editorial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--ink);
}

.category-photo-box {
  aspect-ratio: 4 / 4.4;
  overflow: hidden;
  background: var(--bg-alt);
  position: relative;
}

.category-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.category-editorial-card:hover .category-photo-box img {
  transform: scale(1.05);
}

.category-index-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  backdrop-filter: blur(6px);
}

.category-card-meta {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.category-card-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.category-card-sub {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.45;
}

.category-subpills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.category-subpills span {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  background: var(--bg-canvas);
  color: var(--ink-soft);
}

/* ==========================================================================
   3. PESQUISA POR BAIRRO & DISTRITO (PORTO SEGURO = TODA A ÁREA)
   ========================================================================== */
.bairros-matrix-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 920px) {
  .bairros-matrix-wrap {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
  }
}

.zone-tabs-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.zone-selector-btn {
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: all 0.2s ease;
}

.zone-selector-btn:hover {
  border-color: var(--ink);
}

.zone-selector-btn.active {
  background: var(--ink);
  color: #FFFFFF;
  border-color: var(--ink);
}

.zone-selector-btn.active .zone-sub-count {
  color: rgba(255, 255, 255, 0.72);
}

.zone-title {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 700;
}

.zone-sub-count {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 2px;
}

.zone-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.bairros-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 24px;
}

.bairro-filter-chip {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: var(--bg-canvas);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  transition: all 0.16s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bairro-filter-chip:hover {
  background: var(--accent-ocean);
  color: #FFFFFF;
  border-color: var(--accent-ocean);
}

.zone-safety-note {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--accent-ocean-tint);
  color: var(--accent-ocean);
  font-size: 13px;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

/* ==========================================================================
   4. COMO FUNCIONA (HAIRLINE BENTO GRID — 01 A 04 + LOJINHA DESTAQUE PERK)
   ========================================================================== */
.how-bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

@media (min-width: 640px) {
  .how-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .how-bento-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.how-step-cell {
  padding: 32px 26px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
}

.step-num-mono {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-coral);
  letter-spacing: 0.08em;
}

.step-cell-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.step-cell-body {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ENJOEI-STYLE FOUNDER PERK BANNER (5+ PRODUTOS = DESTAQUE + CLUBE NATIVO) */
.founder-perk-banner {
  margin-top: 32px;
  background: var(--ink);
  color: #F5F2EB;
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.founder-perk-banner h3 {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.founder-perk-banner p {
  font-size: 14.5px;
  color: rgba(245, 242, 235, 0.78);
  max-width: 640px;
}

/* ==========================================================================
   5. EXPLORAR & PÁGINA INTERNA DE CATEGORIA (ZERO FAKE ITEMS!)
   ========================================================================== */
.explore-header-band {
  padding: 40px 0 28px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-elevated);
}

.breadcrumb-trail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-muted);
  margin-bottom: 14px;
}

.breadcrumb-trail button {
  color: var(--ink-soft);
  font-weight: 500;
}

.breadcrumb-trail button:hover {
  color: var(--ink);
  text-decoration: underline;
}

.explore-search-bar-lg {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 22px;
}

@media (min-width: 780px) {
  .explore-search-bar-lg {
    grid-template-columns: 1.5fr 1fr 0.8fr auto;
  }
}

.control-input,
.control-select {
  width: 100%;
  padding: 12px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--bg-card);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.18s ease;
}

.control-input:focus,
.control-select:focus {
  border-color: var(--accent-ocean);
}

.subcat-filter-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.subcat-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.subcat-pill {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: var(--bg-card);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: all 0.16s ease;
}

.subcat-pill:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.subcat-pill.active {
  background: var(--accent-ocean);
  color: #FFFFFF;
  border-color: var(--accent-ocean);
}

.secondary-filters-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 0 28px;
  align-items: center;
}

.mini-select {
  padding: 7px 12px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--line-strong);
  background: var(--bg-card);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}

/* CLEAN ARCHITECTURAL EMPTY STATE (NO FAKE ITEMS!) */
.fresh-vitrine-empty {
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 64px 28px;
  text-align: center;
  max-width: 680px;
  margin: 20px auto 56px;
}

.empty-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--bg-canvas);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--accent-ocean);
}

.fresh-vitrine-empty h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.fresh-vitrine-empty p {
  font-size: 14.5px;
  color: var(--ink-soft);
  max-width: 480px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

/* LISTINGS GRID (WHEN REAL MEMBERS POST ITEMS) */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding-bottom: 64px;
}

@media (min-width: 768px) {
  .listings-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1080px) {
  .listings-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.listing-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.listing-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.listing-media {
  position: relative;
  aspect-ratio: 1 / 1.08;
  background: var(--bg-alt);
  overflow: hidden;
}

.listing-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listing-cond-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 9px;
  border-radius: var(--radius-xs);
  background: rgba(20, 24, 23, 0.84);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.listing-fav-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: all 0.16s ease;
}

.listing-fav-btn.active {
  background: var(--accent-coral);
  color: #FFFFFF;
  border-color: var(--accent-coral);
}

.listing-info {
  padding: 15px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.listing-bairro {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-ocean);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.listing-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.listing-meta-sub {
  font-size: 12.5px;
  color: var(--ink-muted);
}

.listing-bottom {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.listing-price {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}

/* ==========================================================================
   6. ONBOARDING: CADASTRO SEGURO (CPF MASCARADO + SHA-256 + 2FA), LOJA & 6 TEMAS
   ========================================================================== */
.onboarding-wrap {
  padding: 48px 0 80px;
}

.onboarding-stepper {
  max-width: 780px;
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-muted);
}

.step-pill {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: var(--bg-card);
}

.step-pill.current {
  background: var(--ink);
  color: #FFFFFF;
  border-color: var(--ink);
}

.auth-card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

@media (max-width: 600px) {
  .auth-card {
    padding: 24px 20px;
  }
}

.auth-mode-tabs {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  padding: 4px;
  background: var(--bg-canvas);
  margin-bottom: 28px;
}

.auth-tab-btn {
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-soft);
}

.auth-tab-btn.active {
  background: var(--ink);
  color: #FFFFFF;
}

.btn-google-oauth {
  width: 100%;
  padding: 13px 20px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line-strong);
  background: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.btn-google-oauth:hover {
  border-color: var(--ink);
  background: var(--bg-canvas);
}

.divider-line-or {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.divider-line-or::before,
.divider-line-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

.form-2col-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 720px) {
  .form-2col-layout {
    grid-template-columns: 1fr 1fr;
  }
}

.form-col-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  padding-bottom: 10px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.field-group {
  margin-bottom: 15px;
}

.field-group label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.cpf-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.cpf-toggle-btn {
  position: absolute;
  right: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-ocean);
  padding: 4px 8px;
  border-radius: var(--radius-xs);
  background: var(--accent-ocean-tint);
}

.hash-preview-badge {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-muted);
  word-break: break-all;
}

.field-error {
  margin-top: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #C93B2B;
  display: none;
}

.form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.lgpd-box {
  margin: 22px 0;
  padding: 15px 18px;
  border-radius: var(--radius-sm);
  background: var(--bg-canvas);
  border-left: 3px solid var(--accent-ocean);
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.mandatory-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ink);
  line-height: 1.48;
  margin-bottom: 12px;
  cursor: pointer;
}

.mandatory-check input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--accent-ocean);
  flex-shrink: 0;
}

/* 2FA VERIFICATION BOX */
.twofa-verification-panel {
  margin-top: 20px;
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--accent-ocean);
  background: var(--accent-ocean-tint);
  display: none;
}

.twofa-verification-panel.visible {
  display: block;
}

/* STORE TAGS MULTI-SELECT (MODA, TECNOLOGIA, ESPORTES, CASA, MÚSICA, INFANTIL, LIVROS, VARIEDADES) */
.store-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.store-tag-chip {
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line-strong);
  background: var(--bg-canvas);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.16s ease;
}

.store-tag-chip.selected {
  background: var(--accent-ocean);
  color: #FFFFFF;
  border-color: var(--accent-ocean);
}

/* 6 STOREFRONT THEMES GALLERY */
.themes-grid-6 {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 16px;
  margin: 28px 0 32px;
}

@media (min-width: 560px) {
  .themes-grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 920px) {
  .themes-grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.theme-mini-window {
  border: 2px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  text-align: left;
}

.theme-mini-window:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.theme-mini-window.selected {
  border-color: var(--accent-coral);
  box-shadow: 0 0 0 3px var(--accent-coral-tint);
}

.theme-preview-mockup {
  height: 124px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.theme-preview-bars {
  display: flex;
  gap: 6px;
}

.theme-preview-bars span {
  height: 8px;
  border-radius: 4px;
}

.theme-card-label {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   7. PAINEL DO VENDEDOR — ULTRA-CLEAN SAND UI (#F8F6F0, ZERO RUÍDO)
   ========================================================================== */
.sand-dashboard-shell {
  background: #F8F6F0;
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .sand-dashboard-shell {
    grid-template-columns: 256px 1fr;
  }
}

.sand-sidebar {
  background: #EFECE4;
  border-right: 1px solid rgba(20, 24, 23, 0.09);
  padding: 28px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.seller-identity-box {
  padding: 0 10px 22px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(20, 24, 23, 0.09);
}

.seller-avatar-ring {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid rgba(20, 24, 23, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  color: var(--ink);
  overflow: hidden;
  margin-bottom: 10px;
}

.seller-avatar-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sand-nav-item {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: #4E4C46;
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.sand-nav-item:hover {
  background: rgba(20, 24, 23, 0.05);
  color: #141413;
}

.sand-nav-item.active {
  background: #FFFFFF;
  color: #141413;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(20, 24, 23, 0.06);
}

.sand-main-workspace {
  padding: 36px 40px 64px;
  max-width: 1080px;
}

@media (max-width: 640px) {
  .sand-main-workspace {
    padding: 24px 18px 48px;
  }
}

.dash-pane {
  display: none;
}

.dash-pane.active {
  display: block;
}

.dash-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 26px;
}

.dash-page-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #1F1916;
}

.btn-sand-gold {
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  background: #1F2421;
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.18s ease;
}

.btn-sand-gold:hover {
  opacity: 0.88;
}

.perk-meter-card {
  background: #FFFFFF;
  border: 1px solid rgba(20, 24, 23, 0.1);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.perk-progress-track {
  width: 180px;
  height: 8px;
  border-radius: 99px;
  background: #EFECE4;
  overflow: hidden;
}

.perk-progress-fill {
  height: 100%;
  background: var(--accent-ocean);
  width: 0%;
  transition: width 0.35s ease;
}

.dash-toolbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.dash-status-tabs {
  display: flex;
  gap: 18px;
  border-bottom: 1px solid rgba(20, 24, 23, 0.1);
}

.dash-status-tab {
  padding: 8px 2px 10px;
  font-size: 14px;
  font-weight: 600;
  color: #6E6B63;
  border-bottom: 2px solid transparent;
}

.dash-status-tab.active {
  color: #141413;
  font-weight: 700;
  border-bottom-color: #141413;
}

/* DASHBOARD KPI CARDS & DAILY CHART */
.dash-kpi-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

@media (min-width: 700px) {
  .dash-kpi-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.dash-kpi-card {
  background: #FFFFFF;
  border: 1px solid rgba(20, 24, 23, 0.09);
  border-radius: var(--radius-md);
  padding: 22px 24px;
}

.dash-kpi-label {
  font-size: 13px;
  font-weight: 600;
  color: #686660;
}

.dash-kpi-value {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: #1F1916;
  margin: 6px 0 4px;
}

.dash-kpi-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-sage);
}

.sales-split-panels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 860px) {
  .sales-split-panels {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

.white-panel-box {
  background: #FFFFFF;
  border: 1px solid rgba(20, 24, 23, 0.09);
  border-radius: var(--radius-md);
  padding: 22px;
}

.sales-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  margin-top: 12px;
}

.sales-table th {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid rgba(20, 24, 23, 0.1);
  color: #686660;
  font-size: 12px;
  font-weight: 700;
}

.sales-table td {
  padding: 12px 8px;
  border-bottom: 1px solid rgba(20, 24, 23, 0.06);
}

/* MENSAGENS SPLIT P2P CHAT + FIXED LGPD TOP NOTICE */
.messages-workspace {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  min-height: 440px;
}

@media (min-width: 820px) {
  .messages-workspace {
    grid-template-columns: 260px 1fr;
  }
}

.threads-list-col {
  background: #FFFFFF;
  border: 1px solid rgba(20, 24, 23, 0.09);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-stage-col {
  background: #FFFFFF;
  border: 1px solid rgba(20, 24, 23, 0.09);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chat-lgpd-fixed-banner {
  background: #FBECE6;
  border-bottom: 1px solid rgba(217, 91, 51, 0.28);
  padding: 12px 18px;
  font-size: 12px;
  color: #7D331B;
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.chat-log-area {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #FAF9F5;
}

.p2p-bubble {
  max-width: 78%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  line-height: 1.45;
}

.p2p-bubble.mine {
  align-self: flex-end;
  background: var(--accent-ocean);
  color: #FFFFFF;
}

.p2p-bubble.theirs {
  align-self: flex-start;
  background: #FFFFFF;
  border: 1px solid var(--line);
  color: var(--ink);
}

.chat-compose-row {
  padding: 12px 16px;
  border-top: 1px solid rgba(20, 24, 23, 0.09);
  display: flex;
  gap: 10px;
  background: #FFFFFF;
}

/* CONFIGURAÇÕES SUB-LAYOUT (15 DIAS BIO + 30 DIAS EXCLUSÃO) */
.settings-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 780px) {
  .settings-split {
    grid-template-columns: 200px 1fr;
  }
}

.settings-subnav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.settings-sub-btn {
  text-align: left;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: #575550;
}

.settings-sub-btn.active {
  background: var(--accent-ocean-tint);
  color: var(--accent-ocean);
  font-weight: 700;
}

.rule-15days-banner {
  margin-top: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-xs);
  background: #FBECE6;
  color: #87361C;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-danger-outline {
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  border: 1.5px solid #B43C2F;
  color: #B43C2F;
  font-size: 13.5px;
  font-weight: 700;
  background: transparent;
  transition: all 0.18s ease;
}

.btn-danger-outline:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn-danger-outline:not(:disabled):hover {
  background: #B43C2F;
  color: #FFFFFF;
}

/* ==========================================================================
   8. MODAL PUBLICAR ANÚNCIO & MODAL DETALHE DO ITEM
   ========================================================================== */
.modal-scrim {
  position: fixed;
  inset: 0;
  z-index: 1400;
  background: rgba(20, 24, 23, 0.56);
  backdrop-filter: blur(5px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.modal-scrim.open {
  display: flex;
}

.modal-dialog {
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-modal);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-head {
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-scroll-body {
  padding: 24px;
  overflow-y: auto;
}

.photo-upload-slot {
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  background: var(--bg-canvas);
  transition: border-color 0.18s ease;
}

.photo-upload-slot:hover {
  border-color: var(--accent-ocean);
}

.photo-preview-thumb {
  max-height: 190px;
  margin: 12px auto 0;
  border-radius: var(--radius-sm);
  object-fit: cover;
  display: none;
}

/* ==========================================================================
   9. CHATBOT INTEGRADO FLUTUANTE (ASSISTENTE NATIVODESAPEGO — ZERO EMOJIS)
   ========================================================================== */
.assistant-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1200;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-hover);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.assistant-fab:hover {
  transform: translateY(-2px);
  background: var(--accent-ocean);
}

.assistant-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34D399;
}

.assistant-drawer {
  position: fixed;
  right: 24px;
  bottom: 80px;
  z-index: 1250;
  width: 376px;
  max-width: calc(100vw - 32px);
  height: 500px;
  max-height: calc(100vh - 120px);
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-modal);
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.assistant-drawer.open {
  display: flex;
}

.assistant-head {
  padding: 15px 18px;
  background: var(--ink);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.assistant-feed {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  background: var(--bg-canvas);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bot-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 13px;
  line-height: 1.5;
}

.bot-msg.assistant {
  align-self: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--ink);
}

.bot-msg.member {
  align-self: flex-end;
  background: var(--accent-ocean);
  color: #FFFFFF;
}

.assistant-chips {
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  background: var(--bg-card);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.assistant-chip {
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: var(--bg-canvas);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: all 0.15s ease;
}

.assistant-chip:hover {
  background: var(--accent-ocean);
  color: #FFFFFF;
  border-color: var(--accent-ocean);
}

.assistant-input-row {
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  background: var(--bg-card);
  display: flex;
  gap: 8px;
}

/* ==========================================================================
   10. RODAPÉ GLOBAL OBRIGATÓRIO ("este site é powered by IArretada.com.br")
   ========================================================================== */
.site-footer {
  background: #141817;
  color: #D2D7D4;
  padding: 56px 0 32px;
  margin-top: auto;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 780px) {
  .footer-columns {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-col-heading {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13.5px;
  color: #9DA5A1;
}

.footer-list button:hover,
.footer-list a:hover {
  color: #FFFFFF;
}

.footer-bottom-legal {
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 12px;
  color: #8A938E;
  line-height: 1.65;
}

@media (min-width: 860px) {
  .footer-bottom-legal {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.powered-signature {
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF;
  white-space: nowrap;
}

.powered-signature a {
  color: #FFFFFF;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 1px;
}

.powered-signature a:hover {
  border-bottom-color: #FFFFFF;
}

/* TOAST */
.toast-bar {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 1600;
  background: #141817;
  color: #FFFFFF;
  padding: 13px 20px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: var(--shadow-hover);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
}

.toast-bar.visible {
  transform: translateY(0);
  opacity: 1;
}


/* ==========================================================================
   V3.5 VISUAL IMPACT UPGRADE: VIBRANT BAHIA COLOR BLOCKS, FLUID MOTION,
   MULTI-LAYER HERO MOSAIC & ILLUSTRATED COMO FUNCIONA STORYBOARD
   ========================================================================== */

:root,
body[data-theme="vibe-nativo"] {
  --accent-ocean: #006D77;
  --accent-ocean-hover: #00545C;
  --accent-ocean-tint: #DEF1F3;
  --accent-coral: #E8552E;
  --accent-coral-hover: #CC431F;
  --accent-coral-tint: #FDEAE4;
  --accent-tropical: #1B7A5E;
  --accent-tropical-tint: #DFF3EC;
  --band-deep-ocean: #074650;
}

/* TOP VIBRANT COASTAL RIBBON */
.top-coastal-ribbon {
  background: var(--accent-ocean);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 16px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.top-coastal-ribbon .ribbon-sep {
  color: #FF9B7D;
}

/* HERO MULTI-LAYER FLOATING COLLAGE MOSAIC */
.hero-stage {
  background:
    radial-gradient(circle at 88% 18%, rgba(0, 109, 119, 0.10) 0%, transparent 46%),
    radial-gradient(circle at 12% 82%, rgba(232, 85, 46, 0.09) 0%, transparent 44%),
    var(--bg-canvas);
  padding: 56px 0 76px;
}

.hero-mosaic-stage {
  position: relative;
  padding: 22px 18px 34px 26px;
}

.hero-main-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 3px solid #FFFFFF;
  box-shadow: 0 24px 56px rgba(7, 70, 80, 0.18);
  aspect-ratio: 16 / 10.6;
  background: var(--bg-alt);
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
  transition: transform 0.28s ease-out;
  z-index: 2;
}

.hero-main-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: subtleKenBurns 18s ease-in-out infinite alternate;
}

@keyframes subtleKenBurns {
  0% { transform: scale(1.02) translate3d(0, 0, 0); }
  100% { transform: scale(1.08) translate3d(-1.2%, -1%, 0); }
}

.hero-float-polaroid {
  position: absolute;
  background: #FFFFFF;
  padding: 7px 7px 11px;
  border-radius: 14px;
  box-shadow: 0 18px 38px rgba(20, 24, 23, 0.18);
  border: 1px solid rgba(20, 24, 23, 0.08);
  z-index: 4;
  width: 158px;
  pointer-events: none;
}

.hero-float-polaroid img {
  width: 100%;
  height: 112px;
  object-fit: cover;
  border-radius: 9px;
}

.hero-float-polaroid .polaroid-cap {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-float-polaroid.float-left {
  left: -8px;
  bottom: 6px;
  animation: floatDriftLeft 6.5s ease-in-out infinite alternate;
}

.hero-float-polaroid.float-right {
  right: -6px;
  bottom: -10px;
  width: 168px;
  animation: floatDriftRight 7.5s ease-in-out infinite alternate;
}

@keyframes floatDriftLeft {
  0% { transform: rotate(-4deg) translateY(0px); }
  100% { transform: rotate(-2deg) translateY(-11px); }
}

@keyframes floatDriftRight {
  0% { transform: rotate(3.5deg) translateY(0px); }
  100% { transform: rotate(1.5deg) translateY(-13px); }
}

@media (max-width: 640px) {
  .hero-float-polaroid {
    width: 122px;
  }
  .hero-float-polaroid img {
    height: 82px;
  }
}

/* ROTATING ARCHITECTURAL STAMP */
.hero-stamp-seal {
  background: var(--accent-coral);
  color: #FFFFFF;
  border: 3px solid #FFFFFF;
  box-shadow: 0 12px 28px rgba(232, 85, 46, 0.35);
  z-index: 5;
  animation: gentleStampPulse 5s ease-in-out infinite alternate;
}

.hero-stamp-seal span,
.hero-stamp-seal strong {
  color: #FFFFFF;
}

@keyframes gentleStampPulse {
  0% { transform: rotate(7deg) scale(1); }
  100% { transform: rotate(11deg) scale(1.04); }
}

/* KINETIC CORAL MARQUEE TICKER */
.kinetic-marquee-band {
  background: var(--accent-coral);
  color: #FFFFFF;
  overflow: hidden;
  padding: 13px 0;
  border-bottom: 1px solid rgba(20, 24, 23, 0.12);
  user-select: none;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 36px;
  animation: marqueeContinuous 34s linear infinite;
}

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

.marquee-item {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.marquee-diamond {
  width: 6px;
  height: 6px;
  background: #FFFFFF;
  transform: rotate(45deg);
  opacity: 0.75;
}

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

/* COLORFUL ACCENT TOP BARS ON THE 4 CATEGORY CARDS */
.category-editorial-card[data-cat-accent="coral"] { border-top: 4px solid #E8552E; }
.category-editorial-card[data-cat-accent="ocean"] { border-top: 4px solid #0077B6; }
.category-editorial-card[data-cat-accent="tropical"] { border-top: 4px solid #1B7A5E; }
.category-editorial-card[data-cat-accent="terracotta"] { border-top: 4px solid #B84A39; }

.category-editorial-card[data-cat-accent="coral"] .category-index-tag { background: #E8552E; color: #FFFFFF; }
.category-editorial-card[data-cat-accent="ocean"] .category-index-tag { background: #0077B6; color: #FFFFFF; }
.category-editorial-card[data-cat-accent="tropical"] .category-index-tag { background: #1B7A5E; color: #FFFFFF; }
.category-editorial-card[data-cat-accent="terracotta"] .category-index-tag { background: #B84A39; color: #FFFFFF; }

/* ==========================================================================
   COMO FUNCIONA — DEEP OCEAN VIBRANT BAND + 4 PHOTOGRAPHIC VISUAL CARDS
   ========================================================================== */
.how-ocean-showcase {
  background: var(--band-deep-ocean);
  color: #F6F4EE;
  padding: 84px 0;
  position: relative;
  overflow: hidden;
}

.how-ocean-showcase .eyebrow {
  color: #8CE0E8;
}

.how-ocean-showcase .section-heading {
  color: #FFFFFF;
}

.how-ocean-showcase .section-lead {
  color: rgba(246, 244, 238, 0.80);
}

.how-visual-grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 40px;
}

@media (min-width: 640px) {
  .how-visual-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1080px) {
  .how-visual-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.how-visual-card {
  background: #FFFFFF;
  color: var(--ink);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.20);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}

.how-visual-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 26px 52px rgba(0, 0, 0, 0.28);
}

.how-card-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-alt);
}

.how-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.how-visual-card:hover .how-card-photo img {
  transform: scale(1.07);
}

.how-step-ribbon {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  background: var(--accent-coral);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}

.how-visual-card:nth-child(2) .how-step-ribbon { background: #0077B6; }
.how-visual-card:nth-child(3) .how-step-ribbon { background: #1B7A5E; }
.how-visual-card:nth-child(4) .how-step-ribbon { background: #D95B33; }

.how-card-content {
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.how-card-title {
  font-family: var(--font-display);
  font-size: 19.5px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.2;
}

.how-card-desc {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.how-micro-checklist {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.how-micro-checklist li {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.how-check-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-ocean);
  flex-shrink: 0;
}

.how-ocean-showcase .founder-perk-banner {
  margin-top: 38px;
  background: linear-gradient(125deg, #E8552E 0%, #C8401C 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.how-ocean-showcase .founder-perk-banner .btn-solid-coral {
  background: #FFFFFF;
  color: #141817;
}

.how-ocean-showcase .founder-perk-banner .btn-solid-coral:hover {
  background: #F5F2EB;
}

/* ZONE PHOTO BANNER IN BAIRROS EXPLORER */
.zone-photo-banner {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 210px;
  margin-bottom: 20px;
  background: var(--bg-alt);
}

.zone-photo-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: fadeZoomIn 0.45s ease both;
}

@keyframes fadeZoomIn {
  from { opacity: 0.4; transform: scale(1.03); }
  to { opacity: 1; transform: scale(1); }
}

.zone-photo-caption {
  position: absolute;
  bottom: 10px;
  left: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(20, 24, 23, 0.78);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  backdrop-filter: blur(4px);
}

/* SCROLL REVEAL MOTION */
.reveal-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-up.in-view {
  opacity: 1;
  transform: translateY(0);
}
