@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Lato:wght@400;500;600;700&family=Parisienne&display=swap');

:root{
  --rose-poudre:#ead4d0;
  --rose-clair:#f4e8e4;
  --rose-moyen:#d9b8b1;
  --creme:#fbf6ed;
  --ivoire:#fffaf3;
  --sauge:#89917d;
  --sauge-clair:#e7e9df;
  --encre:#51433e;
  --brun-doux:#80665e;
  --trait:#d9c5bd;
  --ombre:0 14px 38px rgba(83,62,54,.09);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:88px}
body{
  margin:0;
  color:var(--encre);
  background:var(--page-bg,var(--rose-poudre));
  font:16px/1.8 var(--font-body,'Lato'),sans-serif;
}
a{color:inherit}
header{
  padding:17px 7%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:28px;
  position:sticky;
  top:0;
  z-index:10;
  background:rgba(251,246,237,.96);
  border-bottom:1px solid rgba(128,102,94,.14);
  box-shadow:0 3px 18px rgba(83,62,54,.04);
  backdrop-filter:blur(8px);
}
header>a{
  color:var(--encre);
  font:600 1.85rem/1.1 var(--font-heading,'Cormorant Garamond'),serif;
  text-decoration:none;
  white-space:nowrap;
}
header i{color:#a77e76;font-weight:600}
nav{display:flex;gap:clamp(14px,2.2vw,30px);align-items:center}
nav a{
  color:var(--encre);
  font-size:.92rem;
  text-decoration:none;
  transition:color .2s ease;
}
nav a:hover{color:#a16f68}
.hero{
  display:grid;
  grid-template-columns:1fr 1fr;
  min-height:590px;
  background:var(--hero-bg,var(--rose-clair));
}
.hero>div{
  padding:clamp(58px,7vw,100px) 11%;
  align-self:center;
}
.hero small,.center>small,.room small{
  display:inline-block;
  color:var(--brun-doux);
  letter-spacing:.13em;
  text-transform:uppercase;
  font-size:.72rem;
  font-weight:700;
}
.hero h1{
  max-width:650px;
  margin:22px 0;
  color:var(--heading-color,#4d403b);
  font:600 clamp(2.8rem,4.6vw,4.7rem)/.99 var(--font-heading,'Cormorant Garamond'),serif;
  letter-spacing:-.025em;
}
.hero p{max-width:540px;font-size:1.06rem;line-height:1.9}
.hero figure{
  margin:0;
  position:relative;
  min-height:500px;
  background:linear-gradient(145deg,#d7bdb5,#c6b6a8);
  overflow:hidden;
}
.hero img,.room>img{
  width:100%;
  height:100%;
  object-fit:cover;
  position:absolute;
  inset:0;
}
.hero img[src=""],.room>img[src=""]{display:none}
.hero figcaption{
  position:absolute;
  bottom:28px;
  right:28px;
  max-width:270px;
  padding:20px 24px;
  color:var(--encre);
  background:rgba(251,246,237,.95);
  box-shadow:var(--ombre);
  font:italic 1.45rem/1.25 var(--font-heading,'Cormorant Garamond'),serif;
}
.btn{
  display:inline-block;
  margin-top:18px;
  padding:11px 25px;
  border-radius:2px;
  background:var(--button-bg,var(--sauge));
  color:var(--button-text,#fff);
  text-decoration:none;
  letter-spacing:.02em;
  transition:background .2s,transform .2s;
}
.btn:hover{background:#707b66;transform:translateY(-2px)}
.center{
  text-align:center;
  padding:clamp(66px,8vw,100px) 9%;
  background:var(--section-bg,var(--creme));
}
.center h2,.room h2{
  margin:14px 0 18px;
  color:var(--heading-color,#51413b);
  font:600 clamp(2.35rem,3.6vw,3.6rem)/1.08 var(--font-heading,'Cormorant Garamond'),serif;
}
.center h3{
  color:#98756c;
  font:600 1.55rem/1.25 var(--font-heading,'Cormorant Garamond'),serif;
}
.center>p{max-width:810px;margin:22px auto}
.cols{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:26px;
  max-width:1080px;
  margin:48px auto;
  text-align:left;
}
.cols article{
  padding:25px 25px 22px;
  background:var(--ivoire);
  border-top:3px solid var(--sauge);
  box-shadow:var(--ombre);
}
.cols h3{
  margin:0 0 9px;
  color:#735b53;
  font:600 1.55rem/1.15 var(--font-heading,'Cormorant Garamond'),serif;
}
.cols p{margin:0}
.script,blockquote{
  max-width:760px;
  color:#97746c;
  font:italic 1.6rem/1.45 var(--font-accent,'Cormorant Garamond'),serif;
  margin:38px auto;
}
.center aside{
  max-width:920px;
  margin:48px auto 0;
  padding:35px clamp(22px,5vw,55px);
  background:var(--rose-clair);
  border:1px solid rgba(128,102,94,.12);
}
.center aside blockquote{margin:20px auto}
.rose{background:var(--alt-bg,var(--rose-clair))}
.room{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8%;
  align-items:center;
  padding:clamp(60px,8vw,95px) 9%;
  background:var(--room-bg,var(--sauge-clair));
}
.room>img{
  position:relative;
  height:450px;
  box-shadow:var(--ombre);
  background:#d8c9bd;
}
.room h2{margin-top:12px}
.room li{padding:6px 0}
.room ul{padding-left:22px}
#transparency_title{max-width:850px;margin-left:auto;margin-right:auto}
#sejour .cols article{background:var(--rose-clair)}
#sejour aside{
  background:var(--sauge-clair);
  max-width:920px;
  margin:50px auto 0;
  padding:38px clamp(22px,5vw,55px);
}
#sejour aside h2{font-size:2.7rem}
#price_week,#price_weekend{
  display:inline-block;
  margin:12px 8px 0;
  padding:11px 17px;
  background:var(--ivoire);
  border-left:3px solid var(--sauge);
  font-weight:700;
}
#reservation{background:var(--rose-poudre)}
#email_link,#phone_link{color:#80665e;text-decoration:underline;text-underline-offset:3px}
footer{
  text-align:center;
  padding:30px 18px;
  background:#d5b9b2;
  color:#594842;
  font:600 1.25rem var(--font-heading,'Cormorant Garamond'),serif;
}
@media(max-width:800px){
  header{padding:15px 6%;display:block}
  header>a{font-size:1.7rem}
  nav{gap:12px 18px;flex-wrap:wrap;margin-top:13px}
  nav a{font-size:.86rem}
  .hero,.room{grid-template-columns:1fr}
  .hero>div{padding:58px 8%}
  .hero figure{min-height:360px}
  .hero h1{font-size:clamp(2.7rem,10vw,4rem)}
  .center{padding:65px 7%}
  .cols{grid-template-columns:1fr;gap:17px;margin:35px auto}
  .room{gap:35px;padding:60px 7%}
  .room>img{height:340px}
}
@media(max-width:420px){
  nav{gap:9px 13px}
  nav a{font-size:.8rem}
  .hero figure{min-height:300px}
  #price_week,#price_weekend{display:block;margin:12px 0}
}

.photo-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.1rem;margin:2.2rem auto;max-width:1050px}
.photo-gallery figure{margin:0;background:#f7f0e7;padding:.65rem;box-shadow:0 5px 18px #65452a18}
.photo-gallery img{display:block;width:100%;height:230px;object-fit:cover}
.photo-gallery figcaption{font-family:Georgia,serif;color:#786052;font-style:italic;padding:.65rem .2rem .2rem}
@media(max-width:700px){.photo-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}.photo-gallery img{height:165px}}

/* Sections ajoutées depuis l'administration */
.custom-section{padding:clamp(55px,7vw,88px) 9%;background:var(--section-bg,var(--creme));}
.custom-section.alt{background:var(--alt-bg,var(--rose-clair));}
.custom-section h2{margin:10px 0 18px;color:var(--heading-color,#51413b);font:600 clamp(2.2rem,3.5vw,3.4rem)/1.08 var(--font-heading,'Cormorant Garamond'),serif;}
.custom-section p{max-width:850px;margin:15px auto;}
.custom-section.text-block{text-align:center;}
.custom-section.image-block img{display:block;max-width:min(850px,100%);max-height:560px;object-fit:cover;margin:25px auto;box-shadow:var(--ombre);}
.custom-section.split-block{display:grid;grid-template-columns:1fr 1fr;gap:5%;align-items:center;}
.custom-section.split-block img{width:100%;max-height:480px;object-fit:cover;box-shadow:var(--ombre);}
.custom-section .eyebrow{color:var(--brun-doux);letter-spacing:.13em;text-transform:uppercase;font-size:.72rem;font-weight:700;}
@media(max-width:700px){.custom-section{padding:55px 7%;}.custom-section.split-block{grid-template-columns:1fr;gap:24px;}}


/* Personnalisation de la mise en page depuis l'administration */
.hero.layout-image-left figure{order:-1}
.hero.layout-image-top{grid-template-columns:1fr;}
.hero.layout-image-top figure{grid-row:1;min-height:390px}
.hero.layout-image-top>div{text-align:center;padding:48px 9%}
.hero.layout-image-top>div p,.hero.layout-image-top h1{margin-left:auto;margin-right:auto}
.room.layout-image-right>img{order:2}
.room.layout-image-top{grid-template-columns:1fr;text-align:center}
.room.layout-image-top>img{order:-1;max-width:850px;width:100%;margin:0 auto}
.center.layout-left{text-align:left}
.center.layout-left>p{margin-left:0;margin-right:0}
.center.layout-left .cols{margin-left:0;margin-right:0}
.center.layout-card{max-width:1120px;margin:0 auto}
.center.layout-card>h2,.center.layout-card>h3,.center.layout-card>p,.center.layout-card>aside{max-width:900px;margin-left:auto;margin-right:auto}
.center.layout-card>aside{box-shadow:var(--ombre);border-radius:3px}
.photo-gallery.gallery-grid-2{grid-template-columns:repeat(2,minmax(0,1fr));max-width:900px}
.photo-gallery.gallery-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.photo-gallery.gallery-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.photo-gallery.gallery-masonry{columns:3;display:block;column-gap:1rem}
.photo-gallery.gallery-masonry figure{break-inside:avoid;margin:0 0 1rem}
.photo-gallery.gallery-masonry img{height:auto;max-height:380px}
.custom-section.sage{background:var(--room-bg,var(--sauge-clair))}
.custom-section.align-left{text-align:left}
.custom-section.align-left p{margin-left:0;margin-right:0}
.custom-section.split-block.image-left .custom-content{order:2}
.custom-section.split-block.image-left img{order:1}
.custom-section.callout-block{max-width:1050px;margin:35px auto;padding:38px clamp(24px,5vw,60px);background:var(--alt-bg,var(--rose-clair));border:1px solid var(--trait);box-shadow:var(--ombre);text-align:center}
.custom-section.callout-block h3{font:600 clamp(1.7rem,3vw,2.4rem)/1.15 var(--font-heading,'Cormorant Garamond'),serif;color:var(--heading-color,#51413b)}
.custom-section.callout-block blockquote{font:italic 1.45rem/1.5 var(--font-accent,'Cormorant Garamond'),serif}
@media(max-width:800px){
 .hero.layout-image-left figure{order:0}
 .room.layout-image-right>img{order:0}
 .photo-gallery.gallery-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
 .photo-gallery.gallery-masonry{columns:2}
}
@media(max-width:700px){.custom-section.split-block.image-left .custom-content,.custom-section.split-block.image-left img{order:initial}}
.center.layout-card{border:1px solid var(--trait);border-radius:3px;box-shadow:var(--ombre)}

/* Cadre photo : permet le zoom sans déformer l'image */
.hero figure,.room .photo-frame,.photo-gallery figure{overflow:hidden}
.hero figure img,.room>img,.photo-gallery img,.custom-image-frame img{transition:transform .2s ease;}
.room>img{object-fit:cover;}
.photo-gallery figure{overflow:hidden}
.photo-gallery img{object-fit:cover}
.custom-image-frame{width:100%;max-width:100%;overflow:hidden;box-shadow:var(--ombre);margin:25px auto}
.custom-image-frame img{display:block;width:100%;height:100%;object-fit:cover;}
.custom-section.image-block .custom-image-frame{max-width:min(850px,100%)}
.custom-section.split-block .custom-image-frame{width:100%;margin:0}

.room-image-frame{width:100%;height:450px;position:relative;overflow:hidden;box-shadow:var(--ombre);background:#d8c9bd}
.room-image-frame>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;margin:0}
