* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* Généralités */
body {
  font-family: "Montserrat", sans-serif;
  color: #8b5e46;
  font-size: 18px;
}
main {
  max-width: 100%;
  margin: 0 auto;
}
section {
  height: 100%;
}
.burger {
  display: none;
}
h1 {
  background: -webkit-linear-gradient(-110.37deg, #8b5e46 20%, #c96805 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}
a {
  text-decoration: none;
  color: #c96805;
}
header,
nav,
.cards,
.droits {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.titre2 {
  font-weight: 500;
  font-size: 50px;
  line-height: 60px;
}
.titre2::before {
  content: "";
  width: 150px;
  height: 6px;
  background: #c96805;
  display: block;
}

/* -------------------- Header ---------------- */
header {
  padding: 20px 10px;
  position: fixed;
  height: 100px;
  width: 100%;
  background-color: white;
  z-index: 1;
}
header img {
  width: 100px;
  height: 100px;
}
nav {
  width: 65%;
}
nav a {
  font-weight: 300;
  margin-left: 20px;
  font-size: 16px;
  /* cursor: url("images/curseur.gif"), default; */
}
nav a:hover {
  font-weight: bold;
  font-size: 18px;
  color:#8b5e46;
}
nav a:first-child {
  margin-left: 0;
}
/* -------------Section accueil-container---------- */
.accueilContainer {
  height: 100vh;
  padding-top: 100px;
  background: url(images/miel-ruche.jpg) no-repeat center/ cover;
}
.accueilTitle {
  background: hsla(0, 0%, 100%, 0.75);
  width: 50%;
  padding-left: 10px;
  padding-bottom: 5px;
  margin: 0;
  float: right;
}
.accueilTitle h1 {
  font-weight: 800;
  font-size: 80px;
  line-height: 100px;
}
.accueilTitle h2 {
  font-weight: 800;
  font-size: 40px;
  line-height: 60px;
  color: #c96805;
}
.accueilTitle span {
  font-weight: 400;
  color: #8b5e46;
}
.accueilTitle p {
  font-size: 24px;
  line-height: 30px;
  font-weight: 400px;
  width: 50%;
  margin: 16px 0 30px;
  color: #c96805;
}
.accueilTitle button {
  width: 250px;
  height: 50px;
  font-weight: bold;
  font-size: 18px;
  line-height: 22px;
  color: #ffffff;
  background: #c96805;
  box-shadow: 5px 5px 15px rgba(184, 85, 19, 0.431);
  border-radius: 10px;
  padding: 14px;
  border: none;
  cursor: pointer;
}
.accueilTitle .reseaux a {
  display: inline;
  margin: 20px;
  float: right;
}
/* ------------------------SECTION PRODUITS------------------ */
.cards {
  justify-content: center;
  height: 70vh;
  width: 100%;
}
.hidden {
  display: none;
}
.cards div img {
  width: 90%;
  height: 80%;
}
.cards div {
  width: 30%;
  background: rgba(201, 104, 5, 0.78);
  margin: 0 10px;
  position: relative;
  color: #ffffff;
}
.cards div .description {
  width: 100%;
  margin: 0;
  padding: 5px;
  font-size: 16px;
  line-height: 25px;
  text-align: center;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: transparent;
}
.prix {
  font-size: 20px;
  font-weight: 600;
}

/* ----------------------A propos-------------- */
.miel {
  width: 90%;
  display: flex;
  margin: 5px auto;
}
.bienfaits {
  margin: 40px auto 10px;
  position: relative;
}
.bienfaits img {
  display: block;
  width: 100%;
}
article {
  width: 65%;
  position: absolute;
  top: 0;
  left: 0;
  background: hsla(0, 0%, 100%, 0.75);
  padding: 5px;
}
article h2 {
  font-size: 28px;
  line-height: 30px;
}
article p {
  font-weight: 300px;
  font-size: 20px;
  line-height: 22px;
  width: 90%;
  margin: 5px 0;
}
article h2 span {
  color: #c96805;
}
button {
  border: #c96805;
  color: #ffffff;
  font-size: 20px;
  background: #8b5e46;
  border-radius: 18px;
  height: 40px;
  width: 150px;
  margin: 10px;
  cursor: pointer;
}
/* ------------------------Footer--------------- */
footer {
  background: rgba(201, 104, 5, 0.78);
  padding: 20px;
}
.joindre {
  padding: 10px auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  color: white;
}
.joindre li {
  list-style: none;
  line-height: 30px;
}
.joindre li a {
  color: #ffffff;
}
.joindre li {
  font-size: 18px;
  padding: 0 3px;
}
footer hr {
  width: 65%;
  border: #c96805 solid 2px;
  display: flex;
  margin: 15px auto;
}
.droits {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}
.reseauxFooter i {
  padding-right: 30px;
  color: #ffffff;
}
/* style span erreur formulaire */

/* span[class^="champ"]{
  font-weight: bolder;
  font-size: 14px;
  color: red;
} */

/* --------------------------- */
/* partie responsive */
@media (max-width: 700px) {
  /* ---Généralités--- */
  .titre2 {
    font-size: 30px;
  }
  section {
    padding: 0px 10px;
    height: 100%;
  }
  /* ----header & section principale--- */

  /* menu burger */
  header nav {
    position: fixed;
    top: 50px;
    right: 0;
    height: 70vh;
    width: 35%;
    background: #ffffff;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-transform: translate(100%);
    -ms-transform: translate(100%);
    transform: translate(100%);
    opacity: 0;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
  }
  /* burger */
  .burger {
    cursor: pointer;
    display: inline;
  }
  .burger div {
    width: 30px;
    height: 3px;
    margin: 5px 15px;
    background: #c96805;
    -webkit-transition: 0.5;
    -o-transition: 0.5;
    transition: 0.5;
  }
  /* nav fantôme */
  .croix .c1 {
    -webkit-transform: rotate(-45deg) translate(-5px, 6px);
    -ms-transform: rotate(-45deg) translate(-5px, 6px);
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  .croix .c3 {
    -webkit-transform: rotate(45deg) translate(-5px, -6px);
    -ms-transform: rotate(45deg) translate(-5px, -6px);
    transform: rotate(45deg) translate(-5px, -6px);
  }
  .croix .c2 {
    opacity: 0;
  }
  .navOpen {
    -webkit-transform: translateX(0%);
    -ms-transform: translateX(0%);
    transform: translateX(0%);
    opacity: 1;
  }
  /* --------------- */
  .accueilTitle {
    width: 90%;
    height: 80%;
    float: none;
  }
  .accueilTitle h1 {
    font-size: 50px;
    line-height: 60px;
  }
  .accueilTitle h2 {
    font-weight: 600;
    font-size: 30px;
    line-height: 40px;
  }
  .accueilTitle p {
    font-size: 20px;
    line-height: 30px;
    width: 100%;
  }
  .accueilTitle .reseaux a {
    margin: 40px 20px;
  }
  /* ---produits-- */
  .cards {
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    margin: 10px 0;
    padding: 0 10px;
  }
  .cards div {
    width: 100%;
    margin: 10px 10px;
  }
  .card1,
  .card2,
  .card3 {
    max-width: 80%;
  }
  /* -------A PROPOS------ */
  .miel {
    width: 100%;
    height: 100%;
  }
  .bienfaits {
    margin: 10px auto;
  }
  article {
    width: 90%;
  }
  article h2 {
    font-size: 20px;
  }
  article p {
    font-size: 16px;
    width: 100%;
  }
  button {
    font-size: 18px;
    height: 35px;
    width: 180px;
    margin: 5px;
  }
  /* ----footer---- */
  footer {
    padding: 10px;
  }
  .carte {
    max-width: 40%;
    overflow: hidden;
  }
  .joindre li {
    font-size: 14px;
  }
  .droits {
    font-size: 12px;
  }
}
