/* ================================================================
   CSS TEDCRAFT - TON ATELIER - VERSION OPTIMISÉE
   ================================================================ */

/* IMPORTS */
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;1,400&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ================================================================
   VARIABLES CSS CUSTOM PROPERTIES
   ================================================================ */
.tedcraft-atelier {
  /* Palette couleurs */
  --tc-sage-50: #f9f8f6;
  --tc-sage-100: #f4f2ee;
  --tc-sage-200: #ede8e0;
  --tc-sage-300: #d8cfc2;
  --tc-sage-400: #92a67f;
  --tc-sage-500: #6b7c5a;
  --tc-sage-600: #5a6b49;
  --tc-sage-700: #4d5a3f;
  --tc-sage-800: #404a35;
  
  --tc-stone-50: #fdfcfa;
  --tc-stone-100: #f7f5f2;
  --tc-stone-200: #efebe6;
  --tc-stone-300: #e2ddd6;
  --tc-stone-400: #c4bab0;
  --tc-stone-500: #8f8075;
  --tc-stone-600: #6b5d52;
  --tc-stone-700: #544840;
  --tc-stone-800: #3d322a;
  
  --tc-copper-500: #c08552;
  
  /* Typographie */
  --tc-font-serif: 'Crimson Text', Georgia, serif;
  --tc-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Espacements */
  --tc-space-1: 0.25rem;
  --tc-space-2: 0.5rem;
  --tc-space-3: 0.75rem;
  --tc-space-4: 1rem;
  --tc-space-5: 1.25rem;
  --tc-space-6: 1.5rem;
  --tc-space-8: 2rem;
  --tc-space-10: 2.5rem;
  --tc-space-12: 3rem;
  --tc-space-16: 4rem;
  
  /* Ombres */
  --tc-shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --tc-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --tc-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tc-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  /* Rayons */
  --tc-radius-sm: 8px;
  --tc-radius-md: 12px;
  --tc-radius-lg: 16px;
  --tc-radius-xl: 20px;
  --tc-radius-2xl: 24px;
  
  /* Transitions */
  --tc-transition-fast: 0.2s ease;
  --tc-transition-normal: 0.3s ease;
  --tc-transition-slow: 0.5s ease;

  /* Configuration de base */
  font-family: var(--tc-font-sans);
  color: var(--tc-stone-700);
  background-color: var(--tc-stone-50);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Reset et base */
.tedcraft-atelier *, 
.tedcraft-atelier *::before, 
.tedcraft-atelier *::after { 
  box-sizing: border-box; 
}

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes tc-fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes tc-scaleUp {
  from { transform: scale(0.9); }
  to { transform: scale(1); }
}

@keyframes tc-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes tc-slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes tc-slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Animations process flow */
@keyframes tc-iconFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

@keyframes tc-orbitSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes tc-particleFloat {
  0%, 100% { transform: translateY(0px) scale(1); opacity: 0.7; }
  50% { transform: translateY(-12px) scale(1.2); opacity: 1; }
}

@keyframes tc-sparkleFloat {
  0%, 100% { opacity: 0; transform: scale(0); }
  50% { opacity: 1; transform: scale(1); }
}

@keyframes tc-energyPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

@keyframes tc-patternMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

/* ================================================================
   LAYOUT GÉNÉRAL
   ================================================================ */
.tc-atelier-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--tc-space-8) var(--tc-space-6);
}

/* ================================================================
   HEADER
   ================================================================ */
.tc-atelier-header {
  text-align: center;
  margin-bottom: var(--tc-space-12);
}

.tc-atelier-title {
  font-family: var(--tc-font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--tc-stone-800);
  margin-bottom: var(--tc-space-4);
}

.tc-atelier-subtitle {
  font-size: 1.125rem;
  color: var(--tc-stone-600);
  margin-bottom: var(--tc-space-8);
}

/* ================================================================
   NAVIGATION
   ================================================================ */
.tc-nav-tabs {
  display: flex;
  justify-content: center;
  gap: var(--tc-space-2);
  margin-bottom: var(--tc-space-12);
  flex-wrap: wrap;
}

.tc-nav-tab {
  padding: var(--tc-space-3) var(--tc-space-6);
  background: white;
  border: 2px solid var(--tc-sage-200);
  border-radius: var(--tc-radius-md);
  color: var(--tc-stone-600);
  text-decoration: none;
  font-weight: 500;
  transition: all var(--tc-transition-normal);
  cursor: pointer;
  white-space: nowrap;
  font-size: 0.9375rem;
}

.tc-nav-tab:hover {
  border-color: var(--tc-sage-500);
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--tc-stone-700);
}

.tc-nav-tab.active {
  background: var(--tc-sage-500);
  border-color: var(--tc-sage-500);
  color: white;
}

.tc-nav-tab.active:hover {
  color: white;
}

/* ================================================================
   SECTIONS DE CONTENU
   ================================================================ */
.tc-content-section {
  display: none;
  animation: tc-fadeIn var(--tc-transition-slow);
}

.tc-content-section.active {
  display: block;
}

.tc-presentation-section {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

/* Séparateurs de sections */
.tc-section-separator {
  position: relative;
  margin: var(--tc-space-12) auto;
  text-align: center;
  max-width: 800px;
}

.tc-section-separator::before {
  content: '';
  position: absolute;
  top: -9px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--tc-sage-200) 20%,
    var(--tc-sage-300) 50%,
    var(--tc-sage-200) 80%,
    transparent 100%
  );
  opacity: 0;
  animation: tc-fadeIn 0.8s ease-out 0.3s both;
}

.tc-section-separator::after {
  content: '';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, var(--tc-sage-500), var(--tc-sage-600));
  border-radius: 50%;
  border: 3px solid var(--tc-stone-50);
  box-shadow: 0 0 0 1px var(--tc-sage-200);
  opacity: 0;
  animation: tc-fadeIn 0.8s ease-out 0.5s both;
}

/* ================================================================
   SECTION 1 : HERO PROBLEM
   ================================================================ */
.tc-hero-elegant {
  max-width: 900px;
  margin: 0 auto var(--tc-space-12);
  text-align: center;
}

.tc-hero-quote-main {
  margin-bottom: var(--tc-space-8);
  padding: var(--tc-space-6);
  background: linear-gradient(135deg, var(--tc-sage-50), white);
  border-radius: var(--tc-radius-xl);
  border: 1px solid var(--tc-sage-200);
  position: relative;
  overflow: hidden;
}

.tc-hero-quote-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--tc-sage-500), var(--tc-copper-500), var(--tc-sage-600));
}

.tc-hero-title {
  font-family: var(--tc-font-serif);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 600;
  color: var(--tc-stone-800);
  margin: 0;
  line-height: 1.3;
}

/* Grille des symptômes */
.tc-symptoms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--tc-space-6);
  margin-bottom: var(--tc-space-8);
}

.tc-symptom-card {
  background: white;
  padding: var(--tc-space-6);
  border-radius: var(--tc-radius-lg);
  border: 1px solid var(--tc-sage-200);
  box-shadow: var(--tc-shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--tc-space-4);
  transition: all var(--tc-transition-normal);
  opacity: 0;
  animation: tc-fadeIn 0.8s ease-out forwards;
  text-align: left;
}

.tc-symptom-card:nth-child(1) { animation-delay: 0.1s; }
.tc-symptom-card:nth-child(2) { animation-delay: 0.3s; }
.tc-symptom-card:nth-child(3) { animation-delay: 0.5s; }

.tc-symptom-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--tc-shadow-md);
  border-color: var(--tc-sage-300);
}

.tc-symptom-header {
  display: flex;
  align-items: center;
  gap: var(--tc-space-4);
}

.tc-symptom-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--tc-sage-100), var(--tc-sage-200));
  border-radius: var(--tc-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--tc-transition-normal);
}

.tc-symptom-card:hover .tc-symptom-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, var(--tc-sage-200), var(--tc-sage-300));
}

.tc-symptom-icon .material-symbols-outlined {
  font-size: 24px;
  color: var(--tc-sage-700);
}

.tc-symptom-title h4 {
  margin: 0;
  font-family: var(--tc-font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--tc-stone-800);
  line-height: 1.3;
}

.tc-symptom-text {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 60px;
}

.tc-symptom-text p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--tc-stone-600);
}

/* Reality check */
.tc-reality-check {
  display: flex;
  justify-content: center;
  gap: var(--tc-space-8);
  margin-bottom: var(--tc-space-8);
  flex-wrap: wrap;
}

.tc-reality-item {
  display: flex;
  align-items: center;
  gap: var(--tc-space-3);
  padding: var(--tc-space-4) var(--tc-space-6);
  background: linear-gradient(135deg, var(--tc-stone-100), var(--tc-stone-50));
  border-radius: 25px;
  border: 1px solid var(--tc-stone-200);
  transition: all var(--tc-transition-normal);
  opacity: 0;
  animation: tc-fadeIn 0.6s ease-out forwards;
}

.tc-reality-item:nth-child(1) { animation-delay: 0.7s; }
.tc-reality-item:nth-child(2) { animation-delay: 0.9s; }
.tc-reality-item:nth-child(3) { animation-delay: 1.1s; }

.tc-reality-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--tc-shadow-sm);
}

.tc-reality-item .material-symbols-outlined {
  font-size: 20px;
  color: var(--tc-sage-600);
}

.tc-reality-item p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--tc-stone-700);
  font-weight: 500;
  white-space: nowrap;
}

/* Question centrale */
.tc-central-question {
  margin-bottom: var(--tc-space-12);
}

.tc-question-bubble {
  display: inline-flex;
  align-items: center;
  gap: var(--tc-space-3);
  padding: var(--tc-space-5) var(--tc-space-8);
  background: linear-gradient(135deg, var(--tc-copper-500), #d4954a);
  color: white;
  border-radius: 30px;
  box-shadow: var(--tc-shadow-lg);
  transform: scale(0.9);
  opacity: 0;
  animation: tc-fadeIn 0.8s ease-out 1.3s forwards, 
             tc-scaleUp 0.6s ease-out 1.3s forwards;
  position: relative;
}

.tc-question-bubble::before {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #d4954a;
}

.tc-question-bubble .material-symbols-outlined {
  font-size: 24px;
  color: white;
}

.tc-question-bubble p {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
}

/* ================================================================
   SECTION 2 : POSITIONNEMENT
   ================================================================ */
.tc-solution-elegant {
  max-width: 1000px;
  margin: 0 auto;
}

.tc-solution-header {
  text-align: center;
  margin-bottom: var(--tc-space-8);
  padding: var(--tc-space-6);
  background: linear-gradient(135deg, var(--tc-sage-50), white);
  border-radius: var(--tc-radius-xl);
  border: 1px solid var(--tc-sage-200);
  position: relative;
  overflow: hidden;
}

.tc-solution-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--tc-sage-500), var(--tc-copper-500), var(--tc-sage-600));
}

.tc-solution-title {
  font-family: var(--tc-font-serif);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 600;
  color: var(--tc-stone-800);
  margin: 0;
  line-height: 1.3;
}

/* Philosophy cards */
.tc-solution-philosophy {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--tc-space-6);
  margin-bottom: var(--tc-space-8);
}

.tc-philosophy-card {
  padding: var(--tc-space-6);
  border-radius: var(--tc-radius-lg);
  border: 2px solid;
  transition: all var(--tc-transition-normal);
  opacity: 0;
  animation: tc-fadeIn 0.8s ease-out forwards;
  display: flex;
  flex-direction: column;
  gap: var(--tc-space-4);
}

.tc-philosophy-card.negative {
  background: linear-gradient(135deg, #fef2f2, white);
  border-color: #fca5a5;
  animation-delay: 0.2s;
}

.tc-philosophy-card.positive {
  background: linear-gradient(135deg, var(--tc-sage-50), white);
  border-color: var(--tc-sage-300);
  animation-delay: 0.4s;
}

.tc-philosophy-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--tc-shadow-md);
}

.tc-philosophy-header {
  display: flex;
  align-items: center;
  gap: var(--tc-space-4);
}

.tc-philosophy-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--tc-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tc-philosophy-card.negative .tc-philosophy-icon {
  background: #fee2e2;
}

.tc-philosophy-card.positive .tc-philosophy-icon {
  background: var(--tc-sage-200);
}

.tc-philosophy-icon .material-symbols-outlined {
  font-size: 24px;
}

.tc-philosophy-card.negative .material-symbols-outlined {
  color: #dc2626;
}

.tc-philosophy-card.positive .material-symbols-outlined {
  color: var(--tc-sage-700);
}

.tc-philosophy-title h4 {
  font-family: var(--tc-font-serif);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--tc-stone-800);
  margin: 0;
  line-height: 1.3;
}

.tc-philosophy-content {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 60px;
}

.tc-philosophy-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.tc-philosophy-content li {
  padding: var(--tc-space-2) 0;
  color: var(--tc-stone-600);
  position: relative;
  padding-left: var(--tc-space-6);
  line-height: 1.6;
}

.tc-philosophy-card.negative li::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: #dc2626;
  font-weight: bold;
  font-size: 1.1em;
}

.tc-philosophy-card.positive li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--tc-sage-600);
  font-weight: bold;
  font-size: 1.1em;
}

/* ================================================================
   SECTION 3 : PROCESSUS/TRANSFORMATION
   ================================================================ */
.tc-process-flow-spectacular {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--tc-space-8);
  align-items: center;
  margin-top: var(--tc-space-12);
  position: relative;
}

/* Cards process */
.tc-process-card {
  position: relative;
  background: white;
  padding: var(--tc-space-8);
  border-radius: var(--tc-radius-2xl);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0;
  animation: tc-fadeIn 1s ease-out forwards;
  overflow: hidden;
  border: 2px solid transparent;
}

.tc-process-card.input-card {
  background: linear-gradient(135deg, #fef7f0 0%, white 100%);
  border-color: rgba(239, 68, 68, 0.2);
  animation-delay: 0.6s;
}

.tc-process-card.output-card {
  background: linear-gradient(135deg, var(--tc-sage-50) 0%, white 100%);
  border-color: rgba(107, 124, 90, 0.3);
  animation-delay: 1.2s;
}

.tc-process-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* Pattern de fond */
.tc-process-background-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.03;
  background-image: 
    radial-gradient(circle at 20% 80%, #ef4444 2px, transparent 2px),
    radial-gradient(circle at 80% 20%, #ef4444 2px, transparent 2px),
    radial-gradient(circle at 40% 40%, #ef4444 1px, transparent 1px);
  background-size: 50px 50px, 60px 60px, 30px 30px;
  animation: tc-patternMove 20s linear infinite;
}

.tc-process-background-pattern.success {
  background-image: 
    radial-gradient(circle at 20% 80%, var(--tc-sage-500) 2px, transparent 2px),
    radial-gradient(circle at 80% 20%, var(--tc-sage-500) 2px, transparent 2px),
    radial-gradient(circle at 40% 40%, var(--tc-sage-500) 1px, transparent 1px);
}

/* Headers process */
.tc-process-header-spectacular {
  display: flex;
  align-items: center;
  gap: var(--tc-space-6);
  margin-bottom: var(--tc-space-8);
  position: relative;
  z-index: 2;
}

.tc-process-icon-spectacular {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tc-icon-orbit {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #fee2e2, #fca5a5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: tc-iconFloat 3s ease-in-out infinite;
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.3);
}

.tc-icon-orbit.success {
  background: linear-gradient(135deg, var(--tc-sage-200), var(--tc-sage-400));
  box-shadow: 0 8px 24px rgba(107, 124, 90, 0.3);
}

.tc-icon-orbit::before {
  content: '';
  position: absolute;
  width: 80px;
  height: 80px;
  border: 2px solid;
  border-color: #ef4444 transparent #ef4444 transparent;
  border-radius: 50%;
  animation: tc-orbitSpin 4s linear infinite;
}

.tc-icon-orbit.success::before {
  border-color: var(--tc-sage-500) transparent var(--tc-sage-500) transparent;
}

.tc-icon-orbit .material-symbols-outlined {
  font-size: 32px;
  color: white;
  z-index: 1;
}

/* Particules */
.tc-icon-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.tc-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #ef4444;
  border-radius: 50%;
  animation: tc-particleFloat 2s ease-in-out infinite;
}

.tc-particle:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.tc-particle:nth-child(2) { top: 20%; right: 10%; animation-delay: 0.5s; }
.tc-particle:nth-child(3) { bottom: 10%; left: 20%; animation-delay: 1s; }
.tc-particle:nth-child(4) { bottom: 20%; right: 20%; animation-delay: 1.5s; }

/* Glow effect */
.tc-icon-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(107, 124, 90, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: tc-fadeIn 2s ease-in-out infinite;
}

/* Titres process */
.tc-process-title-spectacular h4 {
  font-family: var(--tc-font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--tc-stone-800);
  margin: 0 0 var(--tc-space-2) 0;
  line-height: 1.2;
}

.tc-subtitle-accent {
  font-size: 0.9375rem;
  color: #ef4444;
  font-weight: 600;
  font-style: italic;
  opacity: 0.8;
}

.tc-subtitle-accent.success {
  color: var(--tc-sage-600);
}

/* Contenu process */
.tc-process-content-spectacular {
  position: relative;
  z-index: 2;
}

.tc-blocages-visual,
.tc-solutions-visual {
  display: flex;
  flex-direction: column;
  gap: var(--tc-space-4);
}

.tc-blocage-item {
  display: flex;
  align-items: center;
  gap: var(--tc-space-4);
  padding: var(--tc-space-3) var(--tc-space-4);
  background: rgba(239, 68, 68, 0.05);
  border-radius: var(--tc-radius-md);
  border-left: 4px solid #ef4444;
  transition: all var(--tc-transition-normal);
  opacity: 0;
  animation: tc-slideInLeft 0.8s ease-out forwards;
}

.tc-blocage-item:nth-child(1) { animation-delay: 1s; }
.tc-blocage-item:nth-child(2) { animation-delay: 1.2s; }
.tc-blocage-item:nth-child(3) { animation-delay: 1.4s; }
.tc-blocage-item:nth-child(4) { animation-delay: 1.6s; }

.tc-blocage-item:hover {
  transform: translateX(8px);
  background: rgba(239, 68, 68, 0.1);
}

.tc-blocage-weight {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  border-radius: var(--tc-radius-sm);
  position: relative;
  animation: tc-fadeIn 2s ease-in-out infinite;
}

.tc-blocage-weight::before {
  content: '⚡';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 16px;
}

.tc-solution-item {
  display: flex;
  align-items: center;
  gap: var(--tc-space-4);
  padding: var(--tc-space-3) var(--tc-space-4);
  background: rgba(107, 124, 90, 0.05);
  border-radius: var(--tc-radius-md);
  border-left: 4px solid var(--tc-sage-500);
  transition: all var(--tc-transition-normal);
  opacity: 0;
  animation: tc-slideInRight 0.8s ease-out forwards;
}

.tc-solution-item:nth-child(1) { animation-delay: 1.8s; }
.tc-solution-item:nth-child(2) { animation-delay: 2s; }
.tc-solution-item:nth-child(3) { animation-delay: 2.2s; }

.tc-solution-item:hover {
  transform: translateX(-8px);
  background: rgba(107, 124, 90, 0.1);
}

.tc-solution-item.highlight {
  background: linear-gradient(135deg, rgba(192, 133, 82, 0.1), rgba(107, 124, 90, 0.1));
  border-left-color: var(--tc-copper-500);
  border-width: 6px;
}

.tc-solution-checkmark {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--tc-sage-500), var(--tc-sage-600));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: tc-fadeIn 3s ease-in-out infinite;
}

.tc-solution-checkmark.gold {
  background: linear-gradient(135deg, var(--tc-copper-500), #d4954a);
}

.tc-solution-checkmark .material-symbols-outlined {
  font-size: 18px;
  color: white;
}

/* Pont de transformation */
.tc-transformation-bridge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--tc-space-3);
  position: relative;
  z-index: 3;
  animation: tc-fadeIn 1s ease-out 0.9s both;
}

.tc-magic-wand {
  position: relative;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--tc-copper-500), #d4954a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: tc-iconFloat 2s ease-in-out infinite;
  box-shadow: 0 8px 24px rgba(192, 133, 82, 0.4);
}

.tc-magic-wand .material-symbols-outlined {
  font-size: 32px;
  color: white;
  animation: tc-spin 3s linear infinite;
}

.tc-magic-sparkles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.tc-sparkle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--tc-copper-500);
  border-radius: 50%;
  animation: tc-sparkleFloat 1.5s ease-in-out infinite;
}

.tc-sparkle:nth-child(1) { top: -10px; left: 50%; animation-delay: 0s; }
.tc-sparkle:nth-child(2) { top: 10px; right: -10px; animation-delay: 0.25s; }
.tc-sparkle:nth-child(3) { bottom: -10px; left: 50%; animation-delay: 0.5s; }
.tc-sparkle:nth-child(4) { top: 10px; left: -10px; animation-delay: 0.75s; }
.tc-sparkle:nth-child(5) { top: -5px; right: 10px; animation-delay: 1s; }
.tc-sparkle:nth-child(6) { bottom: 10px; right: -5px; animation-delay: 1.25s; }

.tc-transformation-text {
  font-family: var(--tc-font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--tc-copper-500);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: var(--tc-space-2);
}

.tc-energy-flow {
  position: absolute;
  top: 50%;
  left: -40px;
  right: -40px;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--tc-copper-500) 20%, 
    var(--tc-copper-500) 80%, 
    transparent 100%
  );
  animation: tc-energyPulse 2s ease-in-out infinite;
  z-index: -1;
}

/* ================================================================
   SECTION 4 : PREUVES/CRÉDIBILITÉ
   ================================================================ */
.tc-why-it-works {
  margin: var(--tc-space-12) 0;
  text-align: center;
}

.tc-presentation-title {
  font-family: var(--tc-font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--tc-stone-800);
  margin-bottom: var(--tc-space-6);
  line-height: 1.3;
}

.tc-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--tc-space-6);
  margin-top: var(--tc-space-8);
  text-align: left;
}

.tc-benefit-item {
  display: flex;
  gap: var(--tc-space-4);
  align-items: flex-start;
  padding: var(--tc-space-4);
  background: white;
  border-radius: var(--tc-radius-lg);
  border: 1px solid var(--tc-sage-200);
  transition: all var(--tc-transition-normal);
  opacity: 0;
  animation: tc-fadeIn 0.6s ease-out forwards;
}

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

.tc-benefit-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--tc-shadow-md);
}

.tc-benefit-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--tc-sage-200), var(--tc-sage-300));
  border-radius: var(--tc-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tc-benefit-icon .material-symbols-outlined {
  font-size: 24px;
  color: var(--tc-sage-700);
}

.tc-benefit-content h4 {
  font-family: var(--tc-font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--tc-stone-800);
  margin: 0 0 var(--tc-space-2) 0;
}

.tc-benefit-content p {
  color: var(--tc-stone-600);
  line-height: 1.6;
  margin: 0;
  font-size: 0.9375rem;
}

/* ================================================================
   SECTION 5 : ACTION/CTA - LAYOUT HORIZONTAL COMPACT
   ================================================================ */
.tc-entry-paths {
  margin-top: var(--tc-space-16);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.tc-entry-horizontal {
  background: white;
  border-radius: var(--tc-radius-xl);
  border: 1px solid var(--tc-sage-200);
  box-shadow: var(--tc-shadow-lg);
  overflow: hidden;
  position: relative;
  transition: all var(--tc-transition-normal);
}

.tc-entry-horizontal:hover {
  transform: translateY(-2px);
  box-shadow: var(--tc-shadow-xl);
}

.tc-entry-horizontal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--tc-sage-500), var(--tc-copper-500));
}

.tc-entry-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--tc-space-6);
  padding: var(--tc-space-8);
}

.tc-entry-option {
  text-align: center;
  position: relative;
}

.tc-entry-option.primary {
  padding: var(--tc-space-4);
  background: linear-gradient(135deg, var(--tc-sage-50), var(--tc-sage-100));
  border-radius: var(--tc-radius-lg);
  border: 2px solid var(--tc-sage-200);
  transition: all var(--tc-transition-normal);
}

.tc-entry-option.primary:hover {
  border-color: var(--tc-sage-400);
  background: linear-gradient(135deg, var(--tc-sage-100), var(--tc-sage-200));
  transform: scale(1.02);
}

.tc-entry-option.secondary {
  padding: var(--tc-space-4);
  opacity: 0.8;
  transition: all var(--tc-transition-normal);
}

.tc-entry-option.secondary:hover {
  opacity: 1;
  transform: scale(1.02);
}

.tc-option-title {
  font-family: var(--tc-font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--tc-stone-800);
  margin-bottom: var(--tc-space-3);
  line-height: 1.3;
}

.tc-option-subtitle {
  font-size: 0.875rem;
  color: var(--tc-sage-700);
  margin-bottom: var(--tc-space-4);
  font-weight: 500;
}

.tc-option-description {
  font-size: 0.8125rem;
  color: var(--tc-stone-600);
  line-height: 1.5;
  margin-bottom: var(--tc-space-4);
}

.tc-cta-compact {
  display: inline-flex;
  align-items: center;
  gap: var(--tc-space-2);
  padding: var(--tc-space-3) var(--tc-space-5);
  border-radius: var(--tc-radius-md);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all var(--tc-transition-normal);
  white-space: nowrap;
}

.tc-cta-compact.primary {
  background: linear-gradient(135deg, var(--tc-sage-500), var(--tc-sage-600));
  color: white;
  box-shadow: 0 2px 8px rgba(107, 124, 90, 0.3);
}

.tc-cta-compact.primary:hover {
  background: linear-gradient(135deg, var(--tc-sage-600), var(--tc-sage-700));
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(107, 124, 90, 0.4);
  color: white;
  text-decoration: none;
}

.tc-cta-compact.secondary {
  background: white;
  color: var(--tc-sage-600);
  border: 2px solid var(--tc-sage-300);
}

.tc-cta-compact.secondary:hover {
  background: var(--tc-sage-50);
  border-color: var(--tc-sage-500);
  transform: translateY(-1px);
  color: var(--tc-sage-700);
  text-decoration: none;
}

.tc-entry-separator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--tc-space-2);
  position: relative;
}

.tc-separator-line {
  width: 2px;
  height: 80px;
  background: linear-gradient(180deg, 
    transparent 0%, 
    var(--tc-sage-300) 20%, 
    var(--tc-sage-400) 50%, 
    var(--tc-sage-300) 80%, 
    transparent 100%
  );
}

.tc-separator-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: var(--tc-space-2) var(--tc-space-3);
  border-radius: 50%;
  border: 2px solid var(--tc-sage-300);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--tc-sage-600);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tc-recommended-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: linear-gradient(135deg, var(--tc-copper-500), #d4954a);
  color: white;
  padding: var(--tc-space-1) var(--tc-space-2);
  border-radius: 12px;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(192, 133, 82, 0.4);
  animation: tc-fadeIn 1s ease-out 0.5s both;
}

.tc-option-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--tc-sage-200), var(--tc-sage-300));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--tc-space-3);
  transition: all var(--tc-transition-normal);
}

.tc-entry-option.primary .tc-option-icon {
  background: linear-gradient(135deg, var(--tc-sage-400), var(--tc-sage-500));
}

.tc-entry-option:hover .tc-option-icon {
  transform: scale(1.1);
}

.tc-option-icon .material-symbols-outlined {
  font-size: 20px;
  color: white;
}

/* ================================================================
   AUTRES SECTIONS (ATELIERS, DISPOSITIFS, DASHBOARD)
   ================================================================ */
.tc-section-intro {
  text-align: center;
  margin-bottom: var(--tc-space-8);
  opacity: 0;
  animation: tc-fadeIn 0.8s ease-out 0.2s both;
}

.tc-section-title {
  font-family: var(--tc-font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--tc-stone-800);
  margin-bottom: var(--tc-space-4);
}

.tc-section-description {
  font-size: 1.0625rem;
  color: var(--tc-stone-600);
  margin: 0;
}

.tc-content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--tc-space-8);
  margin-top: var(--tc-space-8);
}

.tc-content-card {
  background: white;
  padding: var(--tc-space-8);
  border-radius: var(--tc-radius-xl);
  border: 1px solid var(--tc-sage-200);
  box-shadow: var(--tc-shadow-sm);
  transition: all var(--tc-transition-normal);
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: tc-fadeIn 0.6s ease-out forwards;
}

.tc-content-card:nth-child(1) { animation-delay: 0.1s; }
.tc-content-card:nth-child(2) { animation-delay: 0.2s; }
.tc-content-card:nth-child(3) { animation-delay: 0.3s; }
.tc-content-card:nth-child(4) { animation-delay: 0.4s; }
.tc-content-card:nth-child(5) { animation-delay: 0.5s; }
.tc-content-card:nth-child(6) { animation-delay: 0.6s; }

.tc-content-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--tc-sage-500), var(--tc-copper-500), var(--tc-sage-600));
  transform: scaleX(0);
  transition: transform var(--tc-transition-normal);
}

.tc-content-card:hover::before {
  transform: scaleX(1);
}

.tc-content-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--tc-shadow-xl);
}

/* Loading states */
.tc-loading {
  text-align: center;
  padding: var(--tc-space-12);
  color: var(--tc-stone-500);
}

.tc-loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--tc-sage-200);
  border-top: 3px solid var(--tc-sage-500);
  border-radius: 50%;
  animation: tc-spin 1s linear infinite;
  margin: 0 auto var(--tc-space-4);
}

/* Dashboard */
.tc-dashboard {
  max-width: 1000px;
  margin: 0 auto;
}

.tc-dashboard-welcome {
  background: linear-gradient(135deg, var(--tc-sage-100), var(--tc-sage-50));
  padding: var(--tc-space-8);
  border-radius: var(--tc-radius-lg);
  margin-bottom: var(--tc-space-12);
  text-align: center;
}

/* Material Icons */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined' !important;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  font-size: 24px;
  color: var(--tc-sage-700);
  display: inline-block;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
}

/* ================================================================
   RESPONSIVE DESIGN
   ================================================================ */

/* TABLETTE - 768px et moins */
@media (max-width: 768px) {
  .tc-atelier-container {
    padding: var(--tc-space-4);
  }

  /* Navigation */
  .tc-nav-tabs {
    flex-direction: column;
    align-items: center;
    gap: var(--tc-space-3);
  }

  .tc-nav-tab {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }

  /* Hero section */
  .tc-symptoms-grid {
    grid-template-columns: 1fr;
    gap: var(--tc-space-4);
  }

  .tc-symptom-card {
    text-align: center;
  }

  .tc-symptom-header {
    flex-direction: column;
    gap: var(--tc-space-3);
    text-align: center;
  }

  .tc-symptom-icon {
    align-self: center;
  }

  .tc-reality-check {
    flex-direction: column;
    align-items: center;
    gap: var(--tc-space-4);
  }

  .tc-reality-item {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .tc-reality-item p {
    white-space: normal;
    text-align: center;
  }

  .tc-question-bubble {
    padding: var(--tc-space-4) var(--tc-space-6);
    text-align: center;
  }

  .tc-hero-quote-main,
  .tc-solution-header {
    padding: var(--tc-space-4);
  }

  /* Philosophy cards */
  .tc-solution-philosophy {
    grid-template-columns: 1fr;
    gap: var(--tc-space-4);
  }

  .tc-philosophy-card {
    text-align: center;
  }

  .tc-philosophy-header {
    flex-direction: column;
    gap: var(--tc-space-3);
    text-align: center;
  }

  .tc-philosophy-icon {
    align-self: center;
  }

  /* Process flow - RESPONSIVE PRINCIPAL */
  .tc-process-transformation .tc-process-flow-spectacular {
    grid-template-columns: 1fr;
    gap: var(--tc-space-6);
  }

  .tc-process-transformation .tc-process-card {
    text-align: center;
    max-width: 100%;
  }

  .tc-process-transformation .tc-process-header-spectacular {
    flex-direction: column;
    gap: var(--tc-space-4);
    text-align: center;
    align-items: center;
  }

  .tc-process-transformation .tc-process-icon-spectacular {
    align-self: center;
  }

  .tc-process-transformation .tc-blocage-item,
  .tc-process-transformation .tc-solution-item {
    flex-direction: column;
    gap: var(--tc-space-3);
    text-align: center;
    align-items: center;
  }

  .tc-process-transformation .tc-transformation-bridge {
    order: 2;
    margin: var(--tc-space-6) auto;
  }

  .tc-process-transformation .tc-energy-flow {
    top: -30px;
    bottom: -30px;
    left: 50%;
    right: auto;
    width: 2px;
    height: 60px;
    background: linear-gradient(180deg, 
      transparent 0%, 
      var(--tc-copper-500) 25%, 
      var(--tc-copper-500) 75%, 
      transparent 100%
    );
    transform: translateX(-50%);
  }

  /* Benefits */
  .tc-benefits-grid {
    grid-template-columns: 1fr;
    gap: var(--tc-space-4);
  }

  .tc-benefit-item {
    flex-direction: column;
    text-align: center;
  }

  .tc-benefit-icon {
    align-self: center;
  }

  /* Entry paths responsive */
  .tc-entry-content {
    grid-template-columns: 1fr;
    gap: var(--tc-space-6);
    text-align: center;
  }

  .tc-entry-separator {
    order: 2;
    flex-direction: row;
    width: 100%;
    margin: var(--tc-space-4) 0;
  }

  .tc-separator-line {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, 
      transparent 0%, 
      var(--tc-sage-300) 20%, 
      var(--tc-sage-400) 50%, 
      var(--tc-sage-300) 80%, 
      transparent 100%
    );
  }

  .tc-entry-option.primary {
    order: 1;
  }

  .tc-entry-option.secondary {
    order: 3;
  }

  /* Content grid */
  .tc-content-grid {
    grid-template-columns: 1fr;
    gap: var(--tc-space-6);
  }

  .tc-dashboard-welcome {
    padding: var(--tc-space-6);
  }
}

/* MOBILE - 480px et moins */
@media (max-width: 480px) {
  .tc-atelier-title {
    font-size: 1.5rem;
  }

  .tc-presentation-title,
  .tc-section-title {
    font-size: 1.25rem;
  }

  .tc-question-bubble {
    flex-direction: column;
    gap: var(--tc-space-2);
  }

  .tc-philosophy-card {
    padding: var(--tc-space-4);
  }

  .tc-philosophy-title h4 {
    font-size: 1.25rem;
  }

  .tc-symptom-text,
  .tc-philosophy-content {
    min-height: 40px;
  }

  /* Process flow mobile */
  .tc-process-transformation .tc-process-card {
    padding: var(--tc-space-4);
  }

  .tc-process-transformation .tc-process-icon-spectacular {
    width: 64px;
    height: 64px;
  }

  .tc-process-transformation .tc-icon-orbit {
    width: 48px;
    height: 48px;
  }

  .tc-process-transformation .tc-icon-orbit .material-symbols-outlined {
    font-size: 24px;
  }

  .tc-process-transformation .tc-magic-wand {
    width: 48px;
    height: 48px;
  }

  .tc-process-transformation .tc-magic-wand .material-symbols-outlined {
    font-size: 24px;
  }

  .tc-process-transformation .tc-process-title-spectacular h4 {
    font-size: 1.125rem;
  }

  .tc-process-transformation .tc-subtitle-accent {
    font-size: 0.875rem;
  }

  .tc-process-transformation .tc-transformation-text {
    font-size: 0.75rem;
    letter-spacing: 1px;
  }

  /* Moins de particules sur mobile */
  .tc-process-transformation .tc-icon-particles .tc-particle:nth-child(n+3) {
    display: none;
  }

  .tc-process-transformation .tc-magic-sparkles .tc-sparkle:nth-child(n+4) {
    display: none;
  }

  .tc-process-transformation .tc-process-background-pattern {
    opacity: 0.01;
  }

  .tc-content-card {
    padding: var(--tc-space-6);
  }

  /* Entry paths mobile */
  .tc-entry-paths {
    margin-top: var(--tc-space-12);
  }

  .tc-entry-content {
    padding: var(--tc-space-6);
    gap: var(--tc-space-4);
  }

  .tc-option-title {
    font-size: 1rem;
  }

  .tc-option-description {
    font-size: 0.75rem;
  }

  .tc-cta-compact {
    width: 100%;
    justify-content: center;
    padding: var(--tc-space-3) var(--tc-space-4);
  }

  .tc-recommended-badge {
    position: static;
    margin-top: var(--tc-space-2);
    align-self: center;
  }
}

/* MOBILE PAYSAGE */
@media (max-width: 768px) and (orientation: landscape) and (max-height: 500px) {
  .tc-process-transformation .tc-process-flow-spectacular {
    grid-template-columns: 1fr auto 1fr;
    gap: var(--tc-space-4);
  }

  .tc-process-transformation .tc-transformation-bridge {
    order: initial;
    margin: 0;
  }

  .tc-process-transformation .tc-energy-flow {
    top: 50%;
    bottom: auto;
    left: -30px;
    right: -30px;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, 
      transparent 0%, 
      var(--tc-copper-500) 25%, 
      var(--tc-copper-500) 75%, 
      transparent 100%
    );
    transform: translateY(-50%);
  }
}

/* ACCESSIBILITÉ */
@media (prefers-reduced-motion: reduce) {
  .tc-process-transformation *,
  .tedcraft-atelier * {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
  }
}

/* GPU ACCELERATION POUR PERFORMANCES MOBILES */
@media (max-width: 768px) {
  .tc-magic-wand,
  .tc-icon-orbit,
  .tc-energy-flow {
    will-change: transform;
    backface-visibility: hidden;
  }
  
  .tc-process-background-pattern {
    animation-duration: 40s;
  }
  
  .tc-process-card {
    contain: layout style paint;
  }
}