/* Espionagem.com: a identidade da loja antiga (2008-2025) — o espião da lupa, o aço
   escovado e o azul — redesenhada em CSS para ficar nítida em qualquer ecrã. */
:root {
  --azul: #2f6f9f;
  --azul-esc: #1d4f78;
  --azul-claro: #579ecc;
  --azul-palido: #e8f1f8;
  --vermelho: #b3171c;
  --texto: #3a3f45;
  --suave: #6b737c;
  --linha: #d5dade;
  --fundo: #eef1f4;
  --cartao: #fff;
  --raio: 12px;
  --sombra: 0 1px 2px rgba(20, 30, 40, .06), 0 4px 14px rgba(20, 30, 40, .06);
  --aco: linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,0) 55%),
         linear-gradient(90deg, #dfe3e6, #f7f8f9 22%, #d3d8dc 48%, #c2c8cd 54%, #e9ecee 66%, #f7f8f9 84%, #dde1e4);
  --titulos: "Montserrat", Arial, Helvetica, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font: 15px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--texto);
  background: linear-gradient(180deg, #dfe4e8 0, var(--fundo) 280px) no-repeat, var(--fundo);
}
img { max-width: 100%; height: auto; }
a { color: var(--azul); text-underline-offset: 2px; }
a:hover { color: var(--azul-esc); }
h1, h2, h3 { font-family: var(--titulos); color: #24435e; line-height: 1.2; font-weight: 700; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px; z-index: 9; }
.saltar:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--azul-claro); outline-offset: 2px; }

.pagina { max-width: 1180px; margin: 0 auto; padding: 0 16px 32px; }

/* ---------- cabeçalho ---------- */
.cab {
  display: flex; align-items: stretch; justify-content: space-between; gap: 24px;
  margin-top: 14px; padding: 0 22px 0 0; border-radius: var(--raio); overflow: hidden;
  background: linear-gradient(180deg, #fff 0, #f2f4f6 100%); box-shadow: var(--sombra); border: 1px solid #e1e5e8;
}
.marca { display: flex; align-items: center; gap: 4px; text-decoration: none; min-width: 0; }
.marca-foto { width: 196px; height: 130px; object-fit: cover; object-position: left center; align-self: flex-end;
  -webkit-mask-image: linear-gradient(90deg, #000 72%, transparent); mask-image: linear-gradient(90deg, #000 72%, transparent); }
.marca-txt { display: flex; flex-direction: column; line-height: 1; }
.marca-nome { font: 300 40px/1 var(--titulos); letter-spacing: 1px; color: #4a4f55; white-space: nowrap; }
.marca-nome b { font-weight: 300; color: var(--azul-claro); }
.marca-sub { margin-top: 8px; font: 500 13px var(--titulos); letter-spacing: 4px; text-transform: uppercase; color: #9aa1a8; }
.cab-dir { display: flex; flex-direction: column; justify-content: center; gap: 8px; width: min(400px, 40%); padding: 16px 0; }
.cab-selo { margin: 0; display: flex; align-items: center; gap: 8px; font: 700 12px var(--titulos); letter-spacing: 1.5px; text-transform: uppercase; color: #59616a; }
.bandeira { width: 22px; height: 15px; border-radius: 3px; background: linear-gradient(90deg, #046a38 40%, #da291c 40%); box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); position: relative; flex: none; }
.bandeira::after { content: ""; position: absolute; left: 5px; top: 3.5px; width: 8px; height: 8px; border-radius: 50%; background: #ffe900; box-shadow: 0 0 0 1px #c9a400; }
.cab-pesq { display: flex; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px #c9d0d6, 0 1px 2px rgba(0,0,0,.05); overflow: hidden; }
.cab-pesq input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 11px 16px; font: inherit; font-size: 14px; outline: none; }
.cab-pesq button { border: 0; padding: 0 20px; color: #fff; font: 700 12px var(--titulos); letter-spacing: 1px; text-transform: uppercase; cursor: pointer;
  background: linear-gradient(180deg, #4b8fc2, var(--azul) 55%, var(--azul-esc)); }
.cab-pesq button:hover { filter: brightness(1.1); }
.cab-conf { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12.5px; color: var(--suave); }
.cab-conf li::before { content: "✓ "; color: #3a8f4c; font-weight: 700; }

/* ---------- menu ---------- */
.barra {
  display: flex; flex-wrap: wrap; align-items: center; margin: 12px 0 18px; padding: 4px 8px;
  border-radius: var(--raio); background: var(--aco); border: 1px solid #cdd3d8; box-shadow: var(--sombra);
}
.barra a, .barra button { color: #3d4650; font: 700 12.5px var(--titulos); letter-spacing: 1px; text-transform: uppercase; text-decoration: none; padding: 10px 16px; border: 0; background: none; cursor: pointer; border-radius: 8px; }
.barra a:hover, .barra button:hover { color: var(--azul-esc); background: rgba(255,255,255,.6); }
.barra-cat { display: none; }
.barra-env { margin-left: auto; font-size: 13px; color: var(--suave); padding: 0 10px; }
.barra-env::before { content: "✈ "; color: var(--azul-claro); }

/* ---------- corpo ---------- */
.corpo { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 22px; align-items: start; }
.lateral { position: sticky; top: 12px; display: flex; flex-direction: column; gap: 16px; }
.cats, .caixa-lat { background: var(--cartao); border-radius: var(--raio); box-shadow: var(--sombra); border: 1px solid #e1e5e8; padding: 8px; }
.caixa-lat-tit { margin: 4px 8px 6px; font: 700 12px var(--titulos); letter-spacing: 1.5px; text-transform: uppercase; color: #8a929a; }
.bt-cat { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: #33404c; font-weight: 600; font-size: 14px; text-decoration: none; }
.bt-cat span { flex: 1; }
.bt-cat small { min-width: 26px; text-align: center; font-size: 11px; font-weight: 700; color: #fff; padding: 2px 6px; border-radius: 999px;
  background: linear-gradient(180deg, #5c7186, #34495c); box-shadow: inset 0 1px rgba(255,255,255,.3); }
.bt-cat:hover { background: var(--azul-palido); color: var(--azul-esc); }
.bt-cat:hover small, .bt-cat[aria-current] small { background: linear-gradient(180deg, #4b8fc2, var(--azul-esc)); }
.bt-cat[aria-current] { background: var(--azul-palido); color: var(--azul-esc); }
.caixa-lat ul { margin: 0; padding: 0 4px 4px; list-style: none; font-size: 14px; }
.caixa-lat li a { display: block; padding: 6px; border-radius: 6px; color: #4a535c; text-decoration: none; }
.caixa-lat li a:hover { background: var(--fundo); color: var(--azul-esc); }

.principal { min-width: 0; }

/* título de secção */
.tit-barra { margin: 28px 0 14px; padding: 0 0 0 14px; font: 700 18px var(--titulos); color: #24435e; position: relative; }
.tit-barra::before { content: ""; position: absolute; left: 0; top: 2px; bottom: 2px; width: 4px; border-radius: 4px; background: linear-gradient(180deg, var(--azul-claro), var(--azul-esc)); }
h1.tit-barra { font-size: 26px; margin-top: 4px; }
.principal > .tit-barra:first-child, .migalhas + .tit-barra { margin-top: 0; }
.migalhas { font-size: 13px; color: var(--suave); margin: 0 0 10px; }
.migalhas a { color: var(--suave); }
.intro { font-size: 16px; margin: 0 0 16px; max-width: 70ch; }
.h1-inicio { font-size: 26px; margin: 28px 0 8px; }
.ordenar { font-size: 13px; color: var(--suave); margin: 4px 0 12px; }

/* ---------- novidades (montra) ---------- */
.novidades { background: var(--cartao); border-radius: var(--raio); box-shadow: var(--sombra); border: 1px solid #e1e5e8; overflow: hidden; }
.novidades-tit { margin: 0; padding: 10px 18px; background: var(--aco); border-bottom: 1px solid #d6dbdf; font: 700 12px var(--titulos); letter-spacing: 2px; text-transform: uppercase; color: #4a535c; display: flex; align-items: center; gap: 8px; }
.novidades-tit::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--vermelho); box-shadow: 0 0 0 3px rgba(179,23,28,.18); }
.slides { position: relative; background: radial-gradient(ellipse at 80% 50%, #f1f5f9 0, #fff 60%); }
.slide { display: none; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: center; padding: 26px 30px 18px; }
.slide.ativo { display: grid; }
@media (prefers-reduced-motion: reduce) { .prod { transition: none; } }
.slide-tit { margin: 0; font: 800 28px/1.1 var(--titulos); text-transform: uppercase; letter-spacing: -.3px; }
.slide-tit a { color: #1c2329; text-decoration: none; }
.slide-sub { display: inline-block; margin: 12px 0 14px; background: #1c2329; color: #fff; padding: 4px 12px; border-radius: 4px; font-size: 13px; font-weight: 600; }
.slide ul { margin: 0 0 18px; padding: 0; list-style: none; font-size: 15px; font-weight: 600; font-style: italic; color: #2a3036; }
.slide li { padding: 3px 0; }
.slide li::after { content: " ✔"; color: var(--vermelho); font-style: normal; }
.slide-img { position: relative; display: flex; justify-content: center; align-items: center; height: 280px; }
.slide-img img { max-height: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(0,0,0,.12)); }
.slide-selo { position: absolute; right: 4%; bottom: 6%; padding: 8px 14px; border-radius: 999px; color: #fff; font: 700 12px var(--titulos); letter-spacing: .5px; text-transform: uppercase;
  background: radial-gradient(circle at 30% 25%, #e8484d, var(--vermelho)); box-shadow: 0 4px 12px rgba(179,23,28,.35); }
.minis { display: flex; justify-content: center; gap: 10px; padding: 12px 16px 16px; border-top: 1px solid #edf0f2; background: #fafbfc; }
.mini { width: 64px; height: 64px; border: 0; border-radius: 10px; background: #fff; padding: 4px; cursor: pointer; opacity: .6; box-shadow: 0 0 0 1px var(--linha); transition: opacity .15s, box-shadow .15s; }
.mini.ativo, .mini:hover { opacity: 1; box-shadow: 0 0 0 2px var(--azul-claro); }
.mini img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- caixas de produto ---------- */
.grelha { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.prod { display: flex; flex-direction: column; background: var(--cartao); border-radius: var(--raio); box-shadow: var(--sombra); border: 1px solid #e1e5e8; overflow: hidden; transition: transform .15s, box-shadow .15s; }
.prod:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(20,30,40,.08), 0 10px 24px rgba(20,30,40,.1); }
.prod-tit { order: 2; margin: 0; padding: 12px 14px 0; font: 700 14.5px/1.3 var(--titulos); }
.prod-tit a { color: #24303b; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.prod-tit a:hover { color: var(--azul); }
.prod-img { order: 1; display: flex; align-items: center; justify-content: center; height: 190px; padding: 14px; background: linear-gradient(180deg, #fff, #f5f7f9); border-bottom: 1px solid #edf0f2; }
.prod-img img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.prod-frase { order: 3; flex: 1; margin: 6px 14px 12px; font-size: 13.5px; color: var(--suave); line-height: 1.45; }
.prod-base { order: 4; padding: 0 14px 14px; }
.prod-preco { margin: 0 0 10px; font-size: 12px; font-weight: 600; color: var(--suave); text-transform: uppercase; letter-spacing: .5px; }
.prod-preco span { color: var(--vermelho); text-transform: none; letter-spacing: 0; font-size: 13px; }
.prod-bts { display: flex; gap: 8px; }
.prod-bts .bt { flex: 1; }

.bt {
  display: inline-block; padding: 9px 16px; border-radius: 8px; border: 0;
  color: #fff; font: 700 12px var(--titulos); letter-spacing: .8px; text-transform: uppercase; text-decoration: none; text-align: center;
  box-shadow: inset 0 1px rgba(255,255,255,.25), 0 1px 2px rgba(0,0,0,.2); cursor: pointer; transition: filter .15s;
}
.bt:hover { color: #fff; filter: brightness(1.12); }
.bt-info { background: linear-gradient(180deg, #6b7580, #46505a); }
.bt-comprar { background: linear-gradient(180deg, #4b8fc2, var(--azul) 55%, var(--azul-esc)); }
.bt-grande { display: block; padding: 14px; font-size: 14px; margin: 6px 0 8px; }

/* ---------- ficha de produto ---------- */
.ficha { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; background: var(--cartao); border-radius: var(--raio); box-shadow: var(--sombra); border: 1px solid #e1e5e8; padding: 22px; }
.ficha-img { display: flex; align-items: center; justify-content: center; min-height: 320px; border-radius: 10px; background: linear-gradient(180deg, #fff, #f3f6f8); padding: 16px; }
.ficha-img img { max-height: 380px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.ficha-dados h1 { font-size: 26px; margin: 0 0 8px; color: #24435e; }
.ficha-frase { margin: 0 0 16px; font-size: 16px; color: var(--suave); }
.ficha-tab { width: 100%; border-collapse: separate; border-spacing: 0 4px; font-size: 12px; letter-spacing: .5px; text-transform: uppercase; }
.ficha-tab th, .ficha-tab td { background: linear-gradient(180deg, #3d4650, #262d34); color: #fff; padding: 9px 14px; }
.ficha-tab th { text-align: left; border-radius: 8px 0 0 8px; font-weight: 600; color: #c9d2da; }
.ficha-tab td { text-align: right; border-radius: 0 8px 8px 0; font-weight: 700; }
.ficha-tab td a { color: #9fd0f2; }
.ficha-nota { font-size: 12.5px; color: var(--suave); margin: 0; }
.info { margin-top: 18px; background: var(--cartao); border-radius: var(--raio); box-shadow: var(--sombra); border: 1px solid #e1e5e8; padding: 20px 24px; }
.info h2 { font-size: 22px; margin: 0 0 10px; }
.certos { padding: 0; list-style: none; }
.certos li { padding: 3px 0 3px 26px; position: relative; }
.certos li::before { content: "✔"; position: absolute; left: 4px; color: var(--vermelho); }
.ver-guia { font-weight: 600; }

/* ---------- caixas, listas e textos ---------- */
.caixa { border-left: 4px solid var(--azul-claro); background: var(--azul-palido); border-radius: 0 10px 10px 0; padding: 12px 16px; margin: 16px 0; font-size: 14.5px; }
.caixa > strong:first-child { display: block; color: #24303b; }
.caixa p { margin: 4px 0 0; }
.caixa.aviso { border-left-color: var(--vermelho); background: #fbeeee; }
.caixa.dica { border-left-color: #3a8f4c; background: #edf6ef; }
.texto { background: var(--cartao); border-radius: var(--raio); box-shadow: var(--sombra); border: 1px solid #e1e5e8; padding: 24px 30px; }
.texto > * { max-width: 75ch; }
.texto h1 { font-size: 28px; margin: 0 0 14px; }
.texto h2 { font-size: 20px; margin: 28px 0 10px; }
.texto h3 { font-size: 16px; }
.entrada { font-size: 17px; color: #2a3036; }
.pequeno { font-size: 12.5px; color: var(--suave); }
.lista-passos { counter-reset: p; list-style: none; padding: 0; }
.lista-passos > li { counter-increment: p; position: relative; padding: 4px 0 10px 38px; }
.lista-passos > li::before { content: counter(p); position: absolute; left: 0; top: 3px; width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(180deg, #4b8fc2, var(--azul-esc)); color: #fff; font: 700 13px/26px var(--titulos); text-align: center; }
.texto > .tabela { overflow-x: auto; margin: 14px 0; max-width: none; }
.tabela table { border-collapse: collapse; width: 100%; min-width: 480px; font-size: 14px; }
.tabela th { background: #2e363e; color: #fff; text-align: left; padding: 8px 10px; font-weight: 600; }
.tabela td { border-bottom: 1px solid var(--linha); padding: 8px 10px; vertical-align: top; }
.letras { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.letras a { min-width: 32px; text-align: center; padding: 5px; border-radius: 6px; background: var(--fundo); color: #3d4650; font-weight: 700; text-decoration: none; }
.letras a:hover { background: var(--azul-palido); color: var(--azul-esc); }
.glossario dt { font-weight: 700; color: #24303b; margin-top: 12px; scroll-margin-top: 12px; }
.glossario dd { margin: 2px 0 0 16px; }

.lista-cats, .lista-guias { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.lista-cats { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.lista-cats a { display: flex; align-items: center; gap: 12px; background: var(--cartao); border-radius: 10px; box-shadow: var(--sombra); border: 1px solid #e1e5e8; padding: 8px 12px; text-decoration: none; color: var(--suave); font-size: 12.5px; }
.lista-cats img { width: 52px; height: 52px; object-fit: contain; mix-blend-mode: multiply; }
.lista-cats b { display: block; color: #24303b; font-size: 14.5px; }
.lista-cats a:hover b { color: var(--azul); }
.lista-guias { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.lista-guias a { display: block; height: 100%; background: var(--cartao); border-radius: 10px; box-shadow: var(--sombra); border: 1px solid #e1e5e8; padding: 14px 16px; text-decoration: none; color: var(--suave); font-size: 13.5px; }
.lista-guias b { display: block; color: #24435e; font: 700 15px var(--titulos); margin-bottom: 4px; }
.lista-guias a:hover b { color: var(--azul); }

.pesq-grande { display: flex; gap: 8px; margin-bottom: 12px; }
.pesq-grande input { flex: 1; min-width: 0; padding: 11px 14px; border: 1px solid #c9d0d6; border-radius: 8px; font: inherit; }

/* ---------- rodapé ---------- */
.rodape { margin-top: 36px; padding: 22px 24px; border-radius: var(--raio); background: linear-gradient(180deg, #2e363e, #1f252b); color: #b6bfc7; }
.rodape-links { font-size: 13px; color: #6b757e; margin-bottom: 12px; }
.rodape-links a { color: #fff; font-weight: 600; text-decoration: none; margin: 0 4px; }
.rodape-links a:hover { color: #9fd0f2; }
.rodape-txt { font-size: 12.5px; line-height: 1.55; }
.rodape-txt p { margin: 0 0 6px; }
.rodape-txt a { color: #9fd0f2; }
.rodape-txt b { color: #fff; }

/* ---------- tablet e telemóvel ---------- */
@media (max-width: 1000px) {
  .corpo { grid-template-columns: 220px minmax(0, 1fr); gap: 16px; }
  .marca-nome { font-size: 30px; }
  .marca-foto { width: 150px; height: 110px; }
}
@media (max-width: 760px) {
  .pagina { padding: 0 12px 20px; }
  .cab { flex-direction: column; gap: 0; padding: 0; }
  .marca-foto { width: 108px; height: 80px; }
  .marca-nome { font-size: 21px; letter-spacing: 0; }
  .marca-foto { margin-right: -6px; }
  .marca-sub { font-size: 10px; letter-spacing: 2.5px; margin-top: 5px; }
  .cab-dir { width: auto; padding: 0 14px 14px; }
  .cab-selo { display: none; }
  .barra { margin: 10px 0 14px; padding: 3px; }
  .barra { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .barra a, .barra button { padding: 9px 8px; font-size: 10.5px; letter-spacing: .3px; white-space: nowrap; }
  .barra-cat { display: inline-block; }
  .barra-cat::after { content: " ▾"; }
  .barra-env { display: none; }
  .corpo { grid-template-columns: minmax(0, 1fr); }
  .lateral { display: none; position: static; }
  .lateral.aberta { display: flex; }
  .cats { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
  .cats .caixa-lat-tit { grid-column: 1 / -1; }
  .bt-cat { font-size: 13px; padding: 8px; }
  .caixa-lat { display: none; }
  .slide { grid-template-columns: minmax(0, 1fr); padding: 16px 16px 10px; gap: 8px; }
  .slide-img { order: -1; height: 180px; }
  .slide-tit { font-size: 20px; }
  .slide ul { font-size: 14px; }
  .mini { width: 48px; height: 48px; }
  .grelha { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .prod-img { height: 140px; padding: 10px; }
  .prod-tit { font-size: 13px; padding: 10px 10px 0; }
  .prod-frase { margin: 4px 10px 10px; font-size: 12.5px; }
  .prod-base { padding: 0 10px 10px; }
  .prod-bts { flex-direction: column; gap: 6px; }
  .bt { padding: 9px 8px; font-size: 11px; }
  .ficha { grid-template-columns: minmax(0, 1fr); padding: 14px; gap: 14px; }
  .ficha-img { min-height: 0; }
  .texto, .info { padding: 16px; }
  h1.tit-barra, .h1-inicio, .texto h1, .ficha-dados h1 { font-size: 22px; }
}
