@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* @font-face {
 font-display: swap;
} */
*,
::before,
::after {
  /*pour enlever tous les margin et padding par défaut des navigateurs */
  box-sizing: border-box;
  /*la taille du container = width défini. ne compte pas les paddings*/
  padding: 0;
  margin: 0;
}

html {
  --scroll-behavior: smooth;
  scroll-behavior: smooth;
}

body {
  height: 100vh;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  line-height: 1.5em;
  color: #070609;
  -webkit-font-smoothing: antialised;
}

:root {
  --header-height: 25px;
}

section {
  padding: 40px 0;
  /*Pour espacer chaque section avec une marge intérieure de 40px en haut et en bas*/
  scroll-margin-top: calc(var(--header-height) + 5rem);
  /* pour décaler l'ancre des activités sous le menu de la page d'accueil*/
  /* border: solid red 1px; */
}

.move-section {
  margin-top: 0px;
  /*pour décaler la section de 105px à cause du menu - uniquement si menu position: fixed. pas besoin si position: sticky */
  width: 100%;
}

.visually-hidden {
  display: none;
}

.container {
  margin: 0 auto;
  padding-left: 10px;
  padding-right: 10px;
  width: 100%;
  max-width: 1240px;
  box-sizing: border-box;
  /* pour que les padding n'affectent pas la taille de l'élément*/
  /* border: solid red 1px; */
}

.flex-horizontal {
  display: flex;
}

/* supprimer tous les margin par défaut des titres*/
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

h1 {
  margin-bottom: 20px;
  padding-bottom: 20px;
  font-size: clamp(1.5rem, calc(1vw + 1.2rem), 1.8rem);
  font-weight: 600;
  line-height: 1.4em;
  color: rgb(77, 71, 71);
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

h2 {
  margin-bottom: 20px;
  padding-bottom: 20px;
  font-size: clamp(1.3rem, calc(1vw + 1.1rem), 1.7rem);
  font-weight: 600;
  line-height: 1.4em;
  color: rgb(77, 71, 71);
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

button {
  padding: 15px 20px;
  font-size: 1rem;
  font-weight: 400;
  border: none;
  border-radius: 20px;
  transition: all .3s;
  cursor: pointer;
}

/*footer*/
footer {
  padding-bottom: 10px;
  background-color: #17171B;
  color: #FFF;
  text-align: center;
  font-size: 0.7em;
}

a {
  color: inherit;
  transition: all .3s;
  /*modification effectuée progressivement au lieu de instantanément*/
}

a:hover {
  opacity: 0.5;
}

.readon {
  text-decoration: none;
}

.souligne {
  display: inline-block;
  font-weight: 700;
  font-size: clamp(1rem, calc(1vw + 0.8rem), 1.3rem);
  padding-bottom: 0.5rem;
}

.lien_logo {
  margin-right: 15px;
}

/*header*/
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: 25px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  background-color: #ffffff;
  height: var(--header-height);
  /*permet de décaler l'ancre activités sous le menu de la page d'accueil */
  /* border: solid red 1px; */
}

header .contenant {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0px 50px;
  margin: 0;
}

header .contenant nav ul {
  padding: 0px;
  margin: 0;
  list-style: none;
  column-gap: 20px;
}

header .contenant nav ul a {
  text-decoration: none;
}

header .contenant .bt-right {
  align-items: center;
  justify-content: center;
}

header .contenant .bt-right a img {
  vertical-align: middle;
}

header .btn-rechercher,
header .btn-membre {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  /*mettre même taille que header */
  background-color: #FFFFFF;
  padding: 0 15px;
}

header .loupe-icon {
  width: 15px;
  padding-left: 5px;
}

header .drapeau_fr,
header .drapeau_en {
  margin-left: 5px;
  margin-right: 5px;
}

/* background*/
.bg-grey {
  background-color: #F3F3F3;
}

.bg-green {
  background-color: #003224;
  color: #FFFFFF;
}

.bg-black {
  background-color: #070609;
  color: #FFF;
}

/* buttons */
.btn-green {
  padding: 5px 10px;
  background: #a7c51e;
  color: #FFF;
  text-decoration: none;
  border-radius: 8px;
}

.btn-green:hover {
  background-color: green;
  opacity: 1;
}

.btn-yellow {
  background: #F6E65F;
}

.btn-yellow:hover {
  background: #E8D42C;
}

.bouton_deconnexion {
  float: right;
  font: 1em "Popins";
  color: white;
  text-decoration: none;
  padding: 15px;
  border-radius: 5px 5px 5px 5px;
  /*arrondi de chaque boite */
  background: #070609;
}

#en_construction {
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#en_construction img {
  width: 80%;
  object-fit: contain;
}

/*Menu déroulant*/
#menu {
  position: sticky;
  top: 25px;
  z-index: 1000;
  width: 100%;
  padding: 0px;
  background-color: #ffffff;
}

#menu .container {
  background-color: #ffffff;
  height: 80px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  /* border: solid rgb(0, 17, 255) 2px; */
}

#logo_vitinnov_slogan {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 10px;
  /*border: solid red 1px;*/
}

#logo_vitinnov_slogan a img {
  width: 250px;
}

#logo_vitinnov_slogan a:hover {
  opacity: 1;
  /* pour ne pas voir le changement d'opacité par défaut sur tous les liens */
}

#menu .slogan {
  width: 150px;
  margin: 0;
  padding: 0;
}

#menu_deroulant {
  margin: 0;
  margin-right: 70px;
  /* décalage pour laisser la place au sous-menu*/
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 50px;
  /*hauteur du menu_deroulant*/
  background: #ffff;
  /* border: solid red 1px; */
}

#menu_deroulant a {
  margin: 0;
  padding: 0;
  color: grey;
  font-size: 1.3em;
  text-align: center;
  text-decoration: none;
  transition: none;
  opacity: 1;
}

#menu_deroulant .items {
  position: relative;
  cursor: pointer;
  font-size: 0.8em;
  padding: 0;
  margin: 0 10px;
  text-align: center;
  flex-shrink: 0;
  /*empeche chaque élément de rétrécir s'il n'y a pas la place à cause de flexbox. valeur par défaut = 1. Tout est poussé vers l'extérieur*/
}

#menu_deroulant .items:nth-child(1) {
  width: 190px;
}

#menu_deroulant .items:nth-child(2) {
  width: 120px;
}

#menu_deroulant .items:nth-child(3) {
  width: 110px;
}

#menu_deroulant .items:nth-child(4) {
  width: 110px;
}

#menu_deroulant .items:nth-child(5) {
  width: 110px;
}

#menu_deroulant .items:hover {
  border-bottom: solid #a7c51e 2px;
  border-radius: 5px;
}

/*sous liste*/
#menu_deroulant .liste_items {
  display: flex;
  list-style-type: none;
  height: 100%;
  padding-right: 50px;
  line-height: 50px;
  /*même hauteur que le conteneur ce qui permet de centrer le contenu verticalement*/
  /* border: 1px solid red; */
}

#menu_deroulant .liste_items .sous-liste {
  max-height: 0;
  margin-top: 5px;
  position: absolute;
  top: 60px;
  left: 0;
  z-index: 100;
  overflow: hidden;
  transition: 0.5s max-height 0s;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.05), 0 2px 5px 0 rgba(0, 0, 0, 0.25);
}

#menu_deroulant .items-sous-liste {
  cursor: pointer;
  list-style-type: none;
  height: 50px;
  margin: 0;
  padding: 0;
  color: grey;
  background: #fff;
  border-bottom: 0.5px solid grey;
  width: 205px;
  display: flex;
  /* Active le mode flex */
  align-items: center;
  /* Centre verticalement */
  justify-content: center;
  /* border: solid green 1px; */
}

#menu_deroulant .items-sous-liste a {
  /* border: 1px solid red; */
  display: block;
  line-height: 1.2;
}

#menu_deroulant .items-sous-liste:last-child {
  border-bottom: none;
}

#menu_deroulant .items-sous-liste:hover {
  background: rgb(207, 207, 207);
}

#menu_deroulant .items:hover>ul {
  max-height: 60em;
  z-index: 1;
}

.burger-menu-button {
  display: none;
}

.burger-menu {
  display: none;
  position: absolute;
  right: 0px;
  top: 80px;
  z-index: -10;
  /*cache le menu format mobile*/
  margin: 0;
  width: 280px;
  padding: 10px;
  background-color: #fff;
  opacity: 1;
  backdrop-filter: blur(15px);
  /* permet de flooter l'arrière plan */
  border-radius: 0 0 10px 10px;
  overflow: hidden;
  /*border: solid green 1px;*/
}

.burger-menu.open {
  display: block;
  z-index: 201;
}

.burger-menu .items-burger-menu {
  margin: 0;
  padding: 10px;
  cursor: pointer;
  list-style-type: none;
  text-align: left;
  color: grey;
  border-bottom: solid grey 1px;
}

.burger-menu .items-burger-menu:nth-child(5) {
  border-bottom: none;
}

.burger-menu .sous-liste-burger-menu {
  display: none;
}

.burger-menu .items-burger-menu a {
  margin-bottom: 2px;
  padding: 10px 0;
  text-decoration: none;
  transition: none;
  opacity: 1;
}

.burger-menu .liste_items-burger-menu .items-burger-menu .lien-items-burger-menu:hover {
  cursor: pointer;
  border-bottom: solid #a7c51e 2px;
  border-radius: 5px;
}

.burger-menu .items-burger-menu:hover>ul {
  display: block;
  position: relative;
  top: 10px;
}

.burger-menu .items-sous-liste-burger-menu {
  list-style-type: none;
  cursor: pointer;
  text-align: center;
  padding: 0;
  font-size: 1em;
}

.burger-menu .items-sous-liste-burger-menu a {
  display: block;
  /* border: 1px solid red; */
}

.burger-menu .items-sous-liste-burger-menu:hover {
  background: rgb(207, 207, 207);
}

#rechercher {
  width: 100%;
  height: 100%;
}

#rechercher .container .gsc-control-cse {
  width: 60%;
  margin: auto;
  margin-top: 150px;
  /* border: 1px solid red; */
}

/*news carousel*/
#carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0;
}

#carousel .slider {
  position: relative;
  background: rgba(255, 255, 255, 0.5);
  ;
  width: 100%;
  min-height: 40vh;
  /*hauteur du slider : à définir en fonction du  final*/
  margin: 0;
  overflow: hidden;

  /* border: solid 1px red; */
}

#carousel .slider .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  clip-path: circle(0% at 0 50%);
}

/*accueil carousel*/
#carousel .slider .slide .info-accueil {
  border: 1px solid #a7c51e;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /*permet de centrer la zone info */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 0px;
  padding: 0 20px;
  background: rgba(37, 36, 36, 0.7);
  width: 60%;
  height: 80%;
  /*taille de la zone info*/
  border-radius: 5px;
  box-shadow: 0 5px 25px rgb(1 1 1 /5%);
}

#carousel .slider .slide .info-accueil span {
  display: block;
  text-align: center;
}

#carousel .slider .slide .info-accueil .text-accueil {
  color: white;
  font-size: 3.5em;
  font-weight: 600;
  padding: 20px;
  margin-bottom: 40px;
}

#carousel .slider .slide .info-accueil .text-accueil2 {
  color: white;
  font-size: 2em;
  line-height: 1.3;
}

#carousel .slider .slide.active {
  clip-path: circle(150% at 0 50%);
  transition: 1s;
}

#carousel .slider .slide img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#carousel .slider .slide .info {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /*permet de centrer la zone info */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  color: #222;
  background: rgba(255, 255, 255, 0.7);
  width: 60%;
  /* min-height: 100px; taille de la zone info*/
  height: 80%;
  border-radius: 5px;
  box-shadow: 0 5px 25px rgb(1 1 1 /5%);
}

#carousel .slider .slide .info1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 90%;
  /*taille de la zone info */
  border-radius: 5px;
  box-shadow: 0 5px 25px rgb(1 1 1 /5%);

}

/*Photo terclimpro*/
#carousel .slider .slide .info1 img {
  width: 100%;
  height: 95%;
  object-fit: contain;
  /* la photo se redimensione automatiquement */
}

#carousel .slider .slide .info h2 {
  text-align: left;
  font-size: clamp(1rem, calc(1vw + 0.8rem), 1.3rem);
  font-weight: 400;
}

/* photo d'équipe */
#carousel .slider .slide .info1 .h2_slider_equipe {
  /* titre photo d'équipe */
  position: relative;
  width: 100%;
  padding: 0px;
  font-size: 1.2rem;
  font-weight: 400;
  color: #FFF;
  border: none;
  text-align: center;
  z-index: 100;
}

#carousel .slider .slide .info1 .photo_equipe {
  object-fit: contain;
  /* border: solid 1px red; */
}

#carousel .slider .slide .info p {
  font-size: 1em;
  font-weight: 400;
}

#carousel .slider .slide .info button {
  width: 250px;
  position: relative;
  left: 50%;
  background: #a7c51e;
  color: #FFF;
  transform: translateX(-50%);
  /*permet de centrer le boutton */
  opacity: 1;
}

#carousel .slider .slide .info button:hover {
  background: green;
  opacity: 1;
}

#carousel .slider .navigation {
  display: flex;
  min-height: 40vh;
  /*Bien indiquer la même hauteur que celle des images   */
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  transition: opacity 0.5s ease;
}

#carousel .slider:hover .navigation {
  opacity: 1;
}

#carousel .slider .navigation .prev-btn,
#carousel .slider .navigation .next-btn {
  z-index: 999;
  font-size: 1.5rem;
  color: #222;
  background: rgba(255, 255, 255, 0.8);
  padding: 10px;
  cursor: pointer;
}

#carousel .slider .navigation .prev-btn {

  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}

#carousel .slider .navigation .next-btn {
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}

#carousel .slider .navigation-visibility {
  z-index: 200;
  display: flex;
  justify-content: center;
}

#carousel .slider .navigation-visibility .slide-icon {
  z-index: 200;
  background: rgba(255, 255, 255, 0.5);
  width: 15px;
  height: 10px;
  transform: translateY(-5px);
  margin: 10px 6px 0px 6px;
  border-radius: 2px;
  box-shadow: 0 5px 25px rgb(1 1 1 / 20%);
}

#carousel .slider .navigation-visibility .slide-icon.active {
  background: #a7c51e;
}

#connexion {
  width: 350px;
  background: #FFFFFF;
  margin: 20px auto;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 10px;
}

#connexion fieldset {
  text-align: center;
  font-size: 1.2em;
  background: grey;
  padding-bottom: 5px;
  margin-bottom: 15px;
  color: #FFFFFF;
  letter-spacing: 0.05em;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border: 1px;
}

#connexion p {
  padding-top: 15px;
  padding-right: 50px;
  text-align: right;
}

#connexion input {
  margin-left: 30px;
  width: 150px;
}

#connexion #valider {
  width: 155px;
  font-size: 0.8em;
}

#connexion #message {
  height: 27px;
  color: #F00;
  font-size: 0.8em;
  font-weight: bold;
  text-align: center;
  padding: 10px 0 0 0;
}

/* page accueil actualités*/
#actualite .container .actualite_content {
  display: flex;
}
#actualite .container .actualite_content .actualite_content_img {
  width: auto;
  margin: 0 30px;
}
#actualite .container .actualite_vitirev {

    margin-top: 20px;
  }
 #actualite .container .separateur {
  width: 30%;
  margin: auto;
  margin-top: 40px;
  margin-bottom: 40px;
 } 

/* page presentation*/
#presentation .container {
  display: flex;
  flex-direction: column;
  padding: 0 10px;
}

#presentation .container ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
  column-gap: 35px;
  opacity: 1;
}

#presentation .container ul a:hover {
  opacity: 1;
  /*annule l'effet opacité sur les liens */
}

/* Page contact */
#form_contact {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

#contact_form em {
  font-size: 0.7em;
}

#contact_form .container form textarea {
  resize: both;
  min-width: 500px;
  min-height: 150px;
  max-width: 600px;
  padding: 5px;
}

#contact_form .container form .zone_de_saisie {
  resize: both;
  width: 500px;
  min-height: 30px;
  padding: 5px;
}

#contact_form .container form .g-recaptcha {
  width: 305px;
  padding: 0;
}

#contact_form .container form .zone_de_saisie,
#contact_form .container form textarea,
#contact_form .container form .g-recaptcha {
  border: 1px solid #a7c51e;
  margin-bottom: 10px;
}

#contact_form .container {
  padding: 0 20px;
}

#contact_form .container form .bouton_envoi_contact {
  width: 150px;
  font: 1em 'Poppins', sans-serif;
  color: white;
  border: none;
  background-color: #a7c51e;
  padding: 5px;
  margin-left: 75px;
  border-radius: 10px;
}

#contact_form {
  background-image: url("../images/background_clair.jpg");
}

/* Page acces */
#plan_acces {
  text-align: center;
}

#plan_acces .iframe_div {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 20px 0;
  padding-top: 56.25%;
  /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

#plan_acces .iframe_div .responsive-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  padding: 10px;
}

#plan_acces .text_sous_plan_acces {
  font-size: 0.6em;
}

/* Pages prestations */
#court-noue .container .diag-CN {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: start;
  justify-content: center;
  column-gap: 50px;
}

#diag-agroecologie,
#pieges,
#delta13C,
#animation,
#etudes,
#diag-climatique,
#appui {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
  align-items: center;
  justify-content: center;
}

#materiel {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
  margin: 0;
  align-items: center;
}

#diag-nematodes img,
#diag-viroses img,
#diag-agroecologie img,
#materiel img,
#pieges img,
#delta13C img,
#animation img,
#etudes img,
#diag-climatique img,
#appui img {
  width: 450px;
  border-radius: 10px;
  margin: 0;
}

#diag-nematodes img,
#diag-viroses img {
  margin-bottom: 20px;
  /*pour avoir le même espace sous le flyer que sur les autres presta*/
}

#diag-nematodes .text-flyers,
#diag-viroses .text-flyers {
  display: block;
  text-align: justify;
  width: 450px;
  height: auto;
  padding: 20px;
  border-radius: 15px;
  /* border: solid #a7c51e 2px;  */
}

#diag-agroecologie .text-flyers,
#materiel .text-flyers,
#infos-pieges .text-flyers,
#delta13C .text-flyers,
#animation .text-flyers,
#diag-climatique .text-flyers,
#appui .text-flyers {
  display: block;
  /* text-align:justify; */
  width: 100%;
  height: auto;
  padding: 20px;
  overflow-wrap: break-word;
}

#diag-nematodes ul {
  padding-left: 40px;
}

#pieges {
  margin-bottom: 40px;
}

#section-pieges .container .piege_trianglue {
  width: 60%;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  /*permet de centrer l'image */
  margin: 20px 0;
}

#infos-pieges ul,
#animation ul,
#etudes ul,
#appui ul {
  /* border: solid red 1px; */
  margin: 10px 0;
}

#infos-pieges li,
#animation li,
#etudes li,
#appui li {
  list-style: square url(../images/puce_orange.jpg) inside;
  margin-left: 20px;
  padding-left: 0px;
  padding-bottom: 10px;
  text-indent: 0px;
}

#infos-pieges .lien_commande .btn-green-commande {
  color: #fff;
  background-color: #a7c51e;
  margin: 15px 0;
  padding: 20px;
  border-radius: 8px;
  text-decoration: none;
  opacity: 1;
  width: 50%;
  text-align: center;
  font-size: 1.5rem;
}

#infos-pieges .lien_commande .btn-green-commande:hover {
  background-color: green;
  opacity: 1;
}

#infos-pieges .lien_commande {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#court-noue .container .nous_contacter,
#agroecologie .container .nous_contacter,
#climat .container .nous_contacter,
#location .container .nous_contacter,
#section-delta13C .container .nous_contacter,
#section-animation .container .nous_contacter,
#section-appui .container .nous_contacter {
  width: 450px;
  margin: auto;
  margin-top: 40px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background-color: #013d86;
  box-shadow: 6px 6px 6px grey;
}

#court-noue .container .nous_contacter h3,
#agroecologie .container .nous_contacter h3,
#location .container .nous_contacter h3,
#section-delta13C .container .nous_contacter h3,
#section-animation .container .nous_contacter h3,
#climat .container .nous_contacter h3,
#section-appui .container .nous_contacter h3 {
  margin-top: 8px;
  margin-bottom: 8px;
  color: white;
}

#court-noue .container .nous_contacter span,
#agroecologie .container .nous_contacter span,
#location .container .nous_contacter span,
#section-delta13C .container .nous_contacter span,
#section-animation .container .nous_contacter span,
#climat .container .nous_contacter span,
#section-appui .container .nous_contacter span {
  display: block;
  margin-top: 8px;
  margin-bottom: 8px;
  color: white;
  /* border: solid red 1px; */
}

#court-noue .container .nous_contacter a,
#agroecologie .container .nous_contacter a,
#location .container .nous_contacter a,
#section-delta13C .container .nous_contacter a,
#section-animation .container .nous_contacter a,
#climat .container .nous_contacter a,
#section-appui .container .nous_contacter a {
  text-decoration: none;
}

#materiel table,
#delta13C table {
  display: table;
  border-collapse: separate;
  box-sizing: border-box;
  text-indent: initial;
  unicode-bidi: isolate;
  border-spacing: 2px;
  border-color: gray;
  background-color: #FFF;
  border-spacing: 0;
  /* enlève les bordures */
  border-top: 1px solid #CCC;
  border-left: 1px solid #CCC;
}

#materiel table td,
th,
#delta13C table td,
th {
  text-align: left;
  font-size: 1em;
  font-weight: 400;
  padding: 8px;
  border-bottom: 1px solid #CCC;
  border-right: 1px solid #CCC;
}

#materiel table thead,
#delta13C table thead {
  background-color: darkgreen;
  color: #FFF;
}

#materiel table tbody tr:nth-child(odd) {
  background-color: #EBEBEB;
}

#materiel table caption,
#delta13C table caption {
  font-size: 1.3em;
  font-weight: 400;
  color: darkgreen;
  text-decoration: underline;
  margin-bottom: 10px;
}

#delta13C .text-flyers img {
  width: initial;
}

#cir {
  /* border: 1px solid red; */
  display: flex;
  justify-content: center;
  align-items: center;
  /* width: 60%; */

}

#cir img {
  max-width: 100px;
  padding: 0;
}

#etudes ul,
#appui ul {
  width: 75%;
  border: 2px solid orangered;
  border-radius: 20px;
  padding: 15px;
}

/* Equipe */
#equipe {
  background-color: #6f9858;
  /* #05320c #9f98a3* #534d57*/
}

/* 1. État initial (caché et décalé) pour l'animation */
#equipe .container .row .collaborateur .fiche-equipe,
#equipe .container .row .collaborateur1 .fiche-equipe {
  /* Styles existants */
  text-align: center;
  /* padding-bottom: 50px; */
  margin-bottom: 20px;
  color: white;
  /* Styles pour l'animation */
  opacity: 0;
  transform: translateX(100px);
  /* Décalé vers la droite au départ */
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  /* Durée et type de l'animation */
}

/* 2. État final (visible et en place) - Ceci est la classe ajoutée par JavaScript */
#equipe .container .row .collaborateur .fiche-equipe.is-visible,
#equipe .container .row .collaborateur1 .fiche-equipe.is-visible {
  opacity: 1;
  transform: translateX(0);
  /* Retour à la position normale */
}

/* Vous pouvez ajouter un délai pour les collaborateurs suivants (facultatif) */
#equipe .container .row .collaborateur:nth-child(2) .fiche-equipe {
  transition-delay: 0.2s;
}

#equipe .container .row .collaborateur:nth-child(3) .fiche-equipe {
  transition-delay: 0.5s;
}

#equipe .container .row .collaborateur:nth-child(4) .fiche-equipe {
  transition-delay: 0.2s;
}

#equipe .container .row .collaborateur:nth-child(5) .fiche-equipe {
  transition-delay: 0.5s;
}

#equipe .container h2 {
  color: white;
  border-bottom: 1px solid #FFFFFF;
}

#equipe .container .row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
  overflow: hidden;
}

#equipe .container .row .collaborateur1 {
  position: relative;
  width: 100%;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}

#equipe .container .row .collaborateur {
  position: relative;
  width: 50%;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}

#equipe .container .row .collaborateur .fiche-equipe,
#equipe .container .row .collaborateur1 .fiche-equipe {
  text-align: center;
  /* padding-bottom: 80px; */
  /* margin-bottom: 20px; */
  /* color: white; */
}

#equipe .container .row .collaborateur .fiche-equipe a,
#equipe .container .row .collaborateur1 .fiche-equipe a {
  text-decoration: none;
}

#equipe .container .row .collaborateur .fiche-equipe a:hover,
#equipe .container .row .collaborateur1 .fiche-equipe a:hover {
  text-decoration: underline;
}

#equipe .container .row .collaborateur .fiche-equipe .visuel,
#equipe .container .row .collaborateur1 .fiche-equipe .visuel {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  display: inline-block;
  background-size: cover !important;
  margin-bottom: 20px;
  /* border: solid 1px white; */
}

#equipe .container .row .collaborateur1 .fiche-equipe .visuel.dyl {
  background: url(../images/dyl2.jpg);
}

#equipe .container .row .collaborateur .fiche-equipe .visuel.ef {
  background: url(../images/ef.jpg);
}

#equipe .container .row .collaborateur .fiche-equipe .visuel.jg {
  background: url(../images/jg.jpg);
}

#equipe .container .row .collaborateur .fiche-equipe .visuel.cp {
  background: url(../images/cp.jpg);
}

#equipe .container .row .collaborateur .fiche-equipe .visuel.gd {
  background: url(../images/gd.jpg);
}

#equipe .container .row .collaborateur .fiche-equipe .visuel.mm {
  background: url(../images/mm.jpg);
}

#equipe .container .row .collaborateur .fiche-equipe .sep,
#equipe .container .row .collaborateur1 .fiche-equipe .sep {
  height: 20px;
}

#equipe .container .row .collaborateur .fiche-equipe .nom,
#equipe .container .row .collaborateur1 .fiche-equipe .nom {
  font-size: 1.4em;
  padding-bottom: 10px;
  font-weight: 700;
}

/* Acitivités */
#activites .container .flex-horizontal {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  column-gap: 20px;
  row-gap: 80px;
  justify-content: space-between;
  align-items: center;
}

#activites .container .flex-horizontal div {
  display: flex;
  flex-direction: column;
  row-gap: 50px;
  align-items: center;
  justify-content: center;
  padding: 10px;
  width: 250px;
  height: 187.5px;
  position: relative;
  background-color: #000;
  box-shadow: 6px 6px 6px grey;
  /* border: solid 1px red; */
}

#activites .container .activite_1::before {
  background-image: url("../images/IMG_20200429_092622.jpg");
}

#activites .container .activite_2::before {
  background-image: url("../images/DSC_3470_2.JPG");
}

#activites .container .activite_3::before {
  background-image: url("../images/IMG_20190805_133241.jpg");
}

#activites .container .activite_4::before {
  background-image: url("../images/DSC_2497.JPG");
}

#activites .container .activite_5::before {
  background-image: url("../images/IMG_29092016_101628.jpg");
}

#activites .container .activite_6::before {
  background-image: url("../images/IMG_20161019_112521_HDR.jpg");
}

#activites .container .activite_7::before {
  background-image: url("../images/DSC_5341.JPG");
}

#activites .container .activite_8::before {
  background-image: url("../images/carte-irouleguy.png");
}

#activites .container div div::before {
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.6;
}

#activites .container div div h3 {
  isolation: isolate;
  text-align: center;
  font-weight: 500;
  color: #fff;
}

#activites .container div div .btn-activites {
  position: relative;
  isolation: isolate;
}

/*Compétences*/
#competences .container {
  display: flex;
  align-items: start;
  justify-content: space-around;
}

#competences .container div {
  width: 33%;
  min-height: 380px;
  padding: 10px;
  margin: 0 20px;
  background-color: #fff;
  color: black;
  border-bottom: 6px solid #a7c51e;
  border-radius: 10%;
}

#competences .container div a {
  text-decoration: none;
  padding: 10px;
}

#competences .container div a:hover {
  text-decoration: none;
  color: black;
  opacity: 0.7;
}

#competences .container div p {
  padding-bottom: 15px;
}

/*Membres*/
#membres Table {
  min-width: 850px;
  margin-left: auto;
  margin-right: auto;
  overflow-x: auto;
}

/*contact*/
#contact .container {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#contact .container h2 {
  display: inline-block;
  margin-bottom: 20px;
  color: #fff;
}

#contact .container a {
  text-decoration: none;
}

#contact .container p {
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5em;
}

#contact .container span {
  display: block;
  margin-bottom: 4px;
}

#contact .container button {
  margin: 25px 0;
  padding: 10px 20px;
}

#contact .container .social-links {
  display: flex;
  align-items: center;
  justify-content: center;
}

#contact .container .styles_social-links {
  display: flex;
  justify-content: center;
  align-items: center;

  padding: 0;
  margin: 0 10px;
  border: 1px solid #a7c51e;
  border-radius: 50%;
  background-color: white;
}

/*logos page d'accueil*/
.logo-accueil1 {
  margin-left: 10px;
}

.logo-accueil {
  margin-left: 35px;
}

#logos_page_presentation {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#video_adera {
  position: relative;
  overflow: hidden;
  width: 60%;
  padding-top: 20px;
  margin-left: 50%;
  transform: translateX(-50%);
}

#video1 {
  width: 100%;
  height: 56.25%;
  /* pour avoir un ratio 16/9 */
  padding: 10px;
}


/* Page projets */
#projets .container .filter,
#publication .container .filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
  margin-bottom: 50px;
}

#projets .container button,
#publication .container button {
  padding: 10px 20px;
  font-size: 18px;
  background: #fff;
  border: none;
  box-shadow: 0 5px 5px rgba(0, 0, 0, .2);
  border-radius: 7px;
  cursor: pointer;
}

#projets .container button.active,
#publication .container button.active {
  background: #013d86;
  color: #f1f1f1;
}

#projets .container .title_list_projets {
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #013d86;
  margin: 30px 0;
}

.filtre {
  display: none;
}

#projets .container .list_projets {
  margin: 0;
  padding: 0;
  color: #FFFF;
  font-size: 2em;
  font-weight: 500;
  border-bottom: none;
}

#projets .container #container_projets {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  column-gap: 30px;
  row-gap: 60px;
}

#projets .container #container_projets .vignettes_projets {
  width: 30%;
  /* border: 1px solid black; */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.05), 0 2px 5px 0 rgba(0, 0, 0, 0.25);
  background-color: #FFFF;
  transition: transform 0.3s ease;
}

#projets .container #container_projets .vignettes_projets:hover {
  transform: translateY(-5px);
  cursor: grab;
}

#projets .container #container_projets .vignettes_projets img {
  width: 100%;
  object-fit: cover;
}

#projets .container #container_projets .vignettes_projets .card_projet {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
  /* align-items: center; */
  justify-content: center;
}

#projets .container #container_projets .vignettes_projets .card_projet .description_projet {
  color: #013d86;
}

#projets .container #container_projets .vignettes_projets .card_projet .nom_projet {
  width: 100%;
  padding: 15px;
  margin: 10px 0;
  font-size: 1.2em;
  font-weight: 500;
  border: 2px solid #013d86;
  background-color: #FFFF;
  border-radius: 10px;
  text-align: center;
}

#projets .container #container_projets .vignettes_projets .card_projet .nom_projet h3 {
  color: #013d86;
  font-size: 0.8em;
  font-weight: 500;
}

#projets .container .prog_recherche li {
  list-style: disc url(../images/puce_bleu.jpg) outside;
  margin-left: 40px;
  margin-top: 10px;
  padding-left: 0px;
  padding-bottom: 10px;
  text-indent: 0px;
}

#projets .container .liste_prog_recherche {
  font: 1em "Trebuchet MS", "Arial Black", Arial;
  color: black;
  text-align: justify;
  padding-bottom: 0px;
}

#fiche_projet .texte_projets {
  margin-bottom: 30px;
}

#fiche_projet .texte_bleu {
  color: #013d86;
  font-size: 1.5em;
  margin-bottom: 20px;
}

#fiche_projet .container .brochures_margaux {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  row-gap: 20px;
}

#fiche_projet .container .brochures_margaux div {
  /* border: 1px solid black; */
  text-align: center;
  text-overflow: clip;
  width: 130px;
  margin: 10px;
  padding: 10px;
}

#fiche_projet .container .brochures_margaux div a {
  text-decoration: none;
  color: #013d86;
}

#projets .container .btn-projet {
  position: relative;
  top: -80px;
  /* float: right; */
  padding: 10px 10px;
  background: #a7c51e;
  color: #FFF;
  text-decoration: none;
  border-radius: 8px;
}

.web_lien_vitilience,
.ecophyto-logo {
  float: right;
  margin-left: 10px;
  max-width: 250px;
  max-height: 150px;
}

#fiche_projet .container .img_financement {
  max-width: 200px;
  max-height: 120px;
}

#fiche_projet .container .img_financement_club {
  display: block;
  width: 542px;
  margin: auto;
  margin-bottom: 20px;
  border: 1px solid #013d86;
}

#fiche_projet .container .img_financement_conseil {
  display: block;
  width: 542px;
  margin-bottom: 20px;
  border: 1px solid #013d86;
}

/*Logos du footer*/
#bandeau_logo {
  background-color: #6f9858;
  padding: 20px;
}

#bandeau_logo .flex-horizontal {
  flex-wrap: wrap;
  justify-content: center;
  margin: auto;
  width: 80%;
}

#bandeau_logo .flex-horizontal .bandeau_logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 25%;
  text-align: center;
  color: white;
  padding: 20px 0;
}

#bandeau_logo .flex-horizontal .bandeau_logo-card .logo-partenaire img {
  object-fit: contain;
  width: 200px;
}

/* Style flèche remonter en haut */
.fleche {
  width: 35px;
  height: 35px;
  background: #fff;
  line-height: 35px;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  position: fixed;
  right: 25px;
  bottom: 15px;
  color: green;
  /* display: none; */
  z-index: 999;
  border-radius: 50%;
  transition: all .3s ease-in-out 0s;
  cursor: pointer;
  opacity: 0;
}

.fleche-hover {
  box-shadow: 0 3px 5px rgba(0, 0, 0, .2);
  transition: all .3s ease-in-out 0s;
}

/* Page publications */
#liste_publications ul {
  margin-top: 20px;
  padding: 0;
}

#liste_publications li.liste {
  list-style: square;
  list-style-position: inside;
  line-height: 1.5;
  text-indent: 2px;
  padding-left: 0;
  padding-bottom: 20px;
  margin-bottom: 40px;
}

/* page Journées techniques */
.modern-shadow {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
  padding: 25px;
  border: none !important;
}

.jt-card-content {
  display: flex;
  align-items: center;
  gap: 30px;
}

.jt-card-image img {
  width: 350px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.jt-card-image2 img {
  width: auto;
  height: 160px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.jt-card-text h2 {
  border-bottom: 2px solid #a7c51e;
  display: inline-block;
  padding-bottom: 5px;
  margin-bottom: 15px;
  color: #333;
}

.jt-card-download {
  margin-top: 40px;
}

.btn-green-readon {
  position: relative;
  top: 20px;
  left: 20px;
  padding: 5px 10px;
  background: #a7c51e;
  color: #FFF;
  text-decoration: none;
  border-radius: 8px;
}

.btn-green-readon-JT {
  padding: 5px 10px;
  background: #a7c51e;
  color: #FFF;
  text-decoration: none;
  border-radius: 8px;
}

.btn-green-readon:hover,
.btn-green-readon-JT:hover {
  background: green;
  opacity: 1;
}

/* Grille d'articles IVES */
.article-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.article-grid li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f9f9f9;
  padding: 12px;
  border-radius: 6px;
  font-size: 0.9rem;
}

.article-grid img {
  width: 24px;
  transition: transform 0.2s;
}

.article-grid img:hover {
  transform: scale(1.2);
}

/* Grille Vidéo */
.video-grid-container {
  margin-top: 30px;
  border-top: 1px solid #eee;
  padding-top: 20px;
}

.jt-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 15px;
}

.video-item {
  text-align: center;
}

.video-item video {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  background: #000;
}

.video-item p {
  font-size: 0.85rem;
  margin-top: 8px;
  font-weight: 500;
}

/* Archives */
.archives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.archive-item {
  text-align: center;
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  transition: transform 0.3s;
}

.archive-item:hover {
  transform: translateY(-5px);
}

.archive-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 10px;
}

.jt-separator {
  width: 50%;
  border: 0;
  border-top: 2px solid #a7c51e;
  margin: 40px auto;
  opacity: 0.3;
}

/*Page partenaires*/
.partenaires-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  padding: 20px 0;
}

.partenaire-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: calc(33.333% - 30px);
  /* 3 cartes par ligne sur desktop */
  min-width: 280px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
}

.partenaire-card:hover {
  transform: translateY(-5px);
}

.partenaire-logo img {
  max-width: 150px;
  height: auto;
  margin-bottom: 15px;
}

.partenaire-info strong {
  color: #003224;
  /* Couleur verte de votre charte */
  display: block;
  margin-bottom: 10px;
}

.partenaire-info p {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 10px;
  line-height: 1.4;
}

/*Page recrutement*/
#recrutement .container .recrutement-img {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
}

#recrutement .container .recrutement-img img {
  width: 60%;
  margin-bottom: 30px;
}

/* Page formation */
#formation .container .liste_formation li {
  list-style: square url(../images/puce_violette.jpg) inside;
  margin-left: 0px;
  padding-left: 0px;
  padding-bottom: 20px;
  text-indent: 0px;
}

.text_rose {
  color: #ad1f88;
  font-weight: bold;
}

.readon_petit {
  text-decoration: none;
  opacity: 1;
}

/* plan du site */

#sitemap .sitemap-section {
  margin-bottom: 30px;
}

#sitemap .sitemap-section h2 {
  border-bottom: 2px solid #7a1c1c;
  /* Couleur bordeaux typique de Vitinnov #7a1c1c; */
  padding-bottom: 5px;
  color: #333;
  text-transform: uppercase;
  display: inline;
  /* permet de ne pas avoir le soulignement sur toute la largeur de la fenêtre */
}

#sitemap .sitemap-list {
  list-style: none;
  padding-left: 20px;
}

#sitemap .sitemap-list li {
  margin: 8px 0;
}

#sitemap .sitemap-list a {
  text-decoration: none;
  color: #555;
  transition: color 0.3s;
}

#sitemap .sitemap-list a:hover {
  color: #7a1c1c;
  text-decoration: underline;
}

#sitemap .sub-list {
  margin-left: 25px;
  list-style: circle;
}

/* CGV */
#CGV {
  height: 100%;
  /*pour repousser le pied de page*/
}

#CGV .container p {
  margin-top: 100px;
}

/*-----------------------------------------------------------*/
/*-----------------------------------------------------------*/
@media (max-width: 1250px) {

  /*header*/
  #menu_deroulant .items {
    cursor: pointer;
    font-size: 0.8em;
    padding: 0 5px;
    margin: 0 5px;
    flex-shrink: 0;
    /*empeche chaque élément de rétrécir s'il n'y a pas la place à cause de flexbox.
                    valeur par défaut = 1. Tout est poussé vers l'extérieur*/
  }

  .slogan {
    display: none;
  }
}

@media (max-width: 1080px) {

  /*header*/
  .slogan {
    display: block;
  }

  h2 {
    text-align: center;
  }

  #menu_deroulant {
    display: none;
  }

  .burger-menu-button {
    position: absolute;
    bottom: 24px;
    right: 15px;
    width: 28px;
    height: 32px;
    display: block;
    color: grey;
    font-size: 2rem;
    cursor: pointer;
  }

  /* News slider */
  #carousel .slider {
    width: 100%;
  }

  /*presentation */
  #presentation .flex-horizontal {
    flex-wrap: wrap;
    row-gap: 20px;
  }

  #competences .flex-horizontal {
    flex-wrap: wrap;
    width: 100%;
    row-gap: 20px;
    align-items: flex-start;
    justify-content: flex-start;
  }

  #competences .flex-horizontal div {
    width: calc(50% - 40px);
  }

  /* page court-noué */
  #court-noue .container .diag-CN {
    /* width: auto; */
    display: flex;
    flex-direction: column;
    row-gap: 50px;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  #diag-agroecologie,
  #diag-climatique {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
  }

  /*page partenaires*/
  .partenaire-card {
    width: calc(50% - 30px);
  }

  /*logos page accueil */
  #bandeau_logo .flex-horizontal .bandeau_logo-card {
    width: calc(50% - 10px);
  }
}

@media (max-width: 840px) {
  header {
    position: absolute;
    height: 60px;
  }

  header .contenant {
    padding: 0;
    align-items: center;
    justify-content: Center;
    flex-direction: column;
    row-gap: 2px;
  }

  header nav {
    padding-top: 5px;
  }

  .move-section {
    margin-top: 130px;
    /*pour décaler la section de 130px à cause du menu */
  }

  #menu {
    position: absolute;
    top: 60px;
  }

  #menu .container {
    align-items: center;
    justify-content: Center;
  }

  #equipe .container .row .collaborateur {
    width: 100%;
  }

  #equipe .container .row .collaborateur .fiche-equipe,
  #equipe .container .row .collaborateur1 .fiche-equipe {
    margin-bottom: 0px;
    padding-bottom: 50px;
  }

  #equipe .container .row .collaborateur .fiche-equipe .visuel,
  #equipe .container .row .collaborateur1 .fiche-equipe .visuel {
    margin-bottom: 5px;
  }

  /*Carousel*/
  #carousel .slider .slide .info-accueil .text-accueil {
    font-size: 2em;
    font-weight: 500;
    margin-bottom: 10px;
  }

  #carousel .slider .slide .info-accueil .text-accueil2 {
    color: white;
    font-size: 1.5em;
  }

  /* page présentation */

  #logos_page_presentation {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
  }

  /*Projets*/
  #projets .container #container_projets {
    display: flex;
    flex-direction: column;
    justify-content: center;
    row-gap: 30px;
  }

  #fiche_projet p {
    font-size: 0.9rem;
  }

  #projets .container #container_projets .vignettes_projets {
    width: 100%;
  }

  /*Page journée technique*/
  .jt-card-content,
  .jt-card-content.inverse {
    flex-direction: column;
    text-align: center;
  }

  .jt-card-image img {
    width: 300px;
  }

  /*page pièges */
  #infos-pieges .lien_commande .btn-green-commande {
    width: 90%;
    font-size: 1.1rem;
  }

  #section-pieges .container .piege_trianglue {
    width: 80%;
    object-fit: cover;
    /* l'image se redimensionne automatiquement */
  }

  /*logos page accueil */
  #bandeau_logo .flex-horizontal .bandeau_logo-card {
    width: 80%;
  }
}

@media (max-width: 500px) {

  section {
    padding: 25px 0;
    /*marge intérieure de 25px entre chaque section*/
    scroll-margin-top: 0;
    /* pour ne pas décaler l'ancre des activités sous le menu de la page d'accueil*/
  }

  header {
    position: inherit;
    align-items: center;
    justify-content: Center;
    flex-direction: column;
    row-gap: 2px;
    font-size: 0.8rem;
  }

  header nav {
    display: block;
    width: auto;
    align-items: stretch;
    justify-content: space-around;
  }

  header div {
    align-items: stretch;
  }

  header .btn-rechercher,
  header .btn-membre {
    font-size: 0.8rem;
  }

  .drapeau_fr,
  .drapeau_en {
    width: 15px;
    height: 10px;
  }

  h2 {
    font-size: 25px;
    text-align: center;
  }

  #logo_vitinnov_slogan {
    display: flex;
    flex-direction: column;
    column-gap: 0px;
    margin: 0;
    align-items: center;
    justify-content: center;
  }

  #menu {
    padding-left: 5px;
    padding-right: 5px;
    margin: 0;
  }

  #menu .container {
    width: 100%;
    height: inherit;
    align-items: center;
  }

  .burger-menu {
    position: absolute;
    left: 0;
    top: 130px;
    width: auto;
    margin: 0 5px;
    /* border: 2px solid grey; */
  }

  /* News slider */
  #carousel .slider {
    min-height: 250px;
  }

  #carousel .slider .slide .info p {
    font-size: 0.9em;
  }

  #competences .flex-horizontal div {
    width: 100%;
  }

  #carousel .slider .slide {
    min-height: 250px;
    /*hauteur du slider : à définir en fonction du visuel final*/
    /* border: solid 1px red; */
  }

  #carousel .slider .slide .info {
    width: 90%;
    min-height: 200px;
  }

  #carousel .slider .slide .info1 {
    width: 90%;
    min-height: 200px;
    /*taille de la zone info*/
    /* max-height: 250px; */
    margin-top: 10px;
  }

  #carousel .slider .slide .info h2 {
    /* font-size: 1em; */
    font-weight: 400;
    text-align: left;
  }

  #carousel .slider .slide .info-accueil {

    width: 90%;
    height: 80%;
    /*taille de la zone info*/

  }

  #carousel .slider .slide .info-accueil .text-accueil {
    font-size: 2em;
    font-weight: 500;
    margin-bottom: 10px;
  }

  #carousel .slider .slide .info-accueil .text-accueil2 {
    color: white;
    font-size: 1.2em;

  }

  /* photo d'équipe */
  #carousel .slider .slide .info1 .h2_slider_equipe {
    /* title photo d'équipe */
    font-size: 1em;
    font-weight: 400;
  }

  #carousel .slider .slide .info1 .photo_equipe {
    object-fit: contain;
    max-height: 250px;
    /*Bien indiquer la hauteur en fonction de la taille du slider    */
    /* border: solid 1px red; */
  }

  #carousel .slider .slide .info p {
    font-size: 1em;
    font-weight: 400;
  }

  #carousel .slider .navigation {
    min-height: 250px;
    /*Bien indiquer la même hauteur que celle du slider   */
  }

  #carousel .slider .navigation .prev-btn,
  #carousel .slider .navigation .next-btn {
    font-size: 1.5em;
    color: #222;
    padding: 5px;
  }
  /* page accueil actualités*/
  #actualite .container .actualite_content {
    margin: auto;
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    align-items: center;
    justify-content: center;
  }
   #actualite .container .actualite_content .actualite_content_img {    
    margin: 0;
    display: flex;
    flex-direction: column;
    row-gap: 0;
    align-items: center;    
  }
  
  
  /*page présentation */
  #video_adera {
    width: 95%;
  }

  /*Page recrutement*/
  #recrutement .container .recrutement-img img {
    width: 85%;
  }

  /* activités */
  #activites .container .flex-horizontal {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    row-gap: 30px;
    justify-content: center;
    align-items: center;
    /* border: solid 1px red; */
  }

  /* Pages presta */
  #diag-nematodes img,
  #diag-viroses img,
  #diag-agroecologie img,
  #materiel img,
  #pieges img,
  #delta13C img,
  #animation img,
  #etudes img,
  #diag-climatique img,
  #appui img {
    width: 100%;
    object-fit: cover;
    /* l'image se redimensionne automatiquement */
  }

  #diag-nematodes .text-flyers,
  #diag-viroses .text-flyers,
  #diag-agroecologie .text-flyers,
  #diag-climatique .text-flyers,
  #materiel .text-flyers,
  #infos-pieges .text-flyers,
  #delta13C .text-flyers,
  #animation .text-flyers,
  #etudes .text-flyers,
  #appui .text-flyers {
    margin: 0px;
    width: 100%;
    padding: 10px;
    font-size: 0.8em;
    text-align: left;
    border: none;
  }

  #court-noue .container .diag-CN h3 {
    color: #023b26;
    width: 100%;
    text-align: center;
    font-size: 25px;
  }

  #diag-nematodes ul {
    font-size: 0.8em;
    margin-left: 10px;
  }

  #materiel table caption,
  #delta13C table caption {
    font-size: 1em;
  }

  #materiel table td,
  #materiel table th,
  #delta13C table td,
  #delta13C table th {
    font-size: 0.7em;
    font-weight: 300;
  }

  #court-noue .container .nous_contacter,
  #agroecologie .container .nous_contacter,
  #climat .container .nous_contacter,
  #location .container .nous_contacter,
  #section-delta13C .container .nous_contacter,
  #section-animation .container .nous_contacter,
  #section-appui .container .nous_contacter {
    width: 300px;
  }

  #court-noue .container .nous_contacter span,
  #agroecologie .container .nous_contacter span,
  #climat .container .nous_contacter span,
  #location .container .nous_contacter span,
  #section-delta13C .container .nous_contacter span,
  #section-animation .container .nous_contacter span,
  #section-appui .container .nous_contacter span {
    font-size: 0.8em;
  }

  #infos-pieges ul {
    font-size: 0.8em;
  }

  #etudes ul {
    width: 95%;
    padding: 10px;
    font-size: 0.8em;
  }

  #etudes ul li:first-child {
    padding-top: 10px;
  }

  #etudes ul li {
    margin: 0px;
  }

  /* page contact */

  #contact_form .container form textarea {
    resize: both;
    min-width: 100%;
    min-height: 100px;
    max-width: 430px;
    padding: 5px;
  }

  #contact_form .container form .zone_de_saisie {
    resize: both;
    width: 100%;
    min-height: 30px;
    padding: 5px;
  }

  #contact_form .container form .bouton_envoi_contact {
    margin: 0 10px;
  }

  #contact_form .container form .g-recaptcha {
    width: 305px;
    margin: auto;
  }

  #contact_form .container form .bouton_envoi_contact {
    display: block;
    width: 150px;
    margin: auto;
    margin-top: 20px;
  }

  /* Page Rechercher */
  #rechercher {
    height: 60%;
  }

  #rechercher .container .gsc-control-cse {
    width: 100%;
    margin-top: 60px;
  }

  /* page équipe */
  #equipe .container .row .collaborateur .fiche-equipe .visuel,
  #equipe .container .row .collaborateur1 .fiche-equipe .visuel {
    width: 150px;
    height: 150px;
  }

  /* 1. État initial (caché et décalé) pour l'animation */
  #equipe .container .row .collaborateur .fiche-equipe,
  #equipe .container .row .collaborateur1 .fiche-equipe {
    /* Styles pour l'animation */
    opacity: 0;
    transform: translateY(100px);
    /* Décalé vers le bas au départ */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    /* Durée et type de l'animation */
  }

  /* 2. État final (visible et en place) - Ceci est la classe ajoutée par JavaScript */
  #equipe .container .row .collaborateur .fiche-equipe.is-visible,
  #equipe .container .row .collaborateur1 .fiche-equipe.is-visible {
    opacity: 1;
    transform: translateY(0);
    /* Retour à la position normale */
  }

  #equipe .container .row .collaborateur .fiche-equipe .nom,
  #equipe .container .row .collaborateur1 .fiche-equipe .nom {
    font-size: 1.2em;
    font-weight: 600;
  }

  /* page projet */
  #fiche_projet p {
    font-size: 0.8rem;
  }

  #fiche_projet .texte_bleu {
    font-size: 1.2em;
    margin-bottom: 20px;
  }

  .web_lien_vitilience,
  .ecophyto-logo {
    float: none;
    max-width: 180px;
  }

  #fiche_projet .container .img_financement {
    max-width: 120px;
    max-height: 120px;
  }

  #fiche_projet .container .img_financement_club {
    max-width: 280px;
  }

  #fiche_projet .container .img_financement_conseil {
    margin: auto;
    max-width: 280px;
  }

  .texte_projets img {
    /* border: 1px solid blue; */
    display: block;
    margin: auto;
    margin-bottom: 10px;
  }

  /*page partenaires*/

  .partenaire-card {
    width: 100%;
  }

  #projets .container .prog_recherche li {
    margin-left: 15px;
  }

  /*page publication et journée technique*/
  .btn-green-readon,
  btn-green-readon-JT {
    display: block;
    position: inherit;
    margin: 20px auto;
    text-align: center;
    width: 80%;
  }

  #liste_publications li.liste {
    padding-bottom: 10px;
    margin-bottom: 0px;
  }

  /*Page recrutement*/
  .btn-green {
    display: block;
    position: inherit;
    margin: 10px auto;
    text-align: center;
    width: 60%;
  }

  /* flèche retour haut de page*/
  .fleche {
    position: fixed;
    right: 15px;
    bottom: 15px;
  }
}