.divider {
  position: relative;
  height: clamp(38px, 5vw, 78px);
  overflow: hidden;
  background: transparent;
  pointer-events: none;
}
.divider::before, .divider::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 200%;
  background: url("../assets/interface/ribbon.svg") left center / 50% 100% repeat-x;
  animation: drift 17s linear infinite;
}
.divider::before { opacity: .50; animation: drift 24s linear infinite reverse; transform-origin: center; }
.divider::after { top: 5%; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .divider::before, .divider::after { animation: none !important; } }
@media (pointer: fine) {
  html.blue-pointer, .blue-pointer :is(a, button, summary, video) {
    cursor: url("../assets/interface/pointer.svg") 2 1, auto;
  }
}
#reels, #prices-grid, #formats-grid { display: grid; gap: clamp(14px, 2vw, 30px); margin-top: 34px; }
#reels figcaption { text-transform: none; letter-spacing: 0; font: inherit; gap: 8px; align-items: baseline; flex-wrap: wrap; }
#reels figcaption strong { font-size: 20px; color: var(--white); }
#reels figcaption small { color: var(--muted); }
#formats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.design-format { min-width: 0; }
.design-format h3 { margin-bottom: 12px; font-size: clamp(23px, 2.6vw, 38px); letter-spacing: -.04em; }
#precos { background: #103fc1; }
#precos .eyebrow::before { background: #a6dcff; }
#precos h2 span { color: #99eaff; }

.strip, #pause { background: var(--bg); }
#filters button, #steps button, .sub, .card .desc { font-weight: 600; }
#formats-grid { grid-template-columns: minmax(0, 1fr); gap: clamp(18px, 2.2vw, 32px); }
.format-pieces {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 265px), 1fr));
  align-items: start;
  gap: clamp(10px, 1.5vw, 20px);
}
.format-pieces + .format-pieces { margin-top: clamp(10px, 1.5vw, 20px); }
.design-format[data-layout="logos"] {
  --format-ratio: 1;
}
.design-format[data-layout="logos"] .format-pieces {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.design-format[data-layout="banners"] { --format-ratio: 3.5; }
.design-format[data-layout="barrinhas"] { --format-ratio: 6; }
.design-format:is([data-layout="banners"], [data-layout="barrinhas"]) .format-pieces { grid-template-columns: repeat(auto-fit, minmax(min(100%, 410px), 1fr)); }
#formats-grid .piece-open {
  position: relative;
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 0;
  aspect-ratio: var(--piece-ratio, var(--format-ratio, 16 / 9));
  padding: 0;
  overflow: hidden;
  border: 0;
  background: var(--panel);
  border-radius: 16px;
}
#formats-grid .piece-open img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.piece-expand {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #080d18e8;
  color: white;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s, transform .2s;
}
@media (hover: hover) {
  #formats-grid .piece-open:hover img { transform: none; }
  .piece-open:hover .piece-expand { opacity: 1; transform: none; }
}
.piece-open:focus-visible .piece-expand { opacity: 1; transform: none; }
.card .media, .modal-shell :is(img,video), #casebody img { border-radius: 16px; }
#art-viewer {
  --viewer-margin: clamp(8px, 1.2vw, 20px);
  --viewer-padding: clamp(9px, 1.2vw, 16px);
  --viewer-width: min(1200px, calc(100vw - 2 * var(--viewer-margin)));
  --image-width: calc(var(--viewer-width) - 2 * var(--viewer-padding) - 2px);
  --image-height: max(0px, calc(100dvh - 2 * var(--viewer-margin) - 2 * var(--viewer-padding) - 66px));
  width: max-content;
  min-width: min(220px, var(--viewer-width));
  max-width: var(--viewer-width);
  max-height: calc(100dvh - 2 * var(--viewer-margin));
  padding: var(--viewer-padding);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #0d121b;
  overflow-x: hidden;
  overflow-y: auto;
  color-scheme: dark;
  scrollbar-width: thin;
  scrollbar-color: #344357 transparent;
}
#art-viewer::backdrop { background: rgb(0 0 0 / 85%); backdrop-filter: blur(6px); }
.art-toolbar, .art-controls { display: flex; align-items: center; gap: 8px; }
.art-toolbar { justify-content: space-between; margin-bottom: 12px; }
.art-controls { padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
#art-count { min-width: 50px; text-align: center; font-size: .85rem; font-variant-numeric: tabular-nums; }
#art-viewer :is(.art-controls button, .close) {
  display: grid;
  place-items: center;
  position: static;
  margin: 0;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid transparent;
  background: #182335;
  color: #f2f7ff;
  font: 700 25px/1 Arial, sans-serif;
  transition: background .2s, transform .2s, border-color .2s;
}
#art-viewer .close svg { stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
#art-viewer button:disabled { opacity: .3; }
@media (hover:hover) {
  #art-viewer button:enabled:hover { background: #1648a3; border-color: #538df8; transform: translateY(-2px); }
}
#art-canvas {
  display: flex;
  justify-content: center;
  position: relative;
  overflow: hidden;
  overflow: clip;
}
#art-canvas > #art-image {
  display: block;
  width: min(var(--art-width, 320px), var(--image-width), calc(var(--image-height) * var(--art-ratio, 1)));
  height: auto;
  max-height: var(--image-height);
  aspect-ratio: var(--art-ratio, 1);
  object-fit: contain;
  border-radius: 12px;
}
#art-lens {
  position: absolute;
  width: clamp(84px, 10vw, 116px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid #a7c8f36b;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-color: #0d121b;
  box-shadow: 0 3px 16px #0008;
  pointer-events: none;
}
@media (max-width:550px) {
  .design-format[data-layout="logos"] .format-pieces { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

#reel-categories {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 14px 0 12px;
}
#reel-categories button {
  border-radius: 999px;
  padding: 9px 17px;
  background: var(--panel);
  font-weight: 700;
  transition: background-color .2s, border-color .2s;
}
#reel-categories button:hover { border-color: var(--accent); }
#reel-categories button[aria-pressed="true"] { background: #064ac7; border-color: #598cff; color: #fff; }
#reels-empty { color: var(--muted); }
#reel-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
}
#reel-pager[hidden] { display: none; }
#reel-pager button {
  border-radius: 999px;
  padding-inline: 12px;
  background: var(--panel);
}
#reel-pager button:disabled { opacity: .5; cursor: default; }
#reel-page { color: var(--muted); font-variant-numeric: tabular-nums; }
#reels {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 0;
}
#reels:empty { display: none; }
#reels figure {
  position: relative;
  min-width: 0;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 12px;
  background: #071324;
}
#reels figure video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 1024px) {
  #reels { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  #reels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

#formatos h2, #videos h2, #precos h2, .quote-layout h2 {
  font-size: clamp(40px, 5.4vw, 90px);
}
#inicio h1, #formatos h2, #videos h2, #precos h2, .quote-layout h2,
.design-format h3 { color: #fff; }
#precos {
  background: #0c1424;
  border-block: 1px solid var(--line);
}
.price-card {
  color: var(--white);
  background: #121e32;
  border: 1px solid #30425c;
  border-radius: 20px;
}
.price-card a { margin-top: auto; }
.quote-section { padding-block: var(--pad); }
.quote-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 7vw, 100px); align-items: start; }
.quote-layout h2 + p { max-width: 43ch; margin-top: 12px; color: var(--muted); }
@media (max-width: 760px) { .quote-layout { grid-template-columns: 1fr; } }

#formatos { padding-block: clamp(22px, 3vw, 48px) clamp(22px, 2.8vw, 42px); }
#videos { padding-block: clamp(22px, 2.8vw, 42px) clamp(30px, 3.8vw, 58px); }
#precos, .quote-section { padding-block: clamp(38px, 4.8vw, 72px); }
#formats-grid, #prices-grid { margin-top: clamp(12px, 1.55vw, 22px); }
.design-format h3 { margin-bottom: clamp(7px, .8vw, 11px); line-height: 1.12; }
.design-format[data-layout="publicidade"] .format-pieces {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.design-format[data-layout="publicidade"] .format-pieces + .format-pieces {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 960px);
  margin-inline: auto;
}
#art-viewer:not([open]), #art-lens[hidden] { display: none; }
.piece-open img, #art-image { user-select: none; }
@media (max-width: 720px) {
  .design-format[data-layout="publicidade"] .format-pieces {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

#art-viewer .art-toolbar { align-items: center; column-gap: 16px; }
#art-viewer .art-controls { gap: 4px; padding: 3px; }
#art-viewer .art-controls button, #art-viewer .close { flex: 0 0 44px; }
#art-count {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  min-width: 48px;
  line-height: 1;
  white-space: nowrap;
}
#art-viewer :is(.art-controls button, .close) > svg {
  display: block;
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#precos {
  padding-block: clamp(34px, 4.6vw, 72px);
  background: radial-gradient(ellipse at 50% 108%, #132543 0%, transparent 68%), var(--bg);
  border-top: 0;
  border-bottom: 1px solid #26384f;
}
#precos h2, .quote-layout h2 {
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
#precos h2 { font-size: clamp(38px, 6vw, 86px); }
#prices-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(12px, 1.4vw, 20px);
}
.price-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: stretch;
  overflow: hidden;
  padding: clamp(17px, 2vw, 29px);
  background: #0e1725;
  border: 1px solid #31445f;
  border-radius: 22px;
  transition: border-color .2s, box-shadow .2s;
}
.price-card--artes {
  padding: clamp(20px, 3vw, 42px);
  border-color: #4574b2;
  background: radial-gradient(ellipse at 94% 0%, #203e69, transparent 58%), linear-gradient(155deg, #152641, #0d1828 78%);
}
.price-card--videos {
  background: linear-gradient(115deg, #122339, #0c1420 68%);
}
.price-card::before {
  content: "";
  position: absolute;
  inset: 0 22% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, #5896ff9e, transparent);
}
.price-card:focus-within, .price-card:hover {
  border-color: #5076a9;
  box-shadow: 0 12px 30px #02081555;
}
.price-card h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
  font: 800 clamp(24px, 2vw, 34px)/1.02 var(--font-site);
  letter-spacing: -.035em;
}
.price-card h3 svg {
  display: block;
  width: 24px;
  height: 24px;
}
.price-card--artes h3 { font-size: clamp(37px, 4.1vw, 62px); }
.price-card--artes h3 svg { width: 34px; height: 34px; }
.price-card--videos h3 {
  color: #a4c9ff;
  font-size: clamp(22px, 1.75vw, 30px);
}
.price-items {
  margin: 12px 0 15px;
}
.price-items > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: baseline;
  padding-block: 8px;
  border-bottom: 1px solid #2e425d;
}
.price-card--artes .price-items { display: grid; margin-block: 16px 19px; }
.price-card--artes .price-items > div { align-items: center; }
.price-items dt {
  color: #e2ebf7;
  font-size: 15px;
  line-height: 1.35;
}
.price-items dt small {
  display: block;
  margin-top: 2px;
  color: #aabbd0;
  font-size: 13px;
}
.price-items dd {
  margin: 0;
  color: #fff;
  font-size: clamp(19px, 1.7vw, 26px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  white-space: nowrap;
}
.price-items dd span {
  color: #a8bee0;
  font-size: .62em;
}
.price-card--packs .price-items,
.price-card--videos .price-items {
  display: grid;
  gap: 7px;
}
.price-card--packs .price-items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.price-card--videos .price-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.price-card--packs .price-items > div,
.price-card--videos .price-items > div {
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  padding: 10px;
  border: 1px solid #283b54;
  border-radius: 9px;
  background: #132036;
}
.price-card--videos .price-items > div {
  border-color: #2f4765;
  background: #102139;
}
.price-card--packs .price-items dd,
.price-card--videos .price-items dd { align-self: end; }
.price-card--packs .price-items dt,
.price-card--videos .price-items dt { font-size: 14px; }
.price-card .solid {
  min-height: 46px;
  padding: 9px 15px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
}
.price-card--packs .solid,
.price-card--videos .solid {
  border-color: #38567f;
  background: #172943;
}
.price-card--videos .solid { background: transparent; }
.price-card--packs .solid:hover,
.price-card--videos .solid:hover {
  border-color: #699af7;
  background: #213c63;
}
@media (min-width: 761px) {
  #prices-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .price-card--artes { grid-row: span 2; }
  .price-card--artes .price-items { flex: 1; }
  .price-card--packs .solid, .price-card--videos .solid { align-self: flex-start; }
}
.price-note {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}
.price-note strong { color: #a4c9ff; }
.quote-section { background: linear-gradient(180deg, #0c1523, var(--bg) 78%); }
.quote-layout {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 76px);
}
.quote-intro { min-width: 0; container-type: inline-size; }
#contato .quote-intro h2 {
  font-size: clamp(27px, 4.3vw, 72px);
  font-size: clamp(27px, 12cqi, 72px);
  line-height: 1;
  overflow-wrap: anywhere;
}
.quote-layout h2 em { color: #8cb7ff; }
.quote-layout h2 + p { max-width: 40ch; }
@media (max-width: 760px) {
  .quote-layout { grid-template-columns: minmax(0, 1fr); }
}
.quote-channels {
  display: grid;
  gap: 12px;
  padding: clamp(16px, 2.5vw, 30px);
  border: 1px solid #30425c;
  border-radius: 24px;
  background: linear-gradient(155deg, #152238, #101925 70%);
  box-shadow: 0 16px 42px #0004;
}
.quote-channels:empty { display: none; }
.quote-channel {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 70px;
  padding: 10px 14px;
  border: 1px solid #344b70;
  border-radius: 14px;
  color: var(--white);
  background: #0b1423;
  transition: background-color .2s ease, border-color .2s ease;
}
.quote-channel:hover, .quote-channel:focus-visible {
  border-color: var(--accent);
  background: #152645;
}
.quote-channel-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #a6ccff;
  background: #172e50;
  border-radius: 12px;
}
.quote-channel-icon svg { width: 22px; height: 22px; }
.quote-channel strong { display: block; font-size: 17px; }
.quote-channel small { display: block; margin-top: 1px; color: var(--muted); }
.quote-channel > svg { transition: translate .2s ease; }
.quote-channel:hover > svg { translate: 2px -2px; }
