/* PinMyChat — site de apresentação. Minimalista: muito espaço, uma cor de destaque, sem rastreadores nem fontes de terceiros. */
@font-face { font-family: "Inter"; src: url("assets/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #0d1b2e;
  --blue: #1d6ef3;
  --blue-dk: #1558c9;
  --soft: #f4f7fa;
  --line: #e3e8ef;
  --muted: #5b6574;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.wrap { width: min(1080px, 100% - 3rem); margin-inline: auto; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
a { color: inherit; }

/* topo */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand b { font-size: 1.05rem; letter-spacing: -.01em; }
.mark { width: 30px; height: 30px; border-radius: 9px; background: var(--blue); display: grid; place-items: center; }
.mark svg { width: 17px; height: 17px; fill: #fff; }
.right { display: flex; align-items: center; gap: 1rem; }
.lang { display: inline-flex; gap: .15rem; }
.lang button { border: 0; background: transparent; font: inherit; font-size: .8rem; font-weight: 600; color: var(--muted); padding: .35rem .5rem; border-radius: 8px; cursor: pointer; min-height: 36px; }
.lang button[aria-pressed="true"] { color: var(--ink); background: var(--soft); }
.lang button:hover { color: var(--ink); }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 1.5rem; border-radius: 12px; background: var(--blue); color: #fff; font-weight: 600; text-decoration: none; transition: background .15s; }
.btn:hover { background: var(--blue-dk); }
.btn.small { min-height: 40px; padding: 0 1.1rem; font-size: .9rem; }
.link { font-weight: 600; text-decoration: none; color: var(--blue); }
.link:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid #93c5fd; outline-offset: 3px; border-radius: 8px; }

/* herói */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; padding: 6rem 0 5rem; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
.lead { margin-top: 1.1rem; font-size: clamp(1.2rem, 2.2vw, 1.5rem); color: var(--blue); font-weight: 600; }
.actions { margin-top: 2rem; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }

/* janela de chat (arte) */
.demo { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 30px 60px -30px rgba(13, 27, 46, .25); overflow: hidden; max-width: 420px; justify-self: end; width: 100%; }
.demo-head { display: flex; align-items: center; gap: .6rem; padding: .9rem 1.1rem; background: var(--blue); color: #fff; font-weight: 700; font-size: .92rem; }
.demo-head i { width: 9px; height: 9px; border-radius: 50%; background: #86efac; }
.demo-body { padding: 1.2rem; display: grid; gap: .7rem; background: var(--soft); }
.msg { max-width: 88%; padding: .6rem .85rem; border-radius: 14px; font-size: .92rem; line-height: 1.45; display: grid; gap: .15rem; }
.msg .who { font-size: .68rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; opacity: .7; }
.msg.v { justify-self: end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.msg.ai { justify-self: start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg.team { justify-self: start; background: var(--ink); color: #fff; border-bottom-left-radius: 4px; }
.demo-input { display: flex; align-items: center; justify-content: space-between; padding: .8rem 1.1rem; border-top: 1px solid var(--line); color: #9aa4b2; font-size: .88rem; }
.demo-input i { width: 28px; height: 28px; border-radius: 8px; background: var(--blue); opacity: .85; }
@media (prefers-reduced-motion: no-preference) {
  .demo .msg { opacity: 0; transform: translateY(8px); animation: rise .5s ease forwards; }
  .demo .msg:nth-child(1) { animation-delay: .2s; }
  .demo .msg:nth-child(2) { animation-delay: 1s; }
  .demo .msg:nth-child(3) { animation-delay: 1.9s; }
}
@keyframes rise { to { opacity: 1; transform: none; } }

/* seções */
.band { background: var(--soft); padding: 5rem 0; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 800; }
.steps { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.steps .n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--blue); font-weight: 700; margin-bottom: 1rem; }
.steps h3, .grid h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .4rem; }
.steps p, .grid p { color: var(--muted); }
.owners { padding: 6rem 0 3rem; max-width: 760px; }
.owners p { margin-top: 1.1rem; font-size: 1.15rem; color: var(--muted); }
.grid { list-style: none; margin: 0; padding: 1rem 0 6rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem 2.5rem; }
.priv { text-align: center; }
.priv h2 { margin-bottom: 1rem; }
.priv p { max-width: 680px; margin-inline: auto; color: var(--muted); font-size: 1.1rem; }
.closing { text-align: center; padding: 6rem 0; display: grid; gap: 1rem; justify-items: center; }
.closing p { color: var(--muted); font-size: 1.1rem; margin-bottom: .6rem; }

footer { border-top: 1px solid var(--line); padding: 1.6rem 0; color: var(--muted); font-size: .9rem; }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }

/* celular */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 3rem; padding: 3.5rem 0 3rem; }
  .demo { justify-self: stretch; max-width: none; }
  .steps, .grid { grid-template-columns: 1fr; gap: 2rem; }
  .owners { padding-top: 4rem; }
  .grid { padding-bottom: 4rem; }
  .band { padding: 3.5rem 0; }
  .closing { padding: 4rem 0; }
  .right { gap: .5rem; }
  .bar .btn.small { display: none; }
}
