/* V20: botões coerentes e cenas de produto sem retratos repetidos. */
.home-page .site-header .nav > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  box-sizing: border-box;
  min-width: 88px;
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid #d5ccbd;
  border-radius: 8px;
  color: #342d25;
  background: #fff;
  box-shadow: 0 2px 8px rgba(39, 31, 22, .055);
  font: 700 13px/1.2 Arial, Helvetica, sans-serif;
  opacity: 1;
  text-decoration: none;
  text-shadow: none;
  white-space: nowrap;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
}
.home-page .site-header .nav > a:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(39, 31, 22, .12);
  text-decoration: none;
  opacity: 1;
}
.home-page .site-header .nav > a:focus-visible {
  outline: 3px solid #b89b61;
  outline-offset: 3px;
  opacity: 1;
}
.home-page .site-header .nav-link-magazine { color: #674b22; border-color: #d8bd81; background: #fffaf0; }
.home-page .site-header .nav-link-book { color: #35543d; border-color: #aabdaa; background: #f5f8f3; }
.home-page .site-header .nav-link-guide { color: #12613a; border-color: #93c3a1; background: #f1f8f3; }
.home-page .site-header .nav > a.nav-natal-entry {
  color: #fff;
  border-color: #8e1b1b;
  background: #8e1b1b;
  box-shadow: 0 2px 8px rgba(110, 22, 22, .16);
}
.home-page .site-header .nav > a.nav-natal-entry::before,
.home-page .site-header .nav > a.nav-natal-entry::after { display: none !important; content: none !important; animation: none !important; }
.home-page .site-header .nav > a.nav-achados-link {
  min-width: 0;
  color: #20324a !important;
  border-color: #3483fa;
  background: #ffe600;
}
.home-page .site-header .nav > a.nav-achados-link::before {
  display: inline-grid;
  place-items: center;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border: 1px solid #3483fa;
  border-radius: 50%;
  color: #1765c0;
  background: #fff;
  content: "ML";
  font: 800 8px/1 Arial, Helvetica, sans-serif;
  text-shadow: none;
}
.home-page .site-header .nav > a.nav-bf-link { color: #f7d875 !important; border-color: #b99242; background: #28231d; }
.home-page .site-header .nav > a.nav-link-support { border-color: #d4cec3; background: #f8f7f4; }

.home-duarte-note { padding: clamp(32px, 5vw, 62px) 0; background: #f7f4ec; }
.home-duarte-note-inner { display: grid; grid-template-columns: 172px minmax(0, 1fr); align-items: center; gap: clamp(22px, 4vw, 45px); max-width: 900px; }
.home-duarte-note-inner > img { display: block; width: 172px; aspect-ratio: 1; object-fit: cover; object-position: center 34%; border: 5px solid #fff; border-radius: 50%; box-shadow: 0 12px 34px rgba(43, 35, 26, .14); }
.home-duarte-note .eyebrow { margin: 0 0 9px; color: #816126; font: 800 10px/1.4 Arial, Helvetica, sans-serif; letter-spacing: .14em; }
.home-duarte-note h2 { margin: 0 0 10px; color: #282119; font: 700 clamp(27px, 3.6vw, 39px)/1.12 Georgia, "Times New Roman", serif; }
.home-duarte-note p:last-child { max-width: 58ch; margin: 0; color: #62584d; font: 17px/1.6 Arial, Helvetica, sans-serif; }

.funnel-page .product-hero-visual.lifestyle-hero-v20 {
  display: block;
  position: relative;
  width: min(100%, 560px);
  min-height: 0;
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(112, 83, 44, .16);
  border-radius: 16px;
  background: #f0e9dc;
  box-shadow: 0 22px 58px rgba(43, 35, 25, .14);
  transform: none;
}
.funnel-page .product-hero-visual.lifestyle-hero-v20::before,
.funnel-page .product-hero-visual.lifestyle-hero-v20::after { display: none; content: none; }
.funnel-page .product-hero-visual.lifestyle-hero-v20 img {
  display: block;
  position: static;
  z-index: auto;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
  object-fit: cover;
  box-shadow: none;
  transform: none;
}
.funnel-page .product-hero-visual.magazine-hero-covers.lifestyle-hero-v20 { width: min(100%, 560px); min-height: 0; }

.natal-page .n-family-visual-v20 { width: 100%; height: auto; min-height: 0; aspect-ratio: 4 / 3; display: block; }
.natal-page .n-family-hero-v20 { position: relative; width: 100%; height: 100%; margin: 0; overflow: hidden; border: 7px solid #fffaf1; border-radius: 13px; background: #312116; box-shadow: 0 22px 60px rgba(43, 32, 21, .2); transform: none; }
.natal-page .n-family-hero-v20 img { display: block; width: 100%; height: 100%; object-fit: cover; }
.natal-page .n-family-hero-v20 figcaption { position: absolute; right: 14px; bottom: 14px; left: 14px; padding: 10px 14px; border: 1px solid rgba(255, 248, 232, .56); border-radius: 7px; color: #fffaf1; background: rgba(42, 25, 19, .72); font: italic 16px/1.35 Georgia, "Times New Roman", serif; text-align: center; }

.funnel-black-friday .bf-visual { min-height: 510px; }
.funnel-black-friday .bf-frame { width: 57%; height: 225px; padding: 7px; border-radius: 10px; }
.funnel-black-friday .bf-frame-mag { top: 4px; left: 1%; transform: rotate(-6deg); }
.funnel-black-friday .bf-frame-guide { top: 34px; right: 0; transform: rotate(5deg); }
.funnel-black-friday .bf-frame-book { top: 142px; left: 12%; transform: rotate(3deg); }
.funnel-black-friday .bf-frame-natal { top: 263px; right: 5%; transform: rotate(-4deg); }
.funnel-black-friday .bf-item-image { height: auto; aspect-ratio: 4 / 3; }
.funnel-black-friday .bf-product-offer > img { height: auto; aspect-ratio: 4 / 3; padding: 0; object-fit: cover; }

@media (max-width: 900px) {
  .funnel-black-friday .bf-visual { min-height: 475px; }
  .funnel-black-friday .bf-frame { height: 210px; }
}
@media (max-width: 720px) {
  .home-page .site-header .nav > a { min-width: 0; min-height: 40px; padding: 7px 10px; font-size: 12px; }
  .home-page .site-header .nav > a.nav-achados-link { gap: 5px; }
  .home-page .site-header .nav > a.nav-achados-link::before { flex-basis: 18px; width: 18px; height: 18px; }
  .home-duarte-note-inner { grid-template-columns: 96px minmax(0, 1fr); gap: 17px; }
  .home-duarte-note-inner > img { width: 96px; border-width: 3px; }
  .home-duarte-note h2 { font-size: 26px; }
  .home-duarte-note p:last-child { font-size: 15px; }
  .funnel-black-friday .bf-visual { min-height: 385px; }
  .funnel-black-friday .bf-frame { width: 59%; height: 170px; padding: 5px; }
  .funnel-black-friday .bf-frame-mag { top: 2px; left: 0; }
  .funnel-black-friday .bf-frame-guide { top: 20px; right: 0; }
  .funnel-black-friday .bf-frame-book { top: 112px; left: 7%; }
  .funnel-black-friday .bf-frame-natal { top: 198px; right: 1%; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page .site-header .nav > a { transition: none; }
}

/* No celular, a foto de variedade abre a página do livro e ocupa o espaço
   que antes ficava vazio acima da oferta. */
@media (max-width: 720px) {
  .funnel-page .book-hero.premium-hero {
    padding: 0 0 48px;
    background: linear-gradient(180deg, #f2f6ef 0%, #fffdf8 72%, #f7f4ec 100%);
  }
  .funnel-page .book-hero.premium-hero .product-hero-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 0;
  }
  .funnel-page .book-hero .book-variety-hero-v21 {
    order: -1;
    align-self: center;
    width: calc(100vw - 32px);
    max-width: none;
    height: clamp(220px, 56vw, 330px);
    aspect-ratio: auto;
    margin: 0 auto 22px;
    border-radius: 0 0 15px 15px;
  }
  .funnel-page .book-hero .book-variety-hero-v21 img {
    object-position: center 52%;
  }
  .funnel-page .book-hero .product-hero-copy {
    order: 0;
    width: 100%;
    max-width: none;
  }
}
