/* Página: Automação de Processos Empresariais */

.atm-page {
  --atm-space: 96px;
  --atm-ink: #0f172a;
  --atm-muted: #475569;
  --atm-line: #e2e8f0;
  --atm-soft: #f4f7fb;
}

.atm-page .eyebrow {
  color: var(--blue-600);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
}

.atm-hero .eyebrow,
.atm-ai .eyebrow,
.atm-cta .eyebrow {
  color: #93c5fd;
}

.atm-section {
  padding: var(--atm-space) 0;
}

.atm-lead {
  max-width: 58ch;
  color: var(--atm-muted);
  margin: 0 0 48px;
  font-size: 16.5px;
  line-height: 1.7;
}

.atm-hero h1,
.atm-section h2,
.atm-cta h2 {
  margin: 10px 0 18px;
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: -0.035em;
  line-height: 1.15;
  font-weight: 800;
}

.atm-hero {
  background:
    radial-gradient(640px 320px at 82% 12%, rgba(37, 99, 235, 0.22), transparent 58%),
    linear-gradient(180deg, #050c18 0%, #071321 100%);
  color: #fff;
  padding: 52px 0 56px;
  overflow: hidden;
}

.atm-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 48px;
  align-items: center;
}

.atm-hero-copy h1 {
  margin: 8px 0 16px;
  font-size: clamp(30px, 4vw, 46px);
  max-width: 16ch;
}

.atm-hero-copy h1 em {
  color: #3b82f6;
  font-style: italic;
  font-weight: 700;
}

.atm-hero-impact {
  margin: 0 0 18px;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.3;
  font-weight: 600;
  color: #bfdbfe;
  font-style: italic;
  max-width: 22ch;
}

.atm-hero-lead {
  margin: 0 0 28px;
  max-width: 46ch;
  color: #cbd5e1;
  font-size: 16.5px;
  line-height: 1.65;
}

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

.atm-hero-visual {
  overflow: hidden;
  border-radius: 18px;
  min-height: 420px;
}

.atm-hero-visual img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: 62% 48%;
  display: block;
  transition: transform 0.5s ease;
}

.atm-hero-visual:hover img {
  transform: scale(1.03);
}

.atm-stats {
  background: #fff;
  border-bottom: 1px solid var(--atm-line);
  padding: 28px 0;
}

.atm-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 32px;
}

.atm-stats article {
  padding: 8px 8px 8px 22px;
  border-left: 3px solid var(--blue-600);
}

.atm-stat-title {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}

.atm-stats p {
  margin: 0;
  color: var(--atm-muted);
  font-size: 14.5px;
}

.atm-problems {
  background: #fff;
  color: var(--atm-ink);
}

.atm-problems h2,
.atm-compare h2,
.atm-scope h2,
.atm-think h2,
.atm-tools h2,
.atm-sectors h2,
.atm-process h2,
.atm-faq-section h2 {
  max-width: 18ch;
  color: var(--navy-900);
}

.atm-problem-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px 32px;
}

.atm-problem-row + .atm-problem-row {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--atm-line);
}

.atm-problem-row h3 {
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.atm-problem-row p {
  margin: 0;
  color: var(--atm-muted);
  font-size: 15px;
  line-height: 1.65;
  max-width: 36ch;
}

.atm-compare {
  background: var(--atm-soft);
  color: var(--atm-ink);
}

.atm-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.atm-flow {
  border-radius: 20px;
  padding: 32px 32px 28px;
  border: 1px solid var(--atm-line);
  min-height: 100%;
}

.atm-flow--before {
  background: #fdf6f5;
  border-color: #f1d5d1;
}

.atm-flow--after {
  background: #f3faf5;
  border-color: #cfe8d6;
}

.atm-flow-label {
  margin: 0 0 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.atm-flow--before .atm-flow-label {
  color: #b4534a;
}

.atm-flow--after .atm-flow-label {
  color: #15803d;
}

.atm-flow ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.atm-flow li {
  position: relative;
  padding: 0 0 28px 0;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.4;
}

.atm-flow li:last-child {
  padding-bottom: 0;
}

.atm-flow li::after {
  content: "↓";
  display: block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 400;
  opacity: 0.55;
}

.atm-flow li:last-child::after {
  display: none;
}

.atm-scope {
  background: #fff;
  color: var(--atm-ink);
}

.atm-scope-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px 40px;
}

.atm-scope-grid h3 {
  margin: 0 0 10px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.atm-scope-grid p {
  margin: 0;
  color: var(--atm-muted);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 36ch;
}

.atm-think {
  background:
    radial-gradient(520px 280px at 12% 20%, rgba(37, 99, 235, 0.1), transparent 60%),
    #071321;
  color: #fff;
}

.atm-think .eyebrow {
  color: #93c5fd;
}

.atm-think h2 {
  color: #fff;
  max-width: 16ch;
}

.atm-think-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 40px 56px;
  align-items: stretch;
}

.atm-think-grid p {
  max-width: 52ch;
  color: #cbd5e1;
  font-size: 16.5px;
  line-height: 1.7;
}

.atm-think-visual {
  position: relative;
  min-height: 420px;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background:
    radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.16), transparent 58%),
    #0b1728;
  overflow: hidden;
}

.atm-nodes {
  position: absolute;
  inset: 0;
}

.atm-node {
  position: absolute;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 12px;
  background: #10203a;
  border: 1px solid rgba(147, 197, 253, 0.28);
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 650;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.atm-node::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: #60a5fa;
}

.atm-node--a { top: 18%; left: 12%; }
.atm-node--b { top: 22%; right: 14%; }
.atm-node--c { top: 48%; left: 38%; }
.atm-node--d { bottom: 22%; left: 16%; }
.atm-node--e { bottom: 18%; right: 12%; }

.atm-think-visual::before {
  content: "";
  position: absolute;
  inset: 18% 16%;
  border: 1px dashed rgba(96, 165, 250, 0.28);
  border-radius: 40% 60% 50% 50%;
  pointer-events: none;
}

.atm-think-steps {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.atm-think-steps li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.atm-think-steps li:first-child {
  border-top: 0;
  padding-top: 0;
}

.atm-think-steps span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #60a5fa;
  padding-top: 3px;
}

.atm-think-steps h3 {
  margin: 0 0 4px;
  font-size: 16px;
  color: #fff;
}

.atm-think-steps p {
  margin: 0;
  font-size: 14.5px !important;
  color: #94a3b8 !important;
}

.atm-think-end {
  margin: 22px 0 0 !important;
  padding-top: 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  color: #93c5fd !important;
  font-size: 12px !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}

.atm-tools {
  background: #fff;
  color: var(--atm-ink);
}

.atm-tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 56px;
  align-items: stretch;
}

.atm-tools h2 {
  max-width: 16ch;
}

.atm-tools p {
  max-width: 52ch;
  color: var(--atm-muted);
  font-size: 16.5px;
  line-height: 1.7;
}

.atm-tools-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--atm-soft);
  border: 1px solid var(--atm-line);
  border-radius: 20px;
  padding: 32px 28px;
}

.atm-tools-panel > p {
  margin: 0 0 22px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-600);
}

.atm-tools-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.atm-tools-panel li {
  position: relative;
  padding: 14px 14px 14px 28px;
  background: #fff;
  border: 1px solid var(--atm-line);
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy-900);
}

.atm-tools-panel li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: #3b82f6;
}

.atm-sectors {
  background: var(--atm-soft);
  color: var(--atm-ink);
}

.atm-sector-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 56px;
}

.atm-sector-list article {
  padding: 26px 0;
  border-top: 1px solid var(--atm-line);
}

.atm-sector-list h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.atm-sector-list p {
  margin: 0;
  max-width: 48ch;
  color: var(--atm-muted);
  font-size: 15px;
  line-height: 1.65;
}

.atm-process {
  background: #fff;
  color: var(--atm-ink);
}

.atm-process-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 40px 64px;
  align-items: start;
}

.atm-process-layout > div p {
  max-width: 40ch;
  color: var(--atm-muted);
  font-size: 16.5px;
  line-height: 1.7;
}

.atm-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid #dbe7f5;
}

.atm-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 8px 16px;
  padding: 0 0 32px 28px;
}

.atm-timeline li:last-child {
  padding-bottom: 0;
}

.atm-timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--blue-600);
}

.atm-timeline span {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--blue-600);
}

.atm-timeline h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.atm-timeline p {
  margin: 0;
  color: var(--atm-muted);
  font-size: 15px;
  line-height: 1.6;
}

.atm-ai {
  background:
    radial-gradient(560px 240px at 88% 0%, rgba(37, 99, 235, 0.18), transparent 55%),
    #050c18;
  color: #fff;
}

.atm-ai h2 {
  color: #fff;
  max-width: 16ch;
}

.atm-ai-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px 56px;
  align-items: stretch;
}

.atm-ai-grid p {
  max-width: 54ch;
  color: #cbd5e1;
  font-size: 16.5px;
  line-height: 1.7;
}

.atm-ai-quote {
  margin-top: 28px !important;
  padding: 22px 24px;
  border-left: 3px solid #3b82f6;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 0 14px 14px 0;
  color: #dbeafe !important;
  font-weight: 650;
  font-size: 18px !important;
  line-height: 1.45 !important;
  max-width: 36ch !important;
}

.atm-ai-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-content: center;
}

.atm-ai-panel span {
  display: grid;
  place-items: center;
  min-height: 88px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: #0b1728;
  color: #93c5fd;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.atm-faq-section {
  background: var(--atm-soft);
  color: var(--atm-ink);
}

.atm-faq-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 48px 64px;
  align-items: start;
}

.atm-faq-intro p {
  max-width: 36ch;
  color: var(--atm-muted);
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
}

.atm-faq {
  display: grid;
  gap: 14px;
}

.atm-faq-item {
  background: #fff;
  border: 1px solid var(--atm-line);
  border-radius: 16px;
  padding: 6px 6px 6px 4px;
}

.atm-faq-item h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 650;
}

.atm-faq-item button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  padding: 16px 48px 16px 18px;
  position: relative;
}

.atm-faq-item button::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--blue-600);
  border-bottom: 2px solid var(--blue-600);
  transform: translateY(-70%) rotate(45deg);
}

.atm-faq-item button[aria-expanded="true"]::after {
  transform: translateY(-20%) rotate(225deg);
}

.atm-faq-item button:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 2px;
  border-radius: 10px;
}

.atm-faq-item [role="region"] {
  padding: 0 18px 18px;
}

.atm-faq-item [role="region"] p {
  margin: 0;
  color: var(--atm-muted);
  font-size: 15px;
  line-height: 1.65;
}

.atm-cta {
  background:
    radial-gradient(560px 240px at 12% 0%, rgba(37, 99, 235, 0.18), transparent 55%),
    #050c18;
  color: #fff;
  padding: var(--atm-space) 0;
}

.atm-cta h2 {
  color: #fff;
  max-width: 16ch;
}

.atm-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 48px;
  align-items: stretch;
}

.atm-cta-inner > div:first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.atm-cta p {
  max-width: 46ch;
  color: #cbd5e1;
  margin: 0 0 24px;
  font-size: 16.5px;
  line-height: 1.7;
}

.atm-cta-panel {
  background: rgba(16, 32, 58, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 20px;
  padding: 28px 26px;
}

.atm-cta-kicker {
  margin: 0 0 18px !important;
  color: #93c5fd !important;
  font-size: 13px !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.45 !important;
}

.atm-cta-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.atm-cta-panel li {
  position: relative;
  padding: 12px 0 12px 22px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  font-weight: 600;
  font-size: 15px;
  color: #e2e8f0;
  line-height: 1.4;
}

.atm-cta-panel li:first-child {
  border-top: 0;
  padding-top: 4px;
}

.atm-cta-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3b82f6;
}

.atm-cta-panel li:first-child::before {
  top: 0.7em;
}

@media (max-width: 1100px) {
  .atm-scope-grid,
  .atm-problem-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 960px) {
  .atm-page {
    --atm-space: 72px;
  }

  .atm-hero-grid,
  .atm-compare-grid,
  .atm-think-grid,
  .atm-tools-grid,
  .atm-process-layout,
  .atm-ai-grid,
  .atm-faq-layout,
  .atm-cta-inner,
  .atm-stats-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .atm-hero-visual,
  .atm-hero-visual img {
    min-height: 0;
    height: 340px;
  }

  .atm-hero-copy h1,
  .atm-section h2,
  .atm-cta h2,
  .atm-think h2,
  .atm-ai h2 {
    max-width: none;
  }

  .atm-think-visual {
    min-height: 280px;
  }

  .atm-sector-list {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 720px) {
  .atm-page {
    --atm-space: 56px;
  }

  .atm-problem-row,
  .atm-scope-grid,
  .atm-tools-panel ul,
  .atm-ai-panel {
    grid-template-columns: 1fr;
  }

  .atm-hero {
    padding: 32px 0 40px;
  }

  .atm-hero-visual img {
    height: 240px;
    object-position: 70% 42%;
  }

  .atm-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .atm-problem-row + .atm-problem-row {
    margin-top: 28px;
    padding-top: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .atm-hero-visual:hover img {
    transform: none;
  }
}
