/* ===========================================================
   3DK TECH — Design System
   =========================================================== */

:root {
  /* Brand colors — extraídas do logo (ciano → azul → violeta) */
  --c-cyan: #36ccd7;
  --c-cyan-light: #5fe1ea;
  --c-blue: #4fb6f2;
  --c-violet: #8b6cf6;
  --c-violet-dark: #6d4fe0;
  --c-gray-wordmark: #57585b;

  --gradient-brand: linear-gradient(120deg, var(--c-cyan) 0%, var(--c-blue) 50%, var(--c-violet) 100%);
  --gradient-brand-soft: linear-gradient(120deg, rgba(54, 204, 215, 0.12) 0%, rgba(79, 182, 242, 0.12) 50%, rgba(139, 108, 246, 0.12) 100%);
  --gradient-text: linear-gradient(100deg, #1fb9c9 0%, #4fb6f2 45%, #8b6cf6 100%);

  /* Surfaces */
  --bg: #ffffff;
  --bg-soft: #f6f9fb;
  --bg-soft-2: #eef4f8;
  --surface: #ffffff;
  --border: #e3e9ef;
  --border-soft: #edf1f5;

  /* Text */
  --text: #1c2430;
  --text-muted: #57626f;
  --text-faint: #8996a3;
  --text-on-brand: #ffffff;

  /* Semantic */
  --shadow-sm: 0 1px 2px rgba(20, 30, 45, 0.06);
  --shadow-md: 0 8px 24px rgba(20, 30, 45, 0.08);
  --shadow-lg: 0 20px 50px rgba(30, 60, 90, 0.12);
  --shadow-brand: 0 14px 34px rgba(79, 133, 242, 0.22);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --container: 1180px;

  --font-heading: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}
p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; }

.section {
  padding: 96px 0;
}
.section--soft {
  background: var(--bg-soft);
}
.section--tight { padding: 64px 0; }

@media (max-width: 768px) {
  .section { padding: 64px 0; }
}

/* ---------- Eyebrow / badges ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: var(--gradient-brand-soft);
  color: var(--c-violet-dark);
  border: 1px solid rgba(139, 108, 246, 0.18);
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient-brand);
}

/* ---------- Headings helpers ---------- */
.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); margin-top: 16px; }
.section-head p { margin-top: 16px; color: var(--text-muted); font-size: 17px; }

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(79, 133, 242, 0.3); }

.btn--outline {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}
.btn--outline:hover { border-color: var(--c-blue); color: var(--c-violet-dark); transform: translateY(-2px); }

.btn--ghost {
  background: transparent;
  color: var(--text);
}
.btn--ghost:hover { color: var(--c-violet-dark); }

.btn--outline-light {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn--outline-light:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); }

.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--white { background: #fff; color: var(--c-violet-dark); }
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
}
.brand img { height: 34px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: background .15s ease, color .15s ease;
}
.nav-links a:hover { color: var(--text); background: var(--bg-soft-2); }
.nav-links a.active { color: var(--c-violet-dark); background: var(--gradient-brand-soft); }

.navbar__actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle.is-active span { background: transparent; }
.nav-toggle.is-active span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-active span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-links { position: fixed; inset: 66px 16px auto 16px; flex-direction: column; align-items: stretch; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 10px; box-shadow: var(--shadow-lg); gap: 2px; transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform .2s ease, opacity .2s ease; }
  .nav-links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; }
  .navbar__actions .btn--outline { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 88px 0 96px;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -160px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(79, 182, 242, 0.16), rgba(139, 108, 246, 0.06) 60%, transparent 72%);
  filter: blur(10px);
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -220px;
  left: -180px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(54, 204, 215, 0.14), transparent 70%);
  z-index: 0;
}
.hero__inner { position: relative; z-index: 1; max-width: 760px; }
.hero__inner.center { margin: 0 auto; text-align: center; }
.hero h1 {
  font-size: clamp(34px, 5vw, 58px);
  margin-top: 20px;
}
.hero p.lead {
  margin-top: 22px;
  font-size: 18px;
  color: var(--text-muted);
  max-width: 620px;
}
.hero__inner.center p.lead { margin-left: auto; margin-right: auto; }
.hero__actions {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero__inner.center .hero__actions { justify-content: center; }

.hero__stats {
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  position: relative;
  z-index: 1;
}
.hero__inner.center .hero__stats { justify-content: center; }
.hero__stats .stat b { font-family: var(--font-heading); font-size: 26px; display: block; }
.hero__stats .stat span { font-size: 14px; color: var(--text-faint); }

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-brand);
  color: #fff;
  margin-bottom: 20px;
  font-size: 22px;
}
.card h3 { font-size: 19px; margin-top: 0; }
.card p { margin-top: 10px; color: var(--text-muted); font-size: 15px; }

.grid {
  display: grid;
  gap: 24px;
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step { position: relative; padding-top: 8px; }
.step__num {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step h3 { margin-top: 12px; font-size: 17px; }
.step p { margin-top: 8px; color: var(--text-muted); font-size: 14px; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: var(--radius-lg);
  background: var(--gradient-brand);
  padding: 64px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.18), transparent 55%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 36px); color: #fff; }
.cta-band p { margin-top: 14px; color: rgba(255,255,255,0.88); font-size: 17px; }
.cta-band .hero__actions { justify-content: center; margin-top: 30px; }
@media (max-width: 640px) { .cta-band { padding: 40px 24px; } }

/* ---------- Footer ---------- */
.footer {
  background: #12161d;
  color: #b9c1cc;
  padding: 72px 0 28px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer .brand { color: #fff; }
.footer__desc { margin-top: 16px; font-size: 14.5px; color: #8b93a0; max-width: 320px; }
.footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 18px; }
.footer ul li { margin-bottom: 10px; }
.footer a { color: #b9c1cc; font-size: 14.5px; transition: color .15s ease; }
.footer a:hover { color: #fff; }
.footer__bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13.5px;
  color: #7b8390;
}
@media (max-width: 860px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ---------- FAQ accordion ---------- */
.accordion { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 16.5px;
  font-weight: 600;
  color: var(--text);
}
.accordion-trigger .plus {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-soft-2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background .2s ease, transform .2s ease;
}
.accordion-trigger .plus::before, .accordion-trigger .plus::after {
  content: "";
  position: absolute;
  background: var(--c-violet-dark);
  transition: transform .2s ease;
}
.accordion-trigger .plus::before { width: 10px; height: 2px; }
.accordion-trigger .plus::after { width: 2px; height: 10px; }
.accordion-item.is-open .plus { background: var(--gradient-brand); transform: rotate(180deg); }
.accordion-item.is-open .plus::before, .accordion-item.is-open .plus::after { background: #fff; }
.accordion-item.is-open .plus::after { transform: scaleY(0); }

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
}
.accordion-panel__inner {
  padding: 0 24px 22px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 980px) { .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card--featured {
  border: 2px solid transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--gradient-brand) border-box;
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}
@media (max-width: 980px) { .price-card--featured { transform: none; } }
.price-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-brand);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.price-card h3 { font-size: 20px; }
.price-card .price-tag { margin-top: 14px; }
.price-card .price-tag .amount { font-family: var(--font-heading); font-size: 38px; font-weight: 700; }
.price-card .price-tag .period { color: var(--text-faint); font-size: 14px; }
.price-card .price-desc { margin-top: 12px; color: var(--text-muted); font-size: 14.5px; min-height: 44px; }
.price-card ul { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.price-card li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--text); }
.price-card li::before {
  content: "";
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--gradient-brand-soft);
  background-image: var(--gradient-brand);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/12px no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/12px no-repeat;
}
.price-card .btn { margin-top: 28px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: 14px; font-weight: 600; color: var(--text); }
.form-field input, .form-field textarea, .form-field select {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--bg-soft);
  color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  border-color: var(--c-blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(79, 182, 242, 0.14);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(54, 204, 215, 0.1);
  border: 1px solid rgba(54, 204, 215, 0.3);
  color: #147d87;
  font-size: 14.5px;
  font-weight: 500;
}
.form-success.is-visible { display: flex; }

/* ---------- Blog ---------- */
.blog-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card__cover {
  height: 170px;
  background: var(--gradient-brand);
  position: relative;
  overflow: hidden;
}
.blog-card__cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.35), transparent 55%);
}
.blog-card__body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.blog-card__meta { display: flex; gap: 10px; align-items: center; font-size: 12.5px; color: var(--text-faint); }
.tag {
  display: inline-block;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: var(--gradient-brand-soft);
  color: var(--c-violet-dark);
  font-weight: 600;
  font-size: 12px;
}
.blog-card__body h3 { font-size: 18.5px; }
.blog-card__body p { color: var(--text-muted); font-size: 14.5px; }
.blog-card__link { margin-top: auto; font-weight: 600; font-size: 14.5px; color: var(--c-violet-dark); display: inline-flex; align-items: center; gap: 6px; }
.blog-card__link .arrow { transition: transform .15s ease; }
.blog-card:hover .arrow { transform: translateX(4px); }

/* ---------- Article ---------- */
.article {
  max-width: 720px;
  margin: 0 auto;
}
.article h1 { font-size: clamp(28px, 4vw, 40px); margin-top: 16px; }
.article__meta { display: flex; gap: 14px; align-items: center; color: var(--text-faint); font-size: 14px; }
.article__body { margin-top: 40px; display: flex; flex-direction: column; gap: 20px; color: var(--text); font-size: 16.5px; line-height: 1.85; }
.article__body h2 { font-size: 23px; margin-top: 12px; }
.article__body h3 { font-size: 19px; }
.article__body ul { display: flex; flex-direction: column; gap: 10px; padding-left: 4px; }
.article__body li { padding-left: 22px; position: relative; color: var(--text); }
.article__body li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--gradient-brand);
}
.article__body p { color: var(--text-muted); }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--c-violet-dark); font-weight: 600; font-size: 14.5px; margin-bottom: 20px; }

/* ---------- Feature list (Sobre) ---------- */
.feature-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.feature-row .dot {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 12px;
  background: var(--gradient-brand-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-violet-dark);
  font-size: 19px;
}
.feature-row h3 { font-size: 17px; }
.feature-row p { margin-top: 6px; color: var(--text-muted); font-size: 14.5px; }

.stat-block {
  text-align: center;
  padding: 28px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
}
.stat-block b { font-family: var(--font-heading); font-size: 34px; background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; }
.stat-block span { color: var(--text-muted); font-size: 14.5px; }

/* ---------- Utility ---------- */
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.mt-8 { margin-top: 8px; }
.text-center { text-align: center; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 640px) {
  .cta-band { text-align: left; }
  .cta-band .hero__actions { justify-content: flex-start; }
}
