:root {
  --ink: #102033;
  --muted: #5c6f81;
  --navy: #0a2238;
  --navy-2: #123653;
  --blue: #137ec3;
  --cyan: #16bfd0;
  --green: #1fa565;
  --amber: #f4b735;
  --paper: #f3f8fb;
  --white: #ffffff;
  --line: #d6e5ee;
  --shadow: 0 20px 54px rgba(16, 32, 51, 0.17);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 248, 251, 0.95);
  border-bottom: 1px solid rgba(214, 229, 238, 0.9);
  backdrop-filter: blur(14px);
}

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

.header-inner {
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: contain;
}

.brand span {
  display: grid;
  line-height: 1.02;
}

.brand strong {
  font-size: 1rem;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.main-nav {
  display: flex;
  gap: 24px;
  color: #3c5164;
  font-size: 0.94rem;
  font-weight: 800;
}

.main-nav a:hover {
  color: var(--blue);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 6px;
  padding: 0 20px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta,
.button-primary {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 14px 30px rgba(31, 165, 101, 0.28);
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.36);
}

.button-secondary.dark {
  color: var(--navy);
  background: var(--white);
  border-color: var(--line);
}

.button:hover,
.header-cta:hover {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  padding: 104px 0 74px;
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(10, 34, 56, 0.98) 0%, rgba(10, 34, 56, 0.94) 48%, rgba(18, 54, 83, 0.78) 100%),
    url("assets/automacao-comercial-hero.png");
  background-position: center right;
  background-size: cover;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 410px;
  gap: 54px;
  align-items: center;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 7vw, 6.05rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.4vw, 3.65rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.16;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.83);
  font-size: 1.22rem;
}

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

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.hero-points span {
  min-height: 104px;
  padding: 16px;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
}

.hero-points strong {
  display: block;
  color: var(--white);
  font-size: 1.28rem;
}

.lead-form,
.feature-grid article,
.segment-grid span,
.contact-panel,
.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 28px;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.lead-form h2 {
  margin-bottom: 4px;
  font-size: 1.7rem;
  line-height: 1.12;
}

.form-kicker {
  margin: 0;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: #31485f;
  font-size: 0.9rem;
  font-weight: 900;
}

.lead-form input,
.lead-form select {
  width: 100%;
  min-height: 46px;
  color: var(--ink);
  background: #f8fbfd;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 12px;
  font: inherit;
}

.form-submit {
  width: 100%;
  margin-top: 4px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.trust-band {
  padding: 30px 0;
  color: var(--white);
  background: #071727;
}

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

.trust-grid div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

.trust-grid strong {
  display: block;
  margin-bottom: 6px;
  color: var(--amber);
}

.trust-grid span {
  color: rgba(255, 255, 255, 0.74);
}

.section,
.visual-section,
.faq-section,
.final-cta {
  padding: 88px 0;
}

.section {
  background: var(--paper);
}

.split,
.visual-grid,
.local-grid,
.contact-grid,
.faq-grid {
  display: grid;
  gap: 52px;
  align-items: start;
}

.split {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.copy-block {
  display: grid;
  gap: 14px;
  color: var(--muted);
  font-size: 1.1rem;
}

.copy-block p,
.section-copy,
.feature-grid p,
.benefit-grid p,
.faq-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.benefit-section {
  padding: 42px 0;
  color: var(--white);
  background: var(--navy);
}

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

.benefit-grid article {
  min-height: 210px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

.benefit-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
  color: var(--navy);
  background: var(--amber);
  border-radius: 50%;
  font-weight: 900;
}

.benefit-grid p {
  color: rgba(255, 255, 255, 0.73);
}

.feature-section {
  background: #eff6fa;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

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

.feature-grid article {
  min-height: 218px;
  padding: 24px;
}

.feature-grid article::before {
  content: "";
  display: block;
  width: 42px;
  height: 5px;
  margin-bottom: 22px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--green), var(--cyan));
}

.visual-section {
  color: var(--white);
  background: var(--navy-2);
}

.visual-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
}

.visual-section .section-copy,
.local-section .section-copy {
  margin-bottom: 26px;
}

.visual-section .section-copy {
  color: rgba(255, 255, 255, 0.75);
}

.visual-preview,
.local-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.visual-preview {
  max-height: 520px;
  background: #dceef7;
}

.visual-preview img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center;
}

.segment-section {
  background: var(--white);
}

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

.segment-grid span {
  display: flex;
  align-items: center;
  min-height: 70px;
  padding: 16px;
  font-weight: 900;
}

.local-section {
  background: #eef7f9;
}

.local-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
}

.local-card {
  max-height: 540px;
}

.local-card img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: center;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #344a5d;
  font-weight: 800;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.52em;
  left: 0;
  width: 12px;
  height: 12px;
  background: var(--green);
  border-radius: 50%;
}

.contact-section {
  background: var(--paper);
}

.contact-grid {
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: center;
}

.contact-panel {
  display: grid;
  gap: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
  font-style: normal;
}

.contact-panel img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.contact-panel dl {
  display: grid;
  gap: 16px;
  margin: 0;
}

.contact-panel dt {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-panel dd {
  margin: 0;
  font-weight: 900;
}

.contact-panel a {
  color: var(--blue);
}

.faq-section {
  background: var(--white);
}

.faq-grid {
  grid-template-columns: 380px minmax(0, 1fr);
}

.faq-grid h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 20px 22px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin-top: 12px;
}

.final-cta {
  color: var(--white);
  background: #071727;
  text-align: center;
}

.final-inner {
  max-width: 820px;
}

.final-inner h2 {
  margin-bottom: 26px;
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.72);
  background: #06111f;
}

.footer-brand strong {
  color: var(--white);
}

.footer-brand small {
  color: rgba(255, 255, 255, 0.62);
}

.site-footer p {
  margin: 0;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 16px;
  font-weight: 900;
}

.footer-links a:hover {
  color: var(--white);
}

.floating-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  color: var(--white);
  background: var(--green);
  border-radius: 6px;
  box-shadow: 0 18px 34px rgba(31, 165, 101, 0.36);
  font-weight: 900;
}

@media (max-width: 1000px) {
  .main-nav {
    display: none;
  }

  .hero-grid,
  .split,
  .visual-grid,
  .local-grid,
  .contact-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .lead-form,
  .contact-panel {
    max-width: 590px;
  }

  .hero-points,
  .trust-grid,
  .benefit-grid,
  .feature-grid,
  .segment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1140px);
  }

  .header-inner {
    min-height: 68px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand small {
    display: none;
  }

  .header-cta {
    min-height: 42px;
    padding: 0 14px;
    font-size: 0.9rem;
  }

  .hero {
    padding: 58px 0 52px;
    background-position: center;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  .hero-lead,
  .copy-block,
  .section-copy {
    font-size: 1.02rem;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .hero-points,
  .trust-grid,
  .benefit-grid,
  .feature-grid,
  .segment-grid {
    grid-template-columns: 1fr;
  }

  .lead-form {
    padding: 22px;
  }

  .section,
  .visual-section,
  .faq-section,
  .final-cta {
    padding: 64px 0;
  }

  .visual-preview,
  .local-card {
    max-height: none;
  }

  .visual-preview img,
  .local-card img {
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer p {
    text-align: left;
  }

  .floating-cta {
    display: none;
  }
}
