@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;700&family=Lora:wght@400;500;700&family=Great+Vibes&display=swap');

:root {
  --rouge-profond: #4d0013;
   /* #821F3B; */
  --ivoire: #FAF8F4;
  --champagne: #d6c3a4;
  --beige-rose: #E8D9CF;
  --sauge-clair:#cccfbd;
  --gris-perle: #DAD7D0;
}


body {
  font-family: "Lora", serif;
  /* text-align: center; */
  background-color: var(--ivoire);
  /* color: var(--rouge-profond); */
}

.header {
  background-color: var(--champagne);
  /* border-bottom: 0.1rem solid var(--champagne); */
  position: sticky;
  top: 0;
  box-shadow: 0 5px 10px rgba(80, 80, 60, 0.11);
  z-index: 9999;
}

.header .logo {
  font-size: 1.8rem;
  font-family: "Playfair Display", serif;
  letter-spacing: 2px;
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.header .right {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header li {
  display: inline-flex;
  align-items: center;
  padding: 2rem .5rem;
  margin: 0;
}

.header a {
  color: var(--rouge-profond);
  font-family: "Lora", serif;
  transition: all 0.3s ease;
}

.header a:hover {
  color: var(--ivoire);
  transform: translateY(-2px);
}

a {
  text-decoration: none;
  color: var(--rouge-profond);
  transition: all 0.3s ease;
}

/* a:hover {
  color: var(--ivoire);
  transform: translateY(-2px);
} */

a:focus,
a:active {
  outline: none;
  background: none;
  box-shadow: none;
}

.list-unstyled {
  list-style: none;
  margin: 0;
  padding: 0;
}

.container {
  padding: 1rem 2rem;
}

.d-flex {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  height: 0.5rem;
}

.grid {
  /* display: flex; */
  grid-template-columns: repeat(3, 1fr);
  gap: 100px;
}

.grid__item {
  flex-grow: 1;
  flex-shrink: 0;
  width: 100%;
  padding: 1rem;
  background-color: var(--beige-rose);
  border: 1px solid var(--champagne);
  border-radius: 0.75rem;
  box-shadow: 0 0 5px rgba(191, 164, 111, 0.3);
}

.burger {
  background: none;
  border: none;
  color: var(--rouge-profond);
  width: 2.2rem;
  height: 2.2rem;
  cursor: pointer;
  position: relative;
  margin-left: 1rem;
}

.burger .bar {
  display: block;
  width: 1.4rem;
  height: .2rem;
  background: var(--rouge-profond);
  position: relative;
  border-radius: 1rem;
  transition: all 0.4s ease;
}

.burger .bar::before,
.burger .bar::after {
  display: block;
  content: "";
  width: 1.4rem;
  height: .2rem;
  background: var(--rouge-profond);
  position: absolute;
  left: 0;
  border-radius: 1rem;
  transition: all 0.4s ease;
}

.burger .bar::before { 
  transform: translateY(-.5rem); 
}
.burger .bar::after { 
  transform: translateY(.5rem); 
}

.burger:hover .bar,
.burger:hover .bar::before,
.burger:hover .bar::after {
  background: var(--ivoire);
}

.burger.active .bar {
  background: transparent;
}

.burger.active .bar::before {
  transform: rotate(-45deg)
}

.burger.active .bar::after {
  transform: rotate(45deg)
}

/* .liens a:hover {
  text-decoration: none;
  color: var(--ivoire);
  transform: translateY(-2px);
} */

header nav .liens .boutons button {
  padding: 0.625rem 1.25rem;
  margin-top: .200rem;
  font-size: 1rem;
  background-color: var(--sauge-clair);
  color: var(--rouge-profond);
  border: none;
  border-radius: 1.25rem;
  cursor: pointer;
  font-family: "Lora", serif;
  transition: all 0.4s ease;
  box-shadow: 0 2px 5px rgba(191, 164, 111, 0.3);
}

.liens .boutons button:hover {
  background-color: var(--gris-perle);
  color: var(--rouge-profond);
  box-shadow: 0 0 8px rgba(191, 164, 111, 0.5);
  transform: translateY(-2px);
}

footer {
  background: var(--champagne);
  color: var(--rouge-profond);
  text-align: center;
  font-size: 0.9rem;
  padding: 1.5rem 0 1.5rem 0;
  border: none;
  box-shadow: 0 -5px 10px rgba(80, 80, 60, 0.11);
}

footer p,
footer a {
  margin: 0;
  color: var(--rouge-profond);
  font-family: "Lora", serif;
  outline: none !important;
  transition: all 0.3s ease;
}

footer a:hover {
  color:var(--ivoire);
}


footer .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: center;
  justify-items: center;
}

footer .grid__item {
  max-width: 100%;
  text-align: center;
  background: none;
  box-shadow: none;
  border: none;
  box-sizing: border-box;
}

@media screen and (min-width:768px) {
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
  }
}

@media screen and (max-width:768px) {
  nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: fixed;
    top:41px;
    left: 110%;
    width: 0;
    overflow: hidden;
    opacity: 0;
    height: calc(100vh - 41px);
    background: var(--gris-perle);
    transition: all .4s ease-out;
  }

  nav .menu li {
    display: flex;
    justify-content: center;
  }
  nav .menu a {
    display: block;
    font-size: 1.2rem;
    padding: 1rem;
  }
  .show-nav nav {
    opacity: 1;
    width: 100%;
    left: 0;
    z-index: 2;
  }
  .d-flex {
  justify-content: space-between;
  }
}

@media screen and (min-width:750px) {
  .navbar { 
    display: flex; 
  }
  .burger { 
    display: none;
  }
}

@media screen and (min-width:768px) {
  footer { text-align: left; }
  footer .grid {
    grid-template-columns: repeat(3, 1fr);
    justify-items: start;
  }
  footer .grid__item { 
    max-width: 100%;
  }
}

@media screen and (max-width: 1190px) {
  .burger { 
    display: block; 
  }

  .navbar { 
    position: fixed;
    top: 39px; 
    left: -100%;
    width: 100%;
    height: calc(110vh - 39px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background: var(--gris-perle);
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease-out;
    z-index: 9;
  }

  .navbar.show-nav {
    left: 0;
    opacity: 1;
  }
}

@media screen and (min-width: 769px) and (max-width: 1190px) {
  .navbar {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    top: 72px;
    height: calc(100vh - 72px);
  }

  .navbar.show-nav .menu {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .navbar.show-nav .menu li {
    width: auto;
    text-align: center;
    margin: 0.5rem 0;
  }

  .d-flex {
  justify-content: space-between;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .navbar {
    top: 72px;
    height: calc(120vh - 72px);
  }
  .navbar .menu li a {
    font-size: 2rem; 
  }
}

/* Utilitaires  */

.mt-4 {
    margin-top: 16px;
}

.mb-4 {
    margin-bottom: 16px;
}