/* =========================================================
   Otto Jakobsen Systems - Folha de estilo principal
   Tema escuro padrão + tema claro via [data-theme="light"]
   ========================================================= */

/* Redesign v2: paleta mais suave (escuro menos pesado, claro em tom areia
   para o dourado se destacar), vidro sutil e tipografia mais ousada. */
:root {
  --bg-deep: #0e1916;
  --bg-card: rgba(255, 255, 255, 0.055);
  --bg-card-solid: #14231e;
  --section-bg-alt: #12201b;
  --accent-gold: #e2bc4f;
  --gold-1: #f3d77e;
  --gold-2: #c9982b;
  --accent-teal: #2e8b57;
  --accent-teal-text: #5fcf93;
  --accent-ai: #4cd8f2;
  --text-main: #f6f2e7;
  --text-dim: #b9c7c0;
  --glass-border: rgba(255, 255, 255, 0.13);
  --hero-grad-1: rgba(46, 139, 87, 0.32);
  --hero-grad-2: rgba(226, 188, 79, 0.16);
  --card-hover-bg: rgba(255, 255, 255, 0.09);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.22);
  --shadow-strong: 0 24px 50px rgba(0, 0, 0, 0.35);
  --btn-hover-text: #1a1405;
  --nav-bg: rgba(14, 25, 22, 0.66);
  --nav-text: #f6f2e7;
  --nav-border: rgba(226, 188, 79, 0.28);
  --ok: #4ade80;
  --error: #f87171;
  --font-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --header-h: 84px;
  --radius: 18px;
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg-deep: #f2ead8;
  --bg-card: rgba(255, 252, 244, 0.72);
  --bg-card-solid: #fbf6ea;
  --section-bg-alt: #e9dfc7;
  --accent-gold: #7a5809;
  --gold-1: #e9c765;
  --gold-2: #b98a1f;
  --accent-teal: #2a56c6;
  --accent-teal-text: #1f4aa8;
  --accent-ai: #0b6a8a;
  --text-main: #17261f;
  --text-dim: #43524a;
  --glass-border: rgba(23, 38, 31, 0.14);
  --hero-grad-1: rgba(60, 110, 230, 0.18);
  --hero-grad-2: rgba(201, 152, 43, 0.26);
  --card-hover-bg: rgba(255, 252, 244, 0.95);
  --shadow-soft: 0 10px 30px rgba(70, 52, 10, 0.08);
  --shadow-strong: 0 24px 50px rgba(70, 52, 10, 0.16);
  --btn-hover-text: #1a1405;
  --nav-bg: rgba(250, 244, 230, 0.72);
  --nav-text: #17261f;
  --nav-border: rgba(122, 88, 9, 0.28);
  --ok: #15803d;
  --error: #b91c1c;
  color-scheme: light;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

a {
  color: var(--accent-gold);
}

a:hover {
  text-decoration-thickness: 2px;
}

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

strong {
  font-weight: 700;
}

.container {
  width: min(1200px, 100% - 2 * clamp(16px, 5vw, 48px));
  margin-inline: auto;
}

.container-narrow {
  width: min(820px, 100% - 2 * clamp(16px, 5vw, 48px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 2000;
  background: var(--accent-gold);
  color: #050a0f;
  padding: 10px 16px;
  font-weight: 700;
  border-radius: var(--radius);
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 1000;
  background: linear-gradient(90deg, #0c1a4a, #2f5fd6);
  box-shadow: var(--shadow-soft);
  transition: height 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  --header-h: 64px;
  height: 64px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.logo span {
  color: #d4af37;
  font-size: 0.7em;
  letter-spacing: 4px;
  font-weight: 600;
  margin-top: 4px;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 26px;
  align-items: center;
}

.main-nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.88;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: #d4af37;
  opacity: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle,
.menu-toggle {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  padding: 8px 14px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #ffffff;
  font: 700 0.75rem/1 var(--font-sans);
  min-height: 40px;
}

.theme-toggle:hover,
.menu-toggle:hover {
  border-color: #d4af37;
  background: rgba(0, 0, 0, 0.2);
}

.menu-toggle {
  display: none;
  width: 44px;
  justify-content: center;
  padding: 0;
}

.menu-toggle .bars,
.menu-toggle .bars::before,
.menu-toggle .bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  position: relative;
  transition: transform 0.2s ease, background 0.2s ease;
}

.menu-toggle .bars::before,
.menu-toggle .bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle .bars::before { top: -6px; }
.menu-toggle .bars::after { top: 6px; }

.menu-toggle[aria-expanded="true"] .bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Botões / selos ---------- */
.cta-btn {
  display: inline-block;
  padding: 17px 38px;
  background: transparent;
  border: 2px solid var(--accent-gold);
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font: 800 0.85rem/1.2 var(--font-sans);
  text-decoration: none;
  border-radius: 2px;
  cursor: pointer;
  text-align: center;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.cta-btn:hover {
  background: var(--accent-gold);
  color: var(--btn-hover-text);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.cta-btn.solid {
  background: var(--accent-gold);
  color: var(--btn-hover-text);
}

.cta-btn.solid:hover {
  filter: brightness(1.08);
}

.cta-btn[disabled] {
  opacity: 0.6;
  cursor: wait;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid var(--accent-ai);
  color: var(--accent-ai);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 25px;
}

.ai-badge::before {
  content: "✦";
  font-size: 0.9rem;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 64px) 0 80px;
  background:
    radial-gradient(circle at 80% 20%, var(--hero-grad-1), transparent 50%),
    radial-gradient(circle at 20% 80%, var(--hero-grad-2), transparent 50%);
}

.hero.compact {
  min-height: auto;
  padding-bottom: 64px;
}

.hero-content {
  max-width: 950px;
  margin-inline: auto;
  animation: fadeIn 1s ease-out;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 5.5vw, 3.8rem);
  line-height: 1.15;
  margin-bottom: 25px;
}

.hero h1 span { color: var(--accent-gold); }
.hero h1 .ai-text { color: var(--accent-ai); font-style: italic; }

.hero p.lead {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-dim);
  margin: 0 auto 40px;
  max-width: 850px;
  line-height: 1.75;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 6px;
  opacity: 0.6;
}

.breadcrumb a {
  color: var(--text-dim);
}

/* ---------- Seções ---------- */
.section {
  padding: clamp(64px, 9vw, 100px) 0;
}

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

.section-tag {
  color: var(--accent-teal-text);
  font-weight: 800;
  letter-spacing: 3px;
  display: block;
  margin-bottom: 15px;
  text-align: center;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.2;
  text-align: center;
  margin-bottom: 20px;
}

.section-intro {
  text-align: center;
  color: var(--text-dim);
  max-width: 760px;
  margin: 0 auto 56px;
  line-height: 1.75;
}

/* ---------- Segmentos ---------- */
.friendly-segments {
  padding: 44px 0;
  background: var(--bg-card);
  border-block: 1px solid var(--glass-border);
  text-align: center;
}

.friendly-segments h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.5;
}

.segments-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  list-style: none;
}

.segment-item {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--accent-gold);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* ---------- Cards ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 25px;
}

.card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  border-color: var(--accent-gold);
  background: var(--card-hover-bg);
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

.card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  line-height: 1.3;
  margin-bottom: 15px;
}

.card h3 a {
  color: inherit;
  text-decoration: none;
}

.card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.card p {
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 25px;
}

.card-num {
  font-size: 0.85rem;
  color: var(--accent-gold);
  margin-bottom: 20px;
  display: block;
  font-weight: 800;
}

.card-link {
  margin-top: 18px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.tech-tags {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.tech-tag {
  font-size: 0.7rem;
  color: var(--accent-teal-text);
  border: 1px solid rgba(42, 86, 198, 0.45);
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 1px;
  font-weight: 700;
  background: rgba(42, 86, 198, 0.08);
}

/* ---------- Sobre / método ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-visual {
  width: 100%;
  min-height: 400px;
  background: linear-gradient(135deg, var(--section-bg-alt) 0%, var(--bg-deep) 100%);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow-soft);
  padding: 24px;
}

.about-visual .big {
  color: var(--accent-gold);
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.25;
}

.about-visual .small {
  font-size: 0.75rem;
  letter-spacing: 3px;
  font-weight: 600;
  color: var(--text-dim);
  margin-top: 15px;
}

.about-text .section-tag,
.about-text h2 {
  text-align: left;
}

.about-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 25px;
}

.about-text p {
  color: var(--text-dim);
  margin-bottom: 25px;
  line-height: 1.75;
}

.method-list {
  list-style: none;
  margin-bottom: 30px;
}

.method-list li {
  margin-bottom: 14px;
  padding-left: 22px;
  position: relative;
  line-height: 1.6;
}

.method-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  background-color: var(--accent-gold);
  border-radius: 50%;
}

/* ---------- Conteúdo de texto (páginas internas) ---------- */
.prose {
  color: var(--text-main);
  line-height: 1.8;
}

.prose h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  line-height: 1.25;
  margin: 48px 0 18px;
}

.prose h3 {
  font-size: 1.15rem;
  margin: 32px 0 12px;
}

.prose p,
.prose ul,
.prose ol {
  margin-bottom: 18px;
  color: var(--text-dim);
}

.prose ul,
.prose ol {
  padding-left: 22px;
}

.prose li {
  margin-bottom: 8px;
}

.prose li strong,
.prose p strong {
  color: var(--text-main);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 20px;
  margin: 28px 0 8px;
}

.feature {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-left: 3px solid var(--accent-gold);
  padding: 22px 22px 18px;
  box-shadow: var(--shadow-soft);
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

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

/* ---------- FAQ ---------- */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
}

details {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  margin-bottom: 15px;
  box-shadow: var(--shadow-soft);
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 700;
  font-size: 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: "+";
  color: var(--accent-gold);
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
}

details[open] summary::after { content: "−"; }

details .answer {
  margin: 0 20px;
  padding: 14px 0 18px;
  color: var(--text-dim);
  line-height: 1.7;
  font-size: 0.93rem;
  border-top: 1px solid var(--glass-border);
}

/* ---------- Faixa CTA ---------- */
.cta-band {
  text-align: center;
  padding: clamp(56px, 8vw, 88px) 0;
  background: linear-gradient(135deg, #2f5fd6 0%, #1b3a9a 60%, #0c1a4a 100%);
  color: #ffffff;
}

.cta-band h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1.2;
  margin-bottom: 16px;
}

.cta-band p {
  opacity: 0.92;
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.cta-band .cta-btn {
  border-color: #d4af37;
  color: #d4af37;
}

.cta-band .cta-btn:hover {
  background: #d4af37;
  color: #050a0f;
}

/* ---------- Contato ---------- */
.contact-box {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-strong);
}

.info-side {
  padding: 56px 40px;
  background: linear-gradient(135deg, #2f5fd6 0%, #1b3a9a 100%);
  color: #ffffff;
}

.info-side h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.3rem);
  line-height: 1.2;
  margin-bottom: 25px;
}

.info-side p {
  font-weight: 400;
  line-height: 1.8;
  opacity: 0.92;
  margin-bottom: 30px;
}

.info-side address {
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 2px;
  line-height: 2;
  text-transform: uppercase;
}

.form-side {
  padding: 56px 40px;
  background: var(--bg-card-solid);
}

.field {
  margin-bottom: 28px;
}

.field label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
  color: var(--accent-gold);
  font-weight: 800;
}

.field input,
.field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--glass-border);
  padding: 10px 0;
  color: var(--text-main);
  font: 400 1rem/1.5 var(--font-sans);
  border-radius: 0;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--accent-gold);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-dim);
  opacity: 0.75;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 16px;
  line-height: 1.6;
}

.form-status {
  margin-top: 16px;
  font-weight: 700;
  font-size: 0.92rem;
  min-height: 1.5em;
}

.form-status.ok { color: var(--ok); }
.form-status.error { color: var(--error); }

.contact-form .cta-btn {
  width: 100%;
}

/* ---------- Rodapé ---------- */
.site-footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--glass-border);
  text-align: center;
  background: var(--bg-deep);
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 20px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  font-weight: 700;
  text-decoration: none;
  line-height: 1;
}

.footer-logo span {
  color: var(--accent-gold);
  font-size: 0.7em;
  letter-spacing: 4px;
  margin-top: 4px;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  margin: 10px 0 20px;
}

.footer-nav a {
  color: var(--text-dim);
  font-size: 0.85rem;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--accent-gold);
  text-decoration: underline;
}

.seo-footer-text {
  max-width: 700px;
  margin: 20px auto;
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.7;
}

.copy {
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 25px;
}

/* ---------- 404 ---------- */
.not-found {
  min-height: 80vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: calc(var(--header-h) + 48px) 0 64px;
}

.not-found .code {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 14vw, 8rem);
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 12px;
}

/* ---------- Responsivo ---------- */
@media (max-width: 960px) {
  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #050a0f;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    display: none;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 16px;
  }

  .main-nav a {
    display: block;
    padding: 14px clamp(16px, 5vw, 48px);
    font-size: 0.85rem;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-visual {
    min-height: 240px;
  }

  .contact-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .theme-toggle .label {
    display: none;
  }

  .theme-toggle {
    width: 44px;
    justify-content: center;
    padding: 0;
  }

  .logo {
    font-size: 1.05rem;
  }

  .cta-btn {
    width: 100%;
    padding: 16px 20px;
  }

  .form-side,
  .info-side {
    padding: 32px 20px;
  }

  .card {
    padding: 32px 22px;
  }
}

/* =========================================================
   Recursos modernos e componentes do portfólio
   ========================================================= */

/* Transição suave entre páginas (Chrome/Edge/Safari recentes) */
@view-transition {
  navigation: auto;
}

/* Revelação ao rolar: só ativa quando o JS marca <html class="js-reveal"> */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal {
    opacity: 1;
    transform: none;
  }
}

.section-cta {
  margin-top: 44px;
}

.card-cta {
  border-style: dashed;
}

.case-sector {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-ai);
  margin-bottom: 14px;
}

.link-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.link-list a {
  display: inline-block;
  padding: 9px 16px;
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-main);
  background: var(--bg-card);
}

.link-list a:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.case-index {
  margin-top: 36px;
}

.cases {
  display: grid;
  gap: 32px;
}

.case {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  padding: clamp(28px, 4vw, 48px);
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.case:target {
  border-color: var(--accent-gold);
}

.case-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  line-height: 1.25;
  margin-bottom: 12px;
}

.case-summary {
  color: var(--text-dim);
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 820px;
}

.case-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--glass-border);
}

.case-body h3 {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 10px;
}

.case-body p {
  color: var(--text-dim);
  line-height: 1.75;
  margin-bottom: 22px;
}

.case-body .tech-tags {
  margin-top: 8px;
}

.case-service {
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.contact-alt {
  margin-top: 28px;
}

.info-side .contact-alt .cta-btn {
  border-color: #ffffff;
  color: #ffffff;
}

.info-side .contact-alt .cta-btn:hover {
  background: #ffffff;
  color: #1b3a9a;
}

.whats-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease;
}

.whats-float:hover {
  transform: scale(1.08);
}

ol.method-list {
  counter-reset: passo;
}

@media (max-width: 760px) {
  .case-body {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media print {
  .site-header,
  .whats-float,
  .theme-toggle,
  .menu-toggle,
  .contact-form,
  .cta-row {
    display: none !important;
  }

  body {
    background: #ffffff;
    color: #000000;
  }

  .hero {
    min-height: auto;
    padding-top: 24px;
  }
}

/* Botões do formulário (e-mail + WhatsApp) */
.form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-form .form-actions .cta-btn {
  width: 100%;
  padding-inline: 16px;
}

.whats-btn {
  border-color: #25d366;
  color: #25d366;
}

:root[data-theme="light"] .whats-btn {
  border-color: #128c3e;
  color: #128c3e;
}

.whats-btn:hover {
  background: #25d366;
  border-color: #25d366;
  color: #050a0f;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.25);
}

@media (max-width: 600px) {
  .form-actions {
    grid-template-columns: 1fr;
  }
}

/* Espaço entre a introdução e "O que entregamos" */
.section > .container-narrow.prose {
  margin-bottom: 56px;
}

/* =========================================================
   LAYOUT V3 — tecnologia: trilho lateral, azul royal + dourado
   Tema claro (padrão) e escuro. Camada final: sobrescreve a base.
   ========================================================= */
:root {
  --rail-w: 84px;
  --top-h: 64px;
  --header-h: 64px;
  --royal: #2350d8;
  --royal-2: #1b3fb5;
  --royal-deep: #0e2470;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --radius: 14px;
  --bg-deep: #07080d;
  --bg-card: rgba(255, 255, 255, 0.045);
  --bg-card-solid: #0f1220;
  --section-bg-alt: #0b0d17;
  --accent-gold: #e2bc4f;
  --accent-teal: #2c56d6;
  --accent-teal-text: #8fb0ff;
  --accent-ai: #8fb0ff;
  --text-main: #f2f5ff;
  --text-dim: #aab3cc;
  --glass-border: rgba(255, 255, 255, 0.12);
  --hero-grad-1: rgba(35, 80, 216, 0.35);
  --hero-grad-2: rgba(226, 188, 79, 0.12);
  --card-hover-bg: rgba(255, 255, 255, 0.08);
  --line: rgba(143, 176, 255, 0.22);
  --btn-hover-text: #120d02;
  --ok: #4ade80;
  --error: #f87171;
}
:root[data-theme="light"] {
  --bg-deep: #f6f8ff;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-solid: #ffffff;
  --section-bg-alt: #ebf0fd;
  --accent-gold: #a87a14;
  --accent-teal: #2350d8;
  --accent-teal-text: #1b3fb5;
  --accent-ai: #1b3fb5;
  --text-main: #0b1230;
  --text-dim: #424c6c;
  --glass-border: rgba(14, 36, 112, 0.16);
  --hero-grad-1: rgba(35, 80, 216, 0.16);
  --hero-grad-2: rgba(226, 188, 79, 0.25);
  --card-hover-bg: #ffffff;
  --line: rgba(27, 63, 181, 0.22);
  --btn-hover-text: #ffffff;
  --ok: #15803d;
  --error: #b91c1c;
}
.mono { font-family: var(--font-mono); }
.serif { font-family: var(--font-serif); }
body { padding-left: var(--rail-w); }
:focus-visible { outline-color: var(--accent-gold); }

/* ---------- Trilho lateral ---------- */
.site-header {
  inset: 0 auto 0 0;
  width: var(--rail-w);
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  background: linear-gradient(180deg, #0a1a52 0%, #1b3fb5 55%, #2350d8 100%);
  border-right: 1px solid rgba(226, 188, 79, 0.45);
  box-shadow: 6px 0 30px rgba(0, 0, 0, 0.25);
  color: #fff;
}
:root:not([data-theme="light"]) .site-header { background: linear-gradient(180deg, #05060b 0%, #0b1536 60%, #14245c 100%); }
.site-header.scrolled { height: 100vh; --header-h: 64px; }
.site-header .logo { align-items: center; flex-direction: column; gap: 0; }
.site-header .logo .oj {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  font: 800 1.05rem/1 var(--font-sans); letter-spacing: 1px; color: #120d02; margin: 0;
  background: linear-gradient(135deg, #f3d77e, #c9982b);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.site-header .logo .logo-txt { display: none; }
.main-nav { flex: 1; display: flex; align-items: center; }
.main-nav ul { flex-direction: column; gap: 22px; }
.main-nav a {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font: 700 0.72rem/1 var(--font-mono); letter-spacing: 3px; text-transform: uppercase;
  padding: 6px 4px; position: relative; opacity: 0.8;
}
.main-nav a::after {
  content: ""; position: absolute; right: -6px; top: 0; bottom: 0; width: 2px;
  background: #e2bc4f; transform: scaleY(0); transition: transform 0.25s ease;
}
.main-nav a:hover, .main-nav a[aria-current="page"], .main-nav a.on { color: #f3d77e; opacity: 1; }
.main-nav a.on::after, .main-nav a[aria-current="page"]::after { transform: scaleY(1); }
.header-actions { flex-direction: column; }
.theme-toggle { padding: 0; width: 42px; height: 42px; justify-content: center; border-radius: 12px; }
.theme-toggle .label { display: none; }

/* ---------- Barra superior ---------- */
.topbar {
  position: fixed; top: 0; left: var(--rail-w); right: 0; height: var(--top-h); z-index: 900;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 clamp(16px, 3vw, 40px);
  background: color-mix(in srgb, var(--bg-deep) 82%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar-local { font: 600 0.7rem/1 var(--font-mono); letter-spacing: 2px; color: var(--text-dim); }
.topbar .cta-btn { padding: 11px 22px; font-size: 0.72rem; }

/* ---------- Botões ---------- */
.cta-btn { border-radius: 10px; border-width: 1.5px; padding: 15px 30px; letter-spacing: 1.5px; }
.cta-btn.solid {
  border-color: transparent;
  background: linear-gradient(135deg, #f3d77e, #e2bc4f 55%, #c9982b);
  color: #120d02;
}
:root[data-theme="light"] .cta-btn { border-color: var(--royal); color: var(--royal); }
:root[data-theme="light"] .cta-btn:hover { background: var(--royal); color: #fff; box-shadow: 0 10px 26px rgba(35, 80, 216, 0.3); }
:root[data-theme="light"] .cta-btn.solid { background: linear-gradient(135deg, #2c56d6, #1b3fb5); color: #fff; border-color: transparent; }
:root[data-theme="light"] .cta-btn.solid:hover { filter: brightness(1.1); }
:root:not([data-theme="light"]) .cta-btn:not(.solid) { border-color: var(--line); color: var(--text-main); }
:root:not([data-theme="light"]) .cta-btn:not(.solid):hover { background: var(--card-hover-bg); color: var(--accent-gold); border-color: var(--accent-gold); box-shadow: none; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; position: relative; overflow: hidden;
  padding: calc(var(--top-h) + 56px) 0 72px;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 56px 56px,
    radial-gradient(ellipse at 50% 0%, var(--hero-grad-1), transparent 60%),
    radial-gradient(circle at 85% 85%, var(--hero-grad-2), transparent 45%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 30%, var(--bg-deep) 100%);
}
.hero > .container { position: relative; }
.hero.compact { min-height: auto; padding: calc(var(--top-h) + 48px) 0 56px; }
.hero-center { max-width: 1080px; display: flex; flex-direction: column; align-items: center; }
.tag {
  display: inline-block; padding: 8px 16px; border-radius: 999px; margin-bottom: 28px;
  border: 1px solid var(--line); background: var(--bg-card);
  font-size: 0.74rem; letter-spacing: 1.5px; color: var(--accent-teal-text);
}
.hero h1 {
  font-family: var(--font-sans); font-weight: 800; letter-spacing: -0.03em;
  font-size: clamp(2.3rem, 6.4vw, 5rem); line-height: 1.04; margin-bottom: 26px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, #f3d77e, #e2bc4f 40%, #c9982b);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
:root[data-theme="light"] .hero h1 em { background-image: linear-gradient(120deg, #2c56d6, #1b3fb5 50%, #a87a14); }
.hero h1 span { color: var(--accent-gold); }
.hero.compact h1 { font-size: clamp(2rem, 4.8vw, 3.4rem); }
.hero p.lead { color: var(--text-dim); }
.hero p.lead strong { color: var(--text-main); }

.pipeline {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0;
  margin-top: 64px; width: 100%;
}
.pipeline li {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 18px 22px; min-width: 150px; flex: 1 1 150px; max-width: 200px;
  font: 700 0.72rem/1.3 var(--font-mono); letter-spacing: 1px; text-transform: uppercase; color: var(--text-main);
}
.pipeline li i {
  font-style: normal; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px;
  font-size: 1.4rem; color: #fff; background: linear-gradient(135deg, #2c56d6, #1b3fb5);
  box-shadow: 0 8px 24px rgba(35, 80, 216, 0.35);
}
.pipeline li.b i { background: linear-gradient(135deg, #f3d77e, #c9982b); color: #120d02; box-shadow: 0 8px 24px rgba(226, 188, 79, 0.3); }
.pipeline li + li::before {
  content: ""; position: absolute; left: -50%; top: 45px; width: 100%; height: 0; z-index: -1;
  border-top: 2px dashed var(--line);
}

/* ---------- Segmentos ---------- */
.friendly-segments { padding: 22px 0; overflow: hidden; }
.segments-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; }
.segment-item { font: 600 0.78rem/1 var(--font-mono); letter-spacing: 1px; text-transform: uppercase; color: var(--text-dim); }
.segment-item span { color: var(--accent-gold); }

/* ---------- Seções ---------- */
.section-tag { text-align: left; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 3px; color: var(--accent-gold); }
.section-title { font-family: var(--font-sans); font-weight: 800; letter-spacing: -0.025em; text-align: left; font-size: clamp(1.9rem, 4.2vw, 3.1rem); margin-bottom: 18px; }
.section-intro { text-align: left; margin: 0 0 44px; max-width: 680px; }
.faq-container .section-title { margin-bottom: 28px; }
.card, .feature, .case-card { border-radius: var(--radius); }

/* ---------- Soluções: abas ---------- */
.svc { display: grid; grid-template-columns: minmax(240px, 0.8fr) 1.4fr; gap: 28px; margin-top: 36px; align-items: start; }
.svc-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.svc-item {
  display: flex; align-items: baseline; gap: 18px; width: 100%; text-align: left; cursor: pointer;
  padding: 22px 6px; background: none; border: 0; border-bottom: 1px solid var(--line);
  font: 700 clamp(1.05rem, 1.8vw, 1.4rem)/1.25 var(--font-sans); color: var(--text-dim);
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.svc-item .mono { font-size: 0.78rem; color: var(--accent-gold); }
.svc-item:hover { color: var(--text-main); }
.svc-item.active { color: var(--text-main); padding-left: 16px; box-shadow: inset 3px 0 0 var(--accent-gold); }
.svc-panels { min-width: 0; }
.svc-panel {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow-soft);
}
.svc-js .svc-panel { display: none; }
.svc-js .svc-panel.active { display: block; animation: fadeIn 0.35s ease-out; }
.svc-panel:not(.active) { margin-top: 18px; }
.svc-js .svc-panel:not(.active) { margin-top: 0; }
.panel-num { color: var(--accent-gold); font-size: 0.8rem; letter-spacing: 2px; }
.svc-panel h3 { font: 800 clamp(1.4rem, 2.6vw, 2rem)/1.2 var(--font-sans); letter-spacing: -0.02em; margin: 8px 0 12px; }
.svc-panel > p { color: var(--text-dim); line-height: 1.75; max-width: 60ch; }
.mock {
  margin: 22px 0; height: 150px; border-radius: 12px; padding: 16px; overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(35, 80, 216, 0.14), rgba(226, 188, 79, 0.08)), var(--bg-card-solid);
}
.vz { width: 100%; height: 100%; }
.vz-bars { display: flex; align-items: flex-end; gap: 10px; }
.vz-bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #5b86f5, #1b3fb5); }
.vz-bars i:nth-child(odd) { background: linear-gradient(180deg, #f3d77e, #c9982b); }
.vz-rows { display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.vz-rows b { display: block; height: 20px; border-radius: 6px; background: linear-gradient(90deg, rgba(35, 80, 216, 0.6), rgba(35, 80, 216, 0.12)); }
.vz-rows b:nth-child(2) { width: 82%; } .vz-rows b:nth-child(3) { width: 64%; background: linear-gradient(90deg, rgba(226, 188, 79, 0.7), rgba(226, 188, 79, 0.12)); } .vz-rows b:nth-child(4) { width: 46%; }
.vz-flow { display: flex; align-items: center; gap: 8px; }
.vz-flow span { flex: 0 0 auto; padding: 10px 14px; border-radius: 10px; font: 700 0.7rem/1 var(--font-mono); text-transform: uppercase; color: #fff; background: #1b3fb5; }
.vz-flow span:nth-of-type(2) { background: linear-gradient(135deg, #f3d77e, #c9982b); color: #120d02; }
.vz-flow u { flex: 1; min-width: 12px; height: 0; border-top: 2px dashed var(--accent-gold); text-decoration: none; }
.vz-site { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1.4fr 1fr; gap: 8px; }
.vz-site em { border-radius: 8px; background: rgba(35, 80, 216, 0.35); border: 1px solid var(--line); }
.vz-site em:first-child { grid-column: 1 / -1; background: linear-gradient(120deg, rgba(35, 80, 216, 0.6), rgba(226, 188, 79, 0.35)); }
.panel-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; margin-bottom: 18px; }
.panel-list li { position: relative; padding-left: 20px; font-size: 0.92rem; color: var(--text-main); }
.panel-list li::before { content: "▸"; position: absolute; left: 0; color: var(--accent-gold); }
.svc-panel .tech-tags { margin-bottom: 18px; }
.svc-panel .card-link { display: inline-block; font-weight: 800; color: var(--accent-gold); text-decoration: none; }
.svc-custom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  margin-top: 36px; padding: 24px 28px; border-radius: var(--radius);
  border: 1px dashed var(--accent-gold); background: var(--bg-card);
}
.svc-custom p { max-width: 62ch; color: var(--text-dim); }
.svc-custom strong { color: var(--text-main); }

/* ---------- Projetos: tickets ---------- */
.tickets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ticket {
  position: relative; overflow: hidden; padding: 28px 26px 26px; border-radius: var(--radius);
  background: var(--bg-card); border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.ticket:hover { transform: translateY(-4px); border-color: var(--accent-gold); }
.ticket::before, .ticket::after {
  content: ""; position: absolute; top: 96px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--section-bg-alt); border: 1px solid var(--line);
}
.ticket::before { left: -10px; } .ticket::after { right: -10px; }
.ticket-num {
  display: block; font-size: 4.4rem; font-weight: 700; line-height: 1; margin-bottom: 22px;
  color: transparent; -webkit-text-stroke: 1.5px var(--accent-gold);
}
.ticket .case-sector { display: block; margin-bottom: 10px; color: var(--accent-teal-text); font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; }
.ticket h3 { font: 800 1.2rem/1.3 var(--font-sans); margin-bottom: 10px; }
.ticket h3 a { color: var(--text-main); text-decoration: none; }
.ticket h3 a:hover { color: var(--accent-gold); }
.ticket p { color: var(--text-dim); font-size: 0.95rem; line-height: 1.7; margin-bottom: 16px; }
.section-cta { margin-top: 40px; justify-content: flex-start; }

/* ---------- Método ---------- */
.method { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.method-intro { position: sticky; top: calc(var(--top-h) + 28px); }
.steps { list-style: none; position: relative; padding-left: 38px; }
.steps::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--accent-gold), var(--royal) 60%, transparent); }
.step { position: relative; padding-bottom: 34px; }
.step::before {
  content: ""; position: absolute; left: -38px; top: 6px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--bg-deep); border: 3px solid var(--accent-gold);
}
.step small { display: block; font-size: 0.74rem; letter-spacing: 3px; color: var(--accent-gold); margin-bottom: 4px; }
.step h3 { font: 800 1.35rem/1.25 var(--font-sans); margin-bottom: 8px; }
.step p { color: var(--text-dim); line-height: 1.75; max-width: 56ch; }

/* ---------- Contato / FAQ ---------- */
.contact-box { border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow-strong); }
details { border-radius: 12px; }

/* ---------- Rodapé ---------- */
.site-footer {
  position: relative; overflow: hidden; padding: 72px 0 28px; margin-top: 0;
  background: linear-gradient(180deg, var(--section-bg-alt), var(--bg-deep));
  border-top: 1px solid var(--line);
}
.footer-chamada { font: 800 clamp(1.6rem, 3.6vw, 2.6rem)/1.15 var(--font-sans); letter-spacing: -0.025em; margin-bottom: 22px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 48px 0 8px; text-align: left; }
.footer-nav h2 { font: 700 0.74rem/1 var(--font-mono); letter-spacing: 3px; text-transform: uppercase; color: var(--accent-gold); margin-bottom: 16px; }
.footer-nav ul { list-style: none; display: grid; gap: 10px; }
.footer-nav a { color: var(--text-dim); text-decoration: none; }
.footer-nav a:hover { color: var(--text-main); }
.footer-wordmark {
  font: 900 clamp(2.6rem, 11.5vw, 10rem)/0.95 var(--font-sans); letter-spacing: -0.04em; white-space: nowrap;
  text-align: center; margin: 40px 0 10px; user-select: none;
  color: transparent; -webkit-text-stroke: 1.5px var(--line);
  background: linear-gradient(180deg, rgba(226, 188, 79, 0.28), transparent 75%); -webkit-background-clip: text; background-clip: text;
}
.seo-footer-text { max-width: 880px; margin: 0 auto 26px; text-align: center; font-size: 0.82rem; color: var(--text-dim); opacity: 0.85; }
.footer-base {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px;
  padding-top: 22px; border-top: 1px solid var(--line);
}
.copy { font: 600 0.8rem/1.4 var(--font-mono); color: var(--text-dim); }
.footer-mini ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-mini a { font: 600 0.78rem/1 var(--font-mono); letter-spacing: 1px; text-transform: uppercase; text-decoration: none; color: var(--text-dim); }
.footer-mini a:hover { color: var(--accent-gold); }
.whats-float { right: 20px; bottom: 20px; }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .tickets { grid-template-columns: 1fr 1fr; }
  .svc { grid-template-columns: 1fr; }
  .svc-list { flex-direction: row; flex-wrap: wrap; border-top: 0; gap: 8px; }
  .svc-item { width: auto; padding: 12px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.95rem; }
  .svc-item.active { padding-left: 16px; box-shadow: none; background: var(--accent-gold); color: #120d02; border-color: transparent; }
  .svc-item.active .mono { color: inherit; }
  :root[data-theme="light"] .svc-item.active { background: var(--royal); color: #fff; }
  .method { grid-template-columns: 1fr; }
  .method-intro { position: static; }
}
@media (max-width: 960px) {
  :root { --rail-w: 0px; --top-h: 60px; --header-h: 60px; }
  body { padding-left: 0; }
  .site-header, .site-header.scrolled {
    inset: 0 0 auto 0; width: 100%; height: 60px; flex-direction: row; padding: 0 16px;
    border-right: 0; border-bottom: 1px solid rgba(226, 188, 79, 0.45);
  }
  .site-header .logo .oj { width: 40px; height: 40px; }
  .topbar { display: none; }
  .header-actions { flex-direction: row; }
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: 60px 0 0 0; z-index: 999; display: none; align-items: flex-start;
    padding: 32px 24px; background: var(--bg-deep);
  }
  .main-nav.open { display: flex; }
  .main-nav ul { width: 100%; gap: 0; align-items: stretch; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav a { writing-mode: horizontal-tb; transform: none; display: block; padding: 20px 4px; font-size: 1rem; color: var(--text-main); opacity: 1; }
  .main-nav a::after { display: none; }
  .main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--accent-gold); }
  .hero { min-height: auto; padding: calc(var(--top-h) + 40px) 0 56px; }
  .pipeline { margin-top: 40px; }
  .pipeline li + li::before { display: none; }
  .pipeline li { flex: 1 1 42%; max-width: none; min-width: 130px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .tickets, .footer-cols, .panel-list { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; align-items: flex-start; }
  .cta-row .cta-btn { width: 100%; }
  .svc-custom { padding: 20px; }
  .mock { height: 130px; }
}

/* ajustes finos v3 */
.footer-wordmark { font-size: clamp(2.2rem, 8.6vw, 8rem); overflow: hidden; }
.footer-nav ul { padding: 0; }
.footer-nav { text-align: left; }
.footer-chamada, .site-footer .container > .cta-btn { text-align: left; }
.faq-container .section-tag { text-align: left; }
.site-footer { text-align: left; }
.footer-nav ul { display: grid; justify-content: start; margin: 0; gap: 10px; }
.footer-nav a { font-size: 0.92rem; }
.copy { text-transform: none; letter-spacing: 0; font-size: 0.8rem; }
.faq-container .section-title, .contact-box h2 { font-family: var(--font-sans); font-weight: 800; letter-spacing: -0.02em; }
.faq-container .section-title { color: var(--text-main); }
.info-side .cta-btn, :root[data-theme="light"] .info-side .cta-btn { color: #fff; border-color: rgba(255,255,255,.7); background: transparent; }
.info-side .cta-btn:hover, :root[data-theme="light"] .info-side .cta-btn:hover { background: #fff; color: #1b3fb5; }
