﻿/* Style de base */
a {
    color: #132500;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
}

/* Visité */
a:visited {
    color: #48A402;
}

/* Hover + animation */
a:hover {
    color: #132500;
}

/* Actif */
a:active {
    color: #132500;
}

/* Accessibilité */
a:focus {
    outline: 2px solid #132500;
    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: #132500;
    transition: width 0.3s ease;
}

a:not(:has(img)):not(:has(button)):hover::after {
    width: 100%;
}
body
{
    font-family: europa, 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: europa, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    color: #1A1A1A;
    line-height: 1.6;
}
h1
{
    color: #255700;
    font-family: europa, sans-serif;
    font-size: 28px;
    font-weight: 400;
    font-variant: normal;
    font-style: normal;
}
h2
{
    color: #48A402;
    font-family: europa, sans-serif;
    font-size: 24px;
    font-weight: 400;
    font-variant: normal;
    font-style: normal;
}
h3
{
	color: #F11410;
    font-family: europa, sans-serif;
	font-size: 20px;
	font-weight: 400;
	font-variant: normal;
	font-style: normal;
}
h4
{
	color: #F11410;
    font-family: europa, sans-serif;
	font-size: 18px;
	font-weight: 400;
	font-variant: normal;
	font-style: normal;
}
h5
{
    color: #F11410;
    font-family: europa, sans-serif;
    font-size: medium;
    font-weight: 400;
    font-variant: normal;
    font-style: normal;
}
h6
{
	color: #EC9D06;
    font-family: europa, sans-serif;
    font-size: medium;
	font-weight: 400;
	font-variant: normal;
	font-style: normal;
}
hr {
	border: thin ridge #48A402;
	background-color: #48A402
}
li {
    color: #F11410;
}

/*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;
  }
}
