
:root {
  --brown:#3b2418;
  --brown2:#5a3620;
  --gold:#d7a436;
  --gold2:#f2c664;
  --cream:#f5efe7;
  --white:#ffffff;
  --text:#2a211c;
}
*{box-sizing:border-box}
img[src="/assets/master-capa.webp"],
img[src="/assets/master-capa-thumb.webp"],
img[src="/assets/master-luxo-capa.webp"],
img[src="/assets/master-luxo-capa-thumb.webp"]{transform:scaleX(-1)}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:linear-gradient(180deg,#f7f2eb 0%,#efe5da 100%);
  color:var(--text);
}
a{color:inherit;text-decoration:none}
.wrap{max-width:720px;margin:0 auto;min-height:100vh;background:#fff;box-shadow:0 0 60px rgba(50,30,20,.12)}

.hero{
  min-height:0;
  position:relative;
  padding:270px 24px 36px;
  background:var(--brown);
}
.hero::before{
  content:"";
  position:absolute;inset:0 0 auto;
  height:240px;
  background:url('/assets/entrada.jpg') center 44%/cover no-repeat;
}
.hero-content{position:relative;z-index:1;color:#fff;width:100%}
.hero-logo{display:block;width:220px;max-width:70%;height:auto;margin:0 0 24px}
.brand{font-family:Georgia,'Times New Roman',serif;font-size:clamp(40px,9vw,68px);line-height:1.08;margin:0 0 12px;font-weight:500}
.brand span{display:block;color:var(--gold2);font-size:.72em}
.subtitle{font-size:17px;line-height:1.5;max-width:520px;color:#f8f4ef;margin:0 0 24px}

.actions{display:grid;gap:12px}
.btn{
  display:flex;align-items:center;gap:14px;
  padding:16px 18px;border-radius:18px;
  background:rgba(255,255,255,.95);
  color:var(--brown);
  border:1px solid rgba(255,255,255,.7);
  box-shadow:0 10px 28px rgba(0,0,0,.18);
  transition:.18s ease;
  font-weight:700;
}
.btn>div:last-child{min-width:0;overflow-wrap:anywhere}
.btn:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(0,0,0,.22)}
.btn.primary{background:linear-gradient(135deg,var(--gold2),var(--gold));color:#2b1a10}
.icon{
  width:42px;height:42px;border-radius:50%;
  display:grid;place-items:center;
  background:var(--brown);color:var(--gold2);flex:0 0 42px;
}
.icon svg{width:22px;height:22px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.btn.primary .icon{background:#2d1b12;color:#fff}
.small{font-size:14px;font-weight:500;opacity:.72;display:block;margin-top:2px}
.scroll-cue{display:flex;width:40px;height:40px;margin-top:12px;align-items:center;justify-content:center;border-radius:50%;background:#fff;color:var(--brown);box-shadow:0 6px 18px rgba(0,0,0,.16)}
.scroll-cue svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.scroll-cue:focus-visible{outline:3px solid var(--gold2);outline-offset:3px}

.section{padding:34px 22px}
.section.dark{background:var(--brown);color:#fff}
.section h2{font-family:Georgia,'Times New Roman',serif;font-size:32px;font-weight:500;margin:0 0 10px}
.lead{font-size:16px;line-height:1.6;opacity:.82;margin:0 0 22px}

.grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.card{
  border-radius:20px;overflow:hidden;background:#fff;
  box-shadow:0 10px 26px rgba(49,29,17,.10);
}
.card-link{display:block;height:100%;color:inherit;text-decoration:none;transition:transform .18s ease}
.card-link:hover{transform:translateY(-3px)}
.card-link:focus-visible{outline:3px solid var(--gold);outline-offset:-3px;border-radius:20px}
.card img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;display:block;flex-shrink:0}
.card-body{padding:16px 18px 18px}
.card-title{font-family:Georgia,'Times New Roman',serif;font-size:23px;font-weight:500;color:var(--brown);margin:0 0 5px}
.card-meta{font-size:14px;line-height:1.5;color:#6f5a4a}

.features{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.feature{
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.06);
  border-radius:16px;padding:15px;
  font-size:16px;line-height:1.35;
}
.feature b{display:block;color:var(--gold2);margin-bottom:3px}

.gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.gallery img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:18px;display:block}

.cta{
  padding:34px 22px 42px;
  background:linear-gradient(180deg,#f7f2eb,#ede0d0);
  text-align:center;
}
.cta .btn{display:block;width:100%;max-width:1200px;margin:0 auto;padding:20px 12px;text-align:center;font-size:clamp(16px,3.8vw,19px);border-radius:14px}
.footer{padding:28px 22px;background:#24160f;color:#d7cabc;text-align:center;font-size:14px;line-height:1.6}
.footer a{display:block;color:#f0d7a1;margin-bottom:8px}
.footer a:hover{text-decoration:underline}

@media (max-width:520px){
  .hero{padding:183px 18px 16px}
  .hero::before{height:165px;background-position:center -5px}
  .hero-logo{width:120px;margin-bottom:12px}
  .grid{grid-template-columns:1fr}
  .grid{gap:10px}
  .brand{font-size:27px;line-height:1.12;margin-bottom:8px;overflow-wrap:anywhere}
  .brand span{font-size:.78em}
  .subtitle{font-size:16px;line-height:1.35;margin-bottom:14px}
  .actions{gap:8px}
  .actions .btn{padding:9px 12px;gap:10px;border-radius:14px}
  .actions .icon{width:36px;height:36px;flex-basis:36px}
  .actions .icon svg{width:20px;height:20px}
  .actions .small{font-size:13px}
  .small{overflow-wrap:anywhere}
  .section{padding:30px 18px}
}
@media (min-width:721px){
  .wrap{max-width:none;margin:0;box-shadow:none}
  .hero{min-height:100vh;padding:18px clamp(36px,7vw,120px);display:flex;align-items:center}
  .hero::before{inset:0 0 0 52%;height:auto;background-position:48% center}
  .hero-content{width:49%;max-width:650px;margin:0}
  .hero-logo{width:185px;margin-bottom:12px}
  .brand{font-size:clamp(42px,3.6vw,54px)}
  .scroll-cue{margin-top:8px}
  .subtitle{font-size:18px}
  .actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  .section{padding:72px clamp(36px,6vw,96px)}
  .section>h2,.section>.lead,.section>.grid,.section>.features,.section>.gallery{max-width:1200px;margin-left:auto;margin-right:auto}
  .section h2{font-size:clamp(36px,4vw,48px)}
  .section .lead{font-size:18px}
  .features{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
  .feature{padding:22px}
  .gallery{gap:16px}
  .cta{padding:72px 24px}
  .cta .btn{max-width:1200px}
}
@media (min-width:1024px){
  .grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
}

.card-link{display:flex;flex-direction:column}.card-body{display:flex;flex-direction:column;flex:1}.card-more{margin-top:18px;padding-top:12px;border-top:1px solid #eee2d5;color:var(--brown);font-weight:700;font-size:14px}.room-placeholder{aspect-ratio:4/3;flex-shrink:0;background:linear-gradient(145deg,#f5efe7,#e9dac8);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;text-align:center;color:var(--brown)}.room-placeholder span{font-family:Georgia,serif;font-size:30px}.room-placeholder small{margin-top:10px;color:#6f5a4a}.room-nav{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:18px 22px;background:var(--brown);color:#fff}.room-nav img{width:110px;height:auto}.room-nav a:last-child{font-size:14px}.room-page{max-width:1200px;margin:auto;padding:36px 22px 54px}.breadcrumb{font-size:14px;color:#796151}.room-heading{font-family:Georgia,serif;color:var(--brown);font-weight:500;font-size:clamp(36px,5vw,52px);margin:22px 0 12px}.room-intro{color:#6f5a4a;line-height:1.6;margin:0 0 26px}.room-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:32px;align-items:start}.room-photo{margin:0}.room-photo img{width:100%;height:auto;max-height:660px;object-fit:contain;display:block;border-radius:18px;background:#f5efe7}.room-photo figcaption{font-size:13px;color:#796151;padding:10px 0}.extra-photos{display:grid;gap:16px;margin-top:18px}.room-info{margin-top:30px}.room-info h2,.booking h2{font-family:Georgia,serif;color:var(--brown);font-weight:500;font-size:27px;margin:0 0 16px}.amenities{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.amenities li{padding:13px;border-radius:10px;background:#f5efe7;font-size:14px;line-height:1.4}.booking{background:#faf6f0;border:1px solid #e6d9c8;border-radius:20px;padding:24px;position:sticky;top:24px}.booking p{font-size:14px;line-height:1.6;color:#6f5a4a}.booking label{display:block;font-size:14px;font-weight:600;margin:16px 0 7px}.booking input,.booking select{font:inherit;width:100%;min-width:0;min-height:48px;border:1px solid #cebcaa;border-radius:10px;padding:12px;background:white;color:#2a211c}.booking button{width:100%;margin-top:22px;justify-content:center;text-align:center;cursor:pointer;font:inherit;font-weight:700;box-shadow:none}.booking input:focus-visible,.booking select:focus-visible,a:focus-visible,button:focus-visible{outline:3px solid var(--gold);outline-offset:3px}.booking .booking-note{font-size:12px;margin-bottom:0}.booking .form-error{color:#a12121;font-weight:600}.back-rooms{display:inline-block;margin-top:30px;font-size:14px;text-decoration:underline;color:var(--brown)}
@media(min-width:1024px){#acomodacoes .grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.room-layout{grid-template-columns:1fr;gap:26px}.booking{position:static}.room-page{padding:28px 18px 40px}.room-nav{padding:16px 18px}.room-nav img{width:95px}.amenities{grid-template-columns:1fr 1fr}.room-placeholder{aspect-ratio:4/3}}

.room-gallery #gallery-main{aspect-ratio:4/3;width:100%;height:auto;object-fit:contain;background:#f5efe7}.gallery-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:6px 0 16px}.gallery-controls button{border:1px solid #dbc9b5;border-radius:10px;background:#faf6f0;color:var(--brown);padding:12px;font:inherit;font-size:14px;cursor:pointer}.gallery-controls span{font-size:13px;color:#796151}.gallery-thumbs{display:flex;gap:10px;overflow-x:auto;padding:4px 3px 12px;scrollbar-width:thin}.gallery-thumb{flex:0 0 84px;border:2px solid transparent;border-radius:10px;padding:3px;background:#f5efe7;cursor:pointer}.gallery-thumb img{width:74px;height:62px;object-fit:cover;border-radius:6px;display:block}.gallery-thumb[aria-pressed="true"]{border-color:var(--brown)}.room-gallery [hidden]{display:none}

/* Allow nested grid items to shrink while thumbnails scroll inside the gallery. */
.room-layout > *, .extra-photos > *, .room-gallery, .room-photo,
.gallery-thumbs, .booking, .amenities > li {min-width:0}
.room-page, .room-gallery, .room-photo, .gallery-thumbs {max-width:100%}
.room-photo img {max-width:100%}
.room-intro, .room-photo figcaption, .amenities li, .booking p {overflow-wrap:anywhere}
@media (max-width:720px) {
  .room-layout {grid-template-columns:minmax(0,1fr)}
  .amenities {grid-template-columns:repeat(2,minmax(0,1fr))}
  .gallery-controls {display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px}
  .gallery-controls span {text-align:center}
  .gallery-controls button {padding:12px 10px}
}
@media (max-width:360px) {
  .gallery-controls {gap:6px}
  .gallery-controls button {font-size:13px;padding:12px 8px}
  .gallery-controls span {font-size:12px}
  .booking {padding:18px}
}
