:root {
  --navy: #071748;
  --blue: #0b2f8f;
  --cyan: #00a7e8;
  --green: #20b038;
  --ink: #102033;
  --muted: #607184;
  --line: #dfe7ef;
  --soft: #f4f8fb;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(7, 23, 72, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

main,
.site-footer {
  max-width: 100vw;
  overflow-x: hidden;
}

.site-header {
  max-width: 100vw;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px clamp(20px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(223, 231, 239, 0.8);
  backdrop-filter: blur(14px);
}

.brand img {
  width: 190px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.94rem;
  font-weight: 700;
  color: #29415b;
}

.nav a,
.site-footer a {
  text-decoration: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 19px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  order: 2;
}

.nav-toggle span {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-item-has-children {
  position: relative;
}

.nav-item-has-children > a::after {
  content: "\25BE";
  margin-left: 5px;
  font-size: 0.7em;
  vertical-align: middle;
}

.nav-submenu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 10px 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 300px;
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: 8px;
  z-index: 30;
}

.nav-submenu a {
  display: block;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 0.88rem;
  color: #29415b;
  white-space: normal;
}

.nav-submenu a:hover {
  background: var(--soft);
}

.nav-submenu .maucun-servicos-todos-link {
  border-top: 1px solid var(--line);
  margin-top: 6px;
  padding-top: 12px;
  font-weight: 800;
}

.nav-item-has-children:hover > .nav-submenu,
.nav-item-has-children:focus-within > .nav-submenu,
.nav-item-has-children.is-open > .nav-submenu {
  display: block;
}

.submenu-toggle {
  display: none;
}

.header-cta {
  padding: 13px 18px;
  border-radius: 6px;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 108px) clamp(20px, 4vw, 56px) 76px;
  background:
    linear-gradient(115deg, rgba(7, 23, 72, 0.98) 0%, rgba(8, 35, 96, 0.94) 55%, rgba(0, 167, 232, 0.72) 100%),
    radial-gradient(circle at 80% 24%, rgba(32, 176, 56, 0.26), transparent 28%),
    var(--navy);
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -34% auto;
  width: min(720px, 74vw);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transform: rotate(18deg);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.58fr);
  gap: clamp(34px, 5vw, 72px);
  max-width: 1180px;
  margin: 0 auto;
  align-items: center;
}

.hero-copy,
.lead-panel,
.section-heading,
.process-copy,
.offer-section > *,
.value-grid > *,
.solution-grid > *,
.benefits-grid > * {
  min-width: 0;
}

.eyebrow,
.form-kicker {
  display: inline-flex;
  align-items: center;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.process-copy h2,
.offer-section h2 {
  margin: 14px 0 0;
  line-height: 1.04;
  letter-spacing: 0;
  max-width: 100%;
  overflow-wrap: break-word;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(2.35rem, 5.5vw, 5.2rem);
}

.hero-subtitle {
  max-width: 660px;
  margin: 24px 0 0;
  color: #d8e8f7;
  font-size: clamp(1.08rem, 1.8vw, 1.34rem);
  line-height: 1.6;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button.primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(32, 176, 56, 0.25);
}

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

.button.full {
  width: 100%;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.trust-row span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #eaf5ff;
  font-size: 0.9rem;
  font-weight: 700;
}

.lead-panel {
  width: 100%;
  padding: 28px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.lead-panel h2 {
  margin: 8px 0 22px;
  font-size: 1.42rem;
  line-height: 1.22;
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: #24384d;
  font-size: 0.88rem;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 14px;
  color: var(--ink);
  background: #fbfdff;
  font: inherit;
}

input:focus,
select:focus {
  outline: 3px solid rgba(0, 167, 232, 0.18);
  border-color: var(--cyan);
}

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

.form-note a {
  color: var(--blue);
  font-weight: 800;
}

section:not(.hero) {
  padding: clamp(64px, 8vw, 104px) clamp(20px, 4vw, 56px);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading h2,
.process-copy h2,
.offer-section h2 {
  color: var(--navy);
  font-size: clamp(2rem, 3.5vw, 3.4rem);
}

.section-heading p,
.process-copy p,
.offer-section p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.value-grid,
.solution-grid,
.benefits-grid {
  display: grid;
  max-width: 1180px;
  margin: 0 auto;
  gap: 18px;
}

.value-grid {
  grid-template-columns: repeat(3, 1fr);
}

.value-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.value-grid strong {
  color: var(--navy);
  font-size: 1.1rem;
}

.value-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.benefits-band {
  background: var(--navy);
  color: var(--white);
}

.section-heading.light h2,
.section-heading.light .eyebrow {
  color: var(--white);
}

.benefits-grid {
  grid-template-columns: repeat(3, 1fr);
}

.benefits-grid div {
  min-height: 118px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: #edf7ff;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.4;
}

.solution-section {
  background: var(--soft);
}

.solution-grid {
  grid-template-columns: repeat(3, 1fr);
}

.solution-card {
  padding: 30px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 14px 36px rgba(16, 32, 51, 0.06);
}

.solution-card.accent {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.card-index {
  color: var(--cyan);
  font-size: 0.84rem;
  font-weight: 800;
}

.solution-card h3 {
  margin: 12px 0 18px;
  font-size: 1.28rem;
}

.solution-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.solution-card li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.5;
}

.solution-card.accent li {
  color: #dcecff;
}

.solution-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.process-section {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  max-width: 1180px;
  margin: 0 auto;
}

.process-list {
  display: grid;
  gap: 14px;
}

.process-list div {
  padding: 22px 24px;
  border-left: 4px solid var(--cyan);
  background: var(--soft);
  border-radius: 0 8px 8px 0;
}

.process-list span {
  color: var(--navy);
  font-weight: 800;
}

.process-list p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.coverage-section {
  background: var(--soft);
}

.coverage-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 980px;
  margin: 0 auto;
}

.coverage-grid span {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(16, 32, 51, 0.05);
}

.offer-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  max-width: 1180px;
  margin: 0 auto 70px;
  padding: 46px !important;
  border-radius: 8px;
  background:
    linear-gradient(115deg, rgba(7, 23, 72, 0.96), rgba(11, 47, 143, 0.9)),
    var(--navy);
  color: var(--white);
}

.offer-section h2,
.offer-section p {
  color: var(--white);
}

.offer-section p {
  max-width: 680px;
}

.site-footer {
  background: #111318;
  color: var(--white);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.28fr 1fr 0.85fr 1.1fr;
  gap: clamp(34px, 6vw, 86px);
  max-width: 1180px;
  margin: 0 auto;
  padding: 52px clamp(20px, 4vw, 56px) 58px;
}

.footer-brand img {
  width: 188px;
}

.footer-brand p {
  max-width: 310px;
  margin: 26px 0 0;
  color: #f0f5ff;
  line-height: 1.7;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: #262930;
  color: #f7fbff;
  transition: background 0.2s ease, transform 0.2s ease;
}

.social-links a:hover {
  background: var(--blue);
  transform: translateY(-2px);
}

.site-footer svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: 0 0 auto;
}

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

.footer-column h2 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.footer-column a,
.footer-column span {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  color: #f0f5ff;
  line-height: 1.55;
  text-decoration: none;
}

.footer-column a:hover {
  color: #8edcff;
}

.contact-column {
  gap: 16px;
}

.contact-column svg {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: #c6d4e5;
}

.footer-bottom {
  display: grid;
  gap: 9px;
  padding: 19px 20px 20px;
  border-top: 1px solid rgba(0, 167, 232, 0.34);
  background:
    linear-gradient(90deg, rgba(7, 23, 72, 0.9), rgba(11, 47, 143, 0.28)),
    #10041e;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: #f7fbff;
  font-size: 0.88rem;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  padding: 14px 18px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  box-shadow: 0 16px 32px rgba(32, 176, 56, 0.32);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    order: 4;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 4px;
    padding-bottom: 8px;
  }

  .nav.is-open {
    display: flex;
  }

  .nav-item-has-children {
    width: 100%;
    position: relative;
  }

  .nav-item-has-children > a {
    display: block;
    padding: 10px 0;
  }

  .nav-item-has-children > a::after {
    content: "";
  }

  .submenu-toggle {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
  }

  .submenu-toggle::after {
    content: "\25BE";
    display: block;
    text-align: center;
    line-height: 40px;
    font-size: 0.85em;
    color: var(--navy);
    transition: transform 0.2s ease;
  }

  .submenu-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
  }

  .nav-submenu {
    display: none;
    position: static;
    box-shadow: none;
    padding: 0 0 6px 16px;
    min-width: 0;
  }

  .nav-item-has-children.is-open > .nav-submenu {
    display: block;
  }

  .nav-submenu a {
    padding: 8px 0;
    font-size: 0.86rem;
  }

  .hero-grid,
  .process-section {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    align-items: start;
  }

  .value-grid,
  .solution-grid,
  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }

  .offer-section {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 38px;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
    padding: 16px 18px;
    gap: 14px;
  }

  .brand img {
    width: 158px;
  }

  .header-cta {
    display: none;
  }

  .nav {
    gap: 14px;
    font-size: 0.86rem;
  }

  .hero {
    padding: 42px 18px 54px;
  }

  .hero-grid,
  .lead-panel,
  .section-heading,
  .value-grid,
  .solution-grid,
  .benefits-grid,
  .process-section {
    width: min(300px, 100%);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero h1 {
    font-size: 1.55rem;
    line-height: 1.12;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .lead-panel {
    padding: 22px;
  }

  .lead-panel h2 {
    font-size: 1.12rem;
  }

  .section-heading h2,
  .process-copy h2,
  .offer-section h2 {
    font-size: 1.42rem;
    line-height: 1.12;
  }

  .form-note {
    font-size: 0.8rem;
  }

  section:not(.hero) {
    padding: 56px 18px;
  }

  .value-grid,
  .solution-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid div {
    min-height: auto;
  }

  .offer-section {
    margin: 0 18px 54px;
    padding: 30px !important;
  }

  .floating-whatsapp {
    left: 18px;
    right: 18px;
    text-align: center;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 42px 24px 44px;
  }

  .footer-brand img {
    width: 176px;
  }

  .footer-brand p {
    margin-top: 20px;
  }

  .footer-bottom {
    padding-bottom: 78px;
  }
}
