@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap");

:root {
  --ink: #141b2d;
  --muted: #5f6b80;
  --line: #e4e8f1;
  --surface: #ffffff;
  --canvas: #f5f7fb;
  --accent: #2b86d9;
  --accent-dark: #1f6cb5;
  --accent-soft: #e6f1fb;
  --green: #1d8f5e;
  --gold: #c0922f;
  --red: #c2493f;
  --blue: #2b86d9;
  --shadow: 0 18px 50px rgba(20, 27, 45, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Manrope", sans-serif;
}

.btn {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 700;
  transition: 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 8px 22px rgba(20, 27, 45, 0.24);
}

.btn.primary:hover {
  background: #000;
}

.btn.secondary,
.btn.ghost {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.btn.text {
  color: var(--accent);
}

.btn.large {
  min-height: 52px;
  padding: 0 24px;
}

.btn.full {
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  flex: none;
  place-items: center;
  border-radius: 11px;
  font-size: 0;
  background: url("../img/logo-mark.9efb13fa3308.png") center / cover no-repeat;
  box-shadow: 0 2px 8px rgba(20, 27, 45, 0.16);
}

.brand > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand strong {
  font-size: 18px;
}

.brand small {
  margin-top: 4px;
  color: #a99fbe;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand.dark {
  color: var(--ink);
}

.brand.light small {
  color: #c8bff2;
}

.eyebrow {
  margin-bottom: 5px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.app-shell {
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  z-index: 30;
  inset: 0 auto 0 0;
  display: flex;
  width: 252px;
  flex-direction: column;
  padding: 24px 18px;
  color: #f7f4ff;
  background:
    radial-gradient(circle at 0 0, rgba(121, 82, 226, 0.35), transparent 28%),
    #191522;
}

.sidebar .brand {
  padding: 0 8px 22px;
}

.tenant-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 12px;
  border: 1px solid #393144;
  border-radius: 14px;
  background: #25202f;
}

.tenant-chip > span:last-child {
  display: grid;
  min-width: 0;
}

.tenant-chip small,
.sidebar-footer small {
  color: #9f97ae;
  font-size: 10px;
  text-transform: uppercase;
}

.tenant-chip strong,
.sidebar-footer strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tenant-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  background: var(--accent);
  font-weight: 800;
}

.nav {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 5px;
}

.nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 43px;
  padding: 0 13px;
  border-radius: 11px;
  color: #bdb6c9;
  font-size: 14px;
  font-weight: 600;
}

.nav a:hover,
.nav a.active {
  color: #fff;
  background: rgba(119, 82, 224, 0.22);
}

.nav-ico {
  display: inline-grid;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  place-items: center;
  opacity: 0.85;
}

.nav-ico svg {
  width: 19px;
  height: 19px;
}

.nav a.active .nav-ico {
  opacity: 1;
}

.nav a.active {
  box-shadow: inset 3px 0 var(--accent);
}

.nav-label {
  margin: 18px 13px 4px;
  color: #716a7c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.sidebar-footer {
  display: grid;
  gap: 9px;
  padding: 17px 10px 0;
  border-top: 1px solid #332d3c;
}

.sidebar-footer > div {
  display: grid;
}

.link-button {
  padding: 0;
  border: 0;
  color: #ae9ff1;
  background: transparent;
  font-size: 12px;
}

.main {
  min-height: 100vh;
  margin-left: 252px;
}

.topbar {
  display: flex;
  min-height: 92px;
  align-items: center;
  gap: 16px;
  padding: 18px 34px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
}

.topbar h1 {
  margin: 0;
  font-size: 25px;
  letter-spacing: -0.03em;
}

.topbar .eyebrow {
  margin: 0 0 2px;
}

.top-actions {
  margin-left: auto;
}

.menu-button {
  display: none;
  border: 0;
  background: transparent;
  font-size: 23px;
}

.content {
  width: min(1480px, 100%);
  margin: 0 auto;
  padding: 30px 34px 54px;
}

.flash-stack {
  position: fixed;
  z-index: 50;
  top: 20px;
  right: 22px;
  display: grid;
  gap: 10px;
}

.flash {
  max-width: 420px;
  padding: 13px 17px;
  border: 1px solid #cdebdc;
  border-radius: 12px;
  color: #17633f;
  background: #f0fff7;
  box-shadow: var(--shadow);
}

.notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
  padding: 18px 20px;
  border: 1px solid #ddd3ff;
  border-radius: 16px;
  background: #f5f1ff;
}

.notice p {
  margin: 4px 0 0;
  color: var(--muted);
}

.welcome-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.welcome-row h2 {
  margin-bottom: 4px;
  font-size: 23px;
}

.welcome-row p {
  margin: 0;
  color: var(--muted);
}

.date-chip,
.count {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: #fff;
  font-size: 12px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
  margin-bottom: 20px;
}

.metric-card,
.card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 4px 18px rgba(31, 19, 54, 0.025);
}

.metric-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 126px;
  padding: 20px;
}

.metric-icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 13px;
  font-size: 20px;
}

.metric-icon svg {
  width: 22px;
  height: 22px;
}

.metric-icon.purple {
  color: var(--accent);
  background: var(--accent-soft);
}

.metric-icon.gold,
.metric-icon.green,
.metric-icon.blue {
  color: var(--accent);
  background: var(--accent-soft);
}

.metric-card > div:last-child {
  display: grid;
}

.metric-card small {
  color: var(--muted);
  font-size: 12px;
}

.metric-card strong {
  margin: 3px 0;
  font-family: "Manrope", sans-serif;
  font-size: 27px;
}

.metric-card span {
  color: #9a96a2;
  font-size: 11px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(290px, 0.9fr);
  gap: 20px;
}

.card {
  padding: 22px;
}

.large-card {
  min-height: 380px;
}

.quick-card {
  grid-column: 1 / -1;
}

.card-head,
.form-intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 20px;
}

.card-head h2,
.card-head h3,
.form-intro h2 {
  margin: 0;
}

.card-head a {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.conversation-list {
  display: grid;
}

.conversation-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid #f0edf2;
}

.conversation-row > div {
  display: grid;
}

.conversation-row small {
  margin-top: 2px;
  color: var(--muted);
}

.contact-avatar,
.customer-cell i {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  color: var(--accent);
  background: var(--accent-soft);
  font-style: normal;
  font-weight: 800;
}

.contact-avatar.large {
  width: 46px;
  height: 46px;
  font-size: 17px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.status-badge,
.stage {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  color: #625d6a;
  background: #f0eef3;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.status-badge.active,
.status-badge.connected,
.status-badge.confirmed,
.status-badge.trial,
.status-badge.active,
.stage.won {
  color: #14774c;
  background: #e7f8ef;
}

.status-badge.pending,
.stage.interested,
.stage.negotiation {
  color: #956314;
  background: #fff3d6;
}

.status-badge.suspended,
.status-badge.disconnected,
.status-badge.rejected,
.stage.lost {
  color: #a13535;
  background: #ffe9e9;
}

/* ===== Conexão WhatsApp no painel ===== */
.whatsapp-connect-card {
  padding: 24px;
}

.connect-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}

.connect-card-head h3 {
  margin-top: 4px;
}

.connection-dot {
  width: 11px;
  height: 11px;
  margin-top: 7px;
  border-radius: 50%;
  background: #b8c0cc;
  box-shadow: 0 0 0 5px #f0f2f6;
}

.connection-dot.connected {
  background: var(--green);
  box-shadow: 0 0 0 5px #e3f6ed;
}

.qr-stage {
  display: grid;
  min-height: 310px;
  place-items: center;
  margin-bottom: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8fafc;
}

.qr-placeholder,
.qr-loading,
.connection-ready {
  text-align: center;
}

.qr-placeholder p,
.qr-loading p,
.connection-ready p {
  max-width: 280px;
  margin: 7px auto 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.qr-symbol {
  display: grid;
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  place-items: center;
  border-radius: 14px;
  color: var(--accent);
  background: var(--accent-soft);
}

.qr-symbol svg {
  width: 24px;
  height: 24px;
}

#whatsapp-qr {
  width: min(280px, 100%);
  padding: 8px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(20, 27, 45, 0.1);
}

.qr-loading span {
  display: block;
  width: 34px;
  height: 34px;
  margin: 0 auto 12px;
  border: 3px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: qr-spin 0.8s linear infinite;
}

@keyframes qr-spin {
  to { transform: rotate(360deg); }
}

.connection-ready {
  display: grid;
  min-height: 310px;
  place-items: center;
  align-content: center;
  margin-bottom: 16px;
  padding: 30px;
  border: 1px solid #cdebdc;
  border-radius: 18px;
  background: #f2fbf7;
}

.connection-ready[hidden] {
  display: none;
}

.connection-check {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-size: 25px;
  font-weight: 800;
}

.connect-error {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #a13535;
  background: #ffe9e9;
  font-size: 12px;
}

.whatsapp-connect-card .btn + .btn {
  margin-top: 9px;
}

.scan-steps {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.scan-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}

.scan-steps li > span {
  display: grid;
  flex: none;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 8px;
  color: var(--accent);
  background: var(--accent-soft);
  font-weight: 800;
}

.stage.new {
  color: #5640b3;
  background: #eee9ff;
}

.usage-ring {
  display: grid;
  width: 142px;
  height: 142px;
  margin: 20px auto;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--accent) var(--usage), #eeebf1 0);
}

.usage-ring::before {
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #fff;
  content: "";
}

.usage-ring div {
  z-index: 1;
  display: grid;
  text-align: center;
}

.usage-ring strong {
  font-size: 24px;
}

.usage-ring small {
  color: var(--muted);
}

.progress {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #eeeaf2;
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.usage-line {
  display: flex;
  justify-content: space-between;
  margin: 9px 0 20px;
  color: var(--muted);
  font-size: 12px;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.check-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.check-list a > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: #aaa5b0;
  background: #f0eef2;
}

.check-list a > span.done {
  color: #fff;
  background: var(--green);
}

.check-list div {
  display: grid;
}

.check-list small {
  margin-top: 3px;
  color: var(--muted);
}

.empty-state {
  display: grid;
  min-height: 220px;
  place-content: center;
  justify-items: center;
  color: var(--muted);
  text-align: center;
}

.empty-state.tall {
  min-height: 430px;
}

.empty-state > span {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 12px;
  place-items: center;
  border-radius: 16px;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 22px;
}

.empty-state h3,
.empty-state h4 {
  margin-bottom: 5px;
  color: var(--ink);
}

.form-card {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
}

.form-card.narrow {
  max-width: 900px;
}

.form-intro {
  padding: 25px 28px 0;
}

.form-intro p {
  margin: 4px 0 0;
  color: var(--muted);
}

.form-section {
  padding: 22px 28px;
  border-top: 1px solid var(--line);
}

.form-section h3 {
  margin-bottom: 17px;
  font-size: 15px;
}

.form-grid {
  display: grid;
  gap: 17px 20px;
  padding: 0 28px 28px;
}

.form-section .form-grid {
  padding: 0;
}

.form-grid.two,
.two-cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid p,
.stack-form p {
  display: grid;
  align-content: start;
  gap: 7px;
  margin: 0;
}

.form-grid label,
.stack-form label {
  font-size: 12px;
  font-weight: 700;
}

.helptext {
  color: var(--muted);
  font-size: 10px;
}

ul.errorlist {
  margin: 0;
  padding: 0;
  color: var(--red);
  font-size: 11px;
  list-style: none;
}

.input,
.stack-form input,
.stack-form select,
.stack-form textarea,
.search input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #dcd8e1;
  border-radius: 10px;
  outline: none;
  background: #fff;
  transition: 0.2s ease;
}

textarea.input {
  resize: vertical;
}

.input:focus,
.stack-form input:focus,
.stack-form textarea:focus,
.stack-form select:focus {
  border-color: #9b82e8;
  box-shadow: 0 0 0 3px #eee9ff;
}

.checkbox {
  width: 18px;
  height: 18px;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 18px 28px;
  border-top: 1px solid var(--line);
  background: #fbfafc;
  color: var(--muted);
  font-size: 12px;
}

.setup-steps {
  display: flex;
  max-width: 680px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 27px;
}

.setup-steps > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  font-weight: 800;
}

.setup-steps > span.active {
  color: #fff;
  background: var(--accent);
}

.setup-steps small {
  position: absolute;
  margin-top: 64px;
  color: var(--muted);
  white-space: nowrap;
}

.setup-steps i {
  width: 110px;
  height: 1px;
  background: var(--line);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.75fr);
  gap: 20px;
  align-items: start;
}

.preview-panel {
  position: sticky;
  top: 20px;
}

.preview-label {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mini-phone,
.phone-card {
  overflow: hidden;
  border: 7px solid #17131e;
  border-radius: 28px;
  background: #e9e3d9;
  box-shadow: var(--shadow);
}

.phone-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  color: #fff;
  background: #176c51;
}

.phone-head > div {
  display: grid;
  flex: 1;
}

.phone-head small {
  opacity: 0.76;
}

.avatar {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border-radius: 50%;
  color: #176c51;
  background: #fff;
  font-weight: 800;
}

.chat-area {
  display: flex;
  min-height: 380px;
  flex-direction: column;
  gap: 10px;
  padding: 18px 12px;
  background:
    linear-gradient(rgba(241, 235, 225, 0.9), rgba(241, 235, 225, 0.9)),
    radial-gradient(#c9c1b5 0.8px, transparent 0.8px);
  background-size: auto, 15px 15px;
}

.bubble {
  max-width: 87%;
  padding: 9px 11px;
  border-radius: 11px;
  font-size: 12px;
  line-height: 1.45;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.06);
}

.bubble.incoming {
  align-self: flex-start;
  background: #fff;
  border-top-left-radius: 3px;
}

.bubble.outgoing {
  align-self: flex-end;
  background: #d6f7c8;
  border-top-right-radius: 3px;
}

.tip-box,
.security-note,
.support-box {
  display: flex;
  gap: 11px;
  margin-top: 15px;
  padding: 14px;
  border: 1px solid #e2dcf5;
  border-radius: 14px;
  background: #f7f4ff;
}

.tip-box {
  display: block;
}

.tip-box p,
.security-note p,
.support-box p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.search {
  display: flex;
  width: min(380px, 100%);
  align-items: center;
  gap: 8px;
  padding-left: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.search input {
  border: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
  transition: 0.2s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.product-image {
  position: relative;
  display: grid;
  height: 190px;
  place-items: center;
  background: linear-gradient(145deg, #eef4fc, #fbfcfe);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-image > span:first-child {
  color: #a28bcf;
  font-size: 48px;
}

.availability {
  position: absolute;
  top: 11px;
  right: 11px;
  padding: 5px 8px;
  border-radius: 999px;
  color: #177349;
  background: #e8faef;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.availability.low {
  color: #956314;
  background: #fff3d6;
}

.availability.out {
  color: #a13535;
  background: #ffe8e8;
}

.product-body {
  padding: 17px;
}

.product-body small,
.product-body p {
  color: var(--muted);
}

.product-body h3 {
  margin: 4px 0 7px;
}

.product-body p {
  min-height: 36px;
  margin-bottom: 14px;
  font-size: 12px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price del {
  color: #aaa4af;
  font-size: 11px;
}

.price strong {
  font-size: 18px;
}

.product-actions {
  display: flex;
  justify-content: space-between;
  padding: 12px 17px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
}

.product-actions a {
  color: var(--accent);
}

.product-actions button {
  padding: 0;
  border: 0;
  color: var(--red);
  background: none;
}

.integration-card h3 {
  margin-bottom: 7px;
}

.integration-card > p {
  color: var(--muted);
  font-size: 13px;
}

.copy-field {
  display: flex;
  margin: 18px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 11px;
}

.copy-field code {
  flex: 1;
  overflow: hidden;
  padding: 12px;
  background: #f7f6f9;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-field button {
  border: 0;
  color: #fff;
  background: var(--accent);
  font-size: 11px;
  font-weight: 700;
}

.integration-steps {
  display: grid;
  gap: 13px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.integration-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}

.integration-steps span {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 8px;
  color: var(--accent);
  background: var(--accent-soft);
  font-weight: 800;
}

.table-card {
  padding: 0;
  overflow: hidden;
}

.table-card > .card-head {
  padding: 22px 22px 0;
}

.data-table {
  overflow-x: auto;
}

.table-row {
  display: grid;
  grid-template-columns: minmax(210px, 1.5fr) 1fr 0.65fr 1fr 35px;
  min-width: 780px;
  align-items: center;
  gap: 20px;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.table-row:hover:not(.table-head) {
  background: #fbfafc;
}

.table-head {
  border-top: 0;
  color: var(--muted);
  background: #faf9fb;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.customer-cell {
  display: flex;
  align-items: center;
  gap: 11px;
}

.customer-cell b {
  display: grid;
}

.customer-cell small {
  color: var(--muted);
  font-weight: 400;
}

.leads-table .table-row {
  grid-template-columns: minmax(190px, 1.3fr) 1.4fr 0.7fr 0.8fr 0.7fr 25px;
}

.pipeline-summary {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 13px;
  margin-bottom: 18px;
}

.pipeline-summary a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.pipeline-summary a.active {
  border-color: #b9a5f5;
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.pipeline-summary small {
  color: var(--muted);
}

.pipeline-summary strong {
  font-size: 20px;
}

.conversation-page {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(270px, 0.65fr);
  gap: 20px;
}

.chat-panel {
  padding: 0;
  overflow: hidden;
}

.chat-panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
}

.chat-panel-head > div:nth-child(2) {
  display: grid;
  flex: 1;
}

.chat-panel-head small {
  color: var(--muted);
}

.message-stream {
  display: flex;
  min-height: 560px;
  max-height: 70vh;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  padding: 25px;
  background: #f7f5f0;
}

.message {
  max-width: 75%;
  padding: 11px 13px 7px;
  border-radius: 13px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.message.user {
  align-self: flex-start;
  background: #fff;
}

.message.assistant {
  align-self: flex-end;
  background: #dff7d5;
}

.message small {
  display: block;
  margin-top: 5px;
  color: #87818b;
  font-size: 9px;
  text-align: right;
}

.contact-panel dl {
  display: grid;
  gap: 4px;
}

.contact-panel dt {
  margin-top: 12px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-panel dd {
  margin: 0;
  word-break: break-word;
}

.subscription-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(290px, 0.7fr);
  gap: 20px;
}

.span-two {
  grid-column: 1 / -1;
}

.plan-price {
  margin: 25px 0;
}

.plan-price strong {
  font-family: "Manrope", sans-serif;
  font-size: 35px;
}

.plan-price span {
  color: var(--muted);
}

.plan-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.plan-facts div {
  display: grid;
  gap: 3px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.plan-facts span,
.renewal {
  color: var(--muted);
  font-size: 12px;
}

.payment-guide ol {
  display: grid;
  gap: 10px;
  padding-left: 20px;
  color: var(--muted);
  font-size: 13px;
}

.public-shell {
  background: #fff;
}

.public-nav {
  position: relative;
  z-index: 3;
  display: flex;
  width: min(1180px, calc(100% - 40px));
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  margin: auto;
}

.public-nav nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 13px;
}

.public-nav > div {
  display: flex;
  gap: 9px;
}

.hero {
  position: relative;
  display: grid;
  width: min(1180px, calc(100% - 40px));
  min-height: 690px;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 55px;
  margin: auto;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: 5%;
  right: -120px;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, #d6e9fb, transparent 67%);
  content: "";
}

.pill {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 620px;
  margin: 20px 0;
  font-size: clamp(43px, 5vw, 67px);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.hero h1 em {
  color: var(--accent);
  font-style: normal;
}

.hero-copy > p {
  max-width: 570px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.hero-actions,
.trust-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 27px;
}

.trust-row {
  gap: 20px;
  color: var(--muted);
  font-size: 11px;
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: 580px;
  place-items: center;
}

.hero-visual .phone-card {
  width: 335px;
  transform: rotate(2deg);
}

.hero-visual .chat-area {
  min-height: 460px;
}

.floating-stat,
.floating-order {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}

.floating-stat {
  top: 110px;
  right: 5px;
  display: grid;
}

.floating-stat span {
  color: var(--green);
  font-weight: 800;
}

.floating-stat small,
.floating-order small {
  color: var(--muted);
}

.floating-order {
  bottom: 110px;
  left: 0;
}

.floating-order > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  color: var(--accent);
  background: var(--accent-soft);
}

.floating-order div {
  display: grid;
}

.typing {
  display: flex;
  width: fit-content;
  gap: 4px;
  padding: 10px;
  border-radius: 10px;
  background: #fff;
}

.typing i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #999;
}

.section {
  padding: 100px max(20px, calc((100% - 1180px) / 2));
}

.section:nth-child(even) {
  background: #f8f7fa;
}

.section-heading {
  max-width: 670px;
  margin: 0 auto 45px;
  text-align: center;
}

.section-heading h2 {
  margin: 7px 0 10px;
  font-size: 38px;
  letter-spacing: -0.04em;
}

.section-heading p {
  color: var(--muted);
}

.feature-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-grid article,
.pricing-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.feature-grid article > span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.feature-grid h3 {
  margin: 25px 0 8px;
}

.feature-grid p,
.pricing-grid p,
.pricing-grid li {
  color: var(--muted);
}

.pricing-grid article {
  position: relative;
}

.pricing-grid article.featured {
  color: #fff;
  background: #21182e;
  transform: translateY(-12px);
}

.pricing-grid .featured p,
.pricing-grid .featured li {
  color: #c7bfd1;
}

.pricing-grid strong {
  display: block;
  margin: 17px 0 3px;
  font-family: "Manrope", sans-serif;
  font-size: 29px;
}

.pricing-grid strong small {
  font-size: 12px;
}

.pricing-grid ul {
  display: grid;
  gap: 8px;
  padding-left: 18px;
}

.popular {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 5px 8px;
  border-radius: 999px;
  color: #21182e;
  background: #d8c8ff;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.public-footer {
  display: flex;
  justify-content: space-between;
  padding: 30px max(20px, calc((100% - 1180px) / 2));
  color: #bbb3c8;
  background: #191522;
}

.public-footer span {
  color: #fff;
  font-weight: 800;
}

.public-footer p {
  margin: 0;
}

.auth-layout {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(380px, 0.85fr) 1.15fr;
}

.auth-art {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 42px;
  color: #fff;
  background:
    radial-gradient(circle at 20% 70%, rgba(43, 134, 217, 0.34), transparent 27%),
    linear-gradient(150deg, #0f1626, #1d2942);
}

.auth-art > div {
  max-width: 500px;
}

.auth-art h1 {
  margin: 20px 0 12px;
  font-size: clamp(38px, 4vw, 57px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.auth-art p,
.auth-art > small {
  color: #c2b8cf;
}

.light-pill {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.auth-form {
  display: grid;
  padding: 50px 24px;
  place-items: center;
  background: #faf9fb;
}

.auth-box {
  width: min(430px, 100%);
}

.auth-box.wide {
  width: min(670px, 100%);
}

.auth-box h2 {
  margin-bottom: 7px;
  font-size: 30px;
}

.auth-box > p {
  color: var(--muted);
}

.stack-form {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.stack-form.two-cols {
  display: grid;
}

.stack-form .span-two {
  grid-column: 1 / -1;
}

.stack-form p:has(#id_password1),
.stack-form p:has(#id_password2) {
  grid-column: span 1;
}

.auth-switch {
  margin-top: 22px;
  text-align: center;
}

.auth-switch a {
  color: var(--accent);
  font-weight: 700;
}

.mobile-brand {
  display: none;
}

@media (max-width: 1100px) {
  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    grid-template-columns: 1fr 0.85fr;
    gap: 20px;
  }

  .floating-stat {
    right: 0;
  }

  .floating-order {
    left: -5px;
  }
}

@media (max-width: 860px) {
  .sidebar {
    transform: translateX(-100%);
    transition: 0.25s ease;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .main {
    margin-left: 0;
  }

  .menu-button {
    display: block;
  }

  .content,
  .topbar {
    padding-right: 20px;
    padding-left: 20px;
  }

  .dashboard-grid,
  .split-layout,
  .conversation-page,
  .subscription-grid {
    grid-template-columns: 1fr;
  }

  .quick-card,
  .span-two {
    grid-column: auto;
  }

  .preview-panel {
    position: static;
  }

  .pipeline-summary {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 70px 0;
    text-align: center;
  }

  .hero-copy > p {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions,
  .trust-row {
    justify-content: center;
  }

  .hero-visual {
    min-height: 550px;
  }

  .feature-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid article.featured {
    transform: none;
  }

  .auth-layout {
    grid-template-columns: 1fr;
  }

  .auth-art {
    display: none;
  }

  .mobile-brand {
    display: block;
    margin-bottom: 45px;
    color: var(--accent);
    font-weight: 800;
  }
}

@media (max-width: 620px) {
  .topbar {
    min-height: 76px;
  }

  .topbar h1 {
    font-size: 20px;
  }

  .topbar .eyebrow {
    display: none;
  }

  .top-actions .btn {
    padding: 0 11px;
    font-size: 11px;
  }

  .metric-grid,
  .product-grid,
  .form-grid.two,
  .two-cols,
  .check-list,
  .plan-facts {
    grid-template-columns: 1fr;
  }

  .welcome-row,
  .notice,
  .toolbar,
  .form-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .date-chip {
    display: none;
  }

  .pipeline-summary {
    display: flex;
    overflow-x: auto;
  }

  .pipeline-summary a {
    min-width: 130px;
  }

  .public-nav nav {
    display: none;
  }

  .public-nav .btn.ghost {
    display: none;
  }

  .hero {
    width: min(100% - 28px, 1180px);
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-actions,
  .trust-row {
    flex-direction: column;
  }

  .hero-visual .phone-card {
    width: 290px;
  }

  .floating-stat {
    top: 80px;
  }

  .floating-order {
    bottom: 70px;
  }

  .section-heading h2 {
    font-size: 31px;
  }

  .public-footer {
    gap: 8px;
    flex-direction: column;
  }
}

/* ============================================================
   Landing page — estilo SaaS profissional (claro, com provas)
   ============================================================ */

.hero-microcopy {
  margin-top: 20px;
  color: var(--muted);
  font-size: 13px;
}

.section.alt {
  background: #f7f7fb;
}

.section:not(.alt) {
  background: #fff;
}

/* Barra de indicadores logo abaixo do hero */
.stat-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(1180px, calc(100% - 40px));
  margin: 10px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.stat {
  padding: 26px 24px;
  background: #fff;
}

.stat strong {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 25px;
  letter-spacing: -0.02em;
}

.stat span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* Passos numerados */
.feature-grid .step-num {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  font-weight: 800;
}

/* Ícone de recurso */
.feat-ico {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 20px;
}
.feat-ico svg {
  width: 23px;
  height: 23px;
}

.feature-grid article > .feat-ico + h3 {
  margin-top: 20px;
}

/* Testemunho */
.testimonial-section {
  display: grid;
  place-items: center;
}

.testimonial-card {
  max-width: 760px;
  margin: 0;
  padding: 46px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}

.stars {
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 3px;
}

.testimonial-card blockquote {
  margin: 18px 0 26px;
  font-family: "Manrope", sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.testimonial-card figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.testimonial-card figcaption div {
  display: grid;
  text-align: left;
}

.testimonial-card small {
  color: var(--muted);
}

.t-avatar {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}

.price-note {
  max-width: 640px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

/* Perguntas frequentes (acordeão nativo, sem JS) */
.faq-list {
  display: grid;
  max-width: 760px;
  margin: 0 auto;
  gap: 12px;
}

.faq-list details {
  padding: 4px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition: 0.2s ease;
}

.faq-list details[open] {
  border-color: #ddd3ff;
  box-shadow: var(--shadow);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  color: var(--accent);
  font-size: 22px;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
}

/* Faixa final de chamada à ação */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1180px, calc(100% - 40px));
  margin: 30px auto 90px;
  padding: 44px 48px;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(43, 134, 217, 0.42), transparent 55%),
    #141b2d;
}

.cta-band h2 {
  margin: 0 0 8px;
  font-size: 30px;
  letter-spacing: -0.03em;
}

.cta-band p {
  margin: 0;
  color: #c7bfd1;
}

.cta-band-actions {
  display: grid;
  justify-items: start;
  gap: 10px;
}

.cta-band-actions small {
  color: #b3a9c6;
}

/* Rodapé com colunas */
.public-footer {
  flex-direction: column;
  align-items: stretch;
  gap: 30px;
  padding-top: 48px;
  padding-bottom: 30px;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 30px;
}

.footer-brand p {
  max-width: 280px;
  margin: 14px 0 0;
  color: #bbb3c8;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-links span {
  margin-bottom: 4px;
  color: #fff;
  font-weight: 700;
}

.footer-links a {
  color: #bbb3c8;
}

.footer-links a:hover {
  color: #fff;
}

.footer-base {
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid #2c2738;
}

.footer-base span {
  color: #8c84a0;
  font-size: 13px;
  font-weight: 500;
}

@media (max-width: 860px) {
  .stat-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .stat-bar {
    grid-template-columns: 1fr;
  }

  .footer-cols {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    padding: 28px;
  }

  .testimonial-card blockquote {
    font-size: 18px;
  }

  .cta-band {
    padding: 30px 24px;
  }

  .cta-band h2 {
    font-size: 24px;
  }
}

/* ===== Hero: print real do WhatsApp + card de CRM ===== */
.hero-shot {
  margin: 0;
  width: min(310px, 78%);
  border-radius: 30px;
  padding: 8px;
  background: linear-gradient(160deg, #1d2942, #141b2d);
  box-shadow: 0 30px 70px rgba(20, 27, 45, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.hero-shot img {
  display: block;
  width: 100%;
  border-radius: 23px;
}
.crm-float {
  position: absolute;
  bottom: 22px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 290px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.crm-float-ico {
  display: grid;
  flex: none;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: var(--green);
}
.crm-float-ico svg {
  width: 20px;
  height: 20px;
}
.crm-float small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.crm-float strong {
  display: block;
  margin: 2px 0 6px;
  font-size: 15px;
}
.crm-tag {
  display: inline-flex;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.crm-tag.tag-warm {
  color: var(--accent-dark);
  background: var(--accent-soft);
}

/* ===== Secção do problema ===== */
.problem .section-heading h2 {
  max-width: 760px;
}

/* ===== Grid de recursos mais compacto (8 cards) ===== */
.feature-grid.compact {
  grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
}
.feature-grid.compact article {
  padding: 22px;
}
.feature-grid.compact .feat-ico {
  width: 40px;
  height: 40px;
}

/* ===== Mini-CRM (kanban) do diferencial ===== */
.crm-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: min(1180px, calc(100% - 40px));
  margin: 36px auto 0;
}
.crm-col {
  padding: 16px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.crm-col h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.crm-col .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: none;
}
.dot-new { background: var(--blue); }
.dot-progress { background: var(--gold); }
.dot-wait { background: #c47f1a; }
.dot-done { background: var(--green); }
.crm-lead {
  padding: 12px 13px;
  margin-bottom: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 11px;
  box-shadow: 0 4px 14px rgba(20, 27, 45, 0.05);
}
.crm-lead:last-child {
  margin-bottom: 0;
}
.crm-lead strong {
  display: block;
  font-size: 14px;
}
.crm-lead small {
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 860px) {
  .crm-float {
    position: static;
    margin-top: 18px;
    max-width: min(310px, 78%);
  }
  .crm-board {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .crm-board {
    grid-template-columns: 1fr;
  }
}

/* ===== Banda escura com foto (cliente no telemóvel) ===== */
.image-band {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 50px;
  width: min(1180px, calc(100% - 40px));
  margin: 70px auto;
  padding: 50px 54px;
  border-radius: 26px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 18%, rgba(43, 134, 217, 0.32), transparent 45%),
    linear-gradient(150deg, #0f1626, #1d2942);
  overflow: hidden;
}
.image-band-text h2 {
  margin: 16px 0 14px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.image-band-text p {
  max-width: 460px;
  margin-bottom: 26px;
  color: #c4cde0;
  font-size: 16px;
  line-height: 1.65;
}
.light-pill {
  color: #cfe4fa;
  background: rgba(255, 255, 255, 0.1);
}
.image-band-shot {
  position: relative;
  margin: 0;
  justify-self: center;
}
.image-band-shot img {
  display: block;
  width: min(360px, 100%);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.band-chip {
  position: absolute;
  bottom: 18px;
  left: -18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: var(--surface);
  color: var(--ink);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow);
}
.band-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
}

/* ===== Secção do problema com foto ===== */
.problem-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 50px;
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}
.problem-shot {
  margin: 0;
}
.problem-shot img {
  display: block;
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.section-heading.left {
  margin: 0;
  text-align: left;
}
.section-heading.left h2,
.section-heading.left p {
  margin-left: 0;
  margin-right: 0;
}

@media (max-width: 860px) {
  .image-band,
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .image-band {
    padding: 36px 28px;
  }
  .problem-shot {
    order: 2;
  }
  .band-chip {
    left: 12px;
  }
}

/* Morada no rodapé */
.footer-address {
  max-width: 320px;
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #8f879e;
}

/* ===== Movimento subtil (revela ao rolar + hover) ===== */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.6, 0.2, 1),
      transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
    will-change: opacity, transform;
  }
  .reveal.in-view {
    opacity: 1;
    transform: none;
  }
}

.feature-grid article,
.pricing-grid article,
.crm-lead {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-grid article:hover,
.pricing-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(20, 27, 45, 0.1);
}
.crm-lead:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(20, 27, 45, 0.1);
}
