/* =========================================================
   Alô Chefe — landing page
   Tokens
   ========================================================= */
:root {
  --ink: #1C1917;
  --ink-2: #2A2420;        /* carvão quente: tela do telefone à noite */
  --graphite: #5C554F;
  --line: rgba(28, 25, 23, 0.14);
  --paper: #FFFCF5;
  --paper-2: #FFF6E0;      /* leve tom mostarda pra fundos de card */
  --mustard: #F2B52A;
  --mustard-deep: #B9800A;
  --mustard-soft: rgba(242, 181, 42, 0.18);
  --tomato: #D9391F;
  --basil: #2E6B3F;
  --thermal: #FDFBF3;      /* papel de comanda */

  --font-display: "Bricolage Grotesque", "Arial Narrow", Impact, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", Roboto, system-ui, sans-serif;
  --font-mono: "Courier Prime", "Courier New", Courier, monospace;

  --wrap: 1120px;
  --gutter: 20px;
  --radius: 14px;
  --radius-lg: 22px;
  --section: clamp(64px, 10vw, 128px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* =========================================================
   Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, blockquote, pre { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--mustard-deep); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 760px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px;
}
.skip:focus { top: 12px; }

/* =========================================================
   Tipografia
   ========================================================= */
.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-variation-settings: "wdth" 87.5, "opsz" 96;
  letter-spacing: -0.025em;
  line-height: 0.98;
  font-size: clamp(40px, 9vw, 72px);
  text-wrap: balance;
}
.display--md { font-size: clamp(30px, 5.4vw, 48px); line-height: 1.04; max-width: 22ch; }
.display em {
  font-style: normal;
  background-image: linear-gradient(transparent 62%, var(--mustard) 62%, var(--mustard) 92%, transparent 92%);
  padding: 0 0.06em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.eyebrow {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "wdth" 87.5, "opsz" 14;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--mustard-deep);
  margin-bottom: 14px;
}
.eyebrow--onDark { color: var(--ink); opacity: .75; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--graphite); margin-top: 22px; max-width: 46ch; }

h3 { font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 87.5, "opsz" 32; letter-spacing: -0.01em; line-height: 1.12; font-size: 22px; }

/* =========================================================
   Botões
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 20px;
  border-radius: 999px;
  background: var(--mustard);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--mustard);
  line-height: 1.1;
  transition: transform .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: #F7C247; border-color: #F7C247; transform: translateY(-1px); box-shadow: 0 8px 20px -10px rgba(185, 128, 10, .8); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 16px 24px; font-size: 17px; }
.btn--sm { padding: 9px 14px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); box-shadow: none; }

/* =========================================================
   Topbar
   ========================================================= */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 252, 245, .88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { color: var(--mustard); }
.brand__name {
  font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 87.5, "opsz" 32;
  font-size: 22px; letter-spacing: -0.02em;
}
.topnav { display: none; gap: 26px; }
.topnav a { text-decoration: none; font-weight: 500; color: var(--graphite); }
.topnav a:hover { color: var(--ink); }

/* =========================================================
   Hero
   ========================================================= */
.hero { padding: clamp(40px, 7vw, 96px) 0 var(--section); overflow: hidden; }
.hero__grid { display: grid; gap: 48px; }
.hero__grid > * { min-width: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__note { margin-top: 20px; font-size: 15px; color: var(--graphite); max-width: 44ch; }

/* --- Assinatura: gravação real de uma chamada --- */
.demo { position: relative; max-width: 460px; margin: 0 auto; width: 100%; }

.player {
  margin: 0;
  background: var(--ink-2);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: 18px 18px 16px;
  box-shadow: 0 30px 60px -30px rgba(28, 25, 23, .6);
}
.player__head { display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(255, 252, 245, .7); padding-bottom: 14px; border-bottom: 1px solid rgba(255, 252, 245, .12); }
.player__meta { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--tomato); color: rgba(217, 57, 31, .6); animation: ring 1.6s infinite; }
.player.is-playing .player__dot { background: #5BC377; color: rgba(91, 195, 119, .6); }
.player__dur { margin-left: auto; font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 currentColor; } 70% { box-shadow: 0 0 0 8px rgba(0,0,0,0); } 100% { box-shadow: 0 0 0 0 rgba(0,0,0,0); } }

.player__body { display: flex; align-items: center; gap: 16px; padding: 22px 0 14px; }
.player__btn {
  flex: none; width: 60px; height: 60px; border-radius: 50%;
  border: 0; padding: 0; cursor: pointer;
  background: var(--mustard); color: var(--ink);
  display: grid; place-items: center;
  transition: transform .18s var(--ease), background .18s var(--ease);
}
.player__btn:hover { background: #F7C247; transform: scale(1.04); }
.player__btn:active { transform: scale(.98); }
.player__btn:focus-visible { outline-color: var(--mustard); }
.player__ico { grid-area: 1 / 1; }
.player__ico--play { margin-left: 3px; }
.player__ico--pause { display: none; }
.player.is-playing .player__ico--play { display: none; }
.player.is-playing .player__ico--pause { display: block; }

.player__wave {
  flex: 1; min-width: 0; height: 64px;
  display: flex; align-items: center; gap: 2px;
  cursor: pointer; border-radius: 8px;
}
.player__wave:focus-visible { outline-color: var(--mustard); outline-offset: 6px; }
.player__bar {
  flex: 1; min-width: 1px; min-height: 4px;
  border-radius: 2px;
  background: rgba(255, 252, 245, .26);
  transition: background .12s linear;
}
.player__bar.is-played { background: var(--mustard); }

.player__foot { display: flex; align-items: baseline; gap: 12px; font-size: 13px; color: rgba(255, 252, 245, .7); }
.player__time { font-family: var(--font-mono); letter-spacing: .04em; color: var(--paper); flex: none; }
.player__hint { line-height: 1.35; }

/* o <audio> nativo só aparece se o JS não rodar */
.player audio { display: block; width: 100%; margin-top: 12px; }
.player.is-ready audio { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* =========================================================
   O problema (bloco escuro: a noite do rush)
   ========================================================= */
.problem { background: var(--ink); color: var(--paper); padding: var(--section) 0; }
.problem .eyebrow { color: var(--mustard); }
.problem__grid { display: grid; gap: 40px; margin-top: 36px; }
.problem__text { display: flex; flex-direction: column; gap: 18px; font-size: 17.5px; color: rgba(255, 252, 245, .82); max-width: 56ch; }
.problem__text p strong { color: var(--paper); }
.problem__stat a { color: var(--mustard); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.pull {
  margin-top: 10px;
  padding-left: 18px;
  border-left: 3px solid var(--mustard);
  font-family: var(--font-display);
  font-weight: 800;
  font-variation-settings: "wdth" 87.5, "opsz" 48;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--paper);
}

/* calculadora */
.calc {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  align-self: start;
}
.calc__title { font-size: 20px; margin-bottom: 18px; }
.calc__field { display: block; margin-bottom: 16px; }
.calc__label { display: flex; justify-content: space-between; align-items: baseline; font-size: 14.5px; font-weight: 500; color: var(--graphite); margin-bottom: 6px; }
.calc__label output { font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 87.5; font-size: 18px; color: var(--ink); }
.calc input[type="range"] { width: 100%; accent-color: var(--mustard-deep); cursor: pointer; }
.calc__result { margin-top: 20px; padding: 16px 18px; background: var(--paper-2); border-radius: var(--radius); }
.calc__resultLabel { display: block; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--graphite); }
.calc__resultValue {
  display: block;
  font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 87.5, "opsz" 72;
  font-size: clamp(36px, 6vw, 46px); line-height: 1; letter-spacing: -0.02em; margin: 4px 0 8px;
}
.calc__resultNote { font-size: 15px; color: var(--graphite); }
.calc__resultNote b { color: var(--ink); }
.calc__fine { margin-top: 14px; font-size: 13px; color: var(--graphite); }

/* =========================================================
   Como funciona (sequência real → numeração)
   ========================================================= */
.how { padding: var(--section) 0; }
.steps { display: grid; gap: 28px; margin-top: 40px; counter-reset: step; }
.step { position: relative; padding-left: 64px; }
.step__n {
  position: absolute; left: 0; top: -6px;
  font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 87.5, "opsz" 96;
  font-size: 44px; line-height: 1; color: var(--mustard);
  letter-spacing: -0.04em;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--graphite); font-size: 16px; }

/* =========================================================
   Diferenciais
   ========================================================= */
.diff { padding: 0 0 var(--section); }
.diff__grid { display: grid; gap: 16px; margin-top: 36px; }
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  background: var(--paper);
}
.card p { margin-top: 10px; color: var(--graphite); font-size: 16px; }
.card--example { background: var(--paper-2); border-color: transparent; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips li { font-size: 13px; font-weight: 500; padding: 5px 11px; border-radius: 999px; background: var(--mustard-soft); color: var(--mustard-deep); }
.mini { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.mini p { margin: 0; font-size: 14.5px; line-height: 1.4; padding: 10px 13px; border-radius: 14px; max-width: 92%; color: var(--ink); }
.mini__who { display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--graphite); margin-bottom: 2px; }
.mini__cx { align-self: flex-end; background: var(--paper); border: 1px solid var(--line); border-bottom-right-radius: 4px; }
.mini__ai { align-self: flex-start; background: var(--ink); color: var(--paper) !important; border-bottom-left-radius: 4px; }
.mini__ai .mini__who { color: var(--mustard); }

/* sugestão de complemento (opcional) */
.upsell { margin-top: 16px; display: grid; gap: 24px; background: var(--paper-2); border-color: transparent; }
.upsell__points { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; font-size: 15.5px; color: var(--graphite); }
.upsell__points li { padding-left: 16px; border-left: 3px solid var(--mustard); }
.upsell__points strong { color: var(--ink); }
.upsell__demo { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 14px 16px; align-self: start; }
.upsell__toggle { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; padding-bottom: 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.switch {
  position: relative; width: 44px; height: 26px; flex: none;
  border-radius: 999px; border: 0; padding: 0; cursor: pointer;
  background: var(--basil);
  transition: background .2s var(--ease);
}
.switch__knob {
  position: absolute; top: 3px; left: 3px; width: 20px; height: 20px;
  border-radius: 50%; background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.3);
  transition: transform .2s var(--ease);
}
.switch[aria-checked="false"] { background: #B8B2AA; }
.switch[aria-checked="true"] .switch__knob { transform: translateX(18px); }
.switch__state { color: var(--graphite); min-width: 4.8em; }
.upsell__toggle > span:first-child { flex: 1; }
.upsell__demo .mini { margin-top: 14px; }
.upsell__off { display: none; }
.upsell--off .upsell__on { display: none; }
.upsell--off .upsell__off { display: inline; }

.diff__wa {
  margin-top: 24px;
  padding: 24px 22px 24px 26px;
  border-left: 4px solid var(--mustard);
  background: var(--paper-2);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.diff__wa p { margin-top: 8px; color: var(--graphite); max-width: 70ch; }

/* =========================================================
   Planos
   ========================================================= */
.plans { padding: var(--section) 0; border-top: 1px solid var(--line); }
.plans__intro { margin-top: 18px; color: var(--graphite); max-width: 60ch; }
.plans__grid { display: grid; gap: 18px; margin-top: 40px; align-items: stretch; }
.plan {
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  background: var(--paper);
}
.plan--featured { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.plan__tag {
  display: inline-block; align-self: flex-start;
  font-size: 12.5px; font-weight: 600; letter-spacing: .03em;
  background: var(--mustard); color: var(--ink);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 14px;
}
.plan__name { font-size: 24px; }
.plan__price {
  margin-top: 10px;
  font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 87.5, "opsz" 72;
  font-size: 40px; line-height: 1; letter-spacing: -0.03em;
  display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap;
}
.plan__cur { font-size: 18px; font-weight: 500; opacity: .7; margin-right: 2px; }
.plan__to { font-size: 18px; font-weight: 500; opacity: .6; margin: 0 4px; }
.plan__per { font-family: var(--font-body); font-weight: 500; font-size: 15px; opacity: .7; letter-spacing: 0; margin-left: 4px; }
.plan__for { margin-top: 10px; font-size: 15.5px; color: var(--graphite); }
.plan--featured .plan__for { color: rgba(255, 252, 245, .75); }
.plan__list { margin: 22px 0 26px; display: flex; flex-direction: column; gap: 10px; font-size: 15.5px; flex: 1; }
.plan__list li { position: relative; padding-left: 26px; }
.plan__list li::before {
  content: ""; position: absolute; left: 0; top: 5px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--mustard);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23000'/%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' stroke='%23fff' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23000'/%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' stroke='%23fff' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.plan__list li.plan__no { color: var(--graphite); }
.plan__list li.plan__no::before { background: var(--line); -webkit-mask: none; mask: none; width: 10px; height: 2px; top: 11px; left: 2px; border-radius: 2px; }
.plan--featured .btn { background: var(--mustard); border-color: var(--mustard); color: var(--ink); }
.plan--featured .plan__list li::before { background: var(--mustard); }
.plans__fine { margin-top: 22px; font-size: 14px; color: var(--graphite); }

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding: var(--section) 0; border-top: 1px solid var(--line); }
.faq__list { margin-top: 32px; border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0;
  font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 87.5, "opsz" 32;
  font-size: 19px; line-height: 1.2; letter-spacing: -0.01em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--ink);
  background:
    linear-gradient(var(--ink), var(--ink)) center / 10px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 10px no-repeat;
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.qa[open] summary::after { transform: rotate(45deg); background-color: var(--mustard); }
.qa summary:hover { color: var(--mustard-deep); }
.qa__a { padding: 0 0 22px; color: var(--graphite); max-width: 64ch; }

/* =========================================================
   CTA final (bloco mostarda)
   ========================================================= */
.cta { background: var(--mustard); color: var(--ink); padding: var(--section) 0; }
.cta__in { text-align: left; }
.cta .display--md { max-width: 18ch; }
.cta__lead { margin-top: 20px; font-size: 18px; max-width: 52ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta .btn { background: var(--ink); border-color: var(--ink); color: var(--mustard); }
.cta .btn:hover { background: #000; border-color: #000; box-shadow: 0 10px 24px -12px rgba(0,0,0,.6); }
.cta .btn--ghostOnDark { background: transparent; color: var(--ink); }
.cta .btn--ghostOnDark:hover { background: var(--ink); color: var(--mustard); }
.cta__fine { margin-top: 22px; font-size: 14px; opacity: .8; }

/* =========================================================
   Rodapé
   ========================================================= */
.foot { background: var(--ink); color: rgba(255, 252, 245, .7); padding: 44px 0 36px; }
.foot__in { display: grid; gap: 24px; }
.foot__brand .brand__name { color: var(--paper); }
.foot__brand p { margin-top: 6px; font-size: 14.5px; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14.5px; }
.foot__nav a { text-decoration: none; }
.foot__nav a:hover { color: var(--paper); }
.foot__legal { font-size: 13px; color: rgba(255, 252, 245, .45); }

/* =========================================================
   Breakpoints
   ========================================================= */
@media (min-width: 720px) {
  .topnav { display: flex; }
  .problem__grid { grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
  .diff__grid { grid-template-columns: repeat(2, 1fr); }
  .upsell { grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
  .plans__grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .foot__in { grid-template-columns: 1fr auto; align-items: start; }
  .foot__legal { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid rgba(255,252,245,.12); }
}

@media (min-width: 1024px) {
  :root { --gutter: 32px; }
  .hero__grid { grid-template-columns: 1.05fr .95fr; align-items: start; gap: 64px; }
  .hero__copy { padding-top: 24px; }
  .demo { margin: 0 0 0 auto; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 32px 28px; }
  .step { padding-left: 0; padding-top: 58px; }
  .step__n { top: 0; font-size: 52px; }
  .plans__grid { gap: 20px; }
  .plan { padding: 30px 26px; }
}

/* =========================================================
   Movimento reduzido: tudo visível, nada animado
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
