
:root {
  --brand-red: #bd222b;
  --brand-red-2: #a91d25;
  --brand-red-dark: #81151c;
  --brand-red-soft: #fbecee;
  --brand-red-faint: #fff7f8;
  --ink: #171719;
  --ink-2: #333338;
  --muted: #6c6c73;
  --line: #e8e8eb;
  --line-strong: #d9d9dd;
  --surface: #ffffff;
  --surface-2: #fafafa;
  --shadow-sm: 0 8px 28px rgba(22,22,25,.07);
  --shadow-md: 0 24px 70px rgba(44,14,17,.13);
  --shadow-red: 0 22px 54px rgba(189,34,43,.19);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --max: 1180px;
  --nav-h: 82px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }

/* Scrollbar global: vermelho da marca, sem fundo/trilho visível */
html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--brand-red) transparent;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: transparent;
}
html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  background: var(--brand-red);
  border-radius: 999px;
}
html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
  background: var(--brand-red-2);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Calibri, "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--brand-red); color: #fff; }

.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.container-wide { width: min(calc(100% - 48px), 1320px); margin-inline: auto; }
.section { padding: 108px 0; }
.section-tight { padding: 78px 0; }
.section-soft { background: var(--surface-2); }
.section-red { background: var(--brand-red); color: #fff; }
.section-deep-red { background: var(--brand-red-dark); color: #fff; }

/* Loader e transição de página */
.site-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: #fff;
  display: grid; place-items: center;
  transition: opacity .45s ease, visibility .45s ease;
}
.site-loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { display: grid; place-items: center; gap: 22px; }
.loader-logo { width: 198px; height: auto; }
.orbit-loader { position: relative; width: 52px; height: 52px; }
.orbit-loader::before {
  content: ""; position: absolute; inset: 8px;
  border: 1px solid rgba(189,34,43,.17); border-radius: 50%;
}
.orbit-dot {
  --i: 0;
  position: absolute; inset: 0;
  animation: orbit 1.15s linear infinite;
  animation-delay: calc(var(--i) * -.23s);
}
.orbit-dot::after {
  content: ""; position: absolute; top: 3px; left: 50%;
  width: 8px; height: 8px; margin-left: -4px;
  border-radius: 50%; background: var(--brand-red);
  box-shadow: 0 2px 12px rgba(189,34,43,.25);
}
@keyframes orbit { to { transform: rotate(360deg); } }

.page-curtain {
  position: fixed; inset: 0; z-index: 9998; pointer-events: none;
  background: var(--brand-red);
  transform: translateY(101%);
  transition: transform .55s var(--ease);
  display: grid; place-items: center;
}
.page-curtain img { width: min(330px, 58vw); opacity: 0; transform: translateY(12px); transition: .28s ease .16s; }
body.page-leaving .page-curtain { transform: translateY(0); }
body.page-leaving .page-curtain img { opacity: 1; transform: none; }

/* Cabeçalho */
.site-header {
  height: var(--nav-h); position: sticky; top: 0; z-index: 500;
  background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(232,232,235,.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: transform .34s var(--ease), box-shadow .3s ease, border-color .3s ease;
  will-change: transform;
}
.site-header.scrolled { box-shadow: 0 10px 30px rgba(15,15,18,.06); border-color: transparent; }
.site-header.header-hidden { transform: translateY(calc(-100% - 2px)); box-shadow: none; }
body.menu-open .site-header { transform: translateY(0); }
.nav-shell { height: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 38px; }
.brand { display: flex; align-items: center; min-width: 0; }
.brand img { width: 215px; height: auto; }
.desktop-nav { display: flex; justify-content: center; align-items: center; gap: 6px; }
.nav-item { position: relative; }
.nav-link, .nav-trigger {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  padding: 13px 14px; border-radius: 10px;
  font-size: 15px; font-weight: 700; color: #45454a;
  display: inline-flex; align-items: center; gap: 7px;
  transition: color .2s ease, background .2s ease;
}
.nav-link:hover, .nav-link.active, .nav-trigger:hover, .nav-trigger.active, .nav-item.is-open .nav-trigger { color: var(--brand-red); background: var(--brand-red-faint); }
.chevron { width: 13px; height: 13px; transition: transform .22s ease; }
.nav-item.is-open .chevron { transform: rotate(180deg); }
.header-cta { display: flex; align-items: center; gap: 10px; }

.mega-menu {
  position: absolute; top: calc(100% + 17px); left: 50%; width: 660px;
  transform: translate(-50%, 10px); opacity: 0; visibility: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 28px 70px rgba(31,20,21,.14); padding: 12px;
  transition: opacity .2s ease, transform .24s var(--ease), visibility .2s;
}
.nav-item.is-open .mega-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mega-link {
  display: grid; grid-template-columns: 38px 1fr; gap: 13px; align-items: start;
  padding: 14px; border-radius: 12px; transition: background .2s ease, transform .2s ease;
}
.mega-link:hover { background: var(--brand-red-faint); transform: translateY(-1px); }
.mega-link:last-child:nth-child(odd) { grid-column: 1 / -1; }
.mega-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--brand-red-soft); color: var(--brand-red); display: grid; place-items: center; }
.mega-icon svg { width: 19px; height: 19px; }
.mega-link strong { display: block; font-size: 14px; }
.mega-link span { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); line-height: 1.35; }
.mega-footer { margin-top: 8px; background: var(--ink); color: #fff; border-radius: 12px; padding: 15px 17px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.mega-footer span { font-size: 13px; color: rgba(255,255,255,.67); }
.mega-footer strong { font-size: 14px; }

.mobile-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; position: relative; }
.mobile-toggle span { position: absolute; width: 18px; height: 2px; left: 12px; background: var(--ink); border-radius: 4px; transition: .25s ease; }
.mobile-toggle span:nth-child(1) { top: 14px; }
.mobile-toggle span:nth-child(2) { top: 20px; }
.mobile-toggle span:nth-child(3) { top: 26px; }
.mobile-toggle[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-toggle[aria-expanded="true"] span:nth-child(3) { top: 20px; transform: rotate(-45deg); }
.mobile-panel { display: none; }

/* Botões */
.btn {
  min-height: 48px; padding: 0 20px; border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 1px solid transparent; font-size: 14px; font-weight: 800; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn svg { width: 17px; height: 17px; }
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--brand-red); color: #fff; box-shadow: 0 10px 26px rgba(189,34,43,.16); }
.btn-red:hover { background: var(--brand-red-2); box-shadow: var(--shadow-red); }
.btn-white { background: #fff; color: var(--brand-red); box-shadow: 0 12px 34px rgba(100,10,16,.14); }
.btn-white:hover { box-shadow: 0 18px 38px rgba(100,10,16,.21); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: #bdbdc3; box-shadow: var(--shadow-sm); }
.btn-link { min-height: auto; padding: 0; border: 0; background: transparent; color: var(--brand-red); border-radius: 0; }
.btn-link:hover { transform: none; }

/* Tipografia */
.kicker { margin: 0 0 18px; color: var(--brand-red); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; }
.kicker.on-red { color: rgba(255,255,255,.72); }
.display {
  margin: 0; font-size: clamp(48px, 6.2vw, 84px); line-height: .98;
  letter-spacing: -.055em; font-weight: 800; text-wrap: balance;
}
.h1 { margin: 0; font-size: clamp(43px, 5vw, 70px); line-height: 1; letter-spacing: -.05em; font-weight: 800; text-wrap: balance; }
.h2 { margin: 0; font-size: clamp(34px, 4vw, 54px); line-height: 1.03; letter-spacing: -.045em; font-weight: 800; text-wrap: balance; }
.h3 { margin: 0; font-size: 22px; line-height: 1.1; letter-spacing: -.025em; font-weight: 800; }
.lead { margin: 0; font-size: clamp(18px, 2vw, 21px); line-height: 1.58; color: var(--muted); }
.section-copy { color: var(--muted); line-height: 1.65; font-size: 17px; }

/* Hero da página inicial */
.hero-home { position: relative; padding: 84px 0 92px; overflow: hidden; background: #fff; }
.hero-home::after { content: ""; position: absolute; right: 0; top: 0; width: 34%; height: 100%; background: var(--brand-red-faint); z-index: 0; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.04fr .96fr; gap: 72px; align-items: center; min-height: 590px; }
.hero-copy .display { max-width: 760px; }
.hero-copy .display .red { color: var(--brand-red); }
.hero-copy .lead { max-width: 680px; margin-top: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 34px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 38px; }
.hero-tag { padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; color: #5a5a60; font-size: 12px; font-weight: 700; background: #fff; }

.hero-visual { position: relative; padding: 28px 0 22px 20px; }
.visual-frame {
  position: relative; overflow: hidden; min-height: 510px;
  background: var(--brand-red); color: #fff; border-radius: 26px;
  box-shadow: var(--shadow-red); padding: 30px;
  display: flex; flex-direction: column;
}
.visual-frame::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 42px 42px; mask-image: linear-gradient(to bottom, #000, transparent 88%);
}
.visual-head { position: relative; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-size: 11px; text-transform: uppercase; letter-spacing: .15em; font-weight: 800; color: rgba(255,255,255,.82); }
.signal { display: flex; gap: 6px; }
.signal i { width: 7px; height: 7px; border-radius: 50%; background: #fff; opacity: .35; animation: signal 2.4s ease-in-out infinite; }
.signal i:nth-child(2) { animation-delay: .25s; }
.signal i:nth-child(3) { animation-delay: .5s; }
@keyframes signal { 0%,100% { opacity:.28; transform:scale(.85);} 45% {opacity:1; transform:scale(1);} }
.visual-message { position: relative; margin-top: 48px; max-width: 390px; font-size: clamp(28px,3vw,42px); line-height: 1.06; font-weight: 800; letter-spacing: -.04em; }
.visual-message span { color: rgba(255,255,255,.61); }
.visual-chart { position: relative; margin: auto -8px 0; height: 190px; }
.visual-chart svg { width: 100%; height: 100%; overflow: visible; }
.chart-path { stroke-dasharray: 720; stroke-dashoffset: 720; animation: drawChart 2.1s var(--ease) .8s forwards; }
@keyframes drawChart { to { stroke-dashoffset: 0; } }
.visual-legend { position: relative; display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; margin-top: 14px; }
.visual-pill { border: 1px solid rgba(255,255,255,.2); border-radius: 11px; padding: 12px 13px; font-size: 12px; font-weight: 700; color: rgba(255,255,255,.8); background: rgba(255,255,255,.06); backdrop-filter: blur(8px); }
.floating-card { position: absolute; right: -22px; bottom: 6px; width: 210px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 14px; padding: 16px; box-shadow: var(--shadow-md); animation: floatCard 5s ease-in-out infinite; }
.floating-card small { display: block; color: var(--brand-red); font-weight: 800; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.floating-card strong { display: block; margin-top: 7px; font-size: 15px; line-height: 1.28; }
@keyframes floatCard { 0%,100% {transform:translateY(0)} 50% {transform:translateY(-8px)} }

/* Layout reutilizável */
.section-heading { display: grid; grid-template-columns: 1.08fr .92fr; gap: 70px; align-items: end; margin-bottom: 50px; }
.section-heading .lead { max-width: 560px; justify-self: end; }
.statement-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 74px; align-items: start; }
.statement-copy { max-width: 700px; }
.statement-copy .section-copy { margin: 24px 0 0; max-width: 630px; }
.principles { border-top: 1px solid var(--line); }
.principle { display: grid; grid-template-columns: 42px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.principle-icon { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 10px; color: var(--brand-red); display: grid; place-items: center; background: #fff; }
.principle-icon svg { width: 18px; height: 18px; }
.principle strong { display: block; font-size: 16px; }
.principle p { margin: 5px 0 0; color: var(--muted); font-size: 14px; line-height: 1.45; }

.capability-strip { border-block: 1px solid var(--line); background: #fff; }
.capability-inner { display: grid; grid-template-columns: repeat(4,1fr); }
.capability { padding: 25px 26px; border-right: 1px solid var(--line); }
.capability:last-child { border-right: 0; }
.capability span { color: var(--brand-red); display: block; width: 30px; height: 30px; margin-bottom: 16px; }
.capability strong { font-size: 15px; }
.capability p { margin: 6px 0 0; color: var(--muted); line-height: 1.45; font-size: 13px; }

.solutions-grid { display: grid; grid-template-columns: repeat(12,1fr); gap: 16px; }
.solution-card {
  position: relative; overflow: hidden; grid-column: span 4; min-height: 330px;
  border: 1px solid var(--line); background: #fff; border-radius: 18px;
  padding: 30px; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), border-color .3s ease, box-shadow .3s ease;
}
.solution-card.wide { grid-column: span 6; }
.solution-card:hover { transform: translateY(-7px); border-color: #d9b9bc; box-shadow: var(--shadow-md); }
.solution-card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--brand-red); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.solution-card:hover::before { transform: scaleX(1); }
.solution-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 13px; background: var(--brand-red-soft); color: var(--brand-red); }
.solution-icon svg { width: 23px; height: 23px; }
.solution-card .h3 { margin-top: auto; padding-top: 72px; }
.solution-card p { margin: 12px 0 0; color: var(--muted); line-height: 1.5; font-size: 15px; }
.solution-link { margin-top: 24px; display: inline-flex; align-items: center; gap: 8px; color: var(--brand-red); font-size: 14px; font-weight: 800; }
.solution-link svg { width: 16px; transition: transform .2s ease; }
.solution-card:hover .solution-link svg { transform: translateX(4px); }
.solution-card.featured { background: var(--brand-red); color: #fff; border-color: var(--brand-red); }
.solution-card.featured p { color: rgba(255,255,255,.7); }
.solution-card.featured .solution-icon { background: rgba(255,255,255,.13); color: #fff; }
.solution-card.featured .solution-link { color: #fff; }

.method { position: relative; overflow: hidden; }
.method::after { content: ""; position: absolute; top: 0; right: max(24px, calc((100vw - var(--max))/2)); width: 1px; height: 100%; background: rgba(255,255,255,.14); }
.method-grid { margin-top: 58px; display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid rgba(255,255,255,.2); }
.method-item { padding: 30px 30px 0 0; margin-right: 30px; border-right: 1px solid rgba(255,255,255,.14); }
.method-item:last-child { border-right: 0; margin-right: 0; }
.method-item .method-mark { width: 12px; height: 12px; background: #fff; border-radius: 50%; box-shadow: 0 0 0 7px rgba(255,255,255,.09); margin-bottom: 26px; }
.method-item h3 { margin: 0; font-size: 20px; }
.method-item p { margin: 10px 0 0; color: rgba(255,255,255,.68); line-height: 1.55; font-size: 14px; }

.insights-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.insight-card { border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; transition: .28s var(--ease); }
.insight-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.insight-top { min-height: 160px; padding: 24px; display: flex; align-items: flex-end; background: var(--brand-red-faint); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.insight-top::after { content: ""; position: absolute; width: 110px; height: 110px; right: -36px; top: -36px; border: 24px solid rgba(189,34,43,.09); border-radius: 50%; }
.insight-category { position: relative; z-index: 1; display: inline-block; padding: 7px 9px; background: #fff; border: 1px solid #efd3d5; border-radius: 999px; color: var(--brand-red); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.insight-body { padding: 24px; }
.insight-body h3 { margin: 0; font-size: 20px; line-height: 1.18; letter-spacing: -.025em; }
.insight-body p { margin: 10px 0 22px; color: var(--muted); line-height: 1.5; font-size: 14px; }

/* Bloco de contato */
.contact-conversion { position: relative; overflow: hidden; }
.contact-conversion::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px); background-size: 48px 48px; opacity: .55; }
.contact-conversion .container { position: relative; }
.contact-layout { display: grid; grid-template-columns: .92fr 1.08fr; gap: 80px; align-items: center; }
.contact-copy .h2 { max-width: 570px; }
.contact-copy > p { max-width: 530px; margin: 22px 0 0; color: rgba(255,255,255,.75); line-height: 1.6; font-size: 17px; }
.contact-actions { margin-top: 30px; }
.location-list { margin-top: 40px; border-top: 1px solid rgba(255,255,255,.2); }
.location-row { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.location-row svg { width: 18px; margin-top: 2px; }
.location-row strong { display: block; font-size: 13px; }
.location-row span { display: block; margin-top: 4px; color: rgba(255,255,255,.68); font-size: 13px; line-height: 1.45; }
.contact-card { background: #fff; color: var(--ink); border-radius: 20px; padding: 30px; box-shadow: 0 32px 70px rgba(92,12,18,.26); }
.form-head { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.form-head h3 { margin: 0; font-size: 25px; letter-spacing: -.03em; }
.form-head p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.form-badge { padding: 7px 9px; border-radius: 999px; background: var(--brand-red-soft); color: var(--brand-red); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; white-space: nowrap; }
.form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 11px; color: #55555b; font-weight: 800; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid #dedee3; background: #fbfbfc; color: var(--ink);
  border-radius: 9px; padding: 12px 13px; outline: none; transition: .2s ease; font-size: 13px;
}
.field textarea { min-height: 108px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand-red); background: #fff; box-shadow: 0 0 0 3px rgba(189,34,43,.08); }
.form-submit { width: 100%; margin-top: 15px; }
.form-note { margin: 10px 0 0; color: #85858b; text-align: center; font-size: 10px; line-height: 1.35; }
.form-status { min-height: 18px; margin: 8px 0 0; color: var(--brand-red); font-size: 12px; font-weight: 700; }

/* Hero de páginas e serviços */
.page-hero { position: relative; padding: 82px 0 76px; border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: 0; top: 0; width: 27%; height: 100%; background: var(--brand-red-faint); }
.page-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: 74px; align-items: center; min-height: 430px; }
.page-hero-copy .lead { margin-top: 24px; max-width: 690px; }
.page-hero-actions { margin-top: 30px; display: flex; gap: 10px; flex-wrap: wrap; }
.service-poster { min-height: 365px; border-radius: 22px; background: var(--brand-red); color: #fff; padding: 28px; box-shadow: var(--shadow-red); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.service-poster::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 42px 42px; }
.service-poster > * { position: relative; }
.poster-label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.68); }
.poster-title { margin: auto 0 0; font-size: 38px; line-height: 1.03; letter-spacing: -.04em; font-weight: 800; max-width: 430px; }
.poster-tags { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 22px; }
.poster-tags span { border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.07); border-radius: 999px; padding: 7px 9px; font-size: 11px; font-weight: 700; color: rgba(255,255,255,.82); }

.outcomes { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.outcome { border: 1px solid var(--line); border-radius: 16px; padding: 28px; background: #fff; }
.outcome-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-red-soft); color: var(--brand-red); }
.outcome-icon svg { width: 21px; height: 21px; }
.outcome h3 { margin: 34px 0 0; font-size: 20px; }
.outcome p { margin: 10px 0 0; color: var(--muted); line-height: 1.55; font-size: 14px; }

.process-list { border-top: 1px solid var(--line); }
.process-row { display: grid; grid-template-columns: 230px 1fr; gap: 50px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: start; }
.process-row strong { color: var(--brand-red); font-size: 13px; text-transform: uppercase; letter-spacing: .12em; }
.process-row h3 { margin: 0; font-size: 22px; }
.process-row p { margin: 8px 0 0; max-width: 700px; color: var(--muted); line-height: 1.6; }

.audience-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 70px; align-items: start; }
.audience-list { display: flex; flex-wrap: wrap; gap: 9px; }
.audience-chip { padding: 10px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 700; color: #55555b; }

.red-cta { padding: 76px 0; }
.red-cta-inner { display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.red-cta .h2 { max-width: 780px; }
.red-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

/* Página institucional */
.values-grid { display: grid; grid-template-columns: repeat(2,1fr); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.value-cell { padding: 30px; min-height: 190px; background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.value-cell:nth-child(even) { border-right: 0; }
.value-cell:nth-last-child(-n+2) { border-bottom: 0; }
.value-cell .mini-line { width: 34px; height: 3px; background: var(--brand-red); margin-bottom: 35px; }
.value-cell h3 { margin: 0; font-size: 21px; }
.value-cell p { margin: 10px 0 0; color: var(--muted); line-height: 1.55; }
.expertise-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.expertise-cloud span { padding: 11px 13px; background: #fff; border: 1px solid var(--line); border-radius: 11px; font-weight: 700; color: #4f4f55; font-size: 14px; }

/* Visão geral das soluções */
.service-overview-card { border: 1px solid var(--line); border-radius: 18px; padding: 30px; min-height: 290px; display: flex; flex-direction: column; background: #fff; transition: .28s var(--ease); }
.service-overview-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); border-color: #dfc0c2; }
.service-overview-card .solution-icon { margin-bottom: 50px; }
.service-overview-card p { color: var(--muted); line-height: 1.55; }
.service-overview-card .solution-link { margin-top: auto; }
.services-overview-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }

/* Insights */
.insights-list { display: grid; gap: 14px; }
.insights-list .insight-row { border: 1px solid var(--line); border-radius: 15px; padding: 24px; display: grid; grid-template-columns: 170px 1fr auto; gap: 28px; align-items: center; transition: .25s var(--ease); }
.insights-list .insight-row:hover { border-color: #debabd; box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.insight-row .category { color: var(--brand-red); text-transform: uppercase; font-size: 11px; letter-spacing: .1em; font-weight: 800; }
.insight-row h3 { margin: 0; font-size: 21px; letter-spacing: -.02em; }
.insight-row p { margin: 5px 0 0; color: var(--muted); line-height: 1.45; font-size: 13px; }
.insight-arrow { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--brand-red); }
.insight-arrow svg { width: 17px; }

/* Página de contato */
.contact-page-hero { background: var(--brand-red); color: #fff; padding: 88px 0; }
.contact-page-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.contact-page-hero .lead { color: rgba(255,255,255,.72); margin-top: 22px; }
.contact-info { margin-top: 38px; display: grid; gap: 10px; }
.contact-info a, .contact-info span { color: rgba(255,255,255,.83); font-weight: 700; }
.map-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.map-card { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.map-placeholder { height: 210px; background: #f3f3f5; position: relative; overflow: hidden; }
.map-placeholder::before, .map-placeholder::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(28deg, transparent 46%, #dddde1 47%, #dddde1 49%, transparent 50%), linear-gradient(-18deg, transparent 45%, #e4e4e7 46%, #e4e4e7 49%, transparent 50%); background-size: 86px 64px, 108px 78px; opacity:.8; }
.map-pin { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 40px; height: 40px; border-radius: 50% 50% 50% 0; background: var(--brand-red); transform-origin: center; rotate: -45deg; box-shadow: 0 8px 20px rgba(189,34,43,.22); }
.map-pin::after { content:""; position:absolute; width:12px; height:12px; border-radius:50%; background:#fff; left:14px; top:14px; }
.map-body { padding: 22px; }
.map-body strong { display: block; font-size: 18px; }
.map-body p { color: var(--muted); line-height: 1.45; font-size: 13px; }
.map-body a { color: var(--brand-red); font-weight: 800; font-size: 13px; }

/* Footer */
.site-footer { background: #fff; border-top: 1px solid var(--line); }
.footer-main { padding: 68px 0 48px; display: grid; grid-template-columns: 1.2fr .7fr .7fr .8fr; gap: 46px; }
.footer-logo { width: 215px; }
.footer-about { margin: 22px 0 0; max-width: 390px; color: var(--muted); line-height: 1.55; font-size: 14px; }
.footer-col h4 { margin: 0 0 17px; color: #7d7d83; font-size: 11px; text-transform: uppercase; letter-spacing: .11em; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-links span { color: #49494e; font-size: 13px; line-height: 1.45; }
.footer-links a:hover { color: var(--brand-red); }
.footer-bottom { border-top: 1px solid var(--line); min-height: 66px; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: #8b8b90; font-size: 11px; }
.footer-bottom .brand-rule { display: flex; align-items: center; gap: 8px; }
.footer-bottom .brand-rule i { display: block; width: 28px; height: 3px; background: var(--brand-red); }

/* Animações de entrada */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .65s var(--ease), transform .65s var(--ease); transition-delay: var(--delay,0ms); }
[data-reveal="left"] { transform: translateX(-20px); }
[data-reveal="right"] { transform: translateX(20px); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.hero-enter { opacity: 0; transform: translateY(16px); animation: heroEnter .7s var(--ease) .55s forwards; }
.hero-enter.delay { animation-delay: .68s; }
@keyframes heroEnter { to { opacity:1; transform:none; } }


@media (max-width: 1080px) {
  :root { --nav-h: 74px; }
  .desktop-nav, .header-cta .btn { display: none; }
  .nav-shell { grid-template-columns: auto 1fr auto; gap: 16px; }
  .header-cta { grid-column: 3; justify-self: end; }
  .mobile-toggle { display: block; justify-self: end; }
  .brand img { width: 195px; }
  .mobile-panel {
    display: block; position: fixed; inset: var(--nav-h) 0 0; z-index: 490;
    background: rgba(255,255,255,.99); transform: translateX(100%);
    transition: transform .36s var(--ease); overflow-y: auto; padding: 24px;
  }
  body.menu-open .mobile-panel { transform: translateX(0); }
  .mobile-nav { width: min(100%, 650px); margin: 0 auto; }
  .mobile-link, .mobile-accordion-btn { width: 100%; min-height: 58px; display: flex; align-items: center; justify-content: space-between; border: 0; border-bottom: 1px solid var(--line); background: transparent; font-size: 18px; font-weight: 800; cursor: pointer; text-align: left; padding: 0; }
  .mobile-link.active { color: var(--brand-red); }
  .mobile-accordion { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
  .mobile-accordion.is-open { max-height: 550px; }
  .mobile-sub { display: grid; gap: 8px; padding: 12px 0 18px; }
  .mobile-sub a { padding: 13px 14px; background: var(--surface-2); border-radius: 10px; color: #4c4c52; font-weight: 700; }
  .mobile-cta { margin-top: 22px; }
  .mobile-cta .btn { width: 100%; }
  .hero-grid, .page-hero-grid, .statement-grid, .contact-layout, .contact-page-grid, .audience-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-home::after, .page-hero::after { width: 100%; height: 32%; top: auto; bottom: 0; }
  .hero-grid { min-height: auto; }
  .hero-visual { max-width: 680px; width: 100%; padding-left: 0; }
  .floating-card { right: 18px; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; }
  .section-heading .lead { justify-self: start; }
  .solutions-grid .solution-card, .solutions-grid .solution-card.wide { grid-column: span 6; }
  .method-grid { grid-template-columns: repeat(2,1fr); gap: 0; }
  .method-item { padding-bottom: 28px; }
  .insights-grid { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > :first-child { grid-column: 1 / -1; }
  .capability-inner { grid-template-columns: repeat(2,1fr); }
  .capability:nth-child(2) { border-right: 0; }
  .capability:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 720px) {
  .container, .container-wide { width: min(calc(100% - 30px), var(--max)); }
  .section { padding: 78px 0; }
  .section-tight { padding: 58px 0; }
  .brand img { width: 175px; }
  .hero-home { padding: 58px 0 72px; }
  .hero-grid { gap: 42px; }
  .display { font-size: clamp(43px, 14vw, 63px); }
  .h1 { font-size: clamp(40px, 12vw, 58px); }
  .h2 { font-size: clamp(32px, 10vw, 45px); }
  .hero-copy .lead { margin-top: 22px; font-size: 17px; }
  .hero-actions .btn, .page-hero-actions .btn { width: 100%; }
  .hero-tags { margin-top: 28px; }
  .hero-visual { padding: 0; }
  .visual-frame { min-height: 440px; padding: 23px; border-radius: 20px; }
  .visual-message { font-size: 31px; }
  .floating-card { position: relative; right: auto; bottom: auto; width: calc(100% - 26px); margin: -52px 13px 0 auto; }
  .section-heading { margin-bottom: 34px; }
  .capability-inner { grid-template-columns: 1fr; }
  .capability { border-right: 0; border-bottom: 1px solid var(--line); }
  .capability:last-child { border-bottom: 0; }
  .solutions-grid { grid-template-columns: 1fr; }
  .solutions-grid .solution-card, .solutions-grid .solution-card.wide { grid-column: 1; min-height: 300px; }
  .solution-card .h3 { padding-top: 56px; }
  .method-grid { grid-template-columns: 1fr; }
  .method-item { border-right: 0; margin-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); padding: 26px 0; }
  .method-item:last-child { border-bottom: 0; }
  .insights-grid { grid-template-columns: 1fr; }
  .contact-layout { gap: 40px; }
  .contact-card { padding: 22px; border-radius: 17px; }
  .form-head { flex-direction: column; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .page-hero { padding: 58px 0 62px; }
  .service-poster { min-height: 315px; padding: 22px; }
  .poster-title { font-size: 32px; }
  .outcomes { grid-template-columns: 1fr; }
  .process-row { grid-template-columns: 1fr; gap: 10px; }
  .red-cta-inner { align-items: flex-start; flex-direction: column; }
  .red-cta-actions { justify-content: flex-start; width: 100%; }
  .red-cta-actions .btn { width: 100%; }
  .values-grid { grid-template-columns: 1fr; }
  .value-cell { border-right: 0; border-bottom: 1px solid var(--line) !important; }
  .value-cell:last-child { border-bottom: 0 !important; }
  .services-overview-grid { grid-template-columns: 1fr; }
  .insights-list .insight-row { grid-template-columns: 1fr auto; gap: 12px; }
  .insight-row .category { grid-column: 1 / -1; }
  .insight-row p { display: none; }
  .map-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 34px; padding-top: 52px; }
  .footer-main > :first-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; padding: 18px 0; }
}


/* Componentes compartilhados */
[data-include] { min-height: 1px; }
.lucide { width: 1em; height: 1em; stroke-width: 1.8; flex: 0 0 auto; }
.btn .lucide, .solution-link .lucide, .insight-arrow .lucide { width: 17px; height: 17px; }
.site-loader .loader-logo { width: 198px; }

/* Mega menu */
.mega-host { padding-bottom: 0; }
.mega-host::after { content:""; position:absolute; z-index:1; left:-18px; right:-18px; top:100%; height:18px; }
.mega-menu { top: calc(100% + 9px); width: 700px; padding: 14px; z-index: 3; }
.mega-grid { gap: 7px 9px; }
.mega-link { grid-template-columns: 44px minmax(0,1fr); gap: 12px; align-items: start; min-height: 93px; padding: 14px 15px; }
.mega-link.mega-full { grid-column: 1/-1; min-height: 82px; }
.mega-icon { width: 44px; height: 44px; border-radius: 12px; display:flex; align-items:center; justify-content:center; margin-top:1px; }
.mega-icon .lucide { width: 21px; height: 21px; }
.mega-copy { min-width:0; display:block; padding-top:2px; }
.mega-copy strong { display:block; font-size:14px; line-height:1.2; color:#5b5b61; }
.mega-copy small { display:block; margin-top:6px; color:#74747b; line-height:1.42; font-size:12px; }
.mega-link:hover .mega-copy strong { color:var(--brand-red); }
.mega-footer strong { display:inline-flex; align-items:center; gap:7px; white-space:nowrap; }
.mega-footer .lucide { width:16px; height:16px; }
.nav-trigger .chevron { width:14px; height:14px; }

/* Imagens */
.hero-photo-card { position:relative; margin:0; min-height:530px; border-radius:28px; overflow:hidden; box-shadow:var(--shadow-md); background:#e9e9eb; isolation:isolate; }
.hero-photo-card::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(20,20,22,.04) 20%,rgba(20,20,22,.70) 100%); z-index:1; }
.hero-photo-card img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .9s var(--ease); }
.hero-photo-card:hover img { transform:scale(1.025); }
.hero-photo-copy { position:absolute; z-index:2; left:28px; right:28px; bottom:26px; color:#fff; display:grid; gap:10px; }
.hero-photo-copy small { font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.14em; color:rgba(255,255,255,.73); }
.hero-photo-copy strong { max-width:470px; font-size:22px; line-height:1.12; letter-spacing:-.02em; }
.hero-photo-chip { width:max-content; max-width:100%; display:inline-flex; align-items:center; gap:8px; padding:9px 11px; border:1px solid rgba(255,255,255,.26); border-radius:999px; background:rgba(18,18,20,.34); backdrop-filter:blur(8px); font-size:12px; font-weight:700; }
.hero-photo-chip .lucide { width:15px; height:15px; }
.hero-visual { padding-left: 0; }

.service-poster.has-photo { position:relative; overflow:hidden; min-height:440px; padding:30px; justify-content:flex-end; background:#18181b; color:#fff; isolation:isolate; }
.service-poster.has-photo::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(18,18,20,.08),rgba(18,18,20,.82)); z-index:0; }
.service-poster.has-photo .service-photo { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-1; transition:transform .85s var(--ease); }
.service-poster.has-photo:hover .service-photo { transform:scale(1.025); }
.service-poster.has-photo > *:not(.service-photo) { position:relative; z-index:2; }
.service-poster.has-photo .poster-label { color:rgba(255,255,255,.74); }
.service-poster.has-photo .poster-title { color:#fff; text-shadow:0 2px 16px rgba(0,0,0,.15); }
.service-poster.has-photo .poster-tags span { background:rgba(255,255,255,.12); border-color:rgba(255,255,255,.22); color:#fff; backdrop-filter:blur(7px); }

.editorial-image { position:relative; min-height:470px; border-radius:24px; overflow:hidden; background:#eee; box-shadow:var(--shadow-sm); }
.editorial-image img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.editorial-image .caption { position:absolute; left:18px; right:18px; bottom:18px; display:flex; justify-content:space-between; gap:20px; align-items:center; padding:13px 15px; border-radius:12px; background:rgba(255,255,255,.92); backdrop-filter:blur(8px); font-size:12px; font-weight:700; color:#4d4d52; }
.media-split { display:grid; grid-template-columns:.92fr 1.08fr; gap:62px; align-items:center; }

/* Cards de insights */
.insight-card { overflow:hidden; padding:0; }
.insight-card .insight-top { min-height:210px; padding:18px; position:relative; overflow:hidden; background:#eee; }
.insight-card .insight-cover { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .55s var(--ease); }
.insight-card:hover .insight-cover { transform:scale(1.04); }
.insight-card .insight-top::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(0,0,0,.06),rgba(0,0,0,.40)); }
.insight-card .insight-category { position:relative; z-index:1; background:rgba(255,255,255,.94); color:var(--brand-red); border:0; }
.insight-card .insight-body { padding:24px; }
.insights-list { grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.insights-list .insight-row { display:block; padding:0; overflow:hidden; border-radius:18px; }
.insight-thumb { height:220px; position:relative; overflow:hidden; background:#eee; }
.insight-thumb img { width:100%; height:100%; object-fit:cover; transition:transform .55s var(--ease); }
.insight-row:hover .insight-thumb img { transform:scale(1.035); }
.insight-row-content { padding:23px 24px 24px; position:relative; }
.insight-row-content .category { display:inline-flex; margin-bottom:12px; }
.insight-row-content h3 { padding-right:38px; }
.insight-row-content p { min-height:44px; }
.insight-row-content .insight-arrow { position:absolute; right:22px; top:24px; }

/* Páginas de artigos */
.article-hero { padding:70px 0 54px; }
.article-hero-grid { display:grid; grid-template-columns:1fr .94fr; gap:58px; align-items:center; }
.article-meta { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:18px; }
.article-category { display:inline-flex; align-items:center; gap:7px; padding:8px 11px; border-radius:999px; background:var(--brand-red-soft); color:var(--brand-red); font-size:12px; font-weight:800; }
.article-category .lucide { width:14px; height:14px; }
.article-hero .lead { margin-top:22px; }
.article-image { min-height:450px; position:relative; overflow:hidden; border-radius:24px; background:#eee; box-shadow:var(--shadow-md); }
.article-image img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.article-content-wrap { width:min(calc(100% - 48px), 920px); margin:0 auto; }
.article-content { font-size:18px; line-height:1.76; color:#49494f; }
.article-content h2 { margin:54px 0 16px; font-size:32px; line-height:1.08; letter-spacing:-.035em; color:var(--ink); }
.article-content h3 { margin:34px 0 12px; font-size:22px; color:var(--ink); }
.article-content p { margin:0 0 20px; }
.article-content ul { margin:0 0 26px; padding:0; list-style:none; display:grid; gap:10px; }
.article-content li { position:relative; padding-left:29px; }
.article-content li::before { content:""; position:absolute; left:0; top:.72em; width:13px; height:2px; border-radius:2px; background:var(--brand-red); }
.article-quote { margin:38px 0; padding:28px 30px; border-left:3px solid var(--brand-red); background:var(--brand-red-faint); border-radius:0 16px 16px 0; color:#303035; font-weight:700; font-size:21px; line-height:1.45; }
.article-back { display:inline-flex; align-items:center; gap:8px; color:var(--brand-red); font-weight:800; font-size:13px; margin-top:24px; }

/* Ícones do rodapé */
.footer-links a, .footer-links span { display:flex; align-items:flex-start; gap:8px; }
.footer-links .lucide { width:15px; height:15px; margin-top:2px; }

/* Formulário de contato */
.form-status.is-success { color:#16794c; }
.form-status.is-error { color:#a91d25; }
.hp-field { position:absolute !important; left:-10000px !important; width:1px !important; height:1px !important; overflow:hidden !important; }

@media (max-width: 900px) {
  .media-split, .article-hero-grid { grid-template-columns:1fr; gap:32px; }
  .hero-photo-card { min-height:450px; }
  .service-poster.has-photo { min-height:390px; }
  .insights-list { grid-template-columns:1fr; }
  .article-image { min-height:360px; }
}
@media (max-width: 620px) {
  .hero-photo-card { min-height:410px; border-radius:20px; }
  .hero-photo-copy { left:20px; right:20px; bottom:20px; }
  .hero-photo-copy strong { font-size:19px; }
  .service-poster.has-photo { min-height:340px; padding:22px; }
  .editorial-image { min-height:340px; border-radius:18px; }
  .insight-card .insight-top, .insight-thumb { min-height:190px; height:190px; }
  .article-hero { padding-top:48px; }
  .article-image { min-height:300px; border-radius:18px; }
  .article-content-wrap { width:min(calc(100% - 34px), 920px); }
  .article-content { font-size:17px; }
  .article-content h2 { font-size:28px; }
}



/* Estados da navegação */
.nav-link,
.nav-trigger {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.nav-link::after,
.nav-trigger::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 7px;
  height: 2px;
  border-radius: 999px;
  background: var(--brand-red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .28s var(--ease);
}
.nav-link:hover::after,
.nav-link.active::after,
.nav-trigger:hover::after,
.nav-trigger.active::after,
.nav-item.is-open .nav-trigger::after {
  transform: scaleX(1);
}
.nav-link.is-pressed,
.nav-trigger.is-pressed {
  transform: translateY(1px) scale(.985);
}

/* Indicador de navegação */
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: var(--brand-red);
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
  z-index: 6;
}
body.page-leaving .site-header::after {
  opacity: 1;
  animation: navProgress .48s var(--ease) forwards;
}
@keyframes navProgress {
  0% { transform: scaleX(.04); }
  65% { transform: scaleX(.72); }
  100% { transform: scaleX(1); }
}

/* Transição entre páginas */
.page-curtain {
  transform: none;
  clip-path: inset(100% 0 0 0);
  transition: clip-path .56s var(--ease);
}
.page-curtain::before {
  content: "";
  position: absolute;
  width: 54px;
  height: 2px;
  border-radius: 99px;
  background: rgba(255,255,255,.58);
  transform: scaleX(0);
  transition: transform .36s var(--ease) .16s;
}
body.page-leaving .page-curtain {
  transform: none;
  clip-path: inset(0 0 0 0);
}
body.page-leaving .page-curtain::before { transform: scaleX(1); }
body.page-leaving .page-curtain img { transform: translateY(-24px); }

/* Colunas do mega menu */
.mega-host { padding-bottom: 8px; margin-bottom: -8px; }
.mega-host::after {
  left: -26px;
  right: -26px;
  top: 100%;
  height: 28px;
  pointer-events: auto;
}
.mega-menu {
  top: calc(100% + 7px);
  width: 720px;
  padding: 14px;
  border-radius: 20px;
  transform: translate(-50%, 14px) scale(.985);
  transform-origin: 50% 0;
  box-shadow: 0 34px 90px rgba(31,20,21,.16);
  transition: opacity .24s ease, transform .3s var(--ease), visibility .24s;
}
.nav-item.is-open .mega-menu {
  transform: translate(-50%, 0) scale(1);
}
.mega-grid { gap: 8px 10px; }
.mega-menu .mega-link {
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  min-height: 98px;
  padding: 15px;
  opacity: 0;
  transform: translateY(8px);
  will-change: transform, opacity;
}
.nav-item.is-open .mega-link {
  animation: megaItemIn .38s var(--ease) forwards;
}
.nav-item.is-open .mega-link:nth-child(1) { animation-delay: .025s; }
.nav-item.is-open .mega-link:nth-child(2) { animation-delay: .055s; }
.nav-item.is-open .mega-link:nth-child(3) { animation-delay: .085s; }
.nav-item.is-open .mega-link:nth-child(4) { animation-delay: .115s; }
.nav-item.is-open .mega-link:nth-child(5) { animation-delay: .145s; }
@keyframes megaItemIn { to { opacity: 1; transform: none; } }

.mega-menu .mega-icon {
  width: 46px;
  height: 46px;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 12px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: start;
  color: var(--brand-red) !important;
  background: var(--brand-red-soft);
  line-height: 1 !important;
  transition: background .25s ease, color .25s ease, transform .25s var(--ease);
}
.mega-menu .mega-icon svg,
.mega-menu .mega-icon .lucide {
  width: 21px !important;
  height: 21px !important;
  margin: 0 !important;
  display: block !important;
  flex: none;
  stroke: currentColor;
}
.mega-menu .mega-copy {
  min-width: 0;
  display: block !important;
  margin: 0 !important;
  padding: 2px 0 0 !important;
  color: inherit !important;
  line-height: normal !important;
}
.mega-menu .mega-copy strong {
  display: block;
  margin: 0;
  color: #4d4d52;
  font-size: 14px;
  line-height: 1.24;
  font-weight: 800;
}
.mega-menu .mega-copy small {
  display: block;
  margin: 7px 0 0;
  color: #73737a;
  font-size: 12px;
  line-height: 1.45;
}
.mega-menu .mega-link:hover .mega-icon {
  background: var(--brand-red);
  color: #fff !important;
  transform: translateY(-2px);
}
.mega-menu .mega-link:hover .mega-copy strong { color: var(--brand-red); }
.mega-menu .mega-footer {
  opacity: 0;
  transform: translateY(7px);
  transition: background .22s ease;
}
.nav-item.is-open .mega-footer {
  animation: megaItemIn .4s var(--ease) .18s forwards;
}
.mega-menu .mega-footer:hover { background: #242426; }
.mega-menu .mega-footer strong .lucide { transition: transform .22s var(--ease); }
.mega-menu .mega-footer:hover strong .lucide { transform: translateX(4px); }

/* Animações de rolagem */
[data-reveal] {
  opacity: 0;
  filter: blur(5px);
  transform: translate3d(0, 34px, 0) scale(.992);
  transition:
    opacity .78s var(--ease),
    transform .82s var(--ease),
    filter .72s ease;
  transition-delay: var(--delay, 0ms);
  will-change: transform, opacity, filter;
}
[data-reveal="left"] { transform: translate3d(-38px, 0, 0) scale(.992); }
[data-reveal="right"] { transform: translate3d(38px, 0, 0) scale(.992); }
[data-reveal].is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0,0,0) scale(1);
}

/* Movimento de imagens e cards */
.insight-card[data-reveal] .insight-cover,
.insight-row[data-reveal] .insight-thumb img,
.hero-photo-card img {
  transform: scale(1.035);
  transition: transform 1.05s var(--ease), filter .45s ease;
}
.insight-card[data-reveal].is-visible .insight-cover,
.insight-row[data-reveal].is-visible .insight-thumb img,
.hero-photo-card:hover img {
  transform: scale(1);
}
.solution-card,
.insight-card,
.outcome,
.value-cell,
.principle {
  transition-timing-function: var(--ease);
}
.solution-card:hover .solution-icon,
.outcome:hover .outcome-icon,
.principle:hover .principle-icon {
  transform: translateY(-3px) rotate(-2deg);
}
.solution-icon,
.outcome-icon,
.principle-icon {
  transition: transform .28s var(--ease), background .28s ease, color .28s ease;
}

/* Indicador de rolagem */
@media (min-width: 1081px) {
  .page-hero .page-hero-copy,
  .hero-home .hero-copy { animation: contentSettle .7s var(--ease) .18s both; }
  @keyframes contentSettle {
    from { opacity: .01; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
  }
}

@media (max-width: 1080px) {
  .mega-host { padding-bottom: 0; margin-bottom: 0; }
  .nav-link::after, .nav-trigger::after { display: none; }
  .mobile-link { transition: color .22s ease, padding-left .22s var(--ease), background .22s ease; }
  .mobile-link:active { padding-left: 7px; color: var(--brand-red); }
  .mobile-sub a {
    display: flex;
    align-items: center;
    gap: 11px;
    transition: background .22s ease, color .22s ease, transform .22s var(--ease);
  }
  .mobile-sub a .lucide { width: 18px; height: 18px; flex: 0 0 18px; }
  .mobile-sub a:active { transform: scale(.985); }
}



/* Animação do loader */
.site-loader {
  transition: opacity .48s ease, visibility .48s ease;
}
.loader-inner {
  gap: 24px;
}
.site-loader .loader-logo {
  animation: loaderLogoBreath 1.5s ease-in-out infinite;
  transform-origin: center;
}
.orbit-loader {
  width: 46px;
  height: 46px;
  border: 3px solid rgba(189,34,43,.13);
  border-top-color: var(--brand-red);
  border-right-color: var(--brand-red);
  border-radius: 50%;
  animation: loaderSpin .82s linear infinite;
  will-change: transform;
}
.orbit-loader::before {
  inset: 7px;
  border-color: rgba(189,34,43,.10);
}
.orbit-dot { display: none; }
@keyframes loaderSpin { to { transform: rotate(360deg); } }
@keyframes loaderLogoBreath {
  0%,100% { opacity:.78; transform:scale(.985); }
  50% { opacity:1; transform:scale(1); }
}

/* Entrada da navbar */
.site-header .brand,
.site-header .desktop-nav > .nav-item,
.site-header .desktop-nav > .nav-link,
.site-header .header-cta {
  opacity: 0;
  transform: translateY(-16px);
}
body.site-ready .site-header .brand {
  animation: navEnter .56s var(--ease) .04s forwards;
}
body.site-ready .site-header .desktop-nav > :nth-child(1) { animation: navEnter .52s var(--ease) .10s forwards; }
body.site-ready .site-header .desktop-nav > :nth-child(2) { animation: navEnter .52s var(--ease) .15s forwards; }
body.site-ready .site-header .desktop-nav > :nth-child(3) { animation: navEnter .52s var(--ease) .20s forwards; }
body.site-ready .site-header .desktop-nav > :nth-child(4) { animation: navEnter .52s var(--ease) .25s forwards; }
body.site-ready .site-header .desktop-nav > :nth-child(5) { animation: navEnter .52s var(--ease) .30s forwards; }
body.site-ready .site-header .desktop-nav > :nth-child(6) { animation: navEnter .52s var(--ease) .35s forwards; }
body.site-ready .site-header .header-cta {
  animation: navEnter .56s var(--ease) .32s forwards;
}
@keyframes navEnter {
  from { opacity:0; transform:translateY(-16px); }
  to { opacity:1; transform:translateY(0); }
}

/* Interação da navbar */
.nav-link,
.nav-trigger,
.header-contact,
.brand img {
  will-change: transform;
}
.brand img { transition: transform .35s var(--ease), opacity .25s ease; }
.brand:hover img { transform: translateY(-2px) scale(1.012); }
.nav-link:hover,
.nav-trigger:hover { transform: translateY(-2px); }
.nav-link,
.nav-trigger { transition: color .2s ease, background .2s ease, transform .25s var(--ease); }
.site-header.scrolled .nav-shell { transform: translateY(-1px); }
.nav-shell { transition: transform .32s var(--ease); }

/* Entrada do hero */
.hero-enter {
  opacity: 0;
  transform: translateY(28px);
  animation: none;
}
body.site-ready .hero-enter {
  animation: heroEnterV6 .78s var(--ease) forwards;
}
body.site-ready .hero-enter:nth-child(1) { animation-delay:.10s; }
body.site-ready .hero-enter:nth-child(2) { animation-delay:.18s; }
body.site-ready .hero-enter:nth-child(3) { animation-delay:.26s; }
body.site-ready .hero-enter:nth-child(4) { animation-delay:.34s; }
body.site-ready .hero-enter:nth-child(5) { animation-delay:.42s; }
.hero-visual.hero-enter,
.service-poster.hero-enter { animation-delay:.30s !important; }
@keyframes heroEnterV6 {
  0% { opacity:0; transform:translate3d(0,28px,0) scale(.992); filter:blur(5px); }
  100% { opacity:1; transform:translate3d(0,0,0) scale(1); filter:blur(0); }
}

/* Entrada do menu mobile */
@media (max-width:1080px) {
  .site-header .brand,
  .site-header .header-cta { opacity:0; transform:translateY(-12px); }
  body.site-ready .site-header .brand { animation:navEnter .48s var(--ease) .04s forwards; }
  body.site-ready .site-header .header-cta { animation:navEnter .48s var(--ease) .12s forwards; }
  .mobile-panel .mobile-link,
  .mobile-panel .mobile-accordion-btn,
  .mobile-panel .mobile-cta {
    opacity:0;
    transform:translateX(22px);
    transition: opacity .36s ease, transform .42s var(--ease);
  }
  body.menu-open .mobile-panel .mobile-link,
  body.menu-open .mobile-panel .mobile-accordion-btn,
  body.menu-open .mobile-panel .mobile-cta { opacity:1; transform:none; }
  body.menu-open .mobile-panel .mobile-link:nth-of-type(1) { transition-delay:.07s; }
  body.menu-open .mobile-panel .mobile-accordion-btn { transition-delay:.11s; }
  body.menu-open .mobile-panel .mobile-link:nth-of-type(2) { transition-delay:.15s; }
  body.menu-open .mobile-panel .mobile-link:nth-of-type(3) { transition-delay:.19s; }
  body.menu-open .mobile-panel .mobile-link:nth-of-type(4) { transition-delay:.23s; }
  body.menu-open .mobile-panel .mobile-cta { transition-delay:.27s; }
}

/* Crédito do desenvolvedor */
.footer-bottom .developer-credit {
  display:inline-flex;
  align-items:center;
  gap:9px;
  color:#8b8b90;
  transition:opacity .22s ease, transform .25s var(--ease);
}
.footer-bottom .developer-credit:hover {
  opacity:.72;
  transform:translateY(-1px);
}
.footer-bottom .developer-credit img {
  display:block;
  width:auto;
  height:22px;
  max-width:108px;
  object-fit:contain;
  filter: grayscale(1) saturate(0) brightness(.78) contrast(1.12);
  opacity:.82;
}


/* Estado após o pré-carregamento */
html.app-warm .site-loader { display: none !important; }

/* Saída da página */
main,
.site-footer {
  transform-origin: 50% 18%;
}
body.page-leaving main,
body.page-leaving .site-footer {
  opacity: 0;
  filter: blur(6px);
  transform: translate3d(0,-22px,0) scale(.994);
  transition:
    opacity .42s ease,
    transform .48s var(--ease),
    filter .38s ease;
  pointer-events: none;
}
body.page-leaving .site-header {
  transform: translateY(-2px);
  transition: transform .42s var(--ease), box-shadow .3s ease, border-color .3s ease;
}

/* Cortina de transição */
.page-curtain {
  transform: none !important;
  clip-path: inset(100% 0 0 0);
  transition: clip-path .56s var(--ease) !important;
  will-change: clip-path;
}
.page-curtain::before {
  transform: scaleX(0);
  transition: transform .34s var(--ease) .12s;
}
.page-curtain img {
  opacity: 0;
  transform: translateY(18px) scale(.985);
  transition: opacity .28s ease .14s, transform .38s var(--ease) .12s;
}
body.page-leaving .page-curtain {
  clip-path: inset(0 0 0 0);
}
body.page-leaving .page-curtain::before { transform: scaleX(1); }
body.page-leaving .page-curtain img {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Entrada da página */
html.app-transition-in .page-curtain {
  clip-path: inset(0 0 0 0) !important;
  transition: none !important;
}
html.app-transition-in .page-curtain::before {
  transform: scaleX(1);
  transition: none;
}
html.app-transition-in .page-curtain img {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: none;
}
html.app-transition-in body main,
html.app-transition-in body .site-footer {
  opacity: 0;
  filter: blur(6px);
  transform: translate3d(0,24px,0) scale(.994);
}
html.app-transition-in.transition-release .page-curtain {
  clip-path: inset(0 0 100% 0) !important;
  transition: clip-path .64s var(--ease) !important;
}
html.app-transition-in.transition-release .page-curtain::before {
  transform: scaleX(0);
  transition: transform .28s ease;
}
html.app-transition-in.transition-release .page-curtain img {
  opacity: 0;
  transform: translateY(-22px) scale(.985);
  transition: opacity .24s ease, transform .34s var(--ease);
}
html.app-transition-in.transition-release body main {
  animation: pageInV7 .72s var(--ease) .10s both;
}
html.app-transition-in.transition-release body .site-footer {
  animation: pageInV7 .72s var(--ease) .18s both;
}
@keyframes pageInV7 {
  from { opacity:0; filter:blur(6px); transform:translate3d(0,24px,0) scale(.994); }
  to { opacity:1; filter:blur(0); transform:translate3d(0,0,0) scale(1); }
}

/* Carregamento dos componentes */
html.app-warm:not(.app-transition-in) body:not(.site-ready) main,
html.app-warm:not(.app-transition-in) body:not(.site-ready) .site-footer {
  opacity: 0;
}
html.app-warm:not(.app-transition-in) body.site-ready main {
  animation: warmPageInV7 .48s var(--ease) both;
}
html.app-warm:not(.app-transition-in) body.site-ready .site-footer {
  animation: warmPageInV7 .48s var(--ease) .05s both;
}
@keyframes warmPageInV7 {
  from { opacity:0; transform:translateY(10px); }
  to { opacity:1; transform:none; }
}

@media (max-width: 620px) {
  body.page-leaving main,
  body.page-leaving .site-footer { transform: translate3d(0,-14px,0) scale(.996); }
  html.app-transition-in body main,
  html.app-transition-in body .site-footer { transform: translate3d(0,16px,0) scale(.996); }
}




/* Hero sem elementos decorativos */
.hero-home::after,
.page-hero::after { display: none !important; }

/* Estado fechado do dropdown */
body.page-leaving .mega-menu {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translate(-50%, -8px) scale(.985) !important;
  transition: opacity .12s ease, transform .16s var(--ease), visibility 0s linear .16s !important;
  pointer-events: none !important;
}
body.page-leaving .mega-link { animation: none !important; }
body.page-leaving .nav-trigger .chevron { transform: rotate(0deg) !important; }

/* Posição oculta da cortina */
.page-curtain {
  clip-path: inset(0 0 100% 0) !important;
  transition: clip-path .56s var(--ease) !important;
}
body.page-leaving .page-curtain { clip-path: inset(0 0 0 0) !important; }
html.app-transition-in .page-curtain { clip-path: inset(0 0 0 0) !important; }
html.app-transition-in.transition-release .page-curtain {
  clip-path: inset(0 0 100% 0) !important;
  transition: clip-path .64s var(--ease) !important;
}

/* Evita repetir animações após a transição */
html.app-warm body.site-ready .site-header .brand,
html.app-warm body.site-ready .site-header .desktop-nav > .nav-item,
html.app-warm body.site-ready .site-header .desktop-nav > .nav-link,
html.app-warm body.site-ready .site-header .header-cta {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}
html.app-warm body.site-ready .hero-enter {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  animation: none !important;
}

/* Destaque dos cards de insights */
.insight-row.insight-accent-red,
.insight-card.insight-accent-red {
  border-color: rgba(189,34,43,.28);
  box-shadow: inset 0 3px 0 var(--brand-red);
}
.insight-row.insight-accent-red .insight-thumb::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--brand-red);
  z-index: 2;
}
.insight-row.insight-accent-red .category,
.insight-card.insight-accent-red .insight-category {
  background: var(--brand-red);
  color: #fff;
  border-color: var(--brand-red);
  padding: 7px 10px;
  border-radius: 999px;
}
.insight-row.insight-accent-red .insight-arrow {
  background: var(--brand-red);
  color: #fff;
  border-color: var(--brand-red);
  box-shadow: 0 8px 20px rgba(189,34,43,.18);
}
.insight-card.insight-accent-red .insight-body {
  position: relative;
}
.insight-card.insight-accent-red .insight-body::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 0;
  width: 48px;
  height: 3px;
  background: var(--brand-red);
}

@media (max-width:1080px) {
  html.app-warm body.site-ready .site-header .brand,
  html.app-warm body.site-ready .site-header .header-cta {
    opacity:1 !important;
    transform:none !important;
    animation:none !important;
  }
}


/* Alternância de tema */
.theme-toggle {
  appearance:none;
  border:0;
  background:transparent;
  padding:0;
  width:50px;
  height:30px;
  display:inline-grid;
  place-items:center;
  cursor:pointer;
  border-radius:999px;
  flex:0 0 auto;
  -webkit-tap-highlight-color:transparent;
}
.theme-toggle-track {
  width:48px;
  height:28px;
  padding:3px;
  border:1px solid var(--line-strong);
  border-radius:999px;
  background:linear-gradient(135deg,#f3f3f5,#ffffff);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.85),0 5px 16px rgba(18,18,20,.07);
  transition:background .35s var(--ease),border-color .35s ease,box-shadow .35s ease;
  display:block;
}
.theme-toggle-thumb {
  width:20px;
  height:20px;
  border-radius:50%;
  display:grid;
  place-items:center;
  position:relative;
  background:#fff;
  color:#5c5c62;
  box-shadow:0 2px 7px rgba(20,20,24,.14);
  transform:translateX(0);
  transition:transform .38s var(--ease),background .3s ease,color .3s ease,box-shadow .3s ease;
}
.theme-toggle .theme-icon {
  position:absolute;
  width:12px;
  height:12px;
  transition:opacity .24s ease,transform .32s var(--ease);
}
.theme-toggle .theme-icon-sun { opacity:1; transform:rotate(0deg) scale(1); }
.theme-toggle .theme-icon-moon { opacity:0; transform:rotate(-35deg) scale(.55); }
.theme-toggle:hover .theme-toggle-track { border-color:rgba(189,34,43,.4); }
.theme-toggle:focus-visible { outline:3px solid rgba(189,34,43,.2); outline-offset:3px; }

/* Suaviza apenas a troca de tema */
html.theme-changing body,
html.theme-changing .site-header,
html.theme-changing .mega-menu,
html.theme-changing .mobile-panel,
html.theme-changing .site-footer,
html.theme-changing .section-soft,
html.theme-changing .hero-home,
html.theme-changing .page-hero,
html.theme-changing .solution-card,
html.theme-changing .service-overview-card,
html.theme-changing .insight-card,
html.theme-changing .insight-row,
html.theme-changing .outcome,
html.theme-changing .value-cell,
html.theme-changing .contact-card,
html.theme-changing .map-card,
html.theme-changing .article-quote,
html.theme-changing .capability-strip {
  transition-property:background,background-color,border-color,color,box-shadow,opacity,transform,filter;
  transition-duration:.42s;
  transition-timing-function:var(--ease);
}

html[data-theme="dark"] {
  color-scheme:dark;
  --brand-red:#d12b35;
  --brand-red-2:#ba222c;
  --brand-red-dark:#74131a;
  --brand-red-soft:#2b1317;
  --brand-red-faint:#1d1012;
  --ink:#f2f2f4;
  --ink-2:#d8d8dc;
  --muted:#a5a5ad;
  --line:#2d2d32;
  --line-strong:#3c3c42;
  --surface:#0c0c0f;
  --surface-2:#121215;
  --shadow-sm:0 10px 30px rgba(0,0,0,.24);
  --shadow-md:0 28px 78px rgba(0,0,0,.38);
  --shadow-red:0 24px 58px rgba(189,34,43,.22);
}

html[data-theme="dark"] body {
  color:var(--ink);
  background:
    radial-gradient(circle at 88% 5%,rgba(189,34,43,.11),transparent 25rem),
    radial-gradient(circle at 12% 44%,rgba(100,100,110,.08),transparent 30rem),
    linear-gradient(135deg,#09090b 0%,#101013 48%,#0b0b0e 100%);
  background-attachment:fixed;
}
html[data-theme="dark"] .section:not(.section-red):not(.section-deep-red),
html[data-theme="dark"] .section-tight:not(.section-red):not(.section-deep-red) {
  background-color:transparent;
}
html[data-theme="dark"] .section-soft {
  background:
    radial-gradient(circle at 92% 0,rgba(189,34,43,.075),transparent 29rem),
    linear-gradient(135deg,#151518 0%,#101013 53%,#17171a 100%);
}
html[data-theme="dark"] .section-red,
html[data-theme="dark"] .section-deep-red,
html[data-theme="dark"] .contact-page-hero,
html[data-theme="dark"] .red-cta {
  background:
    radial-gradient(circle at 84% 20%,rgba(209,43,53,.32),transparent 24rem),
    linear-gradient(125deg,#08080a 0%,#171216 42%,#681219 100%);
}
html[data-theme="dark"] .method::after { background:linear-gradient(180deg,transparent,rgba(209,43,53,.48),transparent); }

/* Loader respeita o tema salvo */
html[data-theme="dark"] .site-loader {
  background:
    radial-gradient(circle at 50% 40%,rgba(189,34,43,.10),transparent 18rem),
    linear-gradient(145deg,#08080a,#151519);
}
html[data-theme="dark"] .site-loader .loader-logo,
html[data-theme="dark"] .site-header .brand img,
html[data-theme="dark"] .site-footer .footer-logo {
  content:url("../img/logo-focomanager-dark.png");
}
html[data-theme="dark"] .orbit-loader::before { border-color:rgba(209,43,53,.28); }
html[data-theme="dark"] .page-curtain {
  background:
    radial-gradient(circle at 70% 34%,rgba(255,72,84,.18),transparent 25rem),
    linear-gradient(125deg,#08080a 0%,#242126 45%,#9a1b24 100%);
}

/* Cabeçalho, navegação e dropdown */
html[data-theme="dark"] .site-header {
  background:rgba(12,12,15,.88);
  border-bottom-color:rgba(58,58,64,.66);
  box-shadow:0 10px 34px rgba(0,0,0,.12);
}
html[data-theme="dark"] .site-header.scrolled {
  background:rgba(10,10,12,.94);
  box-shadow:0 14px 36px rgba(0,0,0,.34);
}
html[data-theme="dark"] .nav-link,
html[data-theme="dark"] .nav-trigger { color:#c8c8ce; }
html[data-theme="dark"] .nav-link:hover,
html[data-theme="dark"] .nav-link.active,
html[data-theme="dark"] .nav-trigger:hover,
html[data-theme="dark"] .nav-trigger.active,
html[data-theme="dark"] .nav-item.is-open .nav-trigger {
  color:#ff6972;
  background:linear-gradient(135deg,rgba(209,43,53,.16),rgba(70,70,76,.13));
}
html[data-theme="dark"] .mega-menu {
  background:linear-gradient(145deg,rgba(25,25,29,.98),rgba(12,12,15,.99));
  border-color:#34343a;
  box-shadow:0 30px 80px rgba(0,0,0,.52),0 0 0 1px rgba(255,255,255,.015) inset;
}
html[data-theme="dark"] .mega-link:hover { background:linear-gradient(135deg,rgba(209,43,53,.13),rgba(255,255,255,.025)); }
html[data-theme="dark"] .mega-copy strong { color:#e4e4e8; }
html[data-theme="dark"] .mega-copy small { color:#95959e; }
html[data-theme="dark"] .mega-icon {
  background:linear-gradient(145deg,rgba(209,43,53,.21),rgba(80,80,86,.10));
  border:1px solid rgba(209,43,53,.18);
}
html[data-theme="dark"] .mega-footer {
  background:linear-gradient(110deg,#111114,#222226 62%,#321318);
  border:1px solid #323238;
}
html[data-theme="dark"] .mega-footer:hover { background:linear-gradient(110deg,#17171a,#29292e 60%,#45151b); }
html[data-theme="dark"] .mobile-toggle { background:#17171a; border-color:#393940; }
html[data-theme="dark"] .mobile-toggle span { background:#eeeeef; }
html[data-theme="dark"] .mobile-panel {
  background:linear-gradient(150deg,rgba(12,12,15,.995),rgba(22,22,26,.995));
}
html[data-theme="dark"] .mobile-sub a { background:#18181c; color:#d0d0d5; border:1px solid #2b2b31; }
html[data-theme="dark"] .theme-toggle-track {
  background:linear-gradient(135deg,#151518,#27272c 62%,#301318);
  border-color:#414148;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 7px 19px rgba(0,0,0,.28);
}
html[data-theme="dark"] .theme-toggle-thumb {
  transform:translateX(20px);
  background:linear-gradient(145deg,#d12b35,#8f1921);
  color:#fff;
  box-shadow:0 3px 12px rgba(189,34,43,.34);
}
html[data-theme="dark"] .theme-toggle .theme-icon-sun { opacity:0; transform:rotate(35deg) scale(.55); }
html[data-theme="dark"] .theme-toggle .theme-icon-moon { opacity:1; transform:rotate(0) scale(1); }

/* Superfícies principais */
html[data-theme="dark"] .hero-home {
  background:
    radial-gradient(circle at 83% 18%,rgba(209,43,53,.11),transparent 28rem),
    linear-gradient(135deg,#0a0a0d 0%,#111114 55%,#17171a 100%);
}
html[data-theme="dark"] .page-hero {
  background:
    radial-gradient(circle at 84% 30%,rgba(209,43,53,.10),transparent 25rem),
    linear-gradient(135deg,#0b0b0e,#151518);
  border-bottom-color:#2b2b31;
}
html[data-theme="dark"] .capability-strip {
  background:linear-gradient(90deg,#101013,#17171a 50%,#101013);
  border-color:#2c2c32;
}
html[data-theme="dark"] .hero-tag,
html[data-theme="dark"] .audience-chip,
html[data-theme="dark"] .expertise-cloud span {
  background:linear-gradient(145deg,#18181c,#111114);
  color:#c6c6cc;
  border-color:#34343a;
}
html[data-theme="dark"] .principle-icon,
html[data-theme="dark"] .floating-card {
  background:linear-gradient(145deg,#1b1b1f,#101013);
  border-color:#34343a;
}
html[data-theme="dark"] .floating-card { box-shadow:0 24px 62px rgba(0,0,0,.44); }

/* Cards */
html[data-theme="dark"] .solution-card,
html[data-theme="dark"] .service-overview-card,
html[data-theme="dark"] .outcome,
html[data-theme="dark"] .value-cell,
html[data-theme="dark"] .insight-card,
html[data-theme="dark"] .insights-list .insight-row,
html[data-theme="dark"] .map-card {
  background:linear-gradient(145deg,#19191d 0%,#111114 58%,#0e0e11 100%);
  border-color:#303036;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.018);
}
html[data-theme="dark"] .solution-card:hover,
html[data-theme="dark"] .service-overview-card:hover,
html[data-theme="dark"] .insight-card:hover,
html[data-theme="dark"] .insights-list .insight-row:hover {
  border-color:rgba(209,43,53,.43);
  box-shadow:0 24px 58px rgba(0,0,0,.32),0 0 0 1px rgba(209,43,53,.06) inset;
}
html[data-theme="dark"] .solution-card.featured {
  background:linear-gradient(135deg,#72131a 0%,#b3202a 58%,#d12b35 100%);
  border-color:#c12731;
  box-shadow:0 24px 58px rgba(130,18,26,.24);
}
html[data-theme="dark"] .solution-icon,
html[data-theme="dark"] .outcome-icon,
html[data-theme="dark"] .article-category,
html[data-theme="dark"] .form-badge {
  background:linear-gradient(145deg,rgba(209,43,53,.22),rgba(89,89,96,.08));
  border:1px solid rgba(209,43,53,.18);
}
html[data-theme="dark"] .insight-card .insight-category {
  background:rgba(18,18,21,.92);
  color:#ff626c;
}
html[data-theme="dark"] .insight-card.insight-accent-red .insight-category,
html[data-theme="dark"] .insight-row.insight-accent-red .category {
  background:var(--brand-red);
  color:#fff;
  border-color:var(--brand-red);
}
html[data-theme="dark"] .insight-card.insight-accent-red,
html[data-theme="dark"] .insight-row.insight-accent-red {
  border-color:rgba(209,43,53,.46);
  box-shadow:inset 0 3px 0 var(--brand-red),0 18px 42px rgba(0,0,0,.18);
}

/* Formulários e cards de contato */
html[data-theme="dark"] .contact-card {
  background:
    radial-gradient(circle at 100% 0,rgba(209,43,53,.10),transparent 17rem),
    linear-gradient(145deg,#1b1b1f,#101013);
  color:var(--ink);
  border:1px solid #34343a;
  box-shadow:0 32px 78px rgba(0,0,0,.42);
}
html[data-theme="dark"] .field label { color:#bdbdc4; }
html[data-theme="dark"] .field input,
html[data-theme="dark"] .field select,
html[data-theme="dark"] .field textarea {
  background:#0e0e11;
  color:#eeeeef;
  border-color:#38383f;
}
html[data-theme="dark"] .field input::placeholder,
html[data-theme="dark"] .field textarea::placeholder { color:#74747d; }
html[data-theme="dark"] .field input:focus,
html[data-theme="dark"] .field select:focus,
html[data-theme="dark"] .field textarea:focus {
  background:#151519;
  border-color:#d12b35;
  box-shadow:0 0 0 3px rgba(209,43,53,.13);
}
html[data-theme="dark"] .form-note { color:#777780; }

/* Áreas editoriais e artigos */
html[data-theme="dark"] .editorial-image .caption {
  background:rgba(17,17,20,.91);
  color:#d6d6da;
  border:1px solid rgba(255,255,255,.06);
}
html[data-theme="dark"] .article-content { color:#bcbcc3; }
html[data-theme="dark"] .article-content h2,
html[data-theme="dark"] .article-content h3 { color:#f1f1f3; }
html[data-theme="dark"] .article-quote {
  background:linear-gradient(100deg,rgba(209,43,53,.15),rgba(28,28,32,.72));
  color:#e1e1e5;
  border-left-color:#d12b35;
}

/* Mapa de contato */
html[data-theme="dark"] .map-placeholder { background:#131317; }
html[data-theme="dark"] .map-placeholder::before,
html[data-theme="dark"] .map-placeholder::after {
  background-image:linear-gradient(28deg,transparent 46%,#303036 47%,#303036 49%,transparent 50%),linear-gradient(-18deg,transparent 45%,#25252a 46%,#25252a 49%,transparent 50%);
  opacity:.75;
}

/* Footer */
html[data-theme="dark"] .site-footer {
  background:
    radial-gradient(circle at 12% 15%,rgba(209,43,53,.065),transparent 22rem),
    linear-gradient(145deg,#0b0b0e,#151518);
  border-top-color:#29292e;
}
html[data-theme="dark"] .footer-col h4 { color:#8f8f98; }
html[data-theme="dark"] .footer-links a,
html[data-theme="dark"] .footer-links span { color:#b2b2ba; }
html[data-theme="dark"] .footer-bottom { color:#797982; border-top-color:#29292f; }
html[data-theme="dark"] .footer-bottom .developer-credit { color:#8f8f98; }
html[data-theme="dark"] .footer-bottom .developer-credit img {
  filter:grayscale(1) saturate(0) brightness(1.42) contrast(.88);
  opacity:.78;
}

/* CTA claro em fundos escuros */
html[data-theme="dark"] .btn-ghost {
  background:linear-gradient(145deg,#19191d,#101013);
  color:#ededf0;
  border-color:#3a3a41;
}
html[data-theme="dark"] .btn-ghost:hover { border-color:#55555d; box-shadow:0 12px 30px rgba(0,0,0,.26); }
html[data-theme="dark"] .btn-white { color:#a71d26; }
html[data-theme="dark"] .lead,
html[data-theme="dark"] .section-copy { color:var(--muted); }

@media (max-width:1080px) {
  .theme-toggle { width:46px; }
  .theme-toggle-track { width:44px; }
  html[data-theme="dark"] .theme-toggle-thumb { transform:translateX(16px); }
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

@supports (overflow: clip) {
  html,
  body { overflow-x: clip; }
}

@media (max-width: 1080px) {
  .site-header,
  .nav-shell,
  main,
  .site-footer {
    max-width: 100%;
  }

  .nav-shell {
    grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto;
    min-width: 0;
  }

  .brand,
  .header-cta,
  .mobile-nav,
  .mobile-accordion,
  .mobile-sub {
    min-width: 0;
    max-width: 100%;
  }

  .mobile-panel {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overscroll-behavior-x: none;
  }
}

@media (max-width: 720px) {
  body { touch-action: pan-y pinch-zoom; }
}

/* Botão flutuante do WhatsApp */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 850;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 18px 0 15px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.01em;
  box-shadow: 0 12px 34px rgba(37,211,102,.34);
  transition: transform .22s var(--ease), box-shadow .22s ease, background .22s ease;
  animation: whatsappPulse 1.65s ease-in-out infinite;
}
.whatsapp-float:hover {
  background: #20bd5a;
  color: #fff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 38px rgba(37,211,102,.45);
}
.whatsapp-float:focus-visible {
  outline: 3px solid rgba(37,211,102,.28);
  outline-offset: 4px;
}
.whatsapp-float svg { width: 24px; height: 24px; flex: 0 0 auto; }
@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 12px 34px rgba(37,211,102,.30), 0 0 0 0 rgba(37,211,102,.26); }
  50% { box-shadow: 0 12px 34px rgba(37,211,102,.42), 0 0 0 11px rgba(37,211,102,0); }
}
@media (max-width: 640px) {
  .whatsapp-float { right: 14px; bottom: 14px; min-height: 52px; padding: 0 15px 0 13px; }
  .whatsapp-float span { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float { animation: none; }
}
