/* ==========================================================================
   Don Code IA — Sistema visual
   Dualidade do logo: herança (serifa dourada) + tecnologia (mono/aço/azul)
   ========================================================================== */

:root {
  /* Fundo — near-black quente, casando com o logo */
  --void:      #0B0B0E;
  --void-2:    #0F0F13;
  --panel:     #16161C;
  --panel-2:   #1C1C24;
  --panel-hi:  #23232D;

  /* Metais e acentos */
  --gold:      #C9A24B;
  --gold-2:    #E7CE84;
  --gold-deep: #8A6D2E;
  --chrome:    #C7CBD2;
  --steel:     #878C96;
  --tech:      #3FA9F5;   /* azul tecnológico — usado com parcimônia */

  /* Texto */
  --ink:       #ECE9E1;
  --ink-soft:  #C6C4BD;
  --muted:     #8C8C96;

  /* Linhas */
  --line:      rgba(201,162,75,.16);
  --line-soft: rgba(255,255,255,.07);

  /* Tipografia */
  --display: "Bebas Neue", "Segoe UI", system-ui, sans-serif;
  --brand: "Orbitron", "Segoe UI", system-ui, sans-serif;
  --sans:  "Rajdhani", system-ui, -apple-system, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  /* Efeito metálico — usado em títulos principais e destaques */
  --metal-silver: linear-gradient(180deg, #ffffff 0%, #eef0f2 22%, #c7cbd2 45%, #8b8f99 58%, #d7dbe1 72%, #ffffff 100%);
  --metal-gold: linear-gradient(180deg, #fff6df 0%, #f3dfa0 20%, #e7ce84 40%, #c9a24b 62%, #8a6d2e 80%, #e7ce84 100%);

  --maxw: 1180px;
  --radius: 14px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  background: var(--void);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  /* Textura sutil + brilho dourado nos cantos, como o banner do logo */
  background-image:
    radial-gradient(900px 500px at 12% -8%, rgba(201,162,75,.07), transparent 60%),
    radial-gradient(700px 500px at 100% 4%, rgba(63,169,245,.05), transparent 55%);
  background-attachment: fixed;
}

::selection { background: var(--gold); color: #14110A; }

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

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

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

/* Rótulo mono — a "voz do código" que ecoa o lado IA do logo */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* Títulos — geométrica tecnológica (Orbitron), alto contraste, tracking justo */
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.14; letter-spacing: .01em; }

/* Texto metálico — gradiente + clip no próprio texto, tom prata/cromado */
.metal-silver,
h2.section-title {
  background-image: var(--metal-silver);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  text-shadow: 0 1px 0 rgba(255,255,255,.08), 0 2px 10px rgba(0,0,0,.35);
}
/* Texto metálico dourado — mesma técnica, tom ouro/champanhe */
.metal-gold,
.section-title em {
  font-style: normal; font-weight: 800;
  background-image: var(--metal-gold);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  text-shadow: 0 1px 0 rgba(255,255,255,.08), 0 2px 10px rgba(0,0,0,.35);
}

h2.section-title { font-size: clamp(1.9rem, 4.2vw, 3.1rem); font-weight: 800; }
h2.section-title::after {
  content: ""; display: block; width: 62px; height: 3px; margin-top: 20px;
  background: linear-gradient(90deg, var(--gold-2), var(--gold) 55%, transparent);
  border-radius: 2px;
}

.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.section-lead { max-width: 640px; color: var(--ink-soft); font-size: 1.05rem; margin-top: 18px; }

/* Linha-circuito divisória — assinatura visual */
.divider {
  height: 1px; border: 0;
  background: linear-gradient(90deg, transparent, var(--line) 20%, var(--line) 80%, transparent);
  position: relative;
}
.divider::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 7px; height: 7px; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,162,75,.12);
}

/* ============================ NAV ============================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(11,11,14,.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line-soft); background: rgba(11,11,14,.88); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 40px; height: 40px; border-radius: 8px; }
.brand-name {
  font-family: var(--brand); font-size: 1.18rem; font-weight: 900; letter-spacing: .03em;
  text-transform: uppercase; line-height: 1;
  background-image: var(--metal-silver);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  text-shadow: 0 1px 0 rgba(255,255,255,.08), 0 2px 8px rgba(0,0,0,.3);
}
.brand-name b {
  font-weight: 900;
  background-image: var(--metal-gold);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.brand-name span { font-family: var(--brand); font-size: .56rem; letter-spacing: .14em; color: var(--muted); display: block; margin-top: 3px; text-transform: uppercase; font-weight: 700; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: .92rem; letter-spacing: .02em; color: var(--ink-soft); transition: color .25s; position: relative; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--gold-2); }
.nav-links a.pill {
  border: 1px solid var(--line); color: var(--gold-2);
  padding: 8px 16px; border-radius: 999px; font-family: var(--mono); font-size: .78rem;
  letter-spacing: .06em; transition: all .25s;
}
.nav-links a.pill:hover { background: var(--gold); color: #14110A; border-color: var(--gold); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s; }

/* ============================ BOTÕES ============================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 1.02rem; letter-spacing: .02em;
  padding: 14px 26px; border-radius: 999px; cursor: pointer; border: 1px solid transparent;
  transition: transform .2s var(--ease), box-shadow .3s var(--ease), background .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #14110A; box-shadow: 0 8px 30px -8px rgba(201,162,75,.5);
}
.btn-gold:hover { box-shadow: 0 12px 38px -6px rgba(201,162,75,.6); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-wa { background: #1FA855; color: #fff; box-shadow: 0 8px 30px -8px rgba(31,168,85,.5); }
.btn-wa:hover { background: #23bd60; }

/* ============================ HERO ============================ */
.hero { position: relative; padding-top: 150px; padding-bottom: 90px; overflow: hidden; }
.hero-halo {
  position: absolute; top: -6%; left: 50%; transform: translateX(-50%);
  width: 620px; height: 620px; pointer-events: none; opacity: .5;
  background: radial-gradient(circle, rgba(201,162,75,.16), transparent 62%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; position: relative; }
.hero h1 {
  font-size: clamp(2.7rem, 6.4vw, 5rem); font-weight: 900; margin: 22px 0 8px; letter-spacing: .01em;
  background-image: var(--metal-silver);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  text-shadow: 0 1px 0 rgba(255,255,255,.08), 0 2px 10px rgba(0,0,0,.35);
}
.hero h1 .steel {
  font-weight: 900;
  background-image: var(--metal-silver);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.hero h1 .gold {
  font-weight: 900;
  background-image: var(--metal-gold);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.hero-sub { font-size: 1.15rem; color: var(--ink-soft); max-width: 540px; margin-top: 20px; }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 30px; margin-top: 40px; flex-wrap: wrap; }
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta b {
  font-family: var(--display); font-weight: 800; font-size: 1.8rem;
  background-image: var(--metal-gold);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.hero-meta span { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }

.hero-art { position: relative; display: grid; place-items: center; }
.hero-art .ring {
  position: absolute; width: 420px; height: 420px; border-radius: 50%;
  border: 1px solid var(--line); animation: spin 40s linear infinite;
}
.hero-art .ring::before {
  content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px;
  border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold);
}
.hero-art img { width: 340px; position: relative; border-radius: 20px; filter: drop-shadow(0 30px 60px rgba(0,0,0,.6)); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================ PROBLEMA ============================ */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.problem-card {
  background: linear-gradient(180deg, var(--panel), var(--void-2));
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 30px 26px; transition: border-color .3s, transform .3s;
}
.problem-card:hover { border-color: var(--line); transform: translateY(-4px); }
.problem-card .n { font-family: var(--mono); font-size: .8rem; color: var(--tech); letter-spacing: .1em; }
.problem-card h3 { font-size: 1.5rem; margin: 12px 0 8px; color: var(--ink); }
.problem-card p { color: var(--muted); font-size: .96rem; }

/* ============================ SERVIÇOS ============================ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; }
.service {
  position: relative; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 32px 28px; transition: transform .35s var(--ease), border-color .35s;
}
.service::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--tech)); transform: scaleX(0);
  transform-origin: left; transition: transform .4s var(--ease);
}
.service:hover { transform: translateY(-6px); border-color: var(--line); }
.service:hover::before { transform: scaleX(1); }
.service .ico {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(201,162,75,.1); border: 1px solid var(--line); color: var(--gold-2); margin-bottom: 20px;
}
.service .ico svg { width: 24px; height: 24px; }
.service h3 { font-size: 1.5rem; color: var(--ink); margin-bottom: 10px; }
.service p { color: var(--muted); font-size: .95rem; }

/* ============================ BENEFÍCIOS ============================ */
.benefits { background: var(--void-2); border-block: 1px solid var(--line-soft); }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 50px; }
.benefit { text-align: left; }
.benefit .ico { color: var(--gold-2); margin-bottom: 14px; }
.benefit .ico svg { width: 30px; height: 30px; }
.benefit h3 { font-size: 1.3rem; color: var(--ink); margin-bottom: 6px; }
.benefit p { color: var(--muted); font-size: .92rem; }

/* ============================ PROCESSO ============================ */
.steps { display: grid; gap: 0; margin-top: 54px; }
.step {
  display: grid; grid-template-columns: 90px 1fr; gap: 28px; padding: 30px 0;
  border-top: 1px solid var(--line-soft); align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--line-soft); }
.step .num {
  font-family: var(--display); font-weight: 800; font-size: 3rem; color: var(--gold-deep);
  line-height: 1; transition: color .3s;
}
.step:hover .num { color: var(--gold-2); }
.step h3 { font-size: 1.6rem; color: var(--ink); margin-bottom: 8px; }
.step p { color: var(--ink-soft); max-width: 620px; }

/* ============================ EXEMPLOS DE USO ============================ */
.cases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 52px; }
.case {
  background: linear-gradient(160deg, var(--panel-2), var(--void-2));
  border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 30px;
  transition: border-color .3s;
}
.case:hover { border-color: var(--line); }
.case .tag { font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--tech); }
.case h3 { font-size: 1.55rem; color: var(--ink); margin: 12px 0 10px; }
.case p { color: var(--muted); font-size: .96rem; }

/* ============================ DESTAQUE OCR (na home) ============================ */
.ocr-promo {
  background:
    radial-gradient(600px 300px at 85% 10%, rgba(63,169,245,.1), transparent 60%),
    linear-gradient(150deg, var(--panel-2), var(--void-2));
  border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: 1.2fr .8fr;
  gap: 40px; align-items: center;
}
.ocr-promo h2 { font-size: clamp(1.9rem, 4vw, 3rem); color: var(--ink); }
.ocr-promo h2 em { color: var(--gold-2); font-style: italic; }
.ocr-promo p { color: var(--ink-soft); margin: 18px 0 28px; max-width: 480px; }
.ocr-badge {
  aspect-ratio: 1; border-radius: 18px; display: grid; place-items: center;
  background: var(--void); border: 1px solid var(--line);
  font-family: var(--mono); position: relative; overflow: hidden;
}
.ocr-badge .scan {
  position: absolute; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--tech), transparent);
  animation: scan 3s ease-in-out infinite;
}
@keyframes scan { 0%,100% { top: 15%; } 50% { top: 85%; } }
.ocr-badge .txt { text-align: center; }
.ocr-badge .txt .big {
  font-family: var(--display); font-weight: 800; font-size: 3.4rem;
  background-image: var(--metal-gold);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.ocr-badge .txt .small { font-size: .78rem; letter-spacing: .2em; color: var(--muted); }

/* ============================ SOBRE ============================ */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.about-art { display: grid; place-items: center; position: relative; }
.about-art img { width: 300px; border-radius: 20px; border: 1px solid var(--line); }
.about-text p { color: var(--ink-soft); margin-bottom: 18px; font-size: 1.05rem; }
/* Orbitron não tem itálico verdadeiro — assinatura mantém Montserrat (já self-hosted) */
.about-text .sig { font-family: "Montserrat", var(--display); font-style: italic; font-weight: 600; font-size: 1.4rem; color: var(--gold-2); margin-top: 8px; line-height: 1.4; }

/* ============================ FAQ ============================ */
.faq { max-width: 820px; margin: 52px auto 0; }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-family: var(--display); font-size: 1.35rem; color: var(--ink);
}
.faq-q .plus { color: var(--gold); font-family: var(--mono); font-size: 1.4rem; transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p { color: var(--muted); padding-bottom: 24px; max-width: 700px; }

/* ============================ CTA CONTATO ============================ */
.cta {
  text-align: center;
  background:
    radial-gradient(600px 320px at 50% 0%, rgba(201,162,75,.12), transparent 65%),
    var(--void-2);
  border-top: 1px solid var(--line-soft);
}
.cta h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); color: var(--ink); }
.cta h2 em { color: var(--gold-2); font-style: italic; }
.cta p { color: var(--ink-soft); max-width: 520px; margin: 20px auto 34px; }

/* ============================ FOOTER ============================ */
.footer { background: var(--void-2); border-top: 1px solid var(--line-soft); padding-block: 56px 34px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer .brand-name { font-size: 1.5rem; }
.footer p { color: var(--muted); font-size: .92rem; margin-top: 14px; max-width: 320px; }
.footer h4 { font-family: var(--mono); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; }
.footer li a { color: var(--ink-soft); font-size: .94rem; transition: color .2s; }
.footer li a:hover { color: var(--gold-2); }
.footer-bottom { border-top: 1px solid var(--line-soft); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom span { color: var(--muted); font-size: .84rem; font-family: var(--mono); }

/* ============================ WHATSAPP FLUTUANTE ============================ */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: #1FA855;
  display: grid; place-items: center; box-shadow: 0 10px 30px -6px rgba(31,168,85,.6);
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ============================ REVEAL ANIM ============================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   FERRAMENTA OCR (conversoes.html)
   ========================================================================== */
.tool-hero { padding-top: 140px; padding-bottom: 40px; text-align: center; }
.tool-hero h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); margin: 18px 0 0; }
.tool-hero h1 em { color: var(--gold-2); font-weight: 800; font-style: normal; }
.tool-hero p { color: var(--ink-soft); max-width: 620px; margin: 20px auto 0; font-size: 1.08rem; }

.tool-card {
  max-width: 780px; margin: 20px auto 0;
  background: linear-gradient(170deg, var(--panel), var(--void-2));
  border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 4vw, 44px);
}

.dropzone {
  border: 1.5px dashed rgba(201,162,75,.4); border-radius: 16px;
  padding: 48px 24px; text-align: center; cursor: pointer;
  transition: border-color .3s, background .3s; position: relative;
  background: rgba(255,255,255,.01);
}
.dropzone:hover, .dropzone.drag { border-color: var(--gold-2); background: rgba(201,162,75,.05); }
.dropzone .dz-ico { color: var(--gold-2); margin-bottom: 16px; }
.dropzone .dz-ico svg { width: 46px; height: 46px; }
.dropzone h3 { font-size: 1.5rem; color: var(--ink); margin-bottom: 8px; }
.dropzone p { color: var(--muted); font-size: .95rem; }
.dropzone .formats { margin-top: 16px; font-family: var(--mono); font-size: .76rem; letter-spacing: .1em; color: var(--tech); }
.dropzone input { display: none; }

.file-info {
  display: none; align-items: center; gap: 14px; margin-top: 20px;
  background: var(--panel-2); border: 1px solid var(--line-soft); border-radius: 12px; padding: 16px 18px;
}
.file-info.show { display: flex; }
.file-info .fi-ico { color: var(--gold-2); flex-shrink: 0; }
.file-info .fi-meta { flex: 1; min-width: 0; }
.file-info .fi-meta b { color: var(--ink); font-size: .96rem; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-info .fi-meta span { color: var(--muted); font-size: .82rem; font-family: var(--mono); }
.file-info .fi-remove { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 1.3rem; padding: 4px; }
.file-info .fi-remove:hover { color: var(--gold-2); }

.lang-row { display: flex; align-items: center; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.lang-row label { font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.lang-row select {
  background: var(--panel-2); color: var(--ink); border: 1px solid var(--line-soft);
  border-radius: 10px; padding: 10px 14px; font-family: var(--sans); font-size: .92rem; cursor: pointer;
}

.tool-actions { margin-top: 24px; }
.tool-actions .btn { width: 100%; justify-content: center; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none !important; box-shadow: none; }

/* Progresso */
.progress-box { display: none; margin-top: 26px; }
.progress-box.show { display: block; }
.progress-head { display: flex; justify-content: space-between; margin-bottom: 10px; font-family: var(--mono); font-size: .82rem; }
.progress-head .stage { color: var(--ink-soft); }
.progress-head .pct { color: var(--gold-2); }
.progress-track { height: 8px; background: var(--panel-hi); border-radius: 99px; overflow: hidden; }
.progress-bar {
  height: 100%; width: 0%; border-radius: 99px;
  background: linear-gradient(90deg, var(--gold), var(--tech)); transition: width .3s var(--ease);
}

/* Resultado */
.result-box { display: none; margin-top: 26px; }
.result-box.show { display: block; }
.result-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.result-head .ok { width: 40px; height: 40px; border-radius: 50%; background: rgba(31,168,85,.15); color: #35d67e; display: grid; place-items: center; }
.result-head h3 { font-size: 1.5rem; color: var(--ink); }
.result-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.result-text {
  background: var(--void); border: 1px solid var(--line-soft); border-radius: 12px;
  padding: 18px; max-height: 260px; overflow: auto; white-space: pre-wrap;
  font-family: var(--mono); font-size: .84rem; color: var(--ink-soft); line-height: 1.7;
}
.result-text::-webkit-scrollbar { width: 8px; }
.result-text::-webkit-scrollbar-thumb { background: var(--panel-hi); border-radius: 8px; }

.error-box {
  display: none; margin-top: 20px; padding: 16px 18px; border-radius: 12px;
  background: rgba(224,80,80,.08); border: 1px solid rgba(224,80,80,.3); color: #e88;
  font-size: .92rem;
}
.error-box.show { display: block; }

/* Aviso de privacidade */
.privacy-note {
  margin-top: 22px; display: flex; gap: 12px; align-items: flex-start;
  background: rgba(63,169,245,.06); border: 1px solid rgba(63,169,245,.2);
  border-radius: 12px; padding: 16px 18px;
}
.privacy-note svg { width: 22px; height: 22px; color: var(--tech); flex-shrink: 0; margin-top: 2px; }
.privacy-note p { font-size: .88rem; color: var(--ink-soft); margin: 0; }
.privacy-note b { color: var(--ink); }

/* Bloco SEO / conteúdo textual da ferramenta */
.tool-seo { max-width: 780px; margin: 0 auto; }
.tool-seo h2 { font-size: 1.9rem; color: var(--ink); margin-bottom: 16px; }
.tool-seo h3 { font-size: 1.3rem; color: var(--gold-2); margin: 28px 0 8px; }
.tool-seo p { color: var(--ink-soft); margin-bottom: 14px; }
.tool-seo ul { color: var(--ink-soft); margin: 0 0 14px 20px; }
.tool-seo li { margin-bottom: 8px; }

/* ============================ RESPONSIVO ============================ */
@media (max-width: 940px) {
  .hero-grid, .about-grid, .ocr-promo { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art img { width: 250px; }
  .hero-art .ring { width: 320px; height: 320px; }
  .problem-grid, .services-grid, .cases-grid { grid-template-columns: 1fr 1fr; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-art { order: -1; }
}

@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: rgba(11,11,14,.98); border-bottom: 1px solid var(--line); padding: 18px 24px;
  }
  .nav-links.open a { width: 100%; padding: 12px 0; }
  .nav-toggle { display: block; }
  .problem-grid, .services-grid, .cases-grid, .benefits-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 22px; }
  .step { grid-template-columns: 60px 1fr; gap: 16px; }
  .step .num { font-size: 2.2rem; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* Foco acessível */
a:focus-visible, button:focus-visible, select:focus-visible, .dropzone:focus-visible {
  outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 6px;
}
