/* ==========================================================================
   WEBAGENCY — DESIGN SYSTEM "INSTITUCIONAL & CONFIÁVEL"
   Tema claro marfim · Azul-marinho institucional · Títulos serifados
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Source+Serif+4:opsz,wght@8..60,500;8..60,600;8..60,700&family=JetBrains+Mono:wght@500&display=swap');

:root {
  /* Tipografia */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Base clara */
  --bg: #f7f6f2;
  --bg-light: #f7f6f2;
  --bg-light-alt: #efede6;
  --surface-light: #ffffff;
  --border-light: #e4e1d8;
  --border-strong: #cfcabd;

  /* Texto */
  --text-main: #0b1f3a;
  --text-body: #33415a;
  --text-muted: #56627a;
  --text-dim: #8a93a6;

  /* Marca */
  --navy: #0b1f3a;
  --navy-deep: #071528;
  --navy-soft: #13294b;
  --electric-blue: #1d4ed8;
  --electric-blue-hover: #1e40af;
  --blue-tint: #e8eefc;
  --cyan: #0e7490;
  --success: #15803d;
  --success-tint: #e7f4ec;
  --gold: #b08a3e;

  /* Áreas escuras (seção de contato / rodapé) */
  --dark-text: #ffffff;
  --dark-text-muted: #b7c2d6;
  --dark-text-dim: #8c9bb5;
  --dark-border: rgba(255, 255, 255, 0.12);

  /* Layout */
  --container-max: 1200px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 58, 0.06);
  --shadow-md: 0 8px 24px rgba(11, 31, 58, 0.08);
  --shadow-lg: 0 24px 60px rgba(11, 31, 58, 0.12);
  --transition: all 0.2s ease;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-family: var(--font-sans);
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

h1, h2, h3 { color: var(--text-main); }

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

.serif { font-family: var(--font-serif); }

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

/* ==========================================================================
   BARRA SUPERIOR DE INFORMAÇÕES
   ========================================================================== */
.topbar {
  background: var(--navy);
  color: var(--dark-text-muted);
  font-size: 0.8rem;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  gap: 1rem;
}

.topbar-items {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.topbar a:hover { color: #ffffff; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #0b1f3a;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 1.5rem;
}

.brand-link { display: flex; align-items: center; }

.brand-logo-img {
  height: 50px;
  width: auto;
}

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

.nav-link {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-body);
  position: relative;
  padding: 0.35rem 0;
}

.nav-link:hover, .nav-link.active { color: #ffffff; }

.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--electric-blue);
  border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 0.75rem; }

.btn-header-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  background: transparent;
  border: 1px solid var(--border-strong);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.btn-header-ghost:hover { border-color: var(--navy); background: var(--bg); }

.btn-header-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  background: var(--navy);
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--navy);
  transition: var(--transition);
}

.btn-header-primary:hover { background: var(--electric-blue); border-color: var(--electric-blue); }

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  padding: 0.45rem;
  cursor: pointer;
}

/* ==========================================================================
   BOTÕES & SELOS
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--electric-blue);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--electric-blue);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 6px 18px rgba(29, 78, 216, 0.22);
}

.btn-primary:hover {
  background: var(--electric-blue-hover);
  border-color: var(--electric-blue-hover);
  transform: translateY(-1px);
}

.btn-primary:disabled { opacity: 0.6; cursor: wait; transform: none; }

.btn-secondary-dark,
.btn-secondary-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--surface-light);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.95rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary-dark:hover,
.btn-secondary-light:hover { border-color: var(--navy); transform: translateY(-1px); }

.badge-tech,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--surface-light);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.15);
  flex-shrink: 0;
}

/* ==========================================================================
   HERO (PÁGINAS INTERNAS — CENTRALIZADO)
   ========================================================================== */
.hero-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border-light);
  padding: 5.5rem 0 5rem;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(11, 31, 58, 0.09) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 0%, transparent 75%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.hero-headline {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin: 1.5rem 0 1.4rem;
}

.text-gradient,
.hero-headline .accent {
  color: var(--electric-blue);
}

.hero-subheadline {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 2.25rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   HERO DA HOME (DUAS COLUNAS)
   ========================================================================== */
.home-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border-light);
  padding: 5rem 0 5.5rem;
}

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

.home-hero h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 4.8vw, 3.9rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 1.5rem 0 1.4rem;
}

.home-hero h1 em {
  font-style: italic;
  color: var(--electric-blue);
}

.home-hero-lead {
  font-size: 1.18rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 2.25rem;
}

.home-hero .hero-actions { justify-content: flex-start; }

.hero-assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-light);
  list-style: none;
}

.hero-assurances li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
}

.hero-assurances svg { color: var(--success); flex-shrink: 0; }

/* Documento de proposta (visual do hero) */
.proposal-stack { position: relative; }

.proposal-doc {
  position: relative;
  background: var(--surface-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.proposal-doc::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 18px;
  right: -18px;
  bottom: -18px;
  z-index: -1;
}

.proposal-back {
  position: absolute;
  inset: 22px -18px -22px 18px;
  background: var(--bg-light-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  z-index: 0;
}

.proposal-doc { z-index: 1; }

.proposal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  background: #fbfaf7;
}

.proposal-head-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-main);
}

.proposal-head-sub {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 0.1rem;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--success-tint);
  color: var(--success);
  white-space: nowrap;
}

.proposal-body { padding: 1.5rem; }

.proposal-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}

.proposal-phases { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.5rem; }

.proposal-phase {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--text-main);
  font-weight: 500;
}

.phase-check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--success-tint);
  color: var(--success);
}

.phase-check.pending { background: var(--blue-tint); color: var(--electric-blue); }
.phase-check.todo { background: var(--bg-light-alt); color: var(--text-dim); }

.phase-meta { font-size: 0.78rem; color: var(--text-dim); font-weight: 500; }

.proposal-progress {
  height: 6px;
  background: var(--bg-light-alt);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.proposal-progress span {
  display: block;
  height: 100%;
  width: 58%;
  background: linear-gradient(90deg, var(--electric-blue), var(--navy));
  border-radius: 99px;
}

.proposal-terms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.term-box {
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 0.8rem;
}

.term-box strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--text-main);
}

.term-box span { font-size: 0.75rem; color: var(--text-muted); }

.proposal-float {
  position: absolute;
  left: -2.25rem;
  bottom: -1.75rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--surface-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 0.85rem 1.1rem;
  max-width: 270px;
}

.proposal-float-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: var(--navy);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.proposal-float strong { display: block; font-size: 0.88rem; color: var(--text-main); }
.proposal-float span { font-size: 0.78rem; color: var(--text-muted); }

/* ==========================================================================
   FAIXA DE CLIENTES
   ========================================================================== */
.clients-band {
  background: var(--surface-light);
  border-bottom: 1px solid var(--border-light);
  padding: 2.5rem 0;
}

.clients-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  align-items: center;
}

.clients-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.clients-label strong { color: var(--text-main); display: block; }

.clients-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem 2.5rem;
}

.client-logo {
  height: 40px;
  display: flex;
  align-items: center;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: var(--transition);
}

.client-logo:hover { filter: none; opacity: 1; }
.client-logo img { max-height: 40px; max-width: 120px; width: auto; object-fit: contain; }

/* Compatibilidade (barra antiga) */
.trust-bar { background: var(--surface-light); padding: 2.5rem 0; border-bottom: 1px solid var(--border-light); }

/* ==========================================================================
   SEÇÕES
   ========================================================================== */
.light-section {
  background: var(--bg);
  padding: 6rem 0;
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--electric-blue);
  margin-bottom: 1rem;
}

.section-tag::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--electric-blue);
  border-radius: 2px;
}

.section-heading {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--text-main);
  max-width: 780px;
  margin-bottom: 1.1rem;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 3.25rem;
}

.section-head-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 3.25rem;
}

.section-head-split .section-lead { margin-bottom: 0; }
.section-head-split .section-heading { margin-bottom: 0; }

/* ==========================================================================
   COMPROMISSOS / GARANTIAS
   ========================================================================== */
.commitments {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  background: var(--surface-light);
  overflow: hidden;
}

.commitment {
  padding: 2rem 1.75rem;
  border-right: 1px solid var(--border-light);
}

.commitment:last-child { border-right: none; }

.commitment-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: var(--blue-tint);
  color: var(--electric-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.commitment h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.commitment p { font-size: 0.92rem; color: var(--text-muted); }

/* ==========================================================================
   LISTA EDITORIAL DE SERVIÇOS (HOME)
   ========================================================================== */
.service-rows { border-top: 1px solid var(--border-light); }

.service-row {
  display: grid;
  grid-template-columns: 90px 1.1fr 1fr 180px;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border-light);
  align-items: start;
  transition: background 0.2s ease;
}

.service-row:hover { background: linear-gradient(90deg, transparent, rgba(29, 78, 216, 0.03), transparent); }

.service-row-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--border-strong);
  line-height: 1;
}

.service-row.featured .service-row-num { color: var(--electric-blue); }

.service-row-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--electric-blue);
  background: var(--blue-tint);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.service-row h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

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

.check-list { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }

.check-list li {
  display: flex;
  gap: 0.6rem;
  font-size: 0.94rem;
  color: var(--text-body);
  line-height: 1.5;
}

.check-list svg { color: var(--success); flex-shrink: 0; margin-top: 3px; }

.service-row-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 0.2rem;
  justify-self: end;
}

.service-row-link:hover { color: var(--electric-blue); border-color: var(--electric-blue); gap: 0.65rem; }

/* ==========================================================================
   CARDS DE SERVIÇO (PÁGINAS INTERNAS)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--surface-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.light-section.alt .service-card { background: var(--bg); }

.service-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }

.service-card.highlight { border-color: rgba(29, 78, 216, 0.3); }

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.service-index {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--electric-blue);
  background: var(--blue-tint);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}

.service-icon-box {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: var(--navy);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.service-desc { color: var(--text-muted); font-size: 0.97rem; margin-bottom: 1.5rem; flex-grow: 1; }

.service-features-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.5rem; }

.service-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--text-body);
}

.service-feature-item svg { flex-shrink: 0; margin-top: 3px; color: var(--success); stroke: var(--success); }

.service-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--electric-blue);
}

.service-cta-link:hover { gap: 0.7rem; }

/* ==========================================================================
   CARDS DE RISCO / DIFERENCIAIS (PÁGINAS INTERNAS)
   ========================================================================== */
.risks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.risk-card {
  background: var(--surface-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.light-section.alt .risk-card { background: var(--bg); }

.risk-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.risk-num { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-dim); }

.risk-tag {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #b42318;
  background: #fdecea;
  border: 1px solid #f9d4cf;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.risk-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.risk-problem {
  font-size: 0.93rem;
  color: var(--text-muted);
  padding-bottom: 1.1rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px dashed var(--border-light);
}

.risk-solution { font-size: 0.93rem; color: var(--text-main); }
.risk-solution strong { color: var(--electric-blue); }

/* ==========================================================================
   PROCESSO (LINHA DO TEMPO)
   ========================================================================== */
.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  counter-reset: step;
}

.process-track::before {
  content: '';
  position: absolute;
  top: 23px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--border-strong) 0 6px, transparent 6px 12px);
}

.process-step { position: relative; }

.process-dot {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface-light);
  border: 2px solid var(--navy);
  color: var(--navy);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.process-step:first-child .process-dot { background: var(--navy); color: #ffffff; }

.process-step h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.process-step p { font-size: 0.93rem; color: var(--text-muted); margin-bottom: 1rem; }

.deliverable {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.85rem;
  background: var(--surface-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.7rem 0.85rem;
  color: var(--text-main);
}

.light-section.alt .deliverable { background: var(--bg); }
.deliverable svg { color: var(--electric-blue); flex-shrink: 0; margin-top: 2px; }
.deliverable strong { font-weight: 600; }

/* ==========================================================================
   CASOS DE USO (ABAS)
   ========================================================================== */
.usecase-wrap {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
  align-items: start;
}

.console-tabs,
.usecase-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.console-tab {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  text-align: left;
  padding: 1rem 1.1rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.97rem;
  cursor: pointer;
  transition: var(--transition);
}

.console-tab:hover { background: var(--surface-light); color: var(--text-main); }

.console-tab.active {
  background: var(--surface-light);
  border-color: var(--border-light);
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

.tab-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-light-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.console-tab.active .tab-icon { background: var(--navy); color: #ffffff; }

.console-panel { display: none; }

.console-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.usecase-col { padding: 2rem; }
.usecase-col.before { background: #fbfaf7; border-right: 1px solid var(--border-light); }

.usecase-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.usecase-col.before .usecase-label { color: #b42318; }
.usecase-col.after .usecase-label { color: var(--success); }

.usecase-col h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.usecase-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }

.usecase-col li {
  display: flex;
  gap: 0.6rem;
  font-size: 0.94rem;
  line-height: 1.5;
}

.usecase-col.before li { color: var(--text-muted); }
.usecase-col.after li { color: var(--text-main); }
.usecase-col li svg { flex-shrink: 0; margin-top: 3px; }
.usecase-col.before li svg { color: #c4320a; }
.usecase-col.after li svg { color: var(--success); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.faq-aside {
  position: sticky;
  top: 120px;
}

.faq-aside .section-lead { margin-bottom: 1.75rem; }

.faq-list { border-top: 1px solid var(--border-light); }

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

.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.4rem 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-main);
}

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

.faq-toggle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, background 0.2s ease;
}

.faq-item[open] .faq-toggle { transform: rotate(45deg); background: var(--navy); color: #ffffff; border-color: var(--navy); }

.faq-answer {
  padding: 0 3rem 1.5rem 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* ==========================================================================
   CONTATO (BLOCO AZUL-MARINHO)
   ========================================================================== */
.contact-section-dark {
  background: var(--navy);
  color: var(--dark-text);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.contact-section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 60%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 60%);
  pointer-events: none;
}

.contact-section-dark h2 { color: #ffffff; font-family: var(--font-serif); font-weight: 600; }

.contact-section-dark .badge-tech {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  box-shadow: none;
}

.contact-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4rem;
  align-items: start;
}

.contact-points { list-style: none; display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }

.contact-points li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  color: var(--dark-text-muted);
  font-size: 0.97rem;
}

.contact-points svg { color: #7dd3a8; flex-shrink: 0; margin-top: 3px; }

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--dark-border);
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: #ffffff;
  font-weight: 600;
}

.contact-channel small { display: block; font-weight: 500; font-size: 0.75rem; color: var(--dark-text-dim); text-transform: uppercase; letter-spacing: 0.06em; }

.contact-channel-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--dark-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card {
  background: var(--surface-light);
  color: var(--text-body);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.contact-card-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.contact-card-sub { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 1.75rem; }

/* Formulários */
.form-group { margin-bottom: 1.15rem; }

.form-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.8rem 0.95rem;
  background: #fbfaf7;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-input::placeholder, .form-textarea::placeholder { color: var(--text-dim); }

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--electric-blue);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}

.form-textarea { min-height: 120px; resize: vertical; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-note { font-size: 0.78rem; color: var(--text-dim); text-align: center; margin-top: 0.9rem; }

.form-field-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

/* ==========================================================================
   RODAPÉ
   ========================================================================== */
.site-footer {
  background: var(--navy-deep);
  color: var(--dark-text-muted);
  padding: 4.5rem 0 2rem;
  font-size: 0.92rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-logo { height: 46px; width: auto; filter: brightness(0) invert(1); }

.footer-brand p { margin-top: 1.25rem; max-width: 340px; color: var(--dark-text-dim); line-height: 1.65; }

.footer-col-title {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-links a:hover { color: #ffffff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--dark-border);
  font-size: 0.84rem;
  color: var(--dark-text-dim);
}

.footer-bottom a:hover { color: #ffffff; }

/* ==========================================================================
   ASSISTENTE (DRAWER)
   ========================================================================== */
.assistant-trigger-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--navy);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.3rem;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(11, 31, 58, 0.3);
  transition: var(--transition);
}

.assistant-trigger-fab:hover { background: var(--electric-blue); transform: translateY(-2px); }

.assistant-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 21, 40, 0.45);
  backdrop-filter: blur(3px);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.assistant-drawer-overlay.active { opacity: 1; pointer-events: auto; }

.assistant-drawer {
  position: fixed;
  top: 0;
  right: -480px;
  width: 100%;
  max-width: 440px;
  height: 100vh;
  background: var(--surface-light);
  border-left: 1px solid var(--border-light);
  z-index: 160;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
  box-shadow: var(--shadow-lg);
}

.assistant-drawer.active { right: 0; }

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.4rem;
  border-bottom: 1px solid var(--border-light);
  background: #fbfaf7;
}

.drawer-title { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; color: var(--text-main); }

.drawer-restart {
  background: none;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.drawer-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.3rem;
  border-radius: var(--radius-sm);
}

.drawer-close:hover { background: var(--bg-light-alt); color: var(--text-main); }

.drawer-progress { height: 3px; background: var(--bg-light-alt); }
.drawer-progress div { height: 100%; width: 15%; background: var(--electric-blue); transition: width 0.3s ease; }

.drawer-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  background: var(--bg);
}

.msg-bubble {
  max-width: 88%;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-lg);
  font-size: 0.92rem;
  line-height: 1.55;
}

.msg-bubble.bot {
  align-self: flex-start;
  background: var(--surface-light);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  border-bottom-left-radius: 4px;
}

.msg-bubble.user {
  align-self: flex-end;
  background: var(--navy);
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

.drawer-options { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }

.drawer-opt-btn {
  background: var(--blue-tint);
  border: 1px solid rgba(29, 78, 216, 0.2);
  color: var(--electric-blue);
  font-size: 0.84rem;
  font-weight: 500;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.drawer-opt-btn:hover { background: var(--electric-blue); color: #ffffff; }

.drawer-input-area {
  display: flex;
  gap: 0.6rem;
  padding: 1.1rem;
  border-top: 1px solid var(--border-light);
  background: var(--surface-light);
}

.drawer-input {
  flex: 1;
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: #fbfaf7;
  color: var(--text-main);
  outline: none;
}

.drawer-input:focus { border-color: var(--electric-blue); }

.drawer-send-btn {
  background: var(--electric-blue);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  padding: 0 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.drawer-send-btn:hover { background: var(--electric-blue-hover); }

/* ==========================================================================
   TOAST
   ========================================================================== */
.toast-notice {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(120px);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--navy);
  color: #ffffff;
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.92rem;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.toast-notice.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ==========================================================================
   ANIMAÇÃO DE ENTRADA
   ========================================================================== */
.reveal.reveal-ready { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.reveal-ready.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal.reveal-ready { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 1080px) {
  .home-hero-grid { grid-template-columns: 1fr; gap: 4rem; }
  .proposal-stack { max-width: 560px; margin: 0 auto; width: 100%; }
  .commitments { grid-template-columns: repeat(2, 1fr); }
  .commitment:nth-child(2) { border-right: none; }
  .commitment:nth-child(-n+2) { border-bottom: 1px solid var(--border-light); }
  .service-row { grid-template-columns: 70px 1fr; }
  .service-row .check-list, .service-row-link { grid-column: 2; justify-self: start; }
  .process-track { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .process-track::before { display: none; }
  .usecase-wrap { grid-template-columns: 1fr; }
  .console-tabs { flex-direction: row; overflow-x: auto; }
  .console-tab { width: auto; white-space: nowrap; }
  .faq-grid { grid-template-columns: 1fr; gap: 2rem; }
  .faq-aside { position: static; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .services-grid, .risks-grid { grid-template-columns: 1fr; }
  .clients-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .section-head-split { grid-template-columns: 1fr; gap: 1rem; }
}

@media (max-width: 860px) {
  .topbar { display: none; }
  .site-nav, .btn-header-ghost { display: none; }
  .site-nav.active { display: flex; }
  .mobile-menu-btn { display: block; }
  .header-container { height: 72px; }
  .brand-logo-img { height: 42px; }
}

@media (max-width: 640px) {
  .home-hero, .hero-section { padding: 3.5rem 0; }
  .light-section, .contact-section-dark { padding: 4rem 0; }
  .btn-header-primary span { display: none; }
  .commitments { grid-template-columns: 1fr; }
  .commitment { border-right: none; border-bottom: 1px solid var(--border-light); }
  .commitment:last-child { border-bottom: none; }
  .process-track { grid-template-columns: 1fr; }
  .console-panel.active { grid-template-columns: 1fr; }
  .usecase-col.before { border-right: none; border-bottom: 1px solid var(--border-light); }
  .proposal-terms { grid-template-columns: 1fr 1fr 1fr; gap: 0.5rem; }
  .proposal-float { position: relative; left: 0; bottom: 0; margin-top: 1.25rem; max-width: none; }
  .proposal-back { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .contact-card { padding: 1.75rem; }
  .footer-top { grid-template-columns: 1fr; }
  .faq-answer { padding-right: 0; }
  .assistant-trigger-fab span { display: none; }
  .assistant-trigger-fab { padding: 0.95rem; }
}

/* Navegação acessível e acabamento em telas pequenas. */
[id] { scroll-margin-top: 100px; }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 300; background: var(--navy); color: white; padding: .8rem 1rem; border-radius: 6px; }
.skip-link:focus { top: 1rem; }
button:disabled { cursor: wait; opacity: .65; }
.toast-notice { max-width: calc(100vw - 2rem); width: max-content; }
.proposal-phase { min-width: 0; }
@media (min-width: 861px) and (max-width: 1180px) {
  .site-nav { gap: 1rem; }
  .btn-header-ghost { display: none; }
  .header-container { gap: 1rem; }
}
@media (max-width: 860px) {
  .site-nav.active { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; padding: 1rem 1.5rem 1.5rem; gap: 0; border-bottom: 1px solid var(--border-light); box-shadow: var(--shadow-md); }
  .site-nav .nav-link { padding: .8rem 0; }
}
@media (max-width: 640px) {
  .container { padding-left: 1.25rem; padding-right: 1.25rem; }
  .home-hero h1 { font-size: clamp(2.25rem, 9vw, 3rem); }
  .home-hero-lead { font-size: 1rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions a { justify-content: center; text-align: center; }
  .eyebrow { font-size: .68rem; }
  .proposal-head, .proposal-body { padding: 1.1rem; }
  .proposal-phase { flex-wrap: wrap; }
  .phase-meta { margin-left: 1.6rem; }
  .contact-channel { overflow-wrap: anywhere; }
  .footer-bottom { gap: 1rem; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Identidade institucional: cabeçalho com contraste e seções com ritmo próprio. */
.site-header { border-bottom-color: rgba(255,255,255,.14); }
.topbar { background: #071528; }
.site-header .nav-link { color: #cbd5e1; }
.site-header .nav-link:hover, .site-header .nav-link.active { color: white; }
.site-header .nav-link.active::after { background: #8eafff; }
.site-header .btn-header-ghost { color: white; border-color: #52627a; border-radius: 5px; }
.site-header .btn-header-ghost:hover { background: #203450; border-color: #94a3b8; }
.site-header .btn-header-primary { color: #0b1f3a; background: #fff; border-color: #fff; border-radius: 5px; }
.site-header .btn-header-primary:hover { background: #e5ecf7; }
.site-header .mobile-menu-btn { color: white; }
.brand-logo-img { height: 48px; min-width: 140px; object-fit: contain; }
.hero-grid-bg { display: none; }
.home-hero { background: #f7f6f2; padding: 5.5rem 0 5rem; }
.home-hero h1 { font-size: clamp(2.5rem, 4.4vw, 3.65rem); line-height: 1.12; }
.home-hero h1 em { font-style: normal; }
.home-hero .eyebrow { border: 0; background: transparent; padding: 0; box-shadow: none; letter-spacing: .08em; text-transform: uppercase; font-size: .68rem; }
.home-hero .badge-dot { display: none; }
.home-hero-lead { font-size: 1.08rem; line-height: 1.75; }
.btn-primary, .btn-secondary-light, .btn-secondary-dark { border-radius: 5px; box-shadow: none; }
.proposal-back { display: none; }
.proposal-doc { border-radius: 8px; box-shadow: 0 16px 40px rgba(11,31,58,.07); }
.proposal-float { position: relative; left: auto; bottom: auto; margin: 1rem 0 0; max-width: none; border-radius: 6px; box-shadow: none; }
.clients-band { background: #fff; padding: 2.5rem 0; }
.client-logo { filter: none; opacity: 1; }
.section-tag { letter-spacing: .14em; font-size: .7rem; }
.section-tag::before { width: 32px; background: var(--gold); }
#compromissos { background: #fff; }
#compromissos .section-heading { max-width: 520px; }
.commitments { border-radius: 0; border-left: 0; border-right: 0; }
.commitment { padding: 2rem 1.5rem; }
.commitment-icon { background: transparent; color: var(--navy); border-radius: 0; width: auto; justify-content: flex-start; height: 30px; }
#servicos { background: #ebeef2; }
#servicos .section-heading { max-width: 650px; }
.service-rows { border-top-color: #bcc6d2; }
.service-row { border-bottom-color: #cbd3dd; padding: 2.75rem 0; }
.service-row-num { color: #7b8ca2; font-family: var(--font-sans); font-size: 1rem; padding-top: .3rem; }
.service-row-tag { background: transparent; border-radius: 0; padding: 0; font-size: .65rem; letter-spacing: .1em; }
.service-row h3 { font-family: var(--font-sans); font-size: 1.5rem; letter-spacing: -.04em; }
.service-row-link { padding: .65rem .85rem; border: 1px solid #aab7c8; border-radius: 4px; }
.service-row-link:hover { background: var(--navy); color: #fff; }
#exemplos { background: #fff; }
#processo { background: var(--navy); color: #cbd5e1; border-bottom: 0; }
#processo .section-heading, #processo .process-step h3 { color: #fff; }
#processo .section-tag { color: #a5bfff; }
#processo .section-lead, #processo .process-step p { color: #b7c2d6; }
#processo .process-track::before { background: #3c4c65; }
#processo .process-dot { background: #0b1f3a; color: white; border-color: #5a6c85; }
#processo .deliverable { background: #152e4d; border-color: #314766; color: #e2e8f0; border-radius: 4px; }
#processo .deliverable svg { color: #a5bfff; }
#perguntas { background: #f7f6f2; }
.faq-toggle { border-radius: 4px; }
.contact-card { border-radius: 8px; box-shadow: none; }
@media (max-width: 860px) {
  .site-header .site-nav.active { background: #0b1f3a; border-bottom-color: #314766; }
  .site-header .site-nav .nav-link { border-bottom: 1px solid #293e59; }
}
@media (max-width: 640px) {
  .home-hero { padding: 3.5rem 0; }
  .home-hero h1 { font-size: 2.5rem; }
  .service-row { gap: 1rem; grid-template-columns: 32px 1fr; }
  .brand-logo-img { min-width: 0; height: 42px; }
}

/* Páginas internas: a mesma identidade, com navegação e conteúdo próprios. */
.internal-page .internal-hero { background: #f7f6f2; padding: 5rem 0; }
.internal-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 285px; gap: 5rem; align-items: center; }
.internal-page .hero-content { margin: 0; text-align: left; max-width: 800px; }
.internal-page .hero-headline { font-size: clamp(2.4rem, 4vw, 3.5rem); margin-top: .5rem; }
.internal-page .hero-subheadline { margin: 0 0 2rem; font-size: 1.08rem; line-height: 1.75; max-width: 680px; }
.internal-page .hero-actions { justify-content: flex-start; }
.internal-page .btn-secondary-dark { color: var(--navy); border: 1px solid #aab7c8; background: transparent; }
.internal-page .btn-secondary-dark:hover { background: #e7ebf0; }
.page-overview { border-top: 2px solid var(--navy); padding-top: 1.5rem; }
.overview-label { text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; font-weight: 600; color: var(--text-muted); margin-bottom: 1rem; }
.page-overview nav { display: flex; flex-direction: column; }
.page-overview nav a { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid #d5d8dd; font-size: .88rem; color: var(--navy); }
.page-overview nav a:hover { color: var(--electric-blue); }
.overview-note { font-size: .78rem; line-height: 1.8; color: var(--text-muted); margin-top: 1.5rem; }
.internal-page > .light-section { background: #fff; }
.internal-page > .light-section.alt { background: #ebeef2; }
.internal-page .services-grid { gap: 0 3rem; border-top: 1px solid #cbd3dd; }
.internal-page .service-card { border: 0; border-bottom: 1px solid #cbd3dd; border-radius: 0; padding: 2.5rem 0; background: transparent; }
.internal-page .service-card:hover { transform: none; box-shadow: none; }
.internal-page .service-card-top { margin-bottom: 1.2rem; }
.internal-page .service-index { background: transparent; color: #6e8097; padding: 0; border-radius: 0; font-size: .8rem; }
.internal-page .service-icon-box { background: transparent; color: var(--navy); width: 30px; height: 30px; border-radius: 0; }
.internal-page .service-title { font-family: var(--font-sans); font-size: 1.3rem; letter-spacing: -.025em; }
.internal-page .service-desc { margin-bottom: 1rem; }
.internal-page .service-features-list { margin-bottom: 0; }
.internal-page .risk-card { border-radius: 4px; box-shadow: none; }
.internal-page .risk-header { gap: 1rem; flex-wrap: wrap; align-items: start; }
.internal-page .risk-tag { background: transparent; border: 0; padding: 0; border-radius: 0; color: var(--electric-blue); font-size: .65rem; }
.internal-page > .feature-section { background: var(--navy); color: #cbd5e1; }
.internal-page .feature-section .section-heading, .internal-page .feature-section h3 { color: white; }
.internal-page .feature-section .section-tag { color: #a5bfff; }
.internal-page .feature-section .section-lead { color: #b7c2d6; }
.internal-page .feature-section .risk-card { background: #132d4c; border-color: #344964; }
.internal-page .feature-section .risk-problem { color: #b7c2d6; border-bottom: 1px solid #344964; }
.internal-page .feature-section .risk-solution { color: #e2e8f0; }
.internal-page .feature-section .risk-tag, .internal-page .feature-section .risk-solution strong { color: #aec5ff; }
.internal-page .feature-section .risk-num { color: #acbad0; }
.support-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }
.support-steps article { border-top: 1px solid #50617a; padding-top: 1.25rem; }
.support-steps article > span { color: #a5bfff; font-size: .8rem; }
.support-steps h3 { font-size: 1.15rem; margin: 1rem 0 .6rem; }
.support-steps p { color: #b7c2d6; font-size: .95rem; }
.internal-page .contact-section-dark h2 { font-family: var(--font-serif); font-weight: 600 !important; }
.internal-page .contact-section-dark .badge-tech { background: transparent; padding: 0; border: 0; color: #a5bfff; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.internal-page .contact-section-dark .badge-dot { display: none; }
.team-cta { padding-top: 3rem; }
.page-sobre .service-card { min-height: 230px; }
.inquiry-card { background: #f7f6f2; border: 1px solid #d7dce3; border-top: 3px solid var(--navy); padding: 2.5rem; border-radius: 4px; min-width: 0; }
.page-contato .contact-layout > div { min-width: 0; }
.page-contato .contact-layout a { overflow-wrap: anywhere; }
.page-contato .contact-layout h2 { font-family: var(--font-serif); font-weight: 600 !important; }
@media (max-width: 1080px) {
  .internal-hero-grid { grid-template-columns: minmax(0, 1fr) 240px; gap: 2.5rem; }
  .internal-page .risks-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .internal-hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .internal-page .internal-hero { padding: 3.5rem 0; }
  .internal-page .hero-headline { font-size: clamp(2.2rem, 7vw, 3rem); }
  .internal-page .services-grid, .support-steps { grid-template-columns: 1fr; }
  .page-overview { padding-top: 1rem; }
  .overview-note { display: none; }
  .page-overview nav a { padding: .7rem 0; }
  .internal-page .hero-actions { flex-direction: column; align-items: stretch; }
  .internal-page .hero-actions > * { justify-content: center; }
  .inquiry-card { padding: 1.5rem; }
  .internal-page .contact-section-dark { padding: 4rem 0; }
}

/* Conteúdo de serviços: leitura longa com hierarquia e respiro. */
.content-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 4rem; }
.content-columns article { border-top: 1px solid #cbd3dd; padding-top: 1.4rem; }
.content-columns h3 { font-size: 1.18rem; letter-spacing: -.02em; line-height: 1.4; margin-bottom: .8rem; }
.content-columns p { font-size: .97rem; line-height: 1.85; color: var(--text-muted); max-width: 62ch; }
.content-columns a, .faq-answer a { text-decoration: underline; text-underline-offset: 3px; }
.internal-page .feature-section .content-columns article { border-color: #405675; }
.internal-page .feature-section .content-columns p { color: #c4cede; }
.internal-page > .seo-section:not(.feature-section) { background: #f7f6f2; }
.internal-page > .seo-section:not(.feature-section):nth-of-type(even) { background: #fff; }
.seo-faq .faq-answer { line-height: 1.85; }
.related-services { display: flex; justify-content: center; gap: 1rem 2.5rem; flex-wrap: wrap; padding: 2rem 1.5rem; background: #ebeef2; border-bottom: 1px solid #cbd3dd; font-size: .9rem; }
.related-services > span { color: var(--text-muted); }
.related-services a { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
.related-services a:hover { color: var(--electric-blue); }
@media (max-width: 760px) {
 .content-columns { grid-template-columns: 1fr; gap: 2rem; }
 .related-services { flex-direction: column; }
}

/* Home e Sobre: apresentação editorial e catálogo compartilhado de marcas. */
.home-service-guide { background: #0b1f3a; color: #fff; padding: 2rem; border-top: 3px solid #b08a3e; }
.guide-label { color: #b7c2d6; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.4rem; }
.home-service-guide > a { display: grid; grid-template-columns: 25px 1fr 16px; gap: 1rem; align-items: center; padding: 1.3rem 0; border-top: 1px solid #32445e; }
.home-service-guide > a:hover { color: #b6ccff; }
.guide-index { color: #a9bad1; font-size: .73rem; }
.home-service-guide strong { font-size: 1.05rem; font-weight: 500; display: block; }
.home-service-guide small { color: #b7c2d6; font-size: .8rem; display: block; margin-top: .3rem; }
.guide-note { color: #b7c2d6; font-size: .8rem; margin-top: 1.5rem; }
.home-client-showcase { padding: 3.5rem 0; }
.client-showcase-head { display: flex; gap: 2rem; align-items: end; justify-content: space-between; margin-bottom: 2rem; }
.client-showcase-head h2 { font-family: var(--font-serif); font-size: 1.65rem; line-height: 1.3; font-weight: 500; max-width: 540px; }
.client-showcase-head > a { display: inline-flex; gap: .5rem; align-items: center; font-size: .85rem; white-space: nowrap; border-bottom: 1px solid #9daabc; padding-bottom: .25rem; }
.brand-gallery { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 1px; background: #e1e5ea; border: 1px solid #e1e5ea; }
.brand-gallery-item { min-width: 0; background: #fff; min-height: 135px; display: flex; align-items: center; justify-content: center; padding: 1.4rem; }
.brand-gallery-item img { width: 100%; height: 85px; object-fit: contain; max-width: 165px; }
.home-client-showcase .brand-gallery { grid-template-columns: repeat(7, minmax(0,1fr)); }
.home-client-showcase .brand-gallery-item { min-height: 108px; padding: 1.1rem; }
.home-client-showcase .brand-gallery-item img { height: 65px; }
.home-about-intro { background: #e9edf2; }
.home-about-intro .section-head-split { margin-bottom: 0; align-items: center; }
.home-about-intro p, .about-prose p { color: var(--text-muted); line-height: 1.85; margin-bottom: 1.2rem; }
.text-link { display: inline-flex; align-items: center; gap: .65rem; border-bottom: 1px solid #a5b0bf; padding-bottom: .3rem; font-weight: 500; color: var(--navy); }
.page-sobre .section-head-split { align-items: start; margin-bottom: 0; }
.page-sobre #clientes .section-head-split { margin-bottom: 2.5rem; }
.about-service-list { border-top: 1px solid #b8c2ce; }
.about-service-list > a { display: grid; grid-template-columns: 50px 1fr 30px; gap: 2rem; padding: 2rem 0; border-bottom: 1px solid #cbd3dd; }
.about-service-list > a:hover h3 { color: var(--electric-blue); }
.about-service-list > a > span { color: #677c98; font-size: .85rem; }
.about-service-list h3 { font-size: 1.25rem; letter-spacing: -.02em; margin-bottom: .5rem; }
.about-service-list p { color: var(--text-muted); max-width: 750px; font-size: .96rem; }
.internal-page > .about-next { background: #ebeef2; }
@media (max-width: 1080px) {
 .home-client-showcase .brand-gallery, .brand-gallery { grid-template-columns: repeat(4, minmax(0,1fr)); }
}
@media (max-width: 640px) {
 .home-service-guide { padding: 1.5rem; }
 .home-service-guide > a { gap: .65rem; }
 .home-client-showcase .brand-gallery, .brand-gallery { grid-template-columns: repeat(2, minmax(0,1fr)); }
 .client-showcase-head { flex-direction: column; align-items: start; gap: 1rem; }
 .about-service-list > a { grid-template-columns: 24px 1fr 16px; gap: .75rem; }
 .about-service-list h3 { font-size: 1.1rem; }
}
/* A última linha distribui as marcas sem deixar células vazias. */
.brand-gallery, .home-client-showcase .brand-gallery { display: flex; flex-wrap: wrap; }
.brand-gallery-item { flex: 1 0 calc(20% - 1px); }
.home-client-showcase .brand-gallery-item { flex-basis: calc(14.285% - 1px); }
@media (max-width: 1080px) {
 .brand-gallery-item, .home-client-showcase .brand-gallery-item { flex-basis: calc(25% - 1px); }
}
@media (max-width: 640px) {
 .brand-gallery-item, .home-client-showcase .brand-gallery-item { flex-basis: calc(50% - 1px); }
}

/* Política de privacidade: índice no topo e documento de leitura contínua. */
.privacy-document { max-width: 900px; margin: 0 auto; }
.privacy-chapter { border-top: 1px solid #d7dce3; padding: 2rem 0; }
.privacy-chapter h2 { font-family: var(--font-serif); font-weight: 500 !important; font-size: 1.65rem !important; }
.privacy-chapter p, .privacy-chapter li { line-height: 1.85; }
.page-privacy .privacy-content { padding: 4.5rem 0; }
@media(max-width:640px) { .page-privacy .privacy-content { padding: 3rem 0; } }

/* Carrossel compartilhado de clientes: sete marcas no desktop. */
.brand-carousel { --brands-visible: 7; }
.brand-carousel-viewport { overflow-x: auto; border: 1px solid #e1e5ea; background: #fff; }
.brand-carousel-track { display: flex; flex-wrap: nowrap; }
.brand-carousel-item { flex: 0 0 calc(100% / var(--brands-visible)); min-width: 0; height: 125px; padding: 1.25rem; display: flex; align-items: center; justify-content: center; border-right: 1px solid #e1e5ea; background: #fff; }
.brand-carousel-item img { width: 100%; height: 80px; max-width: 165px; object-fit: contain; }
.brand-carousel.is-ready .brand-carousel-viewport { overflow: hidden; }
.brand-carousel-controls { display: flex; justify-content: flex-end; gap: .5rem; margin-top: .85rem; }
.brand-carousel-controls[hidden] { display: none; }
.brand-carousel-controls button { min-width: 38px; min-height: 36px; border: 1px solid #cbd3dd; background: transparent; border-radius: 4px; color: #33415a; font-size: .78rem; padding: .4rem .7rem; cursor: pointer; }
.brand-carousel-controls button:hover { color: #fff; background: #0b1f3a; border-color: #0b1f3a; }
@media(max-width: 1000px) { .brand-carousel { --brands-visible: 4; } }
@media(max-width: 640px) {
 .brand-carousel { --brands-visible: 2; }
 .brand-carousel-item { height: 115px; padding: 1.1rem; }
}

/* Instrução explícita no campo e revisão editável do assistente. */
.assistant-input-label { display: block; color: #0b1f3a; font-size: .83rem; font-weight: 600; margin-bottom: .65rem; }
.drawer-input-area { display: block; }
.drawer-input { min-width: 0; }
.drawer-input:disabled { background: #edf0f4; color: #56627a; }
.drawer-send-btn:disabled { opacity: .45; cursor: default; }
.assistant-summary { background: #fff; border: 1px solid #dce1e8; padding: 1rem; border-radius: 4px; }
.assistant-summary h3 { font-size: .98rem; margin-bottom: .8rem; }
.assistant-summary p { font-size: .85rem; margin-bottom: .4rem; overflow-wrap: anywhere; color: #33415a; }
.assistant-summary small { display: block; border-top: 1px solid #dce1e8; padding-top: .8rem; margin-top: .8rem; font-size: .75rem; color: #56627a; }

/* Blog: leitura editorial com a identidade institucional. */
.blog-hero,.blog-article-hero{background:#0b1f3a;color:#d6dfed;padding:5rem 0 5.5rem;border-bottom:4px solid #b08a3e}.blog-hero .section-tag,.blog-article-hero .section-tag{color:#c8a15b}.blog-hero h1,.blog-article-hero h1{font-family:var(--font-serif);font-weight:500;color:#fff;font-size:clamp(2.5rem,5vw,4.5rem);line-height:1.13;max-width:930px;margin:1rem 0 1.25rem}.blog-hero p,.blog-article-hero>div>p{font-size:1.08rem;max-width:760px;line-height:1.75}.blog-list-section,.blog-related{padding:4.5rem 0 5.5rem}.blog-list-heading{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;margin-bottom:1.5rem}.blog-list-heading h2,.blog-related h2{font-family:var(--font-serif);font-size:2rem;font-weight:500}.blog-list-heading span{font-size:.86rem;color:#56627a}.blog-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem}.blog-card{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid #dce1e8;border-top:3px solid #b08a3e;padding:1.7rem;min-height:290px}.blog-card-top{display:flex;justify-content:space-between;gap:1rem;color:#56627a;font-size:.72rem;text-transform:uppercase;letter-spacing:.07em;margin-bottom:1.4rem}.blog-card h3{font-family:var(--font-serif);font-weight:500;font-size:1.5rem;line-height:1.35;margin-bottom:.8rem}.blog-card h3 a:hover,.blog-read-more:hover{color:#1d4ed8}.blog-card p{font-size:.91rem;line-height:1.7;margin-bottom:1.3rem;overflow-wrap:anywhere}.blog-read-more{color:#0b1f3a;font-weight:700;font-size:.88rem;margin-top:auto}.blog-pagination{display:flex;justify-content:center;align-items:center;gap:1rem;flex-wrap:wrap;margin-top:2.5rem;font-size:.86rem}.blog-pagination a{padding:.6rem .85rem;border:1px solid #cbd5e1;background:#fff}.blog-empty{max-width:700px;padding:2rem 0}.blog-empty h1,.blog-empty h2{font-family:var(--font-serif);font-weight:500;font-size:2.1rem}.blog-empty p{margin:1rem 0 1.5rem}.blog-breadcrumb{display:flex;gap:.7rem;align-items:center;font-size:.82rem;margin-bottom:1.5rem}.blog-breadcrumb a{text-decoration:underline;text-underline-offset:3px}.blog-article-meta{font-size:.82rem;margin-top:1.7rem;color:#c4cfdf}.blog-article-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:4rem;align-items:start;padding-top:4rem;padding-bottom:5rem}.blog-article-body{font-size:1.04rem;line-height:1.85;min-width:0;overflow-wrap:anywhere}.blog-article-body p,.blog-article-body ul{margin:0 0 1.45rem}.blog-article-body h2,.blog-article-body h3{font-family:var(--font-serif);font-weight:500;line-height:1.25;margin:2.7rem 0 1rem}.blog-article-body h2{font-size:2rem}.blog-article-body h3{font-size:1.5rem}.blog-article-body ul{padding-left:1.5rem}.blog-article-body li{margin:.55rem 0}.blog-article-body a{color:#1d4ed8;text-decoration:underline;text-underline-offset:3px}.blog-article-aside{position:sticky;top:110px;background:#fff;border:1px solid #dce1e8;border-top:3px solid #b08a3e;padding:1.5rem;display:flex;flex-direction:column;gap:.8rem}.blog-article-aside span{font-family:var(--font-serif);font-size:1.3rem;color:#0b1f3a}.blog-article-aside p{font-size:.88rem;line-height:1.65}.blog-article-aside a{font-size:.84rem;color:#1d4ed8;font-weight:600;text-decoration:underline;text-underline-offset:3px}.blog-related{background:#efede6}.blog-related h2{margin-bottom:1.5rem}@media(max-width:900px){.blog-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.blog-article-layout{grid-template-columns:1fr;gap:1.5rem}.blog-article-aside{position:static}}@media(max-width:620px){.blog-hero,.blog-article-hero{padding:3.5rem 0 4rem}.blog-card-grid{grid-template-columns:1fr}.blog-list-section,.blog-related{padding:3rem 0 4rem}.blog-article-layout{padding-top:2.5rem;padding-bottom:3.5rem}.blog-card{min-height:0}}
.blog-card{padding:0;overflow:hidden}.blog-card-content{display:flex;flex:1;flex-direction:column;padding:1.7rem}.blog-card-image{display:block;aspect-ratio:16/9;overflow:hidden;background:#e9edf3}.blog-card-image img{display:block;width:100%;height:100%;object-fit:cover}.blog-article-cover{display:block;width:100%;max-height:540px;object-fit:cover;margin-top:2.5rem;border-radius:3px}
.blog-related .blog-card{padding:1.7rem}
.blog-category-nav{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:2.4rem}.blog-category-nav a{display:inline-flex;align-items:center;border:1px solid #cbd5e1;background:#fff;color:#33415a;padding:.55rem .75rem;font-size:.78rem;line-height:1.35}.blog-category-nav a:hover,.blog-category-nav a[aria-current="page"]{background:#0b1f3a;border-color:#0b1f3a;color:#fff}
