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

:root {
  --green:        #4b6747;
  --green-dark:   #3a5238;
  --green-darker: #2c3e2a;
  --green-light:  #f2f7f1;
  --green-mid:    #e8f0e6;
  --gold:         #c8953a;
  --gold-light:   #fff8ee;
  --text:         #1a1a1a;
  --muted:        #6b7280;
  --border:       #e2e8df;
  --white:        #ffffff;
  --radius-sm:    8px;
  --radius:       16px;
  --radius-lg:    20px;
  --shadow-sm:    0 1px 4px rgba(0,0,0,0.06);
  --shadow:       0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:    0 8px 32px rgba(0,0,0,0.12);
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f5f7f4;
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { text-decoration: none; color: inherit; }
img { display: block; width: 100%; object-fit: cover; }

/* ── Header ───────────────────────────────────────────────── */
.header {
  background: var(--green-darker);
  color: var(--white);
  padding: 0 1.25rem;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 32px;
  width: auto;
  display: block;
}

.header-back {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s;
  font-weight: 500;
}
.header-back:hover { color: var(--white); }

/* ── Main ─────────────────────────────────────────────────── */
.main {
  flex: 1;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  padding: 2rem 1.25rem 4rem;
}

/* ── Hero da unidade ──────────────────────────────────────── */
.unidade-hero {
  background: linear-gradient(135deg, var(--green-darker) 0%, var(--green) 100%);
  border-radius: var(--radius-lg);
  padding: 2rem 2rem 1.5rem;
  margin-bottom: 1.75rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}


.unidade-hero h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.unidade-hero .subtitulo {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-top: 0.3rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.hero-stat {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 0.3rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--white);
  backdrop-filter: blur(4px);
}

.hero-stat.destaque {
  background: rgba(200,149,58,0.35);
  border-color: rgba(200,149,58,0.5);
}

/* ── Filtros ──────────────────────────────────────────────── */
.filtros-wrapper {
  position: sticky;
  top: 60px;
  z-index: 100;
  background: #f5f7f4;
  padding: 0.75rem 0;
  margin-bottom: 1.5rem;
}

.filtros {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.filtros::-webkit-scrollbar { display: none; }

.filtro-btn {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 0.45rem 1.1rem;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.filtro-btn:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-light);
}

.filtro-btn.ativo {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(75,103,71,0.35);
}

/* ── Página inicial ───────────────────────────────────────── */
.index-hero {
  text-align: center;
  padding: 2.5rem 1rem 2rem;
}

.index-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--green-darker);
}

.index-hero p {
  color: var(--muted);
  margin-top: 0.5rem;
  font-size: 1rem;
}

.estado-grupo { margin-bottom: 2.5rem; }

.estado-titulo {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.9rem;
  padding-left: 0.25rem;
}

.unidades-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 480px) { .unidades-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 768px) { .unidades-grid { grid-template-columns: 1fr 1fr 1fr; } }

.unidade-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.unidade-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green);
}

.unidade-icone {
  width: 48px;
  height: 48px;
  background: var(--green-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.unidade-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.unidade-info strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.unidade-info span {
  font-size: 0.75rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.unidade-arrow {
  color: var(--green);
  font-size: 1.1rem;
  flex-shrink: 0;
  font-weight: 700;
}

/* ── Sabores Grid ─────────────────────────────────────────── */
.sabores-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (min-width: 640px)  { .sabores-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (min-width: 900px)  { .sabores-grid { grid-template-columns: 1fr 1fr 1fr 1fr; } }
@media (max-width: 400px)  { .sabores-grid { grid-template-columns: 1fr; } }

/* ── Sabor Card ───────────────────────────────────────────── */
.sabor-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.sabor-card.disponivel {
  border-color: #7dab79;
}

/* Área da foto / placeholder */
.sabor-foto {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, var(--green-darker) 0%, var(--green) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.sabor-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.sabor-foto-emoji {
  font-size: 3rem;
  opacity: 0.5;
  user-select: none;
}

/* Perfil determina a cor do placeholder */
.sabor-card[data-perfil="chocolate"] .sabor-foto  { background: linear-gradient(145deg, #1a0a00, #3e1f00); }
.sabor-card[data-perfil="fruta"] .sabor-foto      { background: linear-gradient(145deg, #1b4d1f, #2e7d32); }
.sabor-card[data-perfil="creme"] .sabor-foto      { background: linear-gradient(145deg, #5d4037, #795548); }
.sabor-card[data-perfil="nozes"] .sabor-foto      { background: linear-gradient(145deg, #3e2723, #6d4c41); }
.sabor-card[data-perfil="doce_confeitaria"] .sabor-foto { background: linear-gradient(145deg, #880e4f, #c2185b); }
.sabor-card[data-perfil="especial"] .sabor-foto   { background: linear-gradient(145deg, #1a237e, #283593); }

/* Badge disponível sobre a foto */
.disponivel-tag {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  background: #2e7d32;
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 20px;
  padding: 0.25rem 0.65rem;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Corpo do card */
.sabor-corpo {
  padding: 0.85rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.sabor-nome {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.sabor-descricao {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
  flex: 1;
}

.sabor-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.3rem;
}

/* ── Badges ───────────────────────────────────────────────── */
.badge {
  font-size: 0.68rem;
  border-radius: 20px;
  padding: 0.2rem 0.55rem;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.badge-perfil {
  background: var(--green-mid);
  color: var(--green-dark);
}

.badge-campanha {
  background: #fff3e0;
  color: #e65100;
}

.badge-campanha-nome {
  background: #fbe9e7;
  color: #bf360c;
}

.badge-claim {
  background: #f1f8f0;
  color: #33691e;
  border: 1px solid #c5e1a5;
}

/* ── Vazio ────────────────────────────────────────────────── */
.vazio {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--muted);
  background: var(--white);
  border-radius: var(--radius);
  border: 1.5px dashed var(--border);
}

.vazio p { margin-bottom: 1.25rem; font-size: 0.95rem; }

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  text-align: center;
  padding: 1.25rem;
  font-size: 0.75rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  background: var(--white);
}

/* ── INDEX novo design ────────────────────────────────────── */
.idx-body {
  background: #EDE8DC;
}

.idx-body .header {
  background: #EDE8DC;
  box-shadow: none;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}


.idx-body .footer {
  background: transparent;
  border-top: 1px solid rgba(0,0,0,0.10);
  color: rgba(0,0,0,0.40);
}

/* Botão Meus sabores no header */
.idx-meus-sabores {
  font-size: 0.83rem;
  font-weight: 600;
  color: #1F2D1E;
  border: 1.5px solid #1F2D1E;
  border-radius: 999px;
  padding: 0.4rem 1rem;
  white-space: nowrap;
  transition: background 0.15s;
}
.idx-meus-sabores:hover { background: rgba(0,0,0,0.06); }

/* Hero */
.idx-hero {
  padding: 2rem 0 3rem;
  max-width: 640px;
}

.idx-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.45);
  margin-bottom: 0.75rem;
}

.idx-headline {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: #1F2D1E;
  margin-bottom: 1.25rem;
}

.idx-sub {
  font-size: 1rem;
  color: rgba(0,0,0,0.55);
  line-height: 1.6;
  max-width: 480px;
}

/* Estado */
.idx-estado {
  margin-bottom: 3rem;
}

.idx-estado-header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #1F2D1E;
  margin-bottom: 1rem;
}

.idx-estado-nome {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #1F2D1E;
  line-height: 1;
}

.idx-estado-count {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(0,0,0,0.40);
  letter-spacing: 0.02em;
}

/* Grid de lojas */
.idx-lojas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 700px) { .idx-lojas-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .idx-lojas-grid { grid-template-columns: 1fr; } }

/* Card de loja */
.idx-loja-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  border-radius: 18px;
  border: 2px solid #1F2D1E;
  min-height: 150px;
  text-decoration: none;
  color: #1F2D1E;
  box-shadow: 5px 5px 0 #1F2D1E;
  transition: transform 0.12s, box-shadow 0.12s;
}

.idx-loja-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 #1F2D1E;
}

.idx-loja-card:active {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 #1F2D1E;
}

.idx-loja-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.idx-loja-cidade {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.idx-loja-bairro {
  font-size: 0.75rem;
  color: rgba(0,0,0,0.60);
  line-height: 1.3;
}

.idx-loja-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
}

.idx-loja-count {
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
}

.idx-dot {
  color: #1F8A5B;
  font-size: 0.5rem;
}

.idx-loja-arrow {
  width: 32px;
  height: 32px;
  background: #1F2D1E;
  color: var(--cor);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* ── CARDÁPIO novo design ─────────────────────────────────── */
.cdp-body {
  background: #EDE8DC;
}

.cdp-body .header {
  background: #EDE8DC;
  box-shadow: none;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}


.cdp-body .header-back {
  color: #1F2D1E;
  font-weight: 700;
  border: 1.5px solid rgba(0,0,0,0.20);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
}

.cdp-body .footer {
  background: transparent;
  border-top: 1px solid rgba(0,0,0,0.10);
  color: rgba(0,0,0,0.40);
}

/* Hero */
.cdp-hero {
  background: #F5D76E;
  border: 2px solid #1F2D1E;
  border-radius: 20px;
  box-shadow: 5px 5px 0 #1F2D1E;
  padding: 2rem 2rem 1.75rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  overflow: hidden;
  position: relative;
}

.cdp-hero::after {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.35), transparent 60%);
  filter: brightness(1.05);
  border: 2px solid rgba(0,0,0,0.06);
  pointer-events: none;
}

.cdp-hero-content { position: relative; z-index: 1; }

.cdp-hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(0,0,0,0.55);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.cdp-hero-nome {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: #1F2D1E;
}

.cdp-hero-stats {
  display: flex;
  gap: 1rem;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.cdp-hero-stat {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.cdp-hero-stat-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: #1F2D1E;
}

.cdp-hero-stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(0,0,0,0.55);
  line-height: 1.3;
}

/* Filtros */
.cdp-filtros-wrapper {
  position: sticky;
  top: 60px;
  z-index: 100;
  background: linear-gradient(to bottom, #EDE8DC 80%, transparent);
  padding: 0.75rem 0;
  margin-bottom: 1.25rem;
}

.cdp-filtros {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.cdp-filtros::-webkit-scrollbar { display: none; }

.cdp-filtro-btn {
  background: transparent;
  border: 1.5px solid #1F2D1E;
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.83rem;
  font-weight: 600;
  color: #1F2D1E;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.cdp-filtro-btn:hover { background: rgba(0,0,0,0.06); }

.cdp-filtro-btn.ativo {
  background: #1F2D1E;
  color: #EDE8DC;
}

/* Grid */
.cdp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

@media (min-width: 640px)  { .cdp-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (min-width: 900px)  { .cdp-grid { grid-template-columns: 1fr 1fr 1fr 1fr; } }
@media (max-width: 380px)  { .cdp-grid { grid-template-columns: 1fr; } }

/* Card */
.cdp-card {
  border: 2px solid #1F2D1E;
  border-radius: 18px;
  box-shadow: 4px 4px 0 #1F2D1E;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #EDE8DC;
  transition: transform 0.12s, box-shadow 0.12s;
}

.cdp-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #1F2D1E;
}

/* Área visual do card */
.cdp-card-visual {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  background: #D4B882;
}

.cdp-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

/* Blob decorativo */
.cdp-card-visual::after {
  content: '';
  position: absolute;
  right: -20%;
  top: -20%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.30), transparent 60%);
  border: 2px solid rgba(0,0,0,0.07);
  pointer-events: none;
  z-index: 1;
}

/* Esconde blob quando tem foto */
.cdp-card-visual:has(img)::after { display: none; }

/* Badge no topo do card */
.cdp-badge-topo {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  background: #1F2D1E;
  color: #F5D76E;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  z-index: 2;
}

/* Cor de fundo por perfil */
.cdp-card[data-perfil="chocolate"]        .cdp-card-visual { background: #2C1A0A; }
.cdp-card[data-perfil="fruta"]            .cdp-card-visual { background: #C94B3A; }
.cdp-card[data-perfil="creme"]            .cdp-card-visual { background: #D4B882; }
.cdp-card[data-perfil="nozes"]            .cdp-card-visual { background: #7C4A28; }
.cdp-card[data-perfil="doce_confeitaria"] .cdp-card-visual { background: #C4728A; }
.cdp-card[data-perfil="especial"]         .cdp-card-visual { background: #4A7A8C; }

/* Corpo */
.cdp-card-corpo {
  background: #fff;
  padding: 0.85rem 1rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.cdp-sabor-nome {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #1F2D1E;
}

.cdp-sabor-desc {
  font-size: 0.75rem;
  color: rgba(0,0,0,0.55);
  line-height: 1.45;
  flex: 1;
}

.cdp-sabor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.2rem;
}

.cdp-tag {
  font-size: 0.65rem;
  font-weight: 600;
  border: 1px solid rgba(0,0,0,0.20);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  color: rgba(0,0,0,0.60);
}

/* Vazio */
.cdp-vazio {
  text-align: center;
  padding: 4rem 1rem;
  color: rgba(0,0,0,0.50);
  border: 2px dashed rgba(0,0,0,0.15);
  border-radius: 18px;
}
.cdp-vazio p { margin-bottom: 1rem; }

/* ── 404 ──────────────────────────────────────────────────── */
.erro-404 {
  text-align: center;
  padding: 5rem 1rem;
}
.erro-404 .emoji { font-size: 4rem; margin-bottom: 1rem; }
.erro-404 h1 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.erro-404 p { color: var(--muted); margin-bottom: 1.5rem; }

/* ── Geo page ─────────────────────────────────────────────── */
.geo-body { background: #EDE8DC; }
.geo-body .header { background: #EDE8DC; }
.geo-body .footer { background: #EDE8DC; border-top-color: rgba(0,0,0,0.08); }

.geo-wrap { max-width: 480px; margin: 0 auto; padding: 2rem 1rem 5rem; }

.geo-state { display: none; }
.geo-state.active { display: block; }

/* Hero */
.geo-hero { margin-bottom: 2rem; }
.geo-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.45);
  margin-bottom: 0.4rem;
}
.geo-headline {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(2.4rem, 10vw, 3.5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: #1F2D1E;
}
.geo-sub {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: rgba(0,0,0,0.50);
}

/* Spinner */
@keyframes geo-spin { to { transform: rotate(360deg); } }
.geo-spinner-wrap { display: flex; justify-content: center; margin: 2rem 0; }
.geo-spinner {
  width: 36px; height: 36px;
  border: 3px solid rgba(0,0,0,0.12);
  border-top-color: #4b6747;
  border-radius: 50%;
  animation: geo-spin 0.8s linear infinite;
}

.geo-manual-link {
  display: block;
  margin: 0 auto;
  background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 0.82rem;
  color: rgba(0,0,0,0.45);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.geo-manual-link:hover { color: rgba(0,0,0,0.75); }

/* Nearby cards (hard-shadow style) */
.geo-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 2px solid #1F2D1E;
  border-radius: 18px;
  padding: 1.1rem 1.2rem;
  margin-bottom: 0.7rem;
  box-shadow: 5px 5px 0 #1F2D1E;
  text-decoration: none;
  transition: transform 0.1s, box-shadow 0.1s;
}
.geo-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 #1F2D1E;
}
.geo-card-rank {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: rgba(0,0,0,0.45);
  display: block;
  margin-bottom: 0.2rem;
}
.geo-card-cidade {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1F2D1E;
  line-height: 1.1;
}
.geo-card-sub {
  font-size: 0.78rem;
  color: rgba(0,0,0,0.50);
  margin-top: 0.15rem;
}
.geo-card-dist {
  font-size: 0.75rem;
  color: rgba(0,0,0,0.40);
  margin-top: 0.1rem;
}
.geo-card-arrow {
  font-size: 1.3rem;
  color: var(--cor, #1F2D1E);
  flex-shrink: 0;
}

.geo-ver-todas {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: rgba(0,0,0,0.50);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Manual list */
.geo-denied {
  background: rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  color: rgba(0,0,0,0.60);
  margin-bottom: 1rem;
}

.geo-filters {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.geo-search {
  flex: 1; min-width: 0;
  padding: 0.6rem 0.9rem;
  border: 2px solid #1F2D1E;
  border-radius: 12px;
  background: #EDE8DC;
  font-family: inherit;
  font-size: 0.85rem;
  color: #1F2D1E;
  outline: none;
}
.geo-search::placeholder { color: rgba(0,0,0,0.35); }
.geo-uf {
  padding: 0.6rem 0.75rem;
  border: 2px solid #1F2D1E;
  border-radius: 12px;
  background: #EDE8DC;
  font-family: inherit;
  font-size: 0.85rem;
  color: #1F2D1E;
  cursor: pointer;
  outline: none;
}

.geo-meta {
  font-size: 0.72rem;
  color: rgba(0,0,0,0.40);
  text-align: right;
  margin-bottom: 0.5rem;
}

.geo-manual-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #fff;
  border: 2px solid #1F2D1E;
  border-radius: 14px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.5rem;
  box-shadow: 3px 3px 0 #1F2D1E;
  text-decoration: none;
  transition: transform 0.1s, box-shadow 0.1s;
}
.geo-manual-card:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 #1F2D1E;
}
.geo-manual-nome {
  font-weight: 700;
  font-size: 0.9rem;
  color: #1F2D1E;
}
.geo-manual-meta {
  font-size: 0.75rem;
  color: rgba(0,0,0,0.50);
  margin-top: 0.15rem;
}
.geo-manual-arrow {
  font-size: 1rem;
  color: rgba(0,0,0,0.40);
  flex-shrink: 0;
}

.geo-empty {
  text-align: center;
  color: rgba(0,0,0,0.40);
  font-size: 0.85rem;
  padding: 2rem 0;
}

.geo-footer {
  text-align: center;
  padding-top: 2rem;
  font-size: 0.72rem;
  color: rgba(0,0,0,0.35);
}
