/* NS Pinturas — style.css (tema escuro)
   Fundos: #000000 / #0B0C0E · Superfície: #111317 · Bordas: #1F232B
   Texto: #FFFFFF / #A1A8B5 · Azul NS #0135A3 (botões e blocos) · #4D7CF0 (texto e ícones)
   Fonte: Archivo */

:root {
  --blue: #0135a3;
  --blue-dark: #012a82;
  --blue-text: #4d7cf0;
  --black: #000000;
  --bg-alt: #0b0c0e;
  --surface: #111317;
  --line: #1f232b;
  --line-soft: #3a404c;
  --text: #ffffff;
  --muted: #a1a8b5;
  --radius: 12px;
  --header-h: 80px;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  --font-sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font-sans);
  color: var(--muted);
  background: var(--black);
  line-height: 1.6;
  overflow-x: clip;
}
::selection { background: var(--blue); color: #fff; }
img { max-width: 100%; display: block; }
a { color: inherit; }
p { max-width: 60ch; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--blue); color: #fff; padding: 10px 18px;
  border-radius: 8px; text-decoration: none; font-weight: 700;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--blue-text); outline-offset: 3px; border-radius: 4px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 800; text-decoration: none; border-radius: 8px;
  padding: 14px 28px; font-size: 1rem; line-height: 1.2; text-align: center;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { background: transparent; color: #fff; border-color: var(--line-soft); }
.btn-ghost:hover { border-color: var(--blue-text); }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { background: #e9effc; }
.btn-lg { padding: 17px 32px; font-size: 1.05rem; }
.btn-sm { padding: 10px 22px; font-size: 0.92rem; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: var(--black); color: #fff;
  height: var(--header-h);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.brand-logo { height: 56px; width: auto; mix-blend-mode: lighten; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav-link { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.98rem; }
.nav-link:hover { color: #fff; }
.nav-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.menu-btn {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; background: transparent; border: 1px solid var(--line-soft);
  border-radius: 8px; cursor: pointer; padding: 10px;
}
.menu-btn-bar { display: block; height: 2px; width: 100%; background: #fff; border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.menu-btn[aria-expanded="true"] .menu-btn-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn-bar:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-btn-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--black);
  padding: calc(var(--header-h) + 40px) 0 88px;
  overflow: clip;
}
.hero-grid { display: grid; gap: 48px; position: relative; align-items: center; }
.hero-copy, .hero-visual, .about-copy, .about-visual,
.diff-item, .service-card, .step, .strip-item { min-width: 0; max-width: 100%; }
.hero-kicker {
  font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue-text); margin-bottom: 20px;
}
.hero-title {
  color: var(--text);
  font-size: clamp(2.35rem, 6vw + 1rem, 4.5rem);
  line-height: 1.05; letter-spacing: -0.02em; font-weight: 800;
  overflow-wrap: break-word;
}
.hero-accent { color: var(--blue-text); }
.hero-sub { margin-top: 20px; font-size: 1.12rem; max-width: 34ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* Desenho do hero (transparente, sem painel) */
.wall {
  position: relative;
  width: 100%;
}
.wall-stroke { display: block; width: 100%; height: auto; }
.floating { animation: floaty 3s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
/* ---------- Seções ---------- */
.section { padding: 120px 0; }
.section-title {
  color: var(--text);
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.05;
  overflow-wrap: break-word;
}
.section-title-center, .section-sub-center { text-align: center; }
.section-sub { margin-top: 14px; max-width: 60ch; font-size: 1.06rem; }
.section-sub-center { margin-inline: auto; }
.eyebrow {
  font-size: 12px; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--blue-text); margin-bottom: 12px;
}
.eyebrow-center { text-align: center; }
.steps .eyebrow { text-align: center; }

/* ---------- Diferenciais ---------- */
.diffs { background: var(--bg-alt); }
.diffs .section-title { margin-bottom: 48px; max-width: 16ch; }
.diffs-grid { display: grid; gap: 32px 0; }
.diff-item { padding: 8px 0; }
.diff-icon { display: inline-flex; color: var(--blue-text); margin-bottom: 18px; }
.diff-item h3 { color: #fff; font-size: 1.12rem; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 8px; }
.diff-item p { font-size: 0.97rem; }

/* ---------- Serviços ---------- */
.services { background: var(--black); }
.services .section-sub { margin-bottom: 48px; }
.services-grid { display: grid; gap: 20px; }
.service-card {
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 30px;
  display: flex; flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.service-card:hover { transform: translateY(-4px); border-color: var(--blue); }
.service-num {
  font-size: 3rem; font-weight: 800; line-height: 1; letter-spacing: -0.02em;
  color: transparent; -webkit-text-stroke: 1.5px var(--line-soft);
  margin-bottom: 24px;
}
@supports not (-webkit-text-stroke: 1px black) {
  .service-num { color: var(--line-soft); }
}
.service-icon { display: inline-flex; color: var(--blue-text); margin-bottom: 20px; }
.service-card h3 { color: #fff; font-size: 1.3rem; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 10px; }
.service-card p { font-size: 0.98rem; flex: 1; }
.service-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--blue-text); font-weight: 800; text-decoration: none;
  margin-top: 22px;
}
.service-link:hover { color: #fff; }

/* ---------- Faixa ---------- */
.strip {
  background: var(--bg-alt); color: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.strip-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px 16px;
  padding: 48px 0; text-align: center;
}
.strip-item { display: flex; flex-direction: column; gap: 2px; min-width: 0; overflow-wrap: break-word; }
.strip-item strong { color: #fff; font-size: 1.35rem; font-weight: 800; letter-spacing: -0.01em; }
.strip-item span { color: var(--muted); font-size: 0.9rem; }

/* ---------- Sobre ---------- */
.about { background: var(--black); }
.about-grid { display: grid; gap: 56px; align-items: center; }
.about-visual {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--black);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  padding: 64px 24px; min-height: 420px;
}
.about-visual::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 45%, rgba(1, 53, 163, 0.28), transparent 70%);
}
.about-logo { position: relative; z-index: 1; height: 280px; width: auto; mix-blend-mode: lighten; }
.about-copy p { margin-top: 16px; font-size: 1.05rem; }
.check-list { list-style: none; margin: 28px 0 32px; display: grid; gap: 14px; }
.check-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: #fff; }
.check-list svg { color: var(--blue-text); flex-shrink: 0; }

/* ---------- Como funciona ---------- */
.steps { background: var(--bg-alt); }
.steps .section-sub { margin-bottom: 48px; }
.steps-grid { list-style: none; display: grid; gap: 32px; }
.step { position: relative; }
.step-num {
  display: block;
  font-size: 3rem; font-weight: 800; line-height: 1; letter-spacing: -0.02em;
  color: transparent; -webkit-text-stroke: 1.5px var(--line-soft);
  margin-bottom: 18px;
}
@supports not (-webkit-text-stroke: 1px black) {
  .step-num { color: var(--line-soft); }
}
.step h3 { color: #fff; font-size: 1.12rem; font-weight: 800; margin-bottom: 8px; }
.step p { font-size: 0.96rem; }

/* ---------- CTA final ---------- */
.cta-final { background: var(--blue); padding: 104px 0; text-align: center; }
.cta-inner { max-width: 680px; }
.cta-final .eyebrow { color: rgba(255, 255, 255, 0.75); }
.cta-final h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.05;
}
.cta-final p { margin: 16px auto 32px; color: rgba(255, 255, 255, 0.8); font-size: 1.08rem; }
.cta-final .btn { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: var(--muted); border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 40px; padding: 72px 0 48px; }
.footer h3 { color: #fff; font-size: 1rem; font-weight: 800; margin-bottom: 18px; }
.footer ul { list-style: none; display: grid; gap: 12px; }
.footer a { color: var(--muted); text-decoration: none; font-size: 0.95rem; word-break: break-all; }
.footer a:hover { color: #fff; }
.footer-logo { height: 120px; width: auto; margin-bottom: 18px; mix-blend-mode: lighten; }
.footer-brand p { font-size: 0.95rem; max-width: 34ch; }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact svg { color: var(--blue-text); flex-shrink: 0; }
.footer-contact span { font-size: 0.95rem; }
.footer-bottom { border-top: 1px solid var(--line); padding: 24px 0; font-size: 0.88rem; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; }
.credit { color: #6b7280; font-size: 0.88rem; }
.credit a { color: #a1a8b5; text-decoration: none; }
.credit a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Whats flutuante ---------- */
.whats-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--blue); color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease, background 0.2s ease;
}
.whats-float:hover { transform: scale(1.06); background: var(--blue-dark); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Tablet+ ---------- */
@media (min-width: 768px) {
  .diffs-grid { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .diff-item:nth-child(even) { border-left: 1px solid var(--line); padding-left: 40px; }
  .diff-item:nth-child(n+3) { border-top: 1px solid var(--line); padding-top: 40px; }
  .services-grid { grid-template-columns: 1fr 1fr 1fr; }
  .strip-grid { grid-template-columns: repeat(4, 1fr); }
  .strip-item + .strip-item { border-left: 1px solid var(--line); }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr 1.1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.4fr; }
}

/* ---------- Desktop ---------- */
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
  .diffs-grid { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .diff-item { padding: 8px 32px 8px 0; }
  .diff-item + .diff-item { border-left: 1px solid var(--line); padding-left: 32px; }
  .diff-item:nth-child(n+3) { border-top: none; padding-top: 8px; }
  .diff-item:nth-child(even) { padding-left: 32px; }
  .steps-grid { grid-template-columns: repeat(4, 1fr); position: relative; }
  .steps-grid::before {
    content: ""; position: absolute; top: 24px; left: 11%; right: 11%;
    height: 1px; background: var(--line);
  }
  .step-num { background: var(--bg-alt); display: inline-block; padding: 0 14px; margin-left: -14px; position: relative; z-index: 1; }
}

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .brand-logo { height: 48px; }
  .header-cta-desktop { display: none; }
  .menu-btn { display: flex; }
  .nav {
    position: fixed; top: var(--header-h); right: 0; left: 0;
    background: var(--black); flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 20px 24px;
    transform: translateY(-130%); transition: transform 0.3s ease;
    border-bottom: 1px solid var(--line);
  }
  .nav.open { transform: translateY(0); }
  .nav-link { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav-cta { display: inline-flex; margin-top: 18px; }
  .section { padding: 72px 0; }
  .hero { padding: calc(var(--header-h) + 24px) 0 72px; }
  .btn { white-space: normal; }
  .btn-lg { padding: 16px 22px; font-size: 1rem; }
  .hero-cta .btn { flex: 1 1 100%; }
  .cta-final .btn, .about-copy .btn { width: 100%; max-width: 100%; }
  .cta-final { padding: 72px 0; }
  .about-visual { min-height: 340px; padding: 48px 20px; }
  .about-logo { height: 200px; }
  .diff-item + .diff-item { border-top: 1px solid var(--line); padding-top: 32px; }
}

@media (min-width: 901px) {
  .header-cta-desktop { display: inline-flex; }
}

@media (max-width: 768px) {
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
