/* ══════════════════════════════════════════════════════════════════════════
   SEU HOTSPOT — landing editorial refinada
   Paleta oficial da marca:
     marfim #EFE8E2 (fundo) · bege #DDD5CC (bordas) · branco #FFFFFF (cards)
     grafite #393631 (texto) · preto profundo #17140F (títulos/fechamento)
     dourado #9E7F58 (ação) · dourado claro #B39A79 (hover/detalhes)
   Tipografia: Fraunces (display serif) + Archivo (corpo)
   ══════════════════════════════════════════════════════════════════════════ */

:root {
  --marfim: #EFE8E2;
  --bege: #DDD5CC;
  --branco: #FFFFFF;
  --grafite: #393631;
  --preto: #17140F;
  --ouro: #9E7F58;
  --ouro-claro: #B39A79;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Archivo", "Helvetica Neue", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--marfim);
  color: var(--grafite);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 780px; }

/* textura de grão sutil sobre o marfim */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.32 0 0 0 0 0.28 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 1; }

/* ─── Tipos ──────────────────────────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--serif); color: var(--preto); font-weight: 500; line-height: 1.08; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--ouro); }
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ouro); margin-bottom: 14px;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 34rem; margin-top: 20px; }
.sub { max-width: 36rem; margin-top: 14px; color: #5c574f; }
.mono { font-variant-numeric: tabular-nums; letter-spacing: .08em; }

/* ─── Botões ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 12px 26px; border-radius: 999px;
  font-family: var(--sans); font-weight: 600; font-size: 15px; text-decoration: none;
  transition: transform .18s ease, box-shadow .25s ease, background-color .2s ease, border-color .2s ease;
  cursor: pointer;
}
.btn:active { transform: scale(.97); }
.btn-gold { background: var(--ouro); color: var(--preto); box-shadow: 0 8px 24px -10px rgba(158,127,88,.55); }
.btn-gold:hover { background: var(--ouro-claro); box-shadow: 0 12px 30px -10px rgba(158,127,88,.7); transform: translateY(-1px); }
.btn-dark { background: var(--preto); color: var(--marfim); }
.btn-dark:hover { background: var(--grafite); transform: translateY(-1px); }
.btn-line { background: transparent; border: 1.5px solid var(--bege); color: var(--grafite); }
.btn-line:hover { border-color: var(--ouro); color: var(--ouro); }
.btn-lg { min-height: 56px; padding: 16px 36px; font-size: 16px; }
.btn .arr { transition: transform .25s ease; }
.btn:hover .arr { transform: translateY(3px); }

/* ─── Navegação ──────────────────────────────────────────────────────────── */
.nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  transition: background-color .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-solid { background: rgba(239,232,226,.88); backdrop-filter: blur(14px); border-color: var(--bege); }
.nav-row { display: flex; align-items: center; gap: 28px; padding-block: 14px; }
.nav-logo img { height: 40px; width: auto; display: block; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a {
  text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--grafite);
  padding: 6px 2px; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.nav-links a:hover { color: var(--ouro); border-color: var(--ouro); }
.nav-cta { min-height: 42px; padding: 9px 20px; font-size: 14px; }

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero { padding: 150px 0 90px; position: relative; }
.hero::after { /* halo dourado suave */
  content: ""; position: absolute; top: -220px; right: -160px; width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(179,154,121,.22), transparent 65%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin-top: 34px; }
.hero-tags li {
  font-size: 13px; font-weight: 500; padding: 7px 15px; border-radius: 999px;
  border: 1px solid var(--bege); background: rgba(255,255,255,.55); color: var(--grafite);
}

/* mockup do portal em iPhone realista (devices.css) */
.hero-visual { position: relative; justify-self: center; }
.tick-tl, .tick-br { position: absolute; width: 34px; height: 34px; border: 2px solid var(--ouro); opacity: .8; z-index: 3; }
.tick-tl { top: -18px; left: -30px; border-right: 0; border-bottom: 0; border-top-left-radius: 8px; }
.tick-br { bottom: -18px; right: -30px; border-left: 0; border-top: 0; border-bottom-right-radius: 8px; }

.phone { position: relative; filter: drop-shadow(0 36px 60px rgba(23,20,15,.38)); }
.phone .device { transform-origin: top left; }
/* recorta a tela clara nos cantos arredondados do aparelho */
.phone .device-screen { overflow: hidden; }
.phone-hero { width: 283px; height: 573px; transform: rotate(-2deg); animation: float 9s ease-in-out infinite alternate; }
.phone-hero .device { transform: scale(0.66); }
.phone-pix { width: 254px; height: 512px; margin: 0 auto; transform: rotate(2.5deg); }
.phone-pix .device { transform: scale(0.59); }
@media (prefers-reduced-motion: reduce) { .phone-hero { animation: none; } }

/* tela do aparelho — portal claro da marca */
.phone-ui {
  width: 100%; height: 100%;
  background: linear-gradient(180deg, var(--branco), #F4EDE5);
  padding: 78px 26px 34px; display: flex; flex-direction: column; gap: 14px;
}
.phone-ui .portal-logo { height: 34px; width: auto; align-self: flex-start; }
.portal-title { font-family: var(--serif); font-size: 26px; color: var(--preto); line-height: 1.1; }
.plan-opt {
  display: flex; justify-content: space-between; align-items: center;
  border: 1.5px solid var(--bege); border-radius: 14px; padding: 14px 18px;
  font-size: 17px; background: var(--branco);
}
.plan-opt b { font-variant-numeric: tabular-nums; color: var(--preto); font-size: 16px; }
.plan-opt.sel { border-color: var(--ouro); background: rgba(158,127,88,.1); box-shadow: inset 3.5px 0 0 var(--ouro); }
.qr-row { display: flex; gap: 14px; align-items: center; margin-top: 4px; }
.qr {
  width: 100px; height: 100px; border-radius: 12px; flex: none;
  background:
    repeating-conic-gradient(var(--preto) 0% 25%, transparent 0% 50%) 0 0/15px 15px,
    var(--branco);
  border: 7px solid var(--branco); outline: 1.5px solid var(--bege);
}
.qr-big { width: 226px; height: 226px; background-size: 20px 20px; border-width: 12px; border-radius: 18px; }
.qr-txt { display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; color: #6b655c; }
.qr-txt b { color: var(--preto); font-size: 14.5px; }
.portal-btn {
  display: block; text-align: center; margin-top: auto; padding: 16px;
  background: var(--ouro); color: var(--preto); font-weight: 700; font-size: 17px; border-radius: 999px;
}

/* variação centralizada (tela do Pix) */
.phone-ui.center { align-items: center; justify-content: center; text-align: center; gap: 18px; padding: 60px 26px; }
.phone-ui.center .portal-logo { align-self: center; }
.pix-val { display: block; font-family: var(--serif); font-size: 36px; color: var(--preto); font-variant-numeric: tabular-nums; }
.pix-sub { font-size: 14.5px; color: #6b655c; }
.toast {
  position: absolute; top: -26px; right: -14px;
  display: flex; align-items: center; gap: 10px;
  background: var(--preto); color: var(--marfim); border-radius: 999px;
  padding: 10px 18px; font-size: 12.5px; box-shadow: 0 16px 36px -14px rgba(23,20,15,.5);
  animation: float 4.5s ease-in-out infinite;
}
.toast b { color: var(--ouro-claro); font-variant-numeric: tabular-nums; }
.toast .dot { width: 8px; height: 8px; border-radius: 50%; background: #34c07c; box-shadow: 0 0 0 4px rgba(52,192,124,.25); }
@keyframes float { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-8px);} }

/* ─── Faixa deslizante ───────────────────────────────────────────────────── */
.ribbon { background: var(--preto); overflow: hidden; padding: 13px 0; }
.ribbon-track {
  display: flex; gap: 34px; width: max-content; align-items: center;
  animation: slide 34s linear infinite;
  color: var(--marfim); font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
  white-space: nowrap;
}
.ribbon i { color: var(--ouro); font-style: normal; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ribbon-track { animation: none; }
  .toast { animation: none; }
}

/* ─── Seções ─────────────────────────────────────────────────────────────── */
.section { padding: 96px 0; border-top: 1px solid var(--bege); }
.section-tint { background: rgba(221,213,204,.28); }
.sec-head { margin-bottom: 52px; }
.sec-head.center { text-align: center; }
.sec-head.center .sub { margin-inline: auto; }

/* passos */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step { border-top: 2px solid var(--bege); padding-top: 22px; position: relative; }
.step::before { content: ""; position: absolute; top: -2px; left: 0; width: 56px; height: 2px; background: var(--ouro); }
.step-num { font-family: var(--serif); font-style: italic; font-size: 44px; color: var(--ouro); display: block; line-height: 1; }
.step h3 { font-size: 21px; margin: 14px 0 10px; }
.step p { font-size: 15px; color: #5c574f; }

/* painel (browser mock) */
.browser {
  border: 1px solid var(--bege); border-radius: 18px; overflow: hidden; background: var(--branco);
  box-shadow: 0 34px 80px -38px rgba(23,20,15,.35);
}
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--bege); background: #f7f2ec; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--bege); }
.browser-bar .url {
  margin-left: 12px; font-size: 12px; color: #6b655c; background: var(--branco);
  border: 1px solid var(--bege); border-radius: 999px; padding: 4px 14px;
}
.dash { display: grid; grid-template-columns: 190px 1fr; min-height: 340px; }
.dash-side { background: var(--preto); padding: 20px 16px; display: flex; flex-direction: column; gap: 6px; }
.dash-side img { height: 24px; width: auto; align-self: flex-start; margin-bottom: 14px; }
.dash-side a { font-size: 13px; color: #b9b2a6; padding: 8px 12px; border-radius: 9px; }
.dash-side a.on { background: rgba(158,127,88,.22); color: var(--ouro-claro); font-weight: 600; }
.dash-main { padding: 22px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat { border: 1px solid var(--bege); border-radius: 13px; padding: 13px 15px; }
.stat .k { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: #8b8478; }
.stat .v { font-family: var(--serif); font-size: 24px; color: var(--preto); font-variant-numeric: tabular-nums; }
.graph { display: flex; align-items: flex-end; gap: 7px; height: 110px; margin: 18px 2px 0; }
.graph i { flex: 1; height: var(--h); background: linear-gradient(180deg, var(--ouro-claro), var(--ouro)); border-radius: 5px 5px 2px 2px; opacity: .9; }
.camps { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.camp {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  border: 1px solid var(--bege); border-radius: 11px; padding: 10px 14px; font-size: 13.5px;
}
.camp .st { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8b8478; }
.camp .st.on { color: #1e8a5e; }
.demo-note { text-align: center; font-size: 12.5px; color: #8b8478; margin-top: 16px; }

/* duas colunas */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.spec { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 0; }
.spec li {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px 2px;
  border-top: 1px solid var(--bege); font-size: 15px;
}
.spec li:last-child { border-bottom: 1px solid var(--bege); }
.spec svg { color: var(--ouro); flex: none; margin-top: 2px; }

/* voucher/ticket */
.ticket {
  display: grid; grid-template-columns: 1.4fr 1fr; background: var(--branco);
  border: 1px solid var(--bege); border-radius: 20px; overflow: hidden;
  box-shadow: 0 26px 60px -28px rgba(23,20,15,.3); max-width: 520px;
}
.ticket-ad { padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.ticket-ad b { font-family: var(--serif); font-size: 20px; color: var(--preto); line-height: 1.25; }
.ticket-ad span { font-size: 13.5px; color: #6b655c; }
.ticket-code {
  border-left: 2px dashed var(--bege); padding: 28px 22px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px; text-align: center;
  background: repeating-linear-gradient(135deg, rgba(158,127,88,.05) 0 10px, transparent 10px 20px);
}
.ticket-code .lbl { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: #8b8478; }
.ticket-code .code { font-family: var(--serif); font-size: 24px; color: var(--ouro); letter-spacing: .04em; }

/* integrações */
.erp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.erp {
  background: var(--branco); border: 1px solid var(--bege); border-radius: 15px;
  padding: 24px 20px; text-align: center; transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.erp:hover { border-color: var(--ouro); transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(158,127,88,.5); }
.erp b { font-family: var(--serif); font-size: 19px; color: var(--preto); display: block; }
.erp span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #8b8478; }
.erp-note { text-align: center; font-size: 14px; color: #6b655c; margin-top: 26px; }

/* planos */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  background: var(--branco); border: 1px solid var(--bege); border-radius: 20px; padding: 32px 28px;
  display: flex; flex-direction: column; gap: 12px; transition: transform .25s ease, box-shadow .25s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -26px rgba(23,20,15,.35); }
.plan h3 { font-size: 24px; }
.plan p { font-size: 14.5px; color: #5c574f; flex: 1; }
.price { font-family: var(--serif); font-size: 40px; color: var(--preto); font-variant-numeric: tabular-nums; }
.price span { font-family: var(--sans); font-size: 14px; color: #8b8478; margin-left: 4px; }
.plan .btn { justify-content: center; }
.plan.featured { background: var(--preto); border-color: var(--preto); position: relative; }
.plan.featured h3, .plan.featured .price { color: var(--marfim); }
.plan.featured p { color: #c8c1b4; }
.plan.featured .price span { color: #9a938a; }
.flag {
  position: absolute; top: -13px; left: 28px; background: var(--ouro); color: var(--preto);
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px;
}
.plan-note { text-align: center; font-size: 13.5px; color: #8b8478; margin-top: 26px; }

/* faq */
.faq { display: flex; flex-direction: column; }
.faq details { border-top: 1px solid var(--bege); }
.faq details:last-child { border-bottom: 1px solid var(--bege); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px;
  font-family: var(--serif); font-size: 19px; color: var(--preto); padding: 22px 2px;
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--ouro); }
.faq .pm { position: relative; width: 18px; height: 18px; flex: none; }
.faq .pm::before, .faq .pm::after {
  content: ""; position: absolute; inset: 0; margin: auto; background: var(--ouro); transition: transform .25s ease;
}
.faq .pm::before { width: 18px; height: 2px; }
.faq .pm::after { width: 2px; height: 18px; }
.faq details[open] .pm::after { transform: rotate(90deg); }
.faq details p { padding: 0 2px 24px; max-width: 60ch; color: #5c574f; }

/* ─── Fechamento (dark) ──────────────────────────────────────────────────── */
.final {
  background: var(--preto); color: var(--marfim); text-align: center; padding: 110px 0;
  position: relative; overflow: hidden;
}
.final::before {
  content: ""; position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 500px; background: radial-gradient(ellipse, rgba(158,127,88,.28), transparent 65%);
  pointer-events: none;
}
.final-logo { height: 64px; width: auto; margin-bottom: 26px; }
.final h2 { color: var(--marfim); font-size: clamp(2.2rem, 5vw, 3.6rem); }
.final h2 em { color: var(--ouro-claro); }
.final p { max-width: 34rem; margin: 18px auto 34px; color: #c8c1b4; }

.footer { background: var(--preto); border-top: 1px solid rgba(239,232,226,.12); padding: 30px 0; }
.footer-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-row img { height: 30px; width: auto; }
.footer-row a { color: #c8c1b4; text-decoration: none; font-size: 14px; }
.footer-row a:hover { color: var(--ouro-claro); }
.footer-row .fine { margin-left: auto; font-size: 12.5px; color: #8b8478; }

/* ─── Revelação ao rolar ─────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .12s; }
.reveal.d2 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ─── Responsivo ─────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-grid, .two-col { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-top: 120px; }
  .hero-visual { margin-top: 8px; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .plans { grid-template-columns: 1fr; }
  .plan.featured { order: -1; }
  .erp-grid { grid-template-columns: repeat(2, 1fr); }
  .dash { grid-template-columns: 1fr; }
  .dash-side { flex-direction: row; align-items: center; overflow-x: auto; }
  .dash-side img { margin: 0 8px 0 0; }
  #voucher .two-col > div:first-child { order: 2; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .section { padding: 68px 0; }
  .toast { right: 4px; top: -20px; }
  .ticket { grid-template-columns: 1fr; }
  .ticket-code { border-left: 0; border-top: 2px dashed var(--bege); }
  .stats { grid-template-columns: 1fr; }
  .footer-row .fine { margin-left: 0; }
}
