/* Général */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}

.container {
  font-family: Arial, Helvetica, sans-serif;
}

.container2 {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #f9f9f9;
}

/* Menu Haut */
.haut {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #0078d7, #00b4d8);
  padding: 15px 60px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  top: 0;
  z-index: 100;
}

.haut-image {
  height: 60px;
  width: auto;
  transition: transform 0.3s ease;
}

.haut-image:hover {
  transform: scale(1.1);
}

.haut-menu {
  list-style: none;
  display: flex;
  gap: 40px;
}

.haut-menu li {
  color: white;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
}

.haut-menu li::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 3px;
  background-color: white;
  transition: width 0.3s ease;
}

.haut-menu li:hover {
  color: #e0f7fa;
}

.haut-menu li:hover::after {
  width: 100%;
}

.haut-menu a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.haut-menu a:hover {
  color: #e0f7fa;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .haut {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 20px;
    position: static;
  }

  .haut-menu {
    display: flex;
    align-items: center;
    gap: 15px;
  }

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

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

/* Hero Section */
.hero {
  height: 100vh;
  background: url("fond.webP") no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  font-family: "Poppins", sans-serif;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  animation: fadeInUp 1.5s ease forwards;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.3;
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 35px;
  color: #fff4e6;
}

.btn-hero {
  background: white;
  color: #ff6b00;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 94, 0, 0.3);
}

.btn-hero:hover {
  background: #ff6b00;
  color: white;
  transform: scale(1.08);
}

/* Footer */
footer {
  background-color: #222;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  font-family: Arial, sans-serif;
}

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

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

/* Contact Section */
.contact-form {
  display: flex;
  flex-direction: column;
  width: min(90%, 600px);
  margin: 0 auto;
  padding: 1rem;
}

.contact {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem;
  background: linear-gradient(135deg, #0078d7, #00b4d8);
  border-radius: 8px;
  align-items: center;
  flex-wrap: wrap;
  box-sizing: border-box;
}

.social {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.vignette {
  background-color: white;
  padding: 0.5rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-wrap: wrap;
  gap: 1em;
}

/* Realisations */
.realisations {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem;
  background: linear-gradient(135deg, #0078d7, #00b4d8);
  border-radius: 8px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  box-sizing: border-box;
  gap: 2em;
}

.realisations img {
  max-width: 100%;
  width: auto;
  height: auto;
}

/* Services Section */
.services {
  background: #f9f9f9;
  text-align: center;
  margin-top: 5em;
}

.services-title {
  font-size: 2.5rem;
  color: #0078d7;
  font-weight: 700;
  margin-bottom: 10px;
}

.services-subtitle {
  font-size: 1.1rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.service-card {
  background: #fff;
  border-radius: 12px;
  padding: 40px 25px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ff6b00, #ff9f43);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-card h3 {
  font-size: 1.4rem;
  color: #333;
  margin-bottom: 15px;
}

.service-card p {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-card {
    padding: 50px 30px;
  }

  .service-icon {
    font-size: 3rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

footer {
  margin-top: auto;
}