:root {
  --vert: #6f7661;
  --vert-clair: #bfc0b2;
  --gris: #bbbbbb;
  --couleur-site: #74655d;
  --couleur-site-clair: #a09087;
}

*,
::before,
::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background-color: #fff;
  color: #787878;
  margin: 0px;
  padding: 0px;
  font-family: "Commissioner", sans-serif;
  font-size: 1.2rem;
}
main {
  margin-inline: auto;
}
a {
  color: inherit;
}

h1 {
  display: block;
  text-align: center;
  font-weight: 400;
}

@media screen and (max-width: 500px) {
}
h2 {
  font-size: clamp(1.5rem, 1.1667rem + 1.3333vw, 2rem);
  font-family: ;
  font-weight: normal;
  font-variant: normal;
  text-align: center;
  border: solid 0px;
  display: block;
  z-index: 1;
  text-wrap: balance;
}

h3 {
  background: #dbbf9b;
  color: white;
  text-align: center;
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.8rem);
  font-weight: 500;
  padding: 0.65rem 1rem;
  margin: 1rem auto;
  border-radius: 1rem;
  text-shadow: 1px 1px rgba(0, 0, 0, 0.5);
  max-width: min(950px, 96%);
}

h4 {
  color: #848484;
  font-size: 1.6rem;
  text-align: center;
  font-weight: bold;
}
p {
  margin-block: 0.5rem;
}
.espace1 {
  height: 60px;
  width: 100%;
  border: solid 0px;
}

.separateur {
  width: 200px;
  margin: 3rem auto 1rem;
}
.separateur svg {
  stroke: #364c64;
}
/**** MAIN  ***/
main {
}
main strong {
  font-weight: 600;
}
main p,
main ul {
  margin: 0.5rem;
  text-align: left;
}
main p strong {
  color: #666;
}

main table {
  margin: auto;
  /*border-radius:8px;*/
}
main div.texte {
  max-width: 1000px;
  margin: 50px auto;
  font-size: 1.5rem;
}
@media screen and (max-width: 600px) {
  main div.texte p {
    text-align: center;
  }
}
main div.texte ul {
  column-count: 2;
  column-gap: 100px;
  width: fit-content;
  margin: auto;
}
main div.texte li {
  width: 300px;
  text-align: left;
}
main div.texte li span {
  font-size: 1.3rem;
}
@media screen and (max-width: 700px) {
  main div.texte {
  }
  main div.texte ul {
    column-count: 1;
    font-size: 1.3rem;
  }
  main div.texte li {
    width: 220px;
  }
}
.center {
  text-align: center;
}
section {
  margin-bottom: 4rem;
}
/********************************/
/******* HEADER > H1 + H2  ******/
/********************************/

header {
  position: relative;
  margin: auto;
  height: fit-content;
  margin-block: 3rem;
}
header a {
  text-decoration: none;
  display: block;
  width: fit-content;
  margin-inline: auto;
}
header h1 {
  width: fit-content;
  margin-inline: auto;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  color: #5e3e3e;
  color: #364c64;
  margin-bottom: 3rem;
  width: fit-content;
}
header h1 > span {
  display: block;
}
header h1 > span:nth-child(1) {
  display: flex;
  justify-content: left;
  flex-direction: column;
}
header h1 > span:nth-child(1) > span:nth-child(1) {
  font-size: 1.1rem;
  text-align: right;
  display: inline-block;
  width: 100%;
  text-transform: uppercase;
  transform: translateY(100%);
  border: solid 0px red;
}
header h1 > span:nth-child(1) > span:nth-child(2) {
  opacity: 0;
  animation: fadeIn 1.5s 0s ease-in-out forwards;
  font-size: 3.4rem;
  text-shadow: 0px 0px 1px rgba(255, 255, 255, 1);
  display: inline-block;
  border: solid 0px red;
  font-weight: 200;
}
header h1 > span:nth-child(2) {
  font-size: 1.5rem;
  text-align: center;
  display: inline-block;
  border: solid 0px red;
  margin-block: 0.5rem;
  text-transform: uppercase;
  margin-inline: 0.8rem;
}
header h1 > span:nth-child(3) {
  opacity: 0;
  animation: fadeIn 4s 0s ease-in-out forwards;
  font-size: 4rem;
  text-shadow: 0px 0px 1px rgba(255, 255, 255, 1);
  display: inline-block;
  font-weight: 200;
}
header h1 > span:nth-child(3) > span:nth-child(2) {
  letter-spacing: 0.1ch;
}
header h1 > span:nth-child(3) > span {
  font-size: 3rem;
}
h1::after {
  /* content: "";
  width: 25%;
  position: absolute;
  height: 1px;
  background-color: #5e3e3e;
  background-color: #283849;
  translate: -50%;
  bottom: -4px;
  left: 50%;
  opacity: 0;
  animation: fadeIn 4s 1s ease-in-out forwards; */
}
header h1::after {
  content: "";
  display: block;
  position: absolute;
  color: #364c64;
  width: 200px;
  height: 28px;
  margin: 0.6em auto 0; /* espace au-dessus et centrage */
  background: no-repeat center/contain
    url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='200'%20height='28'%20viewBox='0%200%20200%2028'%20fill='none'%3E%3Cg%20stroke='%23364c64'%20stroke-width='2.5'%20stroke-linecap='round'%20fill='none'%3E%3Cpath%20d='M6%2018c24-10%2048-12%2072-6%2016%204%2032%206%2048%202%2012-3%2028-10%2046-6'/%3E%3Cpath%20d='M11%2028c24-10%2048-12%2072-6%2016%204%2032%206%2048%202%2012-3%2028-10%2046-6'%20transform='rotate(-2,%20100,%2030)'/%3E%3C/g%3E%3C/svg%3E");

  opacity: 0;
  bottom: -35%;
  transform: rotate(-1deg);
  animation: fadeIn 5s 0s ease-in-out forwards;
  /* %23364c64 */
}
header h2 {
  margin-block: 2rem;
  color: #5e3e3e;
}

/***************/
/*** ACCUEIL ***/
/***************/
.annonce {
  width: min(800px, 96%);
  margin: 4rem auto 0;
}
.annonce p {
  font-size: 1.6rem;
  text-align: center;
  color: #999;
  font-weight: 500;
  line-height: 1.5;
}
.annonce p strong {
  color: #444;
  color: #806a6a;
  font-weight: 500;
}
.texte-presentation {
  width: min(800px, 96%);
  margin: 2rem auto;
}
.texte-presentation p {
  text-align: center;
}

/*** Cadre de présentation des photos ***/
.accueil-cadre-presentation {
  margin: auto;
  max-width: min(1000px, 98%);
}
.accueil-cadre-presentation > h2 {
  background: radial-gradient(circle, #cfab7c, #dbbf9b);
  color: white;
  text-align: center;
  font-weight: 500;
  padding: 0.5rem 1rem;
  margin: 1rem 1%;
  border-radius: 1rem;
  text-shadow: 1px 1px rgba(0, 0, 0, 0.5);
}

.accueil-cadre-presentation > div {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.accueil-cadre-presentation > div > div {
  min-width: 340px;
  width: calc(50% - 1rem);
  aspect-ratio: 4 /3;
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
}
.accueil-cadre-presentation > div > div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 /3;
}
.accueil-cadre-presentation > div > div h3 {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  margin: 0;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  font-weight: 400;
  font-size: 1.2rem;
  padding: 0.2rem 1rem;
  border-top-left-radius: 0.35rem;
  border-bottom-right-radius: 0.35rem;
}
.accueil-cadre-presentation > div > div a {
  text-decoration: none;
}

section .cadre-description {
  max-width: min(980px, 96%);
  margin: 1.5rem auto 0;
  /* border-right: 4px solid #c69c65;
  border-bottom: 1px solid #c69c65; */
  text-align: left;
  background-color: #f9f0e3;
  background-color: #fff2e0;
  box-shadow: 2px 1px 4px #c6c1ba;
  box-shadow: 2px 1px 4px #c69c65;
  border-radius: 1.5rem;
  padding-block: 1rem;
  padding-inline: 1.5rem;
}
@media screen and (min-width: 800px) {
  section#chambres-introduction .cadre-description:nth-child(2n + 1) {
    translate: 2vw;
  }

  section#chambres-introduction .cadre-description:nth-child(2n + 1) {
    /* border-left: 4px solid #c69c65;
  border-right: 0; */
    translate: 0vw;
    box-shadow: -2px 1px 4px #c69c65;
    animation: slideLeft 1s 1s linear forwards;
  }
  section#chambres-introduction .cadre-description:nth-child(2n) {
    /* border-left: 4px solid #c69c65;
  border-right: 0; */

    translate: 0vw;
    animation: slideRight 1s 1s linear forwards;
  }
}
@keyframes slideLeft {
  from {
    translate: 0vw;
  }
  to {
    translate: -2vw;
  }
}
@keyframes slideRight {
  from {
    translate: 0vw;
  }
  to {
    translate: 2vw;
  }
}
.cadre-description p {
  font-size: 1.3rem;
  line-height: 1.35;
}
.cadre-description p strong {
  font-weight: 600;
  color: #806a6a;
}
.cadre-description ul {
  padding-left: 2rem;
  font-size: 1.2rem;
  line-height: 1;
}
.cadre-description ul li {
  margin-block: 0.6rem;
}
.page-accueil {
  position: relative;
}

/*****************************/
/*** Header Page d'accueil****/
/*****************************/

.page-accueil header {
  height: 100vh;
  margin-top: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}
.page-accueil h1::after {
  display: none;
}
.page-accueil h1 {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 0.5rem;

  width: fit-content;
  color: #f1f1f1;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  z-index: 2;
}
.page-accueil h1 span {
  line-height: 1;
  opacity: 1;
}

.page-accueil h1 > span:nth-child(1) > span:nth-child(1) {
  font-size: 1.8rem;
  text-align: right;
  display: block;
  width: 100%;
  text-transform: uppercase;
  transform: translate(-3%, 140%);
  border: solid 0px red;
}
.page-accueil h1 > span:nth-child(1) > span:nth-child(2) {
  opacity: 0;
  animation: fadeIn 1.5s 0s ease-in-out forwards;
  font-size: 7rem;
  text-shadow: 0px 0px 1px rgba(255, 255, 255, 1);
  display: block;
  border: solid 0px red;
  font-weight: 200;
}
.page-accueil h1 > span:nth-child(2) {
  font-size: 1.8rem;
  text-align: center;
  display: block;
  border: solid 0px red;
  margin: 0 0.5rem;
  text-transform: uppercase;
}
.page-accueil h1 > span:nth-child(3) {
  opacity: 0;
  animation: fadeIn 4s 0s ease-in-out forwards;
  font-size: 9rem;
  text-shadow: 0px 0px 1px rgba(255, 255, 255, 1);
  display: block;
  font-weight: 200;
}
.page-accueil h1 > span:nth-child(3) > span:nth-child(2) {
  letter-spacing: 0.1ch;
}
.page-accueil h1 > span:nth-child(3) > span {
  font-size: 7rem;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.page-accueil header h2 {
  width: fit-content;
  color: #f1f1f1;
  border: solid 1px rgba(255, 255, 255, 0.3);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  font-size: 1.4rem;
  background: rgba(0, 0, 0, 0.2);
  padding: 1rem;

  margin-inline: auto;

  translate: 0 50vh;
  opacity: 0;
  animation: slideUp 3s 3s ease-in-out forwards;
}
@keyframes slideUp {
  from {
    opacity: 0;
    translate: 0 50vh;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
.page-accueil h2 {
}
.page-accueil h2 > span {
  display: block;
}
.page-accueil h2 > svg {
  margin-block: 0.75rem;
}
.page-accueil h2 > span:not(:last-child)::after {
  /* content: "";
  display: block;
  height: 1px;
  width: 50%;
  translate: 50%;
  margin-inline: auto;
  background: #ccc; */
  /*margin: 0.6rem 0;  espace autour du trait */
}

div.accueil2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-position: 60% 75%;
  background-size: cover;
}
div.accueil2 img {
  object-fit: cover;
  object-position: 60% 75%;
  width: 100%;
  height: 100vh;
  filter: blur(10px);
  transition: filter 0.5s ease-in;
}
.accueil2 img.loaded {
  filter: blur(0);
}

div.accueil-bas {
  position: relative;
  width: 100%;
  height: 95vh;
  overflow: hidden;
  background-position: 50% center;
  background-size: cover;
}
div.accueil-bas img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
  filter: blur(10px);
  transition: filter 0.5s ease-in;
}
.accueil-bas img.loaded {
  filter: blur(0);
}

.page-accueil div.texte p {
  text-align-last: center;
  margin: 2rem;
}
.page-accueil .navbar {
  animation: slideIn 1s 4s ease-in-out forwards;
  transform: translateY(-100%);
}
@keyframes slideIn {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

@media screen and (width < 800px) {
  .page-accueil header {
    flex-direction: column;
  }
  .page-accueil h1 {
    flex-direction: row;
    align-items: flex-end;
    font-weight: 400 !important;
  }
  .page-accueil h1 > span:nth-child(1) > span:nth-child(1) {
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    transform: translate(-3%, 100%);
  }
  .page-accueil h1 > span:nth-child(1) > span:nth-child(2) {
    font-size: 4rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    font-weight: 300;
  }
  .page-accueil h1 > span:nth-child(2) {
    font-size: 1.2rem;
  }
  .page-accueil h1 > span:nth-child(3) > span {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    font-size: 4rem;
  }
  .page-accueil h1 > span:nth-child(3) {
    font-size: 5.5rem;
    line-height: 4rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    height: fit-content;
    transform: translateY(4px); /*remise en bas ,nécessaire, pourquoi ? */
    font-weight: 300;
  }
}

/*******************************/
/**********  CHAMBRES  *********/
/*******************************/

section.chambre {
  max-width: 1200px;
  position: relative;
  margin: 50px auto;
}

.photo-chambre {
  position: relative;
  height: min(100vh, 800px);
  width: 98%;
  margin-inline: auto;
  overflow: visible;
  background-position: center center;
  background-size: cover;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
  height: min(100vh, 800px);
  border-radius: 16px;

  background-position: center;
  background-size: cover;
}
.photo-chambre img {
  transition: opacity 1s ease;
}

.photo-chambre img.hide {
  opacity: 0;
}

.photo-chambre img.fade {
  opacity: 1;
}
.chambre h3 {
  background: #bbb;
  background: #8b7070;
  background: #bea0a0;
  background: #dbbf9b;
  background: radial-gradient(circle, #cfab7c, #dbbf9b);
  color: white;
  text-align: center;
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.8rem);
  font-weight: 500;
  padding: 0.65rem 1rem;
  max-width: none;
  margin: 0.5rem 1%;
  border-radius: 1rem;
  text-shadow: 1px 1px rgba(0, 0, 0, 0.75);
}
.photo-chambre img {
  object-fit: cover;
  object-position: center center;
  width: 100%;
  height: min(100vh, 800px);
  transition: 0.8s ease-in-out;
  border-radius: 16px;
}
.photo-chambre img.fade {
  opacity: 1;
}
.photo-chambre img.hide {
  opacity: 0;
  transition: none;
}
.timbres {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1vw;
  padding: 0.5rem 0;
  position: absolute;
  bottom: 0;
  left: 50%;

  transform: translate(-50%, 0);
}
.timbres img {
  width: max(10vw, 90px);
  height: max(10vw, 90px);
  max-width: 140px;
  max-height: 140px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center center;
  border: solid 5px rgba(255, 255, 255, 0.8);
  transition: 0.2s ease-in-out;
}

.chambre-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1.5rem auto 0;
  gap: 3vw;
}
.chambre-cta button {
  background-color: #213c50;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 1.4rem;
  font-weight: 500;
  transition: all 0.2s;
}
section.chambre .cadre-description {
  translate: 0;
}
.chambre-cta button:hover {
  translate: 0 -2px;
  cursor: pointer;
  color: #f1cfa4;
}
@media screen and (max-width: 800px) {
  .photo-chambre {
    height: auto;
    box-shadow: none;
  }
  .photo-chambre > img {
    display: none;
    height: 0;
  }
  .timbres {
    position: relative;
    flex-direction: column;
    gap: 1vw;

    transform: none;
    padding: 0.5rem 0;
    bottom: auto;
    left: auto;
  }

  .timbres img.show {
    border: none;
  }

  .timbres > img {
    width: min(96vw, 500px);
    height: auto;
    max-width: none;
    max-height: none;
    border-radius: 1rem;
    object-fit: cover;
    object-position: center center;
    border: solid 2px rgba(255, 255, 255, 0.5);
    transition: none;
  }
}

/***************************/
/****** Table d'hôtes ******/
/***************************/

.page-tabledhotes main {
  max-width: 1200px;
}
.page-tabledhotes .cadre-description {
  margin-block: 2rem;
}
/**************************/
/******** Visiter *********/
/**************************/

.page-visiter .main {
  max-width: 1200px;
}

.photo-pano {
  max-width: 1100px;
  margin: 1rem auto;
  aspect-ratio: 3 / 2;
}
.photo-pano img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
}
.container-pano {
  position: relative;
  max-width: 1080px;
  height: auto;
  margin: auto;
  border: solid 0px green;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.container-pano > div {
  position: relative;
  margin: 0;

  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: fit-content;
  max-width: 350px;
  aspect-ratio: 4 /3;
  border-radius: 0.5rem;
  overflow: hidden;
}

.container-pano > div p {
  position: absolute;
  bottom: 0;
  color: white;
  background: rgba(0, 0, 0, 0.15);
  padding: 0.5rem 1rem;
  text-align: center;
  width: 100%;
  margin: 0;
}
.container-pano > div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/*******************/
/****** Venir ******/
/*******************/

.page-venir .avertissement {
  max-width: 1200px;
}

.page-venir iframe {
  display: block;
  width: min(1100px, 96%);
  height: 75vh;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
  border-radius: 12px;
  margin: 40px auto 80px;
  border: 0;
}

#map {
  /* width: 100%;
  height: 400px;
  border: 0;
  margin: 0;
  margin-bottom: 0px;
  margin-bottom: -4px; */
}

/***************************/
/********* TARIFS **********/
/***************************/
.grid-container {
  padding: 30px;
  overflow-x: auto;
}

.tarifs-grid {
  display: grid;
  grid-template-columns: 120px repeat(6, minmax(100px, 1fr));
  gap: 1px;
  background: #dee2e6;
  border-radius: 10px;
  overflow: hidden;
  min-width: 800px;
}

.grid-header {
  background: #ebb86c;
  color: white;
  padding: 1rem 0.4rem;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  text-shadow: 1px 1px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.grid-header.room-header {
  background: #68645e;
  justify-content: flex-start;
  font-size: 1.2rem;
  padding: 1rem 0.5rem;
}

.grid-period {
  background: #68645e;
  background: #9f988d;
  color: white;
  padding: 1rem 0.5rem;
  font-weight: 400;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  text-align: center;
}

.grid-price {
  background: #ffffff;
  padding: 16px 12px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #f8f9fa;
}

.price {
  font-weight: bold;
  font-size: 1.1rem;
  color: #2c3e50;
}

.notes {
  background: #f1f3f4;
  padding: 20px;
  border-radius: 10px;
  margin-top: 20px;
  border-left: 4px solid #6c757d;
}

.notes p {
  margin-bottom: 8px;
  color: #2d3436;
  font-weight: 500;
}

.notes p:last-child {
  margin-bottom: 0;
}

/* Responsive Design avec Grid */
@media (max-width: 768px) {
  .header h1 {
    font-size: 2rem;
  }

  .grid-container {
    padding: 15px;
  }

  .tarifs-grid {
    grid-template-columns: 150px repeat(6, minmax(90px, 1fr));
    font-size: 0.85rem;
    min-width: 700px;
  }

  .grid-header,
  .grid-period,
  .grid-price {
    padding: 12px 8px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 20px;
  }

  .header h1 {
    font-size: 1.8rem;
  }

  .tarifs-grid {
    grid-template-columns: 120px repeat(6, minmax(80px, 1fr));
    min-width: 600px;
  }

  .grid-header,
  .grid-period,
  .grid-price {
    padding: 10px 6px;
    font-size: 0.8rem;
  }

  .notes {
    padding: 15px;
  }
}

/* Animation d'entrée */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.container {
  animation: fadeInUp 0.8s ease-out;
}

/* Animation d'apparition des éléments de la grille */
.tarifs-grid > * {
  animation: fadeInUp 0.6s ease-out forwards;
  animation-delay: calc(var(--delay) * 0.05s);
}

/* Indicateur visuel pour le défilement horizontal */
.grid-container::after {
  content: "← Faites défiler horizontalement →";
  display: block;
  text-align: center;
  color: #74b9ff;
  font-size: 0.9rem;
  margin-top: 15px;
  opacity: 0.7;
}

@media (min-width: 1200px) {
  .grid-container::after {
    display: none;
  }
}

/* Colonnes impaires (1, 3, 5) — couleur claire */
.tarifs-grid .grid-period + .grid-price,
.tarifs-grid .grid-period + .grid-price + .grid-price + .grid-price,
.tarifs-grid
  .grid-period
  + .grid-price
  + .grid-price
  + .grid-price
  + .grid-price
  + .grid-price {
  background: #e7dfd1;
  /* choisis ta couleur */
}

.page-tarifs .cadre-description p {
  margin-block: 0.5rem;
}
/* Colonnes paires (2, 4, 6) — couleur blanche (ou autre) */
.tarifs-grid .grid-period + .grid-price + .grid-price,
.tarifs-grid
  .grid-period
  + .grid-price
  + .grid-price
  + .grid-price
  + .grid-price,
.tarifs-grid
  .grid-period
  + .grid-price
  + .grid-price
  + .grid-price
  + .grid-price
  + .grid-price
  + .grid-price {
  background: #ffffff;
}

/**** RESERVATION ****/

/* champ antispam */
input#remarque {
  margin: 0;
  padding: 0;
  z-index: -1;
  position: absolute;
  left: -9999px; /* décalé hors écran */
  top: -9999px;
  height: 0;
  border: 0;
  overflow: hidden;
  visibility: hidden;
}

/* Formulaire élégant avec couleurs */
form#reservation {
  max-width: min(96%, 650px);
  margin: 1rem auto 2rem;
  background: #f9f9f9;
  /* fond doux */
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  color: #333;
}

/* Fieldset et legend */
#reservation fieldset {
  border: none;
  margin: 0 0 2em;
  padding: 0;
}

#reservation legend {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 1em;
  background: #dbbf9b;
  width: 100%;
  padding-bottom: 0.3em;
  color: white;
  text-align: center;
  font-weight: 500;
  padding: 0.5rem 1rem;
  max-width: none;
  margin: 1rem 1%;
  border-radius: 1rem;
  text-shadow: 1px 1px rgba(0, 0, 0, 0.5);
}

/* Grid pour les champs */
#reservation .form-group {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.3rem 0.5rem;
  align-items: center;
  margin-bottom: 1rem;
}

#reservation label {
  font-weight: 500;
  color: #2c3e50;
  /* gris profond */
}

/* Champs et textarea */
#reservation input,
#reservation textarea {
  padding: 0.7em;
  font-size: 1em;
  border: 1px solid #ccc;
  border-bottom: 1px solid #999;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  background: #fff;
}

/* Masquer le placeholder au focus */
#reservation input:focus::placeholder,
#reservation textarea:focus::placeholder {
  color: transparent;
}

/* Restaurer le placeholder si le champ est vide après le focus */
#reservation input:not(:placeholder-shown)::placeholder,
#reservation textarea:not(:placeholder-shown)::placeholder {
  color: transparent;
  /* placeholder invisible si champ rempli */
}

#reservation input:placeholder-shown::placeholder,
#reservation textarea:placeholder-shown::placeholder {
  color: #999;
  /* couleur du placeholder par défaut */
}

/* Focus visuel */
#reservation input:focus,
#reservation textarea:focus {
  border-color: #1e4b6b;
  box-shadow: 0 0 8px rgba(30, 75, 107, 0.3);
  outline: none;
  background: #f0f8ff;
}

/* Bouton élégant */
#reservation button {
  grid-column: 2 / 3;
  padding: 0.8em 1.2em;
  border: none;
  border-radius: 10px;
  background: linear-gradient(145deg, #1e4b6b, #3a7ca5);
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  font-size: 1em;
  transition: background 0.3s, transform 0.2s;
}

#reservation button:hover {
  background: linear-gradient(145deg, #3a7ca5, #1e4b6b);
  transform: translateY(-2px);
}

/* Responsive mobile */
@media (max-width: 600px) {
  #reservation .form-group {
    grid-template-columns: 1fr;
  }

  #reservation button {
    grid-column: 1 / 2;
    width: 100%;
  }
}

/* champ antispam */
input#remarque {
  margin: 0;
  padding: 0;
  z-index: -1;
  position: absolute;
  top: 0;
  height: 0;
  border: 0;
}
input#remarque {
  display: none;
}

/*** page Crédits ***/
.page-credits main {
  max-width: 800px;
  margin: 60px auto;
}
.page-credits main li {
  margin: 12px 0;
}

/*** BAS de PAGE  ***/
.basdepage {
  margin-top: 30px;
  text-align: center;
}
.VF {
  border: 1px solid #f1f1f1;
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
  padding: 4px;
  width: 28px;
  height: 28px;
}
.VF:hover {
  background: rgba(0, 0, 0, 0.1);
}
.basdepage a {
  text-decoration: none;
}

/***********************/
/******* FOOTER ********/
/***********************/

footer {
  color: #fff;
  font-weight: normal;
  text-align: center;
  clear: both;
  background: #213c50;
  padding: 0 0;
  position: relative;
  padding: 1rem 0;
}
.contact-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 5vw;
}
.contact-footer div {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 4vw;
}
footer .contact-footer a {
  color: #fff;
  color: #f2a848;
  font-size: 1.2rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  display: inline-block;
  white-space: nowrap;
  border-radius: 25px;
  padding: 0.5rem 1rem;
  background: rgba(52, 152, 219, 0.1);
  border: 1px solid transparent;
  transition: 0.2s ease-in-out;
}
footer .contact-footer a:hover {
  color: #fff;
  background: rgba(52, 152, 219, 0.2);
}
footer h3 {
  position: relative;
  color: #fff;
  font-size: 3rem;
  font-weight: 200;
  width: fit-content;
  margin-inline: auto;
  background: none;
  word-spacing: -0.1ch;
  margin-block: 0;
  padding-bottom: 0;
}
footer svg {
  display: block;
  margin: 0 auto 1rem;
}
footer h3 > span > span {
  text-transform: uppercase;
  font-size: 1.2rem;
  font-weight: 300;
}
/* footer h3::after {
  content: "";
  width: 25%;
  position: absolute;
  height: 1px;
  background-color: #fff;
  translate: -50%;
  bottom: -2px;
  left: 50%;
} */
footer > div {
  margin: 0 1rem 1.2rem;
}
footer span {
  margin-inline: 0 auto 20px;
}
footer .basdepage {
  font-size: 0.9rem;
}

/*** MODIF ***/

.modif main {
  max-width: 1200px;
  margin: auto;
  padding-inline: 1rem;
}
.modif-menu {
  text-align: center;
}
.modif-menu a {
  display: inline-block;
  background-color: #5e3e3e;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  text-decoration: none;
  margin: 1rem 0.5rem;
}
.modif .form-group {
  margin-block: 1.5rem 2.5rem;
  position: relative;
  color: #4c4c4c;
}
.modif .form-group > div {
  margin-top: 5px;
}
.lang-en {
}
.modif .language-switch-fr {
  position: absolute;
  top: -26px;
  right: 32px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 24px;
}
.modif .language-switch-en {
  position: absolute;
  top: -26px;
  right: 0;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 24px;
  filter: grayscale(100%);
}
.modif input {
  padding: 4px 8px;
  font-size: 1.3rem;
}
.modif input[type="number"] {
  max-width: 80px;
}
.modif input[type="submit"] {
  padding: 4px 8px;
  font-size: 1.3rem;
  margin: 0.5rem 1rem;
  cursor: pointer;
}
