/* OrigeTech — site institucional
   Paleta herdada do símbolo (azul → ciano) + um acento por produto:
   coral = Reservas, esmeralda = Gestão. */
:root {
  --navy-950: #070f22;
  --navy-900: #0b1730;
  --navy-800: #112447;
  --navy-700: #1d3a63;
  --blue: #2563eb;
  --cyan: #22d3ee;
  --ink: #0f1b33;
  --ink-2: #44526b;
  --ink-3: #6b7890;
  --line: #e3e8f0;
  --bg: #f6f8fb;
  --white: #ffffff;
  --res: #e5384a;
  --res-soft: #fdecee;
  --ges: #0ea371;
  --ges-soft: #e3f7ef;
  --radius: 18px;
  --shadow: 0 24px 60px -28px rgba(7, 15, 34, .45);
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--white); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}
.eyebrow-res { color: var(--res); }
.eyebrow-ges { color: var(--ges); }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  padding: 14px 24px; border-radius: 999px;
  text-decoration: none; border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-lg { padding: 17px 30px; font-size: 1.05rem; }
.btn-light { background: var(--white); color: var(--navy-900); }
.btn-light:hover { box-shadow: 0 10px 26px -12px rgba(34, 211, 238, .8); }
.btn-res { background: var(--res); color: var(--white); }
.btn-res:hover { box-shadow: 0 12px 28px -12px rgba(229, 56, 74, .8); }
.btn-ges { background: var(--ges); color: var(--white); }
.btn-ges:hover { box-shadow: 0 12px 28px -12px rgba(14, 163, 113, .8); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink-3); }

/* ---------- topo ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 15, 34, .96);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.topbar-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -.02em; }
.brand b { color: var(--cyan); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { color: #c8d3e6; text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--white); }
.nav .nav-login { color: var(--cyan) !important; }
.menu-btn { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--white); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(37, 99, 235, .35), transparent 60%),
    radial-gradient(700px 420px at 0% 100%, rgba(34, 211, 238, .14), transparent 60%),
    var(--navy-950);
  color: var(--white);
  padding: 92px 0 110px;
}
.orbit { position: absolute; border-radius: 50%; border: 1.5px solid rgba(34, 211, 238, .18); pointer-events: none; }
.orbit::after { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 18px 4px rgba(34, 211, 238, .7); top: -5px; left: 50%; }
.orbit-a { width: 760px; height: 760px; right: -260px; top: -300px; animation: spin 38s linear infinite; }
.orbit-b { width: 1100px; height: 1100px; right: -480px; top: -470px; border-color: rgba(37, 99, 235, .16); animation: spin 64s linear infinite reverse; }
.orbit-b::after { background: var(--res); box-shadow: 0 0 18px 4px rgba(229, 56, 74, .6); left: 12%; top: 14%; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-in { position: relative; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); font-weight: 800; max-width: 15ch; }
.grad { background: linear-gradient(92deg, #60a5fa, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: 24px; max-width: 60ch; font-size: 1.14rem; color: #b8c5dc; }

.hero-products { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.hp {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 300px; padding: 30px 30px 28px;
  border-radius: 22px; text-decoration: none; color: var(--white);
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .1);
  transition: transform .25s ease, border-color .25s ease;
}
.hp:hover { transform: translateY(-4px); }
.hp-res:hover { border-color: rgba(229, 56, 74, .55); }
.hp-ges:hover { border-color: rgba(14, 163, 113, .6); }
.hp-tag { font-size: .8rem; font-weight: 600; letter-spacing: .02em; color: #9fb0cc; max-width: 58%; }
.hp-name { font-family: var(--font-display); font-size: 1.85rem; font-weight: 700; letter-spacing: -.02em; max-width: 60%; line-height: 1.1; }
.hp-res .hp-name b { color: #ff7b89; }
.hp-ges .hp-name b { color: #34d6a0; }
.hp-desc { color: #c3cee2; font-size: .98rem; max-width: 58%; }
.hp-go { margin-top: auto; font-family: var(--font-display); font-weight: 600; font-size: .95rem; }
.hp-go i { font-style: normal; display: inline-block; transition: transform .2s; }
.hp:hover .hp-go i { transform: translateX(5px); }
.hp-shot {
  position: absolute; right: 26px; top: 34px; width: 34%; max-width: 190px;
  border-radius: 20px; border: 6px solid #0a1428;
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .8);
  transform: rotate(4deg);
}
.hp-mini {
  position: absolute; right: 24px; top: 40px; width: 36%; max-width: 210px; aspect-ratio: 4 / 3.6;
  border-radius: 16px; background: #f4f7fb; border: 6px solid #0a1428;
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .8);
  transform: rotate(-3deg);
  padding: 12px; display: flex; flex-direction: column; gap: 10px;
}
.mini-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mini-row i { height: 30px; border-radius: 6px; background: var(--white); border: 1px solid var(--line); }
.mini-row i:first-child { background: var(--ges-soft); border-color: #b7ead6; }
.mini-bars { flex: 1; display: flex; align-items: flex-end; gap: 6px; padding: 8px; border-radius: 8px; background: var(--white); border: 1px solid var(--line); }
.mini-bars i { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #34d6a0, var(--ges)); }

/* ---------- pilares ---------- */
.pillars { background: var(--white); border-bottom: 1px solid var(--line); }
.pillars-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.pillars-in > div { padding: 30px 26px; border-left: 1px solid var(--line); }
.pillars-in > div:first-child { border-left: 0; padding-left: 0; }
.pillars strong { display: block; font-family: var(--font-display); font-size: 1.02rem; margin-bottom: 4px; }
.pillars span { color: var(--ink-3); font-size: .93rem; line-height: 1.5; }

/* ---------- produtos ---------- */
.product { padding: 110px 0; }
.product-head { max-width: 760px; }
.product h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; }
.sub { margin-top: 18px; font-size: 1.12rem; color: var(--ink-2); }
.product-cta { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.note { color: var(--ink-3); font-size: .93rem; }

/* Reservas */
.product-res { background: var(--white); }
.res-stage { position: relative; margin-top: 60px; padding-right: 9%; }
.device { margin: 0; }
.laptop-screen {
  background: #0a1428; padding: 14px 14px 18px; border-radius: 18px 18px 6px 6px;
  box-shadow: var(--shadow);
}
.laptop-screen img { border-radius: 6px; width: 100%; height: auto; }
.laptop-base { height: 16px; margin: 0 -4%; border-radius: 0 0 16px 16px; background: linear-gradient(180deg, #cfd6e2, #a9b3c3); }
.phone {
  background: #0a1428; padding: 10px; border-radius: 34px;
  box-shadow: 0 40px 70px -30px rgba(7, 15, 34, .7);
}
.phone img { border-radius: 26px; width: 100%; height: auto; }
.phone-float { position: absolute; right: 0; bottom: -40px; width: 24%; max-width: 270px; }

.steps { margin-top: 90px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.step .n {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--res-soft); color: var(--res); font-family: var(--font-display); font-weight: 700; margin-bottom: 14px;
}
.step h3 { font-size: 1.2rem; margin-bottom: 6px; }
.step p { color: var(--ink-2); }

.features { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.features li { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: .97rem; }
.features li:not(:nth-child(3n+1)) { padding-left: 24px; border-left: 1px solid var(--line); }
.features b { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1.02rem; margin-bottom: 4px; }

/* Gestão */
.product-ges { background: linear-gradient(180deg, var(--bg), #eef3f8); }
.ges-stage { margin-top: 60px; position: relative; }
.app-mock {
  position: relative; display: grid; grid-template-columns: 68px 1fr;
  background: var(--white); border-radius: 20px; border: 1px solid var(--line);
  box-shadow: var(--shadow); overflow: hidden; min-height: 400px;
}
.am-side { background: var(--navy-900); display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 20px 0; }
.am-logo { width: 30px; height: 30px; border-radius: 50%; border: 5px solid var(--cyan); border-right-color: transparent; transform: rotate(40deg); margin-bottom: 10px; }
.am-side i { width: 30px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .16); }
.am-side i.on { background: var(--ges); }
.am-main { padding: 26px 30px 30px; }
.am-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.am-title { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }
.am-pill { font-size: .82rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); }
.am-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.am-kpis > div { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.am-kpis small, .am-card small { display: block; color: var(--ink-3); font-size: .78rem; font-weight: 600; }
.am-kpis b { display: block; font-family: var(--font-display); font-size: 1.35rem; margin: 4px 0 2px; }
.am-kpis em { font-style: normal; font-size: .78rem; color: var(--ink-3); }
.am-kpis em.up { color: var(--ges); font-weight: 600; }
.am-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; margin-top: 14px; }
.am-card { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.fn { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.fn span {
  width: var(--w); min-width: 150px; display: flex; justify-content: space-between;
  padding: 9px 14px; border-radius: 8px; font-size: .85rem; font-weight: 600;
  background: linear-gradient(90deg, var(--ges-soft), #d2f1e5); color: #0b6b4b;
}
.am-list p { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .88rem; }
.am-list p:last-child { border-bottom: 0; }
.st { font-size: .74rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.st.ok { background: var(--ges-soft); color: #0b6b4b; }
.st.wait { background: #fff4de; color: #9a6400; }
.am-toast {
  position: absolute; right: 26px; bottom: 30px; z-index: 2;
  display: flex; flex-direction: column; padding: 14px 18px 14px 44px;
  background: var(--navy-900); color: var(--white); border-radius: 14px;
  box-shadow: var(--shadow); font-size: .85rem;
}
.am-toast::before { content: "✓"; position: absolute; left: 14px; top: 14px; width: 20px; height: 20px; border-radius: 50%; background: var(--ges); display: grid; place-items: center; font-size: .72rem; font-weight: 700; }
.am-toast span { color: #9fb0cc; }
.mock-note { margin-top: 34px; font-size: .8rem; color: var(--ink-3); }

.modules { margin-top: 56px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.mod { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 22px 20px; transition: border-color .2s, transform .2s; }
.mod:hover { border-color: #9edcc4; transform: translateY(-3px); }
.mod .ic {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 11px;
  background: var(--ges-soft); color: var(--ges); font-weight: 700; margin-bottom: 14px;
}
.mod h3 { font-size: 1rem; margin-bottom: 6px; }
.mod p { color: var(--ink-2); font-size: .9rem; line-height: 1.5; }

/* ---------- como trabalhamos ---------- */
.how { padding: 110px 0; background: var(--white); }
.how h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; max-width: 22ch; }
.how-list { list-style: none; counter-reset: s; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.how-list li { counter-increment: s; position: relative; padding: 0 26px 0 0; }
.how-list li::before {
  content: counter(s, decimal-leading-zero);
  display: block; font-family: var(--font-display); font-weight: 800; font-size: 2.6rem;
  background: linear-gradient(92deg, var(--blue), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 12px;
}
.how-list li::after { content: ""; position: absolute; top: 26px; left: 76px; right: 22px; height: 2px; background: linear-gradient(90deg, var(--line), transparent); }
.how-list li:last-child::after { display: none; }
.how-list b { display: block; font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 6px; }
.how-list span { color: var(--ink-2); font-size: .97rem; }

/* ---------- contato ---------- */
.contact {
  padding: 90px 0;
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(34, 211, 238, .22), transparent 60%),
    linear-gradient(120deg, var(--navy-900), var(--navy-700));
  color: var(--white);
}
.contact-in { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.contact h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; max-width: 18ch; }
.contact p { margin-top: 14px; color: #c3cee2; max-width: 52ch; }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.contact-mail { color: var(--cyan); text-decoration: none; font-weight: 600; }
.contact-mail:hover { text-decoration: underline; }

/* ---------- rodapé ---------- */
.footer { background: var(--navy-950); color: #8c9ab3; padding: 34px 0; font-size: .9rem; }
.footer-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.brand-foot { font-size: 1.05rem; }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { color: var(--white); }

/* ---------- revelar ao rolar ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orbit { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsivo ---------- */
@media (max-width: 1080px) {
  .modules { grid-template-columns: repeat(3, 1fr); }
  .am-kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: 68px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-950); padding: 8px 20px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.open { opacity: 1; transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); font-size: 1.05rem; }
  .nav .btn { margin-top: 16px; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding: 64px 0 80px; }
  .hero-products { grid-template-columns: 1fr; }
  .pillars-in { grid-template-columns: 1fr 1fr; }
  .pillars-in > div { padding: 22px 18px; border-left: 0; border-top: 1px solid var(--line); }
  .pillars-in > div:nth-child(-n+2) { border-top: 0; }
  .pillars-in > div:nth-child(odd) { padding-left: 0; }
  .steps { grid-template-columns: 1fr; gap: 26px; margin-top: 80px; }
  .features { grid-template-columns: 1fr; }
  .features li, .features li:not(:nth-child(3n+1)) { padding: 20px 0; border-left: 0; }
  .how-list { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
  .how-list li::after { display: none; }
  .contact-in { flex-direction: column; align-items: flex-start; }
  .am-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .product, .how { padding: 76px 0; }
  .hp { min-height: 0; padding: 24px 22px 24px; }
  .hp-tag, .hp-name, .hp-desc { max-width: 100%; }
  .hp-shot, .hp-mini { display: none; }
  .res-stage { padding-right: 0; }
  .phone-float { position: relative; width: 58%; max-width: 250px; margin: -60px 0 0 auto; bottom: auto; }
  .modules { grid-template-columns: 1fr 1fr; gap: 12px; }
  .mod { padding: 18px 16px; }
  .app-mock { grid-template-columns: 1fr; }
  .am-side { display: none; }
  .am-main { padding: 20px 18px 26px; }
  .am-kpis b { font-size: 1.15rem; }
  .fn span { min-width: 130px; gap: 10px; }
  .am-toast { position: relative; right: auto; bottom: auto; margin: -22px 18px 0; }
  .how-list { grid-template-columns: 1fr; }
  .pillars-in { grid-template-columns: 1fr; }
  .pillars-in > div, .pillars-in > div:nth-child(-n+2) { padding: 18px 0; border-top: 1px solid var(--line); }
  .pillars-in > div:first-child { border-top: 0; }
  .btn-lg { width: 100%; }
  .contact-actions { width: 100%; }
}
