:root {
  --accent: #de5114;
  --accent-dark: #ac3e10;
  --accent-soft: #fff4ef;
  --accent-border: #f2d5c8;

  --ink: #171b22;
  --ink-2: #212832;
  --text: #1f242c;
  --muted: #5b6472;
  --muted-2: #8a93a3;

  --surface: #ffffff;
  --surface-page: #f4f6fa;
  --surface-muted: #eef1f6;
  --border: #e3e7ee;

  --green: #16a34a;
  --green-soft: #ecfdf3;
  --orange: #de5114;
  --orange-soft: #fff4ef;
  --blue: #212121;
  --blue-soft: #ededed;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.08);
  --shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
  --shadow-lg: 0 24px 60px rgba(16, 24, 40, 0.16);
  --maxw: 1600px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--surface-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
}

.container {
  width: 80%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.25rem;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.1;
  font-weight: 800;
}

h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  line-height: 1.2;
  font-weight: 800;
}

h3 {
  font-size: 1.12rem;
  font-weight: 700;
}

p {
  margin: 0.6rem 0 0;
  color: var(--muted);
}

.accent {
  color: var(--accent);
}

/* ===== Botões ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  padding: 0.7rem 1.25rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

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

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 0.85rem 1.6rem;
  font-size: 1rem;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(222, 81, 20, 0.28);
}

.btn-primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 12px 26px rgba(222, 81, 20, 0.34);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.section .btn-ghost,
.qa-grid .btn-ghost {
  border-color: var(--border);
  color: var(--text);
  background: var(--surface);
}

.section .btn-ghost:hover {
  background: var(--surface-muted);
}

/* ===== Topbar ===== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  height: 26px;
  width: auto;
  display: block;
}

.brand-logo-dark {
  display: none;
}

.menu {
  display: flex;
  gap: 1.6rem;
  font-weight: 500;
  color: var(--muted);
}

.menu a {
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0;
  background: var(--accent);
  transition: width 0.2s ease;
}

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

.menu a:hover::after {
  width: 100%;
}

/* Menu mobile */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 12px;
  color: var(--text);
  cursor: pointer;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.menu-mobile {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.6rem 1.25rem 1.1rem;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.97);
}

.menu-mobile a {
  padding: 0.7rem 0.25rem;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}

.menu-mobile a:last-of-type {
  border-bottom: none;
}

.menu-mobile a:hover {
  color: var(--text);
}

.menu-mobile .btn {
  margin-top: 0.6rem;
  border-bottom: none;
  color: #fff;
}

.topbar.is-menu-open .menu-mobile {
  display: flex;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1100px 520px at 15% -10%, #2b323f 0%, #1a1f28 48%, #12161d 100%);
  color: #fff;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6rem);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 90% 10%, rgba(222, 81, 20, 0.22), transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-copy h1 {
  color: #fff;
  margin-top: 0.9rem;
}

.hero .lead {
  color: #cbd3e0;
  font-size: 1.08rem;
  margin-top: 1.1rem;
  max-width: 34rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid #384458;
  background: rgba(255, 255, 255, 0.06);
  color: #e7ecf5;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-weight: 600;
  font-size: 0.82rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(222, 81, 20, 0.25);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 1.6rem;
  color: #9aa4b4;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Hero mock */
.hero-visual {
  perspective: 1200px;
}

.mock {
  background: #1c2330;
  border: 1px solid #2c3646;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotateY(-6deg) rotateX(3deg);
  transition: transform 0.4s ease;
}

.hero-visual:hover .mock {
  transform: rotateY(0deg) rotateX(0deg);
}

.mock-head {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 0.95rem;
  background: #161c27;
  border-bottom: 1px solid #2c3646;
}

.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #3a4557;
}

.mock-title {
  margin-left: 0.6rem;
  font-size: 0.78rem;
  color: #8a94a6;
  font-weight: 600;
}

.mock-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  padding: 0.9rem;
}

.mock-col {
  background: #232c3a;
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.6rem;
  border-top: 3px solid transparent;
}

.mock-col--green {
  border-top-color: var(--green);
}
.mock-col--orange {
  border-top-color: var(--orange);
}
.mock-col--blue {
  border-top-color: var(--blue);
}

.mock-col-title {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #c6cedb;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mock-card {
  display: block;
  background: #fff;
  color: #23282f;
  font-size: 0.74rem;
  font-weight: 500;
  border-radius: 8px;
  padding: 0.45rem 0.55rem;
  margin-bottom: 0.45rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* ===== Métricas ===== */
.metrics {
  margin-top: -2.5rem;
  position: relative;
  z-index: 5;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.metric {
  text-align: center;
  padding: 0.4rem;
}

.metric strong {
  display: block;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--accent);
  font-weight: 800;
}

.metric span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ===== Sections ===== */
.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section-muted {
  background: var(--surface-muted);
}

.section-head {
  text-align: center;
  max-width: 60rem;
  margin: 0 auto 2.5rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.eyebrow-light {
  color: #ffb794;
}

.section-subtitle {
  margin-top: 0.7rem;
  font-size: 1.02rem;
}

/* ===== Features ===== */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--accent-border);
}

.feature-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 2;
}

/* Card de destaque da IA */
.feature-wide {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  margin-bottom: 1.1rem;
  padding: clamp(1.3rem, 3vw, 1.8rem);
  background: radial-gradient(600px 200px at 0% 0%, #2b323f 0%, #191e27 60%);
  border: 1px solid #2c3646;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: #fff;
}

.feature-wide-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(222, 81, 20, 0.35);
}

.feature-wide-icon svg {
  width: 28px;
  height: 28px;
}

.feature-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffb794;
  margin-bottom: 0.35rem;
}

.feature-wide-body h3 {
  color: #fff;
  font-size: 1.3rem;
}

.feature-wide-body p {
  color: #cbd3e0;
  margin-top: 0.4rem;
}

.feature-wide-tags {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feature-wide-tags .pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.06);
  border-color: #384458;
  color: #e7ecf5;
  white-space: nowrap;
}

.feature-wide-tags .pill svg {
  width: 15px;
  height: 15px;
}

.feature h3 {
  margin-bottom: 0.3rem;
}

.feature p {
  margin: 0;
  font-size: 0.92rem;
}

/* ===== Tabs / painéis ===== */
.tabs {
  display: flex;
  gap: 0.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem;
  box-shadow: var(--shadow-sm);
  margin: 0 auto 1.8rem;
  width: fit-content;
  max-width: 100%;
}

.tab {
  border: none;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.tab.is-active {
  background: var(--accent);
  color: #fff;
}

.panels {
  max-width: none;
  margin: 0 auto;
}

.panel {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  animation: fade 0.3s ease;
}

.panel.is-active {
  display: block;
}

.panel-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: stretch;
}

.panel-step {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  margin-bottom: 0.7rem;
}

.panel-side {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  justify-content: center;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.panel-side-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 18px rgba(222, 81, 20, 0.3);
}

.panel-side-icon svg {
  width: 24px;
  height: 24px;
}

.panel-side-title {
  margin: 0.5rem 0 0;
  font-weight: 700;
  color: var(--text);
  font-size: 1.05rem;
}

.panel-side-text {
  margin: 0;
  font-size: 0.92rem;
}

.panel-side-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.pill {
  background: var(--accent-soft);
  color: var(--accent-dark);
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.ticks {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.5rem;
}

.ticks-2 {
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 1.5rem;
}

.ticks li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--text);
  font-size: 0.95rem;
}

.ticks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 800;
}

/* ===== Comparativo ===== */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.compare-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}

.compare-after {
  border-color: var(--accent-border);
  box-shadow: 0 12px 30px rgba(222, 81, 20, 0.12);
}

.compare-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 0.9rem;
  margin-bottom: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.compare-head svg {
  width: 26px;
  height: 26px;
}

.compare-before .compare-head svg {
  color: var(--muted-2);
}

.compare-after .compare-head svg {
  color: var(--green);
}

.compare-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.compare-col li {
  position: relative;
  padding-left: 1.7rem;
  font-size: 0.95rem;
  color: var(--text);
}

.compare-col li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
}

.compare-before li {
  color: var(--muted);
}

.compare-before li::before {
  content: "✕";
  color: #c0392b;
}

.compare-after li::before {
  content: "✓";
  color: var(--green);
}

/* ===== QA ===== */
.qa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.qa-grid .btn {
  margin-top: 1.2rem;
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.checklist li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--green);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-weight: 500;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

/* ===== Resultados (dark) ===== */
.section-dark {
  background: radial-gradient(900px 400px at 80% 0%, #232a36 0%, #161b23 55%, #11151c 100%);
  color: #fff;
}

.section-dark h2 {
  color: #fff;
}

.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.quote {
  margin: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #2c3646;
  border-radius: var(--radius);
  padding: 1.5rem;
}

.quote p {
  color: #e6ebf3;
  font-size: 1rem;
  margin: 0;
}

.quote footer {
  margin-top: 1rem;
  color: #ffb794;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ===== FAQ ===== */
.faq-wrap {
  max-width: 46rem;
}

.faq {
  display: grid;
  gap: 0.75rem;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 1.1rem;
  box-shadow: var(--shadow-sm);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.6rem 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  padding-bottom: 0.6rem;
  margin: 0;
}

/* ===== CTA ===== */
.cta {
  background: radial-gradient(900px 400px at 12% 0%, #2b323f 0%, #191e27 55%, #12161d 100%);
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
}

.cta-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  color: #fff;
}

.cta-card h2 {
  color: #fff;
}

.cta-card p {
  color: #cbd3e0;
}

.cta-know-more {
  margin-top: 1.4rem;
  border-color: #445167;
  color: #e6ecf7;
  background: transparent;
}

.cta-know-more:hover {
  background: rgba(255, 255, 255, 0.08);
}

.cta-know-more-logo {
  height: 16px;
  width: auto;
  display: block;
}

/* Formulário de lead */
.lead-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 3vw, 1.8rem);
  box-shadow: var(--shadow-lg);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field-full {
  grid-column: 1 / -1;
  position: relative;
}

.field label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-2);
}

.field .req {
  color: var(--accent);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

/* Dropdown customizado (Cargo) */
.cselect {
  position: relative;
}

.cselect-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cselect-trigger:hover {
  border-color: var(--accent-border);
}

.cselect.is-open .cselect-trigger,
.cselect-trigger:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(222, 81, 20, 0.15);
}

.cselect-value[data-placeholder="true"] {
  color: var(--muted-2);
}

.cselect-chevron {
  flex-shrink: 0;
  color: var(--accent);
  transition: transform 0.2s ease;
}

.cselect.is-open .cselect-chevron {
  transform: rotate(180deg);
}

.cselect-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 20;
  list-style: none;
  margin: 0;
  padding: 0.35rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  max-height: 260px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
}

.cselect.is-open .cselect-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.cselect-option {
  padding: 0.6rem 0.7rem;
  border-radius: 10px;
  font-size: 0.92rem;
  color: var(--text);
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}

.cselect-option:hover {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.cselect-option.is-selected {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}

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

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted-2);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(222, 81, 20, 0.15);
}

.char-count {
  position: absolute;
  right: 2px;
  bottom: -1.25rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.form-error {
  margin: 1.4rem 0 0;
  color: #b42318;
  font-size: 0.88rem;
  font-weight: 600;
}

.btn-block {
  width: 100%;
  margin-top: 1.4rem;
}

.wa-icon {
  flex-shrink: 0;
}

/* ===== Footer ===== */
.footer {
  background: #12161d;
  color: #9aa4b4;
  padding: 1.6rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.copyright {
  text-align: center;
  margin: 0;
  font-size: 0.85rem;
  color: #6b7484;
}

/* ===== Voltar ao topo ===== */
.back-to-top {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 60;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(222, 81, 20, 0.4);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-to-top:hover {
  background: var(--accent-dark);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
}

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ===== Responsivo ===== */
@media (max-width: 1200px) {
  .container {
    width: 88%;
  }
}

@media (max-width: 960px) {
  .container {
    width: 90%;
  }
  .hero-grid,
  .qa-grid,
  .panel-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    order: -1;
  }
  .mock {
    transform: none;
  }
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-wide {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .feature-wide-tags {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .quotes {
    grid-template-columns: 1fr;
  }
  .cta-card {
    grid-template-columns: 1fr;
  }
  .menu,
  .topbar-cta {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 560px) {
  .container {
    width: 92%;
    padding: 0 1rem;
  }
  .features {
    grid-template-columns: 1fr;
  }
  .metrics {
    margin-top: 1.5rem;
  }
  .metrics-grid {
    grid-template-columns: 1fr;
    padding: 1.25rem;
  }
  .tabs {
    flex-wrap: wrap;
    width: 100%;
  }
  .tab {
    flex: 1 1 auto;
    text-align: center;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .ticks-2 {
    grid-template-columns: 1fr;
  }
  .compare {
    grid-template-columns: 1fr;
  }
  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }
  .back-to-top {
    right: 1rem;
    bottom: 1rem;
    width: 44px;
    height: 44px;
  }
}
