/* ==========================================================================
   Deusiane Negrão · Gestão em Saúde
   Mobile-first. Animações só com transform/opacity (GPU) e respeitando
   prefers-reduced-motion. Sem dependências externas além das fontes.
   ========================================================================== */

:root {
  /* Base */
  --navy: #0A1F3A;
  --navy-900: #06152A;
  --navy-700: #12304F;
  --petrol: #0E4A5A;
  --ink: #0B1B2E;
  --muted: #56677B;
  --mist: #F3F6F9;
  --line: #E2E8EF;
  --white: #FFFFFF;

  /* Destaques */
  --teal: #14A89A;
  --teal-600: #0F8E83;
  --blue: #2F6BFF;
  --green: #7FD3A7;
  --accent: linear-gradient(90deg, var(--teal), var(--blue));

  /* Tipografia */
  --font-display: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Espaço e forma */
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --section: clamp(80px, 11vw, 136px);
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --shadow-soft: 0 1px 2px rgba(10, 31, 58, .04), 0 12px 32px -16px rgba(10, 31, 58, .14);
  --shadow-float: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 40px 80px -30px rgba(10, 31, 58, .35), 0 16px 32px -18px rgba(10, 31, 58, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; color: var(--navy); }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 10px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }

/* ---------- Tipografia compartilhada ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 18px;
  color: var(--petrol);
  font-size: .875rem; font-weight: 600; letter-spacing: -.005em;
}
.kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--accent); }
.kicker--light { color: #9FD9D2; }
.hero .kicker::before { display: none; }
.kicker__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.kicker__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--teal); opacity: 0; animation: ping 2.8s var(--ease) infinite; }

.h2 {
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.038em;
  max-width: 17ch;
  text-wrap: balance;
}
.lead { color: var(--muted); font-size: clamp(1.02rem, 1.4vw, 1.125rem); max-width: 46ch; margin-top: 22px; }

.section { padding-block: var(--section); position: relative; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head__intro { color: var(--muted); max-width: 42ch; margin: 0; }
.section-head--center { justify-items: center; text-align: center; }
.section-head--center .h2 { max-width: 20ch; }
.section-head--dark .h2 { color: var(--white); }
.section-head--dark .section-head__intro { color: #A9BACB; }

/* ---------- Botões e links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 24px;
  border-radius: 999px; border: 1px solid transparent;
  font-size: .95rem; font-weight: 600; letter-spacing: -.01em;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s, border-color .3s, color .3s;
  will-change: transform;
}
.btn__icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .btn__icon { transform: translateX(3px); }
.btn--primary {
  background: var(--navy); color: var(--white);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .12) inset, 0 12px 24px -12px rgba(10, 31, 58, .55);
  position: relative; isolation: isolate; overflow: hidden;
}
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, var(--petrol), var(--blue));
  opacity: 0; transition: opacity .4s var(--ease);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 32px -14px rgba(47, 107, 255, .55); }
.btn--primary:hover::before { opacity: 1; }
.btn--ghost { background: rgba(255, 255, 255, .7); border-color: var(--line); color: var(--navy); }
.btn--ghost:hover { border-color: rgba(10, 31, 58, .28); background: var(--white); transform: translateY(-2px); }
.btn--light { background: var(--white); color: var(--navy); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .5); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 24px 48px -18px rgba(20, 168, 154, .55); }

.link { color: var(--petrol); font-weight: 600; font-size: .95rem; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease); padding-bottom: 2px; }
.link:hover { background-size: 100% 1px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 32px; }

/* ---------- Aviso (credenciamento) ---------- */
.notice { background: var(--navy-900); color: #CFE0EE; font-size: .84rem; }
.notice__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 10px; }
.notice p { margin: 0; line-height: 1.45; }
.notice a { color: var(--white); font-weight: 600; white-space: nowrap; border-bottom: 1px solid rgba(127, 211, 167, .7); margin-left: 4px; }
.notice a:hover { border-color: var(--white); }
.notice__close { flex: none; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: #CFE0EE; font-size: 22px; line-height: 1; cursor: pointer; }
.notice__close:hover { background: rgba(255, 255, 255, .08); color: var(--white); }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -20px rgba(10, 31, 58, .4); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__mark svg { width: 100%; height: 100%; }
.brand__text { display: grid; line-height: 1.15; }
.brand__text strong { font-family: var(--font-display); font-weight: 800; font-size: 1rem; letter-spacing: -.02em; color: var(--navy); }
.brand__text span { font-size: .78rem; color: var(--muted); }
.brand--light .brand__text strong { color: var(--white); }
.brand--light .brand__text span { color: #93A7BC; }

.menu-toggle { display: inline-grid; place-content: center; gap: 6px; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer; }
.menu-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .3s var(--ease); }
.is-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.is-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

.site-nav {
  position: absolute; left: 0; right: 0; top: 100%;
  display: grid; gap: 4px;
  padding: 12px var(--gutter) 20px;
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px -24px rgba(10, 31, 58, .35);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.is-open .site-nav { opacity: 1; visibility: visible; transform: none; }
.site-nav a { padding: 12px 4px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--mist); }
.site-nav__cta { margin-top: 10px; text-align: center; border-radius: 999px; background: var(--navy); color: var(--white) !important; border: 0 !important; font-weight: 600 !important; }

@media (min-width: 960px) {
  .menu-toggle { display: none; }
  .site-nav {
    position: static; display: flex; align-items: center; gap: 30px; padding: 0;
    background: none; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none;
  }
  .site-nav a { padding: 6px 0; border: 0; font-size: .92rem; color: var(--muted); transition: color .2s; }
  .site-nav a:hover { color: var(--navy); }
  .site-nav__cta { margin: 0 0 0 6px; padding: 10px 18px !important; transition: background-color .3s, transform .3s var(--ease) !important; }
  .site-nav__cta:hover { background: var(--petrol); transform: translateY(-1px); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: clip;
  padding-block: clamp(48px, 8vw, 104px) clamp(72px, 9vw, 120px);
  background: linear-gradient(180deg, #F7FAFC 0%, var(--white) 100%);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(10, 31, 58, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(10, 31, 58, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; will-change: transform; }
.hero__glow--a { width: 520px; height: 520px; right: -120px; top: -80px; background: radial-gradient(circle, rgba(47, 107, 255, .35), transparent 65%); animation: drift 18s ease-in-out infinite alternate; }
.hero__glow--b { width: 460px; height: 460px; right: 18%; bottom: -160px; background: radial-gradient(circle, rgba(20, 168, 154, .35), transparent 65%); animation: drift 22s ease-in-out infinite alternate-reverse; }
.hero__particles { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero__grid { position: relative; display: grid; gap: clamp(48px, 7vw, 72px); align-items: center; }
.hero__copy { position: relative; z-index: 2; }
.hero__title {
  font-size: clamp(2.5rem, 6.6vw, 4.75rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.048em;
  max-width: 14ch;
  text-wrap: balance;
}
.hero__lead { color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.2rem); max-width: 44ch; margin: 24px 0 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__actions .btn { flex: 1 1 220px; }
@media (min-width: 640px) { .hero__actions .btn { flex: 0 0 auto; } }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 30px; color: var(--muted); font-size: .9rem; }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; color: var(--teal-600); background: rgba(20, 168, 154, .12); }

/* Entrada orquestrada do hero */
.js .hero__copy > * { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
.js .hero__copy > :nth-child(2) { animation-delay: .08s; }
.js .hero__copy > :nth-child(3) { animation-delay: .16s; }
.js .hero__copy > :nth-child(4) { animation-delay: .24s; }
.js .hero__copy > :nth-child(5) { animation-delay: .32s; }

/* Dashboard 2.5D */
.hero__visual { position: relative; z-index: 1; width: 100%; max-width: 640px; margin-inline: auto; padding: 28px 8px 0; }
.stage {
  --rx: 0deg; --ry: 0deg; --sy: 0px;
  position: relative;
  perspective: 1600px;
  transform: translate3d(0, var(--sy), 0);
}
.panel {
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(10, 31, 58, .08);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-float);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.panel--main {
  padding: 18px;
  transform: rotateX(calc(4deg + var(--rx))) rotateY(calc(-6deg + var(--ry)));
  transform-style: preserve-3d;
  transition: transform .6s var(--ease);
}
.js .hero__visual .panel--main { opacity: 0; translate: 0 30px; transition: transform .6s var(--ease), opacity 1s var(--ease), translate 1.1s var(--ease); }
.js .hero__visual.is-in .panel--main { opacity: 1; translate: 0 0; }
.panel__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-bottom: 14px; }
.panel__title { display: flex; align-items: center; gap: 10px; white-space: nowrap; font-family: var(--font-display); font-weight: 700; font-size: .92rem; color: var(--navy); }
.dots { display: inline-flex; gap: 5px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: #D7DFE8; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(47, 107, 255, .08); color: #2552C9; font-size: .72rem; font-weight: 600; white-space: nowrap; }
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .7; }

.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kpi { position: relative; padding: 12px; border-radius: var(--r-sm); background: var(--mist); border: 1px solid #EBF0F5; min-height: 104px; overflow: hidden; }
.kpi__label { display: block; font-size: .72rem; color: var(--muted); }
.kpi__value { display: block; margin-top: 2px; font-family: var(--font-display); font-weight: 800; font-size: clamp(.95rem, 2.8vw, 1.25rem); letter-spacing: -.03em; color: var(--navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.kpi__spark { position: absolute; left: 12px; right: 12px; bottom: 10px; width: calc(100% - 24px); height: 24px; }
.kpi .ring { position: absolute; right: 10px; bottom: 10px; width: 36px; height: 36px; }
.minibars { position: absolute; left: 12px; bottom: 10px; display: flex; align-items: flex-end; gap: 4px; height: 26px; }
.minibars i { width: 7px; height: 100%; border-radius: 3px; background: linear-gradient(180deg, #FF9A7A, #F26B5B); transform-origin: bottom; transform: scaleY(var(--h)); opacity: .85; }
.minibars--lg { position: static; height: 44px; gap: 6px; margin-top: 14px; }
.minibars--lg i { width: 14px; }

.ring { transform: rotate(-90deg); }
.ring__track { fill: none; stroke: rgba(10, 31, 58, .1); stroke-width: 4; }
.ring__fill { fill: none; stroke: url(#g-accent); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--v)); }

.chart { margin-top: 10px; padding: 12px 12px 6px; border-radius: var(--r-sm); background: var(--white); border: 1px solid #EBF0F5; }
.chart__head { display: flex; justify-content: space-between; gap: 8px; font-size: .74rem; color: var(--muted); margin-bottom: 4px; }
.chart svg { width: 100%; height: auto; }
.grid path { stroke: rgba(10, 31, 58, .07); stroke-width: 1; fill: none; }
.pin { fill: var(--white); stroke: var(--blue); stroke-width: 2.5; }
.legend { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.legend i { width: 10px; height: 3px; border-radius: 2px; }
.legend__a { background: var(--accent); }
.legend__b { background: var(--green); margin-left: 6px; }

.panel--float { position: absolute; padding: 12px 14px; animation: float 7s ease-in-out infinite; }
.panel__mini-label { display: block; font-size: .7rem; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.panel--glosas { right: 6px; bottom: -100px; width: min(240px, 74%); animation-delay: -2s; }
.panel--cycle { display: none; right: 0; top: -100px; width: 200px; animation-duration: 8s; }
.hbars { display: grid; gap: 7px; }
.hbars div { display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 8px; font-size: .68rem; color: var(--ink); }
.hbars i { height: 6px; border-radius: 4px; background: linear-gradient(90deg, var(--teal), var(--blue)); transform-origin: left; transform: scaleX(var(--w)); }
.cycle { display: grid; gap: 6px; font-size: .74rem; font-weight: 500; }
.cycle li { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.cycle li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #CBD5E1; flex: none; }
.cycle .is-done { color: var(--ink); }
.cycle .is-done::before { border-color: var(--teal); background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/10px no-repeat; }
.cycle .is-now { color: var(--navy); font-weight: 600; }
.cycle .is-now::before { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47, 107, 255, .15); animation: ping-soft 2.4s ease-in-out infinite; }

.hero__disclaimer { margin: 124px 0 0; font-size: .75rem; color: #7A8A9C; text-align: center; }

@media (min-width: 640px) {
  .hero__visual { padding: 110px 40px 0; }
  .panel--main { padding: 22px; }
  .kpis { gap: 10px; }
  .kpi { padding: 14px; min-height: 112px; }
  .panel--glosas { right: 0; bottom: -100px; }
  .panel--cycle { display: block; }
}

@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); }
  .hero__visual { max-width: none; padding: 100px 0 0 20px; }
  .panel--main { transform: rotateX(calc(8deg + var(--rx))) rotateY(calc(-16deg + var(--ry))) rotateZ(1deg); }
  .panel--glosas { right: auto; left: -36px; bottom: -44px; }
  .panel--cycle { right: -18px; top: -96px; }
  .hero__disclaimer { text-align: right; margin-top: 72px; }
}

/* ---------- Impacto ---------- */
.impact { position: relative; padding-block: 0 clamp(24px, 4vw, 40px); margin-top: calc(clamp(24px, 4vw, 48px) * -1); z-index: 2; }
.impact__grid { display: grid; gap: 12px; }
.pillar {
  position: relative; overflow: hidden;
  padding: 26px 24px;
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.pillar:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -26px rgba(10, 31, 58, .35); border-color: #CFD9E3; }
.pillar p { margin: 8px 0 0; font-size: .92rem; color: var(--muted); }
.pillar__title { font-size: 1.08rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.pillar__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 20px; border-radius: 12px; background: linear-gradient(135deg, rgba(20, 168, 154, .14), rgba(47, 107, 255, .12)); color: var(--petrol); }
.pillar__icon svg { width: 22px; height: 22px; }
.pillar--feature { background: radial-gradient(120% 120% at 100% 0%, rgba(47, 107, 255, .35), transparent 55%), linear-gradient(160deg, var(--navy-700), var(--navy)); border-color: transparent; color: var(--white); }
.pillar--feature .pillar__title { color: var(--white); }
.pillar--feature p { color: #A9BACB; }
.pillar__big { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(3.2rem, 7vw, 4.4rem); line-height: .95; letter-spacing: -.06em; background: linear-gradient(90deg, #FFFFFF, #9FE3D5); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.pillar--feature .pillar__title { margin-top: 6px; }

@media (min-width: 640px) { .impact__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .impact__grid { grid-template-columns: 1.15fr repeat(3, minmax(0, 1fr)); gap: 16px; } }

/* ---------- Consultoria (processo) ---------- */
.consulting__grid { display: grid; gap: clamp(48px, 7vw, 88px); }
.for-whom { margin-top: 28px; padding: 18px 20px; border-radius: var(--r-sm); background: var(--mist); border-left: 3px solid var(--teal); max-width: 46ch; }
.for-whom strong { display: block; font-family: var(--font-display); color: var(--navy); margin-bottom: 4px; }
.for-whom p { margin: 0; color: var(--muted); font-size: .95rem; }

.process { position: relative; display: grid; gap: 16px; }
.process__rail { position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: var(--line); border-radius: 2px; }
.process__fill, .timeline__fill { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, var(--teal), var(--blue)); transform-origin: top; }
.js .process__fill, .js .timeline__fill { transform: scaleY(var(--p, 0)); }


.step {
  position: relative;
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start;
  padding: 0;
}
.step__num {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 800; font-size: .95rem; color: var(--navy);
  box-shadow: 0 0 0 6px var(--white);
  transition: border-color .6s var(--ease), color .6s var(--ease), background .6s var(--ease);
}
.step.is-in .step__num { border-color: transparent; background: linear-gradient(var(--white), var(--white)) padding-box, var(--accent) border-box; border: 2px solid transparent; }
.step__body {
  position: relative;
  padding: 20px;
  border-radius: var(--r-md);
  background: linear-gradient(180deg, var(--white), #FBFCFE);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.step:hover .step__body { transform: translateX(4px); border-color: #CFD9E3; box-shadow: 0 24px 40px -28px rgba(10, 31, 58, .4); }
.step h3 { padding-right: 44px; font-size: 1.2rem; font-weight: 800; letter-spacing: -.025em; }
.step p { margin: 6px 0 0; color: var(--muted); font-size: .95rem; }
.step__icon { position: absolute; right: 16px; top: 16px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--mist); color: var(--petrol); }
.step__icon svg { width: 18px; height: 18px; }

@media (min-width: 960px) {
  .consulting__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; }
  .consulting__intro { position: sticky; top: 120px; }
  .process { gap: 20px; padding-top: 8px; }
  .step { grid-template-columns: 56px minmax(0, 1fr); gap: 18px; }
  .step__num { width: 56px; height: 56px; }
  .process__rail { left: 27px; top: 28px; bottom: 28px; }
  .step__body { padding: 28px 28px 28px 28px; }
  .step__icon { right: 20px; top: 22px; }
}

/* ---------- Áreas (bento) ---------- */
.areas { background: var(--mist); }
.areas::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 90% 0%, rgba(20, 168, 154, .08), transparent 70%); pointer-events: none; }
.bento { position: relative; display: grid; gap: 14px; }
.tile {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .3s;
}
.tile::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.tile:hover { transform: translateY(-4px); box-shadow: 0 32px 56px -32px rgba(10, 31, 58, .4); border-color: #CFD9E3; }
.tile:hover::after { transform: scaleX(1); }
.tile__head { display: flex; align-items: center; gap: 12px; margin-bottom: clamp(28px, 5vw, 56px); }
.tile__num { font-family: var(--font-display); font-weight: 800; font-size: .9rem; color: var(--teal-600); }
.tile__cat { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; }
.tile h3 { font-size: clamp(1.45rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; max-width: 16ch; }
.tile p { margin: 12px 0 0; color: var(--muted); max-width: 46ch; }

.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; padding-top: 32px; }
.flow span { padding: 8px 12px; border-radius: 10px; background: var(--mist); border: 1px solid #E6ECF2; font-size: .8rem; font-weight: 600; color: var(--navy); }
.flow .flow__end { background: var(--navy); border-color: var(--navy); color: var(--white); }
.flow i { position: relative; width: 22px; height: 2px; background: repeating-linear-gradient(90deg, var(--teal) 0 4px, transparent 4px 8px); background-size: 16px 2px; animation: dash 1.2s linear infinite; }

.tile--biz { background: radial-gradient(90% 70% at 100% 0%, rgba(47, 107, 255, .35), transparent 60%), linear-gradient(165deg, var(--petrol), var(--navy) 70%); border-color: transparent; color: var(--white); }
.tile--biz h3 { color: var(--white); }
.tile--biz p { color: #B9CCDB; }
.tile--biz .tile__num { color: var(--green); }
.tile--biz .tile__cat { color: #B9CCDB; border-color: rgba(255, 255, 255, .18); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 32px; }
.chips li { padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); font-size: .78rem; font-weight: 600; letter-spacing: .02em; color: #E6F1F8; transition: background .3s, border-color .3s; }
.tile--biz:hover .chips li { border-color: rgba(127, 211, 167, .45); }

.tile--perf { gap: 28px; }
.tile__viz { margin-top: auto; }
.bars { display: flex; align-items: flex-end; gap: clamp(6px, 1.4vw, 12px); height: 120px; padding: 12px; border-radius: var(--r-sm); background: linear-gradient(180deg, var(--mist), var(--white)); border: 1px solid #E6ECF2; }
.bars i { flex: 1; height: 100%; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--blue), var(--teal)); transform-origin: bottom; transform: scaleY(var(--h)); opacity: .9; }
.bars i:last-child { background: linear-gradient(180deg, var(--green), var(--teal)); }

@media (min-width: 768px) {
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
  .tile--op { grid-column: span 4; }
  .tile--biz { grid-column: span 2; grid-row: span 2; }
  .tile--perf { grid-column: span 4; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; }
  .tile--perf .tile__viz { margin: 0; }
}

/* ---------- Dashboard (dados) ---------- */
.data { background: var(--navy); color: var(--white); overflow: clip; }
.data::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50% 40% at 15% 10%, rgba(20, 168, 154, .22), transparent 70%),
    radial-gradient(45% 45% at 90% 80%, rgba(47, 107, 255, .25), transparent 70%);
}
.data::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.data .wrap { position: relative; z-index: 1; }

.board {
  margin: 0;
  padding: clamp(14px, 2vw, 22px);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 60px 120px -60px rgba(0, 0, 0, .7), 0 1px 0 rgba(255, 255, 255, .08) inset;
}
.board__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 4px 4px 16px; }
.board__bar .dots i { background: rgba(255, 255, 255, .18); }
.board__name { font-family: var(--font-display); font-weight: 700; font-size: .95rem; }
.tag--demo { margin-left: auto; background: rgba(127, 211, 167, .12); color: #9FE3C2; white-space: normal; }
.board__grid { display: grid; gap: 12px; }
.card { position: relative; padding: 20px; border-radius: var(--r-md); background: rgba(6, 21, 42, .55); border: 1px solid rgba(255, 255, 255, .08); overflow: hidden; }
.card__label { display: block; font-size: .82rem; color: #9DB0C4; }
.card__value { display: block; margin-top: 6px; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 3.2vw, 2.4rem); letter-spacing: -.04em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.card__spark { width: 100%; height: 44px; margin-top: 14px; }
.card--ring { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ring--lg { width: 88px; height: 88px; flex: none; }
.data .ring__track { stroke: rgba(255, 255, 255, .1); }
.data .minibars i { opacity: .9; }
.card__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.data .legend { color: #9DB0C4; font-size: .78rem; }
.data .grid path { stroke: rgba(255, 255, 255, .07); }
.line-chart { width: 100%; height: auto; }
.months { display: flex; justify-content: space-between; margin-top: 8px; font-size: .72rem; color: #6F859C; }
.dist { display: grid; gap: 16px; margin-top: 18px; }
.dist li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; font-size: .86rem; color: #D5E1EC; }
.dist i { grid-column: 1 / -1; grid-row: 2; height: 8px; border-radius: 6px; background: rgba(255, 255, 255, .08); position: relative; overflow: hidden; }
.dist i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--teal), var(--blue)); transform-origin: left; transform: scaleX(var(--w)); transition: transform 1.4s var(--ease); }
.dist b { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--white); }
.board__note { margin: 16px 4px 0; font-size: .78rem; color: #8196AB; }

@media (min-width: 640px) {
  .board__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card--ring, .card--line, .card--dist { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .board__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .card--ring { grid-column: auto; }
  .card--line { grid-column: span 2; }
  .card--dist { grid-column: span 1; }
}

/* ---------- Trajetória (timeline) ---------- */
.timeline { position: relative; display: grid; gap: 22px; padding-left: 36px; }
.timeline__rail { position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; background: var(--line); }
.tl { position: relative; }
.tl__node { position: absolute; left: -36px; top: 26px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 2px solid #CBD5E1; transition: border-color .6s var(--ease), box-shadow .6s var(--ease); }
.tl.is-in .tl__node { border-color: var(--teal); box-shadow: 0 0 0 5px rgba(20, 168, 154, .14); }
.tl__card {
  position: relative; overflow: hidden;
  padding: 24px;
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.tl__card::before { content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(47, 107, 255, .1), transparent 70%); transform: scale(.4); opacity: 0; transition: transform 1s var(--ease) .2s, opacity 1s .2s; }
.tl.is-in .tl__card::before { transform: none; opacity: 1; }
.tl__card:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -28px rgba(10, 31, 58, .4); }
.tl__role { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; color: var(--teal-600); }
.tl__role::before { content: ""; width: 14px; height: 10px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h3l1.5-4 3 8 1.5-4H14' fill='none' stroke='%2314A89A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.tl h3 { margin-top: 10px; font-size: 1.2rem; font-weight: 800; letter-spacing: -.025em; line-height: 1.2; }
.tl p { margin: 8px 0 0; color: var(--muted); font-size: .95rem; }

@media (min-width: 960px) {
  .timeline { padding-left: 0; gap: 12px; }
  .timeline__rail { left: 50%; margin-left: -1px; }
  .tl { width: 50%; padding-right: 56px; }
  .tl:nth-child(odd) { margin-left: 50%; padding-right: 0; padding-left: 56px; }
  .tl__node { left: auto; right: -8px; }
  .tl:nth-child(odd) .tl__node { right: auto; left: -8px; }
  .tl:nth-child(even) .tl__card { text-align: right; }
  .tl:nth-child(even) .tl__role { flex-direction: row-reverse; }
  .tl + .tl { margin-top: -40px; }
  .tl__card { padding: 28px; }
}

/* ---------- Sobre ---------- */
.about { background: linear-gradient(180deg, var(--white), var(--mist)); }
.about__grid { display: grid; gap: clamp(48px, 7vw, 96px); align-items: center; }
.about__media { position: relative; max-width: 440px; margin-inline: auto; width: 100%; }
.about__media::before {
  content: ""; position: absolute; inset: 18px -14px -14px 18px; z-index: 0;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(20, 168, 154, .35), rgba(47, 107, 255, .35));
  filter: blur(.2px);
}
.portrait { position: relative; z-index: 1; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: #DCE7F0; box-shadow: 0 40px 80px -40px rgba(10, 31, 58, .5); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.portrait__badge {
  position: absolute; z-index: 2; left: -8px; bottom: 28px;
  display: grid; gap: 2px;
  padding: 14px 18px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(10, 31, 58, .08);
  box-shadow: var(--shadow-float);
  animation: float 8s ease-in-out infinite;
}
.portrait__badge strong { font-family: var(--font-display); font-size: 1rem; color: var(--navy); }
.portrait__badge span { font-size: .8rem; color: var(--muted); }

.about__text > p:not(.kicker):not(.about__quote) { color: var(--muted); font-size: 1.05rem; max-width: 60ch; }
.about__quote { margin: 18px 0 24px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.15rem, 2vw, 1.35rem); letter-spacing: -.02em; color: var(--petrol); }
.creds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 32px 0 28px; }
.creds li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--white); border: 1px solid var(--line); font-weight: 600; font-size: .92rem; color: var(--navy); line-height: 1.3; }
.creds svg { width: 22px; height: 22px; flex: none; color: var(--teal-600); }
.creds__years { grid-column: 1 / -1; background: var(--navy) !important; border-color: var(--navy) !important; color: var(--white) !important; }
.creds__years strong { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; letter-spacing: -.04em; background: linear-gradient(90deg, #FFFFFF, #9FE3D5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.creds__years span { font-size: .82rem; font-weight: 500; color: #B9CCDB; }
.skills { border-top: 1px solid var(--line); }
.skills li { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--ink); }
.skills li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }

@media (min-width: 960px) {
  .about__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .portrait { aspect-ratio: 5 / 7; }
  .portrait__badge { left: -28px; }
}

/* ---------- Credenciamentos ---------- */
.market { overflow: clip; }
.marquee { display: grid; gap: 14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__row { overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: marquee 70s linear infinite; will-change: transform; }
.marquee__row--reverse .marquee__track { animation-direction: reverse; animation-duration: 80s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  display: inline-flex; align-items: center; gap: clamp(20px, 3vw, 40px);
  padding-right: clamp(20px, 3vw, 40px);
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.4rem, 3.2vw, 2.4rem); letter-spacing: -.035em;
  color: var(--navy); white-space: nowrap;
}
.marquee__row--reverse .marquee__track span { color: transparent; -webkit-text-stroke: 1px rgba(10, 31, 58, .45); }
.marquee__track span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); opacity: .8; }
.op-list { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.op-list li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-weight: 600; color: var(--navy); }

/* ---------- CTA final ---------- */
.cta { position: relative; overflow: clip; padding-block: var(--section); color: var(--white); background: var(--navy-900); }
.cta__bg { position: absolute; inset: 0; pointer-events: none; }
.cta__bg::before, .cta__bg::after { content: ""; position: absolute; border-radius: 50%; filter: blur(80px); will-change: transform; }
.cta__bg::before { width: 640px; height: 640px; left: -160px; top: -240px; background: radial-gradient(circle, rgba(20, 168, 154, .45), transparent 65%); animation: drift 20s ease-in-out infinite alternate; }
.cta__bg::after { width: 700px; height: 700px; right: -220px; bottom: -300px; background: radial-gradient(circle, rgba(47, 107, 255, .45), transparent 65%); animation: drift 24s ease-in-out infinite alternate-reverse; }
.cta__grid { position: relative; display: grid; gap: 64px; align-items: center; }
.cta__title { color: var(--white); font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; max-width: 12ch; }
.cta__lead { margin-top: 22px; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: #B9CCDB; max-width: 44ch; }
.cta__mail { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: #D5E1EC; border-bottom: 1px solid rgba(213, 225, 236, .35); padding-bottom: 3px; transition: color .2s, border-color .2s; overflow-wrap: anywhere; }
.cta__mail:hover { color: var(--white); border-color: var(--white); }
.cta__mail svg { width: 18px; height: 18px; flex: none; }
.cta__note { margin-top: 22px; font-size: .85rem; color: #8196AB; }

.phone-wrap { display: grid; place-items: center; perspective: 1400px; }
.phone {
  --rx: 0deg; --ry: 0deg;
  position: relative;
  width: min(250px, 68vw); aspect-ratio: 9 / 18.5;
  padding: 11px;
  border-radius: 46px;
  background: linear-gradient(145deg, #2A3A50, #0B1524 60%);
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .12) inset, 0 60px 100px -40px rgba(0, 0, 0, .8), -30px 40px 80px -50px rgba(47, 107, 255, .6);
  transform: rotateX(calc(6deg + var(--rx))) rotateY(calc(-14deg + var(--ry))) rotateZ(2deg);
  transition: transform .6s var(--ease);
  animation: float 8s ease-in-out infinite;
}
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 84px; height: 22px; margin-left: -42px; border-radius: 20px; background: #05090F; z-index: 3; }
.phone__screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; display: flex; flex-direction: column; background: #EFE7DE; color: #111B21; font-size: .8rem; }
.wa__top { display: flex; align-items: center; gap: 10px; padding: 50px 14px 12px; background: #075E54; color: var(--white); }
.wa__top strong { display: block; font-size: .85rem; }
.wa__top span { font-size: .7rem; opacity: .8; }
.wa__avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--blue)); font-family: var(--font-display); font-weight: 800; font-size: .75rem; flex: none; }
.wa__chat { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 14px 12px; background-image: radial-gradient(rgba(7, 94, 84, .06) 1px, transparent 1px); background-size: 14px 14px; }
.wa__day { align-self: center; padding: 3px 10px; border-radius: 8px; background: rgba(255, 255, 255, .85); font-size: .66rem; color: #54656F; }
.wa__msg { max-width: 86%; padding: 8px 10px 16px; border-radius: 10px; line-height: 1.4; position: relative; box-shadow: 0 1px .5px rgba(11, 20, 26, .13); }
.wa__msg small { position: absolute; right: 8px; bottom: 3px; font-size: .6rem; color: #53BDEB; letter-spacing: -.1em; }
.wa__msg--out { align-self: flex-end; background: #D9FDD3; border-top-right-radius: 2px; }
.wa__typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 11px 12px; border-radius: 10px; border-top-left-radius: 2px; background: var(--white); box-shadow: 0 1px .5px rgba(11, 20, 26, .13); }
.wa__typing i { width: 6px; height: 6px; border-radius: 50%; background: #9AA5AC; animation: typing 1.4s infinite ease-in-out; }
.wa__typing i:nth-child(2) { animation-delay: .2s; }
.wa__typing i:nth-child(3) { animation-delay: .4s; }
.wa__input { display: flex; align-items: center; gap: 8px; padding: 8px 10px 16px; }
.wa__input span { flex: 1; padding: 9px 14px; border-radius: 20px; background: var(--white); color: #8696A0; font-size: .75rem; }
.wa__input b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #00A884; color: var(--white); }
.wa__input svg { width: 16px; height: 16px; }

@media (min-width: 960px) {
  .cta__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .phone { width: 280px; }
}

/* ---------- Rodapé ---------- */
.footer { background: #041022; color: #93A7BC; font-size: .9rem; padding-top: 64px; }
.footer__grid { display: grid; gap: 40px; padding-bottom: 48px; }
.footer__brand p { margin: 18px 0 0; max-width: 40ch; }
.footer__col { display: grid; gap: 12px; align-content: start; }
.footer__col strong { color: var(--white); font-family: var(--font-display); font-size: .95rem; margin-bottom: 4px; }
.footer__col a { display: inline-flex; align-items: center; gap: 10px; width: fit-content; transition: color .2s; overflow-wrap: anywhere; }
.footer__col a:hover { color: var(--white); }
.footer__col svg { width: 16px; height: 16px; flex: none; color: var(--green); }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 22px calc(22px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(255, 255, 255, .08); font-size: .8rem; }
.footer__bottom a { color: #C5D3E0; border-bottom: 1px solid rgba(197, 211, 224, .3); }
.footer__bottom a:hover { color: var(--white); }
.secure { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; }
.secure svg { width: 14px; height: 14px; color: var(--green); }

@media (min-width: 768px) {
  .footer__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, 1fr); }
}

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; z-index: 60;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center;
  height: 56px; padding: 0 16px;
  border-radius: 999px;
  background: #1FAF5A; color: var(--white);
  box-shadow: 0 14px 30px -10px rgba(10, 31, 58, .45), 0 0 0 1px rgba(255, 255, 255, .15) inset;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s;
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #1FAF5A; opacity: 0; animation: ping 5s var(--ease) 3s infinite; pointer-events: none; }
.wa-float svg { width: 24px; height: 24px; flex: none; }
.wa-float__label { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 600; font-size: .9rem; transition: max-width .45s var(--ease), margin .45s var(--ease); }
.wa-float:hover { transform: translateY(-3px); background: #1A9E51; box-shadow: 0 20px 36px -12px rgba(31, 175, 90, .55); }
@media (hover: hover) and (min-width: 768px) {
  .wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { max-width: 220px; margin-left: 10px; }
}

/* ---------- Revelação no scroll e gráficos ---------- */
.js .reveal { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 110ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .step.reveal { transform: translate3d(32px, 0, 0); }
.js .step.reveal.is-in { transform: none; }
.js .tl.reveal .tl__card { transform: translate3d(0, 24px, 0) scale(.98); transition: transform .9s var(--ease), box-shadow .5s var(--ease); }
.js .tl.reveal.is-in .tl__card { transform: none; }
.js .tl.reveal.is-in .tl__card:hover { transform: translateY(-3px); }

.js .draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease) .2s; }
.js .draw--slow { transition-duration: 2.2s; }
.js .is-in .draw { stroke-dashoffset: 0; }
.js .area { opacity: 0; transition: opacity 1.2s var(--ease) .9s; }
.js .is-in .area { opacity: 1; }
.js .pin { opacity: 0; transition: opacity .4s 2.2s; }
.js .is-in .pin { opacity: 1; animation: ping-soft 2.4s ease-in-out 2.6s infinite; }
.js .ring__fill { stroke-dashoffset: 100; transition: stroke-dashoffset 1.6s var(--ease) .3s; }
.js .is-in .ring__fill { stroke-dashoffset: calc(100 - var(--v)); }
.js .minibars i, .js .bars i { transform: scaleY(.04); transition: transform 1.1s var(--ease); }
.js .is-in .minibars i, .js .is-in .bars i { transform: scaleY(var(--h)); }
.js .minibars i:nth-child(2), .js .bars i:nth-child(2) { transition-delay: .06s; }
.js .minibars i:nth-child(3), .js .bars i:nth-child(3) { transition-delay: .12s; }
.js .minibars i:nth-child(4), .js .bars i:nth-child(4) { transition-delay: .18s; }
.js .minibars i:nth-child(5), .js .bars i:nth-child(5) { transition-delay: .24s; }
.js .minibars i:nth-child(6), .js .bars i:nth-child(6) { transition-delay: .3s; }
.js .bars i:nth-child(7) { transition-delay: .36s; }
.js .bars i:nth-child(8) { transition-delay: .42s; }
.js .bars i:nth-child(9) { transition-delay: .48s; }
.js .hbars i { transform: scaleX(0); transition: transform 1.2s var(--ease) 1s; }
.js .is-in .hbars i { transform: scaleX(var(--w)); }
.js .dist i::after { transform: scaleX(0); }
.js .is-in .dist i::after { transform: scaleX(var(--w)); }
.js .dist li:nth-child(2) i::after { transition-delay: .1s; }
.js .dist li:nth-child(3) i::after { transition-delay: .2s; }
.js .dist li:nth-child(4) i::after { transition-delay: .3s; }

/* ---------- Keyframes ---------- */
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -10px, 0); } }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-60px, 40px, 0) scale(1.12); } }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 60%, 100% { transform: scale(1.6); opacity: 0; } }
@keyframes ping-soft { 0%, 100% { box-shadow: 0 0 0 4px rgba(47, 107, 255, .15); } 50% { box-shadow: 0 0 0 8px rgba(47, 107, 255, .05); } }
@keyframes dash { to { background-position: 16px 0; } }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }

/* O telefone já tem transform próprio: a flutuação dele fica no wrapper */
.phone { animation: none; }
.phone-wrap { animation: float 8s ease-in-out infinite; }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
  .js .reveal, .js .hero__copy > *, .js .hero__visual .panel--main { opacity: 1 !important; transform: none !important; translate: none !important; }
  .hero__particles { display: none; }
  .marquee { display: none; }
  .op-list { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: normal; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
}

/* ---------- Detalhes do bento ---------- */
.tile__deco { position: absolute; right: clamp(20px, 3vw, 36px); top: clamp(24px, 3vw, 36px); width: min(42%, 260px); height: auto; opacity: .75; pointer-events: none; z-index: -1; }
.ptable { margin-top: 28px; border-radius: var(--r-sm); border: 1px solid rgba(255, 255, 255, .12); overflow: hidden; font-size: .72rem; }
.ptable__row { display: grid; grid-template-columns: .8fr 1.4fr .8fr; gap: 12px; align-items: center; padding: 11px 14px; border-top: 1px solid rgba(255, 255, 255, .08); }
.ptable__row--head { border-top: 0; background: rgba(255, 255, 255, .06); color: #9FB6C9; font-weight: 600; }
.ptable__row i { display: block; height: 6px; width: calc(var(--w) * 100%); border-radius: 4px; background: rgba(255, 255, 255, .16); }
.ptable__row--hl { background: rgba(127, 211, 167, .08); }
.ptable__row--hl i { background: linear-gradient(90deg, var(--green), var(--teal)); }
.js .ptable__row i { transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease) .5s; }
.js .is-in .ptable__row i { transform: none; }
@media (max-width: 767px) { .tile__deco { display: none; } }
@media (min-width: 640px) { .creds__years { grid-column: auto; } }
