:root {
  color-scheme: dark;
  --text: #f7f1e7;
  --muted: #c8c0b4;
  --gold: #e6bb69;
  --line: #423b31;
  font-family: system-ui, sans-serif;
  background: #161411;
  color: var(--text);
}
* { box-sizing: border-box; }
body { margin: 0; }
.saas-header { border-bottom: 1px solid var(--line); padding: 1.25rem max(5vw, 1rem); }
.saas-header a { color: var(--text); font-size: 1.2rem; text-decoration: none; }
.saas-header strong { color: var(--gold); }
main { width: min(1150px, 90%); margin: 3rem auto; }
h1, h2, h3, p { margin: 0 0 1rem; overflow-wrap: anywhere; }
h1 { font: 700 clamp(2.2rem, 5vw, 4.4rem)/1.05 Georgia, serif; }
h2 { font: 700 1.8rem Georgia, serif; margin-top: 1.5rem; }
p { color: var(--muted); line-height: 1.55; }
a { color: var(--gold); }
.saas-hero { align-items: center; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 5vw, 4rem); margin-bottom: 3rem; }
.saas-hero img { width: 100%; max-height: 430px; object-fit: cover; border-radius: 1rem; }
.saas-card { background: #232019; border: 1px solid var(--line); padding: clamp(1rem, 3vw, 2rem); border-radius: .9rem; }
.saas-card h2 { margin-top: 0; }
form.saas-card { max-width: 780px; margin: 1.5rem auto; }
.saas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 1rem; }
.saas-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .7rem; }
label { display: block; margin: .5rem 0 1rem; color: var(--muted); }
input, select, textarea { font: inherit; color: var(--text); background: #161411; border: 1px solid var(--line); border-radius: .4rem; padding: .65rem; }
input:not([type=checkbox]), select, textarea { width: 100%; display: block; margin: .35rem 0 .8rem; }
.saas-toolbar input { flex: 1; width: auto; }
.saas-button, .saas-secondary { display: inline-block; cursor: pointer; font: 700 1rem system-ui; border: 1px solid var(--gold); border-radius: .45rem; padding: .65rem .9rem; text-decoration: none; margin: .3rem .3rem .3rem 0; }
.saas-button { background: var(--gold); color: #211b13; }
.saas-secondary { background: transparent; color: var(--gold); }
:focus-visible { outline: 2px solid #fff1d0; outline-offset: 3px; }
.trap { position: absolute; left: -10000px; }
#saas-message { margin: 1rem 0; }
@media (max-width: 680px) {
  main { margin-top: 2rem; }
  .saas-hero { grid-template-columns: 1fr; }
}

.saas-header-inner {
  margin-inline: auto;
  max-width: 1150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.saas-header .saas-brand { display: inline-flex; align-items: center; gap: .7rem; font-weight: 760; letter-spacing: -.045em; }
.saas-brand strong { margin-left: .15em; }
.saas-brand-mark { display: grid; place-items: center; width: 2.15rem; aspect-ratio: 1; border: 1px solid #8a7045; border-radius: .45rem; color: var(--gold); font: 700 .8rem Georgia, serif; letter-spacing: -.04em; }
.saas-header nav { display: flex; align-items: center; gap: clamp(.7rem, 3vw, 1.8rem); }
.saas-header nav a { font-size: .85rem; font-weight: 650; }
.saas-header .saas-nav-access { border: 1px solid var(--line); border-radius: .45rem; padding: .6rem .8rem; }
.saas-header nav a:hover, .saas-text-link:hover { color: var(--gold); }

[data-view="portal"] { background: radial-gradient(ellipse at 77% 10%, #292117 0, #171512 42%, #141310 75%); }
[data-view="portal"] main { margin-block: clamp(2.55rem, 6vw, 5rem) 3.5rem; }
[data-view="portal"] .saas-hero { gap: clamp(2rem, 5vw, 4rem); margin-bottom: clamp(3rem, 8vw, 6rem); }
.saas-hero h1 { letter-spacing: -.07em; text-wrap: balance; }
.saas-hero h1 em { color: var(--gold); font-weight: inherit; }
.saas-hero p { max-width: 40ch; font-size: clamp(1rem, 1.4vw, 1.13rem); }
[data-view="portal"] .saas-hero img { display: block; height: clamp(240px, 31vw, 430px); border: 1px solid var(--line); border-radius: .8rem; object-position: center; box-shadow: 0 24px 65px #08070566; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.2rem; margin-top: 1.55rem; }
[data-view="portal"] .saas-button { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 44px; margin: 0; padding-inline: 1rem; font-size: .9rem; }
[data-view="portal"] .saas-button:hover { background: #f3cb85; }
.saas-text-link { color: var(--text); font-size: .9rem; text-underline-offset: .25em; }

.pricing-section { padding-block-start: clamp(1.7rem, 4vw, 3rem); border-top: 1px solid var(--line); }
.pricing-heading { text-align: center; margin-bottom: 1.75rem; }
.pricing-heading h2, #find-shop h2 { letter-spacing: -.04em; }
.pricing-heading h2 { margin: 0 0 .45rem; font-size: clamp(2rem, 4vw, 3rem); }
.pricing-heading p { margin: 0; }
.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.9rem, 2.2vw, 1.55rem);
  align-items: stretch;
  padding-top: 1.85rem;
}
.pricing-card {
  position: relative;
  min-width: 0;
  padding: clamp(1.3rem, 3vw, 2.25rem);
  border: 1px solid #62543e;
  border-radius: 1rem;
  background: linear-gradient(150deg, #2d2921, #1b1915 76%);
  box-shadow: 0 12px 30px #0a080545;
}
.pricing-card.pricing-featured {
  border-color: #fff0c7;
  background: linear-gradient(140deg, #fff0c7, #e7b96c 85%);
  color: #23180d;
  box-shadow: 0 12px 42px #c48c4138, 0 0 0 4px #e6b76c33;
}
.pricing-recommended {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -55%);
  white-space: nowrap;
  border: 1px solid #f5d69d;
  border-radius: 999px;
  background: #302216;
  color: #ffe6b5;
  padding: .4rem .85rem;
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .025em;
}
.pricing-card h3 { margin-bottom: .65rem; font-size: clamp(1.1rem, 1.6vw, 1.28rem); }
.pricing-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .5rem; margin: 0; line-height: 1.1; }
.pricing-price strong { color: var(--text); font-size: clamp(1.85rem, 3.5vw, 3rem); font-weight: 750; letter-spacing: -.065em; white-space: nowrap; }
.pricing-price span { font-size: .875rem; }
.pricing-features { list-style: none; padding: 1.25rem 0 0; margin: 1.25rem 0 0; border-top: 1px solid #b79a6455; }
.pricing-features li { display: flex; align-items: center; gap: .65rem; min-height: 1.6rem; font-size: .93rem; color: var(--muted); }
.pricing-features li + li { margin: .55rem 0 0; }
.pricing-features li::before {
  content: "";
  flex: 0 0 .45rem;
  height: .72rem;
  border: solid var(--gold);
  border-width: 0 2px 2px 0;
  transform: translateY(-.13rem) rotate(43deg);
}
.pricing-featured .pricing-price strong { color: #241506; }
.pricing-featured .pricing-price span, .pricing-featured .pricing-features li { color: #492e17; }
.pricing-featured .pricing-features { border-color: #6d462c55; }
.pricing-featured .pricing-features li::before { border-color: #704821; }

@media (min-width: 761px) {
  .pricing-featured { transform: translateY(-.55rem); }
}

#find-shop { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 1rem 2rem; max-width: none; margin: 2.25rem 0 0; background: #1c1a16; }
#find-shop h2 { margin: 0 0 .35rem; font-size: 1.65rem; }
#find-shop p { margin: 0; font-size: .9rem; }
.shop-fields { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: .65rem; }
.shop-fields label { margin: 0; font-size: .83rem; }
.shop-fields input { margin: .35rem 0 0; min-height: 44px; }
.shop-fields input::placeholder { color: #a39a8c; }

@media (max-width: 760px) {
  .pricing-grid { grid-template-columns: 1fr; gap: 1.4rem; padding-top: .5rem; }
  .pricing-featured { margin-block-start: .45rem; }
  #find-shop { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .saas-header nav a[href="#planos"] { display: none; }
  .shop-fields { grid-template-columns: 1fr; }
  .shop-fields button { justify-self: start; }
}
