* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Helvetica, Arial, sans-serif;
}
h1, h2, h3 {
  font-family: 'Bree Serif', serif;
}
.contenu {
  margin: 30px;
}
h1 {
  text-align: center;
  font-size: 3rem;
  color: #ff0077;
  margin: 20px 0;
}
p {
  line-height: 1.6;
  margin-bottom: 15px;
}

/* ===== HEADER ===== */
.banniere {
  width: 100%;
  height: 25vh;
  min-height: 140px;
  position: relative;
  overflow: visible;
  background-image: url("imagesHackaton/fond-banniere2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 20px;
  padding: 0 40px;
}
.banniere > a {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  height: 135px;
  width: 135px;
  position: relative;
  z-index: 2;
}
.logo {
  height: 135px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}
.menu {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 30px;
  flex-shrink: 1;
  flex-wrap: wrap;
}
.menu a {
  font-family: 'Bree Serif', serif;
  font-weight: bold;
  color: #5dc1b9;
  text-decoration: none;
  font-size: 1.1rem;
  white-space: nowrap;
}
.menu a:hover {
  color: #ff0077;
}
.bouton {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  font-family: 'Bree Serif', serif;
  font-weight: bold;
  background-color: #ff0077;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
}
.bouton:hover {
  background-color: #ff599e;
}

/* ===== CONTENU ===== */
.section-duo {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 40px 0;
}
.texte-gauche,
.texte-droite {
  flex: 1;
  min-width: 280px;
  padding: 30px;
  border-radius: 8px;
}
.texte-gauche {
  background-color: #5dc1b9;
  color: white;
}
.texte-droite {
  background-color: #ff599e;
  color: white;
}
.texte-gauche h2,
.texte-droite h2 {
  margin-bottom: 15px;
}
.texte-droite ul {
  list-style: none;
}
.texte-droite li {
  margin-bottom: 10px;
  font-size: 1.05rem;
}
.image {
  display: flex;
  justify-content: center;
}
.image img {
  max-width: 550px;
}

/* ===================================
   CHATBOT
   =================================== */
.chatbot-toggle-input {
  display: none;
}
.modal-overlay,
.chatbot-fenetre {
  display: none;
}
.chatbot-toggle-input:checked ~ .modal-overlay {
  display: block;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1999;
  cursor: pointer;
}
.chatbot-toggle-input:checked ~ .chatbot-fenetre {
  display: block;
}
.chatbot-icone {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 1000;
  display: block;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.chatbot-icone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.chatbot-icone:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
.chatbot-fenetre {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90vw;
  background: #ececec;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.55);
  border: 1px solid #999;
  z-index: 2000;
}
.chatbot-title-bar {
  background: linear-gradient(180deg, #f5f5f5, #d5d5d5);
  border-bottom: 1px solid #aaa;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 12px;
  font-family: 'Bree Serif', serif;
  font-weight: bold;
  font-size: 13px;
  color: #333;
}
.chatbot-title-bar .buttons {
  display: flex;
  gap: 6px;
}
.chatbot-title-bar .buttons span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffc84a, #ff8c00);
  display: block;
}
.chatbot-title-bar .buttons span:nth-child(2) {
  background: linear-gradient(180deg, #8cff8c, #2fbf2f);
}
.close-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ff6a5a, #e0281f) !important;
  cursor: pointer;
  display: block;
}
.chatbot-content {
  background: #0a0a0a;
  display: block;
}
.chatbot-image {
  display: block;
  max-width: 90vw;
  height: auto;
}

/* ===== FOOTER BANDEAU ===== */
.footer-bandeau {
  width: 100%;
  min-height: 280px;
  position: relative;
  margin-top: 60px;
  background-image: url("https://i.pinimg.com/vwebp/1200x/29/f0/aa/29f0aa9942da2b5c3d1f5c65a04eb11e.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Voile plus léger pour que l'image de fond reste bien visible */
.footer-overlay {
  width: 100%;
  height: 100%;
  min-height: 280px;
  background-color: rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 30px 60px;
  position: relative;
}

/* Logo plus grand, repositionné plus bas dans le bandeau */
.footer-logo {
  position: absolute;
  top: 90px;
  left: 30px;
  height: 130px;
  width: auto;
  object-fit: contain;
}

/* Bloc équipe, centré */
.footer-equipe {
  flex: 1;
  min-width: 250px;
  text-align: center;
}
.footer-equipe p {
  font-family: 'Bree Serif', serif;
  font-weight: bold;
  color: #7b3fa0;
  font-size: 1rem;
  margin-bottom: 8px;
}

/* Bloc Instagram, à droite */
.footer-instagram {
  flex-shrink: 0;
  text-align: center;
  min-width: 180px;
}
.footer-instagram p {
  font-family: 'Bree Serif', serif;
  font-weight: bold;
  color: #ff0077;
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.footer-qrcode {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 8px;
  background-color: white;
  padding: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}
.footer-qrcode:hover {
  transform: scale(1.05);
}