/* Faurus Tecnologia — "prancha técnica"
   Papel + tinta marinho, um único acento (o cobalto do logo), títulos em
   Archivo expandida (ecoa o wordmark) e rótulos em mono. Estrutura por fios,
   não por cards. O corte diagonal da fita do logo é o único ornamento. */

:root {
  --paper: #f4f2ec;
  --paper-deep: #e9e6dc;
  --ink: #070d2a;
  --ink-soft: #3d4460;
  --ink-faint: #5a607c;
  --rule: #070d2a26;
  --blue: #0b57e6;
  --blue-bright: #2f86ff;
  --cyan: #6ed3ff;
  --navy: #050b22;
  --on-navy: #f4f2ec;
  --on-navy-soft: #aab1cc;
  --rule-navy: #ffffff29;
  --danger: #ff6b6b;
  --whatsapp: #25d366;
  --whatsapp-hover: #1fbd5a;

  --font-display: "Archivo", "Arial Nova", Arial, sans-serif;
  --font-body: "Archivo", "Arial Nova", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(72px, 10vw, 136px);
  --header-h: 68px;
  --cut: -35deg; /* ângulo do corte da fita no logo */
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 700;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

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

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.section-dark :focus-visible,
.site-footer :focus-visible { outline-color: var(--cyan); }

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

/* Rótulos em mono — a "legenda" da prancha */
.eyebrow,
.hero-place,
.stat-label,
.scope-label,
.section-eyebrow,
.service-tag,
.plate-caption,
.contact-label,
.form-row label,
.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px 24px;
  border-radius: 2px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary::after {
  content: "\2192";
  font-family: var(--font-mono);
  font-weight: 400;
  transition: transform 0.18s ease;
}
.btn-primary:hover { background: var(--blue); }
.btn-primary:hover::after { transform: translateX(4px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.btn-small { padding: 11px 16px; font-size: 0.85rem; gap: 10px; }

/* WhatsApp — canal principal de contato. O verde é o da própria marca do
   WhatsApp e só aparece nesses botões, para ser reconhecido de imediato. */
.wa-icon { flex: none; width: 1.3em; height: 1.3em; }
.btn-whatsapp {
  gap: 10px;
  background: var(--whatsapp);
  color: var(--ink);
}
.btn-whatsapp:hover { background: var(--whatsapp-hover); }

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 2px;
  background: var(--whatsapp);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
  transition: background-color 0.18s ease, opacity 0.2s ease, visibility 0.2s;
}
.wa-float .wa-icon { width: 28px; height: 28px; }
.wa-float:hover { background: var(--whatsapp-hover); }
.wa-float.is-hidden { opacity: 0; visibility: hidden; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  display: block;
  width: 30px; height: 30px;
  object-fit: contain;
}
.logo-text {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.logo-accent {
  font-family: var(--font-mono);
  font-stretch: 100%;
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  color: var(--blue);
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: auto;
}
.nav {
  display: flex;
  gap: 32px;
  font-size: 0.92rem;
  font-weight: 500;
}
.nav a {
  padding: 6px 0;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
  transition: background-size 0.2s ease, color 0.2s ease;
}
.nav a:hover { background-size: 100% 1px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 2px;
  margin-left: auto;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 18px;
  margin: 0 auto;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { padding: clamp(28px, 4vw, 44px) 0 clamp(48px, 7vw, 88px); }

.hero-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px 32px;
  flex-wrap: wrap;
  color: var(--ink-faint);
  margin-bottom: clamp(48px, 9vw, 120px);
}
.eyebrow { color: var(--ink); }

.hero h1 {
  font-size: clamp(1.75rem, 7.4vw, 5.9rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 13em;
  text-wrap: wrap;
}
.hero h1 em {
  display: block;
  font-style: normal;
  color: var(--blue);
}

.hero-foot {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 48px clamp(40px, 8vw, 128px);
  align-items: end;
  margin-top: clamp(40px, 6vw, 80px);
}
.hero-sub {
  max-width: 34em;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.55;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Stats como ficha técnica */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 14px 16px 0 0;
}
.stat + .stat {
  padding-left: 16px;
  border-left: 1px solid var(--rule);
}
.stat-label { color: var(--ink-faint); }
.stat-num {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 600;
  font-size: clamp(1.7rem, 3.4vw, 2.9rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

/* Faixa de escopo */
.scope {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.scope-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  gap: 16px 48px;
  align-items: center;
  padding-top: 22px;
  padding-bottom: 22px;
}
.scope-label { color: var(--ink-faint); max-width: 18em; }
.scope-list {
  display: flex;
  flex-wrap: wrap;
  row-gap: 10px;
  margin-left: -18px;
  overflow: hidden; /* esconde o fio do primeiro item de cada linha */
  font-weight: 500;
  font-size: 0.98rem;
  line-height: 1.3;
}
.scope-list li {
  margin-left: -1px;
  padding: 0 18px;
  border-left: 1px solid var(--ink);
}

/* Sections */
.section { padding: var(--section-y) 0; }
.section-alt { background: var(--paper-deep); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  gap: 20px 48px;
  align-items: start;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 0.9em;
  color: var(--ink);
}
.section-eyebrow::before {
  content: "";
  flex: none;
  width: 18px;
  height: 9px;
  margin-left: 3px;
  background: var(--blue);
  transform: skewX(var(--cut));
}
.section-title {
  font-size: clamp(1.7rem, 4.2vw, 3.25rem);
  max-width: 17em;
}
.section-sub {
  color: var(--ink-soft);
  max-width: 34em;
  margin-top: 20px;
}

/* Serviços — índice em linhas */
.services { border-top: 2px solid var(--ink); }
.service {
  display: grid;
  grid-template-columns: calc((100% - 48px) / 4) minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px 48px;
  align-items: baseline;
  padding: clamp(24px, 3.4vw, 40px) 0;
  border-bottom: 1px solid var(--rule);
}
.service-tag { color: var(--ink-faint); transition: color 0.2s ease; }
.service h3 {
  font-size: clamp(1.25rem, 2.3vw, 1.8rem);
  transition: color 0.2s ease;
}
.service p { color: var(--ink-soft); max-width: 34em; }
.service:hover h3,
.service:hover .service-tag { color: var(--blue); }

/* Sobre */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  gap: 40px 48px;
  align-items: start;
}
.about-aside {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.about-text {
  max-width: 30em;
  margin-top: 32px;
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  line-height: 1.5;
  color: var(--ink-soft);
}
.about-list {
  max-width: 44em;
  margin-top: 40px;
  border-top: 1px solid var(--ink);
}
.about-list li {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  font-weight: 500;
}
.about-list li::before {
  content: "";
  flex: none;
  width: 14px;
  height: 7px;
  margin-left: 3px;
  background: var(--blue);
  transform: skewX(var(--cut));
}

/* Prancha do símbolo */
.plate {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1;
  background: var(--navy);
  color: var(--on-navy-soft);
}
.plate::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid var(--rule-navy);
}
.plate::after {
  content: "";
  position: absolute;
  inset: 12px;
  background:
    linear-gradient(var(--rule-navy), var(--rule-navy)) center / 100% 1px no-repeat,
    linear-gradient(var(--rule-navy), var(--rule-navy)) center / 1px 100% no-repeat;
  opacity: 0.6;
}
.plate-mark {
  position: relative;
  z-index: 1;
  width: 46%;
  height: auto;
}
.plate-caption {
  position: absolute;
  z-index: 1;
  font-size: 0.62rem;
  padding: 0 6px;
  background: var(--navy);
}
.plate-caption-top { top: 4px; left: 20px; }
.plate-caption-bottom { bottom: 4px; right: 20px; }

/* Diferenciais */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(32px, 6vw, 96px);
  border-top: 2px solid var(--ink);
}
.feature {
  display: grid;
  grid-template-columns: clamp(64px, 9vw, 120px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: clamp(24px, 3.4vw, 40px) 0;
  border-bottom: 1px solid var(--rule);
}
.feature-num {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}
.feature h3 { font-size: clamp(1.1rem, 1.7vw, 1.35rem); margin-bottom: 10px; }
.feature p { color: var(--ink-soft); font-size: 1rem; max-width: 30em; }

/* CTA — a face clara da fita */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  color: #fff;
}
.cta-banner::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  right: -40%;
  width: 74%;
  background: var(--blue-bright);
  transform: skewX(var(--cut));
}
.cta-banner-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px 48px;
  flex-wrap: wrap;
  padding-top: clamp(48px, 7vw, 88px);
  padding-bottom: clamp(48px, 7vw, 88px);
}
.cta-banner-inner h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.75rem);
  max-width: 14em;
  margin-bottom: 14px;
}
.cta-banner-inner p { max-width: 30em; color: #ffffffd9; }
.cta-banner .btn-primary { background: var(--navy); color: var(--on-navy); }
.cta-banner .btn-primary:hover { background: var(--paper); color: var(--ink); }

/* Contato — bloco marinho */
.section-dark {
  background: var(--navy);
  color: var(--on-navy);
}
.section-dark .section-eyebrow { color: var(--on-navy); padding-top: 0; margin-bottom: 28px; }
.section-dark .section-eyebrow::before { background: var(--cyan); }
.section-dark .section-title { font-size: clamp(1.7rem, 3.6vw, 2.75rem); }
.section-dark .section-sub { color: var(--on-navy-soft); }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px clamp(40px, 8vw, 128px);
  align-items: start;
}
.contact-whatsapp { margin-top: 28px; padding: 18px 26px; font-size: 1rem; }
.contact-list {
  margin-top: 40px;
  border-top: 1px solid var(--rule-navy);
}
.contact-list li {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule-navy);
  font-size: 1.05rem;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.contact-label { color: var(--on-navy-soft); }
.contact-list a {
  justify-self: start;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: color 0.2s ease;
}
.contact-list a:hover { color: var(--cyan); }

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 20px;
}
.form-row { display: flex; flex-direction: column; gap: 10px; grid-column: 1 / -1; }
.form-row:nth-of-type(2),
.form-row:nth-of-type(3) { grid-column: auto; }
.form-row label { color: var(--on-navy-soft); }
.form-row input, .form-row textarea {
  width: 100%;
  background: #ffffff0d;
  border: 1px solid var(--rule-navy);
  border-radius: 2px;
  padding: 14px 14px;
  color: var(--on-navy);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.4;
  resize: vertical;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.form-row input::placeholder, .form-row textarea::placeholder { color: #aab1cc99; }
.form-row input:hover, .form-row textarea:hover { border-color: #ffffff66; }
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--cyan);
  background: #ffffff14;
  box-shadow: 0 0 0 1px var(--cyan);
}
.form-submit {
  justify-self: start;
  grid-column: 1 / -1;
  background: var(--on-navy);
  color: var(--ink);
}
.form-submit:hover { background: var(--cyan); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* Honeypot — moved off-canvas rather than just clipped, so it stays fully
   invisible even under Windows/browser forced-colors (high contrast) mode,
   which redraws clipped-but-in-place form controls with a visible outline */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  grid-column: 1 / -1;
  font-size: 0.92rem;
  color: var(--cyan);
  min-height: 1.5em;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: var(--on-navy);
  padding: 0 0 36px;
  border-top: 1px solid var(--rule-navy);
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 20px 32px;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-top: 32px;
}
.site-footer .logo-accent { color: var(--cyan); }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-size: 0.92rem;
  color: var(--on-navy-soft);
}
.footer-nav a { transition: color 0.2s ease; }
.footer-nav a:hover { color: var(--on-navy); }
.footer-copy {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 32px;
  width: 100%;
  margin-top: 12px;
  color: var(--on-navy-soft);
  font-size: 0.7rem;
}

/* Reveal on scroll — hidden state only applies once JS confirms it can reveal
   elements again, so content stays visible by default (no-JS, older browsers,
   reduced motion, or a script error never leaves a section permanently blank). */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.js-reveal .reveal.in-view { opacity: 1; transform: none; }

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

/* Responsive */
@media (max-width: 1000px) {
  .hero-foot { grid-template-columns: 1fr; align-items: start; }
  .service { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
  .service p { grid-column: 2; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 60px; }

  .nav-panel { display: none; }
  .nav-toggle { display: flex; }
  .header-inner.nav-open .nav-panel {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--ink);
    padding: 4px var(--gutter) 24px;
  }
  .header-inner.nav-open .nav {
    flex-direction: column;
    gap: 0;
    font-size: 1.05rem;
  }
  .header-inner.nav-open .nav a {
    padding: 15px 0;
    border-bottom: 1px solid var(--rule);
    background: none;
  }
  .header-inner.nav-open .nav-cta {
    margin-top: 18px;
    padding: 15px 20px;
    justify-content: center;
  }
}

@media (max-width: 760px) {
  h1, h2, h3, .logo-text, .stat-num, .feature-num { font-stretch: 112%; }

  .hero h1 { font-size: clamp(1.9rem, 9.8vw, 3.6rem); }
  .hero-place span { display: none; }
  .hero-actions .btn { flex: 1 1 auto; }

  .scope-inner,
  .section-head,
  .about-grid { grid-template-columns: 1fr; }
  .section-eyebrow { padding-top: 0; }

  .service { grid-template-columns: 1fr; gap: 10px; }
  .service p { grid-column: auto; }

  .about-aside { gap: 24px; }
  .plate { max-width: 200px; }

  .features-grid { grid-template-columns: 1fr; }

  .cta-banner::after { display: none; }
  .cta-banner-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .logo-accent { display: none; }

  .hero-stats { grid-template-columns: 1fr; }
  .stat {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--rule);
  }
  .stat + .stat { padding-left: 0; border-left: 0; }

  .scope-list { flex-direction: column; row-gap: 0; margin-left: 0; }
  .scope-list li { margin-left: 0; padding: 9px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
  .scope-list li:last-child { border-bottom: 0; }

  .contact-form { grid-template-columns: 1fr; }
  .form-row:nth-of-type(2),
  .form-row:nth-of-type(3) { grid-column: 1 / -1; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
  .form-submit { justify-self: stretch; justify-content: space-between; }
}
