@font-face { font-family: Outfit; src: url('assets/Outfit-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Outfit; src: url('assets/Outfit-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }

:root {
  --ink: #22272b;
  --text: #3b4247;
  --muted: #737a7f;
  --coral: #e2604b;
  --coral-dark: #c94c38;
  --coral-soft: #fde3da;
  --coral-light: #f19a84;
  --bg: #fcf4f0;
  --card: #fffaf8;
  --line: #efe4df;
  --amber-bg: #fdf0c2;
  --amber: #7d5800;
  --green-bg: #e2f3e5;
  --green: #2c7444;
  --wrap: min(1320px, 100vw - 96px);
  --shadow: 0 18px 42px rgb(120 70 55 / .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  overflow-x: clip;
  background: linear-gradient(180deg, #fdf6f2 0%, var(--bg) 60%, #fbf0eb 100%);
  color: var(--ink);
  font-family: Outfit, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--coral-dark); outline-offset: 4px; border-radius: 6px; }
img { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip-link { position: absolute; top: -60px; left: 12px; z-index: 50; background: #fff; padding: 12px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding: 15px 26px; border: 1px solid #d4543f; border-radius: 16px;
  background: linear-gradient(180deg, #ea7460, #df5b46);
  color: #fff; font-size: 19px; font-weight: 700; line-height: 1.2;
  box-shadow: 0 8px 18px rgb(223 92 71 / .25), inset 0 1px 0 rgb(255 255 255 / .25);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.button:hover { transform: translateY(-2px); filter: brightness(.96); box-shadow: 0 12px 24px rgb(223 92 71 / .3); }
.button .icon { width: 22px; height: 22px; }
.button-small { padding: 9px 19px; font-size: 16px; border-radius: 14px; }
.button-light { background: #fff; border-color: var(--line); color: var(--ink); box-shadow: 0 8px 20px rgb(120 70 55 / .1); }
.button-light .icon.whatsapp { width: 26px; height: 26px; }

/* Header */
.header { display: flex; align-items: center; gap: 32px; height: 70px; position: relative; z-index: 20; }
.brand { display: inline-flex; align-items: center; gap: 6px; font-size: 30px; font-weight: 700; letter-spacing: -.02em; }
.brand-hat { width: 40px; height: 40px; color: var(--coral); stroke-width: 2.1; }
.nav { display: flex; align-items: center; gap: 40px; margin-inline: auto; font-size: 14px; }
.nav-item { position: relative; }
.nav-trigger { display: inline-flex; align-items: center; gap: 7px; padding: 8px 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.nav-trigger .icon { width: 12px; height: 12px; transition: transform .2s ease; }
.nav-trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav-link, .nav-trigger { transition: color .2s ease; }
.nav-link:hover, .nav-trigger:hover { color: var(--coral-dark); }
.nav-menu {
  position: absolute; top: calc(100% + 6px); left: -14px; min-width: 210px; padding: 8px;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav-menu::before { content: ''; position: absolute; inset: -10px 0 auto; height: 10px; }
.nav-item:hover .nav-menu, .nav-item:focus-within .nav-menu, .nav-trigger[aria-expanded="true"] + .nav-menu { opacity: 1; visibility: visible; transform: none; }
.nav-menu a { display: block; padding: 9px 12px; border-radius: 9px; }
.nav-menu a:hover { background: var(--coral-soft); color: var(--coral-dark); }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); align-items: center; container-type: inline-size; }
.hero-copy { position: relative; z-index: 3; padding: 10px 0 18px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px 6px 14px; border-radius: 999px; background: #fbe2d9; font-size: 14.5px; }
.pill .icon { width: 17px; height: 17px; color: var(--coral); }
h1 { margin: 20px 0 34px; font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1.02; letter-spacing: -.035em; }
h1 .accent { position: relative; display: inline-block; color: #e7654f; }
.swoosh { position: absolute; right: -2%; bottom: -.32em; width: 56%; height: .24em; overflow: visible; fill: none; stroke: var(--coral); stroke-width: 4; stroke-linecap: round; }
.hero-copy p { max-width: 19em; margin-bottom: 34px; font-size: 17.5px; line-height: 1.27; color: var(--ink); }

.hero-visual {
  --dw: min(57cqi, 640px);
  position: relative;
  height: calc(var(--dw) * .804);
}
.hero-photo { position: absolute; top: 0; right: 0; width: calc(100% - var(--dw) * .25); height: 100%; object-fit: cover; object-position: 78% 30%; border-radius: 0 26px calc(var(--dw) * .07) 0; }
.blob { position: absolute; background: linear-gradient(160deg, #f19478, #ea7a63); }
.blob-top { left: calc(var(--dw) * .07); top: 0; width: calc(var(--dw) * .26); height: calc(var(--dw) * .55); border-radius: calc(var(--dw) * .16) 0 0 0; }
.blob-bottom { left: calc(var(--dw) * -.16); top: calc(var(--dw) * .45); width: calc(var(--dw) * .45); height: calc(var(--dw) * .354); border-radius: 55% 45% 0 0 / 75% 60% 0 0; }
.burst { position: absolute; overflow: visible; fill: none; stroke: var(--coral); stroke-width: 4; stroke-linecap: round; }
.burst-hero { left: calc(var(--dw) * -.035); top: calc(var(--dw) * .055); width: calc(var(--dw) * .1); }

/* Dashboard illustration: every size is in em so it scales with --dw. */
.dashboard {
  position: absolute; left: calc(var(--dw) * -.085); top: calc(var(--dw) * .12);
  width: var(--dw); height: calc(var(--dw) * .625);
  display: flex; overflow: hidden;
  font-size: calc(var(--dw) / 56); line-height: 1.25;
  background: #fbf8f6; border: .75em solid #f3eeec; border-radius: 2.4em;
  box-shadow: .35em .5em 0 #e2d6d1, 0 2.6em 5em rgb(80 45 35 / .3), inset 0 0 0 1px #fff;
  /* Tablet seen in perspective: the left edge recedes and the right edge comes forward. */
  transform: perspective(calc(var(--dw) * 2)) rotateY(-17deg) rotateX(5deg) rotateZ(-3deg);
  transform-origin: 45% 50%;
}
.dash-side { width: 20%; padding: 1.7em .9em; display: flex; flex-direction: column; gap: .35em; background: #303336; color: #e9e9e9; border-radius: 1.4em 0 0 1.4em; }
.dash-logo { display: flex; align-items: center; gap: .3em; margin: 0 0 1.4em .3em; color: #fff; font-size: 1.55em; font-weight: 700; letter-spacing: -.02em; }
.dash-logo .icon { color: var(--coral-light); width: 1.15em; height: 1.15em; }
.dash-link { display: flex; align-items: center; gap: .8em; padding: .75em .9em; border-radius: .6em; font-size: 1em; }
.dash-link .icon { width: 1.3em; height: 1.3em; }
.dash-link.is-active { background: linear-gradient(90deg, #ec7863, #e3644f); color: #fff; }
.dash-main { flex: 1; min-width: 0; padding: 1.9em 2em 1.6em; display: grid; grid-template-rows: auto auto 1fr; gap: 1.6em; }
.dash-head { display: flex; justify-content: space-between; align-items: flex-start; }
.dash-head strong { display: block; font-size: 1.85em; letter-spacing: -.02em; }
.dash-head span { display: block; margin-top: .3em; color: var(--text); font-size: 1.05em; }
.fake-select { display: inline-flex; align-items: center; gap: .6em; padding: .65em .9em; border: 1px solid #ece6e3; border-radius: .7em; background: #fff; font-size: 1.05em; box-shadow: 0 .3em .9em rgb(80 45 35 / .06); }
.fake-select .icon { width: 1.25em; height: 1.25em; }
.fake-select .icon:last-child { width: 1em; height: 1em; margin-left: .6em; }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3em; }
.stat { display: flex; flex-direction: column; gap: .6em; padding: 1.1em 1.2em 1em; border-radius: 1em; background: #fff; box-shadow: 0 .5em 1.4em rgb(80 45 35 / .07); }
.stat > span { font-size: 1em; }
.stat-row { display: flex; align-items: center; justify-content: space-between; min-height: 2.6em; }
.stat b { font-size: 2.3em; letter-spacing: -.02em; }
.stat .icon { width: 2.5em; height: 2.5em; color: var(--coral); }
.stat .trend { color: #31a35f; }
.stat .stat-bars { fill: var(--coral); stroke: none; }
.dash-charts { display: grid; grid-template-columns: 1.55fr 1fr; gap: 1.3em; min-height: 0; }
.chart-card { display: flex; flex-direction: column; min-height: 0; padding: 1.2em 1.2em 1em; border-radius: 1em; background: #fff; box-shadow: 0 .5em 1.4em rgb(80 45 35 / .07); font-size: 1em; }
.line-chart { flex: 1; width: 100%; min-height: 0; margin-top: .6em; }
.line-chart .area { fill: url(#area); }
.line-chart .line { fill: none; stroke: #ea7660; stroke-width: 2; vector-effect: non-scaling-stroke; }
.axis { display: flex; justify-content: space-between; margin-top: .5em; color: var(--text); font-size: .8em; }
.donut-wrap { flex: 1; display: flex; align-items: center; gap: 1.1em; }
.donut { width: 6.4em; height: 6.4em; flex: none; border-radius: 50%; background: conic-gradient(#e7654f 0 64%, #f19a84 64% 100%); -webkit-mask: radial-gradient(circle, transparent 50%, #000 51%); mask: radial-gradient(circle, transparent 50%, #000 51%); }
.legend { display: grid; gap: .8em; font-size: .95em; white-space: nowrap; }
.legend li { display: flex; align-items: center; gap: .6em; }
.legend li::before { content: ''; width: .7em; height: .7em; border-radius: 50%; background: #e7654f; }
.legend li:nth-child(2)::before { background: #f19a84; }

/* Benefits */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; }
.benefit { padding: 14px 20px 20px; border-radius: 22px; background: var(--card); box-shadow: 0 10px 30px rgb(150 90 70 / .06); }
.icon-tile { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: #fde0d6; color: var(--coral); }
.icon-tile .icon { width: 28px; height: 28px; }
.benefit h3 { margin: 16px 0 6px; font-size: 17px; letter-spacing: -.015em; white-space: nowrap; }
.benefit p { color: var(--text); font-size: 14px; line-height: 1.3; }

/* Feature sections */
.feature { display: grid; align-items: center; gap: 24px; }
.feature-pedidos { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); margin-top: 40px; }
.feature-pagos { grid-template-columns: minmax(0, 1fr) minmax(0, 310px); gap: 60px; margin-top: 25px; }
.feature-title { display: flex; align-items: center; gap: 16px; }
.icon-tile-lg { width: 50px; height: 50px; }
.feature-title h2 { font-size: 42px; letter-spacing: -.03em; line-height: 1; }
.feature-copy > p { margin: 18px 0 22px; font-size: 19.5px; line-height: 1.25; }
.checklist { display: grid; gap: 8px; font-size: 17px; }
.checklist li { display: flex; align-items: center; gap: 14px; }
.checklist .icon { width: 20px; height: 20px; color: var(--coral); stroke-width: 2.6; }

.feature-visual { position: relative; container-type: inline-size; }
.feature-photo { position: absolute; top: 0; height: 100%; object-fit: cover; border-radius: 26px; }
.panel { position: absolute; background: #fbf8f6; border: 1px solid #fff; border-radius: 1.8em; box-shadow: 0 2.2em 4.4em rgb(80 45 35 / .22); line-height: 1.25; }
.panel-head { display: flex; align-items: center; gap: .9em; }
.panel-head strong { font-size: 2em; letter-spacing: -.02em; }
.panel-head .icon-tile { width: 2.6em; height: 2.6em; border-radius: .7em; }
.panel-head .icon-tile .icon { width: 1.6em; height: 1.6em; }
.panel-head .fake-select { margin-left: auto; font-size: 1.25em; }

.pedidos-visual { aspect-ratio: 605 / 265; }
.pedidos-visual .feature-photo { right: 0; width: 58%; object-position: 62% 72%; }
.burst-pedidos { left: -2.5%; top: -4%; width: 7%; transform: rotate(-8deg); }
.orders-panel {
  left: 2%; top: 5%; width: 68%; height: 92%; padding: 1.5em 1.6em; font-size: 1.65cqi;
  display: flex; flex-direction: column; gap: 1.1em;
  box-shadow: .3em .45em 0 #e6dbd6, 0 2.2em 4.4em rgb(80 45 35 / .22);
  /* Top edge leans back and the bottom comes forward, as in the product mockup. */
  transform: perspective(140cqi) rotateX(14deg) rotateY(3deg) skewX(-2.5deg) rotateZ(-1.5deg);
  transform-origin: 50% 60%;
}
.tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9em; font-size: 1.05em; }
.tabs span { padding: .55em .5em; border-radius: .6em; background: #f1ecea; text-align: center; white-space: nowrap; }
.tabs .is-active { background: linear-gradient(90deg, #ec7863, #e3644f); color: #fff; }
.orders-table { display: grid; font-size: 1.15em; }
.orders-row { display: grid; grid-template-columns: .9fr 1.3fr 1.5fr .8fr; align-items: center; gap: .6em; padding: .55em .6em; border-bottom: 1px solid #efe8e5; }
.orders-row:last-child { border-bottom: 0; }
.orders-row > span:last-child { text-align: center; }
.orders-header { font-size: .85em; color: var(--text); padding-bottom: .6em; }
.channel { display: inline-flex; align-items: center; gap: .6em; font-weight: 700; }
.channel .icon { width: 1.4em; height: 1.4em; color: var(--coral); }
.orders-row:nth-child(3) .channel .icon { color: var(--ink); }
.badge { display: inline-block; padding: .35em .7em; border-radius: .45em; font-size: .85em; font-style: normal; white-space: nowrap; }
.badge-amber { background: var(--amber-bg); color: var(--amber); }
.badge-green { background: var(--green-bg); color: var(--green); }

.pagos-visual { aspect-ratio: 567 / 250; }
.pagos-visual .feature-photo { left: 0; width: 50%; object-position: 22% 82%; }
.burst-pagos { right: -3%; top: -3%; width: 7%; transform: scaleX(-1) rotate(-10deg); }
.payments-panel { left: 27%; right: 0; top: 8%; height: 88%; padding: 1.6em 1.6em 1.4em; font-size: 1.65cqi; transform: rotate(.6deg); display: flex; flex-direction: column; gap: 1.3em; }
.payments-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1.1fr; gap: 1.3em; }
.payments-chart { display: flex; flex-direction: column; padding: 1.2em; border-radius: 1em; background: #fff; box-shadow: 0 .5em 1.4em rgb(80 45 35 / .07); font-size: 1.15em; font-weight: 700; }
.bars { flex: 1; display: flex; align-items: flex-end; gap: .9em; margin-top: .8em; padding: 0 .6em; border-bottom: 1px solid #eee; background: repeating-linear-gradient(0deg, transparent 0 calc(25% - 1px), #f3eeec calc(25% - 1px) 25%); }
.bars i { flex: 1; border-radius: .25em .25em 0 0; background: linear-gradient(180deg, #ec7560, #fbd2c6); }
.bars i:nth-child(1) { height: 22%; } .bars i:nth-child(2) { height: 38%; } .bars i:nth-child(3) { height: 50%; }
.bars i:nth-child(4) { height: 62%; } .bars i:nth-child(5) { height: 74%; } .bars i:nth-child(6) { height: 98%; }
.methods { display: grid; gap: .8em; align-content: center; }
.methods li { display: flex; align-items: center; gap: 1em; padding: .9em 1em; border-radius: .9em; background: #fff; box-shadow: 0 .4em 1.2em rgb(80 45 35 / .06); }
.methods .icon { width: 1.8em; height: 1.8em; }
.methods div { flex: 1; display: grid; gap: .55em; font-size: .95em; }
.methods i { position: relative; height: .55em; border-radius: 1em; background: #f1ecea; overflow: hidden; }
.methods i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--value); border-radius: inherit; background: linear-gradient(90deg, #ec7863, #f19a84); }

/* Call to action */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  width: var(--wrap); margin: 27px auto 0; min-height: 218px;
  display: flex; align-items: center; padding: 28px 24px 28px calc(var(--wrap) * .37);
  border-radius: 26px; background: linear-gradient(100deg, #fbefe9 30%, #fbe6dd 100%);
}
.cta-photo { position: absolute; inset: 0 auto 0 0; z-index: -1; width: 38%; height: 100%; object-fit: cover; object-position: 8% 75%; -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent 98%); mask-image: linear-gradient(90deg, #000 55%, transparent 98%); }
.cta-blob { position: absolute; right: -70px; bottom: -90px; z-index: -1; width: 200px; height: 220px; border-radius: 50%; background: linear-gradient(160deg, #f19478, #ea7a63); }
.cta-copy { flex: 1; min-width: 0; }
.cta h2 { font-size: 31px; line-height: 1.08; letter-spacing: -.025em; }
.cta p { margin: 14px 0 18px; font-size: 16px; line-height: 1.3; color: var(--text); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 18px; }
.cta .button { padding: 11px 20px; font-size: 17px; }

/* Footer */
.footer { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0 28px; color: var(--muted); font-size: 14px; }
.footer a:hover { color: var(--coral-dark); }

/* Scroll reveal: the <head> script adds .motion only when motion is allowed; app.js marks sections .is-visible. */
.motion .reveal [data-reveal] {
  opacity: 0;
  transition: opacity .7s ease, transform .9s cubic-bezier(.2, .75, .25, 1);
  transition-delay: calc(var(--reveal-order, 0) * 120ms);
}
.motion .reveal [data-reveal="up"] { transform: translateY(36px); }
.motion .reveal [data-reveal="left"] { transform: translateX(-56px); }
.motion .reveal [data-reveal="right"] { transform: translateX(56px); }
.motion .reveal.is-visible [data-reveal] { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .nav { display: none; }
  .header { justify-content: space-between; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .feature-pedidos, .feature-pagos { grid-template-columns: 1fr; gap: 32px; margin-top: 56px; }
  .feature-pagos .feature-copy { order: -1; }
  .cta { padding: 32px 24px 32px calc(var(--wrap) * .33); }
}

@media (max-width: 720px) {
  :root { --wrap: calc(100vw - 36px); }
  .header { height: 64px; gap: 12px; }
  .brand { font-size: 24px; }
  .brand-hat { width: 32px; height: 32px; }
  .button-small { padding: 8px 13px; font-size: 14px; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding-top: 24px; }
  .hero-copy p { font-size: 17px; }
  .hero-visual { --dw: 92cqi; margin-top: 24px; margin-left: 0; }
  .benefits { grid-template-columns: 1fr; margin-top: 36px; }
  .feature-title h2 { font-size: 36px; }
  .feature-copy > p { font-size: 18px; }
  .pedidos-visual { aspect-ratio: 1 / .8; }
  .pagos-visual { aspect-ratio: 1 / .95; }
  .pedidos-visual .feature-photo { width: 70%; height: 62%; }
  .orders-panel { left: 0; top: 30%; width: 100%; height: auto; font-size: 2.7cqi; transform: rotate(-1.5deg); }
  .pagos-visual .feature-photo { width: 70%; height: 62%; }
  .payments-panel { left: 0; top: 30%; height: 68%; font-size: 2.7cqi; }
  .cta { display: block; padding: 0 20px 32px; }
  .cta-photo { position: relative; z-index: 0; width: calc(100% + 40px); height: 200px; margin: 0 -20px 24px; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }
  .cta h2 { font-size: 27px; }
  .cta h2 br, .cta p br { display: none; }
  .cta-actions { gap: 12px; }
  .footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .motion .reveal [data-reveal] { opacity: 1; transform: none; }
}
