:root {
  --bg: #0d1f1a;
  --bg-soft: #132a22;
  --surface: rgba(19, 42, 34, 0.95);
  --surface-strong: rgba(22, 48, 39, 0.98);
  --surface-border: rgba(255, 255, 255, 0.12);
  --text: #f0fdf9;
  --muted: #99b8ae;
  --primary: #2dd4a0;
  --primary-strong: #14b87a;
  --primary-soft: rgba(45, 212, 160, 0.22);
  --accent-warm: #fbbf24;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--primary);
  color: #052e22;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(45, 212, 160, 0.12) 0%, transparent 35%, transparent 100%),
    linear-gradient(200deg, transparent 0%, rgba(45, 212, 160, 0.08) 25%, transparent 55%),
    linear-gradient(320deg, rgba(20, 184, 122, 0.1) 0%, transparent 40%),
    radial-gradient(ellipse 90% 50% at 5% 10%, rgba(45, 212, 160, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 80% 60% at 98% 90%, rgba(45, 212, 160, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 55% 0%, rgba(251, 191, 36, 0.06) 0%, transparent 45%);
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  overflow-x: clip;
  position: relative;
  z-index: 1;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(13, 31, 26, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

.brand-text {
  font-size: 1.1rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.nav-cta {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: var(--primary-soft);
  border: 1px solid rgba(45, 212, 160, 0.35);
  color: #a7f3d8 !important;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.32rem;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}
.menu-toggle:focus-visible {
  box-shadow: 0 0 0 2px var(--primary);
}

.hero-section {
  position: relative;
  padding: 7rem 0 4rem;
}

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

.hero-bg-one {
  width: 420px;
  height: 420px;
  top: 40px;
  left: -110px;
  background: rgba(45, 212, 160, 0.08);
}

.hero-bg-two {
  width: 360px;
  height: 360px;
  right: -80px;
  top: 120px;
  background: rgba(45, 212, 160, 0.06);
}

.hero-grid,
.saas-grid,
.bespoke-grid,
.cultura-grid,
.contact-grid,
.diferencial-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.hero-grid--single {
  grid-template-columns: 1fr;
  max-width: 720px;
}

.cultura-grid--game-only {
  grid-template-columns: 1fr;
  max-width: 760px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: #a7f3d8;
  border: 1px solid rgba(45, 212, 160, 0.3);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2,
.bespoke-copy h2,
.contact-copy h2,
.diferencial-grid h2 {
  margin: 1rem 0;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.section-heading h2,
.bespoke-copy h2,
.contact-copy h2,
.diferencial-grid h2 {
  font-size: clamp(1.85rem, 3vw, 3rem);
}

.hero-lead,
.section-heading p,
.bespoke-copy p,
.contact-copy p,
.panel-card p,
.service-card p,
.process-card p,
.diferencial-item p,
.faq-list p,
.footer-copy {
  color: var(--muted);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 2rem 0;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  min-height: 54px;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}
@media (prefers-reduced-motion: reduce) {
  .btn:hover,
  .btn:focus-visible {
    transform: none;
  }
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
  color: #052e22;
  box-shadow: 0 12px 32px rgba(45, 212, 160, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.14);
}

.btn-full {
  width: 100%;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
}

.hero-points li {
  position: relative;
  padding-left: 1.4rem;
  color: #d7ebe5;
}

.hero-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.hero-panel,
.panel-metrics,
.footer-links,
.faq-list,
.diferencial-list {
  display: grid;
  gap: 1rem;
}

.panel-card,
.service-card,
.process-card,
.contact-card,
.bespoke-box,
.diferencial-item,
.faq-list details {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.panel-card {
  padding: 1.5rem;
}

.panel-card-main {
  padding: 1.8rem;
}

.panel-card-main h2 {
  margin: 0.75rem 0 1.2rem;
  font-size: 1.45rem;
  line-height: 1.3;
}

.panel-label,
.mini-badge {
  color: #a7f3d8;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.panel-metrics {
  grid-template-columns: 1fr;
}

.panel-metrics div {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.panel-metrics strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

.panel-metrics span {
  color: var(--muted);
  line-height: 1.6;
}

.section {
  padding: 4.5rem 0;
}

.services-section {
  padding: 2.5rem 0 1rem;
}

.saas-benefits-section {
  padding: 1rem 0 2.5rem;
}

.services-section .section-heading {
  margin-bottom: 1rem;
}

.services-grid,
.saas-benefits-grid {
  gap: 0.75rem;
}

section[id] {
  scroll-margin-top: 100px;
}

#saas-ia {
  scroll-margin-top: 128px;
}

.saas-hero-section {
  padding-top: 2rem;
  padding-bottom: 4rem;
  min-height: auto;
}

.saas-hero-demo-full {
  max-width: 1200px;
  margin: 0 auto;
}

.saas-demo-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.saas-demo-actions-row .btn {
  flex-shrink: 0;
}

.saas-demo-heading--compact h2 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.saas-demo-heading--compact p {
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.5;
  color: var(--muted);
}

.saas-demo-comecar {
  margin-top: 1.25rem !important;
}

@keyframes começar-pisca {
  0%, 100% {
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 rgba(49, 227, 168, 0);
  }
  50% {
    border-color: rgba(49, 227, 168, 0.5);
    box-shadow: 0 0 20px rgba(49, 227, 168, 0.25);
  }
}

.btn-comecar {
  animation: começar-pisca 2s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .btn-comecar {
    animation: none;
  }
}

.saas-demo-grid--hero {
  margin-top: 1rem;
}

@media (min-width: 980px) {
  .saas-demo-grid--hero {
    grid-template-columns: 1fr 220px;
    gap: 1.5rem;
  }
}

@media (min-width: 1100px) {
  .saas-demo-grid--hero {
    grid-template-columns: 1fr 240px;
  }
}

.saas-hero-section .saas-demo-chat {
  min-height: 560px;
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.saas-hero-section .saas-demo-iframe {
  min-height: 560px;
  height: 560px;
  width: 100%;
  max-width: 320px;
}

@media (min-width: 640px) {
  .saas-hero-section .saas-demo-iframe {
    max-width: 340px;
  }
}

@media (min-width: 980px) {
  .saas-hero-section .saas-demo-iframe {
    max-width: 360px;
  }
}

.saas-section {
  position: relative;
}

.cultura-section {
  position: relative;
}

.saas-section::before {
  content: '';
  position: absolute;
  inset: 8% 0 auto;
  height: 58%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), transparent);
  pointer-events: none;
}

.saas-demo-wrap {
  margin-top: 3.5rem;
}

.saas-demo-shell {
  padding: 2rem;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.saas-demo-heading {
  max-width: 760px;
  margin-bottom: 1.75rem;
}

.saas-demo-heading .eyebrow {
  display: inline-flex;
  margin-bottom: 0.55rem;
}

.saas-demo-heading h2 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  margin: 0 0 0.7rem;
}

.saas-demo-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.saas-demo-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.saas-demo-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #a7f3d8;
  font-size: 0.9rem;
  font-weight: 500;
}

.saas-demo-grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 980px) {
  .saas-demo-grid {
    grid-template-columns: minmax(0, 760px) 300px;
    justify-content: space-between;
  }
}

.saas-hero-section .saas-demo-chat-card {
  flex: 1;
  min-width: 0;
}

.saas-demo-chat-card {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--bg-soft);
}

.saas-demo-frame-bar {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
}

.saas-demo-frame-dots {
  display: inline-flex;
  gap: 0.45rem;
}

.saas-demo-frame-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
}

.saas-demo-frame-dots span:first-child {
  background: #f87171;
}

.saas-demo-frame-dots span:nth-child(2) {
  background: #fbbf24;
}

.saas-demo-frame-dots span:nth-child(3) {
  background: var(--primary);
}

.saas-demo-frame-title {
  color: var(--muted);
  font-size: 0.92rem;
}

.saas-demo-chat {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: stretch;
  padding: 1rem;
  min-height: 680px;
  background: var(--bg);
}

.saas-demo-iframe {
  position: relative;
  width: min(100%, 390px);
  min-height: 640px;
  height: 640px;
  border: none;
  display: block;
  border-radius: 24px;
  overflow: hidden;
}

.saas-hero-section .saas-demo-colors {
  padding: 1rem;
  border-radius: 20px;
  max-height: 560px;
}

.saas-demo-colors {
  padding: 1.35rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  max-height: 680px;
  overflow: auto;
}

.saas-demo-colors-title {
  margin: 0 0 0.55rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.saas-demo-colors-copy {
  margin: 0 0 1.2rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.saas-demo-color-group + .saas-demo-color-group {
  margin-top: 1rem;
}

.saas-demo-color-group-title {
  margin: 0 0 0.3rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a7f3d8;
}

.saas-demo-color-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.saas-demo-color-row:first-of-type {
  border-top: none;
  padding-top: 0;
}

.saas-demo-color-row:last-of-type {
  padding-bottom: 0;
}

.saas-demo-color-row label {
  display: block;
  margin-bottom: 0.18rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

.saas-demo-color-row span {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
}

.saas-demo-color-row input[type="color"] {
  width: 54px;
  height: 54px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  flex-shrink: 0;
}

.saas-demo-color-row input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}

.saas-demo-color-row input[type="color"]::-webkit-color-swatch {
  border-radius: 10px;
  border: none;
}

.saas-demo-note {
  margin: 1.2rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.saas-demo-colors::-webkit-scrollbar {
  width: 10px;
}

.saas-demo-colors::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.cultura-section::before {
  content: '';
  position: absolute;
  inset: 10% auto auto 0;
  width: 100%;
  height: 60%;
  background: transparent;
  pointer-events: none;
}

.trust-section {
  padding-top: 0;
}

.trust-grid,
.cards-grid {
  display: grid;
  gap: 1rem;
}

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

.trust-item {
  padding: 1.15rem 1.1rem;
  text-align: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #c5f0e2;
  font-weight: 600;
}

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

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

.saas-panel,
.saas-feature-list,
.saas-benefits-grid {
  display: grid;
  gap: 1rem;
}

.cultura-copy {
  display: grid;
  gap: 1rem;
}

.saas-highlight {
  padding: 1.8rem;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.saas-feature {
  padding: 1.1rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
}

.saas-feature strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.03rem;
}

.saas-feature span {
  color: var(--muted);
  line-height: 1.7;
}

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

.cultura-heading {
  max-width: 860px;
}

.cultura-card,
.game-shell {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.cultura-card {
  padding: 1.5rem 1.6rem;
}

.cultura-card h3,
.game-head h3 {
  margin: 0 0 0.7rem;
  font-size: 1.22rem;
}

.cultura-card p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.8;
}

.cultura-card p:last-child {
  margin-bottom: 0;
}

.cultura-values {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.9;
}

.game-shell {
  padding: 1.2rem;
}

.game-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.game-head-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.game-fullscreen-toggle {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.game-fullscreen-toggle span {
  font-size: 0.9rem;
}

.game-fullscreen-toggle:hover,
.game-fullscreen-toggle:focus-visible {
  color: var(--primary);
  border-color: rgba(49, 227, 168, 0.5);
  background: rgba(49, 227, 168, 0.08);
  outline: none;
}

.game-fullscreen-toggle:focus-visible {
  box-shadow: 0 0 0 2px rgba(49, 227, 168, 0.5);
}

.game-shell.is-fullscreen {
  width: 100%;
  height: 100%;
  border-radius: 0;
}

.game-scoreboard {
  text-align: right;
}

.game-scoreboard span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.game-scoreboard strong {
  font-size: 1.8rem;
  line-height: 1;
}

.game-canvas {
  display: block;
  width: 100%;
  min-height: 320px;
  background: var(--bg);
  border: 1px solid var(--surface-border);
  border-radius: 22px;
  touch-action: manipulation;
}

.game-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

.game-help {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.game-button {
  min-width: 170px;
}

.service-card,
.process-card {
  padding: 1.6rem;
}

.diferencial-list {
  gap: 1.15rem;
}

.diferencial-item {
  padding: 1.45rem 1.75rem;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.15);
}

.diferencial-item::before {
  content: '';
  display: block;
  width: 54px;
  height: 4px;
  border-radius: 999px;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--primary), rgba(49, 227, 168, 0.16));
}

.diferencial-item h3 {
  margin-bottom: 0.65rem;
  padding-left: 0.08rem;
  line-height: 1.25;
}

.diferencial-item p {
  margin: 0;
  font-size: 1rem;
  padding-left: 0.08rem;
}

.service-card h3,
.process-card h3,
.bespoke-box h3,
.diferencial-item h3 {
  margin: 0 0 0.8rem;
  font-size: 1.18rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 1rem;
}

.bespoke-box {
  padding: 1.8rem;
}

.bespoke-box ul {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
  line-height: 1.9;
}

.faq-list details {
  padding: 1rem 1.2rem;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
}

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

.faq-list p {
  margin: 0.8rem 0 0;
}

.contact-card {
  padding: 1.5rem;
}

.form-row {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.form-row label {
  font-size: 0.94rem;
  font-weight: 600;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  outline: none;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: #8fa59e;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: rgba(49, 227, 168, 0.4);
  box-shadow: 0 0 0 4px rgba(49, 227, 168, 0.08);
}

.contact-mail {
  display: inline-flex;
  margin-top: 0.5rem;
  color: #a7f3d8;
  font-weight: 700;
  word-break: break-word;
  border-radius: 6px;
  padding: 0.2em 0.35em;
  margin-left: -0.35em;
}
.contact-mail:hover,
.contact-mail:focus-visible {
  color: var(--primary);
  outline: none;
}
.contact-mail:focus-visible {
  box-shadow: 0 0 0 2px var(--primary);
}

.form-help {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0;
  text-align: center;
}

.form-alert {
  padding: 1rem 1.25rem;
  border-radius: 16px;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.form-alert--success {
  background: var(--primary-soft);
  border: 1px solid rgba(45, 212, 160, 0.4);
  color: #a7f3d8;
}

.form-alert--error {
  background: rgba(220, 80, 80, 0.12);
  border: 1px solid rgba(220, 80, 80, 0.35);
  color: #f4b4b4;
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.footer-brand {
  margin-bottom: 0.85rem;
}

.footer-copy {
  max-width: 540px;
  margin: 0;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--muted);
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background 0.2s ease;
}

.footer-social-link:hover {
  color: var(--primary);
  background: var(--primary-soft);
}

.footer-social-icon {
  width: 1.375rem;
  height: 1.375rem;
}

.footer-whatsapp-label {
  display: none;
  font-size: 0.9rem;
  font-weight: 500;
}

@media (min-width: 480px) {
  .footer-social-link {
    width: auto;
    padding: 0.4rem 0.75rem;
  }
  .footer-social-link .footer-social-icon {
    flex-shrink: 0;
  }
  .footer-whatsapp-label {
    display: inline;
  }
}

.footer-links {
  min-width: 240px;
}

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

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

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.footer-legal {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

@media (max-width: 1080px) {
  .hero-grid,
  .saas-grid,
  .bespoke-grid,
  .cultura-grid,
  .contact-grid,
  .diferencial-grid,
  .services-grid,
  .process-grid,
  .trust-grid,
  .saas-benefits-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 1rem;
    right: 1rem;
    padding: 1rem;
    border-radius: 22px;
    background: var(--surface-strong);
    border: 1px solid var(--surface-border);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

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

  .site-nav a {
    padding: 0.35rem 0;
  }

  .hero-grid,
  .saas-grid,
  .bespoke-grid,
  .cultura-grid,
  .contact-grid,
  .diferencial-grid,
  .services-grid,
  .process-grid,
  .trust-grid,
  .saas-benefits-grid,
  .footer-inner {
    grid-template-columns: 1fr;
    display: grid;
  }

  .footer-inner {
    gap: 1.5rem;
  }

  .hero-section {
    padding-top: 5.5rem;
  }
}

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

  .header-inner {
    min-height: 74px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-text {
    font-size: 1rem;
  }

  .hero-copy h1,
  .section-heading h2,
  .bespoke-copy h2,
  .contact-copy h2,
  .diferencial-grid h2 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .section {
    padding: 3.5rem 0;
  }

  .panel-card,
  .service-card,
  .process-card,
  .contact-card,
  .bespoke-box,
  .diferencial-item,
  .faq-list details {
    border-radius: 22px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .game-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}
