/* Site institucional Vaulton — mesma paleta do portal (frontend/src/assets/main.css):
   marinho #142b4a (marca/texto forte), azul #2a70a4 (ações), azul-claro #80bdda (acento).
   Verde/âmbar/vermelho só no semáforo. */

@font-face {
  font-family: 'Inter';
  src: url('/static/fonts/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('/static/fonts/montserrat.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --navy-950: #071224;
  --navy-900: #0c1c34;
  --navy-800: #10233f;
  --navy-700: #173458;
  --ink: #142b4a;
  --brand-700: #1e4872;
  --brand-600: #235e8c;
  --brand-500: #2a70a4;
  --brand-400: #4e97c6;
  --brand-300: #80bdda;
  --brand-200: #b4d7ec;
  --brand-100: #d6e9f5;
  --brand-50: #eef6fb;

  --canvas: #f2f5f9;
  --surface: #ffffff;
  --n-100: #edf1f6;
  --n-200: #dfe5ee;
  --n-300: #c9d2df;
  --n-400: #95a3b8;
  --n-500: #66768e;
  --n-600: #4a5a72;
  --n-700: #33435b;
  --n-900: #12233d;

  --green: #22c55e;
  --yellow: #f5b70a;
  --red: #ef4444;

  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --display: 'Montserrat', 'Inter', ui-sans-serif, system-ui, sans-serif;
  --radius: 18px;
  --shadow: 0 1px 2px rgb(20 43 74 / 0.04), 0 8px 24px -8px rgb(20 43 74 / 0.12);
  --shadow-lg: 0 24px 60px -20px rgb(20 43 74 / 0.35);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--n-700);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--n-900);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}
p { margin: 0; }
a { color: var(--brand-500); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--brand-300); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn .ico { transition: transform .2s ease; }
.btn:hover .ico { transform: translateX(3px); }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--lg { padding: 15px 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary {
  color: #fff;
  background: linear-gradient(180deg, #3279b0, #235e8c);
  box-shadow: 0 6px 18px -6px rgb(42 112 164 / 0.7), inset 0 1px 0 rgb(255 255 255 / 0.15);
}
.btn--primary:hover { background: linear-gradient(180deg, #3d88c0, #2a70a4); box-shadow: 0 10px 26px -8px rgb(42 112 164 / 0.8); }
.btn--secondary { color: var(--ink); background: var(--surface); border-color: var(--n-200); box-shadow: 0 1px 2px rgb(20 43 74 / 0.06); }
.btn--secondary:hover { border-color: var(--brand-300); color: var(--brand-600); }
.btn--ghost-light { color: #fff; border-color: rgb(255 255 255 / 0.22); background: rgb(255 255 255 / 0.04); }
.btn--ghost-light:hover { background: rgb(255 255 255 / 0.1); border-color: rgb(255 255 255 / 0.4); }

/* ---------- Navegação ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
.nav.is-scrolled {
  background: rgb(12 28 52 / 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.06), 0 10px 30px -18px rgb(0 0 0 / 0.6);
}
.nav__inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.nav__brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: 0.04em; text-transform: uppercase; }
.nav__links { display: flex; gap: 26px; margin-right: auto; }
.nav__links a { color: #b9cce0; font-size: 14.5px; font-weight: 500; transition: color .15s; }
.nav__links a:hover { color: #fff; }
.nav__mobile-ctas { display: none; }
.nav__ctas { display: flex; align-items: center; gap: 18px; }
.nav__login { color: #dce5ef; font-weight: 600; font-size: 14.5px; }
.nav__login:hover { color: #fff; }
.nav__toggle { display: none; margin-left: auto; padding: 8px; border: 0; border-radius: 10px; background: rgb(255 255 255 / 0.08); color: #fff; font-size: 20px; cursor: pointer; }

@media (max-width: 960px) {
  .nav__ctas { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: absolute;
    top: 72px;
    left: 12px;
    right: 12px;
    flex-direction: column;
    gap: 2px;
    padding: 12px;
    border-radius: 18px;
    background: var(--navy-900);
    border: 1px solid rgb(255 255 255 / 0.08);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; }
  .nav.is-open { background: rgb(12 28 52 / 0.96); }
  .nav__links a { padding: 12px 14px; border-radius: 10px; font-size: 16px; }
  .nav__links a:hover { background: rgb(255 255 255 / 0.06); }
  .nav__mobile-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
  .nav__mobile-ctas .btn { padding: 12px; }
  .nav__mobile-ctas a.btn--primary:hover { background: linear-gradient(180deg, #3d88c0, #2a70a4); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 148px 0 110px;
  color: #c3d0df;
  background:
    radial-gradient(900px 500px at 85% 20%, rgb(42 112 164 / 0.35), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgb(128 189 218 / 0.12), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-800) 60%, var(--navy-700));
}
.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgb(7 18 36 / 0.25));
  pointer-events: none;
}
.hero__particles { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; pointer-events: none; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(36px, 5.2vw, 60px); font-weight: 800; margin: 18px 0 22px; }
.hero h1 em { white-space: nowrap; font-style: normal; background: linear-gradient(90deg, #80bdda, #4e97c6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: clamp(17px, 1.6vw, 19px); max-width: 560px; color: #b9cce0; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__ctas--center { justify-content: center; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; font-size: 14px; color: #a5b6cb; }
.hero__trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero__trust .ico { color: var(--green); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-500);
}
.eyebrow--light { color: var(--brand-300); padding: 7px 14px; border-radius: 999px; background: rgb(128 189 218 / 0.1); border: 1px solid rgb(128 189 218 / 0.2); letter-spacing: .04em; text-transform: none; font-weight: 600; font-size: 13.5px; }
.section--navy .eyebrow--light { padding: 0; background: none; border: 0; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; font-size: 13px; }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.pulse::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--green); animation: ping 1.8s ease-out infinite; }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

/* Mock do painel */
.hero__visual { position: relative; }
.mock {
  position: relative;
  border-radius: 22px;
  padding: 18px;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.09), rgb(255 255 255 / 0.04));
  border: 1px solid rgb(255 255 255 / 0.12);
  box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.7), inset 0 1px 0 rgb(255 255 255 / 0.08);
  backdrop-filter: blur(6px);
  transform: perspective(1400px) rotateY(-7deg) rotateX(3deg);
  transition: transform .6s ease;
}
.hero__visual:hover .mock { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 2px 4px 14px; }
.mock__bar > span { width: 10px; height: 10px; border-radius: 50%; background: rgb(255 255 255 / 0.18); }
.mock__bar strong { margin-left: 10px; color: #fff; font-family: var(--display); font-size: 15px; }
.mock__live { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); display: inline-flex; align-items: center; gap: 6px; }
.mock__live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.mock__list { display: grid; gap: 8px; }
.row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 14px;
  border-radius: 14px;
  background: rgb(7 18 36 / 0.45);
  border: 1px solid rgb(255 255 255 / 0.06);
  transition: background .4s ease, border-color .4s ease;
}
.row__main { display: grid; min-width: 0; flex: 1; }
.row__main b { color: #fff; font-weight: 600; font-size: 14.5px; }
.row__main small { font-size: 12.5px; color: #8499b4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .4s; }
.light { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; transition: background .4s, box-shadow .4s; }
.score { font-family: var(--display); font-weight: 800; font-size: 17px; min-width: 36px; text-align: right; transition: color .4s; }
.row[data-tone='green'] .light { background: var(--green); box-shadow: 0 0 0 4px rgb(34 197 94 / 0.15), 0 0 14px rgb(34 197 94 / 0.6); }
.row[data-tone='green'] .score { color: #7ee6a8; }
.row[data-tone='yellow'] .light { background: var(--yellow); box-shadow: 0 0 0 4px rgb(245 183 10 / 0.15), 0 0 14px rgb(245 183 10 / 0.6); }
.row[data-tone='yellow'] .score { color: #fbd777; }
.row[data-tone='yellow'] small { color: #e9c86a; }
.row[data-tone='red'] { background: rgb(239 68 68 / 0.1); border-color: rgb(239 68 68 / 0.3); }
.row[data-tone='red'] .light { background: var(--red); box-shadow: 0 0 0 4px rgb(239 68 68 / 0.18), 0 0 16px rgb(239 68 68 / 0.7); animation: blink 1.2s ease-in-out infinite; }
.row[data-tone='red'] .score { color: #fb9a9a; }
.row[data-tone='red'] small { color: #f7a1a1; }

.mock__chart { display: flex; align-items: flex-end; gap: 6px; height: 64px; margin-top: 14px; padding: 10px 6px 0; border-top: 1px dashed rgb(255 255 255 / 0.1); }
.mock__chart i { flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, #80bdda, #2a70a4); opacity: .85; transform-origin: bottom; animation: grow .9s cubic-bezier(.2,.8,.2,1) both; }
.mock__chart i:nth-child(n) { animation-delay: calc(var(--i, 0) * 40ms); }
.mock__chart i.warn { background: linear-gradient(180deg, #fbd777, #d97706); }
@keyframes grow { from { transform: scaleY(0); } }

.toast {
  position: absolute;
  left: -28px;
  bottom: -26px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  min-width: 250px;
  animation: float 5s ease-in-out infinite;
  transition: opacity .3s ease, transform .3s ease;
}
.toast b { display: block; color: var(--n-900); font-size: 14px; }
.toast small { display: block; color: var(--n-500); font-size: 12.5px; }
.toast__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: #fff; font-size: 18px; transition: background .4s; }
.toast[data-tone='red'] .toast__icon { background: linear-gradient(180deg, #f87171, #dc2626); }
.toast[data-tone='green'] .toast__icon { background: linear-gradient(180deg, #4ade80, #16a34a); }
.toast.is-swapping { opacity: 0; transform: translateY(8px); }
@keyframes float { 50% { translate: 0 -8px; } }

@media (max-width: 960px) {
  .hero { padding: 120px 0 90px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .mock { transform: none; }
  .hero__visual:hover .mock { transform: none; }
  .toast { left: 12px; bottom: -30px; }
}
@media (max-width: 480px) {
  .hero__ctas .btn { width: 100%; }
  .eyebrow--light { font-size: 12.5px; }
  .mock { padding: 12px; }
  .row { padding: 11px 12px; gap: 11px; }
  .toast { min-width: 0; right: 12px; }
}

/* ---------- Seções ---------- */
.section { padding: 104px 0; }
.section--slim { padding: 64px 0; }
.section--tint { background: var(--canvas); }
.section--navy {
  color: #b9cce0;
  background:
    radial-gradient(600px 400px at 10% 50%, rgb(42 112 164 / 0.25), transparent 70%),
    linear-gradient(160deg, var(--navy-900), var(--navy-700));
}
.section--navy h2 { color: #fff; }
.section__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section__head h2, .split__copy h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; margin: 12px 0 16px; }
.section__head p:not(.eyebrow) { font-size: 18px; color: var(--n-500); }
.muted { color: var(--n-500); font-size: 14.5px; margin-top: 18px; }
@media (max-width: 640px) { .section { padding: 72px 0; } .section__head { margin-bottom: 40px; } }

.grid { display: grid; gap: 22px; }
.grid > *, .steps > * { min-width: 0; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* Problema */
.pain { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--n-200); transition: transform .2s, box-shadow .2s, border-color .2s; }
.pain:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #fecaca; }
.pain__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #fef2f2; color: #dc2626; font-size: 21px; margin-bottom: 18px; }
.pain h3 { font-size: 17px; margin-bottom: 8px; }
.pain p { font-size: 15px; color: var(--n-500); }
.problem__answer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 48px auto 0;
  max-width: 760px;
  padding: 18px 24px;
  border-radius: 999px;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  color: var(--ink);
  font-size: 16.5px;
  text-align: center;
}
@media (max-width: 640px) { .problem__answer { border-radius: 18px; flex-direction: column; } }

/* Passos */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 30px 24px 26px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.step__n { position: absolute; top: 20px; right: 22px; font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; color: var(--brand-100); }
.step__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: linear-gradient(180deg, #3279b0, #1e4872); color: #fff; font-size: 22px; margin-bottom: 20px; box-shadow: 0 8px 20px -8px rgb(42 112 164 / 0.7); }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--n-500); }
.step__code { display: block; margin-top: 16px; padding: 9px 12px; border-radius: 10px; background: var(--navy-900); color: #80bdda; font: 12.5px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-x: auto; white-space: nowrap; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }

/* Split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.split__copy > p:not(.eyebrow):not(.muted) { font-size: 17.5px; color: var(--n-500); }
.section--navy .split__copy > p:not(.eyebrow) { color: #a5b6cb; }
@media (max-width: 960px) {
  .split { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .split--rev .split__copy { order: -1; }
}

.legend { display: grid; gap: 12px; margin-top: 28px; }
.legend li { display: flex; align-items: baseline; gap: 12px; font-size: 16px; }
.legend b { color: var(--n-900); }
.dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; transform: translateY(1px); }
.dot--green { background: var(--green); box-shadow: 0 0 0 4px rgb(34 197 94 / 0.15); }
.dot--yellow { background: var(--yellow); box-shadow: 0 0 0 4px rgb(245 183 10 / 0.18); }
.dot--red { background: var(--red); box-shadow: 0 0 0 4px rgb(239 68 68 / 0.15); }

.score-card { padding: 28px; border-radius: 24px; background: var(--surface); border: 1px solid var(--n-200); box-shadow: var(--shadow-lg); }
.score-card__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 20px; margin-bottom: 18px; border-bottom: 1px solid var(--n-100); }
.score-card__head small { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--n-400); }
.score-card__head strong { font-family: var(--display); font-size: 18px; color: var(--n-900); }
.score-ring {
  --v: 0;
  position: relative;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: conic-gradient(var(--green) calc(var(--v) * 1%), var(--n-100) 0);
  flex-shrink: 0;
}
.score-ring::before { content: ''; position: absolute; inset: 7px; border-radius: 50%; background: var(--surface); }
.score-ring b { position: relative; font-family: var(--display); font-size: 24px; font-weight: 800; color: #15803d; }
.criteria { display: grid; gap: 13px; }
.criteria li { display: grid; grid-template-columns: 1fr 120px 44px; align-items: center; gap: 14px; font-size: 14.5px; }
.criteria b { text-align: right; font-family: var(--display); color: var(--n-900); }
.criteria b small { color: var(--n-400); font-weight: 600; }
.bar { height: 8px; border-radius: 99px; background: var(--n-100); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #4ade80, #16a34a); transition: width 1.1s cubic-bezier(.2,.8,.2,1); }
.bar i.warn { background: linear-gradient(90deg, #fbd777, #d97706); }
.is-visible .bar i { width: var(--w); }
.score-card__reason { display: flex; align-items: center; gap: 10px; margin-top: 20px; padding: 12px 14px; border-radius: 12px; background: #fffbeb; color: #92400e; font-size: 14px; }
@media (max-width: 480px) { .criteria li { grid-template-columns: 1fr 64px 40px; gap: 10px; font-size: 13.5px; } .score-card { padding: 20px; } }

/* Recursos */
.feature { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid transparent; box-shadow: var(--shadow); transition: transform .2s, border-color .2s; }
.feature:hover { transform: translateY(-3px); border-color: var(--brand-200); }
.feature__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--brand-50); color: var(--brand-500); font-size: 22px; margin-bottom: 18px; transition: background .2s, color .2s; }
.feature:hover .feature__icon { background: var(--brand-500); color: #fff; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { font-size: 15px; color: var(--n-500); }

/* Fluxo de segurança: servidor no topo, dois ramos (arquivo → FTP; metadados → Vaulton) */
.flow { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; max-width: 480px; margin: 0 auto; width: 100%; }
.flow__fork { grid-column: 1 / -1; position: relative; height: 22px; margin: 0 25%; border: 2px solid rgb(128 189 218 / 0.3); border-bottom: 0; border-radius: 14px 14px 0 0; }
.flow__fork::before { content: ''; position: absolute; left: 50%; top: -24px; width: 2px; height: 22px; margin-left: -1px; background: rgb(128 189 218 / 0.3); }
.flow__node {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 20px 18px;
  border-radius: 18px;
  background: rgb(255 255 255 / 0.06);
  border: 1px solid rgb(255 255 255 / 0.12);
  text-align: center;
}
.flow__node--top { grid-column: 1 / -1; justify-self: center; width: 220px; margin-bottom: 22px; }
.flow__branch .flow__line--v { margin-top: -2px; }
.flow__node .ico { font-size: 30px; color: var(--brand-300); margin-bottom: 8px; }
.flow__node img { margin-bottom: 8px; }
.flow__node b { color: #fff; font-family: var(--display); }
.flow__node small { font-size: 12.5px; color: #8499b4; }
.flow__node--brand { background: linear-gradient(180deg, rgb(42 112 164 / 0.4), rgb(42 112 164 / 0.15)); border-color: rgb(128 189 218 / 0.35); }
.flow__branch { display: grid; align-content: start; justify-items: center; gap: 10px; padding: 0 0 14px; text-align: center; }
.flow__label { font-size: 13px; font-weight: 600; color: var(--brand-300); line-height: 1.4; }
.flow__label--muted { color: #a5b6cb; font-weight: 500; }
.flow__line { position: relative; display: block; border-radius: 3px; background: rgb(128 189 218 / 0.25); overflow: hidden; }
.flow__line--v { width: 3px; height: 56px; }
.flow__line--thin { width: 2px; background: repeating-linear-gradient(180deg, rgb(128 189 218 / 0.35) 0 4px, transparent 4px 8px); }
.flow__line i { position: absolute; inset: 0 0 auto 0; height: 45%; background: linear-gradient(180deg, transparent, #80bdda, transparent); animation: travel-v 2s linear infinite; }
.flow__line--thin i { animation-duration: 2.8s; }
@keyframes travel-v { from { transform: translateY(-100%); } to { transform: translateY(240%); } }
@media (max-width: 420px) { .flow { gap: 0 14px; } .flow__node { padding: 16px 10px; } }

.checks { display: grid; gap: 12px; margin-top: 26px; }
.checks li { display: flex; align-items: flex-start; gap: 11px; font-size: 15.5px; }
.checks .ico { margin-top: 3px; padding: 3px; width: 20px; height: 20px; border-radius: 50%; background: #dcfce7; color: #15803d; stroke-width: 3; }
.checks--light li { color: #dce5ef; }
.checks--light .ico { background: rgb(34 197 94 / 0.18); color: #4ade80; }

/* Público */
.audience { display: flex; flex-direction: column; padding: 36px; border-radius: 24px; background: var(--surface); border: 1px solid var(--n-200); box-shadow: var(--shadow); }
.audience__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 17px; background: var(--brand-50); color: var(--brand-500); font-size: 26px; margin-bottom: 22px; }
.audience h3 { font-size: 22px; margin-bottom: 10px; }
.audience > p { color: var(--n-500); }
.audience .checks { margin-bottom: 30px; }
.audience .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 640px) { .audience { padding: 26px; } .audience .btn { align-self: stretch; } }

/* Preços */
.period { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; width: fit-content; max-width: 100%; margin: -16px auto 40px; padding: 5px; border-radius: 999px; background: var(--n-100); }
.period button { padding: 9px 18px; border: 0; border-radius: 999px; background: transparent; font: 600 14px var(--font); color: var(--n-600); cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.period button em { font-style: normal; color: #15803d; font-size: 12.5px; margin-left: 2px; }
.period button[aria-checked='true'] { background: var(--surface); color: var(--ink); box-shadow: 0 2px 8px -2px rgb(20 43 74 / 0.2); }
@media (max-width: 520px) { .period { border-radius: 18px; } .period button { padding: 8px 12px; font-size: 13px; } }

.plans { max-width: 900px; margin: 0 auto; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 36px; border-radius: 24px; background: var(--surface); border: 1px solid var(--n-200); box-shadow: var(--shadow); }
.plan--featured { border: 2px solid var(--brand-400); box-shadow: 0 30px 60px -28px rgb(42 112 164 / 0.55); }
.plan__badge { position: absolute; top: -13px; left: 36px; padding: 5px 14px; border-radius: 999px; background: linear-gradient(180deg, #3279b0, #235e8c); color: #fff; font-size: 12.5px; font-weight: 700; }
.plan h3 { font-size: 22px; }
.plan__desc { color: var(--n-500); margin-top: 6px; }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin-top: 24px; color: var(--n-900); }
.plan__price span { font-weight: 700; font-size: 18px; }
.plan__price strong { font-family: var(--display); font-size: 52px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.plan__price small { color: var(--n-500); font-size: 15px; }
.plan__note { margin-top: 8px; min-height: 1.6em; font-size: 13.5px; color: var(--n-400); }
.plan .checks { margin-bottom: 32px; }
.plan .btn { margin-top: auto; }
@media (max-width: 640px) { .plan { padding: 28px 24px; } .plan__badge { left: 24px; } }

.storage { max-width: 900px; margin: 28px auto 0; padding: 26px 30px; border-radius: 22px; border: 1px dashed var(--n-300); background: var(--canvas); display: grid; gap: 20px; }
.storage__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; }
.storage h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.storage h3 .ico { color: var(--brand-500); }
.storage h3 small { font-family: var(--font); font-size: 12px; font-weight: 600; color: var(--n-400); text-transform: uppercase; letter-spacing: .06em; }
.storage__head p { font-size: 14.5px; color: var(--n-500); }
.storage__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.storage__list li { display: grid; gap: 2px; padding: 12px; border-radius: 14px; background: var(--surface); text-align: center; border: 1px solid var(--n-200); }
.storage__list b { font-family: var(--display); color: var(--n-900); font-size: 17px; }
.storage__list span { font-size: 13px; color: var(--n-500); }
.storage__list strong { color: var(--n-700); }
@media (max-width: 480px) { .storage { padding: 22px 18px; } .storage__list { grid-template-columns: repeat(2, 1fr); } }

#precos .period { background: var(--n-200); }
#precos .storage { background: var(--surface); }
#precos .storage__list li { background: var(--canvas); border-color: transparent; }

/* FAQ */
.faq__list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 16px; background: var(--canvas); border: 1px solid transparent; transition: background .2s, border-color .2s, box-shadow .2s; }
.faq details:hover { border-color: var(--n-200); }
.faq details[open] { background: var(--surface); border-color: var(--brand-200); box-shadow: var(--shadow); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; list-style: none; font-family: var(--display); font-weight: 700; font-size: 16.5px; color: var(--n-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex-shrink: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--surface); color: var(--brand-500); font: 600 20px/1 var(--font); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--n-500); }

/* CTA final */
.cta {
  position: relative;
  overflow: hidden;
  padding: 110px 0;
  text-align: center;
  color: #b9cce0;
  background:
    radial-gradient(700px 400px at 50% 0%, rgb(42 112 164 / 0.45), transparent 70%),
    linear-gradient(180deg, var(--navy-800), var(--navy-950));
}
.cta__inner { display: grid; justify-items: center; }
.cta img { filter: drop-shadow(0 12px 30px rgb(42 112 164 / 0.6)); margin-bottom: 26px; }
.cta h2 { max-width: 760px; color: #fff; font-size: clamp(28px, 4vw, 46px); font-weight: 800; }
.cta p { margin-top: 16px; font-size: 18px; }
.cta .hero__ctas { margin-top: 34px; }
.cta__small { font-size: 14px !important; color: #8499b4; }
@media (max-width: 480px) { .cta .hero__ctas { width: 100%; } }

/* Rodapé */
.footer { padding: 64px 0 28px; background: var(--navy-950); color: #8499b4; font-size: 14.5px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer__grid > div p { margin-top: 14px; }
.footer nav { display: grid; gap: 10px; align-content: start; }
.footer h4 { color: #fff; font-size: 14px; margin-bottom: 4px; }
.footer nav a, .footer__bottom a { color: #8499b4; transition: color .15s; }
.footer nav a:hover, .footer__bottom a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / 0.07); }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__grid > div:first-child { grid-column: 1 / -1; } }

/* Revelação ao rolar */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .bar i { width: var(--w); } }
