* {
  box-sizing: border-box;
  font-family: Poppins;
}

body {
  margin: 0;
}

.conteneur {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
}

.contenu-principal {
  padding-top: 2rem;
  padding-bottom: 2rem;
}



/* HEADER */
.entete-site {
  background-color: #004a9f;
  color: #ffffff;
}

.entete-site .conteneur {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.75rem;
}

.bloc-identite-site {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-site {
  height: 50px;
  width: auto;
  border-radius: 5%;
}

.titre-site {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}



/* Navigation principale */
.liste-navigation {
  list-style: none;
  display: flex;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}

.liste-navigation a {
  display: inline-block;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  text-decoration: none;
  color: #ffffff;
  font-size: 0.95rem;
}

/* Lien visité dans le menu */
.liste-navigation a:visited {
  color: #ffffff;
}

/* Page actuelle */
.liste-navigation a[aria-current="page"] {
  background-color: #ffffff;
  color: #004a9f;
}

/* Survol / focus liens du menu */
.liste-navigation a:hover,
.liste-navigation a:focus-visible {
  background-color: rgba(255, 255, 255, 0.18);
}



/* Sections & textes */
section {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

section h1,
section h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}

section p {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.texte-important {
  font-weight: 500;
}



/* Tableau */
.tableau-conteneur {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
}

.tableau-planning {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.tableau-planning caption {
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-align: left;
}

.tableau-planning th,
.tableau-planning td {
  font-weight: normal;
  font-size: 14px;
  border: 1px solid #000;
  padding: 8px;
}

.tableau-planning thead th {
  font-weight: bold;
  background-color: #f3f4f6;
}

.tableau-planning td {
  text-align: center;
}




/* Cartes métiers */
.section-metiers {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
}

.section-metiers h2 {
  grid-column: 1 / -1;
}

.carte-metier {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.carte-metier:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.carte-metier img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 0.75rem;
  display: block;
  margin-bottom: 0.75rem;
}

.carte-metier h3 {
  margin: 0 0 0.5rem;
}

.carte-metier p {
  margin: 0;
}




/* Liens externes */
.section-ressources .liste-ressources {
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding-left: 1.2rem;
}

.section-ressources .liste-ressources li {
  margin-bottom: 0.5rem;
}




/* Page témoignages */
.section-temoignages-intro a {
  text-decoration: underline;
}

/* Cartes témoignages */
.section-liste-temoignages {
  display: grid;
  gap: 1.5rem;
}

.section-liste-temoignages h2 {
  margin-bottom: 1rem;
}

.carte-temoignage {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1rem;
}



/* Formulaire */
.section-formulaire-temoignage {
  max-width: 720px;
}

.formulaire {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.formulaire fieldset {
  border: 1px solid #ccc;
  padding: 1rem;
  border-radius: 6px;
}

.formulaire legend {
  font-weight: bold;
  padding: 0 0.3rem;
}

.champ-formulaire {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.8rem;
}

.champ-formulaire-ligne {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.formulaire input[type="text"],
.formulaire input[type="email"],
.formulaire select,
.formulaire textarea {
  padding: 0.5rem;
  border: 1px solid #aaa;
  border-radius: 4px;
  font: inherit;
}

.bouton-principal {
  background-color: #004a9f;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  cursor: pointer;
  width: fit-content;
}

.bouton-principal:hover {
  background-color: #003d82;
}

.lien-retour-haut {
  display: inline-block;
  margin-top: 1rem;
}



/* Pied de page */
.pied-de-page {
  color: white;
  background-color: #004a9f;
  padding: 0.75rem 0;
  text-align: center;
}

.pied-de-page .navigation-pied a {
  color: #ffffff;
  text-decoration: underline;
}



/* MOBILE */
@media (max-width: 700px) {

  .entete-site .conteneur {
    flex-direction: column;
    align-items: flex-start;
  }

  .liste-navigation {
    flex-wrap: wrap;
  }

  .section-metiers {
    grid-template-columns: 1fr;
  }

  .tableau-planning {
    min-width: 0;
  }

.tableau-planning th,
.tableau-planning td {
  font-weight: normal;
  font-size: 12px;
  border: 1px solid #000;
  padding: 3px;
}

iframe{
  max-width: 400px;
  max-height: 210px;
}

}
