/* Pesquisar Ofertas  estilo unificado. Paleta extraida da logomarca (pesquisarofertas-III). */
/* Fontes hospedadas no proprio site (pasta /fonts)  nenhum recurso externo */
@font-face{font-family:"Fraunces";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/fraunces-latin-600-normal.woff2") format("woff2")}
@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/inter-400.woff") format("woff")}
@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/inter-500.woff") format("woff")}
@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/inter-600.woff") format("woff")}
:root{
  color-scheme:light;
  --floresta:#0f3526;      /* verde da caneta-tinteiro e do carrinho */
  --floresta-2:#184830;
  --floresta-3:#e4ece7;    /* tom claro do verde, para fundos de apoio */
  --ouro:#b09860;          /* dourado da pena */
  --ouro-esc:#7a6633;      /* dourado para texto sobre branco (contraste AA) */
  --grafite:#606060;       /* cinza metalico do carrinho */
  --texto:#1f2a25;
  --texto-2:#4d5752;
  --fundo:#f1f4f2;
  --papel:#ffffff;
  --linha:#d9e0db;
  --serif:"Fraunces",Georgia,"Times New Roman",serif;
  --sans:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --raio:10px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-family:var(--sans);font-size:1.0625rem;line-height:1.65;color:#1f2a25;color:var(--texto);background:#f1f4f2;background:var(--fundo);min-height:100vh;display:flex;flex-direction:column}
img{max-width:100%;display:block}
h1,h2,h3,p,li,td,th,a{overflow-wrap:break-word}
a{color:#184830;color:var(--floresta-2);text-decoration-color:#b09860;text-decoration-color:var(--ouro);text-underline-offset:3px}
a:hover{color:#0f3526;color:var(--floresta)}
:focus-visible{outline:3px solid #b09860;outline:3px solid var(--ouro);outline-offset:2px;border-radius:4px}

/* Topo */
.topo{background:#ffffff;background:var(--papel);border-bottom:1px solid #d9e0db;border-bottom:1px solid var(--linha);position:sticky;top:0;z-index:50}
.topo-in{max-width:1080px;margin:0 auto;padding:.6rem 1.25rem;display:flex;align-items:center;justify-content:space-between;gap:1.5rem}
.marca{display:flex;align-items:center;gap:.75rem;text-decoration:none;color:#0f3526;color:var(--floresta);flex-shrink:0}
.marca img{height:48px;width:auto}
.marca span{font-family:"Fraunces",Georgia,"Times New Roman",serif;font-family:var(--serif);font-weight:600;font-size:1.3rem;letter-spacing:-.01em}
.menu{display:flex;align-items:center;gap:.25rem}
.menu a{padding:.5rem .85rem;text-decoration:none;color:#4d5752;color:var(--texto-2);font-weight:500;font-size:.95rem;white-space:nowrap;border-bottom:2px solid transparent}
.menu>a,.drop summary{padding:.5rem .85rem;color:#4d5752;color:var(--texto-2);font-weight:500;font-size:.95rem;white-space:nowrap;border-bottom:2px solid transparent;text-decoration:none;cursor:pointer}
.menu a:hover,.drop summary:hover{color:#0f3526;color:var(--floresta)}
.menu [aria-current="page"]{color:#0f3526;color:var(--floresta);border-bottom-color:#b09860;border-bottom-color:var(--ouro)}
.drop{position:relative}
.drop summary{list-style:none;display:flex;align-items:center;gap:.4rem}
.drop summary::-webkit-details-marker{display:none}
.drop summary::after{content:"";width:.45rem;height:.45rem;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .15s}
.drop[open] summary::after{transform:rotate(225deg) translate(0,-2px)}
.drop ul{position:absolute;right:0;top:calc(100% + .35rem);min-width:15rem;max-height:70vh;overflow-y:auto;list-style:none;background:#ffffff;background:var(--papel);border:1px solid #d9e0db;border:1px solid var(--linha);border-top:3px solid #b09860;border-top:3px solid var(--ouro);border-radius:0 0 10px 10px;border-radius:0 0 var(--raio) var(--raio);box-shadow:0 10px 24px rgba(15,53,38,.14);padding:.4rem 0;z-index:60}
.drop li a{display:block;padding:.6rem 1.1rem;color:#1f2a25;color:var(--texto);text-decoration:none;font-size:.95rem;border-left:3px solid transparent}
.drop li a:hover{background:#e4ece7;background:var(--floresta-3);color:#0f3526;color:var(--floresta)}
.drop li a[aria-current="page"]{border-left-color:#b09860;border-left-color:var(--ouro);font-weight:600;color:#0f3526;color:var(--floresta)}

/* Faixa de titulo: verde da logo com fio dourado */
.faixa{background:#0f3526;background:var(--floresta);color:#fff;border-bottom:4px solid #b09860;border-bottom:4px solid var(--ouro)}
.faixa-in{max-width:1080px;margin:0 auto;padding:3rem 1.25rem 2.75rem}
.faixa .tag{background:rgba(176,152,96,.2);color:#e6d9b8}
.faixa h1{color:#fff;font-family:"Fraunces",Georgia,"Times New Roman",serif;font-family:var(--serif);font-weight:600;font-size:clamp(1.9rem,4.6vw,3rem);line-height:1.12;letter-spacing:-.02em;max-width:22em;text-wrap:balance;margin-top:.9rem}
.faixa .lede{font-size:clamp(1.05rem,2vw,1.25rem);color:#cfdcd4;max-width:42em;margin-top:1rem}
.faixa .meta{font-size:.875rem;color:#9db3a7;margin-top:1.1rem}
.tag{display:inline-block;font-size:.8rem;font-weight:600;padding:.2rem .65rem;border-radius:99px;background:#e4ece7;background:var(--floresta-3);color:#184830;color:var(--floresta-2)}

/* Pagina */
.pagina{flex:1;width:100%;max-width:1080px;margin:0 auto;padding:2.5rem 1.25rem 4rem}
.artigo{max-width:46rem;margin:0 auto}
.artigo.largo{max-width:none}
.artigo>*+*{margin-top:1.15rem}
.artigo h2{font-family:"Fraunces",Georgia,"Times New Roman",serif;font-family:var(--serif);font-weight:600;font-size:clamp(1.45rem,3vw,1.9rem);line-height:1.2;letter-spacing:-.015em;color:#0f3526;color:var(--floresta);margin-top:2.6rem;text-wrap:balance}
.artigo h3{font-family:"Fraunces",Georgia,"Times New Roman",serif;font-family:var(--serif);font-weight:600;font-size:1.25rem;line-height:1.3;color:#0f3526;color:var(--floresta);margin-top:2rem}
.artigo h2+*,.artigo h3+*{margin-top:.7rem}
.artigo ul{padding-left:1.3rem}
.artigo li{margin-top:.5rem}
.artigo li::marker{color:#b09860;color:var(--ouro)}
.artigo strong{color:#0f3526;color:var(--floresta);font-weight:600}
.artigo hr{border:0;height:1px;background:#d9e0db;background:var(--linha);margin:2.5rem 0}
.artigo .intro{font-size:1.15rem;color:#4d5752;color:var(--texto-2)}
sup,sub{font-size:.75em;line-height:0;position:relative;vertical-align:baseline}
sup{top:-.5em}sub{bottom:-.25em}

/* Botoes de afiliado (Mercado Livre = ouro, Amazon = verde) */
.lojas{display:flex;flex-wrap:wrap;gap:.6rem}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.55rem 1.25rem;border-radius:8px;font-weight:600;font-size:.95rem;text-decoration:none;border:2px solid transparent;transition:background-color .15s,color .15s}
.btn.ml{background:#b09860;background:var(--ouro);color:#0f3526;color:var(--floresta);border-color:#b09860;border-color:var(--ouro)}
.btn.ml:hover{background:#c2ab72;border-color:#c2ab72;color:#0f3526;color:var(--floresta)}
.btn.amz{background:#0f3526;background:var(--floresta);color:#fff;border-color:#0f3526;border-color:var(--floresta)}
.btn.amz:hover{background:#184830;background:var(--floresta-2);border-color:#184830;border-color:var(--floresta-2);color:#fff}

/* Cartoes de produto (computadores, geladeiras) */
.produto{display:grid;grid-template-columns:170px 1fr;gap:1.5rem;background:#ffffff;background:var(--papel);border:1px solid #d9e0db;border:1px solid var(--linha);border-radius:10px;border-radius:var(--raio);padding:1.25rem;margin-top:1.5rem}
.produto-img{background:#e4ece7;background:var(--floresta-3);border-radius:8px;display:flex;align-items:center;justify-content:center;padding:.75rem;min-height:170px}
.produto-img img{max-height:220px;width:auto;object-fit:contain}
.produto-body>*+*{margin-top:.8rem}
.artigo .produto h2{margin-top:0;font-size:1.3rem}
.produto .specs{font-size:.9rem;font-weight:600;color:#7a6633;color:var(--ouro-esc);border-top:1px solid #d9e0db;border-top:1px solid var(--linha);padding-top:.8rem}
.produto ul{font-size:.97rem;color:#4d5752;color:var(--texto-2)}

/* Tabelas */
.tabela-wrap{overflow-x:auto;border:1px solid #d9e0db;border:1px solid var(--linha);border-radius:10px;border-radius:var(--raio);background:#ffffff;background:var(--papel)}
table{width:100%;border-collapse:collapse;font-size:.95rem}
th{background:#0f3526;background:var(--floresta);color:#fff;text-align:left;font-weight:600;padding:.8rem 1rem;white-space:nowrap}
td{padding:.75rem 1rem;border-top:1px solid #d9e0db;border-top:1px solid var(--linha);vertical-align:middle}
tbody tr:hover{background:#e4ece7;background:var(--floresta-3)}
td .lojas{flex-wrap:nowrap}
td .btn{min-height:38px;padding:.3rem .9rem;font-size:.88rem}
.badge{display:inline-block;padding:.15rem .65rem;border-radius:99px;font-size:.8rem;font-weight:600;white-space:nowrap}
.badge-iniciante{background:#e4ece7;background:var(--floresta-3);color:#184830;color:var(--floresta-2)}
.badge-intermediario{background:#efe6cf;color:#7a6633;color:var(--ouro-esc)}
.badge-avancado{background:#0f3526;background:var(--floresta);color:#fff}

/* Filtros: blocos de apoio */
.destaque{background:#e4ece7;background:var(--floresta-3);border-left:4px solid #0f3526;border-left:4px solid var(--floresta);border-radius:0 10px 10px 0;border-radius:0 var(--raio) var(--raio) 0;padding:1.4rem 1.5rem}
.destaque h3{margin-top:0}
.etapa{background:#ffffff;background:var(--papel);border-radius:8px;padding:1rem 1.15rem;margin-top:.9rem;font-size:.98rem}
.etapa strong{display:block;margin-bottom:.25rem}
.aplicacoes{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}
.aplicacoes li{background:#ffffff;background:var(--papel);border:1px solid #d9e0db;border:1px solid var(--linha);border-radius:10px;border-radius:var(--raio);padding:1rem 1.15rem;margin:0;font-size:.97rem}
.aplicacoes strong{display:block;font-family:"Fraunces",Georgia,"Times New Roman",serif;font-family:var(--serif);font-size:1.1rem;margin-bottom:.2rem}
.opcao{position:relative;background:#ffffff;background:var(--papel);border:1px solid #d9e0db;border:1px solid var(--linha);border-radius:10px;border-radius:var(--raio);padding:1.4rem;overflow:hidden}
.opcao.em-alta{border:2px solid #b09860;border:2px solid var(--ouro)}
.opcao-topo{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem}
.artigo .opcao h3{margin:0;font-size:1.2rem}
.opcao>p{margin-top:.7rem;color:#4d5752;color:var(--texto-2);font-size:.98rem}
.fita{position:absolute;top:0;right:0;background:#b09860;background:var(--ouro);color:#0f3526;color:var(--floresta);font-weight:600;font-size:.8rem;padding:.25rem .9rem;border-bottom-left-radius:8px}
.oferta{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;margin-top:1rem;padding-top:1rem;border-top:1px solid #d9e0db;border-top:1px solid var(--linha)}
.oferta img{width:96px;height:96px;object-fit:contain;background:#e4ece7;background:var(--floresta-3);border-radius:8px;padding:.35rem}
.oferta-titulo{flex:1 1 14rem;font-size:.95rem;font-weight:500}
.resumo{background:#0f3526;background:var(--floresta);color:#dbe6df;border-radius:10px;border-radius:var(--raio);padding:1.75rem}
.artigo .resumo h2{color:#fff;margin-top:0;font-size:1.5rem}
.resumo strong{color:#fff}
.resumo li::marker{color:#b09860;color:var(--ouro)}

/* Inicio: lista de artigos */
.lista{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem}
.cartao{display:grid;grid-template-columns:150px 1fr;gap:1.25rem;background:#ffffff;background:var(--papel);border:1px solid #d9e0db;border:1px solid var(--linha);border-radius:10px;border-radius:var(--raio);padding:1.1rem;transition:border-color .15s,box-shadow .15s}
.cartao:hover{border-color:#b09860;border-color:var(--ouro);box-shadow:0 6px 18px rgba(15,53,38,.08)}
.cartao-img{background:#e4ece7;background:var(--floresta-3);border-radius:8px;display:flex;align-items:center;justify-content:center;padding:.5rem;height:150px}
.cartao-img img{max-height:100%;width:auto;object-fit:contain}
.cartao h2{font-family:"Fraunces",Georgia,"Times New Roman",serif;font-family:var(--serif);font-weight:600;font-size:1.2rem;line-height:1.25;letter-spacing:-.01em;margin:.5rem 0 .4rem}
.cartao h2 a{color:#0f3526;color:var(--floresta);text-decoration:none}
.cartao h2 a::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0}
.cartao{position:relative}
.cartao p{font-size:.93rem;color:#4d5752;color:var(--texto-2);display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}

/* Rodape */
.rodape{background:#0f3526;background:var(--floresta);color:#c3d3c9;border-top:4px solid #b09860;border-top:4px solid var(--ouro);font-size:.9rem}
.rodape-in{max-width:1080px;margin:0 auto;padding:1.75rem 1.25rem;display:grid;gap:.6rem}
.rodape p:first-child{color:#fff;font-weight:500}
.rodape p+p{max-width:50rem;font-size:.85rem;color:#a9bdb1}

@media (max-width:820px){
  .lista{grid-template-columns:1fr}
}
@media (max-width:640px){
  .topo{position:static}
  .topo-in{flex-wrap:wrap;gap:0;padding-top:.5rem;padding-bottom:0}
  .menu{width:100%;margin:0 -.5rem}
  .menu{position:relative}
  .drop{position:static}
  .drop ul{left:.5rem;right:.5rem;min-width:0}
  .marca img{height:40px}
  .faixa-in{padding:2.25rem 1.25rem 2rem}
  .produto,.cartao{grid-template-columns:1fr}
  .produto-img,.cartao-img{height:auto}
  .produto-img img{max-height:180px}
  .cartao-img{height:150px}
  body{font-size:1rem}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
