/* Reset basique */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  color: #111;
  background-color: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
header {
  border-bottom: 2px solid #000;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between; /* pour répartir */
}

.nav-logo,
.nav-filler {
  flex: 1; /* espace égal à gauche et à droite */
}

nav {
  flex: 2; /* menu au centre */
}

nav ul {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.logo {
  height: 50px;
}


nav a {
  font-weight: bold;
  transition: color 0.3s;
}

nav a:hover {
  color: #007BFF; /* Bleu au survol */
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 60px 20px;
}

.hero-logo {
  height: 150px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.btn-primary {
  display: inline-block;
  background: #007BFF;
  color: #fff;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: bold;
}

.btn-primary:hover {
  background: #0056b3;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid #ddd;
  margin-top: 40px;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
  }

  .hero h1 {
    font-size: 2rem;
  }
}

body {
  font-family: Arial, sans-serif;
}

header {
  border-bottom: 2px solid #000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 50px;
}

nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}

nav a {
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  color: #007BFF;
}

main {
  padding: 40px 20px;
}

footer {
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  border-top: 1px solid #ddd;
}

.btn-primary {
  display: inline-block;
  background: #007BFF;
  color: #fff;
  padding: 12px 30px;
  border-radius: 4px;
  text-decoration: none;
}

.page-pourquoi {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  line-height: 1.6;
}

.page-pourquoi h1 {
  text-align: center;
  margin-bottom: 40px;
}

.page-pourquoi h2 {
  margin-top: 30px;
  color: #111;
}

.page-pourquoi p {
  margin: 15px 0;
}

.page-pourquoi ul {
  margin-left: 20px;
}

.page-pourquoi li {
  margin-bottom: 8px;
}

.page-cv {
  max-width: 800px;        /* Largeur lisible */
  margin: 0 auto;          /* Centre le bloc */
  padding: 40px 20px;      /* Espacement autour */
  line-height: 1.7;        /* Aère le texte */
  text-align: left;        /* Alignement texte propre */
}

.page-cv h1 {
  text-align: center;      /* Titre principal centré */
  margin-bottom: 40px;
}

.page-cv h2 {
  margin-top: 30px;
  color: #111;
}

.page-cv p {
  margin: 15px 0;          /* Espace sous chaque paragraphe */
}

.page-cv ul {
  margin: 10px 0 20px 40px; /* Décalage à gauche + espace */
}

.page-cv li {
  margin-bottom: 8px;
}

.page-cv strong {
  font-weight: bold;       /* Met en valeur les mots-clés */
}

.page-droits {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  line-height: 1.7;
  text-align: left;
}

.page-droits h1 {
  text-align: center;
  margin-bottom: 40px;
}

.page-droits h2 {
  margin-top: 30px;
  color: #111;
}

.page-droits p {
  margin: 15px 0;
}

.page-droits ul {
  margin: 10px 0 20px 40px;
}

.page-droits li {
  margin-bottom: 8px;
}

.page-droits a {
  color: #007BFF;
  text-decoration: underline;
}

.page-droits a:hover {
  text-decoration: none;
}

.encadre-liens {
  border-left: 4px solid #007BFF;
  background-color: #f9f9f9;
  padding: 20px;
  margin: 30px 0;
}

.encadre-liens p {
  margin: 0 0 10px 0;
  font-weight: bold;
}

.encadre-liens ul {
  margin-left: 20px;
}

.encadre-liens li {
  margin-bottom: 8px;
}

.encadre-liens a {
  color: #007BFF;
  text-decoration: underline;
}

.encadre-liens a:hover {
  text-decoration: none;
}

.page-annuaire {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  line-height: 1.7;
}

.page-annuaire h1 {
  text-align: center;
  margin-bottom: 30px;
}

.page-annuaire h2 {
  margin-top: 30px;
  color: #111;
}

.page-annuaire p {
  margin: 15px 0;
}

.entreprise {
  border: 1px solid #ddd;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 6px;
  background: #f9f9f9;
}

.entreprise h3 {
  margin-top: 0;
}

.entreprise a {
  color: #007BFF;
  text-decoration: underline;
}

.entreprise a:hover {
  text-decoration: none;
}

.entreprise {
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid #ddd;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 6px;
  background: #f9f9f9;
}

.entreprise-logo {
  width: 80px;   /* adapte selon ton design */
  height: auto;
  border-radius: 4px;
}

.entreprise-details h3 {
  margin: 0;
}

.entreprise-details p {
  margin: 5px 0;
}

.page-annuaire {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  line-height: 1.7;
}

.page-annuaire h1 {
  text-align: center;
  margin-bottom: 30px;
}

.page-annuaire h2 {
  margin-top: 30px;
  color: #111;
}

.page-annuaire p {
  margin: 15px 0;
}

.entreprise {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  border: 1px solid #ddd;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 6px;
  background: #f9f9f9;
}

.entreprise-logo {
  width: 80px;
  height: auto;
  border-radius: 4px;
}

.entreprise-details h3 {
  margin-top: 0;
}

.entreprise-details p {
  margin: 5px 0;
}

.entreprise-details a {
  color: #007BFF;
  text-decoration: underline;
}

.entreprise-details a:hover {
  text-decoration: none;
}

.page-ajout {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-ajout h1 {
  text-align: center;
  margin-bottom: 40px;
}

.page-ajout form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-ajout label {
  display: flex;
  flex-direction: column;
  font-weight: bold;
}

.page-ajout input[type="text"],
.page-ajout input[type="password"],
.page-ajout input[type="url"],
.page-ajout input[type="tel"],
.page-ajout input[type="file"],
.page-ajout textarea,
.page-ajout select {
  margin-top: 5px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

.page-ajout textarea {
  min-height: 100px;
}

.page-ajout button[type="submit"] {
  background-color: #007BFF;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-ajout button[type="submit"]:hover {
  background-color: #0056b3;
}

.page-admin table {
  width: 100%;
  border-collapse: collapse;
}

.page-admin th, .page-admin td {
  border: 1px solid #ccc;
  padding: 8px 12px;
}

.page-admin th {
  background: #f2f2f2;
}

.page-admin a {
  color: #007BFF;
  text-decoration: none;
}

.page-admin a:hover {
  text-decoration: underline;
}

.page-annuaire ul {
  margin-left: 20px;
}

.page-annuaire li {
  margin-bottom: 8px;
}

footer {
  background: #f2f2f2;
  text-align: center;
  padding: 20px 10px;
  font-size: 0.9rem;
}

footer a {
  color: #007BFF;
  text-decoration: underline;
}

footer a:hover {
  text-decoration: none;
}

.page-mentions {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  line-height: 1.7;
}

.page-mentions h1 {
  text-align: center;
  margin-bottom: 30px;
}

.page-mentions h2 {
  margin-top: 30px;
  font-size: 1.2rem;
  color: #333;
}

.page-mentions p {
  margin: 10px 0;
}

.page-mentions a {
  color: #007BFF;
  text-decoration: underline;
}

.page-mentions a:hover {
  text-decoration: none;
}

.features {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-top: 40px;
}

.feature {
  flex: 1 1 200px;
  text-align: center;
  padding: 20px;
}

.feature h3 {
  margin: 10px 0;
}

.feature p {
  font-size: 0.95rem;
  color: #555;
}

.intro {
  max-width: 800px;
  margin: 40px auto;
  text-align: center;
  line-height: 1.6;
}

.intro h2 {
  margin-bottom: 15px;
}

footer .social-links {
  margin-top: 10px;
}

footer .social-links a {
  display: inline-block;
  margin: 0 10px;
}

footer .social-links img {
  width: 24px;
  height: 24px;
  transition: opacity 0.3s ease;
}

footer .social-links img:hover {
  opacity: 0.7;
}


@media (max-width: 768px) {
  .features {
    flex-direction: column;
    align-items: center;
  }

  .feature {
    max-width: 300px;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
  padding: 10px 0;
}

.site-header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header .logo img {
  height: 40px;
}

.nav-links {
  display: flex;
  gap: 25px;
  font-weight: 500;
}

.nav-links a {
  color: #222;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #0066cc;
}

.site-header {
  background-color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); /* ombre légère */
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo img {
  height: 40px;
}

.nav-links {
  display: flex;
  justify-content: center;
  flex: 1;
  gap: 25px;
  font-weight: bold;
}

.nav-links a {
  text-decoration: none;
  color: #000;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #007bff;
}

/* Affichage normal (desktop) */
.nav-links {
  display: flex;
  gap: 25px;
  flex: 1;
  justify-content: center;
}

.hamburger {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: white;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    padding: 10px 0;
    text-align: center;
  }

  .site-header .container {
    justify-content: space-between;
  }
}

.droits-container {
  max-width: 900px;
  margin: auto;
  padding: 40px 20px;
  line-height: 1.7;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #002d72;
}

.droits-block {
  background: #f9f9f9;
  border-left: 5px solid #007bff;
  padding: 20px 30px;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.droits-block h2 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #0056b3;
}

.droits-list {
  list-style: none;
  padding-left: 0;
}

.droits-list li {
  margin-bottom: 10px;
  padding-left: 1.2em;
  position: relative;
}

.droits-list li::before {
  content: "👉";
  position: absolute;
  left: 0;
}

.droits-links a {
  color: #007bff;
  text-decoration: none;
}

.droits-links a:hover {
  text-decoration: underline;
}

.droits-conclusion {
  text-align: center;
  background: #e9f7ff;
  padding: 30px;
  border-radius: 8px;
  font-size: 1.1rem;
}

/* Fond bleu foncé personnalisé */
.droits-container {
  max-width: 900px;
  margin: auto;
  padding: 40px 20px;
  line-height: 1.7;
  background-color: #002d72; /* Couleur extraite de ton image */
  color: white;
}

/* Titre principal en blanc */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: white; /* Titre blanc */
}

/* Cartes (blocs de contenu) en clair pour contraster */
.droits-block {
  background: white;
  color: #333;
  border-left: 5px solid #007bff;
  padding: 20px 30px;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

/* Titre de bloc */
.droits-block h2 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #0056b3;
}

/* Dernier bloc conclusion (fond plus clair et texte noir) */
.droits-conclusion {
  text-align: center;
  background: #f1f9ff;
  padding: 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  color: #333;
}

/* === Appliquer le fond bleu foncé à tout le body === */
body {
  background-color: #002d72; /* bleu foncé */
  color: white;
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
}

/* Conteneur principal centré */
.droits-container {
  max-width: 900px;
  margin: auto;
  padding: 40px 20px;
}

/* Titre principal */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: white;
}

/* Blocs blancs contrastés */
.droits-block {
  background: white;
  color: #222;
  border-left: 5px solid #007bff;
  padding: 20px 30px;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Titre des blocs */
.droits-block h2 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #0056b3;
}

/* Bloc conclusion */
.droits-conclusion {
  text-align: center;
  background: #f1f9ff;
  padding: 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  color: #333;
}


footer {
  background-color: #f4f4f4;  /* fond clair */
  color: #111 !important;     /* texte noir (ou gris très foncé) */
  padding: 20px 0;
  text-align: center;
  border-top: 1px solid #ddd;
}

footer a {
  color: #0056b3;
  text-decoration: none;
  font-weight: 500;
}

footer a:hover {
  text-decoration: underline;
}

/* Style des icônes sociales */
footer .social-links {
  margin-top: 10px;
}

footer .social-links a img {
  width: 24px;
  height: 24px;
  margin: 0 8px;
  transition: transform 0.2s ease;
}

footer .social-links a:hover img {
  transform: scale(1.15);
}
