:root {
  --plum: #493760;
  --plum-dark: #342348;
  --plum-soft: #5a4771;
  --yellow: #ffc44d;
  --cream: #fff8eb;
  --pink: #ef8f9e;
  --ink: #33283f;
  --muted: #776e80;
  --line: rgba(73, 55, 96, .13);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--plum);
  font-family: "Nunito Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }

.kuskuz-nav {
  z-index: 40;
  padding: 16px 0;
  background: rgba(73, 55, 96, .82);
  border-bottom: 1px solid rgba(255,255,255,.09);
  backdrop-filter: blur(18px);
  transition: background .3s, padding .3s;
}

.builder-mode .kuskuz-nav { padding: 9px 0; background: rgba(52,35,72,.96); }
.nav-shell { position: relative; width: min(100% - 70px, 1170px); padding: 0; }
.brand-lockup { display: flex; align-items: center; gap: 11px; margin: 0; color: #fff !important; }
.brand-lockup img { width: 54px; height: 54px; border: 3px solid rgba(255,255,255,.8); border-radius: 50%; object-fit: cover; box-shadow: 0 8px 24px rgba(31,18,46,.28); }
.brand-lockup span { display: grid; line-height: 1; }
.brand-lockup strong { font: 700 20px/1 "Baloo 2", sans-serif; }
.brand-lockup small { margin-top: 2px; color: rgba(255,255,255,.63); font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.nav-links { position: absolute; left: 50%; display: flex; gap: 42px; color: rgba(255,255,255,.84); font-size: 12px; font-weight: 700; transform: translateX(-50%); }
.nav-status { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.76); font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.nav-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 5px rgba(255,196,77,.13); }

.hero-screen, .builder-screen { position: relative; min-height: 100svh; overflow: hidden; }
.hero-screen { background: var(--plum); }
.page-video { position: absolute; width: 52%; height: 86%; right: -2%; bottom: -3%; object-fit: cover; object-position: center; clip-path: polygon(18% 2%, 87% 5%, 100% 26%, 95% 87%, 70% 100%, 10% 92%, 0 57%, 4% 20%); filter: saturate(.88) contrast(1.02); }
.video-shade { position: absolute; inset: 0; background: linear-gradient(90deg, var(--plum) 0%, var(--plum) 45%, rgba(73,55,96,.34) 72%, rgba(73,55,96,.08) 100%); }
.hero-container { position: relative; z-index: 4; }
.hero-shape, .hero-dot { position: absolute; z-index: 2; pointer-events: none; }
.hero-shape-one { width: 520px; height: 590px; right: -145px; top: 235px; border-radius: 48% 0 0 43%; background: rgba(46,30,63,.4); transform: rotate(-8deg); }
.hero-shape-two { width: 355px; height: 385px; left: -180px; top: 100px; border-radius: 43% 57% 62% 38%; background: rgba(52,35,72,.48); transform: rotate(28deg); }
.hero-dot { width: 70px; height: 62px; border-radius: 63% 37% 55% 45%; background: var(--yellow); box-shadow: 0 10px 30px rgba(43,28,58,.18); animation: float 5s ease-in-out infinite; }
.hero-dot-one { right: 5%; top: 25%; transform: rotate(24deg); }
.hero-dot-two { right: 37%; bottom: 12%; width: 54px; height: 48px; animation-delay: -2.4s; }

.hero-copy { position: relative; z-index: 4; padding-top: 80px; color: #fff; }
.template-eyebrow { margin-bottom: 14px; color: var(--yellow); font: 400 clamp(21px,2vw,30px)/1.2 "Pacifico", cursive; }
.hero-copy h1 { margin: 0; max-width: 720px; color: #fff; font: 800 clamp(66px,7vw,108px)/.91 "Baloo 2", sans-serif; letter-spacing: -.045em; }
.hero-copy h1 mark { padding: 0; color: var(--yellow); background: transparent; }
.hero-copy > p { max-width: 590px; margin: 28px 0 34px; color: rgba(255,255,255,.74); font-size: clamp(15px,1.25vw,19px); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 25px; }
.start-button, .final-button { min-height: 60px; padding: 0 14px 0 26px; border: 0; border-radius: 999px; display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; color: var(--plum-dark) !important; background: var(--yellow) !important; box-shadow: 0 15px 35px rgba(37,22,52,.22); font: 800 15px/1 "Baloo 2", sans-serif; transition: transform .25s, box-shadow .25s; }
.start-button span, .final-button span { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--plum-dark); font-family: sans-serif; }
.start-button:hover, .final-button:hover { transform: translateY(-4px); box-shadow: 0 20px 42px rgba(37,22,52,.3); }
.price-seal { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.25); display: grid; }
.price-seal small { color: rgba(255,255,255,.58); font-size: 9px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.price-seal strong { color: #fff; font: 800 25px/1.25 "Baloo 2", sans-serif; }

.hero-stack { position: relative; z-index: 3; width: 100%; height: 620px; margin-top: 100px; }
.food-card { position: absolute; width: 275px; margin: 0; overflow: hidden; border: 7px solid rgba(255,255,255,.84); background: #fff; box-shadow: 0 30px 75px rgba(31,18,46,.35); }
.food-card img { width: 100%; height: 385px; display: block; object-fit: cover; }
.food-card figcaption { height: 64px; padding: 0 19px; display: flex; align-items: center; justify-content: space-between; color: var(--plum); background: #fff; font: 800 15px/1 "Baloo 2", sans-serif; }
.food-card figcaption b { color: rgba(73,55,96,.24); font-size: 25px; }
.food-card-back { right: 0; top: 28px; border-radius: 46% 46% 28px 28px; transform: rotate(7deg); }
.food-card-front { left: -4px; bottom: 5px; z-index: 2; border-radius: 45% 45% 28px 28px; transform: rotate(-6deg); }
.hero-foot { position: absolute; z-index: 5; right: clamp(24px,4vw,65px); bottom: 24px; display: flex; align-items: center; gap: 13px; color: rgba(255,255,255,.62); font-size: 8px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.scroll-line { width: 45px; height: 1px; background: rgba(255,255,255,.35); }

.builder-screen { padding: 98px 0 18px; background: var(--plum); }
.builder-video { position: fixed; inset: 0; width: 100%; height: 100%; opacity: .19; clip-path: none; filter: saturate(.75); }
.builder-shade { position: fixed; inset: 0; background: linear-gradient(90deg, rgba(52,35,72,.93), rgba(73,55,96,.76)); }
.builder-container { position: relative; z-index: 2; width: min(100% - 46px, 1380px); padding: 0; }
.builder-progress { margin: 0 5px 18px; }
.progress-heading { margin-bottom: 9px; display: flex; justify-content: space-between; color: rgba(255,255,255,.64); font-size: 9px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.progress-heading strong { color: #fff; }
.template-progress { height: 5px; overflow: hidden; border-radius: 9px; background: rgba(255,255,255,.16); }
.template-progress .progress-bar { width: 33.333%; border-radius: 9px; background: var(--yellow); transition: width .6s cubic-bezier(.16,1,.3,1); }
.builder-card { min-height: calc(100svh - 166px); display: grid; grid-template-columns: minmax(390px,.92fr) minmax(520px,1.08fr); overflow: hidden; border: 1px solid rgba(255,255,255,.15); border-radius: 42px; background: var(--cream); box-shadow: 0 35px 90px rgba(31,18,46,.38); }
.product-preview { position: relative; min-height: 650px; padding: 31px; overflow: hidden; background: var(--yellow); }
.product-preview::before { content: ""; position: absolute; width: 290px; height: 290px; right: -120px; top: -100px; border-radius: 45%; background: var(--pink); opacity: .75; }
.preview-kicker { position: relative; z-index: 4; display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--plum); font-size: 10px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.preview-kicker span { width: 27px; height: 3px; border-radius: 3px; background: var(--plum); }
.preview-frame { position: relative; height: calc(100% - 140px); min-height: 455px; overflow: hidden; border: 7px solid rgba(255,255,255,.76); border-radius: 48% 48% 28px 28px; box-shadow: 0 24px 55px rgba(51,35,67,.22); background: var(--plum); }
.preview-frame > img { width: 100%; height: 100%; display: block; object-fit: cover; transition: opacity .25s, transform .65s cubic-bezier(.16,1,.3,1); }
.preview-frame.changing > img { opacity: .25; transform: scale(1.08); }
.preview-gradient { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(52,35,72,.9), transparent 48%); }
.preview-caption { position: absolute; left: 25px; right: 25px; bottom: 21px; display: flex; align-items: flex-end; justify-content: space-between; color: #fff; }
.preview-caption div { display: grid; gap: 3px; }
.preview-caption small { color: rgba(255,255,255,.64); font-size: 8px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.preview-caption strong, .preview-caption b { font: 800 25px/1 "Baloo 2", sans-serif; }
.preview-caption b { color: var(--yellow); }
.detail-strip { position: absolute; z-index: 3; left: 31px; right: 31px; bottom: 23px; display: grid; grid-template-columns: 62px 62px 1fr; align-items: center; gap: 10px; }
.detail-strip img { width: 62px; height: 62px; border: 3px solid rgba(255,255,255,.65); border-radius: 50%; object-fit: cover; }
.detail-strip p { margin: 0 0 0 5px; color: var(--plum-dark); font-size: 11px; line-height: 1.35; }
.detail-strip strong { font-weight: 900; }
.detail-strip span { opacity: .67; }

.steps-panel { position: relative; padding: clamp(44px,5vw,82px); display: flex; align-items: center; background: var(--cream); }
.steps-panel::after { content: ""; position: absolute; width: 74px; height: 65px; right: 6%; top: 7%; border-radius: 63% 37% 56% 44%; background: rgba(239,143,158,.28); transform: rotate(23deg); }
.step { display: none; width: 100%; }
.step.active { display: block; animation: stepIn .55s both cubic-bezier(.16,1,.3,1); }
.step-overline { margin: 0 0 16px; color: var(--pink); font-size: 10px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.step h2 { margin: 0; color: var(--plum); font: 800 clamp(45px,4.8vw,70px)/.91 "Baloo 2", sans-serif; letter-spacing: -.045em; }
.step-lead { max-width: 500px; margin: 21px 0 30px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.choice-card { position: relative; min-height: 235px; padding: 0; overflow: hidden; border: 3px solid transparent; border-radius: 30px; color: var(--plum); text-align: left; background: #fff; box-shadow: 0 13px 32px rgba(61,44,77,.1); cursor: pointer; transition: transform .25s, border-color .25s, box-shadow .25s; }
.choice-card:hover { transform: translateY(-5px) rotate(-1deg); box-shadow: 0 18px 42px rgba(61,44,77,.16); }
.choice-card.selected { border-color: var(--yellow); box-shadow: 0 18px 45px rgba(255,196,77,.24); }
.choice-card > img { width: 100%; height: 153px; display: block; object-fit: cover; }
.choice-card > span { padding: 15px 17px; display: grid; gap: 2px; }
.choice-card strong { font: 800 17px/1.1 "Baloo 2", sans-serif; }
.choice-card small { color: var(--muted); font-size: 10px; }
.choice-check { position: absolute; right: 13px; top: 13px; width: 31px; height: 31px; border: 2px solid rgba(255,255,255,.85); border-radius: 50%; display: grid; place-items: center; color: transparent; background: rgba(52,35,72,.36); backdrop-filter: blur(8px); font-style: normal; transition: background .25s; }
.selected .choice-check { color: var(--plum-dark); background: var(--yellow); }
.back-button { margin-bottom: 14px; padding: 0; border: 0; color: var(--muted); background: none; font-size: 12px; font-weight: 900; cursor: pointer; }
.back-button:hover { color: var(--pink); }
.order-summary { margin: 26px 0 23px; border-top: 1px solid var(--line); }
.order-summary > div { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.order-summary span { color: var(--muted); font-size: 11px; }
.order-summary strong { color: var(--plum); text-align: right; font-size: 13px; font-weight: 900; }
.order-summary .summary-total { padding: 16px 0; }
.summary-total strong { color: var(--pink); font: 800 26px/1 "Baloo 2", sans-serif; }
.final-button { width: 100%; }
.demo-note { display: block; margin-top: 11px; color: var(--muted); text-align: center; font-size: 9px; }
.template-credit { padding: 13px 5px 0; display: flex; justify-content: space-between; color: rgba(255,255,255,.45); font-size: 8px; letter-spacing: .05em; }
.template-credit a { color: rgba(255,255,255,.54); text-decoration: none; }
.template-credit a:hover { color: var(--yellow); }
.kuskuz-toast { position: fixed; z-index: 100; right: 24px; bottom: 24px; max-width: calc(100% - 48px); padding: 15px 18px; border: 1px solid rgba(255,255,255,.16); border-radius: 20px; display: flex; align-items: center; gap: 13px; color: #fff; background: var(--plum-dark); box-shadow: 0 24px 60px rgba(31,18,46,.35); opacity: 0; transform: translateY(24px); pointer-events: none; transition: opacity .3s, transform .3s; }
.kuskuz-toast.show { opacity: 1; transform: translateY(0); }
.toast-icon { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--plum-dark); background: var(--yellow); font-weight: 900; }
.kuskuz-toast > div:last-child { display: grid; gap: 2px; }
.kuskuz-toast strong { font-size: 13px; }
.kuskuz-toast span { color: rgba(255,255,255,.65); font-size: 10px; }

@keyframes float { 0%,100% { translate: 0 0; } 50% { translate: 0 -18px; } }
@keyframes stepIn { from { opacity: 0; transform: translateX(25px); } to { opacity: 1; transform: none; } }
@keyframes builderIn { from { opacity: 0; transform: translateY(28px); } }
.builder-screen.entering { animation: builderIn .65s both cubic-bezier(.16,1,.3,1); }

@media (max-width: 1199px) {
  .nav-shell { width: calc(100% - 48px); }
  .hero-stack { transform: scale(.84); transform-origin: center right; }
  .builder-card { grid-template-columns: minmax(340px,.82fr) minmax(460px,1.18fr); }
  .product-preview { padding: 24px; }
  .detail-strip { left: 24px; right: 24px; }
  .steps-panel { padding: 45px; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-copy { max-width: 700px; }
  .page-video { width: 65%; opacity: .7; }
  .video-shade { background: linear-gradient(90deg,var(--plum) 0%,rgba(73,55,96,.96) 49%,rgba(73,55,96,.44)); }
  .builder-card { grid-template-columns: .86fr 1.14fr; }
  .product-preview { min-height: 610px; }
  .steps-panel { padding: 38px 27px; }
  .choice-grid { grid-template-columns: 1fr; }
  .choice-card { min-height: 100px; display: grid; grid-template-columns: 96px 1fr; align-items: center; }
  .choice-card > img { width: 96px; height: 100%; min-height: 100px; }
}

@media (max-width: 720px) {
  body.builder-mode { height: 100svh; overflow: hidden; }
  .kuskuz-nav { padding: 8px 0; background: rgba(73,55,96,.94); }
  .nav-shell { width: calc(100% - 28px); }
  .brand-lockup img { width: 45px; height: 45px; }
  .brand-lockup strong { font-size: 17px; }
  .brand-lockup small { font-size: 7px; }
  .nav-status { max-width: 100px; justify-content: flex-end; text-align: right; font-size: 7px; line-height: 1.35; }
  .hero-screen { min-height: 100svh; }
  .page-video { width: 100%; height: 56%; right: 0; bottom: 0; opacity: .62; clip-path: polygon(0 25%, 18% 5%, 82% 0, 100% 23%, 100% 100%, 0 100%); }
  .video-shade { background: linear-gradient(0deg,rgba(73,55,96,.32),var(--plum) 58%); }
  .hero-shape-one { display: none; }
  .hero-shape-two { width: 240px; height: 250px; left: -155px; top: 170px; }
  .hero-dot-one { right: -15px; top: 27%; width: 48px; height: 43px; }
  .hero-dot-two { right: 18%; bottom: 7%; width: 35px; height: 31px; }
  .hero-container { padding: 0 22px; }
  .hero-copy { padding-top: 105px; align-self: flex-start; }
  .template-eyebrow { margin-bottom: 11px; font-size: 19px; }
  .hero-copy h1 { max-width: 360px; font-size: clamp(51px,15vw,67px); line-height: .89; }
  .hero-copy > p { max-width: 350px; margin: 19px 0 23px; font-size: 13px; line-height: 1.55; }
  .hero-actions { align-items: stretch; gap: 13px; }
  .start-button { min-height: 54px; padding-left: 18px; gap: 13px; font-size: 12px; }
  .start-button span { width: 34px; height: 34px; }
  .price-seal { padding-left: 12px; justify-content: center; }
  .price-seal strong { font-size: 19px; }
  .hero-foot { left: 22px; right: auto; bottom: 16px; }
  .builder-screen { min-height: 100svh; padding: 68px 0 8px; overflow: hidden; }
  .builder-mode .kuskuz-nav { position: absolute; }
  .builder-container { width: calc(100% - 20px); }
  .builder-progress { margin-bottom: 7px; }
  .progress-heading { margin-bottom: 5px; font-size: 7px; }
  .template-progress { height: 3px; }
  .builder-card { min-height: 0; grid-template-columns: 1fr; border-radius: 28px; }
  .product-preview { min-height: 205px; padding: 12px; }
  .preview-kicker { margin-bottom: 5px; font-size: 7px; }
  .preview-kicker span { width: 18px; height: 2px; }
  .preview-frame { min-height: 152px; height: 152px; border-width: 3px; border-radius: 38% 38% 16px 16px; }
  .preview-caption { left: 12px; right: 12px; bottom: 8px; }
  .preview-caption small { font-size: 6px; }
  .preview-caption strong, .preview-caption b { font-size: 15px; }
  .detail-strip { left: auto; right: 16px; top: 9px; bottom: auto; grid-template-columns: 34px 34px; gap: 5px; z-index: 5; }
  .detail-strip img { width: 34px; height: 34px; border-width: 2px; }
  .detail-strip p { display: none; }
  .steps-panel { min-height: 390px; padding: 20px 16px 16px; align-items: flex-start; }
  .step-overline { margin-bottom: 7px; font-size: 8px; }
  .step h2 { font-size: 32px; }
  .step-lead { margin: 9px 0 12px; font-size: 11px; line-height: 1.4; }
  .choice-grid { gap: 7px; }
  .choice-card { min-height: 66px; grid-template-columns: 68px 1fr; border-width: 2px; border-radius: 16px; }
  .choice-card > img { width: 68px; min-height: 66px; }
  .choice-card > span { padding: 8px 10px; }
  .choice-card strong { font-size: 13px; }
  .choice-card small { font-size: 9px; }
  .choice-check { width: 22px; height: 22px; right: 7px; top: 7px; font-size: 11px; }
  .back-button { margin-bottom: 5px; font-size: 10px; }
  .order-summary { margin: 8px 0 9px; }
  .order-summary > div { padding: 7px 0; }
  .order-summary .summary-total { padding: 9px 0; }
  .summary-total strong { font-size: 21px; }
  .final-button { min-height: 48px; padding-left: 19px; font-size: 12px; }
  .final-button span { width: 32px; height: 32px; }
  .demo-note { margin-top: 7px; font-size: 8px; }
  .template-credit { padding: 7px 3px 0; flex-direction: row; gap: 4px; font-size: 6px; }
  .kuskuz-toast { left: 14px; right: 14px; bottom: 14px; max-width: none; display: none; transform: scale(.97); }
  .kuskuz-toast.show { display: flex; transform: scale(1); }
}

@media (max-width: 720px) and (max-height: 740px) {
  .kuskuz-nav { padding: 6px 0; }
  .brand-lockup img { width: 38px; height: 38px; }
  .brand-lockup strong { font-size: 15px; }
  .builder-screen { padding-top: 56px; }
  .product-preview { min-height: 155px; padding: 9px; }
  .preview-kicker { margin-bottom: 3px; font-size: 6px; }
  .preview-frame { min-height: 112px; height: 112px; }
  .detail-strip { right: 12px; top: 7px; grid-template-columns: 28px 28px; }
  .detail-strip img { width: 28px; height: 28px; }
  .steps-panel { min-height: 350px; padding: 14px 14px 12px; }
  .step h2 { font-size: 28px; }
  .step-lead { margin: 6px 0 9px; }
  .choice-card { min-height: 58px; grid-template-columns: 60px 1fr; }
  .choice-card > img { width: 60px; min-height: 58px; }
  .choice-card > span { padding: 6px 9px; }
  .order-summary > div { padding: 5px 0; }
  .order-summary .summary-total { padding: 6px 0; }
  .final-button { min-height: 43px; }
  .final-button span { width: 29px; height: 29px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .page-video { display: none; }
  .hero-screen { background: var(--plum) url("assets/media/leite-condensado.webp") right center/50% auto no-repeat; }
  .builder-screen { background: var(--plum); }
}
