/* Styles spécifiques pour la page d'accueil */

/* Section Introduction */
.section-intro {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--neutral);
    line-height: 1.6;
}

/* Hero Section Moderne */
.hero-modern {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background);
    overflow: hidden;
    padding: 80px 20px;
}

.hero-background {
    position: absolute;
    inset: 0;
    opacity: 0.08;
    pointer-events: none;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.3) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
    background-size: 50px 50px, 30px 30px;
    animation: float 20s ease-in-out infinite;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.hero-text-center {
    text-align: center;
    color: var(--text);
}

.hero-title {
    font-family: 'Open Sans', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: none;
    animation: slideInUp 1s ease-out;
    color: var(--text);
}

.hero-highlight {
    color: var(--primary);
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.hero-highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    animation: shine 2s ease-in-out infinite;
}

@keyframes shine {
    0%, 100% { opacity: 0; transform: scaleX(0); }
    50% { opacity: 1; transform: scaleX(1); }
}

.hero-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 3rem;
    opacity: 0.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: none;
    animation: slideInUp 1s ease-out 0.3s both;
    color: var(--neutral);
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    animation: slideInUp 1s ease-out 0.6s both;
}

.hero-btn {
    font-family: 'Open Sans', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 200px;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
}

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

.hero-btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 8px 25px rgba(132, 34, 138, 0.3);
    border: 2px solid transparent;
}

.hero-btn-primary:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(132, 34, 138, 0.4);
    text-decoration: none;
}

.hero-btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: 0 8px 25px rgba(132, 34, 138, 0.15);
}

.hero-btn-secondary:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(132, 34, 138, 0.25);
    text-decoration: none;
}

.hero-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.hero-btn:hover i {
    transform: scale(1.2);
}

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

/* Processus Cards Styles */
.processus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.processus-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.processus-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.processus-card.expanded {
    grid-column: 1 / -1;
    max-width: none;
}

.processus-card-header {
    background: var(--primary);
    color: white;
    padding: 25px 20px;
    text-align: center;
    position: relative;
}

.processus-card-header h3 {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.3;
}

.processus-card-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.expand-indicator {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.processus-card.expanded .expand-indicator {
    transform: translateY(-50%) rotate(180deg);
}

.processus-card-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    padding: 0;
}

.processus-card.expanded .processus-card-body {
    max-height: 2000px;
    padding: 40px 20px;
}

/* Timeline Styles */
.timeline {
    display: flex;
    flex-direction: column;
    margin: 20px auto;
    position: relative;
    max-width: 1000px;
}

.timeline__event {
    margin-bottom: 20px;
    position: relative;
    display: flex;
    margin: 20px 0;
    border-radius: 6px;
    align-self: center;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s forwards;
}

.timeline__event:nth-child(2n + 1) {
    flex-direction: row-reverse;
}

.timeline__event:nth-child(2n + 1) .timeline__event__date {
    border-radius: 0 6px 6px 0;
}

.timeline__event:nth-child(2n + 1) .timeline__event__content {
    border-radius: 6px 0 0 6px;
}

.timeline__event__title {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2rem;
    line-height: 1.4;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.timeline__event__content {
    padding: 20px;
    box-shadow: 0 30px 60px -12px rgba(50, 50, 93, 0.25),
        0 18px 36px -18px rgba(0, 0, 0, 0.3),
        0 -12px 36px -8px rgba(0, 0, 0, 0.025);
    background: #fff;
    flex: 1;
    border-radius: 0 6px 6px 0;
}

.timeline__event__date {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: 0 20px;
    border-radius: 6px 0 0 6px;
    min-width: 80px;
}

.timeline__event__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    align-self: center;
    margin: 0 20px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    box-shadow: 0 30px 60px -12px rgba(50, 50, 93, 0.25),
        0 18px 36px -18px rgba(0, 0, 0, 0.3),
        0 -12px 36px -8px rgba(0, 0, 0, 0.025);
    position: relative;
}

.timeline__event__icon i {
    font-size: 20px;
}

.timeline__event__icon:before {
    content: "";
    width: 2px;
    height: 100%;
    position: absolute;
    top: 0%;
    left: 50%;
    z-index: -1;
    transform: translateX(-50%);
}

.timeline__event__icon:after {
    content: "";
    width: 100%;
    height: 2px;
    position: absolute;
    z-index: -1;
    top: 50%;
    transform: translateY(-50%);
}

.timeline__event:nth-child(2n + 1) .timeline__event__icon:before {
    animation: fillTop 1s forwards ease-in-out;
}

.timeline__event:nth-child(2n + 1) .timeline__event__icon:after {
    right: 0;
    left: auto;
    animation: fillLeft 1s forwards ease-in-out;
}

.timeline__event:nth-child(2n) .timeline__event__icon:before {
    animation: fillTop 1s forwards ease-in-out;
}

.timeline__event:nth-child(2n) .timeline__event__icon:after {
    left: 0%;
    animation: fillLeftOdd 1s forwards ease-in-out;
}

.timeline__event:last-child .timeline__event__icon:before {
    content: none;
}

.timeline__event__description p {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    line-height: 1.6;
    color: #666;
}

.timeline-contact-btn {
    text-align: center;
    margin-top: 30px;
}

/* Color schemes for different cards */
.processus-card:nth-child(1) .processus-card-header {
    background: linear-gradient(135deg, #e91e63 0%, #f06292 100%);
}
.processus-card:nth-child(1) .timeline__event__title {
    color: #e91e63;
}
.processus-card:nth-child(1) .timeline__event__date {
    color: #f06292;
    background: #e91e63;
}
.processus-card:nth-child(1) .timeline__event__icon {
    background: #f06292;
    color: #e91e63;
}
.processus-card:nth-child(1) .timeline__event__icon:before,
.processus-card:nth-child(1) .timeline__event__icon:after {
    background: #f06292;
}
.processus-card:nth-child(1) .processus-btn {
    background: linear-gradient(135deg, #e91e63 0%, #f06292 100%);
}

.processus-card:nth-child(2) .processus-card-header {
    background: linear-gradient(135deg, #2196f3 0%, #64b5f6 100%);
}
.processus-card:nth-child(2) .timeline__event__title {
    color: #2196f3;
}
.processus-card:nth-child(2) .timeline__event__date {
    color: #64b5f6;
    background: #2196f3;
}
.processus-card:nth-child(2) .timeline__event__icon {
    background: #64b5f6;
    color: #2196f3;
}
.processus-card:nth-child(2) .timeline__event__icon:before,
.processus-card:nth-child(2) .timeline__event__icon:after {
    background: #64b5f6;
}
.processus-card:nth-child(2) .processus-btn {
    background: linear-gradient(135deg, #2196f3 0%, #64b5f6 100%);
}

.processus-card:nth-child(3) .processus-card-header {
    background: linear-gradient(135deg, #ff5722 0%, #ff8a65 100%);
}
.processus-card:nth-child(3) .timeline__event__title {
    color: #ff5722;
}
.processus-card:nth-child(3) .timeline__event__date {
    color: #ff8a65;
    background: #ff5722;
}
.processus-card:nth-child(3) .timeline__event__icon {
    background: #ff8a65;
    color: #ff5722;
}
.processus-card:nth-child(3) .timeline__event__icon:before,
.processus-card:nth-child(3) .timeline__event__icon:after {
    background: #ff8a65;
}
.processus-card:nth-child(3) .processus-btn {
    background: linear-gradient(135deg, #ff5722 0%, #ff8a65 100%);
}

.processus-card:nth-child(4) .processus-card-header {
    background: linear-gradient(135deg, #4caf50 0%, #81c784 100%);
}
.processus-card:nth-child(4) .timeline__event__title {
    color: #4caf50;
}
.processus-card:nth-child(4) .timeline__event__date {
    color: #81c784;
    background: #4caf50;
}
.processus-card:nth-child(4) .timeline__event__icon {
    background: #81c784;
    color: #4caf50;
}
.processus-card:nth-child(4) .timeline__event__icon:before,
.processus-card:nth-child(4) .timeline__event__icon:after {
    background: #81c784;
}
.processus-card:nth-child(4) .processus-btn {
    background: linear-gradient(135deg, #4caf50 0%, #81c784 100%);
}

.processus-card:nth-child(5) .processus-card-header {
    background: linear-gradient(135deg, #9c27b0 0%, #ba68c8 100%);
}
.processus-card:nth-child(5) .timeline__event__title {
    color: #9c27b0;
}
.processus-card:nth-child(5) .timeline__event__date {
    color: #ba68c8;
    background: #9c27b0;
}
.processus-card:nth-child(5) .timeline__event__icon {
    background: #ba68c8;
    color: #9c27b0;
}
.processus-card:nth-child(5) .timeline__event__icon:before,
.processus-card:nth-child(5) .timeline__event__icon:after {
    background: #ba68c8;
}
.processus-card:nth-child(5) .processus-btn {
    background: linear-gradient(135deg, #9c27b0 0%, #ba68c8 100%);
}

.processus-card:nth-child(6) .processus-card-header {
    background: linear-gradient(135deg, #ff9800 0%, #ffb74d 100%);
}
.processus-card:nth-child(6) .timeline__event__title {
    color: #ff9800;
}
.processus-card:nth-child(6) .timeline__event__date {
    color: #ffb74d;
    background: #ff9800;
}
.processus-card:nth-child(6) .timeline__event__icon {
    background: #ffb74d;
    color: #ff9800;
}
.processus-card:nth-child(6) .timeline__event__icon:before,
.processus-card:nth-child(6) .timeline__event__icon:after {
    background: #ffb74d;
}
.processus-card:nth-child(6) .processus-btn {
    background: linear-gradient(135deg, #ff9800 0%, #ffb74d 100%);
}

.processus-btn {
    font-family: 'Open Sans', sans-serif;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.processus-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: white;
    text-decoration: none;
}

.processus-btn i {
    font-size: 0.9rem;
}

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

@keyframes fillLeft {
    100% {
        right: 100%;
    }
}

@keyframes fillTop {
    100% {
        top: 100%;
    }
}

@keyframes fillLeftOdd {
    100% {
        left: 100%;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-modern {
        min-height: 80vh;
        padding: 60px 15px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-btn {
        min-width: 250px;
        padding: 1.2rem 2rem;
    }
    
    .processus-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .processus-card-header {
        padding: 20px 15px;
    }
    
    .processus-card.expanded .processus-card-body {
        padding: 30px 15px;
    }
    
    .processus-card-header h3 {
        font-size: 1.2rem;
    }
    
    .processus-card-icon {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }

    .timeline__event {
        flex-direction: column !important;
        align-self: center;
        width: 100%;
    }

    .timeline__event__content {
        width: 100%;
        border-radius: 0 0 6px 6px;
    }

    .timeline__event__icon {
        border-radius: 6px 6px 0 0;
        width: 100%;
        margin: 0;
        box-shadow: none;
    }

    .timeline__event__icon:before,
    .timeline__event__icon:after {
        display: none;
    }

    .timeline__event__date {
        border-radius: 0;
        padding: 20px;
    }

    .timeline__event:nth-child(2n + 1) {
        flex-direction: column !important;
    }

    .timeline__event:nth-child(2n + 1) .timeline__event__date {
        border-radius: 0;
    }

    .timeline__event:nth-child(2n + 1) .timeline__event__content {
        border-radius: 0 0 6px 6px;
    }

    .timeline__event:nth-child(2n + 1) .timeline__event__icon {
        border-radius: 6px 6px 0 0;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-btn {
        min-width: 100%;
        max-width: 300px;
    }
}

/* ========================================
   STYLES POUR LA PAGE PRÉSENTATION
   ======================================== */

/* Section Hero Présentation */
.presentation-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  padding: 80px 20px;
}

.presentation-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(132, 34, 138, 0.05) 2px, transparent 2px),
    radial-gradient(circle at 75% 75%, rgba(102, 126, 234, 0.03) 1px, transparent 1px);
  background-size: 50px 50px, 30px 30px;
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
}

.presentation-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.presentation-title {
  font-family: 'Open Sans', sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: var(--primary);
  animation: slideInUp 1s ease-out;
}

.presentation-intro {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 3rem;
  margin: 2rem auto;
  max-width: 900px;
  box-shadow: 0 8px 32px rgba(132, 34, 138, 0.1);
  animation: slideInUp 1s ease-out 0.3s both;
  position: relative;
  overflow: hidden;
}

.presentation-intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  animation: shimmer 3s ease-in-out infinite;
}

.presentation-intro p {
  font-family: 'Open Sans', sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  font-weight: 400;
  line-height: 1.7;
  margin: 0;
  color: var(--text);
  opacity: 0.9;
}

/* Section Équipe moderne */
.team-section {
  padding: 80px 20px;
  position: relative;
}

.team-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 80% 20%, rgba(132, 34, 138, 0.02) 2px, transparent 2px),
    radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.02) 1px, transparent 1px);
  background-size: 60px 60px, 40px 40px;
  animation: gentleFloat 25s ease-in-out infinite;
  pointer-events: none;
}

.team-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.team-title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 3rem;
  color: var(--primary);
  animation: slideInUp 1s ease-out;
}

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

.team-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 12px 40px rgba(132, 34, 138, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: slideInUp 1s ease-out;
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  opacity: 0.7;
}


.minister-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 25px rgba(132, 34, 138, 0.2);
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}


.minister-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.minister-role {
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.supervision-badge {
  background: var(--secondary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
  margin-top: 1rem;
  box-shadow: 0 4px 15px rgba(132, 34, 138, 0.3);
}

/* Section Pôles moderne */
.poles-section {
  padding: 80px 20px;
}

.poles-container {
  max-width: 1200px;
  margin: 0 auto;
}

.poles-title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary);
}

.poles-instruction {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--neutral);
  font-size: 1.1rem;
  background: rgba(255, 255, 255, 0.8);
  padding: 1rem 2rem;
  border-radius: 12px;
  display: inline-block;
  margin-left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 4px 15px rgba(132, 34, 138, 0.05);
}

.poles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.pole-card-modern {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 8px 30px rgba(132, 34, 138, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.pole-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pole-card-modern:hover::before {
  opacity: 1;
}

.pole-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 50px rgba(132, 34, 138, 0.15);
}

.pole-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.pole-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
}

.pole-description {
  color: var(--neutral);
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.8;
}

@keyframes gentleFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(1deg); }
}

@keyframes shimmer {
  0%, 100% { opacity: 0; transform: translateX(-100%); }
  50% { opacity: 1; transform: translateX(100%); }
}

/* Responsive pour la page présentation */
@media (max-width: 768px) {
  .presentation-hero { min-height: 60vh; padding: 60px 20px; }
  .presentation-intro { padding: 2rem; margin: 1rem; }
  .team-section, .poles-section { padding: 60px 20px; }
  .team-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .poles-grid { 
    grid-template-columns: 1fr; 
    grid-template-rows: auto;
    gap: 1.5rem; 
    max-width: none;
  }
  .team-card { padding: 2rem; }
}

@media (max-width: 600px) {
  .poles-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
/* Styles for the Action Cards Grid */
.home-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    gap: 2rem;
}

@media (max-width: 768px) {
    .home-actions-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
}

/* Action Card Styles */
.action-card {
    padding: 0 !important; /* Reset padding to handle it inside details */
    overflow: hidden;
}

.action-card__details {
    width: 100%;
}

.action-card__summary {
    list-style: none;
    cursor: pointer;
    padding: 2rem;
    position: relative;
    transition: background-color 0.2s ease;
}

.action-card__summary::-webkit-details-marker {
    display: none;
}

.action-card__header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.action-card__header h3 {
    margin: 0;
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 700;
    flex: 1;
}

.action-card__chevron {
    color: var(--primary);
    transition: transform 0.3s ease;
    font-size: 1.2rem;
}

.action-card__details[open] .action-card__chevron {
    transform: rotate(180deg);
}

.action-card__body {
    padding: 0 2rem 2rem 2rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    animation: slideDown 0.3s ease-out;
}

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

.action-card__description {
    margin-top: 1.5rem;
    color: var(--neutral);
    line-height: 1.6;
}

/* Timeline Styles */
.action-card__timeline {
    margin: 2rem 0;
    position: relative;
    padding-left: 1rem;
    border-left: 2px solid rgba(132, 34, 138, 0.15);
}

.timeline-step {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -0.4rem; /* Center on the line (line width 2px, marker width 10px -> -4px left) */
    top: 0.4rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--secondary);
}

.timeline-content {
    color: var(--dark);
    font-size: 0.95rem;
    line-height: 1.5;
}

.home-card__cta {
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
}

/* Dark Section Styles */
.home-section--dark {
    background-color: #121e18; /* Dark green/black from image */
    color: #ffffff;
    padding: 5rem 0;
}

.u-text-white { color: #ffffff !important; }
.u-text-white-50 { color: rgba(255, 255, 255, 0.6) !important; }

.home-actions-grid-dark {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0; /* No gap, using borders */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .home-actions-grid-dark {
        grid-template-columns: 1fr;
    }
}

/* Dark Action Card */
.dark-action-card {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.dark-action-card:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.dark-action-card__summary {
    list-style: none;
    cursor: pointer;
    padding: 2.5rem 2rem;
    position: relative;
}

.dark-action-card__summary::-webkit-details-marker {
    display: none;
}

.dark-action-card__header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.dark-action-card__icon {
    font-size: 1.75rem;
    color: #ffffff;
    width: 40px;
    display: flex;
    justify-content: center;
}

.dark-action-card__title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 400;
    color: #ffffff;
    flex: 1;
    letter-spacing: 0.02em;
}

.dark-action-card__toggle {
    color: rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease, color 0.3s ease;
}

.dark-action-card__details[open] .dark-action-card__toggle {
    transform: rotate(45deg); /* Plus becomes X */
    color: #ffffff;
}

.dark-action-card__body {
    padding: 0 2rem 2.5rem 5rem; /* Indented to align with text */
    color: rgba(255, 255, 255, 0.7);
    animation: fadeIn 0.4s ease;
}

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

.dark-action-card__description {
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1rem;
}

/* Dark Timeline */
.dark-timeline {
    position: relative;
    padding-left: 1.5rem;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
}

.dark-timeline__step {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.dark-timeline__step:last-child {
    margin-bottom: 0;
}

.dark-timeline__marker {
    position: absolute;
    left: -5px; /* Center on 1px border */
    top: 6px;
    width: 9px;
    height: 9px;
    background-color: #121e18; /* Match bg */
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
}

.dark-timeline__content {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .dark-action-card__body {
        padding-left: 2rem; /* Less indentation on mobile */
    }
}

/* Modern Light Section Styles */
.home-actions-grid-modern {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

@media (max-width: 900px) {
    .home-actions-grid-modern {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .home-actions-grid-modern {
        grid-template-columns: 1fr;
    }
}

/* Modern Action Card */
.modern-action-card {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: background-color 0.3s ease;
    background: transparent;
}

.modern-action-card:hover {
    background-color: rgba(132, 34, 138, 0.02); /* Very light primary tint */
}

.modern-action-card__summary {
    list-style: none;
    cursor: pointer;
    padding: 2.5rem 2rem;
    position: relative;
}

.modern-action-card__summary::-webkit-details-marker {
    display: none;
}

.modern-action-card__header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.modern-action-card__icon {
    font-size: 1.75rem;
    color: var(--primary);
    width: 40px;
    display: flex;
    justify-content: center;
}

.modern-action-card__title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    flex: 1;
    letter-spacing: 0.01em;
}

.modern-action-card__toggle {
    color: var(--neutral);
    transition: transform 0.3s ease, color 0.3s ease;
}

.modern-action-card__details[open] .modern-action-card__toggle {
    transform: rotate(45deg);
    color: var(--primary);
}

.modern-action-card__body {
    padding: 0 2rem 2.5rem 5rem;
    color: var(--neutral);
    animation: fadeIn 0.4s ease;
}

.modern-action-card__description {
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1rem;
    color: var(--neutral);
}

/* Modern Timeline */
.modern-timeline {
    position: relative;
    padding-left: 1.5rem;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.modern-timeline__step {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.modern-timeline__step:last-child {
    margin-bottom: 0;
}

.modern-timeline__marker {
    position: absolute;
    left: -5px;
    top: 6px;
    width: 9px;
    height: 9px;
    background-color: var(--white);
    border: 1px solid var(--primary);
    border-radius: 50%;
}

.modern-timeline__content {
    color: var(--dark);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .modern-action-card__body {
        padding-left: 2rem;
    }

    .modern-action-card__summary {
        padding: 1.75rem 1.5rem;
    }

    .modern-action-card__header {
        flex-wrap: wrap;
    }

    .modern-action-card__icon {
        font-size: 1.5rem;
        width: 32px;
    }

    .modern-action-card__title {
        font-size: 1.1rem;
        flex: 1 1 100%;
    }
}

/* Presentation Page Modern Styles */
.presentation-mission {
    padding: 0 0 5rem;
    margin-top: -2rem; /* Pull up to overlap hero slightly if needed, or just sit nicely */
}

.mission-card {
    background: var(--white);
    border-radius: 24px;
    padding: 3rem 4rem;
    box-shadow: 0 20px 40px rgba(132, 34, 138, 0.06);
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--neutral);
    border: 1px solid rgba(132, 34, 138, 0.05);
}

.mission-card p {
    margin-bottom: 1.5rem;
}

.mission-card p:last-child {
    margin-bottom: 0;
}

.highlight-keyword {
    color: var(--primary);
    font-weight: 700;
}

@media (max-width: 768px) {
    .mission-card {
        padding: 2rem;
        font-size: 1.1rem;
    }
}

/* Modern Team Section */
.presentation-team {
    padding: 4rem 0;
    background-color: var(--background);
}

.team-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.team-card-modern {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(132, 34, 138, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.team-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(132, 34, 138, 0.1);
}

.team-card__image-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.team-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card__name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.team-card__role {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Poles Section Spacing */
.presentation-poles {
    padding: 4rem 0;
}
