  :root {
    /*--bg: #fdfdfb;*/
    --bg: #FFEBD8;
    --bg2: #FFF1E5;
    /*--text: #2a2a2a;*/
    --text: #000A47;
    --accent: #324a3a;
    --radius: 4px;
    --accent2: #FFD7B2;
  }


/* Appliquer un style par défaut aux éléments avec la classe 'appear' */
.appear {
  opacity: 0;
  transform: translateY(6px);  /* Décalage pour l'animation */
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (max-width: 768px) {
.no-mobile {
  display: none;
}
}
/* La classe 'appear-visible' est ajoutée lors de la visibilité de l'élément */
.appear-visible {
  opacity: 1;
  transform: translateY(0);  /* L'élément revient à sa position normale */
}


/*Lien*/
.action {
  font-weight: bold;
}

.bold {
  font-weight: bold;
}


  h3 {
    margin-bottom: 0.5rem;
  }
 a {
    color: inherit;
    text-decoration: none;
  }
  p a {
    text-decoration: underline;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }


  body {
    font-family: "Libre Franklin", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    padding-top: 70px;
  }




  .container { width: min(1100px, 92%); margin: auto; }

  section {
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
  }

  h2 {
    margin-bottom: .8rem;
    font-size: 2rem;
    font-weight: 600;
  }

.button {
  display: inline-block;
  margin-top: 1rem;
  padding: .6rem 1.1rem;
  border-radius: var(--radius);
  color: var(--bg2);
  border: solid var(--bg2) 2px;
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;

  /* Animation douce */
  transition: 
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.button:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.2);
}


  .button2 {
    display: inline-block;
    /*background: var(--accent);*/
    padding: .4rem 1rem;
    border-radius: var(--radius);
    color: var(--text);
    border: solid var(--text) 2px;
    text-decoration: none;
    font-weight: bold;
    font-size: .85rem;
  }
  .button2:hover { opacity:.9; }

  /* Articles */
  /* ✅ Styles articles */
.articles-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.card {
    background: var(--bg2);
    border-radius: 6px;
    overflow: hidden;
    transition: 0.2s ease-in-out;
    border: 1px solid #ddd;
    position: relative; /* Nécessaire pour positionner la flèche */
        display: block;

}

.arrow-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease-in-out;
    opacity: 0.8;
}

.arrow-icon path {
  stroke: var(--text);
}

.card:hover .arrow-icon {
    opacity: 1;
}

.card:hover {
    transform: translateY(-4px);
}

.card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.card-content {
    padding: 15px;
}

.card-content h4 {
    margin-bottom: 10px;
}

.date {
    display: block;
    margin-top: 10px;
    font-size: 0.85em;
    color: #777;
}










  input, textarea {
    width: 100%;
    border: 1px solid rgba(0,0,0,0.18);
    border-radius: var(--radius);
    padding: .6rem;
    font-size: 1rem;
    background: #fff;
  }
  textarea { min-height: 110px; }

  footer {
    text-align: center;
    padding: 1.5rem;
    font-size: .85rem;
    opacity: .7;
  }













header {
  z-index: 1000;
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 70px;
  background: var(--bg2);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
}

/* Wrapper interne qui possède la même logique que .container */
.header-container {
  width: 100%;
  margin: auto;
  padding: 0 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

/* --- LOGO --- */
.logo {
  height: 42px;
  width: auto;
  display: block;
}

/* --- NAVIGATION --- */
nav { 
  display: flex; 
  gap: 1.2rem; 
}

nav a { 
  position: relative;
  text-decoration: none;
  color: var(--text);
  font-size: .95rem;
  font-weight: bold;
}

/* Trait animé */
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 3px;
  background: var(--text);
  transition: width 0.25s ease-out;
}

nav a:hover::after { width: 100%; }


/* --- BURGER BUTTON --- */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.burger span {
  display: block;
  height: 3px;
  background: var(--text);
  border-radius: 3px;
  transition: 0.3s ease;
}

@media (max-width: 768px) {

  .header-container {
  width: 92%;
  padding: 0rem;
}


  nav {
    position: absolute;
    top: 70px;
    right: 0; left: 0;
    background: var(--bg2);

    display: flex;
    flex-direction: column;
    gap: 1rem;

    /* IMPORTANT : quand fermé */
    max-height: 0;
    padding: 0;
    overflow: hidden;

    border-bottom: 1px solid rgba(0,0,0,0.08);
  }

  /* Quand le menu est ouvert */
  nav.open {
    max-height: 300px;   /* assez pour contenir les liens */
    padding: 1.2rem;
  }

  .burger {
    display: flex;
  }
}




























      #home {
background: linear-gradient(
      rgba(0, 0, 0, 0.1),
      rgba(0, 0, 0, 0.5)
    ),
    url('images/background.webp') center/cover no-repeat;
    
 text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.9);
  color: var(--bg2);
  }
    #carto {
background: linear-gradient(
      rgba(0, 0, 0, 0.1),
      rgba(0, 0, 0, 0.5)
    ),
    url('images/background.webp') center/cover no-repeat;
    
 text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.9);
  color: var(--bg2);
  }


  #evenements {
background: linear-gradient(
      rgba(0, 0, 0, 0.1),
      rgba(0, 0, 0, 0.5)
    ),
    url('images/background.webp') center/cover no-repeat;
  }

  #evenements h2, #carto h2 {
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.9);
  color: var(--bg2);
  }









  h2 {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}

.h2-visible {
  opacity: 1;
  transform: translateY(0);
}

















/* Style général de la liste principale */
.step-list {
  line-height: 1.4;
  padding-left: 20px;
}

.step-list li {
  margin-bottom: 15px;
  font-size: 16px;
}

.step-list li:last-child {
  margin-bottom: 0;
}

/* Style de la sous-liste */
.sublist {
  margin-top: 10px;
  padding-left: 20px;  /* Indentation supplémentaire */
  list-style-type: disc; /* Point pour les sous-éléments */
}

/* Style des éléments de la sous-liste */
.sublist li {
  font-size: 15px;
}



/* Ajouter une bordure et un peu de padding aux éléments de la sous-liste */
.sublist li {
}





  #svgIcon svg {
    color: var(--text-color);       /* Couleur générale */
  }