* {
    margin:0;
    box-sizing: border-box;
}


:root {
    --prim: #000;
    --snd: #a08e80;
    --thr: #F9F2EC;
    --ff: "Cormorant Garamond", serif ;
    --ff2: capellina-rough, sans-serif;
}


body {
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 1.5em;
  background-color: var(--prim);
  color: var(--thr);
  font-family: var(--ff);
}

.ghost {
  display:none;
}
.ghosty {
  display:inline;
}
.veggie {
      position: fixed;
      top: 20px;
      right: 20px;
      width: 30px;
      height: 21px;
      cursor: pointer;
      z-index: 1001;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

.veggie span {
      display: block;
      height: 3px;
      width: 100%;
      background: var(--thr);
      border-radius: 2px;
      transition: all 0.4s ease;
    }
.veggie:hover span {background: var(--snd);}
.veggie.active span:nth-child(1) {
      transform: translateY(9px) rotate(45deg);
    }
.veggie.active span:nth-child(2) {
      opacity: 0;
    }
.veggie.active span:nth-child(3) {
      transform: translateY(-9px) rotate(-45deg);
    }

.menu {
      position: fixed;
      top: 0;
      right: 0;
      width: 100%;
      height: 100vh;
      background: black;
      color: var(--thr);
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      clip-path: circle(2% at calc(100% - 35px) 30px);
      transition: clip-path 0.85s cubic-bezier(0.83,0,0.17,1);
      z-index: 1000;
      pointer-events: none;
    }

.menu.active {
      clip-path: circle(150% at calc(100% - 35px) 30px);
      pointer-events: auto;
    }
.menu button {
  background: none;
  border: none;
  margin-bottom: 1em;
  color: var(--snd);
  font-size: 3vh;
  font-family: var(--ff2);
}
.menu button:hover {
  background: var(--snd);
  border: none;
  margin-bottom: 1em;
  color: var(--prim);
  transition:0.3s;
  cursor: pointer;

}
.menu a {
      position: relative;
      color: var(--thr);
      text-decoration: none;
      font-size: 7vh;
      line-height: 0;
      font-weight: 400;
      font-style: normal;
      margin: 3vh 0;
      font-family: var(--ff2);
      opacity: 0;
      transform: translateY(50px);
      filter: blur(8px);
      transition: color 0.3s, opacity 0.7s ease, transform 0.7s cubic-bezier(0.16,1,0.3,1), filter 0.7s ease;
    }

.menu.active a {
      opacity: 1;
      transform: translateY(0);
      filter: blur(0);
    }

.menu.active a:nth-child(1)  { transition-delay: .10s; }
.menu.active a:nth-child(2)  { transition-delay: .16s; }
.menu.active a:nth-child(3)  { transition-delay: .22s; }
.menu.active a:nth-child(4)  { transition-delay: .28s; }
.menu.active a:nth-child(5)  { transition-delay: .34s; }
.menu.active a:nth-child(6)  { transition-delay: .40s; }
.menu.active a:nth-child(7)  { transition-delay: .46s; }
.menu.active a:nth-child(8)  { transition-delay: .52s; }
.menu.active a:nth-child(9)  { transition-delay: .58s; }
.menu.active a:nth-child(10) { transition-delay: .64s; }
.menu.active a:nth-child(11) { transition-delay: .70s; }
.menu.active a:nth-child(12) { transition-delay: .76s; }
.menu.active a:nth-child(13) { transition-delay: .82s; }

.menu a::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: -0.5vh;
      height: 1px;
      background: var(--snd);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.4s cubic-bezier(0.65,0,0.35,1);
    }

.menu a:hover {
      color: var(--snd);
    }

.menu a:hover::after {
      transform: scaleX(1);
    }

.headline a, .content a {
  color: var(--snd);
  text-decoration: none;
}
.headline a:hover, .content a:hover {
  color: var(--thr);
  transition: color 0.3s;
}

#logo {
    position: fixed;
    top:15px;left:30px;
    width:200px; 
    z-index: 1001;

}
#logo img {
    width: 100%;
    height: auto;
    transition: opacity .6s;


}
#logo:hover img {
    opacity: 75%;
}

h1,h2,h3,h4,h6 {
  font-family: var(--ff2);
  font-weight: 400;
  font-style: normal;
  }

header {
    width:100vw;
    height:45vh; 
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 5vh;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    filter: brightness(.55) blur(3px);
    opacity: 0;
    animation: headerReveal 1.6s cubic-bezier(0.16,1,0.3,1) forwards;
    animation-delay: .1s;
}
header > * {
    opacity: 0;
    transform: translateY(18px);
    animation: headerTextIn .9s ease forwards;
}
header > *:nth-child(1) { animation-delay: .6s; }
header > *:nth-child(2) { animation-delay: .85s; }
@keyframes headerReveal {
    to { opacity: 1; filter: brightness(1) blur(0); }
}
@keyframes headerTextIn {
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    header, header > *, .menu a {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }
    .menu { clip-path: circle(0% at calc(100% - 35px) 30px) !important; }
    .menu.active { clip-path: circle(150% at calc(100% - 35px) 30px) !important; }
}

h1 {
    font-size: 14vh;
    text-align: center;
    font-weight: 400;
    margin:0 0 3vh 0;
    line-height: 80%;
  }
h2 {
  font-size:7vh;
  text-align: center;
  font-weight: 400;
  line-height: 80%;
  margin:6vh 0 3vh 0;
}
h3 {
  font-size:130%;
  line-height: 80%;
}
h5 {
    line-height: normal;
    margin-bottom: 0;
}
main {
    max-width: 1080px;
    margin: 0 auto 6vh auto;
}
.headline {
    font-size:130%;
    font-weight: 400;
    margin-bottom: 3vh;
}
.content {
line-height: 140%;
margin: 0 0 3vh 0;
display: flow-root;
}
.content ul {
list-style-type: none;
padding-left:0;
margin-bottom: 6vh;
}
.content ul li:before {
   content: "\1437";
   margin-left:10px;
   margin-right:2vh;
   color:var(--snd);
   font-style:normal;
}
.content ul li {
    border-top:1px dashed var(--snd);
    margin-top:1.5vh;
    margin-left: 0;
    padding:1vh 0 0 0;
    font-style: italic;
}
.content ul li strong {
    font-style: normal;
    font-weight: 700;
}

.left-float {
  float:left;
  margin:0 4vh 2vh 0;
  width: 37%;
}
.right-float {
  float:right;
  margin:0 0 2vh 4vh;
  width: 37%;
}
.left-float img, .right-float img {
  width:100%;
  height:auto;
}
.sep {
  text-align: center;
}
.sep img {
width: 100%;
height:auto;
}

.sepline {
  width: 100%;
  height:2px;
  display: block;
  content:" ";
  border-top: 1px solid var(--snd);
  border-bottom: 1px solid var(--snd);
}

.duo {
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(160,142,128,.4);
  margin: 20px 0;
  border-top: 1px solid var(--snd);
  border-bottom: 1px solid var(--snd);
}
.duo-item {
  display:block;
  text-decoration: none;
  color: var(--thr);
  background: var(--prim);
}
.duo article {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  margin: 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
}
.duo article.in-view { opacity: 1; transform: translateY(0); }
.duo-item:nth-child(1) article { transition-delay: 0s; }
.duo-item:nth-child(2) article { transition-delay: .1s; }
.duo-item:nth-child(3) article { transition-delay: .2s; }
.duo-item:nth-child(4) article { transition-delay: .3s; }

.duo-media {
  position: absolute;
  inset: 0;
}
.duo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.55) brightness(.8);
  transform: scale(1.04);
  transition: transform 1.1s cubic-bezier(0.16,1,0.3,1), filter .6s ease;
}
.duo article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.88) 100%);
  z-index: 1;
}
.duo article:hover .duo-media img {
  transform: scale(1.12);
  filter: grayscale(0) brightness(.65);
}

.duo-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 3vh 2.5vh;
  z-index: 2;
  text-align: left;
}
.duo h3 {
  font-size: 180%;
  text-align: left;
  margin: 0;
  transition: transform .5s ease;
}
.duo article:hover h3 { transform: translateY(-4px); }
.duo p {
  font-size: 88%;
  line-height: 140%;
  margin-top: .6rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .5s ease, opacity .4s ease, margin-top .5s ease;
}
.duo article:hover p {
  max-height: 20vh;
  opacity: .85;
}

.testimonials h3 {color: var(--snd); display: inline;}
.testimonials .content {
  padding-bottom:3vh;
  border-bottom: 1px dotted var(--snd);
  margin-bottom: 3vh;
}

/* --- Galerie --- */
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 2%;
  padding: 20px;
}

.gallery-item {
  flex: 0 0 23.5%;
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  opacity: 1;
  transition: transform 0.3s ease, opacity 0.3s ease;
  margin-bottom: 20px;
  filter: grayscale(.5);

}

.gallery-item:hover {
  transform: scale(1.03);
  opacity: 1;
  filter: none;
}

.gallery-item.hidden {
  display: none;
}

/* --- Lightbox --- */
.lightbox-image {
  cursor: pointer;
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  inset: 0;
  background: rgba(0, 0, 0, 1);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.lightbox.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.lightbox img {
  max-width: 90%;
  max-height: 80vh;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.lightbox img.visible {
  opacity: 1;
}

.close {
  position: absolute;
  top: -10px;
  right: 20px;
  font-size: 5rem;
  cursor: pointer;
  user-select: none;
  color: var(--thr);
  transition: color 0.3s;
}

.close:hover {
  color: var(--snd);
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: white;
  cursor: pointer;
  user-select: none;
  padding: 20px;
  transition: color 0.3s;
}

.nav:hover {
  color: #bbb;
}

.nav.prev { left: 10px; }
.nav.next { right: 10px; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.filters {
  text-align: center;
  padding: 20px;
}
.filter-btn {
  background: none;
  border: 1px solid #555;
  color: white;
  padding: 8px 16px;
  margin: 0 5px 20px 0;
  cursor: pointer;
  border-radius: 4px;
  font-size: 120%;
  transition: background 0.3s;
  font-family: var(--ff2);
}
.filter-btn:hover,
.filter-btn.active {
  background: white;
  color: black;
}


/* --- Accordeon --- */
.accordion__section, .accordion__section button {
  color: var(--thr);
  background: none;
  font-family: var(--ff);
  font-optical-sizing: auto;
  font-style: normal;
}
.accordion__section button {
  border: none;
}
.accordion__section h2 {
  font-size: 7vh;
  font-style: italic;
  font-weight: 300;
  line-height: 100%;
  margin:0;
  text-align: left;
}
.accordion__section {
  border-top: 1px solid var(--snd);
  padding: 2vh 0 0 0;
  margin-bottom: 2vh;
}



/* PANEL GRAND TITRE */
.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition:
    grid-template-rows 0.6s cubic-bezier(0.65, 0, 0.35, 1),
    opacity 0.4s ease;
  opacity: 0;
}
.accordion__panel > * {
  overflow: hidden;
}

.accordion__section.is-open > .accordion__panel {
  grid-template-rows: 1fr;
  opacity: 1;
  padding-bottom: 5vh;
}

.accordion__content {
  display: grid;
  grid-template-rows: 0fr;
  transition:
    grid-template-rows 0.45s cubic-bezier(0.65, 0, 0.35, 1),
    opacity 0.3s ease,
    margin 0.4s ease,
    transform 0.4s ease;
  opacity: 0;
  margin:0 0;
  transform: translateY(-6px);
}

.accordion__content > * {
  overflow: hidden;
}

.accordion__content a {
  color: var(--thr);
}
.accordion__item.is-open > .accordion__content {
  grid-template-rows: 1fr;
  opacity: 1;
  transform: translateY(0);
  margin:2vh 0;
  border-top:1px dotted var(--snd);
  padding-top:1vh;
}

.accordion__header {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.accordion__header:hover {
  opacity: 0.7;
}
.accordion__item {
  margin-top: 2vh;
  padding-top:1vh;
  border-top: 1px dotted var(--snd);
}
.accordion__header {
  font-size: 130%;
  margin-left:15px;
  text-align: left;
}
.accordion__item > .accordion__header {
  padding-left:2vh;
}
.accordion__content p {
  margin-left:4vh;
  font-weight:100;
  line-height: 140%;
  opacity:.7;
}
.accordion__content p strong{
  font-weight:700;
  font-style: italic;
}

/* --- Booking --- */

fieldset {
  border-color: var(--snd);
  padding:2vh;
}
fieldset label {
  font-size: 100%;
}

fieldset button {
  padding:1vh 2vh;
  background-color: var(--snd);
  color: var(--prim);
  border: none;
  text-transform: uppercase;
  font-family: var(--ff);
  font-size: 120%;
  font-weight: 700;
}
fieldset button:hover {
  background-color: var(--thr);
  cursor: pointer;
}
legend {
  color: var(--snd);
  text-align: center;
  font-size: 130%;
  font-style: italic;
}

.checkbox input {
  width:25px !important;
  height:25px !important;
  background-color: var(--snd);
  border:none;
  padding-right: 2vh;
}

.booking input:focus, .booking textarea:focus {
  outline: none;;
}
.booking input, .booking textarea {
  padding:2vh; 
  width:100%;
  margin:2vh 0;
  background: none;
  border:1px solid var(--snd);
  color: var(--snd);
  box-shadow: none;
  line-height: 120%;
  font-size: 100%;
}
.booking .subsub {
  font-size: 60% !important;
}
.booking .subsub button {
  background:var(--snd);
  color: var(--prim);
  padding: 1vh;

}
.booking textarea {
  min-height:25vh;
}



/* --- Footer --- */

footer { 
  text-align: right;
  margin:3vh 0;
  border-top:1px solid var(--snd);
  padding:3vh;
  opacity:.6;
  font-size: 65%;
}

/* --- Responsive --- */



@media only screen and (max-width: 1080px) {
    .menu a {
        font-size:5vh;
        margin: 3vh
    }
    main {
    margin: 0 3vw;
    }
    #logo {
        position: absolute;
        top:5px; left:15px;
        width: 20vw;
    }
    header {
    margin-top:10vh;      
    }  
    .left-float, .right-float {   
    width: 45%;
    }  
        
}

@media only screen and (max-width: 768px) {

  body {
      font-size: 1.2em;
  }
  .gallery-item {
  flex: 0 0 49%;

}
    .menu a {
        font-size:3.2vh;
        margin: 2vh
    }
    h1 {
    font-size: 8vh;
    font-weight: 300;
    margin:0 0 3vh 0;
    font-style: italic;
    }
    h2 {
    font-size:5vh;
    }
      .nav.next,
      .nav.prev {
      display: none;
    }
    .left-float {
    float:left;
    margin:0 0 2vh 0;
    width: 100%;
    }
    .right-float {
    float:right;
    margin:0 0 2vh 0;
    width: 100%;
    }
    .ghost {
  display:block;
}
.ghosty {
  display:none;
}
.duo {
  grid-template-columns: 100%;
 
}
.duo article {
  aspect-ratio: 3 / 2;
}
.duo p {
  max-height: none;
  opacity: .85;
  margin-top: .6rem;
}
.duo-media img {
  filter: grayscale(.3) brightness(.75);
}
.guest {
  font-size: 80% !important;
}
}
