/* Orkvia — site institucional
   Identidade v2: navy de base, azul para ação, turquesa só para resultado. */
:root {
  --navy: #0B1530;
  --navy-2: #111E40;
  --navy-3: #1A2A55;
  --blue: #2459F0;
  --blue-hover: #1D4BD6;
  --teal: #17CFB0;
  --mist: #E8EEF7;
  --slate: #5B6B85;
  --ink: #0B1530;
  --paper: #FFFFFF;
  --paper-2: #F4F7FC;
  --line: #DCE3EF;
  --line-dark: #22325C;
  --on-dark: #EAF0FA;
  --on-dark-muted: #9AABC9;
  --grad: linear-gradient(90deg, #1A3FD0, #2459F0 55%, #17CFB0);

  --f-display: "Sora", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  --radius: 14px;
  --container: 1160px;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px) }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } *, *::before, *::after { transition: none !important; animation: none !important } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased }
img, svg { display: block; max-width: 100% }
a { color: inherit }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; margin: 0; text-wrap: balance }
p { margin: 0 }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px }

.container { max-width: var(--container); margin: 0 auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)) }
.skip { position: absolute; left: -999px; top: 8px; background: var(--teal); color: var(--navy); padding: 8px 14px; border-radius: 8px; z-index: 100 }
.skip:focus { left: 12px }

.eyebrow { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px }
.section-dark .eyebrow, .hero .eyebrow { color: var(--teal) }

/* ---------- botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--f-body); font-weight: 600; font-size: 15px; text-decoration: none; border-radius: 10px; padding: 13px 22px; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, border-color .2s, transform .2s }
.btn:active { transform: translateY(1px) }
.btn-primary { background: var(--blue); color: #fff }
.btn-primary:hover { background: var(--blue-hover) }
.btn-ghost { color: var(--on-dark); border-color: var(--line-dark) }
.btn-ghost:hover { border-color: var(--on-dark-muted) }
.btn-sm { padding: 9px 16px; font-size: 14px }

/* ---------- navegação */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(11, 21, 48, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s }
.nav.scrolled { border-bottom-color: var(--line-dark) }
.nav-inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px }
.nav-logo img { width: 150px; height: auto }
.nav-menu { display: flex; align-items: center; gap: 30px }
.nav-menu a:not(.btn) { color: var(--on-dark-muted); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .2s }
.nav-menu a:not(.btn):hover { color: #fff }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px }
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg) }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg) }
@media (max-width: 860px) {
  .nav-toggle { display: flex }
  .nav-menu { position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--navy); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid var(--line-dark); display: none }
  .nav-menu.open { display: flex }
  .nav-menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line-dark) }
  .nav-menu .btn { margin-top: 16px }
}

/* ---------- hero */
.hero { background: var(--navy); color: var(--on-dark); position: relative; overflow: hidden; padding-block: 72px 96px }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--grad) }
.hero-orbit { position: absolute; width: 720px; right: -220px; top: -180px; opacity: .05; pointer-events: none }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center }
.hero h1 { font-size: clamp(38px, 5.6vw, 64px); letter-spacing: -0.035em; line-height: 1.04; color: #fff }
.grad { background: linear-gradient(90deg, #5C86FF, #17CFB0); -webkit-background-clip: text; background-clip: text; color: transparent }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--on-dark-muted); margin-top: 22px; max-width: 52ch }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 48px } .hero { padding-block: 48px 72px } }

/* demonstração antes/depois */
.flow { background: var(--navy-2); border: 1px solid var(--line-dark); border-radius: 18px; padding: 22px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); min-width: 0 }
.flow-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px }
.flow-head strong { font-family: var(--f-display); font-weight: 600; font-size: 17px; color: #fff; display: block }
.flow-kicker { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted) }
.seg { display: inline-flex; background: var(--navy); border: 1px solid var(--line-dark); border-radius: 10px; padding: 3px }
.seg button { font: 500 13px var(--f-body); color: var(--on-dark-muted); background: none; border: 0; padding: 7px 14px; border-radius: 7px; cursor: pointer; transition: background .2s, color .2s }
.seg button[aria-selected="true"] { background: var(--blue); color: #fff }
.flow-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; position: relative }
.flow-steps li { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: var(--navy-3); font-size: 14.5px; color: var(--on-dark); transition: opacity .35s, background .35s, color .35s }
.flow-steps .dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--on-dark-muted); flex: none; transition: background .35s, border-color .35s }
.tag { margin-left: auto; font-style: normal; font-family: var(--f-mono); font-size: 11px; padding: 3px 8px; border-radius: 6px; white-space: nowrap; opacity: 0; transition: opacity .35s }
.tag-auto { color: var(--teal); background: rgba(23, 207, 176, .12) }
.tag-cut { color: #FF8A8E; background: rgba(229, 72, 77, .14) }
/* estado "antes": tudo manual */
.flow-steps[data-view="antes"] .dot { border-color: #F2B94B }
/* estado "depois" */
.flow-steps[data-view="depois"] .tag { opacity: 1 }
.flow-steps[data-view="depois"] li[data-state="cut"] { opacity: .45; background: transparent; color: var(--on-dark-muted); text-decoration: line-through; text-decoration-color: rgba(255, 138, 142, .6) }
.flow-steps[data-view="depois"] li[data-state="cut"] .tag { text-decoration: none }
.flow-steps[data-view="depois"] li[data-state="auto"] .dot { background: var(--teal); border-color: var(--teal) }
.flow-steps[data-view="depois"] li[data-state="keep"] .dot { background: var(--blue); border-color: var(--blue) }
.flow-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-dark) }
.flow-metrics > div { display: grid; gap: 2px; min-width: 0 }
.m-label { font-size: 12px; color: var(--on-dark-muted) }
.m-val { font-family: var(--f-display); font-weight: 600; font-size: 22px; color: #fff; font-variant-numeric: tabular-nums; transition: color .35s }
.flow[data-view="depois"] .m-val { color: var(--teal) }
@media (max-width: 420px) { .flow { padding: 16px } .tag { display: none } .m-val { font-size: 18px } }

/* ---------- seções */
.section { padding-block: 96px }
.section-alt { background: var(--paper-2) }
.section-dark { background: var(--navy); color: var(--on-dark) }
.section-dark h2, .section-dark h3 { color: #fff }
.section-head { max-width: 680px; margin-bottom: 48px }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px) }
.section-lead { margin-top: 16px; font-size: 17px; color: var(--slate) }
.section-dark .section-lead { color: var(--on-dark-muted) }
@media (max-width: 640px) { .section { padding-block: 64px } .section-head { margin-bottom: 32px } }

/* sinais */
.signals { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line) }
.signals li { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; align-content: start; position: relative; padding-left: 28px }
.signals li::before { content: ""; position: absolute; left: 0; top: 34px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--blue) }
.signals strong { font-family: var(--f-display); font-weight: 600; font-size: 17px; line-height: 1.35 }
.signals span { color: var(--slate); font-size: 15px }
@media (max-width: 900px) { .signals { grid-template-columns: 1fr 1fr } }
@media (max-width: 600px) { .signals { grid-template-columns: 1fr } }

/* serviços */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px }
.service { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; display: grid; gap: 14px; align-content: start; transition: border-color .2s, transform .2s, box-shadow .2s }
.service:hover { border-color: #B9C8E6; transform: translateY(-3px); box-shadow: 0 20px 40px -28px rgba(11, 21, 48, .35) }
.service-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--mist); display: grid; place-items: center; margin-bottom: 6px }
.service-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--blue); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round }
.service h3 { font-size: 21px }
.service p { color: var(--slate) }
.service ul { list-style: none; margin: 6px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 14.5px }
.service li { display: flex; gap: 10px; align-items: baseline }
.service li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); flex: none; transform: translateY(-2px) }
@media (max-width: 900px) { .services { grid-template-columns: 1fr } }

/* método */
.method { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative }
.method::before { content: ""; position: absolute; left: 0; right: 0; top: 19px; height: 2px; background: var(--grad); opacity: .7 }
.method li { position: relative; display: grid; gap: 10px; align-content: start; padding-right: 8px }
.method .n { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); border: 2px solid var(--blue); display: grid; place-items: center; font-family: var(--f-mono); font-size: 13px; color: #fff; margin-bottom: 8px }
.method li:last-child .n { border-color: var(--teal); color: var(--teal) }
.method h3 { font-size: 19px }
.method p { color: var(--on-dark-muted); font-size: 15px }
@media (max-width: 900px) {
  .method { grid-template-columns: 1fr; gap: 28px }
  .method::before { left: 19px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, #2459F0, #17CFB0) }
  .method li { grid-template-columns: 40px 1fr; column-gap: 20px; row-gap: 4px }
  .method .n { grid-row: span 2; margin: 0 }
}

/* treinamentos */
.courses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px }
.course { border-top: 3px solid var(--navy); padding-top: 20px; display: grid; gap: 10px; align-content: start }
.course:nth-child(2) { border-color: var(--blue) }
.course:nth-child(3) { border-color: #2A9BD8 }
.course:nth-child(4) { border-color: var(--teal) }
.course-meta { font-family: var(--f-mono); font-size: 12px; color: var(--slate); letter-spacing: .02em }
.course h3 { font-size: 19px }
.course p { color: var(--slate); font-size: 15px }
@media (max-width: 960px) { .courses { grid-template-columns: 1fr 1fr; row-gap: 36px } }
@media (max-width: 560px) { .courses { grid-template-columns: 1fr } }

/* como começar */
.start { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center }
.start .section-head { margin-bottom: 0 }
.start-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 14px }
.start-steps li { counter-increment: s; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px 20px 72px; position: relative; display: grid; gap: 2px }
.start-steps li::before { content: counter(s); position: absolute; left: 22px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; background: var(--mist); color: var(--blue); font: 600 15px var(--f-display); display: grid; place-items: center }
.start-steps strong { font-family: var(--f-display); font-weight: 600; font-size: 17px }
.start-steps span { color: var(--slate); font-size: 15px }
@media (max-width: 860px) { .start { grid-template-columns: 1fr; gap: 32px } }

/* faq */
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start }
.faq-grid .section-head { margin-bottom: 0 }
.faq details { border-bottom: 1px solid var(--line) }
.faq details:first-child { border-top: 1px solid var(--line) }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-family: var(--f-display); font-weight: 600; font-size: 17px }
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: translateY(-70%) rotate(45deg); transition: transform .2s }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg) }
.faq details p { padding-bottom: 22px; color: var(--slate); max-width: 62ch }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; gap: 24px } }

/* contato */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start }
.contact .section-head { margin-bottom: 0 }
.contact-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px }
.contact-list li { display: grid; gap: 2px }
.contact-list span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted) }
.contact-list a { color: #fff; font-weight: 500; text-decoration-color: var(--teal); text-underline-offset: 4px }
.form { background: var(--navy-2); border: 1px solid var(--line-dark); border-radius: 18px; padding: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px }
.field { display: grid; gap: 6px; min-width: 0 }
.field-full { grid-column: 1 / -1 }
.field label { font-size: 13px; font-weight: 500; color: var(--on-dark-muted) }
.field input, .field select, .field textarea { width: 100%; font: 15px var(--f-body); color: #fff; background: var(--navy); border: 1px solid var(--line-dark); border-radius: 10px; padding: 12px 14px; transition: border-color .2s }
.field textarea { resize: vertical; min-height: 110px }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--on-dark-muted) 50%), linear-gradient(135deg, var(--on-dark-muted) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(36, 89, 240, .25) }
.field [aria-invalid="true"] { border-color: #E5484D }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px }
.form-status { font-size: 14px; color: var(--on-dark-muted) }
.form-status.ok { color: var(--teal) }
.form-status.err { color: #FF8A8E }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; gap: 36px } }
@media (max-width: 520px) { .form { grid-template-columns: 1fr; padding: 20px } }

/* rodapé */
.footer { background: #070E21; color: var(--on-dark-muted); padding-block: 40px; border-top: 1px solid var(--line-dark) }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px }
.footer-inner img { width: 130px; height: auto }
.footer-small { margin-left: auto; font-size: 13px }
@media (max-width: 640px) { .footer-small { margin-left: 0; width: 100% } }
