/* ============================================================
   Guilherme · Assistência Técnica de Informática — Curitiba
   Tema: roxo suave sobre preto-arroxeado
   ============================================================ */

:root {
  --bg: #100C1A;
  --bg-2: #191327;
  --bg-3: #221A38;
  --line: #322852;
  --line-soft: #272043;

  --text: #EFEDF8;
  --muted: #A8A0C2;

  --violet: #9D7BF0;        /* violeta vivo — acentos e ação */
  --violet-hover: #AE92F5;
  --violet-strong: #7A5FDF; /* roxo elétrico — bordas e foco */
  --violet-soft: #261C45;   /* roxo profundo (fundos de destaque) */
  --violet-ink: #171022;    /* texto sobre violeta claro */

  --amber: #E5B25D;         /* âmbar de LED — status e estados */

  --font-sans: "Archivo", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --radius: 14px;
  --radius-sm: 10px;
  --container: 1120px;
  --pad-x: clamp(20px, 5vw, 48px);
}

* { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px; /* compensa o header fixo nos links de âncora */
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }

h1, h2, h3 {
  font-weight: 650;
  font-stretch: 112%;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.9rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  font-stretch: 115%;
}
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.2rem; font-weight: 600; }

p { max-width: 65ch; }

a { color: var(--violet); }

::selection { background: var(--violet-strong); color: #fff; }

:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.container-narrow { max-width: 800px; }

/* ============ Botões ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  padding: 14px 24px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.btn-primary {
  background: var(--violet);
  color: var(--violet-ink);
}
.btn-primary:hover { background: var(--violet-hover); }

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

.btn-sm { padding: 9px 16px; font-size: 0.925rem; }
.btn-lg { padding: 16px 28px; font-size: 1.1rem; }
.btn-block { width: 100%; }

.btn svg { width: 1.15em; height: 1.15em; flex: none; }

/* ============ Header ============ */

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 650;
  font-stretch: 110%;
  font-size: 1.05rem;
}

.brand-mark { width: 26px; height: 26px; color: var(--violet); }

.brand-sep { color: var(--violet); margin-inline: 2px; font-weight: 400; }

.brand-qualifier {
  color: var(--muted);
  font-weight: 450;
  font-stretch: 100%;
}

.site-nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}
.site-nav a:hover { color: var(--text); }

.header-wa { margin-left: 8px; }
.header-wa .wa-short { display: none; }

/* link de acessibilidade: só aparece ao navegar por teclado */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--violet);
  color: var(--violet-ink);
  font-weight: 600;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ============ Hero ============ */

.hero {
  position: relative;
  padding: calc(68px + clamp(48px, 9vh, 96px)) 0 clamp(56px, 9vh, 96px);
  overflow: hidden;
}

/* brilho violeta no canto superior direito */
.hero::before {
  content: "";
  position: absolute;
  top: -240px;
  right: -160px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(122, 95, 223, 0.24), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* grade técnica discreta, desvanecendo para as bordas */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(157, 123, 240, 0.065) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(157, 123, 240, 0.065) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 72% 18%, black 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 85% 75% at 72% 18%, black 0%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: start;
}

.hero-sub {
  color: var(--muted);
  margin-top: 24px;
  font-size: 1.15rem;
  max-width: 54ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-facts {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-facts li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-facts li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  flex: none;
}

/* ============ Diagnóstico rápido ============ */

.diag {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 30px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.diag-title { font-size: 1.15rem; }

.diag-hint {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 8px;
}

.diag-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.chip {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text);
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  cursor: pointer;
  transition: background-color .12s ease, color .12s ease, border-color .12s ease;
}

.chip:hover { border-color: var(--violet-strong); }

.chip[aria-pressed="true"] {
  background: var(--violet);
  border-color: var(--violet);
  color: var(--violet-ink);
}

.diag-preview-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
  margin: 24px 0 8px;
  letter-spacing: 0.02em;
}

.diag-preview {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text);
  background: #0D0916;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  white-space: pre-wrap;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/* cursor de terminal piscando no fim da mensagem */
.diag-preview::after {
  content: "▌";
  color: var(--violet);
  margin-left: 1px;
  animation: caret-blink 1.2s steps(1) infinite;
}

@keyframes caret-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.diag .btn { margin-top: 20px; }

.diag-note {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 12px;
  text-align: center;
}

/* ============ Seções ============ */

.section {
  padding: clamp(64px, 10vh, 104px) 0;
  border-top: 1px solid var(--line-soft);
}

.section-lead {
  color: var(--muted);
  margin-top: 14px;
  font-size: 1.08rem;
  max-width: 58ch;
}

.section-lead strong { color: var(--text); }

/* ============ Serviços ============ */

.services {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(28px, 4vw, 48px);
  margin-top: 44px;
  align-items: start;
}

.service-block > h3 {
  font-size: 1.35rem;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--violet);
  display: inline-block;
}

.service-block + .service-block { margin-top: 0; }

.service-list {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
}

.service-list li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}

.service-list strong { font-weight: 600; }

.service-list span {
  color: var(--muted);
  font-size: 0.95rem;
}

.service-business {
  background: var(--violet-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 30px);
}

.service-business > h3 { border-color: var(--violet); }

.service-business .service-list li:last-child { border-bottom: none; }

.service-business .btn { margin-top: 20px; }

/* ============ Como funciona ============ */

.steps {
  list-style: none;
  padding: 0;
  margin: 44px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 48px);
  counter-reset: passo;
}

.step {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.step-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--violet);
  margin-bottom: 12px;
}

.step h3 { margin-bottom: 8px; }

.step p { color: var(--muted); font-size: 0.98rem; }

/* ============ Região ============ */

.city-chips {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 700px;
}

.city-chips li {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
}

.region-note {
  color: var(--muted);
  margin-top: 24px;
  font-size: 0.98rem;
}

/* ============ Depoimentos ============ */

.quotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 44px;
}

.quote-lead { grid-column: 1 / -1; }

.quote-lead blockquote { font-size: 1.3rem; }

.quote blockquote {
  font-weight: 450;
  line-height: 1.5;
  text-wrap: balance;
}

.quote blockquote::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: var(--violet);
  margin-bottom: 16px;
}

.quote figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ============ FAQ ============ */

.faq-item {
  border-bottom: 1px solid var(--line-soft);
}

.faq-item:first-of-type { border-top: 1px solid var(--line-soft); }

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  font-weight: 600;
  font-size: 1.05rem;
}

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

.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--violet);
  transition: transform .18s ease, color .18s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--amber);
}

.faq-item p {
  color: var(--muted);
  padding: 0 4px 20px;
  max-width: 60ch;
}

/* ============ CTA final ============ */

.cta-final {
  padding: 0 0 clamp(64px, 10vh, 104px);
  border-top: 1px solid var(--line-soft);
}

.cta-final .container {
  position: relative;
}

.cta-final h2,
.cta-final p {
  position: relative;
}

.cta-final > .container {
  background: var(--violet-soft);
  border: 1px solid var(--line);
  border-radius: clamp(18px, 3vw, 24px);
  padding: clamp(40px, 6vw, 64px) var(--pad-x);
  text-align: center;
  overflow: hidden;
}

.cta-final h2 { margin-inline: auto; }

.cta-final p {
  color: var(--muted);
  margin: 14px auto 28px;
}

/* ============ Footer ============ */

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 44px 0 56px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.footer-brand { font-weight: 600; }

.footer-loc, .footer-copy { color: var(--muted); font-size: 0.92rem; }

.footer-nav {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}
.footer-nav a:hover { color: var(--text); }

.footer-copy { margin-top: 14px; }

/* ============ Responsivo ============ */

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .diag { max-width: 560px; }
  .services { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 720px) {
  .site-nav { display: none; }
  .header-wa { margin-left: auto; }
  .brand-qualifier { display: none; }
  .quotes { grid-template-columns: 1fr; }
  .header-inner { gap: 16px; }
}

@media (max-width: 440px) {
  .header-wa .wa-full { display: none; }
  .header-wa .wa-short { display: inline; }
}

/* ============ Movimento reduzido ============ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
