/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: #2c3029;
  background-color: #ededed;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* HEADER */
header {
  background-color: #ededed;
  padding: 15px 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 50px;
}

.photo {
  height: 300px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav a {
  text-decoration: none;
  color: #2c3029;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: #544233;
}

/* HERO */
.hero {
  background-color: #95a7b6;
  color: #ededed;
  text-align: center;
  padding: 120px 20px;
}

.hero h1 {
  font-size: 2rem;
  max-width: 700px;
  margin: 0 auto 40px;
}

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

.btn {
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn.primary {
  background-color: #2c3029;
  color: #ededed;
}

.btn.primary:hover {
  background-color: #544233;
}

.btn.secondary {
  border: 2px solid #2c3029;
  color: #2c3029;
  background: transparent;
}

.btn.secondary:hover {
  background-color: #2c3029;
  color: #ededed;
}

/* PRESENTATION */
.presentation {
  padding: 80px 20px;
  text-align: center;
  background-color: #ededed;
}

.presentation h2 {
  margin-bottom: 20px;
  color: #2c3029;
}

.presentation p {
  margin-bottom: 40px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.feature {
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* HOW IT WORKS */
.how {
  background-color: #95a7b6;
  color: #2c3029;
  padding: 80px 20px;
  text-align: center;
}

.steps {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.step {
  background: #95a7b6;
  padding: 25px;
  border-radius: 15px;
  width: 250px;
}

.step-number {
  width: 25px;
  display: block;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 10px;
}

/* CATEGORIES */
.categories {
  background-color: #ededed;
  padding: 80px 20px;
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.card {
  background-color: #fff;
  border-radius: 15px;
  padding: 25px;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

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

/* FOOTER */
footer {
  background-color: #2c3029;
  color: #ededed;
  padding: 50px 20px;
  text-align: center;
}

footer a {
  color: #95a7b6;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

footer .contact-info {
  margin-bottom: 20px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.5rem;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .header-content {
    flex-direction: column;
  }
}

/* --- PAGE COMMENT ÇA MARCHE --- */

.hero-section {
    text-align: center;
    padding: 5rem 1rem 3rem;
    background-color: #ededed;
}

.hero-section h1 {
    color: #2c3029;
    font-size: 2.5rem;
}

.hero-section p {
    color: #544233;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.breadcrumb {
    text-align: left;
    font-size: 0.9rem;
    color: #95a7b6;
    margin: 1rem 2rem;
}

.breadcrumb a {
    color: #95a7b6;
    text-decoration: none;
}

.steps-section {
    background-color: white;
    padding: 3rem 2rem;
    display: flex;
    justify-content: center;
}

.steps-container {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    max-width: 1200px;
}

.step-card {
    background-color: #ededed;
    border-radius: 20px;
    padding: 2rem;
    flex: 1 1 250px;
    max-width: 280px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.step-number {
    font-size: 2rem;
    font-weight: bold;
    color: #544233;
    background: #95a7b6;
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-separator {
    width: 50px;
    height: 2px;
    background-color: #95a7b6;
    align-self: center;
}

.cta-zone {
    text-align: center;
    margin: 3rem 0;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    background-color: #544233;
    color: #ededed;
    margin: 0.5rem;
    transition: all 0.2s;
}

.btn:hover {
    background-color: #2c3029;
}

.btn-secondary {
    background-color: #95a7b6;
    color: #2c3029;
}

.btn-secondary:hover {
    background-color: #544233;
    color: #ededed;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .steps-container {
        flex-direction: column;
        align-items: center;
    }

    .step-separator {
        width: 2px;
        height: 40px;
    }
}

/* --- CATÉGORIES --- */
.categories {
  background-color: #ededed;
  padding: 80px 20px;
  text-align: center;
}

.categories h2 {
  font-size: 2rem;
  color: #2c3029;
  margin-bottom: 40px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.card {
  background-color: #fff;
  border-radius: 20px;
  padding: 25px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.card strong {
  display: block;
  font-size: 1.2rem;
  margin: 12px 0;
  color: #2c3029;
}

.card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #544233;
}

.card .step-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .categories {
    padding: 60px 15px;
  }

  .categories h2 {
    font-size: 1.8rem;
  }

  .card {
    padding: 20px;
  }

  .card .step-icon {
    font-size: 3rem;
  }
}

/* --- FORMULAIRE ET INSCRIPTION --- */

.form-section {
  background-color: #ededed;
  padding: 60px 20px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background-color: #fff;
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

form label {
  font-weight: 600;
  color: #2c3029;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form input[type="date"],
form select {
  padding: 10px 15px;
  border: 1px solid #95a7b6;
  border-radius: 10px;
  font-size: 1rem;
  width: 100%;
}

form input[type="checkbox"] {
  margin-right: 10px;
  transform: scale(1.1);
}

form button {
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* boutons déjà existants dans ton style.css */
form .btn.primary {
  background-color: #2c3029;
  color: #ededed;
  border: none;
}

form .btn.primary:hover {
  background-color: #544233;
}

/* responsive */
@media (max-width: 768px) {
  form {
    padding: 20px 15px;
  }
}

/* FAQ Section */
.faq {
  padding: 60px 20px;
  background-color: #f8f9fa;
  text-align: center;
}

.faq h2 {
  font-size: 2em;
  margin-bottom: 40px;
  color: #333;
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-size: 1.1em;
  font-weight: 600;
  color: #222;
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-card.active .faq-question {
  color: #95a7b6;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: #fafafa;
  transition: max-height 0.3s ease;
  padding: 0 24px;
}

.faq-card.active .faq-answer {
  max-height: 200px;
  padding: 16px 24px;
}

.faq-answer p {
  color: #444;
  font-size: 0.95em;
  margin: 0;
}

.faq a {
  color: #2c3029;
  text-decoration: none;
  font-weight: 500;
}

.faq a:hover {
  text-decoration: underline;
}

/* Témoignages Section */
.testimonials {
  background-color: #f8f9fa;
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.testimonials h2 {
  font-size: 2em;
  color: #333;
  margin-bottom: 40px;
}

.testimonials-slider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
  margin: auto;
}

.slider-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
}

.testimonial {
  flex: 0 0 400px;
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.testimonial p {
  font-style: italic;
  color: #333;
  margin-bottom: 10px;
}

.testimonial span {
  display: block;
  color: #666;
  font-size: 0.9em;
}

/* Boutons navigation */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: none;
  font-size: 28px;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  color: #333;
  transition: all 0.3s ease;
  z-index: 10;
}

.nav-btn:hover {
  background: #333;
  color: #fff;
}

.nav-btn.left {
  left: 10px;
}

.nav-btn.right {
  right: 10px;
}

/* Mobile */
@media (max-width: 768px) {
  .testimonial {
    flex: 0 0 80%;
  }
  .nav-btn {
    font-size: 22px;
    padding: 8px 12px;
  }
}


.testimonials {
  width: 100%;
  max-width: 1200px;
  margin: 80px auto;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #f9fafb;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  padding: 50px 25px 70px;
  font-family: "Inter", sans-serif;
}

.testimonials h2 {
  color: #2c3029;
  font-size: 1.8em;
  margin-bottom: 30px;
  font-weight: 700;
}

/* === SLIDER === */
.slider {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.testimonial {
  min-width: 100%;
  box-sizing: border-box;
  padding: 0 30px;
}

.testimonial p {
  font-size: 1.1em;
  color: #374151;
  line-height: 1.6;
  margin-bottom: 15px;
  font-style: italic;
}

.testimonial h4 {
  font-weight: 600;
  color: #95a7b6;
}

/* === DOTS === */
.dots {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.dot {
  height: 10px;
  width: 10px;
  margin: 0 6px;
  background-color: #dbeafe;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s;
  cursor: pointer;
}

.dot.active {
  background-color: #2563eb;
}

.slider {
  display: flex;
  transition: transform 0.8s ease-in-out;
  width: 100%;
}

.testimonial {
  flex: 0 0 100%;
  box-sizing: border-box;
}

.why-lkdm {
  background-color: #95a7b6;
  padding: 80px 20px;
  text-align: center;
}

.card-link {
  text-decoration: none;
  color: inherit;
}

.card-link .card {
  transition: transform 0.2s, box-shadow 0.2s;
}

.card-link .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.grid.four-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

nav ul li {
  position: relative;
}

nav ul li a {
  text-decoration: none;
  color: inherit;
  padding: 8px 12px;
  display: block;
}

nav ul li .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  min-width: 180px;
  z-index: 100;
}

nav ul li .dropdown-menu li a {
  padding: 10px 15px;
}

nav ul li.dropdown:hover .dropdown-menu {
  display: block;
}