/* Aldem Gestão Estratégica — azul forte, tecnológico
   Paleta principal: --primary #2b8cff · fundo #04152b · texto branco */

:root {
  --bg: #04152b;
  --bg-2: #071f3d;
  --surface: rgba(14, 52, 104, 0.35);
  --surface-solid: #0a2a54;
  --primary: #2b8cff;
  --primary-strong: #1768d8;
  --primary-hover: #4a9dff;
  --primary-light: #8cc8ff;
  --text: #ffffff;
  --muted: #a9bdd6;
  --line: rgba(120, 170, 255, 0.2);
  --glow: 0 0 40px rgba(43, 140, 255, 0.35);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 0; }
section[id], .section, .feature { scroll-margin-top: 0; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(900px 600px at 80% 8%, rgba(43, 140, 255, 0.22), transparent 60%),
    radial-gradient(700px 500px at 0% 40%, rgba(23, 104, 216, 0.14), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--primary); color: #fff; }

.ico {
  width: 18px; height: 18px; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

.wrap { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.accent { color: var(--primary); }
.mt-6 { margin-top: 24px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px;
  font-family: var(--font); font-size: 14px; font-weight: 600;
  border: 1px solid transparent; border-radius: 999px; cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 22px rgba(43, 140, 255, 0.28); }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); }
.btn-outline { background: rgba(43, 140, 255, 0.08); border-color: var(--primary); color: #fff; }
.btn-outline:hover { background: rgba(43, 140, 255, 0.2); box-shadow: var(--glow); }

.link-underline {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; padding-bottom: 6px;
  border-bottom: 1px solid var(--primary-light);
  transition: color 0.2s, gap 0.2s;
}
.link-underline:hover { color: var(--primary-light); gap: 14px; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(4, 21, 43, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; height: 92px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 40px; height: 43px; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-size: 42px; font-weight: 700; line-height: 0.95; letter-spacing: -0.02em; }
.brand-caption { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--primary); margin-top: 6px; }

.nav-links { display: flex; align-items: center; gap: 12px; }
.nav-links a {
  position: relative; padding: 10px 18px; font-size: 15px; font-weight: 500; color: #dbe7f7;
  transition: color 0.2s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 18px; right: 18px; bottom: -6px; height: 2px;
  background: var(--primary); transform: scaleX(0); transition: transform 0.25s;
}
.nav-links a:hover { color: #fff; }
.nav-links a.is-active { color: var(--primary-hover); }
.nav-links a.is-active::after { transform: scaleX(1); }

.header-cta { height: 48px; padding: 0 24px; font-size: 14px; }

.menu-toggle {
  display: none; width: 46px; height: 46px; align-items: center; justify-content: center;
  background: rgba(43, 140, 255, 0.1); color: #fff;
  border: 1px solid var(--primary); border-radius: 12px; cursor: pointer;
}

.mobile-menu[hidden] { display: none; }
.mobile-menu { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(115deg, transparent 52%, rgba(43, 140, 255, 0.10) 52.2%, transparent 66%),
    linear-gradient(115deg, transparent 70%, rgba(43, 140, 255, 0.16) 70.2%, transparent 82%);
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 40px;
  align-items: center; padding-block: 70px 90px;
}
.hero-content {
  margin-top: -18px;
  transform: translateY(-6px);
}
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--primary);
}
.hero h1 {
  margin-top: 18px; font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.08; font-weight: 700; letter-spacing: -0.025em;
}
.hero-description { margin-top: 18px; max-width: 430px; font-size: 17px; line-height: 1.6; color: #b9cde6; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 28px; }

/* ---------- Notebook / dashboard ---------- */
.device {
  position: relative;
  padding: 30px 40px 20px;
  max-width: 100%;
  overflow: hidden;
  animation: laptop-float 7s ease-in-out infinite;
}
.tablet {
  width: min(100%, 760px);
  max-width: 100%;
  transform: perspective(1600px) rotateY(-14deg) rotateX(4deg);
  opacity: 0.82;
  filter: drop-shadow(0 28px 42px rgba(0, 0, 0, 0.38)) drop-shadow(0 0 32px rgba(43, 140, 255, 0.18));
}
.screen {
  background: rgba(6, 26, 54, 0.92); border: 8px solid #17365f; border-radius: 24px;
  padding: 14px; box-shadow: inset 0 0 30px rgba(43, 140, 255, 0.12), 0 0 0 1px rgba(92, 176, 255, 0.22);
  overflow: hidden;
}
@keyframes laptop-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.dash { font-size: clamp(6px, 0.76vw, 10.5px); color: #dbe7f7; }
.dash-title { font-size: 1.5em; font-weight: 600; margin-bottom: 0.9em; display: flex; align-items: baseline; gap: 1em; }
.dash-title small { font-size: 0.65em; font-weight: 400; color: #6f8bb0; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.7em; }
.kpi { background: rgba(23, 80, 160, 0.3); border: 1px solid rgba(120, 170, 255, 0.18); border-radius: 0.6em; padding: 0.8em; }
.kpi span { display: block; font-size: 0.8em; color: #8fa9cc; }
.kpi strong { display: block; margin-top: 0.3em; font-size: 1.35em; font-weight: 600; }
.kpi em { display: block; margin-top: 0.2em; font-style: normal; font-size: 0.75em; }
.kpi .up { color: #38d39f; }
.kpi .down { color: #ff6b81; }

.dash-row { display: grid; gap: 0.7em; margin-top: 0.7em; }
.row-a, .row-b { grid-template-columns: 1.4fr 1fr; }
.panel { background: rgba(23, 80, 160, 0.22); border: 1px solid rgba(120, 170, 255, 0.15); border-radius: 0.6em; padding: 0.8em; }
.panel h4 { font-size: 0.9em; font-weight: 600; margin-bottom: 0.7em; }
.chart { display: block; width: 100%; height: 6em; }
.donut-wrap { display: flex; align-items: center; gap: 1em; }
.donut { width: 6.2em; height: 6.2em; flex-shrink: 0; transform: rotate(0deg); }
.legend li { display: flex; align-items: center; gap: 0.5em; font-size: 0.85em; line-height: 1.7; }
.legend i { width: 0.7em; height: 0.7em; border-radius: 50%; display: inline-block; }
.bars { display: flex; align-items: flex-end; justify-content: space-around; gap: 0.8em; height: 6em; }
.bars div { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.bars b { display: block; width: 55%; background: linear-gradient(#4aa3ff, #1768d8); border-radius: 0.2em 0.2em 0 0; }
.bars span { margin-top: 0.4em; font-size: 0.7em; color: #8fa9cc; }
.indicators li { display: flex; justify-content: space-between; padding: 0.55em 0; border-bottom: 1px solid rgba(120, 170, 255, 0.12); font-size: 0.9em; }
.indicators li:last-child { border-bottom: 0; }
.indicators i { font-style: normal; color: #38d39f; }

/* Troca entre dashboards (Dados ⇄ Automação) */
.dash-stack { display: grid; }
.dash-view { grid-area: 1 / 1; opacity: 0; visibility: hidden; }
.dash-view.is-active { opacity: 1; visibility: visible; }
.dash-view.is-entering { animation: dash-in 0.7s cubic-bezier(0.22, 0.8, 0.3, 1) both; }
.dash-view.is-leaving { opacity: 1; visibility: visible; pointer-events: none; animation: dash-out 0.7s cubic-bezier(0.6, 0, 0.8, 0.4) both; }
@keyframes dash-in {
  from { opacity: 0; transform: translateX(14%) scale(0.97); filter: blur(3px); }
  to { opacity: 1; transform: none; filter: none; }
}
@keyframes dash-out {
  from { opacity: 1; transform: none; filter: none; }
  to { opacity: 0; transform: translateX(-14%) scale(0.97); filter: blur(3px); }
}

/* Exemplo de landing page no dashboard */
.lp-view { display: flex; flex-direction: column; }
.lp { flex: 1; display: flex; flex-direction: column; border: 1px solid rgba(120, 170, 255, 0.2); border-radius: 0.7em; overflow: hidden; background: rgba(4, 21, 43, 0.6); }
.lp-bar { display: flex; align-items: center; gap: 1em; padding: 0.45em 0.9em; background: rgba(23, 80, 160, 0.28); border-bottom: 1px solid rgba(120, 170, 255, 0.15); }
.lp-dots { display: flex; gap: 0.35em; }
.lp-dots i { width: 0.65em; height: 0.65em; border-radius: 50%; background: rgba(140, 200, 255, 0.35); }
.lp-url { flex: 1; max-width: 22em; padding: 0.3em 0.9em; font-size: 0.8em; color: #8fa9cc; background: rgba(4, 21, 43, 0.6); border-radius: 999px; }
.lp-bar small { margin-left: auto; font-size: 0.65em; color: #6f8bb0; }
.lp-page { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 0.6em; padding: 0.6em 1.2em 0.8em; }
.lp-nav { display: flex; align-items: center; justify-content: space-between; }
.lp-logo { display: flex; align-items: center; gap: 0.5em; font-size: 1em; font-weight: 700; }
.lp-logo i { width: 1.2em; height: 1.2em; border-radius: 50%; background: linear-gradient(135deg, var(--primary-light), var(--primary-strong)); }
.lp-links { display: flex; gap: 1.3em; font-size: 0.8em; color: #8fa9cc; }
.lp-links u { text-decoration: none; }
.lp-btn { display: inline-block; padding: 0.55em 1.3em; border-radius: 0.5em; background: var(--primary); color: #fff; font-size: 0.8em; font-weight: 600; box-shadow: 0 0.5em 1.4em rgba(43, 140, 255, 0.35); }
.lp-btn-ghost { background: transparent; border: 1px solid rgba(140, 200, 255, 0.4); box-shadow: none; color: #dbe7f7; }
.lp-hero { text-align: center; }
.lp-tag { display: inline-block; padding: 0.25em 0.9em; border-radius: 999px; font-size: 0.7em; color: var(--primary-light); background: rgba(43, 140, 255, 0.14); border: 1px solid rgba(120, 170, 255, 0.25); }
.lp-hero h5 { max-width: 30em; margin: 0.5em auto 0; font-size: 1.4em; line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; }
.lp-hero p { max-width: 30em; margin: 0.4em auto 0; font-size: 0.85em; line-height: 1.6; color: #a9bdd6; }
.lp-actions { display: flex; justify-content: center; gap: 0.8em; margin-top: 0.7em; }
.lp-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid rgba(120, 170, 255, 0.16); }
.lp-stats div { padding: 0.5em 0; text-align: center; }
.lp-stats div + div { border-left: 1px solid rgba(120, 170, 255, 0.16); }
.lp-stats b { display: block; font-size: 1.35em; font-weight: 700; color: var(--primary-light); }
.lp-stats span { font-size: 0.72em; color: #8fa9cc; }
.lp-bottom { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0.8em; }
.lp-quote, .lp-form { padding: 0.7em; border-radius: 0.6em; background: rgba(23, 80, 160, 0.25); border: 1px solid rgba(120, 170, 255, 0.16); }
.lp-quote p { font-size: 0.85em; line-height: 1.5; font-style: italic; color: #dbe7f7; }
.lp-person { display: flex; align-items: center; gap: 0.6em; margin-top: 0.5em; font-size: 0.72em; color: #8fa9cc; }
.lp-person i { width: 2em; height: 2em; border-radius: 50%; background: linear-gradient(135deg, var(--primary-light), var(--primary-strong)); flex-shrink: 0; }
.lp-person b { display: block; color: #fff; font-weight: 600; }
.lp-form { display: flex; flex-direction: column; gap: 0.5em; }
.lp-form > b { font-size: 0.9em; font-weight: 600; }
.lp-input { padding: 0.5em 0.8em; border-radius: 0.5em; font-size: 0.75em; color: #6f8bb0; background: rgba(4, 21, 43, 0.7); border: 1px solid rgba(120, 170, 255, 0.22); }
.lp-form .lp-btn { text-align: center; box-shadow: none; }

/* Elementos da landing entram em sequência quando a tela aparece */
.is-active .lp-nav, .is-active .lp-hero > *, .is-active .lp-stats, .is-active .lp-quote, .is-active .lp-form { animation: lp-rise 0.6s ease both; }
.is-active .lp-nav { animation-delay: 0.5s; }
.is-active .lp-hero > :nth-child(1) { animation-delay: 0.7s; }
.is-active .lp-hero > :nth-child(2) { animation-delay: 0.9s; }
.is-active .lp-hero > :nth-child(3) { animation-delay: 1.1s; }
.is-active .lp-hero > :nth-child(4) { animation-delay: 1.3s; }
.is-active .lp-stats { animation-delay: 1.7s; }
.is-active .lp-quote { animation-delay: 2.1s; }
.is-active .lp-form { animation-delay: 2.3s; }
.is-active .lp-cta { animation: lp-pulse 2.4s ease-in-out 3s infinite; }
@keyframes lp-rise { from { opacity: 0; transform: translateY(0.8em); } to { opacity: 1; transform: none; } }
@keyframes lp-pulse { 0%, 100% { box-shadow: 0 0.5em 1.4em rgba(43, 140, 255, 0.35); } 50% { box-shadow: 0 0.5em 2em rgba(43, 140, 255, 0.75); } }

/* App no celular */
.app-view { display: flex; }
.app-stage { flex: 1; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.6em; padding: 0.2em 0.6em; }
.app-side-left h5 { margin-top: 0.8em; font-size: 1.7em; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
.app-side-left ul { margin-top: 1em; display: grid; gap: 0.6em; }
.app-side-left li { position: relative; padding-left: 1.4em; font-size: 0.82em; line-height: 1.45; color: #a9bdd6; }
.app-side-left li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 0.7em; height: 0.7em; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0.8em rgba(43, 140, 255, 0.7); }
.app-side-right { display: grid; gap: 0.8em; }

.phone { width: 14.5em; padding: 0.55em; border-radius: 2.2em; background: #0b1f3d; border: 1px solid rgba(140, 200, 255, 0.35); box-shadow: 0 0 3em rgba(43, 140, 255, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.05); position: relative; }
.phone-notch { position: absolute; top: 0.9em; left: 50%; transform: translateX(-50%); width: 4em; height: 0.9em; border-radius: 999px; background: #04152b; z-index: 2; }
.phone-screen { display: flex; flex-direction: column; min-height: 23em; border-radius: 1.7em; overflow: hidden; background: linear-gradient(180deg, #082448, #04152b); padding: 2.4em 0.9em 0.7em; }
.app-top { display: flex; align-items: center; justify-content: space-between; }
.app-top .lp-logo { font-size: 0.85em; }
.app-top small { font-size: 0.7em; color: #8fa9cc; }
.app-main { flex: 1; display: flex; flex-direction: column; gap: 0.8em; margin-top: 1em; }
.app-primary { display: flex; align-items: center; justify-content: center; gap: 0.5em; padding: 0.9em; border-radius: 0.8em; background: linear-gradient(135deg, var(--primary), var(--primary-strong)); font-size: 0.85em; font-weight: 600; box-shadow: 0 0.6em 1.6em rgba(43, 140, 255, 0.4); }
.app-primary svg { width: 1.3em; height: 1.3em; }
.app-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6em; }
.app-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.45em; padding: 0.9em 0.3em; border-radius: 0.8em; font-size: 0.72em; font-weight: 500; background: rgba(23, 80, 160, 0.3); border: 1px solid rgba(120, 170, 255, 0.2); }
.app-btn svg { width: 2em; height: 2em; color: var(--primary-light); }
.app-tabs { display: flex; justify-content: space-around; margin-top: 0.8em; padding-top: 0.6em; border-top: 1px solid rgba(120, 170, 255, 0.16); font-size: 0.68em; color: #6f8bb0; }
.app-tabs .on { color: var(--primary-light); font-weight: 600; }

.app-toast { display: flex; align-items: center; gap: 0.7em; padding: 0.7em 0.9em; border-radius: 0.7em; background: rgba(6, 26, 54, 0.92); border: 1px solid rgba(120, 170, 255, 0.28); box-shadow: 0 0.8em 1.8em rgba(0, 0, 0, 0.3); font-size: 0.72em; color: #8fa9cc; }
.app-toast i { display: grid; place-items: center; width: 2em; height: 2em; border-radius: 50%; font-style: normal; font-weight: 700; color: #04152b; background: #38d39f; flex-shrink: 0; }
.app-toast b { display: block; color: #fff; font-weight: 600; font-size: 1.05em; }

/* Entrada em sequência e toque no botão principal */
.is-active .app-side-left > *, .is-active .app-btn, .is-active .app-toast, .is-active .phone { animation: lp-rise 0.6s ease both; }
.is-active .phone { animation-delay: 0.4s; }
.is-active .app-side-left > :nth-child(1) { animation-delay: 0.6s; }
.is-active .app-side-left > :nth-child(2) { animation-delay: 0.8s; }
.is-active .app-side-left > :nth-child(3) { animation-delay: 1s; }
.is-active .app-btn:nth-child(1) { animation-delay: 0.9s; }
.is-active .app-btn:nth-child(2) { animation-delay: 1.05s; }
.is-active .app-btn:nth-child(3) { animation-delay: 1.2s; }
.is-active .app-btn:nth-child(4) { animation-delay: 1.35s; }
.is-active .app-btn:nth-child(5) { animation-delay: 1.5s; }
.is-active .app-btn:nth-child(6) { animation-delay: 1.65s; }
.is-active .app-primary { animation: app-tap 0.7s ease 2.6s both; }
.is-active .app-toast-a { animation-delay: 3.3s; }
.is-active .app-toast-b { animation-delay: 4.2s; }
.is-active .app-toast-c { animation-delay: 5.1s; }
@keyframes app-tap {
  0%, 100% { transform: scale(1); }
  40% { transform: scale(0.94); box-shadow: 0 0.3em 0.8em rgba(43, 140, 255, 0.3); }
  70% { transform: scale(1.03); }
}/* ---------- Faixa de diferenciais ---------- */
.features {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(4, 21, 43, 0.6);
  overflow: hidden;
}
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0 16px;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
  min-width: max-content;
  padding-left: 12px;
  transform: translateY(0);
  animation: ticker-slide 28s linear infinite;
}
.ticker-track span {
  font-size: clamp(13px, 1.2vw, 18px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0.96;
}
.ticker-track span::after {
  content: '•';
  margin-left: 40px;
  color: var(--primary);
  opacity: 0.9;
}
.ticker-track span:last-child::after { display: none; }

@keyframes ticker-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Desafios da gestão ---------- */
.challenges {
  background: linear-gradient(180deg, rgba(7, 31, 61, 0.42), rgba(4, 21, 43, 0));
}
.challenges-heading { max-width: 720px; }
.challenges-heading h2 {
  margin-top: 16px;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.challenges-heading > p {
  max-width: 600px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.challenges-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}
.challenge-card {
  min-width: 0;
  padding: 24px;
  background: rgba(14, 52, 104, 0.28);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}
.challenge-card:hover {
  transform: translateY(-3px);
  border-color: rgba(43, 140, 255, 0.55);
  background: rgba(14, 52, 104, 0.42);
}
.challenge-number {
  color: var(--primary-light);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.challenge-card h3 {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 600;
}
.challenge-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

/* ---------- Seções ---------- */
.section { padding-block: 100px; }
.section h2 { margin-top: 16px; font-size: clamp(28px, 2.8vw, 38px); line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 40px; }
.section-intro { max-width: 360px; font-size: 14px; line-height: 1.8; color: var(--muted); }

/* Serviços */
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.service-option {
  min-width: 0;
  display: flex; flex-direction: column; align-items: center; gap: 30px;
  text-align: center; font-size: clamp(17px, 2vw, 25px); font-weight: 700; line-height: 1.25;
  transition: transform 0.25s;
}
.service-option:hover { transform: translateY(-4px); }
.service-icon-frame {
  width: min(100%, 190px); aspect-ratio: 1.08 / 1;
  display: grid; place-items: center;
  color: #f3f4f6;
  background:
    linear-gradient(180deg, rgba(22, 23, 26, 0.98) 0%, rgba(11, 12, 14, 0.98) 70%, rgba(7, 31, 61, 0.95) 100%);
  border: 1px solid rgba(43, 140, 255, 0.9);
  border-radius: 30px;
  box-shadow:
    0 0 0 2px rgba(43, 140, 255, 0.16),
    0 5px 0 rgba(23, 104, 216, 0.85),
    0 9px 18px rgba(43, 140, 255, 0.22),
    inset 0 0 20px rgba(43, 140, 255, 0.12);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.service-option:hover .service-icon-frame,
.service-option:focus-visible .service-icon-frame {
  border-color: var(--primary-light);
  box-shadow:
    0 0 0 2px rgba(43, 140, 255, 0.24),
    0 5px 0 var(--primary),
    0 10px 26px rgba(43, 140, 255, 0.36),
    inset 0 0 25px rgba(43, 140, 255, 0.18);
}
.service-option:focus-visible { outline: 2px solid var(--primary-light); outline-offset: 6px; }
.service-svg { width: 58px; height: 58px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Sobre */
.about {
  background: linear-gradient(180deg, rgba(10, 42, 84, 0.5), rgba(4, 21, 43, 0));
  border-top: 1px solid var(--line);
  padding-top: 100px;
}
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.about-text { color: var(--muted); font-size: 16px; line-height: 1.85; margin-top: 24px; }
.about-point { display: flex; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.about-point:first-child { padding-top: 0; }
.about-point .ico { width: 22px; height: 22px; color: var(--primary); margin-top: 3px; }
.about-point h3 { font-size: 18px; font-weight: 600; }
.about-point p { margin-top: 8px; font-size: 14.5px; line-height: 1.7; color: var(--muted); }

/* Como trabalhamos */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 52px; }
.step { border-top: 2px solid var(--line); padding-top: 24px; transition: border-color 0.25s; }
.step:hover { border-top-color: var(--primary); }
.step span { font-size: 13px; color: var(--primary); font-weight: 600; }
.step h3 { margin-top: 20px; font-size: 20px; font-weight: 600; }
.step p { font-size: 14.5px; line-height: 1.75; margin-top: 12px; color: var(--muted); }

/* Rodapé */
.site-footer { padding-block: 36px; border-top: 1px solid var(--line); }
.site-footer .brand-name { font-size: 30px; }
.site-footer .brand-mark { width: 30px; height: 32px; }
.site-footer .brand-caption { font-size: 8px; margin-top: 4px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer-inner p { color: var(--muted); font-size: 12.5px; }
.footer-top { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); transition: color 0.2s; }
.footer-top:hover { color: #fff; }

/* Páginas de serviço */
.service-detail { padding-block: 72px 100px; }
.service-detail-hero { max-width: 780px; margin: 0 auto 54px; text-align: center; }
.service-detail-hero h1 { margin-top: 18px; font-size: clamp(34px, 4.2vw, 52px); line-height: 1.1; }
.service-detail-hero p { max-width: 650px; margin: 20px auto 0; color: var(--muted); font-size: 17px; line-height: 1.75; }
.service-detail-content { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.service-detail-card { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.service-detail-card h2 { margin-bottom: 14px; font-size: 20px; }
.service-detail-card p, .service-detail-card li { color: var(--muted); font-size: 14.5px; line-height: 1.8; }
.service-detail-card ul { display: grid; gap: 10px; }
.service-detail-card li::before { content: '✓'; margin-right: 10px; color: var(--primary-light); }
.service-detail-cta { margin-top: 38px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.service-page-header .header-inner { height: 76px; }

/* Animação de entrada */
.fade-in { animation: rise 0.9s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Telas médias ---------- */
@media (max-width: 1080px) {
  .wrap { width: calc(100% - 56px); }
  .nav-links a { padding-inline: 12px; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 56px 70px; }
  .device { max-width: 760px; margin-inline: auto; width: 100%; }
  .dash { font-size: clamp(6px, 1.2vw, 10.5px); }
  .about-grid { gap: 56px; }
}

/* ---------- Tablets ---------- */
@media (max-width: 900px) {
  .nav-links, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-menu:not([hidden]) {
    display: flex; flex-direction: column; padding: 8px 28px 20px;
    border-top: 1px solid var(--line);
  }
  .mobile-menu a { padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .ticker-wrap { padding: 14px 0; }
  .ticker-track { gap: 26px; }
  .ticker-track span { font-size: clamp(18px, 4vw, 28px); }
  .challenges-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-detail-content { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 20px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Celulares ---------- */
@media (max-width: 640px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { height: 76px; }
  .brand-name { font-size: 32px; }
  .brand-mark { width: 32px; height: 35px; }
  .brand-caption { font-size: 8px; }
  .section { padding-block: 64px; }
  .challenges-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
  .challenge-card { padding: 20px; }
  .challenge-card h3 { margin-top: 16px; }
  .eyebrow { font-size: 11.5px; letter-spacing: 0.1em; }
  .hero-description { font-size: 16px; }
  .hero-actions { gap: 22px; }
  .device { padding: 20px 8px 10px; }
  .tablet { transform: none; }
  .dash { font-size: clamp(5px, 1.6vw, 8px); }
  .service-grid { grid-template-columns: 1fr; }
  .service-option { gap: 20px; }
  .service-icon-frame { width: min(100%, 190px); border-radius: 24px; }
  .service-svg { width: 48px; height: 48px; }
  .service-detail { padding-block: 52px 64px; }
  .service-detail-hero { margin-bottom: 36px; }
  .service-detail-hero p { font-size: 15px; }
  .service-detail-card { padding: 22px; }
  .process-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* Acessibilidade: menos movimento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-in, .device { animation: none; }
  .service-option, .btn, .step { transition: none; }
}

/* Logo */
.brand-logo { height: 38px; width: auto; display: block; }
.site-header .brand-logo { transition: transform 0.2s, filter 0.2s; }
.site-header .brand:hover .brand-logo,
.site-header .brand:focus-visible .brand-logo {
  transform: translateY(-1px);
  filter: drop-shadow(0 0 10px rgba(43, 140, 255, 0.55));
}
@media (prefers-reduced-motion: reduce) { .site-header .brand-logo { transition: none; } }
.site-footer .brand-logo { height: 32px; }
@media (max-width: 640px) { .brand-logo { height: 34px; } }

/* Detalhes dos serviços (na página principal) */
.service-block { margin-top: 84px; scroll-margin-top: 100px; }
.service-block .service-detail-hero h3 { margin-top: 18px; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; letter-spacing: -0.02em; }
.service-block .service-detail-card h4 { margin-bottom: 14px; font-size: 20px; }
@media (max-width: 640px) { .service-block { margin-top: 56px; } }

/* Página de serviço */
.service-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 36px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; transition: border-color .2s; }
.service-back:hover { border-color: var(--primary-light); }
.service-back .ico { transform: rotate(180deg); width: 16px; height: 16px; }
/* Botão flutuante de e-mail (aparece ao chegar em "Sobre") */
.float-mail {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: var(--surface-solid); border: 1px solid var(--line);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4), 0 0 24px rgba(43, 140, 255, 0.28);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s, box-shadow 0.2s, border-color 0.2s;
}
.float-mail.is-visible { opacity: 1; visibility: visible; transform: none; }
.float-mail.is-visible:hover { transform: translateY(-2px); border-color: var(--primary-light); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4), var(--glow); }
.float-mail img { width: 26px; height: auto; display: block; }
@media (max-width: 640px) { .float-mail { right: 16px; bottom: 16px; width: 50px; height: 50px; } }
@media (prefers-reduced-motion: reduce) { .float-mail { transition: none; } }