/**
 * Event Landing Page Styles for "The Elegance of Stillness"
 * Integrates with existing Plantissima design system
 */

/* Event-specific variables that integrate with Plantissima design system */
:root {
  --countdown-bg: rgba(255, 255, 255, 0.95);
  --countdown-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  --urgent-red: var(--brand-red);
}

/* Accessibility - Skip to Content */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--plantissima-green);
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 10000;
  border-radius: 0 0 4px 0;
}

.skip-to-content:focus {
  top: 0;
}

/* Keyboard Navigation Focus Styles */
.keyboard-nav *:focus {
  outline: 3px solid var(--plantissima-green);
  outline-offset: 2px;
}

.keyboard-nav button:focus,
.keyboard-nav a:focus,
.keyboard-nav input:focus,
.keyboard-nav select:focus,
.keyboard-nav textarea:focus {
  box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.2);
}

/* Ensure interactive elements have proper focus states */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--plantissima-green);
  outline-offset: 2px;
}

/* Remix Icon Styling */
.ri-line, [class^="ri-"], [class*=" ri-"] {
  font-size: 1.2em;
  vertical-align: middle;
  margin-right: 0.25rem;
}

.type-link .icon i {
  font-size: 1.5rem;
  margin-right: 0;
}

.icon-check-circle {
  color: var(--success-green);
  font-size: 2rem;
}

/* Remove decoration from hero button */
.prendre-rdv a {
  text-decoration: none;
  border-bottom: none !important;
  padding: 0;
}

.prendre-rdv button {
  text-decoration: none;
}

/* Title with two font sizes */
.site-title span:first-child {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  display: block;
  font-weight: 400;
}

.site-title span:last-child {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  display: block;
  margin-top: 0.5rem;
  font-weight: 300;
  opacity: 0.9;
}

/* Event Hero Info Insert - Subtle and Compact */
.event-hero-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 2px;
  border-left: 3px solid var(--brand-red);
}

.event-details {
  flex: 1;
}

.event-dates {
  font-size: 0.75rem;
  color: var(--brand-red);
  margin: 0 0 0.25rem 0;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

.value-proposition {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  line-height: 1.3;
  margin: 0 0 0.5rem 0;
  color: var(--plantissima-green);
  font-weight: 500;
}

.speaker-name {
  font-size: clamp(0.9rem, 2vw, 1rem);
  margin: 0 0 0.25rem 0;
  color: var(--brand-red);
  font-weight: 400;
}

.speaker-credentials {
  font-size: clamp(0.7rem, 1.5vw, 0.8rem);
  line-height: 1.3;
  margin: 0;
  color: var(--plantissima-green);
  opacity: 0.7;
}

.speaker-photo {
  flex-shrink: 0;
}

.speaker-photo img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--brand-red);
}

/* Mobile responsive - keep compact */
@media (max-width: 768px) {
  .event-hero-info {
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
  }
  
  .speaker-photo img {
    width: 50px;
    height: 50px;
  }
  
  .value-proposition {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
  }
  
  .speaker-credentials {
    font-size: clamp(0.65rem, 2vw, 0.75rem);
  }
}

/* Mobile responsive for split card */
@media (max-width: 600px) {
  .overview-card.split-content {
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
  }
  
  .card-divider {
    width: 80px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(156, 51, 40, 0.2), transparent);
  }
  
  .speaker-avatar {
    width: 40px;
    height: 40px;
  }
}

/* Hero Animations */
.page-hero img {
  animation: fadeInScale 1.2s ease-out;
}

@keyframes fadeInScale {
  from { 
    opacity: 0; 
    transform: scale(1.05);
  }
  to { 
    opacity: 1; 
    transform: scale(1);
  }
}

.site-header h1, .site-header h2 {
  animation: slideUpFade 0.8s ease-out backwards;
}

.site-header h1 {
  animation-delay: 0.2s;
}

.site-header h2 {
  animation-delay: 0.4s;
}

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

/* Countdown Timer - integrated into site-header */
.site-header .countdown-wrapper {
  margin: var(--spacing-lg) 0;
  display: flex;
  justify-content: center;
  animation: slideUpFade 0.8s ease-out 0.6s backwards;
}

.site-header .button-container {
  animation: slideUpFade 0.8s ease-out 0.8s backwards;
}

.site-header .hero-note {
  animation: slideUpFade 0.8s ease-out 1s backwards;
}

/* Countdown Timer */
.countdown-wrapper {
  margin-bottom: 2rem;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.countdown-segment {
  background: var(--countdown-bg);
  border-radius: 2px;
  padding: 1rem 1.5rem;
  box-shadow: var(--countdown-shadow);
  min-width: 80px;
  backdrop-filter: blur(5px);
}

.countdown-segment .count {
  display: block;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--plantissima-green);
  line-height: 1;
}

.countdown-segment .label {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--medium-gray, #666);
  letter-spacing: 0.5px;
  margin-top: 0.25rem;
}

/* Countdown Urgency States */
.countdown-timer.countdown-urgent .countdown-segment {
  border: 2px solid var(--warning-yellow);
  animation: pulse-warning 2s infinite;
}

.countdown-timer.countdown-critical .countdown-segment {
  border: 2px solid var(--urgent-red);
  animation: pulse-critical 1s infinite;
}

@keyframes pulse-warning {
  0%, 100% { box-shadow: var(--countdown-shadow); }
  50% { box-shadow: 0 4px 20px rgba(242, 178, 26, 0.4); }
}

@keyframes pulse-critical {
  0%, 100% { box-shadow: var(--countdown-shadow); }
  50% { box-shadow: 0 4px 25px rgba(231, 76, 60, 0.5); }
}

.countdown-urgent-alert {
  background: var(--warning-yellow);
  color: white;
  padding: 1rem;
  border-radius: 2px;
  margin-top: 1rem;
  animation: slideIn 0.3s ease-out;
}

.alert-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.alert-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  margin-left: auto;
}

/* Event Live State */
.event-live {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--urgent-red);
  color: white;
  padding: 1rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.live-dot {
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  animation: pulse-live 1.5s infinite;
}

@keyframes pulse-live {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.2); }
}

/* Language Dropdown positioned to the right */
.site-header .content-wrapper {
  position: relative;
}

.language-dropdown {
  text-align: right;
  margin-bottom: 1rem;
  z-index: 10;
  animation: slideUpFade 0.8s ease-out 0.3s backwards;
}

.language-dropdown select {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--brown-light, #d4b896);
  border-radius: 2px;
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--dark-gray, #333);
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1rem;
  display: inline-block;
  width: auto;
}

.language-dropdown select:hover {
  border-color: var(--plantissima-green, #2d5016);
  background-color: var(--earthy-olive-lightest, #f8f9f5);
}

.language-dropdown select:focus {
  outline: none;
  border-color: var(--plantissima-green, #2d5016);
  box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

/* Add margin to h1 for spacing from dropdown */
.site-header h1 {
  margin-top: 0;
}

/* Responsive language dropdown */
@media (max-width: 768px) {
  .language-dropdown {
    position: static;
    text-align: right;
    margin-bottom: 1.5rem;
  }
  
  .site-header h1 {
    margin-top: 0;
  }
  
  .language-dropdown select {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--plantissima-green, #2d5016);
    font-size: 0.75rem;
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    display: inline-block;
    width: auto;
  }
}

/* Hero Typography */
.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-family: var(--font-secondary, 'Georgia', serif);
  color: var(--dark-gray, #333);
  margin-bottom: 1rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: var(--brand-red, #8b4513);
  margin-bottom: 2rem;
  line-height: 1.4;
  font-weight: 400;
}

.hero-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.hero-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  color: var(--dark-gray, #333);
  font-weight: 500;
}

.hero-meta i {
  font-size: 1.2rem;
}

/* Hero Actions */
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.btn-primary,
.btn-secondary {
  padding: 1rem 2.5rem;
  border-radius: 2px;
  font-size: 1.1rem;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  min-width: 200px;
}

.btn-primary {
  background: var(--success-green);
  color: white;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-primary:hover {
  background: var(--brand-red);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(45, 80, 22, 0.35);
}

.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(45, 80, 22, 0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--brand-red);
  border-color: var(--brand-red);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--brand-red);
  transition: left 0.4s ease;
  z-index: -1;
}

.btn-secondary:hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(45, 80, 22, 0.25);
}

.btn-secondary:hover::before {
  left: 0;
}

.btn-secondary:active {
  transform: translateY(-1px);
}

.btn-live {
  background: var(--urgent-red) !important;
  animation: pulse-live-btn 2s infinite;
}

@keyframes pulse-live-btn {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.hero-note {
  font-size: 0.9rem;
  color: var(--medium-gray, #666);
  font-style: italic;
  margin-top: 1rem;
}

/* Section Padding */
.section-padding {
  padding: 4rem 0;
}

.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Section Titles */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--success-green);
  margin-bottom: 3rem;
  font-family: var(--font-secondary, 'Georgia', serif);
  font-weight: 300;
}

/* Event Overview */
.event-overview {
  background: white;
}

.lead-text {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--dark-gray, #333);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

/* Compact grid for hero section */
.site-header .overview-grid {
  margin: 1.5rem 0;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.overview-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 2px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  border: 1px solid var(--brown-light, #e8dcc0);
  transition: transform 0.3s ease;
}

.overview-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.overview-card i {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--success-green);
}

.overview-card h3 {
  color: var(--success-green);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.overview-card p {
  color: var(--medium-gray, #666);
  line-height: 1.6;
}

/* Compact variant for hero section */
.overview-card.compact {
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(156, 51, 40, 0.2);
  box-shadow: none;
}

.overview-card.compact i {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--brand-red);
}

.overview-card.compact h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--brand-red);
  font-weight: 500;
}

.overview-card.compact p {
  font-size: 0.85rem;
  color: var(--plantissima-green);
  opacity: 0.8;
  margin: 0;
}

.overview-card.compact:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.05);
}

/* Hero Horizontal Card - Adjusted layout */
.hero-horizontal-card {
  display: flex;
  max-width: 1000px;
  margin: 2rem 0;
  background: white;
  border-radius: 2px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  align-items: stretch;
}

.hero-photo {
  flex: 0 0 325px;
  background: var(--off-white);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: 0% center;
}

.hero-content {
  flex: 1;
  padding: 2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.event-info-block {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.event-dates.time {
  display: inline-block;
  background: var(--earthy-olive-lightest, #f8f9f5);
  color: var(--dark-gray, #333);
  font-size: 0.9rem;
  font-weight: normal;
  text-transform: none;
  letter-spacing: normal;
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
  width: fit-content;
  margin: 0;
  border: none;
  box-shadow: none;
}

.event-format {
  display: inline-block;
  background: transparent;
  color: var(--plantissima-green);
  font-size: clamp(0.75rem, 1.8vw, 0.85rem);
  font-weight: 400;
  letter-spacing: 0.075em;
  padding: 0.5rem 1rem;
  border-radius: 2px;
  width: fit-content;
  margin: 0;
  border: 1px solid var(--brown-light, #d4b896);
}

.speaker-name {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 300;
  color: var(--brand-red);
  margin: 0 0 0.75rem 0;
  line-height: 1.2;
}

.speaker-bio {
  font-size: clamp(0.75rem, 1.8vw, 0.85rem);
  line-height: 1.4;
  color: var(--plantissima-green);
  margin: 0 0 1.5rem 0;
  opacity: 0.8;
}

.hero-cta {
  margin-top: auto;
}

.access-btn {
  background: transparent;
  border: 1px solid var(--brand-red);
  color: var(--brand-red);
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius);
  font-family: var(--font-tertiary);
  font-size: clamp(0.75rem, 1.5vw, 0.85rem);
  font-weight: 400;
  letter-spacing: 0.125rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  line-height: 1.2;
  width: auto;
  display: inline-block;
}

.access-btn:hover {
  background: var(--brand-red);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(156, 51, 40, 0.25);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .hero-horizontal-card {
    flex-direction: column;
    margin: 1rem auto;
  }
  
  .hero-photo {
    flex: 0 0 220px;
  }
  
  .hero-content {
    padding: 1.5rem;
  }
}

/* Split content card */
.overview-card.split-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(156, 51, 40, 0.15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  gap: 2rem;
}

.card-left,
.card-right {
  flex: 1;
  text-align: center;
}

.card-divider {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(156, 51, 40, 0.2), transparent);
  flex-shrink: 0;
}

.speaker-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--brand-red);
  margin-bottom: 0.5rem;
}

.overview-card.split-content i {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--brand-red);
}

.overview-card.split-content h3 {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  color: var(--brand-red);
  font-weight: 500;
}

.overview-card.split-content p {
  font-size: 0.8rem;
  color: var(--plantissima-green);
  opacity: 0.8;
  margin: 0;
  line-height: 1.4;
}

.overview-card.split-content:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.05);
}

/* Event Highlight */
.event-highlight {
  background: var(--earthy-olive-lightest, #f8f9f5);
  padding: 3rem 2rem;
  border-radius: 2px;
  margin: 3rem 0;
  text-align: center;
}

.event-highlight p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--dark-gray, #333);
  margin-bottom: 2rem;
}

.attendance-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.info-card {
  background: white;
  padding: 2rem;
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.info-card h4 {
  color: var(--success-green);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.seats-remaining {
  color: var(--warning-yellow);
  font-weight: 600;
}

.seats-remaining.low-availability {
  color: var(--urgent-red);
  animation: pulse-warning 2s infinite;
}

.seats-remaining span {
  font-size: 1.2em;
}

.featured-quote {
  font-size: 1.5rem;
  font-style: italic;
  text-align: center;
  color: var(--success-green);
  border-left: 4px solid var(--success-green);
  padding-left: 2rem;
  margin: 3rem auto;
  max-width: 600px;
}

/* Speaker Section */
.speaker-section {
  background: var(--earthy-olive-lightest, #f8f9f5);
}

.speaker-bio {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: center;
}

.speaker-image {
  text-align: center;
}

.speaker-image img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.speaker-content h3 {
  color: var(--success-green);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.speaker-title {
  color: var(--medium-gray, #666);
  font-style: italic;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.speaker-intro {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--dark-gray, #333);
  margin-bottom: 2rem;
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.credential {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: white;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.credential i {
  font-size: 1.5rem;
  color: var(--success-green);
}

.credential span {
  font-size: 0.95rem;
  color: var(--dark-gray, #333);
}

.btn-text {
  background: none;
  border: none;
  color: var(--success-green);
  cursor: pointer;
  font-size: 1rem;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.btn-text:hover {
  color: #1a3009;
}

/* Schedule Section */
.schedule-section {
  background: white;
}

.schedule-timeline {
  position: relative;
  padding-left: 3rem;
  margin: 0 auto;
}

.schedule-timeline::before {
  content: '';
  position: absolute;
  left: 1rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--brown-light, #d4b896);
}

.timeline-block {
  position: relative;
  margin-bottom: 3rem;
  background: white;
  border-radius: 2px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--brown-light, #e8dcc0);
}

.timeline-block::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 2rem;
  width: 1rem;
  height: 1rem;
  background: var(--success-green);
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.timeline-block.consultations::before {
  background: var(--warning-yellow);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.timeline-header h3 {
  color: var(--success-green);
  font-size: 1.4rem;
  margin: 0;
}

.timeline-header .badge {
  background: var(--golden-yellow-lightest);
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
  font-size: 0.8rem;
  font-weight: 400;
  font-style: uppercase;
}

.timeline-header .time {
  background: var(--earthy-olive-lightest, #f8f9f5);
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
  font-size: 0.9rem;
  color: var(--dark-gray, #333);
}

.timeline-content h4 {
  color: var(--dark-gray, #333);
  margin-bottom: 1rem;
}

.session-topics {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.topic {
  background: var(--earthy-olive-lightest, #f8f9f5);
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
  font-size: 0.9rem;
  color: var(--dark-gray, #333);
  border: 1px solid var(--brown-light, #d4b896);
}

/* Tabs Section */
.content-tabs-section {
  background: var(--earthy-olive-lightest, #f8f9f5);
}

.tabs-container {
  max-width: 1600px;
  margin: 0 auto;
}

.tab-buttons {
  display: flex;
  justify-content: left;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.tab-btn {
  background: transparent;
  border: 1px solid var(--brand-red, #d4b896);
  color: var(--dark-gray, #333);
  padding: 0.8rem 1.5rem;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.tab-btn:hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(45, 80, 22, 0.25);
}

.tab-btn.active {
  background: var(--brand-red);
  color: white;
  border-color: var(--brand-red);
}

.tab-content {
  background: white;
  border-radius: 2px;
  padding: 3rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  min-height: 400px;
}

.tab-panel {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.tab-panel.active {
  display: block;
  animation: tabFadeIn 0.5s ease-out forwards;
}

@keyframes tabFadeIn {
  from { 
    opacity: 0; 
    transform: translateY(20px);
    filter: blur(2px);
  }
  to { 
    opacity: 1; 
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes tabFadeOut {
  from { 
    opacity: 1; 
    transform: translateY(0);
  }
  to { 
    opacity: 0; 
    transform: translateY(-10px);
  }
}

/* Card hover effects for event page */
.home-featured-grid .home-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.home-featured-grid .home-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--success-green), var(--plantissima-green));
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.home-featured-grid .home-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.home-featured-grid .home-card:hover::before {
  transform: translateX(0);
}

/* Tab button transitions */
.tab-btn {
  position: relative;
  overflow: hidden;
}

.tab-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(45, 80, 22, 0.1), transparent);
  transition: left 0.5s ease;
}

.tab-btn:hover::before {
  left: 100%;
}

.tab-panel h3 {
  color: var(--success-green);
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
}

.tab-panel h4 {
  color: var(--dark-gray, #333);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.tab-panel p {
  line-height: 1.7;
  color: var(--dark-gray, #333);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.tab-panel ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.tab-panel li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
  color: var(--dark-gray, #333);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.benefit-category {
  background: var(--brown-light, #f8f9f5);
  padding: 2rem;
  border-radius: 2px;
}

.benefit-category h4 {
  color: var(--success-green);
  margin-bottom: 1rem;
  margin-top: 0;
}

.bio-content {
  line-height: 1.7;
}

/* Pricing Section */
.pricing-section {
  background: white;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  background: white;
  border: 2px solid var(--brown-light, #d4b896);
  border-radius: 2px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.pricing-card.featured {
  border-color: var(--success-green);
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(45, 80, 22, 0.15);
}

.pricing-card.featured:hover {
  transform: scale(1.08) translateY(-5px);
}

.card-header {
  background: var(--earthy-olive-lightest, #f8f9f5);
  padding: 2rem;
  text-align: center;
}

.pricing-card.featured .card-header {
  background: var(--success-green);
  color: white;
}

.card-header h3 {
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}

.eligibility {
  font-size: 1rem;
  color: var(--medium-gray, #666);
  font-style: italic;
  margin: 0;
}

.pricing-card.featured .eligibility {
  color: rgba(255, 255, 255, 0.9);
}

.price {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--success-green);
  margin: 0;
}

.card-content {
  padding: 2rem;
}

.card-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.card-content li {
  padding: 0.5rem 0;
  color: var(--dark-gray, #333);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-content li::before {
  content: '✓';
  color: var(--success-green);
  font-weight: bold;
  font-size: 1.2rem;
}

/* FAQ Section */
.faq-section {
  background: var(--golden-yellow-lightest);
}

.faq-container {
  margin: 0 auto;
}

.faq-item {
  background: white;
  border: 1px solid var(--brown-light, #e8dcc0);
  border-radius: 2px;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  overflow: hidden;
}

.faq-item:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.faq-item summary {
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--dark-gray, #333);
  background: var(--earthy-olive-lightest);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--success-green);
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  background: var(--brand-red, #f8f9f5);
  color: White;
  border-bottom: 1px solid var(--brand-red, #e8dcc0);
}

.faq-item[open] summary {
  border-bottom: 2px solid var(--brand-red, #e8dcc0);
  background: var(--brand-red, #f8f9f5);
  color: White;
}

.faq-content {
  padding: 1.5rem;
  animation: slideDown 0.3s ease-out;
}

.faq-content p {
  line-height: 1.7;
  color: var(--medium-gray, #666);
  margin: 0;
}

.faq-background {
  background: var(--medium-gray);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Newsletter Section */
.newsletter-section {
  background: var(--success-green);
  color: white;
  padding: 0;
  margin: 0;
}

/* Remove footer top margin for this page */
.site-footer {
  margin-top: 0;
}

/* Registration form background */
.registration-form {
  background: var(--earthy-olive-lightest);
}

.newsletter-box, .faq-box {
  width: 100%;
  margin: 0;
  text-align: center;
  background: var(--brown-light);
  padding: 4rem 2rem 4rem 2rem;
}

.newsletter-box h2 {
  color: white;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.newsletter-box p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.newsletter-form {
  max-width: 800px;
  margin: 0 auto;
}

/* Newsletter Success & Error Messages */
.newsletter-success, .newsletter-error {
  margin: 1rem auto;
  max-width: 800px;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideIn 0.3s ease-out;
}

.newsletter-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #16a34a;
}

.newsletter-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #dc2626;
}

.newsletter-success i, .newsletter-error i {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.success-content, .error-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1rem;
  align-items: end;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.newsletter-form input,
.newsletter-form select {
  padding: 1rem;
  border: none;
  border-radius: 2px;
  font-size: 1rem;
  flex: 1;
  min-width: 200px;
}

.newsletter-form button {
  padding: 1rem 2rem;
  background: var(--golden-yellow, #f2b21a);
  color: white;
  border: 2px solid var(--golden-yellow, #f2b21a);
  border-radius: 2px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(242, 178, 26, 0.3);
  min-width: 140px;
}

.newsletter-form button:hover {
  background: #e6a617;
  border-color: #e6a617;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(242, 178, 26, 0.4);
}

.newsletter-success,
.newsletter-error {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

.newsletter-success {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.newsletter-error {
  background: var(--urgent-red);
  color: white;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section h3,
.footer-section h4 {
  color: white;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: white;
}

/* Urgent Availability Message */
.urgent-availability {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--urgent-red);
  color: white;
  padding: 1rem;
  z-index: 1000;
  animation: slideDown 0.3s ease-out;
}

.urgent-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.close-urgent {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  margin-left: auto;
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

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

/* Navigation Update - "Agenda" item with NEW badge */
.nav-new {
  position: relative;
}

.nav-new::after {
  content: 'NOUVEAU';
  position: absolute;
  top: -0.5rem;
  right: -0.8rem;
  background: var(--brand-red);
  color: white;
  font-size: 0.6rem;
  padding: 0.2rem 0.4rem;
  border-radius: 2px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 10;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .hero-content {
    padding: 1rem;
  }
  
  .countdown-timer {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .countdown-segment {
    min-width: 100px;
  }
  
  .hero-meta {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-primary,
  .btn-secondary,
  .access-btn {
    width: 100% !important;
    max-width: none;
  }
  
  .form-actions .btn-primary,
  .action-buttons .btn-primary,
  .registration-form .btn-primary {
    width: 100% !important;
    margin: 0 0 1rem 0;
  }
  
  .speaker-bio {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .schedule-timeline {
    padding-left: 1.5rem;
  }
  
  .schedule-timeline::before {
    left: 0.5rem;
  }
  
  .timeline-block::before {
    left: -1.25rem;
  }
  
  .timeline-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .tab-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  
  .content-tabs-section .tab-btn {
    width: 100% !important;
    text-align: center;
    margin: 0;
    flex: none;
  }
  
  .tab-content {
    padding: 2rem 1.5rem;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  
  .newsletter-form input,
  .newsletter-form select,
  .newsletter-form button {
    width: 100%;
    min-width: auto;
  }
  
  .credentials-grid {
    grid-template-columns: 1fr;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .section-padding {
    padding: 2rem 0;
  }
  
  .content-wrapper {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .countdown-segment {
    padding: 0.8rem 1rem;
  }
  
  .countdown-segment .count {
    font-size: 2rem;
  }
  
  .timeline-block {
    padding: 1.5rem;
  }
  
  .tab-content {
    padding: 1.5rem 1rem;
  }
  
  .speaker-image img {
    max-width: 250px;
  }
}

/* === Tight responsive module for .overview-single (compact-module) === */
.overview-single { max-width: 760px; margin: var(--space-md,1.5rem) auto; }

.overview-card.pill.compact-module {
  display: grid;
  grid-template-columns: 2fr min-content 2fr auto; /* adjusted for better spacing */
  align-items: center;
  gap: clamp(0.6rem, 2vw, 1rem);
  padding: clamp(0.85rem, 2.5vw, 1.15rem) clamp(1rem, 3vw, 1.5rem);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(156,51,40,0.15);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  border-radius: 999px;
}

.compact-module .module-left { min-width: 0; }
.compact-module .module-title {
  white-space: normal;
  word-break: keep-all;
  margin: 0.15rem 0 0;
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  line-height: 1.25;
  color: var(--brand-red);
  font-weight: 600;
}
.compact-module .module-sub {
  margin: 0.15rem 0 0;
  font-size: clamp(0.78rem, 2vw, 0.9rem);
  color: var(--plantissima-green);
  opacity: 0.8;
}

.compact-module .module-badge {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: var(--earthy-olive-lightest);
  color: var(--earthy-olive-dark);
  border: 1px solid var(--brown-light);
}

.compact-module .module-divider {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, transparent, rgba(156,51,40,0.25), transparent);
}

.compact-module .module-points {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: clamp(0.78rem, 2vw, 0.9rem);
  color: var(--plantissima-green);
  opacity: 0.9;
}
.compact-module .module-points li {
  white-space: nowrap;
}

.compact-module .module-cta .btn-primary {
  min-width: auto;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  border-radius: 999px;
}

/* Hover polish */
.overview-card.pill.compact-module:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.10);
}

/* Small screens */
@media (max-width: 720px) {
  .overview-card.pill.compact-module {
    grid-template-columns: 1fr;
    border-radius: 2px;
    text-align: left;
  }
  .compact-module .module-divider { display: none; }
  .compact-module .module-points {
    grid-auto-flow: row;
    grid-template-columns: 1fr;
  }
  .compact-module .module-cta { margin-top: 0.25rem; }
}
