/* styles.css */
@font-face {
  font-family: 'MaPolicePerso';
  src: url('./MyriadPro-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}


body {
  margin: 0;
  font-family: 'MaPolicePerso';
  background-color: #EFF1FB;
}

header {
  background-color: #EFF1FB;
  padding: 0;
  text-align: center;
}

header img {
  max-width: 180px;
  height: auto;
}

/* NAVIGATION */
nav {
  background-color: #1A237E;
  position: sticky;
  top: 0;
  z-index: 1000;
  margin-bottom: 2rem; /* espace entre menu et contenu */
}


nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

nav ul li {
  position: relative;
  transition: margin 0.3s ease;
}

nav ul li a {
  display: block;
  padding: 1rem 1.5rem;
  color: white;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.3s ease, background 0.3s ease, margin 0.3s ease;
}

/* État actif */
nav ul li a.active {
  color: #1A237E;
  background: #EFF1FB;
  border-radius: 5px;
  margin: 5px 5px;
}

/* Hover */
nav ul li a:hover {
  color: #1A237E;
  background: #EFF1FB;
  border-radius: 5px;
  margin: 5px 5px;
}

/* MENU BURGER */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  padding-right:  1rem;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background: #1A237E;
  margin: 4px 0;
  transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    background: #1A237E;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  nav ul.show {
    max-height: 300px; /* Ajuster selon le nombre de liens */
  }

  .menu-toggle {
    display: flex;
    position: absolute;
    right: 20px;
  }
}

/* ===== Style profile hors media query ===== */

.profile {
  max-width: 700px;
  margin: 2rem auto;
  padding: 1.5rem 2rem;
  background: white;
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.1);
  border-radius: 10px;
  color: #333;
  line-height: 1.6;
}

.profile h1 {
  font-size: 2.4rem;
  margin-bottom: 0.2rem;
  color: #1A237E;
}

.profile h2 {
  font-weight: 400;
  font-size: 1.25rem;
  color: #4a4a8a;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.profile h3 {
  font-size: 1.3rem;
  margin-top: 2rem;
  margin-bottom: 0.7rem;
  color: #1A237E;
  border-bottom: 2px solid #1A237E;
  padding-bottom: 0.3rem;
}

.profile p {
  margin-bottom: 1.2rem;
}

.profile ul {
  list-style-type: none; /* pas de puce par défaut */
  padding-left: 1.4rem;
  margin: 0;
}

.profile ul li {
  margin-bottom: 0.6rem;
}

.contact-info {
  margin-top: 2rem;
  font-weight: 600;
  color: #1A237E;
}

.contact-info p {
  margin: 0.3rem 0;
}

.services {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.services h2 {
  display: none; /* par défaut caché */
}

@media (max-width: 768px) {
  .services h2 {
    display: block; /* affiché uniquement sur écrans ≤ 768px */
  }
}

.services h2 {
  color: #1A237E;
  margin-bottom: 1rem;
  text-align: center;
}
.services ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.services li {
  background: #EFF1FB;
  border: 1px solid #EFF1FB;
  border-radius: 8px;
  margin-bottom: 0.7rem;
  padding: 0.8rem;
}

.service-info {
  display: flex;
  justify-content: space-between; /* espace entre gauche et droite */
  align-items: flex-start;
}

.service-title {
  display: block;
  font-weight: bold;
  color: #1A237E;
}

.service-duration {
  display: block;
  font-size: 0.9rem;
  color: #555;
  margin-top: 0.2rem;
  text-align: left;
}

.service-price {
  font-weight: bold;
  color: #1A237E;
  white-space: nowrap;
}


.horaires {
  max-width: 600px;
  margin: 2rem auto;
  padding: 1.5rem;
  background-color: #FFFFFF;
  border-radius: 10px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.horaires h2 {
  color: #1A237E;
  text-align: center;
  margin-bottom: 1rem;
}

.horaires ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.horaires li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #EFF1FB;
}

.horaires li:last-child {
  border-bottom: none;
}

.contact {
  max-width: 600px;
  margin: 2rem auto;
  padding: 1.5rem;
  background-color: #FFFFFF;
  border-radius: 10px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.contact h2 {
  color: #1A237E;
  text-align: center;
  margin-bottom: 1rem;
}

.contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact li {
  padding: 0.5rem 0;
}

.contact a {
  color: #1A237E;
  text-decoration: none;
}

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

.download-section {
  margin-top: 2rem;
  text-align: center;
}

.download-btn {
  display: inline-block;
  padding: 12px 20px;
  background-color: #1A237E;
  color: white;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

main {
  padding: 2rem;
  text-align: center;
}
