@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@400;700&display=swap');

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

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  scroll-padding-top: 80px;
  height: 100%;
  font-family: 'Prompt', sans-serif;
}

body {
  background-color: #f5f5f5;
  overflow-y: scroll;
  height: 100%;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  background-color: #100e2b;
  color: #fff;
  z-index: 1000;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
  width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 28px;
  font-weight: bold;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links li a {
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 10px;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #5e17eb;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: #fff;
  margin: 4px;
  border-radius: 5px;
}

/* Sections */
.hero,
.section {
  min-height: 100vh;
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}

.hero {
  background: linear-gradient(135deg, #100e2b, #3a3f5c);
}

.section:nth-of-type(even) {
  background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
}

.section:nth-of-type(odd) {
  background: linear-gradient(135deg, #ffffff, #f0f0f0);
}

.hero::before,
.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background-image: radial-gradient(circle at center, rgba(255,255,255,0.05) 0%, transparent 70%);
  opacity: 0.3;
  transform: rotate(10deg);
  pointer-events: none;
}

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

.animated {
  animation: fadeInUp 1s ease forwards;
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.hero-content {
  max-width: 800px;
  margin: 0 20px;
}

.hero h1 {
  font-size: 84px;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 1px;
  line-height: 1.1;
  word-break: break-word;
}

.hero p {
  font-size: 31px;
  color: #dddddd;
  margin-bottom: 10px;
}

.hero-description {
  font-size: 20px;
  color: #cccccc;
  margin-top: 20px;
}

/* Section Services */
#services {
  padding: 40px 20px;
}

.services-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}

.service-item {
  flex: 1 1 30%;
  background: rgba(255,255,255,0.9);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.service-item h2 {
  font-size: 28px;
  min-height: 60px;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-end;
  color: #100e2b;
}

.service-item .description {
  min-height: 120px;
  margin-bottom: 15px;
  font-size: 16px;
  color: #333;
}

.icon-list,
.advantages-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.icon-list li,
.advantages-list li {
  display: flex;
  align-items: center;
  font-size: 16px;
  margin-bottom: 10px;
  color: #333;
}

.icon-list-item,
.adv-icon {
  font-size: 20px;
  margin-right: 10px;
  color: #000;
}

/* Processus */
.process-container {
  margin-top: 40px;
  padding: 20px;
  text-align: center;
}

.process-container h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #100e2b;
}

.process-steps {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.process-step {
  flex: 1 1 220px;
  background: rgba(255,255,255,0.9);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.process-icon {
  font-size: 40px;
  color: #000;
  margin-bottom: 10px;
}

.process-step h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #100e2b;
}

.process-step p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

/* Bouton Contact */
.contact-button-container {
  display: flex;
  justify-content: center;
  margin: 40px 0 20px;
}

.btn-contact {
  display: inline-block;
  padding: 12px 25px;
  background-color: #5e17eb;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-contact:hover {
  background-color: #7a3beb;
  transform: translateY(-3px);
}

/* Contact Form */
.contact-container {
  max-width: 900px;
  margin: 0 auto 40px;
  background: rgba(255,255,255,0.9);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.contact-container h2 {
  font-size: 28px;
  color: #100e2b;
  margin-bottom: 15px;
}

.contact-container p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 5px;
  color: #100e2b;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
}

.form-group textarea {
  resize: vertical;
}

.form-group button {
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  background-color: #5e17eb;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.form-group button:hover {
  background-color: #7a3beb;
}

/* Responsive mobile */
@media (max-width: 768px) {
  html {
    scroll-snap-type: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 80px;
    right: 0;
    background: #100e2b;
    flex-direction: column;
    width: 200px;
    padding: 10px 0;
    display: none; /* Masqué par défaut */
  }

  /* Affiche le menu quand la classe .active est présente */
  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    text-align: center;
    margin: 10px 0;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero p {
    font-size: 22px;
  }

  .service-item {
    flex: 1 1 100%;
  }

  .process-step {
    flex: 1 1 100%;
  }

  .contact-container {
    margin: 60px 10px;
    padding: 20px 15px;
  }
}
