#main-content {
  --landing-card-radius: 4rem;
  --landing-card-gray: #f6f5f6;
  --landing-card-gray-light: #faf9fa;
  --landing-card-lilac: #efe7f8;
  --landing-card-blue: #e1eff4;
  --landing-card-lime: #e9f2bf;
  --landing-carousel-margin: clamp(3.2rem, 4vw, 4.8rem);
  --landing-section-gap: clamp(8.4rem, 9vw, 11.6rem);
  position: relative;
  z-index: 1;
  background: #fff;
}

.landing-section {
  width: min(132rem, calc(100% - clamp(4rem, 7vw, 6rem)));
  margin-inline: auto;
  padding-block: var(--landing-section-gap) 0;
  scroll-margin-top: 10rem;
  color: #19171c;
  font: 400 clamp(1.6rem, 1.6vw, 2rem)/1.5 Inter, sans-serif;
}

#como-funciona { padding-block-start: calc(var(--landing-section-gap) - var(--landing-carousel-margin)); }
#contato { padding-block-end: var(--landing-section-gap); }
.landing-section .container-container-7.container { width: 100%; max-width: 100%; }
.landing-label { color: #7c2aab; font-weight: 600; }
.landing-section h2,
.landing-section h3 { font-family: Inter, sans-serif; letter-spacing: -.04em; }
.landing-section h2 { margin: 1rem 0 1.6rem; font-size: clamp(4rem, 6.5vw, 9rem); line-height: 1; }
.landing-section h3 { margin: .8rem 0 1.2rem; font-size: clamp(2.6rem, 3.5vw, 4.8rem); line-height: 1.08; }
.landing-section p { margin: 0; max-width: 56ch; text-wrap: pretty; }

.landing-price .landing-amount { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5em; }
.landing-amount strong { font: 800 clamp(3.6rem, 5vw, 7rem)/1 Inter, sans-serif; letter-spacing: -.05em; }
.landing-amount > span { font-size: 1.4rem; }
.landing-section .cartao-hero-trial { display: inline-flex; margin-top: 2.4rem; }
.landing-section .cartao-hero-trial .button-inner { background-color: #7c2aab; }

.landing-faq {
  --faq-inset: clamp(1.8rem, 3vw, 3rem);
  display: grid;
  gap: 1.2rem;
  max-width: 88rem;
  margin-inline: auto;
}
.landing-faq details { border-radius: 1.8rem; background: var(--landing-card-gray); }
.landing-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  padding: clamp(1.8rem, 2.5vw, 2.4rem) var(--faq-inset);
  cursor: pointer;
  font-size: clamp(1.8rem, 2vw, 2.2rem);
  font-weight: 700;
  line-height: 1.3;
}
.landing-faq summary::-webkit-details-marker { display: none; }
.landing-faq summary::after { content: "+"; flex: none; font-size: 1.25em; line-height: 1; color: #7c2aab; }
.landing-faq details[open] summary::after { content: "−"; }
.landing-faq p {
  box-sizing: content-box;
  padding: 0 var(--faq-inset) clamp(2rem, 3vw, 2.8rem);
  color: #514d55;
  font-size: clamp(1.6rem, 1.65vw, 1.8rem);
  line-height: 1.55;
}
.landing-help-action {
  display: flex;
  justify-content: center;
  margin-top: clamp(2.8rem, 4vw, 4rem);
}
@media (max-width: 600px) {
  .landing-help-action .button-inner { padding-inline: 2.4rem; }
}
#contato .landing-contact-card {
  gap: clamp(2rem, 3vw, 3.2rem);
  padding: clamp(4rem, 6vw, 7rem) clamp(2rem, 4vw, 4rem);
  border-radius: var(--landing-card-radius);
  background: var(--landing-card-lilac);
}
#contato .landing-plan-badge { background: #fff; }
#contato .section-centered-header { width: 100%; margin: 0; }
@media (max-width: 600px) {
  #contato .button-inner { padding-inline: 1.8rem; }
}

.landing-footer { position: sticky; bottom: 0; z-index: 0; background: #121014; color: #fff; font: 400 1.6rem/1.5 Inter, sans-serif; }
.landing-footer-inner {
  --footer-group-gap: clamp(2.4rem, 3vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: start;
  gap: var(--footer-group-gap);
  width: min(132rem, calc(100% - clamp(4rem, 7vw, 6rem)));
  margin-inline: auto;
  padding-block: clamp(4rem, 6vw, 8rem);
}
.landing-footer a { color: inherit; text-decoration: none; }
.landing-footer a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: .3rem; }
.landing-footer-brand { display: inline-block; }
.landing-footer p { margin: 1.2rem 0 0; color: #d3cfd6; }
.landing-footer nav { display: grid; grid-template-columns: repeat(2, max-content); column-gap: var(--footer-group-gap); }
.landing-footer-links { display: grid; align-content: start; gap: .8rem; }
.landing-footer-top { width: fit-content; }
.landing-footer-top .button-inner {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  box-shadow: inset 0 0 0 1px #ffffff40;
  background: transparent;
  color: #fff;
}
.landing-footer nav a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: .35em;
  transition: color .2s, text-decoration-color .2s;
}
.landing-footer nav a:focus-visible { text-decoration-color: currentColor; }
@media (min-width: 1025px) {
  .landing-footer-top .button-inner { padding-inline: 3.2rem; }
}
@media (hover: hover) and (pointer: fine) {
  .landing-footer nav a:hover { color: #e2c7ff; text-decoration-color: currentColor; }
  .landing-footer-top:hover .button-inner { background: #ffffff14; }
}

@media (max-width: 900px) {
  .landing-footer { position: static; }
  .landing-footer-inner { grid-template-columns: minmax(0, 1fr); }
  .landing-footer nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .landing-footer-links { grid-auto-rows: minmax(4.4rem, auto); gap: .4rem; }
  .landing-footer nav a { display: flex; align-items: center; }
}
@media (max-width: 1024px) {
  #main-content { --landing-card-radius: 3rem; }
}

/* Captured home sections and pricing blocks, scoped to the Cartão App landing. */
.landing-section .section-centered-header {
  padding-block: 0;
  margin-block-end: clamp(2.8rem, 4vw, 4.8rem);
}
.landing-section .section-centered-header h2 { margin-inline: auto; text-wrap: balance; }
#recursos-titulo,
#preco-titulo { max-inline-size: 64rem; }
#como-funciona.landing-section { margin-block: 0; }
.landing-section .section-centered-header-description { grid-column: 1 / -1; margin-inline: auto; max-width: none; text-wrap: balance; }
#como-funciona .visual-card-list-364 {
  --card-height: clamp(400px, 36vw, 480px);
  --stack-step: 25px;
  --stack-center-offset: -20px;
  gap: 2.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
#como-funciona .visual-card-365 {
  box-sizing: border-box;
  background: var(--landing-card-gray);
  border-radius: var(--landing-card-radius);
  height: var(--card-height);
  min-height: max-content;
  max-height: none;
  aspect-ratio: auto;
  padding-block: clamp(2.8rem, 3.8vw, 3.8rem) clamp(2.4rem, 3vw, 3.2rem);
}
#como-funciona .visual-card-365:nth-child(2) { background: var(--landing-card-lilac); }
#como-funciona .visual-card-365:nth-child(3) { background: var(--landing-card-blue); }
#como-funciona .visual-card-365:nth-child(4) { background: var(--landing-card-gray-light); }
#como-funciona .visual-card-header-368 {
  min-height: 13rem;
  padding: 1.8rem clamp(2rem, 4vw, 3.2rem) 0;
}
.step-art {
  position: relative;
  width: min(100%, 26rem);
  height: 11rem;
  display: grid;
  place-items: center;
  color: #241b2b;
  font: 500 1.3rem/1.2 Inter, sans-serif;
}
.step-art small { font-size: 1.1rem; font-weight: 700; }
.step-art-panel {
  display: grid;
  gap: .6rem;
  padding: 1.2rem;
  border: 1px solid #21122b15;
  border-radius: 1.4rem;
  background: #fff;
  box-shadow: 0 .6rem 1.8rem #281b3712;
}
.step-art-address .step-art-panel {
  width: min(100%, 22rem);
  padding-right: 2.8rem;
  transform: rotate(-4deg);
}
.step-art-address strong { color: #7c2aab; }
.step-art-check {
  position: absolute;
  right: 4%;
  bottom: 18%;
  display: grid;
  place-items: center;
  width: 3.6rem;
  aspect-ratio: 1;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #e9f2bf;
  color: #355022;
  font-weight: 700;
}
.step-art-editor .step-art-panel { justify-self: start; width: 72%; transform: rotate(-4deg); }
.step-art-field { padding: .5rem .6rem; border-radius: .5rem; background: #f4eef8; font-size: 1rem; }
.step-art-preview {
  position: absolute;
  right: 3%;
  bottom: 5%;
  display: grid;
  gap: .5rem;
  width: 35%;
  padding: .8rem;
  border: 2px solid #fff;
  border-radius: 1.3rem;
  background: #673b87;
  color: #fff;
  text-align: center;
  transform: rotate(7deg);
}
.step-art-preview span {
  height: 3.5rem;
  border-radius: .6rem;
  background: radial-gradient(circle at 70% 40%, #fbdcaa 14%, transparent 15%), linear-gradient(150deg, #c9e5e9 48%, #dab3e8 49%);
}
.step-art-preview strong,
.step-art-link strong { color: #fff; }
.step-art-share {
  grid-template-columns: repeat(3, max-content);
  place-content: center;
  gap: .9rem .5rem;
}
.step-art-share > span,
.step-art-interactions {
  padding: .8rem 1.2rem;
  border: 2px solid #fff;
  border-radius: 3rem;
  font-weight: 700;
  white-space: nowrap;
}
.step-art-share > span { padding: .8rem clamp(.65rem, 1.8vw, 1rem); font-size: clamp(1.1rem, 3.15vw, 1.3rem); }
.step-art-social { background: #efe7f8; transform: translateY(.15rem) rotate(-5deg); }
.step-art-message { background: #e9f2bf; transform: translateY(-.2rem) rotate(4deg); }
.step-art-google {
  z-index: 1;
  margin-inline-start: -.9rem;
  background: #fbe6c6;
  transform: translateY(.2rem) rotate(-4deg);
}
.step-art-share > .step-art-link {
  grid-column: 1 / -1;
  padding: .95rem 1.5rem;
  background: #26627c;
  color: #fff;
  transform: rotate(3deg);
}
.step-art-insights .step-art-panel {
  justify-self: start;
  width: 78%;
  background: #284633;
  color: #fff;
  transform: rotate(-4deg);
}
.step-art-chart { display: flex; align-items: end; gap: .55rem; height: 3.8rem; }
.step-art-chart i { flex: 1; height: 35%; border-radius: .3rem .3rem 0 0; background: #d5e77a; }
.step-art-chart i:nth-child(2) { height: 55%; }
.step-art-chart i:nth-child(3) { height: 45%; }
.step-art-chart i:nth-child(4) { height: 75%; }
.step-art-chart i:nth-child(5) { height: 65%; }
.step-art-chart i:nth-child(6) { height: 100%; }
.step-art-interactions { position: absolute; bottom: 8%; right: 2%; background: #fae0d9; transform: rotate(6deg); }
@media (prefers-reduced-motion: no-preference) {
  .step-art {
    --step-art-cycle: 3.2s;
    --step-art-start: -650ms;
  }
  .step-art-address .step-art-panel {
    animation: step-art-lift var(--step-art-cycle) var(--ease-in-out) var(--step-art-start) infinite;
  }
  .step-art-check {
    animation: step-art-confirm var(--step-art-cycle) var(--ease-out) calc(var(--step-art-start) + 220ms) infinite;
  }
  .step-art-preview,
  .step-art-interactions {
    animation: step-art-lift var(--step-art-cycle) var(--ease-in-out) var(--step-art-start) infinite;
  }
  .step-art-share > span {
    animation: step-art-sticker-pop var(--step-art-cycle) var(--ease-out) var(--step-art-start) infinite;
  }
  .step-art-field {
    animation: step-art-field-highlight var(--step-art-cycle) var(--ease-out) var(--step-art-start) infinite;
  }
  .step-art-field + .step-art-field,
  .step-art-share .step-art-message { animation-delay: calc(var(--step-art-start) + 150ms); }
  .step-art-share .step-art-google { animation-delay: calc(var(--step-art-start) + 300ms); }
  .step-art-preview { animation-delay: calc(var(--step-art-start) + 360ms); }
  .step-art-share .step-art-link { animation-delay: calc(var(--step-art-start) + 450ms); }
  .step-art-interactions { animation-delay: calc(var(--step-art-start) + 500ms); }
  .step-art-chart i {
    transform-origin: bottom;
    animation: step-art-bar-grow var(--step-art-cycle) var(--ease-in-out) var(--step-art-start) infinite;
  }
  .step-art-chart i:nth-child(even) { animation-delay: calc(var(--step-art-start) + 100ms); }
  @keyframes step-art-confirm {
    0%, 43%, 100% { scale: 1; }
    15%, 23% { scale: 1.4; }
  }
  @keyframes step-art-lift {
    0%, 50%, 100% { translate: 0 0; scale: 1; }
    18%, 27% { translate: 0 -2rem; scale: 1.08; }
  }
  @keyframes step-art-sticker-pop {
    0%, 44%, 100% { translate: 0 0; scale: 1; }
    16%, 23% { translate: 0 -1.55rem; scale: 1.12; }
  }
  @keyframes step-art-field-highlight {
    0%, 46%, 100% { scale: 1; }
    15%, 24% { scale: 1.1; }
  }
  @keyframes step-art-bar-grow {
    0%, 58%, 100% { scale: 1 1; }
    18%, 24% { scale: 1 .2; }
  }
}
#como-funciona .visual-card-title-370 {
  font-size: clamp(2.4rem, 2.7vw, 3.2rem);
  margin: 0;
  text-wrap: balance;
}
#como-funciona .visual-card-content-369 {
  align-items: center;
  gap: .9rem;
  padding-inline: clamp(2rem, 3.2vw, 3.6rem);
  text-align: center;
}
#como-funciona .visual-card-content-369 .landing-label { margin-bottom: .3rem; }
#como-funciona .cartao-hero-trial { margin-top: .5rem; }
@media (max-width: 1024px) {
  #como-funciona .step-art:not(.step-art-insights) {
    width: min(83.333%, 26rem);
    transform: scale(1.2);
  }
}
@media (min-width: 1025px) {
  .landing-section .section-centered-header-description { max-width: 44ch; }
  .step-art { transform: scale(1.3); }
  #como-funciona .step-art:not(.step-art-insights) { transform: scale(1.48); }
}
@media (prefers-reduced-motion: no-preference) {
  #como-funciona .visual-card-list-364 {
    --stack-top: max(0px, (100svh - var(--card-height)) / 2 + var(--stack-center-offset));
    gap: 0;
  }
  #como-funciona .visual-card-list-364::before { content: ""; flex: 0 0 30px; }
  #como-funciona .visual-card-365 { position: sticky; top: var(--stack-top); }
  #como-funciona .visual-card-365:first-child {
    order: -1;
    margin-bottom: calc(3 * var(--stack-step));
  }
  #como-funciona .visual-card-365:nth-child(2) {
    top: calc(var(--stack-top) + var(--stack-step));
    margin-bottom: calc(2 * var(--stack-step));
  }
  #como-funciona .visual-card-365:nth-child(3) {
    top: calc(var(--stack-top) + 2 * var(--stack-step));
    margin-bottom: var(--stack-step);
  }
  #como-funciona .visual-card-365:nth-child(4) { top: calc(var(--stack-top) + 3 * var(--stack-step)); }
}
#recursos .visual-list-399 {
  --resource-gap: clamp(1.2rem, 2vw, 2.4rem);
  cursor: default;
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(26rem, (100% - 2 * var(--resource-gap)) / 3)), 1fr));
  gap: var(--resource-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
#recursos .icons-list-list-element-400 {
  --resource-icon-background: var(--landing-card-lilac);
  display: flex;
  flex-direction: column;
  width: auto;
  min-width: 0;
  gap: 2.8rem;
  padding: clamp(2.2rem, 3vw, 3.6rem) clamp(1.8rem, 2.6vw, 3.2rem);
  border-radius: var(--landing-card-radius);
  background: var(--landing-card-gray);
}
#recursos .icons-list-list-element-400:nth-child(3n + 2) { --resource-icon-background: var(--landing-card-blue); }
#recursos .icons-list-list-element-400:nth-child(3n) { --resource-icon-background: var(--landing-card-lime); }
@media (hover: hover) and (pointer: fine) {
  #recursos .icons-list-list-element-400 {
    transition: filter 180ms ease, opacity 180ms ease, scale 180ms ease;
  }
  #recursos .visual-list-399[data-resource-hover] > .icons-list-list-element-400:not([data-resource-active]) {
    filter: blur(2px);
    opacity: .5;
    scale: .96;
  }
}
#recursos .visual-list-element-title-401 {
  display: grid;
  justify-items: start;
  gap: 2.4rem;
  margin: 0;
  font-size: clamp(2.3rem, 2.5vw, 3.2rem);
  overflow-wrap: anywhere;
}
.landing-resource-icon {
  display: grid;
  place-items: center;
  width: 4.6rem;
  aspect-ratio: 1;
  border-radius: 1.4rem;
  background: var(--resource-icon-background);
}
.landing-resource-icon img { display: block; width: 24px; height: 24px; }
.landing-checklist {
  display: grid;
  gap: .5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
}
.landing-checklist > li {
  display: grid;
  grid-template-columns: 1.6rem minmax(0, 1fr);
  align-items: start;
  gap: .8rem;
}
.landing-checklist > li::before {
  content: "";
  box-sizing: border-box;
  justify-self: center;
  width: .6rem;
  height: 1rem;
  margin-top: .6rem;
  border: solid #7c2aab;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
#preco .landing-price {
  box-sizing: border-box;
  width: min(100%, 45rem);
  margin-inline: auto;
  gap: 2.4rem;
  padding: clamp(2.4rem, 5vw, 4rem);
  border-radius: var(--landing-card-radius);
  background: var(--landing-card-gray-light);
}
.landing-section .section-centered-header-tag .pill-tag,
.landing-section .landing-plan-badge {
  background: var(--landing-card-lilac);
}
.landing-section .landing-plan-badge {
  display: inline-block;
  margin: 0;
  padding: .7rem 1.4rem;
  border-radius: 5rem;
  font-size: 1.8rem;
  font-family: Inter, sans-serif;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.04em;
}
#preco .landing-price .cartao-hero-trial {
  align-self: stretch;
  margin: 0;
}
#preco .landing-price .button-inner { width: 100%; justify-content: center; }
@media (max-width: 600px) {
  .landing-price .cartao-hero-trial .button-inner { padding-inline: clamp(1.6rem, 6vw, 3rem); }
}
@media (max-width: 360px) {
  .cartao-hero .cartao-hero-trial .button-inner,
  #como-funciona .cartao-hero-trial .button-inner { padding-inline: 3rem; }
}
#como-funciona .visual-card-description-371 {
  max-width: 35ch;
  color: #514d55;
  font-size: clamp(1.6rem, 1.45vw, 1.8rem);
  line-height: 1.45;
  text-wrap: balance;
}
#como-funciona .visual-card-title-370 { color: #19171c; background: transparent; padding: 0; }

/* Tipografia uniforme e quebras dirigidas apenas em telas largas. */
#main-content .landing-section h2 {
  font: 800 clamp(3.2rem, 7.5vw, 7.2rem) / 95% Inter, sans-serif;
  letter-spacing: -.04em;
}
@media (max-width: 1024px) {
  #main-content .landing-section h2 {
    font: 800 clamp(3.8rem, 7.5vw, 7.2rem) / 95% Inter, sans-serif;
  }
}
@media (max-width: 900px) {
  #como-titulo .como-quebra-desktop { display: none; }
}

@media (max-height: 480px) {
  .landing-footer { position: static; }
}
