@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&family=Playfair+Display:wght@700&display=swap");

:root {
  --primary: #3498db;
  --secondary: #fbbf24;
  --dark: #2c3e50;
  --light: #ecf0f1;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
}

.main-container {
  max-width: 1200px;
  margin: 80px auto 0px;
  padding: 20px;
}

a {
  text-decoration: none;
  color: inherit;
  display: flex;
  padding: 10px;
}

h1,
h3,
h4 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
}

h2 {
  font-family: "Playfair Display", serif;
  margin: 0px 0px 15px 0px;
}

p {
  margin-bottom: 15px;
}



/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  transition: background 0.3s ease, color 0.3s ease;
  z-index: 999;
  color: rgb(49, 47, 47);
}

#header.scrolled {
  background: var(--secondary);
  color: var(--dark);
  box-shadow: var(--shadow);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  max-width: 1400px;
  margin: auto;
  background: transparent;
}

.logo {
  max-width: 40px;
  animation: upDown 2s ease-in-out infinite;
  }

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  font-weight: 600;
  transition: color 0.3s;
  position: relative;
}

nav a:hover {
  color: var(--light);
}

nav a::after {
  background-color: var(--primary);
  transition: width 0.3s;
}

nav a:hover::after {
  width: 100%;
}

.li {
  align-items: center;
}


/*Bouton*/

.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-primary {
  color: var(--dark);
  border: 2px solid var(--light);
}

.btn-primary:hover {
  border-color: transparent;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: var(--dark);
  border: 2px solid var(--dark);
  color: var(--light);
}

.btn-outline:hover {
  background-color: transparent;
  color: var(--dark);
  filter: blur(0.5px);
}

.btn-en-savoir-plus {
  background-color: var(--secondary);
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s;
  color: white;
}

.btn-en-savoir-plus:hover {
  transform: translateY(-4px);
}

/*Hero*/

.hero {
  padding: 8rem 5%;
  text-align: center;
  height: 100vh;
  align-content: center;
  background-color: var(--secondary);
}

#background-hero {
  background-image: url("img/background-hero.jpg");
  background-repeat: no-repeat;   
  background-size: cover;        
  background-position: center;   
}

.hero h1 {
  font-size: 5rem;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

h1 span {
  display: inline-block;
  color: transparent;
  -webkit-text-stroke: 2px var(--light);
  animation: upDown 2s ease-in-out infinite;
}


@keyframes upDown {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-10px); } 
  100% { transform: translateY(0); }     
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  color: #555;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}




/*Section 1*/



.service-card-1 {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.service-card h2 {
  color: #2c3e50;
  margin-top: 0;
  font-size: 1.8rem;
}

.service-card p {
  margin-bottom: 15px;
  margin-top: 10px;
}

.benefits-section {
  margin: 20px 0;
}

.benefits-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 20px;
  color: #2c3e50;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.benefit-item {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.benefit-item h3 {
  margin-bottom: 10px;
}


/*Section 2*/

.service-card-2 {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  margin-top: 100px;
}

.faq-section {
  margin: 60px 0;
}

.faq-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #2c3e50;
}

.faq-item {
  background: white;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
  margin-top: 0;
}

/* CTA */
.cta {
  padding: 5rem 5%;
  text-align: center;
  height: 100vh;
  align-content: center;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta p {
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.whatsapp-btn {
  display: inline-block;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 30%;
  padding: 15px 25px;
  background: #25d366;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: var(--box-shadow);
}

.whatsapp-btn:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: var(--box-shadow);
}

/* Footer */
footer {
  width: 100%;
  background-color: var(--dark);
  color: white;
  padding: 3rem 5% 1.5rem;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-col h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col ul li a {
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s;
}

.social-links a:hover {
  background-color: var(--primary);
}

.copyright {
  text-align: center;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  opacity: 0.8;
}


/* Responsive */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 1.5rem;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

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

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 250px;
    text-align: center;
  }
}

/* Bouton hamburger */
.menu-toggle {
  display: none;
  font-size: 32px;
  cursor: pointer;
}

/* Menu Desktop */
#nav-menu ul {
  display: flex;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

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

  .process-steps li {
    padding-left: 60px;
  }

  .process-steps li:before {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 30px 15px;
  }

  .service-card,
  .benefit-item,
  .pricing-card {
    padding: 20px;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: none;
  }
}


@media (max-width: 768px) {
  

  /* Le menu se cache */
  #nav-menu ul {
    display: none; 
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 20px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 180px;
  }

  /* Affiche le bouton hamburger en tablette */
  .menu-toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 15px;
  }

  /* Menu ouvert */
  #nav-menu ul.open {
    display: flex;
  }
}
