@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/open-sans-latin.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --blue-900: #0a1f4e;
  --blue-800: #0f4098;
  --blue-700: #1659bf;
  --blue-100: #dcecff;
  --gray-050: #f7f9fb;
  --gray-100: #edeff1;
  --gray-200: #d9e0e8;
  --gray-300: #bdc8d6;
  --ink: #172838;
  --muted: #4c5b70;
  --yellow: #fbbc04;
  --white: #ffffff;
  --line: 1px solid var(--gray-200);
  --shell: min(1180px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  overflow-x: clip;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.shell,
.wrap {
  width: var(--shell);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: -64px;
  left: 16px;
  z-index: 20;
  padding: 12px 16px;
  background: var(--white);
  color: var(--blue-900);
  border: 1px solid var(--blue-900);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 31, 78, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.header-line,
.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
  color: var(--yellow);
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.brand img {
  width: 38px;
  height: 38px;
  display: block;
}

.brand span {
  display: grid;
  gap: 2px;
}

.brand small {
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: none;
}

.primary-nav,
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  list-style: none;
}

.primary-nav a,
.nav-links a {
  border-bottom: 1px solid transparent;
  padding: 10px 0;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a[aria-current="page"],
.nav-links a:hover,
.nav-links a:focus-visible {
  border-color: rgba(255, 255, 255, 0.7);
}

.menu-toggle {
  min-height: 44px;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 4px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-weight: 700;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  border-color: var(--yellow);
  color: var(--yellow);
}

.menu-toggle-icon {
  width: 18px;
  height: 12px;
  display: inline-grid;
  align-content: space-between;
  border-top: 2px solid currentColor;
}

.menu-toggle-icon::before,
.menu-toggle-icon::after {
  content: "";
  border-top: 2px solid currentColor;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon {
  align-content: center;
  border-top: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon::before {
  transform: translateY(1px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon::after {
  transform: translateY(-1px) rotate(-45deg);
}

.nav-cta,
.nav-links .button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border: 1px solid var(--yellow);
  color: var(--yellow);
}

.hero {
  min-height: clamp(720px, 82svh, 900px);
  position: relative;
  overflow: hidden;
  background: var(--blue-900);
  border-bottom: 1px solid var(--gray-200);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 31, 78, 0.98) 0%, rgba(10, 31, 78, 0.94) 44%, rgba(10, 31, 78, 0.62) 60%, rgba(10, 31, 78, 0) 82%),
    url("../img/calculo-folha-preview.svg") center / cover no-repeat;
}

.hero-content {
  min-height: inherit;
  position: relative;
  display: grid;
  align-content: center;
  justify-items: start;
  width: var(--shell);
  max-width: 590px;
  margin-left: max(24px, calc((100vw - min(1180px, calc(100vw - 48px))) / 2));
  padding: 74px 0 78px;
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: currentColor;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
}

.hero-brand {
  margin: 28px 0 18px;
  color: var(--yellow);
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 800;
  line-height: 1.1;
}

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

h1 {
  max-width: 610px;
  margin-bottom: 22px;
  font-size: clamp(2.55rem, 4.05vw, 4.35rem);
  font-weight: 800;
  line-height: 1.06;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 32px;
  color: #edf4ff;
  font-size: 1.14rem;
  line-height: 1.7;
}

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

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 0.96rem;
  font-weight: 720;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button-primary {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--blue-900);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ffd154;
  border-color: #ffd154;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.54);
  color: var(--white);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.button-light {
  border-color: var(--gray-300);
  background: var(--white);
  color: var(--blue-900);
}

.hero-register,
.trust-row {
  width: min(100%, 668px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: #edf4ff;
  font-size: 0.92rem;
  line-height: 1.45;
}

.hero-register span,
.trust-row span {
  min-height: 78px;
  display: flex;
  align-items: center;
  padding: 18px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-register span:last-child,
.trust-row span:last-child {
  border-right: 0;
}

.notice-band {
  background: var(--gray-100);
  border-bottom: var(--line);
}

.notice-line {
  min-height: 86px;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
}

.notice-line strong {
  color: var(--blue-800);
  font-size: 1rem;
}

.notice-line span {
  color: var(--ink);
  line-height: 1.55;
}

.intro-band,
.trust-band,
.faq-band,
section {
  background: var(--white);
}

.trust-band {
  border-top: var(--line);
  border-bottom: var(--line);
}

.intro-grid,
.trust-grid,
.faq-grid,
.grid-2 {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(36px, 6vw, 88px);
}

.intro-grid,
.trust-grid,
.faq-grid,
.grid-2 {
  padding: 104px 0;
}

.section-kicker {
  margin-bottom: 18px;
  color: var(--blue-700);
}

h2 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 760;
  line-height: 1.18;
}

h3 {
  margin-bottom: 10px;
  color: var(--blue-900);
  font-size: 1.12rem;
  font-weight: 720;
  line-height: 1.35;
}

p,
li,
dd {
  color: var(--muted);
  line-height: 1.75;
}

p a {
  color: var(--blue-700);
  font-weight: 720;
  border-bottom: 1px solid currentColor;
}

.intro-copy {
  padding-top: 44px;
  border-top: 1px solid var(--blue-700);
}

.process-band,
.audience-band,
.section-soft {
  background: var(--gray-050);
  border-top: var(--line);
  border-bottom: var(--line);
}

.process-band .shell,
.audience-band .shell,
.section-soft .wrap {
  padding: 96px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 54px;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--gray-300);
}

.process-list li {
  min-height: 184px;
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--gray-300);
}

.step-index {
  color: var(--blue-700);
  font-size: 1rem;
  font-weight: 800;
}

.process-list h3 {
  max-width: 760px;
  margin-bottom: 8px;
}

.process-list p {
  max-width: 840px;
  margin-bottom: 12px;
}

.process-link {
  display: inline-flex;
  width: fit-content;
  color: var(--blue-700);
  font-size: 0.95rem;
  font-weight: 720;
  line-height: 1.45;
  border-bottom: 1px solid currentColor;
}

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

.service-showcase {
  padding: 96px 0 104px;
}

.service-head {
  max-width: 920px;
  margin-bottom: 46px;
}

.service-head p:not(.section-kicker) {
  max-width: 780px;
  margin-top: 20px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.72;
}

.service-card,
.proof,
.faq,
.contact-box,
.method-step {
  border: 1px solid #dfe6ef;
  border-radius: 3px;
  background: var(--white);
}

.service-card,
.proof,
.faq,
.contact-box {
  padding: 34px 30px;
}

.service-card {
  min-height: 360px;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  align-content: start;
  border-color: #cfd9e7;
  border-top: 3px solid var(--yellow);
  background:
    linear-gradient(180deg, #ffffff 0%, #ffffff 68%, #f8fbff 100%);
}

.service-number {
  margin-bottom: 24px;
  color: #9aa9bd;
  font-size: 0.86rem;
  font-weight: 800;
}

.service-card .tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 0;
  background: transparent;
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.service-card h3 {
  margin-bottom: 14px;
  font-size: 1.2rem;
  line-height: 1.34;
}

.service-card p {
  margin-bottom: 28px;
  color: #42546c;
  font-size: 0.98rem;
  line-height: 1.68;
}

.service-card a {
  align-self: end;
  width: fit-content;
  color: var(--blue-700);
  font-weight: 720;
  line-height: 1.45;
  border-bottom: 1px solid currentColor;
}

.method-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--gray-300);
}

.method-step {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 24px;
  padding: 28px 0;
  border: 0;
  border-bottom: 1px solid var(--gray-300);
}

.method-number {
  color: var(--blue-700);
  font-weight: 800;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--blue-700);
}

.check-list li {
  padding: 15px 0;
  border-bottom: var(--line);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.5;
}

.faq-band {
  border-top: var(--line);
  background: var(--white);
}

.faq-heading {
  max-width: 520px;
}

.faq-heading p:not(.section-kicker) {
  max-width: 460px;
  margin-top: 22px;
  color: #42546c;
  font-size: 1rem;
  line-height: 1.72;
}

.faq-list {
  border-top: 1px solid var(--blue-700);
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-item summary {
  min-height: 86px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  align-items: center;
  gap: 20px;
  color: var(--blue-900);
  cursor: pointer;
  font-size: 1.02rem;
  font-weight: 780;
  line-height: 1.45;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  justify-self: end;
  color: var(--blue-700);
  font-size: 1.72rem;
  font-weight: 300;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  max-width: 760px;
  margin: -8px 54px 28px 0;
  color: #42546c;
  font-size: 0.98rem;
  line-height: 1.72;
}

.cta-band {
  background: #071d49;
  color: var(--white);
}

.cta-band .wrap,
.cta-band .shell {
  min-height: 250px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.cta-band h2,
.cta-band p {
  color: var(--white);
}

.cta-band h2 {
  max-width: 790px;
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.cta-band p {
  max-width: 820px;
  margin-bottom: 0;
  color: #dcecff;
}

.cta-band .button {
  min-width: 224px;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.56);
  color: var(--white);
}

.cta-band .button:hover,
.cta-band .button:focus-visible {
  border-color: var(--yellow);
  color: var(--yellow);
}

.page-hero {
  background: var(--blue-900);
  color: var(--white);
  padding: 96px 0;
}

.page-hero-compact {
  padding: 72px 0 78px;
}

.page-hero h1 {
  max-width: 820px;
}

.page-hero p {
  max-width: 760px;
  color: #edf4ff;
  font-size: 1.08rem;
}

.page-hero .button {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--blue-900);
}

.page-hero .button-secondary {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 4px;
  color: var(--white);
  font-weight: 800;
}

.wrap.content-narrow {
  max-width: 960px;
  padding: 76px 0 80px;
}

.wrap.content-narrow h2 {
  padding-top: 28px;
  border-top: 1px solid var(--gray-200);
  font-size: clamp(1.45rem, 2vw, 2.2rem);
  line-height: 1.2;
}

.wrap.content-narrow h2:first-child {
  padding-top: 0;
  border-top: 0;
}

.wrap.content-narrow p {
  max-width: 860px;
  margin-bottom: 30px;
  color: #42546c;
  font-size: 1rem;
  line-height: 1.74;
}

.wrap.content-narrow ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.wrap.content-narrow li {
  padding: 14px 0;
  border-top: 1px solid var(--gray-200);
  color: #42546c;
}

.grid-2 .content-narrow {
  padding: 0;
}

.institutional-band {
  background: var(--white);
}

.institutional-band .wrap {
  padding-top: 78px;
  padding-bottom: 84px;
}

.institutional-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  align-items: start;
  gap: 24px;
}

.institutional-card,
.text-card {
  min-width: 0;
  border: 1px solid #d8e1ed;
  border-radius: 3px;
  background: var(--white);
}

.institutional-card {
  padding: clamp(26px, 3vw, 42px);
  border-top: 3px solid var(--yellow);
}

.institutional-card h2 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(1.65rem, 2.4vw, 2.55rem);
  overflow-wrap: break-word;
}

.institutional-card h3 {
  margin-bottom: 16px;
  font-size: 1.18rem;
}

.institutional-card p {
  max-width: 820px;
  color: #42546c;
}

.institutional-card .button {
  margin-top: 10px;
}

.text-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding-top: 0 !important;
}

.text-card {
  min-height: 292px;
  display: grid;
  align-content: start;
  padding: 30px 28px;
  background:
    linear-gradient(180deg, #ffffff 0%, #ffffff 70%, #f8fbff 100%);
}

.text-card h2,
.text-card h3 {
  margin-bottom: 14px;
  font-size: 1.22rem;
  line-height: 1.34;
  overflow-wrap: break-word;
}

.text-card p {
  color: #42546c;
  font-size: 0.98rem;
  line-height: 1.68;
}

.yellow-list {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.yellow-list li {
  position: relative;
  padding-left: 22px;
  color: #42546c;
  line-height: 1.62;
}

.yellow-list li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 10px;
  height: 3px;
  background: var(--yellow);
}

.institutional-note {
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 3px solid var(--yellow);
  background: #f8fbff;
  color: var(--blue-900);
  font-weight: 720;
  line-height: 1.6;
}

.contact-grid,
.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(36px, 6vw, 88px);
}

.contact-grid {
  padding: 104px 0;
}

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

.contact-box dt {
  color: var(--blue-900);
  font-weight: 800;
}

.contact-box dd {
  margin: 4px 0 0;
}

.email-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.email-form label {
  display: grid;
  gap: 7px;
}

.email-form span {
  color: var(--blue-900);
  font-size: 0.82rem;
  font-weight: 780;
}

.email-form input,
.email-form select,
.email-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid #c9d5e6;
  border-radius: 3px;
  background: var(--white);
  color: var(--blue-900);
  font: inherit;
  line-height: 1.45;
}

.email-form textarea {
  min-height: 142px;
  resize: vertical;
}

.email-form input:focus,
.email-form select:focus,
.email-form textarea:focus {
  outline: 2px solid rgba(255, 193, 7, 0.44);
  outline-offset: 2px;
  border-color: var(--yellow);
}

.form-full {
  grid-column: 1 / -1;
}

.upload-field {
  padding: 14px;
  border: 1px dashed #9fb1ca;
  border-radius: 3px;
  background: #f8fbff;
}

.upload-field input {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
}

.upload-field small {
  color: #5d6f88;
  font-size: 0.8rem;
  line-height: 1.5;
}

.email-form .button {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

.site-footer {
  background: #071d49;
  color: var(--white);
  padding: 58px 0 32px;
}

.compact-footer {
  padding: 34px 0 30px;
}

.compact-footer .legal-note {
  margin-top: 0;
}

.footer-grid {
  grid-template-columns: minmax(280px, 0.82fr) minmax(520px, 1.18fr);
  align-items: start;
}

.footer-logo {
  width: 42px;
  height: 42px;
}

.site-footer h2,
.site-footer h3,
.site-footer p,
.site-footer li,
.site-footer a {
  color: var(--white);
}

.site-footer h2,
.site-footer h3 {
  margin-bottom: 18px;
  font-size: 0.92rem;
  font-weight: 760;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-transform: uppercase;
}

.site-footer .footer-grid > div:first-child h2 {
  margin: 14px 0 12px;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
  text-transform: none;
}

.brand-copyright {
  margin-bottom: 10px;
  color: var(--yellow) !important;
  font-weight: 780;
}

.site-footer p,
.site-footer li,
.site-footer a,
.site-footer dt,
.site-footer dd {
  color: #dcecff;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 26px;
}

.footer-links a {
  font-weight: 720;
}

.institutional-data h2 {
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.institutional-data dl {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
}

.institutional-data dl > div {
  min-height: 58px;
  display: grid;
  grid-template-columns: minmax(130px, 0.42fr) minmax(220px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.institutional-data dt {
  color: var(--white);
  font-weight: 800;
}

.institutional-data dd {
  margin: 0;
}

.legal-note {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: #dcecff;
  font-size: 0.9rem;
}

.floating-whatsapp {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 30;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px 0 12px;
  border: 1px solid rgba(10, 31, 78, 0.2);
  border-radius: 999px;
  background: var(--yellow);
  color: var(--blue-900);
  box-shadow: 0 18px 34px rgba(7, 29, 73, 0.22);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
}

.floating-whatsapp span {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--blue-900);
  color: var(--yellow);
  font-size: 0.88rem;
  font-weight: 800;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  background: #ffd154;
  outline: 2px solid rgba(255, 255, 255, 0.76);
  outline-offset: 3px;
}

.document-visual {
  display: none;
}

@media (max-width: 900px) {
  :root {
    --shell: min(100vw - 32px, 1180px);
  }

  .header-line,
  .nav {
    position: relative;
    min-height: 76px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .primary-nav,
  .site-header .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    left: 50%;
    right: auto;
    width: 100vw;
    max-height: calc(100svh - 77px);
    z-index: 12;
    display: grid;
    align-items: stretch;
    gap: 0;
    padding: 12px max(20px, calc((100vw - var(--shell)) / 2));
    overflow-y: auto;
    transform: translateX(-50%);
    background: rgba(10, 31, 78, 0.98);
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-top: 0;
    box-shadow: 0 18px 36px rgba(10, 31, 78, 0.24);
  }

  .menu-js:not(.menu-open) .primary-nav,
  .menu-js:not(.menu-open) .site-header .nav-links {
    display: none;
  }

  .primary-nav a,
  .site-header .nav-links a {
    min-height: 52px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .primary-nav a:last-child,
  .site-header .nav-links li:last-child a {
    border-bottom: 0;
  }

  .primary-nav .nav-cta,
  .site-header .nav-links .button {
    justify-content: center;
    margin-top: 10px;
    border: 1px solid var(--yellow);
    color: var(--yellow);
  }

  .hero {
    min-height: 78svh;
  }

  .hero-backdrop {
    background:
      linear-gradient(180deg, rgba(10, 31, 78, 0.99) 0%, rgba(10, 31, 78, 0.92) 56%, rgba(10, 31, 78, 0.76) 100%),
      url("../img/calculo-folha-preview.svg") 62% center / cover no-repeat;
  }

  .hero-content {
    width: var(--shell);
    max-width: none;
    margin: 0 auto;
    padding: 58px 0 54px;
  }

  .hero-register,
  .trust-row,
  .notice-line,
  .intro-grid,
  .trust-grid,
  .faq-grid,
  .grid-2,
  .institutional-layout,
  .contact-grid,
  .footer-grid,
  .cta-band .wrap,
  .cta-band .shell {
    grid-template-columns: 1fr;
  }

  .hero-register span,
  .trust-row span {
    min-height: 58px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .hero-register span:last-child,
  .trust-row span:last-child {
    border-bottom: 0;
  }

  .notice-line {
    gap: 8px;
    padding: 22px 0;
  }

  .intro-grid,
  .trust-grid,
  .faq-grid,
  .grid-2,
  .contact-grid {
    gap: 34px;
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .faq-heading {
    max-width: none;
  }

  .faq-item summary {
    min-height: 74px;
    grid-template-columns: minmax(0, 1fr) 28px;
    gap: 14px;
    font-size: 0.98rem;
  }

  .faq-item p {
    margin-right: 0;
  }

  .intro-copy {
    padding-top: 28px;
  }

  .process-band .shell,
  .audience-band .shell,
  .section-soft .wrap {
    padding: 80px 0;
  }

  .service-showcase,
  .wrap.content-narrow {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .process-list li,
  .method-step {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 28px 0;
  }

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

  .text-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --shell: min(calc(100vw - 32px), 430px);
  }

  .header-line,
  .nav {
    gap: 12px;
  }

  .menu-toggle {
    width: 58px;
    min-width: 58px;
    min-height: 58px;
    justify-content: center;
    margin-left: auto;
    padding: 0;
  }

  .menu-toggle span:last-child {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .menu-toggle-icon {
    width: 24px;
    height: 16px;
  }

  .brand {
    gap: 10px;
    font-size: 1rem;
  }

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

  .hero {
    min-height: 84svh;
  }

  .hero-backdrop {
    background:
      linear-gradient(180deg, rgba(10, 31, 78, 0.99) 0%, rgba(10, 31, 78, 0.94) 48%, rgba(10, 31, 78, 0.8) 100%),
      url("../img/calculo-folha-preview.svg") 57% center / cover no-repeat;
  }

  .eyebrow {
    max-width: 100%;
  }

  .hero-copy {
    max-width: 352px;
    font-size: 1rem;
    line-height: 1.65;
  }

  h1 {
    max-width: 352px;
    font-size: 2rem;
    line-height: 1.12;
  }

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

  .email-form {
    grid-template-columns: 1fr;
  }

  .email-form .button {
    justify-self: stretch;
  }

  .service-card,
  .proof,
  .faq,
  .contact-box {
    padding: 24px 18px;
  }

  .service-card {
    min-height: auto;
  }

  .institutional-data dl > div {
    min-height: 0;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 5px;
    padding: 16px 0;
  }

  .institutional-data dd,
  .institutional-data a,
  .site-footer p {
    overflow-wrap: anywhere;
  }

  .site-footer {
    padding-bottom: calc(98px + env(safe-area-inset-bottom));
  }

  .compact-footer {
    padding-bottom: calc(82px + env(safe-area-inset-bottom));
  }

  .floating-whatsapp {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    width: 56px;
    min-height: 48px;
    padding: 0;
    justify-content: center;
    font-size: 0.86rem;
  }

  .floating-whatsapp span {
    width: 28px;
    height: 28px;
  }

  .floating-whatsapp strong {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .page-hero h1 {
    max-width: 100%;
    font-size: 1.54rem;
    line-height: 1.16;
    overflow-wrap: break-word;
  }

  .institutional-card,
  .text-card {
    padding: 24px 16px;
    overflow: hidden;
  }

  .institutional-card h2 {
    max-width: 100%;
    font-size: 1.38rem;
    line-height: 1.22;
  }

  .text-card h2,
  .text-card h3 {
    font-size: 1.08rem;
  }
}
