@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 CONSIGNATIONS (MESCONSIGNATIONS)
   ========================================================================== */

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

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

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

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

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

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

#consignation-v2 .v2-bg-grey {
  background-color: #f7fafc;
}

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

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

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

#consignation-v2 .v2-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

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

#consignation-v2 .v2-hero-title-light {
  font-weight: 300;
  display: block;
}

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

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

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

#consignation-v2 .v2-btn-hero {
  background-color: #8cc047;
  color: #ffffff;
  font-family: 'Open 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);
}

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

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

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

#consignation-v2 .v2-btn-primary {
  background-color: #8cc047;
  color: #ffffff;
  font-family: 'Open 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);
}

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

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

#consignation-v2 .v2-section-cta.left-align {
  justify-content: flex-start;
}

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

#consignation-v2 .v2-row-columns + .v2-row-columns {
  margin-top: 60px;
}

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

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

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

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

#consignation-v2 .v2-img-rounded-41 {
  max-width: 100%;
  height: auto;
  border-radius: 41px !important;
  box-shadow: none !important;
}

#consignation-v2 .v2-rounded-62 {
  border-radius: 20px !important;
}

/* Full Width / List Text */
#consignation-v2 .v2-full-text {
  max-width: 100%;
  margin: 0 auto 54px auto;
  text-align: left;
}

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

#consignation-v2 .v2-list-bullet {
  padding-left: 0;
  margin-bottom: 0;
  margin-top: 24px;
}

#consignation-v2 .v2-list-bullet li {
  margin-bottom: 12px;
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.67;
  color: #333333;
  position: relative;
  list-style-type: none;
  padding-left: 20px;
}

#consignation-v2 .v2-list-bullet li::before {
  content: '•';
  color: #333333;
  font-size: 20px;
  position: absolute;
  left: 0;
  top: -2px;
}

/* Choose Steps Section */
#consignation-v2 #v2-section-choose-steps .v2-row-columns {
  margin-top: 90px;
}

/* Video Section */
#consignation-v2 .v2-video-wrapper {
  max-width: 850px;
  margin: 40px auto;
  aspect-ratio: 16/9;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
  border: 1px solid #e2e8f0;
}

#consignation-v2 .v2-video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  padding: 0;
}

/* Section Fonctionnalites Cleanups */
#consignation-v2 #fonctionnalites {
  padding: 90px 0;
  max-width: 1200px;
  margin: 0 auto;
}

#consignation-v2 #fonctionnalites .titre-section h2 {
  font-size: 40px;
  font-weight: 700;
  color: #0478b2;
  text-align: center;
  margin-bottom: 50px;
}

#consignation-v2 #fonctionnalites .content .text-center {
  padding: 24px 15px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 240px;
}

#consignation-v2 #fonctionnalites .content img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 15px;
}

#consignation-v2 #fonctionnalites .content h3 {
  font-size: 18px;
  font-weight: 700;
  color: #012e47;
  margin: 0 0 10px 0;
  letter-spacing: normal;
}

#consignation-v2 #fonctionnalites .content {
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: #4a5568;
  display: flex;
  flex-wrap: wrap;
}

/* Suivi de chantier cards */
#consignation-v2 .v2-suivi-cards-container {
  max-width: 940px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

#consignation-v2 .v2-suivi-card {
  width: 600px;
  max-width: 100%;
  box-sizing: border-box;
  padding: 30px;
}

#consignation-v2 .v2-suivi-card.left-align {
  align-self: flex-start;
}

#consignation-v2 .v2-suivi-card.right-align {
  align-self: flex-end;
}

#consignation-v2 .v2-card-white {
  background-color: #f7fafc;
}

#consignation-v2 .v2-card-white p {
  color: #333333 !important;
}

#consignation-v2 .v2-card-blue {
  background-color: #0478b2;
}

#consignation-v2 .v2-card-blue p {
  color: #ffffff !important;
}

#consignation-v2 .v2-suivi-card p {
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
  line-height: 1.5;
  margin: 0;
  padding: 0;
}

/* Section Avantages */
#consignation-v2 #v2-section-avantages .v2-full-text {
  max-width: 1110px;
  margin: 0 auto;
  text-align: justify;
}

#consignation-v2 #v2-section-avantages .v2-full-text p {
  font-family: 'Open Sans', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  color: #333333;
  margin-bottom: 30px;
}

#consignation-v2 #v2-section-avantages .v2-full-text p strong {
  font-weight: 700;
}

#consignation-v2 #v2-section-avantages .v2-section-cta {
  margin-top: 60px;
}

#consignation-v2 h2::after,
h2.no-underline::after {
  content: none !important;
}

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

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

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

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

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

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

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

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

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

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

  #consignation-v2 #v2-section-avantages .v2-full-text {
    text-align: center;
  }

  #consignation-v2 .v2-list-bullet {
    display: inline-block;
    text-align: left;
    max-width: 500px;
    margin: 0 auto 24px auto;
  }

  #consignation-v2 #fonctionnalites .content .text-center {
    height: auto;
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  #consignation-v2 .v2-suivi-card {
    width: 100%;
    align-self: stretch !important;
  }

  #consignation-v2 .v2-hero-container h1 {
    font-size: 38px;
  }

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

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

  #consignation-v2 #v2-section-avantages .v2-full-text p {
    font-size: 18px;
  }
}

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

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