/* ============================================
   Solution Talenteed - Modern Design System
   Inspiré de Talenteedio-Front (Angular)
   ============================================ */

/* ============================================
   CSS Variables (Design Tokens)
   ============================================ */
:root {
  /* Colors */
  --primary: #1967d2;
  --primary-hover: #0146a6;
  --primary-selected: #155dc2;
  --secondary: #1967d2;
  --secondary-hover: #0146a6;
  --success: #34a853;
  --success-hover: #2f994b;
  --warning: #e20b32;
  --background: #f5f7fc;
  --white: #ffffff;
  --black: #202124;
  --border: #ecedf2;
  
  /* Text Colors */
  --text-color: #696969;
  --title-color: #202124;
  --sub-title-color: #1a2b48;
  
  /* Social Media */
  --facebook-color: #3b5998;
  --linkedin-color: #0a66c2;
  
  /* Form */
  --form-background: #f0f5f7;
  --form-border: #f0f5f7;
  --form-placeholder: #999999;
  
  /* Sizes */
  --gap: 12px;
  --border-radius: 8px;
  --content-padding: 30px;
  --button-padding: 18px 35px 15px 35px;
  
  /* Breakpoints */
  --bp-xs: 414px;
  --bp-sm: 576px;
  --bp-md: 768px;
  --bp-lg: 992px;
  --bp-xl: 1200px;
}

/* ============================================
   Reset & Base Styles
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--background);
  color: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

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

ul {
  list-style: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #eeeeee;
  border-radius: 0;
}

::-webkit-scrollbar-thumb {
  background: rgba(25, 103, 210, 0.6);
  border-radius: 5px;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  color: var(--title-color);
  font-weight: 500;
  line-height: 1.3;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
  color: var(--text-color);
  font-size: 15px;
  line-height: 1.8;
}

/* ============================================
   Layout
   ============================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-spacing {
  padding: 80px 0;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  line-height: 20px;
  border-radius: var(--border-radius);
  padding: var(--button-padding);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: capitalize;
  gap: 10px;
}

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

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(25, 103, 210, 0.3);
}

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

.btn-secondary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(25, 103, 210, 0.3);
}

.btn-outline {
  color: var(--primary);
  background: transparent;
  border: 2px solid var(--primary);
}

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

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

.btn-white:hover {
  background: var(--background);
  transform: translateY(-2px);
}

/* ============================================
   Header
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.header-scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

.top-bar {
  background: var(--primary);
  padding: 8px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: var(--white);
  font-size: 14px;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.main-nav {
  padding: 15px 0;
}

.main-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
    height: 50px;
    transition: all 0.3s ease;
    width: auto;
    transform: scale(1.5);
}

.nav-menu {
  display: flex;
  gap: 35px;
}

.nav-menu a {
  font-size: 15px;
  font-weight: 500;
  color: var(--black);
  position: relative;
  padding: 10px 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
}

/* Dropdown */
.nav-item {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  padding: 15px 0;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 12px 25px;
  font-size: 14px;
}

.dropdown a:hover {
  background: var(--background);
  color: var(--primary);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}

/* Nav CTA Button */
.nav-cta {
  margin-left: 20px;
  padding: 12px 25px;
  min-width: auto;
  font-size: 14px;
}

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


.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--black);
  transition: all 0.3s ease;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(25, 103, 210, 0.4) 0%, rgba(21, 93, 194, 0.3) 100%);
  overflow: hidden;
  margin-top: 90px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-background .hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  will-change: opacity;
}

.hero-background .hero-slide.active {
  opacity: 0.5;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-content h1 {
  color: var(--primary);
  margin-bottom: 30px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero Slider Dots */
.hero-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 2;
}

.hero-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dots span.active,
.hero-dots span:hover {
  background: var(--white);
  transform: scale(1.2);
}

/* ============================================
   About Section
   ============================================ */
.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  background: rgba(25, 103, 210, 0.15);
  border-radius: 50%;
  z-index: -1;
}

.about-image img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-content .section-title {
  margin-bottom: 25px;
}

.about-content p {
  margin-bottom: 30px;
  text-align: justify;
}

.about-content ul,
.about-content ol {
  margin-bottom: 20px;
  padding-left: 25px;
}

.about-content ul {
  list-style: disc;
}

.about-content ol {
  list-style: decimal;
}

.about-content li {
  margin-bottom: 10px;
  color: var(--text-color);
  line-height: 1.7;
}

/* Section Title */
.section-title {
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.section-title.center {
  display: block;
  text-align: center;
}

.section-title.center::after {
  left: 50%;
  transform: translateX(-50%);
}

/* ============================================
   Services Section
   ============================================ */
.services-section {
  background: var(--background);
}

.services-header {
  text-align: center;
  margin-bottom: 60px;
}

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

.service-card {
  background: #f0f5f7c5;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  border: solid var(--primary) 1px;
  box-shadow: 0 10px 40px rgba(64, 79, 104, 0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-hover));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0px 7px 18px rgba(64, 79, 104, 0.15);
  border-color: var(--primary-hover);
}

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

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: rgba(25, 103, 210, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.service-icon img {
  width: 45px;
  height: 45px;
  transition: all 0.4s ease;
}

.service-card:hover .service-icon {
  background: var(--primary);
  transform: rotateY(180deg);
}

.service-card:hover .service-icon img {
  filter: brightness(0) invert(1);
}

.service-card h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

.service-card p {
  font-size: 14px;
  line-height: 1.7;
}

.service-card .service-details-list {
  text-align: left;
  margin: 15px 0;
  padding-left: 20px;
}

.service-card .service-details-list li {
  position: relative;
  padding-left: 15px;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text-color);
}

.service-card .service-details-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.service-card .btn {
  margin-top: 20px;
}

.no-services {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  color: var(--text-color);
}


/* ==
==========================================
   Testimonials Section
   ============================================ */
.testimonials-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.testimonials-wrapper {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 50px;
}

.testimonials-header h2 {
  color: var(--white);
}

.testimonial-card {
  background: var(--white);
  border-radius: 20px;
  padding: 50px 40px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.testimonial-quote {
  position: relative;
  margin-bottom: 30px;
}

.testimonial-quote::before {
  content: '"';
  font-size: 80px;
  color: rgba(25, 103, 210, 0.15);
  font-family: Georgia, serif;
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
}

.testimonial-quote p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-color);
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.testimonial-author h4 {
  font-size: 18px;
  color: var(--primary);
  margin: 0;
}

.testimonial-author span {
  font-size: 14px;
  color: var(--text-color);
}

/* Testimonial Slider Controls */
.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.testimonial-dot.active,
.testimonial-dot:hover {
  background: var(--white);
  transform: scale(1.2);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--black);
  color: var(--white);
}

.footer-main {
  padding: 80px 0 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 50px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  margin: 20px 0 25px;
  text-align: justify;
  line-height: 1.8;
}

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

.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: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 25px;
  color: var(--white);
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.footer-contact i {
  color: var(--primary);
  font-size: 16px;
  margin-top: 3px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 25px 0;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

/* ============================================
   Scroll to Top Button
   ============================================ */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 5px 20px rgba(25, 103, 210, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--primary-hover);
  transform: translateY(-5px);
}

/* ============================================
   Loading Animation
   ============================================ */
.loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-wrapper.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  width: 50px;
  height: 50px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* ============================================
   Utility Classes
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }

.py-1 { padding-top: 10px; padding-bottom: 10px; }
.py-2 { padding-top: 20px; padding-bottom: 20px; }
.py-3 { padding-top: 30px; padding-bottom: 30px; }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 10px; }
.gap-2 { gap: 20px; }
.gap-3 { gap: 30px; }


/* ============================================
   Single Service Page
   ============================================ */
.service-single {
  background: var(--white);
}

.service-detail-content {
  max-width: 900px;
  margin: 0 auto;
}

.service-block {
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.service-block .section-title {
  margin-bottom: 30px;
}

/* Enjeux Liste */
.enjeux-liste {
  display: grid;
  gap: 15px;
}

.enjeux-liste li {
  position: relative;
  padding-left: 30px;
  font-size: 16px;
  color: var(--text-color);
  line-height: 1.7;
}

.enjeux-liste li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* Accordion Styles */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.accordion-item {
  background: var(--background);
  border-radius: var(--border-radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-item.active {
  border-color: var(--border);
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.accordion-header:hover {
  background: rgba(25, 103, 210, 0.05);
}

.accordion-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--title-color);
}

.accordion-item.active .accordion-header h3 {
  color: var(--primary);
}

.accordion-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background: var(--primary);
  transition: all 0.3s ease;
}

.accordion-icon::before {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.accordion-icon::after {
  width: 2px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.accordion-item.active .accordion-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
  padding-bottom: 25px;
}

.accordion-content p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.accordion-list {
  display: grid;
  gap: 12px;
}

.accordion-list li {
  position: relative;
  padding-left: 25px;
  font-size: 15px;
  color: var(--text-color);
}

.accordion-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
}

/* Offre Block */
.offre-block {
  background: var(--background);
  padding: 40px;
  border-radius: 20px;
}

.offre-block .section-title {
  margin-bottom: 40px;
}


/* ============================================
   SkillPlan Page Styles
   ============================================ */
#skillplan {
  background: var(--white);
}

/* Skillplan Block */
.skillplan-block {
  max-width: 900px;
  margin: 0 auto;
}

.skillplan-description {
  color: var(--text-color);
  font-size: 16px;
  line-height: 1.8;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.skillplan-description p {
  margin-bottom: 15px;
}

/* Numbered List - Dispositif */
.skillplan-numbered-list {
  list-style: none;
  counter-reset: item;
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.numbered-item {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  background: var(--background);
  padding: 30px;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--primary);
  transition: all 0.3s ease;
}

.numbered-item:hover {
  transform: translateX(5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.item-number {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 600;
}

.item-content h4 {
  color: var(--title-color);
  margin-bottom: 10px;
  font-size: 18px;
}

.item-content p {
  color: var(--text-color);
  margin: 0;
  line-height: 1.7;
}

/* Expertise Grid */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.expertise-card {
  position: relative;
  padding-top: 50px;
}

.expertise-number {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(25, 103, 210, 0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}

.expertise-card:hover .expertise-number {
  background: var(--primary);
  color: var(--white);
}

.expertise-description {
  color: var(--text-color);
  font-size: 14px;
  line-height: 1.7;
}

.expertise-description p {
  margin-bottom: 10px;
}

.expertise-description ul {
  padding-left: 20px;
  margin-top: 10px;
}

.expertise-description ul li {
  position: relative;
  padding-left: 15px;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text-color);
}

.expertise-description ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* Avantages Grid */
.avantages-grid {
  margin-top: 50px;
}

.avantage-card {
  text-align: center;
}

.avantage-card .service-icon {
  margin-bottom: 20px;
}

.avantage-card .service-icon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

/* Consultant Section */
.consultant-wrapper {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.consultant-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 30px;
  background: rgba(25, 103, 210, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.consultant-icon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.consultant-wrapper:hover .consultant-icon {
  background: var(--primary);
  transform: scale(1.1);
}

.consultant-wrapper:hover .consultant-icon img {
  filter: brightness(0) invert(1);
}

.consultant-description {
  color: var(--text-color);
  font-size: 16px;
  line-height: 1.8;
}

.consultant-description p {
  margin-bottom: 15px;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: 20px;
}

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

/* ============================================
   SkillPlan Responsive
   ============================================ */
@media (max-width: 768px) {
  .numbered-item {
    flex-direction: column;
    text-align: center;
    padding: 25px 20px;
  }

  .item-number {
    margin: 0 auto;
  }

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

  .expertise-number {
    top: 15px;
    right: 15px;
  }

  .consultant-icon {
    width: 80px;
    height: 80px;
  }

  .consultant-icon img {
    width: 40px;
    height: 40px;
  }

  .cta-section {
    padding: 60px 0;
  }

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


/* ============================================
   Services Page - 2 Columns Layout
   ============================================ */
.services-section .services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.services-section .service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.services-section .service-card .btn {
  margin-top: auto;
}

@media (max-width: 992px) {
  .services-section .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services-section .services-grid {
    grid-template-columns: 1fr;
  }
}


/* ============================================
   Méthodologie Timeline
   ============================================ */
.methodologie-block {
  margin-top: 60px;
}

.methodologie-timeline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  position: relative;
}

.methodologie-step {
  flex: 1 1 200px;
  max-width: 250px;
  text-align: center;
  position: relative;
}

/* Ligne de connexion entre les étapes */
.methodologie-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 25px;
  right: -15px;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-hover));
}

.step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 5px 20px rgba(25, 103, 210, 0.3);
  transition: all 0.3s ease;
}

.methodologie-step:hover .step-number {
  transform: scale(1.15);
  box-shadow: 0 8px 30px rgba(25, 103, 210, 0.4);
}

.step-content {
  background: var(--background);
  padding: 25px 20px;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  height: 180px;
  display: flex;
  flex-direction: column;
}

.methodologie-step:hover .step-content {
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-5px);
}

.step-content h3 {
  font-size: 16px;
  color: var(--title-color);
  margin-bottom: 12px;
  font-weight: 600;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.step-content p {
  font-size: 14px;
  color: var(--text-color);
  line-height: 1.6;
  margin: 0;
  flex: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

/* Responsive */
@media (max-width: 992px) {
  .methodologie-step:not(:last-child)::after {
    display: none;
  }
  
  .methodologie-timeline {
    gap: 30px;
  }
}

@media (max-width: 576px) {
  .methodologie-step {
    flex: 1 1 100%;
    max-width: 100%;
  }
  
  .step-content {
    height: auto;
    min-height: 120px;
  }
  
  .step-content h3 {
    height: auto;
    min-height: 30px;
  }
}


/* ============================================
   Section Label & Title - Service Detail
   ============================================ */
.service-block .section-label {
  display: block;
  margin-bottom: 10px;
}

.service-block .section-title {
  display: block;
  margin-bottom: 30px;
}

/* Méthodologie - Centré */
.methodologie-block .section-label,
.methodologie-block .section-title {
  text-align: center;
}

.methodologie-block .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

/* ============================================
   Accordion Active State - Header White Text
   ============================================ */
.accordion-item.active .accordion-header {
  background: var(--primary);
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.accordion-item.active .accordion-header h3 {
  color: var(--white) !important;
}

.accordion-item.active .accordion-icon::before,
.accordion-item.active .accordion-icon::after {
  background: var(--white);
}


/* ============================================
   Enjeux Cards
   ============================================ */
.enjeux-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.enjeux-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--border-radius);
  padding: 25px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  transition: all 0.3s ease;
}

.enjeux-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-left-color: var(--primary-hover);
}

.enjeux-icon {
  flex-shrink: 0;
  width: 35px;
  height: 35px;
  background: rgba(25, 103, 210, 0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.enjeux-card:hover .enjeux-icon {
  background: var(--primary);
  color: var(--white);
}

.enjeux-card p {
  margin: 0;
  color: var(--text-color);
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .enjeux-cards {
    grid-template-columns: 1fr;
  }
}


/* ============================================
   Single Service Page - Full Width Layout
   ============================================ */
.service-single {
  background: var(--white);
}

.service-single .container {
  max-width: 1200px;
}

.service-detail-content {
  width: 100%;
  max-width: 100%;
}

.service-block {
  margin-bottom: 60px;
}


/* ============================================
   Offre Block - Remove grey background
   ============================================ */
.offre-block {
  background: transparent;
  padding: 0;
}


/* ============================================
   Section Label - Unified Style
   ============================================ */
.section-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}


/* ============================================
   Accordion 2 Columns Layout
   ============================================ */
.offre-block .accordion {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.offre-block .accordion-item {
  margin: 0;
}

@media (max-width: 768px) {
  .offre-block .accordion {
    grid-template-columns: 1fr;
  }
}
