/* Secomandi V2 — identidade de continuidade com a home legada.
   Camada visual da prévia; manter a lógica de busca independente. */
:root {
  --marinho: #5c330e;
  --marinho-2: #834709;
  --areia: #dcb16b;
  --areia-suave: #f5e6c9;
  --papel: #f7f3ed;
  --texto: #332a21;
  --muted: #6c5e51;
  --borda: #dfd4c2;
  --sombra: 0 14px 32px rgba(61, 38, 17, .09);
  --radius: 3px;
  color-scheme: light;
  font-family: Inter, "Roboto", "Segoe UI", Arial, sans-serif;
}
html { scroll-behavior: smooth; }
body { background: var(--papel); color: var(--texto); }
a { color: #794308; }
a:hover { color: #9b5b0c; }
:focus-visible { outline: 3px solid #f3ba56; outline-offset: 3px; }
.visualmente-oculto {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important;
}
.faixa-preview {
  background: #3d2511;
  color: #f1d4a6;
  letter-spacing: .09em;
  font-size: 10px;
  font-weight: 600;
  padding: 5px;
}
.cabecalho { background: #a96310; border: 0; }
.topo { min-height: 71px; gap: 22px; }
.marca { color: #fff; gap: 9px; }
.marca:hover { color: #fff; }
.marca-simbolo {
  background: #fbf4ea; color: #2e241a; border-radius: 3px;
  width: 40px; height: 40px; overflow: hidden;
}
.marca-simbolo img { width: 38px; height: 38px; object-fit: contain; }
.marca strong { font-size: 18px; letter-spacing: .11em; }
.marca small { color: #f5e0c1; font-size: 10px; }
.menu { gap: clamp(15px, 2.5vw, 32px); }
.menu a { color: #fff; font-size: 13px; font-weight: 700; }
.menu a:hover { color: #fff4dc; text-decoration: underline; }
.menu a.ativo { border-bottom: 2px solid #fff4dc; color: #fff; padding-bottom: 4px; }
.hero {
  min-height: clamp(415px, 39vw, 555px);
  display: flex;
  align-items: stretch;
  position: relative;
  background: #28170f;
}
.hero-imagem {
  inset: 0; position: absolute;
  background-image: url("../images/banner-topo.jpg");
  background-size: cover; background-position: center 47%;
  opacity: 1;
}
.hero::after {
  background: linear-gradient(90deg,
    rgba(15, 11, 8, .68) 0%,
    rgba(17, 12, 7, .45) 38%,
    rgba(16, 11, 7, .10) 75%,
    rgba(15, 10, 5, .10) 100%),
  linear-gradient(0deg, rgba(25, 14, 5, .65), transparent 70%);
}
.hero-conteudo {
  align-self: flex-end;
  padding-block: 0 clamp(82px, 10vw, 125px);
  width: min(1160px, calc(100% - 40px));
}
.hero h1 {
  max-width: 790px;
  color: #fff;
  font-family: Inter, "Roboto", "Segoe UI", Arial, sans-serif;
  font-size: clamp(38px, 5.7vw, 76px);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.07;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .55);
  margin: 0 0 15px;
}
.hero-conteudo > p { max-width: 800px !important; color: #fff !important; font-size: clamp(16px, 1.8vw, 23px) !important; font-weight: 750; text-shadow: 0 1px 6px rgba(0,0,0,.8); }
.credito-imagem { position: absolute; z-index: 3; right: 22px; bottom: 14px; color: #eee1d1; font-size: 10px; font-style: italic; text-shadow: 0 1px 4px #000; margin: 0; }
.pesquisa-secao { width: 100%; margin: 0; background: #673707; border-top: 4px solid #b66c18; color: #fff; }
.pesquisa-cartao {
  background: transparent; box-shadow: none; border: 0; border-radius: 0;
  padding: 30px 0 28px;
}
.pesquisa-intro { display: flex; align-items: center; margin: 0 0 17px; }
.pesquisa-intro h2 { color: #fff; margin: 5px 0 0; font-size: clamp(23px, 2.8vw, 32px); }
.seccao-numero { color: #ae6d1a; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.pesquisa-intro .seccao-numero { color: #f7cc8c; }
h2, .resultado h3 {
  font-family: Inter, "Roboto", "Segoe UI", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -.025em;
}
.campo-com-botao { gap: 0; max-width: 100%; }
.campo-input { background: #fff; border: 1px solid #e9d5b4; border-radius: 3px 0 0 3px; color: #8a5c28; padding: 0 16px; }
.campo-input:focus-within { border-color: #ffdb95; outline: 3px solid rgba(255, 216, 144, .35); }
.campo-input input { min-height: 59px; color: #312215; font-size: 15px; }
.btn-pesquisar {
  min-height: 59px; padding: 0 34px; background: #bd741b; border: 1px solid #bd741b;
  color: #fff; border-radius: 0 3px 3px 0; font-weight: 800;
}
.btn-pesquisar:hover { background: #d38a31; border-color: #d38a31; }
.sugestoes { margin-top: 14px; color: #f1d5ae; gap: 9px; }
.sugestoes span { font-weight: 650; margin-right: 3px; }
.sugestoes button { border-color: #a77943; background: transparent; color: #fff1df; padding: 5px 13px; }
.sugestoes button:hover { background: #86521d; color: white; }
.trilhas { padding-top: 57px; padding-bottom: 23px; }
.trilhas-titulos { margin-bottom: 22px; }
.trilhas-titulos h2 { margin-bottom: 0; color: #442b16; font-size: clamp(25px, 3vw, 34px); }
.trilhas-grade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.trilha {
  position: relative;
  border: 0;
  border-bottom: 5px solid #b9792c;
  min-height: clamp(190px, 20vw, 245px);
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  text-align: left;
  color: #fff;
  background-color: #653708;
  background-position: center;
  background-size: cover;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.trilha::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 12, 5, .04) 10%, rgba(18, 11, 5, .88) 100%);
}
.trilha > * { position: relative; z-index: 1; }
.trilha:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(59, 37, 16, .2); }
.trilha-fortificacoes { background-image: url("../images/santo-amaro.jpg"); }
.trilha-patrimonio { background-image: url("../images/patrimonio-natural.jpg"); }
.trilha-litoral { background-image: url("../images/fortaleza-sao-joao.jpg"); }
.trilha-categoria { font-size: 10px; letter-spacing: .14em; font-weight: 800; color: #f9c979; margin-bottom: 8px; }
.trilha strong { font-size: clamp(17px, 1.85vw, 23px); font-weight: 850; line-height: 1.18; max-width: 300px; text-shadow: 0 1px 5px #000; }
.trilha-seta { position: absolute; bottom: 18px; right: 19px; font-size: 23px; }
.resultados { padding-top: 48px; padding-bottom: 40px; }
.linha-secao { padding-bottom: 14px; border-bottom: 1px solid #d6c8b2; }
.linha-secao h2 { margin-top: 7px; color: #452b14; }
.descricao-resultado { color: #725e4c; }
.ordenacao { color: #664e38; }
.ordenacao select { border-color: #cbbba5; border-radius: 2px; }
.filtros { border-bottom: 0; margin: 19px 0 8px; padding-bottom: 6px; }
.filtros legend { color: #5c452d; }
.filtros label span { border-radius: 3px; border-color: #d9c9b3; color: #5d442c; background: #fffcf7; padding: 7px 13px; }
.filtros label input:checked + span { background: #a25b12; border-color: #a25b12; color: #fff; }
.filtros label input:focus-visible + span { outline-color: #b4690b; }
.tema-filtro { margin-top: 12px; margin-bottom: 23px; gap: 11px; }
.tema-filtro label { color: #5c3e21; }
.tema-filtro select { border-radius: 3px; border-color: #cabaa4; min-width: min(100%, 300px); }
.tema-filtro p { color: #80705c; }
.lista-resultados { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.resultado { background: #fffdfa; border: 1px solid #dfd2bc; border-top: 3px solid #a66720; border-radius: 2px; padding: 19px 21px 16px; gap: 8px; box-shadow: 0 2px 4px rgba(63, 39, 14, .035); }
.resultado:hover { border-color: #c7a779; box-shadow: 0 7px 17px rgba(73, 44, 13, .09); }
.resultado .tipo { color: #a36719; }
.resultado .tipo::before { background: #d3a463; }
.resultado h3 { font-size: 18px; line-height: 1.36; }
.resultado h3 a, .resultado h3 button { color: #3b2b1d; }
.resultado h3 a:hover, .resultado h3 button:hover { color: #935814; }
.resultado p { color: #716455; line-height: 1.5; font-size: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.resultado footer { padding-top: 6px; }
.resultado footer a, .resultado footer button { color: #96560a; }
.tema-resumo { background: #f9f0de; border-color: #e6d0aa; border-radius: 2px; color: #744a1b; }
.btn-secundario { border: 1px solid #b48753; border-radius: 2px; color: #76400d; }
.btn-secundario:hover { background: #f1e4d0; }
.detalhe-secao { border-color: #b97723; }
.lista-partes li { border-color: #dfd2bc; background: #fffdf8; border-radius: 2px; }
.lista-partes a { color: #6f4012; }
#filtrar-partes { border-color: #c9b99e; border-radius: 2px; }
.nota-final { border-top: 1px solid #dfd0b9; color: #776654; margin-bottom: 42px; }
.nota-icone { background: #eedcc0; border-color: #d6b88b; color: #7e4c16; }
.rodape { background: #5b320c; color: #f3e4cf; }
.rodape span, .rodape small { color: #e9cfae; }
@media (max-width: 800px) {
  .topo { padding-block: 12px; }
  .hero::after { background: linear-gradient(90deg, rgba(15,10,5,.65), rgba(15,10,5,.18)),linear-gradient(0deg,rgba(17,10,5,.5),transparent 72%); }
  .hero-imagem { inset: 0; background-position: 34% center; }
  .hero-conteudo { padding-bottom: 93px; }
  .trilhas-grade { gap: 10px; }
  .trilha { padding: 17px; }
}
@media (max-width: 630px) {
  .faixa-preview { letter-spacing: .035em; font-size: 9px; }
  .topo { gap: 14px; }
  .menu { gap: 18px; }
  .menu a { font-size: 12px; }
  .hero { min-height: 390px; }
  .hero-imagem { background-position: 33% 48%; }
  .hero-conteudo { padding-block: 0 80px; width: calc(100% - 28px); }
  .hero h1 { font-size: clamp(34px, 9vw, 48px); max-width: 390px; }
  .hero-conteudo > p { font-size: 16px !important; max-width: 300px !important; }
  .credito-imagem { right: 10px; bottom: 9px; font-size: 9px; max-width: calc(100% - 20px); }
  .pesquisa-cartao { padding: 25px 0; }
  .pesquisa-intro h2 { font-size: 24px; }
  .campo-com-botao { flex-direction: column; gap: 9px; }
  .campo-input { border-radius: 3px; }
  .campo-input input { min-height: 50px; height: 50px; font-size: 13px; }
  .btn-pesquisar { border-radius: 3px; min-height: 49px; }
  .trilhas { padding-top: 39px; }
  .trilhas-grade { grid-template-columns: 1fr; gap: 11px; }
  .trilha { min-height: 175px; }
  .trilha strong { font-size: 23px; }
  .resultados { padding-top: 27px; }
  .lista-resultados { grid-template-columns: 1fr; }
  .tema-filtro select { width: 100%; }
  .rodape { padding-block: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  .trilha { transition: none; }
}

/* ======================================================
   DIREÇÃO PREMIUM / HERO CINEMATOGRÁFICO — 02/11/2026
   Complemento de consolidação após a V2 marrom inicial.
   ====================================================== */
:root {
  --marinho: #201b16;
  --marinho-2: #32271d;
  --areia: #b99a70;
  --areia-suave: #f3eee6;
  --papel: #f6f3ee;
  --texto: #272421;
  --muted: #6e675e;
  --borda: #ddd5ca;
}
html { scroll-padding-top: 85px; }
body { background: #f6f3ed; }
.cabecalho {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  border: none;
  background: linear-gradient(180deg, rgba(5, 8, 7, .60), rgba(5, 8, 7, .02));
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background .25s ease, box-shadow .25s ease;
}
.cabecalho.rolando {
  background: rgba(17, 17, 15, .95);
  box-shadow: 0 2px 18px rgba(0, 0, 0, .20);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.topo { min-height: 89px; padding-block: 12px; }
.marca { color: #f6f3ed; }
.marca:hover { color: #fff; }
.marca-simbolo { border-radius: 0; width: 39px; height: 39px; background: rgba(255, 255, 255, .92); }
.marca strong { font-weight: 800; font-size: 18px; letter-spacing: .17em; }
.marca small { color: #e4dfd3; font-size: 10px; letter-spacing: .06em; }
.menu { gap: clamp(15px, 2.3vw, 31px); }
.menu a {
  color: rgba(255, 255, 255, .92);
  font-size: 13px; font-weight: 650; padding-block: 11px;
  border-bottom: 1px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.menu a:hover { color: #fff; text-decoration: none; border-bottom-color: rgba(205, 175, 127, .8); }
.menu a.ativo {
  color: #fff;
  border-bottom: 1px solid #c9ad82;
  padding-bottom: 11px;
}
.hero {
  min-height: 720px;
  min-height: 100svh;
  background: #030605;
  display: flex;
  isolation: isolate;
  overflow: hidden;
}
.hero-imagem {
  position: absolute;
  inset: 0;
  background-image: url("../images/hero-fortaleza-original.jpg");
  background-size: cover;
  background-position: 50% 43%;
  opacity: 1;
  transform: scale(1.005);
}
.hero::after {
  content: "";
  z-index: 0;
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 5, 4, .80) 0%, rgba(3, 5, 4, .63) 25%, rgba(3, 5, 4, .30) 51%, rgba(3, 5, 4, .03) 80%),
    linear-gradient(180deg, rgba(0, 0, 0, .32) 0%, transparent 26%, transparent 69%, rgba(0, 0, 0, .48) 100%);
}
.hero-conteudo {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  align-self: stretch;
  padding: 110px 0 138px;
  min-height: 720px;
  min-height: 100svh;
  width: min(1160px, calc(100% - 64px));
}
.hero-textos { max-width: 815px; margin-top: 2.5vh; }
.hero h1 {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: clamp(54px, 6.0vw, 92px);
  letter-spacing: -.052em;
  font-weight: 820;
  line-height: .99;
  color: #fafafa;
  text-shadow: 0 5px 25px rgba(0,0,0,.25);
  margin: 0 0 25px;
  max-width: 860px;
}
.hero h1 span { color: #f0ece4; }
.hero-conteudo > p, .hero-textos > p {
  color: #f3f0ea !important;
  font-size: clamp(16px, 1.65vw, 21px) !important;
  font-weight: 460;
  letter-spacing: .005em;
  line-height: 1.45;
  text-shadow: 0 2px 11px rgba(0,0,0,.65);
  max-width: 620px !important;
  margin: 0;
}
.hero-rodape {
  position: absolute;
  bottom: 24px; left: max(32px, calc((100vw - 1160px) / 2));
  right: max(32px, calc((100vw - 1160px) / 2));
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  color: #e8dfd2;
}
.hero-descer { display: inline-flex; gap: 13px; align-items: center; text-decoration: none; color: #e8e2d6; font-size: 10px; font-weight: 700; letter-spacing: .19em; }
.hero-descer:hover { color: #fff; }
.hero-descer:focus-visible {
  outline: 3px solid #f3ba56;
  outline-offset: 5px;
  border-radius: 3px;
}
.hero-descer:hover .descer-icone { border-color: #f3e5ce; }

.descer-icone {
  display: grid;
  place-items: center;
  border: 1px solid rgba(240, 234, 221, .53);
  border-radius: 50%;
  width: 37px; height: 37px;
  font-size: 19px;
  font-weight: 400;
}
.credito-imagem {
  position: static;
  color: rgba(245, 239, 228, .66);
  font-size: 10px; font-style: normal;
  font-weight: 400;
  margin: 0;
  text-shadow: none;
  text-align: right;
  max-width: 450px;
}
.hero-sequencia { font-size: 10px; color: rgba(240, 232, 215, .6); letter-spacing: .15em; white-space: nowrap; }
#pesquisa { scroll-margin-top: 82px; }
.pesquisa-secao {
  background: #181714;
  border-top: 1px solid #3b342a;
}
.pesquisa-cartao { padding-block: 47px 45px; }
.pesquisa-intro { margin-bottom: 17px; }
.pesquisa-intro h2 { font-size: clamp(24px, 2.8vw, 33px); font-weight: 750; color: #f5f2ec; }
.pesquisa-intro .seccao-numero { color: #bca382; }
.campo-input {
  background: #f9f7f2;
  border-color: #d7cfc2;
  border-radius: 2px 0 0 2px;
}
.campo-input input { min-height: 58px; }
.btn-pesquisar { background: #957044; border-color: #957044; border-radius: 0 2px 2px 0; }
.btn-pesquisar:hover { background: #a8804d; border-color: #a8804d; }
.sugestoes { color: #b8ae9e; }
.sugestoes button { border-color: #62523d; color: #ded5c9; border-radius: 100px; }
.sugestoes button:hover { background: #3a3027; }
.trilhas { padding-top: 71px; }
.trilhas-titulos h2 { color: #302821; }
.trilha { border-bottom: 2px solid #b09a78; min-height: 260px; }
.trilha::before { background: linear-gradient(180deg, transparent 0%, rgba(9, 8, 6, .85) 100%); }
.trilha-categoria { color: #ddc5a2; }
.trilha strong { font-weight: 740; }
.resultados { padding-top: 62px; }
.resultado { border: 1px solid #ddd7ce; border-top: 1px solid #ddd7ce; border-radius: 3px; }
.resultado:hover { border-color: #b7a48d; }
.resultado h3 { font-weight: 720; }
.resultado h3 a, .resultado h3 button { color: #2d2823; }
.resultado footer a, .resultado footer button { color: #786041; }
.filtros label input:checked + span { background: #3f3930; border-color: #3f3930; }
.rodape { background: #181714; }
@media (max-width: 900px) {
  .topo { min-height: 76px; }
  .hero-conteudo { padding-top: 118px; padding-bottom: 125px; }
  .hero h1 { font-size: clamp(53px, 7.4vw, 74px); }
  .hero::after {
    background: linear-gradient(90deg, rgba(3,5,4,.78), rgba(3,5,4,.36) 63%, rgba(0,0,0,.13)), linear-gradient(0deg, rgba(0,0,0,.50), transparent 28%);
  }
}
@media (max-width: 630px) {
  .topo { min-height: 100px; padding: 15px 0 12px; gap: 9px; }
  .marca strong { font-size: 17px; }
  .marca small { font-size: 9px; }
  .menu { justify-content: space-between; width: 100%; gap: 8px; }
  .menu a { font-size: 11px; padding-block: 4px; }
  .menu a.ativo { padding-bottom: 4px; }
  .hero, .hero-conteudo { min-height: 700px; min-height: 100svh; }
  .hero-imagem { background-position: 50% 50%; }
  .hero::after {
    background: linear-gradient(180deg, rgba(0,0,0,.67) 0%, rgba(0,0,0,.25) 25%, rgba(0,0,0,.46) 61%, rgba(0,0,0,.63) 100%);
  }
  .hero-conteudo {
    width: calc(100% - 40px);
    padding: 125px 0 132px;
    align-items: flex-end;
  }
  .hero-textos { margin-top: 0; margin-bottom: 36px; max-width: 100%; }
  .hero h1 { font-size: clamp(42px, 10.1vw, 58px); letter-spacing: -.049em; line-height: 1.02; margin-bottom: 17px; }
  .hero-textos > p { font-size: 16px !important; max-width: 330px !important; }
  .hero-rodape {
    bottom: 24px; left: 20px; right: 20px;
    flex-direction: column; align-items: stretch; gap: 9px;
  }
  .hero-descer {
    align-self: flex-start; gap: 8px; font-size: 9px;
    letter-spacing: .12em; white-space: nowrap;
  }
  .descer-icone { width: 32px; height: 32px; flex: 0 0 32px; }
  .hero-sequencia { display: none; }
  .credito-imagem {
    order: -1; align-self: flex-end; font-size: 8px;
    max-width: 200px; text-align: right;
  }
  .pesquisa-cartao { padding-block: 34px 30px; }
  .pesquisa-intro h2 { font-size: 24px; }
  .campo-input { border-radius: 2px; }
  .btn-pesquisar { border-radius: 2px; }
  .trilhas { padding-top: 43px; }
  .trilha { min-height: 210px; }
  .resultados { padding-top: 36px; }
}
@media (prefers-reduced-transparency: reduce) {
  .cabecalho.rolando { background: #151512; backdrop-filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cabecalho { transition: none; }
}

@media (max-width: 630px) and (max-height: 700px) {
  .hero-textos { transform: translateY(29px); }
}

/* Ajuste de altura útil desktop: rodapé do hero sempre dentro da primeira dobra. */
@media (min-width: 631px) {
  .hero { height: 100svh; min-height: 0; }
  .hero-conteudo {
    height: 100%;
    min-height: 0;
    padding-top: clamp(82px, 12svh, 110px);
    padding-bottom: clamp(92px, 15svh, 138px);
  }
  .hero-rodape { bottom: clamp(16px, 3svh, 28px); }
}
@media (min-width: 631px) and (max-height: 760px) {
  .hero-conteudo { padding-top: 82px; padding-bottom: 90px; }
  .hero-textos { margin-top: 0; }
  .hero h1 { font-size: clamp(44px, 5vw, 69px); margin-bottom: 16px; }
  .hero-rodape { bottom: 18px; }
}
@media (min-width: 631px) and (max-height: 590px) {
  .hero-conteudo { padding-top: 70px; padding-bottom: 75px; }
  .hero h1 { font-size: clamp(38px, 4.35vw, 58px); margin-bottom: 12px; }
  .hero-descer { font-size: 9px; }
}

/* Acesso direto ao conteúdo sempre acima do cabeçalho fixo. */
.pular {
  position: fixed; z-index: 75; top: -110px; left: 12px;
  background: #1b1a17; color: #fff8eb;
  border: 2px solid #b2864d; border-radius: 3px;
  padding: 12px 17px; text-decoration: none; font-weight: 700;
}
.pular:focus, .pular:focus-visible { top: 12px; color: #fff8eb; }
#conteudo { scroll-margin-top: 88px; }
