/*********** PRÉSENTATION (SECTION 1) ***********/
#ancre-missions,
#ancre-histoire,
#ancre-antennes,
#ancre-equipe,
#ancre-services {
  position: absolute;
  transform: translateY(-80px);
  height: 10px;
  display: block;
  background-color: red;
}

#ancre-services {
  transform: translateY(-140px);
}

.background {
  width: 100%;
}

#presentation {
  background-image: url("/images/backgrounds/background_grand-parcours-G_Bleu-50_2.svg");
  background-size: 101%;
  background-repeat: no-repeat;
  background-position-y: 50%;
  background-position-x: center;
}

#a-propos #presentation .container:first-child {
  padding: 142px 0px 60px 0px;
  display: flex;
  gap: 84px;
  align-items: center;
}

#a-propos {
  overflow-x: hidden;
}

#presentation p {
  color: #0a2c7a;
}

#a-propos #presentation .col-1 {
  width: 45%;
}

#a-propos #presentation .col-1>a {
  margin-right: 10px;
}

#a-propos #presentation .col-2 {
  width: 55%;
  position: relative;
}

#a-propos #presentation .col-2 img:last-child {
  width: 100%;
}

#a-propos #presentation .col-2 img:first-child {
  position: absolute;
  z-index: 1;
  width: 106%;
  transform: translate(-4%, -5%);
}

#a-propos #presentation .col-2 img:last-child {
  position: relative;
  z-index: 2;
}

#a-propos #chiffres {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 40px;
  margin-top: 40px;
}

#a-propos .titre {
  font-weight: 800;
  font-size: 28px;
  margin-top: 0px;
  margin-bottom: 10px;
  font-family: Apparat !important;
}

@media (min-width: 601px) and (max-width: 1000px) {
  #a-propos #presentation .col-2 img {
    max-width: 72%;
  }
}

@media (max-width: 1000px) {
  #a-propos #presentation .container {
    flex-direction: column-reverse;
    gap: 20px;
  }

  #a-propos #presentation .col {
    width: 100%;
  }
}

/*********** MISSIONS (SECTION 2) ***********/
#missions {
  background-color: #0a2c7a;
  color: white;
}

.background-0 {
  position: relative;
  left: -2px;
  top: -1px;
  width: 100.2%;
}

#missions .container {
  padding: 80px 0px 40px 0px;
  display: flex;
  gap: 50px;
}

#missions .col {
  width: 100%;
}

#missions .titre-mission {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

#missions .titre-mission img {
  width: 75px;
  flex-shrink: 0;
}

#missions h2 {
  color: white;
  margin: 0;
}

#missions ul {
  padding: 0px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  list-style: none;
}

#missions ul li::before {
  content: "➜";
  font-size: 15px;
  position: relative;
  margin-right: 7px;
}

#missions .col-1 ul li::before {
  color: #f8cc46;
}

#missions .col-2 ul li::before {
  color: #52d59d;
}

#missions .col-3 ul li::before {
  color: #f77129;
}

#missions .col-1 .bouton {
  margin-top: 10px;
}

@media (max-width: 900px) {
  #missions .container {
    flex-direction: column;
    gap: 40px;
    padding: 60px 0px 40px 0px;
  }

  #missions ul {
    margin-bottom: 0px;
  }

  #missions .bouton {
    margin-top: 20px;
  }
}

/*********** SERVICES (SECTION 3) ***********/
#services .container {
  padding: 0px 0px 60px 0px;
}

@media (max-width: 900px) {
  #services {
    margin-top: 60px;
  }
}

/*********** HISTOIRE (SECTION 4) ***********/
#histoire {
  background-color: #0a2c7a;
  background-image: url("/images/backgrounds/background_parcours-1_Bleu-50.svg");
  background-size: 106%;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
}

#histoire .container {
  padding: 60px 0px 90px 0px;
}

#histoire,
#histoire h2,
#histoire h4 {
  color: white;
}

#titre-histoire {
  margin-bottom: 59px;
}

#histoire .ligne-1 {
  display: flex;
  gap: 50px;
  align-items: center;
}

#histoire .ligne-1-1 h2 {
  font-size: 104px !important;
  margin-bottom: 0px;
  line-height: 1;
  color: #5493f7;
}

#histoire .col-1 {
  width: 50%;
  position: relative;
}

#histoire .col-2 {
  width: 50%;
}

#histoire .col-1 img {
  width: 100%;
}

#icon-exclamation {
  position: absolute;
  top: -18%;
  right: -5%;
  width: 24% !important;
}

#histoire .col-1 img:first-child {
  position: relative;
  z-index: 2;
}

#Background-image-histoire {
  position: absolute;
  z-index: 1;
  width: 106% !important;
  transform: translate(-100%, -5%);
}

/* Onglets */

#histoire .onglets {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

#histoire .onglets a:hover {
  cursor: pointer;
}

#histoire .onglets a.actif,
#histoire .onglets a:hover {
  color: white;
  border: 1px solid #0a5adb;
  background-color: #0a5adb;
}

#histoire .contenus {
  display: grid;
  grid-template-rows: min-content 1fr;
  align-items: start;
}

#histoire .contenus p {
  margin-top: 0px;
}

#histoire .onglet-contenu h2 {
  margin-bottom: 0px;
  font-size: 80px;
  font-weight: 700;
}

#histoire .onglet-contenu {
  display: grid;
  grid-template-columns: 1fr;
  grid-area: 2/1/3/2;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

#histoire .onglet-contenu.actif {
  visibility: visible;
  opacity: 1;
  -webkit-transition: all 0.4s ease-in-out 0.4s;
  transition: all 0.4s ease-in-out 0.4s;
}

#histoire .onglet-contenu p:last-child {
  margin-bottom: 0px;
}

@media (min-width: 601px) and (max-width: 1000px) {
  #histoire .col-1 img {
    max-width: 72%;
  }
}

@media (max-width: 1000px) {
  #histoire .ligne-1 {
    flex-direction: column;
  }

  #histoire .col {
    width: 100%;
  }
}

@media (max-width: 500px) {
  #histoire .col-2 {
    flex-direction: column-reverse;
    display: flex;
    gap: 31px;
  }

  #histoire .onglets {
    margin-top: 0px;
  }
}

/*********** ANTENNES (SECTION 5) ***********/
#antennes .container {
  padding: 60px 0px 60px 0px;
  overflow : hidden;
}

#antennes h2 {
  margin-bottom: 32px;
}

#antennes .ligne-1 {
  display: flex;
  gap: 50px;
}

#antennes .col-1 {
  width: 45%;
  z-index: 3;
}

.liste-chiffres {
  display: flex;
  flex-wrap: wrap;
  width: 200%;
  gap: 16px;
  margin-top: 20px;
}

#antennes .col-1 .les-chiffres {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px;
  border: 2px solid ;
  border-radius: 8px;
  width: fit-content;
}

#listeBFC , #listePACA {
  width: 130% !important;
}

#antennes .col-1 .les-chiffres * {
  text-align: center;
  font-weight: bold;
  margin: 0;
}

#antennes .col-1 .orange {
  border-color: var(--orange-50);
}

#antennes .col-1 .orange h2, .orange strong {
  color: var(--orange-50);
}

#antennes .col-1 .bleu {
  border-color: var(--bleu-70);
}

#antennes .col-1 .bleu h2, .bleu strong {
  color: var(--bleu-70);
}

#antennes .col-1 .vert {
  border-color: var(--vert-50);
}

#antennes .col-1 .vert h2, .vert strong {
  color: var(--vert-50);
}

#antennes .col-1 .jaune {
  border-color: var(--jaune-50);
}

#antennes .col-1 .jaune h2, .jaune strong {
  color: var(--jaune-50);
}

#antennes .col-2 {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  width: 55%;
  height: fit-content;
  z-index: 2;
  gap: 72px;
}

#antennes .responsables .bouton {
  display: none;
}

#antennes .responsables p {
  margin-top: 0px;
  margin-bottom: 5px;
}

#antennes .contenus p,
#antennes .contenus li {
  color: #0a2c7a;
}

/* Onglets */

#antennes .onglets {
  margin-top: 0px;
  margin-bottom: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px ;
  width: 130%;
}

#antennes .onglets a:hover {
  cursor: pointer;
}

#antennes .onglets a.actif,
#antennes .onglets a:hover {
  color: white;
  border: 1px solid #0a5adb;
  background-color: #0a5adb;
}

#antennes .onglet:hover {
  cursor: pointer;
}

#antennes .contenus {
  display: grid;
  grid-template-rows: min-content 1fr;
}

#antennes .onglet-contenu , #antennes .financeur-contenu{
  height: 0;
  display: grid;
  grid-template-columns: 1fr;
  grid-area: 2/1/3/2;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  align-content: start;
}

#antennes .onglet-contenu {
  scroll-margin-top: 80px;
}

#antennes .onglet-contenu.actif , #antennes .financeur-contenu.actif{
  height: auto;
  visibility: visible;
  opacity: 1;
  -webkit-transition: all 0.4s ease-in-out 0.4s;
  transition: all 0.4s ease-in-out 0.4s;
}

#antennes .onglet-contenu .photo {
  width: 100px;
  height: 100px;
}

#antennes .onglet-contenu h4 {
  margin-top: 0px;
  margin-bottom: 32px;
}

#antennes .onglet-contenu p {
  margin-bottom: 32px;
  margin-top: 0px;
}

#antennes .onglet-contenu ul {
  margin-bottom: 32px;
  margin-top: 0px;
}

#GE li, #GUY li, #ANT li{
  margin-bottom: 1rem;
}

#antennes .listePoles {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

#antennes .listePoles .pole {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-radius: 8px;
  width: fit-content;
  justify-content: center;
}

#antennes .listePoles .pole p {
  margin: 0;
}

#antennes .listePoles .pole p:first-child{
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  font-size: 17px;
}

#antennes .listePoles .pole:nth-child(1), 
#antennes .listePoles .pole:nth-child(4),
#antennes .listePoles .pole:nth-child(5){
  background-color: var(--bleu-10);
}

#antennes .listePoles .pole:nth-child(2), 
#antennes .listePoles .pole:nth-child(3),
#antennes .listePoles .pole:nth-child(6){
  background-color: var(--bleu-50);
}

#antennes .listePoles .pole:nth-child(1) *, 
#antennes .listePoles .pole:nth-child(4) *,
#antennes .listePoles .pole:nth-child(5)*,
#antennes .listePoles .pole:nth-child(2), 
#antennes .listePoles .pole:nth-child(3),
#antennes .listePoles .pole:nth-child(6) {
  white-space: nowrap;
}

#antennes .listePoles .pole:nth-child(7),
#antennes .listePoles .pole:nth-child(8),
#antennes .listePoles .pole:nth-child(9) {
  border: 4px solid ;
}

#antennes .listePoles .pole:nth-child(7){
  max-width: 65%;
  border-color: var(--vert-50);
}

#antennes .listePoles .pole:nth-child(8){
  max-width: 48%;
  border-color: var(--jaune-50);
}

#antennes .listePoles .pole:nth-child(9){
  border-color: var(--orange-50);
}

#antennes .ligne-1-2  #MAY {
  padding-bottom: 140px;
}

#antennes .onglet-contenu .contact {
  display: flex;
  gap: 15px;
  margin-bottom: 32px;
}

#antennes .onglet-contenu .contact .texte p {
  margin-bottom: 4px !important;
}

#antennes .onglet-contenu .contact .texte a {
  color : var(--bleu-80); 
}

#antennes .onglet-contenu .contact .texte p:nth-child(1) {
  font-size: 22px;
}

#antennes .onglet-contenu .contact > img {
  width: 20% ;
  aspect-ratio: 1/1;
  border-radius: 90px;
} 

#antennes .onglet-contenu .contact .texte {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 0;
}

#antennes .onglet-contenu .contact .email img {
  width: 17.682px;
  height: 14.146px;
  margin-bottom: 0;
}

#antennes .onglet-contenu a:nth-of-type(1) {
  display: flex;
  align-items: center;
  gap: 8px;
}




/* Carte Antennes */

#carteFranceImage {
  max-width: 100%;
  height: 100%;
}

.container-carte {
  position: relative;
  display: inline-block;  
  width: 100%;
}

.container-carte svg {
  width: 100%;
}

.container-carte svg .antenneCarte {
  cursor: pointer;
}

.carteTexte {
  transform-origin: center;
  transform-box: fill-box;
  transform: scale(1.3);
}

.texteRegionMAY {
  transform: translate(0px, 30px) scale(1.3);
}

#texteRegionBFC {
  transform: translate(10px, 0px) scale(1.3);
}

#texteVilleGUY {
  transform: translate(-5px, 0px) scale(1.3);
}

#texteVilleARA {
  transform: translate(-5px, 0px) scale(1.3);
}

.financeurs {
  display: grid;
  grid-template-rows: min-content 1fr;
  height: fit-content;
}

.financeur-contenu  {
  height: fit-content;
  margin-bottom: 32px;
}

.financeur-contenu * {
  max-width: 95%;
}

.financeur-contenu {
  color : var(--bleu-80) ;
}


@media (min-width: 1201px) and (max-width: 1400px) {
  #antennes .col-2 {
    width: 56% !important;
  }
}

@media (min-width: 1001px) and (max-width: 1200px) {
  #antennes .col-2 {
    width: 80% !important;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 900px) and (max-width: 1000px) {
  #antennes .col-2 {
    width: 90% !important;
    margin-left: auto;
    margin-right: auto;
  }

}

@media (max-width: 1100px) {
  #antennes .ligne-1 {
    flex-direction: column-reverse;
  }

  #antennes .col-1,
  #antennes .col-2 {
    width: 100% !important;
  }

  #antennes .onglets {
    width: 100%;
  }

  .liste-chiffres {
    width: 95%;
  }

  #listeBFC , #listePACA {
  width: 95% !important;
  }

  #antennes .ligne-1 {
    gap: 10px ;
  }

  /**
  .antenne .col-icon img {
    max-width: 78% !important;
  }**/
}

@media (max-width: 900px){
  .container-carte {
    width: 90%;
  }

  .container-carte svg {
    height : 60%
  }
}

@media (max-width: 550px){
  #antennes .listePoles {
    flex-wrap: nowrap;
    flex-direction: column;
  }

  #antennes .listePoles > * {
    width: stretch !important;
    max-width: none !important;
  }
}

@media (max-width: 530px){
  .liste-chiffres, #listeBFC, #listePACA {
    flex-wrap: nowrap;
    flex-direction: column;
    width: 100% !important;
  }

  .liste-chiffres .les-chiffres {
    width: stretch !important;
  }
}

@media (max-width: 470px) {
  #antennes .onglet-contenu .contact {
    flex-direction: column;
    align-items: center;
  }

  #antennes .onglet-contenu .contact .texte p {
    text-align: center;
  }

  #antennes .onglet-contenu .contact .texte a {
    display: flex;
    justify-content: center;
  }

  #antennes .onglet-contenu .contact > img {
    width: 25% ;
  } 
}

/*********** EQUIPE (SECTION 6) ***********/

#equipe {
  /*background-image: url("/images/backgrounds/background_petits-parcours-couleurs.svg");*/
  background-size: 100%;
  background-position-x: center;
  background-position-y: 281%;
  background-repeat: no-repeat;
}

#equipe .container {
  padding: 60px 0px 120px 0px;
}

/* Onglets */

#equipe .onglets {
  display: inline-flex;
  gap: 10px 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

#equipe .onglets a:hover {
  cursor: pointer;
}

#equipe .onglets a.actif,
#equipe .onglets a:hover {
  color: white;
  border: 1px solid #0a5adb;
  background-color: #0a5adb;
}

#equipe .onglet:hover {
  cursor: pointer;
}

#equipe .contenus {
  display: grid;
  /*grid-template-rows: min-content 1fr;*/
}

#equipe .container-onglet {
  /*display: grid;
  grid-area: 2/1/3/2;
  visibility: hidden;
  opacity: 0;*/
  display: none;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

#equipe .container-onglet.actif {
  display: inherit;
  /*visibility: visible;
  opacity: 1;*/
  -webkit-transition: all 0.4s ease-in-out 0.4s;
  transition: all 0.4s ease-in-out 0.4s;
}

#equipe .onglet-contenu {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 20px;
}

/* Blocs */

#equipe .photo {
  display: none;
}

#equipe .bloc {
  box-shadow: 4px 6px 8px rgba(0, 0, 0, 0.1) !important;
  background-color: white;
  border-radius: 16px;
}

#equipe .bloc .photo {
  /*box-shadow: 4px 6px 8px rgba(0, 0, 0, 0.1) !important;*/
  min-height: 255px;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center !important;
  border-radius: 16px 16px 0px 0px;
}

#equipe .bloc .infos {
  /* box-shadow: 4px 6px 8px rgba(0, 0, 0, 0.1) !important;
  background-color: white;
    border-radius: 16px;*/
  padding: 20px;
  /*border-radius: 0px 0px 16px 16px;*/
  color: #0a2c7a;
}

#equipe .bloc .prenom {
  font-weight: 500;
  font-family: Apparat !important;
}

#equipe .bloc p:first-child {
  margin-top: 0px;
}

#equipe .bloc p:last-child {
  margin-bottom: 0px;
}

#equipe .container>p {
  width: 50%;
}

/* Filtres */

#equipe .filtre:hover {
  cursor: pointer;
}

#equipe .filtres {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

#equipe .bouton.filtre {
  border-radius: 6px;
}

#equipe .filtre.actif {
  background-color: #0a5adb;
  border: 1px solid #0a5adb;
  color: white;
}

#filtres-region-container {
  visibility: hidden;
  opacity: 0;
  height: 0px;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

#filtres-region-container.actif {
  visibility: visible;
  opacity: 1;
  height: auto;
  -webkit-transition: all 0.2s ease-in-out 0.2s;
  transition: all 0.2s ease-in-out 0.2s;
}

@media (min-width: 901px) and (max-width: 1000px) {
  #equipe .onglet-contenu {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 900px) {
  #equipe .container>p {
    width: 100%;
  }

  #equipe .onglet-contenu {
    grid-template-columns: 1fr 1fr;
  }

  #equipe .bloc .photo {
    min-height: 120px;
  }

  #equipe .infos p {
    margin-top: 0px;
  }

  #equipe .infos p:last-child {
    margin-bottom: 0px;
  }
}