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

/*Base du site*/
body {
  font-family: "Bahnschrift", "Segoe UI", sans-serif;
  background-color: #f4f4f4;
  color: #222;
  line-height: 1.6;
}
/*navabr du site*/
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1e1e2f;
  padding: 15px 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.logo {
  color: #ffffff;
  font-size: 1.5em;
  font-weight: bold;
  letter-spacing: 1px;
  height: 65px;
  width: 180px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.logo img {
  height: 100%;
  width: auto;
  display: block;
}

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

.nav-links li a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
}

.nav-links li a::after {
  content: '';
  display: block;
  width: 0%;
  height: 2px;
  background-color: #8D99AE;
  transition: width 0.3s;
  position: absolute;
  bottom: -5px;
  left: 0;
}

.nav-links li a:hover {
  color: #8D99AE;
}

.nav-links li a:hover::after {
  width: 100%;
}

/*section à propos*/
.about {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 10%;
  background-color: #fff;
  gap: 50px;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  font-family: 'Franklin Gothic Medium';
}

.about-text p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #555;
}

.about-text button {
  padding: 10px 20px;
  background-color: #EF002F;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.about-text button:hover {
  background-color: #EF002F;
}

.about-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 10px;
  object-fit: cover;
}

.services {
  background-color: #f0f0f0;
  padding: 80px 10%;
}

.services h2 {
  text-align: center;
  font-size: 2em;
  margin-bottom: 40px;
  font-family: 'Franklin Gothic Medium';
}

.services-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.services-image img {
  width: 450px;
  border-radius: 10px;
}

.services-list {
  flex: 1;
}

.page-top img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
  border-radius: 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/*Contenu principal*/
.accordion {
  background: #fff;
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.4s ease;
}

.accordion-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  background-color: #EF002F;
  color: white;
  cursor: pointer;
  transition: background 0.3s ease;
}

.accordion-title:hover {
  background-color: #EF002F;
}


.arrow {
  transition: transform 0.3s ease;
}


input[type="checkbox"] {
  display: none;
}


.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.8s ease, padding 0.4s ease;
  padding: 0 20px;
}


input[type="checkbox"]:checked + .accordion-title + .accordion-content {
  max-height: 1000px; 
  padding: 25px;
  animation: fadeIn 0.8s ease;
}


input[type="checkbox"]:checked + .accordion-title .arrow {
  transform: rotate(180deg);
}


.accordion-content p {
  margin: 15px 0;
  line-height: 1.6;
  font-size: 1rem;
  color: #333;
}

.accordion-content img {
  width: 100%;
  border-radius: 12px;
  margin-top: 10px;
  transition: transform 0.5s ease, box-shadow 0.3s ease;
}

.accordion-content img:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
}

/* Animation à l’ouverture */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease, padding 0.4s ease;
  padding: 0 20px;
}

.accordion-content p {
  margin: 15px 0;
  line-height: 1.6;
}

.accordion-content img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
}

input[type="checkbox"]:checked + .accordion-title + .accordion-content {
  max-height: 700px;
  padding: 20px;
  animation: fadeIn 0.6s ease;
}

input[type="checkbox"]:checked + .accordion-title .arrow {
  transform: rotate(180deg);
}

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

footer {
            background-color: #222;
            color: #eee;
            text-align: center;
            padding: 20px;
            font-size: 0.9em;
}



