/* ================================================================
   Loft Acomodações — CSS v3.0
   Mantém as classes originais loft-acom-* para não quebrar o JS
   Layout: Figma aprovado
   ================================================================ */

.loft-acom-wrapper *,
.loft-acom-wrapper *::before,
.loft-acom-wrapper *::after { box-sizing: border-box; }

/* ── WRAPPER ── */
.loft-acom-wrapper {
    font-family: 'Playfair Display', 'Times New Roman', serif;
    color: #1a1a1a;
    background: #f5f1ea;
    padding: 64px 24px 80px;
}

/* ================================================================
   ABAS
   ================================================================ */
.loft-acom-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 52px;
}

.loft-acom-nav-btn {
    background: transparent;
    border: 1.5px solid #999;
    color: #444;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.8px;
    padding: 12px 28px;
    cursor: pointer;
    text-transform: uppercase;
    border-radius: 3px;
    transition: background .2s, border-color .2s, color .2s;
}
.loft-acom-nav-btn:hover { border-color: #1e3d2f; color: #1e3d2f; }
.loft-acom-nav-btn.active { background: #1e3d2f; border-color: #1e3d2f; color: #fff; }

.loft-acom-content { animation: loftAcomFade .35s ease; }
@keyframes loftAcomFade {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ================================================================
   CABEÇALHO DA CATEGORIA
   ================================================================ */
.loft-acom-categoria { margin-bottom: 0px; }

.loft-acom-cat-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 52px;
}

.loft-acom-cat-tagline {
    font-family: 'Dancing Script', cursive, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #2d5a45;
    margin: 0 0 10px;
}

.loft-acom-cat-nome {
    font-size: clamp(28px, 4.5vw, 48px);
    font-weight: 400;
    color: #1a1a1a;
    letter-spacing: -.5px;
    margin: 0 0 14px;
    line-height: 1.1;
}

.loft-acom-cat-divider {
    width: 40px;
    height: 2px;
    background: #8b7355;
    margin: 0 auto 20px;
}

.loft-acom-cat-desc {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: #666;
    line-height: 1.75;
    margin: 0 0 24px;
}

/* Preços */
.loft-acom-precos {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    background: #fff;
    border-radius: 8px;
    padding: 16px 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
}
.loft-acom-preco-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.loft-acom-preco-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #888;
}
.loft-acom-preco-valor {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 400;
    color: #1e3d2f;
}
.loft-acom-preco-sep {
    width: 1px;
    height: 36px;
    background: #e0dbd2;
}

/* ================================================================
   LISTA DE ACOMODAÇÕES
   ================================================================ */
.loft-acom-lista {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ================================================================
   ITEM
   ================================================================ */
.loft-acom-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
    margin-bottom: 40px;
    min-height: 420px;
}

/* Invertido: detalhes à esquerda, carrossel à direita */
.loft-acom-item--invertido { direction: rtl; }
.loft-acom-item--invertido .loft-acom-carrossel,
.loft-acom-item--invertido .loft-acom-detalhes { direction: ltr; }

/* ================================================================
   CARROSSEL
   ================================================================ */
.loft-acom-carrossel {
    position: relative;
    overflow: hidden;
    background: #e8e4db;
}

.loft-acom-slides {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 380px;
}

.loft-acom-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .45s ease;
}
.loft-acom-slide.active {
    opacity: 1;
    position: relative;
}

.loft-acom-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 380px;
}
.loft-acom-slide a { display: block; height: 100%; }

/* Setas */
.loft-acom-prev,
.loft-acom-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.88);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    z-index: 3;
    transition: background .2s;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
    padding: 0;
}
.loft-acom-prev { left: 12px; }
.loft-acom-next { right: 12px; }
.loft-acom-prev:hover,
.loft-acom-next:hover { background: #fff; }

/* Dots */
.loft-acom-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 3;
}
.loft-acom-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.5);
    cursor: pointer;
    padding: 0;
    transition: background .2s, transform .2s;
}
.loft-acom-dot.active {
    background: #fff;
    transform: scale(1.3);
}

.loft-acom-no-img {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 380px;
    color: #bbb;
    font-family: sans-serif;
    font-size: 14px;
}

/* ================================================================
   DETALHES
   ================================================================ */
.loft-acom-detalhes {
    padding: 44px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Tag da categoria */
.loft-acom-cat-tag {
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: #2d5a45;
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* Nome */
.loft-acom-nome {
    font-family: 'Playfair Display', 'Times New Roman', serif;
    font-size: clamp(20px, 2.5vw, 30px);
    font-weight: 400;
    color: #1a1a1a;
    margin: 0 0 12px;
    line-height: 1.2;
}
.loft-acom-nome a { color: inherit; text-decoration: none; transition: color .2s; }
.loft-acom-nome a:hover { color: #2d5a45; }

/* Pill área */
.loft-acom-area-pill {
    display: inline-block;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 12px;
    color: #555;
    background: #f5f2ec;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
}

/* Atributos */
.loft-acom-atributos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-bottom: 8px;
}
.loft-acom-attr {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: 'DM Sans', sans-serif;
    font-size: 12.5px;
    color: #555;
}
.loft-acom-attr-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Divisor */
.loft-acom-divider-line {
    width: 32px;
    height: 1.5px;
    background: #d5cfc4;
    margin: 16px 0;
}

/* Descrição */
.loft-acom-descricao {
    font-family: 'DM Sans', sans-serif;
    font-size: 14.5px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 28px;
    flex: 1;
}
.loft-acom-descricao p { margin: 0 0 10px; }
.loft-acom-descricao p:last-child { margin-bottom: 0; }

/* Botão */
.loft-acom-btn-saibamais {
    display: inline-block;
    background: #1e3d2f;
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 16px 32px;
    border-radius: 4px;
    text-decoration: none;
    transition: background .2s;
    align-self: flex-start;
}
.loft-acom-btn-saibamais:hover { background: #2d5a45; color: #fff; text-decoration: none; }

/* Vazio */
.loft-acom-vazio {
    font-family: 'DM Sans', sans-serif;
    color: #aaa;
    text-align: center;
    padding: 40px;
    font-size: 14px;
}

/* ================================================================
   RESPONSIVO
   ================================================================ */
@media (max-width: 900px) {
    .loft-acom-item { grid-template-columns: 1fr; }
    .loft-acom-item--invertido { direction: ltr; }
    .loft-acom-slides,
    .loft-acom-slide img,
    .loft-acom-no-img { min-height: 280px; }
    .loft-acom-detalhes { padding: 28px 28px 32px; }
}

@media (max-width: 600px) {
    .loft-acom-wrapper { padding: 40px 16px 56px; }
    .loft-acom-nav { gap: 8px; }
    .loft-acom-nav-btn { padding: 10px 16px; font-size: 10px; }
    .loft-acom-detalhes { padding: 22px 18px 26px; }
    .loft-acom-precos { flex-direction: column; gap: 14px; padding: 16px 24px; }
    .loft-acom-preco-sep { width: 40px; height: 1px; }
    .loft-acom-slides,
    .loft-acom-slide img,
    .loft-acom-no-img { min-height: 230px; }
}