:root {
  --ink: #0b1a2b;
  --ink-2: #12253b;
  --accent: #00b3a4;
  --accent-dark: #00897d;
  --text: #16232e;
  --text-muted: #57677a;
  --bg: #ffffff;
  --bg-soft: #f4f6f8;
  --line: #e3e7eb;
  --radius: 6px;
  --max-width: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: 2.25rem; color: var(--ink); }
h3 { font-size: 1.4rem; color: var(--ink); }
h4 { font-size: 1.05rem; color: var(--ink); margin-top: 1.2em; }
p { margin: 0 0 1em; color: var(--text-muted); }
a { color: var(--accent-dark); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}
.container.narrow { max-width: 800px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .75rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 1em;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}

/* Título grande com ícone (mesmo tamanho de h2, cor de destaque original) */
.section-title-lg {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--accent-dark);
  margin: 0 0 .6em;
}
.section-title-lg .section-title-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  z-index: 200;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo img { height: 47px; display: block; }
.logo-fallback { font-weight: 800; color: var(--ink); font-size: 1.15rem; }
.main-nav > ul {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  align-items: center;
}
.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: .95rem;
}
.main-nav a:hover { color: var(--accent-dark); }
.nav-cta {
  background: var(--ink);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--accent-dark) !important; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

/* Submenu (dropdown "Soluções") */
.has-submenu { position: relative; }
.has-submenu > a::after {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 6px;
  position: relative;
  top: -2px;
}
.submenu {
  list-style: none;
  margin: 0;
  padding: 8px;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 16px 32px rgba(11,26,43,.12);
  min-width: 240px;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 300;
}
.has-submenu.is-open .submenu { display: flex; }
.has-submenu.is-open > a::after { transform: rotate(225deg); top: 2px; }
.submenu a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  font-weight: 500;
  font-size: .9rem;
  color: var(--text);
}
.submenu a:hover { background: var(--bg-soft); color: var(--accent-dark); }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: .95rem;
  transition: transform .15s ease, background .15s ease;
}
.btn-primary { background: var(--accent); color: #06231f; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); }
.btn-outline { border: 2px solid #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--accent-dark); }

/* ===== Hero (full-bleed photo) ===== */
.hero-photo {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11,26,43,.92) 0%, rgba(11,26,43,.55) 45%, rgba(11,26,43,.25) 100%);
}
.hero-photo .container { position: relative; padding-bottom: 64px; padding-top: 64px; }
.hero-photo h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); max-width: 780px; }
.hero-photo .hero-tagline { color: #d9f3f0; font-size: 1.2rem; font-weight: 600; max-width: 620px; }
.hero-photo .hero-text { color: #e7edf2; max-width: 640px; }
.hero-photo.short { min-height: 380px; }
.hero-photo.slim { min-height: 285px; }

/* ===== Hero slider (banner rotativo da Home) ===== */
.hero-slider { position: relative; min-height: 560px; overflow: hidden; color: #fff; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease;
  pointer-events: none;
}
.hero-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; z-index: 1; }
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11,26,43,.92) 0%, rgba(11,26,43,.55) 45%, rgba(11,26,43,.25) 100%);
}
.hero-slide-content { position: relative; z-index: 2; padding: 64px 0; }
.hero-slide-content h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); max-width: 780px; }
.hero-slide-content .hero-tagline { color: #c9f3ee; font-size: 1.2rem; font-weight: 600; max-width: 620px; }
.hero-slide-content .hero-text { color: rgba(255,255,255,.92); max-width: 640px; }
.hero-slide-title {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 .5em;
  max-width: 780px;
}
.hero-dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 22px;
  z-index: 3;
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
}
.hero-dot.is-active { background: var(--accent); }

/* ===== Intro / narrow text sections ===== */
.intro { padding: 72px 0 16px; }
.section { padding: 72px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ===== Card grid (capacidades / indústrias style) ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 4/5;
  text-decoration: none;
  display: block;
}
.card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.card:hover img { transform: scale(1.06); }
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11,26,43,.92) 0%, rgba(11,26,43,.35) 55%, rgba(11,26,43,0) 100%);
}
.card-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px;
  z-index: 2;
}
.card-body .card-icon { width: 34px; height: 34px; margin-bottom: 10px; filter: brightness(0) invert(1); }
.card-body h3 { color: #fff; font-size: 1.2rem; margin-bottom: .3em; }
.card-body p { color: #d5dee5; font-size: .9rem; margin-bottom: .6em; }
.card-link { color: #9fe8e0; font-weight: 700; font-size: .85rem; display: inline-flex; align-items: center; gap: 6px; }
.card:hover .card-link { text-decoration: underline; }

/* ===== Benefícios list (com ícone) ===== */
.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 0;
  list-style: none;
  margin: 0;
}
.beneficio-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.beneficio-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.beneficio-icon img { width: 22px; height: 22px; display: block; }
.beneficio-texto { margin: 0; padding-top: 6px; font-size: .95rem; color: var(--text); }

/* ===== Integração (dark diagram section) ===== */
.integracao { padding: 80px 0; background: var(--ink); color: #fff; }
.integracao h2 { color: #fff; }
.integracao p { color: #b9c8d3; }
.integracao-lista { list-style: none; padding: 0; margin: 1.6em 0; display: grid; gap: 14px; max-width: 640px; }
.integracao-lista li { background: rgba(255,255,255,.06); padding: 14px 18px; border-radius: var(--radius); color: #dfe9ec; }
.integracao-lista strong { color: #fff; }
.integracao-visual { max-width: 420px; margin: 0 auto 1.2em; }
.integracao-visual img { width: 100%; height: auto; display: block; }

/* ===== Depoimentos (rotativo, 3 por vez) ===== */
.depoimentos { background: var(--bg-soft); }
.depoimentos-slider { position: relative; }
.depoimentos-slide { display: none; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.depoimentos-slide.is-active { display: grid; }
.depoimento-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}
.depoimento-icone {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.depoimento-icone img { width: 28px; height: 28px; display: block; }
.depoimento-texto { font-style: italic; color: var(--text); font-size: .95rem; margin-bottom: 1.2em; }
.depoimento-autor span { display: block; font-size: .82rem; color: var(--text-muted); }
.depoimento-autor span:first-child { font-weight: 700; color: var(--ink); font-size: .9rem; margin-bottom: .2em; }
.depoimento-segmento { color: var(--accent-dark) !important; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .72rem !important; margin-top: .4em; }
.depoimentos-dots { display: flex; justify-content: center; gap: 10px; margin-top: 32px; }
.depoimento-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); border: 2px solid transparent; cursor: pointer; padding: 0; }
.depoimento-dot.is-active { background: var(--accent); }

/* ===== Parcerias ===== */
.parcerias { padding: 64px 0; text-align: center; }
.logos-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 40px; margin-top: 32px; }
.logos-grid img { max-height: 40px; opacity: .75; }

/* ===== Fechamento / CTA banda ===== */
.fechamento { padding: 88px 0; text-align: center; background: var(--bg-soft); }
.fechamento-lead { font-size: 1.3rem; font-weight: 800; color: var(--ink); }
.fechamento-texto { margin-bottom: .3em; }
.fechamento-assinatura {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
  text-align: left;
  font-size: 2.17rem;
  font-style: italic;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--accent-dark);
  margin: 1.8em auto 1.2em;
  max-width: 820px;
}
.fechamento-assinatura .section-title-icon { width: 36px; height: 36px; flex: 0 0 auto; margin-top: 8px; }

/* ===== Contato ===== */
.contato { padding: 72px 0; }
.contato-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contato-dados { list-style: none; padding: 0; margin: 1.4em 0; }
.contato-dados li { margin-bottom: .7em; color: var(--text-muted); }
.contato-dados a { color: var(--accent-dark); }
.mapa { border-radius: var(--radius); overflow: hidden; margin-top: 1.2em; }
.contato-form { display: flex; flex-direction: column; gap: 4px; }
.contato-form label { font-weight: 700; font-size: .85rem; margin-top: 12px; color: var(--ink); }
.contato-form input, .contato-form select, .contato-form textarea {
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px; font-family: inherit; font-size: 1rem;
}
.contato-form button { margin-top: 20px; align-self: flex-start; border: none; cursor: pointer; }
.contato-form button[disabled] { opacity: .6; cursor: default; }
.form-status { margin-top: 10px; font-weight: 600; }
.form-status.is-success { color: #0a7a4d; }
.form-status.is-error { color: #b3261e; }
.captcha-row { display: flex; align-items: center; gap: 12px; }
.captcha-img { border: 1px solid var(--line); border-radius: 4px; cursor: pointer; display: block; }
.captcha-row input { flex: 1; }

/* ===== Cross-link cards (outras capacidades) ===== */
.crosslinks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.crosslink { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-decoration: none; display: block; }
.crosslink:hover { border-color: var(--accent); background: var(--bg-soft); }
.crosslink h4 { margin: 0 0 .3em; color: var(--ink); }
.crosslink p { font-size: .88rem; margin: 0; }

/* ===== Simple content page (privacidade/termos) ===== */
.page-header { background: var(--ink); color: #fff; padding: 64px 0 40px; }
.page-header h1 { color: #fff; margin-bottom: 0; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #b9c8d3; padding: 56px 0 24px; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand .logo-fallback { color: #fff; }
.footer-brand p { color: #93a5b3; max-width: 260px; margin-top: 12px; }
.footer-col h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1em; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: #b9c8d3; text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; color: #7e91a0; font-size: .82rem; }
.footer-bottom a { color: #7e91a0; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .beneficios-grid { grid-template-columns: 1fr; }
  .contato-grid { grid-template-columns: 1fr; }
  .crosslinks { grid-template-columns: 1fr; }
  .depoimentos-slide { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .main-nav > ul {
    display: none;
    position: absolute;
    top: 76px;
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--line);
  }
  .main-nav > ul.open { display: flex; }
  .card-grid, .card-grid.cols-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-photo { min-height: 460px; }
  .submenu {
    position: static;
    box-shadow: none;
    border: none;
    background: var(--bg-soft);
    margin-top: 6px;
    min-width: 0;
    width: 100%;
  }
}
