:root {
  --primary: rgba(149, 249, 149, 0.309);
  /* Bleu principal (votre couleur) */
  --primary-light: #6ba3d6;
  /* Bleu plus clair pour les survols */
  --primary-dark: rgba(6, 104, 6, 0.059);
  /* Bleu foncé pour les contrastes */
  --secondary: #d4af37;
  /* Doré/cuivre pour les accents */
  --neutral-20: rgba(7, 101, 96, 0.131);
  --neutral-50: rgba(254, 254, 1, 0.92);
  /* Jaune */
  --neutral-100: #ffffff;
  /* Blanc */
  --neutral-200: #f5f7fa;
  /* Gris très clair (fond alterné) */
  --neutral-250: #6c6c6d97;
  /* Gris moubs clair (bordures mobiles) */
  --neutral-300: #e0e5ecaf;
  /* Gris clair (bordures) */
  --neutral-800: #ffb300de;
  /* Gris foncé (textes) */
  --success: #2ecc71;
  /* Vert pour messages de succès */
  --error: #e74c3c;
  /* Rouge pour erreurs */
}

/* Titres */
h1,
h2,
h3,
h4 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  line-height: 1.2;
}

/* Corps de texte */
body,
p,
li,
.card-text {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  line-height: 1.5;
}

h1 {
  font-size: 48px;
}

h2 {
  font-size: 36px;
}

h3 {
  font-size: 24px;
}

p {
  font-size: 12px;
}

@media (max-width: 768px) {
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 20px;
  }

  p {
    font-size: 10px;
  }
}

:root {
  --spacing-xs: 0.5rem;
  /* 8px */
  --spacing-sm: 1rem;
  /* 16px */
  --spacing-md: 1.5rem;
  /* 24px */
  --spacing-lg: 2rem;
  /* 32px */
  --spacing-x0: 1rem;
  /* 16px */
  --spacing-xl: 3rem;
  /* 48px */
  --border-radius: 16px;
  /* Coins arrondis */
  --border-radius-sm: 12px;
}

.hero {
  padding: var(--spacing-x0) 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--spacing-xl);
}

.hero-title {
  font-size: 48px;
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
}

.hero-subtitle {
  display: block;
  font-size: 18px;
  color: var(--primary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: var(--spacing-sm);
}

.hero-description {
  font-size: 18px;
  color: var(--neutral-800);
  margin-bottom: var(--spacing-lg);
  opacity: 0.8;
}

.hero-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 50%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Boutons */

.btn-grad {
  background-image: linear-gradient(
    to right,
    #03412d 0%,
    #049846 51%,
    #1a5c80 100%
  );
}

.btn-grad {
  margin: 10px;
  text-align: center;
  text-transform: uppercase;
  transition: 0.5s;
  background-size: 200% auto;
  color: white;
  box-shadow:
    3 3 8px black inset 0 -3em 3em rgb(0 200 0 / 30%),
    0 0 0 2px black,
    0.3em 0.3em 1em rgb(200 0 0 / 60%);
  display: block;
  outline: none;
  border: none;

  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-grad:hover {
  background-position: right center;
  color: #000000;
  text-decoration: none;
}

.btn-grad-primary {
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary) 100%
  );

  color: rgb(0, 0, 0);
  margin-right: var(--spacing-sm);
}

.btn-grad-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-grd-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-grad-outline:hover {
  background: var(--primary);
  color: white;
}

/* Mobile */
@media (max-width: 768px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-image {
    order: -1;
  }

  .hero-image img {
    max-width: 250px;
  }
}

.services {
  padding: var(--spacing-xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
  color: #e0e5ec;
  @media screen and (max-width: 768px) {
    h2 {
      font-size: 22px;
    }
  }
}

.section-tag {
  display: inline-block;
  background: rgba(255, 118, 5, 0.1);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--spacing-sm);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
  margin: 0 50px 20px 50px;

  @media screen and (max-width: 768px) {
    grid-template-columns: 1fr;
    margin: 0 15px 10px 15px;
  }
}

.services-grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
  margin: 0 50px;
  @media screen and (max-width: 768px) {
    grid-template-columns: 1fr;
    margin: 0 15px;
  }
}

.service-card {
  background: var(--neutral-20);
  border-radius: var(--border-radius);
  padding: var(--spacing-lg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid var(--neutral-300);
  cursor: pointer;
  @media screen and (max-width: 768px) {
    border: 1px solid var(--neutral-300);
    box-shadow: 0 4px 10px var(--neutral-250);
  }
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-light);
}

.service-icon {
  width: 256px;
  height: 256px;
  background: rgba(71, 138, 201, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
  @media screen and (max-width: 768px) {
    height: 128px;
    width: auto;
    border-radius: 25%;
  }
}

.service-icon img {
  width: auto;
  height: 256px;
  @media screen and (max-width: 768px) {
    height: 128px;
    width: auto;
  }
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: var(--spacing-sm);
  color: var(--neutral-800);
}

.service-card p {
  color: var(--neutral-50);
  opacity: 0.7;
  margin-bottom: var(--spacing-md);
}

.service-card li {
  color: var(--neutral-50);
  opacity: 1;
}

.service-features {
  list-style: none;
  padding: 0;
  margin-bottom: var(--spacing-md);
}

.service-features li {
  padding: 4px 0;
  font-size: 14px;
}

.service-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  line-height: 32px;
  gap: 8px;
}

.service-link:hover {
  gap: 12px;
}

/* Mobile */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    margin: 0 10px;
  }

  .service-card {
    padding: var(--spacing-md);
  }
}

.how-it-works {
  background: var(--neutral-100);
  padding: var(--spacing-xl) 0;
}

.steps {
  display: flex;
  justify-content: space-between;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
}

.step {
  flex: 1;
  text-align: center;
  min-width: 200px;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: white;
  font-size: 28px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto var(--spacing-md);
}

.step-content,
.step-content h3,
.step-content p {
  color: rgba(255, 255, 4, 0.591);
}
.step-content h3 {
  margin-bottom: var(--spacing-sm);
}

/* Mobile */
@media (max-width: 768px) {
  .steps {
    flex-direction: column;
    align-items: center;
  }

  .step {
    max-width: 300px;
  }
}

.testimonials {
  padding: var(--spacing-xl) 0;
  background: var(--neutral-100);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-sm);
  @media screen and (max-width: 768px) {
    gap: 10px;
    grid-template-columns: 1fr;
  }
}

.testimonial-card {
  background: var(--neutral-20);
  border-radius: var(--border-radius);
  padding: var(--spacing-sm);
  @media screen and (max-width: 768px) {
    background: var(--neutral-20);
    border-radius: 12px;
    max-height: fit-content;
    padding: 0 20px 0 20px;
  }
}

.testimonial-rating {
  color: var(--secondary);
  font-size: 20px;
  margin-bottom: var(--spacing-sm);
}

.testimonial-text {
  font-style: italic;
  text-align: justify;
  margin-bottom: var(--spacing-md);
  color: rgba(255, 255, 0, 0.743);
}

.testimonial-author strong {
  display: block;
  color: var(--neutral-800);
}

.testimonial-author span {
  font-size: 12px;
  opacity: 0.6;
}

/* Mobile */

.cta-final {
  margin-top: 20px;
  padding: 10px 0;
}

.cta-card {
  text-align: center;
  color: white;
  width: fit-content;
  padding-left: 30px;
  padding-right: 30px;
  margin: 0 auto;
  border-radius: 50px;
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary) 100%
  );
}

.cta-card h2 {
  font-size: 36px;
  margin-bottom: var(--spacing-md);
  @media screen and (max-width: 768px) {
    font-size: 24px;
  }
}

.cta-card p {
  margin-bottom: var(--spacing-lg);
  opacity: 0.9;
}

.cta-note {
  font-size: 14px;
  margin-top: var(--spacing-md);
  opacity: 0.7 !important;
}

.cta-card .btn-outline {
  border-color: white;
  color: white;
}

.cta-card .btn-outline:hover {
  background: white;
  color: var(--primary);
}

/* Animation au scroll */
.service-card,
.step,
.testimonial-card {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.service-card.visible,
.step.visible,
.testimonial-card.visible {
  opacity: 1;
  transform: translateY(0);
}
