/* ===== TEMA CLARO PREMIUM ===== */
:root{
    --page:#f7f7f8;           /* fundo externo suave */
    --bg:#ffffff;             /* fundo dos blocos */
    --text:#101828;           /* texto principal */
    --muted:#667085;          /* texto secundário */
    --border: rgba(16,24,40,.12);
    --shadow: 0 18px 46px rgba(16,24,40,.10);
    --shadow-soft: 0 10px 24px rgba(16,24,40,.08);
    --radius: 18px;
    --max: 1080px;

    --accent:#22c55e;
    --accent2:#38bdf8;
    --chip-bg: rgba(255,255,255,.16);
    --chip-br: rgba(255,255,255,.25);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    margin:0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: var(--page);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
a{color:inherit; text-decoration:none}
.container{max-width:var(--max); margin:0 auto; padding:0 18px}

/* “Cartão” central do site */
.shell{
    margin: 16px auto 34px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 8px);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.shell-inner{padding: 0 0 10px}

/* NAV (branca, clean) */
.nav{
    position:sticky; top:0; z-index:50;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,.88);
    border-bottom: 1px solid var(--border);
}
.nav-inner{
    display:flex; align-items:center; justify-content:space-between;
    padding:14px 0;
    gap:12px;
}
.brand{
    display:flex; align-items:center; gap:10px;
    font-weight:900; letter-spacing:-.2px;
}
.dot{width:10px; height:10px; border-radius:50%; background:linear-gradient(90deg,var(--accent),var(--accent2))}
.nav-links{display:flex; gap:14px; flex-wrap:wrap; justify-content:flex-end}
.nav-links a{
    padding:8px 10px; border-radius:12px;
    color:var(--muted);
    font-weight:700;
}
.nav-links a:hover{background:rgba(16,24,40,.05); color:var(--text)}

/* Buttons premium */
.btn{
    display:inline-flex; align-items:center; justify-content:center; gap:10px;
    padding:12px 16px; border-radius:14px;
    border:1px solid var(--border);
    background:#fff;
    color:var(--text);
    transition: transform .08s ease, background .12s ease, border-color .12s ease, box-shadow .12s ease;
    font-weight:850;
    cursor:pointer;
    box-shadow: 0 8px 18px rgba(16,24,40,.06);
}
.btn:hover{
    transform:translateY(-1px);
    background: rgba(16,24,40,.02);
    border-color: rgba(16,24,40,.18);
    box-shadow: 0 12px 24px rgba(16,24,40,.10);
}
.btn-primary{
    background: linear-gradient(90deg, rgba(34,197,94,.95), rgba(56,189,248,.85));
    border-color: transparent;
    color:#06101c;
    box-shadow: 0 16px 30px rgba(34,197,94,.16);
}
.btn-primary:hover{filter:brightness(1.02)}

/* HERO (imagem + overlay, continua com “cara premium”) */
.hero{
    position:relative;
    border-radius: 0;
    overflow:hidden;
    min-height: 60vh;
    display:flex;
    align-items:flex-end;
    background:#111;
}
.hero::before{
    content:"";
    position:absolute; inset:0;
    background:
            linear-gradient(180deg, rgba(0,0,0,.10) 0%, rgba(0,0,0,.50) 58%, rgba(0,0,0,.82) 100%),
            url("../img/imagemdodrone05.jpg") center/cover no-repeat;
    transform: scale(1.02);
}
.hero-content{
    position:relative;
    padding: 40px 22px 26px;
    width:100%;
    max-width: var(--max);
    margin: 0 auto;
}
.pill{
    display:inline-flex; gap:10px; align-items:center;
    padding:8px 12px; border-radius:999px;
    background: var(--chip-bg);
    border: 1px solid var(--chip-br);
    color: rgba(255,255,255,.92);
    font-size:.92rem;
    font-weight:800;
}
.h1{
    margin:14px 0 10px;
    font-size: clamp(2.1rem, 4.6vw, 3.25rem);
    line-height:1.05;
    letter-spacing:-.8px;
    font-weight: 950;
    color:#fff;
}
.subtitle{
    max-width: 62ch;
    color: rgba(255,255,255,.90);
    font-size:1.06rem;
    font-weight:600;
}
.cta-row{display:flex; gap:12px; flex-wrap:wrap; margin-top:18px}

/* Seções / espaçamento mais “hotel” */
section{padding:34px 22px}
.section-title{
    font-size: 1.55rem;
    letter-spacing:-.3px;
    margin:0 0 14px;
    font-weight: 950;
}
.subtext{color: var(--muted); margin-top:-6px; font-weight:650}

/* Cards premium */
.card{
    border:1px solid var(--border);
    background: #fff;
    border-radius: var(--radius);
    padding:18px;
    box-shadow: var(--shadow-soft);
}

.grid{display:grid; gap:14px}

/* Features */
.features{grid-template-columns: repeat(5, minmax(0,1fr))}
.feat{
    display:flex; flex-direction:column; gap:8px;
    padding:16px;
    border:1px solid rgba(16,24,40,.10);
    background: #fff;
    border-radius: 16px;
    min-height: 110px;
    box-shadow: 0 10px 20px rgba(16,24,40,.06);
}
.feat strong{font-size: .98rem}
.feat span{color: var(--muted); font-size:.92rem; font-weight:650}
.icon{
    width:38px; height:38px; border-radius:14px;
    display:grid; place-items:center;
    background: rgba(56,189,248,.10);
    border: 1px solid rgba(56,189,248,.22);
    font-size: 18px;
}

/* Galeria */
.galeria{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 15px;
    margin-top: 14px;
}
.galeria img{
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 16px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter .2s ease;
    border: 1px solid rgba(16,24,40,.10);
    box-shadow: 0 12px 24px rgba(16,24,40,.10);
    background:#fff;
}
.galeria img:hover{
    transform: scale(1.02);
    filter: brightness(1.02);
    box-shadow: 0 18px 34px rgba(16,24,40,.14);
}

/* Booking */
.booking{grid-template-columns: repeat(4, minmax(0,1fr))}
.platform{
    display:flex; flex-direction:column; gap:10px;
    padding:16px;
    border-radius:16px;
    border:1px solid rgba(16,24,40,.12);
    background: #fff;
    box-shadow: 0 12px 26px rgba(16,24,40,.08);
}
.platform small{color:var(--muted); font-weight:650}
.platform .btn, .platform .airbnb-btn{width:100%}

.airbnb-btn{
    background-color: #ff385c;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 14px;
    font-weight: 900;
    font-size: 16px;
    display: inline-block;
    transition: filter 0.2s ease, transform .08s ease;
    border: none;
    cursor: pointer;
    text-align:center;
    box-shadow: 0 12px 26px rgba(255,56,92,.18);
}
.airbnb-btn:hover{filter: brightness(0.97); transform: translateY(-1px)}

/* Mapa */
.mapa{
    margin: 14px auto 0;
    max-width: 1000px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(16,24,40,.12);
    border: 1px solid rgba(16,24,40,.12);
    background:#fff;
    padding: 14px;
}
.mapa iframe{
    width: 100%;
    height: 380px;
    border: 0;
    border-radius: 16px;
    display:block;
}

.footer{
    padding:10px 0 26px;
    color: var(--muted);
    text-align:center;
    font-size:.92rem;
    font-weight:650;
}

/* Responsivo */
@media (max-width: 980px){
    .features{grid-template-columns: repeat(2, minmax(0,1fr))}
    .booking{grid-template-columns: repeat(2, minmax(0,1fr))}
    .hero{min-height: 54vh}
    section{padding:30px 18px}
}
@media (max-width: 560px){
    .nav-links{display:none}
    .booking{grid-template-columns: 1fr}
    .hero-content{padding: 30px 16px 20px}
    .galeria{grid-template-columns: repeat(2, minmax(0,1fr))}
    .galeria img{height: 190px}
}

/* ===== RESERVA (cards com ícones) ===== */
.booking { grid-template-columns: repeat(4, minmax(0,1fr)); }

.platform {
    display:flex;
    flex-direction:column;
    gap:12px;
    padding:16px;
    border-radius:18px;
    border:1px solid rgba(16,24,40,.12);
    background:#fff;
    box-shadow: 0 12px 26px rgba(16,24,40,.08);
}

.platform-head{
    display:flex;
    align-items:center;
    gap:12px;
}

.platform-icon{
    width:44px;
    height:44px;
    border-radius:14px;
    display:grid;
    place-items:center;
    border:1px solid rgba(16,24,40,.10);
    background: rgba(16,24,40,.03);
    flex:0 0 auto;
}

.platform-icon svg{width:22px; height:22px; display:block}

.platform-title{
    display:flex;
    flex-direction:column;
    line-height:1.15;
}
.platform-title strong{
    font-size:1.05rem;
    font-weight:950;
}
.platform-title small{
    color: var(--muted);
    font-weight:650;
    margin-top:4px;
}

/* botão “do protótipo”: alto, com ícone e seta */
.reserve-btn{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:14px 14px;
    border-radius:16px;
    border:1px solid rgba(16,24,40,.12);
    background:#fff;
    box-shadow: 0 10px 22px rgba(16,24,40,.08);
    font-weight:950;
    cursor:pointer;
    transition: transform .08s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
}
.reserve-btn:hover{
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(16,24,40,.12);
    background: rgba(16,24,40,.02);
    border-color: rgba(16,24,40,.18);
}
.reserve-left{
    display:flex;
    align-items:center;
    gap:10px;
}
.reserve-left .mini{
    width:34px;height:34px;border-radius:12px;
    display:grid;place-items:center;
    border:1px solid rgba(16,24,40,.10);
    background: rgba(16,24,40,.03);
}
.reserve-left .mini svg{width:18px;height:18px}
.reserve-right{
    display:flex;
    align-items:center;
    gap:8px;
    color: var(--muted);
    font-weight:900;
}
.reserve-right svg{width:18px;height:18px}

/* variações por plataforma */
.reserve-airbnb{ border-color: rgba(255,56,92,.25); }
.reserve-airbnb .mini{ background: rgba(255,56,92,.10); border-color: rgba(255,56,92,.22); }
.reserve-booking{ border-color: rgba(0,53,128,.22); }
.reserve-booking .mini{ background: rgba(0,53,128,.10); border-color: rgba(0,53,128,.18); }
.reserve-vrbo{ border-color: rgba(24,56,131,.22); }
.reserve-vrbo .mini{ background: rgba(24,56,131,.10); border-color: rgba(24,56,131,.18); }
.reserve-whatsapp{ border-color: rgba(37,211,102,.30); }
.reserve-whatsapp .mini{ background: rgba(37,211,102,.12); border-color: rgba(37,211,102,.22); }

/* Responsivo */
@media (max-width: 980px){
    .booking{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 560px){
    .booking{ grid-template-columns: 1fr; }
}

.caracteristicas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.carac-card {
    background: #ffffff;
    border: 1px solid rgba(16,24,40,.12);
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 10px 22px rgba(16,24,40,.08);
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.95rem;
}

.carac-card strong {
    font-size: 0.9rem;
    color: #101828;
}

.carac-card span {
    color: #475467;
    font-weight: 600;
}

/* ===== Lightbox SDM ===== */
.sdm-modal{
    position:fixed; inset:0;
    display:none; align-items:center; justify-content:center;
    background:rgba(0,0,0,.85);
    z-index:9999;
    padding:16px;
}
.sdm-modal.open{ display:flex; }

.sdm-modal-box{
    position:relative;
    width:min(1100px,100%);
    height:min(720px,100%);
    display:grid;
    place-items:center;
}

.sdm-stage{
    width:100%; height:100%;
    display:grid; place-items:center;
    user-select:none;
    touch-action:pan-y;
    position: relative;
    z-index: 1;
}

.sdm-img{
    max-width:100%;
    max-height:100%;
    border-radius:14px;
    transform-origin:center center;
    will-change:transform;
    cursor:grab;
    z-index: 1;
}
.sdm-img:active{ cursor:grabbing; }

.sdm-btn {
    position: absolute;
    z-index: 10001; /* força ficar acima da imagem */
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 26px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sdm-btn:hover{ background:rgba(255,255,255,.24); }

.sdm-close{ top:14px; right:14px; font-size:20px; }
.sdm-prev,.sdm-next{
    top:50%;
    transform:translateY(-50%);
    font-size:24px;
}
.sdm-prev, .sdm-next {
    top: 50%;
    transform: translateY(-50%);
}

.sdm-prev { left: 15px; }
.sdm-next { right: 15px; }

.sdm-close {
    top: 15px;
    right: 15px;
    font-size: 22px;
}

.sdm-counter{
    position:absolute;
    top:14px; left:14px;
    padding:10px 12px;
    border-radius:999px;
    background:rgba(255,255,255,.16);
    color:#fff;
    font-size:13px;
    backdrop-filter:blur(8px);
}

.sdm-caption{
    position:absolute;
    bottom:14px;
    left:50%;
    transform:translateX(-50%);
    padding:10px 14px;
    border-radius:999px;
    background:rgba(255,255,255,.16);
    color:#fff;
    font-size:12px;
    backdrop-filter:blur(8px);
    max-width:92%;
    text-align:center;
}

.galeria .g-item img{ cursor:pointer; }

.calendar { margin: 24px 0; }
.calendar h2 { margin: 0 0 12px; }

/* Wrapper responsivo */
.gcal-wrapper{
    position: relative;
    width: 100%;
    padding-top: 75%; /* altura responsiva (4:3). Ajuste se quiser */
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.gcal-wrapper iframe{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Em telas grandes, deixa mais “deitado” */
@media (min-width: 992px){
    .gcal-wrapper{ padding-top: 55%; }
}

.sdm-cal { margin: 24px 0; }
.sdm-cal__title { margin: 0 0 12px; }

/* ✅ Responsivo (moderno) */
.sdm-cal__wrap{
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.12);
    box-shadow: 0 12px 30px rgba(0,0,0,.10);
    background: #fff;

    aspect-ratio: 4 / 5; /* celular: mais alto */
}
.sdm-cal__wrap iframe{
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* ✅ Desktop/tablet: mais “deitado” */
@media (min-width: 992px){
    .sdm-cal__wrap{
        aspect-ratio: 16 / 9;
    }
}

/* ✅ Fallback caso aspect-ratio não funcione */
@supports not (aspect-ratio: 1 / 1){
    .sdm-cal__wrap{
        position: relative;
        height: 0;
        padding-top: 125%; /* 4/5 -> 125% (celular) */
    }
    @media (min-width: 992px){
        .sdm-cal__wrap{ padding-top: 56.25%; } /* 16/9 */
    }
    .sdm-cal__wrap iframe{
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }
}

/* Instagram no header (responsivo e alinhado) */
.btn-instagram-top{
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;

    background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888);
    color: #fff;
    box-shadow: 0 10px 26px rgba(220,39,67,.25);
    border: 1px solid rgba(255,255,255,.18);
}

.btn-instagram-top:hover{ filter: brightness(1.05); }
.btn-instagram-top:active{ transform: translateY(1px); }

/* ✅ garante que o botão fique à direita no header */
.nav-inner{
    display:flex;
    align-items:center;
    gap:12px;
}
.nav-links{
    margin-left: auto; /* empurra os links para a direita */
}

