/* =====================================================================
   ESTILO — premium / minimalista. Cor de destaque vem do config.js
   ===================================================================== */
:root{
  --accent:#C8A45C;      /* sobrescrito pelo config.js */
  --black:#0e0e0e;
  --dark:#161616;
  --gray:#6b6b6b;
  --light:#f5f4f1;
  --white:#ffffff;
  --serif:"Cormorant Garamond",Georgia,serif;
  --sans:"Inter",system-ui,sans-serif;
  --radius:6px;
  --maxw:1200px;
}

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:var(--sans);color:var(--black);background:var(--white);line-height:1.6;-webkit-font-smoothing:antialiased;overflow-x:hidden}
img{display:block;max-width:100%}
a{text-decoration:none;color:inherit}

.container{max-width:var(--maxw);margin:0 auto;padding:0 24px;width:100%}
.container--narrow{max-width:820px}

/* ---- Botões ---- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:14px 28px;border-radius:var(--radius);font-weight:500;font-size:.95rem;
  letter-spacing:.3px;cursor:pointer;border:1px solid transparent;transition:.25s;white-space:nowrap}
.btn--accent{background:var(--accent);color:#fff}
.btn--accent:hover{filter:brightness(1.08);transform:translateY(-2px)}
.btn--ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.6)}
.btn--ghost:hover{background:rgba(255,255,255,.12)}
.btn--block{width:100%}

/* ---- Cabeçalho ---- */
.header{position:fixed;top:0;left:0;right:0;z-index:100;transition:.3s;
  background:rgba(14,14,14,.0);padding:18px 0}
.header.scrolled{background:rgba(14,14,14,.92);backdrop-filter:blur(8px);padding:10px 0;box-shadow:0 2px 20px rgba(0,0,0,.25)}
.header__inner{display:flex;align-items:center;justify-content:space-between;gap:24px}
.header__logo{display:flex;align-items:center;gap:10px;color:#fff;font-family:var(--serif);font-size:1.4rem;font-weight:600}
.header__logo img{height:38px;width:auto}
.header__logo img[src=""]{display:none}
.header__nav{display:flex;gap:28px;margin-left:auto}
.header__nav a{color:#fff;font-size:.9rem;opacity:.85;transition:.2s;position:relative}
.header__nav a:hover{opacity:1}
.header__nav a::after{content:"";position:absolute;left:0;bottom:-4px;width:0;height:1px;background:var(--accent);transition:.25s}
.header__nav a:hover::after{width:100%}
.header__cta{padding:10px 22px}
.header__burger{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:6px}
.header__burger span{width:24px;height:2px;background:#fff;transition:.3s}

/* ---- Hero ---- */
.hero{position:relative;min-height:100vh;min-height:100svh;display:flex;align-items:flex-end;color:#fff;overflow:hidden}
.hero__bg{position:absolute;inset:0;background-size:cover;background-position:center;transform:scale(1.05);transition:transform 8s ease}
.hero:hover .hero__bg{transform:scale(1)}
.hero__overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.85) 0%,rgba(0,0,0,.25) 55%,rgba(0,0,0,.45) 100%)}
.hero__content{position:relative;z-index:2;padding-bottom:72px;padding-top:120px}
.hero__badge{display:inline-flex;align-items:center;gap:8px;background:var(--accent);color:#1a1206;
  font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:2px;
  padding:9px 18px;border-radius:50px;margin-bottom:18px;
  box-shadow:0 6px 22px rgba(200,164,92,.45)}
.hero__badge[style*="none"]{display:none}
.hero__loc{text-transform:uppercase;letter-spacing:3px;font-size:.8rem;opacity:.85;margin-bottom:14px}
.hero__title{font-family:var(--serif);font-size:clamp(2.4rem,6vw,4.5rem);font-weight:600;line-height:1.05}
.hero__price{display:inline-block;font-size:clamp(1.5rem,3.2vw,2.2rem);color:#fff;font-weight:700;
  margin:18px 0 26px;font-family:var(--serif);background:rgba(10,10,10,.55);backdrop-filter:blur(8px);
  border:1px solid rgba(200,164,92,.45);border-left:4px solid var(--accent);
  padding:10px 24px;border-radius:8px;box-shadow:0 8px 24px rgba(0,0,0,.35)}
.hero__highlights{list-style:none;display:flex;flex-wrap:wrap;gap:16px;margin-bottom:34px}
.hero__highlights li{display:flex;align-items:center;gap:10px;background:rgba(255,255,255,.1);
  backdrop-filter:blur(6px);border:1px solid rgba(255,255,255,.18);padding:12px 18px;border-radius:var(--radius)}
.hero__highlights .v{font-weight:600;font-size:1.05rem}
.hero__highlights .r{font-size:.8rem;opacity:.8}
.hero__actions{display:flex;gap:14px;flex-wrap:wrap}

/* ---- Seções ---- */
.section{padding:90px 0}
.section--alt{background:var(--light)}
.section--dark{background:var(--dark);color:#fff}
.section__title{font-family:var(--serif);font-size:clamp(1.9rem,4vw,2.8rem);font-weight:600;
  text-align:center;margin-bottom:48px;position:relative;padding-bottom:18px}
.section__title::after{content:"";position:absolute;left:50%;bottom:0;transform:translateX(-50%);
  width:60px;height:2px;background:var(--accent)}
.section__title--light{color:#fff}

/* ---- Galeria ---- */
.gallery{position:relative;max-width:560px;margin:0 auto;border-radius:var(--radius);overflow:hidden;background:#000;aspect-ratio:3/4}
.gallery__stage{width:100%;height:100%;position:relative}
.gallery__stage img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .5s;cursor:zoom-in}
.gallery__stage img.active{opacity:1}
.gallery__arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:5;
  width:48px;height:48px;border-radius:50%;border:none;background:rgba(0,0,0,.45);color:#fff;
  font-size:1.8rem;line-height:1;cursor:pointer;transition:.2s;display:flex;align-items:center;justify-content:center}
.gallery__arrow:hover{background:var(--accent)}
.gallery__arrow--prev{left:16px}
.gallery__arrow--next{right:16px}
.gallery__thumbs{display:flex;gap:10px;overflow-x:auto;max-width:760px;margin:16px auto 0;padding-bottom:6px;scrollbar-width:thin}
.gallery__thumbs img{height:74px;width:110px;object-fit:cover;border-radius:4px;cursor:pointer;opacity:.55;transition:.2s;flex:0 0 auto;border:2px solid transparent}
.gallery__thumbs img:hover{opacity:.85}
.gallery__thumbs img.active{opacity:1;border-color:var(--accent)}
.gallery__empty{padding:60px;text-align:center;color:#888}

/* ---- Vídeo ---- */
.video__wrap{max-width:960px;margin:0 auto;aspect-ratio:16/9;border-radius:var(--radius);overflow:hidden;box-shadow:0 20px 60px rgba(0,0,0,.4)}
.video__wrap iframe,.video__wrap video{width:100%;height:100%;border:none;display:block}

/* ---- Descrição ---- */
.descricao__body p{font-size:1.12rem;color:#333;margin-bottom:20px;text-align:justify}

/* ---- Características ---- */
.features{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:18px}
.feature{background:#fff;border:1px solid #e7e5e0;border-radius:var(--radius);padding:24px 20px;text-align:center;transition:.25s}
.feature:hover{transform:translateY(-4px);box-shadow:0 12px 30px rgba(0,0,0,.08);border-color:var(--accent)}
.feature__icon{font-size:2rem;margin-bottom:10px}
.feature__val{font-weight:600;font-size:1.25rem}
.feature__label{font-size:.85rem;color:var(--gray);text-transform:uppercase;letter-spacing:.5px;margin-top:4px}

/* ---- Diferenciais ---- */
.perks{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:24px}
.perk{display:flex;gap:16px;align-items:flex-start;padding:24px;border-left:3px solid var(--accent);background:var(--light);border-radius:0 var(--radius) var(--radius) 0}
.perk__icon{font-size:1.8rem;line-height:1}
.perk h3{font-family:var(--serif);font-size:1.3rem;margin-bottom:4px}
.perk p{color:var(--gray);font-size:.95rem}

/* ---- Localização ---- */
.localizacao__addr{text-align:center;font-size:1.1rem;color:var(--gray);margin-bottom:32px}
.map{aspect-ratio:16/7;border-radius:var(--radius);overflow:hidden;box-shadow:0 10px 30px rgba(0,0,0,.1)}
.map iframe{width:100%;height:100%;border:none}

/* ---- Formulário ---- */
.contato__sub{text-align:center;opacity:.8;margin-bottom:34px;margin-top:-30px}
.form{display:flex;flex-direction:column;gap:16px}
.form input,.form textarea{padding:15px 18px;border-radius:var(--radius);border:1px solid #3a3a3a;
  background:#1f1f1f;color:#fff;font-family:var(--sans);font-size:1rem;transition:.2s}
.form input:focus,.form textarea:focus{outline:none;border-color:var(--accent)}
.form input::placeholder,.form textarea::placeholder{color:#888}

/* ---- Rodapé ---- */
.footer{background:#0a0a0a;color:#ccc;padding:56px 0 0}
.footer__inner{display:flex;flex-wrap:wrap;gap:32px;justify-content:space-between;align-items:flex-start;padding-bottom:40px}
.footer__brand{display:flex;align-items:center;gap:12px;font-family:var(--serif);font-size:1.4rem;color:#fff}
.footer__brand img{height:40px}
.footer__brand img[src=""]{display:none}
.footer__contact{font-size:.95rem;line-height:2}
.footer__contact a:hover{color:var(--accent)}
.footer__social{display:flex;gap:16px}
.footer__social a{width:42px;height:42px;border:1px solid #333;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:.2s}
.footer__social a:hover{background:var(--accent);border-color:var(--accent);color:#fff}
.footer__copy{border-top:1px solid #222;text-align:center;padding:22px;font-size:.85rem;color:#777}

/* ---- WhatsApp flutuante ---- */
.whatsapp-float{position:fixed;bottom:24px;right:24px;z-index:90;width:60px;height:60px;border-radius:50%;
  background:#25D366;color:#fff;display:flex;align-items:center;justify-content:center;
  box-shadow:0 6px 20px rgba(37,211,102,.5);transition:.25s;animation:pulse 2.5s infinite}
.whatsapp-float:hover{transform:scale(1.1)}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(37,211,102,.5)}70%{box-shadow:0 0 0 16px rgba(37,211,102,0)}100%{box-shadow:0 0 0 0 rgba(37,211,102,0)}}

/* ---- Lightbox ---- */
.lightbox{position:fixed;inset:0;z-index:200;background:rgba(0,0,0,.94);display:none;align-items:center;justify-content:center}
.lightbox.open{display:flex}
.lightbox__img{max-width:90vw;max-height:85vh;object-fit:contain;border-radius:4px}
.lightbox__close{position:absolute;top:20px;right:28px;background:none;border:none;color:#fff;font-size:2.6rem;cursor:pointer;line-height:1}
.lightbox__arrow{position:absolute;top:50%;transform:translateY(-50%);background:rgba(255,255,255,.1);border:none;color:#fff;font-size:2.4rem;width:56px;height:56px;border-radius:50%;cursor:pointer;transition:.2s}
.lightbox__arrow:hover{background:var(--accent)}
.lightbox__arrow--prev{left:24px}
.lightbox__arrow--next{right:24px}

/* ---- Animação de entrada ---- */
.reveal{opacity:0;transform:translateY(30px);transition:opacity .7s,transform .7s}
.reveal.show{opacity:1;transform:none}

/* ---- Responsivo ---- */
@media(max-width:860px){
  .header__nav{position:fixed;top:0;right:-100%;height:100vh;width:75%;max-width:320px;
    background:rgba(14,14,14,.98);flex-direction:column;justify-content:center;align-items:center;
    gap:32px;transition:.35s;margin:0}
  .header__nav.open{right:0}
  .header__nav a{font-size:1.2rem}
  .header__cta{display:none}
  .header__burger{display:flex;z-index:101}
  .header__burger.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .header__burger.open span:nth-child(2){opacity:0}
  .header__burger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  .section{padding:64px 0}
  .hero__content{padding-bottom:48px;padding-top:100px}
  .footer__inner{flex-direction:column;gap:24px}
  .video__wrap{box-shadow:0 10px 30px rgba(0,0,0,.4)}
}

/* ---- Telas pequenas (celular) ---- */
@media(max-width:520px){
  .container{padding:0 18px}
  .section{padding:52px 0}
  .section__title{margin-bottom:34px}
  .hero__highlights{gap:10px}
  .hero__highlights li{flex:1 1 calc(50% - 10px);padding:10px 12px}
  .hero__actions{flex-direction:column;align-items:stretch}
  .hero__actions .btn{width:100%}
  .hero__badge{font-size:.72rem;letter-spacing:1.5px;padding:8px 14px}
  .gallery__arrow{width:40px;height:40px;font-size:1.5rem}
  .gallery__arrow--prev{left:8px}
  .gallery__arrow--next{right:8px}
  .features{grid-template-columns:repeat(2,1fr);gap:12px}
  .feature{padding:18px 12px}
  .feature__val{font-size:1.05rem}
  .perks{grid-template-columns:1fr}
  .whatsapp-float{width:54px;height:54px;bottom:18px;right:18px}
  .lightbox__arrow{width:44px;height:44px;font-size:1.8rem}
  .lightbox__arrow--prev{left:6px}
  .lightbox__arrow--next{right:6px}
}
