:root {
  /* Paleta derivada do logo: cinzas neutros + vermelho só em detalhes. */
  --bg: #0f1216;
  --bg-alt: #161a20;
  --ink: #eef0f3;
  --ink-dim: #a9b0ba;
  --ink-faint: #868e99;
  --line: rgba(238, 240, 243, 0.1);
  --line-strong: rgba(238, 240, 243, 0.24);
  --accent: #d8454a;
  --accent-soft: transparent;
  --accent-ink: #ffffff;
  --brand-red: #d8454a;
  --display: 'Jost', 'Century Gothic', 'Futura', sans-serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: var(--sans);
  --header-glass: rgba(15, 18, 22, 0.92);
  --nav-mobile-glass: rgba(15, 18, 22, 0.98);
  --hover-tint: rgba(238, 240, 243, 0.03);
  --content-offset-top: 9rem;
  --content-offset-top-mobile: 7.5rem;
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f6f7f8;
  --bg-alt: #eceef1;
  --ink: #12304b; /* azul-marinho do logo */
  --ink-dim: #46515e;
  --ink-faint: #66717e;
  --line: rgba(18, 48, 75, 0.12);
  --line-strong: rgba(18, 48, 75, 0.3);
  --accent: #c0282d;
  --brand-red: #c0282d;
  --header-glass: rgba(246, 247, 248, 0.92);
  --nav-mobile-glass: rgba(246, 247, 248, 0.98);
  --hover-tint: rgba(18, 48, 75, 0.035);
  color-scheme: light;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  height: 100%;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink-dim);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.main-content {
  flex: 1;
  width: 100%;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

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

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.1; font-weight: 400; }
h2 { font-size: clamp(1.8rem, 4.2vw, 2.6rem); line-height: 1.18; font-weight: 400; }
h3 { font-size: 1.25rem; font-weight: 500; color: var(--ink); }

em {
  font-style: italic;
  color: var(--accent);
}

a { color: inherit; }

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 3rem;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--brand-red); /* ecoa o traço vermelho do logo */
}

/* Palavra de destaque do título principal sublinhada no vermelho da marca */
.hero h1 em {
  text-decoration: underline;
  text-decoration-color: var(--brand-red);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.14em;
}

.section-head {
  max-width: 640px;
  margin-bottom: 3.5rem;
}

.section-head p {
  font-size: 1.02rem;
  color: var(--ink-dim);
  margin-top: 1.1rem;
  line-height: 1.75;
}

section {
  padding: 6rem 0;
  border-bottom: 1px solid var(--line);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.9rem 1.8rem;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  border: none;
}

.btn-fill {
  background: var(--accent);
  color: var(--accent-ink);
  border: 1px solid var(--accent);
}

.btn-fill:hover {
  background: transparent;
  color: var(--accent);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-arrow {
  transition: transform 0.25s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

header.scrolled {
  background: var(--header-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

nav {
  max-width: 1160px;
  margin: 0 auto;
  padding: 1.4rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  cursor: pointer;
  min-width: 0;
}

.logo-img-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 26px;
  width: auto;
  flex-shrink: 0;
}

header .logo-img {
  height: 30px;
}

.logo-img-light {
  display: none;
}

:root[data-theme="light"] .logo-img-dark {
  display: none;
}

:root[data-theme="light"] .logo-img-light {
  display: block;
}

.brand-tagline {
  display: none;
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--ink-faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.footer-brand .brand-tagline {
  display: none;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-dim);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta {
  padding: 0.6rem 1.2rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Language switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}

.lang-switch button {
  background: none;
  border: none;
  color: var(--ink-faint);
  cursor: pointer;
  padding: 0.2rem 0.1rem;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  transition: color 0.2s;
}

.lang-switch button:hover {
  color: var(--ink);
}

.lang-switch button.active {
  color: var(--accent);
  font-weight: 600;
}

.lang-switch span {
  color: var(--line-strong);
}

/* Theme toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--ink-faint);
  transition: color 0.2s;
}

.theme-toggle:hover {
  color: var(--accent);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

.theme-toggle .icon-moon {
  display: none;
}

:root[data-theme="light"] .theme-toggle .icon-sun {
  display: none;
}

:root[data-theme="light"] .theme-toggle .icon-moon {
  display: block;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

header.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

header.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

header.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Hero */
.hero {
  padding: var(--content-offset-top) 0 0;
  position: relative;
  overflow: hidden;
  border-bottom: none;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 50%;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 65%);
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 3rem;
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 820px;
  margin-bottom: 1.7rem;
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--ink-dim);
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 4.5rem;
  flex-wrap: wrap;
}

/* Marquee */
.marquee {
  margin-top: 4.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.4rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  animation: scroll-marquee 30s linear infinite;
}

.marquee-track span {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.marquee-track span::after {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}

@keyframes scroll-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Numbered list (Value section) */
.num-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.num-item {
  padding: 2.4rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 1.5rem;
  transition: background 0.3s ease;
}

.num-item:hover {
  background: var(--hover-tint);
}

.num-item:hover .num {
  color: var(--accent);
}

.num {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--ink-faint);
  padding-top: 0.2rem;
  flex-shrink: 0;
  transition: color 0.3s ease;
}

.num-item h3 {
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
}

.num-item p {
  font-size: 0.92rem;
  line-height: 1.7;
}

/* Offers grid (Dev / Consultoria) */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.offer-cell {
  padding: 2.6rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease;
  display: flex;
  flex-direction: column;
}

.offer-cell:hover {
  background: var(--hover-tint);
}

.offer-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin-bottom: 1rem;
}

.offer-cell h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.offer-cell p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.6rem;
}

.offer-cell .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Feature rows (used inside dev/consulting sections) */
.feature-list {
  border-top: 1px solid var(--line);
}

.feature-row {
  display: grid;
  grid-template-columns: 1.4rem 1fr;
  gap: 1.6rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.feature-row .mark {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.85rem;
}

.feature-row h3 {
  font-size: 1.02rem;
  margin-bottom: 0.3rem;
}

.feature-row p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--ink-dim);
}

/* Process */
.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.process::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}

.process-step {
  position: relative;
  padding-top: 3.2rem;
}

.process-step::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 0;
  width: 15px;
  height: 15px;
  border: 1.5px solid var(--accent);
  background: var(--bg);
  border-radius: 50%;
}

.process-num {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 0.9rem;
}

.process-step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.process-step p {
  font-size: 0.9rem;
  line-height: 1.65;
}

.subsection-head {
  margin-bottom: 2.4rem;
}

.subsection-head h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.subsection-head p {
  font-size: 0.95rem;
  color: var(--ink-dim);
  max-width: 720px;
  text-wrap: balance;
}

.subsection {
  margin-top: 3.5rem;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: 2.6rem 2.2rem;
  border-right: 1px solid var(--line);
  position: relative;
}

.price-card:last-child {
  border-right: none;
}

.price-card.featured {
  background: rgba(201, 163, 92, 0.04);
  box-shadow: inset 0 2px 0 0 var(--accent);
}

.price-badge {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.3rem;
}

.price-card.featured .price-badge {
  color: var(--accent);
}

.price-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.price-subtitle {
  font-size: 0.86rem;
  color: var(--ink-faint);
  margin-bottom: 1.8rem;
  line-height: 1.6;
}

.price-amount {
  font-family: var(--display);
  font-size: 2.3rem;
  color: var(--ink);
  font-weight: 400;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 1.8rem;
}

.price-amount span {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ink-faint);
  font-weight: 400;
}

.price-amount.price-cta-link {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
}

.price-amount.price-cta-link a {
  color: var(--accent);
  text-decoration: none;
}

.price-amount.price-cta-link a:hover {
  color: var(--ink);
}

.price-features {
  list-style: none;
  margin-bottom: 2.2rem;
  border-top: 1px solid var(--line);
}

.price-features li {
  padding: 0.75rem 0;
  color: var(--ink-dim);
  font-size: 0.86rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
}

.price-features li::before {
  content: '\2713';
  color: var(--accent);
  font-size: 0.78rem;
  flex-shrink: 0;
}

/* Cartões de consultoria: sem lista de itens, então o texto ganha peso
   e o botão ancora a base do cartão. */
.price-card-model .price-subtitle {
  font-size: 0.92rem;
  color: var(--ink-dim);
  line-height: 1.7;
  margin-bottom: 2.2rem;
}

.price-card .btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

.pricing-custom {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 1.8rem;
  padding: 2.2rem 2.4rem;
  border: 1px solid var(--line-strong);
  background: var(--hover-tint);
  border-radius: 4px;
  transition: border-color 0.25s ease;
}

.pricing-custom:hover {
  border-color: var(--ink-dim);
}

.pricing-custom .price-badge {
  margin-bottom: 0;
  flex-shrink: 0;
  font-weight: 600;
  color: var(--ink);
  padding: 0.25rem 0.6rem;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 3px;
}

.pricing-custom-body {
  flex: 1;
}

.pricing-custom-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.pricing-custom-body p {
  font-size: 0.86rem;
  color: var(--ink-dim);
  line-height: 1.6;
}

.pricing-custom .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

/* CTA */
.cta-section {
  background: var(--bg-alt);
  text-align: center;
  padding: 7rem 3rem;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  bottom: -30%;
  left: 50%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 65%);
  transform: translateX(-50%);
  pointer-events: none;
}

.cta-section .eyebrow {
  justify-content: center;
}

.cta-section .eyebrow::before {
  display: none;
}

.cta-section h2 {
  max-width: 680px;
  margin: 0 auto 1.8rem;
  position: relative;
  z-index: 2;
}

.cta-section p {
  font-size: 1.02rem;
  max-width: 520px;
  margin: 0 auto 2.4rem;
  position: relative;
  z-index: 2;
}

.cta-section .btn {
  position: relative;
  z-index: 2;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* Contact Form */
.contact-form-wrap {
  max-width: 540px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.contact-form-divider {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin: 3.5rem 0 2.2rem;
  color: var(--ink-faint);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--mono);
}

.contact-form-divider::before,
.contact-form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line-strong);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  text-align: left;
}

.contact-form .field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.contact-form label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
}

.contact-form input,
.contact-form textarea {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 0.85rem 1rem;
  transition: border-color 0.2s, outline-color 0.2s;
  width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form .hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.contact-form .cf-turnstile {
  display: flex;
  justify-content: flex-start;
  margin-top: 0.3rem;
}

.contact-form .field-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.5rem;
}

.contact-form .btn {
  width: auto;
  justify-content: center;
}

.contact-form .btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-msg {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  text-align: center;
}

.form-msg:empty {
  display: none;
}

.form-msg.is-ok {
  color: #10b981;
  font-weight: 500;
}

.form-msg.is-error {
  color: var(--brand-red);
  font-weight: 500;
}

.section-cta {
  margin-top: 3rem;
  padding-top: 2.4rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.section-cta p {
  font-size: 0.95rem;
  max-width: 600px;
  color: var(--ink-dim);
}

/* Footer */
footer {
  padding: 4.5rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2.2rem;
}

.footer-brand .logo {
  margin-bottom: 1.2rem;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--ink-faint);
  max-width: 280px;
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.3rem;
  font-weight: 500;
}

.footer-col ul {
  list-style: none;
}

.footer-col a {
  display: inline-flex;
  align-items: center;
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 0.88rem;
  line-height: 2.1;
  white-space: nowrap;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--accent);
}

.flag {
  display: inline-block;
  flex-shrink: 0;
  width: 18px;
  height: 13px;
  margin-right: 0.45em;
  vertical-align: -1px;
  background-size: cover;
  background-position: center;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3);
}

.flag-br {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 21'%3E%3Crect width='30' height='21' fill='%23009739'/%3E%3Cpolygon points='15,3 27,10.5 15,18 3,10.5' fill='%23FEDD00'/%3E%3Ccircle cx='15' cy='10.5' r='5.5' fill='%23012169'/%3E%3C/svg%3E");
}

.flag-cl {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'%3E%3Crect width='30' height='20' fill='%23FFFFFF'/%3E%3Crect y='10' width='30' height='10' fill='%23D52B1E'/%3E%3Crect width='10' height='10' fill='%230039A6'/%3E%3Cpolygon points='5,1.8 5.764,3.948 8.044,4.011 6.236,5.402 6.881,7.589 5,6.3 3.119,7.589 3.764,5.402 1.956,4.011 4.236,3.948' fill='white'/%3E%3C/svg%3E");
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink-faint);
  flex-wrap: wrap;
  gap: 1rem;
}

.q-underline {
  text-decoration: underline;
  text-decoration-color: var(--brand-red);
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

/* ==========================================================
   Direção visual: identidade do logo
   Sans geométrica, vermelho só em detalhes, sem enfeites.
   Fica antes das media queries para não anular o responsivo.
   ========================================================== */

h1, h2, h3 { letter-spacing: -0.02em; }
h1, h2 { font-weight: 500; }

/* Sem itálico colorido: o destaque é a barra vermelha do logo */
em { font-style: normal; color: inherit; }

/* Rótulos: sans em caixa normal, com a barra do logo */
.eyebrow {
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-dim);
}
.eyebrow::before { width: 28px; height: 3px; }

.nav-links a {
  font-size: 0.9rem;
  letter-spacing: 0;
  text-transform: none;
}
.nav-cta { font-size: 0.86rem; letter-spacing: 0; text-transform: none; }

.offer-label, .price-badge, .footer-col h4 {
  font-size: 0.8rem;
  letter-spacing: 0;
  text-transform: none;
}
.offer-label, .process-num { color: var(--ink-faint); }
.price-card.featured .price-badge {
  color: var(--accent);
  font-weight: 600;
  display: inline-block;
  padding: 0.2rem 0.55rem;
  background: var(--hover-tint);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  width: fit-content;
}
.price-card.featured { background: var(--hover-tint); box-shadow: inset 0 3px 0 0 var(--accent); }
.price-amount { font-weight: 500; }
.price-features li::before { color: var(--ink); }
.num, .process-num { font-variant-numeric: tabular-nums; font-weight: 600; }
.footer-bottom { font-size: 0.8rem; }

/* Botões na cor do texto; vermelho não vira botão */
.btn-fill {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.btn-fill:hover { background: transparent; color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); background: var(--hover-tint); }

/* Hero CTA primário: menos contraste no modo noturno */
:root:not([data-theme="light"]) .hero-cta .btn-fill {
  background: #343c46;
  color: #c9ced6;
  border-color: rgba(238, 240, 243, 0.2);
}
:root:not([data-theme="light"]) .hero-cta .btn-fill:hover {
  background: var(--hover-tint);
  color: var(--ink);
  border-color: var(--line-strong);
}

.lang-switch { font-size: 0.8rem; }
.lang-switch button.active { color: var(--ink); }
.theme-toggle:hover, .footer-col a:hover { color: var(--ink); }
.footer-col a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }

/* Sem brilho radial e sem letreiro rolante */
.hero::before, .cta-section::before { display: none; }
.marquee { display: none; }
.hero { padding-bottom: 3.5rem; border-bottom: 1px solid var(--line); }
.hero-cta { margin-bottom: 2.2rem; }

/* Micro prova social e trust no Hero */
.hero-trust {
  margin-top: 1.8rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
  max-width: 820px;
}

.hero-trust:empty {
  display: none;
}

.hero-trust-status {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.84rem;
  color: var(--ink-dim);
  font-weight: 500;
}

.live-pulse {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
}

.pulse-ring {
  position: absolute;
  top: -3px;
  left: -3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.4);
  animation: pulse-ring 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 0.9; }
  60%, 100% { transform: scale(1.6); opacity: 0; }
}

.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.8rem;
  margin: 1.1rem 0 0;
}

.hero-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--ink-dim);
  background: var(--hover-tint);
  border: 1px solid var(--line);
  padding: 0.35rem 0.75rem;
  border-radius: 3px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.hero-badge-check {
  color: var(--brand-red);
  font-weight: 700;
  font-size: 0.85rem;
}

/* Projetos: prints em moldura de navegador */
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.2rem 2.6rem;
}

.project-card {
  display: block;
  text-decoration: none;
}

.project-shot {
  display: block;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  overflow: hidden;
  background: var(--bg-alt);
  margin-bottom: 1.4rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

/* Barra superior com os três pontos da janela */
.project-shot::before {
  content: '';
  display: block;
  height: 26px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle, var(--line-strong) 3.5px, transparent 4px) 12px 50% / 9px 9px no-repeat,
    radial-gradient(circle, var(--line-strong) 3.5px, transparent 4px) 27px 50% / 9px 9px no-repeat,
    radial-gradient(circle, var(--line-strong) 3.5px, transparent 4px) 42px 50% / 9px 9px no-repeat;
}

.project-shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
}

.project-card:hover .project-shot {
  border-color: var(--ink);
  transform: translateY(-3px);
}

.project-type {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-faint);
  margin-bottom: 0.35rem;
}

.project-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.project-card p {
  font-size: 0.94rem;
  line-height: 1.65;
  margin-bottom: 0.8rem;
  max-width: 46ch;
}

.project-visit {
  display: inline-flex;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 1px;
}

.project-card:hover .btn-arrow { transform: translateX(3px); }

/* Grupo "Serviços": rótulo e links ocupam a mesma célula (sem deslocar o layout) */
.nav-group { display: grid; align-items: center; }
.nav-group > * { grid-area: 1 / 1; }
.nav-group-items { display: flex; gap: 1.2rem; }
.nav-group-label,
.nav-group-items {
  transition: opacity 0.35s ease, visibility 0.35s;
}
.nav-group-label { justify-self: end; text-align: right; }
.nav-group-items { align-items: center; }
[data-theme="light"] .nav-group-items a + a::before { color: #bdbab6; /* cinza da barra do logo (tema claro) */ }
.nav-group-items a + a::before {
  content: "/";
  color: #ebebeb; /* cinza da barra do logo (tema escuro) */
  font-weight: 600;
  margin-right: 1.2rem;
  display: inline-block;
  transform: scaleY(1.25) skewX(-8deg);
}
.nav-group:not(.is-expanded) .nav-group-items { opacity: 0; visibility: hidden; }
.nav-group.is-expanded .nav-group-label { opacity: 0; visibility: hidden; }
@media (prefers-reduced-motion: reduce) {
  .nav-group-label, .nav-group-items { transition: none; }
}
@media (max-width: 768px) {
  .nav-group-label { display: none; }
  .nav-group-items a + a::before { display: none; }
  .nav-group-items { flex-direction: column; gap: 0; width: 100%; opacity: 1 !important; visibility: visible !important; }
}

/* Nav ativo */
.nav-links a.is-active {
  color: var(--ink);
  font-weight: 600;
}

/* Página interna: espaço sob o header fixo */
.page-section {
  padding-top: var(--content-offset-top);
}

/* Filtros de projetos */
.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: -1.5rem 0 2.6rem;
}

.filter-chip,
.subject-chip {
  appearance: none;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink-dim);
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 500;
  padding: 0.55rem 0.95rem;
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.filter-chip:hover,
.subject-chip:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.filter-chip.is-active,
.subject-chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

/* Audience (consultoria) */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  margin-bottom: 3.5rem;
}

.audience-col {
  padding: 2.2rem 2.4rem;
  border-right: 1px solid var(--line);
}

.audience-col:last-child {
  border-right: none;
}

.audience-col h3 {
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
}

.audience-col ul {
  list-style: none;
}

.audience-col li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.3rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-dim);
  border-bottom: 1px solid var(--line);
}

.audience-col li:last-child {
  border-bottom: none;
}

.audience-col li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

.audience-col-not li::before {
  content: '\2212';
}

/* Contato */
.contact-page {
  padding-bottom: 5rem;
}

.contact-page .section-head {
  margin-bottom: 2rem;
}

.contact-panel {
  border: 1px solid var(--line);
  padding: 1.5rem clamp(1.6rem, 4vw, 3rem) clamp(2.4rem, 4.5vw, 3.25rem);
  background: var(--hover-tint);
  text-align: center;
}

.contact-subjects-label {
  font-family: var(--display);
  font-size: clamp(2.1rem, 5.25vw, 3.2rem);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 auto 1.85rem;
}

.contact-subjects-label em {
  text-decoration: underline;
  text-decoration-color: var(--brand-red);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.12em;
}

.contact-subjects {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

.contact-hint {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-faint);
  margin-bottom: 2.1rem;
  max-width: 40ch;
  margin-left: auto;
  margin-right: auto;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

/* Sem animação de entrada */
.reveal {
  opacity: 1;
  transform: none;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .pulse-ring { animation: none; display: none; }
  * { transition-duration: 0.01ms !important; }
}

@media (min-width: 769px) {
  .contact-subjects-label {
    white-space: nowrap;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .wrap, .hero-inner, nav { padding-left: 2rem; padding-right: 2rem; }
  .price-card { padding: 2.2rem 1.6rem; }
  .num-item { padding: 2rem 1.6rem; }
  .footer-top { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
}

/* Tablet estreito: preços em coluna única, com largura contida */
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 520px; }
  .price-card { padding: 2.6rem 2.2rem; border-right: none; border-bottom: 1px solid var(--line); }
  .price-card:last-child { border-bottom: none; }
}

/* Mobile */
@media (max-width: 768px) {
  .audience-grid { grid-template-columns: 1fr; }
  .audience-col { border-right: none; border-bottom: 1px solid var(--line); }
  .audience-col:last-child { border-bottom: none; }
  .page-section { padding-top: var(--content-offset-top-mobile); }
  .contact-panel { padding: 1.25rem 1.35rem 1.75rem; }
  .contact-subjects-label {
    font-size: clamp(1.85rem, 6.2vw, 2.45rem);
    margin-bottom: 1.5rem;
    white-space: normal;
    text-wrap: balance;
  }
  .contact-actions { flex-direction: column; }
  .contact-actions .btn { width: 100%; justify-content: center; }
  .num-grid, .offer-grid { grid-template-columns: 1fr; }
  .num-item { padding: 2.4rem; }
  .process { grid-template-columns: 1fr; row-gap: 2.8rem; }
  .process::before { display: none; }
  .pricing-grid { max-width: none; }
  .project-grid { grid-template-columns: 1fr; gap: 2.6rem; }
  section { padding: 4.5rem 0; }
  .hero { padding-top: var(--content-offset-top-mobile); }
  nav { padding: 1.2rem 1.5rem; position: relative; }
  .nav-toggle { display: flex; }
  .brand-tagline { display: none; }
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    background: var(--nav-mobile-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.25s ease, padding 0.3s ease;
  }
  header.nav-open .nav-links {
    max-height: 70vh;
    opacity: 1;
    overflow-y: auto;
    padding: 0.5rem 1.5rem 1.5rem;
  }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 1rem 0;
    font-size: 0.78rem;
    border-bottom: 1px solid var(--line);
  }
  .nav-links .nav-cta {
    display: block;
    width: auto;
    justify-content: flex-start;
    padding: 1rem 0;
    border: none;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: none;
    margin: 0;
  }
  .nav-links .nav-cta:hover {
    background: none;
    border-color: var(--line);
  }
  .wrap, .hero-inner { padding-left: 1.5rem; padding-right: 1.5rem; }
  .hero-cta { flex-direction: column; align-items: stretch; margin-bottom: 1.8rem; }
  .hero-trust { margin-top: 1.4rem; padding-top: 1.4rem; }
  .hero-trust-badges { gap: 0.5rem; }
  .cta-buttons { flex-direction: column; align-items: stretch; }
  .section-head { margin-bottom: 2.6rem; }
  .feature-row { grid-template-columns: 1.2rem 1fr; }
  .feature-row p { grid-column: 2; }
  .footer-top { grid-template-columns: 1fr; gap: 2.2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .section-cta { flex-direction: column; align-items: flex-start; }
  .section-cta .btn { width: 100%; justify-content: center; }
  .offer-cell .btn { align-self: stretch; justify-content: center; }
  .pricing-custom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .pricing-custom .btn {
    width: 100%;
    justify-content: center;
  }
}

/* projetos: título da página é o h1, com a aparência de um h2 de seção */
h1#projects-title { font-size: clamp(1.8rem, 4.2vw, 2.6rem); line-height: 1.18; font-weight: 500; }
