
/* ===== Reset & Base ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 1;
}
html, body {
  width: 100%;
  overflow-x: hidden;
  font-family: "Segoe UI", sans-serif;
  line-height: 1.6;
  background-color: #fff;
}

/* ===== Layout Containers ===== */
main, section {
  padding: 1rem;
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
}

/* ===== Header ===== */
header {
  background-color: #1d72b8;
  color: white;
  padding: 1rem;
}
.logo {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  padding: 0;
}
nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}
nav ul li a:hover {
  text-decoration: underline;
}

/* ===== Section: Recherche d'événement ===== */
.recherche-wrapper {
  display: flex;
  justify-content: center;
  padding: 2rem 1rem;
}
.recherche-evenement {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 400px;
  text-align: center;
}
.recherche-evenement h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.recherche-evenement input,
.recherche-evenement button {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
}
.recherche-evenement button {
  background-color: #1d72b8;
  color: white;
  font-weight: bold;
  cursor: pointer;
  border: none;
}
.recherche-evenement button:hover {
  background-color: #125ea8;
}

/* ===== Formulaire planifier.html ===== */
.form-container {
  padding: 2rem 1rem;
  background: #f5f5f5;
  border-radius: 10px;
}
.form-group {
  margin-bottom: 1rem;
}
label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 0.75rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}
textarea {
  min-height: 120px;
}
.btn-primary {
  background-color: #1d72b8;
  color: white;
  padding: 0.8rem 1.5rem;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
.btn-primary:hover {
  background-color: #125ea8;
}

/* ===== Témoignages / Commentaires ===== */
.testimonials-section {
  margin-top: 2rem;
}
.comment-list {
  display: grid;
  gap: 1rem;
}
.comment-card {
  background-color: #f0f0f0;
  padding: 1rem;
  border-left: 4px solid #1d72b8;
  border-radius: 6px;
}

/* ===== Footer ===== */
footer {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #f2f2f2;
  color: #444;
}
footer nav a {
  color: #1d72b8;
  text-decoration: none;
  margin: 0 0.5rem;
}

/* ===== Responsive: mobile < 768px ===== */
@media screen and (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }
  .form-container, .recherche-evenement {
    padding: 1rem;
  }
  h1, h2, h3 {
    font-size: 1.2rem;
    text-align: center;
  }
  .logo {
    text-align: center;
  }
}
/* ==== MENU BURGER ==== */
.burger {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  margin-left: auto;
}

@media screen and (max-width: 768px) {
  .burger {
    display: block;
  }

  #main-nav {
    display: none;
    width: 100%;
    background-color: #1d72b8;
    padding: 1rem;
  }

  #main-nav ul {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  #main-nav.show {
    display: flex;
  }
}

.logo {
  text-decoration: none;      /* enlève le soulignement */
  color: inherit;             /* garde la même couleur que le reste du header */
  font-weight: bold;          /* tu peux aussi personnaliser */
  font-size: 1.5rem;
}

.logo:hover,
.logo:active,
.logo:visited {
  text-decoration: none;
  color: inherit;
}

@media screen and (max-width: 768px) {
  .sticky-mobile {
    position: fixed;
    top: 50%;
    right: 0.5rem;
    transform: translateY(-50%);
    z-index: 999;
    width: 85%;
    max-width: 300px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    cursor: pointer;
  }

  .sticky-mobile.expand {
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    transform: none;
    padding: 2rem;
    border-radius: 0;
    background-color: #ffffff;
    overflow-y: auto;
    cursor: default;
  }
}

.carte-claire {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  padding: 0.3rem;
  max-width: 360px;
  margin: 2rem auto;
  text-align: center;
}

.carte-claire h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #333;
}

.champ-recherche {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-bottom: 1rem;
}

.btn-planifier {
  background-color: #1d72b8;
  color: white;
  font-weight: bold;
  padding: 0.75rem 1rem;
  width: 100%;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-planifier:hover {
  background-color: #155a8a;
}


