/* ========== BASE STYLES ========== */
:root {
  --primary: #4A00E0;
  --primary-light: #8E2DE2;
  --secondary: #00C7B7;
  --dark: #1A1A2E;
  --light: #FFFFFF;
  --gray: #F5F7FA;
  --text: #2D3748;
  --text-light: #718096;
  
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --border-radius: 12px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background-color: var(--light);
}

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

/* ========== TYPOGRAPHY ========== */
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

h1 {
  font-size: 2.5rem;
  color: var(--primary);
}

h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 15px;
}

h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--secondary);
  margin: 15px auto 0;
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

/* ========== HEADER ========== */
header {
  background-color: var(--light);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.logo span {
  color: var(--text);
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  font-weight: 500;
  transition: var(--transition);
}

nav a:hover {
  color: var(--primary);
}

.lang-switch a {
  font-weight: 600;
  color: var(--primary);
}

/* ========== HERO SECTION ========== */
.hero {
  text-align: center;
  padding: 5rem 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ed 100%);
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 2rem;
}

.cta {
  background-color: var(--primary);
  color: white;
  padding: 0.9rem 2rem;
  text-decoration: none;
  border-radius: var(--border-radius);
  display: inline-block;
  margin: 1rem 0;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(74, 0, 224, 0.3);
}

.cta:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 0, 224, 0.4);
}

.stats {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.stats li {
  font-weight: 600;
  background: var(--light);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  box-shadow: var(--shadow);
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-image {
  margin: 3rem auto 0;
  max-width: 900px;
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* ========== FEATURES SECTION ========== */
.features {
  padding: 5rem 0;
  background-color: var(--light);
}

.features-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.features-list li {
  background: var(--light);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  font-weight: 500;
  transition: transform 0.3s ease;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.features-list li:hover {
  transform: translateY(-5px);
}

.features-list i {
  color: var(--primary);
  font-size: 1.2rem;
  margin-top: 3px;
}

/* ========== COMPARISON SECTION ========== */
.comparison {
  padding: 5rem 0;
  background-color: var(--gray);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem auto 0;
  background: var(--light);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

th, td {
  text-align: center;
  padding: 0.75rem;
  border: 1px solid #ddd;
}

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

tbody tr:nth-child(even) {
  background-color: var(--gray);
}

.success-icon {
  color: #28a745;
}

.error-icon {
  color: #dc3545;
}

/* ========== VIDEO SECTION ========== */
.video {
  padding: 5rem 0;
  background-color: var(--light);
}

.video-container {
  text-align: center;
  margin-top: 2rem;
}

.video-container iframe {
  width: 100%;
  max-width: 800px;
  height: 450px;
  border-radius: var(--border-radius);
  border: none;
  box-shadow: var(--shadow);
}

/* ========== SUCCESS SECTION ========== */
.success {
  padding: 5rem 0;
  background-color: var(--gray);
}

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

.story {
  background: var(--light);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.story strong {
  color: var(--primary);
}

/* ========== USE CASES SECTION ========== */
.use-cases {
  padding: 5rem 0;
  background-color: var(--light);
}

.use-cases-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.use-cases-list li {
  background: var(--light);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.use-cases-list i {
  color: var(--primary);
  font-size: 1.2rem;
  margin-top: 3px;
}

/* ========== HOW IT WORKS SECTION ========== */
.how-it-works {
  padding: 5rem 0;
  background-color: var(--gray);
}

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

.step {
  background: var(--light);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.step:hover {
  transform: translateY(-5px);
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1rem;
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

/* ========== WHO FOR SECTION ========== */
.who-for {
  padding: 5rem 0;
  background-color: var(--light);
}

.audiences {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}

.audiences li {
  background: var(--primary);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.audiences i {
  font-size: 1rem;
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials {
  padding: 5rem 0;
  background-color: var(--gray);
}

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 colonnes égales */
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-cards blockquote {
  background: var(--light);
  border-left: 4px solid var(--primary);
  padding: 2rem;
  font-style: italic;
  box-shadow: var(--shadow);
  border-radius: var(--border-radius);
  position: relative;
  height: 100%; /* Hauteur égale */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-cards blockquote::before {
  content: """;
  font-size: 4rem;
  color: var(--primary-light);
  opacity: 0.2;
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  line-height: 1;
}

.testimonial-cards p {
  margin-bottom: 1.5rem;
}

.testimonial-cards cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  color: var(--primary);
  margin-top: auto; /* Alignement en bas */
}

/* ========== FAQ SECTION ========== */
.faq {
  padding: 5rem 0;
  background-color: var(--light);
}

.faq-items {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--light);
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.faq-item h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  text-align: left;
  padding-bottom: 0;
}

.faq-item h3::after {
  display: none;
}

.faq-item p {
  color: var(--text-light);
}

/* ========== CTA FINAL SECTION ========== */
.cta-final {
  padding: 5rem 0;
  text-align: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
}

.cta-final h2 {
  color: white;
}

.cta-final h2::after {
  background: var(--secondary);
}

.cta-final .section-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

/* ========== FOOTER ========== */
footer {
  background: var(--dark);
  color: white;
  text-align: center;
  padding: 3rem 0;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--secondary);
}

/* ========== COOKIE BANNER ========== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: var(--dark);
  color: white;
  text-align: center;
  padding: 1em;
  z-index: 1000;
  display: flex;
  justify-content: center;
}

#cookie-banner .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

#cookie-banner button {
  padding: 0.5em 1.5em;
  background-color: var(--secondary);
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

#cookie-banner button:hover {
  background-color: var(--secondary-light);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 1rem;
  }

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

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .stats {
    flex-direction: column;
    gap: 1rem;
  }

  section {
    padding: 3rem 1.5rem;
  }

  h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 992px) {
  .testimonial-cards {
    grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur tablettes */
  }
}

@media (max-width: 768px) {
  .testimonial-cards {
    grid-template-columns: 1fr; /* 1 colonne sur mobile */
  }
}