/*
Theme Name: L’Escapade
Description: Site vitrine pour cinq suites romantiques et leur spa privatif.
Version: 1.3.2
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: lescapade
*/
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;1,400&display=swap');

:root{color-scheme:dark;--cream:#fbf2e8;--muted:#e0cfc0;--gold:#f1ce91;--line:#76563e;--serif:"Playfair Display",Georgia,serif;--sans:"DM Sans",system-ui,sans-serif}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--cream);background:radial-gradient(ellipse at 70% 48%,#35221f,#1a1210 68%);font:1rem/1.5 var(--sans)}
a{color:inherit;text-decoration:none}
a:hover{color:var(--gold)}
button,input,select{font:inherit}
button{cursor:pointer}
:focus-visible{outline:2px solid var(--gold);outline-offset:4px}
.wrap{width:min(90%,1240px);margin-inline:auto}
.hero{background:linear-gradient(90deg,#120b08ed 0%,#180d08ac 30%,#160d0920 70%),linear-gradient(180deg,#150c09aa,transparent 35%,#1a121062 85%,#1a1210),var(--lescapade-hero,url(hero.jpg)) center 56%/cover,#35221f}
header{min-height:112px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand{display:grid;justify-items:center;font:italic 2rem/1 var(--serif);white-space:nowrap}
.emblem{font:2.5rem/.9 Georgia,serif;color:var(--gold)}
.brand small{font:600 .7rem/1 var(--sans);letter-spacing:.2em;margin-top:.65rem}
nav{display:flex;gap:clamp(16px,3vw,45px);font-size:.95rem}
.button{display:inline-flex;align-items:center;justify-content:center;width:fit-content;padding:.7rem 1.35rem;border:1px solid #e3bb7e;border-radius:8px;background:linear-gradient(155deg,#f2d39a,#c9954e);color:#241407;font-weight:700;white-space:nowrap}
.button:hover{background:#f7daa5;color:#241407}
.outline{background:#71502b50;color:var(--cream)}
.intro{padding:clamp(52px,6vw,100px) 0 122px}
h1,h2,h3{font-family:var(--serif);font-weight:400;margin:0}
h1{font-size:clamp(3rem,6vw,5.4rem);line-height:1.03;letter-spacing:-.045em}
h1 em{color:var(--gold)}
.intro p{max-width:340px;font-size:1.25rem;margin:1.2rem 0 1.65rem}
.booking{position:relative;margin-top:-48px;display:grid;grid-template-columns:1.2fr repeat(3,1fr) auto;align-items:end;gap:14px;padding:20px 24px;border:1px solid #9a7754;border-radius:14px;background:#211713;box-shadow:0 14px 45px #0004}
.booking strong{align-self:center;font-size:1.08rem}
.booking label{display:grid;gap:4px;font-size:.875rem;color:var(--muted)}
input,select{min-width:0;width:100%;height:44px;border:1px solid #8e7667;border-radius:7px;background:#191210;color:var(--cream);padding:0 .6rem}
.booking button{min-height:44px}
#estimate{grid-column:1/-1;margin:0;color:var(--gold)}
.perks{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;text-align:center;padding:30px 0 40px}
.perks span,.perks strong,.perks small{display:block}
.perks span{font:2.4rem/1.15 Georgia,serif;color:var(--gold);margin-bottom:8px}
.perks strong{font-weight:500}
.perks small{color:var(--muted);font-size:.875rem}
h2{text-align:center;font-size:clamp(2rem,4vw,3.15rem)}
.divider{display:flex;align-items:center;justify-content:center;gap:9px;color:var(--gold);margin:6px 0 21px}
.divider::before,.divider::after{content:"";width:42px;height:1px;background:var(--gold)}
.suites{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
article{overflow:hidden;border:1px solid var(--line);border-radius:12px;background:linear-gradient(145deg,#382722,#1d1410)}
.suite-photo{height:clamp(145px,17vw,245px);background:url(suites.jpg) no-repeat;background-size:300% auto;background-color:#382722}
.evasion{background-position:0 center}
.sensation{background-position:50% center}
.prestige{background-position:100% center}
.harmonie,.intense{background-image:url(suites-harmonie-intense.jpg);background-size:200% auto}
.harmonie{background-position:left center}
.intense{background-position:right center}
@media(min-width:621px){
  .suites{grid-template-columns:repeat(6,1fr)}
  .suites article{grid-column:span 2}
  .suites article:nth-child(4){grid-column:2/span 2}
}
.suite-copy{padding:13px 18px 18px;display:flow-root}
h3{font-size:1.65rem}
.suite-copy p{margin:4px 0 13px;color:var(--muted);font-size:.9rem}
.rate{color:var(--gold);margin-bottom:9px}
.rate b{font:500 1.4rem var(--serif)}
.details{float:right;font-size:.9rem;padding:.48rem 1rem}
.gift{text-align:center;margin:65px 0;padding:38px 20px;border-block:1px solid var(--line)}
.gift p{color:var(--muted);max-width:530px;margin:12px auto 20px}
footer{padding:0 0 32px;color:var(--muted);font-size:.9rem}
.footer-brand{color:var(--cream);font:italic 1.8rem var(--serif)}
footer a{text-decoration:underline}
dialog{width:min(90%,490px);border:1px solid var(--line);border-radius:14px;background:#271a15;color:var(--cream);padding:30px}
dialog::backdrop{background:#0d0806cc}
.close{float:right;border:0;background:transparent;color:var(--cream);font-size:1.5rem}
@media(max-width:850px){.booking{grid-template-columns:repeat(3,1fr)}.booking strong{grid-column:1/-1}.booking button{grid-column:1/-1}.suites{gap:12px}}
@media(max-width:620px){header{flex-wrap:wrap;padding:18px 0;min-height:0}.brand{font-size:1.55rem}nav{order:3;width:100%;justify-content:space-between;gap:7px;font-size:.875rem}.hero{background-position:center,center,63% center}.intro{padding:56px 0 100px}.booking{grid-template-columns:1fr 1fr;padding:16px}.booking label:last-of-type{grid-column:1/-1}.booking button{width:100%}.perks{grid-template-columns:1fr 1fr}.suites{grid-template-columns:1fr}.suite-photo{height:230px}.gift{margin:40px 0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}


.suite-photo-custom{background-image:none}
.suite-photo-custom img{display:block;width:100%;height:100%;object-fit:cover}
.hero{background-image:linear-gradient(90deg,#120b08f2 0%,#180d08a8 35%,#160d0910 73%),linear-gradient(180deg,#150c0952,transparent 35%,#1a12104d 80%,#1a1210),var(--lescapade-hero,url(photos/chambre.jpg));background-position:center,center,center 61%}
.brand-logo{display:block;width:clamp(160px,19vw,245px);flex-shrink:0;padding:9px 12px;background:#fbf2e8;border-radius:8px}
.brand-logo img{display:block;width:100%;height:auto}
.gallery-link{display:inline-block;margin-left:1rem;text-decoration:underline;text-underline-offset:.25em}
.suite-photo{position:relative}
.photo-caption{position:absolute;right:9px;bottom:9px;padding:.2rem .55rem;border-radius:4px;background:#1a1210e8;color:var(--cream);font-size:.78rem}
.property-gallery{margin-top:65px}
.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.gallery-grid a{display:block;overflow:hidden;border:1px solid var(--line);border-radius:10px;aspect-ratio:4/3}
.gallery-grid img{display:block;width:100%;height:100%;object-fit:cover}
.social-links{display:flex;justify-content:flex-start;flex-wrap:wrap;gap:10px;margin:1rem 0}
.social-links a{text-decoration:none}
@media(max-width:620px){
  .hero{background-position:center,center,56% 60%}
  .brand-logo{width:clamp(145px,49vw,205px)}
  .gallery-link{display:block;width:fit-content;margin:1rem 0 0}
  .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .property-gallery{margin-top:40px}
}

