/* ==========================================================================
   FORMATION IA AOÛT 2026 - DESIGN SYSTEM
   Charte AXIO + Design Moderne
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS VARIABLES - DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Couleurs AXIO */
  --axio-coral: #FF6B6B;
  --axio-coral-light: #FF8E8E;
  --axio-coral-dark: #E55555;
  --axio-dark: #2C3E50;
  --axio-dark-light: #34495E;

  /* Couleurs complémentaires */
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;

  /* Couleurs sémantiques */
  --success: #10B981;
  --warning: #F59E0B;
  --info: #3B82F6;
  --error: #EF4444;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, var(--axio-coral) 0%, var(--axio-coral-dark) 50%, var(--axio-dark) 100%);
  --gradient-card: linear-gradient(135deg, rgba(255, 107, 107, 0.05) 0%, rgba(44, 62, 80, 0.05) 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 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-glow: 0 0 40px rgba(255, 107, 107, 0.3);

  /* 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;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Outfit', var(--font-sans);

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 500ms 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;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--gray-50);
  min-height: 100vh;
}

/* --------------------------------------------------------------------------
   TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--axio-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: var(--space-4);
}

a {
  color: var(--axio-coral);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--axio-coral-dark);
}

/* --------------------------------------------------------------------------
   LAYOUT - MAIN STRUCTURE
   -------------------------------------------------------------------------- */
.app-container {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 320px;
  min-width: 320px;
  background: var(--white);
  border-right: 1px solid var(--gray-200);
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 100;
  transition: transform var(--transition-base);
}

.sidebar-header {
  padding: var(--space-6);
  background: var(--gradient-hero);
  color: var(--white);
  text-align: center;
}

.sidebar-logo {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  border: 3px solid rgba(255, 255, 255, 0.3);
  margin-bottom: var(--space-4);
  transition: transform var(--transition-bounce);
}

.sidebar-logo:hover {
  transform: scale(1.05) rotate(5deg);
}

.sidebar-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.sidebar-subtitle {
  font-size: 0.875rem;
  opacity: 0.9;
}

.main-content {
  flex: 1;
  margin-left: 320px;
  min-height: 100vh;
}

/* --------------------------------------------------------------------------
   NAVIGATION - SIDEBAR
   -------------------------------------------------------------------------- */
.nav-section {
  padding: var(--space-4);
}

.nav-day {
  margin-bottom: var(--space-3);
}

.nav-day-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-4);
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.nav-day-header:hover {
  background: var(--gray-100);
  border-color: var(--axio-coral-light);
}

.nav-day-header.active {
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(255, 107, 107, 0.05) 100%);
  border-color: var(--axio-coral);
}

.nav-day-title {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 600;
  color: var(--axio-dark);
}

.nav-day-number {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--axio-coral);
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
}

.nav-day-header.completed .nav-day-number {
  background: var(--success);
}

.nav-day-chevron {
  transition: transform var(--transition-fast);
}

.nav-day-header.open .nav-day-chevron {
  transform: rotate(180deg);
}

.nav-modules {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.nav-day.open .nav-modules {
  max-height: 500px;
}

.nav-module {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-4);
  padding-left: var(--space-12);
  color: var(--gray-600);
  font-size: 0.875rem;
  transition: all var(--transition-fast);
  border-left: 2px solid transparent;
  margin-left: var(--space-6);
}

.nav-module:hover {
  color: var(--axio-coral);
  background: var(--gray-50);
  border-left-color: var(--axio-coral-light);
}

.nav-module.active {
  color: var(--axio-coral);
  font-weight: 600;
  border-left-color: var(--axio-coral);
  background: rgba(255, 107, 107, 0.05);
}

.nav-module-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--gray-200);
  font-size: 0.625rem;
}

.nav-module.completed .nav-module-icon {
  background: var(--success);
  color: var(--white);
}

/* --------------------------------------------------------------------------
   PROGRESS BAR
   -------------------------------------------------------------------------- */
.progress-container {
  padding: var(--space-4);
  border-top: 1px solid var(--gray-200);
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-bottom: var(--space-2);
}

.progress-bar {
  height: 8px;
  background: var(--gray-200);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-hero);
  border-radius: var(--radius-full);
  transition: width var(--transition-slow);
  position: relative;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* --------------------------------------------------------------------------
   CONTENT AREA
   -------------------------------------------------------------------------- */
.content-header {
  background: var(--gradient-hero);
  padding: var(--space-12) var(--space-8);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.content-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: float 15s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.content-header h1 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: var(--space-4);
  position: relative;
}

.content-header p {
  font-size: 1.125rem;
  opacity: 0.9;
  max-width: 600px;
  position: relative;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  opacity: 0.8;
  margin-bottom: var(--space-4);
}

.breadcrumb a {
  color: var(--white);
  opacity: 0.8;
}

.breadcrumb a:hover {
  opacity: 1;
}

.content-body {
  padding: var(--space-8);
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.content-header > * {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

/* Grands écrans : le contenu respire au lieu de rester collé à gauche */
@media (min-width: 1600px) {
  .content-body,
  .content-header > * {
    max-width: 1120px;
  }

  html {
    font-size: 17px;
  }
}

@media (min-width: 2100px) {
  .content-body,
  .content-header > * {
    max-width: 1280px;
  }

  html {
    font-size: 18px;
  }
}

/* --------------------------------------------------------------------------
   CARDS & MODULES
   -------------------------------------------------------------------------- */
.card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  transition: all var(--transition-base);
  animation: fadeInUp 0.5s ease-out;
}

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

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

.card-header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--gray-100);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
  color: var(--white);
  border-radius: var(--radius-lg);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.card-title {
  font-size: 1.25rem;
  color: var(--axio-dark);
  margin-bottom: var(--space-1);
}

.card-subtitle {
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* Module spécifique */
.module-card {
  border-left: 4px solid var(--axio-coral);
}

.module-duration {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  background: var(--gray-100);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  color: var(--gray-600);
}

/* --------------------------------------------------------------------------
   INTERACTIVE ELEMENTS - ACCORDIONS
   -------------------------------------------------------------------------- */

/* Container accordéon */
.accordion {
  margin-bottom: var(--space-3);
}

/* Items individuels d'accordéon */
.accordion-item {
  margin-bottom: var(--space-3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-fast);
}

.accordion-item:hover {
  box-shadow: var(--shadow-md);
}

/* Header accordéon */
.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: var(--white);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  font-weight: 500;
  color: var(--gray-700);
}

.accordion-header:hover {
  background: var(--gray-50);
  border-color: var(--gray-300);
}

.accordion-header.open,
.accordion-item.open .accordion-header {
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.08) 0%, rgba(44, 62, 80, 0.05) 100%);
  border-color: var(--axio-coral);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  color: var(--axio-dark);
}

/* Header avec icône à gauche */
.accordion-header span:first-child {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex: 1;
}

/* Icône chevron */
.accordion-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  color: var(--gray-500);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.accordion-header:hover .accordion-icon {
  background: var(--gray-200);
}

.accordion-header.open .accordion-icon,
.accordion-item.open .accordion-header .accordion-icon {
  background: var(--axio-coral);
  color: var(--white);
  transform: rotate(180deg);
}

/* Contenu accordéon */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base), padding var(--transition-base);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.accordion.open .accordion-content,
.accordion-item.open .accordion-content {
  max-height: 2000px;
  padding: var(--space-5);
}

.accordion-body {
  padding: var(--space-5);
}

/* Styles de contenu dans accordéon */
.accordion-content p {
  margin-bottom: var(--space-3);
  line-height: 1.7;
}

.accordion-content p:last-child {
  margin-bottom: 0;
}

.accordion-content strong {
  color: var(--axio-dark);
}

/* Astuce dans accordéon */
.accordion-content .tip {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  padding: var(--space-3);
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.08) 0%, rgba(255, 107, 107, 0.04) 100%);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--axio-coral);
  margin-top: var(--space-3);
  font-size: 0.9rem;
  color: var(--gray-700);
}

/* Provider cards dans accordéon */
.accordion-content .provider-feature {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--gray-50);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
}

.accordion-content .provider-feature:last-child {
  margin-bottom: 0;
}

.accordion-content .provider-feature h5 {
  color: var(--axio-coral);
  font-size: 1rem;
  font-weight: 600;
}

.accordion-content .provider-feature p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* Liste de cas d'usage */
.accordion-content .use-case-tag {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: var(--gray-100);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  color: var(--gray-600);
  margin-right: var(--space-2);
  margin-bottom: var(--space-2);
}

/* --------------------------------------------------------------------------
   BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-primary {
  background: var(--axio-coral);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(255, 107, 107, 0.4);
}

.btn-primary:hover {
  background: var(--axio-coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
}

.btn-secondary {
  background: var(--white);
  color: var(--axio-coral);
  border: 2px solid var(--axio-coral);
}

.btn-secondary:hover {
  background: var(--axio-coral);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-600);
}

.btn-ghost:hover {
  background: var(--gray-100);
  color: var(--axio-dark);
}

/* --------------------------------------------------------------------------
   SPECIAL BOXES
   -------------------------------------------------------------------------- */
.box {
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
  position: relative;
  overflow: hidden;
}

.box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
}

.box-objective {
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.08) 0%, rgba(255, 107, 107, 0.02) 100%);
  border: 1px solid rgba(255, 107, 107, 0.2);
}

.box-objective::before {
  background: var(--axio-coral);
}

.box-info {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(59, 130, 246, 0.02) 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.box-info::before {
  background: var(--info);
}

.box-success {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0.02) 100%);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.box-success::before {
  background: var(--success);
}

.box-warning {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(245, 158, 11, 0.02) 100%);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.box-warning::before {
  background: var(--warning);
}

.box-title {
  font-weight: 600;
  margin-bottom: var(--space-2);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* Analogie box */
.analogy-box {
  background: var(--gradient-card);
  border: 1px dashed var(--axio-coral-light);
  padding: var(--space-5);
  border-radius: var(--radius-xl);
  position: relative;
}

.analogy-box::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--axio-coral);
  opacity: 0.3;
  font-family: Georgia, serif;
}

.analogy-box p {
  font-style: italic;
  color: var(--gray-700);
  padding-left: var(--space-8);
}

/* Exercise box */
.exercise-box {
  background: var(--white);
  border: 2px solid var(--axio-coral);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  position: relative;
}

.exercise-badge {
  position: absolute;
  top: -12px;
  left: var(--space-4);
  background: var(--axio-coral);
  color: var(--white);
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   TABLES
   -------------------------------------------------------------------------- */
.table-container {
  overflow-x: auto;
  margin-bottom: var(--space-6);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

thead {
  background: var(--gradient-hero);
  color: var(--white);
}

th {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  font-weight: 600;
}

td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--gray-100);
}

tbody tr:hover {
  background: var(--gray-50);
}

tbody tr:last-child td {
  border-bottom: none;
}

/* --------------------------------------------------------------------------
   ANIMATIONS
   -------------------------------------------------------------------------- */
.animate-fade-in {
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-slide-up {
  animation: slideUp 0.5s ease-out;
}

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

.animate-scale-in {
  animation: scaleIn 0.3s ease-out;
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Stagger animation for lists */
.stagger-item {
  opacity: 0;
  animation: fadeInUp 0.5s ease-out forwards;
}

.stagger-item:nth-child(1) { animation-delay: 0.1s; }
.stagger-item:nth-child(2) { animation-delay: 0.2s; }
.stagger-item:nth-child(3) { animation-delay: 0.3s; }
.stagger-item:nth-child(4) { animation-delay: 0.4s; }
.stagger-item:nth-child(5) { animation-delay: 0.5s; }

/* Pulse animation for active elements */
.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(255, 107, 107, 0);
  }
}

/* --------------------------------------------------------------------------
   MOBILE RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .main-content {
    margin-left: 0;
  }

  .mobile-menu-toggle {
    display: flex;
    position: fixed;
    top: var(--space-4);
    left: var(--space-4);
    z-index: 200;
    width: 48px;
    height: 48px;
    background: var(--axio-coral);
    color: var(--white);
    border-radius: var(--radius-lg);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
  }

  .content-header {
    padding: var(--space-8) var(--space-4);
    padding-top: calc(var(--space-8) + 60px);
  }

  .content-body {
    padding: var(--space-4);
  }
}

@media (min-width: 1025px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   UTILITIES
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--gray-500); }
.text-small { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }

.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); }

.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }

.hidden { display: none; }

/* --------------------------------------------------------------------------
   VERROUILLAGE DES JOURNÉES (contenu masqué jusqu'au jour J)
   -------------------------------------------------------------------------- */
.locked-day {
  display: none;
}

body.day-unlocked .locked-day {
  display: block;
}

body.day-unlocked .lock-notice {
  display: none;
}

.lock-notice {
  margin-top: 2.5rem;
  padding: var(--space-10) var(--space-8);
  text-align: center;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.04) 0%, rgba(255, 107, 107, 0.06) 100%);
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-xl);
}

.lock-notice .lock-emoji {
  font-size: 2.5rem;
  display: block;
  margin-bottom: var(--space-4);
}

.lock-notice h3 {
  color: var(--axio-dark);
  margin-bottom: var(--space-2);
}

.lock-notice p {
  color: var(--gray-500);
  max-width: 480px;
  margin: 0 auto var(--space-4);
  font-size: 0.9rem;
}

.lock-notice .btn-unlock {
  background: transparent;
  border: 1px solid var(--gray-300);
  color: var(--gray-400);
  font-size: 0.75rem;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lock-notice .btn-unlock:hover {
  border-color: var(--axio-coral);
  color: var(--axio-coral);
}

/* Print styles */
@media print {
  .sidebar,
  .mobile-menu-toggle {
    display: none;
  }

  .main-content {
    margin-left: 0;
  }

  .content-header {
    background: var(--gray-100);
    color: var(--gray-900);
    -webkit-print-color-adjust: exact;
  }
}
