@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

/* ==========================================================================
   V2 REDESIGN FOR VGP (VERIFICATIONS GENERALES PERIODIQUES)
   ========================================================================== */

#vgp-v2 {
  font-family: 'Open Sans', sans-serif;
  color: #2d3748;
}

#vgp-v2 h1,
#vgp-v2 h2,
#vgp-v2 h3 {
  font-family: 'Open Sans', sans-serif;
  margin: 0;
  padding: 0;
}

#vgp-v2 p {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  line-height: 1.65;
  color: #333333;
  margin: 0 0 25px 0;
}

/* Container */
#vgp-v2 .v2-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Sections */
#vgp-v2 .v2-content-section {
  padding: 90px 0;
}

#vgp-v2 .v2-bg-white {
  background-color: #ffffff;
}

#vgp-v2 .v2-bg-grey {
  background-color: #f0f0f0;
}

#vgp-v2 .v2-section-title {
  font-size: 40px;
  font-weight: 700;
  color: #0478b2;
  line-height: 1.25;
  margin-bottom: 40px;
  text-align: left;
}

#vgp-v2 .v2-section-title.centered {
  text-align: center;
  margin-bottom: 50px;
}

/* Hero Section */
#vgp-v2 .v2-hero-section {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
}

#vgp-v2 .v2-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: rgba(4, 97, 151, 0.75);
  /* Dynamic overlay gradient matching Leaneo */
}

#vgp-v2 .v2-hero-container {
  max-width: 1200px;
  margin: auto;
  padding: 80px 20px;
  text-align: center;
  width: 100%;
}

#vgp-v2 .v2-hero-container h1 {
  font-size: 56px;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 35px;
}

#vgp-v2 .v2-hero-title-bold {
  font-weight: 700;
  display: block;
  margin-bottom: 24px;
}

#vgp-v2 .v2-hero-subtitle {
  font-size: 24px;
  font-weight: 400;
  color: #e2e8f0;
  line-height: 1.4;
  margin-bottom: 48px;
}

/* Buttons */
#vgp-v2 .v2-hero-cta {
  display: flex;
  justify-content: center;
}

#vgp-v2 .v2-btn-hero {
  background-color: #8cc047;
  color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  padding: 0 40px;
  height: 66px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 33px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(140, 192, 71, 0.3);
}

#vgp-v2 .v2-btn-hero:hover {
  background-color: #79ad3b;
  transform: translateY(-2px);
  color: #ffffff;
  text-decoration: none !important;
  box-shadow: 0 6px 20px rgba(140, 192, 71, 0.4);
}

#vgp-v2 .v2-btn-hero span {
  margin-left: 10px;
  transition: transform 0.3s ease;
}

#vgp-v2 .v2-btn-hero:hover span {
  transform: translateX(4px);
}

.v2-btn-primary {
  background-color: #8cc047;
  color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 0 32px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 27px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 12px rgba(140, 192, 71, 0.2);
}

.v2-btn-primary:hover {
  background-color: #79ad3b;
  transform: translateY(-2px);
  color: #ffffff;
  text-decoration: none !important;
  box-shadow: 0 6px 16px rgba(140, 192, 71, 0.3);
}

#vgp-v2 .v2-section-cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

#vgp-v2 .v2-section-cta.center-align {
  justify-content: center;
}

/* Row Columns Layout */
#vgp-v2 .v2-row-columns {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 110px;
}

#vgp-v2 .v2-col-text {
  flex: 1.1;
  text-align: justify;
}

#vgp-v2 .v2-col-image {
  flex: 0.9;
  display: flex;
  justify-content: center;
  align-items: center;
}

#vgp-v2 .v2-col-image img {
  max-width: 100%;
  height: auto;
}

#vgp-v2 .v2-img-illustration {
  max-width: 100%;
  height: auto;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Full Width / List Text */
#vgp-v2 .v2-full-text {
  max-width: 1000px;
  text-align: justify;
  margin: 0;
}

#vgp-v2 .v2-full-text p {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  line-height: 1.67;
  color: #333333;
  margin-bottom: 24px;
}

#vgp-v2 h2::after {
  content: none !important;
}

#footer-links {
  background-color: #ffffff !important;
  margin-top: 0 !important;
  padding: 60px 0 90px 0 !important;
}

#footer-links h2 {
  font-size: 40px;
  font-weight: 700;
  color: #0478b2;
  text-align: center;
  margin-bottom: 40px;
}

#footer-links a {
  color: #0478b2;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

#footer-links a:hover {
  color: #025984;
  text-decoration: underline;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 992px) {
  #vgp-v2 .v2-container {
    padding: 0 30px;
  }

  #vgp-v2 .v2-content-section {
    padding: 70px 0;
  }

  #vgp-v2 .v2-section-title {
    font-size: 32px;
    text-align: center;
  }

  #vgp-v2 .v2-row-columns {
    flex-direction: column;
    gap: 40px;
  }

  #vgp-v2 .v2-col-text {
    width: 100%;
    text-align: center;
  }

  #vgp-v2 .v2-col-image {
    width: 100%;
    order: -1;
    /* Image on top for tablet/mobile */
  }

  #vgp-v2 .v2-section-cta.left-align {
    justify-content: center;
  }

  #vgp-v2 .v2-full-text {
    text-align: center;
    padding: 0 10px;
  }
}

@media (max-width: 768px) {
  #vgp-v2 .v2-hero-container h1 {
    font-size: 38px;
    line-height: 1.3;
  }

  #vgp-v2 .v2-hero-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
  }

  #vgp-v2 .v2-btn-hero {
    height: 56px;
    font-size: 16px;
    padding: 0 30px;
  }
}

@media (max-width: 576px) {
  #vgp-v2 .v2-hero-container h1 {
    font-size: 28px;
  }

  #vgp-v2 .v2-section-title {
    font-size: 26px;
  }
}

#vgp-v2 #fonctionnalites .text-center:hover {
  background: none !important;
}

#vgp-v2 #fonctionnalites .text-center .v2-btn-primary,
#vgp-v2 #fonctionnalites .text-center .v2-btn-primary:hover {
  box-shadow: none !important;
}

#vgp-v2 #fonctionnalites {
  background-color: #f0f0f0;
}
