/* Página de venda. Mesma marca do sistema: canto inferior direito arredondado. */
@font-face {
  font-family: "Hanken Grotesk";
  font-weight: 400 700;
  font-display: swap;
  src: url(fontes/hanken-grotesk.woff2) format("woff2");
}
:root {
  --ink: #171518;
  --red: #d0142f;
  --g1: #f5f4f5;
  --g2: #dfdde0;
  --g3: #67636a;
  --curve: 0 0 14px 0;
  --gap: clamp(72px, 10vw, 136px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; color: var(--ink); background: #fff; font: 400 18px/1.55 "Hanken Grotesk", Arial, sans-serif; }
h1, h2, p, dl, dd, figure, ul { margin: 0; padding: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }
h1 { font-size: clamp(40px, 6.4vw, 88px); line-height: 1; letter-spacing: -0.045em; font-weight: 700; text-wrap: balance; }
h2 { font-size: clamp(30px, 4vw, 52px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 700; text-wrap: balance; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 14px; z-index: 2; }

.bar { position: sticky; top: 0; z-index: 5; background: #fff; border-bottom: 1px solid var(--g2); }
.top { display: flex; align-items: center; justify-content: space-between; padding-block: 14px; }
.top nav { display: flex; align-items: center; gap: 30px; font-size: 16px; }
.top nav a { text-decoration: none; }
.top nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.top .ink { background: var(--ink); color: #fff; border-radius: var(--curve); padding: 11px 20px; font-weight: 600; }
.red, .white { display: inline-block; text-decoration: none; font-weight: 700; padding: 17px 28px; border-radius: 0 0 18px 0; }
.red { background: var(--red); color: #fff; }
.red:hover { background: #ad0f26; }
.white { background: #fff; color: var(--ink); }
.white:hover { background: var(--ink); color: #fff; }

.hero { display: grid; grid-template-columns: 1.75fr 1fr; gap: 56px; align-items: end; padding-top: clamp(36px, 5vw, 72px); }
.hero-side p { margin-bottom: 26px; }

.try { margin-top: clamp(44px, 5vw, 72px); }
.try-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 24px; flex-wrap: wrap; margin-bottom: 14px; }
.try-head h2 { font-size: 20px; letter-spacing: -0.01em; line-height: 1.3; }
.try-head p { color: var(--g3); font-size: 16px; }
.bay { position: relative; background: #efedee; border: 5px solid #cfd5d4; border-bottom: 0; }
.bay::after { content: ""; position: absolute; left: -5px; right: -5px; top: 100%; height: 12px; background: #a39da6; }
.bay button { position: absolute; bottom: 0; display: flex; padding: 0; border: 0; background: none; cursor: pointer; }
.bay button img { height: 100%; object-fit: contain; object-position: bottom; max-width: none; }
.bay button[aria-pressed="true"] { outline: 3px solid var(--ink); box-shadow: 0 0 0 5px #fff; z-index: 1; }
.bay button:focus-visible { outline: 3px solid var(--red); }
.rule { position: relative; margin-top: 30px; height: 30px; border-inline: 1px solid var(--ink); }
.rule::before { content: ""; position: absolute; inset: 14px 0 auto; border-top: 1px solid var(--g2); }
.rule i { position: absolute; left: 0; top: 12px; height: 5px; background: var(--ink); transition: width 0.2s; }
.rule span { position: absolute; left: 50%; top: 2px; transform: translateX(-50%); background: #fff; padding-inline: 12px; font-size: 15px; font-weight: 600; white-space: nowrap; }
.panel { display: grid; grid-template-columns: auto 1fr; gap: 12px 56px; align-items: center; margin-top: 20px; }
.step strong { display: block; margin-bottom: 8px; min-width: 200px; }
.count { display: inline-flex; align-items: center; background: var(--ink); color: #fff; border-radius: var(--curve); }
.count button { width: 48px; height: 48px; border: 0; background: none; color: inherit; font: 500 24px/1 inherit; font-size: 24px; cursor: pointer; }
.count button:disabled { opacity: 0.35; cursor: default; }
.count button:focus-visible { outline-color: var(--red); outline-offset: -3px; }
.count output { min-width: 96px; text-align: center; font-weight: 600; }
.panel dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.panel dt { color: var(--g3); font-size: 15px; }
.panel dd { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
#warn { grid-column: 1 / -1; min-height: 28px; color: #8c1d18; font-weight: 600; }

.case { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px 80px; align-items: center; margin-top: var(--gap); margin-bottom: var(--gap); }
.case p { margin-top: 18px; }
.case .red { margin-top: 28px; }
.case table { width: 100%; border-collapse: collapse; }
.case thead th { text-align: right; font-size: 16px; font-weight: 400; color: var(--g3); padding-bottom: 10px; }
.case thead th:first-child { text-align: left; }
.case tbody tr { border-top: 2px solid var(--ink); }
.case tbody th { text-align: left; font-size: 22px; line-height: 1.25; padding-block: 24px; padding-right: 16px; }
.case small { display: block; margin-top: 6px; font-size: 16px; font-weight: 400; color: var(--g3); }
.case td { text-align: right; font-size: clamp(24px, 3vw, 40px); font-weight: 700; letter-spacing: -0.03em; white-space: nowrap; padding-left: 16px; }
.case td span { font-size: 16px; font-weight: 400; letter-spacing: 0; color: var(--g3); }
.case .source a { color: inherit; }
.case .source { border-top: 1px solid var(--g2); margin: 0; padding-top: 14px; font-size: 15px; color: var(--g3); }
.why { margin-top: calc(var(--gap) * 0.6); background: var(--ink); color: #fff; border-radius: 0 0 64px 0; }
.why .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; padding-block: clamp(64px, 8vw, 112px); align-items: end; }
.why-text { display: grid; gap: 18px; }

.lead { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.gain, .editor, .gear, .store, .mid, .who, .team, .how, .faq { margin-top: var(--gap); }
.editor video { display: block; width: 100%; height: auto; border: 1px solid var(--g2); border-radius: 0 0 32px 0; }
.gain .facts { font-size: 18px; }
.mid { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; padding-block: 48px; border-block: 2px solid var(--ink); }
.mid h2 { font-size: clamp(28px, 3.2vw, 42px); }
.how ol { list-style: none; counter-reset: n; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 40px; }
.how li { counter-increment: n; border-top: 4px solid var(--ink); padding-top: 18px; color: var(--g3); }
.how li strong { display: block; color: var(--ink); font-size: 22px; letter-spacing: -0.02em; }
.how li strong::before { content: counter(n) ". "; }
.float { display: none; }
.editor img { border: 1px solid var(--g2); border-radius: 0 0 32px 0; }
figcaption { color: var(--g3); font-size: 15px; margin-top: 10px; }
.facts { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 48px; margin-top: 36px; }
.facts li { font-size: 17px; color: var(--g3); }
.facts strong { display: block; color: var(--ink); }

.gear { background: #f9f9f9; padding-block: clamp(56px, 7vw, 96px); }
.strip { overflow-x: auto; padding-inline: max(20px, (100vw - 1240px) / 2); }
.strip img { width: max(900px, 100%); max-width: none; }
.kinds { margin-top: 32px; color: var(--g3); max-width: 1240px; }

.sheets { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.sheets img { border: 1px solid var(--g2); }
.after { margin-top: 24px; color: var(--g3); }

.who dl, .team dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 64px; margin-top: 44px; }
.who dl div, .team dl div { display: grid; grid-template-columns: 1fr 1.5fr; gap: 20px; padding-block: 22px; border-top: 1px solid var(--g2); }
.who dt, .team dt { font-weight: 700; }
.who dd, .team dd { color: var(--g3); }

.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 32px 64px; align-items: start; }
details { border-top: 1px solid var(--g2); }
details:last-child { border-bottom: 1px solid var(--g2); }
summary { cursor: pointer; padding-block: 20px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 24px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { color: var(--g3); padding-bottom: 22px; max-width: 62ch; }

.end { margin-top: var(--gap); background: var(--red); color: #fff; border-radius: 0 0 64px 0; }
.end .wrap { padding-block: clamp(64px, 9vw, 120px); }
.end h2 { font-size: clamp(34px, 5.2vw, 72px); max-width: 17ch; margin-bottom: 36px; }
.end p { margin-top: 14px; }
footer { display: flex; align-items: center; gap: 16px 32px; flex-wrap: wrap; padding-block: 40px; font-size: 16px; }
footer small { margin-left: auto; color: var(--g3); font-size: 15px; }

@media (max-width: 900px) {
  .only-wide { display: none; }
  .how ol { grid-template-columns: 1fr 1fr; }
  .hero, .why .wrap, .lead, .faq, .case { grid-template-columns: 1fr; gap: 24px; }
  .panel { grid-template-columns: 1fr; }
  .panel dl { grid-template-columns: 1fr 1fr; gap: 16px; }
  .facts, .sheets, .who dl, .team dl { grid-template-columns: 1fr; }
  footer small { margin-left: 0; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .who dl div, .team dl div { grid-template-columns: 1fr; gap: 4px; }
  .case tbody th { font-size: 19px; padding-block: 18px; padding-right: 8px; }
  .case small { font-size: 15px; }
  .case td { padding-left: 10px; }
  .red, .white { display: block; text-align: center; }
  .why, .end { border-radius: 0 0 36px 0; }
  .top .ink { display: none; }
  .how ol { grid-template-columns: 1fr; }
  .mid .red { width: 100%; }
  .float { display: block; position: fixed; inset: auto 12px 12px; z-index: 6; background: var(--red); color: #fff; text-align: center; text-decoration: none; font-weight: 700; padding: 15px; border: 2px solid #fff; border-radius: 0 0 18px 0; transform: translateY(160%); visibility: hidden; transition: transform 0.2s, visibility 0.2s; }
  .float.on { transform: none; visibility: visible; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rule i, .float { transition: none; }
}
