.banner {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: -1rem;
}
@media (max-width: 600px) {
  .banner {
    object-fit: cover;
    height: 120px;
  }
}

header {
  background-color: white;
  padding: 2rem 1rem;
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
}
header h1 {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0;
}
.sous-titre {
  font-size: 1.1rem;
  margin-top: 0.5rem;
  color: #6b7280;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f9fafb;
  margin: 0;
  padding: 0;
  color: #1f2937;
  line-height: 1.6;
}

section a {
  color: #67AC5A;
}

footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.875rem;
  background-color: #f3f4f6;
  color: #6b7280;
}

main {
  max-width: 860px;
  margin: auto;
  padding: 2rem 1rem;
}
section {
  background-color: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}
section:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

section p {
  font-family: 'Inter', sans-serif;
  padding: 0;
  color: #1f2937;
  line-height: 1.6;
  margin-bottom: 1rem;
}

section h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

ul {
  list-style-type: none;
  padding: 0;
  margin-bottom: 2rem;
  color: #6b7280;
}

.three-col {
  display: flex;
}

.col {
    flex: 1;
}

@media (max-width: 600px) {
  .three-col {
    flex-direction: column;
  }
}

ol {
  padding-left: 1.5rem;
}
ol li {
  padding-left: 2.5rem;
  margin-bottom: 0.5rem;
}
ol li::marker{
color: #67AC5A;
}


.refresh-container {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}
#refresh-reservations {
  background: #67AC5A;
  color: #fff;
  font-weight: 600;
  padding: 0.5rem 1.3rem;
  border: none;
  border-radius: 7px;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(52, 168, 245, 0.08);
  display: flex;
  align-items: center;
  gap: 0.5em;
  transition: background 0.18s, box-shadow 0.18s;
}
#refresh-reservations:hover {
  background: #4b5563;
  box-shadow: 0 4px 16px rgba(52, 168, 245, 0.18);
}

.rue-selector {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.3rem;
  font-size: 1.15rem;
}

.rue-selector label {
  color: #67AC5A;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rue-selector select {
  padding: 0.6rem 1.2rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #f3f4f6;
  font-size: 1.12rem;
  transition: box-shadow 0.2s;
  font-weight: 500;
  appearance: none;
  outline: none;
  cursor: pointer;
  box-shadow: 0 1px 6px rgba(52, 168, 245, 0.05);
}
.rue-selector select:focus {
  border-color: #67AC5A;
  box-shadow: 0 0 0 2px #c7fad9;
}

@media (max-width: 600px) {
  .rue-selector { flex-direction: column; align-items: stretch; }
}

@media (max-width: 600px) {
  .rue-selector {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .rue-selector select {
    width: 100%;
  }
}

/* Styles personnalisés Gemini */
/* Cache les cartes SVG par défaut */
.map-container svg {
    display: none;
    width: 100%;
    height: auto;
    border: 1px solid #e5e7eb; /* gray-200 */
    border-radius: 0.5rem;
}

/* Affiche la carte active */
.map-container svg.active {
    display: block;
}

/* Style pour les emplacements cliquables dans le SVG */
.emplacement {
    cursor: pointer;
    transition: fill 0.2s ease-in-out;
}

/* Style au survol */
.emplacement:hover {
    opacity: 0.7;
    stroke: #2563eb; /* blue-600 */
    stroke-width: 2px;
}

/* Style pour les emplacements sélectionnés */
.emplacement.selected {
    fill: #3b82f6 !important; /* blue-500 */
}

/* Style pour le message de confirmation de copie */
#copy-feedback {
    transition: opacity 0.5s ease-in-out;
}

.textarea-container {
  position: relative;
  width: 100%;
}
textarea {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background-color: #f3f4f6;
  margin-top: 0.5rem;
  cursor: pointer;
}
.copied-tooltip {
  position: absolute;
  right: 1rem;
  top: -1.5rem;
  background: #008060;
  color: white;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1000;
}
.copied-tooltip.visible {
  opacity: 1;
}

.emplacement.reserved {
  fill: #cccccc !important;
  stroke: #bbbbbb !important;
  cursor: not-allowed !important;
  opacity: 0.7;
}

#info-bulle-guide {
  position: fixed;
  right: 2.2rem;
  bottom: 2.2rem;
  z-index: 1100;
  transition: box-shadow 0.2s, background 0.2s;
  box-shadow: 0 6px 40px rgba(52,168,245,0.08);
}
.info-bulle-collapsed #open-info-bulle {
  display: flex;
}
.info-bulle-expanded #open-info-bulle {
  display: none;
}
.info-bulle-collapsed .info-bulle-content {
  display: none;
}
.info-bulle-expanded .info-bulle-content {
  display: block;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 40px rgba(52,168,245,0.16);
  padding: 1.5rem 2.2rem 1.5rem 1.5rem;
  margin-left: 1.5rem;
  max-width: 400px;
  min-width: 250px;
  font-size: 0.9rem;
  color: #333;
  position: relative;
  animation: slideUp 0.5s;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px);}
  to { opacity: 1; transform: translateY(0);}
}
#open-info-bulle, #close-info-bulle {
  border: none;
  background: #67AC5A;
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(52,168,245,0.10);
  font-size: 1.3rem;
  cursor: pointer;
  transition: background 0.18s;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
#open-info-bulle:hover, #close-info-bulle:hover {
  background: #4b5563;
}
#close-info-bulle {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 36px;
  height: 36px;
  font-size: 1.0rem;
  background: #e75480;
}
@media (max-width: 600px) {
  .info-bulle-expanded .info-bulle-content {
    max-width: 95vw;
    min-width: 180px;
    padding: 1rem 1.2rem 1rem 1rem;
    font-size: 1rem;
  }
  #info-bulle-guide { right: 0.7rem; bottom: 0.7rem;}
}

.logo-cdf {
    display: block;
    margin-left: auto;
    margin-right: auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(52,168,245,0.08);
  background: #fff;
  border: 2px solid #efefef;
  object-fit: cover;
}

@media (max-width: 600px) {
  .logo-cdf {
    width: 48px;
    height: 48px;
  }
}

.conditions-container {
    max-width: 700px;
    margin: 3rem auto;
    background: #fff;
    padding: 2.2rem 2rem;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(44,80,130,0.08);
}
.conditions-container h1 { font-size: 2rem; margin-top: 0;}
.conditions-container ol li::marker { color: #67AC5A;}
/* .conditions-container a { color: #67AC5A;} */
.btn-retour { display:inline-block; margin-top:2.3rem; background:#67AC5A; color:#fff; padding:0.9rem 2.1rem; border:none; border-radius:8px; font-weight:600; text-decoration:none; transition:background .17s;}
.btn-retour:hover { background:#4b5563;}

.form-section {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(44,80,130,0.08);
  padding: 2.5rem 2rem 2rem 2rem;
  margin: 2rem auto 2.5rem auto;
}
.form-section h2 {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.4rem;
  margin-top: 0;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem 2.1rem;
  margin-bottom: 1.6rem;
}
.form-files label {
  display: block;
  margin-bottom: 1.3rem;
}
input[type="text"], input[type="email"], input[type="tel"] {
  width: 100%;
  padding: 0.47rem 0.7rem;
  margin-top: 0.25rem;
  border: 1px solid #dae5ef;
  border-radius: 7px;
  font-size: 1.08rem;
}
input[type="file"] {
  margin-top: 0.6rem;
}
::file-selector-button {
  border:none;
  padding: 5px 10px;
  border-radius: 10px;
  color:#fff;
  background-color: #67AC5A;
  transition: box-shadow 0.2s;
}
::file-selector-button:hover {
  background-color: #4b5563;
  cursor: pointer;
}

input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #67AC5A;  /* vert charte */
  border-radius: 5px;     /* coins arrondis */
  vertical-align: middle;
  margin-right: 8px;
  transition: box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(20,130,106,0.08);
}
input[list]::-webkit-input-placeholder { color: #bbb; }
input[list]::-webkit-input-suggestion,
datalist option {
  font-size: 1em;
  font-family: inherit;
  background: #f9fafd;
  color: #222;
  padding: 6px 10px;
  border-radius: 6px;
}


.btn-form {
  background: #67AC5A;
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  padding: 0.95rem 2.2rem;
  cursor: pointer;
  margin-top: 1.2rem;
  transition: background 0.16s;
}
.btn-form:hover { background: #4b5563;}
.preview {
  margin-top: 0.3rem; min-height: 36px;
}
@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; gap: 1.1rem;}
  .form-section { padding: 1.3rem 0.4rem;}
}
.form-message { margin-top: 1.2rem; color: #14826a; font-weight: 500;}

.warning {
  width: 100%;
  text-align: center;
  border-radius: 5px;
  background-color: #FBF0CA;
  color: #A95528;
  border-style: none;
  padding: 0.5rem 1.5rem;
  margin-top: 5px;
  margin-bottom: 10px;
}