body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #f8f9fa;
  color: #222;
}

header {
  background-color: #1a1a1a;
  color: white;
  padding: 0.2rem 0.5rem 0.6rem;
}


.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  flex-wrap: wrap;
}

.logo-bloc {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-bloc img {
  height: 60px; /* ou ajuste selon ton besoin */
}

.titre-bloc h1 {
  margin: 0;
  font-size: 1.5rem;
  color: #eee;
}

.slogan {
  margin: 0;
  font-size: 0.9rem;
  color: #bbb;
}

.phone a {
  color: orange;
  text-decoration: none;
  font-weight: bold;
}

.logo h1 {
  margin: 0;
  font-size: 1.6rem;
  color: white;
}

.phone {
  font-size: 1.8rem;
  margin: 0;
  font-weight: bold;
}


.phone a:hover {
  text-decoration: underline;
}

header p {
  text-align: left;
  color: #ccc;
  font-size: 1rem;
  margin-top: 0.5rem;
}

nav {
  margin-top: 0.8rem;
  text-align: center;
}


nav a {
  display: inline-block;
  margin: 0 0.7rem; /* espace horizontal entre les liens */
  text-decoration: none;
  color: #ccc;
  font-weight: normal;
}

nav a:hover {
  text-decoration: underline;
  color: #ccc;
}

nav a.active {
  text-decoration: underline;
  font-weight: bold;
  color: #ccc;
}




navold a {
  color: #ccc;
  margin: 0 1rem;
  text-decoration: none;
  font-weight: 500;
}

navold a:hover {
  color: white;
  text-decoration: underline;
}





main {
  max-width: 950px;
  margin: 2rem auto;
  padding: 0 1rem;
  background: white;
  box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

section {
  padding: 2rem;
  border-bottom: 1px solid #eee;
}

h2 {
  color: #003366;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

p {
  line-height: 1.6;
  font-size: 1rem;
  margin-bottom: 1rem;
}

footer {
  text-align: center;
  font-size: 0.9rem;
  padding: 1rem;
  background: #1a1a1a;
  color: #bbb;
}

.ceprim-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
}

.ceprim-text {
  flex: 1 1 60%;
  min-width: 280px;
}

.ceprim-image {
  flex: 1 1 35%;
  text-align: center;
}

.ceprim-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
  .ceprim-container {
    flex-direction: column;
  }

  .ceprim-image {
    margin-top: 1rem;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo {
    margin-bottom: 0.5rem;
  }

  .phone {
    text-align: left;
    width: 100%;
    margin: 0.5rem 0;
  }

  nav {
    margin-top: 1rem;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .phone {
    text-align: center;
  }

  nav {
    text-align: center;
  }
}

.section-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-title img {
  height: 40px;
  width: auto;
}

.section-title h2 {
  margin: 0;
  font-size: 1.8rem;
  color: #003366;
}

@media (max-width: 600px) {
  .section-title {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-title img {
    height: 30px;
  }

  .section-title h2 {
    font-size: 1.4rem;
  }
}

.info-box {
  background: #fffbe6;
  border: 1px solid #ffe58f;
  padding: 1rem;
  border-radius: 6px;
  color: #8c6d1f;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.info-box small {
  font-size: 0.80rem;
  color: inherit; /* hérite la couleur principale du paragraphe */
}


footer a {
  color: #bbb;
  text-decoration: none;
}

footer a:hover {
  color: #bbb;
  text-decoration: underline;
}



