*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #fffbeb;
  color: #292824;
  font-family: Arial, sans-serif;
}

header {
  padding: 1.875rem 1.25rem;
  text-align: center;
}

.site-title {
  font-family: Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.25rem;
  line-height: 1.5;
  text-transform: uppercase;
  margin: 0;
}

.tagline {
  margin-top: 0.625rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.5;
  color: #8a4b2a;
}

main {
  width: 100%;
  max-width: 56.25rem;
  margin: 1.25rem auto 3.75rem;
  padding: 0 1.5rem;
  flex: 1;
}

.photo {
  display: block;
  width: 100%;
  max-width: 47rem;
  height: auto;
  margin-inline: auto;
  border-radius: 1rem;
}

.content {
  max-width: 43.75rem;
  margin: 3rem auto;
  text-align: center;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 5vw, 2.375rem);
  font-weight: normal;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h3 {
  margin: 2rem 0 1rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.9;
  color: #68665f;
}

p {
  font-size: 1rem;
  line-height: 1.9;
  color: #68665f;
}

/* Liste des noms */
ul {
  list-style: none;
  text-align: left;
  margin: 0 auto;
  max-width: 62.5rem;
}

li {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #68665f;
  overflow-wrap: anywhere;
}

footer {
  padding: 1.5625rem;
  text-align: center;
  color: #68665f;
  font-size: 0.75rem;
  letter-spacing: 0.0625rem;
}

/* Liens */
a,
a:visited {
  color: #8a4b2a;
  text-decoration: underline;
  text-decoration-color: #c49a6c;
  text-decoration-thickness: 0.0625rem;
  text-underline-offset: 0.25rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

a:hover {
  color: #542d1b;
  text-decoration-thickness: 0.125rem;
}

a:focus-visible {
  outline: 0.125rem solid #8a4b2a;
  outline-offset: 0.25rem;
}

/* Formulaire de contact */
.contact-intro {
  margin-bottom: 2rem;
}

.contact-form {
  max-width: 34rem;
  margin: 2rem auto 0;
  text-align: left;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.45rem;
  color: #542d1b;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  display: block;
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #d8c9b6;
  border-radius: 0.5rem;
  background: #fff;
  color: #292824;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

.form-group textarea {
  min-height: 9rem;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid #8a4b2a;
  outline-offset: 2px;
  border-color: #8a4b2a;
}

.contact-form button {
  display: block;
  width: 100%;
  padding: 0.95rem 1.25rem;
  border: none;
  border-radius: 0.5rem;
  background: #8a4b2a;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.contact-form button:hover {
  background: #542d1b;
}

.contact-form button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.contact-form button:focus-visible {
  outline: 2px solid #542d1b;
  outline-offset: 3px;
}

.form-website {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-status {
  margin-top: 1rem;
  text-align: center;
  font-weight: 600;
}

.contact-status.success {
  color: #276749;
}

.contact-status.error {
  color: #b91c1c;
}

.contact-privacy {
  margin-top: 1rem;
  font-size: 0.8rem;
  line-height: 1.5;
  text-align: center;
}

.cf-turnstile {
  margin: 1.25rem 0;
}

.js-required {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: center;
}

/* Mobile */
@media (max-width: 37.5rem) {
  header {
    padding: 1.5625rem 0.9375rem;
  }

  main {
    margin-top: 0.625rem;
    padding: 0 1rem;
  }

  .content {
    margin: 2.1875rem auto;
  }

  footer {
    padding: 1.25rem 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
