/* qTalk · site institucional. Cores e fonte do guia da marca (brand/README.md). */
@font-face { font-family: Poppins; font-weight: 500; font-display: swap; src: url('/assets/fonts/Poppins-Medium.ttf') format('truetype'); }
@font-face { font-family: Poppins; font-weight: 600; font-display: swap; src: url('/assets/fonts/Poppins-SemiBold.ttf') format('truetype'); }

:root {
  --ink: #26215C; --deep: #3C3489; --brand: #534AB7; --mid: #7F77DD; --lav: #CECBF6; --lav50: #EEEDFE;
  --light: #F7F6FD; --body: #4A4675; --muted: #6E6A93; --line: #E4E2F5; --mint: #9FE1CB;
  --whats: #1DA851; --whats-dark: #168A42;
  --radius: 20px; --wrap: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--light); color: var(--body); font: 400 17px/1.6 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: Poppins, 'Segoe UI', Arial, sans-serif; font-weight: 600; color: var(--ink); margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
svg { width: 20px; height: 20px; flex: none; }
.sprite { position: absolute; width: 0; height: 0; }

/* Botões */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font: 600 16px/1 Poppins, 'Segoe UI', sans-serif; text-decoration: none; transition: transform .15s ease, background .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, .menu a:focus-visible, .menu-toggle:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }
.btn-whats { background: var(--whats); color: #fff; }
.btn-whats:hover { background: var(--whats-dark); }
.btn-primary { background: var(--deep); color: #fff; }
.btn-primary:hover { background: var(--ink); }
.btn-ghost { background: transparent; color: var(--light); box-shadow: inset 0 0 0 2px rgba(206, 203, 246, .45); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--lav); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.phone-info { display: inline-flex; align-items: center; gap: 10px; padding: 14px 8px; font: 600 18px/1 Poppins, 'Segoe UI', sans-serif; color: var(--light); }
.phone-info.dark-text { color: var(--ink); }
.btn-sm svg { width: 18px; height: 18px; }

/* Topo */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(38, 33, 92, .96); backdrop-filter: blur(8px); }
.topbar-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand img { height: 40px; width: auto; }
.menu { display: flex; gap: 28px; margin-left: auto; }
.menu a { color: var(--lav); text-decoration: none; font-weight: 500; font-size: 15px; }
.menu a:hover { color: #fff; }
.menu-toggle { display: none; }

/* Abertura */
.hero { background: var(--ink); color: var(--lav); padding: 80px 0 96px; overflow: hidden; position: relative; }
.hero::after { content: ''; position: absolute; right: -180px; top: -120px; width: 620px; height: 620px; border-radius: 120px; background: #2E286B; transform: rotate(8deg); z-index: 0; }
/* Abertura em duas colunas. A tela do sistema tem exatamente 680 px (a imagem foi desenhada nesse tamanho),
   então o navegador não reduz nada e o texto da interface fica nítido. */
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 680px); gap: 56px; align-items: center; }
.badge { display: inline-block; background: var(--mint); color: var(--ink); font: 600 13px/1 Poppins, sans-serif; letter-spacing: .12em; text-transform: uppercase; padding: 9px 16px; border-radius: 999px; }
.hero h1 { color: var(--light); font-size: clamp(40px, 4.6vw, 56px); line-height: 1.05; margin: 0 0 20px; }
.lead { font-size: 19px; color: var(--lav); max-width: 30em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.cta-row.center { justify-content: center; }
.proof { margin-top: 28px; font-size: 15px; color: var(--lav); display: flex; align-items: center; gap: 10px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgba(159, 225, 203, .2); }

/* Moldura de navegador nas telas */
.device { width: 100%; max-width: 1132px; margin: 0; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 30px 80px rgba(10, 6, 40, .45), 0 0 0 1px rgba(255, 255, 255, .08); }
.device-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #ECEAF8; }
.device-bar i { width: 10px; height: 10px; border-radius: 50%; background: #CFCBEA; }
.device-bar span { margin-left: 12px; flex: 1; max-width: 260px; background: #fff; color: var(--muted); font-size: 12px; border-radius: 6px; padding: 3px 12px; }

.device.wide { margin: 48px auto 28px; }
.device img { width: 100%; }

/* Seções */
.section { padding: 96px 0; }
.kicker { font: 600 14px/1 Poppins, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.section h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; max-width: 20em; }
.section-lead { font-size: 19px; margin-top: 18px; max-width: 42em; }
.dark { background: var(--ink); color: var(--lav); }
.dark h2, .dark h3 { color: var(--light); }
.dark .kicker { color: #AFA9EC; }

.channels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.channel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.channel h3 { font-size: 22px; margin: 18px 0 8px; }
.channel p { font-size: 16px; }
.ch-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--lav50); color: var(--brand); }
.ch-icon svg { width: 26px; height: 26px; }

.shot { margin: 0; }
.shot img { border-radius: 14px; box-shadow: 0 18px 50px rgba(38, 33, 92, .16); border: 1px solid var(--line); }
.dark .shot img { border-color: rgba(255, 255, 255, .08); box-shadow: 0 18px 50px rgba(0, 0, 0, .35); }
.shot figcaption { margin-top: 16px; font-size: 16px; }
.shot figcaption strong { display: block; font: 600 18px/1.3 Poppins, sans-serif; color: var(--light); margin-bottom: 4px; }
.phone-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.ticks { list-style: none; padding: 0; margin: 44px 0 0; display: flex; flex-wrap: wrap; gap: 14px 36px; }
.ticks li { display: flex; align-items: center; gap: 10px; color: var(--light); }
.ticks li::before { content: ''; width: 20px; height: 20px; border-radius: 50%; flex: none; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2326215C' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }

.feature { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; margin-top: 72px; }
.feature.reverse > .shot { order: 2; }
.feature h3 { font-size: 28px; line-height: 1.2; margin-bottom: 14px; }
.feature p + p { margin-top: 12px; }
.note { font-size: 15px; color: var(--muted); }

.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 88px; }
.pillars div { border-top: 4px solid var(--brand); padding-top: 20px; }
.pillars h3 { font-size: 19px; margin-bottom: 6px; }
.pillars p { font-size: 15.5px; }
.fineprint { margin-top: 40px; font-size: 13px; color: var(--muted); }

.cta { background: var(--lav50); text-align: center; }
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta-inner h2 { margin-top: 20px; }
.cta .section-lead { margin-left: auto; margin-right: auto; }

.footer { background: var(--ink); color: var(--lav); padding: 28px 0; font-size: 14px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer a { color: var(--lav); }

.float-whats { position: fixed; right: 22px; bottom: 22px; z-index: 30; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--whats); color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); transition: transform .15s ease; }
.float-whats:hover { transform: scale(1.06); }
.float-whats svg { width: 32px; height: 32px; }

/* Tablet */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .channels, .pillars { grid-template-columns: repeat(2, 1fr); }
  .phone-grid { grid-template-columns: 1fr 1fr; }
  .feature, .feature.reverse { grid-template-columns: 1fr; gap: 28px; }
  .feature.reverse > .shot { order: 0; }
}
/* Celular */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .topbar-inner { gap: 12px; }
  .topbar .btn-sm span { display: none; }
  .topbar .btn-sm { padding: 10px; }
  .menu-toggle { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; }
  .menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { content: ''; display: block; width: 22px; height: 2px; background: var(--lav); position: relative; }
  .menu-toggle span::before { position: absolute; top: -7px; } .menu-toggle span::after { position: absolute; top: 7px; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; gap: 0; background: var(--ink); padding: 8px 16px 16px; }
  .menu.open { display: flex; }
  .menu a { padding: 12px 0; font-size: 17px; border-bottom: 1px solid rgba(206, 203, 246, .15); }
  .brand { margin-right: auto; }
  .hero { padding: 48px 0 64px; }
  .section { padding: 64px 0; }
  .channels, .pillars, .phone-grid { grid-template-columns: 1fr; }
  .device { max-width: 300px; margin-left: auto; margin-right: auto; border-radius: 36px; padding: 10px; background: #0F0C2E; box-shadow: 0 24px 60px rgba(10, 6, 40, .5), inset 0 0 0 2px #3A3380; }
  .device img { border-radius: 27px; }
  .device-bar { display: none; }
  .cta-row .btn, .cta-row .phone-info { width: 100%; justify-content: center; }
  .footer-inner { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .float-whats { transition: none; } }
