/* ------------------------------
   RESET SIMPLE
--------------------------------*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #E9ECEF;
  color: #333;
  line-height: 1.6;
  padding-bottom: 50px;
}

 a {
    
     color:gray;
}

a:hover {
     color:#F2F2F2;
     background-color:gray;
}

a:visited {
  color: inherit;
}




/* ------------------------------
   HEADER
--------------------------------*/


.header{
background-color:#7c7c7c;
margin-top:0px;
height:110px;
color: white;
  padding: 20px;
  text-align: center;
}




.header h1 {

color:yellow;
font-weight:bold;
font-family:helvetica;
font-size:1.75em;
letter-spacing:0.25em;
text-align: right;
padding-right:0.5em;
text-shadow: -1px 0 0 rgba(0, 0, 0, 0.8), 
             1px 0 0 rgba(0, 0, 0, 0.8),
             0 -1px 0 rgba(0, 0, 0, 0.8),
             0 1px 0 rgba(0, 0, 0, 0.8);

}

.header nav a {
  color: #ecf0f1;
  margin: 0 10px;
  text-decoration: none;
  font-weight: bold;
}

.header nav a:hover {
  text-decoration: underline;
}

/* ------------------------------
   BREADCRUMB
--------------------------------*/
.breadcrumb {
    background: #d4d0d0;;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.95rem;
}

.breadcrumb a {
    font-weight: 600;
    color: #2c3e50;
}

.breadcrumb span {
    margin: 0 8px;
    color: #888;
}




/* ------------------------------
   PAGE CONTENT
--------------------------------*/
.page {
  width: 90%;
  max-width: 900px;
  margin: 20px auto;
}



/* ------------------------------
   HUB CARDS (Accueil, Accompagnement, etc.)
--------------------------------*/
.hub-block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.hub-card {
  background: white;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  color: #333;
  border: 1px solid #ddd;
  transition: 0.2s ease-in-out;
}

.hub-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.hub-card .icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
}


.hub-block .hub-card {
  padding: 12px 16px;
}


/* ------------------------------
   404 PAGE
--------------------------------*/
.error-404 {
  text-align: center;
  padding: 40px;
}

.error-404 h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.error-line {
  width: 80px;
  height: 3px;
  background: #e74c3c;
  margin: 15px auto;
}

.error-back a {
  color: #2980b9;
  text-decoration: none;
  font-weight: bold;
}

.error-back a:hover {
  text-decoration: underline;
}

/* ------------------------------
   FOOTER
--------------------------------*/
/* Footer global */
.footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    color: white;
    font-size: 0.9rem;
    background: #7c7c7c;
}

/* Liens du footer uniquement */
.footer a {
    color: white;
    text-decoration: underline;
    margin: 0 8px;
    font-weight: bold;
}

/* Survol */
.footer a:hover {
    color: #ffffff;
    background-color: #2e2d2d;
    text-decoration: none;
    padding: 2px 4px;
    border-radius: 4px;
}

/* Liens visités */
.footer a:visited {
    color: #dcdcdc;
}



/* ------------------------------
   SOUS-PAGES
--------------------------------*/
.page-section {
  background: white;
  padding: 25px;
  border-radius: 10px;
  border: 1px solid #ddd;
  margin-top: 20px;
}

/* ------------------------------
   H1 de l'ancien site
--------------------------------*/
.page-section h1 {
color:#84BAF8;
font-weight:bold;
font-family:helvetica;
font-size:1.95em;
letter-spacing:0.35em;
text-align: center;
padding-right:0.5em;
text-shadow: -1px 0 0 rgba(0, 0, 0, 0.9), 
             1px 0 0 rgba(0, 0, 0, 0.9),
             0 -1px 0 rgba(0, 0, 0, 0.9),
             0 1px 0 rgba(0, 0, 0, 0.9);

}

.page-section h4 {
 font-family:Comic Sans MS;
 font-size:13px;
 padding-left:20px;
 padding-right:20px;
 margin-left:20px;
 margin-right:20px;
 background-color:#B5D8F7;
 border: 1px  solid #404040;
}


.page-section h2 {
  margin-bottom: 10px;
  color: #2c3e50;
}

.page-section h3 {
  margin-top: 20px;
  margin-bottom: 10px;
  color: #34495e;
}

.page-section ul {
  margin-left: 20px;
  margin-top: 10px;
}

.page-section li {
  margin-bottom: 6px;
}

/* ------------------------------
   RESPONSIVE - SMARTPHONE
--------------------------------*/
@media (max-width: 600px) {
  .header nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
  }

  .header nav a {
    display: block;
    padding: 8px 0;
    font-size: 1rem;
  }

  .header h1 {
    font-size: 1.6rem;
  }

  .hub-block {
    grid-template-columns: 1fr;
  }

  .page-section {
    padding: 15px;
  }
}

/* ------------------------------
   CARTES INTRO (2 grandes cartes)
--------------------------------*/
.intro-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

/* Les cartes intro réutilisent hub-card */
.intro-cards .hub-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Style spécifique */
.big-card {
  padding: 25px;
  min-height: 220px;
}

.big-card h2 {
  margin-top: 0;
  font-size: 1.6rem;
}

.intro-cards .big-card:first-child {
  text-align: left;
}

/* Lien englobant la carte À propos */
.apropos-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Carte À propos cliquable */
.apropos-card {
  text-align: left;
  transition: 0.2s ease-in-out;
}

/* Effet hover comme les autres cartes */
.apropos-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* Cercle contenant le SVG */
.apropos-photo-wrapper {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 15px;
  margin-left: auto;
  margin-right: auto;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Le SVG */
.apropos-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



/* Chiffres clés */
.stats {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.number {
  font-size: 2rem;
  font-weight: bold;
  color: #ffd86b;
}

.label {
  opacity: 0.8;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 800px) {
  .intro-cards {
    grid-template-columns: 1fr;
  }
}

/* Icônes des chiffres clés */
.stat {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stat-icon {
  font-size: 2rem;
  line-height: 1;
}

/* Style pro des icônes dans les chiffres clés */
.stat {
  display: flex;
  align-items: center;
  gap: 14px;
}



.stat-icon.circle {
  background: #2c3e50;
  color: white;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.svg-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Carte News horizontale */
.news-card {
  width: 100%;
  background: white;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 25px;
  margin: 40px auto 0 auto;
  max-width: 900px;
}

.news-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news-card h2 {
  margin: 0;
  color: #2c3e50;
}

.news-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 15px;
  background: #2c3e50;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: 0.2s ease-in-out;
  width: fit-content;
}

.news-btn:hover {
  background: #1a252f;
}

/* Responsive */
@media (max-width: 600px) {
  .news-card {
    padding: 18px;
  }
}
/* Lien englobant la carte */
.news-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Carte News horizontale */
.news-card {
  width: 100%;
  background: white;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 20px 25px;
  margin: 40px auto 0 auto;
  max-width: 900px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: 0.2s ease-in-out;
}

/* Effet hover comme les autres cartes */
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* Icône */
.news-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #2c3e50;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.news-svg {
  width: 30px;
  height: 30px;
  color: #ffffff;
}

/* Texte */
.news-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.news-card h2 {
  margin: 0;
  color: #2c3e50;
}

/* Responsive */
@media (max-width: 600px) {
  .news-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Conteneur des deux cartes */
.double-cards {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

/* Lien englobant */
.mini-card-link {
  text-decoration: none;
  color: inherit;
  flex: 1;
  display: block;
}

/* Carte */
.mini-card {
  background: white;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: 0.2s ease-in-out;
  height: 100%;
}

/* Hover */
.mini-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* Icône */
.mini-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #2c3e50;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mini-svg {
  width: 30px;
  height: 30px;
  color: white;
}

/* Texte */
.mini-content h2 {
  margin: 0;
  color: #2c3e50;
}

.mini-content p {
  margin: 4px 0 0 0;
  font-size: 0.95rem;
  color: #555;
}

/* Responsive */
@media (max-width: 700px) {
  .double-cards {
    flex-direction: column;
  }
}

/* Carte normale */
.hub-card {
    display: block;
    background: white;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #ddd;
    transition: 0.2s ease-in-out;
}

/* Effet hover identique aux autres cartes */
.hub-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* Liste interne */
.hub-list {
    list-style: disc;        /* puces classiques */
    padding-left: 5px;      /* espace pour aligner le texte */
    margin-top: 12px;
    text-align: left;
}

/* Espacement entre les lignes */
.hub-list li {
    margin-bottom: 6px;
}

/* Liens internes : même style que le reste du site */
.hub-list a,
.hub-list a:visited {
    color: inherit;          /* même couleur que le texte du site */
    text-decoration: none;
    font-weight: bold;
}

/* Effet hover */
.hub-list a:hover {
    text-decoration: underline;
}

/* ------------------------------
   Page a propor)
--------------------------------*/
/*lettrines*/
.lettrine::first-letter {
    initial-letter: 2;
    font-weight: 700;
    color: yellow;
    padding: 4px 4px;
    background: #555;
    border-radius: 4px;
}


 