 :root {
  --brand-navy: #001A30;
  --brand-gold: #DDBA57;
  --brand-gold-bright: #F4E19A;
  --brand-gold-deep: #A77717;
  --brand-gold-shadow: rgba(168, 122, 22, 0.26);
  --gold-metallic: linear-gradient(135deg, #8A6310 0%, #C89A2B 18%, #F7E7A2 38%, #E1BF5B 52%, #FFF4C5 64%, #D3A534 78%, #976B13 100%);
  --gold-metallic-soft: linear-gradient(135deg, #B9871E 0%, #E7C765 42%, #F9E8A7 52%, #D3A535 72%, #A87719 100%);
  --navy-950: #001A30;
  --navy-900: #001A30;
  --navy-800: #0B2B45;
  --blue-700: #001A30;
  --blue-600: #0B2B45;
  --cyan-500: #DDBA57;
  --cyan-100: #FFF9E7;
  --gold-700: #A77717;
  --gold-600: #BF942A;
  --gold-100: #FFF9E7;
  --green-500: #DDBA57;
  --green-600: #BF942A;
  --white: #FFFFFF;
  --gray-25: #FFFFFF;
  --gray-50: #FFFCF6;
  --gray-100: #F6E9C1;
  --gray-200: #E9D59B;
  --gray-500: rgba(0, 26, 48, 0.68);
  --gray-700: #001A30;
  --gray-900: #001A30;
  --danger: #A77717;
  --success: #001A30;
  --shadow-sm: 0 8px 24px rgba(0, 26, 48, 0.10);
  --shadow-md: 0 18px 50px rgba(0, 26, 48, 0.16);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --container: 1180px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  color: var(--gray-900);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

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

p:last-child {
  margin-bottom: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--navy-950);
  font-weight: 780;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.55rem, 5vw, 4.65rem);
}

h2 {
  font-size: clamp(2rem, 3.4vw, 3.25rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

::selection {
  color: var(--white);
  background: var(--brand-gold);
}

:focus-visible {
  outline: 3px solid rgba(221, 186, 87, 0.55);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  border-radius: 10px;
  color: var(--white);
  background: var(--navy-950);
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.section {
  padding: 104px 0;
}

.section-sm {
  padding: 72px 0;
}

.section-muted {
  background: var(--gray-50);
}

.section-cyan {
  background: linear-gradient(135deg, #FFF8DF 0%, #FFFFFF 100%);
}

.section-dark {
  color: rgba(255, 255, 255, 0.82);
  background:
    radial-gradient(circle at 82% 20%, rgba(221, 186, 87, 0.24), transparent 35%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.section-dark h2,
.section-dark h3,
.section-dark .eyebrow {
  color: var(--white);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 18px;
}

.section-heading p {
  color: var(--gray-500);
  font-size: 1.08rem;
}

.section-dark .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--gold-700);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 22px;
  height: 2px;
  content: "";
  border-radius: 999px;
  background: currentColor;
}

.kicker {
  color: var(--brand-gold);
}

.text-gradient {
  color: var(--brand-gold);
  background: linear-gradient(96deg, var(--brand-gold-deep) 0%, var(--brand-gold-bright) 45%, var(--brand-gold) 68%, var(--brand-gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead {
  color: var(--gray-500);
  font-size: clamp(1.06rem, 2vw, 1.27rem);
}

.text-muted {
  color: var(--gray-500);
}

.small {
  font-size: 0.9rem;
}

.header {
  position: sticky;
  z-index: 1000;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid rgba(0, 26, 48, 0.12);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

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

.logo {
  display: inline-flex;
  min-width: 188px;
  align-items: center;
  gap: 11px;
}

.logo-mark {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  flex-shrink: 0;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.logo-copy {
  line-height: 1.05;
}

.logo-copy strong {
  display: block;
  color: var(--navy-950);
  font-size: 1.22rem;
  letter-spacing: -0.04em;
}

.logo-copy span {
  color: var(--gold-700);
  font-size: 0.73rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

..logo-copy span,
.header .logo-copy span,
.footer .logo-copy span,
.stat strong {
  background: linear-gradient(96deg, var(--brand-gold-deep) 0%, var(--brand-gold-bright) 42%, var(--brand-gold) 68%, var(--brand-gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 11px;
  border-radius: 10px;
  color: var(--gray-700);
  font-size: 0.93rem;
  font-weight: 690;
  transition: 0.2s ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--brand-navy);
  background: var(--gold-100);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  cursor: pointer;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  color: var(--navy-950);
  background: var(--white);
}

.menu-toggle svg {
  width: 22px;
  margin: auto;
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 13px;
  font-weight: 780;
  line-height: 1;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn svg {
  width: 19px;
  flex: 0 0 auto;
}

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

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--brand-navy), var(--navy-800));
  box-shadow: 0 12px 28px rgba(0, 26, 48, 0.24);
}

.btn-primary:hover {
  box-shadow: 0 16px 34px rgba(0, 26, 48, 0.31);
}

.btn-secondary {
  color: var(--brand-navy);
  border-color: rgba(212, 175, 55, 0.48);
  background: var(--white);
}

.btn-secondary:hover {
  border-color: var(--brand-gold);
  box-shadow: var(--shadow-sm);
}

.btn-whatsapp {
  color: var(--navy-950);
  border: 1px solid rgba(255, 244, 197, 0.55);
  background: var(--gold-metallic-soft);
  box-shadow: 0 14px 30px var(--brand-gold-shadow);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #C49324 0%, #F0D16F 48%, #C49220 100%);
  box-shadow: 0 16px 34px rgba(167, 119, 23, 0.32);
}

.btn-white {
  color: var(--navy-950);
  background: var(--white);
}

.btn-link {
  min-height: auto;
  padding: 0;
  color: var(--brand-navy);
  border: 0;
  border-radius: 0;
  background: transparent;
}

.btn-sm {
  min-height: 42px;
  padding-inline: 15px;
  font-size: 0.9rem;
}

.btn-block {
  width: 100%;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 76px;
  background:
    radial-gradient(circle at 90% 18%, rgba(221, 186, 87, 0.18), transparent 30%),
    radial-gradient(circle at 4% 90%, rgba(0, 26, 48, 0.10), transparent 28%),
    linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 78%);
}

.hero::before {
  position: absolute;
  top: 90px;
  right: -170px;
  width: 380px;
  height: 380px;
  content: "";
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(380px, 0.96fr);
  align-items: center;
  gap: 62px;
}

.hero h1 {
  max-width: 800px;
  margin-bottom: 24px;
}

.hero-copy .lead {
  max-width: 680px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-bottom: 30px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-500);
  font-size: 0.93rem;
}

.hero-note .avatars {
  display: flex;
}

.avatar {
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  margin-left: -8px;
  border: 3px solid var(--white);
  border-radius: 50%;
  color: var(--white);
  background: var(--blue-700);
  font-size: 0.7rem;
  font-weight: 800;
}

.avatar:first-child {
  margin-left: 0;
}

.avatar:nth-child(2) {
  background: var(--brand-gold);
}

.avatar:nth-child(3) {
  background: var(--navy-800);
}

.hero-visual {
  position: relative;
}

.hero-card {
  position: relative;
  overflow: hidden;
  width: min(100%, 440px);
  margin-inline: auto;
  padding: 0;
  border: 1px solid rgba(0, 26, 48, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: var(--white);
}

.hero-visual img {
  width: 100%;
  border-radius: 22px;
}

.hero-card .hero-card-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: contain;
  border-radius: calc(var(--radius-lg) - 2px);
}

.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 15px;
  border: 1px solid rgba(0, 26, 48, 0.14);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  color: var(--navy-950);
  background: rgba(255, 255, 255, 0.96);
  font-size: 0.84rem;
  font-weight: 760;
}

.floating-badge svg {
  width: 22px;
  color: var(--blue-700);
}

.floating-badge.top {
  top: 18px;
  right: -24px;
}

.floating-badge.bottom {
  bottom: 30px;
  left: -34px;
}

.trust-bar {
  padding: 20px 0;
  border-block: 1px solid var(--gray-100);
  background: var(--gray-25);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--gray-700);
  font-size: 0.88rem;
  font-weight: 720;
  text-align: center;
}

.trust-item svg {
  width: 20px;
  color: var(--blue-700);
}

.grid-2,
.grid-3,
.grid-4,
.grid-5 {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (min-width: 1240px) {
  .grid-4 {
    width: calc(100% + 80px);
    margin-inline: -40px;
  }
}

.grid-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.grid-4 .icon-box,
.grid-5 .icon-box {
  margin-inline: auto;
}

.grid-4 span.product-tag {
  margin-inline: auto;
}

.grid-4 .card h3 {
  text-align: center;
}

/* Mantem os cards de produtos visualmente equilibrados: o texto descritivo
   acompanha o titulo centralizado, enquanto a lista fica centralizada como
   bloco e preserva a leitura dos itens alinhados a esquerda. */
.grid-4 .product-card > p {
  max-width: 30ch;
  margin-inline: auto;
  text-align: center;
}

.grid-4 .product-card > .list-check {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  text-align: left;
}

/* Ajuste específico da seção de valores da página Sobre para
   centralizar os conteúdos com mais equilíbrio visual. */
.values-grid {
  grid-template-columns: repeat(4, minmax(260px, 1fr));
  gap: 24px;
}

.values-grid .card {
  padding: 30px 30px 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.values-grid .card h3 {
  max-width: 13ch;
  margin: 0 auto 12px;
  text-align: center;
  line-height: 1.18;
}

.values-grid .card p {
  max-width: 24ch;
  margin-inline: auto;
  text-align: center;
  line-height: 1.7;
}

.grid-5 .card,
.grid-5 .card h3,
.grid-5 .card p {
  text-align: center;
}

/* Benefícios para contadores: cards mais largos e conteúdo visualmente alinhado. */
.contadores-benefits-grid {
  grid-template-columns: repeat(5, minmax(235px, 1fr));
  gap: 26px;
  align-items: stretch;
}

@media (min-width: 1240px) {
  .contadores-benefits-grid {
    width: calc(100% + 160px);
    margin-inline: -80px;
  }
}

.contadores-benefits-grid .card {
  min-height: 330px;
  padding: 32px 28px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contadores-benefits-grid .icon-box {
  flex: 0 0 auto;
  margin-inline: auto;
  margin-bottom: 22px;
}

.contadores-benefits-grid .card h3 {
  width: 100%;
  max-width: 15ch;
  min-height: 2.35em;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.16;
}

.contadores-benefits-grid .card p {
  width: 100%;
  max-width: 24ch;
  margin: 0 auto;
  text-align: center;
  line-height: 1.7;
}

.card {
  height: 100%;
  padding: 28px;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  border-color: rgba(221, 186, 87, 0.45);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  color: var(--gray-500);
}

.icon-box {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 15px;
  color: var(--brand-navy);
  background: linear-gradient(145deg, var(--gold-100), #FFF8DF);
}

.icon-box svg {
  width: 26px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.product-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--brand-gold-deep) 0%, var(--brand-gold-bright) 45%, var(--brand-gold) 75%, var(--brand-gold-deep) 100%);
}

.product-card .product-tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--brand-navy);
  background: var(--gold-100);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.product-card .list-check {
  margin-bottom: 26px;
}

.product-card .btn {
  margin-top: auto;
}

.list-check,
.list-simple {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.list-check li,
.list-simple li {
  position: relative;
  padding-left: 29px;
  color: var(--gray-700);
}

.list-check li::before {
  position: absolute;
  top: 4px;
  left: 0;
  display: grid;
  width: 19px;
  height: 19px;
  content: "✓";
  place-items: center;
  border-radius: 50%;
  color: var(--success);
  background: #FFF8DF;
  font-size: 0.72rem;
  font-weight: 900;
}

.list-simple li::before {
  position: absolute;
  top: 10px;
  left: 6px;
  width: 6px;
  height: 6px;
  content: "";
  border-radius: 50%;
  background: var(--brand-gold);
}

.helper-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: 28px 32px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #FFF8DF, #FFFFFF);
}

.helper-card h3 {
  margin-bottom: 7px;
}

.comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.comparison-column {
  padding: 40px;
}

.comparison-column + .comparison-column {
  border-left: 1px solid var(--gray-200);
}

.comparison-head {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 24px;
}

.comparison-head h3 {
  margin-bottom: 6px;
}

.comparison-head p {
  margin-bottom: 0;
}

.comparison-letter {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(0, 26, 48, 0.18);
  border-radius: 16px;
  color: var(--white);
  background: linear-gradient(145deg, var(--brand-navy), var(--navy-800));
  box-shadow: 0 10px 22px rgba(0, 26, 48, 0.18);
  font-size: 1.3rem;
  font-weight: 850;
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 22px;
  padding: 15px 17px;
  border: 1px solid rgba(191, 148, 42, 0.5);
  border-radius: 13px;
  color: #001A30;
  background: linear-gradient(135deg, rgba(255, 249, 231, 0.98), rgba(247, 231, 162, 0.36));
  font-size: 0.9rem;
}

.notice svg {
  width: 21px;
  flex: 0 0 auto;
  margin-top: 2px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: 62px;
}

.split.reverse > :first-child {
  order: 2;
}

.split.reverse > :last-child {
  order: 1;
}

.flow-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  grid-template-rows: auto auto;
  column-gap: 62px;
  row-gap: clamp(2rem, 3vw, 3rem);
  align-items: stretch;
}

.flow-split .flow-intro {
  grid-column: 1;
  grid-row: 1;
}

.flow-split .flow-intro h2 {
  margin-bottom: 0;
}

.flow-split .timeline {
  grid-column: 1;
  grid-row: 2;
}

.flow-split .feature-image.feature-image-flow {
  grid-column: 2;
  grid-row: 2;
  align-self: stretch;
  width: 100%;
  min-height: 0;
  margin: 0;
}

.panel {
  padding: 34px;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background: var(--white);
}

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

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

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

.form-group label {
  color: var(--gray-700);
  font-size: 0.9rem;
  font-weight: 760;
}

.form-control {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  color: var(--gray-900);
  background: var(--white);
  outline: 0;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

textarea.form-control {
  min-height: 122px;
  padding-block: 12px;
  resize: vertical;
}

.form-control:focus {
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 4px rgba(221, 186, 87, 0.14);
}

.form-control[aria-invalid="true"] {
  border-color: var(--danger);
}

.form-error {
  min-height: 17px;
  color: var(--danger);
  font-size: 0.78rem;
}

.check-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--gray-500);
  font-size: 0.84rem;
}

.check-field input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 3px;
  accent-color: var(--blue-700);
}

.check-field a {
  color: var(--brand-navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.form-note {
  color: var(--gray-500);
  font-size: 0.8rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  counter-reset: steps;
}

.step {
  position: relative;
  padding-top: 22px;
  counter-increment: steps;
}

.step::before {
  display: grid;
  width: 49px;
  height: 49px;
  margin-bottom: 22px;
  content: "0" counter(steps);
  place-items: center;
  border: 1px solid rgba(0, 26, 48, 0.22);
  border-radius: 15px;
  color: var(--white);
  background: var(--brand-navy);
  box-shadow: 0 12px 25px rgba(0, 26, 48, 0.20);
  font-weight: 850;
}

.step:not(:last-child)::after {
  position: absolute;
  top: 46px;
  left: 66px;
  width: calc(100% - 44px);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--gray-200), transparent);
}

.step h3 {
  margin-bottom: 10px;
}

.step p {
  color: var(--gray-500);
}

.feature-image {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 440px;
  place-items: center;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #FFF8DF, #FFFFFF);
}

.feature-image .feature-brand-image {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 520px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 22px;
  background: var(--white);
}

.feature-image.feature-image-poster {
  display: block;
  width: min(100%, 440px);
  min-height: 0;
  padding: 0;
  justify-self: center;
  border-radius: 22px;
  background: transparent;
}

.feature-image.feature-image-poster .feature-poster-image {
  width: 100%;
  max-width: none;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  border-radius: inherit;
}

.feature-image.feature-image-poster::before {
  display: none;
}


.feature-image.feature-image-flow {
  display: block;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 6px solid #ffffff;
  box-sizing: border-box;
  box-shadow:
    0 0 0 1px rgba(0, 26, 48, 0.10),
    0 12px 30px rgba(0, 26, 48, 0.12);
  line-height: 0;
}

.feature-image.feature-image-flow::before {
  display: none;
}

.feature-image.feature-image-flow .feature-flow-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}

.feature-image::before {
  position: absolute;
  top: -60px;
  right: -50px;
  width: 180px;
  height: 180px;
  content: "";
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.16);
}

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

.stat {
  padding: 22px;
  border: 1px solid var(--gray-100);
  border-radius: 17px;
  background: var(--white);
}

.stat strong {
  display: block;
  margin-bottom: 5px;
  color: var(--gold-700);
  font-size: 1.65rem;
  line-height: 1;
}

.stat span {
  color: var(--gray-500);
  font-size: 0.86rem;
}

.stat small {
  display: block;
  margin-top: 7px;
  color: var(--brand-navy);
  font-size: 0.75rem;
  font-weight: 650;
  line-height: 1.45;
}

.testimonial {
  position: relative;
}

.testimonial::before {
  position: absolute;
  top: 18px;
  right: 24px;
  content: "“";
  color: #E9D59B;
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
}

.stars {
  margin-bottom: 18px;
  color: var(--brand-gold);
  letter-spacing: 0.12em;
}

.testimonial blockquote {
  position: relative;
  z-index: 1;
  margin: 0 0 22px;
  color: var(--gray-700);
  font-size: 1.02rem;
}

.testimonial-author strong {
  display: block;
  color: var(--navy-950);
}

.testimonial-author span {
  color: var(--gray-500);
  font-size: 0.85rem;
}

.example-badge {
  display: inline-flex;
  margin-top: 16px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #001A30;
  background: #FFF8DF;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.faq-list {
  display: grid;
  max-width: 900px;
  margin-inline: auto;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  background: var(--white);
}

.faq-question {
  display: flex;
  width: 100%;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 17px 21px;
  cursor: pointer;
  border: 0;
  color: var(--navy-950);
  background: transparent;
  text-align: left;
  font-weight: 780;
}

.faq-question svg {
  width: 20px;
  flex: 0 0 auto;
  color: var(--brand-gold);
  transition: transform 0.2s ease;
}

.faq-question[aria-expanded="true"] svg {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 21px 21px;
  color: var(--gray-500);
}

.faq-answer[hidden] {
  display: none;
}

.cta {
  position: relative;
  overflow: hidden;
  padding: 68px;
  border-radius: 32px;
  color: rgba(255, 255, 255, 0.8);
  background:
    radial-gradient(circle at 100% 0%, rgba(212, 175, 55, 0.38), transparent 34%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.cta::after {
  position: absolute;
  right: -60px;
  bottom: -100px;
  width: 280px;
  height: 280px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.cta h2 {
  max-width: 720px;
  margin-bottom: 14px;
  color: var(--white);
}

.cta p {
  max-width: 700px;
  margin-bottom: 0;
}

.cta-actions {
  display: flex;
  min-width: max-content;
  flex-wrap: wrap;
  gap: 12px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 74px;
  background:
    radial-gradient(circle at 82% 15%, rgba(221, 186, 87, 0.18), transparent 28%),
    linear-gradient(180deg, #FFF8DF, #FFFFFF);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 54px;
}

.page-hero h1 {
  margin-bottom: 20px;
  font-size: clamp(2.45rem, 4vw, 4rem);
}

.page-hero .lead {
  margin-bottom: 28px;
}

.page-hero-visual {
  padding: 28px;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background: var(--white);
}

.page-hero-visual-photo {
  width: min(100%, 430px);
  justify-self: end;
  padding: 0;
  overflow: hidden;
  line-height: 0;
}

.page-hero-visual-photo img {
  width: 100%;
  height: auto;
  border-radius: inherit;
}

.page-hero-visual-contact {
  width: min(100%, 560px);
  justify-self: end;
  padding: 0;
  overflow: hidden;
  line-height: 0;
}

.page-hero-visual-contact img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}

/* Imagens específicas da página Para contadores */
body[data-page="contadores"] .page-hero-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
}

.page-hero-visual-banner {
  width: 100%;
  justify-self: end;
  padding: 0;
  overflow: hidden;
  line-height: 0;
}

.page-hero-visual-banner img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: inherit;
}

.contadores-ending-visual .feature-image-wide {
  width: min(100%, 1040px);
  min-height: 0;
  margin-inline: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  line-height: 0;
  background: var(--white);
}

.contadores-ending-visual .feature-image-wide::before {
  display: none;
}

.contadores-ending-visual .feature-wide-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: inherit;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 22px;
  color: var(--gray-500);
  font-size: 0.82rem;
}

.breadcrumbs a:hover {
  color: var(--blue-700);
}

.breadcrumbs span:not(:last-child)::after,
.breadcrumbs a::after {
  margin-left: 7px;
  content: "/";
  color: var(--gray-200);
}

.info-band {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  border-left: 4px solid var(--brand-gold);
  border-radius: 0 14px 14px 0;
  background: var(--gray-50);
}

.info-band svg {
  width: 26px;
  flex: 0 0 auto;
  color: var(--blue-700);
}

.timeline {
  position: relative;
  display: grid;
  gap: 22px;
}

.timeline::before {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 22px;
  width: 2px;
  content: "";
  background: var(--gray-200);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 20px;
}

.timeline-dot {
  position: relative;
  z-index: 1;
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border: 5px solid var(--white);
  border-radius: 50%;
  color: var(--white);
  background: var(--blue-700);
  box-shadow: 0 0 0 1px var(--gray-200);
  font-size: 0.82rem;
  font-weight: 850;
}

.timeline-content {
  padding: 20px 22px;
  border: 1px solid var(--gray-100);
  border-radius: 15px;
  background: var(--white);
}

.timeline-content h3 {
  margin-bottom: 8px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-card .icon-box {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  margin: 0;
}

.contact-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy-950);
}

.contact-card a,
.contact-card span {
  color: var(--gray-500);
}

.contact-card a:hover {
  color: var(--blue-700);
}

.legal-content {
  max-width: 900px;
  margin-inline: auto;
}

.legal-content h2 {
  margin-top: 48px;
  margin-bottom: 18px;
  font-size: 1.7rem;
}

.legal-content h3 {
  margin-top: 32px;
  font-size: 1.2rem;
}

.legal-content p,
.legal-content li {
  color: var(--gray-700);
}

.legal-content a {
  color: var(--brand-navy);
  text-decoration: underline;
}

.footer {
  padding: 72px 0 28px;
  color: rgba(255, 255, 255, 0.72);
  background: var(--navy-950);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr 1fr;
  gap: 52px;
  padding-bottom: 50px;
}

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

.footer .logo-copy span {
  color: var(--brand-gold);
}

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

.footer h3 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0;
}

.footer-links {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.footer-contact {
  display: grid;
  gap: 10px;
}

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

.socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-link {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 11px;
  color: var(--white);
  transition: 0.2s ease;
}

.social-link:hover {
  border-color: var(--brand-gold);
  background: rgba(221, 186, 87, 0.20);
  box-shadow: 0 8px 18px rgba(168, 122, 22, 0.16);
}

.social-link svg {
  width: 19px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  font-size: 0.81rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.whatsapp-float {
  position: fixed;
  z-index: 900;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 3px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  box-shadow: 0 14px 36px rgba(0, 26, 48, 0.25), 0 0 0 4px rgba(247, 231, 162, 0.18);
  color: var(--navy-950);
  background: var(--gold-metallic-soft);
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.03);
}

.whatsapp-float svg {
  width: 29px;
}

.cookie-banner {
  position: fixed;
  z-index: 1200;
  right: 22px;
  bottom: 94px;
  display: none;
  max-width: 430px;
  padding: 22px;
  border: 1px solid var(--gray-200);
  border-radius: 17px;
  box-shadow: var(--shadow-md);
  background: var(--white);
}

.cookie-banner.is-visible {
  display: block;
  animation: slideUp 0.35s ease both;
}

.cookie-banner h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.cookie-banner p {
  margin-bottom: 15px;
  color: var(--gray-500);
  font-size: 0.86rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.toast {
  position: fixed;
  z-index: 1300;
  right: 22px;
  top: calc(var(--header-height) + 18px);
  max-width: 420px;
  padding: 15px 18px;
  border-radius: 13px;
  box-shadow: var(--shadow-md);
  color: var(--white);
  background: var(--success);
  opacity: 0;
  transform: translateY(-16px);
  pointer-events: none;
  transition: 0.25s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast.is-error {
  background: var(--danger);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1120px) {
  .nav-list {
    gap: 0;
  }

  .nav-link {
    padding-inline: 8px;
    font-size: 0.87rem;
  }

  .header-actions .btn-secondary {
    display: none;
  }

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

@media (max-width: 960px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .section {
    padding: 82px 0;
  }

  .menu-toggle {
    display: grid;
  }

  .header-actions .btn-primary {
    display: none;
  }

  .nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    padding: 20px 16px 32px;
    background: rgba(255, 255, 255, 0.98);
    opacity: 0;
    transform: translateX(100%);
    pointer-events: none;
    transition: 0.25s ease;
    backdrop-filter: blur(16px);
  }

  .nav.is-open {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
  }

  .nav-list {
    display: grid;
    gap: 6px;
  }

  .nav-link {
    width: 100%;
    min-height: 52px;
    padding-inline: 16px;
    font-size: 1rem;
  }

  .nav-mobile-actions {
    display: grid;
    gap: 10px;
    margin-top: 18px;
  }

  .hero-grid,
  .page-hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 64px;
  }

  .hero-visual {
    max-width: 620px;
    margin-inline: auto;
  }

  .split.reverse > :first-child,
  .split.reverse > :last-child {
    order: initial;
  }

  .flow-split {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    row-gap: 1.25rem;
  }

  .flow-split .feature-image.feature-image-flow {
    grid-column: 1;
    grid-row: 1;
    width: min(100%, 760px);
    min-height: 0;
    aspect-ratio: 16 / 9;
    margin: 1.25rem auto 0;
  }

  .flow-split .flow-intro {
    grid-column: 1;
    grid-row: 2;
  }

  .flow-split .timeline {
    grid-column: 1;
    grid-row: 3;
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step:nth-child(2)::after {
    display: none;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta {
    padding: 52px 42px;
  }

  .cta-inner {
    display: block;
  }

  .cta-actions {
    margin-top: 26px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 68px 0;
  }

  .section-sm {
    padding: 54px 0;
  }

  .logo {
    min-width: auto;
  }

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

  .logo-copy strong {
    font-size: 1.02rem;
  }

  .logo-copy span {
    font-size: 0.62rem;
  }

  .hero {
    padding: 48px 0 58px;
  }

  .hero-grid {
    gap: 44px;
  }

  .hero-card {
    width: min(100%, 360px);
  }

  .feature-image {
    min-height: auto;
    padding: 18px;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 11vw, 3.35rem);
  }

  .hero-actions,
  .cta-actions,
  .form-actions {
    display: grid;
  }

  .hero-actions .btn,
  .cta-actions .btn,
  .form-actions .btn {
    width: 100%;
  }

  .floating-badge.top {
    top: -12px;
    right: -4px;
  }

  .floating-badge.bottom {
    bottom: 16px;
    left: -4px;
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-item {
    justify-content: flex-start;
    text-align: left;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .grid-5,
  .comparison,
  .steps,
  .stats,
  .form-grid {
    grid-template-columns: 1fr;
  }

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

  .comparison-column {
    padding: 29px;
  }

  .comparison-column + .comparison-column {
    border-top: 1px solid var(--gray-200);
    border-left: 0;
  }

  .helper-card {
    display: block;
    padding: 25px;
  }

  .helper-card .btn {
    width: 100%;
    margin-top: 20px;
  }

  .step:not(:last-child)::after {
    top: 72px;
    left: 24px;
    width: 1px;
    height: calc(100% - 22px);
    background: linear-gradient(var(--gray-200), transparent);
  }

  .panel {
    padding: 24px;
  }

  .page-hero {
    padding: 55px 0;
  }

  .page-hero-grid {
    gap: 36px;
  }

  .cta {
    padding: 38px 26px;
    border-radius: 24px;
  }

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

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

  .cookie-banner {
    right: 14px;
    bottom: 84px;
    left: 14px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
  }
}

/* Utility and component helpers */
.nav-mobile-actions {
  display: none;
}

.actions,
.center-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.center-actions {
  justify-content: center;
}

/* Página inicial: seção Sobre a Lume sem os cards de indicadores. */
.home-about-copy {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.home-about-copy .actions {
  justify-content: center;
}

.center-text {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.contact-list {
  display: grid;
  gap: 22px;
  margin-top: 30px;
}

code {
  padding: 2px 6px;
  border: 1px solid var(--gray-200);
  border-radius: 7px;
  color: var(--navy-800);
  background: var(--gray-50);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9em;
}

@media (max-width: 960px) {
  .nav-mobile-actions {
    display: grid;
  }
}

@media (max-width: 700px) {
  .actions,
  .center-actions {
    display: grid;
  }

  .actions .btn,
  .center-actions .btn {
    width: 100%;
  }
}

.nav-link,
.btn {
  white-space: nowrap;
}

html,
body {
  overflow-x: hidden;
}

/* Header Lume: azul-marinho com navegação branca */
.header {
  border-bottom-color: rgba(221, 186, 87, 0.24);
  background: rgba(0, 26, 48, 0.97);
  box-shadow: 0 8px 28px rgba(0, 26, 48, 0.14);
}

.header .logo-copy strong {
  color: var(--white);
}

.header .logo-copy span {
  color: var(--brand-gold);
}

.header .nav-link {
  color: var(--white);
}

.header .nav-link:hover,
.header .nav-link[aria-current="page"] {
  color: var(--white);
  background: rgba(221, 186, 87, 0.18);
  box-shadow: inset 0 -2px 0 var(--brand-gold);
}

.header .btn-primary {
  color: var(--brand-navy);
  border: 1px solid rgba(255, 244, 197, 0.55);
  background: var(--gold-metallic-soft);
  box-shadow: 0 12px 26px var(--brand-gold-shadow);
}

.header .btn-primary:hover {
  background: linear-gradient(135deg, #C49324 0%, #F0D16F 48%, #C49220 100%);
  box-shadow: 0 14px 30px rgba(167, 119, 23, 0.32);
}

.header .btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.07);
}

.header .btn-secondary:hover {
  color: var(--white);
  border-color: var(--brand-gold);
  background: rgba(221, 186, 87, 0.12);
}

.header .menu-toggle {
  color: var(--white);
  border-color: rgba(212, 175, 55, 0.48);
  background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 960px) {
  .header .nav {
    background: rgba(0, 26, 48, 0.99);
  }

  .header .nav-link {
    color: var(--white);
  }

  .header .nav-link:hover,
  .header .nav-link[aria-current="page"] {
    color: var(--white);
    background: rgba(221, 186, 87, 0.18);
  }
}

/* Início: manter o mesmo visual das demais opções quando estiver ativo */
.header .nav-link[data-nav-page="inicio"][aria-current="page"],
.header .nav-link[data-nav-page="inicio"][aria-current="page"]:hover {
  color: var(--white);
  background: transparent;
  box-shadow: none;
  outline: none;
}

@media (max-width: 960px) {
  .header .nav-link[data-nav-page="inicio"][aria-current="page"],
  .header .nav-link[data-nav-page="inicio"][aria-current="page"]:hover {
    color: var(--white);
    background: transparent;
    box-shadow: none;
    outline: none;
  }
}

@media (max-width: 960px) {
  body[data-page="contadores"] .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-visual-banner {
    width: min(100%, 760px);
    margin-inline: auto;
  }
}

/* Para contadores: acabamento premium dos passos 01 a 04 */
.accountant-flow-timeline::before {
  top: 22px;
  bottom: 22px;
  left: 22px;
  width: 1px;
  background: var(--brand-gold);
}

.accountant-flow-timeline .timeline-item {
  align-items: stretch;
}

.accountant-flow-timeline .timeline-dot {
  align-self: start;
  border: 4px solid var(--white);
  color: var(--white);
  background: var(--brand-navy);
  box-shadow: 0 0 0 1px var(--brand-gold);
}

.accountant-flow-timeline .timeline-content {
  display: flex;
  min-width: 0;
  min-height: 105px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 18px 20px 22px;
  border: 2px solid var(--white);
  border-radius: 15px;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--brand-gold);
}

.accountant-flow-timeline .timeline-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.accountant-flow-timeline .timeline-card-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  color: var(--brand-gold-deep);
}

.accountant-flow-timeline .timeline-card-icon svg {
  width: 28px;
  height: 28px;
  max-width: none;
}

@media (max-width: 700px) {
  .accountant-flow-timeline {
    gap: 18px;
  }

  .accountant-flow-timeline::before {
    top: 19px;
    bottom: 19px;
    left: 19px;
  }

  .accountant-flow-timeline .timeline-item {
    grid-template-columns: 39px minmax(0, 1fr);
    gap: 13px;
  }

  .accountant-flow-timeline .timeline-dot {
    width: 39px;
    height: 39px;
    border-width: 3px;
    font-size: 0.72rem;
  }

  .accountant-flow-timeline .timeline-content {
    min-height: 0;
    gap: 10px;
    padding: 17px 13px 17px 16px;
  }

  .accountant-flow-timeline .timeline-content h3 {
    font-size: 1.08rem;
  }

  .accountant-flow-timeline .timeline-card-icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .accountant-flow-timeline .timeline-card-icon svg {
    width: 23px;
    height: 23px;
  }
}

/* Moldura branca premium padronizada para imagens principais de conteúdo.
   Não afeta logos, favicon, ícones ou SVGs inline da interface. */
.hero-card,
.feature-image.feature-image-poster,
.feature-image.feature-image-flow,
.page-hero-visual,
.contadores-ending-visual .feature-image-wide {
  border: 6px solid #ffffff;
  box-sizing: border-box;
  box-shadow:
    0 0 0 1px rgba(0, 26, 48, 0.10),
    0 10px 30px rgba(0, 26, 48, 0.12);
}

/* Mantém a moldura acompanhando os cantos já definidos em cada componente. */
.hero-card,
.feature-image.feature-image-poster,
.feature-image.feature-image-flow,
.page-hero-visual,
.contadores-ending-visual .feature-image-wide {
  overflow: hidden;
}

/* Página Sobre: imagem quadrada preenchendo 100% do card, mantendo a foto completa e a moldura branca visível. */
body[data-page="sobre"] .page-hero-visual-photo {
  width: 420px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  justify-self: end;
  align-self: center;
  overflow: hidden;
  box-sizing: border-box;
  padding: 0;
  background: transparent;
  border: 0; /* remove a segunda borda branca aplicada pelo CSS; a imagem já possui sua própria moldura */
}

body[data-page="sobre"] .page-hero-visual-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: inherit;
  background: transparent;
}

@media (max-width: 900px) {
  body[data-page="sobre"] .page-hero-visual-photo {
    width: min(100%, 420px);
    justify-self: center;
  }
}


/* ===== Responsividade mobile refinada — Lume ===== */
/* Ajustes finais focados em leitura, toque, proporção e equilíbrio visual em tablets e celulares. */
@media (max-width: 960px) {
  :root {
    --header-height: 68px;
  }

  body {
    overflow-x: hidden;
  }

  .header-inner,
  .hero-grid > *,
  .page-hero-grid > *,
  .split > *,
  .flow-split > *,
  .cta-inner > *,
  .footer-grid > *,
  .grid-2 > *,
  .grid-3 > *,
  .grid-4 > *,
  .grid-5 > * {
    min-width: 0;
  }

  .nav {
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-bottom: max(32px, env(safe-area-inset-bottom));
  }

  .nav-mobile-actions .btn {
    width: 100%;
  }

  .hero-grid,
  .page-hero-grid,
  .split,
  body[data-page="contadores"] .page-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual,
  .page-hero-visual,
  .page-hero-visual-photo,
  .page-hero-visual-contact,
  .page-hero-visual-banner,
  .feature-image.feature-image-poster {
    justify-self: center;
  }

  .page-hero-visual,
  .page-hero-visual-photo,
  .page-hero-visual-contact,
  .page-hero-visual-banner {
    max-width: min(100%, 680px);
    margin-inline: auto;
  }

  .split {
    gap: 40px;
  }

  .flow-split {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: 30px;
  }

  .flow-split .flow-intro {
    grid-column: 1;
    grid-row: 1;
  }

  .flow-split .feature-image.feature-image-flow {
    grid-column: 1;
    grid-row: 2;
    width: min(100%, 720px);
    aspect-ratio: 16 / 9;
    margin: 0 auto;
  }

  .flow-split .timeline {
    grid-column: 1;
    grid-row: 3;
  }

  .cta-inner {
    align-items: flex-start;
  }

  .cta-actions {
    min-width: 0;
  }
}

@media (max-width: 700px) {
  :root {
    --header-height: 64px;
    --radius-lg: 24px;
    --radius-md: 17px;
  }

  html {
    scroll-padding-top: calc(var(--header-height) + 12px);
  }

  body {
    font-size: 15.5px;
    line-height: 1.62;
  }

  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .section {
    padding: 58px 0;
  }

  .section-sm {
    padding: 46px 0;
  }

  h1,
  .hero h1,
  .page-hero h1 {
    font-size: clamp(2rem, 9.5vw, 2.75rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
  }

  h2 {
    font-size: clamp(1.72rem, 7.5vw, 2.25rem);
    line-height: 1.12;
  }

  h3 {
    font-size: clamp(1.12rem, 5vw, 1.35rem);
  }

  .lead {
    font-size: 1.02rem;
    line-height: 1.65;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .section-heading h2 {
    margin-bottom: 14px;
  }

  .section-heading p {
    font-size: 1rem;
  }

  .eyebrow {
    margin-bottom: 14px;
    font-size: 0.74rem;
    letter-spacing: 0.105em;
  }

  .header-inner {
    gap: 10px;
  }

  .logo {
    gap: 8px;
  }

  .logo-mark {
    width: 38px;
    height: 38px;
  }

  .logo-copy strong {
    font-size: 0.98rem;
  }

  .logo-copy span {
    font-size: 0.56rem;
    letter-spacing: 0.065em;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
  }

  .nav {
    top: var(--header-height);
    padding: 14px 16px max(28px, env(safe-area-inset-bottom));
  }

  .nav-list {
    gap: 4px;
  }

  .nav-link {
    min-height: 48px;
    padding-inline: 14px;
    border-radius: 11px;
    font-size: 0.98rem;
  }

  .nav-mobile-actions {
    gap: 10px;
    margin-top: 14px;
  }

  .btn {
    min-height: 48px;
    padding: 10px 17px;
    border-radius: 12px;
    font-size: 0.94rem;
    line-height: 1.25;
    white-space: normal;
    text-align: center;
    touch-action: manipulation;
  }

  .btn-sm {
    min-height: 44px;
  }

  .hero {
    padding: 42px 0 52px;
  }

  .hero-grid,
  .page-hero-grid {
    gap: 30px;
  }

  .hero-copy .lead {
    margin-bottom: 24px;
  }

  .hero-actions {
    gap: 10px;
    margin-bottom: 22px;
  }

  .hero-note {
    align-items: flex-start;
    font-size: 0.86rem;
  }

  .hero-card {
    width: min(100%, 420px);
    border-radius: 22px;
  }

  .floating-badge {
    max-width: calc(100% - 20px);
    padding: 10px 12px;
    font-size: 0.77rem;
  }

  .floating-badge.top {
    top: 10px;
    right: 8px;
  }

  .floating-badge.bottom {
    bottom: 12px;
    left: 8px;
  }

  .trust-bar {
    padding: 16px 0;
  }

  .trust-grid {
    gap: 12px;
  }

  .trust-item {
    min-width: 0;
    justify-content: flex-start;
    gap: 8px;
    font-size: 0.82rem;
    line-height: 1.35;
    text-align: left;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .grid-5,
  .values-grid,
  .contadores-benefits-grid,
  .stats,
  .steps,
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .card,
  .values-grid .card,
  .contadores-benefits-grid .card {
    min-height: 0;
    padding: 22px 20px;
  }

  .contadores-benefits-grid .card h3 {
    min-height: 0;
  }

  .icon-box {
    width: 48px;
    height: 48px;
    margin-bottom: 17px;
    border-radius: 13px;
  }

  .product-card > p,
  .grid-4 .product-card > p,
  .values-grid .card p,
  .contadores-benefits-grid .card p {
    max-width: none;
  }

  .comparison {
    border-radius: 20px;
  }

  .comparison-column {
    padding: 24px 20px;
  }

  .comparison-head {
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 16px;
  }

  .comparison-head h3 {
    margin-bottom: 4px;
  }

  .comparison-head p {
    line-height: 1.5;
  }

  .comparison-letter {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 14px;
    font-size: 1.12rem;
  }

  .helper-card {
    padding: 22px 20px;
  }

  .split {
    gap: 30px;
  }

  .panel {
    padding: 22px 19px;
    border-radius: 20px;
  }

  .form-grid {
    gap: 14px;
  }

  .form-control,
  select.form-control,
  textarea.form-control {
    min-width: 0;
    font-size: 16px;
  }

  .check-field {
    line-height: 1.45;
  }

  .step {
    min-width: 0;
    padding: 10px 0 8px 64px;
  }

  .step::before {
    position: absolute;
    top: 4px;
    left: 0;
    width: 46px;
    height: 46px;
    margin: 0;
    border-radius: 14px;
  }

  .step:not(:last-child)::after {
    top: 55px;
    left: 23px;
    width: 1px;
    height: calc(100% - 43px);
  }

  .step h3 {
    margin-bottom: 6px;
  }

  .feature-image {
    width: 100%;
    min-height: 0;
    padding: 14px;
    border-radius: 22px;
  }

  .feature-image.feature-image-poster,
  .feature-image.feature-image-flow,
  .contadores-ending-visual .feature-image-wide {
    width: 100%;
    max-width: 100%;
    border-radius: 22px;
  }

  .feature-image.feature-image-poster {
    padding: 0;
  }

  .page-hero {
    padding: 42px 0 48px;
  }

  .page-hero .lead {
    margin-bottom: 22px;
  }

  .breadcrumbs {
    margin-bottom: 16px;
    font-size: 0.78rem;
  }

  .page-hero-visual {
    width: 100%;
    max-width: 100%;
    padding: 18px;
    border-radius: 22px;
  }

  .page-hero-visual-photo,
  .page-hero-visual-contact,
  .page-hero-visual-banner {
    width: 100%;
    padding: 0;
  }

  body[data-page="sobre"] .page-hero-visual-photo {
    width: min(100%, 420px);
    aspect-ratio: 1 / 1;
    justify-self: center;
  }

  .info-band,
  .notice {
    gap: 10px;
    padding: 15px;
  }

  .timeline {
    gap: 16px;
  }

  .timeline-item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
  }

  .timeline::before {
    left: 19px;
  }

  .timeline-dot {
    width: 40px;
    height: 40px;
    border-width: 4px;
    font-size: 0.72rem;
  }

  .timeline-content {
    min-width: 0;
    padding: 17px 15px;
  }

  .accountant-flow-timeline .timeline-item {
    grid-template-columns: 39px minmax(0, 1fr);
  }

  .accountant-flow-timeline .timeline-content {
    padding: 16px 12px 16px 15px;
  }

  .accountant-flow-timeline .timeline-card-icon {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .accountant-flow-timeline .timeline-card-icon svg {
    width: 21px;
    height: 21px;
  }

  .faq-question {
    min-height: 62px;
    gap: 14px;
    padding: 15px 16px;
    line-height: 1.4;
  }

  .faq-answer {
    padding: 0 16px 17px;
  }

  .cta {
    padding: 32px 20px;
    border-radius: 22px;
  }

  .cta-inner {
    gap: 22px;
  }

  .cta-actions {
    width: 100%;
    margin-top: 20px;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .footer {
    padding: 54px 0 24px;
  }

  .footer-grid {
    gap: 30px;
    padding-bottom: 34px;
  }

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

  .footer-bottom {
    gap: 14px;
    padding-top: 20px;
  }

  .footer-legal {
    gap: 10px 16px;
  }

  .cookie-banner {
    right: 12px;
    bottom: calc(78px + env(safe-area-inset-bottom));
    left: 12px;
    max-width: none;
    padding: 18px;
  }

  .cookie-actions {
    display: grid;
  }

  .cookie-actions .btn {
    width: 100%;
  }

  .whatsapp-float {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    width: 54px;
    height: 54px;
  }

  .whatsapp-float svg {
    width: 26px;
  }

  .toast {
    right: 12px;
    left: 12px;
    top: calc(var(--header-height) + 12px);
    max-width: none;
  }

  .legal-content h2 {
    margin-top: 36px;
    font-size: 1.45rem;
  }

  p,
  li,
  a,
  button,
  label,
  .text-muted,
  .lead,
  .footer-contact,
  .footer-links {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 430px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .logo-copy span {
    font-size: 0.52rem;
  }

  .hero,
  .page-hero {
    padding-top: 36px;
  }

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

  .trust-item {
    min-height: 36px;
  }

  .hero-actions,
  .cta-actions,
  .form-actions,
  .actions,
  .center-actions {
    gap: 9px;
  }

  .comparison-column,
  .card,
  .values-grid .card,
  .contadores-benefits-grid .card,
  .panel {
    padding-inline: 17px;
  }

  .accountant-flow-timeline .timeline-content {
    align-items: flex-start;
  }

  .accountant-flow-timeline .timeline-card-icon {
    margin-top: 2px;
  }

  .page-hero-visual,
  .feature-image,
  .hero-card,
  .cta {
    border-radius: 20px;
  }
}

/* ===== Correção do menu mobile em tela cheia =====
   O backdrop-filter do header cria um containing block para elementos fixed
   em alguns navegadores móveis. Isso fazia o menu ficar limitado à altura
   do cabeçalho e ser encoberto pelo conteúdo da página. */
@media (max-width: 960px) {
  .header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: #001A30;
  }

  .header .nav {
    position: fixed;
    z-index: 1100;
    top: var(--header-height);
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    max-height: calc(100vh - var(--header-height));
    max-height: calc(100dvh - var(--header-height));
    padding: 18px 16px max(32px, env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: #001A30;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    pointer-events: none;
  }

  .header .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
  }

  body.menu-open .whatsapp-float,
  body.menu-open .cookie-banner {
    visibility: hidden;
    pointer-events: none;
  }

  .header .nav-list {
    width: 100%;
  }

  .header .nav-link {
    position: relative;
    z-index: 1;
  }
}

@media (max-width: 700px) {
  .header .nav {
    padding: 14px 16px max(28px, env(safe-area-inset-bottom));
  }
}
