/* ═══════════════════════════════════════════
   Jogo da Belinha — Santa Casa de Ilhabela
   Estilo Global
═══════════════════════════════════════════ */

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

:root {
  --verde-escuro:   #1B5E3B;
  --verde-santa:    #2E7D32;
  --verde-claro:    #4CAF50;
  --verde-bg:       #E8F5E9;
  --azul:           #1565C0;
  --azul-claro:     #42A5F5;
  --branco:         #FFFFFF;
  --cinza-claro:    #F5F5F5;
  --cinza:          #78909C;
  --texto:          #1B2631;
  --muted:          #546E7A;
  --borda:          #C8E6C9;
  --whatsapp:       #25D366;
  --perigo:         #C62828;
  --alerta:         #F57F17;
  --sucesso:        #2E7D32;
  --sombra: 0 4px 20px rgba(0,0,0,.08);
  --sombra-hover: 0 8px 32px rgba(0,0,0,.14);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: all .25s ease;
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--verde-bg);
  color: var(--texto);
  min-height: 100vh;
}

/* ─── HEADER / NAV ─── */
.navbar-belinha {
  background: linear-gradient(135deg, var(--verde-escuro) 0%, var(--verde-santa) 100%);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 12px rgba(0,0,0,.2);
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar-belinha .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.navbar-belinha .brand-logo-chip {
  background: #fff;
  border-radius: 10px;
  padding: 5px 8px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.navbar-belinha .brand img { height: 40px; display: block; }
.navbar-belinha .brand-text { color: #fff; }
.navbar-belinha .brand-text h1 { font-size: 1.1rem; font-weight: 800; line-height: 1.2; }
.navbar-belinha .nav-links { display: flex; gap: 8px; }
.navbar-belinha .nav-links a {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  font-size: .85rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  transition: var(--transition);
}
.navbar-belinha .nav-links a:hover,
.navbar-belinha .nav-links a.active {
  background: rgba(255,255,255,.2);
  color: #fff;
}

/* ─── PROGRESSO DO JOGO ─── */
.progress-game {
  background: #fff;
  border-bottom: 2px solid var(--borda);
  padding: 16px 24px;
}
.progress-game .steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 600px;
  margin: 0 auto;
}
.progress-game .step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
}
.progress-game .step::after {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--borda);
  z-index: 0;
}
.progress-game .step:last-child::after { display: none; }
.progress-game .step-circle {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  z-index: 1;
  position: relative;
  transition: var(--transition);
}
.progress-game .step-circle.done  { background: var(--verde-santa); color: #fff; }
.progress-game .step-circle.active{ background: var(--azul); color: #fff; box-shadow: 0 0 0 4px rgba(21,101,192,.2); }
.progress-game .step-circle.todo  { background: var(--borda); color: var(--muted); }
.progress-game .step-label { font-size: .68rem; color: var(--muted); margin-top: 4px; text-align: center; }

/* ─── HERO / TELA DE BOAS-VINDAS ─── */
.hero-section {
  background: linear-gradient(135deg, var(--verde-escuro) 0%, #255a3b 50%, #1565C0 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-text h1 {
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero-text h1 span { color: var(--verde-claro); }
.hero-text p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.8);
  line-height: 1.6;
  margin-bottom: 32px;
}
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.badge-hero {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 500;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.hero-image img {
  max-height: 420px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.3));
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

/* ─── BOTÕES ─── */
.btn-primary-green {
  background: linear-gradient(135deg, var(--verde-santa), var(--verde-claro));
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(46,125,50,.4);
}
.btn-primary-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(46,125,50,.5);
  color: #fff;
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.5);
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.8);
  color: #fff;
}
.btn-blue {
  background: linear-gradient(135deg, var(--azul), var(--azul-claro));
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(21,101,192,.4);
}
.btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(21,101,192,.5);
  color: #fff;
}
.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.btn-whatsapp:hover { transform: translateY(-2px); opacity: .9; color: #fff; }

/* ─── CARDS DO JOGO ─── */
.game-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 24px;
}
.card-belinha {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--sombra);
  padding: 32px;
  margin-bottom: 24px;
  transition: var(--transition);
}
.card-belinha:hover { box-shadow: var(--sombra-hover); }

.belinha-speech {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: linear-gradient(135deg, var(--verde-bg), #C8E6C9);
  border-left: 4px solid var(--verde-santa);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 28px;
}
.belinha-speech .avatar {
  width: 84px; height: 84px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  background: #fff;
  border: 3px solid var(--verde-santa);
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
}
.belinha-speech .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 46% 12%;
  /* aproxima o enquadramento no rosto da Belinha */
  transform: scale(1.9);
  transform-origin: 46% 26%;
}
.belinha-speech .text { font-size: .95rem; line-height: 1.6; color: var(--texto); }
.belinha-speech .text strong { color: var(--verde-escuro); }

.step-list { list-style: none; padding: 0; }
.step-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  margin-bottom: 12px;
  background: var(--cinza-claro);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.step-list li:hover { background: var(--verde-bg); }
.step-list .step-num {
  width: 36px; height: 36px;
  background: var(--verde-santa);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: .9rem;
  flex-shrink: 0;
}
.step-list .step-text h4 { font-size: .95rem; font-weight: 600; margin-bottom: 4px; }
.step-list .step-text p  { font-size: .85rem; color: var(--muted); }

.caminho-card {
  background: #fff;
  border-radius: var(--radius);
  border: 3px solid var(--borda);
  padding: 32px;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  display: block;
  transition: var(--transition);
}
.caminho-card:hover, .caminho-card.selected {
  border-color: var(--verde-santa);
  transform: translateY(-4px);
  box-shadow: var(--sombra-hover);
}
.caminho-card .icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}
.caminho-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; color: var(--verde-escuro); }
.caminho-card p  { font-size: .88rem; color: var(--muted); line-height: 1.5; }

.garantia-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--verde-bg);
  border: 1px solid var(--borda);
  color: var(--verde-escuro);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 600;
  margin: 4px;
}

/* ─── MAPA DE UNIDADES ─── */
.tipo-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: linear-gradient(135deg, var(--verde-escuro), var(--verde-santa));
  color: #fff;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  font-weight: 700;
  font-size: .9rem;
}
.unidade-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--borda);
  transition: var(--transition);
}
.unidade-item:last-child { border-bottom: none; }
.unidade-item:hover { background: var(--verde-bg); }
.unidade-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--verde-claro);
  flex-shrink: 0;
}
.unidade-info h4 { font-size: .9rem; font-weight: 600; }
.unidade-info p  { font-size: .78rem; color: var(--muted); }

/* ─── CONCLUSÃO ─── */
.conclusao-hero {
  background: linear-gradient(135deg, var(--verde-escuro), #1565C0);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}
.selo {
  width: 160px; height: 160px;
  background: linear-gradient(135deg, #FFD700, #FFA000);
  border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  margin: 0 auto 32px;
  box-shadow: 0 0 0 8px rgba(255,215,0,.2), 0 0 40px rgba(255,215,0,.4);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 8px rgba(255,215,0,.2), 0 0 40px rgba(255,215,0,.4); }
  50%       { box-shadow: 0 0 0 16px rgba(255,215,0,.1), 0 0 60px rgba(255,215,0,.3); }
}
.selo .icon { font-size: 2.8rem; }
.selo p { font-size: .75rem; font-weight: 700; color: #5D4037; margin-top: 4px; text-transform: uppercase; letter-spacing: 1px; }

/* ════════════════════════════════════════════
   DASHBOARD — MODO ESCURO
════════════════════════════════════════════ */
body.dashboard-mode {
  background: #0D1117;
  color: #E0E0E0;
}

.dash-sidebar {
  width: 240px;
  background: #161B22;
  min-height: 100vh;
  position: fixed;
  top: 0; left: 0;
  padding: 0;
  border-right: 1px solid #21262D;
  z-index: 200;
  display: flex;
  flex-direction: column;
}
.dash-sidebar .sidebar-logo {
  padding: 20px;
  border-bottom: 1px solid #21262D;
  display: flex;
  align-items: center;
  gap: 12px;
}
.dash-sidebar .sidebar-logo img { height: 38px; }
.dash-sidebar .sidebar-logo .logo-text h3 { font-size: .85rem; font-weight: 700; color: #fff; }
.dash-sidebar .sidebar-logo .logo-text p  { font-size: .7rem; color: #8B949E; }
.dash-sidebar .nav-section { padding: 16px 12px 8px; }
.dash-sidebar .nav-section-title { font-size: .68rem; color: #8B949E; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; padding: 0 8px; margin-bottom: 8px; }
.dash-sidebar .nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #8B949E;
  text-decoration: none;
  font-size: .88rem;
  font-weight: 500;
  transition: var(--transition);
  margin-bottom: 4px;
}
.dash-sidebar .nav-item:hover { background: #21262D; color: #E0E0E0; }
.dash-sidebar .nav-item.active { background: rgba(46,125,50,.2); color: var(--verde-claro); }
.dash-sidebar .nav-item i { font-size: 1.1rem; width: 20px; }
.dash-sidebar .sidebar-footer {
  margin-top: auto;
  padding: 16px;
  border-top: 1px solid #21262D;
}
.dash-sidebar .sidebar-footer a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8B949E;
  text-decoration: none;
  font-size: .82rem;
  padding: 8px;
  border-radius: 8px;
  transition: var(--transition);
}
.dash-sidebar .sidebar-footer a:hover { color: var(--verde-claro); }

.dash-main {
  margin-left: 240px;
  min-height: 100vh;
}

.dash-topbar {
  background: #161B22;
  border-bottom: 1px solid #21262D;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.dash-topbar h2 { font-size: 1.1rem; font-weight: 700; color: #fff; }
.dash-topbar .periodo-select {
  background: #21262D;
  border: 1px solid #30363D;
  color: #E0E0E0;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: .85rem;
  cursor: pointer;
}

.dash-content { padding: 28px; }

/* KPI Cards */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.kpi-card {
  background: #161B22;
  border: 1px solid #21262D;
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}
.kpi-card:hover { border-color: var(--verde-santa); transform: translateY(-2px); }
.kpi-card .label { font-size: .75rem; color: #8B949E; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 10px; }
.kpi-card .value { font-size: 2.2rem; font-weight: 800; line-height: 1; margin-bottom: 8px; }
.kpi-card .value.green  { color: var(--verde-claro); }
.kpi-card .value.yellow { color: #FFC107; }
.kpi-card .value.red    { color: #EF5350; }
.kpi-card .value.white  { color: #fff; }
.kpi-card .sub { font-size: .8rem; color: #8B949E; }

/* NPS Gauge */
.nps-gauge-card {
  background: #161B22;
  border: 1px solid #21262D;
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.nps-gauge-card::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(46,125,50,.05) 0%, transparent 70%);
}
.gauge-value {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1;
  margin: 20px 0 8px;
}
.gauge-bar {
  height: 12px;
  background: #21262D;
  border-radius: 6px;
  overflow: hidden;
  margin: 16px 0 8px;
  position: relative;
}
.gauge-bar-fill {
  height: 100%;
  border-radius: 6px;
  transition: width 1s ease;
}
.gauge-labels { display: flex; justify-content: space-between; font-size: .72rem; color: #8B949E; }

/* Charts */
.chart-card {
  background: #161B22;
  border: 1px solid #21262D;
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}
.chart-card h3 { font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.chart-card .chart-sub { font-size: .78rem; color: #8B949E; margin-bottom: 20px; }

/* Tabela de unidades */
.units-table { width: 100%; border-collapse: collapse; }
.units-table th {
  text-align: left;
  font-size: .72rem;
  font-weight: 600;
  color: #8B949E;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 8px 12px;
  border-bottom: 1px solid #21262D;
}
.units-table td {
  padding: 12px;
  border-bottom: 1px solid #1A1F27;
  font-size: .88rem;
  color: #E0E0E0;
}
.units-table tr:hover td { background: #1A1F27; }
.nps-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 28px;
  border-radius: 6px;
  font-size: .8rem;
  font-weight: 700;
}
.nps-badge.high   { background: rgba(46,125,50,.2);  color: #66BB6A; }
.nps-badge.medium { background: rgba(245,127,23,.2); color: #FFA726; }
.nps-badge.low    { background: rgba(198,40,40,.2);  color: #EF5350; }
.nps-badge.none   { background: #21262D; color: #8B949E; font-size: .7rem; }

/* Alert badges */
.alert-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(198,40,40,.15);
  border: 1px solid rgba(198,40,40,.3);
  color: #EF5350;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: .75rem;
  font-weight: 600;
}

/* Distribuição de escala */
.scale-bar {
  display: flex;
  height: 28px;
  border-radius: 8px;
  overflow: hidden;
  margin: 12px 0;
}
.scale-bar .seg {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 700;
  color: #fff;
  transition: width 1s ease;
}
.scale-bar .otimo     { background: #2E7D32; }
.scale-bar .bom       { background: #558B2F; }
.scale-bar .regular   { background: #F57F17; }
.scale-bar .ruim      { background: #D84315; }
.scale-bar .pessimo   { background: #B71C1C; }

/* Sentimentos */
.sent-positivo { color: #66BB6A; }
.sent-neutro   { color: #FFA726; }
.sent-negativo { color: #EF5350; }
.sent-badge-positivo { background: rgba(46,125,50,.15);  color: #66BB6A; border-radius: 6px; padding: 3px 10px; font-size: .75rem; font-weight: 600; }
.sent-badge-neutro   { background: rgba(245,127,23,.15); color: #FFA726; border-radius: 6px; padding: 3px 10px; font-size: .75rem; font-weight: 600; }
.sent-badge-negativo { background: rgba(198,40,40,.15);  color: #EF5350; border-radius: 6px; padding: 3px 10px; font-size: .75rem; font-weight: 600; }

/* Comentários feed */
.comment-card {
  background: #1A1F27;
  border: 1px solid #21262D;
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 12px;
  transition: var(--transition);
}
.comment-card:hover { border-color: #30363D; }
.comment-card .comment-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.comment-card .comment-meta { font-size: .78rem; color: #8B949E; }
.comment-card .comment-text { font-size: .9rem; color: #C9D1D9; line-height: 1.5; }

/* Filtros */
.filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  align-items: center;
}
.filter-select, .filter-input {
  background: #21262D;
  border: 1px solid #30363D;
  color: #E0E0E0;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: .85rem;
}
.filter-select:focus, .filter-input:focus {
  outline: none;
  border-color: var(--verde-santa);
}
.filter-btn {
  background: var(--verde-santa);
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover { background: var(--verde-escuro); }

/* ─── RESPONSIVO ─── */
/* ─────────────────────────────────────────────
   ADAPTAÇÃO A TELAS PEQUENAS
   A maioria das pessoas entra pelo CELULAR: QR Code na parede, QR da TV,
   link na bio do Instagram, WhatsApp. É o tamanho que mais importa.
   ───────────────────────────────────────────── */

@media (max-width: 768px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .hero-image { display: none; }
  .hero-text h1 { font-size: 1.8rem; }
  .dash-sidebar { display: none; }
  .dash-main { margin-left: 0; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  /* Barra do topo: era ela que empurrava a página para 601px num celular
     de 375px. A marca fica em cima e os links embaixo, centrados. */
  .navbar-belinha {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 10px 14px;
  }
  .navbar-belinha .brand { gap: 8px; }
  .navbar-belinha .brand img { height: 32px; }
  .navbar-belinha .brand-text h1 { font-size: .95rem; }
  .navbar-belinha .nav-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
  }
  .navbar-belinha .nav-links a { font-size: .8rem; padding: 5px 12px; }

  /* Conteúdo: menos respiro nas laterais, para sobrar largura ao texto */
  .hero-content { padding: 36px 16px; gap: 24px; }
  .game-page,
  .section .wrap { padding-left: 16px; padding-right: 16px; }
  .card-belinha { padding: 20px 16px; }

  /* Etapas do jogo (Unidades · Caminho · Avaliação · Conclusão):
     rótulos menores para as 4 caberem lado a lado */
  .progress-game .steps { gap: 4px; }
  .progress-game .step-label { font-size: .68rem; }
  .progress-game .step-circle { width: 30px; height: 30px; font-size: .85rem; }

  /* Grades viram coluna única */
  .kpi-grid { grid-template-columns: 1fr; }
  .cards-3 { grid-template-columns: 1fr !important; }
  .caminho-card { padding: 22px 16px; }
  .caminho-card .icon { font-size: 2.4rem; margin-bottom: 10px; }

  /* Botões ocupam a largura toda: alvo de toque maior, mais fácil de acertar */
  .btn-primary-green,
  .btn-outline-white { width: 100%; justify-content: center; }

  /* Nada pode furar a lateral da tela */
  img, svg, table { max-width: 100%; height: auto; }
}

@media (max-width: 380px) {
  /* Celulares mais estreitos e telas com fonte aumentada */
  .navbar-belinha .brand-text h1 { font-size: .88rem; }
  .navbar-belinha .nav-links a { font-size: .75rem; padding: 5px 10px; }
  .progress-game .step-label { font-size: .62rem; }
  .hero-text h1 { font-size: 1.55rem; }
}

/* ─── UTILITÁRIOS ─── */
.text-verde  { color: var(--verde-santa) !important; }
.text-azul   { color: var(--azul) !important; }
.text-muted  { color: var(--muted) !important; }
.bg-verde    { background: var(--verde-bg) !important; }
.fw-700 { font-weight: 700 !important; }
.fw-800 { font-weight: 800 !important; }
.mt-auto { margin-top: auto; }
.gap-2  { gap: .5rem; }
.gap-3  { gap: 1rem; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.w-100 { width: 100%; }

/* Pulso de destaque do botao principal (substitui o countdown bloqueante) */
@keyframes pulso-btn {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(46,125,50,.45); }
  50% { transform: scale(1.04); box-shadow: 0 0 0 12px rgba(46,125,50,0); }
}
