/* iaipediu — design system público */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');

:root {
  --ifo-ink: #0b1220;
  --ifo-ink-soft: #1e293b;
  --ifo-muted: #64748b;
  --ifo-line: rgba(15, 23, 42, .08);
  --ifo-surface: #ffffff;
  --ifo-bg: #f4f7fb;
  --ifo-bg-deep: #0b1220;
  --ifo-brand: #e11d48;
  --ifo-brand-2: #f97316;
  --ifo-accent: #0ea5e9;
  --ifo-ok: #10b981;
  --ifo-radius: 18px;
  --ifo-radius-sm: 12px;
  --ifo-shadow: 0 20px 50px rgba(15, 23, 42, .10);
  --ifo-shadow-sm: 0 8px 24px rgba(15, 23, 42, .08);
  --ifo-font-display: 'Sora', system-ui, sans-serif;
  --ifo-font: 'IBM Plex Sans', system-ui, sans-serif;
  --ifo-nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.ifo-body {
  margin: 0;
  font-family: var(--ifo-font);
  color: var(--ifo-ink);
  background: var(--ifo-bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.ifo-container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

/* NAV */
.ifo-nav {
  position: sticky; top: 0; z-index: 80;
  height: var(--ifo-nav-h);
  display: flex; align-items: center;
  background: rgba(244, 247, 251, .82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.ifo-nav.scrolled {
  border-color: var(--ifo-line);
  background: rgba(255,255,255,.92);
  box-shadow: 0 8px 24px rgba(15,23,42,.06);
}
.ifo-nav-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.ifo-brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ifo-font-display);
  font-weight: 800; font-size: 1.35rem; letter-spacing: -.04em;
}
.ifo-brand-mark {
  width: 36px; height: 36px; border-radius: 11px;
  background: linear-gradient(135deg, var(--ifo-brand), var(--ifo-brand-2));
  display: grid; place-items: center; color: #fff; font-size: .95rem;
  box-shadow: 0 8px 20px rgba(225, 29, 72, .35);
}
.ifo-brand span { background: linear-gradient(90deg, var(--ifo-ink), var(--ifo-brand)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ifo-nav-links { display: flex; align-items: center; gap: 6px; }
.ifo-nav-links a {
  padding: 8px 12px; border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--ifo-ink-soft);
  transition: background .2s, color .2s;
}
.ifo-nav-links a:hover { background: rgba(15,23,42,.05); color: var(--ifo-ink); }
.ifo-nav-cta { display: flex; align-items: center; gap: 8px; }
.ifo-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 18px; border-radius: 999px; font-weight: 700; font-size: .92rem;
  border: 0; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s;
}
.ifo-btn:hover { transform: translateY(-1px); }
.ifo-btn-primary {
  background: linear-gradient(135deg, var(--ifo-brand), #be123c);
  color: #fff; box-shadow: 0 10px 28px rgba(225, 29, 72, .35);
}
.ifo-btn-secondary {
  background: #fff; color: var(--ifo-ink); border: 1px solid var(--ifo-line);
  box-shadow: var(--ifo-shadow-sm);
}
.ifo-btn-ghost { background: transparent; color: var(--ifo-ink-soft); border: 1px solid transparent; }
.ifo-btn-dark { background: var(--ifo-ink); color: #fff; }
.ifo-burger {
  display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--ifo-line);
  background: #fff; align-items: center; justify-content: center; cursor: pointer;
}

/* HERO */
.ifo-hero {
  position: relative; overflow: hidden;
  padding: 48px 0 72px;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(249, 115, 22, .18), transparent 60%),
    radial-gradient(700px 420px at 0% 20%, rgba(225, 29, 72, .12), transparent 55%),
    linear-gradient(180deg, #fff 0%, var(--ifo-bg) 100%);
}
.ifo-hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
}
.ifo-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700;
  background: rgba(225, 29, 72, .08); color: var(--ifo-brand); margin-bottom: 18px;
}
.ifo-hero h1 {
  font-family: var(--ifo-font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.05; letter-spacing: -.045em; margin: 0 0 16px; font-weight: 800;
}
.ifo-hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--ifo-brand), var(--ifo-brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ifo-hero-lead { font-size: 1.08rem; color: var(--ifo-muted); max-width: 34rem; margin: 0 0 28px; }
.ifo-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.ifo-hero-meta { display: flex; flex-wrap: wrap; gap: 18px; color: var(--ifo-muted); font-size: .86rem; font-weight: 600; }
.ifo-hero-meta strong { color: var(--ifo-ink); display: block; font-size: 1.15rem; font-family: var(--ifo-font-display); }

.ifo-stage {
  position: relative; border-radius: 28px; padding: 18px;
  background: linear-gradient(160deg, rgba(255,255,255,.9), rgba(255,255,255,.55));
  border: 1px solid rgba(255,255,255,.7); box-shadow: var(--ifo-shadow);
}
.ifo-stage-screen {
  border-radius: 20px; overflow: hidden; background: var(--ifo-bg-deep); color: #fff;
  min-height: 340px; padding: 22px; position: relative;
}
.ifo-stage-bar { display: flex; gap: 6px; margin-bottom: 18px; }
.ifo-stage-bar i { width: 9px; height: 9px; border-radius: 99px; background: #334155; display: block; }
.ifo-stage-bar i:nth-child(1){background:#f87171} .ifo-stage-bar i:nth-child(2){background:#fbbf24} .ifo-stage-bar i:nth-child(3){background:#34d399}
.ifo-stage-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 14px; }
.ifo-stage-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px; padding: 14px;
}
.ifo-stage-card b { display: block; font-size: 1.2rem; font-family: var(--ifo-font-display); }
.ifo-stage-card span { font-size: .75rem; color: #94a3b8; }
.ifo-float-chip {
  position: absolute; right: 18px; bottom: 18px;
  background: #fff; color: var(--ifo-ink); border-radius: 14px; padding: 12px 14px;
  box-shadow: var(--ifo-shadow); font-size: .82rem; font-weight: 700;
  animation: ifoFloat 4s ease-in-out infinite;
}
@keyframes ifoFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* SECTIONS */
.ifo-section { padding: 72px 0; }
.ifo-section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.ifo-section-head h2 {
  font-family: var(--ifo-font-display); font-size: clamp(1.6rem, 3vw, 2.3rem);
  letter-spacing: -.03em; margin: 0 0 10px; font-weight: 800;
}
.ifo-section-head p { margin: 0; color: var(--ifo-muted); }

.ifo-verticals {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.ifo-vcard {
  background: #fff; border: 1px solid var(--ifo-line); border-radius: var(--ifo-radius);
  padding: 18px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.ifo-vcard:hover { transform: translateY(-3px); box-shadow: var(--ifo-shadow-sm); border-color: rgba(225,29,72,.25); }
.ifo-vcard i {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(14, 165, 233, .1); color: var(--ifo-accent); margin-bottom: 12px;
}
.ifo-vcard h3 { margin: 0 0 6px; font-size: 1rem; font-family: var(--ifo-font-display); }
.ifo-vcard p { margin: 0; font-size: .84rem; color: var(--ifo-muted); }

.ifo-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ifo-fcard {
  background: #fff; border-radius: var(--ifo-radius); padding: 24px; border: 1px solid var(--ifo-line);
  box-shadow: 0 1px 0 rgba(255,255,255,.8);
}
.ifo-fcard h3 { margin: 0 0 8px; font-family: var(--ifo-font-display); font-size: 1.05rem; }
.ifo-fcard p { margin: 0; color: var(--ifo-muted); font-size: .92rem; }

/* SISTEMAS / MÓDULOS */
.ifo-systems {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.ifo-sys {
  position: relative;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  border: 1px solid var(--ifo-line);
  border-radius: var(--ifo-radius);
  padding: 22px 20px 20px;
  min-height: 198px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column; gap: 8px;
}
.ifo-sys:hover {
  transform: translateY(-4px);
  box-shadow: var(--ifo-shadow-sm);
  border-color: rgba(225, 29, 72, .22);
}
.ifo-sys-top {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px;
}
.ifo-sys-ico {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(225,29,72,.12), rgba(249,115,22,.12));
  color: var(--ifo-brand); font-size: 1.15rem;
}
.ifo-sys-badge {
  display: inline-flex; align-items: center;
  padding: 4px 10px; border-radius: 999px;
  background: linear-gradient(135deg, var(--ifo-brand), var(--ifo-brand-2));
  color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(225, 29, 72, .25);
}
.ifo-sys h3 {
  margin: 0; font-family: var(--ifo-font-display); font-size: 1.02rem;
  letter-spacing: -.02em; line-height: 1.25; font-weight: 800;
}
.ifo-sys p {
  margin: 0; color: var(--ifo-muted); font-size: .88rem; line-height: 1.5; flex: 1;
}

.ifo-roles {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.ifo-role {
  display: flex; flex-direction: column; gap: 10px;
  background: linear-gradient(180deg, #fff, #f8fafc);
  border: 1px solid var(--ifo-line); border-radius: var(--ifo-radius); padding: 22px;
  min-height: 210px; transition: transform .2s, box-shadow .2s;
}
.ifo-role:hover { transform: translateY(-4px); box-shadow: var(--ifo-shadow); }
.ifo-role .ico {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-size: 1.15rem;
}
.ifo-role h3 { margin: 0; font-family: var(--ifo-font-display); font-size: 1.05rem; }
.ifo-role p { margin: 0; color: var(--ifo-muted); font-size: .88rem; flex: 1; }
.ifo-role .ifo-btn { margin-top: auto; width: 100%; }

.ifo-plans { display: grid; gap: 16px; }
.ifo-plan {
  background: #fff; border: 1px solid var(--ifo-line); border-radius: 22px; padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.ifo-plan.featured {
  border-color: transparent;
  background: linear-gradient(#fff, #fff) padding-box,
              linear-gradient(135deg, var(--ifo-brand), var(--ifo-brand-2)) border-box;
  border: 2px solid transparent;
  box-shadow: var(--ifo-shadow);
}
.ifo-plan h3 { margin: 0; font-family: var(--ifo-font-display); }
.ifo-plan .price { font-size: 2rem; font-weight: 800; font-family: var(--ifo-font-display); letter-spacing: -.03em; }
.ifo-plan ul { margin: 0; padding: 0; list-style: none; color: var(--ifo-muted); font-size: .9rem; }
.ifo-plan li { padding: 6px 0 6px 22px; position: relative; }
.ifo-plan li::before { content: '✓'; position: absolute; left: 0; color: var(--ifo-ok); font-weight: 800; }

.ifo-cta-band {
  margin: 24px 0 0; border-radius: 28px; padding: 40px;
  background: linear-gradient(135deg, var(--ifo-ink) 0%, #1e293b 55%, #7f1d1d 140%);
  color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.ifo-cta-band h2 { margin: 0 0 8px; font-family: var(--ifo-font-display); font-size: 1.8rem; letter-spacing: -.03em; }
.ifo-cta-band p { margin: 0; color: #cbd5e1; max-width: 420px; }

.ifo-footer {
  padding: 40px 0 28px; border-top: 1px solid var(--ifo-line); color: var(--ifo-muted); font-size: .88rem;
}
.ifo-footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }

/* AUTH SHELL */
.ifo-auth-body {
  min-height: 100vh; margin: 0;
  display: grid; place-items: center;
  padding: 24px 16px;
  font-family: var(--ifo-font);
  background:
    radial-gradient(800px 400px at 10% 0%, rgba(225,29,72,.18), transparent 55%),
    radial-gradient(700px 380px at 100% 100%, rgba(14,165,233,.16), transparent 50%),
    linear-gradient(160deg, #0b1220, #111827 45%, #1f2937);
  color: var(--ifo-ink);
}
.ifo-auth-shell {
  width: min(1040px, 100%);
  display: grid; grid-template-columns: 1fr 1fr;
  background: #fff; border-radius: 28px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  min-height: 620px;
}
.ifo-auth-aside {
  padding: 36px; color: #fff;
  background: linear-gradient(160deg, #e11d48 0%, #9f1239 45%, #0b1220 130%);
  display: flex; flex-direction: column; justify-content: space-between; position: relative;
}
.ifo-auth-aside::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(500px 280px at 80% 20%, rgba(255,255,255,.18), transparent 60%);
  pointer-events: none;
}
.ifo-auth-aside > * { position: relative; z-index: 1; }
.ifo-auth-aside h1 { font-family: var(--ifo-font-display); font-size: 2rem; letter-spacing: -.03em; margin: 12px 0; line-height: 1.15; }
.ifo-auth-aside p { opacity: .92; margin: 0; }
.ifo-auth-main { padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; }
.ifo-auth-main h2 { font-family: var(--ifo-font-display); margin: 0 0 6px; font-size: 1.55rem; letter-spacing: -.02em; }
.ifo-auth-main .sub { color: var(--ifo-muted); margin: 0 0 22px; font-size: .95rem; }
.ifo-role-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 22px; }
.ifo-role-pick {
  border: 1.5px solid var(--ifo-line); border-radius: 16px; padding: 14px; background: #f8fafc;
  cursor: pointer; text-align: left; transition: border-color .2s, background .2s, transform .15s;
  font: inherit; color: inherit;
}
.ifo-role-pick:hover, .ifo-role-pick.active {
  border-color: var(--ifo-brand); background: #fff1f2; transform: translateY(-1px);
}
.ifo-role-pick strong { display: block; font-size: .92rem; margin-bottom: 2px; }
.ifo-role-pick span { font-size: .78rem; color: var(--ifo-muted); }
.ifo-field { margin-bottom: 12px; position: relative; }
.ifo-field input {
  width: 100%; padding: 14px 14px 14px 44px; border-radius: 12px;
  border: 1.5px solid #e2e8f0; background: #f8fafc; font: inherit; outline: none;
  transition: border-color .2s, background .2s;
}
.ifo-field input:focus { border-color: var(--ifo-brand); background: #fff; }
.ifo-field i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #94a3b8; }
.ifo-divider {
  display: flex; align-items: center; gap: 12px; color: #94a3b8; font-size: .8rem; margin: 16px 0;
}
.ifo-divider::before, .ifo-divider::after { content: ''; flex: 1; height: 1px; background: #e2e8f0; }
.ifo-google {
  width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px; border-radius: 12px; border: 1.5px solid #e2e8f0; background: #fff;
  font-weight: 700; cursor: pointer; transition: background .2s;
}
.ifo-google:hover { background: #f8fafc; }
.ifo-alert { padding: 12px; border-radius: 10px; margin-bottom: 14px; font-size: .9rem; text-align: center; }
.ifo-alert-danger { background: #fee2e2; color: #991b1b; }
.ifo-alert-success { background: #dcfce7; color: #166534; }
.ifo-alert-info { background: #e0f2fe; color: #075985; }
.ifo-auth-links { margin-top: 18px; text-align: center; font-size: .88rem; color: var(--ifo-muted); line-height: 1.6; }
.ifo-auth-links a { color: var(--ifo-brand); font-weight: 700; }

.ifo-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.ifo-reveal.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .ifo-hero-grid, .ifo-auth-shell { grid-template-columns: 1fr; }
  .ifo-verticals, .ifo-roles { grid-template-columns: repeat(2, 1fr); }
  .ifo-features, .ifo-systems { grid-template-columns: 1fr 1fr; }
  .ifo-nav-links { display: none; }
  .ifo-burger { display: inline-flex; }
  .ifo-auth-aside { min-height: 220px; }
}
@media (max-width: 560px) {
  .ifo-verticals, .ifo-roles, .ifo-role-grid, .ifo-systems { grid-template-columns: 1fr; }
  .ifo-nav-cta .ifo-btn-ghost { display: none; }
}
