/*
 * Digital Atelier visual layer
 * This file intentionally sits on top of the compiled landing page.
 * Copy, links, offer data and existing assets remain in the React build.
 */

:root {
  --atelier-ink: #382b2a;
  --atelier-ink-soft: #6d5956;
  --atelier-cream: #fbf3eb;
  --atelier-paper: #fffaf5;
  --atelier-rose: #d88b9a;
  --atelier-rose-deep: #a95f70;
  --atelier-burnt: #ad674b;
  --atelier-champagne: #c89566;
  --atelier-green: #18a558;
  --atelier-green-deep: #128a48;
  --atelier-line: rgba(173, 103, 75, 0.28);
  --atelier-shadow: 0 22px 70px rgba(87, 43, 45, 0.14);
}

html {
  scroll-behavior: smooth;
  background: var(--atelier-cream);
}

body {
  background:
    radial-gradient(circle at 15% 10%, rgba(216, 139, 154, 0.12), transparent 28rem),
    var(--atelier-cream);
  color: var(--atelier-ink);
  overflow-x: hidden;
}

#root > div.min-h-screen {
  background: transparent;
  overflow: clip;
}

#root > div > div.fixed.top-0 {
  background: linear-gradient(90deg, #a95f70, #be7767 52%, #a95f70) !important;
  box-shadow: 0 6px 22px rgba(78, 35, 41, 0.16);
  letter-spacing: 0.08em;
}

#root > div > div.pt-9 > section {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-top: clamp(4.5rem, 8vw, 7rem);
  padding-bottom: clamp(4.5rem, 8vw, 7rem);
  color: var(--atelier-ink);
}

#root > div > div.pt-9 > section + section {
  z-index: 1;
  margin-top: clamp(-3.25rem, -4vw, -1.75rem);
  padding-top: calc(clamp(4.5rem, 8vw, 7rem) + clamp(1.75rem, 4vw, 3.25rem));
  border-radius: clamp(2.75rem, 7vw, 7rem) clamp(1.5rem, 5vw, 5rem) 0 0;
  box-shadow: 0 -18px 42px rgba(87, 43, 45, 0.045);
}

#root > div > div.pt-9 > section::before,
#root > div > div.pt-9 > section::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

#root > div > div.pt-9 > section::before {
  width: min(42vw, 34rem);
  height: min(42vw, 34rem);
  right: -15rem;
  top: 10%;
  border: 1px solid rgba(173, 103, 75, 0.16);
  border-radius: 52% 48% 58% 42%;
  transform: rotate(-16deg);
}

#root > div > div.pt-9 > section::after {
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(90deg, rgba(173, 103, 75, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(173, 103, 75, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(135deg, transparent 0%, black 35%, transparent 84%);
}

#root > div > div.pt-9 > section:nth-of-type(1) {
  min-height: min(840px, calc(100vh - 2.25rem));
  padding-top: clamp(4rem, 9vw, 7rem);
  background:
    radial-gradient(circle at 78% 33%, rgba(216, 139, 154, 0.24), transparent 18rem),
    radial-gradient(circle at 20% 80%, rgba(200, 149, 102, 0.12), transparent 17rem),
    var(--atelier-cream);
}

#root > div > div.pt-9 > section:nth-of-type(1)::before {
  width: min(58vw, 48rem);
  height: min(58vw, 48rem);
  right: -21rem;
  top: 8%;
  border: 1px dashed rgba(173, 103, 75, 0.36);
  border-radius: 50%;
  animation: atelier-orbit 24s linear infinite;
}

#root > div > div.pt-9 > section:nth-of-type(1)::after {
  opacity: 0.2;
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, transparent, black 44%, transparent);
}

#root > div > div.pt-9 > section:nth-of-type(1) h1 {
  max-width: 800px;
  color: var(--atelier-ink);
  letter-spacing: -0.045em;
  text-wrap: balance;
}

#root > div > div.pt-9 > section:nth-of-type(1) h1 span {
  color: var(--atelier-rose-deep) !important;
}

#root > div > div.pt-9 > section:nth-of-type(1) img {
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: contain;
  filter: drop-shadow(0 25px 28px rgba(110, 56, 59, 0.18));
  animation: atelier-float 8s ease-in-out 1.25s 2 both;
}

.atelier-hero-title {
  --atelier-delay: 0ms;
}

.atelier-hero-subtitle {
  --atelier-delay: 120ms;
}

.atelier-hero-cta {
  --atelier-delay: 250ms;
}

.atelier-hero-product {
  --atelier-delay: 390ms;
}

#root > div > div.pt-9 > section:nth-of-type(1) p {
  color: var(--atelier-ink-soft);
}

#root .atelier-action,
#root a[href*="payt.site"],
#root button.bg-green-600 {
  background: linear-gradient(135deg, var(--atelier-green), #20af63) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 13px 30px rgba(24, 165, 88, 0.28) !important;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
    background 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

#root .atelier-action::after,
#root a[href*="payt.site"]::after,
#root button.bg-green-600::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -120%;
  width: 70%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.26), transparent);
  transition: left 0.65s ease;
}

#root .atelier-action:hover,
#root a[href*="payt.site"]:hover,
#root button.bg-green-600:hover {
  background: linear-gradient(135deg, var(--atelier-green-deep), var(--atelier-green)) !important;
  box-shadow: 0 17px 34px rgba(18, 138, 72, 0.3) !important;
  transform: translateY(-2px) scale(1.01);
}

#root .atelier-action:hover::after,
#root a[href*="payt.site"]:hover::after,
#root button.bg-green-600:hover::after {
  left: 140%;
}

#root .atelier-action:active,
#root a[href*="payt.site"]:active,
#root button.bg-green-600:active {
  transform: translateY(0) scale(0.985);
}

#root .atelier-action:focus-visible,
#root a[href*="payt.site"]:focus-visible,
#root button.bg-green-600:focus-visible {
  outline: 3px solid rgba(24, 165, 88, 0.35);
  outline-offset: 4px;
}

#root button[aria-label="Anterior"],
#root button[aria-label="Próximo"],
#root button[aria-label="Anterior"].atelier-action,
#root button[aria-label="Próximo"].atelier-action {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: #fff !important;
  background-image: none !important;
  color: #c07888 !important;
  border: 1.5px solid #ede0e4 !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1) !important;
}

#root button[aria-label="Anterior"].atelier-action::after,
#root button[aria-label="Próximo"].atelier-action::after {
  display: none !important;
}

#root button[aria-label="Anterior"]:hover,
#root button[aria-label="Próximo"]:hover {
  background: #fff !important;
  color: #a95f70 !important;
  transform: translateY(-50%) scale(1.03) !important;
}

#root .atelier-free-badge {
  color: var(--atelier-green) !important;
  background: rgba(24, 165, 88, 0.12) !important;
  border: 1px solid rgba(24, 165, 88, 0.2);
  box-shadow: 0 3px 12px rgba(24, 165, 88, 0.12);
  font-weight: 800 !important;
  letter-spacing: 0.08em;
}

#root > div > div.pt-9 > section:not(.atelier-dark) .text-muted-foreground {
  color: var(--atelier-ink-soft) !important;
}

#root > div > div.pt-9 > section.atelier-dark .text-muted-foreground {
  color: rgba(255, 248, 242, 0.78) !important;
}

#root > div > div.pt-9 > section#oferta .text-foreground {
  color: var(--atelier-ink) !important;
}

#root > div > div.pt-9 > section#oferta h2 {
  color: #382b2a !important;
  text-shadow: 0 1px 0 rgba(255, 250, 245, 0.45);
}

#root > div > div.pt-9 > section#oferta h2 span {
  color: #9b5365 !important;
}

#root > div > div.pt-9 > section#oferta .text-muted-foreground {
  color: var(--atelier-ink-soft) !important;
}

#root > div > div.pt-9 > section#oferta .rounded-3xl p[style*="D88B9A"],
#root > div > div.pt-9 > section#oferta .rounded-3xl span[style*="D88B9A99"] {
  color: var(--atelier-rose-deep) !important;
}

#root > div > div.pt-9 > section#oferta > div > div:first-child > span,
#root > div > div.pt-9 > section#oferta .grid > .rounded-3xl:first-child > div:first-child > p,
#root > div > div.pt-9 > section#oferta .grid > .rounded-3xl > div:nth-child(2) > p,
#root > div > div.pt-9 > section#oferta .grid > .rounded-3xl span.line-through {
  color: var(--atelier-rose-deep) !important;
}

#root > div > div.pt-9 > section:nth-of-type(2n) {
  background:
    radial-gradient(circle at 12% 26%, rgba(255, 255, 255, 0.35), transparent 18rem),
    linear-gradient(135deg, #f2d8d3 0%, #e8bac1 50%, #d99aa7 100%);
}

#root > div > div.pt-9 > section:nth-of-type(2n+1):not(:first-of-type) {
  background:
    radial-gradient(circle at 86% 18%, rgba(216, 139, 154, 0.18), transparent 20rem),
    var(--atelier-paper);
}

#root > div > div.pt-9 > section:nth-of-type(3n) {
  background:
    radial-gradient(circle at 80% 75%, rgba(200, 149, 102, 0.2), transparent 24rem),
    #f6e5dc;
}

#root > div > div.pt-9 > section.atelier-bonus {
  background:
    radial-gradient(circle at 84% 15%, rgba(200, 149, 102, 0.3), transparent 18rem),
    radial-gradient(circle at 15% 90%, rgba(216, 139, 154, 0.25), transparent 22rem),
    linear-gradient(135deg, #4a302e, #68403e 55%, #7d4b4a);
  color: #fff8f2;
}

#root > div > div.pt-9 > section.atelier-bonus h2,
#root > div > div.pt-9 > section.atelier-bonus h3,
#root > div > div.pt-9 > section.atelier-bonus p,
#root > div > div.pt-9 > section.atelier-bonus span:not([style]) {
  color: #fff8f2;
}

/* The compiled text-muted-foreground utility is more specific than the
   generic bonus text rule above. Keep descriptions readable on the dark
   bonus background at every viewport size. */
#root > div > div.pt-9 > section.atelier-bonus p.text-muted-foreground {
  color: #fff8f2 !important;
}

#root > div > div.pt-9 > section.atelier-bonus .rounded-2xl,
#root > div > div.pt-9 > section.atelier-bonus .rounded-3xl {
  background: rgba(255, 248, 242, 0.1) !important;
  border-color: rgba(248, 215, 175, 0.32) !important;
  box-shadow: 0 18px 50px rgba(35, 18, 20, 0.22) !important;
  backdrop-filter: blur(7px);
}

#root > div > div.pt-9 > section.atelier-bonus img {
  mix-blend-mode: normal;
}

#root > div > div.pt-9 > section.atelier-bonus .grid > div > span {
  background: #f6d98d !important;
  border: 1px solid rgba(122, 90, 32, 0.18);
  color: #7a5a20 !important;
  box-shadow: 0 3px 10px rgba(181, 137, 48, 0.14);
}

#root > div > div.pt-9 > section.atelier-bonus .grid > div > div span.rounded-full {
  background: #f8e4a9 !important;
  color: #7a5a20 !important;
}

#root > div > div.pt-9 > section.atelier-app {
  background:
    radial-gradient(circle at 75% 44%, rgba(216, 139, 154, 0.25), transparent 22rem),
    linear-gradient(135deg, #fffaf5, #f3d9d5);
}

#root > div > div.pt-9 > section div.max-w-lg.rounded-2xl {
  max-width: 26rem;
}

#root > div > div.pt-9 > section div.max-w-lg.rounded-2xl > div:nth-child(2) {
  gap: 0.75rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

#root > div > div.pt-9 > section div.max-w-lg.rounded-2xl div.w-20.h-20 {
  width: 4.5rem !important;
  height: 4.5rem !important;
}

#root > div > div.pt-9 > section div.max-w-lg.rounded-2xl div.w-20.h-20 span {
  font-size: clamp(1.6rem, 6vw, 2.2rem) !important;
}

#root > div > div.pt-9 > section div.max-w-lg.rounded-2xl > div:nth-child(2) > div > span.pb-5 {
  font-size: 1.5rem !important;
}

#root .fixed.inset-0.z-50,
#root .fixed.inset-0[class*="z-[100]"] {
  align-items: center !important;
  justify-content: center !important;
  overflow-x: hidden !important;
  overflow-y: hidden !important;
  padding-top: max(0.75rem, env(safe-area-inset-top)) !important;
  padding-right: max(0.75rem, env(safe-area-inset-right)) !important;
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom)) !important;
  padding-left: max(0.75rem, env(safe-area-inset-left)) !important;
}

#root .fixed.inset-0.z-50 > .relative.w-full.max-w-sm,
#root .fixed.inset-0[class*="z-[100]"] > .relative.w-full.max-w-sm {
  width: min(100%, 24rem) !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  max-height: calc(100dvh - 2rem) !important;
  overflow: hidden !important;
}

#root .fixed.inset-0.z-50 > .relative.w-full.max-w-sm > button[aria-label="Fechar"],
#root .fixed.inset-0[class*="z-[100]"] > .relative.w-full.max-w-sm > button[aria-label="Fechar"] {
  position: absolute !important;
  top: 0.625rem !important;
  right: 0.625rem !important;
  left: auto !important;
  z-index: 20 !important;
  background: rgba(255, 255, 255, 0.25) !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

#root .fixed.inset-0.z-50 > .relative.w-full.max-w-sm > button[aria-label="Fechar"]::after,
#root .fixed.inset-0[class*="z-[100]"] > .relative.w-full.max-w-sm > button[aria-label="Fechar"]::after {
  display: none !important;
}

/* The full offer modal is rendered inside the offer section, so lift it out
   of that section's clipping and stacking contexts while it is open. */
#root > div.min-h-screen:has(.fixed.inset-0.z-50) {
  overflow: visible !important;
}

#root > div.min-h-screen > div.pt-9 > section#oferta:has(.fixed.inset-0.z-50) {
  overflow: visible !important;
  z-index: 1000 !important;
}

#root .fixed.inset-0.z-50 > .relative.w-full.max-w-sm {
  width: min(100%, 22rem) !important;
  max-width: 22rem !important;
  max-height: calc(100dvh - 3rem) !important;
  overflow: hidden !important;
  border: 1px solid rgba(169, 95, 112, 0.2);
  box-shadow: 0 24px 64px rgba(77, 39, 48, 0.28) !important;
}

#root .fixed.inset-0.z-50 > .relative.w-full.max-w-sm > button:first-child {
  position: absolute !important;
  top: 0.5rem !important;
  right: 0.5rem !important;
  left: auto !important;
  z-index: 20 !important;
  background: rgba(255, 255, 255, 0.22) !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

#root .fixed.inset-0.z-50 > .relative.w-full.max-w-sm > button:first-child::after {
  display: none !important;
}

#root .fixed.inset-0.z-50 > .relative.w-full.max-w-sm > div:nth-child(2) {
  padding: 0.4rem 1rem !important;
  background: linear-gradient(135deg, #a95f70, #d88b9a) !important;
}

#root .fixed.inset-0.z-50 > .relative.w-full.max-w-sm > div:nth-child(2) h2 {
  padding-right: 1rem;
  color: #fff !important;
  font-size: 1rem !important;
  line-height: 1.1 !important;
}

#root .fixed.inset-0.z-50 > .relative.w-full.max-w-sm > div:nth-child(2) > span {
  margin-bottom: 0.25rem !important;
}

#root .fixed.inset-0.z-50 > .relative.w-full.max-w-sm > div:nth-child(3) {
  padding: 0.375rem 1rem !important;
  background: linear-gradient(180deg, #fff7f8, #fff) !important;
  border-bottom-color: rgba(216, 139, 154, 0.24) !important;
}

#root .fixed.inset-0.z-50 > .relative.w-full.max-w-sm > div:nth-child(3) > div:nth-child(2) > span {
  color: var(--atelier-green-deep) !important;
  text-shadow: none !important;
}

#root .fixed.inset-0.z-50 > .relative.w-full.max-w-sm > div:nth-child(3) > span:last-child {
  background: rgba(24, 165, 88, 0.12) !important;
  color: var(--atelier-green-deep) !important;
}

#root .fixed.inset-0.z-50 > .relative.w-full.max-w-sm > div:nth-child(4),
#root .fixed.inset-0.z-50 > .relative.w-full.max-w-sm > div:nth-child(5) {
  padding: 0.4rem 1rem !important;
  background: #fff !important;
}

#root .fixed.inset-0.z-50 > .relative.w-full.max-w-sm > div:nth-child(4) p,
#root .fixed.inset-0.z-50 > .relative.w-full.max-w-sm > div:nth-child(5) p {
  margin-bottom: 0.25rem !important;
  color: #a95f70 !important;
}

#root .fixed.inset-0.z-50 > .relative.w-full.max-w-sm > div:nth-child(4) > div {
  row-gap: 0.2rem !important;
}

#root .fixed.inset-0.z-50 > .relative.w-full.max-w-sm > div:nth-child(4) > div > div > div {
  width: 0.75rem !important;
  height: 0.75rem !important;
  background: rgba(216, 139, 154, 0.12) !important;
  border-color: rgba(169, 95, 112, 0.28) !important;
}

#root .fixed.inset-0.z-50 > .relative.w-full.max-w-sm > div:nth-child(4) > div > div > span {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--atelier-ink-soft) !important;
}

#root .fixed.inset-0.z-50 > .relative.w-full.max-w-sm > div:nth-child(4) svg {
  color: #a95f70 !important;
}

#root .fixed.inset-0.z-50 > .relative.w-full.max-w-sm > div:nth-child(5) > div {
  gap: 0.2rem !important;
}

#root .fixed.inset-0.z-50 > .relative.w-full.max-w-sm > div:nth-child(5) > div > div {
  gap: 0.3rem !important;
  min-height: 1.125rem;
}

#root .fixed.inset-0.z-50 > .relative.w-full.max-w-sm > div:nth-child(5) img {
  width: 1.125rem !important;
  height: 1.125rem !important;
}

#root .fixed.inset-0.z-50 > .relative.w-full.max-w-sm > div:nth-child(5) span {
  font-size: 0.65rem !important;
  line-height: 1.1 !important;
}

#root .fixed.inset-0.z-50 > .relative.w-full.max-w-sm > div:nth-child(6) {
  gap: 0.25rem !important;
  padding: 0.4rem 1rem !important;
  background: linear-gradient(180deg, #fff, #fff7f8) !important;
  border-top-color: rgba(216, 139, 154, 0.2) !important;
}

#root .fixed.inset-0.z-50 > .relative.w-full.max-w-sm > div:nth-child(6) a:first-child {
  min-height: 2.25rem !important;
  padding: 0.4rem 0.75rem !important;
  background: linear-gradient(135deg, var(--atelier-green), var(--atelier-green-deep)) !important;
  box-shadow: 0 4px 14px rgba(24, 165, 88, 0.24) !important;
  font-size: 0.75rem !important;
}

#root .fixed.inset-0.z-50 > .relative.w-full.max-w-sm > div:nth-child(6) a:last-child {
  min-height: 1.9rem !important;
  padding: 0.3rem 0.75rem !important;
  background: #fff !important;
  border: 1.5px solid rgba(169, 95, 112, 0.35) !important;
  color: #a95f70 !important;
  box-shadow: none !important;
}

#root .fixed.inset-0.z-50 > .relative.w-full.max-w-sm > div:nth-child(6) a:last-child span {
  color: #a95f70 !important;
}

#root .fixed.inset-0.z-50 > .relative.w-full.max-w-sm > div:nth-child(6) a:last-child::after {
  display: none !important;
}

@media (max-height: 600px) {
  #root .fixed.inset-0.z-50 > .relative.w-full.max-w-sm > div:nth-child(2) {
    padding-top: 0.35rem !important;
    padding-bottom: 0.35rem !important;
  }

  #root .fixed.inset-0.z-50 > .relative.w-full.max-w-sm > div:nth-child(2) h2 {
    font-size: 0.875rem !important;
    line-height: 1.05 !important;
  }

  #root .fixed.inset-0.z-50 > .relative.w-full.max-w-sm > div:nth-child(3) {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
  }

  #root .fixed.inset-0.z-50 > .relative.w-full.max-w-sm > div:nth-child(3) > div:nth-child(2) > span:nth-child(2) {
    font-size: 2rem !important;
  }

  #root .fixed.inset-0.z-50 > .relative.w-full.max-w-sm > div:nth-child(4),
  #root .fixed.inset-0.z-50 > .relative.w-full.max-w-sm > div:nth-child(5) {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
  }

  #root .fixed.inset-0.z-50 > .relative.w-full.max-w-sm > div:nth-child(4) p,
  #root .fixed.inset-0.z-50 > .relative.w-full.max-w-sm > div:nth-child(5) p {
    margin-bottom: 0.2rem !important;
  }

  #root .fixed.inset-0.z-50 > .relative.w-full.max-w-sm > div:nth-child(4) > div {
    row-gap: 0.15rem !important;
  }

  #root .fixed.inset-0.z-50 > .relative.w-full.max-w-sm > div:nth-child(5) > div {
    gap: 0.125rem !important;
  }

  #root .fixed.inset-0.z-50 > .relative.w-full.max-w-sm > div:nth-child(5) img {
    width: 0.9rem !important;
    height: 0.9rem !important;
  }

  #root .fixed.inset-0.z-50 > .relative.w-full.max-w-sm > div:nth-child(5) > div > div {
    min-height: 1rem !important;
  }

  #root .fixed.inset-0.z-50 > .relative.w-full.max-w-sm > div:nth-child(6) {
    gap: 0.2rem !important;
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
  }

  #root .fixed.inset-0.z-50 > .relative.w-full.max-w-sm > div:nth-child(6) a:first-child {
    min-height: 2rem !important;
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
  }

  #root .fixed.inset-0.z-50 > .relative.w-full.max-w-sm > div:nth-child(6) a:last-child {
    min-height: 1.75rem !important;
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
  }
}

@media (min-width: 640px) {
  #root > div > div.pt-9 > section div.max-w-lg.rounded-2xl div.w-20.h-20 {
    width: 5rem !important;
    height: 5rem !important;
  }
}

#root > div > div.pt-9 > section.atelier-app video,
#root > div > div.pt-9 > section.atelier-app img {
  box-shadow: var(--atelier-shadow) !important;
  border-color: rgba(169, 95, 112, 0.26) !important;
}

/* Media must never depend on the decorative reveal observer to be visible. */
#root > div > div.pt-9 > section.atelier-app video {
  opacity: 1 !important;
  transform: none !important;
}

#root > div > div.pt-9 > section.atelier-testimonials img {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

#root > div > div.pt-9 > section.atelier-features .grid > *,
#root > div > div.pt-9 > section.atelier-bonus .grid > *,
#root > div > div.pt-9 > section .grid > * {
  transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.32s ease, border-color 0.32s ease;
}

#root > div > div.pt-9 > section .grid > *:hover {
  transform: translateY(-5px);
  border-color: rgba(200, 149, 102, 0.62) !important;
  box-shadow: 0 20px 38px rgba(111, 57, 61, 0.17) !important;
}

#root > div > div.pt-9 > section .grid > *:hover img {
  transform: scale(1.035);
}

#root > div > div.pt-9 > section img {
  transition: transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.65s ease;
}

#root > div > div.pt-9 > section h2 {
  color: var(--atelier-ink);
  letter-spacing: -0.035em;
}

#root > div > div.pt-9 > section h2 span {
  color: var(--atelier-rose-deep) !important;
}

#root > div > div.pt-9 > section .container,
#root > div > div.pt-9 > section > div {
  position: relative;
  z-index: 2;
}

.atelier-thread {
  position: absolute;
  z-index: 1;
  inset: 12% -4% auto;
  width: 108%;
  height: 52%;
  pointer-events: none;
  opacity: 0.74;
  overflow: visible;
}

.atelier-thread path {
  fill: none;
  stroke: var(--atelier-line);
  stroke-width: 1.15;
  stroke-dasharray: 5 9;
  stroke-dashoffset: 560;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.atelier-thread path:nth-child(2) {
  stroke: rgba(200, 149, 102, 0.38);
  stroke-width: 0.75;
  stroke-dasharray: 1 11;
}

.atelier-section-visible .atelier-thread path {
  animation: atelier-draw 1.7s cubic-bezier(0.2, 0.8, 0.2, 1) 80ms forwards;
}

.atelier-section-visible .atelier-thread path:nth-child(2) {
  animation-delay: 220ms;
}

.atelier-measure {
  position: absolute;
  z-index: 1;
  right: clamp(1rem, 5vw, 5rem);
  bottom: 2rem;
  color: rgba(169, 95, 112, 0.55);
  font: 600 0.62rem/1 Inter, sans-serif;
  letter-spacing: 0.25em;
  writing-mode: vertical-rl;
  pointer-events: none;
}

.atelier-pin {
  position: absolute;
  z-index: 1;
  width: 0.55rem;
  height: 0.55rem;
  border: 1px solid rgba(200, 149, 102, 0.78);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(200, 149, 102, 0.1);
  pointer-events: none;
  opacity: 0.6;
  transform: scale(0.92);
}

.atelier-section-visible .atelier-pin {
  animation: atelier-pin-in 0.65s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.atelier-pin.one { top: 18%; left: 8%; }
.atelier-pin.two { top: 72%; right: 12%; animation-delay: 1.3s; }

.atelier-progress {
  position: fixed;
  z-index: 60;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--atelier-champagne), var(--atelier-rose));
  box-shadow: 0 0 12px rgba(216, 139, 154, 0.7);
  pointer-events: none;
  transform-origin: left center;
}

.atelier-reveal {
  opacity: 0;
  transform: translateY(18px) scale(0.992);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--atelier-delay, 0ms);
}

.atelier-reveal.atelier-visible {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}

.atelier-reveal.atelier-card {
  transition-delay: var(--atelier-delay, 0ms);
}

.atelier-reveal.atelier-hero-product {
  transform: translateY(30px) scale(0.97);
  transition-duration: 0.9s;
}

.atelier-reveal.atelier-hero-product.atelier-visible {
  transform: translateY(0) scale(1);
}

@keyframes atelier-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-7px) rotate(0.35deg); }
}

@keyframes atelier-orbit {
  to { transform: rotate(344deg); }
}

@keyframes atelier-draw {
  to { stroke-dashoffset: -560; }
}

@keyframes atelier-pin-in {
  from { transform: scale(0.82); opacity: 0; }
  to { transform: scale(1); opacity: 0.72; }
}

@media (max-width: 640px) {
  #root > div > div.pt-9,
  #root > div > div.pt-9 > section,
  #root > div > div.pt-9 > section > div,
  #root > div > div.pt-9 > section .container {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  #root > div > div.pt-9 > section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  #root > div > div.pt-9 > section + section {
    margin-top: -1.5rem;
    padding-top: 5.5rem;
    border-radius: 2.5rem 1.5rem 0 0;
  }

  #root > div > div.pt-9 > section:nth-of-type(1) {
    min-height: auto;
    padding-top: 3.8rem;
  }

  #root > div > div.pt-9 > section:nth-of-type(1) h1 {
    font-size: clamp(1.85rem, 8.2vw, 2.4rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
  }

  #root > div > div.pt-9 > section h2 {
    font-size: clamp(1.7rem, 8vw, 2.25rem);
    line-height: 1.15;
  }

  #root > div > div.pt-9 > section .grid,
  #root > div > div.pt-9 > section .flex {
    min-width: 0;
  }

  #root > div > div.pt-9 > section .grid > *,
  #root > div > div.pt-9 > section .flex > * {
    min-width: 0;
  }

  #root > div > div.pt-9 > section img,
  #root > div > div.pt-9 > section video {
    max-width: 100%;
    height: auto;
  }

  #root > div > div.pt-9 > section#oferta .grid > .rounded-3xl {
    width: 100%;
    min-width: 0;
  }

  #root > div > div.pt-9 > section#oferta .rounded-3xl > div {
    min-width: 0;
  }

  #root > div > div.pt-9 > section#oferta .rounded-3xl span,
  #root > div > div.pt-9 > section#oferta .rounded-3xl p {
    overflow-wrap: anywhere;
  }

  #root > div > div.pt-9 > section::before {
    width: 19rem;
    height: 19rem;
    right: -12rem;
  }

  #root > div > div.pt-9 > section::after {
    background-size: 28px 28px;
  }

  .atelier-thread {
    inset: 14% -28% auto;
    width: 156%;
    opacity: 0.48;
  }

  #root .atelier-action,
  #root a[href*="payt.site"],
  #root button.bg-green-600 {
    min-height: 52px;
  }

  #root .fixed.inset-0.z-50,
  #root .fixed.inset-0[class*="z-[100]"] {
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    padding: max(0.75rem, env(safe-area-inset-top)) 0.75rem
      max(0.75rem, env(safe-area-inset-bottom)) !important;
  }

  #root .fixed.inset-0.z-50 > .relative.w-full.max-w-sm,
  #root .fixed.inset-0[class*="z-[100]"] > .relative.w-full.max-w-sm {
    width: 100% !important;
    max-height: calc(100dvh - 3rem) !important;
    margin: 0 auto !important;
    overflow: hidden !important;
  }

  @media (max-height: 560px) {
    #root .fixed.inset-0[class*="z-[100]"] > .relative.w-full.max-w-sm > div:nth-child(2),
    #root .fixed.inset-0[class*="z-[100]"] > .relative.w-full.max-w-sm > div:nth-child(3),
    #root .fixed.inset-0[class*="z-[100]"] > .relative.w-full.max-w-sm > div:nth-child(4),
    #root .fixed.inset-0[class*="z-[100]"] > .relative.w-full.max-w-sm > div:nth-child(6) {
      padding-top: 0.5rem !important;
      padding-bottom: 0.5rem !important;
    }

    #root .fixed.inset-0[class*="z-[100]"] > .relative.w-full.max-w-sm > div:nth-child(3) span.font-extrabold {
      font-size: 3rem !important;
    }

    #root .fixed.inset-0[class*="z-[100]"] > .relative.w-full.max-w-sm > div:nth-child(6) a {
      min-height: 2.5rem !important;
      padding-top: 0.5rem !important;
      padding-bottom: 0.5rem !important;
    }
  }

  .atelier-measure {
    right: 0.8rem;
    bottom: 1.25rem;
    font-size: 0.52rem;
  }

  .atelier-pin.one { left: 4%; }
  .atelier-pin.two { right: 5%; }
}

@media (max-width: 480px) {
  .atelier-measure {
    display: none;
  }

  #root > div > div.pt-9 > section#oferta .rounded-3xl > div {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .atelier-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .atelier-thread path {
    stroke-dashoffset: 0;
    animation: none !important;
  }
  .atelier-pin {
    opacity: 0.6;
    transform: none;
    animation: none !important;
  }
}