/* ERP Consultoria — folha de estilo principal
   Paleta: azul-marinho + vermelho. */
:root {
  --navy-950: #060f22;
  --navy-900: #0a1a38;
  --navy-800: #102650;
  --navy-700: #1a3567;
  --red-600: #c8102e;
  --red-700: #a30d25;
  --red-50: #fcecee;
  --text: #1c2536;
  --muted: #5a6478;
  --line: #e2e6ee;
  --bg: #ffffff;
  --bg-soft: #f4f6fa;
  --whats: #25d366;
  --radius: 16px;
  --shadow: 0 12px 32px rgba(10, 26, 56, .08);
  --shadow-lg: 0 28px 64px rgba(10, 26, 56, .18);
  --wrap: 1200px;
  --head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--red-600); text-decoration: none; }
a:hover { color: var(--red-700); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--navy-900); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 4.8vw, 3.7rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; color: var(--muted); }
b, strong { color: var(--navy-900); font-weight: 700; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy-900); color: #c9d3e6; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: #aebbd4; }

.label {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--head); font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--red-600);
  margin-bottom: 18px;
}
.label::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section--navy .label, .hero .label, .page-head .label, .contact .label { color: #ff5a6e; }
.head { max-width: 720px; margin-bottom: 56px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head.center .label::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.head-split { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 56px; }
.head-split .head { margin-bottom: 0; }
.lead { font-size: 1.12rem; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 12px; border: 2px solid transparent;
  font-family: var(--head); font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn--red { background: var(--red-600); color: #fff; }
.btn--red:hover { background: var(--red-700); color: #fff; }
.btn--navy { background: var(--navy-900); color: #fff; }
.btn--navy:hover { background: var(--navy-700); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost:hover { border-color: #fff; color: #fff; }
.btn--outline { border-color: var(--navy-900); color: var(--navy-900); }
.btn--outline:hover { background: var(--navy-900); color: #fff; }
.btn--whats { background: var(--whats); color: #073b1c; }
.btn--whats:hover { background: #1ebe5a; color: #073b1c; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.more { font-family: var(--head); font-weight: 700; font-size: .92rem; color: var(--red-600); display: inline-flex; align-items: center; gap: 8px; }
.more::after { content: "→"; transition: transform .2s ease; }
.more:hover::after { transform: translateX(4px); }

/* Topo */
.topbar { background: var(--navy-950); color: #97a5c2; font-size: .82rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 20px; padding-top: 9px; padding-bottom: 9px; }
.topbar a { color: #dfe6f3; }
.topbar a:hover { color: #fff; }
.topbar span + span { margin-left: 24px; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; height: 84px; }
.logo img { height: 50px; width: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.nav a { position: relative; display: block; padding: 10px 14px; color: var(--navy-900); font-family: var(--head); font-weight: 600; font-size: .94rem; }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--red-600); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--red-600); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .btn { padding: 11px 20px; font-size: .88rem; }
.menu-toggle { display: none; background: none; border: 0; padding: 6px; cursor: pointer; color: var(--navy-900); }
.menu-toggle svg { width: 28px; height: 28px; }

/* Abertura */
.hero { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: url("../img/escritorio.jpg") center / cover no-repeat;
  opacity: .14; filter: grayscale(1);
}
.hero::after {
  content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 42%;
  background: var(--navy-800); clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; padding-top: 104px; padding-bottom: 150px; }
.hero .wrap > * { min-width: 0; }
.hero h1 { color: #fff; }
.hero h1 span { color: #ff5a6e; }
.hero .lead { color: #c4cee2; max-width: 580px; }
.hero .btn-row { margin-top: 36px; }
.partner {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 28px;
  padding: 7px 16px 7px 7px; border: 1px solid rgba(255,255,255,.18); border-radius: 40px;
  font-size: .86rem; font-weight: 600; color: #e1e7f3;
}
.partner b { background: var(--red-600); color: #fff; padding: 4px 12px; border-radius: 40px; font-family: var(--head); font-size: .74rem; letter-spacing: .1em; white-space: nowrap; }
.hero-photo { position: relative; padding: 0 0 28px 28px; }
.hero-photo::before { content: ""; position: absolute; left: 0; bottom: 0; width: 62%; height: 62%; background: var(--red-600); border-radius: var(--radius); }
.hero-photo img { position: relative; border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 1 / 1.02; object-fit: cover; }
.hero-tag {
  position: absolute; right: -16px; top: 36px; z-index: 2;
  background: #fff; color: var(--navy-900); border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow-lg);
  font-family: var(--head); line-height: 1.2;
}
.hero-tag strong { display: block; font-size: 2.1rem; font-weight: 800; color: var(--red-600); }
.hero-tag span { font-size: .84rem; font-weight: 600; color: var(--muted); }

/* Faixa de números */
.stats { position: relative; z-index: 2; margin-top: -72px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.stat { padding: 32px 30px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 28px; bottom: 28px; width: 1px; background: var(--line); }
.stat strong { display: block; font-family: var(--head); font-size: 2.1rem; font-weight: 800; color: var(--navy-900); line-height: 1.1; margin-bottom: 4px; }
.stat strong em { font-style: normal; color: var(--red-600); }
.stat span { font-size: .92rem; color: var(--muted); }

/* Colunas */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split > * { min-width: 0; }
.framed { position: relative; padding: 0 28px 28px 0; }
.framed::before { content: ""; position: absolute; right: 0; bottom: 0; width: 70%; height: 70%; border: 2px solid var(--red-600); border-radius: var(--radius); }
.framed img { position: relative; border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.ticks { list-style: none; margin: 8px 0 32px; padding: 0; }
.ticks li { position: relative; padding: 10px 0 10px 34px; color: var(--text); font-weight: 600; border-bottom: 1px solid var(--line); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 15px; width: 20px; height: 20px; border-radius: 50%; background: var(--red-50);
  box-shadow: inset 0 0 0 6px var(--red-50), inset 0 0 0 20px var(--red-600);
}

/* Cartões de serviço */
.cards { display: grid; gap: 24px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 32px 32px;
  color: inherit; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--red-600); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
a.card:hover, .card.hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; color: inherit; }
a.card:hover::after, .card.hover:hover::after { transform: scaleX(1); }
.card .num { font-family: var(--head); font-size: .85rem; font-weight: 800; color: var(--red-600); letter-spacing: .08em; margin-bottom: 22px; display: flex; align-items: center; justify-content: space-between; }
.card .num svg { width: 30px; height: 30px; color: var(--navy-900); stroke-width: 1.5; }
.card h3 { font-size: 1.22rem; }
.card p { flex: 1; }
.card .more { margin-top: 8px; }

/* Bloco de automação */
.feature { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.feature-img { background: url("../img/reuniao.jpg") center / cover no-repeat; position: relative; }
.feature-img::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 8px; background: var(--red-600); }
.feature-body { background: var(--navy-900); padding: 90px 8% 90px 72px; display: flex; flex-direction: column; justify-content: center; }
.feature-body h2 { color: #fff; }
.feature-body p { color: #aebbd4; }
.quote { margin: 18px 0 0; padding: 26px 0 0; border-top: 1px solid rgba(255,255,255,.14); font-size: 1.12rem; font-style: italic; color: #e4e9f3; line-height: 1.65; }
.quote footer { margin-top: 16px; font-style: normal; font-size: .9rem; color: #97a5c2; }
.quote footer b { color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 4px; }
.chips span { border: 1px solid rgba(255,255,255,.2); color: #e4e9f3; border-radius: 40px; padding: 7px 16px; font-size: .86rem; font-weight: 600; }

/* Segmentos */
.segs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.seg {
  position: relative; min-height: 220px; padding: 30px 28px; border-radius: var(--radius); overflow: hidden;
  background: var(--navy-900); color: #fff; display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .25s ease, box-shadow .25s ease;
}
.seg::before { content: ""; position: absolute; inset: 0; background: var(--red-600); transform: translateY(101%); transition: transform .35s ease; }
.seg > * { position: relative; }
.seg svg { position: absolute; top: 28px; left: 28px; width: 34px; height: 34px; color: #ff5a6e; stroke-width: 1.5; transition: color .3s ease; }
.seg h3 { color: #fff; margin: 0 0 6px; }
.seg span { font-size: .88rem; color: #aebbd4; transition: color .3s ease; }
.seg:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: #fff; }
.seg:hover::before { transform: translateY(0); }
.seg:hover svg { color: #fff; }
.seg:hover span { color: #ffe1e5; }
.seg--all { background: #fff; border: 2px dashed #c6cedd; }
.seg--all h3 { color: var(--navy-900); }
.seg--all span { color: var(--muted); }
.seg--all svg { color: var(--red-600); }

/* Clientes */
.logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.logos figure { min-width: 0; }
.logos figure { margin: 0; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 10px; transition: box-shadow .2s ease, transform .2s ease; }
.logos figure:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.logos img { width: 100%; height: auto; mix-blend-mode: multiply; opacity: .8; transition: opacity .2s ease; }
.logos figure:hover img { opacity: 1; }
.client-list { columns: 3; column-gap: 48px; list-style: none; margin: 0; padding: 0; }
.client-list li { break-inside: avoid; padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line); position: relative; font-weight: 600; color: var(--navy-900); }
.client-list li::before { content: ""; position: absolute; left: 0; top: 23px; width: 8px; height: 2px; background: var(--red-600); }

/* Vídeos */
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--navy-800); display: grid; place-items: center; color: #aebbd4; text-align: center; font-size: .9rem; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video .play { width: 60px; height: 60px; border-radius: 50%; background: var(--red-600); margin: 0 auto 12px; display: grid; place-items: center; }
.video .play::after { content: ""; border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 4px; }

/* Princípios */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar { background: #fff; border-radius: var(--radius); padding: 40px 34px; border-top: 4px solid var(--red-600); box-shadow: var(--shadow); }
.pillar h3 { font-size: 1.35rem; }
.pillar ul { list-style: none; margin: 0; padding: 0; }
.pillar li { margin-bottom: 10px; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 64px; }
.step { border-left: 2px solid var(--red-600); padding: 4px 0 4px 26px; }
.step b { display: block; font-family: var(--head); font-size: 2.4rem; font-weight: 800; color: rgba(255,255,255,.18); line-height: 1; margin-bottom: 12px; }

/* Chamada */
.cta { position: relative; background: var(--red-600); color: #fff; overflow: hidden; }
.cta::before { content: ""; position: absolute; right: -8%; top: -60%; width: 46%; height: 220%; background: var(--red-700); transform: rotate(18deg); }
.cta .wrap { position: relative; display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: center; padding-top: 76px; padding-bottom: 76px; }
.cta h2 { color: #fff; font-size: clamp(1.45rem, 2.6vw, 2.05rem); margin-bottom: .4em; }
.cta p { color: #ffd9de; margin: 0; }
.cta .btn-row { justify-content: flex-end; }
.cta .btn--light { background: #fff; color: var(--red-600); }
.cta .btn--light:hover { background: var(--navy-900); color: #fff; }

/* Abertura das páginas internas */
.page-head { position: relative; background: var(--navy-900); color: #fff; padding: 72px 0 84px; overflow: hidden; }
.page-head::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 34%; background: var(--navy-800); clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%); }
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { color: #fff; max-width: 860px; font-size: clamp(2rem, 4vw, 3.1rem); }
.page-head p { color: #c4cee2; max-width: 720px; font-size: 1.1rem; margin: 0; }
.crumbs { font-size: .85rem; color: #8494b4; margin-bottom: 26px; }
.crumbs a { color: #c4cee2; }
.crumbs a:hover { color: #fff; }
.crumbs span { margin: 0 8px; }

/* Conteúdo */
.content { display: grid; grid-template-columns: 1fr 330px; gap: 72px; align-items: start; }
.content > * { min-width: 0; }
.prose p { font-size: 1.04rem; }
.prose h2 { font-size: 1.6rem; }
.block { padding: 38px 0; border-top: 1px solid var(--line); }
.block:first-child { padding-top: 0; border-top: 0; }
.block h2 { position: relative; padding-left: 20px; }
.block h2::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 4px; background: var(--red-600); border-radius: 2px; }
.aside { position: sticky; top: 110px; display: grid; gap: 24px; }
.aside-menu { background: var(--bg-soft); border-radius: var(--radius); padding: 26px; }
.aside-menu h4 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.aside-menu ul { list-style: none; margin: 0; padding: 0; }
.aside-menu a { display: block; padding: 10px 12px; margin: 0 -12px; border-radius: 6px; color: var(--navy-900); font-weight: 600; font-size: .94rem; }
.aside-menu a:hover { background: #fff; }
.aside-menu a.active { background: var(--navy-900); color: #fff; }
.aside-box { background: var(--navy-900); color: #c9d3e6; border-radius: var(--radius); padding: 30px; border-bottom: 4px solid var(--red-600); }
.aside-box h3 { color: #fff; }
.aside-box p { color: #aebbd4; font-size: .94rem; }
.checks { list-style: none; margin: 0 0 1.6em; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checks li { background: var(--bg-soft); border-radius: 6px; padding: 14px 16px 14px 44px; position: relative; font-weight: 600; color: var(--navy-900); font-size: .95rem; }
.checks li::before { content: ""; position: absolute; left: 16px; top: 18px; width: 14px; height: 8px; border-left: 2.5px solid var(--red-600); border-bottom: 2.5px solid var(--red-600); transform: rotate(-45deg); }

/* Contato */
.contact { background: var(--navy-950); color: #c9d3e6; }
.contact .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; }
.contact .wrap > * { min-width: 0; }
.contact h2 { color: #fff; }
.contact p { color: #aebbd4; }
.contact-list { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 4px; }
.contact-list li { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.contact-list .ico { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; color: #ff5a6e; }
.contact-list .ico svg { width: 20px; height: 20px; }
.contact-list small { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: #8494b4; font-weight: 700; }
.contact-list a, .contact-list span.v { color: #fff; font-weight: 600; }
.form { background: #fff; border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-lg); border-top: 4px solid var(--red-600); }
.form h3 { font-size: 1.45rem; margin-bottom: .3em; }
.form > p { color: var(--muted); font-size: .95rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--head); font-size: .84rem; font-weight: 700; color: var(--navy-900); }
.field input, .field textarea { font: inherit; font-size: .96rem; color: var(--text); padding: 13px 15px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg-soft); transition: border-color .2s ease, background .2s ease; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy-900); background: #fff; }
.field textarea { min-height: 120px; resize: vertical; }
.form .btn-row { margin-top: 24px; }
.form .btn { width: 100%; justify-content: center; }

/* Rodapé */
.footer { background: #040a17; color: #8494b4; font-size: .92rem; padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 52px; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 9px; }
.footer a { color: #b8c3d9; }
.footer a:hover { color: #fff; }
.footer p { color: #8494b4; font-size: .92rem; }
.footer .logo { display: inline-block; background: #fff; padding: 10px 12px; border-radius: 6px; margin-bottom: 20px; }
.footer .logo img { height: 46px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: .84rem; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; color: #fff; }
.social a:hover { background: var(--red-600); border-color: var(--red-600); }
.social svg { width: 17px; height: 17px; }

/* WhatsApp flutuante */
.whats-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--whats); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0,0,0,.25); transition: transform .2s ease; }
.whats-float:hover { transform: scale(1.06); color: #fff; }
.whats-float svg { width: 31px; height: 31px; }

/* Blog */
.post { padding: 0; }
.post .thumb { aspect-ratio: 16 / 9; background: var(--navy-900); position: relative; overflow: hidden; }
.post .thumb::before { content: ""; position: absolute; inset: 0; background: url("../img/escritorio.jpg") center / cover; opacity: .22; filter: grayscale(1); }
.post .thumb::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34%; height: 4px; background: var(--red-600); }
.post .body { padding: 28px 30px 30px; display: flex; flex-direction: column; flex: 1; }
.tag { font-family: var(--head); font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--red-600); margin-bottom: 10px; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Responsivo */
@media (max-width: 1100px) {
  .nav { display: none; position: absolute; top: 84px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; padding: 10px 24px 18px; gap: 0; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .menu-toggle { display: block; }
  .logos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .segs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .hero::after, .page-head::after { display: none; }
  .hero .wrap, .split, .contact .wrap, .content, .cta .wrap, .feature { grid-template-columns: 1fr; gap: 48px; }
  .hero .wrap { padding-top: 64px; padding-bottom: 120px; }
  .hero-photo { max-width: 480px; }
  .hero-tag { right: 8px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cards-3, .pillars, .steps, .videos { grid-template-columns: 1fr 1fr; }
  .feature-img { min-height: 320px; }
  .feature-img::after { width: 100%; height: 6px; top: auto; }
  .feature-body { padding: 64px 24px; }
  .head-split { flex-direction: column; align-items: flex-start; }
  .client-list { columns: 2; }
  .aside { position: static; }
  .cta .btn-row { justify-content: flex-start; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .topbar { display: none; }
  .header .wrap { height: 72px; }
  .nav { top: 72px; }
  .logo img { height: 42px; }
  .header-cta .btn span { display: none; }
  .header-cta .btn { padding: 10px; }
  .partner { font-size: .78rem; }
  .hero-photo { padding: 0 0 18px 18px; }
  .hero-tag { padding: 12px 16px; top: 18px; }
  .hero-tag strong { font-size: 1.6rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { padding: 22px 24px; border-bottom: 1px solid var(--line); }
  .stat::before { display: none; }
  .cards-3, .cards-2, .pillars, .steps, .videos, .segs, .form-grid, .checks { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .client-list { columns: 1; }
  .form { padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------
   Camada de modernização
   ------------------------------------------------------------------ */
/* Cabeçalho compacta ao rolar */
.header { transition: box-shadow .3s ease, background .3s ease; }
.header .wrap { transition: height .3s ease; }
.header.is-scrolled { box-shadow: 0 10px 30px rgba(10, 26, 56, .08); }
.header.is-scrolled .wrap { height: 70px; }
.logo img { transition: height .3s ease; }
.header.is-scrolled .logo img { height: 42px; }
.nav a { border-radius: 10px; }
.btn--red { box-shadow: 0 10px 24px rgba(200, 16, 46, .28); }
.btn--red:hover { box-shadow: 0 14px 30px rgba(200, 16, 46, .38); }

/* Abertura com mais profundidade */
.hero { background: radial-gradient(900px 520px at 78% 40%, #17336a 0%, transparent 70%), var(--navy-900); }
.hero::after { background: rgba(26, 53, 103, .55); }
.hero h1 { letter-spacing: -.035em; }
.hero-photo img { border-radius: 20px; }
.hero-photo::before { border-radius: 20px; }
.hero-tag { border-radius: 16px; animation: flutua 6s ease-in-out infinite; }
.hero-badge {
  position: absolute; left: -12px; bottom: 64px; z-index: 2;
  display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .25); animation: flutua 7s ease-in-out infinite reverse;
}
.hero-badge b { display: block; font-family: var(--head); font-size: .95rem; color: #fff; }
.hero-badge small { color: #d5ddef; font-size: .8rem; }
.hero-badge .dot { width: 12px; height: 12px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 5px rgba(61, 220, 132, .22); }
@keyframes flutua { 50% { transform: translateY(-10px); } }

/* Números */
.stats-grid { border-radius: 20px; }
.stat strong { font-size: 2.4rem; letter-spacing: -.03em; }

/* Imagens com zoom suave */
.framed { overflow: visible; }
.framed img { transition: transform .6s ease; border-radius: 20px; }
.framed:hover img { transform: scale(1.02); }
.framed::before { border-radius: 20px; }

/* Serviços em grade "bento" */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.bento .card--wide { grid-column: span 2; }
.card { border-radius: 20px; }
.card--feature { background: var(--navy-900); border-color: var(--navy-900); position: relative; isolation: isolate; }
.card--feature::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("../img/escritorio.jpg") center / cover; opacity: .16; filter: grayscale(1);
  transition: opacity .4s ease, transform .6s ease;
}
.card--feature:hover::before { opacity: .26; transform: scale(1.04); }
.card--feature h3 { color: #fff; font-size: 1.5rem; max-width: 460px; }
.card--feature p { color: #b9c5dc; max-width: 520px; }
.card--feature .num svg { color: #fff; }
.card--feature .more { color: #ff6b7d; }
.card--feature:last-child::before { background-image: url("../img/reuniao.jpg"); }
.card .num svg { transition: transform .3s ease, color .3s ease; }
a.card:hover .num svg { transform: rotate(-8deg) scale(1.1); color: var(--red-600); }
a.card--feature:hover .num svg { color: #ff6b7d; }

/* Segmentos numerados */
.seg { border-radius: 20px; }
.seg em { position: absolute; right: 22px; top: 14px; font-style: normal; font-family: var(--head); font-weight: 800; font-size: 3.4rem; line-height: 1; color: rgba(255, 255, 255, .07); transition: color .3s ease; }
.seg:hover em { color: rgba(255, 255, 255, .22); }

/* Carrossel de logos */
.marquee { overflow: hidden; padding: 8px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee + .marquee { margin-top: 8px; }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: rola 50s linear infinite; }
.marquee--rev .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee figure { margin: 0; width: 150px; flex: none; aspect-ratio: 1 / 1; background: #fff; border: 1px solid var(--line); border-radius: 16px; display: grid; place-items: center; padding: 10px; }
.marquee img { width: 100%; height: auto; mix-blend-mode: multiply; opacity: .75; transition: opacity .2s ease; }
.marquee figure:hover img { opacity: 1; }
@keyframes rola { to { transform: translateX(calc(-50% - 8px)); } }
.logos figure { border-radius: 16px; }

/* Demais arredondamentos */
.pillar, .aside-menu, .aside-box, .form, .video, .checks li { border-radius: 16px; }
.field input, .field textarea { border-radius: 10px; }
.feature-img::after { width: 6px; }

/* Faixa de chamada com cantos arredondados flutuando sobre o contato */
.cta { background: transparent; overflow: visible; padding: 0 24px; margin-bottom: -80px; position: relative; z-index: 3; }
.cta::before { display: none; }
.cta .wrap { background: var(--red-600); border-radius: 24px; padding: 64px; position: relative; overflow: hidden; box-shadow: 0 30px 60px rgba(200, 16, 46, .28); }
.cta .wrap::before { content: ""; position: absolute; right: -10%; top: -70%; width: 50%; height: 240%; background: var(--red-700); transform: rotate(18deg); }
.cta .wrap > * { position: relative; }
.cta + .contact { padding-top: 180px; }

/* Animação de entrada */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .marquee-track, .hero-tag, .hero-badge { animation: none; }
}
@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .cta { padding: 0 16px; }
  .cta .wrap { padding: 44px 28px; }
  .hero-badge { left: 4px; bottom: 40px; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .bento .card--wide { grid-column: auto; }
  .marquee figure { width: 110px; }
  .hero-badge { padding: 10px 14px; }
}
.stat strong i { font-style: normal; }
.card--feature .num { color: #ff6b7d; }

/* Logo novo (quadrado) + nome ao lado */
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img, .header.is-scrolled .logo img { width: auto; border-radius: 12px; }
.logo img { height: 52px; }
.header.is-scrolled .logo img { height: 44px; }
.logo-text { font-family: var(--head); font-weight: 800; font-size: 1.12rem; line-height: 1.05; color: var(--navy-900); letter-spacing: -.01em; }
.logo-text small { display: block; margin-top: 3px; font-size: .68rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--red-600); }
.footer .logo { background: none; padding: 0; }
.footer .logo img { height: 56px; }
.footer .logo-text { color: #fff; }
.footer .logo-text small { color: #ff6b7d; }
@media (max-width: 600px) { .logo img { height: 42px; } .logo-text { font-size: 1rem; } }

/* Formulário: campo-armadilha anti-spam e mensagens de status */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin: 14px 0 0; font-weight: 600; font-size: .95rem; min-height: 1.4em; }
.form-status.is-ok { color: #1a8f4c; }
.form-status.is-erro { color: var(--red-600); }
.form button[disabled] { opacity: .7; cursor: wait; }
