:root{
  --wine-900:#4a0f12;
  --wine-800:#521013;
  --wine-700:#5f1316;
  --wine-600:#6d1518;
  --wine-500:#7a1c1f;
  --wine-400:#8a1c20;
  --wine-300:#bb463a;
  --cream-100:#f3ead2;
  --cream-200:#efe3c6;
  --cream-50:#faf5e9;
  --ink:#2f1c1a;
  --ink-soft:#3a1416;
  --text-muted:#6b5a50;
  --text-muteder:#76604f;
  --gold-100:#e6c88c;
  --gold-200:#e9cf94;
  --gold-300:#c79a5a;
  --gold-400:#b4863f;
  --gold-500:#8f6a2d;
  --border-wine-10:rgba(109,21,24,.1);
  --border-wine-12:rgba(109,21,24,.12);
  --border-wine-20:rgba(109,21,24,.2);
  --border-gold-28:rgba(230,200,140,.28);
  --border-gold-35:rgba(230,200,140,.35);
  --border-gold-55:rgba(230,200,140,.55);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--cream-100);
  color:var(--ink);
  font-family:'Jost',system-ui,sans-serif;
  -webkit-font-smoothing:antialiased;
}
::selection{background:var(--wine-600);color:var(--cream-100)}
a{color:inherit;text-decoration:none}
img{max-width:100%}

.serif{font-family:'Cormorant Garamond',serif}

@keyframes floatUp{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
.reveal{opacity:0}
.reveal.is-visible{opacity:1;animation:floatUp .7s ease var(--reveal-delay,0ms) backwards}
@media (prefers-reduced-motion:reduce){.reveal{opacity:1}.reveal.is-visible{animation:none}}

@keyframes shimmer{0%{background-position:0% 50%}100%{background-position:200% 50%}}

.gold-btn{
  display:inline-flex;align-items:center;gap:10px;
  background:linear-gradient(120deg,var(--gold-400),var(--gold-200),var(--gold-400));
  background-size:200% auto;
  color:var(--wine-900);font-weight:600;letter-spacing:.04em;
  padding:15px 30px;border-radius:999px;
  box-shadow:0 10px 30px rgba(0,0,0,.3);
  animation:shimmer 6s linear infinite;
  border:none;cursor:pointer;font-size:15px;font-family:inherit;
}
.gold-btn{transition:transform .25s,box-shadow .25s}
.gold-btn:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(0,0,0,.35)}
.gold-btn.small{padding:10px 20px;font-size:13px;box-shadow:0 6px 18px rgba(0,0,0,.25)}

.outline-btn{
  display:inline-flex;align-items:center;gap:10px;
  border:1px solid var(--border-gold-55);
  color:var(--cream-100);font-weight:400;letter-spacing:.04em;
  padding:15px 30px;border-radius:999px;
  transition:background .25s,transform .25s;background:transparent;
}
.outline-btn:hover{background:rgba(230,200,140,.1);transform:translateY(-2px)}

/* ============ NAV ============ */
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(78,14,17,.97);
  border-bottom:1px solid rgba(230,200,140,.22);
}
.site-header nav{
  max-width:1240px;margin:0 auto;padding:14px 28px;
  display:flex;align-items:center;justify-content:space-between;gap:24px;
}
.brand{padding:6px 0}
.brand img{height:44px;width:auto;display:block}
.nav-right{display:flex;align-items:center;gap:30px}
.nav-links{display:flex;gap:26px;font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:var(--gold-100)}
.nav-links a{padding:4px 0;border-bottom:1px solid transparent;transition:border-color .25s}
.nav-links a:hover,.nav-links a.is-active{border-color:var(--gold-100)}
.nav-links a.is-active{color:#fff}

.nav-toggle{display:none;background:none;border:none;padding:6px;cursor:pointer}
.nav-toggle span{display:block;width:24px;height:2px;background:var(--gold-100);margin:5px 0;transition:transform .25s,opacity .25s}

/* ============ HERO ============ */
.hero{
  position:relative;
  background:radial-gradient(120% 120% at 80% 0%,var(--wine-500) 0%,var(--wine-700) 45%,var(--wine-900) 100%);
  color:#f6ecd4;overflow:hidden;
}
.hero .monogram-bg{position:absolute;right:-60px;top:-40px;width:420px;opacity:.07;pointer-events:none}
.hero-inner{
  position:relative;z-index:1;max-width:1240px;margin:0 auto;padding:0 28px;
  display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center;min-height:88vh;
}
.hero-copy{padding:64px 0}
.eyebrow{
  display:inline-flex;align-items:center;gap:10px;font-size:13px;font-weight:500;letter-spacing:.28em;
  text-transform:uppercase;color:var(--gold-100);margin-bottom:26px;
}
.eyebrow .rule{width:30px;height:1px;background:var(--gold-300)}
.hero-copy h1{
  font-family:'Cormorant Garamond',serif;font-weight:500;font-size:clamp(44px,6vw,82px);
  line-height:1.02;margin:0 0 24px;letter-spacing:-.01em;
}
.hero-copy h1 em{
  font-style:italic;background:linear-gradient(120deg,#d9ae5e,#f4e0ab,var(--gold-300));
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.hero-copy p{max-width:480px;font-size:18px;line-height:1.65;color:#e8d6b8;font-weight:300;margin:0 0 38px}
.hero-ctas{display:flex;flex-wrap:wrap;gap:14px}
.hero-media{position:relative;height:78vh;min-height:520px}
.hero-media .frame{
  position:absolute;inset:0;border-radius:220px 220px 22px 22px;overflow:hidden;
  box-shadow:0 30px 70px rgba(0,0,0,.4);border:1px solid rgba(230,200,140,.35);
}
.hero-slideshow{position:absolute;inset:0}
.hero-slideshow img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;
  opacity:0;animation-duration:25s;animation-iteration-count:infinite;animation-timing-function:linear;
}
/* Each slide gets its own keyframes (rather than one shared rule + delay) so the
   incoming image's fade-in overlaps the outgoing image's fade-out — with a shared
   keyframe+delay, the outgoing slide hit 0 before the next started rising, showing
   the hero's red background through the gap. */
.hero-slideshow img:nth-child(1){animation-name:heroFade1}
.hero-slideshow img:nth-child(2){animation-name:heroFade2}
.hero-slideshow img:nth-child(3){animation-name:heroFade3}
.hero-slideshow img:nth-child(4){animation-name:heroFade4}
.hero-slideshow img:nth-child(5){animation-name:heroFade5}
@keyframes heroFade1{0%{opacity:1}18%{opacity:1}22%{opacity:0}98%{opacity:0}100%{opacity:1}}
@keyframes heroFade2{0%{opacity:0}18%{opacity:0}22%{opacity:1}38%{opacity:1}42%{opacity:0}100%{opacity:0}}
@keyframes heroFade3{0%{opacity:0}38%{opacity:0}42%{opacity:1}58%{opacity:1}62%{opacity:0}100%{opacity:0}}
@keyframes heroFade4{0%{opacity:0}58%{opacity:0}62%{opacity:1}78%{opacity:1}82%{opacity:0}100%{opacity:0}}
@keyframes heroFade5{0%{opacity:0}78%{opacity:0}82%{opacity:1}98%{opacity:1}100%{opacity:0}}
@media (prefers-reduced-motion:reduce){
  .hero-slideshow img{animation:none;opacity:0}
  .hero-slideshow img:first-child{opacity:1}
}
.hero-fade{position:absolute;bottom:0;left:0;right:0;height:60px;background:linear-gradient(to bottom,transparent,var(--cream-100))}

/* ============ SECTION SHELLS ============ */
.section{padding:88px 0}
.section-inner{max-width:1240px;margin:0 auto;padding:0 28px}
.section-narrow{max-width:1160px;margin:0 auto;padding:0 28px}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:44px}
.kicker{font-size:13px;font-weight:500;letter-spacing:.26em;text-transform:uppercase;color:#a63a2f;margin-bottom:18px}
.kicker.on-wine{color:var(--gold-100)}
.section-head h2, .section-center h2{
  font-family:'Cormorant Garamond',serif;font-weight:500;font-size:clamp(34px,4.4vw,54px);
  margin:0;line-height:1.05;color:var(--ink-soft);
}
.section-link{font-size:14px;letter-spacing:.04em;color:var(--wine-600);border-bottom:1px solid var(--gold-300);padding-bottom:3px}
.section-center{text-align:center;margin-bottom:56px}
.section-center .kicker{margin-bottom:18px}

/* ============ SEARCH WIDGET ============ */
.search-widget-wrap{position:relative;z-index:5;padding:0 28px;margin-top:-46px}
.search-widget{
  max-width:1080px;margin:0 auto;background:var(--cream-50);
  border:1px solid rgba(199,154,90,.4);border-radius:20px;
  box-shadow:0 20px 50px rgba(74,15,18,.22);
  padding:22px 26px;
  display:flex;align-items:flex-end;gap:18px;flex-wrap:wrap;
}
.sw-field{display:flex;flex-direction:column;gap:6px;flex:1;min-width:140px}
.sw-field label{font-size:12px;font-weight:500;letter-spacing:.12em;text-transform:uppercase;color:var(--gold-500)}
.sw-field input[type="date"]{
  border:1px solid var(--border-wine-12);border-radius:10px;padding:10px 12px;
  font-family:inherit;font-size:14px;color:var(--ink-soft);background:#fff;
}
.sw-guests .stepper{
  display:flex;align-items:center;gap:14px;border:1px solid var(--border-wine-12);
  border-radius:10px;padding:6px 14px;background:#fff;width:fit-content;
}
.stepper-btn{
  width:26px;height:26px;border-radius:999px;border:1px solid var(--wine-600);
  background:transparent;color:var(--wine-600);font-size:16px;line-height:1;
  cursor:pointer;display:flex;align-items:center;justify-content:center;
  font-family:inherit;transition:background .2s,color .2s;
}
.stepper-btn:hover{background:var(--wine-600);color:#fff}
.stepper span{min-width:22px;text-align:center;font-family:'Cormorant Garamond',serif;font-size:19px;color:var(--ink-soft)}
.sw-submit{white-space:nowrap;flex-shrink:0}
@media (max-width:720px){
  .search-widget{flex-direction:column;align-items:stretch}
  .sw-submit{width:100%;justify-content:center}
  .search-widget-wrap{margin-top:-30px}
}

/* ============ TRUST STRIP ============ */
.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;padding:44px 0}
.trust-card{
  display:flex;flex-direction:column;gap:10px;padding:22px 20px;
  background:var(--cream-50);border:1px solid var(--border-wine-10);border-radius:16px;
}
.trust-card{transition:transform .3s,box-shadow .3s}
.trust-card:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(74,15,18,.1)}
.trust-card .tag{font-family:'Cormorant Garamond',serif;font-size:15px;letter-spacing:.2em;text-transform:uppercase;color:var(--gold-500)}
.trust-card .title{font-family:'Cormorant Garamond',serif;font-size:23px;color:var(--ink);line-height:1.15}
.trust-card .desc{font-size:14px;line-height:1.55;color:var(--text-muted);font-weight:300}

/* ============ CASAS — booking-style cards ============ */
.casas-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}

.casa-card{
  background:var(--cream-50);border:1px solid var(--border-wine-12);border-radius:20px;
  overflow:hidden;display:flex;flex-direction:column;
  box-shadow:0 2px 10px rgba(74,15,18,.05);
  transition:transform .3s,box-shadow .3s;
}
.casa-card:hover{transform:translateY(-6px);box-shadow:0 22px 44px rgba(74,15,18,.16)}
.casa-card.is-filtered-out{display:none}

.casa-media{position:relative;height:220px;background:repeating-linear-gradient(135deg,#e9dcbf 0 15px,#e1d2ae 15px 30px);overflow:hidden}
.casa-media img{width:100%;height:100%;object-fit:cover;display:block}
.casa-slideshow{position:absolute;inset:0}
.casa-slideshow img{position:absolute;inset:0;opacity:0;transition:opacity .7s ease}
.casa-slideshow img.is-active{opacity:1}
.casa-media .placeholder{
  position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:8px;color:var(--wine-500);
}
.casa-media .placeholder span{
  font-family:ui-monospace,Menlo,monospace;font-size:11px;background:rgba(122,28,31,.08);
  padding:5px 10px;border-radius:6px;
}
.casa-body{padding:22px 24px 24px;display:flex;flex-direction:column;flex:1}
.casa-title-row{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:4px}
.casa-title-row h3{font-family:'Cormorant Garamond',serif;font-weight:600;font-size:26px;margin:0;color:var(--ink-soft)}
.casa-location{
  display:flex;align-items:center;gap:5px;font-size:13px;color:var(--text-muteder);
  margin-bottom:14px;
}
.casa-location svg{width:13px;height:13px;flex-shrink:0}

.casa-facts{display:flex;flex-wrap:wrap;gap:14px;margin-bottom:14px;padding-bottom:16px;border-bottom:1px dashed var(--border-wine-12)}
.casa-fact{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--text-muted)}
.casa-fact svg{width:15px;height:15px;color:var(--wine-500);flex-shrink:0}

.casa-desc{font-size:14px;line-height:1.55;color:var(--text-muted);font-weight:300;margin:0 0 16px;flex:1}
.casa-desc{max-height:116px;overflow-y:auto;padding-right:8px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:rgba(122,28,31,.3) transparent}
.casa-desc::-webkit-scrollbar{width:5px}
.casa-desc::-webkit-scrollbar-thumb{background:rgba(122,28,31,.3);border-radius:4px}

.casa-amenities{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}
.pill{
  font-size:12.5px;letter-spacing:.02em;color:var(--wine-600);background:rgba(199,154,90,.16);
  border:1px solid rgba(199,154,90,.35);padding:5px 11px;border-radius:999px;
}

.casa-footer{
  margin-top:auto;display:flex;align-items:center;justify-content:flex-end;gap:12px;
  padding-top:16px;border-top:1px solid var(--border-wine-10);
}
.casa-cta{
  font-size:13px;letter-spacing:.04em;color:#fff;background:var(--wine-600);
  padding:10px 18px;border-radius:999px;transition:background .25s,transform .25s;
  display:inline-flex;align-items:center;gap:6px;
}
.casa-cta:hover{background:var(--wine-400);transform:translateY(-1px)}
.casa-cta svg{width:14px;height:14px}

.casas-loading{grid-column:1/-1;text-align:center;color:var(--text-muted);font-size:14px;padding:40px 0}
.pill.pill-todo{border-style:dashed;color:var(--text-muteder);background:transparent}
.casa-fact.is-todo{color:var(--text-muteder);font-style:italic}

/* ============ GESTAO ============ */
.gestao{
  background:radial-gradient(120% 120% at 15% 0%,var(--wine-500),var(--wine-800));
  color:#f6ecd4;padding:88px 0;
}
.gestao .section-center h2{color:#f6ecd4}
.gestao-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.gestao-card{background:rgba(243,234,210,.06);border:1px solid var(--border-gold-28);border-radius:22px;padding:40px;transition:transform .3s,background .3s,border-color .3s}
.gestao-card:hover{transform:translateY(-5px);background:rgba(243,234,210,.09);border-color:var(--border-gold-55)}
.gestao-icon{
  width:52px;height:52px;border-radius:14px;background:rgba(230,200,140,.14);
  display:flex;align-items:center;justify-content:center;margin-bottom:22px;
}
.gestao-card h3{font-family:'Cormorant Garamond',serif;font-weight:600;font-size:30px;margin:0 0 12px}
.gestao-card p{font-size:16px;line-height:1.65;color:#e8d6b8;font-weight:300;margin:0 0 24px}
.gestao-list{display:flex;flex-direction:column;gap:12px}
.gestao-list div{display:flex;align-items:center;gap:12px;font-size:15px;color:#f0e2c6}
.gestao-list span{color:var(--gold-100)}
.gestao-card .gold-btn,.gestao-card .outline-btn{margin-top:28px}

/* ============ SOBRE ============ */
.sobre{background:var(--cream-100);padding:24px 0 88px}
.sobre-grid{max-width:1160px;margin:0 auto;padding:0 28px;display:grid;grid-template-columns:.85fr 1.15fr;gap:56px;align-items:center}
.sobre-photo{position:relative}
.sobre-photo .frame{
  aspect-ratio:4/5;border-radius:200px 200px 20px 20px;overflow:hidden;
  border:2px solid var(--gold-300);background:#e6d6b4;box-shadow:0 24px 50px rgba(74,15,18,.15);
}
.sobre-photo .frame img{width:100%;height:100%;object-fit:cover;object-position:center 20%;display:block}
.sobre-photo .monogram{position:absolute;bottom:20px;right:20px;width:120px;height:auto;filter:drop-shadow(0 0 6px rgba(250,243,226,.95)) drop-shadow(0 0 14px rgba(250,243,226,.8))}
.sobre-copy h2{
  font-family:'Cormorant Garamond',serif;font-weight:500;font-size:clamp(30px,3.8vw,46px);
  line-height:1.12;margin:0 0 24px;color:var(--ink-soft);
}
.sobre-copy p{font-size:17px;line-height:1.72;color:#5b4a41;font-weight:300;margin:0 0 18px}
.sobre-tags{display:flex;gap:14px;flex-wrap:wrap}
.sobre-tags span:hover{transform:translateY(-2px);border-color:var(--gold-300)}
.sobre-tags span{
  transition:transform .25s,border-color .25s;
  font-size:13px;letter-spacing:.04em;color:var(--wine-600);background:var(--cream-50);
  border:1px solid rgba(199,154,90,.4);padding:9px 16px;border-radius:999px;
}

/* ============ GAROPABA ============ */
/* ============ CTA FINAL ============ */
.cta-final{background:var(--cream-100);padding:24px 0 88px}
.cta-box{
  position:relative;overflow:hidden;
  background:radial-gradient(120% 140% at 85% 10%,var(--wine-500),var(--wine-900));
  border-radius:30px;padding:70px 60px;color:#f6ecd4;text-align:center;
}
.cta-box .monogram-bg{position:absolute;left:-40px;bottom:-50px;width:260px;opacity:.1}
.cta-box h2{font-family:'Cormorant Garamond',serif;font-weight:500;font-size:clamp(32px,4.2vw,52px);line-height:1.08;margin:0 0 18px;position:relative}
.cta-box p{font-size:17px;line-height:1.6;color:#e8d6b8;font-weight:300;max-width:520px;margin:0 auto 34px;position:relative}
.cta-btns{display:flex;flex-wrap:wrap;gap:14px;justify-content:center;position:relative}

/* ============ FOOTER ============ */
.site-footer{background:var(--wine-900);color:#dcc8a4;padding:56px 0 34px}
.footer-grid{max-width:1240px;margin:0 auto;padding:0 28px;display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:40px;align-items:start}
.footer-brand img{width:160px;margin-bottom:18px}
.footer-brand p{font-size:14px;line-height:1.6;color:#c3ac86;font-weight:300;max-width:300px}
.footer-col-title{font-size:12.5px;font-weight:500;letter-spacing:.2em;text-transform:uppercase;color:var(--gold-100);margin-bottom:16px}
.footer-links{display:flex;flex-direction:column;gap:10px;font-size:14px;font-weight:300}
.footer-links a,.footer-links span{color:#dcc8a4}
.footer-bottom{
  max-width:1240px;margin:38px auto 0;padding:22px 28px 0;
  border-top:1px solid rgba(230,200,140,.18);font-size:12px;color:#a8906c;letter-spacing:.04em;
  display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;
}
.footer-admin-link{color:#a8906c;opacity:.55;font-size:11px}
.footer-admin-link:hover{opacity:1}

/* ============ RESPONSIVE ============ */
@media (max-width:960px){
  .brand img{height:38px}
  .nav-links{
    display:none;position:absolute;top:100%;left:0;right:0;
    flex-direction:column;gap:0;background:var(--wine-900);
    border-bottom:1px solid rgba(230,200,140,.22);padding:8px 28px 16px;
  }
  .nav-links.is-open{display:flex}
  .nav-links a{padding:12px 0;border-bottom:1px solid rgba(230,200,140,.12)}
  .nav-toggle{display:block}
  .site-header nav{position:relative}
  .hero-inner{grid-template-columns:1fr;min-height:auto}
  .hero-media{height:360px;order:-1;margin-top:24px}
  .hero-copy{padding:40px 0 0}
  .trust-grid{grid-template-columns:repeat(2,1fr)}
  .casas-grid{grid-template-columns:1fr}
  .gestao-grid{grid-template-columns:1fr}
  .sobre-grid{grid-template-columns:1fr}
  .sobre-photo{max-width:320px;margin:0 auto}
  .sobre-photo .monogram{right:12px;bottom:12px;width:84px}
  .footer-grid{grid-template-columns:1fr}
  .cta-box{padding:48px 28px}
}

@media (max-width:600px){
  .trust-grid{grid-template-columns:1fr}
}
