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

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* CONTENEUR */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER */
.header {
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 999;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo a {
  text-decoration: none;
  color: #0074D9;
  font-weight: 700;
  font-size: 1.5rem;
}

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

.nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.nav-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* HERO */
.hero {
  background: #0074D9;
  color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero .cta-button {
  display: inline-block;
  background: #fff;
  color: #0074D9;
  padding: 12px 25px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 5px;
  transition: background 0.3s, color 0.3s;
}

.hero .cta-button:hover {
  background: #005fa3;
  color: #fff;
}

/* SERVICES */
.service-content {
  padding: 60px 20px;
}

.service-content h2 {
  text-align: center;
  font-size: 2rem;
  color: #0074D9;
  margin-bottom: 40px;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  list-style: none;
}

.service-list li {
  background: #f9f9f9;
  padding: 20px;
  flex: 1 1 250px;
  max-width: 300px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s;
}

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

.service-icon {
  margin-bottom: 15px;
}

.service-list h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.service-list h3 a {
  text-decoration: none;
  color: #0074D9;
}

.service-list h3 a:hover {
  text-decoration: underline;
}

.service-list p {
  font-size: 0.95rem;
}

/* CONTACT */
.contact {
  background: #f4f4f4;
  padding: 60px 20px;
}

.contact-container {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1 1 300px;
}

.contact-info h2 {
  color: #0074D9;
  margin-bottom: 15px;
}

.contact-info p {
  font-size: 0.95rem;
}

.contact-form {
  flex: 1 1 400px;
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.contact-form .form-group {
  margin-bottom: 15px;
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  background: #0074D9;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background: #005fa3;
}

/* FOOTER */
.footer {
  background: #222;
  color: #fff;
  padding: 40px 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer-brand h3,
.footer-links h4 {
  color: #fff;
  margin-bottom: 15px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-links ul li a:hover {
  color: #fff;
}

.footer-legal {
  width: 100%;
  text-align: center;
  margin-top: 20px;
  font-size: 0.9rem;
  color: #ccc;
}

/* RESPONSIVE */
@media screen and (max-width: 768px) {
  .nav ul {
    display: none;
    flex-direction: column;
    gap: 10px;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 20px;
    width: 200px;
    border: 1px solid #ddd;
    padding: 15px;
    z-index: 999;
  }

.contact-info{flex:  1 1;}

  .nav ul.show {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .contact-container {
    flex-direction: column;
    align-items: center;
    padding: 30px 10px;
    gap: 20px;
  }

  .contact-info {
    margin-bottom: 0;
    text-align: center;
  }

  .contact-form {
    padding: 15px;
    width: 100%;
    max-width: 400px;
  }

  .service-list {
    flex-direction: column;
    align-items: center;
  }

  .hero {
    padding: 60px 15px;
  }

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

  .hero p {
    font-size: 1rem;
  }
}

/* CTA boutons dans les services */
.service-list li .cta-button {
  display: inline-block;
  margin-top: 15px;
  background: #0074D9;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 5px;
  transition: background 0.3s, transform 0.3s;
}

.service-list li .cta-button:hover {
  background: #005fa3;
  transform: translateY(-2px);
}
