:root {
  --primary-color: #5a5634;
  --secondary-color: #886644;
  --tertiary-color: #d5d0af;
  --black-color: #1b1b1b;
  --white-color: #fefefe;
  --marron-color: #292017;
}

*,
*:after,
*:before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*commun*/

h1 {
  text-transform: uppercase;
  font-size: 1.8rem;
  letter-spacing: 2rem;
  padding-bottom: 3rem;
  padding-top: 1rem;
  text-align: center;
}

h2 {
  text-transform: uppercase;
  font-size: 1.5rem;
  font-family: "Raleway", sans-serif;
  padding-bottom: 1rem;
  text-align: center;
  letter-spacing: 1rem;
  color: #f9f9f9;
}

h3 {
  text-transform: uppercase;
  font-size: 1.2rem;
  font-family: "Raleway", sans-serif;
  padding-bottom: 1rem;
  text-align: center;
  letter-spacing: 1rem;
}

button {
  background-color: var(--black-color);
  color: var(--white-color);
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/* Styles au survol des boutons */
button:hover {
  background-color: var(--secondary-color);
}

/*Structure*/

.body {
  font-family: "Raleway", sans-serif;
}

/*heder*/
/* caroussel */
#carouselExampleControls {
  width: 100%;
  padding: 0.5rem;
  background-color: var(--black-color);
}

.carousel-item p {
  color: var(--white-color);
  text-align: center;
  text-transform: uppercase;
  margin-top: 0.6rem;
  letter-spacing: 1px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 0.2rem;
  height: 0.2rem;
}

/*en tete*/


.header {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: .9rem;
  overflow: hidden;
  height: 100vh;
}


.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  overflow: hidden;
}

.logo,
.icons {
  position: relative;
  z-index: 1;
}

.logo {
  flex-grow: 1;
  text-align: center;
  margin-top: 1.2rem;
  padding-bottom: 3rem;
}


.logo img {
  width: 10rem;
  display: block;
  margin: 0 auto;
}

.icons {
  display: flex;
  gap: 1.5rem;
  position: absolute;
  right: 7%;
  z-index: 1;
  top: 1.20rem;
}


.icon {
  font-size: 1rem;
  color: var(--black-color);
  text-decoration: none;
  position: relative;
}

.icon:hover {
  color: var(--white-color);
}

.icon-container {
  position: relative;
}

.icon {
  font-size: 1.5rem;
  color: var(--black-color);
  text-decoration: none;
}

.info-message {
  margin-top: 0.4rem;
  display: none;
  background-color: rgba(248, 249, 250, 0.9);
  border: 1px solid #ccc;
  padding: .3rem;
  position: absolute;
  top: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.info-message a {
  color: var(--black-color);
  text-decoration: none;
}

.info-message a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.icon-container:hover .info-message {
  display: block;
}

.info-message input {
  width: 9.3rem;
  border: 1px solid #ccc;
  padding: .3rem;
  margin-top: .3rem;
}

/*menu nav*/

.menu {
  position: absolute;
  width: 90%;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  background-color: rgba(248, 249, 250, 0.2);
  padding-top: 1rem;
  margin-top: 3rem;
}

.menu ul {
  list-style: none;
  display: flex;
  gap: 6rem;
  justify-content: center;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 1rem;
}

.menu a {
  color: var(--black-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.menu a:hover {
  color: var(--secondary-color);
}

/* Hamburger Menu Styles */
.hamburger {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 1.2rem;
  left: 15%;
  z-index: 4;
  font-size: 1.5rem;
}

.hamburger div {
  width: 1.9rem;
  height: .18rem;
  background-color: var(--black-color);
  margin: .2rem 0;
}

.close-icon {
  cursor: pointer;
  font-size: 1.5rem;
  position: absolute;
  top: 1.3rem;
  left: 25rem;
  z-index: 4;
}

/* Sidenav Styles */
.sidenav {
  height: 100%;
  width: 28rem;
  position: fixed;
  top: 0;
  left: -28rem;
  background-color: rgba(248, 249, 250, 0.9);
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
  transition: left 0.3s ease;
  z-index: 3;
  overflow-y: auto;
}

.sidenav.active {
  left: 0;
}

.sidenav ul {
  list-style-type: none;
  padding: 1.2rem;
}

.sidenav ul li {
  margin: .6rem 0;
}

.sidenav ul li a {
  color: var(--black-color);
}

.sidenav a {
  color: #1b1b1b;
  text-decoration: none;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.sidenav a:hover {
  color: #886644;
  text-decoration: underline;
}

.sidenav h3 {
  color: var(--black-color);
  font-size: 1.4rem;
  text-transform: uppercase;
}

.sidenav h3:hover {
  color: var(--secondary-color);
  font-size: 1.4rem;
  text-transform: uppercase;
}

/* Galerie dans la Sidenav */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
  padding: .6rem;
  margin-top: 1.2rem;
}

.gallery img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
  border-radius: .6rem;
}

.gallery img:hover {
  transform: scale(1.05);
  cursor: pointer;
}

/* Tablettes */
@media (min-width: 601px) and (max-width: 1025px) {


  .icons {
    gap: 1rem;
  }

  .menu {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .close-icon {
    left: 15%;
  }

  .sidenav {
    width: 25rem;
  }

  .close-icon {
    cursor: pointer;
    font-size: 1.5rem;
    position: absolute;
    left: 40%;
    z-index: 4;
  }


}


/* Smartphones */
@media (max-width: 600px) {
  .header {
    align-items: center;
    padding: .6rem;
  }

  .carousel p {

    font-size: .69rem;

  }

  .background-video {
    object-fit: cover;

  }

  .logo img {

    width: 6.2rem;
  }

  .icons {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    justify-content: center;
    width: 100%;
  }

  .icon {
    font-size: 1.1rem;
  }

  .menu {
    display: none;
  }

  .hamburger {
    display: block;
    left: 10%;
    top: .9rem;
    font-size: 1.5rem;
  }

  .close-icon {
    cursor: pointer;
    font-size: 1.5rem;
    position: absolute;
    left: 60%;
    z-index: 4;
  }

  .sidenav {
    width: 70%;
  }

  .sidenav h3 {
    font-size: .8rem;
  }

  .info-message {
    width: auto;
  }

  .logo img {
    width: 6.2rem;
  }

  .icons {
    top: 1.2;
    left: 8.2rem;
    flex-direction: row;
    flex-wrap: nowrap;
  }


}

/* eof header */
/*palette de couleur */

.background-palette {
  min-height: 100vh;
  width: 100%;
  background-image: url(../images/background-palette.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  margin: 0;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.palette {
  display: flex;
  gap: 4rem;
  margin-bottom: 1.2;
  justify-content: center;
  padding-bottom: 3rem;
}

/* Masquer les radio buttons */
input[type="radio"] {
  display: none;
}

.color-square {
  width: 6.25rem;
  height: 6.25rem;
  cursor: pointer;
  transition: transform 0.2s;
}

.color-square:hover {
  transform: scale(1.1);
}

.gallery-palette {
  display: none;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}

.gallery-palette img {
  width: 30rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Afficher la galerie si le radio button correspondant est sélectionné */
#beige:checked~.beige-gallery,
#orange:checked~.orange-gallery,
#sage:checked~.sage-gallery,
#bleu:checked~.bleu-gallery,
#noir:checked~.noir-gallery {
  display: flex;
}

/* Media Queries */

/* Petits écrans  */
@media (max-width: 600px) {
  .background-palette h1 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: .8rem;
  }

  .color-square {
    width: 3.7rem;
    height: 3.7rem;
  }

  .gallery-palette {
    flex-direction: column;
    align-items: center;
  }

  .gallery-palette img {
    max-width: 90%;
    margin-bottom: 1rem;
  }

  .palette {
    gap: 0.5rem;
    padding-bottom: 1.5rem;
  }
}

/* Écrans moyens  */
@media (min-width: 601px) and (max-width: 1025px) {
  .background-palette h1 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .color-square {
    width: 4.3rem;
    height: 4.3rem;
  }

  .gallery-palette {
    align-items: center;
  }

  .gallery-palette img {
    max-width: 80%;
    margin-bottom: 1rem;
  }

  .palette {
    gap: 1rem;
    padding-bottom: 2rem;
  }
}

/* eof palette */
/*e-shop*/
.products {
  padding: 2rem;
  background-color: #f5f5f5;
  text-align: center;
  margin-bottom: 2rem;
}

.products h2 {
  margin-bottom: 20px;
  color: #333;
}

.titre-article {
  text-transform: uppercase;
  margin: auto;
}


.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 -10px;
}

.product {
  background-color: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
  margin: 10px;
  flex: 1 1 calc(25% - 20px);
  max-width: calc(25% - 20px);
}

.product:hover {
  transform: translateY(-5px);
}

.product img {
  max-width: 100%;
  height: auto;
}

.price {
  font-weight: bold;
  color: #080808;
  margin: 10px 0;
}

.buy-button {
  width: 100%;
  display: inline-block;
  color: white;
  padding: 10px 15px;
  text-decoration: none;
  cursor: pointer;
  background-color: #000000;
  margin-top: 1rem;
  text-transform: uppercase;
}


.buy-button:hover {
  background-color: #886644;
  color: var(--white-color);
  text-decoration: none;
}

/* medias queries*/

/* Smartphone petit ecran type Iphone mini ou petits téléphones en orientation paysag */
@media (max-width: 480px) {
  .product {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .product h2 {
    font-size: 1.3rem;
  }
}


/* Pour les tablettes iPad en orientation paysage, laptops de basse résolution.*/
@media (max-width: 801px) {
  .product {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);/
  }
}


/*eof e-shop*/


/* Avant/apres*/
/* code recuperé sur https://github.com/wass08/slider-avant-apres*/

.Avant-apres {
  width: 100%;
  height: 100%;
  padding-top: 2rem;
  padding-bottom: 2rem;
  background-color: #a49387;
  background-image: url(../images/background.png);
  background-size: cover;
  background-repeat: no-repeat;
  color: #fefefe;
}

.container {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  background-color: #a49387;
}

.slider {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 66.666666667%;
}

.slider__after,
.slider__before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

.slider__after {
  background-image: url("../images/avantapres/apres.png");
}

.slider__before {
  z-index: 2;
  width: 50%;
  background-image: url("../images/avantapres/avant.png");
}

.slider__before:before {
  position: absolute;
}

.slider__after:before {
  position: absolute;
}

.slider__separator {
  position: absolute;
  left: 50%;
  width: 2px;
  top: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 5px 10px 0px rgba(0, 0, 0, 0.5);
  cursor: ew-resize;
  z-index: 3;
  transform: translateX(-50%);
}

.slider__range {
  position: absolute;
  width: 100%;
  bottom: 0;
  z-index: 3;
  appearance: none;
  background: rgba(255, 255, 255, 0.3);
  outline: none;
  margin: 0;
}

.slider__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 16px;
  background: white;
}

.slider__range::-moz-slider-thumb {
  -moz-appearance: none;
  width: 12px;
  height: 16px;
  background: white;
}


/*Scroll*/

.Scroll h2 {
  text-transform: uppercase;
  font-size: 1.5rem;
  font-family: "Raleway", sans-serif;
  padding-bottom: 2rem;
  text-align: center;
  letter-spacing: 1rem;
  color: #f9f9f9;
  font-weight: bold;

}

.Scroll h3 {
  text-transform: uppercase;
  font-size: 1.2rem;
  font-family: "Raleway", sans-serif;
  padding-bottom: 1rem;
  text-align: center;
  letter-spacing: 1rem;
}

.Scroll {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 90vh;
  background-color: #1b1b1b;
  flex-direction: column;
  padding-top: 2rem;
  padding-bottom: 2rem;

}

.swiper-container {
  width: 100%;
  height: 70vh;
  position: relative;
  overflow: hidden;
  background-color: #1b1b1b;
  max-width: 50rem;
}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 70rem;
}


.slide-image {
  max-width: 50%;
  height: auto;
}

.text-overlay {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.2rem;
  color: white;
  max-width: 50%;
  height: 100%;
  text-align: center;
  margin-top: 1.2rem;
}

.slide-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 1.2rem;
}

.swiper-pagination {
  display: none;
}


/*tablette*/
@media (min-width: 601px) and (max-width: 1025px) {

  .swiper-container {
    height: 50vh;

  }

  .slide-image {
    max-width: 40%;
    height: auto;
  }

  .swiper-container H3 {
    font-size: 1rem;

  }


}

/*mobile*/

@media (max-width: 601px) {

  .slide-content {
    flex-direction: column;
    margin: 0;
    padding: 0;
  }


}


/*FAQ*/

.FAQ {
  background-color: #f9f9f9;
  padding: 2rem;
  max-width: 50rem;
  margin: 2rem auto;
}

.FAQ h3 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: #333;
  letter-spacing: 0.5rem;
}

.accordion .card {
  border: none;
  margin-bottom: 1rem;
  border-radius: 5px;
  overflow: hidden;
}

.accordion .card-header {
  background-color: #c4895d;
  color: #fff;
  padding: 0;
}

.accordion .card-body {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  padding: 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #555;
  letter-spacing: 0.2rem;
}

.accordion .btn-link {
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  width: 100%;
  text-align: left;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s;
  letter-spacing: 0.2rem;
}

.accordion .btn-link:hover,
.accordion .btn-link:focus {
  color: #fff;
  background-color: #886644;
  text-decoration: none;
}


/* AVIS*/
.avis-carousel {
  padding: 2rem;
  background-color: #f9f9f9;
  text-align: center;
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.avis-container {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.avis-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.avis-slide.active {
  opacity: 1;
  position: relative;
}

.avis-slide img {
  max-width: 100px;
  height: auto;
  margin: 0 auto 1rem;
}

.avis-slide p {
  font-style: italic;
  color: #555;
  font-size: 1.4rem;
}

button.prev,
button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 0.7rem 1.4rem;
  cursor: pointer;
  font-size: 1.2rem;
}

button.prev {
  left: 1rem;
}

button.next {
  right: 1rem;
}

button:hover {
  background-color: rgba(0, 0, 0, 0.8);
}


@media (max-width: 600px) {
  .avis-slide p {
    font-size: 1rem;
  }

  .avis-slide img {
    max-width: 70px;
  }

  button.prev,
  button.next {
    padding: 0.3rem 0.6rem;
    font-size: 0.9rem;
  }
}


@media (min-width: 601px) and (max-width: 1024px) {
  .avis-slide p {
    font-size: 1.2rem;
  }

  .avis-slide img {
    max-width: 80px;
  }

  button.prev,
  button.next {
    padding: 0.5rem 1rem;
    font-size: 1.1rem;
  }

  button.prev {
    left: 1.5rem;
  }

  button.next {
    right: 1.5rem;
  }
}

/*EOF AVIS*/

/* PINTEREST BLOG*/

.pinterest-layout {
  padding: 2rem;
  background-color: #fff;
  text-align: center;
}

.pinterest-layout h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  color: var(--black-color);
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.grid-item {
  background-color: white;
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
}

.grid-item img {
  max-width: 100%;
  height: auto;
  border-radius: 25px;
}

.grid-item p {
  margin-top: 0.5rem;
  color: #333;
}

.grid-item img:hover {
  transform: scale(1.05);
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

/* EOF PINTEREST BLOG*/

/*FOOTER*/

.site-footer {
  background-color: #1b1b1b;
  color: var(--white-color);
  padding: 2rem;
  text-align: center;
}

.footer-top {
  width: 100%;
  margin-bottom: 2rem;
}

.newsletter {
  width: 100%;
}

.newsletter h2 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.newsletter form {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.newsletter input {
  padding: 0.5rem;
  border: none;
  border-radius: 5px;
  max-width: 300px;
  width: 100%;
  border-top-left-radius: 2rem;
  border-bottom-left-radius: 2rem;
}

.newsletter button {
  background-color: var(--secondary-color);
  color: var(--white-color);
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 5px;
  border-top-right-radius: 2rem;
  border-bottom-right-radius: 2rem;
}

/* footer bottom pour organiser RS et plan site */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  width: 100%;
}

/* style pour la partie Réseaux sociaux */
.footer-social {
  text-align: center;
  flex: 1;
}

.footer-social h3 {
  font-size: 1.2rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.footer-social-list {
  justify-content: center;
  list-style: none;
  padding: 0;
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.footer-social-list li a {
  color: var(--white-color);
  font-size: 1.5rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-social-list li a:hover {
  color: var(--secondary-color);
}

/* Pplan du site */
.sitemap {
  text-align: center;
  flex: 1;
}

.sitemap h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.sitemap ul {
  list-style: none;
  padding: 0;
}

.sitemap ul li {
  margin-bottom: 0.5rem;
}

.sitemap ul li a {
  color: var(--white-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.sitemap ul li a:hover {
  color: var(--secondary-color);
}

/* droits d'auteur */
.site-footer p {
  margin-top: 2rem;
  font-size: 0.8rem;
  color: #ccc;
}

/*EOF FOOTER*/

/* FLECHE POUR LE HAUT DE LA PZGE*/
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--secondary-color);
  color: var(--white-color);
  padding: 0.5rem;
  border-radius: 50%;
  display: none;
}

.back-to-top:hover {
  background-color: var(--primary-color);
}

.back-to-top i {
  font-size: 1.5rem;
}

/* EOF FLECHE POUR LE HAUT DE LA PAGE*/