/*
Theme Name: garrigon
Text Domain: garrigon
Author: Louise Obé
Version: 1.0
Description: css garrigon
*/
body,
html {
  width: 100vw;
  overflow-x: hidden;
  background-color: #FAF8F4;
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-weight: 300;
  font-style: normal;
}
body {
  min-height: 100vh;
  position: relative;
  font-size: 14px;
  color: black;
  letter-spacing: 0.1em;
}
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.parallax {
  will-change: transform;
  transition: transform 0.1s linear;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}
.mobile {
  display: none !important;
}
.desktop {
  display: block;
}
.section-container {
  max-width: 1000px;
  width: 1300px;
  align-items: center;
}
.section-intro div.txt,
.section-intro h2 {
  text-align: center;
}
div.txt ul {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}
div.txt ul strong {
  font-size: 70px;
  color: #CAAD82;
  font-family: "the-seasons", sans-serif;
}
div.txt ul b {
  font-weight: bold;
}
div.txt ul li {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex: 1;
}
div.txt ul li p {
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.05em;
}
div.txt ul li h5 {
  font-size: 13px;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.txt-more {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 20px;
  transition: max-height 0.6s ease, opacity 0.4s ease;
}
.txt-more.is-visible {
  max-height: 500px;
  opacity: 1;
}
section {
  align-items: center;
}
h2 {
  font-size: 30px;
}
.hero {
  position: relative;
}
.hero video {
  height: 100vh;
  width: 100vw;
  object-fit: cover;
}
.hero h1 {
  position: absolute;
  color: white;
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  width: 100vw;
  text-align: center;
  bottom: 0;
  background-color: #CAAD82;
  padding: 10px;
  text-transform: none;
}
.items {
  display: flex;
  gap: 20px;
  margin-top: 50px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.items .item {
  border: 1px solid #713842;
  padding-top: 30px;
  width: 45%;
}
.items .item h4 {
  font-size: 16px;
}
.items .item div.txt,
.items .item h4 {
  padding: 0 20px;
  text-align: center;
}
.items .item div.txt {
  height: 80px;
  font-size: 13px;
  display: flex;
  align-items: center;
}
.items .item div.img {
  height: 200px;
  margin-top: 30px;
}
.items .item div.img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.items.wine {
  justify-content: space-around;
  width: 100%;
}
.items.wine .item {
  border: none;
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0px;
  flex: 1;
}
.items.wine .item:has(a.button:hover) img {
  transform: scale(1.05);
}
.items.wine .item h5 {
  font-size: 14px;
  letter-spacing: 0em;
  height: 40px;
  max-width: 200px;
  text-align: center;
  margin-top: 15px;
}
.items.wine .item img {
  width: 100px;
  transition: all 0.4s ease-out;
  object-fit: contain;
  height: auto;
}
.items.wine .item img:hover {
  transform: scale(1.05);
}
.items.cave {
  margin-top: 0;
  margin-bottom: 40px;
}
.items.cave .item {
  width: 48%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.items.cave .item div.txt {
  height: auto;
}
.items.cave .item div.img {
  height: 300px;
}
.items.terroir .item {
  border-color: #9CAB89;
  padding-bottom: 20px;
}
.items.terroir .item h4 {
  padding-bottom: 0px;
  font-size: 20px;
}
.items.terroir .item .txt {
  font-style: italic;
  height: auto;
  display: block;
  letter-spacing: 0.1em;
  padding-bottom: 10px;
  margin: 20px;
  font-size: 14px;
  border-bottom: 1px solid #CAAD82;
}
.items.terroir .item .vin {
  text-transform: uppercase;
  text-align: center;
  color: #CAAD82;
  font-weight: 800;
  font-size: 14px;
  padding: 0 20px;
  letter-spacing: 0;
}
div.embouteillement {
  border: 1px solid #CAAD82;
  padding: 50px;
}
h1,
h2,
h4 {
  font-family: "the-seasons", sans-serif;
  font-weight: 100;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
h3 {
  font-style: italic;
  font-weight: 100;
  font-size: 12px;
}
div.txt {
  margin-top: 20px;
  max-width: 950px;
}
.center {
  text-align: center;
}
p {
  text-align: left;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  font-size: 14px;
  hyphens: none !important;
  /* réglages complémentaires */
  word-spacing: normal;
  /* pas d'espace artificiellement augmenté */
  text-justify: inter-word;
  color: black;
  margin-bottom: 20px;
}
p b {
  font-weight: bold;
  color: #CAAD82;
  font-size: 15px;
}
a.button,
button {
  padding: 6px 20px;
  appearance: none;
  cursor: pointer;
  border-radius: 30px;
  font-size: 13px;
  text-transform: uppercase;
  transition: all 0.3s;
  text-decoration: none;
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  border-color: #9CAB89;
  border: 1px solid #9CAB89;
  background-color: #9CAB89;
  color: white;
  margin-top: 10px;
  align-items: center;
  gap: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  margin-top: 20px;
  text-transform: lowercase;
}
a.button:hover,
button:hover {
  background-color: #CAAD82 !important;
  color: white !important;
  border-color: #CAAD82 !important;
}
header {
  display: flex;
  justify-content: space-around;
  align-items: start;
  position: absolute;
  width: 100vw;
  z-index: 99;
  border-top: 3px solid #CAAD82;
}
header nav {
  padding-top: 30px;
  width: 100vw;
  justify-content: center;
  gap: 4vw;
}
header nav img {
  max-width: 300px;
  margin: 0 auto;
}
header nav ul {
  display: flex;
  justify-content: space-around;
  gap: 1vw;
  flex: 1;
}
header nav ul li {
  padding: 10px 0;
}
header nav ul li:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(20px);
}
header nav ul li a {
  font-size: 14px;
  transition: all 0.2s;
  position: relative;
  font-weight: 500;
  padding: 0 20px;
  letter-spacing: 0.05em;
  color: black;
  text-transform: lowercase;
  letter-spacing: 0.2em;
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
}
header nav ul ul.sub-menu {
  position: absolute;
  opacity: 0;
  background-color: #CAAD82;
  visibility: hidden;
  color: white;
  padding: 20px 0;
  transform: translateY(40px);
  transition: all 0.25s ease;
  display: flex;
  border-bottom: 1px solid white;
  border-left: 1px solid white;
  border-right: 1px solid white;
  flex-direction: column;
  justify-content: space-around;
  align-items: flex-start;
  gap: 10px;
}
header nav ul ul.sub-menu li {
  padding: 0;
}
header nav ul ul.sub-menu li a {
  color: white;
  font-weight: 500;
}
section.map {
  padding-top: 150px;
  position: relative;
  overflow: hidden;
}
section.map img {
  position: absolute;
  top: 8vw;
  max-width: none;
  min-height: 30vh;
  width: 100%;
  object-fit: cover;
}
#montmartel {
  opacity: 0;
  transition: all 1s ease-out;
}
#montmartel.visible {
  opacity: 1;
}
section.duo .section-container {
  flex-direction: row;
  gap: 40px;
}
section.duo .section-container div {
  flex: 1;
}
section.vins .section-container {
  max-width: 80vw;
}
section#vinification {
  margin-top: 50px;
}
.stage {
  position: sticky;
  display: flex;
  align-items: self-start;
  margin-left: 30vw;
  position: relative;
  height: 100vh;
}
.stage-inner {
  width: 500px;
  max-width: 90vw;
  aspect-ratio: 453/465;
  position: sticky;
  top: 0;
  height: auto;
}
svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
#contour-france {
  fill: #C55066;
  vector-effect: non-scaling-stroke;
}
.city {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.45s cubic-bezier(0.2, 1.4, 0.4, 1), opacity 0.3s ease;
}
.city.visible {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .village,
  #halo-region,
  .fleuve,
  .label-region,
  .caption {
    transition: none !important;
  }
}
footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  padding-top: 50px;
}
footer h5 {
  color: #CAAD82;
  font-style: italic;
}
footer .footer-container {
  display: flex;
  flex-direction: row;
  z-index: 1;
  width: 100%;
  justify-content: space-around;
  align-items: flex-start;
  max-width: 1200px;
  position: relative;
  gap: 30px;
  padding: 50px 30px;
  color: #713842;
}
footer .footer-container .footer-column img {
  width: 200px;
}
footer .footer-container .footer-column h3 {
  font-style: normal;
  text-transform: uppercase;
  color: #CAAD82;
  font-weight: 800;
  margin-bottom: 10px;
}
footer .footer-container .footer-column h2 {
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.03em;
}
footer .footer-container .footer-column a,
footer .footer-container .footer-column p {
  text-decoration: none;
  color: black;
  font-size: 12px;
  display: block;
  margin-bottom: 10px;
}
footer .footer-bottom {
  color: white;
  width: 100vw;
  padding: 20px;
  text-align: center;
  margin-top: 40px;
  font-size: 11px;
  background-color: #9CAB89;
}
footer .footer-bottom a {
  color: white;
}
nav.desktop {
  display: flex;
  align-items: flex-start;
}
main.single-vin {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-bottom: 50px;
  padding-top: 40px;
}
main.single-vin.bib .vin-image {
  flex: 2;
}
main.single-vin.bib .vin-image img {
  max-width: 100%;
}
main.single-vin .logos {
  position: absolute;
  bottom: -40px;
  right: 0;
  width: 100px;
}
main.single-vin .vin-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 60px;
}
main.single-vin .vin-header h1 {
  text-align: center;
}
main.single-vin article.vin {
  display: flex;
  max-width: 1000px;
  gap: 3vw;
  align-items: flex-start;
}
main.single-vin article.vin p {
  font-size: 14px;
}
main.single-vin article.vin .vin-image {
  flex: 1;
}
main.single-vin article.vin .vin-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-width: 500px;
  max-height: 90vh;
}
main.single-vin article.vin .vin-content {
  flex: 2;
  position: relative;
}
main.single-vin article.vin .vin-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 25px;
  row-gap: 20px;
  margin-bottom: 50px;
  border-bottom: 1px solid #713842;
  padding-bottom: 60px;
}
main.single-vin article.vin .vin-detail__label {
  text-transform: uppercase;
  color: #CAAD82;
  font-weight: 800;
  font-size: 15px;
}
main.single-vin article.vin h2 {
  font-size: 15px;
  margin-bottom: 5px;
}
main.single-vin article.vin .vin-section {
  margin-bottom: 30px;
}
@media (max-width: 1200px) {
  section.map img {
    width: auto;
    height: 80vh;
    margin-top: 20vh;
  }
}
@media (max-width: 1000px) {
  footer .footer-container {
    flex-direction: column;
  }
  div.txt {
    max-width: 100%;
  }
}
@media (max-width: 850px) {
  section#histoire .section-container {
    flex-direction: column;
  }
}
@media (max-width: 800px) {
  section.duo .section-container,
  .items {
    flex-wrap: wrap;
  }
  section.duo .section-container.wine .item h5,
  .items.wine .item h5 {
    font-size: 12px;
  }
  section#philo .section-container .items,
  section#vinification .section-container .items {
    flex-direction: column;
  }
  section#philo .section-container .items .item,
  section#vinification .section-container .items .item {
    width: 100%;
  }
  section#terroir .section-container .items {
    gap: 5px;
  }
  section#terroir .section-container .items .item {
    width: 49%;
    padding-top: 15px;
  }
  section#terroir .section-container .items .item h4 {
    font-size: 15px;
  }
  section#terroir .section-container .items .item .txt {
    margin: 0;
    padding: 0;
    padding: 0 5px;
    margin-top: 15px;
    letter-spacing: 0;
    padding-bottom: 20px;
    font-size: 12px;
  }
  section#terroir .section-container .items .item .vin {
    font-size: 12px;
    padding-top: 20px;
  }
  .section-container {
    max-width: 90vw;
  }
  h2,
  h3,
  h3,
  h5 {
    text-align: center;
  }
  footer {
    padding-top: 0;
  }
  .stage {
    margin-top: 100px;
    height: 85vh;
  }
  h2 {
    font-size: 20px;
  }
}
@media (max-width: 760px) {
  main.single-vin {
    padding-top: 0;
  }
  main.single-vin article.vin {
    flex-direction: column;
    max-width: 90vw;
  }
  main.single-vin article.vin .logos {
    position: relative;
  }
  main.single-vin article.vin .vin-image {
    margin: 0 auto;
    margin-bottom: 50px;
  }
  main.single-vin article.vin .vin-image img {
    max-height: 50vh;
  }
  hr {
    display: none;
  }
  h3 {
    font-size: 14px;
  }
  main.single-vin .vin-header {
    max-width: 90vw;
    margin-top: 30px;
  }
  main.single-vin .vin-header h1 {
    font-size: 20px;
  }
  .mobile {
    display: inline-block !important;
  }
  .grape {
    display: none;
  }
  .mobile-logo {
    width: 50vw;
    margin: 0 auto;
    margin-top: 30px;
  }
  .section-container {
    padding: 25px 0;
  }
  header {
    justify-content: flex-start;
    height: auto;
    margin-top: 0;
    margin-bottom: -30px;
  }
  nav#mobile-menu {
    background-color: #9CAB89;
    pointer-events: none;
    padding-top: 30px;
  }
  nav#mobile-menu.active {
    pointer-events: inherit;
  }
  nav#mobile-menu ul li {
    text-align: left;
    width: 80%;
    margin-bottom: 0;
  }
  nav#mobile-menu ul.sub-menu {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    padding: 3px;
    gap: 3px;
    border: none;
  }
  nav#mobile-menu ul.sub-menu li {
    padding: 5px;
  }
  nav.desktop {
    display: none! important;
  }
  nav.mobile,
  .mobile-logo,
  .mobile.ham {
    display: block !important;
  }
  .desktop {
    display: none;
  }
  .ham {
    right: 10px;
    width: 60px;
  }
  .ham .line {
    stroke: white;
  }
  div.txt ul {
    flex-direction: column;
    gap: 0;
    max-width: 70vw;
    margin: 0 auto;
  }
  section.map {
    padding-top: 0;
  }
}
