/* Vertal Company: corporate site (EN at /, PT at /pt/). Tema escuro, uma cor de destaque, sem efeitos decorativos. */
:root {
  --bg: #0b0c10;
  --bg-alt: #111318;
  --surface: #16181f;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f2f3f6;
  --text-2: #b4b8c5;
  --text-3: #8a8fa0;
  --accent: #7c9cff;
  --accent-ink: #0b0c10;
  --radius: 14px;
  --max: 1120px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 650; }
p { margin: 0; }
ul, dl, dd { margin: 0; padding: 0; }
ul { list-style: none; }
code { font-family: var(--mono); font-size: 0.88em; background: rgba(255,255,255,0.06); padding: 0.1em 0.35em; border-radius: 5px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.anchor-alias { position: absolute; top: 0; left: 0; width: 0; height: 0; overflow: hidden; }
section, .product, .pipeline > div { position: relative; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
@media (max-width: 640px) { .container { padding: 0 20px; } }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(11, 12, 16, 0.92); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .header { background: rgba(11, 12, 16, 0.8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); } }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 650; font-size: 17px; }
.logo:hover { text-decoration: none; }
.logo img { width: 32px; height: 32px; object-fit: contain; }
.logo-sub { color: var(--text-3); font-weight: 500; }
.nav-links { display: flex; gap: 28px; font-size: 15px; }
.nav-links a { color: var(--text-2); }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav nav { margin-left: auto; }
.lang { order: 3; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-3); }
.lang a { color: var(--text-3); padding: 4px 2px; }
.lang a:hover { color: var(--text); text-decoration: none; }
.lang a[aria-current="page"] { color: var(--text); }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); background: transparent; border-radius: 10px; cursor: pointer; color: var(--text); padding: 0; }
.menu-btn span { display: block; width: 18px; height: 2px; margin: 5px auto; background: currentColor; border-radius: 2px; }
@media (max-width: 860px) {
  .menu-btn { display: block; order: 2; }
  .lang { order: 1; margin-left: auto; }
  .nav nav { position: absolute; top: 64px; left: 0; right: 0; }
  .nav-links { display: none; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; color: var(--text); }
  .nav-links li:last-child a { border-bottom: 0; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--text); font: inherit; font-size: 15px; font-weight: 550; cursor: pointer; }
.btn:hover { text-decoration: none; border-color: rgba(255,255,255,0.35); }
.btn-primary { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn-primary:hover { background: #fff; }

/* Hero */
.hero { padding: 112px 0 88px; }
.hero h1 { font-size: clamp(38px, 6vw, 64px); max-width: 15ch; letter-spacing: -0.03em; }
.lead { margin-top: 24px; font-size: clamp(18px, 2vw, 20px); color: var(--text-2); max-width: 60ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-list { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; }
.hero-list a { color: var(--text-2); }
.hero-list a:hover { color: var(--text); }
@media (max-width: 640px) { .hero { padding: 64px 0 56px; } .hero-list { margin-top: 40px; } }

/* Sections */
.section { padding: 104px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 640px) { .section { padding: 72px 0; } }
.section h2 { font-size: clamp(30px, 4vw, 42px); }
.section-head { margin-bottom: 56px; max-width: 680px; }
.section-head p { margin-top: 16px; color: var(--text-2); }

/* Products */
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px 56px; align-items: start; padding: 56px 0; border-top: 1px solid var(--line); }
.product:first-of-type { border-top: 0; padding-top: 0; }
.product h3 { font-size: 28px; }
.product-meta { margin-top: 6px; color: var(--text-3); font-size: 15px; }
.product-text > p:not(.product-meta) { margin-top: 18px; color: var(--text-2); }
.facts { margin-top: 20px; display: grid; gap: 10px; font-size: 15.5px; color: var(--text-2); }
.facts li { padding-left: 14px; border-left: 2px solid var(--line-strong); }
.facts strong { color: var(--text); font-weight: 600; }
@media (max-width: 960px) { .product { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 48px 0; } }

.preview { margin: 0; border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.preview-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 44px; padding: 0 8px 0 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.preview-url { color: var(--text-3); font-family: var(--mono); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.preview-bar a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 10px; border-radius: 8px; color: var(--text); font-weight: 550; white-space: nowrap; }
.preview-bar a:hover { background: rgba(255,255,255,0.06); text-decoration: none; }
.preview img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: top; background: #000; }
.preview-stage { position: relative; }
.btn-live { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); background: var(--text); color: var(--bg); border-color: var(--text); box-shadow: 0 2px 10px rgba(0,0,0,0.35); }
.btn-live:hover { background: #fff; }
.preview iframe { display: block; width: 100%; height: 560px; border: 0; background: #fff; }
@media (max-width: 640px) { .preview iframe { height: 520px; } }
.preview figcaption { padding: 10px 16px 12px; font-size: 13px; color: var(--text-3); border-top: 1px solid var(--line); }

.install { grid-column: 1 / -1; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-alt); }
.install h4 { font-size: 19px; }
.install > p { margin-top: 8px; color: var(--text-2); font-size: 15.5px; }
.snippet { margin-top: 18px; border: 1px solid var(--line); border-radius: 10px; background: #08090c; overflow: hidden; }
.snippet-head { display: flex; justify-content: space-between; align-items: center; padding: 6px 8px 6px 14px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--text-3); }
.copy { min-height: 32px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: transparent; color: var(--text); font: inherit; font-size: 13px; cursor: pointer; }
.copy:hover { border-color: rgba(255,255,255,0.35); }
.snippet pre { margin: 0; padding: 14px; overflow-x: auto; font-family: var(--mono); font-size: 13px; line-height: 1.6; color: #d8dbe4; }
.snippet code { background: none; padding: 0; font-size: inherit; }
.note { margin-top: 16px; font-size: 14px; color: var(--text-3); }
@media (max-width: 640px) { .install { padding: 20px; } }

/* Em desenvolvimento */
.pipeline { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.pipeline > div { padding: 24px 0; border-top: 1px solid var(--line); }
.pipeline dt { font-size: 19px; font-weight: 600; }
.pipeline dd { margin-top: 8px; color: var(--text-2); font-size: 16px; }
.stage { color: var(--text); font-weight: 550; }
@media (max-width: 760px) { .pipeline { grid-template-columns: minmax(0, 1fr); } }

/* Quem somos */
.about { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.about h2 + p { margin-top: 24px; }
.about p { color: var(--text-2); max-width: 62ch; }
.about p + p { margin-top: 16px; }
.company-facts { border-top: 1px solid var(--line); }
.company-facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.company-facts dt { color: var(--text-3); }
.company-facts dd { text-align: right; }
@media (max-width: 860px) { .about { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

/* Fundadores */
.founders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.founder { display: flex; gap: 24px; align-items: flex-start; }
.founder img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; flex: 0 0 112px; }
.founder h3, .founder h4 { font-size: 22px; }
.founder .role { margin-top: 4px; color: var(--text-3); font-size: 15px; }
.founder .role + p { margin-top: 12px; color: var(--text-2); }
@media (max-width: 760px) { .founders { grid-template-columns: minmax(0, 1fr); } .founder img { width: 88px; height: 88px; flex-basis: 88px; } }

/* FAQ */
#faq h2 { margin-bottom: 32px; }
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 20px 32px 20px 0; position: relative; font-weight: 550; font-size: 18px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 18px; color: var(--text-3); font-size: 22px; font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { padding: 0 0 22px; color: var(--text-2); max-width: 62ch; }

/* Contato */
#contato .lead { margin-top: 20px; }
.contact-list { margin-top: 28px; border-top: 1px solid var(--line); }
.contact-list a { display: flex; justify-content: space-between; align-items: center; min-height: 56px; border-bottom: 1px solid var(--line); color: var(--text); font-size: 17px; }
.contact-list a::after { content: "→"; color: var(--text-3); padding-left: 16px; }
.contact-list a > span { display: flex; flex-direction: column; padding: 14px 0; }
.contact-list strong { font-weight: 600; }
.contact-list small { font-size: 15px; color: var(--text-3); margin-top: 2px; }
.contact-list a:hover { text-decoration: none; color: var(--accent); }

/* Footer */
.footer { padding: 56px 0 32px; border-top: 1px solid var(--line); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-h { font-size: 13px; font-weight: 600; color: var(--text-3); margin-bottom: 12px; letter-spacing: 0; }
.footer ul { display: grid; gap: 8px; }
.footer ul a { color: var(--text-2); }
.footer ul a:hover { color: var(--text); }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 13px; }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

/* Products overview */
.overview { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 64px; }
.overview .ov-wide { grid-column: span 2; }
.ov-card { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-alt); color: var(--text); }
.ov-card:hover { text-decoration: none; border-color: var(--line-strong); background: var(--surface); }
.ov-name { font-weight: 600; font-size: 17px; }
.ov-desc { color: var(--text-2); font-size: 15px; line-height: 1.5; }
.ov-wide .ov-card { border-color: var(--line-strong); }
.ov-wide .ov-name { font-size: 19px; }
@media (max-width: 860px) { .overview { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .overview { grid-template-columns: minmax(0, 1fr); margin-top: 48px; } .overview .ov-wide { grid-column: auto; } }

/* VERTAL AI platform */
.platform { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 56px; padding: 40px; margin-bottom: 56px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg-alt); }
.eyebrow { font-size: 13px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }
.platform h3 { font-size: 34px; letter-spacing: -0.02em; }
.platform-text > p:not(.eyebrow) { margin-top: 18px; color: var(--text-2); }
.platform .actions { margin-top: 28px; }
.platform-uses h4 { font-size: 13px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.08em; }
.platform-uses dl { margin-top: 12px; border-top: 1px solid var(--line); }
.platform-uses dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.platform-uses dt { font-weight: 600; white-space: nowrap; }
.platform-uses dt a { color: var(--text); }
.platform-uses dd { color: var(--text-2); text-align: right; }
@media (max-width: 960px) { .platform { grid-template-columns: minmax(0, 1fr); padding: 28px; } }
@media (max-width: 640px) { .platform { padding: 22px; } .platform h3 { font-size: 28px; } }
.powered { margin-top: 18px; font-size: 13px; color: var(--text-3); }
.powered a { color: var(--text-2); font-weight: 600; letter-spacing: 0.02em; }

/* Company */
.subsection { margin-top: 80px; padding-top: 40px; border-top: 1px solid var(--line); position: relative; }
.sub-h { font-size: 24px; margin-bottom: 32px; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 40px; }
.timeline li { padding-top: 16px; border-top: 2px solid var(--line-strong); }
.timeline strong { display: block; font-weight: 600; font-size: 17px; }
.timeline span { display: block; margin-top: 8px; color: var(--text-2); font-size: 15.5px; }
@media (max-width: 760px) { .timeline { grid-template-columns: minmax(0, 1fr); } .subsection { margin-top: 56px; } }
