<!--
Section "Besoin d'aide" de la page d'accueil
-->

<template>
  <AnchoredSection id="contact">
    <LayoutContainer>
      <v-row class="center-90 mt-6">
        <v-col cols="12" lg="6" class="col">
          <v-img
            src="/images/pages/home/help/Opentalent_a_votre_service.png"
            alt="Un homme et une femme tous les deux le sourire aux lèvres se serre la main"
          />
        </v-col>

        <v-col cols="12" lg="6" class="col">
          <h3>Nous contacter</h3>

          <p>Vous souhaitez devenir partenaire d’Opentalent ?</p>
          <br />
          <p>
            Contactez-nous pour explorer ensemble de nouvelles opportunités.
          </p>

          <v-row>
            <v-btn to="/nous-contacter" class="button-faq">
              Devenir partenaire
            </v-btn>
          </v-row>
        </v-col>
      </v-row>
    </LayoutContainer>
  </AnchoredSection>
</template>

<script setup lang="ts">
import AnchoredSection from '~/components/Layout/AnchoredSection.vue'
</script>

<style scoped lang="scss">
.v-container {
  margin: 64px auto 24px auto;
  padding: 16px;
  max-width: 95%;

  .col {
    padding: 0 6px;
    display: flex;
    flex-direction: column;
  }

  .col:first-child {
    align-items: center;
  }

  .col:nth-child(2) {
    padding: 60px;
    justify-content: center;
    align-items: self-start;

    @media (max-width: 600px) {
      padding: 12px;
      * {
        max-width: 100%;
      }
    }
  }
}

.v-img {
  width: 50rem;
  border-radius: 3rem;
}

h3 {
  margin-bottom: 0.7rem;
  font-weight: 400;
  font-size: 2rem;
  line-height: 34px;
  width: 25rem;
}

p {
  width: 25rem;
  font-weight: 300;
  font-size: 1.1rem;
  line-height: 1.4rem;
  color: var(--primary-color);
}

.button-faq {
  width: 195px;
  height: 53px;
  margin-top: 30px;
  margin-left: 10px;
  background: var(--secondary-color);
  border-radius: 6px;
  color: var(--on-secondary-color);
  padding: 19px 28px;

  @media (max-width: 1240px) {
    margin-top: 24px;
    width: 40%;
    margin-left: 30%;
  }

  @media (max-width: 600px) {
    width: 90%;
    margin-left: 5%;
  }
}

@media (max-width: 1240px) {
  .v-row {
    width: 100%;
    margin: 0;
  }

  .v-img {
    width: 40rem;
    margin-left: auto;
    margin-right: auto;
    margin-top: 4rem;
  }
}
</style>
