@import url("https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,500;14..32,600;14..32,700;14..32,800&display=swap");

:root {
  --primary: #0a4a6f;
  --primary-dark: #063247;
  --primary-light: #1a6d9c;
  --secondary: #f39c12;
  --secondary-dark: #e67e22;
  --accent: #e74c3c;
  --success: #27ae60;
  --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;
  --white: #ffffff;
  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.meditour-premium {
  font-family: "Inter", sans-serif;
  max-width: 1280px;
  margin: 60px auto;
  background: transparent;
  position: relative;
}

/* Header Hero amélioré */
.meditour-hero {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  border-radius: 32px;
  padding: 56px 64px;
  margin-bottom: 48px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
}

.meditour-hero::before {
  content: "⛵";
  font-size: 250px;
  opacity: 0.06;
  position: absolute;
  bottom: -50px;
  right: -20px;
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
}

.meditour-hero::after {
  content: "🌊";
  font-size: 180px;
  opacity: 0.05;
  position: absolute;
  top: -30px;
  left: -40px;
  pointer-events: none;
  transform: rotate(-15deg);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.meditour-badge {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  display: inline-block;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 28px;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.meditour-hero h1 {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  line-height: 1.2;
  background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.9) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.meditour-hero-subtitle {
  font-size: 20px;
  opacity: 0.95;
  max-width: 550px;
  line-height: 1.4;
  margin-bottom: 32px;
}

.meditour-hero-location {
  display: flex;
  gap: 32px;
  margin-top: 8px;
  flex-wrap: wrap;
  font-size: 15px;
  opacity: 0.85;
}

.meditour-hero-location span {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 40px;
  backdrop-filter: blur(5px);
}

/* Stats section */
.meditour-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.stat-card {
  background: var(--white);
  padding: 24px;
  border-radius: 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-2xl);
}

.stat-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--gray-600);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Navigation tabs améliorée */
.meditour-nav {
  display: flex;
  gap: 12px;
  margin-bottom: 48px;
  background: var(--white);
  padding: 8px;
  border-radius: 60px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  position: sticky;
  top: 20px;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
}

.nav-item {
  flex: 1;
  text-align: center;
  padding: 14px 28px;
  background: transparent;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--gray-600);
  font-family: "Inter", sans-serif;
  position: relative;
  overflow: hidden;
}

.nav-item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(10, 74, 111, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition:
    width 0.6s,
    height 0.6s;
}

.nav-item:hover::before {
  width: 300px;
  height: 300px;
}

.nav-item:hover {
  color: var(--primary);
  background: transparent;
}

.nav-item.active {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.nav-item.active::before {
  display: none;
}

/* Day content */
.day-panel {
  display: none;
  animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.day-panel.active {
  display: block;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Session cards premium */
.session-card {
  background: var(--white);
  border-radius: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.session-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary),
    var(--secondary),
    var(--primary)
  );
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.session-card:hover::before {
  transform: scaleX(1);
}

.session-card:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--gray-300);
}

.session-header {
  display: flex;
  align-items: center;
  padding: 24px 32px;
  cursor: pointer;
  background: var(--white);
  transition: background 0.3s ease;
}

.session-header:hover {
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
}

.session-time {
  min-width: 160px;
  font-weight: 800;
  color: var(--primary);
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.session-time-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #fff0e0 0%, #fff0e0 100%);
  border-radius: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 20px;
  transition: transform 0.3s ease;
}

.session-card:hover .session-time-icon {
  transform: scale(1.1) rotate(5deg);
}

.session-title-section {
  margin-left: 20px;
  flex: 1;
}

.session-title {
  font-weight: 700;
  font-size: 20px;
  color: var(--gray-800);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.session-category {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.category-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  background: var(--gray-100);
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.category-badge.plenary {
  background: linear-gradient(135deg, #e8f0fe 0%, #dbeafe 100%);
  color: #1a56db;
}

.category-badge.networking {
  background: linear-gradient(135deg, #e6f7ec 0%, #d1fae5 100%);
  color: #0e7b32;
}

.category-badge.circuit {
  background: linear-gradient(135deg, #fef3e8 0%, #ffedd5 100%);
  color: #c2410c;
}

.session-expand {
  color: var(--gray-400);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 20px;
  font-weight: 300;
}

.session-expand.open {
  transform: rotate(180deg);
  color: var(--primary);
}

.session-details {
  display: none;
  padding: 32px;
  border-top: 1px solid var(--gray-100);
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.session-details.open {
  display: block;
}

.session-desc {
  color: var(--gray-700);
  line-height: 1.6;
  margin-bottom: 24px;
  font-size: 15px;
}

/* Speakers grid améliorée */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.speaker-card {
  background: var(--white);
  padding: 16px 20px;
  border-radius: 16px;
  border-left: 4px solid var(--secondary);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-xs);
}

.speaker-card:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--primary);
}

.speaker-name {
  font-weight: 800;
  color: var(--gray-800);
  margin-bottom: 6px;
  font-size: 15px;
}

.speaker-title {
  font-size: 12px;
  color: var(--gray-500);
  line-height: 1.4;
}

/* Circuits section premium */
.circuits-section {
  margin: 48px 0px;
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--gray-800);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.circuits-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.circuit-card-premium {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-md);
}

.circuit-card-premium:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
}

.circuit-header {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  color: var(--white);
  padding: 28px 32px;
  position: relative;
  overflow: hidden;
}

.circuit-header::before {
  content: "🌊";
  position: absolute;
  right: -20px;
  top: -20px;
  font-size: 80px;
  opacity: 0.1;
}

.circuit-header h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.circuit-header p {
  font-size: 14px;
  opacity: 0.9;
}

.circuit-body {
  padding: 28px 32px;
}

.circuit-body ul {
  list-style: none;
  padding: 0;
}

.circuit-body li {
  padding: 12px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-700);
  font-size: 15px;
  border-bottom: 1px solid var(--gray-100);
  transition: all 0.3s ease;
}

.circuit-body li:hover {
  transform: translateX(5px);
  color: var(--primary);
}

.circuit-body li:last-child {
  border-bottom: none;
}

.circuit-body li span:first-child {
  font-size: 20px;
}

/* Footer amélioré */
.meditour-footer-note {
  margin-top: 48px;
  background: linear-gradient(135deg, var(--gray-800) 0%, var(--gray-900) 100%);
  border-radius: 24px;
  padding: 24px 32px;
  text-align: center;
  color: var(--gray-300);
  font-size: 13px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
}

/* Responsive design amélioré */
@media (max-width: 1024px) {
  .meditour-hero h1 {
    font-size: 44px;
  }

  .meditour-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .meditour-premium {
    margin: 20px auto;
  }

  .meditour-hero {
    padding: 32px 24px;
    border-radius: 24px;
  }

  .meditour-hero h1 {
    font-size: 32px;
  }

  .meditour-hero-subtitle {
    font-size: 16px;
  }

  .meditour-hero-location {
    gap: 12px;
  }

  .meditour-hero-location span {
    font-size: 12px;
    padding: 6px 12px;
  }

  .meditour-nav {
    flex-direction: column;
    border-radius: 20px;
    gap: 8px;
    position: relative;
    top: 0;
  }

  .nav-item {
    padding: 12px 20px;
  }

  .session-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
  }

  .session-time {
    min-width: auto;
  }

  .session-title {
    font-size: 18px;
  }

  .circuits-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .circuit-header {
    padding: 20px 24px;
  }

  .circuit-body {
    padding: 20px 24px;
  }

  .speakers-grid {
    grid-template-columns: 1fr;
  }

  .session-details {
    padding: 24px;
  }

  .meditour-stats {
    gap: 16px;
  }

  .stat-card {
    padding: 16px;
  }

  .stat-number {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .meditour-stats {
    grid-template-columns: 1fr;
  }

  .meditour-hero h1 {
    font-size: 28px;
  }
}
