/* =========================================================
   Konnekit Plugins — Landing page
   Identidade visual baseada nos plugins Konnekit
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --blue: #1769d8;
  --blue-dark: #0d3e86;
  --blue-deep: #0a2c5f;
  --cyan: #21b8d6;
  --lime: #9acb3b;

  --ink: #102033;
  --ink-soft: #24384f;
  --muted: #60758d;
  --muted-light: #8698ac;

  --bg: #f8fbff;
  --bg-alt: #f1f6fd;
  --surface: #ffffff;
  --border: rgba(16, 32, 51, 0.1);
  --border-strong: rgba(16, 32, 51, 0.16);

  --shadow-sm: 0 2px 10px rgba(16, 32, 51, 0.05);
  --shadow: 0 14px 40px rgba(16, 32, 51, 0.08);
  --shadow-lg: 0 26px 70px rgba(16, 32, 51, 0.13);

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;

  --shell: 1180px;
  --header-h: 76px;

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. Reset e base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.14;
  margin: 0;
}

h1 {
  font-size: clamp(38px, 5.1vw, 66px);
  font-weight: 900;
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(29px, 3.5vw, 45px);
  font-weight: 900;
  letter-spacing: -0.04em;
}

h3 {
  font-size: clamp(19px, 1.6vw, 23px);
  font-weight: 800;
}

h4 {
  font-size: 15px;
  font-weight: 800;
}

p {
  margin: 0;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--blue-dark);
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

code {
  background: rgba(23, 105, 216, 0.08);
  border-radius: 6px;
  color: var(--blue-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86em;
  font-weight: 600;
  padding: 2px 6px;
  white-space: nowrap;
}

:focus-visible {
  outline: 3px solid rgba(23, 105, 216, 0.5);
  outline-offset: 3px;
}

.skip-link {
  background: var(--blue);
  border-radius: 0 0 10px 0;
  color: #fff;
  font-weight: 700;
  left: 0;
  padding: 12px 20px;
  position: fixed;
  top: 0;
  transform: translateY(-120%);
  transition: transform 0.2s var(--ease);
  z-index: 200;
}

.skip-link:focus {
  color: #fff;
  transform: translateY(0);
}

/* ---------- 3. Layout ---------- */
.shell {
  margin: 0 auto;
  max-width: var(--shell);
  padding: 0 24px;
  width: 100%;
}

.shell--narrow {
  max-width: 860px;
}

.section {
  padding: clamp(70px, 8vw, 118px) 0;
  position: relative;
}

.section--alt {
  background: var(--bg-alt);
}

.section__head {
  margin: 0 auto clamp(44px, 5vw, 66px);
  max-width: 720px;
  text-align: center;
}

.section__lead {
  color: var(--muted);
  font-size: clamp(16px, 1.3vw, 18px);
  margin-top: 16px;
}

.eyebrow {
  align-items: center;
  background: rgba(23, 105, 216, 0.08);
  border: 1px solid rgba(23, 105, 216, 0.14);
  border-radius: 999px;
  color: var(--blue);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 9px;
  letter-spacing: 0.13em;
  margin-bottom: 18px;
  padding: 8px 15px;
  text-transform: uppercase;
}

.eyebrow::before {
  background: linear-gradient(135deg, var(--lime), var(--cyan));
  border-radius: 999px;
  content: "";
  flex: none;
  height: 8px;
  width: 8px;
}

.eyebrow--light {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: #dbeafe;
}

.grad {
  background: linear-gradient(100deg, var(--blue) 8%, var(--cyan) 55%, var(--lime) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mini-title {
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

/* ---------- 4. Botões ---------- */
.btn {
  align-items: center;
  border: 1.5px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  gap: 9px;
  justify-content: center;
  letter-spacing: -0.01em;
  line-height: 1;
  padding: 14px 24px;
  text-align: center;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}

.btn svg {
  fill: none;
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
  transition: transform 0.2s var(--ease);
  width: 18px;
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  box-shadow: 0 12px 26px rgba(23, 105, 216, 0.28);
  color: #fff;
}

.btn--primary:hover {
  box-shadow: 0 18px 34px rgba(23, 105, 216, 0.36);
  color: #fff;
  transform: translateY(-2px);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.8);
  border-color: var(--border-strong);
  color: var(--ink);
}

.btn--ghost:hover {
  background: #fff;
  border-color: var(--blue);
  color: var(--blue-dark);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--ink);
}

.btn--outline:hover {
  background: rgba(23, 105, 216, 0.06);
  border-color: var(--blue);
  color: var(--blue-dark);
}

.btn--sm {
  font-size: 14px;
  padding: 11px 18px;
}

.btn--lg {
  font-size: 16px;
  padding: 17px 30px;
}

.btn--block {
  display: flex;
  width: 100%;
}

/* ---------- 5. Header ---------- */
.site-header {
  background: rgba(248, 251, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease);
  z-index: 100;
}

.site-header.is-stuck {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--border);
  box-shadow: 0 6px 24px rgba(16, 32, 51, 0.06);
}

.site-header__inner {
  align-items: center;
  display: flex;
  gap: 20px;
  height: var(--header-h);
  justify-content: space-between;
}

.brand {
  align-items: center;
  display: flex;
  flex: none;
  gap: 12px;
}

.brand__logo {
  height: auto;
  width: 142px;
}

.brand__divider {
  background: var(--border-strong);
  height: 24px;
  width: 1px;
}

.brand__tag {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 4px;
}

.site-nav > a:not(.btn) {
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 600;
  padding: 9px 14px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.site-nav > a:not(.btn):hover,
.site-nav > a.is-current:not(.btn) {
  background: rgba(23, 105, 216, 0.08);
  color: var(--blue-dark);
}

.site-nav__cta {
  margin-left: 10px;
}

.nav-toggle {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  cursor: pointer;
  display: none;
  flex: none;
  height: 44px;
  padding: 0;
  position: relative;
  width: 44px;
}

.nav-toggle span {
  background: var(--ink);
  border-radius: 2px;
  height: 2px;
  left: 50%;
  position: absolute;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
  width: 19px;
}

.nav-toggle span:nth-child(1) {
  transform: translate(-50%, -7px);
  top: 50%;
}
.nav-toggle span:nth-child(2) {
  top: 50%;
  transform: translate(-50%, -50%);
}
.nav-toggle span:nth-child(3) {
  top: 50%;
  transform: translate(-50%, 5px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* ---------- 6. Hero ---------- */
.hero {
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(50px, 7vw, 96px)) 0 clamp(64px, 8vw, 104px);
  position: relative;
}

.hero__bg {
  background:
    radial-gradient(circle at 12% 12%, rgba(33, 184, 214, 0.16), transparent 34%),
    radial-gradient(circle at 88% 6%, rgba(154, 203, 59, 0.14), transparent 30%),
    radial-gradient(circle at 70% 80%, rgba(23, 105, 216, 0.1), transparent 40%),
    linear-gradient(150deg, #ffffff 0%, #f6fbff 55%, #eef5ff 100%);
  inset: 0;
  position: absolute;
  z-index: 0;
}

.hero__bg::before {
  background-image:
    linear-gradient(90deg, rgba(13, 62, 134, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(13, 62, 134, 0.035) 1px, transparent 1px);
  background-size: 84px 84px;
  content: "";
  inset: 0;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 78%);
  opacity: 0.55;
  position: absolute;
}

.hero__inner {
  align-items: center;
  display: grid;
  gap: clamp(40px, 5vw, 66px);
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  position: relative;
  z-index: 1;
}

.hero__title {
  margin-bottom: 22px;
}

.hero__lead {
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 19px);
  max-width: 560px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero__badges {
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 38px;
  padding-top: 26px;
}

.hero__badges li {
  align-items: center;
  color: var(--ink-soft);
  display: flex;
  font-size: 14px;
  font-weight: 600;
  gap: 9px;
}

.hero__badges svg {
  fill: none;
  flex: none;
  height: 17px;
  stroke: var(--lime);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.6;
  width: 17px;
}

/* Visual (mock do painel) */
.hero__visual {
  position: relative;
}

.hero__blob {
  border-radius: 50%;
  filter: blur(46px);
  position: absolute;
  z-index: 0;
}

.hero__blob--1 {
  background: rgba(33, 184, 214, 0.34);
  height: 190px;
  right: -30px;
  top: -40px;
  width: 190px;
}

.hero__blob--2 {
  background: rgba(154, 203, 59, 0.3);
  bottom: -40px;
  height: 160px;
  left: -30px;
  width: 160px;
}

.mock {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.mock__bar {
  align-items: center;
  background: #f4f7fb;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 7px;
  padding: 13px 16px;
}

.mock__dot {
  background: #d3dce8;
  border-radius: 50%;
  flex: none;
  height: 9px;
  width: 9px;
}

.mock__dot:first-child { background: #f0a5a5; }
.mock__dot:nth-child(2) { background: #f2d091; }
.mock__dot:nth-child(3) { background: #a8d99f; }

.mock__url {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted-light);
  font-size: 11px;
  font-weight: 600;
  margin-left: 8px;
  overflow: hidden;
  padding: 5px 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock__body {
  display: grid;
  gap: 0;
  grid-template-columns: 168px minmax(0, 1fr);
}

.mock__menu {
  background: linear-gradient(180deg, #1b2632 0%, #16202b 100%);
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 10px;
}

.mock__menu-item {
  align-items: center;
  border-radius: 8px;
  color: #cfd8e3;
  display: flex;
  font-size: 12px;
  font-weight: 600;
  gap: 9px;
  padding: 8px 10px;
}

.mock__menu-item.is-muted {
  color: #7d8c9c;
}

.mock__menu-item.is-active {
  background: linear-gradient(90deg, rgba(23, 105, 216, 0.85), rgba(13, 62, 134, 0.6));
  color: #fff;
}

.mock__ico {
  background: var(--blue);
  border-radius: 4px;
  flex: none;
  height: 13px;
  width: 13px;
}

.mock__ico--cyan { background: var(--cyan); }
.mock__ico--lime { background: var(--lime); }

.mock__content {
  background: #fbfcfe;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
}

.mock__pill {
  align-self: flex-start;
  background: rgba(154, 203, 59, 0.16);
  border: 1px solid rgba(154, 203, 59, 0.3);
  border-radius: 999px;
  color: #5f8419;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  text-transform: uppercase;
}

.mock__card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 15px;
}

.mock__line {
  background: linear-gradient(90deg, #e6ecf4, #f2f6fa);
  border-radius: 999px;
  height: 8px;
}

.mock__line.w-70 { width: 70%; }
.mock__line.w-95 { width: 95%; }
.mock__line.w-45 { width: 45%; }

.mock__grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mock__tile {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  height: 54px;
  position: relative;
}

.mock__tile::before {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 6px;
  content: "";
  height: 16px;
  left: 12px;
  position: absolute;
  top: 12px;
  width: 16px;
}

.mock__tile:nth-child(2)::before {
  background: linear-gradient(135deg, var(--cyan), var(--lime));
}
.mock__tile:nth-child(3)::before {
  background: linear-gradient(135deg, var(--lime), var(--cyan));
}
.mock__tile:nth-child(4)::before {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
}

.mock__tile::after {
  background: #e9eef5;
  border-radius: 999px;
  bottom: 14px;
  content: "";
  height: 6px;
  left: 12px;
  position: absolute;
  width: 58%;
}

/* ---------- 7. Stats ---------- */
.stats {
  background: var(--surface);
  border-block: 1px solid var(--border);
  padding: clamp(30px, 4vw, 44px) 0;
  position: relative;
  z-index: 2;
}

.stats__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  text-align: center;
}

.stat {
  border-right: 1px solid var(--border);
  padding: 0 10px;
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.stat span {
  color: var(--muted);
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-top: 4px;
}

/* ---------- 8. Áreas do ecossistema ---------- */
.areas {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.area {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  position: relative;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease),
    border-color 0.28s var(--ease);
}

.area::after {
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--lime));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  content: "";
  height: 3px;
  left: 26px;
  opacity: 0;
  position: absolute;
  right: 26px;
  top: 0;
  transition: opacity 0.28s var(--ease);
}

.area:hover {
  border-color: rgba(23, 105, 216, 0.24);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.area:hover::after {
  opacity: 1;
}

.area__icon {
  align-items: center;
  border-radius: 15px;
  display: inline-flex;
  height: 52px;
  justify-content: center;
  margin-bottom: 20px;
  width: 52px;
}

.area__icon svg {
  fill: none;
  height: 25px;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
  width: 25px;
}

.area__icon--blue {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 10px 22px rgba(23, 105, 216, 0.26);
}
.area__icon--cyan {
  background: linear-gradient(135deg, var(--cyan), #148ba5);
  box-shadow: 0 10px 22px rgba(33, 184, 214, 0.26);
}
.area__icon--lime {
  background: linear-gradient(135deg, var(--lime), #6f9c1f);
  box-shadow: 0 10px 22px rgba(154, 203, 59, 0.26);
}

.area p {
  color: var(--muted);
  font-size: 15px;
  margin-top: 11px;
}

.area__link {
  align-items: center;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  gap: 7px;
  margin-top: auto;
  padding-top: 20px;
}

.area__link span {
  transition: transform 0.2s var(--ease);
}

.area__link:hover span {
  transform: translateX(4px);
}

.area--cta {
  background: linear-gradient(150deg, var(--blue-dark) 0%, var(--blue-deep) 100%);
  border-color: transparent;
  justify-content: center;
}

.area--cta::after {
  display: none;
}

.area--cta h3 {
  color: #fff;
}

.area--cta p {
  color: #c3d7f2;
  margin-bottom: 22px;
}

.area--cta .btn--primary {
  align-self: flex-start;
  background: #fff;
  box-shadow: none;
  color: var(--blue-dark);
}

.area--cta .btn--primary:hover {
  background: #eaf2ff;
  color: var(--blue-deep);
}

/* ---------- 9. Navegação dos plugins ---------- */
.plugin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: clamp(38px, 4vw, 54px);
}

.plugin-nav a {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 18px;
  transition: all 0.2s var(--ease);
}

.plugin-nav a:hover {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(23, 105, 216, 0.24);
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- 10. Cards dos plugins ---------- */
.plugin {
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: clamp(28px, 3.5vw, 48px);
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  margin-bottom: 28px;
  overflow: hidden;
  padding: clamp(30px, 3.6vw, 48px);
  position: relative;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.plugin::before {
  background: linear-gradient(180deg, var(--blue), var(--cyan), var(--lime));
  content: "";
  inset: 0 auto 0 0;
  position: absolute;
  width: 4px;
}

.plugin:last-child {
  margin-bottom: 0;
}

.plugin--flip .plugin__main {
  order: 2;
}

.plugin--flip .plugin__side {
  order: 1;
}

.plugin__top {
  align-items: center;
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}

.plugin__icon {
  align-items: center;
  border-radius: 16px;
  display: inline-flex;
  flex: none;
  height: 56px;
  justify-content: center;
  width: 56px;
}

.plugin__icon svg {
  fill: none;
  height: 27px;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
  width: 27px;
}

.plugin__icon--blue {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 12px 24px rgba(23, 105, 216, 0.26);
}
.plugin__icon--cyan {
  background: linear-gradient(135deg, var(--cyan), #148ba5);
  box-shadow: 0 12px 24px rgba(33, 184, 214, 0.26);
}
.plugin__icon--lime {
  background: linear-gradient(135deg, var(--lime), #6f9c1f);
  box-shadow: 0 12px 24px rgba(154, 203, 59, 0.26);
}

.plugin__kicker {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.plugin__name {
  font-size: clamp(23px, 2.3vw, 31px);
  font-weight: 900;
  letter-spacing: -0.035em;
  margin-top: 3px;
}

.plugin__version {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  flex: none;
  font-size: 12px;
  font-weight: 700;
  margin-left: auto;
  padding: 5px 12px;
}

.plugin__purpose {
  color: var(--ink-soft);
  font-size: 16.5px;
}

.plugin__purpose strong {
  color: var(--ink);
  font-weight: 800;
}

.problem {
  background: linear-gradient(135deg, rgba(23, 105, 216, 0.055), rgba(33, 184, 214, 0.05));
  border: 1px solid rgba(23, 105, 216, 0.14);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 22px 0 26px;
  padding: 20px 22px;
}

.problem__label {
  color: var(--blue-dark);
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 9px;
  text-transform: uppercase;
}

.problem p {
  color: var(--ink-soft);
  font-size: 15px;
}

.plugin__cols {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Listas */
.check-list li {
  color: var(--ink-soft);
  font-size: 14.6px;
  line-height: 1.58;
  padding-left: 27px;
  position: relative;
}

.check-list li + li {
  margin-top: 11px;
}

.check-list li::before {
  background: rgba(154, 203, 59, 0.16);
  border-radius: 50%;
  content: "";
  height: 18px;
  left: 0;
  position: absolute;
  top: 3px;
  width: 18px;
}

.check-list li::after {
  border-bottom: 2px solid #6f9c1f;
  border-left: 2px solid #6f9c1f;
  content: "";
  height: 4px;
  left: 5px;
  position: absolute;
  top: 8px;
  transform: rotate(-45deg);
  width: 8px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list li {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
}

.plugin__side {
  background: linear-gradient(165deg, #fbfdff 0%, #f2f7fd 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
}

.feat-list li {
  color: var(--ink-soft);
  font-size: 14.4px;
  line-height: 1.56;
  padding-left: 22px;
  position: relative;
}

.feat-list li + li {
  border-top: 1px dashed var(--border);
  margin-top: 11px;
  padding-top: 11px;
}

.feat-list li::before {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 50%;
  content: "";
  height: 7px;
  left: 0;
  position: absolute;
  top: 8px;
  width: 7px;
}

.feat-list li + li::before {
  top: 19px;
}

.feat-list em {
  color: var(--blue-dark);
  font-style: normal;
  font-weight: 700;
}

/* ---------- 11. Fluxo de integração ---------- */
.flow {
  counter-reset: flow;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(198px, 1fr));
  margin-bottom: clamp(44px, 5vw, 64px);
}

.flow__step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px 24px;
  position: relative;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.flow__step:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.flow__num {
  align-items: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(23, 105, 216, 0.26);
  color: #fff;
  display: inline-flex;
  font-size: 16px;
  font-weight: 900;
  height: 38px;
  justify-content: center;
  margin-bottom: 16px;
  width: 38px;
}

.flow__step h3 {
  font-size: 17px;
  margin-bottom: 10px;
}

.flow__step p {
  color: var(--muted);
  font-size: 14.5px;
}

.flow__step strong {
  color: var(--ink);
  font-weight: 700;
}

/* Matriz */
.matrix {
  background: linear-gradient(150deg, var(--blue-dark) 0%, var(--blue-deep) 100%);
  border-radius: var(--radius-xl);
  overflow: hidden;
  padding: clamp(34px, 4vw, 52px);
  position: relative;
}

.matrix::before {
  background:
    radial-gradient(circle at 88% 8%, rgba(33, 184, 214, 0.3), transparent 42%),
    radial-gradient(circle at 8% 92%, rgba(154, 203, 59, 0.22), transparent 40%);
  content: "";
  inset: 0;
  position: absolute;
}

.matrix__title {
  color: #fff;
  font-size: clamp(21px, 2vw, 27px);
  margin-bottom: 30px;
  position: relative;
  text-align: center;
}

.matrix__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  position: relative;
}

.matrix__item {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.matrix__item:hover {
  background: rgba(255, 255, 255, 0.11);
  transform: translateY(-3px);
}

.matrix__item h4 {
  color: #fff;
  font-size: 15.5px;
  margin-bottom: 9px;
  padding-left: 16px;
  position: relative;
}

.matrix__item h4::before {
  background: linear-gradient(135deg, var(--lime), var(--cyan));
  border-radius: 999px;
  content: "";
  height: 8px;
  left: 0;
  position: absolute;
  top: 6px;
  width: 8px;
}

.matrix__item p {
  color: #c3d7f2;
  font-size: 14px;
}

/* ---------- 12. Ofertas ---------- */
.offers {
  align-items: stretch;
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.offer {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  padding: 34px 30px;
  position: relative;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.offer:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.offer__tag {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.offer__title {
  font-size: clamp(21px, 1.9vw, 26px);
  margin: 8px 0 10px;
}

.offer__desc {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 24px;
}

.offer .check-list {
  margin-bottom: 28px;
}

.offer .btn {
  margin-top: auto;
}

.offer--featured {
  background: linear-gradient(160deg, #ffffff 0%, #f4f9ff 100%);
  border-color: rgba(23, 105, 216, 0.3);
  box-shadow: 0 24px 60px rgba(23, 105, 216, 0.16);
}

.offer--featured::before {
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--lime));
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  content: "";
  height: 4px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.offer__ribbon {
  background: linear-gradient(135deg, var(--lime), #6f9c1f);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(154, 203, 59, 0.35);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  left: 50%;
  letter-spacing: 0.1em;
  padding: 6px 16px;
  position: absolute;
  text-transform: uppercase;
  top: -14px;
  transform: translateX(-50%);
  white-space: nowrap;
}

.offers__note {
  color: var(--muted);
  font-size: 14.5px;
  margin: 30px auto 0;
  max-width: 620px;
  text-align: center;
}

/* ---------- 13. FAQ ---------- */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.faq__item[open] {
  border-color: rgba(23, 105, 216, 0.26);
  box-shadow: var(--shadow);
}

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

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

.faq__item summary::after {
  border-bottom: 2.2px solid var(--blue);
  border-right: 2.2px solid var(--blue);
  content: "";
  flex: none;
  height: 9px;
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
  width: 9px;
}

.faq__item[open] summary::after {
  transform: rotate(-135deg);
}

.faq__body {
  border-top: 1px solid var(--border);
  padding: 18px 24px 24px;
}

.faq__body p {
  color: var(--muted);
  font-size: 15px;
}

/* ---------- 14. Contato ---------- */
.contact {
  overflow: hidden;
  padding: clamp(70px, 8vw, 110px) 0;
  position: relative;
}

.contact__bg {
  background: linear-gradient(150deg, #0d3e86 0%, #0a2c5f 55%, #071f45 100%);
  inset: 0;
  position: absolute;
}

.contact__bg::before {
  background:
    radial-gradient(circle at 85% 12%, rgba(33, 184, 214, 0.28), transparent 40%),
    radial-gradient(circle at 10% 88%, rgba(154, 203, 59, 0.2), transparent 38%);
  content: "";
  inset: 0;
  position: absolute;
}

.contact__bg::after {
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 74px 74px;
  content: "";
  inset: 0;
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse at 50% 50%, #000 10%, transparent 72%);
  position: absolute;
}

.contact__inner {
  align-items: start;
  display: grid;
  gap: clamp(36px, 4.5vw, 62px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  position: relative;
  z-index: 1;
}

.contact__intro h2 {
  color: #fff;
  margin-bottom: 18px;
}

.contact__intro > p {
  color: #c3d7f2;
  font-size: 16.5px;
  max-width: 520px;
}

.contact__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 34px;
}

.contact__list li {
  align-items: center;
  display: flex;
  gap: 14px;
}

.contact__ico {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 13px;
  display: inline-flex;
  flex: none;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.contact__ico svg {
  fill: none;
  height: 21px;
  stroke: var(--cyan);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
  width: 21px;
}

.contact__list strong {
  color: #8fa8c9;
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact__list a {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  word-break: break-word;
}

.contact__list a:hover {
  color: var(--lime);
}

/* Formulário */
.contact__form {
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-xl);
  box-shadow: 0 30px 70px rgba(4, 18, 43, 0.4);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(26px, 3vw, 36px);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.field input,
.field select,
.field textarea {
  background: #fbfcfe;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  padding: 13px 15px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease),
    background 0.2s var(--ease);
  width: 100%;
}

.field textarea {
  resize: vertical;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2360758d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E");
  background-position: right 14px center;
  background-repeat: no-repeat;
  background-size: 17px;
  cursor: pointer;
  padding-right: 42px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted-light);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(23, 105, 216, 0.13);
  outline: none;
}

.field input.is-invalid,
.field textarea.is-invalid {
  border-color: #d9534f;
  box-shadow: 0 0 0 4px rgba(217, 83, 79, 0.12);
}

.contact__hint {
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
  text-align: center;
}

.contact__hint.is-error {
  color: #c53a35;
  font-weight: 600;
}

.contact__hint.is-success {
  color: #5f8419;
  font-weight: 600;
}

/* ---------- 15. Footer ---------- */
.site-footer {
  background: #0a1a2f;
  color: #a9bdd4;
  padding: clamp(52px, 6vw, 76px) 0 30px;
}

.site-footer__top {
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  padding-bottom: 44px;
}

.wordmark {
  color: #fff;
  display: block;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
}

.wordmark strong {
  color: #fff;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.site-footer__brand > p {
  color: var(--lime);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-top: 10px;
  text-transform: uppercase;
}

.site-footer__desc {
  color: #8698ac !important;
  font-size: 14.5px !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  margin-top: 18px !important;
  max-width: 330px;
  text-transform: none !important;
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.site-footer__col h3 {
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.site-footer__col a {
  color: #a9bdd4;
  font-size: 14.5px;
  font-weight: 500;
  word-break: break-word;
}

.site-footer__col a:hover {
  color: #fff;
}

.site-footer__cta {
  align-self: flex-start;
  color: #fff !important;
  margin-top: 10px;
}

.site-footer__bottom {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: space-between;
  padding-top: 26px;
}

.site-footer__bottom p {
  color: #7d90a7;
  font-size: 13px;
}

/* ---------- 16. Voltar ao topo ---------- */
.to-top {
  align-items: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  border-radius: 50%;
  bottom: 24px;
  box-shadow: 0 12px 28px rgba(13, 62, 134, 0.35);
  display: flex;
  height: 48px;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  right: 24px;
  transform: translateY(14px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  width: 48px;
  z-index: 90;
}

.to-top svg {
  fill: none;
  height: 20px;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.3;
  width: 20px;
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ---------- 17. Animações discretas ----------
   O estado inicial só é aplicado quando há JavaScript ativo, para que o
   conteúdo permaneça visível caso o script não carregue.               */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  will-change: opacity, transform;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 18. Responsivo ---------- */
@media (max-width: 1080px) {
  .areas,
  .matrix__grid,
  .offers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 26px;
  }

  .stat:nth-child(3) {
    border-right: 0;
  }

  .site-footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 68px;
  }

  .site-nav {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(16, 32, 51, 0.12);
    flex-direction: column;
    gap: 4px;
    left: 0;
    max-height: calc(100vh - var(--header-h));
    opacity: 0;
    overflow-y: auto;
    padding: 16px 24px 26px;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: var(--header-h);
    transform: translateY(-12px);
    transition: opacity 0.24s var(--ease), transform 0.24s var(--ease);
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav > a:not(.btn) {
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    font-size: 16px;
    padding: 15px 4px;
    width: 100%;
  }

  .site-nav__cta {
    margin: 16px 0 0;
    width: 100%;
  }

  .nav-toggle {
    display: block;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__content {
    max-width: 640px;
  }

  .hero__visual {
    margin-top: 8px;
    max-width: 560px;
  }

  .plugin,
  .plugin--flip {
    grid-template-columns: minmax(0, 1fr);
  }

  .plugin--flip .plugin__main {
    order: 0;
  }

  .plugin--flip .plugin__side {
    order: 0;
  }

  .contact__inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15.5px;
  }

  .shell {
    padding: 0 18px;
  }

  .areas,
  .matrix__grid,
  .offers,
  .plugin__cols {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .stat {
    border-right: 0;
  }

  .stat:nth-child(odd) {
    border-right: 1px solid var(--border);
  }

  .stat:last-child {
    border-right: 0;
    grid-column: 1 / -1;
  }

  .plugin {
    border-radius: var(--radius-lg);
    padding: 26px 20px 26px 24px;
  }

  .plugin__top {
    flex-wrap: wrap;
  }

  .plugin__version {
    margin-left: 0;
    order: 3;
  }

  .plugin__side {
    padding: 24px 20px;
  }

  .offer {
    padding: 30px 22px;
  }

  .offer--featured {
    margin-top: 14px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .mock__body {
    grid-template-columns: 128px minmax(0, 1fr);
  }

  .mock__menu-item {
    font-size: 11px;
    padding: 7px 8px;
  }

  .mock__url {
    font-size: 10px;
  }

  .site-footer__top {
    gap: 32px;
    grid-template-columns: minmax(0, 1fr);
  }

  .faq__item summary {
    font-size: 15px;
    padding: 17px 18px;
  }

  .faq__body {
    padding: 16px 18px 20px;
  }

  .to-top {
    bottom: 18px;
    height: 44px;
    right: 18px;
    width: 44px;
  }
}

@media (max-width: 420px) {
  .brand__logo {
    width: 118px;
  }

  .brand__divider,
  .brand__tag {
    display: none;
  }

  .mock__body {
    grid-template-columns: minmax(0, 1fr);
  }

  .mock__menu {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }

  .mock__menu-item.is-muted {
    display: none;
  }
}

/* ---------- 19. Acessibilidade e impressão ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .nav-toggle,
  .to-top,
  .hero__bg,
  .contact__bg {
    display: none !important;
  }

  .js .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  body {
    background: #fff;
  }

  .plugin,
  .offer,
  .area,
  .flow__step {
    break-inside: avoid;
    box-shadow: none;
  }
}
