/* =========================================
   Kd Menu Pro — landing
   Coluna única, clara, fiel ao mock
   ========================================= */

:root {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --faq-shell: #e7e8ec;
  --ink: #1a1a1a;
  --muted: #3f3f46;
  --soft: #6b7280;
  --purple: #5c2a72;
  --orange: #ff8c33;
  --teal-top: #3ec8e4;
  --teal: #129fbe;
  --teal-deep: #0c86a4;
  --line: rgba(17, 17, 17, 0.08);
  --radius-card: 22px;
  --radius-item: 16px;
  --header-h: 72px;
  --container: 520px;
  --shadow: 0 10px 30px rgba(17, 17, 17, 0.06);
}

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

html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Nunito', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 245, 247, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav {
  width: min(100% - 24px, 720px);
  margin: 0 auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nav__logo-img {
  height: 48px;
  width: auto;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__login {
  font-size: 0.875rem;
  font-weight: 700;
  color: #374151;
  padding: 8px 4px;
}

.nav__login:hover { color: var(--teal-deep); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid #087894;
  background: linear-gradient(180deg, var(--teal-top) 0%, var(--teal) 52%, var(--teal-deep) 100%);
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 8px 16px rgba(12, 134, 164, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn::after {
  content: "→";
  font-size: 1.05em;
  line-height: 1;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 12px 22px rgba(12, 134, 164, 0.38);
}

.btn--nav {
  font-size: 0.8125rem;
  padding: 10px 14px;
  white-space: nowrap;
}

.btn--cta {
  font-size: 1rem;
  padding: 14px 26px;
  min-height: 52px;
  min-width: 240px;
}

.section__cta {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

/* ===== HERO ===== */
.hero {
  padding: 28px 0 8px;
  text-align: center;
}

.hero__brand {
  display: block;
  color: var(--orange);
  font-size: clamp(1.85rem, 7vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero__headline {
  display: block;
  margin-top: 4px;
  color: var(--purple);
  font-size: clamp(1.7rem, 6.6vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.hero__perks {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 16px;
}

.hero__perks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--purple);
  font-size: 0.84rem;
  font-weight: 800;
}

.hero__perks li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--purple);
  box-shadow: 0 0 0 3px rgba(92, 42, 114, 0.12);
}

.hero__text,
.section__text {
  margin: 16px auto 0;
  max-width: 38em;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.hero__text b {
  color: var(--ink);
  font-weight: 800;
}

.hero__trial {
  margin-top: 18px;
  font-size: 1rem;
  font-weight: 800;
}

.hero__price {
  margin-top: 4px;
  font-size: 1rem;
  font-weight: 800;
}

/* ===== SECTIONS ===== */
.section {
  padding: 36px 0 8px;
  text-align: center;
}

.section__title {
  color: var(--purple);
  font-size: clamp(1.4rem, 5.2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.split__title {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--purple);
  font-size: clamp(1.45rem, 5.4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.split__free { color: #3eb6e0; }
.split__pro { color: var(--orange); }

.split__card {
  margin-top: 18px;
  background: #f3f1f6;
  border: 1.5px solid #ddd8e4;
  border-radius: 22px;
  padding: 22px 18px;
}

.split__card p {
  color: #6b7076;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
}

/* ===== PHONE / BOARD ===== */
.phone {
  width: min(280px, 86%);
  margin: 26px auto 4px;
  padding: 10px;
  border-radius: 36px;
  background: #111;
  box-shadow: 0 28px 50px rgba(17, 17, 17, 0.16);
}

.phone__screen {
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(120% 80% at 50% -10%, #5a2430 0%, transparent 55%),
    #16090d;
  padding: 16px 12px 14px;
}

.board__title {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: left;
  padding: 2px 4px 10px;
}

.board__tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.board__tab {
  flex: 1;
  border-radius: 999px;
  padding: 6px 4px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #d6d3d1;
  background: rgba(255, 255, 255, 0.06);
}

.board__tab.is-active {
  color: #fff;
  background: #ff8c33;
}

.board__tab b {
  display: inline-grid;
  place-items: center;
  min-width: 16px;
  height: 16px;
  margin-left: 3px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  font-size: 0.62rem;
}

.order {
  text-align: left;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 10px 10px 9px;
  margin-top: 8px;
}

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

.order__id {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
}

.order__badge {
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 0.62rem;
  font-weight: 800;
  color: #1a1a1a;
}

.order__badge--wait { background: #ffb020; }
.order__badge--prep { background: #7dd3fc; }
.order__badge--ready { background: #86efac; }

.order__name {
  margin-top: 6px;
  color: #f5f5f4;
  font-size: 0.8rem;
  font-weight: 700;
}

.order__meta {
  margin-top: 2px;
  color: #a8a29e;
  font-size: 0.7rem;
}

.order__price {
  margin-top: 6px;
  color: #ffb067;
  font-size: 0.82rem;
  font-weight: 800;
}

.section__text b {
  color: var(--ink);
  font-weight: 800;
}

/* ===== CARDS ===== */
.panel,
.benefits {
  border-radius: 28px;
  padding: 26px 16px 22px;
}

.panel {
  background: #f1f1f1;
  border: 1px solid #e3e3e3;
}

.benefits {
  margin-top: 4px;
  background: #d7ebf5;
  border: 1.5px solid #b7d4e4;
  box-shadow: none;
  text-align: center;
}

.panel .phone {
  margin-bottom: 4px;
}

/* ===== BENEFITS ===== */
.benefits {
  margin-top: 4px;
  text-align: center;
}

.benefits__list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.benefits__item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
}

.benefits__num {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffb15a 0%, var(--orange) 100%);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 4px 8px rgba(255, 140, 51, 0.28);
}

.benefits__title {
  color: #6d7278;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
}

.benefits__desc {
  margin-top: 2px;
  color: #8b9198;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
}

/* ===== FAQ ===== */
.faq {
  padding: 36px 0 12px;
}

.faq__card {
  background: #eceef1;
  border: 1px solid #d5d8de;
  border-radius: 28px;
  padding: 28px 14px 16px;
}

.faq__title {
  color: var(--purple);
  text-align: center;
  font-size: clamp(1.45rem, 5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nowrap { white-space: nowrap; }

.faq__item {
  background: var(--surface);
  border-radius: var(--radius-item);
  box-shadow: var(--shadow);
  scroll-margin-top: 96px;
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px;
  text-align: left;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.35;
}

.faq__icon {
  flex-shrink: 0;
  color: #52525b;
  transition: transform 0.2s ease;
}

.faq__question[aria-expanded="true"] .faq__icon {
  transform: rotate(180deg);
}

.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}

.faq__answer.open { grid-template-rows: 1fr; }

.faq__answer-inner {
  overflow: hidden;
  min-height: 0;
}

.faq__answer p {
  padding: 0 16px 14px;
  color: #3f3f46;
  font-size: 0.92rem;
  line-height: 1.55;
}

.faq__answer p + p { padding-top: 0; }

/* ===== CLOSE ===== */
.close {
  padding: 28px 0 36px;
  text-align: center;
}

.close__title {
  color: var(--purple);
  font-size: clamp(1.45rem, 5.2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.close__lead {
  margin: 0 auto 14px;
  max-width: 34em;
  color: #6b7076;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
}

.close__offer {
  margin-bottom: 18px;
  color: #6b7076;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
}

/* ===== FOOTER ===== */
.footer {
  margin-top: 8px;
  text-align: left;
}

.footer__main {
  background: #f3f3f3;
  border-top: 1px solid #e4e4e4;
}

.footer__main-inner {
  width: min(100% - 48px, var(--container));
  margin: 0 auto;
  padding: 28px 0 34px;
}

.footer__logo-img {
  height: 52px;
  width: auto;
  margin: 0 0 18px;
}

.footer__tagline {
  max-width: 16em;
  color: #8a8f94;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 12px;
}

.footer__origin {
  color: #5f656b;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 28px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer__links a {
  color: #e39a22;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__links a:last-child {
  margin-top: 16px;
}

.footer__links a:hover {
  color: #c98412;
}

.footer__legal {
  background: #fff;
  border-top: 1px solid #ececec;
  padding: 26px 20px 34px;
  text-align: center;
  color: #b0b4b8;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.65;
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

@media (min-width: 720px) {
  :root { --container: 560px; }
  .faq__card { padding: 32px 18px 18px; }
  .btn--nav { font-size: 0.875rem; padding: 11px 16px; }
}

@media (min-width: 1024px) {
  :root { --container: 80vw; }
  .nav { width: var(--container); }
}

@media (max-width: 380px) {
  .btn--nav { font-size: 0.72rem; padding: 9px 10px; }
  .nav__logo-img { height: 42px; }
  .nav__login { font-size: 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
}
