@import url('https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Manrope:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --ink: #1c2028;
  --ink-soft: #4c5266;
  --ink-faint: #7c8299;
  --bg: #f7f7fb;
  --surface: #ffffff;
  --surface-2: #eef0f8;
  --border: #e1e3ef;
  --accent: #3d5aff;
  --accent-ink: #1c2b6b;
  --accent-soft: #e6eaff;
  --shadow: 0 1px 2px rgba(20,24,45,0.04), 0 12px 28px -16px rgba(20,24,45,0.20);
  --radius: 12px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, .display {
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
  margin: 0 0 0.6rem;
}

p { margin: 0 0 1rem; }

a { color: var(--accent-ink); text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.mono {
  font-family: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.wrap-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Header ---------- */

header.site {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 249, 245, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  line-height: 1;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.wordmark .glyphs { display: block; }
.wordmark .g { color: var(--accent-ink); }
.wordmark .two { color: var(--accent); }
/* medidas em em: o descritor acompanha o tamanho do "G2" e a proporção 1,28× se mantém
   em qualquer escala — basta alterar o font-size de .wordmark */
.wordmark .tag {
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.2333em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4a54a0;
  margin-top: 0.81em;
}

header.site .wordmark { font-size: 2.25rem; }

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav.main-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

nav.main-nav a:hover, nav.main-nav a.current { color: var(--accent-ink); }

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.9rem !important;
}
.nav-cta:hover { background: var(--accent-ink); }

.menu-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 0.2s ease;
}
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after { position: absolute; top: 6px; }

/* ---------- Hero ---------- */

.hero {
  padding: 5rem 0 4rem;
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.76rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--accent-ink);
  font-weight: 500;
  margin-bottom: 1rem;
  display: inline-block;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  max-width: 18ch;
}

.hero .lede {
  font-size: 1.18rem;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 1.1rem 0 2rem;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.12s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--ink-soft); }

/* ---------- Hero escuro ---------- */

.hero-dark {
  background: var(--accent-ink);
  color: #fff;
  padding: 4.4rem 0 4.2rem;
  position: relative;
  overflow: hidden;
}

.hero-dark::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -55%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(61,90,255,0.42), rgba(61,90,255,0));
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-dark .eyebrow { color: #9aa6f2; }
.hero-dark h1 {
  color: #fff;
  font-size: clamp(2.3rem, 5vw, 3.7rem);
  max-width: 17ch;
  letter-spacing: -0.025em;
}
.hero-dark .lede { color: #c3caf0; font-size: 1.16rem; max-width: 52ch; }

.btn-light { background: #fff; color: var(--accent-ink); }
.btn-light:hover { background: var(--accent-soft); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.3); }
.btn-ghost-light:hover { border-color: rgba(255,255,255,0.65); }

.hero-art { width: 100%; height: auto; display: block; }

/* ---------- Herói com fundo tingido (páginas internas) ---------- */

.hero-tint {
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  padding: 4rem 0 3.4rem;
  position: relative;
}

.hero-tint::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #c6cee9 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  opacity: 0.7;
  pointer-events: none;
}
.hero-tint > * { position: relative; z-index: 1; }

.hero-tint h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); max-width: 20ch; }
.hero-tint .lede { font-size: 1.14rem; color: var(--ink-soft); max-width: 56ch; margin: 1.1rem 0 2rem; }

/* Herói escuro das páginas de produto — versão compacta com símbolo */

.hero-dark.compact { padding: 3.6rem 0 3.4rem; }
.hero-dark.compact h1 { font-size: clamp(2rem, 4.4vw, 3rem); max-width: 19ch; }
.hero-dark .prod-glyph-lg { width: 132px; height: 132px; margin: 0 auto; display: block; }

@media (max-width: 900px) {
  .hero-dark .prod-glyph-lg { width: 96px; height: 96px; margin: 0; }
}

/* ---------- Faixa de números ---------- */

.stat-band {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 2.6rem 0;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}

.stat .n {
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  display: block;
}

.stat .l {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 0.55rem;
  display: block;
  max-width: 22ch;
}

/* ---------- Cards de produto ---------- */

.prod-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.8rem 1.7rem 1.6rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.prod-card:hover {
  transform: translateY(-3px);
  border-color: #c3cbf0;
  box-shadow: 0 2px 4px rgba(20,24,45,0.05), 0 22px 40px -24px rgba(28,43,107,0.4);
}

.prod-glyph { width: 46px; height: 46px; margin-bottom: 1.1rem; }

.prod-kind {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}

.prod-card h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.prod-card p { color: var(--ink-soft); font-size: 0.96rem; margin-bottom: 1.2rem; }

.prod-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.prod-chip {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  color: var(--accent-ink);
  background: var(--accent-soft);
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
}

/* ---------- Ícones ---------- */

.icon-tile {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--accent-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.05rem;
  transition: background 0.15s ease;
}

.icon-tile svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--accent-ink);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.15s ease;
}

.card:hover .icon-tile { background: var(--accent); }
.card:hover .icon-tile svg { stroke: #fff; }

/* ---------- Textura de pontos ---------- */

.dotted { position: relative; }
.dotted::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #c6cee9 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  opacity: 0.75;
  pointer-events: none;
}
.dotted > * { position: relative; z-index: 1; }

/* ---------- Painel de chamada final ---------- */

.cta-panel {
  background: linear-gradient(180deg, var(--surface-2), var(--accent-soft));
  border: 1px solid #d8ddf5;
  border-radius: 20px;
  padding: 3.4rem 2rem;
  text-align: center;
}

.cta-panel h2 { font-size: clamp(1.7rem, 3.6vw, 2.3rem); }
.cta-panel .lede { color: var(--ink-soft); max-width: 46ch; margin: 0.6rem auto 1.9rem; }

/* ---------- Sections ---------- */

section.block {
  padding: 4.2rem 0;
  border-bottom: 1px solid var(--border);
}

section.block:last-of-type { border-bottom: none; }

.block-head {
  max-width: 62ch;
  margin-bottom: 2.4rem;
}

.block-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); }
.block-head .lede { color: var(--ink-soft); font-size: 1.05rem; }

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

/* ---------- Cards / grids ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}

.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* três colunas fixas — para conjuntos de 3 ou 6 itens */
.grid-fixed3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .grid-fixed3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-fixed3 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.6rem 1.7rem;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: #c3cbf0;
  box-shadow: 0 2px 4px rgba(20,24,45,0.05), 0 22px 40px -24px rgba(28,43,107,0.4);
}

.card .num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  color: var(--accent-ink);
  background: var(--accent-soft);
  display: inline-flex;
  width: 1.9rem;
  height: 1.9rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 0.9rem;
}

.card h3 { font-size: 1.12rem; margin-bottom: 0.5rem; }
.card p { color: var(--ink-soft); font-size: 0.96rem; margin-bottom: 0; }
.card p + p { margin-top: 0.6rem; }

.card a.card-link {
  display: inline-block;
  margin-top: 0.9rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-ink);
}

/* ---------- Differentiator ---------- */

.diff-block {
  background: var(--accent-ink);
  color: #eef0fa;
  border-radius: 18px;
  padding: 3rem 2.4rem;
}

.diff-block .eyebrow { color: #9aa6f2; }
.diff-block h2 { color: #fff; font-size: clamp(1.5rem, 3.2vw, 2rem); }
.diff-block p { color: #c3caf0; font-size: 1.05rem; max-width: 62ch; }
.diff-block strong { color: #fff; }

/* ---------- Contact cards ---------- */

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow);
}
.contact-card .role {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  margin-bottom: 0.5rem;
  display: block;
}
.contact-card h3 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.contact-card .phone { font-size: 1rem; margin-bottom: 0.9rem; color: var(--ink-soft); }

/* ---------- Form ---------- */

form.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 560px;
}

.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: 0.88rem; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}
.field textarea { min-height: 130px; resize: vertical; }

/* ---------- WhatsApp floating button ---------- */

.wa-float {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--accent);
  color: #fff;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 10px 24px -8px rgba(61,90,255,0.5);
}
.wa-float:hover { background: var(--accent-ink); }
.wa-float svg { width: 18px; height: 18px; flex: none; }

/* ---------- Footer ---------- */

footer.site {
  background: var(--accent-ink);
  color: #b6bce0;
  padding: 3.4rem 0 2.2rem;
  margin-top: 2rem;
}

footer.site .foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.4rem;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid #33417d;
}

footer.site .wordmark .g { color: #fff; }
footer.site .wordmark .two { color: #9aa6f2; }
footer.site .wordmark .tag { color: #7c8299; }
footer.site h4 {
  color: #fff;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin: 0 0 0.9rem;
}
footer.site a { color: #b7bec9; text-decoration: none; }
footer.site a:hover { color: #fff; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; font-size: 0.92rem; }
footer.site p { font-size: 0.92rem; margin: 0 0 0.4rem; }

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  padding-top: 1.4rem;
  font-size: 0.8rem;
  color: #8890c4;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .hero-art { max-width: 460px; }
  .stat-row { grid-template-columns: repeat(2, 1fr); gap: 1.8rem 1.4rem; }
}

@media (max-width: 820px) {
  nav.main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  body.nav-open nav.main-nav {
    display: flex;
    position: fixed;
    inset: 64px 0 0 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.5rem;
    gap: 1.4rem;
    z-index: 39;
  }
  body.nav-open .menu-toggle span { transform: rotate(45deg); }
  body.nav-open .menu-toggle span::before { transform: rotate(0deg) translateY(0); top: 0; }
  body.nav-open .menu-toggle span::after { opacity: 0; }
  footer.site .foot-grid { grid-template-columns: 1fr; gap: 1.8rem; }
}
