/* Servia — design system do site comercial */
:root {
  --font-body: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", "DM Sans", system-ui, sans-serif;

  --bg: #07100e;
  --bg-soft: #0a1512;
  --surface: #0d1915;
  --surface-raised: #11211b;
  --surface-hover: #15271f;
  --border: #23342d;
  --border-strong: #32473d;
  --text: #eaf3ee;
  --text-soft: #c2d1ca;
  --muted: #91a29a;
  --muted-strong: #b1c0b9;
  --accent: #b9ef83;
  --accent-ink: #0b1b10;
  --accent-soft: rgba(185, 239, 131, 0.12);
  --accent-line: rgba(185, 239, 131, 0.34);
  --danger: #f2a89b;
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 20px 60px rgba(0, 0, 0, 0.3);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --header-height: 76px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

a:not(.button):not(.brand):hover {
  color: var(--accent);
}

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

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  border-bottom: 1px solid rgba(35, 52, 45, 0.85);
  background: rgba(7, 16, 14, 0.88);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.brand-text strong,
.brand-text small {
  display: block;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.brand-text small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 500;
}

.nav-links a:not(.button) {
  transition: color 0.18s ease;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.button svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 10px 28px rgba(185, 239, 131, 0.12);
}

.button-primary:hover {
  background: #c9f79a;
  color: var(--accent-ink);
}

.button-ghost {
  border-color: var(--border-strong);
  background: rgba(17, 33, 27, 0.6);
  color: var(--text);
}

.button-ghost:hover {
  border-color: var(--accent-line);
  background: var(--surface-hover);
  color: var(--text);
}

.button-small {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 13px;
}

.button-full {
  width: 100%;
}

.button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 104px;
  background:
    radial-gradient(circle at 78% 12%, rgba(185, 239, 131, 0.07), transparent 32%),
    var(--bg);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(145, 162, 154, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(145, 162, 154, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent 80%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.hero-orb-one {
  top: -220px;
  right: -140px;
  width: 460px;
  height: 460px;
  background: rgba(185, 239, 131, 0.08);
}

.hero-orb-two {
  bottom: -260px;
  left: -180px;
  width: 420px;
  height: 420px;
  background: rgba(104, 156, 126, 0.08);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: 72px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow svg,
.section-kicker svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.hero h1 {
  margin: 18px 0 22px;
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.hero h1 span {
  color: var(--accent);
}

.hero-lead {
  max-width: 590px;
  margin: 0;
  color: var(--muted-strong);
  font-size: 17px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-points {
  display: grid;
  gap: 10px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted-strong);
  font-size: 14px;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-points svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: var(--accent);
}

.hero-showcase {
  position: relative;
  min-width: 0;
}

.browser-frame {
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.browser-bar {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  border-bottom: 1px solid var(--border);
  background: #0b1512;
}

.browser-dots {
  display: flex;
  gap: 5px;
}

.browser-dots i,
.browser-mini-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3a4b44;
}

.browser-url {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.browser-lock {
  display: grid;
  place-items: center;
  color: var(--accent);
}

.browser-lock svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.browser-frame-hero {
  max-width: 500px;
  margin-left: auto;
}

.browser-frame-hero img {
  width: 100%;
  height: min(64vh, 560px);
  object-fit: contain;
  object-position: top center;
  background: #07100e;
}

.floating-note {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 11px;
  max-width: 230px;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: rgba(13, 25, 21, 0.96);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.floating-note-one {
  top: 16%;
  left: -26px;
}

.floating-note-two {
  right: -14px;
  bottom: 13%;
}

.floating-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent);
}

.floating-icon-blue {
  background: rgba(143, 156, 255, 0.14);
  color: #aab4ff;
}

.floating-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.floating-note strong,
.floating-note small {
  display: block;
}

.floating-note strong {
  font-size: 13px;
}

.floating-note small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

/* Trust strip */
.trust-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}

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

.trust-grid > div {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 600;
}

.trust-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
  color: var(--accent);
}

.trust-icon svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

/* Sections */
.section {
  padding: 104px 0;
}

.section-alt {
  background: var(--bg-soft);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 42px;
}

.section-head h2 {
  margin: 12px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 42px);
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.section-head p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

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

.gallery-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.gallery-note svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  fill: var(--accent);
}

.demo-credit {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.gallery-item {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.gallery-item:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.gallery-wide {
  grid-column: 1 / -1;
}

.gallery-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  overflow: hidden;
}

.browser-mini {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #07100e;
}

.browser-mini-bar {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  height: 28px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  background: rgba(11, 21, 18, 0.94);
  border-bottom: 1px solid var(--border);
}

.browser-mini img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.38;
  object-fit: contain;
  padding-top: 28px;
  background: #07100e;
}

.gallery-wide .browser-mini img {
  aspect-ratio: 2.45;
}

.gallery-zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(7, 16, 14, 0.88);
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.gallery-zoom svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.gallery-trigger:hover .gallery-zoom,
.gallery-trigger:focus-visible .gallery-zoom {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 4px 4px;
}

.gallery-item figcaption strong {
  font-family: var(--font-display);
  font-size: 15px;
}

.gallery-item figcaption span {
  color: var(--muted);
  font-size: 12px;
}

.gallery-note {
  margin-top: 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.feature-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--accent-line);
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.feature-card h3 {
  margin: 20px 0 9px;
  font-family: var(--font-display);
  font-size: 18px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 24px 20px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.steps li > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 16px;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
}

.steps h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 16px;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

/* Plans */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 860px;
  margin-inline: auto;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.plan-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.plan-card.plan-featured {
  border-color: var(--accent-line);
  box-shadow: 0 18px 60px rgba(185, 239, 131, 0.06);
}

.plan-featured-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 700;
}

.plan-badge {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.plan-card h3 {
  margin: 12px 0 6px;
  font-family: var(--font-display);
  font-size: 28px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 14px 0 2px;
}

.plan-price strong {
  font-family: var(--font-display);
  font-size: 34px;
  letter-spacing: -0.03em;
}

.plan-price span {
  color: var(--muted);
  font-size: 14px;
}

.plan-setup {
  margin: 0 0 22px;
  color: var(--muted-strong);
  font-size: 13px;
}

.plan-card ul {
  display: grid;
  gap: 11px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  color: var(--text-soft);
  font-size: 14px;
}

.plan-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.plan-card li svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin-top: 4px;
  fill: var(--accent);
}

.plan-card .button {
  margin-top: auto;
}

.plan-card.is-selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-line), 0 18px 50px rgba(185, 239, 131, 0.08);
}

/* CTA */
.cta-band {
  padding: 34px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 85% 50%, rgba(185, 239, 131, 0.09), transparent 30%),
    var(--bg-soft);
}

.cta-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-wrap h2 {
  margin: 8px 0 4px;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.03em;
}

.cta-wrap p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.cta-actions {
  display: flex;
  flex: none;
  flex-wrap: wrap;
  gap: 12px;
}

/* Signup */
.signup-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: start;
}

.signup-intro h2 {
  margin: 12px 0 16px;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 42px);
  letter-spacing: -0.035em;
  line-height: 1.14;
}

.signup-intro > p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.contact-card {
  display: grid;
  gap: 10px;
  margin-top: 30px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.contact-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-card a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.contact-card a svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: var(--accent);
}

.privacy-note {
  margin-top: 20px !important;
  font-size: 12px !important;
}

.privacy-note a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.signup-card {
  padding: 30px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.signup-card form {
  display: grid;
  gap: 18px;
}

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

.field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.field > span {
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: #09130f;
  color: var(--text);
  font-size: 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field textarea {
  min-height: 92px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #7d9087;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(185, 239, 131, 0.16);
}

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

.field-error {
  min-height: 15px;
  color: var(--danger);
  font-size: 12px;
  line-height: 1.25;
}

.check-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-soft);
  font-size: 13px;
}

.check-field input {
  width: 17px;
  height: 17px;
  margin: 3px 0 0;
  accent-color: var(--accent);
}

.signup-result {
  animation: panelIn 0.24s ease;
}

.signup-result[hidden] {
  display: none;
}

.result-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.result-check {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
}

.result-check svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.result-head h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 20px;
}

.result-head h3:focus {
  outline: none;
}

.result-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

#result-message {
  max-height: 320px;
  overflow: auto;
  margin: 0 0 20px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #07100e;
  color: var(--text-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.link-button {
  margin-top: 18px;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 56px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 20px;
  line-height: 1;
}

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

.faq-list p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 13px;
}

/* Footer */
.site-footer {
  padding: 56px 0 24px;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.9fr;
  gap: 40px;
}

.footer-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-grid p,
.footer-grid a:not(.brand),
.footer-grid span {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-grid a:not(.brand) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.footer-grid a:not(.brand) svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  fill: var(--accent);
}

.footer-grid a:not(.brand):hover {
  border-bottom-color: var(--accent-line);
}

.footer-grid > div > strong {
  margin-bottom: 4px;
  color: var(--text);
  font-size: 13px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(2, 8, 6, 0.9);
  backdrop-filter: blur(10px);
  animation: fadeIn 0.18s ease;
}

.lightbox[hidden] {
  display: none;
}

.lightbox figure {
  width: min(100%, 1180px);
  margin: 0;
  text-align: center;
}

.lightbox img {
  width: 100%;
  max-height: calc(100vh - 100px);
  object-fit: contain;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #07100e;
}

.lightbox figcaption {
  margin-top: 14px;
  color: var(--muted-strong);
  font-size: 13px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  font-size: 24px;
  line-height: 1;
}

.lightbox-close:hover {
  border-color: var(--accent-line);
  color: var(--accent);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

noscript {
  display: block;
  padding: 14px 24px;
  background: #2a1b16;
  color: #f4c7b9;
  text-align: center;
  font-size: 14px;
}

@media (max-width: 1000px) {
  .hero-grid {
    gap: 40px;
  }

  .hero {
    padding: 72px 0 80px;
  }

  .section {
    padding: 80px 0;
  }

  .signup-grid,
  .faq-grid {
    gap: 36px;
  }

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

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

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 24px 22px;
    border-bottom: 1px solid var(--border);
    background: rgba(7, 16, 14, 0.98);
    box-shadow: var(--shadow-md);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a:not(.button) {
    padding: 10px 0;
  }

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

  .hero-copy {
    max-width: 640px;
  }

  .browser-frame-hero {
    max-width: 560px;
    margin-inline: auto;
  }

  .browser-frame-hero img {
    height: 520px;
  }

  .floating-note-one {
    left: 0;
  }

  .floating-note-two {
    right: 0;
  }

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

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .hero {
    padding: 56px 0 64px;
  }

  .hero h1 {
    font-size: clamp(36px, 10vw, 46px);
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions .button {
    flex: 1 1 180px;
  }

  .browser-frame-hero img {
    height: 460px;
  }

  .floating-note {
    max-width: 200px;
    padding: 10px;
  }

  .floating-note-one {
    top: 8px;
  }

  .floating-note-two {
    bottom: 8px;
  }

  .section {
    padding: 64px 0;
  }

  .section-head {
    margin-bottom: 30px;
  }

  .feature-grid,
  .plan-grid,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .gallery-wide .browser-mini img,
  .browser-mini img {
    aspect-ratio: 1.38;
  }

  .cta-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .signup-card {
    padding: 20px;
  }

  .result-actions .button {
    flex: 1 1 160px;
  }

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

@media (max-width: 420px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .floating-note {
    display: none;
  }

  .browser-frame-hero img {
    height: 400px;
  }
}

/* Botão de suporte — presente em todas as páginas via app.js */
.support-fab {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 150;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100vw - 32px);
  padding: 11px 16px;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.support-fab:hover {
  background: #c9f79b;
  transform: translateY(-2px);
}

.support-fab:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

.support-fab svg {
  flex: none;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.support-fab-hours {
  padding-left: 10px;
  border-left: 1px solid rgba(11, 27, 16, 0.28);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .support-fab {
    gap: 8px;
    padding: 10px 13px;
  }

  .support-fab-hours {
    display: none;
  }
}

@media print {
  .support-fab {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
