:root {
  --ink: #283436;
  --cream: #fff8ec;
  --paper: #fff8ec;
  --coral: #f15b50;
  --yellow: #e8b93f;
  --green: #273720;
  --pink: #e792a7;
  --blue: #7ab9bd;
  --line: rgba(40, 52, 54, 0.18);
  --shadow: 0 22px 60px rgba(40, 52, 54, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 112px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { display: block; max-width: 100%; }

.ticker {
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
  border-bottom: 1px solid rgba(255,255,255,.2);
  white-space: nowrap;
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  min-width: max-content;
  padding: 8px 0;
  animation: ticker 24s linear infinite;
  text-transform: uppercase;
  font-size: .72rem;
  letter-spacing: .18em;
  font-weight: 700;
}
.ticker i { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
@keyframes ticker { to { transform: translateX(-50%); } }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
  padding: 18px clamp(22px, 5vw, 76px);
  background: rgba(255, 250, 240, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand { display: block; width: clamp(145px, 14vw, 215px); }
.brand img, .brand .custom-logo { width: 100%; height: auto; }
.brand .custom-logo-link { display: block; }
.desktop-nav { display: flex; justify-content: center; font-size: .84rem; font-weight: 700; }
.ediloka-menu { display: flex; align-items: center; justify-content: center; gap: clamp(11px, 1.45vw, 24px); margin: 0; padding: 0; list-style: none; }
.desktop-nav a { position: relative; padding: 7px 0; white-space: nowrap; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 3px; background: var(--coral); transition: width .25s ease; }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { width: 100%; }
.desktop-nav .menu-item-has-children { position: relative; }
.desktop-nav .sub-menu {
  position: absolute;
  z-index: 60;
  top: calc(100% + 7px);
  left: -16px;
  display: none;
  min-width: 210px;
  margin: 0;
  padding: 9px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  list-style: none;
}
.desktop-nav .menu-item-has-children:hover > .sub-menu,
.desktop-nav .menu-item-has-children:focus-within > .sub-menu { display: grid; }
.desktop-nav .sub-menu a { display: block; padding: 9px 11px; white-space: normal; }
.desktop-nav .sub-menu a::after { display: none; }
.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  padding: 9px 12px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
}
.cart-button b { display: grid; place-items: center; min-width: 23px; height: 23px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: .75rem; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(480px, 1.12fr);
  min-height: 660px;
  overflow: hidden;
  background: var(--cream);
  border-bottom: 1px solid var(--ink);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .25;
  background-image: radial-gradient(rgba(20,47,55,.25) .75px, transparent .75px);
  background-size: 8px 8px;
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 5vw 80px max(24px, 7vw);
}
.eyebrow { margin: 0 0 14px; font-size: .74rem; letter-spacing: .18em; font-weight: 800; text-transform: uppercase; }
h1, h2 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-weight: 500; line-height: .98; letter-spacing: -.045em; }
h1 { max-width: 680px; font-size: clamp(3.6rem, 6vw, 6.7rem); }
h2 { font-size: clamp(2.5rem, 4.2vw, 5rem); }
h3 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: 1.5rem; line-height: 1.06; }
.hero-lead { max-width: 570px; margin: 28px 0; font-size: clamp(1.05rem, 1.3vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 21px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px) rotate(-.4deg); box-shadow: 4px 5px 0 var(--ink); }
.button-primary { background: var(--coral); color: #fff; }
.button-ghost { background: transparent; }
.button-dark { background: var(--ink); color: var(--paper); }
.hero-notes { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 34px 0 0; padding: 0; list-style: none; font-size: .82rem; font-weight: 700; }
.hero-notes li::before { content: "✦"; margin-right: 7px; color: var(--coral); }
.hero-art { position: relative; align-self: stretch; min-height: 620px; display: grid; place-items: center; padding: 20px; }
.hero-art img { position: relative; z-index: 2; width: min(100%, 1000px); filter: saturate(1.08) contrast(1.02); mix-blend-mode: multiply; }
.orbit { position: absolute; border: 1px solid var(--ink); border-radius: 50%; opacity: .45; }
.orbit-one { width: 78%; aspect-ratio: 1; transform: rotate(18deg) scaleY(.48); }
.orbit-two { width: 46%; aspect-ratio: 1; transform: rotate(-26deg) scaleY(.64); border-color: var(--coral); }
.object-button {
  position: absolute;
  z-index: 4;
  display: block;
  border: 2px dashed transparent;
  border-radius: 45% 55% 48% 52%;
  transition: border-color .2s ease, transform .2s ease;
}
.object-button::before {
  content: "";
  position: absolute;
  inset: 7%;
  border: 2px dashed var(--ink);
  border-radius: inherit;
  opacity: 0;
  transition: opacity .2s ease;
}
.object-button span {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 67px;
  min-height: 48px;
  padding: 8px 12px;
  border: 1px solid var(--ink);
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--ink);
  clip-path: polygon(8% 0, 94% 5%, 100% 84%, 84% 100%, 4% 92%, 0 16%);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.object-button:hover::before,
.object-button:focus-visible::before { opacity: .78; }
.object-button:hover { transform: rotate(-1deg) scale(1.02); }
.object-button:focus-visible { outline: 4px solid var(--coral); outline-offset: 4px; }
.object-book { left: 2%; top: 40%; width: 31%; height: 33%; }
.object-book span { left: 3%; top: -7%; transform: rotate(-8deg); }
.object-horn { left: 55%; top: 39%; width: 23%; height: 28%; }
.object-horn span { right: -5%; bottom: -8%; background: var(--yellow); transform: rotate(8deg); }
.object-birds { left: 68%; top: 5%; width: 30%; height: 29%; }
.object-birds span { right: 6%; bottom: -2%; background: var(--blue); transform: rotate(7deg); }
.object-gear { left: 32%; top: 47%; width: 18%; height: 20%; }
.object-gear span { left: 16%; bottom: -30%; background: var(--pink); transform: rotate(-6deg); }
.object-hint {
  position: absolute;
  z-index: 4;
  right: 4%;
  bottom: 5%;
  margin: 0;
  padding: 7px 11px;
  border: 1px solid var(--ink);
  background: rgba(255, 250, 240, .9);
  transform: rotate(2deg);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.shop-section { padding: 110px clamp(22px, 7vw, 110px); }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 50px; }
.section-heading > p { max-width: 500px; margin: 0 0 7px; font-size: 1.08rem; }
.filters { display: flex; flex-wrap: wrap; gap: 9px; margin: 44px 0 34px; }
.filter { border: 1px solid var(--ink); border-radius: 999px; background: transparent; padding: 9px 16px; cursor: pointer; font-weight: 700; }
.filter:hover, .filter.is-active { background: var(--ink); color: var(--paper); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 18px; }
.product-card { display: flex; flex-direction: column; min-width: 0; }
.product-card.is-hidden { display: none; }
.product-image { position: relative; display: grid; place-items: center; aspect-ratio: .82; overflow: hidden; border: 1px solid var(--ink); border-radius: 32px 32px 12px 12px; }
.product-image::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(255,255,255,.7); border-radius: 23px 23px 8px 8px; pointer-events: none; }
.product-image.green { background: var(--green); }
.product-image.pink { background: var(--pink); }
.product-image.yellow { background: var(--yellow); }
.product-image.blue { background: var(--blue); }
.product-image.coral { background: var(--coral); }
.product-image img { width: 72%; height: 78%; object-fit: contain; filter: drop-shadow(0 14px 16px rgba(20,47,55,.25)); transition: transform .3s ease; }
.product-card:hover .product-image img { transform: rotate(-2deg) scale(1.04); }
.product-badge { position: absolute; z-index: 2; top: 16px; left: 16px; padding: 6px 10px; border: 1px solid var(--ink); border-radius: 999px; background: var(--paper); font-size: .68rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.product-info { display: flex; flex: 1; flex-direction: column; padding: 17px 5px 0; }
.product-kicker { margin: 0 0 8px; color: rgba(20,47,55,.72); font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.price-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; margin: 17px 0 13px; font-size: .88rem; }
.price-row strong { font-size: 1rem; }
.price-row span { color: var(--green); font-size: .73rem; font-weight: 800; text-transform: uppercase; }
.add-to-cart, .soldout-button {
  width: 100%;
  margin-top: auto;
  border: 1px solid var(--ink);
  border-radius: 12px;
  background: transparent;
  padding: 11px 13px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
}
.add-to-cart:hover, .add-to-cart:focus-visible { background: var(--ink); color: var(--paper); }
.soldout-stamp { position: absolute; z-index: 3; padding: 10px 18px; border: 3px solid var(--paper); background: var(--ink); color: var(--paper); transform: rotate(-9deg); font-family: Georgia, serif; font-size: 1.4rem; }
.is-soldout .product-image img { filter: grayscale(1) opacity(.55); }
.soldout-button { cursor: not-allowed; opacity: .52; }
.text-link { display: inline-block; border-bottom: 2px solid currentColor; font-weight: 800; }

.audio-cover { background: var(--ink); }
.sound-disc { display: flex; align-items: center; gap: 7px; width: 64%; height: 64%; justify-content: center; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; background: radial-gradient(circle, var(--coral) 0 11%, var(--yellow) 12% 18%, var(--ink) 19%); }
.sound-disc i { width: 8px; border-radius: 999px; background: var(--paper); animation: sound 1.2s ease-in-out infinite alternate; }
.sound-disc i:nth-child(1), .sound-disc i:nth-child(5) { height: 32%; }
.sound-disc i:nth-child(2), .sound-disc i:nth-child(4) { height: 55%; animation-delay: -.2s; }
.sound-disc i:nth-child(3) { height: 78%; animation-delay: -.4s; }
@keyframes sound { to { transform: scaleY(.55); } }

.listen-section { display: grid; grid-template-columns: 1fr 1fr; min-height: 700px; background: var(--ink); color: var(--paper); }
.listen-visual { position: relative; min-height: 600px; overflow: hidden; background: var(--green); }
.listen-visual img { width: 100%; height: 100%; object-fit: cover; }
.listen-ribbon { position: absolute; left: -35px; bottom: 72px; padding: 12px 56px; background: var(--yellow); color: var(--ink); transform: rotate(-7deg); font-family: Georgia, serif; font-size: clamp(1.25rem, 2.2vw, 2.1rem); }
.listen-copy { display: flex; flex-direction: column; justify-content: center; padding: 70px clamp(28px, 7vw, 100px); }
.listen-copy > p:not(.eyebrow) { max-width: 580px; margin: 28px 0 36px; font-size: 1.1rem; }
.audio-options { border-top: 1px solid rgba(255,255,255,.3); }
.audio-options a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 17px; padding: 21px 0; border-bottom: 1px solid rgba(255,255,255,.3); }
.audio-options b { color: var(--yellow); }
.audio-options span { display: flex; flex-direction: column; }
.audio-options small { color: rgba(255,255,255,.68); }
.audio-options i { font-style: normal; font-size: 1.6rem; transition: transform .2s ease; }
.audio-options a:hover i { transform: rotate(45deg); }

.free-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(45px, 8vw, 120px); align-items: center; padding: 110px clamp(22px, 9vw, 145px); background: var(--yellow); }
.free-copy > p:not(.eyebrow) { max-width: 540px; margin: 25px 0 30px; }
.platform-links { display: flex; flex-wrap: wrap; gap: 12px; }
.platform { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 17px; border: 1px solid var(--ink); border-radius: 999px; }
.platform span { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: var(--ink); color: var(--paper); }
.platform:hover { background: var(--paper); }
.spotify-frame { padding: 20px; border: 1px solid var(--ink); border-radius: 32px; background: var(--paper); box-shadow: 13px 13px 0 var(--ink); transform: rotate(1deg); }
.player-top { display: flex; align-items: center; gap: 8px; margin-bottom: 13px; letter-spacing: .12em; font-weight: 800; }
.player-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--coral); box-shadow: 20px 0 0 var(--green), 40px 0 0 var(--yellow); margin-right: 38px; }
.spotify-frame iframe { display: block; border: 0; border-radius: 16px; }

.club-section { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; min-height: 520px; overflow: hidden; padding: 80px clamp(22px, 9vw, 145px); background: var(--pink); border-bottom: 1px solid var(--ink); }
.club-machine { position: relative; min-height: 350px; }
.wheel { position: absolute; display: block; border: 12px dotted var(--ink); border-radius: 50%; animation: wheel 18s linear infinite; }
.wheel::before, .wheel::after { content: ""; position: absolute; left: 50%; top: 50%; width: 82%; height: 3px; background: var(--ink); transform: translate(-50%,-50%) rotate(45deg); }
.wheel::after { transform: translate(-50%,-50%) rotate(-45deg); }
.wheel-a { width: 210px; height: 210px; left: 6%; top: 12%; }
.wheel-b { width: 126px; height: 126px; left: 48%; top: 47%; animation-direction: reverse; }
.wheel-c { width: 70px; height: 70px; left: 57%; top: 15%; border-width: 8px; }
.machine-line { position: absolute; left: 25%; top: 46%; width: 45%; height: 4px; background: var(--ink); transform: rotate(16deg); }
.machine-star { position: absolute; left: 65%; top: 18%; font-size: 5rem; color: var(--yellow); animation: blink 1.6s ease-in-out infinite alternate; }
@keyframes wheel { to { transform: rotate(360deg); } }
@keyframes blink { to { transform: scale(.72) rotate(30deg); } }
.club-copy { max-width: 700px; }
.club-copy p:not(.eyebrow) { max-width: 590px; margin: 25px 0 30px; font-size: 1.1rem; }
.club-copy > small { display: block; margin-top: 12px; font-weight: 700; }

.publisher-section { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding: 110px clamp(22px, 9vw, 145px); }
.publisher-copy { align-self: end; max-width: 650px; font-size: 1.12rem; }

.cart-panel { position: fixed; z-index: 100; inset: 0 0 0 auto; display: flex; flex-direction: column; width: min(440px, 100%); padding: 25px; background: var(--paper); box-shadow: -30px 0 80px rgba(20,47,55,.24); transform: translateX(105%); transition: transform .3s ease; }
.cart-panel[aria-hidden="false"] { transform: translateX(0); }
.cart-head { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.cart-head small { letter-spacing: .13em; font-weight: 800; }
.cart-head h2 { margin-top: 6px; font-size: 3.2rem; }
.cart-close { border: 0; background: transparent; font-size: 2.3rem; cursor: pointer; }
.cart-items { flex: 1; overflow: auto; padding: 22px 0; }
.empty-cart { color: rgba(20,47,55,.62); }
.cart-item { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item p { margin: 0; font-weight: 800; }
.cart-item small { color: rgba(20,47,55,.68); }
.remove-item { grid-row: 1 / 3; grid-column: 2; align-self: center; border: 0; background: transparent; color: var(--coral); cursor: pointer; font-weight: 800; }
.cart-footer { border-top: 1px solid var(--line); padding-top: 18px; }
.cart-footer > div { display: flex; justify-content: space-between; margin-bottom: 15px; font-size: 1.15rem; }
.checkout-button { width: 100%; }
.cart-footer small { display: block; margin-top: 10px; color: rgba(20,47,55,.6); text-align: center; }
.cart-overlay { position: fixed; z-index: 90; inset: 0; background: rgba(20,47,55,.45); opacity: 0; pointer-events: none; transition: opacity .3s ease; }
body.cart-open .cart-overlay { opacity: 1; pointer-events: auto; }

footer { display: grid; grid-template-columns: auto 1fr auto; gap: 36px; align-items: center; padding: 58px clamp(22px, 7vw, 110px); background: var(--ink); color: var(--paper); }
.brand-footer .brand-gear { border-color: var(--paper); }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; font-weight: 700; }
footer > small { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.25); padding-top: 20px; color: rgba(255,255,255,.65); }

:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

@media (max-width: 1080px) {
  .desktop-nav a:nth-last-child(-n+2) { display: none; }
  .hero { grid-template-columns: 1fr 1fr; }
  .hero-art { min-height: 560px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 780px) {
  .site-header { grid-template-columns: 1fr auto; padding: 16px 18px; }
  .desktop-nav { display: none; }
  .cart-button span:nth-child(2) { display: none; }
  .hero { display: flex; flex-direction: column; min-height: 0; }
  .hero-copy { padding: 65px 22px 20px; }
  h1 { font-size: clamp(3.35rem, 16vw, 5.2rem); }
  .hero-art { min-height: 420px; padding: 0 0 18px; }
  .hero-art img { width: 115%; max-width: none; }
  .object-button span { min-width: 59px; min-height: 42px; padding: 6px 9px; font-size: .59rem; }
  .object-hint { right: 3%; bottom: 2%; }
  .hero-notes { flex-direction: column; gap: 7px; }
  .shop-section { padding: 78px 18px; }
  .section-heading, .listen-section, .free-section, .club-section, .publisher-section { grid-template-columns: 1fr; }
  .section-heading { gap: 25px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 5px; }
  .filter { flex: 0 0 auto; }
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 26px 12px; }
  .product-image { border-radius: 22px 22px 9px 9px; }
  .product-image img { width: 80%; height: 82%; }
  h3 { font-size: 1.22rem; }
  .price-row { align-items: flex-start; flex-direction: column; }
  .listen-visual { min-height: 420px; }
  .listen-copy, .free-section, .club-section, .publisher-section { padding: 75px 22px; }
  .free-section { gap: 55px; }
  .spotify-frame { padding: 12px; box-shadow: 7px 7px 0 var(--ink); }
  .club-machine { min-height: 270px; }
  .wheel-a { width: 165px; height: 165px; }
  .publisher-section { gap: 32px; }
  footer { grid-template-columns: 1fr; align-items: start; padding: 50px 22px; }
  footer > small { grid-column: auto; }
}

@media (max-width: 440px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-image { aspect-ratio: 1; }
  .hero-actions .button { width: 100%; }
}

/* Direção visual: vitrine limpa com arte em movimento */
body { background: #eef3f7; }

.site-header {
  top: 0;
  padding-top: 19px;
  padding-bottom: 19px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 6px 24px rgba(20, 47, 55, .07);
}

h1,
h2,
h3 {
  font-family: Arial, Helvetica, sans-serif;
}

.banner {
  position: relative;
  height: clamp(560px, 48vw, 700px);
  overflow: hidden;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.banner-slides,
.banner-slide {
  position: absolute;
  inset: 0;
}

.banner-slide {
  display: grid;
  grid-template-columns: minmax(320px, .72fr) minmax(560px, 1.28fr);
  align-items: stretch;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .7s ease, visibility .7s ease;
}

.banner-slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.banner-machine {
  background: linear-gradient(115deg, #f7efcf 0 42%, #fff8dc 70%, #f8e9a1 100%);
}

.banner-copy {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(50px, 7vw, 105px) 3vw clamp(70px, 7vw, 105px) clamp(28px, 7vw, 110px);
}

.banner-kicker {
  margin: 0 0 15px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
}

.banner-copy h1,
.banner-copy h2 {
  max-width: 600px;
  margin: 0 0 31px;
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.055em;
}

.banner-copy h1 { font-size: clamp(3.2rem, 5.7vw, 6rem); }
.banner-copy h2 { font-size: clamp(2.6rem, 4.7vw, 5rem); }

.machine-stage {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.machine-image {
  position: absolute;
  z-index: 2;
  right: -5%;
  bottom: -7%;
  width: min(117%, 1120px);
  max-width: none;
  animation: machine-float 5.5s ease-in-out infinite;
}

.motion-cloud,
.motion-potato {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}

.motion-cloud { width: clamp(95px, 11vw, 175px); }
.motion-potato { width: clamp(92px, 10vw, 165px); }
.cloud-a { top: 8%; left: 3%; animation: cloud-drift 12s ease-in-out infinite alternate; }
.cloud-b { top: 21%; right: 3%; width: clamp(70px, 8vw, 125px); animation: cloud-drift 9s 1.2s ease-in-out infinite alternate-reverse; }
.potato-a { top: 8%; right: 20%; animation: potato-flight 7s ease-in-out infinite; }
.potato-b { right: 4%; bottom: 14%; width: clamp(64px, 7vw, 115px); animation: potato-flight 8.5s 1.4s ease-in-out infinite reverse; }

.banner-full-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-batatas,
.banner-audio {
  display: block;
}

.banner-card {
  position: absolute;
  top: 50%;
  left: clamp(24px, 7vw, 110px);
  width: min(480px, calc(100% - 48px));
  padding: clamp(25px, 3vw, 42px);
  background: rgba(255, 250, 240, .94);
  border: 1px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
  transform: translateY(-50%) rotate(-1deg);
}

.banner-audio .banner-card {
  background: rgba(231, 242, 244, .95);
  transform: translateY(-50%) rotate(1deg);
}

.potato-c {
  z-index: 5;
  top: 7%;
  right: 9%;
  animation: potato-flight 7s ease-in-out infinite;
}

.cloud-c {
  z-index: 5;
  top: 8%;
  right: 8%;
  animation: cloud-drift 10s ease-in-out infinite alternate;
}

.banner-arrow {
  position: absolute;
  z-index: 8;
  top: 50%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0 0 4px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: rgba(255, 255, 255, .88);
  color: var(--ink);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
}

.banner-prev { left: 19px; }
.banner-next { right: 19px; }
.banner-arrow:hover { background: var(--yellow); }

.banner-controls {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 7px 10px;
  border: 1px solid rgba(20, 47, 55, .2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  transform: translateX(-50%);
}

.banner-dots { display: flex; gap: 8px; }
.banner-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #adb8bd;
  cursor: pointer;
}
.banner-dots button.is-active { background: var(--ink); }
.banner-pause {
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  padding: 2px 4px 2px 12px;
  color: var(--ink);
  cursor: pointer;
  font-size: .73rem;
  font-weight: 800;
}

@keyframes machine-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-.4deg); }
  50% { transform: translate3d(-10px, -13px, 0) rotate(.6deg); }
}

@keyframes cloud-drift {
  from { transform: translate3d(-15px, 0, 0); }
  to { transform: translate3d(27px, -9px, 0); }
}

@keyframes potato-flight {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-7deg); }
  35% { transform: translate3d(-20px, 13px, 0) rotate(4deg); }
  70% { transform: translate3d(14px, -12px, 0) rotate(-1deg); }
}

/* Navegação da nova Home */
.site-header {
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(14px, 1.6vw, 28px);
}

.desktop-nav {
  align-items: center;
  gap: clamp(8px, 1vw, 17px);
  min-width: 0;
  font-size: clamp(.67rem, .72vw, .79rem);
  white-space: nowrap;
}

.desktop-nav > a,
.nav-dropdown > summary {
  position: relative;
  display: block;
  padding: 8px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 800;
}

.nav-dropdown > summary::-webkit-details-marker { display: none; }
.nav-dropdown > summary::after { content: " +"; color: var(--coral); }
.nav-dropdown[open] > summary::after { content: " −"; }
.nav-dropdown { position: relative; }

.submenu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 10px);
  left: 50%;
  display: grid;
  min-width: 178px;
  padding: 9px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 16px 40px rgba(20, 47, 55, .15);
  transform: translateX(-50%);
}

.submenu a { padding: 10px 12px; }
.submenu a:hover,
.submenu a:focus-visible { background: var(--cream); }
.submenu a::after { display: none; }

.menu-toggle {
  display: none;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  padding: 8px 13px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

/* Segundo banner: PNLD */
.banner-pnld {
  background: linear-gradient(120deg, #f6bf37 0 47%, #2f7855 47% 100%);
}

.banner-pnld .banner-copy { color: var(--ink); }
.pnld-stage { position: relative; min-width: 0; overflow: hidden; }
.pnld-cover {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  width: min(43%, 360px);
  max-height: 77%;
  border: 12px solid #fff;
  object-fit: contain;
  box-shadow: 20px 22px 0 rgba(20, 47, 55, .38);
  transform: translate(-50%, -50%) rotate(3deg);
}

.pnld-stage .cloud-a { z-index: 2; top: 7%; left: 5%; }
.pnld-stage .cloud-b { z-index: 2; right: 5%; bottom: 7%; top: auto; }

/* A engenhoka faz parte da página, sem moldura */
.machine-navigation {
  position: relative;
  min-height: clamp(470px, 40vw, 720px);
  overflow: hidden;
  background: #e9f1f6;
  border: 0;
  isolation: isolate;
}

.machine-scene {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  animation: machine-breathe 7s ease-in-out infinite;
}

.machine-links { position: absolute; z-index: 5; inset: 0; }
.machine-link {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 126px;
  min-height: 62px;
  padding: 12px 18px;
  border: 2px solid var(--ink);
  background: rgba(255, 250, 240, .96);
  box-shadow: 5px 6px 0 var(--ink);
  clip-path: polygon(8% 2%, 91% 0, 100% 24%, 95% 88%, 71% 100%, 5% 91%, 0 31%);
  font-size: .87rem;
  font-weight: 900;
  text-align: center;
  transition: transform .2s ease, background .2s ease;
}

.machine-link:hover,
.machine-link:focus-visible { background: var(--yellow); transform: translateY(-5px) rotate(-2deg); }
.link-livros { top: 24%; left: 55%; transform: rotate(-3deg); }
.link-audio { top: 48%; left: 64%; background: rgba(109, 184, 191, .96); transform: rotate(3deg); }
.link-clube { top: 22%; right: 7%; background: rgba(231, 146, 167, .96); transform: rotate(4deg); }
.link-escola { right: 10%; bottom: 18%; background: rgba(240, 188, 55, .96); transform: rotate(-2deg); }
.machine-potato-a { z-index: 4; right: 41%; bottom: 5%; width: clamp(70px, 8vw, 125px); animation: potato-flight 8s ease-in-out infinite; }

@keyframes machine-breathe {
  0%, 100% { transform: scale(1.005) translateY(0); }
  50% { transform: scale(1.015) translateY(-4px); }
}

/* Katáloko com a simplicidade de uma livraria */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.anchor-target { position: absolute; }
.shop-section { padding: clamp(68px, 7vw, 105px) clamp(20px, 6vw, 96px); background: #f2f2ef; }
.product-grid { max-width: 1450px; margin: 0 auto; gap: 38px 25px; }
.product-card { overflow: hidden; background: #fff; border: 1px solid rgba(20, 47, 55, .09); box-shadow: 0 8px 22px rgba(20, 47, 55, .055); }
.product-image,
.product-image.green,
.product-image.pink,
.product-image.yellow,
.product-image.blue,
.product-image.coral {
  aspect-ratio: .83;
  border: 0;
  border-radius: 0;
  background: #f5f5f2;
}

.product-image::after { display: none; }
.product-image img { width: 84%; height: 86%; object-fit: contain; filter: drop-shadow(0 12px 12px rgba(20, 47, 55, .14)); }
.product-card:hover .product-image img { transform: translateY(-4px); }
.product-badge { top: 12px; left: 12px; border-color: var(--line); background: rgba(255,255,255,.94); font-size: .61rem; }
.product-info { padding: 18px 17px 20px; }
.product-author { margin: 0 0 5px; color: rgba(20, 47, 55, .58); font-size: .78rem; }
.product-info h3 { min-height: 2.35em; font-size: 1rem; font-weight: 800; line-height: 1.18; letter-spacing: -.01em; }
.price-row { align-items: center; margin: 15px 0 16px; }
.price-row strong { font-size: .98rem; }
.price-row span { font-size: .65rem; }
.add-to-cart,
.soldout-button {
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--yellow);
  box-shadow: 4px 5px 0 var(--ink);
  clip-path: polygon(3% 7%, 94% 0, 100% 24%, 97% 89%, 78% 100%, 4% 94%, 0 22%);
  transition: transform .2s ease, box-shadow .2s ease;
}

.add-to-cart:hover,
.add-to-cart:focus-visible { background: var(--coral); color: #fff; transform: translateY(-2px) rotate(-.5deg); box-shadow: 6px 7px 0 var(--ink); }
.soldout-button { background: #e1e1dc; box-shadow: none; }
.audio-cover { background: var(--ink) !important; }

/* Projetos, PNLD e caminhos complementares */
.school-section {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(40px, 8vw, 120px);
  padding: clamp(80px, 8vw, 125px) clamp(22px, 8vw, 128px);
  background: #fffaf0;
}

.school-heading h2 { max-width: 520px; }
.school-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.school-card { position: relative; padding: 32px; border: 1px solid var(--ink); background: #fff; }
.school-card:first-child { transform: rotate(-1deg); }
.school-card:last-child { transform: rotate(1deg); background: var(--cream); }
.school-card > span { display: block; margin-bottom: 45px; color: var(--coral); font-weight: 900; }
.school-card h3 { font-size: clamp(1.45rem, 2.2vw, 2.1rem); }
.school-card p { margin: 18px 0 25px; }
.odd-link { display: inline-flex; padding: 10px 16px; border: 2px solid var(--ink); background: var(--yellow); box-shadow: 4px 4px 0 var(--ink); clip-path: polygon(3% 7%, 94% 0, 100% 27%, 96% 91%, 78% 100%, 4% 94%, 0 23%); font-weight: 900; }
.odd-link:hover { background: var(--coral); color: #fff; transform: rotate(-1deg); }

.pnld-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(250px, .75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(45px, 8vw, 120px);
  overflow: hidden;
  padding: clamp(75px, 8vw, 125px) clamp(22px, 10vw, 160px);
  background: var(--green);
  color: #fff;
}

.pnld-book { position: relative; z-index: 2; display: grid; place-items: center; }
.pnld-book img { width: min(100%, 360px); max-height: 480px; border: 10px solid #fff; object-fit: contain; box-shadow: 18px 20px 0 rgba(20, 47, 55, .5); transform: rotate(-3deg); }
.pnld-copy { position: relative; z-index: 2; }
.pnld-copy h2 { max-width: 780px; }
.pnld-copy > p:not(.eyebrow) { margin: 22px 0 28px; font-size: 1.08rem; }
.pnld-copy .odd-link { color: var(--ink); }
.pnld-cloud { z-index: 1; right: -2%; bottom: -8%; width: clamp(180px, 24vw, 390px); opacity: .5; }

.utility-section { display: grid; grid-template-columns: 1fr 1fr; }
.utility-section > article { padding: clamp(70px, 8vw, 120px) clamp(22px, 8vw, 120px); }
.utility-section > article:first-child { background: var(--blue); }
.utility-section > article:last-child { background: var(--cream); }
.utility-section h2 { margin-bottom: 28px; }
.utility-section details { max-width: 620px; border-top: 1px solid var(--ink); }
.utility-section details:last-child { border-bottom: 1px solid var(--ink); }
.utility-section summary { padding: 16px 0; cursor: pointer; font-weight: 800; }
.utility-section details p { margin: 0 0 16px; }

footer { scroll-margin-top: 110px; }

@media (max-width: 1280px) {
  .site-header { grid-template-columns: auto 1fr auto; }
  .menu-toggle { display: inline-flex; justify-self: end; }
  .desktop-nav {
    position: absolute;
    top: 100%;
    right: 18px;
    left: 18px;
    display: none;
    max-height: calc(100vh - 95px);
    overflow-y: auto;
    padding: 18px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow);
    white-space: normal;
  }
  .desktop-nav.is-open { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .desktop-nav > a { display: block !important; padding: 11px 8px; }
  .nav-dropdown { padding: 0 8px; }
  .nav-dropdown > summary { padding: 11px 0; }
  .submenu { position: static; min-width: 0; padding: 2px 0 8px 12px; border: 0; box-shadow: none; transform: none; }
}

@media (max-width: 900px) {
  .banner { height: 600px; }
  .banner-slide { grid-template-columns: 1fr; }
  .banner-pnld { grid-template-rows: .8fr 1.2fr; }
  .banner-pnld .banner-copy { padding: 55px 65px 10px; }
  .banner-pnld .banner-copy h2 { margin-bottom: 20px; font-size: clamp(2.2rem, 8vw, 3.8rem); }
  .pnld-cover { width: min(35%, 230px); max-height: 78%; }
  .banner-card { left: 50%; width: min(620px, calc(100% - 100px)); transform: translate(-50%, -50%); }
  .banner-audio .banner-card { transform: translate(-50%, -50%); }
  .machine-navigation { min-height: 520px; }
  .machine-scene { width: 150%; object-position: 48% center; transform-origin: center; }
  .link-livros { top: 23%; left: 49%; }
  .link-audio { top: 47%; left: 57%; }
  .link-clube { top: 19%; right: 3%; }
  .link-escola { right: 5%; bottom: 15%; }
  .school-section,
  .pnld-section { grid-template-columns: 1fr; }
  .school-options { max-width: 760px; }
  .pnld-book img { width: min(70%, 330px); }
}

@media (max-width: 650px) {
  .site-header { grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; }
  .brand { font-size: 1.15rem; }
  .brand-gear { width: 24px; height: 24px; }
  .menu-toggle { padding: 7px 10px; }
  .desktop-nav.is-open { grid-template-columns: 1fr; }
  .banner { height: 545px; }
  .banner-card { width: calc(100% - 72px); padding: 25px; box-shadow: 6px 6px 0 var(--ink); }
  .banner-copy h1,
  .banner-copy h2 { font-size: clamp(2.15rem, 10vw, 3.15rem); }
  .banner-prev { left: 8px; }
  .banner-next { right: 8px; }
  .banner-arrow { width: 38px; height: 38px; }
  .banner-pnld .banner-copy { padding: 46px 45px 5px; }
  .pnld-cover { width: min(45%, 205px); }
  .machine-navigation { min-height: 580px; }
  .machine-scene { width: 225%; height: 70%; object-fit: cover; object-position: 43% center; animation: none; }
  .machine-links { inset: auto 16px 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .machine-link { position: static; min-width: 0; min-height: 55px; transform: none; font-size: .76rem; }
  .machine-potato-a { display: none; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 10px; }
  .product-info { padding: 14px 12px 16px; }
  .product-info h3 { min-height: 0; font-size: .92rem; }
  .price-row { align-items: flex-start; flex-direction: column; }
  .add-to-cart,
  .soldout-button { padding: 10px 8px; font-size: .78rem; }
  .school-options,
  .utility-section { grid-template-columns: 1fr; }
  .school-card:first-child,
  .school-card:last-child { transform: none; }
  .pnld-section { text-align: left; }
}

@media (max-width: 380px) {
  .cart-button span:not(#cart-count) { display: none; }
  .product-grid { grid-template-columns: 1fr; }
}

/* Categorias do Katáloko */
.catalog-categories {
  position: sticky;
  z-index: 8;
  top: 84px;
  display: flex;
  justify-content: center;
  gap: clamp(20px, 4vw, 54px);
  max-width: 1450px;
  margin: 0 auto clamp(55px, 6vw, 82px);
  padding: 14px 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
}

.catalog-categories a {
  position: relative;
  padding: 5px 0;
  font-size: clamp(.9rem, 1.2vw, 1.08rem);
  font-weight: 900;
}

.catalog-categories a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.catalog-categories a:hover::after,
.catalog-categories a:focus-visible::after,
.catalog-categories a.is-active::after { transform: scaleX(1); }

.catalog-group { max-width: 1450px; margin: 0 auto; }
.catalog-group + .catalog-group { margin-top: clamp(75px, 8vw, 125px); padding-top: clamp(60px, 7vw, 92px); border-top: 1px solid var(--line); }
.catalog-heading { margin-bottom: 30px; }
.catalog-heading h2 { font-size: clamp(2.7rem, 4.5vw, 4.7rem); }
.product-grid-short { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Sobre a editora */
.publisher-section {
  position: relative;
  align-items: start;
  gap: clamp(50px, 9vw, 140px);
  background: var(--cream);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.publisher-heading h2 { max-width: 650px; }
.publisher-slogan {
  max-width: 570px;
  margin: 34px 0 0;
  padding-left: 22px;
  border-left: 6px solid var(--coral);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-style: italic;
  line-height: 1.25;
}

.publisher-copy { align-self: start; }
.publisher-copy p { margin: 0 0 22px; }
.publisher-copy p:first-of-type { font-family: Georgia, 'Times New Roman', serif; font-size: 1.55rem; line-height: 1.25; }
.publisher-copy p:last-child { margin-bottom: 0; font-weight: 800; }

/* Lokapresente */
.gift-section {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
  gap: clamp(45px, 8vw, 125px);
  padding: clamp(75px, 8vw, 125px) clamp(22px, 8vw, 128px);
  background: #eaf3f8;
}

.gift-intro > p:not(.eyebrow) { max-width: 560px; margin: 26px 0; font-size: 1.06rem; }
.gift-intro ul { display: grid; gap: 13px; margin: 34px 0 0; padding: 0; list-style: none; }
.gift-intro li { position: relative; padding-left: 29px; }
.gift-intro li::before { content: "✦"; position: absolute; left: 0; color: var(--coral); font-weight: 900; }

.gift-form {
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 10px 12px 0 var(--ink);
}

.gift-form h3 { margin-bottom: 30px; font-family: Arial, Helvetica, sans-serif; font-size: 1.35rem; font-weight: 900; }
.gift-form fieldset { margin: 0 0 24px; padding: 0; border: 0; }
.gift-form legend,
.gift-form label { display: grid; gap: 7px; color: var(--ink); font-size: .79rem; font-weight: 900; }
.gift-values { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 9px; }
.gift-value {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 10px 15px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.gift-value:hover,
.gift-value:focus-visible,
.gift-value.is-selected { border-color: var(--ink); background: var(--yellow); }
.custom-value { max-width: 220px; margin-top: 13px; }
.gift-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.gift-message-field { grid-column: 1 / -1; }
.gift-form label span { color: rgba(20, 47, 55, .55); font-weight: 600; }
.gift-form input,
.gift-form textarea {
  width: 100%;
  border: 1px solid rgba(20, 47, 55, .25);
  border-radius: 10px;
  background: #fff;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
  font-weight: 400;
}

.gift-form textarea { resize: vertical; }
.gift-form input:focus,
.gift-form textarea:focus { border-color: var(--ink); outline: 3px solid rgba(237, 104, 74, .22); }
.gift-submit { margin-top: 23px; }
#gift-message { display: block; min-height: 1.4em; margin-top: 13px; font-weight: 800; }

/* FAKI */
.faq-section {
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  gap: clamp(45px, 8vw, 130px);
  padding: clamp(75px, 8vw, 120px) clamp(22px, 9vw, 145px);
  background: #fffaf0;
}

.faq-list details { max-width: 760px; border-top: 1px solid var(--ink); }
.faq-list details:last-child { border-bottom: 1px solid var(--ink); }
.faq-list summary { padding: 18px 0; cursor: pointer; font-weight: 900; }
.faq-list details p { margin: 0 0 18px; }

.soldout-note {
  display: inline-flex !important;
  width: fit-content;
  margin: 0 !important;
  padding: 9px 14px;
  border: 2px solid var(--ink);
  background: #e1e1dc;
  color: var(--ink) !important;
  box-shadow: 4px 4px 0 var(--ink);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  transform: rotate(-2deg);
}

/* Contato e redes sociais */
footer {
  position: relative;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 46px;
  align-items: end;
  padding-top: 70px;
}

.footer-branding { display: grid; gap: 29px; }
.footer-branding > p {
  max-width: 650px;
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.45rem, 2.4vw, 2.45rem);
  line-height: 1.12;
}

.footer-contact { display: grid; justify-items: end; gap: 22px; }
.whatsapp-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 11px 20px;
  border: 2px solid #fff;
  background: #208b55;
  box-shadow: 5px 6px 0 rgba(255,255,255,.9);
  clip-path: polygon(4% 4%, 94% 0, 100% 26%, 97% 90%, 76% 100%, 4% 94%, 0 22%);
  color: #fff;
  font-weight: 900;
  transition: transform .2s ease, background .2s ease;
}

.whatsapp-button:hover,
.whatsapp-button:focus-visible { background: var(--coral); transform: translateY(-3px) rotate(-1deg); }
.whatsapp-button span { font-size: 1.35rem; }
.social-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.social-links a {
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 800;
}

.social-links a:hover,
.social-links a:focus-visible { background: var(--paper); color: var(--ink); }
.listen-visual img { object-position: left bottom; }

@media (max-width: 900px) {
  .catalog-categories { top: 76px; }
  .product-grid-short { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .publisher-section,
  .gift-section,
  .faq-section { grid-template-columns: 1fr; }
  .gift-form { max-width: 800px; }
  footer { grid-template-columns: 1fr; align-items: start; }
  .footer-contact { justify-items: start; }
  .social-links { justify-content: flex-start; }
}

@media (max-width: 650px) {
  .catalog-categories {
    top: 70px;
    justify-content: flex-start;
    gap: 24px;
    margin-right: -20px;
    margin-left: -20px;
    overflow-x: auto;
    padding-right: 20px;
    padding-left: 20px;
    white-space: nowrap;
  }
  .catalog-group + .catalog-group { margin-top: 70px; padding-top: 54px; }
  .product-grid-short { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gift-section,
  .faq-section { padding-right: 18px; padding-left: 18px; }
  .gift-fields { grid-template-columns: 1fr; }
  .gift-message-field { grid-column: auto; }
  .gift-form { padding: 24px 18px; box-shadow: 6px 7px 0 var(--ink); }
  .publisher-slogan { padding-left: 16px; }
  footer { gap: 38px; }
  .whatsapp-button { width: 100%; }
}

@media (max-width: 380px) {
  .product-grid-short { grid-template-columns: 1fr; }
}

/* WordPress and WooCommerce integration */
.skip-link {
  position: fixed;
  z-index: 9999;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: #fff;
  color: #000;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.site-main { min-height: 55vh; }
.content-shell { width: min(1280px, calc(100% - 44px)); margin-inline: auto; }

.site-header {
  grid-template-columns: minmax(145px, 215px) minmax(0, 1fr) auto;
  gap: clamp(18px, 2.5vw, 38px);
  padding-block: 13px;
  background: rgba(255, 248, 236, .96);
}
.site-header .cart-button { text-decoration: none; }
.cart-count { display: grid; place-items: center; min-width: 23px; height: 23px; padding: 0 6px; border-radius: 99px; background: var(--green); color: #fff; font-size: .76rem; }
.menu-toggle { display: none; }

.banner { min-height: 650px; background: var(--cream); }
.banner-slide { min-height: 650px; grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr); }
.banner-copy { max-width: 720px; padding: clamp(64px, 7vw, 112px) clamp(42px, 6vw, 100px); }
.banner-copy h1, .banner-copy h2 { max-width: 720px; }
.banner-copy > p:not(.eyebrow) { max-width: 560px; margin: 25px 0 30px; font-size: clamp(1rem, 1.25vw, 1.2rem); }
.slide-books { background: linear-gradient(120deg, #fff8ec 0 54%, #efe3c8 54% 100%); }
.slide-school { background: var(--green); color: #fff; }
.slide-launch { background: var(--coral); color: #fff; }
.slide-school .banner-copy, .slide-launch .banner-copy { color: inherit; }
.cover-fan { position: relative; min-height: 650px; overflow: hidden; }
.cover-fan .cover { position: absolute; width: clamp(205px, 19vw, 305px); height: auto; max-height: 470px; object-fit: contain; border: 10px solid #fff; box-shadow: 0 24px 45px rgba(40,52,54,.24); }
.cover-fan .cover-1 { z-index: 3; left: 35%; top: 90px; transform: rotate(2deg); }
.cover-fan .cover-2 { z-index: 2; left: 10%; top: 145px; transform: rotate(-10deg); }
.cover-fan .cover-3 { z-index: 1; right: 1%; top: 155px; transform: rotate(11deg); }
.motion-potato { position: absolute; z-index: 4; top: 45px; right: 9%; width: 155px; animation: potato-flight 8s ease-in-out infinite; }
.banner-symbol { width: min(53%, 640px); margin: auto; filter: drop-shadow(0 22px 38px rgba(0,0,0,.23)); }
.launch-sky { position: relative; min-height: 650px; overflow: hidden; }
.launch-bird { position: absolute; z-index: 2; width: min(42%, 360px); left: 20%; top: 28%; animation: potato-flight 7s ease-in-out infinite; }
.launch-cloud { position: absolute; width: min(58%, 460px); right: 4%; bottom: 12%; opacity: .98; }
.button-light { background: #fff; color: var(--green); border-color: #fff; }
.banner-controls { z-index: 10; }
.banner-controls > button:not(.banner-pause) { width: 10px; height: 10px; padding: 0; border: 1px solid currentColor; border-radius: 50%; background: transparent; }
.banner-controls > button.is-active { background: currentColor; }

.machine-navigation { min-height: clamp(590px, 60vw, 920px); background: #fff8ec; }
.machine-scene { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.machine-link { background: #fff; color: var(--ink); }

.home-products { padding: 105px clamp(22px, 7vw, 110px); border-top: 1px solid var(--line); }
.home-products .section-heading { margin-bottom: 40px; }
.home-products .products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 18px; margin: 0 !important; padding: 0 !important; }
.home-products .products::before, .home-products .products::after { display: none !important; }
.home-products .product { float: none !important; width: auto !important; margin: 0 !important; }
.setup-note { padding: 22px; border: 1px dashed var(--ink); background: #fff; }
.text-link { font-weight: 800; text-decoration: underline; text-underline-offset: 5px; }

.home-split { display: grid; grid-template-columns: 1fr 1fr; }
.home-card { min-height: 480px; padding: clamp(60px, 7vw, 105px); }
.home-card h2 { max-width: 650px; }
.home-card p:not(.eyebrow) { max-width: 580px; margin: 25px 0 30px; font-size: 1.08rem; }
.gift-card { background: var(--coral); color: #fff; }
.audio-card { background: var(--green); color: #fff; }
.tia-lokinha { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 50px; padding: 90px clamp(22px, 7vw, 110px); background: #fff; }
.tia-lokinha h2 { max-width: 780px; }
.tia-lokinha p:not(.eyebrow) { max-width: 670px; font-size: 1.08rem; }
.tia-actions { display: flex; flex-direction: column; gap: 12px; min-width: 270px; }

.page-main, .shop-main { padding: clamp(70px, 8vw, 120px) 0; }
.page-article { max-width: 1120px; }
.page-header { margin-bottom: 46px; }
.page-header h1 { max-width: 980px; font-size: clamp(3rem, 6vw, 6.5rem); }
.entry-content { font-size: 1.05rem; }
.entry-content > * { max-width: 850px; }
.entry-content > .alignwide { max-width: 1180px; }
.entry-content h2 { margin-top: 2.1em; font-size: clamp(2rem, 3.8vw, 4rem); }
.entry-content h3 { margin-top: 1.8em; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.post-cover { max-width: 750px; margin-bottom: 45px; }

.archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.archive-card { padding: 20px; border: 1px solid var(--line); background: #fff; }
.archive-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.archive-card h2 { margin-top: 20px; font-size: 2rem; }

.ediloka-woocommerce .woocommerce-breadcrumb { margin-bottom: 34px; }
.woocommerce .woocommerce-products-header { margin-bottom: 42px; }
.woocommerce .woocommerce-products-header__title { font-size: clamp(3rem, 6vw, 6rem); }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 18px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { float: none; width: auto; margin: 0; padding: 0 0 20px; border: 1px solid var(--line); background: #fff; }
.woocommerce ul.products li.product a img { width: 100%; aspect-ratio: 1; margin: 0 0 18px; object-fit: contain; background: #f3ead8; }
.woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product .price, .woocommerce ul.products li.product .button { margin-inline: 17px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { min-height: 3.2em; color: var(--ink); font-family: Georgia, 'Times New Roman', serif; font-size: 1.35rem; }
.woocommerce ul.products li.product .price { color: var(--green); font-weight: 900; }
.woocommerce ul.products li.product .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button {
  border: 1px solid var(--ink); border-radius: 9px; background: var(--green); color: #fff; font-weight: 800;
}
.woocommerce div.product { display: grid; grid-template-columns: minmax(320px, .86fr) minmax(0, 1.14fr); gap: clamp(42px, 7vw, 105px); }
.woocommerce div.product div.images, .woocommerce div.product div.summary { float: none; width: auto; }
.woocommerce div.product .product_title { font-size: clamp(2.6rem, 5vw, 5.2rem); }
.woocommerce div.product p.price { color: var(--green); font-size: 1.6rem; font-weight: 900; }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related { grid-column: 1 / -1; }
.ediloka-product-details { display: grid; gap: 11px; margin: 25px 0; padding: 19px; border: 1px solid var(--line); background: #fff; }
.ediloka-product-details > div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; }
.ediloka-product-details dt { font-weight: 900; }
.ediloka-product-details dd { margin: 0; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--coral); background: #fff; }
.ediloka-category-nav { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 34px; }
.ediloka-category-nav a { padding: 9px 15px; border: 1px solid var(--ink); border-radius: 999px; background: #fff; font-weight: 800; }
.ediloka-category-nav a:hover, .ediloka-category-nav a:focus-visible { background: var(--green); color: #fff; }

.site-footer { display: block; padding: 0; background: var(--green); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .7fr 1fr .65fr; gap: 40px; padding: 70px clamp(22px, 7vw, 110px); }
.footer-brand img { width: min(100%, 250px); padding: 12px; border-radius: 14px; background: #fff; }
.footer-brand p { max-width: 330px; font-family: Georgia, 'Times New Roman', serif; font-size: 1.4rem; }
.footer-grid nav, .footer-contact, .footer-social { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-grid a:hover { text-decoration: underline; }
.footer-bottom { padding: 19px clamp(22px, 7vw, 110px); border-top: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.74); font-size: .82rem; }
.site-footer .footer-menu { display: contents; list-style: none; }
.whatsapp-button { position: fixed; z-index: 40; right: 20px; bottom: 20px; width: auto; min-height: 46px; }
.empty-state { display: grid; justify-items: center; text-align: center; }
.empty-state img { width: 180px; }

@media (max-width: 1420px) {
  .site-header { grid-template-columns: minmax(145px, 200px) 1fr auto; }
  .menu-toggle { display: inline-flex; justify-self: end; align-items: center; gap: 4px; border: 0; background: transparent; cursor: pointer; }
  .menu-toggle span { display: block; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); }
  .menu-toggle b { margin-left: 5px; }
  .desktop-nav { position: fixed; z-index: 50; inset: 75px 0 auto; display: none; padding: 28px; background: var(--paper); border-bottom: 1px solid var(--ink); box-shadow: var(--shadow); }
  .desktop-nav.is-open { display: block; }
  .ediloka-menu { flex-direction: column; align-items: flex-start; }
  .desktop-nav .sub-menu { position: static; display: grid; min-width: 0; padding: 3px 0 5px 16px; border: 0; background: transparent; box-shadow: none; }
  .site-header .cart-button { grid-column: 3; grid-row: 1; }
  .home-products .products, .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .site-header { grid-template-columns: 1fr auto auto; gap: 12px; padding-inline: 18px; }
  .site-header .cart-button span:first-child { display: none; }
  .banner, .banner-slide { min-height: 720px; }
  .banner-slide { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .banner-copy { padding: 60px 26px 26px; }
  .cover-fan, .launch-sky { min-height: 360px; }
  .cover-fan .cover { width: 190px; max-height: 285px; }
  .cover-fan .cover-1 { left: 36%; top: 25px; }
  .cover-fan .cover-2 { left: 8%; top: 60px; }
  .cover-fan .cover-3 { right: 3%; top: 65px; }
  .banner-symbol { width: 270px; }
  .machine-navigation { min-height: 520px; }
  .home-products .products, .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-split, .tia-lokinha { grid-template-columns: 1fr; }
  .tia-lokinha { align-items: start; }
  .woocommerce div.product { grid-template-columns: 1fr; }
  .woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related { grid-column: 1; }
  .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .brand { width: 135px; }
  .site-header { min-height: 70px; }
  .desktop-nav { inset-block-start: 70px; }
  .banner-copy h1, .banner-copy h2 { font-size: clamp(2.65rem, 13vw, 4.1rem); }
  .cover-fan .cover { width: 145px; }
  .motion-potato { width: 90px; }
  .machine-navigation { min-height: 390px; }
  .machine-link { padding: 7px 9px; font-size: .65rem; }
  .home-products { padding-inline: 16px; }
  .home-products .products, .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title { min-height: 4em; margin-inline: 11px; font-size: 1rem; }
  .woocommerce ul.products li.product .price, .woocommerce ul.products li.product .button { margin-inline: 11px; }
  .home-card, .tia-lokinha { padding: 58px 22px; }
  .archive-grid, .footer-grid { grid-template-columns: 1fr; }
  .footer-grid { padding-inline: 24px; }
  .page-header h1 { font-size: clamp(2.7rem, 13vw, 4.2rem); }
  .whatsapp-button { right: 12px; bottom: 12px; }
}


/* Banner Fio de Piu: o passarinho leva o novo livro */
.slide-launch {
  background:
    radial-gradient(ellipse at 84% 18%, rgba(255,255,255,.72) 0 7%, transparent 7.5%),
    linear-gradient(135deg, #84d9f4 0%, #d8f3fa 62%, #ffe27a 100%);
  color: var(--ink);
}

.fio-piu-sky {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  isolation: isolate;
}

.fio-piu-sky::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 9%;
  right: 11%;
  width: clamp(70px, 8vw, 120px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 219, 72, .92);
  box-shadow: 0 0 0 15px rgba(255,255,255,.18);
}

.fio-piu-flight {
  position: absolute;
  z-index: 3;
  inset: 4% 2% 2%;
  animation: piu-book-flight 6.5s ease-in-out infinite;
  transform-origin: 52% 48%;
}

.fio-piu-book {
  position: absolute;
  z-index: 2;
  top: 36%;
  left: 14%;
  width: min(52%, 400px);
  max-width: none;
  clip-path: polygon(10% 13%, 91% 10%, 91% 90%, 10% 94%);
  filter: drop-shadow(0 22px 20px rgba(40,52,54,.28));
  transform: rotate(2deg);
}

.fio-piu-bird {
  position: absolute;
  z-index: 4;
  top: 7%;
  left: 6%;
  display: block;
  width: min(62%, 470px);
  height: auto;
  max-width: none;
  filter: drop-shadow(0 13px 10px rgba(40,52,54,.18));
  transform: rotate(-4deg);
}

.fio-piu-sky .launch-cloud {
  z-index: 1;
  right: -4%;
  bottom: 5%;
  width: min(48%, 410px);
  opacity: .9;
}

@keyframes piu-book-flight {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-1deg); }
  50% { transform: translate3d(-12px, -15px, 0) rotate(1deg); }
}

@media (max-width: 820px) {
  .fio-piu-sky { min-height: 390px; }
  .fio-piu-flight { inset: 0 3% 1%; }
  .fio-piu-bird { top: 1%; left: 2%; width: min(60%, 370px); }
  .fio-piu-book { top: 28%; left: 12%; width: min(52%, 320px); }
  .fio-piu-sky .launch-cloud { right: -6%; bottom: 0; width: 43%; }
}

@media (max-width: 560px) {
  .fio-piu-sky { min-height: 350px; }
  .fio-piu-bird { top: 2%; left: -2%; width: 64%; }
  .fio-piu-book { top: 27%; left: 12%; width: 54%; }
}


/* LokoAutores — perfil lúdico */
.page-id-21 .page-main {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #dff3f8 0%, #fff8ec 52%, #ffffff 100%);
}

.page-id-21 .page-article { max-width: 1280px; }
.page-id-21 .page-header { position: relative; z-index: 2; margin-bottom: 24px; }
.page-id-21 .page-header h1 { color: #18366f; }
.page-id-21 .page-header::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -24px;
  right: 8%;
  width: clamp(72px, 8vw, 116px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(232, 185, 63, .92);
  box-shadow: 0 0 0 14px rgba(255,255,255,.35);
}

.page-id-21 .entry-content > .author-playground { max-width: 1180px; }
.author-playground {
  position: relative;
  isolation: isolate;
  padding: clamp(38px, 5vw, 70px) clamp(18px, 4vw, 55px) clamp(65px, 7vw, 95px);
}
.author-playground::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 7% -16vw 12%;
  opacity: .18;
  background-image: radial-gradient(#18366f 1.4px, transparent 1.7px);
  background-size: 24px 24px;
  transform: rotate(-2deg);
}

.author-profile {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(270px, .82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(38px, 6vw, 86px);
  padding: clamp(30px, 5vw, 68px);
  border: 1px solid #283436;
  border-radius: 38px 38px 14px 38px;
  background: rgba(255, 255, 255, .93);
  box-shadow: 15px 17px 0 #e8b93f;
}

.author-portrait-wrap {
  position: relative;
  margin: 0;
  transform: rotate(-2deg);
}
.author-portrait-wrap::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -15px 16px 16px -15px;
  border: 1px solid #283436;
  border-radius: 34px 34px 12px 34px;
  background: #7ab9bd;
}
.author-portrait {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid #283436;
  border-radius: 30px 30px 10px 30px;
  object-fit: cover;
  box-shadow: 0 18px 35px rgba(40, 52, 54, .18);
}

.author-bio h2 {
  margin: 0 0 28px;
  color: #18366f;
  font-size: clamp(2.8rem, 5vw, 5.4rem);
}
.author-bio p {
  max-width: 680px;
  margin: 0 0 20px;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
}
.author-bio p:last-child { margin-bottom: 0; }

.author-potato,
.author-cloud,
.author-flight-path { pointer-events: none; }
.author-potato {
  position: absolute;
  z-index: 4;
  top: -32px;
  right: -22px;
  width: clamp(95px, 12vw, 165px);
  animation: author-potato-flight 6.5s ease-in-out infinite;
  filter: drop-shadow(0 12px 12px rgba(40, 52, 54, .2));
}
.author-cloud {
  position: absolute;
  z-index: 1;
  bottom: 8px;
  left: -55px;
  width: clamp(125px, 16vw, 220px);
  opacity: .92;
  animation: author-cloud-drift 9s ease-in-out infinite alternate;
}
.author-flight-path {
  position: absolute;
  z-index: 1;
  top: 34px;
  right: 35px;
  width: clamp(170px, 24vw, 330px);
  height: 112px;
  border-top: 3px dashed rgba(40, 52, 54, .55);
  border-radius: 50%;
  transform: rotate(-11deg);
}

@keyframes author-potato-flight {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-6deg); }
  50% { transform: translate3d(-12px, -14px, 0) rotate(3deg); }
}
@keyframes author-cloud-drift {
  from { transform: translate3d(-8px, 0, 0); }
  to { transform: translate3d(22px, -7px, 0); }
}

@media (max-width: 820px) {
  .page-id-21 .page-header::after { right: 2%; width: 78px; }
  .author-playground { padding-inline: 8px; }
  .author-profile { grid-template-columns: 1fr; gap: 48px; padding: 34px 25px 42px; }
  .author-portrait-wrap { width: min(100%, 470px); margin-inline: auto; }
  .author-potato { top: -15px; right: -5px; width: 104px; }
  .author-cloud { left: -25px; width: 145px; }
  .author-flight-path { top: 50px; right: 28px; width: 180px; }
}

@media (prefers-reduced-motion: reduce) {
  .author-potato,
  .author-cloud { animation: none; }
}


/* Correção de proporção do retrato LokoAutores */
.author-portrait {
  height: auto;
}
