/*
 * Confido — landing page da maquininha com gestão empresarial.
 *
 * Cores, fontes e o gradiente "Dusk" seguem o manual da marca, os mesmos do
 * painel (confido_front: src/assets/main.css e tailwind.config.js). A página
 * tem um tema só: escuro no topo, no bloco de lojas e no pedido; claro no resto.
 */

:root {
  color-scheme: light;

  --ink-950: #121216;
  --ink-900: #1e1e24;
  --ink-800: #2c2d35;
  --ink-700: #40424d;
  --ink-600: #585a68;
  --ink-500: #6e7180;
  --ink-400: #848898;
  --ink-300: #bcbfcc;
  --ink-200: #d3d6e0;
  --ink-150: #e0e2ea;
  --ink-100: #edeff7;
  --ink-75: #f0f1f5;
  --ink-50: #f7f7f6;

  --brand-50: #fdf0f3;
  --brand-100: #fbe1e7;
  --brand-200: #f6c4d0;
  --brand-300: #ef98ae;
  --brand-400: #e46484;
  --brand-500: #d8385d;
  --brand-600: #bf364a;
  --brand-700: #9e2842;
  --brand-900: #650845;
  --peach: #e4966a;

  --pos-50: #f1faf4;
  --pos-100: #dcf2e3;
  --pos-500: #1f9d55;
  --pos-600: #187f44;
  --warn-50: #fef8ec;
  --warn-500: #c1830f;
  --warn-600: #996b0c;
  --neg-50: #fdf2f2;
  --neg-500: #cf3030;
  --neg-600: #a92424;

  --dusk: linear-gradient(135deg, #650845 0%, #bf364a 42%, #da4b5d 68%, #e4966a 100%);
  --dusk-text: linear-gradient(90deg, #e46484 0%, #e4966a 100%);

  --night: #121216;
  --night-2: #1b1b21;

  --shadow-card: 0 1px 2px rgb(18 18 22 / 0.04), 0 1px 1px rgb(18 18 22 / 0.03);
  --shadow-pop: 0 24px 60px -24px rgb(18 18 22 / 0.28), 0 8px 20px -10px rgb(18 18 22 / 0.14);

  --header-h: 72px;
  --font: 'Satoshi', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ------------------------------------------------------------------ */
/* Base                                                                */
/* ------------------------------------------------------------------ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink-900);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

[hidden] {
  display: none !important;
}

::selection {
  background: rgb(246 196 208 / 0.75);
  color: var(--ink-900);
}

:focus-visible {
  outline: 2px solid var(--brand-500);
  outline-offset: 2px;
}

.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.i {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo {
  height: 26px;
  width: auto;
  aspect-ratio: 154 / 30.148;
  color: #fff;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: #fff;
  color: var(--ink-900);
  font-weight: 600;
  transform: translateY(-200%);
}

.skip:focus {
  transform: none;
}

.text-dusk {
  background: var(--dusk-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ------------------------------------------------------------------ */
/* Botões                                                              */
/* ------------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn .i {
  width: 18px;
  height: 18px;
}

.btn--primary {
  background: var(--brand-600);
  color: #fff;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.18), 0 8px 20px -10px rgb(191 54 74 / 0.7);
}

.btn--primary:hover {
  background: var(--brand-700);
}

.btn--primary:active {
  transform: translateY(1px);
}

.btn--secondary {
  background: #fff;
  border-color: var(--ink-200);
  color: var(--ink-900);
}

.btn--secondary:hover {
  border-color: var(--brand-600);
  color: var(--brand-700);
}

.btn--outline {
  background: #fff;
  border-color: var(--ink-200);
  color: var(--ink-900);
}

.btn--outline:hover {
  border-color: var(--ink-900);
}

.btn--sm {
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 14.5px;
}

.btn--lg {
  height: 56px;
  padding: 0 26px;
  border-radius: 14px;
  font-size: 16.5px;
}

.btn--block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.7;
  cursor: progress;
}

/* ------------------------------------------------------------------ */
/* Cabeçalho                                                           */
/* ------------------------------------------------------------------ */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgb(18 18 22 / 0.78);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgb(255 255 255 / 0.06);
  color: #fff;
  transition: background-color 0.25s;
}

.header.is-scrolled {
  background: rgb(18 18 22 / 0.94);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
}

.header__logo {
  display: flex;
  border-radius: 6px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 100%;
}

.nav__item {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.nav {
  height: 100%;
  margin-right: auto;
}

.nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: rgb(255 255 255 / 0.78);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.nav__trigger:hover,
.nav__item.is-open > .nav__trigger,
.nav__item.is-current > .nav__trigger {
  color: #fff;
}

.nav__trigger:hover,
.nav__item.is-open > .nav__trigger {
  background: rgb(255 255 255 / 0.07);
}

.nav__trigger .i {
  width: 16px;
  height: 16px;
  opacity: 0.7;
  transition: transform 0.2s;
}

.nav__item.is-open > .nav__trigger .i {
  transform: rotate(180deg);
}

.nav__mobile-actions {
  display: none;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header__login {
  font-size: 15px;
  font-weight: 600;
  color: rgb(255 255 255 / 0.85);
}

.header__login:hover {
  color: #fff;
}

.header__toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.header__toggle .i {
  width: 24px;
  height: 24px;
}

/* The panel sits back-left with its figures in view; the machine stands in
   front at the right, covering only the panel's last bars. */
.dash {
  position: absolute;
  top: 64px;
  left: 0;
  width: 350px;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  color: var(--ink-900);
  box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.65), 0 0 0 1px rgb(255 255 255 / 0.08);
  animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.1s backwards;
}

.dash__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 16px;
  border-bottom: 1px solid var(--ink-100);
  background: var(--ink-50);
}

.dash__bar span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--ink-200);
}

.dash__bar b {
  margin-left: 10px;
  color: var(--ink-500);
  font-size: 12.5px;
  font-weight: 600;
}

.dash__body {
  padding: 20px 22px 22px;
}

.dash__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.dash__label {
  color: var(--ink-500);
  font-size: 12.5px;
  font-weight: 500;
}

.dash__value {
  margin-top: 4px;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.1;
}

.delta {
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--pos-50);
  color: var(--pos-600);
  font-size: 12.5px;
  font-weight: 700;
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 128px;
  margin: 20px 0 18px;
  padding-bottom: 1px;
  border-bottom: 1px solid var(--ink-100);
}

.bars span {
  flex: 1;
  height: var(--h);
  border-radius: 5px 5px 2px 2px;
  background: var(--brand-200);
  transform-origin: bottom;
  animation: grow 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.35s backwards;
}

.bars span:nth-child(n + 9) {
  background: linear-gradient(180deg, #da4b5d, #bf364a);
}

.bars span:nth-child(2n) {
  animation-delay: 0.42s;
}

.bars span:nth-child(3n) {
  animation-delay: 0.5s;
}

.dash__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.dash__stats div {
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--ink-50);
}

.dash__stats span {
  display: block;
  color: var(--ink-500);
  font-size: 11.5px;
}

.dash__stats b {
  display: block;
  margin-top: 2px;
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
}

.toast__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand-50);
  color: var(--brand-600);
}

.toast__icon--pos {
  background: var(--pos-50);
  color: var(--pos-600);
}

.toast__icon .i {
  width: 18px;
  height: 18px;
}

/* ------------------------------------------------------------------ */
/* Seções                                                              */
/* ------------------------------------------------------------------ */

.section {
  padding: 112px 0;
}

.section--tint {
  background: var(--ink-50);
}

.section--dark {
  background:
    radial-gradient(700px 460px at 100% 0%, rgb(191 54 74 / 0.22), transparent 62%),
    var(--night);
  color: #fff;
}

.section--cta {
  background:
    radial-gradient(820px 520px at 0% 0%, rgb(191 54 74 / 0.42), transparent 62%),
    radial-gradient(720px 520px at 100% 100%, rgb(228 150 106 / 0.2), transparent 62%),
    radial-gradient(520px 380px at 70% 0%, rgb(101 8 69 / 0.4), transparent 62%),
    var(--night);
  color: #fff;
}

.section__head {
  max-width: 720px;
  margin-bottom: 56px;
}

.section__head h2,
.stores h2,
.order h2 {
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.section__head > p:not(.eyebrow),
.section__head > div > p:last-child {
  margin-top: 18px;
  color: var(--ink-500);
  font-size: 18px;
  line-height: 1.6;
}

.section__head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  max-width: none;
}

.section__head--split > div {
  max-width: 680px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--brand-600);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow--dark {
  color: var(--brand-300);
}

.card {
  border: 1px solid var(--ink-150);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-card);
}

/* ---- Controle segmentado (rádios) ---- */

.seg {
  display: inline-flex;
  flex: none;
  padding: 4px;
  border: 1px solid var(--ink-150);
  border-radius: 14px;
  background: #fff;
}

.seg input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.seg label {
  padding: 10px 20px;
  border-radius: 10px;
  color: var(--ink-500);
  font-size: 14.5px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.seg label:hover {
  color: var(--ink-900);
}

.seg input:checked + label {
  background: var(--ink-900);
  color: #fff;
}

.seg input:focus-visible + label {
  outline: 2px solid var(--brand-500);
  outline-offset: 2px;
}

.seg--light {
  border: 0;
  background: var(--ink-75);
}

.seg--light input:checked + label {
  background: #fff;
  color: var(--ink-900);
  box-shadow: 0 1px 3px rgb(18 18 22 / 0.1);
}

.seg--block {
  display: flex;
  width: 100%;
}

.seg--block label {
  flex: 1;
  padding-inline: 8px;
}

/* ---- Maquininhas ---- */

.machines {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.machine {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--ink-150);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.machine--featured {
  border: 1.5px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--dusk) border-box;
  box-shadow: var(--shadow-pop);
}

.machine__stage {
  display: grid;
  place-items: center;
  height: 380px;
  padding-top: 40px;
  background: radial-gradient(circle at 50% 75%, #fff 0%, var(--ink-100) 75%);
}

.machine--featured .machine__stage {
  background:
    radial-gradient(circle at 50% 80%, rgb(216 56 93 / 0.38), transparent 60%),
    var(--night);
}

.machine__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px;
}

.machine__tag {
  color: var(--brand-600);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.machine h3 {
  margin-top: 8px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.machine__desc {
  margin-top: 4px;
  color: var(--ink-500);
  font-size: 15.5px;
}

.price {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 22px 0 18px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--ink-50);
}

.price__main {
  font-family: var(--font);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.price__main small {
  color: var(--ink-500);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
}

.price__sub {
  color: var(--ink-500);
  font-size: 14px;
}

.price--rent {
  display: none;
}

body:has(#acq-rent:checked) .price--buy {
  display: none;
}

body:has(#acq-rent:checked) .price--rent {
  display: flex;
}

.checks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  color: var(--ink-700);
  font-size: 15px;
  line-height: 1.45;
}

.checks .i {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--pos-500);
  stroke-width: 2.6;
}

.machine .checks {
  margin-bottom: 24px;
}

.machine .btn {
  margin-top: auto;
}

.machines__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
  color: var(--ink-500);
  font-size: 15.5px;
  text-align: center;
}

.machines__note .i {
  color: var(--brand-600);
}

/* ---- Taxas e simulador ---- */

.fees {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.fees__table {
  overflow: hidden;
}

.fees table {
  width: 100%;
  border-collapse: collapse;
}

.fees th,
.fees td {
  padding: 18px 24px;
  text-align: left;
  vertical-align: middle;
}

.fees thead th {
  background: var(--ink-50);
  color: var(--ink-500);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fees tbody tr {
  border-top: 1px solid var(--ink-150);
}

.fees tbody th {
  font-size: 15.5px;
  font-weight: 600;
}

.fees tbody th .i {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 12px;
  vertical-align: -3px;
  color: var(--ink-400);
}

.fees td.mono {
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}

.when {
  color: var(--ink-600);
  font-size: 14.5px;
}

.when--now {
  color: var(--pos-600);
  font-weight: 700;
}

.fees__foot {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 24px;
  border-top: 1px solid var(--brand-100);
  background: var(--brand-50);
  color: var(--brand-900);
  font-size: 14.5px;
  line-height: 1.5;
}

.fees__foot .i {
  margin-top: 1px;
  color: var(--brand-600);
}

.sim {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
}

.sim__head h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.sim__head p {
  margin-top: 2px;
  color: var(--ink-500);
  font-size: 14.5px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.field__label {
  padding: 0;
  color: var(--ink-600);
  font-size: 13.5px;
  font-weight: 600;
}

.field__label--row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.field__label--row output {
  color: var(--ink-900);
  font-size: 15px;
  font-weight: 600;
}

.field__input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1.5px solid var(--ink-150);
  border-radius: 12px;
  background: #fff;
  color: var(--ink-900);
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field__input::placeholder {
  color: var(--ink-400);
}

.field__input:hover {
  border-color: var(--ink-200);
}

.field__input:focus {
  border-color: var(--brand-500);
  outline: none;
  box-shadow: 0 0 0 4px rgb(216 56 93 / 0.12);
}

input.field__input.mono {
  font-size: 20px;
  font-weight: 600;
}

select.field__input {
  padding-right: 44px;
  appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236e7180' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
  cursor: pointer;
}

.field__error {
  display: none;
  color: var(--neg-600);
  font-size: 12.5px;
  font-weight: 500;
}

.field.is-invalid .field__input {
  border-color: var(--neg-500);
}

.field.is-invalid .field__error {
  display: block;
}

.range {
  width: 100%;
  height: 24px;
  margin: 0;
  background: none;
  appearance: none;
  cursor: pointer;
}

.range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--brand-600) var(--p, 0%), var(--ink-150) var(--p, 0%));
}

.range::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--brand-600) var(--p, 0%), var(--ink-150) var(--p, 0%));
}

.range::-webkit-slider-thumb {
  width: 24px;
  height: 24px;
  margin-top: -9px;
  border: 2px solid var(--brand-600);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 6px rgb(18 18 22 / 0.18);
  appearance: none;
}

.range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: 2px solid var(--brand-600);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 6px rgb(18 18 22 / 0.18);
}

.range:focus-visible {
  outline: none;
}

.range:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 4px rgb(216 56 93 / 0.2);
}

.switch {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-700);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.switch__track {
  position: relative;
  flex: none;
  width: 44px;
  height: 26px;
  border-radius: 999px;
  background: var(--ink-200);
  transition: background-color 0.2s;
}

.switch__track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 3px rgb(18 18 22 / 0.25);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.switch input:checked + .switch__track {
  background: var(--brand-600);
}

.switch input:checked + .switch__track::after {
  transform: translateX(18px);
}

.switch input:focus-visible + .switch__track {
  outline: 2px solid var(--brand-500);
  outline-offset: 2px;
}

.sim__result {
  padding: 22px 24px;
  border-radius: 18px;
  background:
    radial-gradient(360px 200px at 100% 0%, rgb(191 54 74 / 0.4), transparent 70%),
    var(--night);
  color: #fff;
}

.sim__label {
  color: rgb(255 255 255 / 0.6);
  font-size: 13.5px;
  font-weight: 500;
}

.sim__net {
  margin-top: 2px;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.sim__lines {
  margin-top: 14px;
  padding-top: 8px;
  border-top: 1px solid rgb(255 255 255 / 0.1);
}

.sim__lines div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0;
  font-size: 14.5px;
}

.sim__lines dt {
  color: rgb(255 255 255 / 0.62);
  white-space: nowrap;
}

.sim__lines dd {
  font-weight: 600;
  text-align: right;
}

.sim__lines dd.mono {
  white-space: nowrap;
}

/* Prices inside running text keep the text's own face; mono is for figures that stand alone. */
.fees__foot .mono {
  font-family: var(--font);
  letter-spacing: 0;
  white-space: nowrap;
}

/* Mockups of panel screens inside each tab. */
.mock {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  min-height: 360px;
  padding: 22px;
  border: 1px solid var(--ink-150);
  border-radius: 20px;
  background: var(--ink-50);
}

.mock__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mock__head b {
  font-size: 16px;
}

.mock__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border-radius: 9px;
  background: var(--ink-900);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.mock__btn .i {
  width: 15px;
  height: 15px;
}

.mock__btn--wide {
  justify-content: center;
  width: 100%;
  height: 46px;
  margin-top: 16px;
  border-radius: 12px;
  background: var(--brand-600);
  font-size: 14.5px;
}

.rows,
.ledger {
  overflow: hidden;
  border: 1px solid var(--ink-150);
  border-radius: 14px;
  background: #fff;
}

.rows li,
.ledger li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-top: 1px solid var(--ink-100);
}

.rows li:first-child,
.ledger li:first-child {
  border-top: 0;
}

.avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--c);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
}

.rows__main {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.rows__main b {
  font-size: 14.5px;
  font-weight: 600;
}

.rows__main small {
  overflow: hidden;
  color: var(--ink-500);
  font-size: 12.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rows__end {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.rows__end b {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.badge {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--ink-100);
  color: var(--ink-600);
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}

.badge--pos {
  background: var(--pos-50);
  color: var(--pos-600);
}

.badge--warn {
  background: var(--warn-50);
  color: var(--warn-600);
}

.badge--neg {
  background: var(--neg-50);
  color: var(--neg-600);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.timeline li {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
}

.timeline__when {
  padding-top: 12px;
  color: var(--ink-500);
  font-size: 12.5px;
  font-weight: 600;
}

.timeline__when--pos {
  color: var(--pos-600);
}

.msg {
  display: block;
  padding: 12px 14px;
  border: 1px solid var(--ink-150);
  border-radius: 14px 14px 14px 4px;
  background: #fff;
  color: var(--ink-700);
  font-size: 14px;
  line-height: 1.45;
}

.msg b {
  font-weight: 600;
}

.msg__channel {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  color: var(--ink-500);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.msg__channel .i {
  width: 14px;
  height: 14px;
}

.msg--wa {
  border-color: #cdeed9;
  background: #eefaf2;
}

.msg--wa .msg__channel {
  color: #128c4b;
}

.msg--pos {
  border-color: var(--pos-100);
}

.msg--pos .msg__channel {
  color: var(--pos-600);
}

.invoice,
.advance,
.debtor,
.stages {
  border: 1px solid var(--ink-150);
  border-radius: 16px;
  background: #fff;
}

.invoice {
  padding: 18px;
}

.invoice__top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.invoice__top b {
  display: block;
  font-size: 15px;
}

.invoice__top small {
  display: block;
  color: var(--ink-500);
  font-size: 12.5px;
}

.invoice__top .badge {
  margin-left: auto;
}

.invoice__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--pos-50);
  color: var(--pos-600);
}

.invoice__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
  margin: 18px 0;
}

.invoice__grid dt {
  color: var(--ink-500);
  font-size: 12px;
}

.invoice__grid dd {
  font-size: 14.5px;
  font-weight: 600;
}

.invoice__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding-top: 14px;
  border-top: 1px solid var(--ink-100);
  color: var(--ink-600);
  font-size: 13px;
  font-weight: 500;
}

.invoice__actions span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.invoice__actions .i {
  width: 15px;
  height: 15px;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mini-stats div {
  padding: 14px 16px;
  border: 1px solid var(--ink-150);
  border-radius: 14px;
  background: #fff;
}

.mini-stats span {
  display: block;
  color: var(--ink-500);
  font-size: 12.5px;
}

.mini-stats b {
  display: block;
  margin-top: 2px;
  font-size: 17px;
  font-weight: 600;
}

.debtor {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}

.debtor > b {
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
}

.stages {
  padding: 20px 20px 4px;
}

.stages li {
  position: relative;
  padding: 0 0 18px 34px;
}

.stages li > span {
  position: absolute;
  top: 2px;
  left: 0;
  width: 18px;
  height: 18px;
  border: 2px solid var(--ink-200);
  border-radius: 999px;
  background: #fff;
}

.stages li:not(:last-child)::before {
  content: '';
  position: absolute;
  top: 22px;
  bottom: 0;
  left: 8px;
  width: 2px;
  background: var(--ink-150);
}

.stages .is-done > span {
  border-color: var(--pos-500);
  background: var(--pos-500);
}

.stages .is-done::before {
  background: var(--pos-500) !important;
}

.stages .is-current > span {
  border-color: var(--brand-600);
  background: var(--brand-600);
  box-shadow: inset 0 0 0 3px #fff, 0 0 0 4px rgb(191 54 74 / 0.15);
}

.stages b {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
}

.stages small {
  display: block;
  color: var(--ink-500);
  font-size: 12.5px;
}

.advance {
  padding: 20px;
}

.advance__value {
  margin: 4px 0 14px;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.advance__list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: baseline;
  gap: 14px;
  padding: 11px 0;
  border-top: 1px solid var(--ink-100);
  font-size: 13.5px;
}

.advance__list span:first-child {
  overflow: hidden;
  color: var(--ink-600);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.advance__list span.mono {
  color: var(--ink-500);
  font-size: 12.5px;
}

.advance__list b {
  font-weight: 600;
  text-align: right;
}

.balance {
  padding: 20px;
  border-radius: 16px;
  background:
    radial-gradient(300px 160px at 100% 0%, rgb(191 54 74 / 0.45), transparent 70%),
    var(--night);
  color: #fff;
}

.balance .dash__label {
  color: rgb(255 255 255 / 0.6);
}

.balance .advance__value {
  margin-bottom: 0;
}

.ledger li > span:nth-child(2) {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ledger b {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.ledger b.pos {
  color: var(--pos-600);
}

.ledger__in,
.ledger__out {
  display: grid;
  flex: none;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--pos-50);
  color: var(--pos-600);
}

.ledger__out {
  background: var(--ink-100);
  color: var(--ink-600);
}

.ledger .i {
  width: 16px;
  height: 16px;
}

/* ---- Várias lojas ---- */

.stores {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 72px;
}

.stores__copy > p:not(.eyebrow) {
  margin-top: 18px;
  color: rgb(255 255 255 / 0.7);
  font-size: 18px;
}

.icon-list {
  margin-top: 28px;
}

.icon-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  color: rgb(255 255 255 / 0.88);
  font-size: 16.5px;
}

.icon-list li > span {
  display: grid;
  flex: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 12px;
  background: rgb(255 255 255 / 0.06);
  color: var(--brand-300);
}

.terminals {
  padding: 22px;
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 24px;
  background: var(--night-2);
  box-shadow: 0 40px 80px -40px rgb(0 0 0 / 0.8);
}

.terminals__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 4px 6px;
}

.terminals__head b {
  font-size: 16px;
}

.terminals__head span {
  color: rgb(255 255 255 / 0.6);
  font-size: 13.5px;
}

.store {
  margin-top: 12px;
  padding: 14px 16px 6px;
  border: 1px solid rgb(255 255 255 / 0.07);
  border-radius: 16px;
  background: rgb(255 255 255 / 0.03);
}

.store__name {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgb(255 255 255 / 0.55);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.store__name .i {
  width: 14px;
  height: 14px;
}

.store li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  padding: 10px 0;
  border-top: 1px solid rgb(255 255 255 / 0.06);
}

.store li:first-child {
  border-top: 0;
}

.t-name b {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
}

.t-name small {
  display: block;
  color: rgb(255 255 255 / 0.5);
  font-size: 12.5px;
}

.t-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgb(255 255 255 / 0.75);
  font-size: 12.5px;
  white-space: nowrap;
}

.store li > b {
  font-size: 14px;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--ink-400);
}

.dot--pos {
  background: #3dc276;
  box-shadow: 0 0 0 3px rgb(61 194 118 / 0.2);
}

.dot--warn {
  background: #d8a033;
}

.terminals__alert {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid rgb(232 92 92 / 0.25);
  border-radius: 12px;
  background: rgb(207 48 48 / 0.12);
  color: #f6b3b3;
  font-size: 13.5px;
}

.terminals__alert b {
  color: #fff;
  font-weight: 600;
}

.terminals__alert .i {
  width: 18px;
  height: 18px;
  color: #f18282;
}

/* ---- Segmentos ---- */

.segments {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.segments li {
  padding: 26px;
  border: 1px solid var(--ink-150);
  border-radius: 20px;
  background: #fff;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.segments li:hover {
  border-color: var(--ink-300);
  box-shadow: var(--shadow-pop);
  transform: translateY(-2px);
}

.segments__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--brand-50);
  color: var(--brand-600);
}

.segments h3 {
  margin: 18px 0 6px;
  font-size: 18.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.segments p {
  color: var(--ink-500);
  font-size: 15px;
}

/* ---- Como funciona ---- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 30px 28px;
  border: 1px solid var(--ink-150);
  border-radius: 20px;
  background: #fff;
}

.steps__n {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--brand-50);
  color: var(--brand-600);
  font-size: 14px;
  font-weight: 600;
}

.steps h3 {
  margin: 18px 0 8px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.steps p {
  color: var(--ink-500);
  font-size: 15.5px;
}

/* ---- Dúvidas ---- */

.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 64px;
}

.faq__head {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.faq__head a {
  color: var(--brand-600);
  font-weight: 600;
}

.faq__head a:hover {
  text-decoration: underline;
}

.faq__list details {
  border-bottom: 1px solid var(--ink-150);
}

.faq__list details:first-child {
  border-top: 1px solid var(--ink-150);
}

.faq__list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-size: 17.5px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.faq__list summary::-webkit-details-marker {
  display: none;
}

.faq__list summary:hover {
  color: var(--brand-600);
}

.faq__list summary .i {
  color: var(--ink-400);
  transition: transform 0.25s;
}

.faq__list details[open] summary .i {
  transform: rotate(180deg);
}

.faq__list details p {
  padding: 0 40px 22px 0;
  color: var(--ink-500);
  font-size: 16px;
  line-height: 1.65;
}

/* ---- Pedido ---- */

.order {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 72px;
}

.order h2 {
  font-size: clamp(36px, 4.8vw, 58px);
}

.order__copy > p:not(.eyebrow) {
  margin-top: 18px;
  color: rgb(255 255 255 / 0.72);
  font-size: 18px;
}

.lead {
  padding: 32px;
  color: var(--ink-900);
  box-shadow: 0 40px 90px -40px rgb(0 0 0 / 0.7);
}

.lead h3 {
  margin-bottom: 22px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lead__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.field--full {
  grid-column: 1 / -1;
}

.lead__error {
  margin: -8px 0 16px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--neg-50);
  color: var(--neg-600);
  font-size: 13.5px;
}

.lead__legal {
  margin-top: 14px;
  color: var(--ink-500);
  font-size: 12.5px;
  text-align: center;
}

.lead__legal a {
  text-decoration: underline;
}

.lead__done {
  padding: 36px 8px;
  text-align: center;
}

.lead__done-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border-radius: 999px;
  background: var(--pos-50);
  color: var(--pos-600);
}

.lead__done-icon .i {
  width: 32px;
  height: 32px;
}

.lead__done h3 {
  margin: 20px 0 8px;
}

.lead__done p {
  color: var(--ink-500);
}

/* ------------------------------------------------------------------ */
/* Rodapé                                                              */
/* ------------------------------------------------------------------ */

.footer {
  padding: 64px 0 32px;
  background: #0e0e11;
  color: rgb(255 255 255 / 0.6);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
}

.footer__brand .logo {
  height: 28px;
}

.footer__brand p {
  max-width: 280px;
  margin-top: 16px;
  font-size: 14.5px;
}

.footer__title {
  margin-bottom: 12px;
  color: rgb(255 255 255 / 0.4);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer nav a {
  display: block;
  width: fit-content;
  padding: 5px 0;
  color: rgb(255 255 255 / 0.72);
  font-size: 14.5px;
}

.footer nav a:hover {
  color: #fff;
}

.footer__bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 0.08);
  font-size: 13px;
}

/* ---- Botão fixo no celular ---- */

.mobile-cta {
  display: none;
}

/* ------------------------------------------------------------------ */
/* Entrada ao rolar e animações                                        */
/* ------------------------------------------------------------------ */

.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-ready .reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes float {
  50% {
    transform: translateY(-10px);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }
}

@keyframes grow {
  from {
    transform: scaleY(0);
  }
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal-ready .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ------------------------------------------------------------------ */
/* Responsivo                                                          */
/* ------------------------------------------------------------------ */

@media (max-width: 1100px) {

  .dash {
    width: 320px;
  }

  .hero__pos {
    font-size: 9px;
  }
}

@media (max-width: 960px) {

  .section {
    padding: 88px 0;
  }

  .section__head--split {
    flex-direction: column;
    align-items: flex-start;
  }

  .fees,
  .stores,
  .order,
  .faq {
    grid-template-columns: minmax(0, 1fr);
  }

  .stores,
  .order,
  .faq {
    gap: 40px;
  }

  .faq__head {
    position: static;
  }

  .machines {
    grid-template-columns: minmax(0, 1fr);
    max-width: 520px;
    margin-inline: auto;
  }

  .segments {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .mobile-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    display: block;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--ink-150);
    background: rgb(255 255 255 / 0.92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transform: translateY(110%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .mobile-cta.is-visible {
    transform: none;
  }
}

@media (max-width: 600px) {
  .container {
    padding-inline: 16px;
  }

  .nav {
    padding-inline: 16px;
  }

  .header__actions {
    gap: 8px;
  }

  .dash {
    top: 36px;
    width: 236px;
  }

  .dash__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dash__stats div:nth-child(3) {
    display: none;
  }

  .dash__body {
    padding: 14px 14px 16px;
  }

  .dash__value {
    font-size: 22px;
  }

  .bars {
    height: 80px;
    gap: 4px;
    margin: 14px 0 12px;
  }

  .dash__stats div {
    padding: 8px;
  }

  .dash__stats b {
    font-size: 12.5px;
  }

  .hero__pos {
    font-size: 6.6px;
  }

  .toast__icon {
    width: 30px;
    height: 30px;
  }

  .section {
    padding: 72px 0;
  }

  .section__head {
    margin-bottom: 36px;
  }

  .section__head > p:not(.eyebrow),
  .section__head > div > p:last-child {
    font-size: 16.5px;
  }

  .seg label {
    padding: 10px 14px;
  }

  .machine__stage {
    height: 340px;
  }

  .machine__body {
    padding: 22px;
  }

  .machines__note {
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
  }

  .fees th,
  .fees td {
    padding: 14px 14px;
  }

  .fees tbody th {
    font-size: 14.5px;
  }

  .fees tbody th .i {
    display: none;
  }

  .fees td.mono {
    font-size: 14.5px;
  }

  .when {
    font-size: 13px;
  }

  .fees__foot {
    padding: 16px 14px;
  }

  .sim,
  .lead {
    padding: 22px;
  }

  .sim__net {
    font-size: 34px;
  }

  .mock {
    min-height: 0;
    padding: 14px;
  }

  .rows li,
  .ledger li {
    padding: 12px;
  }

  .timeline li {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .timeline__when {
    padding-top: 0;
  }

  .advance__list li {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .advance__list span.mono {
    display: none;
  }

  .store li {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 12px;
  }

  .t-status {
    grid-row: 2;
  }

  .store li > b {
    grid-row: 1 / 3;
    grid-column: 2;
  }

  .segments {
    grid-template-columns: minmax(0, 1fr);
  }

  .lead__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 380px) {
  .header .btn--sm {
    padding: 0 12px;
    font-size: 13.5px;
  }

  .logo {
    height: 22px;
  }
}

/* ================================================================== */
/* Site com várias páginas: componentes das páginas internas          */
/* ================================================================== */

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-600);
  font-size: 15px;
  font-weight: 600;
}

.text-link .i {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}

.text-link:hover .i {
  transform: translateX(3px);
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.section__head .text-link {
  margin-top: 18px;
}

.section__head--split .text-link {
  flex: none;
}

.section__foot {
  margin-top: 28px;
  text-align: center;
}

/* ---- Topo das páginas internas ---- */

.page-hero {
  position: relative;
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + 28px) 0 88px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(820px 520px at 90% 0%, rgb(191 54 74 / 0.34), transparent 62%),
    radial-gradient(560px 420px at -4% 110%, rgb(101 8 69 / 0.38), transparent 62%),
    var(--night);
}

.page-hero .container {
  position: relative;
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
  margin-top: 36px;
}

.page-hero--center .page-hero__grid {
  grid-template-columns: minmax(0, 1fr);
}

.page-hero--center .page-hero__copy {
  max-width: 780px;
}

.page-hero--tall {
  padding-bottom: 140px;
}

.page-hero--tall .page-hero__copy {
  margin: 120px auto 0;
  text-align: center;
}

.page-hero--tall .page-hero__actions {
  justify-content: center;
}

.page-hero h1 {
  font-size: clamp(36px, 4.8vw, 60px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.page-hero__lead {
  max-width: 600px;
  margin-top: 20px;
  color: rgb(255 255 255 / 0.72);
  font-size: 18.5px;
  line-height: 1.6;
}

.page-hero--tall .page-hero__lead {
  margin-inline: auto;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.page-hero__note {
  margin-top: 16px;
  color: rgb(255 255 255 / 0.55);
  font-size: 13.5px;
}

.page-hero__visual {
  display: flex;
  justify-content: center;
}

.page-hero__visual > .mock,
.page-hero__visual > .code,
.page-hero__visual > .dash {
  width: 100%;
  max-width: 500px;
  box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.7);
}

.page-hero__visual > .mock {
  border-color: transparent;
}

.page-hero__visual > .dash {
  position: static;
  animation: none;
}

.page-hero__visual > .terminals {
  width: 100%;
  max-width: 520px;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: rgb(255 255 255 / 0.5);
  font-size: 13.5px;
}

.crumbs a:hover {
  color: #fff;
}

.crumbs .i {
  width: 14px;
  height: 14px;
  opacity: 0.6;
}

.crumbs [aria-current] {
  color: rgb(255 255 255 / 0.85);
}

/* ---- Cards ---- */

.cards {
  display: grid;
  gap: 16px;
}

.cards--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cards > li {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--ink-150);
  border-radius: 20px;
  background: #fff;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.cards > li:has(.cards__link) {
  padding: 0;
}

.cards__link {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px;
  border-radius: inherit;
}

.cards > li:has(.cards__link):hover {
  border-color: var(--ink-300);
  box-shadow: var(--shadow-pop);
  transform: translateY(-2px);
}

.cards__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--brand-50);
  color: var(--brand-600);
}

.cards h3 {
  margin: 18px 0 6px;
  font-size: 18.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.cards p {
  color: var(--ink-500);
  font-size: 15px;
}

.cards__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px;
  color: var(--brand-600);
  font-size: 14.5px;
  font-weight: 600;
}

.cards__more .i {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}

.cards__link:hover .cards__more .i {
  transform: translateX(3px);
}

.cards--dark > li {
  border-color: rgb(255 255 255 / 0.08);
  background: rgb(255 255 255 / 0.03);
}

.cards--dark .cards__icon {
  background: rgb(228 100 132 / 0.15);
  color: var(--brand-300);
}

.cards--dark p {
  color: rgb(255 255 255 / 0.65);
}

.section--dark .section__head h2 {
  color: #fff;
}

/* ---- Dois modelos de negócio (home) e comprar/alugar ---- */

.models {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.model {
  display: flex;
  flex-direction: column;
  padding: 36px;
  border: 1.5px solid transparent;
  border-radius: 24px;
  background: linear-gradient(#fff, #fff) padding-box, var(--dusk) border-box;
  box-shadow: var(--shadow-pop);
}

.model--alt {
  border: 1px solid var(--ink-150);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.model__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: var(--dusk);
  color: #fff;
}

.model--alt .model__icon {
  background: var(--ink-900);
}

.model h3 {
  margin-top: 22px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.model__sub {
  margin: 4px 0 18px;
  color: var(--ink-500);
  font-size: 16px;
}

.model .checks {
  margin-bottom: 28px;
}

.model .btn {
  margin-top: auto;
}

.machines-head {
  display: flex;
  justify-content: flex-end;
  margin: -24px 0 20px;
}

/* ---- Texto + imagem ---- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 72px;
}

.split + .split {
  margin-top: 96px;
}

.split--reverse .split__copy {
  order: 2;
}

.split__copy h3 {
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.split__copy > p:not(.eyebrow) {
  margin: 16px 0 20px;
  color: var(--ink-500);
  font-size: 17px;
  line-height: 1.6;
}

.split__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.split__visual {
  display: flex;
  justify-content: center;
}

.split__visual > .mock,
.split__visual > .terminals {
  width: 100%;
  max-width: 520px;
}

.machine-stage {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 520px;
  min-height: 460px;
  padding: 64px 0 40px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 80%, rgb(216 56 93 / 0.38), transparent 60%),
    var(--night);
}

/* ---- Preços ---- */

.pricing-split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 56px;
}

.pricing-split .section__head {
  margin-bottom: 0;
}

.pricing-split .text-link {
  margin-top: 18px;
}

.pricelist {
  overflow: hidden;
}

.pricelist__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  border-top: 1px solid var(--ink-150);
}

.pricelist__row:first-child {
  border-top: 0;
}

.pricelist__label {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.pricelist__label .i {
  color: var(--ink-400);
}

.pricelist__label b {
  display: block;
  font-size: 16px;
  font-weight: 600;
}

.pricelist__label small,
.pricelist__value small {
  display: block;
  color: var(--ink-500);
  font-size: 13.5px;
}

.pricelist__value {
  flex: none;
  max-width: 50%;
  text-align: right;
}

.pricelist__value b {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.spec {
  overflow-x: auto;
}

.spec table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

.spec th,
.spec td {
  padding: 18px 24px;
  text-align: left;
  vertical-align: middle;
}

.spec thead th {
  background: var(--ink-50);
  font-size: 16px;
  font-weight: 700;
}

.spec tbody tr {
  border-top: 1px solid var(--ink-150);
}

.spec tbody th {
  color: var(--ink-600);
  font-size: 14.5px;
  font-weight: 600;
}

.spec td {
  font-size: 15px;
}

.spec td b,
.spec th b {
  display: block;
  font-weight: 700;
}

.spec td small,
.spec th small {
  display: block;
  color: var(--ink-500);
  font-size: 13px;
  font-weight: 500;
}

.spec--prices table {
  min-width: 520px;
}

.spec-yes {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--pos-50);
  color: var(--pos-600);
}

.spec-yes .i {
  width: 16px;
  height: 16px;
  stroke-width: 2.6;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.05);
  color: rgb(255 255 255 / 0.88);
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.2s;
}

.chips a:hover {
  background: rgb(255 255 255 / 0.12);
}

.chips .i {
  width: 16px;
  height: 16px;
  color: var(--brand-300);
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid var(--ink-150);
  border-radius: 16px;
  background: #fff;
  color: var(--ink-700);
  font-size: 15px;
}

.notice .i {
  margin-top: 1px;
  color: var(--brand-600);
}

.notice a {
  color: var(--brand-600);
  font-weight: 600;
}

.notice--warn {
  margin-bottom: 32px;
  border-color: #f3dca8;
  background: var(--warn-50);
  color: var(--warn-600);
}

.notice--warn .i {
  color: var(--warn-500);
}

.tips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.tips li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--ink-150);
  border-radius: 18px;
  background: #fff;
  color: var(--ink-600);
  font-size: 15.5px;
}

.tips .i {
  flex: none;
  margin-top: 2px;
  color: var(--brand-600);
}

.tips b {
  color: var(--ink-900);
}

/* ---- Integrações ---- */

.logos {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
}

.logos li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 8px;
  border: 1px solid var(--ink-150);
  border-radius: 16px;
  background: #fff;
  color: var(--ink-600);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.logos img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

/* ---- Faixa de CTA ---- */

.cta-band {
  padding: 88px 0;
  background:
    radial-gradient(700px 420px at 0% 0%, rgb(191 54 74 / 0.5), transparent 62%),
    radial-gradient(640px 420px at 100% 100%, rgb(228 150 106 / 0.22), transparent 62%),
    var(--night);
  color: #fff;
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-band h2 {
  max-width: 640px;
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.cta-band p {
  max-width: 560px;
  margin-top: 14px;
  color: rgb(255 255 255 / 0.72);
  font-size: 17.5px;
}

.cta-band__actions {
  display: flex;
  flex: none;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---- Segmentos: do problema à solução ---- */

.painfix {
  display: grid;
  gap: 12px;
}

.painfix li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
}

.painfix p {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  height: 100%;
  padding: 20px 22px;
  border-radius: 16px;
  font-size: 16px;
  line-height: 1.5;
}

.painfix .i {
  flex: none;
  width: 24px;
  height: 24px;
  padding: 4px;
  border-radius: 999px;
  stroke-width: 2.6;
}

.painfix__pain {
  border: 1px solid var(--ink-150);
  background: var(--ink-50);
  color: var(--ink-500);
}

.painfix__pain .i {
  background: var(--neg-50);
  color: var(--neg-500);
}

.painfix__fix {
  border: 1px solid var(--pos-100);
  background: var(--pos-50);
  color: var(--ink-800);
}

.painfix__fix .i {
  background: #fff;
  color: var(--pos-600);
}

.painfix__arrow {
  color: var(--ink-300);
}

/* ---- Perguntas frequentes: página com busca ---- */

.faq-search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 560px;
  height: 56px;
  padding: 0 18px;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 14px;
  background: rgb(255 255 255 / 0.06);
  color: rgb(255 255 255 / 0.6);
}

.faq-search:focus-within {
  border-color: var(--brand-400);
  background: rgb(255 255 255 / 0.1);
}

.faq-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  background: none;
  color: #fff;
  font-size: 16px;
  outline: none;
}

.faq-search input::placeholder {
  color: rgb(255 255 255 / 0.45);
}

.faq-page {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;
  gap: 56px;
}

.faq-page__nav {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq-page__nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ink-600);
  font-size: 15px;
  font-weight: 500;
}

.faq-page__nav a:hover {
  background: var(--ink-50);
  color: var(--ink-900);
}

.faq-page__nav .i {
  width: 18px;
  height: 18px;
  color: var(--ink-400);
}

.faq-group + .faq-group {
  margin-top: 48px;
}

.faq-group h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.faq-group h2 .i {
  width: 22px;
  height: 22px;
  color: var(--brand-600);
}

.faq-empty {
  padding: 24px;
  border-radius: 16px;
  background: var(--ink-50);
  color: var(--ink-600);
}

.faq-empty a {
  color: var(--brand-600);
  font-weight: 600;
}

/* ---- Contato e cadastro ---- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.contact-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
  border: 1px solid var(--ink-150);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.contact-card h3 {
  margin: 18px 0 8px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.contact-card p {
  margin-bottom: 22px;
  color: var(--ink-500);
  font-size: 15.5px;
}

.contact-card > .btn,
.contact-card > .text-link,
.contact-card__actions {
  margin-top: auto;
}

.contact-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}

.contact-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 56px;
}

.signup {
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + 28px) 0 96px;
  color: #fff;
  background:
    radial-gradient(820px 520px at 0% 0%, rgb(191 54 74 / 0.42), transparent 62%),
    radial-gradient(720px 520px at 100% 100%, rgb(228 150 106 / 0.2), transparent 62%),
    var(--night);
}

.signup__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 72px;
  margin-top: 36px;
}

.signup h1 {
  font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.signup__steps {
  display: grid;
  gap: 16px;
  margin-top: 36px;
}

.signup__steps li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.signup__steps li > span {
  display: grid;
  flex: none;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--dusk);
  font-size: 14px;
  font-weight: 600;
}

.signup__steps b {
  display: block;
  font-size: 16.5px;
}

.signup__steps small {
  display: block;
  color: rgb(255 255 255 / 0.62);
  font-size: 14.5px;
}

.signup .icon-list {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 0.1);
}

/* ---- Páginas legais ---- */

.legal {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;
  gap: 64px;
}

.legal__toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.legal__toc .footer__title {
  color: var(--ink-500);
}

.legal__toc a {
  padding: 7px 0;
  color: var(--ink-600);
  font-size: 14.5px;
}

.legal__toc a:hover {
  color: var(--brand-600);
}

.legal__body {
  max-width: 720px;
}

.legal__body h2 {
  margin: 40px 0 12px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.legal__body h2:first-of-type {
  margin-top: 0;
}

.legal__body p {
  margin-bottom: 12px;
  color: var(--ink-600);
  font-size: 16.5px;
  line-height: 1.7;
}

.legal__body a {
  color: var(--brand-600);
  font-weight: 600;
}

.legal__body strong {
  color: var(--ink-900);
  font-weight: 700;
}

/* Trecho do documento ainda a preencher ("[prazo a aprovar]"). */
.legal__body mark {
  padding: 0 4px;
  border-radius: 4px;
  background: var(--warn-50);
  color: var(--warn-600);
}

/* Quadro em destaque, como os "Pontos de atenção" dos termos. */
.legal__box {
  margin: 8px 0 40px;
  padding: 28px 28px 16px;
  border-left: 3px solid var(--brand-600);
  border-radius: 4px 16px 16px 4px;
  background: var(--brand-50);
}

.legal__box h2 {
  margin-top: 0;
}

.legal__points {
  margin: 0 0 12px;
  padding-left: 22px;
  list-style: decimal;
  color: var(--ink-600);
  font-size: 16.5px;
  line-height: 1.7;
}

.legal__points li {
  margin-bottom: 8px;
  padding-left: 4px;
}

.legal__points li::marker {
  color: var(--brand-600);
  font-weight: 700;
}

.legal__closing {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--ink-150);
}

/* ---- Telas de exemplo novas ---- */

.code {
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 18px;
  background: #0b0b0e;
  color: #d3d6e0;
}

.code__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 16px;
  border-bottom: 1px solid rgb(255 255 255 / 0.06);
  background: #141419;
}

.code__bar span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.18);
}

.code__bar b {
  margin-left: 10px;
  color: rgb(255 255 255 / 0.6);
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
}

.code pre {
  margin: 0;
  padding: 22px 24px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.7;
}

.c-k {
  color: #ef98ae;
}

.c-s {
  color: #a8e6b8;
}

.c-n {
  color: #f2c48d;
}

.c-p {
  color: #848898;
}

.code__note {
  padding: 0 24px 18px;
  color: rgb(255 255 255 / 0.45);
  font-size: 12.5px;
}

.paylink {
  padding: 22px;
  border: 1px solid var(--ink-150);
  border-radius: 18px;
  background: #fff;
}

.paylink__top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.paylink__top b {
  display: block;
  font-size: 15px;
}

.paylink__top small {
  display: block;
  color: var(--ink-500);
  font-size: 13px;
}

.paylink__logo {
  display: grid;
  flex: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--dusk);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.paylink__price {
  margin-top: 20px;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.1;
}

.paylink__sub {
  color: var(--ink-500);
  font-size: 14px;
}

.paylink__methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.paylink__methods span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 44px;
  border: 1.5px solid var(--ink-150);
  border-radius: 12px;
  color: var(--ink-600);
  font-size: 14px;
  font-weight: 600;
}

.paylink__methods .i {
  width: 16px;
  height: 16px;
}

.paylink__methods .is-on {
  border-color: var(--brand-600);
  background: var(--brand-50);
  color: var(--brand-700);
}

.copylink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px 12px 16px;
  border: 1px solid var(--ink-150);
  border-radius: 14px;
  background: #fff;
  color: var(--ink-600);
  font-size: 13.5px;
}

.copylink > span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}

.copylink .i {
  width: 16px;
  height: 16px;
  color: #128c4b;
}

.copylink .mock__btn .i {
  color: inherit;
}

.secure {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 20px;
  border: 1px solid var(--ink-150);
  border-radius: 18px;
  background: #fff;
  text-align: center;
}

.secure__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: var(--pos-50);
  color: var(--pos-600);
}

.secure b {
  margin-top: 14px;
  font-size: 16px;
}

.secure small {
  margin-top: 4px;
  color: var(--ink-500);
  font-size: 13.5px;
}

.secure__code {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.secure__code i {
  display: grid;
  place-items: center;
  width: 38px;
  height: 46px;
  border: 1.5px solid var(--ink-150);
  border-radius: 10px;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
}

.secure__code i:nth-child(4) {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgb(216 56 93 / 0.12);
}

/* ---- Rodapé com várias colunas ---- */

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr));
  gap: 40px;
}

.footer__brand .btn {
  margin-top: 20px;
}

.footer__col a {
  display: block;
  width: fit-content;
  padding: 5px 0;
  color: rgb(255 255 255 / 0.72);
  font-size: 14.5px;
}

.footer__col a:hover {
  color: #fff;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 24px;
}

.footer__bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer__bottom nav a {
  color: rgb(255 255 255 / 0.6);
}

.footer__bottom nav a:hover {
  color: #fff;
}

body.menu-open {
  overflow: hidden;
}

/* ---- Responsivo das páginas internas ---- */

@media (max-width: 1320px) {
  .header__charge {
    display: none;
  }
}

@media (max-width: 1180px) {
  .header__inner {
    gap: 16px;
  }

  .header__logo {
    margin-right: auto;
  }

  .header__toggle {
    display: inline-flex;
  }

  .header__login {
    display: none;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    flex-direction: column;
    height: auto;
    margin: 0;
    padding: 8px 24px 40px;
    overflow-y: auto;
    background: var(--night);
  }

  .header.is-open .nav {
    display: flex;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    gap: 0;
  }

  .nav__item {
    position: static;
    display: block;
    height: auto;
    border-bottom: 1px solid rgb(255 255 255 / 0.08);
  }

  .nav__trigger {
    justify-content: space-between;
    width: 100%;
    height: 58px;
    padding: 0;
    border-radius: 0;
    color: #fff;
    font-size: 17px;
  }

  .nav__trigger:hover,
  .nav__item.is-open > .nav__trigger {
    background: none;
  }

  .nav__mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 28px;
  }

  .nav__mobile-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    color: rgb(255 255 255 / 0.8);
    font-size: 15px;
  }

  .logos {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .footer__top {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  .page-hero__grid,
  .signup__grid,
  .split,
  .pricing-split,
  .contact-split,
  .models,
  .faq-page,
  .legal {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-hero__grid,
  .signup__grid {
    gap: 40px;
  }

  .split {
    gap: 36px;
  }

  .split--reverse .split__copy {
    order: 0;
  }

  .split + .split {
    margin-top: 72px;
  }

  .pricing-split,
  .contact-split {
    gap: 28px;
  }

  .cards--3,
  .cards--4,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .painfix li {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .painfix__arrow {
    display: none;
  }

  .faq-page__nav,
  .legal__toc {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .faq-page__nav a,
  .legal__toc a {
    padding: 8px 12px;
    border: 1px solid var(--ink-150);
    border-radius: 999px;
    font-size: 14px;
  }

  .legal__toc .footer__title {
    display: none;
  }

  .logos {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .tips {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .page-hero {
    padding-bottom: 64px;
  }

  .page-hero__grid {
    margin-top: 24px;
  }

  .page-hero__lead {
    font-size: 17px;
  }

  .page-hero__actions .btn {
    width: 100%;
  }

  .page-hero__visual > .pos {
    font-size: 7.4px;
  }

  .cards--2,
  .cards--3,
  .cards--4,
  .contact-grid,
  .contact-grid--2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .model {
    padding: 26px;
  }

  .machines-head {
    justify-content: flex-start;
    margin-top: -12px;
  }

  .machine-stage {
    min-height: 380px;
  }

  .machine-stage .pos {
    font-size: 7.2px;
  }

  .pricelist__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 18px;
  }

  .pricelist__value {
    max-width: none;
    padding-left: 34px;
    text-align: left;
  }

  .spec th,
  .spec td {
    padding: 14px 16px;
  }

  .logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .trio {
    height: 330px;
  }

  .trio__mini {
    font-size: 6px;
  }

  .trio__pro {
    font-size: 6.6px;
  }

  .trio__smart {
    font-size: 5.4px;
  }

  .cta-band {
    padding: 64px 0;
  }

  .cta-band__actions,
  .cta-band__actions .btn {
    width: 100%;
  }

  .contact-card {
    padding: 24px;
  }

  .signup {
    padding-bottom: 64px;
  }
}

/* Mockups set their own text colour: on a dark hero they would inherit white,
   and the terminals panel would inherit dark ink on a light section. */
.mock,
.dash,
.paylink,
.secure {
  color: var(--ink-900);
}

.terminals {
  color: #fff;
}

/* backdrop-filter makes the header the containing block of its fixed children,
   which would trap the mobile menu panel inside the 72px bar. */
@media (max-width: 1180px) {
  .header.is-open {
    background: var(--night);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (max-width: 600px) {
  /* Three short columns fit a phone, so the price table wraps instead of scrolling. */
  .spec--prices table {
    min-width: 0;
  }

  .spec--prices th,
  .spec--prices td {
    padding: 14px 10px;
    font-size: 14px;
  }

  .spec--prices th:first-child,
  .spec--prices td:first-child {
    padding-left: 14px;
  }
}

/* ================================================================== */
/* Tema claro: site branco com os detalhes no rosa da Confido.        */
/* Esta camada vem por último e redefine as áreas que nasceram        */
/* escuras (cabeçalho, topos, faixas, menus e rodapé). Só as          */
/* maquininhas desenhadas e os blocos de código continuam escuros.    */
/* ================================================================== */

:root {
  --dusk-deep: linear-gradient(90deg, #9e2842 0%, #d8385d 55%, #e4966a 100%);
  --pink-glow: rgb(246 196 208 / 0.55);
  --soft-shadow: 0 30px 60px -30px rgb(101 8 69 / 0.22), 0 12px 24px -12px rgb(18 18 22 / 0.08);
}

.text-dusk {
  background: var(--dusk-deep);
  -webkit-background-clip: text;
  background-clip: text;
}

.logo {
  color: var(--ink-900);
}

.eyebrow--dark {
  color: var(--brand-600);
}

/* ---- Cabeçalho ---- */

.header,
.header.is-scrolled {
  border-bottom-color: var(--ink-150);
  background: rgb(255 255 255 / 0.88);
  color: var(--ink-900);
}

.header.is-scrolled {
  box-shadow: 0 6px 24px -16px rgb(18 18 22 / 0.25);
}

.nav__trigger {
  color: var(--ink-700);
}

.nav__trigger:hover,
.nav__item.is-open > .nav__trigger,
.nav__item.is-current > .nav__trigger {
  color: var(--ink-900);
}

.nav__trigger:hover,
.nav__item.is-open > .nav__trigger {
  background: var(--ink-75);
}

.nav__item.is-current > .nav__trigger {
  color: var(--brand-700);
}

.header__login {
  color: var(--ink-700);
}

.header__login:hover {
  color: var(--brand-600);
}

.header__toggle {
  color: var(--ink-900);
}

.dash {
  box-shadow: var(--soft-shadow), 0 0 0 1px var(--ink-150);
}

/* ---- Topo das páginas internas ---- */

.page-hero,
.signup {
  color: var(--ink-900);
  background:
    radial-gradient(760px 480px at 92% 0%, var(--pink-glow), transparent 64%),
    radial-gradient(480px 360px at -4% 110%, rgb(251 225 231 / 0.6), transparent 62%),
    #fff;
}

.page-hero {
  border-bottom: 1px solid var(--ink-100);
}

.page-hero__lead,
.page-hero__note {
  color: var(--ink-500);
}

.crumbs {
  color: var(--ink-400);
}

.crumbs a:hover {
  color: var(--brand-600);
}

.crumbs [aria-current] {
  color: var(--ink-700);
}

.page-hero__visual > .mock,
.page-hero__visual > .code,
.page-hero__visual > .dash {
  box-shadow: var(--soft-shadow);
}

.page-hero__visual > .mock {
  border-color: var(--ink-150);
  background: #fff;
}

.chips a {
  border-color: var(--ink-150);
  background: #fff;
  color: var(--ink-700);
}

.chips a:hover {
  border-color: var(--brand-300);
  background: var(--brand-50);
  color: var(--brand-700);
}

.chips .i {
  color: var(--brand-600);
}

.faq-search {
  border-color: var(--ink-200);
  background: #fff;
  color: var(--ink-400);
  box-shadow: var(--shadow-card);
}

.faq-search:focus-within {
  border-color: var(--brand-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgb(216 56 93 / 0.12);
}

.faq-search input {
  color: var(--ink-900);
}

.faq-search input::placeholder {
  color: var(--ink-400);
}

/* ---- Seções que eram escuras ---- */

.section--dark {
  background:
    radial-gradient(700px 420px at 100% 0%, rgb(251 225 231 / 0.75), transparent 64%),
    linear-gradient(180deg, #fff 0%, var(--brand-50) 100%);
  color: var(--ink-900);
}

.section--dark .section__head h2 {
  color: var(--ink-900);
}

.cards--dark > li {
  border-color: var(--brand-100);
  background: #fff;
}

.cards--dark .cards__icon {
  background: var(--brand-50);
  color: var(--brand-600);
}

.cards--dark p {
  color: var(--ink-500);
}

.machine--featured .machine__stage,
.machine-stage {
  background:
    radial-gradient(circle at 50% 80%, rgb(216 56 93 / 0.22), transparent 62%),
    linear-gradient(180deg, #fff 0%, var(--brand-50) 100%);
}

.machine-stage {
  border: 1px solid var(--brand-100);
}

.sim__result,
.balance {
  background:
    radial-gradient(360px 200px at 100% 0%, rgb(255 255 255 / 0.18), transparent 70%),
    linear-gradient(140deg, #650845 0%, #bf364a 55%, #da4b5d 100%);
}

.sim__label,
.sim__lines dt,
.balance .dash__label {
  color: rgb(255 255 255 / 0.78);
}

.sim__lines {
  border-top-color: rgb(255 255 255 / 0.2);
}

/* The terminals panel is a screen of the panel, so it turns white like the rest. */
.terminals {
  border-color: var(--ink-150);
  background: #fff;
  color: var(--ink-900);
  box-shadow: var(--soft-shadow);
}

.terminals__head span,
.store__name,
.t-name small {
  color: var(--ink-500);
}

.store {
  border-color: var(--ink-150);
  background: var(--ink-50);
}

.store li {
  border-top-color: var(--ink-150);
}

.t-status {
  color: var(--ink-600);
}

.terminals__alert {
  border-color: var(--neg-100, #fbdede);
  background: var(--neg-50);
  color: var(--neg-600);
}

.terminals__alert b {
  color: var(--neg-600);
}

.terminals__alert .i {
  color: var(--neg-500);
}

/* ---- Faixa de chamada: o rosa da marca em destaque ---- */

.cta-band {
  background:
    radial-gradient(620px 380px at 100% 0%, rgb(255 255 255 / 0.16), transparent 64%),
    radial-gradient(520px 360px at 0% 100%, rgb(228 150 106 / 0.35), transparent 64%),
    linear-gradient(120deg, #650845 0%, #bf364a 52%, #da4b5d 100%);
}

.cta-band p {
  color: rgb(255 255 255 / 0.85);
}

.cta-band .btn--primary {
  background: #fff;
  color: var(--brand-700);
  box-shadow: 0 10px 24px -12px rgb(60 5 40 / 0.6);
}

.cta-band .btn--primary:hover {
  background: var(--brand-50);
}

.cta-band .btn--secondary {
  border-color: rgb(255 255 255 / 0.5);
  background: transparent;
  color: #fff;
}

.cta-band .btn--secondary:hover {
  border-color: #fff;
  background: rgb(255 255 255 / 0.1);
  color: #fff;
}

/* ---- Cadastro (quero ser cliente) ---- */

.signup__steps small {
  color: var(--ink-500);
}

.signup__steps li > span {
  color: #fff;
}

.signup .icon-list {
  border-top-color: var(--ink-150);
}

.icon-list li {
  color: var(--ink-700);
}

.icon-list li > span {
  border-color: var(--brand-100);
  background: var(--brand-50);
  color: var(--brand-600);
}

.lead {
  box-shadow: var(--soft-shadow);
}

/* ---- Menu do celular ---- */

@media (max-width: 1180px) {
  .nav,
  .header.is-open {
    background: #fff;
  }

  .nav__item {
    border-bottom-color: var(--ink-150);
  }

  .nav__trigger {
    color: var(--ink-900);
  }

  .nav__trigger:hover,
  .nav__item.is-open > .nav__trigger {
    background: none;
  }

  .nav__mobile-link {
    color: var(--ink-700);
  }

  .nav__mobile-link .i {
    color: var(--brand-600);
  }
}

/* ---- Rodapé ---- */

.footer {
  border-top: 1px solid var(--ink-150);
  background: var(--ink-50);
  color: var(--ink-500);
}

.footer__title {
  color: var(--ink-400);
}

.footer__col a,
.footer__bottom nav a {
  color: var(--ink-700);
}

.footer__col a:hover,
.footer__bottom nav a:hover {
  color: var(--brand-600);
}

.footer__bottom {
  border-top-color: var(--ink-150);
}

/* Selected tab and segmented choice in the brand pink instead of near-black. */
.seg:not(.seg--light) input:checked + label {
  background: var(--brand-600);
  color: #fff;
}

.model--alt .model__icon {
  background: var(--brand-600);
}

/* Outranks the old `.footer nav a` (white on the dark footer). */
.footer nav.footer__col a {
  color: var(--ink-700);
}

.footer nav.footer__col a:hover {
  color: var(--brand-600);
}

/* ---- Menu em lista: abre logo abaixo do item, com uma seta apontando para ele ---- */

.nav__trigger:hover,
.nav__item.is-open > .nav__trigger,
.nav__item.is-current > .nav__trigger {
  background: none;
  color: var(--brand-600);
}

.nav__trigger .i {
  opacity: 1;
  color: var(--ink-400);
}

.nav__trigger:hover .i,
.nav__item.is-open > .nav__trigger .i,
.nav__item.is-current > .nav__trigger .i {
  color: var(--brand-600);
}

.dropdown {
  position: absolute;
  top: calc(100% - 10px);
  left: 50%;
  z-index: 60;
  display: none;
  padding-top: 16px;
  transform: translateX(-50%);
}

.nav__item.is-open > .dropdown {
  display: block;
  animation: dropdown-in 0.16s ease-out;
}

.dropdown__list {
  position: relative;
  min-width: 300px;
  padding: 12px 0;
  border: 1px solid var(--ink-150);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 40px -16px rgb(18 18 22 / 0.22);
}

.dropdown > .dropdown__list::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  width: 14px;
  height: 14px;
  border-top: 1px solid var(--ink-150);
  border-left: 1px solid var(--ink-150);
  background: #fff;
  transform: translateX(-50%) rotate(45deg);
}

.dropdown__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 11px 28px 11px 36px;
  border: 0;
  background: none;
  color: var(--ink-700);
  font-size: 15.5px;
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}

.dropdown__link:hover {
  background: var(--brand-50);
  color: var(--brand-700);
}

.dropdown__link .i {
  width: 18px;
  height: 18px;
  color: var(--brand-600);
  transition: transform 0.2s;
}

@keyframes dropdown-in {
  from {
    opacity: 0;
    transform: translate(-50%, -4px);
  }
}

@media (max-width: 1180px) {
  .dropdown {
    position: static;
    padding: 0;
    transform: none;
  }

  .nav__item.is-open > .dropdown {
    animation: none;
  }

  .dropdown__list {
    min-width: 0;
    padding: 0 0 12px;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }

  .dropdown > .dropdown__list::before {
    display: none;
  }

  .dropdown__link {
    padding: 12px 4px 12px 12px;
    font-size: 16px;
    white-space: normal;
  }

  .dropdown__link:hover {
    background: none;
  }
}

.dropdown > .dropdown__list::before {
  border-color: var(--ink-200);
  box-shadow: -3px -3px 6px -3px rgb(18 18 22 / 0.12);
}

/* ---- Maquininhas: ilustrações em imagem (src/devices.mjs) ---- */

.device {
  display: block;
  flex: none;
}

.device img {
  display: block;
  width: 100%;
  height: auto;
}

/* Contexts that size the machine by height. */
.machine__stage .device,
.machine-stage .device,
.page-hero__visual > .device,
.trio .device {
  width: auto;
}

.machine__stage .device img,
.machine-stage .device img,
.page-hero__visual > .device img,
.trio .device img {
  width: auto;
  height: 100%;
}

.hero__pos img {
  transform: perspective(1600px) rotateY(-14deg) rotateX(5deg) rotate(2deg);
  transform-origin: 50% 60%;
}

.machine__stage {
  padding-top: 24px;
}

.machine__stage .device {
  height: 340px;
}

.machine-stage .device {
  height: 430px;
}

.page-hero__visual > .device {
  height: 470px;
}

/* Maquininhas page: the three models side by side, the Pro in front. */
.trio {
  position: relative;
  width: 100%;
  max-width: 560px;
  height: 500px;
}

.trio .device {
  position: absolute;
  bottom: 0;
}

.trio__mini {
  left: 0;
  z-index: 1;
  height: 330px;
  transform: rotate(-7deg);
}

.trio__pro {
  left: 50%;
  z-index: 3;
  height: 490px;
  transform: translateX(-50%);
}

.trio__smart {
  right: 0;
  z-index: 2;
  height: 430px;
  transform: rotate(6deg);
}

@media (max-width: 600px) {

  .machine__stage .device {
    height: 300px;
  }

  .machine-stage .device {
    height: 340px;
  }

  .page-hero__visual > .device {
    height: 380px;
  }

  .trio {
    height: 340px;
  }

  .trio__mini {
    height: 220px;
  }

  .trio__pro {
    height: 330px;
  }

  .trio__smart {
    height: 290px;
  }
}

/* ================================================================== */
/* Home v3: pagamentos e gestão empresarial para negócios físicos e   */
/* digitais. Telas reais do painel em molduras de navegador e celular. */
/* ================================================================== */

.field__label small {
  color: var(--ink-400);
  font-weight: 500;
}

.shot-note {
  margin-top: 14px;
  color: var(--ink-400);
  font-size: 12.5px;
}

.shot-note--center {
  text-align: center;
}

/* ---- Molduras ---- */

.browser {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--ink-150);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.browser__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 14px;
  border-bottom: 1px solid var(--ink-100);
  background: var(--ink-50);
}

.browser__bar span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--ink-200);
}

.browser img {
  display: block;
  width: 100%;
  height: auto;
}

.phone {
  position: relative;
  margin: 0;
  padding: 8px;
  border-radius: 34px;
  background: linear-gradient(160deg, #34353f 0%, #18181d 60%, #101014 100%);
  box-shadow: 0 30px 60px -24px rgb(18 18 22 / 0.45), inset 0 0 0 1.5px rgb(255 255 255 / 0.1);
}

.phone img,
.phone__screen {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 27px;
  background: #fff;
}

.phone__screen {
  aspect-ratio: 390 / 844;
}

.phone__island {
  position: absolute;
  top: 15px;
  left: 50%;
  z-index: 1;
  width: 30%;
  height: 17px;
  border-radius: 999px;
  background: #0b0b0e;
  transform: translateX(-50%);
}

.phone--stage {
  width: 240px;
}

.phone--mini {
  width: 118px;
  padding: 5px;
  border-radius: 22px;
}

.phone--mini .phone__screen {
  border-radius: 18px;
}

.phone--mini .phone__island {
  top: 9px;
  height: 9px;
}

/* Tap on Phone */
.tap {
  position: relative;
}

.tapscreen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 30px 16px;
  background: linear-gradient(180deg, #fff 0%, var(--brand-50) 100%);
  text-align: center;
}

.tapscreen__label {
  color: var(--ink-500);
  font-size: 12px;
}

.tapscreen__value {
  margin-top: 2px;
  font-size: 28px;
  font-weight: 600;
}

.tapscreen__waves {
  position: relative;
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  margin: 26px 0;
}

.tapscreen__waves i {
  position: absolute;
  inset: 0;
  border: 2px solid var(--brand-300);
  border-radius: 50%;
  opacity: 0;
  animation: tap-wave 2.4s ease-out infinite;
}

.tapscreen__waves i:nth-child(2) {
  animation-delay: 0.8s;
}

.tapscreen__waves i:nth-child(3) {
  animation-delay: 1.6s;
}

.tapscreen__waves .i {
  position: relative;
  width: 46px;
  height: 46px;
  color: var(--brand-600);
  stroke-width: 1.8;
}

@keyframes tap-wave {
  0% {
    opacity: 0.9;
    transform: scale(0.4);
  }

  100% {
    opacity: 0;
    transform: scale(1.15);
  }
}

.tapscreen__hint {
  color: var(--ink-700);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
}

.tap__card {
  position: absolute;
  top: 44%;
  right: -64px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 150px;
  height: 94px;
  padding: 14px;
  border-radius: 12px;
  background: var(--dusk);
  box-shadow: 0 20px 40px -16px rgb(101 8 69 / 0.5);
  color: #fff;
  animation: tap-card 3.2s ease-in-out infinite;
}

.tap__card b {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1.2px;
}

.tap__card .i {
  align-self: flex-end;
  width: 20px;
  height: 20px;
}

@keyframes tap-card {
  0%,
  100% {
    transform: translate(16px, 0) rotate(-14deg);
  }

  50% {
    transform: translate(0, -6px) rotate(-10deg);
  }
}

.tapscreen--mini {
  padding: 18px 8px;
}

.tapscreen--mini .tapscreen__value {
  font-size: 15px;
}

.tapscreen--mini .tapscreen__waves {
  width: 64px;
  height: 64px;
  margin: 12px 0;
}

.tapscreen--mini .tapscreen__waves .i {
  width: 26px;
  height: 26px;
}

.tapscreen--mini .tapscreen__hint {
  font-size: 10px;
}

@media (max-width: 600px) {

  .phone--stage {
    width: 210px;
  }

  .tap__card {
    right: -30px;
    width: 120px;
    height: 76px;
  }
}

/* The screenshot's height attribute would otherwise win over the frame's width. */
.phone img {
  height: auto;
}

/* ================================================================== */
/* Home v4: sequência centralizada (topo, três produtos, faixa de     */
/* imagem, logos, carrossel, faixa com celular, segurança, chamada).  */
/* ================================================================== */

.section h2,
.lead-hero h1,
.final-cta h2,
.pocket h2,
.banner-shot h2 {
  text-wrap: balance;
}

/* ---- Topo centralizado ---- */

.lead-hero {
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + 64px) 0 72px;
  overflow: hidden;
  background:
    radial-gradient(700px 420px at 50% 0%, rgb(251 225 231 / 0.75), transparent 70%),
    #fff;
  text-align: center;
}

.lead-hero__kicker {
  color: var(--ink-600);
  font-size: 14px;
  font-weight: 600;
}

.lead-hero__kicker span {
  margin: 0 6px;
  color: var(--brand-400);
}

.lead-hero h1 {
  max-width: 880px;
  margin: 18px auto 0;
  font-size: clamp(38px, 5.4vw, 72px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.lead-hero h1 .text-dusk {
  display: block;
}

.lead-hero__sub {
  max-width: 560px;
  margin: 22px auto 30px;
  color: var(--ink-500);
  font-size: 18px;
  line-height: 1.55;
}

.lead-hero .shot-note {
  margin-top: 12px;
  text-align: right;
}

/* ---- Três produtos ---- */

.offer__head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.offer__head h2,
.voices__head h2,
.safe h2,
.final-cta h2 {
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.offer__head p {
  margin-top: 14px;
  color: var(--ink-500);
  font-size: 17.5px;
  line-height: 1.6;
}

.offer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.offer__card h3 {
  margin-top: 24px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.offer__card > p {
  margin: 10px 0 18px;
  color: var(--ink-900);
  font-size: 15.5px;
  line-height: 1.6;
}

/* Half a pixel less on a phone keeps each card's text on two lines from 390 px up. */
@media (max-width: 600px) {
  .offer__card > p {
    font-size: 15px;
  }
}

.offer__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 20px;
}

.offer__media--pos {
  background:
    radial-gradient(260px 200px at 30% 100%, rgb(216 56 93 / 0.25), transparent 70%),
    linear-gradient(160deg, #fdf0f3 0%, #f6dbe2 100%);
}

.offer__media--wine {
  background:
    radial-gradient(280px 200px at 80% 0%, rgb(228 150 106 / 0.45), transparent 70%),
    linear-gradient(140deg, #650845 0%, #9e2842 55%, #bf364a 100%);
}

.offer__media--peach {
  background:
    radial-gradient(260px 200px at 20% 0%, rgb(255 255 255 / 0.7), transparent 70%),
    linear-gradient(160deg, #fbeee6 0%, #f3d4c3 100%);
}

.offer__device {
  position: absolute;
  bottom: -70px;
  left: 14%;
}

.offer__device .device {
  width: auto;
  height: 290px;
}

.offer__device .device img {
  width: auto;
  height: 100%;
  transform: rotate(-8deg);
}

.ui-card {
  width: 72%;
  max-width: 270px;
  padding: 18px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 48px -24px rgb(18 18 22 / 0.4);
}

.ui-card--float {
  position: absolute;
  top: 18%;
  right: 8%;
  width: 54%;
}

.ui-card__label {
  color: var(--ink-500);
  font-size: 12.5px;
}

.ui-card__value {
  margin-top: 2px;
  font-size: 24px;
  font-weight: 600;
}

.ui-card__meta {
  margin-top: 4px;
  color: var(--ink-500);
  font-size: 12px;
}

.ui-card__row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.ui-card__row b {
  display: block;
  font-size: 14px;
}

.ui-card__row small {
  display: block;
  color: var(--ink-500);
  font-size: 12px;
}

.ui-card__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--brand-50);
  color: var(--brand-600);
}

.ui-card__icon .i {
  width: 17px;
  height: 17px;
}

.ui-card__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 12px;
}

.ui-card__steps span {
  padding: 5px 0;
  border-radius: 8px;
  background: var(--ink-75);
  color: var(--ink-500);
  font-size: 11.5px;
  font-weight: 600;
  text-align: center;
}

.ui-card__steps .is-done {
  background: var(--pos-50);
  color: var(--pos-600);
}

.ui-card__steps .is-next {
  background: var(--brand-600);
  color: #fff;
}

.ui-card__bar {
  height: 8px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--ink-100);
}

.ui-card__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--dusk);
}

/* ---- Faixa de imagem com título ---- */

/* The photo is shown whole: the frame takes its proportions. The person sits in the middle, so the title
   goes to the bottom left corner, left of her, on a wine shade that fades out before it reaches her. */
.banner-shot__frame {
  position: relative;
  display: grid;
  align-items: end;
  aspect-ratio: 1797 / 875;
  overflow: hidden;
  border-radius: 28px;
  background: var(--brand-900);
}

.banner-shot__frame img {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-shot__frame::before {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  background: radial-gradient(62% 100% at 0% 100%, rgb(60 5 40 / 0.88), rgb(60 5 40 / 0.55) 48%, transparent 85%);
}

.banner-shot h2 {
  position: relative;
  z-index: 2;
  max-width: 30%;
  margin: 0 0 clamp(24px, 3.6vw, 52px) clamp(24px, 3.6vw, 52px);
  color: #fff;
  font-size: clamp(20px, 3.1vw, 46px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

/* Each sentence starts on its own line. */
.banner-shot h2 span {
  display: block;
}

/* ---- Carrossel ---- */

.voices__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 0.66fr);
  align-items: center;
  gap: 40px;
}

.voices__head p {
  margin-top: 16px;
  color: var(--ink-500);
  font-size: 17px;
  line-height: 1.6;
}

.slider {
  min-width: 0;
}

.slider__track {
  display: grid;
  grid-auto-columns: calc((100% - 32px) / 2.15);
  grid-auto-flow: column;
  gap: 24px;
  padding: 4px 2px 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
  mask-image: linear-gradient(90deg, #000 88%, transparent);
}

.slider__track::-webkit-scrollbar {
  display: none;
}

.slider__track:focus-visible {
  outline-offset: 4px;
}

.slider__item {
  scroll-snap-align: start;
}

.slider__nav {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 18px;
}

.slider__btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink-200);
  border-radius: 12px;
  background: #fff;
  color: var(--ink-800, #2c2d35);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, opacity 0.2s;
}

.slider__btn:hover:not(:disabled) {
  border-color: var(--brand-600);
  color: var(--brand-600);
}

.slider__btn:disabled {
  cursor: default;
  opacity: 0.4;
}

.slider__btn[data-dir='-1'] .i {
  transform: rotate(180deg);
}

/* ---- Faixa com o celular ---- */

/* ---- No bolso: cartão no modelo do checkout.com (o da Forrester) ----
   Medidas de lá em 1440 px: cartão escuro de 300 px de altura e cantos de 16 px. À esquerda a imagem
   (27% da largura): a mão com o celular, recortada, presa ao canto de baixo à direita, onde a foto
   termina, e a ponta do celular passando 25 px acima do cartão; no meio o título em mono, caixa alta,
   40 px, 68 px abaixo do topo, e o botão 56 px abaixo dele; à direita a lista que gira. A cada segundo
   ela sobe um item, com um leve repique, e o item da vez fica branco ao lado da seta; os de baixo ficam
   apagados e recuados para debaixo da seta (main.js). */
.pocket {
  padding: 32px 0 96px;
}

.pocket__card {
  display: grid;
  grid-template-columns: 27.2% minmax(0, 27.5%) minmax(0, 1fr);
  column-gap: 28px;
  height: 300px;
  border-radius: 16px;
  background: var(--ink-900);
  color: #fff;
}

.pocket__media {
  position: relative;
  border-radius: 16px 0 0 16px;
  background:
    radial-gradient(240px 200px at 15% 20%, rgb(228 150 106 / 0.45), transparent 70%),
    linear-gradient(140deg, #3c0528 0%, #650845 50%, #9e2842 100%);
}

/* Clips the photo at the panel's sides and bottom but not at the top, where the tip of the phone rises
   above the card. The photo ends at the bottom and on the right (the hand), so it sits on those edges;
   it is 25 px taller than the panel, and its left part, cut off on narrower panels, is empty. */
.pocket__clip {
  position: absolute;
  inset: -40px 0 0;
  overflow: hidden;
  border-bottom-left-radius: 16px;
}

.pocket__device {
  position: absolute;
  right: 0;
  bottom: 0;
  width: auto;
  height: calc(100% - 15px);
}

.pocket__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 56px;
  padding: 68px 0 32px;
}

.pocket h2 {
  font-family: var(--mono);
  font-size: 40px;
  font-weight: 700;
  line-height: 0.967;
  letter-spacing: -0.3px;
  text-transform: uppercase;
}

.pocket__copy .btn {
  border-radius: 6px;
}

/* A window on the list: the active item lines up with the title's first line, both ends fade. */
.pocket__wheel {
  display: flex;
  gap: 20px;
  height: 300px;
  padding-top: 64px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 70%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 70%, transparent 100%);
}

.pocket__arrow {
  flex: none;
  padding-top: 2px;
}

.pocket__arrow .i {
  width: 30px;
  height: 30px;
}

.pocket__list {
  position: relative;
  display: grid;
  align-content: start;
  gap: 24px;
  max-width: 400px;
  transition: transform 0.5s cubic-bezier(0.34, 1.45, 0.64, 1);
}

.pocket__list li {
  color: rgb(255 255 255 / 0.2);
  font-size: 32px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  transform: translateX(-44px);
  transition: color 0.5s, transform 0.5s cubic-bezier(0.34, 1.45, 0.64, 1);
}

.pocket__list li[data-pos='above'] {
  color: rgb(255 255 255 / 0.3);
  transform: none;
}

.pocket__list li[data-pos='0'] {
  color: #fff;
  transform: none;
}

.pocket__list li[data-pos='1'] {
  color: rgb(255 255 255 / 0.4);
  transform: translateX(-24px);
}

.pocket__list li[data-pos='2'] {
  color: rgb(255 255 255 / 0.3);
  transform: translateX(-36px);
}

/* The jump back to the first copy of the list happens with no transition, so it can't be seen. */
.pocket__wheel.is-jumping .pocket__list,
.pocket__wheel.is-jumping .pocket__list li {
  transition: none;
}

@media (max-width: 960px) {
  .pocket {
    padding-top: 8px;
  }

  .pocket__card {
    grid-template-columns: minmax(0, 1fr);
    height: auto;
  }

  .pocket__media {
    height: 400px;
    border-radius: 16px 16px 0 0;
  }

  .pocket__clip {
    border-radius: 0;
  }

  .pocket__copy {
    flex-direction: row;
    justify-content: space-between;
    gap: 24px;
    padding: 40px 40px 0;
  }

  .pocket h2 {
    font-size: clamp(24px, 5.85vw, 48px);
  }

  .pocket__wheel {
    height: 300px;
    padding: 76px 40px 0;
  }
}

@media (max-width: 600px) {
  .pocket {
    padding-bottom: 72px;
  }

  /* The panel takes the photo's proportions, so it fills the width; the phone stays inside, as there. */
  .pocket__media {
    height: auto;
    aspect-ratio: 820 / 768;
  }

  .pocket__clip {
    inset: 0;
    border-radius: 16px 16px 0 0;
  }

  .pocket__device {
    height: 100%;
  }

  .pocket__copy {
    flex-direction: column;
    gap: 24px;
    padding: 32px 20px 0;
  }

  .pocket__wheel {
    gap: 14px;
    height: 270px;
    padding: 68px 20px 0;
  }

  .pocket__arrow .i {
    width: 24px;
    height: 24px;
  }

  .pocket__list {
    gap: 20px;
  }

  .pocket__list li {
    font-size: 26px;
  }
}

/* ---- Segurança ---- */

.safe__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 72px;
}

.safe__lead {
  margin: 16px 0 30px;
  color: var(--ink-500);
  font-size: 17px;
  line-height: 1.6;
}

.safe__list {
  display: grid;
  gap: 22px;
  margin: 0 0 30px;
}

.safe__list dt {
  font-size: 18px;
  font-weight: 700;
}

.safe__list dd {
  margin: 4px 0 0;
  color: var(--ink-500);
  font-size: 15.5px;
  line-height: 1.55;
}

/* A square photo in a square frame: shown whole. The backdrop is its average colour while it loads. */
.safe__visual {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 28px;
  background: #5a4d3f;
}

.safe__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- Chamada final ---- */

.final-cta {
  padding: 104px 0;
  background: var(--ink-50);
  text-align: center;
}

.final-cta p {
  margin: 14px 0 30px;
  color: var(--ink-500);
  font-size: 17.5px;
}

.footer {
  padding: 64px 0 40px;
}

.footer__logo {
  display: inline-flex;
}

.footer__logo .logo {
  height: 30px;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.footer__col .footer__title {
  margin-bottom: 14px;
  color: var(--ink-900);
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.footer nav.footer__col a {
  padding: 7px 0;
  font-size: 14.5px;
}

.footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--ink-150);
}

/* Bottom line: copyright on the left, the social icons on the right. */
.footer__copy {
  font-size: 14px;
}

.footer__social {
  display: flex;
  gap: 28px;
}

.footer__social a,
.footer__social span {
  display: grid;
  place-items: center;
  transition: color 0.2s;
}

.footer__social .i {
  width: 21px;
  height: 21px;
  stroke-width: 1.6;
}

/* ---- Responsivo da home v4 ---- */

@media (max-width: 1100px) {
  .footer__cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .voices__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .slider__track {
    grid-auto-columns: calc((100% - 32px) / 2.2);
  }
}

@media (max-width: 960px) {

  .offer__grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
    margin: 0 auto;
  }

  .safe__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

}

@media (max-width: 600px) {
  .lead-hero {
    padding-top: calc(var(--header-h) + 40px);
    padding-bottom: 48px;
  }

  .lead-hero__sub {
    font-size: 16.5px;
  }

  .lead-hero .btn {
    width: 100%;
  }

  .lead-hero .shot-note {
    text-align: center;
  }

  .banner-shot__frame {
    display: block;
    aspect-ratio: auto;
    border-radius: 20px;
  }

  .banner-shot__frame img {
    position: static;
    display: block;
    height: auto;
  }

  .banner-shot__frame::before {
    display: none;
  }

  .banner-shot h2 {
    max-width: none;
    margin: 0;
    padding: 20px 20px 24px;
    font-size: 28px;
  }

  .slider__track {
    grid-auto-columns: 86%;
  }

  .safe__visual {
    border-radius: 20px;
  }

  .final-cta {
    padding: 72px 0;
  }

  .final-cta .btn {
    width: 100%;
  }

  .footer__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }
}

/* The highlighted word sits inside the headline line. */
.lead-hero h1 .text-dusk {
  display: inline;
}

/* The subtitle is one sentence pair, kept on a single line where the screen allows. */
.lead-hero__sub {
  max-width: none;
}

/* ---- Cabeçalho sem linha: solto sobre a página ---- */

.header,
.header.is-scrolled,
.header.is-open {
  border-bottom: 0;
  box-shadow: none;
}

/* ---- Menu: cartão com ícone, título e descrição em cada item ---- */

.dropdown {
  top: calc(100% - 8px);
  left: -12px;
  padding-top: 8px;
  transform: none;
}

@keyframes dropdown-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
}

.dropdown__list {
  min-width: 268px;
  padding: 10px;
  border: 1.5px solid var(--ink-150);
  border-radius: 16px;
  box-shadow: 0 16px 36px -18px rgb(18 18 22 / 0.18);
}

.dropdown > .dropdown__list::before {
  display: none;
}

.dropdown__link {
  justify-content: flex-start;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  white-space: normal;
}

.dropdown__link:hover {
  background: var(--ink-50);
  color: inherit;
}

.dropdown__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--ink-200);
  border-radius: 10px;
  background: var(--ink-25, #fbfbfc);
  color: var(--ink-800, #2c2d35);
  transition: border-color 0.15s, color 0.15s, background-color 0.15s;
}

.dropdown__link .dropdown__icon .i {
  width: 18px;
  height: 18px;
  color: inherit;
}

.dropdown__link:hover .dropdown__icon {
  border-color: var(--brand-300);
  background: var(--brand-50);
  color: var(--brand-600);
}

.dropdown__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.dropdown__text b {
  color: var(--ink-900);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.dropdown__text small {
  margin-top: 1px;
  color: var(--ink-500);
  font-size: 13.5px;
  line-height: 1.35;
}

@media (max-width: 1180px) {
  .dropdown {
    left: auto;
    padding: 0;
  }

  .dropdown__list {
    min-width: 0;
    padding: 0 0 12px;
    border: 0;
    box-shadow: none;
  }

  .dropdown__link {
    padding: 10px 0;
  }

  .dropdown__link:hover {
    background: none;
  }
}

/* Home headline in capitals, "MERECE" on its own line. Capitals need less negative tracking. */
.lead-hero h1 {
  max-width: none;
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

/* Desktop: the card grows to fit, so every description stays on one line. */
@media (min-width: 1181px) {
  .dropdown__list {
    width: max-content;
    min-width: 260px;
  }

  .dropdown__text small {
    white-space: nowrap;
  }
}

/* Near-black button for the home's main calls to action. */
.btn--dark {
  border-radius: 10px;
  background: var(--ink-900);
  color: #fff;
}

.btn--dark:hover {
  background: #000;
}

.btn--dark:active {
  transform: translateY(1px);
}

/* The home's top is plain white. */
.lead-hero {
  background: #fff;
}

/* ---- Direita do cabeçalho: idioma, Entrar e o botão escuro ---- */

.header__actions {
  gap: 14px;
}

.header__actions .lang {
  height: auto;
}

.lang__trigger {
  gap: 6px;
  padding: 0 8px;
  color: var(--ink-900);
}

.lang__trigger .i:first-child {
  width: 20px;
  height: 20px;
  opacity: 1;
}

.lang__trigger .i:last-child {
  width: 16px;
  height: 16px;
}

/* The language card opens toward the left, under the globe. */
.lang .dropdown {
  top: calc(100% + 6px);
  right: -12px;
  left: auto;
}

.dropdown__link.is-current {
  cursor: default;
}

.dropdown__link.is-current .dropdown__icon {
  border-color: var(--brand-300);
  background: var(--brand-50);
  color: var(--brand-600);
}

.header__login {
  padding: 0 6px;
  color: var(--ink-900);
  font-size: 15px;
  font-weight: 600;
}

.header .header__cta {
  height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  font-size: 15px;
  box-shadow: none;
}

@media (max-width: 1180px) {
  .header__actions .lang {
    display: none;
  }
}

.lang__trigger .i {
  color: var(--ink-900);
}

.nav__item.is-open > .lang__trigger .i,
.lang__trigger:hover .i {
  color: var(--brand-600);
}

/* ---- Menus simples (Recursos, Empresa, Suporte): só o nome, com uma seta ---- */

.dropdown--simple .dropdown__list {
  min-width: 220px;
  padding: 10px;
}

.dropdown--simple .dropdown__link {
  justify-content: flex-start;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 10px;
  color: var(--ink-900);
  font-size: 15px;
  font-weight: 500;
}

.dropdown--simple .dropdown__link .i {
  width: 16px;
  height: 16px;
  color: var(--ink-900);
  transition: transform 0.2s;
}

.dropdown--simple .dropdown__link:hover {
  background: var(--ink-50);
  color: var(--brand-700);
}

.dropdown--simple .dropdown__link:hover .i {
  color: var(--brand-600);
  transform: translateX(3px);
}

@media (max-width: 1180px) {
  .dropdown--simple .dropdown__list {
    padding: 0 0 12px;
  }

  .dropdown--simple .dropdown__link {
    padding: 10px 0;
  }
}

/* ---- Soluções: menu em três colunas ---- */

.dropdown--mega {
  left: -12px;
}

/* Outer grey card; the categories and links sit on a white panel, "Mais" on the grey. */
.mega3 {
  display: flex;
  width: max-content;
  padding: 4px;
  border: 1.5px solid var(--ink-150);
  border-radius: 16px;
  background: var(--ink-75);
  box-shadow: 0 16px 36px -18px rgb(18 18 22 / 0.18);
}

.mega3__main {
  display: flex;
  border-radius: 12px;
  background: #fff;
}

.mega3__cats {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 262px;
  padding: 10px;
  border-right: 1.5px solid var(--ink-100);
}

.mega3__cat .dropdown__text b {
  color: var(--ink-600);
}

.mega3__cat .dropdown__text small {
  color: var(--ink-400);
}

.mega3__cat.is-active {
  background: var(--ink-50);
}

.mega3__cat.is-active .dropdown__icon {
  border-color: var(--ink-900);
  background: var(--ink-900);
  color: #fff;
}

.mega3__cat.is-active .dropdown__text b {
  color: var(--ink-900);
}

.mega3__cat.is-active .dropdown__text small {
  color: var(--ink-500);
}

.mega3__groups {
  width: 262px;
  padding: 14px 12px;
}

.mega3__group + .mega3__group {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1.5px solid var(--ink-100);
}

.mega3__title {
  margin: 4px 12px 8px;
  color: var(--ink-500);
  font-size: 14px;
  font-weight: 500;
}

.mega3__link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ink-900);
  font-size: 15px;
  font-weight: 500;
  transition: background-color 0.15s, color 0.15s;
}

.mega3__link .i {
  width: 16px;
  height: 16px;
  flex: none;
  transition: transform 0.2s;
}

.mega3__link:hover {
  background: var(--ink-50);
  color: var(--brand-700);
}

.mega3__link:hover .i {
  color: var(--brand-600);
  transform: translateX(3px);
}

.mega3__more {
  width: 214px;
  padding: 14px 10px;
}

.mega3__more .mega3__link:hover {
  background: rgb(255 255 255 / 0.7);
}

.mega3__pane {
  animation: fade 0.2s ease-out;
}

/* Phones: the categories are plain links; the other columns would not fit. */
@media (max-width: 1180px) {
  .dropdown--mega {
    left: auto;
  }

  .mega3 {
    display: block;
    width: auto;
    padding: 0 0 12px;
    border: 0;
    background: none;
    box-shadow: none;
  }

  .mega3__main {
    display: block;
    background: none;
  }

  .mega3__cats {
    width: auto;
    padding: 0;
    border: 0;
  }

  .mega3__cat {
    padding: 10px 0;
  }

  .mega3__cat.is-active {
    background: none;
  }

  .mega3__cat.is-active .dropdown__icon {
    border-color: var(--ink-200);
    background: var(--ink-25, #fbfbfc);
    color: var(--ink-800, #2c2d35);
  }

  .mega3__cat .dropdown__text b {
    color: var(--ink-900);
  }

  .mega3__cat .dropdown__text small {
    color: var(--ink-500);
  }

  .mega3__groups,
  .mega3__more {
    display: none;
  }
}

/* Fixed column widths, so the card does not jump between categories; links never wrap. */
.mega3__link {
  white-space: nowrap;
}

.mega3__more {
  width: 244px;
}

/* ---- Rodapé escuro ---- */

.footer {
  border-top: 0;
  background: var(--ink-900);
  color: rgb(255 255 255 / 0.7);
}

.footer .footer__logo .logo {
  color: #fff;
}

.footer .footer__col .footer__title {
  color: #fff;
}

.footer nav.footer__col a {
  color: rgb(255 255 255 / 0.82);
}

.footer nav.footer__col a:hover,
.footer .footer__social a:hover {
  color: #fff;
}

.footer .footer__row {
  border-top-color: rgb(255 255 255 / 0.12);
}

.footer .footer__copy,
.footer .footer__social {
  color: rgb(255 255 255 / 0.55);
}

.footer :focus-visible {
  outline-color: var(--brand-300);
}

/* ---- Idiomas: lista simples ---- */

.lang .dropdown__list {
  min-width: 200px;
}

.lang__option {
  justify-content: space-between;
  cursor: default;
}

.dropdown--simple .lang__option.is-current {
  color: var(--ink-900);
  font-weight: 600;
}

.dropdown--simple .lang__option.is-current .i {
  color: var(--brand-600);
}

.dropdown--simple .lang__option.is-soon {
  color: var(--ink-400);
}

.lang__option small {
  color: var(--ink-400);
  font-size: 12.5px;
  font-weight: 500;
}

.dropdown--simple .lang__option:hover {
  background: none;
  color: inherit;
}

.dropdown--simple .lang__option.is-soon:hover {
  color: var(--ink-400);
}

.dropdown--simple .lang__option:hover .i {
  transform: none;
}

.lang__option small,
.lang__option .i {
  margin-left: auto;
}

/* The language button stays still: no colour change or turning arrow on hover or when open. */
.lang__trigger,
.lang__trigger .i,
.lang__trigger:hover .i,
.nav__item.is-open > .lang__trigger .i {
  color: var(--ink-900);
  transition: none;
}

.lang__trigger:hover,
.nav__item.is-open > .lang__trigger {
  background: none;
}

.nav__item.is-open > .lang__trigger .i {
  transform: none;
}

/* Home headline: "GESTÃO" goes from near-black into the Confido red (brand-700 to brand-600). */
.lead-hero h1 .text-dusk {
  background: linear-gradient(90deg, #121216 0%, #3a1018 35%, #9e2842 75%, #bf364a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* The subtitle uses the headline's colour. */
.lead-hero__sub {
  color: var(--ink-900);
}

/* Section title under the hero, in capitals like the headline. */
.offer__head {
  max-width: 980px;
}

.offer__head h2 {
  line-height: 1;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

/* One sentence per line; on wider screens the size follows the width and neither line wraps. */
.offer__head {
  max-width: none;
}

.offer__head h2 span {
  display: block;
}

/* The lead keeps one sentence per line too, except on a phone, where it flows as one paragraph. */
@media (min-width: 601px) {
  .offer__head p span {
    display: block;
  }
}

/* On narrower screens the size also shrinks with the width, so each sentence still fits on one line. */
@media (max-width: 960px) {
  .offer__head h2 {
    font-size: min(clamp(32px, 4.2vw, 52px), (100vw - 32px) / 13.1);
  }
}

@media (min-width: 961px) {
  .offer__head h2 {
    font-size: clamp(28px, 2.85vw, 44px);
    white-space: nowrap;
  }
}

/* Five footer columns, one per menu plus Segmentos. */
.footer__cols {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  .footer__cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .footer__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Soluções starts with the categories alone; the link and "Mais" columns open on hover. */
.mega3:not(.is-expanded) {
  padding: 0;
  background: #fff;
}

.mega3:not(.is-expanded) .mega3__groups,
.mega3:not(.is-expanded) .mega3__more {
  display: none;
}

.mega3:not(.is-expanded) .mega3__cats {
  border-right: 0;
}

/* A larger logo in the header; on phones it steps down so the button and menu still fit. */
.header__logo .logo {
  height: 32px;
}

@media (max-width: 600px) {
  .header__logo .logo {
    height: 28px;
  }
}

@media (max-width: 380px) {
  .header__logo .logo {
    height: 24px;
  }
}

/* Header logo: a step up from the original 26px, not as large as 32px. */
.header__logo .logo {
  height: 28px;
}

@media (max-width: 600px) {
  .header__logo .logo {
    height: 26px;
  }
}

/* Capital headlines: Satoshi at its heaviest, set tight, for a compact display look. */
.lead-hero h1,
.offer__head h2 {
  font-weight: 900;
  letter-spacing: -0.035em;
  font-kerning: normal;
  font-feature-settings: 'kern' 1;
  text-rendering: optimizeLegibility;
}

.lead-hero h1 {
  font-size: clamp(40px, 5.8vw, 82px);
  line-height: 0.9;
}

.offer__head h2 {
  line-height: 0.95;
}

/* Capital headlines in a clean neo-grotesque: Inter Tight Bold, set tight.
   The rest of the site stays in Satoshi. */
:root {
  --display: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
}

.lead-hero h1,
.offer__head h2 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.lead-hero h1 {
  font-size: clamp(40px, 5.6vw, 80px);
  line-height: 0.92;
}

/* Capital headlines a step lighter: Inter Tight SemiBold. */
.lead-hero h1,
.offer__head h2 {
  font-weight: 600;
  letter-spacing: -0.035em;
}

/* ---- Soluções: as colunas laterais abrem com movimento ---- */

@keyframes pane-in {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
}

@media (min-width: 1181px) {
  /* The card keeps its 4px frame in both states, so the categories never shift; only the colour changes. */
  .mega3,
  .mega3:not(.is-expanded) {
    padding: 4px;
    transition: background-color 0.35s ease;
  }

  .mega3:not(.is-expanded) {
    background: #fff;
  }

  .mega3__cats,
  .mega3:not(.is-expanded) .mega3__cats {
    border-right: 1.5px solid var(--ink-100);
    transition: border-color 0.3s ease;
  }

  .mega3:not(.is-expanded) .mega3__cats {
    border-right-color: transparent;
  }

  /* The side columns grow from zero width; their content keeps a fixed width, so it never rewraps mid-way. */
  .mega3__groups,
  .mega3__more,
  .mega3:not(.is-expanded) .mega3__groups,
  .mega3:not(.is-expanded) .mega3__more {
    display: block;
    overflow: hidden;
    transition:
      width 0.42s cubic-bezier(0.16, 1, 0.3, 1),
      padding 0.42s cubic-bezier(0.16, 1, 0.3, 1),
      opacity 0.3s ease;
  }

  .mega3:not(.is-expanded) .mega3__groups,
  .mega3:not(.is-expanded) .mega3__more {
    width: 0;
    padding-right: 0;
    padding-left: 0;
    opacity: 0;
  }

  .mega3__groups .mega3__pane {
    width: 238px;
  }

  .mega3__more .mega3__pane {
    width: 224px;
  }

  .mega3__pane {
    animation: pane-in 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .mega3__cat {
    transition: background-color 0.2s ease;
  }

  .mega3__cat .dropdown__icon {
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  }
}

/* A slower, softer curve so the opening reads as a glide. */
@media (min-width: 1181px) {
  .mega3__groups,
  .mega3__more,
  .mega3:not(.is-expanded) .mega3__groups,
  .mega3:not(.is-expanded) .mega3__more {
    transition:
      width 0.55s cubic-bezier(0.25, 0.8, 0.25, 1),
      padding 0.55s cubic-bezier(0.25, 0.8, 0.25, 1),
      opacity 0.4s ease 0.05s;
  }

  .mega3__pane {
    animation: pane-in 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  }
}

/* Less air between the hero picture and the section below it. */
.lead-hero {
  padding-bottom: 40px;
}

.section.offer {
  padding-top: 64px;
}

@media (max-width: 600px) {
  .lead-hero {
    padding-bottom: 32px;
  }

  .section.offer {
    padding-top: 48px;
  }
}

/* The line under "Enxergue com clareza…" uses the title's colour. */
.offer__head p {
  color: var(--ink-900);
}

/* "GESTÃO": mostly black, the Confido red only at the very end, and deeper. */
.lead-hero h1 .text-dusk {
  background: linear-gradient(90deg, #121216 0%, #1c1117 55%, #5a1424 84%, #9e2842 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---- Blog (carrossel da home) ---- */

.voices__head h2 {
  font-family: var(--display);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.voices__head p {
  color: var(--ink-900);
}

/* One line per word group, as written. */
.voices__head h2 span {
  display: block;
}

/* Side by side with the carousel, the text is centred on the cards rather than on cards plus arrows,
   which lifts it 31 px (the arrows row is 18 px + 44 px). */
@media (min-width: 961px) {
  .voices__head {
    margin-bottom: 62px;
  }
}

/* A post card: wide rounded cover, title, a summary of up to three lines, and a footer with the date,
   the time and the "Ler artigo" button. With a link, the title's link covers the whole card. */
.post {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.post__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  background: var(--ink-75);
  object-fit: cover;
}

.post__title {
  margin-top: 20px;
  color: var(--ink-900);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
  transition: color 0.2s;
}

.post__title a::after {
  content: '';
  position: absolute;
  inset: 0;
}

.post__excerpt {
  display: -webkit-box;
  margin-top: 10px;
  overflow: hidden;
  color: var(--ink-700);
  font-size: 15px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

/* Date and time on the left, the button on the right; on a narrow card the button drops below. */
.post__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
}

.post__meta {
  display: flex;
  gap: 14px;
  color: var(--ink-500);
  font-size: 13.5px;
}

.post__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.post__meta .i {
  width: 16px;
  height: 16px;
}

/* "Ler artigo →" as a text link: the brand gradient runs through the letters, and the arrow takes the
   colour where the gradient ends. */
.post__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.post__cta span {
  background: linear-gradient(90deg, var(--brand-600) 0%, var(--brand-900) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.post__cta .i {
  width: 16px;
  height: 16px;
  color: var(--brand-900);
  transition: transform 0.2s;
}

.post:has(a):hover .post__title {
  color: var(--brand-700);
}

.post:has(a):hover .post__cta .i {
  transform: translateX(3px);
}

.post:has(a:focus-visible) {
  border-radius: 14px;
  outline: 2px solid var(--brand-600);
  outline-offset: 6px;
}

/* On a phone the footer is a little tighter, so the date, the time and the button share one line. */
@media (max-width: 600px) {
  .post__foot {
    gap: 10px;
  }

  .post__meta {
    gap: 10px;
    font-size: 13px;
  }

  .post__cta {
    font-size: 14px;
  }
}

/* ---- Blog: página com todos os posts ---- */

.post__tag {
  margin-bottom: 12px;
  color: var(--brand-600);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* The latest post on the blog page: cover on the left, text on the right, on a computer. */
.post--lead .post__title {
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.post--lead .post__excerpt {
  font-size: 17px;
  -webkit-line-clamp: 4;
  line-clamp: 4;
}

@media (min-width: 961px) {
  .post--lead {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    grid-template-rows: auto auto auto 1fr;
    align-content: center;
    column-gap: 56px;
  }

  .post--lead .post__img {
    grid-row: 1 / -1;
    grid-column: 1;
  }

  .post--lead > :not(.post__img) {
    grid-column: 2;
  }

  .post--lead .post__tag {
    align-self: end;
  }

  .post--lead .post__title {
    margin-top: 0;
  }

  .post--lead .post__foot {
    align-self: start;
    margin-top: 0;
    padding-top: 28px;
  }
}

.blog__heading {
  margin: 88px 0 32px;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.section--tint .blog__heading {
  margin-top: 0;
}

.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px 28px;
}

@media (max-width: 960px) {
  .blog__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog__heading {
    margin-top: 64px;
  }
}

@media (max-width: 600px) {
  .blog__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }
}

/* ---- Blog: página de um post ----
   Título, resumo e dados do post numa coluna de leitura de 760 px, a capa mais larga logo abaixo,
   e o texto de novo na coluna de leitura. */

.article__head {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 0;
}

.article__head .crumbs {
  margin-bottom: 36px;
}

.article__head h1 {
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.article__lead {
  margin-top: 20px;
  color: var(--ink-700);
  font-size: clamp(18px, 1.6vw, 20px);
  line-height: 1.55;
}

.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  color: var(--ink-500);
  font-size: 14px;
}

.article__meta > span,
.article__meta time,
.article__meta time span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article__meta time {
  gap: 22px;
}

.article__meta .i {
  width: 16px;
  height: 16px;
}

.article__cover {
  display: block;
  width: 100%;
  max-width: 1088px;
  height: auto;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  background: var(--ink-75);
  object-fit: cover;
}

.article__body {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 0 96px;
  color: var(--ink-800);
  font-size: 18px;
  line-height: 1.75;
}

.article__body > * + * {
  margin-top: 22px;
}

.article__body h2 {
  margin-top: 52px;
  color: var(--ink-900);
  font-size: clamp(23px, 2.2vw, 28px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.article__body h2 + * {
  margin-top: 16px;
}

.article__body ul,
.article__body ol {
  display: grid;
  gap: 12px;
  padding-left: 24px;
}

.article__body ul {
  list-style: disc;
}

.article__body ol {
  list-style: decimal;
}

.article__body li::marker {
  color: var(--brand-600);
  font-weight: 700;
}

.article__body strong {
  color: var(--ink-900);
  font-weight: 700;
}

.article__body a:not(.text-link):not(.share__btn) {
  color: var(--brand-600);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article__body a:not(.text-link):not(.share__btn):hover {
  color: var(--brand-700);
}

.article__tip {
  margin-top: 36px;
  padding: 22px 26px;
  border-left: 3px solid var(--brand-600);
  border-radius: 0 14px 14px 0;
  background: var(--brand-50);
}

.article__tip-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  color: var(--brand-700);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article__tip-title .i {
  width: 18px;
  height: 18px;
}

/* Back to the blog on the left, the share buttons on the right. */
.article__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 56px !important;
  padding-top: 28px;
  border-top: 1px solid var(--ink-150);
}

.text-link--back .i {
  order: -1;
  transform: rotate(180deg);
}

.text-link--back:hover .i {
  transform: rotate(180deg) translateX(3px);
}

.share {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-500);
  font-size: 14px;
}

.share > span {
  margin-right: 4px;
}

.share__btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--ink-150);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-700);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.share__btn:hover {
  border-color: var(--brand-600);
  color: var(--brand-600);
}

.share__btn .i {
  width: 18px;
  height: 18px;
}

.share__btn.is-done {
  border-color: var(--brand-600);
  color: var(--brand-600);
}

@media (max-width: 600px) {
  .article__head {
    padding: 28px 0;
  }

  .article__head .crumbs {
    margin-bottom: 24px;
  }

  .article__cover {
    border-radius: 14px;
  }

  .article__body {
    padding: 36px 0 72px;
    font-size: 17px;
  }

  .article__tip {
    padding: 18px 20px;
  }
}

/* Home headline a little smaller. */
.lead-hero h1 {
  font-size: clamp(36px, 4.8vw, 68px);
}

/* ---- Topo da home nas medidas de referência (1440 px) ----
   19 px do título até o subtítulo e 33 px até o botão (48 px de altura). */

.lead-hero {
  padding-top: calc(var(--header-h) + 50px);
}

.lead-hero h1 {
  max-width: 800px;
  margin: 0 auto;
  font-size: clamp(34px, 4.45vw, 64px);
  line-height: 0.9;
}

.lead-hero__sub {
  margin: 19px auto 33px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}

.lead-hero .btn--lg {
  height: 48px;
  padding: 0 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
}

@media (max-width: 600px) {
  .lead-hero {
    padding-top: calc(var(--header-h) + 36px);
  }
}

/* Offer card with a ready-made image: it fills the 4:3 frame (the square art loses a strip top and bottom). */
.offer__media--photo {
  background: #f6dbe2;
}

.offer__media--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Machine photo: the photo's average colour as the backdrop while it loads. */
.offer__media--machine {
  background: #816f71;
}

/* A light photo (white wall): a hairline keeps the card's edge visible on the white page, and its
   average colour is the backdrop while it loads. */
.offer__media--light {
  background: #c4bebc;
}

/* The person's head is near the top of the square photo, so the 4:3 crop takes more from the bottom. */
.offer__media--light img {
  object-position: center 15%;
}

.offer__media--light::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgb(18 18 22 / 0.08);
  pointer-events: none;
}

/* ---- Topo da home: colunas de cards subindo e descendo dos lados do texto ----
   No desktop são duas colunas de cada lado, as de fora cortadas pela borda da tela, e o texto no meio.
   Abaixo de 1024 px o texto vem primeiro e as colunas ficam numa faixa logo abaixo.

   Medidas do checkout.com: o topo começa 80 px abaixo do início da página e tem a altura da tela;
   título, subtítulo e botão ficam centralizados nele. Em 1440 × 900 isso põe o título em y 310, o
   subtítulo em 558 e o botão em 702. */

.lead-hero--reel {
  position: relative;
  display: grid;
  align-items: center;
  height: calc(80px + max(100svh, 640px));
  padding: 80px 0 0;
}

/* Title 80 px on 72 px lines at 1440 (90 px from 1600, 66 px below 1300), 32 px to the subtitle (16 px on
   24 px lines, at most 399 px wide), 48 px to the button (48 px tall, 24 px side padding, 6 px corners). */
.lead-hero--reel h1 {
  font-size: 66px;
  line-height: 0.9;
}

.lead-hero--reel .lead-hero__sub {
  max-width: 399px;
  margin: 32px auto 48px;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.lead-hero--reel .btn--lg {
  width: auto;
  height: 48px;
  padding: 0 24px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
}

@media (min-width: 1300px) {
  .lead-hero--reel h1 {
    font-size: 80px;
  }
}

@media (min-width: 1600px) {
  .lead-hero--reel h1 {
    font-size: 90px;
  }
}

.lead-hero__copy {
  position: relative;
  z-index: 1;
}

/* Measures from checkout.com at 1440 px: 230 px columns (16vw), 40 px apart, and 701 px between the two
   inner columns (the centre track plus its two gaps). The grid is wider than the screen and centred, so the
   outer columns are cut at both edges.
   Below 1300 px the columns are 17vw, as there. It starts under the header, and the ends fade into the
   white. */
.reel {
  --reel-col: 17vw;
  position: absolute;
  inset: var(--header-h) 0 0;
  display: grid;
  grid-template-columns: var(--reel-col) var(--reel-col) clamp(480px, 48.7vw - 80px, 640px) var(--reel-col) var(--reel-col);
  justify-content: center;
  gap: 40px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 10%, #000 90%, transparent 100%);
}

@media (min-width: 1300px) {
  .reel {
    --reel-col: 16vw;
  }
}

.reel__col:nth-child(3) {
  grid-column: 4;
}

.reel__col:nth-child(4) {
  grid-column: 5;
}

/* The bottom padding equals the gap, so both halves are the same height and -50% loops cleanly. */
.reel__track {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-bottom: 40px;
  animation: reel-up 64s linear var(--delay, 0s) infinite;
  will-change: transform;
}

.reel__col--down .reel__track {
  animation-name: reel-down;
}

/* ---- Cards das colunas: todos quadrados, do mesmo tamanho ----
   Ilustrações do que o painel faz, com valores de exemplo. Tudo dentro do card é medido em cqw
   (porcentagem da largura do card), então o desenho é o mesmo de 137 px no celular a 307 px em 1920. */

.rc {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 20px;
  container-type: inline-size;
}

.rc--pink {
  background:
    radial-gradient(70% 60% at 25% 100%, rgb(216 56 93 / 0.28), transparent 70%),
    linear-gradient(160deg, #fdf0f3 0%, #f6dbe2 100%);
}

.rc--wine {
  background:
    radial-gradient(75% 60% at 85% 0%, rgb(228 150 106 / 0.5), transparent 70%),
    linear-gradient(140deg, #650845 0%, #9e2842 55%, #bf364a 100%);
}

.rc--peach {
  background:
    radial-gradient(70% 60% at 20% 0%, rgb(255 255 255 / 0.7), transparent 70%),
    linear-gradient(160deg, #fbeee6 0%, #f3d4c3 100%);
}

.rc--ink {
  background:
    radial-gradient(80% 60% at 80% 100%, rgb(158 40 66 / 0.55), transparent 70%),
    linear-gradient(160deg, #2c2d35 0%, #121216 100%);
}

.rc--mist {
  background: linear-gradient(160deg, #f7f7f6 0%, #e9ebf2 100%);
  outline: 1px solid rgb(18 18 22 / 0.06);
  outline-offset: -1px;
}

.rc__panel {
  width: 78cqw;
  padding: 7cqw;
  border-radius: 6cqw;
  background: #fff;
  box-shadow: 0 8cqw 16cqw -8cqw rgb(18 18 22 / 0.35);
  color: var(--ink-900);
  text-align: left;
}

.rc__panel--dark {
  background: rgb(255 255 255 / 0.06);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1);
  color: #fff;
}

.rc__head {
  display: flex;
  align-items: center;
  gap: 4cqw;
}

.rc__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 13cqw;
  height: 13cqw;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand-600);
}

.rc__icon .i {
  width: 6.5cqw;
  height: 6.5cqw;
}

.rc__head b {
  display: block;
  font-size: 5.6cqw;
  font-weight: 600;
  line-height: 1.2;
}

.rc__head small {
  display: block;
  margin-top: 0.8cqw;
  color: var(--ink-500);
  font-size: 4.4cqw;
  line-height: 1.2;
}

.rc__label {
  color: var(--ink-500);
  font-size: 4.6cqw;
  line-height: 1.2;
}

.rc__panel--dark .rc__label {
  color: rgb(255 255 255 / 0.7);
}

.rc__value {
  margin-top: 5cqw;
  font-family: var(--mono);
  font-size: 8.6cqw;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.rc__label + .rc__value {
  margin-top: 2.4cqw;
}

.rc__bars {
  display: flex;
  align-items: flex-end;
  gap: 2cqw;
  height: 16cqw;
  margin-top: 5cqw;
}

.rc__bars i {
  flex: 1;
  border-radius: 1cqw 1cqw 0 0;
  background: var(--brand-200);
}

.rc__bars i:last-child {
  background: var(--brand-600);
}

.rc__barcode {
  display: block;
  height: 11cqw;
  margin-top: 6cqw;
  background: repeating-linear-gradient(90deg, var(--ink-900) 0 0.7cqw, transparent 0.7cqw 1.5cqw, var(--ink-900) 1.5cqw 2.8cqw, transparent 2.8cqw 3.6cqw, var(--ink-900) 3.6cqw 4cqw, transparent 4cqw 5.2cqw);
}

.rc__btn {
  display: block;
  margin-top: 6cqw;
  padding: 3.4cqw 0;
  border-radius: 3cqw;
  background: var(--ink-900);
  color: #fff;
  font-size: 4.8cqw;
  font-weight: 600;
  text-align: center;
}

.rc__code {
  display: flex;
  gap: 1.8cqw;
  margin-top: 5cqw;
}

.rc__code i {
  display: grid;
  flex: 1;
  place-items: center;
  height: 13cqw;
  border-radius: 2.4cqw;
  background: rgb(255 255 255 / 0.1);
  font-family: var(--mono);
  font-size: 6cqw;
  font-style: normal;
  font-weight: 600;
}

.rc__steps {
  display: flex;
  gap: 2cqw;
  margin-top: 6cqw;
}

.rc__steps i {
  flex: 1;
  padding: 2.6cqw 0;
  border-radius: 2.4cqw;
  background: var(--ink-75);
  color: var(--ink-500);
  font-size: 4.4cqw;
  font-style: normal;
  font-weight: 600;
  text-align: center;
}

.rc__steps .is-done {
  background: #e8f6ee;
  color: #1f7a4a;
}

.rc__steps .is-next {
  background: var(--brand-600);
  color: #fff;
}

.rc__bubble {
  display: block;
  margin-top: 5cqw;
  padding: 3.4cqw 4cqw;
  border-radius: 3.4cqw 3.4cqw 3.4cqw 1cqw;
  background: #e7f8ee;
  color: var(--ink-800);
  font-size: 4.6cqw;
  line-height: 1.35;
}

.rc__split {
  display: flex;
  gap: 1.6cqw;
  margin-top: 5cqw;
}

.rc__split b {
  flex: 4;
  padding: 3cqw;
  border-radius: 2.4cqw;
  background: var(--brand-600);
  color: #fff;
  font-size: 4.4cqw;
  font-weight: 600;
  white-space: nowrap;
}

.rc__split b + b {
  flex: 1;
  background: var(--brand-100);
  color: var(--brand-900);
}

/* A photo fills its card; the square frame trims at most a thin strip from a nearly square picture. */
.rc__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rc__device {
  width: auto;
  height: 84cqw;
  transform: translateY(10cqw) rotate(-8deg);
  filter: drop-shadow(0 6cqw 8cqw rgb(0 0 0 / 0.35));
}

@keyframes reel-up {
  to {
    transform: translateY(-50%);
  }
}

@keyframes reel-down {
  from {
    transform: translateY(-50%);
  }

  to {
    transform: translateY(0);
  }
}

/* The subtitle keeps one sentence per line on wider screens. */
.lead-hero__sub span {
  display: block;
}

/* ---- Parceiros comerciais: faixa própria antes dos depoimentos ----
   Os logos rolam em loop (a lista se repete e a animação anda metade da trilha). Todos aparecem em preto:
   brightness(0) pinta de preto e mantém a transparência; um logo com fundo branco (onWhite em site.mjs)
   viraria um retângulo, então nele os cinzas médios e escuros viram preto e o branco continua branco. */

.partners {
  padding: 72px 0 40px;
  overflow: hidden;
  background: #fff;
}

.partners__title {
  margin: 0;
  padding: 18px 16px;
  border-top: 1px solid var(--ink-150);
  border-bottom: 1px solid var(--ink-100);
  color: var(--ink-600);
  font-size: 15px;
  font-weight: 500;
  text-align: center;
}

.partners__title b {
  color: var(--ink-900);
  font-weight: 700;
}

.partners__marquee {
  padding: 30px 0;
  border-bottom: 1px solid var(--ink-150);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}

.partners__track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  padding-right: 48px;
  animation: partners-scroll var(--duration, 36s) linear infinite;
}

.partners__track li {
  flex: none;
}

/* Each logo's size comes from components.mjs (same visible area for all), and the row centres them. */
.partners__track img {
  display: block;
  object-fit: contain;
  filter: brightness(0);
}

.partners__track img.is-on-white {
  filter: grayscale(1) brightness(0.622) contrast(4.27);
}

/* A white logo on a coloured background (onColor in site.mjs) is inverted instead: the white drawing turns
   black, and the background, inverted to a light grey, is pushed up to pure white (backgrounds as dark as
   half grey still get there), so no box shows around it. */
.partners__track img.is-on-color {
  filter: grayscale(1) invert(1) brightness(2.6) contrast(1.4);
}

/* Reserved slots while the real logos are not in site.mjs yet. */
.partners__slot {
  display: grid;
  place-items: center;
  width: 150px;
  height: 56px;
  border: 1.5px dashed var(--ink-200);
  border-radius: 12px;
  color: var(--ink-400);
  font-size: 12.5px;
  font-weight: 500;
}

@keyframes partners-scroll {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .partners__marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .partners__track {
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
    padding: 0 16px;
    animation: none;
  }

  .partners__track [data-repeat] {
    display: none;
  }
}

@media (max-width: 600px) {
  .partners {
    padding-top: 48px;
  }

  .partners__track {
    gap: 28px;
    padding-right: 28px;
  }

  .partners__slot {
    width: 130px;
  }
}

@media (max-width: 1023px) {
  .lead-hero--reel {
    display: block;
    height: auto;
    padding: calc(var(--header-h) + 48px) 0 0;
  }

  .reel {
    position: relative;
    inset: auto;
    width: 140%;
    height: 460px;
    margin: 44px 0 0 -20%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: normal;
    gap: 14px;
  }

  .reel__col:nth-child(3),
  .reel__col:nth-child(4) {
    grid-column: auto;
  }

  .reel__track {
    gap: 14px;
    padding-bottom: 14px;
  }

  .rc {
    border-radius: 14px;
  }
}

@media (max-width: 600px) {
  .lead-hero--reel {
    padding-top: calc(var(--header-h) + 36px);
  }

  .lead-hero--reel h1 {
    font-size: 40px;
  }

  /* On a phone the subtitle's lines flow as one paragraph; the spaces between them are in the markup. */
  .lead-hero__sub span {
    display: inline;
  }

  .reel {
    width: 150%;
    height: 380px;
    margin: 32px 0 0 -25%;
    gap: 12px;
  }

  .reel__track {
    gap: 12px;
    padding-bottom: 12px;
  }

  .rc {
    border-radius: 12px;
  }
}

/* Without motion the columns stand still. */
@media (prefers-reduced-motion: reduce) {
  .reel__track {
    animation: none;
  }
}

/* ---- Topo da home: entrada ao carregar a página (como no checkout.com) ----
   Desktop: as três linhas do título sobem uma a uma (0,2 s entre elas), os cards das colunas abrem de um
   círculo, em pares espelhados, depois o subtítulo (0,9 s) e o botão (1,1 s) aparecem.
   Celular e tablet: antes disso há uma introdução de 3,2 s com fotos surgindo pela tela e subindo, e o título
   entra quando elas estão saindo. Tudo é CSS e roda sozinho; quem prefere menos movimento vê a página pronta. */

.lead-hero--reel {
  --hh-start: 0.3s;
}

.lead-hero--reel h1 .hl {
  display: block;
  /* Clips only below the line, so the rising text appears from nothing; accents above stay visible. */
  clip-path: inset(-1em -1em -0.15em -1em);
}

.lead-hero--reel h1 .hl__in {
  display: block;
  animation: hh-move 0.6s cubic-bezier(0.215, 0.61, 0.355, 1) var(--hh-start) both;
}

.lead-hero--reel h1 .hl:nth-child(2) .hl__in {
  animation-delay: calc(var(--hh-start) + 0.2s);
}

.lead-hero--reel h1 .hl:nth-child(3) .hl__in {
  animation-delay: calc(var(--hh-start) + 0.4s);
}

.lead-hero--reel .lead-hero__sub {
  animation: hh-fade 0.6s ease calc(var(--hh-start) + 0.9s) both;
}

.lead-hero--reel .lead-hero__copy > .btn {
  animation: hh-fade 0.6s ease calc(var(--hh-start) + 1.1s) both;
}

/* Each card opens from a circle a quarter of its size, fading in over the first instant. */
.lead-hero--reel .rc {
  animation:
    rc-open 0.7s cubic-bezier(0.33, 1, 0.68, 1) calc(var(--hh-start) + var(--rd, 0.3s)) both,
    hh-fade 0.15s linear calc(var(--hh-start) + var(--rd, 0.3s)) both;
}

@keyframes hh-move {
  from {
    transform: translate3d(0, 150%, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes hh-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes rc-open {
  from {
    clip-path: circle(25% at 50% 50%);
  }

  to {
    clip-path: circle(70.72% at 50% 50%);
  }
}

/* Intro (phones and tablets only). */
.intro {
  display: none;
}

@media (max-width: 1023px) {
  .lead-hero--reel {
    --hh-start: 3.2s;
  }

  /* The cards in the band below the text open once the intro photos have left and the button is in. */
  .lead-hero--reel .rc {
    animation-delay: calc(var(--hh-start) + 1s + var(--rd, 0.3s));
  }

  .intro {
    position: absolute;
    z-index: 0;
    top: var(--header-h);
    right: 0;
    left: 0;
    display: block;
    height: calc(100svh - var(--header-h));
    overflow: hidden;
    pointer-events: none;
  }

  .intro__tile {
    position: absolute;
    top: var(--y);
    left: var(--x);
    width: var(--w);
    aspect-ratio: 1;
    animation: intro-away 3.6s cubic-bezier(0.55, 0, 0.7, 0.4) 1.4s both;
  }

  .intro__tile img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: var(--ink-75);
    object-fit: cover;
    animation:
      rc-open 0.7s cubic-bezier(0.33, 1, 0.68, 1) var(--d) both,
      hh-fade 0.15s linear var(--d) both;
  }

  .lead-hero__copy {
    z-index: 1;
  }
}

/* The photos drift up slowly, then speed off the top and fade as the title arrives. */
@keyframes intro-away {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  70% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate3d(0, -85svh, 0) scale(0.9);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lead-hero--reel h1 .hl__in,
  .lead-hero--reel .lead-hero__sub,
  .lead-hero--reel .lead-hero__copy > .btn,
  .lead-hero--reel .rc {
    animation: none;
  }

  .intro {
    display: none;
  }
}
