:root {
  --blue: #00568c;
  --blue-deep: #0f1f2e;
  --blue-soft: #587a9d;
  --green: #39b54a;
  --green-bright: #79d34b;
  --ink: #0d2338;
  --text: #223446;
  --muted: #5f7388;
  --line: #dce6ef;
  --white: #ffffff;
  --surface: #f5f9fc;
  --shadow: 0 18px 40px rgba(0, 44, 78, 0.08);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(57,181,74,0.16), transparent 18%),
    radial-gradient(circle at top left, rgba(0,86,140,0.16), transparent 22%),
    linear-gradient(180deg, #f8fbfe 0%, #eef5fa 100%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.page-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 22px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,86,140,0.08);
  border-radius: 22px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.brand img,
.footer-brand img {
  width: 150px;
  height: auto;
}

.nav {
  display: flex;
  gap: 18px;
  font-weight: 600;
  color: var(--blue);
}

.nav a { position: relative; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav a:hover::after { transform: scaleX(1); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 86, 140, 0.16);
}

.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--green-bright));
  color: var(--white);
}

.btn-secondary,
.btn-outline {
  background: var(--white);
  border: 1px solid rgba(0, 86, 140, 0.18);
  color: var(--blue);
}

.btn-full { width: 100%; }

.hero {
  display: grid;
  grid-template-columns: 1.15fr .95fr;
  gap: 36px;
  align-items: center;
  padding: 58px 0 34px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: .9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--green);
}

.hero h1,
.section h2,
.section-heading h2,
.highlight-panel h2,
.cta-copy h2 {
  margin: 0;
  color: var(--ink);
  line-height: 1.05;
}

.hero h1 {
  font-size: clamp(2.6rem, 4vw, 4.5rem);
  max-width: 11ch;
}

.hero h1 span {
  color: var(--green);
}

.lead {
  margin: 22px 0 0;
  font-size: 1.06rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 64ch;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 24px;
}

.meta-card,
.impact-card,
.gallery-card,
.module-card,
.audience-card,
.cta-box,
.highlight-panel,
.diagram-panel,
.image-panel,
.visual-card {
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(0,86,140,0.08);
  box-shadow: var(--shadow);
}

.meta-card {
  padding: 18px 18px;
  border-radius: 18px;
}

.meta-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--blue);
  font-size: .95rem;
}

.meta-card span {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -10px 8% auto auto;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(57,181,74,0.26), transparent 70%);
  filter: blur(12px);
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.visual-card {
  position: relative;
  min-height: 220px;
  border-radius: 26px;
  padding: 24px;
  overflow: hidden;
}

.visual-card::after {
  content: "";
  position: absolute;
  inset: auto -30px -34px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,86,140,0.12), rgba(57,181,74,0.16));
}

.visual-card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(0,86,140,0.1), rgba(57,181,74,0.14));
  font-size: 1.6rem;
}

.visual-card h3 { margin: 0 0 10px; color: var(--ink); font-size: 1.18rem; }
.visual-card p { margin: 0; color: var(--muted); line-height: 1.6; }
.card-b, .card-d { transform: translateY(24px); }

.impact-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 16px 0 10px;
}

.impact-card {
  border-radius: 22px;
  padding: 24px 22px;
  text-align: center;
}

.impact-number {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: clamp(1.55rem, 2vw, 2.2rem);
  font-weight: 800;
}

.impact-label {
  color: var(--blue);
  line-height: 1.45;
  font-weight: 600;
}

.section {
  padding: 74px 0 8px;
}

.two-col,
.split-highlight,
.cta-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.section p,
.section-heading p,
.feature-list li,
.audience-card p,
.cta-copy p,
.contact-item a,
.contact-item strong,
.footer-copy p {
  line-height: 1.8;
}

.section > div > p:not(.eyebrow) {
  color: var(--muted);
  margin-top: 16px;
}

.image-panel {
  position: relative;
  min-height: 380px;
  border-radius: 30px;
  overflow: hidden;
  background:
    linear-gradient(140deg, rgba(15,31,46,0.96), rgba(0,86,140,0.92) 54%, rgba(57,181,74,0.88)),
    url('assets/brand-board.png') center / cover no-repeat;
}

.image-panel::before,
.cta-section::before {
  content: "";
  position: absolute;
}

.image-panel::before {
  inset: auto -80px -90px auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 65%);
}

.panel-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 14px;
  padding: 30px;
  background: linear-gradient(180deg, rgba(6,24,41,0.2), rgba(6,24,41,0.35));
}

.floating-tag {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--white);
  font-weight: 700;
  backdrop-filter: blur(6px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}
.section-heading.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-heading p:not(.eyebrow) { color: var(--muted); margin-top: 14px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gallery-card {
  min-height: 230px;
  padding: 26px;
  border-radius: 26px;
  position: relative;
  overflow: hidden;
}

.gallery-card::before {
  content: "";
  position: absolute;
  right: -20px;
  top: -26px;
  width: 138px;
  height: 138px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,86,140,0.12), rgba(57,181,74,0.16));
}

.gallery-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: var(--white);
  font-size: 1.5rem;
}

.gallery-card h3 { margin: 0 0 10px; color: var(--ink); }
.gallery-card p { margin: 0; color: var(--muted); }

.modules-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.module-card {
  position: relative;
  min-height: 240px;
  padding: 28px 26px 26px;
  border-radius: 26px;
  overflow: hidden;
}

.module-card::before {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -48px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(57,181,74,0.08), rgba(0,86,140,0.14));
}

.module-no {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: var(--white);
  font-weight: 800;
  letter-spacing: .06em;
}

.module-card h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 1.18rem;
}

.module-card p { margin: 0; color: var(--muted); }

.highlight-panel,
.diagram-panel,
.cta-box {
  border-radius: 30px;
  padding: 34px 32px;
}

.feature-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  color: var(--muted);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--green));
}

.diagram-panel {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  background:
    linear-gradient(180deg, rgba(245,249,252,0.85), rgba(231,245,239,0.9));
}

.diagram-node {
  padding: 16px 18px;
  border-radius: 999px;
  width: fit-content;
  font-weight: 800;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--green));
}

.diagram-node:nth-of-type(3), .diagram-node:nth-of-type(7) { align-self: center; }
.diagram-node:nth-of-type(5), .diagram-node:nth-of-type(9) { align-self: flex-end; }

.diagram-line {
  width: 4px;
  height: 28px;
  margin-left: 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(0,86,140,0.25), rgba(57,181,74,0.4));
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.audience-card {
  padding: 28px 24px;
  border-radius: 24px;
  text-align: center;
}

.audience-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 18px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(0,86,140,0.1), rgba(57,181,74,0.16));
  font-size: 1.8rem;
}

.audience-card h3 { margin: 0 0 10px; color: var(--ink); }
.audience-card p { margin: 0; color: var(--muted); }

.cta-section {
  position: relative;
  padding: 82px 0 40px;
}

.cta-section::before {
  inset: 52px -60px 0 auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(57,181,74,0.18), transparent 70%);
  z-index: -1;
}

.cta-box {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-item {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.contact-item:last-of-type { border-bottom: 0; padding-bottom: 0; }
.contact-item strong { display: block; color: var(--blue); }
.contact-item a { color: var(--green); font-weight: 700; }

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 50px;
  padding: 24px 28px;
  border-radius: 26px;
  background: linear-gradient(90deg, rgba(0,86,140,0.95), rgba(57,181,74,0.95));
  color: var(--white);
}

.footer-copy p { margin: 0; }

@media (max-width: 1080px) {
  .hero,
  .two-col,
  .split-highlight,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .hero h1 { max-width: 100%; }
  .impact-strip,
  .gallery-grid,
  .audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 860px) {
  .topbar {
    flex-wrap: wrap;
    justify-content: center;
  }
  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  .hero-meta,
  .impact-strip,
  .gallery-grid,
  .audience-grid,
  .visual-grid {
    grid-template-columns: 1fr;
  }
  .card-b, .card-d { transform: none; }
}

@media (max-width: 560px) {
  .page-shell { width: min(100% - 18px, 100%); }
  .topbar { padding: 16px 14px; border-radius: 18px; top: 8px; }
  .brand img, .footer-brand img { width: 120px; }
  .hero { padding-top: 40px; gap: 24px; }
  .hero h1 { font-size: 2.25rem; }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
  .section { padding-top: 56px; }
  .image-panel, .diagram-panel { min-height: 300px; }
  .footer { flex-direction: column; text-align: center; }
}


/* Correções finais — seção visual e jornada técnica */
.image-panel-main {
  min-height: 420px;
  background:
    radial-gradient(circle at 12% 16%, rgba(255,255,255,0.16), transparent 24%),
    radial-gradient(circle at 88% 82%, rgba(57,181,74,0.28), transparent 32%),
    linear-gradient(135deg, #0f1f2e 0%, #00568c 54%, #39b54a 100%);
  padding: 28px;
}

.image-panel-main::before {
  display: none;
}

.strategy-card-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  height: 100%;
}

.strategy-card-grid article {
  min-height: 168px;
  padding: 22px;
  border-radius: 22px;
  background: rgba(255,255,255,0.13);
  border: 1px solid rgba(255,255,255,0.22);
  color: #ffffff;
  backdrop-filter: blur(8px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.12);
}

.strategy-card-grid span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.18);
  font-weight: 800;
}

.strategy-card-grid strong {
  display: block;
  font-size: 1.18rem;
  margin-bottom: 8px;
}

.strategy-card-grid p {
  margin: 0;
  color: rgba(255,255,255,0.84);
  line-height: 1.55;
}

.diagram-panel {
  min-height: auto;
  gap: 10px;
  background:
    radial-gradient(circle at top left, rgba(0,86,140,0.08), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(239,248,242,0.98));
  padding: 30px;
}

.flow-step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(0,86,140,0.09);
  box-shadow: 0 10px 24px rgba(0, 44, 78, 0.06);
}

.flow-step span {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #ffffff;
  font-weight: 800;
}

.flow-step strong {
  display: block;
  color: var(--ink);
  font-size: 1.02rem;
  margin-bottom: 4px;
}

.flow-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: .94rem;
}

.flow-arrow {
  text-align: center;
  color: var(--green);
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1;
}

.diagram-node,
.diagram-line {
  display: none;
}

@media (max-width: 640px) {
  .strategy-card-grid {
    grid-template-columns: 1fr;
  }
  .image-panel-main {
    min-height: auto;
  }
  .flow-step {
    grid-template-columns: 46px 1fr;
    padding: 15px;
  }
  .flow-step span {
    width: 46px;
    height: 46px;
  }
}


/* Seção adicional — aplicativo de descrição de cargos */
.app-section {
  padding-top: 74px;
}

.app-panel {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 88% 18%, rgba(57,181,74,0.18), transparent 26%),
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(238,247,252,0.98));
  border: 1px solid rgba(0,86,140,0.09);
  box-shadow: var(--shadow);
}

.app-copy h2 {
  margin: 0;
  color: var(--ink);
  line-height: 1.08;
}

.app-copy p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.8;
}

.app-visual {
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.15), transparent 28%),
    linear-gradient(135deg, var(--blue-deep), var(--blue) 58%, var(--green));
  overflow: hidden;
}

.app-window {
  width: min(420px, 92%);
  padding: 18px;
  border-radius: 24px;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(255,255,255,0.24);
  box-shadow: 0 20px 40px rgba(0,0,0,0.22);
}

.app-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.app-bar span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  opacity: .9;
}

.app-row {
  padding: 14px;
  margin-bottom: 12px;
  border-radius: 16px;
  background: #f3f8fb;
  border: 1px solid rgba(0,86,140,0.08);
}

.app-row strong {
  display: block;
  color: var(--blue);
  font-size: .92rem;
  margin-bottom: 10px;
}

.app-row div {
  width: 100%;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0,86,140,0.18), rgba(57,181,74,0.22));
}

.app-button {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 999px;
  text-align: center;
  color: #ffffff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--green));
}

@media (max-width: 1080px) {
  .app-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .hero-meta {
    grid-template-columns: 1fr;
  }
}
