/* ============================================================
   PREMIERE IMÓVEIS — ESTILO GLOBAL
   ============================================================ */

:root {
    --cor-primaria: #e4dfd8;
    --cor-primaria-hover: #e4dfd8;
    --cor-destaque: #e4dfd8;
    --cor-fundo: #f4f4f4;
    --cor-texto-claro: #ffffff;
    --sombra-card: 0 8px 20px rgba(0,0,0,0.15);
    --sombra-card-hover: 0 14px 30px rgba(0,0,0,0.25);
    --raio-borda: 14px;
    --transicao: 0.25s ease;
}

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

a {
    outline: none;
    -webkit-tap-highlight-color: transparent;
    text-decoration: none;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: color #00403E;
    text-align: center;
    margin: 0;
}

/* ---------- TOPO ---------- */
.topo {
    position: sticky;
    top: 0;
    width: 100%;
    height: 140px;
    background: url("../svg/Topo.svg") center/cover no-repeat;
    z-index: 10;
}

.topo::before {
    content: "";
    position: absolute;
    inset: 0;
}

.topo-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--cor-texto-claro);
}

.logo-click {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 110px;
    height: 90px;
    cursor: pointer;
    display: block;
}

.topo-content h1 {
    margin: 110px 0 0 0;
    font-size: 28px;
}

.topo-content p {
    margin: 5px 0 0 0;
    font-size: 14px;
    opacity: 0.9;
}

/* ---------- BEMVINDO ---------- */
.bemvindo {
    padding: 0px 0px 10px 0px;
    background-color: #e4dfd8;
    justify-content: center;
}

/* ---------- CONTEÚDO ---------- */
.conteudo {
    padding: 20px 20px;
    background-color: #e4dfd8;
}

/* ---------- EM BREVE ---------- */
.embreve { padding: 40px 20px; height: 100%; }

/* ---------- GRID ---------- */
.menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 400px));
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* ---------- CARD PADRÃO ---------- */
.card {
    position: relative;
    height: 120px;
    border-radius: var(--raio-borda);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transicao), box-shadow var(--transicao);
    overflow: hidden;
}

.card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--raio-borda);
    border: 3px solid transparent;
    transition: border-color var(--transicao);
    pointer-events: none;
}

.card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--sombra-card-hover);
}

.card:hover::after { border-color: var(--cor-destaque); }

.card img {
    border-radius: 10px;
    object-fit: contain;
}

/* ---------- CARD BANNER ---------- */
.card-banner {
    position: relative;
    display: block;
    width: 300px;
    height: 110px;
    border-radius: var(--raio-borda);
    overflow: hidden;
    transition: transform var(--transicao), box-shadow var(--transicao);
    box-shadow: var(--sombra-card);
    margin: 0 auto;
}

.card-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--raio-borda);
    border: 3px solid transparent;
    transition: border-color var(--transicao);
    pointer-events: none;
}

.card-banner:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--sombra-card-hover);
}

.card-banner:hover::after { border-color: #ffffff; }

.card-banner img {
    width: 100%;
    height: auto;
    border-radius: var(--raio-borda);
}

/* ---------- indica ---------- */
.indica {
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* ---------- CARD INDIQUE ---------- */
.indique {
    /*position: relative;*/
    height: 120px;
    background: url("../svg/10.IndiqueUmImovelEGanhe.svg") center no-repeat  ;
    width: 1200px;
    border-radius: var(--raio-borda);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transicao), box-shadow var(--transicao);
    overflow: hidden;
}

.indique::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--raio-borda);
    border: 3px solid transparent;
    transition: border-color var(--transicao);
    pointer-events: none;
}

.indique:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--sombra-card-hover);
}

.indique:hover::after { border-color: var(--cor-destaque); }

.indique img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: contain;
}

/* ---------- VOLTAR ---------- */
.voltar { margin-top: 45px; }

.voltar a {
    color: var(--cor-primaria);
    font-weight: bold;
    font-size: 14px;
    transition: color var(--transicao);
}

.voltar a:hover { color: var(--cor-destaque); }

/* ---------- RODAPÉ ---------- */
.rodape {
    background: var(--cor-primaria);
    color: var(--cor-texto-claro);
    padding: 25px 15px;
    /*margin-top: 90px;*/
}

.rodape-icones {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.rodape-icones a {
    width: 48px;
    height: 48px;
    background: var(--cor-primaria-hover);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transicao), background var(--transicao);
}

.rodape-icones a:hover {
    transform: translateY(-6px) scale(1.1);
    background: var(--cor-destaque);
}

.rodape-icones img { width: 26px; height: 26px; }

.rodape p {
    font-size: 13px;
    opacity: 0.85;
    margin: 4px 0;
}

@media (max-width: 768px) {
  .indique {
    background-image: url('10.IndiqueUmImovelEGanhe-min.svg');
    background-size: 100% auto;     /* Largura 100%, altura proporcional */
    background-repeat: no-repeat;
    background-position: top center;
    /*min-height: 350px; /* ajuste conforme necessário */
    border-radius: var(--raio-borda);
    /*display: flex;
    align-items: center;
    justify-content: center;*/
    transition: transform var(--transicao), box-shadow var(--transicao);
  }
}

/* ---------- RESPONSIVO ---------- */
@media (max-width: 600px) {
    .topo { height: 160px; }
    .topo-content h1 { font-size: 22px; margin-top: 100px; }
    .bemvindo img { max-width: 100%; height: auto; }
    .card { height: 100%; }
    .card img { max-width: 100%; height: auto; }
    .card-banner { width: 100%; max-width: 300px; height: auto; }
    .indique { background: url("../svg/10.IndiqueUmImovelEGanhe-min.svg") center no-repeat; width: 100%; /*height: auto /*377px*/; margin-top: 10px; margin-bottom: -25px; }
    .conteudo { padding: 30px 16px; }
    .menu { grid-template-columns: 1fr; gap: 16px; }
    .rodape { padding: 20px 12px; }
    .rodape-icones { gap: 20px; }
    .rodape-icones a { width: 42px; height: 42px; }
    .rodape-icones img { width: 22px; height: 22px; }
}

@media (max-width: 380px) {
    .topo { height: 145px; }
    .topo-content h1 { font-size: 19px; margin-top: 90px; }
    .topo-content p { font-size: 12px; }
    .logo-click { width: 90px; height: 75px; }
}