/* ---- BASE ---- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(rgba(234,225,210,0.6), rgba(234,225,210,0.6)),
              url('images/background.webp') center/cover no-repeat;
  opacity: 0.6; /* ajuste la transparence */
  z-index: -1;
}


body {
  font-family: "Merriweather", Georgia, serif;  color: #3a3a3a;
  background: #faf7f2;
  scroll-behavior: smooth;
}

h1, h2, h3 {
  font-weight: 600;
  color: #3a2e1f;
}

section {
  padding: 20px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ---- HEADER ---- */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #e9dcc5;
  color: #3a2e1f;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 100;
}

.logo {
  display: flex;
  font-size: 1.2em;
  font-weight: bold;
}

.logo a {
  display: flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.logo-img {
  height: 40px; /* adapte selon la taille de ton header */
  margin-right: 10px;
  display: block;
}


/* --- MENU HAMBURGER --- */
.menu-toggle {
  display: none;
  font-size: 1.8em;
  cursor: pointer;
  color: #3a2e1f;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  color: #3a2e1f;
  text-decoration: none;
  transition: 0.3s;
  font-weight: 500;
}

nav a:hover {
  color: #7d6a50;
}

/* ---- HERO ---- */
.hero {
  color: #2c2c2c;
  text-align: center;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 20px;
}

.hero h1 {
  font-size: 2.3em;
  margin-bottom: 30px;
  color: #3a2e1f;
}

.hero p {
  font-size: 1.1em;
  margin-bottom: 20px;
}

.hero img {
  width: 100%;
  height: 300px;
  object-fit: contain;
}

.hero .btn {
  background: #c2a36b;
  color: white;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
  margin-top: 30px; /* espace au-dessus du bouton */
  display: inline-block;
}


/* ---- BOUTONS ---- */
.btn {
  background: #c2a36b;
  color: white;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn:hover {
  background: #a9864f;
}

/* ---- SERVICES ---- */
.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 30px;
  margin-top: 40px;
}

.service {
  background: #e9dcc5;
  border-radius: 8px;
  padding: 20px;
  flex: 1 1 400px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: 0.3s;
  text-align: center;
  border: 1px solid #f1e9da;
  vertical-align: bottom;
}

.service:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.service img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 15px;
}

/* ---- À PROPOS ---- */

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  margin-top: 20px;
}

.about-text {
  max-width: 500px;
  line-height: 1.6;
}

.about-text p {
  margin-top: 15px;
  text-align: justify;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  object-fit: cover;
}

/* ---- NOS TARIFS ---- */

.tarifs-container {
  display: grid;
  align-items: center;
  margin-top: 20px;
}

.tarifs-text {
  line-height: 1.6;
}

.tarifs-text p {
  margin-top: 15px;
  text-align: justify;
}

.tarifs-table table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 1rem;
  background: #e9dcc5;
  border: 1px solid #e0d7c3;
  border-radius: 8px;
  overflow: hidden;
}

.tarifs-table th,
.tarifs-table td {
  border: 1px solid #e5dbc8;
  padding: 12px 16px;
  text-align: left;
  color: #3a3a3a;
}

.tarifs-table th {
  background-color: #c2a36b;
  color: #3a2e1f;
}

/*Ligne horizontale*/
.tarifs-table tbody tr + tr td {
  border-top: 2px solid #d8cdb6;
}

/*Ligne verticale*/
.tarifs-table tbody td + td {
  border-left: 2px solid #d8cdb6;
}

.tarifs-table tr:hover {
  background-color: #efe6d7; /* effet survol plus chaud */
  transition: background-color 0.2s ease;
}

/* ---- MENTIONS LÉGALES ---- */

#mentions-legales {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #e9dcc5;
}

.mentions-legales-container {
  max-width: 800px;
  text-align: center;
}

.mentions-legales-text {
  line-height: 1.6;
}

.mentions-legales-text h1 {
  margin-bottom: 20px;
}

.mentions-legales-text p {
  margin-top: 15px;
  text-align: justify;
}

/* ---- FORMULAIRE ---- */
form {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

label {
  font-weight: bold;
  margin-bottom: 5px;
  color: #3a2e1f;
}

input, textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #d6cbb7;
  border-radius: 5px;
  background: #fffdf9;
}

button.btn {
  align-self: flex-start;
  cursor: pointer;
  border: none;
}

/* ---- FOOTER ---- */
footer {
  background: #e9dcc5;
  color: #3a2e1f;
  text-align: center;
  padding: 20px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .services {
    flex-direction: column;
  }

  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #e9dcc5;
    z-index: 1000;
  }

  nav ul {
    display: none;
    flex-direction: column;
    background: #e9dcc5;
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }

  nav ul.show {
    display: flex;
  }

  nav a {
    display: block;
    width: 100%;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    font-weight: bold;
    text-align: center;
  }

  .hero {
    height: auto;
    padding: 80px 15px 40px;
  }

  .hero h1 {
    font-size: 1.6em;
  }

  .hero p {
    line-height: 1.7;
    font-size: 1em;
    word-break: break-word;
  }

  .btn {
    padding: 10px 18px;
    font-size: 0.9em;
  }

  .about-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .about-text {
    max-width: 100%;
  }

  section {
    padding: 20px 15px;
  }

  footer {
    font-size: 0.9em;
  }

  .menu-toggle {
    display: block;
  }

  body {
    padding-top: 70px; /* pour que le header fixe ne cache pas le contenu */
  }

  #mentions-legales {
    height: auto; /* retire la hauteur fixe */
    padding: 80px 20px; /* espace haut et bas + un peu sur les côtés */
  }
}
