:root {
  --bg: #EEF5F6;
  --surface: #FFFFFF;
  --surface-sunken: #E3EEF0;
  --ink: #12232C;
  --ink-soft: #4A6070;
  --ink-faint: #7E9AA6;
  --border: #CFE1E5;
  --navy: #2E4A5A;
  --navy-deep: #17262E;
  --accent: #1F8A96;
  --accent-hover: #176E78;
  --accent-soft: #E0F4F6;
  --warning: #B4590A;
  --warning-soft: #FBEBD8;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;
  --rail: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-wrap: break-word;
}
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { margin: 0; }
a { color: var(--accent); }
img { max-width: 100%; display: block; }
code {
  font-family: var(--font-mono); font-size: 0.85em; font-weight: 500;
  background: var(--accent-soft); color: var(--accent-hover);
  padding: 2px 6px; border-radius: 5px;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: var(--rail); margin: 0 auto; padding: 0 20px; }
.eyebrow {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.09em; text-transform: uppercase;
  margin: 0 0 12px;
}
.skip-link {
  position: absolute; left: -999px; top: auto;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
  z-index: 100;
}
.skip-link:focus { left: 20px; top: 12px; }

@media (prefers-reduced-motion: no-preference) {
  a, .btn, .nav-links a, .check-card, .qr-card, .callout,
  .checklist-row, .step-num, .step-icon { transition: all 0.15s ease; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---- sticky nav ---- */
.nav {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--rail); margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; gap: 20px; height: 60px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 24px; height: 24px; }
.brand span { font-size: 13.5px; font-weight: 700; color: var(--navy); letter-spacing: 0.01em; }
.nav-links { display: none; gap: 28px; margin: 0 auto 0 32px; }
.nav-links a {
  font-size: 13.5px; font-weight: 600; color: var(--ink-soft); text-decoration: none;
}
.nav-links a:hover { color: var(--accent-hover); }
.nav-cta {
  margin-left: auto; flex: none;
  font-size: 12.5px; font-weight: 700; text-decoration: none;
  color: #fff; background: var(--navy);
  border-radius: 8px; padding: 9px 14px;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--navy-deep); }

/* ---- hero ---- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(155deg, var(--navy-deep) 0%, var(--navy) 46%, var(--accent-hover) 100%);
  color: #fff;
}
.hero::before {
  content: ''; position: absolute; inset: 0; opacity: 0.16; pointer-events: none;
  background-image:
    linear-gradient(30deg, transparent 48%, #fff 49%, #fff 51%, transparent 52%),
    linear-gradient(-30deg, transparent 48%, #fff 49%, #fff 51%, transparent 52%);
  background-size: 90px 156px;
  background-position: 0 0, 0 0;
  mask-image: radial-gradient(ellipse 70% 60% at 75% 20%, #000 0%, transparent 70%);
}
.hero-inner {
  position: relative; max-width: var(--rail); margin: 0 auto; padding: 52px 20px 44px;
  display: flex; flex-direction: column; gap: 36px;
}
.hero-inner > * { min-width: 0; }
.hero .eyebrow { color: #9FE0E6; }
.hero h1 {
  font-size: 32px; line-height: 1.14; font-weight: 800;
  letter-spacing: -0.01em; margin-bottom: 16px;
}
.hero .lede {
  font-size: 15.5px; line-height: 1.6; color: #D7E7EA; max-width: 52ch;
}
.hero .lede strong { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; text-decoration: none;
  border-radius: 10px; padding: 13px 20px; line-height: 1;
}
.btn-primary { background: #fff; color: var(--navy-deep); }
.btn-primary:hover { background: #E0F4F6; transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.35); }
.btn-ghost:hover { background: rgba(255,255,255,0.18); transform: translateY(-1px); }
.btn-lg { padding: 16px 26px; font-size: 15px; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); transform: translateY(-1px); }
.hero-stats {
  display: flex; gap: 28px; margin: 30px 0 0; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.hero-stats div { display: flex; flex-direction: column; gap: 2px; }
.hero-stats dt {
  font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; color: #fff;
}
.hero-stats dd {
  margin: 0; font-size: 11.5px; color: #AFC9CE; text-transform: uppercase; letter-spacing: 0.06em;
}

/* ---- phone mockup ---- */
.hero-visual { display: flex; justify-content: center; position: relative; max-width: 100%; }
.hero-visual .hex-ghost {
  position: absolute; width: 340px; height: 340px; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.16;
}
.phone {
  position: relative; width: 232px; background: var(--navy-deep);
  border-radius: 30px; padding: 8px; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
}
.phone-screen {
  background: var(--surface); border-radius: 22px; overflow: hidden;
  font-size: 12px;
}
.phone-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 16px 4px; font-size: 11px; font-weight: 600; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.phone-status .dots { color: var(--ink-faint); letter-spacing: 1px; }
.phone-appbar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px 14px; font-weight: 700; color: var(--navy); font-size: 13px;
  border-bottom: 1px solid var(--border);
}
.phone-appbar .chevron { color: var(--ink-faint); font-weight: 400; }
.phone-row {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}
.phone-row > div { min-width: 0; }
.phone-row p {
  font-size: 12px; font-weight: 600; color: var(--ink); margin: 0 0 2px;
  overflow-wrap: anywhere;
}
.phone-row small { font-size: 10.5px; color: var(--ink-soft); }
.avatar {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #fff; background: var(--ink-faint);
}
.avatar--accent { background: var(--accent); font-size: 16px; }
.phone-row--cta { background: var(--accent-soft); }
.phone-row--cta p { color: var(--accent-hover); }

/* ---- alternating full-bleed sections ---- */
.section { padding: 56px 0; }
.section--sunken { background: var(--surface-sunken); }
.section-head { max-width: 640px; margin-bottom: 32px; display: flex; align-items: flex-start; gap: 14px; }
.section-head h2 {
  font-size: 25px; font-weight: 800; color: var(--navy); letter-spacing: -0.01em;
}
.section-head .eyebrow { color: var(--accent-hover); }
.section-intro { font-size: 14px; line-height: 1.6; color: var(--ink-soft); margin: -16px 0 26px; max-width: 62ch; }

/* ---- step icon (etapa icon, next to the heading) ---- */
.step-icon {
  flex: none; width: 40px; height: 40px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent-hover);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.step-icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---- step process ---- */
.process-grid { display: grid; gap: 32px; }
.process-grid > * { min-width: 0; }
ol.steps { list-style: none; margin: 0; padding: 0; position: relative; }
ol.steps::before {
  content: ''; position: absolute; left: 17px; top: 6px; bottom: 6px;
  width: 2px; background: var(--border);
}
ol.steps li { position: relative; padding-left: 50px; margin-bottom: 22px; }
ol.steps li:last-child { margin-bottom: 0; }
.step-num {
  position: absolute; left: 0; top: 0;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums;
  display: flex; align-items: center; justify-content: center; z-index: 1;
}
.step-title { font-size: 15px; font-weight: 700; color: var(--ink); margin: 0 0 4px; line-height: 1.4; }
.step-desc { font-size: 13.8px; color: var(--ink-soft); line-height: 1.6; margin: 0; }
.step-path {
  display: block; margin-top: 8px; font-family: var(--font-mono);
  font-size: 11.5px; color: var(--navy); background: var(--surface);
  border: 1px solid var(--border); border-radius: 7px;
  padding: 7px 10px; width: fit-content;
}

.subhead {
  font-size: 13px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase;
  color: var(--navy); margin: 30px 0 16px;
  display: flex; align-items: center; gap: 8px;
}
.subhead:first-child { margin-top: 0; }
.subhead .tag {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; text-transform: none;
  letter-spacing: 0; color: var(--accent-hover); background: var(--accent-soft);
  border-radius: 999px; padding: 2px 9px;
}

.prereqs {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 24px; align-self: start;
}
.prereqs h3 {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 14px;
}
.prereqs ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.prereqs li { display: flex; gap: 10px; font-size: 13.5px; color: var(--ink); line-height: 1.45; }
.prereqs li::before { content: '✓'; color: var(--accent); font-weight: 700; flex: none; }
.prereqs-note {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border);
  font-size: 12.5px; color: var(--ink-soft);
}

/* ---- QR code card (Intune enrollment) ---- */
.qr-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 24px; margin: 24px 0; max-width: 320px;
  text-align: center;
}
.qr-card .intune-qrcode {
  width: 100%; height: auto; max-width: 240px; margin: 0 auto 14px;
  border-radius: 10px; border: 1px solid var(--border);
}
.qr-card p { font-size: 12.5px; line-height: 1.5; color: var(--ink-soft); }

/* ---- reusable in-flow callout (warning) ---- */
.callout {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--warning-soft); border: 1px solid #F0D3AC; border-radius: 14px;
  padding: 18px 20px; margin: 24px 0; max-width: 640px;
}
.callout-icon {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--warning); color: #fff; font-weight: 800; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.callout-title { font-size: 13.5px; font-weight: 700; color: #7A3A05; margin: 0 0 4px; }
.callout p:not(.callout-title) { font-size: 13.3px; line-height: 1.55; color: #5A3A1C; margin: 0; }
.note {
  font-size: 13.3px; line-height: 1.6; color: var(--ink-soft);
  border-left: 3px solid var(--accent); padding-left: 14px; margin: 20px 0 0; max-width: 60ch;
}

/* ---- confirm checklist (mini, inside Etapa 2) ---- */
.confirm-grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 16px; }
.check-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 22px;
}
.check-card:hover { border-color: var(--accent); box-shadow: 0 6px 20px -12px rgba(23,110,120,0.35); }
.check-card .step-num { position: static; margin-bottom: 14px; }
.check-card .step-title { font-size: 14.5px; }
.check-card .step-desc { font-size: 13.3px; }

/* ---- centered section variant (Etapa 4) ---- */
.section--center { text-align: center; }
.section--center .section-head { justify-content: center; max-width: none; }
.section--center .section-intro { margin-left: auto; margin-right: auto; }
.section--center .checklist-progress { text-align: center; }
.section--center .checklist-card { margin: 0 auto; text-align: left; }
.section--center .hero-actions { justify-content: center; }

/* ---- final checklist (Etapa 4) ---- */
.checklist-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 10px 22px; max-width: 640px;
}
.checklist-list { list-style: none; margin: 0; padding: 0; }
.checklist-row {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 0; border-bottom: 1px solid var(--border);
}
.checklist-row:last-child { border-bottom: none; }
.checklist-row input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; flex: none;
  width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--border);
  background: var(--surface); cursor: pointer; position: relative;
}
.checklist-row input[type="checkbox"]:checked {
  background: var(--accent); border-color: var(--accent);
}
.checklist-row input[type="checkbox"]:checked::after {
  content: ''; position: absolute; left: 6px; top: 2px;
  width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0;
  transform: rotate(40deg) scale(0); animation: check-pop 0.18s ease-out forwards;
}
@keyframes check-pop { to { transform: rotate(40deg) scale(1); } }
.checklist-row label {
  font-size: 14.5px; font-weight: 600; color: var(--ink); cursor: pointer; user-select: none;
}
.checklist-row:has(input:checked) label { color: var(--ink-faint); text-decoration: line-through; }
.checklist-progress {
  font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-soft);
  margin: 14px 0 18px;
}
.checklist-progress strong { color: var(--accent-hover); }

/* ---- alert band ---- */
.alert-band { background: var(--warning-soft); border-top: 1px solid #F0D3AC; border-bottom: 1px solid #F0D3AC; padding: 30px 0; }
.alert-inner { display: flex; gap: 16px; align-items: flex-start; max-width: 780px; }
.alert-icon {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--warning); color: #fff; font-weight: 800; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}
.alert-title { font-size: 14.5px; font-weight: 700; color: #7A3A05; margin: 0 0 5px; }
.alert-inner p:not(.alert-title) { font-size: 13.8px; line-height: 1.6; color: #5A3A1C; }

/* ---- info band (destaque máximo — leia antes de começar) ---- */
.info-band {
  background: linear-gradient(155deg, var(--navy-deep) 0%, var(--navy) 46%, var(--accent-hover) 100%);
  color: #fff;
  padding: 38px 0 42px;
}
.info-inner { display: flex; gap: 18px; align-items: flex-start; max-width: 820px; }
.info-icon {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: var(--accent-hover); font-weight: 800; font-size: 19px; font-style: italic;
  font-family: Georgia, 'Times New Roman', serif;
  display: flex; align-items: center; justify-content: center;
}
.info-eyebrow {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 700; letter-spacing: 0.09em;
  text-transform: uppercase; color: #9FE0E6; margin: 0 0 6px;
}
.info-title { font-size: 20px; font-weight: 800; color: #fff; margin: 0 0 8px; line-height: 1.25; }
.info-band p:not(.info-title):not(.info-eyebrow) { font-size: 15px; line-height: 1.6; color: #D7E7EA; margin: 0 0 16px; }
.info-band .btn { margin-top: 2px; }

/* ---- help ---- */
.help { background: var(--navy-deep); color: #fff; text-align: center; padding: 60px 0; }
.help h2 { font-size: 26px; font-weight: 800; margin-bottom: 10px; }
.help p { color: #B9D3D9; font-size: 14.5px; margin-bottom: 26px; }
.help-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---- footer ---- */
footer.colophon { background: var(--navy-deep); color: #fff; padding: 26px 0 32px; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-inner { display: flex; flex-direction: column; gap: 3px; }
footer.colophon .brandline { font-size: 13px; font-weight: 700; letter-spacing: 0.03em; }
footer.colophon .subline { font-size: 11.5px; color: #8AAAB0; }

/* ================= tablet / desktop ================= */
@media (min-width: 760px) {
  body { zoom: 1.25; }
  .section { padding: 76px 0; }
  .section-head h2 { font-size: 30px; }
  .confirm-grid { grid-template-columns: repeat(3, 1fr); }
  .confirm-grid--nested { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { padding: 72px 20px 60px; }
  .hero h1 { font-size: 44px; }
  .hero .lede { font-size: 16.5px; }
}

@media (min-width: 1000px) {
  .nav-links { display: flex; }
  .hero-inner { flex-direction: row; align-items: center; gap: 60px; padding: 88px 20px 76px; }
  .hero-copy { flex: 1 1 auto; max-width: 560px; }
  .hero-visual { flex: none; }
  .hero h1 { font-size: 50px; }
  .process-grid { grid-template-columns: 1.6fr 1fr; align-items: start; }
  .prereqs { position: sticky; top: 84px; }
}
