:root {
  --color-primary:   #D65F43; /* Orange doux */
  --color-secondary: #849A6A; /* Vert olive/gris doux */
  --color-tertiary:  #D7D2C8; /* Beige clair */
  --color-light:     #F6F3ED; /* Ivoire très clair */
  --color-background:#FFFEFC; /* Presque blanc */
  --color-dark:      #807C73;
  --color-black:     #000000;
  --shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* ----------- GLOBAL ----------- */
body {
  font-family: "Segoe UI", sans-serif;
  margin: 0;
  background-color: var(--color-background);
  color: var(--color-dark);
  line-height: 1.8;
  font-size: 1.05rem;
}

main {
  padding: 0 2rem 2rem;
  max-width: 1000px;
  margin: auto;
}

section {
  margin-bottom: 3rem;
  background: #fff;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

section:hover {
  transform: translateY(-4px);
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
  border-left: 5px solid var(--color-secondary);
  padding-left: 0.8rem;
}

h3 {
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 0.7rem;
  color: var(--color-secondary);
}

p {
  margin-bottom: 1.2rem;
}

ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

ul li {
  margin-bottom: 0.7rem;
}

/* ----------- FOOTER ----------- */
footer {
  background-color: var(--color-secondary);
  color: var(--color-background);
  text-align: center;
  padding: 1rem;
}

footer a {
  color: var(--color-light);
  text-decoration: underline;
  font-weight: 500;
}

footer a:hover {
  text-decoration: none;
  color: var(--color-tertiary);
}

/* ----------- HEADER / NAV ----------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--color-primary);
  padding: 0 2rem;
  height: 100px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  z-index: 1000;
}

.nav-container {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Logo */
.logo {
  width: 90px;
  height: 90px;
  border-radius: 10%;
  object-fit: cover;
  flex-shrink: 0;
  margin-top: 5px;
}

/* Nav */
nav {
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--color-black);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s;
}

nav a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0%;
  background: var(--color-secondary);
  transition: width 0.3s;
  margin-top: 4px;
}

nav a:hover {
  color: var(--color-secondary);
}

nav a:hover::after {
  width: 100%;
}

/* ----------- HERO SECTION ----------- */
.hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 320px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  margin-top: 100px;
  overflow: hidden; 
  background-image: url("../images/sunflower.jpg");
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.2rem;
}

/* ----------- CONTACT SECTION ----------- */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
}

.contact-list li {
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-list strong {
  width: 160px;
  color: var(--color-secondary);
}

.contact-list a {
  color: var(--color-primary);
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

.contact-section {
  max-width: 800px;
  margin: 6rem auto 2rem;
  padding: 2rem;
  background-color: var(--color-light);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-dark);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  background-color: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 2px rgba(214, 95, 67, 0.2);
}

.btn-primary {
  background-color: var(--color-primary);
  color: #fff;
  padding: 0.8rem 1.6rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background-color: #b84e36;
}

.footer-social a {
  display: inline-flex; 
  align-items: center;  
}

.social-icon {
  width: 35px;  
  height: 35px;
}

/* ----------- RESPONSIVE MEDIA QUERIES ----------- */

@media screen and (max-width: 768px) {
  * {
    box-sizing: border-box;
  }

  .header {
    height: auto;
    padding: 1rem;
    position: relative; /* On débloque le fixed pour éviter de manger l'espace sur mobile */
  }

  .nav-container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .logo {
    width: 70px;
    height: 70px;
    margin-top: 0;
  }

  nav {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  nav a {
    font-size: 1rem;
  }

  .hero {
    margin-top: 0;
    height: 250px;
  }

  .hero h1 {
    font-size: 2rem;
    padding: 0 1rem;
  }

  main {
    padding: 1rem;
  }

  section {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .contact-section {
    margin-top: 2rem;
    padding: 1.5rem;
  }

  .contact-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  .contact-list strong {
    width: auto;
  }

  .btn-primary {
    width: 100%;
    padding: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }
  
  nav {
    flex-direction: column;
    gap: 0.5rem;
  }
}