/* Feuille de style - Cabinet de médiation Christine Janssen */
/* Style volontairement classique et sobre */

body {
  margin: 0;
  padding: 0;
  background-color: #f3ecdc;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 39h40M39 0v40' stroke='%23e6dcc4' stroke-width='1'/%3E%3C/svg%3E");
  color: #2e2a22;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 17px;
  line-height: 1.65;
}

.cadre {
  max-width: 860px;
  margin: 24px auto;
  background-color: #fbf7ec;
  border: 3px double #6b3a3a;
  padding: 0;
}

/* En-tete */
header.bandeau {
  text-align: center;
  padding: 28px 20px 18px 20px;
  border-bottom: 3px double #6b3a3a;
  background-color: #f4ead4;
}

header.bandeau .titre {
  font-size: 34px;
  letter-spacing: 2px;
  color: #5a2b2b;
  margin: 0;
  font-variant: small-caps;
  font-weight: normal;
}

header.bandeau .sous-titre {
  margin: 6px 0 0 0;
  font-style: italic;
  font-size: 18px;
  color: #4a4338;
}

header.bandeau .filet {
  margin: 14px auto 0 auto;
  width: 120px;
  border: none;
  border-top: 1px solid #a9925f;
}

/* Navigation */
nav.menu {
  background-color: #5a2b2b;
  text-align: center;
  padding: 0;
}

nav.menu a {
  display: inline-block;
  color: #f4ead4;
  text-decoration: none;
  padding: 10px 16px;
  font-variant: small-caps;
  font-size: 16px;
  letter-spacing: 1px;
  border-right: 1px solid #784040;
}

nav.menu a:first-child {
  border-left: 1px solid #784040;
}

nav.menu a:hover {
  background-color: #784040;
  text-decoration: underline;
}

nav.menu a.actif {
  background-color: #f4ead4;
  color: #5a2b2b;
  font-weight: bold;
}

/* Contenu */
main {
  padding: 28px 38px 10px 38px;
}

h2 {
  color: #5a2b2b;
  font-size: 25px;
  font-weight: normal;
  border-bottom: 1px solid #c9b88c;
  padding-bottom: 6px;
  margin-top: 30px;
}

h3 {
  color: #6b3a3a;
  font-size: 20px;
  font-weight: normal;
  font-style: italic;
  margin-bottom: 4px;
}

p {
  text-align: justify;
}

a {
  color: #6b3a3a;
}

.intro {
  font-size: 18px;
  font-style: italic;
  color: #463f33;
}

/* Encadre */
.encadre {
  background-color: #f1e7cf;
  border: 1px solid #c9b88c;
  border-left: 5px solid #6b3a3a;
  padding: 14px 20px;
  margin: 22px 0;
}

.encadre h3 {
  margin-top: 0;
}

/* Listes */
ul.liste {
  list-style: none;
  padding-left: 0;
}

ul.liste li {
  padding: 5px 0 5px 26px;
  border-bottom: 1px dotted #d8c9a4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Cpath d='M2 7l3 3 7-7' stroke='%236b3a3a' fill='none' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0 9px;
}

/* Etapes numerotees */
ol.etapes {
  counter-reset: etape;
  list-style: none;
  padding-left: 0;
}

ol.etapes li {
  counter-increment: etape;
  position: relative;
  padding: 8px 0 8px 48px;
  border-bottom: 1px dotted #d8c9a4;
}

ol.etapes li::before {
  content: counter(etape);
  position: absolute;
  left: 0;
  top: 8px;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  background-color: #5a2b2b;
  color: #f4ead4;
  border-radius: 50%;
  font-weight: bold;
}

/* Bloc deux colonnes */
.deux-colonnes {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 20px 0;
}

.deux-colonnes .colonne {
  flex: 1 1 300px;
}

/* Coordonnees */
.coordonnees {
  background-color: #f1e7cf;
  border: 1px solid #c9b88c;
  padding: 18px 22px;
  margin: 20px 0;
}

.coordonnees p {
  margin: 4px 0;
  text-align: left;
}

table.horaires {
  border-collapse: collapse;
  width: 100%;
  margin-top: 10px;
}

table.horaires td {
  border: 1px solid #c9b88c;
  padding: 7px 12px;
}

table.horaires td.jour {
  background-color: #f1e7cf;
  width: 40%;
}

/* Formulaire */
form.contact label {
  display: block;
  margin-top: 14px;
  font-style: italic;
  color: #463f33;
}

form.contact input,
form.contact textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 8px;
  border: 1px solid #a9925f;
  background-color: #fffdf6;
  font-family: Georgia, serif;
  font-size: 16px;
}

form.contact .bouton {
  margin-top: 16px;
  background-color: #5a2b2b;
  color: #f4ead4;
  border: 2px outset #784040;
  padding: 9px 22px;
  font-family: Georgia, serif;
  font-size: 16px;
  font-variant: small-caps;
  letter-spacing: 1px;
  cursor: pointer;
}

form.contact .bouton:hover {
  background-color: #784040;
}

/* Images */
.hero {
  margin: 0;
  border-bottom: 3px double #6b3a3a;
}

.hero img {
  display: block;
  width: 100%;
  height: auto;
}

figure.photo {
  margin: 0 0 18px 0;
  background-color: #fbf7ec;
  border: 1px solid #c9b88c;
  padding: 8px 8px 6px 8px;
}

figure.photo img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #d8c9a4;
}

figure.photo figcaption {
  font-size: 13px;
  font-style: italic;
  color: #8a7f68;
  text-align: center;
  padding-top: 6px;
}

figure.droite {
  float: right;
  width: 300px;
  margin: 4px 0 16px 26px;
}

figure.gauche {
  float: left;
  width: 300px;
  margin: 4px 26px 16px 0;
}

figure.portrait {
  float: right;
  width: 210px;
  margin: 4px 0 16px 26px;
}

.clear {
  clear: both;
}

@media (max-width: 600px) {
  figure.droite, figure.gauche, figure.portrait {
    float: none;
    width: 100%;
    margin: 12px 0;
  }
}

/* Citation */
blockquote.citation {
  font-style: italic;
  color: #5a2b2b;
  border-left: 3px solid #c9b88c;
  margin: 22px 10px;
  padding: 4px 18px;
  font-size: 19px;
}

/* Pied de page */
footer.pied {
  border-top: 3px double #6b3a3a;
  background-color: #f4ead4;
  text-align: center;
  font-size: 14px;
  color: #5b5343;
  padding: 16px 20px;
}

footer.pied a {
  color: #6b3a3a;
}

footer.pied .maj {
  font-style: italic;
  font-size: 13px;
  color: #8a7f68;
  margin-top: 8px;
}

@media (max-width: 600px) {
  main { padding: 20px 18px; }
  header.bandeau .titre { font-size: 26px; }
  nav.menu a { padding: 8px 10px; font-size: 14px; }
}
