/* Ajustes da fase 1 — contraste, tipografia, placeholders e páginas institucionais */

:root{
  --eyebrow:#5b4c16;
  --muted:#5c5850;
}

.eyebrow{color:var(--eyebrow);font-size:13px}
.brands .eyebrow,
.decision-card.positive .eyebrow{color:var(--gold)}
.social-section .eyebrow,
.article span{color:var(--eyebrow)}
.brand-strip span{color:#8A8A8A}

.brand span{font-size:13px;line-height:1.15;letter-spacing:.12em}
.editorial-stamp span{font-size:12px;letter-spacing:.12em}
.category-grid a span,
.category-grid .category-item span{font-size:12px;color:#5c5850}
.category-grid .dark span{color:var(--gold)}
.category-grid a small,
.category-grid .category-item small{font-size:13px}
.product-image span,
.related-card>a>div span,
.related-card .related-visual span{font-size:12px;letter-spacing:.1em}
.product-info small{font-size:13px;color:var(--muted);line-height:1.45}
.product-info strong,.feature b,.article b{font-size:13px}
.brand-note{font-size:13px;color:#c8c4bc}
.footer-brand p,
.footer-links,
.footer-social a,
.footer-bottom p,
.footer-bottom span{font-size:14px;line-height:1.5}
.footer-bottom{font-size:13px;color:#d0cdc6}
.footer-bottom p{color:#d0cdc6}
.footer-brand p{color:#c8c4bc}
.breadcrumb{font-size:14px;color:#5c5850}
.store-block>span,
.selection-reasons li span,
.editorial-points article>span,
.gallery-thumb,
.related-heading>a{font-size:13px}
.store-block small,
.conversion small{font-size:14px;color:var(--muted);line-height:1.55}
.gallery-thumb span{font-size:12px}
.related-card b{font-size:13px}

/* Category / card placeholders (not links) */
.category-grid .category-item{
  min-height:180px;
  border-right:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding:24px;
  display:grid;
  grid-template-columns:1fr auto;
  align-content:space-between;
  position:relative;
  overflow:hidden;
  color:inherit;
}
.category-grid .category-item b{font-family:var(--serif);font-size:25px;font-weight:500}
.category-grid .category-item i{font-style:normal;font-size:13px;letter-spacing:.08em;font-weight:700;align-self:end}
.coming-soon{
  display:inline-block;
  font-family:var(--sans);
  font-style:normal;
  font-size:11px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  background:var(--ivory);
  color:var(--ink);
  padding:6px 9px;
  border:1px solid var(--line);
}
.category-grid .dark .coming-soon{background:var(--gold);border-color:transparent;color:var(--ink)}
.product-card.is-placeholder,
.related-card.is-placeholder,
.feature.is-placeholder,
.article.is-placeholder{cursor:default}
.product-card.is-placeholder .product-info strong,
.related-card.is-placeholder b,
.feature.is-placeholder b,
.article.is-placeholder b{font-weight:700;color:var(--ink)}
.feature.is-placeholder b{color:#fff}
.article.is-placeholder>div,
.article.is-placeholder{padding:33px;display:flex;flex-direction:column;justify-content:center;height:100%}
.article.lead.is-placeholder{padding:0}
.article.lead.is-placeholder>div:last-child{padding:32px}

.affiliate-warning{
  background:#fff;
  border:1px solid var(--line);
  border-left:3px solid var(--gold);
  padding:14px 16px;
  font-size:14px;
  line-height:1.55;
  color:var(--ink);
  margin-top:14px;
}
.conversion .affiliate-warning{background:rgba(247,244,236,.92)}
.review-note{
  background:var(--ivory);
  border-left:3px solid var(--gold);
  padding:14px 16px;
  font-size:15px;
  line-height:1.5;
  color:var(--ink);
  margin:0 0 28px;
}

/* Images */
picture{display:block;width:100%;height:100%}
picture img,
img{max-width:100%}
.brand{flex:none}
.brand img{
  display:block;
  width:46px;
  height:46px;
  max-width:46px;
  max-height:46px;
  object-fit:contain;
  flex:none;
  border-radius:50%;
}
.footer-brand{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  min-width:0;
}
.footer-logo{
  display:block;
  width:64px;
  height:64px;
  flex:none;
  margin:0 0 14px;
  overflow:hidden;
  border-radius:50%;
}
.footer-brand img,
.footer-logo img{
  display:block;
  width:64px;
  height:64px;
  max-width:64px;
  max-height:64px;
  object-fit:contain;
  flex:none;
  border-radius:50%;
}
.footer-brand h3{margin:0 0 8px}
.footer-brand p{margin:0;max-width:32ch}

/* Legal / 404 */
.legal-page,
.error-page{padding:56px 0 110px}
.legal-page h1,
.error-page h1{font-family:var(--serif);font-weight:500;letter-spacing:-.03em;font-size:clamp(36px,5vw,58px);line-height:1.08;margin:0 0 18px}
.legal-lead,
.error-page .lead{font-size:18px;line-height:1.6;color:var(--muted);max-width:640px;margin:0 0 32px}
.legal-body{max-width:740px;font-size:17px;line-height:1.75;color:#2a2a2a}
.legal-body h2{font-family:var(--serif);font-weight:500;font-size:28px;margin:40px 0 12px}
.legal-body h3{font-size:18px;margin:28px 0 8px}
.legal-body p,.legal-body li{margin:0 0 14px}
.legal-body ul{padding-left:22px}
.legal-body a{text-decoration:underline;text-underline-offset:3px}
.legal-body a:hover{color:#5b4c16}
.contact-list{list-style:none;padding:0;margin:28px 0}
.contact-list li{margin:0 0 18px;padding:18px 0;border-top:1px solid var(--line)}
.contact-list a{display:inline-flex;align-items:center;gap:10px;font-weight:700}
.error-page .button{margin-right:12px;margin-top:8px}

/* Header menu accessibility */
.menu-button{min-width:44px;min-height:44px}

@media(max-width:980px){
  .desktop-nav{display:none}
  .menu-button{display:block}
}
@media(max-width:640px){
  .brand span{font-size:12px}
  .brand img{
    width:40px;
    height:40px;
    max-width:40px;
    max-height:40px;
  }
  .category-grid .category-item{min-height:156px;padding:20px}
  .category-grid .category-item b{font-size:23px}
  .legal-page,.error-page{padding:36px 0 80px}
  .contact-list a{min-height:44px}
  .footer-top{
    display:flex;
    flex-direction:column;
    gap:36px;
  }
  .footer-social{grid-column:auto}
  .footer-links{gap:12px 24px}
}
@media(max-width:430px){
  .section-heading h2,.brands h2,.social-section h2{font-size:38px}
}

/* Category images now wrap in <picture> — apply overlay to placeholders too */
.category-grid a > picture,
.category-grid .category-item > picture{
  position:absolute;inset:0;z-index:-2;width:100%;height:100%;
}
.category-grid a > picture img,
.category-grid .category-item > picture img{
  width:100%;height:100%;object-fit:cover;opacity:0;transform:scale(1.04);
  transition:opacity .45s ease,transform .65s ease;
}
.category-grid a:hover > picture img,
.category-grid a:focus-visible > picture img{opacity:.58;transform:scale(1)}
.category-grid .dark > picture img{opacity:.18}
.category-grid .dark:hover > picture img,
.category-grid .dark:focus-visible > picture img{opacity:.33}

.category-grid .category-item{position:relative;isolation:isolate;overflow:hidden;background:#fff}
.category-grid .category-item:after{
  content:"";position:absolute;inset:0;background:rgba(247,244,236,.62);z-index:-1;opacity:1;
}
.category-grid .category-item > picture img{opacity:.5;transform:none}
.category-grid .category-item span,
.category-grid .category-item b,
.category-grid .category-item i,
.category-grid .category-item small{position:relative;z-index:1}
.category-grid .category-item.dark{background:#191919;color:#fff}
.category-grid .category-item.dark:after{background:rgba(25,25,25,.7);opacity:1}
.category-grid .category-item.dark > picture img{opacity:.25}

@media(max-width:640px){
  .category-grid a:after{opacity:1;background:rgba(247,244,236,.62)}
  .category-grid a > picture img{opacity:.5;transform:none}
  .category-grid .dark > picture img{opacity:.25}
}

/* Don't lift placeholder product cards */
.product-card.is-placeholder:hover{transform:none;box-shadow:none}
.product-card.is-placeholder:hover .product-info strong{color:inherit;letter-spacing:.11em}
.article.is-placeholder:hover b{color:inherit;letter-spacing:.11em}
