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

/* VARIABLES CSS */
: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);
}

/* RESET & STYLES GLOBAUX */
* {
  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);
}

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

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

/* BOUTONS */
.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(--primary);
  color: var(--light);
}

.btn-outline:hover {
  transform: translateY(-4px);
  color: white;
  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);
}

.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(--shadow);
}

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

/* HEADER & NAVIGATION */
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;
}

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

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

/* SECTIONS */

/* Section 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;
}

.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 Features */
.features {
  padding: 6rem 5%;
  max-width: 1400px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1.2s ease-out, transform 0.8s ease-out;
}

.features.visible {
  opacity: 1;
  transform: translateY(0);
  height: 100vh;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  transform: translateY(20px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  padding: 50px;
}

.section-title h2 {
  font-size: 2.2rem;
  color: var(--dark);
  margin-bottom: 1rem;
}

.section-title p {
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.features.visible .feature-card:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.features.visible .feature-card:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.features.visible .feature-card:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

.features.visible .section-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

/* Section Process / Timeline */
.container-service {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-service {
  padding: 80px 0;
}

.text-center-service {
  text-align: center;
}

.process-section {
  position: relative;
  padding: 80px 0;
}

.process-header {
  margin-bottom: 80px;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.process-header p {
  font-size: 1.25rem;
  color: var(--dark);
  max-width: 700px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--dark);
  transform: translateX(-50%);
  z-index: 1;
  border-radius: 2px;
}

.steps-container {
  position: relative;
  z-index: 2;
}

.process-step {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
  transition-property: opacity, transform;
  width: calc(50% - 40px);
}

.process-step:nth-child(odd) {
  margin-left: auto;
  padding-left: 40px;
}

.process-step:nth-child(even) {
  margin-right: auto;
  padding-right: 40px;
}

.process-step.animate {
  opacity: 1;
  transform: translateY(0);
}

.step-card {
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 30px;
  margin: 20px 0;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-weight: 700;
  font-size: 1rem;
  margin-right: 15px;
  font-family: "Montserrat", sans-serif;
}

.step-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  font-family: "Playfair Display", serif;
}

.step-content {
  color: var(--dark);
  margin-bottom: 15px;
}

.feature-list ul {
  margin-top: 20px;
}

.feature-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  list-style: none;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 15px;
  height: 15px;
  background-color: var(--secondary);
  border-radius: 50%;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.feature-item {
  background: rgba(6, 214, 160, 0.1);
  padding: 15px;
  border-radius: 8px;
  text-align: center;
}

.feature-item-zap {
  background: white;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
}

.tech-badge {
  display: inline-block;
  background: var(--secondary);
  padding: 5px 15px;
  border-radius: 20px;
  margin: 5px;
  margin-top: 20px;
  font-size: 0.9rem;
}

.cta-section-service {
  margin-top: 80px;
}

.cta-button-service {
  display: inline-flex;
  margin-top: 50px;
  align-items: center;
  padding: 12px 30px;
  border: 2px solid var(--primary);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: var(--shadow);
  color: var(--primary);
}

.cta-button-service:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(67, 97, 238, 0.4);
}

/* Section Image-Text */
.image-text-section {
  padding: 4rem 0;
  background-color: white;
}

.image-text-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.image-container {
  flex: 1;
  min-width: 0;
}

.image-container img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.text-container {
  flex: 1;
  min-width: 0;
}

.text-container h2 {
  color: #2c3e50;
  margin-bottom: 2rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.text-container p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #555;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
}

/* Section */
.pricing {
  padding: 5rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.pricing-card {
  background-color: white;
  border-radius: 10px;
  padding: 2.5rem 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s;
}

.pricing-card:hover {
  transform: translateY(-10px);
}

.pricing-card.popular {
  border: 2px solid var(--secondary);
  position: relative;
}

.popular-tag {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--secondary);
  color: white;
  padding: 0.3rem 1.5rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin: 1.5rem 0;
}

.price-popular {
  font-size: 3rem;
  font-weight: 700;
  color: var(--secondary);
  margin: 1.5rem 0;
}

.price span,
.price-popular span {
  font-size: 1rem;
  color: #666;
}

.pricing-features {
  list-style: none;
  margin: 2rem 0;
}

.pricing-features li {
  padding: 0.7rem 0;
  border-bottom: 1px solid #eee;
}

/* Section 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;
}

/* FOOTER */
footer {
  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;
}

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

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

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

.pulse {
  animation: pulse 2s infinite;
}

.float {
  animation: float 3s ease-in-out infinite;
}

/* MEDIA QUERIES */

/* Tablettes et mobiles (≤768px) */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 15px;
  }

  #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;
  }

  #nav-menu ul.open {
    display: flex;
  }

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

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

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

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

  /* Sections */
  .section-title {
    font-size: 2rem;
  }

  .section-title p {
    font-size: medium;
  }

  /* Timeline&Process */
  .timeline-line {
    display: none;
  }

  .process-step.animate {
  opacity: 1;
  transform: translateY(0);
  padding: 0;
}

  .process-step {
    width: 100%;
    padding-left: 60px;
    padding-right: 0;
  }


.process-step:nth-child(odd) {
  margin-left: auto;
  margin-bottom: 10px;
}

.process-step:nth-child(even) {
  margin-right: auto;
  margin-bottom: 10px;
}

  .process-header h2 {
    font-size: 2rem;
  }

  /* Image-Text */
  .image-text-container {
    flex-direction: column;
    padding: 1rem;
    gap: 1.5rem;
  }

  .image-container,
  .text-container {
    width: 100%;
  }

  .image-container img {
    max-height: 300px;
    object-position: center;
  }

  .text-container h2 {
    text-align: center;
  }

  /* Pricing */
  .advantages-grid {
    grid-template-columns: 1fr;
  }

  /* Services */
  .container-service {
    width: 100%;
    max-width: 1200px;
    margin-top: 600px;
    padding: 0 20px;
  }
}

/* Petits mobiles (≤480px) */
@media (max-width: 480px) {
  .image-text-container {
    padding: 1.5rem;
    gap: 1rem;
  }

  .text-container p {
    text-align: justify;
  }

  .whatsapp-btn {
  width: 70%;
}

.container-service {
    width: 100%;
    max-width: 1200px;
    margin-top: 800px;
    padding: 0 20px;
}
}