/* IMeP — LP institucional · glassmorphism sobre o DS SAP adaptado */
:root {
  --navy-950: #010f33;
  --navy-900: #011a52;
  --navy: #022879;
  --blue-deep: #0040b0;
  --blue: #0057d2;
  --sky: #6bc0ff;
  --canvas: #ffffff;
  --mist: #f3f7fc;
  --chrome: #f5f6f7;
  --band: #eaecee;
  --band-blue: #ebf8ff;
  --ink: #000000;
  --ink-lead: #3c3c3c;
  --ink-body: #223548;
  --ink-list: #354a5f;
  --ink-meta: #475e75;
  --on-dark: #ffffff;
  --on-dark-2: rgba(255, 255, 255, .74);
  --on-dark-3: rgba(255, 255, 255, .55);

  --glass-dark: linear-gradient(140deg, rgba(255,255,255,.14), rgba(255,255,255,.04));
  --glass-dark-border: rgba(255,255,255,.18);
  --glass-light: rgba(255,255,255,.62);
  --glass-light-border: rgba(255,255,255,.95);
  --blur: blur(18px) saturate(150%);

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-glass: 18px;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  color: var(--ink-body);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 600; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
figure { margin: 0; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 2; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--blue); color: #fff; padding: 10px 14px; border-radius: var(--r-md); }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 4px; }

.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; color: var(--blue); }

/* ---------- Tipografia ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.eyebrow--light { color: var(--sky); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 4px rgba(107,192,255,.22); animation: pulse 2.4s var(--ease) infinite; }
.h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.08; margin-bottom: 18px; }
.h2 .serif { font-size: 1.1em; line-height: .9; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.28rem); line-height: 1.5; color: var(--ink-lead); font-weight: 350; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--light .h2 { color: var(--on-dark); }
.section-head--light .serif, .band-dark .serif, .hero .serif, .contact .serif { color: var(--sky); }
.section-head--light .lead { color: var(--on-dark-2); }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 12px 18px; border-radius: var(--r-md); font: 500 16px/1.1 var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background-color .25s, box-shadow .25s, border-color .25s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { min-height: 40px; padding: 9px 14px; font-size: 15px; }
.btn--lg { min-height: 54px; padding: 15px 24px; font-size: 16.5px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 10px 30px -12px rgba(0,87,210,.8), inset 0 1px 0 rgba(255,255,255,.22); }
.btn--primary:hover { background: #0a63e0; box-shadow: 0 16px 36px -12px rgba(0,87,210,.9), inset 0 1px 0 rgba(255,255,255,.22); }
.btn--glass { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.28); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.btn--glass:hover { background: rgba(255,255,255,.18); }
.btn--glass .ico { transition: transform .25s var(--ease); }
.btn--glass:hover .ico { transform: translateX(3px); }
.btn--ghost { background: transparent; color: var(--blue-deep); border-color: rgba(71,94,117,.45); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- Vidro ---------- */
.gcard {
  position: relative;
  background: var(--glass-dark);
  border: 1px solid var(--glass-dark-border);
  border-radius: var(--r-glass);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 24px 60px -28px rgba(0,8,40,.7);
  color: var(--on-dark);
}
.gcard--light {
  background: var(--glass-light);
  border-color: var(--glass-light-border);
  box-shadow: inset 0 1px 0 #fff, 0 18px 50px -26px rgba(2,40,121,.35);
  color: var(--ink-body);
}
.gcard__ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(140deg, rgba(107,192,255,.35), rgba(0,87,210,.25)); border: 1px solid rgba(255,255,255,.25); color: #fff; flex: none; }
.gcard__ico .ico { width: 22px; height: 22px; }
.gcard--light .gcard__ico { background: linear-gradient(140deg, #e3f2ff, #cfe4ff); border-color: #fff; color: var(--blue); }

/* ---------- Header ---------- */
.header { position: fixed; inset: 14px 0 auto; z-index: 50; padding: 0 var(--gutter); pointer-events: none; }
.header__inner {
  pointer-events: auto;
  max-width: var(--wrap); margin: 0 auto; height: var(--header-h);
  display: flex; align-items: center; gap: 24px; padding: 0 14px 0 22px;
  background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.9); border-radius: 16px;
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  box-shadow: 0 12px 40px -18px rgba(1,15,51,.45);
  transition: background-color .3s, box-shadow .3s, height .3s var(--ease);
}
.header.is-scrolled .header__inner { background: rgba(255,255,255,.86); height: 62px; box-shadow: 0 14px 40px -20px rgba(1,15,51,.35); }
.header__logo img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a:not(.btn) { padding: 8px 12px; border-radius: var(--r-md); font-size: 15px; color: #545454; text-decoration: none; transition: color .2s, background-color .2s; }
.nav a:not(.btn):hover { color: var(--blue); background: rgba(0,87,210,.06); }
.nav__simep { margin-left: 8px; }
.burger { display: none; width: 44px; height: 44px; margin-left: 4px; border: 0; border-radius: 10px; background: rgba(2,40,121,.06); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: max(720px, 100svh); display: flex; align-items: center; background: var(--navy-900); color: var(--on-dark); overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + 60px) 0 90px; }
.hero__bg, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__bg img { object-fit: cover; object-position: 62% 40%; transform: scale(1.06); animation: heroZoom 18s var(--ease) forwards; z-index: -2; }
.hero__veil { position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(1,15,51,.97) 0%, rgba(1,26,82,.9) 32%, rgba(2,40,121,.45) 58%, rgba(2,40,121,.05) 80%),
    linear-gradient(0deg, rgba(1,15,51,.95) 0%, rgba(1,15,51,0) 28%),
    linear-gradient(180deg, rgba(1,15,51,.55) 0%, rgba(1,15,51,0) 22%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 40px; align-items: center; }
.hero__title { color: #fff; font-size: clamp(2.35rem, 4.4vw, 4rem); line-height: 1.05; font-weight: 600; letter-spacing: -.025em; margin-bottom: 24px; }
.hero__title .serif { display: block; font-size: 1.12em; line-height: 1.1; margin-top: 4px; }
.rotator { position: relative; height: 1.15em; overflow: hidden; white-space: nowrap; }
.rotator__word { display: inline-block; transition: transform .55s var(--ease), opacity .55s var(--ease); }
.rotator__word.is-out { transform: translateY(-110%); opacity: 0; }
.rotator__word.is-pre { transform: translateY(110%); opacity: 0; transition: none; }
.hero__lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); font-weight: 350; line-height: 1.55; color: var(--on-dark-2); max-width: 560px; margin-bottom: 34px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__cards { position: relative; height: 520px; }
.hero__cards .gcard { position: absolute; display: flex; align-items: center; gap: 14px; padding: 14px 18px 14px 14px; min-width: 250px; font-size: 14px; }
.hero__cards strong { display: block; font-size: 15px; font-weight: 600; color: #fff; }
.hero__cards small { display: block; color: var(--on-dark-2); font-size: 13px; }
.hero__cards .ok { color: #8ff0c4; font-weight: 600; }
.tick { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(143,240,196,.18); color: #8ff0c4; margin-left: auto; }
.tick .ico { width: 16px; height: 16px; stroke-width: 2.4; }
.bar { position: absolute; left: 18px; right: 18px; bottom: 8px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.12); overflow: hidden; }
.bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--sky), #8ff0c4); transform-origin: left; animation: fill 3.2s var(--ease) infinite; }
.gcard--pill { min-width: 0 !important; padding: 10px 16px !important; border-radius: 999px; gap: 8px !important; font-weight: 500; font-size: 14px; }
.gcard--pill .ico { color: var(--sky); }
.f1 { top: 4%; right: -7%; }
.f2 { top: 50%; left: -6%; }
.f3 { bottom: 4%; right: 6%; }
.f4 { top: 33%; right: -5%; }
.float { animation: bob 7s ease-in-out infinite; will-change: transform; }
.f2 { animation-delay: -2s; } .f3 { animation-delay: -4s; } .f4 { animation-delay: -1s; animation-duration: 6s; }
.hero__cards .gcard { --mx: 0px; --my: 0px; translate: var(--mx) var(--my); transition: translate .6s var(--ease); }

.hero__scroll { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.4); border-radius: 14px; z-index: 3; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollDot 2s var(--ease) infinite; }

/* ---------- Números ---------- */
.stats { position: relative; z-index: 3; margin-top: -64px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(255,255,255,.8); border: 1px solid #fff; border-radius: 20px; backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); box-shadow: 0 30px 70px -34px rgba(1,26,82,.55); padding: 0; max-width: var(--wrap); }
.stat { position: relative; padding: 30px 28px; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 26px; bottom: 26px; width: 1px; background: linear-gradient(180deg, transparent, rgba(71,94,117,.3), transparent); }
.stat__num { margin: 0 0 6px; font-size: clamp(2.2rem, 3.6vw, 3rem); line-height: 1; font-weight: 650; letter-spacing: -.03em; color: var(--navy); font-variant-numeric: tabular-nums; }
.stat__label { margin: 0; font-size: 15px; font-weight: 350; color: var(--ink-list); line-height: 1.4; }
.ico--stat { width: 44px; height: 44px; color: var(--blue); stroke-width: 1.5; }
.count--pending { color: var(--blue); }
.pending { display: inline-block; margin-top: 8px; padding: 2px 8px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #8a5a00; background: #fff4d6; border: 1px dashed #e0b44c; border-radius: var(--r-sm); }

/* ---------- Faixas ---------- */
.band-light { position: relative; padding: clamp(80px, 10vw, 130px) 0; background: var(--mist); overflow: hidden; isolation: isolate; }
.band-light--alt { background: var(--canvas); }
.band-dark { position: relative; padding: clamp(80px, 10vw, 130px) 0; background: radial-gradient(120% 90% at 10% 0%, #03338f 0%, var(--navy-900) 45%, var(--navy-950) 100%); color: var(--on-dark-2); overflow: hidden; isolation: isolate; }
.band-dark h3 { color: #fff; }
.blob { position: absolute; z-index: 0; width: 560px; height: 560px; border-radius: 50%; filter: blur(80px); opacity: .55; pointer-events: none; }
.blob--a { background: radial-gradient(circle, #bfe3ff, transparent 70%); top: -120px; right: -160px; }
.blob--b { background: radial-gradient(circle, #c9dcff, transparent 70%); bottom: -200px; left: -180px; }
.blob--c { width: 760px; height: 520px; background: radial-gradient(circle, #a9d6ff, transparent 68%); bottom: -80px; right: 4%; opacity: .7; }
.glow { position: absolute; z-index: 0; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.glow--a { width: 520px; height: 520px; background: rgba(0,87,210,.55); top: -160px; right: -120px; }
.glow--b { width: 420px; height: 420px; background: rgba(107,192,255,.22); bottom: -160px; left: -100px; }
.glow--c { width: 700px; height: 400px; background: rgba(0,87,210,.5); top: 50%; left: 50%; translate: -50% -50%; }

/* ---------- Molduras ---------- */
.frame { position: relative; border-radius: var(--r-glass); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(1,26,82,.45); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(0,87,210,.12), rgba(1,26,82,.28)); mix-blend-mode: multiply; pointer-events: none; }
.frame:hover img { transform: scale(1.04); }

/* ---------- Quem somos ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.about__media { position: relative; padding: 0 0 80px 0; }
.frame--main { aspect-ratio: 5 / 4; }
.frame--float { position: absolute; width: 42%; aspect-ratio: 3 / 4; right: -6%; bottom: 0; border: 6px solid rgba(255,255,255,.9); }
.gcard--badge { position: absolute; left: 6%; bottom: 24px; padding: 18px 22px; display: flex; flex-direction: column; }
.gcard--badge strong { font-size: 2.2rem; line-height: 1; color: var(--navy); font-weight: 650; letter-spacing: -.03em; }
.gcard--badge small { font-size: 13px; color: var(--ink-meta); margin-top: 4px; max-width: 170px; }
.about__copy p:not(.lead):not(.eyebrow) { color: var(--ink-body); }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; font-weight: 450; color: var(--ink-list); }
.checks .ico { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--band-blue); color: var(--blue); stroke-width: 2.2; }

/* ---------- Papel ---------- */
.role { background: linear-gradient(180deg, var(--canvas), var(--mist)); }
.role__grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.role__img { grid-row: span 2; min-height: 420px; }
.role__card { padding: 30px; display: flex; flex-direction: column; gap: 14px; transition: transform .4s var(--ease), box-shadow .4s; }
.role__card:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 #fff, 0 26px 60px -28px rgba(2,40,121,.45); }
.role__card h3 { font-size: 20px; font-weight: 600; }
.role__card p { font-size: 15.5px; color: var(--ink-list); margin: 0; }

/* ---------- Serviços ---------- */
.tabs { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: start; }
.tabs__list { display: flex; flex-direction: column; gap: 8px; position: sticky; top: calc(var(--header-h) + 40px); }
.tabs__list button { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 18px 18px; border-radius: 14px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); color: var(--on-dark-2); font: 500 16px/1.3 var(--font); cursor: pointer; transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.tabs__list button:hover { color: #fff; background: rgba(255,255,255,.07); }
.tabs__list .num { font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--on-dark-3); transition: color .3s; }
.tabs__list button[aria-selected="true"] { color: #fff; background: linear-gradient(120deg, rgba(0,87,210,.55), rgba(107,192,255,.16)); border-color: rgba(107,192,255,.45); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 16px 40px -20px rgba(0,87,210,.9); }
.tabs__list button[aria-selected="true"] .num { color: var(--sky); }
.panel { display: grid; grid-template-columns: .75fr 1.25fr; overflow: hidden; min-height: 460px; animation: panelIn .6s var(--ease); }
.panel[hidden] { display: none; }
.panel__img { position: relative; overflow: hidden; }
.panel__img img { width: 100%; height: 100%; object-fit: cover; animation: imgIn 1.1s var(--ease); }
.panel__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(1,26,82,0) 50%, rgba(1,26,82,.55)), linear-gradient(160deg, rgba(0,87,210,.2), rgba(1,26,82,.35)); }
.panel__body { padding: clamp(28px, 3.4vw, 44px); }
.panel__body h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); line-height: 1.15; margin-bottom: 14px; color: #fff; }
.panel__lead { font-size: 17px; font-weight: 350; color: var(--on-dark-2); margin-bottom: 26px; }
.panel__dl { margin: 0; display: grid; gap: 0; }
.panel__dl div { padding: 16px 0; border-top: 1px solid rgba(255,255,255,.12); display: grid; grid-template-columns: 128px 1fr; gap: 18px; }
.panel__dl dt { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--sky); padding-top: 2px; }
.panel__dl dd { margin: 0; font-size: 15.5px; color: rgba(255,255,255,.86); }

/* ---------- Processo ---------- */
.process__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.steps { list-style: none; margin: 0; padding: 0 0 0 0; position: relative; --progress: 0; }
.steps::before, .steps::after { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; border-radius: 2px; }
.steps::before { background: rgba(2,40,121,.1); }
.steps::after { background: linear-gradient(180deg, var(--sky), var(--blue)); transform-origin: top; transform: scaleY(var(--progress)); transition: transform .2s linear; }
.step { position: relative; display: flex; gap: 22px; padding: 0 0 30px; }
.step:last-child { padding-bottom: 0; }
.step__n { position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1px solid rgba(0,87,210,.25); color: var(--blue); font-weight: 650; box-shadow: 0 8px 20px -10px rgba(0,87,210,.5); transition: background-color .4s, color .4s; }
.step.is-in .step__n { background: var(--blue); color: #fff; border-color: var(--blue); }
.step h3 { font-size: 19px; margin: 9px 0 6px; }
.step p { font-size: 15.5px; color: var(--ink-list); margin: 0; }
.process__img { aspect-ratio: 4 / 5; overflow: visible; }
.process__img img { border-radius: var(--r-glass); }
.process__img::after { border-radius: var(--r-glass); }
.process__tag { position: absolute; left: -28px; bottom: 36px; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 14px 18px; font-size: 14.5px; font-weight: 500; color: var(--ink-body); }
.process__tag .ico { color: var(--blue); width: 22px; height: 22px; }

/* ---------- Diferenciais ---------- */
.diff { padding: clamp(110px, 14vw, 180px) 0 clamp(80px, 10vw, 120px); }
.diff__bg, .diff__bg img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.diff__bg img { object-fit: cover; object-position: 65% 30%; filter: saturate(.8); }
.diff__veil { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(40% 50% at 68% 28%, rgba(2,40,121,.15), rgba(2,40,121,0) 70%),
    linear-gradient(90deg, rgba(1,15,51,.94) 0%, rgba(1,26,82,.78) 45%, rgba(2,40,121,.35) 100%),
    linear-gradient(0deg, rgba(1,15,51,.98) 8%, rgba(1,15,51,0) 60%);
}
.diff .section-head { max-width: 560px; margin-bottom: clamp(140px, 16vw, 220px); }
.diff__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.diff__grid .gcard { padding: 28px 26px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; transform-style: preserve-3d; transition: transform .5s var(--ease), border-color .4s; }
.diff__grid .gcard::before { content: ""; position: absolute; inset: 0; background: radial-gradient(240px circle at var(--gx, 50%) var(--gy, 0%), rgba(107,192,255,.28), transparent 60%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.diff__grid .gcard:hover { border-color: rgba(107,192,255,.5); }
.diff__grid .gcard:hover::before { opacity: 1; }
.diff__grid h3 { font-size: 18.5px; line-height: 1.25; }
.diff__grid p { font-size: 15px; color: var(--on-dark-2); margin: 0; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.faq .section-head { position: sticky; top: calc(var(--header-h) + 50px); margin-bottom: 0; }
.faq .section-head .btn { margin-top: 10px; }
.faq__list { display: grid; gap: 12px; }
.qa { background: var(--glass-light); border: 1px solid var(--glass-light-border); border-radius: 16px; backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); box-shadow: 0 10px 34px -24px rgba(2,40,121,.4); transition: box-shadow .3s, background-color .3s; }
.qa[open] { background: rgba(255,255,255,.85); box-shadow: 0 20px 50px -28px rgba(2,40,121,.45); }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 { font-size: 17px; font-weight: 550; line-height: 1.35; }
.qa__ico { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--band-blue); transition: background-color .3s, transform .4s var(--ease); }
.qa__ico::before, .qa__ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--blue); border-radius: 2px; transition: transform .4s var(--ease); }
.qa__ico::after { transform: rotate(90deg); }
.qa[open] .qa__ico { background: var(--blue); transform: rotate(180deg); }
.qa[open] .qa__ico::before, .qa[open] .qa__ico::after { background: #fff; }
.qa[open] .qa__ico::after { transform: rotate(0deg); }
.qa__a { padding: 0 22px 22px; overflow: hidden; }
.qa__a p { font-size: 15.5px; color: var(--ink-body); margin: 0; }

/* ---------- CTA ---------- */
.cta { text-align: center; padding: clamp(80px, 10vw, 120px) 0; }
.cta__inner { max-width: 820px; }
.cta .h2 { color: #fff; }
.cta .lead { color: var(--on-dark-2); margin: 0 auto 32px; max-width: 600px; }
.cta .hero__ctas { justify-content: center; }

/* ---------- Contato ---------- */
.contact { position: relative; padding: clamp(80px, 10vw, 120px) 0; background: var(--navy-950); color: var(--on-dark-2); overflow: hidden; isolation: isolate; }
.contact__bg, .contact__bg img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.contact__bg img { object-fit: cover; object-position: 78% 50%; }
.contact__veil { position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(1,15,51,.96) 0%, rgba(1,26,82,.82) 38%, rgba(2,40,121,.25) 75%, rgba(2,40,121,.1) 100%),
    linear-gradient(180deg, rgba(1,15,51,.55), rgba(1,15,51,0) 25%, rgba(1,15,51,0) 75%, rgba(1,15,51,.6));
}
.contact__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.contact .h2 { color: #fff; }
.contact .lead { color: var(--on-dark-2); margin-bottom: 30px; }
.contact__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact__list li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; }
.contact__list .ico { width: 38px; height: 38px; padding: 9px; border-radius: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: var(--sky); }
.contact__list a { text-decoration: none; color: #fff; }
.contact__list a:hover { color: var(--sky); }

.form { padding: clamp(24px, 3.4vw, 40px); display: grid; gap: 16px; background: linear-gradient(140deg, rgba(255,255,255,.16), rgba(255,255,255,.05)); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field span { font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,.85); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.2); background: rgba(1,15,51,.35); color: #fff;
  font: 400 16px/1.4 var(--font); transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 90px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--sky) 50%), linear-gradient(135deg, var(--sky) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field select option { color: #111; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.4); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); background: rgba(1,15,51,.5); box-shadow: 0 0 0 4px rgba(107,192,255,.18); }
.field.is-invalid input, .field.is-invalid select { border-color: #ff8a8a; box-shadow: 0 0 0 4px rgba(255,138,138,.15); }
.form__warn { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; color: var(--on-dark-2); }
.form__warn .ico { color: var(--sky); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--on-dark-2); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--blue); flex: none; }
.consent.is-invalid span { color: #ffb0b0; }
.form__status { margin: 0; min-height: 1.4em; font-size: 14px; text-align: center; }
.form__status.is-ok { color: #8ff0c4; }
.form__status.is-err { color: #ffb0b0; }

/* ---------- Rodapé ---------- */
.footer { background: var(--band); color: #545454; padding: 64px 0 28px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand img { height: 42px; width: auto; margin-bottom: 18px; }
.footer__brand p { max-width: 320px; color: var(--ink-meta); }
.footer__col { display: flex; flex-direction: column; gap: 8px; }
.footer__col h2 { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-bottom: 6px; }
.footer__col a { text-decoration: none; color: #545454; transition: color .2s; }
.footer__col a:hover { color: var(--blue); }
.footer__col strong { color: var(--blue-deep); font-weight: 600; }
.footer__col p { color: #545454; }
.footer__col .footer__simep { align-self: flex-start; margin-top: 6px; color: var(--blue-deep); }
.footer__col .footer__simep:hover { color: var(--blue); }
.footer__legal { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(71,94,117,.2); font-size: 13.5px; color: var(--ink-meta); }
.footer__legal p { margin: 0; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 14px 30px -10px rgba(0,0,0,.45); transition: transform .3s var(--ease), opacity .3s; }
.wa-float .ico { width: 30px; height: 30px; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.6s var(--ease) infinite; }
.wa-float:hover { transform: scale(1.07); }

/* ---------- Revelação no scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Animações ---------- */
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes heroZoom { to { transform: scale(1); } }
@keyframes fill { 0% { transform: scaleX(0); } 60%, 100% { transform: scaleX(1); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(107,192,255,.22); } 50% { box-shadow: 0 0 0 8px rgba(107,192,255,0); } }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes imgIn { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .nav a:not(.btn) { padding: 8px 8px; font-size: 14.5px; }
  .hero__cards .gcard { min-width: 220px; }
  .tabs { grid-template-columns: 1fr; }
  .tabs__list { position: static; flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; scrollbar-width: none; }
  .tabs__list::-webkit-scrollbar { display: none; }
  .tabs__list button { flex: none; width: auto; scroll-snap-align: start; padding: 14px 16px; }
  .diff__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .header__cta { display: none; }
  .burger { display: block; margin-left: auto; }
  .header__inner { position: relative; }
  .nav { position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 14px; background: #fff; border: 1px solid #fff; border-radius: 16px; box-shadow: 0 24px 50px -20px rgba(1,15,51,.5); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .3s var(--ease), visibility .3s; margin: 0; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { padding: 12px 14px; font-size: 16px; }
  .nav__simep { margin: 8px 0 0; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__cards { height: auto; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
  .hero__cards .gcard { position: relative; inset: auto; min-width: 0; flex: 1 1 240px; }
  .hero__cards .f3 { display: none; }
  .hero__cards .float { animation: none; }
  .hero__veil { background: linear-gradient(180deg, rgba(1,15,51,.75) 0%, rgba(1,26,82,.88) 45%, rgba(1,15,51,.97) 100%); }
  .about__grid, .process__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .faq .section-head { position: static; }
  .role__grid { grid-template-columns: 1fr 1fr; }
  .role__img { grid-row: auto; grid-column: span 2; min-height: 280px; aspect-ratio: 16 / 9; }
  .panel { grid-template-columns: 1fr; min-height: 0; }
  .panel__img { aspect-ratio: 16 / 9; }
  .panel__img::after { background: linear-gradient(0deg, rgba(1,26,82,.6), rgba(1,26,82,0) 50%); }
  .process__img { aspect-ratio: 16 / 11; max-width: 640px; }
  .process__tag { left: 12px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(71,94,117,.15); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  :root { --header-h: 64px; }
  .header { inset: 10px 0 auto; }
  .header__inner { padding: 0 8px 0 14px; gap: 12px; }
  .header__logo img { height: 30px; }
  .hero { padding-top: calc(var(--header-h) + 48px); min-height: auto; }
  .hero__ctas .btn { width: 100%; }
  .hero__scroll { display: none; }
  .stats { margin-top: -40px; }
  .stat { padding: 22px 18px; }
  .stat__label { font-size: 14px; }
  .about__media { padding-bottom: 60px; }
  .gcard--badge { left: 12px; bottom: 10px; padding: 14px 16px; }
  .gcard--badge strong { font-size: 1.7rem; }
  .role__grid { grid-template-columns: 1fr; }
  .role__img { grid-column: auto; }
  .panel__dl div { grid-template-columns: 1fr; gap: 4px; }
  .diff__grid { grid-template-columns: 1fr; }
  .diff .section-head { margin-bottom: 120px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .wa-float { width: 54px; height: 54px; right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__bg img { transform: none; }
}
