/* =============================================================================
   Infinoos LOG — estilos específicos da página (usa css/base.css)
   ========================================================================== */

:root, [data-theme="dark"], [data-theme="light"] {
  /* o LOG usa o degradê de 3 paradas da arte original */
  --gradient-hero: linear-gradient(135deg, #3BB8FF 0%, #638AFB 55%, #8B5CF6 100%);
}

/* -------------------------------------------- animações específicas do LOG -- */
@keyframes scanSweep { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@keyframes auroraDrift {
  0% { transform: translate(-12%, -8%) scale(1); }
  33% { transform: translate(10%, 6%) scale(1.15); }
  66% { transform: translate(-6%, 10%) scale(0.95); }
  100% { transform: translate(-12%, -8%) scale(1); }
}
@keyframes ringSpin { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes pulseRing {
  0% { transform: translate(-50%, -50%) scale(0.6); opacity: .7; }
  100% { transform: translate(-50%, -50%) scale(1.9); opacity: 0; }
}
@keyframes blinkC { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes infinoosShift {
  0% { background-color: color-mix(in srgb, #3BB8FF 14%, var(--surface-2)); }
  25% { background-color: color-mix(in srgb, #638AFB 15%, var(--surface-2)); }
  50% { background-color: color-mix(in srgb, #8B5CF6 15%, var(--surface-2)); }
  75% { background-color: color-mix(in srgb, #22D3EE 13%, var(--surface-2)); }
  100% { background-color: color-mix(in srgb, #3BB8FF 14%, var(--surface-2)); }
}

/* ------------------------------------------------------- tabs de perfil -- */
.log-tabs {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 2px;
  padding: 4px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
  flex-shrink: 0;
}
.log-tabs__item {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 6px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase;
  background: transparent; color: rgba(255, 255, 255, 0.85);
  transition: background .2s, color .2s;
}
.log-tabs__item:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.log-tabs__item.is-active,
.log-tabs__item.is-active:hover { background: #fff; color: #0B1526; }

/* ----------------------------------------------------------------- hero -- */
.loghero { position: relative; min-height: 118vh; overflow: hidden; display: flex; align-items: center; background: #0B1526; }
.loghero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; }
.loghero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11, 21, 38, 0.85) 0%, rgba(11, 21, 38, 0.7) 40%, rgba(11, 21, 38, 0.35) 100%),
    radial-gradient(600px 500px at 15% 60%, rgba(99, 138, 251, 0.28), transparent 65%);
}
.loghero__inner { position: relative; z-index: 2; max-width: 1760px; margin: 0 auto; padding: 88px 32px 72px; width: 100%; color: #fff; }
.loghero__top { max-width: 760px; margin-top: 4vh; }
.loghero__title { font-size: clamp(38px, 6vw, 84px); line-height: 1.03; letter-spacing: -0.03em; text-wrap: balance; color: #fff; }
.loghero__title .thin { font-weight: 300; color: rgba(255, 255, 255, 0.85); }
.loghero__title strong { font-weight: 700; }
.loghero__bottom { display: flex; justify-content: flex-end; margin-top: clamp(140px, 32vh, 320px); }
.loghero__bottom-inner { max-width: 760px; display: flex; flex-direction: column; gap: 18px; text-align: left; padding-bottom: clamp(40px, 8vh, 90px); }
.loghero__tag { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #638AFB; }
.loghero__lead { font-size: clamp(25px, 2.6vw, 38px); line-height: 1.48; color: rgba(255, 255, 255, 0.88); }

/* ------------------------------------------------------------- big stat -- */
.bigstat { max-width: 1760px; margin: 0 auto; padding: 0 32px; min-height: 100vh; text-align: center; display: flex; flex-direction: column; gap: 26px; align-items: center; justify-content: center; }
.bigstat__tag { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-dim); }
.bigstat__h2 {
  font-size: clamp(46px, 8vw, 128px); font-weight: 700; line-height: 1.02; letter-spacing: -0.035em;
  max-width: 14ch; text-wrap: balance;
  background: linear-gradient(90deg, #3BB8FF 0%, #638AFB 50%, #8B5CF6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.bigstat__sub { font-size: clamp(15px, 1.4vw, 19px); color: var(--text-dim); line-height: 1.6; max-width: 62ch; }

/* ----------------------------------------------------------- benefícios -- */
.logsplit { max-width: 1760px; margin: 0 auto; padding: 24px 32px 72px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.logpanel { background: var(--surface-2); border: 1px solid var(--line); border-radius: 24px; padding: clamp(32px, 3vw, 48px); display: flex; flex-direction: column; gap: 16px; }
.logpanel__eyebrow { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand); }
.logpanel__h2 { font-size: clamp(24px, 2.4vw, 34px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; }
.logpanel--card .logpanel__h2 { max-width: 22ch; }
.logpanel--ben .logpanel__h2 { line-height: 1.12; }
.logpanel__sub { font-size: 15px; color: var(--text-dim); line-height: 1.6; }

.siglist { display: flex; flex-direction: column; gap: 12px; margin-top: auto; padding-top: 14px; }
.sigitem { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s; }
.sigitem:hover { border-color: var(--brand); }
.sigitem__icon { color: var(--brand); display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; }
.sigitem__body { display: flex; flex-direction: column; gap: 3px; }
.sigitem__body strong { font-size: 15px; font-weight: 700; }
.sigitem__body small { font-size: 12.5px; color: var(--text-dim); line-height: 1.4; }

.benlist { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: auto; padding-top: 14px; }
.benitem { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 10px; transition: border-color .2s; }
.benitem:hover { border-color: var(--brand); }
.benitem__icon { color: var(--brand); display: flex; }
.benitem__title { font-size: 15.5px; font-weight: 700; letter-spacing: -0.01em; }
.benitem__desc { font-size: 13px; color: var(--text-dim); line-height: 1.5; }

/* ---------------------------------------------------------- funcionamento -- */
.log-flow { max-width: 1760px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.flowcard { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; gap: 12px; min-height: 210px; }
.flowcard__n { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 38px; font-weight: 700; letter-spacing: -0.04em; color: var(--brand); line-height: 1; }
.flowcard__title { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.flowcard__desc { font-size: 13.5px; color: var(--text-dim); line-height: 1.55; }

/* ---------------------------------------------- divisão de responsabilidades */
.log-div { max-width: 1760px; margin: 0 auto; padding: 72px 32px; }
.log-div__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.divcard { border: 1px solid var(--line); border-radius: 24px; padding: 38px; background: var(--surface-2); color: var(--text); }
.divcard--anim { background: color-mix(in srgb, var(--brand) 12%, var(--surface-2)); animation: infinoosShift 9s ease-in-out infinite; }
.divcard__tag {
  display: inline-flex; margin-bottom: 16px; padding: 7px 13px; border-radius: 999px;
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  background: rgba(59, 184, 255, 0.13); color: var(--brand);
}
.divcard--anim .divcard__tag { background: color-mix(in srgb, var(--brand) 20%, transparent); }
.divcard h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.divcard__list { display: flex; flex-direction: column; gap: 13px; margin-top: 16px; }
.divcard__item { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; font-size: 14.5px; line-height: 1.45; }
.divcard__check {
  width: 23px; height: 23px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; flex-shrink: 0; margin-top: 1px;
  background: rgba(52, 211, 153, 0.15); color: var(--green);
}
.divcard--anim .divcard__check { background: rgba(59, 184, 255, 0.18); color: var(--brand); }

/* --------------------------------------------------------------- perfil -- */
.log-perfil { background: var(--surface-2); padding: 80px 24px; }
.log-perfil__inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 44px; }
.perfil-table {
  position: relative; border: 1px solid var(--line); border-radius: 22px; background: var(--bg);
  overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
}
.perfil-table::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.45;
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 38px 38px;
}
.perfil-row {
  position: relative; display: grid; grid-template-columns: 120px 1fr 180px; gap: 26px; align-items: center;
  padding: 26px 32px; border-bottom: 1px solid var(--line-2);
  opacity: 0.45; transition: opacity .5s ease;
}
.perfil-row:last-child { border-bottom: none; }
.perfil-row.is-scanning,
.perfil-row.is-done { opacity: 1; }
.perfil-row__sweep {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent 30%, rgba(99, 140, 255, 0.12) 50%, transparent 70%);
  background-size: 200% 100%;
}
.perfil-row.is-scanning .perfil-row__sweep { opacity: 1; animation: scanSweep 1.8s linear infinite; }
.perfil-row__n {
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: var(--text-faint);
  transition: color .45s ease;
}
.perfil-row.is-scanning .perfil-row__n { color: var(--text); }
.perfil-row.is-done .perfil-row__n { color: var(--brand); }
.perfil-row__body { display: flex; flex-direction: column; gap: 9px; }
.perfil-row__body h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.perfil-row__bar { height: 2px; max-width: 440px; background: var(--line); border-radius: 2px; overflow: hidden; }
.perfil-row__bar-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--brand), #8B5CF6, #22D3EE);
  transition: width 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.perfil-row.is-scanning .perfil-row__bar-fill { width: 45%; }
.perfil-row.is-done .perfil-row__bar-fill { width: 100%; }
.perfil-row__desc { font-size: 13.5px; color: var(--text-dim); line-height: 1.55; opacity: 0.35; transition: opacity .6s ease .15s; }
.perfil-row.is-scanning .perfil-row__desc { opacity: 0.75; }
.perfil-row.is-done .perfil-row__desc { opacity: 1; }
.perfil-row__status {
  justify-self: end; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; padding: 9px 16px; border-radius: 999px; white-space: nowrap;
  border: 1px solid var(--line); color: var(--text-faint); background: transparent;
  transition: color .4s, border-color .4s, background .4s;
}
.perfil-row.is-scanning .perfil-row__status { border-color: var(--brand); color: var(--brand); background: rgba(99, 140, 255, 0.1); }
.perfil-row.is-done .perfil-row__status { border-color: rgba(40, 200, 64, 0.5); color: #28C840; background: rgba(40, 200, 64, 0.1); }

/* ---------------------------------------------------------------- rede -- */
.log-econ { background: var(--surface-2); color: var(--text); padding: 80px 24px; }
.log-econ__grid { max-width: 1760px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.econcard { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; gap: 12px; min-height: 190px; }
.econcard__icon { width: 48px; height: 48px; border-radius: 13px; background: var(--gradient-hero); display: flex; align-items: center; justify-content: center; font-size: 20px; color: #fff; font-weight: 700; }
.econcard__title { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.econcard__desc { font-size: 13.5px; color: var(--text-dim); line-height: 1.55; }

/* ----------------------------------------------------------- homologação -- */
.log-homolog { max-width: 1760px; margin: 0 auto; padding: 72px 32px; }
.homo-track { position: relative; margin: 0 10% 40px; height: 3px; background: var(--line); border-radius: 3px; }
.homo-track__fill {
  position: absolute; left: 0; top: 0; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--brand), var(--brand-2), #8B5CF6); border-radius: 3px;
  transition: width .65s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 0 14px rgba(99, 140, 255, 0.7);
}
.homo-track__dot {
  position: absolute; top: 50%; left: 0%; width: 16px; height: 16px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 5px rgba(99, 140, 255, 0.35), 0 0 22px rgba(99, 140, 255, 0.9);
  transform: translate(-50%, -50%); transition: left .65s cubic-bezier(0.16, 1, 0.3, 1);
}
.homo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.homocard {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 16px; padding: 26px 24px;
  display: flex; flex-direction: column; gap: 13px; min-height: 210px;
  opacity: 0.35; transform: translateY(26px); box-shadow: none;
  transition: opacity .6s cubic-bezier(0.16, 1, 0.3, 1), transform .6s cubic-bezier(0.16, 1, 0.3, 1), border-color .45s ease, box-shadow .45s ease;
}
.homocard.is-on { opacity: 1; transform: translateY(0); border-color: color-mix(in srgb, var(--brand) 55%, var(--line)); box-shadow: 0 14px 40px rgba(99, 140, 255, 0.14); }
.homocard__diamond {
  width: 46px; height: 46px; border-radius: 13px; transform: rotate(45deg);
  border: 2px solid var(--line); background: var(--surface);
  display: flex; align-items: center; justify-content: center; margin: 6px 0 8px 6px;
  transition: background .45s ease, border-color .45s ease, box-shadow .45s ease;
}
.homocard.is-on .homocard__diamond { border-color: var(--brand); background: linear-gradient(135deg, var(--brand), #8B5CF6); box-shadow: 0 0 18px rgba(99, 140, 255, 0.5); }
.homocard__diamond span { transform: rotate(-45deg); font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 15px; font-weight: 700; color: var(--text-dim); transition: color .45s; }
.homocard.is-on .homocard__diamond span { color: #fff; }
.homocard__stage { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 10.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); transition: color .45s; }
.homocard.is-on .homocard__stage { color: var(--brand); }
.homocard__title { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.homocard__desc { font-size: 13px; color: var(--text-dim); line-height: 1.5; }

/* ------------------------------------------------------------- cta final -- */
.log-cta { max-width: 1760px; margin: 0 auto; padding: 72px 32px 90px; }
.log-cta__inner {
  position: relative; overflow: hidden; background: #0D1B2E; border: 1px solid var(--line); border-radius: 26px;
  padding: 70px 56px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center;
}
.log-cta__grid {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.35;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
}
.log-cta__aurora { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.log-cta__aurora--a { top: -30%; left: -10%; width: 65%; height: 120%; background: radial-gradient(circle, rgba(59, 184, 255, 0.35), transparent 65%); animation: auroraDrift 14s ease-in-out infinite; }
.log-cta__aurora--b { bottom: -40%; right: -8%; width: 60%; height: 120%; background: radial-gradient(circle, rgba(139, 92, 246, 0.38), transparent 65%); animation: auroraDrift 17s ease-in-out infinite reverse; }
.log-cta__copy { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; text-align: left; }
.log-cta__eyebrow { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #3BB8FF; }
.log-cta__cursor { display: inline-block; width: 8px; height: 13px; background: #3BB8FF; margin-left: 8px; vertical-align: middle; animation: blinkC 1.1s step-end infinite; }
.log-cta__h2 { font-size: clamp(26px, 3.6vw, 44px); font-weight: 700; color: #fff; letter-spacing: -0.03em; max-width: 24ch; line-height: 1.08; }
.log-cta__sub { font-size: 16px; color: rgba(255, 255, 255, 0.85); max-width: 64ch; line-height: 1.6; }
.log-cta__btn {
  margin-top: 12px; font-weight: 700; font-size: 15px; padding: 16px 34px; border-radius: 999px;
  background: #fff; color: var(--navy); box-shadow: 0 0 30px rgba(59, 184, 255, 0.45);
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), box-shadow .25s;
}
.log-cta__btn:hover { color: var(--navy); transform: scale(1.08); box-shadow: 0 0 46px rgba(139, 92, 246, 0.65); }
.log-cta__note { font-size: 12.5px; color: rgba(255, 255, 255, 0.65); max-width: 56ch; line-height: 1.5; margin-top: 6px; }

.log-cta__visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 380px; }
.log-cta__ring { position: absolute; top: 50%; left: 50%; border-radius: 50%; pointer-events: none; }
.log-cta__ring--1 { width: min(88%, 560px); aspect-ratio: 1 / 1; border: 1px dashed rgba(140, 160, 255, 0.35); transform: translate(-50%, -50%); animation: ringSpin 28s linear infinite; }
.log-cta__ring--2 { width: min(78%, 500px); aspect-ratio: 1 / 1; border: 1px solid transparent; border-top-color: #3BB8FF; border-right-color: rgba(59, 184, 255, 0.25); transform: translate(-50%, -50%); animation: ringSpin 12s linear infinite reverse; }
.log-cta__ring--pulse { width: min(96%, 620px); aspect-ratio: 1 / 1; border: 1px solid rgba(139, 92, 246, 0.2); transform: translate(-50%, -50%); animation: pulseRing 3.6s ease-out infinite; }
.log-cta__ring--3 { width: min(88%, 560px); aspect-ratio: 1 / 1; animation: ringSpin 20s linear infinite; }
.log-cta__ring--4 { width: min(78%, 500px); aspect-ratio: 1 / 1; animation: ringSpin 15s linear infinite reverse; }
.log-cta__ring-dot { position: absolute; border-radius: 50%; }
.log-cta__ring--3 .log-cta__ring-dot { top: -4px; left: 50%; width: 9px; height: 9px; background: #c084fc; box-shadow: 0 0 12px rgba(192, 132, 252, 0.9); }
.log-cta__ring--4 .log-cta__ring-dot { bottom: 6%; left: 12%; width: 7px; height: 7px; background: #3BB8FF; box-shadow: 0 0 10px rgba(59, 184, 255, 0.9); }
.log-cta__label { position: absolute; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 10.5px; letter-spacing: 0.12em; pointer-events: none; }
.log-cta__label--lat { top: 8%; left: 6%; color: rgba(140, 180, 255, 0.75); }
.log-cta__label--net { bottom: 9%; right: 5%; color: rgba(192, 132, 252, 0.75); text-align: right; }
.log-cta__label--net .is-online { color: #34D399; }
.log-cta__corner { position: absolute; width: 22px; height: 22px; pointer-events: none; }
.log-cta__corner--tr { top: 6%; right: 8%; border-top: 2px solid rgba(160, 180, 255, 0.6); border-right: 2px solid rgba(160, 180, 255, 0.6); }
.log-cta__corner--bl { bottom: 6%; left: 8%; border-bottom: 2px solid rgba(160, 180, 255, 0.6); border-left: 2px solid rgba(160, 180, 255, 0.6); }
.log-cta__planet { position: relative; width: min(100%, 780px); height: auto; display: block; background: transparent; }

/* ------------------------------------------------------- rodapé (accent) -- */
.newsgrid input:focus { border-color: #638AFB; }
.newsgrid button { background: #638AFB; }
.footgridhome__lead h2 em { color: #638AFB; }

/* ------------------------------------------------------------ responsivo -- */
@media (max-width: 1024px) {
  .logsplit { grid-template-columns: 1fr; }
  .benlist { grid-template-columns: 1fr; }
  .log-flow { grid-template-columns: repeat(2, 1fr); }
  .log-div__grid { grid-template-columns: 1fr; }
  .log-econ__grid { grid-template-columns: 1fr; }
  .homo-grid { grid-template-columns: repeat(2, 1fr); }
  .log-cta__inner { grid-template-columns: 1fr; }
  .log-cta__visual { min-height: 260px; }
}
@media (max-width: 640px) {
  .log-flow { grid-template-columns: 1fr; }
  .homo-grid { grid-template-columns: 1fr; }
  .perfil-row { grid-template-columns: 60px 1fr; }
  .perfil-row__status { grid-column: 1 / -1; justify-self: start; }
}
