@import url('https://fonts.googleapis.com/css2?family=Bree+Serif&family=Inter:wght@400;600&family=Pacifico&display=swap');

:root {
  --bg: #f5f2eb;
  --primary: #4f6b43;
  --accent: #c97e5b;
  --text: #2c2c2c;
  --muted: #777;
  --white: #ffffff;
}

body {
  font-family: 'Inter', sans-serif;
  background: url('background-soft.jpg') repeat;
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  margin: 0;
  padding: 0;
}

/* HEADER */
header {
  background: rgba(255,255,255,0.9);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ccc;
}
.logo {
  height: 60px;
}
h1 {
  font-family: 'Bree Serif', serif;
  font-size: 1.8rem;
  color: var(--primary);
  margin: 0;
}
nav a {
  margin-left: 1rem;
  font-weight: 600;
  color: var(--primary);
}

/* HERO avec superposition */
.hero {
  position: relative;
  height: 300px;
  background: url('images/header.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}
.hero-text-overlay {
  background: rgba(255, 255, 255, 0.85);
  padding: 2rem;
  border-radius: 12px;
  max-width: 600px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.hero-text-overlay h2 {
  font-family: 'Pacifico', cursive;
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.hero-text-overlay p {
  color: var(--muted);
  font-size: 1.05rem;
}

/* SECTION STANDARD */
section {
  padding: 3rem 1rem;
  max-width: 900px;
  margin: 0 auto;
}
section h2 {
  font-family: 'Bree Serif', serif;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--primary);
}

/* ACTUS améliorées */
.actus article {
  background: #fffefb;
  border-left: 6px solid var(--accent);
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  box-shadow: 1px 2px 4px rgba(0,0,0,0.04);
}
.actus h3 {
  font-family: 'Bree Serif', serif;
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}
.actus .date {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 0.7rem;
}

/* BOUTONS */
.button {
  background: var(--accent);
  color: var(--white);
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.1s ease;
}
.button:hover {
  transform: scale(1.05);
  background: #a76445;
}

/* FOOTER */
footer {
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
  margin: 3rem 0 1rem;
}

.apropos-visuel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
  flex-wrap: wrap;
}
.apropos-text {
  flex: 1 1 400px;
}
.apropos-text h2 {
  font-family: 'Bree Serif', serif;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary);
}
.apropos-text p {
  font-size: 1.05rem;
  color: var(--text);
}

.apropos-image {
  flex: 1 1 400px;
  height: 280px;
  border-radius: 12px;
  background: url('images/apropos.jpg') center/cover no-repeat;
  opacity: 0.7;
  transition: opacity 3s ease-in-out;
  animation: fondu-lent 12s ease-in-out infinite alternate;
}

@keyframes fondu-lent {
  0% { opacity: 0.6; }
  100% { opacity: 0.9; }
}

@media (max-width: 768px) {
  .apropos-visuel {
    flex-direction: column;
  }
  .apropos-image {
    width: 100%;
    height: 200px;
    margin-top: 1.5rem;
  }
}
.contact-section {
  padding: 3rem 1rem;
  max-width: 1100px;
  margin: 0 auto;
}
.contact-section h2 {
  text-align: center;
  font-family: 'Bree Serif', serif;
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 2rem;
}
.contact-content {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: space-between;
}
.contact-infos {
  flex: 1 1 300px;
  font-size: 1.05rem;
  color: var(--text);
}
.contact-infos p {
  margin-bottom: 1rem;
}
.contact-form {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-form input,
.contact-form textarea {
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
}
.contact-map {
  margin-top: 3rem;
}
.contact-map h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--primary);
  font-family: 'Bree Serif', serif;
}
@media (max-width: 768px) {
  .contact-content {
    flex-direction: column;
  }
  .contact-form, .contact-infos {
    flex: 1 1 100%;
  }
}
article h2 {
  font-size: 1.6rem;
  color: #3c3c3c;
  margin-bottom: 0.2rem;
}

article p, article div {
  font-size: 1rem;
  line-height: 1.6;
  margin-top: 0.5rem;
}

article img {
  max-width: 100%;
  height: auto;
  margin-top: 1rem;
  border-radius: 6px;
}
.article img {
  max-width: 100%;
  height: auto;
  margin: 1em 0;
  border-radius: 6px;
}

.article h1, .article h2, .article h3 {
  color: #2d2d2d;
  margin-top: 1.5em;
}

.article p {
  line-height: 1.6;
  margin: 1em 0;
}

.back-link {
  display: inline-block;
  margin-bottom: 1em;
  color: #444;
  text-decoration: none;
}
