/** Debug **/
pre {
  margin: 20px;
}

/** Charte graphique **/
:root {
  --vert-profond: #1e4a3a;
  --vert-fonce: #192d26;
  --or: #c49a3c;
  --vert-sauge-clair: #e6f2ec;
  --vert-sauge: #7a9470;
  --creme-chaud: #f5f2eb;
  --beige-sable: #e9e4dc;
  --beige-olive: #c8c7b5;
  --gris-pale: #888;

  --color-menu: var(--vert-profond);
  --background-menu: var(--beige-sable);
  --color-menu-hover: var(--vert-sauge);
  --background-body: white;
  --color-text: #444;

  --font-titre: "Bellarina", serif;
  --font-soustitre: "Cormorant Garamond", serif;
  --font-text: "Lato", sans-serif;
}
*,
::before,
::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
}
@font-face {
  font-family: "Bellarina";
  src: url("fonts/Bellarina.woff2") format("woff2"),
    url("fonts/Bellarina.woff") format("woff"),
    url("fonts/Bellarina.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
html {
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: var(--font-text);
  background-color: var(--background-body);
  color: #444;
}
body:not(.accueil) {
  padding-top: 3.5rem;
}
h1 {
  font-size: clamp(2rem, 1.8rem + 0.8vw, 2.4rem);
  font-weight: 300;
  padding: 2.5rem 0 1.5rem;
  color: var(--vert-profond);
  text-align: center;
  line-height: 1.4;
  letter-spacing: 0.04em;
  position: relative;
}

h1::after {
  /* Ligne décorative sous le titre */
  content: "";
  display: block;
  width: 120px;
  height: 2px;
  margin: 1rem auto 0;
  background: linear-gradient(to right, transparent, var(--or), transparent);
}

h1 span {
  /* Variante avec mot mis en valeur */
  color: var(--or);
  font-weight: 400;
}
h2 {
  margin: 1rem auto;
}
h3 {
  margin: 1rem auto 0;
  font-weight: 500;
  font-size: 1.25rem;
}
p {
  margin: 0.5em auto;
  max-width: 1000px;
  line-height: 1.5s;
}
.center {
  text-align: center;
}

img.forme {
  position: absolute;
  right: -50%;
  bottom: -35%;
  transform: rotate(-65deg);
  object-fit: contain;
  z-index: 0;
}

section {
  margin: 0 auto;
  padding-block: 2rem;
}
a {
  color: inherit;
  text-underline-offset: 3px;
}
main ul {
  padding-left: 2rem;
}
main ul.colonnes-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 2rem;
}
@media (max-width: 768px) {
  main ul.colonnes-2 {
    grid-template-columns: 1fr;
  }
}
main ul li {
  list-style-type: disc;
  margin-block: 0.75rem;
}
main ul.colonnes-2 li {
  margin-block: 0.25rem;
}
/*** elements de Design ***/
.btn-outline {
  display: block;
  width: fit-content;
  margin-inline: auto;
  padding: 15px 36px;
  background: white;
  color: var(--vert-profond);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 300;
  border: 0.5px solid var(--vert-profond);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s, color 0.25s;
  font-family: "Jost", sans-serif;
}
.btn-outline:hover {
  background: var(--vert-fonce);
  color: var(--creme-chaud);
  border: 0.5px solid var(--vert-profond);
}

.white {
  background: white;
}
.btn-outline.reserver {
  position: fixed;
  top: 0.5rem;
  right: 0.35rem;
  z-index: 10;
}
/**** HEADER ***/
header {
  position: fixed;
  overflow: visible;
  top: 0;
  left: 0;
  width: fit-content;
  background-color: var(--background-menu);
  z-index: 4;
  overflow: hidden;
  transition: transform 0.3s ease;
}
header.hide {
  transform: translateY(-100%);
}
header > div {
  width: fit-content;
  padding-inline: 2rem 1rem;
  position: relative;
}
header > div::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: -1rem;
  background-image: url("images/logo-amandari.300.png");
  background-size: cover;
  background-position: center;
  width: 150px;
  height: 80px;
  opacity: 0.6;
}
header > div a {
  position: relative;
  text-decoration: none;
  z-index: 5;
}
header .site-name {
  position: relative;
  width: fit-content;
  font-family: var(--font-titre);
  color: var(--vert-profond);
  font-size: 2.45rem;
  text-align: center;
  line-height: 1;
  z-index: 3;
  padding-top: 0.75rem;
}
header .sous-titre {
  color: var(--or);
  font-size: 0.65rem;
  text-align: center;
  width: 100%;
  text-transform: uppercase;
  font-weight: 400;
  margin-inline: auto;
  translate: 0 -0.4rem;
  letter-spacing: 0.35ch;
}
#logo {
  position: absolute;
  left: 1rem;
  width: fit-content;
  z-index: 2;
  width: 150px;
  height: 150px;
}
#logo img {
  object-fit: contain;
  width: 100%;
}

/* HEADER MOBILE */
@media (max-width: 768px) {
  header {
    width: 100%;
  }
}
/**** Design page d'accueil ***/
.section-accueil {
  padding: 2rem;
}
.entete-section {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  align-items: stretch;
  max-width: min(1200px, 96%);
  margin-inline: auto;
}

.entete-section > div {
  flex: 1;
}
.entete-section > div:nth-child(1) {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
}
.entete-section > div.texte {
  display: flex;
  justify-content: center;
  align-items: center;

  text-align: right;
  text-wrap: balance;
}
.rubrique-surtitre {
  font-size: 1rem;
  color: var(--or);
  font-weight: 500;
  text-transform: uppercase;
  text-align: left;
  letter-spacing: 0.15ch;
}
.titre-section {
  font-family: var(--font-soustitre);
  color: var(--vert-profond);
  font-size: clamp(2rem, 1rem + 4vw, 3rem);
  font-style: italic;
  font-weight: 500;
}

/**** Accueil Panneaux ****/
section#presentation {
  background-color: var(--beige-sable);
  overflow: hidden;
}
#accueil-chambres {
  background-color: var(--creme-chaud);
}
#accueil-access {
  background-color: var(--beige-olive);
}
#accueil-provence {
  background-color: var(--vert-profond);
  color: white;
  padding-bottom: 0;
}
#accueil-provence h3 {
  background-color: var(--vert-profond);
  color: white;
}
#accueil-testimonial {
  background-color: var(--creme-chaud);
}
#reservation {
  background-color: white;
}
#accueil-acces {
  background-color: var(--vert-profond);
}
#accueil-acces .entete-section {
  flex-direction: row;
}
#accueil-acces h3 {
  color: white;
}
.accueil-map {
}
@media (max-width: 800px) {
  #accueil-acces .entete-section {
    flex-direction: column;
    gap: 1.5rem;
  }
  #accueil-provence h3 {
    max-width: none;
  }
}
/**** Accueil 1. et 4.Présentation ****/

.presentation-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: stretch;
  align-content: center;
  margin-inline: auto;
  gap: 1rem;
}
.presentation-container > div {
  width: calc(50% - 0.5rem); /* flex gap 1rem */
  min-width: 360px;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  flex-direction: column;
}
@media (max-width: 800px) {
  .presentation-container {
    flex-direction: column;
  }
  .presentation-container > div {
    max-width: 600px;
    width: auto;
  }
}
#presentation .presentation-container {
  background-image: url(images/logo-amandari.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left center; /* décale vers la gauche et centre verticalement */
  min-height: 80vh;
}
.presentation-left,
.presentation-right {
  width: fit-content;
  position: relative;
}
.presentation-left > div {
  padding: 2rem;
}
.presentation-surtitre {
  font-size: 1rem;
  letter-spacing: 0.5ch;
  text-transform: uppercase;
  width: 100%;
}
.presentation-titre {
  color: var(--vert-profond);
  font-size: clamp(4.5rem, 3.75rem + 3vw, 6rem);
  font-family: var(--font-titre);
  word-spacing: -0.4ch;
  white-space: nowrap;
}
.presentation-soustitre {
  font-size: 1.2rem;
  font-family: var(--font-soustitre);
  color: var(--or);
  font-weight: 600;
  text-transform: uppercase;
  text-align: right;
  translate: 0 -3rem;
}
.presentation-right {
  gap: 2rem;
}

#presentation h1 {
  text-align: left;
  padding: 0 2rem;
}
#presentation h2 {
  color: var(--vert-sauge);
  z-index: 1;
  font-size: 1.75rem;
  font-weight: 500;
  width: 100%;
  text-align: left;
  padding-inline: 2rem;
  text-wrap: balance;
}
#presentation p {
  z-index: 1;
  padding-inline: 2rem;
  line-height: 1.5;
}

/**** Accueil 2. et 3. Panneau de présentation des hébergements ****/
.panneau-accueil {
  position: relative;
  max-width: min(1200px, 96%);
  margin: 1rem auto;
  border: solid 0px green;
  border-spacing: 2px 0px;
  box-sizing: border-box;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;

  overflow: hidden;
}
@media (max-width: 600px) {
  .panneau-accueil {
    grid-template-columns: repeat(2, 1fr);
  }
}
.panneau-accueil img.forme {
  width: 100%;
  bottom: -50%;
  right: -35%;
  opacity: 0.5;
}
.panneau-accueil > div {
  border: solid 0px red;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.panneau-accueil > div:not(.full-width) > div:nth-child(1) {
  border-radius: 8px;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  aspect-ratio: 6 / 5;
  overflow: hidden;
}
.panneau-accueil div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  display: block;
  margin: auto;
  transition: all 0.4s;
}

.panneau-accueil div:hover img {
  transform: scale(1.05);
  filter: brightness(0.8);
}
div.image {
  padding: 10px 0;
}
div.image img {
  max-width: 800px;
  height: auto;
  margin: auto;
}

.panneau-accueil > div h3 {
  width: 100%;

  padding-top: 2%;
  padding-bottom: 1%;
  font-size: clamp(1rem, 0.6667rem + 1.3333vw, 1.5rem);
  font-family: var(--font-soustitre);
  color: var(--vert-sauge);
  font-style: italic;
  text-align: left;
  font-weight: 400;
  padding-left: 0.25rem;
  transition: all 0.2s ease-in-out;
}
.panneau-accueil > div:hover h3 {
  color: var(--vert-profond);
}
.panneau-accueil a {
  text-decoration: none;
  color: inherit;
}
.nb-pers {
  position: absolute;
  bottom: 0.35rem;
  right: 0.15rem;
  font-size: 0.75rem;
  color: var(--gris-pale);
  font-style: italic;
}
.panneau-accueil .full-width {
  grid-column: span 2; /* prend 2 colonnes */
  justify-self: center;
  justify-content: space-evenly;
  position: relative;
  padding: 1rem 2rem;
  margin-block: 1rem;
  text-wrap: balance;
}
/**** Accueil 5.Provence ****/
.provence-liste {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
}
.provence-liste > div {
  width: calc(50% - 1rem);
  position: relative;
  padding: 1rem;
}
.feature-line {
  width: 36px;
  height: 1px;
  background: var(--or);
  margin-bottom: 18px;
}
.provence-liste > div::before {
  content: "";
  height: 1px;
  width: 36px;
  background: var(--or);
  position: absolute;
}
.provence-liste h4 {
  font-family: var(--font-soustitre);

  font-size: 1.5rem;
  font-weight: 400s;
  font-style: italic;
  transition: 0.3s ease-in-out;
}
.provence-liste h4 a {
  text-decoration: none;
}
.provence-liste h4:hover {
  transform: translateY(-6px);
}
.provence-liste p {
  color: var(--vert-sauge-clair);
  line-height: 1.8;
  letter-spacing: 0.03em;
  font-size: 0.9rem;
}
#accueil-provence .titre-section {
}

/***** Accueil 6. Domaine *****/
/* ── GALLERY ── */
.gallery {
  padding: 100px 72px;
  background: white;
}

.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  grid-template-rows: 280px 200px;
  gap: 4px;
  margin-top: 2rem;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-cell {
  overflow: hidden;
  position: relative;
}

.gallery-cell-tall {
  grid-row: 1 / 3;
}

.gallery-inner {
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
}

.gallery-cell:hover .gallery-inner {
  transform: scale(1.06);
}

@media (max-width: 960px) {
  .gallery {
    padding: 60px 28px;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-cell-tall {
    grid-row: auto;
  }
  .gallery-last-cell {
    grid-column: span 2;
  }
}
/**** Accueil. Testimonials ***/
/* ── TESTIMONIAL ── */
.testimonial {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  max-width: 800px;
  width: calc(100% - 4rem);
  margin-inline: auto;
}

.testimonial-deco {
  height: 0.5px;
  background: rgba(30, 74, 58, 0.2);
}
@media (max-width: 1000px) {
  .testimonial {
    grid-template-columns: 1fr;
  }
  .testimonial-deco {
    display: none;
  }
}

.quote-mark {
  font-family: var(--font-soustitre);
  font-size: 8rem;
  line-height: 0.6;
  color: var(--green-light);
  margin-bottom: 28px;
  display: block;
}

.quote-text {
  position: relative;
  font-family: var(--font-soustitre);
  font-style: italic;
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--vert-profond);
  line-height: 1.65;
  margin-bottom: 1.6rem;
}

.quote-author {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 300;
}

.quote-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 20px;
}

.star {
  width: 10px;
  height: 10px;
  background: var(--or);
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
}
.testimonial-labels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  align-items: center;
  justify-items: center;
  gap: 20px;
  max-width: 800px;
  margin: 2rem auto 0;
}

.testimonial-labels img {
  max-height: 100px; /* ajuste selon ton design */
  max-height: clamp(3.75rem, 1.875rem + 7.5vw, 5.625rem);
  width: auto;
  display: block;
}
/*** Accès Accueil ***/
.acces-map {
  background: rgba(181, 196, 168, 0.12);
  border: 0.5px solid rgba(181, 196, 168, 0.2);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.acces-map iframe {
  height: 100%;
  width: 100%;
  min-height: 400px;
}
.acces-details {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-inline: 0.5rem;
  margin-bottom: 1.5rem;
}

.acces-item {
  position: relative;
  padding-left: 1rem;
}

.acces-item::before {
  content: "";
  position: absolute;
  top: 1rem;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--or);
  flex-shrink: 0;
}

.acces-item p {
  font-size: 13px;
  font-weight: 300;
  color: rgba(245, 242, 235, 0.6);
  line-height: 1.7;
}

.acces-item strong {
  font-weight: 400;
  color: var(--creme-chaud);
  display: block;
}

/*** RESERVATION ***/
.reservation-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  align-content: center;
  min-height: 50vh;
}
#reservation .entete-section {
  margin: 0;
}
#reservation .presentation-container {
  max-width: min(1200px, 96%);
}
#reservation .presentation-container > div:nth-child(1) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}

/*** FOOTER ***/
footer {
  position: relative;
  background-color: var(--vert-fonce);
  color: white;
  padding-block: 2rem 1rem;
  z-index: 3;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1.5rem;
  max-width: 96%;
  margin-inline: auto;
}
.footer-container > div {
  flex: 1;
}
.footer-container > div > div {
  width: fit-content;
  margin: 1rem auto;
}
.footer-container > div > div.footer-titre {
  font-size: 3rem;
  font-family: var(--font-titre);
  word-spacing: -0.4ch;
  width: fit-content;
  height: fit-content;
  line-height: 1;
  margin: 1rem auto 0;
  white-space: nowrap;
}
.footer-soustitre {
  font-size: 0.8rem;
  color: var(--or);
  font-weight: 400;
  font-family: var(--font-text);
  text-transform: uppercase;
  text-align: right;
  translate: 0;
  word-spacing: normal;
}
.footer-langue > div {
  margin: 0 auto;
  text-align: center;
}
.footer-langue {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}
.footer-langue a {
  display: block;
  width: 1.5rem;
  aspect-ratio: 4/3;
  margin: 0 auto;
  background-position: center;
  background-size: cover;
}
.footer-langue a.fr {
  background-image: url(images/fr.svg);
}
.footer-langue a.en {
  background-image: url(images/gb.svg);
}
.footer-langue a:hover {
  text-decoration: none;
}

.social-network {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
.social-network img {
  height: 60px;
  width: auto;
  display: inline-block;
  border-radius: 0.6rem;
}
footer div.labels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  width: fit-content;
  margin-inline: auto;
}
footer div.labels > div {
  display: flex;
  justify-content: center;
  align-items: center;
}
footer div.labels img {
  height: 100px;
  width: auto;
  display: inline-block;
}
.footer-contact {
  margin-top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-direction: column;
}
.footer-contact a {
  text-underline-offset: 5px;
  text-decoration-color: transparent;
  color: inherit;
  font-size: 1.2rem;
  transition: 0.2s ease-in-out;
  display: block;
}
.footer-contact a:hover {
  text-underline-offset: 3px;
  text-decoration-color: inherit;
  translate: 0 -3px;
}
.whatsapp img {
  width: 90px;
  height: auto;
}
.copyright {
  padding-block: 2rem 0;
  font-size: 1rem !important;
  width: fit-content;
  margin-inline: auto;
}
.copyright a {
  text-decoration: none;
}
.copyright a:hover {
  text-decoration: underline;
}
.VF {
  border: 1px solid #f1f1f1;
  border-radius: 50%;
  padding: 0;
  padding-left: 0px;
  margin: 0 0.25rem;
  font-family: var(--font-sans);
  display: inline-block;
  width: 30px;
  height: 30px;
  vertical-align: middle;
  font-size: 1.2rem;
  line-height: 1.8;
  letter-spacing: 0.2ch;
  transition: 0.2s;
  font-size: 1rem;
  translate: 0 -3px;
  padding-left: 0.2rem;
}
.VF:hover {
  border: 1px solid #1f1d1c;
  background: rgba(255, 255, 255, 0.95);
  color: #1f1d1c;
}
/**************  CHAMBRES  ****************/
/* ── PHOTOS DES CHAMBRES ── */

section.chambre {
  background: var(--vert-sauge-clair);
  background: var(--creme-chaud);

  position: relative;
  padding-block: 0 2rem;
  width: 100%;
  overflow: hidden;
}
.chambre-background-top {
  position: absolute;
  width: 50%;
  height: 100%;
  top: -1%;
  left: -3%;
  background-image: url(images/logo-amandari.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top center;
  z-index: 1;
  opacity: 0.3;
}
.chambre-background-bottom {
  position: absolute;
  right: 0;
  bottom: 0;
  transform: translate(50%, 50%) rotate(-65deg);
  width: 80%;
  height: 100%;
  background-image: url(images/forme.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top center;
  z-index: 0;
  opacity: 0.3;
}

.chambre-container {
  margin: auto;
  width: min(800px, 96%);
}
.chambre h2 {
  text-align: center;
  padding: 2rem 0;
  font-size: 2.5rem;
  font-family: var(--font-soustitre);
  color: var(--vert-sauge);
  font-style: italic;
  text-align: center;
  font-weight: 500;
}
.photo-chambre {
  position: relative;
  height: auto;
  width: 100%;
  aspect-ratio: 5 / 3;

  overflow: visible;
  z-index: 2;
  background-position: center center;
  background-size: cover;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
  border-radius: 16px;
  margin-inline: auto;

  background-position: center;
  background-size: cover;
}

.photo-chambre img {
  object-fit: cover;
  object-position: center center;
  width: 100%;
  height: 100%;
  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;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1vw;
  padding: 0.5rem 0;
  position: absolute;
  bottom: 0;
  left: 50%;

  transform: translate(-50%, 50%);
  width: 100%;
}

.timbres img {
  width: max(10vw, 90px);
  height: max(10vw, 90px);
  max-width: 90px;
  max-height: 90px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center center;
  border: solid 3px rgba(255, 255, 255, 0.5);
  transition: 0.2s ease-in-out;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
.page-gites .timbres img {
  width: 60px;
  height: 60px;
}
.chambre-tarif {
  margin: 1rem auto;
  max-width: min(800px, 96%);
  text-align: center;
  font-size: 1.1rem;
}
.photo-chambre + .chambre-tarif {
  margin-top: 4rem;
}
.chambre-tarif span:nth-child(2) {
  font-size: 1rem;
  margin-left: 0.5rem;
}
.chambre-tarif span.prix {
  font-size: 1.3rem;
}
.chambre h3 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
.chambre-description {
  width: fit-content;
  max-width: min(800px, 96%);
  margin-inline: auto;
  margin-block: 1rem 0;
}
.chambre-description p {
  text-align: left;
  margin: 0.5rem;
  line-height: 1.45;
}

/* section  sombre */
.chambre.dark {
  background: linear-gradient(var(--vert-profond), var(--vert-sauge));
  background: var(--vert-sauge);
  color: white;
}
.chambre.dark h2 {
  color: white;
}

@media screen and (min-width: 600px) {
  .timbres img.show {
    border: solid 3px rgba(255, 255, 255, 1);
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  }
}

@media screen and (max-width: 600px) {
  .photo-chambre {
    box-shadow: none;
    background-image: none !important;
    height: auto;
  }
  .photo-chambre > img {
    display: none;
  }
  .timbres {
    flex-direction: column;
    gap: 10px;
    position: relative;
    bottom: auto;
    left: auto;
    bottom: auto;
    left: auto;

    transform: none;
  }
  .timbres img {
    position: relative;
    width: 100%;
    height: auto;
    max-width: none;
    max-height: none;
    border: none;
    transform: none;
    border-radius: 16px;
    margin-inline: 0.5rem;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
  }
}

ul.description-chambre {
  margin: max(7vw, 50px) 30px 0;
  column-gap: 10vh;
}
@media screen and (min-width: 600px) {
  .page-chambres .card-tarif {
    margin: 20px 4px 0;
  }
}
@media screen and (min-width: 600px) {
  ul.description-chambre {
    column-count: 2;
    max-width: 800px;
    margin-inline: auto;
  }
}
ul.description-chambre li {
  margin-block: 6px;
}

/*** LOISIRS ***/
.page-loisirs h2 {
  max-width: 1200px;
  padding-inline: 1rem;
}
.tourisme .carrousel-container {
  max-width: 1200px;
  width: 100%;
}
@media (max-width: 550px) {
  .tourisme .carrousel {
    aspect-ratio: 4 / 5;
  }
}
.loisirs-description {
  width: fit-content;
  max-width: min(900px, 96%);
  margin-inline: auto;
  margin-block: 1rem 0;
}
.loisirs-description p {
  line-height: 1.5;
}

/*** GITES ***/
/* Carrousel */
.carrousel-gite {
  position: relative;
  width: 100%;
  max-width: min(1000px, 96%);
  margin: auto;
  overflow: hidden;
  height: 94vh;
}
.carrousel-gite.slide .photos-carrousel {
  display: flex;
  flex-direction: row;
  transition: transform 0.8s ease;
  position: relative;
}

.carrousel-gite.slide .photos-carrousel img {
  width: 100%;
  flex-shrink: 0;
}

.carrousel-gite.fade .photos-carrousel {
  position: relative;
}

.carrousel-gite.fade .photos-carrousel img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  opacity: 0;
  transition: opacity 1.2s ease;
  z-index: 1;
}

.carrousel-gite.fade .photos-carrousel img.active {
  opacity: 1;
  z-index: 2;
}
.photos-carrousel {
  display: flex;
  flex-direction: row;
  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-gite button {
  position: absolute;
  top: 50%;
  transform: scale(2.5);
  z-index: 3;
  background: rgba(0, 0, 0, 0);
  border: none;
  cursor: pointer;
  padding: 0.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.2s ease;
  color: white;
}

.carrousel-gite button:hover {
  transform: scale(2.8);
}
.carrousel-gite .prev {
  left: 3rem;
}

.carrousel-gite .next {
  right: 3rem;
}
.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  height: fit-content;
  width: fit-content;

  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--vert-sauge-clair);
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: var(--vert-profond); /* couleur active */
}
.caption {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: white;
}
/* *** */

/* Carrousel Gites */

/*** Tarifs ***/

.tarifs {
  background: var(--creme-chaud);
  padding: 4rem 1.5rem;
  text-align: center;
}
.tarifs:nth-child(2n) {
  background: white;
}
/* Titres */
.tarifs-title {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: var(--vert-profond);
  margin-bottom: 0.5rem;
}

.tarifs-subtitle {
  color: var(--gris-pale);
  margin-bottom: 2rem;
}

/* Tableau */
.tarifs-table-wrapper {
  overflow-x: auto;
  max-width: 800px;
  margin-inline: auto;
}

.tarifs-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.tarifs-table thead {
  background: var(--vert-profond);
  color: white;
}

.tarifs-table th,
.tarifs-table td {
  padding: 1rem;
  text-align: center;
}

.tarifs-table th {
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* Lignes */
.tarifs-table tbody tr {
  border-bottom: 1px solid var(--beige-sable);
  transition: background 0.3s;
}

.tarifs-table tbody tr:hover {
  background: var(--vert-sauge-clair);
}

/* Première colonne */
.tarifs-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--vert-fonce);
  margin-bottom: 1rem;
}

/* Détails */
.tarifs-table span {
  font-size: 0.9rem;
  color: var(--gris-pale);
}

.tarifs-table small {
  font-size: 0.8rem;
  color: var(--vert-sauge);
}

/* Séparateur */
.separator td {
  height: 10px;
  background: transparent;
  border: none;
}

/* Dates infos */
.dates-infos {
  text-align: left;
  max-width: min(800px, 96%);
  width: fit-content;
  margin: 1rem auto 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  padding: 0.5rem 1rem;
  border: solid 1px var(--vert-sauge);
}

/* Bloc infos */
.tarifs-infos {
  margin-top: 1rem;
  text-align: left;
  max-width: 800px;
  margin-inline: auto;
  font-size: 0.95rem;
  line-height: 1.6;
}

.tarifs-infos strong {
  color: var(--vert-profond);
}

.tarifs-infos .highlight {
  margin: 1rem 0;
  padding: 0.8rem;
  background: var(--vert-tres-clair);
  border-left: 4px solid var(--or);
}

.tarifs-infos ul {
  padding-left: 1.2rem;
}
@media (max-width: 768px) {
  .tarifs-table th:nth-child(4),
  .tarifs-table th:nth-child(5),
  .tarifs-table td:nth-child(4),
  .tarifs-table td:nth-child(5) {
    display: none; /* masqué sur tablette et smartphone */
  }
}

/***** TARIFS CARDS ****/
/* Section générale */
.tarifs {
  background: var(--creme-chaud);
  padding: 1rem 3rem;
  text-align: center;
}

.tarifs-title {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: var(--vert-profond);
  margin-bottom: 0.5rem;
}

.tarifs-subtitle {
  color: var(--gris-pale);
  margin-bottom: 2rem;
}

/* Conteneur des cartes */
.tarifs-cards {
  display: inline-grid; /* inline pour que le container ait largeur du contenu */
  grid-template-columns: repeat(
    auto-fit,
    360px
  ); /* colonnes fixes de 360px max */
  gap: 1.5rem;
  justify-content: center; /* centre les cartes horizontalement */
  width: 100%; /* permet d'être responsive */
  max-width: 100%;
}

/* Card individuelle */
.tarifs-card {
  background: linear-gradient(145deg, var(--creme-chaud), var(--beige-olive));
  border-radius: 15px;
  padding: 1.8rem;
  margin-inline: auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  border-left: 1px solid var(--vert-sauge);
  max-width: 360px; /* largeur max de chaque card */
  width: 100%; /* prend toute la colonne disponible */
  background: var(--vert-sauge);
  background: linear-gradient(
    145deg,
    var(--vert-sauge) 20%,
    var(--vert-profond)
  );
}

/* .tarifs-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  background: linear-gradient(
    145deg,
    var(--creme-chaud),
    var(--vert-sauge) 22%
  );
} */

/* Titres de card */
.tarifs-card h3 {
  color: var(--vert-fonce);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;

  color: white;
}
.tarifs-card h3 span {
  font-weight: 300;
  display: block;
  font-size: 1.1rem;
}
/* Paragraphes descriptifs */
.tarifs-card p {
  font-size: 0.9rem;
  color: var(--vert-profond);
  color: white;
  margin-block: 0.5rem;
}

/* Liste des saisons */
.tarifs-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  background: var(--creme-chaud);
  padding-block: 0.75rem;
  border-radius: 0.25rem;
}

.tarifs-card li {
  position: relative;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--vert-fonce);
  padding-left: 1.2em;
  list-style-type: none;
}

/* Puce décorative */
/* .tarifs-card li::before {
  content: "●";
  position: absolute;
  left: 0;
  color: var(--or);
  font-size: 1em;
  top: 0;
} */

/* Responsive */
@media (max-width: 480px) {
  .tarifs-cards {
    grid-template-columns: 1fr;
  }
}

/**** Caroussel Avis ****/

.carousel-avis {
  position: relative;
  overflow: hidden;
  max-width: min(800px, 100%);
  padding-inline: 1rem;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.18, 1);
}

.avis {
  min-width: 100%;
  box-sizing: border-box;
  padding: 1rem;
  text-align: center;
  overflow: visible;
}

/* boutons */
.testimonial .prev,
.testimonial .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(120, 140, 120, 0.25); /* adapte les valeurs */
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 2;
}
.prev:hover,
.next:hover {
  background: rgba(120, 140, 120, 0.75); /* adapte les valeurs */
}
/* taille de la flèche */
.testimonial .prev,
.testimonial .next {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 0;
}

/* on force la taille de la flèche */
.testimonial .next svg,
.testimonial .prev svg {
  width: 36px;
  height: 36px;
}
.testimonial .prev {
  left: 0;
  translate: -100%;
}
.testimonial .next {
  right: 0;
  translate: 100%;
}
@media (max-width: 800px) {
  .testimonial .prev,
  .testimonial .next {
    display: none;
  }
  .carousel-avis {
    padding-inline: 1rem;
  }
}
/* *** */

/*** CGV ***/
.page-cgv section {
}
.cgv-container {
  max-width: min(1000px, 96%);
  margin: auto;
}
.mentions-legales {
  background-color: var(--creme-chaud);
}

/*** FAQ ***/
section.faq {
  padding-block: 0.5rem 1.5rem;
}

section.faq:nth-child(2n + 1) {
  background-color: var(--creme-chaud);
}
section.faq:nth-child(2n) {
  background-color: var(--vert-sauge);
  color: white;
}
section.faq:first-of-type {
  margin-top: 1.5rem;
}

.faq-container {
  margin: auto;
  max-width: min(1000px, 96%);
}

/**** RESERVATION ****/

/* Formulaire élégant avec couleurs */
#form-contact {
  background: var(--vert-sauge-clair);
}
.form-contact-container {
  width: min(1200px, 96%);
  margin-inline: auto;
}
.formulaire {
  max-width: min(96%, 650px);
  margin: 1rem auto 2rem;
  background: white;
  padding-block: 1rem 0;
  /* fond doux */
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  color: #333;
}

/* Fieldset et legend */
.formulaire fieldset {
  border: none;
  margin: 0 0;
  padding: 1rem;
}

.formulaire legend {
  font-size: 1.4rem;
  font-weight: 600;
  width: 100%;
  text-align: center;
  font-weight: 500;
  padding: 0.5rem 1rem 0;
  max-width: none;
}

/* Grid pour les champs */
.formulaire .form-group {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.3rem 0.5rem;
  align-items: center;
  margin-bottom: 1rem;
}

.formulaire label {
  font-weight: 500;
  color: #2c3e50;
  /* gris profond */
}
.formulaire p {
  font-size: 1rem;
  letter-spacing: normal;
  padding-inline: 1rem;
}

/* Champs et textarea */
.formulaire input,
.formulaire select,
.formulaire textarea {
  padding: 0.7em;
  font-size: 1em;
  border: 1px solid var(--vert-profond);
  border-bottom: 1px solid var(--vert-profond);
  border-radius: 8px;
  width: 100%;
  max-width: 450px;
  box-sizing: border-box;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  background: #fff;
}

/* Masquer le placeholder au focus */
.formulaire input:focus::placeholder,
.formulaire textarea:focus::placeholder {
  color: transparent;
}

/* Restaurer le placeholder si le champ est vide après le focus */
.formulaire input:not(:placeholder-shown)::placeholder,
.formulaire textarea:not(:placeholder-shown)::placeholder {
  color: transparent;
  /* placeholder invisible si champ rempli */
}

.formulaire input:placeholder-shown::placeholder,
.formulaire textarea:placeholder-shown::placeholder {
  color: #999;
  /* couleur du placeholder par défaut */
}

/* Focus visuel */
.formulaire input:focus,
.formulaire textarea:focus {
  border-color: #1e4b6b;
  box-shadow: 0 0 8px rgba(30, 75, 107, 0.3);
  outline: none;
  background: #f0f8ff;
}

/* Bouton élégant */
.formulaire button {
  grid-column: 2 / 3;
  max-width: 450px;
  padding: 0.8em 1.2em;
  border: none;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--vert-sauge), var(--vert-profond));
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  font-size: 1em;
  transition: 0.2s ease-out;
}

.formulaire button:hover {
  background: linear-gradient(145deg, var(--vert-profond), var(--vert-sauge));
  transform: translateY(-2px);
}

/* Responsive mobile */
@media (max-width: 600px) {
  .formulaire .form-group {
    grid-template-columns: 1fr;
  }

  .formulaire 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;
}

/*** Choix ***/
.choix h2 {
  text-align: center;
}
.photos-choix {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.photos-choix img {
  display: block;
  width: 280px;
  height: auto;
}

.photo-wrapper {
  position: relative;
  display: inline-block;
}

.photo-index {
  position: absolute;
  top: 8px;
  left: 8px;

  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 4px 8px;
  font-size: 14px;
  border-radius: 4px;
}

/*** MODIF ***/
.modif .nav-cta,
.modif .nav-contact {
  display: none;
}
.modif main {
  max-width: 1200px;
  margin: auto;
  padding-inline: 1rem;
}
.modif h2,
.modif h3 {
  text-align: center;
}
.modif-menu {
  margin-top: 2rem;
  text-align: center;
  font-size: 1.2rem;
}
.modif h3 {
  margin-block: 1.5rem;
}
.modif .reservation {
  display: none;
}

.modif-menu a {
  display: inline-block;
  background-color: #5f5f5f;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  text-decoration: none;
  margin: 1rem 0.5rem;
}
.modif .form-group {
  margin-block: 1rem 2rem;
  position: relative;
  color: #4c4c4c;
  font-size: 1.2rem;
}
.modif .form-group > div {
  margin-top: 5px;
}
.modif .form-group div span {
  margin-inline: 1.5rem 0;
}
.modif .form-group.price-from {
  display: flex;
  justify-content: start;
  align-items: center;
  flex-direction: row;
  gap: 1.75rem;
  font-size: 1.1rem;
}
.lang-en {
}
.modif .language-switch-fr {
  position: absolute;
  top: -26px;
  right: 32px;
  border: none;
  background: none;
  cursor: pointer;
  background-image: url(images/fr.svg);
  background-position: center;
  background-size: cover;
  width: 24px;
  height: 16px;
  margin: 2px 4px;
}
.modif .language-switch-en {
  position: absolute;
  top: -26px;
  right: 0;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 24px;
  filter: grayscale(100%);
  background: url(images/gb.svg);
  background-position: center;
  background-size: cover;
  background-position: center;
  background-size: cover;
  width: 24px;
  height: 16px;
  margin: 2px 4px;
}
.modif input {
  padding: 4px 8px;
  font-size: 1.2rem;
}
.modif input[type="number"] {
  max-width: 55px;
  border-radius: 0.5rem;
  margin-inline: 0;
  padding: 4px 0 4px 2px;
  border: solid 1px var(--color-green);
  font-size: 1.05rem;
  border: solid 1px rgba(120, 140, 120, 0.25);
}
.modif input[type="submit"] {
  padding: 0.35rem 0.75rem;
  font-size: 1.3rem;
  margin: 0.5rem 1rem;
  cursor: pointer;
  outline: 1px solid #aaa;
}
.modif input[type="submit"]:hover {
  outline: 1px solid #444;
  color: #333;
}
.modif textarea {
  margin-inline: auto;
}
