@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 SOCIETE (COMPANY) PAGE
   ========================================================================== */

#company-v2 {
  font-family: 'DM Sans', sans-serif;
  color: #333333;
}

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

#company-v2 p {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  line-height: 1.67;
  color: #333333;
  text-align: justify;
  margin: 0 0 51px 0;
}

#company-v2 p:last-child {
  margin-bottom: 0;
}

/* Container */
#company-v2 .v2-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 65px;
  width: 100%;
  box-sizing: border-box;
}

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

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

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

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

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

#company-v2 .v2-hero-container {
  max-width: 1440px;
  margin: auto;
  padding: 80px 65px;
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 64px;
}

#company-v2 .v2-hero-container h1 {
  font-size: 56px;
  font-weight: 700;
  color: #ffffff;
  line-height: 66px;
  margin: 0;
}

#company-v2 .v2-hero-subtitle {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  line-height: 51px;
  margin: 0;
}

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

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

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

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

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

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

#company-v2 .v2-col-text {
  width: 60%;
}

#company-v2 .v2-col-image {
  width: 40%;
  display: flex;
  justify-content: center;
}

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

@media (min-width: 1200px) {
  #company-v2 #v2-section-intro .v2-col-image {
    max-width: 300px;
    width: 100%;
    flex: 0 1 300px;
    display: flex;
    justify-content: flex-start;
  }

  #company-v2 #v2-section-intro .v2-col-text {
    max-width: 845px;
    width: 100%;
    flex: 0 1 845px;
  }

  #company-v2 #v2-section-digitalisation .v2-col-text {
    max-width: 600px;
    width: 100%;
    flex: 0 1 600px;
  }

  #company-v2 #v2-section-digitalisation .v2-col-image {
    max-width: 550px;
    width: 100%;
    flex: 0 1 550px;
    display: flex;
    justify-content: flex-end;
  }
}

/* Specific Section Customizations */

/* Section 1: Intro (weight 600) */
#company-v2 #v2-section-intro p {
  font-weight: 600;
}

/* Section 2: Principles (weight 500) */
#company-v2 #v2-section-principles p {
  font-weight: 500;
}

/* Section 3: Digitalisation (weight 500) */
#company-v2 #v2-section-digitalisation p {
  font-weight: 500;
}

/* Section 4: Security (weight 500) */
#company-v2 #v2-section-security p {
  font-weight: 500;
}

/* Section 5: Team image (centered, max-width 1310px) */
#company-v2 #v2-section-team {
  text-align: center;
}

#company-v2 #v2-section-team img {
  max-width: 100%;
  height: auto;
  border-radius: 70px;
  display: block;
  margin: 0 auto;
}

/* Rounded style matching V2 illustrations */
#company-v2 .v2-img-rounded-70 {
  border-radius: 70px !important;
}

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

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

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

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

  #company-v2 .v2-col-text {
    width: 100% !important;
    flex: none !important;
  }

  #company-v2 .v2-col-image {
    width: 100% !important;
    flex: none !important;
    justify-content: center !important;
    order: -1;
    /* image on top for tablet/mobile */
  }

  #company-v2 p {
    text-align: center;
  }
}

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

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

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

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

  #company-v2 .v2-hero-subtitle {
    font-size: 18px;
  }
}
