/*** Couleurs ***/
/*
Vert  #6a7640;
jaune pÃ¢le #f8efd1;
or #bc9b3e
*/

@font-face {
  font-family: "Kravitz Thermal";
  font-style: normal;
  font-weight: normal;
  src: local("Kravitz Thermal"), url("font/Kravitz-Thermal.woff") format("woff");
}

@font-face {
  font-family: "Poiret one";
  font-style: normal;
  font-weight: normal;
  src: local("Poiret one"), url("font/PoiretOne-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Calendary Hands";
  font-style: normal;
  font-weight: normal;
  src: local("Calendary Hands"),
    url("font/CalendaryHands.woff2") format("woff2");
}
@font-face {
  font-family: "Open Sans Condensed";
  font-style: normal;
  font-weight: normal;
  src: local("Open Sans Condensed"),
    url("font/OpenSansCondensed-Light.woff2") format("woff2");
}
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

/* Couleurs */
:root {
  --color-gray-lighter: #c5c1c1;
  --color-gray: #858585;
  --color-gray-darker: #525252;
  --color-gray-plus-darker: #302e2d;
  --color-blue-gray-darker: rgb(29, 30, 62);

  --body-bg: #e1dede;
}

/* CSS reset */
*,
::before,
::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
}

html {
  margin: 0;
  padding: 0;
}
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-color: #ebd38a;
  background-color: var(--body-bg);
  font-family: "Open Sans Condensed", sans-serif;
  color: #333;
  position: relative;
}
main {
  z-index: 1;
}
h1,
h2 {
  text-wrap: balance;
  font-family: "Calendary Hands", serif;
}
h2 {
  letter-spacing: 0.1ch;
}
h4 {
  font-size: 1.3rem;
  font-weight: 600;
  padding-inline: 2rem;
}
p,
li,
figcaption {
  text-wrap: balance;
  max-width: 85ch;
}
p {
  margin: 12px auto;
  font-size: 1.2rem;
  text-align: left;
  margin-inline: auto;
  text-align: justify;
  line-height: 1.75;
  letter-spacing: 0.1ch;
}
li {
  margin: 6px auto;
  font-size: 1.2rem;
  text-align: left;
}
a {
  color: inherit;
}
h2 {
  margin: 0 auto 0.5rem;

  text-align: center;

  font-size: 2.4rem;
  font-weight: 500;
  color: inherit;
}
h2.intertitre {
  font-family: "Poiret One", sans-serif;
  font-size: 2rem;
  padding-block: 1rem 2rem;
}
h3 {
  font-family: "Poiret One", sans-serif;
  font-size: 2rem;
  text-align: center;
  font-weight: 400;
  position: relative;
  text-wrap: balance;
  padding-block: 2rem;
}

section {
  overflow: auto;
  position: relative;
}
section.dark {
  background-color: var(--color-gray);
  color: white !important;
}
div.spacer {
  height: 100px;
  width: 100%;
  position: relative;
}
div.spacer::after {
  content: url(img/detail.gif);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Bouton d'appel à l'action */
a.open-details {
  display: block;
  width: fit-content;
  margin: 1rem auto;
  padding: 0.7rem 1.4rem;
  border-radius: 2px;
  font-size: 0.9rem;
  font-weight: 400;
  font-family: "Gotham pro", sans-serif;
  text-decoration: none;

  cursor: pointer;
  border: solid 1px rgba(255, 255, 255, 0.8);
  background-color: #bbbbbb;
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.35);
  min-width: 100px;

  color: #333;
  text-align: center;
  transition: 0.2s ease-in-out;
}

a.call-to-action {
  display: block;
  width: fit-content;
  margin: 1rem auto;
  padding: 0.7rem 1.4rem;
  border-radius: 2px;
  font-size: 0.9rem;
  font-weight: 400;
  font-family: "Gotham pro", sans-serif;
  text-decoration: none;

  cursor: pointer;
  border: solid 1px rgba(255, 255, 255, 0.8);
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.35);
  min-width: 100px;

  background-color: white;
  color: #333;
  text-align: center;
  transition: 0.2s ease-in-out;
}
.call-to-action:hover {
  box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2);
  font-size: 1rem;
  background-color: white;
}
a.open-details:hover {
  box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2);
  background-color: #dbdbdb;
}
.discover {
  display: block;
  width: fit-content;
  margin: 0.5rem auto;
  margin-inline: auto;
  padding: 0.8rem 1.6rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 400;
  text-decoration: none;

  cursor: pointer;
  border: solid 1px rgba(255, 255, 255, 0.7);
  min-width: 100px;

  background-color: var(--color-gold);
  color: #fff;
  transition: 0.2s ease-in-out;
}
.discover:hover {
  background-color: var(--color-gold-light);
  border: solid 1px var(--color-gold);
  color: var(--color-green2);
}

.hide {
  opacity: 0;
}

/**** HEADER****/
header {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  align-content: center;
  padding-block: 0 50px;

  opacity: 0;
  animation: fade-in 1s 1s ease-out forwards;
  z-index: 10;
}

.titre h1 {
  margin: 0;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 1);
  font-size: 3rem;
  color: var(--color-gray-darker);
  font-family: "Calendary Hands";
  line-height: 5rem;

  font-weight: 200;
  text-align: center;
  transition: 0.3s ease-in-out;

  translate: 0 4rem;
}
.home .titre {
  display: none;
}
.titre h1 span {
  font-size: 2rem;
}
.titre img {
  max-width: 200px;
  display: block;
  margin-inline: auto;
  margin-top: 2rem;
  transition: 0.3s ease-in-out;
}

.titre h1 a {
  text-decoration: none;
}

@media screen and (max-width: 600px) {
  .titre img {
    margin-top: 3rem;
  }
  .titre h1 {
    font-size: 1.4rem;
    /* display: none; */
  }
  .titre h1 span {
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 360px) {
  .titre img {
  }
  .titre h1 {
    font-size: 1rem;
  }
  .titre h1 span {
    font-size: 1.3rem;
  }
}

/* titre page d'accueil */
header {
  position: relative;
  margin: auto;
  width: 100%;
  min-height: 120px;
}
.home header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  background: linear-gradient(
    rgba(0, 0, 0, 0.25),
    rgba(0, 0, 0, 0.35) 35%,
    rgba(0, 0, 0, 0.35) 75%,
    rgba(0, 0, 0, 0)
  );
}
header.scroll {
  height: 50px;
  min-height: 50px;
  background-color: transparent;
  background-image: none;
  transition: none;
}
header.scroll .titre img {
  transform: scale(0);
  max-width: 0;
  margin-top: 0;
}
header.scroll .header-titre {
  font-size: 1.4rem;
  color: #666;
}

header.scroll h1 {
  text-shadow: none;
  font-weight: 300;
  letter-spacing: normal;
  color: inherit;
  font-size: clamp(1rem, 0.6727rem + 1.4545vw, 1.4rem);
  line-height: 3rem;
  opacity: 0;
}
header.scroll div h1 span {
  font-size: clamp(1.3rem, 0.55rem + 3.3333vw, 1.8rem);
  color: #666;
}

/* Animation keyframes */
@keyframes h2-slide-in {
  0% {
    opacity: 0;
    transform: translateY(200%);
  }
  100% {
    opacity: 1;
    transform: translateY(0); /* Le texte revient à sa position normale */
  }
}
@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes h2-background {
  0% {
    background: rgba(0, 0, 0, 0.4);
  }
  100% {
    background: rgba(0, 0, 0, 0.1);
  }
}

.header-content-image {
  position: relative;
  width: 100%;
  height: 100vh;
  z-index: -1;

  background-position: center center;
  background-size: cover;
}

.header-content-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.welcome {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  /* background-image: url(photos/welcometochateautalaud.jpg);
  background-position: center center;
  background-size: cover; */
  animation: pulse 2.5s infinite;
  z-index: -1;
}

.welcome video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/** Titre page d'accueil **/
.titre-maschateaublanc {
  font-family: "Calendary Hands";
  font-size: 4rem;
  margin-block: 1rem 0;
  display: inline-block;
  letter-spacing: normal;
}
.titre-accueil {
  position: absolute;
  top: 30%;
  left: 50%;
  translate: -50%;
  text-align: center;
  z-index: 2;
  width: 94%;
}
.titre-accueil img {
  width: clamp(11.25rem, 5.1136rem + 27.2727vw, 18.75rem);
  margin-inline: auto;

  opacity: 0;
  animation: slideUp 2s 3s ease-in-out forwards; /* slideUp dans _styles-menu.css */
}
.titre-accueil p {
  color: white;
  text-align: center;
  opacity: 1;
}
.titre-accueil a {
  text-decoration: none;
}

.titre-accueil h2 {
  color: white;
  text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.5);
  background: rgba(0, 0, 0, 0.1);
  border: solid 1px rgba(255, 255, 255, 0.2);
  width: fit-content;
  padding: 0.75rem 1.5rem;
  margin: 2rem auto;
  font-size: clamp(1.2rem, 0.825rem + 1.2vw, 1.5rem);
  font-family: "Kravitz Thermal", sans-serif;
  /* animation: slideUp 2s 3.6s ease-in-out forwards; */ /* slideUp dans _styles-menu.css */
  line-height: 0.75;
  opacity: 0;
  animation: slideUp 3s 1s ease-in-out forwards; /* slideUp dans _styles-menu.css */
}
h2.titre-accueil-sous-titre {
}
h1.titre-accueil-titre {
  font-size: clamp(2.5rem, 0.625rem + 6vw, 4rem);
  font-weight: 200;
  margin-block: 0;
  margin-inline: auto;
  /* animation: slideUp 2s 3.3s ease-in-out forwards; */ /* slideUp dans _styles-menu.css */
  animation: appear 2s 0.5s ease-in-out forwards;

  text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.5);
  font-family: "Calendary Hands";
  line-height: 0.5;
  color: white;
  opacity: 0;
}
@keyframes appear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.titre-accueil-texte {
  margin-top: 2rem;
  line-height: 1.5;
  text-align: center;
}
.titre-complement {
  position: absolute;
  bottom: 10%;
  left: 50%;
  translate: -50%;
  color: white;
  z-index: 2;
  width: fit-content;
  font-family: "Poiret One", sans-serif;
  font-size: 1.5rem;
}

.title-lines::after,
.title-lines::before {
  border-bottom: 1px solid;
  content: "";
  display: inline-block;
  margin: 8px 2rem 0;
  width: 0;
  vertical-align: middle;
  transition: 1.5s 0.4s ease-in-out;
}

.title-lines.visible::after,
.title-lines.visible::before {
  width: 15%;
}

/**** Page d'accueil Bienvenue ****/
.accueil-intertitre {
}
h2.accueil-intertitre {
  font-family: "Poiret One", sans-serif;
  display: inline-block;
  margin-inline: auto;
  text-align: center;
  padding-block: 2rem;
  font-size: 2rem;
  text-align: center;
  width: 100%;
}
#accueil-bienvenue {
}
#accueil-parc-titre {
  min-height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
}
#accueil-maschateaublanc {
  padding-block: 0;
}

.section-container {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 400px;
  aspect-ratio: 5/3;
  overflow: hidden;
}
.section-container.left {
  justify-content: flex-start;
}
.section-container > img {
  position: absolute;
  top: 0;
  left: 50%;
  width: auto;
  height: 100%;
  object-fit: cover;
  max-height: 100vh;
  translate: -50%;
}
.section-container-texte,
.section-accueil-texte {
  max-width: 600px;
  width: min(96%, 600px);
  padding: 4rem 2rem;
  text-wrap: balance;
  position: relative;
  z-index: 2;
}
.quote {
  position: relative;
}
.quote::before,
.quote::after {
  content: "";
  width: 3.5rem;
  height: 1.5rem;
  position: absolute;
  border: solid 1px rgb(104, 104, 104);
  transition: 2s ease-in-out;
  opacity: 0;
}

.quote::before {
  top: -0.75rem;
  left: -1.5rem;
  border-bottom: none !important;
  border-right: none !important;
  translate: -3rem -3rem;
}
.quote::after {
  bottom: -0.25rem;
  right: -1.5rem;
  border-top: none !important;
  border-left: none !important;
  translate: 3rem 3rem;
}
.quote.visible::after,
.quote.visible::before {
  translate: 0;
  opacity: 1;
}
.dark .quote::before,
.dark .quote::after {
  border: solid 1px white;
}

.section-accueil-texte {
  margin-inline: auto;
}
.section-container-texte {
  margin-inline: 1rem;
  background: rgba(0, 0, 0, 0.6);
  color: white;
}
.section-container-texte p,
.section-accueil-texte p {
  line-height: 1.75;
  color: inherit;
}

/**** Page d'accueil Chambres d'hôtes ****/

#accueil-chambresdhotes,
#accueil-provence {
  background-color: var(--color-gray);
  padding-block: 4rem;
  color: white;
}
.accueil-container-chambresdhotes {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 4rem;
}

.accueil-chambre {
  position: relative;
  width: calc(30% - 10px);
  min-width: 350px;
  aspect-ratio: 4/3;
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}
.accueil-chambre h4 {
  color: white;
  position: absolute;
  bottom: 0;
  left: 50%;
  translate: -50%;
  background: linear-gradient(
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.2) 20%,
    rgba(0, 0, 0, 0.2)
  );
  padding: 1rem 2rem;
  width: 100%;
  text-align: center;
}
.accueil-chambre img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/**** Page d'accueil Terrasses ****/

#accueil-terrasse {
  padding: 0;
}

/**** Page d'accueil Provence ****/
#accueil-provence {
  background-color: var(--color-gray);
  padding-block: 4rem;
  color: white;
  padding-bottom: 0;
}
#accueil-provence .section-container {
  margin-top: 2rem;
}
/*** Bouton RESERVER ***/
.reserver-hebergement {
  position: sticky;
  right: 1rem;
  top: 2.5rem;
  width: fit-content;
  margin-inline: auto 0;
}

/*** Espacement et mise en forme***/

.center {
  text-align: center !important;
}

/**************  CHAMBRES  ****************/

/* Carrousel */
.carrousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  width: min(1200px, 96%);
  height: 94vh;
  margin: auto;
}

.photos-carrousel {
  display: flex;
  transition: transform 2s ease-in-out;
  scroll-behavior: smooth;
  height: 100%;
}

.photos-carrousel img {
  width: 100%;
  height: 100%;

  flex-shrink: 0;
  object-fit: cover;
}
.photos-carrousel div {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
}

.carrousel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) scale(2);
  z-index: 1;
  background: rgba(0, 0, 0, 0.1);
  border: none;
  cursor: pointer;
  padding: 0.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.2s ease;
}

.carrousel button:hover {
  transform: translateY(-50%) scale(2.2);
}
.carrousel .prev {
  left: 1.25rem;
}

.carrousel .next {
  right: 1.25rem;
}
/* *** */

.chambre {
  padding-block: 0 50px;
  text-align: center;
}
.chambre .call-to-action,
.chambre .open-details {
  display: inline-block;
  margin-inline: 0.5rem;
}

.chambres h3 {
}
h3.chambre-titre {
  font-family: "Poiret One", sans-serif;
  padding-block: 4rem;
}

.chambre-tarif {
  font-weight: 700;
  font-size: 1.5rem;
  text-align: center;
  letter-spacing: 0.1ch;
}
.chambre-details {
  columns: 2;
  column-gap: 3rem;
  width: fit-content;
  max-width: 800px;
  margin-inline: auto;
  opacity: 0;

  max-height: 0;
  overflow: hidden;
  transition: max-height 0.8s ease-in-out, opacity 0.3s 0.4s ease-in-out;
}

.hide {
  opacity: 0;
}
.fade {
  transition: opacity 1s ease-in-out;
  opacity: 1;
}

/****** DOMAINE  *******/
.domaine img {
  max-width: min(1200px, 100%);
  display: block;
  width: 100%;
  margin-inline: auto;
  max-height: 800px;

  aspect-ratio: 4 / 3;
}

@media screen and (max-width: 1200px) {
  .domaine img {
    object-fit: cover;
    min-height: 80vh;
    max-height: 100vh;
  }
}
section#piscine {
  padding-bottom: 0;
}

/****** PRIVATISATION  *******/
.privatisation .quote {
  margin-block: 4rem;
}

/****** DECOUVRIR  *******/
body.decouvrir {
  padding-bottom: 0;
}
body.decouvrir figure {
  position: relative;
  max-width: 1200px;
  margin-inline: auto;
}
body.decouvrir figure > figcaption {
  position: absolute;
  bottom: 0;
  right: 0;
  color: white;
  font-size: 1.2rem;
  padding: 0.5rem 1rem;
}

figure + figure {
  margin-block: 1.5em;
}
/****** Venir  *******/
.contact-venir {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 1rem auto;
}
.contact-venir p {
  max-width: fit-content;
  width: fit-content;
  text-align: center;
}
.svg {
  height: 25px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 1rem;
  fill: white;
}

.map {
  border: 0;
  width: 100%;
  height: 80vh;
  max-width: min(1000px, 96%);
  margin-inline: auto;
  display: block;
  margin-bottom: 4rem;
}

/****** CARTE DE VISITE  *******/
#footer {
  width: 100%;
  background: var(--color-gray-plus-darker);

  position: top center;
  padding: 2rem 0 1.5rem;
  color: #fff;
  overflow: visible;
  margin: 0;
  text-align: center !important;
  position: relative;
  border: 0;
}
div.before-footer {
  padding: 0;
  margin: 0;
  margin-bottom: -2px;
  position: relative;
}

#footer > div {
  max-width: 96%;
}

#footer p {
  margin: 8px auto;
  font-size: 1.2em;
  text-align: center !important;
}

.footer-titre {
  font-size: 3rem !important;
  font-weight: normal;
  font-family: "Calendary Hands", sans-serif;
  padding-block: 2rem 0;
  margin: 0 auto !important;
  line-height: 1;
  letter-spacing: normal;
}
.footer-titre span {
  font-size: 3.5rem !important;
}
#footer .footer-sous-titre {
  font-family: "Kravitz Thermal", sans-serif;
  font-size: 1.5rem;

  padding-block: 0;
  margin: 0 auto !important;
}
.footer-titre-complement {
  font-family: "Poiret One", sans-serif;
}

.footer-contact {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2em;
  line-height: 180%;
  margin-block: 2rem;
  flex-wrap: wrap;
}

.footer-contact span.cartouche {
  border: solid 0px;
  margin: 4px 8px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 4px;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  box-sizing: border-box;
  border: solid 1px rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease-out;
  transition: 0.2s;
  white-space: nowrap;
}
.footer-contact span.cartouche:hover {
  background-color: rgba(0, 0, 0, 0.1);
  border: solid 1px rgba(255, 255, 255, 0.8);
}
.footer-contact span.cartouche a {
  padding: 4px 16px;
  width: 100%;
  height: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 4px;
  text-decoration: none;
  letter-spacing: 0.1ch;
}
.footer-contact span.label-cartouche {
  text-align: center;
  font-size: 0.8em;
  margin: 0;
  display: inline-block;
  line-height: 100%;
}

.cartouche img {
  display: inline;
  vertical-align: middle;
  color: white;
  height: 28px;
  width: auto;
  margin-right: 0.5rem;
}
.copyright {
  padding-block: 2rem 0.5rem;
  font-size: 1rem !important;
}
.copyright p {
  font-size: 1rem !important;
}
.VF {
  border: 1px solid #f1f1f1;
  border-radius: 50%;
  padding: 0;
  margin: 0 0.25rem;

  display: inline-block;
  width: 30px;
  height: 30px;
  vertical-align: middle;
  font-size: 1.2rem;
  line-height: 1.5;
  letter-spacing: 0.2ch;
  transition: 0.2s;
}

.VF:hover {
  border: 1px solid #1f1d1c;
  background: rgba(255, 255, 255, 0.95);
  color: #1f1d1c;
}
.no-decoration {
  text-decoration: none !important;
}

/****/

.reservation {
  background-color: #6a6a6a;
  position: relative;
  text-align: center;

  width: fit-content;

  position: absolute;
  top: 15vh;
  right: 0;
  z-index: 1000;
}
.sticky {
  position: fixed;
  top: 0;
}
.reservation a {
  color: white;
  display: block;
  text-transform: uppercase;
  font-size: 1.8rem;
  padding-inline: 1rem;
  line-height: 1.8;
  font-weight: 100;
  text-decoration: none;
  transition: 0.2s ease-in-out;
}
.reservation a:hover {
  color: #302e2d;
  background-color: white;
}
.reservation span {
  background-color: white;
  color: #302e2d;
  font-size: 0.9rem;
  display: block;
  position: relative;
  padding: 0.35rem;
}
