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

body {
  font-family: 'David Libre', serif;
  background-color: #fdfaf6;
  color: #2c2c2c;
  line-height: 1.6;
  font-size: 1rem;
  padding-top: 7.45rem;
  max-width: 1200px;
  margin: 0 auto;
}

img {
  max-width: 100%;
  height: auto;
}

a { 
  text-decoration: none;
  color: #7a523f;
  font-weight: 600;
}


header {
  background-color: #ffffff;
  padding: 1rem 2rem;
  border-bottom: 1px solid #ddd;
}

section[id] {
  scroll-margin-top: 12rem;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: #fff;
  padding-inline: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar a {
  color: #7a523f;
  font-weight: bold;
  transition: all 0.3s ease;
}

.navbar a:hover {
  color: #bba390;
  font-size: 1.2rem;
}

.logo {
  display: flex;
  align-items: center;
  background-color: #fff;
  border-radius: 8px;
}

.logo img {
  height: 150px;
  background-color: #fff;
  border-radius: 4px;
  margin: 0;
  padding: 1rem;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

nav ul.active {
  display: block;
}

#banniere {
  background: url('/banniere.jpg') center/cover no-repeat;
  text-align: center;
  padding: 4rem 2rem;
  color: #fff;
}

#banniere h2 {
  font-size: 3rem;
  color: #fdfaf6;
  text-shadow: 2px 2px 4px rgba(0, 3, 0.3);
}

main {
  padding: 3rem;
  background-color: #ffffff;
  padding-bottom: 3rem;
}

main section {
  margin-bottom: 3rem;
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-content: space-around;
}

h1, h2, h3, h4 {
  color: #3b3027;
  margin-bottom: 0.5rem;
}
h1  {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

h2 {
  font-size: 1,5rem;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 200;
}

h3 {
  font-size: 1.9rem;
  margin-bottom: 2rem;
  border-radius: 20px;
  margin-inline: 5rem;
  text-align: center;
  background-color: #f0e8df;
}

.soin {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  margin: 2rem 0;
}

.soin img {
  width: 250px;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  box-shadow: 7px 7px 6px rgba(0, 0, 0, 0.1);
}

.soin div {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  justify-content: start;
  text-align: justify;
  align-items: start;
}

.lien {
  padding-top: 1rem;
}

.lien:hover {
  color: #bba390;
  font-weight: bold;
  text-decoration: underline;
}



#apropos {
  margin: 0%;
  padding-bottom: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-direction: row;
}

.apropostext {
  margin-left: 3rem;
  padding: 2rem;
  background-color: #fdfaf6;
  border: 1px solid #e0dcd5;
  border-radius: 8px;
}
.apropostext p {
 text-align: justify
}

.author {
  display: flex;
  justify-content: end;
}

.portrait {
  display: flex;
  justify-content: center;
}

.portrait img {
  width: 800px;
  height: auto;
  object-fit: cover;
  border-radius: 45px;
  border: 2px solid #9e735a;
  box-shadow: 10px 10px 4px rgba(0, 0, 0, 0.1);
}

#soins-chinois h5 {
  display: flex;
  font-size: 1.2rem;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background-color: #f0e8df;
  padding: 1rem;
  margin-top: 2rem;
  margin-inline: 20rem;
}

h5 a:hover {
  color: #bba390;
  font-weight: bold;
}

#tarifs table {
  width: 100%;
  border-collapse: collapse;
  display: table;
  justify-content: center;
  align-items: center;
}

#tarifs th, #tarifs td {
  border: 1px solid #ccc;
  padding: 0.75rem 1.25rem;
  text-align: left;
}

#tarifs th {
  background-color: #f0e8df;
}

#contact {
  max-width: 50%;
  margin: 0 auto;
  padding: 2rem;
  background-color: #fdfaf6;
  border: 1px solid #e0dcd5;
  border-radius: 8px;
  text-align: left;
}

#contact p {
  margin-bottom: 1rem;
}

#contact ul {
  display: none;
}

footer {
  background-color: #f5efe6;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
  color: #666;
  border-top: 1px solid #ddd;
}

.reseaux {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin-top: 1rem;
  justify-content: center;
}

.reseaux li a {
  color: #7a523f;
  font-weight: bold;
}

@media screen and (max-width: 900px) {
  body {
    padding-top: 6.45rem;
  }

  main {
    padding: 3rem;
    font-size: 0.9rem;
  }

  main section {
    margin: 0;
    padding-inline: 0.5rem;
  }

  .navbar img{
    height: 100px;
  }

  header {
    padding: 0;
  }

  #banniere {
    padding: 2rem 1rem;
  }

  #banniere h2 {
    font-size: 2rem;
  }

  h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
  }

  #apropos {
    flex-direction: column;
    align-items: center;
  }

  .apropostext {
    margin-left: 0;
    padding: 1rem;
    width: 100%;
  }

  .portrait img {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin-bottom: 2rem;
    margin-top: 2rem;
  }

  #contact {
    padding: 1rem;
    margin-top: 2rem;
    font-size: 0.9rem;
  }

  #contact h3{
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
  }

}
@media screen and (max-width: 768px) {
  body {
    padding-top: 6.45rem;
  }
  nav ul {
    display: none;
    gap: 1rem;
    margin-top: 1rem;
  }

  main {
    padding-top: 2rem;
    font-size: 0.9rem;
    padding-bottom: 3rem;
    justify-content: center;
  }

  main section {
    margin: 0;
    padding-inline: 0.5rem;
  }

  .navbar {
    flex-direction: column;
  }

  .navbar img{
    height: 100px;
  }

  header {
    padding: 0;
  }

  #banniere {
    padding: 2rem 1rem;
  }

  #banniere h2 {
    font-size: 1.7rem;
  }

  h1 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    text-align: center;
  }

  #apropos {
    flex-direction: column;
    align-items: center;
  }

  .apropostext {
    margin-left: 0;
    padding: 1rem;
    width: 100%;
  }

  .portrait img {
    width: 75%;
    max-width: 400px;
    height: auto;
    margin-bottom: 2rem;
    margin-top: 2rem;
  }

  #contact {
    max-width: 100%;
    padding: 1rem;
    font-size: 0.9rem;
    margin: 2rem 0;
    margin-bottom: 0;
    font-size: 10px;
  }

  .soin {
    flex-direction: column;
    align-items: center;
  }

  #contact h3{
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-align: center;
  }

  h3 {
    font-size: 0.8rem;
    margin-bottom: 2rem;
    text-align: center;
    margin-inline: 0;
  }

  #soins-chinois{
    margin: 0;
    padding: 0;
  }

  #tarifs th, #tarifs td {
    padding: 0.2rem;
    text-align: center;
    font-size: 10px;
  }

  #tarifs td {
    font-size: 10px;
  }
}

/* Script minimal à intégrer dans le HTML :
<script>
  const menuToggle = document.querySelector('.menu-toggle');
  const navUl = document.querySelector('nav ul');
  menuToggle.addEventListener('click', () => {
    navUl.classList.toggle('active');
  });
</script>
*/
