/* 4. Pílulas por tipo de pele */
.chips { padding: 86px 0 78px; } /* + 14/22px do row = 100px entre seções */
.chips__row { display: flex; align-items: center; justify-content: safe center; gap: clamp(.4rem, 1vw, 1rem); width: min(100%, 1760px); margin-inline: auto; padding: 14px var(--gutter) 22px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.chips__row::-webkit-scrollbar { display: none; }
.chips__item { flex: 0 1 auto; scroll-snap-align: center; }
.chips__item:nth-of-type(odd) { translate: 0 -6px; }
.chips__item:nth-of-type(even) { translate: 0 8px; }
.chips__sep { flex: none; width: 20px; height: 20px; color: #d3a982; }
.chips__sep svg { width: 100%; height: 100%; fill: currentColor; }

.chip { --tone: #efe6d8; --tone-deep: #e2d3bd; position: relative; display: flex; align-items: center; gap: 1.1rem; padding: .7rem 2.4rem .7rem .7rem; background: var(--tone); border-radius: 100px 52px 52px 100px; color: #3f2519; overflow: hidden; isolation: isolate; transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.chip::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--tone-deep); clip-path: circle(0 at 56px 50%); transition: clip-path .6s var(--ease-out); }
.chip:hover { transform: translateY(-6px); box-shadow: 0 18px 30px -18px rgba(63, 37, 25, .55); }
.chip:hover::before { clip-path: circle(150% at 56px 50%); }

.chip__photo { flex: none; width: clamp(96px, 7vw, 124px); aspect-ratio: 1; background: #fff; border: 4px solid #fff; border-radius: 56% 44% 52% 48% / 50% 56% 44% 50%; overflow: hidden; display: grid; place-items: center; box-shadow: 0 6px 14px -8px rgba(63, 37, 25, .5); transition: border-radius .7s var(--ease-out), transform .7s var(--ease-out); }
.chip:hover .chip__photo { border-radius: 46% 54% 44% 56% / 56% 46% 54% 44%; transform: rotate(-5deg) scale(1.04); }
.chip__photo img { width: 100%; height: 100%; object-fit: contain; padding: 12%; }

.chip__text { display: grid; gap: .35rem; }
.chip__label { font: 500 clamp(18px, 1.15vw, 23px)/1.15 var(--font-heading); letter-spacing: -.015em; white-space: nowrap; }
.chip__sub { font: 600 10.5px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, #3f2519 62%, transparent); }

.chip__arrow { position: absolute; right: .9rem; top: 50%; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #3f2519; color: #fff; opacity: 0; translate: -10px -50%; transition: opacity .3s, translate .45s var(--ease-out); }
.chip__arrow svg { width: 16px; height: 16px; }
.chip:hover .chip__arrow, .chip:focus-visible .chip__arrow { opacity: 1; translate: 0 -50%; }
.chip:hover { padding-right: 3.4rem; }
.chip { transition-property: transform, box-shadow, padding; }

.chip--branca  { --tone: #efe6d8; --tone-deep: #e4d6bf; }
.chip--verde   { --tone: #dde6cb; --tone-deep: #cddab0; }
.chip--rosa    { --tone: #f5d8d3; --tone-deep: #efc4bd; }
.chip--amarela { --tone: #f7e5b8; --tone-deep: #f1d589; }
.chip--preta   { --tone: #dbd5d1; --tone-deep: #c7bfba; }

@media (max-width: 1280px) { .chips__row { justify-content: flex-start; } .chips__item:nth-of-type(n) { translate: 0 0; } }
@media (max-width: 900px) {
  .chip__photo { width: 76px; border-width: 3px; }
  .chip__label { font-size: 16px; }
  .chip__sub { font-size: 9.5px; }
  .chip { gap: .8rem; padding: .55rem 1.6rem .55rem .55rem; }
  .chip__arrow { display: none; }
  .chip:hover { padding-right: 1.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .chip, .chip__photo, .chip::before, .chip__arrow { transition: none; }
}
