@import "ressources.css";

.section-roue {
  margin-top: 4rem;
  padding: 0;
  margin: 0;
}

section{
  width: 100%;
  padding: 2.5rem 0rem;
  margin-top: 0!important;

}

#roue {
  padding: 0;
}

#roue img {
  width: 50%;
  min-width: 50%;
  max-width: 800px;
}

#home-bandeau {
    background-color: var(--courgette);
    margin-top: 0 !important;
}

.bandeau-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    padding-inline: 2.5rem;
}

.bandeau-container__left-col {
     display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 55%;
    color: var(--argile-blanche);
    align-items: center;
    text-align: center;
}

.bandeau-container__left-col img {
    height: 20rem;
    object-fit: cover;
    width: 100%;
}

.bandeau-container__right-col {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.home-buttons {
    width: fit-content;
    display: flex;
    flex-direction: row;
    gap: 1rem;

}
.home-button {
  padding: 0.6rem 1.3rem;
  color: inherit;
  border-color: inherit;
  background-color: inherit;

}

.demarcheImage__img{
    height: 20rem;
    object-fit: cover;
    width: 100%;
}

.button-decouvrirLesProjets {
  background-color: var(--emeraude);
  color: var(--argile-blanche);
  mix-blend-mode:lighten;
  border: 1px solid var(--emeraude);
}

.home-button:hover {
  color:white;
  mix-blend-mode: luminosity;
  border: 1px solid #8e6060;
}

.button-prendreContact {
  background-color: var(--courgette);
  border: 1px solid var(--emeraude);
}


.bandeau {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
  width: 70vw;
  min-height: 50vh;
}

.bandeau__title{
  margin-bottom: 1rem;
}

.bandeau__subtitle{
  text-transform: uppercase;
  color: #8e6060;
  mix-blend-mode: luminosity;
}

.bandeau ul.ressources {
  margin-bottom: 1rem;
}

.buttonlink{
  color: #8e6060;
  mix-blend-mode: luminosity;
  margin-top: 1rem;
}

.faq{
  max-width: 800px;
}

.demarche-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 1rem;
}

.demarche-wrapper__left-col {
  width: 100%;
  height: fit-content
}

.demarche-wrapper__right-col {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.demarche-content {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  margin-bottom: 1rem;
}

.demarcheIntro {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.demarche-wrapper.column-direction {
  flex-direction: column;
}

.demarche-wrapper.column-direction .demarche-wrapper__left-col,
.demarche-wrapper.column-direction .demarche-wrapper__right-col {
  width: 100%;
}

.demarcheIntro {
  font-family: 'Avara';
  font-size: 1.35rem;
}

/* Encart ressources */
.ressource-card__download-wrapper{
  display: none;
}

.ressource-card{
  background-color: transparent;
}

.ressource-card__image{
  background-color: transparent !important;
}

.ressource-card__title{
  color: var(--etourneau);
  font-size: inherit;
}

.ressource-card__title:hover{
color: #8e6060;
  mix-blend-mode: luminosity;}

.ressource-card__data{
  font-size: 0.9rem;
  color: #8e6060;
  mix-blend-mode: luminosity;
}
.ressources img{
object-fit: contain;
}

.ressource-card__info-wrapper{
  text-align: center;
  padding: 0;
  align-items: center;
}


.participez__title{
  margin-bottom: 1rem;
}

.participez__option{
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.nestedblock{
    display: flex;
    flex-direction: column;
    gap:1rem;
}

/* Responsive */

@media (max-width: 1000px) {
  .bandeau-container {
    flex-direction: column;
    gap: 2rem;
    align-items: center;}
  }

@media (min-width: 1600px) {
  .bandeau-container,
  .bandeau {
    max-width: 50vw;
  }
}

@media (min-width: 1200px) {

    #home-bandeau {
      min-height: 40vh;
    }

    .participez__wrapper{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 3rem;
    margin-bottom: 1rem;
}
}

@media (max-width: 1200px) {
     .participez__wrapper{
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
}

@media (max-width: 1000px) {

.participez__wrapper{
      display: grid;
      grid-template-columns: 1fr;
  }
  .demarche-wrapper__left-col,
  .demarche-wrapper__right-col {
    width: 100%
  }

  .demarche-wrapper,
  .demarche-content {
    flex-direction: column;
  }
}

@media (max-width: 900px) {

  .bandeau, .bandeau-container, .bandeau-container__left-col, .bandeau-container__right-col{
    width: 90%;
    text-align: left;
    padding-inline: 0;
    display: flex;
    flex-direction: column;
  }

    .bandeau-container__left-col {
      align-items: flex-start;
  }

  .home-buttons{
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .bandeau-container__right-col {
      align-items: flex-start;
  }

  #roue img {
    max-width: 40%;
    min-width: 55vw;
  }
}

@media (max-width: 500px) {
    #roue img {
    min-width: 85%;
  }
}
