﻿/* Style de base */
a {
    color: #00683F;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
}

/* Visité */
a:visited {
    color: #F24405;
}

/* Hover + animation */
a:hover {
    color: #0C0DE8;
}

/* Actif */
a:active {
    color: #037341;
}

/* Accessibilité */
a:focus {
    outline: 2px solid #00683F;
    outline-offset: 2px;
}

/* Appliquer seulement aux liens qui ne contiennent PAS d'image ainsi que les boutons */
a:not(:has(img)):not(:has(button))::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #F24405;
    transition: width 0.3s ease;
}

a:not(:has(img)):not(:has(button)):hover::after {
    width: 100%;
}

body
{
    font-family: "pelago", sans-serif;
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #FFFFFF;	
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

p {
    font-family: "pelago", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1rem;
    color: #000066;
    line-height: 1.6;
}
h1 {
	font-size: 30px;
    font-family: "pelago", sans-serif;
    font-weight: 400;
	color: #00683f;
}
h2 {
	font-size: 24px;
    font-family: "pelago", sans-serif;
    font-weight: 400;
	color: #0c0de8;
}
h3 {
	font-size: 18px;
    font-family: "pelago", sans-serif;
    font-weight: 400;
	color: #037341;
}
h4 {
    font-size: 18px;
    font-family: "pelago", sans-serif;
    font-weight: 400;
    color: #F24405;
}
h5 {
	font-size: 18px;
    font-family: "pelago", sans-serif;
    font-weight: 400;
	color: #037341;
}
h6 {
	font-size: 18px;
    font-family: "pelago", sans-serif;
    font-weight: 400;
	color: #037341;
}
hr {
    background-color: #037341;
}
li {
    font-family: "pelago", sans-serif;
    font-weight: 400;
	color: #150D06;
	font-variant: normal;
	font-size: 16px;    
}
/*Media-affichage cellulaire-ordinateur*/
/* Par défaut (desktop) */
.hide-desktop { display: none; }
.show-desktop { display: block; }

/* Mobile */
@media (max-width: 768px) {
  .hide-mobile { display: none; }
  .show-mobile { display: block; }

  /* Inverse sur mobile */
  .hide-desktop { display: block; }
  .show-desktop { display: none; }
}

/* Mobile */
@media (max-width: 768px) {
  #cellulaire_masque,
  #cellulaire_masque2,
  #cellulaire_masque3,
  #cellulaire_masque4 {
    display: none;
  }

  #cellulaire_show,
  #cellulaire_show2,
  #cellulaire_show3,
  #cellulaire_show4 {
    display: block;
  }
}

/* Desktop */
@media (min-width: 769px){
  #cellulaire_masque,
  #cellulaire_masque2,
  #cellulaire_masque3,
  #cellulaire_masque4 {
    display: block;
  }

  #cellulaire_show,
  #cellulaire_show2,
  #cellulaire_show3,
  #cellulaire_show4 {
    display: none;
  }
}
