#discussions-container {
  padding: 5px;
}

/* Modernisation accueil */
.accueil-modern {
  padding: 5px 0;
}
.accueil-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 2rem;
}
.accueil-photo {
  max-width: 40%;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.accueil-infos {
  flex: 1;
  min-width: 250px;
}
.accueil-titre {
  font-size: 15px;
  margin-bottom: 1rem;
}
.accueil-texte {
  font-size: 13px;
  line-height: 1.7;
  color: #222;
}
.accueil-texte-vide {
  color: #888;
}
.accueil-boutons {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2.5rem;
}
.accueil-bouton-bloc {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.accueil-bouton-titre {
  font-size: 14px;
  margin-bottom: 0.7rem;
}
.accueil-btn-download {
  padding: 0.7em 1.5em;
  border-radius: 24px;
  background: #0078d7;
  color: #fff;
  border: none;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.accueil-btn-download[disabled] {
  background: #eee;
  color: #aaa;
  cursor: not-allowed;
}
@media (max-width: 900px) {
  .accueil-flex, .accueil-boutons {
    flex-direction: column;
    gap: 1.5rem;
  }
  .accueil-photo {
    max-width: 100%;
  }
}

.accueil-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 2rem;
  padding: 5px;
}

.accueil-col-gauche {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.2rem; /* réduit l'espace entre image et boutons */
  max-width: 40%;
  min-width: 250px;
}

.accueil-photo {
  width: 100%;
  max-width: 100%;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.accueil-boutons {
  display: flex;
  flex-direction: column;
  gap: 0.8rem; /* espace réduit entre les deux boutons */
  width: 100%;
}

.accueil-bouton-bloc {
  align-items: flex-start;
}

@media (max-width: 900px) {
  .accueil-flex {
    flex-direction: column;
    gap: 1.5rem;
  }
  .accueil-col-gauche,
  .accueil-infos {
    max-width: 100%;
    width: 100%;
    min-width: 0;
  }
  .accueil-photo {
    max-width: 100%;
  }
  #banner h3 {
    font-size: 12px;
    margin-left: 20px;
  }
  .accueil-boutons {
    background-color: #fcfcfc;
    border: 1px solid #e0e0e0;
    -webkit-box-shadow: 0 2px 0 0 rgba(0,0,0,.03);
    box-shadow: 0 2px 0 0 rgba(0,0,0,.03);
    padding-left: 5px;
    padding-bottom: 5px;
    padding-top: 5px;
    width: 98%;
  }
}


.footer-geoplus {
  width: auto;
  background: #6ee7b7;
  color: #222;
  text-align: center;
  padding: 1.2em 0 1em 0;
  font-size: 14px;
  font-family: inherit;
  letter-spacing: 0.01em;
}
.footer-geoplus strong {
  color: #047857;
}
.footer-geoplus-contact {
  margin-top: 0.7em;
  display: flex;
  justify-content: center;
  gap: 2.5em;
  flex-wrap: wrap;
  font-size: 12px;
}
.footer-geoplus-contact i {
  color: #047857;
  margin-right: 0.4em;
}
.footer-geoplus-contact a {
  color: #222;
  text-decoration: none;
  font-weight: bold;
}
.footer-geoplus-contact a:hover {
  text-decoration: underline;
}
@media (max-width: 600px) {
  .footer-geoplus-contact {
    flex-direction: column;
    gap: 0.5em;
    font-size: 12px;
  }
}

@media (max-width: 900px) {
.footer-geoplus {
  margin-left: 0px;
}
}
.footer-plan-site {
  margin-left: 1.5em;
}
.footer-plan-site a {
  color: #0369a1;
  text-decoration: underline;
  cursor: pointer;
}
.footer-plan-site a:hover {
  color: #047857;
}

/* Style moderne pour la modale Plan du site */
#modalPlanSite.modal-mention {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.25);
  justify-content: center;
  align-items: center;
}

#modalPlanSite .modal-content-mention {
  background: #f8fafc;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  padding: 2.2em 2em 1.5em 2em;
  max-width: 350px;
  width: 90vw;
  position: relative;
  animation: modalFadeIn 0.25s;
}

@keyframes modalFadeIn {
  from { transform: translateY(40px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

#modalPlanSite h2 {
  color: #047857;
  font-size: 1.3em;
  margin-bottom: 1.2em;
  text-align: center;
}

#modalPlanSite ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#modalPlanSite ul li {
  margin-bottom: 1em;
  text-align: left;
}

#modalPlanSite ul li:last-child {
  margin-bottom: 0;
}

#modalPlanSite a {
  color: #0369a1;
  font-weight: 500;
  text-decoration: none;
  font-size: 1.08em;
  transition: color 0.2s;
  padding-left: 0.3em;
}

#modalPlanSite a:hover {
  color: #047857;
  text-decoration: underline;
}

#modalPlanSite .close-plan-site {
  position: absolute;
  top: 1.1em;
  right: 1.3em;
  font-size: 1.6em;
  color: #888;
  transition: color 0.2s;
  z-index: 2;
}
#modalPlanSite .close-plan-site:hover {
  color: #047857;
  cursor: pointer;
}

@media (max-width: 600px) {
  #modalPlanSite .modal-content-mention {
    padding: 1.2em 0.7em 1em 0.7em;
    max-width: 98vw;
  }
  #modalPlanSite h2 {
    font-size: 1.1em;
  }
  #modalPlanSite a {
    font-size: 1em;
  }
}




.doc-chapitre {
  margin-bottom: 2em;
  background: #f8fafc;
  border-radius: 10px;
  padding: 1.2em 1em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border-left: 4px solid #047857;
}
.doc-chapitre-titre {
  font-size: 1.2rem;
  color: #047857;
  margin-bottom: 0.7em;
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.doc-souschapitre {
  margin: 1em 0 1em 1.5em;
  padding-left: 1em;
  border-left: 3px solid #6ee7b7;
  background: #f1fdf7;
  border-radius: 7px;
}
.doc-souschapitre-titre {
  font-size: 1.05rem;
  color: #059669;
  margin-bottom: 0.5em;
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.doc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.doc-item {
  margin-bottom: 0.5em;
}
.doc-item a {
  color: #0078d7;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.doc-item a:hover {
  text-decoration: underline;
}
.doc-item i {
  color: #e53e3e;
}




.discussion-list {
  display: flex;
  flex-direction: column;
  gap: 1.2em;
  margin-top: 1.5em;
}
.discussion-message {
  background: #f8fafc;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 1em 1.2em;
  border-left: 4px solid #047857;
}
.discussion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5em;
}
.discussion-title {
  font-weight: bold;
  color: #047857;
  font-size: 1.08em;
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.discussion-date {
  color: #888;
  font-size: 0.97em;
}
.discussion-content {
  color: #222;
  font-size: 1.05em;
  line-height: 1.6;
  word-break: break-word;
}
.discussion-empty {
  color: #888;
  font-style: italic;
  margin-top: 1em;
}

.btn-lire-plus {
  background: none;
  border: none;
  color: #047857;
  font-weight: bold;
  cursor: pointer;
  font-size: 1em;
  padding: 0 0.3em;
}
.btn-lire-plus:hover {
  text-decoration: underline;
}



.calendar-info {
  background: #f8fafc;
  border-left: 4px solid #047857;
  border-radius: 8px;
  padding: 1em 1.2em;
  margin-bottom: 1em;
  font-size: 1.08em;
  color: #222;
  display: flex;
  align-items: center;
  gap: 0.7em;
}
.calendar-info i {
  color: #047857;
  font-size: 1.4em;
}
.calendar-date {
  color: #047857;
  font-weight: bold;
}
.calendar-rappel {
  background: #e0f2fe;
  border-radius: 8px;
  padding: 1em 1.2em;
  color: #0369a1;
  margin-top: 0.5em;
  font-size: 1.04em;
}


.cadre-modern {
  background: #f8fafc;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 5px;
  margin: 5px;
    border-left: 4px solid #047857;
}
.cadre-modern h3 {
  color: #047857;
  margin-bottom: 1em;
  font-size: 1.2em;
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.lieu-list, .permanence-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lieu-item, .permanence-item {
  margin-bottom: 1.1em;
  font-size: 1.07em;
}
.lieu-adresse, .permanence-lieu {
  color: #0369a1;
}
.permanence-date, .permanence-heure {
  font-weight: bold;
  margin-right: 0.7em;
}
.lieu-empty, .permanence-empty {
  color: #888;
  font-style: italic;
}

@media (max-width: 900px) {
  .calendar-info,
  .calendar-rappel,
  .cadre-modern {
    padding: 1em 0.7em;
    font-size: 1em;
  }
  .cadre-modern {
    margin: 1.2em 0 1em 0;
  }
  .cadre-modern h3 {
    font-size: 1.08em;
  }
  .lieu-item, .permanence-item {
    font-size: 1em;
    margin-bottom: 0.7em;
  }
  .discussion-message {
    padding: 0.7em 0.6em;
  }
}

@media (max-width: 600px) {
  .calendar-info,
  .calendar-rappel,
  .cadre-modern,
  .discussion-message {
    padding: 0.7em 0.3em;
    font-size: 0.97em;
  }
  .cadre-modern {
    margin: 0.7em 0 0.7em 0;
    border-radius: 7px;
  }
  .cadre-modern h3 {
    font-size: 1em;
    gap: 0.3em;
  }
  .lieu-item, .permanence-item {
    font-size: 0.97em;
    margin-bottom: 0.5em;
  }
  .lieu-adresse, .permanence-lieu {
    font-size: 0.95em;
  }
  .discussion-title {
    font-size: 1em;
    gap: 0.3em;
  }
  .discussion-date {
    font-size: 0.9em;
  }
}


.accueil-actions-rapides {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.7em;
}
.btn-rappel-deposer {
  background: #047857;
  color: #fff;
  border: none;
  border-radius: 22px;
  padding: 0.7em 1.5em;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: background 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.btn-rappel-deposer:hover {
  background: #065f46;
}
.rappel-permanence {
  background: #e0f2fe;
  color: #0369a1;
  border-radius: 8px;
  padding: 0.7em 1em;
  font-size: 0.98em;
  display: flex;
  align-items: center;
  gap: 0.5em;
}
@media (max-width: 900px) {
  .accueil-actions-rapides {
    align-items: stretch;
    margin-top: 1em;
  }
  .btn-rappel-deposer {
    width: 100%;
    justify-content: center;
  }
}