/* Ficha PDV, site institucional (fichapdv.com.br).
   Brand tokens: navy #0B2140, green #0F7A3C, light green #22A05A, mint #7FD3A2.
   No gradients anywhere (brand rule). 3D is plain CSS; every loop stops under
   prefers-reduced-motion. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 500 800;
  font-display: swap;
}
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --navy: #0B2140;
  --green: #0F7A3C;
  --green-hover: #0B6B34;
  --green-light: #22A05A;
  --mint: #7FD3A2;
  --ground: #F3F6FA;
  --line: #D5DCE5;
  --muted: #4A5568;
  --muted-on-navy: #C9D3E0;
  --white: #FFFFFF;
  --radius: 24px;
  --wrap: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: var(--navy); }
a:hover { color: var(--green); }
:focus-visible { outline: 3px solid var(--green-light); outline-offset: 3px; border-radius: 6px; }

.d { font-family: "Bricolage Grotesque", system-ui, sans-serif; letter-spacing: -0.035em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.muted { color: var(--muted); }
.ico { width: 22px; height: 22px; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 16px; z-index: 10; }
.band { background: var(--ground); }
.section-title { margin: 0; font-size: clamp(36px, 4.2vw, 60px); line-height: 1.03; font-weight: 800; max-width: 20ch; }
.lead { margin: 20px 0 0; font-size: 19px; color: var(--muted); max-width: 52ch; }

/* Buttons and store badges */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 30px; border-radius: 999px;
  font-weight: 600; font-size: 17px; text-decoration: none; white-space: nowrap;
  background: var(--navy); color: var(--white); border: 2px solid var(--navy);
  transition: transform .2s cubic-bezier(.16, 1, .3, 1), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--green); border-color: var(--green); color: var(--white); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn--small { height: 44px; padding: 0 22px; font-size: 15px; }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.btn--green { background: var(--green-light); border-color: var(--green-light); color: #06121F; }
.btn--green:hover { background: #2FB56A; border-color: #2FB56A; color: #06121F; }
.btn--line { background: transparent; border-color: #5B7398; color: var(--white); }
.btn--line:hover { background: transparent; border-color: var(--white); color: var(--white); }
.store {
  display: inline-flex; align-items: center; gap: 12px; height: 52px; padding: 0 18px;
  border-radius: 14px; background: var(--navy); color: var(--white); text-decoration: none;
  transition: background-color .2s;
}
.store:hover { background: var(--green); color: var(--white); }
.store small { display: block; font-size: 12px; line-height: 1.1; color: var(--muted-on-navy); }
.store b { display: block; font-size: 16px; line-height: 1.2; }

/* Header */
.top { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.top nav { display: flex; align-items: center; gap: 28px; font-weight: 500; font-size: 16px; }
.top nav a:not(.btn) { text-decoration: none; white-space: nowrap; }
.top .logo img { height: 30px; width: auto; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding-top: 16px; padding-bottom: 40px; }
.hero__copy { flex: 1.15 1 560px; min-width: 0; }
.eyebrow { margin: 0 0 18px; display: inline-block; padding: 7px 14px; border-radius: 999px; background: #E6F4EC; color: var(--green); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(40px, 4.6vw, 66px); line-height: 1.02; font-weight: 800; max-width: 17ch; }
.hero__sub { margin: 24px 0 0; font-size: 19px; color: var(--muted); max-width: 54ch; }
.hero .actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.badges { margin: 30px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 12px 28px; font-size: 15px; font-weight: 500; }
.badges li { display: flex; align-items: center; gap: 10px; }
.badges .ico { color: var(--green); }
.hero__scene { flex: 1 1 500px; min-width: 0; height: 680px; display: flex; align-items: center; justify-content: center; }
.stage { perspective: 1600px; perspective-origin: 50% 30%; }

/* The terminal, shaped like a Sunmi P2: a slim body that thickens at the back
   towards the printer head on top, where the paper comes out. Built from thin
   stacked slices of its outline, so the side reads solid at any angle. */
.pos { position: relative; width: 250px; height: 520px; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.16, 1, .3, 1); }
.pos .face { position: absolute; }
.pos .fr { inset: 0; transform: translateZ(16px); background: #1E2836; border-radius: 34px 34px 46px 46px; padding: 12px 12px 0; display: flex; flex-direction: column; gap: 10px; }
.pos .head { position: relative; flex: none; height: 104px; border-radius: 24px 24px 50% 50% / 24px 24px 22px 22px; background: #2B384D; }
.pos .cutter { position: absolute; top: 14px; left: 30px; right: 30px; height: 8px; border-radius: 4px; background: #0A0F16; }
.pos .seam { position: absolute; left: 22px; right: 22px; bottom: 16px; height: 2px; border-radius: 1px; background: #3A4862; }
.pos .screen { position: relative; flex: 1; border-radius: 14px; overflow: hidden; background: var(--navy); }
.pos .screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.pos .chin { flex: none; height: 40px; display: flex; align-items: center; justify-content: center; }
.pos .spk { width: 46px; height: 5px; border-radius: 3px; background: #121A25; }
.pos .sl { position: absolute; left: 0; top: 0; width: 250px; height: 520px; border-radius: 34px 34px 46px 46px; background: #18212E; }
.pos .sl.bk { border-radius: 34px 34px 44px 44px; background: #141B26; }
.pos .s1 { transform: translateZ(12px); }
.pos .s2 { transform: translateZ(8px); }
.pos .s3 { transform: translateZ(4px); }
.pos .s4 { transform: translateZ(0px); }
.pos .s5 { transform: translateZ(-4px); }
.pos .s6 { transform: translateZ(-8px); }
.pos .s7 { transform: translateZ(-12px); }
.pos .s8 { transform: translateZ(-16px); }
.pos .b1 { height: 340px; transform: translateZ(-20px); }
.pos .b2 { height: 322px; transform: translateZ(-24px); }
.pos .b3 { height: 304px; transform: translateZ(-28px); }
.pos .b4 { height: 285px; transform: translateZ(-32px); }
.pos .b5 { height: 267px; transform: translateZ(-36px); }
.pos .b6 { height: 249px; transform: translateZ(-40px); }
.pos .b7 { height: 231px; transform: translateZ(-44px); }
.pos .b8 { height: 213px; transform: translateZ(-48px); }
.pos .b9 { height: 195px; transform: translateZ(-52px); }
.pos .b10 { height: 176px; transform: translateZ(-56px); }
.pos .b11 { height: 158px; transform: translateZ(-60px); }
.pos .b12 { height: 140px; transform: translateZ(-64px); }

/* Hero scene: card taps, the sale is registered, the ficha prints */
.tap { position: relative; width: 540px; height: 660px; transform-style: preserve-3d; transform: rotateX(8deg) rotateY(-16deg); }
.tap .pos { position: absolute; left: 135px; top: 110px; }
.tap .s-charge { opacity: 0; }
.tap .s-sold { opacity: 1; }
.paperwrap { position: absolute; left: 36px; top: -180px; width: 178px; height: 194px; overflow: hidden; transform: translateZ(8px); }
.paper {
  position: absolute; left: 0; bottom: 0; width: 178px; height: 180px; padding: 22px 16px 16px;
  background: var(--white); color: var(--navy); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px; font-size: 12px; line-height: 1.35;
  clip-path: polygon(0 8px, 5% 0, 10% 8px, 15% 0, 20% 8px, 25% 0, 30% 8px, 35% 0, 40% 8px, 45% 0, 50% 8px, 55% 0, 60% 8px, 65% 0, 70% 8px, 75% 0, 80% 8px, 85% 0, 90% 8px, 95% 0, 100% 8px, 100% 100%, 0 100%);
}
.paper .where { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.paper .where img { height: 14px; width: auto; }
.paper .item { font-size: 21px; font-weight: 800; line-height: 1.05; margin-top: 6px; white-space: nowrap; }
.paper .cut { border-top: 2px dashed var(--navy); margin: 8px 0 4px; }
.paper .total { display: flex; justify-content: space-between; font-weight: 600; }
.card {
  position: absolute; left: 0; top: 0; width: 200px; height: 126px; padding: 16px 18px; border-radius: 14px;
  background: var(--green); color: var(--white);
  display: flex; flex-direction: column; justify-content: space-between;
  transform: translate3d(340px, 330px, 70px) rotateY(-24deg) rotateX(14deg);
}
.card .row { display: flex; justify-content: space-between; align-items: center; }
.card .chip { width: 34px; height: 26px; border-radius: 6px; background: var(--line); }
.card .num { font-size: 15px; letter-spacing: .12em; }
.ring { position: absolute; left: 210px; top: 100px; width: 100px; height: 100px; border-radius: 50%; border: 3px solid var(--green-light); opacity: 0; transform: translateZ(40px); }
.floor { position: absolute; left: 110px; top: 620px; width: 320px; height: 40px; border-radius: 50%; background: rgba(11, 33, 64, .16); filter: blur(20px); transform: translateZ(-30px); }

/* Compatibility strip, right below the hero */
.compat { border-top: 1px solid #E4E9F0; border-bottom: 1px solid #E4E9F0; background: var(--ground); }
.compat__row { padding-top: 22px; padding-bottom: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.compat p { margin: 0; font-size: 15px; color: var(--muted); }
.compat ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 16px; font-weight: 600; }
.compat li { display: flex; align-items: center; gap: 9px; }
.compat li img { width: 20px; height: 20px; }

/* Operations carousel: big photos of real event settings */
.ops { padding-block: 104px 96px; }
.ops__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.ops__nav { display: flex; gap: 10px; }
.ops__nav button {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color .2s, color .2s;
}
.ops__nav button:hover { background: var(--navy); color: var(--white); }
.ops__nav svg { width: 22px; height: 22px; }
.ops__track {
  margin-top: 40px; display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 28px;
}
.ops__track::-webkit-scrollbar { display: none; }
.slide { position: relative; scroll-snap-align: start; border-radius: 28px; overflow: hidden; min-height: 560px; display: flex; align-items: flex-end; background: var(--navy); }
.slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide__panel { position: relative; margin: 28px; max-width: 620px; padding: 30px 32px; border-radius: 22px; background: rgba(11, 33, 64, .9); color: var(--white); }
.slide__tag { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--green-light); color: #06121F; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.slide h3 { margin: 14px 0 0; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.08; font-weight: 800; }
.slide p { margin: 12px 0 0; font-size: 17px; line-height: 1.55; color: var(--muted-on-navy); }
.slide ul { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.slide li { padding: 7px 12px; border-radius: 10px; background: #12305A; font-size: 14px; font-weight: 600; }
.ops__dots { margin-top: 20px; display: flex; justify-content: center; gap: 8px; }
.ops__dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: var(--line); cursor: pointer; transition: width .25s, background-color .25s; }
.ops__dots button[aria-current="true"] { width: 28px; border-radius: 5px; background: var(--green); }

/* How it works: three real screens, staggered */
.como { padding-block: 112px 104px; }
.steps { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; align-items: start; }
.step { margin: 0; }
.step img { width: 100%; height: auto; max-width: 340px; aspect-ratio: 1 / 1.25; object-fit: cover; object-position: top; border-radius: var(--radius); border: 1px solid var(--line); }
.step--2 { margin-top: 72px; }
.step--3 { margin-top: 144px; }
.step figcaption { margin-top: 22px; }
.step figcaption .d { display: block; font-size: 25px; font-weight: 700; }
.step figcaption span + span { display: block; margin-top: 8px; font-size: 17px; color: var(--muted); max-width: 34ch; }

/* One ficha per item: a row of printed fichas */
.fichas { padding: 104px 0 96px; }
.fichas .wrap { display: flex; flex-direction: column; align-items: center; gap: 56px; }
.fichas .section-title { text-align: center; }
.fichas p { margin: 0; font-size: 19px; color: var(--muted); text-align: center; max-width: 52ch; }
.fanstage { width: 100%; display: flex; justify-content: center; overflow: hidden; padding: 12px 0; }
.fan { position: relative; flex: none; width: 900px; height: 360px; transform-style: preserve-3d; transform: rotateX(24deg); }
.fc {
  position: absolute; left: 360px; bottom: 30px; width: 180px; height: 270px; padding: 20px 18px;
  border-radius: 8px; background: var(--white); border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: space-between; transform-origin: 50% 100%;
}
.fc .top-line { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); }
.fc .top-line img { height: 13px; width: auto; }
.fc .name { font-size: 26px; font-weight: 800; line-height: 1.05; }
.fc .cut { border-top: 2px dashed var(--navy); }
.fc .count { font-size: 13px; color: var(--muted); }
.fc--hi { background: var(--green); border-color: var(--green); color: var(--white); }
.fc--hi .top-line, .fc--hi .count { color: #DDF3E5; }
.fc--hi .cut { border-color: var(--white); }
/* A fan: each ficha turns around a point below the row and opens to the side.
   The values live in custom properties so the scroll reveal (fanopen) and the
   resting state share them. Wide enough apart that every name stays readable. */
.fc { transform: translate(var(--x), var(--y)) rotateZ(var(--a)) translateZ(var(--z)); }
.fc:nth-child(1) { --x: -300px; --y: 40px; --a: -16deg; --z: 0px; }
.fc:nth-child(2) { --x: -152px; --y: 10px; --a: -8deg; --z: 6px; }
.fc:nth-child(3) { --x: 0px; --y: 0px; --a: 0deg; --z: 12px; }
.fc:nth-child(4) { --x: 152px; --y: 10px; --a: 8deg; --z: 6px; }
.fc:nth-child(5) { --x: 300px; --y: 40px; --a: 16deg; --z: 0px; }

/* Stock: copy plus the menu with balances */
.estoque { padding-block: 112px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.checks { margin: 32px 0 0; padding: 0; list-style: none; display: grid; gap: 18px; font-size: 17px; line-height: 1.45; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--green); }
.checks li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 8px; height: 4px; border-left: 2px solid var(--white); border-bottom: 2px solid var(--white); transform: rotate(-45deg); }
.checks b { font-weight: 600; }
.checks span { color: var(--muted); }
.estoque__visual { margin: 0; }
.estoque__visual figcaption { margin-top: 14px; text-align: center; font-size: 14px; color: var(--muted); }
.sheetstage { display: flex; justify-content: center; }
.sheetscene { position: relative; width: 470px; height: 440px; transform-style: preserve-3d; transform: rotateX(12deg) rotateY(-12deg); }
.mini {
  position: absolute; left: 0; top: 36px; width: 168px; height: 236px; padding: 18px 16px; border-radius: 8px;
  background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between;
  transform: rotateZ(-7deg) translateZ(40px); font-size: 12px;
}
.mini .where { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); }
.mini .where img { height: 13px; width: auto; }
.mini__name { font-size: 24px; font-weight: 800; line-height: 1.05; }
.mini .cut { border-top: 2px dashed var(--navy); }
.sheet { position: absolute; right: 0; top: 0; width: 330px; padding: 26px 26px 22px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); }
.sheet__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; }
.sheet__head .d { font-size: 22px; font-weight: 700; }
.sheet__stock { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 15px; }
.sheet__stock li { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--ground); }
.sheet__stock b { font-weight: 600; font-variant-numeric: tabular-nums; }
.sheet__stock .is-low { background: #FDF0E6; }
.sheet__stock .is-low span { margin-right: auto; }
.sheet__stock em { font-style: normal; font-size: 12px; font-weight: 600; color: #9A4A0B; }
.sheet__note { margin: 16px 0 0; font-size: 14px; color: var(--muted); }

/* Devices: three cards with equal weight */
.aparelhos { padding: 112px 0; }
.devgrid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.devcard { border-radius: 28px; background: var(--white); border: 1px solid var(--line); padding: 0 30px 32px; display: flex; flex-direction: column; }
.devcard__visual { height: 400px; margin: 0 -30px 26px; border-radius: 28px 28px 0 0; background: #E9EEF5; display: flex; align-items: center; justify-content: center; gap: 16px; overflow: hidden; }
.devcard h3 { margin: 0; font-size: 26px; font-weight: 800; }
.devcard p { margin: 10px 0 0; font-size: 17px; color: var(--muted); }
.devcard__stores { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.devcard__visual .pos { zoom: .64; transform: rotateY(-18deg) rotateX(8deg); }
.dev--duo .ph { zoom: .62; }
.ph { position: relative; width: 220px; height: 450px; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.16, 1, .3, 1); }
.ph .layer { position: absolute; inset: 0; border-radius: 40px; background: #2A3446; }
.ph .layer:nth-child(1) { transform: translateZ(-6px); }
.ph .layer:nth-child(2) { transform: translateZ(-3px); }
.ph .layer:nth-child(4) { transform: translateZ(3px); }
.ph .body { position: absolute; inset: 0; border-radius: 40px; background: #0E141C; padding: 10px; transform: translateZ(6px); }
.ph .scr { position: relative; width: 100%; height: 100%; border-radius: 31px; overflow: hidden; background: var(--navy); }
.ph .scr img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ph .island { position: absolute; top: 10px; left: 50%; width: 66px; height: 19px; margin-left: -33px; border-radius: 10px; background: #0E141C; }
.ph .hole { position: absolute; top: 11px; left: 50%; width: 13px; height: 13px; margin-left: -6.5px; border-radius: 50%; background: #0E141C; }
.ph--android .layer, .ph--android .body { border-radius: 26px; }
.ph--android .scr { border-radius: 18px; }
.ph--ios { transform: rotateY(22deg) rotateX(6deg); }
.ph--android { transform: rotateY(-22deg) rotateX(6deg); }
.devcard:hover .ph, .devcard:hover .pos { transform: rotateY(0deg) rotateX(0deg); }
.kiosk { width: 88%; aspect-ratio: 16 / 10; border-radius: 22px; background: #0E141C; padding: 12px; transform: rotateX(10deg) rotateY(-12deg); }
.kiosk img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }

/* Cash control: navy band with four guarantees */
.caixa { background: var(--navy); color: var(--white); padding: 112px 0; }
.caixa__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 64px; align-items: start; }
.caixa__items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 40px; }
.caixa .item .ico { width: 30px; height: 30px; color: var(--mint); }
.caixa .item h3 { margin: 16px 0 0; font-size: 23px; font-weight: 700; }
.caixa .item p { margin: 8px 0 0; font-size: 16px; color: var(--muted-on-navy); }

/* Credits */
.plans { padding: 112px 0; }
.rules { margin-top: 40px; padding: 30px 34px; border-radius: 24px; background: var(--white); border: 2px solid var(--green); }
.rules h3 { margin: 0; font-size: 22px; font-weight: 800; }
.rules ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; font-size: 17px; }
.rules li { position: relative; padding-left: 22px; color: var(--muted); }
.rules li::before { content: ""; position: absolute; left: 0; top: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.rules b { color: var(--navy); font-weight: 600; }
.tickets { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.ticket { position: relative; flex: 1 1 280px; min-width: 0; border-radius: 22px; padding: 34px 34px 30px; display: flex; flex-direction: column; gap: 8px; background: var(--white); }
.ticket::before, .ticket::after { content: ""; position: absolute; top: 58%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; background: var(--ground); }
.ticket::before { left: -16px; }
.ticket::after { right: -16px; }
.ticket .kind { font-size: 17px; font-weight: 600; }
.ticket .price { font-size: 54px; font-weight: 800; line-height: 1; }
.ticket .per { font-size: 16px; color: var(--muted); }
.ticket .valid { align-self: flex-start; margin-top: 6px; padding: 5px 11px; border-radius: 999px; background: #E6F4EC; color: var(--green); font-size: 14px; font-weight: 600; }
.ticket .cut { margin-top: 18px; border-top: 2px dashed var(--line); }
.ticket .note { font-size: 15px; color: var(--muted); }
.ticket--main { flex: 1.3 1 380px; background: var(--navy); color: var(--white); }
.ticket--main .kind { color: var(--mint); }
.ticket--main .price { font-size: 76px; }
.ticket--main .per, .ticket--main .note { color: var(--muted-on-navy); }
.ticket--main .valid { background: #12305A; color: var(--mint); }
.ticket--main .cut { border-color: #2A4A78; }

/* Simulator: credits only, no percentage on sales */
.calc { background: var(--navy); color: var(--white); }
.calc__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.calc__form { margin: 0; padding: 96px 52px 88px 0; display: flex; flex-direction: column; gap: 30px; border-right: 1px solid #1C3A63; }
.calc__form h2 { margin: 0; font-size: clamp(34px, 3.4vw, 48px); line-height: 1.04; font-weight: 800; }
.calc__form p { margin: 12px 0 0; font-size: 17px; color: var(--muted-on-navy); max-width: 42ch; }
.calc__plans { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 8px; }
.calc__plans legend { padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 600; color: var(--muted-on-navy); }
.plan { position: relative; display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 0 18px; border-radius: 14px; border: 1.5px solid #1C3A63; cursor: pointer; transition: background-color .2s, border-color .2s; }
.plan input { position: absolute; opacity: 0; pointer-events: none; }
.plan__dot { flex: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #5B7398; }
.plan__name { font-size: 16px; font-weight: 600; }
.plan__detail { font-size: 13px; color: var(--muted-on-navy); }
.plan__price { margin-left: auto; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.plan:has(input:checked) { background: #12305A; border-color: var(--mint); }
.plan input:checked ~ .plan__dot { border-color: var(--mint); background: var(--mint); }
.plan:has(input:focus-visible) { outline: 3px solid var(--mint); outline-offset: 2px; }
.calc__field { display: flex; flex-direction: column; gap: 12px; }
.calc__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.calc__row label { font-size: 14px; font-weight: 600; color: var(--muted-on-navy); }
.calc__row output { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc__range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; margin: 0; border-radius: 3px; background: #1C3A63; outline: none; }
.calc__range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--mint); border: 5px solid var(--navy); box-shadow: 0 0 0 2px var(--mint); cursor: pointer; }
.calc__range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--mint); border: 5px solid var(--navy); cursor: pointer; }
.calc__range:focus-visible { box-shadow: 0 0 0 3px var(--green-light); }
.calc__result { padding: 96px 0 88px 52px; display: flex; flex-direction: column; gap: 14px; }
.calc__label { font-size: 15px; font-weight: 600; color: var(--mint); }
.calc__cost { font-size: clamp(56px, 7vw, 96px); font-weight: 800; letter-spacing: -0.05em; line-height: .95; font-variant-numeric: tabular-nums; }
.calc__detail { font-size: 15px; color: var(--muted-on-navy); }
.calc__cards { margin-top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.calc__card { padding: 22px; border-radius: 20px; background: #12305A; display: flex; flex-direction: column; gap: 6px; }
.calc__card span { font-size: 13px; color: var(--muted-on-navy); }
.calc__card b { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.calc__card--green { background: var(--green); }
.calc__card--green span { color: #DDF3E5; }
.calc__tickets { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.calc__tickets > span { font-size: 13px; color: var(--muted-on-navy); }
#calc-tickets { display: flex; flex-wrap: wrap; gap: 6px; }
#calc-tickets i { width: 30px; height: 40px; border-radius: 4px; background: var(--white); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 5px; }
#calc-tickets i::after { content: ""; width: 18px; border-top: 2px dashed var(--navy); }
.calc__actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.calc__note { font-size: 12px; color: var(--muted-on-navy); }

/* FAQ */
.faq { padding-block: 112px; }
.faq__list { margin-top: 40px; max-width: 900px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-size: 20px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--ground); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 500; color: var(--navy); transition: transform .25s cubic-bezier(.16, 1, .3, 1); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -6px 0 0; padding: 0 0 26px; font-size: 17px; color: var(--muted); max-width: 70ch; }

/* Footer: one navy block with the last call, the columns and the brand */
.btn--green { background: var(--green-light); color: #06121F; }
.btn--green:hover { background: #2FB56A; color: #06121F; }
.site-foot { background: var(--navy); color: var(--muted-on-navy); overflow: hidden; }
.foot-cta { padding-top: 104px; padding-bottom: 72px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 40px; border-bottom: 1px solid #1C3A63; }
.foot-cta h2 { margin: 0; font-size: clamp(34px, 4vw, 58px); line-height: 1.02; font-weight: 800; color: var(--white); max-width: 18ch; }
.foot-cta p { margin: 22px 0 0; font-size: 19px; line-height: 1.55; max-width: 46ch; }
.foot-cta__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.foot-cta__mail { color: var(--white); font-size: 19px; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--green-light); padding-bottom: 3px; }
.foot-cta__mail:hover { color: #7FD3A2; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 48px; padding-top: 64px; padding-bottom: 24px; }
.foot-brand img { height: 30px; width: auto; }
.foot-brand p { margin: 20px 0 0; font-size: 16px; line-height: 1.6; max-width: 32ch; }
.foot-stores { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; font-size: 16px; }
.foot-col h2 { margin: 0 0 6px; font-family: "Bricolage Grotesque", system-ui, sans-serif; letter-spacing: -0.02em; font-size: 17px; font-weight: 700; color: var(--white); }
.foot-col a { color: var(--muted-on-navy); text-decoration: none; }
.foot-col a:hover { color: #7FD3A2; }
.store--foot { height: 48px; padding: 0 16px; border-radius: 12px; background: #12305A; color: var(--white); }
.store--foot:hover { background: var(--green); color: var(--white); }
.store--foot b { font-size: 15px; }
.foot-mark { margin-top: 24px; line-height: .8; white-space: nowrap; text-align: center; user-select: none; }
.foot-mark span { display: inline-block; font-size: clamp(88px, 17.5vw, 260px); font-weight: 800; letter-spacing: -0.05em; color: #10294C; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; padding-bottom: 30px; border-top: 1px solid #1C3A63; font-size: 14px; }

/* Motion, only for those who did not ask the system to reduce it */
@media (prefers-reduced-motion: no-preference) {
  .tap.anim .card { animation: tapcard 7s cubic-bezier(.16, 1, .3, 1) infinite; }
  .tap.anim .ring { animation: ring 7s ease-out infinite; }
  .tap.anim .ring--2 { animation-delay: .22s; }
  .tap.anim .ring--3 { animation-delay: .44s; }
  .tap.anim .s-charge { animation: showcharge 7s steps(1, end) infinite; }
  .tap.anim .s-sold { animation: showsold 7s steps(1, end) infinite; }
  .tap.anim .paper { animation: print 7s cubic-bezier(.16, 1, .3, 1) infinite; }
  .ops__track { scroll-behavior: smooth; }
  .rise { animation: rise .9s cubic-bezier(.16, 1, .3, 1) both; }
  .rise--2 { animation-delay: .12s; }
  .rise--3 { animation-delay: .24s; }
  @supports (animation-timeline: view()) {
    .fan .fc { animation: fanopen cubic-bezier(.2, .8, .2, 1) both; animation-timeline: view(); animation-range: entry 10% cover 45%; }
  }
}
@keyframes tapcard {
  0% { opacity: 0; transform: translate3d(420px, 170px, 220px) rotateY(-38deg) rotateX(18deg); }
  8% { opacity: 1; }
  30%, 44% { opacity: 1; transform: translate3d(118px, 92px, 100px) rotateY(-6deg) rotateX(52deg); }
  58% { opacity: 0; transform: translate3d(430px, 160px, 230px) rotateY(-34deg) rotateX(20deg); }
  100% { opacity: 0; transform: translate3d(420px, 170px, 220px) rotateY(-38deg) rotateX(18deg); }
}
@keyframes ring {
  0%, 30% { opacity: 0; transform: translateZ(40px) scale(.4); }
  34% { opacity: .9; transform: translateZ(40px) scale(.6); }
  52%, 100% { opacity: 0; transform: translateZ(40px) scale(1.7); }
}
@keyframes showcharge { 0% { opacity: 1; } 46%, 100% { opacity: 0; } }
@keyframes showsold { 0% { opacity: 0; } 46%, 100% { opacity: 1; } }
@keyframes print {
  0%, 50% { transform: translateY(100%); }
  70%, 90% { transform: translateY(0); opacity: 1; }
  97% { transform: translateY(-18px) rotate(-6deg); opacity: 0; }
  100% { transform: translateY(100%); opacity: 0; }
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fanopen { from { transform: translate(0, 0) rotateZ(0deg) translateZ(var(--z)); } to { transform: translate(var(--x), var(--y)) rotateZ(var(--a)) translateZ(var(--z)); } }

/* Narrower screens */
@media (max-width: 1180px) {
  .top nav a:not(.btn) { display: none; }
}
@media (max-width: 1024px) {
  .estoque, .caixa__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .calc__form { padding-right: 32px; }
  .calc__result { padding-left: 32px; }
  .devgrid { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .hero { gap: 0; padding-bottom: 16px; }
  .badges { grid-template-columns: minmax(0, 1fr); }
  .hero__scene { height: 440px; overflow: hidden; }
  .tap { zoom: .6; }
  .ops, .como, .fichas, .estoque, .aparelhos, .caixa, .plans, .faq { padding-top: 72px; padding-bottom: 72px; }
  .slide { min-height: 620px; }
  .slide__panel { margin: 12px; padding: 22px 20px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .step--2, .step--3 { margin-top: 0; }
  .fan { zoom: .42; }
  .sheetscene { zoom: .72; }
  .caixa__items, .rules ul { grid-template-columns: minmax(0, 1fr); }
  .calc__grid { grid-template-columns: minmax(0, 1fr); }
  .calc__form { padding: 64px 0 40px; border-right: 0; border-bottom: 1px solid #1C3A63; }
  .calc__result { padding: 40px 0 64px; }
  .calc__card b { font-size: 24px; }
  .faq summary { font-size: 18px; }
  .foot-cta { padding-top: 72px; padding-bottom: 48px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px 24px; padding-top: 48px; }
  .foot-brand { grid-column: 1 / -1; }
}
