/* 
  Design System Base 
*/
:root {
  /* Cores Principais baseadas no print (tom avermelhado/rosa velho) */
  --primary: #D15A6B; 
  --primary-hover: #B54958;
  --primary-light: #F8E8EA;

  /* Neutros e Fundo */
  --bg-app: #F8F9FA; 
  --bg-card: #FFFFFF;
  
  /* Textos */
  --text-main: #1F2937;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  
  /* Bordas e Inputs */
  --border-color: #E5E7EB;
  --input-bg: #F9FAFB;
  
  /* Sombras (Premium Feel) */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --shadow-glow: 0 10px 25px -5px rgba(209, 90, 107, 0.3);

  /* Curvas (Premium Feel) */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transições suaves */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Variables */
body.dark-mode {
  --bg-app: #121212; 
  --bg-card: #1E1E1E;
  --text-main: #F3F4F6;
  --text-muted: #9CA3AF;
  --text-light: #6B7280;
  --border-color: #374151;
  --input-bg: #2D3748;
  --primary-light: #3F1D22;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
}

body.dark-mode .nav-item svg {
  stroke: var(--text-muted);
}
body.dark-mode .nav-item.active svg {
  stroke: var(--primary);
}

/* Reset Básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-app);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-hover);
}

/* App Container - Focado em simular App Mobile/PWA */
.app-container {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background-color: var(--bg-app);
  position: relative;
  display: flex;
  flex-direction: column;
  padding-bottom: 70px; /* Espaço para o bottom nav */
}

/* Header & Logo */
.app-header {
  text-align: center;
  padding: 40px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.logo {
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  color: var(--primary);
  /* Efeito de texto gradient */
  background: linear-gradient(135deg, #D15A6B, #E28B97);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge {
  background-color: var(--primary-light);
  color: var(--primary-hover);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Login Area */
.login-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 20px;
}

.login-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 24px;
}

.title {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 24px;
}

/* Buttons */
.btn-google {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.btn-google:hover {
  background-color: var(--input-bg);
  border-color: #D1D5DB;
}

.icon-google {
  width: 20px;
  height: 20px;
}

.btn-primary {
  width: 100%;
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 16px;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  margin-top: 8px;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Divider */
.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 24px 0;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-color);
}

.divider span {
  padding: 0 10px;
  color: var(--text-light);
  font-size: 0.75rem;
  text-transform: uppercase;
}

/* Forms */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-main);
}

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

.input-icon {
  position: absolute;
  left: 16px;
  color: var(--text-light);
}

.input-wrapper input {
  width: 100%;
  padding: 16px 16px 16px 48px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  background-color: var(--input-bg);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-main);
  transition: var(--transition);
}

.input-wrapper input::placeholder {
  color: var(--text-light);
}

.input-wrapper input:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--bg-card);
  box-shadow: 0 0 0 4px var(--primary-light);
}

.input-wrapper input:focus + .input-icon,
.input-wrapper input:focus ~ .input-icon {
  color: var(--primary);
}

.btn-toggle-password {
  position: absolute;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.btn-toggle-password:hover {
  color: var(--text-main);
}

/* Links and Texts */
.forgot-password {
  text-align: right;
  margin-top: -8px;
}

.forgot-password a {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 500;
}

.register-link {
  text-align: center;
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.register-link a {
  font-weight: 600;
}

.terms-text {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 0 20px;
}

/* Bottom Navigation */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 480px;
  margin: 0 auto;
  background-color: var(--bg-card);
  display: flex;
  justify-content: space-between;
  padding: 12px 24px 20px;
  box-shadow: 0 -10px 20px -10px rgba(0,0,0,0.05);
  border-top: 1px solid var(--border-color);
  z-index: 100;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-light);
  font-size: 0.65rem;
  font-weight: 500;
}

.nav-item.active {
  color: var(--primary);
}

.nav-item:hover {
  color: var(--primary-hover);
}

.nav-item svg {
  transition: var(--transition);
}

.nav-item.active svg {
  transform: translateY(-2px);
}

/* =========================================
   DASHBOARD STYLES
   ========================================= */

.dashboard-body {
  background-color: var(--bg-app);
}

.dashboard-container {
  padding-bottom: 90px;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 20px;
}

.dashboard-header .logo-wrapper {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.dashboard-header .logo.small {
  font-size: 1.5rem;
}

.btn-icon {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.btn-icon:hover {
  background: var(--input-bg);
  transform: translateY(-2px);
}

.dashboard-content {
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* User Row */
.user-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.avatar {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), #E28B97);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: var(--shadow-md);
}

.greeting {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.user-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
}

.user-name .emoji {
  font-size: 1.1rem;
}

.arrow-right {
  border: none;
  background: transparent;
  box-shadow: none;
  color: var(--text-muted);
}

/* Base Card */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-md);
}

/* Motivation Card */
.motivation-card {
  background: var(--primary-light);
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--primary-hover);
  font-weight: 600;
  padding: 16px 20px;
  border-radius: var(--radius-full);
  box-shadow: none;
}

/* Progress Card */
.progress-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.circular-progress {
  position: relative;
  width: 80px;
  height: 80px;
}

.circular-chart {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  max-height: 250px;
}

.circle-bg {
  fill: none;
  stroke: var(--input-bg);
  stroke-width: 3.8;
}

.circle {
  fill: none;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke: var(--primary);
  /* animation: progress 1s ease-out forwards; */
}

.progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.progress-text .value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
}

.progress-text .total {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.progress-details h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.progress-details p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.linear-progress {
  width: 100%;
  height: 6px;
  background-color: var(--input-bg);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.linear-progress .bar {
  height: 100%;
  background-color: var(--primary);
  border-radius: var(--radius-full);
}

/* Training Card */
.training-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-bottom: 20px;
}

.training-header {
  background: var(--primary);
  color: white;
  padding: 24px 20px;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.badge-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  opacity: 0.9;
}

.badge-day {
  background: rgba(255,255,255,0.2);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.training-header h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.training-header p {
  font-size: 0.9rem;
  opacity: 0.9;
}

.training-body {
  padding: 24px 20px;
}

.training-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.training-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.exercise-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.exercise-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--input-bg);
  padding: 12px 16px;
  border-radius: var(--radius-md);
}

.exercise-list .number {
  background: var(--primary-light);
  color: var(--primary);
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.exercise-list .name {
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.95rem;
}

.more-exercises {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.btn-training {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

/* =========================================
   STATS SECTION
   ========================================= */

.stats-section {
  margin-top: 10px;
}

.section-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-main);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.stat-card {
  border-radius: var(--radius-md);
  padding: 16px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  opacity: 0.9;
}

.stat-icon {
  opacity: 0.8;
}

.stat-body {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.1;
}

.stat-desc {
  font-size: 0.75rem;
  opacity: 0.9;
  font-weight: 500;
}

/* Card Colors */
.stat-red {
  background: linear-gradient(135deg, #EF4444, #F87171);
}
.stat-green {
  background: linear-gradient(135deg, #10B981, #34D399);
}
.stat-blue {
  background: linear-gradient(135deg, #3B82F6, #60A5FA);
}
.stat-yellow {
  background: linear-gradient(135deg, #F59E0B, #FBBF24);
}

/* =========================================
   EXTRA LINKS SECTION
   ========================================= */

.extra-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.link-card {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  padding: 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  gap: 16px;
  transition: var(--transition);
}

.link-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.link-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.link-text {
  flex: 1;
}

.link-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
}

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

.chevron {
  color: var(--text-light);
}


/* SVG Active Background Adjustment */
.nav-item.active svg {
  background-color: var(--primary-light);
  border-radius: var(--radius-full);
  padding: 6px;
  width: 36px;
  height: 36px;
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

/* =========================================
   TREINOS SECTION
   ========================================= */

.treinos-header {
  padding: 24px 20px 16px;
}

.treinos-header h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.treinos-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.treinos-content {
  display: flex;
  flex-direction: column;
  padding-bottom: 90px;
}

/* Horizontal Filters */
.filters-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 20px 20px;
  /* Esconder barra de rolagem mas manter funcionamento */
  scrollbar-width: none; 
  -ms-overflow-style: none;
}

.filters-scroll::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 10px 16px;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-main);
  white-space: nowrap;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.filter-btn:hover {
  background-color: var(--input-bg);
  transform: translateY(-1px);
}

.filter-btn .emoji {
  font-size: 1rem;
}

/* Week Accordion */
.weeks-list {
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.week-accordion {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}

.week-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  cursor: pointer;
  border-bottom: 1px solid transparent;
}

.week-accordion.expanded .week-header {
  border-bottom: 1px solid var(--border-color);
}

.week-title {
  display: flex;
  align-items: center;
  gap: 16px;
}

.week-number {
  width: 36px;
  height: 36px;
  background-color: #A45062;
  color: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.week-number.num-gray {
  background-color: #E5E7EB;
  color: var(--text-muted);
}

.week-title h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

.week-title p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.chevron-icon {
  color: var(--text-light);
  transition: transform 0.3s ease;
}

.week-accordion.expanded .chevron-icon {
  transform: rotate(180deg);
}

/* Week Body (Days List) */
.week-body {
  display: none;
  padding: 16px;
  flex-direction: column;
  gap: 12px;
  background-color: #FAFAFA;
}

.week-accordion.expanded .week-body {
  display: flex;
}

/* Day Cards */
.day-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.day-card.active {
  border: 2px solid var(--primary);
  background-color: var(--primary-light);
}

.day-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.day-subtitle {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.day-card.active .day-subtitle {
  color: var(--primary);
}

.day-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.day-meta {
  display: flex;
  gap: 12px;
}

.day-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.day-card.active .day-meta span {
  color: #8C3947;
}

/* Day Buttons */
.btn-iniciar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: var(--shadow-glow);
}

.btn-ver {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  padding: 10px 16px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}

.btn-ver:hover {
  background: var(--input-bg);
}

/* Extra Activity Special Card */
.extra-activity-card {
  background-color: #FFF7ED; /* Orange 50 */
}

/* =========================================
   TREINO DIA (CONTEÚDO) SECTION
   ========================================= */

.app-container.no-nav {
  padding-bottom: 20px; /* Sem menu inferior */
}

.treino-dia-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 20px;
}

.btn-back {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  margin-top: 4px;
}

.btn-back:hover {
  background: var(--input-bg);
}

.header-titles {
  display: flex;
  flex-direction: column;
}

.day-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 2px;
}

.header-titles h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.treino-dia-content {
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Summary Cards */
.summary-cards {
  display: flex;
  gap: 12px;
}

.summary-card {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.summary-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.summary-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
}

/* Tip Banner */
.tip-banner {
  background-color: #FFEDD5; /* Laranja clarinho */
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.tip-banner .emoji {
  font-size: 1.2rem;
}

.tip-banner p {
  font-size: 0.9rem;
  color: #9A3412; /* Laranja escuro */
  font-weight: 500;
}

/* Exercises Title */
.exercises-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 8px;
}

/* Exercise List */
.exercises-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.exercise-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.video-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #1F2937;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Silhueta decorativa sutil */
.video-placeholder::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(135deg, rgba(255,255,255,0.05), transparent);
  pointer-events: none;
}

.play-button {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease;
  z-index: 10;
}

.play-button:hover {
  transform: scale(1.05);
}

.play-button svg {
  margin-left: 4px; /* Compensar triângulo para parecer no centro */
  width: 28px;
  height: 28px;
}

.exercise-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.exercise-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.exercise-header h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  flex: 1;
  padding-right: 12px;
}

.exercise-header .time {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
}

.exercise-desc {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.exercise-desc p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.info-icon {
  color: var(--text-main);
  opacity: 0.7;
  min-width: 16px;
  cursor: pointer;
}

.exercise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.tag {
  background-color: var(--input-bg);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
}

.video-placeholder video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.video-placeholder::before {
  z-index: 2; /* Manter o reflexo por cima do vídeo */
}

/* O play-button já tem z-index: 10 */
