:root {
  --bg: #ffffff;
  --bg-soft: #ffffff;
  --bg-alt: #f5f6f8;
  --ink: #071d34;
  --ink-2: #0d2a48;
  --muted: #5f6f82;
  --line: rgba(7, 29, 52, .10);
  --primary: #071d34;
  --primary-2: #0d2a48;
  --accent: #e30613;
  --accent-soft: rgba(227, 6, 19, .09);
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(7, 29, 52, .08);
  --radius: 28px;
  --radius-sm: 16px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img, svg, iframe { max-width: 100%; }
ul { padding-left: 1.1rem; margin: 0; }
li + li { margin-top: .65rem; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.section-pad { padding: 104px 0; }
.section-pad.compact { padding: 72px 0; }
.alt { background: var(--bg-alt); }

.site-header {
  position: fixed;
  z-index: 30;
  inset: 0 0 auto 0;
  padding: 18px 0;
  transition: .25s ease;
}

.site-header.is-scrolled,
.site-header.solid {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; }
.brand img {
  height: 58px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 650;
  color: var(--ink-2);
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  transition: .2s ease;
}

.site-nav a:hover { background: #f2f3f5; }
.site-nav .nav-cta {
  margin-left: 8px;
  color: var(--white);
  background: var(--primary);
}
.site-nav .nav-cta:hover { background: #c80510; }

.nav-toggle {
  display: none;
  border: 0;
  background: var(--white);
  border-radius: 12px;
  width: 44px;
  height: 44px;
  box-shadow: 0 8px 24px rgba(7,29,52,.08);
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--primary);
  margin: 5px auto;
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding-top: 150px;
}

.hero:before,
.hero:after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}
.hero:before {
  width: 860px;
  height: 860px;
  right: -240px;
  top: -210px;
  background: radial-gradient(circle, rgba(227,6,19,.11), rgba(227,6,19,0) 60%);
}
.hero:after {
  width: 1060px;
  height: 520px;
  right: -260px;
  bottom: -190px;
  background: var(--primary);
  transform: rotate(-8deg);
  border-radius: 60% 0 0 0;
  opacity: .98;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr .92fr;
  gap: 70px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .78rem;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  font-size: clamp(3.1rem, 7vw, 6.6rem);
  line-height: .92;
  letter-spacing: -.07em;
  margin-bottom: 28px;
}
h1 span { display: block; color: var(--primary-2); }
h2 {
  font-size: clamp(2.2rem, 4.4vw, 4.5rem);
  line-height: 1;
  letter-spacing: -.055em;
  margin-bottom: 22px;
}
h3 { font-size: 1.2rem; margin-bottom: 10px; }
.lead {
  max-width: 640px;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--muted);
  margin-bottom: 34px;
}

.hero-actions, .card-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: .2s ease;
}
.btn.primary { color: var(--white); background: var(--accent); }
.btn.primary:hover { background: var(--primary); transform: translateY(-2px); }
.btn.ghost { color: var(--ink); background: var(--white); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

.hero-visual { position: relative; z-index: 2; }
.curve-card {
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 38px;
  padding: 34px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.curve-card:before {
  content: "";
  position: absolute;
  inset: auto -60px -120px auto;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(7,29,52,.12), transparent 62%);
}
.chart-bars {
  position: absolute;
  inset: 58px 72px 86px 72px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 14px;
  opacity: .36;
}
.chart-bars i {
  width: 32px;
  height: var(--h);
  border-radius: 8px 8px 0 0;
  background: linear-gradient(to top, rgba(7,29,52,.12), rgba(7,29,52,.02));
}
.curve-card svg { position: relative; z-index: 1; width: 100%; height: auto; }
.curve-card .grid {
  stroke: rgba(7,29,52,.10);
  stroke-width: 1;
  fill: none;
  stroke-dasharray: 4 8;
}
.curve-card .curve-soft { stroke: rgba(7,29,52,.22); stroke-width: 9; fill: none; }
.curve-card .curve-main { stroke: var(--accent); stroke-width: 5; fill: none; stroke-linecap: round; }
.curve-card .trend { stroke: rgba(7,29,52,.42); stroke-width: 2.5; fill: none; }
.curve-card circle { fill: var(--primary); opacity: .72; }
.metric-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 16px;
}
.metric-strip div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.74);
}
.metric-strip strong { display: block; font-size: 1.05rem; }
.metric-strip span { color: var(--muted); font-size: .92rem; }

.split {
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: 80px;
  align-items: start;
}
.text-stack {
  font-size: 1.12rem;
  color: var(--muted);
}
.text-stack p { margin-bottom: 18px; }

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; }

.journey {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.journey article {
  position: relative;
  min-height: 230px;
  padding: 24px;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(7,29,52,.06);
}
.journey article:after {
  content: "";
  position: absolute;
  left: 24px;
  bottom: 0;
  width: 44px;
  height: 4px;
  background: var(--accent);
  border-radius: 8px 8px 0 0;
}
.journey span {
  display: block;
  color: var(--accent);
  font-size: .8rem;
  font-weight: 900;
  margin-bottom: 22px;
}
.journey p { color: var(--muted); font-size: .95rem; }

.cards.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.solution-card {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 46px rgba(7,29,52,.07);
}
.solution-card.featured {
  background: #f7f8fa;
  color: var(--ink);
  border-color: rgba(227,6,19,.22);
  transform: translateY(-8px);
}
.solution-card.featured li, .solution-card.featured p { color: var(--muted); }
.card-icon {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: var(--accent);
  background: var(--accent-soft);
  font-weight: 900;
  margin-bottom: 24px;
}
.solution-card.featured .card-icon { background: var(--accent-soft); color: var(--accent); }
.solution-card li { color: var(--muted); }

.portfolio-band {
  background: #f5f6f8;
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 56px;
  align-items: center;
}
.portfolio-grid p { color: var(--muted); max-width: 560px; }
.demo-links { display: grid; gap: 18px; }
.demo-links a {
  display: block;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  transition: .2s ease;
}
.demo-links a:hover { background: #eef0f3; transform: translateY(-2px); }
.demo-links strong { display: block; font-size: 1.25rem; margin-bottom: 8px; }
.demo-links span { color: var(--muted); }

.people-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.people-grid article {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}
.people-grid .role {
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 14px;
}
.people-grid p:not(.role) { color: var(--muted); }

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 44px;
  border-radius: 34px;
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.contact-card p:not(.eyebrow) { color: var(--muted); margin-bottom: 0; }

.site-footer {
  padding: 32px 0;
  color: var(--muted);
  background: #f5f6f8;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.footer-inner img {
  height: 50px;
  width: auto;
}

.page-hero {
  padding-top: 160px;
  background: linear-gradient(180deg, #f5f6f8, #ffffff 72%);
}
.narrow { max-width: 850px; }
.breadcrumb { color: var(--muted); margin-bottom: 26px; display: inline-flex; }
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.dashboard-card {
  display: grid;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(7,29,52,.08);
}
.dashboard-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #f4f5f7; }
.dashboard-card div { padding: 28px; }
.dashboard-card p { color: var(--muted); }

.embed-hero {
  padding: 140px 0 28px;
  background: var(--bg);
}
.embed-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.embed-title-row h1 { font-size: clamp(2.8rem, 5vw, 5rem); }
.embed-title-row p:not(.eyebrow) { color: var(--muted); }
.embed-shell {
  padding: 0 0 80px;
}
.report-frame-wrap {
  border-radius: 24px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.report-frame {
  display: block;
  width: 100%;
  height: min(82vh, 860px);
  min-height: 620px;
  border: 0;
}
.report-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--white);
}
.embed-note {
  color: var(--muted);
  margin: 18px 0 0;
  font-size: .94rem;
}
.code-inline {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: rgba(7,29,52,.08);
  padding: 2px 6px;
  border-radius: 6px;
}

.reveal { opacity: 0; transform: translateY(22px); transition: .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }

@media (max-width: 980px) {
  .section-pad { padding: 74px 0; }
  .hero { padding-top: 128px; }
  .hero-grid, .split, .portfolio-grid, .contact-card, .embed-title-row {
    grid-template-columns: 1fr;
  }
  .hero-grid, .split, .portfolio-grid { gap: 36px; }
  .journey { grid-template-columns: repeat(2, 1fr); }
  .cards.three, .people-grid, .dashboard-grid { grid-template-columns: 1fr; }
  .solution-card.featured { transform: none; }
  .contact-card, .embed-title-row { display: grid; align-items: start; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, var(--container)); }
  .brand img { height: 44px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: 70px 14px auto 14px;
    display: none;
    padding: 16px;
    border-radius: 20px;
    background: rgba(255,255,255,.96);
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { border-radius: 12px; }
  .site-nav .nav-cta { margin-left: 0; text-align: center; }
  .hero:after { display: none; }
  .curve-card { padding: 20px; border-radius: 26px; }
  .metric-strip { grid-template-columns: 1fr; }
  .journey { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .report-frame { min-height: 520px; }
}


/* Atualização visual: logo oficial e fotos dos executivos */
.brand img {
  max-width: 220px;
  object-fit: contain;
}
.footer-inner img {
  max-width: 210px;
  object-fit: contain;
  border-radius: 6px;
}
.person-card {
  overflow: hidden;
  padding: 0 !important;
}
.person-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #f4f3f0;
}
.person-copy {
  padding: 28px 30px 32px;
}
.person-copy h3 {
  font-size: 1.45rem;
  margin-bottom: 6px;
}
.person-copy p:last-child {
  margin-bottom: 0;
}
@media (max-width: 760px) {
  .brand img { height: 44px; max-width: 168px; }
  .footer-inner img { max-width: 170px; }
  .person-copy { padding: 24px; }
}


/* Ajustes: fotos menores dos executivos e links institucionais */
.person-card {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 24px !important;
}
.person-photo {
  width: 132px;
  height: 132px;
  aspect-ratio: auto;
  border-radius: 24px;
  flex: 0 0 132px;
  box-shadow: 0 14px 34px rgba(7, 29, 52, .12);
}
.person-copy {
  padding: 0;
}
.person-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}
.person-link:hover,
.footer-link:hover {
  text-decoration: underline;
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}
.footer-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .person-card {
    align-items: flex-start;
    gap: 16px;
  }
  .person-photo {
    width: 96px;
    height: 96px;
    flex-basis: 96px;
    border-radius: 18px;
  }
  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .person-card {
    display: grid;
  }
  .person-photo {
    width: 112px;
    height: 112px;
  }
}
