/*
 * O desenho da LP João Branquinho (cópia de joaobranquinhoempreendimento.com).
 * Valores do levantamento: computador primeiro, telemóvel (até 767 px) no fim.
 */

:root {
    --verde: #61ce70;
    --verde-texto: #247a4e;
    --azul: #024959;
    --escuro: #012831;
    --claro: #e7eef0;
    --letra: 'DM Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    text-wrap: balance;
    margin: 0;
    background: var(--claro);
    color: #333;
    font: 400 16px/24px -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
}

/* A textura e a barra escondida da LP antiga */
html::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(at 20% 80%, #fff 1px, transparent 0px);
    background-size: 3px 3px;
    pointer-events: none;
    z-index: 999;
    opacity: 0.025;
    mix-blend-mode: plus-lighter;
    user-select: none;
}
::-webkit-scrollbar {
    display: none;
}

svg:not([fill]) {
    fill: currentColor;
}

a {
    color: inherit;
}

/* ---------- Cabeçalho ---------- */
.topo {
    position: sticky;
    top: 0;
    z-index: 50;
    height: 108px;
    box-sizing: border-box;
    padding: 14.39px max(10px, calc((100% - 1140px) / 2)) 0;
}
.topo-interior {
    display: grid;
    grid-template-columns: 159px 1fr 198px;
    gap: 20px;
    align-items: center;
    height: 94px;
    max-width: 1140px;
    margin: 0 auto;
    padding: 11.39px 34.19px;
    border-radius: 24px;
    background: rgba(231, 238, 240, 0.46);
    backdrop-filter: blur(10px);
}
.topo-logo {
    display: block;
    width: 111px;
}
.topo-logo img {
    display: block;
    width: 111px;
    height: 71px;
    border-radius: 4px;
}
.topo-nav {
    display: contents;
}
.topo-lista {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
}
.topo-ligacao {
    display: flex;
    align-items: center;
    padding: 13px 20px;
    color: #012831;
    font: 400 18px/23.4px 'Inter Tight', sans-serif;
    text-decoration: none;
}
.topo-ligacao:hover {
    color: var(--verde);
}
.topo-acao {
    justify-self: end;
}
.idiomas {
    display: flex;
    align-items: center;
}
.idioma {
    display: flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 6px;
    color: #012831;
    font: 500 14px/21px 'Inter Tight', sans-serif;
    letter-spacing: 0.5px;
    opacity: 0.6;
    text-decoration: none;
}
.idioma-atual {
    background: var(--verde);
    color: #000;
    font-weight: 700;
    opacity: 1;
}
.idioma-sep {
    padding: 0 6px;
    color: rgba(255, 255, 255, 0.25);
    font: 400 14px/21px 'Inter Tight', sans-serif;
}
.topo-botao {
    display: none;
}

/* ---------- Topo simples (páginas legais) ---------- */
.topo-simples {
    background: #fff;
}
.topo-simples-interior {
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    max-width: 1140px;
    height: 78px;
    margin: 0 auto;
    padding: 10px 0;
}
.topo-simples-logo {
    display: block;
    width: 91px;
    height: 58px;
}
.topo-simples-logo img {
    display: block;
    width: 91px;
    height: auto;
    border-radius: 4px;
}

/* ---------- Herói ---------- */
.heroi {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-sizing: border-box;
    min-height: 882px;
    margin-top: -100.8px;
    overflow: hidden;
    background: #000;
}
.heroi-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.heroi-interior {
    position: relative;
    display: flex;
    justify-content: center;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 0 100.8px;
}
.botao-contorno {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 18px 60px;
    border: 2px solid #fff;
    border-radius: 6px;
    color: #fff;
    font: 600 18px/18px var(--letra);
    letter-spacing: 0.8px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.3s, color 0.3s;
}
.botao-contorno svg {
    width: 18px;
    height: 18px;
    flex: none;
}
.botao-contorno:hover {
    background: #fff;
    color: var(--escuro);
}

/* ---------- Textos de secção ---------- */
.etiqueta {
    margin: 8px 0 10px;
    color: var(--verde);
    font: 400 18px/21.6px var(--letra);
    letter-spacing: 1.9px;
    text-transform: uppercase;
}
.titulo {
    margin: 0;
    color: var(--escuro);
    font: 400 48px/50px var(--letra);
}

/* ---------- Introdução ---------- */
.intro {
    padding: 0 43.19px;
}
.intro-interior {
    display: flex;
    gap: 20px;
    box-sizing: border-box;
    max-width: 1140px;
    margin: 0 auto;
    padding: 27.06px 0 0;
}
.intro-titulo {
    box-sizing: border-box;
    flex: 0 0 49%;
    padding: 10px;
}
.intro-texto {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    flex: 0 0 49%;
    padding: 10px;
}
.intro-texto p {
    margin: 0;
    color: var(--azul);
    font: 400 16px/25.6px var(--letra);
}

/* ---------- Cartões pequenos ---------- */
.chips {
    display: flex;
    justify-content: space-between;
    gap: 5px;
    box-sizing: border-box;
    max-width: 1140px;
    margin: 0 auto;
}
.chips-a {
    padding: 14.39px 0 28.8px;
}
.chips-b {
    padding: 14.39px 0 72px;
}
.chip {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 9px;
    box-sizing: border-box;
    height: 40px;
    padding: 4px 8px;
    border: 1px solid rgba(2, 73, 89, 0.14);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.63);
}
.chip-icone {
    display: block;
    flex: none;
    width: 28px;
    height: 28px;
    color: var(--verde);
    line-height: 0;
}
.chip-icone svg {
    width: 28px;
    height: 28px;
}
.chip-texto {
    color: var(--verde-texto);
    font: 400 15px/18px var(--letra);
    white-space: nowrap;
}

/* ---------- Sobre ---------- */
.sobre {
    display: flex;
    flex-direction: row-reverse;
    align-items: stretch;
    min-height: 720px;
}
.sobre-texto {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    flex: 0 0 50%;
    padding: 43.19px;
}
.sobre-titulo {
    max-width: 380px;
}
.sobre-paragrafo {
    max-width: 412px;
    margin: 0;
    color: var(--azul);
    font: 400 20px/30px var(--letra);
}
.sobre-imagem {
    flex: 0 0 50%;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ---------- Pilares ---------- */
.pilares {
    padding: 0 72px;
    background: #011f25;
}
.pilares-interior {
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-sizing: border-box;
    max-width: 1140px;
    margin: 0 auto;
    padding: 72px 0;
}
.selo {
    align-self: center;
    display: inline-flex;
    align-items: center;
    padding: 4px 20px;
    border: 1px solid rgba(97, 206, 112, 0.314);
    border-radius: 9999px;
    background: rgba(97, 206, 112, 0.125);
    color: var(--verde);
    font: 400 14px/21px Manrope, sans-serif;
}
.selo-ponto {
    width: 8px;
    height: 8px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--verde);
    animation: pulso 2s ease-in-out infinite;
}
@keyframes pulso {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.9);
    }
}
.pilares-titulo {
    margin: 8px 0 16px;
    color: #fff;
    font: 400 48px/57.6px var(--letra);
    text-align: center;
}
.pilares-grelha {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 10px;
}
.pilar {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding: 30px;
    border: 1px solid rgba(97, 206, 112, 0.22);
    border-radius: 8px;
    background: var(--escuro);
    box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.1);
}
.pilar-icone {
    display: block;
    margin-bottom: 15px;
    width: 50px;
    height: 50px;
    box-sizing: border-box;
    padding: 12.5px;
    border-radius: 10px;
    background: rgba(97, 206, 112, 0.22);
    color: var(--verde);
    line-height: 0;
}
.pilar-icone svg {
    width: 25px;
    height: 25px;
}
.pilar h3 {
    margin: 8px 0 16px;
    color: #fff;
    font: 600 20px/30px var(--letra);
}
.pilar p {
    margin: 0;
    color: #e5e5e5;
    font: 400 16px/24px var(--letra);
}

/* ---------- Faixas de imagem ---------- */
.faixa {
    height: 500px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
}
.faixa-fixa {
    background-attachment: fixed;
}

/* ---------- Villas ---------- */
.villas {
    padding: 0 72px;
}
.villas-interior {
    display: flex;
    gap: 20px;
    box-sizing: border-box;
    max-width: 1140px;
    margin: 0 auto;
    padding: 64.8px 0 25.9px;
}
.villas-texto {
    box-sizing: border-box;
    flex: 0 0 49%;
    padding: 10px;
}
.villas-paragrafo {
    margin: 20px 0 0;
    color: var(--azul);
    font: 400 16px/22.4px var(--letra);
}
.villas-tabela {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 0 0 49%;
    padding: 10px;
}
.villa-linha {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 28px;
}
.villa-v {
    margin: 0;
    color: var(--escuro);
    font: 700 20px/20px 'Playfair Display', sans-serif;
}
.villa-dado {
    margin: 0;
    color: var(--azul);
    font: 400 14px/14px var(--letra);
}
.etiqueta-verde {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border: 1px solid rgba(97, 206, 112, 0.314);
    border-radius: 9999px;
    background: rgba(97, 206, 112, 0.125);
    color: var(--verde);
    font: 400 12px/18px Manrope, sans-serif;
}
.villa-risco {
    padding: 5px 0;
    margin-top: 10px;
}
.villa-risco span {
    display: block;
    border-top: 1px solid rgba(1, 40, 49, 0.15);
}

/* ---------- Localização ---------- */
.localizacao {
    padding: 0 72px;
}
.localizacao-interior {
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-sizing: border-box;
    max-width: 1140px;
    margin: 0 auto;
    padding: 64.8px 0;
}
.localizacao-titulo {
    box-sizing: border-box;
    align-self: center;
    width: 570px;
    max-width: 100%;
    text-align: center;
}
.mapa {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    line-height: 0;
}
.mapa img {
    display: block;
    width: 100%;
    height: auto;
}
.mapa-movel {
    display: none;
}
.ponto-verde {
    position: absolute;
    width: 25px;
    height: 25px;
    margin: -12.5px 0 0 -12.5px;
    border-radius: 50%;
    background: var(--verde);
}
.ponto-verde i {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--verde);
    animation: onda 2s ease-out infinite;
}
@keyframes onda {
    0% {
        opacity: 0.4;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.8);
    }
}
.ponto {
    position: absolute;
    width: 54px;
    height: 54px;
    margin: -27px 0 0 -27px;
}
.ponto-botao {
    display: grid;
    place-items: center;
    box-sizing: border-box;
    width: 54px;
    height: 54px;
    padding: 4px;
    border: 0;
    border-radius: 250px;
    background: var(--escuro);
    color: var(--verde);
    cursor: pointer;
}
.ponto-botao svg {
    width: auto;
    height: 25px;
    fill: currentColor; /* como no antigo: os ícones de traço ficam cheios */
}
.ponto-dica {
    position: absolute;
    z-index: 5;
    top: 59px;
    left: -102.5px;
    box-sizing: border-box;
    width: 259px;
    padding: 10px 15px;
    border-radius: 10px;
    background: var(--claro);
    color: var(--escuro);
    font: 400 16px/24px var(--letra);
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
}
.ponto:hover .ponto-dica,
.ponto:focus-within .ponto-dica {
    opacity: 1;
    visibility: visible;
}
.ponto-dica p {
    margin: 0;
    line-height: 24px;
}
.ponto-dica ul {
    margin: 0;
    padding: 0 0 0 40px;
}
.chips-local {
    justify-content: center;
    gap: 20px;
    padding: 0;
}
.chips-local .chip {
    flex: 0 1 auto;
    min-width: 0;
    height: auto;
    min-height: 58px;
}
.chips-local .chip-texto {
    white-space: normal;
}

/* ---------- Fale com um especialista ---------- */
.especialista {
    padding: 0 43.19px;
    background: var(--escuro);
}
.especialista-interior {
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-sizing: border-box;
    max-width: 1140px;
    margin: 0 auto;
    padding: 67.67px 0;
}
.especialista-titulo {
    align-self: center;
    text-align: center;
}
.especialista-titulo .titulo {
    color: #fff;
}
.especialista-subtitulo {
    margin: 0;
    color: var(--claro);
    font: 400 20px/28px var(--letra);
    text-align: center;
}
.especialista-cartoes {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 10px;
}
.cartao {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: 448px;
    padding: 30px;
    border: 1px solid rgba(97, 206, 112, 0.22);
    border-radius: 8px;
    background: var(--escuro);
    box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.1);
}
.cartao-icone {
    display: block;
    margin-bottom: 15px;
    width: 50px;
    height: 50px;
    box-sizing: border-box;
    padding: 12.5px;
    border-radius: 10px;
    background: rgba(231, 238, 240, 0.91);
    color: var(--verde);
    line-height: 0;
}
.cartao-icone svg {
    width: 25px;
    height: 25px;
}
.cartao h3 {
    margin: 8px 0 16px;
    color: #fff;
    font: 400 32px/48px var(--letra);
}
.cartao h3 a {
    text-decoration: none;
}

/* ---------- Contacto ---------- */
.contacto {
    padding: 0 72px;
}
.contacto-interior {
    display: flex;
    box-sizing: border-box;
    max-width: 1140px;
    margin: 0 auto;
    padding: 64.8px 0;
}
.contacto-formulario {
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-sizing: border-box;
    flex: 0 0 50%;
    padding: 25px;
    border-radius: 12px 0 0 12px;
    background: #fff;
}
.contacto-imagem {
    flex: 0 0 50%;
    border-radius: 0 12px 12px 0;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
}
.contacto-aviso {
    margin: 0;
    color: #b3b3b3;
    font: 400 12px/15.6px var(--letra);
}

/* ---------- Formulário ---------- */
.formulario {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.formulario-linha {
    display: flex;
    gap: 10px;
}
.formulario-linha .campo {
    flex: 1 1 0;
    min-width: 0;
}
.campo {
    display: flex;
    flex-direction: column;
}
.campo label {
    padding: 0 0 7px;
    color: var(--azul);
    font: 400 16px/24px var(--letra);
}
.campo input:not([type='checkbox']),
.campo select,
.campo textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 40px;
    border: 1px solid rgba(126, 148, 195, 0.27);
    border-radius: 3px;
    background: rgba(92, 137, 199, 0.02);
    color: var(--azul);
    font: 400 16px/24px Manrope, sans-serif;
}
.campo input:not([type='checkbox']) {
    height: 42px;
    padding: 8px 16px;
}
.campo select {
    height: 40px;
    padding: 5px 20px 5px 14px;
}
.campo-select {
    position: relative;
}
.campo-select select {
    appearance: none;
    -webkit-appearance: none;
}
.campo-select svg {
    position: absolute;
    top: 14px;
    right: 10px;
    width: 11px;
    height: 11px;
    color: var(--azul);
    pointer-events: none;
}
.campo input::placeholder,
.campo textarea::placeholder {
    color: #1d1d1d;
    opacity: 1;
}
.campo textarea {
    height: 108px;
    padding: 5px 14px;
    resize: vertical;
}
.campo-caixas {
    flex-direction: row;
    height: 26px;
}
.campo-caixas span {
    display: flex;
    align-items: center;
    padding: 0 10px 0 0;
}
.campo-caixas label {
    padding: 0;
    font: 400 16px/22px Manrope, sans-serif;
}
.campo-caixas input {
    margin: 0 4px 0 0;
}
.formulario-botao {
    height: 55px;
    padding: 15px 0;
    border: 0;
    border-radius: 8px;
    background-image: linear-gradient(90deg, rgb(31, 166, 74) 0%, rgb(79, 227, 138) 50%, rgb(31, 166, 74) 100%);
    color: #fff;
    cursor: pointer;
    font: 500 18px/25.2px var(--letra);
    text-align: center;
    transition: transform 0.3s;
}
.formulario-botao:hover {
    transform: translateY(-2px);
}
.formulario-botao:disabled {
    opacity: 0.7;
    cursor: default;
}
.formulario-erro {
    margin: 0;
    color: #c0392b;
    font: 400 14px/20px var(--letra);
}

/* ---------- Logótipos ---------- */
.logos {
    padding: 0 10px;
    background: #001e25;
}
.logos-interior {
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    max-width: 1140px;
    margin: 0 auto;
    padding: 10px 0;
}
.logos-interior a {
    display: block;
    width: 266px;
}
.logos-interior img {
    display: block;
    width: 266px;
    height: auto;
}

/* ---------- Rodapé ---------- */
.rodape {
    padding: 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #001e25;
}
.rodape-interior {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
    box-sizing: border-box;
    max-width: 1280px;
    margin: 0 auto;
    padding: 50px 0;
}
.rodape-coluna {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 243px;
}
.rodape-marca {
    width: 256px;
}
.rodape-contacto {
    width: 218px;
}
.rodape-marca img {
    display: block;
    width: 151px;
    height: auto;
}
.rodape-registo {
    display: flex;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: rgba(255, 255, 255, 0.6);
    font: 400 14px/21px 'Inter Tight', sans-serif;
}
.rodape h6 {
    margin: 0;
    color: #fff;
    font: 600 20px/30px var(--letra);
}
.rodape-lista {
    margin: 0;
    padding: 0;
    list-style: none;
}
.rodape-lista li {
    padding-bottom: 6px;
}
.rodape-lista li + li {
    margin-top: 6px;
}
.rodape-lista li:last-child {
    padding-bottom: 0;
}
.rodape-lista a {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
    font: 400 14px/21px var(--letra);
    text-decoration: none;
}
.rodape-lista a:hover {
    color: var(--verde);
}
.rodape-contacto .rodape-lista a svg {
    flex: none;
    width: 12px;
    height: 12px;
    color: #024959;
    margin-right: 3px;
}
.rodape-contacto .rodape-lista a span {
    padding-left: 5px;
}
.rodape-redes {
    display: flex;
    gap: 5px;
}
.rodape-redes a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 10%;
    color: #99a5a8;
}
.rodape-redes a:hover {
    color: var(--verde);
}
.rodape-redes svg {
    width: 25px;
    height: 25px;
}

.copyright {
    padding: 0 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #001e25;
}
.copyright-interior {
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    max-width: 1140px;
    margin: 0 auto;
    padding: 20px 0;
}
.copyright p {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.6);
    font: 400 14px/21px 'Inter Tight', sans-serif;
    text-align: center;
}
.copyright-legal p {
    margin-bottom: 34.4px;
}
.copyright a {
    display: flex;
    align-items: center;
    height: 24px;
    line-height: 0;
}
.copyright img {
    display: block;
    width: 110px;
    height: auto;
}

/* ---------- Botões flutuantes ---------- */
.flutuante-topo {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    position: fixed;
    z-index: 40;
    left: 72px;
    bottom: 45px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    width: 39px;
    height: 39px;
    border-radius: 200px;
    background: var(--azul);
    color: #fff;
}
.flutuante-topo[data-visivel] {
    opacity: 1;
}
.flutuante-topo svg {
    width: 15px;
    height: 15px;
}
.flutuante-whatsapp {
    position: fixed;
    z-index: 40;
    right: 72px;
    bottom: 45px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--azul);
    color: #fff;
}
.flutuante-whatsapp svg {
    width: 35px;
    height: 35px;
}

/* ---------- Páginas legais ---------- */
.legal {
    padding: 0 72px;
    background: var(--claro);
}
.legal-interior {
    box-sizing: border-box;
    max-width: 1140px;
    margin: 0 auto;
    padding: 64.8px 0;
}
.legal-coluna {
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-sizing: border-box;
    padding: 25px;
    border-radius: 12px;
    background: #fff;
    color: var(--escuro);
    font-family: 'Inter Tight', sans-serif;
}
.legal-coluna h1 {
    margin: 0;
    font: 600 40px/40px 'Inter Tight', sans-serif;
}
.legal-texto {
    font: 400 16px/24px 'Inter Tight', sans-serif;
}
.legal-texto h1 {
    margin: 8px 0 16px;
    font: 500 40px/48px 'Inter Tight', sans-serif;
}
.legal-texto h2 {
    margin: 8px 0 16px;
    font: 500 32px/38.4px 'Inter Tight', sans-serif;
}
.legal-texto h3 {
    margin: 8px 0 16px;
    font: 500 28px/33.6px 'Inter Tight', sans-serif;
}
.legal-texto p {
    margin: 0 0 14.4px;
}
.legal-texto ul {
    margin: 0;
    padding: 0 0 0 40px;
}
.legal-texto a {
    color: #cc3366;
    text-decoration: none;
}

/* ---------- Ecrãs mais estreitos que o conteúdo (a antiga encolhia): sem barra horizontal ---------- */
@media (max-width: 1199px) {
    .chips {
        flex-wrap: wrap;
        justify-content: center;
    }
    .topo-interior {
        grid-template-columns: auto 1fr auto;
    }
}

/* ---------- Tablet e telemóvel: o mapa do telemóvel passa a mostrar-se até 1024 px ---------- */
@media (max-width: 1024px) {
    .mapa-grande {
        display: none;
    }
    .mapa-movel {
        display: block;
    }
    .ponto {
        width: 28px;
        height: 28px;
        margin: -14px 0 0 -14px;
    }
    .ponto-botao {
        width: 28px;
        height: 28px;
        padding: 2px;
    }
    .ponto-botao svg {
        height: 14px;
    }
    .ponto-dica {
        top: 33px;
        left: -115.5px;
    }
    .ponto-verde {
        width: 18px;
        height: 18px;
        margin: -9px 0 0 -9px;
    }
}

/* ---------- Telemóvel ---------- */
@media (max-width: 767px) {
    .topo {
        height: 95px;
        padding: 3.89px 0 0;
    }
    .topo-interior {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 91px;
        padding: 19.5px;
        border-radius: 24px;
        position: relative;
    }
    .topo-logo,
    .topo-logo img {
        width: 81px;
        height: 52px;
    }
    .topo-acao {
        display: none;
    }
    .topo-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin-top: 10px;
        background: #fff;
    }
    .topo[data-aberto] .topo-nav {
        display: block;
    }
    .topo-lista {
        display: block;
    }
    .topo-ligacao {
        justify-content: center;
        padding: 10px 20px;
        font: 400 14px/16.8px Roboto, sans-serif;
    }
    .topo-botao {
        display: flex;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
        width: 33px;
        height: 33px;
        padding: 5.5px;
        border: 0;
        border-radius: 3px;
        background: rgba(0, 0, 0, 0.05);
        color: var(--azul);
        cursor: pointer;
    }
    .topo-barras {
        position: relative;
        display: block;
        width: 22px;
        height: 2px;
        background: currentColor;
        box-shadow: 0 -7px 0 currentColor, 0 7px 0 currentColor;
    }
    .topo-simples-interior {
        height: 44px;
    }
    .topo-simples-logo {
        width: 30px;
        height: 24px;
    }
    .topo-simples-logo img {
        width: 21px;
        margin-top: 7px;
    }

    .heroi {
        min-height: 760px;
        margin-top: -27.3px;
        padding: 0 7.8px;
    }
    .heroi-interior {
        display: block;
        padding: 7.48px 0 56.16px;
    }
    .botao-contorno {
        display: flex;
        width: 100%;
        box-sizing: border-box;
    }

    .etiqueta {
        font-size: 12px;
        line-height: 14.4px;
    }
    .titulo {
        font-size: 28px;
        line-height: 32px;
    }

    .intro {
        padding: 0 11.69px;
    }
    .intro-interior {
        flex-direction: column;
        padding: 7.33px 0 0;
        text-align: center;
    }
    .intro-titulo,
    .intro-texto {
        flex: none;
    }

    .chips {
        flex-wrap: wrap;
        justify-content: center;
    }
    .chips-a {
        padding: 3.89px 0 7.8px;
    }
    .chips-b {
        padding: 3.89px 0 19.5px;
    }
    .chip {
        flex-direction: column;
        justify-content: flex-start;
        gap: 9px;
        height: auto;
        text-align: center;
    }
    .chip-texto {
        margin: 8px 0 4px;
        white-space: normal;
    }

    .sobre {
        flex-direction: column-reverse;
        min-height: 627px;
    }
    .sobre-texto {
        flex: none;
        padding: 11.69px;
        text-align: center;
    }
    .sobre-titulo {
        max-width: none;
    }
    .sobre-paragrafo {
        max-width: none;
        padding: 0 19px;
        font-size: 18px;
        line-height: 27px;
    }
    .sobre-imagem {
        flex: none;
        height: 298px;
    }

    .pilares {
        padding: 0 19.5px;
    }
    .pilares-interior {
        padding: 78px 0 39px;
    }
    .pilares-titulo {
        font-size: 36px;
        line-height: 43.2px;
    }
    .pilares-grelha {
        grid-template-columns: 1fr;
    }
    .pilar {
        align-items: center;
        text-align: center;
    }

    .faixa {
        height: 204px;
    }
    .faixa-fixa {
        background-attachment: scroll;
    }

    .villas {
        padding: 0 19.5px;
    }
    .villas-interior {
        flex-direction: column;
        padding: 17.55px 0 7px;
    }
    .villas-texto {
        flex: none;
        text-align: center;
    }
    .villas-tabela {
        flex: none;
        padding: 0;
    }
    .villa-dado {
        font-size: 12px;
        line-height: 12px;
    }

    .localizacao {
        padding: 0 19.5px;
    }
    .localizacao-interior {
        padding: 17.55px 0;
    }
    .chips-local {
        gap: 4px;
    }
    .chips-local .chip {
        flex: 0 0 auto;
        gap: 9px;
    }
    .chips-local .chip-icone,
    .chips-local .chip-icone svg {
        width: 20px;
        height: 20px;
    }
    .chips-local .chip-texto {
        font-size: 12px;
        line-height: 14.4px;
        white-space: nowrap;
    }

    .especialista {
        padding: 0 11.69px;
    }
    .especialista-interior {
        padding: 18.33px 0;
    }
    .especialista-titulo .etiqueta {
        font-size: 14px;
        line-height: 16.8px;
    }
    .especialista-subtitulo {
        font-size: 14px;
        line-height: 19.6px;
    }
    .especialista-cartoes {
        flex-direction: column;
        align-items: center;
    }
    .cartao {
        align-items: center;
        width: 100%;
        text-align: center;
    }

    .contacto {
        padding: 0 5px;
    }
    .contacto-interior {
        flex-direction: column-reverse;
        padding: 20px 0;
    }
    .contacto-formulario {
        flex: none;
        padding: 10px;
        border-radius: 0;
        text-align: center;
    }
    .contacto-imagem {
        flex: none;
        height: 134px;
        border-radius: 0;
    }
    .campo label {
        line-height: 22.4px;
        text-align: left;
    }
    .campo input:not([type='checkbox']) {
        height: 40px;
        line-height: 22.4px;
    }
    .campo select {
        line-height: 22.4px;
    }
    .campo textarea {
        height: 102px;
        line-height: 22.4px;
    }
    .campo-caixas {
        height: 25px;
    }
    .formulario-linha {
        flex-direction: column;
    }
    .contacto-aviso {
        font-size: 10px;
        line-height: 13px;
    }

    .logos-interior {
        flex-direction: column;
        align-items: center;
    }
    .logos-interior a,
    .logos-interior img {
        width: 259px;
    }

    .rodape {
        padding: 0 19.5px;
    }
    .rodape-interior {
        flex-direction: column;
        align-items: center;
        gap: 40px 20px;
        padding: 39px 0;
        text-align: center;
    }
    .rodape-coluna,
    .rodape-marca,
    .rodape-contacto {
        align-items: center;
        gap: 30px;
        width: auto;
    }
    .rodape h6 {
        font-size: 24px;
        line-height: 28.8px;
    }
    .rodape-lista a {
        justify-content: center;
        font-size: 16px;
        line-height: 22.4px;
    }
    .rodape-marca img {
        width: 148px;
    }

    .copyright p {
        font-size: 15px;
        line-height: 24px;
    }
    .copyright img {
        width: 70px;
    }

    .flutuante-topo {
        left: 19.5px;
        bottom: 42px;
    }
    .flutuante-whatsapp {
        right: 20px;
        bottom: 20px;
        width: 48px;
        height: 48px;
    }
    .flutuante-whatsapp svg {
        width: 24px;
        height: 24px;
    }

    .legal {
        padding: 0 19.5px;
    }
    .legal-interior {
        padding: 17.55px 0;
    }
}

/* A caixa da política, à vista (20/11: antes o consentimento ia escondido). */
.formulario-aceite {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin: 4px 0;
    font-size: 13px;
    line-height: 18px;
    text-align: left;
}
.formulario-aceite a {
    color: inherit;
    text-decoration: underline;
}
