/* Landing do FillTime. Mistura a diagramação ousada da landing com a linguagem visual do app (frontend/src/theme/tokens.css e
   index.css): mesmas cores, Inter, cantos arredondados, sombras suaves e botões com brilho do acento. Esta página é a vitrine do
   produto e não segue as regras de white-label do app. */
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:root {
  /* valores do tema padrão do app (frontend/src/theme/tokens.css) */
  --bg: #f5f7fa;
  --surface: #ffffff;
  --fg: #121812;
  --surface-2: color-mix(in srgb, var(--fg) 8%, var(--surface));
  --muted: color-mix(in srgb, var(--fg) 68%, var(--surface));
  --line: color-mix(in srgb, var(--fg) 12%, var(--surface));
  --line-strong: color-mix(in srgb, var(--fg) 16%, var(--surface));
  --r: 14px; --r-md: 9px; --r-sm: 8px;
  --shadow: 0 16px 42px color-mix(in srgb, var(--fg) 7%, transparent);
  --glow: 0 6px 15px color-mix(in srgb, var(--accent) 28%, transparent);
  --tint: color-mix(in srgb, var(--accent) 7%, var(--bg));
  --accent: #3558d4;
  --accent-2: #14b8a6;
  --accent-ink: #ffffff;
  --hot: #ffd166;
  --on-fg: #ffd166;
  --wa-bg: #dcf5c9;
  --wa-ink: #10281a;
  --wa-chat: #e9e2d6;
  --demo: #3558d4;
  --f-display: "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-mono: "Inter", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1118; --surface: #161b26; --fg: #eef1f6;
    --accent: #7b96f2; --accent-2: #2dd4bf; --accent-ink: #0b1230; --hot: #ffd166; --on-fg: #3558d4;
    --wa-bg: #1f4a2c; --wa-ink: #e6f6dc; --wa-chat: #121b17; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e1118; --surface: #161b26; --fg: #eef1f6;
  --accent: #7b96f2; --accent-2: #2dd4bf; --accent-ink: #0b1230; --hot: #ffd166; --on-fg: #3558d4;
  --wa-bg: #1f4a2c; --wa-ink: #e6f6dc; --wa-chat: #121b17; color-scheme: dark;
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--fg); font-family: var(--f-body); font-size: 17px; line-height: 1.55; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 800; line-height: 1.04; margin: 0; text-wrap: balance; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; }
.wrap { max-width: 1120px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.label { font-family: var(--f-body); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }


/* nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 12%, var(--surface)), var(--surface) 60%); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { font-family: var(--f-display); font-weight: 800; font-size: 1.4rem; letter-spacing: -0.03em; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.logo svg { width: 40px; height: 40px; flex: none; display: block; }
.logo path, .logo rect { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.logo .ca, .logo .cb { stroke-width: 4.2; }
.logo .ca { stroke: var(--accent); }
.logo .cb { stroke: var(--accent-2); }
.logo .cf { stroke-width: 1; }
.logo .ca.cf { fill: var(--accent); }
.logo .cb.cf { fill: var(--accent-2); }
.logo .cc { stroke: var(--fg); stroke-width: 2.4; }
.logo rect.cc { fill: var(--surface); }
.logo circle { fill: var(--accent); }
.logo circle:nth-child(2n) { fill: var(--accent-2); }
.logo circle:nth-child(3n) { fill: var(--hot); }
.nav nav { display: flex; gap: 22px; margin-left: auto; font-size: 0.95rem; }
.nav nav a { text-decoration: none; color: var(--muted); }
.nav nav a:hover { color: var(--fg); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 1rem var(--f-body); background: var(--accent); color: var(--accent-ink); border: 1px solid var(--accent); padding: 13px 22px; border-radius: var(--r-md); box-shadow: var(--glow); text-decoration: none; cursor: pointer; transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translateY(-2px); }
.btn.ghost { background: var(--surface); color: var(--fg); border-color: var(--line-strong); box-shadow: none; }
.btn.sm { padding: 8px 16px; font-size: 0.92rem; }
.theme-btn { background: none; border: 1px solid var(--line-strong); color: var(--fg); border-radius: var(--r-sm); width: 36px; height: 36px; cursor: pointer; font-size: 1rem; }

.pole { height: 5px; background: linear-gradient(90deg, var(--accent), var(--accent-2) 70%, var(--hot)); }

/* hero */
.hero { padding-block: 64px 72px; background: radial-gradient(900px 420px at 85% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%), radial-gradient(600px 360px at 0% 100%, color-mix(in srgb, var(--accent-2) 9%, transparent), transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; margin-top: 24px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.micro { margin-top: 18px; font-size: 0.85rem; color: var(--muted); }

.phone { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--r) + 6px); padding: 14px; box-shadow: var(--shadow); min-width: 0; }
.phone-top { display: flex; align-items: center; gap: 10px; padding: 4px 4px 12px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; }
.phone-top b { display: block; line-height: 1.1; }
.chat { background: var(--wa-chat); border-radius: var(--r); padding: 14px; display: flex; flex-direction: column; gap: 8px; min-height: 190px; }
.bubble { background: var(--wa-bg); color: var(--wa-ink); border-radius: 12px 12px 3px 12px; padding: 10px 12px; font-size: 0.93rem; max-width: 92%; align-self: flex-end; line-height: 1.4; }
.bubble small { display: block; text-align: right; opacity: .6; font-size: .7rem; margin-top: 4px; font-family: var(--f-mono); }
.freq { margin-top: 14px; }
.seg { display: flex; border: 1px solid var(--line-strong); border-radius: var(--r-md); overflow: hidden; margin-top: 8px; }
.seg button { flex: 1; font: 500 0.9rem var(--f-body); padding: 9px 4px; background: transparent; color: var(--fg); border: 0; cursor: pointer; border-right: 1px solid var(--line); }
.seg button:last-child { border-right: 0; }
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.next { margin-top: 12px; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 0.9rem; }

.modal { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.modal-bg { position: absolute; inset: 0; background: color-mix(in srgb, var(--fg) 55%, transparent); }
.modal-panel { position: relative; width: min(100%, 440px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 32px; display: flex; flex-direction: column; gap: 14px; max-height: 100%; overflow-y: auto; box-shadow: 0 30px 70px -30px color-mix(in srgb, var(--fg) 55%, transparent); }
.modal-x { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; background: transparent; color: var(--muted); font-size: 1.6rem; line-height: 1; cursor: pointer; border-radius: var(--r-sm); }
.modal-sub { color: var(--muted); }
.or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .82rem; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.or span { text-align: center; }
#companyForm { display: flex; flex-direction: column; gap: 8px; }
.slugrow { display: flex; align-items: center; gap: 8px; }
.slugrow input { flex: 1 1 0; min-width: 0; font: 500 1rem var(--f-body); padding: 11px 12px; border-radius: var(--r-sm); border: 1px solid var(--line-strong); background: var(--surface); color: var(--fg); }
.slugrow span { font-size: .82rem; color: var(--muted); white-space: nowrap; }
#companyGo[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.modal-fine { font-size: .82rem; color: var(--muted); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); text-decoration: underline; cursor: pointer; }
.niches { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 28px; }
.nb { font: 500 0.9rem var(--f-body); padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--fg); cursor: pointer; }
.nb[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.segs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.seg-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.seg-card p { color: var(--muted); font-size: .95rem; }
.cyc { font-size: .8rem; color: var(--accent); font-weight: 600; }
.track { height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.track i { display: block; height: 100%; background: var(--accent); }
/* sections */
section { padding-block: 88px; }
.sec-head { max-width: 760px; display: flex; flex-direction: column; gap: 16px; margin-bottom: 48px; }
.sec-head p { color: var(--muted); font-size: 1.1rem; }
.alt { background: var(--surface); border-block: 1px solid var(--line); }

.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; background: var(--surface); }
.pain { padding: 28px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pain:last-child { border-right: 0; }
.pain .big { font-family: var(--f-display); font-stretch: 75%; font-weight: 800; font-size: 3.2rem; line-height: 1; color: var(--accent); }
.pain p { color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { border-top: 3px solid var(--accent); padding-top: 18px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.step .label { color: var(--accent); }
.step p { color: var(--muted); }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cell { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 26px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.cell p { color: var(--muted); }
.c-a { grid-column: span 4; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 38%, var(--fg)), var(--fg) 70%); color: var(--bg); border-color: var(--fg); }
.c-a p { color: inherit; opacity: .78; }
.c-b { grid-column: span 2; }
.c-c, .c-d, .c-e { grid-column: span 2; }
.c-f { grid-column: span 3; }
.c-g { grid-column: span 3; }
.mini-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 8px; font-family: var(--f-mono); font-size: .72rem; }
.mini-cal span { padding: 6px 0; text-align: center; border-radius: 6px; background: color-mix(in srgb, var(--bg) 14%, transparent); }
.mini-cal span.on { background: var(--on-fg); color: var(--fg); font-weight: 600; }
.conflict { margin-top: 6px; font-family: var(--f-mono); font-size: .76rem; padding: 8px 10px; border-radius: var(--r-sm); background: color-mix(in srgb, var(--on-fg) 20%, transparent); border: 1px dashed var(--on-fg); }
.roles { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.chip { font-family: var(--f-mono); font-size: .72rem; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }

/* white label */
.wl { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field input[type=text] { font: 500 1.1rem var(--f-body); padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid var(--line-strong); background: var(--surface); color: var(--fg); width: 100%; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.sw { width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--surface); box-shadow: 0 0 0 2px var(--line); cursor: pointer; }
.sw[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--fg); }
.browser { border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; background: var(--surface); min-width: 0; }
.bar { display: flex; align-items: center; gap: 10px; background: linear-gradient(120deg, color-mix(in srgb, var(--demo) 14%, var(--surface)), var(--surface-2)); padding: 10px 14px; font-family: var(--f-mono); font-size: .8rem; }
.bar b { font-weight: 600; overflow-wrap: anywhere; }
.app { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.app-head { display: flex; align-items: center; gap: 10px; }
.app-head .mark { width: 36px; height: 36px; border-radius: 12px 12px 12px 4px; background: var(--demo); color: #fff; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; transition: background .2s; }
.app-head strong { font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.slot { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-md); font-size: .92rem; }
.slot .mono { color: var(--muted); }
.slot em { font-style: normal; font-family: var(--f-mono); font-size: .7rem; padding: 3px 8px; border-radius: 99px; background: color-mix(in srgb, var(--demo) 18%, transparent); color: var(--fg); }
.slot.hot { border-color: var(--demo); border-left-width: 5px; }
.app .save { align-self: flex-start; background: var(--demo); color: #fff; border: 0; border-radius: var(--r-md); padding: 10px 16px; font: 600 .9rem var(--f-body); transition: background .2s; }

/* calculator */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; background: var(--surface); }
.calc > div { padding: 32px; min-width: 0; }
.range { margin-bottom: 26px; }
.range-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.range-top output { font-family: var(--f-mono); font-weight: 600; font-size: 1.15rem; }
input[type=range] { width: 100%; accent-color: var(--accent); }
.result { background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 38%, var(--fg)), var(--fg) 70%); color: var(--bg); display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.result .num { font-family: var(--f-display); font-stretch: 75%; font-weight: 900; font-size: clamp(3rem, 8vw, 5rem); line-height: .95; color: var(--on-fg); font-variant-numeric: tabular-nums; }
.result p { opacity: .8; }
.result .fine { font-size: .8rem; opacity: .6; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 28px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.plan.main { border: 2px solid var(--fg); position: relative; }
.plan.main .tag { position: absolute; top: -13px; left: 20px; background: var(--hot); color: #1b1400; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; }
.price { font-family: var(--f-display); font-stretch: 75%; font-weight: 900; font-size: 3.4rem; line-height: 1; font-variant-numeric: tabular-nums; }
.price small { font-family: var(--f-body); font-stretch: 100%; font-weight: 400; font-size: 1rem; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.plan li { padding-left: 22px; position: relative; font-size: .95rem; }
.plan li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 5px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* roadmap */
.road { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.road div { border: 1px dashed var(--line-strong); border-radius: var(--r); background: var(--surface); padding: 20px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.road p { color: var(--muted); font-size: .94rem; }

/* faq */
.faq { max-width: 780px; }
details { border-top: 1px solid var(--line); padding: 18px 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--f-mono); color: var(--accent); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin-top: 10px; max-width: 60ch; }

.final { background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 38%, var(--fg)), var(--fg) 70%); color: var(--bg); text-align: left; }
.final .wrap { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.final p { opacity: .8; max-width: 44ch; font-size: 1.15rem; }
.final .btn:not(.ghost) { background: var(--on-fg); border-color: var(--on-fg); color: var(--fg); box-shadow: none; }
.final .btn.ghost { background: transparent; color: var(--bg); border-color: var(--bg); }
.final form { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; max-width: 560px; }
.final input[type=email] { flex: 1 1 240px; min-width: 0; font: 500 1rem var(--f-body); padding: 13px 14px; border-radius: 6px; border: 2px solid var(--bg); background: transparent; color: var(--bg); }
.final input::placeholder { color: var(--bg); opacity: .55; }
.ok { font-family: var(--f-mono); font-size: .85rem; color: var(--on-fg); }
footer { padding-block: 28px; font-size: .88rem; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }

@media (max-width: 900px) {
  .hero .wrap, .wl, .calc { grid-template-columns: 1fr; }
  .pains, .steps, .plans, .road, .segs { grid-template-columns: 1fr; }
  .pain { border-right: 0; border-bottom: 1px solid var(--line); }
  .pain:last-child { border-bottom: 0; }
  .bento { grid-template-columns: 1fr; }
  .bento .cell { grid-column: auto; }
  .nav nav a:not(.btn) { display: none; }
  .nav .wrap { gap: 10px; }
  .nav nav { display: none; }
  .logo { margin-right: auto; }
  section { padding-block: 60px; }
  .calc > div { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
.final .micro { color: inherit; opacity: .7; }

.gicon { flex: none; box-sizing: content-box; width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: #fff; }

/* aviso de cookies */
.cookie { position: fixed; z-index: 50; left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); max-width: 640px; margin-inline: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; justify-content: space-between; background: var(--surface); color: var(--fg); border: 1px solid var(--line-strong); border-radius: var(--r); padding: 16px 20px; box-shadow: var(--shadow); font-size: .9rem; }
.cookie p { flex: 1 1 280px; }
.cookie a { color: var(--accent); }
.cookie-actions { display: flex; gap: 8px; }
/* página legal */
.legal { padding-block: 56px 72px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 8px; }
.legal h2 { font-size: 1.3rem; letter-spacing: -0.02em; margin: 36px 0 10px; }
.legal p, .legal li { margin-top: 10px; color: var(--muted); }
.legal ul { padding-left: 22px; margin: 0; }
.legal .label { display: block; margin-bottom: 18px; }
