:root {
  --ink: #172338;
  --navy: #101c2f;
  --blue: #2563eb;
  --blue-light: #b9cbff;
  --orange: #ff7a30;
  --paper: #f7f9fc;
  --white: #ffffff;
  --line: #e3e8f0;
  --muted: #5f6f86;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Inter", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { color: var(--white); background: var(--blue); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.container { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
h1, h2, h3 { font-family: "Inter", Arial, sans-serif; }

.header { position: relative; z-index: 40; color: var(--white); background: var(--navy); }
.header.scrolled { position: sticky; top: 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 82px; }
.brand { display: inline-flex; color: var(--white); font-size: 31px; font-weight: 500; letter-spacing: -0.08em; line-height: 1; }
.brand-blue { color: #6e9aff; font-weight: 800; }
.brand-orange { color: var(--orange); font-weight: 800; }
.menu { display: flex; align-items: center; gap: 38px; margin-left: auto; font-size: 13px; font-weight: 600; }
.menu-link { color: #d4def0; }
.menu-link:hover, .solutions-trigger[aria-expanded="true"] { color: var(--white); }
.solutions-trigger { display: inline-flex; align-items: center; gap: 8px; padding: 0; color: #d4def0; border: 0; background: transparent; cursor: pointer; }
.solutions-trigger .chevron { display: inline-block; width: 7px; height: 7px; margin-top: -4px; border-right: 1.5px solid #8eb1ff; border-bottom: 1.5px solid #8eb1ff; transform: rotate(45deg); transition: transform 0.18s ease; }
.solutions-trigger[aria-expanded="true"] .chevron { margin-top: 4px; transform: rotate(225deg); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 23px; border-radius: 10px; font-size: 14px; font-weight: 700; transition: background 0.18s ease, color 0.18s ease; }
.button-small { min-height: 43px; padding: 0 18px; font-size: 12px; }
.button-blue { color: var(--white); background: var(--blue); }
.button-blue:hover { background: #3473ed; }
.button-light { color: var(--white); background: var(--orange); }
.button-light:hover { background: #e96520; }
.menu-toggle { display: none; padding: 8px 0; color: var(--white); border: 0; background: transparent; font-size: 12px; font-weight: 700; }

.menu-dropdown { position: static; }
.mega-menu { position: absolute; top: 82px; left: 50%; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 44px; width: min(calc(100% - 48px), 1160px); padding: 40px 44px 42px; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0 0 18px 18px; opacity: 0; pointer-events: none; transform: translate(-50%, -10px); transition: opacity 0.18s ease, transform 0.18s ease; }
.menu-dropdown:hover .mega-menu, .menu-dropdown:focus-within .mega-menu, .mega-menu.is-open { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.mega-column > p { margin: 0 0 20px; padding-bottom: 15px; color: var(--blue); border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 700; letter-spacing: 0.15em; }
.mega-column > a { display: grid; grid-template-columns: 54px 1fr; gap: 14px; align-items: start; margin-top: 22px; }
.mega-label { display: flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 3px; color: var(--blue); background: #edf3ff; border-radius: 8px; font-size: 9px; font-weight: 700; letter-spacing: 0.05em; }
.mega-column a b, .mega-column a small { display: block; }
.mega-column a b { margin-top: 1px; color: var(--ink); font-size: 16px; letter-spacing: -0.04em; }
.mega-column a small { margin-top: 7px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.mega-column a:hover b { color: var(--blue); }
.mega-column-note { padding-left: 8px; }
.mega-column-note h2 { max-width: 230px; margin: 0 0 25px; color: var(--ink); font-size: 25px; letter-spacing: -0.07em; line-height: 1.1; }
.mega-call { display: inline-block !important; margin: 0 !important; color: var(--blue); font-size: 12px !important; font-weight: 700; }

.hero { position: relative; min-height: 720px; overflow: hidden; color: var(--white); background: linear-gradient(122deg, #101c2f 0%, #12284a 67%, #183e7a 100%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 0.9fr; gap: 92px; align-items: center; min-height: 720px; padding: 94px 0 108px; }
.kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 27px; color: #9ab0d5; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.kicker span { display: inline-block; width: 30px; height: 2px; background: var(--orange); }
.kicker-blue { color: var(--blue); }
.kicker-blue span { background: var(--blue); }
.hero h1 { max-width: 610px; margin: 0 0 29px; color: var(--white); font-size: clamp(3.2rem, 4.8vw, 5rem); font-weight: 600; letter-spacing: -0.095em; line-height: 0.98; }
.hero h1 em, .process-copy h2 em, .contact h2 em { color: var(--blue-light); font-style: normal; }
.hero-text { max-width: 540px; margin: 0 0 26px; color: #d7e2f6; font-size: 17px; line-height: 1.75; }
.hero-tags { display: flex; gap: 18px; margin-bottom: 34px; color: #a9c1f5; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; }
.hero-tags span + span::before { display: inline-block; width: 5px; height: 5px; margin: 0 18px 1px 0; background: var(--orange); content: ""; }
.hero-actions { display: flex; align-items: center; gap: 29px; flex-wrap: wrap; }
.inline-link { color: #e1e9f7; font-size: 13px; font-weight: 600; }
.inline-link:hover { color: var(--white); }
.hero-signature { margin-top: 30px; color: #aabbd4; font-size: 12px; }
.hero-board { position: relative; min-height: 410px; padding: 38px 39px 31px; overflow: hidden; background: linear-gradient(145deg, #2563eb 0%, #16439f 100%); border-radius: 20px; }
.hero-board::after { position: absolute; right: -30px; bottom: -60px; color: rgba(255, 255, 255, 0.12); content: "Ai"; font-size: 230px; font-weight: 800; letter-spacing: -0.18em; line-height: 1; }
.board-header, .board-title, .board-row, .board-foot { position: relative; z-index: 1; }
.board-header { display: flex; justify-content: space-between; gap: 20px; color: #d7e4ff; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; }
.board-title { margin: 78px 0 42px; }
.board-title span { display: block; margin-bottom: 10px; color: #d7e4ff; font-size: 12px; }
.hero-board h2 { margin: 0; color: var(--white); font-size: clamp(1.65rem, 2.8vw, 2.4rem); font-weight: 600; letter-spacing: -0.08em; line-height: 1.09; }
.board-row { display: grid; grid-template-columns: 112px 1fr 34px; gap: 15px; align-items: center; margin-top: 19px; color: #e1eaff; font-size: 11px; }
.board-row > i { height: 7px; overflow: hidden; background: rgba(255, 255, 255, 0.28); }
.board-row > i b { display: block; height: 100%; background: #dce8ff; }
.board-row > i b.orange { background: var(--orange); }
.board-row > strong { color: var(--white); font-size: 12px; font-weight: 700; text-align: right; }
.board-foot { margin: 49px 0 0; color: #d7e4ff; font-size: 12px; }

.section { padding: 140px 0; overflow: hidden; }
.solutions { background: var(--white); }
.knowledge { background: #eef4ff; }
.section-heading { display: grid; grid-template-columns: 1fr 0.72fr; gap: 110px; align-items: end; margin-bottom: 61px; }
.section-heading h2, .knowledge h2 { margin: 0; color: var(--ink); font-size: clamp(3rem, 4.8vw, 4.7rem); font-weight: 600; letter-spacing: -0.1em; line-height: 0.96; }
.section-heading h2 em, .knowledge h2 em { color: var(--blue); font-style: normal; }
.section-heading > p, .knowledge-lead { max-width: 450px; margin: 0 0 3px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.service-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 78px; }
.service { min-height: 315px; }
.service-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 34px; }
.service-top .service-number { margin-bottom: 0; }
.service-number { display: block; margin-bottom: 38px; color: var(--blue); font-size: 30px; font-weight: 700; letter-spacing: -0.07em; }
.service-category { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.pillar-assessoria .service-number { color: var(--orange); }
.pillar-presenca .service-number { color: #6e9aff; }
.service h3 { margin: 0 0 15px; color: var(--ink); font-size: 25px; font-weight: 600; letter-spacing: -0.07em; }
.service p { max-width: 320px; margin: 0 0 27px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.pillar { display: flex; flex-direction: column; }
.pillar > a { margin-top: auto; color: var(--blue); font-size: 15px; font-weight: 700; }
.service a:hover { color: var(--orange); }
.solutions-note { margin: 48px 0 0; color: var(--muted); font-size: 13px; }

.process-section { position: relative; overflow: hidden; color: var(--white); background: var(--blue); }
.process-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 115px; align-items: center; min-height: 610px; padding: 112px 0; }
.process-copy .kicker { color: #ffd1b8; }
.process-copy h2 { margin: 0 0 27px; color: var(--white); font-size: clamp(3rem, 5.1vw, 5.15rem); font-weight: 600; letter-spacing: -0.1em; line-height: 0.96; }
.process-copy > p:last-child { max-width: 440px; margin: 0; color: #edf3ff; font-size: 16px; line-height: 1.8; }
.process-steps article { display: grid; grid-template-columns: 46px 1fr; gap: 23px; padding: 28px 0; }
.process-steps article > span { color: #ffd1b8; font-size: 28px; font-weight: 700; letter-spacing: -0.07em; }
.process-steps h3 { margin: -3px 0 9px; color: var(--white); font-size: 25px; font-weight: 600; letter-spacing: -0.07em; }
.process-steps p { margin: 0; color: #e2ebff; font-size: 15px; line-height: 1.75; }

.knowledge-grid { display: grid; grid-template-columns: 1fr 0.8fr; gap: 125px; align-items: start; }
.knowledge h2 { margin-bottom: 25px; }
.knowledge-lead { margin-bottom: 35px; }
.article-links a { display: grid; grid-template-columns: 82px 1fr; gap: 20px; align-items: center; min-height: 88px; }
.article-links a > span { color: var(--blue); font-size: 14px; font-weight: 800; letter-spacing: 0.12em; }
.article-links a:nth-child(2) > span { color: var(--orange); }
.article-links a > b { color: var(--ink); font-size: 14px; font-weight: 600; }
.article-links a:hover b { color: var(--blue); }
.faq { padding-top: 13px; }
.faq .kicker { margin-bottom: 29px; }
.faq summary { padding: 23px 0; color: var(--ink); cursor: pointer; list-style: none; font-size: 16px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { max-width: 500px; margin: -2px 0 25px; color: var(--muted); font-size: 14px; line-height: 1.8; }

.contact { position: relative; overflow: hidden; padding: 140px 0; color: var(--white); background: var(--blue); }
.contact-inner { position: relative; z-index: 1; max-width: 780px; text-align: center; }
.contact-inner .kicker { justify-content: center; color: #ffd1b8; }
.contact h2 { margin: 0 0 25px; color: var(--white); font-size: clamp(3rem, 5.6vw, 5.4rem); font-weight: 600; letter-spacing: -0.1em; line-height: 0.96; }
.contact-inner > p:not(.kicker) { max-width: 520px; margin: 0 auto 35px; color: #e6eeff; font-size: 16px; line-height: 1.8; }

.footer { color: #aebbd0; background: #0a1424; }
.footer-main { display: flex; justify-content: space-between; gap: 45px; align-items: end; padding: 57px 0 47px; }
.footer p { margin: 14px 0 0; color: #8a9bb4; font-size: 9px; letter-spacing: 0.22em; }
.footer p span { color: #5c8dff; }
.footer p b { color: var(--orange); font-weight: 500; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; font-size: 12px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; padding: 19px 0 24px; color: #72859f; font-size: 10px; }
.toast { position: fixed; z-index: 50; right: 18px; bottom: 18px; max-width: 320px; padding: 14px 17px; color: var(--white); background: var(--navy); border-radius: 10px; font-size: 12px; line-height: 1.5; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity 0.18s ease, transform 0.18s ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .container { width: min(calc(100% - 40px), var(--max)); }
  .menu { gap: 18px; }
  .hero-grid { gap: 45px; }
  .section-heading, .process-grid, .knowledge-grid { gap: 55px; }
  .mega-menu { gap: 22px; padding: 28px; }
  .footer-main { display: block; }
  .footer-links { margin-top: 30px; }
}

@media (max-width: 700px) {
  .container { width: min(calc(100% - 32px), var(--max)); }
  .header-inner { min-height: 70px; }
  .menu-toggle { display: block; }
  .menu { position: absolute; top: 70px; right: 16px; left: 16px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 13px; color: var(--ink); background: var(--white); }
  .menu.is-open { display: flex; }
  .menu-link, .solutions-trigger { display: block; width: 100%; padding: 13px 8px; color: var(--ink); text-align: left; }
  .menu-dropdown { position: static; }
  .mega-menu { position: static; display: block; width: auto; max-height: 0; padding: 0 8px 10px; overflow: hidden; border: 0; border-radius: 0 0 14px 14px; opacity: 1; pointer-events: auto; transform: none; transition: max-height 0.22s ease; }
  .mega-menu.is-open { max-height: 720px; }
  .mega-column { margin-top: 18px; }
  .mega-column > p { margin-bottom: 12px; }
  .mega-column > a { margin-top: 13px; }
  .mega-column-note { display: none; }
  .hero { min-height: auto; }
  .hero-grid { display: block; min-height: auto; padding: 83px 0 81px; }
  .hero h1 { font-size: clamp(3rem, 12vw, 4.7rem); }
  .hero-text { font-size: 15px; }
  .hero-tags { gap: 10px; font-size: 10px; }
  .hero-tags span + span::before { margin-right: 10px; }
  .hero-board { min-height: 360px; margin-top: 58px; padding: 27px; }
  .board-title { margin: 54px 0 38px; }
  .board-title h2 { font-size: 1.75rem; }
  .section { padding: 92px 0; }
  .section-heading, .process-grid, .knowledge-grid { display: block; }
  .section-heading { margin-bottom: 46px; }
  .section-heading > p { margin-top: 25px; font-size: 15px; }
  .service-list { display: block; }
  .service { min-height: auto; margin-bottom: 52px; }
  .service-top { margin-bottom: 22px; }
  .service-number { margin-bottom: 20px; font-size: 25px; }
  .service h3 { font-size: 23px; }
  .service p { font-size: 14px; }
  .pillar > a { margin-top: 0; }
  .solutions-note { margin-top: 0; line-height: 1.7; }
  .process-grid { min-height: auto; padding: 94px 0; }
  .process-copy { margin-bottom: 55px; }
  .process-copy > p:last-child { font-size: 15px; }
  .process-steps article { padding: 25px 0; }
  .process-steps article > span { font-size: 24px; }
  .process-steps h3 { font-size: 23px; }
  .process-steps p { font-size: 14px; }
  .knowledge-lead { margin-top: 25px; font-size: 15px; }
  .article-links a { min-height: 93px; font-size: 13px; }
  .article-links a > b { font-size: 13px; }
  .faq { padding-top: 70px; }
  .faq summary { font-size: 15px; }
  .faq details p { font-size: 13px; }
  .contact { padding: 96px 0; }
  .contact-inner > p:not(.kicker) { font-size: 15px; }
  .footer-main { padding: 51px 0 42px; }
  .footer-bottom { display: block; font-size: 10px; line-height: 1.9; }
  .footer-bottom span { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-aos] { transition: none !important; transform: none !important; opacity: 1 !important; }
}
