/* 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;
  }
}