/* ========================================
   DESAFIO SEM DIÁSTASE - Design System
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
  /* Primary Colors - Neuromarketing: Saúde, Motivação & Confiança */
  --flame-orange: #F97316;
  --flame-gold: #FBBF24;
  --flame-light: #FFF7ED;
  --burgundy: #0D9488;
  --burgundy-dark: #115E59;
  --burgundy-light: #14B8A6;

  /* Gradients */
  --gradient-flame: linear-gradient(135deg, #F97316 0%, #FBBF24 50%, #EA580C 100%);
  --gradient-burgundy: linear-gradient(135deg, #0D9488 0%, #115E59 100%);
  --gradient-warm: linear-gradient(135deg, #F97316 0%, #F97316 50%, #0D9488 100%);
  --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(204, 251, 241, 0.9));
  --gradient-dark: linear-gradient(180deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);

  /* Neutral Colors */
  --white: #FFFFFF;
  --gray-50: #FAFAF9;
  --gray-100: #F5F5F4;
  --gray-200: #E7E5E4;
  --gray-300: #D6D3D1;
  --gray-400: #A8A29E;
  --gray-500: #78716C;
  --gray-600: #57534E;
  --gray-700: #44403C;
  --gray-800: #292524;
  --gray-900: #1C1917;

  /* Status Colors */
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;
  --info: #3B82F6;

  /* Typography */
  --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 40px rgba(249, 115, 22, 0.3);
  --shadow-glow-strong: 0 0 60px rgba(249, 115, 22, 0.5);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
  --transition-spring: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--gradient-dark);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

h4 {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
}

p {
  color: var(--gray-600);
}

a {
  color: var(--flame-orange);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--burgundy);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border: none;
  border-radius: var(--radius-lg);
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-flame);
  color: var(--white);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.btn-secondary {
  background: var(--gradient-burgundy);
  color: var(--white);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--flame-orange);
  color: var(--flame-orange);
}

.btn-outline:hover {
  background: var(--flame-orange);
  color: var(--white);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: 1.125rem;
}

.btn-full {
  width: 100%;
}

/* Form Elements */
.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  margin-bottom: var(--space-2);
  font-weight: 500;
  color: var(--gray-700);
}

.form-input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  font-family: var(--font-family);
  font-size: 1rem;
  background: var(--white);
  transition: all var(--transition-base);
}

.form-input:focus {
  outline: none;
  border-color: var(--flame-orange);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.15);
}

.form-input::placeholder {
  color: var(--gray-400);
}

/* Cards */
.card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.card-glass {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

/* Auth Pages */
.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) var(--space-4);
  position: relative;
}

.auth-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(249, 115, 22, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(13, 148, 136, 0.15) 0%, transparent 40%);
  pointer-events: none;
}

.auth-box {
  width: 100%;
  max-width: 440px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-2xl), var(--shadow-glow);
  position: relative;
  z-index: 1;
  animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-logo {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-6);
}

.auth-logo img {
  height: 80px;
  width: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.auth-title {
  text-align: center;
  margin-bottom: var(--space-2);
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.auth-subtitle {
  text-align: center;
  color: var(--gray-500);
  margin-bottom: var(--space-8);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin: var(--space-6) 0;
}

.auth-divider span {
  color: var(--gray-400);
  font-size: 0.875rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}

.auth-footer {
  text-align: center;
  margin-top: var(--space-6);
  color: var(--gray-500);
}

.auth-footer a {
  font-weight: 600;
}

/* Alert Messages */
.alert {
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-5);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.alert-error {
  background: rgba(239, 68, 68, 0.1);
  color: var(--error);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.alert-success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Loading Spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ========================================
   HOME PAGE STYLES
   ======================================== */

.home-container {
  min-height: 100vh;
}

/* Header */
.header {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(13, 148, 136, 0.2);
  padding: var(--space-4) 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo img {
  height: 50px;
  width: auto;
}

.header-user {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.user-name {
  color: var(--flame-light);
  font-weight: 500;
}

.btn-logout {
  background: rgba(249, 115, 22, 0.2);
  border: 1px solid rgba(249, 115, 22, 0.3);
  color: var(--flame-orange);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--transition-base);
}

.btn-logout:hover {
  background: var(--flame-orange);
  color: var(--white);
}

/* Hero Section */
.hero {
  padding: var(--space-16) 0;
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-title {
  color: var(--white);
  margin-bottom: var(--space-4);
}

.hero-title span {
  background: var(--gradient-flame);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  color: var(--gray-400);
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Sections Grid */
.sections {
  padding: var(--space-12) 0;
}

.section-title {
  color: var(--white);
  margin-bottom: var(--space-8);
  text-align: center;
}

.sections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}

.section-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  display: block;
  position: relative;
  overflow: hidden;
}

.section-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-flame);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.section-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(249, 115, 22, 0.3);
  box-shadow: var(--shadow-glow);
}

.section-card:hover::before {
  transform: scaleX(1);
}

.section-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-5);
  background: var(--gradient-flame);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  box-shadow: var(--shadow-lg), 0 0 30px rgba(249, 115, 22, 0.3);
}

.section-card h3 {
  color: var(--white);
  margin-bottom: var(--space-3);
}

.section-card p {
  color: var(--gray-400);
  font-size: 0.95rem;
}

.section-card.highlight {
  background: linear-gradient(145deg, rgba(249, 115, 22, 0.15), rgba(13, 148, 136, 0.15));
  border-color: rgba(249, 115, 22, 0.3);
}

.section-card.highlight .section-icon {
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

/* ========================================
   DIETA PAGE STYLES
   ======================================== */

.dieta-container {
  min-height: 100vh;
  padding-bottom: var(--space-16);
}

/* Dieta Hero */
.dieta-hero {
  padding: var(--space-12) 0;
  text-align: center;
  position: relative;
}

.dieta-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(249, 115, 22, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(13, 148, 136, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.dieta-hero-content {
  position: relative;
  z-index: 1;
}

.dieta-hero h1 {
  color: var(--white);
  margin-bottom: var(--space-4);
}

.dieta-hero h1 span {
  background: var(--gradient-flame);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dieta-intro {
  max-width: 800px;
  margin: 0 auto;
  color: var(--gray-300);
  font-size: 1.125rem;
  line-height: 1.8;
}

.dieta-intro strong {
  color: var(--flame-orange);
}

/* Expert Badge */
.expert-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-full);
  margin-top: var(--space-6);
  border: 1px solid rgba(249, 115, 22, 0.3);
}

.expert-badge span {
  color: var(--gray-300);
  font-size: 0.9rem;
}

.expert-badge strong {
  color: var(--flame-orange);
}

/* Shot Matinal Section */
.shot-section {
  padding: var(--space-12) 0;
}

.shot-card {
  background: linear-gradient(145deg, rgba(251, 191, 36, 0.15), rgba(249, 115, 22, 0.1));
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  position: relative;
  overflow: hidden;
}

.shot-card::before {
  content: '☀️';
  position: absolute;
  top: -30px;
  right: -30px;
  font-size: 150px;
  opacity: 0.1;
}

.shot-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.shot-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-flame);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.shot-header h2 {
  color: var(--flame-gold);
  margin: 0;
}

.shot-header p {
  color: var(--gray-400);
  font-size: 0.9rem;
  margin-top: var(--space-1);
}

.shot-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}

@media (max-width: 768px) {
  .shot-content {
    grid-template-columns: 1fr;
  }
}

.shot-recipe {
  color: var(--white);
}

.shot-recipe h3 {
  color: var(--flame-light);
  margin-bottom: var(--space-4);
  font-size: 1.1rem;
}

.shot-recipe ul {
  list-style: none;
  margin-bottom: var(--space-6);
}

.shot-recipe li {
  padding: var(--space-3) 0;
  padding-left: var(--space-6);
  position: relative;
  color: var(--gray-300);
}

.shot-recipe li::before {
  content: '🍋';
  position: absolute;
  left: 0;
}

.shot-recipe li:nth-child(2)::before {
  content: '✨';
}

.shot-why {
  background: rgba(0, 0, 0, 0.2);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--flame-orange);
}

.shot-why p {
  color: var(--gray-300);
  font-size: 0.95rem;
}

.shot-why strong {
  color: var(--flame-orange);
}

.shot-image {
  display: flex;
  justify-content: center;
}

.shot-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
}

/* Variations Section */
.variations-section {
  padding: var(--space-12) 0;
}

.variations-title {
  color: var(--white);
  text-align: center;
  margin-bottom: var(--space-10);
}

.variations-title span {
  background: var(--gradient-flame);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Variation Tabs */
.variation-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-10);
  flex-wrap: wrap;
}

.variation-tab {
  padding: var(--space-4) var(--space-6);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: var(--gray-400);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
}

.variation-tab:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.variation-tab.active {
  background: var(--gradient-flame);
  border-color: transparent;
  color: var(--white);
  box-shadow: var(--shadow-glow);
}

/* Variation Content */
.variation-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

.variation-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.variation-header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.variation-header h3 {
  color: var(--flame-gold);
  font-size: 1.75rem;
  margin-bottom: var(--space-2);
}

.variation-header .subtitle {
  color: var(--gray-400);
}

.variation-header .trick {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(249, 115, 22, 0.15);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-full);
  color: var(--flame-orange);
  font-weight: 600;
  margin-top: var(--space-4);
}

/* Meal Cards */
.meals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
}

.meal-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
}

.meal-card:hover {
  transform: translateY(-4px);
  border-color: rgba(249, 115, 22, 0.3);
  box-shadow: var(--shadow-glow);
}

.meal-header {
  padding: var(--space-5);
  background: var(--gradient-flame);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.meal-icon {
  font-size: 1.5rem;
}

.meal-header h4 {
  color: var(--white);
  margin: 0;
  font-size: 1.1rem;
}

.meal-body {
  padding: var(--space-5);
}

.meal-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.meal-item:last-child {
  border-bottom: none;
}

.meal-item-icon {
  width: 32px;
  height: 32px;
  background: rgba(249, 115, 22, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.meal-item-content {
  flex: 1;
}

.meal-item-content h5 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.meal-item-content p {
  color: var(--gray-400);
  font-size: 0.85rem;
  line-height: 1.5;
}

.meal-note {
  margin-top: var(--space-4);
  padding: var(--space-3);
  background: rgba(251, 191, 36, 0.1);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--flame-gold);
}

.meal-note p {
  color: var(--flame-light);
  font-size: 0.85rem;
  font-style: italic;
}

/* Image Gallery */
.meal-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* Rules Section */
.rules-section {
  padding: var(--space-12) 0;
  background: linear-gradient(180deg, transparent, rgba(13, 148, 136, 0.1));
}

.rules-title {
  color: var(--white);
  text-align: center;
  margin-bottom: var(--space-10);
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}

.rule-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  text-align: center;
  transition: all var(--transition-base);
}

.rule-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
}

.rule-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto var(--space-5);
  background: var(--gradient-burgundy);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.rule-card h4 {
  color: var(--flame-gold);
  margin-bottom: var(--space-3);
}

.rule-card p {
  color: var(--gray-400);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Floating elements */
.floating-icons {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.floating-icon {
  position: absolute;
  font-size: 2rem;
  opacity: 0.1;
  animation: float 20s infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 0.1;
  }

  90% {
    opacity: 0.1;
  }

  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

/* Back button */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--gray-400);
  font-weight: 500;
  padding: var(--space-3) var(--space-5);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  margin-bottom: var(--space-6);
}

.back-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

/* Responsive */
@media (max-width: 640px) {
  .auth-box {
    padding: var(--space-6);
  }

  .header-content {
    flex-direction: column;
    gap: var(--space-4);
  }

  .sections-grid {
    grid-template-columns: 1fr;
  }

  .variation-tabs {
    flex-direction: column;
    align-items: stretch;
  }

  .variation-tab {
    text-align: center;
  }
}

/* ========================================
   EXERCÍCIOS PAGE STYLES
   ======================================== */

.exercicios-container {
  min-height: 100vh;
  padding-bottom: var(--space-16);
}

/* Exercicios Hero */
.exercicios-hero {
  padding: var(--space-12) 0;
  text-align: center;
  position: relative;
}

.exercicios-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(249, 115, 22, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(13, 148, 136, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.exercicios-hero-content {
  position: relative;
  z-index: 1;
}

.exercicios-hero h1 {
  color: var(--white);
  margin-bottom: var(--space-4);
}

.exercicios-hero h1 span {
  background: var(--gradient-flame);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.exercicios-intro {
  max-width: 800px;
  margin: 0 auto;
  color: var(--gray-300);
  font-size: 1.125rem;
  line-height: 1.8;
}

.exercicios-intro strong {
  color: var(--flame-orange);
}

/* Protocol Info */
.protocol-info {
  display: flex;
  justify-content: center;
  gap: var(--space-6);
  flex-wrap: wrap;
  margin-top: var(--space-8);
}

.info-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255, 255, 255, 0.05);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gray-300);
}

.info-icon {
  font-size: 1.25rem;
}

/* Understanding Section */
.understanding-section {
  padding: var(--space-10) 0;
}

.understanding-card {
  background: linear-gradient(145deg, rgba(13, 148, 136, 0.15), rgba(17, 94, 89, 0.1));
  border: 1px solid rgba(13, 148, 136, 0.3);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
}

.understanding-card h2 {
  color: var(--white);
  margin-bottom: var(--space-5);
}

.understanding-card p {
  color: var(--gray-300);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}

.understanding-card p strong {
  color: var(--flame-orange);
}

.warning-box {
  display: flex;
  gap: var(--space-4);
  background: rgba(239, 68, 68, 0.1);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(239, 68, 68, 0.3);
  margin-top: var(--space-5);
}

.warning-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.warning-box strong {
  color: var(--error);
}

.warning-box div {
  color: var(--gray-300);
  line-height: 1.6;
}

/* TVA Section */
.tva-section {
  padding: var(--space-10) 0;
}

.tva-card {
  background: linear-gradient(145deg, rgba(251, 191, 36, 0.15), rgba(249, 115, 22, 0.1));
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  position: relative;
  overflow: hidden;
}

.tva-card::before {
  content: '🎯';
  position: absolute;
  top: -30px;
  right: -30px;
  font-size: 150px;
  opacity: 0.1;
}

.tva-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.tva-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-flame);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
}

.tva-header h2 {
  color: var(--flame-gold);
  margin: 0;
  font-size: 1.5rem;
}

.tva-header p {
  color: var(--gray-400);
  font-size: 0.9rem;
  margin-top: var(--space-1);
}

.tva-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}

@media (max-width: 768px) {
  .tva-content {
    grid-template-columns: 1fr;
  }
}

.tva-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.tva-item h4 {
  color: var(--flame-light);
  margin-bottom: var(--space-2);
}

.tva-item p {
  color: var(--gray-300);
  line-height: 1.6;
}

.tva-item p strong {
  color: var(--flame-orange);
}

.golden-rule {
  background: rgba(0, 0, 0, 0.2);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--flame-gold);
}

.rule-badge {
  display: inline-block;
  background: var(--gradient-flame);
  color: var(--white);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.golden-rule p {
  color: var(--gray-200);
  margin: 0;
}

.golden-rule p strong {
  color: var(--flame-gold);
}

.tva-image img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
}

/* Workout Selector Section */
.workout-selector-section {
  padding: var(--space-12) 0;
}

.section-main-title {
  color: var(--white);
  text-align: center;
  margin-bottom: var(--space-10);
  font-size: 2rem;
}

.section-main-title span {
  background: var(--gradient-flame);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Workout Tabs */
.workout-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}

.workout-tab {
  padding: var(--space-5) var(--space-8);
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  color: var(--gray-400);
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all var(--transition-base);
}

.workout-tab:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
}

.workout-tab.active {
  background: var(--gradient-flame);
  border-color: transparent;
  color: var(--white);
  box-shadow: var(--shadow-glow);
  transform: scale(1.02);
}

/* Workout Content */
.workout-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

.workout-content.active {
  display: block;
}

.workout-intro {
  text-align: center;
  margin-bottom: var(--space-8);
}

.workout-description {
  color: var(--gray-300);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.workout-description strong {
  color: var(--flame-orange);
}

/* Week Tabs */
.week-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}

.week-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-4) var(--space-6);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  color: var(--gray-400);
  cursor: pointer;
  transition: all var(--transition-base);
  min-width: 120px;
}

.week-tab:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.week-tab.active {
  background: var(--gradient-burgundy);
  border-color: transparent;
  color: var(--white);
}

.week-number {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.week-tab.active .week-number {
  background: var(--flame-orange);
}

.week-name {
  font-size: 0.85rem;
  font-weight: 600;
}

/* Week Content */
.week-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

.week-content.active {
  display: block;
}

.week-header {
  text-align: center;
  margin-bottom: var(--space-8);
  padding: var(--space-6);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.week-header h3 {
  color: var(--flame-gold);
  font-size: 1.5rem;
  margin-bottom: var(--space-2);
}

.week-days {
  display: inline-block;
  background: var(--gradient-flame);
  color: var(--white);
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.week-focus {
  color: var(--gray-400);
  margin: 0;
}

/* Exercises Grid */
.exercises-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: var(--space-6);
}

@media (max-width: 768px) {
  .exercises-grid {
    grid-template-columns: 1fr;
  }
}

/* Exercise Card */
.exercise-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
}

.exercise-card:hover {
  transform: translateY(-4px);
  border-color: rgba(249, 115, 22, 0.3);
  box-shadow: var(--shadow-glow);
}

.exercise-header {
  padding: var(--space-5);
  background: var(--gradient-burgundy);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.exercise-number {
  width: 36px;
  height: 36px;
  background: var(--flame-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--white);
  font-size: 1rem;
  flex-shrink: 0;
}

.exercise-header h4 {
  color: var(--white);
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
}

.exercise-image-placeholder {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.6));
  overflow: hidden;
}

.exercise-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.exercise-image-placeholder.emoji-placeholder {
  background: linear-gradient(145deg, rgba(249, 115, 22, 0.1), rgba(13, 148, 136, 0.1));
}

.exercise-emoji {
  font-size: 4rem;
  opacity: 0.8;
}

.exercise-body {
  padding: var(--space-5);
}

.exercise-detail {
  margin-bottom: var(--space-4);
}

.detail-label {
  display: block;
  color: var(--flame-gold);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: var(--space-1);
}

.exercise-detail p {
  color: var(--gray-300);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.exercise-sets {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  background: rgba(251, 191, 36, 0.1);
  padding: var(--space-3);
  border-radius: var(--radius-md);
  margin-top: var(--space-4);
}

.sets-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.exercise-sets span:last-child {
  color: var(--flame-light);
  font-size: 0.85rem;
  font-weight: 500;
}

.exercise-warning {
  background: rgba(239, 68, 68, 0.1);
  color: var(--flame-light);
  padding: var(--space-3);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  margin-top: var(--space-3);
  border-left: 3px solid var(--error);
}

.exercise-tip {
  background: rgba(251, 191, 36, 0.1);
  color: var(--gray-300);
  padding: var(--space-3);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  margin-top: var(--space-3);
  border-left: 3px solid var(--flame-gold);
}

.exercise-tip strong {
  color: var(--flame-orange);
}

/* Safety Section */
.safety-section {
  padding: var(--space-12) 0;
  background: linear-gradient(180deg, transparent, rgba(13, 148, 136, 0.15));
}

.safety-title {
  color: var(--white);
  text-align: center;
  margin-bottom: var(--space-10);
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}

.safety-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  text-align: center;
  transition: all var(--transition-base);
}

.safety-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
}

.safety-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto var(--space-5);
  background: var(--gradient-flame);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.safety-card h4 {
  color: var(--flame-gold);
  margin-bottom: var(--space-3);
}

.safety-card p {
  color: var(--gray-400);
  font-size: 0.95rem;
  line-height: 1.6;
}

.safety-card p strong {
  color: var(--flame-orange);
}

.final-message {
  margin-top: var(--space-10);
  text-align: center;
  padding: var(--space-8);
  background: linear-gradient(145deg, rgba(249, 115, 22, 0.15), rgba(13, 148, 136, 0.15));
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(249, 115, 22, 0.3);
}

.final-message p {
  color: var(--gray-300);
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

.final-message strong {
  color: var(--flame-orange);
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .protocol-info {
    flex-direction: column;
    align-items: center;
  }

  .tva-header {
    flex-direction: column;
    text-align: center;
  }

  .workout-tabs {
    flex-direction: column;
    align-items: stretch;
  }

  .workout-tab {
    text-align: center;
  }

  .week-tabs {
    gap: var(--space-2);
  }

  .week-tab {
    flex: 1;
    min-width: 100px;
    padding: var(--space-3) var(--space-4);
  }

  .exercises-grid {
    grid-template-columns: 1fr;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: var(--space-4);
}

.mt-6 {
  margin-top: var(--space-6);
}

.mt-8 {
  margin-top: var(--space-8);
}

.mb-4 {
  margin-bottom: var(--space-4);
}

.mb-6 {
  margin-bottom: var(--space-6);
}

.hidden {
  display: none !important;
}