html, body {
    overflow-x: hidden;
}

/* ===========================================================
   BASE
=========================================================== */
body {
    margin: 0;
    font-family: "Inter", sans-serif;
    background: #f7f7f7;
    color: #333;
}

/* ===========================================================
   HEADER — BELLEVIEW PREMIUM
=========================================================== */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 9999;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: "Poppins", sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #005c99;
}

.logo-circle {
    width: 42px;
    aspect-ratio: 1 / 1; /* mantém sempre círculo perfeito */
    background: #005c99;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.4rem;
    flex-shrink: 0; /* impede de encolher */
}


.nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #005c99;
    font-weight: 600;
    font-size: 1.05rem;
}

/* ===========================================================
   BANDEIRAS PREMIUM
=========================================================== */
.lang-switch {
    display: flex;
    gap: 10px;
}

.lang-switch img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.25s ease;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.lang-switch img:hover {
    transform: scale(1.12);
    box-shadow: 0 4px 10px rgba(0,0,0,0.35);
}

/* ===========================================================
   HERO — BELLEVIEW PREMIUM (IMAGEM PUXADA PARA CIMA)
=========================================================== */
.hero {
    position: relative;
    background-image: url("../img/hero/hero1.jpg");
    background-size: cover;
    background-position: center top;
    background-position-y: -150px; /* mostra mais piscina */
    padding: 120px 40px 120px 40px; /* menos altura total */
    color: #ffffff;
    display: flex;
    align-items: flex-start;
    min-height: 65vh; /* hero mais compacto */
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0,0,0,0.55),
        rgba(0,0,0,0.25)
    );
    z-index: 0;
}

.hero-text {
    position: relative;
    z-index: 2;
    max-width: 620px;
    margin-top: 10px; /* sobe o texto */
    margin-left: 4vw;
}

.hero-local {
    font-size: 1.25rem;
    font-weight: 600;
    opacity: 0.95;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}

.hero-text h1 {
    font-family: "Poppins", sans-serif;
    font-size: 3rem;
    line-height: 1.22;
    margin: 10px 0 18px 0;
    text-shadow: 0 4px 14px rgba(0,0,0,0.45);
}

.hero-sub {
    font-size: 1.3rem;
    line-height: 1.52;
    opacity: 0.96;
    max-width: 560px;
    text-shadow: 0 3px 10px rgba(0,0,0,0.35);
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

/* ===========================================================
   BOTÃO FLUTUANTE — BELLEVIEW PREMIUM
=========================================================== */
.btn-flutuante {
    position: fixed;
    top: 42%;
    right: 48px;
    transform: translateY(-50%);
    background: #005c99;
    color: #ffffff;
    padding: 20px 38px;
    border-radius: 999px;
    font-family: "Poppins", sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 12px 32px rgba(0,0,0,0.32);
    z-index: 99999;
    transition: 0.25s ease;
}

.btn-flutuante:hover {
    background: #0074c7;
    transform: translateY(-50%) translateY(-4px);
}

.btn-flutuante {
    transition: opacity 0.25s ease;
}

.btn-flutuante.hidden {
    opacity: 0;
    pointer-events: none;
}

/* ===========================================================
   MODAL
=========================================================== */
.modal-bg {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
    z-index: 999999;
}

.modal-box {
    background: #fff;
    padding: 30px;
    border-radius: 18px;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
    position: relative;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #005c99;
    cursor: pointer;
}

.modal-btn {
    width: 100%;
    margin-top: 20px;
    padding: 14px;
    border-radius: 999px;
    border: none;
    background: #005c99;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

/* ===========================================================
   FOOTER
=========================================================== */
/* ------------------------------
   FOOTER — ESTILO AIMA / GUIDE
--------------------------------*/
footer {
    background: #005c99;
    padding: 40px 20px;
    margin-top: 40px;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    color: #ffffff;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    margin-bottom: 15px;
}

.footer-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
}

.footer-links a {
    color: #cfe8ff;
    text-decoration: none;
    font-weight: 500;
}

.footer-links {
    font-size: 13px; /* ou 12px se quiseres ainda mais compacto */
    line-height: 1.4;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-copy {
    margin-top: 20px;
    font-size: 14px;
    color: #e6f2ff;
}

/* Links do footer (telefone, email, whatsapp) */
.footer-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}

.footer-link:hover {
    text-decoration: underline;
}

/* Remover estilos automáticos de links em mobile */
a[href^="tel"],
a[href^="mailto"],
a[href^="https://wa.me"],
.footer-link {
    color: #ffffff !important;
    text-decoration: none !important;
    -webkit-text-fill-color: #ffffff !important; /* Safari iOS */
}

/* Hover (apenas desktop) */
@media (hover: hover) {
    a[href^="tel"]:hover,
    a[href^="mailto"]:hover,
    a[href^="https://wa.me"]:hover,
    .footer-link:hover {
        text-decoration: underline !important;
    }
}

/* Reduzir todo o texto do footer exceto o título e o logo */
.footer-content p:not(.footer-title),
.footer-address,
.footer-reg,
.footer-copy,
.footer-links {
    font-size: 13px;
    line-height: 1.45;
}


/* Mobile ainda mais compacto */
@media (max-width: 600px) {
    .footer-content p:not(.footer-title),
    .footer-address,
    .footer-reg,
    .footer-copy,
    .footer-links {
        font-size: 12px;
    }
}


.footer-title {
    font-size: 22px;
    font-weight: 600;
}

.footer-social {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    margin-bottom: 6px;
}

.footer-social .social-icon svg {
    width: 26px;
    height: 26px;
    color: #ffffff; /* ícones brancos para combinar com o footer */
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.footer-social .social-icon:hover svg {
    transform: scale(1.12);
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    margin-bottom: 6px;
}

.footer-social .social-icon svg {
    width: 22px !important;
    height: 22px !important;
    fill: #ffffff !important;
    color: #ffffff !important;
    display: block;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.footer-social .social-icon:hover svg {
    transform: scale(1.12);
    opacity: 0.85;
}


/* ===========================================================
   MOBILE — HEADER + HERO + BOTÃO (CORRIGIDO)
=========================================================== */
@media (max-width: 768px) {

    /* HEADER */
    .header {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 14px 20px;
        gap: 10px;
        text-align: center;
    }

    .logo {
        font-size: 1.15rem;
        gap: 8px;
    }

    .logo-circle {
        width: 34px;
        aspect-ratio: 1 / 1;
        font-size: 1.1rem;
        flex-shrink: 0;
    }

    .nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        margin-top: 4px;
    }

    .nav a {
        margin: 0;
        font-size: 0.9rem;
        padding: 4px 8px;
    }

    .lang-switch {
        gap: 6px;
    }

    .lang-switch img {
        width: 24px;
        height: 24px;
    }

    /* HERO — CORRIGIDO */
    .hero {
    position: relative;
    background-image: url("../img/hero/hero1.jpg");
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center top !important;
    padding: 90px 20px 0 20px; /* sem cinzento */
    min-height: 100vh !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    color: #fff;
}

    .hero::before {
    content: "";
    position: absolute;
    inset: 0 !important; /* garante que cobre tudo */
    background: linear-gradient(
        rgba(0,0,0,0.55),
        rgba(0,0,0,0.25)
    );
    z-index: 0;
}


    .hero-text {
        position: relative;
        z-index: 2;
        max-width: 100%;
        margin: 0;
        text-align: center;
    }

    .hero-local {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }

    .hero-text h1 {
        font-size: 1.8rem;
        line-height: 1.25;
        margin-bottom: 10px;
    }

    .hero-sub {
        font-size: 0.95rem;
        line-height: 1.4;
        text-align: center;
        max-width: 100%;
        margin: 0 auto;
    }

    /* BOTÃO FLUTUANTE — MOBILE (CORREÇÃO CRÍTICA) */
    .btn-flutuante {
        position: fixed;
        bottom: 80px;
        left: 50%;
        right: auto;

        /* ANULA COMPLETAMENTE O DESKTOP */
        top: auto !important;
        transform: translate(-50%, 0) !important;

        padding: 8px 18px;
        font-size: 0.85rem;
        line-height: 1;

        width: auto;
        max-width: 200px;
        white-space: normal;
        word-break: break-word;
        text-align: center;

        border-radius: 999px;
        background: #005c99;
        color: #fff;
        box-shadow: 0 4px 10px rgba(0,0,0,0.22);
        z-index: 99999;
    }

    /* ANULA O HOVER DO DESKTOP */
    .btn-flutuante:hover {
        transform: translate(-50%, 0) !important;
    }
}

/* ===========================================================
   ALOJAMENTO — ESTILO PREMIUM BELLEVIEW
=========================================================== */

/* Secção geral */
#alojamento {
    background: #f5f7fa;
    padding: 80px 40px;
    border-radius: 0 0 20px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Título principal */
.aloj-title {
    text-align: center;
    font-size: 2.6rem;
    font-weight: 700;
    color: #005c99;
    margin-bottom: 35px;
    letter-spacing: -0.5px;
    font-family: "Poppins", sans-serif;
}

/* INTRO — Card premium */
.intro-alojamento {
    background: #ffffff;
    padding: 32px 28px;
    border-radius: 16px;
    border: 1px solid #e6e6e6;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    margin-bottom: 50px;
}

.intro-alojamento .subtitulo {
    font-size: 1.15rem;
    line-height: 1.65;
    color: #444;
    text-align: justify;
    text-justify: inter-word;
    margin-bottom: 18px;
}

/* GALERIA — Fotos alinhadas e elegantes */
.aloj-galeria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 18px;
    margin: 40px 0;
}

.aloj-galeria img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.aloj-galeria img:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}

/* SUBTÍTULO DESTAQUES */
.subtitulo-categoria {
    font-size: 1.6rem;
    font-weight: 700;
    color: #005c99;
    margin: 40px 0 20px;
    font-family: "Poppins", sans-serif;
}

/* COMODIDADES — Ícones premium */
.aloj-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 22px;
    margin-bottom: 50px;
}

.cb-item {
    background: #ffffff;
    padding: 22px 18px;
    border-radius: 14px;
    border: 1px solid #e6e6e6;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    text-align: center;
    font-weight: 600;
    color: #005c99;
    font-family: "Poppins", sans-serif;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cb-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

/* DESCRIÇÃO — Cards premium */
.descricao-alojamento {
    background: #ffffff;
    padding: 32px 28px;
    border-radius: 16px;
    border: 1px solid #e6e6e6;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    margin: 50px 0;
}

.descricao-alojamento h3 {
    font-size: 1.9rem;
    font-weight: 700;
    color: #005c99;
    margin-bottom: 18px;
    font-family: "Poppins", sans-serif;
}

.descricao-alojamento p {
    font-size: 1.15rem;
    line-height: 1.65;
    color: #444;
    text-align: justify;
    text-justify: inter-word;
    margin-bottom: 18px;
}

/* LISTA DE COMPOSIÇÃO — Premium vertical cards */
.comodidades-lista {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin: 30px 0 50px;
}

.comodidade-item {
    background: #ffffff;
    padding: 22px 20px;
    border-radius: 14px;
    border: 1px solid #e6e6e6;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.comodidade-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.comodidade-nome {
    font-size: 1.05rem;
    font-weight: 600;
    color: #005c99;
    margin-bottom: 6px;
    font-family: "Poppins", sans-serif;
}

.comodidade-check {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2ecc71;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    #alojamento {
        padding: 50px 20px;
    }

    .aloj-title {
        font-size: 2.1rem;
    }

    .intro-alojamento,
    .descricao-alojamento {
        padding: 24px 20px;
    }

    .aloj-galeria img {
        height: 200px;
    }
}

/* ===========================================================
   COMODIDADES — BELLEVIEW 2.0 PREMIUM
=========================================================== */

#comodidades {
    background: #f5f7fa;
    padding: 80px 40px;
    border-radius: 0 0 20px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Título */
#comodidades .aloj-title {
    text-align: center;
    font-size: 2.6rem;
    font-weight: 700;
    color: #005c99;
    margin-bottom: 35px;
    letter-spacing: -0.5px;
}

/* Intro */
#comodidades .intro-alojamento {
    background: #ffffff;
    padding: 32px 28px;
    border-radius: 16px;
    border: 1px solid #e6e6e6;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    margin-bottom: 50px;
}

#comodidades .intro-alojamento .subtitulo {
    font-size: 1.15rem;
    line-height: 1.65;
    color: #444;
    text-align: justify;
    text-justify: inter-word;
    margin-bottom: 18px;
}

/* Subtítulos */
#comodidades .subtitulo-categoria {
    font-size: 1.6rem;
    font-weight: 700;
    color: #005c99;
    margin: 40px 0 20px;
}

/* Grelha de comodidades */
#comodidades .aloj-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 22px;
    margin-bottom: 50px;
}

/* Cards */
#comodidades .cb-item {
    background: #ffffff;
    padding: 22px 18px;
    border-radius: 14px;
    border: 1px solid #e6e6e6;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    text-align: center;
    font-weight: 600;
    color: #005c99;
    font-family: "Poppins", sans-serif;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#comodidades .cb-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

/* Responsivo */
@media (max-width: 768px) {
    #comodidades {
        padding: 50px 20px;
    }

    #comodidades .aloj-title {
        font-size: 2.1rem;
    }

    #comodidades .intro-alojamento {
        padding: 24px 20px;
    }
}

/* Grelha de comodidades — 4 colunas em desktop */
#comodidades .aloj-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 50px;
}

/* Cards premium */
#comodidades .cb-item {
    background: #ffffff;
    padding: 22px 18px;
    border-radius: 14px;
    border: 1px solid #e6e6e6;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    text-align: center;
    font-weight: 600;
    color: #005c99;
    font-family: "Poppins", sans-serif;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#comodidades .cb-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

/* Mobile — 2 colunas */
@media (max-width: 768px) {
    #comodidades .aloj-highlights {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* Mobile pequeno — 1 coluna */
@media (max-width: 480px) {
    #comodidades .aloj-highlights {
        grid-template-columns: 1fr;
    }
}

/* ===========================================================
   MOBILE — MELHORIA DE TEXTO PREMIUM BELLEVIEW
=========================================================== */

@media (max-width: 768px) {

    /* Todos os textos descritivos */
    .intro-alojamento .subtitulo,
    .descricao-alojamento p,
    #comodidades .intro-alojamento .subtitulo {
        font-size: 1.05rem;              /* mais compacto */
        line-height: 1.75;               /* mais respirado */
        text-align: justify;
        text-justify: inter-word;
        hyphens: auto;                   /* quebra natural */
        word-break: break-word;          /* evita buracos */
        margin-bottom: 16px;
    }

    /* Limitar largura para leitura perfeita */
    .intro-alojamento,
    .descricao-alojamento {
        max-width: 95%;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ===========================================================
   LOCALIZAÇÃO — BELLEVIEW 2.0 PREMIUM
=========================================================== */

#localizacao {
    background: #f5f7fa;
    padding: 80px 40px;
    border-radius: 0 0 20px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Título */
#localizacao .aloj-title {
    text-align: center;
    font-size: 2.6rem;
    font-weight: 700;
    color: #005c99;
    margin-bottom: 35px;
    letter-spacing: -0.5px;
}

/* Intro */
#localizacao .intro-alojamento {
    background: #ffffff;
    padding: 32px 28px;
    border-radius: 16px;
    border: 1px solid #e6e6e6;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    margin-bottom: 50px;
}

#localizacao .intro-alojamento .subtitulo {
    font-size: 1.15rem;
    line-height: 1.75;
    color: #444;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    margin-bottom: 18px;
}

/* Mapa */
#localizacao .map-container {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
    margin-bottom: 50px;
}

/* Subtítulos */
#localizacao .subtitulo-categoria {
    font-size: 1.6rem;
    font-weight: 700;
    color: #005c99;
    margin: 40px 0 20px;
    font-family: "Poppins", sans-serif;
}

/* Distâncias — lista premium */
#localizacao .proximidades-lista {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 50px;
}

#localizacao .perto-item {
    background: #ffffff;
    padding: 18px 20px;
    border-radius: 14px;
    border: 1px solid #e6e6e6;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#localizacao .perto-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

#localizacao .perto-nome {
    font-size: 1.05rem;
    font-weight: 600;
    color: #005c99;
}

#localizacao .perto-dist {
    font-size: 0.95rem;
    color: #333;
    opacity: 0.85;
}

/* O que os hóspedes mais gostam — cards iguais aos de Comodidades */
#localizacao .aloj-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 50px;
}

#localizacao .cb-item {
    background: #ffffff;
    padding: 22px 18px;
    border-radius: 14px;
    border: 1px solid #e6e6e6;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    text-align: center;
    font-weight: 600;
    color: #005c99;
    font-family: "Poppins", sans-serif;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#localizacao .cb-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

/* Galeria final */
#localizacao .aloj-galeria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 18px;
    margin-top: 30px;
}

#localizacao .aloj-galeria img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#localizacao .aloj-galeria img:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}

/* ===========================================================
   MOBILE — AJUSTES PREMIUM
=========================================================== */

@media (max-width: 768px) {

    #localizacao {
        padding: 50px 20px;
    }

    #localizacao .aloj-title {
        font-size: 2.1rem;
    }

    #localizacao .intro-alojamento {
        padding: 24px 20px;
    }

    #localizacao .intro-alojamento .subtitulo {
        font-size: 1.05rem;
        line-height: 1.75;
        margin-bottom: 20px;
    }

    #localizacao .proximidades-lista {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    #localizacao .aloj-highlights {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    #localizacao .aloj-galeria img {
        height: 200px;
    }
}

/* Mobile pequeno */
@media (max-width: 480px) {
    #localizacao .aloj-highlights {
        grid-template-columns: 1fr;
    }
}

/* ===========================================================
   REGRAS DO IMÓVEL — BELLEVIEW 2.0 PREMIUM
=========================================================== */

#regras {
    background: #f5f7fa;
    padding: 80px 40px;
    border-radius: 0 0 20px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Título */
#regras .aloj-title {
    text-align: center;
    font-size: 2.6rem;
    font-weight: 700;
    color: #005c99;
    margin-bottom: 35px;
    letter-spacing: -0.5px;
}

/* Intro */
#regras .intro-alojamento {
    background: #ffffff;
    padding: 32px 28px;
    border-radius: 16px;
    border: 1px solid #e6e6e6;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    margin-bottom: 50px;
}

#regras .intro-alojamento .subtitulo {
    font-size: 1.15rem;
    line-height: 1.75;
    color: #444;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    margin-bottom: 18px;
}

/* GRID DE REGRAS */
#regras .rules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

/* CARD INDIVIDUAL */
#regras .rule-item {
    background: #ffffff;
    padding: 22px 20px;
    border-radius: 16px;
    border: 1px solid #e6e6e6;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#regras .rule-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

/* ÍCONES */
#regras .rule-icon {
    font-size: 1.8rem;
    line-height: 1;
    color: #005c99;
    flex-shrink: 0;
}

/* TEXTO */
#regras .rule-text {
    font-family: "Poppins", sans-serif;
    font-size: 1rem;
    color: #333;
    line-height: 1.55;
}

#regras .rule-text strong {
    display: block;
    font-size: 1.05rem;
    color: #005c99;
    margin-bottom: 4px;
}

/* ===========================================================
   MOBILE — AJUSTES PREMIUM
=========================================================== */

@media (max-width: 900px) {
    #regras .rules-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    #regras {
        padding: 50px 20px;
    }

    #regras .aloj-title {
        font-size: 2.1rem;
    }

    #regras .rules-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    #regras .rule-item {
        padding: 20px 18px;
    }

    #regras .rule-text {
        font-size: 0.98rem;
        line-height: 1.65;
    }
}

/* ===========================================================
   FAQ — SECÇÃO PREMIUM
=========================================================== */

#faq {
    background: #f5f7fa;
    padding: 80px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Título */
#faq .aloj-title {
    text-align: center;
    font-size: 2.6rem;
    font-weight: 700;
    color: #005c99;
    margin-bottom: 35px;
}

/* CARD FAQ PREMIUM */
.faq-item {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e6e6e6;
    box-shadow: 0 10px 28px rgba(0,0,0,0.08);
    margin-bottom: 22px;
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.faq-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0,0,0,0.12);
}

/* Pergunta */
.faq-question {
    width: 100%;
    background: #ffffff;
    border: none;
    padding: 22px 24px;
    text-align: left;
    font-size: 1.15rem;
    font-weight: 600;
    color: #005c99;
    cursor: pointer;
    font-family: "Poppins", sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: "+";
    font-size: 1.6rem;
    color: #005c99;
    transition: transform 0.25s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

/* Resposta */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 24px 22px;
    transition: max-height 0.35s ease;
}

.faq-answer p {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #444;
    padding: 16px 0 22px;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

/* Mobile */
@media (max-width: 600px) {
    #faq {
        padding: 50px 20px;
    }

    .faq-question {
        font-size: 1.05rem;
        padding: 18px 20px;
    }
}


/* ===========================================================
   CONTACTOS — SECÇÃO PREMIUM
=========================================================== */

/* WRAPPER PREMIUM (igual ao card de alojamento) */
.contact-wrapper {
    display: flex;
    justify-content: center;
    padding: 80px 20px;
    width: 100%;
    box-sizing: border-box;
}

.contact-container {
    background: #ffffff;
    border-radius: 28px;
    padding: 40px 35px;
    max-width: 1200px; /* igual ao alojamento */
    width: 100%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border: 1px solid #e3e8ef;
    box-sizing: border-box;
}

/* TÍTULOS */
.contact-title {
    font-family: "Poppins", sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #004b80;
    text-align: center;
    margin-bottom: 10px;
}

.contact-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 40px;
}

.contact-subtitle {
    font-family: "Poppins", sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #004b80;
    margin-bottom: 20px;
    text-align: center;
}

/* GRID DOS CONTACTOS */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}

/* CARD PREMIUM */
.contact-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 22px 20px;
    display: flex;
    align-items: flex-start; /* impede ícone oval */
    gap: 18px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.08);
    border: 1px solid #e6e6e6;
    transition: 0.25s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0,0,0,0.12);
}

/* ÍCONES PREMIUM */
.contact-icon-circle {
    width: 48px;
    height: 48px;
    background: #004b80;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* impede distorção */
}

.contact-icon {
    font-size: 1.4rem;
    color: #fff;
}

/* TEXTO DOS CONTACTOS — CORRIGIDO */
.contact-info {
    min-width: 0;
    flex: 1;
}

.contact-info strong {
    font-size: 1.1rem;
    color: #004b80 !important;
    display: block;
    margin-bottom: 4px;
}

.contact-link {
    font-size: 1.05rem;
    color: #333 !important; /* ← COR VISÍVEL */
    font-weight: 500;
    text-decoration: none;
}

.contact-link:hover {
    color: #004b80 !important;
}

.contact-info small {
    font-size: 0.8rem;
    color: #777 !important;
}

/* MORADA */
.contact-address-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 24px 22px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.08);
    border: 1px solid #e6e6e6;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

/* FORMULÁRIO */
#contactos .contact-form {
    background: #ffffff;
    padding: 32px 28px;
    border-radius: 16px;
    border: 1px solid #e6e6e6;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    margin-bottom: 50px;
}

#contactos .form-group {
    margin-bottom: 22px;
}

#contactos .form-group label {
    display: block;
    font-weight: 600;
    color: #005c99;
    margin-bottom: 6px;
}

#contactos input,
#contactos textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #cccccc;
    font-size: 1rem;
    font-family: "Poppins", sans-serif;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    box-sizing: border-box;
}

#contactos input:focus,
#contactos textarea:focus {
    border-color: #005c99;
    box-shadow: 0 0 0 3px rgba(0,92,153,0.15);
    outline: none;
}

/* BOTÃO */
#contactos .btn-enviar {
    background: #005c99;
    color: #ffffff;
    padding: 14px 26px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

#contactos .btn-enviar:hover {
    background: #004b80;
    transform: translateY(-3px);
}

/* RESPONSIVO */
@media (max-width: 900px) {
    #contactos .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    #contactos {
        padding: 50px 20px;
    }

    #contactos .contact-title {
        font-size: 2.1rem;
    }

    #contactos .contact-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    #contactos .contact-form {
        padding: 24px 20px;
    }
}

@media (max-width: 600px) {

    .contact-wrapper {
        padding: 50px 20px !important; /* igual aos outros wrappers */
    }

    .contact-container {
        padding: 24px 20px !important; /* igual aos outros containers premium */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box;
    }
}

/* ===========================================================
   CARD DE SUCESSO — BELLEVIEW 2.0 (DESKTOP + MOBILE)
=========================================================== */

.success-card {
    background: #e8f9f0;                 /* verde premium muito claro */
    border: 1px solid #2ecc71;           /* verde sucesso */
    border-radius: 16px;
    padding: 18px 20px;
    margin-top: 22px;
    width: 100%;                         /* ocupa toda a largura do form */
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 12px;
    box-sizing: border-box;
    animation: fadeIn 0.4s ease forwards;
}

.success-icon {
    font-size: 1.8rem;
    color: #2ecc71;
    flex-shrink: 0;
}

.success-text {
    font-size: 1.05rem;
    color: #2d2d2d;
    font-weight: 600;
    line-height: 1.5;
    font-family: "Poppins", sans-serif;
}

/* Animação suave */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===========================================================
   MOBILE — AJUSTES FINOS
=========================================================== */

@media (max-width: 600px) {

    .success-card {
        padding: 16px 18px;
        border-radius: 14px;
        gap: 10px;
        margin-top: 18px;
    }

    .success-icon {
        font-size: 1.6rem;
    }

    .success-text {
        font-size: 1rem;
        line-height: 1.45;
    }
}


/* ===========================================================
   COOKIE BANNER — ESTILO BELLEVIEW 2.0 (CORRIGIDO)
=========================================================== */

.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    border-radius: 16px;
    padding: 22px 26px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
    border: 1px solid #e6e6e6;
    z-index: 9999;
    display: none;

    /* CORREÇÃO CRÍTICA */
    width: auto;
    max-width: min(90vw, 420px);
    box-sizing: border-box;
}

.cookie-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cookie-text {
    font-size: 1.05rem;
    line-height: 1.55;
    color: #444;
    font-family: "Poppins", sans-serif;
    text-align: left;
}

.cookie-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.cookie-btn {
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
    font-family: "Poppins", sans-serif;
}

/* Botão Aceitar */
.cookie-btn.accept {
    background: #005c99;
    color: #ffffff;
}

.cookie-btn.accept:hover {
    background: #004b80;
}

/* Botão Recusar */
.cookie-btn.reject {
    background: #e6e6e6;
    color: #333;
}

.cookie-btn.reject:hover {
    background: #d5d5d5;
}

/* Mobile */
@media (max-width: 480px) {
    .cookie-banner {
        bottom: 16px;
        padding: 18px 20px;

        /* CORREÇÃO MOBILE */
        max-width: 92vw;
        left: 50%;
        transform: translateX(-50%);
    }

    .cookie-text {
        font-size: 0.95rem;
    }

    .cookie-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-btn {
        width: 100%;
        text-align: center;
    }
}

/* ===========================================================
   SECÇÃO PREMIUM — WRAPPER
=========================================================== */

.reviews-wrapper {
    display: flex;
    justify-content: center;
    padding: 80px 20px;
    background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
}

.reviews-container {
    background: #ffffff;
    border-radius: 28px;
    padding: 40px 35px; /* igual ao Contactos e Alojamento */
    max-width: 1200px; /* igual aos outros cards premium */
    width: 100%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border: 1px solid #e3e8ef;
    box-sizing: border-box;
}


/* ===========================================================
   TÍTULOS
=========================================================== */

.awards-title,
.reviews-title {
    font-family: "Poppins", sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #004b80;
    text-align: center;
    margin-bottom: 40px;
}

/* ===========================================================
   PRÉMIOS — GRID PREMIUM
=========================================================== */

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 28px;
    margin-bottom: 60px;
}

.award-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.08);
    border: 1px solid #e6e6e6;
    transition: 0.25s ease;
}

.award-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0,0,0,0.12);
}

.award-card img {
    width: 100%;
    border-radius: 16px;
}

.award-year {
    margin-top: 14px;
    font-size: 1.25rem;
    font-weight: 600;
    color: #004b80;
    text-align: center;
}

/* ===========================================================
   COMENTÁRIOS — SLIDER PREMIUM
=========================================================== */

.reviews-slider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.reviews-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 10px;
}

.review-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px 20px;
    width: 300px; /* 3 cards perfeitos em desktop */
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    border: 1px solid #e6e6e6;
    flex-shrink: 0;
    transition: 0.25s ease;
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.review-logo {
    height: 26px;
    opacity: 0.9;
}

.review-score {
    font-size: 1.1rem;
    font-weight: 700;
    color: #004b80;
}

.review-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 14px;
}

.review-author {
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
}

/* ===========================================================
   SETAS PREMIUM
=========================================================== */

.slider-btn {
    background: #004b80;
    color: #fff;
    border: none;
    font-size: 1.8rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.2s ease;
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.slider-btn:hover {
    background: #003a66;
}

.prev-btn {
    left: -55px; /* fora do slider */
}

.next-btn {
    right: -55px; /* fora do slider */
}

/* ===========================================================
   MOBILE
=========================================================== */

@media (max-width: 480px) {

    .reviews-container {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .award-card {
        padding: 18px;
    }

    .review-card {
        width: 260px; /* 1 card por slide */
        padding: 20px 16px;
    }

    .reviews-track {
        gap: 20px;
    }

    .prev-btn { left: -35px; }
    .next-btn { right: -35px; }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

.cb-item span {
    white-space: normal;
    word-break: break-word;
}

.cb-item {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.aloj-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

/* ANULAR REGRA GLOBAL DO FOOTER PARA CONTACTOS */
#contactos a[href^="tel"],
#contactos a[href^="mailto"],
#contactos a[href^="https://wa.me"] {
    color: #333 !important;
    -webkit-text-fill-color: #333 !important;
    text-decoration: none !important;
}

/* ===========================================================
   CORREÇÃO MOBILE — CONTACTOS COM A MESMA LARGURA DOS OUTROS
=========================================================== */

@media (max-width: 600px) {

    /* Remover padding duplicado do wrapper principal */
    #contactos {
        padding: 0 !important;
    }

    /* Wrapper igual aos outros cards premium */
    .contact-wrapper {
        padding: 50px 20px !important;
    }

    /* Container igual aos outros cards premium */
    .contact-container {
        padding: 24px 20px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box;
    }
}

/* ===========================================================
   CARD DE SUCESSO — BELLEVIEW 2.0 (DESKTOP + MOBILE)
=========================================================== */

.success-card {
    background: #e8f9f0;
    border: 1px solid #2ecc71;
    border-radius: 16px;
    padding: 18px 20px;
    margin-top: 22px;
    width: 100%;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    display: none;                     /* ← CORREÇÃO AQUI */
    align-items: center;
    gap: 12px;
    box-sizing: border-box;
    animation: fadeIn 0.4s ease forwards;
}

.success-icon {
    font-size: 1.8rem;
    color: #2ecc71;
    flex-shrink: 0;
}

.success-text {
    font-size: 1.05rem;
    color: #2d2d2d;
    font-weight: 600;
    line-height: 1.5;
    font-family: "Poppins", sans-serif;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .success-card {
        padding: 16px 18px;
        border-radius: 14px;
        gap: 10px;
        margin-top: 18px;
    }

    .success-icon {
        font-size: 1.6rem;
    }

    .success-text {
        font-size: 1rem;
        line-height: 1.45;
    }
}

/* ===========================================================
   POPUP DE SUCESSO — CENTRADO NA TELA
=========================================================== */

.success-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.success-popup-box {
    background: #e6f2fa;
    border: 2px solid #005c99;
    border-radius: 18px;
    padding: 26px 32px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.25);
    text-align: center;
    animation: fadeIn 0.3s ease forwards;
}

.success-popup-icon {
    font-size: 2.4rem;
    color: #005c99;
    display: block;
    margin-bottom: 12px;
}

.success-popup-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: #004b80;
    font-family: "Poppins", sans-serif;
}

@media (max-width: 600px) {
    .success-popup-box {
        padding: 22px 24px;
        border-radius: 14px;
    }
    .success-popup-text {
        font-size: 1.1rem;
    }
}

/* ===========================================================
   MODAL DE RESERVAS — BELLEVIEW 2.0 PREMIUM (VERSÃO FINAL)
=========================================================== */

.modal-bg {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    font-family: "Poppins", sans-serif;
}

/* Caixa do modal */
.modal-box {
    background: #ffffff;
    width: 92%;
    max-width: 400px;
    padding: 28px 26px;
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.25);
    position: relative;
    animation: modalFade 0.25s ease-out;
}

/* Animações */
@keyframes modalFade {
    from { opacity: 0; transform: scale(0.96) translateY(10px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes stepFade {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

#step1, #step2, #step3 {
    animation: stepFade 0.35s ease;
}

/* Título */
.modal-box h2 {
    margin: 0 0 12px 0;
    font-size: 1.45rem;
    font-weight: 700;
    color: #005c99;
    text-align: center;
}

/* Botão fechar */
.modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #005c99;
    cursor: pointer;
}

/* GRID EM DUAS COLUNAS */
.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 18px;
}

/* Força alinhamento vertical */
.modal-grid > div {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Labels */
.modal-box label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #003d66;
    margin-bottom: 4px;
    display: block;
}

/* Inputs e selects — ALTURA CONSISTENTE */
.modal-box input,
.modal-box select,
.modal-box textarea {
    width: 100%;
    height: 44px;
    line-height: 44px;
    padding: 0 12px;
    border: 1px solid #c7d7e6;
    border-radius: 10px;
    font-size: 0.9rem;
    background: #f4f8fc;
    color: #003d66;
    transition: 0.25s ease;
    box-sizing: border-box;
    appearance: none;
}

/* Corrige input date */
.modal-box input[type="date"] {
    appearance: none;
    -webkit-appearance: none;
    background-color: #f4f8fc;
    padding-left: 12px;
}

/* Select seta alinhada */
.modal-box select {
    background-image: url("data:image/svg+xml,%3Csvg fill='%23005c99' height='20' width='20' viewBox='0 0 20 20'%3E%3Cpath d='M5.516 7.548l4.484 4.484 4.484-4.484L16 8.548l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
    padding-right: 36px;
}

/* Textarea Step 2 — tamanho ideal */
.modal-box textarea {
    height: 70px;
    padding: 10px 12px;
    resize: none;
    line-height: 1.4;
}

/* Focus */
.modal-box input:focus,
.modal-box select:focus,
.modal-box textarea:focus {
    border-color: #0077cc;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0,92,153,0.15);
    outline: none;
}

/* Total de hóspedes */
.modal-total {
    grid-column: span 2;
    text-align: center;
    font-size: 0.9rem;
    color: #003d66;
    margin-top: 4px;
}

/* Botões */
.modal-btn {
    margin-top: 12px;
    padding: 14px;
    background: #0077cc;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 600;
    transition: 0.25s ease;
    width: 100%;
}

.modal-btn:hover {
    background: #005c99;
    transform: translateY(-2px);
}

/* Botão secundário (Voltar atrás) */
.modal-btn.secondary {
    background: #005c99;
}

.modal-btn.secondary:hover {
    background: #004d80;
}

/* Botão sucesso (Enviar Pedido de Cotação) */
.modal-btn.success {
    background: #28a745;
}

.modal-btn.success:hover {
    background: #1e7e34;
}

/* Mensagens */
.modal-msg {
    margin-top: 12px;
    padding: 12px;
    border-radius: 10px;
    font-size: 0.85rem;
    text-align: center;
    display: none;
}

.modal-msg.disponivel {
    background: #e6f7e6;
    color: #1a7a1a;
    border: 1px solid #b6e3b6;
}

.modal-msg.indisponivel {
    background: #ffe6e6;
    color: #b30000;
    border: 1px solid #ffb3b3;
}

/* Step 2 Header */
#step2Header {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: #005c99;
    margin-bottom: 20px;
    line-height: 1.4;
}

/* Step 3 */
#step3 h3 {
    color: #005c99;
    font-size: 1.55rem;
    margin-bottom: 12px;
}

#step3 p {
    font-size: 1.05rem;
    color: #333;
    line-height: 1.55;
    margin-bottom: 22px;
}

/* Mobile */
@media (max-width: 600px) {
    .modal-box {
        padding: 22px;
        max-width: 92%;
    }

    .modal-btn {
        font-size: 0.95rem;
        padding: 12px;
    }

    #step2Header {
        font-size: 1.1rem;
    }
}

/* Barra de progresso do modal */
.progress-bar {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    margin: 8px 0 18px 0;
}

.progress-step {
    flex: 1;
    height: 6px;
    background: #d0dbe5;
    border-radius: 4px;
    transition: 0.3s ease;
}

.progress-step.active {
    background: #005c99;
}

/* Linha Telefone + Indicativo */
.linha-telefone {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.linha-telefone select,
.linha-telefone input {
    height: 44px;
}

/* ===========================================================
   STEP 2 — COMPACTO COMO STEP 1
=========================================================== */

#step2 {
    display: flex;
    flex-direction: column;
    gap: 6px; /* mais compacto */
    margin-top: -4px; /* aproxima do topo */
}

/* Título interno compacto */
#step2 h3 {
    margin: 0 0 4px 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 600;
}

/* Grid interna igual ao Step 1 mas mais compacta */
#step2 .modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px; /* igual ao Step 1 */
    margin-top: 4px;
}

/* Labels compactos */
#step2 label {
    margin-bottom: 2px;
    font-size: 14px;
}

/* Inputs e selects mais baixos */
#step2 input,
#step2 select {
    height: 38px; /* igual ao Step 1 */
    margin-bottom: 2px;
}

/* Textarea mais pequeno */
#step2 textarea {
    height: 50px;
    resize: none;
    margin-bottom: 2px;
}

/* ===========================================================
   TELEFONE + INDICATIVO — PROPORÇÕES CORRETAS
=========================================================== */

/* Indicativo maior */
#step2 .indicativo {
    grid-column: span 1;
}

/* Telefone menor */
#step2 .telefone {
    grid-column: span 1;
}

/* Altura consistente */
#indicativoHospede,
#telefoneHospede {
    height: 38px;
}

/* ===========================================================
   BOTÕES — ALTURA IGUAL AO STEP 1
=========================================================== */

#step2 .modal-btn,
#step2 .modal-btn.secondary,
#step2 .modal-btn.success {
    height: 38px;
    padding: 6px 14px;
    font-size: 14px;
}

/* Aproxima os botões do conteúdo */
#step2 > div:last-child {
    margin-top: 6px !important;
}

/* ===========================================================
   STEP 2 — INFO BELLEVIEW 
=========================================================== */

.step2-info {
    text-align: center;
    margin: 10px 0 20px 0;
}

/* Datas + Resumo — mesmo estilo Belleview */
.step2-dates,
.step2-summary {
    color: #005c99; /* azul Belleview */
    font-weight: 600;
    font-size: 1rem;
    margin: 4px 0;
    font-family: "Poppins", sans-serif;
}

/* ===========================================================
   BOTÕES DO MODAL — BELLEVIEW PREMIUM
=========================================================== */

.modal-btn,
.modal-btn-secondary {
    width: 100%;
    padding: 14px 20px;
    margin-top: 16px;
    border-radius: 999px;
    border: none;
    font-family: "Poppins", sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.25;
    cursor: pointer;
    text-align: center;
    display: block;
    transition: background 0.25s ease, transform 0.2s ease;
}

.modal-btn {
    background: #005c99;
    color: #ffffff;
}

.modal-btn:hover {
    background: #0074c7;
    transform: translateY(-2px);
}

.modal-btn:active {
    transform: translateY(0);
}

.modal-btn-secondary {
    background: #e6eef5;
    color: #005c99;
}

.modal-btn-secondary:hover {
    background: #d9e7f2;
    transform: translateY(-2px);
}

/* ===========================================================
   BOTÃO FLUTUANTE — VOLTAR AO TOPO
=========================================================== */

.btn-topo {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #005c99;
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    font-family: "Inter", sans-serif;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 9999;
}

.btn-topo.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.btn-topo:hover {
    background: #0073c2;
    transform: scale(1.05);
}

/* ===========================================================
   BANNER DE COOKIES — BELLEVIEW PREMIUM
=========================================================== */

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
    width: 90%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.15);
    padding: 18px;
}

.cookie-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cookie-text {
    font-size: 14px;
    color: #333;
    text-align: center;
}

.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.cookie-btn {
    padding: 10px 18px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.cookie-btn.accept {
    background: #005c99;
    color: #fff;
}

.cookie-btn.reject {
    background: #ddd;
    color: #333;
}

@media (max-width: 600px) {
    .cookie-banner {
        bottom: 90px;
        width: 92%;
        padding: 16px;
    }
}

/* ===========================================================
   ALTERAR TAMANHO MODAL RESERVA
=========================================================== */

@media (min-width: 769px) {
    .modal-box {
        max-height: 80vh;      /* impede que fique gigante */
        overflow-y: auto;      /* scroll interno quando necessário */
    }
}

@media (min-width: 769px) {
    .modal-box {
        padding: 20px 22px;
        max-height: 75vh;
        overflow-y: auto;
    }
}

@media (min-width: 1024px) {

    /* Modal ainda mais compacto */
    .modal-box {
        max-width: 310px;
        padding: 10px 12px;
        border-radius: 10px;
    }

    /* Texto ainda menor */
    .modal-box * {
        font-size: 0.70rem !important;
        line-height: 1.12 !important;
    }

    /* Inputs super compactos */
    .modal-box input,
    .modal-box select {
        height: 24px !important;
        padding: 3px 5px !important;
        font-size: 0.70rem !important;
    }

    /* Labels mínimas */
    .modal-box label {
        margin-bottom: 2px !important;
        font-size: 0.68rem !important;
    }

    /* Grupos com espaço mínimo */
    .modal-box .form-group {
        margin-bottom: 5px !important;
    }

    /* Botões ultra compactos */
    .modal-box button {
        height: 28px !important;
        padding: 4px 6px !important;
        font-size: 0.72rem !important;
        margin-top: 8px !important;
    }

    /* Mensagem de disponibilidade mais pequena */
    .modal-box .mensagem-disponibilidade,
    .modal-box .msg,
    .modal-box .disponivel,
    .modal-box .indisponivel {
        font-size: 0.68rem !important;
        margin: 6px 0 !important;
        padding: 4px 6px !important;
    }

    /* Títulos reduzidos */
    .modal-box h2,
    .modal-box h3 {
        font-size: 0.85rem !important;
        margin-bottom: 5px !important;
    }

    /* Remove qualquer margem extra no fim do Step 2 */
    .step2 .form-group:last-child {
        margin-bottom: 4px !important;
    }
}

@media (min-width: 1024px) {

    /* Modal ainda mais compacto */
    .step2 .modal-box {
        max-width: 290px !important;
        padding: 6px 10px !important;
        border-radius: 10px !important;
    }

    /* Títulos mínimos */
    .step2 h2,
    .step2 h3 {
        font-size: 0.75rem !important;
        margin-bottom: 3px !important;
    }

    /* Resumo datas + hóspedes */
    .step2 .resumo-datas,
    .step2 .resumo-hospedes {
        font-size: 0.66rem !important;
        margin-bottom: 3px !important;
        line-height: 1.10 !important;
    }

    /* Inputs ultra compactos */
    .step2 input,
    .step2 select,
    .step2 textarea {
        height: 22px !important;
        padding: 2px 4px !important;
        font-size: 0.66rem !important;
    }

    /* Labels mínimas */
    .step2 label {
        font-size: 0.65rem !important;
        margin-bottom: 1px !important;
    }

    /* Grupos com espaço mínimo */
    .step2 .form-group {
        margin-bottom: 4px !important;
    }

    /* Botões ultra compactos */
    .step2 button {
        height: 26px !important;
        padding: 3px 5px !important;
        font-size: 0.70rem !important;
        margin-top: 4px !important;
    }

    /* Botão voltar atrás */
    .step2 .modal-btn-secondary {
        margin-top: 2px !important;
    }

    /* Botão enviar pedido */
    .step2 .modal-btn {
        margin-top: 4px !important;
    }
}

@media (min-width: 1024px) {

    /* Modal Step 2 com altura fixa */
    .step2 .modal-box {
        max-width: 290px !important;
        height: 420px !important;          /* altura fixa */
        padding: 6px 10px !important;
        border-radius: 10px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important; /* distribui conteúdo */
    }

    /* Conteúdo interno ajustado */
    .step2 .modal-content {
        flex: 1 1 auto !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }

    /* Inputs e grupos ainda mais compactos */
    .step2 input,
    .step2 select,
    .step2 textarea {
        height: 22px !important;
        padding: 2px 4px !important;
        font-size: 0.66rem !important;
    }

    .step2 .form-group {
        margin-bottom: 3px !important;
    }

    /* Botões fixos na base */
    .step2 .modal-btn,
    .step2 .modal-btn-secondary {
        height: 26px !important;
        padding: 3px 5px !important;
        font-size: 0.70rem !important;
        margin-top: 4px !important;
        flex-shrink: 0 !important;
    }
}

@media (min-width: 1024px) {

    /* Remove scroll global do modal no desktop */
    .modal-box {
        max-height: none !important;
        overflow-y: visible !important;
    }

    /* Step 2 controla a altura */
    .step2 .modal-box {
        height: 420px !important;
    }
}

@media (min-width: 1024px) {

    @media (min-width: 1024px) {

    /* Botão X — tamanho premium e independente */
    .modal-close {
        position: absolute !important;
        top: 8px !important;
        right: 8px !important;

        width: 32px !important;
        height: 32px !important;

        font-size: 1.6rem !important;
        line-height: 32px !important;

        background: transparent !important;
        border: none !important;
        color: #333 !important;
        cursor: pointer !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}
@media (min-width: 1024px) {

    /* O segredo: impedir que o X herde estilos do modal */
    #fecharModal,
    .modal-close {
        all: unset !important; /* limpa tudo o que herdou */
        position: absolute !important;

        top: 8px !important;
        right: 8px !important;

        width: 32px !important;
        height: 32px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        font-size: 1.8rem !important;
        font-weight: bold !important;
        line-height: 32px !important;

        cursor: pointer !important;
        color: #333 !important;
    }
}

@media (min-width: 1024px) {

    .modal-close:hover {
        color: #0077c2 !important; /* Azul Belleview mais claro no hover */
        transition: 0.2s ease-in-out;
    }
}

@media (min-width: 1024px) {

    #modal .modal-box #fecharModal {
        all: unset !important;
        position: absolute !important;

        top: 8px !important;
        right: 8px !important;

        width: 32px !important;
        height: 32px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        font-size: 1.8rem !important;
        font-weight: bold !important;
        line-height: 32px !important;

        cursor: pointer !important;
        color: #005c99 !important; /* Azul Belleview */
    }
}

header a,
header .logo a,
header .site-title a {
    text-decoration: none !important;
}

@media (max-width: 767px) {

    .card-title,
    .alojamento-card-title,
    .apartment-title {
        white-space: normal !important;      /* permite quebrar linha */
        word-break: break-word !important;   /* quebra palavras longas */
        overflow-wrap: break-word !important;/* fallback */
        hyphens: auto !important;            /* adiciona hífen automático */
        font-size: 0.95rem !important;       /* ligeiro ajuste opcional */
        line-height: 1.2 !important;
    }
}

