img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Navigation & structure */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #fafafa;
  color: #222;
}

nav {
  background: #3498db;
  padding: 10px 0;
  text-align: center;
}

nav a {
  color: #fff;
  margin: 0 16px;
  text-decoration: none;
  font-weight: bold;
  padding: 6px 10px;
  border-radius: 3px;
  transition: background 0.2s;
}
nav a:hover {
  background: #217dbb;
}

h1 {
  color: #217dbb;
  margin-top: 32px;
}

.container {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 24px;
}

/* Encadrés textuels et photos */
.box {
  background: #e3f2fd;
  border-left: 5px solid #3498db;
  margin: 22px 0;
  padding: 14px 18px;
  border-radius: 6px;
  box-shadow: 0 1px 6px rgba(33,125,187,.12);
}
.box strong {
  color: #217dbb;
  font-size: 1.1em;
}

/* Encadrés et disposition photos */
.photo-row {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-bottom: 24px;
}
.photo-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 48%;
  min-width: 220px;
  background: #e3f2fd;
  border-left: 5px solid #3498db;
  border-radius: 6px;
  margin-bottom: 0;
  box-shadow: 0 1px 6px rgba(33,125,187,.10);
}
.photo-box img {
  width: 100%;
  max-width: 340px;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(33,125,187,0.13);
}
.photo-box p {
  margin: 12px 0 4px;
  font-style: italic;
  color: #217dbb;
  text-align: center;
}

/* Galerie photos : lignes de 3 sur desktop, vertical sur mobile */
.gallery-row {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 24px;
}
.gallery-row .photo-box {
  width: 30%;
  min-width: 180px;
}
.gallery-row .photo-box img {
  width: 100%;
  max-width: 240px;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(33,125,187,0.13);
}
@media (max-width: 1000px) {
  .gallery-row {
    flex-direction: column;
    gap: 16px;
  }
  .gallery-row .photo-box {
    width: 100%;
    margin: 0 auto 10px;
  }
}

@media (max-width: 800px) {
  .photo-row {
    flex-direction: column;
    gap: 16px;
  }
  .photo-box {
    width: 100%;
    max-width: 340px;
    margin: 0 auto 10px;
  }
}

/* Formulaire + photo compact */
.contact-flex {
  display: flex;
  gap: 26px;
  align-items: flex-start;
  justify-content: center;
  margin-top: 30px;
}
.contact-photo {
  background: #e3f2fd;
  border-left: 5px solid #3498db;
  border-radius: 6px;
  box-shadow: 0 1px 6px rgba(33,125,187,.09);
  padding: 18px 12px 10px;
  text-align: center;
  max-width: 320px;
}
.contact-photo img {
  width: 100%;
  max-width: 280px;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(33,125,187,0.1);
}
.contact-photo p {
  margin: 12px 0 0;
  color: #217dbb;
  font-style: italic;
  font-size: .99em;
}

/* Formulaire */
.contact-form {
  background: #e3f2fd;
  box-shadow: 0 1px 6px rgba(33,125,187,.08);
  border-radius: 6px;
  padding: 18px 12px 8px;
  max-width: 360px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.contact-form label {
  font-weight: bold;
  color: #217dbb;
  margin-top: 10px;
  margin-bottom: 2px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 7px 8px;
  margin-bottom: 8px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: .98em;
  background: #f6f8fa;
  box-sizing: border-box;
}

.contact-form textarea {
  resize: vertical;
  min-height: 70px;
}

.contact-form button {
  background: #3498db;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  padding: 8px 14px;
  margin-top: 6px;
  font-size: 1em;
  cursor: pointer;
  transition: background .2s;
}

.contact-form button:hover {
  background: #217dbb;
}

/* Responsive : photo sous le formulaire sur smartphone */
@media (max-width: 900px) {
  .contact-flex {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .contact-photo, .contact-form {
    max-width: 100%;
    width: 100%;
  }
}

blockquote {
  margin: 12px 0;
  padding: 8px 14px;
  background: #f6f8fa;
  border-left: 4px solid #bbb;
  font-style: italic;
}
