/* TechInsight - Modern Tech Training Platform */
/* Inspired by Devoteam's modern design with coral accents */

/* ============================================================================
   Reset & Variables
   ============================================================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Primary Colors */
  --primary: #0f172a;
  --primary-light: #1e293b;
  --primary-dark: #020617;

  /* Accent Colors - Green & Yellow for TechInsight */
  --accent: #10b981;
  --accent-dark: #059669;
  --accent-light: #34d399;
  --accent-gradient: linear-gradient(135deg, #10b981 0%, #fbbf24 100%);
  --yellow: #fbbf24;
  --yellow-dark: #f59e0b;
  --yellow-light: #fcd34d;

  /* Secondary */
  --secondary: #3b82f6;
  --secondary-light: #60a5fa;

  /* Neutrals */
  --white: #ffffff;
  --light: #f8fafc;
  --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;

  /* Text */
  --text: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

  /* Border Radius */
  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;

  /* Transitions */
  --transition: all 0.2s ease;
  --transition-slow: all 0.3s ease;
}

/* ============================================================================
   Base Styles
   ============================================================================ */

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* ============================================================================
   Utilities
   ============================================================================ */

.text-accent {
  color: var(--accent);
}

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

/* ============================================================================
   Buttons
   ============================================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
}

.btn svg {
  flex-shrink: 0;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-light);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
}

.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-light {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

/* ============================================================================
   Navbar
   ============================================================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
}

.logo-tech {
  color: var(--primary);
}

.logo-insight {
  color: var(--accent);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  font-weight: 500;
  color: var(--gray-600);
  transition: var(--transition);
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--accent);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================================
   Hero Section
   ============================================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #1a365d 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--yellow-light);
  margin-bottom: 24px;
}

.badge-icon {
  font-size: 1rem;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.hero-stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
}

.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  height: 500px;
}

.hero-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-xl);
  transition: var(--transition-slow);
}

.hero-card:hover {
  transform: translateY(-4px) scale(1.02);
}

.card-icon {
  font-size: 2rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
  border-radius: var(--radius);
}

.card-content strong {
  display: block;
  font-size: 1rem;
  color: var(--gray-900);
}

.card-content span {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.hero-card-1 {
  top: 0;
  left: 0;
  animation: float 6s ease-in-out infinite;
}

.hero-card-2 {
  top: 80px;
  right: 0;
  animation: float 6s ease-in-out infinite 1s;
}

.hero-card-3 {
  bottom: 120px;
  left: 40px;
  animation: float 6s ease-in-out infinite 2s;
}

.hero-card-4 {
  bottom: 20px;
  right: 40px;
  animation: float 6s ease-in-out infinite 3s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ============================================================================
   Section Styles
   ============================================================================ */

section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-tag-light {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================================
   Expertise Section
   ============================================================================ */

.expertise-section {
  background: var(--light);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.expertise-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: var(--transition-slow);
  border: 1px solid var(--gray-100);
}

.expertise-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.expertise-card-large {
  grid-row: span 2;
}

.expertise-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--accent) 0%, var(--yellow) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--white);
}

.expertise-icon.icon-data {
  background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
}

.expertise-icon.icon-cloud {
  background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
}

.expertise-icon.icon-security {
  background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
}

.expertise-icon.icon-agile {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
}

.expertise-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.expertise-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.expertise-list {
  list-style: none;
  margin-bottom: 20px;
}

.expertise-list li {
  padding: 8px 0;
  color: var(--gray-600);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: 8px;
}

.expertise-list li::before {
  content: "→";
  color: var(--accent);
  font-weight: 600;
}

.expertise-list li:last-child {
  border-bottom: none;
}

.expertise-tag {
  display: inline-block;
  background: var(--gray-100);
  color: var(--gray-600);
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* ============================================================================
   Méthode Section
   ============================================================================ */

.methode-section {
  background: var(--white);
}

.methode-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.methode-content .section-tag {
  margin-bottom: 16px;
}

.methode-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-align: left;
}

.methode-content > p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 40px;
  line-height: 1.7;
}

.methode-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.methode-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.step-content h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.step-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Méthode Visual */
.methode-visual {
  position: relative;
}

.methode-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-100);
}

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

.methode-card-tag {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent);
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.methode-card-duration {
  color: var(--gray-500);
  font-size: 0.9rem;
  font-weight: 500;
}

.methode-card h4 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.methode-card > p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.methode-card-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.methode-card-skills span {
  background: var(--gray-100);
  color: var(--gray-700);
  padding: 6px 12px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 500;
}

.methode-card-footer {
  padding-top: 20px;
  border-top: 1px solid var(--gray-100);
}

.methode-mentor {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mentor-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.methode-mentor strong {
  display: block;
  font-size: 0.95rem;
}

.methode-mentor span {
  color: var(--gray-500);
  font-size: 0.85rem;
}

/* ============================================================================
   Valeurs Section
   ============================================================================ */

.valeurs-section {
  background: var(--primary);
  padding: 80px 0;
}

.valeurs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.valeur-item {
  text-align: center;
  padding: 24px;
}

.valeur-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.valeur-item h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.valeur-item p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============================================================================
   Formateurs Section
   ============================================================================ */

.formateurs-section {
  background: var(--light);
}

.formateurs-filters {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
}

.search-input,
.filter-select {
  padding: 14px 20px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.95rem;
  background: var(--white);
  transition: var(--transition);
}

.search-input {
  width: 320px;
}

.filter-select {
  min-width: 200px;
  cursor: pointer;
}

.search-input:focus,
.filter-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.formateurs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.formateur-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-slow);
  border: 1px solid var(--gray-100);
}

.formateur-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

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

.formateur-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--yellow) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.formateur-name {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gray-900);
}

.formateur-location {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-top: 2px;
}

.formateur-bio {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
  line-height: 1.5;
}

.formateur-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.formateur-tag {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent);
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* ============================================================================
   Opportunités Section
   ============================================================================ */

.opportunites-section {
  background: var(--white);
}

.opportunites-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.opportunite-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  border-left: 4px solid var(--accent);
  transition: var(--transition);
}

.opportunite-card:hover {
  box-shadow: var(--shadow-md);
  border-left-color: var(--accent-dark);
}

.opportunite-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.opportunite-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gray-900);
}

.opportunite-date {
  color: var(--gray-500);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.opportunite-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 12px;
}

.opportunite-meta span {
  color: var(--gray-500);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.opportunite-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================================================
   CTA Section
   ============================================================================ */

.cta-section {
  background: linear-gradient(135deg, var(--accent) 0%, var(--yellow) 100%);
  padding: 80px 0;
}

.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  margin-bottom: 32px;
}

.cta-section .btn-accent {
  background: var(--white);
  color: var(--accent);
}

.cta-section .btn-accent:hover {
  background: var(--gray-100);
}

/* ============================================================================
   Rejoindre Section
   ============================================================================ */

.rejoindre-section {
  background: var(--primary);
  padding: 100px 0;
}

.rejoindre-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.rejoindre-info {
  color: var(--white);
}

.rejoindre-info h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-align: left;
}

.rejoindre-info > p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 40px;
  line-height: 1.7;
}

.rejoindre-benefits {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.benefit {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.benefit-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.benefit strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: var(--yellow-light);
}

.benefit p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin: 0;
}

/* Trainer Form */
.trainer-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-xl);
}

.trainer-form h3 {
  font-size: 1.5rem;
  margin-bottom: 28px;
  color: var(--gray-900);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--gray-700);
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.95rem;
  transition: var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ============================================================================
   Footer
   ============================================================================ */

.footer {
  background: var(--gray-900);
  color: var(--white);
  padding: 80px 0 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 60px;
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand > p {
  color: var(--gray-400);
  font-size: 0.95rem;
  margin-bottom: 24px;
  max-width: 300px;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col a,
.footer-col p {
  display: block;
  color: var(--gray-400);
  font-size: 0.9rem;
  padding: 6px 0;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: var(--gray-500);
  font-size: 0.85rem;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: var(--gray-500);
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-legal a:hover {
  color: var(--white);
}

/* ============================================================================
   Loading State
   ============================================================================ */

.loading {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
}

.empty-state-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  opacity: 0.5;
}

.empty-state p {
  font-size: 1.1rem;
}

/* ============================================================================
   Responsive Design
   ============================================================================ */

@media (max-width: 1200px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual {
    display: none;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .expertise-card-large {
    grid-row: span 1;
  }
}

@media (max-width: 992px) {
  .nav-links {
    display: none;
  }

  .navbar .btn {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .methode-wrapper,
  .rejoindre-wrapper {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .valeurs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }

  section {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
  }

  .valeurs-grid {
    grid-template-columns: 1fr;
  }

  .formateurs-filters {
    flex-direction: column;
    align-items: stretch;
  }

  .search-input {
    width: 100%;
  }

  .formateurs-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .trainer-form {
    padding: 28px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .methode-steps {
    gap: 16px;
  }

  .step-number {
    width: 40px;
    height: 40px;
    font-size: 0.8rem;
  }
}
