@import url('../fontes/instrument-sans.css');

:root {
    --azul-escuro: #00263F;
    --azul: #005E88;
    --azul-claro: #6EC1E4;
    --cinza-fundo: #F1F3F5;
    --branco: #FFFFFF;
    --texto-suave: rgba(0, 38, 63, .71);
    --linha: rgba(0, 38, 63, .12);
    --container: 1176px;
    --margem-lateral: 40px;
    --secao: 96px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 104px;
    -webkit-text-size-adjust: 100%;
    /* espaço da barra de rolagem sempre reservado: sem isto a página inteira
       pula alguns pixels para o lado quando a barra aparece ou some */
    scrollbar-gutter: stable;
    overflow-y: auto;
}

@supports not (scrollbar-gutter: stable) {
    html {
        overflow-y: scroll;
    }
}

body {
    margin: 0;
    font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--azul-escuro);
    background: var(--branco);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
p,
ul {
    margin: 0;
}

/* ---------- estrutura ---------- */

.secao {
    padding: 0 var(--margem-lateral);
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
}

.secao--cinza {
    background: var(--cinza-fundo);
}

.secao--escura {
    background: var(--azul-escuro);
    color: var(--branco);
}

.secao--azul {
    background: var(--azul);
    color: var(--branco);
}

.bloco {
    padding: var(--secao) 0;
}

.bloco--pilha {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.titulo-secao {
    font-size: 36px;
    font-weight: 700;
    line-height: 36px;
    color: var(--azul);
}

.secao--escura .titulo-secao,
.secao--azul .titulo-secao {
    color: var(--branco);
}

/* ---------- cabecalho ---------- */

.topo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 104px;
}

.topo__logo img {
    width: 332px;
    height: auto;
}

.menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    padding: 0;
}

.menu a {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    transition: opacity .2s;
}

.menu a:hover {
    opacity: .7;
}

.menu-botao {
    display: none;
    background: none;
    border: 0;
    padding: 8px;
    cursor: pointer;
    color: inherit;
}

.menu-botao svg {
    display: block;
}

/* cabecalho das paginas internas: fundo branco */
.cabecalho--solido {
    background: var(--branco);
    position: relative;
    z-index: 20;
}

/* ---------- hero da home ---------- */

.hero {
    position: relative;
    min-height: 100vh;
    padding: 0 var(--margem-lateral);
    display: flex;
    flex-direction: column;
    background-color: #f8f8f8;
    background-image: url('../img/hero-home.jpg');
    background-position: 50% 0%;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero__topo {
    width: 100%;
}

.hero__conteudo {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 48px;
    text-align: center;
}

.hero__titulo {
    max-width: 800px;
    font-size: 64px;
    font-weight: 700;
    line-height: 76px;
    color: var(--branco);
}

/* ---------- botoes ---------- */

.botao {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-width: 340px;
    padding: 18px 32px;
    border-radius: 999px;
    background: var(--branco);
    color: var(--azul-escuro);
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
    transition: transform .2s, box-shadow .2s;
}

.botao:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}

.botao svg {
    flex-shrink: 0;
}

.botao--azul {
    background: var(--azul);
    color: var(--branco);
}

/* ---------- cards de edificio ---------- */

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.card {
    display: flex;
    flex-direction: column;
    background: var(--branco);
    overflow: hidden;
    transition: transform .25s, box-shadow .25s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 38, 63, .12);
}

.card__foto {
    width: 100%;
    aspect-ratio: 282 / 180;
    object-fit: cover;
    background: var(--cinza-fundo);
}

.card__foto--vazia {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #e7ebef 0%, #f4f6f8 100%);
    color: rgba(0, 38, 63, .28);
}

.card__corpo {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
}

.card__categoria {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--texto-suave);
}

.card__nome {
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    color: var(--azul);
    margin-top: 4px;
}

.card__local {
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: var(--azul-escuro);
}

.card__dados {
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: var(--azul-escuro);
}

.card__dados span {
    color: var(--texto-suave);
    padding: 0 4px;
}

/* ---------- quem somos ---------- */

.duas-colunas {
    display: flex;
    align-items: center;
    gap: 48px;
}

.duas-colunas > * {
    flex: 1;
    min-width: 0;
}

.coluna-texto {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.texto p + p {
    margin-top: 16px;
}

/* ---------- player de video ---------- */

.player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
    box-shadow: 0 12px 32px rgba(0, 38, 63, .16);
}

.player__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.player__area {
    position: absolute;
    inset: 0;
    width: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.player__estado {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(.8);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: rgba(0, 38, 63, .55);
    backdrop-filter: blur(4px);
    color: #fff;
    opacity: 0;
    transition: opacity .3s, transform .3s;
    pointer-events: none;
}

.player.pausado .player__estado,
.player:hover .player__estado {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.player__som {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 38, 63, .55);
    backdrop-filter: blur(4px);
    color: #fff;
    cursor: pointer;
    transition: background .2s, transform .2s;
}

.player__som:hover {
    background: rgba(0, 38, 63, .8);
    transform: scale(1.06);
}

/* ---------- diferenciais ---------- */

.lista-diferenciais {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    padding: 0;
}

.lista-diferenciais li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .06);
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

.lista-diferenciais svg {
    flex-shrink: 0;
    color: var(--azul-claro);
}

.titulo-locacoes {
    max-width: 340px;
}

.coluna-texto--estreita {
    max-width: 470px;
}

/* ---------- 3 diferenciais ---------- */

.trio {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.trio__item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.trio__icone {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: var(--branco);
}

.trio h3 {
    width: 100%;
    font-size: 22px;
    font-weight: 600;
    line-height: 26px;
    padding-bottom: 10px;
}

.trio p {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

/* ---------- contato ---------- */

.contato-lista {
    display: flex;
    flex-direction: column;
    gap: 20px;
    list-style: none;
    padding: 0;
}

.contato-lista li {
    display: flex;
    gap: 12px;
}

.contato-lista svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--azul);
}

.contato-lista strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
}

.contato-lista a,
.contato-lista span {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--azul-escuro);
}

.contato-lista a {
    transition: color .2s;
}

.contato-lista a:hover {
    color: var(--azul);
    text-decoration: underline;
}

.mapa {
    width: 100%;
    height: 355px;
    border: 0;
    display: block;
}

/* ---------- rodape ---------- */

.rodape {
    background: var(--azul-escuro);
    color: var(--branco);
    padding: 0 var(--margem-lateral);
}

.rodape__interno {
    display: flex;
    flex-direction: column;
    gap: 56px;
    padding: 56px 0;
}

.rodape__linha {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.rodape__logo img {
    width: 320px;
    height: auto;
}

.rodape__redes {
    display: flex;
    align-items: center;
    gap: 16px;
}

.rodape__redes strong {
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}

.rede {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: rgba(255, 255, 255, .1);
    transition: background .2s;
}

.rede:hover {
    background: rgba(255, 255, 255, .22);
}

.rodape__base {
    border-top: 1px solid rgba(255, 255, 255, .16);
    padding-top: 24px;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

/* ---------- hero das paginas de edificio ---------- */

.hero-edificio {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    padding: 48px var(--margem-lateral) 32px;
    background: var(--azul-escuro) center/cover no-repeat;
    color: var(--branco);
}

.hero-edificio::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 38, 63, 0) 35%, rgba(0, 38, 63, .55) 100%);
}

.hero-edificio__interno {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
}

.hero-edificio__local {
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
    color: rgba(255, 255, 255, .78);
}

.botao--compacto {
    min-width: 220px;
    gap: 20px;
    padding: 16px 28px;
    font-size: 16px;
    line-height: 20px;
}

.hero-edificio__titulo {
    font-size: 48px;
    font-weight: 700;
    line-height: 56px;
    color: var(--branco);
}

.vazio {
    padding: 24px 0;
    font-size: 16px;
    color: var(--texto-suave);
}

/* ---------- galeria da sala ---------- */

.galeria {
    position: relative;
    padding-top: 8px;
    background: var(--branco);
}

.galeria__trilho {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.galeria__trilho::-webkit-scrollbar {
    display: none;
}

.galeria__item {
    flex: 0 0 calc(100% / 3);
    scroll-snap-align: start;
}

.galeria__item img {
    width: 100%;
    height: 440px;
    object-fit: cover;
}

.galeria__seta {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .85);
    color: var(--azul-escuro);
    cursor: pointer;
    transition: background .2s;
}

.galeria__seta:hover {
    background: var(--branco);
}

.galeria__seta--anterior {
    left: 16px;
}

.galeria__seta--proxima {
    right: 16px;
}

/* ---------- pagina da sala ---------- */

.sala {
    display: flex;
    align-items: flex-start;
    gap: 72px;
    padding: 64px 0 80px;
}

.sala__principal {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sala__lateral {
    flex: 0 0 400px;
    position: sticky;
    top: 24px;
}

.sala__edificio {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--texto-suave);
}

.sala__titulo {
    font-size: 36px;
    font-weight: 700;
    line-height: 36px;
    color: var(--azul);
    margin-top: 8px;
}

.divisor {
    height: 1px;
    background: var(--linha);
    margin: 28px 0;
}

.valores {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.valores__rotulo {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: rgba(0, 0, 0, .71);
}

.valores__valor {
    font-size: 20px;
    font-weight: 700;
    line-height: 26px;
    margin-top: 2px;
    color: #000;
}

.valores__item:first-child .valores__valor {
    color: var(--azul);
}

.endereco {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: #000;
}

.endereco svg {
    flex-shrink: 0;
    color: var(--azul);
}

.mapa-sala {
    width: 100%;
    height: 400px;
    border: 0;
    display: block;
}

.specs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.specs__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.specs__item svg {
    color: var(--azul-escuro);
}

.specs__item span {
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: rgba(0, 0, 0, .71);
}

.subtitulo {
    font-size: 22px;
    font-weight: 700;
    line-height: 22px;
    padding-bottom: 10px;
    color: var(--azul);
}

.lista-marcadores {
    padding-left: 20px;
}

.lista-marcadores li {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #000;
}

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

/* ---------- caixa de contato da sala ---------- */

.caixa-contato {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 36px;
    border-radius: 12px;
    background: var(--branco);
    box-shadow: 0 4px 24px rgba(0, 38, 63, .1);
}

.caixa-contato__titulo {
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    color: var(--azul);
}

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

.acao {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 999px;
    border: 1px solid var(--linha);
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    transition: border-color .2s, background .2s, color .2s;
}

.acao svg {
    flex-shrink: 0;
}

.acao:hover {
    border-color: var(--azul);
    color: var(--azul);
}

.acao--destaque {
    background: var(--azul);
    border-color: var(--azul);
    color: var(--branco);
}

.acao--destaque:hover {
    background: var(--azul-escuro);
    border-color: var(--azul-escuro);
    color: var(--branco);
}

.caixa-contato__nota {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--texto-suave);
}

/* ---------- pagina 404 ---------- */

.erro {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    min-height: 60vh;
    text-align: center;
    padding: 80px var(--margem-lateral);
}

/* ---------- responsivo ---------- */

/* tablet: menu vira hamburguer e os cards viram carrossel, igual ao site antigo */
@media (max-width: 1024px) {
    .menu-botao {
        display: block;
        position: relative;
        z-index: 40;
    }

    .menu {
        position: fixed;
        inset: 0 0 auto;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 96px 32px 32px;
        background: var(--branco);
        color: var(--azul-escuro);
        transform: translateY(-100%);
        transition: transform .3s ease;
        box-shadow: 0 12px 32px rgba(0, 38, 63, .16);
        z-index: 30;
    }

    .menu.aberto {
        transform: translateY(0);
    }

    .menu a {
        display: block;
        padding: 16px 0;
        font-size: 18px;
        border-bottom: 1px solid var(--linha);
    }

    .cards {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 4px;
        margin: 0 calc(var(--margem-lateral) * -1);
        padding-left: var(--margem-lateral);
        padding-right: var(--margem-lateral);
        scrollbar-width: none;
    }

    .cards::-webkit-scrollbar {
        display: none;
    }

    .cards .card {
        flex: 0 0 320px;
        scroll-snap-align: start;
    }

    .duas-colunas {
        gap: 32px;
    }

    .trio {
        gap: 24px;
    }

    .sala {
        flex-direction: column;
        gap: 40px;
        padding: 48px 0 64px;
    }

    .sala__lateral {
        flex: none;
        width: 100%;
        position: static;
    }

    .galeria__item {
        flex: 0 0 100%;
    }

    .galeria__item img {
        height: 320px;
    }
}

/* mobile: menu vira hamburguer */
@media (max-width: 767px) {
    :root {
        --margem-lateral: 16px;
        --secao: 60px;
    }

    html {
        scroll-padding-top: 80px;
    }

    .menu {
        padding: 88px 20px 24px;
    }

    .topo {
        height: 80px;
    }

    /* no celular a navbar fica numa barra branca e a imagem comeca abaixo dela */
    .hero {
        min-height: 68vh;
        background-image: none;
        background-color: var(--branco);
    }

    .hero__conteudo {
        margin: 0 calc(var(--margem-lateral) * -1);
        padding: 0 var(--margem-lateral);
        background-color: #f8f8f8;
        background-image: url('../img/hero-home.jpg');
        background-position: 50% 0%;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .duas-colunas {
        flex-direction: column;
        align-items: stretch;
    }

    .titulo-locacoes,
    .coluna-texto--estreita {
        max-width: none;
    }

    .trio {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .topo__logo img {
        width: 240px;
    }

    .hero__conteudo {
        gap: 32px;
    }

    .hero__titulo {
        font-size: 36px;
        line-height: 44px;
    }

    .botao {
        min-width: 0;
        width: 100%;
        justify-content: center;
        gap: 16px;
        padding: 15px 24px;
        font-size: 16px;
    }

    .titulo-secao {
        font-size: 32px;
        line-height: 40px;
    }

    .bloco {
        gap: 36px;
    }

    .cards .card {
        flex: 0 0 300px;
    }

    .valores {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .specs {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-edificio {
        min-height: 320px;
    }

    .hero-edificio__interno {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .hero-edificio__titulo {
        font-size: 36px;
        line-height: 44px;
    }

    .hero-edificio .botao {
        min-width: 0;
        width: auto;
    }

    .sala__titulo {
        font-size: 28px;
        line-height: 32px;
    }

    .caixa-contato {
        padding: 24px;
    }

    .mapa,
    .mapa-sala {
        height: 280px;
    }

    .galeria__item img {
        height: 240px;
    }

    .rodape__logo img {
        width: 240px;
    }

    .rodape__linha {
        flex-direction: column;
        align-items: center;
        gap: 28px;
    }

    .rodape__base {
        text-align: center;
    }
}
