/* GymComp - Estilo Strava & Fitness Pro
   100% Responsivo | Mobile-First | Zero Horizontal Scroll
   Otimizado para hospedagem hPanel / Hostinger
*/

:root {
  --bg-primary: #0B0E14;
  --bg-secondary: #131822;
  --bg-card: #18202F;
  --bg-card-hover: #1F2A3E;
  --bg-glass: rgba(24, 32, 47, 0.75);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(252, 76, 2, 0.5);

  /* Paleta Strava & Esporte Neon */
  --strava-orange: #FC4C02;
  --strava-orange-hover: #E04300;
  --strava-glow: rgba(252, 76, 2, 0.35);
  --neon-green: #00E676;
  --neon-green-glow: rgba(0, 230, 118, 0.3);
  --neon-cyan: #00E5FF;
  --neon-yellow: #FFD600;
  --neon-purple: #B388FF;
  --danger-red: #FF3D71;

  --text-main: #FFFFFF;
  --text-muted: #94A3B8;
  --text-dim: #64748B;

  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset Global & Proteção contra Scroll Horizontal */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden !important;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Container do Aplicativo Mobile-First */
.app-viewport {
  width: 100%;
  max-width: 500px;
  min-height: 100vh;
  margin: 0 auto;
  position: relative;
  background-color: var(--bg-primary);
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.6);
  padding-bottom: 85px; /* Espaço para barra inferior */
}

/* Top Bar / Header */
.top-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(11, 14, 20, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo-badge {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--strava-orange), #FF7D47);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px var(--strava-glow);
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, #FFFFFF, #E2E8F0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-title span {
  background: linear-gradient(90deg, var(--strava-orange), #FF8A50);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-status-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(0, 230, 118, 0.12);
  border: 1px solid rgba(0, 230, 118, 0.3);
  color: var(--neon-green);
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: var(--radius-full);
}

.header-status-badge.offline {
  background: rgba(255, 214, 0, 0.12);
  border-color: rgba(255, 214, 0, 0.3);
  color: var(--neon-yellow);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: currentColor;
  box-shadow: 0 0 8px currentColor;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* Área de Conteúdo das Telas */
.screen-container {
  padding: 16px;
  display: none;
  animation: fadeIn 0.2s ease-out forwards;
}

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

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

/* Cartões e Grid Geral */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.card-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #1A2232, #131A26);
  border: 1px solid rgba(252, 76, 2, 0.3);
}

.card-hero::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, var(--strava-glow) 0%, transparent 70%);
  pointer-events: none;
}

/* Regra dos 3 Cliques - Botão Master de Iniciar */
.quick-start-hub {
  margin: 12px 0 20px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.quick-action-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  color: var(--text-main);
  text-decoration: none;
}

.quick-action-btn:hover, .quick-action-btn:active {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.quick-action-btn.strava-orange {
  border-color: rgba(252, 76, 2, 0.4);
  background: linear-gradient(180deg, rgba(252, 76, 2, 0.12), rgba(24, 32, 47, 0.8));
}

.quick-action-btn.strava-orange:hover {
  border-color: var(--strava-orange);
  box-shadow: 0 8px 24px var(--strava-glow);
}

.quick-action-btn.neon-green {
  border-color: rgba(0, 230, 118, 0.4);
  background: linear-gradient(180deg, rgba(0, 230, 118, 0.12), rgba(24, 32, 47, 0.8));
}

.quick-action-btn.neon-green:hover {
  border-color: var(--neon-green);
  box-shadow: 0 8px 24px var(--neon-green-glow);
}

.action-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.action-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.action-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.badge-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: var(--radius-full);
}

/* Estatísticas Rápidas (Estilo Strava) */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.stat-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 10px;
  text-align: center;
}

.stat-val {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-main);
  line-height: 1.1;
}

.stat-val.highlight {
  color: var(--strava-orange);
}

.stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 4px;
}

/* Feed / Histórico de Atividades */
.section-title-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.section-title {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.activity-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 14px;
}

.activity-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.athlete-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--strava-orange);
}

.athlete-info {
  flex: 1;
  min-width: 0;
}

.athlete-name {
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.activity-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.activity-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(252, 76, 2, 0.15);
  color: var(--strava-orange);
}

.activity-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 10px;
  margin: 10px 0;
  text-align: center;
}

.activity-metric-box .metric-num {
  font-weight: 800;
  font-size: 1.1rem;
}

.activity-metric-box .metric-name {
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* Ações Sociais (WhatsApp & Instagram) */
.social-actions-bar {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border-color);
}

.btn-social {
  flex: 1;
  padding: 8px 10px;
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  cursor: pointer;
  transition: transform var(--transition-fast);
  text-decoration: none;
}

.btn-social:active {
  transform: scale(0.97);
}

.btn-social-whatsapp {
  background: #25D366;
  color: #000;
}

.btn-social-instagram {
  background: linear-gradient(45deg, #F09433, #E6683C 25%, #DC2743 50%, #CC2366 75%, #BC1888 100%);
  color: #fff;
}

.btn-social-strava {
  background: var(--strava-orange);
  color: #fff;
}

/* MAPA GPS (Leaflet / OpenStreetMap) */
#gps-map {
  width: 100%;
  height: 280px;
  border-radius: var(--radius-lg);
  margin-bottom: 14px;
  border: 1px solid var(--border-color);
  z-index: 1;
}

.leaflet-control-attribution {
  background: rgba(11, 14, 20, 0.8) !important;
  color: #64748B !important;
  font-size: 0.65rem !important;
  border-radius: var(--radius-sm);
  padding: 2px 6px !important;
}

.leaflet-control-attribution a {
  color: #94A3B8 !important;
  text-decoration: none;
}

.tracker-dashboard {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 16px;
}

.live-stat-big {
  text-align: center;
  margin-bottom: 16px;
}

.live-stat-big .live-num {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  color: var(--strava-orange);
  font-variant-numeric: tabular-nums;
}

.live-stat-big .live-unit {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
}

.live-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.live-box {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 10px 8px;
  text-align: center;
}

.live-box .val {
  font-size: 1.25rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.live-box .lbl {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Botões de Controle do Treino */
.tracker-controls {
  display: flex;
  gap: 10px;
}

.btn-main {
  flex: 1;
  padding: 14px 18px;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-start {
  background: var(--strava-orange);
  color: #fff;
  box-shadow: 0 6px 20px var(--strava-glow);
}

.btn-start:hover {
  background: var(--strava-orange-hover);
}

.btn-pause {
  background: var(--neon-yellow);
  color: #000;
}

.btn-finish {
  background: var(--neon-green);
  color: #000;
}

/* TELA DE CÂMERA IA / MEDIAPIPE */
.camera-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--neon-green);
  margin-bottom: 14px;
}

#camera-video, #camera-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.camera-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  z-index: 10;
}

.camera-ai-tag {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--neon-green);
  color: var(--neon-green);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
}

.rep-counter-hud {
  align-self: center;
  background: rgba(11, 14, 20, 0.85);
  backdrop-filter: blur(12px);
  border: 2px solid var(--neon-green);
  border-radius: var(--radius-xl);
  padding: 16px 32px;
  text-align: center;
  box-shadow: 0 0 30px var(--neon-green-glow);
}

.rep-counter-hud .rep-num {
  font-size: 4rem;
  font-weight: 900;
  color: var(--neon-green);
  line-height: 1;
}

.rep-counter-hud .rep-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 1px;
}

.posture-feedback-bar {
  background: rgba(0, 0, 0, 0.8);
  border-radius: var(--radius-md);
  padding: 10px;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
}

.exercise-selector-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.exercise-selector-bar::-webkit-scrollbar {
  display: none;
}

.exercise-pill {
  padding: 8px 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  color: var(--text-muted);
}

.exercise-pill.active {
  background: var(--neon-green);
  color: #000;
  border-color: var(--neon-green);
}

/* RANKINGS & PÓDIO */
.ranking-tabs {
  display: flex;
  background: var(--bg-secondary);
  border-radius: var(--radius-full);
  padding: 4px;
  margin-bottom: 16px;
  border: 1px solid var(--border-color);
}

.ranking-tab-btn {
  flex: 1;
  padding: 8px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.ranking-tab-btn.active {
  background: var(--strava-orange);
  color: #fff;
  box-shadow: 0 4px 12px var(--strava-glow);
}

.podium-container {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  margin: 20px 0 24px 0;
  padding-bottom: 10px;
}

.podium-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.podium-step.gold { order: 2; width: 36%; }
.podium-step.silver { order: 1; width: 30%; }
.podium-step.bronze { order: 3; width: 30%; }

.podium-avatar-wrap {
  position: relative;
  margin-bottom: 8px;
}

.podium-avatar {
  border-radius: var(--radius-full);
  object-fit: cover;
}

.gold .podium-avatar {
  width: 64px;
  height: 64px;
  border: 3px solid var(--neon-yellow);
  box-shadow: 0 0 16px rgba(255, 214, 0, 0.4);
}

.silver .podium-avatar {
  width: 52px;
  height: 52px;
  border: 3px solid #CBD5E1;
}

.bronze .podium-avatar {
  width: 52px;
  height: 52px;
  border: 3px solid #CD7F32;
}

.podium-badge-icon {
  position: absolute;
  bottom: -6px;
  right: -4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
  color: #000;
}

.gold .podium-badge-icon { background: var(--neon-yellow); }
.silver .podium-badge-icon { background: #CBD5E1; }
.bronze .podium-badge-icon { background: #CD7F32; color: #fff; }

.podium-name {
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 90px;
}

.podium-points {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--strava-orange);
}

.podium-pillar {
  width: 100%;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 6px;
}

.gold .podium-pillar {
  height: 75px;
  background: linear-gradient(180deg, rgba(255, 214, 0, 0.3), rgba(255, 214, 0, 0.05));
  border-top: 2px solid var(--neon-yellow);
}

.silver .podium-pillar {
  height: 55px;
  background: linear-gradient(180deg, rgba(203, 213, 225, 0.25), rgba(203, 213, 225, 0.05));
  border-top: 2px solid #CBD5E1;
}

.bronze .podium-pillar {
  height: 40px;
  background: linear-gradient(180deg, rgba(205, 127, 50, 0.25), rgba(205, 127, 50, 0.05));
  border-top: 2px solid #CD7F32;
}

/* Lista de Líderes */
.leader-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
}

.leader-rank-num {
  font-size: 1rem;
  font-weight: 900;
  color: var(--text-muted);
  width: 24px;
  text-align: center;
}

.leader-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.leader-info {
  flex: 1;
  min-width: 0;
}

.leader-name {
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.leader-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.leader-pts {
  text-align: right;
}

.leader-pts .pts-num {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--strava-orange);
}

.leader-pts .pts-unit {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* PERFIL & LGPD */
.profile-hero {
  text-align: center;
  padding: 20px 0;
}

.profile-avatar-lg {
  width: 88px;
  height: 88px;
  border-radius: var(--radius-full);
  border: 3px solid var(--strava-orange);
  object-fit: cover;
  margin-bottom: 12px;
  box-shadow: 0 0 20px var(--strava-glow);
}

.profile-name {
  font-size: 1.3rem;
  font-weight: 800;
}

.profile-tag {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.lgpd-box {
  background: rgba(255, 61, 113, 0.08);
  border: 1px solid rgba(255, 61, 113, 0.25);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-top: 16px;
}

.lgpd-box-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--danger-red);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lgpd-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.4;
}

.btn-secondary {
  width: 100%;
  padding: 11px 16px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-main);
  transition: all var(--transition-fast);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

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

.btn-danger {
  background: rgba(255, 61, 113, 0.15);
  color: var(--danger-red);
  border-color: rgba(255, 61, 113, 0.4);
}

.btn-danger:hover {
  background: var(--danger-red);
  color: #fff;
}

/* BARRA DE NAVEGAÇÃO INFERIOR (TAB BAR - 5 TABS) */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 500px;
  height: 70px;
  background: rgba(19, 24, 34, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 100;
  padding: 0 6px;
}

.nav-tab-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 8px 4px;
  transition: color var(--transition-fast);
}

.nav-tab-item.active {
  color: var(--strava-orange);
}

.nav-tab-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.nav-tab-label {
  font-size: 0.68rem;
  font-weight: 700;
}

/* BOTÃO FLUTUANTE DE WHATSAPP */
.whatsapp-float-btn {
  position: fixed;
  bottom: 85px;
  right: 18px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 95;
  text-decoration: none;
  transition: transform var(--transition-fast);
}

.whatsapp-float-btn:hover, .whatsapp-float-btn:active {
  transform: scale(1.08);
}

/* MODAL DE CONSENTIMENTO LGPD */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  max-height: 85vh;
  overflow-y: auto;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-body {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.modal-body ul {
  padding-left: 20px;
  margin: 10px 0;
}

.modal-body li {
  margin-bottom: 6px;
}

/* Toast de Notificação */
.toast-msg {
  position: fixed;
  top: 65px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: rgba(19, 24, 34, 0.95);
  border: 1px solid var(--neon-green);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  z-index: 250;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast-msg.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

