:root {
  --pe-purple: #25129d;
  --pe-purple-dark: #170b69;
  --pe-navy: #00182e;
  --pe-cyan: #03a7e3;
  --pe-ink: #14233b;
  --pe-muted: #667085;
  --pe-line: #dce3ed;
  --pe-surface: #f5f7fb;
  --pe-white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--pe-ink); background: var(--pe-surface); font-family: Montserrat, Arial, sans-serif; }
button, input { font: inherit; }
button { cursor: pointer; }

.pe-page { min-height: 100vh; overflow: hidden; }
.pe-shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.pe-hero {
  min-height: 480px;
  color: var(--pe-white);
  background:
    linear-gradient(90deg, rgba(0,24,46,.98) 0%, rgba(0,24,46,.91) 38%, rgba(23,11,105,.58) 72%, rgba(37,18,157,.38) 100%),
    url("https://contabilizedigital.com.br/wp-content/uploads/2026/09/abertura-de-empresa-contabilize-digital-desktop.png") 68% center / cover no-repeat;
}
.pe-hero__inner { padding: 72px 0 48px; }
.pe-eyebrow, .pe-kicker { color: var(--pe-cyan); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.pe-hero h1 { max-width: 700px; margin: 13px 0 12px; font-size: clamp(34px, 5vw, 62px); line-height: 1.02; letter-spacing: -.03em; }
.pe-hero p { max-width: 680px; margin: 0; color: rgba(255,255,255,.82); font-size: 16px; line-height: 1.7; }
.pe-steps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.pe-step { display: inline-flex; align-items: center; gap: 9px; padding: 10px 13px; color: rgba(255,255,255,.68); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; font-size: 11px; font-weight: 600; }
.pe-step b { color: #9aa4b2; font-size: 10px; }
.pe-step--active { color: var(--pe-white); border-color: rgba(3,167,227,.7); background: rgba(255,255,255,.08); }

.pe-workspace { padding: 42px 0 76px; }
.pe-search-card, .pe-results { background: var(--pe-white); border: 1px solid var(--pe-line); border-radius: 18px; box-shadow: 0 18px 50px rgba(0,24,46,.08); }
.pe-search-card { padding: 30px; }
.pe-search-card__top, .pe-results__heading { display: flex; align-items: flex-start; justify-content: center; gap: 20px; }
.pe-search-card__top { text-align: center; }
.pe-results__heading { justify-content: flex-start; text-align: left; }
.pe-results__heading .pe-kicker { color: #8c95a4; }
.pe-search-card__top > div { width: 100%; }
.pe-search-card__logo { display: block; width: 130px; height: auto; flex: 0 0 auto; }
.pe-search-card h2, .pe-results h2, .pe-empty h2 { margin: 8px 0 6px; color: var(--pe-purple); font-size: clamp(21px, 3vw, 30px); line-height: 1.15; }
.pe-search-card .pe-kicker { color: #8c95a4; }
.pe-search-card p { margin: 0; color: var(--pe-muted); font-size: 13px; line-height: 1.6; }
.pe-counter { padding: 9px 12px; color: var(--pe-purple); background: #f0edff; border-radius: 8px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.pe-search { display: flex; align-items: center; gap: 12px; margin-top: 26px; padding: 0 15px; border: 2px solid #cfd7e5; border-radius: 12px; transition: border-color .2s, box-shadow .2s; }
.pe-search:focus-within { border-color: var(--pe-cyan); box-shadow: 0 0 0 4px rgba(3,167,227,.12); }
.pe-search__icon { color: var(--pe-purple); font-size: 26px; line-height: 1; transform: rotate(-20deg); }
.pe-search input { width: 100%; min-height: 54px; border: 0; outline: 0; color: var(--pe-ink); background: transparent; font-size: 14px; }
.pe-clear { display: inline-grid; place-items: center; width: 28px; height: 28px; padding: 0; color: #8c95a4; border: 0; background: transparent; font-size: 22px; font-weight: 500; line-height: 1; cursor: pointer; }
.pe-clear:hover, .pe-clear:focus-visible { color: #667085; }
.pe-search-help { margin-top: 8px; color: var(--pe-muted); font-size: 11px; }
.pe-suggestions { display: grid; gap: 8px; margin-top: 14px; }
.pe-suggestion { display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 16px; width: 100%; padding: 14px 16px; color: var(--pe-ink); text-align: left; border: 1px solid var(--pe-line); border-radius: 10px; background: #fff; transition: transform .18s, border-color .18s, background .18s; }
.pe-suggestion:hover, .pe-suggestion:focus-visible { border-color: var(--pe-cyan); background: #f7fdff; transform: translateY(-1px); outline: 0; }
.pe-suggestion__code { color: var(--pe-purple); font-size: 12px; font-weight: 800; }
.pe-suggestion__text { font-size: 12px; line-height: 1.45; }
.pe-suggestion__text strong { display: block; font-weight: 800; }
.pe-suggestion__text small { display: block; margin-top: 3px; color: #667085; font-size: 10px; line-height: 1.45; }
.pe-suggestion__count { color: var(--pe-purple) !important; font-weight: 700; }
.pe-suggestion__arrow { color: #8c95a4; font-size: 18px; }
.pe-no-results { padding: 20px 0 4px; color: var(--pe-muted); font-size: 13px; }

.pe-results { margin-top: 22px; padding: 30px; }
.pe-results__heading h2 { max-width: 720px; }
.pe-result-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }
.pe-chip { padding: 8px 10px; color: var(--pe-purple); background: #f0edff; border-radius: 7px; font-size: 11px; font-weight: 700; }
.pe-result-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pe-result-group { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 14px; border: 1px solid #e3e7ef; border-radius: 12px; background: #f8faff; }
.pe-result-group__title { grid-column: 1 / -1; color: var(--pe-muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pe-result-item { position: relative; min-width: 0; padding: 18px 48px 16px 16px; border: 1px solid var(--pe-line); border-radius: 11px; background: #fbfcff; }
.pe-result-item--wide { grid-column: 1 / -1; }
.pe-result-item__label { display: block; margin-bottom: 7px; color: var(--pe-muted); font-size: 10px; font-weight: 800; letter-spacing: .02em; text-transform: none; }
.pe-result-item__value { display: block; color: var(--pe-ink); font-size: 13px; line-height: 1.55; overflow-wrap: anywhere; }
.pe-result-item__value--chip { display: inline-flex; width: fit-content; max-width: 100%; padding: 7px 10px; color: var(--pe-purple); border: 1px solid #dcd6ff; border-radius: 7px; background: #f0edff; font-size: 11px; font-weight: 800; line-height: 1.25; }
.pe-copy { position: absolute; top: 14px; right: 12px; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; color: #667085; border: 0; border-radius: 6px; background: #eef1f5; }
.pe-copy svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.pe-copy:hover { background: #dcd6ff; }
.pe-notice { margin-top: 20px; padding: 13px 15px; color: #5f5a32; border-left: 3px solid #e5c84c; background: #fffbe6; font-size: 11px; line-height: 1.6; }
.pe-button { min-height: 42px; padding: 0 18px; border-radius: 8px; font-size: 11px; font-weight: 800; letter-spacing: .01em; }
.pe-button--primary { color: var(--pe-white); border: 0; background: var(--pe-purple); }
.pe-button--primary:hover { background: #3018c4; }
.pe-button--ghost { margin-top: 20px; color: var(--pe-purple); border: 1px solid #c6c0ef; background: transparent; }
.pe-button--ghost:hover { background: #f4f2ff; }
.pe-empty { padding: 50px 20px 12px; text-align: center; }
.pe-empty__mark { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 18px; color: var(--pe-white); border-radius: 16px; background: linear-gradient(135deg, var(--pe-cyan), var(--pe-purple)); font-size: 12px; font-weight: 800; }
.pe-empty p { max-width: 560px; margin: 0 auto; color: var(--pe-muted); font-size: 13px; line-height: 1.7; }
.pe-recent { position: relative; isolation: isolate; overflow: hidden; padding: 76px 0 84px; color: var(--pe-white); background: linear-gradient(118deg, #121e2f 0%, #121e2f 40%, #1d167e 72%, #25129d 100%); }
.pe-recent::after { position: absolute; z-index: -1; inset: 0; content: ""; opacity: .07; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E"); mix-blend-mode: soft-light; }
.pe-recent > .pe-shell { position: relative; z-index: 1; }
.pe-recent__heading { max-width: 620px; }
.pe-recent__heading h2 { margin: 10px 0 8px; color: var(--pe-white); font-size: clamp(28px, 4vw, 44px); line-height: 1.08; }
.pe-recent__heading p { margin: 0; color: rgba(255,255,255,.74); font-size: 14px; line-height: 1.6; }
.pe-recent__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 32px; }
.pe-recent-card { display: flex; min-height: 238px; flex-direction: column; align-items: flex-start; justify-content: flex-start; padding: 20px; color: var(--pe-white); text-align: left; border: 1px solid rgba(255,255,255,.22); border-radius: 14px; background: rgba(255,255,255,.09); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.pe-recent-card:hover, .pe-recent-card:focus-visible { border-color: rgba(255,255,255,.58); background: rgba(255,255,255,.16); outline: 0; transform: translateY(-3px); }
.pe-recent-card__icon { display: grid; place-items: center; width: 38px; height: 38px; color: #fff; border: 1px solid rgba(3,167,227,.48); border-radius: 10px; background: rgba(3,167,227,.1); }
.pe-recent-card__icon i { font-size: 18px; line-height: 1; }
.pe-recent-card__label { color: #c3c9d2; font-size: 10px; font-weight: 800; letter-spacing: .11em; }
.pe-recent-card__icon + .pe-recent-card__label { margin-top: 14px; }
.pe-recent-card strong { max-width: 250px; margin: 7px 0 8px; font-size: 16px; font-weight: 800; line-height: 1.25; }
.pe-recent-card__description { color: rgba(255,255,255,.78); font-size: 11px; line-height: 1.5; }
.pe-recent-card__meta { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; padding-top: 14px; color: rgba(255,255,255,.78); font-size: 9px; line-height: 1.35; }
.pe-recent-card__meta b, .pe-recent-card__meta em { display: inline-flex; align-items: center; min-height: 22px; padding: 4px 6px; border: 1px solid rgba(255,255,255,.2); border-radius: 6px; background: rgba(255,255,255,.09); font-style: normal; }
.pe-recent-card__meta b { color: var(--pe-cyan); border-color: rgba(3,167,227,.42); background: rgba(3,167,227,.1); font-weight: 800; }
.pe-footer { padding: 22px 0; color: rgba(255,255,255,.72); background: var(--pe-navy); font-size: 10px; }
.pe-footer .pe-shell { display: flex; justify-content: space-between; gap: 20px; }
.pe-section-divider { width: 100%; height: 42px; background: #059cd8 url("https://contabilizedigital.com.br/wp-content/uploads/2025/10/site-contabilidaee-6.png") center / cover no-repeat; }

@media (min-width: 901px) {
  .pe-search-card__top { justify-content: space-between; text-align: left; }
  .pe-search-card__top > div { width: auto; flex: 1 1 auto; }
  .pe-hero__inner { text-align: left; }
  .pe-hero h1, .pe-hero p { margin-right: 0; margin-left: 0; }
  .pe-steps { justify-content: flex-start; }
  .pe-recent > .pe-shell { width: min(1120px, calc(100% - 40px)); margin-right: auto; margin-left: auto; }
  .pe-recent__grid { gap: 12px; margin-top: 24px; }
  .pe-recent-card { min-height: 210px; padding: 16px; }
  .pe-recent-card__icon { width: 34px; height: 34px; }
  .pe-recent-card__icon i { font-size: 16px; }
  .pe-recent-card__icon + .pe-recent-card__label { margin-top: 10px; }
  .pe-recent-card strong { margin: 6px 0 7px; font-size: 14px; }
  .pe-recent-card__description { font-size: 10px; line-height: 1.4; }
  .pe-recent-card__meta { gap: 4px; padding-top: 10px; font-size: 8px; }
  .pe-recent-card__meta b, .pe-recent-card__meta em { min-height: 20px; padding: 3px 5px; }
}

@media (max-width: 700px) {
  .pe-shell { width: min(100% - 24px, 560px); }
  .pe-hero {
    min-height: 720px;
    background:
      linear-gradient(180deg, rgba(0,24,46,.08) 0%, rgba(0,24,46,.18) 28%, rgba(0,24,46,.94) 63%, rgba(0,24,46,1) 100%),
      url("https://contabilizedigital.com.br/wp-content/uploads/2025/10/abrir-empresa-contabilize-digital-mobile-3.png") center top / cover no-repeat;
  }
  .pe-hero__inner { padding: 360px 0 42px; text-align: center; }
  .pe-eyebrow { font-size: 10px; }
  .pe-hero h1 { font-size: 34px; }
  .pe-hero p { font-size: 13px; line-height: 1.6; }
  .pe-steps { justify-content: center; }
  .pe-step { font-size: 10px; }
  .pe-workspace { padding: 20px 0 48px; }
  .pe-search-card, .pe-results { padding: 20px 16px; border-radius: 14px; }
  .pe-search-card__top, .pe-results__heading { display: block; }
  .pe-search-card__logo { display: none; }
  .pe-search input { min-height: 48px; font-size: 13px; }
  .pe-suggestion { grid-template-columns: 1fr auto; gap: 8px 12px; }
  .pe-suggestion__code { grid-column: 1 / -1; }
  .pe-suggestion__text { grid-column: 1; }
  .pe-suggestion__arrow { grid-column: 2; grid-row: 2; }
  .pe-results__heading .pe-button { width: 100%; margin-top: 16px; }
  .pe-result-list { grid-template-columns: 1fr; }
  .pe-result-group { grid-template-columns: 1fr; }
  .pe-result-group__title { grid-column: auto; }
  .pe-result-item--wide { grid-column: auto; }
  .pe-recent { padding: 52px 0 58px; background: linear-gradient(155deg, #121e2f 0%, #121e2f 42%, #1d167e 75%, #25129d 100%); }
  .pe-recent__heading { text-align: center; }
  .pe-recent__heading h2 { font-size: 30px; }
  .pe-recent__heading p { font-size: 12px; }
  .pe-recent__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
  .pe-recent-card { min-height: 222px; padding: 15px; }
  .pe-recent-card__icon { width: 34px; height: 34px; }
  .pe-recent-card__icon svg { width: 18px; height: 18px; }
  .pe-recent-card strong { margin: 7px 0 8px; font-size: 13px; }
  .pe-recent-card__description { font-size: 10px; line-height: 1.45; }
  .pe-recent-card__meta { padding-top: 10px; font-size: 8px; }
  .pe-section-divider { height: 28px; background-size: auto 100%; }
  .pe-footer .pe-shell { display: block; text-align: center; }
  .pe-footer .pe-shell span { display: block; }
  .pe-footer .pe-shell span + span { margin-top: 7px; }
}
