﻿/* ===================================================================================
   Rodapé do site (Views/Shared/_Rodape.cshtml), no visual da home nova.
   Usado no _Layout (logado) e na home de visitante (Home/Externa). Não depende do
   home-nova.css nem do Bootstrap: as regras são completas para conviver com os dois.
   =================================================================================== */
.ft {
    --ft-border: rgba(58, 140, 255, .28);
    --ft-border-soft: rgba(58, 140, 255, .14);
    --ft-border-strong: rgba(58, 160, 255, .6);
    --ft-cyan: #2bb8ff;
    --ft-muted: #b4c3dd;
    --ft-gutter: 16px;
    position: relative;
    margin-top: 40px;
    border-top: 1px solid var(--ft-border);
    background: radial-gradient(700px 220px at 50% 0%, rgba(22, 114, 255, .10), transparent 70%), #030a1a;
    color: var(--ft-muted);
    font-family: "Plus Jakarta Sans", "Manrope", system-ui, sans-serif;
    font-size: 14.5px;
    line-height: 1.45;
    text-align: left;
}
@media (min-width: 768px) { .ft { --ft-gutter: 24px; } }
@media (min-width: 1200px) { .ft { --ft-gutter: 32px; } }

.ft *, .ft *::before, .ft *::after { box-sizing: border-box; }
.ft-container { width: 100%; max-width: calc(1200px + var(--ft-gutter) * 2); margin: 0 auto; padding: 0 var(--ft-gutter); }
.ft a, .ft a:hover, .ft a:focus { text-decoration: none; }
.ft-ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Selos de confiança (os mesmos do topo da home) ---------- */
.ft-selos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; padding: 26px 0; list-style: none; border-bottom: 1px solid var(--ft-border-soft); }
.ft-selos li { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0; color: #d6e2f5; font-size: 12px; line-height: 1.25; text-align: center; }
.ft-selos .ft-ico { width: 30px; height: 30px; color: var(--ft-cyan); stroke-width: 1.5; }
@media (min-width: 900px) {
    .ft-selos { display: flex; justify-content: space-around; gap: 32px; }
    .ft-selos li { flex-direction: row; gap: 10px; font-size: 13.5px; text-align: left; }
    .ft-selos .ft-ico { width: 34px; height: 34px; }
}

/* ---------- Marca: logo empilhado e redes ---------- */
.ft-marca { display: grid; justify-items: center; align-content: start; padding-bottom: 20px; text-align: center; }
.ft-logo { display: inline-block; }
/* brilho azul leve para o escudo marinho não sumir no fundo escuro */
.ft-logo img { display: block; width: 150px; max-width: 100%; height: auto; border: 0; filter: drop-shadow(0 0 22px rgba(43, 140, 255, .22)); }
.ft-social { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.ft-social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1.5px solid var(--ft-border-strong); border-radius: 50%; background: rgba(22, 114, 255, .08); color: #fff; transition: border-color .2s, background .2s, transform .2s; }
.ft-social a:hover, .ft-social a:focus { border-color: var(--ft-cyan); background: rgba(43, 184, 255, .16); color: #fff; transform: translateY(-2px); }
.ft-social svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Colunas de links: sanfona no celular, sempre abertas a partir de 768px ---------- */
.ft-grid { display: grid; padding: 26px 0 18px; }
.ft-col { border-bottom: 1px solid var(--ft-border-soft); }
.ft-col summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; list-style: none; cursor: pointer; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ft-col summary::-webkit-details-marker { display: none; }
.ft-col summary .ft-ico { width: 16px; height: 16px; color: var(--ft-cyan); transform: rotate(90deg); transition: transform .2s; }
.ft-col[open] summary .ft-ico { transform: rotate(-90deg); }
.ft-col > div { padding-bottom: 12px; }
.ft-col a { display: block; margin: 0; padding: 5px 0; color: var(--ft-muted); transition: color .2s; }
.ft-col a:hover, .ft-col a:focus { color: var(--ft-cyan); }

@media (min-width: 768px) {
    .ft-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 44px 0 36px; }
    .ft-marca { padding-bottom: 0; }
    .ft-col { border: 0; }
    .ft-col summary { padding: 0 0 14px; cursor: default; pointer-events: none; }
    .ft-col summary .ft-ico { display: none; }
}

/* ---------- Linha final ---------- */
.ft-bottom { display: flex; flex-direction: column; align-items: center; gap: 10px 20px; padding: 18px 0 22px; border-top: 1px solid var(--ft-border-soft); color: #8193b2; font-size: 13px; text-align: center; }
.ft-bottom b { color: #d6e2f5; font-weight: 600; }
/* .ft na frente: o home-nova.css tem .hn button { color: inherit } */
.ft .ft-top { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: var(--ft-cyan); font: inherit; font-weight: 600; cursor: pointer; }
.ft .ft-top:hover, .ft .ft-top:focus { color: #fff; }
.ft-top .ft-ico { width: 16px; height: 16px; transform: rotate(-90deg); }
@media (min-width: 768px) {
    .ft-bottom { flex-direction: row; flex-wrap: wrap; justify-content: space-between; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
    .ft-social a, .ft-col a, .ft-col summary .ft-ico { transition: none; }
}
