/* =========================================================
   CakeOn — Landing page
   Mobile-first · sem dependências
   ========================================================= */

:root {
  /* Cores — troque aqui para ajustar a identidade */
  --ink: #1f1a24;
  --ink-2: #3a3340;
  --muted: #6b6470;
  --line: #ebe5df;
  --bg: #fdfaf7;
  --bg-2: #f6f0ea;
  --surface: #ffffff;
  --primary: #dd4f55;      /* coral da logo (CTAs) */
  --primary-2: #c8414a;
  --primary-ink: #a8363d;
  --teal: #1f8a80;         /* verde-água da logo (textos e ícones) */
  --teal-2: #41b5ab;
  --teal-ink: #156a62;
  --teal-tint: #e3f4f1;
  --tint: #fdecea;
  --caramel: #f2a65e;
  --ok: #1f8a80;
  --ok-tint: #e3f4f1;
  --warn: #d17d22;
  --warn-tint: #fcf0e2;
  --bad: #c0443d;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(30, 45, 45, .05), 0 2px 8px rgba(30, 45, 45, .04);
  --shadow: 0 2px 4px rgba(30, 45, 45, .04), 0 16px 40px -14px rgba(25, 70, 66, .18);
  --shadow-lg: 0 30px 80px -24px rgba(25, 70, 66, .32);

  --font: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1180px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2.5px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.ic { flex-shrink: 0; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 1.5px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px -8px rgba(221, 79, 85, .45); }
.btn-primary:hover { background: var(--primary-2); transform: translateY(-1px); box-shadow: 0 12px 26px -8px rgba(221, 79, 85, .45); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .35); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 16px; }
.btn-xl { min-height: 60px; padding: 0 34px; font-size: 17px; }
.btn-block { width: 100%; }
.btn .ic { transition: transform .2s ease; }
.btn:hover .ic { transform: translateX(3px); }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-weight: 700; font-size: 15px; }
.link-arrow:hover .ic { transform: translateX(3px); }
.link-arrow .ic { transition: transform .2s; }

/* ---------- Tipografia de seção ---------- */
.section { padding: 72px 0; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head h2 { font-size: clamp(28px, 6vw, 42px); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 17px; }
.section-head p a { color: var(--primary); font-weight: 700; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-tint); }
.eyebrow.light { color: #bfe9e3; }

.checks { display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; color: var(--ink-2); font-weight: 500; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--teal-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f8a80' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 8px; }
.logo-icon { width: 40px; height: auto; }
.logo-word { height: 26px; width: auto; }
.logo-mark { display: inline-block; width: 30px; height: 30px; flex-shrink: 0; background: url("../img/logo-icon.png") center / contain no-repeat; }
.logo-mark.sm { width: 26px; height: 26px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header.scrolled {
  background: rgba(251, 249, 246, .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.link-login { display: none; font-weight: 600; font-size: 15px; padding: 8px 6px; color: var(--ink-2); }
.link-login:hover { color: var(--primary); }
.header-actions .btn-sm { display: none; }

.menu-toggle {
  width: 44px; height: 44px; border: 1px solid var(--line); background: var(--surface); border-radius: 12px;
  display: grid; place-content: center; gap: 6px; padding: 0;
}
.menu-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s ease; }
.menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

.nav {
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: var(--bg); padding: 20px 16px 32px; display: flex; flex-direction: column; gap: 4px;
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s ease, transform .25s ease, visibility .25s;
  overflow-y: auto;
}
.menu-open .nav { opacity: 1; visibility: visible; transform: none; }
.menu-open .site-header { background: var(--bg); box-shadow: 0 1px 0 var(--line); }
.nav > a { font-size: 20px; font-weight: 700; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.nav-mobile-actions { display: grid; gap: 10px; margin-top: 24px; }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + 36px) 0 72px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(55% 55% at 88% 20%, rgba(65, 181, 171, .20), transparent 70%),
    radial-gradient(45% 45% at 0% 10%, rgba(240, 105, 108, .12), transparent 70%),
    var(--bg);
}
.hero-grid { display: grid; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(34px, 8.6vw, 58px); letter-spacing: -.035em; margin-bottom: 20px; }
.hero h1 em, .section-head h2 em {
  display: block; color: var(--primary); font-weight: 900;
}
.hero .lead { font-size: clamp(17px, 2.4vw, 20px); color: var(--muted); max-width: 520px; margin-bottom: 28px; }
.hero-ctas { display: grid; gap: 12px; margin-bottom: 18px; }
.hero-note { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.hero-note .ic { color: var(--ok); }

/* Modulos (gestao completa) */
.hero-modules { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-width: 540px; margin-bottom: 28px; }
.hero-modules li {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: 14.5px; font-weight: 700; color: var(--ink-2); line-height: 1.25;
  opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s cubic-bezier(.2, .8, .2, 1), border-color .2s ease, box-shadow .2s ease;
  transition-delay: calc(var(--d, 0ms) + 250ms), calc(var(--d, 0ms) + 250ms), 0s, 0s;
}
.hero-modules.is-visible li { opacity: 1; transform: none; }
.hero-modules li:hover { border-color: var(--teal-2); box-shadow: var(--shadow); }
.hm-ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; background: var(--teal-tint); color: var(--teal); }
.hero-modules li:nth-child(even) .hm-ic { background: var(--tint); color: var(--primary); }
.no-js .hero-modules li { opacity: 1; transform: none; }

/* Celular */
.hero-visual { position: relative; display: flex; justify-content: center; padding: 120px 0 10px; }
.phone {
  position: relative; width: 280px; border-radius: 44px; padding: 12px; background: #1f1a24;
  box-shadow: 0 40px 80px -28px rgba(25, 70, 66, .55), inset 0 0 0 2px #3a3340;
}
.phone-notch { position: absolute; top: 20px; left: 50%; translate: -50% 0; width: 84px; height: 22px; border-radius: 20px; background: #1f1a24; z-index: 2; }
.phone-screen { background: var(--bg); border-radius: 34px; padding: 50px 16px 20px; display: grid; gap: 12px; min-height: 520px; align-content: start; }
.ps-head { display: flex; justify-content: space-between; align-items: center; }
.ps-head small { display: block; font-size: 11px; color: var(--muted); }
.ps-head strong { font-size: 18px; letter-spacing: -.02em; }
.ps-today { border-radius: 20px; padding: 16px 18px; color: #fff; background: linear-gradient(140deg, var(--teal-2), var(--teal)); box-shadow: 0 14px 26px -14px rgba(107, 45, 92, .8); }
.ps-today small { color: #d6f3ee; font-size: 12.5px; }
.ps-today strong { display: block; font-size: 30px; letter-spacing: -.03em; }
.ps-list { display: grid; gap: 8px; }
.ps-list li { display: grid; grid-template-columns: 34px 1fr auto; gap: 8px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; font-size: 13.5px; }
.ps-list b { color: var(--teal); font-size: 13px; }
.ps-list span { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-profit { display: flex; align-items: center; gap: 12px; background: var(--ok-tint); border-radius: 18px; padding: 14px 16px; }
.ps-profit > span { font-size: 26px; }
.ps-profit small { display: block; color: var(--teal-ink); font-size: 12px; font-weight: 600; }
.ps-profit strong { font-size: 22px; color: var(--teal-ink); letter-spacing: -.02em; }

.tag-ok, .tag-warn { font-style: normal; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 99px; white-space: nowrap; }
.tag-ok { background: var(--ok-tint); color: var(--teal-ink); }
.tag-warn { background: var(--warn-tint); color: #a8611a; }
.tag-ok.big { font-size: 13px; padding: 6px 12px; }

.bubble {
  position: absolute; z-index: 3; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  font-size: 13.5px; font-weight: 600; opacity: 0; transform: translateY(10px) scale(.96);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1);
}
.b-in { top: 0; left: 0; max-width: 210px; padding: 12px 14px 8px; border-radius: 18px 18px 18px 4px; background: #e9f8ee; border-color: #cdeedb; }
.b-in small { display: block; text-align: right; font-size: 10.5px; color: #6c8f7c; font-weight: 500; margin-top: 4px; }
.b-ok { top: 76px; right: 0; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 8px; border-radius: 12px; white-space: nowrap; }
.float {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 8px 12px 8px 8px; font-size: 13px; font-weight: 700; box-shadow: var(--shadow); white-space: nowrap;
  opacity: 0; transform: translateY(10px) scale(.96); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1);
}
.f-price { bottom: 40px; right: 0; }
.f-stock { display: none; }
.f-menu { display: none; }
.is-visible .bubble, .is-visible .float { opacity: 1; transform: none; }
.is-visible .b-in { transition-delay: .4s; }
.is-visible .b-ok { transition-delay: 1.1s; animation: bob 6s 2s ease-in-out infinite; }
.is-visible .f-price { transition-delay: 1.6s; animation: bob 6s 2.6s ease-in-out infinite; }
.is-visible .f-stock { transition-delay: 2s; animation: bob 7s 3s ease-in-out infinite; }
.is-visible .f-menu { transition-delay: 2.4s; animation: bob 6.5s 3.4s ease-in-out infinite; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
.fi { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex-shrink: 0; }
.fi.ok { background: var(--ok-tint); color: var(--ok); }
.fi.pri { background: var(--tint); color: var(--primary); }
.fi.warn { background: var(--warn-tint); color: var(--warn); }

/* ---------- Dores ---------- */
.pains { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pain-grid { display: grid; gap: 14px; }
.pain {
  margin: 0; display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 20px 20px 20px 6px;
  background: var(--bg); border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease;
}
.pain:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pain blockquote { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.45; color: var(--ink-2); }
.pain-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--primary); flex-shrink: 0; }
.turn { text-align: center; max-width: 720px; margin: 48px auto 0; }
.turn p { font-size: clamp(22px, 4.4vw, 30px); line-height: 1.3; letter-spacing: -.02em; font-weight: 600; color: var(--muted); margin-bottom: 16px; }
.turn strong { color: var(--ink); font-weight: 800; }

/* ---------- Como ajuda ---------- */
.feature-chips { display: none; }
.feature { display: grid; gap: 32px; align-items: center; padding: 40px 0; }
.f-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; color: var(--teal); background: var(--teal-tint); padding: 6px 12px 6px 10px; border-radius: 99px; margin-bottom: 16px; }
.feature h3 { font-size: clamp(27px, 5vw, 38px); margin-bottom: 14px; }
.feature-copy > p { color: var(--muted); font-size: 17px; margin-bottom: 22px; }
.feature-visual { position: relative; display: flex; justify-content: center; }
.feature-visual::before {
  content: ""; position: absolute; inset: 0 8%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(240, 105, 108, .14), transparent);
}
.feature.rev .feature-visual::before { background: radial-gradient(closest-side, rgba(65, 181, 171, .18), transparent); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); padding: 24px; width: 100%; max-width: 400px; }
.sw { width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0; display: inline-block; }
.s1 { background: linear-gradient(135deg, #6d4636, #3e261d); }
.s2 { background: linear-gradient(135deg, #f8ecd6, #e9b6c1); }

/* Pedidos: tickets empilhados */
.tickets { position: relative; width: 100%; max-width: 400px; height: 300px; }
.ticket {
  position: absolute; left: 0; right: 0; display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; box-shadow: var(--shadow);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.ticket b { display: block; font-size: 15.5px; line-height: 1.3; }
.ticket small { color: var(--muted); font-size: 13px; }
.t-day { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; font-size: 14px; background: var(--bg-2); color: var(--ink-2); }
.t-day.today { background: var(--teal); color: #fff; }
.t-note { display: block; margin-top: 6px; font-size: 12.5px; color: #8a6420; background: #fff8ea; border-radius: 8px; padding: 4px 8px; }
.t3 { top: 0; transform: scale(.9) translateY(12px); opacity: .75; }
.t2 { top: 76px; transform: scale(.95) translateY(12px); opacity: .9; }
.t1 { top: 160px; transform: translateY(12px); }
.is-visible .t3 { transform: scale(.9); }
.is-visible .t2 { transform: scale(.95); }
.is-visible .t1 { transform: none; }

/* Precificação */
.price-card { padding: 26px; }
.pc-product { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 17px; margin-bottom: 18px; }
.pc-line { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 16px; color: var(--ink-2); }
.pc-line b { font-size: 19px; color: var(--ink); }
.pc-result { margin-top: 18px; border-radius: 18px; padding: 18px; background: var(--ok-tint); text-align: center; }
.pc-result small { display: block; color: var(--teal-ink); font-weight: 700; font-size: 14px; }
.pc-result strong { display: block; font-size: 46px; letter-spacing: -.04em; color: var(--teal-ink); line-height: 1.1; margin: 4px 0 10px; }

/* Receita */
.recipe-card {
  width: 100%; max-width: 380px; border-radius: 22px; padding: 24px 24px 20px; background: #fffdf8; border: 1px solid #efe4d2;
  box-shadow: var(--shadow); rotate: -1.5deg; transition: rotate .4s ease;
}
.recipe-card:hover { rotate: 0deg; }
.rc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.rc-head strong { display: block; font-style: italic; font-weight: 800; font-size: 23px; color: var(--teal-ink); line-height: 1.2; }
.rc-head small { color: var(--muted); font-weight: 600; }
.rc-list li { position: relative; padding: 7px 0 7px 22px; border-bottom: 1px solid #f1e7d6; font-size: 15.5px; line-height: 24px; color: var(--ink-2); }
.rc-list li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 7px; height: 7px; border-radius: 50%; background: var(--caramel); }
.rc-tip { display: flex; gap: 8px; align-items: center; margin-top: 12px; font-size: 13.5px; color: #8a6420; font-weight: 600; }

/* Lucro */
.profit-card { text-align: center; padding: 30px 26px; }
.profit-card > small { color: var(--muted); font-weight: 700; font-size: 15px; }
.pf-value { display: block; font-size: clamp(46px, 11vw, 60px); letter-spacing: -.04em; color: var(--ok); line-height: 1.1; margin: 6px 0 22px; }
.pf-split { display: flex; height: 12px; border-radius: 99px; overflow: hidden; background: var(--bg-2); margin-bottom: 10px; }
.pf-split .in { flex: 6800; background: var(--ok); }
.pf-split .out { flex: 4460; background: #f6b3b3; }
.pf-legend { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 18px; }
.pf-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; }
.pf-legend .in { background: var(--ok); } .pf-legend .out { background: #f6b3b3; }
.pf-best { background: var(--bg); border-radius: 14px; padding: 12px; font-size: 14.5px; }

/* Extras */
.extras { margin-top: 32px; padding-top: 48px; border-top: 1px dashed var(--line); }
.extras-title { text-align: center; font-size: clamp(22px, 4vw, 28px); margin-bottom: 24px; }
.extras-grid { display: grid; gap: 12px; }
.extra { padding: 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.extra:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.extra-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 14px; background: var(--teal-tint); color: var(--teal); }
.extra h4 { margin: 0 0 4px; font-size: 17px; }
.extra p { color: var(--muted); font-size: 15px; }
.mid-cta { margin-top: 44px; }

/* ---------- Antes e depois ---------- */
.compare { background: var(--bg-2); }
.ba-grid { display: grid; gap: 16px; max-width: 920px; margin: 0 auto; }
.ba { border-radius: 24px; padding: 28px 24px; }
.ba.before { background: transparent; border: 1.5px dashed #d9cdc2; }
.ba.after { background: var(--surface); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.ba.after::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--teal-2), var(--primary)); }
.ba-label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.ba-label.on { color: var(--teal); }
.ba ul { display: grid; gap: 14px; }
.ba li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; font-weight: 600; }
.ba li .ic { margin-top: 2px; }
.before li { color: var(--muted); }
.before li .ic { color: #c98a85; }
.after li .ic { color: var(--ok); }

/* ---------- Como funciona ---------- */
.steps { display: grid; gap: 16px; margin-bottom: 36px; }
.step { padding: 26px 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.step-n { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; font-weight: 800; font-size: 19px; color: #fff; background: linear-gradient(140deg, var(--teal-2), var(--teal)); }
.step h3 { font-size: 20px; margin-bottom: 6px; }
.step p { color: var(--muted); }

/* ---------- Para quem ---------- */
.audience { padding-top: 16px; }
.audience-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 860px; margin: 0 auto; }
.audience-list li {
  display: inline-flex; align-items: center; gap: 9px; padding: 12px 18px; border-radius: 99px;
  background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: 15px; box-shadow: var(--shadow-sm);
  transition: transform .2s, border-color .2s;
}
.audience-list li:hover { transform: translateY(-2px); border-color: var(--primary); }
.audience-list .ic { color: var(--teal); }

/* ---------- Planos ---------- */
.pricing { background: var(--surface); border-top: 1px solid var(--line); }
.plans { display: grid; gap: 16px; align-items: stretch; margin-bottom: 28px; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 28px 24px; border-radius: 22px;
  background: var(--bg); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan.featured { background: var(--surface); border: 2px solid var(--primary); box-shadow: var(--shadow-lg); }
.plan-badge { position: absolute; top: -13px; left: 24px; font-size: 12px; font-weight: 800; color: #fff; background: var(--primary); padding: 5px 12px; border-radius: 99px; letter-spacing: .02em; }
.plan h3 { font-size: 21px; margin-bottom: 6px; }
.plan-tag { color: var(--muted); font-size: 14.5px; min-height: 44px; margin-bottom: 18px; }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 20px; }
.plan-price strong { font-size: 36px; font-weight: 800; letter-spacing: -.03em; }
.plan-price span { color: var(--muted); font-weight: 600; }
.plan .btn { margin-bottom: 22px; }
.plan-list { display: grid; gap: 10px; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.plan-list .ic { color: var(--ok); margin-top: 2px; }
.plan-list em { font-style: normal; color: var(--muted); }


/* ---------- Prova social ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 32px; }
.stat { text-align: center; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.stat strong { display: block; font-size: 38px; font-weight: 800; color: var(--primary); letter-spacing: -.03em; }
.stat span { color: var(--muted); font-weight: 600; }
.testimonials { display: grid; gap: 16px; }
.testimonial { position: relative; margin: 0; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.testimonial.is-placeholder { border-style: dashed; border-color: #d9cdc2; background: repeating-linear-gradient(135deg, #fff, #fff 12px, #fcfaf8 12px, #fcfaf8 24px); }
.ph-flag { position: absolute; top: 14px; right: 14px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--warn); background: var(--warn-tint); padding: 3px 9px; border-radius: 99px; }
.quote-ic { color: var(--primary); opacity: .5; margin-bottom: 12px; }
.testimonial blockquote { margin: 0 0 20px; flex: 1; }
.testimonial blockquote p { font-size: 16px; color: var(--ink-2); }
.is-placeholder blockquote p { color: var(--muted); font-style: italic; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; }
.testimonial figcaption b { display: block; font-size: 15px; }
.testimonial figcaption small { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { background: var(--surface); border-top: 1px solid var(--line); }
.faq-grid { display: grid; gap: 12px; }
.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: var(--bg); transition: background .2s, border-color .2s; }
.faq-item[open] { background: var(--surface); border-color: #c9e7e2; box-shadow: var(--shadow-sm); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-weight: 700; font-size: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--teal-tint); flex-shrink: 0; transition: transform .25s ease, background .25s; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--teal); border-radius: 2px; translate: -50% -50%; }
.faq-plus::after { rotate: 90deg; transition: rotate .25s; }
.faq-item[open] .faq-plus::after { rotate: 0deg; }
.faq-a { padding: 0 20px 18px; color: var(--muted); }

/* ---------- Contato / leads ---------- */
.contact-grid { display: grid; gap: 32px; align-items: start; }
.contact-copy h2 { font-size: clamp(28px, 6vw, 40px); margin-bottom: 14px; }
.contact-copy > p { color: var(--muted); font-size: 17px; margin-bottom: 20px; }
.lead-form { padding: 24px; display: grid; gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; gap: 14px; }
.field label { font-weight: 700; font-size: 14px; }
.opt { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(31, 138, 128, .12); }
.field.invalid input { border-color: var(--bad); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { font-weight: 600; font-size: 14.5px; min-height: 1px; }
.form-msg.ok { color: var(--ok); background: var(--ok-tint); padding: 12px 14px; border-radius: 12px; }
.form-msg.err { color: var(--bad); }
.form-legal { font-size: 12.5px; color: var(--muted); }
.form-legal a { text-decoration: underline; }
.btn[disabled] { opacity: .7; pointer-events: none; }
.lead-form.sent .field, .lead-form.sent .field-row, .lead-form.sent [data-submit] { display: none; }

/* ---------- CTA final ---------- */
.final-cta { padding: 24px 0 80px; }
.final-card {
  position: relative; overflow: hidden; text-align: center; color: #fff; padding: 56px 22px; border-radius: 28px;
  background: linear-gradient(140deg, var(--teal-2) 0%, var(--teal) 50%, #12574f 100%);
  box-shadow: var(--shadow-lg);
}
.final-glow { position: absolute; inset: -40% -10% auto auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(240, 105, 108, .45), transparent); pointer-events: none; }
.final-card h2 { position: relative; font-size: clamp(28px, 6vw, 46px); max-width: 820px; margin: 0 auto 18px; }
.final-card p { position: relative; color: #d6f3ee; font-size: 17px; max-width: 560px; margin: 0 auto 30px; }
.final-card .btn { position: relative; }
.final-login { position: relative; display: block; margin-top: 18px; font-weight: 600; color: #e3f7f3; }
.final-login:hover { color: #fff; text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 56px 0 96px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand p { color: var(--muted); margin-top: 12px; max-width: 280px; }
.social-links { display: flex; gap: 8px; margin-top: 16px; }
.social-links a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink-2); transition: all .2s; }
.social-links a:hover { color: var(--primary); border-color: var(--primary); }
.site-footer nav { display: grid; gap: 10px; align-content: start; }
.site-footer h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
.site-footer nav a { color: var(--ink-2); font-weight: 500; }
.site-footer nav a:hover { color: var(--primary); }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

/* ---------- CTA fixo no mobile ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(251, 249, 246, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .35s ease;
}
.mobile-cta.show { transform: none; }

/* ---------- Animações de entrada ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal, .no-js .float, .no-js .bubble { opacity: 1; transform: none; }

/* =========================================================
/* =========================================================
   Breakpoints
   ========================================================= */
@media (min-width: 480px) {
  .hero-ctas { display: flex; flex-wrap: wrap; }
  .hero-modules { grid-template-columns: repeat(3, 1fr); }
  .pain-grid { grid-template-columns: 1fr 1fr; }
  .extras-grid { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 640px) {
  .container { padding: 0 24px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .testimonials { grid-template-columns: repeat(3, 1fr); }
  .ba-grid { grid-template-columns: 1fr 1fr; }
  .phone { width: 300px; }
  .section { padding: 96px 0; }
  .final-card { padding: 72px 40px; }
  .mobile-cta { display: none; }
  .site-footer { padding-bottom: 40px; }
}

@media (min-width: 900px) {
  :root { --header-h: 76px; }
  .menu-toggle { display: none; }
  .link-login, .header-actions .btn-sm { display: inline-flex; }
  .nav {
    position: static; opacity: 1; visibility: visible; transform: none; flex-direction: row; gap: 2px;
    background: none; padding: 0; overflow: visible;
  }
  .nav > a { font-size: 15px; font-weight: 600; padding: 8px 14px; border: 0; border-radius: 99px; color: var(--ink-2); transition: background .2s, color .2s; }
  .nav > a:hover { background: rgba(31, 138, 128, .08); color: var(--teal); }
  .nav > a.active { color: var(--teal); }
  .nav-mobile-actions { display: none; }

  .hero { padding: calc(var(--header-h) + 56px) 0 104px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero-visual { justify-content: flex-end; padding: 20px 10px 10px 0; }
  .b-in { left: 0; top: 70px; }
  .b-in { top: 60px; }
  .b-ok { left: 0; right: auto; top: 180px; }
  .f-price { left: 30px; right: auto; bottom: 110px; }
  .f-stock { display: inline-flex; right: -6px; top: 6px; }
  .f-menu { display: inline-flex; left: 0; bottom: 20px; }
  .pain-grid { grid-template-columns: repeat(3, 1fr); }
  .feature { grid-template-columns: 1fr 1fr; gap: 72px; padding: 64px 0; }
  .feature.rev .feature-copy { order: 2; }
  .extras-grid { grid-template-columns: repeat(4, 1fr); }
  .plans { grid-template-columns: repeat(3, 1fr); }
  .plan.featured { transform: translateY(-10px); }
  .plan.featured:hover { transform: translateY(-14px); }
  .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 56px; }
  .faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .footer-brand { grid-column: auto; }
}

@media (max-width: 379px) {
  .phone { width: 260px; }
  .b-in { max-width: 180px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal, .float, .bubble, .hero-modules li { opacity: 1; transform: none; }
}

/* Planos: seletor Mensal / Anual, subtítulo do preço, nota, "novo" */
.billing {
  display: flex; width: max-content; max-width: 100%; margin: -12px auto 36px; padding: 5px; gap: 4px;
  border-radius: 99px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.billing-opt {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 20px; border: 0; border-radius: 99px;
  background: none; font-weight: 800; font-size: 15px; color: var(--muted); transition: background .2s, color .2s;
}
.billing-opt.is-active { background: var(--ink); color: #fff; }
.billing-off { font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: 99px; background: var(--ok-tint); color: var(--teal-ink); }
.billing-opt.is-active .billing-off { background: var(--teal-2); color: #fff; }
.plan-price { margin-bottom: 2px; }
.plan-sub { font-size: 13.5px; color: var(--muted); font-weight: 600; min-height: 21px; margin-bottom: 4px; }
.plan-sub [data-so="anual"] { color: var(--teal-ink); font-weight: 800; }
.plan-note { font-size: 13.5px; font-weight: 700; color: var(--ink-2); margin-bottom: 4px; }
.plan .btn { margin-top: 14px; }
.plan-selo { align-self: flex-start; margin: 0 0 14px; font-size: 13px; font-weight: 800; color: var(--teal-ink); background: var(--teal-tint); padding: 5px 12px; border-radius: 99px; }
.tag-novo { font-style: normal; font-size: 11px; font-weight: 800; color: #a8611a; background: var(--warn-tint); padding: 1px 8px; border-radius: 99px; margin-left: 2px; white-space: nowrap; }

/* ---------- WhatsApp do CakeOn (WHATSAPP_NUMERO no config.php) ---------- */
.ic-whats { flex: none; }
.btn-whats { background: #25D366; color: #fff; border-color: #25D366; }
.btn-whats:hover { background: #1ebe5b; border-color: #1ebe5b; color: #fff; }
.link-whats { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #1a9e4b; margin-right: 4px; }
.link-whats:hover { color: #128c3e; }
.link-whats span { display: none; }
@media (min-width: 900px) { .link-whats span { display: inline; } }
.hero-whats { display: inline-flex; align-items: center; gap: 8px; margin: -4px 0 14px; font-weight: 700; color: #1a9e4b; }
.hero-whats:hover { color: #128c3e; text-decoration: underline; }
.final-whats { position: relative; margin-top: 12px; }
.whats-fab {
  position: fixed; right: 16px; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 45;
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: #25D366; color: #fff; box-shadow: 0 8px 24px rgba(37, 211, 102, .35);
  transition: transform .2s ease;
}
.whats-fab:hover { transform: scale(1.06); color: #fff; }
@media (min-width: 720px) { .whats-fab { bottom: 24px; right: 24px; } }

/* "Para quem e": menos espaco em branco antes (fim do "Como funciona") e depois (inicio dos Planos) */
.how { padding-bottom: 32px; }
.section.audience { padding-top: 8px; padding-bottom: 24px; }
.audience + .pricing { padding-top: 40px; }
@media (min-width: 640px) {
  .how { padding-bottom: 40px; }
  .section.audience { padding-top: 8px; padding-bottom: 32px; }
  .audience + .pricing { padding-top: 56px; }
}
