/* ============================================================
   TABLE DES MATIÈRES
   1. Variables
   2. Réinitialisation & base
   3. Boutons
   4. Header
   5. Hero + barre de réservation
   6. Galerie chambres
   7. Informations & réservation
   8. Footer
   9. Accessibilité — mouvement réduit
   ============================================================

   TEMPLATE — POUR CHANGER LES COULEURS D'UN ÉTABLISSEMENT À
   L'AUTRE, MODIFIEZ UNIQUEMENT LES VALEURS DE LA SECTION
   "1. VARIABLES" CI-DESSOUS. Le reste du fichier n'a normalement
   pas besoin d'être touché. Voir README.md du template.
   ============================================================ */

/* ============================================================
   1. VARIABLES
   ============================================================ */
:root{
  /* ====== PALETTE ======
  /* Couleurs de texte */
  --couleur-texte: #223026;
  --couleur-texte-attenue: #59695D;

  /* Couleurs de fond — le blanc est dominant */
  --couleur-fond: #FFFFFF;
  --couleur-fond-secondaire: #F3F5F1;
  --couleur-fond-blanc: #FFFFFF;

  /* Couleur d'accent (boutons, liens actifs) — vert sauge */
  --couleur-accent: #4F6F52;
  --couleur-accent-fonce: #37502F;
  --texte-accent: #FFFFFF;

  /* Couleur secondaire (ocre/bois), utilisée pour la carte "Réservation & contact" */
  --couleur-secondaire: #B07A34;
  --couleur-secondaire-accent: #C68F41;

  /* Autres */
  --couleur-bordure: rgba(34, 48, 38, 0.14); /* lignes de séparation discrètes */
}

/* ============================================================
   2. RÉINITIALISATION & BASE
   ============================================================ */
*{ box-sizing: border-box; }

html, body{
  max-width: 100%;
  overflow-x: clip;
}

body{
  margin: 0;
  background: var(--couleur-fond);
  color: var(--couleur-texte);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
}

h1, h2{
  font-family: "Fraunces", serif;
  font-weight: 600;
  margin: 0 0 12px;
}

a{ color: inherit; }

.container{
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

a:focus-visible, button:focus-visible{
  outline: 3px solid var(--couleur-accent);
  outline-offset: 2px;
}

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

/* Apparition avec léger glissement vers le haut (chargement de page) */
@keyframes fadeInUp{
  from{ opacity: 0; transform: translateY(20px); }
  to{ opacity: 1; transform: translateY(0); }
}

/* Apparition avec léger glissement vers le bas (ex: header) */
@keyframes fadeInDown{
  from{ opacity: 0; transform: translateY(-16px); }
  to{ opacity: 1; transform: translateY(0); }
}

/* ============================================================
   3. BOUTONS
   ============================================================ */
.btn{
  display: inline-block;
  padding: 12px 18px;
  border-radius: 4px;
  border: 1px solid var(--couleur-accent);
  color: var(--couleur-accent-fonce);
  background: transparent;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.btn:hover{
  background: var(--couleur-accent);
  color: var(--texte-accent);
}
.btn-primary{
  background: var(--couleur-accent);
  color: var(--texte-accent);
}
.btn-primary:hover{
  background: var(--couleur-accent-fonce);
  border-color: var(--couleur-accent-fonce);
}

/* ============================================================
   4. HEADER
   ============================================================ */
   
.site-header{
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  min-height: 64px;
  background: var(--couleur-fond-blanc);
  backdrop-filter: blur(6px);
  border-bottom: 1.5px solid var(--couleur-bordure);
  transition: box-shadow 0.2s ease;
  height: 64px;
  animation: fadeInDown 0.6s ease both;
}
.site-header.is-scrolled{
  border-bottom: 1.5px solid var(--couleur-texte);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.header-b .header-inner{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding: 0;
  margin: 0 auto;
}

/* Logo flotant */

.header-b-logo{
  background: var(--couleur-texte);
  color: var(--couleur-fond);
  margin: 4px;
  padding: 20px 28px;
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 2rem;
  height: 124px;  
  transform: translateY(20%);
  animation: fadeIn 0.6s ease 0.15s both;
  transition: transform 0.4s ease, height 0.4s ease;  
}

.site-header.is-scrolled .header-b-logo{
  height: 96px;
  transform: translateY(0%);
}
/* Menu Burger  */ 
.header-b-burger{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--couleur-texte);
}
.header-b-burger span:not(:last-child){
  width: 16px;
  height: 2px;
  background: var(--couleur-texte);
  display: block;
}
.header-b-burger span:last-child{
  margin-top: 2px;
}

.header-b-menu{
  position: absolute;
  top: 100%;
  left: 0;
  width: 96px;
  max-height: 0;
  overflow: hidden;
  background: var(--couleur-fond);
  transition: max-height 0.3s ease;
  display: flex;
  flex-direction: column;
  z-index: 9;
}
.header-b-menu.open{
  max-height: 400px;
}
.header-b-menu a{
  display: block;
  padding: 18px 24px;
  text-decoration: none;
  color: var(--couleur-texte);
  font-family: "Fraunces", serif;
  font-size: 0.6rem;
}
.header-b-menu a:hover{
  background: (var(--couleur-texte-attenue));
}
/* Partie droite du header */

.header-b-right{
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 24px;
  padding-right: 20px;
  animation: fadeIn 0.6s ease 0.25s both;
}

.header-b-phone img {
  width: 24px;     
  height: 24px;
  vertical-align: middle;
  margin-right: 6px;
}

.header-b-phone{
  font-size: 0.85rem;
  color: var(--couleur-texte-attenue);
  display: none;
}
.header-b-find{
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--couleur-texte);
  text-decoration: none;
}
.header-b-cta{
  background: var(--couleur-texte);
  color: var(--couleur-fond);
  padding: 22px 24px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.header-b-cta:hover{ background: #000; }

@media (min-width: 640px){
  .header-b-phone{ display: inline; }
}
@media (max-width: 480px){
  .header-b-logo{
    padding: 16px 16px;
    font-size: 0.9rem;
  }
  .header-b-right{
    gap: 12px;
    padding-right: 12px;
  }
  .header-b-find{
    display: none;
  }
  .header-b-cta{
    padding: 14px 14px;
    font-size: 0.72rem;
  }
}

/* ============================================================
   5. HERO + BARRE DE RÉSERVATION
   ============================================================ */
.hero{
  height: 98vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(34,48,38,0.35), rgba(34,48,38,0.68)),
    url('exterieur-photo.webp') center/cover no-repeat;
  color: var(--texte-accent);
  text-align: center;
  padding: 90px 20px 70px;
  position: relative;
}
.hero h1{
  color: var(--texte-accent);
  font-size: clamp(2rem, 8vw, 2.8rem);
  animation: fadeIn 0.8s ease both;
}
.hero .tagline{
  max-width: 38ch;
  margin: 0 auto 26px;
  font-size: 1.05rem;
  opacity: 0.95;
  animation: fadeIn 0.8s ease 0.15s both;
}

/* Barre de réservation qui chevauche le bas de la photo hero */
.booking-bar{
  display: flex;
  align-items: center;    
  gap: 28px;        
  background: var(--couleur-fond-blanc);
  border-radius: 0;
  padding: 10px 40px;    
  margin-bottom: -50px;
  box-shadow: 0 12px 30px rgba(34,48,38,0.22);
  border: solid, var(--couleur-accent), 1.5px;
  animation: fadeIn 0.8s ease 0.3s both;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1100px;
}
.booking-field{
  display: flex;
  flex-direction: row;  
  align-items: center;
  gap: 8px;
  text-align: left;
}
.booking-field label{
  font-size: 0.75rem;
  color: var(--couleur-texte-attenue);
  font-weight: 600;
  white-space: nowrap;
}
.booking-field input,
.booking-field select{
  border: 1px solid var(--couleur-bordure);
  border-radius: 0;
  padding: 6px 10px;        
  font-size: 0.85rem;
  font-family: inherit;
  color: var(--couleur-texte);
  background: #fff;
}
.booking-submit{
  border-radius: 0;
  white-space: nowrap;
}
@media (max-width: 640px){
  .booking-bar{
    flex-direction: column;
    align-items: stretch;
    margin-bottom: -110px;
  }
  .booking-field{
    flex-direction: column;    
    align-items: stretch;
    gap: 4px;
  }
  .booking-field, .booking-submit{
    width: 100%;
  }
}

/* ============================================================
   6. ACTIVITÉS & ENVIRONS
   ============================================================ */
.section-infos{
  padding: 72px 0;
  height: 90vh;
}

.presentation-alternee{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 72px;
  animation: fadeInUp 0.8s ease both;
}
.presentation-alternee:last-child{ margin-bottom: 0; }

/* Décalage progressif de l'apparition, bloc par bloc */
.presentation-alternee:nth-of-type(2){ animation-delay: 0.15s; }
.presentation-alternee:nth-of-type(3){ animation-delay: 0.3s; }
.presentation-alternee:nth-of-type(4){ animation-delay: 0.45s; }

.presentation-alternee-inverse .presentation-alternee-image{ order: 2; }
.presentation-alternee-inverse .presentation-alternee-contenu{ order: 1; }

.presentation-alternee-image img{
  width: 100%;
  height: 320px;
  object-fit: cover;
  border: 0;
  display: block;
}

.presentation-alternee-contenu h2{
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 1.5rem;
  margin: 0 0 20px;
}
.presentation-alternee-contenu ul{
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
}
.presentation-alternee-contenu li{
  padding: 9px 0;
  border-bottom: 1px solid var(--couleur-bordure);
  font-size: 0.98rem;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.presentation-alternee-contenu li:last-child{ border-bottom: none; }

.presentation-alternee-detail{
  color: var(--couleur-texte-attenue);
  white-space: nowrap;
}

.presentation-alternee-colonnes{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.presentation-alternee-colonnes h3{
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--couleur-accent-fonce);
  margin: 0 0 6px;
}

.presentation-alternee-bouton{
  display: inline-block;
  margin-top: 20px;
  padding: 12px 22px;
  border: 1px solid var(--couleur-accent);
  color: var(--couleur-accent-fonce);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}
.presentation-alternee-bouton:hover{
  background: var(--couleur-accent);
  color: #fff;
}

@media (max-width: 760px){
  .presentation-alternee,
  .presentation-alternee-colonnes{ grid-template-columns: 1fr; gap: 24px; }
  .presentation-alternee-inverse .presentation-alternee-image{ order: 1; }
  .presentation-alternee-inverse .presentation-alternee-contenu{ order: 2; }
}

/* ============================================================
   8. INFORMATIONS & RÉSERVATION (fusionnées, deux colonnes)
   ============================================================ */
.info-reservation{
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: var(--couleur-fond-blanc);
  padding: 56px 0;
}
.info-grid{
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.info-col{
  background: transparent;
  border: 2px solid var(--couleur-accent);
  border-radius: 16px;
  padding: 40px;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.col-contact{
  border-color: var(--couleur-secondaire);
  transition-delay: 0.15s;
}
.col-contact .btn-primary{
  background: var(--couleur-secondaire);
  border-color: var(--couleur-secondaire);
}
.col-contact .btn-primary:hover{
  background: var(--couleur-secondaire-accent);
  border-color: var(--couleur-secondaire-accent);
}
.info-col.is-visible{
  opacity: 1;
}
.col-pratique p,
.col-contact p{
  color: var(--couleur-texte-attenue);
  max-width: 46ch;
  font-size: 1.05rem;
}

/* Tableau "Informations pratiques" */
.info-table{
  margin: 32px 0 0;
}
.info-row{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--couleur-bordure);
  font-size: 1.05rem;
}
.info-row:last-child{
  border-bottom: none;
}
.info-row dt{
  font-weight: 600;
  margin: 0;
}
.info-row dd{
  margin: 0;
  color: var(--couleur-texte-attenue);
  text-align: right;
}

.info-col h2{
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
}
.address{
  margin: 24px 0 24px;
  font-size: 1.05rem;
  line-height: 1.7;
}
.mention-pays{
  color: var(--couleur-secondaire);
  font-size: 1.15rem;
}
.contact-map{
  width: 100%;
  height: 220px;
  border: 0;
  border-radius: 4px;
  margin-bottom: 24px;
  filter: grayscale(0.15) contrast(1.05);
}
.cta-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.cta-text{
  margin: 0;
  font-weight: 600;
  color: var(--couleur-texte);
}
@media (max-width: 700px){
  .info-grid{
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .info-col{
    padding: 28px;
  }
}

/* ============================================================
   9. FOOTER
   ============================================================ */
.site-footer{
  background: var(--couleur-texte);
  color: var(--couleur-fond);
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.site-footer.is-visible{
  opacity: 1;
}
.footer-top{
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px 20px 20px;
  border-bottom: 1px solid rgba(250,246,236,0.14);
}
.footer-brand{
  margin: 0;
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 1.1rem;
}
.footer-links{
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-links a{
  color: var(--couleur-fond);
  opacity: 0.8;
  text-decoration: none;
  font-size: 0.85rem;
}
.footer-links a:hover{
  opacity: 1;
}
.footer-badges{
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  padding: 20px 20px;
  border-bottom: 1px solid rgba(250,246,236,0.14);
}
.footer-badges .badge{
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  opacity: 0.75;
}
.footer-bottom{
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 20px 24px;
  font-size: 0.8rem;
  opacity: 0.7;
}
@media (min-width: 600px){
  .footer-top{
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .footer-bottom{
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ============================================================
   10. ACCESSIBILITÉ — MOUVEMENT RÉDUIT
   ============================================================ */
@media (prefers-reduced-motion: reduce){
  .hero h1, .hero .tagline, .booking-bar,
  .site-header, .header-b-logo, .header-b-right,
  .presentation-alternee{
    animation: none;
  }
  .info-col, .site-footer{
    transition: none;
    opacity: 1;
  }
}